Details
-
SkillsNullPointerException
-
LocationBerlin
Joined devRant on 4/9/2017
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
-
Yeeeeeeeee! My granddaughter yelled up to me, "Grandpa, I'm programming!" She was doing some kid code game thing. Ten years old. I can hope, can't I? 😁14
-
So I wrote a code in HTML and js that puts an alert on the screen that says "all of your info is mine now, goodbye" and then redirects you to the nyam cat site
I sent it to some of my friends to have a little laugh but they have sent it to other people and eventually the school principle called me and told me to go to her office and retrieve all the data I stole
I went there and explaind her the prank but she didn't believe me
So she called the programming teacher to check the file
She laughed as hard as I've ever seen anyone laughing and told me to go back to class
It was scary and funny but the thing I've learnt is that it's stupid to prank ignorant people.15 -
TOP 10 PROGRAMMING BEST PRACTICES
#1 Start numbering from 0.
#10 Sort elements in lexicographic order for readability.
#2 Use consistent indentation.
#3 use Consistent Casing.
#4.000000000000001 Use floating-point arithmetic only where necessary.
#5 Not avoiding double negations is not smart.
#6 Not recommended is Yoda style.
#7 See rule #7.
#8 Avoid deadlocks.
#9 ISO-8859 is passé - Use UTF-8 if you ▯ Unicode.
#A Prefer base 10 for human-readable messages.
#10 See rule #7.
#10 Don't repeat yourself.12 -
This shit is real.
Guy comes to my desk.
Guy: Do you know Python?
Me: Yes
Guy: I want a program that reads a CSV containing IP addresses and tells which of them are valid.
Me: Sure thing. Show me the CSV file.
Guy: (Shows the file)
Me: (Writes a small function for checking whether the IP is valid)
Me: Done Here you go.
Guy: You should be using regex.
Me: Why? This is perfect. No need for regex.
Guy: My manager wants a solution using regex only.
Me: Why so?
Guy: I don't know. Can you do it using regex?
Me: Only if you say so. (Stackoverflow. Writes a humongous regex). Done!
Me: Just for curiosity, what is your application?
Guy: I will port it in Java. You see, regex is easy to debug.
Me: Ohhh Yes. I forgot that. Good luck with your regex.22 -
So... Facebook just stated that they plan on loosening up the End-to-end encryption in WhatsApp to analyze the messages and show user-specific advertisements.
Time to uninstall WhatsApp I guess!21 -
Few months ago, I ate so many MBs (just 300+ GBs) in a month that my ISP blocked my connection and sent a worker to check if i was sharing my internet connection with neighbours etc. { They say UNLIMITED downloads when selling packages }
I was so pissed that after restoration I wrote autorun-on-startup powershell which keeps downloading a 100MB file forever just to eat bandwidth.
This month my downloads crossed a TB.
I feel like I've pissed in ISP's face just to show that if I'm not eating TBs every month, it doesn't mean i can't do it.14 -
Sometime I’m developing in Rust and I do something wrong.
Then I look at the terminal and it says...
“You did X, did you mean to do Y”
Then I do it and it works perfectly, and I’m like...
Why do I even have a job if the compiler is this good?10 -
Me: Sometimes I talk to myself while debugging.
Me: OMG 😱, me too..
Me: Lets try pair programming next time.9 -
Early in my career I was assigned the task of implementing a 3D pie chart into our application that you could spin and rotate with your mouse. You know, because sometimes you want to see the sides and the back of a pie chart.4
-
I added a “shake-to-snow” hidden feature to an iOS app that worked only on December 25th. You’d shake your iPhone or iPad and the entire screen would start snowing for 10 seconds.7
-
Under settings, we made a checkbox labeled “Run Program Faster”. The state was saved but it didn’t do anything.
We turned it “on” when people said things were slow. Usually they were happy and no one complained the “run faster” option wasn’t working.29 -
*at my study a year or longer ago*
Classmate: hey linuxxx, could you come take a look? What is this? *points at screen towards some code*
Me: you don't see it?!
Cm: no...?!
Me: you really don't see it?!
Cm: no!!?
Me: no for real, do you *REALLY* not see it?!
Cm: NO! TELL ME ALREADY!
Me: that's a screen 😊
Cm: 😑😠
😅10 -
Mac: Suddenly turns off
Me: Fuck my code..F***
Mac: No response at all
Me: reset SMC etc etc
Mac: I am dead (no battery detection, dies after 10 min on power adaptor)
Me: Skips a heart beat..(Git, oh yea git)
**Takes Mac to store, After diagnosis**
Apple Freaking Genius (AG): Your Mac has a mother board problem it needs to be replaced.
Me: Hmm what is the problem exactly??
AG: Issues in logic board and some other components.
Me: How much?
AG: Out of warranty so $$$ (60% of original amount)
Me: (wtf?) Really
AG: It's entire motherboard replacement .. bla bla
**Bring it home > open > everything seems ok on multimeter as per circuit diagram > finally finds a voltage drop that is not consistent > minute short circuit > remove > check further > nothing else > reassemble > hit power button > starts fine > freaking battery detected > works fine**
0 $ repair
Fixes two more devices @ 0 $ in friend circle
Builds a raspberry pi backup laptop with 3d printed body..Ubuntu.. you know can't live without a computer
#ThugLife #Engineer29 -
I've never had a great experience working with designers, but this one might be the laziest! Props if it's for a friend and unpaid though.15
-
First time meeting girlfriends grandparents.
👴👵: So what do you do?
😎: I'm a software engineer ... So computers and stuff.
👴: Oh, can you have a look at my phone? There's that weird icon I don't understand ...
So within five minutes, I was their tech support. It was an icon for Android Nearby, btw and I didn't have an explanation ready.
That happened five more times this evening.14