Agile Zone is brought to you in partnership with:
DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
  • submit to reddit
Shelan Perera10/01/14
5208 views
0 replies

Want to learn anything faster?

We are in a world with lot of learning opportunities. But how much stuff do we really learn? What holds us back from learning new things faster?

Kevin Daly09/30/14
14143 views
5 replies

Don't fall in love with your own code!

Don't fall into the trap of falling in love with your own code.

Rob Galanakis09/30/14
4863 views
1 replies

Keeping talented employees

I’m normally not a fan of reducing human behavior to a list like this, but it seems pretty complete, and the words resonated.

Bozhidar Bozhanov09/29/14
6857 views
1 replies

Load-Testing Guidelines

Load-testing is not trivial. It’s often not just about downloading JMeter or Gatling, recording some scenarios and then running them. It’s good to be reminded of some things that can potentially waste time.

Mark Needham09/29/14
3277 views
0 replies

R: ggplot - Plotting multiple variables on a line chart

In my continued playing around with meetup data I wanted to plot the number of members who join the Neo4j group over time. I wanted to plot the actual count alongside a rolling average for which I created the following data frame:

Jim Bird09/29/14
8419 views
0 replies

Can Static Analysis replace Code Reviews?

Until more developers get more training and understand more about how to write secure software, we will all need to lean on static analysis (and dynamic analysis) security testing tools to catch vulnerabilities. But static analysis isn't a substitute for code reviews.

Dmitriy Setrakyan09/29/14
2625 views
0 replies

One-Phase-Commit: Fast Transactions For In-Memory Caches

By ensuring that all objects participating in a transaction are mapped to the same logical partition, we can remove the whole "prepare" phase from the distributed commit protocol, thus converting the standard 2-Phase-Commit into very light weight 1-Phase-Commit transactions.

Dave Rooney09/28/14
4527 views
2 replies

How to Enable Estimate-Free Development

Most of us have been there... the release or sprint planning meeting to goes on and on and on and on. It doesn't have to be like that!

Darrell Burgan09/27/14
10130 views
14 replies

The NoSQL Advice I Wish Someone Had Given Me

In this article, I hope to share some of these lessons with you and give you the practical advice I wish someone would have given me before I started. So here goes.

Michael Sahota09/26/14
7896 views
2 replies

Letting Go of Agile (Culture)

This post is about how we may accidentally harm organizations with Agile and how we can let go so that we may succeed.

Allan Kelly09/26/14
1329 views
0 replies

Nightmare on Agile Street 2: Managed Agile

Blow me down, its happening again… I’m awake. I’m wet, its a cold sweat. Its the small hours of the morning and the dream is horrid....

Anh Tuan Nguyen09/26/14
1584 views
0 replies

Agile is a simple topic

Let's face it, being pure isn't about what you have, it is about what you don't! Pure gold has nothing but gold that's why it is super valuable. We should build our teams on developers, code and business needs. The three pure ingredient of a team, any one taken away and the team is no more.

Johanna Rothman09/26/14
663 views
0 replies

Projects Where You Can't Predict an End Date

Do you have projects where you can’t predict an end date? These tend to be a job search, a change project, and with a tip of the hat to Cesar Abeid, your life. I like to call these “emergent” projects.

Mike Cottmeyer09/26/14
2615 views
0 replies

Telling Executive Stories

Delivery teams manage and deliver value supported by the tool user stories. While these forms support delivery team conversations well, they are inadequate to support the richer conversation needed by executives to manage investment and value. What forms the basis of these stories?

Rob Galanakis09/25/14
14800 views
6 replies

Two weeks is the worst sprint length

I still prefer one week sprints, which isn’t surprising as I’m an XP advocate. But if a team isn’t able or willing to move to one week sprints, don’t default to two weeks.

Manali Gupta09/25/14
1197 views
0 replies

Choosing the right iteration length in Agile development

Iteration planning plays an important role in agile software development. Iteration, in the context of an agile project, is a time-box during which development takes place, the duration of which may vary from project to project and in most cases is usually of fixed length.

Rick Delgado09/25/14
2860 views
0 replies

A Short History of Computer Security Threats

Ever since people first connected their computers to the Internet, there have been people hacking into those computers, and these attacks have become more sophisticated over the years.

//A link to a URL

File sdDir = Environment.getExternalStorageDirectory();
String sdPath = sdDir.getCanonicalPath();

//Instantiating a Workbook object
Workbook workbook = new Workbook();

//Obtaining the reference of the first worksheet.
WorksheetCollection worksheets = workbook.getWorksheets();
Worksheet sheet = worksheets.get(0);
HyperlinkCollection hyperlinks = sheet.getHyperlinks();

//Adding a hyperlink to a URL at "A1" cell
hyperlinks.add("A1",1,1,"http://www.aspose.com");

//Saving the Excel file
workbook.save(sdPath + "/book1.xls");
 
//In the above example, a URL is added to an empty cell, A1, as a hyperlink. When the cell is empty, the URL also becomes the link text. If a URL is added as a link to a cell that already contains text, then the hyperlink is added but the value of the cell looks like plain text. To make it look like a hyperlink, apply formatting on the cell.

File sdDir = Environment.getExternalStorageDirectory();
String sdPath = sdDir.getCanonicalPath();

//Instantiating a Workbook object
Workbook workbook = new Workbook();

//Obtaining the reference of the first worksheet.
WorksheetCollection worksheets = workbook.getWorksheets();
Worksheet sheet = worksheets.get(0);

//Setting a value to the "A1" cell
Cells cells = sheet.getCells();
Cell cell = cells.get("A1");
cell.setValue("Visit Aspose");

//Setting the font color of the cell to Blue
Style style = cell.getStyle();
style.getFont().setColor(Color.getBlue());

//Setting the font of the cell to Single Underline
style.getFont().setUnderline(FontUnderlineType.SINGLE);
cell.setStyle(style);

HyperlinkCollection hyperlinks = sheet.getHyperlinks();

//Adding a hyperlink to a URL at "A1" cell
hyperlinks.add("A1",1,1,"http://www.aspose.com");

//Saving the Excel file
workbook.save(sdPath + "/book1.xls");
 
//Adding a Link to another Cell in the Same File

File sdDir = Environment.getExternalStorageDirectory();
String sdPath = sdDir.getCanonicalPath();

//Instantiating a Workbook object
Workbook workbook = new Workbook();

//Obtaining the reference of the first worksheet.
WorksheetCollection worksheets = workbook.getWorksheets();
Worksheet sheet = worksheets.get(0);

//Setting a value to the "A1" cell
Cells cells = sheet.getCells();
Cell cell = cells.get("A1");
cell.setValue("Visit Aspose");

//Setting the font color of the cell to Blue
Style style = cell.getStyle();
style.getFont().setColor(Color.getBlue());

//Setting the font of the cell to Single Underline
style.getFont().setUnderline(FontUnderlineType.SINGLE);
cell.setStyle(style);

HyperlinkCollection hyperlinks = sheet.getHyperlinks();

//Adding an internal hyperlink to the "B9" cell of the other worksheet "Sheet2" in
//the same Excel file

hyperlinks.add("B3",1 ,1, "Sheet2!B9");

//Saving the Excel file
workbook.save(sdPath + "/book1.xls");

//Adding a Link to an External File 

File sdDir = Environment.getExternalStorageDirectory();
String sdPath = sdDir.getCanonicalPath();

//Instantiating a Workbook object
Workbook workbook = new Workbook();

//Obtaining the reference of the first worksheet.
WorksheetCollection worksheets = workbook.getWorksheets();
Worksheet sheet = worksheets.get(0);

//Setting a value to the "A1" cell
Cells cells = sheet.getCells();
Cell cell = cells.get("A1");
cell.setValue("Visit Aspose");

//Setting the font color of the cell to Blue
Style style = cell.getStyle();
style.getFont().setColor(Color.getBlue());

//Setting the font of the cell to Single Underline
style.getFont().setUnderline(FontUnderlineType.SINGLE);
cell.setStyle(style);

HyperlinkCollection hyperlinks = sheet.getHyperlinks();

//Adding a link to the external file
hyperlinks.add("A5", 1, 1, "C:\\book1.xls");

//Saving the Excel file
workbook.save(sdPath + "/book2.xls");
 
Alec Noller09/24/14
12060 views
0 replies

Dev of the Week: Sander Mak

This week we're talking to Sander Mak, Senior Software Engineer at Luminis Technologies, JavaOne Rockstar, and featured author in DZone's 2014 Guide to Big Data.

Alec Noller09/24/14
8985 views
0 replies

The Best of DZone: September 16 - 23

If you missed anything on DZone this week, now's your chance to catch up! This week's best include four ways to loop over a hashmap in Java, how to reduce boilerplate code in Java applications, an infographic of the IoT developer mindshare, dropping the R and M from ORM, and more.