Sunday, November 9, 2014

Coding hard boiled eggs

How would a software coder describe the recipe to make hard boiled eggs?

The procedural coder:

- Take a saucepan
- Put water in the saucepan
- Put the saucepan on the stove
- Turn on the stove to maximum
- Wait for the water to reach boiling temperature
- Put three eggs in the boiling water
- Wait 3 minutes
- Turn off the stove
- Take the saucepan
- Empty boiling water into the sink
- Take the first egg, be careful full it's hot
- Roll the first egg on the kitchen counter to crack the shell gently
- Remove completely the shell from the first egg
- Put the first egg on a serving plate
- Take the second egg, be careful full it's hot
- Roll the second egg on the kitchen counter to crack the shell gently
- Remove completely the shell from the second egg
- Put the second egg on a serving plate
- Take the third egg, be careful full it's hot
- Roll the third egg on the kitchen counter to crack the shell gently
- Remove completely the shell from the third egg
- Put the third egg on a serving plate
- Voilà, enjoy!

The object-oriented coder:

- On a stove, in a saucepan, put water
- Turn on the stove to maximum
- When the water is boiling, on the stove, in the saucepan, in the water, put three eggs
- After 3 minutes, turn off the stove
- Empty the water, from the saucepan, on the stove, into the kitchen's sink
- For each egg, in the saucepan:
- Be careful, it's hot
- Roll it on the kitchen counter
- When the shell, on the egg, is cracked, remove completely
- Put it on a serving plate
- Voilà, enjoy!

The delegate-oriented coder:

- You need a stove, a saucepan, water, a kitchen sink, a kitchen counter, a serving plate and three eggs
- Turn on the thing that can heat to maximum with the thing that was filled with stuff that can boil
- When the event where the result of boiling has been reach, add the items that can be cooked in the stuff that is hot enough to cook them
- After a while, set to 3 minutes, remove the stuff that was boiling and put it in the thing that can dispose of it
- For each item, in a container, roll it on the thing that is hard enough to crack the external stuff of the item. At the same time, be careful as a warning message and it has been set that it can be hot.
- In the event that the item is cracked enough, remove the outer thing completely and put the item in something that can be used to serve for a meal
- In the event that that everything is done, Voilà and at the same time, Enjoy!
- When the items are cooked, turn off the heat source

Which one are you?

Patrick Balleux

Wednesday, November 5, 2014

Love iOS, Android? Why not Ubuntu?

With the release of each iOS/Android version, users around the world will get the upgrading fever as soon as they hear the news. Some will even install the beta version to get the latest and greatest before everyone else...

How come it's not the same for Windows? Sure, there are a few enthusiasts around the world who will go the extra mile to get their hands on the beta version, but it's far from a general worldwide phenomenon.

Basically, some won't want to upgrade. Most will wait to buy a new PC. Others will download an illegal copy, taking the risk of exposing their personal stuff to the "World Wild Web"...

As those Windows users are probably also iOS and Android users, they should crave for the next Windows... And this is not the case.

Assuming that Windows users were able to adapt to the new environments proposed by iOS and Android, could they consider the fact that an alternative to Windows would be as useful and fun on their PC? Have they heard about Ubuntu (and friends)?

They will hack and crack MS Office to get it free, they will install many tools to get Windows more useful, they will fight against viruses and adwares and spywares with the latest anti-virus available. Managing a Windows PC does require a lot of personal time.

With iOS or Android, you simply do nothing. Load it up, upgrade all your apps from the store. Get free OS upgrades when available and enjoy your device without thinking about it. What if I would tell you that you can get the same experience with Ubuntu?

Don't believe me? Try it out for yourself as you can download Ubuntu for free (

Nothing illegal here. It's free simply because it is open source stuff.

Don't like Ubuntu? Try out one of its derivatives like Mint or Kubuntu. The choice is yours.

Maybe it's time to start using your computer instead of managing it. Get Ubuntu!

Thursday, October 30, 2014

Making movies for fun!

Last week-end, the kids and I decided to make a movie.  Not just any kind of movie, a "for-real" movie.

I used what was available to record movie shots and I got quite a good result for an amateur.

  • Asus Memo FHD 10 tablet (Most used for recording, Android)
  • iPhone 6 (for special shots and effects)
  • Macbook (2009) for creating the main video with iMovie
  • iPad 4 for adding music and sound effects with iMovie
I could have used only to Macbook to stitch together all the shots and apply effects but since the kids were eager to see the results, I finished with the iPad in the living room while the kids were watching the result on the main TV (with the Apple TV Airplay mirroring).

It was really fun to create and kids are already planning a sequel...  

Magic Fight: The Trailer

Magic Fight: The Movie

No kids were harmed during the shooting of this movie...  Don't worry, it was just for fun.


Thursday, October 23, 2014

Free music on Google Play!

Android and Google friends, rejoice as Google is offering free music to download.

Simply open your Google Play Store and look for the free albums and free tunes.

Tuesday, October 21, 2014

ScreenStudio 1.4.0 is available

I know, it's been a while since the last version ScreenStudio.  Don't worry, I just released a new version (1.4.0).

A single new feature:  Record/Stream only your webcam

You can now record only your webcam by selecting the Screen source "None" and a Webcam from the available list.

The overlay will be applied over your webcam instead of your desktop.

An easy and quick way to record your vlogs.

Get it at

Monday, October 20, 2014

Playing music over Bluetooth in your car

I own a Kia a Rondo 2012 and I can connect my iPhone to the sound system using Bluetooth. It does work great to take a phone call but I've been struggling to play my music on my car radio over the Bluetooth connection.

Sometimes it would work by activating Siri and then pressing Play right after cancelling Siri. It was a real disappointment as my iPhone was seeing the bluetooth connection but nothing was coming out of my car radio.

That is until tonight. I finally figured it out. The issue was not my phone but my car radio. In the sound settings, there is an option to turn "On" the "BT MP3". For some reasons, it was turned off.

After activating the setting, I just start my music on my iPhone and it works as it should have been from the start.

If you are facing the same issue where you can't play your music on your car radio over a Bluetooth connection, just have a look in your car audio settings (Balance, Bass, Treble). You may have to enable Bluetooth MP3.

Patrick Balleux

Sunday, October 19, 2014

10 questions before creating an app

Creating softwares is great. It's an art, it's a gift, it's tough.

If you have an idea in mind about creating an app, here's 10 questions that you should ask yourself before spending hours and hours on your new project:

1- Does it already exists?

It's not about reinventing the wheel or not. Have a look. Do some research. Find what has been already done. Can you make it better? Can you offer something valuable not found in other solutions?

2- Who will use it?

Who are your users? Knowing your target audience will help you define your app for your users, not for your own glory.

3- What technology should be used?

Any software is bound by the technology used. If you are planning on a mobile app, a webapp or a native software, the required technology will be crucial.

4- How much free time do you have?

You may start coding on one evening, working on your project for many hours. What about next week? Next month? Plan ahead and make sure that you will have dedicated time to your project. Many softwares are started, never to be completed...

5- Do you need a team?

Can you handle the work on your own? If you're planning on creating the next Facebook or Twitter by yourself, it may not be enough. Make sure that you'll be able to handle the tasks. Otherwise, the developpement will last forever.

6- Are you good enough?

Thinking about it is one thing. Having the skills is another. Validate that you fully understand the technical challenges before embarking on this journey.

7- Do you have the means?

Coding is one thing. Will you need a website? A server? A domain name? Will you be able to financially support required components once the app is available on the market.

8- Are you ready to make some compromises?

Once your app is released into the wild, users will ask for features. Comments will pour in and you may be asked to change available features. Are you ready to meet the needs of your users or just your own?

9- Will you listen?

The end-user may be harsh sometime. Keep in mind that he is your customer and will provide your with great insights if you listen carefully.

10- Are you ready to support it?

Think about support. Users will report issues and if they have paid a fee to use your app, they are entitled to get fixes. Sometime, you will spend more time fixing bugs then releasing new features. Don't think that once released, you can just sit and wait on money to pour in.

All of that can be summarized as planning ahead...