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

  • 1 Post
  • 9 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle
  • 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).


  • We absolutely could do things if society as a whole agreed to. Billionaires only exist because we let them exist. The only thing stopping us from taxing all money over a certain amount is us.

    Unfortunately, I have little faith in our ability to convince people that we should massively step up our taxation. We can’t even get billionaires to pay the percentage of income tax that they’re theoretically supposed to pay. How are we supposed to convince enough people to go above and beyond?

    A huge number of people somehow have the idea that billionaires deserve this money. Or that just because their wealth isn’t cash means we can’t take it away.

    If they try to leave to another country, arrest them for tax evasion and seize every asset they have. Don’t let them do any business in the country without paying their share. Get other countries to band together on this until there’s nowhere for them to run except shitholes. Even if we can’t stop them from being rich in Ireland (and on that note, we should punish tax havens with sanctions), we can stop them from using their wealth to affect other countries.



  • CoderKat@lemm.eetoMicroblog Memes@lemmy.worldTelevision
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    10 months ago

    When I completely replaced my PC, I intended to use my old PC as a media box. But in reality, I’ve basically used my Chromecast for everything. One of these days I’ll probably want to watch something that isn’t on one of my streaming sites, but I’ve been surprisingly resistant to that so far.

    Chromecast is the ideal smart device so far, for me. No ads or anything. I use my phone as a remote and basically every video app supports it easily. Open app, press cast, select what I want to play. Exactly what a smart TV should have been like.


  • CoderKat@lemm.eetoProgrammer Humor@programming.devGolang be like
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    11 months ago

    Let’s not pretend people acknowledge warnings, though. It’s a popular meme that projects will have hundreds of warnings and that devs will ignore them all.

    There’s a perfectly valid use case for opinionated languages that don’t let you get away with that. It’s also similar to how go has gofmt to enforce a consistent formatting.

    Honestly, I’ve been using Go for years and this unused variable error rarely comes up. When it does, it’s trivial to resolve. But the error has saved me from bugs more often than it has wasted my time. Most commonly when you declare a new variable in a narrower scope when you intended to assign to the variable of the same name (since Go has separate declare vs assign operators).




  • What I’m thinking is removing the railings from around the outcrop and have the railing to all the way to the stair (so that you can’t walk onto the outcrop anymore). Then the outcrop is the perfect place for a model of some kind. Like a countryside train model or a city model or the likes. Something that is just for looks cause there’s no practical reason to walk onto such a tiny outcrop. It’d be a great use of the space and a nice place to display such a thing such that anyone walking up or down the stairs can appreciate it from different angles.


  • Bigots are incapable of thinking this way. They only see LGBT+ people as “the other” and themselves as “normal”, so they never realize that they themselves at one point figured out their own identity (including both gender and sexuality). They think it’s only LGBT+ folks having to figure those things out.

    It’s bizarre, especially since society does push cisgendered and heterosexual norms at a very early age. Young boys will get asked if they like any girls and they’ll constantly be pushed with gender roles and stereotypes for their birth gender. It’s so normalized that most folks don’t even seem to realize that it happens until confronted with the existence of any alternative (like LGBT+ folks). A reasonable person would examine their biases and realize stuff like “huh, I guess I knew my gender from a young age”, but bigots have this irrational hatred for LGBT+ people so they’re not willing or capable of this kind of insight. Their brain has to twist logic into justifying the bigotry that they’ve already concluded on.