I've never actually heard Mr Slackware before (i mean heard him speak), only heard about him since forever of course.
Check out this podcast - he's SUCH a cool dude, and so great to listen to - isn't it great that we're in the podcast era?! :)
You know what? There's no substitute for hearing a person talk. They say a picture speaks a thousand words. Well then a voice speaks a thousand...
pre {
font-family: 'courier new', courier, mono;
font-size: 11pt;
width: 700px;
clear: both;
overflow: auto;
background-color: #efefef;
padding-bottom: 0.2em;
}
So I've been playing with URLClassLoader, URLConnection, jars within jars, and webservers within, um, Swing apps. All quite Escher'esque.
The article about...
Frank Somerville posted "My Favorite Java Developer interview questions" which i enjoyed reading a minute ago. Here are some answers to avoid ;)
Q. When does the JVM do Garbage Collection?
I got no idea. Who's JVM, is he the janitor here?
Q. What's the difference between an interface and an abstract class?
An abstract class is um, a class that is abstract. An interface is just an interface...
Purpose
I got a PC that i wanna setup as a multimedia center.
I got a CentOS DVD, but that doesn't have multimedia, so that's how this exercise started. So i was looking for some linux warez. With the following requirements.
1. A single installable live CD so that i can download it like today, and see if it's works for me and is worth installing. Anyway, linux installs are so quick and...
I'll maintain this page at this
permalink.
Here's one way to popup a browser (in Windows), or otherwise prompt the user
with the URL, ready for cutting and pasting into your browser.
public class BrowserOpener {
public void showDocument(String url) {
if (System.getProperty("os.name").toLowerCase().indexOf("win") >= 0) {
try {
Runtime.getRuntime...
Of my heroes, i've seen some of them in real life. In order of appearance, Bill Joy, Eric Raymond, and Richard Stallman.
I've emailed a few heroes as well, a few years ago - and they even replied, a few times! Like Bjarne and Alex - the C++ guys. I'm not on first-name-terms with these guys - it's just that i can't remember and/or certainly can't spell their surnames right now!
They are...
I had so much fun today with this, it shouldn't be legal...
Here is a demo which is a jar which hosts embedded demos which are loaded via URLClassLoader looped back to a builtin webserver, also hosting the article that explains it all... Total download size? 115k! (By the time you read this maybe more, but then it'll have more features :)
(executable java5 jar)
The code is on...
Here's having a go at John's
address form using gridbaglady.dev.java.net.
Here is the jumble of code...
public class AddressFormPanel extends JPanel {
JTextField firstName = new JTextField();
JTextField lastName = new JTextField();
JTextField phone = new JTextField();
JTextField email = new JTextField();
JTextField address1 = new JTextField();
JTextField address2...
I really am so IRRITATED by now with all these Top Ten bookmarks, Goddamn! But if you can't squish 'em like a bug then join 'em like a feature?! "Be the change you want to see in the world." I tried that, doesn't work! Heh heh
So I'll start with C++ and then move on to, um, er, whatsit? The other C... No, not Objective-C! The C shh... um... oh frell it, i can't remember!
OK, this is a easy one...
Here is an extract from an upcoming article, called "Enhanced DTs" about EDT "boilerplate" programming.
It starts off looking at moving your boilerplate sideways into a separate class, and then ends off using CGLIB's interceptor
mechanism (which CGLIB calls an "enchancer," hence the name of the article). On the way, we explore some other interesting EDT stuff like Foxtrot.
So anyway, this...