HNHacker News
TopNewBestAskShowJobs

mcbain

1,021 karma · joined September 21, 2010

submissionscomments
mcbain··on Why AWS access and secret keys should not be in the codebase
GitHub, for one, tries to stop them from being published by doing some scanning as well:

https://help.github.com/en/articles/about-token-scanning

mcbain··on Bitset Decoding on Apple’s A12
Even if those arrays are entirely in cache they require more cycles per lookup than the computation from the article.

That's been true of lookup tables for a long while now.

mcbain··on Norway Is Walking Away from Billions of Barrels of Oil
To close the loop, maybe Norway could also walk away from drilling for oil off South Australia: https://abc.net.au/news/2019-03-11/great-australian-bight-no...
mcbain··on Call for testing: OpenSSH 8.0
My shell history is sure to show every use of ‘rsync <whatever>’ to be preceded by ‘rsync -n <whatever>’ to make sure I have the paths correct.
mcbain··on Microsoft says encryption laws make companies wary of storing data in Australia
Some customers demand to know which jurisdiction their data is stored in, so it isn't as simple as "move it somewhere friendlier".

You have control if you are running your own services on top of the main cloud providers, but if it is in O365 or GMail/GApps it used to be a different story, and this precluded their use by a bunch of .au organisations (universities, Govt departments) early on.

So now some of these orgs that need to have data stored in .au for privacy reasons (among other reasons) are subject to these new badly formed laws in some kind of twisted catch-22.

mcbain··on Can MIPS Leapfrog RISC-V?
These chips aren’t going to be running browsers in the near future, unless you mean in a TV (one of the last places you could find MIPS).

The market they are headed for is embedded, where every cent of the BOM counts. Licensing costs can add up surprisingly fast as part of that.

Server parts are a big step above that - MIPS used to play there, but after a short peak they failed many times over. It tried in the networking and embedded space for a while, but then had its lunch stolen by all the cheap ARM vendors from below, and stomped on by x86 from above.

And then desktop/laptop parts? Unless you are Apple (and even then), pushing a new arch on the desktop is a massive, expensive task, and I can’t see it being worthwhile.

mcbain··on XXH3 – a new speed-optimized hash algorithm
I haven’t tried compiling this myself, but gcc does different things with a -march=x flag compared to specifying -mavx2, directly, mostly because -march implies -mtune.

Trying -march=haswell might give closer results.

On the other hand, if using an older gcc and it can’t identify your processor, march=native will result in mtune=generic and much head scratching with results.

mcbain··on Calculating a record-breaking 31.4T digits of Pi with GCP
Trillions of digits of Pi compresses insanely well - to Pi, of course.

The decompression just takes a while.

mcbain··on Australian Alps Walking Track
No, some huts have pit toilets but there is absolutely no septic system out there apart from when they were at ski towns (Hotham, Falls Creek, Thredbo).
mcbain··on Write yourself a Git (2018)
Just be aware that it is a good start but isn’t as complete as the command list would indicate - runs up to about the point of index files, so not quite at ‘git add’.
mcbain··on Facebook, Instagram go down around the world in an apparent outage
But AWS doesn’t have any regions near Denver.
mcbain··on Nvidia to Acquire Mellanox for $6.9B
Tilera was acquired by EZChip in 2014 and then in turn EZChip were acquired by Mellanox - the Tile arch kind of died from lack of attention during that process.

I had a TileGX dev board and ported our product at the time (nearly 10 years ago). It was an ok arch but that’s a tough niche to fight for.

mcbain··on Google terminated our business via our Google Play Developer Account
And there is also delete protection by default for new prod databases: https://aws.amazon.com/about-aws/whats-new/2018/09/amazon-rd...
mcbain··on Sydney Opal Tower: Thousands evacuated after 'crack'
So the usual Meriton SOP is to retain control of the body corporate for the duration of the builder’s liability so that they can’t start proceedings against the builder (Aus strata title, body corp coverered here: https://www.lawsociety.com.au/for-the-public/know-your-right...).

Strata title laws have been changed recently, but the system is slow to catch up to these cowboys.

mcbain··on Amazon’s Chips Threaten Intel
The idea that Intel is “RISC under the hood” is too simplistic.

Instructions get decoded and some end up looking like RISC instructions, but there is so much macro- and micro-op fusion going on, as well as reordering, etc, that it is nothing like a RISC machine.

(The whole argument is kind of pointless anyway.)

mcbain··on EC2 Instances Powered by Arm-Based AWS Graviton Processors
I don’t think it is a moat, just stating the simple case.

I’ve spent a lot of time making cross-compile work for complicated builds. It can be tedious and frustrating fighting compilers and build systems to get it right.

Sometimes it is necessary because the target didn’t have a complete native toolchain, but other times because the target was just so incredibly slow for large builds.

I haven’t built anything with them, but these Arm servers appear to be neither of those two cases.

mcbain··on If you want to understand Silicon Valley, watch Silicon Valley
Utopia is a documentary, not a comedy. I know people that can’t watch it because it is like being in their office.
mcbain··on Google May Have to Get Used to Third Place in the Cloud
I’m not sure what you are angling at here.

The China regions might not have all the AWS services present, and they have some extra restrictions, but they aren’t some kind of clones of AWS software.

Unless I’m missing something, they are the same versions of what runs in the other regions.

mcbain··on What I Learned from porting my projects to FreeBSD
If your makefiles use gnu-isms (which is a valid choice) then I would lean towards using GNUmakefile and have Makefile call gmake - and don’t forget to use $(MAKE) for any recursion.

This is less fragile and requires less dependence on replacing make in the $PATH.

mcbain··on Validating UTF-8 bytes using only 0.45 cycles per byte (AVX edition)
Unfortunately, no.

That is the case with GCCs __builtin functions. With a few exceptions, intrinsics are basically macros for inline asm that the compiler can reason about.

If on x86-64 you use a _mm256* intrinsic and compile without AVX support you just get a compile error, not a pair of equivalent SSE instructions.

mcbain··on Yubico and Microsoft Introduce Passwordless Login
It was added in Firefox 57.

Works fine for me.

mcbain··on Interns with toasters: how I taught people about load balancers
Recently left FB, in fact.

Which is important context for many of her posts in the last month or so.

mcbain··on Amazon’s Next Mission: Using Alexa to Help You Pay Friends
Your previous post wasn’t clear if you were talking about options or RSUs. It jumped from one to the other like you were describing the same thing.

Obviously there is an additional mystery world of option grants at Amazon that we aren’t aware of.

mcbain··on Amazon’s Next Mission: Using Alexa to Help You Pay Friends
I don’t mean to feed the troll but the schedule is hardly a secret and is 5%/15%/40%/40% (20% per 6 months in the last two years), so they have vested 60% at 3 years.
mcbain··on Tech takes over: New York is the sector's second city
Who are you thinking of in Sydney?

1. Atlassian 2. Canva? 3. ??

I can’t think of anything else big and “impressive”. Who am I forgetting?

mcbain··on Your Mother’s Maiden Name Is Not a Secret
I’ve still got a chequebook. It is probably 20 years old.

The last cheque I wrote was two years ago for a house deposit. I think the second last was 9 years before that for the deposit for our previous house.

mcbain··on Why Google stores billions of lines of code in a single repository (2016)
This might not only be GUI vs cli, it can just be down to the granularity of your client mapping - if the p4 server thinks it needs to lock across large regions of depots it can go into the weeds.

I always try to have the absolute minimum in my client specs, but sometimes you do need to operate over the world.

The perforce docs are generally well written, worth looking at them.

mcbain··on Ask HN: Huge enterprise customer wants to see our source code
BD still works that way. The lawyers love making us use it.

https://www.blackducksoftware.com/solutions/mergers-and-acqu...

mcbain··on Mother Earth Mother Board (1996)
I re-read this every few years. I love the combination of technology, geography, and history.

I'll now probably lose the next few hours panning around undersea cable maps. Again.

mcbain··on Broadcom Explores Deal to Acquire Chipmaker Qualcomm
Avago isn’t even that clear cut. Avago sold SSD assets to Seagate, and then a bunch of other networking stuff as LSI/Axxia/Infineon to Intel. Then they picked up PLX and Emulex along the way.

Broadcom had also acquired Netlogic/RMI before that, so it is consolidation all the way down.

← PreviousPage 4 of 6Next →