HNHacker News
TopNewBestAskShowJobs

lmns

206 karma · joined April 22, 2015

submissionscomments
lmns··on Browser password managers – flawed security, by design
>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).

lmns··on Electronics are built with death dates. Let’s not keep them a secret
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.
lmns··on Upgrading what might be the oldest running Linux install
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.
lmns··on Things I do every time I start a Django project
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.
lmns··on Tell HN: iOS Signal eats your disk space
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.
lmns··on Linux: Vulnerabilities in nf_tables cause privilege escalation, information leak
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

lmns··on Start Self Hosting
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.

lmns··on The Charisma Machine: The life, death, and legacy of One Laptop per Child
It is different. I can run a Debian VM with GUI applications on any recent x86 Chromebook. It's pre-installed and supported.
lmns··on Google to end support for OnHub routers in 2022
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.

lmns··on Ask HN: A cheap smartwatch with a supported SDK
With that budget you won't find an always-on display. OLED panels are just too expensive.
lmns··on Alpine Linux 3.15
Try 'python3' or 'python2'.
lmns··on Ask HN: Why there are no Android mini phones?
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.
lmns··on Google Pixel 6 and Pixel 6 Pro
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.
lmns··on Google Pixel 3 (XL) bricking out of nothing
A toothpick also works fine.
lmns··on NP Complete 3rd Grade Math Problems (2018)
The author forgot to add the "duckie" item in the list.
lmns··on Another free CA as an alternative to Let's Encrypt
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.

lmns··on The EU Wants a Universal Mobile Charger, but Apple Doesn’t
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.

lmns··on From stolen laptop to inside the company network
64 characters? Why would they do that?
lmns··on K-9 Mail is back
Modern low- to midrange phones certainly have more RAM and storage than your 2014 phone, which matters more than the raw benchmark scores.
lmns··on Debian bullseye release planned on 2021-08-14
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?
lmns··on 81% of developers admit to knowingly releasing vulnerable apps – research
>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.

lmns··on 81% of developers admit to knowingly releasing vulnerable apps – research
>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.

lmns··on Turn your old, cracked Android phone into a backup server
I've never heard of a phone that does this.
lmns··on Ask HN: Why Poetry did not become a mainstream package manager for Python?
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.
lmns··on Ask HN: Why Poetry did not become a mainstream package manager for Python?
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/

lmns··on Ask HN: Why Poetry did not become a mainstream package manager for Python?
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?
lmns··on Pg8000 – Pure-Python PostgreSQL driver
I don't know, that's what the developers say (last paragraph): https://pypi.org/project/psycopg2/
lmns··on Pg8000 – Pure-Python PostgreSQL driver
Packaging is simpler. psycopg2-binary is actually not recommended for production use, so you have to compile it yourself.
lmns··on Using Computer Modern on the web (2013)
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.
lmns··on OPNsense and HardenedBSD are parting ways
I know, but just setting MemoryDenyWriteExecute=yes is even easier.
Page 1 of 4Next →