HNHacker News
TopNewBestAskShowJobs

spir

1,169 karma · joined December 16, 2010

https://twitter.com/ryanberckmans
submissionscomments
spir··on Hard-to-swallow truths they won't tell you about software engineer job
Pete Davidson joked that depression is a rich person's condition because it implies you have a life you shouldn't be depressed about. Same with software engineers?
spir··on Tell HN: Linear history is broken when using GitHub PRs
I appreciate it, but long-lived branches aren't the problem here.

Let's say you're working on dev, you add two commits, and now you want to merge these to main.

Most people don't know that GitHub has no PR merge method that simply allows you to copy those two commits onto main.

It's literally impossible for you to use GitHub PRs to simply have dev become main.

Here's why:

If you use a merge commit, it will create a merge commit ("The pull request is merged using the --no-ff option.") So dev isn't becoming main; main is becoming something new.

If you use squash and merge, it will rewrite your two commits into a single commit. But you wanted two commits or you would have already done one commit in dev. Again, dev isn't becoming main; main is becoming something new.

If you use rebase and merge, it should then copy your two commits onto main, but in fact, it rewrites them with new commit hashes, it's not a copy. Then, you need to rebase dev back onto main because main is now something new.

More detail: https://github.com/orgs/community/discussions/4618#discussio...

spir··on Sergey Brin's airship gets FAA clearance
I was hoping somebody would chime in on the sustainability of helium for airships.

I'm a total amateur here.

Is there no hope of finding a new source of helium?

Is there any opportunity for airship gasses that are reasonably competitive to helium but have a much more abundant supply? Is helium the only possible such gas (besides hydrogen)? Are competing gases 30% less efficient or 3,000% less?

spir··on Good times create weak men (2019)
Thanks, this is great.
spir··on The crypto industry is rooting for a Sam Bankman-Fried conviction
For sure. Crypto people hate Sam.

A lot of crypto people knew he was unscrupulous and opposed him before FTX blew up. There were a lot of signs he was a bad person and the effective altruism thing was B.S.

But, pretty much nobody in crypto expected him to be the wholesale incompetent fraud he ended up being. We thought he was a bad guy, not a blood-chillingly evil moron.

It's nice to see the NYT shift to offer some reasonable coverage on Sam. One of the NYT reporters, David Yaffe-Bellany, is a good friend of Sam, spoke with him regularly even after he was apprehended, and routinely provided rose-colored puff pieces throughout his fall.

spir··on Tim Sweeney on Layoffs at Epic
Is the reality of their dire straits really so clear? And the connection of those dire straits to CEO compensation?
spir··on Tim Sweeney on Layoffs at Epic
I was hoping somebody would pick up what I was trying to put down, which is that there's a fuzzy spectrum between silly examples and a self-evident duty of care between employers and employees.
spir··on Tim Sweeney on Layoffs at Epic
It seems that Western society is divided over the question as to whether or not employers have some broader duty of care to their employees beyond the economic arrangement of employment.

If the CEO of a factory had to sell half their maintenance-hungry machines to balance the budget, do they owe it to the sold or retained machines to take a pay cut so they "share in the harm of the layoffs"?

The factory machine example is silly because they are machines and offensive because many people would agree that employees are very much not machines.

spir··on The elderly are becoming homeless at a rate not seen since the Great Depression
You only perceive corporate landlords as the greater problem because we're not living in the counterfactual reality where there are millions of new apartments that are inexpensive, tiny, safe, quiet, modern, clean, dignified, and well-located.

In pretty much every major city in North America, it is illegal or there is too much red tape to build the affordable housing people actually want.

Why is it that living in a tent on the street costs $0/month but the entry-level apartments cost ~$2k/month? Why are there no price points between $0 and $2k? The answer is bad government policy.

spir··on Ethereum would have consumed 0.2% of global electricity this year
One year ago, Ethereum completed the "merge" and successfully transitioned from proof-of-work to proof-of-stake.

At the time of the merge, the most economically productive use for graphics cards was to mine Ethereum. The merge caused a worldwide crash in graphics cards prices. GPT 3.5 launched two months later.

If Ethereum had not merged and instead stayed on proof-of-work, it would have consumed 0.2% of global electricity over the past 365 days.

The merge was completed with zero network downtime, like swapping the engine of an aircraft mid-flight.

spir··on There are now two types of PayPal dollars, and one is better than the other
Payment systems like Central Bank Digital Currencies, FedNow, India's UPI, or ISO20022 won't be able to compete with the broad and deep benefits offered by public blockchains.

For example, using Ethereum L2s or other public chains, anybody in the world with a phone will be able to access American T-Bills and equities, lending products, and much more.

Public chains are a better foundation for a global free market economy, and that includes but is not limited to payments.

spir··on There are now two types of PayPal dollars, and one is better than the other
If you end up being wrong, and crypto becomes a globally ubiquitous economic backbone, how will you rationalize having been incorrect in your present view?

You're a long-term hacker news community member. Like all of us, you pride yourself on the rational exploration of technology. Does "They've had more than a decade to find a single usecase other than crime, and they haven't" strike you as a particularly rigorous argument? Why would a decade be the magic number? Might there be more objective or intrinsic metrics of realization of potential than a set number of years? For example, Ethereum invented the crypto app layer and launched eight years ago, so perhaps ten years is both arbitrary and incorrect?

You seem to be somebody who is certain that crypto is- paraphrasing- useless for anything but crime. Given your conviction in this view, what up-to-date evidence do you have? For example, how would you contrast the capabilities of modern non-blockchain payment systems, like FedNow or India's UPI, versus the emerging network of public blockchains? If you can't answer the question, maybe your strong conviction is unjustified?

It seems that many technologists in the HN community have been whipped into an anti-crypto frenzy by crypto's many scams and now, blinded by rage and disgust, are unable to pursue any semblance of the kind of rational inquiry that otherwise is a fixture in their intellectual lives.

spir··on How can we get GitHub to support fast-forward-only merges for PRs?
np thanks for the response! It's always been this way. If you might know somebody at GitHub, maybe they could take a look at the linked feature request?
spir··on How can we get GitHub to support fast-forward-only merges for PRs?
Pardon me, but I believe you misunderstand how GitHub has implemented "Rebase and Merge". In this case, github will generate new commit IDs even when the rebase is a no-op.

As far as I know, it's impossible to merge a GitHub pull request without one of squashing, generating a merge commit, or rewriting the commits. It is not possible to simply copy pre-existing commit IDs.

You can test this yourself. Simply checkout the main branch, add two new commits, push those commits to a dev branch, and try to merge them in a PR to main in a Rebase: you will observe that github has rewritten the commit IDs vs. the ones you generated locally on commit.

spir··on How can we get GitHub to support fast-forward-only merges for PRs?
GitHub is nearly 15 years old, and there is still no way for a pull request merge to be fast-forward-only (linear history) AND preserve the same commits as pull request source branch.

Today, if you want to preserve commits in your development branch (and not squash them; squashing is great sometimes), you have two bad options:

1. merge commits. This is bad because linear history is an excellent risk reduction mechanism for a production build.

2. rebase commits. These would be ok, except when github rebases the commits into linear history, the commit hashes change (they are new commits) even though the patch and metadata are identical. So your development branch itself constantly needs to be rebased on your production branch, because the commits being added to production are newly created by github rebase & merge.

What we need is a fourth option "Fast-forward merge", which requires linear history and only preserves (ie copies) commits from the PR source branch into the target branch.

How can we get GitHub to care about this and action on it?

spir··on Narrative over Numbers: Andreessen Horowitz's State of Crypto Report
We'll never turn permanently away from crypto because the underlying technology and networks are a revolutionary improvement.
spir··on Narrative over Numbers: Andreessen Horowitz's State of Crypto Report
Criticize crypto however you like. Much or all of it is justified. But, don't make the mistake of believing that crypto is a nothingburger. Crypto tech, including stablecoins and NFTs, will eat the economic world.
spir··on NPR quits Twitter after being labeled as 'state-affiliated media'
Last week, the Federal Reserve issued an important update on twitter. So no, I don't think twitter is worried about losing NPR. Twitter has the strongest network effects of any contemporary social network.
spir··on People had to be convinced of the usefulness of electricity
People Had to Be Convinced of the Usefulness of Programmatic Decentralized Public Chains (aka Crypto)
spir··on People had to be convinced of the usefulness of electricity
HN community member response: Given that Ethereum launched in July 2015 and prior to that, no programmatic blockchain existed, on what basis did you select your parameter of 7.75 years as the amount of time necessary to elapse before we're sure no valid at-scale use cases exist?

Crypto bro response: loaning my USDC on Notional for a fixed rate of 4.6% and then bridging it to Arbitrum Nova to then send my friends and family interest-bearing US dollar payments for zero transaction fees seems pretty f'ing useful to me.

Degen response: lol ok bro gl with that

spir··on Warn HN: I've never seen the HN community so delusional about a major tech area
cheers, and thank you!
spir··on Banking in uncertain times
The reason this is not true is because the best stablecoins, like American-run USDC, have excellent transparency and are backed 1:1 in cash and short-duration treasuries, with no fractional reserve system.

https://www.circle.com/en/transparency

spir··on Banking in uncertain times
Over the weekend, before an FDIC settlement was announced, uninsured SVB deposits were reportedly trading between $0.75 and $0.90 among private sellers.

In other words, both USDC and uninsured SVB deposits had the same market response over the weekend. But every USDC holder had unfettered access, whereas only large SVB depositors were able to access the informal market of private sellers.

I want you to remember this interaction because by the end of the decade, there will be over $1 trillion of USD stablecoins in circulation (in today's dollars), and at least one of the five largest banks in America will run a major stablecoin product of some kind, such as their own stablecoin, redemptions for an existing coin, or consumer on/off-ramps to the crypto financial system.

spir··on Banking in uncertain times
For your objection to refute my thesis, you'd need to explain how a world with stablecoins that are immune to bank runs, where those stablecoins are held in next-gen wallets and can be swapped into any asset in the world 24/7 any time you want at the click of a button, is not a superior UX vs. today's bank deposits.
spir··on Changes at YC
If a rich great childhood was sufficient to build great businesses, then shouldn't we expect a middle-class childhood to be sufficient to build a decent business?

But a lot of middle-class people try and fail to create any kind of business.

The reason is that it takes more than money and education to build a business.

Money and education are necessary to build a great business, like electricity is for your home, but insufficient, as your home also needs good construction, running water, etc.

spir··on Changes at YC
You seem to be conflating "necessary" vs. "sufficient".

Elon's inherited wealth and excellent upbringing were necessary for his Tesla and SpaceX success, but far from sufficient.

If a good rich childhood was all that's necessary to commercialize electric cars, reusable rockets, and fast satellite internet, then we'd have a lot more of these kinds of amazing products as millions of people have good rich childhoods.

spir··on Banking in uncertain times
You're right, stablecoins held custodially in an entity could be subject to similar contagion.

Yet, non-custodial holding is becoming much easier and safer.

Crucially, wallets are improving a lot, and a spectrum of custodial options is developing, with rich tradeoffs in eg. safety and self-sovereignty.

For example https://www.coinbase.com/blog/how-smart-cryptography-makes-c...

spir··on Banking in uncertain times
You're right, last weekend, USDC dropped to a low of ~$0.88.

However note

- SVB was closed on a Friday (as is the FDIC's custom). This meant that USDC could not process redemptions over the weekend as banks were closed, and this created fear in the market.

- USDC had 8% of their reserves trapped in SVB. The fair market value of USDC would have been $0.92 if all SVB deposits were lost, which was never likely.

- crucially, USDC operator Circle has acknowledged the need to transition to a "full reserve" model where reserves aren't subject to bank runs. https://twitter.com/jerallaire/status/1635548066185871360

- over the weekend, USDC did lose its $1 peg and trade as low as ~$0.88. However, all USDC holders were able to maintain access their USDC to do whatever they wanted with it, which is a lot better than SVB depositors frozen and waiting to see what happened.

spir··on Banking in uncertain times
You're right that internationally-run Tether (USDT) is the largest stablecoin and has opaque reserves.

However, American-run USDC is growing faster and has excellent transparency:

https://www.circle.com/en/transparency

spir··on Banking in uncertain times
Stablecoins are conspicuous in their absence in patio11's post. Personally, I believe that patio11's loathing of crypto has made him incurious about its potential. But that's not the point here. The point is that stablecoins are about to become a Very Good Deal for ordinary people:

In the near future, stablecoins like USDC will become immune to bank runs because the US Dollar reserves backing them will be held in vehicles that don't loan out the reserves and hold short-duration treasuries directly with the Treasury Department.

At the same time, any person or entity with USDC in their wallet has instant, 24/7 access to global markets at their sole discretion, without intermediaries.

On Ethereum today, anyone can buy Coinbase stock, treasuries, an S&P 500 index, and real estate.

In short, the UX of stablecoins is becoming vastly superior to bank deposits because you'll be immune to bank runs, control your own money, and have instant access to global markets, including for low-risk yield on your stablecoins, such as in treasuries or over-collateralized lending.

← PreviousPage 2 of 9Next →