An interpreted, multi-paradigm, high-level, general-purpose programming language. You need Rust to build it.
A compiled, multi-paradigm, high-level, general-purpose programming language. You need Python to build it.
An interpreted, multi-paradigm, high-level, general-purpose programming language.
Do I need, uhm, Perl to build it?
No, but you need Perl to build Rust.
I knew it. What's Perl?
An interpreted, multi-paradigm, high-level, general-
Hoy he dicho que la cafetera italiana es un invento que está a la altura del botijo: Sencillo, sin tecnologías raras, con un montón de física detrás, y que cumple su misión con creces.
Porque hay muchos intentos, pero no llegan a la altura del botijo. Ni de la cafetera italiana.
There’s only a few of us who are still at it. Svengoolie should probably be higher on this list. WDYT?
It's expensive to be poor. It's ironic but true. You get charges and fees for everything. Higher interest rates. Overdraft fees. Late fees. Having only enough to buy what you need right now instead of buying in bulk. Losing your job because you can't afford to get your car fixed. Losing your car because you don't have a job. Even your mental faculties are drained, as you are forced to continually eat low-nutrition foods, "sleep" in miserable conditions, and be exposed to toxins and lack of medical treatment. The lack of liquidity wipes you out. Life really does kick you while you're down.
You can't tell someone trapped in that vicious cycle to "just" get a job or "just" make responsible decisions. Sometimes, no amount of good decision-making can stop the vortex sucking them down. So the next time you are tempted to place moral judgment on someone who lives in poverty, think twice.
Signed, someone who has been both a Have and a Have-Not.
If you could only drink one beer for the rest of your life, which would it be? And why? #beer
If that hideous day ever happens, that beer would be an Andechs' Brewery Bergbock Hell . Why? Hard to tell, personal favourite. I find bockbier types the most tasty, smooth and at the same time strong beers.
If these gems were not available for me, I would also be happy drowned in belgian Kaiser Karel, american Spencer Trappist Ale or german Hofbräuhaus.
I am not the internet police, but I think it would be better for people who write masto api clients to not refer to them as generic activitypub clients. Did you even read the page title of the spec you implemented?
I totally agree, I still haven't found any real ActivityPub client.
Does #honk support the C2S ActivityPub protocol?
I've tried AndStatus and, when you try to create a pure ActivityPub C2S account, the first and only thing that it does is to send an OAuth request to the server, which is very wrong.
I think @firstname.lastname@example.org is speaking about a very similar experience.
#Embroidery picks of the day:
➡️ @virtuosew - Creates beautiful, intricate works of handmade embroidered art
➡️ @Felixthefemale - Fibre artist making modern embroidery, as well as yarn spinning, knitting, crochet and sewing
➡️ @stitchsprout - Cross stitch designer and illustrator, creates bright colourful works in the style of pixel art
➡️ @inkstitch - Video tutorials for using Ink/Stitch, the embroidery design extension for the drawing software Inkscape (in German & English)
I was part way through when I posted that link and the video just got wilder and wilder and I'm not sure what I watched but I went on a journey for sure
It's strange how anachronisms can creep into your speech when you get old enough. "Waiting by the phone", you know how many people have done that in the last decade? None people, that's right.
In spanish Spanish we still use to say "tira de la cadena" (literally, "pull the chain") for flushing the toilet, because in the past there was very common to have the toilet water deposit high and you emptied it by, well, pulling a cord or chain. These things have been replaced almost everywhere by button-triggered ones at waist level, but the expression still remains (used even for young people who had never "pulled the chain" to flush the toilet).
Are you making these design mistakes on your blog?
El artículo tiene de título «¿Estás cometiendo estos fallos de diseño en tu blog?», pero sin embargo está estructurado no como una lista de esos supuestos fallos de diseño, sino como una lista de cosas que sí tienes que hacer 🤦
so YC posted a petition to get a goverment bailout for SVB, and the #HackerNews post for it attracted so many people telling them to go jump in a lake that YC flagged it right off their own website
@joeyh Wait, what? That can't be right. Y Combinator, and by extension Hacker News, is a bastion of objectiveness, fairness, honesty, and freedom of speech.
before they flagged it away, they retitled it from "YC Is Asking for a Bailout" to "Ugent: Sign the petition now"
( HN has a pervasive habit of retitleing anything that is at all critical of them or any established company to something anodyne. They have various specious justifications and policies about it.)
@joeyh I really like the *idea* of the "use the original title and stop making your own shit up" rule, but it turns out many authors of things that are linked to are really bad at descriptive titles.
Like, opinions on this specific nonsense aside, a petition for what? You can't just tell me to sign a petition now without saying what I'm petitioning for!
They often change things away from the original title when the original title was extremely descriptive.
If "goto considered harmfull" were posted to HN for the 1st time today, it would be retitled to "proposed control flow process improvement"
I literally saw an retitleing analagous to that last Friday.
@joeyh I'm not surprised at the result, given that the request came from Gerry Tan himself. But as a unapologetic capitalist myself, I find it fairly hypocritical and gobshite to act like some high concept John Galt cosplayer all the time except when you need a bailout, at which point you become an overpriced welfare Queen with a sense of entitlement. The sooner the ferrets of Wall Street (and Sand Hill) learn that lesson the better the overall system will become.
The entire compiled implementation on macOS for version 2.24? 230737 bytes (approx 231KiB). Also has minimal dependencies, the biggest challenge with maintaining the MacPort so far has been due to my own ineptitude with MacPorts, not snac's code.
I wish more followed grunfink's excellent example on contemporary software dev.
I wrote about improved user experience on OpenBSD laptops, focusing on network configuration: "Dynamic host configuration, please".
Yes, strive to be polite
"I see no hope for the future of our people if they are dependent on frivolous youth of today, for certainly all youth are reckless beyond words... When I was young, we were taught to be discreet and respectful of elders, but the present youth are exceedingly wise [disrespectful] and impatient of restraint".Hesiod
Don't use Reddit for Linux or BSD related questions
last night i stumbled across Joe vs. The Elan School, an ongoing autobiographical webcomic about one man's experience with a synanon-inspired "troubled teen" program, the ways it shaped his life, and his long battle to destroy it afterwards.
CW for just about everything but this is one of the wildest, most immediately gripping pieces of art i've encountered in a long time:
Bit Twiddling Hacks:
¿Algún SysAdmin en la sala? Por aquí hay curro del bueno (palabrita que es bueno, que yo lo disfruto)
Un Retoot por caridad, para que llegue a más gente.
So let me get this straight, in order to view a website in 2023 I need to 1.) dismiss the GDPR dialog, 2.) dismiss the "login with google" dialog, 3.) dismiss the "download our app" dialog, and 4.) finally after some period of 0-30 seconds dismiss a "sign up for our email list" dialog. Cool. 😑
Estoy interesado en tu pisoEsto ha ocurrido antes. Si no haces nada, entienden que el piso está vacío, así que entran por la noche, arrasan con todo y matan a todo el mundo que está dentro. Si contactas y dices que no estás interesado, lo entienden como una provocación, y entonces entran por la noche, arrasan con todo y matan a todo el mundo que está dentro. Si les dices que quieres negociar, te sueltan un montón de buenas palabras para tranquilizarte pero después entran por la noche, arrasan con todo y matan a todo el mundo que está dentro.
Lo único que te queda es coger todo lo que puedas ahora mismo y salir del piso lo antes posible.
“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
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.
¡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
@Anarcat In your blog post you don't mention what your requirements are for portability and price. USB-C monitor is convenient for desktop and cheaper than getting separate dock. Low end USB-C hub/dock that takes power from a USB-C PSU is cheapest for power+display etc while travelling. USB-C dock with PSU built in is good if you already have monitor(s).
@Anarcat Regarding the "where is the HDMI" issue, that would be integrated DisplayPort (which takes over some lines in the USB-C connector) converted to HDMI, so lsusb etc is not connected to it.
Also for PSUs low wattage PSUs are best if you want small light and cheap adaptors. Below is a link to the blog post about my latest GaN laptop PSU.
@etbe I do remember reading that post about the PSU, but you don't seem to go into specifics of the actual device you got. re portability, it doesn't need to be portable, but it shouldn't too bulky as it's on my desk all the time.
@Anarcat I posted a pic, knowing the size of USB ports you can see that both devices are fairly small and being light is due to that. If there's anything in particular you would like to know just ask.
@etbe i do not see what the model is from the pictures...
@Anarcat it's just sold as a Kogan poduct. Trying to go from that to the Chinese designer to the name it's sold under in another country probably isn't viable.
The noteworthy things are that the 30W device doesn't supply enough power for a Thinkpad even though I reasonably expected it to and that the more powerful device worked and replaced a larger and heavier Lenovo charger.
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)
TONIGHT at 7:30pm PST! Tune in to the LIVE-STREAM for The ROAST of Bruce Campbell at SF Sketchfest! 🔥🔥🔥🔥 https://www.moment.co/sfsketchfest?ref=artistsocial
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.