• 0 Posts
  • 75 Comments
Joined 1 year ago
cake
Cake day: July 5th, 2023

help-circle

  • Funnily enough, in my town there used to be a Future Shop, and then a Best Buy sprung up in the new commercial district, but apparently couldn’t compete because it closed 2 years later. Then about a year later Best Buy bought Future Shop and they re-branded the existing Future Shop to Best Buy.







  • It’s not quite as point-and-click, but I’m using Docker for that because Yunohost kept messing up updates. Most server apps will have some instructions on how to run them in docker, especially a docker-compose.yml file, so you don’t have to rely on the Yunohost team to package said app.

    The way I do it is that I put each suggested compose file in their own file, and import them in my main docker-compose.yml file like this:

    version:  '3'
    include:
        - syncthing.yml
    

    Then just run docker compose pull && docker compose up -d every time you change something or want to update your apps, and you’re good to go.

    Software updates in particular are waaaaaayyy easier on Docker than Yunohost.


  • Owner of 2 pinecils here, there are buttons and a display that shows the current temperature and other stuff. I only just learned that there’s an app, it works more than fine on its own, out of the box.

    I got that specific iron because I needed to power it from 12v, and it works very well on the USB PD power supply I already have for my laptop.



  • Yeah, there’s some stuff on the side, but get a can of chef boyardee, a sealed packet of crackers and a pop tart, and that’s pretty much it. Add some Qwik and Gatorade powder for hydration, maybe. At 250$ per 12-pack it’s more expensive than eating out.

    I’m involved with the Canadian cadet program, and these are the exact ones we eat when we go on expédition, they’re nothing fancy. They are convenient, though.




  • Canadian here. It really depends on if it’s a cultural use or something the government might have an influence on through legislation. They can force industries to label packages in metric, but they can’t force grandma to change her manually-transcribed recipes. The other big influence is obviously our neighbours to the south. A lot of industries haven’t switched over there, and we get their products. Main culprit here would be the construction industry, lumber and hardware is all in US customary units and I hate it.




  • Have you watched Idiocracy? I consider myself a smart guy, and having children is my way to fight against the world getting stupider.

    Also, it is a joy. Yeah, it’s expensive, and yeah, it’s a ton of work. But it’s like working on a very big project that you know you’ll be proud of when it’s done. I didn’t understand it before because I only experienced other people’s children, but it’s different with your own children in a way that’s hard to explain.



  • It’s true that you can easily fall into analysis paralysis when you start learning JS, but honestly things have somewhat stabilized in recent years. 10 years ago everybody was switching frameworks every 6 months, but these days we’re going on 8+ years of absolute React dominance. So I guess that’s it for the view layer.

    The data layer has seen some movement in more recent years with Flux then GraphQL / Relay, but I think most people have settled on either Apollo or react-query now (depending on your backend).

    On the backend there was basically only express.js, and I think it’s still the king if you only want to write a backend.

    Static websites came back in fashion with Jekyll and Github Pages so Gatsby solved that problem in js-land for a while, but nowadays Next also fulfills that niche, along with the more fullstack-oriented apps.

    Svelte, Vue, Aurelia and Mithril are mostly niche frameworks. They have a dedicated, vocal fanbase (see the Svelte guy as sibling to your comment) but most of the industry has settled along the lines I’ve mentioned.


  • ebc@lemmy.catoProgrammer Humor@lemmy.mlJust getting into JS
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    5 months ago

    Honestly I think the main thing that the JS ecosystem does well is dependency / package management (npm). The standard library is very small so everything has to be added as a dependency in package.json, but it mostly works without any of the issues you often see in other languages.

    Yeah, it’s not perfect, but it’s better than anything else I’ve tried:

    • Python’s approach is pretty terrible (pip, easy_install, etc.) and global vs local packages
    • Ruby has its own hell with bundler and where stuff goes
    • PHP has had a few phases like python (composer and whatnot) and left everyone confused
    • Java needs things somewhere in its $PATH but it’s never clear where (altough it’s better with Gradle and Maven)
    • C needs root access because the only form of dependency management is apt-get

    In contrast, NPM is pretty simple: it creates a node_modules and puts everything there. No conflicts because project A uses left-pad 1.5 and project B uses left-pad 2.1. They can both have their own versions, thank you very much.

    The only people who managed to mess this up are Linux distributions, who insist on putting things in folders owned by root.