Tuesday, January 17, 2012

Should I use GWT ( Google web toolkit) or JQuery?, My answer is JQuery

Google Web toolkit is powerful tool for creating rich web application using Java as development language and eclipse as IDE. When GWT was launched, it was great idea for Java folks to qucikly write code in Java which GWT tool will translate to corresponding Javascript code. It was making sense for Java folks, and making sense for the time when browser based debuging is pain and non existing. GWT provide cross browser ability and boilerplate code, so it is easy to bring rich AJAX based widgets.

There are tradeoffs,
* you code in Java
* you code in they way GWT ask you to code
* I like to use HTML5 data-* api and Wensockets - you need to depend on GWT team to release supporting API or you need to learn Java to implement those in GWT way-- it introduces one more impediment/dependancy to code upgrate path ( or fragements the development)
* You many not use HTML or HTML5 etc, you use Java. I would have been happy in year 2000 but  not in 2012 :)
* You gradually diluted out of web :)

I am not pro to GWT, I like to code in Javascript and wanted to utilize beauty of JS programing. I wanted to control what I write, however I don't want to code for various browsers. My biggest pain is not pure JS coding but browser specific code and DOM scripting. So JQuery fits nicely here.

JQuery shines at
* You code in Javascript and not in Java so I don't depend on Java
* Simplifies DOM scripting
* Fosters plugin based reuse and mostly you find it from somebody who already written it somewhere (there is plugin repository from JQuery website)
* Micro updating through Ajax is simple and closely write code to the specific APIs and normally you write it in a line of code
* Very popular and hence you find support of any kind of issues is milliseconds (that's what google search tells you)
* Everybody supports including Microsoft, I like their contribution to JQuery template
* There are available from many CDNs -- Google, Microsoft, AOL etc
* Taking dynamic coding to the next level, Do the template in the browser -- I do lot,
* I can use HTML5, CSS3 etc in a way that's close to specs


Wednesday, January 11, 2012

Playing with Hotmail oauth

Hotmail is very friendly unlike Facebook to access their info.  Use https://manage.dev.live.com/ and create your app and get client id and secret. It also allows you to specify callback/return to URL in the dashboard.

It is funny that URI component for mobile app is touch.

It is interesting to see it support localization but there should be a way to pass localization info dynamically otherwise it is of no use.

Very elaborate documentation about how to access live oauth 2.0 based service is here http://msdn.microsoft.com/en-us/library/hh243649.aspx.

Tuesday, January 10, 2012

Erlang Facebook API

I am exploring way to get into user's graph using Facebook API, my language of interest is Erlang. With quick search, unlike Yahoo API, I found couple of erlang module available to do the job. I will go over it and if I find anything cryptic, I will update it on next post.
My requirement

  1. User wanted to bring their user graph but not need to provide their userid/password (oauth)
  2. Once loggedin, they choose people who they are to be invited 
  3. Choose selected one.
This is kind of interesting flow, in fact, others following.  

Constrains,
  1. What is the API user agreement?
  2. No of calls limit
  3. Constrain to post message to Facebook using API
  4. Retrieve Events 
I will research these topic and post it here if anything interesting.

[Update] Facebook API doesn't allow contact email addresses of friends but found that there are greater API level integration with different graph API. But clue is "it is easy with oauth" but facebook notoriously stoping me to verify my account using phone no :)  So I am hibernating this effort.

Sunday, January 08, 2012

Yahoo oauth and Erlang

I successfully implemented or more aptly integrated yahoo oauth.
Points to note,

  • You must sign in and get 
    • Consumer key embeds what kind of service you are enlisted 
    • Secret 
    • App ID (you don't need it for YQL)
  • For accessing private data -- it is 3 legged process -- 
    • Get request token
    • Use that to bring yahoo sign in page to ask user to give authorization to access services 
    • Once user accepts, callback URL will be called and with query param 
    • Once callback is complete, access actual DATA API using YQL
  • YQL determines what service (like contact or connection etc) you are accessing but consumer key tells whether you have that service enabled. 
  • If you later add or modify service access, you will get new consumer key
  • diagnostics=true is handy to see what is wrong with your request
  • Most of the oauth parameters are sent as query string
  • Mostly more than 3 requests fired to yahoo to get a data
  • window.opener will not work to communicate back to parent window because it is shifting to 2 different domains
  • I used ugly timer to track popup window to closing status. I felt window.close event would have been handy.
I used nice little library for erlang (https://github.com/tim/erlang-oauth) 

Open source winning because of all of us

I saw hacker news today that Nginx become most (sorry second most) popular web server putting Microsoft IIS into its rear view mirror, and now it is behind Apache web server --- first 2 are Open source projects.

Middle or before end of this year Google Chrome is going to do that for Internet explorer, again it is based on chromium open source project.

Android did better and put iPhone into second place.

It is all great news and we never know how many people behind this effort, there are lot.

Again, younger generation are getting charges into big IT role into corporate environment and will see more churn soon in enterprise sector.

I am seeing Open source started winning the game.  Software are commoditized and it good thing that it is going to impact huge into people's life.

Linux made or commoditized server and which in turn revolutionized into Cloud,
Web started growing big because of lots of open source projects like Apache, Linux in the server side and
programing tools like PHP, Python, Perl and others made development  or building product or web apps easy. I never heard any startup using C# or .Net.

Android to iPhone and Windows --- Anybody can built anything using Android, there is no barrier to software availability, so hardware is getting cheap and all the corners of the world is benefitting.

When I heard OLPC's $100 PC, I could not imagine how it is possible, but now seeing under $50 tablets like India's Akash.  It is possible because these product vendor no need to develop OS which is free and saving that cost to shave hardware cost make sense. It is not only money but effort and fear of adoption, if it doesn't have appeal or market share like Android which pulls people to think and be confidant to go ahead with product.  I am not denying other factors - thanks to ARM processor  for its cheap  processor and mass manufacturing of LCD which driven cost down -- these are happening  because of mass effect.

Saturday, January 07, 2012

Apple and Apple TV

Everybody is gushing and guessing that it is going to be from 32-55 inch with SIRI based interface etc etc. But I am thinking "Will Steve Jobs think that that is going to be a good idea?" It sounds negative to me.
But Apple is going to release TV. Surely. What I am thinking that Steve would have thought "Take already existing product which really sucks now and if it put under "Steve Jobs Treatment" it is not going to suck, it is going to be fantastic product -- in terms of simplicity, aesthetics and sale" -- Is current LCD TV going to create such magical overhaul? I am not comfortable to say yes.

But what if Steve picks up "PICO" projector and combine that with Apple TV with toch LCD on top to touch control and iDevices act as remote, Camera for face time and little more sensible SIRI?

SIRI will sound cancel the sound coming out of TV??? in order to understand user voice (hunt for patents), it is Apple TV version 2 :)

Just opposite of proximity sensor in iPhone -- move your hand to the top senses your hand and turn on LCD, to do touch to control -- so it can independently operate. It can gel together with iDevices, it is already built into apple tv.

Totally I hate TV because it is not portable, it is not magical

Thursday, January 05, 2012

Steve Jobs Treatment

Today, I am introducing the term "Steve Jobs Treatment".

Usage: "Give a Steve Jobs Treatment"

What is it convey?

It is to "convey feedbacks and force to act on those feedbacks" of particular product or work in general -- to making it  
  • Simple, 
  • Aesthetically appealing,
  • Useful and 
  • Pleasing to use in and out


What is it going to be?

After those implicit feedbacks and acting on those action items, product or work should be

  • Simple, 
  • Aesthetically appealing,
  • Useful and 
  • Pleasing to use in and out and 
  • Feel faster in overall experience against raw performance numbers

Hm.. I also put this blog entry into "Steve Jobs Treatment".

[Please note that it is not about medical or health related treatment]

Thanks. 

Wednesday, January 04, 2012

Websockets, Well done Apple!

Websocket is now standardized in RFC6455. With IE10 on board all Desktop browsers supports Websocket.
Desktop Browsers versions which supports websocket:
  1. Google Chrome
  2. Firefox 7+
  3. Opera 11+
  4. IE10
  5. Safari 
Mobile OS:
  1.  iOS (Safari -- personally tested) which includes iPhone, iPad and iPod touch. The very noticeable point is, Apple is supporting it from iOS 3 on wards. 
Android OS:
      None of the browsers including Firefox (I tested with FF beta)
         Google is very poor at implementing websocket in Android, considering fragmentation and it's track record of upgrading OS in the Android land, it is going to be another year or 2 to support websocket in Android.  It is blow to Android and Google suffers "Microsoft" syndrome. 

Apple is leading by example in implementing Html5 and Websocket protocol, Android lacks severely in this area.  For web developer, will it be a fight and pain supporting Android devices similar to how it was to IE6?

Well done Apple!.




Mochiweb 2.3.1 and cygwin on windows

I just want to setup plain webmachine and mochiweb latest (2.3.1) from their respective github (git) repository. Webmachine clearly not compatible with mochiweb 2.3.1, at least for simple not dependent (no Riak) instance,
These are the additional services should be started,
here is the code which webmachine likes,

     ensure_started(crypto),
    ensure_started(public_key),
    ensure_started(ssl),
    ensure_started(compiler),
    ensure_started(syntax_tools),
    ensure_started(xmerl),


ensure_started function is nothing but webmachine's, this is a kind of paradigm followed by all well written Erlang apps. 


After these changes, webmachine is started and flashed "Hello, new world" when I hit http://localhost:8000, may be I will push these changes to webmachine. 




Tuesday, January 03, 2012

Erlang DNS TXT, MX record look up

I was exploring how to query DNS and do some probing on various types of information like MX and TXT records.
Here is the simple API
 Step:1         inet_res:nslookup("domain.com", 1, txt).                                                                           
It is always advisable to use another function, to convert it from internal record type to list,
 Step:2        inet_dns:msg(Return_from_Step1)                                                                                                    

 Step:3        inet_dns:rr( Return_from_Step2)                                                                                                           



Step:2 always return list or tuple of error message. So return value from the Step:2 should be processed.




Here is the complete code which returns "TXT" rr record, you can substitute mx for "MX" records,
lookup(Domain, VerifyingText) ->
 case inet_res:nslookup(Domain, 1, txt) of 
  {ok, Record} ->
   DnsRr = case inet_dns:msg(Record, anlist) of 
           DnsRrList when is_list(DnsRrList) -> hd(DnsRrList);
     _ -> []
           end,
   io:format("IS of type ~p ~n", [is_list(DnsRr)]),
   inet_dns:rr(DnsRr, data);
  _-> false
 end.
Pass the domain name to the lookup, you will get the list of records.


 More here http://www.erlang.org/doc/man/inet_res.html

Sunday, January 01, 2012

Google API using cURL or wget or plain http

I was researching to use Google API for certain activities.
There are 2 kinds of access
  1. oauth 
  2. clientlogin (username and password) 
I am mostly interested in clientlogin.

Client Login:

Thing to Note:
  1.     Service Type: More here http://code.google.com/apis/gdata/faq.html#clientlogin for contacts, service type is "cp"
  2. There are 2 request to fetch the actua value
    1. First Request URL:  curl https://www.google.com/accounts/ClientLogin --data-urlencode Email=YOURID@gmail.com --data-urlencode Passwd=PASSWORD -d accountType=GOOGLE -d source=Google-cURL-Example -d service=cp
    2. Response for the above Request will be: SID=DQ...........A
      LSID=EUBBBIaBADCl...........2JKOuGh
    3. Make second Request by using Auth param from the above response: 
      1. curl --silent --header "Authorization: GoogleLogin auth=AUTH_TOKEN_FROM_ABOVE_RESPONSE" "https://www.google.com/m8/feeds/contacts/YOURID@gmail.com/full"
       
  3. Second response will be the address details, thats it. 





Friday, December 23, 2011

Android, iPhone and Windows Phone but why Winpho do not have a chance

Microsoft: One of the wonderful company in terms of business sense. They still generate loads of Cash. They are upbeat about earnings. It's multi legged Gorilla. It has OS which ubiquitous similar to UK in 18th and 19th century until few years. It has web browser and it is inseparable and servered more than 90% of netties until 5 or 6 years back. It has Golden touch interms of enterprise look at MOSS (Sharepoint) and Office products. It enjoyed more than half (50%) smart phone market share until few year back.
 Apple: That guys are pure awesome. If you go back carefully in 2007 and study the market of mobile devices and it's capabilities and experience (including windows mobile) you understand why this guys are standing where it is standing now. They are Game changers. If it is not that disruption happen on mobile, they are still a guy in music.
Google: They know what they do. They have so many failed attempts and they fall quickly and get back quickly. Most of their home grown services except few bruised them time and time again. But they made always beautiful acquisition which includes Ad sense to Android. They know the cloud and they made it so that service need not bother whatever load it brings with them.
Free: Sure. Free is beautiful thing. People like free things. Free thing attracts people. Even if it is not free, considering something sells low cost in the place of market that dominated by premium cost, will be going to supre hit. That's what time and again market proved. HP tocuhpad, Amazon kindle fire etc.
Android: Android started free but it has great team which includes carrier to device manufacturer. Once you get the software and service as half good as something best in the market people will see. Considering the experience of existing one, if you provide better than existing predominant one and half as good as the best in the market, yes you will hit the right place with right time. If it is free, so many jump into, and once you get the momentum, be it bad press or good going to be pushing factor. It develops familiarity and momentum snowballs into formidable force. Unless otherwise some game changing product blocks it, it will continues to roll.
Internet: It is everything. Whatever you buy, it needs to talk some way into internet. And barrier to internet is pretty low, which does't need or force it have windows or macs or linux. Or mobile or what not.
Windows: Apple proved windows can be diluted with product with right value as ecosystem. Mac, iPad, iPhone, iTouch, AppStore and iTuens. Android proved and become juggernaut. And above all it is internet which is going to be universe for anything and everything going to determine or going to dilute the mode by which internet is being accessed, if it is TV, people look for smart TV, if it is phone people look for smart phone. That smart factor's central nervous system is internet. Assume that, if browser is disabled in windows or mac, no body will buy (sorry at least 50% will not not buy) them. So major thing which will be part of buying decision is internet. And past 6 to 8 years, internet started diluting platform dependency in a scale that big vendors like Microsft failed to recognize it.
For Microsoft, it is always 2 to 4 years late in the game: They launched Zune, after seeing iPod peaked out and failed to innovate windows mobile. Later, seeing iPhone, they thought it will not make it, may be purely because, their policy against buying competitor product. Once they saw, iPhone's demand and Android's momentum, it was already too late but they launched windows phone with moden touch. But those vendor moved on to iPad and tablet. Microsoft has just blinked.
So, these are summary of wrongs which Microsoft did,

  1. Zune in response to iPod -- probably it should have been windows phone with those things natively integrated 
  2. Windows Phone to iPhone -- it should have been tablet, if they succeeded based on step 1, but atleast windows phone with tablet at this time would have stopped some bleeding Other attacks on Office suites, email and search are big topic in itself. 
  3. Totally microsoft suffered because of they are not open and not listened to various signals they saw over many years. 
  4. Though Steve Ballmer monkey danced and yelled "developer, developer, developer" but it sounds like developer left long past and yelling merely vanished in vacuum --- Apps, Ecosystem with Development, distribution (market) etc and upcoming road-map like connected devices, TV, infotainment etc makes Android strong ahead of windows phone. 
  5. Looking at how Device vendor embraced snugly to mine some Gold on the path or tunnel created by Apple, it is going to be long moving target for MS. 
  6. Current technology like Touch, Voice and icon based user interfaces advancement made underlying platform branding is less important where in in Desktop or Laptop it always make sense to follow the leader. So brand value of Microsoft as OS leader won't help them seal or make any dent in the mobile area, there is no reuse in terms of existing learning for those system. And again apps which neutralized those leader advantage.  
So for past 10 years MS entered late to Game and exit yearly.  I am seeing how IE lost share and after all bruise started  to overhaul IE. Slightly different story goes to Zune, WinPho, Search etc (these things followed or reaction to their lost focus not entering and innovating early into market).

 If you think of UK to Microsoft, you will be right that it is going to be, within couple of year, they are like nice player and going to be kicked out of everywhere (similar to CES 2012).

Thursday, December 22, 2011

Google's Pure Android Tablet -- why it is must and why it is THE ONE

Tablets: It is definitely game changer in the computing history. This is because you can't imagine computing devices from $50 (yes, it is fifty dollar tablet) onwards. It exposes information and content consumption and gamify way of many things (including education and information) to many people. iPad to Chinese/Indian low cost tablets is truly needed for varios segment of people.

 Lesson learned from Hp Touchpad and Kindle fire: HP touchpad fire sale made it to second most popular device for sometime. Kindle fire under $200 made it most popular Android tablet ever. If Amazon can crack it open with Amazon prime (Video, Audio and Shopping) why can't Google repeat it?

 Google Services 0) Level 0 (zero) cloud, every service is originated out of Google cloud
 1) Video --- Youtube is premium example of apps in any tablet be it iPad or under $50 tablet, it is owned by Google. Bake Ads with prime time movie streaming which linked into big screen TV (I did not mean Goole TV) but seamless bonding to TV screen would enable Google to try many options here (Visual Ads, Video, Cable etc pops into mind). So invading into living room
 2) Audio --- Google has it's presence am not sure how big, but it is starting. It is not about how big now but how it can be blend into the system so that other similar service provider become unnecessary to end user. Provide nice simple interface and utilize user profile, preference to serve better.
 3) Photo --- yes blend Picasa, it is already homogenized and pasteurized into bigger Google
 4) Voice --- I am seeing voice routed through IP network and one day it is going to native to web and Google already acquired and eaten more and it can be nicely backed
 5) Friend and Social --- Google plus, I think google is grown into Goole + and hence I call it Google. Google is nothing but public information hunting and gathering Ads to serve user. It may be activities or location checkins or driving directions or gmail or what not
 6) Messaging real or email --- no need to go further than Gmail/GTalk or hangout or activities or blending nicely into one
 7) Maps and Navigation --- One of the best one out there and living in Android DNA
 8) Wallet --- NFC and Google Wallet
 9) Sites, Code, Earth etc looks like noise compare to above things Motorola buying is one of the perfect shopping Google made to realize seamless integration of aforementioned services + others and blow away competitor. It seems Google Plus is Google in near future but when Google builds it's first tablet, it is going to be Android that unifies Google's services into THE ONE.

Tuesday, July 26, 2011

OS X Lion is unlocked iPad

I tried Mac OS X Lion and it is kind of direction PC suppose to move on.
These are the mail agenda for new iPadish mac,
1) Simplify things and use more intuitive user inputs like multi touch gesture ( + voice ) to interact with system.
2) System needs to hide file explorer or hunting among the tree of folder to locate things.
3) Home screen should be your app store for your regular usage, yes that's what you go to frequently and start what ever apps you want to consume or produce. This is user level app store and user governs what they want and it is single door to his/her system. I feel it is right direction for apple to go by embracing the iPad model.

I looked at NY times skimmers it's navigation is kind of borrowed it from gestures (touch) of Macbook air (Lion). It feels better and evokes psychological feeling of native to the OS as OS itself based on gesture inputs.

So what is the difference between iPad and Mac? In macro level there is not much to normal user except few reminiscence like ports and file access until it is fully cloud enabled. But one glaring exception is Mac is unlocked. You have a freedom to use your system as you wish to the certain extend. It feels like unlocked iPad and it is unlocked iPad.

Sunday, July 24, 2011

Macbook Air 2011 SSD performance

I just did a adhoc performance testing on Macbook air 2011 on both 11 and 13 inch systems.
It looks like Apple's implementation uses SATA 3 6gbps (or mSata 6gbps).
It supports TRIM command. Model no is APPLE SSD SM128C.

Here is the link
http://db.xbench.com/merge.xhtml?doc2=541610
http://db.xbench.com/merge.xhtml?doc2=541614

I think clearly Macbook air is feature Macbook Pros.

Wednesday, January 26, 2011

Response to Intel's http://software.intel.com/en-us/blogs/2011/01/26/desktops-and-laptops-on-life-support/

Intel Jeff is telling Laptop and desktop will survive the holocaust
But Desktop/Laptop is wounded and wound is going to be bigger and bigger, eventually going to take place of mainframe computer. Is the Laptops natural evolution of Desktops? Is the Tablets natural evolution of Laptop? What causing Laptops bigger, loosing batteries sooner, heavier -- all those things affected its portability? Is that Keyboard good enough to interact with? Is there better interfaces available? etc etc
It looks like interface to interact with such system may not be keyboard in few years. In my opinion aged keyboard and mouse based interface is going to be replaced by Touch, Voice and motion based one (What Intel's partner MS calls NUI -- natural user interface). But it is just taking shape. It will take few years or decade but eventually to blog or type or anything fit at that time frame and interact with the devices, I just talk to voice aware things/editors -- it is natural evaluation and I think Intel would accept that. We are not sitting on pentium era, we are on fusion era where CPU + GPU in single package. Most people would have booed but eventually it happen. I understand Intel is not in that race but I hope they catch up soon. Moor's law is playing big role in the interface evaluation too -- look at iPhone to multi touch track pad, multi touch mouse and new Apple's motion aware keyboard patent and MS surface, MS kinect is huge hit and MS plan to integrate it with windows and going to support ARM based proc. I really mean it and we will see it within 10 years.

What about big monitors?
He is also referring use of big monitors but looking at projection technology and flexible OLED -> AMOLED (Galaxy S, Nexus S etc now -- though not flexible to fold :)) can roll out to satisfy biggie needs. Holography also possible successor waiting to give immersive experience.

ARM is new king of the hills with great commanders like NVIDIA, TI, Qualcom etc thats what CES 2011 proclaimed.

The main point is iPad proved laptop and desktop is being cannibalized -- Yes read the 2011 Q1 call and what Tim Cooks said about cannibalization -- They boldly accepted it because they have device which is doing that but for Intel, it is ARM based multiples cannibalizing it. This is shivering news for Intel when I see my executive pestering to get access internal corporate network from iPad/tablet. Either he is saving Intel as it is not on lime light or Intel needs to fire him for the lack of vision, oh.. thats what AMD did to its CEO(Dirk Meyer).

All these new evolution needs new app to fully utilize the feature, demand low power, light weight, ever connected, instant on devices -- base foundation component is processor -- most importantly low power processor and hence market will be opened up for new players.

By the way, I am typing this blog using latest Intel Core i7 2720qm, 8 GB memory and SSD running Ubuntu 11.04 today's build but I definitely know I am ready to switch to right kind of device soon. The fact is my first computer is not desktop, it is Laptop. May be for next generation, first computer is going to become smart phone and next big one would be tablet. I don't need biggie unless I do programing, fire up Eclipse or XCode or Visual Studio I need better CPU equipped one. But what if IDE evolves in phase with tablet? thats what iWork did, thats what Microsoft One Note did. This will happen to photoshop and other heavy apps. Nvidia Tegra 2 is driving full HD to external monitor and tv -- promising quad core in Tegra 3 or 4. Evolution is playing there also.

NoSql for Enterprise, here is some of the questions needed proper answer

Here is my list; this is based on my experience working with CouchDB, HBase and others

What is the tools/infrastructure enterprise use to scale their RDBMS?
What kind of strategies used to avoid (SPOF) due to DB failure?
What are the options available for DB2? SQL server? or fill your DB of choice
What is the possible trade off?
What happen to ACID properties to this situation?
What are the issues with using better commodity hardware?

This is very important as quest for solution should be based on existing problems and you need to understand that better to explore which would fit snugly.

What is their point of view on CAP?
What kind of applications can be easily developed, hard to develop using NoSql?
Is MapReduce recommended over SQL? What would be the productivity loss/gain?
How will it fit into virtualized environment? What is the impact of virtualization in terms of performance?
What are the potential issues when system goes away with mathematical relation model to document/Key value oriented model?
What is the theoretical limit on data size, data growth better served by NoSql?
Can NoSql be used to make backend/data services by pool of the hardware (commodity) by exposing select/update/delete/archive? And hiding RDBMS aspect from developers?
What is the roll of DBA in the NoSql world?
How is the transactional model like 2P commit/distributed commit fit into NoSql?
What is the impact of tools/framework/reporting framework developed specifically RDBMS in mind?
Enterprise security or product security impact using NoSql?
What would be the threat for NoSql from patent bullies like Oracle/Microsoft/others?
What is the perspective of vendors like SAP/IBM/Oracle and what is their take/offering on NoSql?

This questions will make you understand why nosql.

Monday, January 24, 2011

My Thoughts on Html5 to become Html

My Thoughts on Html5 to become Html:

It is interesting. Few weeks back Google chrome engineer blogged that version number in chrome is mere indication of snapshot of development and doesn’t make sense to follow release cycle. That’s making sense as Google chrome evolved with in 2 years far better browser in this world (including enterprise security featureJ). It is evolved from version 3 to 10 in year 2010 alone. In place of version numbers, they place a channel to download based on how technical you are,
1. Stable : more matured and production ready
2. Beta: Matured but not much tested
3. Dev: Matured and being tested
4. Canary: Unstable and should not be used as regular one, new feature without or less testing and may break

Besides,

Beginning of this week we saw Html5 logo to promote html5. Tim oreilly said, “html5 is not just a Technology any more, it is a movement”, Yes in order to address fragmented app development using proprietary APIs for multiple devices and multiple OSes, HTML5 is right choice. This is standard. It addresses every desktop, mobile, tablet, connected device (Nintendo DSI, Sony PSP/PS3) to TV, Car and new OS itself (ChromeOS) as well as great development platform for something not yet imagined.

So what is the deal? HTML5 editor Ian Hixie is telling Html5 is going to be called Html. And stable snapshot would be with W3C and living document with WHATWG. After all basic requirement to access new Html feature is through browser and when they say html5 is html, and then it is Html. I think this also going to push browser developer team to say “yes I support Html J” No more hiding behind “Html5” is not yet ratified, not matured etc etc.

Sunday, January 23, 2011

Ubuntu 11.04 performance (Core i7 2720qm - sandy bridge)

System: Core i7 2720qm,
Memory: 8 GB ram,
Graphics: ATI Radeon 5570M 1 GB Video memory and
Storage: Vertex 2 200GB ssd.

I could not run Unity as it has some issue with Sandy bridge, I needed to disable intet VTx, through BIOS setting, to install Ubuntu otherwise i couldn't install.

hardinfo -r

Ubuntu 11.04 alpha 1 benchmark:

Benchmarks
**********


CPU Blowfish
------------

-CPU Blowfish-
This Machine 1400 MHz 1.969
Intel(R) Celeron(R) M processor 1.50GHz (null) 26.1876862
PowerPC 740/750 (280.00MHz) (null) 172.816713

CPU CryptoHash
--------------

-CPU CryptoHash-
This Machine 1400 MHz 662.236

CPU Fibonacci
-------------

-CPU Fibonacci-
This Machine 1400 MHz 2.039
Intel(R) Celeron(R) M processor 1.50GHz (null) 8.1375674
PowerPC 740/750 (280.00MHz) (null) 58.07682

CPU N-Queens
------------

-CPU N-Queens-
This Machine 1400 MHz 0.518

FPU FFT
-------

-FPU FFT-
This Machine 1400 MHz 0.927

FPU Raytracing
--------------

-FPU Raytracing-
This Machine 1400 MHz 3.249
Intel(R) Celeron(R) M processor 1.50GHz (null) 40.8816714
PowerPC 740/750 (280.00MHz) (null) 161.312647

Ubuntu vs Windows 7 -> Ubuntu

I got Intel Sandy Bridge Core i7 2720qm with 8 GB ram, HP pavillion 2 days back. The fact that, I am a Mac user and experience with Win 7 is really bad. Microsoft really don't know what is experience is. One such example is Track Pad, it is called touch pad (synaptics). It supports multi touch what a shock? I could not use it and it spoiled my experience -- like unsafe roller coaster ride. I need to hunt where mouse point is, scroll approximately and need to do hard with your finger to move again to where you want. I uninstalled lots of craps including Norton antivirus and I installed MS security essentials. It is long story.

Well, I know I am going to work with ubuntu and just check whether Win 7 can lost long and satisfy other needs so I can live with VirtualBox 4 or VMPlayer. But still windows 7 is windows except some lipstick like Aero and animation.

I installed ubuntu 10.10, in my surprise, out of the box, it blows the water out of win7. It is smooth, elegant and as near good as Mac. Again, this is first shot and first few minute experience with Ubuntu. I still remember "Mark shutterworth" that they want to create a better than Mac experience, they did with moving controlls to left side from right etc. But it is good.
It has all ingredients like openoffice (libreoffice in 11.04), media player, email client and FIREFOX.

Adobe Flash, Skype and other day to day seasonings are good at work. Ubuntu is really maturing at desktop end.