News for hackers. Stuff that matters.

boomlinde

To be fair, is there a good reason that it should be?
Re:AlpineBSD on Thursday October 29, 2026 @03:41PM (#50294691)
What is your point?
Re:AlpineBSD on Thursday October 29, 2026 @08:55AM (#50288187)
Which for their purposes is a useful way to look at it. How again does that relate to tribalism?
Re:AlpineBSD on Thursday October 29, 2026 @02:56AM (#50285370)
Who is the enemy they've made here?
Re:Four Months of Zig on Wednesday October 28, 2026 @07:40AM (#50271990)
Hidden from those who don't read it.
Re:Wikipedia's Cleanup of AI-Generated Content on Wednesday October 28, 2026 @01:46AM (#50269720)
So the humans have the knowledge, and the only way that an LLM can possibly reproduce it is by happenstance after you train it on the tokenized representation of the human knowledge, a process in which it is just as likely to make something up. What is the point of the LLM in this elaborate waste of time? What does it add?

A typewriter prints the letters exactly as you press the corresponding keys. It doesn't invent bullshit on its own as you do. I can't take the comparison to a typwriter as a serious, good faith argument. If you have any worthwhile ideas, please bring those up instead of poorly considered variations on the usual "it's just a tool" platitudes. The comparison is invalid. You are thoughtless for bringing it up.

Re:Wikipedia's Cleanup of AI-Generated Content on Tuesday October 27, 2026 @08:23AM (#50258073)
LLMs can't know things. They have no concept of veracity. In a place for knowledge they'd better be left out.
Re:Wikipedia's Cleanup of AI-Generated Content on Tuesday October 27, 2026 @07:44AM (#50257680)
You can always read Grokipedia if this feels like a lost opportunity to you.
Re:SIMD-accelerated computer vision on a $2 microcontroller on Tuesday October 27, 2026 @04:41AM (#50256163)
What does "normal" have to do with it? SIMD means single instruction, multiple data, which is how these instructions are designed.
Re:Oldest GUI application that still runs on Windows 11 on Tuesday October 27, 2026 @03:46AM (#50255786)
AFAIK Wine will run 16-bit applications just fine now, through WoW64.
Re:What Is Gridifcation on Thursday October 22, 2026 @11:49AM (#50197054)
I prefer keeping the concepts of "playing in time together" and "playing in time together on a strict grid" separate. For example, in a classical orchestra you typically very much strive to play in time together, but you do that according to the conductor's interpretation of the tempo marks of the piece, which often calls for tempo variation.

In jazz, you also typically do your best to play in time together, but for long sections timing is often made an open-ended problem where the rhythm section doesn't interfere too much with stylistic timing variations that IMO often separate the simply skillful solo from the deeply felt one. The idea of an accent in modern popular music seems largely have practically narrowed to dynamic articulation, but agogic accents are a thing that skilled musicians can perform in a band setting without it seeming like an "imperfection".

Re:On AI writing on Tuesday October 20, 2026 @05:03PM (#50172635)
> (I never used em-dash (big fan of the parens), and I resisted for a while, re: ai, but now am trying to use them appropriately)

I started using the emdash after learning of the compose key feature of X11. Not tuning the emdash dial to 11 or anything, but occasionally. Now I avoid it to spare myself the indignity of someone confusing me for a chatbot. In general I prefer a more vulgar style of writing as a direct response to those chatbot tics.

Of course, that now distinct LLM style was kind of a thing before, too, but if you weren't writing some bullshit on SEO on Medium or congratulating yourself for your achievements on LinkedIn, using elements of that style wasn't such a source of confusion. Now the chatbots will frame everything as though it's an insight on B2B sales strategies that struck them when they tripped on a dog leash while jogging to work.

Re:Publish fake stats, get cited in LLMs on Tuesday October 20, 2026 @02:06PM (#50170260)
Is this categorization actionable or meaningful in any way? If a system or process relies on no one on the internet being a liar, it's broken. There are liars. There will be more liars. As is made evident, people (and machines) will unwittingly reproduce lies out of sheer incompetence. That reflects poorly on them as reliable sources of information.
Re:Wine Ported to OpenBSD on Monday October 19, 2026 @01:08PM (#50154956)
> โ€” after the security implications of this to OpenBSD gives him a fatal aneurysm.
Re:Laptop Based on 6502 CPU on Monday October 19, 2026 @11:44AM (#50153827)
The SX-64, too: https://lunduke.locals.com/post/3337763/commodore-sx-64-the-...

Perfect for some poolside work.

Re:Laptop Based on 6502 CPU on Monday October 19, 2026 @11:38AM (#50153765)
The VCS has some handy features that makes it easier.

First, there is no frame buffer (there could be no such thing in that memory space), but there are effectively line buffers for the different sprite types and background. These are not in the 128 bytes of general purpose RAM but memory mapped to the display controller.

Second, it maintains the patterns in these buffers until you change them and will repeat them on the next line unless you do anything to change them. This makes it easy to perform partial update, e.g. only update the background every 8 lines and only update sprite graphics on odd lines or whatever you need to do to save time.

Third, the video controller can be instructed (via a memory mapped register) to halt the CPU until the next horizontal "blanking" interval. This makes synchronizing to the beam position between lines much easier.

Fourth, there are no interrupts (except NMI, only triggered manually with the brk instruction) so timing is easily predictable.

Fifth, there is a hardware timer which makes it easier to keep track of your budget while in the vertical blanking portion of the screen, where you probably want to handle most if not all of your game logic. That way the game logic doesn't need to be strictly timed in the same way the screen is.

I made a game for it (https://text.garden/jupitersumo.html) expecting it to be difficult, but found that the simplicity and predictable timing made it surprisingly easy. On the C64 for example you will often find yourself wanting to synchronize to the beginning of a line or even every line for one reason or another, but doing that while dealing with the complexities of its timing is a whole science unto itself. For the main game screen I ended up using some 16 bytes of state in RAM to represent the stuff I need to keep track of while "racing the beam". The code that handles the display is maybe 150 instructions long and lives in the game ROM. The source code is linked from the page if you're interested in how it works.

Of course, in terms of what it displays, my game is very simple, only showing a background and the player sprites. There are much more complex display routines ("kernels") in the VCS game library. An interesting example is Pitfall II, which is very impressive considering the platform, but uses a coprocessor on the cartridge itself (called the DPC) to help sequence line register updates. From memory, I think it lets you enqueue data in advance, and during the display routine the CPU can just read a single register to get the next byte from a queue.

Re:Laptop Based on 6502 CPU on Monday October 19, 2026 @10:43AM (#50153098)
It seems based on previous entries that the display connector goes to a smart LCD controller, RA8889: https://www.maddox.pro/?p=429

A description (from https://www.raio.com.tw/en/RA8889.html):

> RA8889 is a low power TFT controller with powerful display functions and build-in internal SDRAM memory. In order to quickly refresh the screen content with the display memory, RA8889 provides not only parallel, 8080/6800 8/16-bit MCU interface, but also 3/4 wire SPI and IIC serial interface. Plenty powerful functions are provides from RA8889, such as multiple display buffers, Picture-in-Picture, transparency control, display with rotation & mirror, and build-in JPEG and AVI decoder.

Re:Parser Combinators on Sunday October 18, 2026 @07:47AM (#50140219)
The first address should probably not be parsed as an IP address as it can also be a hostname. Might seem like a nitpick, but it creates an opportunity to demonstrate what to do when you expect either of more than one kind of construct.

The article was somewhat difficult to read due to the limited area devoted to the body of the text. I had to scroll on several pages despite the short chapters.

Re:Why I Wrote PGP (1991, revised 1999) on Thursday October 15, 2026 @06:53PM (#50111510)
ASCII armored exports suitable for plain text copying and pasting and inclusion in other documents and messages seem to be the norm for sharing. Keys are referred to by keyid or email. To the key database, files seem more like an implementation detail.

It provides the tools necessary to implement a simpler workflow.

Re:Fingerprints Are the New Cookies on Monday October 12, 2026 @05:46PM (#50063488)
That's a good point. I suppose that the quality of the translation could also be a factor. If for example I only slightly prefer my native language over English, the website could (theoretically) spare me the poorly machine translated page in my native language over the original page in English. Multiply the client's quality assessment of the relative degradation in quality given language options with the server's quality assessment of the localizations on offer and serve the content with the highest score.

Fun anecdote: I remember seeing a screenshot of a website selling a scented candle called "basic bitch", which was machine translated so that the idiomatic meaning was entirely lost. So the translation ended up meaning something like "foundational female dog".

Re:Fingerprints Are the New Cookies on Monday October 12, 2026 @01:27PM (#50059756)
It seems so, but I don't know that all browsers map quality values to order of preference in the same way.

I don't know about expressing ties. If there really is a tie and the client is just as happy to receive either language of equal Q, then it doesn't matter to the client that one is consistently preferred over another. Perhaps it could matter to the server if e.g. the client indicated that "en" and "zh" are tied, but the "en" content can be served in fewer bytes than it can serve the "zh" content, but it seems like such a niche use case.

edit: RFC 9110 offers an explanation: "Note that some recipients treat the order in which language tags are listed as an indication of descending priority, particularly for tags that are assigned equal quality values (no value is the same as q=1). However, this behavior cannot be relied upon. For consistency and to maximize interoperability, many user agents assign each language tag a unique quality value while also listing them in order of decreasing quality."

Re:Fingerprints Are the New Cookies on Monday October 12, 2026 @08:12AM (#50055256)
RFC 3282 allows for the exclusion of the quality value, in which case the languages are just given in priority order. Removing that will shave some entropy off.

I have a hard time figuring out why quality values are even included for Accept-Language. They either have one of the preferred values, or they don't.

Re:Fingerprints Are the New Cookies on Monday October 12, 2026 @07:58AM (#50055088)
My understanding of the EU "cookie law" is that it really concerns a broader category of tracking devices rather than cookies specifically. Referring specifically to cookies is probably a side effect of the way tracking was typically implemented at the time.
Re:Living off-grid: Hundred Rabbits on Thursday October 08, 2026 @05:58AM (#50003875)
If everyone did my job, we're gonna die of hunger.
Re:Living off-grid: Hundred Rabbits on Thursday October 08, 2026 @05:32AM (#50003699)
> Yeah, but none of what they do works without the rest of industrial society.

But then they have in fact not abandoned society.

> As such it's an empty pursuit.

What do you believe that they are pursuing that you think is empty?

Re:Living off-grid: Hundred Rabbits on Thursday October 08, 2026 @05:31AM (#50003688)
Since I know of them and what they're up to I'd be hard pressed to say that they have abandoned society. Since I can download, use and modify the software and art they create, and enjoy doing that, I'd be hard pressed to say that they're only improving their own lives.
Re:Why Plain Text Is Still One of the Best Technologies We Have on Wednesday October 07, 2026 @05:17AM (#49990218)
From a mechanical perspective I always thought of the orders as interchangeable, but being able to execute the LF while the CR is ongoing is a good argument for CR LF specifically.

I wondered what the thought process was at Acorn when they decided on the opposite. It looks like they did this on their 8-bit micros as well. I found this explanation: https://retrocomputing.stackexchange.com/questions/29929/why...

I've only looked briefly but it seems there is a snippet of code in the ASCII output routine that expands just CR to LF+CR which is shorter when the bytes are output in that order. If they did CR first and fell through to the output routine for LF it would clobber the A register and you'd need additional code to restore it after outputting it with OSWRCH, which would also preven the fallthrough. So it saves five bytes three bytes of ROM :)

Still leaves out why they didn't expand LF to CR+LF, but I suppose the specific order was a non-consideration at the time.

Re:Why Plain Text Is Still One of the Best Technologies We Have on Wednesday October 07, 2026 @04:36AM (#49989922)
I also tried VS code and found that you can configure it to output just the line feed. You could also configure it to append a "trailing newline" which cause an empty line to be inserted at the end upon save. This practically produces valid POSIX text files, though if I wanted to have an empty line at the end of my document it can't tell the difference between that and the so-called "trailing newline".

It ultimately also doesn't really present these files correctly. The last LF is still presented as an empty line at the end of the document. Someone reported that, and they added the option to hide the "trailing newline" to address it, but it effectively only stops displaying it, while you can still navigate to it. I ended up reporting simply that it doesn't handle POSIX text files correctly, describing the problem and the issues with the current attempts at solutions, but it was classified as a feature request and eventually closed due to losing some kind of popularity contest they have for these.

Seemed like such a basic function for a text editor and a dysfunctional response to my report, so quickly gave up on using it.

FWIW I think it's a fair point. My view of this is as an outsider only seeing what comes in for review from Windows-using colleagues so maybe I overstated the level of adoption.
The article briefly addresses the problem, but it's pretty fun how different "plain text" looks throughout history and in different domains.

For one, there are a few different ways to terminate lines. All major operating systems now tend to use just \n, but I have older files that use \r\n (Microsoft), \r (Macintosh) or \n\r (RiscOS).

There are also different opinions on how text files end in different operating systems. In POSIX, all lines are terminated by \n, even the last one. Microsoft software still tends to insist that the last line of a file is special case that doesn't need to be terminated even now that they have otherwise adopted POSIX style line endings. In Microsoft's view, it seems that the line ending sequence separates lines rather than terminate them. Files created according to this view don't play well with tools like cat(1) if your intent is to concatenate the lines of two files, but it seems other Unix clone tools have adapted to the possibility that the last line isn't terminated properly.

Finally there's the encoding problem. I don't know of a good tool that determines the original encoding based on heuristics and re-encodes to UTF-8 but if someone does I'd love to know. If I know that the input language is English for example it shouldn't be too hard to determine what encoding the funny byte used in contractions or the funny bytes used in quotes belong to. Still, in English most of the files that use 8-bit encodings remain quite readable if you just box out the invalid bytes.

Older ยป