AboutFull stack dev and PM
SkillsC#, PHP, AngularJS
Joined devRant on 10/13/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
Four hours of work.
You think you write spaghetti code? I write spaghetti wires.
H-Bridge dual motor tester for stepper motors.
Speed is controled by pot.
H-bride are L293D.
My third board, and the first that won't go to the trash.
Question. With the baterry off the motor continues spinning with the 5v from arduino.
My question is, is the L293D suposed to do that? Or do I have a short circuit somewhere that is giving power to the motor? Meaning it can burn the arduino.
Runs a 12v stepper from a CD-Rom driver perfectly at 5v from the arduino and actually starts to act strange when I turn the 12v on. (maby the circuit it's adding 12v + 5v?)25
First day at new web dev job:
Me: what IDE do you guys use?
M: Okay... Any version control?
C: Oh we don't need it. We just update the server pages.
*Boss walks in*
Boss: Heres the project for you to do just need you to rebrand this web app we made for client A for client B just need to change some scripts. Should only take afew hours.
I take a look. No comments. Not formatted. Missing braces and brackets. Semicolons at odd places and missing at others. 7802 lines of code...18
My friend wants me to post a question on SO coz he cannot as he is currently banned from asking too many questions(dats what he says). Moreover, the question he wants me to ask was already asked by him a month ago. He wants me to ask again as he didn't find a.solution.9
"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.96
List of benefits given by some random company to its developer,
1- Medical, Dental, AD&D
2- Generous paid time off and holidays
3- Free fitness center in our building
4- Flexible schedule
6- Mac or PC, your choice
7- We and our customer don't use IE
8- Starbucks on the 1st floor
9- Generous 401k match
But I like 7th one the most!6
Interviewer: "Show me a cool side-project you have been working on!"
Me: "No! I do not have a cool side-project to show you! I work to pay the bills, and do other things in my spare time! Like go fishing, or play video games. Why the fuck are you assuming that I spend my weekends coding for fun!? Do you call random people asking them questions every Saturday and Sunday just for the LOLs of it?"38
Hi everyone! Sam here, @dfox's gf :) so happy to be talking to you all! Today I will be live-ranting TNW Conference where devRant will be presenting with photos in this thread. Pictured here, @dfox and @trogus setting up our booth. There will also be a stage presentation, a sticker printer on site (because how could we not :)), and energy drink/stress ball giveaway. Stop by and say hi if you're here!!
Go devRant team!39
Working on colour related feature, slamming my head on the desk because the GUI is showing wrong colors.
Then I realized they are using BGR values instead of RGB. WTF WHY3
We will no longer be accepting contracts which have an internet explorer or edge support requirement.
All of the front end devs are going hysterical and celebrating 😂 🎉🎉19
Picked up a legacy site to re-build, turns out just adding:
to the query string gave you full admin rights to the entire site without having to authenticate. The site was live for 2 years.3
Junior coder says validation is not needed on asp.net mvc form pages because it is not in the requirements or part of the definition of done. Wants to argue about it. Refuses to do it. Says I am over optimizing or some shit like that. Good luck with that. If you can't figure that one out or listen to feedback perhaps you should become a project manager not a programmer.11
What an year ?
>MS VS on mac
>SQLServer on Linux :D
>Xamarin API for tizen (seriously :/)
>MS becomes `platinum` member @LinuxFoundation
>Google joins .NETfoundation
>Trump becomes the president ??????????
>In India 500 and 1000 rupees notes are now worth toilet paper except we don't actually wipe - we wash ;)
>For me RIP $copes and controllers and my year worth of experience :'(8