💾 Archived View for gmi.noulin.net › tinylog › log.gmi captured on 2023-07-22 at 16:15:46. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-07-10)
-=-=-=-=-=-=-
This tinylog is available only on gemini.
Tinylog is specified on Barcardi55's site:
author: @remy
avatar: 🐑
licence: CC-BY-NC-SA (Attribution, Non-Commercial, and Share Alike)
The sheep was too close to the camera.
The EU is going to water down the GDPR.
gemini://gmi.noulin.net/mobileNews/6677.gmi
Compiling spartclient in alpine:
apk add gcc apk add musl-dev gcc spartclientudp.c -o spartclientudp
gemini://gmi.noulin.net/spartclientudp.c
Virt manager: Error starting domain Requested operation is not valid network default is not active
Run:
sudo virsh net-start default
How to generate a qrcode in utf8 to be displayed in the terminal?
qrencode -t utf8 "text"
I'm using gneto. Gneto is a personal HTTP proxy for the Gemini protocol.
I use gneto because I have an iPad 2 and there is no gemini client.
The source code is available at:
There are pre-build binaries at:
https://paulgorman.org/software/gneto/
Start the proxy like this (default port is 8065):
./gneto -addr 192.168.1.1
On the web browser, enter the address:
http://192.168.1.1:8065/
and start browsing gemini pages.
How to build dukling-proxy:
sudo apt-get install golang git clone https://github.com/LukeEmmet/duckling-proxy cd duckling-proxy openssl req -new -x509 -nodes -out duckling.crt -days 10000 -keyout duckling.key -subj "/CN=duckling.proxy" -newkey rsa:4096 make
I run duckling like this:
~/bin/duckling --serverCert ~/bin/duckling.crt --serverKey ~/bin/duckling.key --port 1966 --address 192.168.1.1 --emitImagesAsLinks
With emitImagesAsLinks, the images are viewable in lagrange.
I get a warning on FreeBSD when I compile a C file which include a precompiled header.
sorry, unimplemented: PCH allocation failure
I use gcc:
gcc version 12.2.0 (FreeBSD Ports Collection)
It doesn't compile successfully, lots of symbols are not found.
When I delete the precompiled headers, it is ok.
strlcpy is in glibc!
commit 454a20c8756c9c1d55419153255fc7692b3d2199
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Jun 14 18:10:08 2023 +0200
Implement strlcpy and strlcat [BZ #178]
These functions are about to be added to POSIX, under Austin Group
issue 986.
The fortified strlcat implementation does not raise SIGABRT if the
destination buffer does not contain a null terminator, it just
inherits the non-failing regular strlcat behavior.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
I created a spartan TUI browser for terminals in linux.
bato.gz (gziped elf executable)
bato displaying a markdown file
Use gemget to download bato:
gemget gemini://gmi.noulin.net/bato.gz or wget http://gmi.noulin.net/bato.gz (works from networks not infested by botnets)
It can display gemtext and markdown (.gmi and .md) on remote servers and in local paths.
(it is an alpha version, not tested, I have only time to correct bugs)
I found an interesting article about GNUnet GNS (distributed DNS)
gemini://gemini.clehaxze.tw/gemlog/2023/06-11-introduction-to-gnunet-gns.gmi
Daft Punk likes the Apple Vision Pro.
Configuration of the email to tinylog tools:
- getmail to download the email
Create the file ~/.config/getmail/getmailrc, with this content:
[retriever] type = SimpleIMAPSSLRetriever server = example.com username = user@example.com password = !@#$@#$ [destination] type = Maildir path = ~/mail/ [options] read_all = False
- ripmime options
ripmime -i ~/mail/emailFile -d ~/emailParts
The email parts are written to the ~/emailParts directory.
- imagemagick options
convert sourceImage.jpg -auto-orient destinationImage.jpg
This rotates the photo 90 degrees when it is taken vertically.
- exiftool options
exiftool -EXIF= image.jpg rm image.jpg_original
This removes the exif data: location, time,...
We take the bus boat today 🛥️.
I found an arcade machine in my hotel.
Chart of the Week: Housing marker risk indicators (IMF)
There is a higher risk in: Canada, Australia, Luxembourg, Norway, Sweden, Netherlands and USA.
My tinylog has been added to the aggregator
Is it automated?
I use a string of tools on the server to post tinylogs by email:
- getmail to download the email
- ripmime to extract mime parts for the email, I get one file per part
- imagemagick to rotate the images
- exiftool to remove the exif data
My tinylogs posted by email support photo attachments.
My first tinylog created by email.
I changed gmnisrv to accept control codes in queries.
Now it is possible to post tinylogs with new lines in CGI
The CGI posts have to be on one line for now.
Lets post a tinylog from CGI
I post logs from the terminal
A log with multiple lines.
I write the text with vim and then call a script to update the tinylog
Now I'm using gemget to download files from gemini site, it works like wget
https://github.com/makew0rld/gemget/
Tinylog is interesting
Hello.