xlash123

joined 1 year ago
[–] xlash123 21 points 10 months ago (9 children)

It actually is possible to segfault in safe Rust, although it is considered a bug. Proofs of concept are shown in this cve-rs crate.

If you want an explanation of why this happens, I recommend this video: https://youtu.be/vfMpIsJwpjU

[–] xlash123 28 points 10 months ago (1 children)
[–] xlash123 2 points 10 months ago (1 children)
[–] xlash123 1 points 10 months ago

As pointed out in the video, studies show that the for pedestrian deaths, the greatest predictor by far is the height of the grille. This is because of how the body collides with the front of the vehicle on impact. Lower grilles mean the pedestrian is launched upwards and falls onto the hood. Higher means you get hit by a wall with nowhere to go but down.

Because all vehicles are much more massive than people, the difference in mass between a heavy vehicle and a light vehicle is a near negligible factor in these cases.

[–] xlash123 2 points 10 months ago

Hmm, this doesn't look well optimized. I think I can fix it by adding just 1 more lane.

[–] xlash123 110 points 10 months ago (5 children)

PHP: Problem -> real_solution_for_real_this_time() (real_solution_i_swear() is unsafe and deprecated)

[–] xlash123 7 points 10 months ago* (last edited 10 months ago) (1 children)

I use Home Assistant for controlling my smart lights. They do support Docker, but I installed it as a VM with KVM. You get more features with it, such as add-ons. But you should definitely look into your options. They have a diagram on this page.

https://www.home-assistant.io/installation/

[–] xlash123 9 points 10 months ago (3 children)

Y'all have terrible tab hygiene. I have 0 tabs 99% of the time, phone and desktop. Need something for later? Write it down. Once you're past so many tabs, you'll never look at it again.

[–] xlash123 13 points 10 months ago

Never underestimate a dedicated community to make anything competitive

[–] xlash123 8 points 10 months ago

People sometimes say "torrenting Linux ISOs" to mean pirating without outright saying it.

[–] xlash123 27 points 10 months ago

Suddenly, your ghost problem disappeared

[–] xlash123 35 points 10 months ago

Why does it have to be this complicated? See flow chart for sanity:

Did employee work? Yes -> pay them in full

view more: ‹ prev next ›