handmade.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
handmade.social is for all handmade artisans to create accounts for their Etsy and other handmade business shops.

Server stats:

35
active users

#posix

0 posts0 participants0 posts today

When was the last time that you ran

`dmesg|less` on your linux system?

You **NEVER** did?

You dont know what you are missing my POSIX dweller!

Look at the awsome input to your brains!!!

Of course you should first run

`man dmesg` since you should not trust a command which uses sudo from a stranger on the internet

man7.org/linux/man-pages/man1/

<< dmesg - print or control the kernel ring buffer

Yes on debian based machines, for some odd reason you are not allowed to run dmesg anymore as a regular user, so I run

`sudo dmesg|less`

Now you know what dmesg does, run it and learn to the bit, what happens on your linux machine when you cycle through the POST sequence

#POSIX#Linux#dmesg

Are you just like me? Do you want to make fantastically beautiful posts and not be limited by a silly 500 character fence, but want to BANG intricate stories of 10.000 characters?

Don't be limited by those silly 500 character servers!

Browse over here, find an instance that's suitable to you and go there. The list doesn't have everyone who has that massive 5,000 character size, but the list has a lot of servers, so pick one, choose one, and go be the literary giant that you are!

And yes there are servers which have a fantastically glorious 10,000 character limit!

@altbot @FediTips

fedi.garden/tag/larger-post-si

Google keeps on pushing AI on us thinking that we are not watching. With the latest Google device update a client for the Gemini LLM was installed without permission. Even when you repetitively remove The chat in your bloody SMS program {Google messages} that program keeps on inserting itself Ad Infinitum on your Android device

Replied in thread

@ClickyMcTicker @pearl @geerlingguy

From scratch should (and would) be possible if said #configuration isn't just proprietary bs but actually following a documented syntax akin to any proper #configuration.

  • I assume this is NOT the case cuz otherwise you'd not offer said job.

Not to mention #vendors prefer #siloing amd #Enshittifying products, so having #InterchangeableFormats goes against their primary #commercial interests.

Sadly it's more #unrealistic to see such standardization to happen than #YAML being replaced by #YADL...

en.m.wikipedia.orgNewline - Wikipedia
Nice just worked out how to convert my ssh-askpass bash script to a posix sh script ssh-askpass.sh.

In bash it was :

#!/usr/bin/env bash
# Remember to export SSH_ASKPASS=~/.local/bin/ssh-askpass in your .bashrc
RESULT=$(pinentry-curses --ttytype=xterm-color --lc-ctype=en_US.UTF8 --ttyname=/dev/tty <<END | grep -E '^(D|ERR)'
SETDESC Enter your SSH password:
SETPROMPT
GETPIN
END
)

if [ "$RESULT" == "ERR 111 canceled" ]; then
exit 255
else
echo ${RESULT:2:${#RESULT}-2}
fi
In sh it is:

#!/bin/sh
# Remember to export SSH_ASKPASS=~/.local/bin/ssh-askpass.sh
RESULT=$(pinentry-curses --ttytype=xterm-color --lc-ctype=en_US.UTF8 --ttyname=/dev/tty <<END | grep -E '^(D|ERR)'
SETDESC Enter your SSH password:
SETPROMPT
GETPIN
END
)

if [ "$RESULT" = "ERR 111 canceled" ]; then
exit 255
else
length=$(printf "%s" "$RESULT" | wc -c)
length=$((length))
echo "$RESULT" : '..' | cut -c 3-"$length"
fi
It might not be perfect but it works for me. #RunBSD #FreeBSD #Posix

#TIL #Linux has a fourth timestamp field on files: `btime' or birth time or when the file was created. (As distinct from ctime, around in #Unix since the 1970s, which is when the i-node was last changed--file contents or metadata--even though some people still get confused and think c stands for create.)

Since it's beyond #POSIX, stat(2) doesn't return it; Linux-specific statx(2) does. stat(1) prints it.

Useful for forensic debugging, which is how I stumbled on it.

Interesting point made by a friend: utility long-options (GNU style) are useful as documentation in Shell scripts. Is this something people generally do when operating in GNU environments? I think it's a solid argument, yet because it is non-standard makes me feel a bit uneasy to recommend.

Instead of awk -F or sort -f use --field-separator and instead of cut -d use --delimiter.

Interested in opinions on that.

#shell#linux#posix

I am not certain if I shared this, but #SmartTV are almost #TrojanHorses in your home

You have to air gap them, or use something like pie hole in order to be safe from these devices phoning home without your consent. The data harvesting in Smart tv's is so ridiculous, that the FCC is getting involved

#InfoSec #programming #ClosedSource #PieHole #OpenSource #POSIX

arstechnica.com/gadgets/2024/1

Ars Technica · Smart TVs are like “a digital Trojan Horse” in people’s homesBy Scharon Harding