Calendar

The calendar provides a means to access entries in this weblog

« March 2010
S M T W T F S
  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      

Last Comments

Simon (New puppy.): You should see it in person too, lord it stinks !! …
Ethan (New puppy.): Erin is jealous, but I dont know why..Like you said…
Simon (Zombies will eat …): that zombie can have my branies, they’re useless to…
Sigh-Moan (Mmmmmm, bacon...): isn’t bacon supposed to be snow white?
Jay (Free high-quality…): I like icons!
Lorne (Upgraded Gallery): OMFG, methinks you are well down the slippery slope…
Lorne (SPAM, beautiful S…): Another peeve along the same lines: 1) retard has…
Lorne (ualuealuealeuale.…): Will someone explain this damn thing to me, I have …
Lorne (Best headache rel…): Oh for the love of Yahweh, chapstick for your foreh…
Lorne (XP Remote Desktop…): One feature about remote desktop that does not seem…

Last Referrers

x::x

Archives

Next Archive Previous Archive

01 Aug - 31 Aug 2003
01 Sep - 30 Sep 2003
01 Oct - 31 Oct 2003
01 Nov - 30 Nov 2003
01 Dec - 31 Dec 2003
01 Jan - 31 Jan 2004
01 Feb - 28 Feb 2004
01 Mar - 31 Mar 2004
01 Apr - 30 Apr 2004
01 May - 31 May 2004
01 Jun - 30 Jun 2004
01 Jul - 31 Jul 2004
01 Aug - 31 Aug 2004
01 Sep - 30 Sep 2004
01 Oct - 31 Oct 2004
01 Nov - 30 Nov 2004
01 Dec - 31 Dec 2004
01 Jan - 31 Jan 2005
01 Feb - 28 Feb 2005
01 Mar - 31 Mar 2005
01 Apr - 30 Apr 2005
01 May - 31 May 2005
01 Jun - 30 Jun 2005
01 Jul - 31 Jul 2005
01 Aug - 31 Aug 2005
01 Sep - 30 Sep 2005
01 Oct - 31 Oct 2005
01 Nov - 30 Nov 2005
01 Dec - 31 Dec 2005
01 Jan - 31 Jan 2006
01 Feb - 28 Feb 2006
01 Mar - 31 Mar 2006
01 Aug - 31 Aug 2006
01 Apr - 30 Apr 2007
01 May - 31 May 2007
01 Jun - 30 Jun 2007
01 Jul - 31 Jul 2007
01 Aug - 31 Aug 2007
01 Oct - 31 Oct 2007
01 Jan - 31 Jan 2008

Links

Google
Pivot
Adrian's gallery
My DVD/CD list

Stuff

Powered by Pivot - 1.40.1: 'Dreadwind'
XML: RSS Feed

About

This little weblog serves two purposes: First, I want to have a live environment to test the new version of Pivot, as it progresses. Secondly, I needed a place to log about stuff i don't want to bother the readers of my regular weblog with, like news about PHP, browsers, CSS, weblog-tools, webdesign and the like.

Linkdump

+ 0 - 1 | § DISA for Asterisk

In order to set up DISA on Asterisk@home (or Asterisk if you put this in extensions.conf rather than _custom.conf):

[ext-local-custom] exten => 9998,1,Answer exten => 9998,2,DigitTimeout(5) exten => 9998,3,ResponseTimeout(10) exten => 9998,4,Authenticate(xxxx) exten => 9998,5,DISA(no-password|from-internal)

to extentions_custom.conf; where 9998 is the extention you want to dial and xxxx is a numeric pin

**** If anyone can help me figure out why this hangs up on me; please drop me a note at adrianhensler at gmail (dot) com. It authenticates okay; but then either times out or just hangs up after I try to dial.

+ 1 - 1 | § Common Java errors

I'm starting to feel like I might have some promise. I made a few nice generic errors today; and caught them. One that I was proud of was realizing that I had used the '=' to test for equality rather than '=='. Not only that; but I had also been checking to see if one string was equal to another string of equal contents. But of course; they were'nt the same objects to this test failed; because I obviously wanted to test for equality of the string contents of those two objects. (Hello$ = "Hello" is not equal to a string called Hello2$ that also holds "Hello" because they are not the same object. If you had Hello$="Hello:; Hello2$=Hello$ then they refer to the same object and Hello$==Hello2$. To get the desired results I used the s.equals(test) as in "Hello".equals(Hello2$). I also missed dozens of semicolens and I am starting to get the hang of some of the Java compiler errors. This error though; was today's best:

Exception in thread "main" java.lang.NoClassDefFoundError: HelloDate/class

I spent about 30 minutes trying to fix my classpath before giving up and going to Google. Even that took a good 20 more minutes before someone pointed out in a forum that the "HelloDate/class" is the key here. Note to self - when you run a java application; don't call it by "java application.class" (or worse; "java application.java which I kept doing as well); but rather call: "java application". I think I got thrown off by running the compiler so much with "javac application.java". I think I'm about ready to graduate to a proper IDE like Eclipse.org or netBeans.org. Up to now; I've been using the excellent jedit.org.

+ 1 - 1 | § Make XP look like a Mac

I may have to try this; check out the July winner from www.osx-e.com. Pretty sharp. Either that; or try to get a copy of the Intel version of Tiger.

+ 0 - 1 | § Hacking the flourescent light bulb

Hacking the flourescent light bulb is a great idea. Basically; add some flourescing material to a bulb; that way it continues to glow for hours after you turn it off. The idea here is to cover situations like emergency power lighting or power outages. The article even mentions that you can remove the light from the fixture and carry it around, as well as continuing to provide light after being shattered. That had me thinking; so I did a quick search on glow paint and got a few decent results. I'm thinking that painting the bathroom door trim might be kind of fun; or perhaps the inside of a lamp shade. Cool? Perhaps. I haven't run it by Lori yet.

+ 0 - 1 | § Using Java to access password protected URL's

I was looking for this the other day; and didn't find it - and today I stumble on it almost by accident.

If you want to use Java to access a URL that requires a username/password combo; this page will tell you how to do it:
Java Tip 46: Use Java 1.2's Authenticator class

Although I may use this other tip:
Java Tip 47: URL authentication revisited
because it looks like it might be easier for me to wrap my head around and insert the username and password combo right in the code. There are a bunch of user/pass combos that I need to put in there; I know it's not very secure but usability would suffer and the way I want to use this, security won't be an issue anyways.