• 1 Post
  • 19 Comments
Joined 3 years ago
cake
Cake day: May 19th, 2021

help-circle





  • With the enshittification of streaming platforms, a Kodi or Jellyfin server would be a great starting point. In my case, I have both, and the Kodi machine gets the files from the Jellyfin machine through NFS.

    Or Home Assistant to help keep IOT devices that tend to be more IoS. Or a Nextcloud server to try to degoogle at least a little bit.

    Maybe a personal Friendica instance for your LAN so your family can get their Facebook addiction without giving their data to Meta?





  • Strong Towns and Not Just Bikes both go over the math more in other articles/videos, but I’ll try to provide a decent summary.

    Basically, the cost to maintain the roads and infrastructure in a city are paid for by everyone in the area, and because cities are usually smaller and mixed-use, you have several homes and businesses chipping in to pay the same mile of asphalt and water/sewer.

    When you get to the suburbs, even though they pay more in taxes because they’re larger and newer, they’re also more spread out, often with a large highway out to them. They require this dedicated infrastructure line, and still require fire/police/garbage services, which requires more staffing, more buildings, and more trucks.

    Imagine you’re playing two games of Cities Skylines.

    In the first game, you have small, 2-lane roads, your houses and apartment buildings are small, one-four block sizes, you have a corner store every other street, and because everything is within 5 blocks, people walk to their destination. You really only need one fire station, one police station, and a dump.

    In the second game, you have a highway to a residential-only area. All your residences are 6 blocks big and in cul-de-sacs. You’d likely have to have one police/fire stations on one side of the suburb and one on the other in order to get full coverage. They’d require their own garbage dump in order to get the best service, and you’d have to run sewer/water lines out to them.

    Which of these cities do you think would do better financially?

    If you’d like more supplementary reading/watching here are the other videos that go into this more in-depth:

    That last video is actually part of a whole playlist, which starts here: https://www.youtube.com/playlist?list=PLJp5q-R0lZ0_FCUbeVWK6OGLN69ehUTVa



  • RiderExMachina@lemmy.mltoPrivacy@lemmy.mlwindows and privacy
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    2
    ·
    8 months ago

    You need a full 8.1 surround lock system. These can be pricey, but I recommend this one from EcoBee. They typically run around $1300 each, but they come with elastiglass replacement if your window breaks under their protection, which I think is worth it.

    I’ve debated getting rid of windows entirely to remove the risk, but I think I have enough protections in place for now.




  • I work in electronics manufacturing and I’m torn on this issue.

    On the one hand, fuck Apple for requiring to go through so many hoops.

    On the other hand, every device my company makes has an internal checksum and if one PCB is installed incorrectly, the main board throws a fit because the device checksum doesn’t match.

    It sounds like Apple may do something similar for their products and it sort of makes sense: determined people try something crazy like take an older iPhone and install a newer Wireless module or replace Lightning with USB-C. Neither of those things were intended by Apple, and there’s a huge potential that it wouldn’t work.

    With that said, it’s absolutely overkill for things like display or digitizer replacements, which are going to be the majority of repairs on iPhones.

    Tl;Dr - fuck Apple, this is dumb, the users have the right to repair


  • Having the output of each thing you tried would help us get a feel for where your code was messing up without us having to run it ourselves to get the output.

    That said, for code snippet 1, you’re inserting the letter instead of replacing the underscore with the letter. Not only that, but your for-loop essentially does the following:

    • loop over the length of chosen_word
    • if guess is in the above loop
      • iterate over the display array and add guess that many times (effectively doubling the `display array)

    Your second code snippet does the same thing, but with actual formatting so that Python could run the code.

    I believe your third code snippet introduces char but then returns to letter. It might work if you replaced char with letter again. Also += letter will add the letter to the end of display, which is not what you want to do.

    I did my own version of Hangman in Python a couple years ago if you want to look at the code and see what I did. I’m just a hobbyist, so it’s not fantastic, but it might give you an idea of how someone else has approached the problem.




  • It’s been getting ridiculous. One of the apps on my partner’s phone recently warned that they wouldn’t open with Developer options enabled.

    This app is a fucking drink menu and digital punch card for a popular coffee shop, what could be done from the developer options that affects this app in any way? Especially since I only enabled developer options to speed up the godawful Android animations. Out of principal I’ve stopped going there and deleted the app.

    Here’s a massive list of “Alternative Internet” software. There are some blockchain items in there, but otherwise it’s pretty extensive.