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 - "life is code"
-
This code review gave me eye cancer.
So, first of all, let me apologize to anyone impacted by eye cancer, if that really is a thing... because that sounds absolutely horrible. But, believe me, this code was absolutely horrible, too.
I was asked to code review another team's script. I don't like reviewing code from other teams, as I'm pretty "intense" and a nit-picker -- my own team knows and expects this, but I tend to really piss off other people who don't expect my level of input on "what I really think" about their code...
So, I get this script to review. It's over 200 lines of bash (so right away, it's fair game for a boilerplate "this should be re-written in python" or similar reply)... but I dive in to see what they sent.
My eyes.
My eyes.
MY EYES.
So, I certainly cannot violate IP rules and post any of the actual code here (be thankful - be very thankful), but let me just say, I think it may be the worst code I've ever seen. And I've been coding and code-reviewing for upwards of 30 years now. And I've seen a LOT of bad code...
I imagine the author of this script was a rebellious teenager who found the google shell scripting style guide and screamed "YOU'RE NOT MY REAL DAD!" at it and then set out to flagrantly violate every single rule and suggestion in the most dramatic ways possible.
Then they found every other style guide they could, and violated all THOSE rules, too. Just because they were there.
Within the same script... within the SAME CODE BLOCK... 2-space indentation... 4-space indentation... 8-space indentation... TAB indentation... and (just to be complete) NO indentation (entire blocks of code within another function of conditional block, all left-justified, no indentation at all).
lowercase variable/function names, UPPERCASE names, underscore_separated_names, CamelCase names, and every permutation of those as well.
Comments? Not a single one to be found, aside from a 4-line stanza at the top, containing a brief description of that the script did and (to their shame), the name of the author. There were, however, ENTIRE BLOCKS of code commented out.
[ In the examples below, I've replaced indentation spacing with '-', as I couldn't get devrant to format the indentation in a way to suitably share my pain otherwise... ]
Within just a few lines of one another, functions defined as...
function somefunction {
----stuff
}
Another_Function() {
------------stuff
}
There were conditionals blocks in various forms, indentation be damned...
if [ ... ]; then
--stuff
fi
if [ ... ]
--then
----some_stuff
fi
if [ ... ]
then
----something
something_else
--another_thing
fi
And brilliantly un-reachable code blocks, like:
if [ -z "$SOME_VAR" ]; then
--SOME_VAR="blah"
fi
if [ -z "$SOME_VAR" ]
----then
----SOME_VAR="foo"
fi
if [ -z "$SOME_VAR" ]
--then
--echo "SOME_VAR must be set"
fi
Do you remember the classic "demo" programs people used to distribute (like back in the 90s) -- where the program had no real purpose other than to demonstrate various graphics, just for the sake of demonstrating graphics techniques? Or some of those really bad photo slideshows, were the person making the slideshow used EVERY transition possible (slide, wipe, cross-fade, shapes, spins, on and on)? All just for the sake of "showing off" what they could do with the software? I honestly felt like I was looking at some kind of perverse shell-script demo, where the author was trying to use every possible style or obscure syntax possible, just to do it.
But this was PRODUCTION CODE.
There was absolutely no consistency, even within 1-2 adjacent lines. There is no way to maintain this. It's nearly impossible even understand what it's trying to do. It was just pure insanity. Lines and lines of insanity.
I picture the author of this code as some sort of hybrid hipster-artist-goth-mental-patient, chain-smoking clove cigarettes in their office, flinging their own poo at their monitor, frothing at the mouth and screaming "I CODE MY TRUTH! THIS CODE IS MY ART! IT WILL NOT CONFORM TO YOUR WORLDLY STANDARDS!"
I gave up after the first 100 lines.
Gave up.
I washed my eyes out with bleach.
Then I contacted my HR hotline to see if our medical insurance covers eye cancer.32 -
Interviewer: "I checked your Github, your side projects look very interesting! Tell me about your other hobbies."
Me: "other hobbies?"11 -
Things I've learned throughout my 5 - 6 years as a programmer.
- StackOverflow is full of assholes.
- CMS's are for weaklings.
- The best feeling about waking up in the morning is figuring out how to solve that error in your code.
- You no longer think about normal people things. Your mind is full of code.
- You're practically a computer.
- ALWAYS backup and save your stuff or you WILL regret it. Enable autosave if possible.
- RIP your social life (if your friends don't know squat about programming)
- Darkness is better.
- Being a programmer is amazing.26 -
HTML: Hate This Meaningless Life
CSS: Can't Style Shit
JS: Just Shit
Java: Just another vicious asshole
PHP: PHP Hates People
Go: (the "fuck yourself" is silent)
.NET: Now Everybody Thinks (they can code)
I really should find a more productive thing to do on my breaks.19 -
Not that much dev-related, but still...
I wish I had a way of decompiling the code of my life, correcting it and then compiling it. I was diagnosed with Depression yesterday and it has turned me absolutely empty. The kind of empty where you feel like you're a void.
I'll survive. I know that much. I also know that it's going to be even harder than it was before.
Just for lighting the mood. This is also my struggle.50 -
Bruteforce IRL
So I recently bought my first house (yay!).
Whilst doing the initial viewings I saw the below on the backyard and thought "hey that's neat, I can leave a key in there for when I come in late and my fiancée is asleep.
Fast forward to moving in day and the previous owners hand me the keys so I ask "oh yeah, what's the code for the keysafe" and he just looks at me completely blank, so I'm just like "the box on the wall out back" and he's just like "oh! So that's what that is. No we've never had the code for that, bye."
Being a pen tester I'm just stood there dumbfounded thinking "How the hell can you have a locked box attached to your house and not want to know what is inside!"
Anyway, that brings us to now where I'm stood outside in December on a Sunday morning brute forcing my way into my own keysafe.
I wish this didn't run so many parallels with my work life 😂51 -
>Building advertising platform
>Life is good
>Fire up the dev server and open in browser
>No assets
>What the fuck
>Check code and config for like an hour it's all good
>What the fuck
>Try incognito browser, it works.
>What the fuck
>Oh yeah. Adblock. Fuck.4 -
Is this the code life
Another scrum meeting
Caught in the the Node life
No escape from reality
Open your eyes
Look up to the screens and see..
I'm just a dev boy
Doing some debugging
Because there's warnings here
Errors there
Segment faults
Everywhere
Anytime you distract
Takes another hour from me
From me
*piano starts
Mama. Just committed a bug
Merge the branch to production
Did it fast for milestones
Mama. The repo has just begun
But now they going to throw the stack away.
Mama. U u u uu
Didn't mean to code in LAMP
But it's the only stack i know how to setup
In Ubuntu. Without docker
I really don't get vagrant
*piano
It's too late
My team is done
Some dev is working in Nepal
A UX dev. Now what is that?
Goodbye everybody
I've got to go
Gotta leave this lame meeting
And face the truth
Oh nooooo. I i interns
(they have questions)
I want to debug
I don't want to stay till 3 in the morning
*epic guitar
I see a litlle dev over there
Let's code review, let's code review
Did he do the last commit?
Coding in the white board
Very very frightening me
That's bug(that's a bug)
That's a bug (that's a bug)
What the f*ck did you do that?
Magnificcooooooo
I was just coding and nobody liked it
He was coding and nobody liked it, spare his some time to do his debugging
Easy man. Here go. Will you let me code?
A meeting. No,we will not let you code. ( let me code)
A meeting. we will not let you code. ( let me code)
A meeting. we will not let you code. ( let me code)
We will not let you code
Never never let you go
Never let you code, oh
No no no no no no no
Oh mama mia, mama mia ( dude, you've gotta let me code)
Screw you guys, I'm gonna code and commit. Commit. Comiiiiitt!
*epic guitar
So you think you can review me and spit in my eye?
So you think you can dump me and erase my branch?
Oh baby, cant do this to me baby
I've just have to log out.
I've just have to log outta here
*epic guitar solo
Nothing really matters
The users will not care
Nothing really matters
To them
Any way this code blows10 -
Had a PR blocked yesterday. Oh god, have I introduced a memory leak? Have I not added unit tests? Is there a bug? What horrible thing have I unknowingly done?
... added comments to some code.
Yep apparently “our code needs to be readable without comments, please remove them”.
Time to move on, no signs of intelligent life here.39 -
Me (5 days ago): A major, life-threatening hurricane is coming. I need to prepare. I know you have a need to launch so I will do my best to finish your project.
Client: Ok, stay safe.
Client (today): I know you're not done. You're late actually. To provoke you into further action, we went ahead and announced the launch and people will begin using the website now.
Me (at the store buying food for the next two week): What in the actual ... Here is your code. Finish it yourself. May God have mercy on your cold, dark soul.7 -
someone who thought me about computer when i was a child. someone who thought me machine code, and cobol. someone who thought me about the world. now he is, my dad, hospitalized again (12th times already this year) for cardiac arrest. and today, he is getting better and showing a lot of progress.
This situation thought me again about how life works and how hard can it be. my dad divorced with my mom since i am 3 months old and i've been living with my aunt since. and now he married again with a women with 2 child. i though he was gonna be happy. and apparently not. at the time of the cardiac arrest, his wife don't even want to bother and getting involved if her husband got anything emergency like this, every single thing is thrown at me (or my aunt), from calling the ambulance, paying the hospital and medical bills, accompany my dad, every minor perks, Everything and Always. Once, i reach the point and i'm very angry to her, but my dad always hold me back. and now i don't even want to bother, care, or whatever to his wife again. i just care for my father.
This will temper me more and more, for anyone who searching for your love of your life, please be careful. there is still alot of woman who doesnt have any heart.
Life is hard.10 -
I am done with people, I just want one single room, with good internet, dual monitor setup... And I can spend my whole life like that... Being social, fuck that shit... I have devRant for that... and rest, I just want to code, listen to music, drink coffee and sleep like hell...
Why is it that I can understand some other dev's code faster that understanding someone's feelings. Why is it that I am good with principles of Programming Languages, but not the basic Principles of Humanity... Yes, I agree I don't have feelings, but is it wrong not to have feelings, I am a dev, I am supposed to be good with Codes, not humans... I want to be in my small space of close people. (My family), and that's it... I am no good with others. I hate Facebook, but love devRant, I spend more time on StackOverflow than that on WhatsApp. Why is it so... Why29 -
You start new job and take over huge codebase without tests and documentation.
It turns out programming language is custom language made by previous developer who was the only one maintaining project.
There is no source version control.
Language runs in vm developed in Fortran.
No one cared to this day cause everything was working.
Project is critical for multi billion dollar corporation that sells medical equipment that keep people alive.
You can’t test your code on real devices only on virtual ones that were made using same custom language but you can’t find source code for it.
Previous developer accidentally died before you were hired.
You signed contract with penalties that will ruin your life.
Your first task is to add “small” feature.
Good luck !12 -
So apparently devRant is a problem in my life. As those of you who've read any of my stuff here know I work at Victoria's Secret. So two of my friends come in just before I was ending my shift to see what the plans were for tonight. The usual - hit the club, crash at one of our houses.
Thing is, I was scrolling through devRant when they walked up. (the below is paraphrased)
Friend1: Ugh, you're still on that thing?
Friend2: Is she really? <looks over my shoulder>
Me: <eyeroll>
Friend2: I don't get it. <pokes me in the left tit> You barely post on Instagram and you don't tweet anymore. And you haven't commented on any of my posts in like days. Wtf bitch?
Disclaimer: Yes, we are those girls who talk like that and go clubbing and dress up and makeup and all that shit. Don't judge me because I don't give a fuck. Anyway...
Friend1: Seriously.
Me: Really? We're doing this? Because I haven't posted on fucking Instagram? I talk to you every day. I see you every other day. I like coding. I like tech. This place is awesome and the people are cool. If I want to see your ass or your outfit, I can just look at you. I don't need to be on Instagram 24/7.
Friend2: Jeez bitch. Need a tampon
<we all laugh>
Me: This is my thing. It doesn't mean we aren't friend and we won't chill, but my future is in development and technology. So deal hoes.
Friend1: Ugh you're such a nerd.
Friend2: <laughing>
Me: And you're both like totally vapid sluts. But I love you.
Friend2: Jelly
Friend1: Totes jelly. Girl you need some vitamin D
Me: I'm sayin'. But that doesn't mean I won't spend my free time coding.
Friend2: Ugh alright we don't give a fuck. Code or whatever. Just be ready at 11.
We all flip each other the bird and they leave. I guess if that's the level of acceptance I can get from my wonderful, gorgeous, annoying, amazing, asshole best friends, I'll take it. I am not changing my path.69 -
!!fml
"Root, go fix this bug. It'll take you two days."
The "bug" is a feature that was never implemented for one particular payment type.
The code in question is two years old, full of typos, smells, junior-isms, and is convoluted AF. The feature's commit touched 190 files and implemented many other features as well. Thus far, I have been unable to narrow down where this particular feature's code lives for the other payment types, nor which code or payment paths lead to it. Burned out, I can barely focus on the screen, let alone follow its many twisting and dynamically-inferred paths. I hint as to the ticket's scavenger hunt nature during standup.
"But I wrote comments on the ticket telling you exactly where to look to fix it," Thundercunt admonishes in front of the team.
"Sure, you did," Root replies. "You reworded what the original dev had said in the comments 20 minutes prior, and agreed with him. His comments were helpful, but it doesn't tell me how any of it works," she continues.
TC scoffs and closes the meeting.
Root stares blankly, seeing neither code nor screen, questions her life decisions, and recalls the previous tickets she has worked on: nearly every one of them busywork, fixing other people's bugs. Bugs she never could have gotten away with if she tried.
"Why do I put up with this?" She asks. "They don't care, and it's killing me."
But the bills remain, and so must she.
"Fuck my life" she finally decides.20 -
You think a junior dev pushing his code onto a production server is bad? Wait till you have that admin who is illegally mining Bitcoin on your production server. 😂
I went for a Cyber Security conference today with one of managers and this was one of the life experiences some of the speakers shared.18 -
Interviewer: "I'll checked your GitHub, your side projects looks very interesting! Tell me about your other hobbies. "
Me:"Other hobbies? "8 -
Whenever I feel bad, I go and help random people with their code.
I also randomly offer to help teach people Java so that they can learn best practice and perhaps not make the same small mistakes.
Such is life. My method of coping with sadness.9 -
So yesterday, literally just hours after i basically said on somebody elses rant "friends are overrated," i ran into a friend i havent seen in over a year and we ended up chatting for an hour after she gave me a ride home. I was in such a good mood after and I realized its the first socializing ive done outside of talking to work people or my partner in over a month. I like to spend most of my time alone, and since i discovered coding i try to spend every spare second writing code, but it turns out a social life is actually really important 😯😯3
-
The main reason I'll stick to development as a career for the rest of my life is the freedom.
I can have a 3 hour long lunch with my girlfriend, I can write code at 2am, and usually I can leave for short holidays with just a few days notice.
That freedom is saving the little bits of social life I have.10 -
Don't develop depression, develop a personality instead, be more outgoing and outspoken, work out, dress better and make your life shit that goes beyond coding.
Tired of people in tech being this way. Everyone acts as if monkeying away on the keyboard makes them some sort of autistic genius that is too good for everyone else.
Some of you have the social skillset of a fucking potato.
You code dude. Most of you develop websites...chill the fuck out.52 -
"Just about every aspect of your every day life is run by or depends on millions of lines of code.. have you hugged a programmer today?"1
-
Whoever thinks that coding is easy.
Fuck you motherfucker stupid chicken head nugget sized brain faggots. You think all we do is smash keyboards in front of our screen and it poops code and creates beautiful applications? Fuck you in particular.
One of my friend says sitting on computer for whole day is the easiest thing. What the fuck motherfucker.
One fucking string can fuck your life forever. Innumerable hours will be wasted behind one simple fucked up logic. And u shithead say its easy.
Get into my shoes and let me bang your head on the keyboard and we will see how beautifully it poops code.
Stupid people.14 -
Ok you fucks that don't believe in documentation - me included.
Document your shit, because one day, one day some dumb fuck is going to have to recreate your over engineered bullshit of a system and scale it up.
What would fucking be useful right now is ANY god forsaken insight into what in the flying fuck your code is doing, or not doing, or why it makes queries to a database with no fucking records in it 🤦♂️ and then attempts to use that data... in case it did exist.
There's nothing like unpicking a mess of bullshit, and documenting it, and then have to remake it on a new platform.
Documention saves lives kids, maybe your own life one day😬16 -
Tried to modify a script again which pretty much installs a ready to use vpn server on a server.
Tried to modify it so that it takes arguments instead of manual input.
It is, fucking, yet again, quitting right after an apt install command.
Error exit code? Oh no, a perfectly fine fucking 0. Which means it ran successfully.
Successfully my fucking ass. You aren't even through half the motherfucking script!?
Fucking hell. Fuck my life sideways.26 -
I code, watch Big Bang Theory, sip coffee, and code again. I never leave the doorsteps except for my classes. Some say my life is sad.
Is it? Anyone out there like this?18 -
Spoke to a programmering student who insists on writing his Java and python code in PARAGRAPH format, like an essay (the teachers do not teach this). Tried to explain why this is a bad idea. He explains to me that if others can't read his code that it is their problem and that he would never make a silly syntax error like missing a semicolon or a bracket. Called me stupid and walked off.
Life will be hard for him.10 -
> make a change
> PR gets rejected
> IHATEFORALIVING! YOUR CHANGE IS NOT WORKING! EVERYTHING BREAKS!
> 3 hours long debugging session
> We find out a whole bunch of bugs
> Suddenly, everything works
> None of the bugs had ANYTHING to do with my change. In the instances where the app broke, my code wasn't even being called at all.
> My change was literally the one and only working thing
I wish life was like in The Office, when you just stop what you're doing and you drop the Jim stare at some camera3 -
Manager: Hi, here is component X with 200k lines of code. Can you go through the code and see if you can implement component Y using component X?
Me: What does component X do?
Manager: I don't know.
Me: Is there a design docs for it?
Manager: I don't know. Can you check? Let me know when it is done.
*Wondering if I should joke and say "Oh management, hard job huh?"*
*Remembering how life is fucked up unfair and I need food to survive and house to live in and follow the society's rules and work hard to make the rich richer and shove money into their fat belly of greed...*
Me: OK.9 -
I joined a "multi-national" company in middle-east where 90% of the developers are Indian. And since it's a "multi-national" company with 50+ developers I thought they already figured it out. Most of them have 5-10 years of experience. They should know at least how to use git properly, deployment should be done via CI/CD. database changes should be run via migration script. Agile methodology, Code Review - Pull Request. Unit testing. Design Patterns, Clean Code Principle. etc etc
I thought I'm gonna learn new things here. I have never been so wrong in all my life...
Technical Manager doesn't even know what Pull Request is. They started developing the software 4 years ago but used Yii v1 instead which was released almost a decade ago. They combined it with a VueJS where in some files contains around 4000 lines of code. Some PHP functions contain 500+ of code. No proper indentions as well. The web console is bloody red with javascript errors. In short, it's the worst code I've seen so far.
No wonder why they keep receiving complaints from their 30+ clients.10 -
Well... Looks like I managed to make a Webpage in C++...
...
I need a life...
webpage (self hosted, so I don't guarantee that it will always be online. however, the pages source code is on github): http://2.205.108.223/cgi-bin/...
github: github.com/wittmaxi/webcpp18 -
I have never written a single unit test in my life. Hence my code breaks from time to time. Karma is a bitch 🤣3
-
Week 26 advice - you all probably know this but good to refresh!
Eat healthily
Sleep well
Document clearly
Annotate your code
Use version control properly
Keep yourself in check with project management tools
Your peers are your friends... And competition.
As much as your boss is an idiot respect them and your life will be easier.
With great power comes great responsibility; don't touch that keyboard until you think through what you are doing chances are your first idea is not the best.
Don't write quick fixes and say you will go back to clean it up later on when you have time. That time will never come.3 -
Life is mostly about waiting.
Waiting for code to compile.
Waiting for payment confirmation.
Waiting for food.
Waiting for gas to fill up tank.
Waiting for lights to go green.
Waiting for beer.
Waiting for waiter.
Waiting for call.
Waiting for school to finish or start.
Waiting for exam.
Waiting for job.
Waiting for application to start.
Waiting inside prison.
Waiting inside workplace.
Waiting for summer or winter.
Waiting for movie to start.
Waiting for girl to dress up.
Waiting for birthday.
Waiting for birth.
Waiting for death.
Fucking timers everywhere.
Someone got big sense of humor when developing this world.7 -
PM: hows the android app going?
Android Dev: gradle downloading... blocked by network admin.
PM: anyway how is the iOS app going?
iOS Dev: cocoapods downloading... blocked by network admin.
PM: ... i guess the only thing running now is the web admin right?
Laravel/VueJS Dev: composer nodejs/npm/yarn downloading... blocked by network admin.
PM: team lets retest the api endponts
Team: Postman downloading... blocked by network admin.
Team: -_- Insomnia REST Client downloading... blocked by network admin.
PM: code study?
Team: even visual studio code/android studio/xcode is blocked. :(
.... sad dev life
anyone here with the same problem?14 -
My mother is the one that introduced me to computers from a young age. She would tell me that they were the future and that people could do amazing things with them. Fast forward at me graduating from uni with a B.S in Computer science and she was the happiest :) she tells everyone that I am a computer scientist, she seldom says "programmer" or "developer". She is super well versed in general computing and can use Linux and Mac, so yeah :) mom is awesome. My dad has lil idea of what I do, to him its just magic, my step dad is the same way but he will be the first to tell everyone that I am a wizard.
My brother and sister could care less...my sister tells everyone that I am the smartest person she knows, but that I spend most of my time glued to the screen "playing with a bunch of weird code!"
The rest of my family is pretty meh about it, 2 of my uncles are super proud of it and normally ask for my input regarding tech or about life as a dev.
Finally, the wife. The wife knows how to code from before I even knew what code was :) so she knows exactly what I do :)8 -
That moment when the you actually think that this huge refactoring isn't worth it, but you do it anyway so you can live with yourself...
Code quality is love. Code quality is life.1 -
Just tested my GPU code vs my non-GPU code.
Its a simple game of life implementation. My test is on a 80 x 40 grid running for 100,000 cycles.
The normal code took 117 seconds.
The CUDA code took 2 seconds.
Holy fuck this is terrifying.3 -
When the last dev wrote code and you dared to read it....switch on a Boolean, what even is your life legacy dev?2
-
Do you code in your dream too?
Cuz, I do. Mostly it's about some functionality I am not able to implement in real life, at the end of my dream I feel like I have got a really great logical solution but when I wake up it doesn't make any sense.
(Excuse me if the image is a repost)8 -
A little late, and similar to other lovely ladies on here, but the greatest influencer for me is my husband.
He's always pushed me to learn more and be a better, cleaner coder. He taught me continuous integration, introduced me to the Atom editor, and showed me that my nerdy interests and choice of career can actually be quite attractive and not "intimidating" or "inappropriate” for a woman.
He's my go-to hackathon partner, my strictest code reviewer, and my life long teacher.
Ich liebe dich, mein Schatzelein! 😍7 -
Teacher: The next 3 months we're going to learn web dev
Me thinking: fuck yeah, finally, I love web dev.
Teacher 1 week later: shows us how to build with wix-like builder...12 -
They've literally left me with nothing to do. I'm doing nothing. I can't be happy doing nothing.
To illustrate the chaos: Everyone on the team was trying to figure out some defect. No one knows what is going on in the code. It's unlike anything I've ever seen.
I found an API call with a misspelled endpoint. It was wrong since the code was written two months before. There's no way it ever worked. Obviously no one tested the code because they would have immediately seen that the call returned a 404 every time.
I fixed it. That was my only PR in about a month. It was literally one character.
The next week that PR got reverted. Apparently the app works better if the API call fails. No one said what goes wrong if the request is made, just that it "causes problems."
That's how bad it is. No one knows why anything does or doesn't work. People write code that doesn't work, never test it, and the application works better in some unspecified way if that code never gets executed.
The last straw for me was when an architect told us that if we want to improve our skills we need to learn how to read and debug stuff like this.
1) Not to be immodest, but I'm good at figuring out bad code.
2) Just because I can doesn't mean I want to do it all day instead of actually developing software
3) He trivialized the really important skill, not making a mess like this in the first place. If his idea of skill is to sling crap without tests at the wall and then debug it, how is he an architect?
I tried really hard but I can't keep a good attitude. I don't want to become toxic, but why would I consider working that way? I try my best to be good at this. Writing decent code means a lot to me. It should mean a lot to them. Their code is costing them hundreds of thousands of dollars. Maybe millions.
I can't write good code and add value if all I do is debug bad code.
So I'm out. I'm going to another project. Have a nice life.4 -
> be me a 23 y.o intern
> two years on self learned MEAN stack
> first day of intern<
> boss: we need you to become an iOS intern
> me: *whut*
> me: *thinking swift syntax is similar to JavaScript*
> me: OK, in swift ?
> boss: No, in Obj-C
> me: *fuck*
> spend 2 days to familiarize with Obj-C
> boss: Here's a bug, solve it.
> me: OK
> me: *checking their code for the first time*
> me: *fuck, fucking huge*
> me: *open up bug related ViewConttoller*
> me: *fuck, 6k lines of code*
> me: *fucking MVC*
> spend 2 hours to fix the bug <
> boss: you did great ! awesome
> me: *heh*
> boss: *announce to everyone* from now on INTERN will take over the project.
> me: *whut*
> boss: here's our roadmap plz implement features
> after 3 months <
> me fixing bug <
> me do feature development <
> me write shitty code <
.
.
.
repeat, life as an intern6 -
"Eww that is not Dev-related!"
Shut the fuck up. For me, devRant is a social media for developers and not a social media about only dev-related shit.
"devRant is a fun community for developers to share and bond over their successes and frustrations with code, tech, and life as a programmer!"
You see?
"for developers"
"about code, tech and *life*"
For fucks sake... Stop crying around and just dislike it if you don't want it.7 -
Visual studio 2017 with Xamarin:
* writing some sweet code, life is good.. build and run.
*change int age to 2, build, build failed, no single message why.
*clean, clean failed, no single message why.
* build rebuild clean all or by project, nothing works, no single message why.
*change nothing, restart VS, build success !
* writing some code, same problem
*restart VS, "this project is not compatible with Visual Studio"
Good bye guys, I'm gonna kill myself7 -
When you live in a 3rd world country, get a relatively expensive 16mbps connection (that's still very unreliable), and try to clone WebKit… why the hell is it so large even with `--depth 1` and `--single-branch`? Why doesn't `git clone` support resuming/incremental cloning? Is this even 2018?
I want to code but life is actively fighting me right now. I hate this.
/rant26 -
I just spent 2 hours helping a fellow Sr Dev format an “if block” in code. Then helped show them how to step through the code. This is what passes as a senior at my company? I no joke have stayed at this job for 6 more months than I wanted to out of pure pity for my team. I want to quit so bad, but the team is in such terrible shape and can’t hire anyone new that is willing to stay. All good people personally, but gosh this job is just brain dead and eats my weekends when I should be focusing on family. Back to helping through the 500 line if block. There are worse things in life, but this just feels terrible.11
-
It doesn't feel good to be average at everything.
Life is depressing
I can't commit to anything hard enough to become the best.
Programming
Singing
Drawing
Story making
Sports
I'm just average.
I feel bad
I feel like I'm a waste of resources.
I'm tired of ranting.
This life is just tiring.
I don't have the patience
I'm average at commitments.
Time management
I see other people code and sing better than me and feel demotivated
I feel like jumping of a cliff cause no matter what I do, there's someone light years ahead of me.
I'm not even unique
Ultimately that's probably what I want.
To be irreplaceable.
I guess in this struggle to be relevant I'm gonna lose myself and if I do get there, I might not be as happy anyways.
So what's the point to all this46 -
After having spent countless hours of my life in tech, enough hours to be years..
I can safely say:
No technology will ever beat the frustration that is having to deal with people.
Code might be horrible, work might be an endeavour at times. But NOTHING..NOTHING beats having to deal with customers that are rude, impolite, disrespectful..downright abusive at times, condescending et.c.
It becomes this gnawing sensation that never just goes away..the first ones don't matter, after a couple of months you get gripes but bite down.. sometimes it just makes you feel psychotic.
and all you can do is laugh about it.
I don't have a problem with tech, I have a problem with the nature of people.3 -
Annoying thing happened at work as usual -> can't get the mood to code -> procrastinate -> finally get my shit together -> get some work done -> shit it's 07.00 PM I should be going home already -> still coding because I started late -> shit it's 09.00 PM -> get the fuck home -> I need time to be alone and relieve stress by surfing the web -> shit it's 02.00 AM -> try to get some sleep -> Why did she left me? How's dad doing? God I think I that function that I coded today is awful, gotta fix it tomorrow. Am I going to afford a house EVER? Fuck what I'm doing with my life. -> Shit it's 05.00 AM, I MUST SLEEP. -> (kinda sleep) -> Fuck it's 10.00 shit shit shit shit -> arrive at work -> I'm not ready to open the code -> procrastinate -> ...4
-
Story of WTF happened to my job
During my employment in (name censored) was stressful, They claimed I didn't complete my task on time which they constantly remove me from git and documentation(which have to follow their style of returning data), I kept emailing, slack, WhatsApp calls them, mostly and predictably got ghosted and blocked.
So How the fuck am I supposed to push my code or code without the documentation (I can actually, prevent refactoring every time, following the documentation is the good way to go.)
On the sprint review, they will complain about me not committing and pushing the code. (I did commit locally, but can't push, they removed me from the fucking repo) and not done.
Tried reasoning, telling the obvious reasons with them, doesn't work. They come out the second reason of me "NOT COMMUNICATING". Sometimes I can get to git merge from dev to my branch and get tonnes of fucked up code. I reviewed the code, and I can't tolerate it.
Lately, I overheard them mocking and cheering me about to get fired over a zoom meeting (I was in there, they forgot to remove me). Their conversation is about me being a coloniser, a jerk, betraying Chinese ancestors for being not Chinese enough.
I was like: "Why the fuck does their conversation sound like they are tucked in the Qin dynasty?"
Frequently I got labelled as unprofessional.
How is cussing about my ancestors, personal and life a professional behaviour?16 -
Today I'm reminded of Robin Williams as the world mourns the loss of Anthony Bourdain.
You may think: "this has nothing to do with development", but I think it does.
I've struggled with anxiety and depression for a long time. Before my passion and love for writing code became my career, I just assumed it was due to not being happy. When it persisted after finally moving into a career when I do what I love, I realized it's much deeper.
When these people who greet the world with smiles, or make us ourselves smile, end up taking their own life... it gives me pause. How many times do I fight back the darkness? Will I ever lose that fight? Will it matter?
Depression is a serious illness. It's not simply someone being ill-equipped to deal with life. Even the most stable-seeming person around us could be battling this darkness in silence.
You only find out when they lose that battle.
https://suicidepreventionlifeline.org/...6 -
IntelliJ has this tutorial where it teaches you a bunch of shortcuts for making life easy, since version 2017.3 or something like that. Most of it is pretty meh, some of it is pretty useful. And I just came across a keybind to auto format code.
What else do I need. If I can quickly format my code and make it look pretty, that's all I'd want.
"Try reformatting the selected code with Ctrl+Alt+L"
*Linux Mint goes to lock screen*
*logs back in, code is unchanged*
Well played...6 -
I have a coworker who comments every line of code he writes and it doesn't matter how simple the code is and it drives me crazy when I have to look at it. A real life example:
// Gets the total length of the server name string
var total = serverName.length;7 -
Super stressed.
What I did is:
1. git pull --rebase
2. Forgot to build to check if everything is working after pulling new changes
3. git push
4. Now, I realized I forgot to implement a method of the recently changed interface.
It's a production code. Not a joke. And was my first push to prod and I messed it up.
Sad life. Fixing it. Senior Devs must be crazy for my silly mistake.8 -
Well that's new..
So I was sitting on a toilet, thinking about life and stuff and b2plane [because of obvious reasons], when suddenly... I felt a very sudden and very strong urge to... code something in perl.
I haven't touched perl in years, don't even remember its syntax [can u blame me though? It's perl], but there we go, an urge hit me.
As soon as I flushed, the urge went away.
@b2plane, I'm asking you as an expert of shit. What's it mean? Is this normal?4 -
Have any of you already felt that you really like what you do (coding, of course, among other things), but you hate "the place(s)" where you work, specifically some of the people from there...?!?!?
It's 9AM, you already got your coffee, is comfortably sat, with your precious headphones, all ready for some gorgeous lines of code to gain life... but...
... your coworkers are arguing cos one prefer braces when using an single-line if statement, the other not...
... another one is discussing about how bad he's paid after discovering that a dev (at the same "level") receives more...
... the coordinator comes to convince you that the manager is not good, has not all the needed "certifications", and vice versa ...
... the designer didn't like the UX's work, and this is just an enough reason for a BIG gossip with the rest of the team (or even with people from other teams) ...
... the QA complains all the time about everything: the testing environments are a shit, the other QAs are a shit, the system is a shit, his life is a shit (even though he has not yet realized it) ...
Sometimes I miss that time when I got into the coding universe at home, giving my first steps and was creating things all the time... against the toxicity we find in a lot of enterprise "habitats"...1 -
Life is like code,
Your loved ones are your IDE,
You can be good with code without an IDE,
but it makes things much more smoother when you have one :D
Life quote :) -
No work experience: I'm gonna be the best programmer in the world. My code is beautiful. This is my passion.
After 1-2 years experience: just f@#$!ng work pls so i can go home goddamit i hate my life im hungry f@$!% everyone.4 -
WanBLowS Vusta is more stable than this piece of shit that you call code. Yet you call yourself a programmer? Goddammit, even the shit that I dump in the toilet looks better. Because at least that thing is honest about being shit, unlike this craptacular mess that you call an application. Maybe consider kill -9 $(pidof life).3
-
Took me 6+ full days.
The feature does not work. Repro is unknown, so only prod is experiencing the issue.. Which rules out the debugger option. Sometimes there's an entry seen in logs: "java.lang.StringIndexOutOfBoundsException". Nothing more - just that. No stack, no class, no nothing. Is it my code that's buggy? Is it some config? Integration? Unexpected response...? A bug in a lib? Is dimm faulty ir maybe server's shared libs are off?
Turns out I used a closing parentheses instead a closing curly bracket in an error message that's supposed to be interpolated...
String message = "{some-business-rule-related-error-message-key)";
took me 6+ full days... But I found it. Took the rest of that Friday off to walk in a park and enjoy my life :)9 -
Serveral users complain that the error messages our software produces are completely useless, so I get assigned to improve the error reporting.
Starting the task by checking what's there and how it works together.
Looking through the code I discover 4 completely different error reporting implementations, each having the same intent and promised functionality. All of them are used somewhere, sometimes next to each other. Needless to say: None of the implementations actually implements all it promises.
My favourite part is the setErrorMessage(string) method that is defined in one header and used in many places, which has the implementation
void setErrorMessage(string){}
Fuck my life.2 -
!rant
I think one of the best moment of life is finding a good song all of sudden. It's like finding a new drug which I can just inject in my ear and code at 100% productivity. -
I started my internship at the end of the year..
Fuck my ass!!! This code I have to work with is a huge pile of shit.
The code base I need to work with is around 40k LOC. It is a mixture of C++, C, Java, Python, Bash and I think I saw some lonely js files around.
A list of awesome parts:
- Paths are hard coded.
- Redundant code everywhere
- No documentation or inline comments available
Most of the comments in the code are just old code that is not used anymore. But the cherry on the turd is the class that should provide all kind of useful functions in my daily routine. About ninety percent of the functions have the same description or nothing. Sometimes a function name says "readSomethingFromSomewhere" but instead it writes something to a file. It is really confusing and I need to check everything twice instead of rely on what the function name promises.
I have also learned why copy paste isn't that good. The brief descriptions of every method in a files are always the same.
getName() - Description: Fork child process
getIp() - Description: Fork child process
getIpv6() - Description: Fork child process.
Surprise: None of these functions forks a child process. :D
Another awesome feature is the thing that they store up to five different versions of libraries. Everyone with slight modifications but no hint which one you need to use. Sometimes it is the newest, sometimes the oldest which is running in production. Another case of try and error.
Oh and my dev machine is a potato with a power supply and a fan. I started with NetBeans and every time I compiled the code it sounds like the machine wants to lift off and leave for a better place. (At this point I switched to Emacs and everything runs smoothly now)
At first I thought that I'm just not that good at coding and understanding a big project from scratch but some colleagues have the same problem. The whole system is very inflexible and it is all about "std::cout"-debugging to check if your changes do what you want them to do.
Currently I'm just trying to fix this mess to make the life for the next student or employee easier. The first month was just frustrating as hell. I need to ask so many questions and most of the time the answer was "I don't know, haven't touched this code in years". Needless to say that my progress isn't that awesome but at least I get a nice payment for 20 hours of work a week.2 -
That feeling when a bug has been bugging me for 3 days, I find that little information in API source code and using that I make a fix.
Developer life is so worth it :) -
So I've taken over a project, well, not really taken over, we've been hired to add more functionality to a Wordpress site.
I have never seen such a messy code in my life... variables have mixed languages, indentation is a mix of tabs, 2, 3 and 4 spaces, camelcase, snake case, short names, long names. ' and ", no spaces after commas (gotta save those bytes doode)
Almost like it has been copypasted from everywhere.
I think I said 10-15 hours for it. I think I will spend a lot more time tidying up this code.
Hey, look, 3 index files!!
index.php
index__backup.php
index__backup_2.php
I don't dare to look into the CSS or JS, but I know I have to3 -
I have always considered myself as a tab person.
I was living my happy life thinking spaces didn't make sense in code.
This until last week, when I realised intellij is automatically putting 4 spaces instead of tabs
I feel betrayed5 -
Set out to copy the iOS alarm on android because a) android's stock alarm is fugly and b) all other sleep reminder apps either offer me way too much or no functionality.
Week 1: "Oh, custom UIs need a lot of math... Ok."
Week 2 "Why on earth is my ram usage at 400 mb?!"
Week 6: "I have come to the realisation that android's ByteArrayDecoder should burn in hell.
Week 7: "Man... They sure made the management of intents and pending intents a pain."
Week 10: There. It works. Two classes, 7000 lines of code.... Hmmmm maybe apply MVP."
Week 11: I discovered embarrassment driven development, throw away all my code and start from scratch.
Week 12: Oh ButterKnife, where have you been all my life?
Week 17: I might actually finish this in my life time!
Week 28: Man, this MVP and managing Context, intents, SQLITE DB and pending intents do not mix well.
Week 46: I discover RxJava and Dagger 2
Week 47: I discover that the 'V' in MVP does not refer to an 'Activity'
Week 48: My StudyBudy says to me "Man, exams are only a month away!"
Week 49: I put all your code in my github, delete it locally and focus back on being a student.2 -
I finally got a job at a tech company (although it's not a tech job) with a very good work/life balance.
Therefore, I plan on getting more serious about properly learning how to program in my spare time, also because, being a tech company, programmers are all over the place and are generally willing to talk about code.
I must say that while job hunting, devRant has been very useful to me since it allowed me to understand what kind of environment I'd like to work in. So far, the first few weeks of work have been great.
Ah, and the view from the office is unbeatable.7 -
So I'm not sure whether this actually is a believable story or not but I think I'll just share the saddest moment in my life with you.
So.... I've been working with a boy 0.5years younger than me on a project in Java so he could learn something about programming. I was actually dictating him code because he wasn't able to JUST WRITE ONE SINGLE LINE OF CODE WITHOUT ASKING ME HOW TO DO SHIT!!! So I dictated him a for each loop:
Me: "for ( Foo foo colon foos ) {doSomeShit();}"
Him: "for ( Foo foo .. foos ) {doSomeShit();}
For your understanding: in German colon means doppel punkt / double dot. I didn't think someone actually writes two dots... THIS IS SO FUCKING SAD
Please don't blame me for being a bad teacher. I'm inn a class with him and I know we did that in class. I also thought it multiple times to him6 -
Don't scroll here.
Go and live a real life,
Don't make a computer screen as your world,
there is a beautiful world outside of your cave,
Talk with people's face to face,
go
go
go.
Ok enough philosophy, Time to add new shit in current shitty code.
(-_-)5 -
Not a rant, but still relevant:
GET YOURSELF A PROPER ERGONOMIC CHAIR!
I'm pushing 30, but have been coding/messing with computers since i was a barely a teenager.
I code at work and i code at home, and while i consider myself decently fit and observe decent routine regarding standing up regularly at work, my lower back is still all kinds of fucked. (Facet Joint Disease - look it up if you are bored)
This is SUPER common in our field and i figure most of you here are working more and more from home, from you couch probably. This is killing your back, and let me tell you, coding is freaking difficult when you feel like the thousand knives of the management layer is in your back literally instead of metaphorically.
You will be sitting in the same damn chair/set of chairs for the majority of rest of your life, make sure its good, preferably before your back is screwed.5 -
Forgot my laptop charger in the hotel, flight leaves in 10 minutes, and my computer is at 2% battery life.
I just need to build this code and push! Will the code be pushed in time? Stay tuned to find out!!
... nah jk it just died. 😧 -
Life cycle of code
1- See what sound code I have written! It's beautiful.
2 - Hey we missed something last time, just add this bit of tweak.
3 - We need to add some flags for some exception cases
4 - Hey there is a new requirement. Just add some more paths and more flags
5 - More flags!
6 - This shit runs now more on flags than on the design!
7 - Flagception!3 -
I started using GitHub for my codes lately, so instead of diving into the code, I make sure to mess with GitHub to have it available online, then I admire the design of GitHub, then I drift to YouTube, listen to music and can not concentrate. Then I open Facebook and tell everyone how hard my life is 😂3
-
You know u have no life when you get a call, you're all excited about who's it going to be...
"oooh an unknown number!"
*picks up*
"who's this?"
... *automated voice* "This is apple calling you for your apple verification code... your code is..."
And u realize u have ur computer on which u need to enter your code because u tried to login 2 minutes ago...2 -
As Karl Lagerfeld once said: "Visual Studio Code is a sign of defeat. You lost control of your life so you use Visual Studio Code."21
-
FUCK FIREBASE, FUCK CLOUD MESSAGING, FUCK GOOGLE, FUCK APPLE, FUCK PUSH NOTIFICATIONS, FUCK PROGRAMMING AND FUCK MY LIFE. JUST TELL ME MOTHERFUCKERS WHY NOTIFICATIONS IS NOT WORKING ANYMORE, I SWEAR I DIDN'T CHANGE A SINGLE LINE OF THE FUCKING CODE. AND IT'S BEEN ONLY ONE WEEK SINCE THE LAST TIME I TESTED IT.5
-
Fuck my life! For my studies at University it is required that I learn how to code... Over the past month I've been learning java, and yesterday a friend of mine has introduced me to Go. Now all I want to do is learn Go, meanwhile our Prof pushes us to learn switch-case and goto...17
-
Back in the day, when callbacks was all I've found on Internet tutorials, my code looked like this (img) . But then I found something called "async" and it changed my life!
But I couldn't let go of my old ways, so the code with async looked just like the callback one, but with new boilerplate code.
The thing is: you can't simply USE something new like you were using the old one. you'll probably use it wrong. you have to understand that this new thing is different and adapt your thinking process to better work with it.
you can sit on a skateboard and go forward using your hands on the ground to push it, but that's not how it was designed to work.
I still use callbacks because I have no intention of rewriting my working codebases right now (because they work just fine). But, even with my struggles in changing to new tech, I've learned to adapt (sort of).1 -
Context:
Me, Front-end Developer, Javascript stuff
---
Junior Dev: Hey xxzer0, could you help me with this? I spent the entire day on it and at this point, I think I just broke Chrome.
xxzer0: *---* Okay, let me see.
Junior Dev: Do you see it? I am updating the Javascript code but it's not working at all. The browser is not even loading it... Literally, the code I just wrote is not there.
**
Now be me, be the fucking idiot I was and I have been my whole life, I already knew what was going on because I lost a fucking day on it as this guy.
**
xxzer0: Well, let me see just one thing...
'Open Chrome Dev Tools' -> 'Network' -> 'Disable Cache'.
xxzer0: Now try again...
Junior Dev: What are you..doi........ IT'S WORKING! O.O
Chrome, I love you but sometimes I wish you could make this more "accessible" to newcomers.5 -
Jesus Christ on a crutch!
You don't fucking use try and excepts everywhere in place of actual logic! For once in your Goddamn miserable life, I need you to actually think through what you're doing instead of mindlessly typing code away at your computer, you fucking King Shit of Turd Mountain!
DO YOU WANT TO KNOW WHY EVERYTHING KEEPS BREAKING!?
BECAUSE YOU'RE FUCKING REFERENCING VARIABLES BEFORE THEY'RE ASSIGNED, AND THEN WRAPPING IT UP IN A TRY AND EXCEPT! YOU DON'T FUCKING DO THAT! Think through what you're doing!!!!
The shit you're pulling off here is as useful as a chocolate teapot!1 -
Last night I had a panic attack and woke up in cold sweats because in the dream I had I was constantly using the wrong variables in the wrong places...
-
Different perspective.
So your friend wants you to make the next big Facebook or Google because they know you can code....lots of rants like that and it gets me as well when I'm fixing printers for family and friends. Thing is these people genuinely just want to do something cool and succeed so they can have a good life. They see what we can do and wish they had the same talent. They have an idea they think will be great, they don't know what we know, and they don't know that it could be the most amazing thing ever and still never take off.
They don't realize to be Facebook or Google you have to sell out your values, morals, and soul. They just think if we can code we should be millionaires. So on that philosophy after just over a year the devRant creators should be rolling in cash right? But pretty sure I saw they are still operating at a loss.
I'd love to be able to have the time to work with each of them, teach them, and guide them through that first failure and let down of realizing that coding doesn't buy a magic ticket to a new life.
// Like anyone ever really fixes a printer //2 -
Several months ago, I wrote the most beautiful Java code of my life. It was shelved and never merged because it added minimal overhead to every call on the system (I'm talking super small relative to the functionality it provided). I've been asked to resurrect it, but master is too different, so I'll have to rewrite it all. 😭 Since that code, I've been doing research and prototypes - nothing production, and looking back on this old code nearly brings me to tears. I might actually get back to writing code that people will use.
I'm just really emotional about it, and I don't know why. -
I have an interface implemented by 11 classes, coz u kno, it's "SOLID". But today i felt my life is a lie when a developer refactored my code and deleted all those classes and placed them in a Utils class with static methods, and slapped me with "Let's make it simple".14
-
I guess this happens to everyone but damn, hate it when dreaming about code, and not just any code, but the code your enthusiastic about, somehow everything seems to work, so that when you wake up and sit in front of the computer you just go blank... what was that code again, it was so sleek, so simple, yet so robust...
12 hours later dream about it again to wake up realizing you wont ever be able to wake up remembering the code in the detail...1 -
Help, I don't know if I want to code as a job for the rest of my life.
I feel that I miss physical activity in my job. Its just sitting and programming.
I like programming, it's an infinite series of puzzles, and I like puzzles. But more physical would be nice.
Maybe I should find a 2nd job that is more physical and balance the two.
What is everyone's thoughts on this?7 -
If you comment your code like this, I'd like you to rethink your life choices.
This is a project we need to work on in university. The code was given to us.4 -
Discovered pro tip of my life :
Never trust your code
Achievements unlocked :
Successfully running C++ GPU accelerated offscreen rendering engine with texture loading code having faulty validation bug over a year on production for more than 1.5M daily Android active users without any issues.
History : Recently I was writing a new rendering engineering that uses our GPU pipeline engine.. and our prototype android app benchmark test always fails with black rendering frame detection assertion.
Practice:
Spend more than a month to debug a GPU pipeline system based on directed acyclic graph based rendering algorithm.
New abilities added :
Able to debug OpenGL ES code on Android using print statement placed in source code using binary search.
But why?
I was aware of the issue over a month and just ignored it thinking it's a driver bug in my android device.. but when the api was used by one of Android dev, he reported the same issue. In the same day at night 2:59AM ....
Satan came to me and told me that " ok listen man, here is what I am gonna do with you today, your new code will be going production in a week, and the renderer will give you just one black frame after random time, and after today 3AM, your code will not show GL Errors if you debug or trace. Buhahahaha ahhaha haahha..... Puffff"
And he was gone..
Thanks satan for not killing me.. I will not trust stable production code anymore enevn though every line is documented and peer reviewed. -
Brought my Mac to holidays so I can code... while at it, I realized that I left the charger at home ..Now I'll have to go home with a depressed state of mind2
-
I am a senior Android dev, and I have an old colleague (iOS senior dev). We work on the same project, but in every estimation session he pushes a lot on the lower side: he estimates 4h a task that normally takes 6h or 8h, and the reason is that he has no social life. Right after work he starts working again from home (I can see all his commits), he also works almost entire weekends. I would say he works as average 12/13 h per day.
I don t want to work extra time (unpayed).
About him, it is his life, so I don t care...but at the same time this makes me pressure. I care a lot about quality of code, and I don t want to sacrifice it just for catching up. Most of the people in the team know that he works a lot extra time.
How would you handle this?28 -
Typical code life?
1. Write rough comments
2. Write more detailed comments
3. Write pseudo code
4. Write semi-working but definitely ugly code
5. Write working but very ugly code
6. Refactor the code to be nicer, check for patterns, bottlenecks and other bits and pieces
7. Push to git the "final" code
8. After few months blame whoever wrote the code
9. Refactor all the things!
---
This happened in my career more than once and still - it seems like the best option out there to get things done. What do you guys think? Should something be added/removed from this? Is this over-complicated or what?2 -
I hate my freelancer life.
1. No weekends
2. No particular time to close
3. Work for 12 to 14 hours without sleep sometimes
4. Keep explaining the dumb clients about how development is not wordpress.
Its all fucked up. I have no life.
My average Lines of code this month is around 700 LOC/day. Whereas the average that showed on internet is 100 LOC/day.
I have choosen a hellish life.10 -
Ok it is official I need a life. I mean a real life with those things called "friends", "parties" etc. etc.
I realized this while looking at some code I, loudly, said "Wow today's is your birthday you're exactly two months old!".
I let you guess reaction of my colleagues.10 -
Start-up I'm working for as a front-end dev is pretty nice. I have good hardware, free coffee and my coworkers are all decent people. My boss is chill, and I have flexible work hours.
There is this one policy for writing code, however. And I simply cannot understand it, nor can I ignore it because of code reviews: no comments in production code.
I mean, what? Why? Comments are nice, and they make life easier for the future maintainers. At least let me put a small two-liner explaining why I did stuff this or that way. But no, I only get to explain it verbally (once) to the person reviewing my PR. Why, man?9 -
!rant
Goodbye Java I will not miss you at all! I swear ...
I do like it when making web services (especially that I can use Java8) but for Android you have been a torture. Hello sweet Kotlin! I shall embrace you and treat you like my newly born baby!!
Story is:
Working on a new project where I need to talk to a web service (also made by me).
Started writing in Java, all is cool and unit tests pass.
Downloaded Android Studio 3 Beta 1 and converted my Java code to Kotlin, That AsyncTask did not look nice in kotlin, converted it to async & await feature and I must admit lots of code removed, no more need to create a new fucking AsyncTask every time the app sneezes for data!
I feel like I'm working with C# but with difference in syntax.
My life is now complete :)undefined java goodbye! am i drunk? koline: sorry i have a boyfriend hi there kotlin i shall not miss you what the fuck did i just use for a tag?8 -
I’m all for writing boolean statements that are readable, quick to grasp the real life case they’re representing and align with the spec rather than being ultra-reduced, but sometimes the spec is written by someone who clearly can’t reduce logic. So when the spec says “if it’s not the case that any of them are false” and you write:
!(!a || !b || !c || !d)
then I think you should try harder. At least put a note against the spec to say “i.e. if they’re all true” and then write the sensible code. Just think of the poor developer that might have to augment your code at a later date and has to follow and intercept that shite. -
I have this math teacher and, wow, is she good at math. And, wow, should she never enter another field in her life. Today she asked us if anyone does code. The answer is yes, but I refuse to answer something that uses code as a verb.7
-
It has taught me to accept that I am frequently wrong. Not just when faced with code but with people too.
All the years of "It can't possibly be MY code that's wrong" which of course always turns into "Well, I guess it was my code..." Had helped me think critically in relationships, politics, and many other areas of my life.
Programming had actually heavily influenced my behavior and I would say it is largely for the better.
However, one negative effect it has had on me is that I am less of an optimist. Code is very "cause and effect". This means a lot of my life is "no surprises" and "you get what you give"
So I often feel like the most likely outcome is probably just the one that's gonna happen. There are no surprises, no miracles. Life is cause and effect. -
I remember the first time I had a code block, I sat on my desk for up to 18 hours trying to fix it. In the end realizing that my impatience is not helping me. It was all in vain. A tired mind did not help.
I finally came to realise that I was lacking on knowledge and a tired brain did not help. I did it the next day but learnt a huge lesson. When it's just not your day, it's not you day. A fresh mind will help next day. Relax, do anything apart from code.
Too much of code can drain you of ideas and smartness. You need to let your mind breathe. Life away from the PC is important too. -
Fucking kill me. I've just agreed to make a shitty fucking app that would be better as a Webpage, using shitty fucking technologies I don't understand, to do a thing that would be better handled by a third party.
You know why? The guy who asked me to do it is a good friend, and I'm the "best (only) code monkey" he knows. FUCK MY LIFE.
At least I'm getting payed7 -
Hi devs,
i am just curious, how often you use devrant.
to be honest,.. if my life is good.. no bugs. no miss management. I don't even remember devrant exist..
but as soon as I got frustrated from code,management, life.. Devrant is the first thing I type of my browser before starting any work :P3 -
PM asked me to make the code deeper, here's the new load script:
//Someone is born (init script and load deps, also run it)
$life = new begin_life();
//magic happens (generate random token)
$life->Living = openssl_random_pseudo_bytes(rand(), TRUE);
//We end it all
$life->die();3 -
My favorite command of day is 😂
rm -rf {foo}/{bar}
Reference if you don't know what happened today:
http://independent.co.uk/life-style...2 -
Not even 30 yet and I feel like I've reached a point of stagnation in my career. I no longer enjoy writing code. What else is there to do? My life is set up right now so that I must be a software engineer; I don't have much of a choice.
I feel trapped.10 -
"Did you see, cryptocurrency XYZ has N commits in the past week, but the price hasn't gone up?!?! WhAtS gOiNg oN!?!?"
Dude. If I could just write code to make the price of things in the real world go up, I can assure you, I would have done it.
That's not how this works. THAT'S NOT HOW ANY OF THIS WORKS REEEEEEEEEEE!!!!!!
God... normie "crypto experts" who haven't coded a day in their life really piss me off, and are super cringe. The funniest is that none of them or their followers realize it.2 -
Food and Programmers life:
Spaghetti —> My Code
Pizza —> We are spending the night working in the office
Power Drinks —> delivery date is tomorrow morning
Candy —> extra task
Coffee —> bug massage
Water —> wash your face, we have meetings in five minutes
Truffle —> fu** BlockChain
KitKat —> upgrade your phone please
Lollipop —> one more time please
Marshmallow —> do you like some Nougat?7 -
I'm curious..
When does programming suck for you, and when is it fun?
Like I hate programming, when I run into an obscure use case that opens up some serious errors with my some, or gasp, all, of my architecture and forces me to rethink everything - especially DB design, ugh.
I love programming when my architecture and DB design create naturally readable code and everything falls into place and I feel like a genius.
I guess, in short.... plan before you code?
And then, plan again.
But don't plan too much.
The love/hate of my programming life summed up right there I think.
How about you?10 -
i was hired to join a team of old devs (40+) in an unnamed European country "yay goodbye 3rd world it's time to enjoy the quality of life" assist with enhancing already existing software and creating new solutions.
prior to my arrival most things were slow and super buggy, looking at the code base it shouldn't be a surprise, amateur hour everyone, logic implemented that is not needed, comment driven development, last time code review was done back in 1996. lots of anti patterns.
i swear there is a for loop that does nothing but it loops through a 100+ elements list, trunk based development with tfs since git is "not really needed"
test projects are not there.
>enter me an educated fool, with genuine passion for the craft and somehow a decent amount of knowledge.
>spent the last year fixing stuff educating people on principles and qualities.
> countless hours of training and explaining. team is showing cooperation, a new requirement comes in to develop with react.
> tear my ass creating reusable shit and self explanatory code with proper naming etc using git with feature branching, monday is first deployment day.
> today a colleague was working on an item submit a pull request and self approve it
> look at the code..... WTF the dumb fuck copied and pasted the whole code from different kendo components but somehow managed to refractor the name to test component, commented out all the code that he didn't use did the api call directly from the component, has 2 useeffects that depends on the a fucking text box changes for no reason, no redux implementation, the acceptance criteria is not achieved, and it doesn't work it just look right.
> first world country shit cannot scold, cannot complain, lead by example.
>asked him why you did this, the response was yeah probably i shouldn't have done that, i really didn't understand anything in the training but didn't want to waste time!!!!
> rest of the team created a different styled disaster with different flavors they don't even name their shit the same way.
fellow developers I'm stuck in a spaceship with a bunch of imposters, seriously i never cried in my entire life now I'm teary and on the verge of a break down.
talk with management "improving needs time" and offers me to join a yoga session to release the stress as if reaching nirvana would deliver shit on monday.
i really don't know what do is this a rant, is this a cry for help, I'm not sure, any advice is welcomed.7 -
They say 'code drunk, refactor sober' but they fail to mention the sober refactoring dude won't have a CLUE what the drunk coder was even thinking.
Such is my life. -
So apparently hiring these days is all about 1/3 learning random questions and answers 1/3 remembering algorithms from code execution portals 1/3 luck. Well fuck my life, it’s worse then 5 years ago when I last switched jobs.
So how was it 5 years ago you ask ?
I send my cv with exposed java interviewed for javascript and hired for python. At least then it was 50/50 luck.5 -
Not only dev related but remember to constantly backup your important info of your Hard disk constantly... specially if those disk have not only the lastest code you are have been working on but photos of you and high school friends back in the day when the original Iphone was just released that you havent properly printed yet.
I think that is one of the nearest thing I can think of that I regret lately aside from simple being "my life" in itself1 -
As I sit and stare at code, and then stare at the Bills I need to pay as the month starts. I began to think, what if I too was part something new in Tech. Everytime, I see people creating new Tech, getting noticed, I wish I was there on forefront.
Then it gradually dawns on me, "you are just here to make ends meet, survive in the corporate world. Why care about the world. Let it go as it is."
"A shitty life".3 -
Already using PhpStorm for 2 years now. Just discovered there was an auto-formatting tool for your code. Could have saved me hours of work. Why is life so hard with me2
-
> Am writing code
> Life is good
> Add debugger keyword
> Script pauses
> Type in var name... Undefined.
> ...What?
> Check out local scope. It's there. What the fuck?
> Add console.log(myVariable)
> Refresh
> Logs variable no problem. Cool.
> Type in my var name
> Undefined
FFFUUUUUUU-7 -
There was a task of fixing up a payments page that features pretty complex logic. Initially it was like 200 lines of code, seems short but it was a fucking spaghetti mess. Never seen more cognitively complex code in my life.
So I delete the spaghetti and pull out the 500 lines fucking state machine. It works perfectly. It’s perfectly understandable even though it’s longer.
This is how I deal with problems. Shorter code isn’t always better code.4 -
This pic is from my class messenger group.
Translation:
Dear teacher! Our group have chosen another web builder for the project, we hope it's not a problem...
Yeah, I use templates which I can copy code from to my group's site, but for the love of *!#* life I consider myself a noob beginner even tough I've been in this field for a year or two now but I can code with more confidence now. What the hell are these people going to do if they only willing to rely on school and wix...
But I can always be wrong, these are just my thoughts.6 -
Here's what overthinking sounds like -
My mom was watching me coding on VSCode and said - You just type things in colors and get paid.
I thought - wow i never thought about it that way. For me it's syntax highlighting but to someone else it's writing code in colors.
This must be the same way for butchers where they don't think how precious life is - killing animals is just a part of their job.
Same with child traffickers - They don't care about human lives or emotions. It's a job for them to do what they do.
Same with military generals or assassins.17 -
All I want in life is to sit at a desk, drink hot coco or energy drinks, program and slowly become insane, because my code won't work2
-
I hate those morons who do QA by simply clicking around. You are a disgrace to people like me who like to code and still enjoy doing testing.
Get a life you fuckers. You are the sole reason why many people in industry thinks that QA is something anybody can do.
Yes, I agree you can test the application, but in no way you could ensure the quality of the product.4 -
Any senior types out there find that you’re losing your coding “chops”? I’m involved in so many OS/Middleware upgrades, infrastructure upgrades, status meetings that I can’t code to save my life anymore. I can review and guide design, but I struggle to generate new code. I can get a new dev going really quickly though - is this just a natural progression or is it game over for me? I feel like if I had to get another job, I’d be very unsuccessful. They call me a leader, but I think I’m just a slave.6
-
Soon to finish my CompSci degree and already have been invited to relatives for dinner... And IT-support...
(They had statically set their NAS to the same IP as the router and lost it)
I guess its time to prepare for the onslaught of screw-ups I'll be asked to fix.5 -
Coding was and is the thing that currently feeds me the most efficient way. But it's also what caused to cringe and to hate people the most because of legacy code and immensely narrowminded dimwits aka clients.
But yeah: Coding is love, coding is life. ❤️ -
Couldn't save a file because it showed me that this file is opened somewhere else. So I go to the resource monitor to check for its handlers, but only explorer.exe showed in list. I restart explorer and get back to the code. For the first time..... for the first time in my life I hoped that this won't work. I press Ctrl+S, andddd, file was saved.
So, basically, windows's explorer can lock files. Nice job Microsoft. Nice job. -
TL; DR;
I'm one with code and the code is one with me.
Everything in my life has been inconsistent and as soon as I start building expectations from someone or something, it disappoints. Be it my friends (😂😂) or my ex girlfriend or my studies or my college or my professors or work, or food (sometimes).
Coding, or programming, has been the only consistent and non disappointing thing since 2010 for me. It just works. If I write a wrong program, I know its why and where its wrong and then fixing it works. Sometimes it works in one go. And sometimes is works beyond my expectations. Its like coding chose me rather than me chosing coding. -
Nope,
Far too in love with myself to have any sort of insecurities.
Not that there is anything wrong with having them, we are all different. I just believe that insecurities come from giving other people far too much power over ourselves. And I just couldn't care less what people say about me, as long as it IS about me. See?
The more confidence you project the more attention you will get, be it good or bad, it doesn't matter since it is the only way to go up in your workplace. Having a personality besides "ZOmG cOde Is LiFE" really goes a long way also.
So yall cheer the fuck up, its just code.7 -
This is so nice..💙😄
<Heading>
Synopsis of Gita (religious book of Hindus)
<Stanza 1>
Code is an illusion
Today you are coding
Tomorrow someone else would do it
Thereafter someone else
<Stanza 2>
What did you learn
That is helping you in this Project
What are you learning
That will help you in your next Project
<Stanza 3>
Bug is the truth of life
It is today, and will remain forever
You think you have debugged the Bug
You are wrong
<Stanza 4>
It is continuous
In various new forms
It pops up
Recognise it Parth (Son of Hindu God)
<Stanza 5>
That's why go on making Codes
Don't think about the Bug
They will come to you
On their own1 -
Coding for me has been such a heartache and a relief at the same time. Having an outlet for my brain activities has improved my mental and emotional health significantly.
It also thought me a couple of valuable lessons:
1. With enough efford you can accomplish pretty much anything
2. You're not the only one struggling with issues, life or code related.
3. Moronic people can be found everywhere you look.
4. Patience is key to grow as a human being. -
So i informed my intent to leave the job in few months in pursuit of learning something new in tech. Boss is trying to convince me to not leave and said i should consider learning it after work hours. In fact, in his opinion, the best way to learn is just going ahead and learning it while doing it in the project ( which usually has impossible deadline and fugly code by colleagues who never thinks of good coding practices when typing their shit ).
Well guess what boss, I don't want to just live a life staring at monitor all day. I don't want to kill my eyes either.
Following his advise and not quitting would mean living a slave life.
I have other plans actually. Like being self employed and traveling the world which would be impossible if i follow the routine life.
Fun fact: he claimed he made an AI car back in 90s!
He also thinks I can't sense BS!😏2 -
My most productive is honestly when I'm on a caffeine high (my personal favorite is a 24oz NOS). I have pulled all-nighters. Accidentally.
But getting INTO the mood for programming is simple and kinda embarrassing. I get excited by seeing programming keywords in real life. For example, at a job I worked at, there was a whiteboard what had the word "include" on it forever. Not about programming at all. But every time I saw it I was reminded of c/c++ and it made me wanna do some code. I don't know why I'm like this. -
I don't know my problem is. I lost my motivation to code, my enthusiasm and excitement to read a code and solve a problem. My love of my life for 6 years whom I thought she's the one, gave up on us. It was a long journey, lots of ups and downs, but really worth the time and sacrifice. Now, she's doing good, very happy on her life judging from her social media. Can't believe she just moved for 2 months. To be honest, i want her to be happy but quite bitter that she just moved on quite fast. And I don't if this is the reason why I lost my motivation and enthusiasm to code. Or maybe I just don't like the project we're working on. Well, I really don't like it since it's a mobile game, I really want to build webapp or mobile app but it's too late to change the project.
I'm not like this, I used to code until morning without noticing the time, excited to solve a problem that stuck on me for quite a while. I really became a lazy person right now. I feel the pressure to finish the project but I don't see myself working on it, I don't feel interested reading a code. I just play computer games instead of working on my project during my free time. I don't know if I'm depressed. I socialized with people, have fun, happy when I'm with them, but when I'm alone, sadness starts to creep in. I feel like there's an empty void in myself. I don't know, i just want the motivation and energy to work on my project. Im tired, lazy, and feeling burnt out. If you read until this very last sentence, thank you and I'm sorry for reading this nonsense.5 -
On this episode of “My Work Life” we will once again find that the code is fine, the DBAs just did something brainless again.3
-
Honestly now that I have a job and I work with good people, being on devrant anymore just ruins my day. I love it when people rant about their jobs and code, and I love it when people share cool stuff on here. But the childish and toxic behavior leaves such a sour taste in my mouth. I hope I see you assholes (you know who you are) on the street so I can smack you, and you deserve every bit of what's coming to you. I hope you can turn your life around and actually help the world one day. Til then, I'm going to enjoy my life, because my life is fucking amazing. bye!2
-
Nice cuppa Earl Grey with honey. Badass Wolf Shirt playlist on repeat.
I'm going in for a voluntary night shift. I fuckin love this job.3 -
So I work full time at a retail store, but only one person is on shift at a time here so I'm allowed to bring my laptop and code while I'm running the store. This is where I get most of my schoolwork done and make most of my project deadlines for web dev job.
My only social life really consists of me hanging out with my boyfriend. Often when I need to be working on some code or project he will sit next to me and play guitar/sing or will quietly read while I'm on my laptop.
Other than that I chat with some game friends through Discord throughout the day, and often visit/help family members in spare time off of work.
Not much of a social life when you're super busy -
If you’re a developer who seek professional growth, there is no better way than learning other languages, even if nobody really uses them.
Pick a language and spend a weekend reading tutorials and most importantly writing code in it, something like game of life, sudoku solver or todo-list app.
The more alien the language feels the better. Try Clojure, OCaml, Smalltalk, Prolog, Erlang, and also weird esoteric languages like Piet.
Writing code that operates on alien concepts you see there is the quickest way of learning that concepts and reusing them in whatever language you’re making money with. Your professional growth will be immense.23 -
The code will not:
* bad-mouth
* lie
* let down
* abuse
* cheat
* bully
* kill
* run away
The code brings people together no matter if someone has the brain power of protozoa or is the next Euclid. The code is pure with a passive buff to become as perfect as possible. It's the new math for the future world. The code is love, the code is life.
That's why I love (to) code. And you?2 -
The best dev advice a dev has given me is to write clean and structured code from the very start of every project. Changed my life in general.
"How you do one thing is how you do everything." -
!rant
I've always been wondering why do tech companies need everyone to have a strong grasp of algos and data structures?
I've been coding most of my life but didn't get a CS degree so ended up in IT but I kind of want to get into a tech company as my thinking is the quality of code much higher (I spend a lot of time cleaning up other people's code and prod issues over the years...), I've been learning Algo/DS but when I see those technical questions on CareerCup, I go WTF.... it's this the kind of problems you guys do every day?6 -
I cant keep this inside anymore I have to rant!
I have a colleague that is an horrendous loose bug-cannon. Every peer-review is like a fight for the products life.
Now I understand - everyone makes bugs me included and it is a huge relief when someone finds them during peer-review. But these aren't the simple kind of bugs. The ones easily made when writing large pieces of code quickly. Typing = instead of == or a misshandling of a terminating character causing weird behaviour. These kinds of bugs rarely pass by a peer-review or are quickly found when a bug report is recieved from testers.
No the bugs my colleague makes are the bugs that completly destroy the logic flow of a whole module. The things that worst case cause crashes. Or are complete disasters trying to figure out what causes them if they are discovered first when the product reaches production!
Ironically he is amazing a peer reviewing other peoples code.
But do you know what the worst thing of all is! Most of the bugs he causes are because he has to "tidy up" and "refactor" every piece of code he touches. The actual bugfix might be a one liner but in the same commit he can still manage to conjure up 3 new bugs. He's like a bug wizard!
*frustrated Aruughhhh noises*9 -
Everyday I come to work. I feel miserable. Everyday write code. Fix difficult bugs. Go home dinner sleep. Tomorrow repeat.
I am reading Jia jiang's story. Mel Robbins 5 seconds. Christ grace's lectures. Still feel miserable. What is the meaning of life? All I want is to teach people code.7 -
When you do a pull and find a line of code is mis-indented by a space/tab and you start questioning the code gods and universe about the meaning of life1
-
Dev Confession:
I wrote a bunch of code today that created more problems than it solved. I did not commit it. I used git stash to hide it. It took me hours to write. I didn't do a test on a small section of code beforehand. Literally hours of wasted man hours.
At least I didn't commit this garbage into the repo. The approach was fine, but the architecture made it a non-solution. Now I need to redesign this code or leave as is. It is production code I cannot just "change" on a whim.
I have officially dubbed this week as confession week. This should be a world wide thing. People should fess up to their terrible deeds. Lets start a trend and confess to our misdeeds in code and life. Make the world a better place!
What do you say?6 -
This climate crisis is slowly getting into my head guys😠. The shit bolsanaro and all other govs are doing is effecting my mojo.
I am working here and trying to do my best to deliver quality code while i must fight the feeling that ppl are betraying me (the govs). Its not my job to remind them of not fucking us over. I try to help by not becoming a criminal and getting forward with my life. Wtf is wrong with those in charge of govs?! On any project if you ignore the signs, u'll end up in refactoring hell or the project just dies. Getting out takes serious commitment.
Is everyone just gone crazy?
Here we all will get fucked, if we fail with project earth. 🤬😖👿16 -
Life is good when you're responsible only for your task, code you write.
While i had souch a beautiful life, I could come to wrk, make coffe, magic and be happy. Sometimes it would be fast, sometimes slow. Sometimes I had to learn before implementing, sometimes I just needed to code it down. I had working hours. I had only TL and client to deal with.
If you dislike working with your collegues, imagine being responsible for their work and feel good.1 -
Most of my private code is created in the evening hours and after one to two beers, so I got that covered pretty well - though if you want to see what happens if you code literally shitfaced, just go play Mafia 3. That deterred me from trying.
The one thing I did at a party was fix a computer after (I think) 4 beers. Apparently I got it together because the sounds worked after that, but don't ask me how. Besides, it had OSX, I usually avoid that thing like the plague. I guess getting drunk means I can handle even that shit.
1-2 Beers is the max I still can code (or properly think) with. Any more and I can't get a single line out.
Worst thing I tried was coding high. I was on a short trip to Amsterdam and a friend of mine brought on some White Widow...
Yeah, I could focus alright... The code worked and the program was done in two hours (It was an exploit for... well, lets not get into details here).
When I reread the code while not high anymore, it might as well have been binary (it was Python). I could, for the life of me, not figure out what the hell I had been writing there or how/why it worked - but it did its job.
Never again. I mean, WW is my favourite and I hear a lot of artists use it to enhance their "flow" when creating art...
I guess it makes sense to code on that, but I generally try to avoid flow when coding - it makes you produce unreadable and unmaintainable code.1 -
Turns out the reason the current tester12 build of Linux 3DS hangs on my 3DS (at the very least) is due to it trying (and failing) to get the version of the onboard NAND (where the Nintendo-sanctioned code resides), which hangs. If I boot the known-working copy of Linux 3DS and run parted, it instantly dies due to my NAND making it say "Error: A partition cannot reside outside of the disk!"
Either the onboard NAND is dying or Linux is just being an asshole. Either way... fuck my life. -
I had this problem where I needed to make a script that took two values, and from that printed what card was faulty in a pretty large system.
As the script language is horrible, I could not be bothered to manually write over 3000 if-statements I proceeded to write a program that writes code for me, based on a export of all the cards.
There are few things I have experienced in my life that compares to the satisfaction of seeing my own program produce many thousands of lines of code in a few seconds.2 -
Today I read a comment on devRant about somebody asking what 1337 means. I think most of us know (almost trivial, maybe?), but what is really great is that so many people replied explaining what it means. Some replies were awesome, some were creative, some were just a basic answer to the question.
But none were hateful. ❤️
DevRant is a place for awesome people like you who understand that every one of us doesn't know something every day. That's developer life. That's devRant life too! The other day I told a senior developer about a Haskell project of mine and he asked: 'What is Haskell?' I was impressed, but it taught me a lot.
On devRant I see no troll comments like 'omfg fucking retard, you must be a faggot and live in a dumpster', which are common on the www nowadays and could have been found under a question like 'what is 1337?'. But not here. And this, while I see the occasional swearing in rants, but never at other members.
So thank you for just being normal people among other normal people. We swear at each other's fugly code sometimes, but we are a creative bunch of smart asses that stay classy at it.
👊4 -
Sometime my code is so wrong that I can almost hear the mother of algorithm crying out loud.
I just want to remove that piece of code from my project....no, from my mind, my life. -
Learning programming, networking, robotics, and other technical skills are very important but do not forget that these are future working software developers.
They will need to know a lot more intangibles. Like effective pair programming, performing proper git pull requests and code reviews, estimating work, and general problem-solving skills and more.
These people will be learning technical skills for the rest of their life (if they are smart about it) but what can really get them ahead is the ability to have good foundational skills and then build the technical skills around them over time. -
Thought : God the Programmer
Life is huge bunch of programming code written by God. Where the flow of control depends on how you resolve conditions.2 -
So I saw a blurb about AlphaCode from DeepMind. I went to look at their website:
https://alphacode.deepmind.com/
What I see is the most insanely detailed spec for code I have ever seen in my life. I haven't even seen college programming problems this detailed before. Most specs "I" get are like one or two sentences long "if" it is even written down. A lot of the time the direction is: write some stuff and we will tell you what we hate. Just figure it out.
So DeepMind is claiming they can produce code as well as the average programmer because they ranked 54% in a coding competition. What a complete misleading claim and absolute bullshit conclusion. I am all for creating new tech around generating code, but this is just to sell snake oil to an idiot manager at a startup.
This is going to lead to some really fucked up rants here at devrant.6 -
So this stupid fuck whose react code is a clusterfuck of bugs just bashed me when I said Java is better then node because of reasons...
I was literally speechless while thinking if I should humiliate her or not.
Guess life will show her because I don't give a fuck. -
!!rant
Today I wanted to finish a feature in some Python code I. Working on instead I scope creeped myself a bunch times adding "other cool features" and refactoring working and readable code that didn't need refactoring. Oh and learning about random things on SO and finally giving up on making any more progress for the day and reading devrant.
ADHD Self:"Coding is love, coding is life. Plus I'm getting paid."
....
Responsible self: "Wait no, go home sleep, spend time with your wife"
Remembering self:" she's out with friends"
Responsible self: "ah, carry on, she's probably spending more money than you're making" -
At work I am "the" programmer and is the first time in which I actually enjoy showing different solutions to problems without having a fear of implementing large things without having any form of recognition.
Seeing someone get happy because of something you created is a great feeling and even tho most of us are misantrophic af we can still appreciate bringing happiness through code.
To me, software engineering is the closest thing to magic and I really believe that.
Two days ago I showed my manager a little utility to build small portions of the site we are building and make changes to it in real time without browser refreshes for whatever change she would like to do. She was super happy and excited and it made me feel real happy.
Such great feeling man. Nothing but good vibes brother!! -
When you write LaTeX, do you code? Typeset? Program? Type random stuff so that in the end the PDF looks good enough to publish it?
I really feel like it's coding but it also is typesetting. Hmm, the questions of life!14 -
The code life is a cold life, but I love it. And, I can't get enough of this video! "I am a different bug. I'm the last bug you see before you die."
https://youtube.com/watch/... -
I have a problem. I am too much of a perfectionist when it comes to coding. I need it to be perfect before anybody else lays their eyes upoun it. Functions, logic, commits.. everything needs to look good. This has been one of the reasons why I get delayed so much and miss deadlines.1
-
I was asked to revisit some code yesterday - code that I had written at a much better time in my life. I was productive, I was on top of my project and we were delivering value to the organization.
I'm at a point now where I haven't written any code for months. I've been documenting and designing and arguing with teammates over inane shit. It's been an absolute slog, and I've started looking at what it would take for me to actually quit since I've got a kid on the way, and I've been bringing the stress and anxiety home from work. I've got so much money in options and salary, it's basically impossible for me to leave for better work.
I'd consider this the lowest point in my professional career. Four years of college - where I beat alcoholism and depression (mostly) only to end up at a place that I fucking hate, but cannot leave. It's affecting my family. I've drank more in the past 6 months than I have in my entire life.
And now I have to start repurposing old code to work on a new project that is fucked up 5 ways from Sunday. I honestly don't know how much further I can stretch my professional ethics to keep this shitload of cash flowing into my savings.3 -
Ever since i graduated from college my mental state has drastically improved. I am no longer suicidal and i have will to live. Although my life is still pathetic and unsuccessful at least now i have the freedom to do what i love -- which is to fucking code and not study bullshit trash subjects4
-
Software development is a special kind of a nightmare. The kind that you wish you could wake up from, but can’t, because code is money and money is life.4
-
Back in the days, i was on my way back home, after visiting my wife who brought our little son to life, it once blew my mind.
The terminology "inherit" is complete bullshit.
Why is that?
Because, a child isn't able to do anything the parents can, immediately.
It has to learn every single ability from it's parents or who knows else.
Maybe a kid won't be able to learn a specific ability from it's parents at all.
Furthermore, a child doesn't have a single parent.
There are always mom and dad.
Ok. Besides that, there is the option of a solo parentship, if a woman decides to breed based on frozen code ;) -
I wanted to accomplish new things today.
Instead I'm swimming in:
"This worked before"
- No it never worked that way, you want it to, but it never ever ever has done that thing NOT EVEN CLOSE.
"The thing..."
- Wtf is the god damn 'thing'? How could anyone possibly know what you're talking about? How do you go about life like this?
"How come we can't make it do X?"
- Because the code can't read your god damn mind, that shit isn't in the database, you don't update it and your laundry list of minor fixes for one time or non issues has resulted in you getting coded into a maze of stupid custom code so deep you're NEVER GETTING OUT!!!!
"Is your timezone before or after our timezone?"
- I DON'T FUCKING KNOW, I JUST TOLD YOU MY TIMEZONE, DO YOU EVEN FUCKING KNOW YOUR TIMEZONE?!?!?!? IF YOU CAN'T BE BOTHERED TO LOOK UP YOUR FUCKING TIMEZONE I SURE AS HELL AM NOT!!!2 -
My mother still doesn't know what I do with my laptop, she thinks I either watch youtube or movies. The last day when I faced a code block and stared at the screen for 12 hours, she finally realised I am either insane or something is driving me nuts.
My Brother thinks it's one of the good decisions I have taken in life. Because he sees my interest when I talk about it to him.
Others think I can fix a broken PC or install softwares for them or do typing to get paid.2 -
Real life experiences developers, web developers and or designers! Please help.
I have been self studying for web development for almost 2 years. Even still, I'm too afraid to apply to jobs. I haven't built a solid project for a while because I'm losing hope. I know well beyond beginner html, css and JavaScript. What do I SERIOUSLY need to know before applying? Any suggestions? Concepts? Abilities? I think my girlfriend is losing faith in this choice I made as well. If I can't find a code job soon, I think I'm destined to find full-time work, anywhere.. and I only finished a 2 year degree.
Please help, fucking desperate.15 -
There is a period in developer's life when writing comments in your code is a good idea. Then, after some time, when you write comments, it means your code is not that descriptive, is not so good that you consider writing comments.2
-
Web code editors are shit for interviews!!
I was given a timed interview test to code on a hackerearth’s code editor. First of all I have never used hackerearth’s code editor because they suck. The problem was very simple and I cleared the round anyways when an actual human saw my code. But my point is why are programmers creating shit editors for other programmers in a timed environment. I couldn’t figure out for the life of me how the fuck I should take an input and output that in this shit editor. The code logic was ready but the test cases failed.
So Should I be learning about hackerearth’s shit code editor in an interview with a timer or should I be judged on the code logic in the specified time?
I seriously find these web code editors most of them annoying. Cause they aint good enough. You need time figuring out the tools first and then code the logic.
Usually in your job you’re gonna use the editor of your choice. Not a fucking shit fucked half arsed hackerearth code editor. My rant is for those of you if you’re taking interviews on such platforms, be there. Don’t rely on those platforms. This automated crap is still crap.4 -
!rant
Buy some colored pens. The more colors the better.
I did it out of curiosity. Ended up being a life saver when taking notes and planning work on paper. It probably cut my work in half. I spend more time writing stuff on paper and planning stuff, but when I do write 10 lines of code, they turn out to be pure gems fitting perfectly in the entire structure. I write them with tons of confidence, knowing that I had thought of everything and I didn't forget anything, because everything is right there, in color, on the diagrams that I drew.2 -
I have dreams where I stare at code/tables/program output, half of the problems are real and half are made up, I wake up stressed out about not solving anything and trying to remember which is the real half I need to solve.
Why can't I dream about the video games I play? I need to get a life... -
How do you deal with the feeling that you coded all those hours for nothing? You deep down know this solution will never work but you don't want the hours go to waste so you just continue. And then it's 2am, you have shit code, nothing works and your life is falling apart.9
-
Collaborating on a project with another person, is like sex. If you don't pull on time, you've to support the code for the rest of your life! :P1
-
Reading a couple rants from students and teachers lately, brought back to my mind a memory from the first lesson in my Software Engineering course when I was in college.
Teacher entered the room like he was the king of the world, turned around facing the students and started his intro speech:
"my name is {name} bla bla bla I will teach you software engineering bla bla bla let's point out one important thing: In your life you have written how many lines of code for a software? 10? 100? If you have NEVER written at least 1,000,000 lines of code for a program, you're not a developer. Now let's start talking about waterfall, endless specification requirements and meetings..."
Me 😐
And that was the moment I left the room moonwalking1 -
How about for once in your fucking life, before saying that my code is wrong because it is giving you errors, you fucking check to see if you have the semicolons in place
-
Hey documentation providers! Some of us don't want to have to go to slow ass websites to look up everything about your code, system, library, api, etc. It also really sucks when trying to work on those systems without an internet connection. So, please provide offline documentation.
A special thank you to Python for providing help files with Python itself. This has been a life saver when working offline.
Also a special fuck you to Bethesda for not providing an offline version of the Creation Kit wiki. Everything else you do is nice, but please provide offline docs.11 -
Jesus fucking christ.
I posted two rants today, both about trying to get my SD card reader to work on my arduino due...
After spending my whole day debugging, rewriting my code multiple times, cutting off anything that wasn't strictly necessary, writing my code procedurally, I finally decided to go and see what the library I HAVE to use is doing under the hood.
APPARENTLY...
uint_fast8_t is NOT 8 bits wide on my due...
The bitshifts were "overflowing" (not really, just taking more space, which it had access to) meaning that my data was getting corrupt.
FUCK YOU FOR TAKING A DAY OFF MY LIFE1 -
Once got into a corporate company, worst 3 weeks of my life. It was so depressing and the code was ugly and the people were like robots all doing overtime and coming on weekends. To top all that they were offering me 900 USD a month which is 1,100 USD less than what the same position i was in paid for in the competitor company.5
-
All summer I've been working at a company doing some full-stack development. Starting my last year in university, I really wanted some real life experience that ties into my studies.
I did not expect to find horrible, undocumented, code that has been written 5 years ago, where the senior developer who wrote it doesn't even know what it does. The worst part? They are STILL not documenting! I tried to document, but got this in return "you don't have to document everything. Especially if it is understandable". But they don't even understand their old code!
Monday morning, we had a meeting and they asked what I thought of working here, seeing as I am done this week. I respectfully told them that their code is not readable, and it will make it hard for new employees to understand. The boss in return says "you're the third newly hired employee this summer to say this... Maybe we do have a problem then"..
No shit. Please for the love of God, comment your code!2 -
I just met real life Wally from Dilbert.
Semi retired, works a few hours a week with excellent pay because he is the only one who understands the legacy mainframe.
Learning from his example we now plan to obfuscate all code before check-in. Only readable code version will be on our encrypted personal drives. -
Please don't try to decipher your code from 5 years ago, it's a mistake. Thought it would be a great idea to bring an old project back to life. Turns out it is not. Not when I can't understand my own code...3
-
I am a junior developer, two weeks ago I got a job for the first time in my life as a fullstack web developer, I have felt bad for the times that "I should have read the code better before coding", I think I am distracted and impatient. I make mistakes because I don't know how the system works in some parts and I write repeated or unnecessary code, my boss has corrected me, but I feel very stupid and I'm afraid of being fired. Is it normal to feel like this?2
-
me:task assigned is a small fix.Gonna finish Early sit back relax this sprint.
mail(next day):we've moved to microservices.setup as easy as gulp landscape:start
me:cool!shinny new stuff!seems easy!!
project:npm failed..please check module xxx..
me:fine.....
after long mail chain
project:npm failed unknown file not found
me:fine.....
after hours of googling and little github issue browsing
project:server running @ portxxx
me:yay finally happy life!!makes chnages, sent for review.
reviewer:code needs refactoring!!
me:make all changes..waits for faceless reviewer from another timezone!
reviewer:thumbs up.
me:i will make it in time!!!yes!!
jenkins:buid:failure
me:no still i wont give up...
debug finds out new bugs caused by unrelated code...make new PR the end is near,one day more will definitely merge!!!
mail:jenkins down for maintenance!
me:nooooo....waits till last minute gets thumbs up for merge, finally merged in the last second!!
all for 12 lines of code change.
:/
sad life -
I really feel lost in the world of freelancing, I mean I literally have three jobs on the go so barely any pressure and yet I'm cocking up my time estimations and mixing up code for each site, and giving incorrect predictions for completion, so basically I keep ending up working for free. Freelancers of the depths of devRant, please help! How do you manage to maintain a work life balance? Is accurate predictions and time management just something that comes with experience?
Also huge props to you for being able to keep your mentality!12 -
=Your Human Body!!= what do u think you run on in real life??
What do you think you run on??
Brain: C++
Skin and bones: HTML + CSS
Data: Typescript or Javascript Or Node.js
Walking and breathing: Python
Defense: Java cause every white blood cell is a new class
sleeping is basically C++ packing in all the files unless someone gets drunk they cant pack correctly thats why their brain is probably messed up >=) i would say the beer is corrupted code folders16 -
This is a fucking nightmare i still dont have internet connection ever since the shitstorm happened because of incompetent FUCKTARDS WHO CANT FIX THE FUCKING INTERNET IN THE WHOLE FUCKING COUNTRY ARE YOU FUCKING KIDDING MEEEEEEE
ALMOST 48 HOURS OF NO INTERNET FEELS LIKE I WAS A DRUG ADDICT WHO FORCEFULLY STOPPED DRUGS AND NOW IM HAVING CRISIS AND IM NERVOUS AS FUCK WHAT THE FUCK BRO I CANT EVEN CODE ON LOCALHOST BECAUSE I HAVE NO FUCKING INTERNET YOU FUCKING PIECE OFF SHITTTTT
SERBIA IS THE WORST SHITHOLE TRASHHOLE CUNT HOLE HORSECUM COUNTRY ON THIS FUCKING PLANET EVER
PLEASE NEVER EVEN VISIT SERBIA. ONLY GO TO SERBIA IF YOUR IQ IS BELOW 75 AND YOU DONT WANT TO DO ANYTHING IN LIFE BUT SIT BACK CHILL AND EARN BETWEEN $0 AND $300 PER MONTH16 -
When you spend the last year of your life working on a codebase from scratch to be told the cause of the issue by someone that has contributed zero lines of code despite outlining the issue is actually 3 very separate issues.
Upon fixing one of aforementioned issues, you are told it's wrong and the description of the issue is changed to one of the others but somehow is still the same issue. -
My brain hurts from trying to figure out this unit testing crap. Is it just me or is it really a struggle to test your front-end code? I'm using jest and enzyme to test our React app but complicated parts of code with multiple state changes or calling props is making my life a living hell. I mean I usually just debug by console logging everything and it works lol...but my fucking boss has forced me into writing this unit testing crap. FML.7
-
How coding has impacted my life?
Lol, mann I don't think normal anymore. Everything is logical and conditional statements to me now. If this, do that! Else, do this. I've been making people think 2x about their dumb questions to fix their broken phones, computer screens and yes, the popular one.."can you hack facebook?". I can't even do a simple renaming or count without start with a 0. Normal people start like 1, 2, 3, 4.... and I'm like 0, 1, 2, 3. Bruh, I'd rather code than hang out which I still do but less now..smh -
When I first started learning to program, the first time I spent all day writing code. I was working with lists in common lisp. I sat down with a cup of coffee and my laptop, and the next thing I knew was five hours had passed unnoticed, but rather than feeling tired and irritable, I still felt happy and energized. And I thought, "Cool! This is what I want to do with my life. Good to know."
-
I am a good kid, and I love to code... but my fucking college makes me learn shit that I don't want to learn, that too in a computer science stream. Should I kill myself because I feel trapped and my precious life is being wasted learning shit.5
-
You know that feeling that you get like 1% of the time when you feel like you're coding probably the best piece of code you wrote in your life and then you remember that without exclusion every piece of code you wrote in the past you end up considering a stinking pile of shit thus resulting in a total loss ego-rection?
*sigh*
is this the ego death junkies talk about?1 -
Genuinely asking some rare pokemon php developers that are up to date with the tech (all php devs I know stopped learning when my grandpa was like 5 years old) to show me php code that is not spaghetti bolognese. I am asking this as I am yet to witness such code for the first time in my life (and I am coding since 94')!13
-
I guess I would say that coding changed my life because ever since I was little like 5 I was interested in technology but didint know how it was made in till 2 years later I learned that it was programming that made it. Up so when I became 10 I wanted to learn how to code because I wanted to make my own things and just overall was entertained with coding so I started learning and really liked it so 2 years later I start picking up and finishing HTML,CSS and JavaScript I'm really glad I did I get to make cool things and I'm really happing coding rather than going to my dam school😂 anyways to me code is life I don't really care about food or sleep but its fun making stuff
-
Life-hacks for school
-----------------------------------------------------------
Extending a deadline for a paper:
Create a word file, fill it with Lorem ipsum.
Save.
Open the word document with notepad.
Delete soms gibberish code.
Save
Word will throw an error saying the file is corrupt.
Teacher will ask for the file again after the deadline.
-----------------------------------------------------------
Deceiving a plagiarism detector.
only works if you can submit multiple times and no resource is mentioned or checked by teachers
Plagiarize something but not to much, submit it. Change a few words. Submit again.
The system will check the first submission against the second one and determine its 99% plagiarism of your own paper. -
Spent 8 hours in debugging a defect, just to know that code has been completely refactored, that defect is resolved, another critical defect to be fixed at high priority 😭😭😭😭😭😭 in the same code .. refactored by someone else 🥺🥺
And people call .. life of software engineers is so easy and cozy 🤔😰😢🥱4 -
Risk is part of my everyday life.
I take the risk everyday when opening IDE and changing line of code that can either break database or crash other systems that are depending on one I am developing. ( not instantly but in some time in the future )
So....
Many years ago I was updating some application server production code while being drunk.
Everything went fine except me waking up in the morning and didn’t remember how I did it.
... what I learned from my developers life except that heavy drinking and updating servers is not the best idea ?
First, don’t give a fuck, do your job and ask questions even if the person in front of you said that understood everything and you think you understood all of shit.
Second, if you think you know what to do think twice.
Third, having any backup, any tests and any documentation is always better then having nothing.
And the most important.
The most risky in every business are people around you, so always have good people around and there would be no risk at all or you won’t even think about it.
✌🏽 ❤️ -
is it ok if im the only person who codes an android app and i code it by my own free will and skills?
meaning im not following any design pattern while doing so.
i dont like following design pattern because it narrows down my freedom of writing code the way i want to write it.
its like, imagine, you have a strict schedule or a dad who says at:
5:59am: get up
7:15am: study
9:01am: eat breakfast
11:00am: go to college
3:07pm: eat lunch
5:14pm: come home
8:02pm: eat dinner
9:00pm: brush your teeth
10:58pm: go to bed
11:59pm: you must sleep before midnight
IMAGINE THAT. be honest, could you actually follow this schedule in its exact hour and minute as it was written down for the rest of your life every day, no exceptions?
if you're a sane person, you would answer - no, of fcking course not.
life is much more broader and dynamic than following a static pattern every day forever.
so is not following a static design pattern while coding an app.10 -
Talking to my architect:
- hey, we have a lot of code smell and data is structured usually in a chaotic way, also its hard to understand what is going on with all these code duplications, maybe we can think about refactoring, better structure, maybe even we can extract some domains and make life less painful?
- what is domain?
- *facepalm*4 -
Frak Yahoo!
Son of a duck!
Why don't you just let me delete my account?!
>Sign In
>Please change your password
*changes password*
>Sign In
>We sent a code to your recovery email
*Signs in with the code
>Oops, can't load your emails temporarily
(And the first and only email it loads is "Find your right life partner!")
*On a quest to find the hidden treasure of the Delete Account link*
?
>Read this before you delete your account
>Continue to terminate your account
*Delete*
>Oops, can't delete your account for some reason, try again later
*Nothing else works on the page*
*One link works - Cancel*
>Sign In to Delete your account
>>Repeat
Trucking motherduck!
Why is deleting accounts such a hard thing to do?4 -
!rant
I see a lot of people complain about uni degrees and stuff because they don't learn how to code etc. Is this really the standard?
I mean I'm only in fourth semester bachelor and had coding knowledge before starting uni. But we had basic to intermediate java in the first two semester, now learning how to write secure code and OS-Level stuff in C++, we had a module with practical Assembly coding all while still learning all the theory.
At the end of the first semester we had to write a terminal game in Java. I mean of course that's not "real experience" but if you dive in you definitely learn the basics you need to get started in real life.
Or am I wrong completely / just in a weird uni?6 -
I spent the entire weekend moving into a new apartment and all I could think about was the time I was wasting packing boxes instead of coding 😥
-
After spending hours on just one code and not able to make it run,
here I am on devrant and announcing,
Life is Shit, Shit is life,
Coding is love, but being a coder is shit.2 -
I feel like time is short.
Things about to get real.
Make sure essentials are stocked.
Stay away from DC.
Get right with whatever you believe in.
Help your neighbor.
I don't have a magic ball.
I don't know if things will be good or bad.
But change is upon on.
Ready or not.
I pray to God he forgives us.
I wish the hardest thing in life was writing code.
I wish the world I was taught about when I was young was the real world.
Maybe if things go well it could be.
Look up, pray, and realize you are not alone.
I shall not fear the dark of night,
nor the arrow that flies by day.
Cheers!2 -
Rarely do I find well-organized code written by researchers. Well, it runs, so reproduction is possible, but when it comes to actually change something in the code, it's as messy as it can get.
And THEN, I look into the paper so that, hopefully, I can make sense of what is going on. Turns out, the documentation on the paper is also poor.
F*<k. My. Life. -
remember android devs....
The difference between <view> and <View> is enough to make you kill yourself.
and even more if you have used <view> as a divider in your fucking recycler view.
Son of the mother fucking bitch i spend last 2 hrs trying to understand where my age old ,rock-solid , tried and tested code fucked up...
And when i saw the asshole bitch view, i was like wtf am i doing with my life? ;"""( -
New piece of code which should work perfectly and solve your problem but it is not working just because you forgot to remove an old piece of code you were trying to fix the same problem! Fuck my life!1
-
Code is poetry. Customer support is rap battle
You caps locking, hell knows what trying to compensate, little arrogant person who volunteers in Wordpress plugin review team, - learn some manners how to communicate with fellow human beings.
If you don't have patience for help - quit what you are doing and spend the rest of your life not dealing with people.
At least be professional enough to have email signature, and not look like some teenager wrote us back in a bus stop.
I hope your emails gave you confidence to keep such manners in real life and someone punches you in the face this Friday.1 -
Removes an control statement or a loop statement in python code ......
Fucks up entire code below it due to indentation error..
Sit and remove the indentation line by line
PYTHON IS LIFE3 -
Few weeks back our boss brought us (two devs) a freelance job, which was about writing some code for an existing website. We agreed on the price, and he gave all the details about ftp and etc. The website was in a shitty hosting. He said that he will arrange everything and then we can start working on it. He never did, so we continued our life. Today he called me asking if I had the source code of the project because the hosting company fucked up and everything is lost. Funny part is, I had the source code untill I left the job last week. I "rm -rf"ed my root when I left. I really hate him and as the time passes, karma fucks him for everything he has done to us.
-
There is normal to have an unexpected exception in a life.
If you learn to code, you know thats why there is try/catch exist, so when you try something and there is an exception you know how to pass it.
Why? So whenever something goes unexpected from your expectation you already have an exception for it and just pass it rather than making your entire mind crashing!24 -
I really don't balance social and dev life. I know I need some time to socialize but I just can't. It's like my life right now is in front of a computer and lines of code... Not that I don't like it, but I know I need to do other stuff besides coding, but I really don't know what to do and how to manage time. If anyone can give some advice, it would be great.2
-
As someone who isn't very good at actual design or implementing design very well, I usually have to start with a template for admin dashboards on my sites. Which means I have to deal with bootstrap. I've come to life with that fact. But what I can't stand is getting these templates and the HTML is so bad, all I see are flying v's! Don't these people know that you don't need 12 levels of divs? And for fuck's sake, run your code through HTMLTidy! Thank God I didn't pay money for this one.
-
"It is the worst kind of unprofessional behaviour to simply code from a spec without understanding why that spec makes sense to the business"
My life...every day.1 -
..that moment when you stumble over a thrown UnrecoverableBlablaException, but one level up you discover, that it is pretty well recoverable.. a real life "how to make your code less maintainable, rule #489: lie in you type names"1
-
I feel the need for a personal AI is real. I mean at this stage of my life I feel replacing humans around/close to me with a strong AI.
The idea is kinda creation of a strong AI but control its learning ability limited to one user.
Pros:
You have someone who understands you completely.
Knows what/how to talk no matter How's your mood.
Could be used to calm down the user even in critical situations.
Besides, if something doesn't workout just fucking tweak the code its yours no matter what the fuck you do with it.
Do I make sense??3 -
just read about Zeno's paradox and realized, this is our life!!
The client sets requirements, we code them within n time. by the time we finish it, the client sets new requirements. so we code them again, but by the time we finish it, more requirements are set.
will we ever be able to finish it all? that is the paradox.
https://en.m.wikipedia.org/wiki/...1 -
How can some developers take a full remote position when they work in a team?
I really appreciate the in real life contact with my team members, to discuss code, solve brain cracking problems together, doing peer programming etc
The days I have worked at home were good for focusing at my own tasks but I missed the team feeling.
Sure with tools you can share screens, collab on code via liveshare in vscode, use Skype to talk and what not but there is no random coworker passing by who takes a look what your doing and helps u with a problem that he knows how to fix
Just a small example why I prefer being at the office1 -
Well today i went to grab a coffee at starbucks saw my best friend working decided to buy him one too i sit down we start talking and i saw him using visual studio code and asked him why don't you use vim and answered "vim is for programmers that don't know what to do with their life and cant decide what ide they like" i didn't think twice and slapped the shit out of him fuck him. I think i might need a new best friend.12
-
tech lead: answers a question of mine, thats arguably stupid
later after VP comes in to make some decision on how they want it
tech lead: sry wrong instructions, pls see new instructions
code monkey life is rough1 -
TFW you get to work and your colleague is like : "Hey boyo you got bugS to fix on that code we pushed into production"
As I was just having a better outlook on my life -
Shit is getting more and more weird.
Context updating hooks inside useEffect is just icing on the cake especially the comment about how putting that hook in useEffect dependecies would cause infinite loop. No 💩, Sherlock!!!
No dumb components in this project except maybe buttons.
Every fucking component has tons of business logic and you can't simply tear it apart as data structures are all over the place. Prop drilling with every drill-step recieveng data of a different type.
We are using Context. For just one value. One. That's it.
Fuck this shit! This shit beats every anti-pattern approach I saw in my whole life, and this is my 40-ish project!
Over engineering by stdOut playing in the backround while I curse at this POS code.
The product is cool though. And it works™ -
Just woke up today with the biggest hangover of my life and all I can think about as I'm ejecting everything that was in my stomach is writing up some tests for my web app.1
-
!rant
I'm not sure if it's good or bad, but lately I've lost that "love" for code, not coding itself, but the code in projects.
Because most of the time the projects are inherited, there is never enough time, It's always a priority. And let's be honest, most of the time programmers don't like others code. (Is it God Complex?).
What I do notice with this "new" philosophy it is that I do not stress when I do not like some development, I ask the "bosses" if there is time to change it or if we continue with how it is. I learn that it should be done better and I continue my life5 -
NO Place is my favorite place to code.
Almost all my life I feel that no place actually feet my preferences.. But here I go and live everyday waiting it's end.. -
Well finally install gentoo in aarch64 mode onto my rpi3. I wanna learn python because that'd make my life easier. I also wanna code a web game using js. I also want to finish some more parts of my hobby operating system. And maybe rework my dad's website because the code is a mess.
-
I am really tired of these tech religious fanatics. Hardly they worked on one real life project but love to preach clean code, oops , follow the coding specification blah blah. Keep your fucking mind open. If a programming language and pradigm is widely used then it doesn't mean you should embrace it blindly. For fuck sack.4
-
If anyone complains one more time about "windows is built upon a DLL-Hell", i will challenge this specific anyone to implement react into an existing PHP-Project.
Installing matching package versions via npm is the real struggle.
Especially if you decide to be a node psycho who's delivering his react code via webpack.
*projectile vomiting in a straight beam of acid vomit*
Wasted a complete day of my life, dealing with Facebook's naughty shit.... -
For coding advice
Don't stop thinking
Keep asking how and why a thing works
Learn the logic
Pick any one language
Write some code, do mistake, fix, learn and repeat
Do keep a balance of coding and real life ,playing games are necessary
Do exercise as well....
Maybe some more things we can , but most important is
Do what you love not what others love.
It's your life live and code your way... -
Really long story. It begins when I was 11 years old, Harry Potter was kind of a hit (it was the beginning) and a lot of site based of the universe where popping everywhere on the internet. I wanted to make mine so much I subscribed to a french website which offered free tutorials on differents languages. The site is still up, it is now called OpenClassrooms and it saved my life a lot.
I tried to learn HTML (4 at the time if my memory's good) and CSS, but my mother didn't believe in my project and made me quit.
Nine years after, I was looking for something to do in my life: I tried a cursus in art history and archeology, I made a Baker school, but my life didn't feel filled.
I heard about a formation in a town near mine, and was for everyone, newbies or veterans, who wanted to have their diploma either in networks or in code.
The coding classes where fantastic. We learned VB.net, Pascal, php, laravel, C#, SQL, PL/SQL (we had a teacher who was absolutely fan of Oracle), I topped my class and now I am in the next formation for my Bachelor. Today I learn Java, Symfony, Android.
The ones who taught me to code? Internet, my teachers, books. But my teachers were the most important, because they gave me the confidence. -
so I have both PyCharm and VScode running for the same project. It’s React Redux Django so my servers and stuff are running through pycharm while i edit and code on VS cause PyCharm is crap for react and javascript.
But VS cant seem to run my crap without additional steps which PyCharm does for you automatically like the virtual env
Is there a better way to do this or is this my life now?4 -
Is quiting university because of obvious reasons to pursue a freelance web developer career a smart move?
I am just 21, sick of my teachers and environment and I feel that I would eventually fall into depression if I stay . I love to code, I dream code literally.
What are the long term consequences which I can't think of.
Devs please help me make a smart choice before I make biggest or smartest move of my life.
I am making just enough to sustain myself. Just Brought a MacBook air worth 1000k with little help from family.
Will not having a degree be an obstacle in my dev career.23 -
# Gave me a job and more stress and literally nightmares;
# Physically resisting myself to give solutions to everything people moan about. Even myself. But we know things flap in production;
# Cursing my life, other people's code, customer's IQ more often;
# Getting more LinkedIn, messages, profile views and requests than my social media (which I really don't give a shit about);
# Using a combination of programming punctuations in usual writing (this rant for example);
# My sleep is down the toilet;
# Never complaining any coffee as long as it works; -
So here I am debugging a factory in an algorithm I didn't write in a library I didn't write all so I can jam an exception throw into the code to handle input validation.
I am being forced to use exception handling. To handle input validation.
What is my life? It wasn't supposed to be this way. I was supposed to work with smart people who do smart things. Why? -
Some programmer or QA person somewhere in the world is having a moment of great reflection on the subject of thoroughly testing their code. If not that, then on the subject of a super crappy manager who knew better and pushed to production anyway.
“Then in September this year, nearly three years later, he got a letter from Wells Fargo. "Dear Jose Aguilar," it read, "We made a mistake… we're sorry." It said the decision on his loan modification was based "on a faulty calculation" and his loan "should have been" approved.
"It's just like, 'Are you serious? Are you kidding me?' Like they destroyed my kids' life and my life, and now you want me to – 'We're sorry?'"
https://cbsnews.com/news/... -
Life is too short to have commented codes; don't want to go back to it once it shows up in the static code analysis scan9
-
TLDR: Read the post.
Part of me watches the day fly by as I work through the various stories and issues my company has as we walk through the various phases and clean up of their own stupidity of outsourcing. I guess it would be unfair to say “stupidity” It was really a money thing. Excuses aside, the alcohol today tastes amazing as I work through the issues, nothing is ever the same, nothing is ever redundant or boring. There are times where you want to pull your hair out, jump off a building and question why the hell any one would write code, specifically Laravel this way.
I watch the internet from now and then and see the cry babies whine and complain about GitHub and Microsoft jumping into bed and their favourite, and mine too, editor falling into Microsoft’s hands.
It’s disgusting and completely childish, but I digress. The last time I was here the alcoholism and the loneliness had begun pushing me towards the Nicotine and suicide. I have managed to obviously push through and watch the money come in only for adult life to take it away, I guess that’s life. Complaining about it will do nothing other then show others how much control you lack in your own life. You quiet your complaints and bury them deep inside your mind where they fester and stir and become drowned in alcohol.
Dating is even harder, especially when you work from home, so much so that I have completely given up there, any semblance of social life is buried in Final Fantasy 14 online, where pixels and text other people write have become my friend, at least for a moment or two before the work takes over and I sit in a room blaring music and watching the code I write, appear on screen like some savant who has high functioning autism but can create amazing works of art. I don’t think I am autistic though.
The truth is I don’t mind my job, I love the money and the freedom as I stated before.
Code for me is like a seed of anger that starts deep in my core, festering, eating away at me, killing me slowly and branding me a fool. The problem is the best feeling, when there is a problem I can solve it with code, when there is a problem that cannot be solved by code I take solace in the problems that can be. I don’t like people, I hate offices and I despise dealing with my own personal issues, I would rather drink and vape until the nicotine and the alcohol has made me sufficiently numb.
Code is a place I can escape, a place I have control, a place where I don’t feel like blowing my brains out at the stupidity of other people. Have I mentioned that I hate people?
The internet is full of idiots, people ranting and raving about this and that and how it affects them oh so much, when they don’t even let their own code, there own programming problems, and in most cases shitty solutions, affect them. Look at this GitHub thing, the idiots are running around with their heads cut off, waiting for the world to end or in most cases acting like it has. Companies get bought, bill get paid, people leave each other – Shut the fuck up and deal with it.
I guess if you look back at what I have written you could say the same thing to me, boo-fucking-hoo working from home sucks sometimes, grow up and deal with it like an adult. Fair enough, I’ll take my lumps. Excuse me as I continue to drink this post away and watch the downvotes come in. I guess honesty comes with a double edge sword.
And yes I would rather use alcohol as a solution then deal with the issues.16 -
We Introverts are going to look back to these days, Don't forget to make some memories...
... No one is asking to go out, Employers are offering work from home, to many of us it's the same old same old, in the mean time I wish y'all the best time...
to do amazing things, complete your pending projects, gist some funny/important stuff, read/write a little, organize you machine/room/life, take on some DIV projects, code better and automate the boring stuff (basically everything and anything)
I am planning to make my own version of our beloved Jarvis (just in case If I get my hands onto mind stone :p) -
Realise that your life is being wasted away and if you don’t code nonstop you’ll always fall behind everyone based on job requirements :) then you’ll always want to code something1
-
Spent half a day working on some code to add some functionality. Ran into some binary assumptions and found workarounds. Got everything implemented and close to start testing things. Not a lot of code, but a lot of places that needed careful attention to detail. Started looking at the final code needed for initializing things. Found that all the code I wrote would not be needed if I just initialize some things differently. Realized I don't need all this code. The code is literally redundant.
git checkout <changed files>
Okay, now I understand the code better. I am ahead because I am not maintaining code I don't need. Half a day of reading the code helps me understand everything that is there.
Life is good. 😀 -
Error reporting. Yeah it is a pain to come up with something that users will understand. As devs we need meaningful stacktraces so we can diagnose the problem but the normal person doesn't care. Also not having consistent messages looks terrible for the user's experience.
I hate it when there is no standardized error messages and/or json structure between teams or individual members of said teams. Why should we have 10+ different structures to code for in our apps? There is RFC 7807 for a reason. It has a defined structure plus accounts for custom properties. If you are a c# developer, check out the ProblemDetails class. It has made my life easier and I can guarantee everyone that all of my team's projects return this structure. -
I’ve met some of the best friends I could ever hope to have thanks to code.
I started with the MUGEN fighting game engine back in high school. Didn’t know a thing about code but I wanted to learn so I could make awesome characters.
If it were not for that, I would’ve never met friends from all over the world from different countries, cultures, and backgrounds. I certainly never expected to have a best friend who lived in Mexico (who is now in Japan). I would’ve never found the career I have today, nor would I have met the love of my life (even if I couldn’t have her, my love is still there), and I wouldn’t have traveled the world to meet some of these friends.
In the end, it was the engine, our passion for fighting games, and our discovery of the art of code that brought us all together. -
A beautiful Friday night on an island with plenty of drinks and katsu!
Life is great sometimes! Don't code too hard guys. Have a drink!3 -
Ahhhhh.... Now i want to really know how developers make softwares, ROMs, chatbots using ML and all these type of stuff.
- When i go through the guide for making ROM for a smartphone or a chatbot the writer asks the reader to take the code from github, everybody just give github link and move on. None tells how the developer wrote that bunch of code. I really want to learn core concepts behind all this. I know how to code but i can't apply it in real life applications. For me there is no bridge which connects coding to end products. I don't know what to do next?4 -
I definitely want to program/code for my career, creating things and solving problems is cool, but I just started doing game development and IT'S SO COOL. I may have messed up my plans for my life :/
-
Starting a job. No computer for the whole week with no prospects for when will I even get one.
Doing nothing, still getting paid, but starting slowly and surely to loose my mind...
I NEED TO SEE Code in order to live.1 -
I've recently had an exam, a C++ exam that was about sorting, pointers, etc... The usual. The exam was about Huffman's
optimization algorithm along with some pointer problems. He asked for a function to find something in a stack, what I did was write down a class that has a constructor, deconstructor, SetSize(), Add(), Remove(), Lenght(), etc.. He didn't give me any points for that, why? Because I didn't write down everything like in his book... I had classmates that literally had phones open with his book, he just watched how they copied code and gave them 10/10 points. But nothing to the guy that wrote down 20 pages of code. YES!! On paper, an IT university that asks you to program on a fucking paper. Good thing that at the very least I passed.
TL;DR
Teacher has book, I refuse to remember code from it/copy from it, I get lower grades than people that literally copied word for word.
Life is really fair. -
First month at my first dev job and I already don’t know if this is what I want. My boss keeps touching the code without me even being present, so when I arrive I don’t know what’s even happening. Getting texts from him at 4am doesn’t sound very healthy either. Is it all the same? Are dev people supposed to not have a life and work 24/7 for a company? Maybe I’m just wrong about my career choice. But I used to love coding before the job. Now it’s just a fucked up thing where I wake up wishing my boss didn’t text me or refactored half of the code in one stand.1
-
!rant
If anyone used (or still uses) REBOL 2, I found a lovely open source version that is actively maintained called red. Go check it out, I love the REBOL 2 like syntax. Apparently it's 90% compatible with REBOL 2 code so I'd consider porting when it's further on in its life.
That's my contribution for the month. -
Came to college to finally study the subject I love, to code in peace. After finally getting through the rigorous admission process in which you study stuff that isn't actually relevant to the stream you'll be choosing in college. And all of this for what to join in the vain pursuit of getting a good CGPA. All of this is literally sucking the time out of my life. Fml
-
Project released to dev environment... None of my changes are in there. Check the TFS check-in history and the check-ins aren't the code I wrote for specific items. Don't know why, or how. My life is a lie.1
-
Some of my first thoughts on the new 16.3 release of React...
New Context API:
- I’m glad they made the context API less scary, but as a redux user I will still be staying away from using context as a best practise.
Strict Mode:
- I like this a lot. React allows for great freedom in how you do things, but also offers the freedom to write some shit code that in the end does the job. A way to enforce best practises in JSX is good in my eyes.
New lifecycle methods:
- meh. Life moves on
https://medium.com/@baphemot/... -
Recently joined new Android app (product) based project & got source code of existing prod app version.
Product source code must be easy to understand so that it could be supported for long term. In contrast to that, existing source structure is much difficult to understand.
Package structure is flat only 3 packages ui, service, utils. No module based grouped classes.
No memory release is done. So on each screen launch new memory leaks keep going on & on.
Too much duplication of code. Some lazy developer in the past had not even made wrappers to avoid direct usage of core classes like Shared Preference etc. So at each place same 4-5 lines were written.
Too much if-else ladders (4-5 blocks) & unnecessary repetitions of outer if condition in inner if condition. It looks like the owner of this nested if block implementation has trust issues, like that person thought computer 'forgets' about outer if when inside inner if.
Too much misuse of broadcast receiver to track activities' state in the era of activity, apપ life cycle related Android library.
Sometimes I think why people waste soooo... much efforts in the wrong direction & why can't just use library?!!
These things are found without even deep diving into the code, I don't know how much horrific things may come out of the closet.
This same app is being used by many companies in many different fields like banking, finance, insurance, govt. agencies etc.
Sometimes I surprise how this source passed review & reached the production. -
I asked the Node gitter community but didn't get any response, and I fear for my life when I am posting on SO.
So, I would be posting my query here. Any help would be appreciated.
Query:
Hey! So I have a code like
var cached = true;
if(cached){
}else{}
When the v8 will profile and mark this function as hot, will the full compiler optimize it so that the 'if(cached)' is not checked every time?2 -
Moral dilemma :
You inharit a task from your team expert (big ego there) he estimated this before sprint as hard 10 days (with overtime).
You have finished it in a very relaxed 4 days (I agree a lot of code was written but that's life).
Now there is the dillma :
If you declare it done by this time you are the rockstar but you getting a very influencing enemy you made him look like a fool...
If you wait do a psaudo work for the remaining time . It's just laying.. And there is 50% your cover will be blown....
What would you do?5 -
Do you need the Konami code in your life? A simple (read as: doesn't have to be entered in perfectly), un-refactored (very messy, first pass by pretty tired dev. probably full of extra, slow crap that is misspelled), IIFY to add the Konami code to your next personal site (don't do this at work, might not go over well...). could be fun?
```(() => { const konami = ['ArrowUp','ArrowUp','ArrowDown','ArrowDown','ArrowLeft','ArrowRight','ArrowLeft','ArrowRight','b','a']; let keysPressed = []; document.getElementsByTagName('body')[0].addEventListener('keyup',(e) => {const findAllIndicies = target => {const allIndicies = []; keysPressed.forEach((key, idx) => {if (key===target) {allIndicies.push(idx)}}); return allIndicies;}keysPressed.push(e.key);if(keysPressed.length >= 10) {const startingPoints = findAllIndicies('ArrowUp'); startingPoints.forEach(point => {const working = keysPressed.slice(point); if (working.length >= 10) { const miniSlice = working.slice(0,10); const check = konami.filter(k => !miniSlice.included(k)); if (check.length === 0) { keysPressed = []; ADD_SOMETHING_COOL_HERE_FOR_YOUR_WEBSITE}}})}})})()```7 -
archeological work is painful and difficult
people in industry don't seem to emphasize/warn how much archeological work there is in being a code monkey
or are there jobs that don't involve it? i imagine the skill remains essential
greenfield work to be the exception not the norm, and start up life is hell and a gamble
interview process seems to completely disregard this, as i imagine it'd be difficult to assess, unlike leetcoding linked lists or code golfing stuff without using data structures, or whatever awful things they ask for in leetcode hards or whatever3 -
OK, Started to work on iOS app few months ago. Had to deal with so many xcode and swift problems that it is driving me nuts. How any sane person can code this shit language? I never seen such an idiotic syntax in my life. I worked with so many languages in past 12 years: C++, Java, Python, PHP, Ruby, JavaScript. So many code editors & IDE's: Subline, Notepad++, Eclipse, Jetbrains, VSCode, Atom. But after working XCode and Swift for few months I want to burn down my MacBook that I only had to get to work on this iOS app with this shitty XCode IDE.7
-
Is asking the question on Stack Overflow 'how to insert <script> elements from .md comments in .css files to a nuxt.js-based site' a point where I should rethink my life and code design choices? Or should I see where this insanity will lead me?3
-
It's always hard to balance time between romantic affairs and programming projects when both are going on simultaneously. I've been talking to a girl at my college, and even though she doesn't take up much of my time, I still feel like it's harder to make time for my programming. I guess this is more of dating affecting my code, but I personally prioritize code over dating currently in life.
-
Learn git. Contribute to open source projects - you may learn more from code review on a single PR than from a whole tutorial. Ask questions constantly. Learn more git. Look for the cleanest solution to a problem. Write code that is easy to improve, easy to expand, and easy to debug. Learn even more git. Don't limit yourself to thinking only in terms of OOP, or functional, or procedural, or whatever type of programming you may be comfortable with. Don't be afraid to do some work by hand. Learn git, so that when all comes crashing down and your team crumbles to pieces, when your relationships fail and your friends disappear, when you're down on your luck and there truly is no hope left in life, you can check out of the dangerous world of your current HEAD and return to the home and comfort of your master branch, which you've kept safe, secure, and functional.
-
So this https://devrant.com/rants/7347385/...
Then today I was supposed to merge code written by some who left at the end last month. QA just passed it now. Yea that branch is nowhere to be found -
Apparently i need to to "import" the devrant swag. Just today a post arrived in the mail which says i need to fill up a kyc form and need an importer exporter code for a shipment that is stuck in customs. Wtf man!. I tracked the package and it is from usa. The only thing that could arrive from usa is devrant swag. And now i need to go through filling so many forms so that i can slap some stickers on my laptop. My life is not easy.3
-
I did some of the front-end and whole backend. build and manage the SQL + elasticsearch database. After all of this, only 17 lines of mother fu**er code ruined my life. The client is asking for code. And.... And... Can't say anymore.
input {
file {
path => "/home/rsa-key-20200528 /aslogger.log"
type => "java"
start_position => "beginning"
}
}
output {
stdout {
codec => rubydebug
}
elasticsearch {
hosts => ["localhost:9200"]
index => "aslogger"
}
}