Archive for the ‘friends’ Category

VLC kicks even more butt - it streams!

Wednesday, March 4th, 2009

I knew VLC was great for playing video files, especially those files I hadn’t been able to play using other players… & it’s even cross-platform! What I hadn’t paid attention to before was it’s ability to stream videos.

My friend, Craig Fowler (aka ToreadorVampire), recently ran me through the process rather quickly… I didn’t have much time and he didn’t have anything really written up… It was a last minute discussion over IM and I thought it could help to at least get people pointed in the right direction.

There is some documentation up at videolan.org (Streaming HowTo/VLM - VideoLAN Wiki) that shows how to set VLC up to do the streaming, talks about the HTTP interface, etc, but isn’t an instant answer.
(more…)

  • Share/Save/Bookmark

The Peoplehood of Mini Cooper Owners

Sunday, March 1st, 2009

I got my Mini Cooper last October (about 4 months ago). While I thought I realized before getting one that they were an enthusiast car, apparently I had no idea…

Sure, growing up we went through a couple of VW Vanagons and we’d get a wave every once in a while when we were out on vacation… In almost any car driving down back roads running into the occasional farmer will yield a wave or a hat off. The only other recognition I think I’ve gotten from other people as I’m driving down the road is when I had my really sad and pathetic ‘95 Saturn S-1 - people had a tendancy to give me the finger <sarcasm>telling me I was #1</sarcasm>.

I think about 80% of the other Mini Cooper drivers I’ve come across have waved or nodded at me… After realizing it wasn’t because they thought they knew me, I’ve started waving back. I’ve not waved at people since… well, as a kid in the back of the Vanagon when I’d also pump my arm at tractor trailer rigs to get them to blow their horns.
(more…)

  • Share/Save/Bookmark

Bohemian Rhapsody on Digg and Chad After Dentist

Thursday, February 12th, 2009

Some people just have way too much time on their hands…

Somebody posted a link in IRC to this very long screenshot of the Bohemian Rhapsody with each user posting a single line… Geeze, the things that take talent and social engineering these days…
(more…)

  • Share/Save/Bookmark

Turmoils of Freelancing

Saturday, May 10th, 2008

Last October a friend of mine contacted me about helping him finish up a project. I agreed because if we could pull this off it would mean more projects with his client. The due date was early December and by mid-November I had pretty much finished putting all the various forms together, the various category controllers, etc. All that was left was to figure out which categories the different forms needed to go into and connect them with the stored procedures in the database.

Then things suddenly got quiet. I didn’t mind because I was overly busy at work (see Jobs, Jobs, & More Jobs - Part 1) and was also in the process of getting another job (see Jobs, Jobs, & More Jobs - Part 2). After the job change I found out why - the client had hired their own programmer and told my friend not to bother doing anymore because it’d just be a waste of his time.
(more…)

  • Share/Save/Bookmark

Email: Top 8 Morons Of 2007

Wednesday, March 26th, 2008

I found this in my inbox from a friend of mine who should know better. However, I guess it was time for an update and some of these are pretty good for the moron list.

1. Will The Real Dummy Please Stand Up? AT&T fired President John Walter after nine months, saying he lacked intellectual leadership. He received a $26 million severance package. Perhaps it’s not Walter who’s lacking intelligence.
(more…)

  • Share/Save/Bookmark

addEventListener/attachEvent & Function References

Wednesday, September 13th, 2006

Craig Fowler stumped me today until he provided a further sampling of his code. Shortly thereafter I realized what the issue was as I’ve run into the same issue in the past (& hopefully this page will prevent me being stumped in the future).

The code he initially presented me with was

<a onclick="obj1.doSomething();"> ...

and he stated he was having issues with using this.someMethod(); inside of obj1… i.e.

var obj1 = new function() {
    this.name = 'Object 1';
 
    this.doSomething = function() {
        this.someMethod(
            'Hello, my name is ' + this.name
        );
    };
 
    this.someMethod = function( text ) {
        alert( text );
    }
};

Granted, you really wouldn’t write code this bad, but we’re just whipping up a quick example to test the problem.

well, putting <a href="#" onclick="obj1.doSomething();"> works just fine… At which point Craig mentioned that that was the end result he was wanting… what he was using to attach it was this snippet from a function -

if(eventElement.addEventListener)
{
    eventElement.addEventListener("click",       subscribers[currentSubscription].shout, false)
}
else if(eventElement.attachEvent)
{
    eventElement.attachEvent(”onclick”,       subscribers[currentSubscription].shout)
}

I had to laugh as soon as I saw it because I remembered doing the same thing. Javascript variables are not really variables… what you create with var a = 1 + 1; is a reference to a protected variable inside the Javascript engine. There are alot of detailed discussions about this elsewhere so I won’t go that route.

Initially looking at the code you may think that the function you’re giving to addEventListener/attachEvent is going to be the code that goes inside the onclick event… i.e.

element.onclick = function() {
    passedFunction();
}

But in reality what is happening is this -

element.onclick = passedFunction;

I don’t know of any good solutions. The solution I had come up with before was to write a proxy function. Craig did the same thing in writing a proxy method into the parent class. A proxy function would be something like the following -

function proxyFunction( evt ) {
    evt = evt || window.event;
    ...code to determine what function *really* needs to be called...
    if ( realFunction ) {
        realFunction();
    }
}

  • Share/Save/Bookmark

Craig Fowler - ToreadorVampire

Wednesday, September 13th, 2006

I ran into this guy while I was a chat host for TSR & he was still around when Wizards of the Coast bought TSR. He’s been my windows go-to guy for obscure & obscene windows questions in the past.

Lately we just seem to swap JavaScript notes as he’s moved away from administration & more into the programming aspects. I even got him interested in linux :)

He currently has a website posted at http://toreadorvampire.serveftp.com/. Currently he bugs me on occasion about his Custom JavaScript Events Demonstration.

  • Share/Save/Bookmark

Aeo’s Basement - Flooded?

Saturday, September 9th, 2006

Aeo’s Basement

I’ve known Aeolius for years & he’s always had some of the “weirdest” games. There was the “Land of Black Ice” campaign, then there was the underwater campaign, and who can forget the planes campaign. He’s also talked to us about all his fish tanks & rare fish… I think he has more fish tanks than some professional aquariums.

Considering his love of fish & aquariums, it comes as no surprise that he’d flood his basement… or did he? I’ve not had a chance to ask him about it as somebody else dropped the URL to the basement picture in chat. However, I’m guessing it’s a painted or laminate type of surface that’s been glossed over. I think the white baseboard adds to the depth of the “water” quite nicely.

It also looks as though they’ve finally got the property they wanted & are quite excited about it. You can see pictures & video at Aeolius.com.

  • Share/Save/Bookmark

I’m a Kitty Cat

Wednesday, August 30th, 2006

Some people apparently have way to much time on their hands… Of course if it wasn’t for them we wouldn’t have something like this available -

http://youtube.com/watch?v=ICQurmV-Exc

yes, watch it & be entertained… Yet another YouTube posting from Gretchen Dawntreader in EVE-Online.

  • Share/Save/Bookmark

Custom JavaScript Events Demonstration

Tuesday, August 29th, 2006

A friend of mine & fellow web geek in the UK, Craig Fowler, has been working on alot of JavaScript lately. He put together a fairly nice library for timed events & such for a visual gallery a while back. Lately he’s been working on a lot of the documentation for it & recently gave me a link to 1 of the demonstration pages -

Custom JavaScript Events Demonstration

  • Share/Save/Bookmark