biscuits

joined 1 year ago
[–] biscuits@lemmy.sdfeu.org 1 points 1 year ago (1 children)

"Bitbucket is a code management service. It is much better than the Git code management service"

In this context it's even funnier

[–] biscuits@lemmy.sdfeu.org 3 points 1 year ago (1 children)

Yeah, but you have compared top-of-the-line Ryzen model vs. Intel's high-medium tier. That's not gonna really help.

2
ZFS backup strategy (lemmy.sdfeu.org)
submitted 1 year ago* (last edited 1 year ago) by biscuits@lemmy.sdfeu.org to c/datahoarder@lemmy.ml
 

Hello,

I've been lately thinking about my backup strategy as I'm finalising building my NAS. I want to use ZFS and my idea was to have two drives in mirror (RAID-1) configuration and just execute periodical snapshots on such dataset. I want to the same thing in a second location, so in the end my files would be on 4 different drives in 2 different locations and protected by snapshots from deletion or any other unwanted modification.

Would be possible with this setup to just swap one of the drives in one location and have ZFS automatically rebuild data on the new drive and then I take the drive to second location and do the same so all drives would be exactly the same, instead of copying data manually? Though I believe all of the drives would need to be exactly the same size, is that right?

Is it a good idea in general or should I ditch it, or maybe just ditch the part with ZFS rebuilding and use instead some kind of software for that?

Thank you for your help in advance!

[–] biscuits@lemmy.sdfeu.org 7 points 1 year ago* (last edited 1 year ago)

Google is intrusive. The story where Google literally send police on a dad that had stored photos of his son on Google Drive that he meant to show to a doctor or countless stories with scanning emails. For the first one a mitigation could be to encrypt files before hand, but it's not at all convenient for regular people that want to have their photos automatically synced and backed up. For the second one, you could also encrypt emails beforehand using PGP, but yeah, pretty much no one does that. And none of this potential mitigations make Google any less intrusive. And I think I could even argue they allow themselves to be like that because they are this big.

That being said, I'm not arguing that Google Workspace, that integrate tools, storage and emails for way cheaper that other alternatives, is not great value for companies. But it's still Google, so no matter how you look at it, it's still bad choice for privacy. But the other choice being Microsoft, there's hardly a better way.

[–] biscuits@lemmy.sdfeu.org 1 points 1 year ago* (last edited 1 year ago)

Also keep it mind that, while Grist looks like a spreadsheet, there are some key differences between it and a typical spreadsheet (see here). You may need to spend some time with the documentation (which is really good btw, and they have video tutorials as well), but in my opinion it's really worth it.

[–] biscuits@lemmy.sdfeu.org 7 points 1 year ago* (last edited 1 year ago) (1 children)

I use Grist for this purpose. Check out this template, this may be just what you want and using widgets it is quite easy to create a form to append to the expenses database (just like here). Grist works really nice on mobile too and is also pretty easy to self-host if you need an extra degree of privacy, but you can use the official instance as well.

If you want I can send you my Grist template that does pretty much all things you want.

[–] biscuits@lemmy.sdfeu.org 1 points 1 year ago

You need parser for that, so a piece of software that takes a text file in given format and transforms it into data structure that some program expects. Some parsers can be pretty complicated as formats like JSON or YAML are complicated themselves (because of objects, arrays, etc.), but other can be pretty straightforward.

If we assume file format like INI that is structured like "keyA = valueA" with every pair of key and value in a new line, then the parser could go over every line and just split it in half. Then you have the first part containing name of some option and then the second part with value for that option.

It would be also great idea to sanitize inputs in case there are any special characters in either key or value. Also, if you take a look at the INI file Wiki page, you'll see that the INI format is a little more complicated itself, so a good parser would need to account for that as well, but the basic functioning is just like above.

[–] biscuits@lemmy.sdfeu.org 3 points 1 year ago (1 children)

It really depends what other init system you mean, but openrc checks all the boxes. It uses shell scripts, but I've never seen any that would be 500 lines long (at least in Alpine). Services can have defined dependencies as well can be classified into groups so you don't need to configure for any specific service, you can just say 'depend on dns' and any available will be run. And openrc also supports running services in parallel.

[–] biscuits@lemmy.sdfeu.org 3 points 1 year ago

I really like Alpine's mkinitfs. It seems like the most straightforward approach IMO.

[–] biscuits@lemmy.sdfeu.org 13 points 1 year ago (7 children)

In my setup I still use reverse proxy even though all of my services are inside a VPN. IMO it is just more convenient to have services accesible as subdomains or subdirectory than as different ports.

[–] biscuits@lemmy.sdfeu.org 3 points 1 year ago* (last edited 1 year ago) (1 children)

Just remembered that Bitwig also exists. It seems it is quite popular DAW and also kinda similar to Ableton (IIRC it was created by some former Ableton employees), so there should be a lot learning resources for that and it runs natively on Linux. It also comes with a library of sounds and MIDI clips AFAIK, just like the other comments pointed out. The downside is that it's a paid software.

[–] biscuits@lemmy.sdfeu.org 4 points 1 year ago (3 children)

If you want a DAW with bigger community and a lot of tutorials then obviously you could go with FL Studio or Ableton on Windows/macOS (or maybe you could try to run those with Wine), but on Linux it seems that Ardour is the most popular one. Most tutorials should be quite easily applicable to other DAWs/plugins though, you will just need to put a little more effort into it, but I guess it also means you would learn more. So I wouldn't care about DAWs too much, because it doesn't really matter and it's obviously kinda hot topic in music-making community (just like which distro topics in Linux community haha). Just play with some of them and pick whichever you like the most. Maybe later you will feel that your DAW limits you in some way, but then you will already know what to look for.

Regarding learning resources, just off the top of my head I would recommend watching some videos of unfa. It is a really good channel about making some music on Linux. There are probably some more channels that focus on that too, but I don't really remember any right now. There are also sites like linuxmusicians.com and linuxaudio.org that may be helpful, especially when looking for plugins and stuff like that. And there are some related communities back on Reddit. Other than that I'd just go and watch some "general" tutorials, e.g. how to make bassline, how to make kick, and try to adapt them to your Linux workflow, as I said earlier, and just try and have fun.

[–] biscuits@lemmy.sdfeu.org 4 points 1 year ago* (last edited 1 year ago)

If that were true that it wouldn't be just a side note because it would render the whole Bitwarden product useless. It'd pretty much mean that they are not encrypting passwords at all, so even worse than infamous LastPass. But as the other comment pointed out, it's pretty much not like that.

view more: next ›