Last Comic Standing rundown

Esther Ku – Rarely funny but the jokes that hit make you LOL. Eliminated at first face to face.

God’s Pottery – fricken hilarious but a one trick pony. You only need to see it once. Eliminated at first face to face.

Iliza Shlesinger – I love her. I hope she wins. I think she tells jokes. If she want’s me to laugh for her I will. Just tell me what to do Iliza. Return my calls! Winner of first face to face.

Adam Hunter – douchebag.

Marcus – impressionists never make me laugh and I can never figure out who they are trying to copy. Why is it supposed to be funny to act like someone else? His regular jokes are good the impressionism thing is ancillary at best.

Jeff Dye – funny-ish. Not the best I’ve heard but not the worst on this season. He’s cute. Girls will vote for him.

Jim Tavare – very funny but very dry. It’s almost like you already have to get him to want to bother to get him.

Louis Ramey – definitely makes me laugh every time. Seems like a decent soul. The others will eat him and try to pretend they never heard his name. If they don’t he will probably win.

Ron G – Yawn. Meh. Feh!

Paul Foot – Funny but doesn’t translate well. I hope he sticks around for a few episodes because I enjoy his act.

Seán Cullen – something decent from canada. I didn’t think it was possible. Some of his jokes don’t hit right away but when you finally process them, ZAM!

That’s the lineup for Last Comic Standing this year. It’s probably the best reality show because you’re supposed to laugh at it because it’s funny, not because it’s sad and pitiful.

Oh, wait. There is one more. Some schmuck named Papa BJ or Papa Dildo or Schlongrod CJ or something stupid. He’s the kind of comic you want to just punch in the face. Not because he insults you but because he’s so unfunny that a shattered frontal process is in order. Yeah, yeah. We get it. You’re from India, even our comedy is out-sourced, yadda yadda yadda. I hope he’s eliminated quickly. Not by the competition but by the mafia or gang violence or something equally satisfying.

Office Outlook 2007 won’t restart after exit

Last night I was experiencing trouble with Outlook 2007. If I would close the app and then try to open it again it would appear to close down but would not start again. Checking in the Windows Task Manager Processes I noticed that OUTLOOK.EXE *32 was still running and after killing the process I could start Outlook again. The problem persisted. I googled the problem but none of the fixes mentioned had any effect.

After a few more reboots I just started looking at Outlook’s settings. Under Tools -> Trust Center... -> Add-ins -> Manage: COM Add-ins I started disabling things but I noticed that Windows Search Email Indexer wouldn’t respond to unchecking or removing so I went to Start Orb -> Right click on Computer -> Manage -> Services and Applications -> Services -> Windows Search -> Right click -> Properties -> Startup type = Disabled

I could then uncheck or remove Windows Search Email Indexer. You can restart or leave the Windows Search service off (I left it off). Now Outlook starts faster, closes completely and allows me to restart it anytime I like.

In fact after disabling the Windows Search service everything seems snappier and I don’t see the spinning blue chakram all the time.

Hope this helps someone out there. 🙂

Third annual CSS Naked day

April 5th, 2008 is Bette Davis’ 100th birthday and it is also the third annual CSS Naked Day. If you are viewing this on April 5th then you will see no styling. Any other day it will look normal. A properly written web page should fail gracefully and still be useable by browsers that do not understand CSS. It is the web standards way. 🙂

The idea behind this event is to promote Web Standards. Plain and simple. This includes proper use of (x)html, semantic markup, a good hierarchy structure, and; well, a fun play on words. I mean, who doesn’t want to get naked?. Feel free to see the original reference article for more information.

Trouble installing Uru: Complete Chronicles

Trying to install Uru, I know, it’s about 5 years old but I just got it mostly because I just started using a PC and Uru was never released for Mac, I constantly received this error:

Feature: DefaultFeature
Component: AGameFiles
File: D:\data2.cab
Error: Data error (cyclic redundancy check).

None of the solutions online were of any help so I simply tried to copy the files to my hard drive and install them from there. The only problem is data2.cab couldn’t be read on any of my PCs (2 laptops and one desktop). I was able to copy the file from the CD to my Mac’s hard drive so I just shared it over to the PC and installed it from the hard drive. It worked so I suppose if anyone needs a copy of data2.cab and don’t have a Mac, just drop me a line and I’ll put it online somewhere for download.

On an interesting side note I was also able to get Uru to run on my Vista 64-bit machine by bypassing the “Play URU – Complete Chronicles” and instead starting it up using the UruExplorer application.

Getting Business Contact Manager for Outlook 2007 installed

I just received my copy of Office Ultimate 2007 (yes, I bought a 2007 app in 2008 … *sigh* why do they name them with years?) and everything went fine with no problems until I tried the second disk (which contains Accounting and Business Contact Manager). Accounting installed and then BCM threw an exception “Setup failed to install Business Contact Manager for Outlook 2007”.

I tried again and again and looked for solutions online (none worked). A good friend had a look at the install log and noticed something. This line:
MSI (s) (6C:28) [08:22:19:591]: Product: Business Contact Manager for Outlook 2007 -- Error 1913.Could not update the INI file C:\Windows\SysWOW64\mapisvc.inf
He asked me to check if mapisvc.inf existed (it did) and if I could change it (I couldn’t). I couldn’t edit, move or delete it. I checked the properties and it was owned by “SYSTEM” which I changed to my user account and then I was able to move the file. Before trying to reinstall BCM I moved mapisvc.inf out of my SysWOW64 folder and created a new copy of it and dropped that in SysWOW64.

I was then able to install BCM with no further problems.

Now all I have to do is come up with a reason to use it. 😉

Firing a click event using the enter key

This one had me stumped for a few minutes. I had a text box that would post to a google search. Entering text in and hitting the enter key would just post back to the page and have no effect.

Hmm. Frustrating. I don’t expect everyone to type in their search criteria and grab the mouse to click the tiny little button so here’s what you have to do.

                <asp:Panel ID="searchPanel" DefaultButton="topSearchButton" runat="server">
                <asp:TextBox ID="topSearch" columns="21" CssClass ="formbox" runat="server" EnableViewState="False" />
                <asp:ImageButton ID="topSearchButton" ImageURL="images/bg/buttonGoHome.gif" OnClick="topSearchButton_Click" CSSClass="buttonGoHome" AlternateText="Submit" runat="server" />  
                </asp:Panel>

OnClick event:

    protected void topSearchButton_Click(object sender, ImageClickEventArgs e)
    {       Response.Redirect("http://www.google.com/u/xxx?domains=www.xxx.edu&sitesearch=www.xxx.edu&q=" + topSearch.Text);
    }

The DefaultButton attribute names the ID of the button you want to fire. The only issue is it doesn’t work on a text box (or any other form item) it only works on a Panel. I suppose it makes sense because you usually don’t just have one form field and a button, it’s usually many text boxes, any of which can fire the click event using the enter key.

I figured there was no point in having ViewState on a text box that posts to another site so EnableViewState should be set to False in this case.

FPDF.asp carriage return / line feed in MultiCell

Recently I was given the task of printing address labels from a database using Avery 5160 labels. These labels are 3 columns of 10 rows. 2.625″ x 1″ (66.6mm x 25.4mm).

I was having trouble with carriage returns. First problem is that the ASP version of FPDF doesn’t seem to recognize the \n line feed. It was easy enough to replace it with Chr(10) but I suppose I had a misconception of how FPDF handles line feeds in that it used the entire height of the multicell height for every line of text.

At first I used this incorrect code to test (notice the carriage return has no effect):

<%@language=vbscript%>
<!--#include file="fpdf.asp"-->
<%
Dim i,pdf
Set pdf=CreateJsObject("FPDF")
     pdf.CreatePDF "P","cm","Letter"
     pdf.SetPath("fpdf/")
     pdf.SetTopMargin(1.27)
     pdf.SetLeftMargin(.42)
     pdf.SetRightMargin(.42)
     pdf.Open()
     pdf.AddPage()
     pdf.SetFont "Times","",9
for i=0 to 40
          labelText = "Client #" & i & Chr(13) & "<--carriage return there address" & Chr(10) & "City, State  Zip "
     pdf.MultiCell 6.66,2.54,labelText,1,L
Next
     pdf.Close()
     pdf.Output()
Set pdf = Nothing
%>

with the results shown below:
bad line feeds

Then after googling a bit I found a php version of a script for creating a PDF for Avery 5160 labels and ported it to ASP:

<%@language=vbscript%>
<!--#include file="fpdf.asp"-->
<%
Set pdf = CreateJsObject("FPDF")
	pdf.CreatePDF "P","mm","Letter"
	pdf.Open()
	pdf.AddPage()
	pdf.SetFont "Arial","B",10
	pdf.SetMargins 0,0
	pdf.SetAutoPageBreak(0)
x = 0
y = 0
' instead of for next call names and addresses from database
for a = 1 to 40
	' Make label text
	LabelText = "Contact Name" & a & chr(10) & "Entire Company Name" & a & chr(10) & "1313 Mockingbird Lane" & chr(10) & "Chicago, IL  60617"
	LeftMargin = 4.2
	TopMargin = 12.7
	LabelWidth = 66.6
	LabelHeight = 25.45
	' Create Co-Ords of Upper left of the Label
	AbsX = LeftMargin + ((LabelWidth + 4.22) * x)
	AbsY = TopMargin + (LabelHeight * y)
	pdf.SetXY AbsX+3,AbsY+3
	pdf.MultiCell LabelWidth-8,4.5,LabelText,0,L
	y=y+1
	if (y=10) then
		x=x+1
		y = 0
		if (x = 3) then
			x = 0
			y = 0
			pdf.AddPage()
		end if
	end if
next
	pdf.Output()
Set pdf = Nothing
%>

Just change the for-next loop to a database call and you’re in business.

I find FPDF extremely useful and am sure to use it in the future.

Making FTP work on Windows Vista

I just built a Windows machine from parts and installed Windows Vista Ultimate 64bit. The only problem I was having was the FTP service would not stay active upon shutdown or restart. I had to start it manually every time.

If anyone else is wondering, here is how to make it work (if you already have FTP installed and just need it to start on reboot then start at step 7):

  1. Control Panels
  2. Programs
  3. Turn Windows features on or off
  4. locate and check FTP Publishing Service
  5. Click OK to install the items you selected
  6. You may or may not have to start FTP through IIS 6 but it may work without this step
  7. Start Menu
  8. right-click “Computer”
  9. Select “Manage”
  10. Select “Services” under “Services and Applications”
  11. double-click “FTP Publishing Service”
  12. Change “Startup Type” to “Automatic”
  13. Click OK

Let me know if this helps. I don’t know, it may be obvious to everyone that knows Windows but I’ve been a Macintosh guy since I bought my second computer back in 1995 (I had a Texas Instruments TI-99/4A before that). I’m used to starting FTP with one click in the Sharing control panel. 😉

For comparison here’s how turn on FTP under Mac OS X:

  1. Apple Menu
  2. System Preferences…
  3. Sharing
  4. Click the “FTP Access” checkbox

This also opens the port in the firewall and keeps it active any time the Mac is started.

Man Illegally Arrested for Refusing Bag Search

Today was an eventful day. I drove to Cleveland, reunited with my father’s side of the family and got arrested. More on that arrested part to come.

For the labor day weekend my father decided to host a small family reunion. My sister flew in from California and I drove in from Pittsburgh to visit my father, his wife and my little brother and sister. Shortly after arriving we packed the whole family into my father’s Buick and headed off to the grocery store to buy some ingredients to make monkeybread. (It’s my little sister’s birthday today and that was her cute/bizare birthday request.)

Next to the grocery store was a Circuit City. (The Brooklyn, Ohio Circuit City to be exact.) Having forgotten that it was my sister’s birthday I decided to run in and buy her a last minute gift. I settled on Disney’s “Cars” game for the Nintendo Wii. I also needed to purchase a Power Squid surge protector which I paid for separately with my business credit card. As I headed towards the exit doors I passed a gentleman whose name I would later learn is Santura. As I began to walk towards the doors Santura said, “Sir, I need to examine your receipt.” I responded by continuing to walk past him while saying, “No thank you.” …

Please see the rest of the story on Michael Righi’s blog: Papers Please: Arrested At Circuit City

This is just the beginning of the story which escalates to him being illegally detained by the store manager and then illegally arrested by a police officer for refusing to show a driver’s license even though he was not driving a car.

I most likely would have donated to his cause had he not involved the ACLU and promised to give them any remainder. I’ll not be party to their Fabianistic tactics and stand against their communist background.

I can’t blame Michael Righi for getting involved with the ACLU though, he is, after all, from Pittsburgh. 😉

Trackbacks sent to:
The Crazy Rants of Samantha Burns

PA House Bill 760 Must Be Stopped

House Bill 760

  • Creates a statewide registry of guns.
  • Requires gun owners to renew their registration annually and pay $10 per gun per year.
  • Requires gun owners to be fingerprinted, undergo a background check and carry a registration card – with the owner’s photograph – with the gun at all times.

Gun registries have been tried in the past and have failed. Gun laws do not hinder criminal activity but only put undue burden on law abiding citizens who happen to collect, enjoy or hunt with guns.

PA Residents…get involved! Say NO to more useless gun laws.

Web Page

Petition

Second annual CSS Naked Day

April 5th, 2007 is the second annual CSS Naked Day. If you are viewing this on April 5th then you will see no styling. Any other day it will look normal. A properly written web page should fail gracefully and still be useable by browsers that do not understand CSS. It is the web standards way. 🙂

The idea behind this event is to promote Web Standards. Plain and simple. This includes proper use of (x)html, semantic markup, a good hierarchy structure, and; well, a fun play on words. I mean, who doesn’t want to get naked?. Feel free to see the original reference article for more information.

Happy passover

Luke 22:19-2019And he took bread, and gave thanks, and brake it, and gave unto them, saying, This is my body which is given for you: this do in remembrance of me.  20Likewise also the cup after supper, saying, This cup is the new testament in my blood, which is shed for you.   - King James Version

The New Covenant Passover is a memorial of the death of Jesus Christ as the true Passover Lamb. We eat the broken bread and drink the wine in remembrance (re-enactment) of the sacrifice of His beaten body and shed blood.