:w

Yes, that’s a VIM :w (not some new fangled creation), as in, I’m actually writing something here!

I haven’t written in three months, and haven’t committed any code in four…as I’ve been a bit distracted by a few things, notably:

  • That whole job thing. Turns out when you write code 8 – 10 hours a day it drains the coding life out of you. Am still working on overcoming my hate for coding past 8PM. I’m convinced that gedit/vim silently rearrange my code after 8PM so that it has more compilation errors, driving me to stop coding.
    • Perhaps it’s the immense rage caused by running Lotus Notes 5 (under Wine, no doubt!)
    • Perhaps it’s the fact that PHP likes to silently fail or cause strange errors?
  • Cycling season is finally here. Finally. Gotta love that good ‘ol mid-western weather for keeping me indoors for so long! Started riding 50 miles/week, then ramped up to 75/week, and then last week jumped right up to 145 in a week (which is hurting right now). Just shy of 500 miles for the year so far; not bad considering I’ve got another 10-12 weeks of good weather and 1,000 miles left toward my goal.
  • Being goofy. Yes, I’m a goof.
  • Kicking some serious ass in the IT department’s completely unofficial but incredibly serious(ish) mini golf tournament. It’s an intense sport I tell you.
  • The fact that bars in Chicago are open till 4 in the morning — enough said. This is simply trouble for a guy like me!
  • My truck has been in the shop more hours than I’ve driven it. I’m giving up — I am going to sell it; I don’t need it anymore!

I’ve been up to a few interesting things lately:

  • Setting up my own shiny new Linode to host vanstaveren.us stuff (websites, email). Exim + Dovecot makes for one heck of a good email server. I should probably write about Dovecot as it’s pretty swift, not too challenging to set up, and the LDA makes it even better. Cooperates much better than my old host’s IMAP server. Don’t ever consider 1and1 for any kind of hosting unless you like server load averages in the double digits, spiking up to 50+
    • Thanks Aaron for pointing me to Linode!
  • Trying, oh so hard, to make my Nokia 770 listen to a simple Ogg Vorbis stream (or even a file). No seriously, I think I’ve spent quite a few hours on this, and I can’t get it to work. I’m getting near ready to re-flash it and start over I’m so distraught. Isn’t Ogg Vorbis one of those things that Just Works on a modern Linux machine?
  • I’ve set up my own rsync mirroring system for Gentoo’s Portage tree. My Linode box (sam) sync’s every night, my server here at home sync’s from that, and my other three boxes (including my box at work, behind a firewall, over my VPN) sync from there. Think how much traffic Gentoo users could save their mirrors if they only had a similar setup!
  • I’m finally — yes, it’s true — starting to work on Banshee again, working on MTP stuff. I’m going to be traveling in a month and my goal by then is to be able to send tunes and playlists to my device with zero trouble.
  • I’m planning to go to GUADEC; this will be my first, and hopefully a lot of fun! Hopefully while there I can gather up a bit more motivation to get back to writing a bit more code :) I’ll also be visiting my job’s London office the following week. All in all it’ll be a sweet trip! If anyone is looking to split a room in a hotel, please drop me a message — I’m certainly looking for a roomate!
Posted in Uncategorized | Tagged , , , | Comments Off on :w

Banshee Alarm Plugin v0.2

Just as a quick update, Bertrand Lorentz has put together a second release of the alarm plugin, v0.2.  For those of you who love Banshee so much that you want to hear it first thing when you wake up in the morning, this plugin is for you!
We’re moving unofficial Banshee stuff like this to a Google Code project, at http://code.google.com/p/banshee-unofficial-plugins.  With the use of the fabulous svnsync tool provided by Subversion 1.4, I’ve migrated the entire repository (history included) that was on svn.banshee-project.org to the Google Code project.

If you are ever looking to start a Banshee plugin, or want to see some random hack plugins, check it out.  I’m also happy to give SVN access to anyone who wants to make a commit or add their own module.

Happy hacking!

Posted in Uncategorized | Tagged , | Comments Off on Banshee Alarm Plugin v0.2

Banshee MTP Guide Moved

Howdy folks,

The guide that used to be at http://tricky.vanstaveren.us/Projects/Open_Source/Banshee/MTP has now been moved to the Banshee wiki at http://www.banshee-project.org/Guide/DAPs/MTP.  All the subpages have been moved accordingly.  My site has all the pages set to forward to the Banshee site, so update your bookmarks now :)
MTP progress has been busy as of late and with the recent release of libgphoto2-sharp 2.3.0, I’ve seen quite a few people trying to get their MTP devices working with Banshee and I’ve also been busy writing a lot of code.  Hopefully in the next few days I can tie up a few things and commit my local changes which include playlist support – yes folks, full playlist support.  It’s still a bit buggy tho, so I need a few more days to hack at it :)

libgphoto2-2.3.1 was released this past weekend, be sure to grab it for optimal MTP use!  It has a new hack to increase initialization times by factors between 10 and 100 times because of sped up metadata reading.  Naturally, this is hella-good :)

Posted in Uncategorized | Tagged , , | 1 Comment

libgphoto2-sharp 2.3.0 released

After an age or two of waiting, pondering over licensing issues, and doing bits of maintenance here and there, the Mono/.NET bindings for libgphoto2 have now been released!

One can now play with libgphoto2 compatible devices out of a Mono application. Why is this important? Because Banshee likes DAP’s (Digital Audio Players), and uses this library to access MTP (Media Transfer Protocol) compatible devices. It brings us one step closer to having good, clean, easy-to-use MTP access on your open-source box.

If you have one of these MTP devices and want to know more about how to access your device with Banshee, read my guide!

A big thanks to Larry Ewing of the excellent F-Spot project for licensing the original copy of libgphoto2-sharp under the LGPL; without this, I’d be lost.

Posted in Uncategorized | Tagged , | 1 Comment

Banshee Alarm and Sleep Timer Plugin

So…it’s been a while since I’ve worked on this one, but I figure with Banshee 0.11.0 right around the corner, and plugins making their way into the portage tree, it’s time for a release!

So, without further adeiu, I give you banshee-alarm-plugin-0.1. This page will be the home of any further releases. You can also subscribe to the feed category alarm-plugin to hear about any updates or releases.

Cheers!

Posted in Uncategorized | Tagged , | Comments Off on Banshee Alarm and Sleep Timer Plugin

Everything’s back online :)

I’m here in Chicago, IL now, safe and sound. I chose RCN as my internet provider and so far, so good. sting.vanstaveren.us is back up (and now accessable thru port 80), so all should be good.

I’m happy to say that the new job is also going very well.

I’ll post pictures and more fun info someday…in the mean time, I’m just getting back to coding again, which is good :)

Posted in Uncategorized | Tagged , | Comments Off on Everything’s back online :)

I am moving! (Downtime for anything on sting.vanstaveren.us)

I will be moving starting today – Tuesday, August 29th – to Chicago, Illinois.  If you’re in Chicago and an open source hacker, drop me a note.
Being that I am moving, my computers move with me too.  Thus, anything that is referenced on my wiki to sting.vanstaveren.us will be DOWN for an indefinite amount of time.  It could be 48 hours.  It could be two weeks.  Who knows?  I don’t!  I haven’t even picked an ISP yet.

Speaking of which, if you know an excellent ISP in the Chicagoland area (currently looking at RCN, thanks gabaug), please drop me a comment.  Hopefully they’ll be able to get in and have it installed in a week.  Time will tell.
Stuff you might miss off sting (my webserver) is my subversion repository including lirc-sharp, lirc-dbus-relayer, and a host of other broken pieces of code for Banshee.  If you need any of this code, email me and I can (eventually) get you a snapshot.
Oh yeah, and you’ll miss me too, since I won’t be online!  You can always drop me an email.

Posted in Uncategorized | Tagged , | Comments Off on I am moving! (Downtime for anything on sting.vanstaveren.us)

Introducing lirc-sharp 0.0.9

So what’s lirc-sharp, anyway?

lirc-sharp is a set of Mono/.NET bindings for the LIRC Client Library.

LIRC is a piece of software that enables users to use infrared remotes with their computers, as well as use an infrared transmitter on a computer to communicate with other devices. One practical use is for making a media remote control, for controlling things like playback in music players and movie players that we often use when not sitting at the desktop.
This is a pre-release of what will be lirc-sharp 0.1.0…as of now I don’t plan to add any more features to it until post 0.1.0. Right now I’m chasing down some bugs in it and plan to smash it bit more here before I call it a 0.1.0 release. The API has changed quite a bit since I first published this module in my subversion repository and if you did try using it before, you’ll find that it makes a bit more sense now than it did.

So why am I writing this? lirc-sharp will enable any developer on a Mono/.NET language to very easily connect to the LIRC daemon, parse the lircrc config files, and be listening for commands. In just a few lines of code, one can be listening for specified LIRC commands!
I am developing this for an Mono application that will relay LIRC commands to D-Bus enabled applications; initial support will be for Banshee and Muine but it will be easy to add your own application. More to come on this!

As always, visit the project page for the full details, and a download link.
If you develop an application using these bindings, please contact me and let me know!

Posted in Uncategorized | Tagged , | Comments Off on Introducing lirc-sharp 0.0.9

NetworkManager and Gentoo

So, I’ve recently converted my laptop to Gentoo, and before I even had the base system merged in, I thought I should research NetworkManager. I was running Slackware 10.2 on the lappy, and I had never considered NetworkManager due to the fact that I’d probably have to hack at it until it wasn’t Slack anymore. The wonderful Google led me to various blogs of attempts (some working, some failing) and various mailing lists, usually of obscure issues with NetworkManager or dhcdbd not behaving. I also ran across Gentopia, hosted on the Gentoo Experimental project’s site. The Gentopia site itself isn’t anything much to look at…covered in spam and with tons of missing and outdated pages (makes me want to hook up with the developers and help set up some security). Regardless – the Gentopia overlay is there and it fine, so I went with it.

NM - Connected
When I finally got everything merged in and logged into my Gnome session, it took me some time to get things really rolling. After poking around, I learned that NetworkManager on Gentoo doesn’t just “take care” of everything and make all the existing network scripts obsolete (like I was thinking it might do) – it actually just detects devices and calls the proper /etc/init.d/net.eth* script to make it go. I didn’t realize this – but once I did, things started to roll!

NM - Disconnected
TIP #1: start your net.eth* scripts _after_ NetworkManager is loaded – this seems to make things work right for me. I fought NM up and down trying to just get it to grab a DHCP IP off my wired network and I couldn’t figure out why it wouldn’t. Turns out that dhcpcd was running for eth0 – and when NM requested an IP over the interface, naturally the interface went to shit and lost it’s IP.

NM - Wired NM - Wired, Idle

TIP #2: get your interfaces all working properly _without_ NM running. When I tried to get it to work with my wireless card (Cisco Aironet 350), it would recognize that I had a wireless card plugged in but would show no available networks and just scan all day. Stop the NM & dhcdbd services, and tinker with your /etc/conf.d/wireless config until your card is recognized automatically on plugging in and automatically associates correctly and grabs a DHCP IP. If your device isn’t working w/o NM, odds are low that it will work with NM. My biggest conflict is that my card seems to have some memory of an old network (University network) that I used to connect to and defaults to that ESSID. Thus, I have to override it in my /etc/conf.d/wireless.

NM - Wireless

NM - Menu
And some lovely command line output, for proof :)

NM - Wireless, ifconfig, iwconfig eth2 NM - Wired, ifconfig
So…I will probably post more here when I learn more about NM and how it works with Gentoo…but in the mean time, consider trying it out yourself Gentoo’ers!

NM - Wireless, Idle

….in unrelated news, it turns out that you can drag ‘n drop images from wordpress’ inline image uploader, but it’s a really bad idea. Firefox + WP allows it to happen, but the images all come up with broken links as they loose the site’s prefix. Turns out this isn’t a feature of the inline uploader, but just an “unhandled possible feature”. Argh.

Posted in Uncategorized | Tagged , , | Comments Off on NetworkManager and Gentoo

Banshee knows the words, too!

This morning I (very belatedly) committed a monster patch from David Schneider which extends the Wikipedia plugin to also be able to query autolyrics.com for the currently playing track. Building upon David’s awesome parsing backend, this makes it integrate well with Banshee. What does this mean for you? No more asking yourself, “What IS (insert favorite artist here) saying?!?!” The answer is a lot closer than you think.

It’s as easy as pie – just download from the Banshee subversion repository. Check out the Banshee Plugin Repository for how to get it!

Now what I’m really looking for is this – I need your feedback. The Wikipedia plugin now does more than just display wikipedia pages, it also does lyrics. Thus, it needs a new name. Anyone have any grand ideas? The winner with the best idea…I dont know…will get…voice on IRC for a day…or something.

Of course, the obligatory screenshot:
lyrics thumbnail

Posted in Uncategorized | Tagged | 1 Comment