Searching txt.sour.is

Twts matching #2
Sort by: Newest, Oldest, Most Relevant
In-reply-to » I was drafting support for showing ā€œapplication iconsā€ in my window manager, i.e. the Firefox icon in the titlebar:

@lyse@lyse.isobeef.org ā€œAdvancedā€, well, probably more ā€œmatureā€. There aren’t a ton of crazy features and that icon thing is the largest code addition in the last 10 years. %)

Speaking of OS/2 … I just realized that Windows 3.x didn’t have icons, either. If I’m not mistaken, this only got added in Windows 95. In other words, OS/2 had this feature before Windows did, because at least OS/2 2.1 from 1993 had icons. Who would have thunk.

(Now I kind of want to know which system really introduced this feature.)

⤋ Read More
In-reply-to » I was drafting support for showing ā€œapplication iconsā€ in my window manager, i.e. the Firefox icon in the titlebar:

@lyse@lyse.isobeef.org Oh, huh, maybe it was just my GNOME 2 themes back then that didn’t show the icon. šŸ¤”

I like the looks of your window manager. That’s using Wayland, right?

Oh, no. It’s still X11. All my recent Wayland comments resulted from me trying to switch, but I think it’s still too early. Being unable to use QEMU (because it can’t capture the mouse pointer) is a pretty big blocker for me. This is completely broken, it just happens to be unnoticeable with modern guest OSes, so it’s probably not a priority for devs.

(Not to mention that I would have to fork and substantially extend dwl in order to ā€œreplicateā€ my X11 WM. And then, after having done that, I’d have to follow upstream Wayland development, for which I don’t have the resources. Things would need to slow down before I can do that.)

all that wasted space of the windows not making use of the full screen!!!1

Heh. I’ve been using tiling WMs for ~15 years now, so it’s actually kind of refreshing to see something different for a change. šŸ˜…

Probably close to the older Windowses.

That particular theme is a ripoff of OS/2 Warp 3: https://movq.de/v/6c2a948882/s.png šŸ˜…

We ran some similar brownish color scheme (don’t recall its name) on Win95 or Win98

Oh god. Yeah, I wasn’t a fan of those, either. 🄓

⤋ Read More
In-reply-to » I was drafting support for showing ā€œapplication iconsā€ in my window manager, i.e. the Firefox icon in the titlebar:

@movq@www.uninformativ.de According to this screenshot, KDE still shows good old application icons: https://upload.wikimedia.org/wikipedia/commons/9/94/KDE_Plasma_5.21_Breeze_Twilight_screenshot.png

And GNOME used to have them, too: https://upload.wikimedia.org/wikipedia/commons/9/9f/Gnome-2-22_%284%29.png

I like the looks of your window manager. That’s using Wayland, right? The only thing on this screenshot to critique is all that wasted space of the windows not making use of the full screen!!!1 At least the file browser. 8-)

This drives me nuts when my workmates share their screens. I really don’t get it how people can work like that. You can’t even read the whole line in the IDE or log viewer with all the expanded side bars. And then there’s 200 pixels on the left and another 300 pixels on the right where the desktop wallpaper shows. Gnaa! There’s the other extreme end when somebody shares their ultra wide screen and I just have a ā€œregularishā€ 16:10 monitor and don’t see shit, because it’s resized way too tiny to fit my width. Good times. :-D

Sorry for going off on a tangent here. :-) Back to your WM: It has the right mix of being subtle and still similar to motif. Probably close to the older Windowses. My memory doesn’t serve me well, but I think they actually got it fairly good in my opinion. Your purple active window title looks killer. It just fits so well. This brown one (https://www.uninformativ.de/blog/postings/2025-07-22/0/leafpads.png) gives me also classic vibes. Awww. We ran some similar brownish color scheme (don’t recall its name) on Win95 or Win98 for some time on the family computer. I remember other people visting us not liking these colors. :-D

⤋ Read More

I was drafting support for showing ā€œapplication iconsā€ in my window manager, i.e. the Firefox icon in the titlebar:

https://movq.de/v/0034cc1384/s.png

Then I realized: Wait a minute, lots of applications don’t set an icon? And lots of other window managers don’t show these icons, either? Openbox, pekwm, Xfce, fvwm, no icons.

Looks like macOS doesn’t show them, either?!

Has this grown out of fashion? Is this purely a Windows / OS/2 thing?

⤋ Read More

Only figured this out yesterday:

pinentry, which is used to safely enter a password on Linux, has several frontends. There’s a GTK one, a Qt one, even an ncurses one, and so on.

GnuPG also uses pinentry. And you can configure your frontend of choice here in gpg-agent.conf.

But what happens when you don’t configure it? What’s the default?

Turns out, pinentry is a shellscript wrapper and it’s not even that long. Here it is in full:

#!/bin/bash

# Run user-defined and site-defined pre-exec hooks.
[[ -r "${XDG_CONFIG_HOME:-$HOME/.config}"/pinentry/preexec ]] && \
        . "${XDG_CONFIG_HOME:-$HOME/.config}"/pinentry/preexec
[[ -r /etc/pinentry/preexec ]] && . /etc/pinentry/preexec

# Guess preferred backend based on environment.
backends=(curses tty)
if [[ -n "$DISPLAY" || -n "$WAYLAND_DISPLAY" ]]; then
        case "$XDG_CURRENT_DESKTOP" in
        KDE|LXQT|LXQt)
                backends=(qt qt5 gnome3 gtk curses tty)
                ;;
        *)
                backends=(gnome3 gtk qt qt5 curses tty)
                ;;
        esac
fi

for backend in "${backends[@]}"
do
        lddout=$(ldd "/usr/bin/pinentry-$backend" 2>/dev/null) || continue
        [[ "$lddout" == *'not found'* ]] && continue
        exec "/usr/bin/pinentry-$backend" "$@"
done

exit 1

Preexec, okay, then some auto-detection to use a toolkit matching your desktop environment …

… and then it invokes ldd? To find out if all the required libraries are installed for the auto-detected frontend?

Oof. I was sitting here wondering why it would use pinentry-gtk on one machine and pinentry-gnome3 on another, when both machines had the exact same configs. Yeah, but different libraries were installed. One machine was missing gcr, which is needed for pinentry-gnome3, so that machine (and that one alone) spawned pinentry-gtk …

⤋ Read More
In-reply-to » @bender That was one of the inputs into my research 🧐 So that's already factored in. We bought our new truck (2025 GWM Canon) recently to replace the 'ol 2nd hand Nissan Navara we bought that just had too many things go wrong with it, and I don't have time or energy to learn to be a diesel mechanic haha 🤣 -- So yes, the SCT-16 has a Tare (unladen weight) of 2150Kg and a maximum legal (ATM) weight of 2,800Kg.

@prologic@twtxt.net interesting, a Chinese pickup truck. Hmm, I would very interested to know your thoughts about it 2-3 years from now.

⤋ Read More
In-reply-to » After many weeks and probably at least a hundred hours of research, discussions and in-person viewing, I think I've finally come up with my Final Choices (shortlist) of a Hybrid Camper / Caravan that I think will suit my family and that I'll enjoy (far less work for me to setup and teardown). The one at the top of the list I'm leaning towards os the SWAG SCT16 Family 4B Media #Camping #Campers

@bender@twtxt.net That was one of the inputs into my research 🧐 So that’s already factored in. We bought our new truck (2025 GWM Canon) recently to replace the ā€˜ol 2nd hand Nissan Navara we bought that just had too many things go wrong with it, and I don’t have time or energy to learn to be a diesel mechanic haha 🤣 – So yes, the SCT-16 has a Tare (unladen weight) of 2150Kg and a maximum legal (ATM) weight of 2,800Kg.

⤋ Read More
In-reply-to » After many weeks and probably at least a hundred hours of research, discussions and in-person viewing, I think I've finally come up with my Final Choices (shortlist) of a Hybrid Camper / Caravan that I think will suit my family and that I'll enjoy (far less work for me to setup and teardown). The one at the top of the list I'm leaning towards os the SWAG SCT16 Family 4B Media #Camping #Campers

@prologic@twtxt.net that looks like a beautiful camper! What kind of truck do you have to pull it? That could be the next thing you might need to focus on. I mean, 2,800kg gross is not feather light!

⤋ Read More

Dois vencedores portugueses no Wiki Loves Folklore 2025, na categoria dos prĆ©mios regionais ā€œNorthern & Western Europeā€!

Os #Caretos de Lazarim e o Carnaval de #Lazarim, em #Lamego, foram premiados nesta competição, pela qualidade e originalidade de 2 fantÔsticas imagens. Muitos parabéns aos autores Filipe Salgado e António Alves Tendim!

VĆŖ todas as fotos vencedoras: https://commons.wikimedia.org/wiki/Commons:Wiki_Loves_Folklore_2025/Winners

#wikilovesfolklore2025

Image

Image

⤋ Read More

The WM_CLASS Property is used on X11 to assign rules to certain windows, e.g. ā€œthis is a GIMP window, it should appear on workspace number 16.ā€ It consists of two fields, name and class.

Wayland (or rather, the XDG shell protocol – core Wayland knows nothing about this) only has a single field called app_id.

When you run X11 programs under Wayland, you use XWayland, which is baked into most compositors. Then you have to deal with all three fields.

Some compositors map name to app_id, others map class to app_id, and even others directly expose the original name and class.

Apparently, there is no consensus.

⤋ Read More
In-reply-to » This aggressive auto-logout on my bank’s website …

@movq@www.uninformativ.de Yeah, it’s a shitshow. MS overconfirms all my prejudices constantly.

Ignoring e-mail after lunch works great, though. :-)

Our timetracking is offline for over a week because of reasons. The responsible bunglers are falling by the skin of their teeth: https://lyse.isobeef.org/tmp/timetracking.png

  1. The error message neither includes the timeframe nor a link to an announcement article.
  2. The HTML page needs to download JS in order to display the fucking error message.
  3. Proper HTTP status codes are clearly only for big losers.
  4. Despite being down, heaps of resources are still fetched.

I find it really fascinating how one can screw up on so many levels. This is developed inhouse, I’m just so glad that we’re not a software engineering company. Oh wait. How embarrassing.

⤋ Read More

Sem palavras pra descrever esta baixeza de artigo:

https://www.publico.pt/2025/07/04/impar/opiniao/banir-smartphones-escolas-impacto-bemestar-2138957?cx=ultimas_1

  1. é citado um único estudo baseado em testemunhos de alunos (ficam de fora pais e profs), um estudo qualitativo por isso não generalizÔvel. Mm assim, os autores do artigo copiam as conclusões do estudo, e o Público tb parece estar ok com artigos decalcados

  2. os autores do artigo são consultores que dão formação a pais e educadores sobre problemas do digital nas crianças, por isso basear opinião apenas num estudo q os ignora é ainda mais wtf

  3. argumento de q crianças têm acesso a dispositivos fora da escola é parvo - tb têm acesso a tabaco e Ôlcool, por isso tb os devemos permitir na escola? come on

  4. e é muito conveniente clamar pela regulamentação das redes sociais sem especificar a forma (proibir anúncios? introduzir idades mínimas? não sabemos).

No final é o costume, os pais e profs que se desenmerdem, a responsabilidade é deles e não das empresas que criam mecanismos de viciação, claro

#SmartphonesNasEscolas

⤋ Read More

ā€œPara estar em linha com o Acordo de Paris, a UniĆ£o Europeia deveria ambicionar a neutralidade climĆ”tica jĆ” em 2040, com cortes reais dentro do território europeu, sem compensaƧƵes externas, garantindo uma transição justa para os setores mais vulnerĆ”veis e, no fundo, um investimento na competitividade europeia no longo prazo. O Governo portuguĆŖs, que tambĆ©m jĆ” estĆ” a baixar a ambição ao pretender reduƧƵes mais leves das emissƵes numa primeira fase por parte da UE Ć© chamado a exigir mais ambição e uma governação climĆ”tica transparente, reforƧando a urgĆŖncia de medidas consistentes num momento em que a Humanidade nĆ£o pode esperar por meias-medidas.ā€

2/2

A newsletter pode ser subscrita aqui: https://zero.ong/newsletter/

⤋ Read More

Francisco Ferreira da #ZERO:

ā€œA UniĆ£o Europeia (UE) estĆ” a dizer adeus Ć  ambição climĆ”tica. Esta semana, em contraste com sinais evidentes de um clima em alteração com temperaturas recordes em toda a Europa, a ComissĆ£o Europeia apresentou, com meses de atraso, a meta climĆ”tica para 2040, propondo uma redução de pelo menos 90% das emissƵes face a 1990. No entanto, esta meta inclui mecanismos de flexibilidade, como crĆ©ditos de carbono internacionais e compensaƧƵes intersectoriais, que enfraquecem a ambição necessĆ”ria num momento crĆ­tico de agravamento da crise climĆ”tica.

Este atraso compromete tambĆ©m as metais europeias para 2035 a aprovar na COP30 no Brasil no final deste ano e enfraquece a lideranƧa global da UE ao sinalizar falta de determinação polĆ­tica. Estas flexibilidades inaceitĆ”veis, pois permitem desresponsabilizar setores emissores e adiar a transição, ignorando recomendaƧƵes cientĆ­ficas que apontavam para reduƧƵes entre 90% e 95% sem tais mecanismos. A proposta surge num contexto polĆ­tico adverso após as eleiƧƵes europeias de 2024, com um recuo climĆ”tico generalizado, tendo a ComissĆ£o optado por um compromisso frĆ”gil para evitar confrontos com governos menos ambiciosos, como os da Polónia e Hungria. Esta Ć© uma oportunidade perdida de promover a lideranƧa climĆ”tica europeia.ā€

½

#criseclimƔtica

⤋ Read More

Exigimos ao governo de Portugal o mĆ­nimo. Que:

  1. Condene a agressão ilegal ao Irão por parte de Israel e dos Estados Unidos da América;

  2. Proíba o uso de infraestruturas e do espaço aéreo português para qualquer tipo de apoio aos ataques;

  3. Aplique sanƧƵes ao Estado de Israel pelas suas consecutivas violaƧƵes do Direito Internacional e pelo genocƭdio em curso na Palestina;

  4. ReconheƧa de imediato o Estado da Palestina.

Assina-se aqui: https://actionnetwork.org/forms/parar-a-guerra/

#Portugal #Israel #petição

⤋ Read More

Saw this on Mastodon:

https://racingbunny.com/@mookie/114718466149264471

18 rules of Software Engineering

  1. You will regret complexity when on-call
  2. Stop falling in love with your own code
  3. Everything is a trade-off. There’s no ā€œbestā€ 3. Every line of code you write is a liability 4. Document your decisions and designs
  4. Everyone hates code they didn’t write
  5. Don’t use unnecessary dependencies
  6. Coding standards prevent arguments
  7. Write meaningful commit messages
  8. Don’t ever stop learning new things
  9. Code reviews spread knowledge
  10. Always build for maintainability
  11. Ask for help when you’re stuck
  12. Fix root causes, not symptoms
  13. Software is never completed
  14. Estimates are not promises
  15. Ship early, iterate often
  16. Keep. It. Simple.

Solid list, even though 14 is up for debate in my opinion: Software can be completed. You have a use case / problem, you solve that problem, done. Your software is completed now. There might still be bugs and they should be fixed – but this doesn’t ā€œaddā€ to the program. Don’t use ā€œsoftware is never doneā€ as an excuse to keep adding and adding stuff to your code.

⤋ Read More
In-reply-to » Just discovered how easy it is to recall my last arg in shell and my brain went 🤯 How come I've never learned about this before!? I wonder how many other QOL shortcuts I'm missing on 🄲

@aelaraji@aelaraji.com I use Alt+. all the time, it’s great. šŸ‘Œ

FWIW, another thing I often use is !! to recall the entire previous command line:

$ find -iname '*foo*'
./This is a foo file.txt

$ cat "$(!!)"
cat "$(find -iname '*foo*')"
This is just a test.

Yep!

Or:

$ ls -al subdir
ls: cannot open directory 'subdir': Permission denied

$ sudo !!
sudo ls -al subdir
total 0
drwx------ 2 root root  60 Jun 20 19:39 .
drwx------ 7 jess jess 360 Jun 20 19:39 ..
-rw-r--r-- 1 root root   0 Jun 20 19:39 nothing-to-see

⤋ Read More
In-reply-to » https://threadreaderapp.com/thread/1935344122103308748.html Interesting article on how ChatGPT is rotting your brain 🤣

@prologic@twtxt.net … or just bullshit.

I’m Alex, COO at ColdIQ. Built a $4.5M ARR business in under 2 years.

Some ā€œC-levelā€ guy telling people what to do, yeah, I have my doubts.

⤋ Read More

A sua ā€œvozā€ alimenta uma horda inflamada de pessoas de mal com a vida, que se digladiam na sedenta procura de ā€œculpadosā€: hoje os ā€œesquerdalhosā€, amanhĆ£ os imigrantes, no dia seguinte os muƧulmanos, e por aĆ­ adiante. Para esta gente, a Verdade Ć© um pequeno pormenor sem importĆ¢ncia. MithĆ” Ribeiro nĆ£o Ć© um homem qualquer. Ɖ docente, com obra editada, e por isso a sua defesa reiterada do salazarismo Ć© alarmante. Ao procurar reabilitar a memória de um regime autoritĆ”rio, racista e repressivo, MithĆ” Ribeiro banaliza a violĆŖncia do Estado Novo, branqueando dĆ©cadas de censura, perseguição polĆ­tica, tortura, negação de liberdades fundamentais, e um PaĆ­s atrasado, profundamente machista, com mulheres silenciadas por uma pobreza de espĆ­rito mĆ”scula que ainda hoje se julga superior e faz vĆ­timas.

2/n

⤋ Read More

Radxa UFS/eMMC Module Reader and Storage Solution Enables Fast Flashing and Scalable Embedded Storage
Radxa’s UFS/eMMC Module Reader is a compact USB 3.0 adapter for flashing OS images, accessing firmware, and transferring large files. It supports both eMMC v5.0 and UFS 2.1 modules with speeds up to 5 Gbps The adapter is compatible with eMMC and UFS modules from Radxa, and also works with modules from platforms like PINE64 and […] ⌘ Read more

⤋ Read More

Illicit tobacco crop worth $4.4m discovered near Shepparton after tip-off
Authorities seize a 20-tonne crop of mature tobacco being grown on 2.4 hectares, an area equivalent to more than 450 tennis courts, in Victoria’s north. ⌘ Read more

⤋ Read More

California to sue Trump administration as LA braces for more protests
Governor Gavin Newsom says the US president ā€œflamed the firesā€ and has demanded he withdraw his order to deploy 2,000 National Guard troops to Los Angeles. ⌘ Read more

⤋ Read More

WA’s $2.5m to bring AFL games to state put to test with regional debut
AFL fans set a crowd record at Bunbury for the AFL’s first regional Western Australian game and one of two North Melbourne home games in the state. ⌘ Read more

⤋ Read More

More than 40 drink drivers caught each day on average in Queensland
Police have undertaken more than 700,000 breath tests across the state since January, and are on track to conduct more than 2 million tests in a year for the first time since the COVID-19 pandemic. ⌘ Read more

⤋ Read More

CH32H417 Dual-Core RISC-V MCU Offers USB, Ethernet, and SerDes Support
WCH’s new CH32H417 microcontroller introduces a dual-core RISC-V architecture designed for embedded applications requiring high-speed connectivity and peripheral integration. It is built on the Qingke V5F core running at 400 MHz and the V3F core at 144 MHz. The microcontroller supports USB 3.2 Gen 1 with a 5Gbps PHY and dual-role host/device functionality, along with […] ⌘ Read more

⤋ Read More

Trump entsendet 2.000 Nationalgardisten
US-Präsident Donald Trump hat am Samstag (Ortszeit) die Entsendung von 2.000 Soldaten der Nationalgarde im Raum Los Angeles im US-Bundesstaat Kalifornien angeordnet. Damit will er auf Proteste gegen Sicherheitskräfte der US-Einwanderungsbehörde ICE reagieren. Dieser Schritt bedeutet eine enorme Eskalation, haben doch im Normalfall die Bundesstaaten die Kontrolle über die Nationalgarde. ⌘ Read more

⤋ Read More

Download Borderlands 2 for Mac FREE This Weekend on Steam
If you’re a Mac gamer and you love free games, you won’t want to miss out on this deal; Borderlands 2, the classic popular first-person action RPG shooter, is free to download this weekend on Steam (until the morning of June 8 at 10am PDT). And because it’s on Steam, you’ll be able to play … Read More ⌘ Read more

⤋ Read More