Email or username:

Password:

Forgot your password?
21 posts total
ldvsoft

I made a thing. Please do not hesitate to point me in the direction of more forms to fill. wtf-8.xn--stpie-k0a81a.com

Show previous comments
Norbert Lindenberg

@jstepien

Apple would be happy to accept some emoji instead of those invalid characters.

mafe en españa

@jstepien How dare you live in a country not limited to ASCII? 🤣

No language ever needs Hëävy Mętål Ümlãūts, yæh?

ldvsoft

20 years later, real-time Linux makes it to the kernel - really zdnet.com/article/20-years-lat by @sjvn

Real-time #Linux is finally here, but long before it got here the project had made fundamental improvements to mainstream Linux.

Aho

@sjvn is priint_K a typo or? I only find it mentioned twice, your article and a French (auto translated?) article.

news-24.fr/20-ans-plus-tard-li

ldvsoft

@grishka so, eh, does Mastodon client just steals the Android theme color for the whole interface? It bugged for me at some point so I had to change it and now Mastodon is also creepy different color!

Григорий Клюшников

Yes, it's that Material You dynamic coloring thing, Google apps do it too

ldvsoft

thread in which I talk about why the "wrap your games console in a towel" or "reflow the bga" thing works to fix some consoles, and it's nothing to do with solder balls.

chaos.social/@gsuberland/11308

Show previous comments
vxo

@gsuberland wow! just when I thought I could trust MLCC's

gudenau

@gsuberland This is some really cool information, thanks for sharing!

ldvsoft

New blog post! Beyond Ctrl-C: The dark corners of Unix signal handling.

The post is an introduction to signals and how to manage them effectively with async Rust. It's a written version of my talk at RustConf 2023, heavily edited for presentation as a blog post.

Hope you enjoy reading it as much as I enjoyed writing it!

sunshowers.io/posts/beyond-ctr

Paul Jewell

@rain
Thanks for sharing! Very interesting read

jyn

@rain

The functions okay to call in signal handlers are called async-signal-safe functions. The term is a bit confusing! “async” here has nothing to do with async Rust. (In many ways it’s the opposite of async Rust, because the defining characteristic of async Rust is that you cannot just be interrupted or preempted at any time. You can only be interrupted at await points.)

in some ways i wish rust (and javascript before it) had settled on "cooperative multi-tasking" as the name to call it

"async" is not a good intuition because so many things can be asynchronous idk. "multi-tasking" even has a nice task {} abbreviation you can use for the blocks that i think semantically describes what the closure is doing better

@rain

The functions okay to call in signal handlers are called async-signal-safe functions. The term is a bit confusing! “async” here has nothing to do with async Rust. (In many ways it’s the opposite of async Rust, because the defining characteristic of async Rust is that you cannot just be interrupted or preempted at any time. You can only be interrupted at await points.)

ldvsoft

I wrote up some of my findings exploring the link and load-time performance of the Bevy dylib and Rust dylibs in general.

I go deep into protected symbols and incompatibilities between how GCC and LLVM compile code on Linux.

davidlattimore.github.io/posts

I'll also be giving a talk about this at the Rust Sydney meetup in about 12 hours from now. See link for details about accessing the livestream.

#rustlang #wildlinker

bjorn3

@davidlattimore Great article! Thanks a lot for digging into this!

ldvsoft

to explain something for anyone who hasn't read the RP2350 datasheet:

It doesn't do any code-morphing or translation or anything. The CPU is designed with 4 cores, but two slots for connecting to the rest of the CPU fabric.

So at boot it selects which two cores to power on. So it can be 2xARM or 2xRISCV or (technically!) 1xARM and 1xRISCV. There's no fancy stuff where there's a single CPU arch that can run multiple things: it's just multiple heterogynous cores.

Show previous comments
the Lobdegg

@foone Is there a reason why you're only allowed to activate 2 of the 4 cores? Is it like a timing thing?

John de Largentaye

@foone it’s weird that they include 2 cores in the die that *cannot be used* (i.e. you can only use ARM XOR RISC-V)

I’m so used to designs that maximize layout usage that wasting space on useless extra hardware seems heretical.

I guess whichever node they’re fabbing at is cheap enough, that the die space isn’t critical.

Григорий Клюшников

Foone🏳️‍⚧️, idk but that feels kinda wasteful? But then also looking at how comparatively little die area an actual CPU core usually occupies on modern chips... 🤔

ldvsoft

Still waiting for any company to implement this: obvious and unmistakable mute audio/disable video buttons

mute audio button as a toggle with two states: muted and unmuted
Show previous comments
­

@nikitonsky How about just having a checkbox next to an icon? 🤔

Jigme Datse

@nikitonsky Wait? You think having UI/UX that is obvious and unmistakable is desirable? What is wrong with you... Are you some weird anti-ableist freak?

hazelnot :yell:

@nikitonsky I swear this used to be a thing but then they "revamped" the UI and just made it objectively worse 💀

Show previous comments
mirabilos

@vitaut

1. if it’s not NUL-terminated (NUL, not null, damnit!), it’s not a string, and you have to use memcpy and friends
2. if you’re getting an opinion only after reading an (old) post from Drepper… you have a problem with assigning proper trustlevels to sources

askiiart (fine, not cis)

@vitaut@mastodon.social i die a little bit inside every time i see someone use "prefix" when they should use "suffix"

GwenTheKween :verifiedtrans: :neofox_nom_verified:

@vitaut what does the author mean by "schizo" logic? Especially when it is contrasted by "sane and natural logic"?

Because the only word I know that has schizo in it is schizophrenia, so this sounds like the author is, at the same time, managing to show they don't understand how schizophrenia work, are being abelist and pretending like schizophrenia isn't something natural that just happens to some people because of genetic and epigenetic factors

ldvsoft

@Gankra @streganil

> a desire to optimize the concrete case

And it wasn't even created as an optimization but for pedagogical purposes.

> The vector<bool> specialization was intentionally put into the standard to provide an example of how to write a proxied container.

gotw.ca/publications/mill09.ht

ldvsoft

@rotopenguin @etchedpixels yes, I've always hated the bash feature of 'helpfully' trying to interpret .. more like the naïve expectation, but only managing to do it for bash builtins, so that 'cd ../foo' and 'ls ../foo' are talking about different directories.

I do 'set -P' in my .bashrc, so that I get a consistent experience of .. going to the physical parent dir linked from my cwd's inode. I'd rather that than have to keep remembering which is which.

ldvsoft

@0xabad1dea «This is similar to what happens when enabling --ffast-math, which stands for Final Fantasy AST Math, meaning that the abstract syntax tree of your program will be manipulated using fantasies about Math that do not apply to IEEE-754, and your Final result can be arbitrarily different.» will never not make me laugh

tom7.org/grad/murphy2023grad.p

screenshot from the paper of the post quote
ldvsoft

“Of course I like to read nontechnical books, although I read very slowly. Here are some that I heartily recommend.”—Don Knuth

😳

www-cs-faculty.stanford.edu/~k

Show previous comments
bartosz 🚲🌳🐍

@mwichary I followed the progress of writing the book for many years but I didnt get chance to get my hands on the printed copy. Any chances to get it in an ebook format? 🙏

Magnus Ahltorp

@mwichary So now I own two of the books on that list: Shift Happens and The Abominable Man.

Four books: Shift Happens, The Abominable Man (in Swedish), The Abominable Man (in Japanese), and The Art of Computer Programming
Chancerubbage

@mwichary

I love watching his appearances in Numberphile videos on YouTube.

He is a bit more recognizable in his portrait in the Wikipedia article for ‘The Art of Computer Programming’ that the photo used for his biographical entry in Wikipedia.

ldvsoft

@fasterthanlime Heyo, what do you think of serde shipping a binary? I'm not a everyday Rust fan to keep in touch with all the nuances github.com/serde-rs/serde/issu

Go Up