3 koningen

3 Koningen!Vandaag vieren we de aankomst van de 3 koningen (Melchor, Gaspar en Baltasar). Dit is het traditionele grote feest in Spanje, dat beetje bij beetje wordt vervangen door Kerstmis. Vergelijkbaar met Sinterklaas in Nederland die ook beetje bij beetje wordt vervangen door Kerstmis.

Drie kongingen vieren we dit jaar op een aparte manier. Iedereen koopt een kadootje en gooit deze op een grote hoop met kados. Hierna wordt geloot wie het eerste kado mag pakken. Deze kiest een willekeurig kado. Hierna wordt er weer geloot voor wie het volgende kado mag kiezen. Deze persoon mag dan kiezen uit een kado uit de hoop, of het kado van de vorige persoon. In dit laatste geval pakt hij dus het kado af van de vorige gelukkig, en mag deze een nieuw kado uitpakken.

Straks loop ik richting huis langs een ‘Chino’ om aldaar mijn kado te kopen, en dan kijken of het lot mij vanavond goed gezind is.

Kerststal

Kerststal 2010!Ook al is het hier lekker zonnig en rond de 27 graden, hebben we toch de kerststal weer uit de berging gehaald. Lekker genieten van de kerstsfeer en denken aan de witte deken die Nederland bedekt. Alvast een hele goede kerst gewenst!

Android update December

Android app!In creating a game using the appinventor I was running into quite a lot of problems. Programming the logic is very simple, but fine-tuning details is in a lot of cases impossible. For this reason I threw the appinventor out of the door and right now I am reinventing my game-app using Eclipse and Java. A lot more flexible and a lot more fun. The only drawback is developing it is not so fast, but this is mainly because there are a lot of things that need figuring out.

Dog!I think I will be needing a few more months to finish my first project, which is mainly caused by the lack of time I seem to have. But still, I will try to publish something every month from now, so I have a good reason to keep progressing. This dog is one of the important parts of the game. Next month something unimportant.

Nokia 1616

Nokia 1616!Het moest er toch ooit eens van komen, een nieuwe telefoon. Helemaal omdat ik in Griekenland mijn ouwe trouwe toestel kwijtgeraakt ben. Hoewel ik bezig ben om software te ontwikkelen voor een Android toestel ben ik niet echt een bel fan en heb ik het goedkoopst mogelijke toestel gekozen. Een Nokia 1616, waarbij het nummer ook direct de prijs was, 16 euries.

Wat me opvalt is dat er in de laatste paar jaar flink wat is veranderd, ook in het budget segment. Mijn low-cost toestel komt uitgerust met een radio en werkt als zaklantaarn. Verder zit er een agenda op en een aantal spelletjes. Het enige wat ik nu niet heb zijn een fototoestel en ik kan niet internetten, maar dat kon en deed ik toch al niet.

Ik heb mijn oude nummer kunnen redden, maar ben wel al mijn contacten kwijt. Dat wordt dus een tijdje nummers verzamelen, en kijk niet gek op als je me belt en ik heel formeel (of in het spaans/engels) op neem.

Becoming an Android developer

Android developer!For my upcoming Android game I’m going through quite some new experiences. Although I have been a software developer for over 15 years, this was the first time I created software for an Android phone. Also this was the first time I used graphics make by real designers for one of my privately developed applications.

Appinventor
Somehow my attention was drawn to a new feature which was being offered by Google. The appinventor. You needed to complete an online application form to get access, which I did, and a few weeks later I received an email that I was granted access. After this I started playing around with the tutorial, the example apps and the Android emulator. The appinventor itself was very easy to use. It reminded me of the tool that was supplied by Lego with their Mindstorm set a lot of years ago. The appinventor consists out of three parts:

  • Appinventor. This is where you select the functional items that your application will have. You define textareas, labels, buttons, add graphics, set alignment, font sizes, etc.
  • Block Editor. From the appinventor you can start the block editor. Here you see all available programming, and you can use this to define variables, procedures, loops, etc. The entire process of creating the logic for your application you do here, in the Block Editor using drag and drop. After you get used to the concept it is very easy.
  • Emulator. From the block editor you can send your program to a connected Android phone, or to the emulator, and test to see how it will work.

Images
In an early stage I was thinking about how to make a game that would be appealing to play, but which also would not require a lot of time. Still, I wanted it to be a game that people would like to play over time. It was easy to think about how I would like to see a nice and easy game, and it was clear I do not possess the ability to create nice graphics. I went to search online and found some images I like on the fasticon.com website. I needed to pay around 20€ to be able to use a number of icons I liked, without risk of legal problems. The images looked very professional, and they fit perfectly in the game I had in my mind. 20€ sounded like a good deal, and I was hoping I would somehow get the money back selling the game online.

Developer account
For publishing my app on the Android market I needed to create a developer account. This set me back another 20€ and I needed to register my credit card details, my bank details and a lot of personal data…. a bit tricky but after a small evaluation I thought it was worth it. This meant that I was now able to publish as many apps as I liked, and maybe my game would sell enough to get this investment back, although I doubt this.

Android

Android!Times are changing fast. Mobile phones are turning into small computers, and computers are turning into access points to access the internet. The internet seems to be the place where everything is happening.

In the past you used to work with your software on your own pc, now slowly everything is moving online, where your data and programs can be accessed where-ever, when-ever and how-ever you like, using a pc, a phone, a pad, or what-ever else. A similar trend is visible in hardware. In the past you needed special equipment for a lot of functions.

  • To make a call (phone),
  • for giving driving directions (tomtom or other navigation system),
  • for reading digital books (e-reader),
  • to wake you up in the morning (alarm clock),
  • to play a game (nintendo ds, sega dreamcast, sony playstation, microsoft xbox, etc.),
  • for knowing the time (watch),
  • for knowing your location (global positioning system (gps) or compass)
  • etc.

All these functions are now more and more available online, and you only need to select the size and setup of a single machine to access these functions. This is a great improvement in flexibility for working with and enjoying or consuming ‘information’.

This change affects all of us, and it will effect us even more in the future. People are changing fast, and their needs for data and connectivity are changing with them.

I have started developing for Android, with the recently launched appinventor by Google. It is strange to see that technology is getting more and more complex but for developers things are getting much more simple (although also a bit less flexible). The appinventor is an easy way to construct an application for an Android mobile phone. All the development is done online, and if you want you can download the result to your PC. This means I can start work on one PC and continue on another one, without the need to install anything.

Although there are still some inconveniences I think this is a real step ahead. One of the next steps hopefully will include much better interoperability, where an app created for Android can just as easily be used on a different phone or a PC, or embedded in a website. Soon I hope to publish my first app here, on Leiden365.nl.

Goedkoop is duurkoop

Uiteraard is er een heldere reden dat producten soms verdacht goedkoop zijn. Om deze producten te maken gebruikt men de goedkoopst mogelijke grondstoffen, de goedkoopste arbeidskrachten en er wordt vooral geen geld uitgegeven om het product goed te testen.

Zo ook mijn gelukskat. Toen ik de batterij erbij kreeg als een kadotje had ik natuurlijk direct nattigheid moeten voelen. Na welgeteld een dag met zijn pootje te hebben gezwaaid begon de gelukskat een vervelende tik te produceren. Iedere keer als het pootje heen en weer bewoog hoorde ik een flink harde tik. De eerste oplossing was om de kat buiten de zetten, maar ik bleef de tik horen. Hierna ben ik over gegaan tot een reparatie.

Het mechanisme was verbazingwekkend simpel. Een gewicht, een soort van magneet, een batterij en dat was het. De tik werd veroorzaakt door het gewicht dat tegen een plastic randje aantikte. Dit was met een stukje draad te verhelpen. Hierna deed de kat het weer perfect, en was ik gelukkig met het juiste niveau van technische kennis die ik in huis had, en waarmee ik de gelukskat heb kunnen repareren. De kat staat inmiddels weer in de huiskamer.

The lucky cat

Maneki Neko, the lucky cat!Thanks to Easyjet I have a little bit of extra money to spend. The first thing I bought was something I have noticed in a lot of cheap Chinese shops. It was a gold colored cat that is waiving its little paw.

I suspected it was some kind of good luck charm and according to Wikipedia there are three popular stories about the lucky cat.

The temple cat: A wealthy Chinese ruler was taking shelter under a tree during a severe storm. A cat from the temple beckoned to the man and followed the cat the in the direction of the temple. Seconds later the tree was struck by lightning. The rich man befriended the poor priests and they prospered. When the cat died, they made a little statue that became the first lucky cat.

The prostitute: One night the cat started pulling on the kimono of a prostitute. The owner of the brothel saw this and cut off the head of the cat. The head flew across the room and could just bite and kill a dangerous snake that was just about to attack. Of course, the whore was broken by grief at the loss of her cat. One of her clients gave her a statue of her cat to cheer her up.

The old lady: An old woman was so poor that she even had to sell her cat. A little later she dreamed of her cat and the cat told her to make a little statue of him (the cat) with clay. The woman was selling the cat statues and started a small business. The cats became so popular that the old woman had no more money worries.

Meester/Professor Berg

Tusclasesparticulares!Via een Spaanse website (tusclasesparticulares, betekend zoiets als ‘jou prive les’) waarop je een advertentie kan plaatsen om je diensten aan te bieden heb ik mijn eerste student Nederlands ontdekt. Dit weekend geef ik voor het eerst Nederlandse les. Gelukkig is het vanaf niveau 0, dus foutloos schrijven is voorlopig geen prioriteit.

April fools in Spain

Google maps in 3d!Although April fools is for some strange reason celebrated on the 28th of December I did notice some April fools influences from the rest of the world. By coincidence I was browsing google maps when I noticed that the entire city of Las Palmas was displayed in 3D. The only ‘but’ I could think of was that clearly you needed the typical blue and red glasses to see the effect. Still, I was surprised and it was nice to see.
Lope de Vega (my home) in 3D!