You have done something, that it’s worth breaking backwards compatibility over.
- 1 Post
- 260 Comments
anton@lemmy.blahaj.zoneto
Today I Learned@lemmy.world•TIL the creator of the 'I love you' virus suffered no legal consequences, because the philippines had no legal consequences for malware at the time.English
5·3 days agoEarlier this week I found a vibe coded web calculator, that allowed code injection. I thought this would be interesting, finding out which functions would be callable and how to exfiltrate data in a plot.
Then I realized the input was evaled and the you could get back text by throwing an exception. Where is the fun in that?
The biggest challenges where that everything got converted to lowercase and the json encoding was a bit broken so I had to do some f-string manipulation.
Someone smuggling drugs. Given we have a medical image something has probably gone wrong.
The first half of my comment is the one that matters, the second half is a sleep deprived Wikipedia binge.
The units are kg rounded to the next power if 10. The numbers come from reverse engineering the article and Wikipedia. Sagittarius A* was a the first black hole I could think of. The scale was between mass of electron (like in the article) and mass of an atom (relevant to the post).
“Mass of electron cloud equivalent to black hole” what electron cloud?
An imaginary cloud of electrons similar to the one in the what-if. One that has the energy equivalent of the mass of a black hole. Due to the reduced charge density there would be less energy and therefore black holes, but I am convinced that a lot of objects would collapse.
In the example in from that what if, they are putting a universe’s worth of mass in the volume of the moon, so it would create a super massive singularity. That’s not what is happening in here.
Not quite, xkcd put a moons worth (by mass) of electrons together, so if we add an electron to each atom we go down four to five orders of magnitude.
The black hole came about, because the electric charge creates a electric field in which the electrons have a potential energy that by E=mc^2 is equal to the mass of the universe. If we apply our scaling factor we still end up with black holes everywhere.Lets play with those numbers:
Scale factor between Sagittarius A* and the observable universe 10^37 / 10^53 = 10^-16
Mass of Moon 10^23
Mass of electron cloud equivalent to black hole 10^23 * 10^-16 = 10^13
mass of electron added object equivalent to black hole 10^13 * 10^5 = 10^18
That means adding an electron to each atom is enough to rival the black hole at the center of the Milky Way. Even if I miscalculated by many orders of magnitude, at least each planet collapses into one.
https://whatif.xkcd.com/140
Not quite the the same scale, but a similar idea is explored by Randall Moore. He explores a lot of weird questions like this and regularly consults scientists.
It would probably go crunch not boom. https://whatif.xkcd.com/140
If you want to load at runtime you can use https://docs.rs/ron/latest/ron/. The structs are a weird combination of the two ways to define a struct in rust, making the ron notation of structs invalid rust, but having proper enums makes it worth it.
Point being, an aerial shot of almost any neighborhood is going to look like that.
No, I just zoomed in on a place in my home city that looked interesting from the satellite view, and took these screenshots a few hundred meters apart:


(me making fun of your crop rotation idea and thereby holding our people back another 5000 years) jeff thinks the beans have to take turns Imao
People know, it’s just to much work to get rid of them permanently.
Guess I will stick to uprooting the ones I can pull out in the woods and cutting along fences where they hang over.
Everybody wants science to cure cancer, but the moment someone does foundational research they lose their fuckin minds.
Guys, the alternative is cutting up mice and pigs.
anton@lemmy.blahaj.zoneto
Programmer Humor@lemmy.ml•Incredible stochastic algorithm, gets more reliable the larger your input, incredibly fast, trivial to implement and deterministic on its inputs
6·8 days agoThe test suite probably looks something like this:
int tests_passed=0; int tests_failed=0; for(int i=0;i<100000;i++){ printf("test no. %d: ", i); if(is_prime(i)==actually_is_prime(i)){ printf("passed\n"); tests_passed++; }else{ printf("failed\n"); tests_failed++; } } //...
anton@lemmy.blahaj.zoneto
Programmer Humor@programming.dev•o(1) statistical prime approximation
9·9 days agoThat’s a legitimate thing to do if you have a slow implementation that’s easy to verify and a fast implementation that isn’t.
Robinia are taking over unmaintained areas like construction grounds and the edge of the forrest. Some in the forest are full size.
What can I do against them spreading?
Did you pay tariffs directly? No.
A company payed them and passed the cost to you, so the company will get the refund and keep it.Also, don’t even think that prices are going back to pre tarif levels.
But they are able to control the lightbulb by flipping all three switches.



Write down deadlines!