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 - "no 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 -
Guy called in:
Guy: hello, i can't seem to login to the sql database, could you check if the ip whitelist went right? It's on the *names server* server.
Me: *checks if guy is calling from an authorized number* - nope.
Me: I'm sorry but you're not calling from an authorized number so I can't check that for you!
Guy: no you don't understand. I don't want any of this not-authorized bullshit, I just want a solution for this right now.
Me: and I just want you to call from an authorized number.
Yeah, I actually said that. He wasn't very happy 😅
I'm still employed by the way 🤣12 -
Meeting with client.
Me: our solution does not require a central server, any computer (windows, Mac or Linux) on which you install our software can act both as a client and a server
Client: no we need to have all our data on our server
Me: sure, you can install our software on any computer
Client: no, we need it on our server
Me: ok then, we can make the needed changes to install our software on your server, it will cost an additional fee though
Client: very good then17 -
1. Have some issue with my code which spits out cryptic compiler error.
2. Ask on stack overflow, Reddit, etc for a solution.
3. Get scolded at for "not reading the documentation" and "asking questions which could be answered by just Googling". Still no clue what I'm doing wrong, or what the solution would be.
4. Find someone else's vaguely related problem.
5. Post my problematic code as the answer, with arrogant comment about OP being a retard for not figuring that out for themselves.
6. A dozen angry toxic nerds flock in to tell me how retarded and wrong I am, correcting me... solving my original problem.
7. Evil plan succeeded, my code compiles, and as a bonus I made the internet a worse place in the process.
I think if you tell a bunch of autistic neckbeards that "all coronaviruses are fundamentally incurable", you'd have a vaccine within a week.15 -
PROBLEM: A tickets' company came to us last autumn. They said they have severe performance problems and asked us to help.
SOLUTION: covid and quarantines. All events have been ceased, noone's buying any tickets any more. Performance problems are no more. FIXED.
PROBLEM: Another company came to us recently. They said they have severe performance problems with their huge databases and asked us to help.
SOLUTION: a few days of heavy rain and their datacenter was flooded. along with the backup servers. No more data, no more performance problems with large databases. FIXED
Solving problems genie style!
Who's next?8 -
Boss: "If I double-click this button, the modal it opens flicker once for 0.00001 seconds?!?!?!?"
Me: "Ya... It opens two modals. It doesn't break anything, it looks normal except the flickering"
Boss: "It's no good!"
Me: "I've got a solution; don't fucking double click. It's a fucking website."
Boss: "IT'S NOT A WEBSITE. IT'S A SYSTEM"
Me: "It's a fucking website" *Exits room, trying not to strangle the boss".11 -
Me: I'm unable to connect through VPN
IT guy at my office: I'll format your system and reinstall OS
Me: heck no!! There should be other effective solution.
IT guy: Yes, I can take backup of your files and then reinstall OS.
Me: Just get out!! F*ckin ididot!!16 -
I am a programmer, and if you ask me to fix your pc, I accept the challenge... After all, I can Google a problem and implement a solution like no other, you are right to have come to me.5
-
No matter how many times I learn how to center a text vertically in a div, every time I have to spend half an hour just looking for a solution17
-
(Interview for sde-3 position)
(continuation of https://devrant.com/rants/2132431/... )
Interviewer - *opens laptop. Gives a question.* solve this.
Me - *a bit surprised that such questions were being asked on a sde-3 level*
this is the 4th or 5th question from geeksforgeeks, isn't it? I know the answer to this. Do u still want me to solve it?
Interviewer - *not believing me* Yes
Me - okay. Well this *writing down the original solution mentioned on the site* is the verbatim code mentioned on the website, with complexity O(n^2).
However I feel this is not the optimal solution. Let me write a better solution.
*I provide a better solution*
This has a complexity of O(n log n) . What do you think?
Interviewer - Nope. This could be a lot better.
Me - okay. Let me see. Did some minor changes, added some caching (obviously this will have no effect on the base algorithm) etc
How about now?
Interviewer - nope. Still not good.
Me - okay. Can you tell me how to improve it?
Interviewer - no we are not allowed to solve problems for you. It is not our interview, it is yours.
Me - that makes no sense. Interviews are a two way street. I'd very much like to know the optimal answer to this.
Interviewer - okay
*copies down the answer from geeksforgeeks*
This is good
Me - *at first I thought this was a prank or something. *
I just mentioned this answer here.
Then I spent the next 10 minutes providing a BETTER solution.
May I know how yours is better?
Interviewer - this solution has 2-3 loops. Yours has a function calling itself.
Me - that's called divide and conquer using recursion mf!
Anyways let's take an example and do a dry run.
Interviewer - okay
*we do dry run*
Interviewer - oh yes. Yours ran faster. But it will run fast only sometimes.
Me - yes. Each time the algorithm rolls a dice to decide if it should run fast or slow. You have one goddamn awesome weed dealer man.
I got to go. Thank you for meeting me.14 -
posted a question to StackOverflow this morning
three hours later I fix it myself and add my own answer with the solution
now they're both downvoted to -2 with no other comments. wtf SO?13 -
German gov contractor interview.
1 interview went fine, test project went fine, then they told me all looks good and they'll fly me in so I can meet HR in person.
Flew up to Germany and there are solution architects and project managers in the room questioning me about C++ although it was about a java position.
Then told me that I'm no fit for them as their java devs need to be rock solid in C++ to make communication between departments easier. What the...8 -
Public service announcement: Do not get married to your language, tools, or way of doing things. If there's an easier solution to something, try it before dismissing it. No language is perfect, and dumping everything on the responsibility of an API or framework can cause more headache then solve it.
Case in point: I love Java for backend programming, but node.js is a better solution to frontend programming then depending on JSP's and HTML within the same Java project. Less things go wrong and it's easier to debug issues.
There is no best programming language. Only best practices and using the right tool for the right job.
#exceptC++fuckthatlanguage
:^)15 -
Juniors nowadays are so lazy.
J: How to do X?
M: Did you try google this?
J: No I thought you will give me a solution
Thanks God there will be no competition for me in the future...18 -
Manager: We really need to save money with this project, so nobody call tech support for anything.
Me: There's this open-source solution that would work great.
Manager: Bad idea! There's no tech support number to call.
Me: ...4 -
Currently trying to write a dark theme solution for the security blog in pure JavaScript (no jquery).
This is way easier than I thought!108 -
* me listening to something while coding
* something goes wrong, trying to fix it..
Takes time and no solution.
- ok this is serious *put headphones down*4 -
Just found a stackoverflow thread that had no answer and 2 comments. Here are the comments:
Person 1: Did you find a solution for this?
Author: Yes, please email me [...@gmail.com].
Bruh, what's wrong with some people???? Writing nothing at all would be better then that7 -
No no no.
This newbie pings me for every thing !
It's fucking annoying !
And I'm annoyed with myself for still being nice !
I don't know if he's ever heard of searching for a solution online for even the most trivial problems !
He's not even aware of restarting something !
I have to tell him to do that !
He doesn't even read the help information for commands !
Why why why.22 -
Okay, just because I'm the only one under 35, single, and only white/hispanic guy on this team doesn't give you the right to interrupt me mid sentence IN my meeting. No disrespect to the developers from India and this may just be a culture conflict where I am outnumbered in my company but I don't understand the how some of these guys can't just be polite or respect others opinions(this is just from my experience with 90 or so developers from India and I don't believe in blanketing all Indians as this way just these 90 plus I do love the food).
Don't hijack MY meeting and then completely derail where I was going and disregard my solution without listening to the whole thing for an idea that isn't even solution but adds more work for both parties involved. You may have been working here for 5 years, but I worked in the actual department where we're building the new process and solution to a problem I've worked on. I understand the user since I WAS ONCE THAT USER for a good 8 months. And on top of that you can barely code efficient, or complex SQL statements. You're nothing more than fucking script kiddies and this whole IT department is joke. I apologize if the rant isn't really that coherent, I'm not very good at typing rants with my adrenaline running hot.14 -
Fucking hell, that's now the fourth time in a row that I see my clients getting ripped a second asshole by previous developers, this one charged 1500$ for a "python script" that only calls ffmpeg with couple args, claiming tons of shit like the video being e.g. better quality after conversion - even though all it does, is a straight convert from one format to another. (no filters, anything, just a convert) I feel always so terribly bad discovering that shit and them proudly telling me about the "solution" they invested in..4
-
People say programmers are no fun!! But they don't know the truth.
We have big Ass container of emotions almost ready to explode anytime. We are spending too much time in debugging stuff one after another that having a free time is just a hoax to us, even when we came back home for sleep, it's only to dream about solution. We would be happy with debugging the error that is not letting us sleep for weeks.4 -
Yesterday I installed the linux subsystem. Wrote some python code, but it never run no matter what. It was always the same sintax error. I got pretty desperate after finding no solution on google and decided to reinstall the linux subsystem, erasing everything I made.
Turns out the problem was that python pointed to python 2.7 instead of 3. I'm not a smart man.7 -
Real life job interview…
Manager: what about this problem? Could you solve it? (Showing me a problem about scanning a 2d array to find a value written on a piece of paper)
Me: sure! Just give me a piece of paper and I will write a solution.
Manager: no need for that. I don’t have the knowledge to check that anyway… if I wanted you to solve it I would have called one of my programmers.
…
Manager: do you have any question about the company?
Me: What do you exactly do in the company? I wonder what is the purpose of a person that makes questions about things he doesn’t know.3 -
Made up my mind to quit my new job yesterday. Im constantly bored. Either I have no work assigned no matter how much I ask for more, or I get handed work where the solution is already identified.
Obviously gonna find a new job first, wish me luck!8 -
Typical Tuesday morning. Got word that a client was having trouble viewing a mp4 video, thats being used as a background element on their website, on their iphone.
No biggie, I think to myself.
An hour in Im praying to the safari Gods and cursing the existence of iOs (or however the hell you spell it).
While debugging I realise the browser gives up on downloading the video 2 seconds in, the same way I gave up watching that Netflix Neath note abomination, two seconds in.
So i quickly write up an ajax script forcing the browser to download the file before displaying it...F.I.G.J.A.M
But hold up 'webkitURL' is deprecated. Please use 'URL' instead ..dafuq ?
Okay okay I got this just use a work around for that ..aaand done.
Should be working right? Wrong (-_-)
Half an hour later searching stackoverflow like its the gospel and judgement is upon me and I found the solution..I found the solution, simple stupid solution that would make you wanna facepalm so hard that your great grandkids would have marks on their face.
Declare the MIME type in the bloody source tag in the html ... shoot me now3 -
Current project has a ridiculously high amount of formal requirements
Two of them literally are
• the system shall have an “off” state
• the system shall be in the “off” state if no power is supplied
Boy do I have just the solution for you!24 -
Everyday single day I have to give time for family, personal work and office. Prioritized in that order.
End result : low quality family time, pending personal projects. Office work - well that one is OK I guess cos the time is dedicated.
Solution : made a deal with wife - one day on weekend dedicated for family (she can plan anything she wants) and I will not do any work. Other day dedicated for my personal work/time (no family plans).
Divide weekdays similarly. On family days I checkout at sharp 4pm from office and come home straight spend the rest of the day with family alone. On the other days I stay either at office or go somewhere to work or hangout with dev buddies.
*Wife agrees*
End result: Quality family time. No interruption when coding (a dev would understand the importance of this). More productive work.6 -
Team leader: hey why this bug is taking too much time? You could fix it hours ago let me try to fix it. I really fuckin hate juniors ...
*Hours later*
Me: could you fix it ?
Team leader: ....
*Couple of years later*
Me: ah i see it's not an easy but could you find any solution bro?
Team leader: no it's not a straight forward bug. You are right am sorry i shouldn't prejudge5 -
During my first-ever technical interview, the interviewer asked me "Do you know the FizzBuzz problem?"
"Uhh, not really." (I was just thinking ok this problem has a name, must be some algorithm problem)
"So the problem is basically to give you the numbers 1 to 100, if the number is divisible by 3, print 'Fizz', if divisible by 5, print 'Buzz', if divisible by 3 and 5, print 'FizzBuzz'. For other numbers just print out the number itself."
After hearing the problem, I felt so many ideas popping out of my stressed brain.
I thought for a bit and said "ok, so if the digit sum of a number is a multiple of 3, then the number is divisible by 3, and if the last digit is either 0 or 5, it's divisible by 5."
Then I started to code out my solution until the interviewer said "there's an easier solution. Can you think of it?"
This stressed me out even more.
I thought for a bit and said "well, starting from 3, keep a counter that records how many iterations are done after 3. When the counter hits 3, that number would be divisible by 3 for sure. Should I try this solution?"
The interviewer said "Sure." So I started again.
However, I struggled for about another 3min until I realized this solution is a lot harder to implement. The interviewer probably saw my struggle too.
This was the point where he stepped in and asked me "Ummmm there's an easy way of solving this. Have you heard of the MODULO OPERATOR?"
In sheer embarrassment, I finished the code in 30s.
Of course, there was no further question after this, and I felt the need to seriously reevaluate my intelligence afterwards.15 -
If you ever completely want to waste your goddamn time, call Keolis (company behind Arriva I think) with a question regarding their app. They'll be able to provide you with no fucking usable help/information at all and will gladly guide you through the login process twenty-motherfucking-billion times again and have no single solution as to why its not working.
As a bonus, they'll ask for your details so they can investigate and call you back a little later to take you through the exact goddamn process you just did two-hundred-trillion times before with the exact same completely fucking useless result.11 -
Good guy me. Had an issue and no helpful answers were provided on Stack Overflow. Found a solution, and posted my answer, even the question is 6 months old.4
-
Not specifically dev related other than being hired as a dev, more a corporate thing.
I have medical issues that mean I can be a bit variable in my starting time. Company was aware and floated flexible hours as a possible solution, but never said it *was* a solution, and just left it there really breezy.
Nailed this down with my line manager a couple weeks later after HR lost their shit, apologised and thought nothing of it.
Few days later I read a blog post about IP clauses in contracts that reminded me I intended to ask, as mine didn’t have one.
Asked HR, no response for like an hour, then “we’ll get back to you on that”
Following week, pulled into a sudden meeting. “Sorry for short notice of meeting, but we’re terminating your employment effective immediately for ‘lack of commitment’”.
Utter. Bullshit.
The day before, the company literally had a company day where they banged on about their values and how they wanted to support their employees and foster an environment for good health and good mental health.
No disciplinary proceedings. My line manager found out 5 minutes before I did.
I emailed a few colleagues afterwards and apologised, and they were stunned it had gone down the way it did.
I was so blindsided and angry in the meeting, especially after I believed I’d found a company that was actually different and cared.
And I did my work, I stayed late quite often, even produced a couple internal devops tools in my time there.
The kicker is that it was within the probation period, so I have literally no recourse for any action against them.
What’s the most bullshit corporate clusterfuck you’ve been through devRant?2 -
The moment when you find exactly your problem on Stackoverflow...
...just to realize its the same question you read about a year ago when you already had the problem but since it was minor and there was no solution so you ignored it up until now.
Followed by the feeling when you see that there was not even a comment added the whole year besides it was viewed 150 times.
Followed by the feeling when you find the solution all by yourself and finally write an answer to the question.
Just to realize that this was the only question from this guy on SO and his last login was two years ago. :-~
Well at least the annoying log message is gone and I learned something new.2 -
One day at a meeting I proposed a solution and explained it to everyone and everyone agreed to it. And then comes in this motherfucking Mr. shithole who starts talking about a piece of shit approach which had apparent drawbacks and everyone could see it but no one mentions. Why, becuase that bigger asshole is the boss of these smaller assholes. When I mention the drawbacks, all I get in return is, you are right but we think you should go this way. No fucking explanation why should I or any son of bitch should go that way. And every single one of those fuckers in the meeting suddenly became ok with his approach without any question or doubt. I mean WTF! What kind of developer you are if cant fucking express your views.10
-
"Hey, I've noticed that when I run this script, I get an error message. It says it has failed to do step x"
A: "Have you tried running it with sudo"
"Yeah, that works"
B: "NO WAY YOU SHOULD NEVER USE SUDO THAT'S A MAJOR SECURITY RISK, ARE YOU RETARDED RUNNING THINGS WITH SUDO IS EVIL"
"Do you have an alternative solution?"
*trjirp trjirp* 🦗🦗🦗6 -
Frequently used answers :)
UI developer - I think API is not working
Backend developer - Front end is not sending the request correctly
Tester - Testing! Testing!
UI/UX - As per android/ios standards...
QA - Let me check one more time
PM - Let us have another meeting and get on the same page
Dev-Ops - It's very complicated you know
CTO - We're working on a next-gen solution
Founder - Let us build something that no one has built, something similar to what google...facebook...
Cridits: My EX-CPO5 -
Google: hey website owner, use link rel preload for images loaded by CSS to reduce roundtrip delays. Chrome supports that, Safari also, and even Edge does.
Mozilla: we had some bug with preload back in FF 57 and our solution since has just been to disable preload per default. Done. Who would care about loading speed?
Also Mozilla: we have no idea why our market share has been plunging. Google is evil.8 -
After hours of debugging and trying to find a solution online I got frustrated and started working on a different module, thinking will come back to it later. Next day when I Google the errors I find a similar question in stack overflow which might have a solution. Feeling delighted I check the question but no answers. So I see the date and the user who posted it, found out it was my colleague who was also debugging the same problem.
-
Quote from Docker site: "anyone with Docker and an editor installed can build and debug the app in minutes"
Really? I'm two days in and still can't get this damn thing to work. And no solution in sight. Command line tools... sheesh.7 -
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 -
- 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 -
- Get invited to apply to job
- Technical interview, guy shows up late starts small talk wasting time and gives me the exercise
- Start implementing the first algorithm, finish it passing min test cases then realize there's a solution that would make both algorithms a breeze
- I pitch my solution realizing there's no much time left, cuz we lost almost 20 min of my test hour talking about BS plus the almost 10 min he arrived late, and reassure the interviewer it can be developed faster
- Interviewer says it doesn't matter, we should finish edge cases
- Kay no problem, finish the first algorithm successfully and explain pitfalls on the second part with the current implementation
- I tell him there's a better solution but he doesn't seem to care, he says time's up
Now here's the funny part.
I get called by the recruiter today (2 weeks later) and she says "They are happy with your soft skills but feel there are some gaps with your coding, they would like to repeat the technical interview because they didn't feel there was much time to assess the 'gaps' ".
Interviewers, either I'm competent enough to work for you or not, your tests must be designed to assess that, if you see you can't fit the problem you want in the time you have left change the problem, reschedule or here's an idea...LEAVE THE BS CHITCHAT TILL THE END AND START THE INTERVIEW ON TIME. When I do interviews I always try to have one complete free hour and a one algorithm exercise because I expect the candidate to solve it, analyze it and offer alternatives or explain it, I've never had someone finishing more than 2 an hour.
You can keep your job I'll keep my time. I'll write a similar problem on the comments to pass on the knowledge for people who enjoy solving these kinds of problems, can't give you the exact same thing, also tip guys don't do NDA's for interviewing it makes no fucking sense trust me no one cares about your fizz buzz intellectual property.13 -
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
-
had an issue where our clients payment gateway would duplicate the charge (at the gateway...not at the application) before sending it to the bank officially - the bank would detect the duplication then void both charges.
the gateway service admitted this was a bug, the bank it was tied to admitted it was a bug - but they wouldnt fix it. so my solution was to send a special uid with the original transaction (put it in a special field) and had the bank track that one as the "known good"
the funny thing? next version of the gateway api included this as a feature, but i got no credit.1 -
My current project is a fucking nightmare.
It started in 2007, using a solution developed by an Indian company due to outsourcing (aka low-quality code).
It's running on Java 7 on the back-end and its front-end side is pure Javascript files. There are thousands of little .js files everywhere, no documentation, no comments, differents coding styles, outdated API that were already outdated at the time, mixed oop and procedural.
Not even when I started coding, I wrote something so horrible.
Yo, it's a clusterfuck and I just wanna get drunk.5 -
Devs : Lets pick library X, it is well know piece of open source technology, actively maintained by community for over 10 years.
Architect : NAH, it is an overkill to use it in our project , lets build our own solution.
*2 Months later*
The code base is hundreds of thousands lines of code, we basically started to look at library X on GitHub to copy features or get inspiration from that code. In that time we delivered 0 business value, it is horrible to use it and we constantly adding something or bugfixing because no one thought about something in first place.1 -
Its my morning rant time... Me and my team are working on implementing our solution into 20 year old piece of shit POS system which:
1. Uses old piece of shit computers - which is slower than average calculator.
2. Uses .Net 2.0 - and no higher versions could be installed.
3. Has 20 year old documentation - outdated as fuck.
4. Throws unknown and non explainable COMExceptions.
5. Works slow as fuck.
And we have to deal with all its issues as 3rd side integration.. FUCK... FUCK.. FUCK....8 -
I really want to.
I want to get away from Windows.
But I have yet to find a distro that works.
Today I tried again again.
I found out Linux Mint released version 19.
Snapshots integrated. Cool. I will try it.
Installed with Cinnamon. Looks nice. Everything is running fast.
Aaaaand I hate the mouse movement...
Why is there no 1:1 movement? Is acceleration on? Does not feel like it.
Ok. We can fix this right?
Opened the Mouse settings.
There is no way of deactivating mouse acceleration. Only customizing the amount of acceleration. What?
Ok customize it. No change at all.
Try extreme settings. Nothing.
Google for a solution. Says I should install dconf-editor and change settings there.
Install it, change the settings. Hey it works!
It is far from perfect but I can live with that.
Now the scroll wheel is so slow...
But there is no setting at all? Not even in dconf-editor.
Google the solution. Need to install imwheel and configure it. Really?
Okay will do. I wanna use this.
Finally. Mouse works as it should.
After all that, why is my lap so hot? Fucking hell the cpu seems to be burning.
Fuck that!
I am out! Back to Windows!24 -
To all "StackOverflow is BAD" ranters - give link or don't post. And even before, please read
http://rtfm.cz/smart-questions.html...
Facebook/Instagram era taught people that it's easier to just ask question gazzylion of times before doing research / using search (even "site:stackoverflow.com" search)
I do rarely post on SO just because in 99% of cases I find solution when preparing my question during research or due to yellow duck effect.
When I got qualified to do reviews on questions I started to see how often they are so abroad or so primitive than 10min of duckduckgoing would solve it. But no, it's easier to use other people for you.5 -
My act of kindness today was posting the solution to an issue that an entire thread was having. No one could figure out why their code wasn't working properly. I stumbled upon it after hours of fiddling(I had the same issue) and now we can be at peace. Don't be that guy that doesn't share knowledge. Now I can go back to being selfish till tomorrow 😄2
-
A Visual Studio solution that had 62 (SIXTY TWO) projects for a webpage that was like 8 user forms total was like going to a shop to buy 3 items and receiving 15 tickets for that.
PMs saying no to refactoring due to not having enough time for a months. The first task took me 2 days just by fixing cyclic dependencies among the libraries. Went home and merged all the projects to just 3, building instantly in just two hours. Fuck idiot PMs that do not know how to code, buys shit and don't listen to devs. Fuck all idiots.4 -
So I finished my first semester in NYU as a CD master. During the first semester I took a class called heuristic problem solving. Every week a competitive game will be introduced to us, and will be played in two weeks. And trust me, the games aren't easy. I teamed up with another guy who I had no idea was and named our team as we don't know. At the end of the semester we won seven out of nine games, and by won I meant that we beat the whole class in the match. And my teammate became a really good friend.
By telling this story, I want to make a point. I love problem solving, and not problems in a algorithm book where you apply an algorithm and do some trick to solve it, but real world problem where you hope for the best and anticipate, predict your opponent's move. However, American's school system doesn't teach that.
When I applied to graduate school, no school wanted me because I have an average GPA of 3.6, and no outstanding achievements. I can solve problems in my dream becaus I have an active mind, I can propose solution to a project one month before my teammates realized they essentially were doing what I told them the solution should be. But so what, I can't write those on my application.
One of the professor told me that my professor shared the story of my team during a faculty dinner, and they were very impressed by our achievement. So I guess I'm not dumb. But after all, companies and schools will look at your transcript and decide who you are.
I love myself for having random thoughts all the time that can lead to innovative problem solving. But I also hate myself for not able to study like the good kids are.10 -
Needed to convert a collection of .avi videos to .mp4. Online converters only allow 1-2 videos at a time, with slow uploads, so no option.
Can't find a program that quickly fulfills my needs. Interesting ... 🤔
Look for python and a quick and dirty solution, ffmpeg and subprocess it shall be then.
Install ffmpeg, run subprocess with ffmpeg, put it inside a for loop, iterate over all videos with their respective number. Done.
3 lines of code, saved some time.
It's great to be a developer (sometimes).😏16 -
long time ago....
Feature request: We want an android backup solution in Our app!
UI guy has already developed it, you just need to see if his solution is solid!
Ok then - lets look at the UI: Nice progress bars, that turn into green checkmarks. Looks good.
Now lets look at the code: ... Ok. loading some files into memory.... and... dafuq? does not write to a file?
Backup to RAM. With no restore. 🤦♂️.3 -
No documentation. Thousands of lines of code. Still learn enough about the solution to make a required change in a day. Now the company feels like I should be the one to lead training for the module, and I still don't know what the other half of the code does. T-minus two hours...2
-
I had a project where I completely suprised the client and the company within the beginning. It was silky smooth, working on multiplatform ios android,standalone. I wrote the most complex shader I ever made. Everything was great and I even got a bonus for the project.
Then one day. Videos started to stutter. Not playing, completely black on some cases and some devices.
I started to think about reasons. I tried every solution I come up with. No success.
Updated all the codecs, middleware still nothing. Tried to solve the problem for a week. It was a total diaaster and I even thought I a dont deserve to be a developer.
We encoded the videos a few times. Decided to export the original video again, boom! It worked. Theres no particular reason why it worked. But it worked. I guess I am a good developer. Not the best but, eh. -
Struggling to earn money to pay for medical bills for my dad at a private hospital because he's having some problems with bile in his stomach. He pukes after eating almost anything so he has to eat some dry bread and drink tea. The only solution for this is surgery. He made appointment for august which is the earliest date... I have to find a way to earn money asap so he can go privately Now without waiting...
No i cant use gofundme because its not available for my bullshit 3rd world country just like most services16 -
Working on my Google Foo Bar level 4 challenge.
9 days past figuring out how to solve this problem..
And finally reached on a working solution. When started compiling my solution.
And then i Find out, the fucking Google tool is facing some bug and not allowing compilation. Tried hard to do everything but still getting errors...
And after searching on Google just found I'm fucked up.. It's on Google's end and they are not fixing it since so many days..
Just 5 days left to complete.. And i have no idea what should i do...
4 month work just fucked up9 -
When you try learn a new programming language and think it will take 40 mins and you cannot install any packages and spend 4 hours googling the errors with no solution... So you admit it's not meant to be, and try another one6
-
The British summer results in restless nights and broken sleep filled with nightmares.
One particular dream last night involved my friends messing around with a ouija board and they begin asking in questions. I remain sceptical and tell them to ask it to reveal the solution to the issues I'm having retrofitting a legacy web app with a new design.
The board disconnected itself. Hell had no answer. -
!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 -
Every time I tell a more senior dev I need help, they tell me to try the obvious things, I tell them I tried those things already, and they think I must have just done it wrong. So they spend an hour explaining to me how to do something I literally just did, and then more time trying the exact same things I just tried. Nobody wins.
Except for me when I find the correct solution while they’re re-implementing the failed solutions because nobody trusted me.
Sadly, this happens all the time. “Did you try a and b?” “Yeah, no luck.” “Okay, so when you try a, you have to remember to call c and d. Let me explain...”
So much wasted time. But the silver lining is in getting to be the one who found the solution (until they wonder ‘why’d she even come to me anyway if she knew the answer?’ ... 🙄) Because I trusted you to know what “team” means, and it’s not too late to learn ¯\_(ツ)_/¯5 -
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 -
Oculus (Meta/Facebook) support be like:
- Hello, I have an issue. Tracking has stopped working after one of the updates
- <silence>
- Hello, I'm another fellow who has this problem
- Hello, here,s a link where a bunch of people are complaining about the same
- Hi, I am from the Oculus side. We will check it and let you know
** marks ↑↑ comment as SOLUTION **
Case closed! Good job everybody.
https://communityforums.atmeta.com/...2 -
A half answer on SO gives me a pointer to a possible solution. Using that pointer, I actually find an answer and it's quite involved. So to help others with the same question, I edit the answer to complete it with the additional steps. No edits to the answer involved, just a few additional steps.
😡 The answer author comments that they appreciate the info, but they reject my edit so their answer isn't changed!
What a douchebag.2 -
Product Manager: We’re assigning you to the Guest Checkout project.
I look at the Guest Checkout epic in JIRA and see it only includes frontend scope. Nothing about backend implementation.
I also find an older ticket about guest checkout. It was written by the former Product Manager. It explicitly says our admin switch for guest checkout no longer works because rebuilt checkout to use react. Why does no one bother to check the backlog??? I found this just by searching “guest checkout.”
Me: Um, our website doesn’t support guest checkout.
PM: What?! But the admin has a guest checkout option that can be turned on and off.
Me: Those admin options only apply if you’re still using the out-of-the-box solution for the e-commerce platform. Remember how we rebuilt checkout using React? We didn’t build it to support guest checkout. That admin switch doesn’t work anymore. We can ask a backend dev to confirm.
I check the code. The code that relates to the admin switch for guest checkout no longer exists. It’s a dead switch.
BE Dev: We made a lot of customizations since we purchased the e-commerce solution. So yeah, that guest checkout switch doesn’t work.
PM: [to me] …Our BE devs are busy with other projects. Can you do the backend for guest checkout?
😳
Me: You realize I’m just a frontend dev with only some backend knowledge, right? I’m not even close to fullstack. And you want me to architect an entire guest checkout flow? That will work with our current checkout experience? And that is HIPPA compliant? On top of doing the frontend?devrant who planned this project i don’t get paid enough for this frontend problems that aren’t frontend5 -
That moment you've been dreading for a week, when you've exhausted every single resource you can in finding a solution and you've put it off way longer than you ever should have.
When you might have to ask on ...StackOverflow...
So you spend an hour agonizing over your post. You double check your google searches in case there is some info out there that you may have missed. You include code samples. You check your spelling and grammar and you any 'fluff' from your post.
Finally you hit submit and watch as nobody responds, but the downvotes just keep piling up... and damnit you have no idea why.5 -
My designer just had an user interview where the user is a developer and my designer showed him the mock-ups of a no code tool that we are building, asking the dev for his input.
She literally had a session with a guy announcing him that we are building a tool that will put him out of work and moreover asked him for inputs so that we miss no use case.
And in another story, one of my dev lead decided to decommission an entire feature and replace it will a hacky solution because the devs in her team were not comfortable using the current design in their development stage. Hence, without user research, any strong use case, or considering business implications, she went ahead and drafted the entire approach on how to fuck everyone.
I am out of my honeymoon phase at my new org and I am scared. Shit scared.16 -
Made an Android app a while ago. I needed some pet project so I decided to go with Java for Android. First time, no experience at all.
So everything went ok, I had a little help from a colleague, structuring code, and pushing to the store. Work done app was doing ok.
A year later I came back to this project. I needed to fix a bug - date time and daylight savings crap. 😥
Spent a week on it. Ready to push a new version to the store, with some extra features! Build apk. All good.
Wait. I need to sign the APK? Wtf. I had to format my hard drive. How do I recover my fucking certificate?
*Google's for a while*
No fucking way. I can't restore the certificate. Or get the keystore back. The solution is to create a new app with a brand new package name?
Thanks for nothing, I'm done with Android development.9 -
The 'i am a total noob' feeling is real fiah like a mix tape right now. last week on a personal project i had the problem of placing a div within a div and the buttons not being clickable. i fixed it by fixing the positions of the elements. today the same thing but will a scrolling div and f*ck me right i just had to forget the solution. now i have been stuck for hours trying to figure out the right way and fooling around with no solution. learn your fundamentals.4
-
Dev: The server is completely down right now. Nobody can access the application, we need to divert some resources to horizontally scaling our app.
Manager: Hm, this was not in the schedule. I need to consult senior leadership on what to do about this. I don’t want to be held accountable for making a decision on this complex and highly nuanced situation.
Dev: No need, I have a solution. Just need a week to build/test/deploy the ability to horizontally scale.
Manager: But that will cause delays to new features.
Dev: New features don’t matter if the app can’t even load.
Manager: Ok you can implement your solution but it can’t take any time. I need those new features out.
Dev: ???????5 -
So I am helping coworker with debugging a weather forecast feature on a digital display solution we sell to hundreds of companies.
He says he just doesn't know why but the forecast data isn't correct.
I open up file where forecast data is stored and the data hasn't been updated in 6 months.
Thats when he realizes no one has paid the forecast service provider in 6 months...
And this guy is supposed to be senior to me?1 -
My new co-worker is extremely stressing. I have to give small tasks so he won't forget to do anything. I also have to explain what he has to do in detail, give him the full solution, and show him exactly how he has to do it.
And he has no idea how to use git. He makes a feature branch and pushes all his various, half-finished features into it and makes a pull request.
And then I still have to refactor his crappy code everytime cause he uses variables like $data, $accA, $accB, $accZ and forgets to use the definied color variables in sass.
I literally have to do my work and his as well -_-6 -
https://github.com/serde-rs/serde/...
Shit like this makes me wonder, wtf is going on in some developers heads.
TL;DR: serde devs sneakily forced precompiled libraries onto all of the users of the library using serde_derive without an obvious way to verify, what's in this binary and no obvious way to opt out, essentially causing all sorts of havoc.
The last thing i want in a fucking Serialization library (especially the most popular one) is to not being able to verify if something shady is going on or not. All in the name of compilation speed.
Yeah compilation speed my ass.
The worst thing of it all is, even if i decide to drop serde as a direct dependency, it will still download the binary and potentially use it, because of transient dependencies. But i guess, i will try to disable serde wherever possible and implement my own solution for that. Thanks but no thanks.
This is so fucking stupid, it's unbelievable.21 -
So our main web server got ransomware'd.
By some miracle only a shared directory was compromised and not the whole server.
The server is on an end-of-life OS (Win Server 2008r2), no antivirus solution, no WAF, no log hardening or aggregation, so basically our Security MSP told us "lol good luck finding the attack origin, nuke it and rebuild it correctly this time"
Thing is IT leadership is like "Eh, no harm done, everything is fine" and want to sweep it under the rug and not report it to senior management.
How do i go about convincing them that this is actually important and for once in their life, they should give a fuck ? (This web server is the main moneymaker, it goes tits up and heads are gonna roll).9 -
Spent 5 hours working on a solution for a hash difficulty comparison/scaling algorithm. after a bunch of different iterations and approaches, I find that my problem can be solved by the attached equation. Its such a simple answer but no way in hell would you be able to discern the amount of time and brainpower that was put into it. The git commit is literally 10 lines of code total, but I guess its not about the amount of code, but the time spent thinking about it thay counts?6
-
Me: We have a style problem.
SM: No problem! I can solve it with JavaScript. I just need to manage the DOM in the Angular Controller :D
Me: Really? I found the solution with just 1 CSS line. -
Rant much...
I just started working on project after a group of students.
The project has various of bugs (ofcourse) and not catched exceptions.
I found variables like 'abcd' or shorts of classes like 'rrms'.
I would be fine with all of that but there is one thing is just making me crazy:
THERE IS NO SINGLE FUCKING COMMENT IN WHOLE SOLUTION (three projects and about few hundred files with javascript and cs).
Imagine freaking pure react (no jsx) full of null arguments and multiple custom control written like 'var gl= GreenLabelled(null,null,text,5)' (a button ) with again, NO FUNCKING SINGLE COMMENT.
I just cannot stand it. Just spent 3hrs to wrapp my head around events in this react classes...10 -
Why can't managers understand that functionality changes and UX changes should be two separate epics? There's a huge fucking difference between composing an UI from existing components vs. having to figure out new components while at the same time paying attention to 12234234 new scenarios while at the same time duplicating existing components because existing portion of the app has to keep old UX.
And then they say bullshit like "we need solutions, not problems". Fuck you. Solution is to keep existing UX and focus on functionality, and do complex UX changes when functionality is well-defined and STABLE. But no, you fuckers won't listen even when the fucking lead dev tells you to.2 -
Ubuntu: Lulz your trackpad drivers don't work and there's no solution other than compiling them yourself or something it might not even work because it's for a different model but just hope and pray ok? also your wifi obviously fucking won't work. What, are you retarded?
Manjaro: Ye I gotchu. Mouse works outta the box. WiFi too10 -
I once single-handedly developed an entire drag-and-drop ui for creation, provisioning and control of virtual datacenters and all its infrastructure. Other people developed backend and database and the whole project took about 10 months, but about three weeks before we had a working, stable release the company decided to cancel an entire project.
We thoroughly researched the market, and at that time there was no better such solution. We would have made something extraordinary.
Especially because it worked with VMWare. -
I don't understand how people can write code, but be completely inept at developing software.
Take a zoom feature:
SOLUTION 0:
- Use 2 buttons
- Use 2 button listeners
- Use 2 float variables (for each button).
- Don't log anything.
- Use 3 crazy, hardcoded, constant, int literals like 66, 30...
- both buttons manipulate the same text field.
- no logging.
- Both listeners use if/else to check if the variable is within a range -- one if/else for each listener.
- Use crazy method calls to get text size.
SOLUTION 1:
- Use a slider.
- Use a single listener.
- No variables needed.
- Use a linear equation for zooming.
- has logging.8 -
I learnt something from every single project I made, but this one... it was really different, new language, new library, new hardware.
Problem:
there's an infopoint in a place, that was really hard to use (ball mouse over a monitor)
Solution:
make the screen be touch.
Developing the solution:
- after a bit of research I find out there's a library/project called OpenCV
- there are example programs that detect hands written in C++ (which I know) and Python (which I don't know)
- the whole infopoint works on a raspberry PI, with raspbian (I'm not new to linux, but it's somehow different, plus tons of customization)
So I spend like 3 weeks trying to understand how to make it work, at first, the webcam was on the TV and you could move the mouse just by shaking your hand, but it didn't work too well, so we tried making the webcam look at the screen and then calculate the differences between "no-hands" and "user-hand", but should have been calibrated, wasn't too precise... dropped solution.
put the webcam 30cm above the screen, let it just analyse a few centimeters of sight from the screen and it worked flawlessly, BUT it could just recognise the horizontal axis => had to rework the infopoint UI to make it dumb-easy
It all finally worked, I learnt python, openCV, a bit of photography
Then hated it all and decided to never do that again -
I didn’t turn down a dev freelance project when the client decided against going with best practices because the solution I offered was a well-established design pattern but created a need for a financial management change she didn’t like. I stupidly built what she asked for. It worked fine in the 3rd party vendor test environment but failed on production. After hours of analysis of code to ensure no changes happened to my source during test->prod deployment, and the vendor denying they had config differences between them, and the client refusing to pay, all I could do was abandon the project.2
-
Aaaah. I ask one fucking question on askubuntu. One dude marks it as duplicate, I explain in multiple comments it has no relation. Still fucking creates an answer with some solution with clearly doesn't work. If he had EYES he could see my configuration is already there and with his one brain cell conclude that it has nothing to do with it for fuck sake.8
-
I thought living alone without my family will help me to be more productive but no! When I got out of the office and start walking towards my home, I feel like there is no one waiting for me. What am I doing? When I reach, I feel empty, all alone, by myself. Maybe, it's time to marry someone, maybe a girlfriend? But I don't have any courage to start a conversation with a woman. I just expect someone will talk to me out of interest. But none! Is marrying someone the only solution? having a family is the ultimate peace? IDK14
-
Usually I'd go grab a smoke and coffee and think up a solution while smoking.
I quit smoking 2 weeks ago, no idea how to fix it now. -
Few days before vacations ...
PM : "Project must absolutly be finished before your 3 weeks vacations."
ME : "We have to clarify the technical solution with the architect and the analyst before I can write the code."
PM : "No. Just do it and make sure you transfer the knowledge, it's urgent for the business."
... 3 weeks later, back from my vacations ...
Total of 0 commit(s) to repo... -
I am building my own server right now, problem was that the case was too small for the Mainboard to fit.
Solution: drilling the fucking case apart
(PS: sorry for no cocktail rant, but soon)8 -
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 -
I think God is a developer. I have to say a most impressive feat, even for God, is the idiot algorithm. It has persisted through millennia of attempts to remove it, but it just keeps refining itself. While it's incredibly brief, its functions are yet to find an environment in which they cannot operate. It's full adaptable to any task, impressively modular, and self replicating.
No matter how what problem you present it with the idiot algorithm can always find a solution. It never leaves well enough alone. It can even give you an answer before everything is fully processed!4 -
MSbuild makes me want to blow my brains out.
I know it's no longer used in .NET Core and all the lucky people that don't have to deal with .NET Framework can happily move on.
But here I am, a complete idiot. Expecting MSBuild to build the exact same way from the CLI as it does if I run a build in Visual Studio. Expecting the build server to consistently produce the same result as if I built my solution locally.
Demanding meaningful earnings and error messages that don't leave me completely perplexed as to what's actually going on in the compiler.
Fuck me and fuck .NET Framework. Thank you for coming to my TED talk.8 -
I explained last week in great detail to a new team member of a dev team (yeah hire or fire part 2) why it is an extremely bad idea to do proactive error handling somewhere down in the stack...
Example
Controller -> Business/Application Logic -> Infrastructure Layer
(shortened)
Now in the infrastructure layer we have a cache that caches an http rest call to another service.
One should not implement retry or some other proactive error handling down in the cache / infra stack, instead propagate the error to the upper layer(s) like application / business logic.
Let them decide what's the course of action, so ...
1) no error is swallowed
2) no unintended side effects like latency spikes / hickups due to retries or similar techniques happens
3) one can actually understand what the services do - behaviour should either be configured explicitly or passed down as a programmed choice from the upper layer... Not randomly implemented in some services.
The explanation was long and I thought ... Well let's call the recruit like the Gremlin he is... Gizmo got the message.
Today Gizmo presented a new solution.
The solution was to log and swallow all exceptions and just return null everywhere.
Yay... Gizmo. You won the Oscar for bad choices TM.
Thx for not asking whether that brain fart made any sense and wasting 5 days with implementing the worst of it all.6 -
Adventures with house IT
I'm currently experimenting with PowerShell but my scripts won't run even though I've got every local permission. The error message indicates it's a GPO problem.
"No problem" le me thinks and calls IT hotline.
After 2 incompetent and unprofessional technicians i've still got no solution. I'm waiting for the second tech to call back because he "needed some time to get to know PowerShell" (he is a trained and certified SysAdmin).
During my call he couldn't decide if it was a GPO problem or not.
And this is just one story of their incompetence...8 -
anytime anyone asks me to write a solution to fizzbuzz - i do it in brainfuck because even if i screw up...no one knows. :P
++++++++++[>++++++++++<-]>>++++++++++>->>>>>>>>>>>>>>>>-->+++++++[->++
++++++++<]>[->+>+>+>+<<<<]+++>>+++>>>++++++++[-<++++<++++<++++>>>]++++
+[-<++++<++++>>]>>-->++++++[->+++++++++++<]>[->+>+>+>+<<<<]+++++>>+>++
++++>++++++>++++++++[-<++++<++++<++++>>>]++++++[-<+++<+++<+++>>>]>>-->
---+[-<+]-<[+[->+]-<<->>>+>[-]++[-->++]-->+++[---++[--<++]---->>-<+>[+
+++[----<++++]--[>]++[-->++]--<]>++[--+[-<+]->>[-]+++++[---->++++]-->[
->+<]>>[.>]++[-->++]]-->+++]---+[-<+]->>-[+>>>+[-<+]->>>++++++++++<<[-
>+>-[>+>>]>[+[-<+>]>+>>]<<<<<<]>>[-]>>>++++++++++<[->-[>+>>]>[+[-<+>]>
+>>]<<<<<]>[-]>>[>++++++[-<++++++++>]<.<<+>+>[-]]<[<[->-<]++++++[->+++
+++++<]>.[-]]<<++++++[-<++++++++>]<.[-]<<[-<+>]+[-<+]->>]+[-]<<<.>>>+[
-<+]-<<] -
Gave a recommendation to the boss to do a thing. He said “Go and do the thing.” I wanted to do a proof of concept but there was no time. We got the contract. I tried to do the thing. It didn’t work. It WON’T work because the vendor’s marketing far overpromises what the product can do. No way to back down because the client is already fully invested in the solution. I want to quit my job AND my career now because I apparently suck at all of it.1
-
its been there since many years, but:
When did we turned the wrong way and made it acceptable that Windows can blantly say in my face that i cannot deactivate the transmission of data unless i have the "Business" Variant of their Software. Its called Windows 10 PROFESSIONAL. Why are there no international Laws against that? Where was the molotov throwing mob when this became the norm?
Additonally. that cute telemetry service consumes a considerable amount of cpu and disk power from time to time.
and no, Linux is not an alternative. It never was. There is proprietary software and driver sets used for lab equipment and machines that cannot run under linux, noone will ever have the time to tool something for it and the user base is too specific to hope for any community solution.
sidenote: even Level 0 STILL transmits data. I want mode -14 -
I've never liked Quora, but today I decided to sign up because I had an interesting question to ask, about my solution for an angular problem and why it could not be applicable.
Five minutes later 6 people followed my post.
Ten minutes later my question disappeared and nobody knows where the hell it went. WTF? My question count passed from 1 to 0, it disappeared from my profile and from the whole website. No notifies, no emails about it. What the hell happened?12 -
I really lost my faith in our profession.
A Software&Hardware solution that costs more several 10.000€ is broken after every update.
The Producer even achieves to break untouched features in new releases.
No communication at all. If you report Bugs, they are your fault. The whole system has absolutely no security at all.
It is unsecure by design.
And even if they hear your Bug report you have to pray that they will fix it.
Most if the time you have to wait the whole year for a new release tio get your bugfixes.
But there are also bugs that are untouched for years.
WHY? WE PAY YOU!
I want to cry4 -
I had some fun with ChatGPT today. I wondered how good its problem solving skills are. Turns out, it's no better than an entry/junior dev armed with all the docs out there - it knows what's written there, how to use the thing (language/framework/tool/etc.), but it has no "understanding" neither of the problem nor the tool, in a holistic way. It's got the knowledge, but it neither has the skill nor understanding of how/why to use it to solve a problem (any problem beyond plain simple complexity).
So the problem I asked it to solve was related to this one I had: https://devrant.com/rants/6312527 .
It was painful to troubleshoot this problem with ChatGPT. It kept on focusing on this particular problem and reacting to errors while trying to fix its initial solution. It took us a good while. Eventually, it reached a working solution, but it was an ugly, convoluted approach that was not feasible to cover my use case with.
FWIW I think it is interesting to follow its line of thought. Eventually, a pattern emerges of how it tries to solve the problem. And it reminds me a lot of myself on the first week in the IT field :)6 -
INTERVIEWER: Let’s say client wants a gif in the EDM design but older outlooks don’t support it. How do you solve it?
ME: Maybe we can try using iframes if outlook supports them and host gif somewhere and use iframes to show it.
INTERVIEWER: Any other solution?
ME: We can probably also detect the email client and just show gif for all other email clients but a picture for outlook.
INTERVIEWER: No but the client wants the gif to show on all email clients
ME: But outlook doesn’t support gifs!!!
INTERVIEWER: yeah
ME: …..
INTERVIEWER: …..
I thought maybe I missed something having been a junior dev and never developing edms. So jumped on the internet after the interview and my second answer is literally how everyone does it. What even was the point of that question? At no point she said yeah that’s a good solution and that’s how we do it in the industry. If outlook doesn’t fucking support gifs then what the fuck kind of solution am I supposed to bring to the fucking table in 5 fucking minutes.7 -
When you got hired
HR: please come to us if there's any problems related work so that we can give a solution.
After years of working you send a mail with you problems, it's been months. Still no reply! And try to avoid conversation regarding that problem.2 -
There is a commercially sold ERP solution that has it's DB schema in excel and Other documentations in MS Word. And its not even properly structured, no schema diagrams, last updated for a 4 year old major release 😒😫.
I have to develop a custom module for it and that requires building an ActivexDLL Project in VB fucking 6 😭😭 .
VB6
Unstructured Documentation
Legacy code
Incomplete documentation
FML
Tell me if you want ss in comments.5 -
Architect: I know we said we would never do The Thing because doing The Thing is really bad, but can we do The Thing for a proof of concept?
Me: How about Fuck No! Unless you are proposing a solution to fix The Thing, we are NOT doing The Thing just to satisfy some perverse curiosity you may be harboring.4 -
So I'm writing this code, that does 2 important things, that cannot be seperated. I run the code, thing1 is correctly executed, thing2 not. No fucking idea, why this happens. Execute again, same result. Debugg the wohle thing, now everything works fine.
WHAT?
I check the code, there are no background tasks, no paralell processing, nothing that should go wrong.
Asking a Senior developer for help, he also has no fucking idea. He tells me to try to wait one second between the two things. Looking for a delay() or wait() function in my programming language but there is none. Ok, building my own delay, writing a "do 1000 times" loop, calculate some shit in it. Execute the code, it works perfectly.
Nobody has a fucking idea, why this is happening and why this solution is working, but now the code is productive and it works fine.9 -
Just because you have no idea what you are doing does not make you an artist.
So can we please treat software development as engineering?
I get that in software there are a lot of unknowns and you won't always find best practices, especially if you want to be a pioneer on the bleeding edge.
Yet maybe that issue you were trying to solve with your hackish -- I mean artfully -- solution is a lack of understanding of the basic technology?
If you want to do art, try poetry.3 -
You know what I hate more than bugs/shitty docs/no VCS?
Recoding the whole damn thing in another language, from ground up to do exactly the same shit. Why WHY must developers shit hundreds of solutions into space only to say "Huh, look at my software, it was I who developed it." No, you simply recoded it and wasted your time and everyone else's time searching for a solution.1 -
My JS app can crash IE11. Totally reproducable.
Had a fun debugging session to find out how this is triggered. Happens inside a deeply recursive call in a library I'm using which redraws the DOM.
Found a hacky workaround to avoid that as I see no real solution. It's not like I'm responsible for fixing IE. These are the days where I'm happy I'm mainly a backend dev...4 -
I worked with this hack of a backend dev that was too lazy to add a complex(ish) object to our CMS tool. His solution?
One giant-ass text box with the label "put JSON here".
If tech people were using it I wouldn't mind, but our poor content managers have no idea what json is. Plus like... no examples, no schema... they would have to change shit then go look at the website to see if it worked. Fucking asshole.
Plus.. I mean SHIT, MAN! This was in a Node.js tool... if you have the Json parser you could just GENERATE the respective form fields. DO YOUR JOB2 -
Worst Hackathon Experience ever!
Had been to SAP for a hackathon last year. Built a complete solution for our challenge. Due to no sleep and 48 hours of non stop coding, my team mate who was supposed to present our solution screwed it up in the last minute. Now we blame ourselves for losing because of our bad presentation. -
!rant ?
So I had 2 Stack Overflow questions open about Rails / Webpack data communication, plus one issue open on Webpacker's github for 3 days, desperatly looking for an answer or an idea. No answers.
Today I talked a bit with my flatmate about my problem, dude gives me a perfect, easy to implant solution, and life seems to be bright again. Thank you Alex 😥.2 -
Been bughunting the last week or so on this import job that is suddenly running so slowly that it takes more than 24h and is restarting on top of itself.
It used to run in anywhere from 4 to 8 hours, which was bad enough. You see, it ran on timer scheduled by our main site. So our deployment window was determined by when this job finished, and if it didn't finish during work hours, then no deployment that day.
So we got the idea to move it to a separate service to eliminate that deployment window bottleneck. And now, seemingly unrelated, it is just running slow as shit.
There is a lot of bad design in the code, and we know we want to build a completely new solution. But we also absolutely need this import to run every day until a better solution can take over.
We've taken care of some of the most obvious problems that could cause the poor performance, but it's unclear whether it's going to be enough. And with a runtime of about a day and wild variations of the most atomic partial imports, it's extremely tedious to test as well...3 -
!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 -
how to php, an infographic by Bind (that me)
0) assert your goal, in this example let it be sending an email from the server
1) search for implemented methods
2) all you can find is either outdated or not helping at all
3) think of solution in any other language (eg c# or node)
4) implement 3)
5) iterate until you have something that works but you have no idea why
6) after 1 week, realize that there is a built in method, but its called userData_registration_sEnder0(adress, header, egg, pinNumbe_r, message)
7) cry5 -
Generally devs who are too arrogant to accept help or constructive criticism. There’s this data visualisation library that missed a specific feature that psychologists use quite frequently, so I added it myself and opened a PR. The maintainer closed it because people should use whatever he’d already implemented. It’s like not giving someone the option to listen to disco because rock music is better. Yeah, cool story bro. Now all my visualisation projects depend on my fork instead. Same with the now abandoned Material Design Library devs. They didn’t have a drop down with free input, so I opened a PR with my solution. Closed as it was out of scope, simply because Google didn’t specifically include that in the Material specs, only an input and a drop down separately which my solution matched. I also opened a PR for an obviously missing feature (being able to validate forms via JS), closed as this behaviour wasn’t in the Material specs either. No wonder MDL died before it was ever finished.4
-
Just a quick poll here to anyone who does a lot of programming, which IDE do you use? Do you prefer almost paper coding with little or no extensions or features or a full blown solution such as Eclipse?21
-
I've now worked on both monolithic solutions and microapps/microservices. I gotta say I'm not sold on the new approach. There's so much overhead! You don't have to know your way around one solution -- no, now you need to know your way around 100 solutions. Debugging? Yeah, good luck with that. You don't have to provision one environment for dev, test, staging, and prod. No, now you need 100 environments per... environment. Now, you need a dedicated fulltime devops person. Now devs can check in breaking changes because their code compiles fine in that one tiny microapp. The extra costs go on and on and on. I get the theoretical benefits but holy crap you pay for it dearly. Going back to monolithic is so satisfying. You just address the bug or new feature head on without the ceremony and complexity. You know you're not crapping on other people's day (compilation-wise) because the entire solution compiles.
...and yeah, I'm getting old. So get off the lawn! ;)2 -
How do you counter DOS attack? I have one online service where an idiot just calls curl command to one endpoint.
Although my service is working and server performance is not affected, I found it annoying.
Cloudflare could be a solution, the reason I did not use before is user might have to wait a few seconds before seeing the app, but if no choice then.17 -
- assignment is to display a paragraph fit within a rectangle
- takes maybe 10 minutes to write
- 1 error preventing Xamarin Forms solution from building
- googles error and seems to be a version issue with a single package
- upgrade that single package
- 43 errors preventing solution from building
- reverts back to previous package version
- 76 errors preventing solution from building
- angrily turns off laptop and packs away things into laptop case
- talks shit about xamarin and all the annoying nuisances ive dealt with for this stupid mobile app class
- takes laptop back out because deadline is tomorrow and i have to make the solution build even though i want nothing to do with it
- laptop takes 2 hours and 14 minutes to load up Windows (no update or anything. Just me signing in like every other normal day)
- code builds first try without errors
- wait what the fuck
- concludes that i need only verbally intimidate electronics into submission from now on7 -
Not sure if yelling at someone for not listening counts as a fight.. 🤔 since he wasn't listening..ever!!
But yeah, my ex coworker was a champion in not listening and doing stoooopid shit, from not following orders, to cheking in all the files in solution to tfs (no changes + debugging shit etc) which made it a nightmare to find and fix his bugs.. I just gave up talking to him alltogether since he only wasted my time and didn't listen to any advice/order.. -
Is it normal to have to sit in hours upon hours of handover sessions for a spaghetti software solution?
There's no documentation, we have to create it, hence the hours upon hours of handover sessions.
I'm so fucking burned out from the past two weeks' meetings.4 -
Android is fucking fucked up.
Why the fuck it takes so much of time to build. And trust me,
React + Android is the worst combination. Can't even understand what the fuck it is trying to say?
And sometimes, no body knows what is wrong with something. Seriously look at the picture, that's the solution sent by the Android lead.
Did you realize the repeatedly at the end. 🦆 What try 🦆 dude.
Fuck. I'm ain't gonna work on this after this project.9 -
Rant on me myself.
After being a professional coder (ie having a bachelor degree) for 11 years now, I finally have a decent and reasonable backup.
I use borg to backup to my raid 1, which is local, in my corridor near the ceiling. I use a Intel NUC with two external USB3 HDDs attatched. As I already had data on them, I went for a btrfs raid 1.
The second level of my backup solution is my brother. It's 50km to his flat. He's got a banana pi with my third HDD attached. I connect to his pi via VPN. The VPN is done via an AVM Fritz! Box. No ads, I just like those boxes (modem and router).
The backup is encrypted, of course.
Now, after ten years, I finally got a decent backup solution. Wow. This feels great! 😎 -
Got a PROD issues caused by missing data from upstream. Told them about it last week. 3 days of no replies.
Finally got a reply that they will look into it. It's been almost a week since I first told them but no responses and no solution yet.
I couldn't fall asleep because I guess I drank too much coffee but also cuz the thought of this pissed me off.... So got up and sent a work email basically threatening to escalate this all the way up, put their asses in hot water.
Though not sure if I can but.... Maybe I can take a disability leave for needing to mentally recover from going mad at other people that can't do their jobs but aren't fired...9 -
Microspyoft decided to retire Atom IDE, what a bullshit company, if you check their asses you will find them stinky as garbage because they only use toilet paper, I started to stop using their shit, any basic solution they offer to you that you might think 'Oh, that's the solution to rely on for a lifetime ' no man hold your excitements cause they are going to fuck your brain later, same as they will do with Windows10, suddenly the bunch of lazy asses decided 'actually let's create windows11, and stop supporting windows10 by 2025' Go to fuck yourselves bitches, I stopped using all your shit.16
-
How do you explain to your client that no, you cannot have a perfect solution, because the algorithm is O(2^n)?
I mean, without requiring him to get a degree in CS. Also without making him think that you can't build efficient code because you're dumb. Or that the hardware is slow.3 -
Full stack developers are myth . Anyone who claims he is expert in both domains. He is lying. he would be implementing one side crappy solution and showing off that I developed everything from scratch. Tell him you are from monolithic era. You no longer exist. You are doing both side crappy solution go back to school and focus on one thing and come back with one thing which you can do properly23
-
*thinks about making an led project with sound analyzer*
ah that’s just some basic math and there is probably an RPI compatible sound analyzer library on npm…
> starts project in node
> realizes the ws2811 adapter library doesn’t have everything you need
> forks and implements those changes
> compile for node
> realized there is no good sound analyzer in node
> starts to rewrite an c++ solution in node
Wait what the fuck am I doing here?
> starts the project from scratch in c++1 -
I hate leaving work late, stuck on a bug and 10 miles down the road heading home, figure out a solution and then argue with myself do I go back and fix it now with no distractions or write it down ... then in the morning I’ll do it but bear with distractions... or not write it down .. hope I remember and then do it in the morning
But I’ll probably get distracted.: forget .. then remember after everyone leaves and implement it tomorrow night .. lol3 -
You have a job for 7 days and you will get paid with 1 piece of gold per day. Problem is there's a block of gold made up of 7 pieces, and there is a knife that can cut it only twice. How would you solve this problem? Making sure the employee has the right amount of gold every day!
There are no tricks in the question like buying a new knife or whatever. There is a unique mathematical solution. Go!8 -
So,the lecturer is discussing with the other lecturers to not let us cs101 students use lists when writing our Python solutions because he says that the students don't know how to think in terms of lists.fuck,coz literally every single solution of mine used lists.If they subtract marks,i will not put up with that.Just because the other students have absolutely damn no clue about what they doing when they using lists it doesn't mean they can stop me.3
-
Thank you apple for making my macbook not boot anymore after catalina update. By not booting, I mean no fuckin nothing happens when you press the power button. It doesnt fuckin turn on anymore.
Apple service solution: replace mainboard for fucking 800 dollar.
Do I have to expext that a simple software update fuckin bricks my notebook? Wtf who expects that??? Its a 2018 spacegray macbook, lile gooddamn brandnew.
An yeah warranty expired two weeks ago.
I wonder if they do that shit on purpose.8 -
Today, I used NAT in a way I never before thought of as a solution to a problem - Exposing a service listening only on an internal address, to the internet, to a selected list of hosts.
For some reason, it made me a little sick in my mouth. It feels... Ugly, to solve this as such. But I was only copying this solution from a different server of the same client, so no reason to implement it differently and thus complicate future administration...
Is it normal to use DNAT like this?1 -
I hate the jitsi_meet package, so I decided to fix the bug myself instead of waiting for the code owner to fix it. I forked it and pulled requested the updates. All they have to do is review, test the updates and merge the code if there's no error.
And the fucking problem was wrong data type, old version of Kotlin was used, and was android embedding V1 instead of V2. Solved by a "little" adjustment of the code. I wonder do they test the code before publishing their packages?
For those who are stuck on the issue, you are welcome. Now you have the solution.
Refer: https://github.com/gunschu/...1 -
Isn't it curious that most development libraries, frameworks, widgets in an ecosystem see a decrease in popularity when they reach a "no longer under active development"/ maintenance stage (especially exacerbated in the front-end)?
As if we just can't settle on a convention. As if, even for limited-scope solutions, a final stage can never be reached, there must be perpetual growth. As if we must constantly trade a solution for a shinier one, that just might provide us with 2% profit based on a doubtful forecast... or not. Sounds a lot like the investment capitalism that resulted in the 2008 subprime crisis. Not sure what to make of this thought but
FUUUUUUUUUUUUUUUUUUUUUU -
Does anyone here reject a requirement because there exists no elegant solution to it and you shall die before writing spaghetti code?🤔6
-
May IE burn in hell.
One time I was trying to get something positioned properly, and it worked on all browsers except IE. There was this little gap between two divs and I couldn't get rid of it. In desperation after hours of troubleshooting and lots of CSS attempts with no solution, I removed the whitespace from between the two divs in the HTML:
<div>...</div>
<div>...</div>
to:
<div>...</div><div>...</div>
And voila! No more gap when looking at the rendered page.
FML I hate you, IE.1 -
tldr; Finally my NordVPN subscription comes to an end so I was looking at other VPN providers and I chose Mullvad. So far, it is an amazing experience.
It has been 2 years since I was using NordVPN. It was great at first but soon first problems started to appear. Speeds were not exactly breathtaking and I barely sqeezed more than 40Mb out of it. Another problem was connecting from PC to PC on local network with both of them connected to VPN. I never found a working solution.
Then Tefincom started pushing it literally everywhere. Ads on YouTube (+ partnerships), fake websites redirecting to NordVPN, etc. That was when I decided to just fucking wait until my subscription ends so I can finally delete my account there...
Today is the day. I decided to go Mullvad because it seemed to be really privacy focused (don't kill me - I know I can't have *real* privacy with VPN, but you also can't have that with your own VPN) - they don't know anything about me, no email, no name, no payment data (Bitcoin Cash). Speeds are absolutely f*cking amazing and also local network works!11 -
Yeeah it's official, the N key in my HP keyboard just fucked up
What the solution?
Ok I'll use all the #Widgets that has no N in it's definition in my code
Just fuck that sit.7 -
IT people stereotypes:
young gods = „I know that already for ages. Those senior folks are way too pessimistic and too theoretical.
Give me shell.. wait.. Call me h4ck0r g0d now because I use kali linux.“
("no, you did not learn anything")
senior slow-moes = „could you please retry your last sentence? I just opened my wordpad“
("triple-facepalm")
sales-Sebastian = „Sure we can do that. By intention our solution offers only graphQL access because our design goal is minimalism and simplicity“
(no, your solution is piece of sh*t).
Framework-Fred = „let’s stick to togaf. Please use these terms from the glossary of following data management framework. You can reach me via ITIL process xy“
Nearshore-Naan-Ganjid = „I can program in HTML“
("program")
Feel free to extend5 -
What is it about long winded articles for a two second one click solution?
A quick search to find out how to change the control panel to classic view in windows 7. (because I forgot and the windows Operating system is no longer intuitive and Dev-friendly).
Search engine: (Insert hundreds of articles here!)
Solution: Click on large Icons where it says "View by".
Search engine: (Enjoy sifting through this pile of results written by thousands of gas-bags, you looser!).
Rocking back 'n forward sitting in the corner of the room holding my legs against my chest: "Shut up, I forgot okay!"
Why would it not just Say "Classic view"?1 -
Junior Dev: "The man told me I have to use his framework but I don't know shit about it"
Me: "hmmm, since it's something he developed, you should ask him for some documentations or some examples"
Junior Dev: "I did!! That bastard gave me an example but I can't do anything with it. It's just executables, some config file and NO sources"
Me: "well, this sounds odd to me. You're telling me he just sent you executables and not a single source ? There is no .cs file in there?"
-- 2 minutes later --
Junior Dev: "now that I see ... The sources are there ... BUT the damn bastard put them into subfolders ... And there isn't a Solution file ... How could I even ..."
And THAT was the moment my brain collapsed into a black hole, obliterating me from the existence. Or at least that was what I wished for. -
So my boss wants me to develop a complete business management solution + mobile app. (It’s a startup project based company). She doesn’t want to use dubsado / asana / etc and wants me to take the best of all and custom build it for her.
Now I was a mobile app developer. Native iOS and android + recently learnt flutter. No backend or web or api skill.
But screw it, I wanted to learn laravel since a long time anyway so that I could be an independent developer.
So I have agreed and started it...
Bitten more than I can chew? Time will tell...what do you think?10 -
Why is it so fucking difficult for mobile OSs (Android/iOS) to revert to mobile data when the WiFi is clearly not working? It’s so annoying when my phone connects to some AP 10 fucking nautical miles away and tries desperately to get a connection to the internet when I have a data plan that works just fine. The solution would be so fucking simple: before the phone switches to WiFi connection it should simply probe the internet. Login required? Ask me if I want to proceed before showing me the fucking login portal. No response at all? Then don’t even bother going any further with it.5
-
got a new macbookpro with my new job. awesome. but no usb port so i need a dongle to use my good mouse.
my solution: pickup the dongle myself from down the street and expense it
company solution: order it through complicated website, wait for 3 people to approve it, and wait 4+ weeks for it to come in (still waiting) -
What is windows actually looking for when it's "looking for a solution", it's like a kid trying their hardest to spell a word. There's a chance it'll work, but realistically there is no hope.1
-
To the guys that develop any form of hybrid applications, is there literally no js templating engine that accepts template files as its base? I could write probably a single file that just returns the template and then all the others request it before templating, but seriously, is there no ready to go solution?5
-
So a client just asked me if a could come up with a solution for him to keep in contact with his elderly parents. He wants a TV screen with webcam where he can Skype to and then it auto accepts the video call. When there is no Skype conversation he wants it to display photos from a remote Dropbox like location. Any tips?
I am thinking maybe an android box with USB webcam. Or perhaps a Intel nuc?7 -
Not a specific bug, but I always have that satisfactory feeling when I fix a bug inside a code like this:
1. Spaghetti af
2. Duplicated af
3. Heavy use of static fields instead of passing via callback when required
4. variable names like: textbox1 ..etc.
5. No comments
It is true that is a huge pain in the ass to deal with, but then I look at it as I was able to create something out of that mess, I mean all is mixed up nothing is clear, no clue where it starts and what caused it, but then I put the pieces together and end up with a solution of what I thought to be: It will never be solved when that mess is here.
Not an excuse for messed up code, I try fixing whenever possible, but hey, at least I did not run away and give up -
During my first-ever technical interview, the interviewer asked me "Do you know the FizzBuzz problem?"
"Uhh, not really." (I was just thinking ok this problem has a name, must be some algorithm problem)
"So the problem is basically to give you the numbers 1 to 100, if the number is divisible by 3, print 'Fizz', if divisible by 5, print 'Buzz', if divisible by 3 and 5, print 'FizzBuzz'. For other numbers just print out the number itself."
After hearing the problem, I felt so many ideas popping out of my stressed brain.
I thought for a bit and said "ok, so if the digit sum of a number is a multiple of 3, then the number is divisible by 3, and if the last digit is either 0 or 5, it's divisible by 5."
Then I started to code out my solution until the interviewer said "there's an easier solution. Can you think of it?"
This stressed me out even more.
I thought for a bit and said "well, starting from 3, keep a counter that records how many iterations are done after 3. When the counter hits 3, that number would be divisible by 3 for sure. Should I try this solution?"
The interviewer said "Sure." So I started again.
However, I struggled for about another 3min until I realized this solution is a lot harder to implement. The interviewer probably saw my struggle too.
This was the point where he stepped in and asked me "Ummmm there's an easy way of solving this. Have you heard of the MODULO OPERATOR?"
In sheer embarrassment, I finished the code in 30s.
Of course, there was no further question after this, and I felt the need to seriously reevaluate my intelligence afterwards.11 -
I feel like crying because I couldn't configure ERPNext on windows (Virtual Box). Damn thing showed this error "Already Registered, There were problems" and redirect me to homepage.
Hate this when there are no error codes or no proper documentation.
Tried every possible solution in past 4~5 hours. I'll sleep3 -
So this happened at a government organised 24 hour Hackathon. We had to store documents uploaded from the front end. Now we’ve been trying for a very log time but everything failed (yeah we had a crappy front end guy). Then all hell broke loose when the our team leader in hi sleep deprived state deleted our git repository while I wondered why my pushes were throwing a 404. When hell felt near we came up with the solution to encode the documents in base64 and store it in the database since we only had to show a demo😂.
Sadly enough, WE LOST. Although in retrospect it comes as no surprise.2 -
The worst part about working for a big company is that whatever is the problem that you google the solution is always like "try changing this global parameter that only the CEO has the privileges to change" or "the only solution is to raze to the ground your 1 year old technology and use this state-of-the-art edge solution".
And it looks like I'm the only one that complains about this.
I mean, really do people have no constraints when they work?1 -
Asking for a friend: Well actually a friend asked me (since "I'm good with computers", you know it ;)) and no real solution came to my mind, so I thought, why not ask the internet
Anyways. She's an artist and does a project (kind of a documentation) about the Egyptian revolution. She currently lives in Europe but still has her Egypian passport. As an Egyptian national, she fears, that she could be holden back for a while and have her laptop/external HD with all the photos/videos/interviews confiscated and/or searched. She asked me for help to have a "backup solution".
The requirements: a way to backup work (from a mac) to a secure location (I would offer my server running linux for it).
The upload would have to be encrypted (if possible, I suggested to use a VPN, is this enough?)
Access to the files should only be granted if you have the propper password (in my opinion the VPN tunnel should work here too, as when it's down, you can't just reopen it without a password.
What are your thoughts on this?10 -
Never say you can't do feature A, offer a different(better, cheaper, faster, possible) solution when saying NO to your boss
-
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 -
Guys I heard a rumor that you like riddles, I'm stuck on my theory project and I'd like to throw a bone:
Say you have a list p = [7,6,2,3,4,5,1,0] and you want to order it, i.e. change it to [0,1,2,3,4,5,6,7], by swapping adjacent elements. Provide an algorithm to do this optimally, when:
a. (Warm-up) each swap costs 1
b. Swaps weight is [4,3,2,1,2,3,4], i.e. if you want to swap position 0 with 1 it'd cost 4, position 3 with 4 will cost 1 and so on.
The optimal overall cost for b is 50 (I did an exhaustive search), however you need to find a general approach which is able to order every list with minimal overall cost (no time constraints as long as the solution is not exponential in the list length), using the provided weight function.
(you get a credit if the solution goes to a paper or anything 😉 it's actually a computer science open problem, but seems possible to me)16 -
Been struggling with an issue all weekend (it had to go to client today) with no solution and without understanding why it was returning the wrong values.
Arrive this morning to the office and team leader asks me about the issue and gives me a new one with higher priority, so I decide to pass my issue to a junior I work with.
While doing so and explaining everything he should look into, by some magic powers I found the reason for the issue
Thank the rubber ducking god!!! -
Me: "You should go with this other option for the software. It's cheaper and you can do more."
Client: "No. This more expensive and less-capable thing I chose is better. We'll make it work."
[several weeks pass]
Client: "This isn't working. Why didn't it work?"
Me: "You have to upgrade to a more expensive plan, or switch to the other solution I told you about."
Client: "No. We'll make it work."
Me: *facepalm*3 -
One of our integration solutions (via Webservices) had some issues. I had to switch on http logging to see what might be the issue.
On average, those logs are around 20MB when there is a bunch of traffic. But the solution brought a heap pf traffic through, those logs shot up to 1GB in size.
Had to delete the logs, since they took a million years to open, and told our vendors that the logs are not showing us anything 😅 I told no lies -
spent two weeks fixing a solution for designer who constantly changes his mind...
manager takes one look at it and says it's too complicated and proceeds to change it to something simple which completely ignores all of designers specifications...
designer no longer cares about his specifications...
I guess this means I shouldn't care about specifications...
yea right... -
So today at work, a dev proposed some solution to a performance problem by using divide and conquer. But the way he said it was came across like "this is a brilliant, algorithmic solution, I bet you'd never think of this because no one else knows algos".
So then I just reply to him mentioning Big O and how it seems the performance is N^3, exponential. In which case the optimal size is like 1. But basically like starting an algo discussion to see if he can keep up... Or if he's just dropping some algo slang to look good.9 -
We're looking to change the domain provider we use to register new client's domains to one that has an API.
So far it looks like it'll either be namecheap or AWS's Route 53.
We're also looking for the same thing with mail inboxes.
Do you have any recommendations / experience with either of these?
I was hoping to find a solution that would provide both the domain registration and the mailboxes with no hosting and accessible via API but I've had no such luck.
(Except for maybe two, but neither looked up to date)10 -
Often I'll be stuck on a problem for so long that I'm like "okay, this isn't gonna change no matter how much I try". So I go off and maybe design something, play videogames, or read. Then randomly I'll come up with a solution to the problem (only to find another 😂)
-
Cause there's no really safe solution for that right now, finally release my favorite and verifiable secure linux password management tool for the web and as apps for iOS, Android and Windows Phone - including online synchronization, so you can access your passwords anywhere. (Web and Android first, the other platforms later).
At the moment it is still a pure gpg based Linux terminal application.2 -
Lesson 1 of developing a project with managers: never make it known that solutions to some bugs are simple. Managers will assume that all bugs are simple and require little thought and effort. Then, when there is a bug for which you have no idea what the solution is just by looking at the issue, they will become upset.2
-
I don't know how any company can keep on top of crazy npm package changes. I work in a REALLY SMALL team. We are still using bunch of deprecated packages and we keep building on top of those packages. Updating packages is always a nightmare. It's impossible to Google solution when no one is using the particular combination of deprecated packages. Fuck me4
-
For a moment, hold your php-hate in..
..FOR FUCKS SAKE they turned off warnings and errors on the server for customer applications. What the fuck. I mirrored one of those to fiddle around at home to find all generated files stuffed with "warning: we have no idea what we are doing at every line".
FML.
And yeah, the solution for my end is kind of simple, turn them off, too, but how about coding it the right way?:I -
Whenever there's a crisis I immediately slow down.
Get calm. That has to be step one, as long as it takes. Then (usually) the crisis is actually no big deal and there's a simple solution, but you'll never find that during panic mode.1 -
I once was righting a C project for my professor, and I had a problem that I didn't know the solution, once I copied the script in the main into a function it worked perfectly.
And still have no idea of what happened.1 -
Need to use new module or pattern:
1. Read the online documentation
2. Have no fu*kin clue what I just read
3. Try for 2 hours and fail.
4. Go home and sleep
5. Wake up at 3am from a fever dream with the solution to the problem
6. Go to work and implement it in 10 min
I guess I learn when I sleep -
Love it when there's only one SO question relating to the problem you have, there is no answer, a couple comments, and the person asking updates it saying he figured it out, WITHOUT GIVING ANY INDICATION AS TO WHAT THE SOLUTION IS.
Fucking hell, doesn't happen often, but when it does... 👿 -
I was all gung-ho about migrating a .NET Framework 4.x 16-projects-in-1-solution 100+ table 300+ Standard Procedures "project" to a more streamlined Services based architecture with documentation and all
Until I realised the guy who's heading it, has been working on it since 2019-2020
And has kept his job because it's such a mess and no one else knows nor cares about how to navigate through it (:3 -
Do you ever have a problem that you just don't know how to resolve, you are way out of your depth and it seems like there really is no solution. There is nobody you can ask for help. You want to just give up. Then finally you have an answer. You fix the issue and it feels like you are superman and you can do anything. I remember that feeling before but this time I think maybe I should start looking for another job.1
-
> be me
> javascript developer / ReactJS
> finished project
> chillLife.exe
> all of get sudden project which needs C# WebAPI service
> very close deadline
> Okay, let's see
> See the code and felt like suicide
> Post question on SO and got -4, no wonder
> null exp in C# or .NET
> By the end of day complete task 1 of the issues
> 3 issues
> It feels like some one's homework I'm doing
> Go to boss for 3rd issues
> Google it, you'll get the whole solution
> Why I am not surprised?
> ask @Elyz for help, and got something working
> I am the NullPointer2 -
Fuck Facebook!
Disabling apps without warnings or anything which means no customer login. This is a huge pain since the solution doesn't have any way to login to the same account with another credential.
"Oh did you use that? Now you can't. And the only way to do anything is to submit a form to 'appeal' the case which we'll just reject without any notifications or emails"
Normally I won't rant like this or use that much swearing.. but in this case:
Fuck you, Facebook. Fuck. You.7 -
i just released my first open source project with effort to make a comprehensible documentation for others to use as well as repetitive refactoring to not embarrass myself.
i am equally excited and knowing no one will care about that.
it is based on my effort to make my companies workflow more effective, knowing well this is just a temporary solution in advance to a professional developed system as opposed to having no system at all. so all of this work will fade into oblivion eventually.
i felt this has been too much work just to be forgotten someday so i cling to my naive hope someone might benefit from that and maybe i get one or three internet points.
in case someone is interested in a free quality management software for document control and access with no real state of art, you might find it interesting to visit my qualitymanagement repo4 -
How do you learn to write a backtracking algo without having an existential crisis? I feel like whenever I see a problem that could use backtracking, I’m like “Looks like a case for backtracking!” *writes seven functions to try to piece it apart, gets no closer to solution, dies inside*5
-
For the past days i’ve mentioned that i need a backender to create me an extra page in the solution. No attention was given. Backenders where too busy. Today we started a new sprint and i got asked what i’m gonna do.
I told them for the fourth time, i need backend work done to continue.
I got pissed.
Backender got pissed.
And in the end nothing will be done for this cause.
Fucking great.
Fuck my life.
Fuck these people.1 -
One day lost checking each letter in code, and a horrible error with no visible solution.
Answer: A colon in the place of a semicolon.1 -
just yesterday, commiting a pile'o'shit code which u know is pile'o'shit but you had to do it like that because correct non-hacky solution wouldn't meet non-negotiable, client-critical deadline, and getting back a code review criticising precisely all the points which you are aware of and want to kill yourself for but you had no other option under the circumstances.
p. s. still under probation because it's a new job, and the review ends "no time right now but we need to talk at the end of next week"
p. p. s. second best job i ever had. week of fear of losing it commences.1 -
2 hours of debugging a web page. We had a simple border: 1px; margin: 4px; on the container, but on the right side it the border was outside the screenspace.
Like, gooohhh I hate this, is it some element that's making the container grow or something? Doesn't happen on all screen sizes..? So confused. No scrollbar so where's the overflow: hidden? ARGH I'm no pro at this! And this is a spagetti css file; just work stupid css!
The reason why, which took toooo long to find 😓, was that the monitors physical border was overlapping the right side of the screen, oh at such a suddle amount. Enough to not be noticeable normally, it looks completely usual, but it hid that stupidly stupid border!
I so hate/love when there's so such a simple solution. But now I'm gonna be stuck checking the screen border when instead it's my css that is off...2 -
What do you guys think of code review? It was supposed to find potential mistakes in your code base, and share your knowledge with your co-workers, right?
In fact I have very bad experiences with code review, not just with 1 company, but quite a few. Code review process always comes to something like this:
Reviewer: Hey, I don't like your solution A because of disadvantages A1. You should implement solution B, because of advantage B1 blah blah...
Me: Yes, it's true that solution B provides advantage B1, but at the same time introduces much more complexity to the code base than necessary, and has disadvantage B2. I am aware that solution A has disadvantage A1 but it is justifiable and easier to overcome than B2 imo. In fact, solution A also provides advantage A2 that you might not know...
Reviewer: No, you HAVE TO implement B because of advantage B1 blah blah *repeating why B1 is awesome again*
I feel like it's just people trying to shove their preferences down my throat. Either code review is useless, or the companies I work for do something very very wrong in code review. Anyway, it's really discouraging me fron participating in team discussions.5 -
So I had this project manager that asked me for a "quick win" on the Tuesday (no release planned) I told him I'm already working on fixing this solution properly and be ready for Friday.
He was determined i wrote code that was going to be useless and never used. As a result I sent him the productivity graph from the clean code book.
After about an hour and a half of silent. I was move project.1 -
RavenDB was by far the worst document storage "solution" I have ever had the displeasure of working with.
- Loading data crashed the service.
- Queries crashed the service.
- Monitoring applications crashed the service.
- It didn't support clustering or HA of any kind.
- Sometimes it just worked for no good reason.
- Often it broke for completely random reasons.11 -
It's almost 2 am now. I was up till now, trying to make pouchdb and couchdb cross-domain authentication work.
The whole replicable state of art needs a hero, the one no-backend solution that actually works and don't make you lose sleep. -
That was in the digitally-controlled analog equalizer I worked on (and still AM working on) with my dad, we kept sending something through the SPI line that was consistently sending clown vomit and corrupted data to the display and as a result my whole code was hanging and bootlooping like crazy.
The fix? No idea! Because I had (and still don't have) ANY step-based debugging, all I could do is try multiple ideas and see if one of them would stick. That ended up being the solution.
I still have a video of this issue, I just need to find it. I will post it here when I have it.3 -
God I hate slow burn in projects.
Trying to do something with a feature that's still in beta for the language. No docs so I asked for this.
Seems like a cycle of days where I'd be trying random ass solutions to no avail when suddenly one time I mistype the Google search and it brings me to this obscure ass blog with a potential solution that raises some new issue all over again.
It's been modification/addition/removal of over 10000 lines in different local branches and commits and only 200 of them actually are going to make it into the final code.1 -
So how does dead code from 2007 still exist in this codebase, better yet why were there three of the exact same page literally no differences lmfao. Spent a moment having confused QA guys talk to me getting me confused because they couldn't replicate the solution that had been applied to all three versions of the page.
-
Someone has a cloud VM running automated attempts to sign up at our website, which is causing the payment processor to block us because of all the suspicious credit card creation attempts, so we get no new signups... I suppose implementing recaptcha is a potential solution/mitigation for this? Do you guys have any other suggestions?12
-
Used pip install to integrate tensorflow with python 3.5 on windows 10 machine but there were no models available in it. Had to download that separately and add it to tensorflow. Then tried using both inception and clasify_image.py but gives name error cannot find core. But when tested on python idle there were no error there. I don't want to custom create my own classifier but retrain the model. Any solution people?1
-
!rant // more like a warning
If you use tty (no X or graphic env) and use tmux as terminal multiplexer -> avoid using mpv in it.
.
When you use -> mpv --vo=drm "video name" in tmux session and want to pause video -> cpu usage will climb up to 100% on single core.
(can make laptop warm)
(I don't know what exactly cause this but my theory is, tmux cant redraw after video is pause and it keep trying forever and end up using cpu 100% on single core)
.
Solution
- use mpv on another tty which you didn't run tmux.
- example : tty1: all stuff, tty2: mpv.
And cpu usage will be normal after video is pause.4 -
Ok, so here is the thing:
After a very long WINDOWS UPDATE
the sound has gone. No speakers or headphones working. After wasting >10 hours (not in a row)
trying to find the FINAL SOLUTION, I have just gave up. Bought a working external sound card, but I could only use headphones plugged into it.
In a week, I booted Linux (cos I have never really
used it and not with the sound problem in mind) and guess what - on Linux sound works normally! On THE SAME LAPTOP!!!
I belive the update somehow harmed the audio drivers. I'm really fed up with it.9 -
So at work, I was trying to convince a senior programmer to adopt Golang for a new project that would need to handle large amount of throughput as oppose to Django with gunicorn and other optimizations (which is what we usually do).
The response was "we'd have a hard maintaining it, as no one really knows Go and it will be hard to hire people with Go knowledge".
So my question: "in your opinion, is that a good reason?" I have some go experience from other jobs, it seems like a superior solution for this problem.6 -
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. -
Why Dart was designed with idiocy:
1) naming conventions are idiotic
Most other languages are smart enough to not throw errors when the variable name matches its type. And lots of others, for any lexemme - only 1 naming kind is allowed.
Fine. Oh wait, there's that thing called existing databases and GraphQL & other APIs, should they all adapt to this? No, because 2) is the bonus
2) String keys in objects. Unless it's a class with boilerplate, you write them as strings and access them as strings.
So here's the solution when you want to integrate Dart with existing services: write a lot of JSONSerializable decorators to fit with dart's pissy naming requirements.3 -
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 -
Is there any good, developer-friendly alternative to WordPress? So sick of plugins that have no API documentation and still use SVN. Working with PHP is seriously the least of my complaints with WP.
Favorite CMS right now is Lektor but it’s not designed for use with clients and I haven’t figured out a quick solution to make it work for that use case. It’s also very lacking in features, so only suitable for very basic content.9 -
I have been working on tickets without specs almost since I got this role
This task is big ish I have been in a conv
Like "how long" "why didnt you complain"
And this and that
I tried to have weekly meetings or meetings. No success.
Now apparently it's partly my fault
Solution should have been tell my boss how to do his job, again, apparently -
npm you dank pile of shit!
After updating npm I get "Maximum call stack size exceeded" when I use npm install --no-bin-links as usual.
After searching a solution for this shit it seams like the npm devs fucked around with the --no-bin-links option, since this nasty error message vanishes if one downgrade npm.
These goddamn assholes.
Keep your filthy fingers off this option, since it is essentially for windows devs!11 -
Would love to share my experience with tutorial hell.
A year ago, if there is no tutorial teaching me how to do something, I am totally lost and stuck for days. Then, I decided to see how people got out of it.
The answer turned to be simple, get comfortable reading documentation AFTER you determine what you are trying to accomplish.
In other words:
1- Determine the problem and the desired end result.
2- Break the problem down into multiple smaller ones.
3- Determine the end result of the solution of each of those problems.
4- Read the documentation concerning what you need to use to solve each problem.
5- Execute.
Over time, you would find the need for a tutorial much less in order to solve a problem. Plus, documentation would ideally give the optimal solution for your problem.
Would still be cool if you find a tutorial explaining something hard to grasp, but never depend on finding one.2 -
Today I learned that in our team, where we usually process data for runtime usage through batch scripts, which is the dumbest shit anyone can think of, someone decided to do data processing through VBA inside an excel file.
So that proves, regardless of how bad a solution is, an even more stupid solution is still possible.
At least it's not documented, so my hope is no one will see and copy it. -
the worst person I worked with was back in school. he would make no contribution to our work and would have a go at me if I did something wrong and whenever I fixed a bug he would act as if he knew the solution the entire time. it was so frustrating2
-
Quick disclaimer, it is easily googlable, but no matter where I search, I can't find a solution. This is why I'm trying here.
Okay, so the other day, I was trying to install the node package sqlite3, and it spat out errors all day long from the node-pre-gyp native module and from the node-gyp native module. I am using the latest LTS (as of 5/10/2018), and I can't get any answers on HOW TO FIX IT...! Please HALP ASAP!12 -
Spent 2 hours trying to figure out why my program would skip a month of the calender... Decided to google it finally thinking that no one could ever have possibly had this toddler level issue before. *immediately finds solution on stack exchange* goGet.tears(joy);1
-
RANT
THE fucking pip is not working again. This time throwing sslerror ssl_certificate. Googled and came to know they removed TLS 1.0 and 1.1 support. Solution upgrade the pip. Done. Still same.
Checked their website no information.
Don't have words now.3 -
Frustrating feature/bug of SO is when you don't have enough rep to leave comments or have your vote truly counted, and the best answer is the bottom comment, and you have absolutely no way to thank the person! @Adiii no idea if you are on here but thanks so much for your simple and elegant nodejs solution to checking for and creating directories.
-
He said,
"With AWS, when trying to create a new instance
'Your quota allow for 0 more running instance (s). You requested at least 1'
with regard to the problem, I want to know a method to surely solve it."
I said,
"As far as I see it has reached the limit of the number of simultaneous execution instances, what kind of solution would you like to see?"
I am worried coz he has no reply. -
php being php...
Complaining about "header already sent". I wonder why.
Solution: no permission to chmod the file system, thus printing an error to the output. That error provokes freezing the header, thus the header cannot be written anymore...
*cheers*2 -
I work daily on a project, in which, rather than buy in a decent message bus a bunch of half interested, unqualified developers were tasked with hammering together an in-house solution. This monstrosity has around six layers of abstraction, separate objects per project and dynamically loading converters between the components. It's largely not unit testable, certainly not integration testable and has already wasted more money in developer time and Bugfixes than a half decent external solution would have cost.
Every time I have to change an object in one part, start the associated web/win service and do a "update service references" I die a little inside.
There are so many better ways but we'll never be able to change because "there's no time for that"
And all for some up front savings -
Actually I've never really drunk coded (eventhough I can be a bad drinker lol), but one time I was apparently discussing a problem I encountered with a friend of mine and we came up with a solution. All I had to write it down was a reciept from the supermarket though, but I totally forgot about it the next day, until months later when I was cleaning out my wallet and to this day I have no clue what I was trying to tell.3
-
I hate when I visit a new web framework's site and see documentation that promotes HTML tags like this:
<input type='text' name='foo' value='{{val}}' />
If you don't know enough about which quotes you should use and why... I have no faith in the quality of your software solution. -
Search for How to stop Apple ID Verification pop up. Find relevant and possibly credible result from discussions.apple.com:
How do I stop the constant pop up on my iPad for APPLE ID VERIFICATION, posted in 2016.
Last post from OP: Did you ever find a solution to this problem? This Apple ID Verification request is driving me crazy.
83 Users: Me too.
Apple:
Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.1 -
fuck gradle
i have dependency tree like this
±--com.vincent.filepicker:MultiTypeFilePicker:1.0.5
±--com.github.bumptech.glide:glide:3.7.0 -> 4.3.1
±--com.github.bumptech.glide:glide:4.3.1 (*)
glide.3.7.0 as transitive dependency got fucking overridden by glide:4.3.1 how do i fucking keep glide:3.7.0 from getting overridden, been search for a day and no solution worked, fuck gradle how come shit like this doesnt have straight forward solution ?3 -
Somebody: (whinwy) we need something to log into nonprivileged technical accounts without our rootssh proxy. We want this pammodule pam_X.so
me: this stuff is old (-2013) and i can't find any source for it. How about using SSSD with libsss_sudo? Its an modern solution which would allow this with an advantage of using the existing infrastructure.
somebody: NO I WANT THIS MODULE.
me: ok i have it packaged under this name. Could you please test it by manipulating the pam config?
Somebody: WHAT WHY DO I NEED TO MANIPULATE THE PAMCONFIG?
me: because another package on our servers already manipulates the config and i don't want to create trouble by manipulate it.
Somebody: why are we discussing this. I said clearly what we need and we need it NOW.
we have an package that changes the pam config to our needs, we are starting to roll out the config via ansible, but we still use configuration packages on many servers
For authentication as root we use cyberark for logging the ssh sessions.
The older solution allowed additionally the login into non-rootaccounts, but it is shut down in the next few weeks after over half an year of both systems active and over half an year with the information that the login into non-privileged accounts will be no more.7 -
About JS WYSIWYG editors.
When you're working on a project that does require a such editor, which solution do you usually chose and why ?
- existing library (which one ?)
- coding your own
- no fancy editor, just markdown
- no fancy editor, just bbcode or equivalent6 -
Dear genie, make me take more notes. My brain is overconfident and thinks (hah) it can do/remember more than 1 thing at once. It's just a whole lotta "Hey, this is the solution to your problem! Also, look at that butterfly! By the way, I have no idea what the solution could be."4
-
I always have to remind myself that fascism is a developmental issue. They are not able to change their mind. There is no solution but post-natal abortion.4
-
Way too long story short: Needed to figure out how to use jQuery to update a table that had no classes or IDs to help you tell what's inside it. Worked out a looping structure to read the contents of the cell with the dependent data in each row, and then update the cell that needed changing depending on the value of the first cell.
Minified the solution and dropped it into the console. Worked exactly right on the first try. -
Fuck javascript, pice of shit can't be learned without reading 50 shades of books and even SO solution don't work.
why for fuck sake there is no easy way to create module in another pice of shit vue js
And fuck devRant for not being able to paste images directly. I'm done! bullet in the head!
trial 1: is not a function
trial 2: is not a function
trial 3: is not a function
trial 4: is not a function
trial 5: is not a function
trial 6: is not a function
is not a function
is not a function
is not a function
is not a function6 -
Don't you just hate it when there seems to be nothing but in some ways lacking solutions to a definite task in your capability arsenal? Or rather, I don't really know how I should feel about it... I've been developing this solution to receive a 3DES encrypted Azure Service Bus message, decrypting it and chewing the output XML down so as to be digestible to the PHP application whose API the message gets delegated to... but there just seems to be no perfect solution: subscribing to the event topic straight from the target app just... doesn't seem to work properly, a Python implementation.... well, let's just leave it at that... a Node.js implementation would require TS and completely rewriting a proprietary library with 100+ complex types - also, there's some hiccups with both the subscription and the decryption...
I started with an F# implementation (after deeming the PHP one flawed), and it seems it's still the best. But goddamn it I had problems with it on the dotnet core side of thing (decryption output incorrect), so I had to switch to dotnet framework... Now finally everything crucial is peachy, but I can't seem to be able to implement a working serialized domain model pipeline to validate the decrypted message and convert it to something easier to digest for the target application (so that I could use the existing API endpoint instead of writing a new one / heavily modifying the existing implementation and fear breaking something in the process...). I probably could do it in C#, I don't know, but for the love of Linus I'm not going to do it if I can avoid it, when implementing the same functionality I have now without the Dto and Domain type modules would take 3x LoC than the current F# implementation incl. the currently unused modules!
And then there's the problem of deployment... I have no idea what's the best way to deploy a dotnet framework module to an app completely based on MAMP running on a mostly 10yo AWS cloud solution. If I implemented a PHP or Node.js solution, it'd be a piece of cake, but... Phew, I don't know. This is both frustrating, overwhelming and exciting at the same time.7 -
Today I had a dream, not sure if I can call it a nightmare:
I was doing ReactJS + TypeScript. but no matter how much I try, I can't seem to match the type of the variable/object. The IDE ( WebStorm ) kept showing RED marks under the variables & I kept trying, but no solution!
& Finally I woke up at 3 am :|1 -
on an interview for an apprenticeship as IT support, got a question that should've been simple, but got dragged to far beyond. "what if you can't figure out a solution to a problem? what if there are no colleages to ask? what if google isn't available, what if the nothing in the universe can solve it?"5
-
I gotta write a quick mailing solution for an email discussion list, given a budget, so i'm like, ok, cool, let me check out sendgrid api, etc, whatever, right?
Wrong! 10000 members, with an email volume of about 100 messages per member, per day, meaning you're sending at least 100*1000 msgs/day ... or 3 million messages a month!
With most services you're looking at like $2,000 right there. My budget was $100.
So.... wtf. How would you use an api to host a discussion list... seems impractical?
I see no discussion about it, no service addresses it, nothing.
Email discussion list. Can someone point me in the right direction?5 -
There isn't a single good hex editor for the command line.
No, xxd+vim is not a solution when you need to move bytes around or create files from scratch.
I want something that shows me e.g. u32/u64 values at certain locations as I'm editing, color coding bytes by printable or not, etc.
There are lots of *viewers*, and a lot of shitty basic editors that hardly work, but nothing that feels solid and actually usable.
Frustrating.7 -
when you work in a small team and there's no transparency.
TL asked for help and I gave the solution that worked for my env, and then TL just went silent for days.
is it so hard to feedback whether is it working or not? -
"No matter how many times your amazing, absolutely brilliant work is rejected by the client, for whatever dopey, arbitrary reason, there is often another amazing, absolutely brilliant solution possible." - Bob Gill
-
Guys check out IOTA, get a light node wallet and buy some as long as it is still low. It is rising at a rising rate since some hours now.
IOTA is the solution to bitcoins speed and scalability problems. IOTA does not use the blockchain but instead a network called the tangle, which enables decentralized peer-to-peer transactions. There are no miners, no fees and the transaction validation speed depends on how many people are using the currency. One transaction requires your device to validate 2 other transactions through proof of work and therefore the system can never be overloaded by too many transaction requests.
Be warned though, the IOTA foundation is only currently building up the infrastructure, and people are just starting to trade since a few weeks so trasactions still may take a few hours.3 -
I halfway remade a 2d radar in shadertoy (original in description).
https://shadertoy.com/view/wt3SR7/
(watch it in 640x360 by zooming in or out until you get that res, I tried to main aspect ratio, but I hardcoded one value because I'm lazy)
shaders are tough to get started with:
no breakpoints.
logging doesn't make sense so it's avoided.
if's are replaced with step statements.
if you suck at math, you suck at shaders.
if you suck at trig, you suck at shaders.
hardcoding values is viable debugging.
hail hsb2rgb for pretty colors (I have no fucking idea how does it work though).
I tried writing here the challenges I found while making it, but most of them are heuristics and are hard to follow/explain in just text.
I can say though, that sometimes you come up with a solution, but it doesn't look really good, so you have to use something else.
or sometimes you come up with a solution but it also creates unwanted coloring that you have to erase.
or sometimes you have no fucking idea what your operations results are, or you get dizzy by the math. Hardcoding helps wonders.1 -
Let's do a story mapping session! Ok cool. PO asks the team: so guys what do you think? *silence*... *more silence*.... PO: come on guys, please respond. *silence*.... Then someone finally responds.
I'm starting to hate this big time. It's almost always like that, no matter the type of session (story mapping, refinement) And there's someone in the team that thinks he always knows best, so if ever someone speaks up, it will always be challenged and lead to useless discussions. He always wants the perfect solution. A good solution is good enough, it doesn't have to be perfect. PO is happy with a good solution (good = maintainable, scoring at least x on our code quality tooling), so why the fuck would you want to go for the 'perfect' solution, which may score just slightly higher in regard to quality, cost much more to develop and people have a hard time maintaining it due to the high level of abstraction? He's always refactoring stuff because it's not future proof. Well, why completely reimplement parts that have been working properly for 2 years and have a very very small chance of needing a change, which then still only needs to be done in just 1 place?
And you know what? All these fancy structures, patterns etc are in there but will their flexibility ever really be used? In my 20 years experience haven't seen such flexibility being really used. Some exceptions of course.
Once it's built, it will keep running, yes, changes will need to be made, but in most cases they never touch all these expensive fancy structured components. Just because most changes are in content or small changes in functionality.1 -
I recently built an automated payout functionality for bank-to-bank transfers, and we initially looked at using the pain.001 XML schema to do it. Luckily, we ended up finding a service that has a simple REST API to do this instead. (Thank god we didn't go with the XML method, I know how much of a headache that could become, I can imagine the treasure trove of memes with naming an XML schema with the name PAIN)
Anyway, for one of our big-brained product managers, this will forever be the infamous "XML Task" that he continues to ask about and bring up. I've already clarified a few times that we have long chosen a solution process that has nothing to do with XML, but to no avail, it will forever be his "XML Task". Wonder what name he'll pick next time we need XML in a solution? "Second XML Task?" Let's just keep the mental overhead idiot train going!2 -
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.
-
Humanity would be better off if everyone - with NO exception to wealthiest or most powerful - was more inherently limited in what was achievable. There is a line where most people give up on a problem of a peculiar difficulty. In our world, we are constantly reminded of the problems we are unable to solve. We can either stay blissfully ignorant or become engrossed in the insanity of finding the impossible solution. There is less and less in-between.14
-
Started today by solving it, seemingly with no problems at all!
Last week i had extreme problems regarding some async ajax-calls.
Sort of felt like i dreamt about a solution. -
The boss says: "Spreadsheet structure must be the same of this other app".
There is no documentation of the other software so:
• try some different input parameters;
• compare the spreadsheets;
• find a possible (and temporary) solution.
I do not like Excel.
😤😤😤😤😤😤 -
`[vuex] unknown mutation type:`
This is the worst bullshit error that I ever got. It just stubbornly stays there making me waste my whole morning on this stupid error and still no solution.
Using >> Nuxt.js with static site generation2 -
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 -
Spent 4 hours today debugging the polyfill for fetch in IE to discover the latest version of IE11 has a bug in FileReader.
I have no way of getting around it. It simply cuts my text response off by a few hundred characters. I have to come up will a solution by Friday...
Why do we have to still support IE 😭1 -
When you go through your code and find a couple of lines and you have no idea what they are there for or what they do. They you find out they don't to anything at all and you can't remember why you wrote them. (I think I was trying to test an alternate solution to a problem but then walked away and forgot about it).
Those lines are still there, it bugs me, but I will remember.1 -
!rant
*reworks complete solution then publishes it to Azure*
"Okay, now let's debug"
*calls function, no response*
*directly opens function in browser*
Function host is not running.
Fuck.
*opens Insights*
System.BadImageFormatException
(additionally, it states that it couldnt load my main project or one of it's dependencies)
Shit, never even heard of that exception.
DDG: yo you're fucked, here, have 3 proper results
SO: lul thats some known bug Azure Functions havent fixed till now
Github: Yeah got a lot of open issues ok that, they just aint any help lmao
Me, a naive person: "okay lets try randomly changing some dependency versions, might help"
It didn't.
Now my question: how do I escape Dependency Hell?1 -
Every time I'm working on a task as soon as I need to write some hack, dirty code, that does work, but creates overhead in the run time performance or makes the project a mess. I stop and can't continue with this task...
it locks my mind and progress where after a while. I simply give up and do it anyway or give someone else the task.
How to deal with task that have no clean solution?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. -
Follow-up of https://devrant.com/rants/2014517/...
It took me two days to finally get my discord bot to a specific voice channel in my guild/server. It turns out that there are two gateways and one https gateway. The https gateway, the main gateway with a websocket connection and a voice gateway (with udp I guess).
Guess that I will be able to let my bot speak at the end of this week.
The documentation of the Discord API is not so good. It contains examples that won't work even if correctly modified. That is why I joined the Discord API guild/server yesterday and they helped me find the solution to the "I get no response from the voice gateway".
It is only getting more complicated, but I love it. Maybe I love hurting myself lol.4 -
I have no problem reading constructive criticism of systemd. It has its problems. However, sometimes those critics try to claim that init run levels, or rc scripts, with their arbitrary meaning and the Bourne shell's ad hoc syntax, are a perfectly acceptable solution to the problem that don't need replacing.
I've never seen an OS startup mechanism that tells me, while the system is up, "the change you just made will make it impossible to bring the OS up if you restart it". And that's a real problem.1 -
rant. Tried to fix a weird bug in gamemaker, with some unfamiliar technic, resulting in another bug. Then one hour later, still no solution to that bug until I look around in the code seeing that I already used the exact solution that fixes the first bug.
In gamemaker there are scripts. I tried to forcefead the fucking script with a variable when calling it. Inside the script, there where already variables working fine with the extension or what-to-call-it:
other.(insert variable).
And that pisses me off. -
When using python, almost every other linter/formatter shoves down pep8 down my throat.
I used autopep8, which has NO CONFIG FOR USING TABS. FFS. The only solution I could find is disabling indent reformatting. How is this a solution at all?
Then I found black. Black is a piece of shit. Let's move on.
Now, I use yapf+pylint. This is basically clang-fomat for python. I love it, it does exactly what I expect it to do.2 -
We had this revamp planned for this week. We were supposed to brainstorm and then come up with solutions. WFH hit it hard!! no solution coming out...
-
how can i learn to drive without killing myself?
i have several constraints around me, some seems solvable but others seems kinda messed up:
1. no vehicle?? my family owns just one scooter with a 125cc engine that my father takes for his job.
solution : i can buy another vehicle , i got finances.
2. problem of keeping? : living in the world's 2nd most populous country, we had to fight worse battles with our neighbours to get the parking of 1 small 2 wheeler. we might get another one somewhere for another 2 wheeler, but anything bigger than that, and I don't know if it could fit.
solution : ???
3. what to buy? cars are usually most preferable since they are made for multiple people travel. but bike riding is a good skill and bikes can cut through traffic pretty easily. light scooters are also very good as they are easy to balance and cheap, but some highways don't allow them as they can't reach the std 80-90 kmph speed limits
solution??
4. my history of shitty driving and how to get better? we have this scooter in our family for last 4 years (and a few before those that my father used , but this was the firs vehicle that i bought ) , but i haven't been able to get better at it. i can surely ride it myself and drive it at slow speeds without someone sitting on the backseat, but if there is someone at the back, then my hand shakes and the backseat person will be shit scared. i also failed my driving license test, and it will he awkward to buy a new vehicle of I can't properly learn it /use it on daily basis
solution : ???
5. why buy? i never really had a use for it. my college was 90kms away from my home and required train+bus+auto travelling for 2 hours on highways.
and now my work is from home. i sometimes think that my lack of necessity has also caused me not to learn this skill properly
solution : ??
i really wanna learn this skill and be seen as a more maturw reliable person but everything around it seems confusing.15 -
SQA here.
What do you even do when dev, other senior QA, your boss and management all give conflicting requirements for a big milestone planning while still ramping up?
My instinct tells me to do what my boss and dev tells me and to come up with the solution that makes the most sense.
No we don't have a product owner ffs. It's like a bizarre waterfall scheme. I have figure out this on my own and hope I made no big mistakes because the ones with the knowledge are unavailable to help. Been thrown in this shit and it's been 3 months I work here. I am honestly trying my best to filter the best out of this.4 -
me: this installation needs swap space on server
ops: we don't do swap space on AWS
me: ಠ_ಠ OK, what other solution can you provide me?
ops: here, use this real (bare metal) server we have
me: will it have all the same access and installed packages I had used on the AWS server?
ops: no, you need to create tickets for that
me: ಠ_ಠ -
Angular test for a company: they are asking me to implement a filter on a table using rxjs. Me, no real rxjs experience, set up complete new page, new table with angular material and a working filter. Lol, ductape solution successful!3
-
Anyone ever passed docker builds between stages in gitlab ci?
I'm googleing my ass off and doing it via caching atm but it's unreliable. Artifacts are no option either for 2gigs of image.
It'd be nice to drop this `docker save --output image.tar` solution altogether..
Am I the only one trying to have seperate build, test and deploy stages for their docker builds?15 -
difficulty in reproducing bug behavior
think i found a solution to prevent the infinite requests being sent by a react component who's code keeps getting rerun by react's scheduler.development.js
i have no fucking clue what's going on, on top of not having any foundation in react3 -
2 weeks into a new project, it goes from "let's get this web app done quickly" to "No see now it's a fully scaled SaaS solution. And why are you following the designs we have you?!" this is what makes me want to update my resume.
-
Started a new job. Saas solution 10 years old. Not a single page of documentation....... Spent last three days trying to find code connections. #nodocumentation #y-u-no-doc2
-
Did you ever had a dream where you didn’t know the solution to a problem and you tried to Google it, only to get frustrated and find no results? Did I have a programmers nightmare?2
-
No matter how large and insurmountable the problem might first seem, it can always be hidden into smaller and smaller parts, until a solution can be found.
-
The first rant that I'm going to do here is by writing a reminder note on posting a comment regarding Snap's inability to properly give response to the users on a solution post in Medium.
Here is the reminder:
Everything sucks: Windows, Linux, Mac, Ubuntu, Wine, Snap, Lutris every fucking program they are always fucked up, no fucking program is near to perfection. Let alone leave that fucking Snap response.6 -
Hear me out:
Since keras and tf are pretty much schema design rn what if someone made a no-code solution where you drag and drop layers and tweak things in a UI so those data scientists can design it in a UI instead of writing shitty code?5 -
I have installed PyAudio but whenever i try to import it, it throws an error called "no module named PyAudio".
I have also googled abt it but didn't find any useful answers. Anybody have solution for this...4 -
I'm just about throwing my new Dell laptop (Precision 5520) out of the window!
When I disconnect laptop from the thunderbolt dock (TB16), the laptop screen stays off until it's connected back to the dock. No matter if I put the laptop to sleep before disconnecting. Everything works just fine if I shutdown the machine and restart it without connecting to dock.
The best part is that the computer seems to be running normally, the screen is just black.
Anyone got a solution in mind? I'm running Windows 10 and I have installed all the possible updates.1 -
If you were to host a PHP website in a managed hosting, able to handle 200 concurrent users and upgrade to a better plan with no or small downtime if needed, which would be your choice?
The ability to integrate a CI/CD solution would be really helpful.
Context: We are dealing with a one-time campaign at the company and we don't plan to integrate this project into our architecture, so we looking for alternative solutions where to host it and deploy it to.5 -
Thought I'd give kotlin spring boot a shot. I assumed it would work out of the box like with java. It didn't. Apparently with jdk 17 I chose an incompatible version with the gradle version provided. Downgrade gradle. 'runApplication()' still marked with an error, which I cannot seem to solve. Answers from the internet are no solution.
But I can run the project ... but I cannot reach my dummy address, same with maven ... wtf, which part of rtfm did I miss? Wasn't kotlin supposed to be the better java?3 -
Halp meh, plz... I have run across a problem and I have absolutely no idea how to go about solving it...
So basically I need to decrypt a TDES encrypted Azure service bus message. Can be done in a straightforward manner in .NET Framework solution with just your regular old System.Security.Cryptography namespace methods. As per MSDN docs you'd expect it to work in a .NET Core solution as well... No, no it doesn't. Getting an exception "Padding is invalid and cannot be removed". Narrowed the cause down to just something weird and undocumented happening due to Framework <> Core....
And before someone says 'just use .NET Framework then', let me clarify that it's not a possibility. While in production it could be viable, I'm not developing on a Windows machine...
How do I go about solving this issue? Any tips and pointers?10 -
need help with android automation. no where on the enire internet is there a solution for taping the "Done" button on the soft keyboard
-
this is my first actual rant. I am trying to learn es6 right now and have encountered switch statements for the first time. after a 26 minute video explaining how to do switch statements (which is literally just the same kind of information on them that you can get from w3 or mdn I am given a large task with no practice to create a switch function that hold four values two values containing positive integers and two values accepting strings. then I have to be able to pass days and minutes through it.
an example solution after input would be:
addTime(1,"hour",3,"minutes")
I feel like this is too complicated with 26 minutes of information and no practice exercises to prepare for that.
-end rant7 -
I'm doing the recommended math tasks. Since I can't trust the prof's solutions (he does errors here and there), I watch YouTube videos, Khan Academy videos, compare the results of the prof with the results of online step calculators such as wolfram alpha and find new rules I've never heard of before.
The prof doesn't really comment every step about why he's doing what. He just provides the solution and I have to reverse engineer from his solution up to the original state of the equation. Repeating the same procedure for the online calculator results as well.
I have to say that "Oh, boy, did I learn so many valuable things..." Stuff that I should have learned when I was at least doing my A levels (Abitur).
It is as if I am opening the gates to a new world. Not even exaggerating. Ok, maybe a bit. Ok, maybe a bit more, but no bit more than that.9 -
Can somebody give working example how to solve
Access to XMLHttpRequest at 'localhost:8000/index.php/api/companies/1/logo' from origin 'http://localhost:8080' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.
this error is talked so much but no working solution I can find. Maybe it is somewhere but cannot find so far in the internet trash.
Nginx server.
Not by installing chrome plugin, because other people would also need to install it. Thats not a solution.20 -
I: Sure i can code this event calendar. We have two options. Adjust design and use plugin like fullcalendar. I can adjust the look pretty fast and cheap. Second option is code this from scratch. It will look and act exactly the same as design but will be bit expensive. You know, whole javascript, CSS, HTML and so. Basicaly like entire new calendar plugin or so.
He: Client already saw the design and we do not have high budget.
I: Ok, no problem, let's use fullcalendar.
He: Designer promised to him to be exactly like design.
I: Without asking developer for solution in available price range and time frame?
He: Hm...
I: Good luck.
---
It's just funny.1 -
I am newbie to Ubuntu from windows
.
.
.
I installed nodejs in windows with few seconds
.
.
.
But here ubuntu i trying since last one week.
.
.
Error Posted on github (https://github.com/nodejs/...)
.
and
.
askUbuntu(http://askubuntu.com/questions/...)
.
.
No solution thinking back to windows.......................................12 -
Recently started a new role as a junior dev(second role). Three weeks in and I'm already starting to loathe the work setup & process.
Last week I was asked to fix a bug due to them not having anything in the pipeline for me(I had finished my allocated tasks for the sprint). There was no spec to this, no visible steps to replicate the error & no tests in place to validate it was working... I thought I had fixed it, even had one of the seniors reviewed it on my PR but also I walked him through my possible solution resulting in us moving forward with the "improved" solution.
After a bank holiday, I've come back to find that the "fix" I had deployed doesn't solve the problem at all. So here I am after 3.5hours of flying blind with a bug that I'm still not able to reproduce, bored and frustrated asf. Not to mention, that the codebase has little to no consistency, a lot of legacy and almost no form of tests.
Am I overreacting to this as junior?1 -
Hey guys, my apple watch series 2 got broken recently. It doesn’t charge at all. It’s like electricity what’s that?
So I did all troubleshooting you can think of and all the ones on the web. Still no go.
Although some ppl reported that after a week or so their watches started charging again and didn’t have the problem anymore(which points out to some software error and once battery completely drained it kinda reset itself?). Anyway my battery is dead like nothing ever comes up on the screen anymore but still doesn’t charge.
I wanted to ask if anyone here had such problem and found a solution to it maybe?2 -
After ranting here about no meetings
My boss decided to have one about why we haven't delivered a feature (w/o specs)
And fastest solution even he could help writing pure SQL code in code.
"You never gonna do that" - me
"But "
"..." - disagreeing with head -
What's the term for a problem with no specific optimal solution?
I'm thinking null complete/complex but doesn't seem to be it....5