Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Search - "math"
Programmers: Always use descriptive variable names.
Mathematicians: Single letter variable names always, ideally from obscure/dead alphabets.
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
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... 😂9
I guess I can do one of these a day or so. I've collected some novelties over the years.
First up is a Curta mechanical calculator. Before electronic calculators became a thing, these were the best portable calculators in the world. Notably, they were the calculator of choice in rally car sports.
They work by a series of helical gears that act as registers. A series of internal gears and value assignment switches apply an adjustable number of incrementations to those gears, multiplying gears and the tracking gears, once per "grind." The result is output as a number on top of the device. The "clear register" function is lifting the top ring, which releases the reverse lockout on the gears and a clockwise turn on the ring then resets them to their zero state.
They were designed by Curtz Herzstark, partly before WWII and partly while he was imprisoned in a Nazi concentration camp. He had filed a patent for it in 1938, shortly before his family's manufacturey became a weapons factory. During his imprisonment, in addition to nearly starving to death, he completed his plans for manufacturing of his calculator.
It had fun names like the, "pepper grinder," and "math grenade."15
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 mini-brain out of nothing but numbers.18
I sleepy, accessing the server in the middle of the night to resolve a problem.
'ssh connection closed'
Go back to sleep.
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 again21
That moment when you realise f(x)=x²
that you did in 4th grade and now
You realise that Everyone has been doing programming all their life....6
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?
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 re-program 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
At a job interview.
Them: Can you please write a function that calculates fibonacci numbers on the whiteboard please.
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
i had a nightmare the other day that i was at work explaining to a friend that 1/3 is the same as 3/9 and i was shocked why they ddnt approve. then they pull out a calculator and i see that while the first fraction yields 0.33 the second yielded 0.057. so i felt so nervous and panicked then i woke up.6
If you choose an answer to this question at random, what is the chance you will be correct?
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.18
*A video playing in a website and I can't find the video on the site*
$("video").src = ""
Oh man, sometimes I am so hacker :')4
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:16
I’ve realized that programming made me so much better at math!
Although I’ve caught myself writing “int x” once in the notebook.1
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
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
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.8
Mother fucking SQL, fuck mathematicians, fuck every thing!
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...
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...6
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 🧐15
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 math-y. 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
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".10
"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."
Spread the word.1
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 co-workers.2
First day of the academic year(CS):
(some uni official) - "And remember to become a good programmer you have to become an excellent mathematician first"
(Me): Oh shit.
Little did I know...
It is a second year now. And the only course I failed is the one that he lectured.
I had no fucking idea that people like this (mad)man exist.
Almost at every lecture he was introducing at leas one topic that was way beyond our program; as he thought they were interesting and "fun".
Many teachers at the University refered to him as a very 'ambitious' man. Then I didn't blame him he truly loved his profession and wanted to share as much knowledge as possible(I thought).
But two months ago he went to far. It was a second exam(for those who failed the first one). And believe me there were a few(60 out of 160 to be exact).
Only ~30 people showed up as the rest failed to many courses and would be kicked out of the uni anyway.
He was handing out the exams when I saw that whoever gets one slowly starts turning white.
I finally got my copy and immediately I realized that the tasks are from his favorite topics, the "fun" ones. 🤦
At this point I knew that it will be extremely hard to pass. But when I was reevaluating my life choices something draw my attention.
One of the tasks had a note below it: "Homework after the exam: It is a very interesting problem just assume x instead of y and try to solve it. PS: it is a lot of fun!"
At this point I lost it.😠 I don't care how much you love math, you should always assume that not everyone loves it as much as you do. So don't push it down the throat of people who clearly don't need a degree in this subject!
Now I'm preparing for the second semester with this guy. And I have a strong feeling that it will be hell of a ride... again.😐
BTW: Sorry that the rant is so long, it's the first one I wrote, and had to share it with someone 😀19
Read "How to implement a programming language" (http://lisperator.net/pltut) and it was very cool and enlightening. I have decided to use what I learned to make a math evaluator with a proper lexer and extensible library and stuff like that. Not a full programming language but a nice and advanced math evaluator.10
I did a pretty nasty derivation of third order approximation for first derivative by hand. I got all the nasty Newton coefficients right, and was very precise until THE VERY LAST LINE, where I butchered simple math operations.
I wonder if there is a name for my particular brand of stupidity.17
"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
rant && !dev
Am I seriously being asked to provide the proper units of volume in a university-level 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
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.
Im starting to wonder if Js has gone too far.5
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:
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.
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.8
Apparently, floating point math is broken.
=SUM((2.1 - 2.0) - 0.1)
In PHP and Haskell this also happens10
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
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
Just finished up some math homework
One of the problems involved finding the side lengths of a triangle
Spend a good 20 minutes fucking around with the law of sines and the law of cosines before I realized it was a right triangle, and so I could use the Pythagorean theorem
I'm an idiot4
Those of you who like "The Imitation Game", you probably want to check out "Hidden Figures" (2016). It's on Netflix now.
About a team of female African-American mathematicians who wanted to "break the glass ceiling" in NASA.
- Dorothy : conquered the (recently acquired) IBM frameworks using Fortran and taught her team to program it
- Mary : appealed to court to be allowed to study in a all-white school to get her qualification to be an aerospace engineer
- Katherine : her skills in analytical geometry enabled her to be the first female African-American in the Space Task Group in calculating the momentous capsule launch into orbit
My lazy ass just can't fathom how someone who deals with so much math and pressure can still smile to their family after work. My grumpiness nature will surely turn me into a monster.
And now I know what "human computers" means.5
Faster square roots?
Did you know if you multiply your
product by pi, and then use that as
the area of a circle while solving for
the radius, the result will be an
approximation of the square root
of your product.
let p (the product) = 492181
then √p = 701.5561274766261
492181*pi = 1,546,232~
(leaving off the fraction for
the sake of brevity)
area = 1,546,232
then the radius of the 'circle' would be 701.56
I wonder if anyone has stumbled on this before?15
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
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 / --no-preserve-root3
Taken partly from an article I just read.
Russels paradox is a problem discovered by Bertrand Russel in 1901 when studying set theory.
He describes a set that contains all sets which do not contain themselves. The set of all pornstars does not contain itself for example, so it can be include in Russel's set, as well as many others.
But what about Russel's set itself? It doesnt contain itself so shouldnt it be included as well? But that would mean it DOES include itself which means it DOESNT belong to the set. And it would keep switching like this, monotonically, forever. Hence the paradox.
If it is monotonic then where we begin in the sequence doesnt matter. So lets do away with that bugbear.
Now if russels set IS the set of all sets that dont contain themselves then we get a paradox.
However if russels set merely *has* as a single subset, all sets that dont contain themselves, then shouldnt russel's set with one level of indirection, contain itself?15
I just said out loud to the computer: So, is 1 bigger than 1?
Sometimes I think how funny would be someone watching a programmer.4
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
I've been doing some Codility exercises, and I can't see how it reflects on my skills as an engineer. It's just math riddles that can be solved with those fancy calculators.
It completely misses the aspects of managing resources, good design, understanding other people's code, hardware optimizations...15
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 50-100 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!4
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
Seriously what's wrong with the market right now, this is basically what some job ads said. They were even from the same company
Frontend job ad: are you a rainbow rockstar developer who just loves to code OwO(unpaid overtime) [buzzwords...]
Embedded systems job ad:
Serious job description
Required experience in c/c++
Other non bs stuff8
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
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!
Inspired by @shahriyer 's rant about floating point math:
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
A couple times a week my girlfriend tells me that she leaves work. She travels with a motorised vehicle for about 45 minutes. I am responsible of cooking food on those days. The food preparation takes around 7 minutes of cutting vegetables and the cooking takes around 20 minutes. the current time of reading the message is 17:17. She had send the message at 17:08. At what time should I start making food in order to be finished at the time she gets home?
I start to relate more and more to school math questions...
Maybe I should make an app for this or website to calculate automatically.5
I love technology. I love programming and developing software. I love self-learning new things.
But I REALLY REALLY REALLY hate Math. And suck at it too.
I want to study comp-sci at the university but I'm scared of the math.
Samsung has a bug in their galaxy software that essentially makes you unable to store anything that's not in the root folder on an additional sd card. After 2 years, they still have the bug. Additionally some phones will shit themselves if you try to format an sd card with it
How the fuck can they just leave significant bugs. The whole just get a new phone every other year mentality/industry style is both wasteful and seems to contribute to garbage software7
> Snow expected tomorrow
> Railservices declare a state of emergency
PSA for all dutchies here, check the reisplanner app9
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
Just needing somewhere to let some steam off
Tl;dr: perfectly fine commandline system is replaced by bad ui system because it has a ui.
For a while now we have had a development k8s cluster for the dev team. Using helm as composing framework everything worked perfectly via the console. Being able to quickly test new code to existing apps, and even deploy new (and even third party apps) on a simar-to-production system was a breeze.
We are now required to commit every helm configuration change to a git repository and merge to master (master is used on dev and prod) before even being able to test the the configuration change, as the package is not created until after the merge is completed.
Rolling out new tags now also requires a VCS change as you have to point to the docker image version within a file.
As we now have this awesome new system, the ops didn't see a reason to give us access to kubectl. So the dev team is stuck with a ui, but this should give the dev team more flexibility and independence, and more people from the team can roll releases.
Back to reality: since the new system we have hogged more time from ops than we have done in a while, everyone needs to learn a new unintuitive tool, and the funny thing, only a few people can actually accept VCS changes as it impacts dev and prod. So the entire reason this was done, so it is reachable to more people, is out the window.3
I need to sit my ass down and improve my math skills so I can have better chances in my PhD interviews. But the number of topics I have to cover is huge, and it's terribly discouraging. I procrastinate by listening to Children of Bodom 🤣15
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
More masturbation with numbers.
If you take some product p,
and it's factors
you might find something interesting.
Take for example
(√p)**(1/p) = 1.0000000108551363
a**(1/p) = 1.0000000104986928
b**(1/p) = 1.0000000112115799
More often then not, a, b, or both, will share one or two of the most significant digits in the mantissa, as the root of p.
It doesn't always work, but it seems to be true more often than you might expect.
This is probably obvious in hindsight but I still think it's cool.
In some instances if you then do, say
sqrt(log(p, 1.000000010)), it comes pretty close to the original factors, but thats really hit or miss.9
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
Does anyone else think discrete math is super satisfying? I love it so much more than algebra or Calc10
Chances are configurable in the project. Custemer didn't understand why something ALWAYS happened when he set it to 100%
I think I found the equivalent of 'square root' but for modular arithmetic.
This is kinda stupid cuz I only tried it on two numbers so far but feel free to try it yourself and prove me wrong!
Then divide √p by 2, 3, 2, 3, repeating until the result is below 2.
Now take that chain of divisions and tack it onto p instead, then change all the 2's to 3's.
Lets call our new result 'r'
and the result should be the same as r.
√697/2/3/2/3/2 = 0.3666771884012246
So our chain is 2/3/2/3/2
Now change all the twos to 3s, so we get
3/3/3/3/3. And somewhere within the range
of 3**0 to 3**N is our 'modular root'
697/3/3/3/3 = 8.604938271604938
697%8.604938271604938 = 8.604938271604938
Likewise, if p = 345852581
Which admittedly isn't the same but I think might be a rounding error.
In either case it's interesting. Has anyone seen this before and if so where can I learn more?22
Just in case any other devranters are in China, here is this morning's updated chart if you have wechat you can follow this account, stay safe and wash your hands5
Wow, I still remember some math after decades. Today, I needed some parameter calculation in an interval with smooth transition at both ends (i.e. continuously differentiable). So I used a 3rd degree polynomial where the values and derivations gave a 4x4 linear equation system. I lazily hacked that into WolframAlpha, and it works nicely.1
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
When you have a one-to-one relationship, do you merge the tables into one table or do you keep the two tables?7
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
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
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.
C'mon CBA, get it together. If today is Friday and something happened on Thursday (AKA yesterday) that's "1 day ago". It is known!7
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
I've just bought a new table, I think that's the best thing anyone without a proper table can do.
25 € and solid wood, I hope it lasts forever.8
I see a lot of talk about complex numbers, and yet
for all they are worth, I have not once been
able to find an explaination on how to calculate
them by hand, namely the real component.
2.23606 is obviously just the square root of 5, but where the hell did 1.369 come from?
Apparently no one fucking knows, and no site I've found gives a simple explanation for someone new to math in general.
"use a calculator", "hit a button",
How about no.8
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. :)
What paradoxes taught me.
Perhaps each time a paradox is encountered in mathematics, there is a useful distinction or mathematical tool hiding in plain sight, one that hasn't be discovered or utilized. For cursory evidence I give you: division by zero, the speed of an arrow at any point in flight, and calculus.
Maybe this isn't true for some paradoxes, or even most, but as time goes on I suspect people will discover it is more true than they might have thought.
Undefined behavior and results aren't nonsense: They look to me like golden seams to be explored for possible utility when approached from uncommon angles with uncommon problems.6
When you're doing a math problem at school and you can't solve problems with loops and if statements2
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.300000046
Do you think one may become a good programmer or coder without excellent knowledge of mathematics or algorithms?5
To people who like binary and numbers!
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 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):
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
When I was in seventh grade, I learned to solve quadratic equations and how to convert from standard form to vertex form
Today, when I had to convert a quadratic equation, I completely blanked on how to do it
I can’t remember how to do math seventh graders know
I've running Mac for one month and one week now. Now, every time I'm going to use it my thought is: I JUST WANTED A NORMAL NOTEBOOK RUNNING LINUX I DON'T WANT TO USE THIS SHIT.6
I'm fairly new (less than a year) to programming and I'm just wondering what everyone's thoughts are about this.
Is taking college math courses necessary to be a good programmer?
I am learning online and I'm worried I won't be a great programmer without all the math. The last course I took was Trig :/
Also add any suggestions you have. Thanks all!27
The more I learn frontend the more I like it. Imagine, actually becoming good at something makes you hate it less! I know, I know, I was shocked too.
Completely unrelated question:
if you have all the mods for the factors of a product, is it possible to derive the factors from the modulus?
(lol you know what this is about).
The product "fingerprinting" I talked about a while back is starting to allow me to find the modulus of factors, and I want to know what I can do with that if anything.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
Okay so for all of you who think that you can't do shit without stackoverflow. I'll tell you this, fuck SO. There's this ancient technique of programmers of old probably just about 20-25 years ago called RTFM. Why bother copy pasting some one else's spaghetti(that you might not fully understand) when you can write your own better code! (said in good faith). When something is behaving strange or you don't know what something requires just hit the docs or manual and read about the api because it is describes not only what it wants and needs but also what it does. So try this because it might have more information that you need than stack overflow might tell you12
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
Copy/Paste to/from multiple clipboards in Windows - https://github.com/Matts/AltCopy
I've always had the issue when refactoring code, I am wanting to "copy on cut", or just having two clipboards to use separately.
I am not sure if anyone has ever had this issue before, and so am also not sure if anyone has ever created a solution it. So I took 10 minutes and made a AutoHotkey script to solve it.6
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 shit-for-brains 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...
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
If you want a really obtuse method for inverting numbers in python, here you go:
z0 = Decimal('78.56341431805592768684300246940000494686645802145994376216014333')
z1 = Decimal('1766612.615660056866253324637112675800498420645531491441947721134')
z2 = Decimal('1766891.018224248707391295083927186110075710886547799081463050088')
z3 = Decimal('15658548.51274600264911287951105338985790517559073271799766738859')
z4 = Decimal('1230189034.426242656418217548674280136397763003160663651728899428')
z5 = Decimal('1.000157591178577552497828947885508869785153918881552213564806501')
From what I can see, it works for any value of n.
I have no clue why it works.
Also have a function to generate the z values for any n input.
Bringing you QUALITY math posts since 2019!
"we shitpost because we care."21
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
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
Was driving home last night when I noticed that my car was slowly drifting side to side. It felt weird like when a tire is low/flat. So I gradually slowed down from 50mph to 40mph. Note, I did this carefully and slowly. My antilock brakes kicked in. Like holy hell how slick does a road have to be for a small deceleration like that to kick in antilocks?
So it made me think of a math question:
If a typically sized sedan (weighing 2 tons) decelerates from 50mph to 40mph and the antilock brakes kick in, what it the frictional coefficient of the surface of the road? Also assuming typical non-bald all season tires.
b) really slick
c) REALLY FUCKING SLICK!7
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
Writing ! instead of ~ to make a true logic statement negative in Math exam.
Like: ~p=>q —–> !p=>q1
Emacs, once you gotten familiar it's just the best and there's lots of packages to make everything easy to do from emacs. Also it's very configurable1
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
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.
!rant :) FUUUUUUUUDGE YEAAAAH!
it's so satisfying when you've been working on a huge ass thing(when maybe you should have tested individual parts) and it just fucking works as intended amazing, I love it!
It's so beautiful to see your own compiler(jk just scanner+parser atm) compile code successfully
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
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 gray-scale 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
So, forgive my ignorance, this isn't a troll just a question.
How are continued fractions related to modular arithmetic?
Take the following example:
70%32 = 6
70//32 = 2
which we can just represent as
Now, as a continued fraction, we would do
70/32 = 2 + 6/32
and repeating what we just did but for 6/32, as you would with a continued fraction.
Am I actually doing everything correctly here or am I missing something?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.2
These days I've been noticing how important is to know how to create a good diagram to convey an idea. Also, working in a big company I noticed that we use UML diagrams for a lot of things, which is very useful to understand the architecture of the system or the design of the code. Does anyone here know some book or article that can help me to learn how to better convey ideas using diagrams, how to make one, and what diagram to use? I am not thinking about something very specific to UML, because I see that sometimes we just do a diagram that makes sense without following any standard.4
> checking it once
> checking it twice
> on production it still fails in front of our eyes
> programmers are coming back to the office
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?!
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
Devrant works surprisingly well here in China, except for saving pictures everything else works(mostly) but it's still nice to be able to use it here
Anyone else have similar experience in their country?11
Math question time!
Okay so I had this idea and I'm looking for anyone who has a better grasp of math than me.
What if instead of searching for prime factors we searched for a number above p?
One with a certain special property. BEAR WITH ME. I know I make these posts a lot and I'm a bit of a shitposter, but I'm being genuine here.
Take this cherry picked number, 697 for example.
It's factors are 17, and 41. It's trivial but just for demonstration.
If we represented it's factors as a bit string, where each bit represents the index that factor occurs at in a list of primes, it looks like this
When converted back to an integer that number becomes 4160, which we will call f.
And if we do 4160/(2**n) until the result returns
a fractional component, then N in this case will be 7.
And 7 is the index of our lowest factor 17 (lets call it A, and our highest factor we'll call B) in our primes list.
So the problem is changed from finding a factorization of p, to finding an algorithm that allows you to convert p into f. Once you have f it's a matter of converting it to binary, looking up the indexes of all bits set to 1, and finding the values of those indexes in the list of primes.
I'm working on doing that and if anyone has any insights I'm all ears.9
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#)
More math (because it's 5am and currently the apocalypse so why not).
e - log(log(e, 1.444667861009766**1.444667861009766), log(e, e**1.444667861009766)) = 1
I've been studying so long if I happen to glance at a pocket calculator I might jizz in my pants.
Thinking BigBrain thoughts right now bois! (tm).
Oh shit. Cant stop. I think I opened a portal bros! and am being sucked in. ITS A BLACK HOLE!18
Did we already have a Weekly Group Rant for how many lines there are in the biggest file in the project you are working on?5
Sometimes your day is going really nice, and you just had a nice cup of tea with the milk from the best cow on the farm. You're coding happy, and you will take a walk after that. Then, suddenly, you type `git checkout .` rather than `git reset HEAD .` and your life is miserable now.11
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 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
If you ever have the pleasure of teaching kids (perhaps because they chose to stay home and pretend to be sick) teach them math.
Specifically teach them division. Have them divide 22/7.
Let them keep going until they ask 'when do we stop?'
And when they do, tell them: "you don't. It's an irrational fraction."9
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
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
Oh god, here comes another math post! I can feel it coming on, like werewolfism during the full moon.
I'm only passingly familiar with logarithms, so this, like everything I've stumbled on, has probably already been discovered, but
Is a pretty good approximation (within a couple percentage points, or three or more digits) of the natural logarithm for all the numbers I've checked it on.
For example if
n = 690841693
ln(n) = 20.35342125707679
while our estimate using the above formula comes out to:
n/(1/((n**(1/n))-1)) = 20.353421612948146
Am I missing something obvious here, and if so, what?
Am I doing the idiot savant thing again, or am I just being an idiot again?10
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
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..
Its everyones favorite time again. Wisecrack's 8th grade hoborants about mathematics.
Lets start with the example
(1/(5/p))/b = 17.8
3969.4/b = 17.8
What I find interesting is that...
p/17.8 = 1115.0
..for any product and factors (given two factors), the result will always be an integer.
Why is this?
You can see that
t= 1115.0*b = 248645.0
17.8*(p/a) = 3969.4
17.8*(t/p) = 223.0 (our factor, b)
also a*(t/p) = 1115.0
I could be once again misunderstanding but
what it looks like is that theres some real number that always transforms p into an integer on the ring of integers (Z) representing multiples of the factors of p.
b/17.8 = 12.52808988764045
We can also get that number like so..
t/p = 12.52808988764045
I think (though I could be mistaken) is that the reason is because t is b*1115 and 12.52808988764045 is the ratio between b and 17.8 as well as the ratio between
p and 1115.
And if we do
t/√p = 1764.9495488858483
1764.9495488858483^2 = 3115046.9101123596
t (this is obvious but I want to point it out anyway), or 248645.0
1115/b = 5.0
248645.0/5 = 49729.0
√49729.0 = b
Why is this last part true, that √(t/5) = b?11
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
Do you have a programmers union in your country?
In my country we have a general union for all different kinds of jobs and a engineers union. Maybe if developers had a dev union there would perhaps be less bs12
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
Devrant help me out.
You know x, and you know n, and you know z where ((y/x)*x)*((x/y)*x) = z
Solve for y.
If you do it, I'll consider giving you a billion dollars (of course the payment schedule will be an asymptote).31
I need your help... This is my 11 year olds math homework, one of the questions anyway... I cannot work it out.
Mrs choy spent exactly £10 on exactly 100 eggs.
Large eggs cost 50p
Medium eggs cost 10p
Small eggs cost 5p
For two of the sizes, she bought the same number of eggs.
How many of each size did she buy17
I've just noticed this and now I'm clapping every time I stop my Sinatra application.
== Sinatra has ended his set (crowd applauds)
Rust is a nice language but the learning curve is quit steep so if you don't have time to pick it up I'd suggest using another language especially for assignments if they give you the choice. Otherwise you might like me and my classmates spend more time fighting the rust compiler than doing the assignment7
We may be able to determine if simple identities exist (say linked by a single variable or coefficient) for some subset of a set of variables S by comparing elements of the set and finding cardioid symmetries among them.
Yea or nay?
If someone is more familiar with the math and polar coordinates, I'd be grateful for your input.
Only math would be so bold to use an undefined value/parameter name as the argument for a function. I gave it an Uncaught ReferenceError.1
When I was in high school I liked discrete maths. I always wondered which field would be best for me. There was an introductory programming class and I was hooked since then.
Operating systems were the next thing that interested me. Now I am too deep into writing drivers and kernel modules and it feels a bit monotonous. These days I am attracted to quantum hardware. I am trying to align myself to make a switch toward quantum systems engineering.
This is how to find the base needed for any integer value p, where p>=5, such that the logarithm always equals e in python.
log(p, e**(log(p, e**e))) # equals e
Doesn't do anything besides that but this is another identity isn't?24
If I manage to complete my current project as intended then it will be my most successful project so far
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
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.
I know it's not really related to development, but I got in a discussion on twitter and one dude tweeted "in science, 1 isn't 1"
And so I was like "mate what? science is highly dependent on math and in math, 1 is kinda always worth math"
And this this girl comes in and just says:
"it's not true that 1 is always 1 because there's binary code as well"
And was was like totally astonished, like, have you even studied something? 1b = 1d = 1x and it's always 1 in whatever base!
(she even says she's some sort of engineer in her bio)8
i got bugs
i got bugs in my room
bugs in my bed
bugs in my ears
their eggs in my head
bugs in my pockets
bugs in my shoes
bugs in the way i feel about you
bugs on my window
trying to get in
they don't go nowhere
bugs on my ceiling
crowded the floor
standing, sitting, kneeling...
a few block the door
and now the question's:
do i kill them?
become their friend?
do i eat them?
raw or well done?
do i trick them?
i don't think they're that dumb
do i join them?
looks like that's the one
i got bugs on my skin
tickle my nausea
i let it happen again
they're always takin' over
i see they surround me, i see...
see them deciding my fate
oh, that which was once...was once up to me...
now it's too late
i got bugs in my room...one on one
that's when i had a chance
i'll just stop now
i'll become naked
and with the...i'll become one
Does anyone have a really nice coffee shop in your city that opens in dawn time? I was looking for something like this in my city and I didn't find. Now I don't know if something like this is possible or it is just a dream.6
I've just discovered https://asciinema.org/.
Does anyone know other cool platform like this?
I was wondering if there is something generic for casts like Rails Casts or Vim Casts.2
"1" + 3 = 13 ?11
!rant very happy to see a development at my uni towards having programming(+related courses) being more and more examined throughout the course through assignments and seminars where you have to explain what you did and why. I think this is a much more suitable solution for some courses best done with practise than having a paper based exam.3
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
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
My dad showed me vb.net when I was 13 or something and just went ahead to try to make different types of games with Windows forms, it was a lot of fun even if the games were garbage(I had a gazillion buttons on one because I couldn't figure out how to make the logic reusable with the hp bar); it is what put me on the programmer/engineering path1
Watched UFO 2018.
Movie mostly about guy trying to solve math problem but nice.
Learned about fine-structure constant and that all base SI units were redefined in 2019 lol.
I don’t remember anyone mentioned that scientists changed all of standardized measurements.
Overall nice movie if you like those about solving imaginary problem without special effects etc...
Looks like nobody cares how much kilogram weights.7
What do you call a function based on (w*x) / (y*z)
where w and y remain the same, and x always increases linearly with z?
at one point on the graph it might look like
(60*1) / (25*1)
and on the next it equals
(60*2) / (25*2)18
is this what they call an identity?
log(n, n**(1/n)) == n
first argument in log is the value
second argument is the base10
was doing a matrix determinant solving and came across this method of solving it via gaussian elimination. just one question, WHY?
there's the simple method of solving them, why to use complex stuff. ://6
How can you know my mood? Check my git commands. Am I using `git push -u origin SQUAD-feature-branch --force-with-lease` or `git push -f`?4
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
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.
my head complains about lack of trigonometry and too many variables. and it's just about drawing and positioning some circles. no 'real' math.1
Somebody forgot to correctly match the external url on login success and failure, now google may use my cookies for the better good.
From my apartment the sound of me typing in the keyboard is so loud. I'm wondering if the neighbors are listening to this and getting crazy with it.2
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 :(
I believe that there's some evil dark magic in the BEAM that detects if the user or developer is on a non *nix machine and then purposefully throws all kinds of strange errors or just fucking blows itself up for no reason. Take the shit to a *nix machine and it just works like magic and is easy to work with which is part of the reason why I love it and the ecosystem.
I have multiple ones, my uni has for one several amazing professors that I admire. Then there's there's the classics Thompson, kernighan, djikstra et al. T.A.D, uncle Bob and last but not least Stallman
All of them has provided insights, knowledge and a better way to view code and software
What container/virtualisation technology do you guys prefer?
Also I've been thinking of picking up either k8s or docker, mainly docker for ease of deployment or do you think it's wortb learning both perhaps? I do know they have a bit of different use cases6
Is a fascinating breakdown for anyone interested in complex numbers but intimidated by complex *math*.
They really go over it step by step. Take a look
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
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...
Sometimes I don't do a proper review because I don't want to seem very nitpicking. However, now I have to maintain the code that was merged and it has some stuff which is not correct. Now I have to fix it.1