Wednesday, January 25, 2012

Safari Books Online

I signed up for Safari Books Online today because I wanted to refresh my iOS skills with the latest edition of Beginning iOS 5 Development: Exploring the iOS SDK. The experience is however far from what I expected. Safari Books Online has been around for years and years so I thought they had figured it out and ironed out the rough edges with online reading.

The big screen reader is Flash based and it has a number of problems:
  • The text is blurry.
  • The pages are formatted for print, not for screen reading.
  • The scrolling speed is so fast it's almost not usable (at least on a MacBook trackpad).
The "mobile optimized site" is perhaps not so optimized:
  • The pages are shown as blurry images.
  • The text is so small it is barely legible.
  • There is no pinch-resizing.
  • The zoom function makes the pages just too large to fit in landscape mode on an iPhone 4.
  • The system doesn't remember where you left off, when you switch between the big screen reader and the mobile site.
And there's more:
  • Why aren't errors in the text fixed?
  • Why are links in the text not clickable?
Who said things are moving fast in our business? The IT sector is moving sloooowly.

But guess what, I'll probably become a paying customer just because of the convenience of immediate and ubiquitous access.

Wednesday, November 16, 2011

Go native. Web apps aren't there yet.

What's so great with a native app, when you can build a web app that works across all mobile devices? If you're just aiming to provide information and have no use of all the fancy hardware of smartphones, what's the point with learning Objective-C etc?

Seems pointless and expensive to write that app.

Hey, I want an app! Everybody's got an app, I want one too. They are.. you know.. apps.

That's no good. Here is list of real reasons for writing that native app: 
  1. Apple is running an apartheid system against web apps. Se below.
  2. A web app can't cache data as easily as a native app, which leads to slow responsiveness (or is this true with html5?)
  3. It is close to impossible to make a web app respond to taps as fast as a native app.
  4. It's really difficult to make a web app as stable as native app. I've compared the Facebook native app and web app: The web app just simply does not do anything when I tap "Check In".
Apple's apartheid against web apps:
  • A web app has to share browser windows, and there are just 8 of them, before one app gets kicked out.
  • A web app will reload even if it's already loaded => slowness.
There you go. Make that app.

Wednesday, September 14, 2011

Writing our own stories


"I write my own stories. Honestly, I do"



I attended the Java 7 meet-up the other day where Oracle spoke about the Java 7 release as well as about the development of Java taking place here in Stockholm. I didn't know the Stockholm offices of Oracle had so much to say about the future of Java, but obviously they do.

They also promised to answer all our questions as long as we didn't ask anything about any ongoing lawsuits. Right, Oracle hates Google, or as they put in the talk: "We have a bad story" with smart phones. A bad story. It seems they are writing that bad story themselves. I just can't see how I as a developer can benefit from company A suing company B about patents. None of that makes sense to me. Lawsuits are symptoms of large corporation disease ("corporitis"?). The questions is: What can big Oracle do that a small startup in Gamla Stan cannot?


So what's new in good old Java. Nothing much it seems, apart from a candy bag of syntactic sugar: Project Coin. Syntax is our user interface into the programming language and I find syntax enhancements very important. But it's of course hard to change the syntax of an existing language.

There is a solution that requires no committee meetings or consensuses. The IDE makers can innovate freely and provide new views of your code (without changing the actual source). I think the time has come to go beyond font size and line length in code editor view settings. There is even the opportunity to scratch our own itch and make an IDE plugin with the sugar we crave. IDE:s have come along quite a bit since I started programming and the next chapter is even more promising.

Wednesday, August 31, 2011

Victoria Tower

The new skyscraper in Kista, the Victoria Tower, is not as bland as I first thought. Modern architecture can be just incredibly boring. Everything is straight and grey.
But this building seems to change both color and shape with the weather. Or is it just a grey tall box like most other new buildings? Not sure yet.

Monday, August 29, 2011

Att skriva filmmanus




Jag var på Filmstadens Dag igår vilket är en trevlig liten fest. Man frågar sig om man är i fel bransch (inte första gången). Kanske kan jag kombinera IT-branschen med filmbranschen via ett uppdrag på SF?

Jag kunde inte låta bli att köpa boken "Att skriva filmmanus" av Fredrik Lindqvist. Om det är någon konst som är inhöljd i en Avalons dimma av mystik och magi så är det hur man skriver ett bra manus, till en film, en bok, en serie eller ett spel. Manuset är nyckeln till kvalitet. Men hur tusan gör man? Jag har aldrig brytt mig om att ta reda på det, även fast jag slitit mitt hår i skolans uppsatsskrivningar och under mina sommarlovs serietecknande.

Jag har en känsla av att berättarteknik kan tillämpas på många olika områden, även om man håller ett tekniskt föredrag eller kanske till och med för skrivandet av blogginlägg?

Kan man berätta en story i ett GUI för en nytto-app? Det tål att spåna över. I vilket fall kan manus vara en viktig komponent i läroappar, speciellt om man gör dom som spel. Det skall bli en intressant läsning (när jag nu skall hinna läsa, vilket är en annan fråga).

Friday, August 26, 2011

Desperation




Google tror att jag vill ha ytterligare ett plastkort i plånboken. Tvärtom, om Google kan få mig att slänga några kort är jag beredd att öppna plånboken (i dubbel bemärkelse).

På baksidan av kortet erbjuder dom att hjälpa mig skapa ett AdWordskonto. Men snälla nån, jag har ju redan ett sådant och det vet Google om.

Det känns lite desperat att skicka mig direktreklam. I stället borde dom nyttja all data dom har om mig, mitt företag och mina webbtjänster. Jag använder tex AdSense för att tjäna några kronor på sprend.com. Google vet därmed att jag driver den tjänsten och antagligen skulle vilja marknadsföra den också. Google vet också vilka sökord som driver trafik till sprend.com.

Vad sägs om följande. När jag personligen besöker Sprend skulle Google i stället för reklam kunna visa en AdWords-dialog i reklamrutan: "Vi bjuder dig på 500 nya besökare under den närmaste veckan vilket motsvarar X kr. Ja tack! / Nej tack".

Ett klick senare och besöken skulle börja rulla in genom att Google automatiskt köpt rätt sökord för min räkning.

Eller så kan dom skicka plastkort som åker rakt i tunnan.

Thursday, August 25, 2011

Telia e-legitimation

Jag tycks bara kunna uppbåda energi att blogga då jag är arg. Detta är inget undantag.

Jag har länge haft Telias e-legitimation även om det ibland krävts handpåläggning för att få det att funka. Häromsistens fick jag från Telias kundtjänst ett shell-script tillsänt mig att köra! Och ja, det funkade faktiskt efter detta.

Idag har jag försökt ändra mitt företags adress via verksamt.se. Det krävs en signering som skall göras via e-legitimation. Jag provade först med min vanliga browser, Firefox 6, men fick bara en blank ruta där inloggningdialogen skulle ha varit. Därefter provade jag med Safari som tyckte jag skulle välja ett av två likadana e-leg. Inget funkade för inloggning. Plan C, jag provar Chrome, och hurra! det funkar att logga in. Däremot visar det sig att det inte går att signera utan signeringsdialogen är okontaktbar (om än synlig på skärmen).

Boven i detta drama tycks vara en programvara som heter Net ID. Man kan fråga sig varför Telia använder sig av Net ID som ständigt har problem med olika versioner av webbläsare och operativsystem. Bankerna kör med sina dosor vilka funkar utan problem. Dom är helt oberoende av just webbläsare och operativsystem och kräver ingen programvaruinstallation.

Enligt Telias kundtjänst vet dom inte varför Net ID används. Personalen på kundtjänst saknar också en kanal att framföra kundens (min) synpunkt till dom som fattar beslut. Hmmm, detta känns bekant på nåt sätt. Varför låta den enda mänskliga kontakt man har med sina kunder bli en möjlighet att lyssna på kunden? Nä, det verkar knäppt.

Till slut skaffade jag mig ett BankID i stället, också mjukvarubaserat, men det funkade. Åtminstone i en uråldrig version av Firefox.

Archive