Aboutim the team lead for web developpement at my company.
Joined devRant on 4/26/2016
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
Attended KubeCon this week in San Diego. Was amazing great speakers great ppl all around.
Its amazing to see an open source community get together to share. I was not expecting there were goin to be more than 12k attendees!!
Discovered jetBrains dotPeek today.
Wow ive decompile dll beforr but this is insanely good. I feel like i have the original sources to debug this POS lib now4
Reading code and getting that face palm moment
String code = customer.getCode();
Ok this is preparing the customer obj makes sence.
Some 20 lines later
Going through some code I was handed to do an emergency project... Think of an aspx site that follows no design rule, like database access directly in the code behind. No models ect. So I'm going through this section that calls a function good start. Open the function find a class that contain code to access the database.. Humm ok this part look better that the rest. Read the code that validates if it exist in the database and gets the type back. So far so good then there is a get details function call.... Open up the fct ... Started crying... There is a 200+ lines switch case that goes over the type previously fetched..... And the type is stringed compare in the biggest switch case I've ever seen.... Fthis... I'm out1
funny coincidence happened at work the other day.
One dev ask to get more ram for his pc so we sent him a link to download more ram... after all the laughs we actually gave hom more ram.
The next day, we had performance issue on our dev servers, and after checking the VM's where missing 4gb of ram each from the original setup... so i poke my dev and say see now we know where the downloaded ram came from XD. man those small things really make my day
So ive been seing a couple funny unattended PC pranks lests here yours!
my ultimate favourite : when someone walk of without locking his PC i go and switch his mouse to left handed. its hilarious how some ppl take for ever to figure it out.
so funny and constructive, you can gage problems solving on the fly! plus the average i now lock my pc goes up 90%7
So this mornings i was helping my 2.5year old daughter to count the lines on her potty training table.
me: look there are 1,2,3,4 and 5
she steps back and looks at it for a minute and says : FOUR
i was about to correct her and say no there 5 but then i thought well if your on a zero based list your technically right!!
My mornings are fun!!4
yeah we have a guy that actively paints himself into corners. last time was an api he was saying yeah there just this last field to put in, then when you open the code because of the bs reaspn he gives you for not finishing it you realize you have to wreak everithing and start pver cuz there is no ways in hell this would work. and thats just the tip of the iceberg....
when you realize that performance issue you just could not figure out is the SYS admin taking a full back of your production machine during peek traffic hours
when a dev fixes a memory leek issue but rebooting the server, and when ask why the production application crashes he casualty replies "I don't know but I restarted the server and its fine now..."7
team lead: what is the minimum lenght validation on the first name field?
dev: i decided to put minlenhgt 3
team lead: why? did you tests it
Dev: i tested it. 3 makes sense to me
Team lead: isint your first name 2 letters long?
Dev: oh i dodth think about that4
marquetting department: i need a new for on the website its urgent drop everithing else
dev: sure can you give me the text and the fields that should be on the form?
....1 week later
dev: do you havr the info
marketing: can you have ot online today
dev: yes just get me that content
.... you know where im going with this