Details
-
AboutI write code
-
Skillsphp,js,laravel,vue js, Java, python, android
-
LocationAccra
Joined devRant on 9/5/2018
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
-
An application based on a single MySQL stored procedure that contained all the application business logic inside of it (plus a poor webapp that simply called it). The stored procedure had 97 (yes, NINETY SEVEN) parameters... and about half of them were boolean flag used for enabling/disabling another parameter. I think that Uncle Bob could follow you holding an AK-47 if he saw that. The saddest part is that the shit was written by a guy having a PhD in computer science, and he knew that was bad, but the boss asked him to do it in that way. The guy left the company before I joined it and I had to maintain that crap. Guys, the first time I saw it I thought that should be a joke. Code generated by decompilers was easier to read, maybe even Brainfuck. I tried complaining with the boss but she said that the system was wonderful and very efficient. This was one of the reasons I moved to another company after some months.3
-
Just went to the new cafe next to me (all over the top fancy as usual around here), thought after a long time I could and should enjoy a nice drink, snack and a great view while coding.
Got two babies screaming out their internals right when I've paid and sat down, then an old guy started asking me to leave multiple times, threatening to call the police and trying to drag me off my chair, because I "shouldn't be breaking other peoples computers" - most likely because I was pulling+compiling evince via yay and he caught a glimpse of it when I checked if it finished or not.
One of the employees saw that happening and kicked the old guy out, then gave me a fresh donut as a "sorry", was for sure the best donut I've ate, not because of the taste, but because I saw the old guy then hovering across the street and occasionally giving me a look, as if he's waiting for the FBI to finally show up and he could tell where I escaped to.
tbh when the employee was approaching, I've seen this turn into a completely different rant, positively surprised there's still some sane people out there.13 -
assignment: use winAPI to create a "virus" that put itself in autorun and does nothing.
me, a curious student: does the assignment and adds a heap corruption code just as a joke.
after sending the assignment to the teacher I realized that I have sent the real virus.
result: teacher comes next lesson without a computer and stares at me silently and viciously.
we'll see what happens next
any idea on what's going on in his head?28 -
I'm so fucking upset with this shitty iPhone. I can't believe there are people who are actually *paying* real money for this crap. Thankfully I am getting paid to use one, otherwise I would flush it in the toilet (but then even the toilet would reject it).9
-
Friend: Is blockchain a programming language?
Me: No it's a java framework
Friend: Ah, thanks for clarification.6 -
Today I had to present my final year project called segmentation and detection of glioma using deep learning.
It took 15 minutes for the evaluators to understand what an mri image dataset (BRaTs) dataset looks like (they are voxels and not pixels). My god, these peasants...
And I was there expecting them to understand down sampling convolutions and up scaling convolutions of U Net model 😂. Life is so convoluted right now!2 -
"Position: Java developer
Requirements: Knowledge in C, C++, C#, JavaScript, Python, frameworks like jQuery or Angular (preferable)"
Do you need a Java developer or some kind of development deity?10 -
How do you salvage a really hard question on a whiteboard interview?
Ans: "I'm sorry, I don't code on light theme"!
Via reddit user csquestions5583292 -
GF: Did you watch a movie while you were sleeping?
ME: (Syntax Error): How could i watch a movie while sleeping?
GF: No, the name of the movie is "while you were sleeping"
ME: oh, you forgot quotes for string17 -
Started being a Teaching Assistant for Intro to Programming at the uni I study at a while ago and, although it's not entirely my piece of cake, here are some "highlights":
* students were asked to use functions, so someone was ingenious (laughed my ass off for this one):
def all_lines(input):
all_lines =input
return all_lines
* "you need to use functions" part 2
*moves the whole code from main to a function*
* for Math-related coding assignments, someone was always reading the input as a string and parsing it, instead of reading it as numbers, and was incredibly surprised that he can do the latter "I always thought you can't read numbers! Technology has gone so far!"
* for an assignment requiring a class with 3 private variables, someone actually declared each variable needed as a vector and was handling all these 3 vectors as 3D matrices
* because the lecturer specified that the length of the program does not matter, as long as it does its job and is well-written, someone wrote a 100-lines program on one single line
* someone was spamming me with emails to tell me that the grade I gave them was unfair (on the reason that it was directly crashing when run), because it was running on their machine (they included pictures), but was not running on mine, because "my Python version was expired". They sent at least 20 emails in less than 2h
* "But if it works, why do I still have to make it look better and more understandable?"
* "can't we assume the input is always going to be correct? Who'd want to type in garbage?"
* *writes 10 if-statements that could be basically replaced by one for-loop*
"okay, here, you can use a for-loop"
*writes the for loop, includes all the if-statements from before, one for each of the 10 values the for-loop variable gets*
* this picture
N.B.: depending on how many others I remember, I may include them in the comments afterwards19 -
People out there are getting married, having kids, dating their crush and here I am staring at gradle build to finish with 32 errors and 10 warnings,life is that easy 😐9
-
Devrant is the only Social Media interaction I have been using lately, rather than others. Every time I feel the urge to open other social media apps, I redirect my actions to Devrant.
-
Client: This new feature is not working on Internet Explorer.
Me: Do you have enough oxygen in the cave you are living in?7 -
Best:Working for people with money and crazy projects in mind. Working for dreamers. Working for people that believe in you, as a decision maker, stack choices. Choose not to be a pawn.
Worst: not leaving a company when they indiscriminately lie in the job offer. HR will never say bug fixing (that's like going to a date saying you have a micropenis from the beggining), they will say integrations, product improvement... If then all the tickets are bug fixing i should have said something in the first month. -
Had nothing to do today, so I thought I´ll test the migration of SVN to Git in Gitlab.
Boss sent me a mail today, that when I migrate we need to preserve the history, so I actually have to put some effort in it. *sigh*
Shout-out to the Gitlab documentation at this point.
That´s probably the best doc I´v ever read...
Well so I tried to use svn2git. And well...
Who the fuck thought that this piece of shit software is in any way usable?
Holy crap!
If it fails, it just does so without any info why. Even in verbose mode.
And the RAM usage? What the actual fuck?
This whole thing is a complete memory leak!
32Gigs of RAM full in Minutes and the whole system starts to stall!
And then when I thought it finally runs through.
Bam another git checkout error...
Googling for that error then I found something. A version of svn2git made in .Net Core.
Didn´t expect much but I tried it anyways.
And would you look at that!
It ran so smooth and didn´t need that much RAM , I had some doubt it did work correctly.
But it did!
I think I´m gonna pay a coffee or two to some guy over in China now!6 -
Started with PHP about one month ago, and one of the first facts I noticed is that this language it's fucking violent!
die, explode6 -
"Your stupidity is so vast that its value can only be stored in a double, because a float has insufficient range" - John Byrd
This insult is from one of my personal favourites and must be one the best programmer insults ever since it is backed up with programmatic proof written in valid C code.
You should really read the post, it's only one of the many gems in there.
Source: https://quora.com/What-is-the-harde...3 -
About 10 years ago my wife and I were buying a house. We found out late that we needed a lot more cash than we had previously thought we needed, and the deadline to deliver it was just a few days away. After returning home from my full-time gig at about 6pm, I took a break for a bit and then worked all night on a job for a client to make up the extra money. When 7am rolled around I had just finished up. Then I went back to work at my full-time job, and later met with the client to present my work. It was roughly 27 hours at a keyboard for me. That effort made it possible for us to successfully buy our first home. If you want something badly enough, make it happen!7
-
Three days ago I wrote a comment:
"It's weird how the internet shifted from protocols to platforms.
Devs still know the plumbing, but for most people IRC became Whatsapp, FTP became Dropbox, RTSP became Netflix, SIP became Zoom and RSS became Google Now... so people might eventually forget about SMTP and this whole "email" hype.
In a decade or two we'll have forgotten about URLs and HTTP and the "internet" as well. You just pay your monthly $10 sub to Google or Amazon or Apple to have your condensed streams of memes & bait funneled right into your eyeballs."
And now Chrome devs are considering removing URLs just like in Safari, just showing the domain you are on....
Enjoy your retard web, people.
What's next, new Macbook & Chromebook standardized designs to prevent people from being confused?43 -
LPT: If you use Linux, always carry another one in your pocket (flash drive) in case you'd need to fix your main one after you kill it again7