Posts Tagged: apps


13
Nov 09

Google PDF Quick View

Google has started to integrate it’s Google Docs PDF viewer into search results, allowing you to view PDFs right in the browser. Finally, you can uninstall that bloated Adobe Reader plugin, like you’ve always wanted to. If you’re on a Mac, you can see PDFs without waiting for Preview to open.

OK, so this is pretty old news but I hadn’t really noticed until recently as they don’t show a link for all documents. But why is this so awesome? PDF is a rich format that offers many features not really relevant to web search. Most often searchers are just looking for some information, like MSY’s latest price on that Hot New Intel CPU.

But this only affects search results. But you can install a Greasemonkey script which opens all links to PDF, PPT and DOC files using the Google Docs Viewer. We’ve had online apps for a while, but I consider Google’s  step of opening up the GDocs Viewer to be THE official singularity, or “beginning of the end” for the humble desktop application. After this, there is no turning back. And I for one, want to see how deep the rabbit hole goes.

Or as a friend of mine once said “Firefox + Internet = Operating System”.

That said, one feature that needs improvement is searching within documents. This is only enabled for some documents, presumably the one Google has had time to index the metadata or OCR. And search hits are only highlighted with no feature of iterating through them.


23
Aug 09

My first Stylish script

Hey for all you WordPress junkies out there who are sick of squinting at the screen when writing blog posts, here is a Stylish script to increase the font size!

http://userstyles.org/styles/20377


2
Aug 09

Here’s to Internet fraud!

Prevent me from buying MP3’s online will you, Apple? I think not!

After some furious Googling, this Australian has successfully purchased content from the US iTunes store. And without a credit card!

The biggest hurdle was getting a US iTunes account (trivial, now that I know).

  1. Open iTunes and go to the Store.
  2. Sign out of your “real” account.
  3. Find any free iPhone application and Buy it.
  4. When asked to sign in, Create An Account (make sure you select  US as country). Tip: if you use Gmail,  use username+us@gmail.com as your email address.
  5. Fill in your fake US address details as generated (I used my real name).
  6. When asked for a payment method, choose None.

Now you need some iTunes credit.

  1. Find a store that sells online iTunes gift cards, such as OffGamer. Note, you can expect  to pay a premium for the online service. Some have  reported success with eBay but OffGamer were quite speedy.
  2. Pay with your PayPal account. If you don’t have one… uh, why not?
  3. When you get the gift card code (online), simply redeem it in iTunes.
  4. Purchase your content!

I still have US$12 left in my fake iTunes accounts, which I’m sure will come in handy later. It’s not going anywhere.

Oh, and your US iTunes account can also be used to download iPhone apps that aren’t yet released in Australia, such as the Last.fm app. I can’t believe I didn’t realise this sooner, duh!


31
Jul 09

Chrome reflections: still needs some polish

I realised something very interesting about Chrome recently that hadn’t occured to me until I was installing Adblock Plus in Firefox. It’s not a dealbreaker but still: Chrome will never support decent ad blocking software. Think about it, where does Google get a large chunk of their revenue?

That aside, here’s an exhaustive list of why I want to switch to Chrome:

  • Speed.

However, its still missing some features preventing my permanent switch to the web browser on all platforms. In decreasing order of importance:

  • Lack of bookmark synchronisation, e.g. Xmarks.
  • Lack of (non-alpha) Linux support.
  • Lack of Mac support.
  • Missing “/” find in page shortcut.
  • Inadequate replication of the Firefox search bar.
  • Cannot set minimum font size in options.
  • Cannot customise toolbar layout (I could save 32px of vertical real estate by having my bookmarks and address bar on same line).

I have to ask: will Chrome just be this decade’s Firefox? Firefox (Phoenix) was touted as a slim, lightning fast, no-nonsense browser. But lately, Firefox has been slow to the point of frustration. This is either due to an intrinsic inefficiency, or caused by the Extensions “feature” which, uncontrolled facilitates user-crafted mega-bloat.


19
Jul 09

Reclaim your Google Reader screen real estate

If you’re anything like me on my and do most of your Google Reading on a relatively small screen (MacBook 13″), or on one of those nifty NetBooks I keep hearing about, then you might like to try this.

Stylish is a Firefox Extension that can apply custom CSS styles to certain webpages, in most cases fixing a user-identified problem with the design. DJBullwinkle has written a custom style called Google Reader Absolutely Compact which does exactly what it says on the box.

Basically, it makes several improvements on the much bloated default interface, allowing you to maximize the efficiency of your screen real estate.

  • Article text spans full width of screen
  • Compact no-frills borders around items
  • Almost all heading stuff removed, save for the search box
  • Narrower left-hand column

Visit the link for a preview of the changes, or just try it out! This has been added to my list of essential Firefox tweaks; it’s a godsend.

I should mention, this also removes some navigation buttons, so you’re gonna want to get up to speed on the keyboard shortcuts by pressing “?” in Google Reader.

My only real criticism would be to increase the size of article headings so they stand out a bit more, which you can do by changing the font-size from 100% to 140% as below:

/* shrink titles, but add underlining for visual identification */
.entry .entry-title {
    font-size:140% !important; }

I will conclude by remarking on a trend I’ve noticed in online interfaces since using websites which tailor their design to the iPhone and iPod Touch. These interfaces are some of the most efficient and user-friendly I’ve used to date: Google Reader, Google Talk Gadget, Gmail, FaceBook, Last.fm, ANZ Internet Banking, there are more.  Web designers should be reminded that only when forced to trim a design back to the bare essentials, do you realise what those essentials actually are. You discard all those tacked on superfluous features (Google is notorious for this, just look at Gmail), until only the functional ones remain.

Happy reading!


25
Jun 09

Recover Broken Word 2007 Documents by Hacking the XML

I like Word 2007 but like all Microsoft products, it comes with the affliction of complication. Word (and the Office Open XML format) is so complicated that there are a zillion possible things that could go wrong. Chances are one of them is going to happen at some point. The moral of the story is, observe the motto of “Save Early. Save Often.” and you might avoid such a catastrophe. But if you’re lazy like me and forget to back up, this might happen.

Word is being funny, you are messing around with equations that aren’t behaving right. You try to save and it won’t let you save for some reason. You think “Oh I’ll just restart to make Word all better again.” You restart and your effing document won’t open with an error something like:

The Office Open XML file FileName.docx cannot be opened because there are problems with the contents.

WTF!? This was your only copy of the document! OMG! After you have taken a vallium, do the following:

Click Details on the error dialog and note down the location of the error (e.g. /word/document.xml, Line: 2, Column: 65946).

Rename your faulty document to FileName.docx.zip and extract it into some folder.

Open up the XML file listed in the error message and locate the offending column. For this you might want to download XML Copy Editor or any other editor that has the features we need. You can see the column number in the status bar.

The offending error will probably be an XML tag. In my case column 65946 was at the * below (* has been added)

... </w:t></m:r><m:ctrlPr*><w:rPr><w:rFonts w:ascii="Cambria Math" ...

So the error is in the <m:ctrlPr> tag. Now you need to add a fake attribute to the tag called a="aaaaa" or something easily identifiable that won’t occur naturally in the Office XML. Your tag should look like this.

<m:ctrlPr a="aaaaa">

By default, the XML is all on one line to save on space, but we need to fix that to delete this tag.

In XML Copy Editor, select Pretty print from the XML menu. Now search for “aaaaa” or whatever you called your fake attribute. You should now be able to visually see the entire tag.

<m:ctrlPr a="aaaaa">
  <w:rPr>
    <w:rFonts w:ascii="Cambria Math" w:hAnsi="Cambria Math"/>
    <w:i/>
    <w:lang w:val="en-AU"/>
  </w:rPr>
</m:ctrlPr>

Now just delete the whole <m:ctrlPr> tag and save the document. You can leave it in Pretty Print, it will still be valid XML.

Re-ZIP the contents of the folder you extracted to and rename document back to FileName.docx.

Try to open in Office 2007. If it works, Hooray! If it doesn’t, and you get another error, repeat this process. Else retype your 10,000 word document!


30
May 09

Google Wave

Yes, it’s finally happening! Recall in my previous post about feeds, I mentioned that feeds were great for abstracting website content but we didn’t have anything like that for discussion. The trimmed quote:

“The web is a dynamic medium, and one example of this is the discussion features provided by websites. It’s functionality like this that will see readers tearing themselves away from the purity of their feeds. You can’t post a comment without visiting the actual website… yet. It won’t be long before we have … an open standard for abstracting website discussions into the feed reader, possibly eliminating the need for a website altogether.”

This is essentially Google Wave. The demo contained no specific example of abstracting blog comments into the wave client but I’m certain someone will write an extension; after all it’s open source.

I am really excited that Google have decided to push the web in this direction. If you’ve got a spare hour and 20 mins, go watch the demo. You WILL be impressed.


30
Mar 09

Greasemonkey and Stylish as time management devices

I must reiterate my undying love for Greasemonkey and its styletastic cousin Stylish, two indispensable Firefox Addons. They have both saved me countless milliseconds over the years and it all ads up! Basically they take that haphazard version of the web you’re faced with due to poor design or lack of functionality and kick it up a notch… BAM!

One such innovation dramatically improves eBay searches. Usually, they look something like this: you have items with a picture icon but the seller hasn’t paid for “Gallery Picture” so no thumbnail for you.

The script adds eBay thumbnail images to searches by fetching the image from the item page. The result is:

Neat huh? Now I regularly find myself thinking “I wonder if there’s a Greasemonkey script for that” and usually there is.

Other scripts I use:

  • Super Linkfier (Greasemonkey) – No more browsing forum and being forced to copy and paste URIs. This makes EVERY URI a link, including email addresses.
  • YouTube Automatic fmt=18 Adder (Greasemonkey) – Hack that forces ALL videos to display in high quality.
  • Big fonts on wikipedia main content (Stylish) – This one’s self-explanatory.
  • Block Facebook Ads (Stylish) – due to constant changes and slew of choice I suggest you search for this.
  • Block Gmail adds (Stylish) – ditto.
  • Google Image Relinker (Greasemonkey) – Search results link straight to the image, not that annoying frame page.

19
Mar 09

How to Print PDFs optimally

I’ve been printing a lot of research papers recently. These are things you just have to read in hard copy. Now I like to print them as optimally as possible, striking the right balance between minimal paper, minimal whitespace and maximal readability. For reasons beyond me at this early stage, these papers have ridiculously huge margins so simply printing 2 pages per sheet (2-up) wastes a lot of space and the font is shitty and small. You can try zooming but Adobe Reader is crap at this and I can never get the most efficient zoom; it chops bits off, not centred, etc.

The answer? I googled and was like “why didn’t I think of that?”. The solution was to do it on a Mac. The Preview application lets you “crop all pages”. You select the area you want, hit Cmd-I to bring up the inspector, then click that magical button. Now I’m enough of a Mac fanboy as it is, but after wasting at least 20 minutes stuffing around on Windows, I wouldn’t be exaggerating by saying this is a jaw-dropping feature.

Then just “print” yourself another PDF using Preview, this time in 2-up with 120% zoom or whatever and you’re done. Add this anecdote to the List of Reasons Macs are Preferred by Publishers, if that even is true.

P.S. Have I spruiked Google Scholar yet? I haven’t had to write a single BibTeX entry so far.


14
Mar 09

Dock folder launcher updated

I have updated my Dock Folder Launcher I made a while ago. Now, if you already have the Finder window open, it will focus that window instead of just launching another one. Also download available for Intel Macs.

See original post.