I write bugs and sometimes features! I’m also @CoderKat@kbin.social.

  • 4 Posts
  • 213 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle

  • CoderKat@lemm.eetoPrivacy@lemmy.mlWhat the actual fuck?!
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    7 months ago

    Yeah. There’s literally nothing you can put on a prompt that will truly work. It’s still a good idea to prompt cause it will reduce how many people approve the prompt, but there is a significant number of people who don’t read prompts at all and just insta-confirm.

    At best, I think you could design it so there’s no way for an app to request certain permissions themselves. They’d have to be opted in from the system settings and apps could only tell you how to do it. But that’s a usability nightmare that is quite frustrating for legitimate usages. There’s already some super sensitive permissions that do this. I think the ability to install apps, ability to display over other apps, and password managers for android.






  • Find local groups. Two notable ones for me are that I found a discord for my city for people looking for friends (which means stuff like regular board game events and the likes) and the kink community (ie, fetlife) regularly does similar (you don’t treat that one as a dating site, but rather a way to find real life events where you meet people).

    There’s probably various other ways to find real life meetups that aren’t for the explicit purpose of meeting people to date, but will find em anyway. Casual sports leagues, hobby oriented groups, co-workers, etc.



  • Heck, I’d say even give money to those big corps so long as they are being reasonable with the price and availability. Reasonable varies by person, of course. But for me, I’ll pay for any $70-90 game (the normal price for new games now in Canada), but stuff like Sims DLC or how the original Mass Effect only let you get DLC through some dumb BioWare credits are cases where I’d pirate no regrets even with my current income.

    After all, there won’t be AAA games if people don’t pay for them. I have (mostly) no qualms with big publishers pocketing a significant profit on those games if they get made well. Bigger problem I have is with games that get rushed to the point of impacting quality, but that’s something I see more for changing how you approach that individual title. Stuff like mistreating staff (crunch time) is a bit iffier. I still lean towards giving them my money, since nobody enters the game dev business without knowing it’ll involve crunch and I do want the devs to be rewarded for their hard work with a commercial success (cause that’s unfortunately just how success is measured in our capitalist society).



  • There’s a lot of common patterns, but you have to understand how URLs work. You have to recognize which URL parameters are tracking ones or even just might be tracking. And that means you have to know how they work and that takes a moment.

    In brief, URL parameters start after a ? in the URL and are formatted like key1=values&key2=value2. You can’t usually remove all parameters because not all are tracking. To further complicate things, URLs can also have an anchor starting with a # character which will be after the URL parameters. You often don’t want to remove that (though theoretically the anchor could in fact contain tracking details).

    It’s often trial and error to see which parameters you can remove. I do this a lot since I write a lot of technical documentation. Clean URLs make the documentation more compact and less likely to break. It’s not just tracking stuff, but sometimes you need to remove temporal data that makes a page display data from a specific time when you want it to just default to the current time (etc).


  • Some of these I get, but I don’t get the T9 thing. T9 was so bad! It took ages to type many words. Today’s predictive keyboards are miles better.

    Also, no software updates? Sure, every now and then there’s a shitty update, but most updates are great. New features and especially bug fixes are amazing. Used to be that if something had a bug, you just had to deal with it. There’s no guarantees it’ll be fixed today, but many companies do fix their bugs at least eventually. The ability to iteratively develop is huge for software quality. These days, unless you’re developing something that absolutely cannot fail (like a mars prober or radiation therapy machine), it’s widely agreed upon that iterative design is superior to “waterfall” design of trying to plan it out all ahead of time. Part of why is so you can get feedback continuously instead of only after you’ve committed to months of tech debt.


  • Bash is so bad. I literally use it every day and have written many Bash scripts, yet I’m constantly having to search for how to do things in it because syntax is so bizarre and difficult to remember. Need to do a for loop over lines in a file? You can bet I’m googling the syntax for it. I have a general idea for what it looks like and know what to search for, but no way in hell can I write it correctly in the first few tries.

    String manipulation is the absolute worst. Have fun getting to learn the unreadable syntax of most sed and awk programs (the only thing most people have memorized is find and replace). Stuff like “split a string of comma separated ints and add them up” are way harder in Bash than in Python, despite the fact I often need to do stuff like that in Bash. Well, in the terminal anyway. Sometimes I’ll just use Python, but Python’s weakness is executing programs and getting their output, which is nowhere near as convenient as it is in Bash.

    Side note, isn’t it weird that for a language where flags like --foo bar are so commonly used, there’s no built in or standard tools for accessing flags?


  • The most recent C++ thing I worked on (not that recent, like 5 years or so ago) was a fairly new project and the people working on it were really passionate about C++. But it was C++ code that ran as a Python library and was using the official Python C bindings. Not sure why we didn’t use one of the unofficial C++ libraries, but the usage of that C library (and such a fundamental one) held things back. We wrote was was modern C++ (at the time), but big chunks would be a completely different style.


  • CoderKat@lemm.eetoProgrammer Humor@lemmy.mlDepression Is No More
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    9 months ago

    I hate writing code in either language. But at least what C has going for it is that it’s waaaay simpler than C++. Simple can be a really good thing. Sure, all those cool features can save you time, but they can also be gotchas that will cause bugs.

    Though it is a balancing act. Too simple and you’ll make mistakes due to how much you have to repeat yourself or using unsafe equivalents (like using preprocessor directives to mimic features that C++ natively supports).






  • You might get some enjoyment out of Mark Rober’s series where he builds contraptions to mess with porch pirates. Nothing directly harmful like wasps, but he builds a box that basically records the thief, glitter bombs them, sprays bad smells, and in some later iterations, has an ominous countdown and fake police radio.

    He also tries to catch some people who break into parked cars the same way, but with much less success as they turned out to be a lot more organized and scarier.