Saturday, October 23, 2010

Impressions on iPhone 4

 

After months of thinking and intimidating (Just like I used to do back when I moved from Palm OS to Windows Mobile, The Dark Side at the time)); I have finally made the move to the current one, that is iPhone.

Yesterday, I had to meet two of my friends, one with HTC HD 2 and the other is with iPhone 3 GS with a Version 4 ROM. I happened to have my HTC Touch Diamond 2, and we ran the following test: locating something on the map, and going to it with scarce resources in terms of Wi-Fi hot spots, GPRS … etc .

There’s an amazing sense of serendipity when you realize that you can skip sourcing the web because you already have what you’re looking for. And this is what you feel when you have the improved feature of caching Google maps offline .

It’s only then when I quite realized that: “ Whatever exists on other platforms it's still not on par with what's available for the iPhone”.

Aside from pricing, which is currently good and reasonable comparing with a couple of months back, I’m really impressed of the following:

iPhone is a force to be reckoned with in the enterprise, I finally can join the WPA enterprise network at work, and could browse Outlook web Access! this is quite handy, and was not available for me on other platforms  .

Exchange is there and other features as well. Arabic support is excellent, and these are the features I care about the most on any mobile platform.

Being an old Palm OS timer, having a wealth of apps is an essential feature, and currently iPhone is unparalleled .

I know that Developers are flocking to Android in their droves, and that my next device may be an Android one, especially that I’m a Linux Geek, but by and large, I'm sure that iPhone is currently the best fit for my needs.

The only thing that I feel challenging, and I know there is a workaround for, is the Adobe Flash thing that is just inviting the wrath of everybody.

I just scratched the surface of the platform, that is I can’t give a sound concrete opinion about it, however I'm currently poking around with the tools; they're very easy to use. And I will try to writ another post after a couple of months In Sha Allah to see where I get on with the platform .

Friday, May 28, 2010

Managing 100s of Linux and Solaris machines with clusterit

I’m copying this through Blog O’ Matty, I will post my test for the app as soon as I get time ! But since it’s important and want to postpone it.

 

“

I use numerous tools to perform my SysAdmin duties. One of my favorite tools it clusterit, which is a suite of programs that allows you to run commands across one or more machines in parallel. To begin using the awesomeness that is clusterit, you will first need to download and install the software. This is as easy as:

$ wget http://prdownloads.sourceforge.net/clusterit/clusterit-2.5.tar.gz

$ tar xfvz clusterit*.gz

$ cd clusterit* && ./configure –prefix=/usr/local/clusterit && make && make install

Once the software is installed, you should have a set of binaries and manual pages in /usr/local/clusterit. To use the various tools in the clusterit/bin directory, you will first need to create one or more cluster files. Each cluster file contains a list of hosts you want to manage as a group, and each host is separated by a newline. Here is an example:

$ cat servers
foo1
foo2
foo3
foo4
foo5

The cluster file listed above contains 5 servers named foo1 – foo5. To tell clusterit you want to use this list of hosts, you will need to export the file via the $CLUSTER environment variable:

$ export CLUSTER=/home/matty/clusters/servers

Once you specify the list of hosts you want to use in the $CLUSTER variable, you can start using the various tools. One of the handiest tools is dsh, which allows you to run commands across the hosts in parallel:

$ dsh uptime

foo1  :   2:17pm  up 8 day(s), 23:37,  1 user,  load average: 0.06, 0.06, 0.06
foo2 : 2:17pm up 8 day(s), 23:56, 0 users, load average: 0.03, 0.03, 0.02
foo3 : 2:17pm up 7 day(s), 23:32, 1 user, load average: 0.27, 2.04, 3.21
foo4 : 2:17pm up 7 day(s), 23:33, 1 user, load average: 3.98, 2.07, 0.96
foo5 : 2:17pm up 5:06, 0 users, load average: 0.08, 0.09, 0.09


In the example above I ran the uptime command across all the servers listed in file that is referenced by the CLUSTER variable! You can also do more complex activities through dsh:



$ dsh ‘if uname -a | grep SunOS >/dev/null; then echo Solaris; fi’


foo1 : Solaris


foo2 : Solaris


foo3 : Solaris


foo4 : Solaris


foo5 : Solaris



This example uses dsh to run uname across a batch of servers, and prints the string Solaris if the keyword “SunOS” is found in the uname output. Clusterit also comes with a distributed scp command called pcp, which you can use to copy a file to a number of hosts in parallel:



$ pcp /etc/services /tmp



services                   100%  616KB 616.2KB/s   00:00
services 100% 616KB 616.2KB/s 00:00
services 100% 616KB 616.2KB/s 00:00
services 100% 616KB 616.2KB/s 00:00
services 100% 616KB 616.2KB/s 00:00


$ openssl md5 /etc/services


MD5(/etc/services)= 14801984e8caa4ea3efb44358de3bb91



$ dsh openssl md5 /tmp/services


foo1 : MD5(/tmp/services)= 14801984e8caa4ea3efb44358de3bb91


foo2 : MD5(/tmp/services)= 14801984e8caa4ea3efb44358de3bb91


foo3 : MD5(/tmp/services)= 14801984e8caa4ea3efb44358de3bb91


foo4 : MD5(/tmp/services)= 14801984e8caa4ea3efb44358de3bb91


foo5 : MD5(/tmp/services)= 14801984e8caa4ea3efb44358de3bb91



In this example I am using pcp to copy the file /etc/services to each host, and then using dsh to create a checksum of the file that was copied. Clusterit also comes with a distributed top (dtop), distributed df (pdf) as well as a number of job control tools! If you are currently performing management operations using the old for stanza:



for i in `cat hosts`
do
ssh $host 'run_some_command'
done


You really owe it to yourself to set up clusterit. You will be glad you did!”

Saturday, May 8, 2010

How twitter helps in physical social networking

image

Due to some dust storms, I was stranded in Malta airport yesterday, a free open wireless network was captured, and I was thinking, if any body is tweeting about this in the airport and to know more details about it.

 

Up to my surprise, only one person tweeted about this, I was thinking if I could meet and discuss some of the social aspects wit that person.

Hours passed by, and my Laptop battery drained and I decided to start the journey to look for a power outlet, I ended up with one socket with two outlets, and no chairs! I decided to set down and start utilizing this time to do something productive, back and forth, I asked the person beside me if he is using twitter, and he turns to be the guy tweeted about the event.

He turned to be the CEO of a software company helping and coaching youth on how to be on track for Web II services, from my chat with @billzimmerman,I understood he is also funding fresh grads for their projects after filtering.

This might have a potential for Libya, and this needs more thinking.

It’s interesting to see how twitter is helping cast networking not only on the web, but the other way around .

Red Hat Enterprise Linux 6 Beta Now Available

If you didn’t hear it yet, Red Hat had announced its new major release to its customer yesterday evening.

 

 

Nothing impressive for me, however, we finally have RHEL6 on the stage !

Wednesday, March 31, 2010

How much time does it take to break your password?

How I’d Hack Your Weak Passwords

Source.

A new project called: Nuggets

 

 

 

 

 

 

 

 

 

 

During the last month, I was thinking of a way to revive my blog.

I was thinking of the best thing different that I can provide given that I lurk quite a bit – Ehem… Using the Reader provided from a company called Google .

I happen to find many nice nuggets that are extremely useful, of which the most are in the form of Tables and charts.

I will start sharing these in a way that will ease the pain for some one who works from 8 to 5 every day, since this is my case.

At some point I believe I will start creating ones as well, and for all, posts will hold the tag: Nuggets .

Let’s see how we get on .

Monday, February 1, 2010

How To Defrag Your Mind In 5 Easy Steps

How To Defrag Your Mind In 5 Easy Steps

This is really a nice source code I liked to share with you, I'm planning to modify it soon and let you know!

Who knew, that a source code would be written for mind defragment!!