‘Daniel Rey’ Archive

StickNote, the new social network, coming soon

Posted by Daniel Rey
7 March 2010

Translation in progress, come back soon!

What use is this orange button?

Posted by Daniel Rey
4 March 2010

Translation in progress, come back soon!

Javascript, the lenguaje of the future

Posted by Daniel Rey
26 February 2010

Translation in progress, come back soon!

Quentin Tarantino, Vol. 2

Posted by Daniel Rey
21 February 2010

Translation in progress, come back soon!

Quentin Tarantino, that crazy genious

Posted by Daniel Rey
17 February 2010

Translation in progress, come back soon!

Web browser games

Posted by Daniel Rey
13 February 2010

Translation in progress, come back soon!

Our LudumDare games

Posted by Daniel Rey
9 February 2010

I won’t extend too much in explaining what LudumDare is, because it can’t be understood without living it. Basically, it’s a on-line, worldwide competition, which objective is to create a computer game in 48 hours. The game must be original, be developed entirely by one person, and must conform to a theme, that is announced as the starting gun.

Usually there are 2 LudumDares a year, once in November and another in April. Well, Selkie and I have participated in the November one, which theme was exploration, and this is what we have done:

Daniel Rey: Jail Escape

You are a militar, prisoner behind the enemy lines. Tomorrow you will be executed because you know too much. When a guard brings you your last dinner, you knock off him and start your escape. You can’t make noise, you cant’t use the guard’s machine gun, because you are in an infested of enemies place.

  • UP ARROW: Advance
  • DOWN ARROW: Go back
  • LEFT ARROW: Turn left
  • RIGHT ARROW: Turn right

Your objective in each level is to reach the blue circle (that symbolizes a door). If a guard sees you, you loose.

There is a little glitch, if you move near a wall, you can get stuck. It’s better not to go near the walls.

If you win the game (5 levels), some stats will appear on screen. This stats are, for each level, the time (in seconds) that you spent in that level, the percentage of floor you explored, and the times a guard saw you.

Instructions to play:

If you use Windows:

Download this file, uncompress it, and double-click Jail_escape.exe: http:​/​/​danielr.es/​Jail_Escape_Win32.zip

If you don’t use Windows:

Yes, there are 3 libraries to install, but it won’t take more than 10 minutes!

I included a progress log in the main folder, read it if you wanna know my experience.

Selkie: Planetary Explorer

The game’s name is Planetary Explorer, so you can understand that it’s about space travels and exploring.

It’s made with Game Maker 6.1 Pro and compatible with XP, Vista and Win7. Sadly it’s not compatible with Linux or Mac, even under Wine.

Other tools used:

  • Graphics: MS Paint and Gimp
  • Music: Anvil Studio

It only has one level, with two parts:

  1. Travelling to the planet with your ship, destroying enemies and avoiding bullets.
  2. Once in the planet, finding three diamonds and returning to the ship.

Hope you enjoy playing it as much as I enjoyed making it.

Click here to download the game

Source code (Game Maker required to open it)

I must emphasize the good atmosphere that prevails in the LudumDare. There is very good roll, and that point of geekiness that involves spending all the weekend sleeping just enough to stay awake, and spending most of their time to the game. I should also say that we haven’t been in the first positions, we have been in the bottom half of the classification (or so), so imagine the wonders that have done the winners!

LudumDare web-site

The “wiki-” vogue

Posted by Daniel Rey
6 February 2010

Perhaps you may know the Wikipedia. In case you have been living in a hideout for the past 10 years, the Wikipedia is a on-line encyclopedia, with a particularity: anyone can add or edit its content. This means that millions of people can contribute their knowledge on a topic, forming the most comprehensive encyclopedia ever. Of course, anyone can edit an entry with bad intentions, so it isn’t 100% rigorous, but it’s a small price to pay for having the greatest source of knowledge at a click.

The Wikipedia appeared in 2001, and today, personally I can’t imagine living without it, and I’m sure I’m not alone. Its growth has been spectacular, having in its English edition more than 3 million articles (a number unreachable for any traditional encyclopedia).

The name “Wikipedia” comes from the fusion of 2 words: “wiki“, which in Hawaiian means “quick”, and encyclopedia. However, the word “wiki” has now become more than just a funny word in a foreign language, the word embodies a philosophy, an evolution of the Internet focused on users. In fact, such websites have taken much of the blame for the origin of the “Web 2.0” (which I will speak about another day).

Wiki philosophy

We can say that all the websites that have “wiki” in their name share the same philosophy. Anyone who enter there can edit the contents and add new ones. Naturally, there may be private wikis for business projects, for example, or wikis in which is required to be registered. In general, the purpose of these sites is to share knowledge, and others can correct or extend the knowledge that another one had shared before. In this way, you get a very broad, contrasted and virtually without errors source of knowledge.

What is MediaWiki?

MediaWiki is, plainly, the software that Wikipedia uses. If someday, surfing the Internet, you have found a page almost like the Wikipedia (except for its contents), I bet you that it used MediaWiki. Is free software, which lets you have your own Wiki (if you have a web server) without much effort.

The difference between a Wiki and a forum, for example, is that in a forum you can write a message, and another user can respond to it, and so on. In a Wiki, however, you can modify another person’s message (article), supplementing or correcting it.

What websites are using MediaWiki?

Hundreds, thousands, millions? of web pages. Rare is the company dedicated to Internet business over 20 employees which doesn’t have an internal wiki. Most universities use some wikis to upload califications or homework. Even pages as diverse as Uncyclopedia (parody of Wikipedia, ideal for some laughs) or WikiNovela (a very strange project, aimed to create a wiki-shaped novel). And as anyone who wants it can have a Wiki, I’m sure the number will increase.

What is Wikimedia?

Wikimedia is a non-profit organization, which is behind projects such as Wikipedia (encyclopedia), among many others, including WikiQuote (famous quotes), Wiktionary (dictionary), Wikibooks (free books), etc. All these projects have in common that they use the MediaWiki system, sharing the same ideals of freedom.

What’s this article’s title?

The “wiki-” vogue. Well, simply this: the Wiki philosophy is in vogue, and even if someone says that word, we immediately think about the Wikipedia, many more websites are jumping on to this car. Without going any further, Google, with its “wikisearches”, lets get certain results appear first in your searches, or disappear, and share these preferences with your friends. Another approach to Wiki (reinvented) is Google Wave, a great page that I have spoken about on another occasion.

Everything “wiki-” seems to sell more, and more importantly: if you have a “traditional” website (eg this blog), if you want to fill it with content, you must write it yourself. In contrast, in a Wiki, the work is shared among all those able and willing to cooperate (by the way, making the owner of the site work less). It’s the Web 2.0 philosophy, the Web focused on the user, the Internet user is a content creator, instead a simple reader.

Tell us about the future

I still have to buy a crystal ball … well, here we go.

It’s clear that Wikipedia will continue to grow or, at least, it will remain the indisputable reference website. Google Wave is the latest example of a Wiki hybrid system, but certainly it won’t be the last one. Systems in which any person can complete the information on a page will be increasingly common, kicking in the Web 2.0: Internet is no more a book that you can only read its pages, to become a worldwide network of people, opinions and knowledge.

Yes, I know that my prediction is quite ambiguous, but honestly, I don’t know what will be invented next year on Internet software… because if I did, I’d invent it first hahaha.

How the future houses will be?

Posted by Daniel Rey
2 February 2010

In this topic I’m not an expert, far from it, but I have drawn attention to some recent inventions (and not so recent) that perhaps in a future will completely transform the interior and exterior of our homes. If you know any more inventions, I’d appreciate if you comment it here as I would have more info about this topic and our readers can be informed better.

A century ago, inventions such as fridge, microwave, hob and television, were unthinkable. Today, not only are essential in any home, but moreover we don’t pay attention to the advancement that inventions represented at that time. Following this trend, and given that technology advances faster and faster, this could be what awaits us in the not too distant future (10 years, maybe a little more in some points, depending on the purchasing power). Some of the inventions already exist but are reserved for the rich people.

  • Energy: The home of the future will be self-sufficient respect to electricity. Not so the flat of the future, unless the photovoltaic panels improve enough to power an entire building, with a few panels on the roof. Yes, photovoltaics, whose only requirement is to cover the roof of the house with some panels, providing unlimited clean energy at no cost.
  • Internet: There’s no doubt that all steps in that direction will go home automation. For this, the infrastructure of the homes will be improved accordingly. There are 2 possibilities: wireless networks (3G, HSDPA, 4G) will improve dramatically and will completely free us from the telephone wires, or the archaic copper wire will be replaced with fiber optics, much faster. Obviously, this already exists, but only in certain districts of some cities. Furthermore, it isn’t being exploited all the potential it offers.
  • RFID: Perhaps you haven’t heard about these letters (Radio Frequency ID), but surely you’ve ever used that technology. It consists on tiny chips (RFID chips) that contain a short sequence of bytes (an identifier), and can be read by a receiver at a distance of centimeters or even a few meters. They are, more or less, bar codes, but almost invisible, and without need for “visual” contact between the receiver and the chip. For example, they’re used in some public transport vouchers, or library books. Although, if this technology becomes more popular and chips costs diminish further, they can enter our homes as smart barcodes. For example, our futuristic fridge (with RFID reader incorporated), will know what food is inside it (if the food have RFID chips), and can warn you when an item is ending, or even buy it online. It may also suggest recipes based on the ingredients you have available.
  • Appliances: Basically, appliances will be the same as now, just with added computer / robotic abilities. There already exist, at quite affordable prices, robotic vacuum cleaners which aspire continually following a random pattern, so cleaning the whole surface of the house, and even auto-recharge (when they are running out the battery, they plug into the battery charger without human intervention). By adding artificial intelligence to appliances, you could, for example, synchronize the clock with the brewer, so when you wake up, you’ll have a cup of freshly brewed coffee waiting for you. That, coupled with the Internet, opens a new world of possibilities. You can check at any time, via a mobile phone, the state of the house, temperature, and for example, turn on the heating 1 hour before arriving home to find the house already warn when you arrive.
  • Smart items: As blinds, lights or faucets. A motion sensor in the room, which turns on the light when someone comes in and turns it off when the room is empty; blinds that upload themselves when the alarm sounds, or faucets that turn on when you put the hand underneath. In short, sensors that allow “the house” to behave according to what people are doing or to environmental conditions.
  • Computer as the center of the house: From the computer, or even from a mobile phone, you will be able to control absolutely al the parameters of the house, and even automate certain tasks such as turn on and off the heating, or lower the blinds at dusk. Today, computers are no longer computers, are all that and more, and gradually they’re becoming even more. The computer will become the absolute center of the house, integrating television, game console, music player, video, phone…
  • New technologies: Recently, there has been presented a technology that will supposedly “kill” the traditional light bulb in 2013. You can call me skeptical, but I don’t think it will achieve in 3 years that low-energy lights are trying more than a decade. This technology involves a kind of wallpaper that emits light, in a similar way as a computer screen emits light (OLED screens in particular). It has the advantage of lower power consumption, and providing a smoother, more natural light, as it’s distributed throughout the room. If you have lost within my explanation, basically in the future, rather than bulbs, there will be light walls, of course with adjustable intensity, and even colors.

I saw nothing more, although I’m sure there are dozens of inventions that should be taken more into account. Most are simple evolutions of what we know so far, which will be phasing in our lives, until a time when we’ll wonder how we could live without it.

The electronics is taking over our homes just as electricity did in the past century. We expect some interesting decades in which some “premonitions” made by the Science-Fiction writers will come true, such as the smart home, the remote machine controlled with the thought, the hologram or humanoid robots capable of learning (apparently). As I always repeat every time I write an article like this, I don’t have a crystal ball, to see the future it’s best to live it.

User should decide?

Posted by Daniel Rey
29 January 2010

This is a very tried topic, but not yet closed nor resolved. It applies to any aspect of life, although I will focus in software development.

One factor in an application usability is that the user can decide many things. A color palette pleasing to the eye, a screen resolution that fits your preferences, and so on.

But… To what extent we should give freedom to the user?

Some of you may think that every freedom is little, that the user must be able to configure everything to his liking, even the smallest detail to be comfortable with your application.

Others, however, may defend the position that if a program is well designed, following clear patterns with a friendly and well structured user interface, it isn’t necessary to allow the user to change everything.

This applies both to web applications (choose a style sheet), as desktop applications (minimize in the taskbar, notify me when a friend is connected), and even in videogames (select the contrast, brightness, resolution…).

My opinion as a programmer can contribute little to the topic. As a user, I always like to customize the programs I use. But according to psychological studies, freedom to excess is bad (I mean in software, don’t get this out of context haha). Faced with several similar applications, which differ in the degree of customization, user satisfaction plotted a Gaussian distribution, i.e. at the extremes (very customizable and less customizable) users were dissatisfied, while in the middle (moderately customizable) is where the user reaches the greatest degree of satisfaction.

This can be summarized in one sentence: “The excess overwhelms us.“ If the user has hundreds of small details to customize the program, he will get stuck. If the program is a black box, making it unable to simply maximize the window (it’s just an example) the user will also feel a rejection of this application.

Then… How can we know what is the middle ground? As advice, I would recommend doing the program as most customizable as you can. If when tested with real users you realize that you’re gone too far, probably all you have to do is to erase a few lines of code, so you can remove the unnecessary options.

To sum up, although it sounds weird, too much freedom is bad. It’s said by a psychological study to which I have to agree. We must give the user some freedom, just enough so that a large segment of users can get the program looks nice to them without much effort. But not spend more effort to the configuration options that to the program itself.