Latest LQ Deal: Latest LQ Deals
Go Back > Blogs > Michael Uplawski
User Name


Incomprehension and Antagonism About the inertia of misguided convictions.

Qt: Embedding Translations in the program-file

Posted 03-29-2023 at 02:41 PM by Michael Uplawski
Updated 08-02-2023 at 12:27 AM by Michael Uplawski (German version, French version)

A styled version of this document:
In German:
In French:

Embedding translations in Qt-programs


Several techniques allow the internationalization of Qt -program.
Attached Images
File Type: jpg lq_sc_upsslideshow.jpg (199.1 KB, 8 views)
File Type: png lq_th_sc_upsslideshow.png (10.9 KB, 40 views)
Senior Member
Views 155 Comments 0 Michael Uplawski is offline

spellcheck in qutebrowser

Posted 12-28-2021 at 02:43 AM by Michael Uplawski
Updated 12-28-2021 at 02:45 AM by Michael Uplawski

If you want to set a spellcheck dictionary for the running session, type
:set spellcheck.languages ['en-US'] 
:set spellcheck.languages ['en-US', 'de-DE']
:set spellcheck.languages ['en-US', 'de-DE', 'fr-FR']
for only one or several languages at once.

To persist these settings, open and add something like:
# Spellcheck
config.set('spellcheck.languages', ["en-US", "fr-FR", "de-DE"])
Senior Member
Views 1065 Comments 5 Michael Uplawski is offline

Ruby: reading from STDIN, if there is something to read.

Posted 09-25-2021 at 01:11 AM by Michael Uplawski
Updated 10-08-2021 at 11:49 PM by Michael Uplawski (Category)

The logic of ARGV and ARGF still escapes me, I am approaching perfection empirically by trial, error and surrender. Now I believe to do stuff the right way, which is highly unsatisfactory.

Today's sura goes like this:

To avoid a hanging program, when there are no data waiting at STDIN, thou shalt write
if !STDIN.tty?
  # do as you must
tty meaning “teletype-writer”, it stands for terminal/console/pseudo-terminal and the like....
Senior Member
Views 554 Comments 0 Michael Uplawski is offline

False statement

Posted 03-23-2021 at 12:57 AM by Michael Uplawski
Updated 12-06-2021 at 07:14 AM by Michael Uplawski

I just modified my comment to one of my own blog-entries but now feel that it is itself worth an entry.

If it sticks it may be sticky. Avoid.
This comment contained a false statement. I have to leave it here and mark it as false, because it is frequently repeated in a pseudo-scientific context, by right-wing political activists, by marketing-experts, by so-called “coaches”.

The story is that, around 1955, an American scientific formulated a hypothesis which was
Senior Member
Views 896 Comments 4 Michael Uplawski is offline

[HTML/CSS] Web-Fonts - Don’t let “them” get you

Posted 02-25-2020 at 01:56 PM by Michael Uplawski
Updated 02-13-2022 at 10:43 AM by Michael Uplawski (13/02/2022 url of the handwritten version updated)

Thread: ttf works, why should I use woff?
A styled version of this document:
A hand-written version of this document:

One of my bosses once said that, when things start to become complicated, it means that an error has been committed.

Where programming is concerned, I usually arrive to back-trace my actions...
Attached Images
File Type: png Linux-Biolinum-sample.png (25.4 KB, 35 views)
Senior Member
Views 130 Comments 0 Michael Uplawski is offline


All times are GMT -5. The time now is 04:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration