Barack Obama wants you to learn to code.

So if you haven’t seen it, here’s the president of the United States of America asking his citizens to learn to code:

This is part of a campaign to get people to code.

In case you didn’t know it already, being a programmer is awesome, and this is the best time to be a programmer.

Learn to code from your living room, in whatever country you are, in Harvard,  or learn a programming language the hard way. I mean do that, but only if you like programming, don’t do it for the money, do it for the love of it.

 

This post is not about programming at all (or maybe)

Invictus by William Ernest Henley

Out of the night that covers me,
Black as the pit from pole to pole,
I thank whatever gods may be
For my unconquerable soul.

In the fell clutch of circumstance
I have not winced nor cried aloud.
Under the bludgeonings of chance
My head is bloody, but unbowed.

Beyond this place of wrath and tears
Looms but the horror of the shade,
And yet the menace of the years
Finds and shall find me unafraid.

It matters not how strait the gate,
How charged with punishments the scroll,
I am the master of my fate:
I am the captain of my soul.

I love that poem and I read it thanks to ZEN PENCILSI highly recommend surfing that page, the dude is awesome, that poem and other poems/quotes he illustrates help me to find my motivation.

 

The SUDO Principle, the Flappy Bird and WhatsApp

SUDO Principle

  • Start where you are.
  • Use what you have.
  • Do what you can.

That’s it. Excellent advice for people wanting to do a software project, and not knowing where to begin. Just start now, use whatever resources you have, and do what you can.

It’s actually a quote from Arthur Ashe, a former world number 1 professional tennis player.

About the birds and the bees err WhatsApp

Today is the best day to be a developer.

Do you need evidence?.

  • Flappy Bird: let’s just said that the guy developed the game in about three days, and was winning about 50k a day.
  • WhatsApp: a startup of 55 employees that is worth more than United Continental, American Airlines, Ralph Lauren, Marriot International, Campbell Soup, Coach, and Tyson Foods. Bought by Facebook for $19 billions.
  • Also, Facebook, and of course there are other examples.
  • There’s also the fact that software engineer was the best job in 2012.

Have you heard about William Kamkwamba, the dude made a windmill that powered a few electric appliances, with with stuff he collected from a local scrapyard, with the knowledge he obtained reading books, from a public library, in a language he didnt’t understand!. He wanted to finish school but his family was too poor to pay for the school tuition. Did I mention that he was 14 years old when he built that?.

So this awesome, awesome dude, had to do all those things in order to created something great.

We programmers only need a computer and an internet connection. So, what are we waiting for?.

JCInput: Now with images

For past posts about JCInput go to:

It’s been almost five months since I last did some changes to JCInput, but now you can use images for the joystick.

joystick image

How beautiful is that? (not so much really…)

Using it is easy:

        imageJoystick = [[JCImageJoystick alloc]initWithJoystickImage:(@"redStick.png") baseImage:@"stickbase.png"];
        [imageJoystick setPosition:CGPointMake(80, 200)];
        [self addChild:imageJoystick];

Next step, image buttons, and of course fixing the turbo button, that sometimes keeps firing.

So, if you find yourself in the need for a joystick and buttons for your iOS game, why not JCInput?.  

Learn Python The Sexy Way

This is absolutely how you should learn Python, the sexy way:

Cyanide and Happiness, a daily webcomic
Cyanide & Happiness @ Explosm.net

In a more serious tone, I been reading http://learnpythonthehardway.org, because I’m planning to add it to my good old tool kit.

It is written by great programmer (and twin brother of Edward Norton) Zed A. Shaw.

Am I right or am I right?.

It’s a very fun reading. One of the things I liked the most was the Advice from an Old Programmer:

Which programming language you learn and use doesn’t matter. Do not get sucked into the religion surrounding programming languages as that will only blind you to their true purpose of being your tool for doing interesting things.

Programming as an intellectual activity is the only art form that allows you to create interactive art. You can create projects that other people can play with, and you can talk to them indirectly. No other art form is quite this interactive. Movies flow to the audience in one direction. Paintings do not move. Code goes both ways.

Excellent excellent, great stuff!, but then, I would be lying if I said that the next paragraphs didn’t hurt me a little:

Programming as a profession is only moderately interesting. It can be a good job, but you could make about the same money and be happier running a fast food joint. You’re much better off using code as your secret weapon in another profession.

People who can code in the world of technology companies are a dime a dozen and get no respect. People who can code in biology, medicine, government, sociology, physics, history, and mathematics are respected and can do amazing things to advance those disciplines.

But what if your profession is already coding?, what if you are getting no respect?, then, my humble advice is, actually, Did I ever tell you about Ashton?.

 

 

So much to do, and so little time

I want to do so much stuff, and I will, I hope, eventually.

I seriously need to stop whining and start acting!, so ok, I have a new repository, math-out-basic, It’s just an android app, to practice basic math, you can go ahead and check it out, it’s not so much interesiting or fun (or finished), but it’s something I did in a couple of hours because I felt bad about having to use a calculator to do basic math.

Perhaps the only thing that I liked about it is this class, that builds a custom Pop Up, and also manages the Shared Preferences. That piece of code is actually from a project I did earlier.

Right now I’m working in a new project in the place where I get paid to code, and it seems interesting and fun, and part of it is login to Facebook and getting information about the account, so I will probably do something fun with that in my own time.

Also four people have starred one of my projects, I’m talking about JCInput, I hope they find it useful. 

So that’s it for now!.