Monday, September 18, 2006

Software Freedom Day 2006 at Khammam by Khammamglug



We had balloons and a nice banner! ( check pics )
afterwards...we waited for chief guest madame bhavani who had been using Comps for more than 18 Years while GNU/Linux is only 15 years!
I discussed the disadvantages of using propreitary softwares!
explained what free means?
and all other stuff like GNU linux,Histoy,sco batle,DRM,GPL,various distros..in linux..
The n after Five star chocolate and Ubuntu cds to everyone we had a practicl session where I showed them various alternate softwares ...
Stated with eclipse ...gone until ppl are bored showed some games,played mp3,divx in mplayer .
Then after some office ubuntu presentations..
I closed ubuntu.
Then after some sweets and snacks and cool drinks.
We started fedora ...and showed gnome ,kde merits and demerits.
showed yum and showed how command line of yum is better than synaptic of ubuntu.
well google ppl will like how we ended.
We showed the pics of the day in PICASA.
Then we showed the place where we are standing by google earth but they are dissapointed in seein the low clarity of khammam a district head quarter...while they liked hyderrabad ...they are angry that badhrachalam a small own in khammam district has more zoom level..had to cool them a biut by sayin that 6 months before nothin was available...we must be happy
Finally said adios to ppl and started uploading pics and writin blogs!

Sunday, September 03, 2006

My Birthday

The day has some significance ..
September 4th significance
I was born ..
I will have no sleep this day!
My wishlist!
IPOD with atleast 30 GB
Mac Book ( black)
digital camera ( 8 MP 16X zoom 1 GB memory)

Thursday, August 24, 2006

GPL V3 Bangalore at IIMB

Stallman was talking when I entered the auditorium of IIMB.
The auditorium was a up to down staired one ... air conditioned with wirelesss access points accessible only to IIM students... There was a video recording going on.
Stallman was talking abt tevolisation and digital restriction management.
There are two points covered lemme explain them in detail.
Tevolisation :In USA we have digital telivisions...
The digital telivision is made of gpl software and those guys restrict the users to modify it to their needs!
Its a straight voilation of GPL where source code is supposed to be provided with the program and it should be modifyable.
DRM: In the DRM - Digital Restrictions Management. people create a OS based on gnu/linux but they create the code such that its nearly impossible to modify.
Its also strictly opposed by FSF.
I did meet some great people of the foss world.
Danese,stallman,atul,herald,kallu,anush,praveen,kushal and many more.
I met some nice amunt of foriegners ... kavitha and alisa from california university.
A japanese guy . A swiss big CS guy. 2 spanish guys ... ofcourse stallman,danese and herald.

Saturday, August 19, 2006

Kubuntu Rocks!


KUbuntu has the coolest Desktop I have ever seen.
Got the kubuntu Cd's free from Shipit.
Its a live cum install cd . Installed kubuntu and now I am blogging from kubuntu itself.
check out the screenshot and tell how cool it is!

Thursday, August 17, 2006

My New Desktop


Again got bored by the looks of my desktop.As I have seen lots of windows users using style Xp .
If they can colour their desktops so can I with Higher level of costumisation.

Monday, July 31, 2006

PHP-Faster,Efficient,Secure,cross platform , Free & Open Source









If you've never heard of PHP, you're certainly not alone. However, you've probably visited one of the many sites driven by PHP, such as the widely popular Linux application portal Freshmeat.net.

Introduction :

PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.
What distinguishes PHP from something like client-side JavaScript is that the code is executed on the server. If you were to have a script similar to the above on your server, the client would receive the results of running that script, with no way of determining what the underlying code may be. You can even configure your web server to process all your HTML files with PHP, and then there's really no way that users can tell what you have up your sleeve.
PHP, which stands for ``Personal Home Page'', was originally developed by Rasmus Lerdorf as a macro tool for tracking visitors to his home page. It grew from its simple roots into a complete tool for building web applications by version 3. Released in June 1998, PHP version 3 (often referred to as ``PHP3''), was primarily developed by Andi Gutmans and Zeev Suraski.

Evolution :

The first version of “PHP/FI,” called Personal Homepage Tools/ Form Interpreter, was a collection of Perl scripts in 1995.1 One of the basic features was a Perl-like language for handling form submissions, but it lacked many common useful language features, such as for loops.
PHP/FI 2
A rewrite came with PHP/FI 22 in 1997, but at that time the development was almost solely handled by Rasmus.
Zeev and Andi decided to completely rewrite the scripting language. They then teamed up with Rasmus to release PHP 3, and along also came a new name: PHP: Hypertext Preprocessor, to emphasize that PHP was a different product and not only suitable for personal use.

PHP 4 came with a new paradigm of “compile first, execute later.” The compilation step does not compile PHP scripts into machine code; it instead compiles them into byte code, which is then executed by the Zend Engine(Zend stands for Zeev & Andi), the new heart of PHP 4.

With the new superglobals in place, on April 22, 2002, PHP 4.2.0 was released with the register_globals turned off by default. PHP 4.3.0, the last significant PHP 4 version, was released on December 27, 2002. This version introduced the Command Line Interface (CLI), a revamped file and net-work I/O layer (called streams), and a bundled GD library.

With PHP 5 comes the introduction of exception handling, the Standard PHP Library (SPL), enhanced support for XML, reflection, and quite a few enhancements to the object oriented features of the language. PHP 5 also offers a sizable list of new functions.

Comparision :
Both PHP and ASP are interpreted scripting tools that allow HTML and code to be mixed in the same file. Both have effective APIs for building database-driven applications. However, unlike ASP, PHP is open source and cross-platform. PHP can run on Windows NT under Microsoft's IIS web server or on any UNIX variant as an Apache module or CGI.

according to sean hull in an article in oracle: ASP.NET is expensive with respect to memory usage and execution time, which is due in large part to a longer code path. For Web-based applications, these limitations can be a serious problem, because on the Web, your application is likely to scale to thousands and thousands of users per second. Memory usage can also become an issue on your Web server.
I'll conclude that its strengths far outweigh its weaknesses. (See the summary in Table 1.) It boils down to price, speed and efficiency, security, cross-platform applicability, and open-source opportunity. Its only weakness is its lack of a pure and perfect OOP implementation; however, this is a minor drawback. Though language constructs do help, ultimately, good coding is a matter of practice, execution, good habits, and discipline.

Speed and efficiency. As I mentioned earlier, ASP.NET is a framework allowing you to use various programming languages. In addition, it is touted as having a great object-oriented model. All this is true, but it becomes a detriment as far as speed is concerned. For all that advantage, there is a lot more code to run through to execute the same ASP page than you have to execute in the PHP engine for an equivalent PHP page. PHP is the quick-and-dirty type of solution, the one to get the job done. And though a lot of robustness has been added to it since its 2.0 and 3.0 days, it still retains that core optimized high-speed approach. Speed is not the only consideration. Memory usage is also important.

Security. ASP.NET runs on IIS, which has been compromised innumerable times, as evidenced by IT news reports every other week. It has become such a liability, in fact, that in spite of all the marketing dollars spent on it, many IT professionals refuse to have their networks exposed with an IIS Web server. PHP, however, works with Apache, which has a proven track record of speed, reliability, and hardened security. Check www.securityfocus.com for more information.

Cross-platform applicability. ASP.NET runs on IIS and is starting to run on Apache, which can run on a whole host of platforms. PHP has been designed to work with Apache from the beginning, so you have many proven and reliable server platforms to choose from.

Open source opportunity. Open source is not just some philosophical torch idealistic programmers, or companies wanting to save a few bucks on licensing costs, are carrying. When you're dealing with bugs in the software itself, open source can be a serious godsend.

According to Marty Anstey Most of ASP's functionality now pales in stark contrast to PHP's gleaming capabilities, but still one must consider the multitude of developers throughout the late 90's who studied and learned ASP, went to school and even got jobs developing ASP websites.

PHP, while loosely based on C and Perl, has never faced the overwhelming complications ASP has.
ASP natively supports only Access and MSSQL, whereas PHP natively supports a huge number of databases.
ASP is significantly slower than PHP, for obvious reasons. Primarily, PHP runs on notoriously fast Unix and Linux servers which have for years outpaced Windows running on comparable hardware. ASP does not run on any operating system other than Windows, and even then, only in IIS and PWS. I could discuss countless reasons why IIS makes a terrible web server, but that would be a discussion all on it's own. PHP runs on almost any web server, on almost any platform.

And finally, cost. PHP is free. ASP isn't free. If you want to use ASP, you have to use IIS, and if you want to use IIS, you have to buy Windows. Traditionally, the cost of Windows has been high.


According to Charles Brown PHP has it's own language and syntax, the language is simplified due to the programs incorporation of a parsing engine that is especially designed to make short work of translating PHP code into machine language that executes commands.
ASP makes use of a language that was dying before Microsoft managed to breathe new life into it. Visual Basic Script is the language used in ASP and was formerly used (and still is used by some developers) as a client side scripting language that was in direct competitions with Java Script. This was back when Internet Explorer was still the #2 browser behind Netscape Navigator. During this era, Java Script was whooping the pants of Visual Basic Script with its wide acceptance amongst Web developers.

The bottom line is with the release of PHP 5, PHP is a more appealing technology than ever, offering you object-oriented features for building large, sophisticated Web-based applications, with the efficiency of a tool that will get the job done. What's more, you have as your Web servers solid, reliable Linux-based servers running Apache to bring you performance and unmatched uptime.
Employment opportunities:
There are lot of employment opportunities for PHP.
According to www.securityspace.com
73.24 of the market share of web servers is Apache while 21 % is of IIS( Microsoft ).
According to Netcraft statistics for June 2004, PHP is currently in use on at least 18.5 million domains.
So you can get a lot of Web designer Jobs if you are into PHP.
Some of the reputed companies that work on PHP are
1. Yahoo ( Rasmus lerdorf the creator of PHP works in Yahoo! The Search, Mail ,Groups etc works on
PHP )
2. Google
3. AOL
The other companies are SAP,Altavista,Hewlett­Packard ,Boeing ,Lufthansa, Dresdner Bank, Disney
Online, Lycos, Sprint, T­Mobile, Orange, Nortel Networks, Lucent, WallStreetOnline and Siemens.

Monday, July 03, 2006

JNTU Linux User Group Meet Responsiblities

Iam organising a meet for JNTU Linux User Group..I with the help of my friend Sowmya, created a webpage for that.. http://jntulug.co.nr
I now have many responsiblities for the meet.
I have to first gather people ... next plan the events ...
I need to decide a place for the event.
A guy offered me a place at KPHB but its too far ...
Next about the guys from industry ...
The KDE guys have promised to come. They have also promised to give out FREE CD's
WHile a dude called kalyan is demanding a price for attending a free/open source event :((
shreyas is trying his level best to come... I hope he does.

I am pressured up ...
I hope things go fine ...
guys do reply soon

Sunday, April 30, 2006

A peek at my desktop


This is how my desktop looks.
Guys this is Fedora core 4 running on AMD 64 3200+ on nvidia nforce chipset and nvidia graphic card.
This Desktop is from GNOME .
I tweaked my desktop thanks to gnome arts It had a theme from Glossy P and Icon set from Dropline new.
These links on the themes will lead you to a desktop like mine ...

Thursday, April 13, 2006

PHP and Its glory!!

Have you ever wondered How the most used domain works ?
It is based on PHP.
Whats this PHP?
Its a server side scripting language like JSP & ASP.
Its used for developing webpages.
There are three main areas where PHP scripts are used.
Server-side scripting. This is the most traditional and main target field for PHP.
Command line scripting. You can make a PHP script to run it without any server or browser. You only need the PHP parser to use it this way. This type of usage is ideal for scripts regularly executed using cron (on *nix or Linux) or Task Scheduler (on Windows).
Writing desktop applications. PHP is probably not the very best language to create a desktop application with a graphical user interface, but if you know PHP very well, and would like to use some advanced PHP features in your client-side applications you can also use PHP-GTK to write such programs.
PHP can be used on all major operating systems, including Linux, many Unix variants (including HP-UX, Solaris and OpenBSD), Microsoft Windows, Mac OS X, RISC OS, and probably others.
With PHP you are not limited to output HTML. PHP's abilities includes outputting images, PDF files and even Flash movies (using libswf and Ming) generated on the fly. You can also output easily any text, such as XHTML and any other XML file. PHP can autogenerate these files, and save them in the file system, instead of printing it out, forming a server-side cache for your dynamic content.
One of the strongest and most significant features in PHP is its support for a wide range of databases. Writing a database-enabled web page is incredibly simple.

Wednesday, January 25, 2006

HOW to create a Website

The first thing you need to know to create a Webpage is HTML.
Let me create a sample HTML page which says Welcome to my webpage . Background is set to color BLACK . And text colour is RED.
I will also insert a Image present at http://www.harunyahya.com/kids/pictures/wallpaper1024/rose.jpg
Note that I am using some one else's image present at a website harunyahya.com . You might want to get some nice pic's for your website.I suggest you to google for them.
-------
here is the HTML code
------------

<html>
<head>
<title> Keep your own title here!!</title>
</title>
<bgcolor="black" text="red">
welcome to my website.
here is a rose.
<img src="http://www.harunyahya.com/kids/pictures/wallpaper1024/rose.jpg">
</body>
<html>

---------
save the whole matter as index.html or any name .html.
Next go to http://geocities.com


Enter your yahoo username and password . ( This step is not necessary if you have already Signed in to other yahoo service such as yahoo mail,groups etc)

Click on "Sign up " below the free web hosting plan.

Select the Options "as you like it" and enter the confirmation code.

You will get a confirmation page.
so your website is http://www.geocities.com/youryahooid/
you can mail it to your friends telling about your webpage.

Select the Manage Tab.

Select File manager .

This is the place where you keep your online files such as html pages and images.
If you keep a file tony.html Then your tony.html can be accessed by www.geocities.com/youryahooid/tony.html
To simply get a website www.geocities.com/youryahooid
1 . delete the existing index.htm
2 . upload your index.html


Before you ask me how to upload ... here is the solution.
In file manager there is a button called upload files . click on it to upload files.

Friday, January 06, 2006

UBUNTU experience


I installed ubuntu . This was really a great experience. I inserted the install CD during boot time. I pressed enter . And It tried to configure DHCP . But as we all know that none of our internet connections are running on dhcp . It couldn't succeed . So I choose the option " do not configure network this time". Partitioning as always was slightly difficult for newbies but those who have an empty partition ... It will be very easy . It asked for a username and password . I gave them as "pavi' and "*******" ( Just kiddin) . Afterwards It automatically restarted ,ejected CD and over there is the new Linux standing before of me.
The coolest thing about ubuntu is the support I got ...
I could run my C- Program on ubuntu which kaushik has been complaining .."Arrey Yaar ubuntu mein C program compile nehi hota hai" It is a matter of 3 minutes I got My c program running !!

I first ran the command # apt-get install build-essential This command will build the essential libraries for c compilation.

#include main() { printf("Hello To UBUNTU"); }
Compiled it with the command
gcc -o hello.o hello.c
Afterwards ran the program
./hello.o

Got the output

Hello To UBUNTU

Immediately I opened Gaim and sent an instant message to kaushik about my success story. He can later check this blog if he has any doubts!!!