Details
Joined devRant on 11/8/2016
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
-
It just hit me why they called their software "nero"... cause he burned Rom(e).... Am I dumb or something? I'm using it for 5 years now13
-
Microsoft Excel - it created a generation of business analysts who think just because they can write convoluted spaghetti logic in excel that it makes them a programmer.5
-
Fucking wix advertisements! Getting real tired of the "want a website? Why not make it yourself?" ads. You're already logging all my fucking google searches to display relevant ad info so maybe wrap your head around the fact that I'm a web dev and make my own fucking sites??6
-
!rant
As a kid I tried to compress one zip file 4-5 times...self praising myself that I just found the world's best idea to save hard-disk space!!! Only to realise that sometimes, I'm stupid.2 -
"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!"
So, as the author of the code in question, I join the bridge... And what happens next, I will simply never forget.
First, a little backstory... Another team within our company needed some vendor client software installed and maintained across the enterprise. Multiple OSes (Linux, AIX, Solaris, HPUX, etc.), so packaging and consistent update methods were a a challenge. I wrote an entire set of utilities to install, update and generally maintain the software; intending all the time that this other team would eventually own the process and code. With this in mind, I wrote extensive documentation, and conducted a formal turnover / training season with the other team.
So, fast forward to when the other team now owns my code, has been trained on how to use it, including (perhaps most importantly) how to send out updates when the vendor released upgrades to the agent software.
Now, this other team had the responsibility of releasing their first update since I gave them the process. Very simple upgrade process, already fully automated. What could have gone so horribly wrong? Did something the vendor supplied break their client?
I asked for the log files from the upgrade process. They sent them, and they looked... wrong. Very, very wrong.
Did you run the code I gave you to do this update?
"Yes, your code is broken - fix it! Production is down! Rabble, rabble, rabble!"
So, I go into our code management tool and review the _actual_ script they ran. Sure enough, it is my code... But something is very wrong.
More than 2/3rds of my code... has been commented out. The code is "there"... but has been commented out so it is not being executed. WT-actual-F?!
I question this on the bridge line. Silence. I insist someone explain what is going on. Is this a joke? Is this some kind of work version of candid camera?
Finally someone breaks the silence and explains.
And this, my friends, is the part I will never forget.
"We wanted to look through your code before we ran the update. When we looked at it, there was some stuff we didn't understand, so we commented that stuff out."
You... you didn't... understand... my some of the code... so you... you didn't ask me about it... you didn't try to actually figure out what it did... you... commented it OUT?!
"Right, we figured it was better to only run the parts we understood... But now we ran it and everything is broken and you need to fix your code."
I cannot repeat the things I said next, even here on devRant. Let's just say that call did not go well.
So, lesson learned? If you don't know what some code does? Just comment that shit out. Then blame the original author when it doesn't work.
You just cannot make this kind of stuff up.105 -
My brother and I have been messing with our IBM 5150 and doing cool stuff with it. I got it to play a youtube video via telnet via my bro's mac via mplayer with libcaca (ascii video output) + youtube-dl (a youtube downloader. The mac is doing all the heavy lifting, but it is still cool to see these images on a IBM 5150, just by typing a few commands on that old keyboard... more fun projects to come with this old thing.7
-
Interviewer: Welcome, Mr X. Thanks for dropping by. We like to keep our interviews informal. And even though I have all the power here, and you are nothing but a cretin, let’s pretend we are going to have fun here.
Mr X: Sure, man, whatever.
I: Let’s start with the technical stuff, shall we? Do you know what a linked list is?
X: (Tells what it is).
I: Great. Can you tell me where linked lists are used?
X:: Sure. In interview questions.
I: What?
X: The only time linked lists come up is in interview questions.
I:: That’s not true. They have lots of real world applications. Like, like…. (fumbles)
X:: Like to implement memory allocation in operating systems. But you don’t sell operating systems, do you?
I:: Well… moving on. Do you know what the Big O notation is?
X: Sure. It’s another thing used only in interviews.
I: What?! Not true at all. What if you want to sort a billion records a minute, like Google has to?
X: But you are not Google, are you? You are hiring me to work with 5 year old PHP code, and most of the tasks will be hacking HTML/CSS. Why don’t you ask me something I will actually be doing?
I: (Getting a bit frustrated) Fine. How would you do FooBar in version X of PHP?
X: I would, er, Google that.
I: And how do you call library ABC in PHP?
X: Google?
I: (shocked) OMG. You mean you don’t remember all the 97 million PHP functions, and have to actually Google stuff? What if the Internet goes down?
X: Does it? We’re in the 1st world, aren’t we?
I: Tut, tut. Kids these days. Anyway,looking at your resume, we need at least 7 years of ReactJS. You don’t have that.
X: That’s great, because React came out last year.
I: Excuses, excuses. Let’s ask some lateral thinking questions. How would you go about finding how many piano tuners there are in San Francisco?
X: 37.
I: What?!
X: 37. I googled before coming here. Also Googled other puzzle questions. You can fit 7,895,345 balls in a Boeing 747. Manholes covers are round because that is the shape that won’t fall in. You ask the guard what the other guard would say. You then take the fox across the bridge first, and eat the chicken. As for how to move Mount Fuji, you tell it a sad story.
I: Ooooooooookkkkkaaaayyyyyyy. Right, tell me a bit about yourself.
X: Everything is there in the resume.
I: I mean other than that. What sort of a person are you? What are your hobbies?
X: Japanese culture.
I: Interesting. What specifically?
X: Hentai.
I: What’s hentai?
X: It’s an televised art form.
I: Ok. Now, can you give me an example of a time when you were really challenged?
X: Well, just the other day, a few pennies from my pocket fell behind the sofa. Took me an hour to take them out. Boy was it challenging.
I: I meant technical challenge.
X: I once spent 10 hours installing Windows 10 on a Mac.
I: Why did you do that?
X: I had nothing better to do.
I: Why did you decide to apply to us?
X: The voices in my head told me.
I: What?
X: You advertised a job, so I applied.
I: And why do you want to change your job?
X: Money, baby!
I: (shocked)
X: I mean, I am looking for more lateral changes in a fast moving cloud connected social media agile web 2.0 company.
I: Great. That’s the answer we were looking for. What do you feel about constant overtime?
X: I don’t know. What do you feel about overtime pay?
I: What is your biggest weakness?
X: Kryptonite. Also, ice cream.
I: What are your salary expectations?
X: A million dollars a year, three months paid vacation on the beach, stock options, the lot. Failing that, whatever you have.
I: Great. Any questions for me?
X: No.
I: No? You are supposed to ask me a question, to impress me with your knowledge. I’ll ask you one. Where do you see yourself in 5 years?
X: Doing your job, minus the stupid questions.
I: Get out. Don’t call us, we’ll call you.
All Credit to:
http://pythonforengineers.com/the-p...89 -
Yesterday evening my family were watching his favourite tv show. Have nothing to do i too sat there with them.
The scenes on television were going like : The leading lady of the show were trying to convince her family that her husband is not involved in the molestations which police has charged on him. Person can be look alike of her husband. In fact my husband was some where else when the molestation was happening. She also had a proof and that was CCTV camera footage in a Compact Disk. So she started playing it in the TV presented in room with CD player. But it turns out that CD can't be played because villain hired a hacker to corrupt video quality playing in TV.
I laughed because in my knowledge that was not even possible in real life. Every family memeber started staring at me.
My mother : That's what you do? No? That's what you do whole day in your office?
Me: No, no. I....
My mother: See her face. Poor lady.
Me: But mom, that's impossible. It is just fiction. In real life it is not possible.
My mother : Get out of my sight.
My mom did not dine yesterday. These fucking serial maker. These women's. -
So I persuaded my boss to buy me 2 extra wide monitors (2560x1080).
They're way to big and my neck hurts. After few months, I stopped using edges, and keep all my editors and browsers in the center of my viewpoint, leaving edges empty.
My desk is also too small, and I don't have space for anything else other than monitors.
We programmers have it rough :(6 -
I have seen it. They say it doesn't exist; just a story we tell our children so that their innocence does not lead them down into a nightmarish adulthood from which there is no salvation. But the evil lives. So vile that were you to look inside its soul, all you would find is a terrible desperation for suffering. To cause it. To revel in it. To bathe in the tears of those it considers less than human and feed off the emotional detritus.
It was 2009. The financial crisis. I was one of the lucky, having found refuge in a large company right before the jobs dried up. General IT: system administration, documentation, project management, telephony, software training, second level help desk. No software development, but with a two-year-old at home and Ph.D.s lining up outside the local Olive Garden whenever a help wanted sign was posted, I grabbed the health insurance and entered into darkness.
The Thing did not need to hunt it's prey. A manager title with 21 reports brought it new opportunities for fresh meat by the hour. But I was special. I resisted. I needed to know my place.
My first mistake was incomprehension. I did not understand the Thing's lust to be right at all costs. I was reviewing some documentation it had brought forth from its bowels. I mentioned that two spaces were being used between sentences. That proportional type made that unnecessary. It insisted, I was wrong. It insisted that Microsoft itself, the purveyor of all good technical writing, required two spaces. I opened the Microsoft Manual of Style for Technical Publications that it demanded its staff use and showed it that the spec was one space. It was livid. I was a problem.
From that point on my work life became exponentially more wretched. I was given three Outlook calendars to maintain: one with my schedule, one with the team's schedule and one with the Thing's schedule. Every time I had an appointment, I was to triple schedule it. If I was going to be away from my desk for more than 15 minutes triple schedule. Triple schedule my lunch, vacations, phone conferences.
Whenever it held a meeting, I and a colleague would be taken off mission critical IT projects to set tables with name tents and to serve as greeters as attendees arrived.
I was called into its crypt to be told never to say anything in a meeting unless I told the Thing beforehand what I was going to say. Naive, I mentioned that I often don't know what I will say as it is often in reply to someone else. Of course the response was that I should not say anything.
I would get emails 10-20 times a day asking about a single project. I would regularly complete work that was needed to be completed ASAP, only to have the Thing rake me over the coals for not completing it a week later. And upon resending the emails proving I notified it of the work being competed, disparaged at length a second time for not sending repeated notifications of the competed work.
I would have to sit in two-hour meetings to watch it type. Literally watch it try to create cogent thoughts. In silence.
I received horrendous annual reviews. At one, it created a development plan that stated a colleague would begin giving me lessons on the proper ways to socially interact with personnel. I pointed out to HR that this violated privacy concerns and would make the business liable in many areas, not least of which would be placing a help desk person in the role of defining proper business practice. HR made the Thing remove this from my review. She started planning to remove me.
I had given a short technical training to a group of personnel months earlier. Called into its tomb I was informed that feedback surveys on my talk were disturbing. One person stated that they did not think I was funny. Another wrote that I made an offensive statement. That person did not say what the offensive statement was. Just that I had said something he or she didn't like.
The Thing interviewed the training attendees. Gathered facts. Held three inquest-like meetings where multiple directors peppered me with questions trying to get me to confess to my offensiveness. In the end the request to fire me was brought to the man who ran the business at the time. The statement on high: "Humor is a subjective thing. Please tell This to be sensitive to that."
The Thing had failed, but would no doubt redouble its efforts. I had to find a new job. I sent hundreds of resumes. Talked to dozens of recruiters. But there were no jobs. And I had a family. And the wolf was at the door.
So I didn't say a word to the creature. For six months. Silence. At one group meeting it shrieked at me "what are you smirking at? If you've got something to say then say it!" I just shrugged. For my salvation was revealed. The Thing could not stand to be ignored. And at the end of my penance I was transferred to another group: Software Development.
I am one with the Force. The Force is with me. I am one with the Force. The Force is with me.4 -
So a couple of days ago some sergeant shit for brains crashed into my parked car, consequently i'm now stuck getting the peasant wagon aka buses.
Today, mr cunt bus driver decides to crash into metal railings on my commute to work, leading to all the pre prepped meals in my bag to smash. My macbook and books were covered in chicken, rice and broccoli with the sweet fucking aroma of nando's chicken sauce (10/10 would recommend by the way).
Now, I'm not one to think about the existence of some fucking deities but if you do exist you're a fucking mouldy scrotum you cunt. What's next, get into work to find all the machines reverted back to windows you absolute dick drip.
For the sake of my humanity stay out of my way for the next week because I'm pretty sure people are going to start receiving swift kicks to the jaw.7 -
It's so frustrating when you're trying to power through a development but get constantly interrupted by phone calls, coworkers, project managers, meetings, emails and IM.
Just let me work!!3 -
Client's message: "The next feature we're going to implement is blah blah blah."
Me (to my manager): "Lol it can't be done. It's impossible. We're bound by technical limitations. I've done plenty of research on this."
*2 hours later*
Me: "Here, I've built a demo of the feature. We can deploy it in a couple of days."6 -
This is dedicated to all Webdevs, especially those WordPress fanboys.
I was reflecting on some things since I do more frequent freelance jobs at the time. And I have to admit: people are fucking crazy.
I had some serious talk with customers and some serious talk for people I work as subsidiary.
The average customer thinks a nice webpage costs I'm 9-50 bucks. They got some shitty Webhosting for 1-5$/month including domain and think they are set.
They have unclear visions about what they actually want, it all boils down to "I like the design". I made a page for someone who just posted images, no text nothing and I told him a trillion times NEEDS some text, even a fucking picture description would be sufficient, else he'll never score anything at google.
Ofc it got denied, now he's bitching how nobody finds the site when they google his name. The other thing is that Wordpress became the solution for everything.
I'm a fucking certified magento developer and I hate magento with a passion. Magento is an overabstracted clusterfuck and believe me, I did the certification I had to learn more than average about the core. But damn, don't slap woocommerce on everything.
Narrowninded fucktards, the cheap out of the box solution isn't always the best.
Don't cry if you got hacked because you were too dumb to upgrade your wordpress. Don't tell me to do some "enhancements" on a server you probably share with 100 other uses. I can't fix your Webserver with your shitty ftp account.
I also hate WordPress with a burning passion. Cum guzzling cavetroll it is. It has it usages, but don't rely on a core So small every kind of extra functionality has to somehow tinkered on it and then expect it to work flawlessly and for 10$ price.
Of course you can buy a theme that, if it would have been special made for you cost 800$ or more, but it wasn't. It just looks like it from the outside. If you want customization you are at the mercy of the option it provides. I can't even tell how many times i spent whole evenings explaining how their shiny template works. Just to do some crazy shit with JavaScript like rearranging domelements because it didn't work as expected.
I still stay to my word. Nothing great has been nor will be created with a Wordpress core. Don't tell me how some great stuff has been achieved. Or wait, please do so. But before you do think about if that wouldn't been faster, cheaper, more reliable , etc... if done with a framework like symphony or laravel... or even zend or cake.
And that brings me back to the point:
Is cheap and "out of the box" really what you need and desire? As customer and as developer?6 -
Meeting scheduled with a client to train them how to edit things in their new WordPress site for 11 am today. At 9 the account manager walks into my office and tells me the meeting will be starting at 10, and in addition to that we will be starting with the web stuff because the analytics team didn't do any of their reports.
The time is now 1130 and I still haven't heard from the client. I'm afraid to start anything big because as soon as I do the client will show up, but I don't want to just sit here and wait. I have been knocking out the little things on my to-do list for an hour now while I sit here with the team and "discuss the meeting points."
Why can't clients respect my time? If I say I'm going to call you at 3 your phone is ringing at 3, if I say I'm going to show up to fix your workstation at 1215, then I will be there at 1215. -
We were doing a project for uni in which we had to make a game in Java, we were on my department the night before working the last bits, it was working perfectly, until two hours until we had to turn it in, when I ran the code on IntelliJ it worked but the .jar file I exported didn't work and I didn't know why... I had to carry the my desktop PC I was working on because my laptop was broken at the time and we didnt have another computer on hand with IntelliJ and shit, I could swear I could see my friends laughing...
Two hours later from presenting the project I realized someone changed the file of a name from spritebatch1.png to Spritebatch1.png...
Changed it back, worked in an instant...
They were all behind me and started laughing like the best joke in the world was told...
I almost killed them all, but laughed along them afterwards...7 -
How do mobile sites know when I'm about to tap a link, and then load something and shift everything so that I tap the wrong link?9
-
Thanks java! FAILURE :java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack trace available5
-
Let's see the coder in you.
If I give input: 1 output: 2
If I give input: 2 output:1
Only these two test cases needed.
You should not use control structures such as if,else,for,while,switch etc. (The answer is simple) (Don't cheat)
int number;
cin>>number; //get number
cout<<??????; //Your code53 -
I have never been fucked more in my life. A month ago I finished a 3 month internship for my last year of my education. And next to the internship I only have my thesis to defend and voila, I got my diploma! The internship itself went awesome, met some very interesting people, had a ton of fun working there and they were really happy about me.
But then it started, about 2 weeks after my internship started I got an email that my mentor (from school itself) had changed. It changed to a guy who's known for his insane way of teaching and being very unprofessional. Sometimes when I had a class on another level a bit further in the hall, we could hear him screaming while he was "teaching". He's really insane and should in no way be teaching to students. On top of that he has very little knowledge about CS, since he "teaches" maths.
So after I got the news I knew I was fucked. This guy is really hard to communicate with. And I'd never be able to have a decent, professional conversation with him.
So after I did everything I knew I was supposed to do, I tried to contact him on what else he'd need from me. His emails were crazy, unprofessional, and in no condition of being able to read and understand. So I started to get really annoyed but I didn't make this clear towards him. I even complained to another person of my school in a very polite way by saying that our communication wasn't going so well, I got no answer from that person and she even forwarded my complaint to him without asking for my permission and answering me.
So I kept doing what he kinda asked for, but had no idea if I was doing it wrong or right since I almost never got an answer from him, or the answer was not even an answer to my questions in the first place.
Today I had my presentation of the internship in front of him. It's the first time I see him since this school year. I give my presentation being quite happy of what I did at the company. When I was finished he starts bashing me into oblivion with ignorant questions, comments and very deconstructive negative feedback. Me not knowing what the fuck is happening and getting really angry inside standing there with nothing to say. I answered all of his questions as good as I could. But he was tearing me down so fucking hard. Because I only had half an hour I sticked with the most important stuff about my internship, didn't go to deep into all of it because he's not a fucking it'er anyway, and he asked for it specifically not to go deep into the project. But now he's saying I'm not giving enough information?! (He wanted to know what IDE I used?!?! What the fuck has that to do with anything)
So although I had a wonderful internship and I completed my project far better than the company had expected, my presentation went awful. I'm thinking that the guy was predetermined in failing me. How can I do a good job if he himself is not give a fuck about me. So now he's probably failing me for something he has no clue of what I did, and it's not even my fault.
I have no idea what I should be doing now. I start working in the second week of February but I probably won't get my bachelors degree until September now because of this fucker. I'm even thinking on taking legal actions. This guy just fucked my self confidence so hard. I'm fucking depressed right now15