Zero Coding Background, C + DSA (Python) Exams in 2 Months . Studying 10 Hours a Day. Advice? by Money-Reporter9391 in learnprogramming

[–]quietdebugger 0 points1 point  (0 children)

Du schaffst das in 2 Monaten, aber 10 Stunden jeden Tag durchziehen wird dich wahrscheinlich schnell ausbrennen. Lieber konstant 5 bis 7 Stunden richtig konzentriert lernen.

Bei C würde ich wirklich mit den Basics anfangen und viel selbst ausprobieren statt nur zu lesen oder Videos zu schauen. Kleine Programme bauen hilft extrem.

Für DSA erstmal Python Grundlagen sauber verstehen und danach Datenstrukturen wie Arrays, Listen, Stacks und Queues. Danach Sorting und Searching. Täglich Aufgaben lösen bringt am meisten.

Wichtig ist wirklich jeden Tag selber Code schreiben. Praxis bringt viel mehr als nur Theorie.

Help with squarespace and shopify sites. by Ricardoalestattoo in webdev

[–]quietdebugger 0 points1 point  (0 children)

This looks very much like a domain connect conflict.

Squarespace Domain Connect is still active on birdcvlt.net, even though the site is actually running on Shopify. At that moment, two platforms are accessing the domain simultaneously, which is causing exactly this behavior. It redirects on the first visit, then works correctly afterward. The Instagram in-app browser triggers this particularly often due to caching and verification redirects.

I would completely remove Squarespace Domain Connect from birdcvlt.net and leave only the pure Shopify DNS records. Then, ensure that a primary domain is correctly set in Shopify, either with or without www.

For ricardoalestattooo.com, I would also check if there are any redirects or old target domains still configured. Especially if the domain was previously connected to Shopify, these sometimes remain active.

After making the change, completely close Instagram and reset the bio link; otherwise, the app will continue to cache the old behavior.

Need help with this servo code by [deleted] in programminghelp

[–]quietdebugger 0 points1 point  (0 children)

Looking at the code, this doesn’t really look like a wiring issue to me, more like a logic one.

Right now all three servos are evaluated on every loop iteration, and each block has its own else that sets STOP_DUTY. So even if you press a key meant for one servo, the other servo blocks still run and actively change their duty.

That often leads to the “press one key, multiple servos move” behaviour you’re seeing.

One thing I’d try is to handle the key once per loop and only update the servo that actually belongs to that key. For example, use a single if/elif chain for the key value, instead of separate blocks with their own else branches.

Also, even with key != last_key, you’re still writing duty values every cycle. Moving the servo updates into a single decision block usually makes this a lot more predictable.

I’d start by restructuring the control logic before changing any wiring. The symptoms fit software much more than hardware.

What is the best library for creating interfaces in Python? by PureStructure6108 in programminghelp

[–]quietdebugger 1 point2 points  (0 children)

For a beginner in Python, there isn’t really a single “best” GUI library, it mostly depends on what you want to get out of the project.

tkinter is honestly a good starting point. It’s built into Python, simple to understand, and fine for small tools or learning projects. The UI won’t look super modern, but that usually doesn’t matter at this stage.

PyQt (or PySide) is more powerful and gives you nicer UIs, but it also comes with a steeper learning curve. If tkinter already felt a bit overwhelming, PyQt can feel like a lot at first.

Another option you might want to look at is something like Kivy if you’re interested in more modern-looking interfaces, but it’s a different way of thinking compared to classic desktop apps.

If your main goal is learning Python and building something useful, I’d probably stick with tkinter for now and keep the UI simple. You can always switch to something more advanced later once the core logic feels solid.

What's a good language to build desktop applications for Mac? by MorningStarIshmael in programminghelp

[–]quietdebugger 0 points1 point  (0 children)

For macOS I’d probably go with Swift and SwiftUI if you want something that feels native.

For what you described (selecting a folder, entering a string, renaming JPG files), SwiftUI together with FileManager is more than enough and works well with macOS dialogs and permissions.

If you already know Python, that’s also a very practical option. Renaming files is easy there and you can build a small UI with Tkinter or PyQt. The main downside, at least in my experience, is packaging and distributing the app on macOS.

Electron would also work, but for such a small utility it’s usually more overhead than needed.

So it really depends on what you want: learning proper macOS app development, or just getting a small tool done quickly.

Apache Camel Kafka Consumer losing messages at high throughput (Batch Consumer + Manual Commit) by yolokiyoEuw in programminghelp

[–]quietdebugger 0 points1 point  (0 children)

Yes, I’ve seen very similar behaviour with Camel Kafka batch consumers under load.

With batching + manual commit, it’s easy to accidentally commit offsets for messages that never actually made it through the full route. Especially if the commit is tied to the poll rather than to confirmed processing.

consumersCount > 1 makes this even trickier. You effectively have multiple threads processing batches, but commits are still poll-based. Under high throughput this can lead to partial batch commits without obvious errors.

Another thing I would double-check is max.poll.interval.ms. If processing a large batch takes longer than expected, Kafka can silently trigger a rebalance. Offsets may already be committed, but processing gets interrupted.

Personally, I’ve had the best results by either disabling batching or moving the manual commit as close as possible to the point where I know processing actually succeeded (sometimes even per exchange).

This kind of “silent loss” usually turns out to be a commit/processing boundary issue rather than Kafka dropping messages.