News for hackers. Stuff that matters.
Re:MkLinux by nhance on Saturday January 23, 2021 @07:14PM (#25887457)
This is a blast from the past. This was my first venture into unix OS systems. I installed this on my parents Mac from a Jaz drive over SCSI. I was 16 years old.

Somehow I was able to get it to work, but I have memories of trying to compile programs and having to dive into the source and make changes with the blind confidence only a teenager could have. I'm surprised the system was as stable as it was

Re:MkLinux by seppel on Saturday January 23, 2021 @08:42PM (#25888118)
> but I have memories of trying to compile programs and having to dive into the source and make changes with the blind confidence only a teenager could have.

That is an awesome sentence. I sometimes miss this blind confidence I had as a teenager.

Re:MkLinux by mleonhard on Sunday January 24, 2021 @05:43AM (#25890954)
Some months ago, something snapped and I decided to finally let myself start working on the impossible projects that I have dreamed about for a while. I got back that feeling I had as a teenager, of coding without any ideas of the limits of my own abilities.

Specifically, I want to make some devops tools that I need and don't exist yet:

- A simple HTTP file server that uses mutual-TLS for auth and all configuration comes from a single TOML file. Passwords are poisonous to security. Stateful config APIs are poisonous to maintainability.

- A lightweight Dockerd replacement that uses mutual-TLS for auth, fetches binaries from the file server, actually verifies the SHA-256 digest of binaries (dockerd doesn't), and receives all configuration by HTTP PUT of a single config.toml file. It will store VM stdout logs locally and make them available via mutual-TLS HTTP.

- A metrics server that fetches logs via mutual-TLS HTTP, stores them in the file server, parses them (as JSON), calculates metrics and alarm states, caches derived data on the file server, serves a dashboard, re-exports specific metrics and alarm states, and notifies third-party services (Pagerduty/Opsgenie) on alarm state changes. All config comes from a single config.toml file.

- A simple monitoring daemon that performs repeated website and API requests and emits metrics to logs. These get picked up by the metrics server.

- An infrastructure management tool without the problems of Terraform. Specifically, it must support creating resources which contain other resources. And it shouldn't require the maintenance nightmare of multi-stage Terraform deployments.

I started writing this stuff in Golang. But I quickly became frustrated with Golang's incomplete libraries. There are stupid things missing like min(int,int) and basic synchronization structs (WaitableBool). Golang's http library doesn't support dynamic server-side request timeouts or mutual-TLS. I guess they want you to run Golang servers behind nginx or expensive Google Cloud load balancers, probably on Kubernetes. No thanks.

I learned Rust and started writing the tools above. I fell in love with forbid(unsafe). All of Rust's HTTP server libraries contain copious amounts of unsafe code. And none support mutual-TLS. So I started writing a safe Rust HTTP client & server library. Half-way through, I realized how much unsafe code is in tokio & async-std. So I wrote and released a small safe Rust async runtime, called "safina". Amazingly, it works. I resumed working on the HTTP library, adding TLS support. Then I realized that rustls has a lot of unsafe Rust/C/assembly code. So I started writing a safe Rust TLS 1.3 library. Now I'm deep into that project. It's satisfying.

I wish you will forget your limitations and try new things without reservation.

Re:MkLinux by waltwalther on Sunday January 24, 2021 @08:08AM (#25891725)
I love this comment. I love how one project can/often does lead to other sub projects that can all have their own sub projects. In the end it all comes together...and in my case I usually look back on days/weeks/months of work and am impressed with what I learned along the way. I also love the feeling that comes along with it.
Re:MkLinux by acct776 on Sunday January 24, 2021 @11:46AM (#25893424)
> I guess they want you to run Golang servers behind nginx or expensive Google Cloud load balancers, probably on Kubernetes.

If you're using shared hosting, or your data has any value, why would you use anything besides a reverse proxy/Wireguard to access your hosted application server?

Re:MkLinux by sneak on Sunday January 24, 2021 @03:30AM (#25890371)
It can be yours again if you dedicate an additional SSD to holding a bunch of variously-snapshotted VM images.

Wanna double click that risky .exe from a torrent? Linked clone that base Windows install.

Re:MkLinux by alsetmusic on Saturday January 23, 2021 @10:16PM (#25888790)
I read about MKLinux online at 14. I asked my mother to take me to Barnes and Nobles to see if I could find a book on Linux, as per the webpage that introduced me. No books on Linux in my Midwestern town at that time. I didn’t know what to do when it booted my Mac to a CLI, so I erased it.

I didn’t really get to a command line again until Mac OS X some years later.

I’m so jealous of today’s budding computer nerds. The world is their oyster. Info about how to use new things is very accessible. Damn kids /s.

Re:MkLinux by waltwalther on Sunday January 24, 2021 @08:13AM (#25891760)
Also jealous of todays little nerd seedlings...but I feel like we older nerds still have an understanding that can only be obtained by being there from the beginning (not the real beginning, but I was born in 73, got my first computer in 4th grade) and seeing the layers of technology begin to stack up over the years....if that makes sense..
Re:MkLinux by sufehmi on Sunday January 24, 2021 @07:50AM (#25891607)
It was even worse in Indonesia. Once I realize how far behind we were in general computer news & information, I literally mailed USD$ 100 to Ziff-Davis' office

That's how I got my monthly PC Magazine subscription (this was when they were the best magazine about PC)

Also good technical books were practically non-existent

I got my first Assembly and Norton's book from a bookstore specializing in bootleg copies

Only years later I began to be able to buy good books

Things are so much better now, thankfully

Re:MkLinux by waltwalther on Sunday January 24, 2021 @08:19AM (#25891783)
Ziff-Davis PC Magazine. The memories. Thanks for sharing.
Re:MkLinux by randallsquared on Sunday January 24, 2021 @02:23AM (#25890073)
...but there's so much to do, see, and read that they mostly will not access it. At least, that's my impression.
Re:MkLinux by iFreilicht on Sunday January 24, 2021 @03:27AM (#25890360)
Yeah, it's too much to do in one human lifetime, but we still discover lots of new stuff every day and thanks to SE, online docs and wikis of varying quality, it's quite easy to get things to run in no time, even if you've never heard of them before.
Re:MkLinux by girvo on Sunday January 24, 2021 @03:32AM (#25890378)
I recently got my 12 year old cousin a RPi 400. I’m so incredibly jealous of him now!
Re:MkLinux by durkie on Saturday January 23, 2021 @07:57PM (#25887706)
Me too! Down to the Jaz drive over SCSI. On a Performa 6115. Mostly I did it because everyone on IRC was talking about linux and bsd all the time. After a few months with it I finally got a dedicated computer for FreeBSD (with that super hot Adaptec 2940UW to keep the SCSI going)
Re:MkLinux by hestefisk on Sunday January 24, 2021 @07:13AM (#25891405)
Ah yes. There was a time when SCSI was the hottest hardware for workstations and geeks. When my classmates in the late 90es bought 3D cards for their computers, I was counting every penny to afford an Adapted UltraSCSI controller and disk system. It was really fast and knocked the socks off ATA. My last controller was a 19160U which ran like a dream on Linux and FreeBSD. It was very noise though with a set of 10k rpm drives in my little teenage room.
Re:MkLinux by durkie on Sunday January 24, 2021 @11:54AM (#25893497)
Sounded like a jet engine! I just looked up the 2940UW and see that it's capable of 40MB/s...how far we've come
Re:MkLinux by unixhero on Saturday January 23, 2021 @10:15PM (#25888783)
Those Adaptec cards were fantastic products.
Re:MkLinux by vt240 on Saturday January 23, 2021 @07:44PM (#25887636)
I think this was also the first "Linux" I ever installed. On one of those Tanzania clone, Motorola StarMax 3000s. I seem to recall, that it never booted through OF, at that point. I can't remember which version that was, probably the early DR3.
Re:MkLinux by fzzzy on Saturday January 23, 2021 @08:14PM (#25887833)
Do you still have that StarMax? The Mac clones are becoming extremely rare.
Re:MkLinux by unpixer on Saturday January 23, 2021 @09:09PM (#25888312)
Some of them were rare even when they were new; I have a Radius 81/110 in my basement, built by a company that was in the Mac clone business for about three and half minutes. Not even sure it could run MkLinux.
Re:MkLinux by vt240 on Saturday January 23, 2021 @09:25PM (#25888414)
Wow, that one was rare. I don't think I ever saw but one Radius clone when I was doing on-site service.
Re:MkLinux by spear on Saturday January 23, 2021 @11:42PM (#25889333)
The first computer I bought was a Power Computing Power 120(?). I think it's still in a box in my garage.

I went through a few Linux distributions for it: MkLinux first, then LinuxPPC, and finally Yellow Dog Linux. The driver for the Ethernet card needed to be patched for big-endian machines and the kernel needed a patch to allow the ADB keyboard CapsLock to be remapped to Control. Fun times.

Re:MkLinux by vt240 on Sunday January 24, 2021 @12:56AM (#25889697)
Yeah I ended up using YellowDog on my G3 Wallstreet all through college. It worked great for Linux on a Laptop for those days.
Re:MkLinux by rvense on Sunday January 24, 2021 @03:05AM (#25890277)
I found a StarMax in the bin behind a local university department a few months ago. I thought those days were long over, but there are still strokes of luck, apparently.

These PPC Macs are a bit overlooked, in my mind, but of course this is exactly the era that I really started to get into computers. Just seems like everyone else is either attracted to the compacts, or the colourful iMac era ones.

Re:MkLinux by vt240 on Saturday January 23, 2021 @08:17PM (#25887860)
Unfortunately, it went to the thrift shop many years ago, along with all the vintage UNIX workstations I wish I still had today. Haha. Hopefully, someone picked them up and they didn't just get recycled.
Re:MkLinux by temp0826 on Saturday January 23, 2021 @08:45PM (#25888138)
Gosh, talk about nostalgia in this post, hah. One of my first adventures into Linux was mklinux on a Umax S900. That thing was a tank.
Re:MkLinux by classichasclass on Saturday January 23, 2021 @08:05PM (#25887766)
Got it running to this day on a Workgroup Server 9150. Seems appropriate for that particular machine.