Archive for the ‘PHP’ Category

World of Warcrack

Friday, August 31st, 2007

Yeah, I’m back and coding stuff like always.

I’ve got a script that pulls the XML data out of the armory, parses and stores it for later use in a database.

w0000t

KittenAuth

Sunday, April 16th, 2006

So simple. but it just works.

It stops computers from jumping their way in and is alot easier than most of those “type the combinations” that are hard to read even for human eyes.

I might give this a go on the next bb I setup.

Space Daemon UDP

Wednesday, January 25th, 2006

I have a fair bit of work to do, but when I get stuck coding I like to go off an finish or improve something I started a while ago.

So I rewrote my “space daemon” for my home network.

I was working on a udp based “system status” service for my windows / linux boxen a while ago, this was just a step towards it.

I’ll leave the geeky detail off the main page, ooh brb Kernel COmpile finished,

rebooting.

.NET and PHP SOAP Applications

Wednesday, August 24th, 2005

I have been wanting to try my hand at SOAP between .NET and php (since my xml retreiver works, but I hate the issues I have with latency.

I haven’t found anything concrete, but i’m sure some of the modules I have included in the project have memory leaks, which by now I thought .NET was like delphi and it was *hard* to create any kind of dodgy leaks.

Anyway, i’m linking this more for my own records, but hey, if anyone actually reads this site … i’ll probably fall over.

Javascript and CSS, Making Pages Dynamic

Tuesday, August 23rd, 2005

I have always had a hate / dislike relationship with javascript.

I have never considered it reliable enough to use in websites, different browsers baulk at different things.

To my point, The company website I am working on at the moment needs a collapsing side structure, for the first time in a long time I used javascript with a style defined on each block with “display:none”, Mistake Number 1.

The other day I was viewing my test site remotely and i decided, lets try this out on my Pocket PC, i wonder what kind of javascript support it has !.

None.

So I got bored and basically set all the sidebars to “display:block” and then in an onload script (the .js file is generated by php) it closes the unused ones.

So in a Pocket PC Internet Explorer, it shows the menus fully deployed, in Firefox / PC IE it collapses the unused (deselected) menus.

HUZAAH !

Kosh’s Sidebar

Friday, August 12th, 2005

If i get bored tomorrow, I might upload a screenshot of my sidebar i use in mozilla.

It basically monitors the connection speeds at the routers and the disk space / disk temperature
on my file server.

it has world time, but that was because when I first made it I was working in a company that had divisions around the world, and I needed a quick reference while I was learning the time zone differences off-by-heart.

Persephone – Name Change

Tuesday, August 2nd, 2005

Should that be Codename: Persephone now ?

After speaking with the guys at work (Persephone was always a codename, every reference to it comes from my Constants class) I believe it will be named
*drum roll*
Lighthouse.

Which works well with logos etc, so we may well be seeing the Lighthouse name publicly referenced now.

By *we*, I mean *me*.

There is no I in “Teamwork”, but there is in “Pie”.

Persephone – First Customer Usage

Tuesday, August 2nd, 2005

This really needed to be said.

Today the Persephone System had the first customer ticket logged in it.
It is like watching a child grow up *sniff*.

Although, while demonstrating it the mail update component failed.
It was almost funny.
During the beta stage, the Notify via Mail functions were seperated to allow the child classes to call more specific parts of the parent (eg. Combining the current notify list with the “Auto Notify” list, which was part of the notifyMail() function before).
What went wrong? I hadn’t updated the array references in the seperated notify “compiler” function. So it would only notify users that were in the AutoNotify List, noone else.

All Fixed Now, but it is still a stupid thing to get left behind.

Kosh’s Sidebar – Bandwidth

Tuesday, August 2nd, 2005

I have been looking at making a load balance between my two main download links (Rikku and Vandread) since i’m doing a Debian update at the moment, and Vandread is saturated.
But Rikku is sitting there with almost no utilization. Grrr.

I sm just putting my idea out there, but I am considering searching for and modifying or writing a modification to squid to allow it to sense load from my gateways using my “remote data daemon” (how my sidebar gets those figures at the moment, they are updated every second at the server and every 20 seconds in my sidebar at the moment)

Basically squid would have to query the gateway periodically to check load and then use the link with the least load, it could probably tie in with my usage monitors and then try to avoid pushing Vandread over it is data cap (since my routed range is handled on Vandread’s link).

I have got a machine I was working on for this specifically, it just used a catch to make a host route for in use connections to the current and change the default link when it sensed load was too high on one link.

Worked ok, but it is very … nasty, especially to UDP traffic, but it was only a proxy server, so it was not too bad.

Past Tense, because I trashed the box and moved back to my original proxy when I got sick of the lack of reliability (in the box, not the OS).

Anyway, here is an image of how my sidebar looks like at the moment. Image Here

CVS Commit – Persephone

Sunday, July 31st, 2005

Weekend Coding for Work, if I had time to code the mood plugin, it would say “tired”

Still got a fair bit todo.

Just to explain what i’m building (because I feel like it), I am building a system I have codenamed “Persephone”, it is basically a custom designed Customer Management/Ordering/Sales/Etc Management tool.

A *HUGE* workflow system, and it is pretty much 55% complete. I would have more done, but I also have to do normal work, so it’s been confined to here and there.

I am about 85% through the ticketing system, so tickets can be logged and processed according to workflow.

And just because i’m pretty much a stickler for neatness, it’s mostly written in modules that register and hook into events created by the interface module. I am really proud of some of the tricky event handling and sql i’ve put into it.

If I could get it to cook breakfast and wake me up, I would marry it.

Incidently, I could make a system module for it, which would do that :P , Infact a simple circuit up to a LPT port around here …. oooh I have shivers at how geeky that would be

EDIT: The reason I entitled this “CVS Commit” is because I just commited most of the work I have done this afternoon.