adi

twtxt.net

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

Recent twts from adi
In-reply-to » I just figured out, their domain was just one letter different from another EV charging company domain.

In their defense, they donā€™t have a web site up at that domain address.

ā¤‹ 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 » Cool, "The computer association at Lund University and Lund University of Technology" in Sweden is using mkws https://dflund.se/

They got the Nobel in Physics last year! Just sayingā€¦

ā¤‹ 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 » X11ā€™s WM_NORMAL_HINTS property is a property that can be set on a window. Part of that property is width_inc and height_inc. They tell the window manager to only increase/decrease a windowā€™s size by certain steps.

@lyse@lyse.isobeef.org Iā€™m really happy with cwm.

ā¤‹ 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