Making DuckDuckGo Your Default Safari Search Engine

Editorial Note: You probably won’t care about this post unless you’re a Mac user but all readers are welcome.

In my continuing quest for a smaller (visible) footprint on the Net, I’ve stopped using Google and switched to DuckDuckGo for searches. I started by adding DDG to my Safari Bookmarks Bar so that I could just click on it when I wanted to search. Of course, most of the time I’d forget and type my search query into normal address bar instead and then have to retype it.

After using DDG for a few days I decided that

  1. I liked it enough to make it my main search engine.
  2. I had to find some way to make it the default.

Sadly, Apple in its wisdom has exactly three choices for a default search engine: Google, Bing, or Yahoo. After a bit of searching (with DuckDuckGo, of course) I discovered a neat hack to make DuckDuckGo the Safari default.

The method is described on this DuckDuckGo help page but the TL;DR is to first tell Safari you want Yahoo as your search engine (this choice is important for reasons explained on the help page) and then set an explicit address for search.yahoo.com in /etc/hosts. The address points at a special DDG server that passes your request on to the normal DDG processing. Now I just type my search terms into the address bar as normal and I’m searching on DDG.

Posted in General | Tagged | 2 Comments

Doing It Right, ISP Edition

I wish these guys were my ISP. Although it won’t be news to Irreal’s European readers, Americans may not be aware that British PM David Cameron is pushing a plan to have ISPs filter pornography. Originally, the plan called for an opt out but the ISPs insisted on opt in. Andrews & Arnold, on the other hand, aren’t having any of it. They say that if you want a censored network connection you should move to North Korea or at least seek out another ISP because they aren’t providing any filtering.

That, right there, is enough to get them the Irreal seal of approval but it gets better. They point out that it’s not up to them to censor your Internet connection. That’s something that’s up to individual users to provide for themselves. And by the way, NAT? No they don’t do that either. They think every computer should have it’s own IP address. Now that IPv4 addresses have run out they may be able to deliver only a single IP address to the user who may NAT internally but Andrews & Arnold don’t use it at all. Your IP address remains fixed. If you use IPv6 they provide a /40 block to allocate as you like.

The logging that they do is for network engineering purposes and they make it possible for you to avoid it if you wish. They don’t currently have any monitoring devices on their network and will resist being ordered to install them. The director says that users should feel free to ask him if they have been forced to install them, and says that if he refuses to answer you should draw the appropriate inferences.

All in all, Andrews & Arnold appear to treat their users they way they would want to be treated. Read their policies at the link to see what I mean. It’s a source of sorrow to me that more ISPs (and especially those in the U.S.) don’t do as well.

Posted in General | Tagged | Leave a comment

A Patent Win

This is so cool. Joel Spolsky tells how he shot down a garbage software patent with only a 15 minute effort. He did that by using his new Stack Exchange site Ask Patents, a site on which anyone, including patent examiners, can ask for prior art on a patent application. Spolsky says the process is simple and easy. Read the questions and if you see something that you know about, read the patent application—actually just part of it—and do a bit of Google searching to find examples of prior art. Read Spolsky’s post; it’s easier than I’m making it seem.

Spolsky says he hopes that some of the big players will realize that this is a way of messing with the competition and assign an engineer or two to spend a bit of time on the Ask Patents site. As he says, that would be cool.

Posted in General | Leave a comment

Printing From ibuffer

Ever since I remapped Caps Lock to Control I occasionally type 【Shift+X】 instead of 【Ctrl+X】 or vice-versa. Usually this doesn’t make much difference but when I’m in an ibuffer list it invariably causes havoc. The problem normally happens like this: I’m in ibuffer and want to move the cursor up to a different line. Instead of typing 【Ctrl+p】 I type 【Shift+p】. Unfortunately, 【P】 prints the buffer.

Usually I hit 【P】 two or three times before I realize what I’ve done and end up printing the buffer multiple times (and, of course, it’s always a large buffer). I finally got sick of this and added

(defadvice ibuffer-do-print (before print-buffer-query activate)
   (unless (y-or-n-p "Print buffer? ")
     (error "Cancelled")))

to my init.el file. Now when I type 【P】 instead of【Ctrl+p】 Emacs asks me if I really want to print the buffer. Another example of Emacs allowing me to have it my way. The only question is why I waited so long to fix this.

Posted in General | Tagged | 4 Comments

So Close Yet So Far

Crap.

Posted in General | Tagged | Leave a comment

Credit Card Numbers and Lazy Programmers

Ben, over at Brush Technology, has a splendid rant on something that I’ve written about before on my old blog. Why, in 2013, are we still suffering Websites that refuse to accept spaces in credit card numbers? There really is no excuse for this. The comments to Ben’s post offer several one line solutions to removing the spaces.

Look at your credit card. See those spaces in the number? They’re there for a reason: it makes it easier to read the number off. They also make it easier to enter the numbers on a Web form without error. It’s really annoying to enter the number as it appears on the card and then find that the last 3 digits didn’t appear in the credit card number field. Even worse is to have a moronic site tell me that the number is invalid.

And don’t even get me started on phone numbers. If this stuff bothers you too—and it should—take a look at the No Dashes or Spaces Hall of Shame that I linked in my original post.

Posted in General | Tagged | Leave a comment

EmacsMovies Looks at Gnus—Part 2

Noufal Ibrahim has part 2 of his series on Gnus up. The screencast is about 30 minutes so he broke it into two videos. As with part 1, the screen is too small to be read comfortably, even on my 27-inch iMac, so I used one of the alternative files from his Archive Page instead. The h.264 worked well for me; it streamed as normal and I could blow it up to full screen so that I could see Ibrahim’s Emacs screen easily.

Gnus is just too large and complicated to try to learn from a video so I approached the screencast as an exposition of the things that Gnus can do and why you might want to invest time in learning it. If you’re still using Net News and are looking for a single system that can read it, your email, RSS feeds, and probably anything similar with a consistent interface, Gnus is worth looking at.

That—to me—is the value of Ibrahim’s series on Gnus: you get a feeling for what it can do and what the work flow looks like. I’m looking forward to the rest of the series. I’m not sure I’ll become a Gnus user but at least my decision will be an informed one.

Posted in General | Tagged | 5 Comments

Jekor #3

Jekor has a new Emacs video up. This time it explores loading packages through ELPA in Emacs 24. The new video continues the excellent production values of the first two. This series is shaping up to be a really useful introduction to getting started with Emacs.

I’m really happy to see this new series of Emacs videos. Yes, it’s for n00bs but even experienced users can learn something new from watching them. For n00bs, it’s a great way to get started. With Jekor’s excellent beginning videos and Magnar Sveen’s superb Emacs Rocks! videos for more experienced users, we’re accumulating a really great library of instructive videos on Emacs techniques. Life is good for the Emacsian.

Posted in General | Tagged | Leave a comment

Prism Break

If you’re looking for ways to make your Internet activities more opaque, here’s a very useful site that discusses alternative software to help you be more secure. It also discusses phone services that may help too.

Most of us, of course, are not terrorists or doing anything illegal but that doesn’t mean we’re fine with having extra-legal snooping into our activities. As someone aptly put it, everyone knows what goes on in the bathroom but that doesn’t mean we want people snooping on us when we’re there.

This site is a great resource and you should bookmark it against the day that you need one or more of the services it discusses. I, for example, am not yet ready to give up iOS and OS X but:

  1. I can still use Tor and other utilities to protect my online activities.
  2. If, in the future, I do need to give up my current system, this site has good suggestions as to where to go.

Update: use → us

Posted in General | Tagged | Leave a comment

I Have Nothing To Hide

Jamie Zawinski links to a frightening response to a post on Reddit that offered the usual tripe about not caring about government surveillance because “I have nothing to hide.” The responder purports to be living in an Arab country that is “generally assumed to be a dictatorship.” He remarks that the purpose of surveillance is not to control terrorism but to control enemies of the state. That is, those who would destabilize the status quo.

He tells the fable of a young man who idealistically goes to a protest against inhumane farming practices and the consequences that follow. The story is certainly apocryphal but the poster insists that all the things he describes actually happened to friends of his. His final warning is that this is coming to a country near you regardless of how impossible it seems.

Perhaps this is alarmist. Perhaps not. One thing for sure, there is no reason to allow the government to assemble (or perhaps worse, maintain) a surveillance state. As the poster says, if this administration doesn’t use it for evil purposes, a future one will.

Posted in General | Tagged | Leave a comment