|
|
Monday, December 19, 2011 |
LibWowAPI 1.0.2
Posted: 2:45:00 PM
|
So leave it to Blizzard. After months of no updates and me procrastinating in releasing an updated version of the API, it took them only 24 hours to add a new recipe lookup.
Well, I'm not procrastinating this time. Check out LibWowAPI in all of its 1.0.2 glory, with a shiny new RecipeLookup class.Labels: Coding, Gaming, LibWowAPI, World of Warcraft
|
Sunday, December 18, 2011 |
jQuery-Default-Button 1.2
Posted: 1:29:00 AM
|
I have committed version 1.2 of my jQuery Default Button plugin to Github just now. This update addresses two issues.
First, I wasn't returning the object, meaning you couldn't do jQuery style chaining with it. Now you can.
The second issue was more obscure, and I probably spent about 2 hours trying to figure this out on a project I've been working on. I am also using the jQuery Tiny Watermark plugin which displays a watermark in an input field when it doesn't have focus. The problem I was running into was that fields that used this watermark would stop responding to the enter key after a while.
It took me a while to figure out the problem. The watermark works by replacing the input boxes every time focus is gained or lost, and every time you replace the input box, it loses its events.
The solution was to let the event bubble up to the containing DIV, check to see if the element causing the event was an INPUT element, and then firing the click event on the target element. Not only does this resolve my problem, but it has the added benefit of using less memory because there's one event handler per form, not one event handler per INPUT on the form.Labels: Coding, jQuery Default Button
|
Wednesday, December 14, 2011 |
An excuse
Posted: 11:57:00 AM
|
This is the 400th post I've published to this blog since starting it almost 7 years ago. If you told me back in 2005 that I'd make this many posts before the blog became yet another side project I'd stop working on, I'd probably not believe it.
Anyway, the purpose for this post isn't to talk about this being the 400th post, it's about the excuse I'm making to write this. Which is, namely, this:
No, not the Chick-Fil-A sweet tea glass. I'm talking about my new 11" MacBook Air, appropriately named DarkSide.
I've been wanting to get a Mac for a while, but never really knew if I wanted a laptop or a desktop. Well, truth be told, I have no more room for another desktop, so the laptop was a slam dunk.
I got it at the beginning of December, and since then I think I've used this thing more than I've used any of my other iDevices. I moved my PHP/MySQL development off of Ox, my main desktop computer, onto this thing and haven't looked back. PHPStrom works just as well on this thing, and being able to use Macports to install Apache, PHP, and MySQL was a breeze.
Despite being a tiny thing - this is the smallest laptop I've owned - this thing's got all the power I need. RockMelt installed and picked up my settings from my Windows machines seemlessly, Grooveshark still plays all the music I like, and I even moved my Ventrilo client off of my web server and on to this thing.
DarkSide came with GarageBand, which piques my inner musician's interest, and getting an early Christmas present of a KeyStudio 49 certainly helps. I've already rearranged some of the spare room to have a little music space away from the rest of the noisy computers and servers, and at some point I'd love to get Reason with Balance to get into a familiar music editing environment.
On top of that, I can unplug this and use it anywhere with a wireless connection. Now, I've had Windows laptops in the past, and I've not even touched them unless we're going on long trips. This thing is almost a companion, I take it just about everywhere, and I use it when I do take it.
The only down side is that there is no real .NET development environment for the Mac, which means that for most of my personal projects I still have to sit at the desktop. I'd love to remedy that at some point, but that may not even be possible. If I had that, though, I wouldn't need to sit at my desktop ever again. Except to play WoW and Diablo III. The D3 Beta's awesome, by the way.
I've even thought about using DarkSide to expand this blog to include some video blogging every once in a while. We'll see how that works out. In any case, I think DarkSide works out as a pretty good excuse to go with post number 400.Labels: Life, Mac
|
LibWowAPI 1.0.1 - Now on Github!
Posted: 11:25:00 AM
|
Today, I released LibWowAPI on Github as part of my continuing effort to move my open source projects off of the roncli.com SVN and on to Github.
With this move, I upgraded the library to version 1.0.1. There are a ton of changes packed into this little version, so many that I debated upping the minor version number instead of the revision number, but in the end I didn't feel that the library's underlying logic changed significantly enough to warrant it.
The biggest change is the removal of the Json.NET dependency. While I like the simplicity of the Json.NET library and its ability to easily manipulate data using LINQ, the overhead was too much for a public project like LibWowAPI, so I switched to using System.Runtime.Serialization.Json instead. This gives the library the advantage of now being self-contained without having to worry about adding dependencies. I will continue to use Json.NET in some of my personal projects, but there is no need for me to include it with this library.
I've also updated the library with many of the changes to the Blizzard WoW API over the past 4 months, including an equipped item's transmogrified property, pet talents, and Portuguese language support.
Several bugs have been fixed as well, removing some annoying errors that occur when Blizzard throws a 500. The IsModifiedSince stuff works now as well, no longer crashing when something hasn't been modified.
Overall, I'm pretty happy with the state of the library. My only wish is that I could have done this in stages, as some of the API data is a couple of months old. Unfortunately, my free time has been limited by a much bigger project, so the fact that I was able to put this out at all is a big win.Labels: Coding, Gaming, LibWowAPI, World of Warcraft
|
Tuesday, December 06, 2011 |
An experiment in GitHub
Posted: 5:08:00 PM
|
Just a small note that I'm beginning porting some of my projects over to GitHub, starting with the smallest ones first. Such as my jQuery Default Button plugin, now on version 1.1.
The goal is to get my open source stuff out in the open, hopefully getting it some more visibility. I know that default button functionality is one that many try to conquer, and having it sit doing nothing on my web server isn't exactly a great way to get my code out there in the open.Labels: Coding, GitHub, jQuery Default Button
|
|