Installing ruby-Qt4 on Fedora 9  

Posted by Satish Eerpini in , ,

well it is a lot easier than on Fedora 8( which i could never complete though i posted the method here ), it is just the installation of an RPM , just do this if u want to write any GUIs with Ruby based on Qt4
yum install kdebindings

u are ready to roll !!!

Kernel installer !  

Posted by Satish Eerpini in , ,

i have been learning gui programming with Ruby, .. it is a lot more easier designing GUI's with languages like Ruby or Python , than C . I actually wanted to write a kernel installer , which would work like this , ....


nothing related to the kernel is involved in the functioning of the installer , here is how it would go step by step .... :

  • ask for the kernel archive file .(or may be just ask for the patch file and do the rest as same after applying the patch ).
  • process the available config techniques based on the presence of libraries (like make gconfig, make menuconfig , make xconfig, ... etc)
  • ask the user to choose the config technique
  • give the option for the user to load the .config file from the installed kernel
  • and then compile the kernel , the progress being shown in a display window
  • and then complete the installation and ask the user to reboot to use the new kernel

i just got this idea, .... does a tool like this already exist, ... or would it be worth it , to develop something like this ,....?


Satish

removing tabbed display : drupal : user relationships...  

Posted by Satish Eerpini in

so if you have used the user_relationships module in Drupal ( 5.x) , u would know that the My relationships link in the navigation menu , when clicked displays a page with two internal tabs, 'all' and 'pending'. If u didn't like the tabbed display , (i did not like it , so i made this change)u can as well change it to display any one of the options , pending or all , this is what has to be done , u will have to edit the hook file for the user relationships module , so the required file is
"your drupal installation"/modules/user_relationships/user_relationships_hooks.inc
find the following code in the file and make the following changes .

$items[] = array(
'path' => "relationships/list",
'title' => t('All'),
'access' => $view_access,
'type' => MENU_NORMAL_ITEM|MENU_DEFAULT_LOCAL_TASK,
'weight' => -10,
);
if (true || ($approval_required && $edit_access)) {
$items[] = array(
'path' => "relationships/requests",
'title' => t('Pending'),
'access' => $edit_access,
'callback' => 'theme',
'type' => MENU_NORMAL_ITEM|MENU_LOCAL_TASK,
'weight' => -9,
'callback arguments' => array('user_relationships_pending_requests_page', $user->uid)
);
}

change it to the following ,...

$items[] = array(
'path' => "relationships/list",
'title' => t('All'),
'access' => $view_access,
'type' => MENU_NORMAL_ITEM/*|MENU_DEFAULT_LOCAL_TASK*/,
'weight' => -10,
);
if (true || ($approval_required && $edit_access)) {
$items[] = array(
'path' => "relationships/requests",
'title' => t('Pending'),
'access' => $edit_access,
'callback' => 'theme',
'type' => MENU_NORMAL_ITEM/*|MENU_LOCAL_TASK*/,
'weight' => -9,
'callback arguments' => array('user_relationships_pending_requests_page', $user->uid)
);
}



we are just changing the menu hooking behaviour, ... this is just a choice of look , a small tweak , nothing more,...... u can just ignore this if u like the tabbed display .

Fedora 9 install media in India.  

Posted by Satish Eerpini in ,

This is an excellent initiative by one of the members of the Fedora Ambassadors Project , Susmit. He created a list and we( members from india) have been adding to it. It is a list of volunteers , who could copy Fedora install media for people who would require them. This is not limited to the present release and will continue for all the future releases i guess , ... here is the link , ....

http://fedoraproject.org/wiki/Distribution/FreeMedia/India/LocalContacts


Installing qt4-ruby bindings !!  

Posted by Satish Eerpini in ,

i installed the qt4-ruby bindings just now. It is a little confusing ( for me atleast), so i describe here the process to install the bindings, (for linux, i am using Fedora 8).....
-> install qt4 on your system
->get the qt4-ruby bindings from the RUBYFORGE site or from the following link, the following link might contain an old version , so go to the rubyforge site for the latest stuff, ....
http://www.filekeeper.org/download/eerpini/qt4-ruby-1.4.10.tgz
->install cmake on the system if it is already not present
on a Fedora system u can do this by just using 'yum install cmake'
->then extract the archive and change to that directory ,
->then run 'cmake .'
this will automatically configure and create makefiles .
->then run 'make'
this should automatically install the bindings, just write a sample ruby program to check if it works !

installing RadRails on Eclipse ...........  

Posted by Satish Eerpini in , ,

I could not find a proper answer when i wanted to install RadRails on eclipse . This is how it is done , .... in the Eclipse menu go to
Help-->Software Updates --> Find and Install....
then in the pop - up window which appears ,..
Search for new features to install
and then click next and then u will have to add 2 new remote sites, .. the details for the sites are the ones which were very difficult to obtain , they are
site 1 :
Name :RadRails
URL : http://radrails.sourceforge.net/update
site 2 :
Name :RDT
URL : http://updatesite.rubypeople.org/release
then click on finish , u are almost done with the installation , u have to just follow the instructions from here on to finish the installation .

my friend's reply to the previous post, ......  

Posted by Satish Eerpini in


can understand ur feelings .... this sometimes happen to me also .. its called the controversy of the way we live life !! ...

Every day we look at the sky dreaming of what would happen but not quite sure of what is our desire ...then comes the pigeon ... disturbing our peer sense of onlooking insight into our future .. but then again .. thats how lief goes ... like a rail ... chuk chuk ... thoy thoy ... its fast .. and sometimes u don't even catch the glimpses of what is going on ... so ...

whaT my intension behind the mail is ... pigeons may come on the platform .. but what makes u outstanding is when u kill the pigeon on the spot and roast it and eat it up ,... and say ... blurp !! ... i am satisfied now .. i can continue my ruby !! ... and then catch up with ruby in rails ....
let go pal .. this is life ...
u've done ur part ... its up to others to decide ur credentiability .. but never loose hope in urself !! . and always stay on focus ...
thats the way the great karthik lives ,.... and thats why he is called the magestic and magnificent !! ..

Regards ,
*******... the magesty himself


Hi ...
How are you?? I am fine thankyou...Do not bother mailing back :).. I am doing great and am currently on the platform... Long to go before I get on the rails.. Well, I am a star waiting to be adorned by Ruby and PERL.. I have to make a rail journey once my platform work is done with.

There seems to be one thing that bothers me... Piegons!!! They are on the platform as well.. But, why rails for them?? They have the sky... While they'll be airborne once they are done, I'll be on rails.. Believe it or not, I am not even going to get sailing!!!

Rail gadi.. Rail gadi... Chuk chukk.. chuk chuk chuk...

A very bored Programmer


ruby and the little book of ruby !  

Posted by Satish Eerpini in , ,

the little book of ruby is one of the best things i have ever seen , it describes all that is to ruby , the most part of the language in a very short and sweet way . This book is all u need if u want a brief introduction on Ruby . But the Ruby cookbook provides lot more information . It provides some very neat questions, indeed some of the best questions i have ever seen . My journey into ruby has just started today , so have to see how all this finally turns up !

2.6.25.3 up and running ,,,,,,  

Posted by Satish Eerpini in ,

the latest kernel release is 2.6.25.3 , and i have already compiled it and no problems at all. All i had to do was copy the config file from the 2.6.25 version and compile the new versiion .

randomlib-1.0.1  

Posted by Satish Eerpini in , ,

The random number generator function in the C lib is quite predictable. My friends at LUG@VITU, wrote this function which generates a random number by utilizing the noise level from the devices from a file in /proc . I have made small changes to the make file to create a library when compiled and thus the lib can be directly installed . I have also added make install support to the code .The code is available at :
http://www.filekeeper.org/download/eerpini/random_lib-1.0.1.tar.gz

endswith v1.2  

Posted by Satish Eerpini in , ,

the next version of the endswith program which i had started a few weeks ago , is out, this release contains a library function implementation of the endsWith program called iendswith() , a header file has been included in the source code, including this header file and after compiling the library , the function iendwith can be used in regular C programs , ........
unlike the actuall endwith binary, iendswith only returns the number of matches for the given pattern in the given directory ..... i am presently working on a library function implementation which could return the matching file names in the form of a string stype structure, .... but that needs some work,... the included library function is just a rework of the original program. More changes have actually gone into the Makefile , just running make compiles only the binary as usual . Running 'make library' compiles the library function and creates the endswith.a library .
A test driver function has also been included to check the functionality of the library , running 'make test' will compile this function and the created binary test_iendswith can be used then to test the functioning. Documentation is one thing that is still to be added and of course , providing an install option also is a good thing for the next version . The source code can be found at
http://www.filekeeper.org/download/eerpini/endswith-1.2.tar.gz

About Me

My photo

I am a Linux geek currently pursuing my bachelor's degree in computer science and engineering.