Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaetemi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
331.
▲
by
kaetemi
5y ago
That guy must be so afraid of bitfields.
332.
▲
by
kaetemi
5y ago
That's the point. You can lose accents, or other parts of a character, even if you are aware of the encoding. You need to be aware of the modifiers as well.
333.
▲
by
kaetemi
5y ago
At the very least least you need to know which code point clusters are one visual character for stepping the cursor left and right through text in a text editing control. Which is 99% of the work to also calculate the length in those terms.
334.
▲
by
kaetemi
5y ago
Not length directly in itself, but the abstraction seems applicable to text editing controls.
335.
▲
by
kaetemi
5y ago
And a 'hide bad anime covers' button too, please.
336.
▲
by
kaetemi
5y ago
Wait, so if I'd put an album full of super short songs (like children's songs), it'll just go $$$?
337.
▲
by
kaetemi
5y ago
I feel like a lot of the industry is just trying to be relevant by pretending simple things are difficult, selling buzzword solutions to hide the simplicity.
338.
▲
by
kaetemi
5y ago
Bingo. https://outage.bingo/?month=1&seed=46935
339.
▲
by
kaetemi
5y ago
Hm. I switched to US QWERTY twice. Both times my wrist started hurting after half a year. The special characters feel badly spread out. Never had any issues with Belgian AZERTY. Much prefer the useless number row to be behind the shift (the
340.
▲
by
kaetemi
5y ago
Off topic, but no, this is an option set by the computer administrator, not the site. For kiosks, and so on.
341.
▲
by
kaetemi
5y ago
And sound? :)
342.
▲
by
kaetemi
5y ago
Or mint your soul as an NFT.
343.
▲
by
kaetemi
5y ago
Yet Firefox went in a weird direction. Telemetry decisions, huh.
344.
▲
by
kaetemi
5y ago
In such a situation. He's treating the SVN as his own, not as a team resource. Just mirror his changes to git, and move on. Bypass authority.
345.
▲
by
kaetemi
5y ago
You sound a bit like a pedant, joining a project that's halfway, who wants everyone else to redo all their work from scratch, because it doesn't follow your own preferred academic practices, which you believe are the only right wa
346.
▲
by
kaetemi
5y ago
More systems have been switched over to the segwit native addresses, which have cheaper transactions. A simple transaction can be as low as 30ct nowadays.
347.
▲
by
kaetemi
5y ago
A lot of these projects seem to emit a depressing virtual office building aura. Where's the fun in that?
348.
▲
by
kaetemi
5y ago
Decentralised apps seem to be a booming 'wild west' creative outlet nowadays. NFTs are popular, but there's definitely potential for more interesting use cases.
349.
▲
by
kaetemi
5y ago
Yep. I don't see this game-in-the-browser thing taking off anytime soon for anything serious. Player retention, and immersion, are terrible. Casual 'adware' games, maybe.
350.
▲
by
kaetemi
5y ago
Wine is pretty bad for any serious creative software. Tablet pressure support has been broken for an eternity. Alt+mouse combos don't work correctly. There's patches, but they keep getting ignored and broken by whatever else is su
351.
▲
by
kaetemi
5y ago
Thought experiment. WAV vs MP3 at the same bit rate. At a low bit rate, which one is better? At a high bit rate?
352.
▲
by
kaetemi
5y ago
I type f, see Facebook, hit enter, and by the time I hit enter, Firefox swapped the history result with some search autocomplete that's not helpful at all.
353.
▲
by
kaetemi
5y ago
Wrote a case conversion that processes UTF-8 directly last year for Ryzom Core. The tables look like a mess, but it massively improved performance over the code that was replaced. Case changes seem to be called more often than I expected in
354.
▲
by
kaetemi
5y ago
Use paletted PNG for dithered images.
355.
▲
by
kaetemi
5y ago
Depends on whether you call the function `parse` or `tryParse`. :) Throw if you expect that the input should never be invalid. Don't throw, and do friendly logging and reporting of your parsing errors, if this is uncontrollable third p
356.
▲
by
kaetemi
5y ago
Or just bring them back into the Google search results...
357.
▲
by
kaetemi
5y ago
Adding to that, assume any C++ code can throw exceptions unless it's specifically stated it won't. If you're doing manual memory allocation in a function, your exception handling might be leaky. (gsl::finally is your friend.)
358.
▲
by
kaetemi
5y ago
Throwing exceptions is slow. Adding exception handling code itself has little to no overhead. Only throw exceptions in exceptional cases, not for frequently expected outcomes.
359.
▲
by
kaetemi
5y ago
Adults underestimate toddlers. I 'taught' my daughter to read some words at the age of 1. She could learn around 3 per week. Two weeks to learn to recognize them without any context. It's just a matter of providing the opport
360.
▲
by
kaetemi
5y ago
What M68k version does this target, and is there a measurable difference in performance in targeting ARM specifically? Documentation files seem outdated. Repository seems a bit low on information. Are there any unit tests too?
More ›