Charly Coste 🇫🇷

50 Followers
126 Following
317 Posts

Founder and maintainer of the open source crowdfunding platform Liberapay.

I'm interested in too many things, including politics, economics, history, physics and other sciences. I like to understand how things work.

French, he/him, cishet, white, single, thirty-something.

Liberapayhttps://liberapay.com/Changaco/
My programming languagehttps://gato-lang.dev/
If you rely on assistive technologies (TTS, Braille display, enlarged fonts), what would be your preferred terminal output from a compiler or other CLI tool telling you where an error occurred?
If you'd prefer a different option, please elaborate.
#Accessibility #Programming #A11y #Rust #RustLang
at path/to/file.rs, line 10, column 29
37.5%
at path/to/file.rs:10:29
30.6%
-> path/to/file.rs:10:29
8.3%
path/to/file.rs:10:29
23.6%
Poll ended at .

@lispi314 Corruption that doesn't immediately result in a crash is indeed a more difficult problem to solve. That said, widespread memory corruption is pretty much guaranteed to eventually cause a fatal error by altering a pointer.

Thanks for the discussion and for confirming that what I had in mind seems feasible. I've added several points to my notes on what I would want a new operating system to do.

@davidrevoy

@lispi314 While it would be great if the kernel could protect itself, I was thinking of a much more simple check limited to the memory address ranges that can easily be checked and disused.

If the kernel crashes, it should automatically run a complete memory test on the next boot to determine if faulty hardware is the likely cause.

@davidrevoy

@lispi314 I didn't mean the kernel should try to completely prevent memory corruption by doing software-based ECC on all pages all the time. I meant the kernel should at least try to detect faulty memory as soon as possible, without significantly impacting performance, instead of doing nothing to address a rare but real problem that affects end users.

@davidrevoy

@lispi314 I'm not sure what you mean. It seems to me that the kernel could regularly check memory pages in the background, stop using memory address ranges that return corrupted data, and of course emit a warning meant to be relayed to the user by its desktop environment. Personal devices rarely max out their hardware capabilities, so there are plenty of times when background checks like this can be run without significantly impacting performance.

@davidrevoy

@Changaco Thank you for the links! Interesting read, and I totally agree. I had no idea ECC was a thing before this article, but now, I even don't understand why this tech is not the standard. RAM problems degenerates in so many troubles...

New blog post: "The RAM Nightmare: How I Lost My Sanity (and Almost My Deadline)": https://www.davidrevoy.com/article1117/the-ram-nightmare-how-i-lost-my-sanity-and-almost-my-deadline

#ram #hardware #linux

@davidrevoy It seems to me that operating systems could and should detect bad memory, but sadly a lot of software is built without fully taking into account the fact that hardware fails.

Relevant fact: Linus Torvalds is an advocate of error-correcting memory (https://arstechnica.com/gadgets/2021/01/linus-torvalds-blames-intel-for-lack-of-ecc-ram-in-consumer-pcs/) and uses it on his own machine (https://www.youtube.com/watch?v=mfv0V1SxbNA).

Why don’t PCs use error correcting RAM? “Because Intel,” says Linus

Artificial market segmentation may have suppressed demand for ECC in desktops.

Ars Technica
Are you into #opensource ? And in the #eu ?
There is a Call for Feedback by the European Commission for a 'European Open Digital Ecosystem Strategy' For strategic approach to #foss in Europe, and a framework for using open source within the European Commission. You can respond until 3 February. It is useful to respond even if your point has already been submitted by someone else. The number and repetition of arguments is used as a weight. https://ec.europa.eu/info/law/better-regulation/have-your-say/initiatives/16213-European-Open-Digital-Ecosystems_en cc #fosdem

After 15 months of hard work, my dad has finished this impressive model of Minas Tirith! It is 1.4 m high and entirely hand-made out of wood. One of the most time-consuming parts was manually engraving the bricks on all walls and buildings, but this was key to properly convey the huge size of the city. Everything was painted by hand, adding some wear and tear. For a behind-the-scenes look at how he built this check out this video: https://www.youtube.com/watch?v=Z1Ywlc8ojjE

#lotr #MastoArt #art #craft