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 - "code problem"
-
Do you people know that problem, where you sit down and code for 20 minutes, and suddenly it's 4 hours later?24
-
Will the bug in my code please stand up?
I repeat
Will the bug in my code please stand up?
I think we have a problem here.
*music intensifies*11 -
When you implement a 3rd party payment system, and it doesn't work... and their support can't fix the problem... So you debug their code and send them the revised code and they update their GIT repo and update their documenting.14
-
How it should be:
- First: solve the problem
- Second: Write your code.
How many people do:
- First: Write code
- Second: solve code problems
- Third: Adapt code with requirements
- Forth: get lost on your spaghetti code
- Sixth: make a suicide8 -
GF: I swear, you're spending more time staring at the screen than actually typing anything.
ME: Because literally 80% of coding is staring at the screen thinking about how to code something. My mind is an endless void of possible approaches to a problem.4 -
He: Hey could you please help me with my code?
Me: mhmm ok..
He: I've made this and this and this and this...aaand this and this and... Oh that is the problem. Thx for your help bro.
I'm proud to be a rubber duck.6 -
That moment when you've spent an entire weekend trying to solve a problem spanning hundreds of lines of code but then you find out there is a library for it6
-
I'm here, wide awake at 4:30 am... Not because my brain is stuck on a problem, but because I am so happy with the code I wrote that I'm too excited to fall asleep.7
-
I just spent 20m debugging.
Basically bootstrap nav wasn't working. Couldn't understand why not.
Figured out its a an issue with the JS interfering so I remove the script reference from my HTML. Problem solved.
Okay,cool. Now let's add that file back in and figure out what caused the issue.
Hm. This line looks like it might be it *comments it out*...odd. Problem still happens.
*proceed to comment out and test every function to see what could be causing this issue*. Still happens. Fuck it. *comments the entire file out*
what the fucking fuck. I remove the script reference the problem is gone. I remove all code from the script - problem persists.
...wait...are you fucking kidding me. I OPENED THE WRONG JS FILE WITH THE SAME NAME BUT IN A DIFFERNT DIRECTORY.6 -
Coworker: "Hey do you have 30 minutes? We should debug my broken code together."
Me: *slightly interested in the project he's working on* "Sure, let's do it."
Coworker: *explains the problem for 10 mins*
Me: "Maybe--"
Coworker: "OH here's the problem!" *type type type* *git commit -am 'Fixed'* "Done."
Me: *wants 10 minutes of life back*9 -
My friend called me for help with her CSS. I was like no problem go to Teamviewer.com and install that software. 10 mins later she called saying teamviewer didn't fix her code. I'm done!4
-
So I got an answer on Stack overflow
Answerer basically said "finding the error is tedious so I re-wrote your code"
They changed about 15 lines in their answer. I combed over it and found that I needed just one.
I put an answer myself, saying which line was missing (as the other answer didn't highlight the actual solution, and rather re-implemented my code)
My clear, concise answer was deleted by moderator for "Not adding anything new" (Except what the exact answer was to my problem, I guess)
Not my fucking problem. Make your own Q&A site harder to use, as if I give a fuck.21 -
Light themes in any code/text editor.
Can you take a look at this?
Sure no problem.
Proceed to have my eyes melted by a burning white light.8 -
I have the habit of immediately closing parentheses after opening them, then insert the code.
The problem is, this applies to hand writing as well. Because you cannot move characters in a hand written exam I spend half of the time writing, then removing parentheses.
Whyyy brain5 -
Spent hours finding the problem in code. Suddenly something happens! Code works! Now I'm spending hours finding what made it work.3
-
Spend around 8 hours trying to adapt code I found on the internet to my problem, without success.
Spend around half an hour implementing it myself, with success.
Guess I should put more trust in my skills...3 -
Started learning C++, coming from Python.
Just spent ~25 minutes searching for a problem - My code wasn't working like I expected.
Problem: Didn't compiled the program, kept running old code, didn't noticed8 -
Me: Why is there such a delay between the app and the hardware device?
Colleague: Ah, same old same old, TCP is just an inefficient protocol. We should stop development and build our own replacement to TCP.
(PS. The actual problem was his code)9 -
Asking a question on Stackoverflow, explained as best as I can, provided links code everything.
5 minutes later I see a notification. Wooooo someone will help me fix my problem.
Some Indian dude suggested an edit.
You know what his edit was?
...
CAPITALIZING THE FUCKING LINKS7 -
Fuck me. I just posted a huge post on StackOverflow with images and huge puddles of code everywhere because I had been stuck since yesterday and five FUCKING minutes after asking, I read the code on the website (Pretending to be an outsider solving my own problem) and find the FUCKING TYPO.11
-
Have you experienced solving a programming problem for hours, and when you finally got it, you just stare at your monitor and admire your code?
You just sit there smiling and thinking to yourself, finally you did something right. ehehehehehe
Happy Sunday buddies!3 -
I love writing and using my own apps!
Was just using 2 of them but found a new annoyance...
No problem! Open the source code, add the functionality, publish and install 😆
10 minutes after... All good and better 😁1 -
A repressed memory just popped into my head:
At my former job I tried to explain a problem I was having to the tech lead. Then, without fully understanding the problem, he decided to rewrite my code that I had been working on for weeks. His code, that took him 2 days to write, went straight to master without peer review.
He introduced about 10 regressions…
Queue the client meeting where the client says “These bugs came back, and we thought they were fixed already…” (They demo the bugs)
So obviously I say “I’ll let Techlead address that one.”
He just mumbles some stuff, and goes quiet for the rest of the meeting. Finally, when the meeting was wrapping up we hear “It’s Fixed!”
Everyone was like ???
“That bug from earlier, it’s fixed, it should work now….”
Would you believe this guy decided to code during the entire meeting, clearly missing important feedback and information that would help him understand the problem. Again, pushing to master without review….
Not to mention that we were talking about 10 regressions…5 -
"...the way he has written the code, it feels nasty man. I would have done it this way..."
Fuck you and your feelings. If you think my code is bad, give justification for it. Explain the fucking reason. Stop saying it "feels" like a bad code.
Fucking tired of this mentality in most of the developers. Why is it that the moment you look at someone else's code, you feel like you would have written it better. Programming is problem solving. And you can solve a problem in couple of different way.
If the code is absolute shit, has followed no best practices then yeah, go ahead and call it a bad code. But just because you would have moved some lines here and there, that doesn't mean the other persons code is horrible.
Goddamit!13 -
So the CSS code I'm working on has a terrible vertical alignment problem on every browser except IE11. Using `display: flex` =_=
I'm not joking this alignment glitch is driving me nuts! Deadline tomorrow.15 -
Hi all. I know it's been a while. I've forgotten what days off are. However, knowing you all are here and understand the terror of horrendous code gives me comfort while dealing with statements like "the problem isn't with our code, we haven't touched it in 14 years" while discussing database upgrades (3, in fact).8
-
Hunted a bug for 8 hours, thinking it was a problem in my code....
Found out it was someone else's code generator that injected the bug...
Contacted the concerned dev... Had to convince him for another 3 hours that it was his change to the code that caused the issue. He is still sure that his change can't break the code...... What the fuck are you..? A fucking God programmer who never makes mistakes??
I mean how hard is it to just accept when I just proved it to you??6 -
This just makes me mad every time.
I have a friend who asks for help in coding and just reads and copies my whole code, doesn't even understand what's going on and just copies the whole damn thing (the variable names too). Also, says I don't know how to do it properly because I indent the code and he wants it all in a single line.
If there is any error in the code, just tells me that there is a problem and does nothing and keeps nagging me if I solved the problem every 2 minutes.
Once I solve the problem, just copies the stuff again and then brags to others about the code and takes all the credit.
After bragging, if someone asks him for help he just tried to match the code line by line and worry by word. And tells them their code is wrong if they are using a different method of solving the problem and asks them to do it like him.
Being an introvert, I don't go shoving my stuff in others faces and criticising their code.
But the professor knows I am good, so that works for me. :)17 -
0. Problem
1. Thinking of an algo
2. Writing a code
3. Compile
4. Compile Error
5. Fixing bugs
...
6. Finally compiled!!
7. Running a test
8. Run time error
9. Fixing bugs
...
10. Finally I can see the result !!!!
11. Shit!
12. LOGICAL ERROR :/3 -
Me (as a Senior developer): How will you solve this problem using regular expression?
Junior developer: *Explains*
Me: Good
Junior developer: I truly feel like a programmer when I code regular expressions
Me: Now, we have two problems.26 -
that feeling when you code from 11 pm to 2 am to solve a problem and then decide to google it and see that you could solve it in 2 min or less4
-
Me: *spends 7ish hours looking for bug in insanely poorly written javascript file to no avail.*
My boss: *spends 30 minutes reading through code* Found the problem-- this function call was missing a parameter.
Me: *wtfHowDidIMissThat*6 -
Manager: "<third-party vr app> isn't working. Think you could fix it by tomorrow?"
Me: "I can't fix it without the source code."
Manager: "Didn't you install it?"
Me: "I did, but I'd need <third-party>'s source code if you want me to make changes and that problem would probably take at least a day to fix."
Manager: "Can't believe you don't have the source code. Aren't you supposed to have your code available?"
(Just....)18 -
When you write something cool but the problem can be solved in an easier way and you have to dump it 😭1
-
thought I'd check why I'm getting connection timeout on my app
I think the problem is me and not the code3 -
So my colleague today was writing some javascript to multiple numbers, and he was getting very frustrated after a while trying to debug the code. the problem was he wrote the following:
AxB
but what he actually meant is
A*B
So yea @_@ ...4 -
Probably the biggest problem of my life was starting to code at age 28 instead of, let's say 14...12
-
the evolution of a js dev:
solve a problem with somebody else’s code
solve a problem with your own code
solve a problem with npm install4 -
Is it just me that is addicted to the feeling when you solved a big problem with the code and everything just works afterwards? Its such a nice feeling!!3
-
Just spent 10+ hours refactoring a code, and at the end I've figure it out a one line fix to the problem... just wasted 10 hours of my life.. :)7
-
Me, talking to a colleague:
"No, thats impossible. The problem can not be in my code. Let me show you why. You see, the code does this, and than it goes here, and then… oohhhh…. I’ve found the bug."3 -
That moment when your function runs problem free on the first try.
The feeling of "Holy shit" and "I think I just spent an entire day's worth of luck in this snippet of code"
I don't think I'm gonna go outside today.3 -
Boss: I have a demo NOW, but there os an error message on that page.
Me: okay, give me sometime to elaborate the problem..
Boss: No No please, this is urgent
Me: Okay..
My code:5 -
See, the problem with University students beginning programming is that they think that they're the hottest shit just because they know how to open cmd.exe. Since I'm a mentor, I have to give them pro tips while helping them through problems. I can't count the amount of times I've repeated "solve the problem on a notebook, write down how you should approach it before you begin typing your code, otherwise you'll end up spending more time debugging." They don't like to listen, cuz they're the next Zuckerberg. The following day I get a bunch of emails asking why their code doesn't work.2
-
Aha! The problem that you solved after a week long of thinking was already solved in 1800 AD and the code looks 100x better and optimal than yours.5
-
*Intensely staring the screen and solving a problem in my head, I can feel I'm close to the final answer, the answer to the truth, the holy Line of Code and that it will forever chang-*
PM: hey, do you know why my mouse doesn't click anymore?
...rant they're not coming back far away my thoughts are yep all gone and no distraction intense thinking6 -
It's surprising the times I actually become lazy to code:
It's not when I need to probe the problem to figure out possible solutions, but rather when I know exactly what the solution is, but will require tons of code.5 -
So I recently started going to a university, and I am being taught C. I have previously learnt C++ in school so its all pretty easy for me compared to those who are programming for the first time.
So, one of my classmates run into a problem with their code so he asks to check where he went wrong. So, the teacher comes and checks his code and then concluded that the compiler is F****** broken!! And i am like FFS theres a missing semi-colon, even the compiler pointed it out....just because you couldn't figure out the problem doesn't mean the compiler is broken.7 -
Spent an hour trying to figure out what was wrong in my socket disconnect detection code because it was constantly reporting disconnects when it shouldn't have... Only to find it was a pinched cable causing the problem. Meaning it actually did work the entire time.1
-
1. Identify the problem
2. Come up with a clever solution
3. Refactor half of your code
4. Watch it fail horribly because you're such an idiot it's a bloody miracle you keep breathing on your own
5. Repeat2 -
My code was doing the exact oposite of what I wanted it to do and it took me about 2 hours to find out that strcmp() returns 0 when the strings match, problem solved, fml.4
-
Your code is supposed to solve the primary problem you have. It is not supposed to create problems and solve those problems you do not have initially.5
-
In my uni course "Algorithms and Data structures" we use Java. Fine. Definitely not my preferred language but it's not like I have a choice.
Anyway, our teacher uploads code files for us to use as reference/examples. The problem is, they look like this. Not only does she not indent the code, she also uses a charset that is not utf-8.
In the rare cases where she does indent the code, she uses THREE, yes THREE spaces...24 -
Spent 4 hours trying to fix a problem which fixed in just 4 lines of code.
My wife feels sorry for me.5 -
I had a problem with my code, it doesn't compile. Then my teacher came and clicked on the Debug-Button. In this moment Windows crashed in a Bluescreen.4
-
Some people hate a language due to problem they faced while using it. I simply hate some language because code written in it doesn't looks good.4
-
Trying to discover why the DB listener wasn't being called in my app for like 30min. Many log messages, no exceptions or errors, DB rules revised, DB content revised, changed constructors, simplified code and nothing worked... problem: the phone's wifi was disconnected.2
-
Tech lead doesn't focus on the fact that I solved the problem, only says stuff like:
- "yeah but this is why we are Agile"
- "did someone else review your code?"
- "you can't expect me to have to understand what the program does"
- "did you get permission from X to solve this problem?"
- "talk to someone else if you have any problem. only come to me with answers"
I guess I don't have to explain I don't like my tech lead.12 -
The worst kind of problem you can have while coding is an inconsistent or intermittent bug... For code you didn't originally write...1
-
When you get stuck on a problem and you just stare at your code until you don't see any code.
You only see the woman in the red dress....1 -
*Didnt understand anything mathematic back in grade and highschool
*Can understand math in code no problem.4 -
So, a friend of mine just got a NullPointerException from his shitty Java code, and decided to fix the problem by catching the exception.
Great fix bro, real smooth..1 -
Web dev prob:
When you modify a code then refresh your browser, It doesn't change anything and you think your code has the problem, Modifies 100+ lines and refreshed the page, still nothing happens. Asked someone about it, Fix? Fucking cache! Fuck you google chrome!10 -
When you're trying really hard to figure out a problem with your code, but then just realize you've been sitting there for 40 minutes staring at the screen.
-
I got stuck with a small task for days, today I just have the courage to ask for help and a senior literally gave me the code for the problem! I'm not sure if I should be happy for finishing the task or embarrassed for couldn't solve the problem by myself. 😄😥5
-
HOW TO PROGRAM(in four easy steps) :
1. Google the F*cking Problem.
2. Open a Stackoverflow link.
3. Copy and paste the code.
4. If it didn't work, goto step 2.
If it did work, goto step 1
(you didn't think you were done.. did you?)
FAQ
Q: What if there is no code?
A: Then it is impossible.3 -
OSC, or open sound protocol, does not have a Boolean type. instead, the Boolean true has type true and the Boolean false has type false.
what.
well.
at least the problem wasn't in my code? -
When you encounter a bug in your code while writing a test and you have absolutely no idea what's wrong...
...and then you see it's a type problem. -
Got stucked in a problem with recursion in php, almost 2 days no sign of progress until i told my co worker how my code works, then i found the error and it work. I think developers need to talk about the code to realize whats wrong with the code.9
-
Am I the only one who still look deep in the Code, try to find a better way of solving a problem after it's already been perfectly solved 🤔12
-
Sometimes at the end of the day if a solution to a problem seems inefficient I just leave the task rather than writing buggy code. It gives me a day's time, away from the screen, to come up with much better and elegant solution which I eventually code up the next day.
After years of experience I have realised that its better to wait for a day and not write inefficient code rather than trying to fix a hell lot of bugs later.4 -
Don't focus too much on learning one specific language. After some coding getting to know a new one is going to be no problem. Focus more on paradigms and maintainable code.
Oh, and don't forget, comments are sometimes way more useful than the actual code. -
Yesterday night, pushed code that work normally to prod server, website down, internal server error, too many connection to MySQL server, tried to fix it for 4 hours, nothing to do, removed the new code, still the same problem, in my head, I told myself that I'm not good at programming (not the first time), send an email to the host, they tell me the problem is from them and they fixed it. And now I know I'm not bad enough.2
-
It's almost 10 pm now. For some reason, I have a sudden strong urge to code something till morning. The problem is I don't know what to code.11
-
I threw an error into my code to find where the code was having trouble but instead of raising and error it fixes the problem and runs flawlessly
At this point I can't tell if python loves me or hates me2 -
Ugh all but one unit test is passing :-(. I know the code is working- so the problem must be in the test... [add @ignore to test]. Yay they all pass now!1
-
“Falling in love with code means falling in love with problem solving and being a part of a forever ongoing conversation.”- Kathryn Barrett
-
When you've spent hours debugging a problem of session not being saved and there is no error. And then you find this in the code:
try{
save_session();
}catch(Exception $e){}// added by another member of the team
🙈😖🖕🏻6 -
Code review, intern style:
Intern: Here is my pull request ...
Colleague: I see a problem with x, y, z. Could cause memory leaks.
Intern: Oh yeah you are correct, i'll fix that in the next one.
Intern: *merged* -
When small things get big and don't work and you wonder for hours what is wrong with your code ... only to find out the problem is in the framework you use.
-
So today my pr needed approval. One of the lines of code created a unique ID using the uuid4 functionality.
I got a reject saying I didn't handle a case where I would get the same uuid twice.
Well, I guess it would be the problem of the developer working on my code in a couple thousands of years 🤷♂️2 -
MOCHA YOU FUCKING BITCH, THERE IS A DONE() CALLBACK BEING CALLED IN THIS TEST, WHAT IS YOUR PROBLEM??? I WILL RAPE YOUR FUCKING SOURCE CODE. But really mocha test, why u no work so we can both move on with our lives 😣😦😞7
-
The amount of times i go to the toilet and solve a code problem whilst there...
I think all offices should just have toilets for chairs.2 -
4 yrs ago, had a bitch colleague who came to me with a problem she encounter with her code, so I looked at it then asked her "...it worked yesterday-what happened? "
- and she snap at me "...then my fault ?! We figure it out together..."
I went home after that. Reason is :-
1. I didn't touch your code
2. If you wanted me to check my codes and see if it was my fault - then please say so.
3. If you are trying to make your problem my problem, don't snap at me bitch.2 -
When I just spent 45 minutes ripping my code apart clueless why something so simple won't work, just to find out that the problem is spelling event.keyCode as event.keycode.. maybe don't code while tired at 1am rookie. Complete moron over here5
-
I really feel like coding right now, but I don't have time. Problem is: when I do have time and I have to code I probably don't want to anymore.
-
So I had a problem. MongoDB replica set connection was not accessible to server in another container. I’ve used ChatGPT. Gave it my code. It showed me the things I didn’t know and helped me work out a problem I’ve struggled with for 2 days.
It’s awesome!
ChatGPT is basically StackOverflow 2.0. It’s a tool and a great one. I can’t wait for an actual production level implementation target to software engineers.
P.S. I think co-pilot sucks.1 -
The problem with being a designer and a programmer is that Photoshop and Illustrator is on Windows and I code on Ubuntu.
You have to restart and boot a different OS everytime goddamnit12 -
*Completes unit testing training*
*Achieves fresh perspective*
*Looks at game code*
*Prepares to right unit tests for that problem method*
*Stares at code as crickets chirp*3 -
My co-worker pointing out there is a problem with my code that isn't implemented 100% yet. Hinting she wanted me to finish it over the weekend.
Yeah FMDL. -
So I had my external HD connected so thought I'd back up my code...
But real into a problem... The git repo.... Currently copying 300,000 files... For just 10 projects...7 -
> 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 -
when your away from your desk so much in a day that the battery on your laptop dies....if I could just sit and code, this wouldn't be a problem!1
-
PM said I modified code that change UI so user may not familiar with. So, how could I know what is user familiar with if PM doesn't include spec or user manual to me.
No one tell me how to solve the problem, since you just want problem to be solve I solved it my way. :)2 -
Finally figured out that 500.30 error.
You won't believe it, but y'all probably will... But I solved my problem by fixing literally one line of code.
This of course pissed me off because this problem persisted for an entire week, even my supervisor could not figure it out.
But I learned so much in failing to find it and making wrong assumptions along the way.
Solving a problem is sometimes just half the battle, the journey along the way counts for something.
My supervisor was super impressed too, so that made me even more happy.
Anyways onto the next problem. 🤪6 -
Me: Can you write the exact code one more time but in C language this time, so we can see it?
Other: But why, what's the problem?
Me: I don't know, maybe is garbage collector which collected all your code because IT LOOKS LIKE TRASHHHHH :@:@:@:@2 -
Not sure if this has been posted here already but if you want to troll someone, replace all the semicolons in their code with the Greek question mark ( ; ) and see how long it takes them to figure out the problem6
-
!rant
Have to do some JS for a web application.
Problem is I'm not a JS expert at all, and there is already existing code.
Gonna be long.
Gimme your energy so I can do it \o/11 -
Went to bed last night with my code not working. Woke up, ran the app and IT WORKED! I have no clue what I did last night it's all a blur, but apparently I fixed the problem in my sleep. #SleepCoder2
-
Product Owner: There is a major bug with your code it's not working.
I then spend hour looking at code to find out.
It's a content problem! -
Me: Hits blocking bug in someone else's code. Everyone's busy and stressed, I'll have a look myself. Find the problem, find associated documentation. In a language I don't really know, so pass this to appropriate dev.
Them: It's not a problem for me.
Me: ... Wut?
I don't work there anymore...
I joined in June to work on a project due to release in July. It released in December.1 -
Today I solved the problem assigned to me by changing one character. Simplest fix ever. Except that this problem is not on my project, and I don't have control over this project, so I can't merge my pull request or deploy the code, and the dev that does hasn't answered email today, and he's not scheduled out, and he's not in his office. Whatever, I'm just gonna say it's fuck it Friday and call it a week.1
-
tfw you code without building for an extended amount of time and it just works. Where is it? Where is that damn problem that you know is there?
-
That moment when you simply can't find a solution to a specific dev problem and you urgently need to finish your code..... I know the feeling.1
-
Our teacher gave us some code to better understand c pointers. The only problem is that it spits out a dozen of errors when you try compile it 😂2
-
Pulled an all nighter for a project, the next thing i know i am demonstrating my code with the error message i forgot to change which was houston we got a problem, i felt so weird and i was laughing very hard after the project presentation
-
When you spend more time renaming variables, class names, properties etc.. to achieve perfect code and patterns rather than actually solving the problem. I'm bored now...
-
I just solved a recursion problem without using recursion.
Yes, it's roughly 4 times more code, but at least I understand what the hell is happening.4 -
Problem saving emojis to your database? MySQL’s utf8 only allows you to store 5.88% of all possible Unicode code points. https://mathiasbynens.be/notes/...2
-
I'm testing a shitforbrains code in production because I don't have any other options. He went on vacation and said that the code should work, and if it doesn't it is my problem.
I am contemplating taking a shit under his desk and working from home. Then he would have to deal with my shit aswell. Literally.
The tables have turned my friend...4 -
Got hooooot pink coloured pair of beats for my birthday!!! Best gift ever! Two most things I like is music and code this is the perfect gift! Pink is the only problem but fuck it. I love theseeeee!!!19
-
Problem with code:
Computer: "Error on line 189: ....."
Me: "But the code ended on line 58 "
-----------------------------------------------------------------------------
Programming is funny
!false
(its true)
(i wrote it here because devRant allows us to post one rant in 2 hours)4 -
If you're stuck with something and just cannot figure out where the issue is in your code, there is nothing that helps you more than talking the problem out with someone.
Most of the time you'll end up figuring out the solution yourself while describing the problem to him/her. =)2 -
I find it way easier to read code than ordinary text.
Am I the only one? Do I have a problem?
After the first sentence my I eyes can't focus to keep reading text. This also happens to my native language except from English.6 -
Not being able to write code only using pen and paper :/
I had one job interview where they ask me to iterate a tree using my preferred language. I felt so uncomfortable.
And my problem is only the pen and paper.
I'm able to write working code without any code completion even without highlighting in any shitty editor. But when it comes to write code by hand on paper it feels like my programmer brain side turns off.1 -
The real problem it is that i can write lines of code and build algorithm in a fastest way in the late night.
Meanwhile in the afternoon I just wanna eat pizza and sleep on the sofa.5 -
So, I've posted a question on StackOverflow. I was curious about better (in terms of performance and cleaner code) ways to solve a problem. And a fckn dickhead added a comment like this: Why worry about performance?8
-
1. Registering in Stack Overflow
2. Registering in DevRant
3. Thinking my code will run without problem -
@allBeginners:
It's not about which language to pick or which problem to solve. It starts with thinking like a programmer.
I think that this guy educates quite well: https://youtu.be/azcrPFhaY9k
TLDW: Write your problem in English first and then translate that into simple code, not the other way around. If it does not work, you told the wrong things to the computer; its not the computer failing.4 -
Not actually solving the problem in an error and instead implementing a workaround thinking "no one's going to read this code anyway" when I'm actually just condemning my future self to a lot of hell.1
-
When some one else checks in code by merging a class you wrote, but now they've broken the build .. And some how it's now my problem 😳
-
Stackoverflow is full of pedantic cunts who can’t admit they don’t know how to answer your question, I just spent 20 minutes having 4 people tell me because they didn’t have “the full code” they couldn’t help with the problem, despite by the end of me posting more and more (completely unrelated) code they were LITERALLY complaining because I hadn’t added fucking “#include” statements 😑7
-
Your "feature" just became my problem. Your "great idea" is now my migraine. What you did in 300 lines, another team was already doing in 5.
The next time you `brew install...` on your laptop, you should fucking think that the infra team has to install those dependencies, on every server, too.
In less time than it took you to create your code, I could have given you several functions to call. I could have saved all of us weeks of work. Fucking ask cross-team before you cowboy code your next big idea please.
Got a problem you need to be solved, somebody else probably solved it, just fucking ask.6 -
Me: Who wrote this fu$$in mess of code? Never mind, we will get the dirty hacker.
*Runs git blame*
*Silence*
Me: What a innovative way to solve the problem! I'm a genius! -
When having to fix parts from an other programmer's code, do NOT concentrate on the small code expected to be wrong, instead read and understand the whole program around it!
Best practice:
1) Why is this code here
2) What does this code do
3) How does the code solve the problem
(just happened to me 😅) -
Reading 1 tutorial/ part of the documentation
Trying it on my own
Realize that your code doesn't work
Googling the problem
Fixing it
Repeat -
Background: Process issue in the plant that the workers said was a software problem. I’m a Software Dev Manager
Exec: This is broken and it is a software problem. We just noticed it this week.
Me: Couldn’t have been us, relevant code was changed this time last year. Sounds like a process issue.
Exec: Can you give me an exact date it was changed last year?
Me: (Seriously, WTF?... checks git...) It was changed on December 2nd, 2016. Couldn’t have been us.
Exec: Can you detail that change for us?
Me: (GTFO) No, not my problem, stop trying to make it my problem.1 -
On the days when I just want to sob and put my head through the monitor....
I get out a piece of paper and draw my processes (whether that be code or mapping etc). Each step of each process, helps to represent the input and output of each method.
This makes it easier to find which step isn't giving the desired output....
Either this or the rubber duck method. :) -
i like to code because:
- it's challenging
- it's very personal, it's my way to solve the problem
- in the end i might have something cool that i did myself and that's priceless -
Things you should probably not say in an interview += "I like Rust because I get to write a lot of code before performance starts to become a problem and I have to optimize"6
-
Just make a program that spits out random strings, run it as code and see if it compiles. If not, repeat. That way, just like the apes typewriter thing, you find the most amazing code that is so complicated, nobody would have thought of, but it solves all of humanities problems, especially the power problem you created by running this code 1000000000000000000000 times parallel.9
-
!rant
Dude, you know nothing about the code that was written. Don't just Google the problem "how to xxx in Python" and send me the first stackoverflow link and tell me "here's the solution."5 -
Why commenting is important?
If you are commenting a variable or method and you can't find the right way of explaining it, there's a problem with your code6 -
Is it bad now I seem to take some pleasure whenever I see someone/something on my team blow up and go "¯\_(ツ)_/¯ not my code, not my problem"5
-
Learning to code is like learning to write when you were younger. It can be sloppy or clean but if you keep at it it'll probably become clean. But, with these sites like code academy that accept only one solution to the problems they present it's as though you're being told that everything you're doing is wrong eventhough you get a solution to the problem in the end. It bugs me that these sites want people to code the exact same way.
-
!rant
I have a question; when I get interrupted while coding (dinner, friends etc) I'm often "stuck" in my head while just thinking about the problem I were to solve in the code. Anyone else have this? Does it have a name and any tips to "let the code go" while not coding?5 -
I hate it when someone asks me for help in a part of his code, then I find that the problem is the whole code not just that part.
I have 3 options:
- try to make it work, and get lost in his shit, not refactored code.
- tell him that I am not that good so he get out of my face
- kill him, so he can reproduce
PS: just kidding -
Our professor takes points off our code if we use tabs (not much, but still).
But the best part is having "few" spaces is also a problem. Seems like using tabs we be a solution then.
Why?!6 -
I think one of my biggest mistakes as a dev in the becoming is to have tried to produce code rather than think code.
The patience to try and understand a problem rather than just solve it.
After spending 2 hours on what seemed like a ridiculously small issue,i know what the problem was before solving it.
Which meant i did take longer to solve it but i DID NOT take the wrong direction. Which would ultimately have come back to my face some time soon.
Coding takes a fuck load of time -_-.4 -
The problem: callback hell. Code would be indented by three hundred fucking spaces just to do some async work. Your code would end with thirty lines of closing curly brackets
Solution: async and await.
The problem, reborn: NoSQL. Code is indented by three hundred fucking spaces just to run a query. Your query ends with thirty lines of closing curly brackets.4 -
Repair printers... Somehow writing code translates to the ability to fix any printer problem in their minds.2
-
So a trainee made a website at the company where I also have my internship, he finished his internship earlier than I did. But the problem is I'm now fixing his site and it's literally falling apart! I fixed one problem and a dozen apear! His code is the definition of spaghetti code. It's so extremely bad I can't handle this, I don't want to do this anymore, just someone please drive a knife trough my chest. This is unbearable HE CREADED A HTML PAGE INSIDE ANOTHER ONE flipping heck how could you think that's how things work!1
-
To be able to actually write useful tests BEFORE starting to code, which I guess is really asking for the ability to have a clear set of requirements and a complete mental model of the problem at hand3
-
the AI says the code I'm trying to design is very complex a problem, d'awww I'm not a failure 🥺
the solution seems to unironically be to delete half of it and make it far simpler / less features lol
why can't I make my code psychic to what I want, ragh! oh well1 -
When I'm on lunch I stop coding to watch other people code on youtube. Does anyone else have this problem?1
-
So it turns out that a lot of writes to S3 is slow, regardless of whether you spent the time to rewrite your code from SAX to JAXB, then Go, then finally C++, thinking the problem was always with your code.
-
Oh, you've found a work around for your browser caching? No problem, here's DNS caching so you can fuck with your code again... and not know what the issue is
~ Sincerely, ISP4 -
It's a Monday, I've been trying to fix a bug since the morning, I cannot read or write any code. I tried to review a PR, still cannot read the code. Getting frustrated by the slightest problem.2
-
Need to do some PHP for my class next week, problem is I hate PHP so I just distracted myself and wrote a bunch of Ruby code today...4
-
Can anyone tell how you yourself to start coding please 😢especially when you you have alot alot alooot of coding that waiting you and you being lazy about it!😢4
-
By always striving to do better each time. Making code less sloppy every time I write GL code. Better performance everytime I write an algorithm. Lower memory usage every time I write application state. Learning a new trick for an old problem, one at a time.
Learning best practice in one go is impossible, but taking it a bit at a time makes things more reasonable.3 -
I am an ancient beast called "Humturnal".
..half human..half nocturnal..
I answer life problem and code like a beast at night.
I wake up tired as f**k and I remember nothing in the morning.1 -
When a friend told you that they have a problem and needs a Computer Science student's help ..
.. and it's about a broken flash drive.
I can't even fix my broken C code let alone fix a freaking flash drive.1 -
When your code misbehaves in production and you need all the ducks in the world to fix the problem😂😓
(Marshmallow doing some serious debugging!)1 -
I've just discovered by accident that the dumbest way of solving the Hash Code practice problem is way better than my previous solution.
(medium 49509, big 897164)4 -
Management fixes our slow running buggy code problem by exactly copying every file into separate version control depots so that Dept A does have to deal with Dept B bugs and Dept B does have to deal with Dept A bugs to the same files.1
-
My code worked without any error, now I am sure there is something perky, if not now, then there will be an issue because of this module... Yes, there will be a problem.1
-
That moment when you spend hours on fixing some bug, and finally discover that the problem is in another piece of code..
Literally, I feel I am on dumpiness overflow ! -
When your co-worker asks you to implement a fix for a problem in his code..
Reading yourself into his code, then you see him having fixed the same problem several lines above in another method. -
Don't you ever try to translate code from one language to another. Instead grasp the problem and write the solution in the other language itself. You don't want to sit there for hours thinking if hashmaps are a good fit for phps nested arrays.1
-
I just implemented the cookie popup you wanted me to make. And now you give me a call that your tracking code doesn't appear in the source code?
Oh, but you don't see the cookie popup? You saw it right? So you've already set your cookie permissions, probably not to accept tracking cookies. We can check by... what's that?
If I can make the tracking code appear anyway?
...
Yeah, sure, no problem, change will be live in five minutes.2 -
Make a artificial consciousness program that spends its days complaining about stupid people. Drinking coffee and writing code. Sell it and make a butt load of money solving every problem ever.
-
Advent of code is awesome. If anybody isn’t doing it YOU SHOULD. Solving a different coding problem every day for 25 days. adventofcode.com3
-
Faced with a problem, trying for days every solution, libs, tutorial and So threads. Getting desperate, reading framework source code. Reading again. Realizing it's just a configuration matter. Feeling stupid like shit2
-
You ever look at code you wrote just recently and wonder how you resolved a problem you couldn't resolve sober while you were drunk?2
-
Be me first time using python forced into it.
Get frustrated with all the syntax errors you make and Python's cancerous horseshit syntax.
Chase a weird desync problem between C code client and Python raspberry pi controller.
Make 7000 changes to the code and run out of ideas because nothing makes sense anymore.
Decide to go ahead and write C code.
Find out you've been writing code to a different file and running an older version of the code.
I'm a retatd FML don't be like me.6 -
I have a 5 hour layover until my next flight and all I want to do is code to kill time... the only problem is there is no reachable power outlet..4
-
When I am stuck on a problem, I try to get outside and do something physical. Go for a run, jump on the bike. Find it clears my head and helps me to see the code more clearly.
-
TFW you complete a TopCoder problem in 20 lines of code, only to find another solution done with 4 lines and you have to spend 15 minutes just to understand it..1
-
Tldr:
Can't fucking figure out why I'm the only one who can't solve a DP problem in code, when me and friends use the same idea and no one knows why only mine doesn't work...
We are given a task to solve a problem using DP. My friends write their code with the same idea as a solution. Copying the code is not allowed. I follow the same idea but my code won't work. Others look into it, in case they find errors. They can't find any.
The problem (for reference):
Given a fixed list of int's a = (a_1,a_2,...,a_n) and b = (b_1,b_2,...,b_n), a_i and b_i >= 0, a.length == b.length
We want to maximize the sum of a_i's chosen. Every a_i is connected with the b_i at the same index. b_i tells us how many indexes of a we have to skip if choosing the corresponding a_i, so list index of b_i + b_i's value + 1 would be the position of the next a_i available.
The idea:
Create a new list c with same length as a (or b).
Begin at the end of c and save a_n at the same position in c. Iterate backwards through c and at each position add the max value of all previously saved values of c (with regards to the b_i-restriction) with the current a_i, else a_i + 0 if the b_i-resctriction goes beyond the list.
Return the max value of c.
How does that not work for me but for the others?? Funny enough, a few given samples work with my code. I'm questioning my coding ability...7 -
So my day's going pretty well, successfully managed to create a pull request for broken code that breaks more code and run into errors trying to fix it, then spill tea all over my desk/self spazzing trying to fix one child problem like 3 levels deep
Pretty sure I'm the office dunce at this point1 -
As a dev, I have to reuse a lot of codes again and again. Some I've written, and some of them I found after stucking my head for 1 hour on StackOverflow.
Now, the problem is every time I need the code, I have to search again. Some of them I saved in note apps but organizing code snippets & finding them with a quick search is a mess.
I was thinking of building a code snippet organizer where developers can save code snippets in any language (have syntax highlighting), search quickly, share with anyone, create buckets, manage multiple accounts etc.
Let me know if it's a good idea or not. Would you be interested in using something like this? Is this even a real problem or it's just me?15 -
I had a bug in my code, I was sure I fixed it but when I tested it nothing was charged. I asked my friend to take a look, and when he looked over my code I found out what the problem was: I tested with the older version.
-
I have to press ctrl+s to save current changes every short time in coding..
I think one human should write a plugin or script for this problem😆9 -
what is the weirdest thing (library, framework, code snippet) in your opinion which you've used in production?
we are using a library that on every exception prints for us URL to StackOverflow related problem in the logs2 -
Arduino Nano, Problem uploading
Hey guys.
I ordered a few Nanos from China, but I can't upload the code since they are clones...
Did anyone get around this? Would appreciate the help.15 -
I hate it when I am looking online at someone else's code where they thought they could just paste 50+ lines of code with no formatting! Or even worse, the sites desktop app has formatting, but on mobile, the app just smashes everything together. Does anyone else have this problem?
-
Does anyone else have the problem with GBoard when you swipe for code it always default to coffee?10
-
"The longer one carries a problem, the heavier it gets",
that being said, I'm struggling with repetitive code, bad indention and illogical logic.
So yeah, I agree with this saying -
What would be the best tips for keeping code clean?
I recently noticed how "unclean" my code is, I try to organize it as much as possible but through that I manage to make the code very messy :/
What are your best tips, advise, tricks... lalala?
Note:
This problem mainly applies to long projects and games :P9 -
java
@ValueImmutable
I have used this to generate code
I try to use this to generate code again for a new class
it doesn't work, doesn't generate anything, can't tell what's different outside of new class being in a test package
thanks obama
yes i'm too retarded to figure out the problem from googling and trying to read some documentation5 -
usually the worst drunk coding problem i have is leaving nasty comments in the code about the previous maintainers. Or ranting more vehemently on here than is really warranted... ;)
In other words it doesnt affect my coding, it just affects my social skills.... lol...2 -
Done this a few times.... Client emails, there's a problem with the website and basic details. I check website and quickly fix said problem. Email back, it's fine for me, try refreshing the page or clearing the cache.
We should have a code name for the old clear cache routine. Any ideas?3 -
i'm currently working on a FOSS project with 2 friends and try to do some kind of VHDL (virtual hardware description language) code generator in javascript
the more i think about the structure i need to build, the possible combinations, the automation of describing all components, yada yada yada, the more i get this feeling it's becoming an NP problem ... or at least a very big algorithm😅😐
let alone the problem of saving the whole goddamn code in files downloadable by the client via javascript🙄
heard of nodejs that supports file handling, might try that🤔4 -
I just done know what happened to me, now I miss semicolons In code.
when I use to read people ranting how they miss semicolon and I was like " how can somebody miss it" and look at me now I have the same problem.
:|1 -
>= rant
While its really hard to get code wrong in Rust, it is also really hard to get code right in Rust. It took me a considerably long time to write a code which returns the first word in the sentence
I felt the borrow checker introduces a steep learning curve into Rust which is otherwise a beautiful language according to me. C++, my current favorite language, also suffers the same problem with respect to certain language features.3 -
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
-
For me the most frustrating thing about working on someone elses project, is when you try something and it just does not work, you dont even know the code to try think about what the problem might be to begin with. What about you guys ?
-
Finished a project a few days ago with the coolest code I've ever written. Problem: It's a college project, with a totally unrealistic use case and it makes absolutely no sense to continue working on it now :/ How can I let it go?3
-
I have struggled with leet code two years ago when I started university and was learning programming.
Now I am finally set to have a leet code interview at a large company, followed by a take home problem and a system design problem.
I started looking into leet code again today and I feel like I could had done so much more back then if I just had some help.
Back then I made the mistake of doing leet code problems in Java since that's all I knew and it used to make many simple problems last for hours.
I want to try it out using Python this time around since I don't have to focus on every little detail when I solve the problem. The company focuses on Python, Go and JS but I don't know Go and JS well enough.
What do you think? Is it a good idea or not? Should I just try JavaScript?
Also do you have any advice for this kinds of interviews?
i think the leet code one will be the toughest.
Some suggest I should read Cracking the coding interview, but I don't see the point of doing that
Good thing is all interviews are through Zoom since it's coronavirus season.2 -
Well....i started programming roughly 4 months back.....i can code python very well but still can't understand when to implement what and how should i think about a question in order to solve it....
Any help to overcome this problem???6 -
Do you ever have days where you get absolutely nothing done, because of a local environment problem. My xdebug would break on break points but once you stepped to the next breakpoint it would halt execution of the code... It worked fine yesterday!!!!! Arghhh1
-
trying to analyze and debug code from a wordpress plugin -> fml!
i should just dump this shit and make my own. oh, no time and budget, no problem, i love to spend hours reading someones code and beeing inefficient as fuck ¯\_(ツ)_/¯
(i suggested to do it on our own a few weeks ago, now i should fix it till end of the day)2 -
I used to think that programming was just straight forward coding what you need.
But now I think it's describing the problem and writing code to solve that problem.
Example: recursive function. It calls itself till it finds a solution or till no options are left. You don't know the answer, but you code something that can find it for you.
Or php, you don't create every single html page, that's done by php dynamically.
The great thing is, it's less work and it is easier to catch error scenarios.
The bad thing is it has become a bit more abstract. -
From next Monday to next Friday i'm coding with a fried sth. for a school project.
The Plan: a complete Forum
Problems: Friend was ill since >4 Month and is currently ill since the last 3 Days..
Next problem: It's code!
Happy coding...1 -
When your co-worker writes shitty code that not even he can maintain, you know there's an issue. When said co-worker just goes and fucks up VC, you know there's a problem. When that slimy little motherfucker hits my rubber duck off the table...2
-
I am SO lazy I can spend the full day looking for a specific tiny npm module that solves a specific problem like concatenating two files.
While doing it by hand would take me 30 minutes and 20 lines of code.1 -
I am starting to think the biggest problem with my current project isn't the business unit changing their minds all the time. It looks like the biggest problem is me continuously refactoring the code.
-
Me going downstairs.
"mom, I have a problem! "
Big rant over how my code isn't working.
Mom giving general advice on how you should deal with a problem.
Moms: earliest versions of Devrant! (without the informatics advice) ^^1 -
Guys I got a problem with my code , not convenient to put it here , but I had made a video of it to YouTube.
https://youtu.be/dQw4w9WgXcQ
Help?12 -
I just spent like an hour trying to fix some piece of code and guess what was the problem? a fucking TYPO! That was so frustrating LMAO (laughing but crying inside) T-T1
-
If my coworkers are going to execute SQL commands via strings in python and I can condense 50 lines of code into 7 with built-in eval(), then I see no problem here.6
-
I'm quite sure my coworker made a total mess, problem is the code looks reasonable at a quick glance. And it works for some unexplicable reason. No time to fix it.
-
When you write 20 lines of code, that you don't understand, then you can be absolutely sure, that there is a way to solve your problem in 2 lines of code.
-
!rant && query
Anyone else have a victory song for when you solve a really challenging code problem? Mine is "Yeah!" by Usher.1 -
Lost my changes twice now. First time was my own fault. Was in a hurry to pick up my son from daycare so I checked in my code and locked my computer before the code was actually checked in. So today when I took "Get latest" somehow my last code from yesterday vanished. So, I rewrote everything, but now there was some problem with service references, and building the solution failed. A colleague had a look into it, but he couldn't resolve the problem neither. Instead he accidentally made an undo changes on my code, so now my code is gone again. And the solution still doesn't build. I'm just a *leetle* frustrated right now :(3
-
Can somebody give me examples of questions I might get asked in a final technical interview where I'm NOT doing any coding...
The guy said they want to get a sense of how I would approach a technical problem and that they can teach me how to code but I need to show I can problem solve - just not sure how prepare for this...4 -
I'm going to pray tonight that a judge puts an injunction on a new tax law tomorrow. Just found a problem with some code and I am rushing to fix it. I could use the extra time.1
-
When you add console.log above your buggy code, but after 15 changes you forget to update the real code and you spend 15 minutes scratching your head because you can't fathom why your last change didn't fix the problem...
-
Keep coding and making mistakes. Further more reading code and books. Often the books are related to other topics (math, logic, psychology, economics, ....) to keep my brain alive and get other insights of ways how to think or solve a problem.
-
Voice call with the whole dev team
Former team leader: Yeah, basically we stopped using RxJS because it ended up being too complicated, every minor problem required so much code to solve :(
IHateForALiving, extremely loudly: WELL WELL WELL, GOOD FUCKING MORNING, SUNSHINE3 -
When you wake up forgetting that break through to that problem you promised yourself that you would code the next morning because you were tired. :C
-
To make personal relationships flourish every time I stop talking to people because of an ongoing programming problem.
"When late nights my code I append,
I get an inbox saying I'm a great friend" -
What we should do:
1. Find problem
2. Stop debugger
3. Change code
4. Restart debugging
What we all do:
1. Find problem
2. Forget about the debugger and change code immediately
3. Stop and Restart debugging -
when I started to code getting compilation problem showed some error. now after 3 years when I get no errors I always feel.."this should have some error"
-
I'm the only one who doesn't understand how the fuck people dream about code/coding? I get it, you leave work and still think about a solution for a certain problem, that's normal. But dreaming/having nightmares about this shit is weird.4
-
A bug in legacy code (java jsf....).
The dev, architect now, who build the app :
"Yes this is simple, the problem comes from the business logic in the .jsp..."
A bit later
"No, your patch does not suit me, you mix two different concepts"1 -
I work so hard to name things well and yet last year's code is always full of esoteric and misleading nonsense.2
-
1) For me code is a way of expressing my thoughts akin to rap. It's just that your thoughts has to be precise if you want to write "good" code.
2) Creating anything out of a thin air has certain charm to it.
3) I love problem solving and even if I don't love it, if I've got a certain problem I'll have to solve it anyway and most of the computer related problem can be solved via code. -
Writing the code until the application finishes has never been a problem by here the OMG report how do you do ?
-
Have a general class about problem solving. Too many people are unable to understand the problem input, the problem output, and how to break that problem down into steps before sitting down to code.
Like fuck, the biggest issue here isn't that students don't know how to code, it's that they can't fucking solve a simple problem2 -
When got into a problem with docker gradle homebrew and such thing first soloution is using VPN only because i am in iran and US laws don't like iranian to code🤔
-
Urgh why do code generators write the worse fucking code! Jesus$fucking$christ$what$is$your$god$dam$problem$1
-
I learned to program at university. I remember my favourite practice exam was in AI where I used Lisp on a unix server to code a "find your way from the labirynth" problem. Everyone else used Pascal on PC-s. I don't know why 😃
-
So, I'm an engineer who believes that there isn't one solution that fits all (feel free to change my mind). I believe 100%, that a great engineer is someone who also encompasses the ability to make decisions appropriately on tools, paradigms, etc to solve any problem.
But, this rant is going out to the TDD fanatics.
I assume every piece or lines of code you write is/are towards solving a problem and it includes the code you write to test the "main" code you are about to write 😑
Question: Do you write a test to test the test you write to test the code you about to write? 😏7 -
When you start doing cp / noob at it:
Thoughts in my mind
- spending hrs to solve the problem
- should I see the solution. No no how can I build the logic then?
- think try
- told my friend,
He: oh tell me the problem
(After seeing the problem stmt)
5-10 mins scribbling with code
He: There you go it's that simple
Me: really! This is easy. But why I was not able to solve then :|8 -
I don't even know that i should say it was a good problem or a bad one, i was programming a magnetometer sensor in both spi and i2c. I was tired of not working
I touched the sensor it dropped off!!! It was not soldered well!!!! At the problem was not from the code1 -
Paper and pencil. It's always helpful to draw little sketches and write short notes that help you to understand a problem you are trying to solve. I think mostly because you stop staring at your code and you start thinking about the problem in a different way.
-
ProjectEuler problem difficulty level increases logarithmically after question 50. Question 60+ seems to take 10 times longer to solve than previous 50. I give up solving questions to write code to run within within 1 minute (which is a general rule specified).
I need to relearn Calculous...2 -
The thought process that goes into developing software. I mean, the things that go through our minds as we try to write the code for the problem, and how we draw parallels from past experiences or similar things done in a different programming language. This, I feel makes us better at problem solving and consequently, better programmers and people.1
-
In finals, I was prepared to write code for any given problem. Instead, the professor gave code snippet itself for all questions and asked to write output. No comments, nothing. Just pure spaghetti code. Wasted so much time in analyzing the code that I had to leave a couple of questions unattended. Moreover each question weighted for around 8 marks. So, just one miscalculation means 8 marks is into the void. I'm feeling like I'd get just enough marks to clear the subject.1
-
When you spent few hours to solve a problem and then restart the application as nothing worked but then you see that the problem is not anymore...
you're in the situation when you can't decide if should commit your dirty code changes or should revert them back.2 -
Hey hackers,
Let's talk about the problem statement first!
In software engineering, engineers often procrastinate when it comes to writing comments for documentation purposes. As they delay properly documenting their codebase, they are even more likely to procrastinate on updating their previously written comments when they make changes to their functions or code. This can lead to chaotic and buggy code, and if not addressed, it completely obsolete or even counter intuitive the purpose of comments in the code.
Solution!
A tool that automatically detects changes in a function or code and compares them with the current comment description. If there is a discrepancy between the code and the comment, the tool either automatically updates the comment or allows the user to manually select the code and its associated comment to directly make changes using LLM's.
So, my question is: Is this idea worth working on? Is it a real problem, or am I just overthinking it? If anyone has a better idea, please share it in the comments. Also, if someone is working on this problem already or planning to work on this in future, we can collaborate. This will be an open-source project.
Sign out, Peace!
github: priyanshu-kun/project-kento13 -
Sometimes i need longer on the simple code than on the challanging code, because it's harder to distract me while i'm solving a problem
-
I'm in love with F#, the tooling can be a little buggy if you're used to TypeScript or Java but before learning it I've never been able to solve a real life problem with less than 10 lines of code7
-
Stall.
The problem you were trying to fix, when said stuck position became apparent, will probably no longer exist in a couple of days. Hence no stuck to become unstuck from.
Delete code causing stuck position. -
Need to add funcionality into badly written code. Moral problem: I don't want to even look on that code, but I don't have time enough to rewrite that part.2
-
Rules of lazyness
1) legacy code is a creative way of coding
2) when something doesnt appear on the first google page, it doesnt exist
3) Nout you are the Problem, ur boss is -
Sometimes while working I find a subproblem that is isolated from the original problem domain, for example token renewal in an RTR authentication system. I take note of what I've been working on, clear my head of the broader problem write an exact specification of the subproblem. Then I code to that specification. The result is usually a self-contained open-source module which continues to improve my pace of work for years to come.
-
- devRant
- reddit
- people asking me how to solve a problem in their code and me explaining it to them -
I need some advice, you guys.
I'm weeks away from graduating from my code school and working on a capstone project with a group and there are several people who I'm having a hard time following their code.
No comments, no documentation, just "30 hour sessions" and opinionated, undocumented code that doesn't mesh with the project plan 100%. It works, it get's the job done, but it's over complicated, undocumented and hard to follow.
Starting to feel like the 3rd wheel in a 4 person group because I'm the only one that is having a problem and I'm not sure how to get them to document their code for me. They try to explain it and just end up literally reading their code, which doesn't really help.
I feel like I'm working in a group of individuals who don't really want to work together and I'm worried it's going to be a problem.1 -
Q).How does one try to understand how or what a programme is in a third world country with no basis of proper infrastructure?
Apart from using raspberry pi which not only requires a person to help yiu understand it but cost a lot.......Something that Completes the circle , from bundling the the hardware with seamless software out of the box and for the fraction of the cost of a raspberry pi
[Open to all sorts of input.....from this thing has no practical use to lets do something]3 -
I'm Beck at my parents home again and wanted to some a problem I'm having with FB "intelligent" aka dumb UI. But my motivation to code jus got thwarted bc VS 2012 is too old... and can't install the Nuget packages I need...2
-
First motorcicle accident. So happy that I wear gloves so that tomorow I will code without a problem. 😁
-
XXXX programming language does not scale. Nope, it is your code. Review your code and improve it! Don't add more hardware to improve performance, that solution just covers the problem. Review, review and review
-
Teacher: always try of doing a dry run for minimising the error in your code
Me:ok let's try 10 cities for the travelling salesman problem -
Fuck google, fuck android, fuck their engineers. Trying to implement paging library 3 from last 10 days. Hitting my head for 10 fucking days. I even created a REST api for this. Before it i was using firebase sdk. After trying everything. As last resort I put my code on their sample source code. still same problem. only god knows how their sample works but lookalike my code doesn't. My Problem is recyclerview keep loading more items without me scrolling.6
-
*My friend gives me some code and says that there's a problem which he can't figure out*
*He shows it me when I read...*
...
cout >> "Hello!" >> endl;
...
Me: -
Is there a way to tell your family/friends what kinda work you are doing without boring the shit outta them ?3
-
Seems like latex does not like recursion. Defined a command as itseld by accident and got lots of strange error. Will there be a time where i can accept that copy-pasting code only generates problem?
-
Anybody who can too totally identify / has gone through similar physical and mental breakdowns like the core programmer in Netflix's "The billion dollar code" while realizing that the given code problem will not be solved on time in combination with huge financial pressure?4
-
So fucking today i wanted to test netbeans ide..installed, no problem..then i wanted to compile code an it said fucking error ,netbean connector and google chrome? Wtf do i need this shit ?!4
-
I'm sure this will have no privacy or security implications whatsoever. 100% foolproof and not a problem.
https://cnn.com/2020/11/...1 -
I make a button and write code by double clicking on button ,event for this button made automatically but when I make another button and double click then event for this button is not making automatically
What is the problem. Please ans me .2 -
Suddenly VisualStudio throws "Attempted TextBuffer edit operation while another edit is in progress." for every keystroke editing a C# source code that I could edit without a problem just a few minutes ago. WTF?!2
-
Usually if theres a tough problem I just start to scribble code one piece at a time, then refactor, then refactor, then refactor... Until I get it and write it again from scratch 😀 Usually this involves lots of coffee and cigarette
-
I use my phone to code. I am using mi redmi note 7 pro. I use notepad ++ to code.
The problem is, even the simplest code of mine is breaking. Can anyone tell me why and what to do?15 -
What if we could write the problem statement and the AI would write the code for us, or give the program taking the outputs as input 🙄🙄🙄🙄4
-
Is leadership's willingness to accept shoddy code and a shoddy deployment process, as long as you can develop shoddy features early, a common theme among startups?
I really get a "not my problem when I sell this business" vibe from this attitude.5 -
I just discoverd a search input and can inject code on it. Send a email to the owner talking about the problem and what can happen. i dont received a reply and the website Stay the same
-
i miss the big job because i could not solve this problem.
A code to count the number of words in the sentence
" this is debug message " without the use of any internal function. Anyone want to help11 -
whhats everyones favorite thing to listen to while writing code or trying ti come up ideas for how to solve a problem or just to decide what to write?4