Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
quietbritishjim
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
quietbritishjim
3mo ago
> ... that uses C++Proto as the in memory representation which libraries like TensorFlow can use to share memory between Python and C++ This is a valid explanation for the odd implementation of the Python protobuf library (the only convi
62.
▲
by
quietbritishjim
3mo ago
Are the only two options SIMD in hand-rolled assembler and unbearably slow? Often Python, with the most critical parts written in a compiled extension module (like this one), offers acceptable performance with enormously less complexity tha
63.
▲
by
quietbritishjim
3mo ago
Your comment is already an excellent eulogy! (Albeit a bit short for a service)
64.
▲
by
quietbritishjim
3mo ago
A great read even if you don't have a parent that has had severe failures. My parents were loving and calm and, I found out later, one was very weird (I won't say more) with my older siblings but strangely never with me. But I som
65.
▲
by
quietbritishjim
4mo ago
> there is no guarantee in the API that they both happen literally simultaneously There's no actual guarantee in the API that if you spawn multiple threads and call blocking network I/O that those happen literally simultaneousl
66.
▲
by
quietbritishjim
4mo ago
I would modify Stroustrup's rule like so: * For new features, people insist on LOUD explicit syntax. * For established features [that turned out to be used disproportionately often], people want terse notation. So, I argue, it's n
67.
▲
by
quietbritishjim
4mo ago
I'll admit I do really like that. I still think it proves my point: your original objection was about the syntax being C-like and, as I predicted, the differences in syntax in your idea (where the type goes, colon vs positional, etc.)
68.
▲
by
quietbritishjim
4mo ago
Argh! I knew I'd make a stupid mistake like that. (Now too late to edit.)
69.
▲
by
quietbritishjim
4mo ago
OK so what's your alternative then? It's easy to say you don't like something but the onus is on to show there's something actually better. The library used in the author's post seems perfectly readable to me, enoug
70.
▲
by
quietbritishjim
4mo ago
I asked an LLM to rewrite it for me using the Python built-in struct module, and it gave me this: import sys import struct from collections import namedtuple # Bake the layout once into a reusable, precompiled object. H
71.
▲
by
quietbritishjim
4mo ago
The author clearly wasn't implying that these were 1GB chips. They just wanted to show a graph scaled per unit of memory. It could just as well have been per byte, and the graph would've been identical but the values on the left w
72.
▲
by
quietbritishjim
4mo ago
If there was a year 0, we would still be in the 21st century. It would just have started 1 year earlier, in 2000 instead of 2001: 0 – 99: 1st century 100 – 199: 2nd century ... 1900 – 1999: 20th century 2000 – 2999: 21st century Although I
73.
▲
by
quietbritishjim
4mo ago
Then that's your "job" for it. I think the same still applies.
74.
▲
by
quietbritishjim
4mo ago
Maybe true, but if you're using an LLM to do some real world work, do you want it to have some abstract notion of intelligence, or do you want it to actually do the job you assigned it?
75.
▲
by
quietbritishjim
4mo ago
It's nothing inherent about Windows (not even one-click .exe files), it's existing programs and drivers that only run on Windows, which of course only run on Windows because it was already popular. For me it's MS Office. Sorr
76.
▲
by
quietbritishjim
4mo ago
You just need to be older than 12 to understand what is problematic about the demo. Just pointing it out was sufficient.
77.
▲
by
quietbritishjim
4mo ago
I'd suggest not adding recruiters as LinkedIn connections in the first place. I mean, LinkedIn is hardly sacred, but why are you adding people you don't know as a connection? Recruiters only add you as a connection if they can
78.
▲
by
quietbritishjim
4mo ago
I'd still say DOS is a little different because it's the server that can't tell what's valid; to the human, in that situation, if their request eventually completes then it's definitely their data coming back, it ju
79.
▲
by
quietbritishjim
4mo ago
Spam specifically means (at least originally) so much unwanted traffic that it overwhelms legitimate traffic. So can I see why that commenter might have considered it a contradiction to say "the majority being truthful" as a strat
80.
▲
by
quietbritishjim
4mo ago
I'll admit the example is a bit sketchy. My dim memory is that Netscape's mistake was that their business model was charging for their product, which is not unreasonable but was doomed when Microsoft gave Internet Explorer away fo
81.
▲
by
quietbritishjim
4mo ago
Right. Chesterton's fence isn't "never remove a fence". It's "understand why it's there before you remove it". If you look and find out it's for a long-unsupported platform, go for it. In practic
82.
▲
by
quietbritishjim
4mo ago
Are you sure you're not thinking of raw read() / write() (the operating systems calls) rather than fread() and fwrite() (the C standard library functions)? fread and fwrite already have a cache, so repeated calls won't make l
83.
▲
by
quietbritishjim
4mo ago
This is addressed by the classic article by Joel on Software (which is apt, as it's a classic mistake): https://www.joelonsoftware.com/2000/04/06/things-you-should-... To rephrase in the language of this
84.
▲
by
quietbritishjim
4mo ago
It's not really about difficulty (although encoding is definitely far more difficult), it's about there being multiple valid encodings. If you have two red boxes on a black background in one frame, and a single red box in the midd
85.
▲
by
quietbritishjim
4mo ago
DX is developer experience (analogous to UX for user experience). Tarpit is often used as an analogy for anything that suddenly slows you down.
86.
▲
by
quietbritishjim
4mo ago
> asking for 1 byte 65536 times, is indeed different than asking for 65536 bytes, 1 time. Yes it's different. As others have noted, the difference is what is returned if less than 65536 are available to read in the file: total failu
87.
▲
by
quietbritishjim
4mo ago
That's different: you're talking about the application code, like OP. But I think the parent comment's point is that the issue is in the implementation of fread itself in the standard library. It's perfectly reasonable f
88.
▲
by
quietbritishjim
4mo ago
Honestly, I think I'm more likely to get your form wrong than the original one. This doesn't obviously look wrong to me: game->boardPieces = swAlloc(sizeof game->boardPieces * row * column); Maybe I find this harder
89.
▲
by
quietbritishjim
4mo ago
> And, of course, 35 is the same score claimed by AI systems from Google, OpenAI, and others. This is the part of the quote your6 replying about. You seemed to take "of course" as an implication that the contestants used LLMs,
90.
▲
by
quietbritishjim
4mo ago
> nitpick: the “where is erica?” is a catchy title for the feature being showcased - which is actually a notification that your child made it to school safely. When I click on that square it says: > See everyone’s location using the F
More ›