[-] yggdar@lemmy.world 51 points 1 week ago

He also called them mûmakil in elvish. In my mind, when the Hobbits call them oliphaunts it is because a long time ago someone talked about elephants, and over the years the correct pronunciation was lost.

[-] yggdar@lemmy.world 30 points 1 month ago

Yeah that's what I thought too. The horrors are described well, they just typically don't get described through their physical form. As you say, because the human mind cannot comprehend it. There is a lot more focus on impressions, comparisons, and effects, rather than on a real physical description. Personally I thought it was quite neat!

[-] yggdar@lemmy.world 37 points 1 month ago

According to the article she did update the car before. She just used to have it done at night, and this is the first time she was in the car during an update.

40 minutes is a hell of a long time for a software update though.

[-] yggdar@lemmy.world 85 points 4 months ago* (last edited 4 months ago)

That exact version will end up making "true" false any time it appears on a line number that is divisible by 10.

During the compilation, "true" would be replaced by that statement and within the statement, "__LINE__" would be replaced by the line number of the current line. So at runtime, you end up witb the line number modulo 10 (%10). In C, something is true if its value is not 0. So for e.g., lines 4, 17, 116, 39, it ends up being true. For line numbers that can be divided by 10, the result is zero, and thus false.

In reality the compiler would optimise that modulo operation away and pre-calculate the result during compilation.

The original version constantly behaves differently at runtime, this version would always give the same result... Unless you change any line and recompile.

The original version is also super likely to be actually true. This version would be false very often. You could reduce the likelihood by increasing the 10, but you can't make it too high or it will never be triggered.

One downside compared to the original version is that the value of "true" can be 10 different things (anything between 0 and 9), so you would get a lot more weird behaviour since "1 == true" would not always be true.

A slightly more consistent version would be

((__LINE__ % 10) > 0)
[-] yggdar@lemmy.world 17 points 5 months ago

They are very busy charging an arm and a leg for crappy software with shit support.

[-] yggdar@lemmy.world 61 points 6 months ago

Sadly, yes. On the off chance you speak Dutch, here is a fact-checking article on that exact ad. I know it's a weird thing to link articles in uncommon languages, but I came across that article recently and thought it really provided a lot of context, so I'm afraid it's the best source I have. You can always run it through a translator too :-)

[-] yggdar@lemmy.world 43 points 6 months ago

Our eyes and brains don't perceive still images or movement in the same way as a computer. There is no simple analogy between our perception and computer graphics.

I've read that some things can be perceived at 1000 fps. IIRC, it was a single white frame shown for 1ms between black frames. Of course most things you won't be able to perceive at that speed, but it certainly isn't as simple as 30 fps!

[-] yggdar@lemmy.world 113 points 7 months ago

Phrased differently: Microsoft announces the end of support for a product. If you want to pay for it, they will make an exception and continue to support it just for you.

I understand people dislike Windows 11, but complaining about life cycle management isn't going to help that.

[-] yggdar@lemmy.world 49 points 7 months ago

You want to translate COBOL to another language? That exists as a commercial product! The complexity is not the syntax though, it is the environment and subsystems surrounding the code. A lot of COBOL is designed for mainframe systems, and emulating a mainframe is complex.

You also end up with code that is still written as if it were COBOL. The syntax for COBOL is the easy part and that is all you can easily replace. Afterwards you're still stuck with the way of working and mindset, both of which are quite peculiar.

The company I work for recently looked at all of this, and we decided not to translate our code.

[-] yggdar@lemmy.world 60 points 9 months ago

It's not racism of you believe those people were born into a lower caste because of their actions in a previous life. It is their punishment and thus you should treat them like shit!

Eddie Murphy thinking meme

[-] yggdar@lemmy.world 48 points 9 months ago

Wow, is it exactly double?! Nature is amazing! This kind of little details really proves that there is an almighty creator!

/s

[-] yggdar@lemmy.world 51 points 10 months ago

It sounds like you have a very specific set of requirements that requires a specific type of premium phone. Not everybody needs 128 GB of storage eon their phone (mine only has 64). I agree that a lot of storage and SD-card slots are good features to have on phones, but the truth is that not everyone needs those. Each feature will add cost and require more resources to build, and for a lot of people not having them will work just fine.

view more: next ›

yggdar

joined 1 year ago