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
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "einstein"
-
I am feeling nerdier than ever.
Today is:
- PI day
- Einstein birthday
- Stephen Hawking died today
- My birthday25 -
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠃⠙⠉⠙⠷⢻⣴⣤⡀ ⠀⠀⠀⠀⠀⠀⡀⠄⠀⠠⢄⡀⠀⠀⠀⠀⠈⠺⣻⣢ ⠀⠀⠀⠀⠀⡎⠀⢀⡄⠀⠀⠈⠆⠀⠀⠀⠀⠀⠘⠗⠆ ⠀⠀⠀⠀⢀⠇⠀⠀⠀⠀⠀⢀⠖⠉⠀⠀⠉⠑⢢ ⠀⢀⠤⠤⢌⡮⣐⠤⠤⡤⠔⢹⠀⠀⠀⠴⠀⠀⠀⡇ ⡜⡐⠈⠉⠗⣌⠀⢠⠊⢀⠄⠈⠢⣀⠀⠀⠀⣀⠜ ⢃⢇⠀⠀⠀⠒⡓⡪⣈⣀⣀⠀⠑⠠⠉⠉⠉ ⠈⢊⢖⡄⡀⠀⠀⠁⢉⣒⣑⠊⠛⠒⠤⡰⡀ ⠀⠀⠁⠓⠫⢥⢲⡀⡈⠙⢿⣷⣆⠀⠀⡁⡇ ⠀⠀⠀⠀⠀⠀⠈⠐⠋⠬⠎⠿⠿⠤⢐⠕⠁ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠈⠉
I turned myself into a rant Morty, I'm rant Rick!13 -
Things I wish I could tell my 18 year old self.
1) Accept you will make mistakes.
2) Truly learn the language you are using.
3) Write idiomatic code for the language you are using.
4) Be upfront about not knowing something.
5) Don't let not knowing something stop you from learning it.
6) None of us knew X until we learned it.
7) Understand your strengths and weaknesses as a developer, play to them.
8) Be willing to try new things.
9) X language isn't ALWAYS the best choice, X paradigm isn't ALWAYS the best choice. Choose wisely.
10) You won't know everything, but you might know more than others.
11) Your ideas and ego don't matter more than ensuring the product works.
12) "Perfection is the enemy of the good [enough]" - Voltaire
13) "Perfection is not achieved when there's nothing more to add, but when there's nothing more to remove." - Einstein.
14) Conflicts happen, deal with it.
15) Develop a toolset and really learn them.
16) Try new tools, they may prove better than what you were using.
17) Don't manage your own memory unless you absolutely have to, you are probably not smarter than the collective intelligence of the team that built the various garbage collection methods.
18) People can be dicks, especially online.
19) If you are new and people are being dicks to you, did you skip past the irc message about etiquette? If you did, you're the dick in this situation.
20) It can be tough, but it is fun, so have fun!6 -
Fuck the incompetent and "pretentious psuedo devs" !!
I have been developing a web portal for a student club for this really big company (as intern) and then they assign this fuckin group of these 4 stupid intern devs to work with me !
The fuckin tweked my code and redirected the CONTACT FORM to the fuckin LOGIN CONTROLLER !!
Then these sons of Einstein inserted dummy users without a username and password into the fuckin production site !!
Now each fukin time someone submits contact form is redirected into some random user account !!
Who the fuck needs Hackers when we have these legendary coders -_-11 -
I played a lot of Command & Conquer when I was younger, and I remember going through the files for C&C: Red Alert. I found one that had all the units names and properties, and wondered what happened if I changed a value. So I changed grenadiers attack speed to something ridiculously fast, and found that it actually changed it in the game!
The light bulb went off in my head, and I then created new units:
- Albert Einstein that shot electricity
- Attack dogs that launched missiles
Granted the animations didn't exist for these so it defaulted to playing their death animations when attacking, which was amusing.
That was the ah-ha moment for me that lead me to pursue programming. It was just so much fun!4 -
Einstein :" Insanity: doing the same thing over and over
again and expecting different results.
Me: O yeah? Try nondeterministic algorithms3 -
The support staff at the Apple stores are called "geniuses". If being able to factory reset an iPhone is called being a genius then call me Einstein for being able to write code.4
-
Einstein once said: "There are only 2 infinite things, the universe and the 40-day trial of WINRAR and I am not sure about the first one"8
-
"Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer." - Fred Brooks2
-
Whenever I can't figure out my bugs/errors, I take a break or sometimes go home and check back on it the next day.
I always remember what Albert Einstein said:
"We can’t solve problems by using the same kind of thinking we used when we created them."3 -
Holy shit! Albert Einstein is a real person!
My whole life I thought he was a theoretical physicist.7 -
This time I want to share with you something I am really proud of. As I love sailing (I've been sailing for a long time before I even had my driving license - for over a 20 years now), and I love old, classic, wooden yachts - this is the result of couple of years of work. My own oldtimer Jollenkreuzer 15er:
https://youtu.be/tNLgkOLu_bQ
This is almost the same Jollenkreuzer that Albert Einstein received as a gift (despite the fact that he didn't know how to sail). Emir was built in 1953 and the renovation took over 5 years and it wouldn't be possible if not for my father.4 -
"We can’t solve problems by using the same kind of thinking we used when we created them. " - Albert Einstein
-
"Two things are infinite: the universe and human stupidity; and I’m not sure about the universe." - Albert Einstein5
-
Ever since i was a little boy, i was fascinated by the stars in the sky and what made them shine. I used to wonder how our universe came in to being. What made it what it is today. What will happen to it long after we re gone. Will it die? Will it live forever? How big is it? Why is it big if it s big and why is it small if it s small. "God did it" was never a satisfying answer for me. God does not play dice as Albert Einstein said. So many questions went through my 10 12 year old mind. Until someone recommended to me the book, "A brief history of time". The book answered a lot of my questions and gave birth to more. Computer science is like my crush. I love it as a friend. But Astrophysics, its the true love of my life. It not only quenches my thirst, but it satisfies my curiosity, while making me more curious. Its an endless cycle. It teaches us that we came from the stars, we go back in the dirt, and only to be returned to the stars again.
Stephen Hawking, his work, his books, taught me so much. Inspired me. Made me more curious. And today the world has truly lost, one of its greatest people.
You will be missed Sir Hawking. RIP. -
Fuck this completely abysmal CMS!!!!
Not even god damn Einstein would be smart enough to understand this stinky pile of legacy code!
No, it's not enough to write an HTML template in PHP with less than 500 lines of code, noooooo, every god damn template HAS TO BE AT LEAST 3000 FUCKING LINES OF CODE WITH RANDOM INCLUDES EVERYWHERE!!!
Every fucking thing I fix spawns at least 2 new bugs! I FUCKING CAN'T!!!
I swear, if I meet these fucking worms of developers... someone will eat fresh turds mixed with puke from a highway toilet!17 -
A server application pulled off some sort of listings as table. Problem was, it crashed with some thousand data files after one and a half hours. I looked into that, and couldn't stop WTFing.
A stupid server side script fetched the data in XML (WTF!) and then inserted shit node-wise (WTF!!), which was O(n^2) - in PHP and on XML! Then it converted the whole shebang into HTML for browser display although users would finally copy/paste the result into Excel anyway.
The original developer even had written a note on the application page that pulling the data "could take long". Yeah because it's so fucking STUPID that Clippy is an Einstein in comparison, that's why!
So I pulled the raw data via batch file without XML wrapping and wrote a little C program for merging the dumped stuff client-side in O(n), spitting out a final CSV for Excel import.
Instead of fucking the server for 1.5 hours and then crashing, shit is done after 7 seconds, out of which the actual data processing takes 40 bloody milliseconds!4 -
I once interviewed for a role at Bank of America. The interview process started off well enough, the main guy asked some general questions about career history and future goals. Then it was off to the technical interviewers. The first guy was fine. Asked appropriate questions which he clearly understood the answers to.
The next guy up, however, was what I like to call an aggressive moron. After looking at my resume, he said I see you listed C++. To which I said, yes I have about 7 years of experience in it but I've mostly been using python for the past few years so I might be a bit rusty. Great he said, can you write me a function that returns an array?
After I finished he looked at my code, grinned and said that won't work. Your variable is out of scope.
(For non C programmers, returning a local variable that's not passable by value doesn't work because the local var is destroyed once the function exits. Thus I did what you're supposed to do, allocate the memory manually and then returned a pointer to it)
After a quick double take and verifying that my code did work, I asked, um can you explain why that doesn't work as I'm pretty sure it does.
The guy then attempted to explain the concept of variable scope to me. After he finished I said, yes which is why I allocated the memory manually using the new operator, which persists after the function exits.
Einstein then stared really hard at my code for maybe 10 to 15 seconds. Then finally looked up said ok fine, but now you have a memory leak so your code is still wrong.
Considering a memory leak is by definition an application level bug, I just said fine, any more questions?4 -
Einstein supposedly has a quote attributed to him: "Perfection isn't achieved when there is nothing left to add, but when there is nothing left to remove."
I find that I aggressively refactor code where I can to only what is absolutely required. It does also have the knock on effect of reducing scope of bugs, when the code is smaller there's only so many places bugs can be.
Tesla claimed to have the ability to create designs in his head and only built things once he was satisfied that it worked in theory first, now it's rare I can do that, but I will use a repl to prototype or test modules in isolation before just hacking on the actual code.
Jobs, I mean, I know he didn't code but he was always insisting on designs that looked good and was generally uncompromising in his design centric view.
My friend, she was my Starbucks barista for a while but I've slowly been teaching her code and she's taught me a lot about how to teach others to code, she also happens to be my favourite student.3 -
INTERVIEW. It tells everything about the company. I recently applied for a "big" company for the position of ML Engineer. The Job description was like "someone with good knowledge of visual recognition, deep learning, advanced ML stuff, etc." I thought great, I might be a good fit. A guy called me the next day. Introduced himself as a manager of the Data Science team with 8+ years of experience. Started the talk saying "it is just an informal intro". But things escalated very quickly. Started shooting Data Science questions. He was asking questions in a very bookish way. Tells me to recite formulas (like big formulas). When I explained to him a concept, he was not understanding anything. Wanted a very bookish answer. I quickly realized I know more about ML stuff than him (not a big deal) and he is arrogant as fuck (not accepting my answers). Plus, he has no knowledge about Deep Learning. At the very end, he tells me "man, you need to clear up your fundamentals". WTH??? My fundamentals. Okay, I am not Einstein or Hinton, but I know I was answering things correctly. I have read books and research papers and blogs and all. When I don't know about things, I tell straight away. I don't cook answers. So the "interview" ended. I searched that man on LinkedIn. Got to know he teaches college students Data Science and ML. For a fee of 50,000 INR. It's a big amount!! Considering the things he teaches. You can find the same stuff (with far higher quality) free of cost (on Coursera, Udacity, YouTube, free books, what not). He is a cheater. He is making fool of college students. That is why I sometimes hate "experience". 8+ years of exp and he is such an a**hole!! BTW, I thanked God for saving me from that company. Can't imagine such an arrogant boss.
TLDR: Be vigilant during interviews. It tells a lot about the company.4 -
I wonder what kind of website's people like DaVinci, Van Gogh, Tesla Einstein, etc. Would've had nowwadays4
-
In flutter , there’s something called TextButton.icon. Which render a button look like this :
(👍🏼 Like Button)
But there’s this tiny twat decided to use countless of nested column in a nested row and containers just to create a fucking button! This particular class contains 1438 lines of code! Most of the code are redundant and nested fucking shit.
I want to punch this guy so hard but I do not intend to start a ww3 with china.
That means I have no choice but refactor it as I implement a feature requested by the product team, every components break. It is like a land mine field here. One changes , the entire application crash.
So there are useless mother fucking Sherlock fucking holmes kept telling me that “don’t worry about refactoring now , just complete the task.” , like seriously “how in the name of mother fucking god of all arseholes can I complete my task when I can’t change even one component?”
These people are fucking genius. Their intelligence resurrected Einstein and made him die the second time.3 -
"Everyone is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid."
This is good to remember this one once in a while...3 -
Einstein: Insanity is doing the same thing again and again and expecting different results.
Me [After my code fails to compile]: Let me change nothing and run it again.4 -
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius – and a lot of courage – to move in the opposite direction." - Albert Einstein4
-
I understand risk aversion and fault tolerance and verification. But you have to realize mister tester and systems lead guy, WE DON'T HAVE INFINITE TIME!!! Gods damn, seriously. You can't keep pushing the schedule. Eventually we have to ship. That's, you know, how we get paid.
-
Frnd : Array starts at 1
Me : ya, when donkeys teaches Quantum mechanics and Einstein shits black hole3 -
What is e=mc²?
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
That's "(errors) = (more code)²" 😂6 -
I think I have PHPTSD...
This absolutely abysmal custom PHP CMS I have to migrate is even worse than I expected. At this point it's easier to guess the table relationships in MySQL than trying to decypher the code which that other company's CEO and his slaves wrote.
I have to assume that he is an absolute genius, well above 180 IQ points, as I have zero chance of understanding his code within my limited lifetime...4 -
Manic episode is the intelligence of Albert Einstein, combined with the speed of a supercomputer and determination of a crackhead.2
-
A former coworker who is now also leaving the project that's being managed by a guy who'd make trump look like Einstein. Anyway...
Him: You know the idea of measure twice, cut once.
Me: Ya.
Him: Well we sitting with a pile of sawdust and no glue...2 -
This aesthetics in physics that is hard to explain to someone outside the field. How beautiful for example that you can express the whole classical mechanics in just 1 equation and electro magnetism in 4, that sense of symmetry and clarity they express. Essentially in what Einstein and others believed: that the universe is a orderly place not chaos and that its rules can be understood by our crippled minds.
And I think there is a similar notion in code. As physicists are driven to more general and powerful theories that shall some time explain all interactions of matter that we know of, programmers, I believe, strive for similar ideals: brevity, conciseness, generality, abstraction, powerfulness of your symbolic system - one line of code to end it all. -
"When Einstein realized, 'Dear me, this universe with its wonders all adds up to E=mc2?,' he did not stop to think whether this concept would sell better set in Futura or Antikva." - Kari Piippo8
-
Also my Science Teacher who quoted Einstein. I don't know anything unless I teach it to someone. I wonder, do rubber duckys count?
-
When i took CS operating system class few years ago there was discussion on layout of memory and how to retrieve things faster. There was a point where we were asked question on locality and i was first to shoot my hand and prof looked at me : i was eager to answer locality of refrences, i knew temporal locality but i forgot the other one. That is when he told me to remeber Einstein and his space time principal. Instantly i remembered spatial locality. Till this date after so many years i remeber the concept! Woohoo to all the awesome teachers!!