Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dpassens
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
dpassens
1y ago
And yet, when you click through, it says > NaBr has a very low toxicity with an oral LD50 estimated at 3.5 g/kg for rats.[6] However, this is a single-dose value. Bromide ions are a cumulative toxin with a relatively long biological
32.
▲
by
dpassens
1y ago
And if Wikipedia didn't warn that Sodium Bromide was poisonous, would that not be irresponsible? Chemistry websites seem different because, presumably, their target audience is chemists who can be trusted not to consume random substanc
33.
▲
by
dpassens
1y ago
It's now too late to edit my original comment but I've skimmed your code a little too fast and now I see that you do understand that Zig works with reified types. But in that case, why conflate too very different things? Returning
34.
▲
by
dpassens
1y ago
You still misunderstand the type type. "type" does not mean "generic over all types" but that you're returning a reified type. The original Zig function does not return an ArrayList value, it returns the ArrayList t
35.
▲
by
dpassens
1y ago
Well, your example seems to do something completely different, which is return an ArrayList!T rather than a type.
36.
▲
by
dpassens
1y ago
No, you misunderstand. The function doesn't return any type, it returns _a_ type. Types are values in Zig and returning them from function is how generics are implemented.
37.
▲
by
dpassens
1y ago
If my understanding of D's template syntax is correct, then Walter is showing a the declaration of a function called ArrayListType which is generic over T and returns a T. The original Zig code returns the struct type itself, so it is
38.
▲
by
dpassens
1y ago
I don't know D but shouldn't that be struct ArrayListType(T) { ?
39.
▲
by
dpassens
1y ago
What exactly is the argument here? Bigger numbers are bigger? But then we could also argue that by that logic, octets are better than 9-bit bytes because you need more bytes sooner and that gives you seven more bits over the additional one
40.
▲
by
dpassens
1y ago
Please do us all a favour and learn to communicate properly.
41.
▲
by
dpassens
1y ago
How would you know that human population will go down to zero rather than stabilise at a lower point or start to grow back after a period of decline? All projections into the future are, of course, just hypotheses but "people will have
42.
▲
by
dpassens
1y ago
Well, it is relatively easy to get into one...
43.
▲
by
dpassens
1y ago
Linux syscalls. There's no such thing as POSIX syscalls because POSIX defines a C interface.
44.
▲
by
dpassens
1y ago
As opposed to LLMs, which aren't inaccurate or noisy?
45.
▲
by
dpassens
1y ago
Why wouldn't they?
46.
▲
by
dpassens
1y ago
Mostly because cedws is apparently more interested in birth rates than in tandem sales. Personally, I can't say I fault them for that and don't understand why that's a problem because, going back to my original point, they&#x
47.
▲
by
dpassens
1y ago
> No, and the comment indeed ignored the very visibly growing "child free" movement popular with the younger generations in a way that framed it as unintentional. Not really. There are still young people who don't intentio
48.
▲
by
dpassens
1y ago
The big difference between open source and proprietary but freehold seems to be precisely that those copies are unauthorized. That already eliminates most of your competition as nobody else can sell your software and distributions can'
49.
▲
by
dpassens
1y ago
No, the author explicitly mentions that paid software would also meet those definitions, provided you only need to pay once.
50.
▲
by
dpassens
1y ago
> despite the clear preferences of younger people But the assertion was not that young people have a 'clear preference' not to have children, it was that they just have a clear preference to engage in a behaviour that, as a sid
51.
▲
by
dpassens
1y ago
But it doesn't, does it? For one, the question was merely whether we'd observe an increased birth rate, not whether that is a reason to pass such a law. Secondly, you're the one who's bringing up coercion. You can both n
52.
▲
by
dpassens
1y ago
I assure you, as a young person, nobody has ever commented on my birth rate when I went out.
53.
▲
by
dpassens
1y ago
No, but the strip club is next to everybody else's house as well as schools.
54.
▲
by
dpassens
1y ago
> This product would require constant work to keep in sync as UIs and features change. But why does the UI need to change? Nobody would miss having to relearn it every couple of months.
55.
▲
by
dpassens
1y ago
Ah, but is it unintuitive though? Once one understands that in the vast majority of cases, C deals in pointers, not arrays, it makes perfect sense that indexing uses an offset rather than the nth element.
56.
▲
by
dpassens
1y ago
You have read the part where the sticks provide "good bugs that fall in [...] an escape path", right?
57.
▲
by
dpassens
1y ago
I thought it couldn't be that bad but wow, that's bad. The first font-family entry is Clas Ohlson Sans Web, so presumably a font developed for Clas Ohlson? Looking at samples online, J and to a lesser extend t are similarly hideou
58.
▲
by
dpassens
1y ago
> Sir Isaac Pitman, the inventor of shorthand And, apparently, also the inventor of time travel—we know that various forms of shorthand have existed since antiquity.
59.
▲
by
dpassens
1y ago
> kept the same spelling and meaning in English So it's also an English word, then?
60.
▲
by
dpassens
1y ago
GP's comment reads reasonably clear to me: humans fearing orcas might eat them are about as rational as the cat visiting GP's garden, which also seems to be convinced GP wants to harm rather than feed it.
More ›