Powered By Blogger

Monday, October 10, 2011

Steve Jobs: Here’s To You

Former Apple CEO Steve Jobs passed away last night at the age of 56.
Regardless of your opinion on Apple’s products, services and business approach, the impact Apple has had on technology under Steve’s vision will be felt for a long time to come.
“Steve was among the greatest of American innovators – brave enough to think differently, bold enough to believe he could change the world, and talented enough to do it”~ Barack Obama
This ‘impact’ can be seen in the condolences being expressed in the media: from Barack Obama and Bill Gates, to Mark Zuckerberg and Google’s Eric Schmidt.
It seems that no matter which side of the fence people were on regarding Apple and their business approach all appreciated their neighbour next door.
And rightly so: Whilst many may see Apple as an emerging evil keen to stave off competition, for everyday users they simply made computing easy and fuss free. An approach that has undoubtedly helped shape, inform and spur innovation in other operating systems – including our own.
Here’s to you Mr Jobs – your legacy will be long felt.

Three Nifty Gnome Shell Extensions That Use Zeitgeist

Over the last few weeks I have been working on some nifty Zeitgeist extensions for GNOME Shell. I finally managed to finish all of these Zeitgeist extensions, and figured I’d share them with the OMG! Ubuntu! audience. Here’s a brief rundown and instructions on how to install.

Journal

The first extension adds the “Journal” overview which allows you to navigate through your Recently Used stuff, categorized by type of files (documents/videos/music/other/…) as well as type of interaction (recent/frequent/new). This is something Akshay Gupta, Federico Mena and me have been working on and we will be working on it more in the coming weeks to fix and improve the view…

Zeitgeist-Search

One of the most annoying things about the Shell search is the semi-random order of results we get for matching applications (see https://bugzilla.gnome.org/show_bug.cgi?id=623372). This is now fixed. Also the search in recently used could be improved by categorizing them by types (documents/videos/etc..)

Jump-lists

Last but not least I managed to finish a jump-list extension that is pretty nifty and works like charm. Basically if your application reports to Zeitgeist what it is doing (install datap sources from https://code.launchpad.net/~zeitgeist-dataproviders/zeitgeist-datasources/trunk) you will have the awesome functionality of being able to right click on an app and retrieving the 4 recent items used with it as well as other 3 frequent items used.

Where to get it?

Simple just get it from my git repo (https://github.com/seiflotfy/gnome-shell-zeitgeist-extension) by doing
git clone git://github.com/seiflotfy/gnome-shell-zeitgeist-extension.git
Note: You need Zeitgeist to run this! Make sure that both zeitgeist-daemon and zeitgeist-datahub are running.

Credits…

Thanks to Federico and Akshay for their amazing work and Jasper St. Pierre and Colin Walters for guiding me through the unconventional methods to get this running. Also thanks to Collabora for sponsoring my efforts…
Here is a video demo of the 3 extensions or download it from here
Related posts:

Looking For a Beautiful GNOME Shell Theme? Try ‘Nord’

GNOME Shell users are spoilt for choice when it comes to beautiful looking ‘Shell’ themes – a fact made even more apparent with the updated release of 0rAX0‘s ‘Nord’ theme.
The theme has been rewritten to support GNOME 3.2 (which you’ll find readily available in next weeks Ubuntu 11.10 release) and gained new scrollbars.
Due to the rewrite the developer notes that the update should be considered a ‘beta release’, so if you’re already willing and able to install it do bear this in mind.
Click to Download GNOME Shell Theme 'Nord'Installation is typical for GNOME Shell themes: -
  • Download and extract the ‘Nord’ folder to the .themes directory inside your Home folder, using the ‘Theme Selector’ GNOME Shell extension to select it.
  • Alternatively backup then replace /usr/share/gnome-shell/theme with the Nord theme.

A Google-Inspired GNOME Shell Theme

If you use a Google service – whether it’s Docs or Gmail – chances are you’ve noticed that a ‘new theme’ has been rolled out across their various web apps. 
On the plus side the changes offer a consistent look and style across Google’s many web apps, with minimalistic looking themes using lots of white space. On the not-so-plus side they lack contrast; all that white can be very harsh on the eyes early in the morning…
DeviantArt user ~plaidcounty has taken cues from Google’s new look to craft together a “Google” style GNOME-Shell theme.
And it looks pretty freaking awesome: -
The theme, for the most part, is a pretty accurate implementation – even the GNOME panel takes the colour from Google’s newly-darkened navigation bar, and looks all the more awesome for it.
On the downside the theme doesn’t come with a matching GTK theme. It also requires the installation of the Droid font family in order to look “the biz”.
Installation is typical of GNOME Shell: Either put the ‘Google’ theme folder inside ~/.themes and use the theme-selector extension to enable it. If you’re lacking that extension you will need to back-up your /usr/share/gnome-shell/theme folder and replace everything inside it with this theme using a root Nautilus window.

How to Dual Boot OS X and Ubuntu

Dual-booting on a PC is easy: you stick in a LiveCD disk, drum your fingers for a few minutes then let the installer take care of all the difficult stuff.
But how does one dual-boot Ubuntu on a Mac?
It’s actually not that difficult; there are various guides and how-to’s on the internet. But to help clarify the process I thought I would share the method I use.
Whilst I don’t guarantee that it will work for you (although in all honesty it should), be sure to make a back up of anything vital before attempting this. Seriously, do it.
Ready? Let’s begin…

Step one: Install rEFIt

Unlike a typical PC where the GRUB boot-loader is used to present your dual-boot options, Intel Mac users need to install something extra: ‘rEFIt’.
‘rEFIt’ is a visually slick (think BURG) boot-interrupter that allows you to boot between OS X and your Linux distribution(s) of choice.
rEFIt should be installed from within OS X, and doesn’t require the use of too many braincells to accomplish: -
  1. Download the rEFIt-0.14.dmg disk image and ‘mount’ it (double-click on it)
  2. Inside the ‘rEFIt’ filesystem/folder double-click on the “rEFIt.mpkg” package.
  3. Follow the instructions and select your Mac OS X installation volume as the destination volume for the install
If everything went well you will see the rEFIt boot menu appear on your next restart.
For extra peace of mind create a bookmark to the ‘Troubleshooting section‘ of the rEFIt website incase any issues arise.

Step two: Resize the disk in OS X

The next step is to make some space for your Ubuntu install. I typically do this in OS X because it’s easier.
  • Open Disk Utility in OS X
  • Choose your main hard-drive from the left hand pane
  • Choose the ‘Partition‘ tab
  • Click the ‘+‘ sign to the bottom of the harddrive window and create a new partition by dragging the slider. You can also specify a partition size directly in the size box
  • For ‘Format‘ choose ‘Free Space’ (this will help us easily identify the partition later on)
  • Apply
Be generous when allocating disk space you need as trying to change it later can lead to all sorts of problems.

Step Three: Reboot with a LiveCD in the tray (and connect a wired keyboard and mouse)

Once you’re all set you just need to pop your LiveCD into the disk drive and reboot.
Press the ‘C’ after the start ‘chimes’ sound to boot from the Live CD.
Live CD

Step Four: Install to your created partition

If you’re an iMac user using bluetooth peripherals do be aware that these will not work out of the box in Ubuntu, so have a wired keyboard and mouse to hand.
Proceed to install Ubuntu on the ‘free space’ partition you created earlier. Ubuntu may prompt you to install it on freespace (double check the size) or, if it doesn’t or you just want to be super-cautious choose the ‘Advanced’ option from the partition screen. From here select (check the box under ‘format’) ‘free space‘ and choose the ‘EXT4′ filesystem when asked, and mount point should be set as ‘/’.
The above looks a bit crazy, but once you’re in the partition editor of the LiveCD it’s straightforward.
I should also add that I don’t usually bother adding Swap space but you may wish to.

Step Five: Reboot

Once all is done you just need to reboot your Mac and select ‘Linux’ from the REFit bootloader when it appears.
If you’re using a bluetooth keyboard you will need to press a button on your keyboard and wait a second before you are able to select boot entries with rEFIt.
Thanks to Beau for the idea

Sunday, October 9, 2011

Change DNS Settings in Windows Using DNS Changer

Many times people face problems while accessing a particular website. It might be due to website server problem. But sometimes it might be a fault of your Internet service provider as their DNS server was not updated within time. That's why its recommended to use external DNS instead of the DNS provided by your ISP.
There are many DNS available to use like Google Public DNS, Open DNS, etc. We have shared 2 freeware in past to automatically apply custom DNS which are DNS Jumper and Namebench.
Today we are going to share another free tool to automatically change DNS settings in Windows.
"Windows DNS Changer" is a free utility created by "milano88" @ DA which allows you to change DNS settings in Windows on the fly.
You can either select the predefined DNS like Google DNS, Open DNS and Sprint DNS or set your own desired DNS settings using this tool.
Windows_DNS_Changer.png
Just type the desired DNS settings and click on Apply button. It'll immediately set the custom DNS settings in Windows.
The software also plays a song in background which can be paused using the Play/Pause button.
Its a portable software so you don't need to install it. Simply run the EXE file.
You can download it using following link:
Download Windows DNS Changer

Comparison Between Windows 7 and Windows 8 Memory Management System

We all know that Windows 8 is under development and a Developer Preview build is available free to download for public.
We have shared a detailed review of Windows 8 Developer Preview build which can be read here. Microsoft has also talked a lot about Windows 8 new features and enhancements at Windows 8 blog.
Today Microsoft has shared some interesting details about Windows 8 memory management system at official Building Windows 8 blog.
According to Microsoft, their goal with Windows 8 from the beginning was to ship with the same system requirements as Windows 7. An important task for Windows 8 was to make room for new functionality while looking for opportunities to reduce the memory consumed by existing functionality and consumed across the board.
Windows 7 vs. Windows 8 Memory Consumption:
The easiest way to make a ballpark comparison of Windows 8 vs. Windows 7 memory use is to install both operating systems on a 1GB RAM machine (minimum OS RAM requirement) and compare them when they’ve been rebooted multiple times, and then idled for a while.
The below graphics compare memory consumption on an old netbook running Windows 7 at idle, and then with the same machine running Windows 8.
Windows_7_Windows_8_Memory_Consumption.png
As you can see though, Windows 8 is doing well relative to Windows 7.
NOTE: For Windows 8, a clean install also contains the extended Windows Defender technology, which, for the first time incorporates complete antimalware functionality – also optimized for memory and resource use. (This functionality does not exist on a clean install of Windows 7 where we would recommend that you add security software).
Memory Combining:
When assessing the contents of RAM in a typical running PC, many parts of memory have the same content. The redundant copies of data across system RAM present an opportunity to reduce the memory footprint even for services and OS components.
Memory combining is a technique in which Windows efficiently assesses the content of system RAM during normal activity and locates duplicate content across all system memory. Windows will then free up duplicates and keep a single copy. If the application tries to write to the memory in future, Windows will give it a private copy. All of this happens under the covers in the memory manager, with no impact on applications. This approach can liberate 10s to 100s of MBs of memory (depending on how many applications are running concurrently).
Service changes and reductions:
OS services configured to run all the time are a significant source of ambient memory use. When assessing the set of OS services during Windows 8 planning, Microsoft decided to remove a number of them (13), move a different set of services to "manual" start, and also made some of the "always running" services move to a "start on demand" model. This is where a "trigger" in the OS (like device arrival or the availability of a network address) causes the following to occur:
  • The service starts.
  • The service does its thing (whatever that happens to be).
  • It hangs around for a while to make sure there isn’t anything else to do, and
  • The service goes away.
You'll notice that Plug and Play, Windows Update, and the the user mode driver framework service are all trigger-started in Windows 8, in contrast to Windows 7, where these services were always running.
More granular prioritization of memory:
Windows 8 has a better scheme for the prioritization of memory allocations made by applications and system components. This means that Windows can make better decisions about what memory to keep around and what memory to remove sooner.
For example, antivirus programs (AV) do various checks on files when they are being opened by other programs. The memory that the AV program allocates to check virus signatures is usually a one-time allocation (it is unlikely that specific memory will be needed again). On Windows 7, the memory is treated as if it had the same priority in the system as other memory (say, memory allocated by a running instance of Microsoft Excel). If memory became scarce, Windows 7 could end up removing the memory that helps another running application (like Excel) stay responsive for the user, which wouldn’t be the best choice for system responsiveness in this case.
In Windows 8, any program has the ability to allocate memory as “low priority.” This is an important signal to Windows that if there is memory pressure, Windows can remove this low priority memory to make space, and it doesn’t affect other memory required to sustain the responsiveness of the system.
Now that's an impressive thing to know about Windows 8. It seems we'll not need to change services type to manual to speed up Windows 8 like previous Windows versions or will we need?