HNHacker News
TopNewBestAskShowJobs

pa7x1

933 karma · joined May 7, 2020

submissionscomments
pa7x1··on Why banks are suddenly closing down customer accounts
> You can't scale AND maintain those properties.

zk-proofs allow you to do so. It's seeing very active development, and yes it involves an L2. The issue you seemed to have ignored is that to be able for the L2s to inherit those properties from the L1, the L1 needs to have sufficient expressiveness to be able to build the proof verifiers. I would love to see how anyone builds such a thing on bitcoin.

pa7x1··on Why banks are suddenly closing down customer accounts
Without a general purpose (i.e. Turing complete) and sufficiently expressive programming language (i.e. providing an idiomatic and expressive manner to build general-purpose logic) associated to the ledger you cannot build scaling technology that inherits the self-custodial, permissionless, and censorship resistance qualities of the underlying ledger. Nor a financial system that inherits those same properties.

If you think about it you are very limited in what you can do. You have an asset that you can self-custody, exchange permissionlessly and without censorship which is good to fight what the original article is about. But you cannot build any financial product on top of it that would have those same properties. Nor be able to scale the transactions per second that the base layer does while keeping those same properties. And I find it very unlikely you can serve the entire world with 7 transactions per second. So yes, there is plenty to innovate on its core function.

pa7x1··on Sam Bankman-Fried Convicted
> If there were no outside demand for Ether then Ether would we worthless in USD. What you are saying is, that there is demand for the network services from beyond existing Ether holders, thereby creating demand for Ether by USD (or other currency) holders.

Demand to settle a transaction on the network is demand for ETH. Because the base_fee of a transaction is burnt, destroyed, so ETH needs to be acquired to use it as a settlement layer. Much in the same way to how heating your house with a gas boiler is demand for gas. Similarly, when natural gas prices skyrocket (cue Ukraine invasion), alternative forms of heating start to look more attractive, and consumers may change their behaviors lowering the thermostats. In the case of Ethereum, alternative settlement layers will look more attractive or some users may lower their use. The same mechanisms are in place. I agree though that the relationship is not linear, that's not what I implied. Simply that the revenues of the network are priced in fiat, because the price is set by an auction to include your transaction on the scarce blockspace. And given at least some users will be sensitive to the price of the transaction in USD they will, at the margin, set the prices for a transaction in USD and therefore the fee revenues of the network.

By the way I appreciate you engaging rationally on this topic in HN. Not a common sight when discussing anything related to crypto but much appreciated.

pa7x1··on Sam Bankman-Fried Convicted
This is a subtle point but the fee revenues that the network observes are best understood as priced in fiat currency, even if denominated in ETH. In much the same way the earnings of Microsoft in Europe are to be understood as priced in EUR even if denominated in USD in their financial reports. The reason for it is basically that the network offers a service (transaction settlement layer) that provides some value to its users and has some costs. The cost is set dynamically due to the scarcity of blockspace to include transactions, if the cost is too high it will be outcompeted with all other alternative uses of that money. They may settle in a different chain, they may settle using a centralized provider (e.g. Visa, Paypal), they may not interact at all with the network, etc... This makes it so, at the margin, the network revenues are inherently priced in fiat. Because prices will be set at the point where use of the network is discouraged given the value provided and all other alternative uses of that money.

Additionally, the fees of the network can only be paid in ETH, which means that any use of the network implies ETH demand.

pa7x1··on Sam Bankman-Fried Convicted
This critique is basically saying that cryptocurrencies have Ponzi-esque economics or more aptly named greater-fools economics. The argument being that as they have no cash-flows, any appreciation must come from future investors piling into the asset. I think this is a great optic to look at the problem as it focuses on the economic design, its sustainability, and its valuation in terms of future cash-flows.

Nevertheless not all cryptocurrencies satisfy the above. The prime example being Ether. In the last year it has experienced -0.186% circulating supply inflation (i.e. it's non-dilutive to its holders) [1]. While the network has captured around USD 6.5M per day ~ 2400M per year in fees due to its usage as settlement layer which are paid to its stakers. Basically, it's cash-flow positive and does not rely on greater fools to sustain its economics.

[1] https://ultrasound.money/ [2] https://charts.coinmetrics.io/crypto-data/?config=JTdCJTIybm...

pa7x1··on Lean4 helped Terence Tao discover a small bug in his recent paper
From a very quick glance at page 6 of https://arxiv.org/pdf/2310.05328.pdf

You can see he is treating the case of k=1,2 with that formula and uses induction to extend it to 1 ≤ 𝑘 ≤ 𝑛 − 2.

For k = n - 1 he uses a different bound defined in equation 2.2. So he bypasses the issue.

pa7x1··on Ethereum founder on U.S. crypto crackdown
Then you have not understood it. High gas prices are not evidence of high cost (as in the cost to the network to settle the transaction). In a bit analogous way high price of a luxury item is not evidence of its high cost of production. But instead of its desirability with respect to its abundance.

Cost and value are two different things. Ethereum blockspace is in high demand with respect to its supply and that drives its value (gas prices), and this is irrespective of its cost to settle that blockspace (energy consumption, HW costs, etc...).

pa7x1··on Should Ethereum be okay with enshrining more things in the protocol?
Ecosystem fragmentation is not necessarily a bad thing. It leads to rapid development through competition. Different L2s are competing against each other to provide the best service and that has lead to a cambrian explosion of solutions. It's also a very effective way to explore the solution space, I'm sure many will disappear, others will get eaten, and at some point there will be consolidation. But all this seems like a good approach early on when tackling complex problems for which the ideal trade-offs are not entirely obvious. Explore as much of the solution space as possible and trim later on.

A perhaps more pernicious problem is liquidity fragmentation. Moving assets between L2s is a tedious friction that leads to fragmentation of liquidity. In that respect, zero-knowledge rollups present a big advantage as you can share liquidity between them as long as they share some zk-circuits that allow to prove statements to both chains. All this is being very actively worked on. And the technology behind it is short of fascinating. The typical HN audience would have a huge hard-on for it, if they didn't have such a strong preconception against crypto-anything.

If anyone is curious to learn more about L2s a good starting point is here: https://l2beat.com/

And if you want to see Ethereum scaling progress you can check it here: https://l2beat.com/scaling/activity

The next major upgrade to the protocol, slated for late this year or early 2024 (date is not finalized yet), will focus on scalability by making L2 activity veeery cheap.

pa7x1··on Should Ethereum be okay with enshrining more things in the protocol?
If you want to obtain a loan onchain, then whatever you post as collateral must be a token existing onchain. Otherwise it wouldn't have any visibility on it, or actionable mechanisms against default. You may post a stablecoin backed by EUR or USD. Here is one such market to do it: https://app.aave.com/reserve-overview/?underlyingAsset=0xa0b...

Heck, if ownership of other real-world assets was defined onchain, instead of paper, you could post that as collateral. For instance, if the ownership of your house was officially registered onchain, then you could post it as collateral. Because whoever loans you, would know that he would get the official ownership of the asset. Which is for all intents and purposes the same thing that happens when we mortgage our house. Except that with our current systems we involve a lot of lawyers, banks, and notaries, that to a large degree would be dis-intermediated into code. To be noted that, of course, you can refuse to leave the house even if you lose control of its ownerhship, but these happens with both paper ownership and onchain ownership. Both would require the enforcement of private property rights by some authority holding the sanctioned right to forcefully remove you.

pa7x1··on Ethereum founder on U.S. crypto crackdown
Saw this comment too late, sorry. Yes, that's overhead for the operator of the service. But this is not what I was referring to, nor the OP to which I answered. He made the false assumption that the gas fee moves up or down because node operators in the network reflect the costs to settle a transaction in the price, if the costs to them goes up then, he assumed, gas fees go up. This is not how it works. Node operators don't have a mechanism to reflect the costs to settle a transaction in the gas fee. Those two prices are allowed to float independently, then there are some mechanisms coded into the protocol that tend to produce equilibriums so that there is never too much disparity and the network remains profitable.
pa7x1··on Ethereum founder on U.S. crypto crackdown
Absolutely not. The gas fee is not moved up or down based on the cost to settle a transaction. It's an independent market based on supply and demand for blockspace. Supply is constrained because for the network to remain decentralized you need to be able to run a node inexpensively, demand is just a result of value added.
pa7x1··on NFTs Are – Finally – Worthless
This argument is valid word for word for art, domain names, houses... So I guess you should be willing to follow your logic to the same conclusion in those cases too.
pa7x1··on A scalar triple product identity
Whenever this kind of topic arises there is always someone that has worked a bit on 3D geometry, that comes to school mathematicians and physicists on what they are missing out for not using geometric algebra. Usually with a weird tinge of conspiracy theory and cultish behavior mixed in.

They are not missing out, they are aware of geometric algebras and the work of David Hestenes. They instead prefer to use exterior algebra and Clifford algebras as a generalization. There is no conspiracy theory or large-spread ignorance by the physics/mathematics community. Geometric algebra feels like introducing a quirky notation to talk about the same concepts, with no clear added conceptual or computational benefit. So most people ignore this approach.

As I'm not particularly well-versed in the historical elements of this affair, nor I have much interest on them, I googled quickly and found this pertinent answer by John Baez: https://www.physicsoverflow.org/42912/geometric-algebra-geom...

pa7x1··on Is there a fifth fundamental force of nature?
Yes, the Higgs boson results in an attractive force between fermions given by the Yukawa potential (see here: https://en.wikipedia.org/wiki/Yukawa_interaction).

This potential takes basically the same form as the gravitational potential but with an additional exponential decay with distance due to the mass of the boson. Resulting in short-range interactions. So yes, in very short distances (~(inverse of the Higgs mass) ~ 10^-18 m) fermions do experience an attractive force between them due to the Higgs interaction.

It works in exactly the same manner the rest of interactions work, the boson (Higgs) is the mediator of the force.

pa7x1··on Is there a fifth fundamental force of nature?
There are 8 gluons, in fact.

There is not very good reason why the Higgs interaction is not called a force. I wouldn't read too much into it, tradition carries a lot of weight in how people call things.

We could even measure the attractive force it generates: jhttps://arxiv.org/abs/1601.05087

pa7x1··on An Old Conjecture Falls, Making Spheres a Lot More Complicated
The gap is very hard to close because there is a chasm between the two. RTFM here means years (typically 5+ for research math) of very focused study to follow what it says. While the popular science tries to convey something that is meaningful to the majority of people without any background exposure. The gap between the two is huge.
pa7x1··on Decades-long bet on consciousness ends
I think you misunderstand what it means for a property to be emergent. It's not about hand waiving its origin, but about highlighting that the property progressively appears ("emerges") as the scale of the system changes in some direction.

What I'm suggesting with the above, is that there is nothing magical or distinctive about the mechanisms that generate consciousness vs. those that generate the understanding of semantics, grammar, syntax in a GPT or the ability to keep a pole in vertical position on a rolling cart with some reinforcement learning. Instead, it views consciousness as the mental model that is generated by a sufficiently complex intelligence (biological or not) when it has the ability to perceive inputs of its environment, and crucially, of itself. That is, a sufficiently complex brain with the ability to observe its environment and itself, will inevitably generate a model of both and their relationship. The model of itself and how it distinguishes itself from the environment is what I think is consciousness.

What I mean with emergent is that this mental model progressively becomes more and more rich ("emerges") as the cognitive abilities becomes more complex and the inputs of itself and the environment increase. A tapeworm with a very minimal central nervous system, scarce sensory inputs of the environment, and likely even less of itself will develop an excessively simple model that can hardly be recognized as consciousness. As you scale the cognitive abilities and the inputs it processes of both; environment and itself, a richer model of both will emerge. And that thing will start to look a whole lot like consciousness.

pa7x1··on Decades-long bet on consciousness ends
You are absolutely right. Thanks for bringing it up. English is my second language, first one being a romance language, and the spelling is closer to "conscience".
pa7x1··on Decades-long bet on consciousness ends
I wouldn't be surprised if consciousness ~conscience~ is just an emergent phenomenon resulting from any sufficiently powerful cognitive system (either biological or artificial) with sufficient inputs of its environment and, crucially, of itself. So as to be able to develop a rich model of itself and its relationship with its environment, and that thing will resemble a whole lot what we call consciousness ~conscience~. Then, of course, we will push the goalposts on what conscience is, so as to protect our fragile human egos.

EDIT: fixed spelling of consciousness. Apologies from an english second language speaker.

pa7x1··on Is the US trying to kill crypto?
If you ascertain some value to the permissionless and self-custodial value of cash. And you see value in the internet's ability to connect the entire world. Then it follows immediately that you see value in cryptocurrency.

Because you cannot use cash to transact globally, and you cannot use digital forms of central bank issued currency permissionlessly or have self-custody. Cryptocurrency gives you all those three properties.

So you must give up something. HNers typically are willing to give up the permissionless and self-custody properties. After all, most of HN audience lives in developed democratic countries where personal freedoms are considered fundamental pillars and protected. But at a minimum you should consider that, not all the world lives under those circumstances. And that there are no guarantees that those circumstances will always be preserved in your cozy first world country. Certainly if you are willing to give them up so easily.

Don't be so quick to assume it cannot happen where you live. One day they may go after some fringe truckers protesting in Canada. Another day they may go after some camgirls earning a living in ways that some executive board of a payment processor considers reprobable. Maybe one day they will tell you in what you can or cannot spend your money or where you can invest it and how much.

pa7x1··on US SEC sues Coinbase, one day after suing Binance
Minor clarification. Coinbase Earn is a lending product, you lend to Coinbase and you receive interest. The same applies to Celsius, it provided interest on money they borrowed. Coinbase also offers staking as a service, the SEC is also going after this.

But both of the above are different from actual Proof of Stake, as conceived by Ethereum. The SEC has made no mention of this in neither of the 2 current lawsuits. Unfortunately many of these products misused the term to whitewash or as a marketing gimmick.

pa7x1··on Ethereum Ceremony – Add your randomness to prepare the way for EIP-4844
> The Web3 API is the API exposed by the full node themselves, and it exposes the requirement of the ethereum protocol (example: the nonce, the encoding scheme for smart contracts, the primitives operation of the EVM, etc) . It is then wrapped inside libraries in different languages (and you can write your own) but the underlying stuff is constrained by the blockchain protocol itself (you cannot make the nonce mechanism less stupid no matter how hard you try, for instance, the nodes will just reject your transaction if you don't follow the dumb protocol).

The nodes expose the JSON-RPC API, which is specified here: https://ethereum.github.io/execution-apis/api-documentation/

Some execution client implementations also expose gRPC and GraphQL APIs, if you would prefer a differentcommunication protocol.

The Web3 APIs are built on top of these underlying APIs exposed by the nodes.

The nonce protocol is indeed rather dumb, but that's not a bad thing, sometimes things need to be specified to be as dumb as they can be. A transaction needs to have a nonce that is greater than the nonce of the last transaction to be included. I think that's pretty much it, if memory serves correct. Obviously nodes will reject transactions that do not meet the rules of the protocol, that's how protocols work.

> Yes, it's the latest hack to have been added to the stack, but it's a hack that obsoleted the former hack, and will end up being obsoleted one day.

EIP-1559 was introduced in 2021. Since then there have been several upgrades, to introduce Proof of Stake and withdrawals. The next upgrade, EIP-4844, will introduce blobspace and will use the same mechanism to price blobspace.

The only changes I have heard on the line regarding this are multi-dimensional EIP-1559 and MEV-burn. These do not alter the principles but keep building on an idea that is working rather well and extends it.

> Except if there's congestion, and the base fee isn't enough so you get your transaction rejected, and you have to guess which base fee to set given that it may have increased once more in the meantime. And so to make sure that your transaction get accepted and does not bounce again, you need to overpay (too bad for a change that was supposed to get rid of overpay…)

https://arxiv.org/pdf/2201.05574.pdf

EIP-1559 reduced inclusion times and gas fees.

pa7x1··on Ethereum Ceremony – Add your randomness to prepare the way for EIP-4844
This is like complaining about the HTTP protocol because you don't like the requests Python library. There is no "Web3" API as part of the Ethereum protocol. "Web3" APIs (in plural because there are multiple ones, in different programming languages) are externally built libraries that expose in an API details about the Ethereum blockchain (blocks, transactions, gas consumed in a block, base fee, etc...). If you don't like a particular library, you can use a different one, or build your own.

EIP-1559 has never been patched. It's still functioning as it was conceived. A minor clarification is that it was not introduced to make ETH deflationary, and in fact, it doesn't guarantee in any way that it will be deflationary. It's a side effect of demand for settling on Ethereum exceeding the current issuance of ETH. In much the same way the supply of oil may go down if demand for it is greater than its production. In what ways is it annoying to work with EIP-1559? It's, I would argue, much simpler than it was in the past, as you now have a pre-defined base fee to pay to be included in a block. But perhaps you have something else in mind.

pa7x1··on Ethereum Ceremony – Add your randomness to prepare the way for EIP-4844
Could you provide examples of previously deployed dirty hacks that need more dirty hacks to circumvent the flaws?
pa7x1··on Ethereum Ceremony – Add your randomness to prepare the way for EIP-4844
The reason to provide some sibyl protection/spam protection mechanism is so that every one that wants to contribute can do so. The ceremony is secure if there is 1 out of N that correctly destroyed its secret. You individually, may not trust any one else, but then you should be allowed to contribute a secret and delete it, in order for you to trust the ceremony output. If you are prevented from contributing because there are bots filling up the queue then you won't be able to trust the ceremony. I think it's a sensible constraint from the crypto fetishists.
pa7x1··on The Cairo Programming Language
So you are making the point that one particular decentralized application has poor user documentation? Yes, I agree. I don't think it's a particularly novel observation when discussing small OSS projects.

The following projects have better technical documentation, if you want to scratch that itch:

- Uniswap: https://docs.uniswap.org/

- Aave: https://docs.aave.com/hub/

- RocketPool: https://docs.rocketpool.net/

- OpenSea: https://docs.opensea.io/

pa7x1··on The Cairo Programming Language
I think there is a quite a bit of truth in speedrunning the history of finance. I don't see that per se as a negative, there is a lot of lessons that were learnt for good reasons. Many of these lessons are still valid and some lessons are valid but do not need to be enforced through regulation because the cryptography behind takes cares of them programmatically. This is the main advantage that is being explored IMHO, that you can enforce through code things that before were dependent in a complex network of trust, institutions, auditing, and humans doing busy work and moving papers. The speedrunning part can in itself be an advantage as it allows to iterate quick until you reach maturity. But this is just my personal opinion and I can understand skepticism until these products prove their maturity.

Regarding the comparisons you propose. I don't see how [1] is equivalent. The mechanics are quite different. In Alchemix you receive a lump-sum at the beginning and pay it back gradually through the protocol that is using your collateral to obtain yield in various yield-bearing assets.

[2] is closer in spirit. But as far as I know you can get liquidated. You have a repayment schedule and if you don't meet your obligations then your collateral will be impacted. In Alchemix your collateral is locked bringing some yield, there is no fixed repayment schedule, it adapts based on the yield.

Anyway, the point was not to promote any of these smart contract and I have no affiliation with any of them. It was simply to illustrate the OP that it's not vapor ware, it exists, is implemented and is working today. It's niche, it's not for everyone, but is not vapor ware.

pa7x1··on The Cairo Programming Language
You are looking at the developer documentation. It explains the different classes and methods they expose, it's technical and the target audience is supposed to be technical.

I didn't provide this example as a particularly good example of a decentralized application but as one that provides some unique financial product that is hard to find an equivalent in traditional finance.

From the point of view of a user what it allows you to do is:

1. Deposit some collateral (e.g. ETH, rETH, or some USD stablecoin...)

2. Leverage that collateral up to 50%. I.e. You get debt of up to 50% of the collateral.

3. Do whatever you want to do with your leverage.

4. Meanwhile the collateral is put to work producing some yield that is repaying the debt you were issued. More interestingly, you can't get liquidated.

Fortunately, if you don't find it interesting you don't have to use it.

pa7x1··on The Cairo Programming Language
Here are just a few, presented for your curiosity. I have no affiliation with any of them. One thing to understand is that the decentralized application themselves are running over Ethereum. The only way to see the blockchain is either running a node yourself, or through a block explorer which is running its own node and giving you the ability to explore what's happening through a web (e.g. https://etherscan.io/)

So for each of them I'm going to present a frontend UI to the decentralized application, that is just a nice UI hosted on a centralized server that makes it easier to interact the decentralized application. And where to find the smart contracts, these are the code that is running on Ethereum. You don't need the UI to interact with them, you can always run an Ethereum node and relay your own transactions to the network. But as a user you may also simply use the web UI if so inclined.

I make this distinction because as a user, if you simply see a webpage you may ask yourself what's even the difference between that and a traditional web application. The point is that the web UI is just a nice UI, that is not needed to interact with the smart contract. The web app may have downtime, be taken down, censored by your country or ISP. While Ethereum always runs, 100% availability, permissionless, and uncensorable. These properties may not matter to you or for most applications, but they do matter for some users and applications.

Uniswap:

- This is an exchange, like a stock exchange but implemented over Ethereum.

- Frontend URL: https://app.uniswap.org/

- The smart contract(s): https://etherscan.io/address/0x68b3465833fb72a70ecdf485e0e4c...

Ethereum Name Service:

- This is like DNS over Ethereum. It resolves the ugly addresses 0x302834... to more memorable names like "andsoitis.eth". So you can snatch yours and tell people to pay you to "andsoitis.eth", for example.

- Frontend URL: https://app.ens.domains/

- The smart contract(s): https://etherscan.io/address/0x314159265dd8dbb310642f98f50c0...

Aave:

- This allows to lend and borrow.

- Frontend URL: https://app.aave.com/

- The smart contract(s): https://etherscan.io/address/0x24a42fD28C976A61Df5D00D0599C3...

Alchemix:

- Self-repaying loans without risk of liquidation. You can borrow up to 50% from your own-collateral and gradually pay it back, without risk of liquidation.

- Frontend URL: https://app.alchemix.fi/

- The smart contract(s): https://alchemix-finance.gitbook.io/user-docs/contracts

ZkSync Era:

- A zero-knowledge layer 2, that helps scale Ethereum. You can run decentralized application for a fraction of the price you would do on the Ethereum mainnet. The layer 2 posts proofs of correct execution to Ethereum. This way you can run tons of transactions while enjoying the security of Ethereum.

- A bridge to the L2: https://bridge.zksync.io/

- And a block explorer: https://explorer.zksync.io/

- The smart contract(s): https://era.zksync.io/docs/dev/building-on-zksync/useful-add...

pa7x1··on The Cairo Programming Language
The point of zk proofs is that you don't have to trust. But you can verify. Without having to rerun the computation yourself, simply verifying the proof which is much cheaper computationally.
← PreviousPage 2 of 10Next →