[–] 1 point 6 days ago (1 child)

some combination of sort, wc, cut and grep

Word of warning: none of these tools are CSV-aware. You can hack together something that will work for basic files, but once you get something with quotations or escapes to include commas within the text of a field, you will really want a true CSV parser.

sqlite3 can import and export CSV files directly.

Python's csv module is great.

VisiData is a cool CLI spreadsheet/csv/database viewer.

  • source
  • parent
  • context
  • Well, you shouldn't paste commands you don't understand into Terminal full stop. That's always been true.

    But it is different, anyway. You'll occasionally see the incredibly-stupid "curl ... | bash" pattern in the docs of some developer tools (lookin' at you, Claude Code), but that's a different target audience. And it's still a red flag.

  • source
  • parent
  • context
  • [–] 17 points 1 week ago (1 child)

    This is the only sane take on perv glasses.

    If someone pulled out their phone to photograph me on our first date, I'd nip that in the bud, and maybe just walk away. I guess I might be okay if there was a scenic background and they said "want to get a selfie together?" but a photo just of me across the table? Creepy.

  • source
  • parent
  • context
  • [–] 6 points 1 week ago (2 children)

    I'm often annoyed by nanny tech. Every new version of macOS adds new hoops to jump through just to get work done. Android keeps making it harder and harder to install apps from outside the Play Store. Windows has been a shitshow for like 20 years now. iOS was dead on arrival.

    And for all the effort put into protecting users from themselves, this is how easy it is to deliver malware to users. Here we have users who:

    1. Click on ads. This is already an incredibly stupid (even if normalized) thing to do.
    2. Paste code from those ads directly into Terminal.

    I suppose there are two ways to look at this. One way is to think that yes, users do need to be protected from themselves. I mean, look at how dumb they are!

    The other way to look at it is, what are we gaining from all these "security" measures that make all kinds of legitimate use harder? The whole world is paying the price of these attempts to protect people from themselves, even though that proves to be impossible time and time again. What is the cost:benefit here really? How much are we going to sacrifice in this futile attempt to idiot-proof technology? There is no limit to the idiocy of the general population.

    I wonder if it's not only futile, but actively counter-productive. Perhaps all the hand-holding and guard-railing serves to enable the general lack of awareness and understanding that's required for a user to fall for such obvious tricks.

    I don't want more technical "solutions". I want social and legal solutions. Start by holding ad delivery networks accountable for the ads they deliver. If they can't afford to adequately vet their "partners", then they need to change their business model.

  • source
  • ActivityPub (which is the protocol used by Lemmy, Mastodon, PixelFed, and other fediverse platforms) doesn't have a built-in system for account migrations. Accounts are tied to an instance. Any migration features are handled at the application level, like Mastodon's, and will be limited by the protocol.

    ATProto, which the protocol used by Bluesky, has a more complex account system which does allow for migration. I'm not intimately familiar with the details, but the gist is that your DID is not tied to your instance, and your data store can be independent as well. I don't know how this works in practice, since the ATProto ecosystem is basically just Bluesky, and a few other things that piggyback on Bluesky accounts. It appears to be at least a little complicated: https://www.da.vidbuchanan.co.uk/blog/adversarial-pds-migration.html

    Honestly, yes, this is a problem with the design. ActivityPub is not resilient against servers going offline or going rogue. It's a lot like email. If you change email providers, that means a new identity, and all you can do is point people to it as best you can.

  • source
  • [–] 41 points 2 weeks ago (4 children)

    First I've heard "yumeship". https://www.urbandictionary.com/define.php?term=yumeship

    A yumeshipper - or a Yume - is someone that cherishes and loves a fictional character so deeply, they see themselves with that character.

    "Yume" means "dream" in Japanese.

    "F/O" apparently means "Fictional Other".

    I'm not sure if they understand the difference between real people, fictional characters, and chatbots.

  • source
  • parent
  • context
  • [–] 1 point 2 weeks ago (1 child)

    I want to do this, but I think my housemates would riot if they were stuck with the lower quality most streaming services deliver to Linux. Last I checked, you had to jump through hoops just to get 1080p from Netflix in Firefox on Linux, and 4K was nearly impossible. Same deal with a lot of other services.

    Is there a way around that nowadays or do you have to either suffer poor quality or pirate everything? I haven't actually looked into this in a couple years now.

  • source
  • parent
  • context
  • [–] 5 points 3 weeks ago (3 children)

    I really hate the "em-dash = AI" myth. I've probably been typing em-dashes since before half of y'all were born. I am not a cat bot. I will not cede the em-dash to AI!

    As with most ills of the tech world, I blame Microsoft for this. Windows makes it unreasonably difficult to type em-dashes (and most non-ASCII characters, really), which is probably why most people don't. It's always been easy enough on Macs going back to the 80s — option-shift-dash. It's easy on iOS and Android too. Linux is a mixed bag, I guess — I've edited my keyboard settings on Linux and I forget the defaults on different distros/DEs.

    At least AI doesn't use parentheses as much as I do. I've still got that going for me.

  • source
  • parent
  • context
  • view more: next ›