7 ms·
Dusk OS: 32-bit Forth OS. Useful during first stage of civilizational collapse
- Emily56 3y ago[dead]
- asdfghjkl123456 3y ago[flagged]
- tired_star_nrg 3y agoOh I’m so glad someone has already started working on something like this. This has been one of my biggest concerns for a while Edit: Are there any easy entry points to this ecosystem for people interested in the concept but not familiar with the details? Like a competition to see who can get this up and running some set program the fastest on microprocessors found in the trash/recycling? Or what’s the most unexpected device people can get this running on?
- pizzapill 3y agoI too was losing sleep over the tought that we would only have TempleOS after a catastrophic collapse of civilzation.
- throwaway7868 3y agoAfter TempleOS and SerenityOS and UnityOS, I am going to name my attempt SchismOS. I am not looking for users, only people willing to commit.
- jacquesm 3y agoAn Arduino would give you a good basic idea of the lowest levels of computing that are still reasonably accessible. Otherwise: PIC chips and repurposed smartphones.
- metalforever 3y agoYeah I was actually thinking about it too.
- thevania 3y agovery good timing of the post, second season of Foundation just started streaming :D
- hillytop 3y agoThe rationale is silly, but the project itself looks interesting. No need to tie it in to civilization collapse though, an odd marketing angle really.
- I_am_uncreative 3y agoYeah, this is an interesting project, but the author's belief that society is going to completely collapse by 2030 is... odd.
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- ethbr0 3y agoIf society doesn't collapse by 2030, who's harmed by this project existing? And if you're going to pick a date, why one over another? +7 years seems a reasonable goal to make progress towards
- CBarkleyU 3y agoBy this project? No one, probably. By this "society is doomed, the world is gonna collapse" type of thought? Many people. Loads of people for a myriad of reasons get conned into this dillusion and either (a) stripped out of their hard earned cash or (b) spiral further and further into a dillisuonal state where they either hurt themselves or people around them. Also it's effin goofy. Nerd CEOs building their underground fantasy post apocalypse shelter, thinking that not only that the society will collapse I their life time into a Fallout-ish World, but that their shelter is going to be of big help. But the goofyness is just that, it's the promotion and prophecies that are harmful.
- jacquesm 3y agoAnd at a slightly higher level: the likes of Thiel and company buying up remote property. I wonder if they have figured out how they're going to get there when they have to. In their worldview NZ is probably next door but when the lights go out getting there is going to be a serious challenge, probably much more risky than simply staying put wherever you find yourself.
- josephg 3y ago> Dusk OS doesn't have users, but operators. What's the difference? Control. You use a phone, you use a coffee machine, hell you even use a car these days. But you operate a bulldozer, you operate a crane, you operate a plane. You use Linux, you use Windows. You operate Dusk OS. There’s something I adore about the aesthetic of this project and how this is written. I’ll probably never run the code myself, but I’d watch this show on Netflix in a heartbeat.
- jacquesm 3y agoIt's close to TempleOS in that sense.
- johnklos 3y agoI love the ideas behind this. I think too many people are more than happy to jump on the bandwagon du jour without spending a moment to consider how much of the world can't, for some reason or another, participate. Running NetBSD without languages like Go and Rust clearly shows that compiling and running portable software is perfectly doable. If the Internet should collapse, just having a drive with a full set of NetBSD sources plus all the tarballs downloaded for source compiles in pkgsrc would make it possible to re-bootstrap dozens of targets. That's not possible when we treat the world as a fast amd64 with many gigabytes of RAM. I'd love to see how far Dusk OS can go.
- throwawayadvsec 3y agowhat advantages would this have over something like IDK, debian?
- hutzlibu 3y agoThis OS runs on garbage electronic, you would not suspect, that they have a CPU in the first place. Debian needs a little bit more.
- knowledge-clay 3y agoIt's much, much, much simpler and more compact. The core system is about 8000 lines of code. The C compiler is 1400. Its memory footprint is extremely small (1MB to have a C compiler running on bare metal in the PC architecture). From here, you have a system capable of building C programs as well as bootstrapping itself. This is level of simplicity is staggering and empowering -- it is completely reasonable to read and understand every single line of code in Dusk OS. This would be incomprehensible in something like Debian.
- qwytw 3y agoHow are these advantages in a post-apocalyptic world over any other OS that most people could actually use and do useful things with?
- fb03 3y agoI think you are missing the point. You might not have access to any modern hardware + modern, multi MLoC operating system medium/ftp server/whatever to boot in a post-apocalyptic world. This would at least provide some level of computation on simple devices. Even if you do have access to a modern computer which is not fried, you still need a whole bunch of devices, mass storage stuff and mains electricity to be able to boot it, and then on to find and boot some software. The OS above would run in things like graphing calculator cpus, 8-bit video games and other "almost non-computer" devices which actually have simple but useable CPUs. It would be better than going back to the 1900s.
- 3y ago
- natas 3y agoshould really use apl instead of forth.
- jacquesm 3y agoMuch larger hardware requirements.
- actionfromafar 3y agoAnd brain requirements. Forth is frustrating to me, but APL is just all too much.
- jacquesm 3y agoAPL is super powerful, I got to the level where I could 'read' (decode) it but I've never managed to get proficient at a level where I could write a significant chunk of code in it. Say a line or two ;) FORTH is extremely easy to get into, a very powerful metaphor that has a ton of parallels in other languages, even if you don't realize it. There are strong connections between FORTH, LISP and shell programming languages to the point that they are in a manner of speaking different ways to express the same thing. Of those three I think LISP is the most complete and feature rich, and FORTH probably the least because it is much more barebones. But that upside of that is that it also requires absolutely no supporting infrastructure, the most basic access to a machine at the hardware level is enough to bootstrap to a usable system in an absolute minimum memory profile.
- supazek 3y agoNeat project. I tend to believe things like this will be more useful 50-100 years post-collapse though. And it seems to me the post-apocalyptic computer niche will be more likely filled by the vast quantities of RPis left in junk drawers rather than the dozen or so computers that will have been prepped with something like this.
- febusravenga 3y agoPost apo Graphikos - list of addresses of drawers with unused rpis to be used to save humanity by playing doom and block ads in non existing internet, seems like good good artifact for post apo Indiana Jones Where can I enlist my drawer?
- idiotsecant 3y agoStrange premise but cool project. I think during a civilizational collapse and after there will be plenty of computers we could run plain old Linux and windows on.
- I_am_uncreative 3y agoYeah, in this world, I'd imagine we'd lose electricity before we lose access to computers.
- rhplus 3y agoThe list of supported devices includes Apple IIe and Sega Master System, which are positively rare artifacts today compared to the glut of smartphones, laptops, smartwatches and TVs. The simple old stuff is hard to come by compared to the integrated modern stuff. To put it in perspective, a rough estimate is that there were 20 million Sega Master Systems ever sold worldwide, compared to 20 billion (and counting) smartphones.
- BasedAnon 3y agoeven if those machines are all you come across, they already have operating systems available for them, with corresponding software that's already been ported. I have a PS2 with a BlackRhino Linux LiveDVD mostly because it's interesting, but I don't anticipate ever having to use it for anything important.
- MagicMoonlight 3y agoThis is like TempleOS but for collapsists
- jacquesm 3y agoTempleOS is at the rocket science level compared to this. But a 32 bit FORTH implementation may well have embedded uses in the present (though, in some circles building something like this is more like a rite of passage and anybody able to use it properly is likely able to re-implement it, possibly better).
- jacquesm 3y agoAfter civilizational collapse you won't need computers, you'll need bows, arrows and basic agricultural tools that don't require motors. Forget about electricity or anything requiring it, that will be the least of your problems. Assuming there is still sunlight enough to keep photosynthesis running. If not, you may want to find some place high. And if you are going to do something like this then you really should make it entirely self hosting and forget about networking and communities and such because by the time you need it those will all be gone and the best you'll be able to do is sneakernet. I hope your USB sticks will be EMP proof... papertape?
- baybal2 3y ago[dead]
- anon7725 3y agoLight at night to work was a major achievement for humanity and there are still many lacking it reliably today. It would continue to be useful post collapse. Portable solar panels + lithium battery banks would be quite useful indeed.
- jacquesm 3y agoThey will last a few hundred cycles and then you're done. Anything that you rely on in a situation like that should be 100% maintenance free and should not rely on technology more complex than what you can make today in your garage with hand tools. Go over that level and it will just buy you a little bit of comfort but it won't last. Candles: yes. Solar panels+batteries+inverters: forget it. Even a basic charge controller would be a major feat of engineering under those circumstances. I have some ideas on how I'd make that work if I really had to but I'd probably be too busy defending myself from marauders and taking care of my crops to be able to work on it... What's interesting here is that plenty of the stuff that we take for granted is absolutely state-of-the-art engineering and there is no way that you'd be able to continue to rely on it for more than the available stock that you could still lay your (likely very grubby) hands on for spares, and even those have a limited shelf life. Bootstrapping to the present day level of technology where working semiconductors can be taken for granted will take a long, long time. Even if you have the knowledge. Assuming that enough of the eco-system survives that you will be able to survive and procreate I'd estimate at least several generations, if we didn't entirely regress to some more primitive state. Mad Max would be an amazing level to bootstrap from, having working computers means you're focusing on the wrong thing. Electric light might be a good idea, but personally I would not count on LEDs or bulbs to last long enough in quantity and if you're going for batteries keep it simple: lead acid flooded cells (You'll need some basic chemistry tools and materials to make sulphuric acid, but that's probably doable).
- fideloper 3y agoTIL not only that this is an idea that's out there, but it's a genre (multiple flavors). Neat.
- m3kw9 3y agoSo an OS that’s lets user operate very close to metal/driver level? I still can’t imagine what the os will look like vs regular Linux
- jacquesm 3y agoIt doesn't have a GUI so it doesn't 'look' like anything other than a way to define new FORTH words and some basic low level drivers.
- knowledge-clay 3y agoIt does have a GUI. Not much is written for it yet, though => https://git.sr.ht/~vdupras/duskos/tree/master/item/fs/doc/sys/screen.txt?view-source#L1 https://git.sr.ht/~vdupras/duskos/tree/master/item/fs/doc/sy...
- jacquesm 3y agoThat's not a GUI. That's barely a display driver.
- amelius 3y agoApple won't allow it.
- HeckFeck 3y agohttps://git.sr.ht/~vdupras/duskos/tree/master/item/README.md https://git.sr.ht/~vdupras/duskos/tree/master/item/README.md The thought of a solitary hacker somehow saving our electronic heritage with nothing but a Sega Master System brings a grin to my face.
- jl6 3y agoI like the idea of exploring what it means to optimize a system for simplicity. But the “collapse” backstory seems silly and redundant, and dare I say it reminiscent of the kind of prepper that relishes the prospect of apocalypse, just so that all their prepping pays off.
- nbow 3y agoSeeing civilizational collapse or decline as far fetched is a direct result of your privileged position in the world.
- daxfohl 3y agoIs a Minecraft port possible? That could measure the post civilization applicability.
- kristopolous 3y agoBased on the unavailability of the website now, I'll hold my reservations about their claims.
- timbit42 3y agoThey're expecting web server loads to be much lighter during the first stage of civilizational collapse.
- 29athrowaway 3y agoIf civilization collapses and you live on your own, you will not have much data to store, organize, etc. Therefore a computer won't be that useful to you. What will be a priority to you will be to survive, which essentially means how to get drinking water and nutrition, as well as territorial control and self defense. A computer will be useful to you if you become a ruler that is responsible for the census, taxation, etc.
- bluescrn 3y agoHaving a large collection of offline reference books, maps, and music/movies for entertainment would still be desirable for those who can find a way to power/charge a device. Rather than building a 'collapse OS', maybe just hoard some reference material, and have a plan (and multiple backup plans) for powering/charging devices in the absense of a power grid or fuel for generators/vehicles. I don't think anyone's going to be doing much coding in a post-collapse world, let alone tinkering with the internals of an OS
- 29athrowaway 3y agoMaps will be useful but after EMPs and nuclear winter, consuming maps on a powered device will be impractical. Paper maps will be far more practical. First targets going down in a global war will be GPS, Galileo, Glonass, etc. so all those systems will go offline right away. All power will go to water pumps, heating, air conditioning, mining, etc.
- notanothereric 3y agore: maps — I accumulated a lot if regional and national maps ( thank you AAA!!) but they do go out of date. Major challenge with prepping is uninterrupted vigilance maintaining your supplies… which likely is an Amazon marketplace business in and of itself… lol.
- 29athrowaway 3y agoThere are apocalypse shelter services for rich people that take care of this for you.
- TheSwordsman 3y agoWayback Machine snapshot for anyone else getting the "exceeded bandwidth" error: https://web.archive.org/web/20230716210954/https://duskos.org/ https://web.archive.org/web/20230716210954/https://duskos.or...
- asdfghjkl123456 3y ago[flagged]
- notorandit 3y agoI am a dirty guy!
- dark_star 3y agohttps://web.archive.org/web/20230716210954/https://duskos.org/ https://web.archive.org/web/20230716210954/https://duskos.or...
- asdfghjkl123456 3y ago[flagged]
- avidphantasm 3y agoAt least there will be no throttling due to cloud costs after the collapse.
- asdfghjkl123456 3y ago[flagged]
- asdfghjkl123456 3y ago[flagged]
- avidphantasm 3y agoGlad it uses “almost C” instead of “almost C++”. There is zero chance I could debug compiler errors for modern C++ without the web. With C and K&R, I have a fighting chance.
- born-jre 3y agoI have read about Collapse OS (I think it is because it was about a Forth-based end-of-world OS) a while back, and it has made a lasting impression on me. This might be the reason why I enjoy easy bootstrappable/self-contained toolchain setups and single static binaries. I remember thinking at the time that this idea might be too far-fetched what is more practical approach to this, and remember I also went down the rabbit hole of exploring some Sugar OS or Kiwi something that was used to bring Wikipedia and Stack Overflow to African schools or something similar. This might sound a little out there, but imagine a world where even if npm/cloudflare/AWS goes down or if there's a world war and intercontinental fiber connections are attacked, everything keeps working. In a strange way, I'm incorporating these ideas into my current project[0]. Thank you weird project, which might have had a much deeper impact on me subconsciously. [0]: https://github.com/temphia/temphia https://github.com/temphia/temphia
- notanothereric 3y agoI for one look forward to the post computational era … no monthly cloud storage fees, no data backup anxiety, no cookie tracking pop-ups to click ‘yes’ to … back to when I had to remember where I was driving and when the destination would close …
- bsaul 3y agoI've been thinking a out civilization collapse for a while, and to me the greatest think anyone should be building is simply a computer with wikipedia installed, running on solar batteries (or something even more durable). Meant to be working for a 100 years
- guestbest 3y agoIf you’d rather development to last 100 years, may I suggest GNU Hurd?
- jacquesm 3y agoI'd suggest printing it out on acid free paper and guarding it with your life.
- throwaway32908 3y agoYou've probably already seen it and it doesn't fit most of the requirements but some might be interested to see: https://en.wikipedia.org/wiki/WikiReader https://en.wikipedia.org/wiki/WikiReader
- sremani 3y agoFor Duck OS to shine, you really do not need a civilizational collapse. Consider a world that existed in 1960s, where computers were not affordable by a median family and only Universities and Research institutions can have them. We can get into that world with a dash of hyper-inflation and war in wrong places. Semi-conductor industry has complex supply chains, and if cost of bunker fuel shoots to say $500 dollars a barrel, we are done with transcontinental shipping. There are few ways of getting there -- I know Civilization Collapse has dramatic effect and is the right marketing.
- jacquesm 3y agoA dash of hyper inflation and some war in the wrong places and you'd be very, very lucky indeed if you ended up in 1960. In that case you'd be in 2023 in five more years. I think the chances of shooting way past that are much higher than being able to stop the slide in 1960. But I like your optimism.
- jacknews 3y agoThese kind of self-contained start-from-scratch projects are comforting, and can be intellectually interesting, but it would make much more practical sense to me to spec out some simple hardware than can run linux, or a porting toolkit to make it easier to run on phones etc.
- hakfoo 3y agoThe problem is that even if you have a perfectly preserved box of modern cell phones, they're intentionally not really hacker friendly. Half the time, you have a locked bootloader, and even if you don't, you probably need a bigger machine to stage and load new software. Even when you're done, you're stuck with a form-factor that's of limited alternate utility. Phones make a decent media player or ereader, but they're not really useful for many use cases. I'd expect, once you've got a few devices up and capable of preserving, say, human knowledge as defined by Wikipedia, you start looking for devices that are more GPIOs and less screen-and-storage. Access to something Arduino-esque could be a big force multiplier, because it allows process automation with relatively low manufacturing skill. Even something like an old mechanical clothes washer timer-- open and close a few relays over time, maybe respond to a few sense switches for emergency stop if the tub leaks-- requires a fairly high degree of mechanical tolerances to get right, or you could implement the same functionality in a few dozen lines of code for an Arduino-esque device, as long as you have the GPIOs. Phones are hardly amenable to that-- you try soldering a big relay to a tiny BGA processor pin. Some of the documentation seems also focused around the idea of salvage at the component level. This may be a more feasible option too-- when you start to look beyond "computer/phone devices", there are a lot of embedded Z80s and EEPROMs that you could desolder and press into service, and they represent a lot more of a consistent baseline than 400 chips that are all theoretically ARM family, but have wildly different memory maps, peripherals, and varying instruction sets.
- jacknews 3y agoRight it should be mandatory for phone makers to release their linux changes/drivers etc when they retire devices from sale.
- BasedAnon 3y agoi don't see the point of this, seeing current operating systems will still exist and there will be more of a desire to get those running and supply the hardware for them, than this niche OS.
- Drblessing 3y ago> "The first one is when the global supply chain is broken and the second one is when, in a particular community, the last modern computer dies." Can someone please explain to me how modern computers will die? I don't see how solid state electronics will break, will they eventually rust in 100 years or something?
- febusravenga 3y agoNot my area, but at least "big" electronics will probably die because of whiskers that grow until you've got raandom shorts in circuits. Not sure if integrated circuitry suffers from this or other similar phenomenon to. https://en.wikipedia.org/wiki/Whisker_(metallurgy) https://en.wikipedia.org/wiki/Whisker_(metallurgy)