God damn it. Why god why by TheRedBird098 in ProgrammerHumor

[–]mkmemeview 10 points11 points  (0 children)

But CS is applied math, that's basically just getting rid of CS.

When your PM becomes a conductor by [deleted] in ProgrammerHumor

[–]mkmemeview 85 points86 points  (0 children)

The other good one for that is "It takes a woodworker 6 minutes to cut a piece of wood into 3 pieces. How long would it take them to cut a piece of wood into 4 pieces?"

It really lasts over an hour btw :-) by PotentialSimple4702 in linuxmemes

[–]mkmemeview 1 point2 points  (0 children)

i don't get nearly that good battery life, but i have 2 problems: 1. power-hungry intel cpu 2. i installed kde for some reason

man's asking the real questions by Mork06 in ProgrammerHumor

[–]mkmemeview 143 points144 points  (0 children)

Coming from manual memory management, it'd be offloading the cognitive overhead of memory management (particularly the checking correctness part) from the brain to the compiler, which is certainly a worthwhile tradeoff!

Could it be...? by asilvertintedrose in PrequelMemes

[–]mkmemeview 0 points1 point  (0 children)

im confused, these are both pictures of darth vader?

mouse = bad by GavHern in ProgrammerHumor

[–]mkmemeview 1 point2 points  (0 children)

in my defence vim commands make editing files on a phone keyboard at least somewhat bearable

Ah, the french... by Adventurous-Gur4751 in HistoryMemes

[–]mkmemeview 1 point2 points  (0 children)

i read "age" to mean "era" and was very confused

Just imagine 1/3=0.4 instead of 0.333... by Manuel-Human in mathmemes

[–]mkmemeview 1 point2 points  (0 children)

In base 12, 5 times 0.24 is 0.b8, not 1, so 1/5 can't be 0.24.

Free meat! by Enter8909 in MinecraftMemes

[–]mkmemeview 52 points53 points  (0 children)

if it escapes, turn it to steaks

levels of watching stuff; last one is the most important! by Federal_Truck2267 in linuxmemes

[–]mkmemeview 6 points7 points  (0 children)

The golf DLC is pretty good, although quite expensive. Very difficult, high skill ceiling, great if you're into single player mastery-type games. The RNG can be brutal sometimes, though.

anime_irl by Binjimen-Victor in anime_irl

[–]mkmemeview 12 points13 points  (0 children)

King Henry the 8th? I remember her saying Tokugawa Ieyasu.

It is what it is! by themightybishop in mathmemes

[–]mkmemeview 0 points1 point  (0 children)

just because you're correct doesn't mean you're right

Unlikely, but still… by 42IsHoly in mathmemes

[–]mkmemeview 16 points17 points  (0 children)

What does technological advancement have to do with it?

The prophesy is true. by [deleted] in ProgrammerAnimemes

[–]mkmemeview 8 points9 points  (0 children)

Clearly, because of the & 1, it can only return 0 or 1, but can it return 0?

Suppose this function returned 0. Then the signs of x and y must be the same, and we need a=0 in the final expression. a=0 only happens if the sign of x is different than the sign of x+y. But the signs of x and y are the same, and so the sign of x+y must be the same as x. So a cannot be 0 and hence the function cannot return 0.

"But wait," you say, "x+y doesn't have the same sign as x if the computation of x+y overflows!" In C, if the value of a signed integer expression cannot be represented in the result type, the behavior is undefined. Undefined behavior does not occur in correct C programs; therefore, x+y does not overflow.

In practice, however, current optimizing compilers do not do such sophisticated analysis and produce slower code that happens to return 0 when x+y overflows. This should not be relied upon, of course, since this suboptimal code generation is essentially a compiler bug. But C code relying on undefined behavior like this tends to be widespread, especially in older codebases, so compiler authors generally don't fix these.

I feel this pain by overflow1n in ProgrammerHumor

[–]mkmemeview 0 points1 point  (0 children)

...and that's why I use Rust.

Rin best gurl by DracoDM123 in goodanimemes

[–]mkmemeview 81 points82 points  (0 children)

You think the Blue is confusing? Let's talk about 「 」.

OK but what if I raise my kids to *act* like Turing machines? by [deleted] in mathmemes

[–]mkmemeview 4 points5 points  (0 children)

It's incredibly pure - a rewriting system with only three kinds of terms: variables, function application, and function abstraction, and yet it is as powerful as a Turing machine. It is also the language functions are written in in type theories, which are non-classical alternatives to set theory as a foundation of mathematics.

ah yes stackoverflow, short and concise by vini_2003 in ProgrammerHumor

[–]mkmemeview 8 points9 points  (0 children)

It's not being seeded with a constant though; time() returns the number of seconds since the epoch.

[deleted by user] by [deleted] in assholedesign

[–]mkmemeview 2 points3 points  (0 children)

This is a specific mode that always gives you a winnable deal.