Links from 2025-07-30

Automate Flatpak Updates With systemd

The instructions here describe how to create systemd service and timers to automate updating both user and system Flatpak installations. The system systemd units will only update the system Flatpaks, whereas the user systemd units will update both the user’s Flatpaks and the system’s. In most cases, having both user and system services to update Flatpaks is unnecessary. The system systemd units are handy for the default Flatpak behavior, which installs Flatpaks system-wide. The user systemd units are great for users who opt to install Flatpaks in their user-specific installation, such as Flatpak developers.

Tagged as: , , , , , , , , | Author:
[Donnerstag, 20250731, 05:00 | permanent link | 0 Kommentar(e)


Der österr. Gemeindebund vs. „DDD” (Digitalisierung, Digitale Souveränität und DSGVO)

Josef Schellhorn (Neos), Staatssekretär für Deregulierung im Bundesministerium für europäische und internationale Angelegenheiten, hat heute eine Initiative mit dem österreichischen Gemeindebund und dessen Präsident Johannes „wir brauchen e-voting, weil es billiger ist” Pressl (ÖVP) angeteasert:

Gemeinsam mit Gemeindebund-Präsident Johannes Pressl (ÖVP) arbeite er [Schellhorn, Anm.] zudem an einem einheitlichen IT-System für alle Gemeinden, das die Schaffung von Gemeindeverbänden ermögliche. Im ganzen Gasteinertal brauche es dann nur mehr ein Bauamt oder eine Verrechnungsstelle.

Das ist der Gmeinedebund, dessen Presseseite alle Presseaussendungen via Mailchimp verlinkt:

Liste der Presseausendungen des Gemeindebinds 2025 mit den Mailchimp links dazu

Und das, obwohl das eingesetzte Wordpress durchaus auch „News” kann und auf der Site auch genutzt wird.

Aber ich vermute mal, dass das aktuelle Regierungsprogramm mit

  1. Souveränität Österreichs auch im Cyberraum
  2. Bewusstseinsbildung zum Thema „Digitale Souveränität“
  3. Stärkung der digitalen Medienkompetenz

noch nicht bis zum Gemeindebund durchgedrungen ist.

Ebenfalls nicht bis zum Gemeindebund und dessen Präsidenten durchgedrungen dürfte das Thema DSGVO und Mailchimp sein:

Aber ich gehe davon aus, dass eine zentrale, vom BRZ zu marktkonformen Konditionen angebotene Newsletterlösungen beim Hr. Staatssekretär im Rahmen dieser Reformpartnerschaft mit dem Gemeindebund zu den „Low-Hanging-Fruits“ gehört und damit das DSGVO, Souveränitäts- und Digitalisierungsthema (aka. mehr Aufträge für das BRZ) in einem Aufwasch erledigt werden, wie sich das für einen hemdsärmeligen Deregulierungs-Staatssekretär mit Brompton gehört.

Oder machst Du was anderes, Sepp?

Tagged as: , , , , , , , | Author:
[Dienstag, 20250729, 22:11 | permanent link | 0 Kommentar(e)


Youtube-to-Webpage

Youtube-to-Webpage is a Perl script to create a webpage from a Youtube video with a transcript generated from the video’s closed captions paired with screenshots of the video. The project is built upon yt-dlp and ffmpeg.

To use, run the Perl script with a name for the folder to create, and the video URL. For example:

./yt-to-webpage.pl project-name "https://www.youtube.com/watch?v=jNQXAC9IVRw"

Youtube-to-Webpage

Tagged as: , , , , , , , , | Author:
[Samstag, 20250726, 21:16 | permanent link | 0 Kommentar(e)


Google reCAPTCHA verstößt ohne Einwilligung gegen die DSGVO

Bundesverwaltungsgericht (BVwG) Erkenntnis 13.9.2024, W298 2274626-1/8E – Einwilligung für Google reCAPTCHA

Unabhängig davon, ob eine individuelle Einstellung vorgenommen wird, wird das Cookie „_GRECAPTCHA“ am Endgerät des Webseitenbesuchers gesetzt (auch wenn der Besucher „Nicht akzeptieren“ auswählt). Eine tatsächliche Möglichkeit zur Einwilligung bzw. zum Widerruf der Einwilligung bezüglich des Cookies „_GRECAPTCHA“ besteht nicht.

Bei reCAPTCHA wird ein JavaScript-Element in den Quelltext der Webseite eingebunden. Das Tool läuft im Hintergrund und analysiert die Interaktion mit der Webseite. Für die Analyse des Verhaltens werden Daten wie: IP-Adresse, Referrer-URL, Infos über das Betriebssystem und den Browser, ggf. Cookies, Mausbewegungen und Tastaturanschläge, Verweildauer und Einstellungen des Nutzergeräts (z.B. Spracheinstellungen, Standort, Browsereinstellungen etc.) an Google übermittelt. reCAPTCHA setzt ein Cookie (_GRECAPTCHA), wenn es ausgeführt wird, um seine Risikoanalyse bereitzustellen. Es handelt sich hierbei um ein Cookie, das eine einzigartige Nutzer-Identifikations- Nummern enthält, wodurch ein Endgerät markiert wird.

Nach Ansicht des erkennenden Senats sind Cookies, die vom Google-Dienst reCAPTCHA gesetzt werden, für den Betrieb einer Webseite nicht erforderlich, weshalb kein berechtigtes Interesse der Beschwerdeführer:innen gegeben ist, ungeachtet der Tatsache, dass das Verhindern von Bot-Eingaben für Betreiber:innen der Website vorteilhaft sind. Die Implementierung von reCAPTCHA ist für den Betrieb der Website technisch nicht notwendig, da es keinen Einfluss auf die Funktionalität der Website hat, weshalb ein berechtigtes Interesse zu verneinen ist und die Einwilligung der mitbeteiligten Partei einzuholen gewesen wäre.

Tagged as: , , , , , | Author:
[Sonntag, 20250720, 17:29 | permanent link | 0 Kommentar(e)


Stitching Together Images from a PDF Generated by Microsoft

So I wanted to extract an image from a PDF. „Right-Mouseclick -> Save As” and I thought I was done. Unfortunately, I was wrong. I only got a slice of the image and not the whole image.

After some (non-LLM based) (re-)search, I learned that PDFs with a „Producer: Microsoft: Print To PDF” attribute tend to contain this „feature”. So how to remediate that?

First thing is to get a list of all the images. This is easily done with pdfimages (rather current version, based on poppler):

$ pdfimages -list damaged_by_microsoft.pdf
page   num  type   width height color comp bpc  enc interp  object ID x-ppi y-ppi size ratio
--------------------------------------------------------------------------------------------
   1     0 image     440   198  rgb     3   8  jpeg   no         4  0   600   600 8666B 3.3%
   1     1 image     440   198  rgb     3   8  jpeg   no         5  0   600   600 8382B 3.2%
   1     2 image     440    90  rgb     3   8  jpeg   no         6  0   600   600 6621B 5.6%
…

Extracting those images is easily done with pdfimages as well. I prefer my images as .png, so I added the appropriate conversion flag to the command.

pdfimages -png damaged_by_microsoft.pdf dbm_image

This results in a bunch of „dbm_image-000.png files in the current directory. The cumbersome part starts here where you have to identify, which fragment is the first or last section of a certain image. In my case, I wanted the image from 006 to 026 and the image starting with 027 and ending at 054.

Noting down the index of the first and last fragment of the images we want to export, we can now stich those together using ImageMagick:

magick convert dbm_image-0{06..26}.png -append image01.png
magick convert dbm_image-0{27..54}.png -append image02.png

E voila! I just had to spend a couple of minutes figuring this out instead of just doing a „Save As” thanks to MIcrosoft’s genius in PDF export.

Based off PDF: extracted images are sliced / tiled - Stack Overflow

Tagged as: , , , , , | Author:
[Sonntag, 20250720, 11:35 | permanent link | 0 Kommentar(e)


Links from 2025-07-17

Adfichter: "Dienstag 10. Juni 2025 Alle M…" - Infosec Exchange

Alle Marketing-Souverenitätsversprechen von #Microsoft an Europa mit paar wenigen Aussagen im französischen Senat zerlegt. Monsieur Carniaux arbeitet für Microsoft France.

Zur NSA/FISA wisse er nichts (das mag gut sein, weil hier die Geheimdienste direkte Kanäle haben zu den amerikanischen Konzernen). Ansonsten sagte er unter Eid aus, dass die Daten im Fall des Cloud Acts an die amerikanischen Behörden weitergegeben werden müssen (natürlich mit Gerichtsverfahren angestrengt usw).

https://www.senat.fr/compte-rendu-commissions/20250609/ce_commande_publique.html

Tagged as: , , , , , | Author:
[Freitag, 20250718, 05:00 | permanent link | 0 Kommentar(e)


Links from 2025-07-14

What Bell Labs achieved within a few decades is probably unprecedented in human history:

  • They employed folks like Nyquist and Shannon, who laid the foundations of modern information theory and electronic engineering while they were employees at Bell.
  • They discovered the first evidence of the black hole at the center of our galaxy in the 1930s while analyzing static noise on shortwave transmissions.
  • They developed in 1937 the first speech codec and the first speech synthesizer.
  • They developed the photovoltaic cell in the 1940, and the first solar cell in the 1950s.
  • They built the first transistor in 1947.
  • They built the first large-scale electronic computers (from Model I in 1939 to Model VI in 1949).
    -They employed Karnaugh in the 1950s, who worked on the Karnaugh maps that we still study in engineering while he was an employee at Bell.
  • They contributed in 1956 (together with AT&T and the British and Canadian telephone companies) to the first transatlantic communications cable.
    -They developed the first electronic musics program in 1957.
    -They employed Kernighan, Thompson and Ritchie, who created UNIX and the C programming language while they were Bell employees.

/via https://manganiello.social/notice/AukwkbWFAQDB0uXM80

Vibe Coding Will Rob Us of Our Freedom

Many developers are terrified of losing their jobs for this very reason: AIs sometimes program better than them. And, in my opinion, they are right to be afraid. But I’m more afraid of a world (and not just in IT) where code will depend exclusively on the companies that sell us AIs.

Today, writing code is something free, potentially doable even on a beat-up laptop. But tomorrow? Will we be completely dependent on AIs (even) for this?

I Think I’m Done Thinking About genAI For Now

I will just have to concede that maybe I’m wrong. I don’t have the skill, or the knowledge, or the energy, to demonstrate with any level of rigor that LLMs are generally, in fact, hot garbage. Intellectually, I will have to acknowledge that maybe the boosters are right. Maybe it’ll be OK.

Maybe the carbon emissions aren’t so bad. Maybe everybody is keeping them secret in ways that they don’t for other types of datacenter for perfectly legitimate reasons. Maybe the tools really can write novel and correct code, and with a little more tweaking, it won’t be so difficult to get them to do it. Maybe by the time they become a mandatory condition of access to developer tools, they won’t be miserable.

Sure, I even sincerely agree, intellectual property really has been a pretty bad idea from the beginning. Maybe it’s OK that we’ve made an exception to those rules. The rules were stupid anyway, so what does it matter if we let a few billionaires break them? Really, everybody should be able to break them (although of course, regular people can’t, because we can’t afford the lawyers to fight off the MPAA and RIAA, but that’s a problem with the legal system, not tech).

I come not to praise “AI skepticism”, but to bury it.

Maybe it really is all going to be fine. Perhaps I am simply catastrophizing; I have been known to do that from time to time. I can even sort of believe it, in my head. Still, even after writing all this out, I can’t quite manage to believe it in the pit of my stomach.

Tagged as: , , , , , , , , | Author:
[Dienstag, 20250715, 05:00 | permanent link | 0 Kommentar(e)


Enabling Hibernation into a LVM/LUKS swap partition on Linux Mint 22.1 Xia

I wanted to have my Thinkpad x220 running Linux Mint 22.1 „Xia” to hibernate into a LVM/LUKS partition to save more battery power then just doing a „suspend”. Unfortunately, with Xia being based off Ubuntu 24.04 LTS, the procedure is not straight forward. But I got it working.

Get the name of your swap partition by grepping the /etc/fstab:

$ grep swap /etc/fstab
/dev/mapper/vgmint-swap_1 none            swap    sw              0       0

Modify the /etc/default/grub file, so that the „GRUB_CMDLINE_LINUX_DEFAULT” has a „resume” entry pointing to the swap partition:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/mapper/vgmint-swap_1"

and regenerate grub:

$ sudo update-grub2

Reboot and then try to engage hibernate:

$ sudo systemctl hibernate                                 

Once, that works, we need to include „hibernate” into the power menus of Xia. This is done in newer Ubuntu and therefore Linux Mint versions via a policy rule:

cat << __UND_AUS__ > /etc/polkit-1/rules.d/10-enable-hibernate.rules
polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.login1.hibernate" ||
        action.id == "org.freedesktop.login1.hibernate-multiple-sessions" ||
        action.id == "org.freedesktop.upower.hibernate" ||
        action.id == "org.freedesktop.login1.handle-hibernate-key" ||
        action.id == "org.freedesktop.login1.hibernate-ignore-inhibit")
    {
        return polkit.Result.YES;
    }
});
__UND_AUS__

And presto, everything works as expected.

Sources:

Tagged as: , , , , , | Author:
[Samstag, 20250705, 14:39 | permanent link | 0 Kommentar(e)


Disclaimer

„Leyrers Online Pamphlet“ ist die persönliche Website von mir, Martin Leyrer. Die hier veröffentlichten Beiträge spiegeln meine Ideen, Interessen, meinen Humor und fallweise auch mein Leben wider.
The postings on this site are my own and do not represent the positions, strategies or opinions of any former, current or future employer of mine.
Impressum / Offenlegung gemäß § 25 Mediengesetz

Search

Me, Elsewhere

Tag Cloud

2007, 2blog, 2do, 2read, a-trust, a.trust, a1, accessability, acta, advent, age, ai, amazon, ankündigung, apache, apple, at, audio, austria, backup, barcamp, basteln, bba, big brother awards, birthday, blog, blogging, book, books, browser, Browser_-_Firefox, bruce sterling, buch, bürgerkarte, cars, cartoon, ccc, cfp, christmas, cloud, coding, collection, command line, commandline, computer, computing, concert, conference, copyright, covid19, css, database, date, datenschutz, debian, delicious, demokratie, design, desktop, deutsch, deutschland, dev, developer, development, devops, digitalisierung, digitalks, dilbert, disobay, dna, dns, Doctor Who, documentation, domino, Domino, Douglas Adams, download, downloads, drm, dsk, dvd, e-card, e-government, e-mail, e-voting, E71, education, Ein_Tag_im_Leben, elga, email, encryption, essen, eu, EU, event, events, exchange, Extensions, fail, fedora, feedback, film, firefox, flash, flightexpress, food, foto, fsfe, fun, future, games, gaming, geek, geld, git, gleichberechtigung, google, graz, grüne, grüninnen, hack, hacker, handtuch, handy, hardware, HHGTTG, history, how-to, howto, hp, html, humor, ibm, IBM, ical, iCalendar, image, innovation, intel, internet, internet explorer, iot, iphone, ipod, isp, IT, it, itfails, itfailsAT, itfailsDE, java, javascript, job, jobmarket, journalismus, keyboard, knowledge, konzert, language, laptop, law, lego, lenovo, life, links, linux, Linux, linuxwochen, linuxwochenende, live, living, living, lol, london, lost+found, Lotus, lotus, Lotus Notes, lotus notes, lotusnotes, LotusNotes, lotusphere, Lotusphere, Lotusphere2006, lotusphere2007, Lotusphere2008, lotusphere2008, lustig, m3_bei_der_Arbeit, mac, mail, marketing, mathematik, media, medien, metalab, Microsoft, microsoft, mint, mint, mITtendrin, mITtendrin, mobile, mood, motivation, movie, mp3, multimedia, music, musik, männer, nasa, nerd, netwatcher, network, netzpolitik, news, nokia, notes, Notes, Notes+Domino, office, online, OOXML, open source, openoffice, opensource, orf, orlando, os, outlook, patents, pc, pdf, performance, perl, personal, php, picture, pictures, podcast, politics, politik, pr, press, press, presse, privacy, privatsphäre, productivity, programming, protest, public speaking, qtalk, quintessenz, quote, quotes, radio, rant, rant, recherche, recht, release, review, rezension, rezension, rip, rss, science, search, security, server, settings, sf, shaarli, Show-n-tell thursday, sicherheit, silverlight, smtp, SnTT, social media, software, sony, sound, space, spam, sprache, sprache, spö, ssh, ssl, standards, storage, story, stupid, summerspecial, summerspecial, sun, surveillance, sysadmin, talk, talk, talks, technology, The Hitchhikers Guide to the Galaxy, theme, think, thinkpad, thunderbird, tip, tipp, tools, topgear, torrent, towel, Towel Day, TowelDay, travel, truth, tv, twitter, ubuntu, ui, uk, unix, update, usa, usb, vds, video, video, videoüberwachung, vienna, Vim, vim, vintage, vista, vorratsdatenspeicherung, vortrag, wahl, wcm, wcm, web, web 2.0, web2.0, Web20, web20, webdesign, werbung, wien, wiener linien, wikileaks, windows, windows, windows 7, wired, wishlist, wissen, Wissen_ist_Macht, wlan, work, workshops, wow, writing, wtf, wunschzettel, Wunschzettel, www, xbox, xml, xp, zensur, zukunft, zukunft, zune, österreich, österreich, övp, übersetzung, überwachung

AFK Readinglist