»
S
I
D
E
B
A
R
«
Silverlight Killed or?
Oct 30th, 2010 by evereq

Silverlight Killed or? I don’t think so…
Unfortunately, in some sense http://mashable.com/2010/10/29/microsoft-silverlgiht-html made correct statement: “Microsoft Shifts From Silverlight to HTML5″ and that’s a FACT now!

Why this happens!?? Here is my thoughts:

  1. Silverlight, like many other interesting concepts from MSFT was implemented with many technology related issues in early versions!
    Performance and fonts issues I can name as most important! I do NOT like how Silverlight apps looks at my TFT monitors (because of fonts issues), same like WPF applications! Sometimes, when I scroll something, it push me think that I should go to doctor to check my eyes again! (and same issues with fonts I see with IE9 beta, not sure MSFT will fix it someway or not before final release)
  2. Silverlight supported on much less devices than HTML / CSS / JS / Flash and it seems like because it’s proprietary this can’t be changed in near future!
  3. Development of Silverlight can be done right only using Microsoft tools like Visual Studio and Microsoft Expression Studio (some apps from it) that cost $$$
  4. If you know Java, Python Django, RoR, PHP, Grails or any other language / platform / framework for web development, it’s much more easy to use HTML5 because you already know HTML / CSS / JS stack (as well as many web frameworks) than to move to something new like XAML / C# etc! I.e. basically only developers in .NET can consider using Silverlight, not other wide audience of Web developers! And while I can’t sure thing compare power of Silverlight and HTML5, MOST of required things can be done easy with nice JavaScript frameworks (think jQuery), HTML5, CSS3 etc.
  5. Silverlight apps are always have big size! Sometimes there are even so heavy that web users probably will not wait so much time! Compare it to current compressed Javascript code and HTML5 compressed using standard gzip compression and / or different other compressors! What to feel it? Go to http://www.microsoft.com/windowsphone/en-us/buy/7/phones.aspx and check how long it takes to really get it in your browser!

I can give many other arguments around it, but generally when Silverlight out I made my choice – AVOID using it (as well as WPF, but that’s other story) for any live projects, until I will really feel the need of “all in one” web client application with really rich and heavy graphics / Video / Voice requirements!
It’s real fact that MOST of flash based sites, where site COMPLETELY was made in Flash FAIL, unless they touch some very specific area! I.e. it so easy to see that web users want “light” pages (HTML / CSS / Javascript) and not heavy as Flash / Silverlight get produced!
But again: I DO see big future anyway for Silverlight as really best framework to build RIAs out there in .NET space! More so, now it seems like Silverlight can take it place in WP7 development!

Just always you should ask yourself – are you sure you want to build (or customers ask you to build) RIA? Maybe you want to build super light, not heavy Web 2.0 (3.0) web site? Or may be you want to build something using only open / cross-platform technologies?
Than don’t even think about Silverlight, at least for now!

Life in the Clouds: how to migrate
Oct 26th, 2010 by evereq

Recently the term “Cloud–computing” (or more easy and quick “Cloud”) become not just a modern “buzz” word!
Whole a lot of companies start moving they business into the cloud(s) or plan to do so.
Many start ups initially build they solutions specially to run in the cloud.

It seems like if you working in some management position, and must predict technical future for you company (or your own) business, it’s very high probability that you already start thinking same way like companies / start ups I describe above or at least start doing huge research in that direction!

But as Mark Twain said “Whenever you find yourself on the side of the majority, it is time to pause and reflect.”, simply follow “everybody” movements can lead to significant issues in the future!

So let’s quickly discuss following questions:

(1) when and why it make sense to move into the cloud from technical / business point of view
(2) how to do migration right and “safe” way

There are a lot of well known publications about (1), because every Cloud supplier (Google, Amazon or Microsoft for example) describe that in details to gather potential customers from regular hosting / collocation providers or to push customers that own already some server farm to migrate into the Cloud. Usually answer will be something like “you should do it as soon as possible, because it increase ROI, increase scalability, decrease maintain costs … bla .. bla.. bla..” Sure in some way they are right, i.e. for most of small / middle size businesses it’s DO make sense to migrate into clouds, unless they already invest a LOT into existed infrastructure (both hardware and software). But what is not acceptable is fact that some people (management, but not without pushing from low levels sometimes, i.e. from engineers) start really think / believe that (2) really does not make any big difference! I.e. just fact that you start migration and understand why to do it ASAP (ROI, bla bla bla) will lead your business to new levels, will save you a lot of money, will scale you to Google scale etc!
WRONG! It make absolutely critical difference HOW you migrate (2)!

Why its SO important HOW to do it? Lets give few reasons:

a) Most of cloud solutions require payments BY amount of requests (see Azure, Amazon RDS, Google storages etc), not just hourly rates!
And this can KILL some kind of businesses, if not to say MOST of the businesses!
It simply keep telling you something like: “you can’t scale PER customer actions because for each action from now on you should PAY”!
You pay when your customer come to each page that require trip to the database! Its not, it’s ABSOLUTELY different to situation that you have with hosting / collocation! From now on, you should optimize you data access, message queues not just to be able to scale, but to save COSTS for requests! Yep, most of clouds give you very CHEAP storage space, but they get much more from you because of millions of requests you get from customers that do not pay you PER page view in most of the cases!
Think for example situation that you have jobs board and your customers (companies usually) pay you when they add new vacancy! Does it make sense for you to pay for millions of search (browsing) users (you pay per each request to Cloud supplier), if you get money only from few people who post vacancies? And you should pay not only traffic (like it was with hosting providers), from now on in the cloud you should pay for search engine queries (requests to Solr / Lucene on multiple nodes for example), for MapReduce engine, for requests into database storage  (distributed hashtable or SQL database engine.. you still pay PER request) etc!

So? Before even consider moving into cloud you should think about all above and check is it will work for you! Even if you absolutely sure that it will, you anyway should care A LOT about code quality and additional features like distributed caching, replication effectiveness, traffic compressions etc! You should in most cases avoid many of such “hard” things in regular applications, but you simply can’t ignore them for most of real life application that should work in the Cloud!

b) You should migrate (or develop from begging) systems the way that they will be able to work OUTSIDE cloud! Why? Easy!

You do not have FULL control over your cloud supplier:

- It possible that supplier (Amazon, Google, MSFT or any other) will change prices or add additional fees
- It’s possible that you will want to migrate to different supplier tomorrow because it’s cheaper, or buy your own servers farm or / and even want to run OWN cloud (see Cloud.com).
- It’s possible that you will figure out that you was wrong with (1) above, i.e. you was think that you CAN afford to pay PER request, but was wrong and your servers get so huge traffic that your bills to cloud supplier quickly become not acceptable!
- etc

In all situations like above, it’s CRITICAL to be able to made a SWITCH! And that is what most of companies MISS! They simple couple technology into one Cloud supplier and did not have “back door” to quit!

From technical point of view (but sure it’s theme for different, dedicated post) you should design your architecture the way that your solution will work at least on dedicated servers farm in addition to selected Cloud. If you start using Azure Table Storage, Amazon SimpleDb or another other “cloud” specific data storage, make sure that you can execute your code on for example MongoDB, RavenDB or Cassandra and only then add support for Cloud storage! In case if you already have system that work locally (i.e. on regular dedicated server), you should make sure that you do not “broke” this functionality when start migration! And so on…

Sure it’s not all, I have much more to say about it. But it’s just enough to start at least think right way about life in the Clouds :)

Hard problems in Computer Science
Oct 22nd, 2010 by evereq

“There are only two hard problems in Computer Science: cache invalidation and naming things.”
– Phil Karlton

There is also another, more extended version like:
“There are only two hard problems in Computer Science: cache invalidation, naming things and off-by-one errors”
(get more about off-by-one errors if you do not know WTF is it at http://en.wikipedia.org/wiki/Off-by-one_error … See? 100% you done it many times :D )

Such problems are really hard or close to impossible to solve! Naming, caching invalidation, collisions in a hash tables (OK, you can’t solve it completely, but you should get know it anyway! See Pigeonhole principle http://en.wikipedia.org/wiki/Pigeonhole_principle), race conditions, etc…

Can you name few more that made you put your hand over the wall last time? ;-)

Digital distribution platforms vs SaaS business models
Oct 20th, 2010 by evereq

Mozilla enters App Stores battle with Open Web Applications architecture – https://apps.mozillalabs.com/

So now we have whole a lot of different app stores to publish our apps from all major players like Google (Android, Chrome coming etc), Microsoft (WP7 for example), Apple (iPhone / iPad etc), Mozilla (coming), etc…

Interesting enough that most of them are big enough to take our (developers) attention because of really wide audience of potential app users!
It simply does not make sense anymore to ignore ANY of them :)

And what is interesting that “App Store” (or better to say “digital distribution platforms” as “App Store” actually Apple trademark…) business model (i.e “software FROM web to your device or specific OS or specific browser”) actually looks orthogonal to SaaS (i.e. “software as a service” or “software IN the web”, i.e. software that works in almost ANY browser powered device) model! Or not!??

Should we go in both directions together? Yep :)
But… How hard to grow in both!!!???

The Web N.0
Oct 17th, 2010 by evereq

What WWW represent now? Web is Linked Data! Simple! :) Web 3.0 promised to be “Semantic” Web…

Let’s try to found some analogies in other areas to WWW…  One that come quickly to my mind because of same “network” characteristic is “biological neural network”…

Billions of neurons (web sites pages or rest / soap services in WWW with some very small peace of data if we compare to all data in WWW) connected to each other (using hyper-links / endpoints), now with video, voice, metadata and another kinds of “meta” information inside each node…

Same like biologic organism, when try to search for some data in the memory use neurons connections, search providers that work in WWW,
like Google or Yahoo or Bing use connections between pages and metadata to found any sort of data in WWW :)
If some page not connected to another pages in the Web, Search Engines will not found it (unless owner of such page add link to search engines manually… but even doing so, search engines will show this link in last position in search results or do not show at all)

Semantic Web 3.0, will for sure increase power of such search capabilities…. But!

What will be really big change, say in Web N.0, is ability of some “systems” in the world to use WWW same way like our brain currently use network of neurons… I not speak about simple or not simple search algorithms used by companies above and others!  If we start thinking about WWW as some network that was already trained by billions of WWW users (by us, i.e. by humanity), that already store most, if not all, of humans knowledge, we will understand that some sort of IA  already there….

So what WWW already have:

a) Knowledge: data and metadata, much more than any man can get into!

b) Some learning capabilities – WWW “learn” using us (humanity) as sense organs! I.e we, people, all over the world submit information into www and “teach” it during decades! And it’s not far a way, when we will see more devices that collect and submit different data into WWW without people interactions!

c) Communication – WWW is all about it, you know :)

d) What you think about perception? Maybe yes, who know? We can’t prove it for now :) , but we can’t tell that it does not exists! And sometimes we all get a feeling that it’s already there!

e) Ability to move and manipulate objects – remember “terminator” movie and SkyNet ? ;-) It’s there already! For sure now it’s possible to manipulate things in real life from WWW and everyday we see more and more of such things!

etc…

So some (if not all) of IA problems was solved in the same moment when WWW was born or in past few years!

The only questions are: how to made first Big Bang !!!????? And do we need to made it !!!???

»  Substance: WordPress   »  Style: Ahren Ahimsa
© Copyright 2008–2010 EvereQ.com All rights reserved. Logos, company names used here if any are only for reference purposes and they may be respective owners right or trademarks.