throwaway173920
throwaway173920 on Hacker News
Re:UTF-8 characters that behave oddly when the case is changed
on Friday November 01, 2024 @09:53AM (#42016936)
In one of my work projects it was the Turkish İ that gave us trouble. In some case-insensitive text searching code, we matched the lowercase query against the lowercase text, and had to handle cases like that specially to avoid reporting the wrong matching span in the original text, since the lowercase string would have a different length than the uppercase string. This was one of my first real-world projects and opened my eyes a bit to the importance of specifications and standards.
Re:Rust needs a web framework for lazy developers
on Monday October 07, 2024 @09:27AM (#41765790)
I haven't had this experience with TypeScript. In the projects I've worked with, we turn on strict mode and heavily discourage using `any`. I generally feel pretty confident that the type annotations match the runtime values.
Re:Ask HN: Where would you publish content that should outlive you?
on Sunday October 06, 2024 @11:51AM (#41757943)
But where do you store the URL for the S3 bucket? Can you really say it's usefully preserved if nobody knows the URL (or the account credentials)?
Re:Don't defer Close() on writable files
on Tuesday September 10, 2024 @09:29AM (#41500585)
IMO the formatting of the error string returned by errors.Join is atrociously opinionated and not very logging-friendly - it adds a newline between each error message. I know I'm not the only one that has this opinion
Re:WelsonJS: Build a Windows app on the Windows built-in JavaScript en...
on Thursday August 22, 2024 @10:41AM (#41320823)
I think you are conflating ES6 classes with TypeScript.