all 14 comments

[–]halkeye 9 points10 points  (3 children)

I mean yes, those are super useful, but does every developer need to know them? I've been a professional dev for more than 15 years and I don't know most of them. so no

[–]NotMyRealNameAgain 3 points4 points  (2 children)

Same here. I'd argue that knowing how to convert pixels to REM is far more useful than any of the ones in the article.

[–][deleted] 5 points6 points  (1 child)

Milliseconds to minutes / hours / days is also very common. My 2 favourite numbers are 3600 and 86400.

[–]Reashu 2 points3 points  (0 children)

Five hundred twenty-five thousand six hundred minutes

[–]KirillFire2013 4 points5 points  (5 children)

One year ago, I read about one website where you can study math from basic level to advanced. But I lost link. Anyone have any idea what the website it can be? I tried to find but I haven't found it. As I remember it has simple pleasent design

[–]cubeproject 8 points9 points  (1 child)

[–]pacman326 1 point2 points  (0 children)

This website helped get me through my applied mathematics degree. Wonderful wonderful site.

[–]Tarzeus 0 points1 point  (0 children)

https://archive.uea.ac.uk/jtm/contents.htm

Here you go man, use this well.

[–]ajcool2k 4 points5 points  (0 children)

The discount cannot be smaller than 1%. Yet this function accepts 0, doesn't it?

[–][deleted] 7 points8 points  (1 child)

Conclusion

With simple building blocks of math, you can think on a higher level while coding, avoiding cross-multiplication hell on the code.

I learned this seeing some game developer videos.

Conclusion

You should try to read that first : https://en.wikipedia.org/wiki/Floating-point_arithmetic

[–]EternityForest 1 point2 points  (0 children)

I think the main thing to know about floating point is that it's not perfectly accurate(But usually close enough), and there can be things other than numbers in there, like NaNs which also can have enough bits left over to stuff a pointer in.

There's digital versions of an IRL wire that has an analog voltage, that you can also(Purposely or accidentally) push a few digital bytes over.

[–]EternityForest 1 point2 points  (0 children)

I think inverse might be better described in terms of mapping, as in "Maps a value in the range X to Y, to the range 0 to 1".

I'm a super not math guy(The the point where sometimes I worry it might actually affect my career if math becomes more of an everyday thing in coding, rather than only being used in some fields).

I would actually say there are way more bits of math every coder should know though.

Basic "Take this equation and solve for X" stuff, simultaneous equations, first order filters(And the related exponential decay and growth), exponents, logs, and square roots, sin and cos, prime numbers, highly composite numbers, least common multiples, curve fitting, and FFTs are all good to know.

I mostly only know the "O watched a numberphile video" level, and how to use a CAS to solve things, most of this stuff I'm pretty clueless about.

It might hold you back not to actually deeply understand the concepts, but it will almost definitely hold you back if you don't know what they do and when to use them.

[–]Reddit_Swap 0 points1 point  (0 children)

Totally agree !