Professional Documents
Culture Documents
few sam
You don’t have hacks!
ple
to be a geek to
have fun hacking—all you
need is a sense
of adventure
and these books.
Here’s what readers say
about our first Hacks books
Google Hacks
“Excellent. This book is a marvelous compendium
of tips and tricks for Google®, ranging from simple
ways of getting the search results you want,
through using Google’s newer services such as
phone books and image search, all the way to
advanced ways of using scrapers and the Google
API.... essential reading for Google users.”
—TONY WILLIAMS,
SLASHDOT.ORG, MARCH 2003
Mac OS X Hacks
“This should quickly become an essential guide
to anyone who wants more power out of their
computer.... There’s plenty of fun stuff here, but
serious business and creative production answers
take charge.”
—NORTH BAY
MULTIMEDIA ASSOC.
HACKS SAMPLER
Sample hacks from our hot, new hacks titles
Tivo Hacks
Hack #4. The 30-Second Skip . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
eBay Hacks
Hack #25. Take Advantage of Bid Increments . . . . . . . . . . . . . . . . 6
Amazon Hacks
Hack #9. Power-Search for Books . . . . . . . . . . . . . . . . . . . . . . . . 11
Windows XP Hacks
Hack #8. Customize the GUI with TweakUI . . . . . . . . . . . . . . . 16
Wireless Hacks
Hack #82. Aligning Antennas at Long Distances . . . . . . . . . . . . 23
The thermometer icons, found next to each hack, indicate the rela-
tive complexity of the hack.
1
Hotwire
your Tivo.
TiVo Hacks
By Raffi Krikorian
ISBN 0-596-00553-9
$24.95 US, $38.95 CAN
Tivo
HACK The 30-Second Skip Hack #0
Note that this hack is not permanent. If at any time your TiVo needs
to be rebooted—after becoming unplugged or as a result of a power
failure—the hack will go away and you will have to reapply it.
4 | Tivo
Wheel and deal.
eBay Hacks
By David A. Karp
ISBN 0-596-00564-4
$24.95 US, $38.95 CAN
eBay
HACK Take Advantage of Bid Increments Hack #0
#25 A slight adjustment to your bidding strategy will help you save
money and win more auctions.
Every auction has a minimum bid, a dollar amount shown just above
the Place Bid button on the auction page, as shown in Figure 1. If the
auction hasn’t received any bids, the minimum bid is the same as the
starting bid. Otherwise, the minimum bid is equal to the current
price plus a bid increment.
Figure 1. The Bidding Section shows the current bid increment and minimum bid
6 | eBay
samplerhax.fm Page 7 Tuesday, September 16, 2003 10:24 AM
eBay | 7
samplerhax.fm Page 8 Tuesday, September 16, 2003 10:24 AM
8 | eBay
samplerhax.fm Page 9 Tuesday, September 16, 2003 10:24 AM
eBay | 9
Get into
new territory.
Amazon Hacks
By Paul Bausch
ISBN 0-596-00542-3
$24.95 US, $38.95 CAN
Amazon
HACK Power-Search for Books Hack #0
#9 Fine-tune your book searches with the Advanced Search form and
Power Search queries.
The search form on the lefthand side of the Amazon home page is the
most widely used way to find items. A couple of keywords can get
you surprisingly close to what you’re looking for. But if you’d like to
do more sophisticated searches, you’ll have to use the Advanced
Search form or learn Amazon’s Power Search syntax.
Advanced Search
Amazon offers an Advanced Book Search form on their web site at
http://amazon.com/exec/obidos/ats-query-page. This form allows you
to search for a specific title, author, subject, ISBN, or publisher. And
you can narrow your search by format, reader age, language, or pub-
lication date.
The query in Figure 2 will return all books by O’Reilly with the word
“Mac” in the title.
Power Search
Beyond Advanced Search, there’s a way to perform even more finely
tuned searches of the product database: Power Search. A Power
Search uses a special query syntax to define what you’re looking for.
The syntax consists of field/value pairs that are put together with
connecting words like “or” or “and.” To perform the same query,
we’d include the publisher and title fields with the appropriate val-
ues:
publisher:O'Reilly and title:Mac
To run the search, paste this into the Power Search form at the bot-
tom of the Advanced Search page at http://amazon.com/exec/obidos/
ats-query-page#powersearch.
Amazon | 11
samplerhax.fm Page 12 Tuesday, September 16, 2003 10:24 AM
12 | Amazon
samplerhax.fm Page 13 Tuesday, September 16, 2003 10:24 AM
With all of these options, you can see how queries could quickly
become very specific. Let’s say we wanted to find not only O’Reilly’s
books with the subject “Mac,” but also all O’Reilly books where the
title starts with “Mac”:
publisher:O'Reilly and (subject:Mac or title-begins:Mac)
Or, just to show how specific you can get, here’s another query:
publisher:O'Reilly and keywords:Mac and pubdate:before 2003 and not ↵
title-begins:Mac and not subject:Mac
If you’re getting the hang of Power Searches, you’ll see that this query
searches for all O’Reilly books with the keyword “Mac” published
before 2003, where the title doesn’t actually start with “Mac” and the
book isn’t directly about the subject “Mac”.
Amazon | 13
samplerhax.fm Page 14 Tuesday, September 16, 2003 10:24 AM
14 | Amazon
Dig these
cool tools.
Windows XP Hacks
By Preston Gralla
ISBN 0-596-00511-3
$24.95 US, $38.95 CAN
Windows XP
HACK Customize the GUI with TweakUI Hack #0
#8 Want to bend XP’s interface to your will without getting your hands
into the Registry or having to excavate through menus three levels
deep? Then get this supremely useful freebie from Microsoft and
create your own customized version of XP.
16 | Windows XP
samplerhax.fm Page 17 Tuesday, September 16, 2003 10:24 AM
Windows XP | 17
samplerhax.fm Page 18 Tuesday, September 16, 2003 10:24 AM
18 | Windows XP
samplerhax.fm Page 19 Tuesday, September 16, 2003 10:24 AM
ized XP interfaces. For example, you may be the type who is con-
cerned about only one thing when you use your PC: pure
functionality. You want to get your work done fast, and you don’t
want to be bothered by the extra frou-frous that XP throws in your
way and that slow down your system. Here’s how to create a speedy,
stripped-down interface using TweakUI:
Turn off animations, fades, and similar features
Animations and fades are pretty, but they require system
resources and slow down your system. You can turn off a wide
variety of these animations and fades from the General section of
TweakUI. Uncheck the boxes next to all of them, such as Enable
menu animation, Enable menu selection fading, Enable tooltip
animation, and the many others listed there.
Speed up right-click menu displays, hovers, and other mouse actions
If you want menus to appear with absolutely no delay when you
right-click on an object or icon, go to the Mouse section and
move the Menu speed slider all the way to the left. Test how fast
the menus will display by right-clicking on the test icon. From
this section, you can also increase your mouse sensitivity so that
it responds more quickly to your clicks and drags. In the Mouse
sensitivity section, decrease the numbers next to Double-Click
and Drag, and see the results by double-clicking the test icon.
The Mouse section also lets you change the mouse’s sensitivity
to “hovering”—for example, displaying a tool tip when you
hover your mouse over an icon. To speed up the hover display,
highlight Hover underneath the Mouse section, then decrease
the numbers next to Hover sensitivity and Hover time. Test out
your settings using the test icon.
Decrease the image quality of thumbnails in Windows Explorer
Windows Explorer uses up RAM when it displays thumbnails,
which can slow down your system, because the RAM could
instead be used for your applications or the operating system
Windows XP | 19
samplerhax.fm Page 20 Tuesday, September 16, 2003 10:24 AM
20 | Windows XP
samplerhax.fm Page 21 Tuesday, September 16, 2003 10:24 AM
Windows XP | 21
No boundaries.
Wireless Hacks
By Rob Flickenger
ISBN 0-596-00559-8
$24.95 US, $38.95 CAN
Wireless
HACK Aligning Antennas at Long Distances Hack #0
The farther apart your points are, the harder it is to aim your anten-
nas. At distances up to five miles or so, this is rarely a problem. Just
so long as you have enough total gain to overcome the path loss,
which you should have calculated by now [Hack #81]. At greater dis-
tances, getting the antennas pointed directly at each other can be
quite tricky. Here is a list of techniques that might help you get your
dishes pointed where they need to be:
• Use mobile phones or FRS/GMRS radios [Hack #9] to maintain
communications between the two points while you’re aiming the
antennas. It helps to have at least two people at each end (one to
manipulate the antenna, and another to coordinate with the
other end). Radios often work much better in areas where mobile
phone coverage is spotty.
• Set up all of your network settings ahead of time, so there aren’t
any variables once you get to the remote site. Check all gear,
ping each box, and even transfer a file or two to be sure that your
equipment works at close range. You don’t want to question it
later if you have problems getting the link going.
• Use a tool like the Wavemon [Hack #33] or Kismet [Hack #31], or a
good built-in client [Hack #20] to show the signal strength and
noise readings in real time. This kind of tool is your best friend,
short of an actual spectrum analyzer.
• Work on one end of the link at a time, slowly changing one vari-
able at a time, until you see the maximum signal strength and
lowest noise at each end of the link.
• If you have one handy (and your link budget permits it), first try
an omni or sector antenna on one end of the link. Once you find
the other end of the link, replace it with your dish or yagi and
Wireless | 23
samplerhax.fm Page 24 Tuesday, September 16, 2003 10:24 AM
tune it in. Typically, the higher gain the antenna, the shorter the
beam width, and therefore, the harder it is to aim.
• Sweep slowly, and don’t be afraid to go beyond the best per-
ceived signal. Most antennas have smaller side lobes that appear
as false positives. Keep moving until you find the main lobe. It
should stand out significantly from the others, once you find it.
• Often, particularly with offset dish antennas and yagi antennas,
the antenna appears to be aimed too low or far to the left or right
of the other end of the link. This is normal. Don’t worry about
how it looks, worry about finding the greatest possible signal.
• Do NOT touch the actual antenna while taking a reading. Rest-
ing your hand on the antenna interferes with the radiation pat-
tern, and drains your signal very quickly. Take your readings
with all hands clear of the equipment.
• Don’t forget to compare horizontal and vertical polarization. Try
the antennas in both positions, and use the one that shows the
lowest noise.
• Once your link is in place, consider using WEP to discourage
others from attempting to connect to it. If you want to provide
wireless access at either endpoint, set up another gateway, pref-
erably with caching services (such as caching DNS and a trans-
parent web proxy, like Squid). This helps reduce the amount of
traffic that goes over the long link, cuts down on network colli-
sions, and generally makes more efficient use of the link.
It can take all day to properly align antennas at a great distance, but it
can also be fun, with the right people. Just take your time, think about
what you’re doing, and leave time at the end of the day to celebrate!
24 | Wireless
Search
smarter.
Google Hacks
By Tara Calishain & Rael Dornfest
ISBN 0-596-00447-8
$24.95 US, $38.95 CAN
©2003 O’Reilly & Associates, Inc. O’Reilly logo is a registered trademark of O’Reilly & Associates, Inc. part #30337