@drewdevault@fosstodon.org
@drewdevault@fosstodon.org avatar

drewdevault

@drewdevault@fosstodon.org

I write code

Natural language proficiency:
★★★★★ 🇺🇸
★★★☆☆ 🇯🇵
★★☆☆☆ 🇳🇱
★★☆☆☆ 🤟
★☆☆☆☆ 🇫🇷

Does not want to talk to you about cryptocurrency or AI

This profile is from a federated server and may be incomplete. Browse more on the original instance.

drewdevault, to random
@drewdevault@fosstodon.org avatar

Wow so today I learned that egregious labor violations are utterly widespread throughout the yoga industry

A friend was describing how they "volunteer" at their local yoga studio in exchange for free classes by working 4 hour shifts at the cash register... of a for profit company... where they report to a manager... and whose owner takes regular expensive vacations and lives in a beautiful, spacious home...

Upon further research I found out that this happens at MOST OF THEM

drewdevault,
@drewdevault@fosstodon.org avatar

The "manager" as far as I can tell is the only paid employee aside from the owners, the instructors are contractors whose own labor conditions are... not good

drewdevault,
@drewdevault@fosstodon.org avatar

@hatpinhacker yeah, that's not legal in most countries

drewdevault,
@drewdevault@fosstodon.org avatar

@hatpinhacker report it to the local labor authority and they can probably collect back pay

Codeberg, to stackoverflow
@Codeberg@social.anoxinon.de avatar

Anyone considering how to break the already? Any alternative work in progress?

drewdevault,
@drewdevault@fosstodon.org avatar

@Codeberg passing note: SO Q&As are CC and they offer database dumps

petit_suisse, to random
@petit_suisse@toot.community avatar

hey @drewdevault

Do you plan to write a book about lang ?

drewdevault,
@drewdevault@fosstodon.org avatar

@petit_suisse maybe someday?

drewdevault, to random
@drewdevault@fosstodon.org avatar

I needed a break from Real Work, so I'm speedrunning writing a Unix-ish operating system

Day 3

drewdevault,
@drewdevault@fosstodon.org avatar

I have implemented signals. Poorly.

drewdevault,
@drewdevault@fosstodon.org avatar
drewdevault,
@drewdevault@fosstodon.org avatar

@srtcd424 no. But some implementations conform to the spec

drewdevault,
@drewdevault@fosstodon.org avatar

Starting to get somewhere

drewdevault,
@drewdevault@fosstodon.org avatar

Things I want to do before calling it A Unix(TM):

  • signal cleanup, flesh out pid 1 a bit, sigwait, fix exit status codes
  • shebangs/binfmt
  • finish porting sbase to add some core utils
  • switch_root to get out of the initramfs environment (for persistent installs, the iso will stay in the initrd)
  • basic tty subsystem with line editing so there's an interactive shell

Maybe an installer if I feel particularly fancy? Also might port doom to it

drewdevault, (edited )
@drewdevault@fosstodon.org avatar

So, on day 20*, the Unix speedrun project has:

  • Memory manager

  • A VFS

  • A bunch of filesystem syscalls

  • fork/exec, preemptive multitasking

  • Signals (sort of)

  • AHCI block devices

  • GPT and MBR partitions

  • ext4 and memfs filesystems

  • null, full, zero character devices

  • pipe(2)

  • A fairly beefy libc

  • EFI and legacy boot support

  • Framebuffer console

  • A port of the dash shell

  • 52 core utilities ported from sbase

  • Technically 21 but I wasn't working on it yesterday

drewdevault,
@drewdevault@fosstodon.org avatar

Might also be fun to make an installer, but this would require:

  • mkfs.ext4 (not that hard)
  • fdisk (somewhat hard)
  • EFI runtime variables (pretty hard)
drewdevault,
@drewdevault@fosstodon.org avatar

@mxk I'm using a fork of musl libc heavily patched to support bunnix

drewdevault,
@drewdevault@fosstodon.org avatar

Today:

/dev/cons
/dev/kbd

drewdevault,
@drewdevault@fosstodon.org avatar

Here's the whole PS/2 keyboard driver, 42 lines of code: https://git.sr.ht/~sircmpwn/bunnix/tree/master/item/sys/arch/dev/+x86_64/ps2kbd.ha

(plus the generic keyboard driver support code): https://git.sr.ht/~sircmpwn/bunnix/tree/master/item/sys/dev/chr/kbd.ha

drewdevault,
@drewdevault@fosstodon.org avatar
drewdevault,
@drewdevault@fosstodon.org avatar

signals /o\

drewdevault,
@drewdevault@fosstodon.org avatar
drewdevault,
@drewdevault@fosstodon.org avatar

Having some more fun with Bunnix

drewdevault,
@drewdevault@fosstodon.org avatar

@hexaheximal it runs on aarch64 and riscv64 as well, though Bunnix has to be ported to each as it's inherently arch-specific

drewdevault,
@drewdevault@fosstodon.org avatar
drewdevault,
@drewdevault@fosstodon.org avatar
drewdevault,
@drewdevault@fosstodon.org avatar
drewdevault,
@drewdevault@fosstodon.org avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • tsrsr
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • mdbf
  • Youngstown
  • osvaldo12
  • slotface
  • everett
  • rosin
  • hgfsjryuu7
  • kavyap
  • PowerRangers
  • normalnudes
  • ngwrru68w68
  • khanakhh
  • cisconetworking
  • modclub
  • GTA5RPClips
  • Durango
  • InstantRegret
  • vwfavf
  • tacticalgear
  • tester
  • cubers
  • ethstaker
  • anitta
  • All magazines