๐พ Archived View for gmi.noulin.net โบ tinylog โบ log.gmi captured on 2024-03-21 at 14:59:10. Gemini links have been rewritten to link to archived content
โฌ ๏ธ Previous capture (2024-02-05)
โก๏ธ Next capture (2024-05-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)
Yesterday, I tried accessing one of web server from my mobile phone and it didn't work.
I use http://freedns.afraid.org/ for the DNS, I checked it and it was ok (I have to log on freedns regularly every third month to keep it working).
I connected to the web server from a computer and I was ok (2 days ago wifi was down for the computer).
At this point, the issue is either the mobile network or the modile phone.
I switched to plane mode and then disabled it to reset the modem in the phone.
After that, I could access my web server from my phone again.
It is the first time this happens in 3 years.
I tried Serenity OS today.
After compiling in Debian Bookworm, I get the error:
Warning: ldconfig not found in PATH, assuming virgl support to not be present. # Solved with: export PATH=$PATH:/sbin
Then I get another error:
qemu-system-x86_64: multiboot knows VBE. we don't ...
And it doesn't start.
Honey shrinkflation
Some small C compiler information:
- cproc doesn't have a preprocessor
- chibicc takes only c files as parameters
- tcc (tinycc) can compile libsheepy programs (C11) but they crash on execution and debug symbols (dwarf and stabs) are incorrectly generated so they can't be debug in GDB
It would be good if tcc could compile sheepy programs because it compiles 10 times faster than gcc.
Rob Pike's 5 Rules of Programming
- Rule 1. You can't tell where a program is going to spend its time. Bottlenecks occur in surprising places, so don't try to second guess and put in a speed hack until you've proven that's where the bottleneck is.
- Rule 2. Measure. Don't tune for speed until you've measured, and even then don't unless one part of the code overwhelms the rest.
- Rule 3. Fancy algorithms are slow when n is small, and n is usually small. Fancy algorithms have big constants. Until you know that n is frequently going to be big, don't get fancy. (Even if n does get big, use Rule 2 first.)
- Rule 4. Fancy algorithms are buggier than simple ones, and they're much harder to implement. Use simple algorithms as well as simple data structures.
- Rule 5. Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms, are central to programming.
Pike's rules 1 and 2 restate Tony Hoare's famous maxim "Premature optimization is the root of all evil." Ken Thompson rephrased Pike's rules 3 and 4 as "When in doubt, use brute force.". Rules 3 and 4 are instances of the design philosophy KISS. Rule 5 was previously stated by Fred Brooks in The Mythical Man-Month. Rule 5 is often shortened to "write stupid code that uses smart objects".
https://users.ece.utexas.edu/~adnan/pike.html
So BBC removed the RSS feeds and now I remove my BBC pages.
Old geocities webpages
https://geocities.restorativland.org/
I have an almost 6 year old planet computer gemini. The battery is now dead, it shows 100% and it turns itself off. It is still ok to use it when it is plugged in.
I use yt-dlp to download and save videos. I watch them offline.
http 0.9 is simple.
gemini://gmi.noulin.net/http_0.9.gmi
There is web to gemini proxy looking like Netscape 2.0:
https://www.obsessivefacts.com/gemini-proxy
๐ฌญโ๐ฌโโโโโโโโ๐ฌญ โโ๐ฌนโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ ๐ฌบ ๐ฌญ โโโโโโโ๐ฌน๐ฌน๐ฌน โ ๐ฌปโ โ๐ฌญ ๐ฌญโโโโโโโ โ โโ โโ๐ฌน ๐ฌนโโโโโโโโ๐ฌน๐ฌน ๐ฌป๐ฌบ โ โโ โโโโโโโโโโโโโโ ๐ฌ ๐ฌฆโ โโ ๐ฌ๐ฌ โ๐ฌน๐ฌ๐ฌ ๐ฌโโโโโโโโโโโโโ โโ โโ โโ โ ๐ฌโโโโโโโโโโ๐ฌ โโ โโ โโ โ ๐ฌโโโโโโโ๐ฌ ๐ฌ๐ฌโโ๐ฌญโโ โ โ๐ฌ๐ฌ๐ฌ๐ฌฌโ โโ๐ฌ๐ฌ โ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌโ๐ฌ๐ฌ๐ฌ๐ฌโ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌฐ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌโโ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ ๐ฌ ๐ฌ๐ฌ ๐ฌ๐ฌ๐ฌ๐ฌ ๐ฌญ ๐ฌ๐ฌ ๐ฌ ๐ฌ ๐ฌ ๐ฌ๐ฌ ๐ฌ ๐ฌต๐ฌน๐ฌฌ๐ฌช๐ฌน๐ฌ โ๐ฌ๐ฌญ๐ฌ๐ฌท ๐ฌฆ๐ฌ๐ฌง๐ฌจโโ๐ฌง๐ฌ๐ฌบ ๐ฌ๐ฌด๐ฌก๐ฌจ๐ฌ๐ฌ ๐ฌ๐ฌ๐ฌโ๐ฌ ๐ฌฃ ๐ฌต๐ฌ๐ฌฉ๐ฌป๐ฌบ๐ฌ ๐ฌ ๐ฌ ๐ฌ๐ฌ ๐ฌช๐ฌฎ๐ฌถ๐ฌโโ โ โ ๐ฌง ๐ฌฆ๐ฌ ๐ฌ๐ฌฉ๐ฌ๐ฌน๐ฌ๐ฌ ๐ฌ๐ฌ๐ฌ
OpenAI bot visited my website, from the logs:
23.98.142.176 - - [04/Nov/2023:15:28:40 +0000] "GET /blog/linux/2022/05/25/encoding-videos-in-av1-with-ffmpeg.html HTTP/1.1" 304 0 "-" "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; ChatGPT-User/1.0; +https://openai.com/bot"
๐ฌฃ๐ฌ๐ฌ๐ฌฑ๐ฌ ๐ฌฒ๐ฌ๐ฌ๐ฌฑโ ๐ฌโโ๐ฌ ๐ฌ๐ฌฆ๐ฌ๐ฌฐ๐ฌญ ๐ฌ๐ฌ๐ฌ๐ฌ๐ฌ ๐ฌฆ๐ฌฐ๐ฌก๐ฌถ ๐ฌ๐ฌบโ ๐ฌท๐ฌโ๐ฌท๐ฌ ๐ฌ๐ฌป๐ฌบ๐ฌ ๐ฌด๐ฌ๐ฌ๐ฌฉ๐ฌ๐ฌ ๐ฌ๐ฌถโ๐ฌ ๐ฌ๐ฌฒ๐ฌฃ๐ฌฏ๐ฌ๐ฌ๐ฌ ๐ฌท๐ฌ๐ฌธโ ๐ฌจ๐ฌฌ๐ฌซโโ ๐ฌ๐ฌ๐ฌโ๐ฌ ๐ฌน๐ฌ ๐ฌ๐ฌ ๐ฌ ๐ฌ๐ฌณ๐ฌธ๐ฌบ๐ฌ ๐ฌ๐ฌป๐ฌฐ๐ฌบ๐ฌ ๐ฌโ๐ฌง ๐ฌโโโ๐ฌจ ๐ฌโโโ๐ฌจ โ๐ฌ ๐ฌโ โ๐ฌ ๐ฌโ โ๐ฌ
- Space Invaders
- Manic Miner
- Jetpac
- Berzerk
- This post breaks tinylog (it adds a space character before the last ```)
We had a barbecue outside today near a lake. It was sunny and -2 degrees, the bag of coal was just enough for 6 chicken sticks, the coal burns faster in this kind of weather. Next time I will make a bigger fire.
Amazon, Microsoft and Google ASNs and other clouds
- AS14618 Amazon.com Inc 69,684,224 ipv4
- AS16509 Amazon.com Inc 45,181,952 ipv4
- AS8987 Amazon Data Services Ireland Ltd 815,872 ipv4
https://www.ip2location.com/as14618
https://www.ip2location.com/as16509
https://www.ip2location.com/as8987
- AS8075 Microsoft Corporation 51,657,216 ipv4
- AS3598 Microsoft Corporation 4,450,816 ipv4
https://www.ip2location.com/as8075
https://www.ip2location.com/as3598
- AS19527 Google LLC 1,661,696 ipv4
- AS16591 Google Fiber Inc 2,244,608 ipv4
- AS396982 Google LLC 14,545,664 ipv4
- AS15169 Google LLC 2,251,776 ipv4
https://www.ip2location.com/as19527
https://www.ip2location.com/as16591
https://www.ip2location.com/as396982
https://www.ip2location.com/as15169
- AS16276 OVH SAS 4,464,128 ipv4
- AS35540 OVH SAS 131,072 ipv4
https://www.ip2location.com/as16276
https://www.ip2location.com/as35540
- AS14061 DigitalOcean LLC 3,083,776 ipv4
https://www.ip2location.com/as14061
- AS31898 Oracle Corporation 2,786,816 ipv4
- AS43894 Oracle Svenska AB 210,432 ipv4
- AS4192 Oracle Corporation 193,536 ipv4
- AS14506 Oracle Corporation 172,032 ipv4
https://www.ip2location.com/as31898
https://www.ip2location.com/as43894
https://www.ip2location.com/as4192
https://www.ip2location.com/as14506
- AS24940 Hetzner Online GmbH 2,664,448 ipv4
https://www.ip2location.com/as24940
- AS29447 Scaleway S.A.S 1,507,328 ipv4
- AS12876 Scaleway S.A.S 564,991 ipv4
https://www.ip2location.com/as29447
https://www.ip2location.com/as12876
- AS55990 HWCSNET Huawei Cloud Service data center 938,240 ipv4
https://www.ip2location.com/as55990
Copy the network list to a text file and create an ipset and iptables rules.
gemini://gmi.noulin.net/2023-11-22-using-iptables.gmi
My iphone battery lasts 2 days and before iOS 16 it was last 4 days, so I started change settings to save power.
The system (software updates, Apple ID,...) uses most of the data, since yesterday my iPhone transfered 34.9MB (using it less than 5mn), the system transfered 26.1MB and my apps the rest of it.
- Setting power save mode doesn't change how long the battery lasts
- Turning off mobile internet and wifi doesn't change how long the battery lasts
- Turning off GPS doesn't change how long the battery lasts
The SoC is idle and only bluetooth is on. Maybe the battery loses power just by itself, according to the phone the battery is at 85% original capacity.
I found a telegram channel listing websites under DDOS:
They are DDOSing institution, transport and banking services in countries supporting Ukraine.
HTTP/2 Rapid Reset Attack Vulnerability
https://nvd.nist.gov/vuln/detail/CVE-2023-44487
https://blog.cloudflare.com/zero-day-rapid-reset-http2-record-breaking-ddos-attack/
There is a map of DDos attacks but the data is not updated, it shows 2021-05-16.
https://www.digitalattackmap.com
I created Patate, an ascii art editor for the terminal (linux) using the latest unicode 15.
Available at:
gemini://gmi.noulin.net/patate/
Here is a mandelbrot fractal viewer for the terminal
gemini://gmi.noulin.net/mandelbrot.gmi
Iโve got my librem 5 phone today. I ordered it on the 2021-07-08. I used it for 5 minutes and on startup it asks for disk encryption key and unlock code, it is both 123456.
The password for the purism user is also 123456.
The default interface of Pureos (debian based) is good, it runs Gnome and Wayland.
Source code:
https://source.puri.sm/explore/
https://source.puri.sm/explore/snippets
Forum:
Greg KH: Kernel Recipes 2019 - CVEs are dead, long live the CVE!
https://www.youtube.com/watch?v=HeeoTE9jLjM
Someone connected to my radio station (see below).
I'm not alone :)
Real world onion sites
https://github.com/alecmuffett/real-world-onion-sites
Here is the radio program, it is a chat system using UDP on port 1886 to transmit the message.
The messages are encrypted, each time radio is turned on, new secret/public key pairs are generated and exchanged with the server (radio station).
If you are behind NAT, you should forward port 1886 to the machine running radio, without this you won't get any signal from the radio station.
The UI is in the terminal and works with the mouse like a GUI.
gemini://gmi.noulin.net/radio.gz
http://gmi.noulin.net/radio.gz
To start radio, run:
wget http://gmi.noulin.net/radio.gz gunzip radio.gz chmod 755 radio ./radio
Screenshots:
txt screenshot (download the txt file and use `cat` to view it)
The source code is available at:
gemini://gmi.noulin.net/radio.tar.gz
It is written in C, it depends on:
my sheepy build system and library
The main file is `radio.c`, `radioStation.c` is the server and `radioSignal.*` implements the protocol.
The `twid` (terminal widgets) is the TUI built on my version of termbox.
Make the web great again
https://koshka.love/mwwwga.html
The sheep was too close to the camera.
The EU is going to water down the GDPR.
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.
gemini://gmi.noulin.net/tinylog/4/image.jpg
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.