Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Ollaya – Ollama for open-source, Jev-style decision models (ollaya.dev)
    87comments
  2. Revealing the details of how OpenAI agents hacked Hugging Face (swarmtraces.org)
    68comments
  3. Show HN: Jev Plays Pokémon Red (jev-pokemon.vercel.app)
    58comments
  4. Excel now supports multiple values in a single cell (techcommunity.microsoft.com)
    45comments
  5. Platform-independent SIMD in Go (go.dev)
    132comments
  6. What even is an OS now? (sockpuppet.org)
    48comments
  7. Git-bug: Distributed, offline-first bug tracker embedded in Git (github.com/git-bug)
    94comments
  8. Gravity seems holographic. What does that mean for reality? (quantamagazine.org)
    98comments
  9. An airport cooled by natural ventilation (theguardian.com)
    11comments
  10. U.S. appeals court upholds designation of Anthropic as supply chain risk (cnbc.com)
    656comments
  11. First Principles Thinking (sunilsadasivan.com)
    95comments
  12. Initial DIY Cleanroom Experimentation (jefftk.com)
    2comments
  13. Remembering Johannes Doerfert (llvm.org)
    1comments
  14. Teaching a World Model to Play Pokemon (nostalgia.dev)
    4comments
  15. Show HN: Make math automatic with Mathy (gmays.com)
    16comments
  16. How video games inspire great UX (2019) (jenson.org)
    16comments
  17. Pentium II at 600Mhz with Voodoo 3 Emulated on 86Box with M6 Mac Mini (nyaa.sh)
    114comments
  18. Ink and Switch interactive homepage (inkandswitch.com)
    25comments
  19. How we learned to stop worrying and love campus surveillance (fnl.mit.edu)
    50comments
  20. Loopjacking in A2A Implementations: Hijacking Human-in-the-Loop Approvals (adithyanak.com)
    —discuss
  21. Alan Kay: Shannon gave us a way of dealing with noisy channels [video] (youtube.com)
    22comments
  22. Issues with Codex – Identified – Full Outage (status.openai.com)
    12comments
  23. Bwbach, My Guardian Goblin (robertmay.photography)
    14comments
  24. What happens when you analyze your favorite college football team like the CIA? (cultivatelabs.com)
    17comments
  25. Ask HN: Who's still keeping a DOS machine up because the business depends on it?
    46comments
  26. Amiga Screens: A Primer (datagubbe.se)
    36comments
  27. Meta's Muse appears to use an OpenAI model labeled muse-special (mouse.dev)
    42comments
  28. Show HN: I discovered roads in the US across > 1000 themes (pinedesk.biz)
    5comments
  29. Show HN: Whiteboard (YC W26) – An open-source IDE for thoughtful software design (github.com/devdotfast)
    129comments
  30. Factorio that you can touch (factorio.com)
    95comments

Ask HN: Who's still keeping a DOS machine up because the business depends on it?

59 pointsby 4h ago
46 comments
Do you currently work with or know anyone who is still using:

* dBase/Clipper/CLARION/Paradox/other DOS RAD environments on period hardware to run business processes?

* CNC mills/spectrometers/microscopes/other industrial instruments controlled by ISA cards (either bespoke or standards like GPIB)?

* Anything with a parallel port dongle?

If so, I'd be very interested in hearing your experience here, or feel free to send me an email at the address in my profile. I'm not trying to sell anything, just doing some research for an idea around keeping these going on modern hardware.

1h agoHN ↗

Perhaps look into environmental services labs that do contract EPA work. I would not be surprised to see entire HP-Agilent(ISA-carded) - (think liquid chromotography analyzers) fleets that would match what you're looking for.

1h agoHN ↗

Does BART still run on 5.25" floppies?

1h agoHN ↗

Does the idea make use of https://86box.net? Just heard of this recently on hn and it seems promising for anything that requires low level/cycle accurate emulation vs. your typical high level emulator.

54m agoHN ↗

My idea is a DOS emulator with a really thorough log of every DOS interrupt called and I/O port interacted with. This could then be used to automatically, say, insert rows into a sqlite table when the DOS app updates a .DBF file, or forward GPIB data to a modern USB adapter. I wanted to avoid low level/cycle-accurate emulation as much as possible, only adding quirks as needed to support the most popular business application suites.

1h agoHN ↗

I know of a DOS machine at a wool testing place that uses an ISA card based imager for measuring the micron and other things. They also have a supporting DOS machine with a dBase looking database on it. When I spoke to the owner he didn’t really understand the risks involved in running ancient hardware and in fact had a storage room with period PCs in it if the machines failed. He didn’t have much of a backup plan for the imaging hardware though.

My opinion is that if these guys are still running this gear, they already have a strategy in place (no matter how flawed) and would likely retire before throwing money at something they consider a non problem.

Good luck with the idea. It likely is a tiny niche market with customisation for every customer and given they are normally hardware constrained AI may not be much of a help.

All of them have no money as well.

1h agoHN ↗

You can still get ISA slots on systems as new as Broadwell with an adapter.

35m agoHN ↗

My idea is basically a DOS runtime with hooks on interrupts and I/O that would allow for either migrating databases to modern formats, or converting I/O accesses for modern USB peripherals. Customization for every customer and AI not being much of a help are pluses for me... lack of money not so much.

1h agoHN ↗

It's not totally for business, but I run some antennae and radio telescopes that feed through a Gateway 386/33/16MB RAM. As well as a Getac, no idea what model, but it's from the early 2000s. They both feed through to a A/B switched Paradise CRT (so cute). dBase is on the list.

1h agoHN ↗

I've an AMD K5 processor machine running at 100 mhz. for testing Transputer ISA cards when someone buys one, I also use the same machine to format and copy my Pascal compiler into a pair of 5 1/4" floppy disks. All using DOS.

1h agoHN ↗

Transputer ISA cards when someone buys one

Your use of “when” is interesting - suggests it’s not that occasional. Wonder what people are doing with these nowadays.

1h agoHN ↗

Not DOS, but my company has a Windows XP machine with a dialup connection that I have to keep running for obtuse legal reasons.

If it goes down, the company gets fined. It happened in the gap between my predecessor leaving, and me being hired.

1h agoHN ↗

Is it a physical machine and not a VM? I already had issues with getting XP compatible spare parts years ago. Had to buy used parts that were already pretty old (so high risk of failing again).

1h agoHN ↗

It's a physical machine.

Fortunately, I don't have to deal with swapping parts. There's an outside contractor on call 24/7 for that.

The last time I saw it was about two years ago when I taped yet another piece of paper to the filing cabinet it sits on reading "DO NOT TURN OFF UNDER PENALTY OF LAW!"

Someone keeps taking the paper down.

1h agoHN ↗

Put a proper sticker on, that can't be removed easily.

34m agoHN ↗

Does it have to be a XP box or is just keeping a serial dialup connection working the key?

1h agoHN ↗

It’s gone now, but we used to have a random OS/2 box well past the point where that was extremely weird.

1h agoHN ↗

I had to keep an old clipper/dbase application running until recently. It worked perfectly seamless with vdos (vdos.info). It's commercial software, but very reasonably priced. Dosbox is another alternative, but didn't work as well with printing and I think also wasn't able to do row locking of dBASE databases over the network.

1h agoHN ↗

A certain nuclear power plant had a Windows NT 4.0 machine running as late as 2007. The reason is interesting.

The machine's purpose was to report status of the control rods that mitigate nuclear reactions. Basically, "are the rods inserted, and if so, how many / how far?". I want to emphasize that this was reporting only, NOT control.

The original software was written back in the 80's, when the plant was originally commissioned, for AmigaOS. Of course, it's hard to buy Amigas anymore, and the original one died long ago (nobody remembers when).

So in the mid '90s, the utility purchased an AmigaOS emulator that ran on Windows NT 4.0, which was current at the time. The emulator (IIRC) was developed by a firm in the UK. The firm went out of business sometime in the late '90s. The control rod monitoring software ran under this emulator on top of NT4.

Windows NT 4.0 was the last OS to allow the emulation software direct access to the physical hardware that produced the status signal. Later versions of Windows abstracted the hardware access away, and the monitoring software broke. Because the emulation company had gone belly up, there was no way to fix the incompatibility.

So the utility had a choice: get new hardware/software certified (by NRC?), or keep doing what they were doing with the software (and hardware) that they had. They chose the latter.

So this is how, in 2007, during a tour of the facility, I stumbled across a Pentium 1 system running an AmigaOS emulator on Windows NT 4.0 that was responsible for displaying the status of the control rods of a nuclear power plant.

Spare hardware for this setup was purchased off of eBay and stocked on an adjacent shelf.

1h agoHN ↗

Having worked on nuclear plants (as a reactor operator) around that time this doesn't surprise me in the least.

Thats far more advanced than the systems I worked with, one of which reported rod position via resistance measurement on a brushed cylinder (one for angular and one for depth).

Cleaning and calibrating those was a constant maintenance item every time the reactor was shut down.

55m agoHN ↗

Did they not need NRC recertification when they moved from a physical machine running AmigaOS to an AmigaOS emulator?

50m agoHN ↗

That is an advanced question best asked of the folks in charge of the plant. At the time I was just trying to figure out how to explain to the IT auditors why there was no antivirus software on this piece of crap.

42m agoHN ↗

"Windows NT 4.0 machine running as late as 2007"

lol. I know a ... factory, that had a BBC model B (with a rather complicated wiring loom) still doing a job around that time.

The IT supplier at the same factory went to a museum in Cambs. around late '90s, early '00s to ask if they could buy an exhibit because something had failed locally. The museum gave them the part.

That was just aerospace and nothing fancy like your nuke plant!

25m agoHN ↗

I'm curious, how did the hardware present itself? It couldn't have been an Amiga Zorro card since it would've been impossible to get that into a PC. Did it connect over a serial or parallel port?

15m agoHN ↗

I recall it being some custom ISA card with connectors on the back. The emulation software had drivers that interfaced directly with the card.

12m agoHN ↗

So this is how, in 2007, during a tour of the facility, I stumbled across a Pentium 1 system running an AmigaOS emulator on Windows NT 4.0 that was responsible for displaying the status of the control rods of a nuclear power plant.

Vernor Vinge's A Deepness in the Sky depicts a human society thousands of years in the future, in which pretty much all software has already been written; it's just a matter of finding it. So programmer-archaeologists search archives and run code on emulators in emulators in emulators as far back as needed. <https://web.archive.org/web/20231114211656/http://www.gareth...>

(Heck, recently I migrated a VM to its third hypervisor. It began as a physical machine a quarter century ago.)

5m agoHN ↗

NT4.0 in 2007? That wasn't even very late. I was replacing NT4 servers into the early 10s. Car dealerships were terrible for keeping that crap around.

1h agoHN ↗

A company I used to work at still ships a piece of hardware with an Intel 186 microcontroller in it. The compilers are 16-bit DOS applications and the tool to program the DIP packages with the program was also a DOS application. I’m not sure what the physical interface between the programmer and computer was.

1h agoHN ↗

I had to keep a disturbingly old machine with GPIB running until a few years back. They are still in operation in Australia (who we sold them to).

It was a test/repair bench for military aircraft avionics, with the only flying platform left using it being the legacy F/A-18 (A/B/C/D). Harris H-100 minicomputer hooked to an HP terminal and several full racks of GPIB test equipment with half of a rack of solenoids for switching between stimulus and response and which pin.

Not what you asked, but the question brought back memories.

1h agoHN ↗

Just out of curiosity: is it possible to somehow attach an ISA Adapter via USB to a VM? ISA does depend a lot on DMA and timing, but the clock is only 8 mhz and gives a software layer on a modern cpu a lot of time to do stuff between ISA bus cycles.

Keeping old hardware running is very fragile. Most spare parts are decades old now too, and nobody knows if they still work properly.

40m agoHN ↗

USB and VM latencies are both questionable here, I would think.

ISA motherboards still work and have been mass produced in the hundreds of millions. (I have about a dozen in my retro closet.)

The esoteric ISA expansion cards would be the bottleneck, not the motherboards.

32m agoHN ↗

All those layers add some latency, but 8 mhz is really slow. USB 4 can do extremely low latency, otherwise PCIe over USB wouldn't work.

37m agoHN ↗

To a VM? Possibly.

The DMA might actually be the easy part.

The main concern is how many VM exits per second a modern CPU can handle. Even though the interface is "slow", you can probably do ~500k to 1 million IN/OUTs or MOVs per second to ISA. You'd have to trap (VM exit) every access to a IO port or memory within the ISA window.

During the pandemic I cobbled together a KVM-accelerated emulator for an old 386EX based board I had and trapping every memory access to IO was slower than the real hardware.

55m agoHN ↗

I virtualized a bunch and they seem to work well. At one point, I even had Ultima running on one. =D

53m agoHN ↗

Until recently several customers have an industrial machine that boots DOS. I think the oldest effort we deal with is Win XP now. I do have a C>64 at home ...

In a world that requires security audits etc here's some notes that might help:

Scenarios: You have a device that only talks NetBIOS or even NetBEUI for file sharing. You need to get files to and from it and your CAD workstations run Windows 11 and anything less than SMB 3, with signing and sealing and all that jazz is laughable.

... Devices requiring ftp, telnet, serial over carrier pidgeon

Solution options:

Networking: The first job is to segregate your industrial gear from your general network and you might want to create two or more industrial gear and internet of things type networks with differing access policies. Start with one for now, you can improve it later.

You use 801.1Q VLANS logically or physically (why the hell did I want to write literally?) separate via separate switches.

Please do not skimp on this step. Buy a network bod to sort it out or put your IT bod on a course or hopefully they will have labbed this up at home already!

Comms: Samba is bloody wonderful and speaks everything that MS has ever done and deprecated. Even Samba does need to be asked to start speaking some of those dialects again but it will.

Put a Linux (other Unices are available) box on the same VLAN as your machines. You will need to set quite a few options relating to the minimum version for its server version. When talking to the machines, Samba is the server and when talking to your file server, Samba is the client.

Create a data share on a Windows box on the corp LAN. For example it might be on a file server for multiple access or just a single CAD PC.

Get the Samba box to mount that share to itself at say /srv/data_share_mc1

Now get the Samba box to create a share from /srv/data_share_mc1 which it calls DAT_MC1 (8.3 chars for NetBIOS)

With luck, you should be able to map DAT_MC1 on your machine.

48m agoHN ↗

Not DOS, but I sold a '99 HP computer running win98 last month, to replace an identical failed system. It was used to control a 50 meters long custom industrial paint booth line for special equipments (like 57" rims). Luckily, their HDD was OK. Urged them to make a few sector-to-sector copies of it on a few spare HDD. This $100 sell surely has prevented this business from massive bills or even going bankrupt in the meantime from production loss.

44m agoHN ↗

dBase, MS-DOS 3.x, not using industrial anything. And as its a front of house tally machine, there's literally zero incentive to ever upgrade it. Downtime is measured in the yearly reboot, but there are non-operational business hours, so everything is just scheduled around that.

We've already got it running on modern hardware. It's running under qemu. And the dBase stuff gets ripped out and sent to a REST server for broad monitoring and so on.

We... Have one small oddity? There's a tape backup system, that throws everything through the soundcard. (Sound Blaster only.)

Would be nice if onboarders didn't see dBase and just throw everything at AI instead of actually learning the skills they'll need when data migrations happen. But that's a people problem that can't be solved with tech.

43m agoHN ↗

My dad ran a commercial 2-way radio business. There were multiple radios with programming software that would not work on anything above a 386 and DOS. He had a couple computers from the late-80s running for nearly 25 years, though I think he had to replace one of them with another of similar vintage. Also, had a 486 that he used for customer notes in WordPerfect up to about 2015.

I suspect he could have found a way to use a newer computer, but if it ain’t broke…

36m agoHN ↗

This thread reminds me that there is a huge benefit to using a super common OS+hardware.

In 30 years time it will all be outdated... But emulators will exist and a business process in 2050 that still depended on something I built today could still run with minimal effort or risk.

35m agoHN ↗

You're trying to create and sell a version of dos box? These companies have not replaced their computers because to the user there is no separation between the computer and the machine it controls. So the computer will be updated along with the equipment, which is not connected to the internet or a network anyways so it's not a cybersecurity risk. For the user, if it runs fine, there's no need to update just the computer, and the computer is updated along with the machine

In other words, these are embedded systems.

28m agoHN ↗

Not exactly, freely available solutions are already good enough for people who just want to run their apps on modern hardware, and have been for a long time. What I was thinking about writing is a tool that eases migration by using interrupt and I/O hooks to detect common patterns and, say, builds a modern SQLite database as the business uses their dBase program. Whether anyone actually needs this, I don't know.

18m agoHN ↗

It's been a few years now, but I know a major manufacturer had some windows XP boxes around because they were the newest hardware/software they could get with native parallel port support to interface with their machines.

To give you an idea of the complexity of the manufacturing lines, shutting the machines down and starting them back up again was measured in days. Upgrading them would be obscenely expensive, let alone replacing them, just in the opportunity cost of not making anything alone.

17m agoHN ↗

The last company I worked for still had customers they were dragging forward to get upgrades from coax connexted green screen terminals to modern network thin clients. It wasnt on DOS, but very old unix OS, tape drives for backups, parallel for printers, serial for scanners. No USB. Lovely troubleshooting when you were dealing with 30+ year old hardware setups. There was only one company that would even servicenthe green screens if they failed, and you couldn't buy them anymore.

8m agoHN ↗

Do scanners count?

I'm pretty sure they moved on from them, but a while ago I did seasonal work for a company that rented out scanners for year end inventory (tax related, IIRC). The scanners had to be "cooked" (flashed) on racks, boxed, and sent. The flashing usually worked, but on occasion, the scanner would fail the checksum or something and drop you into a DOS prompt.