Skip navigation.

Is this thing on?

155102: Losing data with Firefox 3 and Opera 10 Alpha

, , ,

It doesn't really matter much these days which browser you are using. On the whole I find Opera less annoying to use than Firefox, and Opera additionally has some nice perks like better keyboard access and Opera Link.

Once in a while there are things that really makes a difference. On top of my list is that a browser should never lose my data. On the whole Opera is pretty good in this regard, but it has a huge gaping hole in its armour. If you type in text and the window is closed, you can restore the window but the text is lost. This is almost adding insult to injury, as you can see the empty space where the text you worked so hard at used to be. This excruciatingly horrible bug has a name, 155102, and has been known for a while now, but for a number of reasons it has taken time to fix.

The workaround is simple: Never put anything valuable directly into a textarea. I have used Notes, I have used mail compose windows, I have used external programs. They all have their disadvantages. Copy to note (Ctrl+Shift+C) is particularly convenient and very robust, but you end up with your notes full of half-written texts, and with Opera Link those texts are synchronised to every Opera client you have, which in my case is quite a few. Opera Mail and external programs often mangle whitespace. The biggest problem with all workarounds is that you don't always know you're going to write a long text, and the web page text entry boxes are alluringly convenient.

I am fairly active in the forums, and while I could do the workarounds above, or make sure to preview often, which usually does the trick, in practice I am too lazy to do either. So when I lost and had to retype a longer post yesterday, and lost another one today, I decided I couldn't wait any longer, so I downloaded Firefox 3 and Opera 10 alpha. Firefox is reported to restore user entered text, though when I tested it it didn't work. Maybe I have to find some particular extension. The bug isn't fixed in 10 alpha either, so I am back to Opera 9, looking for a better way out. Suggestions would be appreciated.

The Masters of My Opera could add an AJAXY Javascript to automatically save the posts-in-writing, but those scripts are fairly intrusive and liable to fail with different browser configurations, as well as slowing things down. This really ought to be done by the web client, only that none seem to do that now.

From Opera to opera

, , ,

During the last few months I have gotten myself another permanent residence (especially after they got WiFi), a Chinese restaurant here in Prague. I spend more waking hours there than I do at home.

Eating, drinking, socialising, and being on the Internet has occupied large parts of my life anyway, but I enjoy organising as well. Today the first major event I've helped with, a night at the Opera, will be live this night. For Opera employees in Oslo this may be familiar, the Underwater pub nearby the Opera HQ has opera nights Tuesdays and Thursdays, and have had it for years, and it is a favourite Opera hangout.

Still, the Chinese-Czech musical connection is fascinating and appealing, we'll see how it works out tonight. See you there?

The Folly of New Scientist

, ,

New Scientist recently published a special issue, The Folly of Growth, ostensibly an expose of flawed economic theory.

As you can deduce from this blog and writings elsewhere, New Scientist is my favourite magazine, and I have read practically every issue the last twenty years. While generally of quality there have been some duds among the articles and issues. This issue is among the worst.

New Scientist has changed through generations of editors, but retaining many of the strengths and weaknesses. It has never done economy well, and most of the time it has been weak in information technology, doing better these days.

Whatever your viewpoints this issue was bad economics, anyone reading it would not learn anything about economy from it, and whatever they learned would be more likely to be wrong than right. Through a Global warming thread in the forums I was pointed to a rebuttal from The Register (of all places), as the errors were basic and numerous that saves me some time.

What dismayed me more with this issue was bad science. I would love to see a scientific outlook on the "dismal science", where you can find much folly indeed. New Scientist here wasted a good opportunity. I know how hard it is to make a special issue work well, you depend greatly on the contributors and the editors to turn the disparate articles into a coherent whole, and reject the articles that can't be improved. I don't know who declined to participate, but of the contributions several articles should never have been published in New Scientist.

Several contributors were recycled from the old-style ecological movement. This in itself was bad judgement, they have repeatedly been shown to have poor domain expertise. Traditionally ecologist have had poor grasp of economy and vice versa, which can seem odd given that both are working with complex dynamic systems that in many ways are similar.

I would pick out Tim Jackson's article Why politicians dare not limit economic growth as particularly badly written, he should stick to writing letters to the editor, or at least do some research. I pick on him for an article with no substance and horrible style.

Originally posted by Tim Jackson:

The message from all this is clear: any alternative to growth remains unthinkable, even 40 years after the American ecologists Paul Ehrlich and John Holdren made some blindingly obvious points about the arithmetic of relentless consumption.

The Ehrlich equation, I = PAT, says simply that the impact (I) of human activity on the planet is the product of three factors: the size of the population (P), its level of affluence (A) expressed as income per person, and a technology factor (T), which is a measure of the impact on the planet associated with each dollar we spend.

Take climate change, for example. The global population is just under 7 billion and the average level of affluence is around $8000 per person. The T factor is just over 0.5 tonnes of carbon dioxide per thousand dollars of GDP - in other words, every $1000 worth of goods and services produced using today's technology releases 0.5 tonnes of CO2 into the atmosphere. So today's global CO2 emissions work out at 7 billion × 8 × 0.5 = 28 billion tonnes per year.



I in particular take exception to this language, I don't expect to see arguments by the "blindingly obvious" in New Scientist, this is a scientific journal, not a religious one. If this had been a post in our own Debates & Discussions he would be promptly shot down.

This is not to say that there was no thought-provoking content in this issue, but what was there to be found was badly edited and hidden by the chaff. The editor of New Scientist, Jeremy Webb, may right that NS should be an ideas magazine and not do proper science the Custodian of Truth. The open questioning approach of NS is why I am a fan of the magazine after all, other magazines tell you what science "has discovered", no questions asked. The Folly of Growth had preciously little opennness however.

As an example of an almost-good article asking an important question I would highlight Does growth really help the poor? Unfortunately the article is only half-done, but it was a good start. Fundamental questions like this, testing whether the economic system actually achieves what it proclaims to do, would be within the domain of New Scientist to ask. Unfortunately they forgot to be a science magazine this time.

PROWAS time again

, ,

For anyone in Prague with an interest in Internet standards, it pays to look up the PROWAS site for the next event.

Which happens to be today. The topic is HTML5 is happening, the speaker is Martin Hassman, and the talk will be held in Czech, with discussion in any language you like. The place is the Chinese restaurant Dobrý Den nearby the Flora metro station, the time is 18:00.

Decadance

, ,

Some nights ago, at a pub in Žižkov that used to be called U smrku (The Pine), I was chatting with a friend while not listening seriously to the songs being played. I asked her what would be the ten most decadent songs in history, without really coming up with suggestions of my own.

I tentatively put up "Crazy frog" (Axel F) in position #8, but I am really not good with lists, particularly not with music lists. Maybe you can come up with some suggestions?

Crisis, what crisis?

, , , ...

So the Irish vote was "Lisbon nil points". An interesting state for this virtual superstate I'm living in. The Lisbon treaty isn't necessary for the EU to continue, which may be seen as a good thing as Lisbon is dead.

The only way it can be revived is if the Irish somehow decide to change their collective minds. How likely do you think that is? Discussion at the forum.

While constitutionally the EU treaties isn't getting anywhere fast, the European countries and people are growing more integrated. Maybe it is time for the EU to swap the bike for a more stable vehicle,

A day in an Opera owner's life

, ,

I am interested in the concept of employee ownership, and early on while working for Opera I set a goal of a 1/1000 ownership. I never quite reached that goal, the rest of the world has more money than I do and I have not been willing to borrow money to invest in shares, but still I am more economically exposed to the fortunes of Opera Software than anything else I own. So when Opera posted excellent results, the market reaction made me more paper money in a day than I can expect to make in real money in this year. ;cheers: I'd say.

This 17% rise in a single day and a similar fall earlier when a disappointing result was posted is fair enough, this can be seen as a reaction to real performance by Opera, but most share price movements have not been a result of changes in Opera's profitabilities or potential. My experience of Opera Software is as a serious longterm company, my experience of Oslo Stock Exchange (OSE), where Opera is listed, is the very opposite. OSE has had a terrible reputation in the past, and there is no indication that it is any better in the present. In my view OSE has been, is, and will be gamed, and there is not much to lead you to believe that the Norwegian government will apply the same rules of transparency to it as it does to itself. OSE is no more trustworthy than most emerging market bourses.

As an Opera employee I reflected that it was probably possible to make (or lose) more money on short-trading the Opera stock than what it would be as an employee. Due to insider trader consideration short term trading was inconvenient to say the least, but it was pretty obvious that the market had little understanding of the consequences of an event, reacting strongly to an inconsequential event and ignoring an important one. It was also a useful lesson in why not to invest in the company you are working for, not so much due to spreading risk as due to the delay in buyng/selling stock.

I could go into trading, at least on a hobby basis. Two things hold me back, high transaction costs and a distrust of OSE. That said, longer term fundamentals always matter, some of the time.

State of the Mobile Web

, ,

Opera has published some stats on phone use with Opera Mini the first quarter this year (based on the URL this seems to be a front page rather than a quarter report 2008/I, so if you read this post later the content may no longer match). To what extent this can be generalised to phone browsing in general is less clear.

The first graph, cumulative users per month, isn't very interesting unless you're into marketing or wonder how well Opera Mini fares, even then it is less useful than the two other graphs for page views and data consumed that tells something about how much it is used as opposed to how often it is installed, and the use grows considerably faster than the number of installs. The consumption table is particularly freaky, what happened in December that almost doubled the traffic (and increased the number of pageview by almost a half)? In November Mini 4.0 was released. That the data consumption increased faster than the number of pages viewed would either mean that people were viewing more advanced (or bloated) pages than they did before, that the data compression is less efficient than 3.0, or both.

The bigger story is that five times as much traffic is handled this March than a year ago, and though the columns are too small to measure precisely that in turn was five times as much as March 2006. So will the current 1 terabyte of data every day turn into 5 terabytes by 2009? By the guesstimate that Opera Mini uses a quarter of Norway's bandwidth, they should be using five quarters of the bandwidth by then...

Of more general interest would be which sites are visited, but I am missing the PC top 10 for the different countries to compare results. The variability from a country to the next is pretty high, possibly higher than desktop. I also wonder how the sites are classified.

If social network sites are relatively more commonly accessed on a phone than on a PC, it would fit my tenet that a phone is a more social device than a PC. A high number of searches wouldn't be surprising either, you get the answer where you are, and now you have a fair chance of getting the answer before you forget the question too.


What is the use for ODF?

, , , ...

This post is a reaction to xErath's comment to an earlier rambling.

Originally posted by xErath:

There's enough info online about the deficiencies of ooxml. I don't need to quote them here.

Just to have it over with, we agree. I may be a Microsoft groupie at heart, but I don't have time for OOXML. People who want to discuss OOXML should feel free to do so, elsewhere. More interesting is this part:

HTML5 is a big patch over HTML4, made to be backwards compatible with the complete mess that is the web.

ODF on the other hand is a clean approach to define an abstract model of document formats. Then ODF has many features that html5 will never have nor will make any sense. I doubt html5 will ever include native spreadsheets support, slide transitions, page footers and headers... you name it. ODF will not support local databases nor globalStorage.

First, I have come to realise that the phrase "it is a complete mess" is a shorthand for "it works very well, and I don't think it should". In fact the Web is a remarkably sane place. We have millions of monkeys making Web code every day, and it works. The Web is more like an ecosystem than an engine, you don't stop and "repair" it, it is survival of the fittest. If you look at Web code written today and ten years ago the old code was worse and still achieved less. The Web has evolved and it keeps evolving.

Read more...

How long will the web last?

, , ,

At least until tonight when we, if in Prague, will find out. Opera's Håkon Wium Lie (nice interview), will count down to its doom.

Leaving Opera

, , , ...

That should more properly be "having left Opera", as I am no longer an Opera employee, but that doesn't work as well as a title. There is nothing dramatic about the decision, and I think Opera is an excellent employer, but I had been at Opera for seven and a half years and that was long enough.

Much of my work at Opera has been with standards, and standards don't matter. Having standards does, but as long as they are reasonably sane it doesn't matter what they are. The latest standards debacle in Norway wasn't related to browsers but with office products, word processors and the like, with the competing standards called ODF and OOXML.

ODF is not a good standard. You can read through the entire spec and will find nothing clever there. Anything ODF can do HTML5 can do better. Add cursor position to HTML5 and it could have been called ODF 2.0. What it has going for it is the absence of bad. Microsoft makes good standards, much of the time. OOXML is not one of those times, what it is lacking is the absence of bad. Could it be fixed? Probably, but to me it isn't worth it.

As for Web standards I think it should be an optional for Opera. Opera should encourage the presence of standards, and follow them unless they are bad, but it shouldn't necessarily form them. Opera should do what makes its users happy.

Opera Mini makes me happy. It lets me do things I couldn't do before. This entry was intended to be typed in on Opera Mini while I was on the move, but in the end it was typed in on a PC. It wasn't written in Opera Mini because Opera Mini isn't data loss safe, without copy&paste or save I can easily lose what I write, and data loss does not make me happy.

Being unemployed makes me happy as well, for now anyway. It's been a long while since the last time, as the last few times I changed jobs I went directly from one to the next. It is almost the same elated feeling as being homeless. I haven't actually been homeless in the sense that I own one flat and rent another, but I have adapted to a mobile lifestyle and from time to time I've not known where I will spend the next night and that is a strong feeling of freedom (until nightfall) — I can go whereever I want. I have used to claim that the bag in my one hand is my office, containing my laptop and other work stuff, and the bag in my other hand is my home, containing clothes and other private stuff. For now I can move with one bag less.

Ooh, shiny, shiny

, , , ...

This Thursday May 8, was a local holiday, the liberation day for the end of World War II. Liberation day used to be the 9th of May, but perspectives change. It also led me out into the Prague suburbs as the latest, and last for a while, extension of the Prague Metro was opening. In the 18 years since I first visited Prague, the metro system has doubled in length, with 19 new stations (Oslo in the same period added 3 new stations). It is a fairly young system, it opened in 1974, and is efficient, convenient and pleasant to use.

While I am an early adopter in the sense that I quickly visited the new stations, I actually never have bothered to be there at the opening (not the official opening, but when it opened its service for the public a couple hours later). With the next station opening in 2013 at earliest I took the trip to the suburbs where the three new stations, Střížkov-Prosek-Letňany, were located, or at least two of them. The terminus, Letňany, is placed in the middle of an empty field. There's an small planes airport nearby and it is just between two large suburbs (Letňany and Kbely). Supposedly the location could come handy if Prague won its 2016 Olympic bid, which is not going to happen. The station is integrated with a nice new bus terminal, as well as a new Park and Ride, so the communications in this part of town still have improved.

What's more the station itself is pretty in blue-tinted glass and highly reflective chrome (at least for now). The most noticeable station of the three is still Střížkov. This dome looks like how the future could be imagined in the 1930s, or progressive architecture concepts from the 1970s. Open, light, and practical. Absent at the opening was commerce, no shops and no pubs or bistros. I can only assume that they will come later, one picture series indicates we can at least expect a hair dresser soon.

More pictures can be found in my album. Skyscrapercity has a relevant thread, and then there is the metro site if you can read Czech or just like to look at the pictures.

The evolution of language

, , , ...

There have been many language threads and digressions; I should know, I have participated in most of them. Maybe it's time to start talking about talking: What is language, where did it come from and for what reason? How do languages compete, cooperate, coopt each other? Where are they going? Is one language better than another? What about dialects, sociolects, idiolects, jargon?

Follow the discussion here

More science, religion, ethics, and peer reviews

, , ,

It seems to be science week at the Debates & Discussions forum, and of course I couldn't resist butting in, be it peer-reviewed sinful science, or the study of armageddon.

A Prague Opera

, , , ...

And so it begins... On the circuitous route from the outskirts of Europe to the centre, going from Oslo through Linköping and Wrocław, Opera has finally reached Prague.

Read more...

The Year in Browsing: The Little Engine That Could

, ,

By the end of last year one long-standing competitor to Opera ceased to develop its browsing engine. No, I am not thinking of Netscape, that browser was dead when it was bought by AOL, but an old Opera favourite, iCab. From now on iCab will use WebKit as the engine, in effect turning it into a WebKit skin, like OmniWeb before it. This is more sad and nostalgic, OmniWeb was always about the UI anyway, while iCab showed that two skilled and dedicated programmers could compete in making a browser that (some) people actually wanted to use.

This is not to say that it wasn't a sensible, rational, and reasonable business decision. iCab can prosper more easily now that as tiny team can focus on the one thing closest to their users, and leave site compatibility to the much larger group of WebKit developers and evangelists. My next :beer: will be on them. However, this leaves the choice on the Mac platform to three, WebKit (Safari, OmniWeb, and now iCab), Gecko (primarily Firefox, but also Camino and others), and Presto (Opera). In general the trend on any operating system is less choice, not more, and this trend is likely to continue. There is unlikely to be a radical new browsing engine in 2008 or in 2009, the choice is instead going to be among the existing ones.

92% Complete (3 days until Party begins; 5 days until Party ends)

, ,

This is my week off for the upcoming party, and it is really getting there. As am I, of course.

2nd Annual Street Conversion Design Contest

, ,

I wonder how cities will change in the 21st century, and believe that it will generally be for the better. That is a good thing given that most people will be city dwellers. One problem which I expect to be solved is traffic as an environmental problem. As travel becomes relatively cheaper and more convenient (which I think it will in the long run) people will travel longer and more often, so the time spent travelling won't decrease even though the injury caused by it hopefully will.

Assuming that the car will retreat from ever-larger parts of our cities, that gives us an interesting problem, what shall we do with the spaces thus liberated? If you go to a city like Copenhagen many central streets seem curiously overdimensioned when the cars are largely gone. Of course there were streets long before there were cars, but in the middle part of last century the city plans were often designed for the car. What can best be done with streets like this when vacated by cars? The traffic and pollution might be gone, but the street is still not an integrated part of the city, and cities abhor empty spaces.

That makes some rationale for a design competion.

The value of human-scaled carfree areas is increasingly appreciated, both among urbanists and the general public. Yet how can we transform existing areas to create lively people-oriented spaces free of traffic?

Through our 2nd Annual Street Conversion Design Contest, we are challenging architects, artists and ordinary citizens from around the world to design carfree spaces from formerly car-oriented spaces. And where possible, we're also encouraging people to realise the designs on the ground. Update: Thanks to a grant from Artists' Project Earth, we are able to do further global outreach to announce this year's contest more widely. Therefore the deadline has been extended to November 15, 2007. The grant has also allowed us to offer cash prizes of €100-200.

The principle is that street space was once used for both transport and human interaction. But with the arrival of the automobile, street space has become monopolised by cars and other vehicles, resulting in a loss of community and livability. This competition aims to reintroduce a level of humanity to the streetscape, both on paper and by encouraging lasting on-the-ground initiatives.

We are asking participants to design carfree spaces from formerly car-oriented spaces, in three categories

Cruelly Slow Slog

,

The CSS 2.1 specification was recently refused entry into the (almost) safe harbour of Candidate Recommendation (CR) status again (for what is it? the fourth time?). This means that the spec is still in a you-can't-believe-a-word-of-this Working Draft state, just like it was seven years ago. This can be summed up in the word frustrating.

To be fair the goalposts have not only been shifted from when Tantek Çelik originally suggested CSS 2.1 one Sunday afternoon, but completely replaced. Originally the idea was just to remove the parts of CSS 2 that nobody wanted to implement. This could have been done in months. It would essentially be a profile of CSS 2, "CSS 2—The useful bits".

Instead CSS 2 was fully rewritten in tedious detail, the goal was now the interoperable CSS 2. This in itself was a good thing. It is much better that the spec is unambiguous than having incompatible implementations of the same, vague, spec. The ones having already implemented CSS 2 would need to adjust their products, but for new CSS 2.1 user agents getting it right the first time is much cheaper, not to speak of the millions of web designers that don't have to make specific hacks for every browser in existence.

But there is a diminishing return. The optimal time/clarity moment was probably when it was first submitted for CR, three years or so ago. This is not to say that what was done after that was unnecessary, but the extra clarity we have gotten for increasingly obscure issues have simply not been worth the additional years. They would have to be resolved at one point or another, but are errata or CSS3 material. The fatigue in the working group and impatience in the designer community is also starting to show, those that haven't given up on it years ago.

It is also slightly unfair. SMIL 2.1 had its first (and last!) working draft in February 2005, and a finished recommendation in December 2005. Were they that more efficient? No, but evidently their goal was to push out a spec as soon as possible rather than solving underlying problems, and crucially nobody outside the working group cared.


With this as a background it is none too surprising that a discussion on wither working group, even in some cases whether working group, has started. One solution I find particularly unconvincing is the argument that the CSS working group should follow the lead of the new HTML working group which currently has 405 self-invited experts, and the number is growing. That is the classic "the project is late, let's throw in many more people" approach. This behind the scenes report may be the best summing up of the situation.

The other symptom is an earlier call for CSS 2.2, reminiscent of my suggestion in 2002 or thereabout of a CSS 3.1. The big problem was as evident then as now. CSS 2.1 may have taken way more time and effort than was originally intended, and now we suffer from it. But sooner or more likely later it will be done. CSS3 on the other hand is a monster many times bigger than CSS 2(.1), the chances of it being fully done, let alone implemented, any time soon is nil. So what about the designers that have waited patiently on rounded corners for a decade and now have the outlook of having to wait another decade so that at least their children will be able to specify it in their style sheet?

The Better TV, designing for Wii

, , , ...

The better TV points to an entry I came across, Wii trumps Apple TV

This is the first time users can easily browse, find and watch YouTube videos right from their living room couch.


Alexis Gentry heard this statement yesterday when Apple CEO Steve Jobs formally announced the Apple TV product, which would allow users to find their favorite YouTube videos, pay a tiny fee, and stream them to watch on their television. She then thought something to the effect of, “Having I been doing that already?”

Back in December, Opera launched the trial version of their internet browser for the Wii. Since then, Wii owners have been casually watching YouTube videos from their couches - and for free.



Gloating aside, there's an article I'd recommend if you are interested in how your web site will work with Wii, Making Wii-friendly pages. From working with phones and similar devices it is interesting how the Wii, much more powerful than any phone, shares some of the characteristics of a phone, some of the characteristics of a PC, and some unique characteristics of its own. And I'm not just talking about the Wii wand.