Ho smesso di aiutarli.
Ho smesso di chiamarli.
Ho smesso di invitarli…
E mi sono reso conto che l’amico ero io, non loro.
Discworld Rules – by Venkatesh Rao – Contraptions
This Discworld Rules is a very interesting article by Venkatesh Rao; it’s rather longish. What caught my attention is this reading map of Discworld books:

Applicazioni da remoto
Oh, dimenticavo di aver già scritto di waypipe, a proposito dei giochi 3d. Quasi 5 anni fa!
Ora la parte noiosa. Spesso mi collego (con ssh, ça va san dire) alle mie macchine di casa da remoto dove è già attiva una sessione “desktop” che oggigiorno è Wayland. Così qualsiasi programma Gnome o che usa le librerie Gtk – cioè moltissimi – verrà visualizzato sul desktop Wayland e non sul dektop remoto.
“waypipe ssh $HOST
” funziona a meraviglia, ma l’aggiunta di queste righe al vostro .bashrc
è utile quando non state usando una sessione Wayland (cioè Windows):
if [ -n "$SSH_CLIENT" ]; then
if [ -n "$WAYLAND_DISPLAY" ]; then
echo "Remote session with waypipe, everything will be OK"
else
echo "Remote session, forcing GTK to X11"
export GDK_BACKEND=x11
fi
fi
Network transparency with Wayland (bis)
Oh, I forgot I already wrote about waypipe, regarding 3d games. Almost 5 years ago!
Now the boring part. If you log into a machine where a Wayland session is already active – I often log into my home machines remotely – any Gtk program will show on the Wayland desktop. So you use “waypipe ssh $HOST
” which is cool and works like a breeze but adding those lines to your .bashrc helps when you are not using a wayland session (i.e. Windows):
if [ -n "$SSH_CLIENT" ]; then
if [ -n "$WAYLAND_DISPLAY" ]; then
echo "Remote session with waypipe, everything will be OK"
else
echo "Remote session, forcing GTK to X11"
export GDK_BACKEND=x11
fi
fi
Pierre
Pierre, una “psichedelica” alternativa a GitHub
27-Year-Old EXE becomes Python in minutes (with Claude) – AI-Assisted reverse engineering « Adafruit Industries – Makers, hackers, artists, designers and engineers!
Reddit post detailing how someone took a 27-year-old visual basic EXE file, fed it to Claude 3.7, and watched as it reverse-engineered the program and rewrote it in Python. It was an old Visual Bas…
You will love Wayfire!
Did you liked Compiz? “Everyone” loved this compositing window manager for the X Window System, with its effects: rotating desktop cubes, windows on fire when created or closed, wobbling when moved…
You will love Wayfire!
Wayfire is a wayland compositor based on wlroots. It aims to create a customizable, extendable and lightweight environment without sacrificing its appearance.
How to download all PDF files linked from a single page using wget
You can use wget to download all PDFs from a webpage by using:
wget -r -l1 -H -t1 -nd -N -np -A.pdf -erobots=off --wait=2 --random-wait --limit-rate=20k [URL]
- -r: Recursive download.
- -l1: Only one level deep (i.e., only files directly linked from this page).
- -H: Span hosts (follow links to other hosts).
- -t1: Number of retries is 1.
- -nd: Don’t create a directory structure, just download all the files into the current directory.
- -N: Turn on timestamping.
- -np: Do not follow links to parent directories.
- -A.pdf: Accept only files that end with .pdf.
- -erobots=off: Ignore the robots.txt file (use carefully, respecting site’s terms and conditions).
- –wait=2: Wait 2 seconds between each retrieval.
- –random-wait: Wait from 0.5 to 1.5 * –wait seconds between retrievals.
- –limit-rate=20k: Limit the download rate to 20 kilobytes per second.
This parameters will avoid the “429: Too Many Requests” error.
Source: How to download all PDF files linked from a single page using wget
imagemagick reduce size of pdf
convert -density 150 -quality 60 -compress jpeg Test.pdf Test-150-060-jpeg.pdf
Claude 3.7 Sonnet: Rivoluzione nell’AI
Claude 3.7 Sonnet: Rivoluzione nell’AI
Scopri le 7 funzionalità innovative di Claude 3.7 Sonnet che trasformano lo sviluppo software con ragionamento ibrido e coding avanzato.
Da ZioBuddaLabs
Chi si ricorda ZioBudda, uno dei primissimi siti di notizie “per smanettoni”? Peccato abbia abbandonato il dominio originale.