Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TO
TortoiseWrath @tortoisewrath.com

Software engineer and collector of expensive hobbies.

I was /u/TortoiseWrath but then reddit imploded.

Posts 3
Comments 26
What's a skill that's taken for granted where you live, but is often missing in people moving there from abroad?
  • Or driving in general. As an American who didn't get a driver's license until I was 21 (gasp! so old) due to some reasons, I can attest that many, many people here simply can't comprehend the idea of someone over 17 or so not having one. I got turned away from a hotel once because they didn't know how to use a passport as an ID.

    The only other people I've met with this problem were immigrants. And we were always able to bond over lamentations of how difficult it is to solve this problem... the entire system to get a license here is built around the assumption that everyone does it in high school, so every step of the way is some roadblock like "simply drive to your driving test appointment"...

  • What's a skill that's taken for granted where you live, but is often missing in people moving there from abroad?
  • Yeah, a small village. It would have been a half-hour bus ride to the town of ~5000, but they couldn't compel all students to get a passport, and the nearest pool in the US would have been about an hour and a half away, so it was never part of the curriculum. Some kids had their parents drive them to Canada after school for private (expensive?) swimming lessons, but it wasn't standard.

  • www.spokesman.com Ferry County deputies shoot tires of stolen backhoe, arrest man attempting to knock down animal shelter

    Ferry County deputies shot out the tires of a stolen backhoe Tuesday after the suspected thief refused to stop driving toward an animal shelter he intended to knock down, according to the sheriff’s office.

    Ferry County deputies shoot tires of stolen backhoe, arrest man attempting to knock down animal shelter
    3
    Does Lemmy really benefit from Rust? Is code execution speed the bottleneck?
  • Ehhhhhhh. Using a relational database for Lemmy was certainly a choice, but I don't think it's necessarily a bad one.

    Within Lemmy, by far the most expensive part of the database is going to be comment trees, and within the industry the consensus on the best database structure to represent these is... well, there isn't one. The efficiency of this depends way more on how you implement it within a given database model than on the database model itself. Comment trees are actually a pretty difficult problem; you'll notice a lot of platforms have limits on comment depth, and there's a reason for that. Getting just one level of replies to work efficiently can be tricky, regardless of the choice of DBMS.

    Looking at the schema Lemmy uses, I see a couple opportunities to optimize it down the road. One of the first things I noticed is that comment replies don't seem to be directly related back to the top-level post, meaning you're restricted to a breadth-first search of the comment tree at serving time. Most comments will be at pretty shallow depths, so it sometimes makes sense to flatten the first few levels of this structure so you can get most relevant comments in a single query and rebuild the tree post-fetching. But this makes nomination (i.e. getting the "top 100" or whatever comments to show on your page) a lot more difficult, so it makes sense that it's currently written the way it is.

    If it's true (as another commenter said) that there's no response caching for comment queries, that's a much bigger opportunity for optimization than anything else in the database.

  • Which to host for a single user instance: lemmy or kbin (or others)?
  • My other reason is that it's the only way to know I picked an instance that isn't going to just go away without me and take my account with it. It will be an interesting day when the first major lemmy instance goes down...

  • Lemmy Support @lemmy.ml TortoiseWrath @tortoisewrath.com

    What is the difference between these two buttons?

    they both seem to just be the same link to the comment, and both have the tooltip "link"

    4

    Hello

    can anyone hear me?

    3