“The reason most public transportation is seen as ‘losing’ money is precisely because it charges for trips. If you don't charge fares, suddenly it can't ‘lose’ money. It just costs money, the same as the roads.”
This random comment has given me my new favourite argument for removing fares from public transit.
STOP DOING THREADS
LOOK at what Mastodon Users have been demanding your Respect for all this time, with all the Fediverse and protocols WE built for them:
(This is REAL Posting, done by REAL Mastodon Users)
“Hello, I would like a 500 character limit please”
They have played us for absolute fools
Bueno, bueno, qué historión nos cuenta aquí @aberron: lleva años empleándose en noticias e incluso en artículos científicos en español el nombre «ratopín rasurado» para denominar a la rata topo desnuda… ¡por culpa de una serie de animación!
ATENTOS ‼️ Muchos medios llevan años refiriéndose a la “rata topo desnuda” como “ratopín rasurado”, un nombre que no solo no es correcto, sino que nació como una broma en la ficción. Des…
Because of ChatGPT generated spam, SF magazines are having to close submissions.
Stop defending or making excuses for ChatGPT and other LLMs. They are corrosive bullshit enriching a handful of rich bastards, enabling grift, and poisoning the commons.
Mañana vienen a buscar estas dos PCs completas con teclado, mouse y monitor.
Son equipos de hace 15 años o más, pero con discos SSD y RAM al máximo, son ideales para tareas web básicas.
CYBERCIRUJAS, unidad básica del software libre.
También conviene mencionar que estos dos equipos consumirán mucha más electricidad que algo más pequeño y moderno y con menos partes móviles.
@angel Todas tienen discos SSD.
Si, es cierta tu afirmación, pero hay que tener en cuenta que el 80% de la huella de carbono de una computadora está en su fabricación, por lo que hay que reutilizarlas todo lo posible.
Además, no nos donan "algo más pequeño y moderno". Cuando tenemos laptops, entregamos laptops, pero si hay PCs, entregamos PCs :)
¡Buenos días Fediverso! Os presentamos el Concurso de Relatos Escépticos que organizan ARP-Sociedad para el Avance del Pensamiento Crítico y Desgranando Ciencia.
Todos los toots participantes serán publicados por esta cuenta. Habrá un premio del jurado y otro premio del público. ¡Ojo! Los votos deben hacerse sobre los toots publicados con esta cuenta.
No olvidéis el hashtag #tootesceptico
¡Todos a participar!
Implementing the MTRETEN ioctl on sd devices (OpenBSD):
Does issuing an eject command to a USB flash drive make it spontaneously fly across the room?https://research.exoticsilicon.com/articles/eject_command_hacking
in case that blog title didn't make it clear: I have high hopes in this new #fediverse. this week i was distressed with a broken modem and someone here spontaneously offered one, which I find unbelievable. let's see what we find with another technical question, you don't even need to send me hardware, just ideas! :)
@Anarcat I have a Thinkpad X1C Gen 9 with a TB3 dock (Gen 2). It's connected to one 4K screen, but should do 2×4K too. No idea if pure USC-C DP-AltMode can do multi-4K. For travel I have a Dell DA300 (there is a newer DA310 out) that is USB-C and can handle 4K@30Hz. And yes, you want to get away as far as possible from DisplayLink.
There is also a tower and k(no v)m switch involved (old post about the desk at https://www.die-welt.net/2020/06/show-your-desk/ and switch https://www.die-welt.net/2021/01/building-a-simple-kvm-switch-for-30eur/ )
@zhenech i remember reading that post! you had mixed feelings about that dock.. did that change? how do you feel about the portable dock?
@Anarcat the mixed feelings were about the Gen 1 dock (with the T480s), after the upgrade to G2 I can recommend it!
The travel one is useful if you need video output the laptop doesn't offer (mine only has HDMI natively) or Ethernet (something something laptop too slim). It doesn't give *many* USB ports (mine has 2, the DA310 has 3), but that wasn't a concern so far.
@Anarcat I don't have a suggestion, but I'm interested in whatever you find out, so please blog/post about it when you do.
A question, though, for clarification, because it seems the technical limitations differ based on the answer: do you want the dock to be connected to the laptop over the USB protocol, or is Thunderbolt OK?
@liw whatever works with the framework laptop. I believe thunderbolt is actually a must have, so that the dock has good enough capabilities, in fact. as long as it's usb-c
@Anarcat My understanding is that Thunderbolt uses the USB-C connector, but talks the Thunderbolt protocol over that. There are non-TB docks with USB-C that only talk USB protocol, and this may limit some features. However, USB-C (usually) supports DisplayPort, and with the MST extension, can support multiple displays too.
But it's all complicated.
(My work laptop has an AMD CPU, and thus no Thunerbolt, so this topic interests me. But I'm not an expert on this.)
@liw @Anarcat it's complicated indeed. Many (not all) USB-C only docks don't do DP-AltMode (esp for multi-monitor) but contain a DisplayLink chip and use that for video output (because, in theory, that allows to drive more/bigger screens over a single USB connection). Sadly, DisplayLink under Linux has roughly the quality of fglrx (y'all should be old enough to remember).
see this is why I am asking for hands on experience: I doubt I'll be able to spec my way out of this, it's too complicated and fluctuating. what I am looking for is an actual Sway (or wlroots?) user that has an actual multi monitor setup over a usb-c cable (TB, DP, or whatever). surely such a precious perl exists out there?
@liw @Anarcat No guarantee of anything on a USB-C port; I have a laptop that *only* does USB on its. Looks like the latest Framework laptops (12th gen) do full Thunderbolt in which case I can fully recommend the Caldigit TS4 as a single cable docking solution for dual monitors that Just Works with Linux (including updates via fwupd).
I probably missed you mentioning it, but... have you considered using Bluetooth for the headset, keyboard and mouse? That would leave three A ports free.
@Anarcat Not sure, if you find them in Canada, but I heard some good reports about docks from i-tec (https://i-tec.pro/en-us/products-9/?catg=docking-stations-en-us). They seems to have a lot of docks with DP-AltMode.
@Anarcat I have the Anker 565 USB hub, I think it ticks all your boxes:
I never tried it with 2 4k monitors, I doubt that you can do 60Hz in both at the same time.
@berto hmm... not sure it would scale up to the bigger monitor, but that's certainly a promising (and much cheaper!) alternative to what i've seen so far!
@Anarcat I just checked the website, with two monitors it can do 2K@60Hz, not more than that, but there's only so much that you can do with USB 3, and I think that thunderbolt docks are much more expensive.
@Anarcat I have a Thinkpad X1C7 with a thinkpad USB-C dock G2, got it for €50 on LeBonCoin, includes a 90W power-supply (the PSU is not USB-C, but square Thinkpad plug). Works great, is small, no issue.
For the charger I would have gotten this from Harman: https://www.infinitylab.com/wall_chargers/INSTANTCHARGER-65-.html
But it wasn't available in France last year, so I got something similar, the HyperJuice 66W, but I'm not satisfied of the international plug that goes on it, it unclips too easily, it would be easy to lose the adapter
the *dock* part of this, however, is a pure nightmare. i'm starting to think it's just impossible to have a dual HDMI/analog dock with USB-C and power delivery all at once, and that BMOW post from @berto seems to agree. the "cable matters" dock station seem to suggest they are compatible with "linux" but are basically *all* out of stock: https://www.cablematters.com/Cable-Matters-Docking-Station.aspx
I ended up ordering that Cable Matters dock as it was in stock on Amazon (shame). turns out it even works! kind of. on a fresh boot, it does *everything* the two monitors, network, USB, even the audio jacks work (and without noise!) it's awesome. but after a resume, everything but the monitors comes back up. anyone knows what up with that? how do you debug a missing monitor anyways? it's just not there?!
Es un buen día para cambiar la contraseña de Reddit, si tienes cuenta ahí. Yo aún lo uso porque (tristemente) es lo más parecido a Usenet que hay ahora mismo.
OpenBSD Guide to Configuring Tor Relays:
Also applicable to other server software that need a lot of file descriptors for network connections or whatever.
Summary: increase the
openfiles value in
/etc/login.conf and the global kernel number with something like
I enter the Library of Books You Read As A Child.
"Do you have... er. It was green, and there was a girl and a dog, and..."
The librarian nods.
"Of course. Which version do you want?"
"The one you read, with all flaws you didn't notice, or the one you remember loving?"
#MicroFiction #SmallStories #TootFic
The oft-forgotten, but useful tcpdrop(8) command accepted:
# tcpdrop 192.168.5.41 80 192.168.5.1 26747 # space
# tcpdrop 192.168.5.41:80 192.168.5.1:26747 # colon
It now also accepts a 3rd syntax, compatible w/ netstat(1) output:
# tcpdrop 192.168.5.41.80 192.168.5.1.26747 # dot
Great to know! Being the 80's, It would have been strange if a song wasn't about mutual annihilation via nuclear weaponry. Those were the days, we were on a verge to die as a puff of dust or by radiation posioning every single day.
I'm from Spain and knew about the song in German, didn't remember there was an English version.
On the PNG format:
Please enter your username.
Please enter your password.
Thanks! For your security, please enter your 2FA one-time token.
You haven't signed in in a while. We've sent a confirmation code to your phone.
We don't recognize this browser. Please enter the security code we sent to your email.
Is your phone number up to date? Please confirm it by entering the code we just sent.
Did your email change? If not, please call the phone number we emailed to you, then enter the number read to you.
Just to be sure it's you, we've gotten in touch with your mom. Next time you see her, please enter the six-digit code she gives you.
Madre mía. Aparte de la información que se envía (interesante) acabo de aprender que: las balizas conectadas serán OBLIGATORIAS desde 2026, que van a costar entre 50 y 60 euros y que (cómo no) tienen una vida limitada en el tiempo (entre 12 y 15 años), por lo que vamos a tener que soltar la panoja de forma periódica.
QUÉ BIEN 😠
Generating Platonic Solids in C++ (2021)
Se suspende el XXIX Concurso de Cómic de Torrelavega porque el único trabajador que puede abrir el email con la información del evento está de baja:
😆 😆 😆
You can edit your own posts from now on.
Fixed the breakage of Emojis I introduced when implementing HashTags because I am a moron.
Added adaptative timeouts when sending messages to other instances.
Sorry, I forgot to mention in my previous message that the output I copypasted was not from a VM, but from a real computer under my desk.
In this very same machine, I get the error
procmap: /dev/mem: Operation not permittedno matter the option I give to
procmap. I vaguely recall this command working in the past.
I see similar numbers:
angel@lucifer:~$ sysctl hw | grep memI always took for granted that
angel@lucifer:~$ top | grep Memory
Memory: Real: 98M/4030M act/tot Free: 3779M Cache: 3116M Swap: 0K/4088K
topoutput was to be interpreted as 'Real:' + 'Free:' = total memory, but now I'm deep in a sea of doubt 😕
Ni el núcleo terrestre se ha parado ni está girando al revés ni hostias en vinagre:
It's made to be the most readable possible, there is a nice PDF explaining how they did https://brailleinstitute.org/wp-content/uploads/2020/02/BIA_AtkinsonHyerlegible-Specimen_200210.pdf
Saving your offline server with... irssi!
Adivine usted dónde y con qué me estrellaré próximamente | Más solo que la una https://esferas.org/msqlu/2023/01/16/adivine-usted-donde-y-con-que-me-estrellare-proximamente/
You are very right. Copyright years in my source code are always a mess, sometimes they lag for six months or more.
Daniel Stenberg, of the #curl tool and library fame, wrote not long ago an article  wondering if years in copyright notes are mandatory or not... His conclusion was to delete all year mentions. I'm not sure if he's right; I'm going to keep them by now (updating them, of course).
Thanks for your help.
I'm happy to announce version 2.18 of snac, the simple, minimalistic ActivityPub instance server, including the following changes:
Added support for #HashTags (they are not internally indexed yet, only propagated to other instances).
Added support for OpenBSD enhanced security functions
pledge() (contributed by alderwick).
The purge ttl for stray global objects has been shortened.
In the HTML interface, don't show the collapse widget for non-existent children.
Added support for HTTP signature pseudo-headers
(expires), that are used by some ActivityPub implementations (e.g. Lemmy).
When replying, the mentioned people inherited from the original post will be clearly labelled with a CC: prefix string instead of just being dropped out there like noise like Mastodon and others do. (I hope) this will help you realise that you are involving other people in the conversation.
¡Parece que La pizarra de Yuri ha vuelto!
El choque de civilizaciones interplanetarias del Dr. Hawking:
I don't see any threat here. They've written their own implementation of #ActivityPub that doesn't connect outside their network, well OK for them. They could have implemented any other protocol to connect their servers between. Why should we care, and what difference does it make for the Fediverse?
Jon Corbet (LWN.net) on the AI crap that is waiting for us in 2023:
Perhaps this flood of content will prove beneficial [...]. But that outcome does not seem highly likely in the near future. Instead, we're likely to see code submissions from "developers" who do not understand what they are posting; this code could contain no end of bugs and, potentially, license violations. Cut-and-paste programming has long been a problem throughout this industry. It is far from clear that automating the cutting and pasting is going to improve the situation.https://lwn.net/Articles/918790/
AI-generated text has its own challenges. Our mailing lists and forum sites do not lack for people trying to appear authoritative on subjects they do not really understand; how many more will show up when it is easy to get a machine-learning system to produce plausible text with little effort? Even the most ardent believers in the "last post wins" approach to mailing-list discussions will get tired and shut up eventually; automated systems have no such limits. How long until we have a discussion on, say, init systems that is sustained entirely by bots?
I'm thinking about adding some new features to
snac, the minimalist ActivityPub server written in C. As these features are opinionated and probably even controversial, they will be off by default. These are the ideas:
First, add an option to automatically drop all announces (boosts). Unless your affinity with the people you follow is deep, boosts are just (usually) tangentially interesting, probably flooding your timeline and just forcing you to spend more and more time inside the social media space. A variant of this would be to make this option not global, but by actor, so that you can 'boost-mute' only those adorable but annoying fellows that are particularly trigger-happy to the boost button (implementing the option this way is more work for me, but not that much).
Second, add an option to drop all messages that are not public nor mentioning you. That is, filter out those infamous 'follower-only' messages. People use to engage in these follower-only conversations, so you only receive these chat fragments without context (unless you also follow all the people involved) and they are purely noise. In my opinion, follower-only messages are a very bad idea that just pollute the space (and this is why
snac doesn't implement them and never will).
Third, add an option to drop all replies to your messages from people that you are not following. This would prove useful for very popular, mostly announce-only accounts. I agree that it's a bit elitist and probably toxic, but also helps in spending less time inside the social networks and more time painting or writing or taking the dog for a walk.
What do you think?
If you program in C, you've probably used what is called the ternary operator a million times in expressions like this:
value = user_value ? user_value : default_value;Where you test
user_valueand, if it's non-zero, you store it in
value; otherwise, you set
What you may not know is that, thanks to a gcc (and others) extension, you can abridge that expression to this:
value = user_value ?: default_value;This ?: thing is colloquially named the 'Elvis' operator (if you don't see why, just look at it with you head slightly slanted to the left).
Running Any Distro on Debian
Me, any time I do something wrong from now on: "PLEASE DO NOT ATTACK ME. An AUTHOR has TOLD a STORY."
(From here: https://upstreamreviews.substack.com/p/not-dead-yet )
Mutually Assured Engagement (Why Social Media Conflicts Are Disguised Collaborations):
Modern C for C++ Peeps:
I find the article interesting not only for C++ "peeps", but for us greybeard C programmers as well, who learnt the language in the eighties. Remarkable sections in the document are:
- Use struct wrappers for strong typing (I've never done this, but it's interesting; accessing the components inside the structs may become a bit tedious, though).
- Initialization in C99 (I haven't used this to its full potential).
- Don’t be afraid to pass and return structs by value (as an old fart, I always pass pointers to structs, and this section reasons otherwise for small structs).
- Named optional arguments (or, as the author more accurately describes this, the "option bag").
Researching mines in northern Spain I came across this curious object. It's a canary cage designed to keep the canary alive in the event of a gas leak. If a miner saw the canary laying at the bottom of the cage it was time to abandon everything and leave the mine, but not without first closing the latched glass door and opening the valve of the oxygen bottle to save the bird. A miner would do that on their way out and take the bird with them. It's a signifier of the miner's legendary sense of solidarity, no lives lost to the mine on a miners watch. A solidarity that was also crucial in the fight for workers rights, creating safer and more humane working conditions, achievements of unionization and solidarity that some of us still enjoy today.
Giger’s first alien: Swissmade: 2069
The short film is available from here:
@emilymbender There is a demand for low-background steel, steel produced before the nuclear tests mid century, for use in Geiger counters. They produce it from scavenging ships sunk during world war one, as it's the only way they can be sure there is no radiation.
The same is going to happen for internet data, only archives pre-2022 will be usable for sociology research and the like as the rest will be contaminated by AI nonsense. Absolute travesty.
TIL that there is something named linker optimization that forces the deletion of unused functions in your final executable. As a bonus, you get the list of unused functions as compiler warnings (dead code is always bad, so you get the change to delete them or comment them out).
If you have a standard build system, do the following:
make CFLAGS="-ffunction-sections -fdata-sections" LDFLAGS="-Wl,--gc-sections -Wl,--print-gc-sections"
In praise of Plan 9 (Drew DeVault):
Sam Bankman-Fried, el pájaro este que estafó miles de millones de dólares con su criptochiringuito FTX y que se fugó del país, ha sido puesto en libertad bajo fianza.
Esto nos recuerda dos cosas: que los EEUU son un país de chichinabo y que el sistema de fianzas es otro castigo para pobres.
Mi relato UN ÁRBOL CON VISTAS fue finalista del premio Domingo Santos 2022 de Relato. El género es realismo mágico.
La entidad convocante (Pórtico, Asociación Española de Fantasía, Ciencia-Ficción y Terror) ha publicado el ganador y los finalistas en un libro electrónico que se puede descargar desde aquí:
Espero que os guste.
Es laísmo es andaluz, se extendió a Castilla-La Mancha hasta Madrid.
Es gramaticalmente incorrecto.
No es como el leísmo que se considera un cultismo para Objeto Directo de persona masculina.
Los acentos al hablar son todos correctos.
El español castellano más "puro" es el de Valladolid y Burgos. Es como la Received Pronunciation del inglés británico o el Parisino del francés hexagonal.
Los catalanes y gallegos no son laístas. Y los vascos solo algo leístas.
Linux's strcmp() For The m68k Has Always Been Broken:
The m68 hand-written assembler version of strcmp() has always been broken: it returns the difference between the first non-matching byte done as a 8-bit subtraction.https://www.phoronix.com/news/Linux-m68k-strcmp-Always-Broken
That is _almost_ right, but is broken for the overflow case. The strcmp() function should indeed return the sign of the difference between the first byte that differs, but the subtraction needs to be done in a wider type than 'char'. Otherwise the ordering isn't actually stable.
Challenging algorithms and data structures every programmer should try - Austin Z. Henley
TIL that most video processing tools accept as a valid input stream a set of concatenated PPM  files, so you can generate video from your own programs easily. You just have to pipe your program's output to the appropriate tools (indicating the FPS) like
./fancy-prg | mpv --no-correct-pts --fps=$FPS -or
./fancy-prg | ffmpeg -i - -r $FPS video.mp4 https://en.wikipedia.org/wiki/Netpbm_format
Oh, that's so good.
Actual artists on Artstation, fed up with AI generators scraping their work, started posting "no AI" logos (the classic circle with a line through it) in protest.
And since "trending on Artstation" has become a common prompt among AI users, their results are all getting contaminated, as the algorithm just assumes the logos are part of the image. They're all upset about the "attack" now.
Run Your Own LastPass on Hardened OpenBSD
I've just released version 2.15 of
snac, the simple, minimalistic ActivityPub instance server. This time is mostly bugfixes:
Fixed bug in message posting that may result in 400 Bad Request errors (contributed by tobyjaffey).
Fixed crash and a deletion error in the unfollow code.
Added configuration files and examples for running snac with docker (contributed by tobyjaffey).
Serve /robots.txt (contributed by kensanata).
Use the Fediverse sparingly and wisely.
"Earlier this year, many people with Argus optical implants – which allow blind people to see – lost their vision when the manufacturer, Second Sight, went bust.
"Nano Precision Medical, the company's new owners, aren't interested in maintaining the implants, so that's the end of the road for everyone with one of Argus's 'bionic' eyes. The $150,000 per eye that those people paid is gone, and they have failing hardware permanently wired into their nervous systems.
"Having a bricked eye implant doesn't just rob you of your sight – many Argus users experience crippling vertigo and other side effects of nonfunctional implants. The company has promised to 'do our best to provide virtual support' to people whose Argus implants fail – but no more parts and no more patches."
Just noticed that @grunfink's #SNAC (https://codeberg.org/grunfink/snac2, Social Networks Are Crap, a simple, #minimalistic #ActivityPub instance written in #C → #Fediverse) is now available in #Debian Experimental: https://tracker.debian.org/pkg/snac2
Never heard of it before, but having a Mastodon-compatible instance packaged in Debian is great. So maybe time for my own instance? 😁 Will at least toy around with it. The question is on which host. But I suspect my Raspberry Pi running Debian Unstable will do. 😎
I'm proud to announce version 2.14 of
snac, the simple, minimalistic ActivityPub instance server, that include the following new features and fixes:
Previous posts in the public and private timelines can be reached by a "More..." post at the end (contributed by kensanata).
Clicking the 'Like' and 'Boost' buttons don't move the full conversation up; after that, the page is reloaded to a more precise position. Still not perfect, but on the way.
New command-line operation,
resetpwd, to reset a user's password to a new, random one.
Added a user setup option to toggle if sensitive content is shown or not by default (contributed by kensanata).
All images are loaded in lazy mode for a snappier feel (contributed by kensanata).
Fixed crash in the data storage upgrade process when debug level >= 2 (contributed by kensanata).
Log message improvements for excelence (contributed by kensanata).
The logging of "new 'Delete'..." messages has been moved to debug level 1, because I'm fed up of seeing my logs swamped with needless cruft.
Don't show the 'Boost' button for private messages.
Added (partial) support for /.well-known/nodeinfo site information. This is not mandatory at all, but if you want to serve it, remember that you need to proxy this address from your web server to the
Some internal structure improvements.
7 pro tips for using the GDB step command | Opensource.com
Picks of the Day:
➡️ @Hamish - Live streaming about fun topics, serious topics, music, movies, gaming and more
➡️ @ncoca - Freelance journalist covering Asia, especially human rights, sustainability, environment
➡️ @nonamenosocks - Beautiful animated pixel art accompanied by original ambient music
➡️ @catsalad - Computer security, privacy and corny humour
➡️ @veronicaexplains - Videos about retro computing and modern libre software
More follows at https://fedi.directory
Drowning in AI Generated Garbage : the silent war we are fighting:
The algorithms are already feeding themselves on their own data. And, as any graduate student will tell you, training on your own results is usually a bad idea. You end sooner or later with pure overfitted inbred garbage. Eating your own shit is never healthy in the long run.https://ploum.net/2022-12-05-drowning-in-ai-generated-garbage.html
@firstname.lastname@example.org here it's another one (this one also talks about roles and principals):
It's the old EEE (Embrace, Extend & Extinguish) tactics used by Microsoft and other perverse corporations since forever, but I don't see a real problem. To follow:
6. Concerned Tumblr users get upset and abandon it towards free, ActivityPub-enabled software platforms
7. Other users don't care shit and keep using Tumblr
8. Tumblr screws it with usual bigtech behaviour like of them do and annoy users that move to step 6
This is totally crazy:
"With our extremely linear history, the first commit in a repo hash a hash that starts withhttps://westling.dev/b/extremely-linear-git
0000000, the second commit is
0000001, the third is
0000002, and so on!"
"There is no way to easily create content with the desired prefix (that would prevent the whole point of checksums). So we only have one option: testing many combinations of junk data until we can find one that passes our criteria."