Abhishek Gupta

The Sun won’t set at NIT Durgapur !

Posts Tagged ‘gupta’

All about QFlicks

Posted by abhiitechie on August 16, 2009

Hi people , this post is all about a project which I started roughly a month ago by the name of “QFlicks”. It was named so because the graphics library I chose to use is the popular Ot and the  application is a movie collection cataloger which scans the disk for media files and gets film informations (duration, plot, cover ,rating ,poster cover , casts  etc) from the popular Amazon’s http://imdb.com or the Internet Movie Database . It also allows the user to filter his possessions based on movie titles,genre,ratings  , seen or unseen etc.

The later versions of the software will witness subtitle downloader extention and many more.

Here are the basic features which I plan to inmplement in version 1.0

  • Scanning user-chosen directories to find media files (films in a first time)

Status : Done

How : Used a recursive OS walk algorithm to extract movies from all folders , sub-folders , sub-sub folders etc.

  • Extracting film titles from file names (tough one if files are not properly named)

Status: Done

How: Using Neural Network algorithms and and basic Regular Expression.

  • Create a list of these names in a database get films information (duration, plot, poster cover , rating , casts etc) from imdb

Status : Done

How: Used a library named IMDBPy as imdb.com does not provide and API (Another example of Amazon’s miserness). The database used is MySQL which experienced developers feel is a wrong choice for desktop.

  • display films list and information of the selected one

Status: Done

  • basic settings handling

Status: More or less done until someone comes out with bugs

  • Filtering based on genre , title ,rating seen or unseen etc.

Status: Not Done

To Do: Learn multiple substring search in SQL ( SQL sucks , I hate it)

  • Clean and simple gui

Status : The Gui is simple but not clean and hangs as I have not implemented the Multi-threading

To Do : Learn Multi-threading and make the network call fuctions run in separate threads in the background and also need to implement customized Progress Bars for UI

Plugins (towards upper versions):

  • subtitle downloader
  • playlist manager
  • automatic new files inclusion (directory survey)
  • music album and video series handling

Tools Used:

  • Python as the Programming Language
  • Qt as Graphics Library
  • QtDesigner for the Gui
  • SVN as versioning program
  • MySQL as database software
  • IMDBPy as the library
  • GPLv3 licence

Here is the screen-shot of my Work :
Screenshot
The sourceforge Link for the project is :

Get the source from the Repository :

Current OS Support :
Gnu/Linux with Qt >= 4.5 and MySQL >= 5.0

Newbies who don’t know how to use SVN or are facing problems with code can mail me at
mailto: abhii.cse.nitdgp@gmail.com

The project is likely to see its first release on 24th of August 2009

Posted in mysql, Personal | Tagged: , , , , , , , , , , , , , , , | 4 Comments »

OpenSolaris 2008.11 Mini-Book

Posted by abhiitechie on May 17, 2009

The Getting Started with OpenSOlaris 2008.11 mini-books were recentlyOpenSolaris released. They are available in English, Brazilian Portuguese, Spanish, Italian, German, Traditional Chinese, Simplified Chinese, Korean and Japanese.

You might notice that there is a difference between the content of these books. They are composed by three different documents, and only the ones in English, Simplified Chinese and Japanese have them all. All other languages have only one document.

The books have a pretty basic approach, so they are aimed at people who doesn’t have much experience with the OS. This makes them perfect to be indicated during basic courses and presentations.

It seems that the 2008.11 version of these mini-books will be available only in the digital format.

Download:

OpenSOlaris 2008.11 mini-book (English)

Posted in sun | Tagged: , , , , , , , , , , , , , | 1 Comment »

Random notes

Posted by abhiitechie on April 28, 2009

  • Exams are over and its time to chillax .
  • Met some of the Final years and got some invaluable advice regarding career and future .
  • Downloaded about 6GB of Hollywood flicks for the holidays .
  • Planning to go home tomorrow in the evening by bus . 
  • Really sad about KKR’s performance .
  • Got the Sun Internship confirmed . Need to go to Bangalore on the 5th of May.

Posted in Personal, Uncategorized | Tagged: , , , , , , , , , , | Leave a Comment »

Open Source car by EDAG

Posted by abhiitechie on April 27, 2009

 

light-car-from-rear-rm-eng

We’re pretty comfortable with the idea of open source software running on computers and mobile phone — heck, even guitars — but cars?
That one we’re still warming up to, but this concept vehicle from EDAG definitely helps. As its name implies, the Light Car – Open Source lets developers modify and / or improve upon the auto’s technologies — or at least put a SNES emulator on the back. The lithium ion-powered bubble car also sports an OLED-infused exterior for lights and signals that are supposedly useful both to the driver and other nearby motorists, but in actuality we suspect it’d just scare anyone tailing behind. No information on the interior, but we imagine a decked out dashboard and some futuristic chairs. It’s currently being shown off at the Geneva Motor Show.

Posted in Uncategorized | Tagged: , , , , , , , , , , , | 3 Comments »

How to install Adobe Flash Player in Opensolaris

Posted by abhiitechie on April 27, 2009

1.Download the Solaris version of flash player to your machine.

2. Untar that file.

3. Open terminal.

4. #su

5. cp libflashplayer.so /usr/lib/firefox/plugins/

6. restart firefox

As simple as that !

Posted in Uncategorized | Tagged: , , , , , , , , | Leave a Comment »

Talk on Glassfish and J2EE

Posted by abhiitechie on April 25, 2009

For a long time I was due for a Technical Session in my college . The month of February was jam-packed with helluva lots of fests and events and that was the sole reason that I did’nt wanted to squeeze my demo in between all the different fests and events . Web being my expertise , so a Talk on Glassfish and J2EE was looking the most feasible option for me as I did not had much time to prepare for the talk. 

Further trouble came when I found that the  date later went on to clash with the Mukti treat . When I publicised about the talk on the mailing lists and groups people told me that I was a block (dumb) as I scheduled the talk on the same evening as the Mukti treat . But I went on through my initial plans as I felt that work always comes above and over anything  and everything in life.

It was class test times for most of the students so the gathering was as expected limited with just about 25 people sitting I went on to start the talk . The talk was attended by students of Computer Science and  IT  1st, 2nd and 3rd year. It’s great to see a diverse audience, shows you really are reaching out to everyone, and for me the success of this talk meant a lot of confidence to do future talks in this semester. I wanted everything to be perfect. From the past week, I had been observing some of our faculty lecturers carefully, trying to understand the art of holding the interest of your audience throughout the lecture, how some lectures turn out to be boring, while others keep you glued to the teacher. We all know we hate slide reading, we hate too much theory, bookish language.. but there’s a lot more to it. Body language, being friendly and casual, relating your audience and yourself with the topic, visualization of ideas, giving examples, case studies and most importantly, involving your audience, making it interactive and not just one-way traffic. 

My audience for the first time in the college properly understood what the term Web Server really means and also got the abtract concept of Web 2.0 and Semantic Web technology . 

I had already made up my mind that this particular session will witness a much better demonstration as compared to the last demo which was somewhat very uninteresting . So I demonstrated them about how to make a real world bloger application using the popular JRuby-on-Rails and that too using Netbeans IDE which which made the whole thing very very easy and fast .

I also showed them use of Servlets and JavaBeans with respect to Http Session States.It was not a long session unlike the last one as I had to attend the Mukti treat and also my audience had some tests the following week . So I wrapped up the Session in an hour . A pretty nice experience again . Now I really consider myself really grateful to GOD for making me do all these things . Now I really feel more confident presenting knowledge and information in front of public.

 

ogaaaaotcpe-ihtnjncjws05mwmlbmvx_6yqoulm-3uclegd-lxl2ytl8sqjicffests3z9rz7t_yi9rigbi-zzqkvqam1t1ujy_v8k7mswpz6zxam2uofn4n7oz

Posted in sun | Tagged: , , , , , , , , , , , , , , , , , | Leave a Comment »

My First Session On Netbeans IDE and J2SE

Posted by abhiitechie on April 25, 2009

This was the debut session conducted by me as a CA . In the first part of my Demo I covered many topics related to Netbeans Intelligent Text Editor and showed them techniques like Code-Insertion , Code-Refactoring ,Using Javadoc , Live Code Parser and error checker , Local History , Code completion , Instant renaming , Compile on Save,and lots of other cool stuffs. I explained them how to use the Profiler and the Debugger. I explained them the use of Version Control and automated testing (Unit Testing) .

This was followed by a basic demonstration on the Swing Gui Builder and with functionalities like Automatic feedback , Quick Component Insertion , Anchoring , Alignment . After this I expained the basic features of event handling and demonstrated it with a small application built using the Swing Builder .

As people asked for more meat so I continued out of my plan to demonstrate them easy Data Binding using MySQL database , JTable and Java Persistence API showing them how to createa CRUD application in 5 mins! On audience demand I also showed them how to import an existing PHP-MySQL project in Netbeans and showed them advantage of using WEB 2.0 frameworks like JMaki and Dojo directly into the existing PHP project. I gave them an introduction to Visual Web Java Server Faces by demonstrating them how to populated a Woodstock Table from a MYSQL database using simple drag-drop.

Many obvious questions like why Netbeans over Eclipse which I think I answered satisfactorily. Many people came to me afterwards asking more details about multibooting Solaris and more about Web 2.0 and AJAX. I was on the top of the world when people actually clapped at the end of the talk. All in all a nice experience.

Here are some of the pictures from the Session

image0091

 

 

 

image0072

Posted in sun | Tagged: , , , , , , , , , , , , , , , , , , , , , | Leave a Comment »

No more waiting …… Its time to move on …….

Posted by abhiitechie on April 25, 2009

Hi friends , I am really sorry as it is no masala news or its nothing to do with a heart-break or something of that sort , its me moving on to just another blog . My previous blog at Sun Blogs which had become pretty much established and also got some recognition at Sun internal portals and aggregators has for some weird reasons not allowing me to log in. I waited patiently for a long time with no posts (becoz I was pretty obsessive about it), lots of service desk raised and closed during this period but nothing helped me.

So now  I think that’s enough and  its time to move on to another one and here it is. This is my first post to my new blog and looking forward to be very active in future .

Oracle acquires Sun and me being the Campus Ambassador of Sun at NITD campus has lots of questions to answer and also to prove that Open Source evangelism of Sun products in the college will not die . The next session will see lots of Talks and demos conducted in the college.

I am coming and I am coming very HARD !

Posted in Personal | Tagged: , , , , , , , , , | 2 Comments »