Question: Why does my implementation of the algorithm not work?
Answer: The Professor made a mistake when he copied the algorithm from the source.
:/

Timm boosted

Getting angry over of a PEP proposal: ✅

Timm boosted

Q: Why can't you use 'Beefstew' as a password? A: Because it's not strogonoff.

While this fact is really amusing (and nightmare fuel for debugging old codebases) strto* does set the errno so this is not a really big deal.
At least i would say that if there weren't some tutorials out there who would still use the ato* functions.

Show thread

Today i learned that the atoi functions which are responsible for converting strings to integer, float, longs, longs longs, etc., return 0 on error. They don't set the errno. They RETURN 0.

German, Rundfunkbeitrag 

zur weiteren Information. Ich hab mal vor Jahren einen dreistelligen Betrag dahin überwiesen um blanko was zu bezahlen aber warum bekomme ich das jetzt zurück???

Show thread

German, Rundfunkbeitrag 

WAAAAAAAAAAS?
Ich habe da kein gutes Gefühl

Timm boosted

A bunch of folks I know got invited to give 25-minute virtual talks at SIAM, the Society for Industrial and Applied Mathematics.

They forgot to tell us we'd have to pay $𝟱𝟭𝟱 for the honor of giving a talk!

No way. This is ridiculous.

Example for the google coding style guide:
1: inline namespace
2: constructors
3: file extensions

Show thread

The three thoughts my brain has every time i read ANYTHING about C++:
1: I don't know anything about C++
2: Why is the language so redundant???
3: Historical reasons. Who would have thought?

aka. the "ugh i need to write some diagrams 🙄" phase.

Show thread

Oh no! I am in the critical "i have to start writing down the next steps of my project because i can't keep it in my head" phase of the project.

Current Objective:
Writing generic Makefile for small C++ Projects

In a thread about general optimization tips for a programming language:
"Nothing, until my profiler shows a bottleneck"
This "avoid premature optimization at all costs" crowd is really something else.

Timm boosted

Hey why did they call the website "Medium"? Because it's not well done, and it's not rare.

Timm boosted
Timm boosted

And yet another math map (still in French)!

I might begin to collect them now 😄.

This one is taken from an article on category theory here: pourlascience.fr/sd/mathematiq

Timm boosted

TIL there is a genre called Mathcore (en.m.wikipedia.org/wiki/Mathco). Why didn't they tell me *that* when I studied ? 🤔

Show older
Mathstodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!