Saturday, September 27, 2008

Embeded open source java repoting library

Have you ever need to create a report and want to change it's content or design or send it preameters then you export it as PDF, XLS or CSV from your java code, sure yes.

Open source java library it is now available from JasperSoft company which is the market leader in open source business intelligence tools, the reporting libraries are called 'Jasper Reports '.

Jasper Reports, it is the world's most widely used open source reporting engine. 

you can download its JAR from:

then choose the required pakage version, and choose download.

after finishing download you will find jasperreports-version.jar file is located on your hard disk.

You can copy this JAR file under your lib folder under your java project,

Now, sure you need to create you first report using Jasper reports, there is a GUI designer for creating reports by only drag ad drop report components from toolbox.

This designer is called IReport, which simplifies the development of even the most complex reports. 

you can download it from this link:

and choose your suitable installation, also IReport is now available as a plugin for NetBeans IDE 

a tutorial for IReport to start creating reports using it, is avaliable for download from:

and starts to access it from your java code which will be available soon in a new post after you will finish creating your reports using IReport.

Sharing is Caring

Thursday, September 18, 2008

I need this baby in a month, send me nine women!!

Don't be tricked by the title, I really don't need a baby in a month! Here is the story...

Yesterday, I dropped by a post on Joel on Software: "Stack Overflow Launches"... It was talking about launching a collaboratively edited question and answer site for programmers called Stack Overflow.

Stack Overflow is not like an ordinary forum, where questions and answers go in the form of a discussion with possibly wrong answers and spams in between! One of the most significant features of Stack Overflow is their voting system, where questions and answers are voted for correctness. Top voted ansewers float over the down voted ones. This helps you getting the desired solution on the top of the page. You can figure more features by visiting Stack Overflow.

"...If you’re generally interested in programming and want to learn something new every day, visit the hot tab frequently."
Intersting... I added Stack Overflow's feed to my RSS Reader. And today, I read this question:
"Under what circumstances - if any - does adding programmers to a team actually speed development of an already late project?"
And it was titled: I need this baby in a month - send me nine women! That's the mystery behind the title. The question discusses one aspect of Software Engineering during the management of the project. Answers showed important considerations when attaching new programmers to running projects. For instance:
The proposed individuals to be added to the project must have:
  • At least a reasonable understanding of the problem domain of the project
  • Be proficient in the language of the project and the specific technologies that they would use for the tasks they would be given
  • Their proficiency must /not/ be much less or much greater than the weakest or strongest existing member respectively. Weak members will drain your existing staff with tertiary problems while a new person who is too strong will disrupt the team with how everything they have done and are doing is wrong.
  • Have good communication skills
  • Be highly motivated (e.g. be able to work independently without prodding)
You can read the full answer here...
I experienced some of the points in the answer. Indeed, it takes long time to understand the code base, conventions, problem domain...etc of a running project, which can make a great waste of resources and time!!

Other answers mention The Mythical Man-Month. Which is:
a book on software project management by Fred Brooks, whose central theme is that "Adding manpower to a late software project makes it later." This idea is known as Brooks's law.
Follow the links above through the post, and enjoy! :)

Wednesday, September 17, 2008


OpenBSD is a free open source operating system based upon the Berkeley Software Distribution (BSD) for UNIX.

The OpenBSD project, coordinated by Theo de Raadt, is known in the programming community for its attention to security. His team is perhaps best known for developing OpenSSH, an open-source secure shell daemon for encrypting network packets.

The project is also known for introducing several important changes to the way the rest of the open source community works, including providing public access to content version control (CVC) repositories and commit (code change) logs. Because OpenBSD is both compact and secure, one of the most common reasons for implementing OpenBSD is as a firewall.

According to

OpenBSD is developed by volunteers. The project funds development and releases by selling CDs and receiving donations from organizations and individuals. These finances ensure that OpenBSD will continue to exist, and will remain free for everyone to use and reuse as they see fit.
The OpenBSD logo and mascot is a pufferfish named "Puffy."

OpenBSD may be downloaded from
The OpenBSD Foundation supports OpenBSD and related projects like OpenSSH, OpenBGPD, OpenNTPD, and OpenCVS.
Wikipedia's entry for OpenBSD provides more technical information and history of the distribution.
Get an executive summary of what's new in OpenBSD 4.1 at the Enterprise Linux Log.

Thursday, September 11, 2008

Large Hadron Collider


Large Hadron Collider

The Large Hadron Collider (LHC) is a particle accelerator under development by CERN, the world's largest organization devoted to particle physics. A particle accelerator, sometimes called an "atom smasher" by lay people, is a device that propels subatomic particles called hadrons at high speeds. Machines such as the LHC make it possible to split particles into smaller and smaller components in the quest for the identification of so-called elementary particles, from which all matter and energy might derive.

Watch a video about the Large Hadron Collider.

The LHC, located at CERN headquarters, conducted its first test today on September 10th, 2008. In operation, the LHC is expected to replicate, on a miniature scale, the conditions existing in the universe a tiny fraction after the Big Bang. Thus, it may be possible to discern what happened in the early evolutional stages of the universe. Among other things, the LHC may yield evidence of further dimensions beyond our familiar four (three spatial dimensions, plus time).

The LHC is expected to help physicists, astronomers and cosmologists answer questions about the nature and origins of matter, energy and the universe. For example:

  • Is antimatter simply a "mirror image" of matter or is the relationship more complex?
  • Why does matter seem to predominate over antimatter in the universe?
  • Why didn't all the matter and antimatter combine long ago, converting the whole universe into energy?
  • What is the nature of dark matter?
  • Why do only some particles have mass?

The LHC will use intense magnetic fields generated by superconductivity to accelerate hadrons in a circular path 27 kilometers (about 17 miles) in circumference. The particles will interact with the magnetic fields to gain energy with each revolution. The LHC will be capable of accelerating protons to energy levels of about 14 TeV (trillion electronvolts, where a trillion is equal to 10^12 ) or 2.2 x 10^-6 joules. Nuclei of lead atoms will be accelerated to speeds sufficient to cause collisions having energy levels near 1150 TeV or 1.8 x 10^-4 joules. The electronvolt (eV) is the amount of kinetic energy gained by an electron passing through an electrostatic field producing a potential difference of one volt.

> discusses the big questions that may be answered by the LHC.
> CERN maintains an official LHC Web site.
> Scientists will use a worldwide computer network to process data generated by the LHC.
> maintains an interactive image of the LHC.