Saturday, April 25, 2009

JavaScript Toys Library

Edit: The library has been updated with 2 bug fixes - Thanks to Gartheepan for finding the bugs - they were problems associated with window resizing. The download link is to the new version

As part of my javascript learning/brush-up, I am working on a JavaScript library that would offer easy to use UI widgets. Things like split vertical panels, split horizontal panels, tabbed windows etc...

I have created a javascript library that offers the easy ability to add these UI components - called JSToys. It may be downloaded from here - jsToys_1.1.zip

Here is a demo to show what it is capable of:

Labels: , , ,

Tuesday, April 21, 2009

Old Undocumented Project: Turtel

Going through my source files, I came across one of my old projects. A very interesting one...that I eventually somehow forgot about..till I saw it today. I had code-named the project 'Turtel'. It's undocumented in the sense that I never mentioned it in the Blog.

The project was an attempt to understand the effectiveness of different indicators and strategies if used in the stock market.

I was also exploring Design Patterns at this time. The project became multi-purposed - to improve my understanding of the patterns (I seemed to have used the Strategy Pattern and the Factory pattern in my implementation) and explore the effectiveness of investment strategies.

Here is a link to the last version (I believe) - where I left off - Project Turtel

The page above is not very interactive. But what it does is very cool (imo :)). You pass along 5 variables in the query string: fee, P, K, symbol, days, show

Fee is the transaction fee per purchase/sale
P and K are used for cross-overs I believe - values of 10 and 2 for example mean when the 10 day SMA crosses the 2 day SMA etc...
Symbol is the stock symbol - as listed in Yahoo (for example RIM would be RIM.TO)
Days indicates the number of days of data to use - a value of 100 would mean use the last 100 days of data
Show indicates whether to show the dates and quantities of transactions. A value of 1 means "yes, do show"; anything else means "no, don't"

Two strategies were implemented at the time - SMA cross-over and I think MACD cross-over. The outputs are based on these two.

Here is an example of the URL with the query string. The bolded parts are what you would change to see the output for the new values.

http://www.ai-projects.info/Turtel/sim/driver.php?P=10&K=2&days=501&show=1&symbol=RIM.TO&fee=0

May be I shall continue this project some day. But for now its probably going to stay in its suspended state. This is one of the reasons I like to look into my old stuff - I usually find something interesting :)

Labels: , , ,

AiBloggerBox (now BrightBox): Version 1.0.1 Release

Edit [May 31, 2009]: The instructions in this video are now out of date. In fact now it is easier than shown in the video to set BritghtBox up.

AiBloggerBox (now BrightBox) - now has been bug fixed and version 1.0.1 has been released. Version 1.1 is soon to be released as well.

Version 1.0.1 can be downloaded from here: AiBloggerBox

Version 1.0.1 notes:
Version 1.0 released was found to be an incomplete release.
It would not have worked (It was different from the version
running on http://www.ai-projects.info). Sorry about that.

Here are some updates on this version (from the correct V.1.0).
- Using addEventListener to add events so that this does
not kill all other mousedown and keypress events on the
document
- Added a check to see if onblur is set on the link element;
this would improve hit rate - no/low false positives. Meaning
it will not kill your other image links

Here is a quick video on how to set this up.

Labels: , , ,

Monday, April 20, 2009

AiBloggerBox: Version 1.1 - Soon to come

Edit: Prior to release of Version 1.1 - Version 1.0.1 a bug fixed version has been released. You may read about it or download it from these links. There is also a video on the setting up process, which you may watch at the bottom of this page as well.

This is a follow up to the previous entry on AiBloggerBox.

There were some comments from readers that this did not work at their sites. During that time I was on vacation and did not see their comments.

I plan to test AiBloggerBox more thoroughly now and make some enhancements :) - and release a working (as in works at all blogger sites ;) , not just mine) version. I just thought I would post the update here now.

Labels: , , , ,

Site Launch: Renthunt.ca

Should have posted this sooner. But here it is. The "LocFinder" project has been renamed and moved to its new home - RentHunt - http://www.renthunt.ca

Feel free to check it out! Hopefully people find it

Labels: , , , ,

Thursday, April 16, 2009

LocFinder V1

In about 2 days :) - the first version of LocFinder is ready

I am planning on some feature additions and more sites to crawl later..currently the information contained comes from crawling only rentershotline.ca. I am thinking of having the bot crawl it every night...so the information would get updated in 24 hour periods.

The rental information is represented graphically, but if you want futher details - it links back to rentershotline.ca

Labels: , , , , , , , ,

Tuesday, April 14, 2009

Quick Update

The busy school term is almost over. I just have 1 more exam to go..I figured I can loosen up a bit now. I have two ideas that I really want to implement in the next short little while. I'll call these projects LocFinder and LuckFinder:

  • Loc Finder - We (a couple of us) are looking for rental places..there are many sites out there with a lot of information...found them kinda hard to use...I figured, I'd create a web crawler that crawls these sites and presents the information in a very friendly form.

    I thought this was done well by Subletr. Unfortunately...it doesn't seem to work anymore :(

    Well, this has given the opportunity to fill that gap. Here I go.
  • Luck Finder - Can't explain this now...I want to implement it first :)

Hope to have this done soon! :)

Labels: , , , , , ,