I speak a few languages myself and can recognise several non-latin scripts. I had a pretty good hunch of the outcome but no idea how deep it goes!

In the context of the website redesign I'm working on, we asked Richard Ishida, our #i18n expert, how to sort languages when multiple translations are available.

His answer is both mind-boggling and fascinating!

github.com/w3c/w3c-website/iss

I really like the following rules regarding the use of ANSI colors in terminal applications:

* Avoid black and white, as they are used inconsistently.
* Never combine two colors or a bright color with foreground. Only combine regular/bright colors with background and maybe regular colors with foreground.

Source: tobib.spline.de/xi/posts/2019-

That sounds like a great way to get readable output for different terminal configurations (e.g. no white text on a terminal with light background).

Did you know many terminals and CLI tools, like "ls", support hyperlinks?

printf '\e]8;;example.com\e\\This is a link\e]8;;\e\\\n'

gist.github.com/egmontkob/eb11

I have a website searching bilingual dictionaries, so the users already have to choose two languages. What is the best way to offer this service with different UI languages, without drowning the user in even more language selection dialogs?

I'm thinking about using the `Accept-Language` header for the default and allowing a language switch in a not too prominent position (e.g. footer) to set an override cookie. That would also mean leaving UI lang out of the URL.

Any recommendations?

what if we had a world where Project Gutenberg was better,
and we had a search feature in our operating systems which was as good as a linux package manager, where we just "installed" a book

and as a result, all of us maybe better recognised the value of maintaining organisations that make sure we can access things such as self-contained books over the decades, without everyone /individually/ worrying so much about who will host or print every individual published thing and how

5/

Show thread

I love the `sqlite-utils memory` command to modify, filter, group and join CSVs and convert between CSV, JSON and SQLite. And together with xlsx2csv I can even ingest Excel sheets easily.

-utils

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?

"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.

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.

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). 😢

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.

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.

I just updated , my todo list for recurring tasks. It fixes some display problems that accumulated over the last years and the code is updated to 0.19.1.

Go to github.com/karlb/doagain for the readme and code or to static.karl.berlin/doagain/ to launch it right away.

Let me know what you think!

Get 's new offline dictionaries at wikdict.com/page/download !

It's a bit sad that Android does not have a built-in dictionary and iOS does not allow users to add custom dictionaries. How am I supposed to bring free dictionaries to the masses?

As part of , I want to provide downloadable bilingual dictionaries. I'm not sure which formats I should provide, yet. Help me decide! What is your favorite offline dictionary software?

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.