Better HN
topnewbestaskshowjobs
Log inSign up

kees99

1,025 karma · joined Jul 3, 2016 (10y ago) · 522 submissions

Submissions

comment 6y ago · link · parent

Reminds me of the Raspberry pi 4 update, where enabling ASPM shaved something like 10% off the idle power consumption:

https://www.cnx-software.com/2019/06/29/new-raspberry-pi-4-v...

comment 6y ago · link · parent

Thumbs up with reaching out to upstream to mainline it.

Did you talk to musl team as well?

comment 6y ago · link · parent

I think you're right on the money here.

DNS-over-TLS uses port 853, so is trivial to block on a firewall and force fallback to plain-text DNS.

DoH is resilient to such an attacker - be it sketchy guy in starbucks trying to steal your cookies, or yourself trying to run pi-hole adblock.

comment 6y ago · link · parent

To set up digid, you apply via official website (or app), receive one-time code in your paper mail, then proceed back to the same website/app to register your password and phone number. App registers itself if you're using one.

Once set up, you have 3 authentication methods, selectable on login page:

1) password only (low-trust authentication, not all places accept this, certainly not your doctor's office);

2) password + 2nd factor via SMS/text (high-trust);

3) password + 2nd factor via app (high-trust).

comment 6y ago · link · parent

https://community.cloudflare.com/t/archive-is-error-1001/182...

tl;dr: cloudflare & archive.is: choose one.

comment 6y ago · link · parent

Oleum. Fuming sulfuric acid.

https://en.wikipedia.org/wiki/Oleum

comment 6y ago · link · parent

3rd-party recovery images (TWRP, ClockworkMod, ...) offer an option to "format" or "wipe" (mkfs, really) the /data partition. This should be much closer to what you seem to be expecting from a "factory reset".

comment 6y ago · link · parent

Did anybody try to run it? Python part of this PoC depends on python2 module "fuse", which in turn depends on "gunpowder", "a library to facilitate machine learning on large, multi-dimensional images". What is even going on here?

  $ pip2 install fuse
  Collecting fuse
    Downloading https://files.pythonhosted.org/packages/c3/f6/82777531d0dd0fa1d1b509258873f4b48e1ec702dcf0258214fafb474895/fuse-0.1.3.tar.gz
  ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI.
  fuse depends on gunpowder@ git+https://github.com/funkey/gunpowder@721718b6569b47a2f5d5d6633c76c85f779e25c7

comment 6y ago · link · parent

Piping output of an "rm -v" is an oddball, with all the possible stdio buffering, I agree.

More real-life example fitting your model would be "start this long-running process and show me first 10 lines of output, just to make sure it didn't bail right away", but then, a more common pattern would be to keep a copy of the whole log too:

  myfoo >/var/log/foo & tail -f /var/log/foo | head
Counter-example would be "yes", but also unordered sampling. Let's say I want to know if there is file with "foo" in its name somewhere in a very large directory, just a yes/no. Continuing directory traversal after finding one is a waste of time. SIGPIPE is desirable here as well:

  find directory/ -name '*foo*' | head -1

comment 6y ago · link · parent

"rm -v" does.

comment 6y ago · link · parent

Wouldn't it be better to be explicit? If intention is to "display first 10 lines, at most; discard the rest", you can write:

  rm -vrf directory/ | (head; cat >/dev/null)

comment 6y ago · link · parent

I'm struggling to reconcile "Linux-ready" in the title and this blurb in the article body:

  MediaTek Helio P24 SoC is not one of the
  most easily hackable, and its Taiwanese
  manufacturer is not exactly famous for
  releasing kernel sources.
1
121314
18