Just the other week in one of my university Comp. Sci. classes I was asked to use a supplied Linked List to create a Concordance from standard input (in C I might add). The problem wasn’t necessarily hard, in fact, it was simple enough some friends and I realized it was a great Ruby one-liner candidate; Sure enough this was the result after no more than a minute of jabbering:
hash = Hash.new(0); str.split.each { |m| hash[m] += 1}
Well thats all fine and dandy… A plain old Ruby one-liner. My friend Stef, however, suggested this close alternative:
Well as GSoC has come to an end and my interests have moved on. I will be repurposing the blog as a more code/personal-centric blog (it is, THE, hammer of code). If your GSoC RSS keeps nagging you with my annoying posts give me a shout telling me where I’m getting to you from; I’ll remove myself from that feed aggregator.
We’re planning to release a version of the Thousand Parsec tpclient-pywx client soon with the new single player wizard. Support for single player mode is also coming in tpserver-cpp and (hopefully) a couple of the AI clients. The target date for the first candidate is October 19.
I’ve significantly updated the Gentoo overlay for Thousand Parsec recently, stabilizing most of the release ebuilds and adding ebuilds that grab the latest Git versions. Among other things, this means you can grab the as-yet unreleased tpserver-cpp and tpadmin-cpp combo implementing the new administration protocol!
After about a month’s break (vacation to BC, followed by a week buried in books, followed by ICDSC), I’m back to both school and Thousand Parsec development.
I’ll be moving to a new host over the next few hours. If you happen to hit up the site before then be warned; I’ll be back soon, but I can’t guarantee things will be up and running right away.
I’ve posted a new Windows build, and am currently trying to get the client to work fully with the python-ogre deb on Ubuntu. As expected, getting python-ogre to work on Mac is quite a chore, I’m almost there, got everything compiled but running the demos gives me a “wrapper” error, and I’ll probably have to understand how the code generation in python-ogre works to figure it out.
Well, contrary to how my current weekly post-count must look, I am still alive. Where I last left off I had just finished up the official part of my work on thousand parsec. Since then I travelled a few times, to a family member’s cabin in Gimli, MB, and into Winnipeg while my wife did some professional development for work.
Well, contrary to how my current weekly post-count must look, I am still alive. Where I last left off I had just finished up the official part of my work on thousand parsec. Since then I travelled a few times, to a family member’s cabin in Gimli, MB, and into Winnipeg while my wife did some professional development for work.
Wow. I’ve been way too busy this past week. Classes started and the workload managed to pile on way too fast. I still haven’t even gotten some of my books. Thankfully, most of Dronesec was already done for the deadline on August 18. I’ve managed to do a couple of things in the short amounts of free time I had but not nearly as much as I would like. I managed to get tpserver-py on windows to work which I hope to put on a full How-To article on the TP wiki tonight or tomorrow if time permits.
I used epydoc on tpserver-py and I found that I need to find a more standard format for the docstrings and to fill it out for a lot more documentation. I’ll be slowly working on that this week as my time permits. I do however think that finding a good standard form for the docstrings would be a good idea to make sure that at least most of the information needed is there.
Its the second to last week and most of the touch ups and documentation are on their way. Unfortunately, classes began this week and it has kept me much busier than I hoped. However, dronesec and tpserver-py are both coming along nicely and windows operability has been achieved!
This week I: