r/AskProgramming • u/keysus_christ • Mar 20 '21
Other Would anything happen to any databases if I named my son Da\niel?
If theoretically speaking, I was allowed to. Just curious.
Kid: what's your name? Other kid: I'm Dan but everyone calls me da
r/AskProgramming • u/keysus_christ • Mar 20 '21
If theoretically speaking, I was allowed to. Just curious.
Kid: what's your name? Other kid: I'm Dan but everyone calls me da
r/AskProgramming • u/puremath369 • Apr 11 '19
I'm looking for a data structure that would allow for efficient look ups of points within a certain radius from another point. That is, given a certain point and a radius, return all points within that radius to the given point. Basically, how does tinder and bumble accomplish this when you find other people X miles from me? I've heard of the K nearest neighbors algorithm but, this is hard because how do I appropriately select K? For example, suppose I select K = 1000 but in reality, k = 5000 would've return results all still within X miles from me. Anyone know of any data structures that can accomplish this efficient searching? It's okay if insertion of the data is not as efficient since searching will be used much more.
r/AskProgramming • u/the_jixxx • Nov 26 '18
I want to get something out of the way from the start: I know this guy is good, and we all know it.
The problem is he's making things really hard for us (we are 20-people company). He's a coding dragon, a workaholic who has no problem working from home after regular hour or during weekends, a guy who steps up to every challenge and never stops. The kind of person who not only tells our boss that virtually everything's possible, but also makes it possible...
He's produced a lot for the company, and that's great. Lately, however, he's been offloading maintenance or updates on a lot of his stuff onto us because he's busy on new projects, and it's hell. Bugs come up, design choices are hard to understand, the code base is a mess, and sometimes, when we catch something wasn't done in a clean way, we get answers like "yeah, it's not the cleanest way to do it but there was no time to do it any other way".
For example:
we got an email that a website he wrote was broken, so he forwarded it to us. A coworker of mine spent 2 hours trying to figure out what the issue was, and it was because of a bug on a function this guy wrote. He could have solved it in 15 mins likely. When my coworker pointed out that in the end it was his fault, he looked annoyed and ignored him.
our boss asked him to estimate a job, which he did. The job was then assigned to another guy but the estimate was kept, and this guy is going crazy trying to complete the assignment, saying that the first estimate (10 days) was clearly wrong.
I was asked to estimate something two weeks ago, and I said 2 days. For some reason, the same person also asked him later on, and he said "I looked at the code and this task takes 1 day", and they went with 1 day. WTF? Maybe I need more time, maybe I need someone to explain it to me, or maybe I still need to look at the code, etc. If the point is to show it can be done fast, then why doesn't he do it in 15 mins at this point???
When you ask him for help, most of the times his answers are "google it", or "I can't help you, you need to do it yourself", or "I can't do your job for you, sorry".
6 months ago we had some issues finishing customizing a wordpress website, so he stepped in and we shifted to other things. The job got done and the client was happy. Last week a coworker of ours was asked to make some changes to the same website, and holly shit, he spent hours trying to navigate what this guy had done to make it work 6 months prior.
Finally, a client complained recently that the product was extremely slow. The product was written by him 2 years ago and then he moved on to other things. A coworker and I (we were now both in charge of the project) were trying to figure out the reason and eventually asked him for help. He found out that the problem was a function he had written years ago, and when he realized this, he said "well, guys, this was written 2 years ago, I haven't worked on the project for a year, you should have maintained the codebase" Unbelievable...
Everything's like this. And because of his skills, management never tells him anything. How can handle a situation like this?
r/AskProgramming • u/SirIzaanVBritainia • Jan 02 '26
I've been sitting with this thought for a while now, and I think most of us feel it, we really miss the days before ChatGPT existed, hell, even the early days of AI felt different. The satisfaction you got from grinding through complex problems was real. Now when almost every solution is few prompt away(not all the time), it all feels hollow
I work at a startup, and like all startups, there's constant pressure to move fast and ship faster. The problems I used to work through - diving into docs, browsing forums, scrolling Reddit threads, hanging in Discord servers, messaging mentors, all of that's been replaced by AI tools. From management's perspective, it's a miracle. For devs? I'm not so sure. The grind doesn't feel real anymore.
It's not that I hate these tools. I've learned to leverage them. I spend time on personal projects trying to learn things the hard way, trying to fill that void somehow.
I am not that deep into my professional carreer maybe I would be called a mid-level engineer exp-wise, but I'm not worried about AI taking our jobs, honestly, I couldn't care less about that. What worries me is that it's taking the joy out of building things. The conversations I used to have with my tech friends about different technologies have been dying slowly. Now it's mostly just "did you try that new model?"
EDIT: I am not commenting on productivity or the usefulness of AI. It clearly is useful and makes one more productive. It's not a conversation about jobs either. I want to talk about the sense of accomplishment that used to come with each task, or is it that it is still there, just move to a higher bar?
r/AskProgramming • u/highrizi • May 13 '25
If you have interviewed candidates for Software Engineering positions, how often have you been disappointed with your hire? What turned out to be the things that you didn't catch during the interview process that led to making the wrong hire? Was is the technical skills, attitude, motivation, soft skills?
r/AskProgramming • u/grave_96 • Nov 22 '21
Hi an Indian guy here . I know about this stereotype very well and i kinda agree with it since i met people in university that were pursing their CS degree just so that they can land a good paying job . Those folks were not interested in CS / programming , they were just their to get a job at a service based company like TCS , Infosys , Wipro etc . Even though i went to university , i'm mostly self taught and i studied MERN along with BASH and assembly (i like learning assembly as much as i could because i'm interested in malware analysis) . Most people pursing a CS / IT degrees in India don't work on their projects that is required to submitted in last semester rather they would just buy it from places and just appear for viva voce and be done with it . I built mine all by myself and yet somehow feel people would put me up in that stereotype . I'm currently building my portfolio site and some personal projects , i would like to know how should i deal with this stereotype and reply to people that judge my skills based on my nationality rather my work ?
r/AskProgramming • u/nullol • May 07 '21
I have found it really hard to work remotely completely (I am used to a mix). But something about being alone all day aside from slack and the occasional zoom meeting makes me feel a bit depressed or maybe just less in-touch. As much as I enjoy the WFH format and would prefer it to stay this way I feel like I have a subconscious void.
Recently, I started following programmers of all walks of life on Twitch and have one on off to the side where I occasionally glimpse over to see them coding away and it gives me a good feeling like I'm not working alone.
Sorry if this falls under off-topic, but I am curious if anyone else shares this feeling (especially during the pandemic where things can get a bit extra solitary) and if you've found some comfort in watching other developers work on live streams? I feel weird asking this as someone approaching his 40s but I can't imagine I'm alone.
(I will delete if this isn't a suitable question for this sub).
r/AskProgramming • u/YMK1234 • Dec 12 '20
Hi again!
Yesterday I surprisingly got granted mod privileges (shout-out to /u/sciguymjm) and am currently working my way through the mod queue (first year done already ... yay -.-), banning spam users, all the good stuff.
The reason I'm writing this post is twofold:
First, I need a handful of other active mods, preferably from the US (mainly due to timezones, me being from Europe). Also ideally someone with mod-experience, as I'm quite new to this ;)
Secondly, we need to get a proper set of rules defined and set up. Things we as a community already treat that way, but which were never codified. So far I got these:
Be excellent to each other. Don't instantly assume someone is trolling/dumb/whatever because their question is asked badly.
Must be a question ... obvious but never stated anywhere
Must be related to programming in a broader sense. I.e. "what's your favourite color" is not, "how does the end of Centos 8 impact you and your work" I'd treat as ok.
Should have a descriptive title (not "I have a question") ... I struggle to make this a hard rule, but would treat this only as strong recommendation. I know you can put some text in the submit form so I'd rather put a "how to ask a good question" guide there instead of hard-enforcing this rule.
No self promotion
No "academic dishonesty", as someone so nicely put it in the custom report messages (i.e. "can you do my homework for me? will pay $$$"). Asking for help ("I am stuck here and don't get why") is ok.
Top level comments should be related to the question asked. ("commenting so I come back later" is not in that category). Pinging remindmebot ... once the bot picks it up please clean up after yourself.
The obvious other rules apply. I.e.
no trolling or derailing threads
no (major) insults that are not clearly in jest. If someone makes an obvious over the top funny "insult" it probably will stay for the entertainment value. Moderator discretion applies though.
Ok I can't think of anything else right now. Comments (and mod applications) welcome :)
Cheers
PS: I've added TyrSniper and A_Philosophical_Cat as mods as well now, so I think that should be a good start for having an active mod team :)
r/AskProgramming • u/SutleB • Aug 19 '20
I have an information systems degree, and I have coded a bunch on my own. I know a computer science degree would have screamed "programmer", but what aspects make the difference? Other posts say things like writing clean and compatible code, but there must be more. What are things I can study for general programming to move from "you know the languages" to "you know how to program"?
r/AskProgramming • u/DavidgeIkari • Jul 26 '20
r/AskProgramming • u/JulienL_ • Mar 31 '26
Hello there,
I'm quite concerned about my boss take, "you can do everything under 3 months now with modern tool". lmao, he juste made a frontend only demo with antigravity just to show the end client. And he though he could do all the complex logic by only prompting, because today learning is useless right, you prompt and boom you have all what you want, easy.
I'm 2 years exp, and doing already full life cycle with best programming practices from concept to CI/CD deployment. But I need 2 years to learn how to do it well. I'm tired of these CEO who think they already have seen everything in life and think they know the dev market better than anyone else because "AI"... please tell me that i'm not alone..
r/AskProgramming • u/PGDesign • Apr 27 '21
Is it keeping skills up to date? Is it: not having a big team around you, to handle the variety of non-tech tasks? Finding good customers? Something else?
I've been a self-employed developer for a while now with a bit of contracting and a bit of trying to make money off of my own projects, and I'm trying to figure out what challenges are universal and what's just a weak spot for me.
r/AskProgramming • u/hamburglin • Sep 28 '20
I just read a page explaining concurrency programming because it seems to be a hot topic in west coast tech area interviews this month.
I did not understand half of the concepts it was trying to convey because the language was to foreign and generic. I finally understood that I already used concurrency in a script that leverages threads for api calls because the network communication was the bottleneck. (Processing won't hault just because one thread is waiting for a reply).
I had to reread the article after I understood that I already did this once to even get near to fully grasping what the author was trying to convey.
Is this intentional? MSDN docs are the fucking worst as well. I can't help but feel like these authors are trying to jack themselves off or gate their knowledge by forcing readers to speak their weird language.
What am I missing here?
r/AskProgramming • u/throwdeeznutz6969 • May 19 '20
Hi all,
I recently have came down with a condition that doesn't let me type with my hands for very long. I had to quit my job that was very heavy in spreadsheets because I couldn't keep up. I was always interested in programming but now that I'm out of work and have a bunch of time to learn I was wondering if its feasible for a career with all voice to text software like dragon or something. I wanted to see if anyone else was able to pull it off with this set of limitations.
Thanks for your help.
r/AskProgramming • u/fertadaa • Apr 06 '20
Title.
Whenever I am working, and I copy (especially when I cut) a snippet of code, I get this 'trigger finger' sensation where I feel like whatever is in that temporary storage is critical and if I copy something else without thinking about it, I'll lose that logic to the depths of oblivion.
Anyone else feel this ever? When?
r/AskProgramming • u/Ok-Youth6612 • Apr 29 '25
r/AskProgramming • u/[deleted] • Nov 22 '23
Might not be a strictly programming-related question, but I wager it's still relevant to the field.
Every time I read a company website or job posting that is related to IT, they're always so vague about what their company actually does, and I end up just reading through a bunch of business jargon. It's like they don't even know what they're doing themselves. If it's a large company with a wikipedia page, I am able to find it really quickly since wikipedia is relatively direct.
r/AskProgramming • u/LowercaseSpoon • Apr 09 '23
So, after a little over one year and a half I got an offer for a full time job as a ROR developer. I’m still in disbelief that all my hard work has paid off.
A little bit of background, I was sick of my job working retail. I had a horrible day dealing with customers and on my drive home I decided that I would dedicate all my time teaching myself programming. Since this is my first job, the pay could be better but I’m just glad for the opportunity regardless.
Also, I’m seeking for tips and advice from individuals who’ve been in the industry and have experience. What’s something you think I should know going in? Thanks in advance!
r/AskProgramming • u/[deleted] • Oct 14 '20
r/AskProgramming • u/deagleaim • Aug 01 '20
I have a portfolio site with over a dozen small arcade games and a few other projects like a bot and the start of some dude on discord who paid me to make a server for his mmo that never happened. The projects are in languages like Java, C#, JS, C++, and the site alone is pretty nice to look at as far as CSS goes. And it isn't just some tutorial code, i enjoy making games and there's usage of file i/o, A* and other uses of path finding, competence in git, and general signs of a code base that can scale and be returned to. I'm 19 so my only other job exp are helper jobs at warehouses. I don't want to end up in debt through uni just so i can relearn the basics that not even my friend with a 2 year degree in CS understands.
Everywhere i apply either doesn't respond or gives the generic "we're looking for other candidates" response. Also got a "Java isn't interesting". My portfolio site has source code but they're downloads links to a zip file holding the source code. Is it because it's not all on github? I can understand them being too lazy to extract and browse the source if the portfolio doesn't have AAA experience on it. I've heard of people online who have gotten jobs from just tutorial code and barely knowing the basics. I'm not some code guru obviously, but programming games is what i love and has been my hobby almost half my life. I'd honestly be happy if I got garbage pay but still got consistent software development work that I could combine with a part time job to pay the bills.
I can always take another career path and do discord short-term work and side projects in my free time, but it just sucks I put so much time into making things and getting better over the years at the cost of having a social life and I can't make much off it.
I'm going to make a github with all of my work and try applying to places again, but other than that I'm not sure what else I can do to get my foot in the door.
r/AskProgramming • u/SureMeat5400 • Sep 19 '25
r/AskProgramming • u/[deleted] • Jan 07 '25
my 12 yo brother likes tech, and I mean it. He personally said he would like to do robotics by college/uni. He wants to "prepare" for that, and that he wants C++ as his first language. Being a degenerate, istg C++ is like, the 2nd most hardest language for me. For you guys, should I say to him to go ahead, or make him learn smth else like Python?
r/AskProgramming • u/Black_Werwulf • Dec 10 '22
EDIT: As one user suggested, I am trying my best now also at r/whatisthisthing
Hello everyone,
yesterday I visited my grandparents and in the middle of the visit, I went for a walk with my grandma. She lead me to this BIG (about 2x3 meters) sandstone slab in the front of a house, which seems to stand there for months or even years now. My grandma said, she is wondering for a long time now, what the numbers on the slab mean. I looked at it and told her, that is seems to be binary code and in short, how binary code works. Later that day when leaving my grandparents, I told my grandma that I will look up, what the slab actually says.
If you want a look at it, I found this hiking (?) website with a few pictures. LINK
I wrote down the whole code and put it in a translator from this website. LINK
I used every encoding option there, but unfortuantely I got nothing useful out of it.
So now I am wondering:
Did I use the website wrong?
Is it not binary but something else maybe?
What did I miss here?
Thank you :)
Here is the code written down:
00101101 01001111 10110001 01111101 01000010 11000110 01011111 11111001
01110110 00010100 11111101 10010111 10101111 11010100 11001001 11001100
11101001 11110000 00111010 10111100 00110011 00111001 10111011 00000001
10001111 10000101 11101111 10101010 11010000 01111000 00110110 11010101
11011000 01101100 10101000 10001001 00101001 00000000 11110011 10011111
11001010 10010000 00100000 10101101 11111000 01000011 01000100 10001011
11111100 00000011 11111111 00000010 10100011 10110000 01011001 00110100
10001100 01100011 11011111 11010111 11100111 10000001 00001011 11110101
10110100 11111011 01111100 00100001 10101100 11101011 11101010 11011100
01010000 01100111 11000001 00100110 00100100 11001111 00001100 00110000
11001000 00100010 01001010 11100010 01011010 00110111 10110110 01101111
10010101 10001110 00001000 01110111 10110111 10011011 11011110 10110101
01011110 11110111 11110100 01101000 10111110 00011100 00101000 01001001
10001010 01000000 10011100 01001110 10101011 01010111 01110011 10011001
01000111 10111111 01111111 01000101 10111101 01111110 10101110 00000110
10001000 00011001 00000101 00011011 00001111 10110011 00111110 00111111
00110001 11001110 00101010 00111011 01001000 01011100 01001100 10011110
00010101 01011000 11000100 00000111 10000111 11110110 01010100 10100010
10111001 00111000 10100000 00100011 00011010 01110001 00010000 11101110
01010011 10010110 00101011 00110010 10100111 00010111 00100111 11010110
00010010 01011101 01110100 11100000 10011000 01101110 10000000 01101011
11101101 11000000 11100001 10111000 01100000 01010001 10101001 11011101
10111010 10001101 01000001 00011110 00011111 11100110 01100001 00101110
10100101 01100101 01001011 11111010 01110000 00101111 00001001 01111010
10010010 01111001 11010010 01010110 11011001 10000110 11010011 11111110
01110101 11000111 11100101 10000100 11110001 00001100 00010110 00101100
10000011 00010011 01101010 01101001 11000011 11011010 10010100 00011000
01011011 00001010 11000101 00010001 10011101 11010001 01101101 00011101
11101100 00001110 11110010 10110010 11000010 11001101 00000100 10100100
01010010 01001101 01100110 00111101 11101000 10011010 01010101 11100100
11100011 01100100 00110101 10010001 10100001 01100010 01000110 10000010
11011011 00111100 10010011 00100101 10100110 01111011 11001011 01110010
r/AskProgramming • u/kindaro • Apr 05 '21
I have a belief that pure, functional, higher order, explicit recursion free, and so on, code is better — easier to write and understand, less faulty, more performant, and so on. But do I have any evidence for that?
Nah. My experience confirms this belief, but I am fluent in several functional languages and have never been comparatively proficient in any imperative language to begin with. I also live in the echo chamber of the functional programming community. I might be wrong!
A cursory search reveals a study that claims strongly statically typed functional languages with garbage collection to be surely a little better than average. It has been reproduced and, although many claims were not confirmed, this one claim was. The effect size is not too big but not tiny either.
Is this one item long literature review in any sense complete? Are there any pieces of research that claim the opposite? What should a rational person believe about the efficacy of functional languages?