zlacker

[return to "See how many words you have written in Hacker News comments"]
1. snowwr+EXa[view] [source] 2026-02-03 14:09:04
>>Imusta+(OP)
Legend has it only a dragon writer could defeat tptacek on Hacker News.

Also I find it kind of weird that the search box is case-sensitive. HN itself preserves capitalization when rendering usernames to the page, but must not be case sensitive in the backend since the username shows up in URLs.

◧◩
2. Imusta+Iab[view] [source] 2026-02-03 15:13:51
>>snowwr+EXa
Yea If I remember correctly, its the backend which is case-sensitive.

Don't worry though. I am still thinking of fixing the case-sensitive issue.

I had gone to run some errands. Right now, how I am thinking of fixing it is via thinking of using algolia api or maybe by having a singular request to news.ycombinator.com itself while still being client side but I have to see if that's possible/what's easier.

◧◩◪
3. Imusta+aOb[view] [source] 2026-02-03 17:52:36
>>Imusta+Iab
Edit: Almost done. I just wanted to see what LLM's might think of it. So wanted to see them (go wild?) [ie. without my bias of algolia api because I was (thinking?) of other ways too also a better thing was that I was procastinating with the implementation a bit] so pasted it.

It* decided that a better response was to lowercase the username fields and then lowercase the input.

I think I had overarchitected a solution and in hindsight, I thought that the idea of lowercasing usernames would've been slow but clickhouse is a beast too.

I think I was almost thinking the same thing too. Going to update the website with case sensitivity pretty quick.

◧◩◪◨
4. Imusta+7Qb[view] [source] 2026-02-03 17:59:50
>>Imusta+aOb
Update: The feature's live on the website now :D
◧◩◪◨⬒
5. snowwr+IMe[view] [source] 2026-02-04 13:59:56
>>Imusta+7Qb
Thanks! Case insensitivity is useful for mobile visits because the iPhone keyboard by default is capitalizing the first letter typed into that field. That would work for your username, but mine was not found initially. It is now, after your update.
[go to top]