Hacker Newsnew | past | comments | ask | show | jobs | submit | jpollock's commentslogin

It's a pretty normal failure mode in teams. The abstraction breaks because the developer doesn't know the things that drive their latency.

Is it database requests? RPCs? Is there a function call which is computationally expensive?

Teams then respond by making rules to help make slow things stand out "no RPCs in functions, no synchronous RPCs, only 1 database read per request, don't call this code in a loop", etc.

Caught before merge? Only if you have someone really familiar with all the abstractions _and_ the team's previous failures reviewing it. Otherwise, developers are always finding new ways to write slow code. :)

But, that's why we have feature flags and incremental launches.


It seems like something well-written end-to-end tests would also prevent from ending up in the code unwittingly.

The cost of the code isn't why you reviewed it. The cost of the _failure_ is why you review it.

Code has always been cheap. The cost incurred by the organisation when the wrong code is run is getting pretty expensive (just ask MS).

It also helps with the bus factor and insider risk.


That's fair, depending on your size shipping a code bug may be a large or small impact, but these days bug fixes are often relatively simple and often automated based on user feedback (in startups to midsized companies at least).

But what can't be automated is architecture, and it isn't solved in a similar way. Nobody is automating re-architectures based on user feedback


I agree, it also seems to disregard the potential impacts to customer experience. It doesn’t take a complex bug for a user to decide to never come back.

A lot of the risk is insider risk. A hacked credential, an annoyed engineer going to a competitor, etc.

Think embezzlement. Think someone with a political agenda who changes the homepage on the way out the door.

Having a single point of control is asking for trouble.


I wonder how much of that are foreign central banks moving their gold reserves out of the USA... France, The Netherlands and Germany have been moving gold.

https://www.bbc.com/news/articles/cvgyn8q8gqxo


France completely exited New York, the Netherlands roughly halved what they've stored there. That was in 2026. They didn't physically ship any of it, they sold it and rebought in Europe.

Germany moved 111t from New York in 2016, and, afaict, nothing since then. There's still 1236t left.

Italy also keeps over 1000t in New York (no plans for repatriation).


> They didn't physically ship any of it, they sold it and rebought in Europe

This is effectively outsourcing that process to the banks.


Banks can keep it in US and stay happy, they don't necessarily immediately need physical gold. So it's quite efficient, lots of govts do similar stuff.


> Banks can keep it in US and stay happy

If the Banque de France holds physical in New York and sells it to JPMorgan (nothing moves) and then in Paris buys contract for physical from UBS, there will probably need to be physical gold that moves.

In all likelihood, Swiss gold held by e.g. a Gulf customer might be sold to Paris (nothing moves) and JPMorgan may entice Venezuela to take those contracts on its balance sheet (nothing moves). But if it’s a big trade, the price of delivering physical in Paris (or Genève) will go above spot in New York at which point it’s profitable for JPMorgan to take delivery, load up planes and physically ship gold.


To supplement this, there was an interesting situation in 2025 [0] where a financial signal developed and we saw physical gold flows from London to New York. A very similar mechanism; governments do something, price signal develops, gold starts flying around.

[0] https://www.usagold.com/gold-arbitrage-trade-winds-down-amid...


I imagine a convoy of small but heavily armored ships leaving New York, with nervous sailors clutching machine guns on the decks.


You wouldn't need many ships. The volume of a single shipping container is enough for 1300 tons of gold. Of course gold is extremely heavy, you'd need a specially built container to support that much gold, but the point is the storage space of any ocean going ship can comfortably carry the entire gold reserve of an entire country.

If you actually loaded gold into shipping containers and obeyed the weight restrictions, all the gold in the world would take up less than 8400 TEU, which would be considered a mid size cargo ship.


What's crazy about it is if that ship sunk, as long as nobody knew, it wouldn't matter one bit. Shows just how much of a waste gold mining is.


Gold is a valuable metal with many uses, and it can't be printed. You can make diamonds but not gold.


Copper is a valuable metal with many uses, and it can't be printed. You can make diamonds, but not copper.

However, if you made half the copper disappear, you'd have a big problem.


And not just "waste" but it's extremely destructive to the environment. A large part of Amazon is destroyed because of gold mining.


This actually happened in 1965. De Gaulle, the president of France at the time, sent the French Navy over to America and took their reserve gold back home. This prompted other countries to do the same and by 1971 America had switched from a gold standard to a fiat currency.

https://en.wikipedia.org/wiki/Exorbitant_privilege


You're leaving out some really interesting context there. After the Great Depression the economic equilibrium the world settled into, with the Bretton Woods treaty, is that participating countries, which was most of the non-Soviet aligned world, would agree to base their currency's value on the USD.

That'd obviously give the US an immense amount of power, so in exchange the US would agree to make the USD convertible to gold at a fixed rate by other countries (as opposed to e.g. individuals). So the whole point here is that if the US tried to print a whole bunch of money to exploit our 'exorbitant privilege', countries would be able to take their now devaluing USD and exchange into a gold at a stable rate and make a whole bunch of money. So it was intended to be a self correcting system.

The problem is that the US did print a whole bunch of money anyhow, and when France and other countries said 'hey we'd like to convert our USD to gold' we just said 'nah' and defaulted on our obligations, bringing Bretton Woods to an end in 1971. That signaled the beginning of the modern completely fiat economic system, and led to some wild quotes from the time. For instance the Secretary of the Treasury under Nixon (who was president in 71) has a great quote of, 'The dollar is our currency, but your problem.'

---

It's critical to understand this history to understand what's happening today with countries increasingly seeking to replace the dollar. Many want something akin to Bretton Woods 2.0, but without any country being given a win button. And that's not so easy to devise!


> After the Great Depression the economic equilibrium the world settled into, with the Bretton Woods treaty

There was a big thing that happened between the Great Depression and Bretton Woods that's pretty critical to why that system emerged.


The alternative that was the ICU with an international reserve would punish surplus nations and help deficit nations. A Bretton Woods 2.0 thus would be advantageous to the US while neutralizing much of the advantageous the EU and China have as export based economies.


> most of the non-Soviet aligned world, would agree to base their currency's value on the USD

That seems like wild thing to agree to. Where can I read more about this?


There was this thing where there was a world war and stuff that played a role


> Many want something akin to Bretton Woods 2.0, but without any country being given a win button. And that's not so easy to devise!

The hard part is getting countries to agree on one system. Coming up with a good one is easy. You can either do EU style governance where countries vote on policy or go hands off and anchor everything to crypto.


> hard part is getting countries to agree on one system

To put it bluntly, America ended WWII with a global nuclear monopoly and then only industrial base on the planet that hadn't been bombed into smithereens. That put it in a unique position to set the terms of the peace. The only party that came out with any comparable leverage was the USSR on account of its massive army and willingness to maintain a wartime economy that would have been untenable in the democracies of the West. (Absent the USSR, it's again unlikely Bretton-Woods would have emerged–the Soviet threat created an incentive to coöperate.)

More than that, the end of WWII saw American complete its then priority of decolonization. That meant there were lots of newly created countries, not quite peacefully but not at the level of violence that usually accompanies new-country formation (with obvious exceptions, e.g. Partition and Israel/Palestine), that could be wooed with riches and ideology.


Notably the USD was also rapidly losing its global share (and it had already fell under 50%) until the collapse of the USSR. Then the newly formed nations, looking to the West, rapidly dollarized, and the USD influence began growing rapidly reaching above 70% in the early 2000s when it once again began to decline to where it's at today in the mid 50% range.


Why can't you just have many free floating currencies?


Only fools like the management of Apple, Microsoft, and Google would lend money to the United States government. Government bonds have fallen 80% relative to gold in the past few years.


> Government bonds have fallen 80% relative to gold in the past few years.

I think most people would suggest the converse..... that gold prices have doubled over the last three years compared to virtually any stable western currency.


>Bretton Woods 2.0, but without any country being given a win button. And that's not so easy to devise!

At the risk of certain downvote barrage, this is a solved problem, at least at international settlement scale: use cryptocurrency.


> I imagine a convoy of small but heavily armored ships

It’s typically flown [1].

[1] https://www.independent.co.uk/news/world/americas/us-politic...


And in the past it has been shipped in boxes labelled "fish"[0].

[0] https://en.wikipedia.org/wiki/Operation_Fish


Alas, goldfish wouldn’t be invented until 1962 [1].

[1] https://en.wikipedia.org/wiki/Goldfish_(cracker)



A real black eye for the regional police. 10-15 million spent on investigation, maybe 1 million recovered, and a few flunkies in prison.


Wow; I would absolutely watch this as a movie. They stole it with a forged waybill for seafood!!!


Fascinating story


India brought several tonnes back from London. Approximately 250T was brought back in 100% cases it was brought from totally ordinary cargo planes. From what I have heard, hardest part of securing customs exemptions at port of entry in India.


That's why Gold futures have relaunched in London. Keeps spot trading and futures trading in the same timezone


agree with one minor quibble:

> load up planes and physically ship gold.

they would not load planes, they’d load ships, because it’s much cheaper.


Gold is heavy sure, but its $/weight value is still much higher than basically any other cargo - the plane vs ship choice would be even more weighted towards the plane with gold than with most other cargo.


More detail: at current prices gold is $133k USD per kilo - at that price transport costs would be such a tiny fraction of the value of the cargo that it wouldn't make any sense to pinch pennies - you'd want to go with the absolute fastest, safest option.


So, railgun it is


High-end enterprise Xeon processors are worth more by weight than gold but Nvidia H200 processors are worth less. The Intel chips are worth 3-6x the Nvidia chips.


See https://news.ycombinator.com/item?id=50134694 Since you two seems to disagree. Unless it’s a case of different volumes needing different transport.


The linked article title says “flown” but that could be expressive; is there any definitive evidence of the actual transport mechanism?


> is there any definitive evidence of the actual transport mechanism?

I can tell you from first hand experience that moving high value items isn't as exciting as you'd think.

ULDs are the standardized shipping containers of the sky. You can rent ones that have an inner armored layer and tamper evident seals. They fly as commercial cargo, usually on the flag carrier airline if its a government load. No special rituals or armed guards. Shipments are broken up so the loss of a single aircraft is at most $5 or $10 million.

There are some highly specialized aircraft that transport full loads but they tend to be closer to the supply side, moving bulk gold or diamonds from remote mines for processing.

Cash is the interesting exception (most non-US currency is produced by commercial printers) where a country will send its military to go pick up one big shipment.


I’ve found a few references for air but none for recent (2022-2026) sea movements yet. This article talks about illicit gold concentrates moving by sea but notes:

“In focussing almost exclusively on gold bars, jewellery, and high-grade recycled gold (over 40% purity), all of which generally travel by air, analysts have tended to disregard the maritime space as a significant arena for illicit gold flows (LBMA, 2022[9]).”

https://www.oecd.org/en/publications/illicit-flows-of-gold-c...

The Hong Kong gold vault stores at the airport, not the harbour:

“ Half of the world’s population, including those of China and India, lives and can be reached within five hours if the metal is loaded on a plane and sent from the Hong Kong airport”

https://www.lbma.org.uk/alchemist/issue-67/gold-vault-at-the...


> “Half of the world’s population, including those of China and India, lives and can be reached within five hours if the metal is loaded on a plane and sent from the Hong Kong airport”

This makes it sound like emergency delivery of gold is important. “Quick, we need to get 20 tons of gold to Nepal, stat! Go go go go go!”


No; but the volumes are tiny and the cost of freight is not very high. If I were talking about moving gold I would expect it to be flown because the risk of piracy would be too high. It is easier to plan, secure and monitor a flight.


The Yapese people have been doing the same thing [1] for centuries.

[1] https://en.wikipedia.org/wiki/Rai_stones


It does amuse me greatly that major world powers are trading large piles of stones in a place without moving them just like that. That's deeply satisfying.


Banks or the larger economy?

Buying in Europe creates a demand in Europe, and selling in US creates extra supply in US. So, the market takes care of the transfer from high supply to low supply area.


> This is effectively outsourcing that process to the banks.

Did the banks export gold then?

The article says the issue is foreign entities buying American gold as a hedge against a volatile, risky dollar as a reserve currency.


> They didn't physically ship any of it, they sold it and rebought in Europe.

The Netherlands physically moved 27 tons of gold from the US and Canada (mostly New York) to the Netherlands this year.


Yea it was some transport, some just market sales and re-purchases.


It's a long story, but Italy's gold is not really Italy's, in the normal sense. Italy lost WWII, and has been a de facto "vassal" of the US since then; the US has several military bases in Italy, and has a very strong influence on anything related to foreign policy, etc. Don't take my word for it, there's not a single link to prove this, but a bit of research should make what I say at least plausible.

Just to give a small hint: the 1998 "strage del Cermis" [0], in which a US aircraft mistakenly cut a cable supporting a cable car and resulted in the killing of 20 people. The pilot, Captain Richard J. Ashby, and his navigator, Captain Joseph Schweitzer, were put on trial in the United States and were found not guilty.

Try to imagine something different. An Italian military aircraft flies in the US, and mistakenly kills 20 people. What would have happened to the Italian pilot?

[0]: https://en.wikipedia.org/wiki/1998_Cavalese_cable_car_crash


I remember that incident vividly. They did not "just" mistakenly cut a cable; they were hotdogging below allowed elevations in forbidden, populated areas.

The official story is that the maps they were given were out-dated and led to confusion in their location.

It was painfully obvious that the incident was inspired more by Top Gun than those notoriously bad maps the USAF uses....

But as you say, the USA investigated itself and assured its little buddy Italy that there was nothing improper. So sorry about those dead folks.


Gold futures are now trading in London again as well, which is related

Intercontinental Exchange launches trading in gold futures in London - https://giftarticle.ft.com/giftarticle/actions/redeem/e5d7ca...


Where did FR, NL, DE rebuy the equivalent or close enough gold that was sold from NYC ?

How many other bank or multiples around the world would be able to support such a sale ?


The article is about the export of mined gold. The US produces ~160 tons of gold annually from domestic mining operations.


That’s an insane amount of gold production. I watch gold rush and last season the two largest producer were just about 11k ounces, moving and washing a massive amount of dirt and rocks.


All their properties are played out. They're scraping the bitter dregs from properties that used to produce a massive amount more gold using extremely primitive tech to do so. In some cases, they're just re-running old mining tailings and scraping the ground at the edges of areas they knew were good.

If the price of gold didn't go up several thousand percent since the Klondike Gold Rush, there would be 0 reason to be up there at all. The Klondike produced -- on the low end of estimates -- 10 million ounces of gold worth in 10's of billions of dollars in today's money.


10 million (troy?) ounces is 311 metric tons. That's plenty of gold, but doesn't seem terribly impressive compared to 160 tons annually? Also, to get that 10 million onces figure, I think you must be including the mid-20th century dredging and hydraulic mining era? That stuff was a far cry from humble prospectors with pans like people might imagine.


No, I am comparing the amount of gold currently pulled from the Klondike. 11,000 ounces of gold from a (looks to me) single large operation pales in comparison to anything of yesteryear. 100 tons/year is quite the haul. Yukon currently is doing more like 3.5 tons/year in total. Nevada is just on a totally different scale.

Also Yukon (and that show) is majority placer, while Nevada looks to be hard rock? Hitting a rich vein means a massive payday, but even if not, the amount of rock they're moving is absolutely bonkers. Look at some of the massive craters they're digging out! 10, 20, 30 feet of topsoil to get to a few feet of pay gravel over a few dozen acres of ground is just not the same thing.

Dunno even what reclaimation looks like for a 1/2 mile deep crater. I'm guessing, "nothing lol deal with it"


https://en.wikipedia.org/wiki/Gold_mining_in_Nevada

You gotta remember, if those miners weren't basically jumped up amateurs they wouldn't be on a tv show.


> I watch gold rush and last season the two largest producer were just about 11k ounces

I remember watching the first couple seasons of that show. Every time it went to commercial break they'd try to hype up the melodrama with "we gotta do X or we're not gonna reach a thousand ounces!"

My wife and I still quote that to each other out of the blue.


Those guys are idiots on purpose to keep people watching.


It's a lot less interesting to watch someone optimize a spreadsheet and every once in awhile look out at a smoothly running operation.


"Insane amount of production" is relative, the entire USofA output is about half the production of the single state I live in.

Admittedly I live in a state roughly 3x the area of Texas.


Hello WA.


Born & bred - pretty nice place, although it's getting a bit crowded these days :/


Wait am I hallucinating? Doesn't WA refer to Washington? Only Alaska is "biggern" Texas....and it's ~3x so. ?!


Western Australia is 3x the size of Alaska.

Crazy idea go look at a map.

Theres one mine outside a town, that has more gold than all of America.

Half the worlds lithum for example also comes from WA. Most of the worlds treasures that are dug out of the ground can also be found there. Most of it has never seen a person, theres far more there to be found one day in the future.


Western Australia.


It’s specifically nonmonetary gold, so that’s a separate issue unless those nations were holding non-reserve gold here.

Although a sibling commenter mentioned that they moved their gold by selling it and rebuying it in Europe. If that gold qualifies as non-reserve gold after sale, and is moved out after sale to (for example) China, then perhaps?


Do they count as export if the owner doesn't change?


If central banks sell their gold in the US and buy new gold abroad (to save themselves physically transporting the gold across the ocean[0]), I suspect that the demand this creates for gold abroad will ultimately cause US gold exports to rise, too.

[0]: See the link in https://news.ycombinator.com/item?id=50134172


Selling it in place neatly sidesteps suspicion about how secure the NY gold really is and if it's all really still there, too.


If this suspicion existed then you'd see a spread between (gold price in the US) and (gold price outside the US)


When Trump screwed with the tariffs we saw exactly that. Arbitrarily messing with tariffs is one of the risks that causes people to think keeping gold in the US is not entirely safe.


Not necessarily. If relations are good, people are willing to look the other way a lot.


Either way, you aren't left holding the bag, you're giving the bag to speculators.


Do they count as export if the owner doesn't change?

I don't know. Does it count as export if it's not moved an inch?


From the article: > The U.S. government is still reporting that its gold reserves are unchanged, so these exports look to be coming from current mine output and recycling operations.

Not sure if "The U.S governments gold reserves" also includes the ones from other countries though.


The answer is no. When talking about gold reserve that means U.S. Treasury-Owned Gold. Of which the volume hasn't changed much for decades.


[flagged]


So that’s why Florida is sinking into the ocean.


That's what I thought too but the article says it's mostly fresh mine output (and recycled).


Gold repatriation doesn't count as export. So the answer to "how much" is zero.


I don't think that counts as exports although they could be selling in the US and buying locally where traders move the gold (then it will be counted as exports).


Probably all of it.


So not actually productive exports. Just draining the coffers as the criminals in charge loot the commons.


If it's worker vs capital, I have always been compensated with capital.


You've only ever been compensated with shares and have never taken a cent for your time? It's possible, but also quite unusual.


They will probably come back saying that cash earned from labour is capital, and by completely missing the point will have proven how effectively capital-owners can pit a worker against its own interests.


Lots of places set the budget, and then apportion the taxes based on mark-to-market value of the properties (the mill rate is set to clear the budget).

As housing appreciates, the mill rate will decrease, leaving the tax burden unchanged.

It encourages people to participate in local elections because the budget sets the mill rate, and the council sets the budget.


Given that this is Canada, the first and fourth amendments don't come into the discussion.

Canada's rights are in the Charter of Rights and Freedoms, and they aren't absolute.

Part 1, Section 1.

The Canadian Charter of Rights and Freedoms guarantees the rights and freedoms set out in it subject only to such reasonable limits prescribed by law as can be demonstrably justified in a free and democratic society.

Subject to that, we get Section 2.

Everyone has the following fundamental freedoms:

(a) freedom of conscience and religion;

(b) freedom of thought, belief, opinion and expression, including freedom of the press and other media of communication;

(c) freedom of peaceful assembly; and

(d) freedom of association.


Section 1 is literally just "ignore everything below this section".

If they're not absolute, they're not rights. It's a feel-good document that protects jack shit.


I think this just highlights that a law, as written, isn't everything.

Say one country has this type of "feel-good document," but it's consistently interpreted by powerful courts as a strong protection, and the government generally leaves people alone due to democratic norms. Another country has a strict and absolute constitution, but courts in practice don't interpret it as such, or people are more frequently harassed when criticising the government. Where would you feel more comfortable speaking your mind, and which document is more useful for protecting freedoms?

I'm not making a specific claim about any real countries, though I would say that freedoms are not strictly worse-protected in Canada than in the US. I'm only stating that a law or other document in and of itself can't protect anything - government and society need to respect it.

Democracy is about more than just elections, and freedom is about more than just laws.


> If they're not absolute, they're not rights.

I disagree as there's often reasonable exceptions to "rights", especially when they might infringe other people's rights. e.g. The right to freedom isn't absolute in any country that has prisons.


Au contraire, taking rights as if they're defined absolutely means that conflicts between them cannot be resolved equitably, but rather only binary-axiomatically. In this US, this plays out as most natural rights being undermined through inescapable interactions with corpos, with the justification that you've "voluntarily" agreed that you will not exercise your right. There are some exceptions of course (eg Pruneyard v. Robins), but they're more like exceptions that prove the rule.


US courts giving insane leeway to corporations in what a contract can include has nothing to do with whether rights are defined absolutely or not. The exact same scenario could play out if the voluntarily waived rights were reasonably limited rather than unlimited.


> could play out if the voluntarily waived rights were reasonably limited rather than unlimited

My point revolves around the unlimitedness of the other right that is being used to override the first right in question. A large part of that "insane leeway" is exactly due to the corpos' rights being taken as unlimited/absolute - note how the argument in Pruneyard was trying to use property rights to override free speech rights.

But sure, rather than tweaking the conception of rights, we could instead target reform at reigning in the "rights" of corpos - they are merely whole-cloth creations of government, after all. But I suspect we'd still hit corner cases with sufficient power imbalances between individuals (say a small-time landlord and their tenant, with the landlord attempting to curtail the tenant's speech).


There is nothing in Canadian Charter of Rights that prevents corporations' rights to be taken as unlimited. Section 1's phrase "subject only to such reasonable limits prescribed by law as can be demonstrably justified" makes it very easy - the judge just has to say that any limits would be unreasonable, and voila, rights are now unlimited. And overriding rights of individuals is just as easy - the judge only has to say that limiting them is justified, and bam, rights are limited.

At least with American system, they actually have to come up with an opposing right that's in conflict with the one they're limiting. In Canada, any right can be limited even without any conflicts.


You're right.

Of course that's the same everywhere else, including the US, meaning it's not worth pointing out.


If 80% of the tree is in the parent list for mold, the cache hit rate would be 20% - assuming the change distribution is even, which it won’t be.


I loved this documentary. It really captured what I loved about this job.


Same here. I found it highly inspiring as a young developer. Whenever I lacked motivation in my career, I would rewatch it.


No, once you've spent the time and hassle to immigrate, moving back is unlikely.


From what I can tell the residency change for a billionaire is about how often you fly to your various homes. Zuckerberg I think hasn't gotten rid of his Palo Alto or Lake Tahoe property, he just added a FL house and will have a cap on how many days per year he's in CA right? This isn't like a normal person with 1 house relocating.


It's very expensive to move the business that owns the assets, and then you need to ensure you don't become resident again.

Once the money moves, it won't come back to where it can be grabbed.

That's why the USA has exit taxes when giving up green cards and citizenship.


But the business didn't move. Meta not moving to FL, and Prop 40 doesn't give any reason to move it; it's a tax on the resident, not the business.


All of the billionaires have corporations, called the "Family Office". Moving the office would be a pain point.

They have been moving both themselves and their family offices.

https://ca.finance.yahoo.com/news/google-cofounders-sergey-b...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: