May 11, 2012

manoharbhattarai

Manohar Bhattarai

Hi all,

I am back again. So, this post is about an error in Eclipse IDE when you try to navigate using F3 key or Ctrl+(left mouse click) to any Java resource.

I had a similar error recently as I deleted the entire src(source) folder in the project and replaced the same folder from some other place.

I tried to search but could not find something really to the point answer. Then I tried myself. This is how I removed th error:

1. Right click on the src(source) folder.

2. Select “Build Path”

3. Select “Use as Source Folder”

And you are done. Just close all open tabs and re-open them if you still can not navigate. Enjoy coding…

Thank you.


Regards,
Manohar Bhattarai (मनोहर भट्टराई)
http://about.me/manoharbhattarai
http://www.facebook.com/pages/Manohar-Bhattarai/130973796914160
Blogs:
http://manoharbhattarai.wordpress.com/
Microblogs:
Twitter :- http://twitter.com/mhrbhattarai
Identi.ca :- http://identi.ca/manoharbhattarai


May 11, 2012 09:27 AM

May 08, 2012

Lets Present

Gaurav Paliwal

Following is the article “Lets Present” that I wrote for Linux for You , this article is now in CC by SA license.

Presentation” : The word which whenever comes to our mind, the very next thought that comes after this is that “Oh, hell again a odp or ppt” . All of us are preparing presentation when we are in school, we used to create presentation for assignments and summer project, when we came in college, we prepared presentation for projects, assignments, arranging fests funding through sponsors and off-course for impressing companies during the placement, after that start the client presentations, project status presentations etc. Although the content of presentation always changes but the way you showcase your presentation never , it almost always remain PPT or ODP . But there are many interesting ways you can present your presentation except those. In this article we will be discussing about the using impress.js (http://bartaz.github.com/impress.js/#/bored) to create cool presentations. This uses the power of CSS3 to give a very fresh feel to the way we used to give presentation.

impress.js is a javascript library created by developer Bartek Szopka, which takes the power of CSS3 transforms and transition and gives you a rock solid platform over which you can built impressive presentations. The javascript library is licensed under the MIT License. The project can be forked from the project page that is : https://github.com/bartaz/impress.js/ . This library is only compatible with Google Chrome or Safari (or Firefox 10 or IE10).

Using impress.js for creating presentations is quite straight forward. In the next few steps you will see how to create very basic presentation using this library.

  1. First of all you need to download the impress.js library from the github.For this first go to the https://raw.github.com/bartaz/impress.js/master/js/impress.js and then save it a folder.

  2. Now, create the html page, which will contain your slides. Also include the impress.js file in the html page.For this use the following code :

    ——Code——

<!doctype html>

<html>

<head>

<title>my first presentation using impress.js</title>

<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″>

</head>

<body>

<script type=”text/javascript” src=”impress.js”></script>

</body>

</html>

——Code——

Note : The javascript library impress.js must be included just before the closing body tag.

  1. The source in the script tag is the place where you have downloaded the impress.js library in the first step. If it is the same directory where your html page is located then src=”impress.js” is fine, else made the adjustment based on the location where you have saved the impress.js library.

  2. Now, inside the body tag, create a division with id “impress” which will contain all the slides.

  3. Now, the body tag will look something like this :

    ——Code——

<body>

<div id=”impress”>

</div>

</body>

——-Code——

  1. Now, inside that impress division, you can have multiple slide, each slide inside the separate division with class step slide. After this you body tag will contain following code.

    ——Code——

<body>

<div id=”impress”>

<div class=”step slide” >

This is my first slide.

</div>

<div class=”step slide” data-x=”500″ data-y=”0″>

This is my second slide.

</div>

</div>

</body>

——Code——

  1. Yes, you are down, open the html page in Google Chrome or Safari (or Firefox 10 or IE10), any see the magic.Use the arrow key to move back and forth.

If you want to check inform user if his/her browser does not support impress.js, then you can create a division with class=”no-support-message” whose content will be shown, if users browser does not support the impress.js library. You can also play around with each and every slides orientation (when slide is not active) by changing any of the following properties of the slides ( i.e. division with class “step slide” , inside the division with id “impress” ) : (taken from the http://www.cubewebsites.com tutorial )

1. data-y = the y co-ordinate of the slide

2. data-x = the x co-ordinate of the slide

3. data-z = the z co-ordinate of the slide

data-scale = scales your slide by a factor of this value. A data-scale of 5 would be 5 times the original size of your slide

4. data-rotate = rotates your slide by the specified number of degrees

5. data-rotate-x = This is the number of degrees it should be rotated about the x-axis in 3D slides.

6. data-rotate-y = This is the number of degrees it should be rotated about the y-axis in 3D slide

7. data-rotate-z = This is the number of degrees it should be rotated about the z-axis in 3D slide

Some cool presentation as based on impress.js as claimed by https://github.com/bartaz/impress.js/#readme are following :

http://bartaz.github.com/meetjs/css3d-summit/ from meet.js summit by @bartaz

http://johnpolacek.github.com/WhatTheHeckIsResponsiveWebDesign-impressjs/#/title by John Polacek @johnpolacek

http://extra.12412.org/digibury/#/title by Stephen Fulljames @fulljames

http://wakame.jp/wiki/materials/20120114_TLUG/#/title by Andreas Kieckens @Metallion98

Permalink | Leave a comment  »

May 08, 2012 03:06 PM

Hi friends,

 

‘ இதழ் மூலம் உங்களை மீண்டும் சந்திப்பதில் பெருமகிழ்ச்சி அடைகிறோம்.

உபுண்டு 12.04ன் உலகமே வியந்து கொண்டாடி வருகிறது. 5 ஆண்டுகள் ஆதரவு என்பது வணிக நிறுவனங்களின் கவனத்தை பெரிதும் ஈர்க்கிறது.

இந்த மாத இறுதியில், ஃபெடொரா 17 ம் பதிப்பும் வெளிவருகிறது.க்னு/ பயன்பாட்டினை மிகவும் எளிமையாக்கும் ஃபெடொரா மற்றும் உபுண்டு வெளியீடுகள் பற்றிய விவரங்களை நண்பர் அனைவரிடமும் பகிர்ந்து கொள்ளுங்கள்.

மிகச் சிறந்த பட மென்பொருளான  தனது 2.8 ம் பதிப்பை கண்டுள்ளது. வணிக மென்பொருட்களை பல விதங்களில் மிஞ்சும் பெரும் பரபரப்பை ஏற்படுத்தி வருகிறது.

தரமான மென்பொருட்களை அனைத்து உரிமைகளுடன் உலகிற்கு தொடர்ந்து அளித்து வரும் அனைவருக்கும் நமது நன்றிகள்.

கணியம் இதழ் வெளியீடு எனும் தொடர்ந்து நடத்தி வரும் எழுத்தாளர்களுக்கும், உற்சாகப்படுத்தி வரும் வாசகர்கள் அனைவருக்கும் நன்றிகள்.

கணியம்‘ தொடர்ந்து வளர, கட்டுரைகள், படங்கள், ஓவியங்கள்,புத்தக அறிமுகம், துணுக்குகள், நகைச்சுவைகள் என உங்களது படைப்புகளையும் editor@kaniyam.com என்ற மின்னஞ்சல் முகவரிக்கு அனுப்பலாம்.

இந்த இதழின் கட்டுரைகள் :

  • உபுண்டு 12.04 – என்ன புதுசு? வாங்க.. பார்க்கலாம்!
  • GIMP-ல் இடம்பெறும் 284 எஃபெக்ட்ஸ் மற்றும் இமேஜ் ஃபில்டர்
  • GIMP-ல் False Depth of Field ஒரு விளக்கம்
  • என்றால் என்ன?
  • அப்டானா ஸ்டூடியோஸ் 3
  • உபுண்டுவில் ஆரக்கிள் ஜாவா டெவெலெப்மென்ட் கிட் 7-ஐ (jdk 7) நிறுவுவது எப்படி?
  • Builder- உங்கள் வினியோகத்தை(Distribution) பில்ட் செய்யும் எளிய கருவி
  • க்னு/லினக்ஸ் கற்போம் – 3
  • நீங்கள் ஏன் விண்டோஸ் ஐ விட்டு மாற வேண்டும்?
  • Zimbra desktop
  • நிரலாக்கத்தில் அதிமேதாவியாக இல்லாமல் திறவூற்றுக்கு பங்களிக்க 14 வழிகள்
  • கணிச்சொற் விளக்கம்
  • கிரீன் ப்யூச்சர் வழங்கும் வேலை வாய்ப்பைத் தரக்கூடிய  ஓபன் சோர்ஸ் படிப்புகள்
  • நிகழ்வுகள்
  • உரிமைகள்
  • கணியம் – இது வரை
  • கணியம் பற்றி

நன்றி.

ஸ்ரீனி
ஆசிரியர்,
கணியம்

பதிவிறக்கம் செய்ய :

கணியம் - 5
3.3 MiB
117 Downloads
Details…

 

 

May 08, 2012 03:01 PM

May 05, 2012

Hi all,

My last post wad about the release of Ubuntu 12.04 LTS. I wanted to install it in the Virtualbox. But I got an error. So this post is about how to remove the error and move forward with the installation.

If you are installing the new Ubuntu 12.04 Precise Pangolin 32bit ISO on Virtualbox you are going to get this error :

“This kernel requires the following features not present on the CPU: pae Unable to boot – please use a kernel appropriate for your CPU”.

Precise Pangolin LTS [Running] - VirtualBox OSE

Precise Pangolin LTS [Running] – VirtualBox OSE pae error

To fix this error, you have to enable PAE/NX for the virtual machine.

To enable, you have to select the virtual machine and then click “Settings” and under System –> Processor, check the “Enable PAE/NX” box:

Precise Pangolin LTS - Settings

Precise Pangolin LTS – Settings

This occurs because Ubuntu 12.04 uses the PAE kernel by default for 32bit.
Hope this helps you all and saves you day.
Enjoy Ubuntu 12.04.

Thank you.


Regards,
Manohar Bhattarai (मनोहर भट्टराई)
http://about.me/manoharbhattarai
http://www.facebook.com/pages/Manohar-Bhattarai/130973796914160
Blogs:
http://manoharbhattarai.wordpress.com/
Microblogs:
Twitter :- http://twitter.com/mhrbhattarai
Identi.ca :- http://identi.ca/manoharbhattarai


May 05, 2012 04:53 PM

May 04, 2012


It is so much fun to create rich animated GUI's with Qt's declarative language QML [1] .Working on my braille learning aid application for blind kids since couple of months and its perfectly fine execution on nokia simulators, aroused a sudden urge in me to test it on android platform as well. And yeah, I had no desire to loose my comfort zone by making a switch over from Qt with which I am deeply in love with.


Suchakra's (@Tuxology) [2] super duper romantic couple of blog posts :-
1) Qt Apps on Android! Part One : 3 is in the Air :) [3]
2) Qt Apps on Android! Part Two : An App(le) a day [4]
simply wowed me and helped me deploy my first hello world android-qt app using necessitas [5] [6] , the codename for the port of Qt on the Android Operating System and of the user-friendly Qt Creator Integration with Android. Let me thank the he in the tale Bogdan Vatra [7] . Although use of external shared libraries is still broken , but I am sure upcoming release of necessitas will be much more stable.
Screenshot : Hello World!
May 04, 2012 09:33 PM