Author Archives: Jason

About Jason

Jason R. Koepke is Founder and Data Strategist at GNT LLC, a risk-analysis and data strategy firm that provides analytical and technical services to the public and private sectors. His work and research has been featured in the academic, financial, and technical industries.

Album Reviews

1—->3—->5
Terrible—->Fantastic

3
A Place to Bury Strangers – Exploding Head
Astatke, Mulatu – Mulatu of Ethiopia
Beatles, The – Live at Shea Stadium
Beatles, The – Past Masters, Volume 01
Beatles, The – Rubber Soul
Blick – All Strictly Rhythm Mix
Cadence Weapon – Afterparty Babies
Celebration – Modern Tribe, The
Cymande – Message, The A Cymande Anthology
Cymande – Promised Heights
Cymande – Renegades of Funk
Dear, Matthew – Body Language, Volume 07
V/A – Deep House Mix
Dinosaur L – 2424 Music
V/A – Discofunk, Volume 08
DJ Skot Dub, Olav Basoski, DJ Sneak, and Bob Sinclar – French House Mix
Doors, The – Essential Rarities
Doors, The – Greatest Hits
Doors, The – Morrison Hotel
Doors, The – Strange Days
Doors, The – Waiting for the Sun
V/A – Dusty Fingers, Volume 02
V/A – Earth, The, EP
Field, The – Yesterday and Today
Fujiya & Miyagi – Lightbulbs
Kool Keith – Colabs Tape
Lady Sovereign – Jigsaw
Lovin’ Spoonful, The – Daydream
Major Lazer – Guns Don’t Kill People…Lazers Do
Marsalis, Wynton – A Fiddler’s Tale
Martyn – Great Lengths
Miller, Glenn and the Army Force Band – Glenn Miller and the Army Force Band
Misha – Teardrop Sweetheart
Morrison, Van – Van Morrison Poetic Champions Compose
Ogene – Nti Ike
V/A – Pulp Fiction OST
Raekwon – Only BUilt 4 Cuban Linx, Part 02
Reed, Lou – Magic and Loss
Reed, Lou – Transformer
Slug and El-P – Serum & Induce The Vapors Project
Terror Danjah – FACT Mix 47 [200905]
UGK – UGK 4 Life

2
Black Heart Procession, The – 1
Black Heart Procession, The – Amore del Tropico
Black Moth Super Rainbow – Dandelion Gum
Crenshaw, Mic – Thinking Out Loud
Cymande – Arrival
Diplo – Decent Work for Decent Pay, Collected Works, Volume 01
Eminem – Relapse
Gorilla Zoe – Don’t Feed da Animals
V/A – Got that Purp, Volume 02
Harris, Calvin – I Created Disco
V/A – High Fidelity OST
Iron & Wine – Norfolk
Kaskade – Grand, The
Kid Acne – Romance Ain’t Dead
Lean, Joe and the Jing Jang Jong – Joe Lean and the Jing Jang Jong
Lidell, James – Jim
Nadler, Marissa – Songs III Bird on the Water
Reed, Lou – Berlin
Reed, Lou – Best of, The Walk on the Wild Side
Reed, Lou – Ecstasy
Reed, Lou – Live in Italy [1984]
Skaggs, Ricky & Kentucky Thunder – History of the Future

1
V/A – Beach House
Goldie Lookin’ Chain – Asbo 4 Life
Kool Keith, H Bomb, and Marc Live – Game
Rainer Maria – Catastrophe Keeps Us Togther
Rainer Maria – Look Now Look Again
Rainer Maria – Past Worn Searching
Reed, Lou – Raven, The [Limited Edition]
Yes – Ladder, The

Album Reviews

1—->3—->5
Terrible—->Fantastic

5
Burial and Fourt Tet – Wolf Club and Moth
V/A – Ego Trip Hip-Hop’s Greatest Singles, 1988
Ellington, Duke – Duke Ellington Centennial Edition, The
Ellington, Duke – Ellington at Newport, 1956
Fever Ray – Fever Ray
Miller, Glenn – Best of, The (1938-1942)
Montgomery, Wes – Incredible Jazz Guitar of Wes Montgomery, The
Montgomery, Wes – Tequila
Simon & Garfunkel – Bookends
Simon & Garfunkel – Bridge Over Troubled Water
Simon & Garfunkel – Concert in Central Park

4
Adams, John Luther – Light that Fills the World, The
V/A – Anthology of American Folk Music
Benga and Coki – Night
Biz Markie – Goin’ Off
V/A – Blaxploitation, Volume 03 The Payback
Blythe, Arthur – Lenox Avenue Breakdown
Brightback Morning Light – Motion to Rejoin
Cenobites, The – LP
Cloud Cult – Meaning of 8, The
Copeland, Eric – Hermaphrodite
Cymande – Best of Cymande, The
Dan the Automator – A Much Better Tomorrow LP
DJ Slugo and DJ Apollo – Juke or Die, VOlume 03
Droid and Slug – Live at Studio B [20040604]
Durrty Goodz – Axiom
Eddy Current Suppression Ring – Eddy Current Suppression Ring
V/A – Fire EP
GroovyPanda – Chilled French House Mix [20011231]
V/A – Hardware Chronicles, Volume 01
V/A – Hardware Chronicles, Volume 02
Headhunter – Live on Lorna Clarkson Show, FBI Radio in Sydney [20090324]
V/A – Hitsville USA Motown Singles (CD04)
Joker – Do It Psychedelic Runway
Krall, Diana – Quiet Nights
Kuma – Dawn Stepped Outside Lost in Translation
MF Doom – Born Like This
Mochipet – Dim Sum
Moderat – Moderat
Molemen – Lost Sessions
Monk, Thelonious – Newport Jazz Festival
Mr. Life – I Heard It Today
Mr. Life – Mo’ Mega
Pangaea – You and I Router
Perkins, Dudley – A Lil’ Light Instrumentals
Perkins, Dudley – Expressions
Quantic – 5th Exotic, The
Quantic – An Announcement to Answer
Quantic – Mishaps Happening
Quantic Soul Orchestra, The – Pushin’ On
Quantic Soul Orchestra, The – Stampede
Remute – Bounce 23
Royksopp – Junior
Russell, Arthur – 2424 Music Dinosaur L
Sonic Youth – External, The
V/A – Sounds of the South
Sparklehorse – Dark Night of the Soul
Tinariwen – Aman Iman
Tinariwen – Amassakoul
Tosca – No Hassle
Who, The – My Generation the Very Best of the Who
Who, The – Tommy
XX Teens – Welcome to Goon Island
XX, The – XX

Futzing and Displaying Unruly RSS Feeds

I am currently working on a Web site for my latest and absolutely greatest adventure of competing in the 2010 Montgomery Country Agricultural Fair‘s demolition derby. I want this Web site to provide multimedia content, descriptions and plans, as well as nicely displayed RSS feeds of my blog and SMS systems relevant to my demolition derby effort. Probably because of my own ignorance and lack of knowledge (remember, I’m a political/economic analyst, not a developer) but possibly because of a(nother) bug with StatusNet, I had difficulty using PHP to repost posts that contain a certain hashtag. After trying to do it the “correct” way for an hour or two, I decided to do it the easy hacky way and did so in five minutes. Here’s the deal in case you come across a similar problem:

For my homepage, I swiped Matt Thommes’ PHP to display RSS/ATOM feeds in another page. It took some tweaking (and learning), but I used his structure/framework to get my blog and sms sites to load. This works well, is clear, and allows for a good degree of flexibility.

For the demolition derby Web site, I want to post notices from my sms site that contain the #demoderby hashtag. That way, I can continue to use whatever information delivery methods I prefer (e.g., blog or sms) with it all being delivered to one place for people who want to follow the destruction. At first, I played with the various badges (for StatusNet systems) that exist out there, but I could not get the first two I tried to work and none of them seemed well configured for limiting posts to certain hashtags. The next step was to use Thommes’ PHP structure to use the RSS feed a StatusNet install provides for a given hashtag. This, however, wouldn’t work because–I think–of the URL StatusNet uses for hashtags’ RSS feeds.

After about two hours of total hunting and searching (starting from the badge search), I gave up and decided to add a tweak to Thommes’ code. I essentially include a line that checks to see if a given notice contains the hashtag. If it doesn’t, do nothing and move on to the next notice. If it does, then display the tag. It took me five minutes to do, and should have been how I started. Oh well.

Here’s the tweaked code:

# INSTANTIATE CURL.
$curl = curl_init();

# CURL SETTINGS.
curl_setopt($curl, CURLOPT_URL, "http://sms.jasonkoepke.com/api/statuses/user_timeline/1.atom");
Curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 0);

# GRAB THE XML FILE.
$xmlSMSFeed = curl_exec($curl);

curl_close($curl);

# SET UP XML OBJECT.
$xmlObjSMSFeed = simplexml_load_string($xmlSMSFeed);

$tempCounter = 0;

#Specify the hash you care about
$hashofconcern = "#demoderby";

foreach ($xmlObjSMSFeed->entry as $smsitem)
{
# DISPLAY ONLY 3 ITEMS.
if ( $tempCounter < 3 )
{
$pos = strpos($smsitem->title, $hashofconcern);
if ($pos === false)
{
#We don't want to display non-hashtagged posts, so this if statment has nothing.
}
else
{
echo " id."">".$smsitem -> published.": ".$smsitem -> title."

";
}
}

$tempCounter += 1;
}

Hope that helps someone, or someone comments the obvious and easier way of doing all this.