Show newer

So, I decided to combat all of this mess and made the metadater:

This script will find the metadata in the file name, JSON file and EXIF tags and write it to the EXIF tags and file's mtime/atime.

Since this is a hobby project, don't expect it to work flawlessly. It did work for me though ๐Ÿ˜‡

Show thread

In July 2021, Google Photos will stop offering free space for your pics. This was a final nudge for me to take my photos off the platform. I did use Google Takeout, but then I noticed, that all the photos had the today's date as their mtime. Some of them had their date and GPS location set only in JSON files, some didn't even have EXIF tags.

As for me, I am trying to speak and write British English, so my websites/apps usually feature the UK flag (the pic is taken from my homepage)

Show thread

Using flags as language "logos" is never a good idea. However, it works for a lot of cases and apart from that just looks cool. But when it comes to languages like English, it becomes difficult.

Hence, the (rather statistical) question: if you were to pick a flag for "English", which one would it be? Imagine your website is region-independent, i.e. you don't have grammar/vocabulary that is different across countries.

Every day I am being reminded about the fact that technology is *not* beginner-friendly, it is *not* plug-n-play. There are almost zero environments (be it a language or a whole framework) that "just works".

The closest one are HTML/CSS/JS (especially with <script type="module"> and maybe Python, because it comes pre-installed on a lot of systems (not Windows though)

Show thread

When it comes to development environment management, Ruby is the one I just can't comprehend. I've just spent 30 minutes setting it up just to make a Jekyll blog. Then I changed a few dependencies and had to spent another 10 minutes making it run.

No wonder the internet is now littered with 2MB Gatsby blogs ๐Ÿ™„

After 2 painful hours were spent trying to set up Thunderbird's OpenPGP with a YubiKey I have found out that the support for it (as for the smart cards overall) was broken in version 78 ๐Ÿคฆ๐Ÿปโ€โ™‚๏ธ one can downgrade to fix it, although launching TB from command line also does the trick ๐Ÿคท๐Ÿปโ€โ™‚๏ธ

It may not seem "smart" โ€” but in OSS, I believe, the main thing is to have clear and readable code so that people can get on board more easily.

For the same reason I have this idea on my mind for a few months now โ€” create a very simple and readable materials for OSS repositories โ€” such as less bureaucratic issue/PR templates, shorter Codes of Conduct and clearer Contributing Guides. Like, but for everything else. Just gotta find time for this.

Show thread

After a while I am finally awakening from my hiatus. Got to work on shareon ( yesterday.

I just realized, that while I was trying so hard to follow DRY, I ended up in a WET situation. I was chasing type conformity and unified directory for the social networks in the source code โ€” but at the end I realize that JS shall be written as JS and CSS as CSS.

It currently detects everything using `X-Real-Ip` and `X-Forwarded-For`. It should be pretty precise for simple tools like cURL or direct browser access, but keep in mind that the headers can, obviously, be rewritten

Show thread

Just created an incredibly simple API endpoint to get your global IP address as `text/plain`

Open source, tracking-free, and very fast (thx to Vercel)

PRs welcome!

shareon โ€” lightweight, stylish and ethical share buttons that I made โ€” now include a button for Mastodon!

To celebrate this (and for testing purposes), I have joined FOSStodon ๐ŸŽ‰ This post is sent using shareon and toot ( โ€” pretty nifty!


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