Tuesday, December 14, 2010

Take care of your passwords


It is actually good to hear the latest breach of Gawker.com database and the release of millions of user information including passwords. It is always good to remind everyone to change their passwords, especially easy ones. And here I'll explain why it's not a good idea to have easy passwords and will give you some tips to help you create strong passwords.

To begin with, I'll explain how a server stores user passwords in a database. Let's say a user goes to hotmail.com and creates a new email with the password "password". The server will most likely encrypt the password and stores it in a database. Let's say the encrypted password is "£K%Ggh", so this strange word will be stored next to his email address. The next time the guy wants to check his email, he'll enter his username and password and the server will encrypt the password again and checks the encrypted word with the one stored in the database. If they match, the server will allow him access to his email.
Let's say the same user creates a commenting account in Gawker.com and uses the same email and password. Gawker will use another encryption scheme to generate their own encrypted word and store it in their own database. Let's say Gawker's word is "G?juu&".
Now if a hacker gets access to Gawker's database and encryption scheme, he can guess easy passwords like "password", "qwerty", "123456" and he'll see the encrypted word for each of them and then he'll search the database for users who have that word as a password and get their associated emails. He then uses the same password on their email accounts (hotmail in our example) and most likely the hacker will gain access to the user's email. And the same thing can happen to Twitter and Facebook accounts as well.

That's what happened today. And to add insult to injury, Gawker hackers released the whole database on the Internet. Allowing everyone access to the database.

In this particular case, if the password is hard to guess, the user will be better protected. So if the password was "pa$$word" or "Passw0rD" it will be a lot harder to guess. I'll give recommendations for better passwords later.

So, what you can do to protect your online account and what lessons we learned from today's event?

First, change all your passwords immediately  even if you are not registered in Gawker or it's sister websites. Second, don't use the same password for different accounts. Third, use special characters in your passwords (other than letters and numbers). Forth, use an app on your mobile phone to store your passwords in case you forget them.

Finally, how to choose a good password:
-Add a mix of these symbols: ¥$€><~|\_.,?!'&£/-@
-Mix upper and lower case letters with numbers
-Replace letters with similar symbols: "password" can be "P@$$w0Rd"
-Intentionally misspell words
-Use a mix of birthdays, occasions, acrynoms, site names, symbols: "20!12!1978" "&face~book&"

Just be creative with your password to prevent anyone from gaining access to your personal information. And good luck out there.

Saturday, August 14, 2010

The State of Twitter in Kuwait

It is amazin how Twitter adoption in Kuwait is accelerating. It was about three years ago when i last searched for tweets near Kuwait. I found less than 100 tweets spanning 24 hours. Now, everyone and their mom is tweeting. When you search for tweets near Kuwait you'll find 100 tweets every 5 minutes and more at times.

The good thing about twitter, in my opinion, is that it's not restricted for one thing. It is there for you to use it how you please. And there is absolutely no wrong way to use twitter.

Personally, I use twitter to write about interesting stuff that I read online, report news that are important to me, talk about funny things I come across, and chat with friends. That's my contribution to twitter. However, I consume more than I contribute. I follow all sorts of technology celebrities and Kuwaitis who have the same interests as me, mainly technology and games. I also follow my friends. And use Flipboard to see the links posted by the people I'm following.
But this post is about my observation of Kuwaiti tweeps (people who use twitter) and their behavior. I think they are divided into three categories. The ones who use it to chat only, influenced by blackberry maybe? The ones who use it to post jokes and funny pictures, blackberry influence too? And the ones who have no sense of privacy and broadcast every single thing they are doing, basically an open invitation to stalkers. And any combination of these three categories. And the confused newbies.

Again, this is twitter and there is no wrong way to use it. Just be careful and know that all your tweets are public and bad people may read your tweets and know that you are "at the avenues mall pinkberry at the table near the door and just went to the bathroom alone." Or you "left the Porsche doors open at 360 parking level 2 ." Just don't do that, people.

I'm constantly monitoring the adoption of new technology in Kuwait and will try to take another look at twitter in Kuwait in about 3 years from now and see what changes.


Happy twittering.

Wednesday, June 09, 2010

iTunes Running Natively in Ubuntu Linux




We all know that iTunes is available for Windows and Mac only. So for Linux users, you have to have a workaround to run iTunes and sync your iPhones, iPads, and iPods.

Here is how to run iTunes by its own in Ubuntu 10.04 Lucid:

  1. Install the closed sourced VirtualBox
  2. Create a Windows XP virtual machine
  3. Install iTunes and VirtualBox Guest additions
  4. Add iTunes to startup programs
  5. Run the virtual machine in "seamless mode"
  6. Now every time you want to run iTunes, run the virtual machine.

Friday, May 28, 2010

Ubuntu, The Mute Operating System!!


So far I installed Ubuntu on more laptops than I can count and about half of them needed extra effort in order to make the sound work. Why are they spending time and mony on things like software center and cloud computing without first perfecting the most basic functions of the computer? How can I recommend Ubuntu to the average user without fear of spendings hours in the forums configuring ALSA? Why Ubuntu does not ship with the latest ALSA version? Why is it not easy to upgrade to the latest ALSA version?

It kills me everytime i see a friend with a slow Windows computer, filled with adware and Useless IE tool bars, yet I cant recommend Ubuntu for them. Something will come up; sound may not work, external display won't work, keyboard volume control wont work. And i'll get the usuall request to go back to Windows.

Having said that, Ubuntu is by far my OS of choice and I can't imagin a Linux world without it. I wish that Mark Shuttelworth would just stop wasting time on (ugly) themes and backgrounds and button locations and pour some man-hours and/or funding on the basic functions of the computer, like sound and preferals. Recently I had no problems with wifi and printing but there are problems with graphics, sound, keyboards with Fn key compinations and trackpads with scrolling. These problems seem so basic and ignorable but i have seen them be the reason why users wanted to go back to windows.

I understand that Canonical, people who make Ubuntu, are good people who helped move Linux to the mainstream but i truly believe my suggestions will improve Ubuntu and will encourage us to recommend it for more and more users.

Update:
Here is how I got the sound working under these new Sony Vaio laptops (VPCEB15FG and VPCEB15FX)
  1. Update ALSA to the latest version from this PPA (apt-get install linux-alsa-driver-modules-'uname -r')
  2. Remove sudo password prompt (dangerous)
  3. Install hda-verb
  4. Add this line to the startup programs: sudo hda-verb /dev/snd/hwC0D0 0x19 SET_PIN_WIDGET_CONTROL 0x22

Tuesday, May 18, 2010

Jim Zemlin & The State of Linux

Jim Zemlin of the Linux Foundation speaks to an invitation-only audience about the current state of Linux. Watch closely when he shows a video of a Steve Jobs keynote.

Tuesday, May 11, 2010

Finally, Official 64-bit Firfox?



Mozilla Firefox started its life as a fast replacement for Netscape Communicator, which was extremely slow. The light-wight browser-only Firefox was welcomed with open arms due to its speed and its light use of system resources. The idea then was that Mozilla makes the browser as light as possible and if users wanted more functionality they would download add-ons.

However, Mozilla was so successful and generated referral revenue from Google in millions. Which led to the non-profit company to expand and shift their focus away from their main product. Firefox did not become neglected but the main idea behind Firefox was neglected. They started adding more and more features to Firefox, making it heavier and heavier. This led to slowness in the growth rate of firefox and the emergence of other "faster" browsers.

Come Firefox 4. A shift back to the old ideals of faster and lighter browser. Mozilla just announced the alpha release of the web browser and this version includes the usual UI (user interface) update and faster javascript engine, two changes we are used to get with every update. However, the more noticeable new features are multiprocess support for tabs and plug-ins, and official 64-bit version.

Now Firefox will scream on multi-core machines (all new decent computers are multi-core) and will not crash. if a plug-in crashes (Flash for example) it will die by itself leaving Firefox running as if nothing happened.

Do not download the alpha version yet because its still buggy and the new UI is not all there just yet.

Wednesday, November 25, 2009

The ELSE Mobile User Interface Is Amazing

Symbian OS is looking old day after day. Android's default interface is geeky. iPhone's interface is geared towards average users with clear, big and pretty buttons.

Now this video shows the most ergonomic mobile phone user interface I have ever seen. I think this will change mobiles the way the iPod's wheel changed mp3 players.


Monday, October 26, 2009

Fix GRUB After Installing Windows 7

If just like me you installed Windos 7 (or vista) on a computer running Ubuntu Linux in a different partition, then ,just like me, you lost GRUB. Now the computer boots straight to Windows 7. Don't worry. Follow these steps to recover GRUB and bring back the GRUB boot menu.

First: Boot from the Ubuntu live CD and open a terminal.
Second: type this in the terminal:

  1. sudo grub
  2. find /boot/grub/stage1
  3. root (x,y)
  4. setup (x)
  5. quit
  6. sudo shutdown "now" -r
Replace "x" and "y" with the results from the find command.
Also, remember to edit the file /boot/grub/menu.lst to make sure the GRUB menu shows all the operating systems in your computer.

This tip is from David Mooney

Tuesday, September 15, 2009

MAG Beta

I have been invited to help test the new Playstation 3 game MAG which is still in beta. MAG is a 256-player First-Person Shooter. I'm downloading the game client as I write this and will update this blog as I play it. I'm Aware of the nondisclosure agreement and promise not to break it. I hope to file some bug reports and help Sony release a fully polished game in January 2010.

I'm excited about MAG because it resembles (in my eyes) the same atmosphere as Sony's PlanetSide. That game had good potential but died after the introduction of mechs.


I leave you with a video development diary of MAG, previously known as Massive Action Game.


Monday, September 07, 2009

Ubuntu is the Best Windows!

I took my nephew shopping for a laptop. And of course I want to let him use Linux. I formatted the laptop and installed Ubuntu and did everything in my power to change the look of Ubuntu to look like Windows. Now he uses it thinking its Windows, and that's a good thing. Now he has everything he expects in a computer, without windows and without viruses. He is very happy with it. I'll explain how to do it here.



How to make Ubuntu Linux look like Windows XP or Vista for your children:

  1. Install Ubuntu
  2. Install Ubuntu Tweak and Ultimatix
  3. Using Ultimatix, install extra fonts, extra themes, wine, wine doors, aMSN, Google Earth, media codecs, VLC, and all the games (don't install ultimate edition themes)
  4. Using Add/Remove utility, install all educational and games packages, and Cheese program too. (don't install games over 100MB)
  5. Remove the top Gnome panel and change the lower panel to look like Windows' task bar (like the screenshot above)
  6. Apply the Mythbuntu theme (comes from step 3 above) with a black background
  7. Using Ubuntu Tweak, lock down all Gnome panels and enable desktop icons for My Computer, Home Folder, Trash, and Network.
  8. For Firefox, install Flash plug-in and Adblock Plus add-on. And add bookmarks for your kids favorite sites.
That's it. You now have a Windows laptop without Windows. and everything should just-work. Now re-wrap the laptop and give it to your kid.

I expect that later on I'll show him how to change themes and get rid of the windows look once and for all.

Also, you can change Ubuntu to look like a Mac!! but no kids use Macs anyway.

Saturday, August 22, 2009

Holy Quran Reading Software for Ubuntu Linux


The best Linux software to read the Holy Quran is Zekr. You can customize it to display the Quran full screen and change the font size as you like.

To install Zekr use the following command in the terminal:

sudo apt-get install zekr
This will install Zekr under Applications -> Accessories.

To show the Quran in Arabic in a large font inside Zekr program, do the following:
  • Go to Tools, Options, View, and change quran_fontSize to 30 (or 35)
  • Go to View, Layout, and choose Quran
  • Go to View, Layout, Quran, and choose Block
It is easy to change the Zekr interface to Arabic. Under Tools, Options, General, change language from English to Arabic.

There is also Zekr for Windows and Mac OSX.

And you can always use Quran Explorer website or download the Quran as PDF file (Arabic version and English version)

Monday, August 17, 2009

Intsall 100s of Fonts in Ubuntu with 1 Command



Ubuntu GNU/Linux comes with many fonts but what if you want more?
Just type this command in the closest terminal:

sudo apt-get install ttf-georgewilliams ttf-dustin ttf-larabie-deco ttf-larabie-straight ttf-larabie-uncommon
This will download 11 megabytes of packages and install hundreds of fonts in your system. Make sure you enabled universe and miltiverse repositories.

Source

Friday, August 07, 2009

Quick Guide to Switch to Linux

I have been using Linux as my default desktop for a over a month now with almost no problems. I have been using it in my travel laptop for over a year and on the home server for two years. So why my main computer was so late to the party?Its because of my mobile phone and ipod specific applications and computer games.

I solved the first problem by having a Windows virtual machine inside Linux and solved the games issue by having a 30GB partition with Windows. Now I connect my Nokia/iPhone/Blackberry to the virtual windows and it works flawlessly and to play Crysis, I reboot in Windows and play it there. The Windows partition is without any programs because it is there for the sole purpose of playing games.

I just wanted to provide a quick guide to everyone who's stuck with windows like I used to be and can't make the switch to Linux. Each step is linked to a useful web page explaining, in details, how to do it:

  1. Backup all your personal files and bookmarks in an external hard drive

  2. Download the latest Ubuntu Linux and burn it on a CD

  3. Find your old Windows CD and hardware drivers CDs for Windows

  4. Install windows on a 20 or 30GB partition

  5. Install Ubuntu by choosing the side-by-side option.

  6. Immediately change the Ubuntu theme!

  7. In Ubuntu make sure you install the following:

  8. Download the closed source virtualbox (not the SOE eddition) and create a windows virtual machine for your iPods and Nokia mobile phones

  9. Keep a list (text file) of all commands you learned in the process and all DEB packages you installed in the process

  10. Once you are satisfied with your Linux desktop back it up using remastersys which is like having a snapshot of your computer (with or without personal files) on a bootable CD/DVD.

If you have any questions just shoot me an email or use the ubuntu forums. You can get paid phone support from Canonical if you want to. Its a great way to financially support the organization behind Ubuntu. I also use Google a lot to help me with troubleshooting. For example, search for “linux replacement for photoshop” and “ubuntu install true type fonts” these kinds of searches usually yield good results. You can be very specific and still find good results, like “ubuntu screen resolution dell inspiron 6400.”

Usually its good to have a friend with Linux background, so I really mean it, send me an email or add me on msn (no Blackberry, sorry) and I'll be glad to help and spread the knowledge of Linux.

Saturday, July 11, 2009

Viva's Fake Word of Mouth Campaign

Seems like Viva, a very tiny and ignorable Kuwaiti telco, is emailing bloggers using fake names and emails to complement their latest ad campain. Its so obvious and pathatic. Nobody is using Viva and nobody cares.

I recieved two emails from pink[...]@hotmail.com and s.m[...]@live.com both asking my opinion about Viva's recent ads and both attached pictures of the ads, which i won't put on my blog. I'm suddnly an advertising expert and my opinion matters to random people?

I wonder how desperate is their marketing department to attempt such a stunt and sound so obvious and fake? They need people to talk about them in their blogs and get free ads all over the kuwaiti blogsphere? Good idea, but bad fake names.
Probably this post means they have accomplished their goal and let me write about them and give them free mention and advertising. But i felt the need to warn all bloggers out there.
The emails are fake!!

Monday, July 06, 2009

Zain and Wataniya Compared


This is a little comparison between the two leading mobile operators in Kuwait. I made this spreadsheet to help me decide what operator and what plan to choose for my personal use. But decided to put it online for everyone who couldn't decide.

I created it with Google Docs and its available here as a web page and in PDF, Excel, and Open Document formats.

Let me know if it needs any modifications.