Ask HN: Who's still keeping a DOS machine up because the business depends on it?
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
Ask HN: Who's still keeping a DOS machine up because the business depends on it?
Unofficial Hacker News client; not affiliated with Y Combinator.
freeli · · focus · HN ↗
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.
CobaltFire · · focus · HN ↗
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.
kccqzy · · focus · HN ↗
freeli · · focus · HN ↗
CursedSilicon · · focus · HN ↗
(Probably not literally true. But functionally true in the sense that they were likely transmitted via infected floppy disks, of which there'd be virtually none left in the wild in 2007)
freeli · · focus · HN ↗
M95D · · focus · HN ↗
EvanAnderson · · focus · HN ↗
jabl · · focus · HN ↗
kamma4434 · · focus · HN ↗
<a href="https://en.wikipedia.org/wiki/Lamer_Exterminator" rel="nofollow">https://en.wikipedia.org/wiki/Lamer_Exterminator
rcxdude · · focus · HN ↗
(Also, in my experience, what the auditors think the rules are and what is written down can often be divergent and even contradictory)
rrr_oh_man · · focus · HN ↗
Sounds interesting, could you elaborate?
rcxdude · · focus · HN ↗
The next level is that the rules are kind of vague or unclear and so different auditors will have different interpretation of it. You can try to fight it but ultimately the auditor is who needs to sign off on it. This is also why switching auditors can be a right pain.
Then you get interpretations which are flat out contradicted by the rules. Sometimes this is necessary to make the rules work (there's some blanket rule that's impractical to impossible to apply literally, so the auditors contort some interpretation that's more workable), sometimes it's just incompetence, and when it's wrong enough to matter sometimes it's easier to just go along with it than try to escalate the issue with the auditor.
You can also get situations where the auditor has their own pet rules, which aren't written down anywhere, but they will become much more adversarial if they are not followed (sometimes they'll outright tell you what they are, sometimes it's a guessing game).
gerdesj · · focus · HN ↗
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!
icedchai · · focus · HN ↗
freeli · · focus · HN ↗
icedchai · · focus · HN ↗
ErroneousBosh · · focus · HN ↗
TMWNN · · focus · HN ↗
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. <<a href="https://web.archive.org/web/20231114211656/http://www.garethrees.org/2013/06/12/archaeology/" rel="nofollow">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.)
ikidd · · focus · HN ↗
justin66 · · focus · HN ↗
<a href="https://nixsys.com/products/nx370-t90" rel="nofollow">https://nixsys.com/products/nx370-t90
There are some things I don't understand about the OP's constraints (are you sure you can't run that Amiga VM on a newer version of Windows, or better yet, run that Amiga-based software on one of the currently supported Amiga VMs?). But they can probably pretty easily keep going as they're going with this software until some other, more significant thing in that plant becomes fully obsolete and the place is shut down.
DoctorDabadedoo · · focus · HN ↗
I completely get the decisions over time here, but it's unsettling having a relevant piece of software (reports are important too!) working on with parts from ebay, in 50 years time they might be gone.
NegativeK · · focus · HN ↗
That's to say nothing about opinions of open source that rival early 2000s Microsoft.
For old ass critical software and hardware, the org can always have a backlog of hardware and contingency plans (paying someone to fix the hardware, paying someone to create a fully certified and modern solution..) for when they start running out of parts.
[deleted] · · focus · HN ↗
[deleted]
Froedlich · · focus · HN ↗
Then their ancient Honeywell(?) mainframes reached end-of-life they scouted for compatible hardware, of which there was none. The cost of certifying new software, plus the time involved, was astronomical. So, after consulting with the FAA, they paid a hardware company to clone the ancient mainframes in modern silicon. The FAA signed off on it, and they had all-new computers - much smaller than the originals - running the old stack.
betaby · · focus · HN ↗
soulofmischief · · focus · HN ↗
I am interested in how firmware is treated, since perhaps in the case of these old machines it's small enough to be analyzable or at least cloned bit-for-bit.
hulitu · · focus · HN ↗
jagged-chisel · · focus · HN ↗
zx8080 · · focus · HN ↗
vincent-manis · · focus · HN ↗
zem · · focus · HN ↗
fsckboy · · focus · HN ↗
Compuserve also had a software dependency on the PDP-10 and Decsystem 20, and when those machines were no longer available they bought a company making clones so they could continue to manufacture them for themselves. The company they bought, Microsolutions, was Mark Cuban's first startup.
making clones of mainframes (IBM's) had been a big area of intellectual property litigation, but also facing monopolization investigations, IBM had to allow them. They were referred to as "plug compatibles".
FrankWilhoit · · focus · HN ↗
znpy · · focus · HN ↗
theodric · · focus · HN ↗
<a href="https://www.computerhistory.org/collections/catalog/102773832/" rel="nofollow">https://www.computerhistory.org/collections/catalog/10277383... <a href="https://www.twenex.org/?network" rel="nofollow">https://www.twenex.org/?network
hapless · · focus · HN ↗
as far as i know the control plane on their equipment is still a pdp-10 compatible
DonHopkins · · focus · HN ↗
FWIW I'm developing "tiny-titan", a stand-in for Cambridge's Titan mainframe that talks to Heinz Lemke's 1972 PIXIE program over an emulated version of Neil Wiseman's PDP-7 <=> Titan link. It doesn't emulate Titan itself, just the conversation PIXIE had with it, so the unmodified 1972 PDP-7 code dials home and uploads its drawings.
<a href="https://en.wikipedia.org/wiki/Titan_(1963_computer)" rel="nofollow">https://en.wikipedia.org/wiki/Titan_(1963_computer)
>Titan was the prototype of the Atlas 2 computer developed by Ferranti and the University of Cambridge Mathematical Laboratory in Cambridge, England. It was designed starting in 1963, and in operation from 1964 to 1973.
<a href="https://news.ycombinator.com/item?id=49407938">https://news.ycombinator.com/item?id=49407938
<a href="https://news.ycombinator.com/item?id=40617894">https://news.ycombinator.com/item?id=40617894
Flight of the PIXIE - Yuja Wang:
<a href="https://www.youtube.com/watch?v=jDrqR9XssJI" rel="nofollow">https://www.youtube.com/watch?v=jDrqR9XssJI
UNIVERSITY MATHEMATICAL LABORATORY, CAMBRIDGE: Cambridge Supervisor - Planning Document 10 Software for the Titan/PDP-7 link:
<a href="https://cucps.soc.srcf.net/titan/supplan/pd10.htm" rel="nofollow">https://cucps.soc.srcf.net/titan/supplan/pd10.htm
Here is a photo of Heinz Lemke operating PIXIE with the light pen and 340 display on the PDP-7 (also seen in the video above):
<a href="https://www.facebook.com/groups/779220482206901/posts/6297725037023057/" rel="nofollow">https://www.facebook.com/groups/779220482206901/posts/629772...
theodric · · focus · HN ↗
DonHopkins · · focus · HN ↗
<a href="https://hyperties.org" rel="nofollow">https://hyperties.org
Ostensibly the site is about HyperTIES itself, but I'm publishing other stuff there too like a PDP-7 emulator!
<a href="https://hyperties.org/databases/pixie/pixie-live/" rel="nofollow">https://hyperties.org/databases/pixie/pixie-live/
Here's a part of the demo I was giving at EduCom in October 1988 at the Sun booth on the trade show floor, across from the NeXT booth, where Steve Jobs and Bill Joy came by. Because he had shaved his beard, I didn't realize it was Bill Joy when I was showing him a demo of his head popping up! He took it pretty well though, better than Jobs.
<a href="https://hyperties.org/databases/playground/sun-founders-big-heads/" rel="nofollow">https://hyperties.org/databases/playground/sun-founders-big-...
Here's a paper looking back at HyperTIES:
<a href="https://hyperties.org/databases/hyperties/a-look-back/" rel="nofollow">https://hyperties.org/databases/hyperties/a-look-back/
anthk · · focus · HN ↗
mitxela · · focus · HN ↗
realo · · focus · HN ↗
Cannot refrain myself from asking why ...
ianjbutler · · focus · HN ↗
Time-evolution: P1 is deprecated, replaced by uncertified P2, but S1 remains certified.. just nowhere certified to run yet.
Solution: There's another software S2 which originally vouched for P1, itself still certified, which can still be used to certify P2.
Counterfactual?: If S1 were deprecated in favor of new S3.. there'd be no plan to certify it!
The problem: None of this actually makes any sense! But we're trying to fake due diligence. Everyone knows the hardware/platforms kinda need to be certified with respect to each other anyway, but if we did it that way it would all be even more expensive an time-consuming.
mitxela · · focus · HN ↗
realo · · focus · HN ↗
Particularly when the task here is "just" to measure some rod positions in a constrained 3D space ...
starky · · focus · HN ↗
In a case where something is safety critical the computer is super important as very subtle errors could cause catastrophic consequences. This is why you get into things like running software on 3+ computers concurrently depending on how fail-safe something has to be.
flyinghamster · · focus · HN ↗
jasomill · · focus · HN ↗
It's not hard to imagine a similar system fabricated around an open or licensed processor core today being well within the budget of a major airline today.
Software emulation would no doubt be less expensive, but there could have been regulatory reasons for building plug-compatible hardware.
[1] <a href="https://en.wikipedia.org/wiki/PC-based_IBM_mainframe-compatible_systems#Personal_Computer_XT/370" rel="nofollow">https://en.wikipedia.org/wiki/PC-based_IBM_mainframe-compati...
fsckboy · · focus · HN ↗
<a href="https://en.wikipedia.org/wiki/GE-600_series" rel="nofollow">https://en.wikipedia.org/wiki/GE-600_series from the 36-bit era which turned out to be a sweet-spot for Lisp; also "famous" for running Multics (old joke flipped: "which was many of whatever unix is one of")
GE sold it's division to Honeywell, and from there to Group Bull (French) and then to NEC (Japan)
DonHopkins · · focus · HN ↗
jasomill · · focus · HN ↗
[1] <a href="https://man.freebsd.org/cgi/man.cgi?query=passwd&apropos=0&sektion=5&manpath=Unix+Seventh+Edition&format=html" rel="nofollow">https://man.freebsd.org/cgi/man.cgi?query=passwd&apropos=0&s...
bitwize · · focus · HN ↗
<a href="https://www.youtube.com/watch?v=AcQifPHcMLE" rel="nofollow">https://www.youtube.com/watch?v=AcQifPHcMLE
The simulator has a simulated cockpit for the user, which controls an armature with a camera attached that is piloted around a miniature battlefield environment and provides a video feed to the cockpit. A "foot" on the armature senses terrain elevation changes, which are then supplied as movement feedback to the simulated tank cockpit. All of this was controlled by a 1970s mainframe, for which replacement parts were unavailable so it was replaced, in the museum exhibit, with a Raspberry Pi.
It looks like hardware emulation was NOT used; rather, they translated the original program from paper printouts to a modern programming language: <a href="https://www.raspberrypi.com/news/simulate-driving-a-1970s-tank-with-raspberry-pi/" rel="nofollow">https://www.raspberrypi.com/news/simulate-driving-a-1970s-ta...
vincent-manis · · focus · HN ↗
genxy · · focus · HN ↗
JdeBP · · focus · HN ↗
* <a href="https://news.ycombinator.com/item?id=49763972">https://news.ycombinator.com/item?id=49763972
They've reportedly already tried, and failed, to replace it with a more modern system.
slicktux · · focus · HN ↗
tombert · · focus · HN ↗
M95D · · focus · HN ↗
tombert · · focus · HN ↗
JdeBP · · focus · HN ↗
Far more concerning from a RISKS point of view is the spare parts being physically in the same place as the live machine.
thesuperbigfrog · · focus · HN ↗
What other program? Most DOS versions were not multi-tasking beyond "terminate-and-stay-resident" (TSR) programs like mouse drivers.
Whatever application you ran on DOS was THE application your computer was running.
LocalH · · focus · HN ↗
Top parent of this thread is talking about a package for AmigaOS being run on a bespoke emulator (as the Unusable Amiga Emulator of the 90s wasn’t really a thing that could be used for that)
Peanuts99 · · focus · HN ↗
throawayonthe · · focus · HN ↗
wat10000 · · focus · HN ↗
ptek · · focus · HN ↗
mitxela · · focus · HN ↗
sajithdilshan · · focus · HN ↗
This is how we would end up with nuclear disasters, not because the technology is bad, but purely because of mismanagement and human negligence.
onion2k · · focus · HN ↗
Safety and reliability come from understanding the system. Something that's old but that you know everything about is far safer than something new. This risk is that the people who know move on, or the sources of replacement parts stop working, or that other things around the system change. Then the risk curve inverts and you find the old system more of a liability than a asset.
Almost always people choose to update things either too early or too late. Knowing when to do something is hard.
sajithdilshan · · focus · HN ↗
I guess that kind of thinking is what led to the collapse of ancient civilisations like why even bother to improve anything and let everything decay and die out
somenameforme · · focus · HN ↗
I think almost nobody from that era would have believed you if you told them that more than 50 years later not a single human would have traveled beyond low Earth orbit, and that we'd now be struggling to recreate what we did in 1969. Furthermore a significant chunk of the world doesn't even believe we landed on the Moon anymore, no doubt in part because of this apparent anachronism.
It's not like there was any sort of collective or even singular decision to just let things die out. I mean sure Nixon did his thing intentionally, but even as a President in the golden years of the US, he was still just one man.
ac29 · · focus · HN ↗
Four people went around the moon earlier this year (leaving earth's orbit for the first time since '72)
onion2k · · focus · HN ↗
That's just lazy thinking, and probably a sign you've never been a manager. For all the responsibility to lie with management you'd have to be leading people who enthusiastically do what they're asked to do, raise problems, document things, follow processes, and make sure everything is handed over to the next person when they leave.
That's not how people are. They'll have times when they're unmotivated, underpaid, grumpy, over-worked so they miss things, etc. That's when the organisational tech debt starts piling up, and there's nothing a manager can do to stop it except manage it as best they can even though they're under the same pressure, with the same lack of motivation and crap pay as everyone else.
It's so easy to think you can fix it just by keeping on top of it and micromanaging where it starts to show up. It doesn't work that way.
jagged-chisel · · focus · HN ↗
These two (and many others) are well within management’s purview.
> … there's nothing a manager can do … [emphasis added]
Right, but Management (capitalized and plural) can. A manager should report, and management should fix - if not, it’s management’s fault.
onion2k · · focus · HN ↗
The fact that you're willing to absolve an individual manager but still believe Management can fix the problems is a big part of the problem. The Management usually includes the last person in the chain who has the ultimate decision making power. If you assume that when I said 'a manager' I meant that person, it should be fairly obvious that even they don't have unlimited budget or unlimited time, and they can only try to fix problems they hear about. Within those constraints Management are still going to find fixing systemic problems hard.
It's very easy to look at something with hindsight and think the outcome should have been predicted and corrected. If you look at the real world you'll see that just isn't the case. Personally, I wish we had a lot more people applying some systems thinking approaches to at least consider the second- and third-order impacts of their decisions but I imagine that won't ever happen. It makes me sad because it's actually really interesting.
jodrellblank · · focus · HN ↗
- profit, if a system generates it, people will keep the system running.
- dilligence, usually driven by personal idealism, and unrewarded.
- legal or financial penalties, or insurance costs.
- it has collapsed to a temporarily stable state for now.
For another comment I was looking at the Grenfell Tower fire in the UK around 2017 and the people who lived there had been raising fire risks for years and the landlord (management organization) and the council had been ignoring them, and ignoring the fire department. The companies which replaced the cladding on the tower with flammable cladding were choosing the cheaper flammable option and pointing fingers as well. And during the fire, the fire service had never dealt with such a big fire and didn't have a truck with a long ladder, didn't have extended-breathing gear, had radio problems, water pressure problems from the local water company (who deny that).
This kind of backstory is typical for disasters, and for IT outages - and I've taken to believing that if something "should work" but wasn't tested recently then you should expect that it doesn't work. This is a common saying in backups (you need to test restoring), but it seems to apply everywhere. Backup internet connections that don't have enough bandwidth for the company to keep running. Disaster recovery sites that share resources with the production site. 'Disaster recovery' that recovered into a remote site, but they couldn't do CAD work remotely over their slow connection so it was still disastrous. Multiple power feeds but they were cross-wired so one failing still functionall took down everything.
If knowledge transfer "should be happening" but it's not critical to a job, or it's not profitable, or it's not legally required and audited, then it isn't happening. Subject to the dilligent idealist employee mentioned above who are temporary in the long view. Management's involvement seems not to arrange the larger system to effectively shoulder responsibility, but rather find ways to avoid personal blame while cutting costs beyond the point where everything that needs to happen keeps happening.
cromka · · focus · HN ↗
Same reason why MTA in NYC still operates subway using 100 y/o signaling hardware on most of the lines.
In a way, your comment and the responses you get is a perfect allegory to inexperienced vs experienced engineering.
sajithdilshan · · focus · HN ↗
I understand that way of thinking for a small business computer system. Not for a critical infrastructure. Also if people actually thought about like that we would still be in stone age, like why invent something new or use a new technology? Keep on using rocks to crack nuts and kill animals
sokoloff · · focus · HN ↗
pezezin · · focus · HN ↗
mitxela · · focus · HN ↗
Replacing the relays in old telephone switches is a problem because they use so many weirdly specific types of relays - but those systems are only found in museums now. I believe track control uses fairly ordinary DPDT, etc., relay designs.
jodrellblank · · focus · HN ↗
The designs for the electrified track switches were made by one company which was sold, re-sold, and then burned down and the designs lost, and there isn't anywhere else to buy them because nowhere else uses such old track design anymore, so not only is Toronto struggling to buy parts to continue electrifying the manual junctions, it's struggling to custom-make enough replacement parts to keep the aging electric switches working faster than they fail.
And they were using trolley poles to connect to the overhead power lines instead of Pantographs until 2017, 50-100 years after everywhere else, which meant a) they couldn't get enough power through them to run air conditioning, and b) they are more likely to fall off the power line and the tram stops and the driver has to get out and reconnect them, and c) their newer trams now have to have custom dual-power connections to go through older parts of the network, and d) the carbon shoes on the trolley poles wear out quicker which means the trams are dirtier and taken out of service for maintenance more often in the wet which is when people want to use trams more.
[1] <a href="https://youtu.be/HhQxNHrD6fA?t=2311" rel="nofollow">https://youtu.be/HhQxNHrD6fA?t=2311
cromka · · focus · HN ↗
Also, I happen to be familiar with NotJustBikes, watch regularly. I don't see this as the same kind of problem. What you explained is clearly BROKE. What we're talking about works just fine and migration to newer technology doesn't provide advantages outside easier maintenance. It can't be justifies by costs, either.
Spooky23 · · focus · HN ↗
They moved a booth or something and the compartment it was stuffed in was missed during the cleanout. The thing was working for at least 20 years and may still be there!
I worked with a client that had a cash disbursement system working on an ancient dBase 16-bit application. They had a very difficult to change process that required multiple transactions because the system couldn't represent the dollar amounts appropriately.
cube00 · · focus · HN ↗
Same reason they don't modernize health care infrastructure. It's too expensive, people die if they get it wrong and they get voted out of office for their troubles.
mitxela · · focus · HN ↗
idiotsecant · · focus · HN ↗
[dead]
sajithdilshan · · focus · HN ↗
Chernobyl is the perfect example to not use outdated old technology. Had they used the modern western technology at that time to upgrade their nuclear reactors the kill switch would have prevented the whole disaster instead of increasing the neutrons make the core a nuclear bomb.
Next time educate yourself with facts before making a fool out of yourself
lukan · · focus · HN ↗
But you are aware that this thread is about a reactor in the west, that "updated" their certified hardware to a VM instead running on windows NT?
mitxela · · focus · HN ↗
HPsquared · · focus · HN ↗
jodrellblank · · focus · HN ↗
Wikipedia's pages on Chernobyl say that construction started in 1972 and the problem with the control rods causing an initial spike of power was discovered in 1983 ?
[1] <a href="https://en.wikipedia.org/wiki/Chernobyl_Nuclear_Power_Plant" rel="nofollow">https://en.wikipedia.org/wiki/Chernobyl_Nuclear_Power_Plant
[2] <a href="https://en.wikipedia.org/wiki/Chernobyl_disaster#Accident_sequence" rel="nofollow">https://en.wikipedia.org/wiki/Chernobyl_disaster#Accident_se... (search 'Ignalina nuclear power plant')
philipallstar · · focus · HN ↗
I'm pretty sure constant upgrading would be more likely to cause disasters.
VBprogrammer · · focus · HN ↗
IG_Semmelweiss · · focus · HN ↗
For non-perishable things - i.e technologies, ideas, books, institutions - the expected remaining lifespan is roughly proportional to how long they have already survived
Time acts as a filter: what has already withstood a long stretch of disorder is more robust, so the longer it lasts, the longer it is expected to last.
The old nuclear software running on mainframes have passed the test of time. The new software, has yet to.
Nassim Taleb talks about this at length in his book, Antifragile.
carlosjobim · · focus · HN ↗
sgarland · · focus · HN ↗
Relevant: <a href="https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/" rel="nofollow">https://www.joelonsoftware.com/2000/04/06/things-you-should-...
elzbardico · · focus · HN ↗
DOS was a single task operating system. Once you proved such a system could run for days, months and years, there's no reason for it not to function 50 years later other than component failure.
throwaway2037 · · focus · HN ↗
dmos62 · · focus · HN ↗
Make it open-source, or don't buy without source.
booty · · focus · HN ↗
Or, more broadly, in the context of any situation where the software is closely coupled to a specific operating system and/or hardware.
Having the source code would have helped tremendously, but might not have been sufficient because of the hardware story and the regulatory approval factor.
jmalicki · · focus · HN ↗
esafak · · focus · HN ↗
jl6 · · focus · HN ↗
Some ideas:
Write it in a popular language/ecosystem, stick rigidly to well-defined APIs, use commodity hardware, flatten out any malignant cleverness, maintain documentation on why every part does the thing it does, and make the source code readily available.
This is based on working with some very old systems, and each point above is the opposite of something that made life harder.
inopinatus · · focus · HN ↗
I’d go for “universal and timeless”, which has meant C for several decades now. There is, I’d concede, a reasonable chance that Rust obtains that label in our lifetimes.
cozzyd · · focus · HN ↗
asa400 · · focus · HN ↗
Neither is popular when compared to for example Python or PHP, but they both have cultures that care about stability in the core runtime and the libraries. Most folks probably don’t know that about Erlang and maybe think it’s some new whiz-bang thing, but Erlang is incredibly stable and well supported by a dedicated team that has been doing it for years and years at this point. I don’t know if Erlang will be more or less popular in 20 years but it 100% will be around and be receiving updates, I would put money on it.
very-old-sw · · focus · HN ↗
brudgers · · focus · HN ↗
jl6 · · focus · HN ↗
brudgers · · focus · HN ↗
badsectoracula · · focus · HN ↗
brudgers · · focus · HN ↗
Today’s landscape is shaped by the pandemic. In between, there were many years of impracticality.
OCTAGRAM · · focus · HN ↗
ninalanyon · · focus · HN ↗
Then define the version control system and the build process, specifying the dependencies, and so on.
Think about any opaque blobs in the system and try to eliminate them so that you have plain text source code so that no tools are needed to read the code.
Make sure that the build process runs entirely locally and never fetches anything from outside.
Simplify everything, use only tools and languages that are well understood and supported.
The real problems are not strictly technical but social: how do you prevent loss of the code, the tools, the specification, how do you maintain the expertise needed to maintain it. How do you ensure that all those things that are obvious to you now are written down in all their gory detail so that your great grandchildren will not apply their new and different preconceived ideas to the system?
Document all this on paper as well as electronic storage, make sure that version ids are recorded on every page as well as being available to the user of the machine or program.
In the industry in which I worked for the last thirty years of my career it was not uncommon to have things come back for repair after fifty years use and to be able to consult the original drawings and bill of materials so that exact replacement parts could be made.
rrr_oh_man · · focus · HN ↗
ninalanyon · · focus · HN ↗
It takes a long time to design and a lot of material to make a big transformer and they last for decades. They are critical infrastructure so when one fails you want it replaced or repaired quickly but they are too expensive (millions of dollars/pounds/euros) to keep a spare unit idle for decades and the lead time for a new large power transformer might be six months or even longer. So repair makes sense, especially if it can be done on site because moving a big metal box full of oil, steel, and copper that weighs hundreds of tonnes is a major logistical exercise.
This isn't something that can be done by a company that 'moves fast and breaks things' and disappears next year.
throwaway2037 · · focus · HN ↗
There must be some extremely salty machinists that get bizarre part requests after breakage for some transformer from 1950. That could make a very cool YouTube video series: Following these machinists and repair people as their repair very old transformers.
ninalanyon · · focus · HN ↗
But of course many such transformers are connected to equally old generators and they are a bit more challenging as far as making replacement parts is concerned, huge turbines for instance.
ndsipa_pomu · · focus · HN ↗
Though people often decry it (due to the many, many footguns), writing something in Shell/BASH will make it trivial to move to newer machines.
cozzyd · · focus · HN ↗
very-old-sw · · focus · HN ↗
ChatGPT says, "likely to need manual conversion". So no Fortran hasn't been stable. In another post I showed that C hasn't either.
brudgers · · focus · HN ↗
If it needs to run for fifty years, specify hardware that has a long support cycle such as Mil-Spec.
That’s why the Z80 was around for so long and why so many companies in the 80’s and 90’s still deigned around it. (1)
If you let programmers drive system design, winding up with an “Amiga” in your certified design is a more probable outcome…
(1) there’s a moderate chance that new hardware that can run Z80 code will be around fifty years from now.
steveBK123 · · focus · HN ↗
You in a lot of ways have to respect the ability to have done this in the first place, compared to todays slopware which manages to break within 1-2 mandatory OS update cycles.
pianopatrick · · focus · HN ↗
Maybe follow that. It's 2026 right now. What way of writing code would have worked 50 years ago (1976) that still works today?
Well, C, SQL and Lisp were all around 50 years ago and still exist today.
In terms of hardware, 50 years ago there was intel 8080. apparently code for that can still work via emulation today.
So if you wrote C for low level, Lisp for high level, and compiled the software to run in an Intel 8080 emulator, that combo would likely still work in 50 years.
veqq · · focus · HN ↗
OCTAGRAM · · focus · HN ↗
Then it becomes impossible to introduce database connection pool. Well, probably possible, but in single-process multithread server this is BSc grade job, and in multi-process server this is PhD grade job. libmysqlserver and others maintain some context near to the socket, in opaque way. Hard to pass context between processes. At least, hard to return used connection back to pool in main process. Proxy is also not an easy walk.
On client side although Windows NT had POSIX layer, and XP/2003 still had Interix SFU. But Windows Vista broke SFU. But then Vista has got SUA. But SUA was not binary compatible, required recompilation. And as of Windows 10 there was surely no SUA. Was it dropped in Windows 8? Windows 10 has got WSL eventually, but there was a gap between SUA and WSL. And deploying Windows application with SFU, SUA or WSL part is not easy walk. Writing installer is MSc grade job.
Then comes iPhone OS and Android. They are POSIX OSes. Kind of. But spawning external processes is prohibited or not desirable. This is what was blocking LaTeX adoption on mobiles.
pianopatrick · · focus · HN ↗
That may not work for network connected software with lots of requests per second. But such software did not exist too much in 1976 either as there was not very much networking going on.
jasomill · · focus · HN ↗
As for networking, both the ARPANET and Ethernet predate 1976, though neither were ubiqutitous and most high-volume networking would have been mainframes and related hardware connected via leased lines.
chasd00 · · focus · HN ↗
OCTAGRAM · · focus · HN ↗
IBM SOM executes on Windows 10. I have checked Visual Age for C++ Direct2SOM extensions, OpenDoc for Windows. Very good. 32-bit i386, but otherwise runnable, usable.
And Java is hard to build, hard to execute on modern Java toolkit. Java seemingly had no List, and authors made their own List, but when Java also got its List, that breaks the build. When building problems are resolved, runtime problems come. Original Java was seemingly fine with Property key being object, but modern Java only wants strings. And Property-based dictionaries are all around. PMtW is about building VMT, and there is multiple class inheritance in PMtW model, not matching Java's comparably limited OOP. So PMtW is building dictionaries for methods to support what is described in book, and foundational Java class is malfunctioning.
I did not finish this road, don't know so what does it take after all to run Java code from 1998 on modern Java toolkit. So far looks pathetic compared to Win32 programming.
throwaway2037 · · focus · HN ↗
OCTAGRAM · · focus · HN ↗
I thought "but what is the problem to generate EXE with relocation?" and tried GCC GNAT (from 2017), and GCC said no. EXE and DLL formats are very much the same, but GCC is completely unable to generate relocatable EXE. A very suprising discovery. More recent toolkits became aware that adding relocation to EXE is not a rocket science, just do the same like in DLL. But these recent toolkits may call APIs that HX DOS Extender does not support yet.
jasomill · · focus · HN ↗
But Windows 95 would be a poor choice, as you'd be stuck emulating a bunch of very specific aspects of both Windows (non-Unicode APIs, 16-bit application support, etc.) and the PC archictecture (BIOS, A20 gate, etc.) that exist only to maintain backwards compatibility.
If Windows is a requirement, you'd be better off building against something like the subset of Win32 APIs that has been stable since Windows Server 2003 and ideally testing against Wine, contributing patches as necessary.
If it were me, though, and it was something that required a general-purpose, non-realtime OS, and wasn't so performance-sensitive as to require deep integration with platform-specific APIs, my first thought is to target a Linux-compatible subset of FreeBSD, which should be enough to get you most of POSIX and then some, plus a full-featured GUI if necessary, portable between two open-source OSes that run on a wide variety of hardware.
esaym · · focus · HN ↗
justin66 · · focus · HN ↗
NOTE ON JAVA SUPPORT. THE PRODUCT MAY CONTAIN SUPPORT FOR PROGRAMS WRITTEN IN JAVA. JAVA TECHNOLOGY IS NOT FAULT TOLERANT AND IS NOT DESIGNED, MANUFACTURED, OR INTENDED FOR USE OR RESALE AS ONLINE CONTROL EQUIPMENT IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL-SAFE PERFORMANCE, SUCH AS IN THE OPERATION OF NUCLEAR FACILITIES, AIRCRAFT NAVIGATION OR COMMUNICATION SYSTEMS, AIR TRAFFIC CONTROL, DIRECT LIFE SUPPORT MACHINES, OR WEAPONS SYSTEMS, IN WHICH THE FAILURE OF JAVA TECHNOLOGY COULD LEAD DIRECTLY TO DEATH, PERSONAL INJURY, OR SEVERE PHYSICAL OR ENVIRONMENTAL DAMAGE. Sun Microsystems, Inc. has contractually obligated Microsoft to make this disclaimer.
Also:
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.
It would take a whole lot more context to make this somehow comforting. :D
SenHeng · · focus · HN ↗
This is this fascinating 6 part documentary about the Chernobyl incident explaining how it was caused by bad control rods. But the main point is that control rods prevent the facility from going boom, so be glad it’s not the AmigaOS emulator on a NT machine handling it.
dh2022 · · focus · HN ↗
the__alchemist · · focus · HN ↗
rkagerer · · focus · HN ↗
If it ain't broke, don't 'fix' it.
mikeweiss · · focus · HN ↗
dahart · · focus · HN ↗
To put this in perspective, NT 4 was released in 1996, 11 years before 2007. That’s roughly the same as someone running Windows 10 today, which a lot of people still do. The Pentium 1 was only 14 years old at most. These parts of the system shouldn’t be surprising.
The AmigaOS and software from the 80s are of course the older more interesting bits, but for critical infrastructure and safety, shouldn’t we expect and design for our hardware and software to last a long time, and not try to keep up with tech fads every decade? I feel like the main problem isn’t hardware or software that’s old, but that there wasn’t a longevity plan.
It’s always been an interesting question how to write software that will last a hundred years. Maybe with AI this is the first time in history that planning to port & upgrade to new hardware every 5-10 years seems totally reasonable.
driverdan · · focus · HN ↗
While true the situation is different. Hardware and software moved a lot faster in the 90's and early 2000's. Everything has matured, is far more standardized, and moves more slowly now. Hardware from 11 years ago when Win10 was released isn't that different from today's hardware. Same goes for Win10 and Win11.
dahart · · focus · HN ↗
throwawaysoxjje · · focus · HN ↗
Windows 2000 (NT 5.0) was released in 1999. Vista was NT 6, and released in 2006.
dahart · · focus · HN ↗
It wouldn’t make a huge difference to me if 6 was released either 6 months earlier or 6 months later. In 2007, NT4 was only 1 major version behind for most people; adoption takes time. The broad timing of major versions being 4-5 years apart didn’t change until Windows 11, and we don’t know if that’s an outlier yet, but we do know that Microsoft has been changing the Windows release strategy, with more frequent updates. <a href="https://endoflife.date/windows" rel="nofollow">https://endoflife.date/windows
throwaway27448 · · focus · HN ↗
collingreen · · focus · HN ↗
vkazanov · · focus · HN ↗
Coincidently, that's where my father was working as a programmer until the shutdown of the plant.
Anyways, he was maintaining a bunch of systems related to collecting data from environment monitoring sensors around the plant. In mid 2000s or so he showed me some data collecting machines using what looked like DOS text UI that mentioned being written in Leningrad, 1989 or 1988.
The software was running in an emulator on Linux, which my father used to replace original x86-compatible machines runninh dos.
Pretty sure thr whole thing was running for quite a while since my family moved elsewhere.
jasomill · · focus · HN ↗
I'm curious what changed in Windows 2000 that would have broken the emulator, though, as direct hardware access in any version of Window NT requires a driver, and I don't recall any major breaking changes to the driver architecture between NT 4 and Vista.
nycdotnet · · focus · HN ↗
natas · · focus · HN ↗