Login
You're viewing the functional.cafe public feed.
  • Aug 30, 2026, 5:00 AM

    EDIT: Woah. This blew up.

    Thank y'all so much! You've restored my faith in humanity. I will really do my best to help people as much as I can. Do note that I am asynchronous as Hell, but I can always answer questions as best I can. Or at least, I know how to find an answer.

    The post below.

    Actually standalone post:

    Ever want to learn the lower part of the stack, but it's intimidating as fuck?

    libc? Kernel? Compilers? Horrifying random library you wanna figure out how to dissect?

    Need a mentor?

    I've been doing it for 20 years. My methods are crude but effective. My second programming language was x86 assembly. We don't discuss my first which may have been QBASIC but I outgrew it fast.

    I have taught people to code before and I've mentored others for hairy parts of the stack. You're not a guinea pig.

    I've got time. I've got inclination.

    Requirements:

    • A belief you can do it
    • A desire to learn Unix at the deeper levels
    • You don't scream when you see a terminal prompt
    • You can exit nano; exiting vim optional but encouraged
    • You should at least know the rudiments of programming

    What I will do:

    • Help you understand the parts you don't understand
    • Help you understand how things fit together
    • I don't know everything, but we can find out shit together
    • Teach you how to figure it out
    • Help review your patches for obvious, glaring mistakes, so you don't look like a horse's ass (it's okay sometimes I too look like a horse's ass)

    I charge:

    • $0 (gratuities appreciated but not required)
    • "Exposure"
    💬 15🔄 101⭐ 83

Replies

  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Aug 30, 2026, 7:02 AM

    @Elizafox I do know a bit of C and low level stuff but started looking closer at how the whole systems stack fits together only lately, when I got into compiling software myself (to get slop free versions, mainly) and it’s weird.

    (Favorite revelation so far: Dynamic linking works by just writing the paths in the headers. Mind blown.)

    I‘d love some pointers on where to go further. I guess I‘ll ask as soon as I sorted out what I exactly want to do. Thanks in advance! 😄

    💬 0🔄 0⭐ 0
  • Aug 30, 2026, 7:06 AM

    @chris_evelyn Look deeper into dynamic linking, ABIs, and SONAME/SOVERSION. Tinker with build systems, and also tinker with building with the compiler too.

    Look at libc's source code, and also BSD's userland tools (FreeBSD/NetBSD/OpenBSD doesn't matter), they're easier to understand than the GNU equivalents though you should eventually read those too. See how things are implemented. You'll learn surprising things.

    Try implementing cat. Try implementing cat as a library. Add some flags to it. Try other system utilities. Start small. That's how I learned!

    💬 1🔄 0⭐ 0
  • Aug 30, 2026, 7:38 AM

    @Elizafox @chris_evelyn I’ve read a lot of source code, and I managed to implement my own netcat.

    I have submitted packages to different package managers. Some successful, some not.

    I’ve also researched booting systems, I’ve recently made some (local) improvements to #NetBSD booting with a #ZFS root filesystem.

    But I find it difficult writing this stuff down, and I find it difficult to figure out what the next step would be. My mode of operation is that I get an itch, and when it is successfully scratched the project is done. I find it difficult to discover what else I could have looked at while I was there.

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Aug 30, 2026, 7:05 AM

    @Elizafox While you know I agree, there are many that would point out that assembly and instruction sets are also somewhat of an abstraction over what the machine is really doing. x86 is also a platform!

    💬 2🔄 0⭐ 0
  • 💬 1🔄 1⭐ 0
  • 💬 0🔄 0⭐ 0
  • Aug 30, 2026, 7:06 AM

    @TomF What does WASM run as ultimately? :P

    Not enough people are learning the lower levels of the stack, and browsers are becoming extremely bloated. We are not going to get more RAM in computers anytime soon. We are also reaching the final stop of Moore's law and improvements in computers will be much slower here on out, and I don't expect per-core performance to improve.

    Native apps should be relearned. Web apps have their uses, but not everywhere.

    💬 3🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Aug 30, 2026, 7:10 AM

    @TomF That said WASM is fascinating and I've thought about building things with it.

    I was thinking the other day how the browser is... fine at a platform for certain things? Not a replacement for native apps but can definitely be serviceable. Like how back in the day we had browser-based gaming and we still had fun. No install, no bullshit, no "this game takes 200GB and godspeed."

    💬 1🔄 0⭐ 0
  • Aug 30, 2026, 7:19 AM

    @Elizafox By which you mean the incredibly cursed Macromedia Flash, an absolute abomination of a platform that somehow also became ubiquitous and fundamentally enabling for all those apps, before being so deeply ungodly that it collapsed back into the nether realms from whence it came. We should be careful what we wish for.

    One day, an actually good language will finally become ubiquitous. But we are clearly not yet worthy of such a blessing.

    💬 1🔄 0⭐ 0
  • Aug 30, 2026, 7:37 AM

    @TomF I don't miss Flash at all. But Ruffle exists ;).

    There's also HTML5 games that very much exist.

    I guess I should have given context: the modern web can be a serviceable games platform. Like the ingredients are all there. Input locking, accelerated rendering, <canvas>, etc.

    That said the WASM 🔄 DOM boundary is still rough and needs work.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Aug 30, 2026, 6:21 AM

    @Elizafox As encouragement for your students:

    Samba developers who have since moved on from my team at $DAYJOB to other roles have found that understanding the underpinnings helps them be better at their jobs further up the stack.

    Thanks for offering to pass on systems programming skills, these arts still have immense value.

    💬 0🔄 2⭐ 0
  • 💬 0🔄 0⭐ 0
  • Aug 30, 2026, 7:41 AM

    @Elizafox Honestly yeah I would be.
    The lower level stuff has always alluded me, but I never really knew where/how to start. Though my last adventure in C has been a bit ago, I think I should get the ropes again quickly.

    💬 0🔄 0⭐ 0
  • Aug 30, 2026, 7:41 AM

    @Elizafox

    I'm not sure I can invest the time, but if this is the start of a little learning and mentoring community, I would love to be a part of that and read the notes, questions and answers that come from this.

    I am vaguely aware there are different manuals for different parts, but they have not formed a reasonable whole for me yet. I'd be interested in that.

    💬 0🔄 0⭐ 0
  • Aug 30, 2026, 8:05 AM

    @Elizafox I would love to be a part of this. I've always wanted to understand how computers work at the deepest levels possible. I have a degree in CS but still feel I'm a noob to the lower levels. It would be really nice if there was a guide to all of this.

    💬 0🔄 0⭐ 0
  • Aug 30, 2026, 9:25 AM

    @Elizafox I have a bluetooth device with some buttons. When connected to my phone and I push a button, it does a touchscreen gesture. When connected to my computer, it does nothing. Nothing registers in xev. I think I need to write a driver? Where do I even begin?

    Typing this I realized I haven't looked at a bluetooth pcap. I'm a Linux sysadmin with some incredibly rudimentary Python skills.

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Aug 31, 2026, 3:55 PM

    @Elizafox This is crazy. In the past when I connected via bluetooth, I got no behavior whatsoever out of this thing. This morning though it literally just werks and I can use input-remapper to switch the buttons to what I need. I haven't even done a do-release-upgrade since the last time I tried, just regular apt upgrades. Thanks.

    💬 0🔄 0⭐ 0
  • Aug 30, 2026, 10:35 AM

    @Elizafox
    That is so awesome of you and I assume you've muted this by now. But I want to leave this here at least for the rest of the internet: In times of AI slop, of people who can't give an answer without typing the question into chatgpt, you are doing something that really empowers people by teaching them how to empower themselves permanently, without having to pay a monthly subscription to the AI-Techbro next door or whatever people do these days. And I thank you for that!

    (Also if I'd know a bit more, I'd ask you for help. But at this point I need to figure out for myself first, what I really want to do and to learn.)

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0