balsoft

joined 3 months ago
[–] [email protected] 1 points 2 days ago

Yes, that can happen sometimes, but I find that there are plenty of cheap options with unlocked bootloaders if you look for them.

[–] [email protected] 1 points 2 weeks ago (2 children)

Nah, cheap phones often have their bootloader unlocked/unlockable. Really happy with my POCO M5 running modified AOSP. Also, unlike every expensive phone nowadays, it has 3.5mm jack, SD card slot, and exceptional battery life for hiking/trekking (it survives 5-6 days as just a camera+map phone with all power saving on, in comparison people with flagships typically only last 2-3 days with the same usage and power-saving techniques).

[–] [email protected] 3 points 2 weeks ago* (last edited 2 weeks ago)

You can almost always replace the battery, even when the manufacturer doesn't want you to. As for flashlights, they typically come with easily user-replaceable ones, often even sold separately. Worst-case, you can get a AA or AAA flashlight and use rechargeable AA/AAAs.

[–] [email protected] 2 points 2 weeks ago

I've paid quite a lot for my second headlamp for hiking, but I am really happy with the purchase as it's very light (35 g) compared to my first cheapo one (~120 g), while being the same 200 lm max. It doesn't sound like much, but it's enough for me to not even notice it, while the heavy one was getting annoying after a while.

[–] [email protected] 1 points 2 weeks ago

I'd say it depends. For safety-critical stuff maybe, but for a headlamp or something I prefer rechargeable as I can easily recharge it from a power bank or a portable solar panel if needed. If you run out of a disposable battery for whatever reason, you're screwed.

[–] [email protected] 18 points 2 weeks ago* (last edited 2 weeks ago)

I'm not sure you should "cheap out" on headphones per se. The really cheap ones are usually horrible, both in terms of sound quality, usability and comfort (well, except for wired Apple ones, allegedly, though they never fit me right). It's just that it makes no sense to go for really expensive ones, unless you're really into audio and love hearing the tiny sound reproduction differences between them, or enjoying the different tech etc. The middle ground of $50-$100 for in-ears and $100-300 for over-ears will often offer you good/great/excellent sound quality and the same usability&comfort as more expensive ones.

[–] [email protected] 0 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Problem is not how weak or strong the encryption is

Here it's definitely part of discussion. The context was

It’s encrypted anonymous communication capabilities.

It's barely anonymous, and poorly encrypted. The latter is the reason Durov is in custody while Signal devs are scott free. He could easily turn illegal stuff over to French authorities, but doesn't.

The bigger problem is that people somehow assume this a huge threat, while all previous cases didn’t involve anything like that.

There have absolutely been cases where a backdoor/weakness/lack of encryption used to catch criminals before: https://en.wikipedia.org/wiki/Operation_Trojan_Shield https://en.wikipedia.org/wiki/Ennetcom https://en.wikipedia.org/wiki/EncroChat . I distinctly remember that there were also arrests of opposition activists in Russia based on personal messages in VKontakte, but can't find the news right now.

real criminals do their stuff everywhere (especially on telegram) for years, staying safe.

Some are staying safe, others are being caught precisely because of this.

Problem is not how weak or strong the encryption is, but that once you are under oppression and do opposition activities, you’re going to learn by yourself how to deal with it.

Using better encryption schemes is definitely part of that.

[–] [email protected] 1 points 3 weeks ago* (last edited 3 weeks ago) (3 children)

Toy may call it TLS but it’s a custom protocol.

Sure, it's mtproto. The security it provides for non-encrypted chats (which are the absolute majority of chats) is not any different from just having TLS for transport. It's potentially even worse as it's not as well-audited.

Data is not kept unencrypted on their servers, according to their docs.

That just means that they store both your data in some encrypted way and the key. They can still read it trivially. You don't even have to know the protocol to understand why: you can add new devices without having any other device online, and read all non-secret chats. It might also just mean disk encryption, in which case it's plain-text in RAM while the server is running.

[–] [email protected] 2 points 3 weeks ago* (last edited 3 weeks ago)

Hoe do you self host a nix package repo & install nix packages from 3rd party repos? Is this even possible.

So, one aspect of this has already been answered by @[email protected] . If you just want to package some stuff yourself, then do it (look at various NUR repositories for inspiration), put it in some git repo (or even a .tar.gz somewhere), and then fetch it from your NixOS config, either with flakes or þe olde way with let myPkgs = import (builtins.fetchGit { url = "https://..."; rev = ""; }) {}; in ....

Another aspect would be providing a substituter/"binary cache" for your repository, so that its users wouldn't need to build everything from source. This is a tad more complicated, as you have to set up some form of CI+CD, a place to host the cache, and your users would have to configure their systems to trust your build infrastructure.

It's all quite doable, and if you have some CI system&s3 bucket ready, boils down to nix copy $(nix build --print-out-paths) --to s3://your.hosting/your-cache with some authorization and error handling. There are also some readily available services that do it for you, like https://nixbuild.net, https://garnix.io, and https://cachix.io; however, be prepared to pay for the convenience.

Then, on the user end, you'd have to add extra-substituters = https://your.hosting/your-cache; extra-trusted-public-keys = <...> to ~/.config/nix/nix.conf, and it should all mostly work.

Examples of complex 3rd party repositories with a binary cache would be both aforementioned Chaotic and Nixified AI, and a more unusual haskell.nix.

[–] [email protected] 1 points 3 weeks ago* (last edited 3 weeks ago)

To add to this, there's also Nix User Repository

[–] [email protected] 10 points 3 weeks ago (1 children)

FYI a great way to share your logs (if you have internet on the machine but no GUI) is to use a pastebin like 0x0.st. E.g. do journalctl | curl -F'file=@-' https://0x0.st and post the link here.

[–] [email protected] 5 points 3 weeks ago* (last edited 3 weeks ago)

I'd try the kernel version used in 23.11 to see if that fixes it. Add boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_1; to your config (make sure to add it before the closing }) and sudo nixos-rebuild switch . You can also try older versions, like linux_5_19. If it doesn't fix the problem it might be that the ACPI error is a red herring and the problem is something else entirely, in which case it'd be more difficult to diagnose, and I'd recommend just staying on 23.11 for now and only taking the new packages that you need from 24.05. There's a great post on how to do this here: https://discourse.nixos.org/t/installing-multiple-packages-from-unstable-channel-in-configuration-nix/19271/2 (probably also in the docs somewhere but I couldn't find it easily).

view more: next ›