• 10 Posts
  • 1.28K Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle



  • lemmyvore@feddit.nltoLinux@lemmy.mlDeduplication tool
    link
    fedilink
    English
    arrow-up
    13
    ·
    2 days ago

    Use Borg Backup. It has built-in deduplication — it works with chunks not files and will recognize identical chunks and avoid storing them multiple times. It will deduplicate your files and will find duplicated chunks even in files you didn’t know had duplicates. You can continue to keep your files duplicated or clean them out, it doesn’t matter, the borg backups will be optimized either way.


  • I’m just gonna add this for completion, DroidCamX can be installed on a smartphone and its cameras will act as an IP camera. DroidCamX also has a Linux package that will make the connected phone show up as a V4L2 device. You can connect the phone over USB or over LAN in two ways (PC connects to phone or phone connects to PC).

    Now obviously a phone isn’t ideal for running 24/7 but since this is about privacy I thought it’s worth mentioning.


  • I think they count every download of every package, every version, every time. It’s not the number of unique users or even packages.

    If you install 3 apps you might need to download 3 versions of graphics driver, 3 versions of desktop environment libraries and so on, It won’t count as one user installing 3 apps, it will show up as 10 -20 downloads. And that’s just the initial install, every time you update them it counts another 10-20.


  • 60M total but divided among 40 counties makes 1.5M variations per county and the capital city (which is its own county, like Berlin) went over that.

    I looked it up and Bucharest actually has only a 1.7M population so… I think it’s understandable that nobody expected an almost 1:1 person-to-car ratio. Exactly why and how they reached that crazy ratio I have no idea. 😆

    Told you it’s a crazy rabbit hole.


  • Speaking of car plates, the Wikipedia pages for “Vehicle license plates of [insert country here]” are a rabbit hole.

    I was just reading the page for Romania the other day, speaking of uniqueness, and they had this issue apparently where the combinations overall were enough for the whole country but not enough for their capital city, so they had to hack an extra digit into the plates for the capital.



  • There’s some hardcore conflation going on that assumes that people with technical skills will tend to be good at everything, or that they’ll gravitate towards the uber-geeky stuff.

    In my experience it’s a very wide spectrum. Lots of programmers are strictly focused on the language they use and don’t care to know anything about the OS, or networking, even computers. They are definitely not jacks of all trades.

    There are people who can do programming as well as system administration and build a PC and build some book shelves and so on. But that’s a very specific type of person who’s a tinkerer and happens to be into programming, it’s not because they’re a programmer.


  • I’ve tried Firefox limited to 1 GB for a laugh. It’s usable. It won’t do many tabs at the same time but it’s usable.

    You can actually go lower than that but you’ll start to run into limitations with YouTube videos etc.

    There are also other browsers out there that are more light-weight but perhaps not as feature-full as Firefox. Giving up extensions alone reduces a lot of complexity. If you fire up the package installer on any Linux distro and search for “browser” you’ll find a ton. There aren’t many engines but there are a lot of browsers.


  • These days I follow a hard heuristic: Always use synthetic keys for database tables.

    And the way to follow this rule is fairly simple, but it has a few twists.

    For internal use, the best and most common key (in a relational database) is an auto-generated incremental sequence. But it it ok to use it externally? – across databases, across types of data storage, across APIs / services etc.

    It’s tempting to refer to the sequence number in API calls, after all they are going to that particular database and are only going to be used with it, right? Well not necessarily; the database and the code powering the API are different systems, who says there won’t be other apps accessing the database for example.

    The current OpSec school of thought is that sequence keys are an internal database mechanism and sequence numbers should only be used for internal consistency, never used as external references (even for the “local” API).

    Sequence keys also don’t offer any way to deal with creating duplicate data entries. If you’ve been around for a while you’ve seen this, the client sends the same “create” request twice for whatever reason (UI lets user multiple-click a button, client assumes timeout when in fact it had gone through etc.) Some programmers attempt to run heuristics on the data and ignore successive create attempts that look “too similar” but it can backfire in many ways.

    An UUID is pretty much universally supported nowadays, its designed to be unique across a vast amount of systems, doesn’t give anything away about your internal mechanisms, and if you ask the client to generate the UUID for create requests you can neatly solve the duplicate issue.

    Do keep in mind that this doesn’t solve the problem of bijection across many years and many systems and many databases. An entity may still acquire multiple UUID’s, even if they’re each individually perfectly fine.

    There can also be circumstances where you have to offer people a natural-looking key for general consumption. You can’t put UUID’s on car plates for example.



  • I’m just gonna address the domain question.

    ccTLD’s for countries that are members of the EU usually have pretty strong privacy protection, especially if you are buying as an individual.

    .de (Germany) is probably the cheapest (3-4€) but if you’re not a resident you will need the registrar to arrange a mailing address for you for a small fee (another 3€ or so). Still going to be a pretty low price.

    .nl is another cheap option, without any residency requirement.

    The only issue with both is that you can only buy for one year at a time.

    The owner’s details in the registry are never published. Legit requests in case of abuse etc. need to go through the registry.


  • lemmyvore@feddit.nltoLinux@lemmy.mlAnyone using OSMC
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 days ago

    I’ve had my fill of proprietary media boxes. I have a box full of them somewhere. Eventually they fall behind in codecs and protocols and processing power and updates and they become useless.

    I guess I’ll bite the bullet and install Kodi in a container…







  • That’s weird, I have a laptop that probably even weaker (Pentium 2020M with 4 GB of RAM) that used to run Ubuntu fairly ok until about 4 years ago (but it has a SSD).

    It’s now running Manjaro pretty well, just can’t compile some Rust-based apps because it runs out of RAM. 😄 But I get them from Flatpak instead.

    If Ubuntu went off the rails during these last few years it’s a pity. Anyway, it should not be indicative of how well Linux runs on such a machine, just try another distro.