Java code practice on JavaBat
Looking for a place to polish up your Java skills? Try JavaBat. It’s a library of short Java projects that you fill in the code and it’ll check if for you.
Looking for a place to polish up your Java skills? Try JavaBat. It’s a library of short Java projects that you fill in the code and it’ll check if for you.
After spending about 20 minutes trying to find a good set of graphics for a dice rolling script I was working on I decided it was faster to just create my own. 5 minutes in Photoshop and I was done. There are individual files for each of the 6 die faces, an animated version cycling through all 6, and the source PSD.
Feel free to use these graphics for whatever usage you’d like. All that I ask is when possible link back to this site.

Dice GIFs (18.1 KiB, 4 hits)
Why can’t we just buy a USB key drive without any software on it? I bought a 2gb Cruzer last weekend because I wanted a 2gb thumb drive, not because I wanted the U3 software. If I’m going to put applications on it they’ll be from Portable Apps anyway. And that would work without the thumb drive taking up 2 drive letters, one of which shows up as a CD so you can’t delete from it.
But that would be ok if the U3 software didn’t lock up my desktop. Worked fine on my Vista notebook, but inserting the key drive on my XP desktop locked it up. And yes, I tried holding down Shift. Didn’t do any good.
Fortunately there’s uninstall software for U3. The downside is that uninstalling requires a reformat of your thumb drive so be sure to backup anything you’ve got on it first. The upside is my thumb drive works perfectly now in both of my machines.
Several times I’ve had a user setting that was separated by commas that I needed to split out into an array. People, correctly, put a space after commas. But for the array the space shouldn’t be there. Here’s a quick tip to strip out those leading spaces.
array_map will step through the array members and apply the trim() function to each giving you a nice, clean array without leading spaces.
How important do you think design is to the success of a forum? It’s an extremely popular topic on web design forums. Content or design? Which has the bigger effect on the success of a forum?
I don’t think anyone would argue that a forum can succeed without good content, but how big of a part does the design play in that success?