peterwaller | 4 years ago | on: Log4j: Between a rock and a hard place
peterwaller's comments
peterwaller | 6 years ago | on: Linux maintains bugs: The real reason ifconfig on Linux is deprecated (2018)
According to the manpage, -color can be shortened to -c and link shortened to `l`, as `addr` can be shortened to `a`. -br stands for -brief, which knowing makes it easier to remember.
ip -br -c a
ip -br -c l
Now I need the aliases less.peterwaller | 6 years ago | on: Simple techniques to optimise Go programs
(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: Live coding a basic Go compiler with LLVM in 20 minutes
peterwaller | 7 years ago | on: Live coding a basic Go compiler with LLVM in 20 minutes
What you're seeing is the LLVM IR for the program being printed. As another commenter noted, you can compile the program with make, which just runs `clang` on that IR.
peterwaller | 7 years ago | on: Live coding a basic Go compiler with LLVM in 20 minutes
peterwaller | 7 years ago | on: Stabilizer: Statistically sound performance evaluation [pdf]
peterwaller | 7 years ago | on: Stabilizer: Statistically sound performance evaluation [pdf]
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: 99% code coverage (2017)
Someone's implemented a package for doing it with Go which looks good: https://github.com/zimmski/go-mutesting
peterwaller | 7 years ago | on: Git-imerge: rebase/merge preserving history avoiding all-or-nothing
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: Python’s Weak Performance Matters
Given his code you referenced, could you elaborate on what makes it look slow at a glance, and how you might speed it up? :)
peterwaller | 8 years ago | on: SpaceX’s Falcon Heavy successfully launches
peterwaller | 8 years ago | on: SpaceX’s Falcon Heavy successfully launches
Watching the countdown net it seemed plausible that they didn't know whether it had successfully landed either.
peterwaller | 8 years ago | on: SpaceX’s Falcon Heavy successfully launches
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: Regression in Linux 4.14 – using bcache can destroy the file system
peterwaller | 8 years ago | on: Indian government bans archive.org
... "But I _am_ administrator!?"
peterwaller | 8 years ago | on: Ask HN: Who is hiring? (July 2017)
peterwaller | 8 years ago | on: Hacks Raise Fear Over N.S.A.’s Hold on Cyberweapons
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 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.
peterwaller | 8 years ago | on: Sourcegraph now running on an in-browser VS Code