I've been playing with Ruby lately, and am quite enjoying it.
It seems like a very clean language, and has a lot of good features going
for it as well, including testing frameworks such as
RSpec and
Cucumber. Being me, I wondered what a
Perl 6 version would look like. Also being me, I decided that the best way
to find out, would be to write it.
Not sure if you've ever needed to rename a hash key before, but I have.
I also noticed that it doesn't look like any of the languages I work with
have a native method/function to rename hash keys. So, I've taken the liberty
to write them. These are just for fun, and are released as public domain
code snippets, feel free to use them in whatever you want.
There are versions for Perl 6, Ruby, Perl 5 and Python. Enjoy!
Vigenère cipher in Perl 6 (2009-12-09) / sweet mother of dog
So, yesterday the
Perl 6 Advent Calendar had a challenge, to make
a decent version of the ancient Caesar Cipher.
Well, while looking into that, I found an article about the
Vigenère cipher and thought, hey, that could be interesting.
Further searches revealed that there was already a
Perl 5 module that had been designed to implement the cipher. I took it upon myself to
port Crypt::Vigenere to Perl 6, and think
the results
are pretty cool. It's
not a CPAN-ready module by any stretch, but it gives you an idea of what is
possible using Perl 6, right now, today.
Windows is the Future (2009-04-01) / linux is dead
Well, I have finally come to my senses. I am tired of all
of the quirks and issues with Linux, and am switching to Windows.
In the next few weeks, I'll be moving my websites onto a new server
running Windows Server 2008, and replacing Zimbra with Exchange.
It will be such a relief to not have to mess with command lines and
configuration files. Read the rest to find out more.
Reverse Polish Calculator in Perl 6 (2009-03-04) / From the Blogosphere
And now one for those who say Perl 6 isn't the coolest thing since sliced bread.
I've been reading the Perl blogosphere, and found a couple of posts that show off some
what happens when you convert an advanced Perl 5 program into Perl 6. The results are definitely
amazing.
Virii vs the real world (2009-02-12) / pedantics vs the real world
Geesh, the comments on
this article, make me
realize how pedantic (and pathetic) sounding a lot of my fellow geeks are.
Sorry to tell you this, but for the large majority of the non-geek world,
a virus is any form of malware that infects computers,
regardless of its fundamental nature. The average Joe would look at your
comments and say, "Worm? Trojan? Malware? I don't know what those are, but
stop sending me viruses in my e-mail!"
Perl 6, First Thoughts (2009-01-14) / @perl[6].kicks(:your<ass>)
So, for the last few months, I've been playing with Perl 6.
I know, it's not ready for production use yet, and probably won't be for
a while, but it's still fun to play with. This article isn't really an
introduction to Perl 6, nor an in depth review. It's more of my
feelings about it so far, and why I think Perl 6 rocks.
So, I've been reading a lot about people's complaints about XHTML 2.
I have one suggestion for most of them: If you don't like it, don't use it.
It's not like browsers are magically going to stop supporting older versions
of HTML and XHTML any time soon.
When designing websites, there are traditionally two completely separate
methods that are commonly used. We're going to look at those methods, and
look at why web design standards are important.
There are many groups out there that are really pushing their power to the
limits in order to abuse the abusers so to speak. What I'm talking about is
the Anti-Spam camp. Have I got your attention yet?
The entire political structure of the major nations of the world including the United States and Canada, is crumbling before us - things are falling apart fast, and the results could be disasterous. Oh well, the world's going to hell fast anyway, look at the recent political climate in the UK - oppression is coming soon. And with the nice new anti-drug law that is being pushed through into the UN, freedom of speech is on it's way out.
In a recent interview with a high school student I was asked to answer some questions about Internet security and my opinion on the rather controversial topic. The conclusions of that interview were not only relevant to a single audience, but to anyone effected by the issue of security in modern technology.