Conversation

omg so apparently if you search for nothing (as in, the empty string) using the reddit API, it will give you no results at all. instead of, y’know, a list of posts sorted by new or hot or something. I had no idea about this, so you would think that if you search for nothing in #GAGSProject then you will mysteriously get no results and think (kinda correctly) that GAGS is broken

but actually no - because a totally unrelated bug was making it so that searching for nothing on GAGS was actually searching for NOT (), which was tricking reddit into returning results anyway

I only found out about the first bug because today I fixed the second. so as a temporary workaround I’m deliberately keeping the second bug for now lol (but only for the very specific circumstances where reddit will return nothing)

1
0
3

also I’m pretty sure I have lazy-loading working! unless I broke something subtle that I haven’t noticed yet. but before I push to production I’m definitely going to test things again when I’m less brainfoggy, just to make sure

0
0
4