adi

twtxt.net

Freelance Developer, Indie Hacker, Maker of https://mkws.sh/

Recent twts from adi
In-reply-to » "Magic Clock" for Plan 9 (and p9p). http://a.9srv.net/src/img/magicclock-p9p.png http://a.9srv.net/src/magicclock.c (man and other info at http://a.9srv.net/src/).

@Anthony_Sorace@a.9srv.net I’m getting:

magicclock.c:189 function args not checked: drawclock
magicclock.c:234 function args not checked: drawclock

btw, fixed it myself”

⤋ Read More
In-reply-to » "Magic Clock" for Plan 9 (and p9p). http://a.9srv.net/src/img/magicclock-p9p.png http://a.9srv.net/src/magicclock.c (man and other info at http://a.9srv.net/src/).

@Anthony_Sorace@a.9srv.net I have a ton of ideas to implement for Plan 9 but I recently discovered http://www.collyer.net/who/geoff/9/ Geoff’s 9k but still didn’t get it to boot on OpenBSD vmm. For now, main problem is the serial console is not working I think. I’ll have to diff with jmk… I think again.

⤋ Read More
In-reply-to » I'm tinkering with the Plan 9 9k kernel https://github.com/0intro/plan9-contrib/tree/main/sys/src/9k testing if I can boot it on OpenBSD vmm, it's booting but interrupts don't work.

Also, not sure about those lost RAM.

⤋ Read More
In-reply-to » I'm tinkering with the Plan 9 9k kernel https://github.com/0intro/plan9-contrib/tree/main/sys/src/9k testing if I can boot it on OpenBSD vmm, it's booting but interrupts don't work.

Serial console doesn’t work tho.

⤋ Read More
In-reply-to » Alright, the Compact Flash adapter in my retro box works fine now. It allows me to switch disks way more easily, which, in turn, allows for more experiments. 👌

@movq@www.uninformativ.de I’m pretty happy with my naming abilites. I do alot of research before hand tho so that my names fit with the overall naming scheme. dusage is not a bad name to be honest, but we already have du with is short for “disk usage”, if you don’t have a du in OS/2 I think it’s an ok name.

⤋ Read More
In-reply-to » Ok, had some fun porting 9front virtio drivers to 9legacy for OpenBSD vmd:

@movq@www.uninformativ.de https://9front.org/ is a fork of the original https://plan9.io/plan9/. I just ported 9fronts drivers (https://git.9front.org/plan9front/plan9front/1b51d5683a5d8adcde03bbd277e6331f23c2f723/sys/src/9/pc/ethervirtio.c/f.html and https://git.9front.org/plan9front/plan9front/1b51d5683a5d8adcde03bbd277e6331f23c2f723/sys/src/9/pc/sdvirtio.c/f.html) to the original Plan 9. It was almost drop in to be honest. If I were to build one from scratch, there’s this: https://brennan.io/2020/03/22/sos-block-device/, looks digestible.

⤋ Read More
In-reply-to » Oh, btw, previous guys I worked with never heard of Go!

@prologic@we.loveprivacy.club They were doing embedded development just like you would JavaScript development, using only “the framework”, as I said: https://github.com/espressif/esp-idf, compile times were super long (20s), the boss asked “How many times do I compile per day?” I said: “constantly….”. Just couldn’t work with the framework, was super slow. Had to develop the driver bare metal and after that integrate it!

⤋ Read More
In-reply-to » @lyse This is what I was using cu for https://github.com/espressif/esp-idf?tab=readme-ov-file#viewing-serial-output

@lyse@lyse.isobeef.org That was for an energy metering driver I made (EV charging stations).

I’m currently working on a VCS for small projects. Single file, plain text repository made entirely of just patches. I’m currently porting to 9Front and all I have is to do add suport for 3 way merging (I think I’ll just use diff3 on Linux and merge3 on OpenBSD for that. Currently it only supports plain text and no binaries.

This an example repo for my dotfiles https://0x0.st/HRnc.diff, view log implementation in awk: https://0x0.st/HRnT.sh

@everybody
If interested, some 💵 would be great as I’ve been out of job for a few months now and they payed like shit when I was working with them.

https://www.paypal.com/donate/?hosted_button_id=7QXC2F3ANCDC2

You could clone that repo with only:

curl https://0x0.st/HRnc.diff | tee v | patch -p0 

However, patch would leave some extra files in the directory.

⤋ Read More
In-reply-to » I’m thinking about moving my blog/page from uninformativ.de over to movq.de (because the name “uninformativ.de” really isn’t great, never has been). How much in the twtxt/Yarn world will that break? 😂 I’ll obviously install redirects, so it should be relatively painless, right?

@movq@www.uninformativ.de movq.de is cool. I don’t see any problem as long as you set up redirects.

⤋ Read More
In-reply-to » I remembered cu is next to vi in the "impossible to quit software" list.

You quit cu by pressing ~.. If that doesn’t work, “just hit Enter a couple of times before the combination” (read it on some forum).

⤋ Read More
In-reply-to » Can anyone recommend a website builder for dummies? Something my wife could use or anyone not in IT? Something that you can easily export and publish as a static site anywhere? 🤔 I guess it has to be easy to use, WYSIWIG in nature and having some 3rd-party integrations might be nice like Squire for taking payments, etc.

@prologic@twtxt.net I maintain my opinion that’s it’s just not worth avoiding learning HTML, CSS.

⤋ Read More
In-reply-to » You'll never guess what I learned from https://www.uninformativ.de/blog/postings/2023-11-19/0/POSTING-en.html. I've never seen for i do in shell scripts. Turns out, that walks over all positional arguments. So I reckon my for i in "$@"; do can now be shorter from now on. Very interesting in that detailled explanation to see all the – at least to me – inconsistent handling of semicolons and line breaks.

@lyse@lyse.isobeef.org Cool!

⤋ Read More

Also, I think the EU is doing a great job with the recent laws regarding Microsoft and Apple! (Uninstallable default apps, sideloading and USB-C for Apple Products)

⤋ Read More
In-reply-to » Been playing around a bit with Continue.dev and Ollama.ai in VSCode (which all runs locally). I have to say, Continue.dev is not a bad tool in terms of "utility" and the overall UX is kind of nice. However; I dunno whether I'm just using inferior models like codellama or codellama (See Models), or whether I'm expecting far too much out of these "glorified" token prediction machines, but all this seems to be good for is banging out repetitive keystrokes.

Actually, it’s outputting bullshit most of the times.

⤋ Read More
In-reply-to » Been playing around a bit with Continue.dev and Ollama.ai in VSCode (which all runs locally). I have to say, Continue.dev is not a bad tool in terms of "utility" and the overall UX is kind of nice. However; I dunno whether I'm just using inferior models like codellama or codellama (See Models), or whether I'm expecting far too much out of these "glorified" token prediction machines, but all this seems to be good for is banging out repetitive keystrokes.

@prologic@twtxt.net They suck bad! Artificial stupidity as I said. Real problem with ChatGPT is to discover when it’s actually outputting bullshit because it’s outputting it in a very convincing way, but in the end it’s still bullshit. Maybe that’s why they call it “intelligence”, because he’s good at lying to us.

⤋ Read More
In-reply-to » I wonder why people didn't settle on XDG_CONFIG_HOME as ~/etc. Makes so much sense!

@movq@www.uninformativ.de

My XDG_STATE_HOME directory doesn’t even exist, no program has created it.

$XDG_STATE_HOME defines the base directory relative to which user-specific state files should be stored. If $XDG_STATE_HOME is either not set or empty, a default equal to $HOME/.local/state should be used.

The $XDG_STATE_HOME contains state data that should persist between (application) restarts, but
that is not important or portable enough to the user that it should be stored in $XDG_DATA_HOME. It may contain:

actions history (logs, history, recently used files, …)

current state of the application that can be reused on a restart (view, layout, open files, undo history, …)

I don’t believe it’s a good idea to wipe it.

$ cat /etc/fstab
...
swap /home/adi/var/cache mfs rw,-s512M,noatime,nosuid,nodev 1 0

and https://dataswamp.org/~solene/2021-12-15-openbsd-mfs-persistency.html for XDG_CACHE_HOME.

⤋ Read More
In-reply-to » In setting up my own company and it's internal tools and services and supporting infrastructure, the ony thing I haven't figured out how to solve "really well" is Email, Calendar and Contacts 😢 All the options that exist "suck". They suck either in terms of "operational complexity and overheads" or "a poor user experience".

I see this recommended as solution for calendar and contacts https://dataswamp.org/~solene/2023-04-23-calendar-and-contacts-with-radicale.html

⤋ Read More
In-reply-to » In setting up my own company and it's internal tools and services and supporting infrastructure, the ony thing I haven't figured out how to solve "really well" is Email, Calendar and Contacts 😢 All the options that exist "suck". They suck either in terms of "operational complexity and overheads" or "a poor user experience".

@prologic@twtxt.net

What Calendar and Contacts?

I have no experience with calendar and contacts, just email, and it’s really good.

I think we have very different ideas of what “operational complexity” means.

Maybe, what’s your definition?

⤋ Read More
In-reply-to » In setting up my own company and it's internal tools and services and supporting infrastructure, the ony thing I haven't figured out how to solve "really well" is Email, Calendar and Contacts 😢 All the options that exist "suck". They suck either in terms of "operational complexity and overheads" or "a poor user experience".

@prologic@twtxt.net Just use Gmail as an email client, lol “operational complexity”, just configure the thing one time and have it run for years!

⤋ Read More
In-reply-to » In setting up my own company and it's internal tools and services and supporting infrastructure, the ony thing I haven't figured out how to solve "really well" is Email, Calendar and Contacts 😢 All the options that exist "suck". They suck either in terms of "operational complexity and overheads" or "a poor user experience".

@prologic@twtxt.net https://poolp.org/posts/2019-09-14/setting-up-a-mail-server-with-opensmtpd-dovecot-and-rspamd/ I skipped the rspamd part.

⤋ Read More
In-reply-to » In setting up my own company and it's internal tools and services and supporting infrastructure, the ony thing I haven't figured out how to solve "really well" is Email, Calendar and Contacts 😢 All the options that exist "suck". They suck either in terms of "operational complexity and overheads" or "a poor user experience".

@prologic@twtxt.net https://www.opensmtpd.org/ for email! I’ve been running mine for more than an year!

⤋ Read More