ethereum / EIPs

The Ethereum Improvement Proposal repository
https://eips.ethereum.org/
Creative Commons Zero v1.0 Universal
12.95k stars 5.31k forks source link

EIP 102 (Serenity): Rename "gas" to "mana" #29

Closed vbuterin closed 8 years ago

vbuterin commented 9 years ago

To commemorate the increased environmental friendliness of proof of stake, starting from Serenity "gas" should be renamed to "mana".

Rationale

Aside from the above, "mana" is a better descriptor because:

 for x in `find .`; sed -i s/gas/mana/g $x
taoeffect commented 9 years ago

I think it's brilliant.

Fully support. :+1:

Side-question: why the two orders of magnitude jump in EIP numbering?

vbuterin commented 9 years ago

0xx = pre-serenity
1xx = serenity
2xx = scalability or beyond

is the schema that I am trying to put in place.

JeffreyBPetersen commented 9 years ago

Is that schema an EIPIP?

The switch from gas to mana sounds solidly justified for the small confusion it might cause. It's also much catchier and a good thematic fit alongside "Ethereum".

janx commented 9 years ago

mana_price sounds a bit weird?

vbuterin commented 9 years ago

@janx luckily that opcode will likely be removed in EIP 101 entirely: https://github.com/ethereum/EIPs/issues/28 :)

Smithgift commented 9 years ago

Insert MTG reference here.

On a serious note, gas has a real-world analogy: you use oil (ether) to make a fuel (gas). I have a minor concern that this could cause confusion for the non-geek. ("Listen, the reason you're having trouble with your bingo dapp is you're out of mana. See, um, mana is...") That said, I agree with the idea.

romanman commented 9 years ago

@vbuterin, I have a small doubt, that mana has too much magical/mythical connotation associated with white wizards and flying unicorns, mostly understood by gamers rather than modern finance world. Dont you think we can have an adaptation problem?

wanderer commented 9 years ago

associated with white wizards and flying unicorns

@romanman I think this would help adaptation :)

gavofyork commented 9 years ago

"mana" may end up being shorted to the single-syllable, three-letter "MAN", which could result in accusations of gender bias...

gavofyork commented 9 years ago

i also agree with @romanman . i'm all for sci-fi references but "mana" just makes me think of sad 13-year-olds playing WoW in their pyjamas.

Smithgift commented 9 years ago

On the subject of other words for gas, "steam" both has a power connotation, works colloquially ("ran out of steam"), and also means, in a sense, ether.

PeterBorah commented 9 years ago

I am mildly opposed, on the argument that change is confusing and should be avoided unless necessary. People are going to look at old code and say, "What is all this 'gas' referred to?" Veterans are going to keep calling it gas out of habit, confusing newcomers. I don't think the mild semantic benefits of the switch are worth the "transaction costs".

PeterBorah commented 9 years ago

Changing "contract" to something like "agent", on the other hand, would definitely be worth it.

Smithgift commented 9 years ago

I dislike "contract" as a name myself, as it implies contracts are like financial contracts, when really they are more like World-Computer Programs.

karalabe commented 9 years ago

@gavofyork :+1:

Mana might seem fun, but imho it would become an obstacle for people to take the project seriously. I'm all for dropping gas, but we should aim for something simple, elegant and serious, neither of which can be said about mana.

CJentzsch commented 9 years ago

Something not funny would be "taxes". Basically paying tax to the miners in the ethereum world. But what it really is, is a unit for computation time or storage on a super computer. Might want to call it "Flips" , since every calculation as well as storing data is just about flipping some bits. Ideally one "Flip" is exactly the cost of one bit flip :-) .

obscuren commented 9 years ago

:-1:

Look at coin base, we didn't even manage to remove a reference which was simply borrowed. I fear changing gas to something else (forget mana!) will be even worse.

LefterisJP commented 9 years ago

Let's keep naming in a professional level. I don't see something wrong with Gas, and we want the ecosystem to grow and our technology to be widely adopted by many different sectors. Naming it "mana" won't help our cause.

Gustav-Simonsson commented 9 years ago

mana

hughlang commented 9 years ago

I'm sorry I don't agree. Gas is a functional term that is almost universally recognized. Newcomers hang onto the term "gas" because it is immediately obvious that it is a consumption fee tied to some work.

Specialized insider terminology is counter-productive. "Mana" is like gold (gasp) or karma or pixie dust. Like Olympic Rewards and early beneficiaries of ether payouts. Somehow, some early participants received big payouts and most of us did not. Something God decided. A sore point.

As that Deloitte fellow at Devcon1 said: "Language is important and perception is important." https://twitter.com/hughlang/status/664887464696221696

Can we put this to a vote? I can rant about this forever.

rfikki commented 9 years ago

My choice is to leave it as "gas" but, possible alternative choices could be: Petro, Energy, Toll

taoeffect commented 9 years ago

"mana" may end up being shorted to the single-syllable, three-letter "MAN", which could result in accusations of gender bias...

That doesn't make any sense. Not an argument. Vitalik proposed mana, not "MAN".

i also agree with @romanman . i'm all for sci-fi references but "mana" just makes me think of sad 13-year-olds playing WoW in their pyjamas.

If ya'll have a problem with mana we can always go with stamina points.

taoeffect commented 9 years ago

"Listen, the reason you're having trouble with your bingo dapp is you're out of mana. See, um, mana is..."

:laughing: oh man that is reason alone to do this. That is what I call a bright future.

o0ragman0o commented 9 years ago

Not a gamer so didn't know 'mana' had been appropriated by them...

This naming really irks me because of it's religious origin. 'Mana' of course was the food that biblical god Jehovah/Yahweh dropped on the ground every morning to the ancient Hebrew's to keep them alive for 40 years in the desert (or a least until they complained).

'Mana' == "What is it?" as they'd never seen it before.

It came with rules...

  1. Mana will be provided on Sunday to Friday.
  2. Will turn to worms if not consumed on the same day as provided.
  3. Manner will not turn to worms on the Sabbath (Saturday).
  4. Collect double rations on Fridays as Sabbath must be kept holy and if you work I will likely kill you.

So unless you want a religious blockchain that takes Saturdays off, and where unused gas turns to worms the next day, I think calling 'gas' 'Mana' is a very bad idea.

I personally would prefer 'fuel' as it's a far more generic concept than the American colloquialism 'gas' (when everyone else calls it petrol or alike.)

So please, keep the blockchain agnostic.

JeffreyBPetersen commented 9 years ago

@o0ragman0o fuel has the added bonus of being largely synonymous with gas so as to not confuse people with the name change.

LefterisJP commented 9 years ago

And if gamers need gaming references for the term Gas ... Vespene Gas

axic commented 9 years ago

As others have mentioned it here or on reddit, mana too much feels like a game or a nerd thing. If it really needs to be changed, why not try to stick to computer science terminology, with something like cycle (from cycle count)? Well, probably not cycle itself, but something relevant :)

I do like gas however. Despite using PoS instead of PoW, computing happens anyway and that consumes energy.

PeterBorah commented 9 years ago

@o0ragman0o, that's "manna" with two "n"s. Mana is a term originally from Polynesia, and now used by gamers.

mwilcoxnz commented 9 years ago

I'm on the fence. Like others I agree it is associated to gaming, but I think it can fit nicely into the rest of the Ether branding and get past that. Most people involved with ethereum are probably not the best sample as most of us associate it more heavily with games than the actual meaning behind the term. Gas does make sense in a PoW world but I think mana does have a more positive connotation especially in a PoS world. Long term I think it would work. One thing to remember is that ether is the main user-facing token and gas / mana is more developer oriented.

Re @PeterBorah's thoughts on contracts, I think agents are too nerdy / technical compared to contracts, much more so than gas / mana. With contracts there's a very clear link between the name and function of the thing, whereas the tradeoff between the more functional name of 'gas' and the more idealistic name of 'mana' is easier to make as gas isn't so easily paired with the functionality in the first place.

taoeffect commented 9 years ago

Long term I think it would work. One thing to remember is that ether is the main user-facing token and gas / mana is more developer oriented.

:+1:

This will be a developer facing thing, not a user-facing thing. Most people will never be exposed to it, so "branding" concerns are mostly unfounded, IMO. The devs, on the other hand, get to have all the fun. :smile:

Smithgift commented 9 years ago

I don't think gas can be a purely developer-facing thing, because gas price is at some point a user decision. This may boil down to a single slider somewhere deep in mist that is rarely touched, but it's going to inevitably leak out of the realm of abstraction those rare times.

taoeffect commented 9 years ago

@Smithgift, can you give an example where mentioning anything but the cost of the txn (in terms of Ether or a subcurrency) would be required for the average user?

Smithgift commented 9 years ago

@taoeffect: Suppose I want my transaction to be confirmed faster, or I'm poor and want it cheaper. I don't see how I can not hear about gas price without my client being disingenuous. It could tell me, "Hey, if you want it confirmed within ~60 seconds with %90 probability you'll pay X ETH total," but it would be wrong, because the actual final cost to a transaction is indeterminate short static analysis.

In fact, I don't think we can "hide" total gas, either, because how does the DApp explain what happened when the transaction failed due to running out of gas?

taoeffect commented 9 years ago

In fact, I don't think we can "hide" total gas, either, because how does the DApp explain what happened when the transaction failed due to running out of gas?

Uh... you say more Eth is needed. That's what they're paying in.

No need to talk about gas or mana. Why would you want to confuse the user with this junk?

It would be like saying, "Dear Bitcoin user, the block size limit is 1MB and so your transaction didn't make it in"... just absolutely silly, horrendously pointless UI/UX.

There is a transaction fee. Increase the fee. No need to talk about block size!

koeppelmann commented 9 years ago

+1 for too high "transactions costs" for too less benefit. Already the renaming of uncles to "ommer" did not work.

I always have the feeling that such discussions are incredible ineffective. I would be a big fan of a arguments-tool where you can visualize and vote for arguments. Unfortunately I guess there is not a good tool for that - the best I found was this - just for fun I tried to capture the debate: http://en.wikiarguments.net/should-we-rename-gas-to-mana/

P.S. I also started a market: http://groupgnosis.com/dapp/#/markets/0x713387538cf04676bb5d9c9d904ed87a/0x1878ace4203099dfa8838bbf2db86b5e9d364fba0

taoeffect commented 9 years ago

Voting also taking place on the subreddit: https://www.reddit.com/r/ethereum/comments/3trxzk/poll_eip_102_rename_gas_to/

o0ragman0o commented 9 years ago

@PeterBorah, thanks, I didn't know that. Though I think it illustrates further what an obscure notion 'mana' is. 'Gas' is a pretty intuitive concept and I don't see any benefit in changing it just because it's 'renewable' in Ethereum.

ErikBjare commented 9 years ago

Changing basic terminology this late would likely only be a cause for confusion. Unless the basic mechanism of gas is about to change the name should remain the same. Some minor symbolism about mana being renewable while gas is not is a pretty weak argument in my opinion.

etherReal commented 9 years ago

@vbuterin @romanman :+1: to "mana",
Though @ErikBjare @koeppelmann and otheres object to changing the language because we are used to it; I think it is still VERY EARLY days and the number of Ðevs and users yet to come will benefit from mana far more than we will lose in dropping gas.

It's easy to get stuck in an English Language 'bubble', where 'Mana' has a little gamer and biblical fuzz, but that may be no bad thing for Christians and Gamers. The only negative meaning of Mana I know is from Buddhist thought where it is the cause of pride and conciet. But like @PeterBorah pointed out in most mythologies where it shows up [Pacific Island / Polynesian / Anglo-Saxon] it is "a force altogether distinct from physical power ... which it is of the greatest advantage to possess or control" or "life-force / charisma" or (my favourite for it's mythic implications in ethereum) 'Mana mutra' which is the practise of drinking ones own urine. :smile: after that is kind of what is going on :8ball:

Smithgift commented 9 years ago

@etherReal

Speaking as a gamer (idle game running in background) and a Christian (holy card and rosary in pocket, image of Divine Mercy under monitor) I don't have a problem with the term qua term personally. Though the arguments against changing anything have more and more convinced me in favor of gas remaining "gas".

Smithgift commented 9 years ago

@taoeffect

The Bitcoin block analogy isn't quite accurate, because if my bitcoin transaction takes three blocks to get in or twelve it doesn't matter much to me. Whereas running out of gas costs me something, gains me nothing, and if what I was trying to do was time sensitive I may have lost the opportunity. A better Bitcoin equivalent would be the tx being dropped altogether due to a crash landing scenario, at which point the user has a legitimate demand to know what is going on.

An alternate analogy would be a car. There are, if you will, multiple levels of car knowledge.

  1. How to actually drive the vehicle.
  2. How to own a car (maintenance, registrations, buying gas)
  3. How a car actually works, down to the physics of internal combustion engines.

Theoretically, you only need a level 1 knowledge of cars to actually use one, whereas the manufacturer of the car needs level 3 knowledge. It is reasonable to leave out a lecture on the mechanics of the car for the buyer, but level 2 knowledge is important.

To bend the analogy even further, if driverless cars were popular, manufacturers could simply make an interface where the user selects destination and speed and the car takes care of everything, down to calculating the fuel required and buying it when necessary. But then if the car runs out of gas due to some unexpected situation, the passenger is now stuck. Had the passenger specifically ordered more gas by an informed decision (say, knowing there will be heavy traffic) the passenger might have avoided it.

"Proof by analogy is fraud," to quote Bjarne Stroustrup, but I think ethereum gas price falls on the border of level 2 and level 3. It's if it moves into level 2 that we have the problem.

Actually, the last time I read a microwave manual, it included a brief description of the principles behind microwaves and their history. It's not unreasonable to assume that the user will ask a few questions about how their client works, at which point we will be unable to hide the existence of gas. Or even if we make an infographic to describe Ethereum to an interested outsider.

On that same subject, consider how few of the people affected by Heartbleed actually knew/cared/had the background to understand why they needed to change their passwords, but they did have to change their passwords nonetheless. In some severe network crisis (spam attack?) gas is going to become important enough for the user to car about.

aakilfernandes commented 9 years ago

I think both "mana" and "gas" are off base. What is being described is closer to a "delta" or "step". Its a change in the state of the system or a computation required to make that change.

A "delta/step price" makes it very clear what you're trying to describe. Its the price of making every node in the system execute one delta/step.

Mana def has a nice feel to it, but I think clarity is more important.

aakilfernandes commented 9 years ago

However agree with sentiments above that this is not really a user facing term, so the status quo is fine.

taoeffect commented 9 years ago

@Smithgift

A better Bitcoin equivalent would be the tx being dropped altogether due to a crash landing scenario

Did you just link me to a Mike Hearn post? lol, I believe you did.

taoeffect commented 9 years ago

Seriously, if Mike Hearn's BS can infect the Ethereum community too, well, I think I'm going to have to quit the software business, because it will be a clear sign that humans lack the sufficient critical thinking necessary to handle computers.

taoeffect commented 9 years ago

Folks will have to forgive me for my flippant responses above. I've already spent an extraordinary amount of energy on this topic elsewhere, and as you know the bs asymmetry principle works against you:

bullshit amount

Smithgift commented 9 years ago

I apologize if I appeared to be making any kind of passive-agressive snark; I had no knowledge you were involved on either side of the blocksize debate.

Please, let's just ignore all this and get back to renaming (or not) gas.

taoeffect commented 9 years ago

Please, let's just ignore all this and get back to renaming (or not) gas.

Agreed. :+1:

FYI, on reddit Gas is in the lead by a lot, but a late contender not discussed here—Lux—has overtaken Mana.

etherReal commented 9 years ago

:+1: Lux @taoeffect

and Another thought.
Language is a natural consensus system. Words and names get coined all the time and people constantly exapt and adapt words from one place to another. We just use the words that come to mind first, which is why it seems to cost so much to "re-brand" a meme, when you get your mucking words fuddled.

No matter what last years dictionary says a word means what your audience believes it means. I'm going to start using the word lux instead of gas and see where that gets me :- Which won't be far unless I'm part of a big enough memeing pool. Let's get Lux over 51% until it hits :100:

alexvandesande commented 9 years ago

While I liked the concept of mana at first I agree that it doesn't really help the general public understand it. The same can be said of "lux", unless you are an astrophysicist or a lamp engineer, it's a term you've never heard about.

The real problem with gas, is that it's not understood as a real unit. You don't put 10 gas on your car, you put 10 liters of gas on your car. The idea of measuring gas in gas units is rather confusing to the user.

On the wallet we might simply use the term transaction cost, execution price or a more declarative term and avoid any unit names whatsoever.