<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Luiz de Milon on Medium]]></title>
        <description><![CDATA[Stories by Luiz de Milon on Medium]]></description>
        <link>https://medium.com/@kori?source=rss-d19c7359b5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GA8vtHEYT583HiqcA3Lfvg.jpeg</url>
            <title>Stories by Luiz de Milon on Medium</title>
            <link>https://medium.com/@kori?source=rss-d19c7359b5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 23:39:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kori/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Summing up my current ideas.]]></title>
            <link>https://medium.com/@kori/summing-up-my-current-ideas-489df9b3d7be?source=rss-d19c7359b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/489df9b3d7be</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Luiz de Milon]]></dc:creator>
            <pubDate>Mon, 10 Apr 2017 19:40:13 GMT</pubDate>
            <atom:updated>2018-05-31T14:56:38.543Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey. A while back I wrote a not-so-good post explaining my ideas for operating systems, and this is an updated version.</p><p>This is going to cover what I wanted to actually cover then, and the rest is going to be about how my ideas evolved, and what they are now.</p><h4>The Structure and Interpretation of Bad Blog Posts</h4><p>Something that you could consider funny is that back then, I did not program, which in my opinion now, made it so it was a pretty ill-informed post. Within it, I tackled three Operating Systems: OpenBSD, Plan 9, and macOS (Then, OS X), and attempted to highlight what I perceived to be flaws and strengths. I ended up half-assing both, which, if the math checks out, made me sound like one full ass.</p><p>I had a fascination with what I thought I knew about macOS’ UX, so I raved about it, which is weird, because I still haven’t used it. I don’t think I can comment on it now, either. It’s not really fair to make unsubstantiated claims, so I’m skipping that section.</p><p>Now, within <strong>OpenBSD </strong>and <strong>Plan 9, </strong>I saw “<strong>Purity”</strong>, which now I realize is a non-goal and not really something well defined. These projects pride themseves on their minimalism, a philosophy which I’m a fan of, but it’s not exactly something that sells a product on its own. Allow me to explain:</p><p>I had done some minimal reading then about the story of UNIX and the rise of Unix-like systems, and how Plan 9 had missed the boat, and all the stuff about <a href="https://en.wikipedia.org/wiki/BSDi_vs_USL">BSDi being sued by USL,</a> so BSD also didn’t get a chance to rise, so Linux eventually came up and took over, and all that, so I thought “Okay, you can’t change history, we got what we got.”. So I decided to complain about it.</p><p>My thought process then: “<em>Okay, Plan 9 is dead in the water, that’s fine, we still got OpenBSD. It’s probably the best OS ever, and </em><strong><em>WHY AREN’T WE USING IT EVERYWHERE HOLY SHIT.</em></strong><em> I mean come on! It’s got it all, </em><strong>right? <em>1. </em></strong><em>Standards Compliance </em><strong><em>2.</em></strong><em> Security </em><strong><em>3.</em></strong><em> Great documentation. </em><strong><em>4. </em></strong><em>A Minimalist Philosophy(tm). Literally the best OS </em><strong><em>EVER</em></strong><em> Why is it not the Year of The OpenBSD Desktop?”</em></p><p>Okay, young me, calm down, Jeez. Alright, A couple months ago, I decided to see what Past!Me was raving about. I used OpenBSD for my desktop for a <strong>full month</strong>. I had a blast, it was fun, the documentation was great, when things were supported (can’t do much about the things that aren’t, more on that later) , they Just Worked(tm), great experience all in all.</p><p>Eventually I ran into a snag, where the OS would freeze every couple hours for a couple minutes, I figured out pretty quickly that that was <strong><em>security(8) </em></strong>running, so yeah, that’s fine, but everything seemed to stutter a lot, so I got fed up after a while. I figure that’s related to the filesystems performance, so I don’t think there’s much I can do about that. (If anyone has pointers, I’d appreciate them).</p><p>These snags eventually add up, so I quit. I wish I hadn’t. And I thought then, “<em>If I knew how to program, maybe I could fix this.”.</em></p><p>Well, I didn’t know how to program. I had “written” a program in Go (https://github.com/kori/gone) but that was more like shell scripting. I read the documentation for certain functions and I put them together until they worked. And then they stopped working. And then I gave up.</p><p>I thought for a long while I would never be able to program, until a very good friend of mine suggested something that changed me enough that it made writing this post possible. Enter <strong>Scheme.</strong></p><p>Yeah, Scheme. I mean, it’s not that unexpected, right? The title of this section is literally a reference to SICP and-</p><p>Anyway, I got side-tracked. I had exactly one hurdle with Scheme when I tried to use it way back then, and of course, it had to do with the syntax. Past!Me: “<em>All those icky parens make this Stupid language unreadable, give me back my C-like syntax! It’s the only thing I know!” </em>And now I realize I didn’t know that either, so whatever.</p><p>Okay, when I hit a pretty low point in my programming “career”, they suggested something too interesting to pass: <strong><em>“Considering you’re having problems with every language, why not try Scheme again, since the only hurdle you had initially was with the syntax? It’s got some great educational material, I’m sure this time around you’ll be able to figure out programming.”</em></strong></p><p>So I took him up on his offer.</p><h3>DETOUR!</h3><h4>The Rise and Fall of Project Empyrean.</h4><p>When I wrote The Zero Before The One, I had been using CRUX for maybe two months or so. Time passed, I learned about the distribution, it was the perfect playground to do distro dev stuff, so I did it, I wrote a couple init scripts, I got that running, my system booted faster, when I realized it, it was too late. <strong>I was hooked.</strong> (It’s not that bad, I’m just joking.)</p><p>I found out about a couple distros and projects, One of them was called <strong>Aboriginal Linux, </strong>which was a project to make a couple scripts that would build the simplest Linux system capable of rebuilding itself from source. So I decided to maybe take that and build a distro, I needed a couple things like a package manager and more full featured init system and I was probably set, right? Project Empyrean is a go.</p><p>So I decided to make a prototype. The plan was to get CRUX, rip away everything (except the bare minimum of the package manager so I could update the base system easily, so when I was done it was gonna be a base system updater.) and install replacements and roll that as an OS. I picked my own init scripts for that and I was gonna use pkgsrc, and it was gonna be great.</p><p>Oh yeah. I did that all on my main machine.</p><p>Anyway, when I was on my fifth recompilation of the whole system after maybe 10 hours of <strong>HARDCORE DEVELOPING</strong>, I kinda got burnt out. For a year. Yeah. Here we are now. Naivety is a blessing and a curse.</p><h3>Back to your regular programming, folks.</h3><h4>The Scheme Programming Language</h4><p>Oh boy. When I finally got the syntax, and the semantics, when all of it clicked, I felt <strong>good.</strong> It looked like a good way to write formulas, so I thought it’d be easier to start with math stuff, and Project Euler <a href="https://github.com/kori/leonhard">helped me a lot</a>.</p><p>I made a lot of progress and I could reason about programs in a way I never thought I’d be able to before. I did drills to learn how to write tail-recursive functions, I eventually got comfortable enough that I decided doing small exercises was a good way to learn. I made a lot of toy projects, and I did learn a lot.</p><p>After a while, toy projects weren’t cutting it anymore. I didn’t know what to do, so I decided to ressurect one of my old ideas. A package manager. I like package managers a lot, and I had a plan for one, so why not, right?</p><p><a href="https://github.com/kori/surt">I started writing it</a> and I realized I kinda knew how to do most of the stuff I wanted to do. So this is what programming feels like. Of course, I had to handle error messages and <a href="https://github.com/kori/monad-mandala">took an interesting detour</a> but that’s probably for another time.</p><p>Scheme empowered me, and I love it.</p><h4>Operating Systems made of Recursive Functions and Their Roles in Shaping the Way we Use Machines, Forever; Part I.</h4><p>So. With all that in mind, I have this hunch, here, that I’m not sure if it’s gonna pay off, but hey, I’m a literal Wizard That Can Build Stuff With Magic Words, now. I only need time and patience.</p><p>I had one idea with Empyrean, which was portability. To take over the world, you gotta run everywhere, right? So I tried to make things reproducible, portable, lightweight. I tried to embrace everything and I ended up crushed. Such is life when you don’t plan.</p><p>So now that I can scheme up stuff (ha) I’m planning things more thoroughly and I’m trying to come up with better, more sound ideas. What projects are portable? How do they do it?</p><p>When researching about languages, I found <a href="http://shenlanguage.org/">Shen</a>, which I won’t go into detail about the merits of the language (because I’ve never done anything with it), but it does something interesting. It’s implemented in many languages, so it’s got some insane portability.</p><p>With regards to operating systems, I’ve known about NetBSD ever since even before the first attempt at implementing Empyrean, so there’s that. But then, I realized I totally forgot about one of the most interesting projects to ever grace mother earth: <a href="https://en.wikipedia.org/wiki/Inferno_(operating_system)">Inferno</a>.</p><p>DAMMIT! It was right there all the time too! It’s even on the Plan 9 wiki page. Why did I never pay attention to it? Oh well. Better late than never. Inferno does a really neat thing. It runs as a standalone OS, and it can also run on top of other operating systems.</p><p>So, instead of making a full fledged OS right at the start, I decided to make a toolchain first, then, build a distro, and then make an OS. and then,<strong> THE WORLD.</strong></p><p>Well, not really. But hey, having a portable platform on top of which I can implement my ideas and making adoption easy is probably the way to go, right? A good example of a project that’s making it easy to implement really great ideas is Electron, which lowered the bar to making desktop applications.</p><p>The title of this section is kinda over the top, but yeah, there will be a Part II, soon, about how I plan to implement Empyrean, and what exactly I want to do with it. I gave a small summary here, but it warrants a full post.</p><p>Of course, we’re talking about present time here. These ideas are still in formation, but hopefully I’ll get something rolling soon.</p><p>That’s all for now, folks! Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=489df9b3d7be" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>