Liquid Hotdog

JavaScript: Persisting a child window relation accross parents’ reloads.

I came across a fun issue with my pop-up flash mp3 player to be used on our new Vital website (coming soon.) I’ve designed a ‘listen’ button on the main shop website for each audio file preview. When this listen button is clicked on, a pop-up window is opened (if not already) and the flash player loads the respective audio file and begins playing. If a second listen button is clicked, the new track will be added to the existing play list and that track will begin playing. I discovered this method only worked when clicking listen links on the same parent page view. If the parent page is refreshed or a new page of the site is loaded, the reference to the pop-up window is lost. What then happens is any new listen link clicked will cause the pop-up page to reload from scratch and loose the play list. Whatever audio was playing stops, whatever tracks were in the play list are gone. Following, is my solution.

(more…)

-- MrBlaQ
Filed under: Coding, Main — August 24, 2007 @ 5:40 pm

Directory and Host based SSL with Apache

So, I needed a way to simply force a user to use an SSL connection on various parts of my website. In this case, whenever they log in: /Login.jspa or when accessing their personal information: /myvv/ I’ve accomplished this by using Apache’s mod_rewrite functionality.

(more…)

-- MrBlaQ
Filed under: Main, Technology — August 23, 2007 @ 4:11 pm

FreeBSD MySQL 5.1 to 5.0 Ports Downgrade Problem

Wow, another easy fix that took forever to discover.

I had originally installed MySQL5.1 on my server for testing. When I decided to get clustering working, I decided to downgrade to MySQL 5.0 only to discover the following problem when running /usr/ports/databases/mysql50-server/make”

mysql-server-5.0.45 cannot install: the port wants mysql50-client and you try to install mysql51-client

(more…)

-- MrBlaQ
Filed under: Main, Technology — August 1, 2007 @ 10:08 pm

Fixing Windows XP File Sharing

I ran into a problem similar to this guy’s as posted over on Computing.Net As far fetched as step two sounds, it actually worked for me. I can now share folders between my Windows XP Pro and my girlfriend’s Windows XP Media Center Edition.

(more…)

-- MrBlaQ
Filed under: Main, Technology — April 17, 2007 @ 3:09 am

Using UPS’s Worldship with myODBC

If you’re setting up a new DSN to use with keyed import in UPS’s Worldship, you may get this error:

“ODBC Source ‘xyz’ is not valid for ‘export’/'import’”

You may need to specify the ID (username) and Password in the Worldship “Select an ODBC source” setup options. Even if you’ve already specified them in the DSN itself.

-- MrBlaQ
Filed under: Coding, Main — April 12, 2007 @ 5:52 pm

USPS Rate Calculation Setback

So I’ve been trying to use the United States Postal Service Rate Calculating tool in testing mode over an HTTPS connection. I was having one heck of a hard time getting to this rather simple solution.

(more…)

-- MrBlaQ
Filed under: Coding, Main — March 12, 2007 @ 1:54 pm

Everything You Need To Know About Hibernate HQL

The problem with Hibernate HQL is that it looks exactly like SQL. The one thing that held me back the longest on understanding how it works is that it’s NOT SQL. You’re not querying SQL tables, you’re querying objects and their variables.

(more…)

-- MrBlaQ
Filed under: Coding, Main — February 28, 2007 @ 12:20 pm

Google AdWords Keyword Insertion

Here’s some incredibly helpful information regarding the capitalization of keyword wild cards in Google’s Adwords ad system.

(more…)

-- MrBlaQ
Filed under: Main, Technology — February 24, 2006 @ 3:11 pm

PHP, Adaptive LED Signs, and You

I’d like to provide a small example of interfacing with an Adaptive Alpha LED display bar via RS232. In this case, I’m working with an Alpha 215R although it should also work with anything else in the Alpha 200 series.

(more…)

-- MrBlaQ
Filed under: Coding, Main — August 10, 2005 @ 7:19 pm

Uhhh

WINDOWS 2000…

CLEARTYPE??

WTF!

AMIRITE?

-- MrBlaQ
Filed under: Humor, Main, Technology — August 5, 2005 @ 10:32 pm
Valid XHTML 1.0 Valid CSS 2
eXTReMe Tracker