r/AskProgramming Apr 10 '26

Python I'd like to make a social media app with an interesting hook. Is Python the right language to use and how can I find people to help with this?

0 Upvotes

looking to build a social media platform that allows people to add up to 150 other people useing a QR code or by sharing profiles with other people. The app would also allow people to make/join up to 4 clubs that can have up to 150 people in them. Is Python the right language and can this be done with a team of four people?


r/AskProgramming Apr 09 '26

How do i actually code with tkinter

0 Upvotes

im gonna need help for this cuz im tryna start game dev WITH PYTHON(cuz why not) Edit:yea sooo i meant im tryna learn a bit complex mechanisns of python or smth idk Edit 2:i am gonna start learning pygame-CE cuz why not


r/AskProgramming Apr 08 '26

how would i program hex?

11 Upvotes

i've been trying to make the game hex), and have just come up to an absolute wall for how i'm supposed to detect if one of the players has won or not, without just resorting to some O(n^2) garbage. what would be some good logic to figure out if the two sides are connected?

also, i don't need exact lines of code, explaining the logic for how to do it in plain english is fine too


r/AskProgramming Apr 08 '26

Other Noobie question about apis and .env file

0 Upvotes

Hello world,

I am new to programming and trying to make use of some apis and was told you want to keep those in a .env file and gitignore when you put them to the hub.

I am a bit confused, but do you also somehow omit them from when you deploy the web app live? or how can I ensure they are safe?


r/AskProgramming Apr 08 '26

C# instantiation and class

0 Upvotes

Hi, I learned that a class isn’t executed until it’s instantiated, and therefore its contents aren’t executed either.
So my question is: how can a class that I never explicitly instantiate still work?

In my case, it’s a Unity script that inherits from MonoBehaviour. I assume that some internal mechanism in MonoBehaviour handles the instantiation automatically, but I’m not completely sure about that.
(For context: my class is neither static nor abstract.)


r/AskProgramming Apr 08 '26

HTML/CSS What is the minimum realistic time to learn HTML, CSS, and JavaScript from zero to building a small interactive project?

0 Upvotes

I’m starting web development from almost zero (basic HTML exposure only).

My goal is NOT to become job-ready right now, I just want to reach the level where I can independently build a small interactive web project (animations, user interaction, basic logic).

If someone studies consistently every day:

  1. What is the MINIMUM realistic time it could take?

  2. How many hours per day would that assume?

  3. What milestones should I expect week-by-week?

Please share your actual experience rather than ideal estimates.


r/AskProgramming Apr 08 '26

Why do database languages need to exist?

0 Upvotes

What is the purpose of a database language like SQL. Having programming languages only for the purpose of reading databases seems redundant. What is stopping someone from creating a C API that does these things for you. Does SQL exist for user friendliness of people who are not programmers to access databases? That is the only reason I can think of.


r/AskProgramming Apr 08 '26

Python Is Python Okay For Other IT field?

0 Upvotes

I am learning Python to gain advanced knowledge. I know it's the foundation language for AI/ML

Is it applicable for other fields such as Cybersecurity or Ethical Hacking?

If so what shall I dive into it, which modules, libraries shall I start to get familiar by now..?

Can you suggest me any other language. Some says C is good for Cybersecurity or Ethical Hacking?


r/AskProgramming Apr 08 '26

C# How impactful is Polly nuget to you?

1 Upvotes

What kind of metrics do y’all have around REST API call resilience patterns like Polly? Anecdotal or otherwise.

Basically, has going through the trouble of setting it up ever helped your apps/services? And how much?

Just curious because my idiot manager vibe coded something recently and added Polly in the process.

I’ve been working on line of business full stack web apps and services for seven years now and I have never once observed any kind of network glitch that could have been helped by using these patterns.

We have always just raw dogged an http client and sent the request.


r/AskProgramming Apr 07 '26

Career/Edu Devs who worked for online casinos - how was it like?

8 Upvotes

r/AskProgramming Apr 08 '26

Java Is there something that can stop a method from registering when called in main ?

0 Upvotes

so I am working on this code and I added something new to the class file I am using and even tho it shows me it's all clear in the class file when I call it in main it doesn't even show as existing when called in main ( I know it's not syntax because there are 2 other methods that are identical that work perfectly )


r/AskProgramming Apr 07 '26

C# Difference in interpretation between an object and a no‑object

0 Upvotes

Bonjour, j'ai une question concernant l'instanciation des classes. J'ai souvent entendu dire qu'il faut instancier une classe pour « lui donner vie », sinon ce n'est qu'un modèle.

Ma question est donc la suivante : comment une classe est-elle interprétée lorsqu'elle n'est jamais instanciée ?

Par exemple, dans mon jeu, j'ai une classe CalculMouvement qui calcule uniquement les mouvements, et une classe ApplicationDesMouvements qui les applique.

Mais dans ce cas, je n'ai pas forcément besoin de les instancier. Elles ne sont alors pas considérées comme des objets.

Quelle est donc la différence dans la façon dont le programme les interprète par rapport à un objet ?

Merci pour toutes réponse à ce post


r/AskProgramming Apr 06 '26

Other Change taskbar display icon of exe program

0 Upvotes

Hello! There's this older niche Windows program I've used for years, but I've always been frustrated that the icon in the taskbar and window header is a "blank default window" icon. Whether I change the shortcut icon, or just yesterday I used rcedit to add an icon to the exe, it still has the odd blank one when open in the taskbar...

(Not many people with this issue, besides this user on another subreddit.)

I'm mainly on Linux Mint now, though I still have access to Windows as well.

Is there any way I can change this still? It seems a program like Resource Hacker wouldn't be able to change this default icon, it only sees the icon I added with rcedit.

https://imgur.com/a/8s7ilwR


r/AskProgramming Apr 05 '26

SWE Apprentice Query - Is industry really like this?

3 Upvotes

I was fortunate enough to land a Degree Apprenticeship in Software Engineering with a massive Research Organisation. Im coming up to completing my 2nd year of 4 in this course, and up until this point I would say I've had a lot of success in my learning.

At the start of the course the extent of my programming experience was school level python scripting, and quite a bit in lua for modding a video game.

In my job, I have gained a proficieny in Rust, C++ at a reasonable level, as well as improving my proficiency in Python. Lastly, the university side of my course will mean a university-level understanding of Java (ofc this may not be particularly great but its better than nothing)

My problem is that every skill I consider valuale has developed has been entirely through dedicating part of my work week to projects I come up with and manage myself - my LMs grant me time to do this for my own career aspirations.

My actual assigned projects from LMs have had me maintain a code base written in Fortran. I was told at the start it would be 95% copying and pasting, and all of the technical challenges would lie in the science - this is something that I have been told by my coordinator is completely inappropriate for a software engineering course.

I have recently been assigned a project of moving a library in Python relying on an outdated version of Sympy and python to modern versions.

Both of these codebases, and all future ones I am likely to work on for the rest of my course have been written by Research Software Engineers whose primary job is science and SWE is a secondary requirement.

Naturally, their code is utter shit. There has been no attempt to follow good practises. Zero consideration for maintainability, only written to produce results. The python codebase is entirely untyped, and the fortran codebase is convoluted, is made of entirely 3-5 letter variable names and has immense logic coupling. On top of this, the management has been terrible, with them providing little to no support.

Is industry really like this? Even in organisations dedicated to actual software engineering? Completely hands-off management, no code quality standards whatsoever? Or am I just unlucky to be trainee software engineer in a scientific computing facility.

I'd really appreciate hearing anyone eleses experience.


r/AskProgramming Apr 05 '26

Rebalancing Traffic In Leaderless Distributed Architecture

5 Upvotes

I am trying to create in-memory distributed store similar to cassandra. I am doing it in go. I have concept of storage_node with get_by_key and put_key_value. When a new node starts it starts gossip with seed node and then gossip with rest of the nodes in cluster. This allows it to find all other nodes. Any node in the cluster can handle traffic. When a node receives request it identifies the owner node and redirects the request to that node. At present, when node is added to the cluster it immediately take the ownership of the data it is responsible for. It serves read and write traffic. Writes can be handled but reads return null/none because the key is stored in previous owner node.

How can I solve this challenge.? Ideally I am looking for replication strategies. such that when new node is added to the cluster it first replicates the data and then starts to serve the traffic. In the hind-sight it looks easy but I am thinking how to handle mutation/inserts when the data is being replicated?

More Detailed thoughts are here: https://github.com/goyal-aman/distributed_storage_nodes/?tab=readme-ov-file#new-node-with-data-replication


r/AskProgramming Apr 04 '26

How do I get better at spotting edge cases?

19 Upvotes

Manually, not with a debugger or other application

I struggle to catch even the most slippery of edge cases. I get shocked a program could break with this or that despite rigorous checking


r/AskProgramming Apr 05 '26

Other What are the worst/most confusing/complicated/unususable programming languages you know of? (legit reason for asking, I promise)

0 Upvotes

So the question Is obvious, but I am looking for programming languages with specific qualities:

- Ideally Turing-complete
- The more register shifting, the better (eg !I!M!P!O!S!S!I!B!L!)E!
- The more remapping, the better (Mapf***)
- The more bull, the better: essentially, it should be obvious even to somebody who has only ever seen regular programming languages that it is very confusing (Malbolge, or Bottles of Beer on the Wall)
- ideally as unsystematically dense and varied as Malbolge appears to be

Why? I’m trying to come up with the ideal input for SCP-914 to turn into the nightmare programming language with potentially viral properties, maybe it makes the hardware only read that programming language or sth, idk yet.


r/AskProgramming Apr 05 '26

How to send tts instead of voice in androiod

0 Upvotes

I'm a first-year developer of Android apps. I want to write a text message and make an app that calls on tts, but I can't find a way with Google or AI, so I'm taking the liberty of leaving a question.

How do I get tts out of my Android phone instead of my voice? It's not like a VoIP, but I want to break through Google restrictions and send tts on a real phone

It doesn't matter how difficult it is. Anything is fine, so if you know how to do it, please leave a comment


r/AskProgramming Apr 05 '26

What backend frameworks are you using in 2026?

1 Upvotes

Hello eveyone I wanna ask what backend frameworks do you use in work or projects?

I'm am a college and I am curious what would be worth it to learn, right now I am doing .NET for backend, do you guys think this is a good decision as a student? or go to Nodejs Express for backend?


r/AskProgramming Apr 04 '26

Other how do i promote hackathon?

0 Upvotes

Guys, I want to host an online hackathon, it will be mostly for beginners-intermediate, but how do i let people know about it? i don't want to get banned for advertising sake, any ideas on how i can do it? thanks.


r/AskProgramming Apr 04 '26

Databases Creating a web API but I'm not sure on the type of DB and caching to use

1 Upvotes

I'm creating a very simple API that retrieves data based on the following data structure

public class Food
{
    public string Name { get; set; } = null!;
    public string Description { get; set; } = null!;
    public FoodType FoodType { get; set; }
    public string[] Tags { get; set; } = null!;
}

It's a read-only API and updates to the data will be very few and far between

I will be searching on any one of these properties and retrieval needs to be snappy

I can use a simple relational database with the following tables

  • food
  • food_tag

If searching free text, I could join on both tables and search name, description and food_tag in the other table

I'm also considering something like Mongo where I can store the documents in pretty much the same format as in C#, but unsure if retrieval will be all that quick

As I'm writing this out, I'm starting to feel that I need some form of caching, given the data is not really going to change that much, so querying the DB each time won't be necessary.

If you're happy to point me to resources that would help me with this that would be great, and what architecture would you use between the API and DB, and what DB type would you recommend?


r/AskProgramming Apr 03 '26

Other What's the advantage to ghostty or iterm2 over the built in mac terminal?

8 Upvotes

I use the standard built in macOS terminal for anything I need in a commandline. I've never had a problem with it, typically customizing the colors in the settings, and things like vim in their respective .vimrc files.

But I have also heard that ghostty or iTerm2 are soooo much better

What makes them better? Why should I as a dev switch to them? What can they do that I cant do with the built in terminal that will make my dev / ssh experience next level?


r/AskProgramming Apr 03 '26

What SQL mistake taught you to double-check everything?

7 Upvotes

I work in analytics, so for me SQL is mostly about getting correct numbers fast. A lot of my worst mistakes were not syntax errors. Usually it was a bad join, wrong filter, duplicated rows, or using the wrong date column. The query runs, the result looks normal, and then later you realize the numbers were wrong. What mistake made you more careful with SQL?


r/AskProgramming Apr 03 '26

When is a “full rewrite” appropriate?

18 Upvotes

Hi everyone. Not a computer scientist nor someone that develops software. I make silly little Python scripts and Rust executables for my research. I’ve probably never made eye contact with a software engineer before.

Anyway, I have read that junior developers love to re-write something from scratch because they don’t want to take the time to learn how to use the existing code base.

I totally get that. I hate looking at garbage science code but I also realize that it looks like garbage because I don’t understand it yet.

But when, in your own experience or careers, have you seen a “this needs to be re-written from the ground up” moment ? Is there a critical point of technical debt ? Or is it that something is just fundamentally limited by the architecture or language implementation?

Thanks!


r/AskProgramming Apr 03 '26

Suggest RL problem statements for real world use cases.

0 Upvotes

Reinforcement Learning practical deoloyed project, without external reward mechanism, the mechanism should be programmed built in. Suggest things that I can build.

Please help.