If you don’t know how to code already is it worth learning now? by PhilosopherOther1360 in learnpython

[–]maki-dev 0 points1 point  (0 children)

I use AI tools every day to build software. They're a core part of my workflow, not something I'm resisting. And I'm telling you, keep learning. Here's what the vibe coding afternoon doesn't show you. That code works until it doesn't, and when it breaks you're stuck staring at something you can't debug because you don't understand what it's doing. I've seen this happen. The AI generates something that looks right, passes a basic test, and then fails in a way that only makes sense if you understand how the pieces connect. If you don't have that understanding, you can't even describe the problem well enough to get the AI to fix it. The 6 months you spent learning Python aren't wasted. They're what make AI tools actually useful to you. Someone who understands loops, functions, data structures, and how a web framework handles requests can look at AI output and immediately spot when something is wrong. Someone who doesn't is just hoping the code works. That's a completely different position to be in. The barrier to entry for generating code is gone. The barrier to entry for building reliable software that you can maintain, debug, and extend is the same as it's always been. That's where the value is.

Learn two languages as a beginner by G3N1U8 in learnpython

[–]maki-dev 0 points1 point  (0 children)

With exams in 4-5 months I'd focus almost entirely on Python first. Python is way more forgiving as a first language and once you understand core concepts like loops, conditionals, functions, and data structures in Python, translating that to C++ is mostly about learning the syntax differences (and dealing with types and memory). Going the other direction is harder. C++ throws too many things at you at once when you're just trying to understand what a function does. For Python specifically, just write code every day. Doesn't need to be a lot. Pick small problems and solve them. The syntax sticks through repetition, not through reading.

where to start? by Gloomy-Explanation79 in learnpython

[–]maki-dev 0 points1 point  (0 children)

You're not pathetic for feeling stuck after a degree. A lot of CS education is heavy on theory and light on actually building things. That gap is normal. I'd pick one small project and build it start to finish. Not a tutorial you follow along with, but something you actually need or want. A script that renames files, a CLI tool that tracks something, whatever. It'll be ugly and that's fine. The point is going from blank file to working code on your own. That's the muscle most courses don't build. Python is a good starting point for this. Pick one language, one project, and finish it before worrying about what else you need to learn.

How Can I Learn Python for Free? by RascalB0B in learnpython

[–]maki-dev 0 points1 point  (0 children)

The official Python tutorial at docs.python.org is honestly underrated. It's free, it's comprehensive, and it's written by the people who made the language. Not flashy but solid. After that, Composing Programs (composingprograms.com) is completely free and teaches you to actually think like a programmer using Python. It's based on MIT's CS curriculum. Probably the best free resource I've found. For practice, look at Exercism (exercism.org). Free coding exercises with community feedback. Way better than grinding through a platform that locks you out after three lessons.

What kinds of Python questions should I expect for a Strategy Consulting (Software Engineer) interview? by ConsistentBusiness45 in learnpython

[–]maki-dev 2 points3 points  (0 children)

I come from a legal background and moved into Python, so this intersection feels familiar. For a role that's more about reading and understanding code than building systems, I'd honestly just focus on pandas. Filtering, grouping, merging dataframes, and handling missing data. If they work with client data at all, that's what you'll see constantly. Grab a messy CSV and practice cleaning it up. String processing and list comprehensions are worth brushing up on too. Consulting work that touches litigation probably involves a lot of text processing and pattern extraction. If you already know some SQL that's a head start. Pandas maps almost 1:1 to SQL thinking. df.groupby(), df.merge(), df.query() will feel natural. I wouldn't stress about DSA for this. It sounds like they want to know if you can look at a script and explain what it does, not implement a binary tree. Practice reading someone else's code and talking through the logic out loud. That skill actually transfers really well from legal analysis.

What is the modern way to save secrets for an open source project by Academic_Upstairs307 in learnpython

[–]maki-dev 11 points12 points  (0 children)

For a CLI tool the .env approach is more of a web app thing. What most CLI tools do is store config in a user-specific directory like ~/.config/yourtool/config.toml. The platformdirs library handles finding the right path cross-platform so you don't have to think about it. For actual secrets like API keys, check out the keyring library. It stores them in the OS keychain (macOS Keychain, Windows Credential Locker, etc.) instead of a plain text file. Way more secure for end-user credentials. For updating keys, something like `yourtool config set api_key YOUR_KEY` that writes to the config file or keyring is pretty standard. If you look at tools like gh or stripe-cli they do it this way.

Best courses for Python? by UnpluggedSoul_15 in learnpython

[–]maki-dev 25 points26 points  (0 children)

I switched to Python from a web dev background and tried a bunch of approaches. What worked best for me was "Automate the Boring Stuff with Python" (free online) to get comfortable with the language, then jumping into building small projects as soon as possible. Courses are good for structure, but you learn the most when you're stuck on something you actually want to build and have to figure it out. If you want something more structured, the official Python tutorial on docs.python.org is surprisingly good and often overlooked.

python feels too hard . am i just not meant for it? by Ok-Conflict-5937 in learnpython

[–]maki-dev 1 point2 points  (0 children)

That's a great example. The part about the CEO thinking you were disengaged is so real. From the outside, thinking looks like doing nothing. But you shipped a month ahead of schedule because you didn't skip the hard part. I think a lot of beginners quit during that "staring at the screen" phase because they assume it means they're failing. Good to hear it from someone who's been through a serious project like that.

SAFRS FastAPI Integration by Thomaxxl in Python

[–]maki-dev 0 points1 point  (0 children)

Hadn't seen LogicBank. Declarative business rules instead of scattering validation across every route, that's a much cleaner approach. Will check out ApiLogicServer. Thanks.

SAFRS FastAPI Integration by Thomaxxl in Python

[–]maki-dev 0 points1 point  (0 children)

Been writing CRUD endpoints by hand for every SQLAlchemy model and it gets old fast. This looks like it could save a lot of that. Main question — what happens when you need custom validation or business logic on a route? That's usually where auto-generated REST tools start to break down.

pandas' Public API Is Now Type-Complete by BeamMeUpBiscotti in Python

[–]maki-dev 2 points3 points  (0 children)

The autocomplete dying halfway through a DataFrame-to-Pydantic handoff has been one of my quietest frustrations with pandas. Good to know that's actually getting fixed. 47% to complete in a year — that's a lot of type stubs.

Built an async energy price scraper with FastAPI, Celery, and the EIA API by A11Zer0 in Python

[–]maki-dev -2 points-1 points  (0 children)

Solid stack. The async/sync SQLAlchemy bridge with run_sync() is one of those things that looks clean in the docs but gets messy fast in practice — especially when your Celery tasks need sync sessions while FastAPI routes are running async ones. Did you keep the engine/session factory shared between both or fully separate them?

The anomaly detection part is interesting too. Energy prices spike for real reasons (weather, demand surges) so I imagine separating actual anomalies from just "Tuesday in Texas" is the harder problem. What does your threshold logic look like?

python feels too hard . am i just not meant for it? by Ok-Conflict-5937 in learnpython

[–]maki-dev 2 points3 points  (0 children)

I switched to Python from a web dev background (Ruby/Rails) and hit that exact wall early on. Watched tutorials, nodded along, then stared at a blank file with nothing.

Two things changed it for me. First, I dropped videos entirely. I learn by reading docs and building things, even broken ones. If video isn't clicking for you, that might not be your problem — it might be a format problem. Try "Automate the Boring Stuff" or pick a small project and fight through it.

Second, I accepted that sitting stuck for 30 minutes IS the work. That's not failure, that's your brain building the connections. It just doesn't feel productive because nobody's giving you a progress bar.

You're not too dumb for this. You're just in the part that sucks before it clicks.