I’ve got a subset of my files encrypted and backed up using borg. It gets backed up to another computer in my home and then cloud storage via borgbase.com.
I’ve got a subset of my files encrypted and backed up using borg. It gets backed up to another computer in my home and then cloud storage via borgbase.com.
The intent is to capture the parsing errors within a function, so the response could be capture in a single if let or match or is_okay condition.
If you use functions that return result (like your main, but with a different error) you could remove some of the if let blocks with let num = part2.to_string().parse::()?;
. That might obfuscate some of the conditionals so the statements are one after another.
Cool project, let us know about the next iteration.
And how do you like yew? Long ago I used seed.rs, which was more like ELM than react. But I think that project has since gone unmaintained. I also tried yew when I think they were in the middle of a huge API transition. Do you think its easier to write in yew than it would be in react/vue/svelte?
Cursed tech stack and image. Project looks cool. Can you elaborate more on why you used rust for front end and python for backend? I would assume rust would have been more applicable for back end work. Then again, Im not familiar with fastAPI.
There’s so many useful methods for iterators its worth reading the doc page to familiarize yourself. Its wicked powerful: https://doc.rust-lang.org/std/iter/trait.Iterator.html
~/repo for code I write and ~/src for code I didnt.
Thats a wonderful article. Thank you for sharing
I’ve been using micromamba/mamba and not had solving issues like I did with conda. Im glad conda integrated libmamba.
Question: why were docker containers deemed security risks?
Use a raid atrray, and replace drives as they fail. Ideally they wouldnt fail behind your back, like an optical disk would.
Has anyone ever used the enterprise version of dbeaver? Does it do as good a job interfacing with nosql databases it does relational databases?
Can you post a pic of your DE? Im curious to know what your cinnamon looks like.
My drive to nix was so I could simply manage what packages I had installed with a text file. If I removed something from the file, I expect it to be uninstalled. I never found a tool/wrapper for apt to do this.
If you want to start with nixos, I would take whatever distro you are on and install nix and then home manager. Then, you can slowly migrate your user configuration over without starting from scratch. That worked really well for me going from ubuntu to nixos.
Niri looks really cool. I’ve used tiling WM before but scrolling is a unique take, perhaps more productive for some folks?
Nushell is a good one. I do data science for a living and it’d be nice to have the shell handle some small data transformations instead of writing a script in python. But all the syntax and behavior is very different than bash, so I’ve been afraid to start because of the learning curve.
Idk…kind of neat, but is the die rolling example any better than just doing ‘while roll() != 6:’?
I would love similar movement with regards to doc comment standards. My company uses numpy and its too verbose, and the style guide makes zero mention of type hints so we keep winging it. And with not many tools for enforcing the standards (like what type to actual write for a parameter) its an ongoing battle among the team.
From my short time with proxmox, I had to dive into the command line to do configuration at the host level that couldnt be done with the UI. I think nixos will help replacd those ad hoc configurations with nix options. In the many articles I read about gpu passthru, and also doing harddrive passthru, I had to work in the host debian environment.
I dumped proxmox because I couldnt get gpu passthrough to work, and havent looked back. Nixos modules and docker have served me better than VMs for my usecase.
Yes I’ve got that set but still running into issues at runtime.
It was not configured correctly. Its a nixos bug. Thanks for pointing out the daemon config its what lead me down to solving the docker problem.
I use borgbackup to create backups. I point backups to another home computer and borgbase.com. Borg itself is an amazing tool. I think you should learn how it works even if it doesnt end up being the best fit for you.