BarCampJozi 08 day 1

I’m attending BarCampJozi 08 at the moment. About 25 people here, interesting people.

This is not quite live-blogging, but a few excerpts from each talk. I didn’t get everyone’s name (sorry), and it’s certainly not a complete transcript.


Social Entrepreneurship and Systems Thinking
Carl Spies – Cerebra

Relationships between people and things are a tool to approach solving problems for which we have not been trained, and useful for working out howto change societies and organisations.

Introduced Biomatrix — book on systems thinking and solving problems, from some University of Stellenbosch people.

Acoha.com — play it forward game. Get cards that have real-world social-awareness type missions (eg. buy someone coffee, etc.). Give some feedback using geolocation after completing your mission. You can create new cards, and pass them on — Acoha tracks the “paying it forward” tree, using systems theory / network theory ideas. (NB: Collect cards from Cerebra on Monday).


Quantum computing — is it a threat to information security?
Petrus

Speaker part of a quantum computing group at UNISA. Described now quantum computing can solve the factoring problem, thus breaking much of public key cryptography. But that’s not the only threat — factorisation is not known to be NP complete, so many be solvable even without quantum computing.

Then described quantum key exchange as a way of seeding cryptography systems — not a one time pad, but still very good. Use the quantum pairs just to exchange the key, rather than directly encrypting the data itself.


Johannesburg Area Wireless User Groups – JAWUG
JP

Wide-area user-built wireless network covering Johannesburg and Pretoria. Discussed also some regulatory aspects — fine to do this as long as you aren’t deriving profit from it.


URL-shortening services
Scott

List of over 90 services now available, with more all the time. Quesion: What’s the point of all the different services?

Mentioned snurl.com — includes tracking on how often URLs are used. Good for viral marketing, eg., auto-populating Twitter posts for website users, to ease viral word-of-mouth.


wiki.geekdinner.org.za – Geek dinner

It’s happening, next event around 20 Nov.


Yahoo Fireeagle — geolocation hashing
Rabble

Takes a variety of location sources (GPS, cell towers, wifi, etc.), and turns a location into a standard key, that can be exchanged with other services — this solves the problem of location services being vertical silos.

Where On Earth – Yahoo database of geographic features and names (suburb, towns, etc.), of all sorts, location and bounding box. Opened up as a webservice now. Open Planet – submissions from outside, mostly Flickr (people tagging photos with locations and places names) — though these are what people think places are rather than what it actually is, eg. San Francisco viewed as larger, includes Golden Gate bridge, etc.

developer.yahoo.com (but apologies for the query format) — can query with latitude and longitude, at given hierarchy, and find neighbours, etc.

openlayers / mapstraction – mapping abstraction layers, can use various other mapping systems.

openstreetmaps – lots of mapping data (incl. developing world cities), raw data available.


Rich internet applications — Which framework will win?

Flash+XML=Flex, Silverlight, JavaFX, XUL, Javascript Web 2.0 — problem: keeping it open? Also OpenLaszlo, can deploy as Flash or HTML.

Other code generation toolkits, eg. Google Web Toolkit, OpenLaszlo (can deploy as Flash or HTML).

Argued that browser is not a good starting point for applications, as one is attempted to patch a broken model, so these other technologies are a good idea — but need to keep it open to avoid returning to pre-web standards days.


Webkit
Armand

Using Webkit as the foundation of client applications — HTML, Javascript, plus bindings for local hardware access.

Showed example of a cross-platform application, running with an iPhone-like interface on all platforms, using iUI library to get the iPhone look. Can add bindings for other services, eg. geolocation.

Still need to build the native application which embeds webkit. Light on resources. (Side note: Adobe Air is hard to get working, and upgrades break. Someone commented that the deployment and upgrade process is the challenge of client side systems, and now we’re turning deployment-free technologies like HTML into apps that need, but don’t have, deployment and upgrade tools.)


Web apps for Africans
Eric (White African)

Described how as African developers we often develop for the West, or for the few really tech-enabled people in Africa — small market. Some exceptions, eg., MXit which works across nearly all phones; ijol. Lots of opportunities that exist in the bulk of the population — but we develop for the fringe.

Question: why do we do this? Why don’t we develop for the bulk? Some answers from crowd: we’ve always lived from a computer screen, not a cellphone screen — and this means we think differently, and can’t see the opportunities.

Mobile currency: major hole, but some people trying to fill it: Pocketbook (?), SWAP mobile. Zimbabwe: can buy petrol using a service in UK, get SMS that converts to petrol in Harare.


seaside – a web application framework in SmallTalk
Danie Roux

SmallTalk — no longer an old language, it’s now just mature. Improving thanks to the development environment, rather than perhaps the syntax itself!

The application image contains the code, a webserver, versioning, the whole lot. Awesome “halo” effect, where you can inspect the code behind any page component. Also, no de-marshalling and marshalling of incoming and outgoing requests — that’s all handled by the framework. For production, Gemstone is a very powerful application server, with built-in object persistence.

Other useful features: code completion, vi key bindings, unit testing


ellg (by Curverider) — open source social networking platform
Noto Modungwa

(Other product from this company:) ODD (Open Data Definition) — allow export and import of one’s social data

Speaker works for MWEB, which apparently runs about 70% of e-commerce transactions in South Africa. However, the community and support is not great! So the idea is to use a social networking platform to improve this, and become hopefully a starting point and hub for e-commerce developers in South Africa. (Edit: thanks for comment below — this site is not tied to MWEB, but is really aimed at a general meeting and info-sharing site for the SA ecommerce community. Exciting!)


Hacking your tastebuds

Speaker brought some Miraculum (sp?) tablets, made from a West African plant. It modifies one’s bitter and sour tastebuds, so that food tastes naturally sweeter. Idea is to use it not as a replacement for sugar and artificial sweeteners, but to replace the need for them. The effect lasts about an hour after dissolving the tablet on one’s tongue.

We had lemons, grapefruit, tequila, cottage cheese. All tasted awesome, and very different. Good way to finish a day.

Conferences!

Next week is going to be full of talking about doing, rather than doing, because I’ll be attending two conferences.

The first, on the weekend of 11-12 October, is a Johannesburg BarCamp. BarCamps are one of these new class of “unconferences”, where the idea is to get a group of people together, and have them give talks to each other about anything interesting. This one, I suspect, will be like most others and have a strong leaning towards the internet startup space. But I’m excited about the chance to meet some other local people working in this environment, and make some connections.

Then on 13-15 October is MobileActive08. This is a big, proper conference, where “proper” means that it has a topic: “Unlocking the Potential of Mobile Technology for Social Impact”. The agenda is full of really interesting presentations from people around the world using mobile (cellphone) technology to revolutionise business and social development. It’s especially relevant in South Africa, which is such a huge mobile technology market — I keep seeing new and fascinating applications being developed (like the incredibly successful MXit, now with somewhere on the order of 10 million users).

Talking of which, I’m going to these conferences with some mobile ideas of our own in mind — one relating (surprise, surprise) to the health sector. So this week will see a lot of work on getting out marketing paperwork sorted out.

Lastly: it looks like I can get some guests in for social functions for MobileActive. Any friends in Joburg interested? Drop me an email.

Tags: #barcampjozi #mobileactive08

Film festival on the xenophobia riots

Almost by chance, Rhiannon and I landed up watching one of the events that is part of the Tri Continental Film Festival, at the Cinema Nouveau at Rosebank. It was a screening of a number of short movies, as well as some public service shorts shown on TV, all based around the xenophobia riots that broke out in May around Johannesburg.

The films were really good, and obviously very moving. The first covered the events before and during the riots, from the ground, and I think managed very well to avoid imposing interpretation on the motivations and actions of the people concerned. The other movies focused on the displaced people (foreigners as well as South Africans from smaller language groups) and some of their stories in the refugee camps.

The riots were and remain a huge national shame, I think — that a country like South Africa, with our historical focus on human rights, and huge resources, should need to be pitching UN High Commission of Refugees camps within Johannesburg, reflects a huge failing at all levels of society. This includes the poeple involved in the violence, but also government and society at all levels, for the poor response to the crisis.

But today’s event certainly helped me understand what happened a lot better. The films were followed by a panel discussion, with all the directors, as well as a number of speakers and many of the people shown in the films. It’s quite clear that in the township of Alexandria, for instance, there were and remain major grievances around housing. The government has been building RDP (Reconstruction and Development Programme) houses, which are supposed to be made available free to otherwise-homeless inhabitants of the township. But it seems that many have been given or sold instead to people not from Alexandria, allegedly as a result of bribes. Some of the people who have landed up in the houses are foreigners, which led to some anti-foreigner sentiment in marches that happened before the full riots started. As so often is the case, the defenceless landed up suffering for the failings of others.

Taking a step back, however, it was fascinating how almost every person at the screening had a different interpretation of the underlying problem and solutions for dealing with xenophobia. We had (some very animated) diatribes about how:

  • The government’s capitalistic “neoliberal” economic policies don’t help the poor, and cause widening inequality
  • The real problem is that government leaders didn’t provide leadership at the time
  • Continuing black-white inequality is the real problem
  • It’s important to think about white guilt, and some people perhaps being pleased that black people can also do bad things
  • People have legitimate grievances
  • Grievances are not legitimate if they lead to violence
  • The marches against xenophobia that followed the riots show that lots of people recognise our shared humanity
  • (And back to the start) Marches against xenophobia are only any good if they aren’t led by Trevor Manuel, servant of The Capitalists (Trevor Manuel being the minister of finance

I may be exaggerating a little by the end, but if you take everything that people were saying seriously, then the way to prevent xenophobia is to create a utopia. To summarise: (1) everyone arrived at a different key insight as a result of the riots, and (2) no-one likes Mbeki (the president).

It was certainly very entertaining, with lots of underhand comments and funny asides. But now I am quite exhausted, and also have had a major kick in the social conscience. Maybe I’ll go start a school or something.

Update: for non-Caltech friends

As you may have noticed, the blog has been very quiet for the last few months. This is largely due to my thesis, and the crunch of finishing it sooner than I had been expecting, say, a year ago. But I have indeed finished my thesis, and am now a Doctor of Philosophy in the field of Theoretical Physics (String Theory). It is fun saying this. I intend to continue doing so.

The last few months, or even years, of the thesis have been tough going — in retrospect, the topic was not really an ideal fit to me. My work was ultimately very mathematical, and light on physical visualisation, which is probably the opposite of what would have suited me. Anyway, it’s done now!

As a result, however, I’ve decided to take at least a break from physics, and not immediately start a new postdoc. I’m going to be working full time on an internet startup that does online administration of highly customised leadership development instruments (questionnaires, PDF reports, etc.), called Thornhill Associates. We’ll see whether I enjoy it, and where it goes. But it will be nice to still have the flexibility of working hours that I’m used to!

I’ve just moved back to Johannesburg. It’s been tough to leave the friends and places of the last five years, but also great to catch up with friends here.

And now I’m degenerating rapidly into generic platitudes, so that’s enough for now. You want to know more, you’ll have to contact me!

It’s done!

This Wednesday I successfully defended my PhD thesis, so I’m now Dr. Cook!

It’s been a great day or two since then — big party Wednesday night, with lots of tasty things, then sleeping reaaallly late Thursday, then some excellent sushi that evening at a great place on Hollywood Boulevard (on the walk of stars).

Now it’s back to the office to catch up on some marking (grading) of homeworks, and my thousands of unread emails. But I’m looking forward to coming out of the isolation the last few months have required!

The energy challenge

I just went to the first of a new lecture series at Caltech, NRG 0.1, during which various experts are going to be discussing various aspects of the energy problem (for which read “challenge”) that the world is facing.

This week was Steve Koonin, former Caltech provost and physics professor, and currently chief scientist for BP. I thought it was an excellent talk, covering a lot of the different aspects to the energy question, and some important principles that need to be kept in mind when looking for solutions in the near and medium term. I particularly enjoyed (and, yes, this probably says something about me too) how the talk assembled a large collection of numbers into a few key “back-of-the-envelope” facts, and then analysed the various options in terms of these constraints. While I’m not going to summarise the whole talk (which will hopefully be available here soon), here are some of the things which stood out:

2050 / twice pre-industrial
By BP’s Business as Usual (BAU) analysis, sometime before 2050 CO2 will hit twice pre-industrial atmospheric levels. This is a tipping point in many models, and so serves as a useful “safe” upper limit. Anything we do has to have a big effect well before 2050.

Running out of oil vs. global warming
A few years ago I was more concerned about the former; now I think I’m more concerned about the latter. The global economy is handling the high oil prices very well, so non-conventional oil, like oil sands in Canada, really start to look accessible. Oil prices may stay high, and national concerns about oil supply security may discourage oil use, but I think it’s here for a few more decades. My take home message: global warming will be solved, or not, before oil runs out.

CO2 has to drop hugely
CO2 has a lifetime of many centuries once it’s in the atmosphere. Thus to reach CO2 stability at twice pre-industrial levels by 2050, we actually need to cut emissions by about half from today’s level. (A useful figure: due to CO2 longevity, a drop of 10% in CO2 emissions growth delays by about 7 years the crossing of any given atmospheric CO2 concentration). But by business as usual estimates, economic growth, even including historically extrapolated improvements in efficiency, will have raised emissions by a factor of 4. So we have to improve somehow by a factor of 8. As Koonin points out, efficiency gains are generally overwhelmed by increased consumption.

CO2 drops have to start now
As CO2 stays in the atmosphere, delaying change by a few years’ delay makes the required drops much larger in future. Furthermore, the main drivers of emissions (power plants, houses, cars, etc.) all have lifetimes of decades — so the power plants being built now will still be emitting by 2050. Basically, if nothing dramatic changes in the next 5 to 10 years, stability by 2050 becomes nearly impossible.

Many “solutions” just don’t scale
There’s huge enthusiasm for corn-based biofuels in the US at the moment. Koonin’s figures were that about 20% of the corn crop is now going to fuels, contributing about 2% of the US’s transport fuel needs. This doesn’t scale to solve the problem. Another example: solar. It’s a lot more expensive, and so will never be accepted commercially. But even if it was, we need to cover (if I recall the figure) a million rooftops with solar panels every year, starting right now, to reach stability by 2050. I’m not sure if that was globally or just the US.

$30/ton CO2
Currently, emitting CO2 is free in most places (Europe is a partial exception). That makes coal the cheapest power source. Most emissions reduction schemes assign a cost, one way or another, to CO2. Koonin had an interesting comparison graph: below about $20/ton CO2, coal remains cheapest. Above about $40/ton, there are no further major changes to the ordering of energy sources. So the magic number of balancing economic cost and yet still changing behaviour is around $30/ton. This would add only about 15% to the cost of petrol in the US or SA, and a little less in Europe, say. So the biggest changes will be in fixed electrical generation plants (which anyway are the biggest emitters).

The plan
Koonin’s take on matters, and I think I agree, is that given the size and cost of the changes needed, as well as their urgency, market forces have to be used to make changes. That is, we can’t pick an “ideal solution” and decree that that is what will be done — the political will isn’t there over the time scale required. Rather, the correct policy incentives need to be put in place right now — like a fixed, predictable cost for CO2 (which, interestingly, argues against a cap-and-trade approach), for the next 50 years. Without such definiteness, it becomes really hard for power companies to spend, say, an extra billion dollars now on a power plant that does CO2 sequestration.

Koonin’s roadmap would seem to be: policy incentives right now, leading to CO2 sequestering power plants still running predominantly off fossil fuels; a growing but still far from dominant contribution from sustainable power sources; and revolutionary improvements in next generation biofuels (using plant material that we do not, in fact, want to eat). He justifies hope in a biofuel revolution by pointing out that biotechnology is a very young and rapidly developing field — unlike, say, fusion. He also thinks there’s a chance for a solar revolution, but not with current technology.

As I overheard a participant say on the way out, though, “He could have given a much more pessimistic talk with the exact same slides”. We do have to make immediate, dramatic changes to an area of human endeavour that has vast pre-existing infrastructure, very long time-lines and huge costs. This for a problem that is hard to easily demonstrate now, and exists over a time scale far longer than political cycles. I think there’s a fair chance that, come 2050, we’ll have to be involved in some sort of huge active geoengineering (ie. a modification designed to “cancel out” our CO2 emissions), in order to stabilise the climate.

What are dimensions?

Since I’ve hardly been filling this blog with posts recently, I thought I might post an email I wrote recently, in reply to a question I received about the nature of dimensions. Mine is by no means a complete answer, but maybe it’s interesting. Follow-up questions welcome!

The question:

I have been reading a lot of books and web sites on string theory. It all seems very interesting, all these extra dimension and so fourth. I was just curious, it is supposed that these extra dimensions could be real, I have yet to read how the first three dimensions that we take for granted in this universe are real physical things. I know that the term dimension is used in plotting locations and trajectories of objects in space on paper, but are they real physical things that exist in the real universe?
I would really appreciate your help in this.

That’s a tricky question. To start with the three dimensions of space (and one of time) that we’re well aware of: they’re real in that they are what makes space, well, space. The idea of “space” is that it provides somewhere that things can be — without dimensions, there’d be no way to talk about where something is, how far apart things are, and so forth. Motion is merely the movement of things within the space.

Now that’s all there was to space, before relativity. Einstein’s General Relativity shows that space itself is a “dynamical” object, which means essentially that it is something that can change. Basically, matter and space interact — space is how you define where something is, but the presence of something (matter and/or energy) in turns affects the lengths of nearby pieces of space. So light travelling near a star is “bent” by the gravity of the star, as a result of the mass of the star affecting the definition of coordinates and motion nearby. So in this respect dimensions and space become a physical entity on which matter has an effect.

The additional dimensions predicted by string theory are no different to the three (plus time) that we’re used to, at least conceptually. When specifying the position of something, we just need to specify locations in each of nine directions, as well as a time. However, the fact that in our daily lives we only experience three of those spacial dimensions means that the other six are somehow irrelevant on large length scales. This might because they’re “rolled up” really small, by which I mean that the possible range of positions in that dimension is very small, and so everything is so close to everything else in that direction that we can’t even tell that there is another dimension. Alternatively, the particles from which we’re made might be in some sense “trapped” on the surface of a three-dimension object in the nine spacial dimensions.

However, in a very real sense we still don’t actually know what spacetime really is. Quantum gravity considerations strongly suggest that space is not continuous on the smallest scales — there should exist a smallest possible length, the Planck length. Any length smaller than this makes no sense. Furthermore, gravity and the effect of mass on spacetime arise in the string theory in an exactly analogous way to that in which particles arise — as specific vibrational modes of strings. So this seems to complete our growing re-interpretation of spacetime from being merely a fixed measurement apparatus on which physics happens, to being itself a part of physics. This makes physics very difficult, however, as most of our current techniques rely on the existence of concepts like detectors at spacial infinity, or being able to define a universal starting time for an interaction. So in my opinion certainly one of the interesting areas that string theory will be exploring in coming years is “emergent geometry”, where concepts that look at large scales like spacetime will turn out to arise from quite different interactions in some theory that resembles string theory in certain regimes.

Ethical democracy: An exercise for the reader

With a title like the above, there are so many things this post could be about — the last few days and weeks have been excellent for providing examples of less-than-ethical democracy. But this post is in fact about none of them — it’s about a tricky personal conundrum I faced today, in exercising ethical democracy.

The thing is, I’m not a US voter, or citizen. But I am a US taxpayer and legal resident at the moment. Tomorrow the US Congress will be voting on a bill (of which more later) on an issue very dear to my heart — because it represents probably the largest ongoing damage that the US does, every day, to the poorest of the poor in the developing world and especially Africa (of which I am a citizen). So the question for the reader is: should I phone my representative in Congress and ask them to vote the way I’d like on the bill?

The bill in question is the huge farm bill, and more especially the Fairness Amendment component thereof. US (and to be fair, European) farm subsidies are a mess: they cost the taxpayer huge sums, benefit predominantly the largest agribusiness concerns instead of small farmers, offer only marginal assistance to hungry people within the US and EU, and make it impossible for developing world (especially African) farmers to compete on the global market. For instance, farming cotton in Texas costs about three times the raw price it does in Mali, on the southern edge of the Sahara. But after subsidies Malian farmers can’t compete — and so huge areas of Africa aren’t even being farmed. Cotton is Mali’s main commercial export, despite this huge disadvantage — so one can only imagine the huge difference even a small tweak to the subsidies would make to the 10 million inhabitants of this desperately poor country. And as in cotton, so too elsewhere — US and EU farm subsidies are together larger than the total GDP of sub-Saharan Africa. But enough rant — contact me if you’d like more!

Anyway, the Fairness Amendment is a step in the right direction. The vote is tomorrow. In the end I went ahead and phoned my Congressional rep — using this really convenient and easy service.

Now the more suspicious amongst you might think that what this post is really about is getting those of you who can phone US representatives without suffering any complicated ethical choices, to indeed go ahead and phone. In fact, you might even be right. But I am also interested in what people think about whether it’s ethical for me to make such a phone call.

And yes, it’s been a while since my last blog post. I have a few stacked up awaiting typing, but this one came first thanks to the obvious deadline. Thanks for your patience!

Oh, to be a fly on the wall…

A line from an article about US election irregularities:

In Kentucky, a poll worker was arrested for trying to throttle a voter.

What?!? Throttling a voter?? Sounds like there might very well be a very, very interesting story behind this one. Any suggestions on the last thing this particular voter might have said, just before being throttled?

Here’s one to start things off: “So I just pushed this thing here, and now I’ve got this blue screen saying something about an illegal operation…”

New estimate on Iraqi war deaths – one in forty

Just released (see, for example, this Reuters article) is a new study, which aimed to estimate the number of Iraqis who have died as a result of the US invasion in 2003. The methodology involved interviewing randomly sampled families, rather than more passive studies involving, for example, morgue reports. The conclusion is that the death rate since the invasion has been about two and a half times higher than that before the invasion, as a result of all causes — including violence, breakdown in medical services, etc. This translates into 655 000 additional deaths, or one in forty Iraqis.

It is studies of this sort which once again show that invading a stable country, even one ruled by a brutal regime, does NOT improve the lives of the people within the country. And it certainly can’t improve the world’s image of the invading country. I just hope that one day soon American society will start really asking itself how this tragedy could have been allowed to happen, and how the US world view needs to change to ensure that it doesn’t happen again.