Details
-
AboutComputing science student. Just trying to survive another day.
-
SkillsJava, C#, Javascript, ReactJs, NodeJs, Python
-
LocationLion City
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
-
Initially I was taking Network Security. Didn't like it that much. Figured I should explore and took a diploma in Information Tech.
First programming assignment, stayed up the whole night to solve it accompanied by a couple of Monster drinks. Got hooked on programming ever since. Picked up caffeine addiction along the way.
Oh and I'm now lactose intolerant. Strongly believe it's due to the large amounts of coffee I had back in the day. -
I don't know whether this has been asked before but is it normal for devs to copy/paste code? I feel like half of the programming I do is copy pasting code. I mean, I know what I'm doing. I'm just lazy to type it out.7
-
So this fucktard decided to write the most inefficient way to collect thousands of records.
The system I am working on allows users to book facilities. There is one feature where an admin can generate reports on the bookings made between any two dates. A report for bookings made between January and April generates 7878 records.
So this shithead, after making a call to the server and receiving 7878 records decides to put it through 4 fucking foreach loops (this takes around 44.94 seconds).
After doing that, he passes it to the controller to go through ANOTHER foreach loop to convert those records into a JSON string, using..string..manipulation. (this takes bloody 1 minute and 30 seconds).
Now, my dear, dear supervisor is asking me to fix this saying that there must be a typo somewhere. Typo my arse. This system has been up for more than a year. What have they been doing all this time??? Bloody hell. Fucking idiots everywhere. I now have to refactor
..fucking refactor.2 -
Is it normal to not like the projects given to you at work? Don't get me wrong. I bloody love programming but when I get a project that is not interesting, I feel kinda guilty.5
-
In my current work, I have two systems to work on (let's name em Systems A and B). Both basically do the same thing; both allow users to book facilities available to them.
System A is already in production. My job is to fix any bugs that come up on said system. System B is an improved version that they wanted me to develop. This would follow a different framework etc. I am already halfway through this system.
Now, here's the fucked up part. The code for system A is a massive clusterfuck. It has unused commented code dated back to ancient times where men had the brain of an ape.
And don't get me started on the fucking logic. One part of the code was to retrieve and display the timeslots available for a chosen facility. The code to do that alone takes up 500++ fucking lines, filled with ajax commands, html manipulation and commented, unused codes..AND THAT'S JUST THE FRONTEND!
The fucking backend was not a problem of smelly code anymore. Nope. It was like a programmer had code diarrhea and shat his backend code all over the project. If I had a pin board, I would have made a crazy wall just to understand what some fucknut was trying to achieve.
Anyway, my supervisor told me to fix some bugs on System A. Knowing how the code was, I told her that I could refactor the code. Since I've already achieved that function on System B, with a shorter and cleaner code, I could just copy that and use on System A. But nope. She SPECIFICALLY told me to just "do whatever to fix the bugs. I don't want to waste time on System A." Okay. Makes sense to me. Whatever. I didn't wanna fuck my head up looking through that mess of a cesspool. So, I came up with a few hacks, not thinking of clean code and fixed whatever bugs there was. I then just pushed to the repo (after testing of course).
This bloody morning, supervisor came in and gave me more bugs to fix. When I thought she was done, she said "Hey. I saw the fix you made to the system. The bugs are fixed but the retrieval of the timeslots is now pretty slow. Could you see what is the problem?"
Slow.. She said that it was slow. And asked if I could fix it. I already told her what the problem was and she did not want me to waste time on it. But she wants me to fix it. WHAT THE FUCK IS WRONG IN HER BLOODY HEAD! I SWEAR TO GOD... UGHHHHH I swear I was already waterboarding her in my head. YOU WANT FAST?? How bout fucking allowing me to refactor the code?? Fucking shit head. I think I should take up yoga.1 -
First day of work. I would think that the company would have prepared a bloody workstation for me but hey, didn't think much of it. Only spent about 15 fucking minutes finding the right computer to give me.
Next, I had to open visual studio 2013 to set up (I meditated the night before for this). It then gave the usual "This may take a few minutes" bullshit message. That message appeared at 0900. It is now 0930. 30 BLOODY FUCKING MINUTES!! At the 15th minute mark, I decided to check the computer's properties, wondering why it was taking its sweet ass time. I couldn't believe my bloody, fucking, god-given eyes. 4GB OF FUCKING RAM INSTALLED ON A FUCKING 32-BIT WIN7 OS! AND ONLY 2.99GB IS USABLE!! HOW DO THEY EXPECT ME TO DEVELOP WITH THAAAAAT???? CHROME TAKES UP LIKE ALL OF THAT!! &#;?@,×&@@&*×,×&;÷*÷, EID MWMALWMDNLWKSNSKSKDKKEMSKAKASLSMDBDNSNMSM
I SWEAR IF I DONT GET A CHANGE IN COMPUTERS, I WILL PUNCH A MOTHERFUCKING BITCH!11 -
This is stupid but does anybody else program on the bus/train? I sometimes wanna code so bad because either I'm too committed to the project or I just thought of a solution.
I just feel that people would think I'm showing off but in reality, I am just dedicated to programming.5 -
Final year of my diploma in Information Tech, I overhear a coursemate, well-known know-it-all, explaining what Javascript is:
"It's somewhat like Java but it's used for scripting purposes."
I swear to the Lord Almighty, I wish I could drive my palm through my face.1 -
I got handed over a project that has hundreds of lines of commented codes, some dating back to 2013. I am then told not to delete those as we "might need them". WHAT DO YOU NEED A 4 YEAR OLD COMMENTED CODE FOR???1
-
Giving an unrealistic timeline for a project. Got reprimanded a few times because of this. Oh and my procrastination habits do not help..at all.1