Friday, October 14, 2011

Dennis Ritchie Memorial, who's the NeXT ?

All you guys know, the recent bad news about Steve Jobs death and now Dennis Ritchie .
I would like to name the month "October 2011", the shittest month I've ever seen !
Two technology experts passed away, and Who's the next one ?
I'm not interested to open my Google Reader and read another pass away news about an effective technology expert .
As you may know, Dennis Ritchie is known for :
The creator of the C programming language and a key developer of the UNIX operating system.




  Ken Thompson and Dennis Ritchie being awarded the National Medal of Technology from Bill Clinton

Dear Dennis Ritchie, I would like to say a great thanks to all of your efforts to keep our world better by making C and Unix .



Rest In Peace Angel .
My condolence ...

Kind Regards,
- Arash

Thursday, October 6, 2011

R.I.P Steve Jobs, Real Genius , Founder Of Apple inc

Rest In Peace dear Steve Jobs (Angel), we're following your ways .


Real Legends Never Die ... .

Tuesday, September 6, 2011

Yet another package manager for MacOSX

According to our recent case on OSX package managers and the holycrap 'fink' there is yet another great package manager named "Brew" .
There are just hundreds of ruby code behind Brew .

Here's the homepage of homebew .

 
$ brew install wget
 
Like to try it yourself ? ok just put back this code on your shell and hit Enter 

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"



Well, this was all you need to run and use Brew .

regards,
-Arash

Friday, September 2, 2011

Increasing the life of your MacOSX with FINK


If you are a linux user, of-course you know what is Advaced Packaging Tool known as what is called apt by linux fans .
Well, as a description it's a tool which developed by a group of Open-Source developers that works with core libraries to handle the installation and removal processes on Debian GNU Linux Distributions and it's variants .

The working process of apt in points of a linux-user is quite simple, grabbing the package from some predefined repositories and downloading it on the system & finally decompression and installation processes take place there .

apt-get in process of installing media-wiki package

As you might use this utility previously you know it will push a great progress in point of speed on your works, installing a package with a simple command : "apt-get install [package-name]", Is it so cute, hum? 

Well, there are many people out there which interested in some kind of apt-get for their MacOSX, but they were found nothing in this case .

It's a good news that such kind of great tool has been developed since 2008 for OSX users !

This tool is called fink. 

Here is the description from developer's site :
Fink is a project that wants to bring the full world of Unix Open SourceDarwin and Mac OS X. As a result, we have two main goals. First, to modify existing Open Source software so that it will compile and run on Mac OS X. (This process is called porting.) Second, to make the results available to casual users as a coherent, comfortable distribution that matches what Linux users are used to. (This process is called packaging.) The project offers precompiled binary packages as well as a fully automated build-from-source system. software to
To achieve these goals, Fink relies on the excellent package management tools produced by the Debian project - dpkg, dselect and apt-get. On top of that, Fink adds its own package manager, named (surprise!) fink. You can view fink as a build engine - it takes package descriptions and produces binary .deb packages from that. In the process, it downloads the original source code from the Internet, patches it as necessary, then goes through the whole process of configuring and building the package. Finally, it wraps the results up in a package archive that is ready to be installed by dpkg.
Since Fink sits on top of Mac OS X, it has a strict policy to avoid interference with the base system. As a result, Fink manages a separate directory tree and provides the infrastructure to make it easy to use.
 You know which kind of progress takes place in OSX world with such tool ?
The installation process is quite simple but it will put itself on your system in somewhat long amount of time (Here is Iran !) .

Depend on the version of MacOSX you're using, whether 10.4, 10.5, 10.6 or even 10.7 there are some recipes here which guide you in the right installation commands you need to issue on your MacOSX .

Would you like to run fink and joy of your MacOSX ? here you can download fink.

If you know other tools on MacOSX with aim of package installation and management, let me know and send your feedback here.

Thank you,
Regards,

- Arash

Tuesday, August 30, 2011

[ PHP CASE ] header() not redirecting you to the specified location ?

It's an infrequent case if you be a PHP Developer or at least a web developer and  not using header() function for redirecting the user to a specific location .
 
Let me refer you to PHP Documentation page and check out what is header() and it's purpose .
Ok as you can see, here's is it's prototype :

void header ( string $string [, bool $replace = true [, int $http_response_code ]] )

In the simplest form, header() could be use to send the web page visitor to a specific location .


here's an example :

<?php
         header("location:register.php");
?>

In this case, the php interpreter will redirect the visitor to the register.php page on the same website .
Q : I used header() function in my php code, but it did no response to me and nothing special happend in case of page rediction, what is the problem ?

A : While you are running PHP code and would like to use redirect() function, you should notice that in the block that you would like to redirect the visitor to the another page, you should not use any echo, print or any function for writing something on the web page before using header() function .

Let me explain it in more obvious manner .

suppose you written this code :

<?php
 echo "I want to redirect you to another page ...!";
 header("location:test.php");
?>

When you run up this snippet, you will not redirect to anywhere . This is because you used echo function before redirect() function .

If you would like to fix that code it's better to delete echo function or put it after redirect() function .

Here was one of the situations that might causes your code not to working properly.

regards,
-Arash

Windows Sysinternals Administrator's Reference

Russnovich's works always inspired me to do alot of interesting things .
You might know his latest release in July 2011 with title "Windows sysinternals administrator's reference" .
Sysinternal tool sets are familiar too almost all windows & network administrators.
if you would like to troubleshoot your reduced performance around your Microsoft windows operation system, it's nice too take a glance at Sysinternals





Sysinternals is a group of people who are fond in expanding windows system utilities, there are lots of such tools in Sysinternal's website .

It also has a great forum about windows system internals and development issues which may help you alot .




Sysinternals suite could be find here for free .

If you would like to have a great reference on how to apply these tools on the right situation, click here .
It's the free version of "Windows Sysinternals Administrator's Reference" .
if you have any question about the tools feel free to post a comment .

Regards,
- Arash

Friday, August 26, 2011

Are you interested in learning technical expertise in fields of computer ? [ Learning-Term Case ]






Salutation iranian folks across the world

Are you interested to gain knowledge about all aspects of computer quickly ?
Well, in this case I have a special suggestion for you, my suggestion is : "learning-Term" .
A great idea for increasing the speed of learning progress in computer skill sets, if you are interested in learning computer in right way, LearningTerm.com is my special suggestion.
All of the contents are video-based, all of the training packages are in persian language and you could satisfy yourself using Learning-Term packages, It will speed up your progress in learning computer programming , networking, animation, designing, website creation and all other sorts of skills you need to gain a great job in technology field .
The price of package is fairly too little in comparison with other companies currently working in this area at iran.
As you might know and use other packages, learning is in beginner level, whereas Learning-Term makes a great progress at this point, and packages are not in just beginner level, learning will started with project-based idea, and you will complete the whole project while time is going .
" Mehrdad Kianian " is the leader of "Learning-Term" packages and lots of the main packages with subject of programming are provided by him .

Mehrdad Kianian, Team leader of Learning-Term

He is an expert programmer which has about 13 years of experiences in professional programming and software engineering fields, including PHP, Java Technologies, dot net technologies including C# and ASP.net & etc .
You might interested in reading his Resume .

If you're looking for a rapid way to increase your knowledge and apply your knowledge in a proper and applicable way, I specifically suggest you to register in LearningTerm.com here.

I recommend you to bookmark learningterm.com and explore it always, we are planning to expand our educational ideas with new learning packages about programming languages like Ruby, Perl, C/C++, Operating Systems like MacOSX and some sort of linux distribution .

stay tuned with us ...

kind regards,
-Arash

10 Ways to Instantly Build Self Confidence



Self confidence is the difference between feeling unstoppable and feeling scared out of your wits. Your perception of yourself has an enormous impact on how others perceive you. Perception is reality — the more self confidence you have, the more likely it is you’ll succeed.
Although many of the factors affecting self confidence are beyond your control, there are a number of things you can consciously do to build self confidence. By using these 10 strategies you can get the mental edge you need to reach your potential.

1. Dress Sharp
Although clothes don’t make the man, they certainly affect the way he feels about himself. No one is more conscious of your physical appearance than you are. When you don’t look good, it changes the way you carry yourself and interact with other people. Use this to your advantage by taking care of your personal appearance. In most cases, significant improvements can be made by bathing and shaving frequently, wearing clean clothes, and being cognizant of the latest styles.
This doesn’t mean you need to spend a lot on clothes. One great rule to follow is “spend twice as much, buy half as much”. Rather than buying a bunch of cheap clothes, buy half as many select, high quality items. In long run this decreases spending because expensive clothes wear out less easily and stay in style longer than cheap clothes. Buying less also helps reduce the clutter in your closet.

2. Walk Faster
One of the easiest ways to tell how a person feels about herself is to examine her walk. Is it slow? tired? painful? Or is it energetic and purposeful? People with confidence walk quickly. They have places to go, people to see, and important work to do. Even if you aren’t in a hurry, you can increase your self confidence by putting some pep in your step. Walking 25% faster will make to you look and feel more important.

3. Good Posture
Similarly, the way a person carries herself tells a story. People with slumped shoulders and lethargic movements display a lack of self confidence. They aren’t enthusiastic about what they’re doing and they don’t consider themselves important. By practicing good posture, you’ll automatically feel more confident. Stand up straight, keep your head up, and make eye contact. You’ll make a positive impression on others and instantly feel more alert and empowered.

4. Personal Commercial
One of the best ways to build confidence is listening to a motivational speech. Unfortunately, opportunities to listen to a great speaker are few and far between. You can fill this need by creating a personal commercial. Write a 30-60 second speech that highlights your strengths and goals. Then recite it in front of the mirror aloud (or inside your head if you prefer) whenever you need a confidence boost.

5. Gratitude
When you focus too much on what you want, the mind creates reasons why you can’t have it. This leads you to dwell on your weaknesses. The best way to avoid this is consciously focusing on gratitude. Set aside time each day to mentally list everything you have to be grateful for. Recall your past successes, unique skills, loving relationships, and positive momentum. You’ll be amazed how much you have going for you and motivated to take that next step towards success.

6. Compliment other people
When we think negatively about ourselves, we often project that feeling on to others in the form of insults and gossip. To break this cycle of negativity, get in the habit of praising other people. Refuse to engage in backstabbing gossip and make an effort to compliment those around you. In the process, you’ll become well liked and build self confidence. By looking for the best in others, you indirectly bring out the best in yourself.

7. Sit in the front row
In schools, offices, and public assemblies around the world, people constantly strive to sit at the back of the room. Most people prefer the back because they’re afraid of being noticed. This reflects a lack of self confidence. By deciding to sit in the front row, you can get over this irrational fear and build your self confidence. You’ll also be more visible to the important people talking from the front of the room.

8. Speak up
During group discussions many people never speak up because they’re afraid that people will judge them for saying something stupid. This fear isn’t really justified. Generally, people are much more accepting than we imagine. In fact most people are dealing with the exact same fears. By making an effort to speak up at least once in every group discussion, you’ll become a better public speaker, more confident in your own thoughts, and recognized as a leader by your peers.

9. Work out
Along the same lines as personal appearance, physical fitness has a huge effect on self confidence. If you’re out of shape, you’ll feel insecure, unattractive, and less energetic. By working out, you improve your physcial appearance, energize yourself, and accomplish something positive. Having the discipline to work out not only makes you feel better, it creates positive momentum that you can build on the rest of the day.

10. Focus on contribution
Too often we get caught up in our own desires. We focus too much on ourselves and not enough on the needs of other people. If you stop thinking about yourself and concentrate on the contribution you’re making to the rest of the world, you won’t worry as much about you own flaws. This will increase self confidence and allow you to contribute with maximum efficiency. The more you contribute to the world the more you’ll be rewarded with personal success and recognition.

Regards.
-Arash