I bought only one.

We all have mobile phones. And mobile phones are part of our life. Mobile phones are no more wants they are needs. Essentials.

Nokia 6610i

nokia 6610i

I got my first mobile phone in 2003. It was a gift from my cousin brother. Nokia 6610i. It was a super cool thing. But I didn’t use it much, because most of my friends did not have a mobile phone that time. It was decent phone with color display and a VGA camera.

My second phone was Nokia 3230. Again it too was a gift from my brother. I think I got that in mid 2006. I loved the phone because it came with  Java. Some crazy 2D foot ball game was my favorite.

Nokia 3230

3230

Later in the beginning of 2008 I sold the Nokia 3230 and bought a Nokia 6630. In 2008 Nokia 6630 was bit old model. It was a heavy phone with a super display.

It had two historical points. First this is the first phone I bought. Second this is the first phone I used to write mobile applications.

“ Do you know there was a mobile framework called J2ME from Java ? Smile with tongue out

I used to write applications using J2ME and tested them in this phone.

Nokia 6630

6630

In 2010 I lost my Nokia 6630. Then my brother bought me a Nokia 6500. It was a good phone but I didn’t find it much fascinating because I just used it for SMS and calling. But it had a descent camera and audio features.

Nokia 6500

nokia-6500-slide-black

MS announced the Windows Mobile – Mango and the local MS hosted a competition for Mango app development. I did develop an app and walked away with a phone. Winking smile

It was a LG Quantum C900.

attlgquantum_2

Then I won the Imagine Cup 2012 and went to Sydney. In the grand finals all the competitors were given a super cool Nokia Lumia 800. Yes that’s the one I’m using now.

Lumia 800

Lumia 800

The fascinating point is, among all the mobile phones I’ve used I bought only one. All the other phones I’ve been using were either gifts or the ones I got from a competition.

I’m eagerly waiting for the local Windows 8 Phone app competition to be launched. Winking smile

Facebook ✔ seen 01:58

 

You might have noticed that recently FB added a new feature in the chat to show whether the other party you are chatting with have seen the messages you send or not. This is a cool feature for some extent as long as I can check whether my friends have seen the message I send. But same theory applies to me as well. I personally do not like this much.

There are plenty of other ways to avoid a person in FB. Simply I can make myself offline to that particular person. But let’s discuss about something really wobbly about this feature.

Technically speaking this seen feature can be implemented in many ways. And also a real question I have in my mind is ( and FB did it in a very sneaky way) to know whether FB assures that the other person read it or not. The answer is No.

I tested few scenarios of this ‘seen’ feature.

The rule of thumb is, FB detects the seen when and only if your browser tab on which FB is loaded and the chat window of a particular chat are open and in focus.

Simple.

And FB says whether the user has seen the message or not. It doesn’t say anything about whether the user has read the message. Because FB sends the seen acknowledgement to the other party approximately after 8 – 9 seconds from the time it got the focus event fired. In some cases this time is very short; something between 1 – 3 seconds. But it doesn’t bother about the length of the message whether the message can be read in 10 seconds or not. So it just says the users has simply seen the message. It makes perfect sense.

In Windows 7 we can hover the taskbar icons and get the full snap of the windows we have opened. From the OS perspective this is not focus. This applies to FB as well. Because technically in FB this feature works on Javascript focus events which get the focus signal from the browser, where the browser get the triggers from some sort of a system call from the OS.

So you can use this method to read the messages without getting caught. 🙂 but this is not always possible and easy.

Imagine Cup 2012 – Srilanka

The team I lead won the Microsoft Imagine Cup 2012 local finals in Srilanka in software design category, and now we are expecting to show the colors in Sydney in the world finals.

No need to tell much about the Imagine Cup since it is one of the most famous and prestigious technology competition hosted world wide by Microsoft to solve or support the toughest problems that the world has been facing for decades; which are also addressed by the United Nations as their Millennium Development Goals. More Info : http://www.imaginecup.com

When considering the Imagine Cup and myself I have 2 years of experience with Imagine Cup. In 2011 also, I competed under software design category with a difference group lead by one of my friend and our solution got the 2nd runners up in the local finals. This time I was invited by my few other friends to join and lead the team.

I joined them and we created a solution which can creatively support the sustainable development of the country. Our solution is simply and carefully crafted to be developed on top of already available technologies such as Facebook and mobile phones. This gained a massive reach to our solution.

I’m very happy that my team won the Imagine Cup, I personally feel very happy about that we brought the Imagine Cup to the Faculty of Information Technology after 4 years.

We hope that we’ll do our best in the world finals.

Year 2011 – Thuruinhttp @ WordPress

The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.

Here’s an excerpt:

A New York City subway train holds 1,200 people. This blog was viewed about 3,800 times in 2011. If it were a NYC subway train, it would take about 3 trips to carry that many people.

Click here to see the complete report.

Computer Plaza in Colombo – Secrets

 

I do not know whether all who sell electronics are like this. I really do not know. But I got to know one of the famous plaza in Colombo is like this.

This is a true story. For their safety and for the promise I made on the people who revealed this information I’m not mentioning any names here.

The well formed computer hardware fortress in Colombo. Always crowded. People look for computers, peripherals, software, gaming gadgets and even hand bags…..

We think there are plenty of shops with different owners. Of course they are different but the whole bunch of shops have only 8 owners at the very top level.

There are plenty companies/places in China, Thailand and Malaysia who produce electronics. In those countries small chip manufacturing is a home business. (some thing like rope knitting or wood sculpturing in our country). Most of the small electronic gadgets sold in the plaza are from those markets with the fake label of a big company.

You can’t buy a single genuine gadget anywhere here. (told by a person who works in a shop for 3 years)

The secret is when they import things here, all the owners discuss and fix a maximum prize tag for each gadget. Minimum is up to the owner on his/her own risk. Normally they don’t used to have the meetings in Srilanka. Most of the owners are also not in Srilanka.

When they fix a price normally that is 2 or 3 times bigger than the actual cost. (if you buy something for 3000 the actual value is very less than 1000). And each shop has it’s own technique of selling the gadget. If one say they can sell a gadget for 10K without any warranty and they say with 1 year warranty they can give you for 14K. Go for the one without the warranty

Because they don’t change anything, just the same thing. They just want to sell you. They know that most of the time the gadget works fine for 1 year. In this case the person goes for the warranty is doomed.

Even if you are going for the guaranteed gadgets, make sure to get a signed bill buy the manager with his name (not by the sales person) with the written statement for the warranty.

And when it comes to laptops, some shops have direct dealerships with the real companies, but again locally they play their game.

A laptop of any brand with core i3 2nd gen processor with other decent configuration will not cost more than 30K SLR. – (another sales person a from a shop)

When they import a laptop here; most of the shops reconfigure the laptops. If a sales person tells you that he can prize a laptop for 50K and with another 2 or 4 GB of additional RAM or with a more higher capacity HDD he can give that for 55K, then please do double check.

Because if a sales person tells like this, it is most likely to be that the laptop really comes with  more memory or with a higher capacity HDD. When he says if you buy this another 4GB RAM or 500 GB HDD is just for 2 ~ 3K we immediately go for that. A selling trick to cheat on the prizes.

Normally take the serial number / model number of the laptop and check in the specific brand’s official site whether there is really an official model is available. If so then check the configuration carefully.

“They mostly interchange the parts” – (a person works in a service shop)

Apart from this, the place is well known for the money transfers and foreign exchange selling and mainly for buying. You can buy almost all the currencies here, is a very hot business. I do not know whether they have any tricks on this as well. Because to do this you have to go through a trusted party.

Finally you can ask how do I know all these things ? I purchased and fooled by them many times as like you. But still no use. We are not reluctant to pay, but why they cheat? If they can do a genuine business still people will buy things.

Do you believe that I haven’t spent a single penny on collecting this information?

x64 Microsoft Strategy

I write this post after a real piss off, by the Microsoft’s x64 strategy. They announced that in future all of their applications will be working on x64 architecture. As to the statement SharePoint 2010, Windows Server 2008 R2 and some other came in x64 bit only mode.

Even I did a clean format of my PC and installed x64 Windows 7 in order to run SharePoint 2010 and other as well. But what’s the problem ?

They are not clean in their x64 policy. It is totally messed up with x86 applications. Even in x64 bit Windows 7, Windows Media Player runs in 32 bit mode. And Visual Studio 2010 runs in x86 and there is no x64 version of that. (The reason for that, they say is the difficult of development and the application grows bulky)

And every time I start IE is get starts in the x86 mode. There is another x64 version of browser as well in the list. I was wondering why it is not used as default. After wondering I made my IE9 x64 version as the default browser. That gave me the real piss !@#

In the IE9  x64 bit release  (the modern browser) Silverlight cannot run. When ever I reach a website with the Silverlight content it asks me to install the Silverlight.

When I click the link this is the message that I get.

image

Microsoft Technical Communities

Setting the standard for Sri Lankan IT Professionals to become globally competitive, Microsoft Sri Lanka invites you to join its vivid technical communities set out to cater to all spheres of Microsoft’s technologies. Interact with over 8000 software developers, designers, technology enthusiasts, industry experts and students from around the country. Stay ahead of the game with the latest technologies, trends, tech-news and developments worldwide while sharing your ideas and networking with the Sri Lankan IT Industry.

These communities are headed by a group of Independent experts on Microsoft Technologies – Microsoft Most Valuable Professionals (MVPs) who have been recognized for their contribution and talents. The Student Community, which is exclusively for Undergraduates is headed by team IT Undergraduates across the Island – the Microsoft Student Ambassadors (MSAs).

These communities are the best available opportunity for Microsoft technology enthusiasts to connect, share and grow all in one place. So, register now to keep yourself updated with the latest happenings!

.NET Forum
www.dotnetforum.lk
www.msdnsrilanka.net
Monthly Meeting
Date: 1st Thursday
Time: 6.00 – 8.00 PM

IT Pro Forum

www.itproforum.lk
www.technetsrilanka.net

Monthly Meeting
Date: Last Wednesday
Time: 6.00 – 8.00 PM

SQL Server Universe

www.sqlserveruniverse.com

Monthly Meeting
Date: 3rd Wednesday
Time: 6.00 – 8.00 PM

SharePoint Sri Lanka

www.sharepointsrilanka.org

Monthly Meeting
Date: 2nd Wednesday
Time: 6.00 – 8.00 PM

Student Champs

www.champs.lk

Monthly Meeting
Date: 1st Friday
Time: 4.00 – 6.00 PM

Web Services Simplified

This article will give you a compact explanation of web services. I explained the things in a compact manner because nobody want to read paragraphs of explanation 😀

Let’s start the discussion with a real world example, we all know the role of the web applications. We also know the shopping cart apps. But the question is, if we really want to create a shopping cart for a company (let’s say M-entertainment online music store) we build our web site with high security concerns. We take the credit card number of the customer, then what ? Is it finished with that ? No.

The real work yet to be started. You take the credit card number then you have to validate that. Contact the specific bank or financial institute and make sure the availability of the account. Then you have to make sure whether the customer has enough credit limit. Then the company has to authenticate itself to the bank (it may be another bank). Then the system has to deduct the amount from the customer account and add it to it’s account. (If there are commissions to the bank it has to be allocated).

OOPS..There’s whole lot of things have to be done. :(. Just think we are a company and we build our website, we have a own database server (or hired one) and we have direct access to it. (we have the authentication). But to check whether the credit is there in customer’s account we have to connect to the bank’s database. Will they provide you the access to their database ? Definitely not.

So what is the solution ? To make your application work perfectly in a real world scenario you need the above functionality. And all the available web applications have the above functionality. So how this is possible ? The answer is web service. The bank gives an interface to interact with their data, this is a simple example for the web services. So web services are interfaces which can be used to interact with third party web applications.

Most commonly web services are implemented with XML and its derivatives. The main reason for this is, XML and XML based standards are platform independent and they are open standards recognized by the industry.

When it comes to interoperability and communication XML is not only the way to do that, but it is a well known and a leading way of describing data. So mostly the communication with the web services happen in the format of XML and derivatives. The derivatives in the sense it includes the other protocols like SOAP,WSDL and much more…

So as explained in the above example if you want to check the available balance of the customer, you have to communicate with the service provided by the bank. You pass the relevant detail of the customer as a parameter (credit card number or account number) to the web service and request the balance and you will get a web service response for your request in an XML format.

Again XML is not only the way to create the web services but it is commonly used because of its open standard and industry wide recognition. The XML based web services are called XML web services but when it is normally referred to as web services it means the XML web services.