Aedis

joined 9 months ago
[–] Aedis@lemmy.world 4 points 1 day ago* (last edited 1 day ago) (1 children)

I used to work in a really big project written in C and C++ (and even some asm in there) and the build was non-deterministic. However the funky part was there was a C file in all of this that had a couple dozen of commented nee lines with a line at the top saying: 'don't remove this or the build will fail' That remains my favorite code comment to this day.

[–] Aedis@lemmy.world 31 points 1 week ago* (last edited 1 week ago)
[–] Aedis@lemmy.world 16 points 2 weeks ago (4 children)
[–] Aedis@lemmy.world 6 points 3 weeks ago

This is the way.

[–] Aedis@lemmy.world 0 points 1 month ago (1 children)

That's the fun part about being in a place where you can hold a discussion. Some people don't agree with you, but they can still see the benefits of the option you are talking about or even agree that they are a great solution for now.

[–] Aedis@lemmy.world 3 points 2 months ago

but by that logic, I could take 90% of your paycheck and say, “yes well you still made 10% which is way better than nothing!”

That's already happening :)

[–] Aedis@lemmy.world 7 points 2 months ago

Wait he didn't invent him? Man... I

[–] Aedis@lemmy.world 5 points 3 months ago* (last edited 3 months ago) (1 children)
[–] Aedis@lemmy.world 7 points 4 months ago

Found the Microsoft employee.

[–] Aedis@lemmy.world 5 points 5 months ago (1 children)

I don't have a great solution for this particular problem.

However any solution that you come up with has to be resilient enough that the nodes that execute such scenario are always available.

You don't just want a system with high availability, you want a system that will stand the test of time. For example, it might trigger 30 or 50 years from now. You might not want to use AWS or Google or Azure or any sort of system like that. They don't seem to keep their solutions available for that long. So you'll need to host something yourself and make sure it's resilient to a multitude of scenarios that might bring the "back end" down.

You'd also need to set-up some sort of test for the system to make sure it's still running and it'll do what you want it to. Maybe it runs every 3 months or so like a fire system drill.

Honestly the trigger can be something as simple as you hitting a button connected to your system every week with a way for it to ping and prompt you to do it you if you haven't "reset" the counter in a timely fashion.

I would probably do something like that with a weekly cadence and a whole other week to make sure I don't miss the reset.

You probably also want to be able to set it to different modes if you think you will be away for a while. Like a vacation mode or oh shit I'm in the hospital mode.

Additionally, I also wouldn't be as fatalistic as sending goodbyes to everyone. I would use it more as a system to sound an alarm that I'm not okay and something has happened to me and communicate that with people who could do something about it. Like verify if I'm alive or not, or contact local authorities to post a missing persons report.

This same system of notifying could also allow closer people to me to trigger an "oh shit I'm dead mode" which would then execute whatever is in that idea of yours.

[–] Aedis@lemmy.world 0 points 5 months ago (1 children)

These are all situations that you would want to alert your loved ones though. And the power outage one will probably be solved faster than your switch hopefully.

[–] Aedis@lemmy.world 9 points 5 months ago* (last edited 5 months ago) (2 children)

I believe the proper terminology is Badonkadonks

FTFY

view more: next ›