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 - "i wrote that?!"
-
Next time I see a constructor with 22 parameters. I'm gonna report whoever wrote that to the police40
-
I have a teacher that does nothing but reading from powerpoint slides.
Wrote a script that does a better job.19 -
After an hour of debugging, realised that I wrote =+ instead of +=.
I will just to go in a corner and cry for a minute. brb guys.9 -
I started working in 2014. In one of my first jobs they gave me a virtual machine running Windows 2000.
I had a conversation that went more or less this way:
Me: «Why a so old OS?»
Boss: «Because we rely on an old library which has been compiled on Windows 2000»
Me: «What library is it? Who wrote it?»
Boss: «We wrote it. It belongs to our company.»
Me: «Can we try to port it on a more recent OS?»
Boss: «Oh, we've lost the source code a long time ago...»
Me: «...»8 -
Co-worker: "I wish I understood how this program worked"
Me: "I wish I understood how THIS program worked"
Co-worker: "You're the the one that wrote that"
Me: "Your point?"4 -
My boss has a camera in the office for "security" reasons and I happen to be just right under it, exposing my computer screens to it. So I wrote a script that sends me an email whenever the camera port is accessed.14
-
Wrote some codes that uses your photos to compose an input image. Will post code later. Written in Python though. Also this is my dad. Also I wrote this in Yellowstone cuz I didn't like the view lol.19
-
I had this coworker who was proud that he's the only one who can understand the code he wrote.
That's not something to be proud about.4 -
I'm here, wide awake at 4:30 am... Not because my brain is stuck on a problem, but because I am so happy with the code I wrote that I'm too excited to fall asleep.7
-
I wrote (or, ended up with a very much alpha but usable version) a monitoring system a while back and completely forgot about its existence.
But, it's still running and a few days ago I was building a docker imagine on a system with not that many resources and after about 5 minutes I started getting notifications about a high load!
Then, while I had forgotten about it again, yesterday, I suddenly started getting notifications about websites on my main application server going down.
Logged in and all was good again after restarting nginx.
Gotta say that it feels quite awesome to be notified of shit going wrong by something I wrote myself while I forgot about its existence 😊2 -
Don't really have one but I've git to say that I find it rather cool that Linus Torvalds thought "fuck it, we need an open Unix alternative" and that a very big potion of the world runs on the kernel he wrote for a big part, now.6
-
So you detected that I wrote quit but oh no instead of actually quitting I get to know I have to write quit()10
-
When you drink a little too much and wake up to find you wrote a program called baconTranslator that translates everything you type to 'I love bacon"...10
-
For april fools i added a code that reverses the user input password
and wrote " due to a bug occurred in our database all user passwords have been inverted. Our developers are working on this issue "10 -
I had an interview with facebook, asked me to write something that sorts points on a parabola. Wrote it in java, tested output every step of the way with the interviewer watching.
Said they didn't like that I wrote pseudocode. You know, the kind that compiles and takes in dynamic input and prints the answer correctly to the console.6 -
I don't havey Friends , but the ones I have know me inside out.
I turned 18 yesterday , and what did I get for a gift , a literal 5 page C++ Program that my pals lovingly wrote for me. Compiling it right now. Let's see what it's got for me.13 -
Dear, Random guy that I wrote you an answer on StackOverflow.
I spent 15 minutes GOOGLING the issue for you because you either were fucking lazy or don't know how to use Google.
I wrote an answer for you on your shitty question with -2 rep explaining how to solve the issue and you just replied thanks and didn't even bother to either upvote or accept my answer. Not only did I solve your question I did it to bloody help you and here you are with your attitude not accepting my answer, and replying with thanks that i feel like you didn't care for me writing your answer. You can bloody hell burn in hell. I hope there is a special place for you and people like you that magically go missing and never come back16 -
Uninstalling literally everything in my laptop including IDEs and tools. It summed up to 94 programs.
I then wrote a simple C# console app that automates the process.
It is running 28/94 currently.
I love being a programmer.9 -
Every so often I remember that the code I wrote is running in production and real customers are using it and I feel a little bit sick2
-
Why the fuck would you assign two new values to the same variable in consecutive lines like that ? I swear this project is driving me nuts. Fuck the dev who wrote this.4
-
I wrote an app that tells me if a lottery ticket is winning. It takes a picture of the ticket, does OCR, finds the number lines and compares them with a remote json.
I live next door to a lottery shop.9 -
Someone wrote a piece of code half a year ago. It's fuckin complex and recursive. And uncommented. Today it's my job to figure out WHY and HOW it works.
If it wasn't clear before, that someone who wrote it was me. I'm not sure if I was on some substances back then, but that shit is fast and I have no clue how I was able to create it. Perhaps it was the coffee overdose...
However, wish me luck figuring this thing out.5 -
I just came across some code I wrote a year ago that I don't entirely hate.
I'm legitimately a bit worried.2 -
Today I wrote a regex expression that worked on the first try. Today I learned that the hardest code to debug is bugless code.6
-
Not an office prank, but when I was in high school we had some public computers and I switched some shortcuts for chrome and internet explorer, so when you clicked chrome, something that should not be called a browser would open.
And than I got the brilliant idea: I wrote a script camuflagged as a chrome icon that would launch 100 internet explorers. Legend says that people are still raging to this day.6 -
Rant Init...
That moment you write some magnificent code and everyone is sleeping so you can't share it with anyone but you feel like the room should turn into an exciting musical where you win an award. (Best code can ONLY be written between the hours of 12am and 6am)
The next day, you try to explain to your significant other (user) how amazing this new genius way of doing that "thing" was, in hopes of sharing your excitement but all you get is a "you're such a dork" instead.
You may even try to share it with a coworker or fellow programmer but somehow they just don't see how exciting it is for you.
Rant completed...7 -
Today I wrote a Neural Network in python for the first time, that could identify between strings, numbers and dates. Although the feat may look small it's a very proud moment for myself8
-
I need to make a confession. I wrote shell scripts that will automatically turn on my system and will download games and movies for me after office hours, using office internet10
-
On my first day at work realising that I would be working on a code base with 1.5 million+ lines of code and the only documentation is half a paragraph some guy wrote the day before he left 😑3
-
I just found this code snippet on Stackoverflow that decodes polylines from Google Maps.
I even doubt the genius who wrote it understands what it does.
Anyway,as long as it works am good.4 -
So today I accidentally wrote a non-termating for loop that sent POST requests en masse to our server and likely crashed it while I was peer programming with my team lead, how's y'all's day goin?4
-
I was checking an Arduino sketch I wrote in a hurry 2 years ago. I want to cry for the number of shit I've found there 😓
Picture + I had put as int variables that should have been boolean. I needed them for 0 and 1. As well as with no comments and no explicative names.13 -
More of a college prank
We had this professor who used to send at least 3 emails to us about non sense stuff. Irritated i wrote a Python script that sent her 10000 emails everyday. The emails stopped!!10 -
Teacher told me to write "I must do my homework" 100 times.
I wrote a for-loop that outputs "I must do my homework" 100 times.7 -
Holy shit, wrote bitwarden an email and I shit you not, 15 seconds later I got a reply answering my question, not via bot but an actual human, then answered that email with a much more detailled question and got an answer yet again 25 seconds later, insane. 😶4
-
I worked as a sysadmin. I was taking over a position from another, who’d stop 2 weeks after I started, so he introduced me to everything in those days.
In the company we were 2 people (3 the first 2 weeks) managing servers. When rebooting windows servers and windows asked for a reason for rebooting, he told me that he always wrote -.- while the other guy wrote .-. so they could recognize who rebooted the server3 -
I wrote some simple rules so everyone with an iPhone, iPad or OSX device that is visiting my site is redirected to https://stallman.org/apple.html28
-
I wrote code yesterday, that functions the way it is supposed to.
I do not understand my code today.7 -
sometimes in my head i go through code i wrote some time ago and think: "did i think of this case? if that happens something could go very wrong." when i look at the code i see that i already thought about it and catched the case back then. then i am like "daaaamn i am good".
do you know that feel? :D1 -
The moment when you can look back at all the comments you wrote to yourself well over a year ago that go along the lines of:
"Don't delete this!"
"I know this looks weird, but trust me!"
"You coded this drunk, you couldn't remember how, and you wrote this comment to remind you that you couldn't understand it sober."
Can all be brushed away, along with the kinda hairy code when you realise that in your attempt to ensure you didn't break code that worked and wasted time trying to understand that you didn't have the experience to solve it, you now have the experience to solve it.
I guess I had such huberis that I assumed I'd never understand a certain problem...1 -
What is your "WTF" commit message you see in your project?
For my case my Junior wrote this "Hey, Senior can I f** your girl for one night?" which lately he got fired as I showed that to my Manager.32 -
I just wrote this piece of code. Without googling. Call me regex king!
But in fact regex is not that hard, you just have to learn the syntax 😄28 -
I was so proud of my recent tiny little node script that I published it on npm.
I really just kinda wanted to learn how npm worked. I don't expect anyone to find any use from this.
I wrote the README in a sarcastic tone if anyone is interested in reading that
https://npmjs.com/package/...4 -
When I wrote a script to automate my commits to SVN... And then used that script to commit itself.... Pure bliss :)4
-
Saw a lot of posts on social media recently where people highlight a specific quote/sentence from a book/ebook and post it's picture online.
It only I could do the same with the killer ass functions I wrote, or the fifth degree nested ternary operator line of code I wrote that makes the whole component work and is the most beautiful thing I've ever seen. -
My professor asked my to write a method that recursively reversed() a linked list. Wrote an iterative version with the same name and called it in the recursive method. How I felt after she wrote 100 for my presentation...6
-
For several years now, I have been writing programs for myself. I have been publishing the source code for them, but none of them ever got much traction. Then I wrote a program that existing users on social media could just interact with without installation (because even that is too much apparently).
When I wrote the programs for myself with others secondary, I had logic problems to solve and dealt with fucked up API's. Now I still have that problem, but I also have to deal with user retardation. They are not using the program in the way I wrote it to be used, at all. They are not passing arguments where there should be, they are running commands that are still under development and therefore (rightfully IMO) available to only me. I am the one being blamed, why doesn't this thing work?
I'd like to rephrase their question to me. Why are you user not using the goddamn program properly? Why should I need to make half the goddamn code account for users' sheer level of retardation?
Yes, users are retarded. And it's not a battle we can win. Earlier I heard this saying that "every time you make your tools more foolproof, the universe invents a better fool".7 -
What the hell was I thinking at when I wrote this nice interface wrapper...
What bothers me more is that gcc didn't warned me about such obvious recursion...3 -
!rant
Im going to boast for a second. I wrote a lockless multi producer c++ thread pool that scales linearly, doesn't eat cpu on no work, and has a proper packaged_task + futures interface. It's fucking awesome, and that is all. Thanks for reading 😎3 -
I really truly want to run my own dev blog, but every time I write an article, I feel that it's too dumb and useless because I already know the thing I wrote. I know it's absurd, yet I can't fight my own anxiety about it.2
-
Wrote my first Gnome Shell extension.
It shows the propability that my favourite streamer on Twitch streams today with a statistical algorithm I only wrote for this purpose.
I feel a bit cool now, yeah, maybe more than I should.
But it's so exciting!7 -
WHY THE FUCK ARE YOU ASSIGNING PROD BUGS WHEN I'M ON A FUCKING VACATION ?!?
Oh wait I wrote that code...
Welp6 -
Python rant
Where the hell is Break key?!
Story: I wrote multithreaded python script and went to Lab to test it. Script got stuck (one thread died) and I needed to stop that thing, but how without magic Ctrl+Break?
Damn you Dell with your slim and minimalistic keyboards!10 -
This Twitter Bot will make you addicted to Books.
That is the title I came up for this post.
Anyway I just wrote a new Twitter Bot that when tweeted the name of the book that you last read, it will reply back with a related book suggestion.
Feel free to take it for a spin and share your interesting finds. I know you will try to break it :)12 -
Been there for two weeks
[Team lead] why didn't you deploy to production like i told you, while i was sick?
[Me] nobody told me i should do that
[TL] i wrote you on slack
[Me] I'm pretty sure you didn't
*TL scrolls through history, can't find proof*
[TL] okay I can't find anything, I probably told you in a hangout call
He did not, I would remember that...3 -
The year was 2015
I was working as an engineer for a mobile operating system that's not Android or iOS.
My commit was approved and shipped just to find out later that one of the variables that I was supposed to name slotsNumber, I actually wrote it slutsNumber 🤔 🤷♂️4 -
I am sooooo very happy & grateful that my coworker wrote down this comment.. I'd have been lost without it! :/
-
Am I the only one who doesn't judge a programmers contributions by commits or change history?
Frequently I'm always near the bottom of contributors, because I don't make a million commits when it's broken. And I don't commit lines that will likely disappear in later commits. I like to finish a function, test it, check it, rework, and then make a "made function()" commit, as apposed to:
"Wrote function()"
"Wrote unit tests for function()"
"Fixed error"
"Code cleanup"
"Style guide compliance"
"Reworked function()"
etc.
Sorry that I keep my commit history clean and ensure it builds.7 -
My last day before vacation, Friday after hours,
Me as a Junior dev, not that experienced with bash.
An unfortunately with root on a prod machine.
I wrote a script and wanted it to stop at a specific point, but couldn’t remember which of those cmd it was so I wrote all of them.
Quit
Close
Stop
Halt
Exit
Ran the script.
Wanted to kill myself.
I haven’t had the privs to turn on the VM again.
¯\_(ツ)_/¯
🤦🏽♂️
I definitely learned a lot!2 -
A friend of mine wrote a script that blinks the IP (in binary) of his raspberry pi.
I mean, I'm both disappointed and intrigued.11 -
I just wrote this stub function for my test and thought it was a bit ridiculous and had to share.
A function that returns a function that returns an object with just one function6 -
Turns out I had some conversion issues and timing issues in the SD card file parser that I wrote... wtf it worked before I swear
It fully works now!!! I can now finally load presets from an SD card and apply them to the screen at my leisure.5 -
!dev sucks++
Soo, my GF who I moved to Germany for wrote that we needed to talk on Friday (today is Monday).
I was away for the weekend, and yester I asked what I could expect when I got home.
She wrote that we could hug, but not kiss...
One short phonecall later, she had broken up...
So now I will have to figure out what I will do... I don't have a home anymore (moved into her apartment), my job sucks, so nothing left...
Hold me22 -
Today I have attended one Interview.
Interviewer asked me to write two programs. I wrote .
Even I wrote it correctly, he did not convinced.
He has his own logic in his mind, he told me my programs are wrong.
How can I write the logic in his mind?
Every one had their own logic.
Wrost day in my life , I waited for that interview 10 hours. I felt very sad.4 -
After 10 years maintaining the same codebase, I sometimes find features in the system that I wrote years ago and I forgot they existed, like "Cool, I didn't know the system was able to do that, I completely forgot, I wonder how it works, and God knows how I wrote this shit, let's see..".
I've even found myself starting to implement features that already exist, and then having to revert the changes.3 -
Have you ever looked at code you had written years or even decades ago and asked yourself either:
1) How this this even work?
2) What the hell does this do?
3) or, I can’t believe I wrote that. (In horror or serendipitously)5 -
I just wrote 80+ lines of tests for a 30 line module and I was really mad at myself for wasting my time like that, until I remembered that while writing those tests I did actually catch several really tricky bugs and it didn't even take that long.5
-
Just spent 30 minutes confused as hell because an API call I wrote just randomly stopped working.
Forgot that I hardcoded an ID for testing purposes and then ended up creating a new object with a new ID.
Needless to say... they didn't match. Explains why my query retrieved zero results. -
I regret commenting on a WordPress blog using my full name. Although there was nothing stupid on what I wrote, I just hate it that I googled my name and it showed. I just want to delete my useless information / myself on the internet.
Never will this happen again.10 -
So I wrote a few functions that draw this graph and sent the graph to my math teacher as a joke. And he asked me "Is this that "see" program ?" I didn't know how to react, so I just said Nope, It's not😶..
-
some people are just worst than the devil.
int main()
{for (int i=0;i<5;i++)
{for(int j=i;j<5;j--)
{printf("*");
}printf("\n");
}
}
(some dude from class wrote that)9 -
A colleague of mine worked 1,5 day solving a programming challenge in our project. Today I thought of another possibility, wrote it in half an hour, and showed it.
I got a speech about teamwork and that I should learn it. I feel bad about it, but should I?3 -
Part of the commit message I wrote yesterday after discovering that I used break instead of continue to skip a foreach iteration.
-
When that script I wrote for a Minecraft mod to emulate the behaviour of another Minecraft mod behaved exactly like the imitated mod6
-
I have no idea how this code that I wrote last year work and there's obviously no documentation but thankfully I gave my classes very useful names such as "YuDoDis", "Texter467", "TheHolyButton", "GARBAGE", etc. Fucking hate myself sometimes.3
-
Here's me sitting in the exam thinking all about my code I wrote the previous night. Suddenly brain strikes that I forgot to pass one function somewhere in the code. So I submitted my paper and left to debug the code.
Code ran but I failed in the exam :D :P -
This is a RISCV Emulator that I wrote. I started 2PM and finished 4PM next day. This is the outcome. :)
half of those 26 hours were reading the ISA manual 😅 bc I'm dumb and I take ages to understand.6 -
hey helo i doNT GIVE A SHIT THAT YOU CANT READ MY DOCUMENTATION AND SPAM ME WITH QUESTIONS THAT HAVE THE ANSWER WRITTEN IN THE SPECIFICATION YOU WROTE IM PLAYING FUCKING LEAGUE YOU DUMB PIECE OF SHIT
-
I wrote this and wonder if it is actually useful. This is a function that eliminates the need for document.getElementById. In the HTML you just set an attribute (jsv) to some value and this scoops that up and puts it in the global scope for you to use.
Neat or shit?12 -
!rant
Today I showed some of my non-programmer friends results of a simple program I wrote (very simple but very visual). They really enjoyed it and even thought of alterations I was able to implement.
I really enjoyed feeling that what I do has meaning 😊
Hope you have a good day!1 -
Wrote a language using C in a few days that can execute this:
If you have the base correct, it gets boring.
I spend a lot of time in research to write smth like this17 -
updated my app and wrote "nobody reads this :/" into the changelog. did not thought that i was wrong :D2
-
Few days ago I wrote function that finds occurrence of value in array:
function findOccurrence(value, array) {
for (var i = 0; i < array.length; i++) {
if (value === array[I]) return true;
}
return false;
}
But there's already [].includes() function in JavaScript.5 -
The performance is based on how much code you wrote that day.
Not mine though, i heard/read it from somewhere else.
But that’s fucked up, right?19 -
Back in the days, before apache, I wrote a plugin for all Mac web servers that worked like mod_rewrite.
Had a user base of >20.000 users and one of them was the webmaster of Apple 😎4 -
Today I was working on an issue related to adding icons to external links. I'm no CSS ninja, I never claimed to be. Somehow I wrote some really nice CSS that works well cross-browser. Now I'm scared they're gonna think I'm good at CSS.1
-
Seniors: I wrote it like that because I had deadlines, you wrote it like that because you're a moron.3
-
Wrote a small code to test my "Reset Password" feature, service console kept printing: User not found and returns 404
I was 100% I added that user manually to the database....
Well it turned out I added that user to the wrong database. I need to sleep T_T -
I wrote I little Programm that shows you the current bitcoin price.
https://github.com/DominicWrege/...
I you want you can help improve it.14 -
1) Read the wiki on git. I probably have enough shorthands and test methods that you won't need much other shit to debug issues.
2) when debugging, remember that if it is there, there's a good reason why I put it there.
3) commented-out code is probably useful for maintenance. I left it there for a good reason. 😛
4) chances are whatever I wrote, was the state of the art at the time I wrote it. There might be better ways to do it now tho.
5) I always work modular. First, understand the structure. (probably also documented on wiki) DO NOT fuck up the structure. If you change it, you document it.
6) If you feel I wrote shit, it's probably because management annoyed the living shit out of me. Pun intended.
7) Your confusion is normal. I don't do dumb shit.4 -
Once spent 2 hours figuring out that I wrote succes instead of success in a jquery ajax call
This experience helped me write success properly on an English exam, so at least it was helpful3 -
During my rookie days I used to glorify the fact that I wrote production grade code using vim.
Lol, explains why I would delay on delivery6 -
Few days ago i niticed one of my (site) accounts was deleted for inactivity. I thought fuck it, ion use that site, lets have fun. I wrote an email to get it restored:
"Sorry i got ass cancer and it took dr lil pump 2 years to cure me and couldnt use the site from the hospital"
Today, i got an email that i got my account back.4 -
I was interviewing for a new position that would be primarily Android development with a chance that I would help out on iOS when necessary. When I got their coding challenge, it had to be done for iOS in Swift. Made no sense, but now I can say I finally wrote a project in Swift.
-
I once wrote a few really nice creative generic classes for an ASP.net project. Later, senior decided that we have to rewrite the whole thing, so he initialized a new project from a template and added my files in helpers/ as a starting point.2
-
Sometimes, usually during the evening, I lower the lights in the living room, put some of my greatest Scotch in a glass, and stare at this fine and beautiful piece of code I wrote a long time ago that I am really proud of.7
-
Hi , im new to programming and codings and my task is to make a output that outputs even number only ( not odd number) so i wrote this codes but its so complicated for me. Is there a better way to write it?
Thanks dears,,20 -
I just wrote a small tool to organize command line arguments in C++. Thouhgt that i'd share
https://github.com/Wittmaxi/...4 -
I just wrote a function with a while loop AND recursion because I wasn't paying attention.
That was fun. Also, MySQL isn't happy right now. I'm posting while I'm waiting for my local service to restart.3 -
Look honey, I wrote this little function that calls an api and submits 80% of the data to my submit form based on the input you give it, ain't that cool?
Her: "Yeah that's okay"
Me: Yeah, yeah it is..1 -
I wrote a program to check if there are empty rooms and email me when the room I want is empty.
So I ran it, and I got the email, But by the time I went to the info desk, that room was taken.
I don’t know why I wrote that program wasting except to waste my time.3 -
I once had to do instruct some students about doing some project. On the first day, I gave some task and on the next day I checked all of them. Once you write codes for years you can realize what can a newbie write. I asked if he wrote that code by himself. And he was sure of it. But he did not know that that code was taken from my blog.3
-
Just wrote a script that takes anything correctly tagged and pushed to master from gitlab, pushes it to the server, builds a jar and creates a docker image from it. On the one hand I'm happy that I don't have to do it from hand anymore, on the other hand I get the feeling I'm automating myself out of a job...9
-
Yesterday, I wrote that Paypal password reset is kinda broken.
Well, today I found out that they have limitation to 20 chars in password and, if you paste longer one, input field will accept only 20 and rest is gone. And all that happens without warning. I mean, you can see only 20 dots, but who is counting password dots?2 -
When I first started my current job, 2.5 years ago, I helped write the class that told the machine how to dispense and deposit money.
When the other programmer left, I decided to refactor that section. I wrote a new class that told the machine how to dispense and deposit money.
We are integrating new hardware that has a very different protocol of communication. I am making a library that will convert universal commands into vendor specific function calls. I am writing a new library that tells the machine how to dispense and deposit money.3 -
Sitting here looking at the shit spaghetti I wrote yesterday (that works) and wondering if it'd be easier to add more spaghetti for the feature I need to add or "do the right thing" and fix 1800 lines before I move on...4
-
That one time I was working on the Mattis quote but wrote “everyone” instead of “everybody” by mistake so started over. Awkward place to stop, I feel. Thought I’d share.5
-
So, the other day, I was working on a Angular Web app which included the YouTube Api. In the event listener, I wrote that when a video ended, a next one would start (from our database).
Guess what. It didn't work.
Then, I wrote a console.log();
It freaking worked! Then, I removed the console.log. It didn't. I tested cases for like half an hour and it still baffles me, why the hell would an output change everything?
devGod works on mysterious ways...7 -
I wrote a little script that generates random numbers until it reaches 420, my luckiest go was 17. What was yours?
Script: https://sharecodesnippet.com/40622 -
A client once send me an email and wrote that his internet connection is down. I replied asking him to just reboot his pc. He thanked me later on.... What can I say....5
-
Everyone's saying "oh my, I'm so ashamed of my code I wrote 4 days ago, it's so horrible"
Well... At least you can relate to someone. When I look at my project's code I wrote half a year ago (or sometime before that) I'm genuinely surprised to see I'm not browsing some library's codebase - the abstraction layers, the generics, the structure... it's brilliant! It's as SOLID as it gets. -
That bad feeling when you leave a project aside for a few weeks and then when you finally decide to continue it you don't understand the code you wrote...
I'm searching a solution for something I already solved once again. FUCK!5 -
It took me way too long to understood what I wrote few weeks ago. After looking at the code for few minutes and looking at my db structure, I finally realized. I also instantly remembered that I wrote that "user is shown as ad" comment hoping I will not confuse myself in future. Apparently I failed.
Temporarily added next line of comment to help the future me.
Deep down I know that I should change function name itself to become clearer, more meaningful and easier to understand.
But writing that comment, making those screenshots, combining the 2 images in Pinta and writing this rant is faster than thinking the new name.3 -
Do not, I repeat... DO NOT approve a pull request that you cannot adequately review. You're more to blame than the person who wrote the code in the first place when it fails.
-
I'm a coder student that make some small projects for customer in the free time.
The actual one hired me for a small program in c++ but he needed it finished in max a week.
I wrote all the logic in 4 day and then I asked for the final design UI to finish it but after 10 days i'm still waiting for an answer to my mails...
Yesterday i wrote him on WhatsApp...
He blue-checked my mex...
In the next days I will hunt him at work to get some explaination...2 -
when u feel that u wrote some godlike code. 2 months later client wants to add new features. then u realize ur code needs major refactoring. "what was i thinking, far from godlike"
-
I've created a code review for merging someone else's code, coz they were signed off sick for the last month.
They're making comments about how it's wrong.
It's code they wrote, but restructured to be more readable.
They wrote incorrect code that was just so illegible they didn't realise.
How do I explain this diplomatically?10 -
Found this beautiful piece of code, that I wrote apparently a year ago .... oh my 😂 🤦♂ 😅
If I could travel back in time, I would would slap myself for doing this. Although I remember, why I did this, because of many min()/max() operations that I needed. I wanted to keep the code, so that I would know, which code piece belonged to which part, but man ... is that badly written! Nowadays with Clean Code style, I would certainly do it differently.7 -
Just got an email from my company that a http server app I wrote years ago exposed the whole server it runs on because of a misconfig parametered...
Can use it to read any file using server.com/path/to/file1 -
So i I got confused on how xor works and fucked up the whole interview
That is after writing all code correctly
I wrote the truth table wrong
I am doing this for 7 years now how can I make this mistake ☠️ fml3 -
Someone blocked access to AWS RDS database and for the past few weeks I can't access the database from my machine when connected to our company network.
Created support ticket to internal IT team and someone closed the ticket. I re-opened the ticket and in the comment someone wrote "Their team doesn't handle AWS access".,
Wrote email to the director of infrastructure and that asshole replied to me asking some questions and after that his been ghosting me for past 2 weeks.
I'm tired and I don't have energy to do any more follow ups.3 -
A friend of mine (beginner) wrote a Python script that calculated the derivative function of an function the user typed in. He showed it to me and
I said: "You should not use eval()!"
He: "Oh, ok. May you write a parser?"
I: "Wait! It's ok. Just use eval!" 😂6 -
To the 8 months ago *me*.
You're an idiot learn how to properly keep a changelog I just spent almost an hour fixig that freaking spaghetti mess you wrote!1 -
All software sucks, I overheard a colleague say. I used to be proud of what I wrote, but after 20 years I realize that I am never going to write perfect code. It may be good enough, but if that's all, than my colleague may be right. What a relief :)2
-
Boss found a bug, fixed it and told him it was commited. Replies couple days later with "you should really check your code better", after checking the live site. Told him that the code still isn't live, just commited (as I wrote), no reply. Admins...1
-
I sometimes wrote song lyrics in comment format on my code while i listen to the music, so my boss will think that i actually write some badass lines of codes.
-
A coworker asked me about a specific tool because he "had heard" that I had some experience with it, whether that tool would allow a certain use case, and whether there was some documentation.
Wait, in which project was that? None of mine anyway, hmmm... ah that one, from a few years ago. Who wrote the reports back then? Can you guess?
THAT MODDAFOKKA!1 -
After 2 days of trying to understand unclear requirements I got for a new project... I discover my boss wrote them....
From the description, it read like he flipped it around from what he actually wanted (there's a difference between parent-children and child-parent)
And he always gave me the feeling that he had gotten it from some business team so I spent 2 days trying to figure out who wrote these requirements so I could ask them.
FML.... -
Don't know.
All I know is that I suck at calculus but I write good code.
Weird.
If I would have to decide, early on I wrote random stuff 'til it worked.
Then I attempted to comprehend what I just did and started reading books.
That's probably when I first understood what I was doing.6 -
Pro tip: always make sure your methods return the correct variable.
I’m currently working with deep neural networks using tensorflow. I needed to generate some test data and wrote a program to create it. I had two text files which each consisted of approximately 5000 lines of text.
I wrote a method that should sort out some words, and make my final data shorter. When I executed the program first time on our server, it spent about 25 minutes, then crashed due to MemoryError (which in Python means that the server didn’t have enough ram). That seemed quite weird since I only had about 10k lines of text, and I even sorted out a bunch of it, and the server has 128gb ram, and nothing’s using it.
Apparently I returned the wrong variable. That meant that my program tried to save 750 quadrillion lines of text rather than just a few thousand.
Always make sure to return the correct variables!1 -
One guy asked me which notebook I would recommend to him. Then he wrote that he likes macbook air because it is thin but he is afraid of system which called iOS and he doesn't know if he can crack games on mac.8
-
Two things: I wrote a program for the BBC that uploaded all their Top Gear content to YouTube and I wrote a web app that the Getty Images global sales team use to sell content to all their customers. :)2
-
Porting a very old program I wrote from Console to WPF app... looking at the source code, I'm amazed that it has been working all these years...1
-
AAAARRRGH!!! I wanted to rant! I wrote a huge text! I got really furious about it! Then drove through some area without Internet, looked something up in the browser, returned to devrant app - and THE FUCKING FUCK TEXT WAS GONE!!!
That makes me even MORE ANGRY!!2 -
So... I decided to refactor some of my old code that I wrote exactly 11 months ago, which was one month after starting work..
My first reaction was: "Was I so stupid?"
Second reaction: "why the fuck my supposed 'mentor' allowed me to write this bullshit?"3 -
Ok, so I know that in PHP, psr2-4 are good for making sure your code meets a good standard, but I'm somebody who did most of that rules with minor differences without thinking 10 years before they were created and when somebody points out that my code isnt psr compliant because i wrote
if($something === 0){…}
Instead of
if ($something === 0) {…}
I get fucking angry....2 -
*Writes magnificent class for company that makes code safer and faster. Nothing proprietary but super useful.
Me: yo boss I just wrote some sick shit, can I use it my projects too.
Boss: No, all your codenz belong to me4 -
When you accidentally revert (ankhSVN in visual studio) changes in code, and you lose all the code you just wrote. That feeling in the pit of your stomach... And the hot sweat/silent cursing... I fixed it so it's all good :).4
-
After finnishing all functionality defined in koncept our boss said that we should write some unit tests.
Wrote first one and already found 2 bugs.
I guess we should start with tests earlier 😅😷3 -
I dug up my old ledger web app that I wrote when I was in my late twenties, as I realized with a tight budget toward the end of this year, I need to get a good view of future balances. The data was encrypted in gpg text files, but the site itself was unencrypted, with simple httpasswd auth. I dove into the code this week, and fixed a lot of crap that was all terrible practice, but all I knew when I wrote it in the mid-2000s. I grabbed a letsencrypt cert, and implemented cookies and session handling. I moved from the code opening and parsing a large gpg file to storing and retrieving all the data in a Redis backend, for a massive performance gain. Finally, I switched the UI from white to dark. It looks and works great, and most importantly, I have that future view that I needed.1
-
I wrote an algorithm that incorporates a 3rd party API. and the algorithm is so fast and optimized that I started to get 429 status codes from the third party API, asking me to slow down my requests, which I didn't think was an issue when I tested on local env.
Now I'm on purpose slowing down my code, to prevent that from happening.
Talk about suffering from success.8 -
Not exactly vacation, but there was this nice-to-have feature in our application that I coded up in the hospital after my wife gave birth to our son. I wrote it during the downtime while they were both sleeping.3
-
Today my senior colleague asked me to write an inline style and make it !important and I started at him for 2 minutes before smashing the keyboard on his head and then I realised that it was just playing in my head so I stopped staring at him and went back to webstorm and wrote that !important inline.3
-
Tight deadline, codebase not mine, I wrote an hack that read a dom element in the page in js extract some data, append it to the query string and then refresh the page to get the desired result. All the rest of the logic is in PHP. I still feel guilty.
-
The most scary thing happens to me is that I wrote a code in staging without any bugs and breaks in production... fuck4
-
I'm down to write multi dimensional Git. I'm tired of losing the code that I wrote in my dream to go up in smoke every time when I woke up.
I just want to commit and push it to the dimension that I'm livin'. So that I'll have access to the code that I wrote in my dream.3 -
I've wrote the shittiest Assingenment ever. My college gave me 92%. I can't believe that they actually read it. I'm angry and also exited :D1
-
I always try to break my code when it works without errors the first time.
Just to be sure that the code I wrote is being used.
Anyone else? -
Me: focused on coding....
Manager: we have that call tomorrow with the customers it guy.
Me: sure.
Manager: could you write the questions down, so you don't forget it.
Me: I Am FUCKING CODING.... I WROTE THE FUCKING SYSTEM ITTSSS MINE I DON'T FORGET WHAT I WROTE YOU PIECE OF SHIT.... -
What are some of your Linux desktop preferences and workflow improvements?
I use Mutate for app launching, DDG searches, and a dozen or so scripts I wrote myself.
I like different URLs to open in specific browsers, so I wrote a script called xhttp that determines which browser to open with URL regexes, and used freedesktop to register it as a browser, and set it as my default.
Anything fun you've done?1 -
On a shitty day where your brain doesn't work, have you ever looked at some code you wrote, and actually get intimidated by whatever version of you wrote that? After stumbling around most of the day, read some beautiful code, I admired it, then realized, holy shit, I wrote this?
"Yeah, I don't know who that was, it looks great, how the fuck did I do that, and will I ever be able to do it again"
Like, I don't think I can, definitely not today, write anything even close to that.
bleh.3 -
Went through some of the first code I ever wrote and saw that I had typed bar == !true...
Oh how the times change -
The shit code I wrote before my cs degree is marginally better than the shit code I write now. The lack of of improvement is related to the shit job I got after my degree. Cs degree did teach me a lot of good oo concepts and design.... That I rarely use due to shit legacy code I maintain.1
-
My first experience with computer was when I was 4/5 years old. We had DOS computer. I did not know anything that time. How to start game or anything. So my dad wrote down steps on my notebook for starting the 'Dave' game. I played that game nearly 2 years, along with 'Prince'. This brings lot of dos memories. :)2
-
I was part of shortlisting committee for workshop happening soon.
So I wrote a script to rank the entries according the answers given to particular question.
There was particular question asking " link for thier social presence?"
Guess what more than 60% ppl wrote as LinkedIn, github, stackoverflow..etc !!! instead of giving the URL.
So I thought of ranking these ppl low, out of frustration, and modified my algorithm such that if those were entries ,rank lower, but my algo failed for one entry which had linkedln as the entry and my algo Did not rank him down.
After 1 hr of debugging found that entry had spelling mistake it was spelled as Linked"L"n.(font was not able to differentiate)
F*** that guy !2 -
At my last job I was the only one who knew PHP, SQL, and Bash (for managing the linux server through SSH). I wrote PHP modules for their CMS that they still use today. I was hired as an intern and made $8 an hour.
-
I wrote a message to the scrum master complaining how unfair is that QA added new acceptance criteria after I finished the story
he sends me back a GIF
and that's all -
Had one of those unicorn coding moments where my from-scratch code worked the first time I wrote and tested it. That hasn’t happened in a long time.
-
So I've mentioned before that I'm pretty much the sole programmer for my robotics team. I'm on vacation for a week, and the other programmer has to take over.
Is it normal that, since I made the code work and wrote it almost all myself, I am fearful that she's gonna fuck it all up? I kind of want her to work on it slowly so I don't worry too much...3 -
I feel shitty cause I've never wrote near 100 lines of python code or just a large number of lines in any language. I want to write large amounts of code that will actually work.10
-
Wrote a util program/script last week only to realize today that I already had one which actually did better....
Just couldn't remember it last week. -
Today I trolled my Italian dev colegue by telling him that I like to listen to creepypasta but I wrote the word like this: "creepy pasta" he typed for 10 minutes but only sent the following:
"Your... listening to pasta Barilla ... ?"
I hope to troll him more in the future.4 -
Okaaay.....so after I got fucked at the technical interview i returned there the following day and wrote them code for a system that was actually on their pipeline
Left the thing 80% complete and they were like: Amaizing we will be in touch
And I left bouncing1 -
Just found my first little game I wrote in c++ and opengl(like 5yrs ago). Need to rename over 300 file names, class names and for each class their members names and function names now because ewww how can you call vars in programming like that. Porting it to Linux now. Library linking is working yet. I remember how awful it was to do that shit in vs. In Linux its ez. Also wrote a makefile because vs always compiled my whole project every time I ran it (for whatever reason).
I think that's what I'm going to be doing as a side project this week.2 -
I really fucked up thinking I had all the time in the world.
I also wrote very shitty code but I know that would've been hard to avoid, so it's cool. -
I wrote a little webserver console app that would allow me to test another project without bypassing the DRM I wrote for it. Unfortunately, after compiling, the console app immediately closes on startup, not being at all thread safe. You might say, the worst tool I've ever used is one of my own creation...
-
I wrote a blogging platform around 3.5yrs back in PHP. My friend uses that, and apparently wants me to update the code. To which I refused saying that I am too busy. But the real reason is that it is one of the purest form of cancerous shit I ever wrote. I can't even look at that code now. Its like abandoning your own child, because it is too ugly... Here's a snapshot of the code, I don't even know what this does anymore..
Moral: Don't give your code to your friend no matter how shitty it is, you will end up providing lifetime support for it.1 -
By far the most stupid email I ever got was a feedback to a documentation paper that I wrote.
The email's author went on a rant for long paragraphs, suggesting how the content should be structured, written, pictures suggestions ("something like a box with arrows" kind of description) only to realize, I guess in the middle of writing the email, that my approach was much more user friendly, easier to understand and to follow.
So, after this looong rant the email basically ends with "I see what you did there; forget what I wrote before. Cheers."
My brain stopped for that day. It couldn't handle it.2 -
FUCK!!! I JUST FINISHED WRITING THE MOST AWESOME RANT BUT THE APP CRASHED RIGHT WHEN I WAS ABOUT TO POST....
TLDR: I wrote an old app and now need it again and amazingly it works...
This pic is now not so effective anymore but that was how I was feeling when I was writing the original7 -
How to interpret when you receive bugs reported for your application?
Should I be happy that someone is using them or just be sad that I gotta fix them and how poorly I wrote the code.
Note: will obviously consider turning some of them into features. Though not all.2 -
Was feeling low started sifting through gallery and found this picture i snapped a year ago.. now i can't smiling. The algorithm i wrote was so shitty that it was using 4gb of RAM.
Never thought an error can make me happy -
out of curiosity, what phone do you have? 📱
I myself have a One plus one, first generation (w/ cyanogen logo on the back), won via a Python script that I wrote 😎 I also use the TugaPower ROM 🇵🇹22 -
Confession!!
Ohh Lord, Please forgive me. Today I committed a sin and tomorrow I will have to commit it again. I wrote a shitty code and will have to write it tomorrow also. I am so ashamed of myself. I promise, I will refactor the code before releasing it for code review. My excuse for doing the sin is that I want to make it work first, it is little complex. I hope, if someone will stumble on it, then that person will not judge me by few shitty snippets I wrote to make it work.
Thanks,
An embarrassed programmer3 -
Wrote an Android app for the company I work for. Performed a re-write of their iOS application. Wrote that in Swift. Now working on .Net stuff. I don’t think i’m being paid enough for knowing all of these technologies.3
-
Sat down, wrote 2 hours worth of code and it didn't have any bugs when I deployed... what's this that I'm feeling?2
-
Somehow I wrote some code that ended up comparing a string type object against a pointer of an unrelated class. There are NO functions to convert that class to any kind of string representation. Let alone ones that would allow that to happen in C++.
WhyTF did the compiler not pick up on this?5 -
Problem of developers
When he tries to sleep at night, the code he wrote that day comes to his mind and he starts thinking opps I would have done that in a better way like this. I would have optimised that function like this. ok tomorrow I will do these changes.1 -
Debugging an issue last week that involved a duplicate class. Took about 10 mins of debugging (console.log) to realize the function wasn't being called.
Me to the person I was helping: we should comment that this is deprecated, can you add it?
Today while reading over the (unchanged) code, I see a comment block above the class **that I wrote awhile ago** which says exactly that...1 -
I can't entirely remember the code of my own web portfolio that I wrote a few months ago! The code is not even that bad, but I'm just tweaking stuff and building more on top of these ruins. There's a cost to rewriting something from scratch and it's not worth it. I'm using Jekyll and Github pages.1
-
I wrote some code in a different pattern than that was seen in the project. Got positive comments, but the senior said that as per the project rules you are not supposed to write like this.
So ended up writing some duplicate code but somehow it incorporates my pattern and existing project rules.
Should I be happy or sad? -
When I was 11 or 12, and wrote my first webpage in php, designed with tables. Tables was the shit back then. none of that fancy flex box or bootstrap, and 50% of the internet was flash. T'was a good time to be alive.3
-
The database column contains values, yet there is nothing in the code that inserts or updates the values in that column.
I'm not sure if the original author of this program wrote bad code or was some kind of malicious wizard. What I do know is that it scares me.5 -
Sometimes, I use the Twitter's advanced search to find a tweet I wrote saying (sic) "DUDE, I LOVE YOU", because it also linked to a repository that I found (and still find) overly useful, but can't manage to remember anytime I need it.1
-
My biggest challenge is not telling the people who wrote code I get to maintain that it is a big pile of shit. My fear is I will forget I wrote said code and proceed to complain about said code. Then someone will point it out that I wrote said code. So it is kind of a self preservation strategy.
Also, in meetings, when my boss calls something a "piece of software", I have to refrain from giggling.3 -
There is an easter egg in chrome devtools behind a colorful icon.
I just want to say fuck you to whoever wrote that message10 -
Silly mistakes while coding, fuck!!
I wrote a loop:
for(i=0; s[i]!='0'; ++i){
//Code
}
and thinking what's going wrong🤔
.
.
.
After sometime I realized my '\' wasn't pressed 😢😶
And after that:
SILLY ME 😁😁 is only thought in mind....5 -
I wrote 170 lines of PHP code consecutively and I haven't ran it yet...
I'm scared of sending that form.3 -
So 9 months back I wrote a script that asked for company's symbol to fetch data from a site, just one symbol a time. There were around 300-350 symbols, I tried storing symbols in a text file and supplying input from it, it did not work then so I decided to leave it as it is. Today when I took closer look at the code I wrote, I found that the symbols were being fed to the script, however, the "\n" was included too, so my script was failing to get data in bluk. Modified it today, it's all good. Its kinda crazy, 9 months and only thing stopping my script to work was a freakin "\n".
-
I would love to finish a personal project that I've spent three summers making. Wrote 3500+ lines of code and never got around to finishing it. 😕3
-
Wrote some macros for Excel to make my job easier and decided I'd rather only do that part of my job, so I went back to school to learn to code for reals
-
I am I the only one who doesn't like sprint demos? I don't care what someone else worked on. Yeah they wrote some code that does stuff, great. I don't have time to understand it and when I have to fix it I learn it.
-
For anyone interested in Digital Signal Processing, I wrote a little tool in C[1] that implements the FFT algorithm and takes audio samples to visualise the spectrum using raylib.
I might later add low pass and high pass filters.
[1]: https://github.com/mirimmad/FFTViz8 -
this.post != rant
Just had my first job interview for backend dev position. Hopefully, it went well. Not that much technical questions but the interviewer sure did verified all the things I wrote on my cv. Good thing I included my side projects, that way we have a topic to talk about. Hope ill get the offer. Yaaaaas!!! -
I just wrote a pretty long story to post here. I forgot one word in English and wanted to check it out. I also forgot that I was working earlier on an app for work and disabled apps in background. When I opened devRant again, whole story was deleted. FUCK
-
I uninstalled Brackets today. I haven't used it for about a year since I moved over to VSCode. I genuinely shed a tear thinking about the websites I made with it. I wrote my first line of Node in that program... Goodbye old friend1
-
I wrote the todo app some time ago. The code is not beautiful, but the application works perfectly for me. I hope that someone will like it. Enjoy!
https://github.com/Pelski/Memo5 -
if you ask me how the method i wrote works because you don't understand it, and you don't let me finish my sentences without interrupting me, then you deserve to be punched.
LET ME FINISH WHAT I HAVE TO SAY YOU DUMB SHIT
I WROTE THAT FUCKIN METHOD
I KNOW WHAT IT DOES AND WHY -
Why can’t I write code that just does its job ! Why the fuck in this world I want to re write everything I wrote 🤬1
-
So I wrote these E2E tests to test my credit card expiration notification emails. So I wrote my code, and tested it. Tests failed. I spent the next 6 hours (spanning 2 days) debugging my tests. Come to find out that the tests were fine all along. The issue was my code.
Apparently everything has dates starting at 1 (day starts at 1, year starts at 1). But MONTHS. Months start at 0 -
I was assigned a project which was previously done by another fresher, the project used angular and bootstrap. That fucker wrote custom styles for the fucking bootstrap classes!!! Every time I use "btn-primary" the button won't become blue, it becomes white!! Fuck! He even wrote his own fucking styles for the grid classes!!
I was so frustrated, I had a discussion with my CTO, he told me, that after 3 months, we'll be scraping this and moving to a new frontend. So I'm stuck in this hell for 3 months. -
The person who wrote this map framework in our old fat client has such a deranged mind that 4 days in I still haven't fucking clue how it works
-
I hope that when I wake up in the morning, the racket code I just wrote from midnight to 3am makes as much sense to me as it does at the time of writing.
Banana Language always seems to flow easier when exhausted. -
I had an a assignment to submit in the same week i had an infi exam. I wrote this comment and submitted. I submitted it a bit late so I lose points for it, but except that I got all the points.
FYI I know infi is written as "Infinity" in English, but learned that later. -
All day I wrote pretty error mesages for all sorts of nonsensical inputs to a program that only I will ever use.
But now I still need exceptions for the typos in my exceptions for the typos in my code for... what am I trying to do? -
Just finished the testing of the first script I wrote at work to automate a vital task that had to be carried out manually on a daily basis.
It feels so damn good to know that the whole process is free from the variable of human error.1 -
I think the most excited I've been about my code was when I wrote my first own library to communicate to Google spreadsheets via their rest API.
I didn't find any working modules in perl for that so I wrote my own. Still using it every now and again! 😁 -
Best: getting a job in systems programming which was my dream since I wrote my first hello world about ten years ago.
Worst: recognizing that time isn't the restricting factor but energy, I'm often just too tired to work on side projects -
First games console ever tried: NES. Around 1986.
First computer:
Sinclair Spectrum +2 !! Around 1988. I used to buy those books that came with code. I wrote all that code in but hardly ever played the actual game.
Once met the guy who created lots of game faves at the time (manic miner, chucky egg etc). That's where it all started...4 -
I am really fed up with people emailing me asking about how they can use methods of a library I wrote when the answer is literally in the f***ing JavaDoc. At first I thought it might be me not being comprehensive enough in my doc, but when I literally started sending copies of what I wrote there and got a lot of "Thanks that makes it clear"emails I became really fed up with the laziness of some people. I find it disrespectful to my weeks of work for someone who wants to use it to not read a few lines when in doubt.1
-
At my first job as a dev, after about 2-3 weeks in, my team got a new member. Him and I were the only devs in that team. Supposedly he had 1 year professional experience of C++. After about a week I started noticing he was slow, he also wrote down basically everything I said, if I said I needed a bathroom break he almost wrote that down too.
During a break he asked me; what's a constructor?
Needless to say I was doing both his and my job for 6-7 months before someone else realized he was useless and removed him. Since I was new I didn't know how to react, do I tell anyone? :-/
On the bright side, I learned a lot and we still delivered well before the deadline.1 -
Gonna miss a deadline. Not sure if the fact that I'm insisting on writing unit tests, or the fact that I wrote only 4, is sadder.
-
This was a few years ago in my 2nd year of college. my very first foray into web dev for a team project. long story short, I wrote over 16,000 lines of code. teammate #2 wrote barely 1,000 lines. teammate #3 wrote around 250 lines, around 200 of which I had to rewrite anyway because it was such complete trash. and yet, still, it was this class that showed me I wanted to go into web dev. LOL3
-
Me post a lot of investigation in a slack thread and come to a conclusion
20 mins later engineers in thread post things like they didn't read anything I wrote and come to same conclusion, but involve other parties AGAIN making us all look dumb
Why do they just ignore what I wrote, literally linked the same splunk dashboards and same error numbers that I did. I don't get it.
Why should I care? I hoped I could use this as a way to convince manager once again that I do the things he asks me to, but it seems it's all useless.
Really want a new job but tough times, should be happy I even have a job I guess -
The DataEase system that tracks escheated funds I wrote in the last millennium that lives today! The entire system can fit on a 3.5” diskette 😀 Does anyone remember DataEase? Popular dbms eons ago. Fun fact - Microsoft wanted to buy them to be Microsoft Access but they turned down the offer. 😫
-
I don't know if it counts, some weeks ago I wanted to publish my first telegram bot on github, so...
Well, I was quite nervous when I wrote it, and I didn't care about writing good code... That wasn't even passable... It looked like an american coffee... Washed, tastes bad, looks ugly...
I wrote it back in two days, changed module from telepot to python-telegram-bot (more pythonic), wrote a c extension for a xorshift algorithm and pushed it on github.
Well, that was quite satisfying, but I became pale when I noticed it didn't need to be restructured, but entirely rewritten1 -
Today I had a CORS error in production, noticed 1 hour in that I accidentally wrote "localhost:5000//API/*"
1 hour, for a extra slash.1 -
When I wrote a templating engine (great overstatement) just for myself to learn, I had this bug in php5 and regex that would crash the whole apache server.
Literally nothing worked and I didn't know why. After rebuilding everything I tried with regex using only simple string manipulation all of a sudden everything worked fine. -
Stupid question
I wrote a script to scan a site for this tv I want to buy. At first, I just wrote a get request to the site every 30min. After while, I realized that the TV is selling out because it’s getting stocked, and then sold out within 5 minutes.
Can I send a get request to this site every 5 minutes, without causing harm to the site? I really don’t want to mess this guys site up lol7 -
wrote myself a toml parser, it works alright but the official specification's in ABNF and boy, oh boy, half the work was figuring that shit out. But, hey, at least I didn't need to actually KNOW enough toml to do it
-
I was fixing a bug, wrote some code that was really neat, still it looked like to much.
Then I realised I could change my code to 4 simple rules vs 50 -
I came back to my java code almost 2 months later to continue developing it and immediately understood the entire code where i left off. Does that mean i wrote good code?2
-
"The table names are irrelevant anyways, unless you want named tables"
I can barely believe that this sentence makes sense, if you put it in context, even though I wrote it.3 -
Just spent the whole night awake to do a university coursework.
Not because I was late or it was difficult, but because the framework we had to use was so wrong that I had to take a 20 minutes break for desperation for every line I wrote. -
That day (today) when I posted at devrant that a program that i wrote was shown in a movie and the only reaction was the comment that this must be a joke.
Then I deleted the rant.
Thank you for the intense day!10 -
I wrote 2 steps (20 words max) instruction for my team mates how to run local env.
30 min later a dev pings me that local env is broken. I found out that he skipped 2nd step.
He claimed he had overlooked it :D1 -
I (with some help) wrote a gui app for Ubuntu that would help running bin files without the need of the terminal.
The sheer excitement from getting that stuff to work was what sparked my interest. -
on an interview the interviewer said that there's a question on the test that seems simple but actually has a more sophisticated solution. and all i thought of and wrote was a simple solution. hmm1
-
I started with logo where you typed commands to run logo. I wrote a script to create shapes. Started web dev in college when a friend taught me bit of php. I felt that it was the best thing ever. I just couldn't stop exploring more and more since that day. I've worked with c/c++ projects too.
-
I think that happened with my first Hello world. I was so wowed that I clapped my hands loudly, and the other people that were in the room (some family acquittances) looked at me with that WTF look and wondered if I had really be gone mad. It was wrote in C, BTW.
-
I cannot access one of production machines from home while behind VPN. I wrote to support that I need to access it right now and stated this is very urgent. They changed priority form high to low... access will be granted withing 2 weeks....1
-
I just wrote pure garbage for the last two hours hoping that if I crank it out fast enough it will have been worth it.
You already know what happened next.2 -
"Anyways trust code that you wrote before but... never rely on that!"
I wrote some code mounts ago, now when I want to refactor it see a bunch of shit, I delete them all and after hours write exactly the previous code!!! just because i don't put some STUPID comments... 😑1 -
Have anyone experience unexpected behavior using JavaScript? So I wrote this script that manipulate the DOM... however on over clicking a button... Something breaks, however the deadline is tomorrow. Code review is successful. I am sure no sane person will click a button that many times 😅10
-
I discovered you could edit the Visual Basic code in MS Access. I would read the code that was in there and figure out how i could extend it to do what i want. first code i ever wrote was a switch statement to control whether a set of buttons were enabled based on a dropdown value.
-
Many of my friends used to commit unnecessarily just to increase their commits and fill the contribution graph. To remove that shit, I wrote a Chrome extension that would make your contribution graph uniform!
Link to the repo: https://github.com/ashwini0529/...2 -
A small program I wrote in Turbo C which attempted to mimic the Starfield screensaver. This was the first moderately complex program that I wrote which drew something on the screen through code.
-
Ok Hibernate, when a variable has "ID" in it, you write the variable with "ID" in it. Not "Id".
Took me long to see that.
(yeah I should have wrote Id tho. But that's not the problem here) -
A few days back I wrote one blog on 'Be a Happy Developer' topic. Later on, I figure it out that I am the most boring developer among the developers I know.
-
Instead of doing the daily task on the computer for my summer job...I wrote a program that did it for me daily...Best summer job ever
-
Wrote a script for mail merge with app script works flawless on my account, then that shit gives message blocked error with the clients account.
I think this is what they say a devlife1 -
The first code i ever wrote was a case statement in Visual Basic. I didnt really know what I was doing, just looking at the code that was already there and figuring out how to extend it to include more cases. I was about 17 at that point. I didnt properly start learning until I did Java in my first year of University.
-
*starts reviewing code that I wrote at some ridiculous hour*
var glPassiveDebugging bool = !true
and to think people say that I'm too serious, and never do anything silly... -
I am deep onto a project that helps me learn a new lang, so of what ever resone I didnt implement testing of latest code jntil afterwards...
but when I wrote the test and it worked on first time... thene wrote test still worked.. wrote failing test and it failed... as it was suppose to...
*nagging feeling starts*
I am still convinced that some thing is wrong... but it is my personally hobby project so I have this terrified excited expectation of the future of my project xP
cannot decide if this is a rant or some thing else *cryies and laughs* -
Some time ago, I gave a tutorial and wrote page with some brief instructions for configuring and start using git for a team of researchers. A few day later I came back to check how they were doing and I found that following my instructions, several people were committing as:
John Doe <john.doe@example.com>
Perfect! I don't think that there is anything else I can do to help them. -
Low self-confidence dev:
I'm testing out code that I've written for an hour and works the first time I run it. My first thought: "Well, I guess I'm just getting better at writing code with less obvious bugs -- better debug through all the LOC I just wrote." -
I just spent the last half-hour fishing a bug that happened to be caused by excessive react code lately. 😭😭😭
I wrote onSubmit in a vanilla JS file rather than onSubmit😭😭😭😭6 -
Honestly, am I the same guy who wrote this code 4 years ago? How comes I never commented it! Shit man. What do you do with code that works just fine but you don't know how it works..???2
-
I was working at one of my dad's friends during vacations, he asked me to build a flash form and make it send an email.
And so I followed a tutorial, and from then, I wanted to know what the guy that wrote the tutorial knew. And that's that. -
I had to generate different kinds of graphs at compiletime and had to compile a graph and write down the code size for that specific width/height in addition to one of three implementations which all need to be evaluated. I computer scienced the shit out of it!
I wrote some Rust code that easily lets me build some graphs with the dimensions passed as input parameter. Then i wrote a method that converts the graph into the definition of the graph in a C header (sadly the only way) and wrote a bash script that executes that rust code with all possible dimensions and saves the header into my source folder. Then i build the application and write the programsize into a file.
In the next step i run a python script that reads all the generated files with the sizes and created a csv file which in turn can be used by excel/numbers to visualize the dependency between depth of graph and code size 😄
I had only some hours for it all, it is messy but works 😄 -
i had this crazy dream that there's a code ghost that erases the blocks of code i wrote and produces bugs to my programs... damn this is the first time i got really scared.
-
One thing I would really like to be able to do: always understand my own code.
Boy it irritates me when I forget to make proper documentation and have to loo back at some code I wrote days before. Knowing what I was thinking at that moment would be just great. -
The more I learn, the more easily I get triggered at little things.
Read heapq python documentation to implement a min priority queue
Intuitively wrote heapq.push and heapq.pop in my code
Got to know that it's actually heapq.heappush and heapq.heappop
TRIGGERED! -
I just uninstalled Anaconda Python because it takes up about 8GB... and I don't remember the last time I used it...
That being said I did sort of use Python last week at work... though even that's rare, just that I had a project used to analyze logs I wrote over a year ago... that needed to be used.11 -
I finally published my first medium article, It's on Sticky sessions for microservices.
It took so much of my time to piece everything together that I wrote a small how-to, so that my fellow devs should not suffer like I have.
https://medium.com/@gvnix/...6 -
I finally wrote my exemption test for computer literacy(covers ms office products and basic computing theory ).never have to go to anything concerning that course ever again and got 93%+ for all the tests required to get exempted
-
As i wrote A DR doc I suddenly thought that making a backup of our SSL certs is *probably* a good idea. Hello pfx 🔒1
-
I wrote a function a few months ago that made 10 http calls for the same data... had to refactor it because users were saying it was broken. FML but I've learned my lesson.
JUST ONE CALL. -
In my early programming days I wrote a C++ program to store marks of n no of students but didn't got the output I checked for 3 hours then found that I was storing the data in another integer value and not in the array.
-
I wrote a networking test program that connects to my machine within the address range of 127.0.0.0/8.
The program keeps locking up.
I guess I am just hangin' with my homies...4 -
Tech Lead: I looked at their API code, their devs are so smart. They wrote the whole thing in three lines.
Me: I bet it's super readable!
Tech lead: that doesn't matter they are really smart.
Me: I'm sure they are ... 😒1 -
I've set a new personal best in being ghosted. A recruiter wrote to me a few weeks ago on LinkedIn about a new "opportunity". I answered that I would be interested, but I've got no more replies afterward.2
-
!rant
Just found my first piece of code I wrote 12 years ago, back then OOP was still the thing, man I literally fucked up everything you could fuck up about shared state. Why exactly have we never found a solution for that shit? -
I was asked by one of our project managers to create a new big API for a customer.. Next day I found out that he already sent a PDF (that he copied somewhere) to the client, containing documentation of the API before I even wrote a single line of code 🤐1
-
// no rant
If you use brackets, I wrote an extension that lets you hop outside of auto-completed (), [ ], and {}. it's called TabEx and I'd love your feedback!
Install via Extension Manager or view on GitHub: /paritho/tabex -
!rant
Let's say that you have (or had) a colleague that you utterly despise for whatever reason. Have you ever wrote convoluted or straight up spaghetti code on purpose just to make his/her life harder?
(I am aware that authoring bad code can bite you in the ass down the line, just curious to see if anyone ever went that far) -
Have an object that uses a macro to define its function bodies. I needed to interface to that object in a different way. So I wrote and object that calls functions on that object and presents a different interface. I used macros to define the function bodies...
-
Reading over some docs today and I had a horrible flashback to something that I wrote when first learning how to code.
I couldn't figure out how to make a variable accessible in an imported file, so I made it a builtin. I might cry. -
hand-wrote me some gnarly-ass SQL today to resolve a prod "emergency". I was kinda proud that I did so and only had to google syntax once. Then my pride turned to shame when I realized what a spoiled little bitch LINQ has made of me.1
-
Here's the dataset, model training, and output phases for a generative adversarial network I wrote that basically learned about...Me, and subsequently created a custom social media avatar.
I wrote the damn thing and it still couldn't figure it out. I'm too complex. My therapist was right.4 -
Well, there was some urgency but no deadline as a it was a personal project. I wrote a job hunter that applied for everything I had any kind of shot at
-
!rant
I am trying to write a program in c which forks a process and exec another program i wrote. I want to redirect output of child program to parent program then after getting that output parent will check some conditions and if they are true then it will resume child program and will do more stuff. I have successfully redirected output of child to parent using pipes then I wrote code which should be read in child program but it isn't getting read. I tried by passing pipe read and write ends as cmdline arguments to child program but it isn't reading. It is blocking at that particular point. Stuck for more than 5 hours at this. Can anyone help me here? Fml :-( -
Annoying monday - nearly no code but useless things like trying to use a Windows keyboard on some old MacOS X
On the other hand: for the first time I wrote a one line for loop in bash that worked - without googling!1 -
I got this huge onboarding bonus with Airbnb. I wrote life changing artistic code that affects the lives of millions. Then I met this incredible hot chick and bought a house in Malibu.
Not