Archive

Posts Tagged ‘Programming’

Introducing Grease

August 28th, 2010

Something that has really bothered me about software music players out there is just how poor their performance is.  Whether it’s iTunes or Songbird or even Foobar, it seems like I would wait forever for them to start up and run through all the things they need to do.  So I decided to do something about it.  I built my own music player that I’ve been calling “Grease”.

As I was thinking about this, I thought about how exactly I use these mp3 players.  Usually, I just pull them up and have them play random songs from my library.

I decided that this is *all* Grease would do.  Embracing the Unix philosophy of “Do one thing well” as inspired by onethingwell I set to work.

After a few hours,  I had something I was able to start using personally, and after some polish, it’s ready for it’s first general release.  I’m calling this somewhere between “Alpha” and “Beta” quality.  There are still some issues, but I thought I would release it to see what the response is.

How to use Grease:

  1. Click on the folder to select a folder full of mp3′s.
  2. Grease recursively walks through that directory finding any MP3′s (and m4a’s).
  3. Click play, and enjoy.

It will remember your directory, so you don’t need to select it every time.  It will load up your music files on startup the next time you open Grease.

I definitely wanted keyboard short cuts, so here they are:

Space-bar: Play toggle
Left arrow: go back a song
Right Arrow: skip to the next song
Down arrow: volume down.
Up arrow: volume up.

That’s all there is to it.  It’s a WPF application, and I’ve only tested it on Windows 7.  If you try it out, please let me know what you think!

It doesn’t require installation.  You can just unzip the binaries and run them.  The source code is on github if you’re interested in that.

Grease: Source Code | Binary Zip

EDIT: I have discovered a bug where keyboard short cuts don’t work after clicking the folder icon.  I’m not sure why this is, but if you restart the application, the shortcuts will once again work.

Grease , , , ,

Apple Needs a Channel 9

October 26th, 2008

I’m an Apple fanboy.  I own a Macbook Pro, an iPod, an iPhone, and I’ve spent countless dollars in the iTunes store.  Sure there are a few things I really can’t stand, like the lack of control over my iPhone, but it’s manageable.  Overall, I’m pleased.  There is a distinct improvement in the quality of software when moving from a PC to a Mac, and that has been the biggest thing driving my praise.

However, I’ve been noticing a trend from Apple.  They treat their independent developers worse than microsoft does.  There is a very low barrier of entry into writing software for microsoft.  There are countless articles, podcasts, and videos available to help someone get started, but also help all levels of developer.  With Apple, it’s extremely difficult.  I’ve been on the lookout for even a book that helps someone get started in development on Leopard.  There are reference books available, and books that are targeted at earlier versions of OS X, but nothing recent.

But what brought on this most specific rant?  This posting from macworld, announcing that the videos from WWDC (the apple developers conference) had been made available on iTunes U.  That sounds awesome, and I headed over to check it out immediately.  Unfortunately, these videos are free, but only to those developers that have paid $3500+ to become an apple “premier” developer.  Compare this to say the availablility of all the Lang.NET 2008 conference videos for free. You don’t have to sign up for anything.  The videos are listed in a clean interface and you can just scroll and download.  Things can’t get much better than that when it comes to developer videos.

Come on, Apple!  Get with it!

Programming , , , ,

Hacker vs. Cracker

September 2nd, 2008

Recently, there have been a plethora comments coming from people who should know better concerning terms like ‘hacker,’ or more appropriately ‘hacking.’  I would link to some of the examples, but they have been removed. It is ironic that many of these comments came from atheists who should be sympathetic to being labeled as something that has different meanings depending on if it’s self-labeled or applied by someone else.  Atheists realize they are only ‘non-theists’ while many theists have the tendency to view atheists as something much more horrible, and very far from reality.

When the lay person uses the word ‘hacker’ or any of it’s forms, they are usually refering to some sort of illegal, or at the very least, annoying activity.  Things like breaking into someone’s computer, launching ddos attacks, stealing identities, and the like.  This is not how the term was originally meant to be used.  The proper word to describe these activities is ‘cracking.’  A person who cracks into computer systems is a cracker, not a hacker.

So what is a hacker? Here are a few definitions from the Jargon file:

  1. A person who enjoys exploring the details of programmable systems and how to stretch their capabilities, as opposed to most users, who prefer to learn only the minimum necessary. RFC1392, the Internet Users’ Glossary, usefully amplifies this as: A person who delights in having an intimate understanding of the internal workings of a system, computers and computer networks in particular.
  2. A person who is good at programming quickly.
  3. An expert or enthusiast of any kind. One might be an astronomy hacker, for example.
  4. One who enjoys the intellectual challenge of creatively overcoming or circumventing limitations.

I don’t know about you, but I tend to view these as good things – as things to strive towards.

It is a big problem that the words can have such varying meanings.  Even though I know the difference, I’ve been known to use them inappropriately when talking to people who don’t know the difference and don’t want to know the difference.  It’s very frustrating when these people are atheists people who should know better.  I don’t know how to solve this problem, but I’m open to ideas.  I like the label of hacker, though I don’t think it can really apply to me.  I’m simply not good enough.  Never-the-less, I do hope that this post has raised some consciousness about the issues involved here.

Philosophy , , ,