bamboo

joined 1 year ago
[–] bamboo@lemm.ee 11 points 4 months ago (4 children)

Almost half of over 50 hospitals already have these new devices? I highly doubt that. Are you referring to one of the really bad old windows on arm devices, or like an android tablet or something?

[–] bamboo@lemm.ee 15 points 4 months ago (13 children)

What phone has a 22000 mAh battery?

[–] bamboo@lemm.ee 3 points 4 months ago

continuously fighting against awful software

Arguably this is why some people don’t bother with a VM and use the web apps instead.

[–] bamboo@lemm.ee 1 points 4 months ago

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.

[–] bamboo@lemm.ee 3 points 4 months ago (2 children)

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.

[–] bamboo@lemm.ee 2 points 4 months ago

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

[–] bamboo@lemm.ee 1 points 4 months ago

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?

[–] bamboo@lemm.ee 11 points 4 months ago

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.

[–] bamboo@lemm.ee 1 points 4 months ago

Yep, I have Kagi set as my default, but if I’m searching for places nearby or current events, I usually end up back on google. But 90+% of my search queries stay on Kagi which is impressive enough. In the past I’ve tried DuckDuckGo and always switched back in part because the results quality was very bad.

[–] bamboo@lemm.ee 1 points 4 months ago (1 children)

I can’t wait to freely cast my ballot AGAINST either a genocidal capitalist or a worse genocidal capitalist.

[–] bamboo@lemm.ee 3 points 4 months ago

Very similar, yes

[–] bamboo@lemm.ee 5 points 4 months ago (2 children)

While Kagi does have a very specific audience in mind, I’m not convinced specialization vs generalization is a reason for a difference. Google also tailors ads for the audience, using information they have collected on you, people similar to you, as well as general time of day, current events, etc. It’s more that google wants you on their site for longer, Kagi wants you to find your result and move on, since the more you search the more it costs them.

view more: ‹ prev next ›