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 - "one solution"
-
So, I needed a package installed on one of our Unix servers. The package manager--which is obsolete garbage--was failing with a message which can only be described as a variant of "Go fuck yourself". A quick Google search didn't help.
3 espressos and an eternity later, I have descended into a manic state. My hair has turned grey and I have started lactating. As a last-ditch effort, I try a new search query on Google, and the first link takes me to a forum with a thread discussing a similar issue. The last post in the thread has a solution which works for me. After fixing the issue, everything in the world feels right and I decide to thank the generous poster, who is like an angel to me at this point.
Guess what? The poster is none other than me. 8 months back, I had created a user account on the forum just to post the solution to a similar issue I had on another server.13 -
My CEO: "So! You are the new guy we hired to design and manage the implementation of our new state of the art super-duper fancy ERP solution with badass Business Intelligence systems to grow our company which already spans over several localities across the county, that has to live for at least the next 12-15 years?
Please remember that the Windows Server in the rack in the basement needs replacement soon, and that our new fancy solution must not in any way utilize cloud-technology or SaSS! I don't like that! I think it's a scam! We store everything on premises, own our infrastructure and we buy our software...Because I think that is best!"
Me: "So... let me get this straight: You want me to build you a one-off, concept sports car that can outperform a Lamborghini using only plywood, duct-tape and a donkey cart?"
He walked off... I may need a new job next week!14 -
So my actual job is being a nurse at the local hospital, with coding being just a hobby. However, the way some IT–Related things are treated here are just mind-blowing. Here are some examples:
Issue: Printer is not recognized by network anymore due to not being properly plugged in
Solution: Someone has to tell the house technician, if the house technician is currently not available, ask his assistant who only works part time and like twice a week. House technician took the printer (God knows why), came back 2 days later and plugged it back in.
Issue: Printer 1 of 2 on ICU has run out of ink and since all computers default to printer 1, nobody can print.
Solution: Call the house technician, blah blah, house technician comes, takes ink cartridge of printer 2 and puts it into printer 1.
Issue: Public WiFi is broken, can be connected to but internet access is missing. Probably config issue as a result of a recent blackout.
Solution: Buy a new router, spend 5 days configuring it and complain about how hard networking is.
Issue: Computer is broken, needs to be exchanged with a new one, but how do we transfer the data?
Solution: Instead of just keeping the old hard drive, make a 182GB backup, upload it to the main file server and then download it again on the new computer.
Issue: Nurse returns from vacation, forgot the password to her network account.
Solution: Call the technician who then proceeds to open a new account, copies all the files from the old one and tells her to pick an easier password this time. She chooses "121213".12 -
This is kind of a horror story, with a happing ending. It contains a lot of gore images, and some porn. Very long story.
TL;DR Network upgrade
Once upon a time, there were two companies HA and HP, both owned by HC. Many years went by and the two companies worked along side each one another, but sometimes there were trouble, because they weren't sure who was supposed to bill the client for projects HA and HP had worked on together.
At HA there was an IT guy, an imbecile of such. He's very slow at doing his job, doesn't exactly understand what he's doing, nor security principles.
The IT guy at HA also did some IT work for HP from time to time when needed. But he was not in charge of the infrastructure for HP, that was the jobb for one developer who didn't really know what he was doing either.
Whenever a new server was set up at HP, the developer tried many solutions, until he landed on one, but he never removed the other tested solutions, and the config is scattered all around. And no documentation!!
Same goes with network, when something new was added, the old was never removed or reconfigured to something else.
One dark winter, a knight arrived at HP. He had many skills. Networking, server management, development, design and generally a fucking awesome viking.
This genius would often try to cleanse the network and servers, and begged his boss to let him buy new equipment to replace the old, to no prevail.
Whenever he would look in the server room, he would get shivers down his back.
(Image: https://i.bratteng.xyz/Ie9x3YC33C.j...)
One and a half year later, the powerful owners in HA, HP and HC decided it was finally time to merge HA and HP together to HS. The knight thought this was his moment, he should ask CEO if he could be in charge of migrating the network, and do a complete overhault so they could get 1Gb interwebz speeds.
The knight had to come up with a plan and some price estimates, as the IT guy also would do this.
The IT guy proposed his solution, a Sonicwall gateway to 22 000 NOK, and using a 3rd party company to manage it for 3000 NOK/month.
"This is absurd", said the knight to the CEO and CXO, "I can come up with a better solution that is a complete upgrade. And it will be super easy to manage."
The CEO and CXO gave the knight a thumbs up. The race was on. We're moving in 2 months, I got to have the equipment by then, so I need a plan by the end of the week.
He roamed the wide internet, looked at many solutions, and ended up with going for Ubiquiti's Unifi series. Cheap, reliable and pretty nice to look at.
The CXO had mentioned the WiFi at HA was pretty bad, as there was WLAN for each meeting room, and one for the desks, so the phone would constantly jump between networks.
So the knight ended up with this solution:
2x Unifi Securtiy Gateway Pro 4
2x Unifi 48port
1x Unifi 10G 16port
5x Unifi AP-AC-Lite
12x pairs of 10G unifi fibre modules
All with a price tag around the one Sonicwall for 22 000 NOK, not including patch cables, POE injectors and fibre cables.
The knight presented this to the CXO, whom is not very fond of the IT guy, and the CXO thought this was a great solution.
But the IT guy had to have a say at this too, so he was sent the solution and had 2 weeks to dispute the soltion.
Time went by, CXO started to get tired of the waiting, so he called in a meeting with the knight and the IT guy, this was the IT guys chance to dispute the solution.
All he had to say was he was familiar with the Sonicwall solution, and having a 3rd party company managing it is great.
He was given another 2 weeks to dispute the solution, yet nothing happened.
The CXO gave the thumbs up, and the knight orders the equipment.
At this time, the knight asks the IT guy for access to the server room at HA, and a key (which would take 2 months to get sorted, because IT guys is a slow imbecile)
The horrors, Oh the horrors, the knight had never seen anything like this before.
(Image: https://i.bratteng.xyz/HfptwEh9qT.j...)
(Image: https://i.bratteng.xyz/HfptwEh9qT.j...)
(Image: https://i.bratteng.xyz/hmOE2ZuQuE.j...)
(Image: https://i.bratteng.xyz/4Flmkx6slQ.j...)
What are all these for, why is there a fan ductaped to on of the servers.
WHAT IS THIS!
Why are there cables tied in a knot.
WHY!
These are questions we never will know the answers too.
The knight needs access to the servers, and sonicwall to see how this is configured.
After 1.5 month he gains access to the sonicwall and one of the xserve.
What the knight discovers baffles him.
All ports are open, sonicwall is basically in bridge mode and handing out public IPs to every device connected to it.
No VLANs, everything, just open...10 -
A sound recognition system
Being deaf is one major factor that's kept me from moving out. I can't hear sounds like doorbells, fire alarms, etc
I want to build a client-server solution that can be trained to recognize specific sounds63 -
boss: please look into tools that do X.
fullstackchris: Ah, here's a solution we can use!
boss: I don't want to use it because it is too complicated.
fullstackchris: ok, that's fine with me...
[one week later] boss: oh I found this nice site that does X, can we do X?
fullstackchris: YES, THAT'S EXACTLY THE SOLUTION I ALREADY FOUND, *AFTER* YOU ASKED ME TO LOOK FOR A SOLUTION, AND IN THE END YOU DIDN'T WANT TO DO IT. OH HAVE YOU CHANGED YOUR MIND?!?!
F*@#! *%*#8 -
Fuck stupid client.
Sorry:
Boss: client want to white label the solution.
Me: ok. They just need to create A record and send as SSL certificate and I will do it.
Client : here is your SSL certificate.
Me: spend whole night to make the transfer and setup server and check whole solutions one by one for reference to our company.
Next day wake around 2 pm to 100 whatsapp message, call from client and noss.
Turns out client IT team revoked the certificate without informing and the product stop working for all people.
Me: go to back to sleep.6 -
Had to do a course on database design a couple of years ago. One exercise was about SQL queries and a bit of theory of databases.
On the night of the submission I got so drunk that I had to use both hands to control the mouse and instead of my solution I uploaded the exercise description.4 -
The magical solution to everything.
It reminds me of the time when we were watching The Great Gatsby movie in honors English class. The the projector wouldn't work.
As a joke, one kid said, "try turning it off and turning it back on."
The whole class roared with laughter, until it actually worked. They stared at it in silence.3 -
(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 -
I recently had the problem with my Galaxy S8 that my camera won't focus. Searched for solution. Found one which said: "Just hit the side of your phone when the camera is on."
Problem fixed, camera focuses again.
I like this kind of problem fixing.2 -
I built a gaming PC and have been addicted to it for the last few months (rocket league, subnautica, Xcom2 mostly) and my Girlfriend complained that we didn't do anything anymore... solution? I built her one too (now she won't stop playing prison architect!)
I think I might just have to marry her.19 -
My boss asked me to do tech support today as one of tech support employee was not feeling well.
The very first call i attended, went like:
Me : Sir, this is xyz support desk. How may i help you?
*Listening his problem*
Me : Sir solution is pretty simple. Just do a Right click on application shortcut icon and then select "Open File Location".
Client : where can i find "Right Click"?2 -
Me: Enters SQL class
Prof: We will draw ERD diagram on awwapp
Me: (In my head - I hate ERD diagrams) start drawing the first ERD diagram
Prof: That diagram is wrong
Prof: opens SQL Activities_Solution.pdf on his PC
Me: Tried to change the file name on aws to get solution file - fail
Copy SQL Activities.pdf file url (https://url/courses/6429/...). Adds 1 to 1100726 = 1100727 and downloads SQL Activities_Solution.pdf
Open PDF in one tab and awwapp on another and just draw the solution
Prof: Are you sure this diagram is corect?
Me: (In my head - I copied the solution so yes) ...
Prof: Let me check the question
Me: (In my head - seriously? you don't know the answer)
Prof: Checks the correct answer on his PC and then checks the answer on my PC
Me: (In my head - completed another boring uni class) pack up and go home8 -
Solving a problem with a different, simpler solution than the one the professor intended and having to go back and recode it the way he wanted6
-
Had an interview in a MNC company.
He: Propose a solution for reading huge logs file like 1 GB and parse errors with today's date.
Me: Gave two solution, one with regex and second with buffering the logs (reason: reading the entire in same shot will cause cpu spike with huge memory consumption) and I fell in love with my second approach. By the way it was on paper.
He: (Without seeing the logic) Your syntax is wrong.
Me: Got frustrated who the hell checks syntax in interview. I asked how may years of experience you have?
He: 10 years.
Me: I don't wanna continue, and I left.5 -
One of my favourite, encryption puzzles is this:
ITuyVT93oUZtLKWyVT5iqPO3nTS0VUEbMKxtp2IyoD==
Answer is plain text string in english. Good luck, post solution in the comments!18 -
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 -
My (soon to become ex -) boss thinks "Every problem has an one-liner Javascript solution, that he doesn't have time to write."29
-
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 -
I recently interviewed for a job at company where I had 20 minutes to code a solution in python (whose standard library I know nothing about) to a question, which also included googling certain finance-related APIs, with not one but two technical interviewers looking over my shoulder THE ENTIRE TIME.9
-
One of the bigger and more important IT projects this fall. Technical solution proposal needs to be ready by Thursday morning but is far from complete. Solution? The responsible person for this went on a two day mindfulness training. Apparently totally oblivious to the term "sense of urgency". Must be a citizen of procrastiNATION.3
-
Our University professors taught us very little. If one wanted to actually learn something they had to go out of their way to learn it. I was one of the few who actually did that and as a result I ended up being the "top coder" in class.
This meant that I developed an ego.
Then came internship. It was two months of systematic breaking me down and building me up again, forcing me to stop thinking of a solution that just works and actually think of a good design to a solution.
I know I still have a long way to go but I know those helped me grow as a developer. -
I have just thought of the perfect solution when support for fucking ancient IE versions creaps in the requirements (and asking the assholes to produce numbers to support the crazy does not help)
Just do browser detection and if IE < 9 Replace body with one of those winXP alert boxes that tell them there Computer is infected and that they can get a free scan (it's what they are used to anyway). Put a link to the installer of your favourite browser over the entire image.😎
Good news is 100℅ code reuse! Works on every outdated IE and every website that requires IE support.4 -
My manager is an idiot and a complete asshole.
Knowing that I was working on a solution for an important problem, he sent an email to our customers saying that the problem cannot be solved, and the customers need to take care of it themselves. He sent this email the evening before I was supposed to present my solution to everybody.
It's not the first time something like this happens, but this stupid individual RESIGNED ONE MONTH AGO. He's in notice period right now, and nonetheless he keeps fucking people like he used to do. WHY THE FUCK MANAGEMENT DOES NOT BLOCK HIS EMAIL!?4 -
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
-
Common lies told by developers?
Here's one of mine: "It works on my screen".
I then proceed to ask them their specs while I think of the solution.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 -
!rant
*me trying to add one more field to a SQL request*
*asks coworker* Hey, do you know how I'd get this field? You have to go through 4 tables just to find it because of the way the tables are related.
*coworker looks for a bit* Oh. That's crazy. We should ask the DBA.
*we ask our 60 year old DBA for some help.*
He walks us through a minefield of inner and outer joins and selects and we finally arrive at a solution. Kudos to our DBA, who in the eyes of us young devs is a wizard.3 -
Ah the day before launch of a new app. And right on schedule the businesses is attempting to completely alter their requirements including a COMPLETE OVERHAUL OF THE DATABASE MODEL TO ADDRESS AN ISSUE THAT HAS ALREADY BEEN FIXED. I wish they would share the drugs they are clearly on so I could also live in this dreamland delusion where you can turn something completely on its head right on the finish line and expect everything to go well.
Manager: Hey I think I have a solution to that performance we talked about last week
Dev: I already fixed it, it only takes 1 second instead of 30 now.
Manager: Ok but I’ve also figured out a solution. If we completely change the entire database model that one query could potentially be even faster according to my understanding of how databases operate.
Dev: I fixed it without the need for that, actually it was just a matter of better conc—
Manager: I think we should go with MY solution. Drop everything and restructure the database immediately! Be quick, as you know we launch this application tomorrow! Have an extra coffee today and just crush it out, don’t overthink this either just do it.
Dev: …11 -
The situation right now:
Our client: full of legacy desktop solutions that always ran inside a VPN, but wanting to modernize the system and migrate to be hosted in the cloud.
Our first project with them: Frontend built with Angular, backend in a serverless model, all with GraphQL and heavily tested to assure quality. The system is mostly an internal software for management, but the backed may receive data from an App.
The problem: all management users have weak passwords (like "12345", "password", or their first name).
The solution: restrict our system to be accessible only inside the VPN
The new problem: how the mobile app will send data to our backend?
The new solution: Let's duplicate the backend, one public and the other private. The public one will accept only a few GraphQL operations.
------
This could be avoided if the passwords weren't so easily deductible12 -
In the last weeks there has been some turmoil on the Fediverse (Mastodon, GNUSocial, Pleroma etc) about "how nazis prefer a certain kind of software and therefore must the developer of the software take action".
One solution is to make software "harder to install so nazis can't install one"
The thing is, that people like that do a better job of spreading the views and the message of the self-proclaimed nazis. I wish people just started to ignore them.6 -
My manager who promised me team change soon.....resigned.
I thought the worst had happened.
Then my team lead with whom I had issues was promoted as manager for our team.
I realised worst was yet to come.
And then today, in one day....I reached out to HR and then my Director and got my team changed
Now feels peaceful.
This is just temporary solution as I was mentally getting affected. I don't plan on staying in this company for longer....3 -
After being in China for one week,I realized how much I actually use Google during the day.don't know how they do this but even using a VPN is not a solution most of the times :-? At least devRant is not blocked here;)13
-
!rant !dev
True story. Some years ago I worked, for a network manufacturer in the support department. One of me jobs was to help end-customer (private people) over the phone, who could not get online.
One day a 60+ year old woman called the support line, because se could not get on the Internet. And because our name was on the router, she called our support.
A colleague of mine took the call, and we could quickly see by his expression the it was "One of those calls". The minutes went by and they had gotten no closer to a solution after 45 min.
That was when I herd my colleague say "Well from what you tell, all the settings here are fine. Can you please close all the windows, so we can look at other settings". My colleague the looked weird and said, "She just told me it takes some minutes to close all the windows, so please hang on.".
After 2 min time the woman came back to the phone and said "I have now closed all the windows in the house, except one ceiling window that only my husband can reach. Hope it doesn't matter".2 -
Found three questions on different websites, each describing exactly the problem I'm having right now. Neither one of them has a solution... FUCK.4
-
You have to integrate company A system with company B.
You look up B`s api documentation, write the necessary code, test it thoroughly. Done
__________________________________
A wild dev from B has appeared!!!
------------------------------------------------------
him > you cannot use this SDK to implement this solution. You must use a different one...
You > (coming back to him after scouring through the docs) . Ok which sdk is it then? I can't find it anywhere. Could you send it to me pls?
him > I don't kbow, my knowledge doesn't go that far. Send an email to the dev department.
After sending the email, and spending a couple of days trying to figure out which sdk was he referring to. His department answers that the sdk you should use, is the one you already used. The only one they have.
A couple of days lost, because certain smart-ass could not refrain himself from meddling in the project.
What would you do?
Note: Killing him is out of the question :)8 -
FUCK
Have you ever worked with people that constantly asks you what to do? People who are in the same spot as you, I mean.
- Hey, you should start debugging this while I finish this menu
+ So what's failing?
- I don't know man, but there's a bug
+ But where?
- You should look for it, I'm trying to link this to the controller
+ How can you not know?
- Do you know?
+ Where should I look for it? Here?
- ...
(One crappy solution after) + Here it is, I'm moving to something else
- ...11 -
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 -
Lately I've been ranting about this new company I joined ... The senior developer said this today:
"oh i didn't know u can add more than one project in a single solution " .. !!!
🙄 🤭 😑. . ....8 -
My uncle introduced me to basic and used to challenge me to solve problems. One day he challenged me to write a program that generates the Fibonacci series. Thirty minutes later I had the solution and was irrevocably hooked :)
-
Highschool culture...
Here in Italy we run a few exam simulation in order to prepare for finals in June.
One of the two categories of simulations, one of which revolves around the core subjects of our technical course which in my case is CompSci and Networking.
"Sounds good!" one would say.
And I'd agree, if only our CompSci professor graded solutions in a sensate manner.
If one does not exactly copy and paste the solutions we repated in class 100 times (which, by the way, are all EXACTLY the same solution but with different data in diagrams and other sections), the grade WILL be insufficient: no but's or why's.
This is only one of the prime examples of what school revolves around. Sometimes it just feels like we are trained to be sheeps in a world of wolves. Rinse and repeat over and over. No technical competency is (almost) ever valued or allowed to be expressed and is often looked down upon by old school professors who literally care about everything but their subject, students and school in general.
I'm glad this is almost over, and that greener pastures are ahead :)8 -
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 -
Finding a forum post that perfectly describes your extremely niche problem only to have the solution posted in a bunch of dead photobucket links has to be one of the worst emotional rollercoasters of all time.3
-
User: - The application throws an errror message.
Me: - The error message is caused by a minor bug that doesn't affect functionality, though. This is an old solution that is in the pipe to be redesigned from scratch. As this function is rarely used, perhaps you can live with this cosmetic bug for a couple more months?
User (one week later): - I haven't got any answer from you. How is this issue proceeding?3 -
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
-
Hey guys can someone help me to understand this ...
9\x96\x16\x90 \xAF\x7FAQ\x8C\xD6O)\xA1\x80\xFF\x193K\xF4\xF9v3G\x81\xA6T\x99\xADa\x94\xE5
One of the friend got a mail saying send solution to that particular one. That looks like encoded some shit.. :/ TIA19 -
Woke up from my sleep last night because the solution for a long running bug hit me. In a hurry I ran to my work-desk not too far from the bed and flipped open my laptop so hard I broke the screen.
I’ve sent the laptop for repair but my night was so long I didn’t want to get off because previously I only had one problem but then it doubled.2 -
The great thing about coding is, every problem can be solved with logic. And the simplest solution is often the best one.
Often when I don't know what to do, I just keep thinking about what I want to have and break down what I need for that and in the end I always come to a good solution. And it gets easier from time to time. -
Who's got time to be an imposter. 🤷♂️
I am out of my depth 90% of the time, always diving into areas that are foreign to me, you just need to enjoy the buzz of knowing you are coming out the other side more knowledgeable then you did going in.
But if you do get overwhelmed with this condition, step back, take a breather, and use that moment to think things through at the big picture level before moving forward again, sometimes the right solution is hard to think off when you're to focused and drowning your way through a bad one.4 -
Man, fuck the SO community
I asked a question on software engineering (all fancy like, links quotes checked spelling and grammar etc.)
if it would be beneficial to switch to another language in order to increase performance and memory limitations during a specific task
Literally one guy said it violated 4 of their rules
Opinion based; asking for language switch; too vague and another one
About 20/30 minutes later my question had a -3 score...
Fuck off with too vague, also why shouldn't I switch language for a single task... If it would be faster..
Anyway found an even better solution, but it cannot be enough said.. the SO community is a bunch of old stubborn fucks who only care about their score.4 -
When I saw an O(1) algorithm solution. I was so amazed that I got goosebump. Still wondering how one is able to come up with such algorithm.
Another times when I understand how the whole thing works in a project. This class is doing this, that class is doing that, this file contains the configuration, etc. Its like everything is connected.
Other times when you see your pet project start to take shape. You just want to cuddle it.12 -
I was looking around to do some stuff with wireshark and I stumbled across a forum question from a 2012 in which someone actually replied with the people from the future in mind.
God bless you shearn89 🫡
Youre a real one
And to those that reply "I found the solution thx" and don't post it: eat a dick11 -
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
-
Me: Found solution on StackOverFlow, lets copy/paste code and try it out
*Clicks ctrl+v*
Computer: There's your value!
Me: Wait that's not what I copied
*notices that I copied from a different computer and expected it to paste on this one*
*cries in corner* T_T6 -
I'm a junior dev working with some very proprietary applications. The point is, I can't Google for code solutions at all.
The seniors are all very put upon and too busy to offer much actual help unless it's urgent.
I beg for assistance until I'm blue in the face and eventually stumble my way to something resembling the solution.
I get one of them to review my code, and while they do I point out all the places I STILL need help.
They don't answer any of those questions but damned if they don't have opinions on how my comments should be formatted.
Aaauuuuggghhhh5 -
Remember to always implement a backup solution if the first one fails.
Don’t break the experience for the user. 😉5 -
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. -
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
-
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 -
One word. WordPress.
Thankfully, we are now creating custom solution with any technologies we pick.5 -
Maybe not worst, but most frustrating. One of the systems I helped maintain at my first job had a few different bugs that caused bad data in the database. The "solution" to the problem was to write SQL queries to directly fix the production data. This would take one member of our team (it rotated weekly) about an hour every day to fix because there were literally dozens of these errors.
All the devs knew that we could identify the root cause and fix it in, probably, 3-4 days tops. Management would never approve the time because it would take longer to fix the root cause than it took to fix the data.
I worked at that company for 7 years. The bug was there when I came on, and it was there when I left.2 -
Best "short-term" solution that is still in production.
By best, I mean the one that you regret seeing but too afraid to touch1 -
You know what is disappointing?
When you struggle with something and then you discover that the solution was clearly stated in the documentation.
In short, I'm an idiot. But I still got one upvote on my question on stackoverflow so apparently I'm not the only idiot out there. Arigato, idiot-tachi, we need to stand together so we can fail together.2 -
In my office there's a dev who regularly takes figurative shits on other devs — stuff like publicly shaming others for their mistakes, or dropping a conceited "I told you so" whenever his solution turned out to be the right one.
He's a young guy, still has lots to learn about office etiquette, and I know he usually means well (he privately apologized to me once after I told him to fuck off), but I'm not sure he knows of the effect it's having on the other devs he talks down to.
I like him enough that I don't want to go to HR about it, but I don't know how to approach the situation in a one-on-one level with this guy. I do know that something needs to happen, but I'm not sure how I can help the situation.
For now, he shuts up when I point out his flaws in logic and reveal that he's still got lots to learn about his demeanor.
¯\_(ツ)_/¯12 -
There was a sales manager who was raked with overseeing me and another dev finish a last minute request project. He said at one point to the other dev that he was mad at developers because we understood something that he would never understand.
This same manager would often sit in on estimation meetings and constantly say that we were estimating too high and needed to come up with faster solutions. When we would offer him with caveats of possible technical debt or unintended side-effects/performance issues, he'd want us to go with that solution. He would then complain that we were always wanting to work on technical debt and that our application was slow. He would also ask for very high level estimates for large, unscoped features/apps without any meaningful level of detail, then hold us to the high-level estimated date even after revealing additional features previously unmentioned.
We learned to never compromise on the right solution and to push back hard on dates without proper scoping. They didn't learn, so I and most of the good devs left. -
Issue:
Facebook is now meta. We now need a new acronym to replace FAANG.
Proposed solution:
Let’s remove Netflix. There are a dozen other streaming services in the mix, they’re not innovating over competition, they’re also worth the least in faang etc.
Bring back Microsoft to the acronym. Controversial, of course but it makes sense as the ms we see today bears little resemblance to what it was 15 years ago. With ms + meta in the acronym we therefore name is GAMMA
Open to other alternatives, so leave a comment if you have one.27 -
There is a fuck-nut moron developer in my team who's been driving me crazy. I end up having multiple conversation with him on the same problem; I give him the solution; he nods his head and then makes the same mistake he made earlier.
I really want to help him learn and grow, but one can only tolerate so much stupidity before giving up.4 -
This incident is from my college days.....
I saw one of my friend was arguing with his project partner. He was pretending to know everything in programming better than his partner.
Just for fun, I asked him to implement single linked list by using arrays/pointers (I gave him 20 mins and told him to do in any programming language he is familiar with). He was not able to do, so I suggested him to use Google and see if he can find something which can help him with implementation....
Within 10 min he came with a solution which was working fine. So I asked how does he implemented, and what does the methods do.... As expected, he was blank and I got to know he copied entire solution from Stackoverflow.....
A thought came in my mind:
Just by knowing copy/paste won't make you a programmer....... <\>4 -
I finally found it!
I set up an self-hosted gitlab at our company and for some reason everything worked except for one thing: using git (clone, push, etc) via SSH.
The solution was on the 'common installation problems' page at gitlab, but it took me a long time finding it through Google.
I read through the auth.log and realized the 'git' user was locked. Swapped the '!' for a '*' in the /etc/shadow and now it works. -
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 -
If my boss says "Don't think in the solution space; think in the problem space" one more time, I'm gonna start crying in pain and banging my head against a robot. 🙄😂😂3
-
A friend of mine had a MacBook. She had a DSLR too and she used some software on her mac to transfer the files on it.
At one point she ran out of space and thought that it's a good idea to uninstall that software as a temporary solution. The software took all her childhood pictures with it.4 -
One of my first projects involved a python server. This was before I even knew about CD/CI, so we were updating by ssh-ing in, pulling, and killing the process.
My solution? Make an endpoint that pulls the repo and intentionally crashes the server to restart it. We used it for two years.1 -
So back on November 7th I received my Xbox one x project Scorpio edition, unfortunately the model I have suffers from some sort of defective thermal paste and after a good couple of hours of elite dangerous at 4k, it shuts itself down and I have to wait overnight for it to work again. Microsoft said if I send them it they'll give me a new one in about 2 weeks, my solution is to hold it outside my window for 5 minutes to cool it down. God bless the cold of the UK.12
-
The Setting:
Ola Cabs (One of the biggest competitors of Uber, for those who don’t know) comes to college to recruit software devs:
✅ Pre-placement talk
Now time for the aptitude/code round. Hackerearth used as the solution to run the test and compile code, as well as check the result immediately. Or so I thought.
3 programming questions, 2 hours.
The problem:
Me: *Write the code for the first question* (and I know it’s correct)
Me: Clicks “Compile and run”
Compiler: *Compiling*
*LITERALLY ONE FUCKING HOUR LATER*
Compiler: *Still compiling*
Hackerearth. What a fucking joke. Though the course of the HOUR I waited, I kept questioning the recruiter head from Ola and his response was:
Recruiter: “Try the other program, it’s possibly a problem with your code. I’ll check at my backend also, hold on.”
YOU FUCKING DIMWIT. MY CODE IS PERFECT AND EVEN IF IT WASN’T IT WOULDN’T TAKE MORE THAN A MINUTE (If you’re factoring in absolutely worst cases) TO COMPILE THIS SMALL ASS FUCKING PROBLEM’S CODE.
In the meanwhile I even coded one of the other remaining questions’ solution and the shit still didn’t work.
At the end of the 2 hour time limit, I’d finished code for all 3, the recruiter stops us all from coding and says:
Recruiter: “Just submit your code, we will evaluate it and get back to you.”
Like fucking hell, asshole.
*One hour post interview*
EVERYONE who attempted the aptitude code round (At least 30 of us) receive messages on our phones:
“Unfortunately you did not clear the aptitude round and we will not be able to take your application forward.”
FUCK YOU OLA. IN ONE FUCKING HOUR YOU “EVALUATED” ALL OF OUR CODE? FUCK YOU HACKEREARTH FOR YOUR SHIT FUCKING EXECUTION OF A “SOLUTION”. Maybe test your own fucking product before offering a solution to companies.
Fucking lost opportunity.3 -
Spent 3 hours today digging through 3rd party libraries, trying to get them all to work together nicely.
The solution? A one line fix in my own source.
FACEPALM!!! -
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 -
I don't need you to reiterate what the problem is. I am aware. I was the one who told you what the problem is. Via email and Slack. Why do you keep restating it to me like you are the one who figured out? I know the table isn't syncing with the third party object. I'm trying to figure out WHY. No amount of "I'm pretty sure the sync process is broken" will trigger a solution. Stop coming into my office every 5 minutes with a new "revelation" that wasn't even your own. This isn't my code, and since the owner of said code is not here to fix it, I have to spend some time figuring out how this damn thing works. SO PLEASE, FOR THE LOVE OF GOD, LET ME WORK SO I CAN FIX THIS2
-
In the first few months that I took coding seriously, I used to see a feature in some android apps that I really liked and wanted to do. One night in my sleep, I don't know how, but dreamed about it's solution and how to achieve it. So I snapped out of sleep at 2 am and started working on it. I finished it at around 5 am, but I was too exited and happy to go back to sleep, so I kept adding things to it and expanding it until 8 am, when I had to go to work. And at work I had to code until 5 pm, although we had one hour for food and resting. That was the longest I coded!1
-
I was pair programming today with one of the seniors in VS. He thought it was weird that I had docked solution explorer to the left side instead of the default right. This makes me wonder, why is solution explorer docked to the right side by default when in almost every other editor (even VS Code), the "document overview" is always on the left?5
-
Patience. It's the only virtue I think if anyone has it, they can make it in this field. And you can't fake patience, it comes from within.
You need patience because coding can be extremely frustrating. And without patience, you might not be able to sit in one place for 12 hours a day trying to find a solution for a single task. -
It all started when I was driving and wasn’t paying attention to the road bc I was trying to think of a solution to a coding issue when all the sudden a deer jumps in front of my car! My car is smashed and I call road service. They send someone out and as I wait I decide to do a little coding while in the middle of the woods with my laptop. I sit down and the same deer (remarkably un phased) charges me and kicks my laptop like a football. I suffered not one but two impacts from coding...4
-
Life as a developer:
1. install cool new lib
2. getting an error
3. google for solutions
4. try one solution => step 2
+ repeat recursively -
just spent 2-3 hours trying to make a slideshow responsive for mobiles.
position().left returned an incorrect value breaking the whole thing. then jquery animations slowly produced a one pixel discrepancy when everything is animating based on the container width. breaking the whole thing.
Only solution has been to pretend all is fine.
things that make you want to smash something.3 -
I work for a programming / design studio / tech and new solution company. We do all kind of new tech inventions.
Everyone is a tech guru, except my boss who don't know one single programming language, don't know even how to format a pc, never finished his school..
The other day we asked me how to change his phone ringtone..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 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 -
One of my worst WFT moments was just over 2 years ago.
A former colleague had been tasked with “upgrading” our solution for handling customer specific CSS on our platform for building newsletter emails.
He had been with us for about 5 years and ported most of the front end gui over that time from classic asp to .net and C#.
This work started in November and with a pause over dec-mid jan for high season and Christmas leave he continued.
In the beginning if mars we had the first of multiple WTF on that when I realized that his solution required a lot of special CSS or rather LESS, more than the a actual HTML for the template, and all was custom less rules that was very hard to understand.
We found that he actually never really understood how LESS worked and had tried to do things in a very backward way. Another colleague jumped in and manage to clean it up a bit so it got down to manageable levels.
Then in the end of Mars came the next bigger WTF. This is a newsletter building application. Turns out the new LESS based solution was entirely dependent on the js version of LESS and only worked when running in the browser. Guess what, the email send engine is not a browser and css classes and rules generally does not work in emails.
The new solution was impossible to integrate with the part that built and sent the emails without some very heavy rework.
Oh, and it was also completely incompatible with 12 years of old newsletters and customer templates that just did not work.
And of cause, he had not shown any of this in code reviews but rather just merged it part by part to the new version branch interleaving it with 5 months of other work.
He left the company short after.11 -
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
-
Worst part of being a dev,
When you find a problem that is very similar to the one you have on stackoverflow, but it's slightly different and the solution doesn't work for you.
So then you ask your specific question and you immediately get some downvotes and comments referring to that solution that didn't work.
And then after weighing all the options, you decide to rewrite the whole program or script or whatever.1 -
What fascinates me the most about the industry we work in, is the disruptive and transformative nature of ideas the come out every day.
The technology we use augmented with the software we build have the capability to disrupt and shift the existing paradigm of absolutely any industry today. The solution we construct changes the way in which an industry functions, and brings the horizon closer while making the ocean wider.
So does our capability to design and transform the existing landscape with the ability to visualise the many dimensions of a problem that are otherwise overlooked by others.
I had one of the best feelings today when 3 extremely prolific doctors in the Indian opthalmological industry told me how the solution i built could change the way in which they have been working for almost 20 years ... For the best ...
It's just such a great feeling to know every line of code we write , execute and debug would one day disrupt and transform an otherwise traditional landscape.
So hooray to us and the things we invent, because at the end of the day a PC to code and internet for the outreach ( and stackoverflow ofcourse. 😅 ) Is all that's needed to bring about a metamorphosis of conventional thoughts and theories.1 -
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 -
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 -
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
++++++++++[>++++++++++<-]>>++++++++++>->>>>>>>>>>>>>>>>-->+++++++[->++
++++++++<]>[->+>+>+>+<<<<]+++>>+++>>>++++++++[-<++++<++++<++++>>>]++++
+[-<++++<++++>>]>>-->++++++[->+++++++++++<]>[->+>+>+>+<<<<]+++++>>+>++
++++>++++++>++++++++[-<++++<++++<++++>>>]++++++[-<+++<+++<+++>>>]>>-->
---+[-<+]-<[+[->+]-<<->>>+>[-]++[-->++]-->+++[---++[--<++]---->>-<+>[+
+++[----<++++]--[>]++[-->++]--<]>++[--+[-<+]->>[-]+++++[---->++++]-->[
->+<]>>[.>]++[-->++]]-->+++]---+[-<+]->>-[+>>>+[-<+]->>>++++++++++<<[-
>+>-[>+>>]>[+[-<+>]>+>>]<<<<<<]>>[-]>>>++++++++++<[->-[>+>>]>[+[-<+>]>
+>>]<<<<<]>[-]>>[>++++++[-<++++++++>]<.<<+>+>[-]]<[<[->-<]++++++[->+++
+++++<]>.[-]]<<++++++[-<++++++++>]<.[-]<<[-<+>]+[-<+]->>]+[-]<<<.>>>+[
-<+]-<<] -
My project just went from "we can use one of those arduino boards, they are cheap and easy to use" to "we need a mass storage solution for that, maybe we can buy a shipping container and put it down on a nearby field as an on site storage". I love the things I would do if I had the resources for this kind of project!
-
So I have a hardware project which requires two spindles to move something. Turns out one of the two i ordered has a sliiiightly smaller pitch than the other. Therefore it to moves slower than the other one and shit doesnt work.
FuckThis.exe I go to the hardware store and get two M8 threaded rods with nuts. Install it and it works. This shizz has less backlash than both spindles combined and cost 1/3 of just one propper spindle.
This is pretty much the first time I've seen the shitty solution work waaay better than the propper one.2 -
Why does every Linux question have 10 answers
10 ways to see which process is listening on a port
25 ways to find a file on linux
2n^10 ways to... ah forget it
Instead of find a solution, your job becomes, research these solutions until you find which one works for you23 -
• I listen to music
• I eat/drink something
• I go to the toilet and think about unrelated stuff (which might actually provide a solution)
• I go to sleep
I try the top one first, and if it doesn't work, the next one, and so on, until I am done with the last one. -
Fun drinking game: Every time the solution to a coding issue is the one you refrained from trying, take a shot5
-
One of my students failed one of the necessary tasks for exam admittance, then handed in the next one (even a bit too late via email instead of uploading it properly lol). Then I reminded him that he already failed the course and that I cant accept his solution, thinking he might not have read my previous evaluation?
"oh yea, that's right, i remember now!"
I mean like.. how do you forget something like that?!?!6 -
It is easy to believe something is over-engineered as a junior. You open a solution and get slapped in the face with a wet fish of many classes, with strange names, doing very little, with everything coming together in ways you don't understand.
My advice is to learn about design patterns, clean code, clean architecture, and model driven design. Until that point I don't think you can make such a distinction. And indeed once knowledgeable of patterns and techniques as well as the domain, the same solution can look obvious, elegant and readable.
In a field where everyone is saying 'dont over-engineer', one must be able to tell if something is actually bad, or just uses techniques you don't recognise.
Telling your senior you think something is over done just because you don't understand it is not good. First learn techniques, understand the code, then form opinions that are at least relevant then.
From someone who committed that crime.4 -
Here's a task for the bored of you ;)
"Write a python script that prints out all numbers y from one to 10**30(including 10**30) that have two of these traits: [n**5=y, m**3=y, x**2=y] but not the other one; n and m are whole numbers."
Correct answer was about 103000
I can't seem to find the solution... Here's my (failed) try:10 -
So I just fixed about a year or so old bug by removing my solution entirely.
As very few of you will know, I work on/ off on a project called TG which accelerates cmd.exe
One of my oldest bugs in this project is that the buffer resizes real weird. If you adjust both the height and width at the same time, it goes into this weird infinite loop business.
As it turns out, cmd.exe handles that by itself just fine. I just removed my resize listeners and now everything is running smooth.
feelsgood(?)man.jpg -
I think a question should be added to tech interviews and maybe the most important one.
How many times in a week do you use Google/internet to look for a solution to/information about ur problems.
Tests for a developers ability to learn or try to figure things out themselves..
Feels like a lot of people on my team just do it the way it's always been done ,. Which is ahitty.. and if they don't know something,.. they need to ask someone instead of trying to figure it out themselves...
Reminds me of that fish adage?
They never learn how to fish....26 -
Adobe labs released one new component, I played with it after two days. Went to an interview with huge company after two weeks for a developer position, the interviewers was from different departments, they asked about one technical challenge they have, then I suggest the new component as solution, they gave me small task to implement using the component, I delivered it next day... Then they hired me in R&D department. It was great days.
-
... I really truly hate with a passion..
when you've agreed on one solution and when it's done, but not approved and deployed..
suddenly decides "oh it needs, x-y-z that I said it won't need"..
Mind you, that x-y-z things mean rewriting a lot of it...
Oh well, at least I get paid for the extra hours to be spent.1 -
Please delete your browser cache.
Wtf is up with this shit?
Maybe I'm just having a streak of bad luck, but in recent days, I ran into this particular issue time and time again.
First with one of our own products - the user appearently not always was shown the newest version due to stuff being cached in the browser.
Fair enough, we had our web-dev find a solution to that, which he did. Until this is rolled out, the only resolution is to clear the browser cache.
I also ran into this same issue on multiple other fronts. For example, there's a remote connection to one of our clients I had to establish via browser. The backend was a bit unresponsive, and somehow I ended up in a situation where my login was rejected. The only solution? Clear your browser cache.
Then we have confluence and jira in the company. Same issue. All of a sudden, I could no longer log in. Worked fine in another browser.
Delete your browser cache.
Is it just that most frontend developers out there are incompetent at what they do or is this stuff broken by design? I don't recall having to clear my browser cache very frequently - in fact, I'm pretty sure I haven't done it for years on one of my PCs at home. What changed?
Ah well, maybe it was just a streak of bad luck. But still ...
/Rant7 -
I was hired to a working team that is full of experienced people who know how to code but half the team is awfull at solving problems, and all they do is blame each other... why cant they understand we are one team and rather work on solution for 30 minutes they spent deciding who fucked up...2
-
!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 -
Job advertisement :
Ongoing project in
- .Net Core
- Docker
- AWS
- DDD and microservices
Reality :
- For now we have one monolith solution with 60 projects in .Net Framework, hosted on premise.
- But on the jobs board it was described as something completely opposite.
- We are going to migrate maybe this year, if we will have time6 -
I keep a blogger for tech notes for programs and settings that were difficult problems or took up a lot of time to find the solution or so I can remember years later if I ever return to those programs. Just in case to save myself and others time. It's kind of like an adventurer's log: I've gone through these stretches of technological wilderness and here are my findings, should one day you happen upon them.3
-
I'm amazed so many people have "one" favourite editor. I have a whole bunch depending on the situation:
- IntelliJ whenever dealing with Java files
- VS whenever dealing with .NET
- VS code whenever dealing with Salesforce
- Notepad++ when just opening "any old file" to do some quick editing (never been won over to Sublime)
- vim when needing to edit files in a console environment
- nano as the second choice in the above situation when vim isn't available
- Emeditor when needing to open / work with very large files
I've never even remotely found a "one size fits all" solution.2 -
If you think you found a solution, think twice.
If the implementation is taking too long (too many changes in different functions and classes to fix a single bug) there may be a better solution, it's never too late to reverse the changes and start again, it's not a shame, in the worst case you will reimplement the same solution, but better, in the best you'll find an easier and better one.
Don't run, even if there's a deadline.
It's much worse having to deal with negative feedbacks later. -
Stackoverflow #1
Me posting question about how to prevent error.
User1: You answered your question. Its because of the error.
Me: I know. And want it gone.
User1: Proposes working yet somehow horrible workaround.
Me: Yes, that works, already did that. But i want to know why it happens.
User: Your question says you want a solution and it is one.
Me: One that doesn't solve the problem.
User2: Just give up. Don't try to find a better one.
Stackoverflow 2:
UserQ: Question how to...?
Me: Use this and that.
UserR: That is not an answer, so i downvoted and requested review.
I don't know a second community that is anti-encouraging like SO. -
I'm in involved in a situation where one old corporate is helping build solution for another old corporate's Windows 98-XP systems.
Still a better love story than twilight. -
I love gaming. I love Linux. Why can't these i have both of these in one platform.
Using Windows day to day is killng me please the gods of os development, seinors, senpai find a solution for this...8 -
Many of them. Can't decide which one is the biggest.
- when the asshole in front of me picks up a call and is loud as hell. Wanna kick his nuts.
- Chats. Hangouts. Whatsapp. Just name it.
- retards who don't know how to google something or even worse..what to google and come straight to me to get a solution.
- My own fucking head at times. You start talking about space tech and i'll have to jump into it. And i end up wasting half an hour.1 -
Several years ago, I interviewed for a popular site and it was the only one of the many interviews I did that suffer that did Google-style whiteboard problems and nobody peppered me. I didn't recall the optional way to reverse a linked list right there and then. I think I came up with the right solution and failed to communicate it well.
When we got done, I could feel their eyes trying to burn holes in me for wasting their time.2 -
I released an Android lib on JCenter.
So far so good. What I didn't realize was that I had a terrible bug related to a content provider.
Since I was using the ContentProvider to make my CursorLoader work, if someone installed an app with my lib, you couldn't install another one with it because it would conflict the providers.
I had to quickly find a solution and dispatch a new release. -
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 -
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 -
Any code should be simple and easy to read / understand.
I just reworked an old stored SQL proc.
Went from 102 lines to ... 10.
More I code, more I realize that maintainability, readability, comments and unit tests are more important than actual code. (And performances ofc. But if 1 line code does it in 1 second and 500 lines code in 0.2 seconds, I’ll take one line solution every time)5 -
PAID for a support call,
dude's answering could barely be understood while speaking English and didn't know a thing about the topic of the call itself (it was very very specific).
The call lasted 5m and was only used to schedule another one on Monday to let them understand what we're asking and come back at us with a solution.
Fucking waste of time.4 -
On a project that will crash and burn due to a badly projected date given to the business. I'm team lead and the Developement manager. I'm not sure how to save my career from this one. 22 years at this company and this may end my employment.
Can't change the date because the business has had it with deployment failures. Not enough time to do any of the technical debt and I'm not sure one if the issues has a solution.
Time to create a resume I guess. Been a really long time.
Let me know if you want a developer in Des Moines!2 -
Dear developer guy who wrote this documentation node!
You're a developer yourself. Don't you know that inverse psychology is something you should avoid, because it will not work?
Thanks!
---
Okay for real, why shouldn't one parse Build.FINGERPRINT on Android? I was looking for a way to determine if the device is an emulator or not, and came across a solution using this, and read the documentation.3 -
Ran into a problem, that I recalled also having a few years ago. Couldn't recall how I fixed it, but remembered that I struggled finding a solution back then. Got a good forumhit on Google straight away this time, exact same problem. It had one reply, by the initial poster a few days later, saying he found the solution and posting how he fixed it. Great! Love that some people actually post the solution when they find it themselves! Tried registering to post a big "thank you!", but got an "email already registered"-error. Hmm... Were able to login, then realized that the poster was...me, 3 years ago! So I guess "thank me!", then...?
TL;DR:
I almost thanked myself on a 3 year old forum post I didn't realize I had posted myself... -
Not my hack but when I was in university, for one test we had to find all 3 digits number that satisfied current set of criteria. Friend of mine knew from earlier that solution is one number and written program that just prints that number. TA give him 0 points and he get in fight claiming that not only his solution was good but also most optimal one.4
-
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
-
Had a coding challenge for an interview. 2 questions and I passed all the tests on both questions. But I got an email from the recruiter saying that one of my questions didn’t have a working solution??? Wtf it passed all the tests, am I retarded?3
-
Learning to code is like learning to write when you were younger. It can be sloppy or clean but if you keep at it it'll probably become clean. But, with these sites like code academy that accept only one solution to the problems they present it's as though you're being told that everything you're doing is wrong eventhough you get a solution to the problem in the end. It bugs me that these sites want people to code the exact same way.
-
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 -
One thing I hate about laptops is touchpads. Another thing I hate about laptops is the point stick and its buttons. Fortunately, these can both be disabled, but Dell's solution for this has some usability issues. What can't be disabled though is the third thing I hate about laptops: The keyboard. Sure, it is made small to give the laptop nifty and portable outer dimensions. Yet, there is like an inch border used for nothing on each side of the keyboard, and if you have to carry along an external keyboard how portable is that?10
-
I seem to be the person that tries to implement the default solution using the default HowTo - not going fucking anywhere because shit fucking breaks somewhere in the process.
Fuck people who advertise their software "as easy to install and to maintain" not maintaining their documentation.
Can I be a fucking user, oblivious of the world around me, just one fucking time?!
Also, coffee makes me fucking irritable atm.
Fuck everything.
(I probably should work in QA. Oh wait, I did something like that before.)3 -
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 -
Every time when I spend hours of thinking, investigations and experiments to find a solution to a problem...
And it ends up with a one line change in the git commit.
Always a strange feeling.3 -
You know that feel where you're looking for a solution and don't find one. And go down this rabbit hole of self loathing? And everything is sad and depressing. You can't think straight. You feel like an idiot. You kinda don't know/ forget things you knew a couple days earlier.
Well, that ended yesterday. For now.2 -
Okay, I realize that it doesn't mean anything, but I've been working on trying to solve this freaking Codility challenge for like a week and while I had a solution that would give me a silver award (the tests that weren't performance-based had me getting the right results, I just timed-out for performance tests), I really wanted to get a gold one. And I FINALLY DID.
https://app.codility.com/cert/view/...
Just in time for having to do a technical phone screen for a company. Maybe I'll go into it feeling like a competent programmer.7 -
The worst guy I worked with: Ex Military from USA, psychopath creating SaaS, B2B solution. The business idea was good and also got funding. He was so fucking racist.
When I joined his project there were 4 developers already working for him. One by one they all leave. I worked for the first 3 months taking over all the project.
Between the next 3-4 months I onboard 10-15 different developers and do knowledge transfer for all 10-15. Nobody works with him for more than 2 weeks.
He wants to developer do fucking 4 hours of meeting each day, repeating the same thing each time and expecting 8 hours of output. hire 3 project managers in 6-8 months. each one left.
I also told him i want to leave the project. By different ways he manages to keep me approx. 1 year. At end I told him this is my last month find another developer, So I can hand over the project. He was not able to find one. I leave the project he fucked up my profile.
Till date he has been looking for a developer, even trying to onboard developers in profit sharing. -
I hope and pray that one day I'll be able to solve problems and program things I wanna program without someones help or me looking up a better solution5
-
Now... I understand 2FA is to make things more secure, and I do appreciate it. BUT can we please work out a damn solution for people who work in an agency for other corporates which only have one shared account across the agency that bundles one phone number or mobile app.
What if people are on leave or sick? I need stupid 2FA to be able to login/work. uhhhhhhh.....9 -
"One small change, just put the locations in GPS order."
Oh god da faq is gps order.
He means, insert a solution to the traveling salesman problem. He thinks, it's as easy as alphabetical ordering.
Fml2 -
Yesterday whole day ive been trying to deploy an ios app to app store from a flutter project but kept getting "module not found" in build compilation error
I thought to myself am i fucking dumb?
Or maybe i am smart but extremely UNLUCKY in life like always?
Today i googled for this error and one of the top stack overflow answers with a +50 bounty points, first sentence they answered was "this is a very bad and UNLUCKY error, after trying to solve this issue for hours i finally found the solution..."
......
...........4 -
Today is one of those magnificent days for my code. One of those days where I stumble up on the weirdest bugs and pull a fix out of my hat barely looking at any doc. One of those days where I find out there is a very tricky flaw in our project design and yet I end up finding an elegant solution to circumvent future problems. One of those days where I find the informations I want even though the documentation is the worst I've ever seen.
I love that productive feeling.random efficient docs efficiency i actually don't like tags bugfix bug fix doc bug documentation productive -
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!!! -
For me it all has to do with doing stuff outside of work. You are not a developer for your 9 to 5. You are a developer 24/7 and it is one of the few professions where you can work on something all the time if you want to.
Not many professions have that.
In my case it's mostly books, blogposts for respectable developers and podcasts.
I also like creating a problem and making myself find the solution to it.
If you really want to learn something you need to touch it, not read about it.2 -
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 -
PMS must think there's a magic word called "it needs to be done" (by noon, in one hour, today"
Maybe they think that whenever they say, the solution becomes automatically ready?3 -
Don't you ever try to translate code from one language to another. Instead grasp the problem and write the solution in the other language itself. You don't want to sit there for hours thinking if hashmaps are a good fit for phps nested arrays.1
-
Hi everyone!
I don't know if there is a one size fits all solution, but could get me some pointers on how to make built in laptop webcam work with linux mint 18.2?11 -
One thing that is really difficult is when you are writing let's say C code for months, and then you switch to C# or Python, you immediately use C-style logic and forgo the easier, shorter Python syntax!
I did a python kata on the Codewars website. After submitting it, I realized my solution was like 10x longer than every other solution. Talking about hand in face.
Stuck to basics and forgot about Python's amazing shortcuts. What are you going to do!1 -
When you figure out the solution to a problem you've been having for weeks and then half an hour later you come across a new one 😭
-
For today I had to implement a Strategy Pattern solution for dynamically loading items in a view. So, I came in the morning and started doing it, finally after some time I acomplished it, with one strategy, so when I started implementing the other ones, everything went to crap so I thought "Okay, lets checkout to how it was on the morning, just to realize I leaved yesterday without commiting.
I wanna kill someone1 -
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 -
My new gig is to clean up the mess left behind by a now ex-development team that insisted the company would be better off with a custom-coded ecommerce solution that completely disregarded the conveniences and ready-made plugins provided by the CMS (Wordpress). They didn't even bother making a plugin. Just mixed the shopping cart scripts right into the theme files. Why are there coders who insist on doing such things? If you are one, what is the benefit you see in taking such a "custom", unconventional approach (other than locking the client into your solutions)?2
-
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 -
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 -
Got a nice solution, part of a micro-services system. Interfaces where they should be. Single responsibilities. Easily unit testable (and plenty of tests in there).
Then the Senior rewrites things because he didn’t see the point in having interfaces and couples every layer to a shared set of objects, and those objects are now shared by all the other micro-services too. One change in one and we have to repeat it in every service. 🤦♂️4 -
Dear reviewers, feedback givers, coworkers, clients and critics...
There is a subtle difference between constructive criticism and just spewing hate!
One offers advice & points in the direction of a better solution, while the other one makes me value you less, as a human being...
If your comment/review/feedback is:
“I don’t like it, I don’t know why, I just don’t” - please keep it to yourself because it makes us less likely to listen to you when you actually have something worthwhile to say...
Yours,
Any and all creative professionals,
including developers.1 -
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... -
Does anyone knows a Syncing / Self Hosted Cloud Solution that has native Integration for Windows and Ubuntu?
I want some shared storage between my Laptop and my PC. Save a project on one side, grab the laptop goes to a friend and work there with the data, without uploading / downloading the files manually or using some web interface for that.
I have also a root server with stroage and internet. So if it happens automagicly in background it would be fine.
Is there a good solution out there? Or some ideas / frameworks to programm it by myself?
Diff and merges are not needed. I never will work on both systems at the same time.6 -
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 -
We work in VDI environment, that likes to nuke itself randomly and takes with it all the hardwork for the week.
I came up with one solution -
Name - Fsync.sh
Task - backs up all your work to a common shared network drive. This backup is in deltas to reduce network load and to save space.
How? I used git!
It gets the code changes from existing cloned repos & it git inits in folders like Documents & downloads.
Git tracks the changes for me :D3 -
5 fucking days of Google search after Google search. Error after fucking error. Deadline getting closer by the fucking minute. teammates interrupting me every 10 minutes over discord asking for help on their fucking part of the project
and it turns out the solution was just one damn line
One fucking line in a forEach to iterate over the model data sending the necessary aspects to the Javascript function to create map pins for the database locations
5 fucking horrible days all amounts to 1 line
Really shows how much I still have to learn. And the yelling at my screen reveals my need to take an anger management class1 -
Microservices in real life:
You have 4 different project opened in IDE simultaneously editing all of them to make something to work.
All projects share same db.
Basically this is monolith but splitter to different git repos.
Communicating one another via http calls or directly altering shared db tables.
Everyone is happy until solution goes to production then :
Solution doesn't scale because db is a bottleneck.
Services can be unavailable for 1-2s so some processes are left in unfinished state forever, because everyone assume 99,9% SLA means it always available and http calls will never fail.
Http calls take time.2 -
so there was this issue regarding our company's system which tends to be a problem for sometime now, its a recurring issue caused by the data that the users needs to encode to the system
today another issue arised, our senior supervisor, not knowing that this issue was already recurring and there is already a documented step procedure on how to address it, suggested or come up with a another solution which would task one of our co-developer to push a temporary code to production during business hours just to accommodate the issue and rollback the code after
take note that its during business hours and more than a hundreds of branches of the company are using the said system
what was he thinking !!
thankfully one of our colleagues voiced out explaining that this issue was already recurring and already has a procedural solution, but still our brainy-know-it-all-stubborn-close-minded heck of a supervisor insisted that the solution has computational impact and still insisted that they push a temporary code to the production, what an idiot!!
fast forward our colleagues ended up standing their ground, even if our supervisor is highly doubtful at them, and executed the already established solution instead of pushing a temporary code to the production which was such a bullshit idea
damn those close minded people they shouldn't have reach that position in the first place!! -
Am I the only one who works remote that when they need to work out a tough solution instead of talking to a rubber duck, jumps into the shower for 5 minutes? It’s a secret hack, works every time.11
-
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
-
In the first one, the group would just not get to agree at something, they'd spend hours talking about an approach.
First times, I was like "Hey, why don't we do this?", they began to argue and half an hour later, they agreed to whatever I said in the first place (they didn't acknowledge what I said and they tell me they came with the solution and that I didn't say anything)
Fucking shit, if only they listened in the first time. -
Oh here's a good one. When the managers realised one of our apps is a giant hunk of crap that wasnt thought through at all and was lazily thrown together, and their solution is "meh let's just rewrite it in Swift on our new platform. And those other guys can maintain the old one and continue to do hotfixes for it until we are done".
I've been telling them for the past year that its the worst codebase I have ever seen and the lack of tests is disgusting and not something we should dare to release to paying customers (especially when those customers work in healthcare!!!). The best part was when one of them promised we would all be working on the new shiny platform by Christmas. That was last year. And I'm currently the poor bugger doing the legacy maintenance and in the process of trying to get moved to a new project. So much for managers promises amirite... -
I changed my shirt and now it looks like we're evil rivals.
I remember him telling me he has the dilemma of "clean css solution" and "quick and dirty js solution" and he always takes the second one.
My dilemma is the other way around: "Clean js solution" or "hacky, dirty css solution". I always take the second one if possible..6 -
If you write a solution to something at work, then the company most likely holds ownership with whatever license they have.
However if you rewrite that solution in your spare time, into a package that solves the same problem but different then replace (with permission to) the original implementation with the new one..
Can said company then claim ownership on your package?3 -
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. -
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 -
If there's one problem with rust, it's that it expects you to know how to use it.
One of my first projects was to try and use the SDL2 crate to make something, and I got stuck wrangling the borrow checker about how long my textures live.
I try again a year later, now knowing intuitively how the lifetime system works, and I come up with a solution easily.
This sort of thing is probably very discouraging to new users of the language4 -
Posting (ranting) about your problems or emotions online might be an instant anesthetic to the problem but it diverges one away from the issue and the solution.4
-
they say i was a natural at programming. i like it, i understand problems easily and im able to find a solution for it. but so was math, and chemistry. basically anything that has problem solving so i wasn't into programming that much.
until i joined my first competition. man that was an eye opener. we had a deadlock tie with the other team, and there was this one problem that was a tie breaker. sure enough we both was able to solve it. but the judges ruled in our favor because of one thing, i used recursion! man that was fun. the looks on their faces.
and i was hooked on that euphoric feeling. that was my drug. now , a decade or so later, im still addicted to that drug -
---- Startup RantLife ----
In this episode, we introduce Brian, this guy is skilled and tries to provide an answer or explanation for everything (even if it's not work related).
By now you may guess this is the one that I know everything and you should listen to me type.
The problem with Brian that he wants only his solution to things and to be written exactly as he sees it and arguing with him is a waste of time.
How do you guys deal with developers like Brian?3 -
While trying to fall asleep, I came to the conclusion that a solution to privacy would be an encrypted p2p messenger. You'd need a dns-like system that can tell the peers how to contact their communication partners. Then I searched for one, and there was a good looking one, but it wasn't open source. looks secure otherwise, but perfection looks different.
Can anyone recommend something similar to kripter/tell me why it would be secure/insecure to use their service instead of, say, signal? Not that I truly NEED this, but I at least want to try it :)5 -
Spend last two hours trying to get a language pack for Microsoft Office. Two fuckin' hours with just an error saying "Please check your internet connection and see if you have space on disk"
Yes motherfucker, I fuckin have internet connection and I have 1 fuckin terabyte free on my fucking disk.
The only fuckin solution on Office's forum is to uninstall and reinstall the whole office software. Just to add one fuckin language pack.
I'm going crazy... Everyday I hate Microsoft products more and more and fuckin more.1 -
Tired to find out how to apply for an MNC Internship ?
Well, you can find the solution in the attachment below:
Remember : - Always keep it simple and genuine .
P.s. - This is real one .
Don't forget to ++ it .7 -
Every developer thrives to be the best. But, it's not only the skills, hard work or knowing infinite languages makes you the best. It only makes you the good.
Along with skills, hard work & the languages, the best one needs to have those instincts about the possible solutions to a problem and ability to decide and implement the most efficient solution cleanly in least amount of time.
I'm thriving to be the best. Are you?3 -
Quick javascript question:
let a = .............
Make a == a always return false.
What would a be? One solution is to let a = NaN. Anything fancier? :>4 -
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 -
I am just beating around the bush since I started this project, hoping that one day I got lucky and found the shiny solution.
/*sigh*/1 -
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 -
Our customer's internal IT department isn't able to offer a solution for a single sign-on when the user needs to navigate into one of their apps. So they just show something like this before that happens: "For security reasons you'll have to enter your username and password again during the next step." Sure, that sounds believable. Oh boy.1
-
Even if the solution is working, does not mean it is the correct and way of doing it. One can save a lot of time and effort by learning from others instead of sticking to his/her ego.
-
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... 👿 -
WTF, Rust. You are so fucking hard to write, and TBH, your docs are not understandable. Please writte your docs to be understandable, and make it fun to read, like golang does.
WTF, Rust. I am now looking, for 5 hours straight, for a solution for reading stdin into a variable. Nothing. 6 fucking solutions for 6 different rust versions of which not one works. Nothing is readable. Explain the philosophy of you language! What the hell is this?! Is your language based on the C family? On which is it based?! fucking idiots6 -
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 -
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
-
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. -
Update on my OneDrive story from a bit back:
(this first part happened a while ago but I forgot making a post)
So I was still having problems with my OneDrive since the email from customer support didn't help at all. I replied saying that their advice wasn't helpful in any way and that I, as an IT student, am familiar with how to delete files. I got another reply.
Great right.
But what did this email say?
It basically explained me how to upload files and stuff and how the sync system works and such. One thing that was in there that might have worked was resetting the 'app', the thing is I wasn't using their windows 10 desktop app but something that I got when installing my windows.
Needless to say, I replied again, saying that I had hope in their app solution but that I (as I stated in a previous email) use a different application so it was all useless.
I GOT ANOTHER EMAIL:
It is actually a technical solution (or so it seems). You must be thinking "wow, he finally got trough the shitty first line support" I know right?! and it feels good.
Well, the 'technical' solution is basically uninstalling onedrive trough cmd prompt and then reinstalling it from the website.
The folder remains in the browser client of OneDrive but I'm going to learn to live with it.
At least my sync issue is gone.
That only took like 3 months and ended with a very silly solution that is way too straightforward causing me not to think about it :p
Thanks for the read.1 -
Should a validator change his object during validation?
I want to validate the address of a person with Google geolocation api. That needs one request against their api. After then I would need the lat lng in the person object. So I would need to request again. So should the validator update the object directly when it got checked? Or is there a better solution?2 -
I swear to god that Docker is the worst thing in the world.
I'm trying to learn how to work with this f thing, and I've spent hours just troubleshooting, looking up on google how to do one simple task and I have yet to find a solution on this messed up, convoluted way of running a god damn project.6 -
Do you ever come to a solution but forget what the original problem you were solving for was?
I just tried to do a large number multiplication in my head but now forgot what I needed it for...
And after plugging the solution into Google and what I can recall... Seems the answer is wrong as it's indivisible by one of the terms that was involved in the multiplication...2 -
this is not a solution, what the fuck https://github.com/seanmonstar/...
modern era, where a "safe" language can't even do basic bitch network calls right and then you write a retrying loop macro to get around it. yeah I had that already because I didn't have access to reqwest configurations and I think the library I was using to wrap the reqwest calls to the API was doing something wrong. turns out the fucking accepted by a damned GPT bot solution is to JUST KEEP RETRYING?!
WHY IS IT SENDING TERMINATE CONNECTION MESSAGES RANDOMLY
unfathomable. one of the most popular crates on rust. maybe they should care less about their cult and more about their ridiculous-to-have bugs
remember kids, javascript is the devil, JavaScript is ugly, messy, you have brain cancer if you use JavaScript. at least it can do network calls properly without you having to make retry loop MACROS (because the generic system sucks) all over your code!2 -
Some very friendly neighbor bought new wifi probably yesterday and it literally fucked up my wifi speed. I easily got like 30Mbits in the toilet, now it is only 2-5 megs dropping to 300kbits sometimes... Very fucked up. All channels are full and what is worse, if some channel is good on one side of the apartment, it is flooded on the other...
The only solution seems to be 5GHz, but it sucks, because its range is soooo small between these concrete walls, I would need at least 2 extenders lol.8 -
Spending days on a recursion problem and never solving it. That was a low time for me-especially when I looked at how short and elegant the solution was online. I've recovered now and have gotten better at it, but damn that's one thing I need master or it'll haunt me to I die.1
-
archaic jsp (java servlet pages) making life hard to do some fucking widget you gotta populate with some dynamic data
upgrading to a modern front end framework is not something the company is interested in doing (react, angular, whatever the hell's popular these days)
we can hack around it on the backend but we'd have to shuffle a boolean down to get used in one place at the bottom only (straightforward but ugly solution)
i hate my job and i don't know what im doing, fuck front end2 -
So a certain functionality in one of our critical systems has to be refactorised and changed to accommodate a new workflow.
So after several days of CTO, CEO talking with me, as I lead this project. We don't have a solution, so the CEO solution is asking fucking everyone in the company.
Juniors that can not tell between an interface or an abstract class come to my desk to tell me how the system should be designed.
Thanks a lot management to make my life easier. -
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 -
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 -
Next schoolyear, we'll have to do a project in groups of 4-5, over the course of 2 weeks.
Problem is, I'm one of the 5 people, of my class, with an, at least, somewhat useful level of programming knowledge.
So if the groups get randomized, I might end up with 4 dead weights in my group.
I'm already thinking about emergency plans, to ensure a good grade for me, but I can't think of any usable solution so far.3 -
I understand technical limitations and maintenance burden, but I think Rust could be a lot more ergonomic if the borrow checker was applied to functions that don't reference invalid types even if the rest of the codebase contains type errors. I have 146 lifetime errors, some of them very fundamental to the design of my solution, which I didn't spot because the borrow checker wouldn't run until I fixed all totally unrelated type errors in parts of the project that literally only interact with this one through virtual function calls.1
-
High school, prepping to go to class, I take a book that I needed for class, while picking it up from the book shelf the latin vocabulary fell and landed on my hard drive which was on top of my MacBook, two birds with one stone :(
I now have three different external hard drives and planning to get an off-site solution as well. -
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
-
Sometimes I wonder if it's the norm, that the frontend reassemble almost nothing on the backend...
Even worse when a solution is agreed and sold one way, but implemented another.
Usually eliminating the opportunity to properly expand on, without hacky work-arounds.. further driving the technical debt..1 -
Peace and quiet.
I'll play some smooth jazz or light classical, sit in my beanbag chair by the window, and take a 30 minute nap.
When I'm done, either the problem isn't a problem anymore or I have figured out a solution to my problem in my sleep.
This is something pretty new to me since wfh started and is one of the many of reasons why I will never go back.4 -
One of the most headache-inducing things about being a developer is having to find a solution to every little ailment that software has.
An example would be: working with a particular stack. LEAN, MEAN, LAMP, WAMP,.. The nightmare of having to deal with every single error in PHP, NodeJS, Apache Server, Nginx, the HTTP spec intricacies, the HTML5 spec, API problems..
Sometimes it's just a lot to deal with and I'm trying not to lose my patience.9 -
There is one mistake that I keep doing all over again...
First of all, there is a task I don't like. Therefore I start thinking about writing a script for it.
I write a quick solution and it does not work!
I am allways ending up with spending ways to much time on the given task...
Can someone please tell me why?1 -
I am working on a task given to me by a huge company to test my skill.
I am applying for a junior position.
I am doing it by myself of course but I googled a bit and the problem is called job shop scheduling or multiprocessor scheduling (not sure which one it actually is).
The topic is a bit altered (logistics) but it stil is the same problem.
I am really close to the solution.
The testcases they provided all work but I came up with some that don't.
Do you think this problem is appropiate for a junior (either of those)? -
I'm working on some JavaScript that a junior developer probably would have been able to write a couple hours ago.
Even though I'm getting closer to a solution, I'm definitely still in the "feeling like an idiot" phase because it is probably so simple for a more experienced dev.
At the same time, I think this is one of those things I have to figure out for myself. I can't get all my solutions from Stack Overflow!5 -
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 -
Me: "I have a hobby project idea on how to provide a vendor-free solution to this... and the domain is also straightforward."
Me after one year: "man, finally it is in the MVP state... that escalated slowly..."
> Also, me who couldn't resist to create a hobby project for the sake of the previous hobby project...1 -
(As if there were ever a solution…)
Windows has found a solution! Wipe away this shitty operating system and install a better one.
Did this help you solve your problem?4 -
Do you guys prefer one cloud storage solution over the others? Dropbox, Google drive, mircosoft onedrive. ✨✨✨10
-
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 -
My manager and I setup Cloudflare for one of our websites because we’ve noticed bot activity. Stakeholders have their feathers ruffled because ONE fraudulent payment got through during the first 24 hours of using Cloudflare. Um, there’s no miracle solution and we didn’t promise you miracles.
Manager and I aren’t sweating it because 1) we’re still learning Cloudflare, 2) we’re still familiarizing ourselves with the website because it used to be maintained by an outside agency, and 3) things were much worse a few months ago before any mitigation efforts were put in place. We finally setup Cloudflare because the fraud tools for our payment processor could only do so much.
We’re both honestly surprised a situation like this hasn’t come up before in all the years the website existed.4 -
I'm not even in the mood to speculate how much time I've spent trying to convert this certain datatype from one of the frameworks we're using. I couldn't find it in the documentation, google and SO says to use a member which just doesn't work and seems to be deprecated.
I started writing my own converter which got way bigger than what I was comfortable with due to all the special cases needing separate checks and handling.
I eventually came across a function which does exactly what I needed. It was the one suggested by said googles and SOs, it was just... recently renamed.
Not sure how to describe this sense of "yay, I found the proper solution!" and "are you fucking kidding me". Thank goodness for devRant. -
Working. Finding a bug. Quick-fix. New bug. New bug. New bug. Spending 1 hour looking for Quick easy solution. Getting distracted with a more complicated solution. Spending 1 hour researching. Back to problem, one more hour bruteforcing the problem. Finding it was just about a configuration problem. Fix in 5 minutes. Repeat everyday.1
-
Thanks o2 for upgrading my Internet access to your fucking bought in shitty VDSL Solution, only supporting one PPP tunnel at time, you just made my night a bit shorter😠
-
Teacher : So today we'll study Dynamic programming.
In DP we solve the problem LCS.
Student : Ok one more algorithm atleast I'll improve my algorithms.
Teacher : (after 10 minutes) so this is how we make the table and find the solution. Now let's move to another topic
-- End of Dynamic Programming --
@algorithms_in_india6 -
I've searched for this a few times now but can't really find a good solution for my "problem".
I want to update multiple Debian servers / machines at ones or from one machine.
Puppet doesn't seem to support newer versions of Debian and I don't really want to force the updates via cron.
Are there any other ways to do it?1 -
Damn Apache Spark. Instead of supporting just one language that works perfectly well, let's support several languages that give users different results! It's so much fun to combine chunks of each language to get a fully working solution!3
-
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'm the only one who doesn't understand how the fuck people dream about code/coding? I get it, you leave work and still think about a solution for a certain problem, that's normal. But dreaming/having nightmares about this shit is weird.4
-
Better get started...oh look at this shiny new piece of tech. 3 days later with evaluation done on each usable tech alternative crunch the solution together in record time with tech most similar to your previous one.
-
!rant, just looking for some input
I can't find a solution that I like for managing email/calendar in one whack for Linux. I use Debian, and am currently using Evolution mail client, but the calendar doesn't sync with my Exchange. I tried IceDove, but didn't love the mail (or calendar) client.
For my Linux brethren out there, what do you use to manage email/calendar? I've heard G-Suite used a lot, but I'd rather have native software than a dedicated browser window.
Thanks ahead of time.4 -
I'd like to start an online journal, like a blog, describing my adventure and things I'm learning as a junior web developer. I really like talking tech and teaching and inspiring others.
Q: Can you guys recommend me a platform or custom solution for my blog? I'd like a very customisable one but I don't have enough time to do it from scratch. (you can skip WordPress)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 -
I am currently working on very very bad designed solution. I doubt if it can be written any worse.
When I inherited it, at first I thought it was done by some intern, but later on I found in repo full name of original creator. In free time I googled the guy and I was in shock. The culprit has more than 15 years of professional experience. For 12 years he worked at one place and than ~1 years in 3 different companies. It seems he cannot hide his incompetence anymore :)2 -
After my third "requested changes" I've officially lost all dignity I held. Spend hours working, wrong solution. Revert, not working. Fix, removed functional code. I think my brain is just broken. Or maybe this project is just massive and I just can't wrap my head around it properly. Or maybe I'm just clueless. One day I'd like to be at a level where you hear an issue and immediately know the solution, where the problem lies in the code, how to fix it, and how long it will take. Hell, I'd settle for even one of those right now. The learning process is so stressful.
-
My teacher wants me to find all the issues in "using agile methods in global software development", then find the slution of the issues, and then tell what is missing in that solution, and then propose a better alternative... In one day...
https://media.giphy.com/media/... -
@dfox
first, avatars are a great idea!
BUT I dont eant to wait until i have "n ++" to change the what computer (mac/non mac) is on my avatar/profile image. [the thing with the desk and watch is ok, but i think unnessesary. I wear a moto 360 every day so why schiuld i have none or another one that dose bot look like the one i am wearing on my profile picture]
COULD "BADGES" BE A SOLUTION ?3 -
Question.
I have a java app to monitor and send aprox every 3seconds a json with data to a client who will present it on a single fancy display, there will not be other clients ever, only this single one. Shall I go websockets and push the data, and wait for it there or shall I go rest and ask for the data every 3 seconds? Im planning to use node on the client regardless of the solution. ?7 -
I had my first trivia yesterday. I made so many dumb mistakes simply because I was nervous due to it being a test.
After it was over I implemented the solution that I fucked up in one of the puzzles.
Good start, I guess. I at least got 50% right, but I expect a rejection due to forgetting random facts, plus the failure to answer the embarrassingly easy puzzle that just required a stack and a reverse loop.
I need to desensitize myself.1 -
When some knob head at work convinces himself and the team that 100 projects in one solution is a good idea.2
-
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. -
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. -
i just learnt how much clearcase sucks the hard way. i always used git for personal projects and am used to finding a simple solution to any problem at most one stackoverflow away, i just messed up my local repo, and experienced people could not manage to undo it. i mean come on, this is a f**king versioning software, how hard can it be to delete everything local and re-pull from remote without messing up configuration files? either clearcase has some serious design shortcomings for my understanding of a versioning software, or it is so overly complicated that nobody actually knows how to revert this mistake.2
-
When a severe outage/screw-up happens or when an insane request comes through and the only solution is some adhoc coding... the best part of being a dev: 1. being the one they turn to in those dark times, and 2. the self confidence boost when you alone have saved the day. It's thankless but those times make up for it.
-
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 -
!rant
Ever had an experience where solution seemed completely illogical, you still go ahead with it and out of sheer surprise, it actually works?
I had one of these experiences today3 -
Hi folks,
I'm currently working on a project where I need to reassemble and play a video from chunks fetched on a server.
The chunks are created from an mp4 video file and with the help of the 'split' command in a terminal.
I can fetch and play the first chunk in a video tag. It displays the total length of the video and stops when the end of the chunk is reached.
But I cannot fetch the second one, somehow append it to the first one and play the newly created chunk.
I tried to concatenate the two chunks using arrayBuffer and Blobs but it didn't work.
Maybe the solution is with SourceBuffer ?
Let's find a way to do that !
Thanks you guys !1 -
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 -
I want to share one of my recent interview experience..
so first round was telephonic and technical guy seems cool as he did not emphasis on syntax, function name etc.. but just took the info of my tech on which I am working on and discuss some approaches to find a solution towards the problem.. ( I guess thats pretty well for experienced dev)
Second round was assignment and its a hell of assignment :( atleast for me.. Like I work in CI 3 and I did assignment on CI 4. almost everything is changes in CI 4 ( I mean its structure writing the way of routes,models and controllers).. But I took the challenge personally and finished 95% of assignment ..
Overall this interview experience was pleasant one.. :) -
How do you deal with the fact that sometimes a junior dev will have a better solution than a senior dev because he knows more on the technology/language for this new project? Maybe for this technology he should be the senior one... But how do you deal with these situations?3
-
"The grid system is an aid, not a guarantee. It permits a number of possible uses and each designer can look for a solution appropriate to his personal style. But one must learn how to use the grid; it is an art that requires practice." - Josef Muller-Brockmann1
-
Do we still need virtualenv when we have containers? Cuz one of my friends thinks it’s a good idea to use virtualenv everywhere, even in production, even in an LXC?
Is it being paranoid or really a solution to some problem that would otherwise rise? I’m just curious.1 -
Why is creating a node instance on AWS such a pain in the ass? Why can't it be a literally one button solution? In general who the fuck created UI/UX for AWS?
-
Is there a (F)OSS solution for a self hosted document management system that includes ocr, text based search on all documents and a web ui? So far my research hasn't been very successful, maybe someone has a hint? I've thought about building one myself. Then again someone else must've already built something similar, right?2
-
How to get good at solving problems.
My managers says that I should consider scalability, dev efforts, Operational costs etc. I am really new in this, I really need to figure out a lot of things by understanding architecture and then there are added quality parameters of the solution, where can I read all this? How to get good at this? I know one of the solution is to actually work on it, can I still get some other resources to understand things better?1 -
For a project we have a choice between:
Storing documents, images, videos and textual data in a database. Provide relations for searching and a GUI for uploads. Web and mobile (I only have experience with RDBMS)
Solution for digitally signing documents with asymmetric cryptography. Provide web and mobile GUI. Also something about ad hoc signing (possibly insert usb stick to sign?)(know a good bit of cryptography already)
Which one should we pick? (5 man group)3 -
Challenge mentioned in the below thread is one of the most asked javascipt question in top companies.
Do check it out and post your solution
https://devrant.com/rants/2381656/... -
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 -
Question about sockets in java. I have one socket server and multiple socket clients connected to that socket server. How to communicate between socket clients when they connect to same socket server? Is there some neat library to handle that socket server/client interactions? Googled for hours cant find a decent solution14
-
One time a has some task to optimize an images on mobile application so it can swipe on list without lags (to this time it works fine, there was microseconds lags, but it was my code and I don't like to leave like this). I takes me a long time trying a lot of solutions but everytime was the same. I leave this task because I thought it can't be done. Everyday I was thinking about it, one time I have even a dream about programing XD. One morning I wake up and it came to me, one simple solution (I think there was 2-3 lines of code to change). I go to computer and try it, it works, it was a weight off my mind. Of course I go to boss say now we have faster, better etc. and he also was happy :)1
-
How would I use \n in Python as a string?
Use Examples:
If you are making a string calculator, and using \n to separate the numbers/text from each other and put them individually into a list, which the conclusion for example:
24\n10\nhi
This should get a list like this:
[ '24', '10', 'hi']
What is the solution?
We can simply use one of the following solutions:
r"\n"
OR
"\\n"
Code example:1 -
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 -
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 -
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 -
Was given 24 hours to come up with a payroll solution
opensource or develop one
any opensource resource to help ?7 -
Obviously the top item on the table is NN, the "end users" from both sides of the connection on the net are for the saving it, and the middlemen that only own the "cables" want it to be repealed.
We have the solution to end this issue forever. It wont be easy, nor will it be fast.. unless certain "entities" team with us in secrecy. (There's a reason why certain "entities" have stayed silent regarding NN, due to agreements to not get involved due to the risk of backlash. AND if NN is repealed Those Entities cannot fix the problem as their hands are tied to continue to provide content to the end users.) Read between the lines you will understand it will all make sense later.
I will make The Official Public Statement within 24 hours of the FCC Vote. That statement will be how to get involved, help, get us jump started in your area, funding, the ENTIRE details of the plan, goals, and timeline. AS WELL as how to contact us. This will take time and we are not a magic solution that will fix the problem overnight.
We are however THE solution to the underlying problem with ISPs of today. We have been researching for quite a while and digging deep into the entities that have caused us to get where we are now. The further you go digging into 'THEM' the more pissed off you become as you truly realize whats going on and has been on among the ISPs its MUCH deeper than you are being told.
OUR solution will remove all of "them" from the equation completely as well as being faster, and cheaper than the Tier 1 as you wont be paying for the connection or speed, you would be paying for the hardware/overhead cost. AND we will be bringing you closer to the content providers than EVER before.
AND we will be the only solution capable for competing in the current Tier1 Monopoly zones, I promise you they cannot match our plan's price, IF they did it would be only as a loss leader and NOT a sustainable long term solution for those competing with us at are for-profit....
In order for our solution to work, and to keep the internet service non-bias, well non-bias from OUR members :) this will need to be a collective effort, focused one clearly defined vision. WE WILL AND WE MUST ALL set "profits" aside on this as profits in selling nothing other "connection" to the internet has gotten us in the mess we are in now. AND YES we realize profits help maintain and upgrade the infrastructure, BUT that isn't true in this case...Overhead from our view includes those anticipated costs.
Smaller ISPs will need to make a decision, give up profits, become one with us, and be apart of the mission OR they will be left to suffer at the mercy of the ISPs above them setting the cost of bandwidth eventually leading to their demise.
This will happen because we wont be bound by the T1s .... WE would be the "Tier 0" that doesn't exist ;)
This sounds crazy, impossible, BUT its not, it will work WILL happen, regardless of the FCC's vote. as if the FCC choices to keep NN, its only a matter of time till the big lawyers of the ISPs find some loophole, or lobby enough to bring us back to this.
Legistlation is NOT the solution its just a band-aid fix as the cancer continues to grow within.
PLEASE understand that
Until the vote is made, and we release what we are doing, stay put, hang in, it will all be explained later, we are the only true solution.
BIG-ISPs WILL REGRET WHAT THEY HAVE DONE!
What needs to be understood by all is with net neutrality inplace the ability to compete aginst the Tier 1s directly over customers and reinvent the internet to lower or remove costs completely, increase speeds AND expand to underserved/unserved communities ITS NOT POSSIBLE WITH NN
NN REPEAL is the only way to the fixing the problem for good... yes the For profit BIG ISPs will benefit but not forever.. as repealing it opens the doors for outside the box big picture innovators to come in and offer something different, the big ISPs have clearly over looked this small detail being the possibility of a “NonProfit CoOp TIER 1 ISP” entering into the game thru end users and businesses working together as one entity to defeat them... THE FOR PROFIT ISPs over looked this because they are blinded by the profit potential of NN Repeal, never did they consider our option as a possible outcome because no one has attempted it....
We will unite as one
Be the first to know! -stay updated
SnapChat: theqsolution -
Yo what the actual hell is up with the lack of Azure AD B2C documentation, the error codes are pretty ass too! Had a similar problem many users faced & on stackoverflow everyone had different solutions. My solution wasn't the accepted one and it has 2 upvotes ....2 UPVOTES!!1
-
how does one solve what would likely qualify as a paradoxical situation ?
where the solution which is obvious is prevented and the only temporary solution is completely unaccepatble morally, spiritually, ethically, etc ? -
I know it doesn't really exist in one solution, but I need management software to keep track of customers (crm), projects, products, licensing and contracts, and time keeping. Right now we are using MSCRM (ugh), and old homebrew project/time tracker written in Perl spaghetti (double ugh), email (sigh) and handwritten notes (kill me). Now I suddenly find myself with a budget (somewhat) and the authority to actually fix things. Any ideas would be appreciated.