Aug 24
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 4.67 out of 5)
Loading ... Loading ...

Premiership League LogoWhat happened to Football? Once a working man’s sport, most children dreamed of playing for their team - for the pure pleasure, and pride of playing for the team. Now? It’s all about the money - so much, that in order to watch your favourite Premiership or Champions League team live, you have to pay an extortionate amount to Rupert Murdoch for the privilege.

Champions League LogoWell, despite the fact that I don’t actually like football, I still believe that coverage of Premiership and UEFA Champions League football matches should be free for all to watch. Thankfully, there are ways to watch the matches for free - one is to install Sopcast, and access live Premiership matches, and live Champions League matches online:

Installing Sopcast

First, download Sopcast, from the Sopcast website, then extract the file, and copy the executable to /usr/bin:

cd ~/Desktop
wget http://download.sopcast.cn/download/sp-auth.tgz
tar -zxvf sp-auth.tgz
cd sp-auth
sudo cp sp-sc-auth /usr/bin/sp-sc

the sp-sc executable can be used from the command line, by running sp-sc <sop://url> <localport> <playerport> and openning up the resulting stream in mplayer/vlc, e.g.:

sp-sc sop://sop.sopcast.org:1234/5678 3908 8908 &
mplayer http://localhost:8908/tv.asf

but the CLI involves knowing the broker, channel number and so on. There is also GUI available (actually, 2 GUIs - GTK, and QT, but I’ve only managed to get the GTK GUI working so far), which does all this for you, and makes the process much easier. The GTK Gui can be set up as follows:

cd ~/Desktop
wget http://linuxtoy.org/files/deb/gtk-sopcast_0.2.8-1_i386.deb
sudo dpkg -i --force-architecture gtk-sopcast_0.2.8-1_i386.deb

32 Bit users can omit the –force-architecture option, since this is essentially just telling 64 Bit Ubuntu to shut up and use 32 Bit libraries.

Sopcast will only pull in the stream - a media player is required to actually view the stream. VLC, or mplayer both work - I currently use mplayer with the Sopcast GUI, without problems. gsopcast is actually set up to use mplayer by default, so if you don’t have it, it can be installed by running:

sudo apt-get install mplayer

Once the gsopcast GUI is installed, there should be a new menu item under Applications -> Sound & Video -> Sopcast TV Player. Alternatively, the GUI can be run from the terminal:

gsopcast

Once launched, the GUI will populate the channel list. Double click on the channel you wish to view, and wait for the buffer to reach 90%-100% before clicking the “player” button.

The best way to find out which channel is playing the Premiership, or Champions League match you want to watch is to scan this list and look for the channel playing the match.

References

  1. http://ubuntuforums.org/showthread.php?p=3972647
  2. http://www.myp2p.eu/competition.php?competitionid=&part=sports&discipline=football

Whatever happened to Division 1, Division 2, and so on, by the way? They’ve even had to make the name of the divisions sound financially appealing.

written by Hodge \\ tags:

Aug 10
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...

I know I shouldn’t really poke fun, since search engines are the main entry point to 64bitjungle.com, but while scanning through Google Analytics, and the keywords input by users searching the web (who visited this site as a result), I came accross a few classics:

  1. life of jungle man :)
  2. speccy roms (nice to see someone using old slang for the Spectrum 48k)
  3. aser instal draivers (Typo?)
  4. awesome conky settings (Like, totally dude)
  5. eclipse remove linux (I don’t think you want to do that…)
  6. eclipse x64 doesn’t work on windows vista ultimate (I’ll be surprised if anything works on Vista)
  7. life webcams jungle (hmm)
  8. weird fonts (are we talking Twilight Zone weird?)
  9. the man who can’t be moved-the script+bittorrent (pardon?)
  10. a long time ago boot screen (in a galaxy far, far away…)

Considering the 100% bounce rate for all 10 terms, I think they were disappointed by 64bitjungle.com. I really hope they all found what they were looking for! :)

written by Hodge \\ tags:

Aug 10
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...

Note 1: I got somewhat sidetracked and into a rather lengthy rant while writing this. If you want, you can skip it and get straight to installing Sopcast, otherwise, read on.

Note 2: The method (eventually) described below is legal, since the Chinese TV stations are themselves streaming the coverage online.

I despise TV, but every four years, I like to indulge for a couple of weeks and watch Athletes from around the world compete in the Olympic Games. I also love living in Thailand, but, as with many countries I guess, coverage is limited to one channel, which obviously can’t cover all of the events I’m interested in watching.

I began looking at other options to watch the Olympics online, and frustratingly, most of the usual avenues at some point lead to cul-de-sacs. The first thing I tried was the BBC, however, all of their online coverage is via the iplayer, and thus only available to license paying British citizens - even http://news.bbc.co.uk/sport1/hi/olympics/default.stm is restricted to the UK. The fact that I AM a British citizen (sorry… Subject), and paid the (rediculous) license fee for many years (even though I didn’t actually watch TV - I owned one for the sole purpose of watching DVDs, but, absurdly we still have to pay for a TV license regardless…) doesn’t seem to count. In an ideal world, the BBC would recognise this fact, and let me watch the Olympics via their iplayer - after all, I’ve paid more than enough to earn that right over the years. But that’s another rant…

Next, I tried the NBC Olympics website, hoping that they may have some decent live coverage. Unfortunately, not only is their coverage pretty slim, but they are also in cahoots with the repugnant bloatware behemoth, Micro$oft, and are using the new (not particularly) “cross-platform, cross-browser” (read as “non-Linux”) Silvershite… sorry, Silverlight. While I have absolutely no qualms about obtaining a pirate copy of XP, I just don’t want to pollute my computer with sub standard bloatware. So, the search continued…

the CBC also seemed to offer live online coverage - I managed to get on to the site, select a live stream, only to find out that the CBC, like the BBC limit viewing to Canadian IP addresses. The increasingly frustrating search continued…

Youtube almost comes to the rescue, with their Beijing 2008 site (not available in some countries) - I can access the videos (yay!), but unfortunately, they’re not live. Almost their…

The search finally came to fruition with Sopcast. Most of the major Chinese TV stations are covering the Games, and most of those channels are available via Sopcast.

I find it dissapointing that the coverage of a global event, which includes athletes competing from almost every country should be restricted so much. What the hell is wrong with these guys?!

Tibetan Flag

Installing Sopcast

First, I downloaded Sopcast, from the Sopcast website, then extracted the file, and copied the executable to /usr/bin:

cd ~/Desktop
wget http://download.sopcast.cn/download/sp-auth.tgz
tar -zxvf sp-auth.tgz
cd sp-auth
sudo cp sp-sc-auth /usr/bin/sp-sc

the sp-sc executable can be used from the command line, by running sp-sc <sop://url> <localport> <playerport> and openning up the resulting stream in mplayer/vlc, e.g.:

sp-sc sop://sop.sopcast.org:1234/5678 3908 8908 &
mplayer http://localhost:8908/tv.asf

but the CLI involves knowing the broker, channel number and so on. There is also GUI available (actually, 2 GUIs - GTK, and QT, but I’ve only managed to get the GTK GUI working so far), which does all this for you, and makes the process much easier. The GTK Gui can be set up as follows:

cd ~/Desktop
wget http://linuxtoy.org/files/deb/gtk-sopcast_0.2.8-1_i386.deb
sudo dpkg -i --force-architecture gtk-sopcast_0.2.8-1_i386.deb

32 Bit users can omit the –force-architecture option, since this is essentially just telling 64 Bit Ubuntu to shut up and use 32 Bit libraries.

Sopcast will only pull in the stream - a media player is required to actually view the stream. VLC, or mplayer both work - I currently use mplayer with the GUI, without problems. gsopcast is actually set up to use mplayer by default, so if you don’t have it, it can be installed by running:

sudo apt-get install mplayer

Once the gsopcast GUI is installed, there should be a new menu item under Applications -> Sound & Video -> Sopcast TV Player. Alternatively, the GUI can be run from the terminal:

gsopcast

Once launched, the GUI will populate the channel list. Double click on the channel you wish to view, and wait for the buffer to reach 90%-100% before clicking the “player” button. So far, I’ve found CCTV-1, CCTV-2 and Shanghai Sports to be offering live Olympics coverage thus far, although the commentary is obviously in Chinese. I’m still searching for English commentary channels which Sopcast can pull, but for now, this is better than nothing.

References

  1. http://ubuntuforums.org/showthread.php?p=3972647
  2. http://www.myp2p.eu/broadcast.php?matchid=16130&part=sports

written by Hodge \\ tags: ,

Aug 04
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 5 out of 5)
Loading ... Loading ...

Eclipse 3.4 GanymedeI’ve been checking out the recently released Eclipse 3.4 (Ganymede), and so far so good. I’ve managed to get PDT (for PHP Development) and SQL Explorer installed and running successfully, so I’ll be doing some testing to see how it compares to Europa, which I have been using for some time. Thankfully, installing plugins is much easier with Ganymede - this is how I got it set up an configured.

IMPORTANT NOTE: This installation configuration currently relies on Integration builds of both PDT and DLTK, since the current Stable builds of each are not currently supported under Eclipse 3.4. I will update this tutorial as support becomes available, but if you are not comfortable installing Integration builds, please see my previous tutorial on setting up a PHP IDE in Eclipse Europa: “64 Bit Eclipse: Linux Installation, including PDT, WTP (WST), ATF, and MySQL (SQL Explorer Plugin)“.

Install Eclipse

Installing Eclipse is a pretty easy task - just head over to http://www.eclipse.org/downloads and download the latest version of “Eclipse Classic” (direct link to 64 bit version). I downloaded the file to my desktop, and once finished, opened up a Terminal window, extracted the archive, and installed Eclipse into the /opt directory:

cd ~/Desktop
tar -zxvf eclipse-SDK-3.4-linux-gtk-x86_64.tar.gz
sudo mv eclipse /opt/ganymede

I installed into /opt/ganymede since I already have Europa installed in /opt/eclipse.

That’s all there is to installing Eclipse. It can be run (for now) via the Terminal:

cd /opt/ganymede
./eclipse

Installing PDT

As mentioned above, the latest Stable build of PDT is not yet supported in Eclipse 3.4, and since only PDT 1.0.x is available via the Update Site, it’s necessary to download the 2.0.x Integration Build from the PDT Website (see this thread at pdt-dev for more information). The same goes for DLTK (Dynamic Languages Toolkit) upon which PDT depends - only the Integration Build may be installed with Ganymede.

Firstly I downloaded DLTK, from http://download.eclipse.org/technology/dltk/downloads - click on the Integration Build download link, and grab the Core Frameworks archive (direct link to current version - Integration Builds are likely to change frequently, so best to visit the main doanload page). Next, grab the PDT archive from http://download.eclipse.org/tools/pdt/downloads/ (click on the 2.0.0 Integration Build link, then grab the PDT Runtime archive - direct link). Don’t worry about the requirements and handy extras.

Once downloaded, again to my Desktop, I created a couple of temporary directories, and unziped both archives into their respective new homes:

mkdir pdt dltk
mv org.eclipse.php_feature-I20080722.zip pdt
cd pdt
unzip org.eclipse.php_feature-I20080722.zip pdt
cd ~/Desktop
mv dltk-core-I-I200807291021-200807291021-incubation.zip dltk
cd dltk
unzip dltk-core-I-I200807291021-200807291021-incubation.zip

Now the Eclipse Update manager can be pointed to these “local sites”. I fired up Eclipse once again, and navigated to the Update Manager: Help -> Software Updates. Once open, I clicked on the Available Software tab, and added the new sites - click on Add Site, click Local, and navigate to ~/Desktop/pdt/eclipse. Click OK, and repeat for ~/Desktop/dltk/eclipse. Now there should be two more sites (”/home/username/Desktop/pdt/eclipse” and “/home/username/Desktop/dltk/eclipse”) in addition to “Eclipse Project Update Site” and “Ganymede” (or “http://download.eclipse.org/releases/ganymede”). Expand each of the two new sites, and select the lowest leaf in each tree - “PDT Feature” and “Dynamic Languages Toolkit”.

Eclipse Ganymede Update Manager

PDT is also dependent upon the Graphical Editing Framework (GEF), so expand the Ganymede tree, then “Graphical Editors and Frameworks” and select the “Graphical Editing Framework GEF” option.

Don’t click “Install” quite yet - there are a few other additional things to select for a full Web Application Development IDE.

Web Application stuff

Expand the main Ganymede tree, and “Web and Java EE Dvelopment”. I personally selected:

  • Eclipse XML Editors and Tools
  • Javascript Developer Tools
  • Web Developer Tools
  • Web Page Editor

You may want more, or less. Almost there…

Database Integration

Expand Database Development, and select Data Tools Platform Enablement and Data Tools Platform SQL Development. These are required for setting up a connection to MySQL later.

OK, click Install! Go and make a brew, or coffee - this may take some time.

Once everything has been downloaded and installed, restart Eclipse.

SQL Explorer Plugin

I find SQL Explorer is a great little plugin to use as a DB GUI. To install it, I downloaded the latest version to my Desktop, and extracted the files.

cd ~/Desktop
mkdir sqlexplorer
mv sqlexplorer_plugin-3.5.0.RC5.zip sqlexplorer
cd sqlexplorer
unzip sqlexplorer_plugin-3.5.0.RC5.zip

As with the PDT and DLTK plugins, to install is just a simple case of adding a new Local site to the Eclipse Update Manager, and selecting the plugin to install. So, open up the Update Manager - Help -> Software Updates, and select the Available Software tab. Add new site, click Local, navigate to ~/Desktop/sqlexplorer, click OK, etc. Once the site is added, expand the new SQL Explorer, select the lowest level leaf, and click install.

Once installed, restart Eclipse. Some configuration is still required to get SQL Explorer linked up to a MySQL Database, which I have covered in a previous tutorial: Eclipse PDT and MySQL - SQL Explorer Plugin. It’s pretty simple, and just involves downloading the Java Connector for MySQL, and pointing Eclipse to it.

ATF (AJAX Toolkit)

Unfortunately, ATF is not yet supported in Ganymede - I’m keeping track of it, however, and will update this tutorial as soon as support is available. In the mean time, check out the current status at atf-dev.

Debugging PHP with Xdebug

The information in my previous tutorial, Debugging PHP Applications with Xdebug and Eclipse PDT, can still be applied to Ganymede.

Hope that helps.

References

  1. http://wiki.eclipse.org/PDT/Installation#Eclipse_3.4_.2F_Ganymede_.2F_PDT_1
  2. http://www.mail-archive.com/pdt-dev@eclipse.org
  3. http://www.mail-archive.com/atf-dev@eclipse.org

written by Hodge \\ tags: , , , ,

Aug 02
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 4.67 out of 5)
Loading ... Loading ...

Java JRE LogoI wanted the latest version of Sun’s JRE installed on my system, and to have it set up as the default Java Runtime Environment whenever I ran a Java executable, or Jar file. It’s actually a pretty easy process, so this is a relatively short tutorial, but I’ll cover both the 32 bit and 64 bit installations, since aside from differences in file names, the set up is identical.

Installing JRE

First, decide on which architecture will be installed, and download the relevant file from the main Java website. At the time of writing, 1.6.0 u7 can be downloaded from the following: 32 bit, and 64 bit. I wanted to install the x64 version, and so downloaded jre-6u7-linux-x64.bin to my Desktop. I also wanted to install it in its own directory in /opt, and so created a directory for it to sit in:

cd /opt
sudo mkdir java

I was also experimenting with the 32 and 64 bit versions, so made two extra directories within java:

cd java
sudo mkdir 32 64

I then copied the relevant file(s) to the respective directories, and made them executable:

32 bit:

sudo cp ~/Desktop/jre-6u7-linux-i586.bin /opt/java/32
sudo chmod 755 /opt/java/32/jre-6u7-linux-i586.bin

64 bit:

sudo cp ~/Desktop/jre-6u7-linux-x64.bin /opt/java/64
sido chmod 755 /opt/java/64/jre-6u7-linux-x64.bin

The final part of the installation simply involves executing the binary file:

32 bit:

cd /opt/java/32
sudo ./jre-6u7-linux-i586.bin

64 bit:

cd /opt/java/64
sudo ./jre-6u7-linux-x64.bin

Regardless of architecture, this should create a sub directory called jre1.6.0_07.

Setting JRE 1.6.0 u7 as Default

The process simply involves telling the system that there is an alternative Java binary available, and to use this binary to execute an “java” commands:

32 bit:

sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/32/jre1.6.0_07/bin/java" 1
sudo update-alternatives --set java /opt/java/32/jre1.6.0_07/bin/java

64 bit:

sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/64/jre1.6.0_07/bin/java" 1
sudo update-alternatives --set java /opt/java/64/jre1.6.0_07/bin/java

Follwing the second command, there should be output to the terminal something along the lines of:

Using '/opt/java/32/jre1.6.0_07/bin/java' to provide 'java'.

or,

Using '/opt/java/64/jre1.6.0_07/bin/java' to provide 'java'.

depending on the architecture installed. That’s it. Now every time “java” is run, either explicitly from the Terminal, or via a Java executable (such as the Eclipse IDE), Ubuntu will use the newly installed /opt/java/64/jre1.6.0_07/bin/java binary as opposed to the binary installed by default. Simple, eh?

written by Hodge \\ tags: ,

Webloogle Blog Directory