Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
danhau
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
151.
▲
by
danhau
3y ago
Reminds me of that „A PROJECT SOME RANDOM PERSON IN NEBRASKA HAS BEEN THANKLESSLY MAINTAINING SINCE 2003 image.“ Sorry for caps (transcribed from image).
152.
▲
by
danhau
3y ago
That’s good though, right? Is there a reason for not using an identity hash (is that the right term?) for integers?
153.
▲
by
danhau
3y ago
I have been using Vortex POK3R keyboards for a while now and I really enjoy their IJKL arrow keys. I like it so much that it has become a hard requirement for any new keyboard for me. Unfortunately, this rules out most keyboards without fla
154.
▲
by
danhau
3y ago
I‘m guessing they completely re-shipped Safari and related components in that update. That’s where an actively exploited 0-day has been fixed. Wouldn‘t surprise me for Safari and some system components to be that size.
155.
▲
by
danhau
3y ago
This is my problem as well. It‘s nice _when_ it kicks in, but too inconsistent. Why oh why can‘t Apple just add a hard 80% limit switch somewhere in the battery settings. What happened to thinking of nature, guys?
156.
▲
by
danhau
3y ago
I haven‘t tested this thoroughly, but I have a feeling that YouTube also forces worse codecs on Firefox. Codecs that can only decoder on the CPU, making Firefox seem sluggish and wasteful. This is a reason why I switched to Safari on macOS.
157.
▲
by
danhau
3y ago
Can you elaborate? I‘m not sure how to interpret this in this context.
158.
▲
by
danhau
3y ago
I instinctively scanned the article for pictures, but didn‘t find any. I closed the tab after 6 seconds.
159.
▲
by
danhau
3y ago
Thank you! This is great.
160.
▲
by
danhau
3y ago
Well that put a dent in my respect for Twain. Obeying your parents, the more experienced humans, is generally the better advice. There are exceptions of course. I wonder if Twain had particularly difficult parents, hence his view.
161.
▲
by
danhau
3y ago
std::vector is fine if you access elements by index, instead of pointer, which can be a perfectly fine approach. Of course this kills the general purpose allocator aspect, since you're not getting back pointers, only offsets. However,
162.
▲
by
danhau
3y ago
No, I don’t think that works. Last time I checked, type inference doesn‘t work for lambda expressions. Part of the reason - I think - is that lambda expressions need to be boiled down to some concrete @FunctionaInterface interface. You can
163.
▲
by
danhau
3y ago
Something I don't like: > The argument that a cooperative scheduling is doomed to fail is overblown. Apps are already very much cooperative. For proof, run a version of that on your nice preemptive system: [...] Might fill your swap
164.
▲
by
danhau
3y ago
I'm glad I'm not the only one who read it like that.
165.
▲
by
danhau
3y ago
Some neat ideas, but > As long as the OS stays compatible with the old stuff in the context, it can add new functionalities for other App by just appending to the context the new functions Welcome to backwards compatibility hell. You
166.
▲
by
danhau
3y ago
Unrelated, but isn‘t this false? > A deliberately stretched example. Apple laptops are claimed to not need camera privacy shutter, because the recording light is hardware controlled, so the user always knows when the camera is recording.
167.
▲
by
danhau
3y ago
Thank you. You put into words what I was thinking. The best paradigm in programming has to be procedural style. The cleanest code I’ve written and read has always been procedural. I even maintain a monster VBA Word Macro at work and - after
168.
▲
by
danhau
3y ago
They‘re teaching them that floats and doubles are numbers with decimal places, and that‘s where most stop. There‘s a reason articles like „Myths programmers believe about floating point“ are written and usually get highly upvoted.
169.
▲
by
danhau
3y ago
This. It boggles the mind that browser vendors (and standards committee) haven‘t come up with a preferences page for cookie consent. Expose that through JS and/or send it to the server via a HTTP header.
170.
▲
by
danhau
3y ago
Well, it‘s fairer than cherry picking the most outrageous examples. Though I wonder if he didn‘t get any Reddit cookie banners because he had already accepted them at some point in the past.
171.
▲
by
danhau
3y ago
It‘s still interesting to see how certain challenges have been solved back in the day. Or as a case study in what _not_ to do today. For example, Quake‘s ingame console commands were stored in a linked list. I believe looking up a command w
172.
▲
by
danhau
3y ago
Very cool! It seems to struggle with mixed meter music, though (understandably). I've uploaded a song of mine that's mostly in 6/8, but has some bars of 7/8. It still makes smooth transitions, but on the wrong beat, whic
173.
▲
by
danhau
3y ago
I kind of agree. A while ago I was thinking about how to implement something like Roslyn's red-green-trees in Rust. The solution I came up, with a similar in principle handle-and-allocator approach, did work, but would need the occasio
174.
▲
by
danhau
3y ago
Wow, I thought I was the only one doing this. Although I‘m now kinda stuck on Cascadia Code, which I adore. Sometimes I wonder what my employer’s IT department would think of me, having installed so many font files on my machine. I also swi
175.
▲
by
danhau
3y ago
Neat! I’m having some issues with how things are displayed on my iPhone. The low E string wasn‘t reachable for me. Musically speaking, I never really understood the point of knowing the notes on the fretboard. Scales, intervals and chords a
176.
▲
by
danhau
3y ago
Yup, IPv4 addresses are 32 bit unsigned integers which makes them very convenient to work with. That‘s also what that 50.60.70.80 syntax is about: Those are just the four individual bytes that make up the 32bit integer, separated by a perio
177.
▲
by
danhau
3y ago
You’re not wrong, but it is everyone’s own responsibility to read the article and not just the headline.
178.
▲
by
danhau
3y ago
Shaders are programs that run on the GPU. That term, like all others, come from the graphics processing background and history of GPUs. Like the CPU, a GPU only understands its own instruction set. If you want to run software on a GPU, you
179.
▲
by
danhau
3y ago
Freeform is their attempt to boost iPad and Apple Pen Sales. For what it does, it’s decent. With office suite I guess you mean Pages, Numbers, etc? How have those been abandoned? What are you missing?
180.
▲
by
danhau
4y ago
Pretty cool, but maybe a bit busy? Would make a good screensaver.
More ›