My blog has moved!

You will be automatically redirected to the new address. If that does not occur, visit
http://ashokbasnet.com.np
and update your bookmarks.

Friday, July 22, 2011

LOCUS 2011 : Projects ( C.yber and IoeCamPlus)

This year locus, we have showcased two projects , one from previous year locus project and another C++ project .

You can have look at them at following link:-

1. C.yber

2. IoeCamPlus : v2.0ß

IoeCamPlus : v2.0ß realeased

IoeCamPlus is a cross platform webcam application With the problems faced with IoeCamPlusv1.0, the 2nd version of IoeCamPlus is released.

Updates in the IoeCamPlusv2.0ß :-

  • Image saving problem in v1.0 is solved.
  • new dll files installation updated.
  • Painter added for images browsed.
  • Error handling in case of missing camera hardware added etc.

You can download the source and installation file:-

  1. Installation Package
  2. Complete Source code

Your feedbacks are important for us to improve the IoeCamPlus. So do comment….

Thursday, July 14, 2011

Writing blogs offline using Live Writer

keyboard-shortcuts-for-live-writer-2011Blogging is one of my key interest and those who are blogging in bloggers     sites like blogspot, wordpress, etc. might be facing problems with the blog editor i.e. working online. I have been using Windows Live Writer for from 2009 and it is really a great tool for blogging. There are cool features that you are going to love about live writer. Blogging will be fun with live writer.

 I have noted down some key features in Live Writer that I have observed.

  • The blogs can be saved offline and edited any time you want.
  • Multiple blogs accounts can be integrated so that you can switch to your blog on fly.
  • Its IDE is cool. You will not feel difficult with its IDE since it is somewhat like Office package.
  • Theme can be pulled at any time and refreshed if it is changed.
  • Categories can be set and post date can also be set before posting.
  • You can insert pictures, hyperlinks, videos and many more within live writer.
  • You can preview your blogs and view source code by using tabs at bottom of the live wirter software.
  • Different plugins are there which can be very useful like Source code ( for putting codes in the post.
  • After you have done editing and ready to be published , you can click publish icon at top.

Networking programming in C

Networking has become an integral part of our everyday life and we are in some way connected to others. It has revolutionized the way we are living. Many times we need our application to write some data into a file, stored on a remote machine connected through a network, display some message in desktop of remote machine or simply exchange messages across the machines connected to the network.

C is an intermediate programming language which is very powerful in terms it is a high level language as well as it is able to access the hardware  very efficiently and effectively. Computer Network means a collection of computers connected either by some means of wire or wireless technology to share data, resources etc. So network programming is important to learn and be able to understand how networks can be programmatically controlled.

image

Friday, July 8, 2011

JQuery Tutorial–II : Basic CSS Selectors

Selectors in JQuery is used to select specific document objects like <body>, <h1>, <p>, <a> and many more. It’s use has made writing JQuery very easier and get the required DOM to have control over it.

Using Basic CSS Selectors

Any DOM element may have their unique ID or group of selctors may have  a common class for styling. The ID selects unique element from the HTML DOM and class is applied for a wide selection. For eg.

<p id="myParagraph">
  This is the paragraph with ID attribute.
<p>
<p class="ourParagraph">
  This is first the paragraph with Class attribute.
</p>
<p class="ourParagraph">
  This is second paragraph with Class attribute.
</p>

For accessing these ids and classes of paragraph it can be done as :-


Saturday, July 2, 2011

JQuery Tutorial - I : Getting Started

JQuery is very great tool for accessing the DOM(Document Object Model) elements is any webpage. JQuery is really a cool Javascript. In this tutorial I am going to show you how to use Jquery to make life easier without having to know all the Javascript lengthy codes or statements.

First of all u need is the Jquery file downloaded from the JQuery site or a link of Google code repository for JQuery. U can either download the development version for testing purposes or min version for depolyment purpose. After u download, create a webpage of ur choice and put your jquery.file into the folder.

I will be teaching you some events handling with the simple JQuery selectors. Lets get started. Lets create a page called index.html.

Wednesday, June 29, 2011

JQuery : Introduction

jquery_normal  JQuery is a lightweight JavaScript framework developed by John Resig.

  JQuery is a lightweight "write less, do more" JavaScript library.

The jQuery library contains the following features:

  • HTML element selections
  • HTML element manipulation
  • CSS manipulation
  • HTML event functions
  • JavaScript Effects and animations
  • HTML DOM traversal and modification
  • AJAX
  • Utilities

CakePHP : A rapid development MVC Framework

Why Cake?
Ever since Ruby on Rails became a popular web-based framework, teams of developers have
been creating clones of Rails or Rails-like frameworks for various languages: TurboGears for
Python; Zend, Symfony, and many others for PHP; Catalyst for Perl; and on and on. With so
many options out there, why choose CakePHP for your web project?

Getting a web project off the ground can be cumbersome and technically demanding, especially
when using older methods of development. Cake, however, makes the initial steps of
building a web application easy. Rather than run installation scripts from the command line,
Cake comes prepackaged as a folder you simply drop onto a server and is ready to run.
The command line does come in handy once you begin building onto the framework.
Later, I’ll discuss Cake’s scaffolding features that cut down on routine development tasks.
With Cake, creating user flows in the application early on is simple and can improve communication
with clients. In some cases, a run-through of the application can be developed
in minutes, allowing the client to get an idea of the project’s architecture.
Once a project is fleshed out and launched, site maintenance is also improved thanks
to Cake. Because of its hierarchy and organization, as well as its effectiveness at limiting
redundancy, Cake helps developers adjust a web application on the fly. Cake also supports
test databases and URL routes for testing new features or versions of web applications on
the live setup.

 

Thursday, April 21, 2011

IoeCamPlus : II/I part IOE Project

IoeCamPlus is a cross platform webcam application developed as a part of II/I part C++ project at Pulchok Campus.
Platform: QT and OpenCV
Language : C++
logos
is an application designed to utilize web cams present in most of the laptops and notebooks. This application is also able to utilize other simple USB PnP web cam technologies for PC’s. In a nutshell, this application is made to be a lightweight alternative to the default web cam application that comes with the corresponding machine.
The project runs in two different modes:-
A. Camera Mode
B. Image Mode

Sunday, March 13, 2011

Qt–OpenCV : Hello image display in the screen

After successfully configuring your Qt-Creator with OpenCV library, its now time to get your hands dirty with the openCV programming. Here I have created a simple sample program which loads the picture from your drive named hello.jpg. Its really simple Smile

Friday, March 11, 2011

Qt : Installing OpenCV in Qt Platform

QTCreator is the open source cross-platform IDE from Nokia’s QT project, and with its ease of use, complete integration with the QT library, and included compiler, it has proven to be a complete solution. After downloading the latest version of Qt-Creator and openCV libray w the following instructions to configure the openCV library.

Qt : Introduction

Qt is a cross-platforqt_logom application framework. Using Qt, you can write applications once and deploy them across many desktop and embedded operating systems without rewriting the source code.

Qt's vision is to have Qt Everywhere and to enable you to create advanced applications with innovative user experiences while getting to market quickly. Qt allows you to code once and deploy across major device and desktop operating systems.

Wednesday, March 2, 2011

WxWidgets: Cross Platform GUI Programming

wxlogo  wxWidgets is a programmer’s toolkit for writing desktop or mobile applications with graphical user interfaces(GUIs). It’s a framework, in the sense that it does a lot of the housekeeping work and provides default application behavior. The wxWidgets library contains a large number of classes and methods for the programmer to use and customize. Applications typically show windows containing standard controls, possibly drawing specialized images and graphics and responding to input from the mouse, keyboard, or other sources. They may also communicate with other processes or drive other programs. In other words, wxWidgets makes it relatively easy for the programmer to write an application that does all the usual things modern applications do. While wxWidgets is often labeled a GUI development toolkit, it is in fact much more than that and has features that are useful for many aspects of application development. This has to be the case because all of a wxWidgets application needs to be portable to different platforms, not just the GUI part, wxWidgets provides classes for files and streams, multiple threads, application settings, interprocess communication, online help, database access, and much more.

Monday, February 28, 2011

OpenCV : Library for Computer Vision

What Is OpenCV?

OpenCV [OpenCV] is an open source (see http://opensource.org) computer vision library available fromopencvlogo http://SourceForge.net/projects/opencvlibrary. Th e library is written in C and C++ and runs under Linux, Windows and Mac OS X. Th ere is active development on interfaces for Python, Ruby, Matlab, and other languages.

One of OpenCV’s goals is to provide a simple-to-use computer vision infrastructure that helps people build fairly sophisticated vision applications quickly. Th e OpenCV library contains over 500 functions that span many areas in vision, including factory product inspection, medical imaging, security, user interface, camera calibration, stereo vision, and robotics. Because computer vision and machine learning oft en go hand-inhand, OpenCV also contains a full, general-purpose Machine Learning Library (MLL). Th is sublibrary is focused on statistical pattern recognition and clustering. Th e MLL is highly useful for the vision tasks that are at the core of OpenCV’s mission, but it is general enough to be used for any machine learning problem.

Saturday, February 5, 2011

SDL: Setting up for Code::Blocks for a Windows Compiler

Download the latest version of Code::Blocks from http://www.codeblocks.org/downloads/26 or directly click here to download 10.05 and install it in your system.  

Step 1: Download SDL libraries

Sunday, January 16, 2011

Customize your localhost Display

Have u ever thinked of getting your localhost display customized with the local projects being displayed with lots of other stuffs than simply “It Works” text. Here is a simple HTML, CSS and JQuery based localhost index page so that u can get urself dynamic…
1. First of all listing your local projects stored in htdocs folder or www(for wampp) is a great idea to get a look at your projects.

Friday, January 7, 2011

List of object-oriented programming languages

Object-oriented programming (OOP) is a programming paradigm that uses "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction, encapsulation, modularity, polymorphism, and inheritance. Many modern programming languages now support OOP.

List of Programming Languages in Alphabetical Order

A programming language is an artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine, to express algorithms precisely, or as a mode of human communication.
The list of programming languages is comprised of all languages implemented in a compiler or an interpreter, in alphabetical order.
In addition, historical languages with no compiler, but that may have influenced design of further work are included also, provided that the author of the further language has made a verifiable reference to them.
Most entries in the list has a link to a website or a download page for the compiler or the interpreter. For historical languages, a link to a dedicated website or a description. Additional info as date and type of language may be added too.
  • Programming languages Procedural and functional languages.
  • Markup languages and data formats XML, XAML, XUL...
  • Database or query languages SQL and other languages.