I’m 35 and my daughter is 15. When I’ll be 37, 16-year-olds will litterally be younger than my actual kid. This is all kinds of fucked up.
- 0 Posts
- 47 Comments
ebc@lemmy.cato Selfhosted@lemmy.world•Anyone else here self-hosting on absolutely shit hardware?English2·6 months agoRunning a bunch of services here on a i3 PC I built for my wife back in 2010. I’ve since upgraded the RAM to 16GB, added as many hard drives as there are SATA ports on the mobo, re-bedded the heatsink, etc.
It’s pretty much always ran on Debian, but all services are on Docker these days so the base distro doesn’t matter as much as it used to.
I’d like to get a good backup solution going for it so I can actually use it for important data, but realistically I’m probably just going to replace it with a NAS at some point.
In the near future: Journalists use AI to turn 1 or 2 sentences into a full article. Meanwhile, readers use AI to summarize long articles into 1 or 2 sentences.
ebc@lemmy.cato Programming@programming.dev•Is Python's tooling incredibly difficult, or am I just stupid?3·8 months agoComing at this from the JS world… Why the heck would 2 projects share the same library? Seems like a pretty stupid idea that opens you up to a ton of issues, so what, you can save 200kb on you hard drive?
ebc@lemmy.cato Programming@programming.dev•Is Python's tooling incredibly difficult, or am I just stupid?5·8 months agoI’m no Python expert either and yeah, from an outsider’s perspective it seems needlessly confusing.
easy_install
that’s never been easy,pip
that should absolutely be put on a Performance Improvement Plan, and now thisvenv
nonsense.You can criticize javascript’s ridiculous dependencies all you want (left-pad?), but one thing that they absolutely got right is how to manage them. Everything’s in
node_modules
and that’s it. Yeah, you might get eleven copies of left-pad on your system, but you know what you NEVER get? Version conflicts between projects you’re working on.
I’ve always wondered if vegetables from a farm that uses horse-drawn tills instead of tractors would be vegan… It’s a real question, but everyone I ask thinks that I’m trolling.
There’s also a Kirkland near Montreal, so it could be Canada. But as it’s already been mentioned, it has nothing to do with location in this case.
ebc@lemmy.cato Selfhosted@lemmy.world•Would you buy "self-hosted in a box" hardware?English4·10 months agoDocker’s secret that most “getting started” tutorials seem to miss is docker-compose.yml. Who wants to type these long-ass commands to start containers? I always just create a compose file, and then
docker compose up -d
.Dockerfile is for developers, you shouldn’t need more than a docker-compose.yml for self-hosting stuff.
Something something dining philosophers.
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.
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.
C is crazy. While you are learning it you are learning Make and gcc without your consent.
Java is crazy. While you are learning Spring you are learning Maven or Gradle even without your consent.
To any non-js dev taking this too seriously: A good half of the technologies mentioned in this meme are redundant, you only need to learn one of them (in addition to the language). It’s like complaining that there are too many Linux distributions to learn: you don’t, you just pick one and go with it.
ebc@lemmy.cato Technology@beehaw.org•The inside story of Elon Musk’s mass firings of Tesla Supercharger staff2·1 year agoHaven’t watched the video, but what do you think circularization is? If you’re “just a circulization away from orbit”, you are indeed going a bit slower than orbital velocity. There’s no point to going orbital velocity if your trajectory still brings you back inside the atmosphere. To get to orbit you want to raise your periapsis outside the atmosphere, and you do that by doing a burn at the apoapsis, which is what we commonly call “circularization”.
Just got a 30, which apparently is in the 26-32 range for Asperger’s. My wife keeps telling me she thinks I have it, looks like she might be right, lol.
I went to Kamelot’s show last weekend, if you don’t know them definitely check them out. Opening act was Ad Infinitum, I didn’t know them but I was blown away! Melissa Bonny is an amazing singer.
When somebody doesn’t want to give me a price, I’ve started asking them for an order of magnitude. Sometimes they still don’t want to say a number, but when I ask “is it 2$, 20$, 200$, 2k$, 20k$?” they will usually give me a ballpark, along with the factors that’ll make the price vary.
I use famous programmers. First Linux server was Torvalds, first mac was Woz, currently in service I have Kernighan (one of the inventors of C), KJohnson (Katherine Johnson was a programmer for NASA) and Shamir (The S in RSA).
ebc@lemmy.cato Programmer Humor@programming.dev•Some of my iterations are delightfully recursive151·1 year agoA great point in favour of maps is that each iteration is independent, so could theoretically be executed in parallel. This heavily depends on the language implementation, though.
I’m gonna have to disagree here, it’s always a guessing game of how many layers of abstraction they’ve used to seemingly avoid writing any implementation code… Can’t put the code related to “bicycles” in the
Bicycle
class, no, that obviously goes inWheeledDeviceServiceFactoryBeanImpl
that’s in the ‘utils’ package.