Showing posts with label technology. Show all posts
Showing posts with label technology. Show all posts

2025/01/23

Datacenter potential in Ethiopia

Where is Africa in this picture?  It's a fraction of the "rest of world" slice.  

A bit of history:  Until the late 2000s, data centers tended to be where the telecom cables were i.e. near big population centers with lots of Internet users. The important internet data center locations were NYC, Northern Virginia, SF bay area, Amsterdam, London, Hong Kong, etc. But as we approached the second decade of this century, energy gradually became a bigger cost than bandwidth so they started developing near power sources. Nowadays, Google and Facebook's datacenters are in places like Iowa and Oregon, far from cities and near abundant supplies of energy. 

This is an opportunity for Ethiopia.  (And it's what my company QRB Labs is focused on).

But two caveats: 
a) latency still matters so they can't be too far from the consumer for some applications like communications and live media. So in the short term, for content hosting, the focus will likely be regional rather than international.
b) for some applications, privacy, data security and intellectual property considerations are complicated, so the data centers need predictable and favorable legal environments. So Ethiopia has some catching up to do before it can really compete in hosting AI and other cloud computing services. But it remains an interesting potential area, especially for the model training portion of AI which is not latency sensitive.

There is one immediate application which is energy intensive, not very latency sensitive and completely location agnostic: Bitcoin mining.  I've written about it at length here, but let's put it in the context of data centers in general. The legal requirements are pretty simple as all the data involved is public and the algorithms are open source. And contrary to common misconceptions,  mining is purely infrastructure serving global users, it doesn't depend on local adoption of Bitcoin or the local financial regulations. So it can be anywhere in the world. The catch is, because it is location agnostic, miners are constantly seeking the cheapest power worldwide. Mining is globally hyper-competitive,  any miner that pays more than the other miners on average will immediately go out of business. So to attract miners power prices have to be very low. In the US, while AI data centers can pay up to $0.10/kWh, and households average around $0.15/kWh, and other industries such as manufacturing tend to be somewhere in between those two, big Bitcoin miners pay $0.02/kWh or less (total cost around $0.04 with half being energy). Of course, power providers will prioritize customers who can pay the higher prices. Thus, the natural equilibrium is that Bitcoin miners tend to buy power that no one else can use, also known as stranded power, and thus average lower price than any other users.

So with the right strategy, Ethiopia has a chance to benefit from the data center boom, selling stranded power to Bitcoin miners while working to develop the higher paying demand.  The highest priority should be for the power company to make electricity pricing be supply and demand-based, with aggressive location-based differentiation.

The second priority should be for the government  to radically reform the equipment import process. Currently this is a huge handicap. Importing data center equipment is a 9 step bureaucratic process. It takes on average more than 6 weeks to process each shipment, not including transportation time. 
  • Security clearance. Each piece of equipment goes through lengthy "pre-import" approval and post-arrival "import release" approval processes. But everyone involved knows that computer hardware doesn't pose any cyber-security threat. Cyber threats are generally software and network based. In fact it's difficult to think of a single example in the world of a national security problem which can be solved by controlling which computers are allowed into the country. To be blunt, it is a gigantic waste of time. The national security interest should be focused on the energy security of the country.  Is the power company planning  the supply and demand correctly? The current approach makes no more sense that limiting the number of light bulbs that enter the country. 
  • Import duty and investment incentives. Capital investments are charged lower import duties. This is an understandable objective. However, the process of qualifying is extremely onerous and often arbitrary. It requires an investment license which creates enormous complexity as I've written about before. Once you start operations you have to switch from an investment license to an expansion license, which has a new set of requirements like minimum payroll etc. Each shipment has to be gruelingly reviewed and approved by the investment commission, by the ministry of finance, as well as customs commission. Besides the inefficiency, the uncertainty is huge. Imagine importing equipment not knowing if the import duty will be 3% or 40% until after it arrives. Any misstep carries the risk of huge penalties, and at worst, the equipment can in theory be confiscated. For a data center, capex efficiency is a life or death matter, so the import risks are high enough to scare away most rational investors. It makes it very hard for a company to grow investment progressively. It would be much better to simply have a constant low import duty, say 5%,  for all equipment and get rid of the investment license. The businesses would be happier, and the government would likely make more revenue from the boom.
  • Customs. Besides security and investment approvals, you have to go through customs. These offices are notoriously inefficient and unfair. To make matters worse, the more they delay, the more revenue they generate. Conversely, if they clear stuff too fast and at a low price, the individual customs agent can be suspected of corruption. This creates a cruel incentive for them to become ever more inefficient. A crucial reform would be to a) introduce the following key performance indicator: total customs revenue divided by average time to clear shipments. Tie it to salaries and promotions of the customs officers and their managers. Those who get the most revenue in the least time would be rewarded. And b) create a public database of assessed value and duties paid for all shipments. (The public database shouldn't have the name of the importer, just the numbers). This combination would help eliminate unreasonable delays and  corruption, as both the importer and the customs agent would be incentivized to quickly agree on the correct value. 
For once, Ethiopia has something that the whole world really needs. It can be the Saudi Arabia of electricity.  (Ok the second time, if you count coffee. But as I've written about before a long time ago, it's tough for a producer to capture its fair share of the coffee value chain). Let's not mess it up! We need the best possible energy pricing and the best import process.

2024/04/25

Bitcoin mining in Ethiopia: the good, the bad and the ugly


In the last few months, media have been buzzing about Bitcoin mining in Ethiopia. For Bitcoiners, it is part of the story of Africa as the new frontier in the much desired geographic diversification of Bitcoin mining - a perspective I agree with. In mainstream Western media, it's sometimes framed as yet another example of China in Africa. That framing, while not inaccurate, I think casts a geopolitical shadow that obscures the national perspective. Others portray it as a desperate attempt by Africans for a "quick fix" to foreign currency shortages -- not false but a bit condescending and missing the bigger picture.  So, let's shine a bit more light on it from the Ethiopian point of view (Shadow, light... sorry I couldn't muster some "dark clouds" to complete the trifecta of clichés!) 

Full disclosure: I'm a co-founder of  QRB Labs, the first company to introduce Bitcoin mining to the country.  We've been quietly working since 2021 to do this the "right way" against tremendous odds.  But this post is not our company's story.  It's a skin-in-the-game opinion about how this industry should evolve for the benefit of the country. To highlight the good it can do. But also the risk of bad, and ugly.

The Good

First let's talk about the positive. Energy in Ethiopia and Bitcoin mining are a match made in heaven. 

In Ethiopia, electricity generation capacity is growing very rapidly. From 2GW in 2020 to over 10GW in the next couple of years. The Grand Ethiopian Renaissance Dam (which I've written about before) is the biggest and most famous step in that growth, but there are many projects contributing to it. All of course phenomenally good. Indeed, practically nothing is better for economic growth and broadly improving lives than electrification.  For comparison, the average Ethiopian has 1/50th the electricity of an American. So, until we get to 100GW at least, another 1000% growth, increasing generation is unquestionably necessary. 

But there's a catch. It is extremely difficult and expensive to deliver that energy to users. In the case of Ethiopia, some estimate that  $10B of investment and years of hard work are needed for transmission and distribution to catch up to generation. In the meantime, up to half of the generated energy remains unused. Which means the investment in generation takes longer to pay for itself. Meanwhile how do you finance the transmission and distribution? It's a huge chicken and egg problem, and it's unavoidable when there is rapid growth.  

In more developed countries, capacity may not be doubling or quadrupling but a similar problem exists with solar and wind power. Huge investments in supply are needed, but the demand may not match up with the supply, since consumption peaks don't line up perfectly with the times when the sun shines or the wind blows.  Whether caused by the difference between the time of generation and consumption, or by the distance, this is the problem of "stranded energy".

Now what if there was a way to make money from stranded energy? In Ethiopia, this revenue could help accelerate electrification! That's where Bitcoin comes in:   

"the competitive dynamics of Bitcoin mining are such that it shifts in time and space to the lowest available cost of electricity. This occurs not just by deploying hardware to various locations, but also by turning miners on or off instantly. This flexible demand-side support makes mining the ideal customer to balance variable supply...."  from "The Dynamics of Bitcoin Mining" by yours truly.

Thus the energy demand profile of data centers that host high energy computations makes them the perfect customer for Ethiopia's stranded energy. Bitcoin even more so than other data applications because: 

  • Bitcoin mining is location agnostic. It doesn't matter if it runs in Antarctica or the Sahara as long as it's connected to the Internet. 
  • It's also time agnostic.  Each hash computation is independent of the previous one. You can mine 24 hours a day, 12 hours a day, at random times. Of course miners, in order to be profitable, must be very good at making the complex trade offs between between energy cost and hardware utilization. But they don't inherently need 24x7 power. 
  • Further, contrary to common perception, it doesn't actually need very much bandwidth. The entire blockchain is still barely more than half a terabyte! 
  • And equally importantly, it's all public data. The entire world can see all the inputs to the miners. So there's no data sovereignty, legal information jurisdiction or cyber security issue.
  • Mining is purely infrastructure for running computers. There's no link between the locations of the miners and the users of Bitcoin. So Bitcoin mining doesn't depend on local regulations about money and financial services, legality of "cryptocurrencies" etc. 
For traditional data centers hosting say streaming video, social media or corporate IT,  cheap electricity is nice to have, but they also require some combination of high bandwidth, low latency, and a compatible legal system for privacy, copyright, finance etc. These are all areas where it is presently tough for Ethiopia to compete globally -- to put it mildly. But Bitcoin mining has in principle no disadvantage running in Ethiopia. 

Further, Ethiopia's electricity generation mix is over 98% renewable. And the other 2% is largely off-grid. So for a data center in Ethiopia, the energy is pretty much 100% "green" hydroelectricity. This is very desirable for the Bitcoin community. Bitcoin arguably doesn't have to be green, any more than ice cream or football. In fact proof of work is one of the most noble uses of energy in the world. But Bitcoin has a lot of enemies who, as I have written about before on this blog. hypocritically or ignorantly use energy as an attack vector.  So "greening" mining is good for Bitcoin globally, and Ethiopia is perfect for that.

So there you have it.  The good is amazing.  Accelerating electrification for economic development of Africa. Geographic diversification and greening of Bitcoin mining.  That is literally the mission statement of QRB Labs. And also why Ethiopia and Bitcoin mining are truly a match made in heaven.

The Bad

But an electricity grid is a very complex beast. You can have too much energy in one place and too little in another at the same time.  When you have too much, it's  a waste. And where there's too little, consumers suffer outages which have negative economic and other consequences. In addition, both excess and shortage can cause costly damage to infrastructure. The best way to balance that is to manage the demand, through price and quantity allocation.

In the case of Ethiopia, while the people at the power company are dedicated to doing the right thing, historically it has not had the independence to manage pricing and demand as it needs to. By contrast, the airline, even though it is also state owned, has a long history of independence, allowing it to mange routes, schedules and prices on a purely commercial basis. This allows it to succeed in an extremely competitive and complex international industry.  But electricity prices have historically been dictated by politics.  Thus, when it comes to the relationship between the energy producer and Bitcoin miners, they don't have the full flexibility to achieve true win-win pricing.  Consumer utility pricing is understandably more difficult to change. But at the wholesale level, the producer should be allowed to make stranded energy cheap, and conversely to charge higher prices where there's lots of demand, whether it is from data centers, factories or households.  

Without modernized pricing from the supplier, the risk is that Bitcoin miners who don't particularly care about the long term of the country can rush in  with demand in the wrong places, and destabilize the grid. Not because they are particularly evil or greedy. But just like water flows to the bottom of a valley, Bitcoin miners will go to where they can get energy at a good price. In this almost perfectly competitive industry, the purest embodiment of survival of the fittest, the typical buyer can't afford to think for the seller.

The only solution is incentive compatible pricing. Rational, non-political, and based on supply and demand. Further, it is crucial that the pricing not be based on the industry, or what the energy is being used for. Electricity is fungible. So price discrimination by type of application never works well. If one industry  gets lower rates than another, it creates perverse incentives, where one will disguise itself as the other, and cause complexity in enforcement. This is also true for Bitcoin mining. Instead, energy should be commercially  negotiated based on quantity, location and time. Let the buyers find their niche. In a fair rational environment, Bitcoin demand will naturally stabilize and benefit the grid, and  monetize excess capacity to help long term electrification. And when the country's transmission and distribution infrastructure is fully developed, when industrial and consumer demand can use all of the electricity being generated, then Bitcoin miners will not be able to pay the same price as factories or households. We should be happy to declare mission accomplished and look for cheap power somewhere else.

Another potential Bad is that Bitcoin mining can easily get politicized in Ethiopia. People who don't understand the subtle win-win dynamics may complain that Bitcoin is taking power from the people. Or based on superficial nonsense about "cryptocurrencies", especially in a bull market, assume Bitcoin miners are rich and should pay high prices. Such interference risks killing the goose that lays the golden egg. If handled correctly, mining is a tough global competition for miners but an easy win for local energy producers. But mishandling could very quickly kill a historic source of revenue.

Initially, the government made the mistake of temporarily blocking Bitcoin mining equipment imports in 2022 while it tried to come up with new regulations. Then in 2023, it implemented rules about Bitcoin mining as "cryptography" rather than "energy". But in fact, mining involves no encryption in the conventional sense of trying to keep information secret. The computation is basically just a hash function with public inputs and public outputs. It's just a race between miners to get the output faster.  (Even transaction validation, which usually is not even on the miner but in the pool, only involves checking signatures which anyone can do -- no secrets). At one point we were even told that only foreign companies could participate in this industry, which is unconstitutional! Fortunately, over the last couple of months, these errors are getting understood and things are moving in the right direction.

The Ugly

An unfortunate side effect of taking the wrong regulatory approach is potential for corruption.  Bitcoin miners are not all idealistic. Even when they are so inclined, competition is so fierce there's always a temptation to look for legal short cuts. On top of that, many foreigners come with a "this is Africa" attitude. Translation: corruption is a natural feature of the landscape. So they try bulldoze their way in with bribery. If it doesn't work, they try the next place. If it works, they exploit it as fast as possible, and when it inevitably blows up, just pack up and move to the next hunting grounds.

For many countries, oil wealth turned into the infamous "resource curse", undermining governance and even being negative for economic development. In the worst cases, it goes beyond bribery to outright theft: taking the energy and not paying for it. This is a danger with Bitcoin for electricity-rich countries too. Kazakhstan, Angola, and some other countries have experienced this ugly side. Fortunately, there's no evidence of this occurring in Ethiopia yet, but it is perhaps the greatest theoretical danger.

The best way to avoid this is for the government to eschew regulatory micromanagement. Rather than trying to control it through hardware imports, or make it political, or treat it as cryptography, or have too many stakeholders at the table, it should allow this industry to naturally find a win-win buyer-seller relationship with energy. This means allowing flexible electricity capacity allocation and pricing.  

The government's focus should be on monitoring the bigger picture: that the energy security of the country is not compromised. So rather than trying to regulate the details of what miners do, the government should require the power company to regularly report on overall high and medium voltage demand by region, generation and transmission capacity, and provide assurances that supply and demand are sustainably managed across all industries and regions.

Conclusion

So there are a few ways things could go wrong. It's important to understand them. But part of me fears that I have given ammunition to the haters. I hope I've struck the right balance.  Reviewing this post, I see I've devoted a lot more words to the good than to the bad and ugly. And that is as it should be.  We face a historic opportunity for two things I care deeply about: Ethiopia and Bitcoin. May both live long and prosper!

P.S. This post is months overdue! And it's too long. To quote Mark Twain: “I didn't have time to write a short letter, so I wrote a long one instead.”

2023/04/01

"Attention" and "Transformers" in Large Language Models

Everyone is talking about OpenAI's ChatGPT these days. Here's a very quick attempt to summarize the core idea behind large language models (LLMs) like GPT.

"Attention is all you need" (aka the transformer paper) published in 2017 by Vaswani et al from Google is still the mother of current LLMs, including GPT.  "Effective Approaches to Attention-based Neural Machine Translation", an earlier paper by Luong et al from Stanford, was also quite important.

These are sequence-to-sequence models, i.e. their job is mapping an input sequence of text into an output sequence of text. Applications include translation from one language to another, answering questions,  having a conversation, etc.

They use language embeddings (made famous by Word2vec in 2013 and later by BERT, both also from Google) as the basic encoding/decoding building blocks, i.e. mapping text to vectors of real numbers in an "embedding space".

The main new idea is in the architecture of the neural network between the input encoding and output decoding stages. The model uses the preceding terms in the current output sequence to decide which parts of the input sequence to pay more "attention" to for the next output term. A bit more precisely: the previous output is a "query" which gets used to generate a linear combination of "keys" from the input which maps to a linear combination of "values" also from the input. That in turn gets transformed into the next output term with a few more layers in a plain feed forward network (i.e. a bunch of layers of neurons, where each neuron is putting a linear combination of inputs into non-linear activation function). Each step has trainable weights.

There are also clever tricks besides "attention". One is positional encoding to represent the order so the same input term in a different position has different effects even though, unlike in recurrent neural networks,  in transformers the network just sees them as bag of words that could be in any order. Another is layer normalization to sort of keep the nonlinear outputs within a reasonable area in the embedding vector space.

This architecture, as far as I know, was not derived explicitly from the way human brains work. The "attention" analogy is really useful, but there are no principles saying this architecture is more fundamental to intelligence, or more natural, than many others. It just happens to produce remarkably good results when the weights are trained properly.

So that's the basic idea of contemporary LLMs. Of course in some sense, all computer neural networks are  just a bunch of matrix multiplications and ad-hoc activation functions. But you can't just connect a large number of mathematical "neurons" randomly in a network and hope it learns something.  The choice of architecture, i.e. how the "neurons" are connected, is key. On top of that, there is still an enormous amount of innovation/engineering to make the real world language models, not to mention turn them into a product like ChatGPT or Google Bard.

2022/07/25

The case for GERD

As the third filling of the Grand Ethiopian Renaissance Dam (GERD) goes ahead, we should expect what is now becoming an annual uptick in media coverage and geopolitical controversy.  I've been thinking of writing a version of this blog post ever since the project started more than 10 years ago, but always ended up assuming this is adequately covered elsewhere. Years later, I'm still surprised by the frequency of incorrect assumptions dominating the discussion.  Not just in the media, but also in countless conversations. So it sounds like there might be some value in exposing the basic facts.

Power

GERD will have the capacity to generate 6GW of power at peak. However, due to seasonal variations, the average is expected to be about 40% of the peak. So on average, it should generate about 80 million GJ or 20 billion kWh of energy per year. Electricity production in 2019 was about 15 billion kWh, so GERD will more than double the  country's capacity. 
Electricity generation by source, Ethiopia 1990-2019


Economic impact

What is the economic value of this additional energy? Note that we are not asking what is the cost to produce it, nor the price at which it is sold. We are asking what is the economic value of consumer and industrial uses that it enables.  One way to estimate that is to look at the relationship between energy and GDP.  From a widely cited paper, "Energy and Economic Growth: The Stylized Facts",  we can deduce that each Gigajoule of energy corresponds to about $100 of GDP:  
Double checking with another source, "Our World in Data", gives us about $0.40 of GDP for every kWH.  This data has the added benefit that it shows a similar relationship, not just across countries but also on the same country over time: 


The two datasets are in almost perfect agreement. And they imply GERD's impact will be about $8B/year, or an increase of about 7% of GDP.[1] 

Considering the cost of the dam is about $5B, a return of $8B per year is great. Of course it will take a couple of more years for it to reach it's maximum generation capacity,  many years to develop the transmission and distribution of all this additional power to 100M consumers, and even more years for industries to grow that will take advantage of it. So the full impact is still far down the road, and depends on quite a few things happening correctly (not the least of which is finding ways to sell the "stranded" generated energy to finance the development of the distribution infrastructure, a topic which I will expand upon in the future). Still, the long term benefit is so large that there is no question the dam is a phenomenally good investment by Ethiopia.

You can also view it with a "social impact" lens if you are so inclined. Can you think of many projects where a one-time investment generates 160% return per year for many many years, increasing income by 7% for more than 100M people, most of whom are among the poorest in the world? Indeed GERD is possibly the biggest and perhaps most effective poverty reduction effort in the entire world today.


Climate impact

Of course, hydroelectric power is 100% renewable, and outside of the materials used in construction, the on-going operations have zero greenhouse gas emissions. Less obvious but also important is the fact that this electricity will displace current sources of energy which are dirtier. For example, millions of people in Ethiopia today often cook with wood charcoal, which from an emissions perspective, is worse than oil, let alone gas, or clean electricity. The amount is tiny on the scale of global emissions and climate change, but still moving from burning wood to electricity is a positive transition from dirty energy to clean energy. Further, the wood comes from cutting trees. Thus, electrification helps combat deforestation, and trees take CO2 out of the atmosphere through photosynthesis. For a good discussion on the relationship between electrification, deforestation and climate, I recommend the book "Apocalypse Never",  which explains this same point in detail using an example from the Democratic Republic of Congo. (As an aside, I also recommend my  review of that book on this blog).  So GERD not only does not emit, it reduces other carbon emissions, and saves trees which take carbon out of the atmosphere, a triple win in terms of reducing anthropogenic climate change


Water balance

Increased rainfall?

An additional argument, articulated by Ugandan president Museveni in this video, is that saving trees helps rainfall, which is a positive for total water balance of the overall Nile basin (water balance is a crucial point of contention as we shall see below).  
   
This particular argument is debatable since forests increase rainfall but trees also consume water. Here's a good paper on the links between forest cover and rainfall.  So it's probably a stretch to argue that water balance will increase. But hey, trees do enough for us even if they are neutral in the water balance equation. The overwhelming consensus is that preserving forests as much as possible is good, and electrification happens to help that.

No reduction in flow

The bigger question regarding water balance is of course whether the dam itself will reduce water availability downstream. This is where there is the biggest misunderstanding. Egyptians are extremely fearful that the dam will reduce the flow of the Nile, and they view it as an existential threat. But the reality is that the GERD will not reduce the amount of water that gets to Sudan and Egypt:
  1. Electricity generation doesn't consume water. As water, pulled by gravity, flows through turbines, the kinetic energy of the water becomes electric energy, and all the water comes out on the other side and flows downhill from there as always. 
  2. When there is loss of water from a dam, it is because it has a reservoir, a lake. The larger the area of the lake, the larger the loss due to evaporation. Indeed at the High Aswan Dam in Egypt, located more than a thousand kilometers downstream from the GERD in a flatter and hotter area, the reservoir (Lake Nasser) is large and shallow, causing a significant loss of water to evaporation. The GERD however is situated in a gorge, so the lake it creates is much narrower and deeper (about 1,900 km2 for GERD vs 5,250 km2 for Lake Nasser). It's also in a cooler area. Thus the evaporation impact of GERD is much less than Aswan's. Further, the purpose of the reservoir is to regulate the flow, like a battery. In theory, if you have a reservoir upstream, you can reduce the size of a reservoir downstream. So if we naively forget political boundaries for a second, and assume Egypt, Sudan and Ethiopia were 100% cooperative, to manage the total flow optimally, they would achieve the same magnitude of regulation by reducing the volume of Lake Nasser by the volume of GERD lake. Since GERD has relatively lower evaporation, this would be a net reduction in evaporation. But to keep things in perspective, evaporation accounts for less than 2 billion out of about 90 billion m3 /year of water flow on the Nile, so it's a minor issue.
  3. A much larger fear for downstream people is that the GERD might enable additional consumptive uses, like irrigation for agriculture. This is a legitimate general concern of course, and fairness and efficiency in consumptive uses is important. However, in the case of the GERD, its location at the most downstream point in Ethiopia, near the point where the river exits to Sudan, means that it would be infeasible to use any of the water from that point for agriculture, as you would have to pump it uphill to reach farms within Ethiopia. This effectively guarantees that GERD cannot physically be used for irrigation or any consumptive activity in Ethiopia.  
For more on this, see the seminar on 'The economic impacts of large dams: a comparative analysis of the Nile and Colorado Rivers' . In particular the evaporation question and non-consumptive nature of GERD are addressed at 1:09:23 in the video

Bottom line: GERD will not decrease the net amount of water that reaches Egypt and Sudan. Regardless of what you think about the historical sharing of water, the fear that it can harm downstream people is just not supported by facts.


Floods and drought mitigation

In fact it's actually beneficial to them. As I tweeted some time ago, this excellent paper entitled 'Understanding and managing new risks on the Nile with the Grand Ethiopian Renaissance Dam' explains it:
  1. "Sudan will clearly be better off ... because GERD operations will smooth Blue Nile flows, eliminating flood losses, increasing hydropower generation, decreasing sediment load to the reservoirs and canals, and, most importantly, increasing water for summer irrigation in the Gezira Scheme and other irrigated areas along the Blue Nile".  To get a sense of the magnitude of this benefit, consider that flooding in 2020 caused over 100,000 homes to collapse and Sudan to declare a 3-month state of emergency.
  2. During droughts, it is expected that the existence of the GERD will cause "decreased water deficits to Egypt and increased water availability". 
It is also extremely important to note that, as the paper explains, these benefits to Egypt and Sudan do not depend on generosity and goodwill from Ethiopia. Keeping the flow steady by boosting it during droughts and throttling it during floods is also necessary from the self-interested electricity generating perspective of GERD, so it's a win-win-win proposition even without explicit cooperation.  In other words, long term incentives are aligned between Ethiopia, Sudan and Egypt, which should offer the strongest reassurance to back whatever political understanding is (hopefully) reached.


Filling

Now besides the long-term incentives, there is a separate question of what happens during the initial filling of the GERD reservoir, which started in 2020 and is expected to last 4 to 7 years. Filling the reservoir obviously must temporarily decrease the downstream flow. But here two facts should be understood. First, filling takes place in the rainy season (July and August) each year, where typically there is "too much" flow, so there should be no detrimental effect downstream.  Second, by chance, the first and second fillings took place during above average rainfall years 2020 and 2021. It's almost as if nature decided to be pro-GERD at this most critical time!
It's possible that the filling has already helped reduce the severity of floods in Sudan, although that effect may be limited by the fact that filling stopped as scheduled halfway through the rainy season (the Sudanese irrigation minister even complained that the filling didn't go fast enough to help).


Geopolitics

That is not to say Egypt and Sudan don't have any legitimate concerns. Future upstream uses of the Nile water could reduce their supply. The total water flow, while abundant, is currently almost 100% consumed: no Nile water actually reaches the Mediterranean Sea, except what's needed to push back salinity. So, even though GERD itself is a win-win-win,  in the bigger picture, the Nile water use is a zero sum game.  Currently, Egypt consumes 79%, Sudan 18%, and the rest of the countries combined less than 3%.

But there is international law and precedent on how to share rivers between multiple countries. The right way to deal with this case is the Nile Basin Initiative's Cooperative Framework Agreement  (CFA) which should be able to handle the issues of the next few decades at least. Uganda, Ethiopia,  Rwanda, Tanzania, Kenya, Burundi and South Sudan are on board. Sudan and Egypt initially joined, then "froze" their participation, but from what I gathered at the aforementioned seminar, Sudan has recently rejoined.  

The main problem is the recalcitrance of the Egyptian government. Given that their country consumes 79% of the Nile's water, perhaps they feel that acceptance of any upstream change jeopardizes this entitlement. The military government of Egypt has taken a hard line and it seems like they fear any compromise abroad might weaken their political power at home. This political trap has far reaching consequences for the region's stability and peace. Very unfortunate. Let's hope reason beats politics for once and things work out rationally, since GERD itself is actually beneficial to Egypt. 

Part 2 of this post explores the longer term sharing of the Nile beyond GERD.

P.S. This post is dedicated to my dear friend Ahmed Amr. A brilliant and hyper-informed Egyptian who during a conversation last year, was surprised by some of these technical facts.  Sadly Ahmed passed away from a long illness a few months ago. Ahmed, wherever you are, I hope you enjoy this post and I look forward to chatting with you again in the afterlife!

[1]Another way of getting economic impact is to multiply production by average price to get the direct value of the energy, and then apply a GDP "multiplier" which estimates the downstream GDP impact (electricity enables goods and services, which in turn enable other goods and services etc.) The problem as you can imagine is that multipliers are very inexact. In a tweet on this topic a couple of years ago, I used the a multiplier of 1.6 which I now realize is too low. I also incorrectly used peak power instead of average. Coincidentally the two inaccuracies cancelled out and the GDP estimate was about the same.

2022/06/03

The 4th wave of Bitcoin FUD

I just came across Why This Computer Scientist Says All Cryptocurrency Should “Die in a Fire”. I can't find any point in there that hasn't already been refuted many times. But it's relatively rare to find so many of them in one place, and it has been going around, so I thought I should make a little effort to rebut it. 

Security

Though not the most important aspect of the article, the "computer scientist" in the title is a not-too-subtle argument from authority, so it behooves us to take a look. The computer scientist in question is Nicholas Weaver, who I haven't heard of before, though from a brief look at his publications, I recognize some of his co-authors. It seems like his expertise is network security. So his most important contribution as an expert would be if he could find an actual technical security problem in Bitcoin. But of course he hasn't, in fact no one has successfully exploited Bitcoin. This is a rarely appreciated aspect of the network. Even though it's the world's largest honey pot, with literally several hundred billion dollars there for the taking, the entire codebase is open source, and all the data is on the public blockchain, no one has actually technically been able to "crack" Bitcoin. There is plenty of theft of Bitcoin of course, because people make mistakes with their keys etc. A scary bug was luckily fixed in the early days. Still no one has exploited the system itself. For any computer scientist, or anyone who has ever written software, this is very remarkable. As a network security expert,  you'd think Weaver would at least mention it. 

Maybe he has motivation for not saying anything positive? Indeed, apparently he's been declaring the death of Bitcoin so many times since 2013 that Weaver has earned a place in the Bitcoin Skeptic Hall of Fame.  It seems like he has dug himself into an anti-Bitcoin emotional trap which is hard to climb out of.

Bubbles

Credentialism aside, his actual criticism consists of economic arguments. He points to the price of Bitcoin in USD and "bubbles" where it rose from $10 to $100 then "crashed". Then to $1000 and crashed. Then to $20,000 and crashed. Then to $60,000 and crashed. And confidently asserts that there won't be a fifth bubble, that this time it's really dead.  But this only inadvertently points to the fact that he's been wrong so many times. Without any coherent explanation of why his previous predictions have failed, it's hard to believe him this time. A more honest view is to zoom out and look at it on a log scale, and notice that each "crash" bottoms out much higher than the previous one. So if one is going to reason purely from historical prices, then a reasonable observer would not confidently say that the last peak happens to be the final one before it goes to zero forever. That's like looking at a toddler learning how to walk and after the fourth time he falls down saying the kid will never walk. A more reasonable take is that if the Bitcoin price chart tells us anything, it's more likely the story of an emergent store of value.   Of course, chart analysis to predict future prices is generally a fool's errand, and even more so with this unique phenomenon. There are not many analogues in history -- we don't have exchange rates of gold from 2500 years ago. It's better to think about Bitcoin from first principles and think about long term adoption while avoiding short term price predictions.   

Adjacent crypto: altcoins, blockchains etc.

To make matters more confusing, most critics (and Weaver is no exception) put Bitcoin in a bucket with all the other cryptocurrencies, ICOs, NFTs etc. But almost all of the other stuff around "crypto" is junk, much of it unethical or even fraudulent.

Leaving aside the many outright frauds, the whole "altcoin" space reminds me a bit of the history of the Internet.  In the 1980s and 90s, TCP/IP had alternatives like ATM (Asynchronous Transfer Mode). A lot argued that the IP network wouldn't scale, or wouldn't offer good enough QoS, etc. They argued that the net would never be used for serious things like the phone network or television. It's true that there are various trade-offs in the design of TCP and IP, even some arbitrary choices. You can argue for different ones in hindsight. And things do evolve, albeit slowly. Witness IPv6 getting deployed in a backward compatible way over more than 2 decades, while IPv4 continues to chug along. Even ATM was absorbed as a short-lived layer 2 protocol under IP. But there's only one Internet. That's the so-called network effect. If the protocol is good enough, early enough, it becomes the standard.  

And that is where proponents and critics of "altcoins" are causing confusion and driving unjustified hostility to Bitcoin. Viewing Bitcoin as one of many "cryptocurrencies" masks a basic reality: Bitcoin is like the Internet of money and it is here to stay.

That said, I'm not against all other cryptocurrencies. For example a broader smart contract platform makes sense long term, and Ethereum may be the one for the ages. But there are significant technical hurdles remaining. And it's already so bloated very few people actually run a full Ethereum node. And that's all before the much delayed eth 2.0 migration, which if it succeeds may introduce a potentially fatal governance change called proof-of-stake. Building a "world computer" as it needs to be is much harder than what has been achieved to date. 

"Blockchain not Bitcoin" is another common theme among "crypto" hopefuls. But without a real reason for decentralization, a blockchain is just an expensive and slow database. Most of the envisioned applications for blockchains can be more easily achieved with traditional databases.

Bitcoin's proof-of-work ledger for sound commodity money is to date the only real world blockchain use case.

Energy and Proof-of-Work

Speaking of proof of work, energy use is the most common and dangerous vector of FUD against Bitcoin, and Weaver recycles the usual points. He claims that Bitcoin miners are "wasting tons of electricity". This topic is deep and generally misunderstood. Here's my attempt to distill it in my paper entitled "Dynamics of Bitcoin mining":

Does mining use too much energy?

This question assumes the system requires some amount of computation to be done and that it ”wants” to minimize the energy to achieve it. That is indeed how most systems work. But not Bitcoin. Proof-of-work does the reverse of that. The system ”wants” a certain value to be spent on energy, and the amount of computation adjusts to achieve it. Of course individual miners compete by being as efficient as possible, but the resulting collective behavior is to achieve a certain cost of energy with variable amounts of computation, not to perform a specific amount of computation with variable amounts of energy. 

This unusual combination – individual participants being efficiency-seeking but their collective behavior being efficiency-neutral – is very counter-intuitive and probably the root cause of much misguided hostility. It’s also worth emphasizing that the amount of energy doesn’t matter, only the cost. If the price of electricity relative to everything else in the world doubles, but nothing else changes, then Bitcoin would simply use half the amount of energy to achieve the same relative cost[...] The cost of energy is a feature not a bug, and ”waste” is impossible by design. All of the energy is ”work”. 

And where there’s no ”waste”, the question of energy use boils down to a moral judgement. Can you argue that heating in the winter, even if perfectly efficient, is not justified and people should move to warmer climates? What about air conditioning, or electric clothes dryers, or ice cream? When is any purposeful energy use justified? Morally, as long as access to and the price of energy is fair, what it’s used for should be accepted as a subjective choice. Bitcoin offers the possibility of inflation-resistant savings, low-cost long-distance value transfer, and censorship-resistant money. For its users, these are important benefits which are no less justified than most other uses of energy.

In the same interview, Weaver attacks the notion that Bitcoin "incentivizes green power", and goes on to misrepresent the incentives, and the supply and demand dynamics of electric power. I covered this too in the same paper:

Many sources of renewable energy are highly variable: solar and wind power depend on time of day and weather, hydroelectric power is seasonal, etc. In general, these ups and downs on the supply side do not line up perfectly with the demand for electricity. Further, even with the largest possible batteries, water reservoirs, etc., electric energy remains extremely difficult to store for later use at a large scale. Thus there is often a lot of ”stranded” energy when using renewable sources. Just like off-peak bandwidth in telecommunication networks, or empty seats on scheduled airline flights, the cost of production is already sunk, and so for the supplier, selling stranded power at any price is better than letting it go unused. [...] The competitive dynamics of Bitcoin mining are such that it shifts in time and space to the lowest available cost of electricity. This occurs not just by deploying hardware to various locations, but also by turning miners on or off instantly. This flexible demand-side support makes mining the ideal customer to balance variable supply, and as variability tends to affect renewable much more than fossil fuel sources, in effect, Bitcoin subsidizes the development of ”green” electricity.

Adoption

Finally, Weaver claims that Bitcoin will permanently fall apart Real Soon Now™, when it runs out of suckers. But there's really no basis for his claim. He doesn't give any reason why the number of suckers is a particular fraction of the world's population and why that limit has been reached now. Why didn't it run out after 1M people? Or 100M? Why not 8 billion people?  

Of course, the success of Bitcoin depends on widespread adoption. Why is gold used as money? You can try to explain it based on some key properties: it's impossible to synthesize, the supply is limited, it's fungible and can be shaped easily, it doesn't degrade... Those are useful, but we don't know if they are sufficient.  The emergence of a monetary good is a fascinating topic, one that most people don't understand and don't even realize that they don't know. ("The Origins of Money", an article which predates Bitcoin, is a good read). Ultimately, Bitcoin is just a Schelling point whose emergence is highly path dependent.That's just a fancy way of saying "we'll see", but every day that passes makes the ultimate success more likely, and it's been almost 5000 days already.

2012/10/30

Time lapse #2

This one had a couple of adjustments.
  1. To get maximum depth of focus: set the aperture to be as small as possible (f/22) and let the shutter speed be automatically determined. By the last few frames, the exposure time is up to 3-4 secs. 
  2. To compensate for the lack of trains: added a hurricane!

2012/10/29

Time lapse

Here's a little experiment I did this weekend. My first ever time-lapse video:

It consists of:
  • one photo every 5 minutes, 
  • 101 images which become
  • a movie of 10 frames per second, 
  • for a speedup of 3000 x real life.  
Setup: 
  1. Plug camera into laptop via USB. 
  2. To remotely control camera: a program called EOS Utility which comes included with most Canon DSLRs. I'd never even looked at those discs that came with the camera, which is more than 3 years old.  Good thing I never threw them away! 
  3. To make the HD movie out of the JPEG images: Movie Maker tool in Picasa.
IMG_4427I'd assumed it was all going to be much more complicated but as soon as I started looking into it, it became obvious that everything I needed was already right here at my fingertips.  This reminds me of a previous little weekend project -- 100% wireless...   There ought to be a word for this, when things turn out delightfully easier than expected. The opposite of a bug. Let's call it a butterfly.

2010/10/16

Design bugs in everyday life: hall of fame

Revisiting the subject of design bugs in everyday life, there really ought to be a "Hall of Fame" for such things, which I hereby inaugurate.

As first inductee, I nominate the typical North American cable TV remote control, like the one from Time Warner shown here. It's design is so atrocious it defies comprehension.

What is it about this object that I find so contemptible? Consider two operations on a TV remote that you really want to be quick and effortless. One is "mute"... When you need it, you need it fast. Another is "previous channel" -- probably the most frequently used button. In any sensible design, these two buttons would be large and as distinct as possible. Here they are the exact opposite, they are the tiny gray dots below the blue and red buttons. They are in fact the least distinct buttons on the whole thing!

This leads to the type of thing we've all experienced: you are watching TV, the phone rings,  your focus shifts completely to the phone call and with the little attention that you have left ofter, you fumble with the remote, trying to find the $*@%! mute button, meanwhile the TV volume seems to get louder, the phone call becomes more urgent, stress rises.... You get the picture.

On the other hand, the two largest and most visible buttons on the remote are "list" (to access DVR), bright green one, and "on demand" (to access video on demand), the big white square. But neither of those features, by definition, requires any speed... In fact they are meant to be accessed at a leisurely pace, that's the whole point of them! Perfect candidates for attractive but discreet buttons. But no, they get to jump out the most, screaming at you.

Why does this object have exactly the opposite of what you'd want in a good design? There is not even a lock-in effect, as described in the previous post, to excuse it. Maybe there's a less naive reason. The "on demand" button generates additional revenue for the cable company, so that could be why it gets featured strongly. But really, it can't make that much difference. How many times will someone order movie just because they saw the button? Once? For that tiny bit of incremental revenue they are willing to get in the way of the most essential functionality? It's like giving limousines priority over fire trucks and ambulances on the road!

But let's apply Hanlon's razor: Never attribute to malice that which is adequately explained by stupidity. They probably just don't give much importance to design at all. Recall these cable TV folks are the same people who, as I've noted before on the subject of the mythical DVR+P2P, seem completely capable of suicidally stupid fear and paralysis in the face of potential innovation.

The essence of good design is to deliver functionality efficiently, and from that the aesthetic flows naturally. Form following function and all that. For committing the most egregious violation of that principle that I can find, I hereby induct the Time Warner cable remote control to the Design Bugs Hall of Fame.

While we're at it, I might as well give them the second induction as well. Just look at the program menu on your typical TV. Why doesn't it have your most frequently used channels, like bookmarks, easily accessible at all times? Most people watch a handful of channels vast majority of the time. Does it make sense to have them scroll around or enter numbers every single time to find the same few needles in the huge haystack of 500 channels, over and over again? Why not present an automatically generated list of your most frequently visited channels, like the Firefox and Chrome browsers do with web pages? It would be a huge time saver, enormous usability win, a no brainer. They haven't thought of doing that, in the decades that cable TV has existed?  Contrast that with innovation in web browsers....

Cable TV subscribers.....  which I am not one of by the way,  imagine how much more I would complain if I actually used it!  But I digress. Fortunately, Cable TV subscribers can now root for the brave new world of software-driven television. Tivo, Boxee, Apple TV, Google TV, Netflix, et al, whatever they end up becoming, let's hope they manage to wrest the user experience from the sclerotic grip of the cable TV monopolies and their business model demons.

2009/11/08

Design bugs in everyday life

A long time ago, I think it was in the book "Information Rules", I read a great example of a pure inefficiency, a problem where everyone involved is worse off than they could be under a simple alternative scenario. At a deli or coffee shop, where coffee is served in disposable cups, it's better if the covers are the same size for different size cups (i.e. the circumference of the top of the cups is the same whether the cup is small, medium or large). Otherwise, people will waste time because they picked the wrong size cover and have to pick again, others will also waste time as they wait for them to get out of the way, some lids get wasted, the counter gets messier, etc. Many small problems arise from having different size lids.

It's a striking example because the difference between the right and wrong solution is so trivial. It's a design error, and if you realize it early on, the fix is virtually free but later it's very costly. Nothing new in that, that's exactly the nature of software bugs and it's not surprising that similar "bugs" exist elsewhere. But what really fascinated me in this example is that the bug, doesn't get fixed even in subsequent versions! You still have many coffee places that have different size cup covers, for decades, for no good reason.What a fascinating bug! It should have been crushed years ago and yet it continues to hang around generation after generation.

Since then, I've noticed other examples of design bugs in every day life that are surprisingly resilient. Some, like the one above, probably survive because the inefficiency occurs in such tiny increments, we don't appreciate the cumulative cost. Others survive because all they need is one chance to get into the system and then they are locked in forever. Here are a few random ones that I can think of right now:
  • Typographical Fonts where l (lower case L) and I (capital i) are hard to distinguish.... It seems like if you are designing a font, making letters distinct would be one of your first requirements, so how do these fonts survive, and even thrive? Imagine all the damage that has been done throughout history because someone misread a "l" as an "I"... it's hard to estimate but it must be huge. Maybe it caused a shipwreck at some point!
  • Alphanumeric key mapping on phones: a neat old idea which allows you to make memorable words out of phone numbers, like 1-800-FLOWERS. But let's look at that mapping on our phones We have 2: ABC, 3: DEF, 4: GHI, 5:JKL, 6: MNO, 7 : PQRS, 8:TUV, 9 : WXYZ , and 1 and 0 have no letters. This leaves a small doubt in a some cases: when you see O is it really an O which makes it a 6 or is it a zero? Similarly if I see a I, I'm not sure if I should dial a 4 or a 1. That's a bug in the design. The fix would obviously have been to assign I to 1 and O to 0, and then assign all the others alphabetically 4: GHJ, 5: KLM, 6: NPQ, .... with a nice side effect that now all the keys would have three letters on them (instead of two of them having 4 letters, or omitting Q and Z like they did in some old phones). Again a trivial fix but the design bug got locked-in, became the standard, and now it will never be fixed. Imagine.... maybe some lives were lost because someone wasted precious seconds by dialing a 4 instead of a 1!
  • Bank ATMs that give the cash before returning the card; it seems obvious that will cause a lot of people to leave their card behind which in turn is a huge cost for the bank and the customer! The fix is to design the machines to always return the card first and then proceed with the withdrawal or deposit. Fortunately this last bug seems more prevalent among older machines than newer ones, which hopefully means it's on it's way to extinction...

2009/08/11

Mark Cuban's advice to Myspace

I made what turned out to be a rather lengthy comment on the latest post at blogmaverick.com wherein Mark Cuban gives advice to Rupert Murdoch. A quick survey of my readers (hey me!) indicated that close to 100% would like to have that insightful comment right here on their favorite blog. Hence this post.

The first part of Cuban's advice is kind of crazy. He wants news sites to block incoming links from aggregators. Block links! That's a surprising level of cluelessness from our good friend, who is getting all the flack he deserves for that idea from other people so I won't add to it.

The more interesting part of the post is on Myspace's potential future business model... I really think he's on to something. Here's what I had to say about it (Since Wave is not integrated with Blogger yet, I can only cut & paste):

Excellent advice for Myspace, Mark! I think being a music platform is the best business plan for them. They have the audience with the right demographics, and the artists. For now… But they can’t pull it off with the website they have today. So the big question is, do they have the technical capability to support that business plan?

It would take a significant breakthrough, a next generation web application. It would have streaming, download and playback, syncing with devices, all better or at least as good as todays iTunes client/server combo. It would also have to be a great authoring/publication tool for artists to easily create a good looking online presence, perhaps even some actual post-production music features to create special samples and mixes…

In short, they need a site that is as different from today’s Myspace pages as, let’s say, Gmail in 2009 is different from Hotmail of 1999. The ingredients are available and ripe: after years of stagnation, browsers and web languages are in a period of intense innovation. But can Myspace pull them together to create a cool and, as Steve Jobs would say, “insanely great” technology for the new web-based music universe? I doubt it. I just don’t see any evidence whatsoever, at Myspace or anywhere else at News corp, of the level of technical depth required to lead the world into this new — dare I say it? — “web 3.0″ music world. Still, you are right IMHO, it’s their best bet and they should at least try rather than wither away.


2009/07/29

Chronicle of a death foretold

Sometimes little things are very telling. In the case of Facebook, one of those things is "Reply-to:"... or rather three of those things. To wit:
  • When you receive a message on Facebook, it sends you a notification by email. Great. But then you can't reply! Why? Why don't they just set the reply-to in the email header to an address that will send it back to the person's inbox in Facebook? That way you and your friend are still communicating through Facebook but with the added convenience of email e.g. on your mobile. But no, they force you to login to the Facebook website to reply.
  • Similarly, suppose you are logged in to Facebook, and you want to email your friend. You go to you friends profile, and guess what, you can't click on the email address to send them email! Why? Why can't they just make it a mailto link?
  • So ok, you decide to just copy and paste the address, of course. But you can't -- it's an image! Why? Whyyyyy? Why can't they just leave it in plain text, why do they want to go through the extra expense of converting everyone's email into an image?
In short, they are really really going out of their way to discourage you from using your friend's email address. Why? Fear of spam is not the reason, we're talking about authenticated contacts. Obviously the reason is that their business model is such that when you visit their website, they make (or at least hope to make) money from advertising.

The technical ideal here is obviously flexibility: let users exchange emails, SMSes, IMs, everything they want with their friends, with Facebook being the hub of their online universe. Instead of re-inventing separate and more primitive versions of email and IM inside their closed world, they could inter-connect and inter-operate. They could also for example enable you to chat with your Facebook contacts directly even if only one of you is logged in to Facebook and the other is on AIM, Yahoo Messenger, MSN messenger, or Google Talk... If Gaim and Trillian could do that years ago, surely Facebook can. They could effectively unify all the existing message systems into a grand Facebook Open Overlay IM ("FOO IM"). It would be a great service to their users, and a manifestation of the core raison d'être of a social network. And of course, they already have plenty of employees there who are very smart and experienced with this kind of stuff, so they definitely could. But, instead of doing the right thing, their business model is forcing them to instead handicap their users' communications!

Every company must have a way to make money of course. Through some combination of good ideas, timing, environment, luck etc. companies end up with very different business models. Here it looks like Facebook is trending toward one which requires an "adversarial" relationship with the user. We're seeing hints that their need to reach profitability is starting to go against the best interest of their users. Sure you can still make money that way. But that road is ugly. Down that road you end up with health insurance companies whose profits rely on denying coverage to people who tought they had paid for it. Shady calling cards where they put obstacles in your way so you can't fully use the advertised number of minutes. Sleezy subscription schemes that generate profits by making it difficult to cancel even when you are entitled to. Everyone knows that world, those businesses you just hate, the ones you complain about. Those are simply businesses where the company's incentives are not aligned with the users'.

In that sense, Facebook today is eerily reminiscent of AOL in the late 1990s. Facebook is the king of social networks with something like 300 million users. AOL was the king of Internet access providers, with 30 million users paying $20/month! (Here's an interesting side question: I wonder how Facebook users as a percentage of total Internet users today, compares to AOL subscribers as a percentage of total Internet population in 1999? I wouldn't be surprised if it's roughly the same.) And at the very peak of its dominance, AOL was showing the same signs. Instead of letting their users just go to any website directly, they had this limited proprietary system with "rooms", "keywords", "channels", their own content, their own applications, etc. The reason was because they were stuck in a business model of a closed online service from the 1980s. So even though they knew the open network was infinitely better, they were devoted to a doomed goal of keeping the users inside their own closed world. Inevitably their users realized they could get more for less: pay $10/month to a no-name ISP, use a free browser and just surf the web... ("surf the web" sounds so quaint doesn't it?) And they started leaving AOL in droves. Even after merging with Time Warner, AOL couldn't capitalize on the shift to broadband. They remained desperately focused on trying to keep subscribers from leaving the old "America On Line", they became a monster that took adversarial customer relations to a whole new level, before finally giving up in 2006. (By the way all this has little to do with what AOL is today in 2009).

To be sure.... Wow for a long time, I've wanted to start a paragraph with "To be sure ...", and this is the first! But I digress.

To be sure, despite the dramatic title of this post, and despite the fact that I've picked on them once before, it's far from over for Facebook. They may yet decide to give the users the obvious flexibility, and make enough money with higher quality ad targetting when the users naturally come to the site anyway. Maybe they will find new ways to advertise as messages flow openly in and out of their network, or maybe they will figure out brand new business models. Whatever the case is, they do have one great thing going for them. Execution. They know how to get things done. You don't get to 300 million users by being stupid or lazy. They just need to make sure they are not smartly and expertly marching off a cliff.

Ornella Muti, isn't she beautiful?
The title of this post by the way is from a novel by one my favorite authors. Not his best novel, but a great title. And a pretty good movie too.



2009/05/06

100% wireless

Continuing with the persotechnomobilephoto upload theme:

This past weekend, I finally completed the last step of a very gradual evolution...  to H. s. sapiens radionsis i.e. the all-wireless man.  It started with giving up the telephone landline years ago and just using the cell phone.   Then, after a recent move, I could get many high-def digital TV channels completely free... via good old fashioned broadcast.

So I decided to take the leap with Internet too.   I had a  Sprint broadband wireless modem I'd been using on a laptop, and one day plugged it into my 4-year old Mac mini. That worked no problem (after  I realized I had to put in the "phone number" #777).   So now, after procrastinating for weeks,  I was finally going to look into how to enable IP forwarding in OS X and what do you know, it's right there in System Preferences under Network, there's an icon for sharing, et voila!  Now I needed a DHCP server and I was just getting ready to download and install one when, lo and behold, I see there's already one in OS X.  Oh cool,  home network done.  Right now I am sitting writing this post from my laptop, which is connected to the Internet wirelessly via the Mac, which is connected to the Sprint cellular network.   It all just works! Sometimes you just have to say: cool! This is another one of those times.

The same little mac is also the host of  my music collection and old-fashioned CD player too. It's also plugged into the TV to serve as DVD player. And of course it's a computer connected to the internet, so with bluetooth mouse and keyboard, I can kick back and surf the net on big screen.  That goes very well with boxee.tv, which makes it really hard to miss cable TV (I never really cared much for it and barely ever had it anyway). 

Two cool things. First is that the little mac mini  has totally replaced the roles normally played by a DSL/cable modem,  a WiFi router,  a home computer, a set top cable/satellite box, and a DVD/CD player.  Not only has it replaced them all, but for the home environment, it actually does a better job in many of those cases! All in one very compact, well designed little box (HDMI for example, pretty far-sighted) where all the details just worked so easily I probably spent more time writing this post than setting it all up.  What can I say but: I love OS X and the mac mini.  

The second cool thing is that  I now enjoy home Internet, TV, and phone service all wirelessly, untethered! I could just as well be living on a boat... with a big battery. 

Always remember batteries. In this wonderfully convenient wirelessness, the weak link is  the battery.  Was it Napoleon who said something about how a whole battle could turn on a simple horseshoe? Today the same can be said about batteries.  

2009/03/14

Trouble in (AAPL) paradise?

Henri Rousseau, Le reve (de Yadwiga?)
Last year my beloved blackberry was stolen... at gunpoint! That was the single most lopsided cost and benefit equation (for all involved) I have ever been a part of in my life... but that's not today's story. The story is, I decided to replace it with a second generation iPhone (with 3G and GPS), which had just come out. I'm not about to write a product review, God knows enough has been written about the iPhone. I'll just sya it's a really cool device.

But there's one aspect that doesn't seem to be talked about at all. A few weeks later I went to Ethiopia, and coincidentally again, I got one of the very first 3G SIM cards in the country. Amazing, the coolest phone and the fastest wireless network, woohoo. Except... there was no crack to unlock the 3G iPhone! So I had to carry two phones, one to make calls, and the iPhone for my address book etc. Second, my MacBook pro doesn't have a modem! And of course, who remembers to take an extra modem with them? Thankfully I had an old IBM Thinkpad, which has a built-in modem, so I could get on the Internet. The point is that the two Apple products I had were unusable in the third world. Whereas their competitors products (IBM and Blackberry in this case) are perfectly usable in those same conditions.

When I came back, a few weeks later, I was given an HTC G1 Android. Again many people have written comparing the two, but the thing that immediately struck me as the most important in comparing the two is a very basic point. The Android doesn't assume you have a computer. Everything is over the air, your contacts, applications, OS updates etc. are all updated/synced wirelessly. Whereas the iPhone requires that you have a computer, and a pretty powerful one at that (it has to be able to run iTunes on Windows or Mac OS X). To use an iPhone, you have to not only buy the phone, you must also already have a $1,000-$2,000 computer at home. If you live in the first world, that's a perfectly valid assumption, no problem. But it means that Apple's total market is a few hundred million people in the first world. This is true of Apple products in general, but is even more true of the iPhone which is a hugely important piece of that company's future. For comparison, Android's market is those people, plus the other 3 billion people in the world who can afford a $200 phone but not a $2,000 computer.

Then few months ago I read a great blog post (unfortunately I can't find the url to link) which argued that because Apple's marketing has been based on "coolness" and "exclusivity", once a device reaches a critical mass of users, the marketing starts defeating itself. Same psychology which limits the lifespan new fashion or of "hip" nightclubs: exclusivity is key to success, and eventually when the B & T crowd can get in, it's no longer cool.

Add to that the phenomenal success of iPhone sales so far, and you can only conclude that pretty soon, it might, just might saturate its potential market, much sooner than you would expect. There's some evidence this is already happening with the iPod. And the iPhone has more formidable competitors and more complicated market dynamics than the iPod.

Recall what happened with personal computers, Apple invented the category and dominated it with a unique approach until the mid 80s. But as the overall market grew from millions to billions of users, they peaked and ended up stuck at well under 5% market share, as cheaper and uglier IBM PC clones took the other 95+%. On the other hand, in the last 10 years, Apple has pulled off several bet-the-farm miracles. Not just the invention of the iPhone, and the iPod, but also two earlier huge gambles: switching from PowerPC to Intel CPUs in the Mac, and switching from the old Mac OS to Unix-based OS-X, both were incredible successes of business and engineering that defied the conventional wisdom completely.

So this is a tricky one. It could go either way. But I'm going to go out and a limb and predict that 2008 was the year of Apple's peak. Short AAPL.

2009/02/14

What happened to Kavo, Tizaa?

I want my
I want my
I want my DVRP2P


From the first time I heard about Tivo, I expected the obvious next step, which would be gargantuan, the biggest thing since the web browser. It was obvious; Tivo + Napster! But Napster was already dead so I started saying: Tivo + Kazaa! Kazaa just happened to be the hot P2P file sharing network at the time (circa 2002). It's not necessarily Tivo anymore either, now it's DVR a whole category. So to update the idea let's call it DVR+P2P.

It's obvious. The DVR is basically a computer with a big hard drive, and a fancy video decoder/tuner card. Tivo is essentially an application that runs on Linux, I believe. Moreover DVRs connect to the Internet. So if they just added a P2P software client on it, boom! Suddenly not only can you record your own TV programs, you can also search every other user's recorded programs. This means almost anything that has ever been on TV on any channel is accessible for viewing on demand by everyone! The benefit to users would be ... I can't find a strong enough superlative. It'd obviously be HUGE. And incredibly easy to do.

So why hasn't it happened yet?

  • Copyright infringement? This is running on a closed device so they could easily restrict the software to only search "legal" videos from the same cable or satellite provider only.
  • Advertising? They already allow fast-forwarding through commercials, it doesn't seem to have killed the ad revenue. In any case they could disable ffwd if they wanted to.
  • Revenue? DVR+P2P would be so great they could charge any price for the service everyone would still sign-up for it.

Are they just extremely paranoid?

Here's what AFAIK is the conventional theory about this: Traditional laws relied on the physical form of books, records etc. to control the amount of copying, and now with digital media + data networks making copying exponentially easier the laws just don't fit anymore, and so there will be some major adjustments in the coming decades. In the meantime content owners are paranoid and are just blocking every new distribution method even if it's beneficial to them, like they tried to do when VCRs first came about. Scrounging through some links on my old homepage, I found a link to the first article I first read on this: "Who will own your next good idea?".

Today, I stumbled across a brilliant presentation by Laurence Lessig from 2002 entitled "Free Culture". In fact this post was supposed to be a quick link to that preso but it has released years of pent-up frustration on this subject in me. Anyway, "Free Culture" augurs a much darker cloud over the same field. He makes the point that digitization is expanding the scope of regulated use dramatically to the point of suffocating unregulated use. Which seems upside down because we are so conditioned to think of digitization as threatening regulated use. But when you think about it, it's absolutely true! Brilliant!

<irony>
That link on the word Brilliant which I've used before was to the hilarious Guinness commercial where they keep saying "Brilliant!"  Now it says "This video has been removed due to terms of use violation." What a perfect example of legal protection of creativity!
</irony>

The more I think about it, the more amazed I am by the truth,  simplicity, and importance of that fact: digitization is expanding the scope of regulated use. Unregulated use which used to be 90% of the activity, like simply reading a book or lending it to a friend, is being replaced by regulated use: reading a web page is technically a regulated activity, there are restrictions on what you can or can't do with those bits of content whether they are in your computer's RAM or HD, or pixels.  "Fair use" is just a minor sideshow. Unregulated use is the 800lb gorilla. I don't think most people realize that and they really should.  Lessig is a giant.  

"Free societies enable the future by limiting the past" -- Laurence Lessig.