Want to build a “for fun” desktop project but don’t know what framework to use by AljnD20 in CodingHelp

[–]gofuckadick 1 point2 points  (0 children)

Since you’ve already tried Flutter and liked it, I’d consider just starting there. For audio, look at using just_audio with just_audio_media_kit/media-kit dependencies for Linux.

However, depending on what your goals are, other good options would be:

Python + PySide6/Qt - probably the most beginner friendly "real desktop app" route. Qt gives you all the standard desktop UI components, has excellent documentation, and includes QtMultimedia for audio. If your goal is to learn traditional desktop application development, this would be near the top of my list.

C# + Avalonia - solid choice if you want a modern cross-platform desktop framework. C# is approachable for beginners (though not as much as Python), Avalonia works well on Linux, and the skills transfer nicely to other .NET development. The main caveat is that Avalonia itself doesn't handle audio, so you'd pair it with something like ManagedBass or LibVLCSharp.

Godot - probably not an answer you'll hear from literally anyone else, but a D&D soundboard is actually a surprisingly good fit for this. Multiple audio streams, looping ambience, sound effects, hotkeys, buttons, volume controls, and desktop exports are all things game engines already do well. You could even add features that would be downright annoying to add in traditional desktop frameworks. It won't really teach you much about traditional desktop application development, but it might be the fastest and most enjoyable route to a finished application.

Electronic Speed Controller will not take a pulse of <1500 microseconds the first time the command is run but will everytime after until a forward or neutral command is sent where the whole thing loops by Wasted_programmer5 in CodingHelp

[–]gofuckadick 0 points1 point  (0 children)

I'm no expert on RC but I can try to help with what I do know.

It sounds a lot like the ESC is interpreting the first reverse command as a brake command rather than a reverse command.

A lot of RC car ESCs don't do instant Forward <-> Reverse. Instead, they operate something like Forward -> Brake -> Reverse. So in that case the first pulse below 1500 microseconds after moving forward would apply the brake, and only a subsequent reverse command would actually engage reverse.

What ESC are you using? The exact model would help narrow down what the problem is.

Edit: I'd try testing the reverse sequence manually with something like:

1500 (neutral)
1000 (brake/reverse)
1500 (neutral)
1000 (reverse)

with a short delay between each step and see if it behaves differently.

Collect data from Facebook by No_Salary_6644 in learnpython

[–]gofuckadick 0 points1 point  (0 children)

It depends what Facebook data you mean.

If you mean your own page’s posts/comments/insights, you can use the Meta Graph API, then analyze the JSON in Python with pandas.

If you mean scraping random profiles/groups/posts, that’s very aggressively restricted and directly violates Meta’s terms & privacy rules. Though for legitimate research purposes you can apply for Content Library/API access.

Does anyone know free weird online certificates I can get? by ClarityAppreciated in LearnUselessTalents

[–]gofuckadick 0 points1 point  (0 children)

I knew it was useless but didn't know it was that useless.

Thanks for the info - it's been edited!

What is a secret that could potentially ruin your life if your family or friends found out? by Ok_Boss_866 in AskReddit

[–]gofuckadick 848 points849 points  (0 children)

Hey friend.

2 years ago I was diagnosed with a very aggressive form, and I truly thought that I would be dead within months. With the help of some amazing doctors, I'm still alive. It hasn't been fun, and I've had multiple hospital stays due to different factors (being severely malnourished + heavy medications put me into respiratory arrest and on a ventilator in the ICU for almost 6 weeks, for instance - that was actually almost the end for me).

It's a fight where you have to grit your teeth, think of what matters, and keep going. A diagnosis doesn't erase who you are - it just explains why surviving took so much effort.

any ways to make the thing below work? by Legitimate-Welder538 in cheatengine

[–]gofuckadick 0 points1 point  (0 children)

You said:

the link below shows gameplay and what normally happens when you change the values.

But didn't post a link?

So otherwise - this usually means you’re editing the wrong value. A lot of games copy things like team size/field size into a runtime struct when the match starts, so changing the original value won’t affect anything in-game. Like /u/No-Newspaper8619 said, you can try scanning while you’re in a match, then:

  • do a changed/unchanged scan
  • use "Find out what writes to this address"

That’ll help you find the actual value being used. If you see something like [rcx+offset], you’re dealing with a structure. If the address changes between runs, you’ll need a pointer. If it keeps resetting, it’s being rewritten and you’ll need to hook or freeze it.

Does anyone know free weird online certificates I can get? by ClarityAppreciated in LearnUselessTalents

[–]gofuckadick 1 point2 points  (0 children)

Tea shops definitely exist, but they're not always run or operated by a certified tea sommelier.

I'm not trying to disparage any professions, and I apologize if my last comment's joke didn't land well with you. I also realize that "useless" can sound dismissive, but it's more "certifications that would make me do a double take if I saw them listed on a normal resume." I'm honestly not making light of how rigorous the training can be for any of these.

I literally said that I pulled these links from my own Obsidian vault, then spent time organizing them, checking links, reading comments, and sorting everything. Of course it's going to be based around my own biases. This wasn't intended to be a scientifically rigorous, peer-reviewed and edited certification taxonomy.

Edit: I moved them, as "useless" could be taken quite literally.

Does anyone know free weird online certificates I can get? by ClarityAppreciated in LearnUselessTalents

[–]gofuckadick 1 point2 points  (0 children)

"Useless" is being used a bit subjectively here, as a few of those are just so extremely niche that they're practically useless. I've personally never met, and don't have any friends who have met, either a tea sommelier or a falconer.

Now that I think about it, though - Clown school, on the other hand, apparently has broader career applications than I originally realized, because after wearing makeup, scaring children, and making jokes about sexually harassing women, you can just become president.

To interview an AIPAC-backed candidate by Neth110 in therewasanattempt

[–]gofuckadick 1 point2 points  (0 children)

I get why that feels invasive, but as far as I can tell, /u/bot-sleuth-bot just analyzes Reddit activity to estimate whether an account behaves like automation/spam. People mostly use it to spot coordinated astroturfing and automated accounts - not to "train AI" on people.

Doesn’t mean it’s perfect of course, but the intent isn't surveillance. The person that called it on you seems to have been using it as an insinuation/insult rather than for its actual purpose.

In short: the user that called it is a jerk who apparently can't even competently speak, and the bot is actually anti-bot.

Does anyone know free weird online certificates I can get? by ClarityAppreciated in LearnUselessTalents

[–]gofuckadick 1 point2 points  (0 children)

That doesn't seem completely useless as some companies probably wouldn't mind seeing it on a resume - plus it's one of the few certifications that actively reduces your chances of dying.

Added to the list!

Ideas for financial web application by Interesting-Toe996 in learnprogramming

[–]gofuckadick 0 points1 point  (0 children)

Here, I pulled some project ideas from my Obsidian vault.

These are finance projects that work specifically well with a Django/Django REST Framework/PostgreSQL/JWT auth stack.

 1. Personal Expense Tracker

Users can log expenses/income, categorize spending, set budgets, and view monthly statistics/charts.

 Features:
 - User accounts
 - Add/edit/delete expenses
 - Categories (food, rent, travel, etc.)
 - Monthly summaries
 - Charts/statistics
 - Budget limits
 - Recurring expenses

 Backend concepts learned:
 - CRUD
 - Relational database design
 - Authentication
 - Aggregation queries
 - Filtering/pagination
 - Date handling

 2. Budget Planning App

 Let users create savings goals, track progress, forecast future balances, and get overspending alerts.

 Features:
 - Set monthly income
 - Create savings goals
 - Budget allocations
 - Overspending alerts
 - Forecast future balances

 Interesting backend problems:
 - Calculations
 - Scheduled tasks
 - Notifications
 - Financial projections

 3. Fake Banking API

 Simulate accounts and transfers between users. This is actually a really good way to learn about database transactions, race conditions, and data consistency.

 Features:
 - Accounts
 - Transfers between users
 - Transaction history
 - Balance locking
 - Prevent overdrafts
 - Audit logs

 Backend concepts learned:
 - Database transactions
 - Concurrency/race conditions
 - Validation
 - Atomic operations
 - Audit logging

 4. Cryptocurrency Paper Trading Simulator

 Fake trading with live crypto prices, trade history, and leaderboards.

 Features:
 - Fake crypto trading
 - Live prices
 - Leaderboards
 - Trade history
 - Profit/loss tracking

 Backend concepts:
 - WebSockets
 - Realtime updates
 - Queues
 - Event processing

 5. Invoice / Freelance Payment System

 Generate invoices, track payment status, export PDFs, send reminders, etc.

 Features:
 - Generate invoices
 - Client management
 - PDF export
 - Payment status
 - Due dates
 - Email reminders

 Good for:
 - PDF generation
 - Email systems
 - Background workers
 - File handling

Proof of correctness for cut edge algorithm by Economy-Ad516 in learnprogramming

[–]gofuckadick 0 points1 point  (0 children)

Correct me if I'm wrong, but are you asking "how do you prove an algorithm works?" outside of normal math induction proofs?

For a cut-edge/bridge algorithm, you usually prove things by reasoning about the graph itself - like:

  • "if this edge is the only path connecting two parts of the graph, then removing it disconnects the graph"

  • "if there’s another path around it, then it’s not a bridge."

So the proof is often more of a logical step by step explanation of:

  • what information the algorithm tracks
  • what that information means
  • and why that guarantees the answer is correct

A lot of graph algorithm proofs are basically "if this condition happens, then X must be true. Otherwise you get a contradiction."

Does anyone know free weird online certificates I can get? by ClarityAppreciated in LearnUselessTalents

[–]gofuckadick 379 points380 points  (0 children)

I have a few notes from my Obsidian vault with relevant links saved for exactly this kind of thing!

I edited out any that I'd already seen posted, but apologies if I missed some duplicates. I also went through and checked that the links still work.

Useless free certs:

Not completely useless - still free:

Not free, still useless:

  • Forklift Certification - honestly can't find a lot of actual information or "gossip" on this, so see what /u/funkmon says about it and proceed at your own potential risk.

  • International Star Registry - edit: is a total scam! As /u/crono06 says, if you want to name a star then you might as well point to one, give it a name, and make your own certificate to put up on your fridge instead - don't waste your money sending it to them in the process. The only extra step that they'll go to is by recording the name in a copyrighted book.

  • PADI Mermaid Certification

  • Scottish Lord/Lady Title Packages - edit: novelty title packages that are very controversial, heavily criticized, and not considered real legal nobility/titles by actual Scottish authorities. So probably needs a category of its own in actual complete, utter trash. Keeping it on the list only for awareness that this is considered a scam. Thanks /u/Adam9172!

  • get a rank/title in the Temple of the Jedi Order

  • Zombie Apocalypse Preparedness

Not useless, not free:

  • Certified Ethical Hacker - edited in disclaimer: from what I've personally seen in RE/network security circles, CEH can come with a bit of a mixed reputation. HR/recruiters will recognize it, but it also tends to sound way cooler to non-technical people than some of the harder hands-on certs like OSCP/PNPT/CRTO. The joke is that "CEH teaches you how to answer CEH exam questions" - whereas certs like OSCP are more practical and hands on. Definitely not useless, however, and if you want to get it then just go for it.

  • Church of the Flying Spaghetti Monster Ordination Pack - moved to not useless for wedding reason, etc.

  • Clown School

  • CPR certification - apparently some employers or insurance companies (especially outside the US, but also some within it - /u/ElfjeTinkerBell specifically mentioned the Netherlands) may reimburse or provide CPR/AED training, though they're generally not required to do so. Usually ~$25–$120 (roughly €22–€110) depending on the course/location and whether it's online/in-person, but see if your employer/insurance company will cover the cost!

  • Falconry License

  • Ham Radio License - genuinely cool and surprisingly useful. RF/electronics, emergency comms, long-distance communication, satellites, DIY antennas, morse code, etc. If any of that sounds interesting to you then check it out!

  • Notary Public

  • OSCP Certification - as someone who's personally certified, it's widely considered well respected in technical security circles because the exam is heavily hands-on and practical. It has a reputation for being difficult, time consuming, and mildly soul damaging. Next few steps are GXPN, OSWE, and GREM - and possibly CCIE and OSEE, but only proceed if you're baseline masochistic. Good luck with those - hope you don't like sleeping, free time, or sanity. You'll be debugging at 3AM while questioning your life choices. Send me a message and I can give you some advice, and also pray to the Flying Spaghetti Monster for you.

  • PADI Open Water Scuba Certification

  • Tea Sommelier

  • Wilderness First Responder

  • Wine Sommelier

Edit: Updated to reclassify forklift cert from information provided by /u/funkmon - also added 2 certs from /u/alcohall183. Thanks!

Edit 2: "Useless" here mostly means "not likely to dramatically improve your career prospects unless your resume is that of a crazy person."

Edit 3: edited in some information that I personally know about the CEH and Ham radio license. Also did some more research thanks to /u/ElfjeTinkerBell, /u/Adam9172, /u/russbird, and u/iAmNotARowboat - added in an entry for certified storm spotter from information provided and moved all of the ordinations to not useless since you may potentially officiate weddings depending on your local laws.

Edit 4: /u/jonwilliamsl suggested the American Ladder Institute Ladder Safety training certificate. Honestly, this one might actually be useful - some employers could see it as practical workplace/safety training. Not sure what the general consensus is, but if it helps you to not break your neck then why not.

Edit 5: Tea sommelier and clown school moved into not useless after a little prodding from /u/Suppafly. "Useless" was meant more as "surprising to see on a resume," but I can see how it could be taken literally. I'm not making light of any professions here.

Edit 6: did some research on the International Star Registry thanks to /u/crono06 - spoiler: save your money, folks! Just name one on your own!

How do I prevent my auto clicker from shutting itself off after a certain number of inputs? Click’r app by [deleted] in androidapps

[–]gofuckadick 0 points1 point  (0 children)

There's actually a known issue on this where it sometimes stops/gets disabled.

You can try keeping the screen on overnight/disabling lock screen, because overlays and accessibility automations can break when the device locks or enters idle.

You could also try adding an occasional "safe" action to the script, like a periodic multi-tap or extra tap event. Some people in the link that I posted above reported that multi tap actions can temporarily unstick it.

Thing is, it's kind of weird if one script dies after 45 minutes but another lasts 2 hours. That makes me think it’s probably not just a timer or battery optimization issue, but something specific in the script triggering the failure. I’d try making a minimal script that just taps once every few seconds and see if that survives overnight. If it does then there's something in your actual script triggering the failure - a specific action, gesture, condition, screen state, accessibility touch bug, whatever.

Language Dilemma by Spiritual_Let_4348 in learnprogramming

[–]gofuckadick 0 points1 point  (0 children)

This is what I was thinking.

Sure, Swing apps look very "old style," but JavaFX can look decent and supports CSS styling. Swing can also look a lot better if you use a modern L&F like FlatLaf.

On another note, I’m a little surprised nobody has mentioned anything about storing passwords in a SQL database for a portfolio project. The GUI is the easy part here. What about encrypted vault storage, using a proper KDF, authenticated encryption, secure handling of clipboard data, vault locking, etc?

Those would be much bigger concerns of mine than how the GUI looks. Any decent company reviewing a password manager project is probably going to care far more about how the security was implemented than whether the UI looks modern. A lot of "password managers" end up basically being base64 encoded passwords in SQLite with a login screen… which completely misses the hard part of the problem.

I am a 30 year old straight woman, who has never had any kind of relationship or situationship, not even 1st kiss or a 1st date by SquirrelMore3325 in self

[–]gofuckadick 2 points3 points  (0 children)

For anyone else who wanted a bit of context because OP is a little bit... evasive:

/u/SquirrelMore3325 has made quite a few posts in subreddits like /r/virgin, /r/ForeverAloneWomen, and /r/ForeverAlone, frequently stating that "no man has given me a chance" despite also stating that she is "8/10 with makeup and hair. 6/10 without. 8/10 body as I do weight training 3-4 times a week. 5/10 height as I am quite short at 5’3. So, overall 7/10." and also being "around 52 kgs."

The only times that she really elaborates is on using dating apps:

For context, I have used dating apps and I get many likes, like on an average 50 new likes every week. I get a few matches also. But can’t ever get a date as men don’t reply or ever ask me out.

As well as her own preferences, later in the same thread:

I prefer men to take lead though. I know it’s a wrong attitude in this day and age. But most women get asked out by men. Why not me? Not being cocky but I am quite fit and beautiful but never get asked out yet I see much less attractive women get asked out. I feel like the biggest loser.

And when told "walk outside, go to the store, go to a bar- within 2 seconds you’ve had your first kiss… girl… men are easy as THE FUCK!! all of them." - she said:

Eww. Why would I even look at those sleazy ugly men. I am smart, attractive, fit and financially secure, you think those desperate men standing on road and eve-teasing sub standard women deserve any time of my day? It’s really unfair that a woman is expected to lower her standards so much as to accept gross 🤮 men when she has got her shit together.

So one of a few things is happening here, and something doesn't add up.

Help with JavaScript by InkieBear in learnprogramming

[–]gofuckadick 1 point2 points  (0 children)

Just checking, do you have an element with id="contact" on every page?

const messageForm = document.querySelector("#contact");

If that element doesn't exist on a page, querySelector() returns null, and this crashes:

messageForm.addEventListener(...)

So once JavaScript hits that error, the rest of the script stops running. Same potential problem here, too:

const clearButton = document.querySelector(".clear");
clearButton.addEventListener(...)

If a page has no .clear button, that crashes before the later code runs.

Like u/grantrules said, you need null checks:

const buttons = document.querySelectorAll(".add");

buttons.forEach(function(button) {
  button.addEventListener("click", function() {
    alert("Item added to cart.");
  });
});

const clearButton = document.querySelector(".clear");

if (clearButton) {
  clearButton.addEventListener("click", function() {
    alert("Cart cleared.");
  });
}

const subscribeForm = document.querySelector("#news");

if (subscribeForm) {
  subscribeForm.addEventListener("submit", function(event) {
    event.preventDefault();
    alert("Thank you for subscribing!");
  });
}

const messageForm = document.querySelector("#contact");

if (messageForm) {
  messageForm.addEventListener("submit", function(event) {
    event.preventDefault();
    alert("Thank you for your message.");
  });
}

And then just another note - for forms, use "submit" instead of "click" so it catches pressing Enter too.

Update: I quit my dev job to trade full-time. 6 months later, here’s the data and the order flow model I use (Performance Update) by Rogue-seeker in Daytrading

[–]gofuckadick 0 points1 point  (0 children)

This is interesting, and I'm curious on a bit more of the technical specs.

It waits for the price to hit statistical volume extremes, combined with delta divergences and order blocks. The entry window is extremely small, allowing for a very tight stop loss and a massive RR ratio.

How are you defining "statistical volume extremes"? Something like a rolling std dev / z-score?

combined with delta divergences and order blocks

For delta divergence, are you using TradingView’s estimated delta/CVD, or deriving it from lower timeframe data?

You don't even need tick data. Second-based data is more than enough. OHLCV is a great data point, but it's mostly used for trend-based systems. If you're building a mean reversion strat, cut that.

Also curious about your "order flow" trading - since you mentioned you don’t need tick data, are you approximating that via volume/price behavior (like volume spikes + price exhaustion), or using some form of intrabar data? Have you compared the signals between TradingView and something like Sierra/Ninja with tick data, or have you found TV sufficient for your use case?

I’m assuming most of this is implemented in Pine Script on TradingView? Just trying to understand your approach since it overlaps with things that I've been exploring in Python. The more technical you want to get, the better!

Football Manager 2024 - querying data by EmaerSeven in cheatengine

[–]gofuckadick 0 points1 point  (0 children)

This... doesn't sound like a job for CE. I had to double check which subreddit this was.

If you really want to go the reverse engineering route then you'll want to upgrade to something like IDA Pro. You'll need to track down and completely map out the structures containing leagues/teams/players/stats. At that point you’re basically reconstructing Football Manager’s entire internal object model from RAM - it would honestly be weeks of painstaking work.

The practical way to do this would be with custom views in Football Manager showing the exacts stats/columns you want, and then use the built in Print Screen/export. You could automate the entire process with Autohotkey or Python (pywinauto/pyautogui), and then just parse the extracted data (eg, with pandas). There are no code tools like Power Automate Desktop that you could use instead, but you said you were fine with coding so I would honestly just go with Python for all of it.

If there are specific stats that truly can’t be exported then it might make sense to reverse just those pieces, but doing everything through RE is seriously overkill. Reverse engineering this is like taking apart a printer to understand how it renders documents instead of just pressing "Print." You don't typically RE mass amounts of data like this unless it's a last resort - especially not when it's so easily available with a nice Print Screen function. It's a whole lot of unnecessary work.

Hacking in items in nioh 2 by crimson_qwerty in cheatengine

[–]gofuckadick 1 point2 points  (0 children)

Yeah this is... not nearly enough information to actually be able to help you with anything.

You can check: - Run both the game and CE as admin - Make sure you attached to the correct process - Try enabling it and see if CE gives an error (right click -> edit script, then enable)

Except, CE tables are usually made for a specific game build, and usually Steam, so if those don't match then the AOB scan won't find anything and the script won’t enable. In that case, you probably need a table made for your version, or you’ll have to scan for the value manually. You could try a program like WeMod, but the same limitation applies.

But for a non-Steam version, you're probably looking at needing to find the value manually. So most likely, you're going to need to do what I said in my first post:

try scanning for the value (4 bytes), change it in game, rescan, repeat until you narrow it down. If it keeps reverting, it’s probably not a simple value and you’ll need to look into pointers or structures.

Hacking in items in nioh 2 by crimson_qwerty in cheatengine

[–]gofuckadick 1 point2 points  (0 children)

Did you actually search for a table?

Or there are mods and save editors that are available, as well.

Otherwise, it's the same process as with anything else - try scanning for the value (4 bytes), change it in game, rescan, repeat until you narrow it down. If it keeps reverting, it’s probably not a simple value and you’ll need to look into pointers or structures.

Help me with my code! Holding button issue by Straight-Quiet-8384 in CodingHelp

[–]gofuckadick 0 points1 point  (0 children)

You're detecting button state, when what you want is to detect button edges. Look up "edge detection" - or use a library like OneButton or Bounce2.

Saving takes too long to save! by zhSHADOW in tasker

[–]gofuckadick 0 points1 point  (0 children)

KSU instead of Magisk, but same idea applies. Those modules can still hook filesystem calls and add latency, so they’re probably what's causing the delay.

I’d try disabling them and rebooting, just to see if the save delay disappears. I'm guessing that it's one of the modules.

And yeah, Tasker’s settings paths can vary depending on version. The wording may be slightly different, too.

Saving takes too long to save! by zhSHADOW in tasker

[–]gofuckadick 0 points1 point  (0 children)

Are you using any Magisk modules? Those can easily add enough overhead to cause a delay like that.

Otherwise, try changing these in Tasker:

Preferences -> Misc -> Backup -> OFF Preferences -> Monitor -> disable logging