Sometimes, the scientific notation is not a viable option. Here's how I like to format numbers that can be very small or very large in that case:

karl.berlin/formatting-numbers

What's your favorite way to do it?

@jk What would be the problem with running multiple Lagrange processed to get multiple windows? Would syncing access to config files, caches, etc be too hard?

"Installation: we recommend that you use Docker."

what I'm supposed to see: "hey, it's a simple one-liner! Such clean install, much wow."

what I actually see: "we couldn't figure out how to install this thing on anything but our own machine, but hey, here is a well-compressed image of our entire disk, use this instead so that we can stop trying"

I just improved the responsiveness of the web interface, so you can enjoy your free translations more easily on your mobile device.

Before/after screenshots: blog.wikdict.com/2021/03/bette

Try it yourself: wikdict.com/

And I took the opportunity to upgrade from Bootstrap 3 to Boostrap 5.

@jk @duckhp Maybe it would be better to center the page without taking the added URL header into account. The URL is visually muted and has less visual weight in my eyes, so the current way of centering feels to be a bit too far down.

It would also make it more obvious that there is not content that is scrolled off screen by increasing the empty margin at the bottom.

@Laerte That's fixed now. But I'm using a weird language mix, since I only have the language names in the local language.

Thanks for letting me know! When testing your own app, you stop reading the text very quickly.

Look up translations on with ! More than 6.6 million translations across 20 languages are available
gemini://gmi.wikdict.com/

Source code at
github.com/karlb/wikdict-gemin

It's quite an early release, but if there is interest, I will improve on it.

@joeligj12 @metalune You can of course link to RSS feeds from gemini pages. But there's also the gemini feed format, which is a pleasure to implement, as usual with gemini stuff:
gemini://gemini.circumlunar.sp

@michaelanckaert Thanks for the feedback! While templating is usually necessary for HTML pages, most Gemini pages do well without, since you don't need to set a title separately in the header and there is no expectation of navigation elements on each page.

@jk Great work! Lagrange is the first Gemini client that really makes me want to use Gemini for more than some experiments!

It also motivated me to finally publish the Gemini version of my blog.
gemini://gmi.karl.berlin/

I just noticed that did not archive my repos in any visible way. I expected them to keep at least the repo discriptions up (which contained a link to the new git repo in my case). Instead, the repo links 404 and my account looks completely empty. Not the nicest way to handle such a change.

Old: web.archive.org/web/2016122016
New:
bitbucket.org/karlb/

After more than six year on Google , I finally moved my simple multiplayer auction game over to my local server.
landrush.karl.berlin/

I really liked the service back then, but the classic app engine only got worse over time and never got an update to python3, and the newer offerings never got as attractive as the classic app engine for me (no ndb, no spending limits, more complex). 😢

@Ateriath You can find the full lines I'm using in my .xbindkeysrc at karl.berlin/suckless-desktop.h . Use `killall -HUP xbindkeys` to reload. I'm using dzen2 to show the current volume afterwards. If you don't want that, skip everything after the semicolon.

I always wanted my volume keys to change the volume logarithmically. Actually getting it was easier than expected:

pactl set-sink-volume @DEFAULT_SINK@ $(pacmd list-sinks | awk '/volume:/ {print int($3 * 1.2); exit}')

I just bound this to the volume up key via xbindkeys.

@wdavery It works fine with the dictionaries from freedict.org/ for me. Just copy the .dict.dz and .index files into Plato's dictionary folder.

@gray Yes, the tiny size is one of the many nice side effects of keeping it simple. And it feels more rewarding than starting with something huge and fighting it down to a reasonable size.

The more articles I see about supposedly simple blogging setups, the happier I am about my primitive setup described at karl.berlin/blog.html .

If anyone wants clearer instructions on how to use it yourself, let me know!

is a really nice reader application for e-readers:
github.com/baskerville/plato

It can't fetch my pocket articles, but can be used with it. I don't want to spend much time switching tools right now, but I will consider this at a later time.

Show older
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.