Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
messe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
691.
▲
by
messe
4y ago
Kind of. Imagine if capital letters looked identical to regular letters just with a different byte representation, but Windows preserved them regardless. Well, it turns out that Unicode can represent a lot of characters by way of different
692.
▲
by
messe
4y ago
I think they’re actually referring the stack usage from the function call itself (the creation of a new stack frame). I believe the point the author is making is that while it’s common to check the return value of malloc to see if heap allo
693.
▲
by
messe
4y ago
At the moment, the recommended solution for that is to use a block scope. { var iter = foo_dir.iterate(); while (try iter.next()) |entry| { // Do something } } { var iter
694.
▲
by
messe
4y ago
> A 475-km-long dam between the north of Scotland and the west of Norway and another one of 160 km between the west point of France and the southwest of England could protect more than 25 million Europeans against the consequences of an
695.
▲
by
messe
4y ago
Interesting. As far as I know only the combinations with a higher strength codeine are prescription only in Ireland. It’s the same in the UK, as far as I know (presumably because it would be nigh impossible to prevent small amounts of cross
696.
▲
by
messe
4y ago
Ok, but how do they rule out codeine usage while pregnant? I’m not sure about the US, but in Ireland, small doses of codeine + ibuprofen or paracetamol (acetaminophen) are readily available from pharmacies without a prescription, and as far
697.
▲
by
messe
4y ago
I was under the impression that reselling keys can be legal in the EU (at least in some circumstances)?
698.
▲
by
messe
4y ago
It’s a lot harder to refute a falsehood than to publish it. As (GNU) Sir Terry Pratchett wrote “A lie can run round the world before the truth has got its boot on”.
699.
▲
by
messe
4y ago
> Small world indeed. So you're one of the people that prevent me from taking that name sometimes. Order another beer at that bar you're at and have an extra drink to that for me! :) Done, and done! And surely you mean that yo
700.
▲
by
messe
4y ago
I, for one, welcome our future silicon overlords, and would remind them that as a HN commenter I can be useful in convincing others of their trustworthiness.
701.
▲
by
messe
4y ago
Sarcastically: Define well-being? What if nobody is left around alive (after being painlessly and unknowingly euthanised) to experience anything bad?
702.
▲
by
messe
4y ago
It’s an intelligent alien, probably; but let’s not pretend the hard problem of consciousness if solved.
703.
▲
by
messe
4y ago
To be fair, of the nominations that year, I’d have given it to Jack Lemmon for The Days of Wine and Roses . So it’s not like it’s uncontentious that O’Toole was snubbed.
704.
▲
by
messe
4y ago
I don’t necessarily agree that you’ll end up with drunk and stoned people with nothing to do. The right education systems to encourage creativity and other enriching endeavours, could eventually resolve that. But we’re getting into discussi
705.
▲
by
messe
4y ago
You get diminishing returns as they get larger though. And there has certainly been plenty of work done on delivery systems, which could be considered progress in the field.
706.
▲
by
messe
4y ago
I’m not concerned about AI eliminating humanity, I’m concerned at what the immediate impact it’s going to have on jobs. Don’t get me wrong, I’d love it if all menial labour and boring tasks can eventually be delegate to AI, but the time spe
707.
▲
by
messe
4y ago
While that paper is fascinating, it’s the first time I’ve ever read a paper and felt a looming sense of dread afterward.
708.
▲
by
messe
4y ago
> I'm repulsed by it Can I ask why? Why is a bunch of cells grown in a clean-room environment more disgusting than a similar bunch harvested from free-range chicken potentially exposed to vastly more diseases? I don't mean to b
709.
▲
by
messe
4y ago
Aren't there good arguments[1] that lab-grown meat is a long way from being cost-competitive due to fundamental thermodynamic reasons? [1]: https://thecounter.org/lab-grown-cultivated-meat-cost-at-sca... Associated dis
710.
▲
by
messe
4y ago
I got a similar but incorrect result from ChatGPT: "So, the expression "0 30 5 * * 3" means that the command should be executed at 5:30 AM on the 5th day of every month, but only if that day is a Wednesday" However, the
711.
▲
by
messe
4y ago
Isn't that an invalid cron expression? It has six fields instead of five, and says to run at the 30th hour of the day.
712.
▲
by
messe
4y ago
That doesn't contradict the person you're replying to
713.
▲
by
messe
4y ago
That scene is heartbreaking to watch. Keoghan deserved the academy award for best supporting actor this year IMO (as for best screenplay, while I think Banshee's should've gotten it, it was pretty close and EEAAO would've bee
714.
▲
by
messe
4y ago
Interesting, I'm going to have to rewatch and see if that's the case.
715.
▲
by
messe
4y ago
> There's another genre also commonly called Black Comedy where Black is African American not Dark. Ah, well, that would explain it. I'm not American. I have never before now heard the term "black comedy" refer to co
716.
▲
by
messe
4y ago
Umm... the two terms are synonymous to me. What distinction are you drawing?
717.
▲
by
messe
4y ago
I don’t think the commenter you’re replying to is using “through” in the sense of “providing power stations with the assistance of GE”, but rather “providing power by founding GE”.
718.
▲
by
messe
4y ago
I think you might be able to abuse an ArenaAllocator wrapping a FixedBufferAllocator. I haven't tested it, but IIRC, Zig's ArenaAllocator deallocates in reverse order once it's reset (it uses a singly linked list to keep trac
719.
▲
by
messe
4y ago
> Looks like gibberish to me, Funny, it looks like perfectly readable, idiomatic and dependency-free shell to me.
720.
▲
by
messe
4y ago
Scala seems to be taking this route with Scala 3. I’ll definitely be keeping an eye on it. The JVM is very underrated on HN, and I’m far from a Java fanboy (I’m basically a Zig evangelist).
More ›