Does Mac suffer the same bugs as windows in this case?
- 0 posts
- 54 comments
- eluvatar@programming.devtoProgrammer Humor@programming.dev•Something something case-insensitive file something...1 year
- eluvatar@programming.devtoLinux@programming.dev•People who have installed Linux on their parents computer, how did it go? Which distro do you recommend? Any tips?2 years
Poorly, I setup Mint while I was in town, a couple weeks later it won’t boot, can’t troubleshoot that kind of thing from out of state, so… Yeah
- eluvatar@programming.devtoProgrammer Humor@programming.dev•Not really sure whether S-expressions or Python indentation-based scoping get more hate...2 years
The number of times I move code around and can just press a hotkey to fix indentation though. Not possible with Python.
- 2 years
Yeah, it’s accurate both ways
Postgres doesn’t need that much ram IMO, though it may use as much as you give it. I’d reduce it’s ram and see how performance changes.
- eluvatar@programming.devtoProgramming@programming.dev•How I reduced the size of my very first published docker image by 40% - A lesson in dockerizing shell scripts2 years
Yeah in a PR I would probably reject this for being too clever. Before clicking I expected the image to start at 100mb or more, but it’s already under 50, who cares at this point?
- eluvatar@programming.devtoSelfhosted@lemmy.world•File server with on-demand sync, preserve the filesystem, and runs without external DB?English2 years
Why no real db? Those other 2 features make sense, but if the only option you can use sacrifices the 3rd option then it seems like a win. Postgres is awesome and easy to backup, just a single command can backup the whole thing to a file making it easy to restore.
- 2 years
1 is just not true sorry. There’s loads of stuff that only work as root and people use them.
- 2 years
About the trust issue. There’s no more or less trust than running on bare metal. Sure you could compile everything from source but you probably won’t, and you might trust your distro package manager, but that still has a similar problem.
- 2 years
Except lots of email services won’t take a technically correct email anyway.
- eluvatar@programming.devtoProgramming@programming.dev•Why isn't there a way to make near-native desktop UIs that's similar in ease to browser and electron UIs?2 years
QML on the other hand is awesome imo.
- eluvatar@programming.devtoProgramming@programming.dev•Does C# (or any other languages) have an official style guide like python has pep8?2 years
There’s
dotnet formatwhich will format your code. You can configure it with editorconfig
- eluvatar@programming.devtoProgramming@programming.dev•The C++ scope resolution operator is beautiful2 years
I like how Java uses it. As a C# dev I wish for it sometimes.
- eluvatar@programming.devtoSelfhosted@lemmy.world•Should I use Restic, Borg, or Kopia for container backups?English2 years
I use a k8s Cron job to execute backups with Kopia. The manifest is here
- eluvatar@programming.devtoProgramming@programming.dev•Mistletoe Package Manager (WIP) -- Run WASM, Get Kubernetes YAML2 years
I don’t like the idea of replacing one well known YAML schema (k8s as much as I hate it is well known), with another YAML schema that is not well known. I think I’d rather use something to get away from YAML altogether, rather than just trade one for another. The reason helm and kustomize work well is that your existing k8s resource knowledge transfers, it sounds like it wouldn’t with this thing.
- eluvatar@programming.devtoProgramming@programming.dev•when is it best to use a recursive function vs a for loop2 years
That just hurts me. I love to bag on Python for being slow. But that also totally makes sense.
- eluvatar@programming.devtoProgramming@programming.dev•Node.js segmentation fault does not happen on different envirnment3 years
I’d keep going until you see it again and try to solve it then. I wouldn’t report an issue that you can’t reproduce, some projects refuse to accept issues without a repro. Sometimes something weird happens and you don’t know why and you’ll never know, you just need to move on and keep building, if it’s a real problem it’ll come back.
- eluvatar@programming.devtoProgramming@programming.dev•when is it best to use a recursive function vs a for loop3 years
Yeah but performance has way more to do with architecture than it does code readability. It doesn’t matter how well you write your code, if it’s an electron app it’s going to use more ram than a native app. So I totally agree, but at the scale that it’s a real problem it has more to do with architecture than the code in any given function.
I only use it to clone projects via the Open in GitHub desktop link.
I was trying to think of a good real world example, but couldn’t think of anything. But if you were to think of it as Google docs. You could just copy every doc to change it, but if you’ve shared it with people then you will have to share it again. It also takes up a whole lot more space to do that, sure you could delete those old ones but that takes some work too.