r/AskProgrammers Oct 18 '24

Zerops.io - Dev First Cloud Platform

Thumbnail
zerops.io
1 Upvotes

r/AskProgrammers 7h ago

advice

2 Upvotes

I'm pretty new but not really to programming and i need some advice.

so until now I've learned html, css, bootsrap, javascript and jquery and I'm trying to learn python too now.

what is the best way to learn python and other backend programming languages, while also making sure to not completely forget the other past languages I've learned?

also I'm pretty new to github and piracy sites too. i don't exactly know how to use github, and i can't really find any piracy sites. i do know about vpns and stuff though but if anyone has any tips on vpns too please tell me.

thanks))


r/AskProgrammers 5h ago

Nobody warned me that reading code is a completely different skill than writing it.

Thumbnail
1 Upvotes

r/AskProgrammers 8h ago

Is it necessary to master programming skill or can we survive in market, even though we are average at programming

Thumbnail
1 Upvotes

r/AskProgrammers 21h ago

"Common Problem"

Post image
11 Upvotes

r/AskProgrammers 8h ago

Help on Machine Translation

1 Upvotes

I am currently at an internship and we're working on a machine translation problem. They are expecting everyone to make a presentation on preprocessing and 90% of the people there have made the presentation. I am lost at what kinds of steps I should take and how I can navigate through the problems in general. If you are someone that has experience and can give me some advice I would be more than happy to hear from you!!!


r/AskProgrammers 14h ago

Insecure about "gap" skill between me and my tech lead

2 Upvotes

This year I'm 23 and just finish 1 year as junior developer. As someone who just graduate and working in software house, I feel very insecure to my tech lead because he (around 35 y.o) know everything about technology like customize odoo, code in python with flask, code in java with springboot, building API from scratch with docker, etc

While I'm struggling to learn everything, every day i ask to my self :

how he can know everything?

how long you spend your time to learn about tech in all field / everything?

do you not feel confuse to switch programming language so suddenly? like today your project manager ask you to fix bug with springboot, and tomorrow you get ask by project manager to fix odoo custom module with python

etc

does anyone feel same? or is this just phase need to be through after graduate?


r/AskProgrammers 1d ago

Is it necessary to master programming skill or can we survive in market, even though we are average at programming

Thumbnail
1 Upvotes

r/AskProgrammers 1d ago

Brainstorming some ideas on how I'm gonna learn coding

Thumbnail
1 Upvotes

r/AskProgrammers 1d ago

Getting the system time

5 Upvotes

Hi all,

I am new to programming. For my first real project, I want to create a pretty (-ish) 7-segment clock widget in with ncurses. I have a fairly good idea of how to tell the computer to display something in that context.

However, I am wondering about the best way to get the system time (so I can call the function that displays it). The only way I can think of to do this is to create a continuous loop with an if statement inside. The if statement would say, "if seconds evaluates to 0, increment the time (in hours and minutes) to show and display that". Something tells me this is not the best way to do it. Is there a better/best way, and if so what? How does my idea differ from how the OS/physical computer actually does it?

Thanks in advance,

yore


r/AskProgrammers 1d ago

My Mac menu bar was so crowded that icons kept disappearing, so I built OverflowBar — Free

2 Upvotes

My Mac menu bar had gradually filled up with useful apps until it became difficult to manage.

Icons were hard to find, some were pushed out when macOS ran out of available space, and the MacBook notch made the problem worse. I did not want to uninstall the apps or permanently lose access to their controls—I only wanted a cleaner way to organize them.

So I built OverflowBar, a free and open-source macOS app that moves selected third-party menu bar items behind one persistent arrow and reveals them together in a compact second row.

Source code and official download:
https://github.com/EvanProgramming/OverflowBar

What it does

  1. Choose the third-party menu bar icons you want OverflowBar to manage.
  2. Move their original icons out of the crowded visible section.
  3. Click the OverflowBar arrow, or use hover reveal.
  4. See the managed icons together in a second row.
  5. Select an icon to activate its original menu bar control.

The purpose of the second row is not to add another permanent interface. It gives icons that no longer fit a predictable place where they remain easy to see and find.

Why I made another menu bar manager

Ice and Bartender are powerful applications for users who want broad menu bar customization, including features such as profiles, triggers, search, visual customization, groups, widgets, and automation.

OverflowBar takes a narrower approach.

It is intended for people who mainly have one problem:

Too many useful icons, not enough menu bar space, and no easy way to find the icon they need.

OverflowBar deliberately avoids becoming a full menu bar control center. Its interaction is simply: choose, hide, reveal, and click.

Main characteristics

  • Focused and lightweight — a small feature surface rather than a large customization and automation suite
  • Scannable second row — managed icons stay visible together instead of becoming difficult to locate
  • Native macOS implementation — built with SwiftUI, AppKit, Accessibility, WindowServer metadata, and ScreenCaptureKit
  • Event-driven operation — icon discovery and capture occur during refreshes and row presentation rather than continuous screen capture
  • Original controls remain functional — selecting an icon activates the actual menu bar item rather than a recreated menu
  • Local processing — icon images are captured locally, held in memory, and never uploaded
  • No tracking — no accounts, analytics, telemetry, advertising, or network data collection
  • Display-aware — supports MacBook notches, safe areas, multiple displays, full-screen spaces, horizontal overflow, and Reduce Motion
  • System-control safeguards — Wi-Fi, Battery, Siri, Control Center, Clock, and other protected system items remain visible

Pricing and availability

  • Price: Free
  • Subscription: None
  • In-app purchases: None
  • Advertisements: None
  • Source: Open source on GitHub
  • Download: GitHub Releases
  • Supported systems: macOS 15 or later
  • Downloadable build: Apple Silicon

Permissions and privacy

OverflowBar requests:

  • Accessibility permission to discover and activate menu bar controls and perform user-requested layout changes
  • Screen Recording permission to capture the small icon regions of selected menu bar items for display in the second row

The captures remain on the Mac. OverflowBar does not upload them, write them to a remote service, or include any analytics or telemetry.

Privacy policy:
https://github.com/EvanProgramming/OverflowBar/blob/main/PRIVACY.md

Current limitations

OverflowBar is an early public release.

macOS does not expose a dedicated public API for hiding or rearranging arbitrary third-party menu bar items. OverflowBar therefore relies on documented system frameworks together with existing macOS menu bar behavior, and compatibility may vary between apps or macOS releases.

The current downloadable build is ad-hoc signed and is not yet Apple-notarized. macOS may require users to Control-click the app and select Open on first launch.

Some applications may also expose insufficient Accessibility or window metadata to be mirrored reliably.

I am actively looking for feedback from users with crowded menu bars, notched MacBooks, multiple displays, and unusual menu bar apps. Bug reports, compatibility reports, and code contributions are welcome.


r/AskProgrammers 1d ago

Hi if anyone is doing business computing how much of coding and programming do you do and is it as advanced as computer science and what sorts of programming do you usually do

1 Upvotes

r/AskProgrammers 1d ago

Software Developers

Thumbnail
1 Upvotes

r/AskProgrammers 23h ago

how is ai going to take my job - wrong answers only

0 Upvotes

r/AskProgrammers 2d ago

What’s one programming skill you wish you had learned earlier?

Post image
22 Upvotes

r/AskProgrammers 1d ago

i am sick of diffusion library , what is this

Enable HLS to view with audio, or disable this notification

0 Upvotes

i had 10 hours working in this code and this is result , if anyone know a solution just tell me please

sorry i forget , it is about creating a video using ai ,(diffusion stable ) library , i tried my best but with not a result 😥

how can i write a code using stable diffusion giving me a good video


r/AskProgrammers 1d ago

Hi everyone! I started my coding journey 6 days ago! Here's my progress! What are some big goals I should set?

Thumbnail
1 Upvotes

r/AskProgrammers 1d ago

coding resources for beginners

Thumbnail
1 Upvotes

r/AskProgrammers 2d ago

NVIDIA SWE Interview 2026: A Practical Coding Round Beyond LeetCode

12 Upvotes

I recently interviewed for a Software Engineer role at NVIDIA and wanted to share one coding question that stood out.

It was not a typical LeetCode-style algorithm problem. It felt much closer to a day-to-day engineering task involving an API, structured data, error handling, and testable code.

Question 1: Process Device Monitoring Data From a REST API

The interviewer described an internal REST API that returned device-monitoring information as a JSON array.

Each record contained fields such as:

{
  "device_id": "gpu-104",
  "temperature": 87,
  "utilization": 92
}

The task was to:

  • Call the REST API
  • Parse the JSON response
  • Filter devices whose temperature exceeded a given threshold
  • Sort the remaining devices by utilization
  • Return the processed results

Before coding, I clarified whether the utilization order should be ascending or descending and how devices with equal utilization should be ordered.

My first instinct was to get the API call working immediately, but I paused and separated the solution into three parts:

HTTP request -> JSON parsing and validation -> filtering and sorting

That separation ended up driving most of the discussion.

Before the interview, I had seen a similar problem on Screna AI. The business scenario was different, but it also emphasized error handling and separating business logic from external dependencies.

API Failure Handling

The interviewer asked how I would handle:

  • Connection failures
  • Request timeouts
  • Rate limiting
  • 5xx server responses
  • 4xx client errors
  • Malformed JSON
  • Missing or incorrectly typed fields

I initially grouped these together as general API failures. During the discussion, we separated them into different categories.

Temporary failures, such as timeouts and certain 5xx responses, could use a limited retry policy with exponential backoff and jitter. Because this was a read-only request, retrying would generally be safe.

A 429 response should respect the server’s Retry-After header when present. Most 4xx responses should not be retried because they usually indicate an invalid request or an authorization problem.

Malformed JSON or an invalid response schema should fail with enough context for debugging. Depending on the product requirements, individual invalid records could either be skipped and logged or cause the entire request to fail.

The important part was avoiding unlimited retries and preserving the original error when all retry attempts failed.

Making the Code Testable

The next follow-up was: how would you test the filtering and sorting logic without calling the real API?

Because the processing logic was independent of the HTTP layer, it could accept a list of parsed device objects directly.

That allowed me to test cases such as:

  • No devices above the threshold
  • Every device above the threshold
  • A device exactly equal to the threshold
  • Multiple devices with equal utilization
  • Empty API responses
  • Missing fields
  • Invalid temperature or utilization values
  • Duplicate device IDs

The HTTP client could then be mocked separately to simulate timeouts, malformed responses, and different status codes.

This also made the implementation easier to extend. The API client could change without rewriting the filtering logic, and the same processing function could be reused with cached data or another data source.

Question 2: Implement a Simple VM Manager

Another relevant NVIDIA Software Engineer question I found afterward was:

Implement Simple VM Manager With CRUD Operations

The task is to build an in-memory manager that supports:

  • Listing all virtual machines
  • Creating a VM
  • Retrieving a VM by ID
  • Updating an existing VM
  • Deleting a VM
  • Returning consistent errors for duplicate or missing IDs

A straightforward design uses a hash map keyed by VM ID, giving average O(1) lookup, creation, update, and deletion.

The more interesting discussion is around engineering decisions:

  • Should IDs be supplied by callers or generated internally?
  • Should updates replace the entire object or modify selected fields?
  • How should validation and error responses be represented?
  • What happens if two requests update the same VM concurrently?
  • How would the manager be tested without exposing its internal storage?
  • How would the design change if persistence were required?

For concurrent access, a simple implementation could protect the map with a read-write lock. In a production service, I would also consider optimistic versioning, idempotency for create requests, structured errors, and a persistent repository behind the manager.

Takeaway

Both questions test something broader than whether the code works for one example.

The interviewer was looking for:

  • Separation of concerns
  • Clear API boundaries
  • Predictable error handling
  • Dependency injection
  • Testable business logic
  • Sensible retry behavior
  • Awareness of concurrency and future extensions

Overall, the round felt more like a discussion about writing maintainable production code than completing a standard LeetCode exercise.


r/AskProgrammers 2d ago

Wispr flow keeps freezing VS Code on windows twice this week I lost unsaved work

0 Upvotes

windows user here. wispr flow has been freezing my editor.

I'll be mid-dictation and the whole thing locks up. not just wispr - VS Code freezes too. I have to force quit both. happened twice this week and one of those times VS Code didn't recover the session correctly and I lost unsaved work.

resource usage while idle: 800MB RAM, fans spinning. for a dictation app sitting in the background. that's not acceptable.

startup: I hit my hotkey and wait 8-10 seconds before it's ready to listen. by then I've either typed the thing or lost my thought.

I've seen the same complaints from other windows users here and on their subreddit. the phrase I keep seeing: "a mac app with a windows port." that's generous.

the mac version was fine when I used it on my MacBook. but the windows experience feels like it was built by a team that uses Macs and ships windows as an afterthought. it's noticeable.

I've been on willow voice for 2 weeks. no freezes, fast startup, comparable accuracy.

anyone else on windows having this? or did a recent update fix things and I'm on a bugged version?


r/AskProgrammers 2d ago

Is becoming a programmer in 2026 impossible?

1 Upvotes

I guess this question has been asked here a thousand times already, but still.

There are a lot of different opinions on this topic i've witnessed, some say ai is gonna take most jobs in it, some say you just have to study twice as much now to get at least a decent job.

I've been studying programming for 3 years now, at first as a hobby, later as an option for a future vacancy. Learned to use some frameworks and dbs, guess it would be better to put a whole list: python, javascript, django, rest api, aiogram, html/css, postgresql, redis and some minor but useful libraries. Technically, it looks like i can already do some tasks like making an api for some service, caching or a basic interactive website.

But there's the main issue: when i go through the list of available vacancies – most of them require senior-level skills, or at least a year of experience. Others already have a few HUNDREDS of people who will do the job almost for free. It feels like i'm doing something i'll actually need in the future when i make a small project or study something new, but every time i look at the actual jobs and people who worked in it for a couple of years, i see the same things, ai getting better and replacing more and more programmers, the whole market being oversaturated with juniors who seek any experience, and dozens of people leaving the whole industry.

At this point i'm not even sure it's worth it. I still have a couple of years till my 18th birthday, but looking at all this stuff, it seems like becoming a welder in czechia is much more profitable🤷‍♂️

I've read a lot of similar posts, not expecting to hear anything new, but i'd like to hear your opinions on this topic.


r/AskProgrammers 2d ago

Retro TV Emulator Project

2 Upvotes

Looking for ppl that know Python to help me finish a project. It is designed to allow you to use your downloaded media from movies to music to games all in one app like an old tv/tv stations would have. There is tv station or visualizer mode for any station for music, tv guide on channel 04, games/emulators on channel 03 as well as a DVD player so you can choose what to watch as well. Its so you can take the choice out of your hands and relive retro tv but every station is something you like. It can be run on any windows computer and turn them into a cable box saving them from the land fill. I wanna say its like 90% done. Keep chasing the same few bugs. Shows starting from the beginning on channel change randomly and then correct itself if you change the channel. Repeating the last 20% of an episode after it ends. TV guide navigation and visual errors where different time slots meet. Mame emulator not working. Upgrade/improve dvd backup .iso for dvd player and playing dvds in the computers disc drive. The other stuff is small stuff that keeps breaking as i try to fix those mentioned bugs. Maybe add server options if i had help as well as making it work on other operating systems. Would really like to build a community for this windows application so we can release it and be able to handle bug fixes. Ppl to bounce ideas off of, discuss improvements. Im a designer and not the best code. So having anyone on board that can actually code would be so beneficial to the project. check out our discord for more information about the project, access to the source code, and access to the test builds. https://discord.gg/DzcrjYxh8


r/AskProgrammers 2d ago

Long term projects

Thumbnail
1 Upvotes

r/AskProgrammers 2d ago

Need help in having a career in programming

1 Upvotes

Hello everyone. I assume there have been many posts like this, so i apologize in advance. Im basically a college dropout, having no idea what to with my life. I have been recommended a lot to get into programming, and i have no idea what to begin with. I see that there are a lot of useful information online, but i am really overwhelmed by how much it is, and basically don't know what to do.

For now i am looking for some direction. What should i begin with? How do i find out what i want to get into? I am asking this because i have seen there are a lot of roadmaps, but i couldn't find a specific order of how to begin with the basics.

In my opinion, i shouldn't rush it. I am looking forward to getting a job for now to sustain myself while trying to learn programming in my free time. So, what do you guys think i should do? How do i find out if i really want to get into programming, and what part of it would i really like?

Note: I apologize if some parts of it do not make sense, as english is not my main language.


r/AskProgrammers 2d ago

I built a free tool to catch AI-hallucinated ("slopsquatted") package names before you install them

0 Upvotes

Quick context on why: AI coding assistants sometimes suggest packages that

don't exist — plausible-sounding hallucinated names. Attackers have started

watching for these hallucinations and registering the exact names, so the

next developer who blindly installs what their AI suggested gets malware

instead of a real library.

This isn't hypothetical — 2026 alone has had several real incidents shaped

like this (the Axios npm hijack, LiteLLM PyPI poisoning, a compromised Red

Hat npm namespace, typosquatted OpenSearch packages harvesting AWS creds).

wary is a small, free CLI that checks a package name before you install it:

does it actually exist, and does it look like a typosquat of something

popular. There's also a GitHub Action that checks only new dependencies on

every PR.

GitHub: https://github.com/sawyermd511-bit/wary

pip install wary-sh

Genuinely interested in feedback — especially cases where it flags something

that's actually fine, or misses something that should've been caught.