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
Search - "gcd"
-
Joker: If you are good at something don’t do it for free
Me: (thinking) How much shall I charge to introduce bugs into someone’s code? 🤣3 -
When I hear sales guy using technical terms in the wrong context while doing his sales pitch to a client...2
-
I'm 20, and I consider myself to be as junior as they come. I only started programming seriously in June 2016,and since then, I've been doing mainly Android Work, and making my own servers and backends(using AWS/Firebase nd stuff).
For the first time in life, I was approached by a recruiter for a company on linkedIn. They "stumbled upon" my Github profile and wanted to see if I was interested in an internship opportunity. This company is an early stage start up, by that I mean a dude with an idea calling himself the CEO and a guy who "runs a tech blog" and only knows college level C programming (explaination follows).
So they want me to make the app for their startup. and for that, I ws first asked to solve a couple problems to prove my competence and a "technical interview" followed.
They gave me 3 questions, all textbook, GCD of 2 numbers, binary search and Adding an element to the linked List, code to be written on a piece of paper. As the position was that of an Android Developer, I assumed that Java should be the language of choice. Assumed because when I asked, the 'tech blogger' said, yeah whatever.
But wait, that ain't all, as soon as I was done, Mr. Blogger threw a fit, saying I shouldn't assume and that I must write it in C. I kept my cool (I'm not the most patient person), and wrote the whole thing in C.
He read it, and asked me what I've written and then told me how wrong I was to write 2 extra lines instead of recursion for GCD. I explained that with numbers large enough, we run the risk of getting a stackoverflow and it's best to apply non recursive solution if possible. He just heard stackoverflow and accused me of cheating. I should have left right then, but I don't know why, I apologized and again, in detail explained what was happening to this fucktard. Once this was done, He asked me how, if I had to, I'd use this exact code in my Android App. I told him that Id rather write this in Java/Kotlin since those are the languages native to Android apps. I also said that I'd export these as a Library and use JNI for the task. (I don't actually know how, I figured I can study if I have to).
Here's his reply, "WTF! We don't want to make the app in Java, we will use C (Yeh, not C++, C). and Don't use these fancy TOOLS like JNI or Kotlin in front of me, make a proper application."
By this I was clear that this guy is not fit to be technical lead and that I should leave. I said, "Sir, I don't know how, if even possible, can we make an Android App purely in C. I am sorry, but this job is not for me".
I got up and was about to leave the room, when we said, "Yeah okay, I was just testing you".
Yeah right, the guy's face looked like a howling monkey when I said Library for C, and It has been easier for me to explain code to my 10 year old cousin that this dumbfuck.
He then proceeded to ask me about my availability, and I said that I can at max to 15-20 hours a week since my college schedule is pretty tight. I asked me to get him a prototype in 2 months and also offered me a full time job after I graduate. (That'd be 2 years from now). I said thank you for the offer, but I am still not sure of I am the right person for this job.
He then said, "Oh you will be when I tell you your monthly stipend."
I stopped for a second, because, money.
And then he proceeded to say 2 words which made me walk out without saying a single word.
"One Thousand".
I live in India, 1000 INR translates to roughly $15. I made 25 times that by doing nothing more than add a web view to an activity and render a company's responsive website in it so it looks like an app.
If this wasn't enough, the recruiter later had the audacity to blame me for it and tell me how lucky I am to even get an offer "so good".
Fuck inexperienced assholes trying shit they don't understand and thinking that the other guy is shitsworth.10 -
Went to an interview for the position ‘PHP Web Developer’. Interviewer scans through my CV for 2mins and then starts the interview.
Interviewer: Do you know Java?
Me: I know Java but I don’t have any professional experience
Interviewer: Do you know Hadoop?
Me: No. I’ve never worked on it
Interviewer: Our company works on Hadoop hence you should be able to work on that after joining.
Me: I thought this is a PHP web dev position.
Interviewer: Of course. But you will have work on various other things too!
Me: I don’t think I want to become jack of all trades. Thanks for the opportunity!
I got up and left the interview...7 -
Client: We need video chatting facility in our website
Me: Ok. But it will take more time and effort. It will cost you more too!
Client: Don't build from scratch. We use Skype in our company. Just embed in our website too!
Me: **facepalm**5 -
I was given a work to refactor one of my colleagues code and found that there was a variable named 'anal'. I was quite surprised seeing it as the colleague was a soft spoken and well behaved guy in office. After scratching my head for 15mins I came to know that he was storing analytics data in that variable. Hence the name! :-D8
-
Found out that the company I'm currently working, gave me only 6 mandatory holidays for this calendar year. When I asked my boss why is it too low, he got so furious as if I asked him to donate his kidney!10
-
What is this, windows?? how am i, the software publisher, supposed to change this if you don't bother to give a proper fucking error? whoever created this, i hope you die choking on a goat's intestines10
-
If programmers became musicians we would see
- Wake me up when my build ends, 21 cores, Boulevard of broken CI pipelines by Blue Screen Day
- Smoke from my cabinet by Deep For-Loop
- This is how you debug me by Loopback
- Post-release rhapsody by debug queen
- Another bug in the code by Programmer Floyd
- Smells like bad code by Coders from Botswana
- A place for my code, Cure for the bug by Likin to code at dark
etc etc..5 -
> creates new PR for open source project
> runs tests locally before pushing
> pushes
> waits 8h (not kidding) for appveyor checks to complete
> tests failed
MOTHERF- -
This gem of a game. Partly cause i'm a contributor, partly cause i'm a space junkie.
Is this advertising? maybe.
Am i in love? definitely.7 -
What to do with a web development intern who doesn't understand the concept of git even after 3 weeks of joining?
PS: Can't fire her20 -
When you push seemingly harmless untested code to production server which breaks the whole application...2
-
Programming commandment: Thou shall, from time to time look at your old code, introspect and improve!
-
Why are all the feminists silent who support equality between genders regarding the Jeff Bezos case? They should suggest her to be independent and not take her husbands assets right? 🤔🤔20
-
This happened 3 years ago in my previous company. It was a small start up company and we worked on PHP stack. One of the its ex-founders had written Windows Mobile App which now had to be upgraded with new features. So we hired this new dot net guy. I always thought dot net guys were ELITE coders and was excited to see how they work.
While I played Xbox and had fun, our dot net guy stuck to his workstation furiously working. My boss who was casually strolling out of his office for a stretch saw dot net guy working hard and suggested we all developers should take him as an example.
20 days went by and each day the dot net guy did the same. He came, he silently worked on his workstation, he left in the evening. In those 20 days my boss asked twice to the dot net guy if he has finished features he was assigned but he said he did not. After a month when he said the same negative answer and had nothing to show for the work he has done he was fired.
I was so curious to see what code that ELITE coder had written for a month but could not deliver a feature(Maybe some error he could not fix?). So I open the code repo on which he worked and I see 30 commits from that guy to it. He had made a single commit each day(Fair enough he wants to commit everday before leaving). It was time to check his commit diffs to see his ELITE code. What do I find? In every fucking commit he either added a blank line to the DocBlock or removed the same. Nothing less nothing more! So much for the hyped not-so-ELITE dot net guy...1 -
Programming commandment: Thou shall not commit code snippet copied from StackOverflow without adding a comment to help future coder brethren!
-
These days programming has boiled down to how optimally can you find solution to your problem using search tools!2
-
Programming commandment: Thou shall blame all bad code on thy comrade who has bequeathed your company!2
-
Colleague: We need to deliver it today so let's hardcode some values in the code to make it work
Me: Ok you do it. I don't even want to see it!3 -
I tried so hard and debugged so far
But in the end it didn't even matter
As I rewrote function call to loose it all!1 -
This summer, i will have all the time in the world. I will be finally free (as in, alone at home). And, most importantly, i will have a months old kitten to take care of.
I'm so excited.13 -
just bought (rented) my first dedicated server, for flipping 10€/month. let's see how it goes! boy, am i excited for my new toy...5
-
A coder and a non-coder were travelling on a boat together. Due to some reason there was a hole in that boat and it started to drown. Non-coder survived but coder didn't. Why? Coder thought it was just another loop hole which he could fix using his laptop. So much for his confidence!3
-
Back in grammar school we started programming in TI-Basic on a TI89 Titanium as it was part of math class (calculus and geometry). I didn't really understand much because the teacher thought it was a great idea to start with recursively calculating GCD (and we were in a sort of "linguist profile", nobody had ever touched a line of code in their lives before). I still liked it though and by some coincidence I got an old Win95 compaq notebook to play with from a friend.
I started playing around with the CMD prompt and batch files and could apply some of the things I had learned on the TI, like GOTO or If statements. I still didn't know what I was doing of course, and so it happened that I used the > file pipe when trying to compare two values. Suddenly there was a file with some code fragments and I started to get what I had done. I put the file pipe into an endless GOTO loop and was amused how those few lines filled up the whole desktop with nonsense files. I went on to refine this a little so I could control it with another file that acted as a kill switch when present. Over the next weeks I played some more with it and made it write out and start another batch file that would check whether the original script was still there and recreate it if not.
That notebook was so large and heavy I could not bring it to school, so I wrote all code by hand on paper and typed it in when I got home, that way I could still code in class when I was bored and no one would notice.
So my first ever "program" that I wrote myself was some lousy malware.5 -
Checking out a project on GitHub:
> Using advanced condition-based AI logic, Compactor can skip over files that have been previously found to be incompressible, making re-running Compactor on a previously compressed folder much quicker.
> (Yes, it's an if statement and a trivial hash database, hush)2 -
I was an introvert while growing up hence I found interacting with non-living things easier. When I was 11 i.e. like 17 years I told my parents to enroll me into computer classes. They didn't see much of a future in it so they refused. I fought hard and finally they agreed. Hence started my journey with computers.
First week all students were allowed to explore the computer we were assigned and also were taught to play basic Windows 95 default games to make it interesting. It was all fun. Next week the teacher said he would be teaching us how to tell computer to do what we want i.e. programming. Hearing that I could make my computer do what I want excited me a lot. I felt I could finally communicate to a computer. This is how I learnt BASIC. I was so amazed I could do so many things like take input and do calculations etc. I decided I would do this kind of job in the future if it exists.
So now I am actually doing what I wanted to do when I started programming i.e. coding job!1 -
ARE YOU F*CKING KIDDING ME, WINDOWS?
I finally give in and install your stupid ass update, and what happens? let's just skip the part where i sit around for 30 minutes because apparently it takes 30 fucking minutes to install 300MB - by stallman's underpants, that's 150KB per second!
and when windows FINALLY feels like it has finished fondling it's binary-balls, what is waiting for me?
about 10 stupid-ass data-consent notices straight from satans anus, more weird yes-or-maybe settings for cortana (bill gates' ex or whatever that is) which i don't even USE, my browser speed dial has been complemented by about 7 links to SHOPPING SITES and once i sort that mess out i get a notification that the german language pack has successfully been installed.
SUCK MY FUCKING D*CK MICROSOFT, the ONLY thing i want to do with that language pack is SHOVE IT UP YOUR ASS. i can't even uninstall that moronic piece of shit. FUCK YOU.2 -
Worst interview was when I attended interview for the position of PHP and the interviewer started grinding me with C++ questions starting with STLs. Could not answer most of them, interviewer said to get my act together and try again after 3 months. Nope not gonna happen!
-
You know your day is gonna be bad when it's Monday and you are told to work on a badly written legacy flash application!
-
When an intern gives me suggestions on technology stack to use for the new application I'm building...4
-
be me, just casually watching a cs:go fragmovie. there's always 10 seconds of ads before those, so i use the time to sip some coffee. at that second, i hear the following words..
"The first ever blockchain gaming marketplace in history"
...now i need to clean my keyboard. -
"Whenever there is a decline in quality of code and rise of bugs and errors oh dear coder, I manifest to show the path of bug and error free coding" said code-god
- Chapter 1 Verse 1, Code Gita -
15 years back when I was in my highschool I was taught HTML. I created a 3x3 table of images with border without using any CSS while other kids were looking around confused what to do. Opened the same in IE and felt I was a professional web developer. Simpler times!1
-
Having fun looking at android developer struggling to replicate 'str_split()' function from PHP in Java :-D3
-
i'm afraid that having discovered the power of multithreading has made my code worse.
case in point: me has to calculate an unknown 3rd point of an equilateral triangle many, many times. however, me doesn't get the formula, so me goes ahead and loops over all possible coordinates until it finds the correct one.
yep, it's definitely gotten worse.2 -
qt compilation 2: electric boogaloo.
$ ./configure [dozens of options]
< building qmake, blah blah, success blah blah, run make && make install, blah blah >
$ make -j 8
< works for 5 minutes, then hits an error without telling me what the error is >
$ make -j 8
< works for 5 minutes until the same error. this time i notice it rm's a directory right before using it >
$ make # multithreaded fuckery, perhaps?
< fails after 5 seconds with different error >
$ make -j 2
< same >
$ make clean # fuck it, clean up and try again
< fails after 2 minutes of cleaning >
The C/C++ infrastructure. just everything about it. and i'm not even using dependencies here.2 -
started to rewrite one of my functional-but-horrible projects. after 2 hours i realize i'm starting to use the same kind of "if it works, great" style.
jesus, i need some sleep. -
Python 3.9:
Cool New Features for You to Try
String Prefix and Suffix.
Type Hint Lists and Dictionaries Directly.
Topological Sort.
Greatest Common Divisor (GCD) and Least Common Multiple (LCM)
New HTTP Status Codes.
Removal of Deprecated Compatibility Code.2 -
Been searching for an offshore data server for at least 5 fucking hours. There's nothing worse than searching for decent low-end offers outside of europe.7
-
!rant
Any links to start learning game server programming using C++? I know network programming using C# currently and built a game server emulator also. I want to start C++ network programming for windows now...8 -
to just do my shit, without working for anyone. really, I just want to dwell on my side projects forever.
-
When a junior developer forks new feature branch from his old feature branch and not from develop branch causing merge conflicts later!1
-
mfw someone makes completely irrelevant OS-bashing comments in an issue that's barely related to OSs... someone tells him to fuck off... and then he posts a FUCKING PHARELL WILLIAMS VIDEO! ON GITHUB!
i'll go straight back to bed, bye. -
Manual EC2 instances + Elastic load balancer or Elastic beanstalk for a PHP 7 application? I might have some cron jobs to be run too...
-
@dfox Quick feature request. Checking for duplicate comment or rant and hiding them. On erratic connections impatient coders like me press submit button multiple times making duplicate posts!10
-
Just found this glorious rant about a controversy I completely missed in 2016.
https://eev.ee/blog/2016/... -
Anyone else having trouble with apt-get install in EC2 instance of region US-East-1? Seems it's too slow currently!
-
Need recommendation on which server side language/framework to use along with my new react native app.
Thanks3 -
If A.I steals all dev jobs then I will become physicist and build time machine like in terminator movie ;-)
-
when you just want to set up a tiny automation and end up compiling a custom snap package for 3 hours...1
-
Today ID Girl Child Day ...
So happy GCD to all the girl developer out here...
We stand with you...
And will always support you...