As I retire, my goal now is to release 40+ years of source code(dunfield.themindfactory.com)
dunfield.themindfactory.com
As I retire, my goal now is to release 40+ years of source code
https://dunfield.themindfactory.com/dnldsrc.htm
323 comments
I'm taking a look through DOSUTIL.ZIP and I love all these simple elegant C programs. A lot of these programs somehow only manage to have 1-2 standard c #include lines. How often do you see that? I also love how, out of 20,000 lines of C code, there only exists 24 #if statements. This is how C programming was meant to be. Reading codebases like this is one of the things I drew inspiration from when I started working on Cosmopolitan Libc.
From STYLE.TXT:
- True=7 -
Having lots of very low-level code and hardware experience, I developed a bit
of tendancy to "minimize what can go wrong at low levels" - C treats 0==FALSE
and !0==TRUE - most people use 0/1 ... but thats only 1 bit "difference". I
sometimes use 7=TRUE as thats 3 bits with no more chars to type (and of course
foolish as such a 1 bit hardware error would "trash" pretty much any system -
but I do tend to be a creature of habit :)
I have never heard of this convention before! Was "random bitflips messing with your conditionals" a common problem back in the day?I regret not archiving my early code for good so much. First non trivial program (a snake game). First utility in assembly. First device driver (for a Centronics printer). That perpetual calendar in Pascal for a uni assignment, written with enormous hangover within an hour and still my only program written entirely bug-free to the date. All seemed trivial and not worthy of preservation then but in the end I have no code surviving from before late 1990s.
Take good care of your code kids!
Take good care of your code kids!
Worth reading the Author's recollections of his almost dying in 2019:
https://dunfield.themindfactory.com/2019.htm
https://dunfield.themindfactory.com/2019.htm
I love this. It has crossed my mind more than once to do something similar at some point in the future.
This is a bit like receiving an inheritance from your grandparents. There will be true gems and novelties mixed in with a lot of knick knacks and rubbish. But the totality of that tells a story of real people living rich and interesting lives that only a handful of highlights would not do justice to.
This is a bit like receiving an inheritance from your grandparents. There will be true gems and novelties mixed in with a lot of knick knacks and rubbish. But the totality of that tells a story of real people living rich and interesting lives that only a handful of highlights would not do justice to.
This is really cool. It seems very 'pure' in comparison to what my code history will look like. In 2040, a lot of my code will show how I used a bunch of libraries and frameworks that nobody uses 'these days'. This doesn't seem good or bad, just a reflection of the times.
I think his most impactful utility is ImageDisk: used to archive floppy disks from many different types of computers using IBM PCs.
Much of the old software found on bitsavers.org (and archive.org) was recovered using this utility.
Much of the old software found on bitsavers.org (and archive.org) was recovered using this utility.
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://garethrees.org/2013/06/12/archaeology/>
You've made a contribution to the hoard that someone will benefit from, whether tomorrow or in 5,000 years.
You've made a contribution to the hoard that someone will benefit from, whether tomorrow or in 5,000 years.
Very nice. Hope you enjoy your retirement.
----
One last bugfix before retirement (this is a joke):
I wanted to look at micro-cad it generates a 404.
URL: https://dunfield.themindfactory.com/dnld/sc/MICROCAD.ZIP Expected: I can download the .zip file.
----
One last bugfix before retirement (this is a joke):
I wanted to look at micro-cad it generates a 404.
URL: https://dunfield.themindfactory.com/dnld/sc/MICROCAD.ZIP Expected: I can download the .zip file.
This is brilliant.. It's so interesting too because over the years I've built up a few "Bibles" that I always need on hand when working in a particular language or even just automation, I've learnt some very good organising processes (from HN to be honest), I never thought to 'release' them as they feel quite personal and specific for my mental process.
Looking through some of these though, I think I'm inspired. Super cool idea, I would donate to the retirement project financially to say thanks if possible.
Looking through some of these though, I think I'm inspired. Super cool idea, I would donate to the retirement project financially to say thanks if possible.
Not ready to retire, but I did something like that a few years ago with the previous generation of code I wrote: https://www.kmoser.com/sourcecode/
I like to download images of old programming CD's from archive.org, like Programmers Heaven[1] for example. All small and interesing programs/tutorials to look at.
[1] https://archive.org/details/Programmers_Heaven_InfoMagic_Mar...
[1] https://archive.org/details/Programmers_Heaven_InfoMagic_Mar...
Another link from DDS is Dave's Old Computers http://dunfield.classiccmp.org/ , a nice treasure of old pc reviews and images, (Left, right, front and back). This is amazing as I've been working on making 3D assets for a project of mine.
Any one catch the out of memory comment?
# we require more vespene gas; unix consensus; kNtErrorOutofmemory;
# we require more vespene gas; unix consensus; kNtErrorOutofmemory;
I like how he puts his email as a captcha https://dunfield.themindfactory.com/contact.htm
And slyly tells you the “password” to get past his spam filter
And slyly tells you the “password” to get past his spam filter
elvis70 are you Dave Dunfield (the source author)?
[It might be more a ShowHN if you are?]
I'm interested if all of the code is self-written? If you wrote any of it under contract and so had special terms to allow you to eventually release it? Which piece of code there that you are most proud of and/or gonna most useful?
[It might be more a ShowHN if you are?]
I'm interested if all of the code is self-written? If you wrote any of it under contract and so had special terms to allow you to eventually release it? Which piece of code there that you are most proud of and/or gonna most useful?
Quick question because I can't actually find any info on it, but what license are these released with ?
This is great - add them to github!
Not using a standard license but rather a bespoke one is a major legal roadblock.
The presence of use restrictions does also disqualify it from being Open Source (OSI trademark) or Free Software (GNU/FSF).
If a standard license was adopted instead, such as MIT (permissive and I believe well-aligned with the intent of the author), then any concern would go away.
The presence of use restrictions does also disqualify it from being Open Source (OSI trademark) or Free Software (GNU/FSF).
If a standard license was adopted instead, such as MIT (permissive and I believe well-aligned with the intent of the author), then any concern would go away.
I downloaded RINGSW.ZIP to check it out.
> This file is NOT included in the demo version of this product.
> For more information, please contact Dunfield Development Systems
I admire the effort, but if you're not going to make the source freely available, what's the point? What is somebody going to do 100 years from now when they get your .zip off archive.org and you're long gone?
> This file is NOT included in the demo version of this product.
> For more information, please contact Dunfield Development Systems
I admire the effort, but if you're not going to make the source freely available, what's the point? What is somebody going to do 100 years from now when they get your .zip off archive.org and you're long gone?
At 70, I do not think anyone has anything to learn from my 40+ years of code. I envy Mr Mindfactory's confidence.
We need a new GPL that includes a clause that prohibits training any sort of AI or statistical model on it, unless the output of that model is inheriting the license.
Otherwise AI will be the end of anything open - which we can already see in stackoverflow now.
Otherwise AI will be the end of anything open - which we can already see in stackoverflow now.
Put it on github! You might actually get people to fork it and continue working on it.
THere are reasons not to host on GitHub . There are workarounds to hosting on GitHub Google words why not put software on git hub Finds https://sanctum.geek.nz/why-not-github.html OR https://www.wired.com/2015/06/problem-putting-worlds-code-gi...
This code is enjoyable to look at - it's clean, well-documented, and clearly a work of love. I like all the small utilities that help the author accomplish a bunch of goals.
I wonder if the code manages be so clean because it's only aimed at a single compiler and a single platform. Multi-platform C code tends to be messy with preprocessor goo.
I wonder if the code manages be so clean because it's only aimed at a single compiler and a single platform. Multi-platform C code tends to be messy with preprocessor goo.
[deleted]
This is sort of unrelated OP, but did you ever write a follow up to this post? https://dunfield.themindfactory.com/2019.htm I’m very curious how well you’ve improved since then. -
Good idea. I should keep better track of all the stuff I've written...
Very cool to see such a long history, were the different projects you worked on related to what was going on at your job at the time?
Hate to say it but I remember when this stuff first came out. Thank you for releasing the code. Brings back memories.