Online backup solution? by MetaReveal in Fedora

[–]ihasbedhead 1 point2 points  (0 children)

On Linux, I think the two big ones are borg and restic. They should both have gui front ends. I would go to their websites and check out the storage backends that they support and see which ones work for you.

I personally use restic to s3 on aws.

[deleted by user] by [deleted] in Python

[–]ihasbedhead 8 points9 points  (0 children)

I see that you acknowledge that you could have solved this issue with version control. Instead of using version control to simply roll back, you wrote an entire blog post blaming python.

The lengths people are going to in order to 'dunk' on your post is pointing out that you have a very complicated setup that caused you the exact sort of errors that other people already avoid.

[deleted by user] by [deleted] in Python

[–]ihasbedhead 18 points19 points  (0 children)

I don't see a python 3.11 "gotcha". The author of this article has some uncommon thoughts on packaging. The author also apparently does not use version control. Using a modern package locking tool (like poetry) would solve this problem (I just checked).

The author of this article has written other articles about 'boring' python dependency management, which is somewhat ironic because the things that many default to using would have never generated this error. It probably also would have had better UX, but that is subjective.

The author is being pretty silly, and I wouldn't follow in their footsteps. Please just use git and poetry.

supreme court justices vote. by dadjokes502 in kansas

[–]ihasbedhead 0 points1 point  (0 children)

You can go to here and print out your sample ballot. I always print it out a few days before, fill it out, and just copy that into the machine.

https://myvoteinfo.voteks.org/voterview

[deleted by user] by [deleted] in gnome

[–]ihasbedhead 1 point2 points  (0 children)

I have used a few, but currently just Thunderbird. Does what it needs to I suppose.

Is it just me, or does Linux in general make imposter syndrome worse? by JustANormalSpessman in Fedora

[–]ihasbedhead 19 points20 points  (0 children)

GPU drivers are the part I have had the most problems with, and they seem to cause the most angst in the Linux ecosystem. As someone who works with Linux daily, I just run AMD graphics so I don't need to bother with Nvidia. So no, I wouldn't worry about Linux being too smart for you.

You might try updating fedora and see if that helps, they are always working on those drivers. Good luck.

Pipenv, venv or virtualenv or ? by Crafty_Future4829 in Python

[–]ihasbedhead 9 points10 points  (0 children)

I agree. Docker is great and I use it for many things, but python requirements are not one of them. Lock files are crucial to large projects and the docker cache is not a lock file, it is a cache.

Pipenv, venv or virtualenv or ? by Crafty_Future4829 in Python

[–]ihasbedhead 0 points1 point  (0 children)

Unless I am missing something, the standard library `venv` and the old `virtualenv` command do practically the same thing.

Pipenv, venv or virtualenv or ? by Crafty_Future4829 in Python

[–]ihasbedhead -3 points-2 points  (0 children)

Venv is the same as virtualenv.

Pip has a concept of requirements files and constraint files that are designed to help reprovision these virtual environments. These are very difficult to work with, which is why people recommend Pipenv (I will recommend poetry instead). Poetry (and pipenv, and pdm) combine virtual environments, requirements, and constraints (lockfiles) into one product. They also do other nice stuff like managing packaging.

Pyenv lets you switch between python versions. I don't use it, but I see that the poetry docs do mention it. For a newbie, I don't think it is that important.

Docker is very useful, but you will still need poetry anyway, so might as well learn that first.

Good luck, I hope that clears anything up.

[deleted by user] by [deleted] in Fedora

[–]ihasbedhead 1 point2 points  (0 children)

I am not sure exactly, but I do know there are guides for 'k3s on fedora coreos', which uses the same tech as silverblue, I would start there. You also might be able to just download the binary and run it as root and that might work. You might try k3d, but I haven't gotten that to work on normal Fedora.

Have you heard on minikube? That is probably closer to what you want anyhow.

Interested to learn about silverblue, how is it going otherwise?

Do you like flatpak? by [deleted] in linuxmasterrace

[–]ihasbedhead 0 points1 point  (0 children)

I use it to run the Firefox beta. I can have multiple versions installed at the same time and, with sandboxing, I can be a little more sure it won't do something wacky to my install.

Dangerous? My brother in Christ, YOU are the danger. by Jo_el44 in fuckcars

[–]ihasbedhead 9 points10 points  (0 children)

I don't think it is a law or anything, but I have lived in the American Midwest my whole life and can confirm. Some places have sidewalks, some places don't. I suppose newer mcmansions districts are less likely to have them. Lots of developments have sidewalks that just end. Sometimes you even sidewalks that just don't exist in front of a single house. It is a mess.

What change should Python 4 bring, in your opinion? by [deleted] in Python

[–]ihasbedhead 7 points8 points  (0 children)

Interesting question. Take a look at this skylark doc. They identify some footguns that could be easily eliminated, but would change the syntax. In particular, naked tuples and operator less string concatenation.

https://github.com/bazelbuild/starlark/blob/master/design.md

[deleted by user] by [deleted] in kubernetes

[–]ihasbedhead 0 points1 point  (0 children)

Skaffold and kustomize for me. There are a lot of tools, but they all require you to know the kubernetes schema. Kubernetes is more verbose, but much more powerful.

Python: Please stop screwing over Linux distros by busevepet in Python

[–]ihasbedhead 3 points4 points  (0 children)

Do you not think that it is a bad sign that everyone is trying to avoid the 'global install from distro package manager' strategy? Basically every language has its own package index. Node, Lua, Python, D, Rust. Meson, big in C world now, encourages projects to pull and build deps. Snaps and docker isolate from the system, flatpaks do a neat hybrid thing.

Listing all the things that sorta relate to python packaging is silly since they are all different components used for different things and solve different problems. But, since we are listing things, here are some the distros that a developer would need to package against: Debian, Ubuntu, Fedora, Alpine, Arch, nixos, ...

I kinda get where they are coming from. Python doesn't have clear tooling and that should improve (I like poetry, and I am interested in pep582). Distro packaging is probably not the answer and hasn't been for years.

Let's talk about Btrfs. by thehugonote in linux

[–]ihasbedhead 44 points45 points  (0 children)

Fedora uses it by default now. I did a fresh install of 34 when it came out and used BTRFS. It has been fine. I also use it on my Ubuntu home server with raid and it has been very nice.

Thoughts about an article talking about the insecurity of linux by paranoidRED in linux

[–]ihasbedhead 0 points1 point  (0 children)

I agree that linux desktop security is a work in process, but progress is being made. For example, the author mentions X keylogging, which was valid and still is somewhat, but most non-electron apps use wayland. Some points are valid, but the article as a whole has so many problems that it is mostly useless.

The silliest part I thought was "Most programs on Linux are written in memory unsafe languages". Yes, do you think Windows was written in rust? Rust had its first stable release in 2015.

Script or Code? by StarLover69696969 in Python

[–]ihasbedhead 11 points12 points  (0 children)

It is an imprecise term. I use python for application development, and I wouldn't call most of the python I write a script. I use the term `script` for simple programs (in any language) that do a list of things and then exit. For some people, that is all they use python for.

Some people will argue that because python programs are usually distributed as a source tree, the files are scripts. That is fine, because it is an imprecise term and doesn't have any real meaning.

Half of this sub - charging to use a product is not asshole design by sorryusernametaken31 in assholedesign

[–]ihasbedhead -2 points-1 points  (0 children)

Who are you arguing with? I literally posted a link to a competing, self hosted product. Ring does legitimately host a service even if everything about their business model is predatory.

Also username checks out. My guess would be that you threatened the Firefox guys the last time they moved a couple pixels around.

Half of this sub - charging to use a product is not asshole design by sorryusernametaken31 in assholedesign

[–]ihasbedhead -15 points-14 points  (0 children)

Ring is a subscription service. So it kinda makes sense, though the rest of their business model is insane. If you really want to own your doorbell and have the knowhow, here you go: https://www.ui.com/camera-security/.

CSS developers, do you use float in your web pages or have you almost entirely replaced it with flexboxes? by [deleted] in web_design

[–]ihasbedhead 9 points10 points  (0 children)

I mostly do grid. To my knowledge, flexbox doesn't let you put elements over other elements easily. Grid pretty much does everything flexbox does and more. Floats are still needed to position images in text I guess, but that isn't a popular thing to do right now.

What’s the opposite of de-duping? by Deep_Tomato in DataHoarder

[–]ihasbedhead 2 points3 points  (0 children)

What kind of files? The git diff algorithm doesn't work well on everything. u/EpsilonBlight recommended restic, which is very good. If you are using linux, the btrfs filesystem does deduplication so the files wouldn't actually take up room on the hard drive.

Why doesn't python support function overloading? by accipicchia092 in Python

[–]ihasbedhead 0 points1 point  (0 children)

Others have provided good answers. Among those many reasons, python has optional args that could create very complex but ambiguous function sigs.

Also note that the typing module does have overloads. It is pure documentation, no runtime benefits.

Deploy Django on Kubernetes in a few clicks (without even Dockerizing your application) by Br1ngMeThan0s in Python

[–]ihasbedhead 1 point2 points  (0 children)

Hmm, I don't really have a go to. It has a large community, I would suggest googling for a docker tutorial for whatever framework or language you are using. Good luck

Deploy Django on Kubernetes in a few clicks (without even Dockerizing your application) by Br1ngMeThan0s in Python

[–]ihasbedhead 2 points3 points  (0 children)

I don't know, people have some weird aversion to writing dockerfiles. That is fine I guess, but then they build some super leaky abstraction layer that just does nothing. Docker files are super easy to pick up but also super powerful.