Details
-
SkillsJava, Matlab, Javascript, LaTeX
-
LocationLisbon
-
Github
Joined devRant on 6/1/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
-
People who rant about their phone making bad photos that are surprised when I make good photos on them...
JUST F*CK OFF AND HOLD IT HORIZONTAL AND WITH 2 HANDS LIKE I TOLD YOU LONG.MAX_VALUE TIMES6 -
TFW you spend 30 minutes debugging an app that isn't working right only to find out it's working exactly as it's supposed you, you just forgot you put that bit in there that does that thing.
One character change later and it's working perfectly. ONE CHARACTER! THIRTY BASTARD MINUTES! I just spent thirty minutes driving through every line of code and coming closer to the conclusion that Java was doing some kind of strange thing with dropping objects from memory. No, it wasn't Java that had memory problems, it's me! Just check me into the old peoples home now so I can spend my day pissing my pants and making lewd comments at the nurses because that's all I'm fucking useful for at this point!!
I need a coffee.5 -
FUCKING TIMESHEETS!!!
"Have you got your timesheets?"
NO, I FUCKING DONT, BECAUSE I WAS ACTUALLY WORKING A ROLLOUT, MY FUCKING TIMESHEET ITS A FACT, SOFTWARE WORKS = I WORKED, SOFTWARE DOESN'T WORK FUCK ME IN THE ASS WITH A TIMESHEET!!!!!!!1 -
*Me sees ticket thinks its easy enough if done this kind of ticket before*
Opens up repo, does all FE, starts BE, okay should be easy open up the Model for this, oh...
Theres no model..
but how was this even working before o.01 -
!Rant
So the interns tried to 3d print a rubberduck and it got stuck mid way.
Guess i have a coding duck now
I call her "Detached HEAD state"18 -
Rant
I'm tired of this shit!!!
First I receive a task to create a new functionality for the app that I'm working on and some documentation (this is the only good part of all the rant) but no design.
It's been 2 weeks since I got assigned to this and still no design, no assets, no API calls that ACTUALLY WORK.
Today was testing a plist to get a banner link, and for 1 hour that little fucker didn't returned the image I was asking.
Better, I wasn't getting ANY IMAGE. Turns out that the link sends me to a HTML URL that doesn't have any image... go figure!
So I've been working on this from some images inside the PDF with the documentation given.
Oh! Wait! There's more!
The cherry on top is that I'm implementing a chat/voice call/video call into the app and the framework that I will be using is being created now, and it's not even finished!!!!!!4 -
So I once had a job as a C# developer at a company that rewrote its legacy software in .Net after years of running VB3 code - the project had originally started in 1994 and ran on Windows 3.11.
As one of the only two guys in the team that actually knew VB I was eventually put in charge of bug for bug compatibility. Since our software did some financial estimations that were impossible to do without it (because they were not well defined), our clients didn't much care if the results were slightly wrong, as long as they were exactly compatible with the previous version - compatibility proved the results were correct.
This job mostly consisted of finding rounding errors caused by the old VB3 code, but that's not what I'm here to talk about today.
One day, after dealing with many smaller functions, I felt I was ready to finally tackle the most complicated function in our code. This was a beast of a function, called Calc, which was called from everywhere in the code, did a whole bunch of calculations, and returned a single number. It consisted of 500 or so lines of spaghetti.
This function had a very peculiar structure:
Function Calc(...)
...
If SomeVariable Then
...
If Not SomeVariable Then
...
(the most important bit of calculation happened here)
...
End If
...
End If
...
End Function
But for some reason it actually worked. For days I tried to find out what's going on, where the SomeVariable was being changed or how the nesting indentation was actually wrong and didn't match the source, but to no avail. Eventually, though, after many days, I did find the answer.
SomeVariable = 1
Somehow, the makers of VB3 though it would be a good idea for Not X to be calculated as (-1 - X). So if a variable was not a boolean (-1 for True, 0 for False), both X and Not X could be truthy, non-zero values.
And kids these days complain about JavaScript's handling of ==...7 -
Went for a dev job interview in which the senior software engineer said this...
"Javascript is like Java but scripting"
I didn't say anything to this. I don't know if it was some sort of a test (even though I was in the middle of a 4 page test for them).
Evything text and every every reference I have ever seen about Java and Javascript is that they are nothing alike. What would others have said to this?
FYI - I didn't get the job. Which I am pretty glad about as I didn't like the software engineer guy, and I don't think I would have liked working with him. He had this fake friendly exterior but the fuckwit personality was shitting through every gap in his skin.... I just noticed I used the work shitting instead of shinning, I think it is suitable so I will leave it.1 -
I HOPED I WOULDN'T BE BALD AS MY DAD BUT AT THIS RATE I WILL BE HAIRLESS FROM TEARING IT OUT ON MY BLOODY OWN
I got hired for cleaning up a 2 year project of rushed spaghetti code , where they previously only had 1 programmer aND HE WROTE 37 THOUSAND LINES OF CODE!
OH WE NEED A NEW FEATURE?! LEMME JUST RESEARCH THIS COMMENT-LESS CRAP FOR MULTIPLE MILLENIA BEFORE I CAN GRASP WHAT THE FLYING FRICKIN FRIDGE CODE DOES
To top it off, I've about ONE MONTH LEFT BEFORE BETA RELEASE TO FIX THE CODE!
I'm super grateful for this job as it's my first programming job BUT I'M GONNA SET THE REPOSITORY ON FIRE SOON AAAAHHHHHH
HOW CAN YOU, THE PREVIOUS PROGRAMMER, WORK IN THIS ENVIRONMENT WHERE MOSTLY ALL FILES ARE +2000 ROWS OF UNDOCUMENTED CODE
OH AND JUST GOT A MESSAGE FROM THE PREVIOUS PROGRAMMER:
"You can just remove the unused code and refractor it some, izi"
IZI MY SHITTY POOP CAR
AAAAAAAAAAAAAAAHHHHH!!!
Now with that out of the way, how would you recommend handling a stressful release deadline?6 -
Anything with Jetbrains on the cover, IDEA, Android Studio, Clion. Can't imagine how I'd work if these IDEs weren't doing half the work for me.12
-
Ok I have 2 more hours to work today. I bet I will get these 3 important things done.
*important email comes in*
*laptop runs out of batery*
*client finally calls back after 4 weeks*
*data structure has to be reorganized urgently due to new requirements*
After dealing with all of that, I close all windows in order to go home. The last window is the thing I wanted to do in the first place.1 -
Just JavaScript things:
alert(typeof NaN); //alerts 'Number' alert(NaN === NaN); //evaluates false
What else would you expect?4 -
The day I send myself about 76k mails
> be me
> be working on a rest api
> implement an error handler that would send me a mail with exception details
> use same error handler in mail send error handler
> Summoned the recursion devil by accident
> Test error handler
> Forgot port forwarding to SMTP server
> keep the debug session open
> throw new UnexpectedInterruptionException()
> get back to work
> Add the missing port forwarding rule to putty
> The error handler starts doing it's thing
> The handler chain starts to pop
> handler after handler executes
> PCFreeze.png
> WhatTheFuckIsGoingOn.gif
> VS finally accepts stop debugging
> PhoneVibrationSpam.mp3
> Peek into webmail
> WowFinallySomeFanMail
> Look into it
> Realizing what I have done
> Delete mailbox
> Remove recursion
> Wow that's how randy must have felt in southpark
> Feel weird
> Shutdown, go outside
> What's up anon?
> Nothing, really6 -
My job requires us to use Mac. I've spent the week figuring how to get stuff done on it.
My best description of trying to code on mac is that it's kinda like having to extract your mangled penis from a blender before you bleed to death... Except you can't look directly at it, you have to wear a VR headset that's linked to a camera in the corner of the room.
And you can't use your hands directly you have to use an incredibly stylish and ergonomic looking steering wheel to control a robotic arm. The robotic arm has its own artificial intelligence and it desperately wants to help.
Unfortunately it doesn't understand anything about what you're trying to do and it keeps leaping to incorrect conclusions about what you want from it.
Everyone tells you it'll get better, but you're still in intense pain and your penis is still stuck in the blender.28 -
That creeping realization how the legacy code works.
The "it's not possible. They couldn't have... yes. Yes they did."
It should have a name3 -
just ended up googling "how to fucking install bullshit ms sql 2014 local db on fucking win 7 workstation" - was quite surprised about the amount of (more or less) matching results1