Email or username:

Password:

Forgot your password?
3 posts total
pixx

Prototype of a network manager for #Plan9 is finished :D
pixelhero.dev/tmp/netmanager.p

The system launches it on startup. It tries connecting all ethernet and wifi cards, with all known wifi networks; it does this whenever the existing connection goes down, prioritizing ethernet.

It also keeps network services running seamlessly, e.g. swapping out the actual sshfs share such that I can start editing a file over SSH, swap from wifi to ethernet, hit save, and have it JustWork™.

pixx

Very much proof-of-concept prototype do not try this at home etc etc but
pixelhero.dev/tmp/netmanager.t <- source is there.

It's trivial, in the most literal sense of the word. 90 lines of code for the whole thing.

Making it robust, actually handling wifi, and any other features I can think of will still probably leave it under 1KLoC when it's finished. It's -not- a hard problem.

pixx

Learn how to manage memory manually, or how to write assembly. Write a compiler, or a web browser.

Learn how to repair your hardware when it breaks, and how to fix your software when the authors don't care to.

Teach yourself how to write, or draw, or sing, or whatever it is that you wish you knew.

You don't have to do any of this, of course - but if you're not going to, it should be because you don't want to, not because you've been lied to.

The hardest step is to admit that you are capable.

Show previous comments
Schroedinger

@pixx I have been in software dev for 40 years. I learnt all the basics, and what I really learnt was that thes things never entirely change.

Current software dev is very different. But it works down to the same stuff that it always did. And that is really helpful to understand.

Flux

@pixx Sometimes I feel like the hardest part for me to start something is often just a confidence issue or a feeling that "Welp I'll forget about this project in a week like I always do so cause I got distracted on something else so why bother". I think I need to start actually learning to stick with something a bit better... idk

pixx

> [writing] will introduce forgetfulness into the soul of those who learn it: they will not practice using their memory because they will put their trust in writing, which is external and depends on signs that belong to others, instead of trying to remember from the inside, completely on their own... [not] a potion for remembering, but for reminding; you provide your students the appearance of wisdom, not its reality

In light of current events, I can't stop thinking about this Socrates quote...

pixx

> writing shares a strange feature with painting. The offsprings of painting stand there as if they are alive, but if anyone asks them anything, they remain most solemnly silent. The same is true of written words. You’d think they were speaking as if they had some understanding, but if you question anything that has been said because you want to learn more, it continues to signify just that very same thing forever

Hm..

Go Up