Searching txt.sour.is

Twts matching #ToS
Sort by: Newest, Oldest, Most Relevant

fn sub(foo: &String) {
    println!("We got this string: [{}]", foo);
}

fn main() {
    // "Hello", 0x00, 0x00, "!"
    let buf: [u8; 8] = [0x48, 0x65, 0x6C, 0x6C, 0x6F, 0x00, 0x00, 0x21];

    // Create a string from the byte array above, interpret as UTF-8, ignore decoding errors.
    let lossy_unicode = String::from_utf8_lossy(&buf).to_string();

    sub(&lossy_unicode);
}

Create a string from a byte array, but the result isn’t a string, it’s a cow 🐮, so you need another to_string() to convert your “string” into a string.

I still have a lot to learn.

(into_owned() instead of to_string() also works and makes more sense to me, it’s just that the compiler suggested to_string() first, which led to this funny example.)

⤋ Read More
In-reply-to » So I was using this function in Rust:

@lyse@lyse.isobeef.org Rust is so different and, at the same time, so complex – it’s not far fetched to assume that I simply don’t understand what’s going on here. The docs appear to be clear, but alas … is it a bugs in the docs? Is it a lack of experience on my part? Who knows.

By the way, looks like there was a bit of a discussion regarding that name:

https://github.com/rust-lang/rust/issues/120048

⤋ Read More

So I was using this function in Rust:

https://doc.rust-lang.org/std/path/struct.Path.html#method.display

Note the little 1.0.0 in the top right corner, which means that this function has been “stable since Rust version 1.0.0”. We’re at 1.87 now, so we’re good.

Then I compiled my program on OpenBSD with Rust 1.86, i.e. just one version behind, but well ahead of 1.0.0.

The compiler said that I was using an unstable library feature.

Turns out, that function internally uses this:

https://doc.rust-lang.org/std/ffi/struct.OsStr.html#method.display

And that is only available since Rust 1.87.

How was I supposed to know this? 🤨🫩

⤋ Read More
In-reply-to » @bender Both Gopher and Mastodon are a way for me to “babble”. 😅 I basically shut down Gopher in favor of Mastodon/Fedi last year. But the Fediverse doesn’t really work for me. It’s too focused on people (I prefer topics) and I dislike the addictive nature of likes and boosts (I’m not disciplined enough to ignore them). Self-hosting some Fedi thing is also out of the question (the minimalistic daemons don’t really support following hashtags, which is a must-have for me).

@bender@twtxt.net Yeah, well, it’s a bit like twtxt. There is a Gopher community, but it’s small. I actually don’t like that HTTP is so easily accessible. I don’t like it that much when people post links to my site on HackerNews or something like that. Too much exposure.

Gopher is a small world. It’s slow and cozy.

And much like twtxt, the protocol is simple®, so it’s easier to tinker with it.

⤋ Read More
In-reply-to » @prologic I am finding writing my Notes very therapeutic. Just create a markdown file and commit, push, and it’s live. Whatever comes to mind, whatever I want to keep as relevant. Silly things, more like a dump.

@bender@twtxt.net I know I know! I don’t know why I ever signed up and used it and still continue to pay for the silly thing. Twtxt/Yarn is so much better in every way 🤣

⤋ Read More
In-reply-to » @movq why Gopher to babble, and not just HTTP? I mean, may as well just write plain text files on your machine, and leave them there, right?

@prologic@twtxt.net I am finding writing my Notes very therapeutic. Just create a markdown file and commit, push, and it’s live. Whatever comes to mind, whatever I want to keep as relevant. Silly things, more like a dump.

If I feel like it, I do. If not, I don’t. Not social, not intended for anyone to see them. I am enjoying it!

⤋ Read More
In-reply-to » @bender Both Gopher and Mastodon are a way for me to “babble”. 😅 I basically shut down Gopher in favor of Mastodon/Fedi last year. But the Fediverse doesn’t really work for me. It’s too focused on people (I prefer topics) and I dislike the addictive nature of likes and boosts (I’m not disciplined enough to ignore them). Self-hosting some Fedi thing is also out of the question (the minimalistic daemons don’t really support following hashtags, which is a must-have for me).

@movq@www.uninformativ.de why Gopher to babble, and not just HTTP? I mean, may as well just write plain text files on your machine, and leave them there, right?

Gopher and Mastodon are two completely different things. That’s where my confusion comes from.

⤋ Read More
In-reply-to » @bender Both Gopher and Mastodon are a way for me to “babble”. 😅 I basically shut down Gopher in favor of Mastodon/Fedi last year. But the Fediverse doesn’t really work for me. It’s too focused on people (I prefer topics) and I dislike the addictive nature of likes and boosts (I’m not disciplined enough to ignore them). Self-hosting some Fedi thing is also out of the question (the minimalistic daemons don’t really support following hashtags, which is a must-have for me).

@movq@www.uninformativ.de Me too 😅 – Speaking of which i know you’ve lost a bit of “mojo” or “energy” (so have i of late), rest assured, I want to keep the status quo here with what we’ve built, keep it simple and change very little. What we’ve built has worked very well for 5+ years and we have at least 3 very strong clients (maybe 4 or 5?).

⤋ Read More
In-reply-to » Great article from Tailscale about how security policies we've often seen in many large complex organizations that we all love to hate don't actually provide the security that we assumed.

@prologic@twtxt.net do you remember Hamachi? Tailscale/Headscale is Hamachi on steroids. They are used primarily for creating a VPN among all your devices so they can talk to one another as if they were on the same LAN, even when they’re not. That was, mostly, my WireGuard usage.

I still have WireGuard running—because it is so lite that it doesn’t matter—to use as regular VPN, but Headscale keeps all my devices connected forming their own “mini-Internet” 100% of the time.

⤋ Read More
In-reply-to » Great article from Tailscale about how security policies we've often seen in many large complex organizations that we all love to hate don't actually provide the security that we assumed.

@bender@twtxt.net What’s awesome about it btw? I use WireGuard pretty heavily here. And my entire family also use it to keep a VPN connection back to our home network

⤋ Read More
In-reply-to » Of Pointlessware and CEOs Had a moment, to check up on some of the companies, I stopped following, get to The Browser Company and see their newest product - it's just Chrome, with an AI chat window pop-up and that's it. Something Canary Chrome, come with already. I see Theo from T3.gg, making fun of it on YouTube and promoting "his" product - an AI chat app, where you can choose from multiple models, by all the popular AI companies. Something I already have a worse version of, at work and I don't even use it. There's also an interview, about the future of virtual keyboards, surely this is at least actually a real thing and not more pointless horse shit. I check the website of the keyboard SDK, and it's around 20 identical apps, that just copy the same keyboard SDK/api and slap chatgpt features on top - in the App Store, these are surrounded by chatgpt clones, that just feed the users prompts, into the real thing and put ads, next to the answers.

@thecanine@twtxt.net … all these stupid, pointless “apps” are stuff that I eventually have to remove from family devices … Sigh.

⤋ Read More
In-reply-to » Gopher server is back online and I’ll be phasing out Mastodon.

@bender@twtxt.net Both Gopher and Mastodon are a way for me to “babble”. 😅 I basically shut down Gopher in favor of Mastodon/Fedi last year. But the Fediverse doesn’t really work for me. It’s too focused on people (I prefer topics) and I dislike the addictive nature of likes and boosts (I’m not disciplined enough to ignore them). Self-hosting some Fedi thing is also out of the question (the minimalistic daemons don’t really support following hashtags, which is a must-have for me).

I’ll probably keep reading Fedi stuff, I just won’t post that much, I think.

⤋ Read More
In-reply-to » I wanted to port this to Rust as an excercise, but they still have no random number generator in the core library: https://github.com/rust-lang/rust/issues/130703

@prologic@twtxt.net Yeah, it’s difficult, you often don’t get what you’d expect. They also make heavy use of 3rd party libraries. IIUC, for random numbers, they refer to this library. I’ve read many times that the Rust stdlib is intentionally minimalistic (to make it easier to maintain and port and all that).

I’m struggling with this, using 3rd party libs for so many things isn’t really my cup of tea. I’ll probably make my own tiny little “standard library”. It’s silly, but I don’t see any other options. 🤷

⤋ Read More
In-reply-to » @quark Plot twist: I only drink decaf. 🤯🤯🤯

@movq@www.uninformativ.de I had to look it up! “Is decaf coffee real coffee?”

“Yes, decaf coffee is real coffee. It’s made from the same coffee beans as regular coffee, but the caffeine content is significantly reduced through a decaffeination process. This process involves removing 97% or more of the caffeine, leaving behind the coffee’s flavors and aromas.”

OK then! 😅

⤋ Read More
In-reply-to » @lyse those are pretty cool! The one change I would recommend doing pronto is the colour of the hyperlinks. Ay, ay, ay, my retina! :-P

@quark@ferengi.one Ta. Hmm, what’s wrong with the blue text color? Is it too dark on the black background for you? :-?

Normal links are blue while images are teal. I thought I differentiate the two if I easily can. The underline of URLs comes from my terminal and is not tt’s fault.

Configuring colors is in the todo list. But of course, providing a sane default is definitely something I’d like to have.

⤋ Read More

Lately (since there are AI summaries at the top), each time I Google for the answer to a question, the AI summary has at least a part of the answer wrong. It makes up laws that do not exist, books that were never published - in sum, well written sentences that make linguistic sense, but with made up content.

Let me repeat: each time. Maybe I only search for hard stuff, or fringe stuff, or this some other explanation - but seriously, it’s hard to understand how isn’t Google ashamed of its AI overviews… or not sued under some regulation regarding fake news.

PS: yes, I know, my fault for using Google as a search engine.

⤋ Read More
In-reply-to » I swear that I have muted all the cat's feeds already. Yet, a new(?) one popped up.

@prologic@twtxt.net will do. No worries, not a show stopper. I will suggest that the muted numbered list not be sorted, but latest muted first. That way we have a better idea. Maybe adding timestamps to those too? Just a thought.

⤋ Read More

Of Pointlessware and CEOs
Had a moment, to check up on some of the companies, I stopped following, get to The Browser Company and see their newest product - it’s just Chrome, with an AI chat window pop-up and that’s it. Something Canary Chrome, come with already.
I see Theo from T3.gg, making fun of it on YouTube and promoting “his” product - an AI chat app, where you can choose from multiple models, by all the popular AI companies. Something I already have a worse version of, at work and I don’t even use it.
There’s also an interview, about the future of virtual keyboards, surely this is at least actually a real thing and not more pointless horse shit. I check the website of the keyboard SDK, and it’s around 20 identical apps, that just copy the same keyboard SDK/api and slap chatgpt features on top - in the App Store, these are surrounded by chatgpt clones, that just feed the users prompts, into the real thing and put ads, next to the answers.

⤋ Read More

“Later in the evening, posting on X, #Macron said: “I’m banning #socialmedia for #children under 15. Platforms have the ability to verify age. Let’s do it.”

French authorities are already progressing with efforts to force certain social media sites — including X, Reddit, Bluesky and #Mastodon — to introduce age verification, by classifying them as pornographic websites.

French measures forcing porn sites to verify their users’ ages came into effect on June 7, prompting the world’s largest porn website, Pornhub, to stop operating in France. Demand for virtual private network services, which allow users to trick websites into thinking they are in a different location, immediately surged.”

https://www.politico.eu/article/emmanuel-macron-social-media-ban-minors-france/

⤋ Read More
In-reply-to » 2024 was okay for me, but 2025 is gonna be real shit. 😂 So much annoying stuff coming up. Gotta enjoy the moment, who knows how long it will last. 😅

@bender@twtxt.net @aelaraji@aelaraji.com Sorry this was my fault 🤦 For whatever reason my pod had never seen that particular Twt from @movq@www.uninformativ.de – And… There’s a bit of a “behavioral” problem with the Trusted Peers functionality that means operators have to periodically re-trust peers manually 😭 Need to rework this 🤞

⤋ Read More
In-reply-to » been a while! i've been using my laptop more to kind of change my workflow, but without my browser bookmarks to remind me to check some sites, i've forgotten to check yarnverse! forgive me friends T_T

@bender@twtxt.net i’ve been trying to lock in!! it’s so hard but i really gotta relearn how to focus and just zero-in on what i need to do. ADHD kicking my ass but i’m fighting it!!

⤋ Read More

My Journey to KubeCon + CloudNativeCon 2024: A Story of Volunteering and Growth
My name is Oscar Ayra and I am from Lima, Peru. In 2024, I had the privilege of being part of the volunteer team at Kubernetes Community Days (KCD) Lima. It was an enriching experience where… ⌘ Read more

⤋ Read More

Newbie No More: Lessons from My First KubeCon + CloudNativeCon as a Speaker
Introduction April in London has never felt so electric. From the first footstep in the ExCeL halls to the hallway conversations, KubeCon + CloudNativeCon Europe 2025 was a whirlwind of new ideas, familiar faces, and those… ⌘ Read more

⤋ Read More

Passing of Jean-Raymond Abrial
Jean-Raymond Abrial, father (in particular!) of the Z notation, but also of the B method, and then Event-B, passed away on May 26. I was surprised to see that this piece of news, which may be of some interest to formal method folks, doesn’t seem to be very well known (there’s not much material on the web).

Here are some links (on LinkedIn, sorry):
[by Bertrand Meyer](https://www.linkedin.com/posts/bertrandmeyer_i-am-saddened-to-report-from-todays-print-activity-7335684948974034944-SJf1? … ⌘ Read more

⤋ Read More

[$] Improving iov_iter
The iov_iter interface is used to
describe and iterate through buffers in the kernel. David Howells led a combined storage and
filesystem session at
the 2025 Linux Storage,
Filesystem, Memory Management, and BPF Summit (LSFMM+BPF) to discuss ways
to improve iov_iter. His topic\
proposal listed a few different ideas including replacing some
iov_iter types and possibly allowing mixed types in chains of … ⌘ Read more

⤋ Read More
In-reply-to » 2024 was okay for me, but 2025 is gonna be real shit. 😂 So much annoying stuff coming up. Gotta enjoy the moment, who knows how long it will last. 😅

@movq@www.uninformativ.de you have no idea what a soul sucking, heartbreaking SOB 2025 turned out to be. I wish you the best of luck with whatever annoyances life might have thrown your way. Power to you, my friend.

⤋ Read More

[$] An end to uniprocessor configurations
The Linux kernel famously scales from the smallest of systems to massive
servers with thousands of CPUs. It was not always that way, though; the
initial version of the kernel could only manage a single processor. That
limitation was lifted, obviously, but single-processor machines have always
been treated specially in the scheduler. That longstanding situation may
soon come to an end, though, if this patch\
series from Ingo M … ⌘ Read more

⤋ Read More

Breaking: Australia sanctions against two far-right Israeli ministers over Gaza comments
Foreign Minister Penny Wong says Australia will join the UK, Canada and New Zealand in sanctioning Itamar Ben-Gvir and Bezalel Smotrich over comments they have made about Gaza. ⌘ Read more

⤋ Read More

NT police boss faces political questioning over Kumanjayi White death probe
The Northern Territory’s acting police commissioner clarifies why police believe the investigation into Kumanjayi White’s death should not be outsourced to an external body. ⌘ Read more

⤋ Read More

Marines to arrive in LA as ABC camera operator hit by less lethal round during protests
An additional 700 US Marines are expected to reach Los Angeles on Monday night or Tuesday morning, local time, as part of efforts to quell the protests. ⌘ Read more

⤋ Read More

South Korea’s new president vows to ‘restore democracy’
Reuters Editorial Staff,    -  Reuters

_Stephan: I am leading today’s SR with this story because it represents exactly how the population of a country can end a fascist authoritarian coup. First, millions go into the streets for nonviolent demonstrations, then citizens overwhelmingly vote for democracy. As Trump tries to stir up violence in the Los Angeles demonstrations so he can claim it is an insurrection and susp … ⌘ Read more

⤋ Read More

Trump’s troop deployment is a warning sign for what comes next, legal scholars fear
Kyle Cheney and Josh Gerstein,  Staff Writers  -  Politico

_Stephan: What is see in Trump is a bully in a panic. He wants to create misdirection so the media stops covering his bully-off with Elon Musk, and the nasty oligarch benefit bill his morally spineless Republican vassals in Congress are trying to pass. Like all cowardly bullies, his solution is to over … ⌘ Read more

⤋ Read More

Red State Voters Approved Progressive Measures. GOP Lawmakers Are Trying to Undermine Them.
Jeremy Kohler,  Contributing Writer  -  ProPublica

_Stephan: The Republican Party at both the state and federal level has been completely taken over by fascists. It is a fascist anti-democratic party that cares nothing for the voters they are supposed to serve, but which they seek to dominate. Nowhere is this made clearer than in Republican cont … ⌘ Read more

⤋ Read More

Looser gun laws tied to thousands more US child shooting deaths
Issam Ahmed,  Staff Writer  -  Agence France-Presse / Raw Story

Stephan: The failure of the Democrats and Republicans, and the corrupt Supreme Court MAGAt majority to deal with gun violence in the United States has made death by gunfire the leading cause of nonmedical death. The Trump coup fascists have even gone so far as to legalize functional machine guns in civilian hands.

![](https://www.sc … ⌘ Read more

⤋ Read More

CCTV footage ‘too grainy’ to identify offender in Adelaide murder trial, court told
A man accused of the shooting murder of his tenant in Adelaide’s north should be found not guilty due to the unreliability of a key witness and CCTV footage, his defence barrister says. ⌘ Read more

⤋ Read More

ACT Greens push to make institutions liable for sexual abuse by staff
It comes after the High Court found a priest who was accused of child sex offences was not an employee, meaning the Catholic Church could not be held liable. ⌘ Read more

⤋ Read More

Memory of Australia’s worst civil aviation disaster ‘still very raw’
Family and friends of 29 people who died in a plane crash near Mackay 65 years ago gather to remember them, saying it feels “like yesterday”. ⌘ Read more

⤋ Read More

Father had gun licence renewed before taking son’s life, inquest hears
A NSW father who killed his 15-year-old son before taking his own life had his firearms returned to him after a doctor’s assessment, an inquest has heard. ⌘ Read more

⤋ Read More

This leading psychiatric hospital is set to close. Is ‘rapacious profiteering’ to blame?
Army veteran Cain Chambers says Toowong Private Hospital saved his life. Now it’s closing down and he doesn’t know where he’ll get psychiatric care in future. ⌘ Read more

⤋ Read More

Breaking: Rockliff set to visit governor to ask for Tasmanian election
The Tasmanian government has passed an emergency budget supply bill to keep the public service funded, clearing the way for the premier to visit the governor this afternoon and call for an early election. ⌘ Read more

⤋ Read More

We weren’t close as kids but ended up with matching sibling tattoos
Last year, my brother Asitha and I got matching tattoos to remember our dad. I couldn’t have predicted this barfy bonding moment because we weren’t close growing up. ⌘ Read more

⤋ Read More

Ex-military officers raise concerns about ‘combat unit’ marines sent to LA
Former US military officers say hundreds of marines deployed to the LA protests are from combat units, which was a drastic move that raises questions about President Donald Trump’s intentions. ⌘ Read more

⤋ Read More

This filmmaker couldn’t say he was coming to Sydney until he was on the plane
This world-renowned Iranian director was barred from making films in his own country. Now, he has come to Sydney under a veil of secrecy to promote his latest work, which is based on his interrogations in prison. ⌘ Read more

⤋ Read More

Sewage spills create lingering four-day stink in Perth’s south
Authorities say it could take days to fix a burst wastewater main that kickstarted a number of sewage spills in Perth’s southern suburbs over the weekend. ⌘ Read more

⤋ Read More

Radxa UFS/eMMC Module Reader and Storage Solution Enables Fast Flashing and Scalable Embedded Storage
Radxa’s UFS/eMMC Module Reader is a compact USB 3.0 adapter for flashing OS images, accessing firmware, and transferring large files. It supports both eMMC v5.0 and UFS 2.1 modules with speeds up to 5 Gbps The adapter is compatible with eMMC and UFS modules from Radxa, and also works with modules from platforms like PINE64 and […] ⌘ Read more

⤋ Read More

Peak Jewish group calls Islamic preacher’s speech ‘dangerous’ in court
Speeches made by a Western Sydney preacher have been described as “humiliating” to Jews by lawyers acting for Australia’s peak Jewish body. ⌘ Read more

⤋ Read More

‘Our angel’: Tributes flow for 15yo girl killed in 4WD rollover
The mother of a teen killed in a car crash in WA’s South West says her daughter “brought warmth to every heart”, as police investigations continue. ⌘ Read more

⤋ Read More

Sanjeev Gupta’s ‘rapidly collapsing house of cards’ across Australia
With one mine still temporarily shut down and another smelter about to pause its operations, GFG Alliance workers across Australia are being left in limbo as Sanjeev Gupta’s business woes continue. ⌘ Read more

⤋ Read More

watchOS 26 Features New Gesture to Dismiss Notifications
Apple in watchOS 26 has added a new one-handed wrist-flick gesture to easily dismiss notifications, but the gesture only works on newer Apple Watch models.

Image

When you raise your wrist to check a notification but aren’t ready to respond, you can now simply flick your wrist – turn it over and back – to dismiss it. The quick gesture lets you dism … ⌘ Read more

⤋ Read More

What the Socceroos need to qualify for the World Cup
The Socceroos are just a solid performance from reaching their sixth FIFA World Cup finals in a row, but must remain focused against Saudi Arabia in Jeddah. Here’s everything you need to know. ⌘ Read more

⤋ Read More

Tasmanian speaker delivers parting shot at own party as she calls it quits
Speaker and long-serving Labor MP Michelle O’Byrne announces she will retire from politics at the next election — which is expected to be called later today. ⌘ Read more

⤋ Read More

Illicit tobacco crop worth $4.4m discovered near Shepparton after tip-off
Authorities seize a 20-tonne crop of mature tobacco being grown on 2.4 hectares, an area equivalent to more than 450 tennis courts, in Victoria’s north. ⌘ Read more

⤋ Read More

iFLYTEK Wins CNCF End User Case Study Contest for Scalable AI Infrastructure Breakthroughs with Volcano
Company to present large-scale Kubernetes model training success at KubeCon + CloudNativeCon China 2025 Hong Kong, China — 10 June 2025 — The Cloud Native Computing Foundation® (CNCF®), which builds sustainable ecosystems for cloud native software,… ⌘ Read more

⤋ Read More

CNCF Kubestronaut Program Momentum Highlights Asia’s Role in Growing Cloud Native Talent
Upcoming Kubestronaut celebrations in China and Japan to honor global program growth Hong Kong, China– 10 June, 2025 – The Cloud Native Computing Foundation® (CNCF®), which builds sustainable ecosystems for cloud native software, today announced continued… ⌘ Read more

⤋ Read More

been a while! i’ve been using my laptop more to kind of change my workflow, but without my browser bookmarks to remind me to check some sites, i’ve forgotten to check yarnverse! forgive me friends T_T

⤋ Read More

Boy with disabilities put in house akin to ‘correctional facility’, whistleblower says
A whistleblower says a 12-year-old boy with disabilities alleged to be the victim of indecent treatment in Cairns watch house has been flown to Brisbane and placed in housing “similar to a correctional facility”. ⌘ Read more

⤋ Read More

GitOps in 2025: From Old-School Updates to the Modern Way
1. Introduction: Why Everyone’s Talking About GitOps in 2025 It’s 2025, and building software is more cloud-driven than ever. Cloud computing offers incredible speed and flexibility, but it also brings complexity. Companies are expected to ship… ⌘ Read more

⤋ Read More

West Australian fire volunteer’s decades of service honoured
Toodyay Volunteer Fire and Rescue Service captain Ian MacGregor has responded to some of WA’s most traumatic fires and road incidents during decades of service, recognised this week with the Australian Fire Service Medal. ⌘ Read more

⤋ Read More

Worry as SA drought smashes low-rainfall records in farming areas
Farmers were able to achieve a good harvest over summer because of sub-soil moisture, but a second year of extremely low rainfall has them fretting. ⌘ Read more

⤋ Read More

Flooded growers ask for patience as blueberry prices near $10 a punnet
Eye-watering blueberry prices could stay higher for longer this year due to seasonal shortages and crop damage caused by torrential rain in northern New South Wales. ⌘ Read more

⤋ Read More

McKeown survives DQ and a dark place to qualify for world titles
Kaylee McKeown beat rival Mollie O’Callaghan in the race of the night at the Australian Swimming Trials, but she acknowledges she is still not at her best after struggling since the Paris Olympics. ⌘ Read more

⤋ Read More

Live: LA braces for more protests as California files lawsuit against Trump administration
California Governor Gavin Newsom says the state will sue Donald Trump’s administration after the US president deployed the National Guard to handle protests. Follow live. ⌘ Read more

⤋ Read More