HNHacker News
TopNewBestAskShowJobs

paulannesley

780 karma · joined January 18, 2012

Buildkite engineering
submissionscomments
paulannesley··on A Technical Perspective on the Apple iPhone Case
That's been covered by most of the articles on the topic, but not very clearly in this article.

Removing the storage chips from the device would mean breaking a very strong key, perhaps 128-bit AES, which is not a desirable offline brute-force attack.

That strong key is derived from the PIN combined with a unique device ID which cannot feasibly be extracted from the processor. So an offline attack needs to crack full AES, but an online attack by running modified OS code on the device itself means only the weak PIN needs to be attacked (just 10,000 distinct combinations, roughly equivalent to a 13 or 14 bit key).

paulannesley··on The IPv6 Numeric IP Format Is a Usability Problem
Interesting; Mac OS double-click highlighting doesn't actually handle all the examples given in the article. e.g. deadbeef00000000.1 works, but deadbeef.1 doesn't. I guess the first segment needs to contain a digit, which perhaps triggers a mode where the period is interpreted as a decimal point.
paulannesley··on Kill Your Dependencies
Yes, http://unicorn.bogomips.org/ popularized this for ruby / rack / rails with its forking model and preload_app option. http://puma.io/ does the same thing, but additionally runs multiple threads in each process.

The garbage collector in Ruby 1.8 / 1.9 negated the benefits of copy-on-write forking, but that's fixed since Ruby 2.0

paulannesley··on The Malware Museum
Here's a disassembly of a strain of that virus: http://textfiles.com/virus/jeru-b.asm
paulannesley··on Microchip to Acquire Atmel for $3.56B
This might be a better source link: http://www.nytimes.com/2016/01/20/business/dealbook/microchi...
paulannesley··on Wikipedia Turns 15
Pretty much the more important site on the internet. I make a small automatic monthly donation; you can set it up in a few clicks via https://wikimediafoundation.org/wiki/Ways_to_Give
paulannesley··on OpenSSH: client bug CVE-2016-0777
ssh SOMEHOST -v 2>&1 1>/dev/null | grep -i roaming

A vulnerable client will show:

debug1: Roaming not allowed by server

paulannesley··on Tadepalli V. Uber Technologies, Inc
Via an email from Uber California Airport Fee Settlement Administrator <Administrators@qgemail.com> opening with:

> Why did I get this notice? This Notice relates to a proposed settlement (“Settlement”) of a class action lawsuit involving claims that Uber Technologies, Inc. (“Uber”) charged users of its mobile application (the “Uber App”) fees that were described as “Airport Fee Tolls” when users arranged for rides to or from certain California airports, and that Uber did not remit those fees to the airport (“Unremitted California Airport Fee Toll”). You are receiving this notice because you may have paid an Unremitted California Airport Fee Toll between June 1, 2010 and November 20, 2015 and may be a “Class Member” in the lawsuit.

paulannesley··on A rant about application configuration
I prefer minimal config, but she lost me here:

> If you compare the experience of using both coffee machines, even if the former doesn’t give you the exact kind of coffee you want, you are still far better off.

Nope. Probably true for people that don't care about coffee, but give me the full espresso machine any time.

paulannesley··on Philips Hue blocks 3rd party lights
Watts already express energy over time, so the /day is redundant. The article you linked to gives a good comparison:

> [three bulbs + bridge] is the equivalent of leaving a 60W bulb on for a little over an hour and seven minutes per day

paulannesley··on EC2 Dedicated Hosts
jeffbarr from Amazon in another thread:

> Many of our customers have asked for this feature so that they can run software that is licensed for a particular piece of actual hardware.

So it's more aimed at working with/around archaic licensing schemes, rather than technical advantages.

paulannesley··on EC2 Dedicated Hosts
Unless “the machine is taken over” means firmware-level compromise (e.g. disk controller, NIC controller, …), in which case the next customer allocated to that machine can be compromised despite full disk erase between customers.
paulannesley··on ARRIS Cable Modem Has a Backdoor in the Backdoor
Hah I love this in the arris_backdoor.py output:

  > Bypassing EULA...
  > EULA served over HTTP
  > MiTMing EULA to include permissive clauses...
  > EULA bypassed using technique [1]
paulannesley··on State of emergency declared across France after Paris shootings and explosions
Surveillance is like XML; if it doesn't solve your problem, you're not using enough of it.
paulannesley··on Microreboot – A Technique for Cheap Recovery (2004) [pdf]
I like the csh/bash brace expansion for the byline email addresses:

> {candea,skawamo,fjk,gregjf,fox}@cs.stanford.edu

paulannesley··on E.P.A. Finds More VW Cheating Software, Including in Porsches
Thanks for the insight, I often wonder what automotive software and its development looks like.
paulannesley··on The strange case of ICMP Type 69 on Linux
And some interesting replies showing that this tiny patch is unsafe: http://lkml.iu.edu/hypermail/linux/kernel/1510.1/02374.html (more by following Next in thread links)
paulannesley··on W3C Web Payments Roadmap
Signing HTTP Messages (https://tools.ietf.org/html/draft-cavage-http-signatures-04) is/was part of Web Payments, although that draft expired in July, and it's not mentioned on this roadmap. I wonder what's happening to it. It will be a useful standard; HTTP signing is currently fragmented into many vendor-specific schemes.
paulannesley··on Enlightened Imagination for Citizens
I saw worrydream.com and thought I was reading Bret Victor's writing; my eyes skipped the Alan Kay byline. I enjoyed the piece either way, just thought I'd point out the authorship in case anybody else based it on the site domain.
paulannesley··on Tarsnap email confirmation bypass
> That last part is ultimately the most important lesson from this: Comments matter!

In most cases, logically granular commits with good commit messages, and a knowledge of `git log` and `git blame` etc, is better than leaving comments. Comments can easily get out of sync with reality (see https://twitter.com/nzkoz/status/538892801941848064 ) and create a lot of noise that make reading the code harder (especially when the comment and code contradict each other).

I only leave brief comments where some code is necessary but at a glance doesn't look right, or has a non-obvious reason. But first I find a way to make it look right or be obvious.

paulannesley··on Analysis of PS4's security and the state of hacking
Originally on 2015-06-29, updated frequently and as recently as three days ago.

Commits: https://github.com/CTurt/cturt.github.io/commits/master/ps4....

Blame: https://github.com/CTurt/cturt.github.io/blame/master/ps4.ht...

paulannesley··on Intel Skylake Review
Note that most/all of the current M.2 SSDs are running as AHCI devices, not NVMe. There's an OEM Samsung NVMe unit not available for retail yet. Apparently the performance difference between the AHCI and NVMe version isn't big, anyway.

Reference: http://anandtech.com/show/9396/samsung-sm951-nvme-256gb-pcie...

Edit: here's the key line regarding a modest improvement for small random access:

> Typically the NVMe version offers about 10-20% improvement in average latency over the AHCI version, which is a healthy boost in performance given that the two utilize identical hardware.

paulannesley··on Intel Skylake Review
Skylake supports DDR4 and DDR3L but the slots are incompatible; motherboard manufacturers need to choose one or the other. All the Z170 boards I've seen do not have DDR3L slots. Even if they did, DDR3L is lower voltage than DDR3; standard DDR3 will never work in a Skylake board.
paulannesley··on GitHub connectivity issues
Agreed. Exact text on status page right now:

> 20:51 PDT - We are investigating reports of connectivity issues to GitHub.com.

No mention of DoS or DDoS.

paulannesley··on ‘Sea Slaves’: The human misery that feeds pets and livestock
The Whistleblower (2010 film) is one example of a film about one of the many forms of modern slavery: https://en.wikipedia.org/wiki/The_Whistleblower
paulannesley··on A subsystem to restrict programs into a “reduced feature operating model”
I'd presume child processes would inherit the same restrictions as the parent process.

I guess a root process could remain privileged, the main restricted process could be a child of that, and that main process could ask the root process to spawn plugins. But, that'd weaken the model a bit.

paulannesley··on The random number generator of DOOM
Presumably they were optimizing for CPU cycles rather than RAM, and the 256 bytes that it does consume isn't much in the scheme of a game like Doom.

This must be pretty fast (and compact) code: rndindex = (rndindex+1)&0xff; return rndtable[rndindex];

The example C code at https://en.wikipedia.org/wiki/Linear_feedback_shift_register looks like it would compile to more bytes, and require more CPU cycles to execute.

Based on https://en.wikipedia.org/wiki/Linear_congruential_generator it seems LCGs also micro-optimize for memory rather than CPU performance.

Doom was probably squeezing every last cycle out of 386 @ 25 MHz machines to render frames, but they did have at least 4MB–8MB RAM; 256 bytes seems a good trade-off.

paulannesley··on The random number generator of DOOM
TL;DR: rand() loops through a fixed set of values, but unpredictable user input leads to unpredictable sequence of rand() calls (e.g. an animation calling it before or after a sound-effect selector), providing an unpredictable output from rand().
paulannesley··on The random number generator of DOOM
Related: http://jmtd.net/log/deterministic_doom/

Via: https://news.ycombinator.com/item?id=9429889

paulannesley··on Vim Colors
Very cool. I'd love to see the ability to tag and filter 256-color schemes, for `TERM="xterm-256color"`. And some ranking metric (e.g. stars on the GitHub repo) would help surface the good ones that a lot of people use.

Personally I use a slightly tweaked version of http://vimcolors.com/1/jellybeans/dark … the id of 1 in the URL suggests the author might too.

← PreviousPage 3 of 7Next →