Better HN
topnewbestaskshowjobs
Log inSign up

lmns

206 karma · joined Apr 22, 2015 (11y ago) · 110 submissions

Submissions

comment 4y ago · link · parent

>When an attacker gains a foothold in a corporate environment, they will immediately try to find any accessible credentials to assist in lateral movement.

So you think this isn't the case with home users? Maybe I still misunderstand the point that is being made here, but from my perspective it's only a matter of time until my encrypted password store gets exposed to the local attacker (as soon as I unlock it).

comment 4y ago · link · parent

Have you tried a different USB-A charger? Some smaller devices have problems with USB-C to USB-C. I don't know why this is the case, though. It's just something I have observed with different devices.

comment 4y ago · link · parent

What are "absurd" amounts of CPU and memory? Calculating and pinning dependencies is just a very difficult problem which happens to be reducible to SAT. If you think a SAT solver takes a lot of time and memory, then all alternatives would probably be even slower.

comment 4y ago · link · parent

I use pip-tools with venvs for that and can‘t complain. It pins dependencies and you can create different requirements.txts for local dev and production (production for me is usually dev minus some debugging tools). It‘s not particularly fancy, but it gets the job done.

comment 4y ago · link · parent

Threema's protocol doesn't even implement forward secrecy. From a security standpoint Threema is closer to iMessage than to Signal or other Signal-protocol-based messengers.

comment 4y ago · link · parent

My understanding is that containers actually can access nftables with CLONE_NEWUSER even without CAP_NET_ADMIN.

EDIT: Apparently the Docker default capabilities don't allow CLONE_NEWUSER: https://opensource.com/business/15/3/docker-security-tuning

comment 4y ago · link · parent

Are you implying that getting init script customisations overwritten by package managers isn't a problem with non-systemd init managers?

I have lost track how often that happened with sysvinit, because the "logic" how to treat customisations was usually handled by the package manager and they messed it up regularly.

systemd has a standard way to handle customisations. As long as you put everything you do in /etc/systemd/system, everything is fine. It's simple and works across distributions.

comment 4y ago · link · parent

It is different. I can run a Debian VM with GUI applications on any recent x86 Chromebook. It's pre-installed and supported.

comment 4y ago · link · parent

802.11n with 5 GHz is okayish, but using 2.4 GHz can be brutal. It's not just the bandwidth, the whole frequency band is just bad. My latency regularly goes through the roof and voice calls are noticeably worse than with 5 GHz wifi.

802.11ac mandates 5 GHz, so it's a reasonable baseline. I don't even care if it's SISO, MIMO or whatever as long as I don't have to fall back to 2.4 GHz.

comment 4y ago · link · parent

With that budget you won't find an always-on display. OLED panels are just too expensive.

comment 5y ago · link · parent

Try 'python3' or 'python2'.

comment 5y ago · link · parent

I think the appeal of the 13 mini is that it actually has all the interesting features of the bigger phones (minus 120 hz and ProRes), just in a smaller phone. I would agree that this is true for the SE, though, but it's also significantly cheaper.

comment 5y ago · link · parent

They could easily do it if they wanted to, now that they have more control over the SoC. With Chrome OS they already do it. Most devices that are released now will get 8 years of security updates, which are supplied by Google.

comment 5y ago · link · parent

A toothpick also works fine.

comment 5y ago · link · parent

The author forgot to add the "duckie" item in the list.

comment 5y ago · link · parent

I guess the installation via pip is only best effort in the sense that they can't support every platform that pip is able to run on. For example their dependency on the "cryptography" library might cause problems on platforms which can't get a pre-compiled version from PyPi and have to built it from source.

If you are on x86 and use a distribution with glibc I wouldn't expect any problems.

comment 5y ago · link · parent

It's tricky, because most phones can't be flashed with an alternative aftermarket OS. I know that LineageOS etc. exist, but most phones don't have a stable build and a lot of SoCs will never work reliably with an aftermarket OS.

In that case whoever will exploit your phone first is the one who owns it, not you.

comment 5y ago · link · parent

64 characters? Why would they do that?

comment 5y ago · link · parent

Modern low- to midrange phones certainly have more RAM and storage than your 2014 phone, which matters more than the raw benchmark scores.

comment 5y ago · link · parent

This has been a problem for a long time. I'm not sure why other distributions are better at this than Debian, but I think it has something to do with how Debian splits up software in much more packages than other distributions. Maybe it's more difficult to keep track of the state?

comment 5y ago · link · parent

>Most desktops today only have a browser and some office application installed.

The desktops I see on a daily basis don't have only a browser and office application installed.

I'm not sure which phone or OS you are using, but almost all smartphones have some kind of TPM or TEE nowadays. FWIW, the banking app on my Android phone makes use of that through the KeyChain API.

comment 5y ago · link · parent

>Chances that the average user's phone is compromised is very high.

How do you know? Android and iOS apps are much better sandboxed than desktop applications (which usually aren't really sandboxed at all). I would guess the chance of phones getting compromised is much lower than for the average desktop.

comment 5y ago · link · parent

I've never heard of a phone that does this.

comment 5y ago · link · parent

I know what you mean, but as soon as you have transitive dependencies it doesn't work at all. At that point you can't reproduce the same state of your venv at a later date because some minor version of a dependent package could change and maybe break your build.

comment 5y ago · link · parent

I'm surprised that pip-tools isn't more popular. For the stuff I do with Python (small CLI tools, casual webdev) it's completely adequate. I can pin down my dependencies, upgrade to a new pinned state and sync my venvs with the packages specified in the generated requirements.txt.

Maybe there are more elegant or modern ways of doing this, but for my personal projects I haven't found a reason to switch to anything else.

Btw, there is also micropipenv[0] now which can consume both poetry and pipenv lockfiles and convert them to pinned down requirements.txts as generated by pip-tools.

[0] https://pypi.org/project/micropipenv/

comment 5y ago · link · parent

How do you pin all of your dependencies to a specific version with just venv, pip and a requirements.txt? How do you upgrade them later?

comment 5y ago · link · parent

I don't know, that's what the developers say (last paragraph): https://pypi.org/project/psycopg2/

comment 5y ago · link · parent

Packaging is simpler. psycopg2-binary is actually not recommended for production use, so you have to compile it yourself.

comment 5y ago · link · parent

Am I the only one who never liked Computern Modern? It works and the math symbols are very complete, but it just looks way too thin.

comment 5y ago · link · parent

I know, but just setting MemoryDenyWriteExecute=yes is even easier.
1234