Recently in projects Category

Amazon S3: I ran out of buckets

By Dusty on October 3, 2009 7:24 AM · No Comments
We use Amazon S3 for data backup for all of our servers.  Each individual server gets its own bucket in S3.  Actually, it gets two (-backups and -chunks).  Apparently there is a limit to the number of buckets you're allowed to have in S3.

So now the last server I added can't be backed up.  Greaaat.

I'm in the process of merging a few junk server backups into a single pair of buckets to see how it works.  If it works well, I'm just going to merge *all* of the servers into a single pair of buckets.  I don't like it, but I'm not sure I have much of a choice.  I don't want to stop using S3 for backup (super cheap, easy, and reliable).

SIRIUS Player for Firefox

By Dusty on August 3, 2009 3:52 AM · 3 Comments
After years of developing the SIRIUS Player for Firefox addon, I've decided that the job is just too much for one guy.  I've completely opened up the whole project and am looking for people to help out.  I don't mean just programming help; I need help with anything at all.  For example, I've got a guy that has "Chief Beta Tester" as his self-appointed title.  And another extremely helpful guy is helping me with marketing efforts.

Two people have already forked the git repository on Github.

I need help with graphics and user interface enhancements.  I need help with adding new features.  I need help with fixing bugs.  I need help with anything you can help with.

Website: http://siriusplayer.siriusdev.org/

Wiki: http://wiki.siriusplayer.dustywilson.com/

And there are lots of other links on the website.  We have a Twitter feed, a Facebook group, an email discussion group, a github repository, and much more.  Check out the links on the sidebar on the website and read through the welcome page on the wiki.

Get newest versions of Hammerfall RPG Helper from this site:

http://userscripts.org/scripts/show/47625

For help, comments, etc, post in the message board on that site as well.

Hammerfall RPG Helper

By Dusty on April 26, 2009 5:55 AM · No Comments
hammerfall_rpg_helper.user.js

This is a Hammerfall RPG Helper script for Greasemonkey.  If you don't use the "helper" parts, it at least makes the interface look better.  Give it a shot.  Let me know your thoughts, likes, dislikes, ideas, etc.

The above script is for Greasemonkey for Firefox 3.  I don't promise it works in anything other than that.  Only tested in Linux.  It should work in everything else, in theory.  It's intended for the Facebook users, but it might work elsewhere (with path adjustments).

I wrote every line of it.  It's also messy.  It's a "get myself back into JavaScript" project.  It started as "I'm irritated that I have to farm this crap" and ended up where it is now.

To change the rate of stamina/energy/health gain, click on the "+1 in 123 secs" thing.  It doesn't set it automatically.  I haven't figured out what the rate is based on yet.

To initialize the inventory or if it goes out of sync for some reason, just go to your inventory page and it'll fix itself.  If you buy something at a store, the script doesn't track it automatically (yet).  Just go to your inventory to sync it back up.

When using autoplay on a job that requires something that starts with a number, it'll complain that it doesn't have enough stamina.  That's because the number that starts the item name mashes into the stamina.  For example "10 point catch" with a requirement of 3 stamina would look like "310 stamina" to the script.  I'll fix it sometime.  It's not big enough of a deal to fix right away.  Just about everything else seems to work fine.

Take a look at the area around line 604 and 626.  Those define some monsters and food/potion items.  These things define your auto-fight.  If you don't want any auto-fight, remove all of the "jobReq" and "invInfo" items in that area.  If you want to add new ones, just use the same format.

If you're really into scripting, take a look at the messy autoPlay area around line 160 through line 440.  You can programmatically assign the autoPlay feature instead of using the buttons in the UI.  You can see that you can do some good stuff.  If you come up with anything cool, let me know.  If you're not a programmer, you won't want to mess with that area.

Check back here for updates (http://www.dustywilson.com/hammerfall/).  There is no auto-update feature in the script.

LeafBridge has SMS

By Dusty on March 7, 2009 11:00 AM · No Comments
I've figured out how to do incoming and outgoing SMS messaging.  One of the big features of LeafBridge is the alert system.  It is important to be able to send alerts to users of whatever it is that they are monitoring.  Sending proper SMS messages (not just email-to-SMS gateway) is the best way to go for this.

The user can reply to the alert with some kind of action.  For example, if they were monitoring the fragmentation level on a specific drive on a specific computer, they will get a text message when the fragmentation goes over a certain level.  They can respond with a text message telling LeafBridge to initiate a defrag of that drive.  The user can even schedule it (via SMS) to initiate the defrag at a specific time or when the computer has been idle long enough.

It's just one more powerful tool that is built into LeafBridge.

Linux::APT 0.1 (new)

By Dusty on February 25, 2009 4:30 AM · No Comments
I created a new module and uploaded it to the CPAN.  It allows for Perl-based access to Debian's APT package management tools.  It's a bit like Windows Update for Debian-based Linux distributions.  In theory it should work for other Linux distros that have had APT added on non-standardly, though I haven't tested that yet.

Right now it lets you list the packages to upgrade, install/upgrade packages, and remove/purge packages.  I plan to add searching (for installable packages) and whatever other functions that people request.

You should find it on the CPAN sometime today, when it's finally indexed, distributed, and made available on the CPAN site.

Debian has some modules that basically do the same thing, but they're complicated and aren't typically available for those that have installed APT on non-Debian distros.  This module is easy to use and doesn't have any dependencies other than a Linux distro that can use APT itself.  Plus it's pure-perl, so it doesn't even need compiled.  This means that as long as the distro can use APT, it shouldn't matter what environment or processor it uses.
So, I've got several people using SharedPass on a regular basis now.  They seem to be happy with it.  Other than the fact that it isn't prettified yet, it's ready for full use.  Feel free to use it!

You can store your passwords with confidence in SharedPass.  All fields marked "Encrypt" are encrypted and are completely unavailable to anyone, even me.  When you create your account, you choose the level of encryption.  The default setting is more than sufficient, but even the lowest setting is very secure.

I invite you to try it out.  I want to know what you think of it.  If you have feature requests, let me know!  I'd love to enhance it in whatever ways would make it better.

http://sharedpass.com/  (redirects to an SSL'd site, of course)

Win32::WindowsUpdate 0.3 (updated)

By Dusty on February 18, 2009 7:43 PM · No Comments
I've uploaded Win32::WindowsUpdate to the CPAN.  I uploaded 0.2 as well, but it isn't nearly as good as 0.3, so I skipped that announcement.

0.2 used VBScript inside of Perl to install the updates, but 0.3 just uses Perl.  Much better.

Enjoy.

Net::SloppyXMPP 0.3 (updated)

By Dusty on February 15, 2009 6:38 PM · No Comments
http://search.cpan.org/~WILSOND/Net-SloppyXMPP/lib/Net/SloppyXMPP.pm

Bug fix.  There was a problem with the chunking and encoding of the payload within the message function.  It wouldn't properly send large messages (many thousand characters).  Should be fixed now.  It works for me anyway.

Net::SloppyXMPP 0.2 (updated)

By Dusty on February 14, 2009 5:18 PM · No Comments
http://search.cpan.org/~WILSOND/Net-SloppyXMPP/lib/Net/SloppyXMPP.pm

I've updated my Net::SloppyXMPP module.  I added the very necessary features to send messages and to subscribe to incoming messages.  Not very useful without those.

I also fixed a dependency bug that caused the module to die if you specified that you didn't want to use SRV record resolution.

As always, give it a few hours before you start looking for it on the CPAN.