hcs
Re:Nibnib: Image compression with extreme decompression speed
on Monday November 02, 2026 @07:20AM (#50335855)
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.
Re:The 'else' keyword is probably a literal translation from German (2...
on Thursday October 29, 2026 @12:14AM (#50284486)
if ... then ... neht ... fi
Re:Hackers activate automatic defrosting accross European supermarket ...
on Monday October 12, 2026 @03:00PM (#50061145)
There are numbers between 0.1% and 20%
Re:Borges Labyrinth in Venice reopens to the public
on Tuesday September 01, 2026 @12:59AM (#49518136)
I recently picked up this recently, it uses The Library as a way of discussing a few different mathematical topics. I can't strongly recommend it but it's interesting. https://en.wikipedia.org/wiki/The_Unimaginable_Mathematics_o...
Re:The title cards in Blade Runner are amazing
on Wednesday August 05, 2026 @06:19PM (#49189844)
I would expect the LLM-ese to not repeat "called" like that.
Re:There Will Come Soft Rains [pdf]
on Tuesday August 04, 2026 @11:31AM (#49170389)
Events of Back to the Future II (2015-10-21)
Re:Ray Bradbury's "There Will Come Soft Rains" is set today (2026-08-04)
on Tuesday August 04, 2026 @11:26AM (#49170330)
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.
Re:Mathematicians still don't know the fastest way to multiply numbers
on Sunday July 19, 2026 @02:12PM (#48970400)
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.
Re:Mathematicians still don't know the fastest way to multiply numbers
on Sunday July 19, 2026 @07:22AM (#48967046)
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.
Re:Mathematicians still don't know the fastest way to multiply numbers
on Sunday July 19, 2026 @04:19AM (#48965975)
An algorithm is a finite sequence of instructions, and so can't include an infinite table. More generally, https://en.wikipedia.org/wiki/Effective_method
Re:Tokenmaxxing is dead, long live tokenmaxxing
on Sunday June 28, 2026 @04:09PM (#48711096)
> 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.
Re:A Herculaneum scroll has been read for the first time
on Friday June 26, 2026 @10:18AM (#48686915)
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.
Re:The Four Programming Questions from My 1994 Microsoft Internship In...
on Monday June 01, 2026 @01:38AM (#48353010)
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.
Re:What if remote working, not AI, is to blame for weak junior hiring?
on Sunday May 31, 2026 @04:56PM (#48349646)
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.
Re:Nobody cracks open a programming book anymore
on Tuesday May 26, 2026 @01:06AM (#48275238)
I liked it, still find good answers, and it was gratifying to provide answers when I could.
Re:The case against boolean logic
on Friday May 22, 2026 @11:26AM (#48237211)
enum Bool
{
True,
False,
FileNotFound
};
https://thedailywtf.com/articles/What_Is_Truth_0x3f_
Re:DBase: 1979-2026
on Monday May 11, 2026 @01:12AM (#48091270)
Some of my earliest programming exposure was a dBASE IV book my dad had for work, though it was some time before I put any of it into action. At that time I was reading manuals like fiction, only slowly realizing that I could actually use some of it with our computer.
Re:The fun has been optimized out of the Internet
on Tuesday May 05, 2026 @11:17AM (#48023707)
> millenials got the birth of social media
..and a lot of us weren't thrilled about it.
Re:I accidentally made law enforcement shut down their fake honeypot
on Wednesday April 29, 2026 @10:33PM (#47957397)
It's a honeypot for pedants
Re:XOR'ing a register with itself is the idiom for zeroing it out. Why...
on Wednesday April 22, 2026 @11:49AM (#47865342)
> Or you do not consider MUL/DIV "arithmetic", or something.
Multiplier and divider are usually not considered part of the ALU, yes. Not uncommon for those to be shared between execution threads while there's an ALU for each.
Re:The 1987 Game "The Last Ninja" was 40 kilobytes
on Tuesday April 07, 2026 @01:15AM (#47670993)
I phrased that badly, Dragon's Lair was the example of low process intensity.
Re:The 1987 Game "The Last Ninja" was 40 kilobytes
on Monday April 06, 2026 @12:01PM (#47662669)
Even on NES a lot of games use CHR-RAM so arbitrary bitmaps are at least possible, though only a small part of the screen is unique without some rarely used mapper hardware. Zelda and Metroid mostly just use this to compress the graphics in ROM, Qix is a simple example with line drawing, Elite is an extreme one.
I made a demo of the Mystify screensaver using the typical 8KB CHR-RAM. Even with a lot of compromises it has pretty large borders to avoid running out of unique tiles. https://youtube.com/watch?v=1_MymcLeew8
Re:The 1987 Game "The Last Ninja" was 40 kilobytes
on Monday April 06, 2026 @03:30AM (#47657932)
Chris Crawford called this "process intensity", it was a distinction he saw even back to 1983 with Dragon's Lair: https://www.erasmatazz.com/library/the-journal-of-computer/j...
Re:Some Unusual Trees
on Sunday April 05, 2026 @01:09AM (#47646285)
Or you can just hit the Random button https://en.wikipedia.org/wiki/Special:Random
Re:How many products does Microsoft have named 'Copilot'? I mapped eve...
on Saturday April 04, 2026 @08:51PM (#47645083)
There's a restrictions on games with even simulated gambling
Re:Artemis II lifts off: four astronauts begin 10-day lunar mission
on Thursday April 02, 2026 @12:26AM (#47609989)
You are more quickly being carried by the ground further from where you would otherwise be. Hope that clears it up.
Re:The gold standard of optimization: A look under the hood of RollerC...
on Sunday March 22, 2026 @05:50PM (#47482567)
Not the same thing but I was reminded of a joke about the puzzle game Stephen's Sausage Roll:
> I have calculated the value of Pi on Sausage Island and found it to be 2.
https://web.archive.org/web/20240405034314/https://twitter.c...
Re:On The Need For Understanding
on Monday March 16, 2026 @07:58PM (#47406744)
As they say in a somewhat different context: worse is better
Re:Polymarket gamblers threaten to kill me over Iran missile story
on Monday March 16, 2026 @05:50PM (#47405427)
> But what if you could push?
There are a number of so-called "bounty" programs like this for software, I don't know how well any of them work.
Re:Ask HN: Please restrict new accounts from posting
on Sunday March 08, 2026 @07:53PM (#47302984)
Or grade accounts by the logarithm of how many accounts were registered before them, like Slashdot. (This is tongue in cheek as I assume yours was.)