John’s Musings

1/19/2010

Software fun

Filed under: Technology, Work Stories — John @ 8:12 pm

We had an update to our library system again today. This one was on the test server. Once again the vendor insisted we don’t have a test system. I spent another five minutes of my life arguing with them to convince them that we did indeed have the system that they installed incomplete six months prior. This is at least the fourth time I’ve had to argue this point with them. Yet again today it is supposedly now entered in their inventory system. We will see what happens next time I have a problem.
The upgrade itself went fine, however as expected, it wouldn’t run because the system was never fully setup initially. After a few hours of work the upgrade tech did manage to get it working though. I took the opportunity to ask what she did and replicated it on our production system so it now works correctly too.

4/1/2009

The suitcase is packed… mostly…

Filed under: On the Road, Pirate, Renaissance, Technology, Work Stories — Tags: , , , — John @ 9:43 pm

Tonight I think I may have managed to pack 3 personalities into one suitcase. It wasn’t an easy task believe me. “Why are you packing?”, you may ask. You may even ask, “Where are you going?” Well, its that time of year again when I get to travel for work to the location of the yearly conference for our user group for our Library Automation Software vendor. This year I struck gold with the trip though. It just so happens that the conference is nestled all nicely in the middle of the week that falls between Opening and second weekend of the Scarborough Renaissance Faire in Waxahachie, TX. Waxahachie is 30 minutes south of Dallas and the conference is, yep, you guessed it, in Dallas!
So, this year I get to attend both the conference and the faire. Work agreed to fly me down early and back late, (same price just different days than I normally would have) allowing me to attend the faire on the weekends. Work will pay for my hotel while I’m at the conference, and thanks to a VERY generous friend and his wife, I have a place to crash when not at the hotel.
WOOT! So, look out Scarborough here I come!

For those keeping score, the three personalities include:

  1. Work John
  2. John T. Hawser
  3. Relaxing John

Oh, also, while packing I found a pocket in the suitcase that I had apparently missed when unpacking from the Germany trip, and I found the gift I bought for my mother that I was sure I had lost! She was very pleased.

12/12/2008

Foxmarks in the Library

Filed under: Accomplishments, Technology, Tips / Tricks, Work Stories — Tags: , , — John @ 10:38 pm

Recently I was asked by one of our librarians to come up with a way to easily add bookmarks to our Internet workstations.   A little background on this situation follows.  Our Internet workstations are all Linux based, with a custom version of FireFox.  This custom version of FireFox has a lot of things disabled to keep the browser in a stable stat.   I have removed the ability to modify the bookmarks on the workstation in any way. The event code for drag and drop, the menu items, you name it, its gone.   This has made it impossible for the librarians to manage the bookmarks on the workstations themselves.   Any bookmark changes have required me to connect to the machines via SSH and manually update the bookmarks.html file.    This method was just not convenient, and did not allow for easy updates by any means.

Earlier this week, thanks to the offloading of some tasks to our new employee, I was able to put some thought into this problem.   I needed a solution that was easy to maintain, simple for the librarians to use, and most of all, easy to implement.   That last criteria ruled out creating something from scratch, which I really didn’t want to do anyway.   Earlier in the week a co-worker had mentioned how he had just setup foxmarks on his machine and how it was going to sync his bookmarks both at home and work.   It hit me then, why not take a look at foxmarks.  I downloaded and installed it in my browser, and it did exactly as it was designed to.    I realized then that it was a purely native chrome based app.   This fact about its design made it a perfect candidate for what I needed.

I set to creating a generic account for the library, a simple task thanks to the easy to use interface.  Once that was done, I installed foxmarks into the browser on one of the Internet stations.  Due to the customizations, this was not as easy as it normally would be. ( I have all installation menus, and handlers disabled.  Ooops…) I finally worked out a way to install the extension, and once I did I set it to use the newly created account, and checked the box to save the sync password.   Foxmarks  performed its initial sync, and I was able to confirm the success by browsing the foxmarks website.   I then closed the browser, clicked yes on the dialog to clear all stored personal information and felt confident I had a good start.   I re launched the browser, hit sync, and foxmarks asked me for the password for the sync account.  What? I was certain I checked to save the password.  I checked it again, and restated the browser, again clearing the personal information.  Sure enough, foxmarks asked for the sync password again.   It then occured to me that clearing the personal information was probably clearing the foxmarks password.   That would be a problem for sure.  Confident that the password hurdle could be overcome, I set about to modifying the chrome files, and was able to hid the configuration menu items, and remove the keystroke sequence for accessing the configuration menu.

foxmarks-overlay.xul
    <menupopup id="menu_ToolsPopup">
        <menu id="foxmarks-menuitem" label="Foxmarks" class="menu-iconic"
            image="chrome://foxmarks/skin/images/foxmarks_bug.png"
            accesskey="&menu.accesskey.foxmarks;"
            insertafter="devToolsSeparator" hidden="true">

After the UI modifications were complete I  again launched the browser, and checked over the browser to make sure nothing was visible that could allow malicious patrons to manipulate the setup.    Everything I could think of was tested and it passed with flying colors.  I then added a bookmark via the website, and triggered the sync process.   After entering the password, foxmarks synced and the new item appeared.  Again, I still had to fix the password problem.   I  closed the browser again, this time un-checking the options to clear the password store.  After re-launching foxmarks synced perfectly, remembering its password.  This then confirmed for me that foxmarks was indeed using the firefox password store.  It makes perfect sense that it would, but of course in this situation, it’s very inconvenient.    I again dove into the code that comprises foxmarks.  I found, in the foxmarks-settings.js file two functions that handled the username and password.    As I suspected they ultimately called “return” with the value for the username and password.   A simple one line change to each of these functions resulted in a hard coded username and password that would stay put after a clearing of the password store.  By placing a return() just inside the function declaration we essentially bypass the default actions of  the functions.

 get username() {
	return "our_foxmarks_user_account";
        return this.getCharPref("username", "");
    },

 get passwordNoPrompt() {
        return "our_foxmarks_account_password";
        if (!this.rememberPassword && this.sessionPassword) {

After saving the modified file, I started up firefox and hit the sync keystroke, presto, no request for password or user name, and the browser synced.  I restarted again, making sure to clear the password cache, and again foxmarks worked perfectly.   At this point I deployed the modified version of foxmarks to all of our workstations, and sat back and watched the fun.   Within a short period of time, every workstation had correctly synced its bookmarks and all was well.

Finally I  sat down with the librarians and explained how to work with foxmarks’ website interface.  By the end of the first evening after foxmarks was installed we had a healthy collection of frequently used websites all bookmarked, and categorized.   The sync process has been working well and we have had no real problems.  (there was one point where I had accidentally left one of the browsers restored to its default state and some things were modified, but I caught it quickly and fixed the problem.

This alone would have been a fantastic solution, but not being one to rest on my laurels, today I used foxmarks ability to create RSS feeds from links in folders, and used that data to allow the library to randomly select a link and twitter it.  Yup, more fun with twitter.

11/19/2008

Auto Twitter

Filed under: Accomplishments, Work Stories — John @ 5:18 pm

I signed up for a twitter account this morning.  Looked over the API, and by 9:30 had integrated parts of it into the library website.  Staff with twitter accounts now display their current “tweet”  on the library website.  Not one to be satisfied with that…  I created a new program for use in our library system that now automatically “tweets” every time someone checks out a book from the new book display.

Follow the Todd Library at: http://twitter.com/wcctoddlibrary

9/19/2008

Geeky pirate

Filed under: Accomplishments, Pirate, Technology, Work Stories — John @ 4:30 pm

So what with this bein’ Talk Like A Pirate Day and all I discovered Facebook added “English (pirate)” as an option ya can be choosin’ fer language. Bloody thing don’t translate everythin though… So our library FB app was still landlubber speak. I have now added internationalization support and added pirate as a supported language so now iffn ye be addin’ our app and yer a good pirate you’ll get a piratical version of the app.

4/3/2008

Leavin on a jet plane…

Filed under: General, On the Road, Renaissance, Work Stories — John @ 9:57 pm

My bags are packed, I’m ready to go… wow, funny the song actually fits. I am packed (mostly, I do have to toss in the razor after I use it in the morning) and as ready as I will ever be to attend the SirsiDynix SuperConference in Detroit. While there I will be giving not one, but two presentations at the conference. I’m slightly nervous about that, but I think I’ll do fine. Hell if I can walk up to complete strangers while wearing funny clothes, and have a conversation with them about things they don’t know anything about I can certainly give a presentation to complete strangers about things they no little to nothing about while wearing funny clothes… Wierd how the same description fits both my Garb and a Suit isn’t it? :-) If I survive the experience I’ll fill you all in on the experience. Oh, don’t expect a lot of nice pictures like I had last year… I will be staying in a mega multi-story hotel, and the entire conference takes place in it. Photos may include such sites as… Hallways… Hotel rooms… and my obligatory self portrait in a hotel hallway mirror…
Thanks to [info]docdetroit for the pub suggestion, I have already made plans to visit it tomorrow and possibly Saturday nights for their live Irish music. Oh and just to let you all know, NO I did NOT have tickets on ATA. :-)

Next year’s conference is in Dallas TX, during the Scarby run… MUAHAHAHAH… I am thinking I will have to arrange it so that I can get a few days in at the faire too.. :-)

4/1/2008

Well, I didn’t mob in the first place, so am I ok to remob?

Filed under: General, The Duh! File, Work Stories — John @ 6:48 pm

Today as I was leaving the library I noticed one of the simple little yellow “Wet Floor” signs. The strange thing about this one, was that it appeared that some of our crack janitorial staff added a message in magic marker to both sides of the sign…
Do not remob

It appears someone else had the same question I had… “Remob?”

3/26/2008

The humor of a dictionary…

Filed under: General, The Duh! File, Work Stories — John @ 11:34 pm

I was looking over some server logs, when I noticed a search that had been performed in our catalog that set me to laughing. No granted I realize I have no place to criticize ANYONE for spelling errors, but cut me some slack here, as I found this search quite funny…

Search Term: DICTIONARIE
Results: 0
Search Term: DICTIONARIE
Results: 0

At this point the user must have noticed the catalog tried to fix the spelling for them because the next search did have the word DICTIONARY spelled correctly. Again, I’m the last person who should point out spelling errors, but damn is that funny!

1/21/2008

Dial 0 for “DUH”

Filed under: Technology, The Duh! File, Work Stories — John @ 3:05 pm

Ok, this just happened to me… Holy recursive loop batman…

I dial a support number, the auto attendant answers, “Thank you for calling ____ our hours of operation are ___, please dial your party’s extension, or wait on the line for support”
I wait
The phone rings…
The phone rings…
The auto attendant picks up “Extension ….0…. is invalid, please press 0 to speak to an operator.”
ok… I’ll bite… I press 0
The phone rings…
The phone rings…
The auto attendant picks up “Extension ….0…. is invalid, please press 0 to speak to an operator.”

I’m not falling for that one again…

12/21/2007

Here we come a copying among the…

Filed under: General, Work Stories — John @ 9:16 pm

At 7:49 pm the copier let me know the “copy bandit” was at it again. Today before leaving I setup a program to poll the page count hourly. I now know how many copies this person is making in addition to when they are making them.

I contacted the cadets who actually seemed excited to go catch the person… I feel like an ass in some regards… I mean it is Christmas time, I really don’t want anyone to loose their job or anything over the holidays. Thing is, I don’t want to come back to work and have a broken copier either…

12/19/2007

Copier Update

Filed under: General, Work Stories — John @ 7:36 am

Yesterday I called to check up on my report to security regarding the copier. It seems there was no report filed by the night cadet. The two cadets during the day opened a report and did some investigating. When they stopped over at the library they asked, “So, where is the wrapper from the ream?”
No, I hadn’t mentioned that the 1st thing the copier told me was that tray 1 had been opened. The only reason that would have been the 1st message, would be if the person using it removed the normal paper, and put their own paper in. So, I responded to the cadet, “Well, considering it was probably the cleaning crew… I’m sure they emptied their own trash , but I’m curious to know how you knew there should have been a wrapper. ”
“We have someone on the security cameras coming in carying a ream of paper that is not the same as you guys use.”
“Oh really? Well that certainly fits with the emails I got from the copier. The first email I received was one telling me Tray 1 had been opened by someone.”
The second cadet chimed in with, “The only people up here at the times in question were the cleaning people”
“Well, thats no shock… they are always messing with things. Our razor knifes disappear out of desks and reappear all the time. The first aid kit vanished a month or so ago, the coffee disappears at an alarming rate…”
cadet 1: “This is the 1st we have heard of any of this, you need to be reporting all of this”
my Boss: “We have, to [their supervisor].”
me: “He frequently insists it’s it you guys doing it”
Cadet 2 rolled his eyes, while cadet 1’s blood pressure obviously rose just a twinge.
“Well, we will continue to look into this, and make sure the chief is aware of all of this when he gets back.”
me: “Thank you!”
boss: “If you need the emails let us know we can send them to you”
cadet: “Ok, thank you”

So, thats the latest on the copier story. I love our copier… :-)

12/18/2007

Copier Love

Filed under: General, Technology, Work Stories — John @ 12:45 am

I love the new copier at work, not only does it make copies, it makes books, scans, acts as a printer, AND it is a nice tattle tale on late night campus staff.

Tonight, at 11:15 the copier emailed me to tell me it was out of paper. Strange… The library closed at 10:00pm. It then a minute later emailed me to let me know it no longer was out of paper. ??? uh… interesting… 10 minutes later, it was out of paper again… then it once again had paper… uhhh… stranger… a few minutes later, it emailed me to tell me it had a paper jam… At that point I called the campus cadets and asked them to look into who is over there… “I’ll take a walk over there a bit later and take a look”, “Ok.. I replied” 20 minutes later the copier emailed me to tell me someone had removed the duplexer… I freaked, and called the cadet again. “Look, something is going on up there! someone just removed parts form the copier that should not be removed!!” “I’ll head over now!” “Thank you” “Wait.. how do you know this is going on?” “The copier emailed me for help…” “uhh… ok…”

Hopefully the cadet found out who was wrecking our brand new copier… I will be emailing the logs to both the chief, and to the head of maintenance.

12/6/2007

Wow what a day

Filed under: General, It's all relative, Work Stories — John @ 7:16 pm

Today was . An administrator had wiped and re-installed windows on a laptop they were getting rid of, but they couldn’t get the WiFi working. It turns out somehow the cards driver had the smart card setting turned on, once I turned that off all was well. After that, I went down to the vending machine to get a cookie, because sometimes you just need a cookie. I needed more than a cookie…
(more…)

7/25/2007

Highly Illogical…

Filed under: General, Work Stories — John @ 10:50 am

I was just given the “solution” to a problem I have been trying to work around. Our library catalog has a scripting language of sorts that allows you to do a lot of great things. Unfortunately, it also has a nasty logic flaw that I have discovered.

Value 1 Operator Value 2 Result
“A” = “a” TRUE
“a” = “A” FALSE
“a” = “a” TRUE
“A” = “A” FALSE

I realize, internally the programmers decided to automatically lowercase all input fed to the comparison on the left side. The problem is, there is no function to lowercase a variable. So, If I save the value of some function, say “LibraryName” someplace, and then try to compare it later… I run into “Aurora” = “Aurora” equating to FALSE because what is really being compared internally is: “aurora” and “Aurora”…

GRRRR….

6/26/2007

The sales call that wasn’t

Filed under: General, The Duh! File, Work Stories — John @ 3:15 pm

I just received a rather insane phone call.  Company names have been omitted to prevent me from getting sued, the callers name was the name he gave me in classic telemarketing fill in the blank format.
When I answered the phone I was greeted in a very thick Middle-Eastern type accent.

Caller:   “Good day Mr Wohlers, my name is __jim__ from *really big software company*

Caller:   “I am calling to see if I can help you with anything related to *really big software company’s flagship product* in your business today”

I found myself thinking, ‘Huh, a new twist… ok, I’m game…’

Me: “Uh.. Ok…”

Caller:   “I show here that you do already use *flagship product* in your business”

Me: “Yes, it’s an embedded product licence provided by our library vendor”

Caller:  “oh yes very good… yes the *flagship product* embedded license, very good…”

silence…

Me: “Ok… Um…”

Caller: “yes, so is there anything that I may help you with?”

Me: “uh…. I don’t know that there is…” (Quick John think! think! think!) “oh wait, Yes… Can I connect to the embedded *flagship product* using *whiz bang technology*?”

Caller:  “ok. Yes very good. Thank You.”

HUH?  what wait… huh…????

Caller: “So is there anything else that I can help you with today?”

Me: “uh… I guess not no…”

Caller: “ok, thank you”

At that point I hung up, slightly confused and yet chuckling to myself…

5/22/2007

On putting out fires…

Filed under: General, Work Stories — John @ 1:11 pm

Today while walking back to my building from the other side of campus I noticed smoke curling from a nearby bush.   I walked over to it to discover that the mulch below it was smoldering and had a 4 to 5 inch section fully burnt away.  Not feeling like causing a panic, I calmly approached the nearest secretary and asked her to call and inform someone about the fire at the end of the building.  After making the call she suggested if it was small enough that we should fill some buckets and dump on it.   So we did.    You have got to love the excitement around here.

5/18/2007

A Sign

Filed under: General, Work Stories — John @ 1:47 pm

Today, I saw the funniest sign on the side of a car:

  • Piano Tuning
  • Law Consultation
  • Birdhouse Repair

“Serving your area for over 1 yr”

It makes me wish I had a piano…  I have a broken birdhouse, and with my family there’s always room for legal advice… :-)

tuning.jpg

4/20/2007

WiiNight

Filed under: Fun & Games, General, Nintendo Wii, Work Stories — John @ 12:49 am

Tonight was another of our once a semester “Late Night at the Library” events.   This time, in addition to all the excitement of studying we added a little more fun.   One of the staff members brought in their Wii and we set it up to run off one of the  LCD projectors.   From the moment I turned it on, students came in, drawn by the sounds of the Wii.   We played Bowling, Tennis, Golf, and even threw in Rayman Raving Rabbits and raced the armadillos (or whatever they are).    Midnight hit in no time, and no one wanted to leave.   I don’t know how the rest of the event went, but the Wii room was a major hit.
I have a feeling I’ll be sore tomorrow from all the tennis.

3/30/2007

Protected: All moped up…

Filed under: General, Work Stories — John @ 9:23 pm

This post is password protected. To view it please enter your password below:


2/16/2007

I have Arrived

Filed under: General, On the Road, Work Stories — John @ 2:32 am

I have arrived and am settled in my Hotel room in the Broadmoor Hotel / Resort in Colorado. I don’t care how the conference goes, this place is incredible. Droool…

Older Posts »

Powered by WordPress