Blog tedium
I realise I’ve probably harped on about this before, but it really is astounding how little shame certain bloggers have.
In a way, it’s admirable. It takes a lot of guts to proclaim to the world so gleefully that you’re a hapless incompetent spastic who can’t struggle your way out of a wet brown paper bag.
Of course, no such rant is complete without naming names and humiliating random people who have meant well and are in all likelihood affable friendly chaps. So let’s start with Jason Bell.
Jason Bell was at some point doing something at JDJ (thus his visibility). Jason’s real claim to fame however is his astounding ability to turn the most trivial events of daily life into obscenely tedious blog entries. How can we forget his endless quest for a consulting gig? His childlike amazement at the benefits of WiFi? His stunned (but very vocal) surprise at various hotels and their networkability.
It’s almost cute. He’s clearly a bit of a village bumpkin who lives out in some plebby little collection of mudhuts in the middle of England, so his amazement and wonder and trials and tribulation with the rigours of a life of an IT tosspot can perhaps be forgiven.
Then of course we have the legions of wannabe sysadmins. For this the blame lies squarely on the shoulders of linux and the colo cottage industry. Any little grunt who knows a smattering of command line tools (which lets be honest, is in fact much easier than figuring out windows) thinks that this somehow makes him qualified to run a server unassisted.
Predictably, the result more often than not is endless whines to the tune of ‘today, I’m moving providers, I’ll be spending the new few days (!) configuring everything and things will be back to normal soon’, ‘sorry, my db died, I will be spending X days fixing stuff’, ‘my server was hacked, boohoo’, ‘I am switching blogging software because my significant other keeps laughing at my genitalia’, ‘my genitalia is broken, so I will add more ram to my server’.
So so many of these problems could be solved if this group of rumprangers were to ask themselves a very very simple question before vomiting all over their input device of choice, ‘is it conceivable that there exists a human being who might somehow find my blog, and having done so, read this entry, and having done so, found it not the worst possible use of a spare 20 seconds?’
Of course, once you add in the releasecriers (osx jdk 1.5 is out!), installfappers (today I installed X, looks interesting), linkhags (look here pointlessly for 3 seconds while I tell you to go there there and there!) and plain old yesfags (I agree) you’re left with about 3 worthwhile entries a day in this particular community. How’s that for conclusive proof that java people are clueless self-absorbed soulless degenerates?
May 6th, 2005 at 4:54 am
Hi all,
I’m trying to create my own ImageButton class in JDK 1.0.2. The usual
way for this (from all the classes I could see which already do this)
is by extending Canvas. This however is no good for me as canvas has
that stupid grey background and wont show the applet background behind
it. So I thought of writing my ImageButton class extending component.
However, I’m having problems with this. Does anyone have any
pointers/help/classes they’re willing to share?
May 6th, 2005 at 4:57 am
Honey,
Thats what Canvas is suppose to do. Canvas is the correct way to do it, and only have Canvas the size that your button will be. Note, that the Label control for example, does not shine the background through. None of the controls do.
You need to override the setSize range of methods and adjust these. Do not let a layout manager size the control without your say so.
Hope this helps.
May 6th, 2005 at 5:00 am
This is pretty simple stuff (I hope!), I have an applet that is
brought up in a new window (ie, it isnt the first browser window), and
when the user clicks on a quit button in the applet, I’d like to
display a goodbye page in that window. So how do I launch the url from
within the applet, and make it display on the window the applet was
on?
Honey
May 6th, 2005 at 5:01 am
When using showDocument specify the frame to be “_self”.
This will work a treat.
Alan
May 6th, 2005 at 5:02 am
Besides my “server is hacked” blog entry which is indeed just of medium interest [but i tried to put in some advices for other wannabe sysadmins too which makes it at least readable] there are other blogs which can easily top that. Take “Jack is crawling!” from Matt, so even the best bloggers like Matt and me :) have some blackouts here and there. Or its just that some things seems important to the writer where some others dont share the importance. Its like the real world, Bush found it important to bomb Iraq where my interest in that was not that big.
May 6th, 2005 at 5:04 am
Hold the phone Honey…
Using Java 1.02:
You say that your component can’t be extended from Canvas because of it’s background? So why don’t you pass the background of the applet to your
component? I’m going to assume that your applet’s background is a tad more complex than a solid color. Otherwise, just pass the background color to your component.
If this is the case, simply clip the portion of the applet background that will be underneath your component (using clipRect()) and pass it as an
image to your component. Then, in your paint(Graphics g) method, create an offscreen java.awt.Graphics context and point it at your background image with
Graphics og = my_bg_image.getGraphics();
Then draw your component onto the image… (I’ll assume it’s going to be a button)
og.setColor(my_border_color);
og.drawRect(0, 0, this.size().width, this.size().height); // etc…
// do whatever else you were planning on doing to it here
then draw the new image to the onscreen context…
I tend to build my paint() method in this fashion…
public void paint(Graphics g)
{
super.paint(g);
if(image = = null)
{
// image is always null when your component is first constructed.
// this is where I create my component using the offscreen Graphics context and an offscreen image buffer – double
// buffering (or image buffers — depending on the number of differant state related views the component requires)
}
g.drawImage(image, 0, 0, this.size().width, this.size().height, this);
// g is the onscreen Graphics context
// “this” is the Image Observer
// Commonly, I’ll stick a switch statement here instead of the single g.drawImage() method so that I can draw the
// appropriate image for a given state (such as BUTTON_PRESSED or BUTTON_NOT_PRESSED etc.)
}
I hope this helps.
May 6th, 2005 at 5:08 am
Hi, I’d like to be able to install multiple browsers in order to test
my applet under them all. Ideally, I’d like Netscape3+4, and IE3+4. Is
there a way to install all 4 of those and ensure they coexist happily?
Honey Bunsman
May 6th, 2005 at 5:10 am
Honey Bunsman,
You can install as many versions of netscape as you want. (I have 3.0, 3.01, and 4.01 on my machine.) IE puts some DLLs in your system directory that have the same name for IE 3 and 4. These DLLs contain
the Web Browser control. (OLE, OCX, ActiveX, whichever name you prefer.) As far as I know, you cannot have multiple versions of IE.
May 6th, 2005 at 5:21 am
When did this turn into a chat. WTF is the applet chat?? Anyway, I agree Hani. I am probably a big part of that crap-pile too. I read through some of my daily posts. In a year, I probably posted one decent article. And, me personally, I(we) need help, like a therapist telling the sex-addict to give his right hand a rest. Your article will hold off my garbage posting for a couple weeks or so. Why do we do it? It is so easy to do. I could wake-up, think to myself, hmm, “Bush is stupid, I need to blog this, I may forget my brilliant thought.”
But, in all fairness, the good ones are good and probably better than reading out of date,static web pages.
For me, I am done, I am out. I was thinking about this, all week too. So of you others should calm down too.
May 6th, 2005 at 6:09 am
These comments, you’re joking right? Read the fucking blog your comments refer to. “Is he talking about me?”, what the fuck do you think, does Java = stupid?
Suck my applet computer nerds….
6+59= ummm, 65? Maths is hard after 7 beers
May 6th, 2005 at 6:24 am
You can install multiple versions of IE. Go to browsers.evolt.org and follow the link for “standalone versions of IE”
May 6th, 2005 at 6:34 am
Yes, I totally agree.
May 6th, 2005 at 6:39 am
mico, you might want to try searching for those applet questions on google groups before getting too excited…
May 6th, 2005 at 8:42 am
Kudos to Honey / Alan… that truly is funny shit.
May 6th, 2005 at 10:25 am
Worst. Blog Entry. Ever.
I am dumber for having read it. Thanks Hani, now I almost fit in with all the other dumb-asses.
May 6th, 2005 at 12:32 pm
All I can say is that any cowardly loser who isn’t willing to reply to people’s comments on THEIR OWN BLOG ought to just stop blogging.
Are you listening, Hani….THAT MEANS YOU!!!
May 6th, 2005 at 1:33 pm
“So let’s start with Jason Bell”
Yes, but you never got any further. I want names. NAMES DAMNIT!
May 6th, 2005 at 9:05 pm
Oh come on
Blogging of any type is an exercise in masturbation.
It allows you to talk without having to find someone to talk to, a kind of insane muttering to the world in the vain hope someone will hear it and rush to you to tell you: “Wow, you thoughts are amazing, the mere sight of them makes me want to know you and sit in rapture”
An Hani, don’t tell me you don’t sit there and watch the comment count increase, just to see how many people out there are listening ….
May 6th, 2005 at 9:29 pm
“All I can say is that any cowardly loser who isn’t willing to reply to people’s comments on THEIR OWN BLOG ought to just stop blogging.”
So the interesting thing, of course, is that we don’t know that Hani doesn’t respond. For all we know, he does. Heck, I could be Hani and you wouldn’t know.
-Patrick
May 6th, 2005 at 10:11 pm
I installed Drools 2.0-rc1 today, it looks pretty interesting.
May 7th, 2005 at 6:19 am
No, I’m Hani
May 7th, 2005 at 6:19 am
No, I’m Hani
May 7th, 2005 at 6:20 am
No fuckfaces. I will make destroy you! I’m the real Hani.
May 7th, 2005 at 12:18 pm
Writing a blog entry about how boring conversations with people are is not Java related.
May 9th, 2005 at 1:15 pm
releasecriers, installfappers, linkhags and yesfags… blogs, like life, are run by middle management and RIAA executives who mistake echoing for actual content.
May 9th, 2005 at 1:54 pm
Forget all this, im busy looking at Lindsay Lohan’s Nip Slip :-)
May 13th, 2005 at 11:22 am
Could be as kind as to make a few devastating blog entries about Python? I enjoy rants so much more when they’re bullseye about stuff I outright like.
October 4th, 2005 at 6:28 pm
I agree
October 14th, 2006 at 8:38 am
These comments, you’re joking right? Read the fucking blog your comments refer to. “Is he talking about me?”, what the fuck do you think, does Java = stupid?
Suck my applet computer nerds….