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 - ""problem""
-
Ok, this is a rant against some devRanters.
STOP THINKING THE ANSWER TO ANY PROBLEM IS SWITCHING TO LINUX! STOP!
I am a linux user but i fucking hate people who act like dickheads to other OS users.
-A node.js problem is not a windows/linux problem
-An android studio problem is not a windows/linux problem
-A problem with website x is not a windows/linux problem
Understand the problem and give a relevant answer, don't just spit "Use Linux" everytime.40 -
Hi sir i have a problem can you please teamview in and help
Me: sure no problem
Login....
Are you there ....
Hello whats the problem
40min later
Sorry i went out for lunch
😤😤😤😤😤7 -
IF YOU WRITE IN A FORUM ABOUT A PROBLEM AND YOU SOLVED THE PROBLEM, TELL US THE FUCKING SOLUTION YOU MORRON! YOU TOOK THE EFFORT TO JUST WRITE "I SOLVED THE PROBLEM" WITHOUT WRITING A WORD ON HOW THE FUCK YOU DID IT. DO YOU THINK I READ THIS FUCKING TOPIC FOR FUN? I AM ONLY INTERESTED IN THE SOLUTION, I DON'T GIVE A SHIT IF YOU SOLVED IT OR NOT!!!12
-
That moment when you spend an entire afternoon trying to eradicate a problem but give up at the end of the day, and then solve it in 10minutes the next morning.
Damn you dev life !12 -
Manager: Have you fixed the problem?
Dev: What’s the problem?
Manager: We’re not here to discuss problems we’re here to discuss solutions!
Dev: …11 -
Me: *laying in bed because I have a day off*
Client: *slides in* Do you have time for our lord and savior "bugs in production"
Me: *screams*3 -
Them: "Our phones are down."
Me: "I'm sorry to hear that. Have you notified your provider?"
Them: "My provider?"
Me: "...You haven't been our VoIP client for about a year and a half now."1 -
Client hasn’t responded to my questions for over 2 weeks, so I close her ticket.
”Why the hell did you close the ticket!? The problem still exists!”
Sorry, I’m not a mind reader..3 -
I recently had the problem with my Galaxy S8 that my camera won't focus. Searched for solution. Found one which said: "Just hit the side of your phone when the camera is on."
Problem fixed, camera focuses again.
I like this kind of problem fixing.2 -
!dev, more about social media
(and suicide)
ugh. social media.
recently a girl from a nearby high school committed suicide. it's sad, and i know what i'm about to say is going to be controversial, but i think it shouldn't be on social media. maybe her close friends posting it on instagram, to remember her, but that's it.
of course, that's not what happened. people started posting "❤️" on their snapchat stories, and theyre saying they are raising awareness. (they don't know this girl or why she did it or anything, they're just doing it because their friends did it.)
this awareness, is well, temporary.
the point of snapchat is that all the pictures go away, so why would they talk about suicide prevention on there? do they want suicide prevention to go away? this is most prevelent on snapchat, but on others, too.
trend after trend after trend.
thats what people turned her death into. a trend.
just like #prayforparis, and others, but on a local scale.
the problem with social media is that things go away. in a day or two it'll be like this never happened. she won't be remembered like she would if she weren't on social media.
i know what you're thinking. they're just "raising awareness." but for how long?
well, until another trend comes.
people disagreeing with me are extremely welcome to comment.
and any ideas on how this problem can be fixed?20 -
when u spend 2 hours desperately trying to fix a bug. Give up, off the computer and get ready for bed. the moment you get comfortable and ready to sleep. You solve the problem mentally in ur head. Get back up, on the computer and continue coding.
-
Customer calls since they got problem x
C: Hey its xyz we got a problem
Me: hey what's it About?
C: <explains problem pretty poorly>
Me: uuuuuh.. I've written it down and look to fix it as soon as possible
C: why? Just TURN OFF the problem
No. This is not how it works. This is not how any of this works.5 -
Client: "I have a problem."
Me: "No problem, can you say me the error message? "
Client: "No I have clicked the message Away... "
Me: 😣🤐5 -
Dark Vaduck drinking beer instead of helping me to write a genetic algorithm for solving knapsack 0/1 problem ...5
-
the feeling when you wake up in the morning with the efficient algorithm in your mind you were thinking of all night.
-
The problem with C++ is that all of your friends can see your private parts.
That's not a problem, it's a feature!9 -
Today, for fun, I wrote prime number generation upto 1000 using pure single MySQL query.
No already created tables, no procedures, no variables. Just pure SQL using derived tables.
So does this mean that pure SQL statements do not have the halting problem?
Putting an EXPLAIN over the query I could see how MySQL guessed that the total number of calculations would be 1000*1000 even before executing the query in itself and this is amazing ♥️
I have attached a screenshot of the query and if you are curious, I have also left below the plain text.
PS this was a SQL problem in Hackerrank.
MySQL query:
select group_concat(primeNumber SEPARATOR '&') from
(select numberTable.number as primeNumber from
(select cast((concat(tens, units, hundreds)+1) as UNSIGNED) as number from
(select 0 as units union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) unitsTable,
(select 0 as tens union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) tensTable,
(select 0 as hundreds union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) hundredsTable order by number) numberTable
inner join
(select cast((concat(tens, units, hundreds)+1) as UNSIGNED) as divisor from
(select 0 as units union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) unitsTable,
(select 0 as tens union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) tensTable,
(select 0 as hundreds union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) hundredsTable order by divisor) divisorTable
on (divisorTable.divisor<=numberTable.number and divisorTable.divisor!=1)
where numberTable.number%divisorTable.divisor=0
group by numberTable.number having count(*)<=1 order by numberTable.number) resultTable;9 -
Me working on a bug for so long the brain actually stops working. Leave work > drives home > sits on the toilet: "Holy toilet, that's the problem" > drives back to work > problem solved!
Anyone else?8 -
Actually just 2 hours ago my boss showed me his "hack" which solved a problem he worked on half of the day.
My eyes suddenly began to itch heavily and I felt a strong urge to quit immediately.
The problem was no big thing and we actually spoke about it at noon and I made a proposition how he could solve it.
Turns out he .... aaaaaahhhh I better do not mention it, as it may summon evil spirits... sorry.5 -
Such immense satisfaction when. You have been telling the other team that the problem is on their end and providing more and more evidence that it is but they insist it's in your end and now finally they are admitting the problem is on their end!3
-
My Friends say i´m no dev...
Why???? :(
I love do Sports,
I have free time,
I´m eating healthy,
I don't like coffee....10 -
When your client thinks they will get a quicker response by emailing you the same email to multiple addresses, they don't know I have a filter that sends them straight to the shithead folder skipping the inbox! Bye bye problem.1
-
MFW searching for a solution to an issue, I find a thread about it and the only response is:
“I don’t have this problem on my end.”2 -
Unaware that this had been occurring for while, DBA manager walks into our cube area:
DBAMgr-Scott: "DBA-Kelly told me you still having problems connecting to the new staging servers?"
Dev-Carl: "Yea, still getting access denied. Same problem we've been having for a couple of weeks"
DBAMgr-Scott: "Damn it, I hate you. I got to have Kelly working with data warehouse project. I guess I've got to start working on fixing this problem."
Dev-Carl: "Ha ha..sorry. I've checked everything. Its definitely something on the sql server side."
DBAMgr-Scott: "I guess my day is shot. I've got to talk to the network admin, when I get back, lets put our heads together and figure this out."
<Scott leaves>
Me: "A permissions issue on staging? All my stuff is working fine and been working fine for a long while."
Dev-Carl: "Yea, there is nothing different about any of the other environments."
Me: "That doesn't sound right. What's the error?"
Dev-Carl: "Permissions"
Me: "No, the actual exception, never mind, I'll look it up in Splunk."
<in about 30 seconds, I find the actual exception, Win32Exception: Access is denied in OpenSqlFileStream, a little google-fu and .. >
Me: "Is the service using Windows authentication or SQL authentication?"
Dev-Carl: "SQL authentication."
Me: "Switch it to windows authentication"
<Dev-Carl changes authentication...service works like a charm>
Dev-Carl: "OMG, it worked! We've been working on this problem for almost two weeks and it only took you 30 seconds."
Me: "Now that it works, and the service had been working, what changed?"
Dev-Carl: "Oh..look at that, Dev-Jake changed the connection string two weeks ago. Weird. Thanks for your help."
<My brain is screaming "YOU NEVER THOUGHT TO LOOK FOR WHAT CHANGED!!!"
Me: "I'm happy I could help."4 -
I just experienced the opposite of rant.
I spent 1 entire day ranting about a algorithm I couldn't write with no issues, it occupied all my mind and got me pissed of.
And today, I rewrote it entirely, and it works perfectly everywhere.
I was like : "No it can't work here. Oh ok", "And here's the bug ! No ? Nice.", "Don't tell me it'll work here. I'm a God".
That's why I love being a dev :D
Thank you, you freaking problem I had !7 -
Template for every Silicon Valley episode be like:
1. Start solving problem from previous episode.
2. Creating some shit that solves the problem.
3. Initialize new problem.
Damn it. I'm still hooked!!2 -
When you write something cool but the problem can be solved in an easier way and you have to dump it 😭1
-
Problem 1: that's literally all of steam
Problem 2: they don't police it now
Problem 3: just... All of this21 -
Closing 10+ tabs after finding the solution is like flushing the toilet, you don't even look back.6
-
Lets check out the dev in you.
Problem: Print "Hello World" in C in such a way that you cannot use any semicolon anywhere in the program.
Try this without using internet.
Hint: You only need to know basics of C.52 -
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 -
You know what grinds my gears?
Those people who ask about a problem on stackoverflow, github issue, or other sites and then reply:
"Never mind, found the problem!", Without telling what was the problem and did they fix it.
Fuck those people.*
*Not literally.4 -
Today is the first time my pc fully crashed. I keep always everything updated and never had a problem. I didn't know what went wrong. After I opened my pc up I found out that a mouse family was living in my pc. Maybe I should clean the hardware more8
-
Sales: "There is a problem in complicated feature A, in a client system!
Dev: "What is the problem"
Sales: "I don't know exactly"
Dev: "which client system? What version is installed?"
Sales: crickets.
Dev: "Do you a Jira ticket, or an email with more details?"
Sales: "It is urgent that we fix the problem ASAP!"
Dev: "what problem"
Sales: "The problem! I talked to the VP RnD, So he can make sure you are on it!"
Dev: "What exactly do you me to fix"
Sales: "The Problem!"8 -
CEO: You are hired to solve the problem for the company, not to create new problems
Me: You are the problem.3 -
Programming lesson #5
When logic becomes too complex to solve mentally while coding, writing the requirements and inputs on paper and coming up with pseudocode is a good approach.10 -
My colleague and I have 12 years of college and 10 years of experience between us. Can't figure out how to connect a fucking phone headset.2
-
"A well defined problem is a problem half solved."
~ Charles Kettering.
Feel like crying on hearing this when the product feature requirements change in so aGiLe way.3 -
After writing in ES6 for awhile going back to write some ES5 code feels like going from a 2017 Mustang to a 1917 Model T7
-
My trusty old Nexus 5 had a broken microphone for a long time (only worked on speaker phone) and a couple of weeks ago the display died as well. Yesterday, I decided that I can't afford a new one so I took it apart. After a while I had successfully repaired both the microphone and display with small pieces of tissue paper. I guess anything is possible when you're a stubborn problem solver!9
-
A support request came in at 4:30 this afternoon, I logged onto the server somewhat pissed off that there was a support request at this time on a Friday.
I checked the logs and noticed 500 errors coming from our integration parter after a little log checking and with glee I declared "not my fucking problem!" I replied to the customer and ccd our partner. Have fun bitches, next time deploy your new version when we fucking agreed! -
When you've had a long ass 14 hour day and you're getting nowhere with a problem so you finally accept its time to go to bed...
You lie there for 45 minutes doing nothing but thinking up awesome solutions to the problem you went to bed over....4 -
Long rant ahead.. 5k characters pretty much completely used. So feel free to have another cup of coffee and have a seat 🙂
So.. a while back this flash drive was stolen from me, right. Well it turns out that other than me, the other guy in that incident also got to the police 😃
Now, let me explain the smiley face. At the time of the incident I was completely at fault. I had no real reason to throw a punch at this guy and my only "excuse" would be that I was drunk as fuck - I've never drank so much as I did that day. Needless to say, not a very good excuse and I don't treat it as such.
But that guy and whoever else it was that he was with, that was the guy (or at least part of the group that did) that stole that flash drive from me.
Context: https://devrant.com/rants/2049733 and https://devrant.com/rants/2088970
So that's great! I thought that I'd lost this flash drive and most importantly the data on it forever. But just this Friday evening as I was meeting with my friend to buy some illicit electronics (high voltage, low frequency arc generators if you catch my drift), a policeman came along and told me about that other guy filing a report as well, with apparently much of the blame now lying on his side due to him having punched me right into the hospital.
So I told the cop, well most of the blame is on me really, I shouldn't have started that fight to begin with, and for that matter not have drunk that much, yada yada yada.. anyway he walked away (good grief, as I was having that friend on visit to purchase those electronics at that exact time!) and he said that this case could just be classified then. Maybe just come along next week to the police office to file a proper explanation but maybe even that won't be needed.
So yeah, great. But for me there's more in it of course - that other guy knows more about that flash drive and the data on it that I care about. So I figured, let's go to the police office and arrange an appointment with this guy. And I got thinking about the technicalities for if I see that drive back and want to recover its data.
So I've got 2 phones, 1 rooted but reliant on the other one that's unrooted for a data connection to my home (because Android Q, and no bootable TWRP available for it yet). And theoretically a laptop that I can put Arch on it no problem but its display backlight is cooked. So if I want to bring that one I'd have to rely on a display from them. Good luck getting that done. No option. And then there's a flash drive that I can bake up with a portable Arch install that I can sideload from one of their machines but on that.. even more so - good luck getting that done. So my phones are my only option.
Just to be clear, the technical challenge is to read that flash drive and get as much data off of it as possible. The drive is 32GB large and has about 16GB used. So I'll need at least that much on whatever I decide to store a copy on, assuming unchanged contents (unlikely). My Nexus 6P with a VPN profile to connect to my home network has 32GB of storage. So theoretically I could use dd and pipe it to gzip to compress the zeroes. That'd give me a resulting file that's close to the actual usage on the flash drive in size. But just in case.. my OnePlus 6T has 256GB of storage but it's got no root access.. so I don't have block access to an attached flash drive from it. Worst case I'd have to open a WiFi hotspot to it and get an sshd going for the Nexus to connect to.
And there we have it! A large storage device, no root access, that nonetheless can make use of something else that doesn't have the storage but satisfies the other requirements.
And then we have things like parted to read out the partition table (and if unchanged, cryptsetup to read out LUKS). Now, I don't know if Termux has these and frankly I don't care. What I need for that is a chroot. But I can't just install Arch x86_64 on a flash drive and plug it into my phone. Linux Deploy to the rescue! 😁
It can make chrooted installations of common distributions on arm64, and it comes extremely close to actual Linux. With some Linux magic I could make that able to read the block device from Android and do all the required sorcery with it. Just a USB-C to 3x USB-A hub required (which I have), with the target flash drive and one to store my chroot on, connected to my Nexus. And fixed!
Let's see if I can get that flash drive back!
P.S.: if you're into electronics and worried about getting stuff like this stolen, customize it. I happen to know one particular property of that flash drive that I can use for verification, although it wasn't explicitly customized. But for instance in that flash drive there was a decorative LED. Those are current limited by a resistor. Factory default can be say 200 ohm - replace it with one with a higher value. That way you can without any doubt verify it to be yours. Along with other extra security additions, this is one of the things I'll be adding to my "keychain v2".11 -
I was hopelessly lost in a problem when I found an Issue on Github describing the exact same problem.
Unfortunately, the message board it didn't quite help me solving the problem.
Some time later I managed to solve the problem, and remembering the Github issue, I wanted to post an actually helpful message.
Oh but wait. The issue was fucking closed.2 -
Boss asked hey can you build me out a site?...Me ...sure got the PSD for the site?...Boss...no just build something out...Me...okayyyy....I build out a site...Boss...I don't really like the design...Me... ....*internal eye roll because I'm not a designer*2
-
Programmer 1: We have a problem
Programmer 2: Let’s use RegEx!
Programmer 1: Now we have two problems -
Headphones on when you sneeze. Do you assume someone said bless you and fire off a thank you, or assume no one said it and risk being the guy that doesn't thank a bless you?7
-
I like JS,
If you are getting lost exploring frameworks, that's your problem.
If you're overwhelmed by the choices,
That's YOUR FUCKING PROBLEM.3 -
Have you ever had a problem with a partner, but you cannot prove at 100% that he has something against you? But you cannot stand him?
Well, this happened two years ago. I was working as a tester, and “John” (I won’t say his real name) was the dude who tests my tests, but in production.
I ‘m a sociable person, and I don’t mind talking with another people. Suddenly, I noticed that my co-worker started to behave a little bit... rude? Plain? I don’t know, but sometimes he didn’t answer my conversations/questions, or sometimes answered with extra-negative stuff.
“Well, his life is not easy” I said to myself. “Everybody haveproblems”, “I have to understand him and calm down”.
Two weeks later started to report really REALLY absurd production bugs, and with absurd I mean, for example, that he didn’t like the color of a button, a point next to a phrase, etc., things very very simples, but sometimes he ignored big errors.
Once I had to went out of the city for few hours, and asked to permission to go out. I had pending tests, but I left a document with specifications in case of emergency. Even passwords. Before I could finish the thing in the other city, my partner called me two times, and asking me obvious things! I had to go back to the office ealier that I had planned, so f*** angry 😡 and when I arrived to the office, John said “no, forget it, let’s solve it tomorrow” 🙃 WTF?!!!!!!
I decided not to argue with him.
Also noticed that his headaches suddenly increased, and looked so tired ☹️ I felt guilty to judge him
I felt so guilty, and even today I don’t know what to feel about that or what to think. I don’t work there anymore, but, What do you think? What would you do?6 -
Failure is not the problem.
Problem is not admitting and accepting that you failed.
Problem is not learning from your mistakes.
Problem is causing the same damage over and over again.
What's worsens the situation is defending the dumb act.
If you cannot handle failure then not only you stagnate your growth, but you also negatively affect people around you.
Mistakes make you perfect only when you fix them.7 -
Just had an internship interview. I may be pretty good at coding but god am I awful at programming under pressure..4
-
That moment when you are looking for a solution for a problem, there is the exact problem already on the stackoverflow, but with no answer...
And then the feeling when you somehow solve the problem, post the answer and get an upvote :)1 -
Learn enough docker to convince my coworker that it is not the solution to EVERY problem, especially not to our problem8
-
* How I solve a problem*
"Okay, it seems to be interesting, OK think solve it generally"
*Solved the problem manually
"Okay pseudo code is /do this and that/ break it and write Algo.
Seems like it will work,
Making all sense
Okay let's code"
*Wrote in IDE
" Hmm compile and execute"
*Expected output : Hey you!
*Actual output : F you!
Me: What the hell
"Uhh! Just gonna apply brute force"
*Somehow got the actual output = expected output
"I knew, it gonna solve it but how it worked?"
*Thinking
*Thinking....
*Thinking and it's 2 am
"Oh! I'm done, I'm going to sleep"
*4 am, while lucid dreaming
"That's how that thing worked, I got it"
*Relieved
*Next day using the logic dreamt of
*No matter how much surreal it is
*It didn't work
Me : F U!!!
..
..
...
(to be continued)2 -
All these Windows Update rants and I haven't waited more than 5 seconds for win to boot in the last two months...2
-
When u spend too much time writing Java and suddenly go back to C# yet continue to write Java code 😪4
-
I hate Docker. I hate networking with Docker. I hate Hyper-V.
I've spent over a month dealing with problem after problem after problem.
Someone put me out of my misery.10 -
How many programmers does it take to screw in a lightbulb?
It doesn't matter. Its a hardware problem not a software problem...1 -
How I solve complex problem during development.
1. I left my machine with all the thinking and start to think of another activity.
2. Start another activity I like specially a physical one like playing a game, jogging or just walking.
3. Then after I am fully involved with this activity I start to think of different scenarios of the problem I was trying to solve.
4. Eventually, different solutions came to my mind and I evaluate them one by one with respect to my problem.
5. I finalize a couple of solutions based on the evaluations.
6. Rush to my machine and start implementation to see if it work.
PS: During all these thinking I will be terrible at the activity I am doing.
Loop again if It didn't workout.3 -
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
-
Konfuzius says:
When a mosquito land on your balls you will learn to solve problems without violence.2 -
Any one else have a problem buying gadgets they don't need? I just bought an Amazon Echo and not entirely sure what to do with it. I also have about 6 waiting to be shipped from kickstarters9
-
I found weird that some developer never ask why when facing a problem. "What do you mean never ask why?" here some story.
Let's say a developer work with simple app. Laravel as Backend and Postgresql as Database. He face a problem that the app very slow when searching data.
In order to solve that problem he implement cache using redis but he found problem that it fast occasionally. In order to solve that problem he implement elasticsearch because he think elasticsearch very good for search but he found another problem that sometimes data on postgresql out of sync with data on elasticsearch. In order to solve that problem he implement cronjobs to fix out of sync data but he found another problem that cronjobs cannot fix out of sync data in real time. and so on...
Do you see the problem? He never ask why the app slow. Which part search the data? Backend or Database (Search in the Backend mostly slower than Database because Backend have to get all data on database first). Has the query been optimized? (limit offset, indexing). How about the internet connection? etc.
For me it's important to ask why when facing a problem and try to solve the problem as simple as possible.2 -
Ever turned the music off when facing a serious problem while coding? I do it too when driving in busy traffic. At least turn the volume way down.2
-
So I and my friend worked on a website for a guy about 6 months ago and he didn't payed us (we had a contract but he is a d##k). Whenever we use to ask for money he'd ask us to do something else or add another stuff on the website (told you d##k). So we decided to leave without taking the money and now he's still using the website that we made.
While working with him he shared his server credentials and they are still the same (we still have access to everything).
Now we were thinking to teach him a lesson, we don't want our money back.
So, devranters what's the evilest idea you can come up with?
So far my friends suggested me:
-mining cryptocurrency
-replacing websites homepage with some abusive content
-delete everything on the server
-revoke his access to server (he would somehow get that)18 -
I want honest opinions. Do you think the following is a good or not so good interview question. Why or why not? Defend your argument.
Define a function where the input is a list of integers. It should find and return all the unique sets of three within the list that sum to x.
For example, given the list [1, 3, 2, 5, 6, 8, 10, 13, 15] and with x = 16, the function would return [(10,5,1), (13,2,1)]
If the candidate presents the trivial solution with time complexity of o(n^3), ask if can be done in o(n^2) or better.8 -
When I think "the fundamental problem", the closest thing that comes to my mind is "unsolvable problem". P =/!= NP is a fundamental problem, the theory of everything is a fundamental problem.
But we actually solved at least one such problem – the fundamental problem of cryptography.
The problem was "how to establish a secure connection over a non-secure channel?" Like you can't exchange the key, it'll be exposed by definition.
We solved it with a simple yet brilliant solution of asymmetrical cypher, that thing with public and private keys.
It's fascinating to think that people died in WW2 over this, there were special operations to deliver fresh deciphering keys securely and now SSH and HTTPS are no-brainers that literally everyone use.10 -
Cat-warming solution when the power goes out
Problem: Your power goes out in the middle of winter. Your cat is cold and will not leave you alone. You are her only source of heat.
Step 1: Find battery-powered laptop.
Step 2: Power on laptop and turn off sleep/hibernation in the settings.
Step 3: Open up 5 instances of Minecraft and load a single-player world in each.
Step 4: Close laptop and flip it upside down
Step 5: Place cat on computer above the fan. Cat will begin to purr.
(Yes this works)2 -
Me: Asking a question that boils down to an xy-problem on stackoverflow.
5 upvotes
Me: Answering my own question pointing out that my question basically is an xy-problem and pointing out a direction to properly solve it.
4 downvotes
At least I am not the only one having a brainfart. -
My best skill is problem is:
*** problem solving ***
Really, at least in all the teams I've been working until now, I'm always surprised by myself. How fast I am in spotting the problem root and find or suggest a solution. Even on things I have almost no knowledge.
My worst skill is:
*** problem solving ***
Being so effective make me everybody's slave.
Everybody always rely on me for any kind of weird shit. If I try to "outsource" the problem, after one day it will bounce back on me and I solve it in no time.
So I've no time for anything else that solving other people's problems.
Constant interruptions and context switching.
And worst, my bosses don't understand why I don't finish my tasks. And I cannot blame my team.8 -
Very senior colleague: *hits a problem that is a minor inconvenience*
VSC: "I have to restart this task, the two weeks I put into it must be deleted!"
Me: "You forgot to do *this* here, add this 1 line and it's ok."
VSC: *An hour of rumbling about the codebase*
VSC: *adds my fix*
VSC: "Ok, it works now, you can review again"
Me: *cries inside*2 -
yeah..
customer: I have a problem.
Smart Cell: here's a math problem, just divide it 3 times by 10243 -
This temporary hack will just temporarily fix this problem. We will come back and actually fix the problem later.
We never come back to fix it later. This shitty hack I made in less than a day that fixed the problem for the day "fixed" the problem for the next year.
Lesson learned that temporary structures and side projects will be there forever. Make them right the first time.1 -
How to find the solution to your problem:
Try to explain it to someone.
Almost every time I explain some weird thing that doesn't work to my friend, I realize what's the cause or have an idea for something to try out..3 -
HRM student: Hey, can I borrow your flash drive?
IT student: Sorry mate, I don't have that now. I left it at home.
HRM student: Seriously? How could you left if at home? You shouldn't have taken IT course. Lol
IT student: Oh I see, so where is your
Cooking Utensils
Graters & Peelers
Kitchen Shears
Mandolines & Slicers
Salt & Pepper Mills
Food Mills
Colanders & Strainers
Measuring Cups & Spoons and more? I guess you better drop all your subjects now.2 -
Sometimes when shit is getting difficult I lay on my bed reading a book for a while. Then I'll go for a run for half an hour to go back to the problem I was solving with a clear mind. Works everytime and keeps me healthy in the process.2
-
Has someone an idea why KDE Neon has this buggy text rendering and how to fix it? Google is not my friend with this problem.. It's often the text which is buggy but sometimes everything else is buggy too..8
-
I am new to open source, so i was trying to solve some issues on an organisation. At first it seemed like what the hack is happening, i was not able to understand the codebase that well but slowly and eventually i get to learn some stuff.
Now, i got stuck at a small problem and to solve that problem it took me a whole complete week. During that phase, i realized some things that i want to share.
As a beginner it was too hectic to find the solution to that problem so i entered that problem on every platform from where there is some chances for reply, and i realized that no one is going to help you out completely and this is the best part, i mean if someone is going to spoon feed you than you won't learn anything. I know that feeling when you are scratching your head and you just want to get out of that mess but you are stuck and there is no one to help you out, believe me just hang in there, there will be some moments when you will realize that there is no more options left and you are done than for sure you will find something which you can try.
So you should also not ask for spoon feed, if you want to learn than fall into many problems as you can.
Best of luck.5 -
that feeling when your downloaded movie, is so high quality, that your computer can't render it properly...
-
!rant
For the past year I was more or less solely responsible for a project. With the beginning of the year 2020 that project is paused. I had vacation starting the 23.12.2019 so the project ended there for me. Since the 25. the project is alerting like 30 crashes a day. I didn't change a thing but the external consultant did. Now I sit here at home and drink relaxing tea while reading a book. It's nice to say that it is not my problem anymore :-) -
Manager encounters problem, hacks a load of stuff together to "get around" the problem. Asks me to fix the issue. I spend a week tidying up what he'd hacked together, then change it so I encounter the problem.
A morning of probing later, the problem?
One of our servers is running 2 firewalls, so we were having network connection issues on just that server.2 -
The rant starts here....
die() function from PHP, it's like Hitler shouting, "if you can't solve the problem remove the source of the problem" -
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 -
"Good design is finding a solution to a problem. Great design is finding the simplest solution to the same problem." - Nicholas Petersen2
-
?
I am working as intern with a super cool startup. I love working here.
But, for the past few days I've been busy with college, exams stuff. This has affected my work severely. I'm constantly past deadlines etc.. The startup understands the fact and also puts no pressure on me for to show up every day and decreased my workload.
College work will be the same for the next two months. I don't want to underperform at the company, at the same time cant do away with my college too.
It's like a relationship where you love the girl a lot but are genuinely too busy to spend time with her.
I'm meeting my supervisor today. I need a subtle way to let him know of the same. I know this would mean me leaving the company, but I want to join them back after two months. Or at least be a work from home, part time employee.
I'm in serious need of some help.9 -
OK, lets again talk about net neutrallity
The FCC said they dont give a shit about the people and will not listen to them.
OK. Got it?
So, what now?
Write your ISPs about the Problem! Thats literally the only thing I can Imagine to do! But honestly, I think its still useless... It still wont help... Were all doomed6 -
1] Being able to say "the easy way or the hard way" when people ask if you can build them a website/app
2] Telling people they can't afford me when they ask if i can help them with something computer related
3] The feeling of encountering a problem and solving it gives me a drug-like high when i've finished a project. Even the feeling of finishing all the day's tasks and having time to work on ongoing greater tasks fills me with a sense of accomplishment and victory. -
Genuine question: Whenever an OS encounters a problem and I 'send' the report to help fix the problem, does anybody read that? Or windows just stalling?2
-
Every time I see the N+1 query problem in people's implementation, I feel like crying. Especially when it's dealing with large data sets of something like 1000 records.2
-
When I'm stuck at something and can't think of a way to solve it, I just keep running the unit tests and stare at the screen. And then youtube. And then I feel terrible.1
-
You're working on a project, your boss has set you tasks to complete. You complete all the tasks and make pull requests of all the work you've done. Your boss is busy and you don't know what to do next? What do you do? Is it unethical to work on personal projects in work hours, because you're not being paid for that? How do you find other stuff to do?10
-
days were nothing seems to work and you end up solving the problem of the problem of the problem of the problem... so frustrating 😥2
-
You know what really boils my piss?
Clients who email in all caps.
"URGENT HELP, CAN'T RECEIVE EMAILS"
Followed by two lines of bitching about how this keeps happening and they'll move elsewhere if it's not fixed asap at 11pm.
WELL GUESS WHAT?
YOU MOVED YOUR EMAILS AWAY ALREADY! -
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
-
Someone asks for help as to why their website isn't working, you find the problem and tell them, then they're like "no that can't be the problem". So you fix the problem and they ask "what did you do?"
-
boss: someone fix these it's not working *3 problems highlighted on screenshot*
problem 1: something went wrong when updating the data, i fixed it in a minute
problem 2: not our problem, send an email
problem 3: wait isn't this the task *boss* handles?2 -
I wonder if you guys can help, nobody else seems to.
Nine months ago I packed my desktop away because I had to move.
I then turned it on a few weeks ago and noticed a curious problem: the audio and video stutters.
I don't know why this happens.
I tried booting into Linux, and didn't see any stuttering. I went back over to windows and updated all the drivers, but nothing worked.
Last night I did a full system wipe, and re-installed windows without leaving any of the old files.
The error still persists.
I have no clue what might be wrong with the computer.
For all I know it's the hardware that's failing, but I don't have any idea which component in the system is leading to this strange behaviour.
Maybe you guys know enough to shed some light on this?23 -
Maybe it's just me, but it seems that bitching about a problem helps me think about the problem in such a way as to help me solve the problem...
...probably just me4 -
The value of a good walk...
So I was stuck with this problem. There's the data structure then there is the display of the data structure. Two copies of the data which is fine.
But the displayed copy is a pain to work with (WinForms) and there the was problem of having to handle events when the displayed data changed then update the back end actual working array and synchronize it so they're both up to date. Couldn't figure out a good solution. Actually slept on it. Still it didn't sit right to have two copies like that and sync it.
Went for a 20 min walk and BAM! Solution found. There was a way to just directly update the crappy WinForm and sort the data and keep the properties then when done displaying/selecting just convert to the working data format...so simple no synching required!1 -
when you've taken enough caffeine to get the work done and now you just want to sleep but you can't cuz coffee
-
"Design is a response to a specific problem. You are given a problem to solve, and then you let the problem itself tell you what your solution is." - Chip Kidd
-
Changes in the sales process enabled users to break it. I fixed the problem and suggested how to corrected those broken sales. PM wants to make tomorrow a day of meetings with stakeholders and other PMs to discuss if I should get to spend few hours fixing it.
Guess Ill tell them then that I already wrote a app on my way home that fixes it..... -
"Good design is finding a solution to a problem. Great design is finding the simplest solution to the same problem." - Nicholas Petersen
-
Sometimes I find that when I'm stuck on a problem the best thing to do is work on anything except the problem for a bit. 90% of the time a solution will come to me if I just stop focusing on the problem.
-
will u leave a problem in center while you are tired as hell and prefer sleep over completing your program ?6
-
"Boss, we have a problem!"
"Don't say that, we call it -opportunity-"
"Boss, we have a lot of opportunities, the server is down."
"Ow..that's a problem"2 -
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 -
When your project is actually implemented in real world solving real problem with the solution you created
-
Hi so I'm learning python in my spare time and I'm in a national competition. I've been told that programming is something my college has always lacked in and in the competition they fortunately use python throughout the problems. I have some example problems used in the last year competition (it was publicly released) and I'm going through them to get an idea of the problems we/I will face. Now I'm still learning python but I understand some of the code at hand. However I still need a little bit of help to understand some of it which will also help me get to a resolution.
Some of the questions I have are:
1. What exactly is the ordinal? I've done some research and I have a small idea but I couldn't find anything to really fill me in and explain how to use it, well in python at least. I saw an example for Pascal but that didn't do much.
2. What is the sys.argv? "The list if command line arguments passed to a python script". I'm not quite understanding that.
3. I know for is used for looping and I know an example say "for a in range(10):" but I'm not understanding the for c in password:
4. Where does the 1000 come from in the builder += 1000.
5. What does the 83 represent after ord(password[1])
6. I know the if statement is saying if this then do this so if __name__ == "__main__":
main()
It's saying call in the function main but where does the name and main come in that part?
Here is the image:
Thank you for your responses in advanced!
One person doesn't have to answer all. Time is precious I understand.8 -
I am new to programming. I know the syntax very well in Java. How can I improve my logical thinking , problem solving ability that can land me in a decent job ?8
-
Trying to build a ros workspace inside VMware...
Called up the teammate who put it together:
Me: hey the workspace isn't building for me, do I need to setup anything before I type "make"?
Him: nah dude just type make and ur good, why what error are you getting?
Me: *describes error*
Him: oh lol I never got that error before, idk maybe your machine is just dumb
Me: *uh ok sure dude* let me try some other stuff
*Boots to native install of Ubuntu*
*Build successful*
Me: oh huh that's weird it built on my native installation but not on the VM
Him: oh lol that's not my problem
Seriously dude? First off, screw you Ros for not being able to build in a VM. Secondly, it's entirely your problem! Linux is nice to use, sure, but it's a bit of a problem when the entire team runs off Mac!
😲😲😲😣😥😫😓 -
I waiting for the day when I have a problem and there is no npm package that solve it already.
NoSleepjs....5 -
Some friend bothers me while I'm coding.
Friend walks away because I asked him to look at what someone on the other side of the room is doing.
I open CMD on his pc.
typed: color 0a
C:/
dir /s
alt + enter
friend: WTF?!
me: blocked by administrator for disturbing the peace.9 -
The worst part being a designer is when your client has zero design sense and you have make them some shiity stuff
-
I solved the Monty Hall problem for once and for all! Suckers. Of course a computer can't decide if switching or keeping is the best choice. Even wikipedia states that switching wins. NEVER. And even if that would be the case, it's pure how you arranged the labels to determine which one wins. If everyone actually wrote their own code, the conclusion wouldn't be what it is now. Many people probably just changed their code until that false result comes out or had it at the beginning caused by lack of experience.
Here is a GOOD implementation: https://pastebin.com/dRiTWQpw
It gives a 50%-ish chance on a choice like mathematically is correct.
The problem is in the computer simulations: using > or < to check which choice has won. But actually, often no one has won (it's a tie) after running it x times so you have to filter out the ==.
Then, you get the right results. My first version also had a bias, but i refused to accept it and did spent 45 minutes on the code instead of 15. This is the end result. And no, with double ?: in a printf statement i don't expect a prize.
It was a lot of fun actually, did not expect this from such stupid 'problem'35 -
Suddenly build is not coming up???!! Restart your machine. If that does not help restart the machine of the colleague sitting beside you... Classic problem solving.
-
so i recently found out about a problem called the "Monty Hall Problem" and decided to give it a go, so i wrote this little analysis app to solve it
https://github.com/bigworld12/...5 -
That feeling when company gave you a laptop on which you have to work and you cant work because your laptop is so weak that cant build solution because of constans crashes. Should i tell it to ceo? Guys help, first work and already problems :[5
-
Damn I left work on Friday afternoon with an unsolved problem. I actually solved it on my way home but forgot to make a note so this is now the only thing I can think of. What a beautiful weekend.
-
I'm sitting here in the dark and can't program because no electricians are available... Right before a deadline...
I worked on refactoring my code for our University lab's project (I am the programmer assigned to it) for almost a week and managed to refactor most of my old and unorganized code. Today I finally had the chance to finish the job.
While everything was open I decided to charge my laptop (I work on a desktop) and the moment I plugged it in the room turned dark. I realized I just have to turn the fuse back on but of course all the fuses are on already. Appearantly that short-circuit fried my home's electrical framework somehow and because it's a weekend I can't get in touch with any electricians.
All my code was committed but not pushed so now I am stuck here before a deadline with no way to work...
tl;dr Because of a short-circuit I don't have any electricity and all my work is unpushed.3 -
I hate people. I show them devrant or try to abstract a problem to a everyday problem people still reply with "I don't know computers" ignorant fucks.1
-
The problem with 10:30 pm is that it comes exactly one minute before 2:30 am if you are not careful !2
-
Why the hell i find solution to every string problem with simple dictionary!
i m worried about my problem solving skills1 -
Sometimes you know what's the problem yet you don't know what's the problem.
Does it means your are just assuming that's the problem yet problem is something else. -
I'm working on some JavaScript that a junior developer probably would have been able to write a couple hours ago.
Even though I'm getting closer to a solution, I'm definitely still in the "feeling like an idiot" phase because it is probably so simple for a more experienced dev.
At the same time, I think this is one of those things I have to figure out for myself. I can't get all my solutions from Stack Overflow!5 -
When you are in the middle of a project, and get an idea how to solve an other project's problem..
I don't know if I should be happy to solve the first problem, or sad to cut my work on the current project. -
Funny how every single one of my side projects fails due to authentication/authorization/user management. Yeah... Funny and stuff... Thats the right word for my discourage I think... Funny! It's funny!
(open for suggestions)4 -
TFW when you have to solve that problem that has snowballed into a huge problem now that you initially saw it as a "I'm sure this wouldn't be a big issue in the future" kinda problem.
#FML1 -
Problem: in assembler, i want to proceed an string byte by byte. How can i do this?
My try:
Mov ebx, 0
S:
Mov eax, [var +ebx]
;somethin
Add ebx, 1
Jmp s
But it doesnt cut off the thing rigth8 -
Am I the only one having problems to open links in rants in the android app? (links in profiles are working) @dfox @trogus2
-
I am lazy to pair my android device to another android device via blutooth for tethering(Pan Access Network) for internet access. Wifi sucks too much battery. Whenever pairing is done, device asks for prompt message stating "yes" or "no" for connection. I want that it automatically by default give permission to connect. Is there any possible solution (maybe through adb shell or something). I have tried every site related to this issue but most of them have unix system Bluetooth issues so no luck. Reply if you know a fix.
-
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 -
How do you manage to explain to a boss who thinks all devs can solve problems by typing on their keyboard fast, that it’s almost always fantasy?
-
How mamy programmers does it take to change a light bulb ?? None!! It's a hardware problem!!! Old one but best one :D
-
Is someone else experiencing problems connecting to the App Store when trying to purchase devrant++? I look forward to supporting you!5
-
So I've spent some time learning a little about the halting problem, and it's quite fascinating. I tried to simplify it down to these few functions. What do you guys think? Obviously, psuedo-code, so don't get too caught up on the syntax 😆
The Halting Problem:
public String doesItHalt(Callable function){
...
if (...){
return "Yes"
} else {
return "No"
}
}
public int someFunctionFooThatHalts(){
...
}
public int someFunctionFooThatDoesNotHalt(){
...
}
public String inverseAnswer(value){
if (value == "Yes"){
return "No"
}
if (value == "No"){
return "Yes"
}
}
public String inverseHalts(Callable function){
return inverseAnswer(doesItHalt(function))
}
————————————————————————————
$ doesItHalt(someFunctionFooThatHalts)
Yes
$ doesItHalt(someFunctionFooThatDoesNotHalt)
No
$ inverseHalts(someFunctionFooThatHalts)
No
$ inverseHalts(someFunctionFooThatDoesNotHalt)
Yes
$ doesItHalt(inverseHalts(doesItHalt))
???2 -
So I have noticed if I think I know much of logic in programming and I can solve this problem better way I actually code better.
And when I think no I'm just a noob programmer I ask stupid question to myself and get my self confidence blown.
Thing is don't think you are bad, think of just you'll put all the experience all the knowledge you got in this program (according to its requirement) -
3D Printer problems
Anet A8
Fan problem.
Hey guys.
So, I have a problem with my printer.
The fan that cools the printed model (fan1) isn't working... and everything seems fine.
What should I do to find out what the problem is?
Thanks18 -
Working on fixing a problem and broke something else! HOW? 😩😭😭
...and I still have not fixed the new problem
🤦🏽♂️4 -
I try to be conservative and only use my phone a little, I didn't even play games/videos and still it went from 100-22% in under 6 hours... like how did it even?3
-
Finally my laptop is back and it's keyboard problem, thanks for official repair stop. Other two unofficial repair stops told me it's main board problem, FUXK THEM.
-
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 -
Spent my whole day (9-6) trying to fix some problem with local server. End of the day. The problem is still there and i dont know a single shit what make the problem. Frog !
-
Yesterday: I know exactly how to model this problem.
Today: WTF was I thinking?
Tomorrow: I know exactly how to model this problem. -
Can anyone help me understand how can I identify Dynamic Programming problem and general framework to solve the problem using DP?
-
Ok guys ... real talk ... I've been stuck on a problem for over a month! The thing is that the problem and implementation is too specific for stack overflow. I've tried everything that I can think of and it's actually keeping me up at night! What do you guys do when you hit a brick wall?8
-
So will https://projecteuler.net help me in solving and interpreting mathematical problems better?especially in term of calculus
-
Problem: There is a fucking amount of logic to build.
Solution: Modulize the fuck out of the problem for 2 months to swing the lead until you can't modulize the problem anymore and have to start actually thinking on how to solve it. -
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 -
I need help solving this problem, idk how to make it decrement if for example the value is 0.1, idk how to make it turn into 0.09. plus I don't know how to make the user choose to either increment or decrement the value.2
-
I am not sure what's wrong but from this evening I can only access Google's sites + some other site using my WiFi but can't access devRant + other tons of site
Tried to reset the router, tried changing the DNS addresses, tried using VPN but nothing worked2 -
I am using windows 11 and my screen keeps on flickering after every alternate restart.
Plx help me :(7 -
Some days I'll just query my problem with another dev. Other days, I'm adamant to fix the problem myself and spend hours researching it
-
Anyone ever get to the point where they solved the same problem before
Know that plugging at it will see the problem fixed but it's such an infrequent problem and one that should have had a permanent fix so long ago that they just don't want to ?2 -
What should I do, I have a central function that is not documentated and no test-cases are written for it. I have no clue what the method should really do, I know that it works in 99.9% of all cases otherwise we had much more bugs. Now there is one Unit-Test that reports an issue. I tracked it down to this method, no one touched the method nor the unit-test.
My logical thinking says that there is one statement missing, but it could also fuck up another part of the code... (This project has a bad testing coverage :'( )
What would you do?
- copy paste the method for this special case (I would hate me so much for breaking DRY)
- inheritance?! (Would make it more complex and then it would be still untested / undocumented)
- YOLO changing oO?! (hope for luck, just joking)
P.s it's an edge case unit test, the client / customer probably wouldn't realised it if it happens -
Guys i have a damn problem with my friends laptop (yes i don't like doing it, but have no choice)
I can't intall on this laptop any windows (good for me, but not for friend) beck use of blue screen A5 or sometimes B7.
I read about this and it might be bios, but it's updated. I can't see any hardware dmg.
Linux work perfect :(
Have you idea what to do?6 -
Telling the customer it's not a system problem but their end users network problem over and over with proof and still making a fuss over it. What the hell do I do next?1
-
Whenever I try to copy any text from any webpage & create a list, there are a lot of things to do. Switching multiple windows, ctrl+c, ctrl+v, then again do the same for the next selected text.
Is there any Chrome extension out there to solve this exact problem? Less action to copy-paste texts?
Or should I make one? How many of you are likely to use something like this? -
Need help for a task
I need to do a code in JavaScript that decrements a user value, say 0.2>0.1>0.09>0.08 etc etc.
How do I decrement 0.1 to 0.09?
Thanks.10 -
The three body problem in work place: having 3 directors, each in charge of different area. It is a real chaos when there is a proposal need to be passed by all three.