Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
unwind
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
unwind
9mo ago
That sounded fascinating as a rather large difference in world view stemming only from using different languages. It turns out that there are various models for the number of continents, and that is (phew) known in Spanish, too. See the Wik
32.
▲
by
unwind
9mo ago
I think this is very cool, even though I have no historical connection to the Z80 it's of course a well-regarded and firmly entrenched/popular retro CPU. But this really is a stretch: The Z80 Membership Card itself is a stand-alo
33.
▲
by
unwind
9mo ago
Which one? I did a quick search but that didn't turn up anything so perhaps it's a partial word overlap or something. I did find the projects "user-facing" home page [1] which was nice. I found it rather hard to find a l
34.
▲
by
unwind
9mo ago
Ah, that was a typo: you meant "GPU" (Graphics Processing Unit, not "GUI" which of course is Graphical User Interface) since that is listed in the system requirements. Explained implicitly by an existing comment, thanks!
35.
▲
by
unwind
9mo ago
Agreed, that really stood out as a ... questionable design decision, and felt extremely un-ergonomic which seems to go against the stated goals of the language.
36.
▲
by
unwind
9mo ago
True story: I was once (late 90s, I think) made part of an impromptu taste-test in a 7 Eleven store in Stockholm [1], when a (probably bored) employee grabbed a Coke, a Pepsi and a Dr Pepper and some espresso-size paper cups and made me and
37.
▲
by
unwind
9mo ago
Interesting! According to [1] it's labelled as "less sugar" though, so it's not as if the original/standard Coke is different. There seems to be some widespread thinking that Singapore has issues with sugar consumpt
38.
▲
Defrosting using low-energy surface heating
(betterfrost.com)
2 points
by
unwind
9mo ago
|
0 comments
39.
▲
by
unwind
9mo ago
In Sweden, the lowest postage (one stamp, 22 SEK or around $2) is for max 50 grams.
40.
▲
Soldr, an open-source compact soldering station
(soldr.pro)
2 points
by
unwind
9mo ago
|
0 comments
41.
▲
by
unwind
10mo ago
At the speeds in question, I'm pretty sure the logic could be in a general-purpose microcontroller, too. But I'm not sure detailed schematics for the analog parts are available/open.
42.
▲
by
unwind
10mo ago
Very cool and impressive performance. I was worried (I find it confusing when Unicode "shadows" of normal letters exist, and those are of course also dangerous in some cases when they can be mis-interpreted for the letter they loo
43.
▲
by
unwind
10mo ago
Heh came here to post the same comment, I was somewhat shocked by the alleged power of the almighty dollar ... but it's just a typo of course. Phew. :) According to Google's built-in exchange rate calculator it should say $235m.
44.
▲
by
unwind
10mo ago
I was confused by the prominent use of the word "stepstick", not something I was familiar with even though I try to expose myself to quite a lot of 3D printing material (having one is still more like a bucket list item, though). I
45.
▲
by
unwind
10mo ago
Meta: Should have "NES" added to title to clarify it's about a game, not (as I thought) the movie.
46.
▲
by
unwind
10mo ago
It's a family of microkernels. https://en.wikipedia.org/wiki/L4_microkernel_family
47.
▲
by
unwind
10mo ago
TIL about "plug-in power", that seems to be a thing that some sound recording devices with 3.5 mm "phono" jacks can provide. Here [1] is a page at Klover, and here [2] is one at Shure. Not sure if there's a formal s
48.
▲
by
unwind
10mo ago
Meta: Yeah, this should have a "(2023)" tag in the title. Thanks.
49.
▲
by
unwind
10mo ago
Oh! Thanks, I was not being as concrete as I imagined. Sorry. Yes, the `static` can simply be dropped, it does no additional work for a single-file snippet like this. I tried diving into Compiler Explorer to examine this, and it actually pr
50.
▲
by
unwind
10mo ago
This was very interesting, and it's obvious from the majority of the text that the author knows a lot about these languages, their implementation, benchmarking corners, and so on. Really! Therefore it's very jarring with this text
51.
▲
by
unwind
10mo ago
Of course, `&&` in C is short-circuiting so it's safe without the `strlen()` too, as long as the argument is there i.e. not NULL. Also, the use of a convoluted `if` to conditionally assign a literal boolean is a code smell (to
52.
▲
by
unwind
10mo ago
Wow! I vaguely remember a reference to some balance game as the origin story for the Guru Meditation, but that was so long ago and I never looked it up! Meta: it would have been nice to include this reference in the submission title, since
53.
▲
by
unwind
10mo ago
That is the most William Gibson thing I've read today, at least. Wow.
54.
▲
by
unwind
10mo ago
Uh, okay, but if you need to constantly write code as if people reading it don't understand the language, then ... I don't know how to do that. :) It's not possible to know C code and think that sizeof *v and s
55.
▲
by
unwind
10mo ago
Where would you put it? The const of the pointer is not the main point, it's just extra clarity that the allocated pointer is not as easily overwritten which would leak the memory.
56.
▲
by
unwind
10mo ago
Quite interesting, and felt fairly "modern" (which for C programming advice sometimes only means it's post-2000 or so). A few comments: ---- This: struct Vec3* v = malloc(sizeof(struct Vec3)); is better written as:
57.
▲
by
unwind
10mo ago
it's been .. too long, but Amsterdam used to feature lots of food vending machines and it seems like they're still there [1]! [1]: https://dutchreview.com/dutch-quirks/dutch-quirk-107-eat-foo...
58.
▲
by
unwind
10mo ago
Interesting, did some light (heh) digging. [1] agrees that World War II-era luminous materials featured radium, yes. Another use seems to have been putting discs on helmet fronts of paratroopers, to help soldiers see each other in the dark.
59.
▲
by
unwind
10mo ago
The article touches on this: All told, 69 of the 300 items came up higher at the register: a 23% error rate that exceeded the state’s limit by more than tenfold. This implies that an error rate of perhaps 2% would be legal. I haven't
60.
▲
by
unwind
10mo ago
For C, the proper/expected/standard way to reference a variable without accessing it is a cast to void: (void) a; I'm sure there are commonly-implemented compiler extensions, but this is the normal/native way an
More ›