Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codeflo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
841.
▲
by
codeflo
5y ago
While I agree it's probably not worth getting angry about, I would agree with the GP that the word "systems programming" traditionally has a meaning that's different from "programming things that might be called sys
842.
▲
by
codeflo
5y ago
When the actual machine code is generated is irrelevant to the level of abstraction. There have been JIT compilers for C, and ahead-of-time compilers for C# and Java, and that changes nothing about how close to the metal any of them are. Me
843.
▲
by
codeflo
5y ago
Maybe it's a regional thing, but I don't know anyone who calls that "systems programming". I'd personally use the term "backend programming".
844.
▲
by
codeflo
5y ago
Tuples are a great example that I might not have thought of -- you practically "define" your own value types all the time. Also, all enum types are value types. And there are lots and lots of very commonly used value types in the
845.
▲
by
codeflo
5y ago
That's about right in aggregate, though some of the specifics go either way. I have two theories why so many people are convinced that Go is much lower level than it actually is, and I'm not sure which one is true: a) Go was reall
846.
▲
by
codeflo
5y ago
I’m confused about the “BOM” part as well. It’s clearly not a byte order mark, and explicitly states that it’s not a bill of materials.
847.
▲
by
codeflo
5y ago
Good design is often subtle and easy to dismiss, especially for smart engineers. You might remember the "What's the deal? It's just mastermind with letters" comments here and elsewhere. I agree with the article that Word
848.
▲
by
codeflo
5y ago
Yes, I’m specifically in fear, uncertainty and doubt. To be clear, I’m fully onboard with the intent of the GDPR, but I have no idea how to follow it. And “you’ll be okay, the fines are probably small” is exactly the kind if statement that
849.
▲
by
codeflo
5y ago
The “old web” — the one before the rise of the trillion dollar engagement optimizing platforms — is probably completely foreign and unimaginable to those who haven’t experienced it.
850.
▲
by
codeflo
5y ago
I agree with all of those. More things that are harder now: * Finding honest product impressions/reviews. * When looking for a configuration setting or tip to use any piece of software, find a one minute article with clear bullet point
851.
▲
by
codeflo
5y ago
Floating point is basically just scientific notation. Which means that in theory, it even might have been invented back then.
852.
▲
by
codeflo
5y ago
That sounds like the fixed point representation is part of what causes the huge memory requirements. It's fascinating how obvious some ideas are in retrospect. Floating point is basically just scientific notation, which was well known
853.
▲
by
codeflo
5y ago
I agree with the goal, but I have trouble imagining reaching it in a typical enterprise/government IT environment. I agree that VPN is a crutch. The alternative is that every little legacy intranet application needs a fully staffed and
854.
▲
by
codeflo
5y ago
Microsoft’s are the only services I use where I regularly have to delete all cookies because Teams or something gets stuck in a strange redirection loop that doesn’t happen in clean browser instances. Good times. I think Microsoft is also r
855.
▲
by
codeflo
5y ago
40,000 decimal numbers is about 16 KB of RAM (40K * log2(10) / 8). That’s 1980s home computer territory — there’s no way that amount of memory would have been needed for anything. (Given today’s understanding of efficient algorithms.)
856.
▲
by
codeflo
5y ago
And the ruling caste of crypto aristocrats will do a better job of enabling the conditions for that than an elected government, why exactly?
857.
▲
by
codeflo
5y ago
Ah, the libertarian paradise. History tells us exactly what that world would look like: 1% bitcoin trillionaires, 99% indentured serfs. You’re probably imagining yourself to be in that 1%, but my guess is you’re wrong about that.
858.
▲
by
codeflo
5y ago
In contrast to some sibling comments, I think using the same unit is a great idea. It’s just that long numbers with commas are a bit hard to read. At least I think 511 keV and 938 000 keV would have been another clear way to present those n
859.
▲
by
codeflo
5y ago
I've very recently put some research into various tools of that kind. One has to wonder what's going on at Roam. I don't know what the "well-documented community issues" are, you see a lot more posts hinting at some
860.
▲
by
codeflo
5y ago
You’re right, I misremembered this completely, that’s very good to know. I’ve recently mostly used parking_lot, which guarantees prioritizing writers. That’s also the behavior where the post I replied to wondered if parking_lot was missing
861.
▲
by
codeflo
5y ago
Near the end, the blog posts mentions patterns to avoid accidental deadlocks in structs that wrap a Mutex. Here's another one that I like use: struct FooInter { actual_data: HashMap<...>, } impl FooInner {
862.
▲
by
codeflo
5y ago
These things are often tricky to reproduce, but the deadlock should happen from the spec, right? Essentially, a pending write lock should block new read locks from being acquired -- this is a feature, if it didn't do that, the write lo
863.
▲
by
codeflo
5y ago
The flip side of that is that refactoring can be a surprisingly effective tool for understanding.
864.
▲
by
codeflo
5y ago
I can believe that more people started to read it than actually finished it. Plot points from the latter half of the book are only referenced very rarely.
865.
▲
by
codeflo
5y ago
Some people think that 1984 is mostly about surveillance, but that’s a superficial reading IMO. I think it’s a lot more about bending the truth and suppressing ideas. A quote that haunts me: “Freedom is the freedom to say that two plus two
866.
▲
by
codeflo
5y ago
The context is good error messages; what you’re saying is that DWYM (do what you mean) is even better than a good error message. That’s sometimes true and can help beginners. But it also means more special cases and magic, which can make a
867.
▲
by
codeflo
5y ago
There are different kinds of error messages in C++, all of them terrible, but each for different reasons. Template error messages are often best understood as stack traces of the “metaprogramming language”, which isn’t C++, but a complicate
868.
▲
by
codeflo
5y ago
It’s not so much expectation, but being curious. When a band releases a hit album, you want to know if there’s another one that’s similarly good.
869.
▲
by
codeflo
5y ago
Some anecdotes where error messages truly delighted me: When I accidentally misresolved a conflict after a git pull, the C# compiler, upon encountering the >>>>> markers in the source code, noted that there’s an unresolved
870.
▲
by
codeflo
5y ago
Seriously wondering, has Richard Garfield designed successful games after Magic: The Gathering ? It’s probably hard to follow up that insane kind of success, especially if you hit it early.
More ›