Avatar

bamboo

bamboo@lemm.ee
Joined
5 posts • 869 comments
Direct message

Genocider acts in bad faith and won’t willingly stop genocide. More at 11.

permalink
report
reply

On embedded devices, how often are you parsing input that came from notepad (or any other text editor)? If your device has a UI or a web server, you’re likely already using something that handles various encoding and line endings. If you’re reading data you included at build time, consider a validator/sanitizer script that can run in your build environment where it can have easy access to off the shelf libraries.

On a side note- as a software engineer who primarily works on things running in a general purpose OS but does occasionally have to make small programs that can function on embedded devices (albeit still usually with an OS, think routers and iot), I’m glad that the Rust community takes no-std development seriously. Large swaths of the rust ecosystem is available even in embedded environments.

permalink
report
parent
reply

Different OSes using different line endings is such a long standing and well known problem that I would only describe the bugs that come as a result as bad programming. Not even lazy programming, a lazy programmer uses a library that abstracts away these differences.

permalink
report
parent
reply

VSCode’s vim plugin is pretty great for full-color graphical terminal users

permalink
report
parent
reply

This is wild. Not only mandatory validation, but some sort of credit system to monitor how much porn a person is watching?

permalink
report
reply

Ban private fireworks and reserve them only for licensed, scheduled displays run by professionals.

permalink
report
parent
reply

The part you’re missing is that while C++ does have newer safer ways of doing memory management, all the old ways are still present, in wide use, and are easier. Basically, C++ makes it easy to do the wrong thing and hard to do the right thing, and most codebases are built around the wrong things. It’s often easier to just rewrite it in rust than it is to refactor an existing code base, so if you’re going to expend that effort why not do it in a language that has stronger safety guarantees, a better dependency and build management system, and a growing community?

permalink
report
parent
reply

Google’s the main backer but it’s technically an open standard. Apple is implementing support in iOS 18 too, reluctantly. Google also has non-standard extensions on top of it like e2e encryption. I wish they would standardize it but that’s a pretty important feature and maybe it’s ok that they brought it out before it could become standard.

permalink
report
parent
reply

As a person who has been managing Linux servers for about a decade now, trust me that a few hours or days of learning docker now will save you weeks if not months in the future. Docker makes managing servers and dealing with updates trivial and predictable. Setting everything up in docker compose makes it easy to recover if something fails, it’s it’s self documenting because you can quickly see exactly how your applications are configured and running.

permalink
report
parent
reply

Puberty itself is full of irreversible changes. Having puberty blockers available to trans youth is important to prevent their bodies from making changes they don’t want, and is reversible later.

permalink
report
parent
reply