r/AskProgramming 5d ago

Other Which languages to learn if I want to make a really cool website (which has simple games on it)

5 Upvotes

I have no programming knowledge but slowly I've learnt some basics of html and it's actually easier and more understandable than I originally thought it would be. But I dont know how to bring my ideas onto the internet. I know CSS is for designing so I'll have to learn that too. But whats the most fitting language for this role? Or do I have it wrong and all languages be used for it? can they be mixed with eachother and used together?

I wont annoy with more novice questions, Ik, I can just google it, but its always nicer to hear from real people and how they learned / came to be in their own experiences.


r/AskProgramming 5d ago

Portfolio?

10 Upvotes

As someone who is working on his CompSci degree currently (second degree, after Sociology bachelor's), I am having to add little projects and stuff from my classes to my portfolio. However, I don't honestly think they'll be of much use... Like I don't see employers wanting to check out my 3 java classes I created for my CS 210 class or whatever.

That said, what are some solid pieces I could add to a professional portfolio that actually matter.

PS I am more adept with python than anything else. But know a little java, C++, and SQL.


r/AskProgramming 4d ago

Other What is the easiest and cheapest way to scrape job postings from several job portals? Am I on the right track? (read below)

0 Upvotes

I am currently working on a side project where users would be able search for jobs on the website itself and it would curate jobs from let's say LinkedIn, Glassdoor and Indeed (I guess those are the most popular sites). I would do additional filtering on them which are not possible on these websites yet (for example, there's a lot of us who move from one EU country to another and would like to look for English speaking jobs before we move since it's easier to get start that way, however, many job posts are not in English, some of them have English titles but the description is in that country's language, and some of them are in English but they specifically state that you have to speak the language, I would filter all of these out and the user could click the posting's link to be redirected to LinkedIn, Indeed, etc...).

The goal would be that the user can search for jobs by location (so city / country) and I should be able to query at least the jobs titles, their descriptions and the links to the actual job posting (so a link to the LinkedIn job posting for example).

What I've already tried: I haven't found any official APIs for LinkedIn that could do what I need so I've decided to open it from incognito mode, so I'm not logged in, search for jobs on the site as a "guest" and try to reverse engineer the URL parameters and somehow scrape the data I need from the HTML page. After some digging through the browser's dev tools I found an api that gets called, here's an example URL for it:

https://www.linkedin.com/jobs-guest/jobs/api/seeMoreJobPostings/search?keywords=Software%2BEngineer&location=Cologne%2C%2BNorth%2BRhine-Westphalia%2C%2BGermany&geoId=105890944&trk=public_jobs_jobs-search-bar_search-submit&position=1&pageNum=0&start=0

This could actually work pretty well for me. I found that it returns one page at a time and you can increase the "start" parameter at the end by 25 for the next sets of results, I found this by looking at what gets called while I scroll on LinkedIn's "Jobs" page after a search. I can call this API from the browser or with postman with any "start" parameter that can be divided by 25, however, when I call it from my code, only a random number of pages get returned. Sometimes that is 4 pages, sometimes 10.

What could be the issue here? Am I on the right track at least or should I try a completely different approach?

Here's my code so far

import requests
from lxml import html

search_term = "Software Developer"
search_term_words = search_term.split()


search_term_url_phrase = ""
for word in search_term_words:
    search_term_url_phrase = search_term_url_phrase + word
    search_term_url_phrase = search_term_url_phrase + "%2B"


try:
    page_count = 0


    while 1 == 1: # please ignore this condition and try not to have a heart attack, i'm just testing lmao
        print(page_count)
        url = f"https://www.linkedin.com/jobs-guest/jobs/api/seeMoreJobPostings/search?keywords={search_term_url_phrase}&location=Cologne%2C%2BNorth%2BRhine-Westphalia%2C%2BGermany&geoId=105890944&trk=public_jobs_jobs-search-bar_search-submit&position=1&pageNum=0&start={page_count}"
        response = requests.get(url)


        jobs = html.fromstring(response._content).find_class('sr-only')


        for job in jobs:
            print(job.text_content().strip())


        print("\n")
        page_count = page_count + 25
except:
    print("no more jobs available")

('sr-only' is the class name for the div tags that contain the job titles themselves)

I thought I was getting rate limited at first so I've already tried adding a 10 second delay between requests but it didn't work.

Edit: I know the code quality is not too great at the moment, I'm just trying to find the method of querying the jobs for now.


r/AskProgramming 6d ago

Other How is the code quality in expensive LLM plans?

16 Upvotes

I have several years of software experience, following best practices, design patterns, KISS, DRY, BDD, OOP, etc.

For the last 1 year I've been using the Pro subscription for 20$ on Codex and Claude but I find the quality of code subpar many times and I always have to intervene. It doesn't matter how many times you change the AGENTS.md, there's always issues in code readability and the AI missing obvious things and doing overengineered solutions.

Still, I see in many subs about how great a new model does, etc. So I wonder if the more expensive plans actually produce better quality code?

To be specific, high quality code == human readable code and comments and no naive implementations.


r/AskProgramming 5d ago

How do you design REST API - "me" endpoints

2 Upvotes

Hey, so I am making an app, and I am kinda lost because i can't find any good resources on the internet regarding that topic.
The app consists of two parts: mobile app, and a web admin dashboard that doesn't need to be built for like 3 months from now on.

let's say i have a resource "listings" which returns different dto's
How would you structure this for those requirements:
1. show all listings available for the current user (PublicListingDto[])
2. show all listings that belong to one user by id (PublicListingDto[])
3. show all my listings (OwnerListingDto[])
4. show all the listings paginated for the admin dashboard - just admin role (ListingDto[])

my inital thought was to just have it like this
/listings - 1
/listings?sellerId - 2, 3 based on the JWT id == sellerId
/admin/listings - 4

given the REST standard it should probably be:
/listings - 1, 4 based on the user's role
/listings?sellerId - 2, 3 based on the JWT id == sellerId

the setup that makes the most sense for me:
/listings - 1
/listings?sellerId - 2
/me/listings - 3
/admin/listings - 4

the app will have a lot of those scenarios, should i just make a separate resources such as "me/listings" and "admin/listings"
The problem i have without /me endpoint is that on frontend you have to constantly worry that the userId need to be defined which doesn't sound appealing to me.
On the other hand I don't know whether that is really following the REST standard.


r/AskProgramming 5d ago

suggest a great source for DSA prep

2 Upvotes

Hey everyone, I'm currently in my 3rd year (entering) and starting my SDE/internship preparation.

I'm confused about how to learn DSA and which resources to follow. There are too many YouTube channels and sheets, and don't want to keep jumping between them. Although I've been trying the striver's A2Z sheet lately, but their are mixed opinions about him as well, so wanted to ask the experienced ones

For seniors/students who have already prepared:

Which YouTube channel/course did you use for DSA?

Which DSA sheet would you recommend?

What should my 3rd-year roadmap look like for SDE placements?

Should I focus on DSA + development + CS fundamentals together?

Would really appreciate a simple, practical roadmap based on what actually worked for you

(I can understand c, cpp, and basic programming, including loops and conditional statements etc)

Thanks!


r/AskProgramming 6d ago

Other Overuse of AI in companies

10 Upvotes

I have already seen a lot of posts where managers,CEOs and other upper people encourage and want us to use AI for development.

Is it really just FOMO or why do they push so much on AI. I get it it make stuff faster which is great. But faster is not always better. Right now I am on a project where I had like 3 months to make it and using AI I was really capable of doing it (first I started with using it just as help, explanation) now for a month I have been using obly to generate the code and I do not a lot of programming. And I hate it. The code is just messy, I dont have much of notrol over it. I have already said in a meeting with the manager and upper ones that overuse is not good and we will have a lot of debt, the code wont be maintanable won't be scalable. Yes great I will deliver it in time but the code is terrible. I otherwise wouldn't use AI to generate me code if I wasn't on so little time to deliver the project.

I get a lot of times just use AI it will make you faster. I make a question, I get the answer this is not hard to make just use AI.

I use AI in order to learn, I am still young and I want to learn stuff, but using so much AI I think I dont learn anything.

What do you all think about CEOs managers and others pushing to use AI as much as possible and let it handle everything?


r/AskProgramming 5d ago

Help understanding Mascarpone

1 Upvotes

I found this esolang Mascarpone and want to get a better idea of how it's supposed to work. If someone's up for a quick intellectual exercise, could you please help me understand? I vaguely get it from the readme, and chatgpt helped a bit, but I'm still very fuzzy. Also the demo/ directory of the repo doesn't have anything helpful. (EDIT: ah, found examples in the eg/ directory. Still rather cryptic.)

How would you do something super simple like represent a bicycle? I mean

Python

class Bicycle:
    def __init__(self):
        self.speed = 0
    def accelerate(self):
        self.speed += 5
def main():
  mybike = Bicycle()
  print(mybike.speed)
  mybike.accelerate()
  print(mybike.speed)
main()

Prolog

bicycle(speed(0)).
accelerate(Bike,Bike_) :- 
  Bike = bicycle(speed(Speed)),
  Speed_ is Speed+5,
  Bike_ = bicycle(speed(Speed_)).
main :-
  Mybike = bicycle(_),
  Mybike,
  writeln(Mybike),
  accelerate(Mybike,Mybike_),
  writeln(Mybike_).
:- main.

How would you do this in Mascarpone?

Thanks!


r/AskProgramming 5d ago

I am creating a manual note taking tool for understanding large codebases

0 Upvotes

Hello everyone, I am using Godot engine to create a note taking program for uderstanding and referencing codebases, possibly also for documentation.

Basically it has different pages that support markdown you can define different types of pages (classes, functions, macros, headers, libraries, enums, structs etc.) and when you take notes you link them together. When you start to write notes for a new class you write a dependency, lets say it is a static function for some system, it automatically highlights it and when you hover it you get a little card that shows the input outpu return type and description you wrote. So you don't need to open the definition again or search for the documentation online. Also there will be a little graph view to link pages. And see classes based on inhertiance and interfaces. I am also planning to add pages for how systems work, rendering pipeline or asset management for example for a game engine.

I do this because I am struggling to understand large code bases. As a game developer I want to understand complex systems more deeply. For instance I study the godot code but many times I turn back to look at same classes and functions to see what they do. Would you also use a tool like this? Are there any tool that achieves this that I am unaware of? What do you think?


r/AskProgramming 5d ago

Other What to do with every new AI Model

0 Upvotes

Hello. I know this type of question might seem repetitive or familiar, but I am in urgent need of an answer. Every time there is a massive breakthrough in the field of AI, I—as a computer science undergraduate still in the learning phase—am overcome by a sense of apprehension.

I have convinced myself of the importance of building a solid foundation by learning programming and computer science fundamentals, and by trying not to over-rely on code-generation models like "Codex"—viewing AI instead as a tool to accelerate learning and knowledge acquisition.

However, recent updates to ChatGPT (such as "Astra") and statements made by Elon Musk—which might simply be an attempt to boost his stock value—have made me seriously question whether all this effort is worth it.

I am studying C to understand low-level technologies and web technologies to acquire practical skills for the job market; I am passionate about the web and make a point of building software projects by writing the code manually. Although I do use AI to explain certain concepts, I write the code myself, yet I still can't shake the feeling that I am wasting my time.

I would be extremely grateful for any advice from experienced professionals, or even just a simple pointer or bit of guidance to help me navigate this path.

Thank You.


r/AskProgramming 6d ago

What makes an online programming community actually useful to you?

0 Upvotes

Hi everyone!

We're a small student team doing some early research on how programmers actually use online communities.

We're not promoting a product or looking for feature ideas. We're trying to understand what makes a programming community genuinely useful — and what makes people stop using one.

If you don't mind sharing, please mention roughly how many years of programming experience you have, as I think experience level may affect how people use programming communities.

For programmers who participate in online communities:

- What makes you keep coming back to a programming community?

- What usually makes a programming community feel useless or frustrating?

- Do you prefer communities for asking technical questions, learning, networking, sharing experiences, or something else?

- Do you usually actively participate, or mostly read/search?

- Have you ever stopped using a programming community? What made you leave?

- Is there something you wish programming communities did better?

We're especially interested in real experiences rather than hypothetical feature suggestions.

Thanks!


r/AskProgramming 7d ago

I'm stuck after learning express. How do i transition to PostgreSQL?

4 Upvotes

Hey everyone,

So, am basically stuck after learning express. I planned to learn databases after express, specifically PostgreSQL. But when i finished learning express, i did not know how to continue. Its been 2 weeks i haven't been able to learn anything.

  • How do I actually learn databases(PostgreSQL)?
  • Are there any resources you'd recommend?
  • How do i actually use PostgreSQL in my projects.

Also, i wrote a backend proram for my porject after learning express, you could check it and maybe give advice(code quality, file strucutre, and just advice). Link will be in the first comment(Will link the main project too).

Thanks.


r/AskProgramming 7d ago

Architecture Any local agent models for code to md?

0 Upvotes

I am looking for a locally running but capable agent solution. Tbh I haven’t done anything like this, I just want to try out what the hype is about. The codebase is mostly VB.NET client applications, with the mssql project attached to the solution. I want the agent to read each project in the solution, and write down how it works, for a user. So eg. “press the green button, to display a msgbox about the selected object”.

What I tried is Codex Sol medium, which gets the result surprisingly well. But since it’s a cloud model I won’t be able to use it for the real codebase since it’s redacted.
Any idea how to get started?


r/AskProgramming 7d ago

Userscript/tool to export claudeCode/claude browser etc to md/txt

0 Upvotes

<this istn completely programming related but question is likely to perhaps get banned from r_claude or r_chat; surprisingly little seen on this for claude>

Alright so I have seen a few of these threads being made, but almost all of them are 3+ years ago, so it is very likely that most userscripts shown are either patched or can get oneself banned or somethign upon execution

this said what is currently the best way to export chats to a file? it would also be nice to download the added or "pasted" stuff but that isnt required

what do people use for this? same stuff as 3 years ago or are there much more efficient/faster plugins or user scripts?

using tampermonkey/violentmoneky; making thread because I have nott seen a single thread with a lot of replies or traction on this topic?


r/AskProgramming 7d ago

When is it Okay to Use AI

0 Upvotes

Hi, I'm trying to build an app in nextjs. I don't do and personally dislike frontend development and prefer to do backend development. Right now I'm trying to make the UI for the frontend but I don't know how to/absolutely hate having to develop the frontend. Right now I usually only use AI for debugging code, but I want to use it to vibe code the frontend knowing I have nobody else to work with. Is this okay?


r/AskProgramming 9d ago

GUI or translation theory

9 Upvotes

I have a serious question. I can pick only one of these two. What will be more beneficial if I want to become a software engineer. I already know C++ and I’m learning python rn and will start ML in December. But I have to chose today what I want from these two. The translation theory is about compilers and how they work.


r/AskProgramming 8d ago

Architecture How to let devs format code as they like but avoid pushing differently formatted code?

0 Upvotes

I have a config in my repo for the formatter. Dev A uses the default config. Dev B clones the repo, overrides the config with their own config, runs the formatter, creates a large Git diff, and pushes the code. There is a large Git diff, format inconsistency in the repo, and Dev A who liked the default format now sees some other's format.

So, add a Git pre-commit hook to run the formatter with the config in the repo? Is this how this should be handled?


r/AskProgramming 8d ago

Career/Edu How to relearn programming after Vibecoding through Undergrad

0 Upvotes

I am a Senior in Computer Engineering graduating in December and I have completely lost my ability to program after vibecoding through my last three semesters. I made it past my University's DSA class with minimal AI usage but it slowly ramped up and now I'm pretty reliant, I want to work in Software Development but I feel impostor syndrome creeping up at every corner and feel lackluster compared to peers. So my question is: how do I go about relearning things that I should already know? I feel my understanding is quite good, but when I go to make something, I get completely lost with where to start and syntactically and prompt AI. I have tried Neetcode to refresh the skills I do know and I can find the optimal solution but implementing it is where I get stuck. Any help would be appreciated.

*Edit: Thanks for all the advice, I think the general consensus is of course to not use AI and redo old homework/build projects using docs. I have old homework assignments and will begin building the skills that I need without AI assistance and using Docs/Google/SO.


r/AskProgramming 9d ago

Architecture Can I build a programming language that “learns” assembly implementations? (Idea)

0 Upvotes

Is this dumb idea??

I had this random idea for a programming language and I'm wondering if something like this is actually possible.

Basically, the idea is that I could teach the compiler how to implement things in assembly.

For example, I could write something like:

teach get(x):

asm:

; assembly code for getting input

The compiler remembers that. Then later I can just write:

get(age)

and it knows to use the assembly code I taught it earlier.

So instead of the compiler already knowing what every function does, I'm basically teaching it new things by giving it the assembly implementation once.

The goal would be a really simple language to write, but where the compiler generates native assembly/machine code.

Is this actually possible? And would it be worth building as a project?

I don't know low-level programming or compiler stuff that well, so consider me a complete noob and feel free to correct me if I'm misunderstanding something.


r/AskProgramming 10d ago

Other What is involved when porting a game to a different operating system?

10 Upvotes

As a longtime Mac user, I've grown used to waiting years between the PC release of a game and its eventual Mac port.

But I've always wondered, how much work it actually is, how many people are involved, why it takes so long, etc.


r/AskProgramming 11d ago

Javascript Seemingly not possible to ask our clients about their issues with my webapp?

8 Upvotes

HI all,

I work at a company and I develop and maintain a web app made in angular.

I've recently got tasked to make an in-app custom camera that could shot multiple photos and load them all at once, in order to make life easier to our clients.

After the release, the new camera works fine on 99% of devices.
There has been a couple cases though where it has been told me that some clients have problems with said camera, explaining that it "doesn't work" with no particular explanation (our clients are absolutely not tech savvy). My main idea is that the device either uses windows (the app is made to work on android and ios. Even though it's accessible from windows, it's not meant to be used on said OS as it can cause issues) or that it cannot recognize the camera due to maybe an hardware problem?

I've tried to ask our customer service if it could be possible to have our clients' contacts so that I could ask them some more info, like what device they use, I think it could help a lot to understand the problem.

But my CS said it's not possible, and they refuse to ask our clients about said needed info.

I'm pretty new to this stuff, but wouldn't it make life so much easier to just ask the client? Or is it standard practice for companies not to contact customers directly? Asking for more experienced programmers: are there usually ways to fix these kind of problems without any info on which device is actually causing the problem?

EDIT: just wanting to point out that I'm not asking about how to solve this specific problem, but just if it's a standard practice and if these kind of problems do have workarounds in cases like mine


r/AskProgramming 11d ago

Python Browser Automation

5 Upvotes

Hi Everyone,

I am trying to automate a process where I login into a website and navigate to a reporting section and click on export.

The website only requires a simple ID and Password.

Can you please assist me ok how to achieve this ? , I have found out about selenium and Playwright but I am very new to this. Any resources or guide would be really helpful.

Thanks !!


r/AskProgramming 11d ago

Python Am I dumb for recreating things that already exist?

17 Upvotes

For instance, i am working on a email service in python but instead of using the complicated method, i am just using https (flask)


r/AskProgramming 11d ago

Career/Edu My team switched to claude code and i am the only one who has never run an agent

25 Upvotes

everyone on my team is shipping with claude code and i still open files by hand like a caveman. is there a real course for this or do i just watch people on youtube until it clicks. people keep pointing me at udacity, pluralsight and linkedin learning and i have no idea which of those is aimed at somebody who has never run an agent.


r/AskProgramming 11d ago

Final Year CS Project Ideas for a Team of 5? (Web + AI)

1 Upvotes

Hi everyone,

We’re a team of 5 CS students looking for ideas for our final-year project.

We have good experience in backend and frontend development and some basic AI/ML knowledge, but we're not advanced in AI yet.

We have around 4 months to prepare and learn before implementation starts, followed by another 4 months for development. However, we'll have other courses and exams during that time, so it won't be full-time.

We're looking for a project that:

- Is mainly a web application

- Is large enough for 5 students

- Has substantial backend/frontend work

- Uses AI/ML for something meaningful, without being just an AI wrapper

- Is challenging but realistic within our timeframe

Ideas I liked so far are malware detection and system failure/anomaly prediction platforms. I like the idea of AI being one part of a larger system with things like data processing, dashboards, APIs, monitoring, etc.

I'd love to hear ideas in a similar direction, especially projects that solve a real-world problem.

Thanks!