News for hackers. Stuff that matters.

whartung

Re:If you love a website, back it up on Monday November 02, 2026 @02:22PM (#50342180)
So, this is a fine idea and all, but aren't the "piss off AI bot" mitigations going to throw a wrench into folks wanting to back up a website?

I guess the web plugins could ideally get around it, but what about the CLI and app solutions?

I know yt-dlp has gone to great lengths to work this problem.

Re:NetBSD adds a new beginner-friendly text editor called atto on Thursday October 29, 2026 @12:25PM (#50291633)
I always thought the essential feature of an emacs was its extensibility. I never felt that emacs was just a collection of keybinds and split buffer windows.

Note, I'm not talking about Lisp per se, just some kind of mechanic within the editor to allow the user to make extensions to it.

Re:Laptop Based on 6502 CPU on Monday October 19, 2026 @12:06PM (#50154099)
Oh, absolutely.

First, they're more granular. Segment represents 16 byte blocks, most banking systems had 4K blocks.

Second, the segments can overlap. The most basic example is the Tiny model where CS and DS are identical. 64K of shared code and data. Separate them, and you can have 64K of code and 64K of data with almost no code changes. (The Small memory model).

Third, you can move memory between segments. With banks, the typical setup if you wanted to move data from Bank A to Bank B, you had to move it out of Bank A, enable Bank B, and then move it back in. Obviously with more sophisticated banking architecture, you can do whatever you want. Eventually you creep into more of a MMU logic than simple banking.

Finally, somewhat related to the previous, you have the ES, Extra Segment. While more limited than the CS/DS in terms of capability, it was enough to let you shove things around without having to clobber your CS/DS if you didn't want to. Saved a bit of juggling there.

Regarding the part about code spanning, yeah, that's an issue in terms of continuity. You simply couldn't have code that was larger than 64K, the PC will wrap on the CS.

But, you had direct support for "far pointers". You could "Jump" to SSSS:XXXX, storing the entirety of the pointer, and do a far jump directly. The jump resets the CS for you. You can't do that with a banked system. You're responsible for banking things in at the right time. So, if you commit to far pointers for all of your function calls, the code just links and it "just works" without you having to do anything manually.

More expensive of course, so folks would make internal little worlds of code and data and contextually bounce between them. But you have the option of not having to do that if you didn't want to.

Re:Laptop Based on 6502 CPU on Monday October 19, 2026 @12:56AM (#50148521)
The superpower of the PC over the previous generation was an order of magnitude more memory.

The machine itself was not necessarily faster, but the extra memory was a real game changer.

Even segmented like on the 8086 was a better solution than the banking options on 8 bit hardware. The ‘86 segment registers were much more flexible.

Long term, 640k may not have been enough, but in a text based environment, 640k is just so much more from both a data and code aspect to be really empowering.

256k and Lotus 1-2-3 was much more capable than anything an Apple could do. Having much more room for more capable code aspect as well as richer and more data.

You could do gymnastics with code overlays and data paging, but that was hard software to write and just painfully slow.

Extra memory just made things that much better.

Re:Java sealed classes and exhaustive pattern matching on Sunday October 18, 2026 @04:32PM (#50145206)
At a glance, the string templating system they were trying out looked pretty good to me.

And clearly a lot of work and time went into it with the previews.

The fact that they pulled it back suggests they looked down deep into an abyss that looked back at them, and what they saw scared them.

I don't know if there has been a published deep dive post mortem on the whole string templating thing, but I am quite comfortable with the team yanking it out if they felt it wasn't right.

Re:Show HN: High-quality duck audio synthesizer on Saturday October 17, 2026 @04:01PM (#50134551)
This is beautiful.

We used to feed the ducks at the lake in the park.

We bought poultry food at the local tack and feed store.

There were dozens of them. When they got spooked and all started flying, the breeze was notable.

Park eventually put in a sign to stop feeding them and took out the benches.

Re:Celebrating 70 Years of Fortran on Thursday October 15, 2026 @12:20PM (#50105961)
FORTRAN was a very important language for me.

Growing up on early micros, with BASIC, my father had Fortran for the TRS-80.

I took a stab at learning it, but the documentation was reference for calling the compiler, not so much learning the language. And when I found a FORTRAN book, it was quite dated and talking about things like tapes and punches and what not.

So, that effort stalled.

But, my first quarter in college, I took a FORTRAN (77) class. FORTRAN taught on the schools CDC Cyber mainframe.

This was quite a change from 8-bit PET BASIC.

But, most importantly, it was exposure to much of the same concept that an 8-bit computer has, but from a different tact.

This gave me more of a way to view things from a higher level, since I had to make them fit the two different views of how FORTRAN looked at things, how the Cyber presented things, and how BASIC and the PET were "same thing only different".

It also gave me access to a multi-user system, and all of the interesting capabilities it offers.

I remember when they put in their first lab of PCs, and how they started teaching folks Turbo Pascal on micro computers, and I just felt that the users were missing out on a bigger world. "Anyone" can access a PC or micro computer at home, but mainframe or multi user mini access, not so much. It's just a much bigger world out there, and we tend to baby duck what we first see.

Different world today, never had to use FORTRAN professionally, but I am most grateful for the experience of learning it and its environment. Very powerful medium for broader learning.

Also FORTRAN was the only notable computer thing I had "taught" to me (outside of my 20 minute introduction to BASIC by my high school teacher), pretty much everything else I self learned from books and such, even knowing the bulk of it before taking classes in school.

Re:Celebrating 70 Years of Fortran on Thursday October 15, 2026 @12:09PM (#50105739)
The reason 'i' was the first letter available was because by default identifiers starting with, I think, I-N were integers instead of float.

When I first started, with BASIC, my variable of choice was T simply because it was easy to type NEXT T in the FOR loops (why not R? I dunno...T just stuck).

Re:Apple Keynote now showing ads in its UI on Wednesday October 14, 2026 @12:55PM (#50090857)
No, the hot tip is to REA a patch to stop showing the ads, keep the rest.
Re:Apple Keynote now showing ads in its UI on Wednesday October 14, 2026 @12:52PM (#50090785)
Just tape your CC to the back of your phone, and your muscle memory will work the same.
It just reminds me of a cartoon in my head.

First pane has a supervisor, a plumber, and a robot, with the supervisor pointing to the robot.

Next pane is the robot watching the plumber work.

Next pane is the plumber watching the robot work.

Final pane is the robot with a bloody wrench standing over the dead plumber.

Re:Why Common Lisp Is Now the Best Programming Language on Tuesday October 06, 2026 @01:17AM (#49974485)
I dunno.

When it comes to back office business programming, there’s just a lot of code tasked with copying a litany of bits of data from one structure to another.

Whether it’s copying a web form into a database, or converting Their JSON to Your JSON, it’s a lot of detail that does not abstract well. It’s all shapes and sizes and formats, and it almost always has to be enumerated in excruciating detail and, typically, twice.

Sure, there’s logic and whatnot involved, but it, too, is specific to some subdomain of the larger system and it, too, does not abstract well. Not in the large context of the overall system.

Accounts Payable and Accounts Receivable, at 10,000 feet look almost identical. They’re almost literally the same thing with the sign flipped. But in practice, they don’t share code well. You end up with two similar systems, but not similar enough where sharing is actually worthwhile.

At best they can leverage a common API to the GL.

Turns out a lot of languages can manifest a decent level of abstraction. But even then, folks push back.

Consider the love/hate relationship with ORMs. Or the annotation driven markup in Java programs and the underlying “magic” that they enable. Like scribing mystic runes onto things.

Those are both very powerful, yet folks experience that and toss their hands in the air and throw out the baby with the bath water and jump into something “magic free” like Go.

Just because you can use something like CL to “make your own magic”, doesn’t mean it’s a good idea. Doesn’t mean it scales. Doesn’t mean it communicates well to others. AI or no.

It’s not the AIs world yet. We already know that if the AIs want a better language suited to AI efficiency, they’ll come up with their own. I’ve already seen crass examples of “code only an AI could love”. Completely impenetrable, at least to me. May as well have represented it as a color image and collection of RGB values. Opaque to me, but the AI could “read” it.

There is much more to programming and systems than token density, and AI is still getting cheaper by the day, so less reason to even pre-optimize for it anyway.

Re:Worth Building on Monday October 05, 2026 @10:20PM (#49973416)
I'm sure it helps to have some design sense, or something. Whatever it is, I don't have it.

Each time I've tried to get some Web UI going with the AIs, they all look terrible. They may work, but, they're terrible. I know they're terrible. I can't really express why they're terrible, just that I don't like them. So, I cannot really explain to the AI why they're bad so they can fix it.

Its just a blindness of mine that I've had forever.

Re:Reasons I didn't become an EMT, ranked on Saturday October 03, 2026 @10:12PM (#49949942)
To be fair, some of the stories he told me are horrific enough not to share, and its amazing that those weren't the issues that made him leave. They certainly could have had a cumulative effect.

There was one "gallows humor" story of an obviously fatal bicycle accident. As paramedics, they could not declare the victim dead. They had to have authorization from the hospital.

The hospital insisted they send the EKG data back.

They said "Ok", and rather than going through the effort of connecting up the victim, they just stuck the leads to the truck and said "here it comes".

Then they got the OK to declare there at the scene.

Re:Reasons I didn't become an EMT, ranked on Saturday October 03, 2026 @06:22PM (#49948358)
Friend of mine was an EMT, and he advanced on and became a paramedic.

The work seemed to suit him, he enjoyed it. I'd hang out with him at his base of operations (he was a private paramedic in LA County).

Then, one day, he quit.

He quit, and didn't renew his certification.

And he won't talk about it, and, boy, yea, did he have some stories.

But something got to him.

Re:Updates to Full Disk Access in macOS on Friday October 02, 2026 @04:34PM (#49938273)
Folks like to cite how capability OSes are a great thing, and I certainly appreciate the concept, and, no, MacOS, is not a capability OS.

However, it feels like one to the User. Having to get constantly prompted to grant permissions they don't even necessarily understand to random programs.

There's been chatter about how system like iOS are not "document based", they're app based. Many apps do not present their data as "files", users don't know where their data resides, just that the app knows and that's their window.

I don't know where an application on MacOS can "save their files" if they don't have "Full Disk Access". I don't know if they get some directory "for free" that they can use much like iOS does.

Then, of course, there's the Apple Document model where data auto saves to Somewhere. You have versioned files you can work with. But until you actually "save" the file to "the disk", its living in some unannounced space. My TextEdit app has dozens of "Untitled-XX" files that are...somewhere.

And its great! There's a peace of just having "stacks of stuff" that you can leave "unmanaged". "Where would you like to save your work?" "Oh, great, cognitive load just exploded as need to think about the minutia of data organization, when, mostly I just "don't want to lose this".

But, the constant prompting is exhausting, to me. Again, I have to "think about it". I need to question everything, when I really just want to Get Stuff Done.

And, in time, we become blind to these prompts. "ok, Ok, OK!! GO ALREADY! JUST WORK!!".

Exhausting.

It’s not a spy plane. It a mach 3 test plane.

They clearly feel it’s cheaper/faster to get this working than to try and create a new mach 3+ aircraft.

With 25 years of new tech maybe they can push it even faster.

Re:The US state replacing power plants with home batteries on Tuesday September 29, 2026 @07:30PM (#49902291)
We have this in CA. I have Tesla batteries and they promote wanting me to enroll my batteries into a larger grid so their capacity can be used during higher load events.

I thought it was a novel idea when I heard about it.

I forget that actual reference.

But there was an article or map or something talking about the placement of towns, I think, back east (or the south, or Virginia).

Simply, the towns were placed within a days travel of each other. And the communities they served were, effectively, about a 1/3rd days travel in radius. That's how far folks would go to get into town, and being a day apart facilitated long range travel instead of camping in the wilderness.

The towns were basically small towns designed to serve those local communities. Cities formed on the intersections of such roads to support more trade and traffic.

I don't recall if it talked about towns along rivers where transit might be faster.

But it was an interesting article with a map of actual towns.

Re:What makes Lisp difficult to read? on Monday September 28, 2026 @12:39PM (#49880747)
The parentheses are large glyphs that distract the eye, and do not stand out (to the untrained eye) as delimiters.

Consider:

  (defun split-line (line)
    (remove-if #'(lambda (word) (string= word ""))
               (split-sequence:split-sequence #\Space line)))
Now imagine if we had some "lower weight" glyph besides the paren.

  .defun split-line .line,
    .remove-if #'.lambda .word, .string= word "",,
               .split-sequence:split-sequence #\Space line,,,
Obviously a contrived example replacing () with ., but you can see how "heavy" the parens and how they can dominate what the eye sees.

With experience, the parens vanish. The parens being large and common take control of the conversation more than they should.

Re:Ten Lines of Code That Changed My World on Sunday September 27, 2026 @04:00PM (#49870255)
In high school, my friend and I were demonstrating to Fred the magic powers of our IMSAI 8080 with ye olde:

  10 PRINT "FRED IS A GEEK"
  20 GOTO 10
To wit my friend and I would giggle and taunt.

Undaunted, Fred took a look around, found the power button, and turned the machine off. Yes, that power button next to the "DO NOT TURN OFF" sign.

As the monitor and LEDs faded to black, the giggling stopped and my friend and I stood aghast at Fred's treachery.

Fred left, and we were tasked with restarting the machine, getting to the monitor, keying in the hex code of the cassette loader, and reloading BASIC from cassette.

Got it to work on our second try!

Re:2DWillNeverDie on Friday September 25, 2026 @04:27PM (#49849478)
While I certainly played several shooters (DOOM, Quake, CS) a bit, but not with any passion.

But my favorite early 3D game was Total Annihilation. Which is not a 3D game. It's a 2D game with a 3D rendering engine. Classic RTS isometric POV, but all of the benefits of a 3D engine (arbitrary model rotations, movement dynamics, rockets flying through the air, shrapnel...oh, the shrapnel).

Similarly with Warcraft III, another RTS done with a 3D engine. Its gift was the interstitial cinematics done with the engine for story telling purposes.

In both these cases, 3D added immensely to an ostensibly 2D experience. I also imagine once they got things sorted out, it made things much easier for the level and scenario designers to be able to just put Objects into their flat-with-some-terrain 3D worlds.

In CA we had a clothes dryer motor replaced. As a result we were left with the old part.

I took it to a nearby recycling center, and they wanted my drivers license to pay me the $0.58 it was worth. I declined and just let them reap their windfall. I imagine I would have got the 58c in cash, that’s how it works with plastic bottles.

Yes, they bought it. But they didn’t buy it and stab it in the heart. They developed it for several years.

A primary bit of tech that came out of the purchase was the core DB engine. They reworked this into what became the Jet engine. The Jet engine was the core of Access.

Access was in many ways a next generation of FoxPro. They both went after the same niche of desktop and file server DB applications. But FoxPro carried the legacy of its dBase roots, FoxBase was basically “better dBase”, but had to appeal to and be familiar to dBase developers.

Access had no heritage like that to hold it back, and was a better citizen in the VB/Office/OLE/COM world. It was also more SQL first even though it kept things like DBF files as first class citizens.

Re:Java 27 Released on Tuesday September 15, 2026 @11:46AM (#49714353)
JavaFX is a hidden gem. I really like the programming model with its binding and scene graph and CSS.

It's not as portable as Swing, as it has some platform specific binary components to it. But it works fine on mainstream platforms. For me Swing portability is not worth giving up the FX model.

Just be aware that if you happen to bundle in the Web view component, you're basically adding WebKit to your distribution. I did this with a small project because I wanted to have a "help" screen with Markdown -> HTML. Easy, but "expensive". It simply adds a big chunk (10-20Mb) to your distribution.

(Now I have a very crude Markdown renderer for this task, which is a 100 lines code, and I'm working on a better one -- but I have yet to pull the trigger on the latest FX with its new Rich Text component, which could change everything.)

One hot tip with cross platform FX, however. Embed your fonts. The font suite is not common across the distributions, and the CSS does not honor the font fall back (i.e. if not XXX font, then YYY font), so if the runtime doesn't have your specific font, it collapses to the System font. So, embedding the fonts you use helps a lot with cross platform stability. Plenty of free fonts, I have not had a real problem with this. But it can be one of those O.o moments when you test on other platforms and encounter it the first time.

Re:Thelio Mira AI Linux Workstation: 192 GB GPU Memory on Friday September 11, 2026 @12:49AM (#49653675)
There was a time when I sold my computer and bought a motorcycle.

Can honestly say that was one of the best trades I’ve ever done. I didn’t buy another computer for 3 more years.

Re: on Thursday September 03, 2026 @04:31PM (#49556469)
Ive always wondered if I sat down with a sketch artist and was asked to describe my wife, how close we would get.
Re:Altair Basic Interpreter Source Code (1975) [pdf] on Thursday September 03, 2026 @12:26PM (#49552667)
Its talked about here: https://www.c64-wiki.com/wiki/Garbage_Collection

The process they used was simple, but brutal.

Re:Fastpotify on Tuesday September 01, 2026 @04:48PM (#49527994)
A bigger question.

How do you all GIFT music these days?

My brother recently sent me a new album for my birthday. Very kind. But, it's on vinyl. And I don't have a player.

But it just reinforces thoughts I had before. I had wanted to gift him some music too, but, how? He has a phone. He has a computer. He's not particularly tech savvy. I know I can't ship him a CD, he has nothing that can rip it.

I know you buy an album on Amazon, they let you download the MP3s right away. But, how do I even gift that? Can you even download MP3 to an iPhone? From someplace not Apple? I honestly have no idea.

And it just highlights, to me, the entire (seemingly) difficulty of gifting music today.

Me, I still buy CDs and rip them.

I'm hoping to see progress in this space.

Folks talking about how 32G is not enough for local use, but then there's been work like this to empower it.

My hope is that the new 32G M6 will be "useful" locally, possibly because of work like this.

Older »