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 - "solution"
-
Finally I found a webpage related to my bug.
The page is from 2004.
*keeps reading*
"Yes, yes! This is exactly the problem I'm having"
*Carefully reading each comments*
*Looking at scroll bar with stress*
*Almost coming to end, no signs of solution*
At the end the thread creator say: "Ah finally I've fixed the problem. Thanks everyone for helping"
*moment of silence*
WHY U NO SHARE THE GOD DAMN SOLUTION? YOU FUCKING IDIOT17 -
OMFG! I just figured out the solution for low fps in every gaming console!
I hope this piece of (genius) code get to microsoft/sony!!!19 -
Me: we only got 40 minutes notice that we had to stay in late for a meeting with the USA team. Can we politely ask them to give us like a days notice in future? I can’t just stay late at any time, neither can the guys with kids to collect.
Manager: oh ok. I’m very sorry this has affected you. Here, let me explain why this is going to keep happening and you’ll need to deal with it.16 -
> be me
> last hour in office
> trying to figure out solution
> figured out a plausible solution
> write the code
> power outage before I compile
¯\_(ツ)_/¯
Well, on the bright side I committed it locally...9 -
What happens when you change the service call center to 100% AI
AI: Hello, this is the After Service center. How may I help you?
Angry customer: Hey! Do you count this as a product? Do you sell this to use it? F*** shit?! Bring the manager now!
AI: Thank you for your response. We will connect you to the Development team.
Angry customer: Uhhhhhh
AI: Hello, this is the development team. Please state your problems.
A bit relaxed customer: Umm, so this product you guys are selling stops working sometimes, so...
AI: We are sorry, but for the product misfunctions, please contact the After Service. We will connect you to After Service.
F***ed out customer: Wait, I just came from the After Service!
AI: Hello, this is the After Service center. How may I help you?
Angry customer who is ready to throw the phone: I said that the product is not working, and I asked to bring the freaking manager in the line!
AI: Thank you for your response. We will connect you to the Development team.
Customer throwing the phone and shouting: F*********************************************************************************************!7 -
Yesterday: "This fucking logic makes no sense. I can't work this shit out!"
Today (first look at the problem): "Oh... I think if I do this and this... Yeap, that'd work"
I love fresh brain thoughts in the morning.8 -
Manager: I need you to come up with a quick, temporary solution.
Me: Ok...but it will be kind of hackish and ugly.
Manager: Yes that's completely understandable.
Me: So again you say this is just temporary right?
Manager: Yes we will come up with a permanent solution soon.
*that was over a year ago and the "temporary" solution is not-so-temporary it seems*10 -
When you show the senior developer your clever solution to a problem and they come back with "you can also do XYZ" and his solution is much more elegant. Appreciate your superiors kids.4
-
After some searching I found a solution on stackexchange.
The solution was a reference to a patch that I created a couple of years ago :)1 -
That feeling when you coded a temporary solution and its stable in production for 2years already..4
-
Every single time I try to find a solution to a problem I'm having....
Who were you? What did you see?4 -
Company grows a 30% and internet starts getting slow.
Solution from company: Block half of common websites8 -
It was a basic java lesson. We had four values that we stored in a array. We had to make some calculations with the values. Then we had to sort those four values. That's the solution our teacher proposed:
if (arr[0] > arr[1]) {
int temp = arr[0];
arr[0] = arr[1];
arr[1] = temp;
}
if (arr[1] > arr[2]) {
int temp = arr[1];
arr[1] = arr[2];
arr[2] = temp;
}
if (arr[2] > arr[3]) {
int temp = arr[2];
arr[2] = arr[3];
arr[3] = temp;
}
if (arr[0] > arr[1]) {
int temp = arr[0];
arr[0] = arr[1];
arr[1] = temp;
}
if (arr[1] > arr[2]) {
int temp = arr[1];
arr[1] = arr[2];
arr[2] = temp;
}
if (arr[0] > arr[1]) {
int temp = arr[0];
arr[0] = arr[1];
arr[1] = temp;
}7 -
My Typical Project
1. Identify common problem
2. Investigate options
3. Come up with clever solution
4. Implement backend solution
5. Get fed up with current frontend
6. Investigate other frontend
7. Realize perpetual chaos in Javascript landscape
8. Lie down in a corner
9. Cry myself to sleep4 -
You don't have a problem if you go to stack overflow to find a solution to something. You have a problem if you go to stack overflow and CANT FIND the solution.4
-
Those rare times when stackoverflow doesn't have the solution to your problems and when you finally do come up with a solution on your own, you feel like a goddamn king2
-
I always get a little angry when I'm looking for the solution to a problem I have with JavaScript and the answerer has the solution in JQuery. Like, not everyone uses that people!5
-
WTF!! I want a JavaScript solution.. not jQuery!! When JavaScript mentioned in the question, why the hell people answer with jQuery solution and also same solution multiple times.15
-
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 -
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 -
How to be a successful developer:
1. Identify a problem that you don't know the answer to.
2. Spend 10 minutes searching Google for a solution, trying various keyword combos.
3. Click the link to the solution in Stackoverflow.
4. Find the solution with the most +1's.
5a. If solution looks good, implement the solution in your code.
5b. If solution is not applicable, return to step 2.
6. Test your implementation.
7a. If the problem is solved, bask in the glory of success and return to step 1.
7b. If the problem is not solved, move your hand vigorously through your hair, pulling out several strands. Exhale loudly. Next return to step 2.4 -
Closing 10+ tabs after finding the solution is like flushing the toilet, you don't even look back.6
-
You know what really grinds my gears?
You spending three hours googling for a solution to an issue, only to find a message board that has a 404 link to a solution, which was posted 10 years ago.5 -
I just had a brainfuck moment...
Why do I charge my phone via PC USB at work (slowly) when I actually have a power bar on my desk...2 -
*while drinking tea at cafe area*
me*thinking* : may be this is going to solve that error
yes
yess
yesssss
I got solution
but wait let's first drink this tea then I will try this solution
*came back on desk*
me*thinking* : -----------------------------------------------------------------------------------------
what was solution ? wtf?1 -
Me reading a forum after long hours of debugging and research...
YES THIS IS IT THIS IS MY FUCKING ISSUE!
* Me reading some answers I have tried already *
COME ON GIVE ME THE ANSWER
* Me reading the last answer *
"I was able to resolve the issue thanks for all the answers...
bye"
OP marked problem as solved
FOR FUCKS SAKE GIVE ME THE SOLUTION OF FUCK OFF6 -
devRant, got a code challenge for you.
Manager calls at 18:00...
Write an algorithm that gives the optimum result!
I'll go first with my O(1) solution:
Don't answer.
I'd be interested to see whoever can beat the big O of my solution!!!!!
#moreclownwellnessthirstythursdays19 -
A shitty solution isn't better than no solution, but a solution found when taking a shit... now that is always the right solution.2
-
- hold yourself accountable for your mistakes
- keep track your mistakes and learn from them
- put thought in what you do
- be organised
- become comfortable asking for and offering help
- realise that some problems have no universal solution
- don't just copy what others do, but also think for yourself
- learn to be patient2 -
Three days thinking of a solution to a problem in HackerRank...
Came up with a very elegant O(n+m) solution... failing several test cases...
Check here, there, over there. Everything seems flawless...
Re-read the problem statement letter by letter. There it is, I misread the requirement. FML8 -
They:Why didn't you come up with this solution 2 years ago?
Me: The framework on which the new solution is proposed DID NOT exist 2 years ago.
This industry is fun!3 -
These fucking nitwits who write on a non-stackoverflow site that they "solved it", without giving any clue whatsofuckingever about how they actually solved the problem, can all go take a shower in perchloric acid mixed with 2 days old hobo piss.1
-
Who's got time to be an imposter. 🤷♂️
I am out of my depth 90% of the time, always diving into areas that are foreign to me, you just need to enjoy the buzz of knowing you are coming out the other side more knowledgeable then you did going in.
But if you do get overwhelmed with this condition, step back, take a breather, and use that moment to think things through at the big picture level before moving forward again, sometimes the right solution is hard to think off when you're to focused and drowning your way through a bad one.4 -
When you're supposed to make a pcb for this SMD component, but when you etch you realize it's the wrong footprint.
Ended up soldering enamel wire tomthe chip.
hope it works4 -
There are 2 kinds of programmers.
people who searches Google and CAN find the solution.
people who searches Google and still CANNOT find the solution.4 -
!rant Scheduled Slack message from myself after hours to myself during work hours:
“Hey idiot,
The thing you need to do is [solution]. Trust me.
Sincerely,
Past you
PS: Drink some gd water.”
*followed by panicked double-checking I’d actually sent it to myself and not a coworker*2 -
Spent the last 4-5 hours trying to find a solution to a though problem, couldn't find a clue.
Guess what I found as soon as I slipped into bed?4 -
One word. WordPress.
Thankfully, we are now creating custom solution with any technologies we pick.5 -
Task:
Prevent users deleting items from the tokenInput.
Solution:
onDelete: function(item){
$("#token_input").tokenInput("add",item);
} -
Shit recruiters say:
"We need solution experts, not language experts, because a language is just a tool."
Well then, good luck with your spaghetti code solution.3 -
StackOverflow.
The solution to almost all your coding problems.
The solution to all my "coding" ego. 😂 -
function Life(crap):void
{
crap = Lemons;
Return crap;
}
function Solution(liquid)
{
liquid = Tequila;
Return liquid;
}
function whatYaGonnaDo():void
{
Life = null;
Liquid = null;
life (Life);
if (life="Lemons")
{
solution(liquid);
}
}
//sorry i was bored. (not sorry)4 -
Developer proposing a solution to architect-- Workaround😵
Architect asking a developer to use workaround-- Architect Solution 😎2 -
A swedish insurance company has two different solution for logging in to their system.
1. An advanced high security single sign on solution involving active directory, verification of the network the request came from etc etc.
2. Using a link and passing your credentials in the query string!!! Like: insurancecompany.com?username=admin&password=password.
Solution 2 works with admin accounts from anywhere.4 -
I was looking for a solution in some piece of code for half an hour but then I had to go. I took a photo of the code with my phone and then figured out the solution while I was on the bus :D5
-
Internet connnection gone.
Windows-help: Search online for a solution.
Thanks Microsoft for the good idea!1 -
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 -
New company issued desktop is running win7 *criiiiiinge*
Solution: run linux on VirtualBox!
Efficiency++
Productivity++2 -
Today i was trying to solve a problem on my graphs algorithm (find the shortest path) but i was not able to do almost anything, so i asked for help to a friend.
He started to try to help me, but after a long reasoning we both stopped to understand what we were doing.
After a while, i've decided to run the code totally random and... it worked! And that's not all, it worked better than we were trying to do!
What a lucky shot😎
(Sorry if there are some errors, english isn't my first language)3 -
If you give the client a choice of:
- Quick and dirty solution which results in tech debt
- Better solution that would be cheaper in long run
They will always choose the first without fail..2 -
The solution to missing esc key is to map it to caps lock, like we were ever using the caps lock......
Now cut the ranting, you have a solution8 -
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 -
Work is fun when every time I finish editing a project I have to wait 30 mins for it (solution) to compile :D2
-
Asking you to find the bug. You find it and the solution for it. You tell them your solution and tell what you found. AND THEY JUST WON'T BELIEVE YOU. Just find the friggin' bug yourselves faggots.2
-
When you spend more than 1 hour trying to find a solution to your code project and then the solution was way to simple to work and it works at first try 😨 (feeling stupid right now 😢)1
-
The development department got an order to remove certain functionality from our current server monitoring solution, so that we had to use a new, still very in development solution, that is full of bugs and super unreliable.
End result? We now have to have two windows open all the time, while also hoping the new solution actually works, as it tends to stop refreshing randomly, and tends to give false positives a lot. -
!rant
University assignment asks to create some encryption harder to break than Caesar Cypher. So I decided to go online and look for some tips on making a somewhat decent algorithm.
Universal answer: don't do it
😶
Well then, night off I guess 😎2 -
Time Wasted: 30 Minutes
Problem: Put the .add(myObject) statement OUTSIDE the for loop.
Solution: Today.Quit() || Coffee.Make();2 -
I genuinely just found solution to a dev problem in an xkcd comic.
I defy anyone to come up with a geekier solution to a problem than the Peter Carre map projection.1 -
"Good design is finding a solution to a problem. Great design is finding the simplest solution to the same problem." - Nicholas Petersen2
-
Customer give me a broken iPad. The screen was pink or green with a not wanted 3D effect. Solution? Just kick it on the back side where the the screen connector is. That’s a so funny solution 🤣
-
Typical development cycle:
Spend hours trying to think of a solution to a problem.
Get epiphany and implement possible solution.
Be afraid to compile it in case of bugs or errors4 -
Google for solution to complex problem:
- A quick intro into X
- Build a guestbook using X
- A Solution Architects summary of overview page of X
Thanks internet! most helpful. -
Everytime I face a new bug, my innerself tries to convince me that I can never find a solution to this.
But my gut feelings know that sooner or later I've always found a solution.
Thanks to all the devs sharing their problems in the internet. -
Worst thing happening to a developer can be when your manager tells you how to do you your job. Fucking tell me whats's the solution and i'll figure out a solution.1
-
Ran into a problem, that I recalled also having a few years ago. Couldn't recall how I fixed it, but remembered that I struggled finding a solution back then. Got a good forumhit on Google straight away this time, exact same problem. It had one reply, by the initial poster a few days later, saying he found the solution and posting how he fixed it. Great! Love that some people actually post the solution when they find it themselves! Tried registering to post a big "thank you!", but got an "email already registered"-error. Hmm... Were able to login, then realized that the poster was...me, 3 years ago! So I guess "thank me!", then...?
TL;DR:
I almost thanked myself on a 3 year old forum post I didn't realize I had posted myself... -
while (UniStudent == True)
{
*Spends Hours In Uni Lab
*Can't figure out Solution
*Return home To sleep
*Realsies solution as falling asleep
*Returns to Lab
}4 -
After a few days of debugging why sessions where getting lost in some versions of IE11 when all the other browsers where working just fine.
I found the solution in giving IE a potato.
Solution:
header ('P3P: CP='Potato')1 -
Reading the documentation instead of blindly guessing how it works until something that resembles the solution appears
-
I sometimes think back to that asshole on stackoverflow that said "op wants a solution like that" after I, the op, told him I don't like that solution.2
-
I often struggle with procrastination, finding myself getting lost in TikTok and YouTube shorts for hours on end or even staying in bed doing nothing, even when I have important deadlines to meet.
Have you attempted to overcome procrastination before? If so, what approaches have you found effective, and which have not worked for you?6 -
The solution for if you're at breakfast but suddenly need to solve a whole family of problems... :')2
-
A living fossil discovers modern software practices. Nice roasting in the answers:
https://workplace.stackexchange.com/...1 -
Phoning salespersons:
Me: "we need a new VoIP solution for our office."
Sales: "we're certified"
Me: "we need a new VoIP solution for our office."
Sales: "YOUR WHOLE IT INFRASTRUCTURE IS OUTDATED, UPGRADE ASAP!"
This is why I prefer mails so much over telephoning.2 -
Are you using an automated deployment solution for web development? If so, what would you recommend?6
-
Those coding competitions like adventofcode.com tho, where people actually solve the tasks in a minute or two, whereas I just finished reading the little story behind them.
I want to see their solutions!1 -
Ever had a colleague who nosed into what solution you brought to a problem and then stole your credit, telling the CEO how they found the solution and not you?
Yeah.2 -
Updating 4K rows in a table with 4M using Libreoffice Calc to generate the queries.
I know, it's not the best solution, but I'm afraid of the single query solution.
Please, forgive me.3 -
I need to shoot some QAs out of a cannon. Not being trained in artillery ballistics, this is a challenge. Does any kind soul have suggestions for correct charge quantities, caliber, and trajectory projections? Thanks in advance.6
-
Just a quick follow up. I told you guys after rebooting my server by accident, I'll color in the terminals for my ssh connections.
Normal terminal in white. With the code to do it. Just a shell script with the name ssh earlier in the path than the actual ssh. That was the only solution that didn't fuck my auto-completion. compdef was somehow useless. But it is simple.
For some reason I had to hardcode the return color to white. Alacritty was not happy with just a no-color code. But whatever. Super useful. I won't accidentally restart non-host computers now.
Planning on extending this to have different colors according to the host. Like my homelab could be green. Live servers would be red. Dev servers blue. But that's for the future.
Just wanted to share my little improvement that will make my computing saver.8 -
I changed my shirt and now it looks like we're evil rivals.
I remember him telling me he has the dilemma of "clean css solution" and "quick and dirty js solution" and he always takes the second one.
My dilemma is the other way around: "Clean js solution" or "hacky, dirty css solution". I always take the second one if possible..6 -
When your project is actually implemented in real world solving real problem with the solution you created
-
The solution to the Java-JavaScript problem:
Rename JS to something else, like WebScript or HypertextScript.6 -
Solution to make internet explorer faster?
.
.
.
.
.
.
.
.
.
.
Replace their developers with google chrome employees.8 -
How ofte are you guys absolutely sure that you've picked the right solution for a specific problem? As a novice programmer it bugs me to death that I sometimes don't know if I'm using a "best practice" solution4
-
"Good design is finding a solution to a problem. Great design is finding the simplest solution to the same problem." - Nicholas Petersen
-
Six months ago, I architected a solution that I thought was pretty darn good. Of course my boss didn't agree and basically twisted my arm until I agreed to go along with his approach. Today, he's walking back on it.. and telling us we can refactor the solution if it doesn't make sense anymore.. so back to my original solution?
If only he listened in the first place.. -
Exercise do the pyramid of * and I looked up how to do it but so many people are able to do it without looking it up I dont know why shit to do with nested for loops makes me feel so dumb.
I know it's not a big deal to not know how to do every single thing but I'm always even stuck on the smallest exercises that apparently more people can do than not. Like how am I supposed to have thought about that or figured that out. How am I supposed to learn all this shit. Like for example just look up a list of basic exercises and I cant do any of them. I'm not good at this and its stressing me out because how will I get better or hell even a job if I cant solve these simple problems? How am I supposed to get better at solving these simple problems? I cant just keep looking at the fucking solution because that wont stick or teach me anything
Most stupid thing to rant about by far4 -
Machine learning be like...
"You gotta solve this problem. These are possible things you can think of, but find your solution"
And the ML model surprises you with their solution.
Crap. Rewrite!
#wk74 -
1. Closed a solution.
2. Opened same solution, other branch.
3. "Get Latest" on the whole solution.
4. Build solution => Build errors (probably because some project needed be built before another).
5. Right-clicked a project => Build.
6. Nothing happened and VS2017 became completely unresponsive. Has been like that for like 10+ minutes now.
Nice? Nej, bajs.3 -
So yesterday night, I went to sleep thinking of this unfinished task. I did wake up with an awesome solution in my head, but now as I reached office, I forgot the fucking solution and how I arrived to that stage. fml
-
Because of cache split brain issue I have to invalidate cache every 5min. I've said to lead dev about this hack and we both agree to solve it asap.
This was 3 months ago...
Temporary fix becomes production solution. And it only took me 10min to add cron entry to every prod srv.
So productive!
Btw you should see users faces when page referesh changes page completely because of load balancing xD)1 -
Understand problem
Write solution
See it work on browser
Delete/comment solution
Write tests
See them fail
Restore solution
See it work on testing -
on an interview the interviewer said that there's a question on the test that seems simple but actually has a more sophisticated solution. and all i thought of and wrote was a simple solution. hmm1
-
Ok, for what I saw here, many issues with management can be solved the most bureaucratic, ass-covering way possible – get that in writing and mention it when resulting issues come afloat.1
-
Stuck on linux configuration problem. Looking for solution full day. And at last I found solution! Just needed to add -b option to my command.1
-
I'm about to release my first .net core API solution (that relies on multiple separate projects under the solution if that matters) with an SQL database. I've never released anything before and could use some advice.
I want to use a cloud solution like aws or azure - any guidance please? I'm trying to find as decent a solution as possible for free, or next to free, as right now it's just a first stage release with next to no features.
Thanks
PS it also uses Hangfire. I really don't know enough to know if that's a factor.7 -
Solution to issue at redhat.com: "Subscriber exclusive content. An active red hat subscription is required to participate" (and read the solution)
What the hell is this kind of bullshit?! Don't say that you have the solution if you won't share. -
the problem
https://cdn.discordapp.com/attachme...
the reasonable solution
https://i.imgur.com/tA3KG67.png
MY SOLUTION >:D
https://i.imgur.com/h0IHruK.png4 -
I'm thinking I know why the approximation graph of my ML goes sideways.
It can never reach the solution set completely because the solution set has decimal places to the 1x10^(-12)2 -
Search entire solution "Page"
789 possible matches
Search entire solution "Pages"
1 possible match
fml! -
Design patterns a solution to a problem, not a solution for the sake of a solution.
It comes from years of developers banging their head agains a problem and iterating a solution. It was not done person sitting down and thinking about rules for good (general) software development. -
(As if there were ever a solution…)
Windows has found a solution! Wipe away this shitty operating system and install a better one.
Did this help you solve your problem?4 -
is it possible to find a password/note manager that is also:
has a user and permission manager;
free/open source;
local (lan only, no cloud);
web based (local web server);
encrypted;
secure;
????8 -
Overestimating the solution, trying it, failing, underestimating it, errors, "this is impossible", quitting...😔
-
I do all this work to make an elegant solution to, frankly, a dumb requirement. And a newer dumber requirement comes out that requires someone to modify my solution. Normally not a problem. But this is a backend solution given to a frontend developer to modify. I told them how my solution works since it did 90% of what she needed. But instead, they reinvent the wheel and I have to fix it. I was supposed to be done with this 3 hours ago, but unraveling this knot is taking for fucking ever.2
-
That moment when "client developer" tell you how to do this and that but in fact you know that their solution is not a good solution. In the worst case scenario, they just don't take you justification.1
-
After trying to print colored text to the console using a portable Python 3 interpreter on Windows I came up with a "solution". I tried pretty much everything possible (I could think of): curses couldn't be loaded, ansi didn't work and installing libraries wasn't really an option, because it's not my device. Fuck portable interpreters and have fun with the "solution".
Def color_print(text, color):
text = text.replace("\n", "\\\" \\\"")
os.system ("powershell \"$host.ui.RawUi.ForegroundColor = \\\"" + color + "\\\"; echo \\\"" + test + "\\\"; $host.ui.RawUi.ForegroundColor = \\\"Gray\\\"")
It's slow, unreadable, only works for on Windows and requires powershell and is probably the worst piece of code I ever wrote, but it works 👍.2 -
Just wrote a small program for university to calculate the intersection of three lines (they should meet in one point). Well sometimes I had a issue so I just calculated all three points and took the points which are the same.
If it's stupid and works it ain't stupid2 -
Project has been in flight for months. Solution design complete. Last minute major scope change by management. And I'm about to start rewriting a high level solution design doc to reflect their sudden change now. Due first thing in the morning. Its almost 12:30am local time.
Kill me!1 -
Assumption. Screens are wider and wider, bigger and bigger.
Solution 1: Make more one-page layout sites like there is no space on sides.
Solution 2 support solution 1: Make everything 2-3 times bigger so there can't be space on sides.
Solution 3 support solution 2: If there is some free space, call it neccessary white space.
It's a trend i see around me. Sometimes i don't get it. More than 1 year i have no side menu in designes what i coded. -
Nhot vectors are fucking lifesavers.
For me it's the difference between searching a (2500*70)^n solution space, vs 64220*m solution space.1 -
When your business network monitoring tool is so ugly that it's disgusting to say it was a person who did it.
-
Help me DevRant people, can you suggest any style, technique, tips in making your own personal websites?8
-
You ever want to keep figuring out a nested loop solution so it executes beautifully, but a deadline forces you to use a cheap solution outside the loop (module import) instead?
-
I believe everything has a solution. It's just not visible at the time. So I just leave that part and go home ( or work on something else if I feel like it ). It never happened that some kind of solution didn't come to my mind when I'm thinking afresh.
-
Made to write an electron app as a make-shift solution to restart a service running on a raspberry pi that was deployed as a make-shift solution to another problem
-
In those learning days the universal solution to all systems issues -
'restart and see if that fixes' -
Redo the leetcode from yesterday
https://leetcode.com/problems/...
other people's answer: https://leetcode.com/problems/...-time-O(1)-space
I converted the java solution to javascript. -
Thought that it might be a good idea to ask this question here.
Im looking for a nice logging events service for a side project that is a b2b (so my clients got their own users). My targets are tracking users behavior/events/actions in the app while been able to shred the data that belongs to each customer. A great benefit would be having a solution that would allow me to export part of the data (in sql like way) so i could provide the users the option to download their users data as well.
Was thinking about mixpanel but i dont think they have any option to export the data via api. Heap analytics is also an interesting one, but their nice features are limited to corporates..
Any suggestions? Thanks!4 -
Started a new project for .NET core. Spent the last 2 hours creating a new solution and trying to "make a great solution structure this time"...
Ended up with the same project structure of my previous projects.
If it ain't broke, don't fix it I suppose. -
Drupal and composer - cannot install single package. Just composer errors which I cannot find solution for.
-
how does one solve what would likely qualify as a paradoxical situation ?
where the solution which is obvious is prevented and the only temporary solution is completely unaccepatble morally, spiritually, ethically, etc ? -
Fuck you shitty VPN solutions and fuck you customers who won't update their outdated cocksucking VPN solution.
-
AoC 8b teaches the importance of looking at your data to simplify your solution by simply not supporting inputs that are difficult and don't appear in your sample.
Man, fuck is this noise.
In other news, I caught up to AoC.1