Dec 3
So, I was learning a scripting language awhile back to help automate and secure some things with our public computers. The scripting language is for use with an application called "AutoIT", which is, well, both a compiler and run-time for the scripts themselves.

I needed to detect if an application window was present on the screen, and if it was, take appropriate action. So, looking at the following code documentation:
WinExists
--------------------------------------------------------------------------------
Checks to see if a specified window exists.
WinExists ( "title" [, "text"] )

I wanted to make sure that things were working as they should, so my test for this was as follows:


The problem, which I was unaware of, is that I apparently can't make the test (value) comparison in the manner that I did. The proper way to use this method was as follows:


What a bummer.

Posted by Brendon Kozlowski

Dec 3
I'm not much of a traditional reader. Ever since I was jaded from using my actual imagination by my father, I had completely lost interest in fictional writing, and I never had an interest in history. My primary reading interests now focus only on technology, programming, and things related therein. So, although my reading habits may be boring, I'm still excited about my recent purchases.

I've been needing to use Subversion for awhile now, and although I have it set up and installed, running, and have used it a few times, I really don't know the actual power and capabilities to truly use it, so...now hopefully I will with the following book.
Version Control with Subversion

...and in the honor of trying to keep up with the current trends, I also purchased a book to show how to use (and the reasons for using) Git:

...currently on pre-order, the book is released at the end of the month. Until Git is easily installable on Windows without a lot of pre-requirements, I don't see this being very helpful to me though, but it's always important to at least have a working knowledge.


Now, as a somewhat interesting book that I've felt I would be able to use well in my market, I came across (quite by accident) a little treasure entitled "Selling to the VP of 'No'".

Here's the book's description:
He might be your sales prospect, your boss, an investor, or the chairman of the board. He is also one tough dude. He has to be. Every hour of every day, someone tries to sell him something. He has one way to deal with them: Say "NO." It’s brutally simple, but it works, because most people are simply a waste of his time. Selling Stars know how to break through that tough exterior and get the VP of NO to listen to their story. In this short, visual book, you will learn the secrets of the Selling Stars: how to turn the VP of NO into the VP of GO!

Awesome. :-)

Posted by Brendon Kozlowski

Nov 20
So I've been asked by the Adult Services department head to come up with a means to retrieve and store statistics for "Questions Answered at the Public Service Desks". Currently, they're using a pen and paper approach from a template created in Microsoft Word. Each staff member (reference librarian) at the desks (currently using the paper document) has to print out one sheet per day (therefore, the Reference Desk has 2 sheets each day, Information Desk has one sheet) and will tally (slash slash slash slash, cross) the number of questions asked, separated by hour(s) (9-11, 11-1, 1-3, 3-5, 5-9). There's also a section for notes such as "We need the following items...", "Interesting Questions", and "Suggested books/items to order".

He mostly wanted a way to reduce the paper trail and become more "green". All those papers are then returned to his desk at the end of the day. He tallies the results at the end of the month. That's approximately 3*5*4 = 60 full pieces of paper to go through to count (by hand) all of the stats, as well as read (all at once) the comments and/or notes. Granted, I don't know if he keeps a running tally (one would hope), but either way, that's a lot of unnecessary work.

Since other desks/departments may find this useful, I've extended the schema in the database that will hold the information to account for that. Although it can all be managed via a web page (and is currently working as such in skeletal form -- thank you, CakePHP and 5 minutes of time), I've opted for a better solution. Since it'd be unruly to require a webpage to be open at all times, or dealing with load-times on a webpage from a favorite or desktop shortcut, I'll be developing a dynamically created UI using Adobe Air to allow for a desktop application. All it will require from the staff member is to either click on a button (and then verify -- requested from the department head), or fill in a text box. Upon installation the application will verify which public service desk it is at and use that information from then on.

The department heads in charge of each service desk (in case any other departments wish to use this) will then be able to view reports and statistical data from a staff intranet page, as the database will be maintained on our webserver. I'll probably integrate it with Open Flash Chart like I did on a personal project - it turned out really nice looking and was easily stylized (with a little understanding of its settings).

Hopefully when all done I can post some screenshots of the first draft of the final product. It's meant to be very simple, but nice with features...we'll have to see if I deal with connection issues to the database (as Adobe Air also has a local file store and can check on server responses). Either way, I have a lot of reading ahead of me on Adobe Air now that the database schema is complete. The statistics will come last...but we should have hourly, daily, weekly, monthly, and yearly break downs.

Posted by Brendon Kozlowski

Nov 5
Saw this on YouTube after doing a search on motivational posters of the same title.

Posted by Brendon Kozlowski

Oct 30
When the Saratoga Springs Public Library website was redesigned, although I used a static width (set to something like 720px wide) for the content area, I intended for it to be easily resized with supporting browsers. I made sure to set everything (else) to size with EMs in CSS (similar to percentage).

...an issue with the top navigation cropped up on some computers that I could not identify, nor could I figure out how to solve. For 95% of browsers I tested, and 100% with a vanilla install of Windows, everything worked fine. For those others, the navigation links at the top of our site just didn't seem to align. I thought it might have something to do with DPI or visual settings, but I had no idea how to accommodate for that.

Well I completely accidentally ran in to William Kolean's solution of fixing this issue with Microsoft's CSS expression engine. As the issue was only seen in Internet Explorer (and I already had an IE-specific stylesheet to fix tiny issues), this was a perfect solution, and I put it in to use (just now, actually). I can verify that it worked (on my first and only test) so I'm quite happy. I thought I'd post this for my own records, and to help others too.

http://www.williamkolean.com/williamblog/?p=18
Thanks, William!

Posted by Brendon Kozlowski

(Page 1 of 29, totaling 143 entries)