Friday, December 06, 2013

The old android with whom I am in love.

The decent man who washed my dishes for me and whom I call Friend.
The turbulent road by which I plant my wishes.
The open stream that flows beneath my casket.
The proud holler of a drunken mule sated on soft fallen fruit.
The purloined heart of a passing boy unable to keep his gaze.
The balmy girls alight on the yard's broad plain.
The delicate peal of a distant storm savaging our seedling crops.
The honest croak of a wooden door unopened since the first frost.
The soft brown of your thigh under my hand at the light.

The stoic brine of focus besieged.
The filthy spike with which   I sow these pots in memoriam.
The candid smile that turned my spirit and broke the spell.

The sloppy walk in wet socks across an empty summer deck.

Saturday, November 02, 2013

Getting along with the old eMusic Download Manager for Linux

I've been a loyal eMusic customer for about five years, and I've been a non-proprietary OS man in my home for a lot longer than that, so I've dealt with the pain you're feeling, and I'm going to help you through it.

So you just upgraded to the latest Fedora/Debian/Ubuntu/whatever, and you can't get the old eMusic DLM working anymore?  Yeah, that happened to me too, but I fixed it.

If you just upgraded to Fedora 19, my help will be completely trouble-free for you.  Otherwise, you may need to adapt these instructions and possibly the package itself to your OS's needs.  If your OS doesn't use RPM, you should be able to do this with just the tarball that eMusic is still providing, or if they've stopped providing even that, you can install some RPM tools on your system and extract the archive from this RPM I'm providing.

Step 1) Install Firefox and the rpm-build package.  We're going to build an RPM in order to exploit its automatic dependency determination, and subsequently YUM's automatic dependency installation.  And Firefox because the old eMusic DLM only works w/Firefox, afaik.
        # yum install firefox rpm-build
The old DLM only works with Firefox, as far as I know.  I haven't been able to get it to work otherwise.

Step 2) Download the old eMusic Download Manager" in tarball format.  We're going to make an RPM.
        # wget http://www.emusic.com/apps/dlm/emusic_linux_current.tar.gz
Step 3) Create rpmbuild/SPECS and rpmbuild/SOURCES directories in your home directory
        # mkdir -p rpmbuild/{SPECS,SOURCES}
Step 4) Move the emusic_linux_current.tar.gz file into the new SOURCES directory.
        # mv emusic_linux_current.tar.gz rpmbuild/SOURCES
Step 5) Create a file called emusic-dlm.spec in the rpmbuild/SPECS directory with the following content:
%define userid          root
%define groupid         root
%define version         4.1.4
%define rel             4
%define debug_package   %{nil}
%define prefix          /opt/emusic/%{version}

# This should be set to the first two directories from the
# emusic_linux_current.tar.gz tarball, but without the leading slash.
%define archivelead     builds/emusicdlm 

Summary: eMusic Download Manager
Name: emusic-dlm
Version: %{version}
Release: %{rel}
License: Proprietary
Packager: It was All Me!
Group: Commercial
Source: emusic_linux_current.tar.gz
BuildArch: i686
BuildRoot: %{_tmppath}/%{name}-buildroot
AutoReqProv: yes

%description
The download manager for eMusic.  Set your firefox preferences to use
/opt/emusic/4.1.4/emusicdlm as the handler for emusic download files.

%prep

%setup -q -n %{archivelead}

%build

%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}/%{prefix}
cd ${RPM_BUILD_DIR}/%{archivelead}
find . | cpio -dumpv ${RPM_BUILD_ROOT}/%{prefix}

%clean
rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-, %{userid}, %{groupid}, -)
%{prefix}


%post

%postun

%changelog

You should now have the following files below your home directory:
rpmbuild/SPECS/emusic-dlm.spec
rpmbuild/SOURCES/emusic_linux_current.tar.gz
Step 6) Create the RPM using the rpmbuild command:
        # setarch i686 rpmbuild -ba rpmbuild/SPECS/emusic-dlm.spec
You should now have an RPM in the rpmbuild/RPMS/i686 directory called emusic-dlm-4.1.4-4.i686.rpm.
Step 7) Install the RPM and its dependencies using YUM
# yum localinstall rpmbuild/RPMS/i686/emusic-dlm-4.1.4-4.i686.rpm
Step 8) Configure Firefox to use /opt/emusic/4.1.4/emusicdlm for .emx files by opening Firefox and going to this URL, which will plant a cookie in the browser indicating that the DLM has been installed.

Step 9) Click on a download link for a song or album.  When presented with the "0.emx" file, choose "Open with", and browse to /opt/emusic/4.1.4/emusicdlm.  Also be sure to click on "Always do this".








Sunday, October 27, 2013

A Homemade Relaxing Tea

I was at a SLOUP event tonight where one of the sponsors had donated some really delicious herbal tea (the sponsor was actually ReTrailer), and as I was sitting here tonight doing homework and wanting to drink some more tea, but also not wanting any more caffeine for the night, so I decided to take my own shot at making tea.  It seems to be a pretty awesome success!

Step 1: Heat up some water
Step 2: Pour the hot water into your mug and add:

  • 1 cinnamon stick
  • 1/2 tsp of lavender
  • 1/4 tsp of ground cardamom
Step 3: Let steep for a minute or two
Step 4: Retrieve the cinnamon and lavender (using a spoon) from the mug
Step 5: Enjoy!