HNHacker News
TopNewBestAskShowJobs

johnkeeping

30 karma · joined November 10, 2013

submissionscomments
johnkeeping··on Why is the latest AMD hardware unsupported in libreboot?
The bug was in the RK808 PMIC, which may or may not be used on an RK3288 based system. It looks like the RK3288-based ChromeOS devices do use it though.
johnkeeping··on Introducing Git fastclone
How does this compare to git-worktree (added to core Git in 2.5)?
johnkeeping··on Show HN: 'git inject' – amend commits other than HEAD
That's what the `--autostash` is for. It also has the advantage that the stash will be restored at the end of the rebase even if it hits problems and needs to be continued or aborted.
johnkeeping··on Show HN: 'git inject' – amend commits other than HEAD
`local` is a bash-ism so it's best avoided in this context, and the command is running in its own shell anyway so the variables can't pollute anything else.

The other comments are 100% correct.

johnkeeping··on Show HN: 'git inject' – amend commits other than HEAD
Or simply:

    git add ...
    git commit --fixup $SHA
    git rebase -i --autosquash --autostash $SHA~
johnkeeping··on Zigbee light link master key
Note that this is only the Zigbee Light Link master key. A lot of devices use the Zigbee Home Automation specification which has a different well known master key (in that case it's in the standard which is freely available).

The ZLL key is slightly more interesting because you can factory reset (and effectively steal) devices in someone else's network, but that does require physical proximity to the device.

The master key also means that you can make your own device to add to someone's network. Most ZLL networks have a simple push button adding process, so you just need to be close to the button for a few seconds in order to add your own device to the network, after which you can control any other devices already in the network.

johnkeeping··on Merge Pull Request Considered Harmful
I always use "--no-ff" when merging topic branches to master. The advantage is that you can keep individual commits on the topic branch readable and still get an overview of the changes between two releases with "git log --first-parent".

You can also see the set of changes in a topic merge easily with "git log ${merge}^2..${merge}^1" whereas if you use a fast-forward merge it's not at all obvious which sets of commits are related.

johnkeeping··on OpenSSL Security Advisory
The ImperialViolet post linked above gives a different URL for the blog post which does work: http://ccsinjection.lepidum.co.jp/blog/2014-06-05/CCS-Inject...
johnkeeping··on A New Development for Coverity and Heartbleed
There's also sparse[0]'s address space annotation, which Linux uses for annotating data from userspace.

[0] https://git.kernel.org/cgit/devel/sparse/sparse.git/