peterwaller's comments

peterwaller | 4 years ago | on: Log4j: Between a rock and a hard place

It lets the hacker take over the machine because there are strings which are interpreted as (IIUC, I am not a java engineer) variables within a class, and you can express a remote URL to load a class from, apparently (through something like (jndi://... ldap... URL), resulting in fetching code from somewhere and running it, in the service of writing a log message. This is apparently being exploited in the minecraft ecosystem by simply writing chat messages containing the full exploit, which gets executed by both servers and clients.

peterwaller | 6 years ago | on: Simple techniques to optimise Go programs

I agree with nhooyr's analysis. The interface{} will anyway transparently "contain" a pointer-to-the-[]byte, in other words, the []byte value itself will be heap allocated.

(Note for anyone new to this that the "[]byte-value" - we say "the byte slice" - is a distinct thing from the "values stored-in-the-byte-slice", which is a heap allocated backing array)

peterwaller | 7 years ago | on: Stabilizer: Statistically sound performance evaluation [pdf]

Great, we can control for layout of code, heap, stack and other effects which mess with a performance measurement. However, why do those things have a (statistically significant?) impact in the first place? I guess that hints that with some engineering you could in principle get a speed boost by specifying the layout. "Worst case", you sample randomly and then pick the fastest arrangement, where it is statistically significant.

It could be that the problem arises when trying to measure very small speed increases (small relative differences => noise matters more). But in that case the fact that such a small speed increase is wiped out by random layout effects surely means that time would be better invested in finding a more performant layout?

peterwaller | 7 years ago | on: Git-imerge: rebase/merge preserving history avoiding all-or-nothing

Just discovered this tool while doing a messy rebase, and can't believe it has had very little discussion I can find.

https://github.com/mhagger/git-imerge

No previous commentary on it so far on HN:

https://hn.algolia.com/?query=git%20imerge&dateRange=all

So, can anyone find any interesting discussion about this tool?

If you'd prefer reading rather than listening to the talk, here's an article which covers some of the same concepts:

https://wilsonmar.github.io/git-imerge/

The crux of it is that the tool does an efficient pairwise merge of all commits from the donor branch onto master. It can also be configured to run the test suite to detect conflicts.

Then you resolve conflicts in pairs of commits, which is only a small amount of work. The histories of your individual resolutions are preserved, so you can pause and resume the task.

peterwaller | 8 years ago | on: SpaceX’s Falcon Heavy successfully launches

Of the centre core, these are the last few moments before it is lost from the feed. Smoke can be seen...

https://youtu.be/wbSwFU6tY1c?t=38m20s

... and then back to the presenters. As someone said to me, "That's their lying face!" :)

Can't fault them for wanting to dwell on the positives though, was an amazing moment to watch.

Edit: You can switch cameras on the above youtube video to the countdown net; you can clearly hear them saying "We lost the centre core" at 38m30s - not sure if that means "lost signal of" or otherwise. The people in the control room appear to become more muted at that point, though they still seem composed. It's really not clear.

Edit: On the countdown net you can hear some minutes later "suspected loss of signal": https://youtu.be/-B_tWbjFIGI?t=42m21s

peterwaller | 8 years ago | on: Hacks Raise Fear Over N.S.A.’s Hold on Cyberweapons

I'm confused what the connection is with Chernobyl.

But 2M deaths in the last 30 years is not likely correct - this interesting WHO report on the matter suggests the final toll from the radiation would be more like "up to 4k":

http://www.who.int/mediacentre/news/releases/2005/pr38/en/

http://www.who.int/ionizing_radiation/chernobyl/chernobyl_di...

> The main causes of death in the Chernobyl-affected region are the same as those nationwide — cardiovascular diseases, injuries and poisonings — rather than any radiation-related illnesses

peterwaller | 8 years ago | on: Can America's Farms Survive the Threat of Deportations?

> I thought the USA had a civil war to end the kind of thinking you are representing

I think you're over-reading the phrase "How do you reach this conclusion?". The author didn't suggest that it was necessary, only that they were interested in seeing your reasoning. The world is a complicated place, so it can be reasonable to assume a default position that either thing is possible.

page 1