AAF: AAOBloggers

:)

Archive for the ‘Articles’ Category

Long Lives Microsoft, Long Lives the King

with 3 comments

Today, I realized that i have been tricked into working for microsoft! REALLY!

BY Scott Beale / Laughing Squid

BY Scott Beale / Laughing Squid

I have started to work for a software solutions company here in kuwait. I had a felling something was wrong but i continued anyway. before i started to work i made my boss aware that i’m a linux guy, i like linux.
he assured me that i wasn’t going near microsoft products or .net. he even offered to install linux on my work pc.
–hapy–
i worked for several weeks with python and linux. last week, i recived word that i’ll be developing software with .net even though the boss told me i wasn’t going anywhere near it.
–shock–
today, i was asked to read up on share point service 3.0 because next week we’ll start working on redoing the company’s site.
–WTF–

now i realize i’ve been terned into a microsoft zombie ๐Ÿ˜ฆ

Long lives Microsoft.. log lives the psycho-maniac of a company!

ps: I MEAN COME ON! SHARE POINT! F!

Advertisements

Written by seininn

May 17, 2009 at 5:52 pm

The weather in Kuwait is unpredictable

with 8 comments

BONE_CRUSHER

Written by bone-crusher

May 14, 2009 at 2:34 pm

Posted in Articles

AAO rescues a 1 day-old cat

with 7 comments

The Rescued cat

The baby -rescued- cat

The night before the incident, I was entering my house at 8:30, before I entered i saw a shadow of a big cat on my head’s shadow. I got freaked out,ย  I looked behind and realized that there was a cat on the fence!! At that time I heard a cat screaming (other than the one on the fence) I said “They’ll go away”.

The next day when I got out going to school i heard the same scream, but neglected it. when I came back from school I realized that there was a cat stuck somewhere!! Bone-Crusher was with me, he went searching for the cat, but no clue! he said “When I go further I here the sound from behind, but when I step back I hear the sound coming from the place where I was before!!” I thought it was stuck between the bushes or something! -Out of nowhere- My young brother came out noticing what we’ve noticed, Suddenly he said “The cat, it is in the pipe I can see its face” I was like “what a load of …” *crouched and concentrated*ย  “WHAT!!!” , it was true it was inside the pipe.

The pipe that the cat was in

This pipe

I was shocked! “How could a cat get in this pipe?” was the question in my mind, after a while we noticed that it was a baby and was abandoned by her mother (the one that scared me the other night). At that moment we tried to get it out, but no luck. A person suggested to take a vacuum cleaner and suck it(the problem was that the cat’s face was in front, so it WILL get hurt). We were out of ideas, until my father came and gave us an helpful idea, this is pipe’s one hole, and it has two; so… we took a hose and put it in the other hole and started the water.

Diagram

The "map" of the pipe

The cat moved a bit, but the idea failed because the water was getting out (not moving the cat, getting out from hole No.2). I thought of an anxious idea. The idea was to take the hose and insert it all the way from Hole No.2 to the cat, and then push it with the hose. The cat started to scream again till it got out.

aaaand the AAO TEAM HAVE RESCUED A CAT

But once it got out, another problem started WHERE SHOULD IT GO? it doesn’t know anything, but the pipe, so it tried to get into the pipe again, I said “No you won’t” and blocked the hole putting my shoe, I told my BRAVE younge brother to take it/move it away a bit, so he took it (using his hands -I’d never do that!!! never did, never will-) and moved it. The cat went into our small garden hiding under the bushes being scared. We left her and got in our house, but it was still SCREAMING!! so we got out some milk, water, and some of our food (which was rice and shrimp -in other words emrabian-) and gave it to it, it didn’t want to eat, tried to feed her by -a little bit of- force, but still! WHAT A STUBBORN CAT! So we/I left it alone. And went to lunch.

After eating, I returned to it, and realized it ate/drank some. Good but, what now, we don’t want to keep it, so I talked to my father, and LOL, he said “we’ll keep it out there until it grows up a bit, and then we kick her out“!!

… To days have passed (today), when I came from school I was searching for it between the bushes but, I couldn’t find it. I got in the house and asked, but they all don’t know where did it go! :: Major Sad-face:: -I liked it a bit- I went in the house into my room. Then realized that the mother was in our balcony/very small-yard relaxing, then she looked at me…

The Mother

Da Mother

And then she ran away jumping over the wall. The good thing is that the mother is still here and alive, but WHERE IS THE BABY!!! I hope she knows where her baby is, cause otherwise, her baby is going to get hit by a car -the best thing some Kuwaitis do while driving a car-.

And by this, I have finished the whole story of the” rescue” and the other stuff (what other stuff?).

Anxious Nut

Written by AnxiousNut

May 7, 2009 at 2:26 pm

Posted in Articles, Entertaining, Uncategorized

Tagged with ,

Dar al-Sword?!!

with 2 comments

As i was searching for a large blob of text written in arabic (to test the longtext variable in MySQL), i stumbled on a wikipedia article on islam. one thing that caught my eyes was the verity of languages in which this topic was covered.
Even hebrew had its version of this article. being the curious person i am, i decided to translate it and see how correct the article is since it was a Featured Article.

This is part of it:

…According to the Muslim perception, the world is divided into two parts: Dar Al – Islam (ุฏุงุฑ ุงู„ุฅุณู„ุงู…) – House Islam, the region has already held a Muslim area, such as Saudi Arabia and some of the Middle East, and Dar al – Sword (ุฏุงุฑ ุงู„ุญุฑุจ) – a place of war, the region where These non-Muslims to live, like Europe. ื”ืงืžืช ืžื“ื™ื ื” ืœื-ืืกืœืืžื™ืช ื‘ืื–ื•ืจ ืฉืœ ื“ืืจ ืืœ-ืืกืœืื ืžื”ื•ื•ื” ื‘ืขื™ื” ืงืฉื” ื‘ื”ืฉืงืคืช ื”ืขื•ืœื ื”ืžื•ืกืœืžื™ืช, ื•ื™ืฉ ืžื•ืกืœืžื™ื ื”ืกื‘ื•ืจื™ื ื›ื™ ืื™ ืืคืฉืจ ืœื”ืฉืœื™ื ืขื ืžืฆื‘ ื›ื–ื”, ืืœื ื‘ืื•ืคืŸ ื–ืžื ื™ ื•ืžื•ื’ื‘ืœ. The establishment of a state does not – in the area of Islamic Dar Al – Islam is a problem difficult to be seen in the Muslim world, and Muslims believe that is impossible to accept such a situation, but temporary and limited. ื”ืฉืจื™ืขื” ืžื˜ื™ืœื” ืžื’ื‘ืœื•ืช ืขืœ ืœื-ืžื•ืกืœืžื™ื ื”ื—ื™ื™ื ื‘ืžื“ื™ื ื” ืžื•ืกืœืžื™ืช. Sharia imposes no restrictions on – Muslim Muslims living in the country. ืจืง ื‘ื ื™ ื“ืชื•ืช ืžื•ื ื•ืชืื™ืกื˜ื™ื•ืช (ื•ื‘ืขื™ืงืจ ื ื•ืฆืจื™ื ื• ื™ื”ื•ื“ื™ื ) ืจืฉืื™ื ืœื—ื™ื•ืช ื‘ืžื“ื™ื ื” ืžื•ืกืœืžื™ืช ื•ื”ื ืžื•ื’ื“ืจื™ื ื›” ื‘ื ื™ ื—ืกื•ืช ” ื”ื—ื™ื™ื‘ื™ื ื‘ืžืก ื’ื•ืœื’ื•ืœืช ื•ื ืชื•ื ื™ื ืœื”ื’ื‘ืœื•ืช. Only son religions Monotaistiot (especially Christians and Jews) are allowed to live in a Muslim country and they are defined as a “sponsor of” skull and have tax restrictions…

Dar al – Sword (ุฏุงุฑ ุงู„ุญุฑุจ)…

I’ve been a muslim all my life, and never have i heard of such a term!
because of people (like the author of that paragraph) who posses an outstanding ability to make things up, a lot of people have the wrong idea about islam. before writing about something, the author must at least know a little about what topic he/she is writing about. at least when writing for a site that many people consider correct.

Don’t believe Everything you hear

SIGTERMer

Written by seininn

May 5, 2009 at 1:12 pm

Posted in Articles

Tagged with

ab from apache (ARABIC)

with 2 comments

ุฅุฎุชุจุฑ ู‚ุฏุฑุฉ ูˆ ุณุฑุนุฉ ู…ูˆู‚ุนูƒ (ุงูˆ ู…ุฏูˆู†ุชูƒ)

by JOHNNIE W@LKER (and these are only the test servers)

by JOHNNIE W@LKER (and these are only the test servers)

ุงู„ุณู„ุงู… ุนู„ูŠูƒู… ูˆ ุฑุญู…ุฉ ุงู„ู„ู‡ ูˆ ุจุฑูƒุงุชู‡…

ู…ุนุธู… ู…ู† ูŠู‚ุฑุก ู‡ุฐุง ุงู„ู…ูˆุถูˆุน ูŠุนู„ู… ุฃู† ุงู„ู…ูˆุงู‚ุน ุงู„ุชูŠ ูŠุฑุงู‡ุง ุนู„ู‰ ุงู„ุฅู†ุชุฑู†ุช ู…ุงู‡ูŠ ุฅู„ุง ู…ู„ูุงุช ุชุฑุณู„ ุงู„ู‰ ู…ุชุตูุญูƒ ู…ู† ู‚ุจู„ ุจุฑู†ุงู…ุฌ ูŠุณู…ู‰ ุงู„”ุณุฑูุฑ”(server)ุŒ ูˆ ุงู„ุฐูŠ ูŠุฎุชู„ู ุนู† ุงู„ุฌู‡ุงุฒ ุงู„ุฐูŠ ูŠุนู…ู„ ุนู„ูŠู‡ (ุงูŠุถุง ูŠุณู…ู‰ “ุณุฑูุฑ”).
ู‡ู†ุงูƒ ุนุฏุฉ ุงู†ูˆุงุน ู…ู† ุจุฑุงู…ุฌ ุงู„ุณุฑูุฑุงุชุŒ ูˆู„ุนู„ ุงุจุฑุฒู‡ุง:

ุง- ุงุจุงุดูŠ (Apache): ู…ู† ุฃุดู‡ุฑ ูˆ ุฃูุถู„ ุจุฑุงู…ุฌ “ุณุฑูุฑ” ููŠ ุงู„ุนุงู„ู…
ุจ- ู…ุงูŠูƒุฑูˆุณูˆูุช IIS: ุจุตุฑุงุญู‡ุŒ ู„ูŠุณุช ู„ุฏูŠ ุฃูŠ ููƒุฑู‡ ุนู† ุณุจุจ ุฅุณุชุฎุฏุงู…ู‡ ุญูŠุซ ุฃู† Apache ุงูุถู„ ู…ู†ู‡ ูˆ ุฃุฑุฎุต (ู…ุฌุงู†ูŠ)

ุงู„ุจุฑู†ุงู…ุฌ ุงู„ุฐูŠ ูŠุชู†ุงูˆู„ู‡ ู‡ุฐุง ุงู„ู…ูˆุถูˆุน ุฃุญุฏ ุงู„ุจุฑุงู…ุฌ ุงู„ู…ุฏุฑุฌุฉ ู…ุน ุงุจุงุดูŠ ูˆูŠุณู…ู‰ ุจ”ab”. ู‡ุฐุง ุงู„ุจุฑู†ุงู…ุฌ ูŠู‚ูˆู… ุจู…ุญุงูƒุงุฉ ุฒูˆุงุฑ ุงู„ู…ูˆุงู‚ุน ุญูŠุซ ูŠู‚ูˆู… ุจุฏุฎูˆู„ ุงู„ู‰ ุงู„ู…ูˆู‚ุน ุงู„ู…ุฑุงุฏ ุฅุฎุชุจุงุฑู‡ ูƒุฒุงุฆุฑ ุทุจูŠุนูŠ (ู„ุง ูŠูˆุฌุฏ ูุฑู‚ ุจูŠู† ู†ูˆุน ุงู„ุณูŠุฑูุฑ ุงู„ู…ุฑุงุฏ ุฅุฎุชุจุงุฑู‡ุŒ ูab ูŠุนู…ู„ ู…ุน ุฌู…ูŠุน ุฃู†ูˆุงุน ุณูŠุฑูุฑุงุช HTTP). ูˆ ูŠู…ูƒู†ู‡ ู…ุญุงูƒุงุช ู…ุณุชุฎุฏู… ูˆุงุญุฏ ุงูˆ ุงู„ู ู…ุณุชุฎุฏู…. ูˆ ูŠู„ูŠ ู†ู…ูˆุฐุฌ ู„ู‡ุฐุง (10 ู…ุณุชุฎุฏู…ูŠู† ูˆ 1000 ุทู„ุจ (request)):

Server Software:        Apache/2.2.11
Server Hostname:        localhost
Server Port:            80

Document Path:          /
Document Length:        14593 bytes

Concurrency Level:      10
Time taken for tests:   0.849 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      14942826 bytes
HTML transferred:       14622186 bytes
Requests per second:    1178.15 [#/sec] (mean)
Time per request:       8.488 [ms] (mean)
Time per request:       0.849 [ms] (mean, across all concurrent requests)
Transfer rate:          17192.28 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        1    3   2.3      3      16
Processing:     1    5  17.6      3     209
Waiting:        0    4  16.1      2     207
Total:          3    8  17.6      6     210

Percentage of the requests served within a certain time (ms)
  50%      6
  66%      6
  75%      7
  80%      7
  90%      8
  95%     17
  98%     19
  99%    159
 100%    210 (longest request)

ููŠ ุงู„ู…ุซุงู„ ุงู„ุณุงุจู‚ ูŠู…ูƒู† ู…ุนุฑู ุณุฑุนุฉ ุงู„ู†ู‚ู„ (17192.28 Kbytes/sec (ู„ุฃู†ู‡ localhost)) ูˆ ู…ุนุฏู„ ุงู„ุฒูˆุงุฑ ุจุงู„ุซุงู†ูŠุฉ (1178.15).

ู„ุชู†ุฒูŠู„ ุงู„ุจุฑู†ุงู…ุฌุŒ ูŠู…ูƒู†ูƒ ุฒูŠุงุฑุฉ http://www.apache.org. ุงุฐุง ูƒู†ุช ุชุณุชุฎุฏู… ุฃูˆุจูˆู†ุชูˆุŒ ุงูƒุชุจ
sudo apt-get install apache2-utils
ููŠ Terminal.

ู„ุฅุณุชุฎุฏุงู…ู‡ ุฃูƒุชุจ
ab -c ู… -n ุน http://www.ุดูŠุก.com:80/
ุญูŠุซ ุฃู† “ู…” ุชู…ุซู„ ุนุฏุฏ ุงู„ู…ุชุฎุฏู…ูŠู† ูˆ “ุน” ุชู…ุซู„ ุนุฏุฏ ุงู„ุทู„ุจุงุช ูˆ ุดูŠุก ูŠู…ุซู„ ุงู„ู…ูˆู‚ุน/ุงู„ู…ุฏูˆู†ุฉ ุงู„ู…ุฑุงุฏ ุฅุฎุชุจุงุฑู‡ุง. ูŠู„ูŠ ู…ุซุงู„ ุจุณูŠุท ุนู„ู‰ ู‡ุฐุง:

ab -c 1 -n 100 http://araby.com:80/

ุณูŠู‚ูˆู… ุจุฅุฎุชุจุงุฑ http://araby.com ูƒู…ุณุชุฎุฏู… ูˆุงุญุฏ ุฎู„ุงู„ ุนุดุฑ ุทู„ุจุงุช

ุฃุฎุชู… ุจุงู„ู‚ูˆู„ ุงู† ู‡ุฐู‡ ุงู„ุฃุฏุฉ ู…ููŠุฏู‡ ูˆู„ูƒู† ูŠุฑุฌู‰ ุฅุณุชุฎุฏุงู…ู‡ุง ู„ุชุฌุฑูŠุจ ู…ูˆุงู‚ุนูƒู… ุงู„ุฎุงุตุฉ ูˆู„ูŠุณ ุนู„ู‰ ู…ูˆุงู‚ุน ุงู„ุบูŠุฑ ู„ุฃู†ู‡ุง ู‚ุฏ ุชุณุชู‡ู„ูƒ ุณุฑุนุฉ ุงู„ุณุฑูุฑ ููŠ ุงู„ุฑุฏ ุนู„ู‰ ุงู„ุงุฎุฑูŠู†.

ูˆ ุงู„ุณู„ุงู… ุนู„ูŠูƒู… ูˆ ุฑุญู…ุฉ ุงู„ู„ู‡ ูˆ ุจุฑูƒุงุชู‡

SIGTERMer

Written by seininn

April 29, 2009 at 7:14 am

Posted in Articles, HOW-TOs, Reviews

See how fast your server/webhost really is!

with 14 comments

as i wait for my boss to show up, i’ll write this nice little post about a tool I “discovered” today.
Most of you have probably heard of apache. one tool that comes with it is a benchmarking tool called ab. this tool can be used to preform benchmark tests on any HTTP server (not only apache) and supports a whole bunch of options. most of these options are for special cases, but for a basic setup (99.999999% of the web’s servers*) the following command is all you need:

ab -c [Number of users] -n [Number of requests] http://%5Bdomain%5D:%5Bport%5D/

where
Number of users: the number of concurrent users the tool should simulate.
Number of requests: the number of requests ab should generate.
Domain: sites domain e.g. example.com
port: normally 80, sometimes 8080. can be something else

this can be used to benchmark local and remote servers. i have posted the output of ab after a ran it to test my server (ab -c 10 -n 1000 http://localhost:80/):

Server Software:        Apache/2.2.11
Server Hostname:        localhost
Server Port:            80

Document Path:          /
Document Length:        14593 bytes

Concurrency Level:      10
Time taken for tests:   0.849 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      14942826 bytes
HTML transferred:       14622186 bytes
Requests per second:    1178.15 [#/sec] (mean)
Time per request:       8.488 [ms] (mean)
Time per request:       0.849 [ms] (mean, across all concurrent requests)
Transfer rate:          17192.28 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        1    3   2.3      3      16
Processing:     1    5  17.6      3     209
Waiting:        0    4  16.1      2     207
Total:          3    8  17.6      6     210

Percentage of the requests served within a certain time (ms)
  50%      6
  66%      6
  75%      7
  80%      7
  90%      8
  95%     17
  98%     19
  99%    159
 100%    210 (longest request)

as you can see, apache -on the same system- can handle 1178.15 users per second at 17192.28 Kbytes/sec (i wouldn’t mind having that kind of internet speed)

now, lets test a remote server (microsoft.com for example, i’m sure they won’t mind the extra load). [ab -c 10 -n 1000 http://microsoft:80/%5D

Server Software:        Microsoft-IIS/6.0
Server Hostname:        microsoft.com
Server Port:            80

Document Path:          /
Document Length:        0 bytes

Concurrency Level:      10
Time taken for tests:   101.323 seconds
Complete requests:      1000
Failed requests:        2
   (Connect: 0, Receive: 1, Length: 0, Exceptions: 1)
Write errors:           0
Non-2xx responses:      999
Total transferred:      423576 bytes
HTML transferred:       0 bytes
Requests per second:    9.87 [#/sec] (mean)
Time per request:       1013.227 [ms] (mean)
Time per request:       101.323 [ms] (mean, across all concurrent requests)
Transfer rate:          4.08 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       13   26  14.4     19      83
Processing:   647  775 1138.3    663   30042
Waiting:        0  743 661.9    661    6704
Total:        664  800 1139.1    684   30060

Percentage of the requests served within a certain time (ms)
  50%    684
  66%    694
  75%    705
  80%    711
  90%    737
  95%    752
  98%    776
  99%   6676
 100%  30060 (longest request)

This benchmark isn’t as accurate as the previous one. (microsoft keeps closing the connection. the first time it did it after 800 req.s the second time it closed it after 400 req.s i had to force it using the -r option to get the full 1000 requests).
microsoft (at the time of this test) can serve up to 9.8 users per second. epic slug.

ab also has the abilty to gennerate plotting data, but i don’t have time to get into this right now. see ya.

SIGTERMer
___
* this number might not be accurate ๐Ÿ™‚

Written by seininn

April 27, 2009 at 1:12 pm

Posted in Articles

Google Images – a new option

with 93 comments

Google Image Search engine has been recently upgraded; adding a new option for searching images(other than image sizes selection and the faces/photo/line-drawing selection) … they’ve added a color selection; meaning when you want to search for images, you can specify the color of an image (of course not a full image of a single color, cuz that’ll be dumb!! ). And by ” you can specify the color of an image” i mean: to choose the (majority) color in a single image, this might be helpful a lot! … I know you wouldn’t understand until you see an example, here look below,

screenshot

as you can see, yes you can select a color (Red/Orange/Yello/Green/teal/blue/purple/pink/white/gray/black/brown), you might be saying right now “and how would that help?” the answer is the following example: if you wanted a picture of a mother board, not any color, you need a BLUE one (click here). another examples for gamers, hmmm …a GREEN PS3?!

See this will help; instead of clicking on “Next page” till you fnd the wanted color, you can easily do this! simple eh?!

Enjoy Gooooooooooogling images!
Anxious Nut

Written by AnxiousNut

April 23, 2009 at 4:21 pm

Posted in Articles