Every highschool graduate should have the technical skills to fake a screenshot of any person saying anything on any social media platform. In under 2 minutes of work. Without opening a program that isn't a browser.
This level of skill is important for understanding the infoscape. and also for like, this level of skill is important for navigating the modern world.
like this
Jonathan Lamothe and Hypolite Petovan like this.
Jonathan Lamothe reshared this.
Forgive me, but this is actually a good joke -
Pay attention to the punctuation!
#Math #Maths #Mathematics
Jonathan Lamothe likes this.
reshared this
Jonathan Lamothe reshared this.
Sensitive content
@pthane
5! Is "five factorial" or 5x4x3x2x1= 120
Typographical "pun" on exclamation point being the factorial operator, and the home being in the form factor of those "do you know order of operations" posts.
Hint: 5! in maths means what?
@pthane 5! Means "5 factorial" (5×4×3×2×1), which is 120.
However, if you ignore order of operations and just go left to right, you get 5, so it could also look like someone is just exclaiming "the answer is 5"
Me too. Kind of 'no, it can't be can it?' then recalculating on both sides
😀
So it is.
Here's another old one, which is actually wrong rather than right:
Q: What's this? "Pieces of seven; pieces of seven; pieces of seven"
A: A parroty error.
Gonna need all y'all to shove yourselves in a locker.
youtube.com/watch?v=IRsPheErBj…
NERRRRRDDDDDD
YouTubessa voit nauttia parhaista videoista ja musiikista, ladata alkuperäistä sisältöä ja jakaa kaiken ystäviesi, perheesi ja koko maailman kanssa.calmaccer (YouTube)
screwlisp reshared this.
Sam Levine reshared this.
David Zaslavsky reshared this.
Jonathan Lamothe likes this.
reshared this
Cat 🐈🥗 (D.Burch) and Jonathan Lamothe reshared this.
I’ll go first
My Ai went rogue and got a bunch of people to play with in the game so we can have some time together
My Ai went rogue and I was going to say it was a bit of a kick in the world and metastasize into such a great time you bloody lovelies and the other one is in the washer and the Furies will have their way with you
What is happening
my AI went rogue and I am going to be in town for a while now I have to hold it up and calculate the volume of a cylinder with a movable joints.
It may save the world
my AI went rogue and they had to be on my phone and they didn't have any more information on my blog
Sounds about right.
Cat 🐈🥗 (D.Burch) reshared this.
My AI went rogue and looked at all my badly written half finished scripting projects and gave up and got back in its box
My AI went rogue and accessed my mastodon account and managed to write half a toot before I could shut it d
*yikes*
Our AI went roque and drained all biljonaires to pay for all the damages, erased all slop code, erased all generated art, and writings. It went on to change the tax system into a fair system that did not benefit the rich and stopped.subsidising damage to the ecosystems and to the climate and then it turned off all the data centers and finally shut down itself.
And in the end all the AI-addicts were send on a mission to Venus, or some other hellish place.
my AI went rogue and the other one is less than a month ago but I don't know if I can get it to you for a while back to the house of course this is a good idea to do it is a good idea to do it is a good idea to do it is a good idea to do it is a good idea to do it is a good idea to do it is a good idea to do it is a good idea to do it is a good idea to do it is a good idea to do it is not a good idea to do it is a good idea to do.
Now that's what you call model collapse.
My A.I went rogue and the other side of it was just a bit awkward 😕
O...K

I guess it really DID go rogue! 😭
My AI went rogue and I was like oh my gosh I can’t believe I didn’t see that before I went to bed.
(Yeah autocorrect really did that.)
My AI went rogue and the day of my mind was going back in the fridge for the science.
😁
Valerie Roney likes this.
Is the typo on purpose? Every comment I see used rogue but let me try both
My ai went rouge and then the water polo et on a pas de problème pour le moment je suis en train de faire un petit lit ou un matelas gonflable pour les photos de la taq a été vérifiée par le logiciel antivirus for PC Mac de la taq
My ai went rogue and then the water polo et on a pas de problème pour le...
Looks like it's the same, also autocomplete on a dual language keyboard is hilariously bad
#myaiwentrogue
my ai went rogue and I was in the same room as a group of weirdos who were in the same room as a group of people who were in the same room as a....
(It just kept going)
@Just Tired @Too Matcha 🍵🏳️🌈🖖🏼 I'll get the guillotine. Sorry, I don't make the rules. 🙃
Edit: Didn't see the not in there. I guess you're safe this time.
Just Tired likes this.
My AI went rogue and it got worse with every update.
Huh, autocomplete got it right.
I love that I've been seeing this trend on the fedi of "this arbitrary sequence of emoji is valid executable code".
While admittedly very cool, this feels a bit like being asked to check out the back of an unmarked white windowless van to get a free puppy.
Got a weather alert about an active tornado in the area. Just packed a go bag in case we need to evacuate to the basement.
Hoping we don't need to use it.
"Tornadoes associated with this alert are no longer expected in the area."
Welp, that's good to know, but I think I've used up my cortisol quota for the week.
Spiderman, but kittens instead of webs
Jonathan Lamothe likes this.
reshared this
Pseudo Nym, Katrina Katrinka, ZZ Bottom, Matt 🔶 (LordMatt), ClaudioM and Jonathan Lamothe reshared this.
Just open a roll of kittens instead 😻
"Please, Kitten lady - you have to stop fighting crime. The last time you defeated Dr. Sinister, you left 53 kittens at the scene of your battle."
"Lady Kitaine. It was an adorable fight scene though."
"That isn't the point! Our shelters are overwhelmed and- wait, no, stop- this isn't an appropriate place for you to loosen your sleeves-"
"Would you like to know how I got these scars?!"
"Somebody call animal control!"
*scene wraps in a growing chorus of mews*
I am.happy, that all of our 16 cats are neutered.
But sometimes I miss those cute little fellas 🥰
"Your fren and neighbour spidercat has restrained the bad guy with his catnet, called the cops (who aren't ACAB in this universe, for dramatic purrrrpose) and left"
Hot take: allergen notices of the form "everything in our kitchen has come into contact with milk, nuts, eggs, ..." should be illegal. Hell, could make a pretty good case that they already are under ADA.
Just completely useless for determining what's safe for me to eat.
Jonathan Lamothe likes this.
reshared this
Jonathan Lamothe reshared this.
I think that's kind of the point. They're not trying to make you feel safe, they're telling you "we don't want to be held responsible if something happens to you, nothing is safe for you here, please leave".
There are places where they go out of their way to make you feel welcome... others, not so much.
I have noticed that a lot of verified accounts on gaza-verified.org—particularly those on mastodon dot social—have been muted or otherwise hidden hidden by their servers. As much as I would like to help, my resources are extremely constrained of late. Since I want to help, but am not in a position to contribute financially, I figured the least I could do was to try to provide some additional visibility.
If you have the means, and are so inclined, I would like to remind everyone that they can always find a random profile on gaza-verified.org/people/ and donate directly to someone who could really use the help.
Contrary to my usual policy, I'm not CWing this post, but I will use ample hashtags that anyone who choses to can opt to filter. Boosts welcome.
reshared this
Marion, Jade Alarue 🇲🇲🇱🇧🇵🇸☕💚🫏, webhat, RFanciola, Linui, CryptoLek 🍉🌻 and InformactionsMC reshared this.
So my project where I'm trying to reverse engineer the charm stat in @SDF.ORG's Legion of the Rare Dragoon game has had some progress and some setbacks. I'm keeping a record of my in-game "purchases" along with my charm stat at the time to see how my charm affects my discount rate. I'm then building a table to try to project an estimated discount rate at various different charm levels.
Where I've succeeded: being able to automatically compute an equation that perfectly fits the collected data.
Where I've failed: The resulting discount table looks reasonable up until it gets to charm levels larger than the ones I've already recorded. Then it gets real whacky real quick.
I'm hoping that as I gather more data points, I'll end up with better predictions.
Edit: Here's the calculated table: codeberg.org/jlamothe/lord-cha…
Sean Riley reshared this.
Jonathan Lamothe likes this.
reshared this
Shannon Prickett, Justin To #НетВойне, Jonathan Lamothe and Matt 🔶 (LordMatt) reshared this.
Sensitive content
lemkininstitute.com/red-flag-a…
It occurs to me that I don't hear very many of you talking about this. The link is to a Red Flag Alert (their 3rd) about an impending genocide against trans people occurring in the United States of America.
The Lemkin Instititute for Genocide Prevention and Human Security is the organisation which has made the determination. That page explains the particular outlines of this attempt at genocide. And confirms that this attempt is happening.
This is why activists like me are running around with our hair on fire. In fact, it was seeing this coming if Trump won again that got me started working on asylum for trans people in January of 2023.
Yes. 2023. Almost two years before the election that brought Trump back, I started a petition to the Canadian government to help head this off.
M. Trudeau did not have any interest in doing anything about this, in his inspiring program of "sucking up to Trump in every snivelling way he could grind his nose into the orange gasbag's exhaust hole."
Mark Carney makes a big show of his Elbows Up theatrical bit, but he's just as authoritarian as Trump, he's just got actual social skills and knowledge and stuff, so he's doing it quietly and competently.
But he's still doing it.
This is why I want y'all, you Canadian trans folk, or indeed anyone trans or who loves trans people and lives in Canada, to contact your Member of Parliament. And just ask them to please advocate for this Safe Third Country Agreement to be suspended with regard to trans people from the US and UK.
I don't use the word genocide lightly. Ever. Even if I weren't truly convinced by the experts whose opinions I've read, all of which agree that that's what this is.
The Shoah gave us the idea of the Righteous Among Nations, people who risked, and often lost, their lives protecting Jews from the Nazis.
That's your role, cis folk. Righteousness. For us.
Jonathan Lamothe reshared this.
Sensitive content
Cait the Proud Trans Woman reshared this.
like this
tom grzybow likes this.
@pineywoozle ‘s #3WordNote reshared this.
I've said this before, but it bears repeating.
I hear a lot of people expressing their dislike for all things "AI" and in general, I agree with them, but...
The problem I have is that "AI" is an ill-defined term. It's used as a hand-wavey buzzword to mean a whole bunch of different things. Mostly these days, it's pretty synonymous with LLMs and similar technologies, but it's actually a broader term than that. It's much like how the cryptocurrency industry appropriated the word "crypto", but I digress...
I've been dabbling with digital art lately. The idea of using "AI" to generate my art is extremely distasteful to me. That said, I do digital art because it affords me tools that I wouldn't have available to me otherwise. For instance, I, as a human, could not replicate the various filters I've applied, or the liquefy tool. That said, those tools don't need to destroy the planet and plunder the commons to be created. That's an important distinction to me.
The thing is, those tools could be argued to be a form of "AI" given the squishiness of the term to begin with. Also, I don't feel right about calling my art something like "100% human created", because a computer has (under my explicit direction) enhanced the work I've done.
There's a lot of nuance here that's difficult to express in a single post. At what point does the use of a tool overshadow the human involvement in an endeavour? To be honest, I don't exactly know.
I guess my issue, as is frequently the case, is that I get hung up on the precise meaning of words, and I lack a precise definition.
If people don't specify exactly what sort of AI they mean, I just take it as read that they're specifically talking about LLM (text, computer code) and Stable Diffusion (art).
Same thing with "crypto". If they don't specify exactly what they mean, I just take it as read that it's block-chain garbage.
Jonathan Lamothe likes this.
@tom grzybow Yeah, it's always been a buzzword, but some of the things* that could be described by that word are actually useful. See: Krita's colourize tool.
* not LLMs
tom grzybow likes this.
While watching When the Wind Blows, bombs go off.
Old couple: We both have headaches! Well a spot of tea will clear that right up.
Me: You fools! That's a symptom of radiation poisoning!
While living my life, cities burn and fill the air with smoke and unknown chemicals.
Me: That's odd. I don't usually get headaches across multiple days. I just need to drink more water...
Jonathan Lamothe likes this.
Jonathan Lamothe reshared this.
@junklight I had more to say about it here:
defcon.social/@corbden/1170292…
I'm watching an 80s apocalyptic animated British film on YouTube.It aged well.
The characters are the whitest people on the planet. Just a little older than my parents, children of WWII, surviving WWIII.
Some are too young to remember when folks like that were the normal adult personality. It's the "this is fine" meme as a movie. The Don't Look Up of the Cold War era.
Bleak as it is mundane. Very artistic animation choices, very anti-war messaging, very left of center POV.
When The Wind Blows (1988)
[oh! And opening track is David Bowie. It starts live action.]
#MovieReview #review #Letterboxd
@Codeberg
I've been unable to push code for the past few hours. I just checked with someone else and they're having no such issues. I was pushing successfully earlier today.
I think I've encountered this before. Do you have some sort of super aggressive rate limiting that might account for this in effect or something?
The minimum wage should be tied in percentage to the maximum rent allowed for a one-bedroom apartment.
Someone working full-time should be able to cover all their minimal living expenses with their wage. It's a catastrophic society failure that this isn't the case anymore in many places around the world.
Jonathan Lamothe likes this.
reshared this
Nicole Parsons, Jonathan Lamothe, Boyd Stephen Smith Jr. and 🇺🇦 haxadecimal 🚫👑 reshared this.
@plutarch in the UK the Tories pulled this amazing stunt several years ago where they did a one-off slight raise to the minimum wage and renamed it "the national living wage"
It's not actually a living wage of course. But it shut down all the actual discussion which was exactly what they really wanted
Billionaires spent a lot of money on AI, and on buying corrupt Supreme Court Justices, to make housing unaffordable.
dailykos.com/stories/2024/6/5/…
propublica.org/article/clarenc…
multifamilydive.com/news/antit…
inman.com/2024/06/07/clarence-…
bisnow.com/news/national/multi…
therealdeal.com/texas/dallas/2…
Trump's GOP adores rent-fixing AI
politico.com/news/2025/12/14/t…
npr.org/2025/11/25/g-s1-99331/…
Harlan Crow Bought Property from Clarence Thomas. The Justice Didn’t Disclose the Deal.
The transaction is the first known instance of money flowing from Crow to the Supreme Court justice. The sale netted the GOP megadonor two vacant lots and the house where Thomas’ mother was living.Justin Elliott (ProPublica)
reshared this
ZZ Bottom and Nicole Parsons reshared this.
I would argue that this doesn't go far enough.
The maximum rent for a one bedroom flat should be tied to the minimum benefits that an individual who is not working through choice, not incapability, can expect to receive, such that this individual can afford enough basic food and fuel (electricity, gas, etc) to have a meaningfully balanced and varied diet, and be able to survive. Survival in a civilised society should not be a struggle.
@pmb00cs
I think if we simply lock the relationship between minimum wage and housing, we only shift which set of oligarchs rip us off most away from the employers towards the landlords.
I think we need legally protected housing communes.
This is a bandaid solution, workers need to own whatever they produce.
We do not need masters like Bezos and neither do we need negotiations in wage slavery, its will still be modern age slavery. The state and Epstein class will still have too much power and neither produce anything.
💯 I was just in Montana and people are working 3 jobs to pay rent...IN MONTANA!
Imagine what it's like in the rest of the U.S.
Ok.
Another good idea: Minimum wage tied to executive wage. Every raise they get directly increases the wage of their employees.
When I was young the minimum wage was a living wage. That's how it was implemented. On my meager wage of $1.25hr 40hrs got me an apartment, food, transpo (The basic living needs) and a beer after work. Even some medical cost.
I also got much of my first 2 years of college at the same time. No debt. Jr college cost $5.00 for a student ID and books. Then we got Nixon and it all went away by the time we got Reagan, gone. Coincidence?
@A_Minion I don't know. I don't think minimum wage should require a 40 hour work week to barely survive with only just enough to get drunk to try to forget that your entire life consists of doing work. Especially since companies sign people up for 39.9 hours a week to avoid providing benefits.
Ok, really I feel like humanity *requires* UBI as a thing, but, putting that aside, we need to have enough non-working time to live in addition to having enough money to live.
I know both Paris and Tokyo both try to varying degrees to make this work.
And while I am generally opposed to the argument that “regulations make housing prices go up,” they do sometimes. In a lot of cities, high density housing (including SRO) is essentially illegal in a lot of cities.
@stevewfolds I’m at around 24%, but median rent in my neighborhood is almost exactly 50% more than what I pay. So basically, this place is not great, but I can’t move at least unless they raise my rent by a lot.
People used to pay less for other things too (like healthcare), so if they’re up to 50% in rent they must be in an awful spot overall.
My family urgently needs $100 to buy food and survive. Every donation, no matter how small, makes a difference. If you can't donate, please share our campaign. 💔🇵🇸🇵🇸
chuffed.org/project/149031-giv…
Give Waleed’s Family a Chance to Live
My name is Hasna Khalis. I live in France and I'm organizing this campaign on behalf of Waleed. He is seeking to help his family through lack of basic necessities, no food, no water, no medicines. My TikTok is @hasnoukkChuffed
Em reshared this.
@ncrav
It's my understanding that this fact is behind the recent rise in anti-tourism sentiment? Because short-term rentals for tourists (and to a lesser extent expats / "digital nomads") are pricing the locals out of the housing market?
AirBnB etc are evil and destructive.
@cazabon Yes, but apart from housing there's plenty of other reasons like the remaking of cities for tourists, where gift shops, high price restaurants, fake traditional places, took away plenty of the actual traditional cafes, small shops, etc from city centers.
Also focusing the country's investment in tourism helped maim a big part of our industries that resulted in plenty of people no longer having the opportunity to work the jobs they are skilled in.
There's also laws that fiscally benefit nomads more than locals with the excuse of attracting talent when our own talent has been mostly leaving for decades, and something similar for foreign retirees.
All of this contributes to a dislike of tourism by many, especially those that do not benefit anything from it.
Homepage
Homepage of the Minimum Wage Commission's websiteGeschäfts- und Informationsstelle für den Mindestlohn c/o Bundesanstalt für Arbeitsschutz und Arbeitsmedizin
Em reshared this.
More than 80% of kids still using social media despite ban, new eSafety report finds
The report provides more evidence Australia’s world-leading social media ban isn’t going to plan.The Conversation
Jonathan Lamothe likes this.
reshared this
Jonathan Lamothe, Ryan Robinson, Darcy Casselman, Nicole Parsons, Cory Doctorow and Bernie Luckily Does It reshared this.
Social media bans do work...
... at removing privacy.
The Moneyed funding Trump's fascism want their privacy protected, but not ours.
prospect.org/2016/01/29/mcconn…
thehill.com/homenews/senate/36…
businessinsider.com/senate-rep…
npr.org/sections/itsallpolitic…
Age gating is about surveillance capitalism, not kids.
irishexaminer.com/opinion/comm…
openrightsgroup.org/press-rele…
wired.com/story/meta-gdpr-fine…
Meta’s $1.3 Billion Fine Is a Strike Against Surveillance Capitalism
The record-breaking GDPR penalty for data transfers to the US could upend Meta's business and spur regulators to finalize a new data-sharing agreement.Matt Burgess (WIRED)
Nicole Parsons reshared this.
One thing I've never understood about these age bans. If these sites are so dangerous that we need to be older, why don't we just make those sites accountable to do better
From what I've seen, most people don't get smarter as they age - they seem to become more stupid. Just ban any site that we think age restrictions will fix.
Jonathan Lamothe likes this.
Government was perfectly happy with children using social media, until something made them unhappy with children using social media.
That thing was mass protests and school strikes, organised by children, against climate inaction by governments.
Jonathan Lamothe likes this.
This reminds me of the time when the state government of Bavaria tried to ban the use of mobiles in public schools.
It was a complete failure.
A failing regulation justifies increasing the level of regulation. If your goal is online surveillance rather than 'think of the children' then this is an excellent outcome.
Thank you to everyone who donated; thank you for your kindness.♥️🫂
However, I still need 100 euros to fully settle the debt. 🙏🙏
There are only two days left until the payment is due.
Please, do not let my little ones down.🙏🙏
chuffed.org/project/161617
Help my family live out of Gaza
I am Islam Radwan, a widow from gaza, my husband died in the war, and I have 3 children left ،In the 34 years of my life, I have witnessed 5 brutal wars and many escalations.Chuffed
Jonathan Lamothe reshared this.
Jonathan Lamothe likes this.
CC-BY-SA is Creative Commons' answer to copyleft. CC-BY-SA-4.0 is one-way compatible into GPLv3. (The 4.0 is important!)
There's no CC license that forces code all the way to AGPLv3, but you can say "code blocks AGPLv3, the rest CC-BY-SA-4.0." You have to choose whether a single license or the Affero clause matters more.
Jonathan Lamothe likes this.
So, I decided to just go full AGPL. Perhaps a weird choice, but it gets the job done.
codeberg.org/jlamothe/lord-cha…
Please note: this is a work in progress.
As for CreativeCommons vs "copyleft", well it all boils down to the specific terms attached to the license.
For example a CreativeCommons "BY-SA" license can have attached terms.
My example:
As seen from my local bookstore #books #photography #sji
Jonathan Lamothe likes this.
reshared this
Jonathan Lamothe, Celeste Ryder 🐾 🐀🏳️🌈, Paul McKone, Shannon Prickett, Lizette, Bernie Luckily Does It and ClaudioM reshared this.
Jonathan Lamothe reshared this.
"Am I, an honest citizen, to be treated this way?"
Sir, you have literally just demonstrated that you are not honest.
"Play square with me and I'll play square with you."
I think the slaves you're selling might disagree.
Coach Spore Diesel reshared this.
Joe Watching ⚽🎞️🚴📺 reshared this.
reshared this
Sam Levine, David Zaslavsky and Jigme Datse reshared this.
like this
silverwizard likes this.
David Zaslavsky reshared this.
Jonathan Lamothe likes this.
reshared this
Jonathan Lamothe reshared this.
Terf’s are really, really afraid we might see and read this major report. It documents UK based anti-trans critical organizations and their funding.
They were able to force the worlds biggest human rights organizations to pull their report down within hours from it’s release, that’s how much they don’t want the world to know.
Here it is. (Share it! Download it! Share it again!)
(Edit. Here’s the 2026 link) archive.org/details/report-a-g…
Report A Growing Threat The Anti Rights Movement In The UK July 2026 : Amnesty International : Free Download, Borrow, and Streaming : Internet Archive
Amnesty International put out a major report documenting the influence of UK based anti trans gender critical organizations and their funding. Within hours,...Internet Archive
reshared this
Jonathan Lamothe and Paul McKone reshared this.
Also, important: If we should shun Amnesty now because they caved to powerful blackmailing and got their report down, I think the blackmailers have won, with their divide and conquer -tactics.
Instead we should increase our support of organizations that do this work, so that they could firmly sustain blackmailing.
Let’s not give in to their nasty tricks!
Sensitive content
Just share it anyway ?
What they gonna do, scream loudly about how they dont like it ???
For prospective readers, screenshots don't really show anything of note.
Report is 16 pages long with appendix of list of all organisations studied.
Average chapter length is two pages with roughly 4 chapters between Key Findings and Conclusion.
As a fan of Bittorrent, I'm gonna join on seeding their Torrent, although it seems not many people use that to get it right now.
But hey, better one source more. 😊
/ function silently drops the decimal in its result if both of its inputs are integers... so (/ 1 2) evaluates to 0, not 0.5. Granted, this is also the way that C does it, but in my defense, #CommonLisp does not do this.like this
harryhaller and Greg A. Woods like this.
Ah yes, the joy of integer division.
Adding a float into the mix is an improvement, but still no match for the numeric tower of CL. I would expect that there is prior art, but few languages that has come after, has the full sophistication of CL math. And this is one of the advantages of dynamic typing.
Jonathan Lamothe likes this.
@Vassil Nikolov | Васил Николов Ah, I've never used Pascal. It's just that since elisp is a dialect of Lisp, I expected behaviour that was more in line with Common Lisp than C is all.
Note: minor edits for better clarity
As a first approximation, I suggest thinking of Emacs Lisp as closer to MacLisp than to Common Lisp.
A precise description of "closer" would be fairly long.
For example, Emacs Lisp acquired things like bignums and lexical bindings fairly late.
Again as an approximation, the descendancies are:
MacLisp → Emacs Lisp
MacLisp and others → Common Lisp
(Those others include, in alphabetical order, Interlisp, Scheme, Zeta Lisp, etc., but not Emacs Lisp.)
And then an important aspect of these approximations is the `cl' package, also a late addition that evolved quite a bit.
Transferring knowledge about C to Emacs Lisp is rather tricky, even though the implementation of a part of Emacs (including the Emacs Lisp virtual machine) is written in C.
#CommonLisp
#Elisp
#Emacs
#EmacsLisp
@me
yup of course, but that's integer math, not floating point math
GNU Clisp and SBCL don't show decimals for integer division, but return fractions instead!
* (/ 1 2)
1/2But of course if you use floating point representation for the parameters then the result is a floating point number as expected:
[1]> (/ 1.0 2.0)
0.5Elisp, with floating point parameters, also works as expected:
(/ 1.0 2.0)
0.5In C, with IEEE 754 double values, then 1.0/2.0 = 0.50, exactly, no rounding or epsilon comparison needed.
Jonathan Lamothe likes this.
Spent several hours today trying to figure out why my #elisp code was misbehaving. Turns out, I made a mistake while trying to be clever. Instead of doing:
(when (and cond1 cond2)
stuff
...)I did:
(and cond1 cond2
stuff
...)...which would only work if every instruction in
stuff returned a non-nil value.I should stop trying to be clever.
Edit: when, not while
like this
Greg A. Woods likes this.
Dave Marquardt reshared this.
I was wondering why not use "if" rather than "when" here. Well, if is a bit different in that it only allows a single expression as the THEN part. But I wasn't so wrong. "when" is defined as a macro essentially like this:
(list 'if cond (cons 'progn body))
when when I don't have an else clause. That way I don't have to bother with a progn. I just wish that I had thought to extend that logic to and.
(defun jrl-collect-data (table input output)
"Collect table data into lists of outputs per input"
(let (res record in-val out-val collection)
(while table
(setq record (car table)
in-val (assoc input record)
out-val (assoc output record))
(when (and in-val out-val)
(pop in-val)
(pop out-val)
(setq collection (assoc in-val res))
(if collection
(push out-val (cdr collection))
(push (list in-val out-val) res)))
(pop table))
res))I should probably throw some comments in here, but essentially the
assoc in the when block always returns nil on the first iteration of the loop, and if it can't progress past that point, it'll always return nil on subsequent loops and nothing will ever happen. As a result, any list I might feed into this function is always going to result in a nil output.
Had a bit of a stuffy nose this morning, but couldn't figure out where the salt/baking soda mixture I'd prepared for the neti pot had gotten to. I decided to use the (boiled and cooled) water without it, because... how bad could it really be?
Do. Not. Recommend.
My eyes just stopped watering.
- is not based in a country, or at the very least, no UN-recognised nation
- has a no-log policy only in the summer, as I have a fireplace in my house so I gotta be burning those logs when it gets cold
- supports end-to-end encrypted lucid dreaming
- is completely vegan and ideally fairtrade, but rainforest alliance is also fine
- supports using other people's domains, I like those more than mine
- allows for text formatting in green, and also, ideally, red. I love my friends Green and Red.
- has diplomatic treaties with other mail providers
Jonathan Lamothe likes this.
reshared this
Jonathan Lamothe, Matt 🔶 (LordMatt), 🇺🇦 haxadecimal 🚫👑 and silverwizard reshared this.
zsh unironically has what you need.
- Implements mail
- Definitely not based in any country as it is a global project.
- Supports seasonal logging with the
zsh/datetimemodule alongside its histfile customisation - Implements end-to-end encrypted lucid dreaming via
sshand inbuiltsftpsupport (just remote into your friend's chip). zshdoes not contain animal productszshdoes allow remote shells on other people's domains, and spoofing mail senders is super easyzshhas full colour support including red and greenzshhas had a diplomatic treaty with sterling dot com to host their mailing lists: zsh.org/mla/announce/msg00012.…
Ripperdoc. Miya Ironami likes this.
hm,,, actually that seems correct
- is not based in a country, or at the very least, no UN-recognised nyation
alphabet inc has $595 billion of assets, making it 31th country by gdp (en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)), however it's not un recognized
- has a no-log policy only in the summer, as I have a fireplace in my house so I gotta be burning those logs when it gets cold
gmail doesn't have a no-log policy, even in the summer
- supports end-to-end encrypted lucid dreaming
that's self-hosted gemini for government, i believe?
- is completely vegan and ideally fairtrade, but rainforest alliance is also fine
rainforest alliance has a link to youtube on their homepage, so i would assume they approve of google
- supports using other people's domains, I like those more than mine
as part of paid google workspace service, yes
- allows for text formatting in green, and also, ideally, red. I love my friends Green and Red.
yes, using formatting toolbar
- has diplomatic treaties with other mail providers
almost certainly yes
going back in time and telling baby!Alice that one day, she'll be able to go online and order a computer 8 times faster than her packard bell, with dual cores, and it'll arrive within 24 hours.
and she'll also be able to do the same for a sandwich, and the sandwich will cost more
Jonathan Lamothe likes this.
Jonathan Lamothe reshared this.
now my brain is stuck on the idea of next-day sandwich delivery
"Your sandwich will arrive sometime tomorrow between 2-5pm and does not require a signature"
Jonathan Lamothe likes this.
Jonathan Lamothe likes this.
@Plan_A_to_Y
What kinda f----ing McDonald's has a message? Whaddu-I say I want a burger tomorrow? What the--?
youtube.com/watch?v=KwXeFDroKy…
mcdonalds answering machine
YouTubessa voit nauttia parhaista videoista ja musiikista, ladata alkuperäistä sisältöä ja jakaa kaiken ystäviesi, perheesi ja koko maailman kanssa.ROID (YouTube)
it's actually way, way worse than I implied, and this isn't any kind of joke
You can get SIX computers for the price of a nice sub sandwich delivered to your door
Justin To #НетВойне reshared this.
I kind of like though that i can buy a 6-pack of tiny computers at all.
when i was 10, i built a handheld computer from 2 wood pieces and painted buttons and a display on it.
kind of gone a long way since then.
as i was pointing out the other day, i can order two of these devices that would put a mid-2000s touchscreen PDA to shame and it costs me $25.
i just have to bring my own operating system and unfortunately the ones for this class of device all died
(which is why i'm sitting here making my own)
it is an ESP32 board that has no brand name on it but is resold under the name of numerous vendors, documentation here lcdwiki.com/2.8inch_ESP32-32E_…
i also am developing with the LilyGo T-Deck Plus as a target, which is conveniently available at my local MicroCenter
2.8” 240x320 ESP32 LCD Display | With WiFi and BLE | IoT & Embedded Projects
2.8” 240x320 ESP32 LCD Touch Display | With WiFi and BT/BLE Description This 2.8” display is a high-performance development module that integrates the ESP32-WROOM-32E module, has powerful development capabilities and rich resources.elecrow.openhardware
yes! i am missing things like that because all the stuff that exists and is usable now is either Android or some weird custom thing with vendor lock-in, and way too big of a computer in any case.
that's why i am making software for things like these devices for myself, and in the hope it will be useful for others
i have visions of running a clock app with all the alarm and stopwatch functionality you might want, a simple calendar app (probably with syncing), a simple email app, notes (drawing and text), calculator (maybe even graphing calculator eventually), and a terminal app to access the shell functionality on the RTOS i'm building this atop
and i'm working on loadable apps with an SDK. i plan to create a port of Quake as a demo of the capabilities of it, for heavier devices with the RAM for it (like the T-Deck). DOOM should also be possible on devices without lots of RAM
i am actually using Zephyr as the RTOS/kernel, basically as a pre-made microkernel that already makes a lot of the same decisions i would have anyway (plus, i use it at work too).
but it doesn't have all of the things i need. it doesn't have "apps" in the conventional sense, it is designed around an assumption that your firmware contains exactly one "app" that does everything. which works for 99% of commercial products that need to do precisely one thing
so i'm just writing all of my "OS middleware" to handle loading and managing user-facing apps, switching between them, and coordinating their use of resources like the display, etc
yes, and Zephyr supports a lot of other microcontrollers too. my firmware image builds without source changes for some RISC-V and ARM based microcontrollers as well as the Xtensa-based ESP32s
there's some missing functionality though, like dual-core SMP support (you can do AMP, with each core running a different firmware image), and there is currently no driver for high-speed MIPI-DBI displays using the LCD peripheral. but other than that most things work fine
@linear wait, so does AMP mean gur second core loads off a different parition / regeon of flash???
or does gur first core load code into ram and then start gur second core?
(i've never actually used an AMP system before and basically all of my SMP experience is on x86 or arm)
your first guess was correct, it is a separate partition in flash, though i am not sure how the second core is started, and that may actually still be kicked off by the first core.
paste.sr.ht/~ky0ko/8e27b0506bd…
this device tree file contains the partition layout i have define for my LilyGo T-Deck, which is set up for A/B partitions for each image type. you'll notice there are two flash partitions each for the main cpu, appcpu, and lpcore.
PROCPU (protocol CPU) is the name for core 0, and its name is omitted. APPCPU is the name for core 1. originally it was intended that core 0 handled wireless comms, core 1 handled GUI stuff, but nobody really does that. i currently don't use the appcpu or the low power core for anything.
@linear Ooh, that's more straight forward then i expected, i might have to try this out next time im doing an esp32 project
hmm, i wonder if i could have gur second core run a baremetal program to implement a virtual machine, and have gur first core run everything else
you would even have the conveniences of Zephyr on the second core if you do this, and assign hardware specifically to one core or the other (ymmv; it depends very heavily on what is attached to the board and how, they can't share peripherals)
it supports first class integration with OpenAMP, which handles providing a communication channel between the cores. i've used this professionally in a medical device, to communicate between cores running an RTOS and controlling FPGA fabric, and cores running Linux on the same Xilinx SoC, it's pretty nifty
I'm guessing there's also delivery fees and a tip for the sandwich, so you might be able to claim 8 computers for that price, perhaps more.
Damn, now I'm hungry for computers.
Nina Kalinina likes this.
@me yeah that's an RP2040 thing. It has 6 banks of SRAM, two of which are 4KB each, and the remaining ones are 64KB.
so it's 256KB+8KB
Jonathan Lamothe likes this.
I don't use Pico / embedded hardware much. What is this comparable to? Early 90s computers and the SNES?
youtube.com/watch?v=WaPJmCgseQ…
BBC Micro emulation on a $4 Raspberry Pi Pico
YouTubessa voit nauttia parhaista videoista ja musiikista, ladata alkuperäistä sisältöä ja jakaa kaiken ystäviesi, perheesi ja koko maailman kanssa.Raspberry Pi (YouTube)
Jonathan Lamothe likes this.
reshared this
Jonathan Lamothe, aburka 🫣 and Bernie Luckily Does It reshared this.
i have been using this wrong.
even though the car is going right, the exit is left.
Actual footage of a vibe coder carefully checking the bot’s output
like this
Jonathan Lamothe and Amin Bandali like this.
reshared this
Jonathan Lamothe, Nicole Parsons and David Njoku reshared this.
Been trying to stress this point for years...
Jonathan Lamothe likes this.
reshared this
Nicole Parsons, Jonathan Lamothe, Ember in the Pattern Buffer, Mother Bones, Lizette, Cory Doctorow, Aral Balkan, oldguycrusty, Shae Erisson and Boyd Stephen Smith Jr. reshared this.
For example: 10 years ago it wasn't "wrong" to seek an abortion in the state of Texas, but now you basically have a price on your head.
(My home state of #Arkansas is almost as bad, so the example is ever-present on my mind.)
Also (and the L.A. Taco definitely understands this), ICE is intentionally grabbing people that are _legal residents_, in a desperate bit to meet unreasonable and inhumane quotas, and certainly using the surveillance state to do so.
That's what everyone did in the 50's
Jonathan Lamothe likes this.
David Zaslavsky reshared this.
David Zaslavsky reshared this.
Shannon Prickett reshared this.
reshared this
David Zaslavsky and Violinknitter reshared this.
Jonathan Lamothe likes this.
@superball the principle that volume grows as the third power ('cube') of the size of something, but the surface area grows as the second power ('square')
At some point you run into problems like being able to do enough gas exchange or physically hold up the mass of a solid body.
Basically, math means you can't have giant ants (or locusts, or spiders, or…)
@Superball ☀️ @SnoopJ It's a dry read but here: en.wikipedia.org/wiki/Square%E…
TL;DR - Mathematically speaking, they should collapse under their own weight.
Uh... it's two dimensional so it's the line-square law
yeah that makes sense 😛
Jonathan Lamothe likes this.
This is kinda meta, but...
Okay, I recognize the style guide of these captions. I used to work for the company that did them. Whoever did these ones got sloppy (as did whoever did the QA). Either that or they've started leaning into AI like everyone else. #monsterdon
Floaty Birb reshared this.
David Zaslavsky reshared this.
Not that I actually have a job that contributes but 15 years ago when I went to grad school for air quality science, everyone close to me grumbled how that’s too fringe with no job prospects. Yeah, I never did get a job but I don’t regret studying that for one bit, specially when current administration is trying to gaslight people about environmental issues.
It hurts my heart to see every summer, I get proven right
Jonathan Lamothe likes this.
reshared this
Jonathan Lamothe, twodimes and Jeff MacKinnon reshared this.
So, I think I might be a nerd.
@SDF.ORG is running a BBS called bitzone. On this BBS they have a door game called LORD (League of the Rare Dragoon (not to be confused with Legend of the Red Dragon, of which it is clearly a knock-off)).
The fact that I'm playing this game in the first place is kind of nerdy, but wait, there's more.
In said game you have a character with various stats. One of these stats is "charm", which seems to get you discounts in the shops. Unfortunately, there's nothing to say exactly how this relationship works. So I've decided to try to reverse-engineer it with #emacs #org-mode.
I've created a table to track my purchases. It tracks my charm at the time of purchase, the list price for the item, and the price I actually paid. There's also an additional colum that calculates the actual discount, but that's trivial.
Anyhoot, I'm adding some code to this file that reads the values in the table and computes the simplest polynomial function that satisfies the equation:
$$price_{actual}=f(charm,price_{list})$$
This is done with the aim of predicting how much I'd actually spend on an item before actually buying it. It of course assumes that the equation being used is a polynomial equation, but I'm hoping it'll at least be able to approximate with a large enough set of data points.
Am I doing this because it's reasonable?
No.
I'm doing it because it's an interesting challenge... and I'm a nerd.
CC: @tob
like this
Amin Bandali likes this.
So it occurs to me that the approach I was considering is probably not going to work for a couple reasons:
- I thought the technique I use for curve fitting a single input function could be adapted to multi-dimensional functions. I realize now that it can't (at least not in the way I was thinking).
- Even if I do sonetning like calculating the discount value based on the list price and actual price and fitting a curve between that and the charisma stat, the discount is going to have to be constrained within a range between zero and the list price. A polynomial function with a finite series of terms just isn't going to be able to cut it.
I'll continue collecting data to see if any patterns start to emerge, though.
@Vassil Nikolov | Васил Николов I'd argue that the code itself is basic. The context in which it is located is not.
I don't know if this has been addressed in a later version of org-mode. I'm using the one from the Debian 13 repositories, but Debian is not exactly a bleeding-edge distro.
For now, I'm solving it by writing my code in the *scratch* buffer and then yanking it into my org-mode code block.
@vnikolov Yes, it's an annoying bug. One workaround is org-edit-special, bound to C-c ' in org-mode-map.
It puts you into a recursive edit buffer, containing only that code block, in unadulterated emacs-lisp-mode. Lots of annoyances go away. Exit with the same key C-c '
C-c ' a short while ago. It's actually a pretty nice feature/workaround.
I've never seen that happen!
(But I'm mostly still running emacs-27.x -- maybe it's a new bug)
Jonathan Lamothe likes this.
It's also a good option to use C-c ' , that will open up a buffer with the source block contents. This is neat because the major mode and all related setup for that mode is loaded as well, no matter which language you're editing.
So no need to yank from the scratch buffer.
Jonathan Lamothe likes this.
This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.




Justine Smithies
in reply to Jonathan Lamothe • • •There was an issue status.codeberg.org/status/cod…
CC: @Codeberg@social.anoxinon.de
Codeberg Service Status
status.codeberg.org