bingorabbit’s bLOG - when rabbits rule!..

Ubuntu Set

By: bingorabbit, July 1, 2008 @ 11:49 pm
Filed under: information.technology, linux
Tags: ,

Today I got my requested Ubuntu CDs, I have requested the 32-bit Desktop and Sever Edition on 04-06 and they were here by yesterday and I have recieved them today. The set was covered in a way that you will really like and the whole set looks AWESOME!

Ubuntu Desktop EditionUbuntu Server Edition

I tested the system, through the live CD, but I had what I were expecting. I dun like GNOME, I’m more interested in KDE and I know how does everything can be customized or maintained in KDE - although Red hat’s support goes to GNOME -. I will need a huge motive to switch to Ubuntu, I had feedback from all - Ahmed Soliman, kamasheto, psycho and a lot of guys in CAT -. I believe that GNOME looks really cool, and the applications are more stable up there but it’s just a feeling that KDE is better :D

Anyway, I know that one day the idea will just pop-up and I will install the system, may be then I will be adicted to it like I’m adicted to fedora now :). Maybe I will install ubuntu then replace GNOME with KDE “Kubuntu”. When I get to such step, I will come back here and give my feedback about the system :).

IT Career Planning Session

By: bingorabbit, June 30, 2008 @ 5:12 am
Filed under: depiak, information.technology
Tags: , ,

I have been working on depiak recently, I was trying to do a come back for this great foundation, we had a meeting discussing activities and we agreed on some activities which had dkTalk one of them and I was supposed to start the series with a session called “IT Career Planning”. The session targeted those who doesn’t know how to start their way in IT (Information Technology) and needed an advice about differrent fields and the actual meaning of the word.

I tried my best in marketing for the session and it seems that my effort really came with a great result. You can see the session photos on the session’s facebook event page, and the original post on depiak’s website, where you can download the presentation and leave your feedback.

The audience was great, and really active, they were amazing, we shared info and laughed a lot :). I’m satisfied with what have been done till now, I had great feedback from the attendance about the whole activity in depiak and that was really awesome.

Bored

By: bingorabbit, June 22, 2008 @ 11:23 am
Filed under: depiak, dreams, in.words
Tags: , , ,

Here I am at the college, the graduation project meeting was cancelled which was supposed to be at 10:00 AM and I have another one with depiak members at 01:00 PM, I got shocked really, because I needed to sleep but I forced myself to come now and attend the first meeting when I found noone soI called Amr Salah and he stated the fact that the meeting was off!

Really these days seems so boring - I might not find the exact word to describe them - but it’s that feeling that really makes u sad; for nothing but some specific reasons, most of them are private.

I’m focusing on depiak these days, I ‘m still believing in the members they can do something, I wanna do something before my graduation and I think depiak is the right place.

I started JAVA again, I’m finishing SL110, I will finish SL110 and I will finish SL110 - omal law makansh SL110? -.

ummm, 1 hour and 45 mins left..BORING

Error Reporting

By: bingorabbit, June 12, 2008 @ 4:09 am
Filed under: information.technology, linux, php, web
Tags: , ,

One of the most amazing features in php is how it shows errors to the developer, you might think of it as a GPS which tells you exactly where you have to go :) ; Line Number, character and the error itself..CHARM!

Through the whole previous 2 years, I didn’t use error reporting at all, because it was off by default on my localhost - I use Fedora with Apache, php and MySQL installed as my localhost,, I even installed phpMyAdmin :) . -. I didn’t even mind to set it on, may be because I didn’t right that HUGE script that I may search for an error in and get lost. I have to tell that this really enhances your skills a bit, because you become more into code trying to figure out the semi-colon that you forgot and it terminated the script with a blank screen. Anyway, today I thought about giving it a try so I had to do it manually so you should do the following:


$ su -

- then enter the root's password and press enter -

# vi /etc/php.ini

Search for “Error handling” (type /Error handling and press enter in vi), this is where the error handling and logging configuration block starts. Try to find the statement where it says:


;error_reporting = E_ALL

If it had a semi-colon (;) in the beginning, just remove it, if there where no semi-colons - the common situation - , go to the next step.

Next, search for “display_error” (type /display_errors and press enter in vi), mostly you will find this equals Off so you will find it saying:


display_errors = Off

Change the “Off” to “On”, save the configuration file ( Shift+ZZ in vi) and issue the following command to restart the web server service:


# service httpd restart

If you had any problems, please report them here. :)

parameters with default values

By: bingorabbit, June 11, 2008 @ 6:24 pm
Filed under: information.technology, linux, my.hacks, php, web
Tags: , , , ,

It’s known that declaring a php function has the following syntax:

<?php
function function_name(Parameters_list) {
// function
// code
// block
}
?>

an example of this can be like this:

<?php
function nameAndAge($name,$age){
echo "Welcome $name, you are $age years old!";
}
?>

When I issue the following statement:

<?php
nameAndAge("bingorabbit",20);
?>

I will get:
Welcome bingorabbit, you are 20 years old!

Most of us know that, and also we know that to set a default value for any parameter, we can do the following:

<?php
function function_name($parameter1 = "default value", rest_of_the_parameter_list) {
// function
// code
// block
}
?>

which might take the following form:

<?php
function nameAndAge($name="bingorabbit",$age){
echo "Welcome $name, you are $age years old!";
}
?>

so when I issue:

<?php
nameAndAge();
?>

I will get:
Welcome bingorabbit, you are years old!

and when I issue:

<?php
nameAndAge("Ahmed", 15);
?>

I will get:
Welcome Ahmed, you are 15 years old!

The problems is such declaration is that, you can’t just issue:
Read More..

Next Page >>>