Coca-Cola and Pepsi 2012

Comparison of messages by Coca-Cola’s Muhtar Kent and Pepsi’s Indra K. Nooyi in Annual Reports 2012.

cocacola_pepsi_2012

Posted in Visualization | Leave a comment

Top tweeters (DJIA) 10.6. – 16.6.2013

@Walmart, @Mcdonaldscorp, @Cocacola, @Hp and @Einexxonmobil are the top tweeters between 10.6. – 16.6.2013.

Continue reading

Posted in Visualization | Leave a comment

#SciFi 59/221

The entire Hwzeenn fleet seemed to hold their breath and wait for the command to attack.

The admiral raised his hand and watched how the Strangers stopped near the sun. His entire body was tense as he watched the enemy, and at the moment the cruisers stopped, he shouted the command.

Continue reading

Posted in Writing & Science Fiction | Leave a comment

Top tweeters (OMXH25) 10.6. – 16.6.2013

@Kemiragroup, @Nokia, @Kesko_oyj, @Sanoma and @Upm_news are the top tweeters between 10.6. – 16.6.2013.

Continue reading

Posted in Visualization | Leave a comment

CLENotes Dev Update #2

The development onf CLENotes v5 continues. I’ve done help-command and formatter that prettyprints CLENotes help to console. Formatter was quite easy to do using Xtend, which was a pleasant surprise.

I’ve done also the installation of Notes classes. It works so that when you execute the program, it checks whether or not Notes classes are in classpath. If not, CLENotes checks the default directories of Notes for location of Notes.jar and if it’s not found from the default location, it asks the location from the user. Then the Notes classes are extracted from jar-file to CLENotes classes-directory and they’re found the next time CLENotes is executed. This kind of installation should help users to get started more quickly with CLENotes.

I’ve started porting CLENotes commands from v4 to v5. So far pretty straight-forward translation work from Jython to Xtend.

Xtend is fulfilling it’s promise that I hoped quite nicely. Some of the highlights along the learning curve:

  • Xtend advertises that it’s 100% Java compatible and it’s true. The Notes-classes are pure Java and there hasn’t been any problems calling Java from Xtend.
  • Xtend loops don’t have breaks (but one workaround is to put the loop in a method and then instead of break just return from the method).
  • Two things that I still forget sometimes are that variables require var (and final variables require val) and calling static methods is done using Class::Method instead of Class.Method.
  • I discovered that Xtend’s extension methods are an excellent feature. Highly recommended to use them whenever possible.
Posted in Programming | Leave a comment

AT&T and Verizon 2012

Comparison of messages by AT&T’s Randall Stephenson and Verizon’s Lowell McAdam in Annual Reports 2012.

att_verizon_2012

Posted in Visualization | Leave a comment

#SciFi 60/221

“NOW!” the admiral ordered.

Each of the four sections opened a hyperspace exit point to normal space, and as soon as they had a clear line of fire, they fired at the enemy.

Continue reading

Posted in Writing & Science Fiction | Leave a comment