Posts Tagged open source

New GitHub profile

I’ve set up a new GitHub profile, and I’ve been adding to a couple of repositories this week while I’ve had some time off work. I decided to abandon the small project I started, but I did add a new function to a Ruby on Rails plugin I was using, so I’ve submitted a Pull Request to see if the originator would like to reuse my code. Maybe at least something may have come out of it in addition to learning a lot!

Come follow me, I’ll follow you… Social Coding and all that :)

, ,

No Comments

Java Demo – Twitter App

Twitter App demo screenshot 1

<click for bigger>

Since I use this blog to show off some of the things I’ve been working on at well as post useful tidbits occasionally, I got permission to put one of my recent pieces of coursework on here.

We were asked to create a desktop Twitter application in Java. It’s not fully featured due to time constraints, so I wouldn’t recommend using it in place of your usual Digsby or Tweetdeck clients, but it lets me demonstrate my coding style etc and maybe it’ll be useful to anyone planning a similar project. If you are, I recommend the Twitter4J library, which does a lot of the heavy lifting for you.

I’ve uploaded it in both source and distribution (just unzip and run the .jar – requires JRE) versions, as well as the report I prepared highlighting some of the features I was proud to have completed.

Update 28/4/10: Not to blow my own trumpet too much here, but I’m proud to say that I got my marks for this coursework back today, and I was astonished to find I’d been awarded 100%! Out of 60 or so other students, the next best grades were 92% and 90%. FYI, I’m still hunting for a 12-month work placement to do as a sandwich year, if any prospective employers are reading! Draig Technologies will now be benefiting from my immense talents ;-)

Update 24/6/10: Twitter say they won’t be supporting basic login requests from the end of the month, and as far as I can remember, this is how my application works. Enabling OAuth would be a quick and easy fix if you do use this code, but I’m not personally supporting the app in any shape or form. It’s provided As Is!

, , , ,

No Comments

How to Mute Adverts in Spotify

spotify logoI realise I may be shooting myself in the foot, revealing this tip – if word gets out, I’m sure the Spotify team will patch it immediately – but I’ve found a way to quieten those pesky commercials.

If you’re not aware, Spotify is a free music streaming service that you browse with a super-fast, proprietary media player. It boasts millions of tracks and many thousands of albums, playing at high quality and with instant access. The price you pay is occasional adverts, which are significantly less frequent or annoying than those on commercial radio. They are still quite annoying though, nonetheless. And, cleverly, turning the volume down actually pauses the ad, so you’ve no choice but to listen to it. Until now.

So here’s what you do: when the advert starts playing, hit pause. You can then turn down the volume on the player and press play, and the advert will resume playing silently. You can watch the little timer to see when it’s done, and then just turn the volume back up. I haven’t tried pausing and then using the system volume to turn down the sound, so I’ll report on that soon.

Before I go, I’d just like to plead with Spotify to open-source the software, so people like me can start making add-ons for it, just like with Songbird. Your service has rocketed in popularity, leaving a small team to service over a million users. Right now, all we want is an equaliser. Oh and a lyrics plug-in. And not to mention…! So open-source the player and we’ll fill in the gaps. Come on, you know it makes sense.

edit: this article used to be titled “How to Mute Adverts in Spotify – July 2009″. However, as of April 2010, this technique still works just as well as it ever did – Spotify have taken no actions to close this loophole. I’ve taken the July part of the title out in order to make it obvious that the article is still relevant today.

, , , , ,

25 Comments