More Perl 6 learnings must be had! I'm behind on my posts and I want to quickly catch up to where the module is at, so that I can then make the module even better! But what is a Module, in Perl 6? Perl 5 programmers will find it's a pretty similar process, but let's look over it and also see how classes work. Yes, there's a class keyword in Perl 6 and it's built in, no Moose required!!doctype>
29 March 2016
22 February 2016
Oh hi! Just a short post for the moment because I am somewhat overwhelmed with things. But it can easily turn into some sort of multi-part thing. We're looking at more Perl 6 fun.
It all started when I was looking through Perl 6 docs, pondering what should be my second thing to learn about and write. I came across the metaoperators, which is a treasure trove of rather fantastic things that you can do in other languages just fine but tend to need tedious, repetitive looping constructs. Perl 6? Baked into the language, of course.!doctype>
31 December 2015
This Christmas, the impossible happened. Perl 6 is officially released.
Since its inception, a lot has occurred. The 2001 September 11th attacks on the U.S. and subsequent wars in Afghanistan and Iraq. Apple makes the iPod. There's a new Pope. New Fallout games. We've gone from PHP 4 to PHP 7, skipping 6 because they couldn't get Unicode working right. Apple made a phone, and it turned out to be quite popular. Python 3 was released. Apple made a tablet. The end of the Space Shuttle program. Duke Nukem Forever got released after only 14 years of development. We've landed rovers on Mars, and are making self-driving cars. Apple made a watch. We had two more Star Wars prequels that sucked, and an Episode VII that was actually pretty good.
And now we have Perl 6.
Understand that it is a completely new language rather than an incremental version upgrade. It's still called Perl because it's still in the spirit of doing things the Perl way, and it's got a shiny new version number because it is shiny and new and modern, but it is by no means intended to be backwards compatible with previous versions (except via magic). It is a clean break. And I'm excited to start learning it.!doctype>
28 May 2015
I guess I was one of the last hangers-on to SourceForge - when GitHub came out it was the latest trendy thing and anyone who's anyone uses GitHub for their work - except to be completely honest, I kinda find Git to be obtuse and annoying. DVCS is not simply 'better' than a centralised VCS, especially not when everyone using Git seems to be reliant on GitHub being the centre of their world anyway! But rants about version control systems can wait until a later post. SourceForge's behaviour is now quite belligerent. I think I should dig up some of my old (abandoned-for-now) SF.net projects and move them elsewhere.
But where? Well, there's an alternative to GitHub that is really quite shiny - bitbucket.org. It's got an excellent web UI, I've used it for a few of my little blog-post scripts already, and more importantly it supports Mercurial as well as Git. I haven't used Mercurial a whole lot yet, but it feels a lot nicer than Git. Everything in the interface is just laid out a lot more sensibly, and that's important when you have something complex like a revision control system. You don't wanna take Git's approach of "Well, if you just learn all the guts and how the internal file structures are laid out everything will make more sense".
Oh dear, this is heading into rant territory. Let's leave it at this. Flee SourceForge now, it's a sinking ship.
26 April 2015
27 August 2014
Have you looked at your homedir lately? Cluttered with dotfiles, isn't it? If you don't know what a 'dotfile' is, look at your home files with
ls ~/... now look again with
ls -a ~/. Quite a difference, right? In theory we have some modern XDG standards that will take a lot of that clutter and put them in
~/.cachebut that requires the programs to adhere to the XDG spec. Since we're in The Year Of The Linux Desktop we're actually in an exciting time where we are seeing a lot of developers making software (including games!) for Linux without actually being in the ecosystem from the start. So a lot of them aren't necessarily using Linux day-to-day. They aren't aware of how your homedir can get littered with crap from software that doesn't understand that
~/is not the same as "My Documents" on other operating systems.
09 August 2014
|It's been a while since we had a screenshot of anything. Let's have a screenshot of Cantata. Look how pretty it is!|
So anyway... most recently I was setting it up on a machine I've recommissioned to hold all my files. And I ran into a bit of trouble. From my old nemesis, PulseAudio.
31 July 2014
In my case, the
vigil.plprogram I wrote in Integrating Integrity stumbled on some directories with Unicode in their names. It's a good thing I noticed it, because I'd started to rely on my little program more and more recently. Let's figure out what happened and fix the bug.