Posted by David | Posted in Programming | Posted on 01-12-2009
0
I don’t know about you, but I feel that Perl is a great scripting language. I have used it quite a bit in the past and it always helped me accomplish what I wanted to accomplish. I must also admit that Python now has my favor and one of the reason is the simpler syntax and object manipulation.
To illustrate my point regarding Perl syntax idiosyncrasies, here is an article describing some “secret” Perl operators that I have never heard of before:
The Spaceship Operator
The Eskimo Greeting Operator
The Goatse Operator
The Turtle Operator
The Inchworm Operator
The Inchworm-On-A-Stick Operator
The Spacestation Operator
The Venus Operator
Have you used those operators? What is your favorite scripting language? Leave a note in the comments.
Posted by David | Posted in Programming | Posted on 27-11-2009
0
Tonight, I found a programming puzzle while reading the blog “It’s common sense, stupid“. I solved the puzzle, but I don’t know what to do next. Do you know what I am supposed to do once the puzzle is solved?
The solution to the puzzle is the following C# program. The puzzle is a simple cryptogram where the jey is ‘unittest’.
using System;
namespace arg
{
class args
{
static string arg = "GNSX WMKY BABW PIESL AAMB THPIJVUFM";
static string argz = "u" + "nittest";
static void Main(params string[] args)
{
if (args.Length == 0) Main(arg, argz);
else
{
if (args[0] == "") return;
if (args[1] == "") args[1] = argz;
var argu = args[0][0];
var argg = 65;
int argp = argu - argg;
int argss = args[1][0] - 97;
if (Char.IsLetter(argu)) argp = (argp - argss + 26) % 26;
Console.Write((char)(argp + argg));
Main(args[0].Substring(1),args[1].Substring(1));
}
}
}
}
When you run this program with no arguments, you get the following string: “MAKE SURE THIS WORKS WITH LOWERCASE”. Ironically, the program does not process strings contains lowercase.
I used cryptanalysis and a bit of python script to solve the puzzle. This was entertaining.
As a manager you’ve been taught, either by your peers, or through hard knocks, to avoid micromanaging your teams. You quickly learn that micromanagement only alienate people.
Anyway, I have noticed that delegation appears to be a difficult concept for inexperienced managers that I had the opportunity to mentor. Delegation does not come naturally. Newly appointed supervisors often think “If you want something done, do it yourself.”
Delegation of authority is an investment and you need patience and time to see your investment come to fruition. It may take a few weeks, a few months, or a year but your patience will be rewarded in the end.
This is the theme of Jurgen Appelo’s humorous article.
If you are working with teams distributed across multiple timezones, you know how difficult it can be to operate efficiently at times. Over the years, you surely have experimented and tried out different patterns or processes that work in your context.
I have been working for ten years with teams that were in timezones seven to thirteen hours away from my own and we have experimented quite a bit. This is fun and frustrating at the same time.
J.D. Meiers exposes some patterns and practices that will work with distributed teams. I have found that those patterns are not appropriate in every circumstances but they are an excellent summary that will prevent you from reinventing the wheel
Posted by David | Posted in Computer Science | Posted on 23-11-2009
0
Get rid of your keyboard, screen, and mouse. Project an interface wherever you wish and interact with the Digital world in new ways. There are some of the things Pranav Mistry is describing in the video embedded below.
How fast do you think we will reach a point when the user interface we are accustomed two will be fully replaced by a new paradigm?