Entries Tagged as ''

IPOG: A General Strategy for T-Way Software Testing

Most existing work on t-way testing has focused on 2-way (or pairwise) testing, which aims to detect faults caused by interactions between any two parameters. However, faults can also be caused by interactions involving more than two parameters. In this paper, we generalize an existing strategy, called In-Parameter-Order (IPO), from pairwise testing to t-way testing. A major challenge of our generalization effort is dealing with the combinatorial growth in the number of combinations of parameter values. We describe a t-way testing tool, called FireEye, and discuss design decisions that are made to enable an efficient implementation of the generalized IPO strategy. We also report several experiments that are designed to evaluate the effectiveness of FireEye.

http://portal.acm.org/citation.cfm?id=1253335

Hello NetBeans, this is PHP!

Do you know that you can use NetBeans to build web applications using PHP? PHP plug-in is an extension to the NetBeans IDE that enables you to perform web based development on NetBeans. While there are several PHP IDEs available in the market today, NetBeans PHP plug-in offers the same functionalities offered by other IDEs and then much more. Here is a short note to quickly get you started with NetBeans PHP plug-in in Solaris.

What do you need?

1. Solaris OS
2. NetBeans 6.1 Nightly Build
3. Apache 2.2 and PHP 5.2.4 (Get the CoolStack)

After installing the NetBeans 6.1 nightly build, Go to Tools > Plugins > Available Plugins

Select PHP plug-in and click Install. Follow the screens and restart the IDE.

After installing CoolStack, start httpd. Make sure Apache is running by pointing your browser to http://localhost.

In the Services tab select Web Servers > Add Host and select Local Web Server.

Then, provide the correct path to Apache 2 configuration file.

Enter a valid Document Root for Apache2 [Accept the defaults].

After finishing with the configuration, you should see Apache2 connection under Web Servers as shown below:

For creating a new PHP project, select File > New Project and select PHP Project from the PHP category.

Provide a target server for your PHP project.

In your PHP code, type phpinfo(); to get the PHP configuration information.

OK, now is my simple PHP code:

You can right click the project and select Run Project to view the output on a browser. There are also NetBeans modules for PHP Debugging.

Check out the NetBeans PHP Wiki for more information.

Trackback URL: http://blogs.sun.com/phantom/entry/hello_netbeans_this_is_php

netbeans 6 on ubuntu

one install jdk, this can be done by
1) use synaptic, search for sun-java6-jdk, and install it.
or
2) type the following on terminal

sudo apt-get install sun-java6-jdk

once done
go to the place you save the netbeans installer
using terminal type

chmod +x netbeans-6.0-linux.sh

then you can execute it, by type

./netbeans-6.0-linux.sh

That’s it.

netbeans video:
http://www.netbeans.org/kb/60/intro-screencasts.html

FDTK – UbuntuBr – Forense Digital ToolKit

The percentage of crimes committed via the Internet (for example fraud, theft,
Drug trafficking and abuse) and the number of security incidents in
Several institutions have grown year after year in Brazil and the world. For
Hold the investigation of cases like these it is necessary to the performance of
Experts with good knowledge of programming, operating systems and networks
Computers.

The Forense Digital is the area that studies techniques and procedures to be
Employees in that type of research and can be defined as the inspection
In systematic and scientific computing environments, with the aim of
Raise evidence derived from digital sources to be able to
Promote the reconstitution of the events found (can thus determine
If the environment in analysis was used in the conduct of illegal activities
Or unauthorized).

In this context comes the Project FDTK – UbuntuBr – Forense Digital ToolKit (Portuguese-Brazil). A
Linux distribution created from the already established distribution Ubuntu, which
Brings together more than 100 tools that take into account all stages of a
Research Forense offering the possibility of being used as LiveCD
And also be installed in an equipment turning it into a station
Forense. This distribution is constantly developing and
It is characterized not only by the amount of tools, but also by a
User-friendly, structured according to the steps of the process of expertise and,
Yet by the concern to be distributed in the Portuguese language.

http://fdtk-ubuntubr.110mb.com

Turning Firefox a webserver (POW Add-on)

Turn the web on its head with the Plain Old Webserver (POW), which adds a server to your browser.

Turn the web on its head with the Plain Old Webserver (POW), which adds a server to your browser.

Information and a tutorial for POW can be found at this wiki

http://davidkellogg.com/wiki/Main_Page

and at this newsgroup http://groups.google.com/group/firefoxpow
The Plain Old Webserver uses Server-side Javascript (SJS) to run a server inside your browser. Use it to distribute files from your browser. It supports Server-side JS, GET, POST, uploads, Cookies, SQLite and AJAX. It has security features to password-protect your site. Users have created a wiki, chat room and search engine using SJS.

This version includes documentation to show you how to build a Server-side Javascript program.
POW Add-on

Open source’s future: More Microsoft, bigger talent shortages

Open source analyst says systems integrators to play bigger role in 2008 too

By Bob Brown, Network World

The open source industry in 2008 will be marked by more news out of Microsoft, IBM, Oracle and other big IT vendors, less start-up funding, more M&A activity, and an increasingly serious talent shortage.

That’s all according to Raven Zachary, open source research director for The 451 Group, which is holding its 2nd Annual Client Conference in Boston this week.

Zachary said during a presentation at the event that overall, he is bullish on the market. His optimism is fueled in part by the fact that the traditional bottom-up adoption of open source by developers and systems management pros in enterprises is being complemented in many cases by top-down adoption driven by CIOs and executive committees sold on the potential cost reductions. What’s more, companies are deploying open source not just at the browser and operating system levels, but also across various vertical applications, said Zachary, whose experience in the industry includes once serving as director of Internet technology for La Quinta Inns, where he implemented an open source e-commerce system

The analyst said he is also optimistic because big-name IT vendors known best for their proprietary technologies are embracing open source and collaborative development systems involving ISVs and customers. Open source is “a disruptive force” that has big vendors re-evaluating their business models, licensing schemes and product plans, Zachary said

He described how active companies like IBM and Oracle have become in open source organizations such as the Eclipse Foundation, how Microsoft has cozied up to Novell and how Sun has finally gone the open source route with Java. He also said he anticipates Microsoft becoming increasingly busy in open source, since it “has a vested interest in making sure open source works well on Windows.” However, he noted it could be well into the next decade before we see something as dramatic as an actual Linux distribution from Microsoft. “Microsoft is still trying to work out its strategy,” he said. “Ultimately, I think we’ll see them embrace open source much more.”

The interest by Microsoft and other big companies in open source should fuel more M&A activity in 2008, Zachary said. He said there were 16 deals in 2006 and have been 25 to date in 2007, while funding for new open source companies has plunged ($513 million for 53 companies in 2006 vs. $270 million for 39 companies so far this year).

But not all the news for 2008 will be good if the market watcher is correct.

The current shortage of open source talent will only worsen as demand skyrockets for internal open source support and developers, Zachary said. One example of such a shortage will be people with expertise in the open source Java servlet middleware called Tomcat that comes from the Apache Foundation. “There are 25 or so core contributors to that project,” Zachary said. “Over the past four or five years that number has stayed virtually identical…but the growth of Tomcat has been astronomical.”

Zachary said companies increasingly have been hiring Linux know-it-alls, but he advised them also to focus on identifying which open source projects have big potential and hiring talent early on before the going price gets too high (One audience member cited an example of Ajax developers being offered as much as $600 to consult, the sort of offer that is drawing them away from contributing to open source projects.)

A silver lining for open source adopters, Zachary said, is that systems integrators such as Unisys and EDS are putting more resources into open source support offerings. That should lessen some of the pressure on IT shops to add open source experts to their staffs, he said.

Also in the bad news department for 2008, Zachary expects we’ll see a new wave of failed open source businesses in 2008 as companies gain further understanding of how to monetize open source, or not.

In addition, the 451 Group has just issued a report saying the open source opportunity in the small and midsize business market is limited in that SMBs won’t be nearly as willing as larger enterprises to pay for support. In many cases, SMBs will look at open source like they do shareware, Zachary said.

Other tidbits from Zachary’s presentation:

• On the buyout front, look for someone to snap up what remains of SCO Group, which filed for bankruptcy protection earlier this year, and don’t be surprised if Oracle makes more deals in the open source database area.

• Zachary said he expected open source would have a “huge impact” on VoIP this year. “Maybe we got a bit too excited,” he said, calling 2007 “more of a growth than a breakout year.” However, he did say it’s inevitable that open source will have a huge impact on VoIP via Asterisk and other technologies.

networkworld.com

How to Apply GPL V3 Terms to Your Softwares

If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w’ and `show c’ should show the appropriate parts of the General Public License. Of course, your program’s commands might be different; for a GUI interface, you would use an “about box”.

You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <http://www.gnu.org/licenses/>.

The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <http://www.gnu.org/philosophy/why-not-lgpl.html>.

America already is in a cyber war, analyst says

A technology expert said Tuesday that the United States is in the midst of an active cyber war and is now implementing still-secret security plans for protection.

Andrew Palowitch, a former CIA official who is now an industry consultant to the commander of the U.S. Strategic Command, peeled back a gauzy layer over the secret national cyber-security initiative that will be a blueprint for protection.

“We are currently in a cyber war and war is going on today,” Palowitch said in a talk at Georgetown University’s Center for Peace and Security Studies. He credited Gen. James (Hoss) Cartwright, vice chairman of the Joint Chiefs of Staff, with that assessment but said he agrees with it.

“America is under widespread attack in cyberspace,” Palowitch said in citing Cartwright’s statistics that there were 37,000 reported breaches of government and private systems in fiscal 2007. There were nearly 13,000 direct assaults on federal agencies then, and 80,000 attempted computer network attacks on Defense Department systems, he added.

Some of those assaults “reduced the U.S., military operational capabilities,” Palowitch said. He never discussed who the enemy might be.

Palowitch spoke only in non-classified, general terms about the cyber-security initiative, a program conceived to protect government and private networks from cyber attacks. The program is slowly being implemented, he said, but its specific details may remain secret.

Responsibility for the initiative will rest with the Defense and Homeland Security departments. As part of the initiative, a U.S. Air Force cyber command was established in September. On Nov. 6, Homeland Security’s cyber division received $115 million in reallocated funds.

And this month the White House Office of Management and Budget directed all agencies to reduce their total external connections so there is no more than 50 “trusted” Internet connections. Currently there are 1,300 avenues in all federal agencies for possible cyber terrorists.

As the cyber war continues, Palowitch said, a whole range of issues will have to be addressed, including legal, civil rights, policy and liability.

Besides being a defense consultant, Palowitch is the chief technology officer for Science Applications International Corp., a major designer of devices to protect computers and networks from attack.