<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.5" -->
<rss version="0.92">
<channel>
	<title>Why So Scared</title>
	<link>http://www.whysoscared.com</link>
	<description>A blog about; Programming, Music and Random Stuff</description>
	<lastBuildDate>Thu, 10 Jun 2010 02:43:11 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Macports Livecheck.type</title>
		<description>I was trying to install libxml2 on OSX 10.6.3 using mac ports.

sudo port install libxml2

Macports died with an error

Error: Unable to open port: invalid command name "livecheck.type"
livecheck.type seems to be a new command in Macports 1.8.0. Upgrading to Macports 1.8.0 solves the problem.

To upgrade use

sudo port selfupdate


Dont forget you'll need ...</description>
		<link>http://www.whysoscared.com/macports-livecheck-type/</link>
			</item>
	<item>
		<title>Speed Download 5 &#8211; RapidShare Settings</title>
		<description>This is an handy tip if you are having problems getting Speed Download 5 for Macintosh OS X to remember your RapidShare username/password. Within the preferences window of Speed Download 5 select Passwords and delete all current entries for rapidshare.com. Make a new entry with the following settings and hit ...</description>
		<link>http://www.whysoscared.com/speed-download-5-rapidshare-settings/</link>
			</item>
	<item>
		<title>Java Greatest Common Divisor &#8211; Method</title>
		<description>



1
2
3
4
5
6
7
8
9
10
11
12
13



public class cis229wk3 {	
	 static long gcd(long m, long n) {
		   if (n==0) 
		     return m;
		   else
		     return gcd(n, m % n);
	} 

	public static void main(String [] args) {
		System.out.println(gcd(4,8));
		// program returns a 4
	}
}



 </description>
		<link>http://www.whysoscared.com/java-greatest-common-divisor-method/</link>
			</item>
	<item>
		<title>Java Reverse &#8211; Method</title>
		<description>



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25



import java.util.ArrayList;
import java.lang.*;

public class reverse {
        public static void main (String []args) {
                        ArrayList a= new ArrayList();
    ...</description>
		<link>http://www.whysoscared.com/java-reverse-method/</link>
			</item>
	<item>
		<title>select_tag / select input into my database rails</title>
		<description>In my posts form the input to the model can only be Dog or Cat, I've constructed the following code and assumed it would work, however the information input into the select_tag box was never going into my database.





1
2
3
4
5
6
7
8
9
10
11



&#60;% form_for(@post) do &#124;f&#124; %&#62;

    &#60;%= f.label :title %&#62;&#60;br ...</description>
		<link>http://www.whysoscared.com/select_tag-select-input-into-my-database-rails/</link>
			</item>
	<item>
		<title>Vodaphone UK MMS Contract Settings</title>
		<description>APN: wap.vodafone.co.uk
Username: wap
Password: wap
MMSC: http://mms.vodafone.co.uk/servlets/mms/
MMS Proxy: 212.183.137.012 (note the leading zero in the last octet)
MMS Max Message Size: (blank)
MMS UA Prof URL: (blank)

 </description>
		<link>http://www.whysoscared.com/vodaphone-uk-mms-contract-settings/</link>
			</item>
	<item>
		<title>Java Code &#8211; Shuffle A Pack Of Cards</title>
		<description>




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45



import java.awt.*;
import java.awt.event.*;
import java.util.Random;
import javax.swing.*;

public class shuffle {

  public shuffle(){  
    window.setSize(1100,550);
    window.setLayout(new FlowLayout());
    JLabel cards[] = new JLabel[52];
  int number = 0;
  int [] ranarray = new int[52];
  boolean used[] = new boolean[52] ;

  ...</description>
		<link>http://www.whysoscared.com/java-code-shuffle-a-pack-of-cards/</link>
			</item>
	<item>
		<title>Java Code &#8211; TicTac</title>
		<description>
import java.awt.*;
import java.awt.event.*;
import java.util.Random;
import javax.swing.*;

public class TicTac implements ActionListener {

  public TicTac(){
    window.setSize(150,150);
    window.setLayout(new GridLayout(3,3));

    // display the buttons, smaller code with loop
    for(int i=0; i&#60;=8; i++){
      buttons[i] = new JButton();
  ...</description>
		<link>http://www.whysoscared.com/java-code-tictac/</link>
			</item>
	<item>
		<title>Java Code &#8211; How Old Are You?</title>
		<description>
import java.util.Calendar;
import java.io.*;
import javax.swing.JOptionPane;

public class Age{
    public static void main(String args[])
    {
        String year = JOptionPane.showInputDialog
        ("Please Enter Your Year of Birth:");
        String ...</description>
		<link>http://www.whysoscared.com/java-code-how-old-are-you/</link>
			</item>
	<item>
		<title>Parse MusicBrainz XML with jQuery</title>
		<description>For a project I'm working on to help people make posts over at http://www.warez-dnb.com/ i've been looking into parsing MusicBrainz, I thought id make a quick post to discuss the challenges and solutions I've come up with so far.
&#60;html&#62;
 &#60;head&#62;
 &#60;script type="text/javascript" src="jquery.js"&#62;&#60;/script&#62;
 &#60;script type="text/javascript"&#62;
 $(document).ready(function(){
	$.ajax({
		type: "GET",
		url: "http://www.warez-dnb.com/test/getid.php?name=Caspa",
		dataType: "xml",
		success: function(xml) ...</description>
		<link>http://www.whysoscared.com/parse-musicbrainz-jquery/</link>
			</item>
</channel>
</rss>
