• 0 Posts
  • 20 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle
  • That makes about as much sense as saying that pip, gem, npm, cargo, or nix should called be the default package manager on Mac OS…

    The default package manager is the default because it manages the system’s software. RPM, Deb/apt, pacman, etc. Homebrew is like pip or docker or cargo or snap or whatever else. You can set it up if you’d like but it’s certainly not a default. (Though I’m not trying to dispute that it’s good 😊)

    Mac OS doesn’t have a good default package management solution (though they would if they just opened up the app store and added a CLI). It’s ok to admit it, and say that third party folks (who Apple does not support unless I’m missing something) are powering a pretty good third party experience. If only Apple cared about people who wanted a truly free an customizable computer, they could make a great OS :)




  • 100% monitoring and control doesn’t exist. Your children will find a loophole to access unrestricted internet, it’s what they do.

    Similarly, children will play in the street sometimes despite their parents’ best efforts to keep them in. (And yes, I would penalize Ford for building the trucks that have exploded in size and are more likely to kill children, but that’s a separate discussion.)

    I get what you’re saying, I just think it’s wrong to say “parental responsibility” and dust off your hands like you solved the problem. A parent cannot exert their influence 24/7, they cannot be protecting their child 24/7. And that means that we need to rely on society to establish safer norms, safer streets, etc, so that there’s a “soft landing” when kids inevitably rebel, or when the parent is in the shower for 15 minutes.




  • It can be both, and I’m not sure I see the distinction. It’s a coping mechanism, and that’s not actually an awful thing.

    Growing up in church, nobody was creating hypotheticals and then trying to explain it using religion. It’s just not what it was about. But I guess if you brought up babies with cancer, then yeah the “mysterious ways” argument would have been a prime cop out to avoid challenging faith too much.

    Most commonly, people just wanted to know how to handle the (typically less hyperbolic) challenges in their own lives. They believed they were good and faithful and didn’t understand why God would allow bad things to happen in their lives. Ultimately the “mysterious ways” line was just a coping mechanism, that came with advice to search for the silver linings, and think about past challenges and how they resolved, as evidence of the mysterious ways. Of course it also served to avoid challenging their faith too.

    At the end of the day, religion has its very bad elements that I won’t defend. But it’s silly to ignore that for most people, they’re looking for ways to interpret life in order to find meaning, or maybe cope with struggles. For myself, I’m not religious, but if I were trying to help a friend dealing with something difficult in life, I would still encourage them to look for silver linings and to reflect on past challenges. Not to use it as evidence for some god working in mysterious ways, but just to give them perspective to realize that they have the strength to overcome challenges.



  • A classic use for them is spam filtering.

    Suppose you have a set of spam detection systems/rules which are somewhat expensive to execute, eg a ML model or keyword blocklist. Spam tends to come in waves, and frequently it can be as simple as reposting the same message dozens of times.

    Once your systems determine a piece of content is spam (or you manually flag content), it’s a good idea to insert the content into a bloom filter. This means that future posts of the identical content will be flagged without needing to execute the expensive checks, especially if there’s a surge of content stressing your systems.

    Since it’s probabilistic, you can’t use this unless you have some sort of manual reviewing queue or system, as it’s possible for false positives to be flagged. However, you can also run more intensive checks once you’ve flagged content, to detect false positives.

    The false positives can also be a feature, not a bug: with careful choice of hash functions, your bloom filter can actually detect slightly modified content, since most of the hashes may still be the same.

    I’ve worked at companies which use this strategy so it’s very real world.




  • someone playing music on their phone though the car audio (super common now) tapping the phone to ignore a call is just as much a crime as texting a novel to an ex.

    They are all crimes. Set up your music before you go, or use voice command. Ignore the call with voice command or just let it go to voicemail. Lol. It’s not hard.

    And you are kidding yourself if you think almost every person driving for a living is not at some level forced to use their phone by their company (I was)

    This is a great of the strength of this system: this company will find its drivers and vehicles getting ticketed a lot, and they’ll have to come up with a way to allow drivers to do their jobs without interacting with their phones will moving at high speeds.

    I would much rather have someone pulled over when driving erratically then the person getting an automated ticket 3 weeks after mowing down a pedestrian.

    The camera doesn’t magically remove traffic enforcement humans from the road. They can still pull over the obviously drunk/erratic driver.


  • I literally watched cops driving while on their phone everyday after it was made illegal. Nothing was done, Nothing changed, they hand out tickets while breaking the same rules.

    I mean yeah, fuck the police :) Seems like we’re in agreement here.

    Might kill someone is a precrime, a issue with these tickets in this case is that without the AI camera nothing would have been seen (literally victimless). If someone crashes into anything while on their phone the chances it will be used in prosecution is low.

    Using your fucking phone while driving is the crime. This isn’t some “thought police” situation. Put the phone away, and you won’t get the ticket. It’s that simple. We don’t need to wait for a person to mow down a pedestrian in order to punish them for driving irresponsibly.

    In the same spirit, if a person gets drunk and drives home, and they don’t kill somebody – well that’s a crime and they should be punished for it.

    And if you can’t handle driving responsibly, then the privilege of driving on public roads should be revoked.

    I don’t think texting while driving is a good idea, like not wearing a seatbelt. However this is offloading a lot to AI, distracted driving is not well defined and considering the nuances I don’t want to leave any part to AI. Here is an example: eating a bowl of soup while operating a vehicle would be distracted right? What if the soup was in a cup? What if the soup was made of coffee beans?

    This is such a weird ad absurdum argument. Nobody is telling some ML system “make a judgment call on whether the coffee bean soup is a distraction.” The system is identifying people violating a cut-and-dried law: using their phone while driving, or not wearing a seatbelt. Assuming it can do it in an unbiased way (which is a huge if, to be fair), then there’s no slippery slope here.

    For what it’s worth, I do worry about ML system bias, and I do think the seatbelt enforcement is a bit silly: I personally don’t mind if a person makes a decision that will only impact their own safety. I care about the irresponsible decisions that people make affecting my safety, and I’d be glad for some unbiased enforcement of the traffic rules that protect us all.


  • I’m definitely a fan of better enforcement of traffic rules to improve safety, but using ML* systems here is fraught with issues. ML systems tend to learn the human biases that were present in their training data and continue to perpetuate them. I wouldn’t be shocked if these traffic systems, for example, disproportionately impact some racial groups. And if the ML system identifies those groups more frequently, even if the human review were unbiased (unlikely), the outcome would still be biased.

    It’s important to see good data showing these systems are fair, before they are used in the wild. I wouldn’t support a system doing this until I was confident it was unbiased.

    • it’s all machine learning - NOT artificial intelligence. No intelligence involved, just mathematical parameters “learned” by an algorithm and applied to new data.



  • It seems obvious to me. Twitter has historically been used by public figures, and especially public institutions like local governments, transit agencies, etc, to make official announcements & statements. Of course having that on a centrally owned social media site was never good, but now with Space Karen making it actively hostile to users (and trying to prevent logged out users from seeing that info), it’s very bad. The sooner Twitter completes its inevitable collapse, the sooner those public figures & institutions will move to a better way to deliver those - Mastodon, RSS, webpages, whatever.

    IMO it’s in the public’s best interest for all the holdouts to get out now so we can move on.


  • They probably know what it is, but it’s a bad point if they’re trying to paint DAGs as esoteric CS stuff for the average programmer. I needed to use a topological sort for work coding 2 weeks ago, and any time you’re using a build system, even as simple as Make, you’re using DAGs. Acting like it’s a tough concept makes me wonder why I should accept the rest of the argument.

    Can’t say I have a strong feeling about Gradle though 🤷‍♀️



  • It’s a cathartic, but not particularly productive vent.

    Yes, there are stupid lines of time.sleep(1) written in some tests and codebases. But also, there are test setUp() methods which do expensive work per-test, so that the runtime grew too fast with the number of tests. There are situations where there was a smarter algorithm and the original author said “fuck it” and did the N^2 one. There are container-oriented workflows that take a long time to spin up in order to run the same tests. There are stupid DNS resolution timeouts because you didn’t realize that the third-party library you used would try to connect to an API which is not reachable in your test environment… And the list goes on…

    I feel like it’s the “easy way out” to create some boogeyman, the stupid engineer who writes slow, shitty code. I think it’s far more likely that these issues come about because a capable person wrote software under one set of assumptions, and then the assumptions changed, and now the code is slow because the assumptions were violated. There’s no bad guy here, just people doing their best.