The One with the Thoughts of Frans

Archive for February, 2019

Geany Regex Replace

Geany has a nice story about named matching groups in the manual, but those don’t seem to work in the actual find & replace dialog. Instead, you can refer to them by number. Less convenient, but generally workable.

I’ll give you a concrete example. I copied my list of games from Humble Bundle to be able to examine them better locally. I didn’t see an obvious way, so I just copied them from the website (by deactivating the user-select: none CSS property). Long story short, I ended up with a list like this:

Anomaly Korea
11 bit studios

Anomaly Warzone Earth
11 bit studios

Another World
DotEmu

Aquaria
Bit Blot

Avadon: The Black Fortress
Spiderweb Software

BIT.TRIP BEAT
Gaijin Games

Blackwell 1: Legacy
Wadjet Eye Games

Blackwell 2: Unbound
Wadjet Eye Games

Blackwell 3: Convergence
Wadjet Eye Games

Bladeslinger
Kerosene Games

Bridge Constructor
Merge Games

Using the regex pictured above, that turns into this:

Anomaly Korea;11 bit studios

Anomaly Warzone Earth;11 bit studios

Another World;DotEmu

Aquaria;Bit Blot

Avadon: The Black Fortress;Spiderweb Software

BIT.TRIP BEAT;Gaijin Games

Blackwell 1: Legacy;Wadjet Eye Games

Blackwell 2: Unbound;Wadjet Eye Games

Blackwell 3: Convergence;Wadjet Eye Games

Bladeslinger;Kerosene Games

Bridge Constructor;Merge Games

After optionally stripping out the double newlines (replace \n\n with \n), you can save the file as a .csv and open it in Calc. And there you have it. My complete list of Android games:

CommentsTags: , , , ,

Discord Login Shows How It’s Done

In contrast to Dropbox, Discord doesn’t try to hide logging in.

Comments

KOReader 2019.02

As one of the maintainers of KOReader, a versatile a document and image viewer, I’m proud to announce the latest release.


The month of commercial love bears good news for owners of Android E Ink devices. Thanks to a library called refreshU and efforts by @pazos to integrate it into KOReader, we now have basic support for E Ink refreshes on a limited number of Android E Ink devices (#4517). Namely:

  • Boyue T61 and some clones
  • Boyue T62 and some clones
  • Onyx C67
  • Energy Sistem (which are in fact Boyue T62 clones). This was tested on an Energy Pro 4.

If you own an unlisted Android E Ink device, you can help us by installing the einkTest utility included under assets below. Once you start it, you’ll see a screen like the following. First it lists important device information, without which will not be able to include support for your device in future versions. Next there are three buttons you can click, to test whether your device can work with our current Android screen refresh implementation.

There’s more news for Android ereaders. Some devices go to sleep for no apparent reason, which makes KOReader unresponsive (#4428). To prevent this, go to settings (gears icon) → Screen → Keep screen on.


On the reader end, @poire-z implemented support for so-called widows and orphans (#4490). These words are typesetting jargon, see here if you want to learn more. If you’ve ever seen a line at the beginning or end of a paragraph all alone at the top or bottom of a page, you know what it’s about. There’s support for publisher styles and of course also overriding these to your own preferences.

We’d like to thank all contributors for their efforts. Some highlights since the previous release include:

Full changelog

CommentsTags:

Dropbox sign-in annoyances

I don’t understand why so many places make signing in so hard.

Comments (1)Tags: ,