Sticky: Latest pictures shared from mobile phone

  • Good morning austria
  • Goodmorning holland
  • At concert of Guido Dieteren with Suna
  • Picture I found on my phone this morning
  • Preparty with oliebollen! 3 HR till NYE
  • Ice skating in pudong
  • Chinese monopoly and gluhwein…
  • End of year ceremony at Korean school
  • 9 am dec 24, prepping tonight’s gluhwein
  • Playing badminton with friends
  • Came home to this today
  • Korean exam on sat morning
  • Cars in Hongqiao…
  • Korean BBQ with Suna and Chieko
  • Sunday morning swim
  • Shanghai non pesticides strawberries, thanks Alex and Karen!
  • Eating Okonomiyaki for the first time!
  • @상하이 짐찔방
  • More unitedstyles.com dresses on their way!
  • These guys are overdoing their opening ceremony.

Developers are still waiting for Google+ to open up.

August 30, 2011,

Social network Google+ launched end of June 2011 with a lot of media coverage. They have been gaining users ever since, adding 25 million users worldwide in less than a month, everybody wants to participate in it’s success, launch an app and gain traction through Google. But two months after going live, Google is closed. Will the Social network be closed forever?

Philosophy wise, Google+ is different then many other websites out there. it launched without any programmer hooks involved. A lot of people were disappointed with this news at the launch, and nothing changed as of yet. My guess is that Google want’s to get it right from the start and take it step by step. To everybody’s joy, Google added 3rd party games to their platform two weeks ago. A good sign.

However, even if they open to developers, Google+ would not be like Facebook. Vic Gundotra, the senior vice president of engineering for Google, stressed that the games “are there when you want them and gone when you don’t.”. They won’t be appearing in timelines like in Facebook.

What you can expect if you would be able to launch a Google+ application? At this point it’s only speculation, but approaching a different demography then Facebook or Twitter would be one. Also, Google might also have different idea’s about monetizing commercial users. It would be interesting to see if they would allow adsense, which I doubt. However, products like Google App market and Checkout might appear.

Currently there is almost no information regarding Google+ projects. Some whisper that developers might be forced to use Caja to write apps. I did some research earlier and Caja is great – basically a secure iFrame. if this is the case, the sky is the limit. Others mention Opensocial. Nobody knows and all developers are out in the blue.
On the bright side: Google did open a mailing list for developers hunkering to know more. ““To stay updated as the Google+ project develops and get a heads up when we have more details to share about Google+ developer opportunities” If you are interested in developing for the platform in the furture, you can at least leave your details here.

Do you have any idea’s what a possible Google+ developer suite will allow you to do develop?

Don’t wait for HTML5 to work on the desktop, leave flash for SVG today

August 29, 2011,

Another topic about technology: A good year ago; If you would ask me about building some complicated site, I would consider HTML5 but probably have to fall back to flash due to development costs or compatibility.  Since Apple blocked the technology Flash on it’s iOS, things have accelerated. (That’s a cliche i don’t want to stress too much in this post) You have to serve websites on iPads today. Suddenly, a lot of users aren’t able to browse your flash site anymore. Luckily, HTML5 is coming to the rescue. it promises us free chocolate and paries on the beach. But it’s not ready for production. What to do? I’d say, use SVG.

But Adobe (owner of Flash) recently announced they will launch a HTML5 building tool that would work simular to flash, called edge. It seems clear then right? We’ll say goodbye to flash and embrace HTML5.

No. That’s what I thought in May and it’s false. The HTML5 standard isn’t officially completed for the next decade.  However, there is a silent voice in the Flash VS. HTML5 debate called SVG. With little effort, SVG (Scalable Vector Graphics) can do most things Flash and HTML5 can do. Yes, even audio. And best of all, it works on the iPhone. Whilst Flash is in the past, and HTML5 the future. SVG is the best what the web can offer today.

When I started a new web project last May, I seriously considered Flash, Canvas (HTML5) and SVG. Whilst all of the could do what I wanted, all had advantages and disadvantages. In short:

  • 1) Flash doesn’t’ work on iPhone, proprietary and slow.
  • 2) HTML5 is too vernal – ready for mobile but not for desktop – and
  • 3) SVG skilled programmers are hard to find in China.

In summary: Three months into the development project with SVG, i’m happy I chose to go with the third option during the time. The learning curve is low; SVG is easy to interpret and can be controlled by JavaScript.  Just like flash it’s vector-based and can be animated.

The downturn (compared to HTML5) is that SVG requires a plugin, just like flash, the difference is that most modern browsers (Firefox, IE9, Chrome & Safari) support some degree of SVG directly. To support the older Internet Explorer browsers, there is a great plugin called SVGweb that renders SVG in Flash. SVGweb mentions on their site: “Using the library plus native SVG support you can instantly target ~95% of the existing installed web base.” I tell you, it was a breeze to get most browsers on board.

Developers: Don’t fall back to flash in your wait to HTML5 and CSS3,  SVG is gaining popularity fast and is a great way to get things started. Today, most vectorized pictures on Wikipedia are already in SVG and recently Google added SVG to their image search. I see HTML on the pipeline, but for now I will use SVG, saying good bye to flash forever. (Oh, I actually blocked Flash on my browser using Flash Block.)

Sources:

  1. The defacto standard for anyone learning canvas – Dive into HTML5
  2. Google diving into SVG – Search engine land
  3. A older (but still! valid) SVG versus flash – itl.edu
  4. The SVGWeb plugin - Google Code

Tried running Whatsapp on the desktop using Android SDK. Verdict: too slow

August 28, 2011,

Official Android SDK showing whatsapp

Some people like to chat on their phone’s. Some people don’t. One of the people that like to contact by SMS/Whatsapp is my sister. She contacted me and we had a chat but I realized typing on the iPhone (with it’s pesky autocorrect) isn’t a lot of fun.

So I wondered: can’t I install a desktop client on my MAC OSX Lion? In short: You can but it sucks. Why? It’s terribly slow. But until Whatsapp changes their mind and creates a desktopapp, or at least open up their walled garden, this has to do.

For those of you wondering what I did:

1. Go download and install Androids SDK

2. Create and download a proper AVD (I choose galaxy tab Android API 8)

3. boot android on your desktop

4. Allow unknown sources

5. Place the whatsapp apk into the android/tools directory, and install it with:adb install [apk name].apk (adb is on your own computer.)

Verification process of whatsapp using the android SDK

6. Sync your contacts: Download your Google contacts in vCard format. Execute the following command: “./adb push <location of your vcard>.vcf  /sdcard/contacts.vcf” (adb is on your own computer.) Then find contacts in the android emulator and click import. Select your SDcard. Contacts should import now.

7. Launch Whatsapp and chat.

Actually, after this success I realized it’s a bit too slow but it works. So I actually had two trials today. The second attempt however, failed. I installed Android on the desktop using a ISO from the http://www.android-x86.org/ project. This is much, much faster then Google’s own SDK.

After some time I finally am able to play with android on my desktop at almost native speed, which is cool. But whatsapp would not be installed due to a problem identifying the device. At that point, installation could only be achieved by restoring already installed whatsapp copies but I didn’t look further into this.

http://www.android-x86.org/: We can't identify your device. Please turn off the phone, take out the battery, restart it and try again.

The take away of today’s weekend project is that I am actually able to chat with my sister on my desktop now, using whatsapp. It’s painfully slow (typing appears in a lagging matter) so I won’t likely to use it at all. Time wasted but an anwer richer. If anyone has more success, please let me know. I suppose I will use my efforts with the SDK and the ISO for some actual android development in the future.

Sources:

Stack overflow post on how to sync contacts from desktop to emulator:

http://stackoverflow.com/questions/1114052/importing-gmail-contacts-on-android-emulator

How to install APK in the SDK:

http://nerdposts.blogspot.com/2009/12/android-install-apk-on-emulator.html

Android X86:

https://code.google.com/p/android-x86/downloads/list

 

Quick mac tip: ‘On hover’ translation in OSX

August 22, 2011,

On hover translation:

You can learn a language from a textbook, but having real conversations speeds up your learning efforts a lot. This is why I decided to change the primary language of my computer to Korean. Now, most websites and programs greet me in Korean, and I read and interact a whole lot more!
However, I noticed that I seldomly look up new words, slowing down my work and thus became frustrated with my latest language experiment.
I found that many of my Korean friends use windows PC’s, which provide real time translation of the word they point at with their mouse. Holy moly, that’s amazing! This is very useful because you read the active word and can see a active translation in a small on-screen widget. You are forced to think in the foreign language first, then you have your dictionary immediately ready to refer to. They tell me they learn English quickly using this system, i’m jealous!
I had been looking for an app for macintosh OSX for some time but without luck, until I came across TranslateIt! today. It’s exactly what I had been looking for! Let me show you an example:
OSX programs including Finder:

and web browsing:

How to set it up:

1. Download and install the translateit! app from their website. (I choose without popular dictionaries)
2. Download a dictionary, i got this one but there are many mentioned on the translateit website. (bottom)

3. locate the downloaded dictionary by clicking ‘dictionary’ -> ‘+’ and then ‘install from local directory’.

4. Lastly, change your primary language to korean (한국어) and restart/relogin to your MAC OSX account.
Done!
PS: we are not affiliated by creator of the translatit! program, or the dictionary. We just think it’s awesome!

For online audio distributors: Host your audio on S3 with statistics!

August 21, 2011,

Image by samwebster (CC,http://www.flickr.com/photos/samwebster/4378872439/)

A quick guide for those distributing large amounts of audio on the Internet: As you know, audio services are great but are also costly. Consider hosting the files yourself on Amazon S3 and potentially save a lot of money. In my case I have sliced next year’s cost by at least 30%. It’s a little bit of a geeky guide but I managed to go through the installation steps myself within one hour. Ofcourse you can leave your thoughts or ask questions in the comment section.

Let’s make it a hypothetical case: I am hosting a podcast called joopspodcast.com – which is entirely about myself LOL. Amazingly I have about 50k downloads a year. We will compare a well known audio hosting service which shall remain unnamed; let’s call it AudioHoster INC. for now, with amazon S3. We compare with S3 because I build some experience with the service and it’s my gut feeling it’s cheaper then hosting it on AudioHoster INC’s servers.

Comparing the two options:

Advantages of using AudioHoster INC.

  1. They take care of your offsite backups (If they are professional service)
  2. Statistics about the users behaviour
  3. Cool flash players for users to play the files with

Advantages of self hosting on S3

  1. Amazon S3 is likely to be cheaper to host
  2. Cost based on actual MB’s served
  3. Able to cancel contract at any time

Thinking about it, I am sure we can offer all 3 advantages of the AudioHoster INC. on our self hosted environment. More about that after the following cost calculation:

Worth the trouble? – cost calulation

Comparing potential cost of both services.

Whilst hosting audio with AudioHoster INC. is great, but I paid €29 a year for a ‘lite’ account which provided me with 4 hours of audio hosting. This was fine at first but within a year we had to move to a premium account – even though this particular audio hosting service was kind enough to sponsor me with a trial of their premium. Premium will be around €79 per year for 12 hours.

Comparing the prices is hard. After all, we suddenly need to pay for the amount of users that download our content per megabyte. All kinds of variables come in to play like the amount of visitors and the amount of data they copy. The only thing one can do is underline that this is a loose calculation on a sunday afternoon and is based on a hypothetical case. But enough data to base our decision on:

Calculating hosting costs for Amazon S3 goes as follows: (cost for total GB hosted + puts = costs). On average, a minute of MP3 (128kbps) is 0.91MB. Amazon charges $0.01 per 10,000 GET and all other requests. In the case we will host 4 hours (240 min) of audio.

Case 1: 4 hours

We have about 4 hours of audio data with about 50.000 downloads a year:

Total GB of audio: (240 minutes * 0.91 average MB for minute of mp3) = 218MB (0.212 GB)
Hosting costs: 0.218 Total GB of audio * $0.093 price per GB = $0.02 * 12 months = 0.06
Average audio time: 5 min = 4.55 mb. Serving that to 50k people equals 244GB.

Data transfer costs: 243 (estimated MB – free first GB) * 0.120 (from here) = $29.16
Puts: 50000 * ($0.01/10000) = $0.05 * 12 =

Total cost per year: 0.06 (Hosting costs) + 29.16 (Data transfer costs) + 0.6 puts = $29.82

Case 1: 12 hours

We have about 12 hours of audio data with about 100.000 downloads a year.

Total GB of audio: (720 minutes * 0.91 average MB for minute of mp3) = 655MB (0.639 GB)
Hosting costs: 0.639 Total GB of audio * $0.093 price per GB = $0.06 * 12 months = 0.72
Average audio time: 5 min = 4.55 mb. Serving that to 100k people equals 444GB.

Data transfer costs: 443 (estimated MB – free first GB) * 0.120 (from here) = $53.16
Puts: 100000 * ($0.01/10000) = $0.1 * 12 = 1.2

Total cost per year: 0.72 (Hosting costs) + $53.16 (Data transfer costs) + 1.2 (puts) = $65.99

Summing up

As said, AudioHoster INC. charges:
4 hours for €29
12 hours for €79

Hosting on S3
4 hours for €21*
12 hours for €45*
*converted on 21/08/2011 dollar to euro exchange rate

making hosting 4 hours about 74% of AudioHoster INC’s price, 12 hours about 56% of the price.

It seems to me, as benefits are marginal on 4 hours but at 12 hours become worth while. Guess our trouble become valid after about that time. SInce I passed 4 hours i’m gonna say: screw AudioHoster INC. for now and we will set it up ourselves on S3.

How to do this?

Before we start, make sure to check at least the following isn’t a problem for you:

  1. Credit card for subscribing to S3
  2. basic knowledge about Linux
  3. For statistics, we need install rights on a (linux) webserver. In my case I used an ubuntu server, the one that hosts joopspodcast.

So, we setup S3 but we don’t stop there. We want to install the domain’s DNS for better URLS, and add statistics to keep a close eye on potential costs and visitor data. We then covered most of the advantages of using a subscription service. Perhaps some other day I will add how to add cool web players.

For joopspodcast.com, I want to host the files in a subdomain called media.joopspodcast.com, not in amazon’s created URL’s. Why? Two reasons: People linking to your files link to your domain, which equals increased pagerank. Secondly, the amazon URL’s are super long and hard to remember!

Setting up Amazon S3

  1. Navigate to https://console.aws.amazon.com/s3/home?
  2. Sign up/login to the S3 service
  3. Create a so called ‘bucket’ – you NEED give it your full intended URL in my case: ‘media.joopspodcast.com’
  4. Copy your podcast files onto your bucket. You can use the online version but I used transmit (mac).

Setting up DNS

  1. Navigate to your domains DNS panel.
  2. Add a CNAME. In my case: Recordname ‘media’ value “http://media.joopspodcast.com.s3.amazonaws.com.)
    (don’t forget the dot at the end and if you are an European user, use s3-external-3.amazonaws.com. instead)

Now everything in the bucket http://media.joopspodcast.com.s3.amazonaws.com can be addressed with your new shortURL media.joopspodcast.com.

Setting up analytics

  1. Go to your webserver and install AWStats I also installed freegeoIP tools to track where people came from (guide)
  2. Install Johan Steen’s get-aws-logs.py script (link)
  3. Configure according to Johan Steen’s recommendations (link)
  4. Some pointers that got me further were:
    S3 AWStats LogFormat
    LogFile="/var/log/apache2/media.joopspodcast.com.log"
    LogFormat="%other %extra1 %time1 %host %logname %other %method %url %otherquot %code %extra2 %bytesd %other %extra3 %extra4 %refererquot %uaquot %other"

Offsite backup

Will happen on my own terms. Usually before I upload audio files I will make a backup and save it within my document backup environment. Offsite backup arranged!

Credits:

Thanks to Carlton with help setting up S3 DNS: http://carltonbale.com/how-to-alias-a-domain-name-or-sub-domain-to-amazon-s3
Johan with help getting analytics logs imported: http://wpstorm.net/2010/11/aws-s3-logs-boto-python/ http://wpstorm.net/2011/01/awstats-amazon-s3-cloudfront/

Weekend trip to Beijing

July 18, 2011,

Accompanied by my wife and two dear friends, we visited Beijing in the weekend. It started on Friday afternoon; after a train-trip from Shanghai we arrived at our hotel in late afternoon. We picked a hotel at the Hao Hai lake for easy commute and to enjoy the restaurant street at the lake.

We started with a great vietnamese dinner, including a burning coconut beef dish which was really great. We enjoyed a beer but went back to the hotel early to catch some sleep for the following day.

Saturday morning early, we headed out to Badali, the most famous part of the Chinese wall. I was happy we were early, the lower area’s were busy. We walked the wall for about three hours and it was certainly great to enjoy the sceneries and learn more about the history.

In the evening we went to the DaDong Beijing duck restaurant. The restaurant has become a chain with many locations. You order a roasted duck which the chef will cut at your table. You add flavor with sugar and special duck sauce. Excellent dish! We had local friends joining for the dinner and went to the club area afterwards.

\

Regardless of the late night clubbing, Suna and I decide to set the alarm 1.5 hours earlier then agreed with our friends to make a walk around the lake. So on Sunday morning, we enjoyed the sceneries of Chinese men fishing and ofcourse tai chi. I miss a lake like this in Shanghai!

Later that day, we headed out to the forbidden city. Took a picture at exactly the same place as 13 years ago. Only this time, with my wife!

After the forbidden city walk, we walked around and enjoyed a last lunch in Beijing before boarding the train back to Shanghai.

In the bullet train to 北京 Beijing

July 15, 2011,

Taking the bullet train to Beijing. This high speed (300km – for now same as TGV/KTX) allows us to travel the 1300km in 5 hours. Each of the four stations we pass is breathtakingly huge. A single journey ticket costs 555 RMB, which is cheaper then flying. The first class is full of foreigners that otherwise probably would take the plane here. Power outlets at most of the seats and cafeteria allow us to use laptops the entire journey.

The food wasn’t so great though, a bad microwave meal. Furthermore, getting the tickets is a bit of a time waster, would be great to be able to purchase those online.

Although many trains were cancelled this week due to power outage, our train seems to go accordingly.

20110715-101303.jpg

Pics from birthday party

July 10, 2011,

Thanks for coming guys, it was great! 20110710-105817.jpg

20110710-105840.jpg

20110710-105854.jpg

20110710-105915.jpg

20110710-105926.jpg

20110710-105943.jpg

 

20110710-110006.jpg

At Karen and @aleximperatori’s wedding – huge!

June 18, 2011,

Arrived at the wedding of Karen Chen and Alexandre Imperatori. Beautiful shining couple. Wish them a great wedding, out of experience I can say these beautiful moments pass so quickly. It’s my first Chinese wedding, I think this one is quite exquisite, even for the Chinese. I mean, william could be jealous. They are about to walk the aisle, perhaps will live blog this event :) until now everything is perfect.20110618-053408.jpg

20110618-053416.jpg

20110618-053426.jpg

20110618-062559.jpg

20110618-062607.jpg

20110618-062616.jpg

20110618-062622.jpg

20110618-062754.jpg

20110618-064605.jpg

20110618-065008.jpg

20110618-070347.jpg

20110618-070357.jpg

20110618-074904.jpg

20110618-084546.jpg

20110618-103014.jpg

20110618-110755.jpg

Annual Unitedstyles gocart challenge

June 15, 2011,

Just went to the gocart track with UnitedStyles colleagues, followed by a Korean BBQ.

It was time to do something special with the team, and since we have a go-cart center 5 min from our office, we went all together. For
Most, it was a first racing experience. I lost from a girl but will not tell you who. Well, it was a lot of fun!

At the same time a little sad because it’s Angelique ‘s last intern day at Unitedstyles. She has shown hard work and proactive attitude and im sad time flew by so quickly. Good luck writing your thesis coming half year angelique!

Afterwards we enjoyed some barbecue.20110614-115800.jpg

20110614-115708.jpg

20110614-115659.jpg

20110614-115649.jpg

20110615-120545.jpg

Snorkeling pictures from Malaysia trip

May 28, 2011,

Our Malaysia trip had a few goals, one of which was to see some wild life. Being aware that Jacques Cousteau liked Borneo, we’d figured the snorkeling in Sipidan wouldn’t be too bad either.

After a pickup at the resort in the early morning by bus, we took the 30 minute boat ride to the coral island. To our amazement, it wasn’t busy at all. The mentality was quite relaxed: “get your gear and have fun today”! At first we dove by ourselves but came across a guide who took us to the ‘deeper waters’.

Many endangered species of fishes and marine organisms live within the sanctuary. Measuring 2 km long and 1/4 km wide, Pulau Payar is the most popular of the islands as its sheltered waters are ideal are for snorkeling, diving and swimming. Among the enchanting dive spots is the “Coral Garden”, an area covered with bright, multi-hued soft corals.

On the way back, we were a bit behind and I came across a shark! After warning my wife I informed the guide who wasn’t surprised: At noon, the sharks get fed by the humans (not with) as an attraction, soon the waters were full of them.

The snorkeling was an impressive experience, a 3D world with so much to see! Nice to see the beautiful sea world so close by. I can see how snorkeling and diving can be a reason to pick holiday destination now. I’m happy we ran by the store in Kuah to buy a (throw away) underwater camera. We were able to develop them to USB in SH, but it took them two weeks. So we’re happy to see the result.

Yes we found him.


Page 2 of 111234510...Last »