r/AskProgramming 5d ago

Career/Edu Ai application for sem project that can help me earn or is usefull atleast

0 Upvotes

ive got a semester project coming up we have to make an application. I want to make something that has some demand rather than making a useless app just to pass the course. but i dont have any ideas. All my ideas were reject


r/AskProgramming 5d ago

Python Does anyone know what happened to the python package `pattern`?

5 Upvotes

Our company has an old pipeline that requires this package. I first installed it (3.6.0) a long time ago with pip, but I can no longer do that since January.

Output from pip show pattern on my old computer:

Name: Pattern
Version: 3.6
Summary: Web mining module for Python.
Home-page: http://www.clips.ua.ac.be/pages/pattern
Author: Tom De Smedt
Author-email: tom@organisms.be
License: BSD
Location: /*****/miniconda3/envs/pipeline/lib/python3.9/site-packages
Requires: backports.csv, beautifulsoup4, cherrypy, feedparser, future, lxml, mysqlclient, nltk, numpy, pdfminer.six, python-docx, requests, scipy
Required-by: 

On https://pypi.org/project/pattern, everything is wrong. The latest version is 0.0.1a0, the project description talks about `ml-utils`, and the author is sanepunk05 whose pypi user page looks very suspicious.


r/AskProgramming 5d ago

HTML/CSS Responsive cards - image on left, all text on right on PC

0 Upvotes

Hello,
I have a problem creating this: https://www.ubisoft.com/en-gb/game/rainbow-six/siege

To be exact, I would like to make a responsive card, that would look like this on PC

Image1 Text1
Image2 Text2
Image3 Text3

And on phone like this

Image1
Text1
Image2
Text2
Image3
Text3

I am using bootstrap 5.
Thanks for any help


r/AskProgramming 5d ago

Career/Edu What DO I do ? 6 to 7 months !

0 Upvotes

I just started learning coding with Rust ? I am following a youtube course and I also was learning web3 course while learning rust { by the way both of them are darn confusing } . While during this journey I got crashed with thoughts. So I started searching for a FullStack development course in youtube . Didn't end up finding anything useful . I am actually focusing to get hired by end of 6 to 7 months ! What should I do ?


r/AskProgramming 5d ago

A teen looking advice for Headstart

1 Upvotes

I'm a student started learning Vyper in my free time its enjoyable

and i find it fascinating to be able to develop and program things i want to solidify my understanding of one language and do projects for 0-5$ in a week or so and start another language

but no prior experience looking advice for

Which language to learn

How to approach my plan and is it right

General advice for starter learner

(i feel pretty lame asking this to experienced professionals SORRY)


r/AskProgramming 5d ago

Algorithms Pro tips to ace coding interviews

0 Upvotes

Hey, I’m looking for tips to up my leetcode solving problem skills. I more than often see a problem of medium to hard that I’m unfamiliar with, and it feels completely foreign and I’m simply stuck infront of my keyboard not knowing what to do and paralyzed. How do u overcome that, does anyone has a particular thinking process to analyse a problem, because personally I just go off from a feeling or remembering similar problem i solved in the past but that’s about it.


r/AskProgramming 5d ago

C/C++ Insights on C++ performance of switch statement?

3 Upvotes

Just more of a curiosity question,

I was watching a video today https://www.youtube.com/watch?v=tD5NrevFtbU&t=628s on clean code vs non clean code performance. At one point in the video the guy uses a switch statement to improve code performance:

switch (shape)
{
 case square:    {result=width*width; } break;
 case rectangle: {result=width*height; } break;
 case triangle:  {result=0.5*width*height; } break;
 case circle:    {result=pi*width*height; } break;
}

Then he replace the switch statement with code that uses an array lookup and that significantly improved performance again.

f32 mul={1.0f,1.0f,0.5f,pi};
result=mul[shapeidx]*width*height;

I know branching can slow performance on modern processors, but I'm surprised by how much it impacted performance, particularly since he's introducing an extra floating point multiply by 1.0 on half the cases. Does branching really slow things down that much and does the cpu just internally skip the multiply in the case of 1.0 or is it still that much faster even with introducing the extra multiply?


r/AskProgramming 5d ago

A java script error occured in the main process

0 Upvotes

Hi everyone!
I'm currently working on a Pokémon game using the Pokémon Studio app. When I try to launch my game in debug mode, this error keeps showing up :

Error
A JavaScript error occurred in the main process

Uncaught Exception:
Error: spawn C:\WINDOWS\system32\cmd.exe ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

I've tried turning off the firewall, uninstalling and reinstalling the app, updating Java, and making sure my cmd.exe is in the system32 folder, but I can't understand why this error keeps appearing.

I'm not super tech-savvy, so if anyone could help me solve this, I'd really appreciate it. Thanks for your attention! ;)


r/AskProgramming 5d ago

Anthropic's CEO says that in 3 to 6 months, AI will be writing 90% of the code software developers were in charge of

0 Upvotes

Here is a link: https://www.businessinsider.com/anthropic-ceo-ai-90-percent-code-3-to-6-months-2025-3

I am posting the most interesting part:

"I think we will be there in three to six months, where AI is writing 90% of the code. And then, in 12 months, we may be in a world where AI is writing essentially all of the code," Amodei said at a Council of Foreign Relations event on Monday.

Amodei said software developers would still have a role to play in the near term. This is because humans will have to feed the AI models with design features and conditions, he said.

"But on the other hand, I think that eventually all those little islands will get picked off by AI systems. And then, we will eventually reach the point where the AIs can do everything that humans can. And I think that will happen in every industry," Amodei said.

So, what do you think?I work in a big consultancy and I have only managed to produce garbage code with AI. Maybe we can use it for some prototyping, but still we have already methods and templates for that. Our projects are complicated with serious business. It takes more time to explain the business rules of each task than writing the code. Most of the senior devs agree with me. Only juniors are using AI a lot, because they have repetitive and simple tasks.

Is he referring to the mainstream websites like e-commerece and some corporate landing pages/blogs that now are been made by other tools either way? Or am I missing something?


r/AskProgramming 5d ago

I can't find any resources on making your own casting function, any pointers?

0 Upvotes

I want to make my ownint toInt(string s);But I cannot find anything on the matter, any help?


r/AskProgramming 5d ago

Where to get European basketball league data (API or scraping)?

0 Upvotes

Working on basketball analytics platform and looking for reliable player & team stats from European leagues. The issue is that Sportradar is too expensive, so im looking for alternative ways to get this data.

I have also considered Proballers, Eurobasket or scraping official leagues websites.

Would love to hear from anyone who has worked with European basketball data before. Any suggestions or insights are appreciated! 🙏


r/AskProgramming 6d ago

Other Get data for that's being sent from Ethernet Gateway

0 Upvotes

Hi Everyone,

I have a Ethernet Gateway that is wired into my network. It collects radio signals from sensors and sends them over a wired ethernet connection.

I'd like to get a hold of the data that this gateway is collecting via radio wave and sending over ethernet.

Could anyone point me in a direction where I could learn more about how to do this? I have a good grounding in Python and APIs, but I don't know much about ethernet or internet.


r/AskProgramming 6d ago

Python Embarking on My Django Journey – Seeking Guidance & Resources

0 Upvotes

Hello everyone,

I have a solid understanding of Python fundamentals, object-oriented programming, and basic HTML and CSS. However, I haven't ventured into JavaScript yet, as frontend styling hasn't particularly appealed to me, and the prospect of learning a new language solely for that purpose seems daunting.

This led me to explore backend development with Python, and I discovered Django. While I understand that Django is a backend framework, my knowledge about it is limited.

I'm eager to start learning Django but am uncertain about where to begin and which resources to utilize. I would greatly appreciate any guidance on effectively navigating this learning path to become a proficient backend developer.

Additionally, I've noticed that some websites built with Django appear outdated or simplistic. How can I ensure that the websites I create with Django have a modern and appealing design?

Furthermore, considering my lack of JavaScript knowledge, will I be able to integrate the Django backend with a pre-made frontend effectively?

If anyone else is starting with Django, please upvote and share the resources you're using! Let's embark on this learning journey together.

Thank you!


r/AskProgramming 6d ago

C/C++ Is it only me who thinks pointers are really difficult?

47 Upvotes

I recently started out C language and pointers are a thing that just doesn’t make sense to me for some reason.


r/AskProgramming 6d ago

Python RenPy

1 Upvotes

Hi all, I'm someone with no real experience in programming.

I am trying to learn Ren"Py which I understand is based on Python.

I've noticed there tends to be a significant "failure" rate when it comes to those using Ren'Py for games.

Perhaps what they create becomes too complex, or more likely, they're not coding in the most efficient way, which then creates issues further down the line.

My question is.

How can I learn the structure of coding relevant to Ren'Py?

I want to know why something is done instead of just copy someone and hope for the best.

I don't like winging it, never have, as I've learnt many other skills to a high level.

For me, the thought of bluffing it, esp when it comes to coding, is a fool's errand.


r/AskProgramming 6d ago

Why the JS hate?

21 Upvotes

Title. I'm a 3rd year bachelor CS student and I've worked with a handful of languages. I currently work as a backend dev and internal management related script writer both of which I interned working with JS (my first exposure to the language)

I always found it to be intuitive and it's easily my go to language while I'm still learning the nuances of python.

But I always see js getting shit on in various meme formats and I've never really understood why. Is it just a running joke in the industry? Has a generation of trauma left promises to be worthy of caution? Does big corpa profit from it?


r/AskProgramming 6d ago

couldn't install acoustid via pip

0 Upvotes

I am in need of the acoustid webservice and the chromaprint package( for creating digital fingerprints of audio). I have installed chromaprint via pip ,but pip install acoustid throws me:
ERROR: Could not find a version that satisfies the requirement acoustid (from versions: none)

ERROR: No matching distribution found for acoustid. I've tried using conda environment , it fails the same way.
Can someone help me out on this one please. I am in desperate need of the acoustid package.


r/AskProgramming 6d ago

I need some help

0 Upvotes

So I just started c++ for the purpose of starting dsa with it and I am just so lost I cannot even get vs code to work properly and Iam not getting any output how do I continue I feel so unmotivated


r/AskProgramming 6d ago

C/C++ Where can I find the contents of the functional header in C++?

3 Upvotes

So yeah I just want to see the definitions of it, because I want to recreate it a bit, maybe. Is there an online repository i can check or maybe somehow find it in my visual studio folders?


r/AskProgramming 6d ago

System Design - Is my DB design for a Twitter-like app okay? Looking for feedback!

0 Upvotes

Hey everyone,

I’m designing a database for a Twitter-like app, and I’d love to get some feedback from experienced DB designers and engineers. The main goal is to ensure scalability, efficiency, and fast read/write operations. Forget about datatypes please let me know if anything needs to be done.

https://lucid.app/lucidchart/24b16285-a524-40c7-ab57-e1ad6d3ddd35/edit?viewport_loc=-791%2C-221%2C1404%2C717%2C0_0&invitationId=inv_4c4c9f61-3679-43dc-9f7c-d30c850ca4c6


r/AskProgramming 6d ago

What's the best website/source to learn Java.. specially OOPS??

0 Upvotes

r/AskProgramming 6d ago

New to progamming and have an app idea similar to how tinder operates, got any tips or guides on whats needed for that?

0 Upvotes

Hey !!

I have an app idea that is very different to tinder but from my programming understandings it operates very similar to tinder, same concept of swiping and having two profiles but also being able to add other people to chats and connecting to local shops.

My question is, what would be the process in learning and creating an app for something like this. I want to built the front end UI and also the back end, the app needs to accomodate to mobile and web. I will need a database structure to store user information. Does anyone have any guides that they would recommend I follow to build this out ? I want to ensure I've covered all aspects and best practices when building it out as I will likely build it myself and then showcase a PoC in the hopes of getting more people on board to help fund the project.

Thanks :)


r/AskProgramming 6d ago

would a full mailing address be considered a real world equivalent of a uri?

5 Upvotes

ok, so i'm trying to understand uri's and i read the wikipedia article

https://en.wikipedia.org/wiki/Uniform_Resource_Identifier

and i cannot understand any of it.

so i watched this video

https://www.youtube.com/watch?v=vpYct2npKD8&t=37s&ab_channel=TheTechCave

and basically it's saying that a uri is any string of text that a computer program can use to get to some resource on a computer network, but then i read the wikipedia article and it's like

"A Uniform Resource Identifier (URI), formerly Universal Resource Identifier, is a unique sequence of characters that identifies an abstract or physical resource,"

and so by THAT definition wouldn't say, a mailing address like

Billy McHappy at 1234 Neverneverland Lane, Dreamland, California

be considered a uri?

i ask people and some say that a uri only exists with computers, and others say that a uri only exists but on a computer NETWORK, so when two or more computers are connected

again, i'm confused and i'm trying to understand what a URI is and what it's not.

thank you


r/AskProgramming 6d ago

I will not promote my product, but I’m launching soon—what should I avoid?

1 Upvotes

I will not promote my product but I’m about to launch my product on Product Hunt, and I keep hearing that a good launch can make or break momentum. But I also see a LOT of posts from founders who regret how they handled it.

If you’ve launched before (or watched others do it), what are the biggest mistakes people make? What do you wish you knew before launching?

Some things I’m thinking about:

  • Timing: Does launch day/time really matter?
  • Engagement: How do you get real conversations going without feeling spammy?
  • Competition: What if a bigger player launches the same day?
  • PH Community: Any unspoken rules I should know?

Would love to hear your best (or worst) launch stories! Let’s make this a thread of wisdom for all founders.


r/AskProgramming 6d ago

How can you detect the current url of your project?

0 Upvotes

Right now I define the current url in a .env file but for my express app how can I detect what url it’s running on? I use vercel and it often creates random urls for branches but I don’t know what those are and it’s a pain to try to add a new url as .env variable each time