Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Hemospectrum
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
Hemospectrum
2y ago
Memory safety is not about memory leaks. It's concerned with the corruption of data structures, particularly the stack and the heap. To elaborate a little, consider security. If your software's only vulnerability is potential memo
32.
▲
by
Hemospectrum
2y ago
> The author writes as if part of his drive was that Linus himself showed enthusiasm for getting Linux on Apple Silicon. Perhaps the author jumped to conclusions after Linus himself started using Asahi Linux on his own laptop for Linux k
33.
▲
by
Hemospectrum
2y ago
The complexity of natural human languages comes in different forms, but as a general rule, whenever you see something that's built into another language and "missing" from your own, you can express it by using more words. For
34.
▲
by
Hemospectrum
2y ago
Similarities like these, especially with Latin in the mix, were the clue that originally put early linguists on the scent of the IE language family several centuries ago. Since then, extensive research has been done into how exactly these l
35.
▲
by
Hemospectrum
2y ago
You're most likely to hear it from kernel programmers and Go/Zig/Odin advocates, but it rarely comes up as a criticism of C++ in particular. Perhaps that's because RAII is merely "distasteful" in that cohort, w
36.
▲
by
Hemospectrum
2y ago
> ...and the packager eventually dropped the package Related HN discussion from August/September: https://news.ycombinator.com/item?id=41407768
37.
▲
by
Hemospectrum
2y ago
Some of them have software controls for hardware behavior (like optical sensor polling rate and scroll wheel clutch mode) that no OS has built-in support for, because these features are not part of the USB HID standard.
38.
▲
by
Hemospectrum
2y ago
Health insurance price negotiation is the primary reason those prices are so high in the first place. An insurance company gets to say it negotiated a 99% discount (or whatever) and the hospitals and pharmaceutical companies still charge pr
39.
▲
by
Hemospectrum
2y ago
The documentation is quite clear on this point: > The returned iterator will panic during iteration if any argument to the process is not valid Unicode. If this is not desired, use the args_os function instead. std::env::args_os encodes
40.
▲
by
Hemospectrum
2y ago
Compile times are Rust's single biggest weakness. A lot of work is going into speeding up the compiler, but right now, the biggest wins in compile time reduction come from reorganizing your own code and eliminating overly generic depen
41.
▲
by
Hemospectrum
2y ago
Zig is safer than C, which is not a high bar to clear. It has safer defaults than C, and makes it a little easier to use test-driven debugging to find memory safety violations, but it has no answer to Rust’s Send and Sync traits or the muta
42.
▲
by
Hemospectrum
2y ago
The cute name was Blue Friday, but it doesn't seem to have caught on.
43.
▲
by
Hemospectrum
2y ago
The parent comment was referring to programs running inside the UXN virtual machine, which explicitly supports and endorses self-modifying code. Many of the creators' own programs take advantage of this capability, so any conforming im
44.
▲
by
Hemospectrum
2y ago
> we've known about galaxies outside our own (like the Magellanic clouds or the Andromeda galaxy) for a few millenia Well, we could see them, but we weren't able to distinguish a galaxy from a nebula until after investing mul
45.
▲
by
Hemospectrum
2y ago
> Does Rust fundamentally guarantee that if you make a struct, its fields will lay out in memory in the order that you defined them? Can it be used to interact with APIs (really ABIs) who expect a C struct (or pointer to one)? You have t
46.
▲
by
Hemospectrum
3y ago
> I always say that purely in terms of design my ideal language is high-level Haskell, low-level C. That's similar to what I used to say. I was devastated to see the BitC project implode, but then Rust appeared and took up the mantl
47.
▲
by
Hemospectrum
3y ago
It's a regional thing. Common in Britain, but sounds strange to Americans, and looks even stranger in writing. Not sure about other parts of the anglosphere.
48.
▲
by
Hemospectrum
3y ago
I'm not convinced. The UI in early Blender was as arcane as any I have ever seen, worse than GIMP's by a mile. Contemporary commercial 3D software did not have the same quantity or quality of weirdness. (Remember SoftImage?) The c
49.
▲
by
Hemospectrum
3y ago
In the MSP430 family? Not likely.
50.
▲
by
Hemospectrum
3y ago
Increasing profit margins is a reliable way to increase stock prices, which is (at this stage of capitalism) the most powerful force directing the allocation of capital. It's a self-reinforcing feedback loop with far-reaching power thr
51.
▲
by
Hemospectrum
3y ago
The truly enlightened are buying MacBooks (in gold, of course) if only to use them as frisbees.
52.
▲
by
Hemospectrum
3y ago
In most English dialects, <foot> is pronounced /fʊt/, not /fut/. I’m not aware of any specific examples where <foo> and <foot> have the same vowel.
53.
▲
by
Hemospectrum
3y ago
> Half[1] of English is French, just like half[2] of Japanese is English/Portuguese. Setting aside the difficulty of defending these breathtakingly inflated claims, your phrasing indicates the classic fallacy of defining a language
54.
▲
by
Hemospectrum
3y ago
They're repurposing an existing telemetry system that already counts installs and cannot distinguish between a new install and a reinstall. They've been using it for at least five years. I only know this because they specifically
55.
▲
by
Hemospectrum
3y ago
Install bombing is still a problem. Unity, for all its "clarifications," keeps promising it won't be a problem and then refusing to be transparent about any of the ways it could possibly be less of a problem. Either they back
56.
▲
by
Hemospectrum
3y ago
> The blog sets up to address the "claim by proponents of dynamically typed programming languages" that "once you have unit testing static type checking is redundant". This is a strawman and I'm fairly sure it wa
57.
▲
by
Hemospectrum
3y ago
This is about the API, which is no longer free. They are specifically blocking NSFW content from the paid API (and, by extension, from anything that uses it) so that they can charge money for it.
58.
▲
by
Hemospectrum
3y ago
It's the credit card companies. Showing users nudity for free is fine. Making them pay for it means you're selling porn and the payment processors ban you. Reddit wants to make users pay for viewing content. They can't get aw
59.
▲
by
Hemospectrum
3y ago
How far are you prepared to take this stance, exactly? C has operators that are generic over both integral and floating point types. Was that a mistake? Did OCaml do it better? For my part, I've been persuaded that generic operators li
60.
▲
by
Hemospectrum
3y ago
Carbon is sort of a plan B, for working on existing C++ code that would be too difficult to migrate to Rust. It also doesn't really exist yet.
More ›