My Randumb Lief

Virtual PDF Printer Sucks Balls
May 8, 2007, 6:48 pm
Filed under: Rant

I work at a Print Shop and we get lots of customers trying to send us Publisher or Word files. PrimoPDF has always been good to us, however we were looking for a newer solutions. While creating a PDF in Photoshop is easy and native, it’s not so fun in other programs such as Office. While Adobe PDF does an excellent job for those that have purchased Acrobat Professional, a free alternative is needed. Today I downloaded Virtual PDF Printer available from PrimoPDF, according to some of our clients, is ‘too hard to use.’ I think this is nonsense, but I’m not a monkey, so I don’t really know how they think.

Virtual PDF Printer serves as a real printer to convert anything printable to PDF. The printer is a high quality PDF generator with high printing resolution, PDF document information creation, PDF content encryption with passwords protection, PDF access control, PDF scaling, PDF version and compatibility control, font embedding options and more.” This is what is on Go2PDF’s website. Basically, they will convert anything printable to PDF, and it will be high quality. Right?

In Photoshop, I loaded up a back to a business card I had been working on just to test the output. It’s a 450dpi eps converted to a PDF using Virtual PDF Printer. Shouldn’t be too hard, and eps is damn-close-native to the printer drivers.

Dont use Go2PDF

The top image is the original, the bottom image was converted to a PDF with Virtual PDF Printer and opened back into Photoshop. Identical.

So, If you are looking for a great PDF fucker-upper:

If you’re looking for a PDF converter that actually WORKS:


EF DE 07 A3 C0 BF 79 F6 AF CB EA 60 87 E0 1C D9
May 8, 2007, 7:59 am
Filed under: Randomness

I thought this was pretty interesting. Since the well-known HD-DVD key has been posted all over the place, has provided each of us with as many unique keys we could possibly want! Whats the actual HD-DVD key you say? Yeah ok, Google it, its around… (Shit. Did I just violate the DMCA by giving people instructions to..? Ah you know what, fuck it.)

Here’s what they do: First, they generate a random number. Then they encrypt a copyrighted haiku with the generated key. Viola! Your key, is served. “Huh” you say? All this work ‘technically’ makes it a “circumvention device capable of decrypting the haiku without your permission” according to Freedom to Tinker’s website. Yee! So with that, I got two of em. Why not right? My new babies: EF DE 07 A3 C0 BF 79 F6 AF CB EA 60 87 E0 1C D9 and 98 5D 2E 07 B3 79 65 1C 19 88 A2 D3 0E B7 08 CB. Aren’t they cute?!?! Now, if I catch ANY of these on ANYONES site I’m gonna C&D your blog, bitches!

Wanna get your own key?

May 8, 2007, 4:50 am
Filed under: cool videos

I’m not so sure I’m liking word press. I hear from everyone that it’s a really neat blogging system… I’m not so impressed. For one, everything is really disorganized. It took me the first 5 minutes to figure everything out. If I’M forced to make designs that even monkeys could use, god-damn it so should you. Secondly, I have been trying to post a video from using object and embed tags for about 20 minutes finally realizing that it’s NOT their shitty html editor, which I’ll get into in a minute, but the fact that they only support three of the 5 billion websites out there that handle video. Come on, one of the reasons I got out of myspace years ago was because of the lack of things you can do. Myspace doesn’t even support css COLORS properly in firefox because of the stupid # mark being disabled… WTF? *deep breath* At least myspace supports videos from wherever (or at least they did when I stopped using them). Thirdly, I am deeply offended that the visual editor AND the code editor lose tabulation. I kept posting my code OVER and OVER thinking I must of become retarded in the last few minutes, obviously I wouldn’t know right? Maybe I’m just hallucinating? Then I thought, no because I also want to kill, not dance around on clouds singing show tunes. I thought fine, I’ll just use pre tags, thats what they’re for. Nope. Oh, heres a ‘code’ button all nice and neat on the tool bar, surely it will do what I want right? It IS a code button? The code tag IS pretty similar to pre.. Nope. MOTHER BITCH! I tried spaces instead of tabs. I tried using  … Nope. After about 20 minutes of getting pissed off I just posted the damn script as one long pleth blob. And why is it that after each edit, most custom html formatting is removed? Why cant their end handle it?? Try typing “ ” to spell out   in your code editor. Save it, now edit it again. GONE! I believe someone needs to look into htmlentities…

Bubble Sort in VB6
May 6, 2007, 8:10 pm
Filed under: vb6

Today I wrote a simple bubble sort script in VB6. Very simple to create and I thought I would go over how to make your own.

What is Bubble Sort?
Bubble sorting is one of the easiest sorting algorithms to implement in any programming language. In this example it would most likely be best to use the languages internal sort, mainly because of speed, however whats the harm in understanding how it works?

Function bubbleSort(dataStr As String)
dataTmp = Split(dataStr, " ")
nCount = nCount + 1
swap = False
For n = LBound(dataTmp) To UBound(dataTmp) - 1
If LCase(dataTmp(n)) > LCase(dataTmp(n + 1)) Then
tmp = dataTmp(n + 1)
dataTmp(n + 1) = dataTmp(n)
dataTmp(n) = tmp
swap = True
End If
Next n
Loop While swap = True
bubbleSort = Join(dataTmp, " ")
End Function

Call the function using:
MsgBox bubbleSort("THIS is a test hahhahahaha what will happen?")

A message box will display: “a hahhahahaha happen? is test THIS what will”

How this works:
The array is populated from dataStr, split on spaces ” “. Then the script gets stuck into a loop until there are no changes to the array, indicated by swap. Inside this do…loop, it further iterates the n loop comparing the current item with the next. If the next item is smaller, they are swapped and the n loop continues. As long as there is a change, the do…loop will fire. Once all changes have been made, the string is reassembled with join using spaces and the value is returned.