Archive for December, 2006

The Fanboy ubuntu post.

I recently installed ubuntu 6.1 and I love it. I LOVE IT. This is the best user linux distro EVER. EVER!

I’ve been using Linux for years as a sever but never been able to stomach it on the desktop. I tried Red Hat, then Fedora, and well I could not get anything else to work.

But ubuntu works! Holy cow!

The installation is a wet dream. It takes away everything I don’t care about, (Partitioning, package selection, etc) and just installs what I need.

Top things I freaked out about when installing ubuntu.

- SOUND WORKS
- Boots to a usable desktop
- Looks great
- JUST ONE CD
- wireless works!
- Firefox 2.0 installed, and WORKING
- apt-get works!
- Tutorials work!
- sudo WORKS out of the box

If you have not tried ubuntu, then for the LOVE OF GOD, try it!

Comments (1)

Banned from warcraft

Well my account was banned, I’m guessing that blizzard found out that I payed someone to play my account for me. I wasn’t sure if that violated the terms, but I guessed it was OK to have someone else play my character.

I thought you might be interested as to why I did this, I’m sure you have heard this before, but who knows maybe I’ll make the difference.

I’m a casual player, I can’t spend more then an one evening a week playing. I find that most players are level 60, but after a one year of playing I finally got to level 40, but leveling was getting slower and slower, and groups where getting harder and harder to find. I wanted to play, but I could not find anyone to play with.

So when I saw that I could pay to have my account leveled for me I jumped at the chance. For once I would be level 60, I could play with everyone else. It would take another year to hit 60 on my own (And by then everyone else would be level 70).

I’ve put a lot of money and time into my account, and I’m sad to see it go. I’m sorry I paid for power leveling, but I didn’t see another way.

Comments

This blog is BACK

I’m brining this blog back online. As an independent software vendor its critical that I spend more time on getting the word out about my creations. If I don’t talk about cl1p.net who will?

I’m joining a long line of software developers who blog, everyone from the all powerful Joel, and Eric to the not as much known, (but respected in my book) Lord Elph.

So what is the blog about? Well for the most part it’s about me, a software developer, married, full time employed, and trying his hand at running an microISV on the side. It’s also about life, programming, and getting rich off of adsense. (Yeah right)

Comments

Fun with icefaces effects

This tutorial will walk you though some of the fun things you can do with effects.
You will need an App server, Ant and Icefaces-bin-1.5.1 for this tutorial.

1. Make a copy of the icefaces\samples\tutorial\effects1 folder and rename it funwitheffects (Keep it in the icefaces\samples\tutorial folder).

2. Open up the build.xml file. Change


<project name="effects1" default="build.war">

To

<project name="funwitheffects" default="build.war">

3. Open web/effect.jsp delete everything in the body tags.Creating a sliding div
4. Add the following code to the body.

<ice:form>
<ice:commandbutton value="#{effectBean.buttonValue}" actionlistener="#{effectBean.buttonPressed}"></ice:commandbutton>
<ice:panelgroup style="border: 1px solid black; width: 200px; height: 200px" visible="#{effectBean.visible}" effect="#{effectBean.effect}">
<ice:outputtext value="Hello"></ice:outputtext>
</ice:panelgroup>
</ice:form>

5. open com.icesoft.tutorial.EffectBean


import com.icesoft.faces.context.effects.*;

import javax.faces.event.ActionEvent;

public class EffectBean {

private Effect effect = null;
private boolean visible = false;
private String[] buttonValues = new String[]{
“Slide Down”,
“Slide Up”
};
private String buttonValue = buttonValues[0];

public Effect getEffect() {
return effect;
}

public void setEffect(Effect effect) {
this.effect = effect;
}

public boolean isVisible() {
return visible;
}

public void setVisible(boolean visible) {
this.visible = visible;
}

public String getButtonValue() {
return this.buttonValue;
}

public void setButtonValue(String buttonValue) {
this.buttonValue = buttonValue;
}

public void buttonPressed(ActionEvent e){
if(visible){
effect = new SlideUp();
buttonValue = buttonValues[0];
}else{
effect = new SlideDown();
buttonValue = buttonValues[1];
}
effect.setTransitory(false);
effect.setSubmit(true);
}
}
6. Run ant and copy the funwitheffects.war to your app server

7. open http://localhost:8080/funwitheffects For tomcat

Clicking on the button will slide the panel down and change the text of the button. Clicking again will slide the panel back up.

The code

effect.setTransitory(false);
effect.setSubmit(true);

Sets the effect to inform the server when the effect is complete, and changes the visible value. You can also slide down the panel and then click refresh, and the panel will still be in the visible state.

(Check out my custom JSF components. Compatible with ICEFaces. http://snappy.sensemaker.net

Comments (1)