hcs

Joined 11 years ago

Karma
1,681
Submissions
646
Member since
Aug 27
gashlin.net
View on Hacker News

Recent submissions

Comment · 11 hours ago
I had some similar ideas for an assembler targeting MIPS, I wanted to use symbolic names, reserved within called scopes, and have the assembler find an allocation or error (requiring an explicit decision of what to spill), didn't find relevant examples at the time (circa 2018). Ultimately I decided I was wasting too much time on the assembler and went with global allocations for the most part.
Comment · 4 days ago
if ... then ... neht ... fi
Comment · 21 days ago
There are numbers between 0.1% and 20%
Comment · 2 months ago
Comment · 2 months ago
I would expect the LLM-ese to not repeat "called" like that.
Comment · 3 months ago
Events of Back to the Future II (2015-10-21)
Comment · 3 months ago
Same, seeing the title and having not read Bradbury for a long time I was thinking either The Veldt or that one (The Long Rain). I did remember it on reading, though, and it's an unsettling feeling.
Comment · 3 months ago
Maybe I'm not communicating the point clearly. In order to use a table to do the whole multiplication it has to be much larger than the largest number you would want to multiply with it. A lot of the analysis of algorithms, especially multiplication as discussed here, is about astronomically large numbers, so you don't want the existence of an even more astronomically large table as a prerequisite.
Comment · 3 months ago
Well, yes, which is why they don't measure it your way, as it doesn't lead to discovering anything interesting about computation to have a shortcut like that. Or if they do it's part of a larger analysis, called an oracle machine.
Comment · 3 months ago
Comment · 4 months ago
> If you're a carpentry shop that just bought power tools for the first time and you're worried that your employees are sticking with hand tools because that's what they know, then you look for sawdust.

Or count the fingers, I guess. It's all fun and games until someone looses AI.

Comment · 4 months ago
Though the ancients did recognize as occult forces magnetism (Thales, according to Aristotle, gave the motive power of magnets as an example that even apparently inanimate objects have souls) and electricity (from triboelectic effects with amber, whence comes the name, and which Thales discussed as induced magnetism, also Plato mentions the stunning caused by electric rays), though it would be a while before the connection was made between these phenomena.
Comment · 5 months ago
Pitch is the offset between the start of consecutive rows of pixels in the image, used to convert y coordinates into the start of any given row, so you access a pixel as buffer[y*pitch+x]. Often this is the image width, but can be greater depending on required alignment.
Comment · 5 months ago
If we're collecting anecdotes, it happened for me in more of my office jobs than not. Might have been relevant that these were smaller offices.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton