Posts

Showing posts from 2013

Install Java on Debian based Linux such as Ubuntu, Linux Mint etc ...

First you need to remove openjdk for this run the following command from your terminal sudo apt-get purge openjdk* If you installed java 7 from any other PPA and you are having problem with java then you have to do following steps before installing the PPA menctioned here

Has Apple Really Ever Invented Anything?

Image
A truth about Apple. I am not a Apple hater, Its just that I do not like them much. 

Swing Tutorial - 03 - Creating a TextField and Button and learning Event Listeners

Image
In this tutorial I have tried a new way to explain the code. I have commented the code heavily where ever required. You can get to know that particular method is doing just by reading the comment above it. JButton: This is a class that is used to draw a button on the Panel. On click of this button we perform many different operations such some calculations, Database operations, start/stop an event etc etc. These are one of the most used Swing components. JTextField: Another important Swing component that we need in many purpose of entring any text information. EventListeners: Event Listeners are a way to get a task done on some user click or any user event. It is a large topic so it will discussed with time as these tutorials are made further.

Install Sublime Text in Debian Linux

sudo add-apt-repository ppa:webupd8team/sublime-text-2 sudo apt-get update sudo apt-get install sublime-text After running this, Sublime Text 2 has been installed within the  /usr/lib/sublime-text-2  directory and can be launched from the Dashboard, or by typing  subl ,  sublime-text  or  sublime-text-2  into a Terminal window.

Swing Tutorial - 02 - Creating a Label on a Window.

Image
This tutorial will teach you how to create a text label on a Window frame in Java Swings. Label:   Label is a static text on a window. Like a title to something. Though you can make it change also when required but most of the time it is static.  Final output will look like this: Follow the steps: 1. Open any Java IDE such as Eclipse or Netbeans. 2. Create a New Project and name it anything such as: "Swing Tutorials" or "Swing Practice" or any name that you like to give it. 3. Create a Class in the default Package of the Project that you created and name it "LabelTutorial"

Swing Tutorial - 01 - Creating a Simple Frame of Window.

Image
This tutorial is simple and will teach you how to create a simple Window Frame in Java using Swings. Final output will look like this: Follow the steps: 1. Open any Java IDE such as Eclipse or Netbeans. 2. Create a New Project and name it anything such as: "Swing Tutorials" or "Swing Practice" or any name that you like to give it. 3. Create a Class in the default Package of the Project that you created and name it "FrameTutorials" A class will be automatically created which will have some boilerplate code that you write when you create a class in Java. It will look like this:

Educational Links part 1

Image
Here I am sharing some of the links to great free online resources. Check it. It will a miltipart  Blog. So keep visiting to check other parts too.

Now its my turn to share my Visa experience.

Image
My Profile: GRE: 307 TOEFL: 94 B.Tech (CSE): 72 (4 back logs) Funds documents prepared: 2 x I-20 amount + $16K

Strive to be better. Strive to be more. Strive to be amazing.

Image
We all want to be amazing. We all want to be successful, happy, and regarded as important figures in our fields. I am sure that you’ve heard all of   the keys to success   before: planning, hard work, perseverance, etc. But today we are going to look at the one factor that will likely make or break your success:   the people you surround yourself with . “You are the average of the five people you spend the most time with.” –   Jim Rohn Want to be Amazing?   Surround Yourself with Amazing People The Make or Break List

Busy again .......

This year has been an exciting one for me. In just a period of 3.5 months of this year 1. Learn't some Python. 2. Finally started Android Application Devleopment 3. Left my first Job 4. Working on my own custom blog/site for Python tutorials on PyGame and other framworks. 5. Finally attending a online course " Interactive Python Development " on courser.org 6. Have started taking part in codechef. 7. And one more huge thing to be added in this list if everything goes right ....

Python Is Engineering, Not Art

When Python first emerged on the software scene in the early 1990s, it spawned what is now something of a classic conflict between its proponents and those of another popular scripting language, Perl. Personally, I think the debate is tired and unwarranted today—developers are smart enough to draw their own conclusions. Still, this is one of the most common topics I’m asked about on the training road, so it seems fitting to say a few words about it here. The short story is this: you can do everything in Python that you can in Perl, but you can read your code after you do it. That’s it—their domains largely overlap, but Python is more focused on producing readable code. For many, the enhanced readability of Python

NextLauncher 3D app review

Image
I just bought NextLauncher 3D app from Google Play store worth more than Rs.800 and I wanna say it was worth spending the money. Its so lovely and smooth that everyone would like this Launcher app for Android. It has by far the most beautifull UI and screen effects. I have never bought any paid app in my life. This is was the first one that made me spent this much money I am sharing some screen shots and hope u all will like it too and buy this app

Why Programmers Work At Night ?

Image
I just read this post on Business Insider website and found it quite interesting so thought to share it with you all. At the bottom I am sharing the original link of this post so to avoid copyright issues :-p ======================================================================= A popular saying goes that  programmers  are machines that turn caffeine into  code . And sure enough, ask a random programmer when they do their best work and there’s a high chance they will admit to a lot of late nights. Some earlier, some later. A popular trend is to get up at 4am and get some work done before the day’s craziness begins. Others like  going  to bed at 4am. At the gist of all this is avoiding distractions. But you could just lock the door, what’s so special about the night? I think it boils down to three things: the maker’s schedule, the sleepy brain and bright computer screens. The maker’s schedule Paul Graham  wrote about  the maker’s schedule  in 2009 – basically that there

Here comes the new year and all resolution stuff...

Image
Welcome 2013... I always love how a year starts with people making all different kinds of resolutions following them for the next 2-3 days and then continuing there lives the same old same old way. I am one of them. Every year I make a resolution of loosing weight but never do so. This year I am not gonna make any such resolution. I will just promise to myself that I will become a better human being to world, a better son to my parents, a better brother to all my real and cousin sisters, a better friend and a lot better in a lot of other areas of life. There are few other promises that I want to make with myself. Those are the following -: 1. To spent more time with myself and less with computers and technology. 2. To write this blog frequently about what ever come in my mind. 3. To do a little more hard work in whatever I do. 4. To lean more from every moment of my life and become more responsible person. I hope I follow all these things this year . Happy New Year ever