Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "problem solving"
-
When I Googled a problem I faced, and found a YouTube video solving it, then tried to thumb 👍 it up, but YouTube said: "You can not like your own videos!"
.
.
I recorded it for a friend two years ago!9 -
Tips for all the programmers out there:
- A programmer is not a PC repair man, just no one seems to remember about that
- Programming is thinking, not typing.
Counting starts from zero, not one.
- Even after completing a degree and courses and working on IT projects, learning never stops. If you want to stay competitive you should also work on personal projects that force you to use languages and software you never work with on the job.
- You don’t need serious math skills to be a developer. However, you’ll need basic algebra, logic, strong problem-solving skills, and most of all, patience.
- You don’t need a degree to be a developer - programming is like almost any profession: if you’re good at it, people will pay you for your skills, regardless of how you got there.
- Sleeping with a problem, can actually solve it.14 -
Me: *uses HashMap* for a problem to count some elements*
Lecturer: why are you using HashMap?
Me: it's the best way of solving the problem
Lecturer: I haven't explicitly taught you what a HashMap is so why are you using it?
Me: Because I learn outside of what university teaches me
Lecturer: there's another way to do this
Me: enlighten me
Lecturer: iterate through the array using a nested for loop and count as you go along
Me: why the hell would I want to do that? That literally decreases the efficiency of my program by alot
GG lecturer telling me it's a better idea of making my O(n) runtime into an O(n^2) instead of complimenting my code.
Seriously what the fuck is up with the fucking education system. Since when was it okay to teach students how to completely fuck your code up and promote ways of making your code so inefficient?33 -
1. Have some issue with my code which spits out cryptic compiler error.
2. Ask on stack overflow, Reddit, etc for a solution.
3. Get scolded at for "not reading the documentation" and "asking questions which could be answered by just Googling". Still no clue what I'm doing wrong, or what the solution would be.
4. Find someone else's vaguely related problem.
5. Post my problematic code as the answer, with arrogant comment about OP being a retard for not figuring that out for themselves.
6. A dozen angry toxic nerds flock in to tell me how retarded and wrong I am, correcting me... solving my original problem.
7. Evil plan succeeded, my code compiles, and as a bonus I made the internet a worse place in the process.
I think if you tell a bunch of autistic neckbeards that "all coronaviruses are fundamentally incurable", you'd have a vaccine within a week.15 -
IF YOU WRITE IN A FORUM ABOUT A PROBLEM AND YOU SOLVED THE PROBLEM, TELL US THE FUCKING SOLUTION YOU MORRON! YOU TOOK THE EFFORT TO JUST WRITE "I SOLVED THE PROBLEM" WITHOUT WRITING A WORD ON HOW THE FUCK YOU DID IT. DO YOU THINK I READ THIS FUCKING TOPIC FOR FUN? I AM ONLY INTERESTED IN THE SOLUTION, I DON'T GIVE A SHIT IF YOU SOLVED IT OR NOT!!!12
-
*Wants to learn a programming language*
*visits Udemy*
*It's costly af*
*Visits youtube*
*Plays learn complete java in 30 min*
*Completed*
*Visits hacker earth*
*Started solving a problem*
-- eternity later--
*Still on same problem*
*Cries in corner*
THE END18 -
Your profession changes how you think.
Coding did the same for me. Some good, some bad.
The good:
I know which problems in life are worth trying to solve.
And I'm very good at solving those problems.
I can analyse a situation accurately. I don't get emotional and panic.
I can immediately identify logical flaws in people's thinking.
I can identify biases in others and myself.
The bad:
I tend to follow simple instructions to the letter and rarely improvise based on reality.
When my wife tells me her problem I try to solve it instead of empathizing - which is what she really wants.
I haven't developed street smarts or the ability to convince people with anything other than logic - but people are more emotional than logical.
I'm not good at small talk.15 -
"Coding is solving puzzles".
I think everyone has heard that platitude. But it's not exactly right.
So I grew up in a very poor environment, a moldy building full of jobless addicts.
And in my town there was this shop where super poor parents could take their kids to borrow free toys and stuff.
So as a kid I remember being frustrated by these second hand jigsaw puzzles, because there were always a few pieces which had been teared up or chewed on, or were even completely missing.
That is what development is.
You pull in this seemingly awesome composer package, and that one super useful method is declared private, so you need to fork the whole thing.
Your coworker has built this great microservice in python, but instead of returning 404 not found, it returns 200 with json key/value saying "error": "not found".
There's a shitload of nicely designed templates for the company website, but half of them have container divs inside the components, the other half expect to be wrapped in container divs when included.
You're solving puzzles, but your peers are all brainless jigsaw-piece-chewers. They tried to mend a problem, but half way through got distracted, hungry and angry, started drooling over the task and used a hammer to fit in the remaining stuff.11 -
PROBLEM: A tickets' company came to us last autumn. They said they have severe performance problems and asked us to help.
SOLUTION: covid and quarantines. All events have been ceased, noone's buying any tickets any more. Performance problems are no more. FIXED.
PROBLEM: Another company came to us recently. They said they have severe performance problems with their huge databases and asked us to help.
SOLUTION: a few days of heavy rain and their datacenter was flooded. along with the backup servers. No more data, no more performance problems with large databases. FIXED
Solving problems genie style!
Who's next?8 -
So the bosses and general peeps at work never close our door properly.
Finally earning the "engineer" part of our job titles :p!5 -
I type very fast and nearly without errors when tipsy. (tipsy is a step between normal and drunk here)
Also my easy-problem solving skills become awesome when on alcohol.
That's why i love programming tipsy! 😊10 -
I think I get a programmer high.
Like when I program, I get really into it, time is flying, I'm having fun problem solving, I am super focused, my brain is thinking super fast, and I have a hard time stopping.
Maybe similar to a runners high?9 -
*CTO in panic, as always, invites everyone to the war room*
CTO: We have a MAJOR problem where 0.0001% of our customers are not receiving SMS confirmations.
Me: Cool. But, 0.0001% is very less compared to the other problems we are solving.
CTO: You don't understand, this is critical issue that needs to be addressed immediately.
Me: But even those.0.0001% customers are receiving e-mail confirmations, so this is not even blocker as we have other channels working.
CTO: I am emotional at this point. You need to prioritise this now.
Me: Okay, do we know the root cause of this problem?
Engineering head: we have blacklisted those numbers in past as our system detected them abusing our platform.
Me: Cool. Let's whitelist them, nothing much to worry here.
CTO: Floyd, you need to understand that 0.0001% of the customers are not receiving the SMS and the solution you are proposing is incorrect.
Me: Okay, what do you suggest?
CTO: We stop sending the SMS to all the customers.
Everyone on the call: 😨18 -
Today I became a rubber duck debugger 🐤
I was leaving from office and spotted my senior collegue sitting glued to the screen solving an issue. I sat along with him to embark on a debug adventure. I casually asked him about the issue and what might cause it. After a bit of discussion *bam* he figured out where the problem lies and solved it in an instant.
Quack quack off I run 🐤5 -
No work is going to be tolerable if you don't enjoy it. If you got into programming or IT or any industry simply for the money you can earn doing it, you're in for a BAD TIME.
I love computers, linux, programming, configuration, automation, and problem solving. So I love what I do. I am currently three weeks into 13 weeks of parental leave, and I have been having dreams about work at night.
The best piece of advice I can offer to someone who has trouble getting motivated is: make sure to like it first.10 -
There comes a moment in every coders life where he must prove his programming chops by solving an arbitrary problem for one of their random relatives. If they fail, they have brought shame to their family name. But if they succeed, there is no greater glory.
Random Uncle: "Hey my wifi isn't working. Can you fix it?"
Me: Restarts laptop. Wifi works.
Uncle: "Wow nice job!"
Indeed. There is no greater glory.3 -
I was a good programmer.
My teachers always impressed by work..
I was like coming up on my own solutions not from books. Never remembered any algo but still the one who solve mostly every problems
Well then..
joined companies after college.
I thought I will learn so many new things..
Yes i learned but I'm feeling like I'm losing the spirit of problem solving
I'm just doing same thing, same logic, making similar kind of application with just little difference.
Nothing is like i'm making something new... All I'm doing is using predefined java and android method..
To create some predefined designs and working.
Fucking similar client requirements.
Seems like time to quit job and dedicate myself toward research
I know it's a boring rant... I'm just fucking
*frustrated*
For some
Hope hope = new Hope() ;15 -
Mountain climbing. Increases social skills, teamwork and trust.
Building a house. Increases spatial visualization and planning skills.
Electronics. Increases mathematical and problem solving skills.
Chemistry. Increases precision and analytical reasoning skills.
Psychedelic drugs. Increases imagination, inspiration and abstraction skills.24 -
Fuck me. I just posted a huge post on StackOverflow with images and huge puddles of code everywhere because I had been stuck since yesterday and five FUCKING minutes after asking, I read the code on the website (Pretending to be an outsider solving my own problem) and find the FUCKING TYPO.11
-
Is it just me or everyone have this issue that when I sleep with some coding problems my mind will try to find a solution for it?14
-
Manager: "Good Morning"
Employee: "Okay"
Manager: "You are fired. I deserve a proper reply"
Employee: "I have put my entire focus on solving the problem the team members have been skipping for months. Anyways I will go"
Manager: "My bad, I will fire the other employee"7 -
!dev, more about social media
(and suicide)
ugh. social media.
recently a girl from a nearby high school committed suicide. it's sad, and i know what i'm about to say is going to be controversial, but i think it shouldn't be on social media. maybe her close friends posting it on instagram, to remember her, but that's it.
of course, that's not what happened. people started posting "❤️" on their snapchat stories, and theyre saying they are raising awareness. (they don't know this girl or why she did it or anything, they're just doing it because their friends did it.)
this awareness, is well, temporary.
the point of snapchat is that all the pictures go away, so why would they talk about suicide prevention on there? do they want suicide prevention to go away? this is most prevelent on snapchat, but on others, too.
trend after trend after trend.
thats what people turned her death into. a trend.
just like #prayforparis, and others, but on a local scale.
the problem with social media is that things go away. in a day or two it'll be like this never happened. she won't be remembered like she would if she weren't on social media.
i know what you're thinking. they're just "raising awareness." but for how long?
well, until another trend comes.
people disagreeing with me are extremely welcome to comment.
and any ideas on how this problem can be fixed?20 -
when u spend 2 hours desperately trying to fix a bug. Give up, off the computer and get ready for bed. the moment you get comfortable and ready to sleep. You solve the problem mentally in ur head. Get back up, on the computer and continue coding.
-
Your fucking single page whatever the fuck app doesn't need React! Stop overcomplicating everything and getting distracted by shinny new frameworks, just focus on solving the problem!2
-
Have you experienced solving a programming problem for hours, and when you finally got it, you just stare at your monitor and admire your code?
You just sit there smiling and thinking to yourself, finally you did something right. ehehehehehe
Happy Sunday buddies!3 -
Dark Vaduck drinking beer instead of helping me to write a genetic algorithm for solving knapsack 0/1 problem ...5
-
the feeling when you wake up in the morning with the efficient algorithm in your mind you were thinking of all night.
-
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
-
Fixed a project for a collegue.
Him: How did you fix things, what's the process?
Me: Click stuff and press Buttons randomly until it works.
Him: ... That's all you did?
Me: Yup, the rest is just experience. -
My favorite part of being a developer is that no matter what craziness is going on in my life I can put on my headphones and lose myself in logical problem solving.1
-
Actually just 2 hours ago my boss showed me his "hack" which solved a problem he worked on half of the day.
My eyes suddenly began to itch heavily and I felt a strong urge to quit immediately.
The problem was no big thing and we actually spoke about it at noon and I made a proposition how he could solve it.
Turns out he .... aaaaaahhhh I better do not mention it, as it may summon evil spirits... sorry.5 -
Me working on a bug for so long the brain actually stops working. Leave work > drives home > sits on the toilet: "Holy toilet, that's the problem" > drives back to work > problem solved!
Anyone else?8 -
"...the way he has written the code, it feels nasty man. I would have done it this way..."
Fuck you and your feelings. If you think my code is bad, give justification for it. Explain the fucking reason. Stop saying it "feels" like a bad code.
Fucking tired of this mentality in most of the developers. Why is it that the moment you look at someone else's code, you feel like you would have written it better. Programming is problem solving. And you can solve a problem in couple of different way.
If the code is absolute shit, has followed no best practices then yeah, go ahead and call it a bad code. But just because you would have moved some lines here and there, that doesn't mean the other persons code is horrible.
Goddamit!13 -
I would kill all these +1 guys, srsly. I subscribe these threads to know if it will be implemented.
You do not add any value to issue:
* devs are pissed off as this does not help solving problem
* others are pissed off
No one really cares about your likes, really.28 -
I realized it that the only time I talk confidently with a girl is when I am solving some technical problem or helping her understand some computer theory.
Pre and Post - this phase, I can hardly find any topic to talk and later they are also done talking to me.
Should I consider to search on how to talk to girls??
Google already suggests that even in incognito mode.
Is there someone else with me in the same boat?34 -
The school I went to...
Grade 1:
*GTA and minecraft to let student familiarize with cheating command and console
*Student should find and read the damn documentation him/herself about items, mobs and quests in every game. Be self motivated!
Grade 2:
*Contribute to community for myth hunting, map creation and glitch
*Solve personal networking, graphics problem and understanding hardware limitation.
*Solving game compability problem after Windows update
*Introduction to cracking and hacking
Grade 3:
*Motivation to host a game server
*Custom server scripting => start To really code the first time, Perl, python, etc
*Introduction to Linux server and Debian
Grade 4:
*From DDoS to server security
*Server maintenance and GitHub
*Game Server web development
*Motivation into non-gaming discipline by a random YouTube geek
*Set up mincraft with raspberry pi and Arduino
*Switch to Linux or Mac and just dual boot for gaming
Prepared for the real world.
Congratz for the graduation in the Pre-school of Developers (11-14 yrs old) :)5 -
!rant
Let's take a moment to appreciate interested and enthousiastic non-developers who really want to learn a programming language.
I am studying Medical IT at my college and most of my classmates aren't coming from an IT background.
We're currently working with Java, PHP, JavaScript and some require Node for their semester projects.
Some of my classmates approach me when they're stuck while coding and I try to teach them as much as possible so they understand what they are doing wrong and how to fix it.
I also show them how they can optimise their code step by step and they love it!
As a classmate told me yesterday:
"It's always so much fun working with you. I come up with a small problem, but I end up learning so much more about programming when solving a problem with you. I appreciate that."
It's a mindset I've learned when I was doing my developer apprenticeship back in the day. One of my colleagues told me: "if they want your help because they need a quick fix, tell them to kiss your ass. If you know they've already tried everything they could and ask you specifically because they want to understand what they are doing wrong, they are future developers with great potential, so go teach them."
May the force be with you, my enthousiastic little non-devs ❤️6 -
This just makes me mad every time.
I have a friend who asks for help in coding and just reads and copies my whole code, doesn't even understand what's going on and just copies the whole damn thing (the variable names too). Also, says I don't know how to do it properly because I indent the code and he wants it all in a single line.
If there is any error in the code, just tells me that there is a problem and does nothing and keeps nagging me if I solved the problem every 2 minutes.
Once I solve the problem, just copies the stuff again and then brags to others about the code and takes all the credit.
After bragging, if someone asks him for help he just tried to match the code line by line and worry by word. And tells them their code is wrong if they are using a different method of solving the problem and asks them to do it like him.
Being an introvert, I don't go shoving my stuff in others faces and criticising their code.
But the professor knows I am good, so that works for me. :)17 -
I was stuck with an architectural problem for a few days. Tried to solve it in many different ways. I could always do a quick hack and call it a day, but.. That's not pretty and it would be a trip wire for future developments.
Went to bed at ~2am. Took a few hours before I finally fell asleep. In my dream I was solving the same problem as in real life, except there I found an obvious and simple solution. Woke up at 8am, repeated that solution to myself a few times to not to forget it. Implemented it in the evening and it worked perfectly!
Moral of the story: do not work late. Better go to sleep, rest your mind. You might solve the problem while resting, and you will need a clear mind in the morning to remember and implement the solution :)
p.S. This happened to me more than once.2 -
Unpopular Opinion: most devs doing it just for the money are pretty fucking shit at programming and problem solving.
I do it because I like to make screen go blinkyblink. Top reason to be one: you are not scared if printer goes blinkyblink because you know why it makes blinkyblink.9 -
Unaware that this had been occurring for while, DBA manager walks into our cube area:
DBAMgr-Scott: "DBA-Kelly told me you still having problems connecting to the new staging servers?"
Dev-Carl: "Yea, still getting access denied. Same problem we've been having for a couple of weeks"
DBAMgr-Scott: "Damn it, I hate you. I got to have Kelly working with data warehouse project. I guess I've got to start working on fixing this problem."
Dev-Carl: "Ha ha..sorry. I've checked everything. Its definitely something on the sql server side."
DBAMgr-Scott: "I guess my day is shot. I've got to talk to the network admin, when I get back, lets put our heads together and figure this out."
<Scott leaves>
Me: "A permissions issue on staging? All my stuff is working fine and been working fine for a long while."
Dev-Carl: "Yea, there is nothing different about any of the other environments."
Me: "That doesn't sound right. What's the error?"
Dev-Carl: "Permissions"
Me: "No, the actual exception, never mind, I'll look it up in Splunk."
<in about 30 seconds, I find the actual exception, Win32Exception: Access is denied in OpenSqlFileStream, a little google-fu and .. >
Me: "Is the service using Windows authentication or SQL authentication?"
Dev-Carl: "SQL authentication."
Me: "Switch it to windows authentication"
<Dev-Carl changes authentication...service works like a charm>
Dev-Carl: "OMG, it worked! We've been working on this problem for almost two weeks and it only took you 30 seconds."
Me: "Now that it works, and the service had been working, what changed?"
Dev-Carl: "Oh..look at that, Dev-Jake changed the connection string two weeks ago. Weird. Thanks for your help."
<My brain is screaming "YOU NEVER THOUGHT TO LOOK FOR WHAT CHANGED!!!"
Me: "I'm happy I could help."4 -
During my first-ever technical interview, the interviewer asked me "Do you know the FizzBuzz problem?"
"Uhh, not really." (I was just thinking ok this problem has a name, must be some algorithm problem)
"So the problem is basically to give you the numbers 1 to 100, if the number is divisible by 3, print 'Fizz', if divisible by 5, print 'Buzz', if divisible by 3 and 5, print 'FizzBuzz'. For other numbers just print out the number itself."
After hearing the problem, I felt so many ideas popping out of my stressed brain.
I thought for a bit and said "ok, so if the digit sum of a number is a multiple of 3, then the number is divisible by 3, and if the last digit is either 0 or 5, it's divisible by 5."
Then I started to code out my solution until the interviewer said "there's an easier solution. Can you think of it?"
This stressed me out even more.
I thought for a bit and said "well, starting from 3, keep a counter that records how many iterations are done after 3. When the counter hits 3, that number would be divisible by 3 for sure. Should I try this solution?"
The interviewer said "Sure." So I started again.
However, I struggled for about another 3min until I realized this solution is a lot harder to implement. The interviewer probably saw my struggle too.
This was the point where he stepped in and asked me "Ummmm there's an easy way of solving this. Have you heard of the MODULO OPERATOR?"
In sheer embarrassment, I finished the code in 30s.
Of course, there was no further question after this, and I felt the need to seriously reevaluate my intelligence afterwards.15 -
Friend : “What’s a devDuck”
Me: “We’ll use it as a problem solving technique. It’s a technique where if you get stuck, you try to explain the problem to a rubber duck.”
Friend: “Because you don't have the people skills to describe it? Autism levels skyrocketing”
Me: T_T4 -
Dude claimed that he had good practise of DS and problem solving.
My senior gave him a tough one to solve. Couldn't. Started shouting in between the interview that we tricked him with wrong question. Senior sat him down, told him how it was a right question. Dude got pissed. Stormed out of our office. Posted a review on Glassdoor calling our interview process rubbish and unnecessarily difficult.
HAAH!8 -
Devs are my closest friends and I have learned so much from you all.
They ask some of the best questions, their skill set is ever evolving, they have the real problem solving mindset, they are critical towards any and everything in a good way, and so much more.
There was this thread asking what a bad Product Manager is and this answer takes the cake.
The point highlighted in red is the ultimate truth.
Devs are most innovative people of our times. Big shout-out to you all and thank you for making me who I am today :)16 -
Writing a tic-tac-toe player in Prolog. So much fun solving a problem with only rules and no loop control 😍2
-
I remember opening an old script file on our server for scheduled tasks, and thinking to myself; What idiot wrote this mess? It's unnecessarily complex, solving the problem in a convoluted way. And of course, not a single line of comments.
After reading it through and through many times to understand what each line did I kept repeating to myself; What an imbecile... Being this stupid should be illegal... Coding should require some sort of license to prevent idiots from doing this!
Then of course, it slowly dawned on me. I had written this crap one year before. I'm the idiot... 😐
I've commented every line religiously since then.4 -
Template for every Silicon Valley episode be like:
1. Start solving problem from previous episode.
2. Creating some shit that solves the problem.
3. Initialize new problem.
Damn it. I'm still hooked!!2 -
#1 life lesson I learned from coding?
Maybe not coding specifically, but I learned the difference between problem solving and solution finding.
Its helped me in a lot of areas of my life. Made friends and made enemies.4 -
Some of these have been mentioned already but here they are, these things make me be a bit better at programming (at least I think so)
• sleep, I love sleep and I think a good night's sleep can do wonders
• music, music theory which is a language in itself and playing an instrument which teaches hand-eye-coordination and also creates patterns in your head, but certainly teaches us that you need to practice a lot to achieve your goals, that it's hard for beginners but gets a bit easier with time
• solving puzzles and riddles, I've been a huge fan of puzzles from an early age, it is something that teaches us solving problems and creating strategies
• other types of games that are helpful are games where you have to find things in a picture or in an environment, this has trained me a bit on finding nasty bugs in my code or at least syntax errors
• googling: sometimes you find out something that is not really related to your problem, but you remember it nevertheless and later on it can help you with something else
• maths, yes, you read correctly, I'm not a big fan of maths either, but what you learn in maths is that there are certain procedures you're often repeating and that you're always building on your knowledge and expanding it, sometimes solving mathematical problems is fun too ;)
• getting fresh air - self explanatory
• listening to other people's life stories, this helps me generally in life, to know that I'm not the only one struggling with something and so on
And I probably could go on with a lot more things, but I think that's enough for now15 -
When I solved a machine learning problem using naive Bayes in R for the first time.
I still remember it was 5am. Had been stuck for weeks and when it worked.. I called my teammate at 5am and said.. "I think solving this feels better than having sex".3 -
After 9 months of my course that involved much fear, anxiety and depression, last night I had a great moment.
Learning about scrapers for my dissertation - watched 10 minutes of a tutorial video then thought of an idea and went away and an hour later had built a little program to read a restaurants menu on their website then read back what they had in the form of a poem - all in a language I hadn't used before that night.
The reason I learnt coding was that I idolised the idea of thinking of a problem and then just solving it with your own code. Last night was the first time I felt like I might be getting there.
:).
p.s. Sorry this isn't very ranty.2 -
Programming lesson #5
When logic becomes too complex to solve mentally while coding, writing the requirements and inputs on paper and coming up with pseudocode is a good approach.10 -
Coding has changed the way I think. Everywhere I go, I think of algorithms and efficiency.
When I'm in elevator, I think about what algorithm is running in the background.
When I'm at red light, I think about the algorithm that traffic lights are running.
I notice bugs in websites and apps and try to figure out what the dev might have done.
I find problems in UI design and get annoyed.
I spend more time coding a solution to a problem rather than directly solving the problem. I get a kick out of it.
When I see something uses more resources than necessary, it seriously pisses me off.
Coding has taught me to think and has positively changed the way I live.2 -
*Intensely staring the screen and solving a problem in my head, I can feel I'm close to the final answer, the answer to the truth, the holy Line of Code and that it will forever chang-*
PM: hey, do you know why my mouse doesn't click anymore?
...rant they're not coming back far away my thoughts are yep all gone and no distraction intense thinking6 -
Them: why do you like programming?
Me: because that euphoric moment and rush oxytocin to my brain, after finally solving my problem, makes it all worth the hard work and bashing my head into a wall for weeks. -
My trusty old Nexus 5 had a broken microphone for a long time (only worked on speaker phone) and a couple of weeks ago the display died as well. Yesterday, I decided that I can't afford a new one so I took it apart. After a while I had successfully repaired both the microphone and display with small pieces of tissue paper. I guess anything is possible when you're a stubborn problem solver!9
-
Stepped out of my comfort zone and dropped a Zoom link into the channel for Lambda grads to see if anyone wanted to work through code challenges together. It ended up being enjoyable enough that I’m thinking of making it a regular thing. Meanwhile, contribution graph is still going strong.2
-
Long rant ahead.. 5k characters pretty much completely used. So feel free to have another cup of coffee and have a seat 🙂
So.. a while back this flash drive was stolen from me, right. Well it turns out that other than me, the other guy in that incident also got to the police 😃
Now, let me explain the smiley face. At the time of the incident I was completely at fault. I had no real reason to throw a punch at this guy and my only "excuse" would be that I was drunk as fuck - I've never drank so much as I did that day. Needless to say, not a very good excuse and I don't treat it as such.
But that guy and whoever else it was that he was with, that was the guy (or at least part of the group that did) that stole that flash drive from me.
Context: https://devrant.com/rants/2049733 and https://devrant.com/rants/2088970
So that's great! I thought that I'd lost this flash drive and most importantly the data on it forever. But just this Friday evening as I was meeting with my friend to buy some illicit electronics (high voltage, low frequency arc generators if you catch my drift), a policeman came along and told me about that other guy filing a report as well, with apparently much of the blame now lying on his side due to him having punched me right into the hospital.
So I told the cop, well most of the blame is on me really, I shouldn't have started that fight to begin with, and for that matter not have drunk that much, yada yada yada.. anyway he walked away (good grief, as I was having that friend on visit to purchase those electronics at that exact time!) and he said that this case could just be classified then. Maybe just come along next week to the police office to file a proper explanation but maybe even that won't be needed.
So yeah, great. But for me there's more in it of course - that other guy knows more about that flash drive and the data on it that I care about. So I figured, let's go to the police office and arrange an appointment with this guy. And I got thinking about the technicalities for if I see that drive back and want to recover its data.
So I've got 2 phones, 1 rooted but reliant on the other one that's unrooted for a data connection to my home (because Android Q, and no bootable TWRP available for it yet). And theoretically a laptop that I can put Arch on it no problem but its display backlight is cooked. So if I want to bring that one I'd have to rely on a display from them. Good luck getting that done. No option. And then there's a flash drive that I can bake up with a portable Arch install that I can sideload from one of their machines but on that.. even more so - good luck getting that done. So my phones are my only option.
Just to be clear, the technical challenge is to read that flash drive and get as much data off of it as possible. The drive is 32GB large and has about 16GB used. So I'll need at least that much on whatever I decide to store a copy on, assuming unchanged contents (unlikely). My Nexus 6P with a VPN profile to connect to my home network has 32GB of storage. So theoretically I could use dd and pipe it to gzip to compress the zeroes. That'd give me a resulting file that's close to the actual usage on the flash drive in size. But just in case.. my OnePlus 6T has 256GB of storage but it's got no root access.. so I don't have block access to an attached flash drive from it. Worst case I'd have to open a WiFi hotspot to it and get an sshd going for the Nexus to connect to.
And there we have it! A large storage device, no root access, that nonetheless can make use of something else that doesn't have the storage but satisfies the other requirements.
And then we have things like parted to read out the partition table (and if unchanged, cryptsetup to read out LUKS). Now, I don't know if Termux has these and frankly I don't care. What I need for that is a chroot. But I can't just install Arch x86_64 on a flash drive and plug it into my phone. Linux Deploy to the rescue! 😁
It can make chrooted installations of common distributions on arm64, and it comes extremely close to actual Linux. With some Linux magic I could make that able to read the block device from Android and do all the required sorcery with it. Just a USB-C to 3x USB-A hub required (which I have), with the target flash drive and one to store my chroot on, connected to my Nexus. And fixed!
Let's see if I can get that flash drive back!
P.S.: if you're into electronics and worried about getting stuff like this stolen, customize it. I happen to know one particular property of that flash drive that I can use for verification, although it wasn't explicitly customized. But for instance in that flash drive there was a decorative LED. Those are current limited by a resistor. Factory default can be say 200 ohm - replace it with one with a higher value. That way you can without any doubt verify it to be yours. Along with other extra security additions, this is one of the things I'll be adding to my "keychain v2".11 -
I was hopelessly lost in a problem when I found an Issue on Github describing the exact same problem.
Unfortunately, the message board it didn't quite help me solving the problem.
Some time later I managed to solve the problem, and remembering the Github issue, I wanted to post an actually helpful message.
Oh but wait. The issue was fucking closed.2 -
wasted 40mins in solving a medium level hackerrank problem with C. tried with python, done in 10 mins. -.-"2
-
My mentor at my current internship helped me improve my debugging skills. He's a great dev and has really good debugging skills. He showed me his ways of approaching things and how I should go about solving difficult problems.
I think he never directly helped me when I got stuck. I ask him like 'I have this confusing problem, can you help me out?' and he's like 'well yes, but actually no" and he almost always tells me that I can figure it out myself. And I do figure it out, eventually.
Now, I seldom feel the need to go to him. I guess that's a good improvement. :)3 -
So I finished my first semester in NYU as a CD master. During the first semester I took a class called heuristic problem solving. Every week a competitive game will be introduced to us, and will be played in two weeks. And trust me, the games aren't easy. I teamed up with another guy who I had no idea was and named our team as we don't know. At the end of the semester we won seven out of nine games, and by won I meant that we beat the whole class in the match. And my teammate became a really good friend.
By telling this story, I want to make a point. I love problem solving, and not problems in a algorithm book where you apply an algorithm and do some trick to solve it, but real world problem where you hope for the best and anticipate, predict your opponent's move. However, American's school system doesn't teach that.
When I applied to graduate school, no school wanted me because I have an average GPA of 3.6, and no outstanding achievements. I can solve problems in my dream becaus I have an active mind, I can propose solution to a project one month before my teammates realized they essentially were doing what I told them the solution should be. But so what, I can't write those on my application.
One of the professor told me that my professor shared the story of my team during a faculty dinner, and they were very impressed by our achievement. So I guess I'm not dumb. But after all, companies and schools will look at your transcript and decide who you are.
I love myself for having random thoughts all the time that can lead to innovative problem solving. But I also hate myself for not able to study like the good kids are.10 -
I don't know if it's the new generation of programmers or what but it irritates me how people recommend JavaScript/Node for solving almost any type of problem these days. JavaScript is nice, but come on...12
-
Making python 2x faster by replacing enums with literal values.
Pros, it's faster, cons, it's unreadable.
God I miss compiled languages. At least optimizing them requires intelligent problem solving.
It's a text parser state machine transition so it's a code hot spot, so this kind of optimization is worthwhile. But it's kinda annoying.
Next is get rid of any semblance of readability and replace the match with an array index...31 -
OK. A friend asked me how I found devRant. Let me tell the story.
I was solving a google code-jam problem. I was in hurry and I missed an intent. I was short in time and the error drove me crazy. so I opened a tab, typed: "fuck python" and the magic happened. The first result was a rant from devRant.12 -
Top 3 times:
1) When I amazed myself by solving a problem using recursion.
2) When I taught myself how to make my a restful api and consumed it using Ajax.
3) When I converted a psd in to a responsive pixel perfect webpage.
Writing code makes me feel I am worth something in this world.1 -
I now understand why we have multi-core processors. So that a process that dun shit the bed doesn't hog the whole fucking CPU! Of course at the expense of "yeah our shitty software can hog the CPU no problem, there's now several cores anyway". Hardware solving the crap that software presents, yet again.6
-
Don't attack flies using tanks.
In 2020, a bug was found in gnome-terminal where selecting many megabytes of text inside the terminal would cause the terminal emulator to crash.
As a remedy, the brain of gnome-terminal developer Christian Persch spawned a "brilliant idea": Limiting the "Select all" feature to selecting only the portion of text that is visible on screen.
In other words, Persch made the "Select all" option useless. After pressing "Select all", it appeared as if everything was selected, but once you scrolled up, nothing beyond what was visible was selected.
By solving a minor problem that rarely ever occurs, Christian Persch created a major problem that often occurs.
Source for screenshot: https://gitlab.gnome.org/GNOME/...11 -
The ability to recognize previously solved problems and integrate a known solution is crucial to programming (and problem solving in general). Us programmers, we call that "Copy and Pasting."
-
2 leetcode hard questions in 60 mins. That's what I faced in few company interviews. Trust me, if that's the expectation you're having from candidate, you're looking for a leetcode monkey but not a software engineer!
To the interviewers who have such unrealistic expectations, please change your mindset. It's literally impossible to come up with optimal solutions to 2 leetcode hards in 60 mins if I haven't solved those problems before! It just becomes a memorization game not a problem solving round!!!
:)2 -
Everytime I hear the word 'coding' or 'code' in regard to programming, I get a twitch of annoyance in my brain. Seriously, that word is so overused that it's now cliche to me. And it does nothing to distinguish the kind of language someone is using. Is a software engineer solving an advanced problem using C or is it some newby who only knows HTML? Please stop saying thing like, 'i know how to code' when all you know it's HTML. Be specific, you're not fooling anyone. Also, please, don't use that phrase if you're an advanced software engineer either. You're better than that.18
-
Just had an internship interview. I may be pretty good at coding but god am I awful at programming under pressure..4
-
Ever happened to you?
With me, it always happens when I code !! LOL 😂.
Favorite language C++, tell me yours.9 -
* How I solve a problem*
"Okay, it seems to be interesting, OK think solve it generally"
*Solved the problem manually
"Okay pseudo code is /do this and that/ break it and write Algo.
Seems like it will work,
Making all sense
Okay let's code"
*Wrote in IDE
" Hmm compile and execute"
*Expected output : Hey you!
*Actual output : F you!
Me: What the hell
"Uhh! Just gonna apply brute force"
*Somehow got the actual output = expected output
"I knew, it gonna solve it but how it worked?"
*Thinking
*Thinking....
*Thinking and it's 2 am
"Oh! I'm done, I'm going to sleep"
*4 am, while lucid dreaming
"That's how that thing worked, I got it"
*Relieved
*Next day using the logic dreamt of
*No matter how much surreal it is
*It didn't work
Me : F U!!!
..
..
...
(to be continued)2 -
OMG!!! I CAN'T BELIEVE IT! I just got an email from HackerRank saying they awarded me a certification...
I wonder what it is done I haven't been on there for at least a year...or two...
It turns out I am certified for basic problem solving....
Hm.... 🤔🤔🤔🤔3 -
Curious, does anyone else that’s been in the tech/IT field for more than 5 years feel like we’re just solving the same problem over and over again, albeit with different tools as the years go by? Or am I just too grumpy to stay in this field after trudging it out for 20+ years?2
-
Teacher asks the class:
"How do you become a good developer?"
All the students starts talking about algorithms, problem solving or working in a team.
He nods and starts writing on the board. w w w. g o o g l e . c o m
He then leaves the classroom.
So here I am years later, a master googler and a expert stack overflower.4 -
My fav interview was at my previous job. It was a junior position. The lead was a very friendly and wise guy. He kept pushing me (positively) with subtle hint until I get a code right. After completing each problem he give me elaborate explanation about the meaning of the problem and how to approach it from other angles. It felt like I'm in front of buddha who is making me realize the inner working of the world. Didn’t get 50% of the questions right, still he recruited me because "You were very curious and you were having fun solving problems". Best one and half years of my career.4
-
Am I the only one who still look deep in the Code, try to find a better way of solving a problem after it's already been perfectly solved 🤔12
-
When I thought I had bricked my HTC Hero while trying to load a custom ROM and it just didn't boot. I had a real eureka-moment late that night when I understood the whole process and successfully flashed it in a non standard way to get it back working.
I haven't thought about this for a while and it wasn't really dev-related either more than problem solving. That moment was also realisation that I both love and hate technology.1 -
I once built an app because my girlfriend travels a lot and I was worried she might be kidnapped. App becomes a big deal, now I have to add more features. I really just wanted a holiday and peace of mind.1
-
Whenever I come across an error I can't solve, my passion and enjoyment for programming steadily goes downhill as I furiously search Stack Overflow and debug. And just when I'm about to give up, to say "this is the opposite of enjoyable, I'm quitting" I figure out the stupid mistake I made, and the moment of sheer bliss that comes with solving a stubborn issue boosts my passion for coding up even higher then it was before.
And at times like this, I wonder if that majority of time spent staring frustratedly at an error message is actually made worthwhile by the sudden hit of adrenaline that comes from solving the problem.
I imagine myself like a drug addict in that regard. Like a drug addict, I spend most of my time feeling like shit, but that short feeling of happiness makes me put up with the shittiness. Is it really worth it? I subject myself to so much angst, angst that I only keep pushing through because I'm certain I'll figure it out eventually, I'll solve the problem and everything will be okay.
Maybe that means programming isn't truly for me. I'm sure many people actually enjoy the process of overcoming obstacles, but honestly, I don't. The only reason I keep trying to scale that obstacle is because of my memory of the past obstacle, and the feeling I felt as I climbed down the other side, having finally reached the top.1 -
The best part of being a dev is that no matter how long you take to solve a problem, you know that even after a whole night of solving issues it will be worth the effort because you will deliver a functional product and there is no best feeling.2
-
How I solve complex problem during development.
1. I left my machine with all the thinking and start to think of another activity.
2. Start another activity I like specially a physical one like playing a game, jogging or just walking.
3. Then after I am fully involved with this activity I start to think of different scenarios of the problem I was trying to solve.
4. Eventually, different solutions came to my mind and I evaluate them one by one with respect to my problem.
5. I finalize a couple of solutions based on the evaluations.
6. Rush to my machine and start implementation to see if it work.
PS: During all these thinking I will be terrible at the activity I am doing.
Loop again if It didn't workout.3 -
Spent 2 hours last night (leaving an hour late) with the IT guy hunting down a problem that affected at least 12 other teams. It didn't crash the app, but did prevent MANY scripts from working, and thus nothing could be committed.
I found the culprit, made a solution, and posted in the email chain my solution. (it required a code review and a client-side update)
Someone responded asking for another dev to confirm my report. That dev did and them dumbed it down for those who can't understand programming talk. Then EVERY EMAIL after that thanked that dev for "fixing the root problem" and "solving their scripts".
And just now, the PO for the bug was replaced to that dev's team. (previously was my team's PO)3 -
Where do you go/what do you do when you need to think out a problem?
Me, I take a drive. I'm not sure why but I seem to achieve maximum clairvoyance while driving around. Moreso at night than during the day, but the effect is still there when the sun is up. It's kind of weirdly meditative, to drive autonomously, only hearing the drone of the engine and whisper of the tires.
I know a lot of people resort to showers, or straight meditation, but I was curious if there were other, quirkier things people do to arouse their mind.7 -
Lately submitted an app to the App Store, it was reviewed by Apple, everything fine, I released it.
Last week I submitted an update containing some minor fixes - rejected?!
Checked the reason: Apple has a problem with the app icon (which did not change at all) showing a stylized iPhone.
Right now I'm thinking about solving this by adding a Samsung logo to the icon though..3 -
Why everyone is happy about Google clip? It's the single most scary instance of a big brother appliance that exists today. What are they going to do with the data? They say it's save memories of your kid or your dog. There's already something like that. It's called a brain and paying attention to your damn life. I don't want to be saved in your shitty memories just bc you are so insecure about remembering your fuck*ng memories.
I'm sorry for the outburst but that sh*t is solving a problem nobody had and it's getting applauded like those heaven's gate motherf*ckrs that say that life is improved by these shitty beliefs.26 -
"OMG WE MISSED SOMETHING WE NEED AN EMAIL SENT TO EVERYONE IF X HAPPENS AND NOBODY DID A THING WITHIN AN HOUR!"
Ok done.
"OMG WE NEED IT SENT IF NOBODY DID A THING EVERY 30 MINUTES"
Um... not sure we're solving this problem right way ... but there you go done.
"OMG SOMEONE GOT AN EMAIL AFTER 45 MINUTES AND NOT 30 MINUTES"
Bro who the fuck knows why that happened, it's email not instant messenger .... that's what I meant by us solving this in the wrong way, email for this is dumb... how about we solve this process problem in some other way or you just fuck off ... this isn't a coding issue this is something else...4 -
First message of today :
"Hi, I'm X from the Y office. Do you remember that was you to set up our internal network two months ago? Ok, yesterday we called the elettrician to fix two wall plugs. Now our network is completely broken. Come to fix because we think you did something wrong."
I forced myself into some other jobs i had to do for about 2 hours. After that i grab the smartphone to answer.
Oh look, there is another message.
"Hi, always X from the Y office. We just restored the static IPs you setup after we've changed them early this morning. Now everything works again."
Oh really ?1 -
I really despise solving competitive programming problems.
I truly believe it's okay to struggle with them and that people have different abilities. But these kind of problems are an easy way to make you hate yourself and think of yourself less.
I can't solve this problem --> I'm not a good programmer --> I'm not smart enough --> I'm not good enough like my peers who work at FA*G companies, ...
I know these interview problems are a filter and that recruiting is hard and the demand is always high and that they are nothing like the real work but, the reality is, you need to prepare if you want to get into one of the big companies with better perks and maybe better projects.3 -
“Falling in love with code means falling in love with problem solving and being a part of a forever ongoing conversation.”- Kathryn Barrett
-
Im getting annoyed by the new layout of google. Hovering the sidebar will make a scrollbar appear but the main part of the site's scrollbar will disapear. This results in most content moving from their original place. Let's make a Stlyish script to fix this problem I thought. Guess what now somethings stay where they should be, but the things that were first on the right place have moved. Also this will make the header shorter. I'm getting more and more amazed how shitty some frontend devs are at google.
To fix one bug they, instead of solving the bug, tried to counter the result of the bug.
I do like the z-index of the sidemenu though (it's 2005, the year youtube was created)12 -
5 years ago , when I started coding and problem solving things , my IT teacher said "you need to be patient, to learn coding"
Nowadays I found out why you need to be patient.
To deal with stupid clients ..!!!! -
Just spent over 5 hours trying to figure out Microsoft’s OneDrive REST api. Basically my first time trying to do POSTs n’ stuff. I got very very close, but the server kept throwing 400 error codes. Eventually I had to give up and ask Stack Overflow. Going to bed now at 2:20am. No worse feeling then not being able to solve a problem you’re dedicated on solving. :/4
-
My Precalculus teacher has such overstrict rules on showing work.
1. On tests, degree signs must be shown in all work. This wouldn't be outrageous except that if the answer is right but a single degree sign is missing in the mandated shown work, the entire question is wrong even with a correct final answer because the "answer doesn't match up with the work".
2. We must show work in the exact form mandated from on class. If even a single step of work is missing or wrong on even one say homework problem, no credit even if the entire rest of the sheet is correct and complete.
3. Never applied to me, but if a homework problem cannot be solved by a student, they must write a sentence describing how far they got and what wasn't doable, or no credit on the entire homework. Did I mention it is checked daily and is 2 unweighted points with 50-100 point tests?
4. On graphing calculator problems, one had to draw a rectangle representing the calculator screen, even for solving systems of equations without explicit drawing graphs as part of the problem, because otherwise, she had "no proof that a calculator was used". It isn't that hard to fake, and it was quite stupid.
5. Reference triangles were required even when completely unnecessary or the answers were assumed copied, even if a better method was shown in work.
And much, much more!4 -
Product and Design have a common enemy. Yes, you guessed it right, Engineering.
The former aim to solve user problems and focus heavily on aesthetics most of the time. While the latter actually does it.
As a Product guy, I admit that I absolutely hate the role these days because all that are asked to focus on is engagement retention conversion and other fancy metrics. Community has missed the entire point of why the fucking role exist.
On the other hand, engineering always asks the best questions. Focuses on performance and scale while periodically checking on tech debt. Yes, they suck at business or sales but when the solution works, things automatically make money.
I DON'T FUCKING CARE HOW BEAUTIFUL YOUR APP IS, IF IT DOESN'T SOLVE MY PROBLEM THEN IT'S RUBBISH.
Functionality and UX matters to more than colour scheme or fonts. Reason why Amazon is a huge. They are functionally solving a great problem while constantly improvising UX and not giving a rat's ass on UI.
Another down side to your fancy design is that the UI elements make things heavier. No wonder engineers have always been the best problem solver.
We lost our way. Tech world needs to go back a decade or two to fix the tech debt.8 -
My brother is so dense. He Spent the entire day wondering why his headphone port wasn't working on his phone, started bitching to me listing off reasons why he thinks the jack is broken.
I sit him down, ask if he tried turning it on and off again.
For fucks sake he didn't, litterally fixed the problem; the most default solution in the book and he didn't even try it. My god why can't people figure this stuff out.
Officially I have been assigned as the close and extended family "tech guy". Wasting my time solving issues that should be first nature in this century.4 -
My best skill is problem is:
*** problem solving ***
Really, at least in all the teams I've been working until now, I'm always surprised by myself. How fast I am in spotting the problem root and find or suggest a solution. Even on things I have almost no knowledge.
My worst skill is:
*** problem solving ***
Being so effective make me everybody's slave.
Everybody always rely on me for any kind of weird shit. If I try to "outsource" the problem, after one day it will bounce back on me and I solve it in no time.
So I've no time for anything else that solving other people's problems.
Constant interruptions and context switching.
And worst, my bosses don't understand why I don't finish my tasks. And I cannot blame my team.8 -
Well just blew up a coding interview.
Got an offer to be a Drupal dev and was expecting questions on Drupal API and module dev but got asked how to find the closest Enemy in an array and blah blah blah.
Interesting question but man. My mind got blank and got nervous. It's been a while since I've done a question like that and I've been coding for 10+ years.
I would've love to solve that in another language such as Python or C++ but got stuck on PHP because it was a Drupal position. But I only use PHP for Drupal modules and templates who are highly dependant on Drupal API. Or even WordPress plugins. But I try to avoid WordPress because is shit.
Guess the job market hasn't changed since I graduated back in 2014. So I feel a little bummed down. But I guess I'll just have to practice those type of problems as well. At least the problem solving method.
At least it will be an excuse to do those leetcode problems.7 -
My boss started contemplating whether to start using styled-components for react.
I showed him Vue: "oh well, so we're basically recreating Vue within jsx?"
I'm not sure what problem we're solving anymore1 -
Best thing to be a dev
You create your own tools, problem solving skills that we learn and the best thing that non-tech people treat you as a genius5 -
Cat-warming solution when the power goes out
Problem: Your power goes out in the middle of winter. Your cat is cold and will not leave you alone. You are her only source of heat.
Step 1: Find battery-powered laptop.
Step 2: Power on laptop and turn off sleep/hibernation in the settings.
Step 3: Open up 5 instances of Minecraft and load a single-player world in each.
Step 4: Close laptop and flip it upside down
Step 5: Place cat on computer above the fan. Cat will begin to purr.
(Yes this works)2 -
I had some fun with ChatGPT today. I wondered how good its problem solving skills are. Turns out, it's no better than an entry/junior dev armed with all the docs out there - it knows what's written there, how to use the thing (language/framework/tool/etc.), but it has no "understanding" neither of the problem nor the tool, in a holistic way. It's got the knowledge, but it neither has the skill nor understanding of how/why to use it to solve a problem (any problem beyond plain simple complexity).
So the problem I asked it to solve was related to this one I had: https://devrant.com/rants/6312527 .
It was painful to troubleshoot this problem with ChatGPT. It kept on focusing on this particular problem and reacting to errors while trying to fix its initial solution. It took us a good while. Eventually, it reached a working solution, but it was an ugly, convoluted approach that was not feasible to cover my use case with.
FWIW I think it is interesting to follow its line of thought. Eventually, a pattern emerges of how it tries to solve the problem. And it reminds me a lot of myself on the first week in the IT field :)6 -
I feel very anxious when developers interviewing me asks
1. is nodejs single threaded or multithreaded ?
2. How does node handle requests
3. How do u manage concurrency
4. What is event emitter and callback.
Dude i have given you my resume, without knowing these things i could never do that ?
I feel the discussion must be based on concepts and general problem solving rather than focusing on one technology. Tech can always be learnt.6 -
I didn't really plan to study computer science, it just kinda happened. So when a few years into school my GPA was low my mom concluded it wasn't right for me.
Thing is, I knew I was good at programming and problem solving and so did my classmates. I even helped people who the school system said were smarter than I was.
So now I am constantly doing projects and freelancing with hopes that I'll prove myself to her.
... -
I wanna work for a company that develops cool algorithms and implements them. Where the devs analyze complex issues and have to do complex problem solving. Where everyday is a challenge. Not a place where simple repetitive UI bugs are the issue at hand. Not a place where the only tasks and todos are trivial and uninteresting. Not a place where most of my coworkers are idiots.2
-
Finally figured out that 500.30 error.
You won't believe it, but y'all probably will... But I solved my problem by fixing literally one line of code.
This of course pissed me off because this problem persisted for an entire week, even my supervisor could not figure it out.
But I learned so much in failing to find it and making wrong assumptions along the way.
Solving a problem is sometimes just half the battle, the journey along the way counts for something.
My supervisor was super impressed too, so that made me even more happy.
Anyways onto the next problem. 🤪6 -
I feel like a lot of devs, last years self included.
Need to realize, a great Dev is not necessarily one that Ace in code.
But rather one that can convey and understand the problems they're to solve and more importantly the perspective of the end user.3 -
My productivity hack? I code in the shower and use a water whiteboard. I have to be up very early and feel the most clear headed right when I wake up.
If I'm stumped on something, I can usually tackle it from a new perspective. For the most part it works out. Other then the occasional profanity if I accidentally erase something and the sometimes longer than usual showers, my wife doesn't mind. Usually because it's 5 in the morning and when she takes a shower there is this scribble that she tries to decode!1 -
Coding is essentially problem solving with almost immediate feedback. Video games are also problem solving with almost immediate feedback.
That's probably why most Coders love video games. That and the fact that most people love video games anyway. -
Sometimes when shit is getting difficult I lay on my bed reading a book for a while. Then I'll go for a run for half an hour to go back to the problem I was solving with a clear mind. Works everytime and keeps me healthy in the process.2
-
I work for a big bank. I'm going to say pretty much the entire Support team is incompetent.
Oh something went wrong? Escalate to devs... cuz we have no idea wtf to do and don't have the most basic technical problem solving skills...
Bunch of useless monkeys... btw guess what time it is now? And what I'm doing?5 -
Another rant reminded me:
I’ve been at the same company for almost five years now, and I’ve seen the dev teams grow: several juniors come in, and even a few that left - or more precisely, was let go. And for each of those that were let go, the root issue with them was always the same: not the lack of skills or ability to learn their trade at job, no. It was always communication issues serious enough to render working with them impossible.
So remember juniors, besides googling and problem solving, the most important skill to master in team-based dev envs is COMMUNICATION. You need to fucking be part of the team or you’re out, no matter how good you are technically. If that’s too hard, either this is the wrong line of work for you or you need to just go solo. It’s that simple, boys, girls, and everyone else on the spectrum.4 -
Can't sleep because never ending brainstorming/problem solving, any of you guys who suffer the same sleeples nights, and do you have any tips? Was thinking of trying out prescription medications.5
-
When you spend more time renaming variables, class names, properties etc.. to achieve perfect code and patterns rather than actually solving the problem. I'm bored now...
-
I had a list that was built off a for loop.
One day the list was off by 1, and continued to be for a solid week...
Instead of solving the problem.. Added +1 to the incrementer variable.
Hasn't happened since (3 years)1 -
!Rant
Do you guys know any website that challenges you into coding little programs (for me, php) to solve problems ?
I mean, it would be to train my skills with actual kind of real world problems, not just hello worlds or simple "how-to" codes.
I signed up to a contest recently and I felt really dumb not to be able to find solutions faster or with more efficiency (FYI : I was ranked 1049/2300 all languages included :( )11 -
Fucking Ballmer peak and blowing by it 9 times out of 10. But that every once in a while when you hit it. Oh it’s real. So real. Focus and problem solving rolled into one.
-
"In the beginning, God created Heavens and Earth. It was supposed to have been done in a week, but He had problems with some SaaS service providers and it ended up taking several billion years"
My one-week-task haven't got to a billion years (yet), but it was EXCLUSIVELY due to SaaS providers going bananas and not solving SHIT with their own shitty problem-making solutions.16 -
Not actually solving the problem in an error and instead implementing a workaround thinking "no one's going to read this code anyway" when I'm actually just condemning my future self to a lot of hell.1
-
Not the question itself, the attitude was the problem.
I didn't solve the problem that they gave me, and struggled for a while (I ended up solving it an hour after the interview).
Their attitude was that they were both sitting on their computers working and not paying attention to me.
That was disrespectful and stupid. Interviews are also about figuring out whether you can work with the person being interviewed, not just their tech chops. They completely missed the opportunity.
I went to round 2 which was the same. Didn't go for round 3. -
"Of course design is about problem solving, but I cannot resist adding something personal." - Wim Crouwel
-
Some people are so crazy about Hadoop, that for every problem, they think of solving it using Hadoop. Even when you need to process a 10MB file!!!!2
-
I am a CS student. I can do core programming(like solving a basic problems) stuff pretty well but, I can't seem to understand UI design.
I was learning web development.
Learnt the basics of HTML, CSS then thought "let's make a simple website".
Couldn't design a single thing.
I mean i know the concepts how to implement forms tables navs etc stuff. But main problem is I can't think of good design.
Am I just not made for web dev or what?
How to be a web dev? I am following Angela Yu's udemy course, should i try freecodecamp?32 -
I am new to open source, so i was trying to solve some issues on an organisation. At first it seemed like what the hack is happening, i was not able to understand the codebase that well but slowly and eventually i get to learn some stuff.
Now, i got stuck at a small problem and to solve that problem it took me a whole complete week. During that phase, i realized some things that i want to share.
As a beginner it was too hectic to find the solution to that problem so i entered that problem on every platform from where there is some chances for reply, and i realized that no one is going to help you out completely and this is the best part, i mean if someone is going to spoon feed you than you won't learn anything. I know that feeling when you are scratching your head and you just want to get out of that mess but you are stuck and there is no one to help you out, believe me just hang in there, there will be some moments when you will realize that there is no more options left and you are done than for sure you will find something which you can try.
So you should also not ask for spoon feed, if you want to learn than fall into many problems as you can.
Best of luck.5 -
I’m an idiot. Stackoverflow issue that I documented to a T. Javascript. So I put requirement of not having jquery or framework.
Get a comment about do I know it is working? My answer, debugging. They respond back with a question about debugging and some details I totally didn’t read.
Well, that was the bug. Chrome debugger was showing a message I didn’t understand. So they answered my problem perfectly.
But before realizing he answered my issue, I blew up. Of course I know what is going on. The debugger is showing me....did you even run my example?
I almost felt like giving up as a developer. Here is this awesome guy, solving my issue, and some dumbass like me has to be frustrated. Now he won’t respond to take a bounty he so awesomely deserves.
I’m still a dev. I just don’t feel so professional anymore... -
Things I get paid for but shouldn't:
Yesterday afternoon with an extra half hour staying late trying to work out why my code doesn't do what I think it should be doing.
Things I don't get paid for but should:
The 5 minutes in the shower this morning when I worked out what I'd fucked up.1 -
I absolutely hate software to the point where I started converting from sysadmin to becoming more like a dev. That way I could just write my own implementations at will. Easier said than done, that's for sure. And it goes both ways.
I think that in order to be a good dev, you need these skills the most:
- Problem solving skills
- Creativity, you're making stuff
- Logical reasoning
- Connecting the dots
- Reading complex documentation
- Breaking down said documentation
- A strong desire to create order and patterns
- ...
If you don't have the above, you may still be able to become a dev.. but it would be harder for sure, and in some cases acceptance will be lower (seriously, learn to Google!)
One thing I don't think you need in development is mathematics. Sure there's a correlation between it and logic reasoning, but you're not solving big mathematical monsters here. At most you'd probably be dealing with arrays and loops (well.. program logic).
Also, written and spoken English! The language of the internet must be known. If it's not your first language, learn it. All the good (and crucial) documentation out there is in English after all.
One final thing would be security in my opinion, since you're releasing your application to the internet and may even run certain services, and deal with a lot of user data. Making those things secure takes some effort and knowledge on security, but it's so worth it. At the most basic level, it requires a certain mindset: "how would I break this thing I just made?"4 -
Just had a big breakthrough on my personal project, solved a problem I've been working on and off on for the past year or two.
Feels good man! No other way I'd want to be spending my Friday night :)
Anyone else get that good feeling from solving a hard problem you're stuck on?4 -
I have a 24 hours hackathon tomorrow (25 hours actually because of the time change).
I want to learn and create an app and I opted for xamarin as a development platform. Problem was: I didn't have enough space in my windows partition (it's a ~40Gb partition in a 128Gb ssd) so, as I am not using Ubuntu that much I simply deleted its partitions from Windows and installed visual studio with xamarin. I played a bit with it, everything was working fine, I switched it off and I was feeling great for my wonderful problem solving abilities and I was ready to go to bed to have a nice 10 hours sleep before the big event. I was about to sleep when I realised it was my cousin's birthday and I hadn't said "happy birthday" so I switch my computer back on and there I realised how much I had fucked up.
The grub wasn't working anymore and I couldn't boot.
I've just spent the last 3 or 4 hours trying to figure out how to make my computer boot normally using my housemates' laptops to create bootable USBs for Windows and Ubuntu
Thanks to some random commands in the trial version of Ubuntu I managed to disinstall the grub and make windows start but thanks to my experimentations while trying to fix the problem I am now waiting for visual studio + xamarin (~35Gb) to download and install again.
Tomorrow's gonna be great7 -
1] Being able to say "the easy way or the hard way" when people ask if you can build them a website/app
2] Telling people they can't afford me when they ask if i can help them with something computer related
3] The feeling of encountering a problem and solving it gives me a drug-like high when i've finished a project. Even the feeling of finishing all the day's tasks and having time to work on ongoing greater tasks fills me with a sense of accomplishment and victory. -
0) Because it's kind of Magic.
1) Love solving complex/small problem using this magic.
2) It's frustrating as well as exciting when magic is not working.
So yea it's kinda magical and doesn't matter which language you do magic in. -
Don’t work under a lead dev that is single focused on immediate problem solving. You will only ever put out fires caused by their small-mindedness and miss on learning to solve bigger problems.2
-
Just started as an intern as a web developer in a small company. I have about 4 semester of coding experience and was hoping to learn a lot new things. Well it turns out that the main developer who's responsible for building our product has no fucking clue what he's doing. Our biggest document has about 6k lines and it kills my 8 GB ram notebook. Instead of writing one nice function, solving the problem which is occurring frequently, he wrote the same fucking thing multiple times... In the same fucking document. That's just one of many things.
Well now my job is mostly trying to stay cool, while my notebook gets hot af and somehow keeping my code OCD bearable7 -
Me solving a problem x
Open google types
Me: {
"How to's x ...."
}
google: {
dev overflow first result: very complicated solution
result 2: Even more complicated
result 3: Out of topic
... Irrelevant
}
Me: {
"Google's: Why x sucks" // To see if we are many victims
}
google: {
"Returns all positive reviews of x"
}
Me: Bitter, Confused and in denial -
Hi developers.... so i just feel like posting this post
I'm a self-taught developer its been 6 years now and i managed to get myself a job this year at a tech startup and they actually developed this developer department just for me..... with the promise that if i manage to get this department up and running I'll get a higher position as the company grows
So it's been 4 months now and i think i'm doing exceptionally well as a developer since I'm the only developer in that organization..... and some how I feel like if i use my problem solving skills to work on other real world problems not just code and designing systems..... like bringing solutions to real none code related problems i could actually achieve more and make a big difference
but I'm actually learning a lot and hope i'll become more and do more within this organization and grab that top position role3 -
That feeling when you’re working on writing a program to take differently based numbers, parse the input character by character, and return the value in different bases (dec, binary, hex, etc), get stuck, ask your partner to take a look at it and their response is along the lines of “What are you even DOING?! That doesn’t even make sense.”3
-
Solving a competitive coding problem.
Expected date format dd.mm.yyyy
My format dd:mm:yyyy
After spending some time on it, self cursing begins2 -
Helping your family with their computers would be much more pleasant if they used right language:
"PLEASE, we NEED you superior problem-solving intelligence and self-confidence, because we are too stupid and anxious to do it ourselves! Please help us!!!"5 -
Docker y u no mounting volumes on Windows anymore...?
World y u use Windows at all?
Note to self, y u no problem-solving instead of devrant posting?6 -
days were nothing seems to work and you end up solving the problem of the problem of the problem of the problem... so frustrating 😥2
-
(remembered a meme)
dev: already 10pm, im gonna go to sleep (tired of solving a problem. goes to bed, cant sleep coz still thinking about the problem. an idea pops out of nowhere).
dev: this is going to be quick!( opens the laptop, still applying the idea until 6am)
!really have no life! -
I dont. I am a struggling junior whos back at mobile dev after 2 years of a break while working on that 2 for 2 years prior. I dont know. I get addicted to problem solving and also some unresolved childhood traumas are driving me to tryhard and sacrifice personal life in order to perform better in my job. I am afraid of failure so I will sacrifice everything whaf I can to be better.3
-
Programming is like climbing a giant mountain covered with other smaller mountains. You conquer one small mountain (i.e. bugs, refactor, etc) just to realize there are many more mountains ahead before you get anywhere near the final summit.
-
On the days when I just want to sob and put my head through the monitor....
I get out a piece of paper and draw my processes (whether that be code or mapping etc). Each step of each process, helps to represent the input and output of each method.
This makes it easier to find which step isn't giving the desired output....
Either this or the rubber duck method. :) -
"What problem have you solved, ever, that was worth solving where you knew all the given information in advance? No problem worth solving is like that. In the real world; you have a surplus of information and you have to filter it or; you don’t have sufficient information and you have to go find some." - Dan Meyer2
-
Learning programming, networking, robotics, and other technical skills are very important but do not forget that these are future working software developers.
They will need to know a lot more intangibles. Like effective pair programming, performing proper git pull requests and code reviews, estimating work, and general problem-solving skills and more.
These people will be learning technical skills for the rest of their life (if they are smart about it) but what can really get them ahead is the ability to have good foundational skills and then build the technical skills around them over time. -
Returning back to the C# with NET Core was a mistake.
Currently working on a simple web project and I'm already stuck with the simplest problem: cannot connect to the local PostgreSQL instance.
"Cannot resolve host", bull-fucking-shit, localhost is not resolvable, 127.0.0.1 is not resolvable.
Better enough, tried to run Dns.GetHostEntry (which failed from the stack trace) on same localhost and... It's working... Why it's not working on the fucking Npgsql, why it's not working in the lib.
Now I totally understand that I don't get Microsoft's way of solving problems.13 -
Sr Engineer says "I'm not sure how this project is deployed".
You're a software engineer. You solve problems all day long. This particular engineer has worked here for several years and is well aware of the fact that we use Gitlab to run deploys.. If you want to know how it's deployed... look at the pipeline definition...
I don't understand how people, especially those with several years experience with our stack, can't solve basic problems on their own.2 -
Fucking fuck !
I work with a senior Dev,
It’s pretty much like am working under him....
He’s like a great Dev no doubt about it
But !!!!
He’s a fucking dumbass when it comes to working in a team. He makes changes in my code without telling me. He says He forgot to tell me , every single time
When I ask him how a piece of code works , he says it’s pretty much obvious and acts like even a 6 year old kid Would know this ,
He doesn’t think 2 steps ahead before solving a problem usually creating another problem !
We were once working on a language which we weren’t very good at , so I suggested him to ask another Dev in our company about inputs on our code structure to which he completely Disagreed saying they really won’t know much and that he knows more than them..
Fucking dumbass thinks he knows more than most ...
I have tried confronting him multiple times but he feels but he just won’t listen...1 -
So we have a new guy at our company. I don't know what his job description is, pretty sure not a dev. He comes to the devs and asks how to connect a printer. Some things that ran through my mind:
1. How did you get in the door?
2. There is this place called "Google".
3. Fucking figure it out! (This is my boss's attitude on a lot of things, and I have adopted this as well. Yes, ask for help when stumped, but you better have made an effort.)
Then I remembered this part from Super Star:
https://youtu.be/22F6AnqPGxg?t=19
What I did say was this: "I don't have a PHD cert. Printer Help Desk." It got a good laugh. Somebody else helped him when they had a chance. I think if I had helped I might have sent him things to search on Google. This is not a difficult skill to acquire. Problem solving skills are paramount in this company.2 -
I just became the CS tutor for my university...the one thing I have learned:
Don't let them ask questions explain what they need to know and walk away. Let them down and find the joy of problem solving.1 -
Started out with python, while meaning to learn javascript.
I am now competent in python. Im still not sure how it happened.
Started python because I got tired with doing repetative calculations by hand. I think I had like a phobia of problem solving with nested loops. any time I thought a problem would require nesting, especially more than one nested loop, I would just avoid doing it, or end up doing it by hand.
Wrote so many goddamn loops though in the process of exploring graphs, doing things by hand seems like a nuisance. Thinking in loops has its own zen or something.
Now I just need to get over my fear of json-based CLI-enabled configuration-over-convention.1 -
I think one of my biggest mistakes as a dev in the becoming is to have tried to produce code rather than think code.
The patience to try and understand a problem rather than just solve it.
After spending 2 hours on what seemed like a ridiculously small issue,i know what the problem was before solving it.
Which meant i did take longer to solve it but i DID NOT take the wrong direction. Which would ultimately have come back to my face some time soon.
Coding takes a fuck load of time -_-.4 -
This is the reason I will never be with IT: I recently got hired as an IT assistant at my college. I was in charge of solving issues in an entire building actually. I was so excited to be able to go around to resolve and troubleshoot problems with people's computers. The responsibility and pay were good, but the fact that people had next to no problems, but I had to be in the same room with students during virtual tests and lessons just in case. I had to stand in the same spot for 2.5 hours watching people take a test. Whenever they DID have a problem, they just had to refresh the page! People gotta learn that I don't have to be in the room in order for people to decide basic troubleshooting. Extremely boring and tiring. No challenges and barely any problem-solving. This is why I'm on Devrant and not Fixrant.3
-
The website was down.
She called me 5 or 6 times and mailed me twice that amount, asking how long it would take to get back up. Each time I answered that I did not know, that it was my job to figure out what was wrong, and that solving a problem doesn't have a fixed duration.
What I thought was that the updates on her emotional state of regret were not helping me to resolve the issue and cost me time. Why do people inflate the price of things they are going to pay for by asking for what cannot be known?
In the end it was just a shitty shared host having flipped some switches. It was their own damn fault for picking it over our recommended provider that keeps us informed about all them switches. Such as disallowing SymLinks overnight.1 -
It is sign of great programmer if he can solve complex problem in a simple way. Solving simple problem in complex way is sign of being jerk, not a goob programmer.
-
1. I like critical thinking and problem solving.
2. Coding feels like the only thing I know how to do well.
3. It's fun! -
This moment:
When you have a weired exception, start googling it and practically bruteforcing all possible solutions you know of and/or found on stackoverflow.
Then after (half) an hour just starting from the beginning, attempting the simplest solution you can think of and it just works on the first attempt:
😱 ⏩ 😰 ⏩ 😤 ⏩ ☕ ⏩ 😥 ⏩ 😔
But you'll notice that you had learned a lot of this.
... Or maybe not 😜5 -
During my first-ever technical interview, the interviewer asked me "Do you know the FizzBuzz problem?"
"Uhh, not really." (I was just thinking ok this problem has a name, must be some algorithm problem)
"So the problem is basically to give you the numbers 1 to 100, if the number is divisible by 3, print 'Fizz', if divisible by 5, print 'Buzz', if divisible by 3 and 5, print 'FizzBuzz'. For other numbers just print out the number itself."
After hearing the problem, I felt so many ideas popping out of my stressed brain.
I thought for a bit and said "ok, so if the digit sum of a number is a multiple of 3, then the number is divisible by 3, and if the last digit is either 0 or 5, it's divisible by 5."
Then I started to code out my solution until the interviewer said "there's an easier solution. Can you think of it?"
This stressed me out even more.
I thought for a bit and said "well, starting from 3, keep a counter that records how many iterations are done after 3. When the counter hits 3, that number would be divisible by 3 for sure. Should I try this solution?"
The interviewer said "Sure." So I started again.
However, I struggled for about another 3min until I realized this solution is a lot harder to implement. The interviewer probably saw my struggle too.
This was the point where he stepped in and asked me "Ummmm there's an easy way of solving this. Have you heard of the MODULO OPERATOR?"
In sheer embarrassment, I finished the code in 30s.
Of course, there was no further question after this, and I felt the need to seriously reevaluate my intelligence afterwards.11 -
For the past week I've been rewriting an application with just pure php, html, js and css (with a sprinkle of bootstrap), and I gotta say that in this new modern world of frameworks & CMSs, it feels great building a "problem solving" application with nothing but my bare hands!4
-
Make a artificial consciousness program that spends its days complaining about stupid people. Drinking coffee and writing code. Sell it and make a butt load of money solving every problem ever.
-
The most annoying coworker I've had is one I still work with! He thinks he's a know-it-all but when ut comes to actually solving a problem, he can't think anywhere close to as innovatively as he portrays himself to be. -_- Oh well, some things you just cant help
-
In addition to the programming language or theoretical concepts. It is also essential to develop good problem solving skills.
Concepts like design patterns and refactoring would be better taught using hands on exercises based on a long running example, such as having the students create a project in an introductory course on a programming language and then take that codebase as a starting point for the assignments on design patterns and refactoring.
It would be unrealistic to assume that developers would be working only on a single programming language in their entire career. So, a few pointers on how to go about learning new languages based on similarities with programming language(s) they already know would also be there. -
I am now going to attempt the problem solving ritual.
Requirements:
-have a problem or piece of unoptimized code and you don't know how tk fix/improve it
-be able to sleep/take a nap
Now before I fall asleep the ritual should provide me with an epiphany to solve my problem
Plan b:
I have a class ninja (model), with an observablecollection<property> properties and an observablecollection<gearslot> gearslots;
,a class gear with an observablecollection<property> properties and an Category category:
And a class gearslot with a Gear gear and a Category category;
Via entity framework this results in several property entries per ninja
And several property entries per gear item
All good so far.
I now actually want the ninja property values, to be the sum of the gear property values
So a ninja has int, agi and str of 0.
Gear has 0 or more stats.
If the ninja has two pieces of gear on with agi +1, then the ninja agi should be 2
If possible i would like the logic in the model.
Else i have to put it in the viewmodel.
That i can figure out, its just so inelegant.... -
The value of a good walk...
So I was stuck with this problem. There's the data structure then there is the display of the data structure. Two copies of the data which is fine.
But the displayed copy is a pain to work with (WinForms) and there the was problem of having to handle events when the displayed data changed then update the back end actual working array and synchronize it so they're both up to date. Couldn't figure out a good solution. Actually slept on it. Still it didn't sit right to have two copies like that and sync it.
Went for a 20 min walk and BAM! Solution found. There was a way to just directly update the crappy WinForm and sort the data and keep the properties then when done displaying/selecting just convert to the working data format...so simple no synching required!1 -
So in Ruby, everything is passed to functions by value. However, when you manipulate objects, you're actually manipulating references. A simple example:
```
a = [3]
b = a
c = a
b.push(2)
print a
print b
print c
# => [3, 2][3, 2][3, 2]
```
Here's a more complicated example from the problem I was solving:
```
table = Array.new(5) { Array.new() }
1.upto(5 - 1) do |i|
1.upto(5 - 1) do |j|
table[i] = table[j]
end
table[i] << rand(1..6)
end
```
I have been running around in circles this morning because I forgot that. This makes C++ for example, more clear than Ruby since C++ explicitly shows the intent to the programmer.5 -
Nothing gives me the feeling of power like solving my non-programmer friends' problems with a bit of programming.
My girlfriend is an architect, got at her job a task of designing how to cut facade panels. Something nearly impossible to do with her tools and insanely time consuming to do by hand - but it's actually just a subset-sum problem with more steps. After a couple of hours of tweaking the program to properly parse excel files she can export and writing the output in a format usable for her I solved what would be an incredibly tough pickle for her and her whole company.
I'm seriously proud of myself.1 -
I've just discovered by accident that the dumbest way of solving the Hash Code practice problem is way better than my previous solution.
(medium 49509, big 897164)4 -
Hot take:
Want to bloat the shit out of your product and want to lose the core USP?
Want to stop solving the problem you set out to address?
HIRE A PRODUCT MANAGER.
PMs are expert at shit show. We fuck up everything.
God I hate my profession.
When I start my company, the mandatory rule for every PM will be that if you want to add or enhance a feature, they will have to remove a feature. Whoever fails to do so will be punished by having to clean up the code base and work in sales for a quarter.7 -
Changes in the sales process enabled users to break it. I fixed the problem and suggested how to corrected those broken sales. PM wants to make tomorrow a day of meetings with stakeholders and other PMs to discuss if I should get to spend few hours fixing it.
Guess Ill tell them then that I already wrote a app on my way home that fixes it..... -
My manager just told me this at the end of the work day.
Today, my manager got a call from client "X".
They wanted to know why issue "Y" happened at event "Z" that was being put on for their client.
My manager basically told them we had nothing to do with that part of the event, so we wouldn't have had anything to do with solving problem "Y" either, but that what ended up causing problem "Y" had been passively mentioned to us months ago, and that he's not sure why their client didn't communicate it.
Client "X" told my manager that they would call back after talking to their person that helped organize event "Z".
No call back.
Definitely rant-ish, but also kind of a funny/ridiculous story to end the work day with.4 -
When your project is actually implemented in real world solving real problem with the solution you created
-
Advent of code is awesome. If anybody isn’t doing it YOU SHOULD. Solving a different coding problem every day for 25 days. adventofcode.com3
-
I am new to programming. I know the syntax very well in Java. How can I improve my logical thinking , problem solving ability that can land me in a decent job ?8
-
Ok so first technical blog post/rant cuz I just reduced a lot of debt... Prolly gonna put this in an email to my boss (he says progress improvement is now a priority but there are some problems as listed below):
So last week, I spent a lot of time investigating db logs manually to figure out a prod issue: tiring, time consuming, and not very effective.
This week I built an app. It took a few days but having the time to design it correctly, it is very powerful.
So in order to really do process improvement, you need to have: dedicated the time, the problem solving mindset (the right people), and the understanding of what the problem is and why so you can build a good solution (time and people).1 -
When you've already spent three days trying to debug a problem with a Magento site and start questioning your credentials as a developer.
But then the other senior says they get stressed just popping in and out to help so they can't imagine what it's like for you and your boss says 'look at it this way. You're one step closer to solving it than you were yesterday'.
Sometimes it's great being a developer... Even when it is stressful.1 -
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 -
TLDR: I wanted to change email to new one, but I could not remember which one I have
currently. I found out an API in DevRant JS files for email verification and used
it to find it out.
So, I am moving from Gmail to Protonmail Pro, absolutely love their service.
I wanted to do same on Devrant but I could not figure out my current mail for
"I lost my password" form. My Password Manager have only login saved, and profile does
not show email address.
I thought that this user information is stored on server so it have to be some way to retrieve it. I dug
in source code and I've found:
`<div class="signup-title">Verify Your Email</div>`
Which has event assigned to function which uses jQuery.ajax (love it btw :D) to call:
`url: "/api/users/me/resend-confirm",`
This seems like worth a shot. Few copy-pastes and one ajax call later:
*Ding*
From: support@devrant.io
To: dawid@dawidgoslawski.pl
"Welcome to Devrant"
Got it :) So I have already changed in march when DevRant on previous layout.
This is what I love in this profession - problem solving. AI will not replace human
in any way, we will just stop coding array iterations and data manipulation - we will focus
on real problem solving and human touch (like design, convincing management for changes).1 -
I got a new job today! Back to a support role after being a university teacher and a contract trainer. I miss problem solving.
-
I'd say general every day problem solving and observing the processes of the natural world.
When you take the time to observe and learn from the natural world you can really learn alot from it. Nature has alot of the things we work on already figured out 🙂 -
Hi, I'm a computer science student and I have problems with myself. I'm always afraid and have very low confidence and it's killing me right now. I have a machine problem/assignment and instead if trying to solve it, i resort in looking for answers. I've tried solving it though but i cant. This has always been since im in college. Any tips or suggestion will help.4
-
I think it was very useful for developing soft skills like time management, teamwork, dealing with failures, the willingness to learn and how to approach a problem, etc.
It's not about learning a technology or programming language super good and be the C++ or Web expert after finishing your degree. It's about self organization and problem solving IMO. -
I hear a lot that doing competitive programming is important to land jobs and that it would improve your ability to solve problems, however; I hate it and I suck at it so much. I don't see improvement except for knowing how to solve a certain problem and I forget about it after some time.
I can't stand doing any kind of abstract, unrealistic problem solving for whatever reason. I love solving real-world problems that actually matter and provide an actual value on the other hand.1 -
will u leave a problem in center while you are tired as hell and prefer sleep over completing your program ?6
-
I have used a lot of different languages and built solutions or solved problems that others can't. I am to be able to pick up new things quickly and start using them.
Does that make me a generalist or a specialist (in problem solving)?6 -
Competing on different subjects while in school have taught me how to work efficiently under pressure. My teachers have given me a systemmatic approach to problem solving, from divide and conquer (math), careful reading and analysis of the problem, as well as good documentation (physics).
And last, but not least, I learned to type fast, which is really helpful in speedy expression of thoughts. And for that, I gotta thank IRC. -
*me to myself* okay this time I'm not solving that problem with recursion. The assignment is hard enough already.
*A ton of sweat, blood and hours later* Whoops. -
When the PMO tells you to: "Aye, what's up with that delivery program you started yesterday? Is it done? I already promised some licenses for next Moday (morning ofc)"
You stupid illiterate baboon, be gratious I even picked up this NP hard task, it's like solving the Travelling Salesman problem, not easy!
Fucking PMO -
My Tabmanagment, or the lack of it.
When I'm in problem solving mode I have easily 40tabs+ open, because I might need some which are already open. I distinguish them by the favicon of the Google tab. Each Google tab and the following tabs are separate problems/tasks so I kinda have a timeline "the one in the middle was the problem I had 30mins ago".
I also have no bookmarks, I start always with min. 5 Tabs. I guess I don't know how to browser :|2 -
I go around the office judging other people's work in my mind. Then I go back to solving the problem with a renewed sense of self worth. haha
-
I work for a service based company. We got our hands on a really good project a few months back and were really excited to work with the client because they are solving a really good problem. So much so that they received awards and stuff too.
Turns out they are real high headed cunts who think that everyone works beneath them. They don’t respond back, don’t reply for days and when they do, they ask for a 60-70% change in previously working apps and web. They take things so lightly that we’ve been production ready for 3 weeks. They called us and asked us the reason for delay and they still haven’t provided us with production creds. Fucking asswipes. -
I used to think that I can understand things and logics behind them preety well, until I came to knew that ByteDance ( parent company of tiktok and vigo video ) is more valued than Uber.
Seriously, this is the first time I'm seeing a company which serves entertainment is above than the company which is solving legit global problem.4 -
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 -
Whenever my wife applies occam's razor to my problem solving or pointedly remarks "you update it, you fix it...mr. penguin"3
-
Why the hell i find solution to every string problem with simple dictionary!
i m worried about my problem solving skills1 -
There are developer tools for Node which I understand what they do, but I don't understand what problem they are solving. It's everything so crazy
-
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
-
1. I like problem solving.
2. I like mucking about in systems that consist of many interrelated parts and learning how they interact. I like to imagine that I'd make a decent mechanic.
3. I'm fond of building stuff with abstractions and concepts. I'm not the brightest, but I'm drawn to intellectual and creative endeavors. -
Some friend bothers me while I'm coding.
Friend walks away because I asked him to look at what someone on the other side of the room is doing.
I open CMD on his pc.
typed: color 0a
C:/
dir /s
alt + enter
friend: WTF?!
me: blocked by administrator for disturbing the peace.9 -
Suddenly build is not coming up???!! Restart your machine. If that does not help restart the machine of the colleague sitting beside you... Classic problem solving.
-
I waiting for the day when I have a problem and there is no npm package that solve it already.
NoSleepjs....5 -
Question: How would you reimagine the dev interview process, trying to make it efficient to find ingenious freshers?
I'm gonna be hiring full MERN stack dev freshers soon. I hate coding interviews, and I just want to test their ingenuity and problem solving, not if they can code a textbook algorithm.
Plan so far was to ask them questions like: "What happens when you like a link in the browser" to gauge how deep they could track a request and understand the internet infrastructure.
And make them audit gpt generated react code, and optimize it.
What're your thoughts, folks?8 -
Disclaimer: I’m a Test Automation Architect...so with that in mind...
I aim to solve the massive problem with test (and more specifically) test automation data management that pervades throughout the testing ecosystem. I’m on to something right now, and frankly, this is, and has been, a huge issue that needs a path forward to solving.1 -
Gave me a career when I wasn't looking for one. Graduated with a mathematics and Management Science double major. Started as a data analyst and a Java architect saw something in me and gave me a shot. He was a dick at first and we had a minor squabble in which I defended myself and I thought I was done there. I later apologized and said I didn't have to because I was sticking up for myself.
I hated programming in college. Found it boring and thought I could teach myself if I wanted to. So in the real world, the problem solving and the variety of languages and software to work on opened up my eyes and allowed me to follow though my career.
For that I get a sweet paycheck, tons of opportunities and my children get to have and do things I never had the opportunity to do as a child. -
Damn I left work on Friday afternoon with an unsolved problem. I actually solved it on my way home but forgot to make a note so this is now the only thing I can think of. What a beautiful weekend.
-
Fate chose Computer Science for me.
It's only after 1st semester of Computer Science Undergraduate Program that I came across C, my first programming language. I had no idea what a CS Degree is all about. It was a blind shot, to be honest.
I wrote a few programs and fell in love with coding. I got high after solving every problem. I craved for more. It's all magical!
I'm enjoying every moment of my developer career. It's a hell lot of fun! I'm glad that my blind shot turned out be a good one. -
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 -
Exercise and sports are good ways of relax and get some discipline. Writting, either blog posts or simply for yourself improves your communication skills. On the communication side, I've specially noticed that I improved by doing talks (dev and no-dev) even if it wasn't for and audiance of more than 30. Games also helped me with problem solving and management. There's a lot a stuff 😅
-
Does anyone have any tips on how to test a software developer for problem-solving skills and learning capabilities?
I don't really care if the developer knows frameworks and languages XYZ. I want to know if he/she can learn those things, knows how to find answers to problems and actually tries to do a good job. Those seem the most valuable skills to me.
Any suggestions?5 -
I really am just a shitty web developer. I just spent 4 hours solving a subset-sum problem, and the outcome is not efficient or pretty.2
-
What are you supposed to do in an environment where your peers can't take criticism on the code and their approach to problem solving? They like to take shortcuts which end of making the software less maintainable. Is it worth to convince them to use best practices and be labeled as a bad guy who keeps on ranting about stuff they don't understand?2
-
Why do software companies make a huge point on their websites what kind of technologies they use, in addition to drop-naming the various development methodologies they practice? I was under the impression that clients, other than programmers (and perhaps people who manage programmers), won't have the faintest idea about what these words mean and how they relate to the product that needs to be built or the problem that needs solving?
As a second observation, most software company websites seem focused on the client - case studies, services, portfolio, work with us etc. Often however, their blogs are all about development and programming and not targeted at the client. Why? Just to get page views and improve their search ranking?3 -
Spending more resource on problem solving rather than investing on programming languages. Train people with useful projects rather than small snippets.. Both of these will prepare them for the harsh reality..
-
The amount of time I spend fixing npm dependency issues is really tilting... How does the JS community consider this solving a problem! This reminds me of Java's package issues if anything...1
-
Have a general class about problem solving. Too many people are unable to understand the problem input, the problem output, and how to break that problem down into steps before sitting down to code.
Like fuck, the biggest issue here isn't that students don't know how to code, it's that they can't fucking solve a simple problem2 -
Watched UFO 2018.
Movie mostly about guy trying to solve math problem but nice.
Learned about fine-structure constant and that all base SI units were redefined in 2019 lol.
I don’t remember anyone mentioned that scientists changed all of standardized measurements.
Overall nice movie if you like those about solving imaginary problem without special effects etc...
Looks like nobody cares how much kilogram weights.7 -
0. I love to solve puzzles. It makes me feel smart. While the act of coding isn't itself problem-solving, programming as a whole generally is.
1. Computers are easier to understand than people. A computer will always do what you tell it to do, it just may not be what you INTENDED it to do.
2. I enjoy having a skill that most people find intimidating. It lends mystique to my otherwise boring-sounding life. -
1) For me code is a way of expressing my thoughts akin to rap. It's just that your thoughts has to be precise if you want to write "good" code.
2) Creating anything out of a thin air has certain charm to it.
3) I love problem solving and even if I don't love it, if I've got a certain problem I'll have to solve it anyway and most of the computer related problem can be solved via code. -
To build a company to develop products designed to improve people's lives. I have interests in video games, mind plasticity, and rpgs. I am not sure if those interests would intersect well, but I hope to make something fun and useful to people. Instead of sucking someone's life away it would be awesome to give it back to them in some fashion.
I think a good example of this is modded minecraft. People have learned programming, and learned some basic problem solving skills playing the game. Stuff that is useful outside the game.1 -
I fucking hate installing shit on Ubuntu via APT when it's not provided by Ubuntu itself. ONE HUNDRED PERCENT OF TIME this will create problems with outdated keys or whatever. Then, to solve the problems of software that was supposed to be transparent, I have to go learn about layers upon layers of its inner workings and waste my fucking time. I suppose this is the Linux experience in general. But I don't want to know about GPG whatever whatever because there's no need for me to learn it outside of solving this stupid-ass fucking problem. I don't want to learn that sources.list.d is a fucking directory. I never EVER want to touch any kind of keys or whatever shit, I just want to follow some instructions and fucking install software in a simple way. curl whatever | sh it is, I don't fucking care.
All I want is to develop software, not dive into problems with my operating system because it decided to shit the bed.7 -
I write code as part of my job but also tend to have a lot of pet projects I think about in my spare time. A lot of those projects are not specifically targeted at solving an actual real problem but are just a curiosity (like my Duktape/ECMAScript thing that could import and call DLL routines.) I often find it difficult to choose which one to continue working on and end up not working on any of them because I can't decide which one is more interesting at the time! Or I get stuck and struggle to find a way around whatever roadblock I've hit.1
-
So I have noticed if I think I know much of logic in programming and I can solve this problem better way I actually code better.
And when I think no I'm just a noob programmer I ask stupid question to myself and get my self confidence blown.
Thing is don't think you are bad, think of just you'll put all the experience all the knowledge you got in this program (according to its requirement) -
For solving a problem I document everything. From the moment I wake up to the moment I go to sleep, I want to have written out the problem in full and everything I have tried to get to a solution. I can then share this info with people around me which expedites the process and gives me new ideas I didn't have before. When I really hit a wall the goal for me is keeping myself DRY and knowing what I've tried and haven't tried.1
-
I still remember that afternoon when I was in 9th grade, it was raining outside, I entered in the lab for the first time, and there she was sitting alone, shining like a dew drop. I could not resist, and I sit with her for a while, we talked, we touched, and the magic happened. that was the day and today is the day, no one can take us apart. We are like made for each other. That was for the first time I touched a machine, and never looked back. The endless possibilities with programming, and desire to fulfil the everlasting thirst of creativity and problem solving made a developer/programmer/mathematician/physicist.
-
My vague naive extreme understanding of interview questions are on a spectrum from situation a to situation b.
But what should the industry be doing? Is the industry just going wrong blindly copying big N companies hiring process without the same rationale? (e.g. they need computer scientists able to deal with problems specific to them at their size and that often means creating new tech, unreal problem solving abilities and cuh-rayzee knowledge)
a) stupid fucking theoretical shit that some people argue you won't ever need to be doing in practice for most companies, while giving you no ability to google, leetcode hard problems kind of stuff
b) practical work similar to what you'd be doing on the job, small bugs, tasks, pair programming on site with your potential future coworkers
Lots of people hate option a because it's puzzle/problem solving that isn't always closely related to what's on the job. Whiteboarding is arguably very much a separate skill. (Arguably unless it's like a big N company where you want computer scientists to deal with specific problems that aren't seen elsewhere, and you're making new tech to deal with your specific problems.)
We could go to the extreme of Option b, but it tends to trigger people into shitfits of "NO, HOW DARE YOU MAKE ME DO REAL WORK, BUT NOT PAY ME FOR IT AT THE INTERVIEW STAGE"
That's before we get into how to execute option b whether or not it's being given as a take home assignment (which is a huge pain in the ass and time sink, among other issues) vs a few hours at the potential workplace working with some of the future potential coworkers and soaking in the work environment (you have to figure out how to take the time off then)
Is it really just poor execution overall for the wrong use cases for the majority of the industry? What should the industry be doing in which cases.
Then this is all before HR screening with shit like where they might ask for more years of swift experience than its existed. -
ProjectEuler problem difficulty level increases logarithmically after question 50. Question 60+ seems to take 10 times longer to solve than previous 50. I give up solving questions to write code to run within within 1 minute (which is a general rule specified).
I need to relearn Calculous...2 -
Been having dreams about being able to solve real world problems by solving/modeling with programming tools. Usually trying to fit some relationship or physical problem to a math/programming model. It always makes complete sense while working the problem. Then of course you wake up to a "WTF was that?"1
-
When you spent few hours to solve a problem and then restart the application as nothing worked but then you see that the problem is not anymore...
you're in the situation when you can't decide if should commit your dirty code changes or should revert them back.2 -
I used to be be a developer, but now working as a technical writer in a company. Can anyone have an idea of what should I do? Does being a technical writer is great?1
-
Sometimes i need longer on the simple code than on the challanging code, because it's harder to distract me while i'm solving a problem
-
I think I may have just had a bit of an epiphany...
Algorithms and Data Structures are sort of like libraries and frameworks.
JS is probably the easiest example since npm has a lot of libraries.
For most cases, underscore.each and lodash.each $.each achieve pretty much the same thing except one maybe better in certain cases.
And data structures are sort of like Angular, React, Electron, ReactNative. Each has its own purpose or style and are good for solving certain types of problems?
So day-to-day you don't really care what Sort() algo you use.. unless you really need to perfoarmance tune it for a specific case.
And data structures, depending on the type of problem you have, one is easier to work/think about the problem in although not examply... Usually have to use a few of them at once.
How is this going to help me in interviews... I'm not sure... other than reconfirming that knowing specific implementations of Sort and Trees is usually BS... most of the time just need to know you should Sort or use a Tree... -
I am not a very experienced developer, so naturally I don't know many fundamental things. My thinking around a lot of the necessary things is that the answer should come to me according to the need. So an oversimplified example could be, say I'm solving a Dynamic programming problem, I should not need to know the algorithm beforehand I can maybe invent it. This thinking stops me learning a lot things because I feel like then when I learn a pattern I will restrict my thought process within the knowledge I have and not think beyond it. I feel like that I am doing the dumb mistake of learning things bt heart and not understanding.
Does anyone felt the same? What your experience says about this?12 -
The number of concurrent transformations impacting more than half of the codebase in Orchid surpassed 4, so instead of walking the reference graph for each of these I'm updating the whole codebase, from lexer to runtime, in a single pass.
In this process, I also got to reread a lot of code from a year ago. This is the project I learned Rust with. It's incredible, not just how much better I've gotten at this language, but also how much better I've gotten at structuring code on general.
Interestingly though my problem-solving ability seems to be the same. I can tell this by looking at the utilities I made to solve specific well-defined abstract problems. I may have superficial issues with how the code is spelled out in text, but the logic itself is as good as anything I could come up with today.2 -
The thought process that goes into developing software. I mean, the things that go through our minds as we try to write the code for the problem, and how we draw parallels from past experiences or similar things done in a different programming language. This, I feel makes us better at problem solving and consequently, better programmers and people.1
-
So, I'm an engineer who believes that there isn't one solution that fits all (feel free to change my mind). I believe 100%, that a great engineer is someone who also encompasses the ability to make decisions appropriately on tools, paradigms, etc to solve any problem.
But, this rant is going out to the TDD fanatics.
I assume every piece or lines of code you write is/are towards solving a problem and it includes the code you write to test the "main" code you are about to write 😑
Question: Do you write a test to test the test you write to test the code you about to write? 😏7 -
I'd love to have a hint for solving the problem every time, my frustration about the bug is almost the max, so I could stay way more concentrated for extremly shitty bugs.
-
So will https://projecteuler.net help me in solving and interpreting mathematical problems better?especially in term of calculus
-
Well today I'm doing my first lecture for an audience of computer science student, the lecture ranges from problem solving and to the do's and 'donts' of working in industry.
Any messages you guys wants me to convey?
We've all worked with post-graduate employees that don't belong in any respectable work place.3 -
I wrote a small crate that does unsafe operations, please help me verify its soundness: https://github.com/lbfalvy/bound
(Also I think you'll like it, I'm solving a fairly abstract problem that's not possible in safe Rust)
It's essentially a struct that ties together a heap reference and a struct that's constructed from it. The main use case is to return lock guards derived from Arc<Mutex> but it's defined in a very abstract way intentionally because I'm using Marc from mappable-rc and async-std's RwLock and I didn't want this to depend on either crate.
It actually has no dependencies apart from STD (I think this one may be unavoidable) -
The User Interface Errors I experience on Debian, are so non senscial sometimes. I used to be a big Open Source guy over Windows, when I first started Linux. But after deep contemplation I think having monetary incentive is the main force for creating new technology in thos decade. As technology has advanced t seems like the open source community experiences 10 new errors for solving a problem. I think in the 90s atleast Linux seemed to make more gains, while this may be due to a smaller community or technology being more limited o dont know. I due think though technology abstractions seem to be more necessary these days, which saddens me.3
-
I just love screwing around with the test data for hours instead of solving the actual problem. This system does not need to be this complicated
-
For the first time had a frustrating day at my new job yesterday.
Been solving relatively complex issues with ease past week but spent half day on fixing glorified true/false problem that I think should be simple, still not solved.
How come complex is simple and simple is difficult?
Rant over.3 -
I always hear people talk about how they want to get into programming and I used to feel that way too till I realized it's often not a want but rather a need. I got to have a problem that needs solving and that I need to learn programming to solve efficiently. That was quite an aha moment for me.2
-
1) love solving puzzles. It’s like a neural network of all the problem solving I’ve ever done manifesting itself in a product/tool someone can actually use to solve Their problems.
2) pays more than I think I’m worth.
3) people immediately think I’m smarter than I am, I got low self esteem but I really feel if you can work hard enough, you can even the playing field with those that are naturally better at coding. I love feeling smart when really I was just persistent with solving a problem and worked hard at finding a solution -
"If you think it would be cute to align all of the equals signs in your code, if you spend time configuring your window manager or editor, if put unicode check marks in your test runner, if you add unnecessary hierarchies in your code directories, if you are doing anything beyond just solving the problem - you don't understand how fucked the whole thing is. No one gives a fuck about the glib object model.
The only thing that matters in software is the experience of the user."
— Ryan Dahl (https://tinyclouds.org/rant.html)6 -
Well I might be asking too much, but is it possible to get a mentor for free in learning android development and perhaps get help from him/her to land a job?
About me: I'm an undergraduate student, currently unable to get a job because of COVID-19. I have experience in Programming problem solving. I also do android development for about 2 years and have 2 apps published in google play store.rant google android developer internship job mentorship mentor developer course android development android free mentorship4 -
Has anyone of you ever dreamed of solving programming problems? I wake up still thinking about a problem that is totally unrelated to everything I do. Most of the time I even spent extra time still pondering about it even tough I'm very much awake. Maybe I need to stop staying at the office for 10 hours.2
-
Am I missing something? I'm a software developer and I like to sove design problems but when I search for something like 'effective problem solving by programmer or software engineer' it always comes down to data structures etc.
I am more interested in design part of it? How can I search for the system designers who are not web designers etc.
What to search for when I want to see how someone has solve interesting system design problem?11 -
- Understand the project.
- Understand what the problem is and what you are solving
- watch some little movie.
- dust my vscode and start making and mvc -
I need help solving this problem, idk how to make it decrement if for example the value is 0.1, idk how to make it turn into 0.09. plus I don't know how to make the user choose to either increment or decrement the value.2
-
What’s your personal tick for getting that mental laser focus and hyper brain performance for that marathon coding and problem solving session ? ( food, music, supplements, coffee, redbull, some biohack )4
-
In the spirit of this https://m.youtube.com/watch/... I have a question...how many of my fellow Rantsters can relate? I feel like I see so many posts about not being able to fix cars, build computers, and in general fix things that arent software, and I mean no offense by this. But, I think a lot of people sell themselves short because they aren't a "professional" I'm pretty sure anyone who can build an application can fix most anything...you just need to read the docs and debug it!
-
This is mostly a self rant, rather rant on self.
TL;DR I should talk to more people from the dev community.
So basically for a few years now I'm mostly investing my time in tech. More so into open source stuff and the linux eco system. I'm pretty sure anyone who ever came in touch with this would have atleast thought of contributing something, and so did I. In my case the problem was that of communication.. It's one of those things I'm really bad and ofcourse there is the issue of overthinking too. All these years I survived by just googling stuff and refraining from any direct conversation with an other human while solving a problem.. As you may have guessed it this wad a horrible and sub optimal thing to do. Humans know a lot more about context.. I guess a part of the reason for being so hesitant was the fear of being wrong. sigh -
create two function one for finding factorial of first 6 prime numbers and another for storing prime numbers and their factorial in two separate arrays. call both the function inside the main function.write a c++ code for solving this problem and displaying the all desired output.4
-
Hi.
I know python and javascript and I'm interested in solving algorithms. But I have a problem, that is I don't the algorithm that I have designed is optimum. I mean it has lower order complexity. I want to know if I want to improve my skills, I should solve programming challenges or, start to read data structures and algorithm design?
I should add my ultimate goal is machine learning.5 -
Halp meh, plz... I have run across a problem and I have absolutely no idea how to go about solving it...
So basically I need to decrypt a TDES encrypted Azure service bus message. Can be done in a straightforward manner in .NET Framework solution with just your regular old System.Security.Cryptography namespace methods. As per MSDN docs you'd expect it to work in a .NET Core solution as well... No, no it doesn't. Getting an exception "Padding is invalid and cannot be removed". Narrowed the cause down to just something weird and undocumented happening due to Framework <> Core....
And before someone says 'just use .NET Framework then', let me clarify that it's not a possibility. While in production it could be viable, I'm not developing on a Windows machine...
How do I go about solving this issue? Any tips and pointers?10 -
I don't consider myself good at all, but I improved a lot with coding competitions, not in programming itself but in problem solving definitely.
Sometimes the best way to improve is to get out of the comfort zone and try something you don't know how to do at the very moment. You'll learn a lot, and learning what you need at the exact time that you need it is way more effective than studying random things from a book for an exam. -
I started solving codechief but I cN only solve beginner level that to some problem. Can any one help me to improve my skills and knowledge.1