hi,
here are the steps to configure your free hotmail account on evolution mail client as a POP3 mail in ubuntu
well.. open a terminal and copy & paste those commands or write them ..as u like
first make sure that your system is up to date
sudo apt-get update sudo apt-get install inetutils-inetd sudo apt-get install hotway hotsmtp sudo gedit /etc/inetd.conf
the last command will open u a file “inetd.conf”
append this line to it
2500 stream tcp nowait nobody /usr/sbin/tcpd /usr/bin/hotsmtp
then save and exit and write this line
sudo /etc/init.d/inetutils-inetd restart
then startup evolution or the mail client u use and edit the configuration as the following
Receive Server type: POP
Server: 127.0.0.1
Username: xxx@hotmail.com (same as above)
Security: No encryption
Authentication type: Password
(Remember password checkbox is up to you)
Send Server type: SMTP
Server: 127.0.0.1:2500
[X] Server requires authentication (check this box)
Use Secure Connection: No encryption
Authentication Type: PLAIN
Username: xxx@hotmail.com (same as above)
(Optional Remember password checkbox)
well.. after i have did all those evolution could send but didn’t recieve mail getting this error
-ERR Unable to find folder inbox on remote server
so i used another program to recieve my mail
just write this commad in the terminal
sudo apt-get install freepops
and edit in the mail client the server ip:port as follows
Receive Server type: POP
Server: 127.0.0.1:2000
Username: xxx@hotmail.com (same as above)
Security: No encryption
Authentication type: Password
(Remember password checkbox is up to you)
and then voila !!
have a nice hotmail
Refrences:
for the hotwayd http://ubuntuforums.org/showthread.php?t=200408
for the freepops http://ubuntuforums.org/showthread.php?t=968821
Tagged: E-mail client, Email, Evolution, Folder inbox, freepops, Hotmail, hotwayd, Password, Post Office Protocol, Servers, Simple Mail Transfer Protocol, Sudo, Ubuntu, Ubuntu Interpid Ibex
It has been a while since I wrote in this blog. I'm back now with a nice permutation problem that I just solved correctly today. Given a string with size <= 20 and an index i (0-based) return the ith permutation of the string characters. This link is for the problem statement on TopCoder. You can view my code in the practice room as I've having problems with the "less than" signs here.
So, my idea is based on the fact that, having a string of n different chars, the number of permutations that begin with any given char is equal to Factorial(n-1). The proof is so simple, I will keep the first char in its place while trying to get all possible permutations of the remaining n-1 chars which is, as we learned in school, equal to Factorial(n-1);
When the string has some repeated chars it's a little bit different but still very simple. You count the frequencies of each char in the string excluding the first one. This is because you will leave it as it is, so it doesn't matter whether it is repeated or not. Then, for each obtained frequency of chars, divide Factorial(n-1) by Factorial(frequency[i]);
If index is not less than p, then you should try another char as the first char of the string, decrement your index by p and try again. The reason why you have to decrement index by p is because you are now beginning with a different char, which means that you counted p different permutations before getting to begin with that char. You should also note that, when selecting another char to begin with, you should select the one that comes after the current char in alphabetical order.
After selecting this char, put it at the beginning of the string and sort the remaining chars. So, if the current string is "abcd" and index is greater than or equal to p, select 'b', replace it with 'a' and sort the remaining chars to get "bacd". In this example, after replacing 'a' and 'b' yielded an order substring "acd", but it's not always the case, so sorting is required after replacing the first char with a new one.
One more thing to say, the boolean calcFreq vector is used to ensure that you count the frequency of a given char only once. If you have a string "aabc", at the first iteration of i you will get the frequency of the first 'a' charecter which is 2. At the second iteration you will calculate the frequency of second 'a' char which is again 2. But you shouldn't do that because this way you will divide by Fact(2) twice while you should only do it once.
Note:
The "<=20" constraint is required to solve the problem in this way. The maximum Factorial that can fit in a long long is Factorial(19) and since you don't have to calculate Factorial(n), just Factorial(n-1) then 20 is the maximum size of the string allowable.
bye bye MS !!
i said those words one day that i started to install Linux
i had a fear that i go back to windows a day or more after i install it, but now i dont think that i’m going back to windows
i can feel that my computer feels democracy
every time i look on the requirments for a software , game or windows i look on the minimum requirments section to see if my PC will handle it or not as i know that the recommended requirments will be not in my PC
with linux i saw the minimum , recommended and searched for any other requirments to see
this is the recomended requirments published on Ubuntu official website
- 700 MHz x86 processor
- 384 MB of system memory (RAM)
- 8 GB of disk space
- Graphics card capable of 1024×768 resolution
-
Sound card
-
A network or Internet connection
lol, i feel that i can run this OS on a gameboy and it will run smoothly
let’s see some features that i found in Ubuntu
1-Disk Space
i’ve been working on Ubuntu for 2 weeks now with alot of programs installed
1557 installed program as the software manager says
i’ve made the root drive ( C:/ ) 19 GB for it
now i have 12 GB Free
on windows i get Low Dosk space after 1 week
i doubt that one day there will be something like this in windows
this manager is configured on repositories eg a store on the Internet where software package sources exist
u just search for the program or what the program does and it will get u some for u
u just check and install
i remember i once used something like it on windows from the add/remove programs but the repository was on a local network
nothing was online
in addition to synaptic gets u all the programs open source, free or non free according to the repositories
3-compiz
in the posts i wrote about vista i said i liked the effects, now i can’t say that vista had effects at all
in Ubuntu i enabled the effects to see what they have and i found all those effects
note: this is not my video i found it on youtube but all those effects are working very smoothly in my PC
go and check for other videos there
4-Booting and shutting down
when i shut down my computer thats because i want to leave the computer
so when i press shutdown i don’t want to wait 1 or 2 minuets watching windows dying
in ubuntu it shuts down in less that 30 seconds
and loads in the same time or less also
in Vista i used to wait for more than 1 minuit to hibernate the PC
now ubuntu also hibernates in the 30 seconds
5-The Community
every single problem i faced with the drivers,software packages , themes or even the desktop wall papers i found them on the ubuntu forums www.ubuntuforums.org
and even there is an unsolvable bug in the OS u’ll find someone posting a workasound there
6-No Virus can affect me (almost)
i donot have to care about using antivirus as viruses can not affect my OS
but also i insert the USB disks in my PC and delete the viruses manualy ( Torturing them
)
so why don’t u try it
here are some motivations that affected me
1-Ubuntu Interpid Ibex can deal with NTFS file system so u wont lose or have to move ur data or format ur disk
2-if u r coding C# u can install “monodevelop” project and program C# , ASP.Net , till now they support up to framework 2 and Linq
3-there are programs that are exe and u want to run them on linux ( as linux doesn’t run exe files )
there is a software named “wine” that runs EXEs on linux
it even runs games as warcraft and programs as photoshop
4-there are a variety of software packages which can be installed that does very cool things
5-openoffice 3.0 can open and edit all what Microsoft office does
and the most important thing that u’ll feel ur PC’s Powers
to be honest the only problem i faced here till now is the mail client
i used to use Windows live mail to manage all my mails including my hotmail mail
where my account is free one and to manage it as POP3 i have to pay some
but windows live mail manages it as HTTP mail
i found some solutions but they are not working effectively
i hope i find a solution soon
and i’m sure i will isA
Tagged: Compiz, Computers, Linux, Microsoft, Microsoft Office, Microsoft Windows, NTFS, Open Office, Open source, Speed, Ubuntu, Ubuntu Interpid Ibex, Vista, Windows Live Mail
hi..
long time since i last wrote here
frankly alot of things have changed
the most obvious change that happened is my Operating System
yes the “Vista” after three months
actually it didn’t crash but it almost crashed more than a time and recovered which was a nice feature there “more stable than XP” thats what i feel
but
my poor laptop was sweating from vista anyway
and my disk was alarming every while “Low Disk Space”
and many times -not often- the computer just freezes…
i’ve attended a session lately which was talking about somethings of the new features in vista like the ready boost, super fetch and some other things
well..
the ready boost acts as a cache between the RAM and The Disk as i understood
but i have a 1.5 GB of RAM.. i just feel that its wasted :S
so i get a USB 2 flash to increase my computer’s performance
something like hanging a vitamins bag beside my computer’s bed to survive
i never accepted that ready boost idea or even tried it
and about the “Super Fetch”
it’s basically that the OS keeps watching what are you doing when when u open your computer and see what is the most used apps so it preloads it in the memory when the windows is starting (assuming that windows loads in a short time so we can sacrifice some and i have alot of un-needed memory
)
so i didn’t like it any way
and one of the most important thing that made me remove it was that many of my friends made fun of my computer when it was operated by Vista
actually i was one of the people making fun of my computer
sry.. i had to
when i used my computer to be a server for an ACM-ICPC contest ( any computer can be a server )
we use a software called PC^2 to communicate during the contest
about 30+ PC was logged in to this program
and during the contest the computer just got frozen
and the solution was to unplug it and reopen it but in safe mode
but thanx to Allah the contest passed normally
so i had to move
i didn’t like the idea to get back to XP
so i moved further
moved to ‘The OSOS‘
yes.. that far
and i’m compleeetly happy with this move and i’m gonna write about it soon isA
c u soon MS

If you know Lisp, you probably can understand how the code works in the (simplistic) example below. Click on the picture for better viewing.
To the team members who contributed valuable code to this project*, if you're reading this, thank you :)
[*] Haytham Alaa, Mosapha Ateya Sakr, Mostapha M. El-Maasarawy, Mohamed M. Moussa, Mohamed Abdul-Aziz El-Morsy & Kamal El-Din Mohammed.

يقول المؤرخون أن الجذر في هذا الكتاب يرمز إلى المجهول
و المال هو مربع المجهول
. و لكن لماذا كانت الأمور بهذه الطريقة؟ و لماذا كلمة "مال" بالذات؟أخمّن أنا رأيا آخر, و لا أعلم إن كان رأيي صحيحا أم لا (وليس معي الكتاب الآن لأراجع الحقائق, للأسف!).
المهم..تخميني هو أن العلماء في ذلك الزمن لم يكونوا يستخدمون الأسس بل كانوا يستخدمون الجذور. فبينما نحن نقول:
كانو يفكرون هم في:
فالمجهول الأصلي بالنسبة لهم هو مربع المجهول بالنسبة لنا.
و لكن عموما مشكلتهم كانت أكبر من ذلك, لم يكن لديهم أصلاً فكرة حرف مثل x يعبّر عن قيمة عددية. فماذا يفعل الخوارزمي؟
بدلا من المتغير كان يتكلم عن الشيء الحقيقي المراد معرفة قيمته, و لما كان كتابه يهدف لمساعدة الناس في حسابات التجارة و المواريث ففي كثير من الأحيان يكون المطلوب معرفته هو مقدار من المال. وهذه هي نظريتي في سبب التسمية.
و نتيجة لهذه التسميات فأنه لو نظرت في كتاب الجبر و المقابلة تجد أنه حيث نقول نحن:
كان يقول هو:
ثم تطورت الأمور فبعد أن صارت كلمة "مال" تعني الرقم مضروبا في نفسه بشكل عام, صار مثلا "مال المال" هو نتيجة رفع العدد للأس أربعة, و بدأت اصطلاحات جديدة تظهر. بالمناسبة قام الدكتور مصطفى مشرفه وعالم مصري آخر سنة 1937 بتأليف شرح كتاب الجبر و المقابلة. شرح النص الأصلي كان في الهامش متضمنا "ترجمة" للمعادلات من الصياغة القديمة إلى المعادلات بالصورة التي نعرفها.
لك طبعا أن تتخيل الجهد العقلي الجبار الذي كان الخوارزمي و أمثاله يبذلونه في وضع القوانين. هذا الرجل اخترع علم الجبر بدون أن يكون لديه رموز رياضية و لا حتى متغيرات! رحم الله اساتذتنا علماء المسلمين.
كيف إذن ظهرت المتغيرات بالطريقة التي نعرفها؟ البقية في الجزء الثاني.
Sameh, a Palestinian 23 years old blogging from inside Gaza..
Allah be with them..
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=f9213140-93bf-42b1-b921-e17626ec45ee)

![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=0a419dcc-23ba-41f9-b862-de90f8aae213)

![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=3c479984-6835-4a73-ba7f-c53c1612544b)


