HNHacker News
TopNewBestAskShowJobs

knweiss

164 karma · joined January 3, 2010

submissionscomments
knweiss··on Ask HN: I’m an FCC Commissioner proposing regulation of IoT security updates
I can’t believe you’re the only one mentioning this.
knweiss··on Apple's feedback mechanism is broken
Feedback and bug reports (exception: security) should be public and users should be able to vote. Apple then could prioritize much better.

Also, take a look at their user forums: They are full of bug reports with hundreds of users having the same problems - and nothing happens. I really wish they would react much better with official acknowledgments, references to open bugs, workarounds, etc. It is depressing how much collective time is wasted.

knweiss··on 100 People with rare cancers who attended same NJ high school demand answers
Interactive PFSA map for the US: https://www.ewg.org/interactive-maps/pfas_contamination/map/
knweiss··on AMD is dominating Intel in Amazon's best-selling CPUs list
FWIW: AMD offers this: https://developer.amd.com/amd-aocl/blas-library/

The source code is available on GitHub.

knweiss··on Spectre Mitigations in Microsoft's C/C++ Compiler
IMHO it's worth mentioning that this discussion is about Spectre variant 1 (as is the original article). I.e. we should not write "Spectre" when we talk about a specific Spectre variant.

I'm mentioning this because (at least to my understanding) in Spectre variant 2 the entire address space of the victim process can be used to find the "gadget" i.e. an usable target for the indirect branch. This means that making only your input validation code "spectre-free" is not good enough for variant 2. (This is why e.g. OpenSSH recently started using the (Spectre variant 2!) retpoline compiler flags of GCC/LLVM if available. See this thread for details: https://lists.mindrot.org/pipermail/openssh-unix-dev/2018-Fe...)

knweiss··on Linus on Git and SHA-1
There are better cryptographic hash functions (e.g. Blake2) than SHA1 that are even faster. Check out the "results" slide of this slide deck for the cycles per byte table: https://blake2.net/acns/slides.html
knweiss··on How is NSA breaking so much crypto? (2015)
From the OpenSSH moduli(5) man page:

  "When performing Diffie-Hellman Group Exchange, sshd(8)
  first estimates the size of the modulus required to
  produce enough Diffie-Hellman output to sufficiently
  key the selected symmetric cipher. sshd(8) then randomly
  selects a modulus from /etc/ssh/moduli that best meets
  the size requirement."
The problem is

a) OS distributions ship pre-computed moduli in the /etc/ssh/moduli file. I.e. most users don't change these moduli. This facilitates pre-computation attacks.

b) These moduli are often too short (<2048 bit).

You can create your own moduli with ssh-keygen (see the "MODULI GENERATION" section in the ssh-keygen manpage).

FWIW: Here's my open bug for RHEL7 where I try to convince Red Hat to improve the situation (including more details and references):

https://bugzilla.redhat.com/show_bug.cgi?id=1396943

knweiss··on Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?
An Advanced Introduction to GnuPG by Neal H. Walfield

https://begriffs.com/posts/2016-11-05-advanced-intro-gnupg.h...

knweiss··on Dropbox employee’s password reuse led to theft of 60M+ user credentials
Quote: "Dropbox was moving away from using the encryption algorithm SHA-1"
knweiss··on How climate change is rapidly taking the planet apart
Honey.
knweiss··on Apple File System
"Although APFS does checksum metadata blocks it does not do anything to provide resilience for data blocks. That is a huge omission in a modern filesystem, a point I tried to politely but forcefully make in the File System Lab directly to a responsible engineer."
knweiss··on Google XRay: A Function Call Tracing System [pdf]
Brendan, did you read this awesome blog post (which mentions your work btw) about Google's tracing framework which may explain the kind of problems they want to solve? http://danluu.com/perf-tracing/

"Sampling profilers, the most common performance debugging tool, are notoriously bad at debugging problems caused by tail latency because they aggregate events into averages. But tail latency is, by definition, not average."

knweiss··on It takes two to ChaCha (Poly)
Check out the "Intel AVX Instructions Optimization" slide on http://anandtech.com/show/10158/the-intel-xeon-e5-v4-review/....

Quote:

On Haswell, one AVX instruction on one core forced all cores on the same socket to slow down their clockspeed by around 2 to 4 speed bins (-200,-400 MHz) for at least 1 ms, as AVX has a higher power requirement that reduces how much a CPU can turbo. On Broadwell, only the cores that run AVX code will be reducing their clockspeed, allowing the other cores to run at higher speeds.

knweiss··on Distribution packages considered insecure
The job of the distributions would be much easier if more software projects would a) consequently use semantic versioning (MAJOR.MINOR.PATCH, see http://semver.org for details) and b) explicitly and officially designate that they no longer support the version MAJOR.MINOR branch.

The latter should be a signal for the distribution to upgrade to a newer and supported upstream version instead of (halfheartedly) trying to support the software themselves.

knweiss··on Making a 4K Fractal Movie with Fractal EXtreme
FWIW: The new Ultra HD Blu-Ray Disc format which supports 4K, HDR, and Dolby Atmos/DTS:X will launch soon (if you can still tolerate an optical medium). Watch for the new "Ultra HD Premium" logo on compatible devices.
knweiss··on Intel's 72-Core “Knight's Landing” Xeon Phi Chip Cleared for Takeoff
The Knights Landing (KNL) memory hierarchy is different from Knights Corner because it now features MCDRAM (HBM) - even with three different modes [0].

[0] - http://www.anandtech.com/show/9794/a-few-notes-on-intels-kni...

knweiss··on Subresource Integrity
The next step: A distributed, content-addressed caching system that allows the web browser to fetch the data from the fastest/nearest caching server by hash.

IPFS comes to mind.

knweiss··on Ask HN: Where can I learn more about programming video and audio codecs?
Monty's videos are a good start:

https://www.xiph.org/video/

https://www.xiph.org/~xiphmont/demo/

knweiss··on AEADs: getting better at symmetric cryptography
I wonder if there's a good explanation for non-experts that gives at least an idea how an attacker would exploit the (key, nonce) pair reuse and why everything fails so catastrophically?
knweiss··on Last Week Tonight with John Oliver: Government Surveillance [ft. Edward Snowden]
Watching this video feels like attending a funeral together with a clown.
knweiss··on Intel SSD 750 PCIe SSD Review: NVMe for the Client
when I think NVM I think of Non-Volatile Memory something like RAM that doesn't go blank when you hit the power button

This is the "Persistent Memory" device class. See e.g. this article for a nice summary of the status quo: https://lwn.net/Articles/636096/

knweiss··on Announcing the Surface 3
The iPad Air 2 has 2 GB RAM.
knweiss··on Fired
> but when you were a few years out of college, did you have 3-6 months of salary saved up? I certainly didn't.

Actually, I did and it was a top-priority for me.

knweiss··on Nvidia GeForce GTX 970: Correcting the Specs and Exploring Memory Allocation
IMHO the data transfer rate is the important info:

  First 3.5 GB : 196 GB/s == 7/8 of 224 GB/s
  Last  0.5 GB :  28 GB/s == 1/8 of 224 GB/s
"When the GPU is accessing this segment of memory, it should achieve 7/8th of its peak potential bandwidth, not far at all from what one would see with a fully enabled GM204. However, transfer rates for that last 512MB of memory will be much slower, at 1/8th the card's total potential." http://techreport.com/review/27724/nvidia-the-geforce-gtx-97...
knweiss··on Apple Software Quality Questions
I'ld love to see bug voting on Open Radar. Identifying the most important bugs would become much easier.
knweiss··on Linus Torvalds on HFS+
Soon it will support Spotlight. See https://openzfsonosx.org/wiki/Changelog#1.3.1-RC5
knweiss··on Why Rosyna Can't Take a Movie Screenshot
The "stopping privacy" argument could be a red herring.
knweiss··on Escaping the Safari sandbox with a kernel GPU bug
"And if you're still running OS X Mavericks or below then why not try it out?"

In other words: "insecure" or "unstable" - choose one.

I'm all for upgrading to Yosemite, but this is a problem.

knweiss··on Intel Unleashes Its First 8-Core Desktop Processor
Haswell-E is Intel's high-end consumer CPU series and there's nothing wrong with that. However, only buy it if you regularly use software that is able to utilize that many cores/threads.

The dual-core CPU you are looking for is called the "Pentium Anniversary Edition: Intel Pentium G3258" and was released in July.

knweiss··on GCC 4.9 Release Series – Changes, New Features, and Fixes
Support for the CPU code names in -march is a simple but really useful change:

   -march=nehalem, westmere, sandybridge, ivybridge, haswell,
   bonnell, broadwell, silvermont
Also this:

   -mtune=intel can now be used to generate code running well
   on the most current Intel processors, which are Haswell
   and Silvermont for GCC 4.9.
Page 1 of 2Next →