#introductions Researching new ways to write software that make it easier for newcomers to understand rather than for insiders to maintain. Systems that build easy, reward curiosity. http://akkartik.name/about
#BarbarianProgrammer. Ethos: ship with all deps, gradually streamline their code for own situation, get ideas for improvements, send patches upstream. Implies: can't have too many deps!
gender theory, unendorsed idle thought Show more
Childcare is such an onerous duty that some dudes would do just about anything to get out of it. Like forcing an entire gender into child-care-centric servitude by creating an entire political structure (patriarchy) around it, along with the religious/ideological justifications to support it, so women would do it all and they wouldn't have to.
Has most of human history been driven by a conspiracy of dads weaseling out of their share of the childcare?
So, because the existing X terminal emulators are kind of heavyweight, I wrote a new one yesterday and today. It compiles to just under 20 kilobytes, and I can run vi in it, although it needs some work. http://canonical.org/~kragen/sw/dev3/admu_shell.c is the main code, but it also uses admu.c, admu.h, xshmu.c, and xshmu.h. Basically if you want to compile it just git clone the whole directory. It won't work without a 24-bit X server. cc @jason @anthk @brennen @benrob0329 @kelbot @bobstechsite @trashyfins
But relying solely on that authority is no way to get buy-in. You don't get fanfics by cracking the whip of authoritah.
So I've been gradually figuring out narratives that help to build consistent rules that 1) get them through the GCE ‘A’ levels, 2) won't harm then too much whether they pursue a STEM degree or not, 3) help them understand the storyverse enough to write their own fanfics.
Tough, but so satisfying.
We also now have the ability to allocate new segments in virtual memory using mmap(). The first new segment I plan on is a 'trace' segment that tests can write to and make assertions on. Automated white-box testing: http://akkartik.name/post/tracing-tests
Next up, once I have some tracing primitives: a dependency-injected interface for sockets so that we can write automated tests for a fake network.
'Modules' in machine code
SubX now supports code in multiple files. Segments with the same name get merged.
One subtlety: later code is *prepended* to earlier code. Gives us executable libraries with overrideable entrypoints.
$ git clone https://github.com/akkartik/mu
$ cd mu/subx
$ ./subx translate *.subx -o out
$ ./out # run tests
$ ./subx translate *.subx apps/factorial.subx -o out
$ ./out; echo $?
120 # factorial(5)
$ ./out test # run tests
Someone on /r/debian is asking about why there isn't a package for Godot yet
They are literally waiting for Godot
I love it
software gripe Show more
so fucking bewildered at the way neovim loads certain default config files (e.g. the ones for syntax highlighting) *after* it loads your user config, meaning that any options you set which are also set by the language-specific configs will be completely ignored.
Discovered this after noticing that my tabs were being replaced with spaces even though I had explicitly set noexpandtab in my vimrc, because some developer decided that everyone always uses spaces and not tabs when writing Rust
@akkartik I'm not sold on anything thsat recommends many different languages to basically treat successive transforms of an essentially equivalent graph. Proofs for every lttle lang seem way overkill to me, when you can reuse good old graph theory on any graph.
Then, that may be just me and my hammer seeing it all as nails. And linguistically oriented overengineering in a mathematical shape may also be somebody else's hammer. Different approaches, but I know which I'd follow.
Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!