IceDev logo
  • The Chinese quiz
    During the last semester of my study I have decided to go abroad. For my graduation I went to Beijing to do an intern
  • Funo photoboarding
    The Funo project was created during the course Interactive Media Products at the HU university of applied sciences. D
  • Python Websocket Server
    For the Funo project we needed a way to synchronise all the iPads. The Funo project was build using Phonegab so web s
  • Projects manager
    When I was still a student I made some extra money as a freelance developer. The problem is that I didn’t have a go
  • WSL (Werners Scripting Language)
    This is one of those projects I did only for fun and to learn more about programming. It’s insane trying to create

A Python3 web-socket server

A couple of years ago I wrote a simple web-socket server in Python for a project at my university. I have decided to rewrite my web-socket server using Python3.

It’s still in development but it’s usable. Right now it only supports the latest web-socket implementation that goes by the name ‘Hybi’. I haven’t figured out if I want to support the first draft of the web-socket standard as well. The problem is that I do not own a device I could use to test this old implementation…

So, you want to check out the source code? Go to my Github account.

Things todo

The server isn’t finished yet. Here are a few things I’m going to implement somewhere in the future:

  • Add support for binary data
  • Add SSL support
  • Make it run as a service in Ubuntu
  • Let it write stuff to a log file for debugging purposes (only useful when it runs as a service, right now it will print everything into the terminal window)
  • Figure out if there are still devics around without support for the latest web-socket implementation (and than maybe implement the Hixie implementation as well)
  • Other things I come up with in the future.

你好 (ní hǎo)

Haven’t written an update about my life in Beijing for a couple of weeks so I thought I’ll write a quick update today. Not that there is a lot to write about because in the last few weeks I’ve been working a lot. In my free time mostly studying Chinese and watching TV shows (I can’t miss the new episodes of Games of Thrones, the big bang theory and supernatural of course ;) ).

Let’s start with a few Hutong school events. I have learned how to make dumplings (jiǎo zi). And dumblings are uber delicious by the way :D I hope I still remember how to make this when I get back home. Luckily it’s not very hard. Here are some photos. This photos are not taken by me by the way, I used photos taken by someone else.

 

Cantonese food

2 weeks ago we went to a Cantonese restaurant. If you think Chinese people have crazy dishes, think again. Apperently Cantonese people eat everything from the animal. And if I say everything I mean everything. ;) There isn’t a single part of the animal wasted. It’s actually a little bit disgusting that they will also serve the brain of a chicken, or the kidneys. However, the dishes we ordered looked normal. And I have eaten donkey for the first time in my life.. Didn’t taste bad at all. Other funny fact about Cantonese food is that fresh fish is really fresh. We’ve ordered 1 fish and they showed us the fish in a bucket while it was still alive. Than after a while they came back with the fish and this time it was dead. And the fish tasted good. :-)

 

So far the events I’ve attended in the last few weeks. I couldn’t make it to a few events. I hope I will be at some more events in the next few weeks.

Tomorrow I’m going back to the great wall. This time we’re going to the part called Jiankou. This part is also known as the wild great wall, and that’s for a reason. This is going to be a very tough walk.

I have also signed up for the trip to Xi’an next month. I’m really looking forward to that.

The subway in Beijing

I really had to take of picture of this. Everyday when I go home between 5:30 and 6:00pm there is a really long line of people waiting to get into the subway station. Just to give you an idea how crazy and crowded the subway is in Beijing. I’m starting to get used to it. I even got myself a seat a few times :D

subway

 

And the last few photos. Some random photos I took during the weekend. Taken in the central bussiness district and one from the other side of the office building.

 
About my internship and Chinese classes
I made a lot of progress on my graduation project in the last few weeks but there is still a lot of work to do in the last 2 months. Writing my graduation paper is also going to take a lot of time, so I can keep myself busy easily until the end of June.
 
I’m also making some progress with the Chinese language. When I buy some stuff in a shop I actually understand the lady behind the desk when she says how much I need to pay and I’m able to ask simple questions. It’s still very difficult understanding Chinese people, even when they talk slowly. I just need to keep practicing.
 
So far this update. I hope I can post a longer update with more photos next time.

Time for an update

It’s already 3 weeks since I arrived in China but didn’t find the time yet to write a decent blog post about my life here in Beijing. So here it goes.

After 3 weeks I’m pretty much getting used to the life here in Beijing. While I lived a really lazy life in the Netherlands (Only 3 days a week going to college, and a lot of free time so I could play video games)  I’m having a very busy week here in China. How my week looks like in a nutshell:

- From Monday till Friday work from 9:00 until 18:00
- On Tuesday, Thursday and Friday Chinese classes from 17:30 until 19:30 (On this days I go home early from work)
- 1 or 2 times a week an Hutong School event in the evening
- Working on documentation I have to do for my university in the evening.
- During the weekends being lazy and explore the city a little bit

About the internship
As I told you in my first blog post already, I’m doing an internship at TrainChinese. So far I like it here. It’s not a big company, but I have a cool assignment and it’s going to be awesome. ;)

The only bad thing is that it’s in the wudaokuo district, and it takes me 45 minutes to get there. And taking the subway in Beijing isn’t a lot of fun.  It’s really crowded… and it can also be a challenge to get out if there are too many Chinese people standing between you and the door.  Still not used to that shit.

Chinese classes
Well, Chinese turns out to be a pretty hard language to learn.  With 6 hours a week of classes you learn a lot. But I have a hard time remembering all the words. I’m going to wait for another month before I try talking to Chinese people in Chinese… :’)  First I have to study a lot, but finding enough time to study is difficult because during the week I’m really busy most of the time.

Time for photos
I haven’t taken a lot of photos yet, but I have a few I can show you already. Let’s start with my apartment (I only posted photos of my own room):

And this is how the apartmentbuilding looks like. And yes, there was snow in Beijing this week :D

beijingsnow

 

And here are some other photos from the neighborhood where I live:

 

 

In the zongyu plaza I take the Chinese classes. It’s the second building from the left on this photo:

sanlitun4

 

And this is the view I have from the office:

 

Great wall trip
I’ve already posted a couple of photos on Facebook, but for the people who don’t have me on Facebook, here are some photos I took during the great wall trip from last week:

During this great wall trip I’ve met a dude from London who has done a lot of hiking in and around Beijing, I might sign up for that as well so I can see some less touristic parts of the city and the great wall. But I’ll have to buy new shoes first I guess, my current shoes are going to hate me if I start using them for long hiking trips. :’)

That’s it for now. If I have done some other cool things I will write about it. :-)

First day in Beijing

Yesterday I arrived in Beijing ! And well, not sure how to describe my first impressions. WOW would be a great word :D

I got picked up at the airport by some dude from Hutong school who also showed me a bit around yesterday. My apartment is located on walking distance from hutong school and Sanlitun. I have to share the apartment with 2 other students from Belgium.

Haven’t done much yesterday. After a quick tour on where everything is located (I already found the MCdonalds and starbucks :’)) I had some dinner with my flat mates.  After that it was time to go to bed because I didn’t sleep at all in the air plane. Here are some crappy, with my phone made pictures of my room:

Internship in China: Introduction

Hi there,

Looks like you find your way to my blog.  So, if you are one of those people who are curious about what this is all about, on the 1st of March I will we heading to Beijing in China to do an internship. Yes, China ! Almost 5000 miles away from home.

Intern ship?
That’s correct. For the next 4 months I will be working at a company called TrainChinese. TrainChinese builds smartphone apps for people who are willing to learn the Chinese language. They have an app you can use to learn the meaning of Chinese characters, an app to practise writing Chinese characters, and some more apps.

My graduation project will be building a cross platform (iPhone and Android) app that focusses on the grammar of the language. The company also wants me to make learning more fun, so this is going to be a challenge. :D The app I’m going to build should end up in the iOS appstore and Android Playstore, so everyone can try out my app at the end of this semester.

Continue reading

Why phonegap sucks

So far I have decided to use Phonegab twice. The first time was for an iPad application, the second time I used it to create a simple Android app for smartphones. And both times I hated using it. So why does Phonegap suck so hard?

 

Performance

It’s terribly slow.  When I click on the icon on the dashboard I expect to see a splashscreen while it’s loading the app, but with Phonegap apps I get welcomed with a black screen for a couple of seconds. Than I see the splashscreen for a very short time before the app shows up. And the only thing it needs to do is load a web page, so it shouldn’t take that long. It could at least show the freaking splash screen WHILE it’s loading.

Continue reading

E-cigarettes, the new smoking

A couple of weeks ago I stumbled upon a thread about e-smoking on a dutch Internet forum. Since I’m already smoking for 8 years and it costs a lot of money each month I decided to give E-cigarettes a try. And I can tell you, it’s much better than analog cigarettes. It’s healthier, cheaper and the there are a lot of e-liquids for different tastes. Of course it’s much better to completely quit smoking, but sadly this isn’t a very realistic solution for everyone, and with all the benefits this is a perfect alternative.

I have bought a Joye eGo-C 1000mAh upgrade battery with two vision V3 clearomizers. After that I bought another 510-T for the times I’m in public because the eGo-C is huge ! Picture of my current hardware:

From left to right: 510-T battery, 510-T battery with atomizer and tank, eGo-C battery with vision V2 clearomizer, injection needle, bottle of liquid, black pouch for e-cigarette. Continue reading