r/AskProgrammers • • 45m ago

Looking for some people to answer a few questions

2 Upvotes

Hey i’m a freshman computer science student looking for a professionals in the field to answer some questions for me!

1.How did you first get into this field
2.What are the biggest challenges you faced after landing your first job in the field.
3.What does a typical work day look like for you
4.What’s the most rewarding part of the job?
5.Do you think grad school is worth it in this field if so why or why not?
6.What’s the most surprising thing you’ve learned while on the job?
7.What experiences helped you further your career?
8.If you were in my position right now what would you do for the next three years of Uni?

Thanks for taking the time to read this even if you don’t respond!


r/AskProgrammers • • 3h ago

Hello! I'd like some help on the topic of ai usage in programming

3 Upvotes

Hello! I'd like some help on the topic of ai usage in programming.

Hi! So, recently I've been getting into programming (Specifically video games) and I have been noticing SOME people using ai. Considering working out bugs and such can be an annoying and difficult task, I was thinking about using ai for my project, but first I wanted to consult this subreddit to see where most programmers draw the line or if ai usage is completely off the table.

Talking thoroughly about ai usage in programming, I would like to first state my personal opinions and what I think is okay. (Feel free to challenge my propositions or argue against them) Generally, I believe that ai usage stops for me at creative processes, but using ai for general problems is alright because ai is essentially just glorified google search. So Art, Music, Film, Storytelling, etc. I do not support, but using it for research purposes (Quickly gathering information, finding a quick answer to a problem) is okay.

The thing is, when it comes to coding, I usually use Google, forums, youtube tutorials and many other resources to achieve the results I want. Since Ai is basically a search engine with superpowers, I think that using it to work out bugs, learn new programming vocabulary and for finding models/animations/textures/etc. online is fine. I stop using ai when it comes to sound design, custom textures, models, or animations. If I'm getting those off of online, it's fine because those are still human made resources, but generating those resources specifically with ai is a no no.

Now, I'd like to get everyone's input on this topic. Where do you draw the line? Is there a gray area? Is ai secretly British? (jk on that one) I'd just like input from other, more experienced programmers than I. Please feel free to express your thoughts, and please keep things respectful if you don't mind. Thank you so much!


r/AskProgrammers • • 11m ago

advice

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 4h ago

Suggestions on "where to begin" for a kid

2 Upvotes

Hello Programmers of Reddit!

My son has expressed an interest in gaming design and his father and I are interested in supporting his dream. Does anyone have any suggestions on groups of clubs that could help him to learn these skills? Preferably something online so that he can do it at either of our houses. Also something that is group or instructor-led. Neither his father or I have any experience with this field and wouldn't be able to help him with figuring it out so I hesitate to plop him down with a book and expect that he would know how to put it all together. He's 11 right now. I've found some options through google but if anyone has any experience they can offer it would be much appreciated. Thank you!


r/AskProgrammers • • 25m ago

DSA Journey – Day 4: Arrays Deep Dive | Two Pointers, Prefix Sum & Problem-Solving Techniques

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 1h ago

Tired of tracking problems manually, so I built a one-click tracker. Not launched yet and I want honest feedback

1 Upvotes

Whenever I solve problems, I want to revisit the hard ones later. But saving them is a hassle. I copy the question somewhere, write down the concepts, and screenshot YouTube tutorials with the snipping tool. After a week I stop doing it, and I never look at the notes anyway.

So I built a Chrome extension that makes it one click:

  1. Press a hotkey and drag a box around any question on any page, whether it's a website, PDF, YouTube frame or Google Doc.
  2. Tap Solved or Not solved. That's all you have to do.
  3. AI reads the screenshot, transcribes the problem, figures out which concepts it involves, and saves everything.

It isn't tied to one site. Anything you can see in the browser works, and it isn't limited to coding. Math, physics and any other subject should work too.

Right now it does:

  • Snip-and-save from any page
  • Solved / Not solved marking
  • AI transcription of the problem (so it's searchable)
  • Automatic concept tagging
  • A library you can filter by concept and status

Planned:

  • A revision queue that brings your unsolved problems back on a spaced schedule
  • A practice mode that hides the hint or answer until you've tried again
  • Duplicate detection when you capture the same problem twice
  • Concept stats, like "Probability: 12 solved, 7 stuck"
  • YouTube capture with the timestamp and a transcript snippet
  • Export to Markdown, Obsidian and Notion
  • A mobile version for people who practice on a phone

It's not a solver like Photomath or Gauth. It doesn't give you answers. It helps you remember and revise what you've worked on.

I'd like your honest opinions on a few things:

  1. Do you track your practice problems today? How, and what's annoying about it?
  2. Would you use this? What's missing?
  3. Would you pay for it? Each capture costs me an AI call, so I can't make it unlimited and free. I'm thinking of a free tier of about 30 captures a month and a Pro plan of roughly $3–5 a month (or a one-time price) for unlimited captures, sync and revision features. Does that sound fair, too high, or something you'd never pay for? Saying "I'd never pay" is useful to hear.

If you'd like early access when it launches, comment or DM me. I'll post a demo GIF in the comments soon.


r/AskProgrammers • • 4h ago

Design a database for folder heirarchy.

0 Upvotes

I am building a cloud storage application in which we can store data in a folder hierarchy.

But struggling to design a database schema to store the folders.
I am using Adjacency list approach in which I store folder id and its parent id in a row so that I can fetch all the child nodes of a folder easily with simple query.
But the problem arises when I wants to delete a folder in that case I would have to first get all the children throughout the hierarchy and delete them all which will be pretty bas in a really big folder structure. It will be hard to share the folder with others.
Any suggestion ?


r/AskProgrammers • • 6h ago

How should Android WebView and OkHttp share browser sessions reliably?

0 Upvotes

I'm developing a native Android manga reader in Kotlin, and I'm investigating a session-management problem involving Cloudflare-protected websites.

I examined my current implementation and found that it uses both Android WebView and OkHttp:

- WebView has JavaScript and DOM storage enabled, and accepts first-party and third-party cookies.

- Cookies are retrieved through Android's CookieManager and manually attached to outgoing OkHttp requests.

- CookieManager.flush() is called after certain WebView operations.

- For one source, a Turnstile token is also retrieved through WebView and sent separately in an HTTP request header.

- When a request reports that browser verification is required, the application waits for the user to complete verification and then retries the operation.

Here is a simplified excerpt illustrating the cookie-sharing approach used in my implementation:

val cookieManager = CookieManager.getInstance()

// Read cookies stored by Android WebView

val cookies = cookieManager.getCookie(url).orEmpty()

val request = Request.Builder()

.url(url)

.apply {

if (cookies.isNotBlank()) {

header("Cookie", cookies)

}

}

.build()

client.newCall(request).execute().use { response ->

// Handle response

}

WebView initialization also includes:

val cookieManager = CookieManager.getInstance()

cookieManager.setAcceptCookie(true)

cookieManager.setAcceptThirdPartyCookies(webView, true)

Despite these mechanisms, verification is not consistently maintained. A website may work in an external browser, while requests from the application still receive a Cloudflare challenge. In some cases, verification succeeds but the challenge appears again when opening a chapter or requesting its images.

I'd like advice from developers experienced with Android networking and WebView:

  1. Is manually copying cookies from CookieManager into OkHttp requests a reliable approach, or are there important session details it does not preserve?
  2. How should cookie updates and expiration be synchronized between WebView and an HTTP client?
  3. Can differences in User-Agent, TLS fingerprints, request headers, or browser context cause a verified session to be rejected?
  4. Would maintaining a persistent WebView session be preferable to creating separate WebView instances for different operations?
  5. How can developers distinguish a session synchronization problem from Cloudflare rejecting an otherwise valid request?
  6. Are there architectural limitations that cannot be solved reliably at the application level?

I'm particularly interested in practical Android/Kotlin examples, established architectural patterns, and open-source implementations.

I'm not trying to bypass CAPTCHA or defeat anti-bot protections. The goal is to handle legitimate user verification and browser session state correctly.

Any technical explanations or references would be greatly appreciated.


r/AskProgrammers • • 6h ago

Deployment help

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 9h ago

Self-taught coders of Reddit, how did you start making money without a degree?

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 9h ago

Need advice from developers

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 10h ago

Im pursuing my CS degree, I've been looking into networking and cybersecurity, as they seem like more achievable careers to obtain. Would working a help desk job help me funnel into those positions in IT? Should I be looking to get internships instead?

1 Upvotes

r/AskProgrammers • • 10h ago

Programming homework

Post image
0 Upvotes

r/AskProgrammers • • 10h ago

How to find hackathons?

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 14h ago

Haven't written code myself in 2 years. Now I'm scared of interviews

Thumbnail reddit.com
2 Upvotes

r/AskProgrammers • • 10h ago

How to learn Java in 2027: a simple roadmap from zero to job-ready

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 15h ago

Fundamentals of System Design(400+ Lessons): Starting with what happens when you tap "Order"

Thumbnail gallery
2 Upvotes

You tap Order on a food delivery app and in about a third of a second it says confirmed.

A lot happens in that gap. DNS finds the address, a load balancer picks one server out of maybe forty, a gateway checks who you are, your code works out the bill, and the menu comes from a cache so the database only has to save your order. The receipt email and the ping to the driver sit in a queue and go out a few seconds later, when you're not even looking at the screen anymore.
⠀
And if one of those forty servers died two minutes ago, you'd never know.
⠀
The funny part is that only one step in all of this is the actual app. Everything else is there to keep it fast and keep it running.
⠀
That's pretty much what system design is, and it's how the first lesson of our Fundamentals of System Design course on CodePeet starts. 400+ lessons, beginning with that one tap and going through networking, load balancing, APIs, caching and the rest.
⠀
If you want to learn it properly, start to finish, it's all here:


r/AskProgrammers • • 13h ago

How do i learn abt programming if i'am a super duper begineer

0 Upvotes

Today, I started making an app with AI, of course, because I'm pretty clueless about programming and all that stuff.

But then I realized that relying on AI might not help me in situations where I can't use it for some reason.

That's why I want to learn programming from the ground up, step by step. I'd really appreciate it if you could share some advice, tips, resources, or anything else that might help me get started.

Thanks!

(I don't have computer/laptop btw)


r/AskProgrammers • • 14h ago

Hey, new to competitive programming can any one guide how to start and become good and how much maths is required.

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 14h ago

Looking for Free Alternatives to Email, SMS, and WhatsApp OTP Authentication.

Thumbnail reddit.com
1 Upvotes

r/AskProgrammers • • 5h ago

Do We Still Need to Learn Programming in the Age of AI?

0 Upvotes

In my opinion, the better you understand how to interact with AI, the better results you can achieve.

For example, a mechanical engineer can use AI to solve mechanical engineering problems more efficiently than someone without that background.

The same applies to software development. If you have stronger programming skills, you can use AI more effectively than someone with little or no programming knowledge.

So, at the end of the day, you still need to know how to program.

What do you guys think?


r/AskProgrammers • • 1d ago

To all the programmers out here. It’s the end of a beautiful epoch.

Post image
7 Upvotes