Thursday, January 22, 2009

Embedding Fonts in PDF using OpenOffice.org

i am at a workplace where i can afford to use a non-mainstream product for things that i want to do. because, well i don't get paid enough to tow the line to standardization and i have enough power to control the destiny of my job to some extent.  one of the products that i choose to use is openoffice.org for my word processing needs (for small documents, large or complicated documents get LaTeX).  i still use excel and powerpoint because well excell rocks and powerpoint doesn't but at least powerpoint works really well with the tablet.


but back to openoffice.org writer.  last week i wrote a lab for organic chemistry that taught students to draw chemical structures and also to embed them in microsoft word.  i wrote the lab in openoffice.org because it is so much easier to control various things like outline format and picture layout in openoffice.org.  one thing i didn't anticipate is that embedding the drawings in writer and then exporting to pdf meant that the fonts in the drawings were still fonts in the pdf.  this is a good thing in many ways probably but it had one unintended consequence.  one student opened up the pdf and printed it (good thing) but in the process some piece of equipment (either computer or printer) didn't have the symbol font.  (i know... what doesn't have the symbol font?) so my letter pi curiously turned into a q (not sure what alternate font it chose). so i went looking for how to embed all the fonts in a pdf and yup it is there. writer does rock.  so the way to do it and i'll probably do it with all pdf files that i post from now on given the variability in people's computers, is when you click on export to pdf it pops up a menu.  one option is PDF/A-1. this is an archive format that anticipates that someday everyone will have different fonts so it forces the fonts to embed.

Thursday, January 08, 2009

gps coordinates from google maps


it looks like you can get google maps to tell you the GPS coordinates of a location. just center it on the page, and then put the following in the address bar and hit enter.

javascript:void(prompt('',gApplication.getMap().getCenter()));

I found it over on gpsreview.net

Monday, January 05, 2009

pasties

did you guys see that the device driver that crashed the zune 30s was posted over on pastie.org? the driver was only mildly interesting, but I do like the context highlighting.

Friday, January 02, 2009

script language performance

There was a study done in 2003 to test the 'efficiency' of scripting languages. efficiency in terms of program execution speed, time to write the program, etc. the study, a tad informal, is still very interesting and concludes that since the number of lines of code a person can write efficiently is independent of the language, the denser script languages can be more optimal and depending on the task, the performance hit (speed of execution) can be small enough it really doesn't matter.

Wednesday, December 31, 2008

hottrends

have you guys seen the hottrends over on google labs? i've always wanted to know what the current interest is of the internet dwellers. now I now, minute by minute. you can look back to different days as well. if i needed a way to do very specific targeted advertising, i think this might play into that.

Saturday, December 13, 2008

rainbow table

crack a windows password, up to 14 characters long in a few minutes. it just doesn't get any more nerdy than that. see project rainbow crack. i'm sure theres others, but this had a nice writeup.

Sirds


I loved the stereo view things (you know, the ones where you cross your eyes and then it turns all 3 dimensional). I made a special one for the nerdy crowd. don't be stupid and try to see the small one above, click on it for a full screen view.

Some dudes over at cornell did a project with an FPGA and a TV. ahhh.. the good old days involving fun projects for projects sake, not just profiteering innovation for the investors

it is interesting to see that you can do this with plain text. I Haven't figured out how this is done, but over on hidden-3d they have an ascii generator tool you can use

Friday, November 28, 2008

peeler guy



from http://www.vanityfair.com/culture/features/2006/05/grafter200605?currentPage=all

The Gentleman Grafter

By night, Joe Ades dines with his fourth wife at exclusive restaurants, sips Veuve Clicquot at the Pierre, and goes home to a three-bedroom Park Avenue apartment. By day, he is something else altogether. At 72, the “peeler guy” in the Turnbull & Asser shirts is a New York legend.

by Howard Kaplan May 2006

In the early 90s a man named Joe Ades began showing up in the bar at the Pierre, Manhattan’s famously posh hotel on the corner of Fifth Avenue and East 61st Street. Joe liked the crowd at the CafĂ© Pierre, but the real draw for him was Kathleen Landis, the dimpled, piano-playing house chanteuse who still entertains there five nights a week. Joe was a five-nights-a-week man as well, always seated at the same round table with a front view of the baby grand and a back view of Landis. He drank only champagne, and never alone. His usual brand was Veuve Clicquot. On most nights he casually ordered a bottle, which always appeared with two champagne glasses—one for himself, the other for Landis.

Thursday, November 27, 2008

crazedlist.org

it looks like you can search alot of craigslist at once if you used crazedlist.org.

Friday, November 14, 2008

HD failures


over at datacent.com they have a nice listing of the sounds of failed HD's. there are some nice writeups on particular failure modes for specific manufactures and models. If you suspect a crappy drive, I would check these guys out for ideas of what to do (or to confirm it is now worth the sacred opening and harvesting of the eggs magnets)

Thursday, November 13, 2008

fire glass

handheld printer

did you guys see HP's new handheld printer? looks like its being used for shipping receiving, with a scanner / printer all in one.

Wednesday, November 05, 2008

pdf import


hey, has anyone seen the pdf IMPORT coming for open office? i'm going to have to try that one and see if it has any potential or not.

other cool open office plugins

Friday, October 31, 2008

check scare

slashdot links to a nice little article telling the story of how an author has offered small checks to readers that find errors in his [technical] books. for reasons of check security [or lack there of] he is no longer doing checks.

based on that, these are my uninformed recomendations
1) don't use a checking account as a savings account
2) don't tie an overdraft from a checking account to a savings account
3) keep only what you need in the checking account
4) if you invested in getting rid of global poverty, you wouldn't have to worry about losing money in your checking account.

...oops had the throw that last one in there. i'm in global poverty this fall at school.

Thursday, October 30, 2008

heywhatsthat.com

I was browsing over at the google map directory and found a nice little tool that warrants much more playing with. heywhatsthat.com is a tool to plot the horizon (and name the peaks) from a location of your choosing. you can account for the curvature of the earth, and will also predict how far you can see from a particular location which makes it an ideal tool if... say.... you wanted to build a communications tower. check it out, you'll be impressed.

after you have picked your point, be sure and turn on the 'visibilty cloak' so you can see where you can 'see' on the big map. so cool.

I took the time to add in the view from Mount Rose for a friend.

Saturday, October 25, 2008

wallstats

White Castle

Some time ago I saw Harold & Kumar Go to White Castle, a film that makes up for its lack of morals with increased laughs, and was totally convinced White Castle was a fictitious place. I was on business travel again this last week (Saint Louis this time) and we actually found one of these places.

Now picture with me the best fast food burger in existence (arguably In-n-Out here on the west coast) and prepare yourself as I did for the White Castle experience.

I should have known something was up, in-n-out is bright colors, happy, fast paced, where as White Castle is dull, drab, mundane, and slow (ok, it wasn't that slow, but the comparison sounds better). Burgers (without cheese) were 59-Cents or something, that too should have been a clue.

My coworker actually finished one, I could not (its only about 5 bites). I am convinced (and later told my wife) that dirt tastes better. When we returned the rental car across the street, we actually made a comment to the rental lot girl and she said "oh.. but did you get the ones with cheese? you have to have them with cheese, their the best that way". we politely informed her that no amount of cheese could have possibly made any difference and when we asked her if she had ever had in-n-out, she actually had the audacity to compare it to not being up to snuff with White Castle. wow.... to each their own.

If you ever run across a White Castle, just keep on moving. There is a nice little story of starting in 1916 with an iron griddle, and old shoe store, and a smashed meatball. to bad it looks different almost 100 years later, but still probably tastes about the same as a shoe store and a smashed meatball.

Friday, October 24, 2008

TinEye.com - image search



Visit TinEye.com and login (use http://www.bugmenot.com/view/tineye.com for a nice 'trial' membership) - to link/upload an image and have this beast search 1,000,000,000 images and show you 'similar' images.

I tried it with an image on a corporate website that had an image that appeared doctored from stock photography, and what do you know. it was.

Thursday, October 16, 2008

biology diesel

man..I was just getting use to the idea of bio-diesel, now it looks like we are going to be turning to the biologists for our next form. you read it here first, i'm going to call it biology diesel. (sugar cane + yeast + gene splicing )