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)
My sony ericsson phone j105i (2009) is going to stop working because the operators are going to disable 2g and 3g
The sd card is 32gb but the phone shows 2gb. The sd card holds 500h of music/audiobook
I destroyed an old hdd with the dd command.
The hdd was in a dell laptop from 2005, it had ubuntu 2008 and the game gridwars2 installed. I wanted to backup the disk as soon as possible because gridwars2 works only in ubuntu 2008, so I ran dd and piped through ssh.
The disk stopped working after reading 9GB and started to make a strange noise, I was not in front of the computer it happened, when I saw this happening the disk and laptop were very hot (more than 50 degrees). I turned off the computer and now when it doesn't boot anymore and the disk makes a strange noise and it turns itself off after 5 seconds.
I updated a let's encrypt certificate and I have got connections the following IPs:
23.178.112.210 abetterinternet.org Minneapolis Minnesota 18.191.6.27 AWS Ohio 13.60.9.203 AWS Sweden Stockholm 54.187.83.180 AWS Oregon 18.138.58.91 AWS Singapore 139.59.132.8 Digital Ocean Germany Frankfurt
This risc v laptop is pretty nice (ubuntu preinstalled):
https://deepcomputing.io/product/dc-roma-risc-v-laptop-ii/
This game is pretty good
I compiled biolab disaster in debian with these commands:
sudo apt install libsdl2-dev # clone git clone https://github.com/phoboslab/high_biolab cd high_biolab git clone https://github.com/phoboslab/high_impact # git submodule init && git submodule update didn't work # build make sdl # run cd build && ./game_sdl
Last year I created a dump of stackoverflow questions and answers.
There are 3.2 million pages, I had problems indexing this with xapian.
I fixed the issues (it took 4 hours to index everything) and the search engine is available at:
Stackoverflow local search engine (xapian)
There is now a guestbook on my site:
We should use this emoji ๐ง more often in gemini space
Michael Nordmeyer wrote: `Nobody reads tinylogs in 2024`.
I read your tinylogs today :)
There is quite a lot of ascii art in gemini space, I found this:
I'm adding gemini support to my browser `bato`. I'm browsing gemini space to test it.
We slept outside in the forest last saturday. It was 14 degrees(C) and cloudy and since it was the longuest day of the year, it was not dark. I slept with the sleeping bag on my head to block the light. 6-7 crows came at 4am to eat the dinner leftover until 6am, they were fighting and making noise.
I rented a DS 7 (citroen) rechargable hybrid car from hertz.
When I drive normally (in hybrid mode) it doesnโt charge the battery so it runs on gas (in flat areas). The electric motor is used only at low speed in parkings.
I charged the battery on rรฉ island (France) with a 36kw charger on a parking. According to the dashboard, the car can drive 26km per hour of charging, it is too slow. On rรฉ island, most chargers are 36kw (more than 20) and there is one 48kw charger, it must be tough for electric cars.
Payment
I tried to select and pay with the touchscreen on the charger but it didnโt take my credit card (maybe because it is a foreign credit card). So I scanned the QR code on the charging station, it opened a web page and I entered my email and my credit card number and pressed start charging.
The charging station only need the credit card number, taking email is just collecting information for other purposes.
The service is called electromaps and the charging station is called MObiVE.
There was no way to check if the QR code was correct, anynody can stick a QR code on the charging station.
There are 3 types of plugs (CHAdeMO, CCS2 and Mennekes) and the plugs have different power. The CCS2 plugs have the most power in general.
The DS 7 has a mennekes plug.
I couldnโt stop charging with the touchscreen on the charging station, I had to reopen the web page and reenter my email to get a stop charging button on the page.
This car can drive 50km in electric drive mode so it is for commuting only.
I'm using SSH over mobile internet. With 4G, it is very slow and it drops many packets. With 5G, it is fine and responsive.
Lagrange works and elaho doesnโt seem to work. Ssh also works but it is slow with more 1 second latency
Gemini works fine an airplanes. Im somewhere above Germany
Terminal demos:
I rented an electric car (Skoda enyac iV 80) last week in Corsica (France) from Hertz. Hertz didn't tell in advance if the car was ICE (gas) or EV.
I thought the battery performance would be bad while driving in mountains but it was not possible to change because Hertz only rents EV in Corsica.
I had to install an app (e-motum) and create an account to be able to see the location of the charging stations.
I only used 150kw charging stations while shopping for food. Charging 20mn added 25% to the battery level. I paid on the charger with my credit card, same as gas station, no need for an app.
Driving from Bastia (sea level) to Crocicchia (700m) about 30km took 8% batery and driving back charged the battery by about 2%.
I think I could drive between 250km and 350km with one charge. When the car is charged, it shows 550km range, it is optimistic.
This CVE in less is intriging:
https://www.cve.org/CVERecord?id=CVE-2024-32487
When the environment variable LESSOPEN is set and less opens a filename with a newline '\n', it will execute the text after the newline as a shell command.
This is because less uses the shell (with popen) for globbing and didn't escape newline characters.
This security issue is fixed in commit 007521ac3c95bc76e3d59c6dbfe75d06c8075c33 (2024-04-11).
https://github.com/gwsw/less/commit/007521ac3c95bc76e3d59c6dbfe75d06c8075c33
It was introduced in commit 5a9639f09c138cb489ef5d8f8b20fc28b542e37f (2002-01-14).
My IBM Thinkpad laptop from 2003 stopped working 2 days ago. I changed the power supply and it was still not working. Finally, I removed the battery and now it works again! Before the battery died, the laptop could run 5 minutes without power supply enough to move it around plug it again.
1+1=3
I found 2 FPGA GPUs (hobby projects):
This Mega65 (Commodore 65) made of FGPA looks good:
Even the FPGA core is open source.
Another FPGA based toy in the shape of a Gameboy: the analogue pocket
https://www.analogue.co/pocket
Analogue pocket has a Commodore 64 core now:
https://github.com/markus-zzz/myc64
A computer we can assemble at home:
https://geoffg.net/maximite.html
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.