Developers’ Weblog

Sponsored by
HostEurope Logo

Developers’ Weblog

⚠ This page contains old, outdated, obsolete, … historic or WIP content! No warranties e.g. for correctness!

All 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38

Harry Potter in Unicode

2019-08-03
Tags: fun

☺͛

I wasn’t even looking for it but for LATIN SMALL LETTER S WITH CROWN ABOVE or COMBINING CROWN ABOVE for… Wasⷳa? Wasⷿa? Was̐a?… that, anyway, but didn’t find it, when I found that.

Update: Of course, Mozilla® Firefox™ renders it wrong. In lynx (standard browser) in xterm (standard terminal) it properly renders like SMILEY with COMBINING ZIGZAG

I wonder when the first UIs will render it as inline small HP photo…

Today I’ve released another new CVS snapshot of the FixedMisc [MirOS] font; as usual, the tarball contains the font in BDF form, with no conflict with the system Fixed [Misc] font; sources for use (compilation, editing) with bdfctool(1) are in CVS.

New: the UCS map for the 8x16 cp437 font is also shipped within the tarball, in the hope of helping someone with it. (The 8x16 font isn’t just badly truncated 9x18, but specially adapted for that size.)

This release was partially sponsored by tarent, and it is dedicated to my actual users, who submit bug reports and feature requests.

To Japanese users, the U+32FF SQUARE ERA NAME REIWA from Unicode 12.1 prerelease is included. The missing small caps Q was added just as the ring form of the Benzol ring. The minuscle lambda and pi were tweaked (especially lambda looked like crap), the coptic pi was, to avoid mistaking it for greek, changed minimally, too).

In a next release, I’m planning to make the digit seven (‘7’) more a seven, less a one (7̶ or 7̵ or better), and switch to “single-storey” ‘a’ and ‘g’ (mind ɑ and ɡ though).

My “WTF” APT repository contains the (updated) xfonts-base package, which ships FixedMisc [MirOS], and (new!) consolefonts-base with the 8x16 PSF (SYSLINUX, ISOLINUX, PXELINUX) and PSFU (Linux VGA text console), 9x18 and 18x18 GRUB fonts, and, as usual, the patched console-setup with the 9x18 for Linux’ framebuffer console.

ISP move

2019-06-04
Tags: hardware personal

In a similar vain as last post, I’ll be moving with my ISP (to a new 1ˢᵗ TAE) next Tyrsday. I hope everything will be as unupsetting as last time…

ISP change

2019-04-22
Tags: hardware personal

I’m going to be switched from ADSL (version 1) at Netcologne to VDSL with Vectoring at Telekom Business tomorrow. So, if I seem to have fallen off the earth, you’ll know why.

I should also take this as chance to replace the ne(4) NIC my current DSL modem is connected to (a 10 Mbit/s card, but at least already PCI) with another fxp(4) to make use of the more speed (50/10 Mbit/s instead of 4/½ or so).

I’ve set up Backup MX (already had Backup NS), so nothing should suffer too much except response times, perhaps.

The Freizeitkarte offline OpenStreetMap vector maps can be rendered with MapsForge, a library which is embedded in several Android applications like c:geo. (Note that c:geo ships two instances of it, the “old MapsForge v3 API” which works much better on my ancient HTC Desire and the standard newer one.) However, this uses the stock rendering theme of MapsForge by default, which is an old Osmarender one (in v3 at least, later MapsForge extends it) and kinda sucks for detailled navigation, such as what GPS Stash Hunters need to do.

Thankfully Freizeitkarte ships a MapsForge theme, well two, one with more contrast or something. Did I say “ships”? Oops, “shipped” is more correct. It was taken offline (with, unfortunately, no trace any more online) some years ago due to difficulties or something.

Luckily, I still have a copy (in which I enabled several “extra” features (such as displaying bus stops, which ought to be default…) which I can use. But this has several problems: it needs fixing, as upstream said, and OSM also developed, so I could not see any ramps (lanes to join/exit highways) any more.

Well, jupp and XML editing and OSM data inspection to the rescue. I now maintain the XML in a private git repo (although I unfortunately only have the preconfigured one as starting point), and I extended, changed and fixed it a lot and redrew two of the images, and freizeitkarte.zip is the fruit of these efforts. It likely can still use more fixing and extending but is at least usable, and the licence is rather liberal. Perhaps I should rename it to Mirzeitkarte to clarify it is not the original any more, but for now I did it in the title of this wlog entry. (Dear Freizeitkarte people, please do contact me if you have anything to say. We could even populate your fzk-theme github repository.)

Update 2019-04-22: I’ve renamed the XML (but not the PKZIP archive name, as to not break deep links) and have fixed more stuff, continuing to do so. Freizeitkarte people just pointed me to Geoclub (an independent webforum) for “support”, so they seem to not be interested. I do have permission though.

In unrelated news, the Free Music repository also grew, and the soundfont has an update.

I’ve updated a lot of things in MirBSD and for use with the Debian operating system. More to come, pax(1) has been converted to Mirtoconf (the successful Build.sh system of mksh’s) but needs to be re-ported to a lot of systems (and some more bugs squished). My “WTF” APT repository also received a number of updates, such as to the ever-desired wtf(1), but it’s the time of that two-year cycle which invites general care for all of one’s packages.

On the other hand, MirBSD stops offering RSS feeds by tags. The world has become more insular, first by DSGVO, now by other cultural issues. I’ll be at FOSDEM, as usual, though, so rejoice!

You can now directly download, for all platforms and synthesisers, the soundfonts shipped in Debian for MuseScore (and others) I maintain. This service may cease at any time, without notice. Also, do mind the MIT licence.

On an unrelated note, happy new year in the western calendar!

learn.to/quote

2018-10-25
Tags: archaeology debian news pcli tip

The “properly quote eMail messages and on Usenet” documentation is hosted on a server that appears to not get too much care at the moment. I’ve dug out workable versions:

The original link, with its http://learn.to/quote/ redirection, which contained the links to the translations into Dutch and English, unfortunately no longer works.

I’m asking everyone to please honour these guidelines when posting in Usenet and responding to eMail messages, as not doing so is an insult to all the (multiple, in the case of Usenet and mailing lists) readers / recipients of your messages. Even if you have to spend a little time trimming the quote, it’s much less than the time spent by all readers trying to figure out a TOFU (reply over fullquote) message.

Ich bitte jeden darum, sich bitte beim Posten im Usenet und Verfassen von eMails sich an diese Richtilinien zu halten; dies nicht zu tun ist ein Affront wider alle (im Falle von Usenet und Mailinglisten viele) Leser bzw. Empfänger eurer Nachrichten. Selbst wenn man zum Kürzen des Zitats ein bißchen Zeit aufwenden muß ist das immer noch deutlich weniger als die Mühe, die jeder einzelne Leser aufwenden muß, herauszufinden, was mit einer als TOFU (Text oben, Vollzitat unten) geschriebenen eMail gemeint ist.

Mag ik iederéén verzoeken, postings in het Usenet en mailtjes volgens deze regels te schrijven? Als het niet te doen is vies tegen alle ontvanger’s en moeilijk om te lezen. Zelfs als je een beetje tijd nodig heb om het oorspronkelijke deel te korten is het nog steeds minder dan de moeite van alleman, om een TOFU (antwoord boven, fullquote beneden) boodschap proberen te begrepen.

Nik wishes you to know that the Movim packaging sprint (sponsored by the DPL, thank you!) is handled under the umbrella of the Debian Edu sprint (similarily sponsored) since this package is handled by the Teckids Debian Task Force, personnel from Teckids e.V.

After arriving, I’ve started collecting knowledge first. I reviewed upstream’s composer.json file and Wiki page about dependencies and, after it quickly became apparent that we need much more information (e.g. which versions are in sid, what the package names are, and, most importantly, recursive dependencies), a Wiki page of our own grew. Then I made a hunt for information about how to package stuff that uses PHP Composer upstream, and found the, ahem, wonderfully abundant, structured, plentiful and clear documentation from the Debian PHP/PEAR Packaging team. (Some time and reverse-engineering later I figured out that we just ignore composer and read its control file in pkg-php-tools converting dependency information to Debian package relationships. Much time later I also figured out it mangles package names in a specific way and had to rename one of the packages I created in the meantime… thankfully before having uploaded it.) Quickly, the Wiki page grew listing the package names we’re supposed to use. I created a package which I could use as template for all others later.

The upstream Movim developer arrived as well — we have quite an amount of upstream developers of various projects attending MiniDebConf, to the joy of the attendees actually directly involved in Debian, and this makes things much easier, as he immediately started removing dependencies (to make our job easier) and fixing bugs and helping us understand how some of those dependencies work. (I also contributed code upstream that replaces some Unicode codepoints or sequences thereof, such as 3⃣ or ‼ or 👱🏻‍♀️, with <img…/> tags pointing to the SVG images shipped with Movim, with a description (generated from their Unicode names) in the alt attribute.)

Now, Saturday, all dependencies are packaged so far, although we’re still waiting for maintainer feedback for those two we’d need to NMU (or have them upload or us take the packages over); most are in NEW of course, but that’s no problem. Now we can tackle packaging Movim itself — I guess we’ll see whether those other packages actually work then ☺

We also had a chance to fix bugs in other packages, like guacamole-client and musescore.

In the meantime we’ve also had the chance to socialise, discuss, meet, etc. other Debian Developers and associates and enjoy the wonderful food and superb coffee of the “Cantina” at the venue; let me hereby express heartfelt thanks to the MiniDebConf organisation for this good location pick!

Update, later this night: we took over the remaining two packages with permission from their previous team and uploader, and have already started with actually packaging Movim, discovering untold gruesome things in the upstream of the two webfonts it bundles.

mksh bugfix — thank you for the music

2018-05-07
Tags: bug debian mksh pcli

I’m currently working on an mksh(1) and bc(1) script that takes a pitch standard (e.g. “A₄ = 440 Hz” or “C₄ = 256 Hz”) and a config file describing a temperament (e.g. the usual equal temperament, or Pythagorean untempered pure fifths (with the wolf), or “just” intonation, Werckmeister Ⅲ, Vallotti or Bach/Lehman 1722 (to name a few; these are all temperaments that handle enharmonics the same or, for Pythagorean in out case, ignore the fact they’re unplayable). Temperaments are rule-based, like in ttuner. Well, I’m not quite there yet, but I’m already able to display the value for MuseScore to adjust its pitch standard (it can only take A₄-based values), a frequency table, and a list and table of cent deltas (useful for using or comparing with other tuners). Of course, right now, the cent deltas are all 0 because, well, they are equal temperament against equal temperament (as baseline), but I can calculate that with arbitrary and very high precision!

For outputting, I wanted to make the tables align nicely; column(1), which I normally use, was out because it always left-aligns, so I used string padding in Korn Shell — except I’m also a Unicode BMP fan, so I had F♯ and B♭ in my table headings, which were for some reason correctly right-aligned (for when the table values were integers) but not padded right when aligning with the decimal dot. So I worked around it, but also investigated.

Turns out that the desired length was used as second snprintf(3) argument, instead of, as in the right-align case, the buffer size. This worked only until multibyte characters happened. A fun bug, which only took about three minutes to find, and is covered by a new check in the testsuite even. Thought I’d share.

Feedback on and improvements for the tuner, once it’ll be done, are, of course, also welcome. I plan to port the algorithm (once I’ve got it down in a programming language I know well) to QML for inclusion in the tuner MuseScore plugin, even. Check here, for now, for my work in progress… it’s quite big already despite doing basically nothing. Foundation laid (or so…).

I’m currently working on consolidating mirsolutions.de (as my former business is long defunct) and “The MirOS Project” (that as of 2018 is also back to being my own one-man show / hobby) into www.mirbsd.org as my hobby / personal sorta homepage to not need any vhosts and simplify EU-DSGVO conformity. (I’ve also reduced logging.) Please excuse upheavals, as well as the continued presence of old, obsoleted or outdated content that may even be, as of now, completely wrong; I’ll fix it as time permits.

Happy Birthday, GPS Stash Hunt!

2018-05-03 by tg@
Tags: debian fun geocache personal

GPS Stash Hunt, also commercially known as “Geocaching”, “Terracaching”, or non-commercially (but also nōn-free) as “Opencaching”, is 18 years old today! Time for celebration or something!

mirabilos’ Waypoints

Excluding Munzees, I visited 2365 waypoints to date, ever since 2006 (I knew about GPS Stash Hunt in 2004 already but thought one’d need one of those expensive GPS receivers to play, which is untrue but I only got that when Pfeffer (from BOSng) took his GPS and me out for a bike tour in 2006, so, here we are…

(Some older on-platform logs have a number that still counts Munzees; the current format uses “number﹟”.)

FixedMisc [MirOS] 20180429 released

2018-04-29 by tg@
Tags: news pcli

Today I’ve released another new CVS snapshot of the FixedMisc [MirOS] font; as usual, the tarball contains the font in BDF form, with no conflict with the system Fixed [Misc] font; sources for use (compilation, editing) with bdfctool(1) are in CVS.

All 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38

MirBSD Logo