How to search for porn with no porn results – Blekko

You heard it right, search for porn with no porn results. That’s one thing the newest search engine in the town can do. Ladies and gentlemen, say hi to Blekko.

blekko logo

Blekko introduces us a new concept called slashtags that filters the search results and comes up with only the ones we’re interested in. For example using the slashtag /chess will show up results from only the sites associated with chess. If you want to search for porn in sites which don’t have adult content, search porn /noporn.

http://blekko.com/ws/porn+/noporn

Blekko says the sites for the built-in slashtags are carefully chosen by humans. And users can built their own slashtags too. The quality of the search results are still far behind Google, of course, but Blekko deserves giving a try.

Installing Xilinx in Linux

Xilinx is the most widely used FPGA simulator available and can be installed in multiple platforms. Here’s how I installed it in my linux system which runs Ubuntu 10.10.

In the Xilinx folder, select the archive that contains the ISE data and extract it. In my case it was named ise_SFD.tar

Open up a terminal, go to the extracted directory and type:

sudo ./setup

A installer will open and follow the simple instructions given. The install takes up more than 5GB in the drive. After the setup is completed, go to the ISE directory inside the installation directory and enter the following command in the terminal:

. settings32.sh

Notice the space after the first dot and the letter s. Now you’re ready to run the ISE. Just enter the following command:

ise &

This should start the ISE. However you’ll have to run the above two commands in order to start ISE each time. What I did was to write a bash script with the two commands above and gave it executable rights with chmod.

Good luck!

Quick view PDFs in your browser

There’s news that Chrome is going to get its own PDF viewer. Yes, opening PDFs in Chrome has always been a real pain in the ass. But there’s always been better alternatives to opening the PDFs in your browser.

In the google search page, simply click on the Quick View button and the PDFs are rendered in an HTML-like format. This won’t load the actual PDFs, but for most of our day-to-day needs and previewing the PDFs, Quick View serves just fine.

 

 

 

 

 

 

A sudden "Desktop effects could not be enabled" problem in Ubuntu 10.10

UPDATE: If you ran into the “desktop effects could not be enabled” error, try one of the following:

  1. Check if you have installed the recommended drivers for your video card in System -> Administration -> Additional Drivers
  2. In case of NVidia cards, install the latest driver as showin in this post
  3. Remove any theme-related software you installed recently. Eg: compositing managers, themes
  4. Install the compiz-fusion-plugins-extra package
  5. Try the command: compiz –replace
  6. Completely remove all the  compiz stuff and reinstall
  7. Try this: http://ubuntuforums.org/showpost.php?p=9212078&postcount=10
  8. Install Ubuntu Tweak

The above are some of the methods different people around the world have solved the issue. But there’s no guarantee these may work for you.

When I switched on the laptop today evening I had no idea that I was in for a shock. All the desktop effects had gone; the desktop cube nowhere to be seen; no animations or effect whatsoever; and docky reports some compositing problem.

Then I go to my Appearance Preferences and find out that Visual Effects option has been set to None. Trying to change it resulted in the age-old problem: “Desktop effects could not be enabled”.

I do some googling and find out that I’m not alone and there’s an easy remedy, too. Just go to the Package Cleaner in Ubuntu Tweak, click Purge PPAs and purge the Compiz package out of the list. And everything’s back to normal.

No, wait. Not everything. I had once installed the extra compiz plugins package which added some cool new effects, and it’s gone missing. Apparently this and the update I did in the last boot has resulted this.

And later found out that it was actually the update that messed up the things. All you have to do is to go back to the previous version.

Saving a video into a sequence of images

I wanted to create a GIF out of a part of a video sequence. But how could one extract a sequence of images from a video? After some googling FFMPEG turned out to be the savior. Here’s a sample command for taking a series of snapshots out of a video using ffmpeg:

ffmpeg -ss 23 -i kids.mp4 -f image2 -vframes 50 a%2d.jpg

23 is the position in the video to start extracting images (in seconds). kids.mp4 is the input video file. image2 says that the output would be in JPEG format. 50 is the number of frames to capture. a%2d.jpg is the format of the output file, i.e. in this case the files would be saved as a01.jpg, a02.jpg, etc.

The next step would be to convert the sequence of images to a GIF, which can be easily done using GIMP.