Open Source Technical Information

Thursday 8 March 2012

Download pdf of Book of JAVA written by James Gosling

,

 About James Gosling

James Gosling

Born May 19, 1955 (age 56)
near Calgary, Alberta, Canada
Residence San Francisco Bay Area, California, United States
Nationality Canada
Alma mater Carnegie Mellon University, University of Calgary
Occupation Computer Scientist
Employer Liquid Robotics [1]
Known for Java programming language
Awards Officer of the Order of Canada
Website
James Gosling's weblog
James A. Gosling, OC (born May 19, 1955 near Calgary, Alberta, Canada) is a computer scientist, best known as the father of the Java programming language.


Books

  • Ken Arnold, James Gosling, David Holmes, The Java Programming Language, Fourth Edition, Addison-Wesley Professional, 2005, ISBN 0-321-34980-6
  • James Gosling, Bill Joy, Guy L. Steele Jr., Gilad Bracha, The Java Language Specification, Third Edition, Addison-Wesley Professional, 2005, ISBN 0-321-24678-0
  • Ken Arnold, James Gosling, David Holmes, The Java Programming Language, Third Edition, Addison-Wesley Professional, 2000, ISBN 0-201-70433-1
  • James Gosling, Bill Joy, Guy L. Steele Jr., Gilad Bracha, The Java Language Specification, Second Edition, Addison-Wesley, 2000, ISBN 0-201-31008-2
  • Gregory Bollella (Editor), Benjamin Brosgol, James Gosling, Peter Dibble, Steve Furr, David Hardin, Mark Turnbull, The Real-Time Specification for Java, Addison Wesley Longman, 2000, ISBN 0-201-70323-8
  • Ken Arnold, James Gosling, The Java programming language Second Edition, Addison-Wesley, 1997, ISBN 0-201-31006-6
  • Ken Arnold, James Gosling, The Java programming language, Addison-Wesley, 1996, ISBN 0-201-63455-4
  • James Gosling, Bill Joy, Guy L. Steele Jr., The Java Language Specification, Addison Wesley Publishing Company, 1996, ISBN 0-201-63451-1
  • James Gosling, Frank Yellin, The Java Team, The Java Application Programming Interface, Volume 2: Window Toolkit and Applets, Addison-Wesley, 1996, ISBN 0-201-63459-7
  • James Gosling, Frank Yellin, The Java Team, The Java Application Programming Interface, Volume 1: Core Packages, Addison-Wesley, 1996, ISBN 0-201-63453-8
  • James Gosling, Henry McGilton, The Java language Environment: A white paper, Sun Microsystems, 1996
  • James Gosling, David S. H. Rosenthal, Michelle J. Arden, The NeWS Book : An Introduction to the Network/Extensible Window System (Sun Technical Reference Library), Springer, 1989, ISBN 0-387-96915-2

 Download Books From Here : Click here to download

If you found any thing wrong then pleas Let me know ...Write Your tips and suggestion in comment ... Thank you...

Download PDF of c++ By Bjarne Stroustrup | c++ bjarne stroustrup.pdf | Pdf of C++ book written by Bjarne Stroustrup | Bjarne Stroustrup C++ Third Edition

,
Download PDF of C++ By Bjarne Stroustrup | c++ bjarne stroustrup.pdf | Pdf of C++ book written by Bjarne Stroustrup | Bjarne  Stroustrup C++ Third Edition





The C++ Programming Language
(Third Edition and Special Edition)

Addison-Wesley, ISBN 0-201-88954-4 and 0-201-70073-5.


Modified September 8, 2004
The "special edition" is the hardcover version of the 3rd edition. It differs from the early printings of the 3rd edition by about 1,000 corrections and clarifications, by two new appendices (just over 100 pages; also available online, see below), and by an improved index. The only difference between the current printings of the special edition and the 3rd edition is the cover (and the price difference implied by that stronger cover). See also my FAQ.

Advice of the day
(from TC++PL)

B.4[12] If older code tests the result of new against 0, it must be modified to catch bad_alloc or to use new(nothrow); secB.3.4.


Quote

Chapter 17: "Now is a good time to put your work on a firm theoretical foundation" -- Sam Morgan
Here is
See also a note about the structure, contents, and aims of this book. For solutions to selected exercises see David Vandevoorde: C++ Solutions Addison-Wesley Longman ISBN 0-201-30965-3. Reviews and code can be found at David's site.
Some of my interviews answer questions about my books.
For translations, see my publication list and my cover gallery.



Back Cover text:

More than a quarter of million programmers have benefited from this book in all of its editions. Written by Bjarne Stroustrup, the creator of C++, this is the world's most trusted and widely read book on C++.
For this special hardcover edition, two new appendices on locales and standard library exception safety have been added. The result is complete, authoritative coverage of the C++ language, its standard library, and key design techniques. Basd on the ANSI/ISO C++ standard, The C++ Programming Language provides current and comprehensive coverage of all C++ language features and standard library components.
For example:
  • abstract classes as interfaces
  • class hierarchies for object-oriented programming
  • templates as the basis for type safe generic software
  • exceptions for regular error handling
  • namespaces for modularity in large-scale software
  • run-time type identification for loosely-coupled systems
  • the C subset of C++ for C compatibility and systems-level work
  • standard containers and algorithms
  • standard strings, I/O streams, and numerics
Bjarne Stroustrup makes C++ even more accessible to those new to the language, while adding advanced information and techniques that even expert C++ programmers will find invaluable. A web page to support the book can be found at http://www.aw.com/csen
Bjarne Stroustrup is the designer and original implementor of C++ and the author of The C++ Programming Language ( first edition 1985, second edition 1991 ), The Annotated C++ Reference Manual, and The Design and Evolution of C++. A graduate of the University of Aarhus, Denmark, and Cambridge University, England, Dr. Stroustrup is currently the head of AT&T Labs' Large-scale Programming Research Department, an AT&T Fellow, an AT&T Bell Laboratories Fellow, and an ACM Fellow. His research interests include distributed systems, operating systems, simulation, and programming. He is editor of Addison-Wesley's C++ In-Depth Series.



Reviews:



Peter Salus in ;login: October 1997: Unlike those annoying volumes whose pages are filled with screendumps, this is full of real information. Bjarne has done a splendid job in this total rewrite of his important work.

Mini review by Francis Glassborow (Editor of C Vu (Journal of the Association of C and C++ users), September 1997: Do not be deceived, this is a new book reusing an old title. It took three years to write and was critiqued by 12 technical reviewers and the author took every one of their comments seriously. That is what it takes to write a good programming book (and even so some errors got missed). ... I will go out on a limb and declare that if you have not read this book at least once during the next twelve months you are not a C++ programmer whatever you may think. As always, you will only get full benefit from your reading by thinking about what you read.



 Download book PDF From Here
Mirror 3
Purchase Online Price: $59.99 & this item ships for FREE with Super Saver Shipping


If you found any thing wrong then pleas Let me know ...Write Your tips and suggestion in comment ... Thank you...

Tuesday 6 March 2012

Build your own Linux based graphics workstation

,
Workstation. It’s a term in the IT industry that either gets you very excited because of the sheer performance of such systems due to the hardware associated with a workstation. Or on the other hand, the term may scare the hell out of you because workstations usually cost many thousands of dollars.
More so than an everyday desktop system designed for checking your email. Workstations are specially designed and built systems set for a specific task. The graphics and animation industry is a prime example of what workstations are used for. And that’s what we’re going to do today in this article. I’m going to show you that you can put together a Linux based workstation designed for graphics based tasks that can easily rival that of commercial workstation systems.

 Recommended hardware extras

 Dual LCD displays

Software requirements

  1.  Ubuntu 10.04.4 LTS
  2. GIMP
  3. Inkscape
  4. Dia
  5. Blender
  6. Abiword
  7. Gnumeric
Operating system: Ubuntu 10.04.4 LTS
 I’ve chosen to recommend Ubuntu 10.04.4 for our graphics workstation primarily for the fact that it has great support right through to 2015 as it is a long term support release. And also, because it still uses to Gnome 2.x base for the graphical interface. Which is a very capable graphical interface. And especially suited to the tasks required by running graphical software on a workstation. Probably more-so than Unity or Gnome 3.
 All the software below should be in the default Ubuntu repositories. So no extra tweaks or modifications are necessary other than the installation of the mentioned packages. Which can all be installed with one easy command:
 sudo apt-get install gimp inkscape dia blender abiword gnumeric
 Or if you wish, you can install each package individually.

 - GIMP

 GIMP is an absolute essential piece of software for anyone interested in image editing or design. With a large variety of functions to suit amateurs and enthusiasts right through to professionals. it features awesome file support too. GIMP is the first piece of software that you need to be installing.

 - Inkscape

The complement GIMP, you need Inkscape. Inkscape is a vector image designer and editor. And regarding its functions, it is the closet software on Linux that you’ll find to CorelDraw and Adobe Illustrator. Inkscape is similar to GIMP in a sense that it does take some getting used to. Especially for users migrating over from standard commercial Windows applications. But once you get used to Inkscape, you’ll soon realize that it does everything required, plus more if you really get involved, to very professional standards.

- Dia

 Diais a neat little package that differentiates itself from both GIMP and Inkscape. Dia is designed for diagram and layout creation. Dia is very
 simple to use yet so powerful, at the same time. Once you’ve used Dia for the design and layout of your projects, you’ll never use another
package again. Definitely one of my favorites!

 - Blender

 Blender is an awesome package to say the least. And out of all the packages on the workstation, Blender is easily the most powerful, yet demanding of them all. It is powerful in a sense that it can easily compete with any commercial grade 3D creation software, which usually costs many thousands of dollars alone, on top of the cost of the workstation hardware and system itself.

 The extras: Abiword and Gnumeric

 The last two packages really are not necessary for your workstation but may come in handy. And almost an essential for any modern system, regardless of its primary purpose. Abiword for word processing and Gnumeric to handle your spreadsheet requirements.
 Once you add Abiword and Gnumeric, your workstation is ready. So go and get creative and enjoy the awesome benefits and raw processing power of what can be done on a Linux based workstation and potentially saving you thousands of dollars in the process.


If you found any thing wrong then pleas Let me know ...Write Your tips and suggestion in comment ... Thank you...

Coverflow ALT-TAB- A nice extension for Cinnamon

,

Coverflow ALT-TAB is a great  extension for cinnamon that  let’s you Alt-Tab through your windows in a cover-flow manner.

Installation of Coverflow extension:

1- Download coverflow extension from this link
2- Extract the extension to your desktop and copy it to  ~.local/share/cinnamon/extensions , ~.local is a hidden folder in your home directory, unhide folders before to copy.


You can do that also by command line, first extract the file and copy it to ~.local folder:
cp -r CoverflowAltTab@dmo60.de ~.local/share/cinnamon/extensions
3- When installed, go to cinnamon settings ( Menu–>Preferences–> Cinnamon settings)and activate the extension


Then activate the extension:
 

4- Now restart cinnamon, ALT + F2 and type r.
Now use the extension by pressing ALT+TAB
That`s all.

If you found any thing wrong then pleas Let me know ...Write Your tips and suggestion in comment ... Thank you...

XBMC 11 Eden RC1 has been released! PPA UBUNTU

,

XBMC 11 Eden RC1 has been released! PPA UBUNTU



XBMC 11 Eden RC1 has been released, this beta release comes 3 weeks after Beta3 release. According to the announcement, this release comes with a number of updated XBMC translations for final release, resolved a number of outstanding Airplay issues,  allowed specified movie sets to be sorted by title, rather than year, without changing the default sort order on other sets and added a  useful feature of IP weather look up.
For the complete change, check this link 

Installation in Ubuntu and LinuxMint:

For Installation of XBMC 11 Eden RC1 in Ubuntu and LinuxMint, you need to use this unstable PPA:
sudo add-apt-repository ppa:team-xbmc/unstable
sudo apt-get update
sudo apt-get install xbmc
For other LinuxDistro, download the package from this link


If you found any thing wrong then pleas Let me know ...Write Your tips and suggestion in comment ... Thank you...

How to Backup and Restore MySQL Database on Fedora16, Centos and Redhat

,

The mysqldump client is a backup program originally written by Igor Romanenko. It can be used to dump a database or a collection of databases for backup or transfer to another SQL server (not necessarily a MySQL server). The dump typically contains SQL statements to create the table, populate it, or both. However, mysqldump can also be used to generate files in CSV, other delimited text, or XML format.

 Mysql-server info
Source RPM  : mysql-5.5.20-1.fc16.src.rpm
 Build Date  : Fri 27 Jan 2012 09:17:21 AM CET
 Build Host  : x86-04.phx2.fedoraproject.org
 Relocations : (not relocatable)
 Packager    : Fedora Project
 Vendor      : Fedora Project
 URL         : http://www.mysql.com
 Summary     : The MySQL server and related files

1- Start  mysql  server

[pirat9@Fedora16 ~]$ sudo service mysqld   start
Connect  to the  Server   with
[pirat9@Fedora16 ~]$ mysql -u root -p
Output
 Enter password:
 Welcome to the MySQL monitor.  Commands end with ; or \g.
 Your MySQL connection id is 2
 Server version: 5.5.20 MySQL Community Server (GPL)
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
 affiliates. Other names may be trademarks of their respective
 owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>

2- Create new database

In my case i created a new database called unixmen
mysql> create database unixmen;
Query OK, 1 row affected (0.00 sec)
-Show databases with
mysql> show databases;
 +--------------------+
 | Database           |
 +--------------------+
 | information_schema |
 | mysql              |
 | performance_schema |
 | test               |
 | test1              |
 | unixmen            |
 +--------------------+
 6 rows in set (0.00 sec)
mysql>

3- Backup  mysql database

Backup MySQL database to <databasebackupfiles>.sql
<databasename> = Target existing database name
<databasebackupfiles> = Preferred backed up file name
# mysqldump -u root -p <databasename> > <databasebackupfiles>.sql
 Enter password: <Type your mysql password and press enter
i will back up the database named <unixmen> to mylbackup file. This will taking backed up all the tables including the data :
# mysqldump -u root -p unixmen > backup.sql
 Enter password:
 View the content on mysqlbackup.sql
more mysqlbackup.sql

4- Restore MySQL database

To restore the backed up database named “mbackup.sql” to new database named “new” as below :
# mysql -u root -p <mysqlpassword> <databasename> < <databasebackupfiles>.sql
<mysqlpassword> = MySQL password
<databasename> = Database name that will be restore
<databasebackupfiles> = Backed up database file, normally .sql file
Create the new database mysqlnew :
mysql> CREATE DATABASE mysqlnew;
 Query OK, 1 row affected (0.01 sec)
As example, i will restore the mysqlbackup.sql backed up file to database named “new” :
# mysql -u root -p password new < mysqlbackup.sql
or
mysql -u root -p new < mysqlbackup.sql

If you found any thing wrong then pleas Let me know ...Write Your tips and suggestion in comment ... Thank you...

Ubuntu 12.04 LTS Precise Pangolin Beta1 has been released! News & Screenshots Tour

,
Ubuntu 12.04 LTS Precise Pangolin Beta1 has been released! News & Screenshots Tour
It’s time to take another look at what is happening with the development of Ubuntu 12.04. As it stands, the first Beta of Ubuntu 12.04 LTS Precise Pangolin has been released (Official Announcement), there is still no official announcement yet (Beta1 iso  has been uploaded). I just updated my own system.

Download Ubuntu 12.04 LTS Precise Pangolin Beta1  

What changed since Alpha?  Not much, really. In fact, there’s really nothing groundbreaking or any new features added. Unity has been updated to version 5.4.0 which also sees the introduction of the new HUD feature. HUD still apparently has many outstanding bugs, but developers maintain that all bugs will be ironed out before Ubuntu 12.04 goes gold. also added recommendations to Ubuntu software center,  new tool called “privacy”and other small new features.
There’s also the usual software package updates. For example, Chromium Browser has been updated to 17.0, Firefox has been updated to 11.0 and VLC has been updated to the new 2.0.0 version, containing the much touted interface changes. And a nice update for VLC it is.
The user-interface has also been frozen. So you’re going to see no changes from now on through to final release. Not that any are required. I think the default Unity interface is just fine. And once HUD is introduced with the new Unity update, it should theoretically make it even better than what we currently have.
As a side note; I’ve noticed very fast download speeds from the Ubuntu 12.04 repositories in comparison to previous Ubuntu releases. And especially in comparison to the 10.04 repositories, which I also use as my primary operating system. I have no idea whether this improvement has been intentional from Canonical, because I can’t seem to find any relevant information related to the topic. But a lot also depends on where your source mirror is pointing to. Perhaps there’s been an improvement somewhere in between.
And in the mean time, upgrade your own system for the latest changes and let us know what you think. Or if you haven’t already got Ubuntu 12.04 installed, now is a good chance to test it out. But as always, please use it with caution and only for non-critical tasks as it is still under development.
Some visual changes with Screenshots by M. Zinoune
- The Ubuntu button now has quicklists with nice look
- HUD is now default in Ubuntu 12.04 Precise Pangolin
- Added new tool called privacy
- The volume bar got a new look , and  Rhythmbox has replaced banshee as a default player in Ubuntu 12.04
- Added recommendation to Ubuntu software center: When turned on, USC will put applications related to our preferences  at the bottom.
More screenshots :
- Default applications

If you found any thing wrong then pleas Let me know ...Write Your tips and suggestion in comment ... Thank you...

Why GIMP wins over Photoshop

,
GIMP (GNU Image Manipulation Program) is an iconic example of successful free software for image management in the age of Digital Photography. Thanks largely to some advanced software such as GIMP and some proprietary photo imaging software such as Photoshop – creating and editing photos, artwork – is now not just for professionals and Film Studios but for personal use as well.
Though there is a sizeable market for Photoshop, at the heart of digital photos industry are experts who swear by the scope and wide-ranging flexibility GIMP offers them. Be it filters that allow them to start artwork from scratch, GIMP to many users, is more than an ‘image manipulation’ tool. Because, if the need arises all it takes are personalized scripts that can render the desired effect professionals are aiming for- Versatility remains GIMP’s core feature.

Add to it high-performance features such as better gradient tool, an expert lasso tool and definitely a better ink tool; Drag handles for both rectangle /ellipse select tools, and you have all the right function-features that are not so comfortable to use on Photoshop. GIMP definitely makes for quicker and more intuitive use.
While Photoshop does offer a ‘well-packaged’ software for professional photographers as against the ‘upgrades and support’ by GIMP developer community, GIMP becomes a more comfortable software to use as it overcomes, Photoshop’s sluggishness on even slightly older software. GIMP remains- fast and easy to install (is much smaller than Photoshop).

You can forget about using curves tools in Photoshop, over an open window. For one, it will not allow you, and besides, it is embedded in not in the Colors menu as in GIMP, but in the image-adjustments menu!
However, this is not to say Photoshop is not good as a technical tool. It is, but at the price tag and bundled features it offers, GIMP wins hands down because of the free-to-use licensing it adopts.
A great deterrent in using Photoshop is the very strict licensing stipulations; it becomes expensive and limits the number of users.  Free-to-use GIMP does not squabble about the number of people using its software and instead encourages greater user adoption, propagating FOSS philosophy.

Probably, where GIMP, really makes the difference is in the ‘right click’ on an image to get to a menu, which incidentally are not more than a layer deep. In Photoshop the multi-layered drop down menu, which are not accessible on open windows, do not just limit the user experience, but are actually frustrating in the long run.
Photoshop is definitely, it has to accepted, smoother but GIMP does make up for the jerks in paintbrush cloning with the undistracted work flow it makes possible- cloning, scaling more quicker, easier and intuitive.
Where GIMP truly wins over Photoshop would be its portability. It can go on CD’s, memory sticks and sometimes the Xbox 360 (Microsoft) as well. GIMP UI small real-estate, CMYK and 3D-features does give it the scope of a Photoshop package but with the expensive price-tag.


If you found any thing wrong then pleas Let me know ...Write Your tips and suggestion in comment ... Thank you...

Download ICON THEME : Nice collection of icon sets for your Linux Desktop with installation instructions| Ubuntu PPA

,

Nice collection of icon sets for your Linux Desktop with installation instructions| Ubuntu PPA


This is a nice collection of iconsets  for your Linux Desktop, so if you are a fun of changing default themes of your Linux Distribution, then this post is for you. I tried to collect the nicest and most updated icons themes existing in this moment, i included also a detailed howto install the themes for Ubuntu/ LinuxMint and Fedora based distributions.
I tested the icon themes in Ubuntu 12.04 Precise Pangolin Beta1, icons did work just fine.

1- Faience:


2- Meliae Iconset theme

3- Gnome Colors

Ubuntu users, use the following PPA:
sudo apt-get install ppa:gnome-colors-packagers/ppa
sudo apt-get update 
sudo apt-get install gnome-colors

4- Hydroxygen_iconset


5- Humanity Icons Colors Version



For Ubuntu & LinuxMint use the following PPA:
sudo add-apt-repository ppa:ravefinity-project/ppa
sudo apt-get update
sudo apt-get install humanity-colors

 

6-  Vibrant Icons

7- Awoken 2.4 (PPA Ubuntu)

8- AdriX icon theme

9- Faenza Icons:

PPA for Faenza icons for Ubuntu:
sudo add-apt-repository ppa:tiheum/equinox
sudo apt-get update
sudo apt-get install faenza-icon-theme

How to install and activate the new icons? (detailed for newbies :)

1- Download and extract the icons :

  • cd the directory where you downloaded the icons
  • Now extract directly to /usr/share/icons, example Adrix icons theme us
sudo tar xvjf AdriX-gnome.tar.bz2 -C /usr/share/icons/ 
If the archive is tar.bz use this command (Change icons-theme-name withe the name of the downloaded file):
sudo tar -xvzf icons-theme-name.tar.bz -C /usr/share/icons/
 For icons with PPA use the PPA above to install them.

2- Activate the icons:

You need to install Gnome Tweak Tool, use the following command:
sudo apt-get install gnome-tweak-tool
- For Fedora and other rpm based distro, as root type the following command:
yum install gnome-tweak-tool
3- Now open Gnome tweak tool and under theme choose the icon you want

I installed humanity icons theme and chosed the blue ones, this how does it looks.

For Ubuntu users, if you want more icons themes, use the following ppa, it contains a large number of icon themes. For a complete list check launchpad
 sudo add-apt-repository ppa:webupd8team/themes
List of themes in this PPA can be found in this link : https://launchpad.net/~webupd8team/+archive/themes


If you found any thing wrong then pleas Let me know ...Write Your tips and suggestion in comment ... Thank you...

How to- Disable SELinux on Fedora/Centos/RHEL/SL

,

 Security-Enhanced Linux (SELinux) is a Linux feature that provides a mechanism for supporting access control security policies, through the use of Linux Security Modules (LSM) in the Linux kernel. It is a set of Kernel modifications and user-space tools that can be added to various Linux distributions. Its architecture strives to separate enforcement of security decisions from the security policy itself and streamlines the volume of software charged with security policy enforcement .
In this post will show you  : How  to  disable  Selinux without  having to reboot ?
  • First   check  the  Selinux  status  with
#getenforce
Output Enforcing 
  • Disbale the  enforcing  with
#setenforce 0
This  the  the  temporally   disabling of the  selinux, but how  to disable  is  permanently ?
  • What you need to do is to  change “SELINUX=enforcing” to “SELINUX=disabled” in /etc/sysconfig/selinux
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded.
SELINUX=enforcing # SELINUXTYPE= can take one of these two values: # targeted - Targeted processes are protected, # mls - Multi Level Security protection. SELINUXTYPE=targeted
TO
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded.
SELINUX=disabled # SELINUXTYPE= can take one of these two values: # targeted - Targeted processes are protected, # mls - Multi Level Security protection. SELINUXTYPE=targeted
  • Check the  status  again
#getenforce
 Output 
Disabled

If you found any thing wrong then pleas Let me know ...Write Your tips and suggestion in comment ... Thank you...

Deal of the Day

Advertisement here

Advertisement here