If they get changed. What to do?

Hi to all,

I need answers for few questions which I got in my mind.

Why are we using Google, WordPress, Facebook, Twitter and so on…?
My answer to this question, to make use of the feature which has been provided by the company to accomplish my tasks very easily for free of cost.

Recently I noticed in WordPress, they removed the feature called “Install Plugins” from wordpress.com. Beauty of the “Install plugins” feature is we can install any plugin/add-on  in wordpress blog if we have singed up in wordpress, some of the plugins to make the tasks easier are  creating Table of Contents, Code Highlighter, and so..

Now the thing is they removed the feature from wordpress.com and still providing in wordpress.org. So, If i want to utilize this feature I supposed to register my blog in public domain and get support from wordpress.org and then I need to utilize the feature for some amount of cost.

Like that in-case if in future if they noticed that most of the people using wordpress and all of them are depending on wordpress, and if they decided to change everything to some amount of cost, would people withdraw the usage of wordpress? I don’t think so.

Similarly we are using google products like gmail, picasa, groups, and tons more…. If they decided to charge 10$ for creating and maintaining accounts in gmail, then would people like to using that one further? I think at that time they will look for an alternative in-case if they don’t feel the comfortableness on the  new product, am damn sure that they will not hesitate to spend 10$ for an account in gmail.

Here comes my question:   

In future if they changed like above, what will we do…..?
In Otherway, If they stop providing features/products in free of cost and charging for some amount what will we do?

Awaiting for your answers….

Regards,
Balakrishnan V.

Where and when I would use if( __name__ == “__main__”):

Hi,

I’m Confused. pls, Clarify on this

I clearly understood the concept of above statement, but I don’t know where the situation which I can use that __name__ statement effectively. What I have understood on the statement is  python interpreter has some variables by default like that it also have a variable called __name__. During the execution of python files it will assign values to that variable. If it is an stand-alone program execution then the value of __name__ would be “__main__” if python is imported then the value of __name__ would be the file name of the python file.
Example:

#Filename: foo1.py
print “Value of __name__ Variable:  ”+__name__

if I execute the above file.
Execution: python foo1.py

Output is:

Value of __name__ Variable:  __main__

Whereas if I execute the file as module by importing (i.e.)

#Filename: foo2.py
import  foo1

print “I am foo2”

Execution: python foo2.py

Output:

Value of __name__Variable: __foo1.py
I am foo2

Now, my question is,  if(__name__ ==”__main__”): statement used only to identify whether it is main program or stand-alone program. Isn’t it? Am I correct? Pls clarify more……

Regards,
Balakrishnan V.

 

Information for Today – (21/11/2011)

Hi to all,

Information Food for today…. 🙂

* Authentication
Mechanism or process used to identify the correct user.
(Ex- Password based authentication, Biometric Authentication)
* Authorization
Determines or checks the privileges to authenticated user.
(Ex- Root User, Normal User)
* Functions
It is used to execute some set of statements or instruction which is decided by user and also may returns a value.
* Procedures
It is also used to execute some set of statements or instruction which is decided by user but it can’t return value.
Thanks,
With Regards,
V. Balakrishnan.

Experience of My 1st Project During the Training

Hello Friends,

I think you are all knew that i am under the WIPRO training. I am sharing my experience of my First project during the training period.

Creating a Web-application is a part of my Training. Each team have to create one web-application separately, a team consists of two team members. Totally 18 team projects has been decided, one project will be assigned to maximum three different teams. Like wise our project has assigned to 3 teams. Our project name was “Online Cinema Ticket Booking System(OCTBS)”, our team members Bishnu Thakuri & Myself (Balakrishnan). My Co-partner is from Meghalaya, he don’t know Tamil and I don’t know Hindhi finally its my fate to communicate with him using only the global language called English.  😦

He is good in Java programming language and I know something in Java thats it 🙂 Then we got our RS(Requirement Specification), total period alloted for this project is 15 days. In these 15 days we had 4 things, such as Documentation, Coding, Testing and  Maintenance & Support. We people completely hated that Documentation period, we really felt drowsy on doing Documentation, it takes 3 days to complete all the stuffs regarding to documentation part.

In the documentation with the help of RS we prepared Detailed Design, Use Case Diagrams, Table Design, Sequence Diagrams. At last we completed documentation and reviewed our counter part team’s documentation. Their project is “GRE Oline Test”.

After Documentation, Coding part has been started. Bishnu and myself takes care of our two module in that module i take care of User Registration and User Login, Administrator Login, Adding Theater details, View  Theater details. Rest of the things are take cared by Bishnu.

If i had any problem on creating those things he helped me if he got any problem on doing any of things i helped him. Like that our co-ordination was good, and also my communication much better.

We did our project in JSP- Java Server Page, HTML, JavaScript, CSS, MySQL. I learned lot of things from him and he learned some things from me such as how to use only keyboard to make the works very faster. 🙂

I am not indulged in my project only, also i helped some of my friends project too…. So that I learned lot of things when i am helping other projects. The beauty is some times when he was at on work i have helped to others, when i was working he helped to others. So that i got some experience on doing alone itself.

Finally we completed our project without doing one low priority requirement. Rest of the things are pakka in our project, we though that if we did everything what about the counter part team, how they will feel? so only we left that requirement for them….. 😉

During the Unit and System test plan we realized that date validation was not there in our project. And also we agreed for the fact “Developers and Testers never be a Friends” we realized this thing while testing our counter-part team projects.

At finally time has came for giving demo on our project that means time for releasing our product. We were waiting for our turn from morning onwards, but we are the last one there was no sufficient time to explain our project, due to the time concern we decided to provide our short and best demo, as we thought we delivered our fast & furious demo. We got good comments for our demo 🙂

Now we are awaiting for Maintenance & support part  of our RLL, as i told before we have to maintain our counter part team’s project “GRE Online Test” for 5 days. After doing that part our training will be completed.

Open Source Products which have been used during our Training:

FOSS (Free Open Source Software)

SVN – (Tortoise SVN)
APACHE- (Tomcat SERVER)
HTML
CSS
JavaScript
Bugzilla
Mozilla FireFox

FOSS (Former Open Source Software)  😦

MYSQL
Open Office

I am not authorized to share my codes and project here 😦  but i will share some screen shots  of our project as soon as possible… 🙂

Thanks to our trainer Ms. Athma helping for completing all of our project sucessfully.

Thats it from my side, Now awaiting replies from your side…. ha ha 😉

Thank You

With Warm Regards,
Balakrishnan Vijayabaskar.

 

 

 

Python password Breaking Task

Hello Friends,

After long time I am posting blog here, Due to some reason I can’t update my blog regularly. Hope I am resumed it back. Now I am going to post the code of password breaking code by python program.

I thought about this task for so many times that “i want to complete the task”, but when i sit in-front of my computer i forget to do. Now I did it successfully, here is the code

import getpass
import string
a=getpass.getpass(“Enter your Password here:”)
b=(‘,’.join(string.ascii_letters))
b=b.split(‘,’)
b=b+[‘1′,’2′,’3′,’4′,’5′,’6′,’7′,’8′,’9′,’0′,’~’,’`’,’!’,’@’,’$’,’%’,’^’,’&’,’*’,'(‘,’)’,’_’,’+’,’|’,’=’,’-‘,’ ‘]
c=b[:]
i,j=0,0
res=”
for i in range(len(b)):
for j in range(len(a)):
if (b[i]==a[j]):
c[j]=b[i]
print “Your Hacked password is :”+res.join(c[0:(len(a))])

If you execute this code the code prompts for your password. After entering some password at the second line it will display your hacked password.

Just try it and see the miracle…. 🙂

awaiting for your valuable comments…

Thank You,

With Regards,
V. Balakrishnan.

 

Fixed Problem occured in my Ubuntu 10.04

Hello Friends,

Yesterday due to power cut, my computer powered off suddenly. Absence of UPS & Improper Shutdown makes my system to problem. When i tried to boot in Ubuntu 10.04 it has provided some errors like:  😯

failed: Invalid argument
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target file system doesn’t have /sbin/init
No init found. Try passing init= bootargBusybox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu7) built-in shell (ash)
Enter ‘help’ for a list of built-in commands
(initramfs) _

Here the cursors blinked for user input, i couldn’t use any commands there. Obviously some inbuilt commands are worked but it is not useful to recover that problem.

💡 I thought that we can clear the problem by checking the file system. On that time I had only Ubuntu 10.10, so boot that as live cd. I did the fsck command it also threw some errors

e2fsck 1.41.12 (17-May-2010)
fsck.ext4: Device or resource busy while trying to open /dev/sde1
Filesystem mounted or opened exclusively by another program?

I was totally helpless at that position, later i  googled for 1 hour. At the time of morning 2’0 clock, i got the solution that Ubuntu 10.10 is having a Bug on fsck command. So, it wont works in some cases after seeing that i was reluctance. x-(

Then i copied Ubuntu 9.10 in CD and booted as Live CD. Fixed my problem with fsck command.

The Command which i used is…

$ sudo fdisk -l

(For Selecting the Filesystem, partition will be in this format Ex: /dev/sda)

$ sudo fsck -f /dev/sda

(filesystem check on filesystem partition no. -f is used for force checking)

Now, it will prompt for <y>Yes? to fix problem give yes to all continuously until the command stop prompting input from user.

$ sudo fsck  -f -y /dev/sda

(-y is used for automating yes, it assigns yes to all…Silent Mode)

Now my system is working perfect 🙂

Thank You. 🙂

With Regards,
V. Balakrishnan.

 

Added Tamil Keyboard Layout in Ktouch

Hi Friends,

Recently I heard about ktouch Typing Tutor also installed it. Shrini Anna tolde me to explore Ktouch, I saw the absence of Keyboard Layout for Tamil in Ktouch. So I decided to create a layout for Tamil and add in to Ktouch. I successfully did the job. Ktouch is a KDE-Edu package, it is also a cross platform.

Ubuntu users Kindly go for:

$ sudo apt-get install ktouch

You can download the tamil layouts which is created by myself from this link… http://ubuntuone.com/p/zJN/ 

Screen shots of  Tamil Keyboard Layout

In this Layout, English Characters are also visible for user Convinience (File name for this layout : ta-eng.keyboard.xml)
tamil english layout

In this layout only tamil letters are visible to the users (File name for this layout: tamil.keyboard.xml)

tamil layout

With the help of Ktouch we can practice and improve our typing skill.

Before we going to learn tamil typing, We have to first add keyboard layout in our ubuntu machine. If you need help on adding the Keyboard Layout in Ubuntu kindly go here…

Instructions to Getting Started in Ktouch:

Hope that you have already downloaded that tamil keyboard layouts for Ktouch from this link http://ubuntuone.com/p/zJN/

After Extracting tar.gz file you have Two Directories, One directory consists of Typing Exercises and Another one is Tamil Layouts. I would like to Thank Shakthi Kannan because i got the typing exercises from his site which is http://www.shakthimaan.com/ta/downloads/computer/typing-1.0.tar.bz2

Now, Copy   ta_eng.keyboard.xml, tamil.Keyboard.xml files and Paste into /usr/share/kde4/apps/ktouch you will get these directories after installing Ktouch. Make sure that you having sudo permission to copy in that folder.

To Open KTouch : Applications – > Education – > KTouch

To select the tamil layout : Settings – > Keyboard Layouts – > Tamil Eng(ta (Tamil))

To Start the practice : File – > Open Plain Text File… – > lesson-1.txt (You can get this file from the tar.gz file)

Why still waiting? Start to learn Tamil Typing…. 🙂

Thank You.

With Regards,
V. Balakrishnan.