Just some Internet guy

He/him/them 🏳️‍🌈

  • 0 Posts
  • 231 Comments
Joined 2 years ago
cake
Cake day: June 25th, 2023

help-circle
  • Yes, a lot safer. Even bugs in the renderer or media player would typically be triggered by JavaScript by say, moving elements around really fast or whatever.

    Without JavaScript, the browser renders that page and that’s it, there’s no JS to modify it or open popups, nothing to dynamically load/refresh content. The most you can do without JS is animations and responding to simple events like changing the color of a button when the mouse is over it. So your only shot to attack this is the renderer during initial page load, once.



  • For all its flaws and mess, NFS is still pretty good and used in production.

    I still use NFS to file share to my VMs because it still significantly outperforms virtiofs, and obviously network is a local bridge so latency is non-existent.

    The thing with rsync is that it’s designed to quickly compute the least amount of data transfer to sync over a remote (possibly high latency) link. So when it comes to backups, it’s literally designed to do that easily.

    The only cool new alternative I can think of is, use btrfs or ZFS and btrfs/zfs send | ssh backup btrfs/zfs recv which is the most efficient and reliable way to backup, because the filesystem is aware of exactly what changed and can send exactly that set of changes. And obviously all special attributes are carried over, hardlinks, ACLs, SELinux contexts, etc.

    The problem with backups over any kind of network share is that if you’re gonna use rsync anyway, the latency will be horrible and take forever.

    Of course you can also mix multiple things: rsync laptop to server periodically, then mount the server’s backup directory locally so you can easily browse and access older stuff.


  • Also worth noting that the computations don’t have to be expensive either, it’s only there in cryptocurrencies to artificially limit the number of blocks generated on a public system and tie it into the reward system.

    So for a bank, that could be a plain single iteration of a sha256 hash, and once share everyone agrees those were the transactions and you can’t go back and change one without having to change the whole chain.

    Make it sha1 and you basically have git.

    A blockchain is more or less just an append-only database. Or even an append-only replication log with built-in checksums.


  • Technically it wasn’t really designed with megainstances in mind that swallows the entire fediverse.

    My instance has no problem whatsoever keeping up and storage is well under control. But we’re few here subscribed to a subset of available communities so my instance isn’t 90% filled with content I don’t care about and will never look at. Also reduces the moderation burden because it’s slow enough I can actually mostly see everything that comes through.

    Lemmy itself is also pretty inefficient in that regard, you can very much make software that pulls instead and backfill local cache as needed.

    Even my Reddit subscriptions would be pretty easy on my instance.


  • Technically it wasn’t really designed with megainstances in mind that swallows the entire fediverse.

    My instance has no problem whatsoever keeping up and storage is well under control. But we’re few here subscribed to a subset of available communities so my instance isn’t 90% filled with content I don’t care about and will never look at. Also reduces the moderation burden because it’s slow enough I can actually mostly see everything that comes through.

    Lemmy itself is also pretty inefficient in that regard, you can very much make software that pulls instead and backfill local cache as needed.


  • One thing to keep in mind is ActivityPub isn’t exactly made for social media in the sense most people use it nowadays. It’s intended to be more like RSS feeds: you’re support to subscribe to stuff like news sites and be able to bring it all into a content aggregator. Seen that way, its design makes a lot of sense.

    It kinda works well for public microblogging as well. It’s when you start involving moderation, voting, sharing, boosting that things get kinda weird.

    I’ll add some of my comments to that discussion.



  • The main issue is when your instance starts federating, accounts are created with a key pair that you will lose when changing software, and generally a whole bunch of URLs will no longer be valid. The actor ID of your user is https://feddit.org/u/buedi, not just buedi. Mastodon might make it https://feddit.org/@buedi instead. As per the spec, that is the canonical URL for the user/actor.

    Other instances will still try to push content to your instance assuming the software it was registered with. So you may continue to receive data for Lemmy communities which Mastodon has no clue what that is or what to do with it.

    You can host the API/frontend on a different domain no problem, but the actual ActivityPub service should be on a dedicated subdomain to avoid the issues.

    That said, I believe after a couple days/weeks, it should eventually sort itself out as your instance keeps erroring out and gets dropped and reregisters with the new software.

    https://seb.jambor.dev/posts/understanding-activitypub/



  • Wouldn’t it be effective to convince followers of legitimacy if a religion could accurately predict a scientific phenomenon before its followers have the means of discovering it?

    No, those were called witches and they burned them out of fear.

    That was also just never the purpose of religion. Religion fills gaps in our knowledge and addresses the existential crisis by promising us some form of afterlife because humans really struggle to accept that they’re random and meaningless and that their consciousness just dies with the body.

    There’s theories that the talking burning tree was probably a weed tree and they were just tripping balls, and that wouldn’t be the first religion spawned from accidental or intentional use of psychedelics.

    It’s also very likely the origin stories are just that, stories. Most likely because storytelling was just how language worked: like the Darmok episode of StarTrek TNG. Or just kids: we don’t infodump on kids, we tell them stories because stories bring context and narrative.

    My belief is that at least all the judaic religions are just a metaphor so far detached its true meaning is lost to time, and interpreting any of those further is a complete waste of time. Any scientific prediction is equally likely to just be a coincidence than evidence of divine knowledge.


  • Unfortunately yes. And even then, just having friends is still a privacy liability. Early on the Facebook app for Android would straight up just upload your contacts without asking, so they knew about me well before I caved in and made an account. Or, I’d give my number to someone and suddenly Facebook knows and asks me to friend them.

    Not that it’s a new threat: even pre-industrialization, you’d tell a friend a secret and before you knew it the whole village knew.

    People are mostly incapable of caring for anyone’s privacy but themselves.


  • What’s crazy about it is literally nobody’s pressured to become trans, like, at all. Nobody wishes anyone to be trans because gender disphoria sucks.

    It’s literally just “feel free to express your gender however the fuck you want, you do you, and we’ll still respect you as-is”.

    Despite that, I never once thought about transitioning or being trans or fantasizing about growing a pair of boobs. As a cis man, looking like a women would just make me feel disphoric and want to be a man again ASAP. I never once felt pressured to transition either, and I hang out with a lot of very fruity people.

    This idea that it’s contagious and gives bad thoughts to people is just plain wrong, nobody becomes trans that weren’t trans already.




  • Keyboard shortcuts in general.

    • Alt + left right (previous/next page in browsers)

    • Windows + 1 (2, 3, …) on Windows and KDE focuses the window at that position in the taskbar

    • Alt + Tab to switch windows (hold shift to go backwards)

    • Windows + Tab to switch windows within the same application (like, all browser windows if you’re in a browser)

    • Alt + 1 (2, 3, …) on Windows/Linux usually selects the corresponding tab

    • Ctrl + Tab to cycle through tabs like Alt-Tab does for windows (hold shift to go backwards)

    • In most browsers or things with a URL/go to bar, Ctrl+L will focus that. No need to click the address bar, Ctrl+L, example.com, Enter.

    • In Discord and Slack, you can press Ctrl+K to open a box to quickly type a channel/DM name to go to it quickly

    • If you have them, the Home/End/PageUp/PageDown keys are actually pretty useful. Press Home instead of scrolling all the way back up.

    • F1 is usually help

    • F2 is usually rename

    • F3 is usually search



  • How do you guys without aphantasia manage to read when there’s pictures whizzing around your head all the time??

    For me, the book and my surroundings completely disappear, the whole thing turns into a dream-like movie experience. I don’t see letters or words at all, it becomes an unconscious process that keeps feeding the dream and it looks similar to fuzzy AI videos.

    Sometimes the process of getting pulled out into reality again can be brutal: suddenly it’s 3h later and I have to look around and take a moment to settle back. If you dream while you sleep, it’s like when you suddenly wake up while you were in an intense dream, takes a moment to process. I’m really completely gone in another world the whole time.


  • Í wonder if visualizing what you read slows people down.

    Not really, I can read very fast too and also visualize it at the same time, like full blown movie. I think it’s more indicative of information processing abilities in general: I can generally keep up watching lectures at 3x speed and notice things on screen almost instantly too.

    I’m super efficient at filtering information too: I’ll look at a paragraph in some documentation and immediately see “If you’re in X special case, then…” at the 5th sentence in the middle of the paragraph when skimming through documentation. Or of course skipping details I don’t care about.