Snazz
@Snazz@lemmy.world
- Comment on Don't tell me what to do 4 weeks ago:
There are only 4.29 billion possible values of an int32, so even if you used 2 lines for each case, it’d still be under 10 billion lines of code
bool isOdd(int num) if (num == 1) { return true } if (num ==2) { return false } …
- Comment on I would personally just treat whatever direction I'm facing at the time as North and go from there. 5 weeks ago:
Im think it was designed with a clock in mind. That’s why it starts with north at the 12:00 position and goes clockwise. I learned it as ‘Never Eat Soggy Waffles’ but I’m sure there are a bunch of these.
- Comment on Kotaku being Kotaku 3 months ago:
I’m sure it’s going to be “we got isekai’d into a Minecraft world and now we need to defeat [antagonist] before they ruin everything!”
It’s such a shame because I feel like theres a lot of potential. There are so many faces of Minecraft and ways to play the game (even within the relatively narrow area of vanilla survival multiplayer). Perhaps a better plot would revolve around the friction between these different playstyles.
- Comment on As Trump and Harris call to end tip taxes, a wider minimum wage war heats up 4 months ago:
When I worked as a delivery driver, I did well only because of tips. If I was paid minimum wage and people stopped tipping, I would have been fucked.
So basically if your job had no tips, it would require a higher salary than minimum wage to retain workers.
- Comment on Panik 1 year ago:
Because you could argue that the series does converge to …999999
- Comment on Panik 1 year ago:
You can also prove it a different way if you allow the use of the formula for finding the limit if a geometric series on a non-convergent series.
Sum(ar^n, n=0, inf) = a/(1-r)
So …999999 = 9 + 90 + 900 + 9000… = 9x10^0 + 9x10^1 + 9x10^2 + 9x10^3… = Sum(9x10^n, n=0, inf) = 9/(1-10) = -1