Join devRant
Do all the things like
++ or  rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuck
Buy Now
Search  "math"

Programmers: Always use descriptive variable names.
Mathematicians: Single letter variable names always, ideally from obscure/dead alphabets.
Src: Twitter17 
Math teacher: 1+1=?
Me: one zero
Math teacher: wrong!
So i gived to her my calculator (in binary mode :) )
Me: check the answer.
Math teacher: [saw 1+1=10 on calc] thinks about 10 seconds LOL then says: you calculator is broken!18 
When you're thinking about your code when doing math homework, but then realize you're accidentally putting semicolons after each step.100

Researching to making a small 2D game using constructor classes and while building out classes, was working on my Tree method using fractal geometry and made a wallpaper out of the tree 🌳13

Math: the imaginary unit is i.
Electrical engineering: no, it's j.
C hacker: hands off my loop variables!14 
Husband wanted to not go out after dinner to "go cuddle in bed." This apparently is code for him browsing mathmatica stack exchange and reading books on data analysis with R... 😂10

I sleepy, accessing the server in the middle of the night to resolve a problem.
Problem solved.
shutdown now
'ssh connection closed'
shutdown now
Go back to sleep.
Phone ringing.7 
About six months ago I decided I wanted to learn to write a neural network from the ground up, using only the C++ standard lib. Had to learn some linear algebra, multivariable calc and a dash of wizardry.
The mathematics of neural networks is still one of the coolest things I've ever learnt. It still marvels me that you can make a specialized minibrain out of nothing but numbers.19 
The quantum mechanics of math class:
Your awnsers are both correct and incorrect until the teacher marks them.4 
recently started game development... used trigonometry and algebra for the first time in real life..3

Basic math class for devvys
Lemme prove that 2 = 1
a = b
a^2 = ab
a^2  b^2 = ab  b^2
(a + b) (a  b) = b (a  b)
a + b = b
b + b = b
2b = b
2 = 1
Find a place where I got wrong...
And if you fall by this, you should go to preschool again23 
WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
IT WORKS AFTER 3 HOURS!
YEEEEEEEEEEEAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHrant was that even possible monitor resolutions bits and bytes mixed up make dumb math it works c# marshalling6 
For my fellow javascript devs:
var floored = 12.68  0;
Is much faster than:
var floored = Math.floor(12.68);
And in both cases floored === 12
#JustJavascriptThings ¯\_(ツ)_/¯
Source: http://stackoverflow.com/questions/...
Performance test: https://measurethat.net/Benchmarks/...6 
That moment when you realise f(x)=x²
that you did in 4th grade and now
Function(x){
return x*x;
}
....😯😮😲😱😵...
You realise that Everyone has been doing programming all their life....6 
What I learned in the machine learning course so far, all the Buzzwords can be replaced by "statistical mathematics".5

Been telling relatives that I'm an applied math major to get out of helping them with their tech issues.3

Ohhhhh boy,
So today we had a robot having an issue with one of its movement phases due to some mechanical crap blah blah blah. Anyway instead of Fixing the mechanical issues, they want me to reprogram the motions to compensate for it....... *sigh* anyway I got over it. My supervisor tried to tell me that some of the movements on the axis were straight no rotation involved. I look at the program and it sure as heck mentions a 178.9 degree rotation. I told him but He insisted that I’m wrong to the point of going and talking crap to another supervisor about me..... he came and apologized after I did it his way and he got his ass chewed out because he couldn’t accept a subordinate was right. As for me I got a little tingle from proving his stubborn ass wrong haha2 
A logician comes back from paternity leave and enters his shared office.
His colleague: Hey! Congratulations with your newborn, is it a boy or a girl?
Logician: Yes.1 
 "Knock, knock."
 "Who is there?"
 "Mathew."
 "Mathew who?"
 "MathYou could never do unless You had IQ of 184"7 
Devrant::Mathematicians, unite!
I found a new way to calculate running average.
Old:
a(o, n, i) = (o(i  1) + n) / i
New:
a(o, n, i) = o + (n  o) / i
a: New average function
o: Old average
n: Element to add to average
i: New number of elements16 
Are we just programmed to stay awake all night? Even if we have nothing to do?
Like, it's 4 a.m. in my country and I just can't fucking sleep! What is this?!11 
At a job interview.
Them: Can you please write a function that calculates fibonacci numbers on the whiteboard please.
Me:
fib=_=>($=>$.round(($.pow((1+$.sqrt(5))/2,_)$.pow(2/(1+$.sqrt(5)),_))/$.sqrt(5)))(Math)18 
!rant
If you choose an answer to this question at random, what is the chance you will be correct?
A) 25%
B) 50%
C) 60%
D) 25%19 
I've spent three days trying to upload some code to my ESP8266 and it failed every time. Now I just plugged the Arduino at my Desktop and it works. Notebook USB port does not provide enough current I think.19

*A video playing in a website and I can't find the video on the site*
me:
$("video").src = ""
Oh man, sometimes I am so hacker :')4 
While writing a raytracing engine for my university project (a fairly long and complex program in C++), there was a subtle bug that, under very specific conditions, the ray energy calculation would return 0 or NaN, and the corresponding pixel would be slightly dimmer than it should be.
Now you might think that this is a trifling problem, but when it happened to random pixels across the screen at random times it would manifest as noise, and as you might know, people who render stuff Absolutely. Hate. Noise. It wouldn't do. Not acceptable.
So I worked at that thing for three whole days and finally located the bug, a tiny gotchatype thing in a numerical routine in one corner of the module that handled multiple importance sampling (basically, mixing different sampling strategies).
Frustrating, exhausting, and easily the most gruelling bug hunt I've ever done. Utterly worth it when I fixed it. And what's even better, I found and squashed two other bugs I hadn't even noticed, lol 
console.log(0.470.01===0.46);
Output: false :/
That got me stuck for quite a while..
Learned more about floating point arithmetic and representation 😊7 
math be like:
"Addition (often signified by the plus symbol "+") is one of the four basic operations of arithmetic; the others are subtraction, multiplication and division. The addition of two whole numbers is the total amount of those values combined. For example, in the adjacent picture, there is a combination of three apples and two apples together, making a total of five apples. This observation is equivalent to the mathematical expression "3 + 2 = 5" i.e., "3 add 2 is equal to 5".
Besides counting items, addition can also be defined on other types of numbers, such as integers, real numbers and complex numbers. This is part of arithmetic, a branch of mathematics. In algebra, another area of mathematics, addition can be performed on abstract objects such as vectors and matrices.
Addition has several important properties. It is commutative, meaning that order does not matter, and it is associative, meaning that when one adds more than two numbers, the order in which addition is performed does not matter (see Summation). Repeated addition of 1 is the same as counting; addition of 0 does not change a number. Addition also obeys predictable rules concerning related operations such as subtraction and multiplication.
Performing addition is one of the simplest numerical tasks. Addition of very small numbers is accessible to toddlers; the most basic task, 1 + 1, can be performed by infants as young as five months and even some members of other animal species. In primary education, students are taught to add numbers in the decimal system, starting with single digits and progressively tackling more difficult problems. Mechanical aids range from the ancient abacus to the modern computer, where research on the most efficient implementations of addition continues to this day."
And you think like .. easy, but then you turn the page:17 
Well, I just learned how much of a pain it is to learn the math for learning neural networks. I really should have paid more attention in high school.
I will learn, the hard way I guess...7 
I study physics... and I'm a fairly huge math nerd...
Oh, and I install Linux on basically everything5 
Unintentionally I pressed Caps Lock while I was using vim, then I realized I was already in Narnia.2

Everyday, I am amazed at developers like those here on devRant. I look up at you in awe and admiration, always thinking about how awesome your life probably is, even though you rant about it sometimes. I want to be like many of you in the future.
Thank you for improving our lives with whatever you are doing. I feel like this doesn't get said enough.
Meanwhile, University sucks (failed exams), but I am expected to graduate with good grades. Sigh. I also feel like I'm not learning enough of those things that I need to become a good dev and rather overly complicated math which I'll never need in my later life.24 
I’ve realized that programming made me so much better at math!
Although I’ve caught myself writing “int x” once in the notebook.2 
Honestly, i hate math or actually i hate that i suck at it. I graduated CS and if u put a math problem any bit more advanced than basic linear equations i will turn red. I wish i was good at it. I think if i was, id be able to do much more cool shit because combining math and the ability to control a computer basically makes you a demi god.
If i had some free time i’d love to go over the basics on khan academy or something. But free time doesnt come by a lot coz we’re too busy trying to make money and id rather just rest and chill when it does.
Tho if a cute girl offered to tutor me in that free time i’d definitely say yes 🧐21 
VP: "this is a great idea that will increase sales by 100% and save 10k a year."
Well, if I just made up numbers to justify my shitty projects I'd be a fucking liar, but I guess that's why you're in charge. You just magically know things without doing any research to see how wrong you are. 
Coolest project I've worked on. Artistic.af machine learning + Instagram makes your images artistic AF. Did it as a side project to get up to speed on NN implementations on GPUs2

Mother fucking SQL, fuck mathematicians, fuck every thing!
So let's supose we'd only need the first char of a string. Every, and I mean fucking every (php, java, javascript, ruby, python, haskell) fucking language, uses something like `substring(input, 0, 1)` as it knows the input is nothing more than a fucking array of chars, otherwise known as motherfucking String. Logically the offset for the first char is 0.
Enter SQL, there you need to put `SUBSTRING(input, 1, 1)` because fuck every one! Fucking math guys who developed relational algebra on which (most) databases are based on (I love you for it, but come on you fuckers!), Decided that the first character should be at position 1...
Fuckers7 
The state of informatics education is just saddening.
You study "Software Development" and then you get to do exams asking you to do some basic linux commands  with full internet access on a computer. People are allowed to fail this and study on. On the other hand you have to do real coding with pen and paper, have to calculate from hex to bin to dec and stuff and most Importantly  know about all kinds of math stuff completely unreleated to cs.
Graph Theory absolutely makes sense in my eyes, but not if it's plain fucken math without even mentioning computers or applications of it. But if you fail that everyone looks weird at you.
I know about coding. I got A's and B's in all the coding exams _without even doing much for them_ but then fail all the fucken math exams. Makes no sense. FML.9 
I don't get what people don't understand about how monthly bills work.
"But I already paid you once!"
"Yeah, for the work we did two months ago. This is the bill for the work we did last month."
"... But I already paid you once!"
"Yes, and then you asked us to do more work"
"... ... But I already paid you once! Why are you trying to rip me off!?!"
*sigh*1 
Me in school: Math? When do I need know those details? I can look them up and just code it.
Me in high school: Computer science is way too mathy. I want to code!
Me coding php: Just make it work.
Me coding typescript: Just make it work.
Me coding scala: Just make it ... what ... how do I make it work!?!
Me asking stackoverflow: How do I do X in scala some functional programming stuff in mind in order to keep immutability.
Somebody way smarter than I: "In scalaz, a function A => A is called an endomorphism and is a Monoid whose associative binary operation is function composition and whose identity is the identity function"
Me now: Fuck my old arrogant self.1 
Take more math than you need. Seriously. Computers are made of math. Nobody ever got an award for best looking web page. People do get awards for actual science.5

When you find out you passed the exam in which you guessed half of the answers ! 🎆🎉🎊
The algorithms of my brain seem to work well 🤣
This is now my second best module and I didn't study a lot hahaha4 
rant && !dev
Am I seriously being asked to provide the proper units of volume in a universitylevel calc 3 course?
This is something they teach you in 8th grade at best. It should be fucking obvious at this level that volume is in cubic units.6 
Discrete mathematics teacher said "13*37" in the middle of an Euclidean algorithm.
Half the class giggled and the other half just sighed.
These students are your future coworkers.2 
Linux is pretty much like Windows, but instead of "next, next, next, and finish" you do "copy and paste, copy and paste, copy and paste".5

"The only way to make the deadline  the only way to go fast  is to keep the code as clean as possible at all times."
Uncle Bob
Spread the word.1 
I feel like I've ranted this before. many times. but here we go again because Australia.
why do people think you can just ban math? like really?! that's what crypto laws do. they require companies to use shitty math. and what prevents me from using the good math? nothing! oh I mean... I won't use it? scouts honor.
you can't ban math.
literally billions of internet users don't fall in your jurisdiction.
no single jurisdiction can cover more than a subset of the internet.
I will use whatever maths I damn well please.
fuck off. please stop making us less safe.
/discussion5 
We had a unexpected math test on thursday. Our teacher had the questions on his pc, when suddently it turned off. The power didn't drop, when he turned it back on, it turned off again. We have been saved. Btw it was windows 10 on hp aio2

I agreed to help a friend setup a BTC atm... Jesus I just found out the client is written in JavaScript (notoriously bad with numbers).
Im starting to wonder if Js has gone too far.5 
*Didnt understand anything mathematic back in grade and highschool
*Can understand math in code no problem.4 
"PHP does not need good practices, because the use of PHP it is already a good practice". This is one of the loading messages in the Slack where I work.
PS: We do not use PHP there.8 
Shit man if I thought that S.O for developers was bad.....Stack Exchange Mathematics is just fucking brutal omg I am loling so bad man these dudes have 0 patience and will legit kill trolls on spot.
Saw a dude not agreeing with implicit meanings behind certain symbolic notations, some other dude disagreed, fight ensured.
This shit is awesome. Ima stick with this shit for a while.
S.O still fucking sucks though. The stack is amazing and the app works fantastic. The people there are shitty beyond belief.
"Well, you probably said that beca...." fuck off3 
Seriously. FUCK MATH. I've been coding for more than 4 years. Never did I use complex mathematics.
And now I'm supposed to pass math exams. Haven't used that shit since high school. Fucking fuck3 
Apparently, floating point math is broken.
=SUM((2.1  2.0)  0.1)
In PHP and Haskell this also happens14 
I've got a teacher (math) in the university that let us use our phones as a calculator in the exam but without sim card and of course no wifi. I've spent a few hours programming a very ugly CLI app which let me calc and show me the steps of every type of exercise.
Another probe that programming can save your ass.
The exam wasn't difficult but basically they tell you to solve a few problems applying different methods, that hasn't advantage from others.9 
My boss has been begging me migrate a nightmarish complex excel report he made to calculate the payout of a tiered rebates program with compounding rewards. Today I finally decided to make take the time and I sat down with him so he could break it down for me...
Me: *looking at the mess of formula's* it would be easier to rewrite the math than decode this  can you just give me the reward rules... where does that value in cellX come from?
Him:*pointing at the spreadsheet* There! All the rules are in there for you :)... like it's some big favour...
Me:No I mean when you wrote this, what did you base this off? There must be something...
Him: *Very Gravely* No, no, no it's far to complex! It took me ages to get this sheet right and it balances so just trust me and use it ok?
At this point I will mention he's an accountant so yeah I fucking trust him... fast forward past 15 minutes of digging through what may as well be quantum theory and lo and fucking behold all 2 sheets and 100 calculations are mathematically fucking pointless. Aside from formulas like this:
$X10=+(((O10+P10)((O10+P10)*$X$3))*$R$4)+T10
which is actually equal to (X10/R4)/L10.
Anyway once you compound and sum the "tiered" benefits the rewards payout is ALWAYS = customerSpend*1.81.
This is why programmers name variables. 
Got a mathematics library I develop and maintain. Someone filed a feature request ticket for matrices of matrices. As in, each value of the primary matrix is another matrix. Not understanding why anyone would need such a convoluted concept, I asked for clarification.
Response: "This piece of shit library isn't feature complete without it, now stop being a lazy fag in your mother's basement and actually do something"
Lololololol. Sure thing. Let me go waste two or more weeks of my life developing something i've never seen used in math, without any justification beyond "feature".4 
We'll build an mathematics6thgradercalculationgame in ITclass. ("MathTetris")
In Java.
I hate Java.9 
A funny story I just remember while my code is compiling :
Back in high school, in Math, we were taught how algorithm works, and we made some exercises with practical examples.
I didn't know anything about it back then, so was curious. Was pretty fun, but one day, my teacher said that a IF is a loop. I said "no, this is a test" but she keeps saying that it was a loop, ignoring me (I dunno if she actually heard me) and no one actually noticed it as she repeated it several times (while I was saying that it's not). I just gave up trying to say it's wrong.8 
Sit down to do a math lab in Maple on university computers. Struggle for a while with shitty software. Click on a help link provided by Maple for an error I was getting.
BSOD outta nowhere.
Hadn't saved my work. And Maple was developed by the best university in Canada. I hope they all catch something rare and incurable and die.4 
I'm learning docker and I just started a container running a Linux distro.
What was the first command I run in the container?
rm Rf / nopreserveroot3 
I type the YouTube URL at the address bar already with the q parameter with what I want to search to save one HTTP request.5

I can't tell you how many hours have been lost because I have accidently clicked and dragged a file in to some random spot in the solution explorer!

My Precalculus teacher has such overstrict rules on showing work.
1. On tests, degree signs must be shown in all work. This wouldn't be outrageous except that if the answer is right but a single degree sign is missing in the mandated shown work, the entire question is wrong even with a correct final answer because the "answer doesn't match up with the work".
2. We must show work in the exact form mandated from on class. If even a single step of work is missing or wrong on even one say homework problem, no credit even if the entire rest of the sheet is correct and complete.
3. Never applied to me, but if a homework problem cannot be solved by a student, they must write a sentence describing how far they got and what wasn't doable, or no credit on the entire homework. Did I mention it is checked daily and is 2 unweighted points with 50100 point tests?
4. On graphing calculator problems, one had to draw a rectangle representing the calculator screen, even for solving systems of equations without explicit drawing graphs as part of the problem, because otherwise, she had "no proof that a calculator was used". It isn't that hard to fake, and it was quite stupid.
5. Reference triangles were required even when completely unnecessary or the answers were assumed copied, even if a better method was shown in work.
And much, much more!5 
Develop my first mobile app with a restful backend for consumer usage
Learn more about cloud architecture/computing
Finish learning calculus
Learn linear algebra, discrete math, statistics and probability
Maybe start ML this year depending on math progress and time3 
That moment when you just quit your successful paying job just to have more time to study and try to pass the fucking piece of trash math exam.
Fuck my asshole, fuck my life and fuck that motherfucking college degree. If I don't pass, I will eventually kill my self or quit college.
Jeez, I wonder what was in my head when I enrolled in college, oh wait.. Parents, society brainwashed me to think I need top tier education to be a successful computer programmer engineer.
Fuck you society, fuck my brain, fuck everything.9 
For starters this is my first post, found devrant the other day you're all hilarious.
I hate math, I hate proofs. I'm in a class "Analysis of Algorithms" and I have understood and do understand the importance of optimizing algorithms and data structures and I understand the algorithms and data structures themselves. That being said, I'm fucking sick of math and proofs and all this bullshit that is probably pretty important but ugggghh, I guess I just have to push through, but writing this out helped.18 
Husband looking into online schools for CS. Anything data science related. He loves math (and is freaking good at it) and teaches himself R for fun.
I put 0 thought into my own schools (terrible, I know, but not likely to change any time soon). Any suggestions for good online data Science programs, with a math minor potentially?
It's for his bachelor's.7 
I love technology. I love programming and developing software. I love selflearning new things.
But I REALLY REALLY REALLY hate Math. And suck at it too.
I want to study compsci at the university but I'm scared of the math.
Any tips?15 
Just in case anyone has missed it: VSauce is probably one of the best channels on youtube. Just so that no one misses out4

I have two math final exams on the same day, and one is scheduled 30 minutes after the first one 🙁🙁
I fucking hate math, and this shit sure isn't helping me.8 
Inspired by @shahriyer 's rant about floating point math:
I had a bug related to this in JavaScript recently. I have an infinite scrolling table that I load data into once the user has scrolled to the bottom. For this I use scrollHeight, scrollTop, and clientHeight. I subtract scrollTop from scrollHeight and check to see if the result is equal to clientHeight. If it is, the user has hit the bottom of the scrolling area and I can load new data. Simple, right?
Well, one day about a week and a half ago, it stopped working for one of our product managers. He'd scroll and nothing would happen. It was so strange. I noticed everything looked a bit small on his screen in Chrome, so I had him hit Ctrl+0 to reset his zoom level and try again.
It. Fucking. Worked.
So we log what I dubbed The Dumbest Bug Ever™ and put it in the next sprint.
Middle of this week, I started looking into the code that handled the scrolling check. I logged to the console every variable associated with it every time a scroll event was fired. Then I zoomed out and did it.
Turns out, when you zoom, you're no longer 100% guaranteed to be working with integers. scrollTop was now a float, but clientHeight was still an integer, so the comparison was always false and no loading of new data ever occurred. I tried round, floor, and ceil on the result of scrollHeight  scrollTop, but it was still inconsistent.
The solution I used was to round the difference of scrollHeight  scrollTop _and_ clientHeight to the lowest 10 before comparing them, to ensure an accurate comparison.
Inspired by this rant: https://devrant.com/rants/1356488/...2 
Been on a Android dev meetup yesterday.
Guy in front of me started solving exercises of Graph Theory on his laptop.
I took a peek to see what this shit is all about(I have never studied for a CS degree).
Holy moley this is some scary shit. How the fuck you people study this.3 
After 30 years in Web Development I still spend a lot of time to put the footer on the bottom of the page when the content is small.4

I want honest opinions. Do you think the following is a good or not so good interview question. Why or why not? Defend your argument.
Define a function where the input is a list of integers. It should find and return all the unique sets of three within the list that sum to x.
For example, given the list [1, 3, 2, 5, 6, 8, 10, 13, 15] and with x = 16, the function would return [(10,5,1), (13,2,1)]
If the candidate presents the trivial solution with time complexity of o(n^3), ask if can be done in o(n^2) or better.8 
I’m really liking the Algorithm Design Manual so far, except for the fact that there’s not a glossary somewhere for “random mathematical symbols you have probably never had to deal with but we will use in psuedocode examples”1

I just switched to iOS and it's being an amazing experience.
So great to finally have access to all my files, and personalize my device as much as I want.
And it has no virus so it's all good news.1 
I'm currently volunteering as a student assistant at my school, and today I've gotten the same question 20x. What question do you ask: "Why doesn't ^ return the power of the 2 numbers?"
It turns out that last week they've had a Math class from a new teacher (no programming experience) who said that if you want the power of 2 numbers you have to use the ^ operator...
If you don't know how to program, please don't teach it!5 
What's the best way for someone who is terrible at maths to get better at algorithms. I'm pretty good at programming but when it comes to write an algorithm, it scares me because of my poor math.
Is there another way or do you think going back and starting maths from scratch will help?5 
Today I finally experienced the power of something I learned in university: propositional and predicate logic.
Many developers I know think that such education is useless. Well, today I have proven that it is very useful. On a day to day basis, working on banking software, complexity in purely logic is very low. However, we have a screen that must show or hide elements based on some input values and conditions associated with certain elements. How hard can that be, right? Well, there are many variables to take into account and as such it's absolutely not trivial.
This screen didn't work properly and maintaining the code is hard as there is a lot of logic to show/hide, enable/disable things and so on. After quite some time and attempts by fellow developers, I decided to refactor the whole thing. I'm responsible for the quality of the software and it was quite degrading, so I had to do something.
In order to get things working properly, I defined collections of constants (ui elements) and predicates. Then, I defined for which element what predicates must be true, in order to hide/show, disable/enable etc. I then translated these predicates into code. And guess what? It works! Of course it works. It's logic. But I'm very pleased I finally could actually use some of all the math I studied!5 
If you saw my last rant, you'll know how much I hate Calculus. I decided instead of trying to learn this foreign topic, I'd instead translate it into a language I DO understand: C. The irony is that we use Calculus so we can learn to code easier, but I'm using code to learn Calculus easier. Funny if you ask me.1

> Snow expected tomorrow
> Railservices declare a state of emergency
PSA for all dutchies here, check the reisplanner app9 
So.. name one fucken case where your database is not a computer backed thing.
Just asking because.. why the fuck? I don't think your database server supports input of fucking math symbols? JUST USE HUMAN LANGUAGE, AS YOU HAVE TO DO ANYWAY!
It's stupid how everything needs to be expressed mathematically ffs. Not that it's hard to understand  it's just more complex than of a very simple wording.6 
Chances are configurable in the project. Custemer didn't understand why something ALWAYS happened when he set it to 100%

Do you think one may become a good programmer or coder without excellent knowledge of mathematics or algorithms?6

Me: I will not care about others anymore.
Also me: Converting print screen to JPG, removing EXIF data and compressing it in TinyPNG before sending to friends.2 
I find it so unbelievably satisfying to see trend patterns in the client launches from the user's that use my mod. Basically, every week the number of people using it grow, but it keeps the same rhythm.
Sunday most people of the week, Monday least people of the week; then building up to Sunday every day a little more. BUT then there's Thursday where a few people are taking an early night or something.
I guess the satisfying part is just that, however, how random and unique everyone thinks that they are. In a crowd  everyone together  shows a lot of patterns and similarities.1 
When you have a onetoone relationship, do you merge the tables into one table or do you keep the two tables?8

I should have studied for my math exam, but now I can program a terminal calculator in FORTRAN77
//masterofprocrastonation 
Marketing tech of over 25 years in this company asks this at least 2  3 times a year, "to find the percentage, take the small number and divide by the big number right?"
NO. NO. NO. NOOO! NOOOOOO! God dammit. You're a grown man. 
I already forgot what are the different sorting algorithms I learned last week. I already forgot sin, cos, tan, log, and some Math concepts in school. How not to forget these things easily? I could recall them once I see a sample and a brief explanation.4

At math lessons I was like: "WTF is this shit, I don´t need that." Well I figured out that coding is not "copy&paste" from SO. :)

Student: I f*cking hate this calculus I am not even good in math.
Professor: Then why did you choose Computer Engineering it needs a lot of math.
Student: Because I love computer.
Professor: 'FacePalm'3 
My friend asked me to set up his git for him
$ git config global alias.co status
$ git config global alias.br checkout
$ git config global alias.ci status
$ git config global alias.st commit3 
!rant
I posted a rant a few days ago, saying Math sucks and I fucking hate it.
Don't you love it though, when everything falls into place nicely when it's really just mathematical laws. It's beautiful3 
can we just get rid of floating points? or at least make it quite clear that they are almost certainly not to be used.
yes, they have some interesting properties that make them good for special tasks like raytracing and very special forms of math. but for most stuff, storing as much smaller increments and dividing at the end (ie. don't store money as 23.45. store as 2,345. the math is the same. implement display logic when showing it.) works for almost all tasks.
floating point math is broken! and most people who really, truely actually need it can explain why, which bits do what, and how to avoid rounding errors or why they are not significant to their task.
or better yet can we design a standard complex number system to handle repeating divisions and then it won't be an issue?
footnote: (I may not be perfectly accurate here. please correct if you know more)
much like 1/3 (0.3333333...) in base 10 repeats forever, that happens with 0.1 in base 2 because of how floats store things.
this, among other reasons, is why 0.1+0.2 returns 0.300000047 
Do you have to be a math genius to program?
I myself hate math but have been programming for a hobby in about 3 years now.
I keep hearing that you have to know a lot of math to program even though i usually only use basic math when i do.9 
So, I produce a monthly report for our customer service department each month, and this report includes various statistics related to our company's support performance. Two of the included statistics are the "Average Speed of Answer" (ASA for short) and the "Abandoned Call percentage" (ABD % for short) that are derived from client calls to support.
The formulae for these values are:
 ASA = time in seconds all calls that were answered spent waiting to be answered divided by the number of answered calls  displayed as hh:mm:ss
 ABD % = number of abandoned calls minus those that were abandoned in under 10 seconds (referred to as "short abandoned") divided by the sum of total calls that were offered minus the sum of short abandons & transfers
These statistics are also included in a daily version of the same report that all Customer Service leadership personnel have access to.
Now, every single fucking month the same Sr. Manager always has some kind of "discrepancy" with the monthly report that ALWAYS boils down to his dumbass trying to average shit on the daily Excel reports for that month and it being different than what the monthly report is showing. Now, these reports ONLY display the calculated value for any calculated fields mind you  not the raw values of the DB fields used in said calculations.
This month I have to tell this shitforbrains that you can't just take an average of ASA & ABD % from the Daily's and compare them to the Monthly numbers because their calculated fucking fields!!!
Come to think of it, this has been his issue for like the past 5 months, and I seriously can't fix stupid!
Sometimes I just wanna reply to his snarky ass, corporate bullshit emails like, "BRUH!, The only motherfucking discrepancy I can locate is your IQ and your fucking title  that shit don't correlate homie! Need to take that ass back to High School statistics or something!"
But I digress...
TL;DR
I have to deal with a Sr. Manager who doesn't fucking realize you can't average a calculated field from a daily report and think it's gonna match up with the monthly report. I believe he is borderline retarded, and I often wonder how he got the "Sr." In his title let alone "Manager".
Oh wait, this is corporate America  you just gotta kiss the most ass... never mind.4 
Whenever I'm looking at automata, matrices, sets, anything confusing and maths based, I always remind myself how I used to be in awe of the year 6's (5th grades) getting to learn about negative numbers...
Negative number seem so much easier than sets and strings... 
Yesterday was my first day at Uni and it was amazing. We did just math like for 7 hours and today too. Actually we're gonna be doing it the whole week even on saturday. Finally I can study what I want 💪.
Just wanted to share my excitement with my fellow devs 😉.5 
any mathematician turned devs here?
I think developers with a formal mathematical education should be the ones actually developing softwares. Ordinary developers are just good cooks who know to prepare these recipes by knowing to mix and manage the Ingredients through their experience, developing software using various libraries and frameworks, I don't understand what innovation we devs do in it, makes me feel less passionate about my work sometimes.
(I embrace the fact that being a developer requires an arstisic craftsmanship to do it properly)9 
Having a degree in math helpes immensely with programming. Abstract reasoning, calculation simplification, sussinct data representation, nice things to have.

Everytime I consult with senior devs on how to transition from my sysadmin job and get my first dev job they always tell me to get a CS degree.
Look. I will get that fucking degree eventually. But I want to build up dev skills and learn from a company before killing myself over math crap for 3 years. But it's like a vicious cycle. Every junior position I apply to rejects me because I have no degree.
I'm fucking frustrated and depressed.
What should I do? I want to break from the IT meme and get a dev job.
In the meantime I'm doing small projects and freelancing in my very little free time. But I feel I'll never truly be a developer until I work as one professionally.4 
Math is like a language syntax. You understand the meaning of needed symbols and keywords, then you can write it the way you want.
Physics is like a framework. You have to understand how problems can be solved using patterns someone else thinks is the best way.
This is what I think when I should be reading for the big test of physics and math for upper secondary school.3 
Not a rant just a quick vent of rage, Geostatistics can eat a bag of dicks. Not just one a whole fucking bag.1

I've recently created a polynomial library as a learning experience. I feel like its very badly coded, since I'm a beginner, would someone be happy to check it out and maybe recommend some ways I can improve it or different ways I can do something. That would be helpful
(I've used C#)
https://github.com/AwkwardBanana/...6 
To people who like binary and numbers!
I didn't touched JavaScript in like 2 months or so.
For me it's a lot because I'm not that good. And last week at uni I learn numbering systems, and how to convert a decimal base number into other bases.
So I thought, what better way of practicing JavaScript and math, than doing a program that does it!
So yeah, I made a function that turns decimal numbers into binary ones!
To me it's a HUUUGE step!
It's probably not the prettiest code (I'll refactor it other day), but here it is if you want to see (GitHub):
https://github.com/joaoneves95/...3 
Happy halloween!
My halloween schedule
1. Start 3 new game projects
2. Study f***ing C for the test in coming Saturday and Sunday
3. Study math for the test in coming Sunday
4. Play werewolf in codrTalk (hopefully)
5. Start my f***ing logo after a disasterous fail.2 
Stupidly tested some sql on development to return results for an admin (see the whole results) and stupidly didn't test the where clause for generic users (only see a subset of data)
To find out on production the where clause was being run because it wasn't a where, it was an 'and' and 'where' was not being used before so made the whole users get the entire results.
My own fault for not testing all use cases. Horrible though.2 
I have an internship at some research company. My point is making face recognition apps with prog lang I know. This place is awesome. Well, compsci it's not my background, but I met many people. And they are great at math ....
.....
... Like they do 29 grayscale images as a vector for PCA algorithm with size 64x64 pixel and COUNT A COVARIANCE MATRIXES WITHOUT TOUCHING ANY CALCULATOR OR PEN AND PAPER AND GET THE RIGHT NUMBER!
Man, this is insane. I don't even know 64x64. I love compsci1 
http://ipkitten.blogspot.com/2018/...
HOW THE FUCK IS THIS LEGAL?! This isn't even their fucking research! So much of this was either done decades before they existed, or done by others. In the first place, since when can you patent fucking math?! Sure we haven't seen the full patents but they should focus on specific implementations if anything and the titles clearly do not reflect that.
So much for "don't be evil", fuck Google 
Today I heard from a fellow worker: "Why this lot of conflict in this branch, the conflict that I have at home is enough".1

if((fabs(a  0.0) > 0.00001) 
(fabs(b  0.0) > 0.00001) 
(fabs(c  0.0) > 0.00001))
What have you seen dear traveller? What have you seen?2 
Running NPM install on an average size project on a free tier Cloud9 instance.
Didn't go too well kept hitting memory limit which killed the NPM process.
Upgrade it is.. 
How much is mathematics related to programming?(general question, i want to collect opinions on this)21

I really like coding for scientific purposes. It unites my big passions (natural sciences/engineering/coding). And I like the feeling of empowering someone to do research. BUT BESIDES DEALING WITH DUMB FEATURE REQUESTS, THERE IS NO WORSE PAIN THAN HEARING PHD CANDIDATES FUCKING SAY RETARDED STUFF. HOW DID YOU EVEN WON THE SCHOLARSHIP FOR THE PHD YOU DENSE SON OF A BITCH (NICE JOB ACADEMIC ENVIRONMENT BTW). YOU LACK KNOWLEDGE OF HIGH SCHOOL LEVEL EVEN ON YOUR OWN SUBJECT. THE BEST RESEARCH YOU CAN PROVIDE TO THIS WORLD IS THE FLUID DYNAMICS OF AIR WHILE YOU JUMP OFF A SKYSCRAPER MOTHERFUCKER.

When debugging, why oh why do I forget that multiple browser consoles can be open and then get frustrated when refreshing the tab doesn't show my changes?!

Writing ! instead of ~ to make a true logic statement negative in Math exam.
Like: ~p=>q —–> !p=>q1 
So my Algebra 2 teacher won't give students credit without showing work (You can literally make a 600/600 on the final with writing a thing down). I've decided that I'm going to create a program for everything that she assigns me, so that if she asks for the work, I can show her the source code.2

Currently taking a statistics class. Can't wait to write some Python to solve the equations for me! 😀😀😀1

> checking it once
> checking it twice
> on production it still fails in front of our eyes
> programmers are coming back to the office 
Everybody born in 1984 must be a fantastic programmer (including me 😎), because when the year will be a power of 2, their age will also be a power of 2.
2048 = 2^11
2048  1984 = 64 = 2^62 
Why Evil Corp did not have its servers on a cloud provider?
(This question is about any big corporation with a whole bunch of servers. I quoted Evil Corp because the question came thinking about it.)16 
There is a time in every programmer's life that the only thing to be done is to take a deep breath and reboot the server.

I am going to start studying linear algebra but not sure which book I should use. I have a hard copy of Linear Algebra and its Applications. But I don't know wheater its good or bad. Should I use it or look for another book?9

Here at the end of high school they make you create a sort of minithesis and/or a conceptual map. I found mine in midst of full blown bedroom chaos, dated one year ago (it's in italian because I am italian but you can definitely ask for translation). I got that fucking diploma despite all the issues I had and still have. Fuck 'em.4

I watched an episode of Brooklyn 99. Cop comedy show for those of you who don't know. They introduced me to the monty hall problem? My brain refuses to understand it and im rapidly losing my mind.
Has anyone here ever written a program that tests it? I can't read math theorems for shit. But I can read code. And I need my sanity back.2 
Every team building event, the company run a random draw to organise the teams.
It looks like the random equations not applicable to the beauty lady and the rich guy, they always match together.
What a draw...
Should I give them actual simple running draw app! Or they may hate me :) 
This morning, I tried to abstract myself from my computer while trying to calculate sqrt(1.81).
I came up with what I thought to be a genius method. I tried to find B such as (1+B)^2=1.81. Then I ended up calculating the discriminant of 1+2B+B^2 and had 4*1.81. Sounded funny at first, but upon calculating the positive solution amongst the 2 possible ones, I ended up with (2+2sqrt(1.81))/2 = ... sqrt(1.81)1. Upon replacing in the initial equation, one gets (1+sqrt(1.81)1)^2 = (sqrt(1.81))^2 = 1.81.
I'm sorry for having let you down, dear pasokon. Please forgive me.2 
My teachers saied: Math is important for the programmation...
We are now learning some shit that is useless. We only need Multiplication, Division and Addition (and sometime ²)...14 
When you are leading in updating a product to the latest version of a framework, what allows the integration of webpack into it, and so also allows the usage of babel, what allows the usage of ES6 syntax.
And now everyone in the company started calling the "new javascript codes" a part of the framework, even though i explained multiple times how it works.1 
I have working for software engineering for the past 8 years without any degree at all. However, in my latest job interviews one of the things I mainly lacked was understanding and applying the algorithmic concepts. As I hadn't maths since I left college, what would you recommend me?
I was looking for some kind of a course (it is always better when you have someone with whom you can discuss with), but such a specific one doesn't seem to exist in Portugal, and taking an entire degree because of algorithms is not an option to me.
Ideas?
PS: I am currently working, however I do understand that a new algorithmic thinking would help me in my daily job.5 
!rant
Currently I am studying "applied computer science" in Berlin and most of my modules are easy as fuck for me. Most of the time I don't even have to study for the exams. My programming professor even told me that I am the best student in terms of clean/readable code and he was amazed when I handed in on of my homeworks where I used MVC. Today I failed my math exam for the second time. It's the only module that I suck at, mainly because I don't give a fuck about it. I can easily grasp the concept of anything that I am interested in, but if I am forced to learn something my brain just shuts down. I truly fear that I will drop out of university because of math. I am still at my first of three math modules and I don't know how to handle this problem properly, having in mind that I still need to participate in two more modules. The saddest part is that I am not the only one with those problems and fears. I will link a news article of the German newspaper "Tagesspiegel" in the comments.
I know this is neither a rant or a question, but I just wanted to tell you guys about my problems and maybe start a conversation about the importance of math in our modern times and why school's aren't able to teach basic math in a way that young people are excited for it or at least are able to grasp the basic concepts.3 
If I manage to complete my current project as intended then it will be my most successful project so far

Sometimes while writing software / consulting I feel like house md. Not always am I right the first time, but this is often due to me looking at the wrong thing. But at the end of the day I am able to give advice that may be seen absurd but usually is correct.
(tip: it's never lupus, what is quite right because code is code)1 
Is there actually a proper way to do Math in Javascript, without parsing every value to avoid something like
"1" + 3 = 13 ?rant trying to learn proper math start to hate dynamic var types wtf is going on with that language javascript advice needed11 
Commit message of the day: "Until the [some KPI] can be stored with 15+2 digits in the middle ware, we store its logarithm (to the base of 2) with 3+2 digits."

Math.abs(x) I use this a lot, along with all trigonometry functions, which I love and am also glad they are implemented2

but math is not your strong suit.
well, I got through calc & physics...so, I guess I'm all right, now. 
Hey hackers, what's your best advice on getting through difficult classes?
I'm really struggling with final exams right now, especially calculus. Actually sitting down to study and put in the work is no problem, but I just can't seem to get any of the material or do any of the assignments by myself. Then I'll look up the solution, understand why these steps lead to the correct result, but have no idea how you'd even think of them when you don't already know the result you need to get to.
It's really frustrating and giving me massive anxiety because it just seems hopeless and I feel like I'm never going to understand any of it and be able to pass my exams. Any tips or advice?6 
Now I can think more logically. I was worst at math, like ever. But programming made me think more deeply and that boosted my math scores. Still, I am peace of shit, just digital.

Suggestions for cool/fascinating math problems that are hard to solve, but if done correctly can be performed very efficient? Wanna build some puzzles and need some ideas :)3

Hey everyone, here are a few questions I wanted to ask for a long time.
I'm currently studying CS and struggling a LOT with math related exams.
I'm not bad at it, I even like it, it's just that I'm not good at using it.
how are you guys with math?
how much is it important in a dev life?3 
I start my summer class tomorrow; Applied Probability and Statistics. I took a look inside the textbook for the class, and now I want to kill myself. Oh well, at least it's not Calculus 2.5

Remove a property from an array to spend an hour trying to work out why something isn't running to notice that there was a count later on the array that required a specific number of elements so the bit I was expecting to execute never executed.
Was looking for ages as to why.
Friday afternoon code brain. 
Writing 4 exams this week in math / computer science, I am super nervous. Any tips to stay calm? :)11

Apparently the standard "pack" of applicants for a job is at least 100 people, how else can you only be in the top "2%"? If there's only 2 applicants, your fingers (typing skills?) are in the top 2%, and the rest is in the upper 48.
All of that just to say it would have been better worded as 2 in 100 people than 2% =).
https://grammarly.com/blog/...3 
!rant
Today i had my first class of this semester. Meanwhile, there was a small party on campus. I was having math class "listening" a playlist with "Stayin' Alive" and "I Will Survive".
Best soundtrack to my class :D5 
Somebody forgot to correctly match the external url on login success and failure, now google may use my cookies for the better good.
https://symfony.com/blog/... 
Any good algo book for a guy who's managed to read C Primer Plus and Learning Python? With math really explained. He's bad in math.7

!rant
For the first time since I started work I used a matrix to find a formula.. Albeit it was for jquery.
Those hours and headaches spent studying math are paying off. Feeling a bit proud... 
So, today I was helping my cousin with his math homework, then I realized he had found the equation for a sequence of numbers taking the first index as 0 ... I never been so proud in my life.
It was wrong tho :(rant tagz tagy linux index zero rules math tagx more popular stuff pichardo for president javascript