Big Data/Analytics 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
Ricky Ho11/19/14
3049 views
0 replies

The Common Data Science Project Flow

While working across multiple data science projects, I observed a similar pattern across a group of strategic data science projects where a common methodology can be used. In this post, I want to sketch this methodology at a high level.

Raymond Camden11/18/14
2163 views
0 replies

Syncing Brackets extensions across multiple machines

This really isn't a new tip, but as someone just asked on Twitter for a quick explanation, I thought I'd write it up. If you want to sync Brackets extensions across multiple machines, the easiest way to do it is with Dropbox, or a Dropbox-like service.

Sameer Bhatia11/18/14
7034 views
0 replies

How the Internet of Things Will Change How You Live

Social media, mobile connectivity, Candy Crush—these things are old news. There is a bigger, badder technological revolution occurring: the Internet of Things, aka the IoT, in which everything from appliances to cows to us is online.

Quinto Urban11/18/14
3929 views
0 replies

Collective Responsibility – Ask the Team!

Collective responsibility is one of the artefacts of agile software development realized those days in many companies and teams (also called Scrum). When I talked with stakeholders about details of software project management strategies they are pushing forward – want to do, often I heard answer as “ask the team”.

    /** Receives info about opened and closed TopComponents from window system.
     */
    private static class WindowRegistryL implements PropertyChangeListener {

        @Override
        public void propertyChange(PropertyChangeEvent evt) {
            String name = evt.getPropertyName();
            if (TopComponent.Registry.PROP_TC_OPENED.equals(name)) {
                addFile((TopComponent) evt.getNewValue());
            }
        }
    }
Burke Holland11/17/14
2915 views
0 replies

Video: AngularJS Directives For The Rest Of Us

Burke Holland explains the concept of AngularJS Directives in familiar jQuery terms

Mike Bushong11/17/14
1662 views
0 replies

The power of Clustering Illusion when managing image

It’s fairly self-evident that you need to have positive data points, but you need to understand that people will tend to view things in clusters. Once you know that, swaying perception (either positively or negatively) is an exercise in creating clusters.

Ross Mason11/17/14
3881 views
0 replies

Performance Impact of an IO-Intensive Application

If you’ve ever worked on performance issues with an IO- intensive app, there is a good chance you already know that the application performance degrades when the disks are stressed out. This fact is usually well known, but the reasons behind it aren’t always clear. I’d like to try and clarify what’s going on behind the scenes.

Mike Cottmeyer11/17/14
7881 views
0 replies

Some Thoughts on Agile Transformation in Big Companies

I am under no illusions that this post will be the definitive explanation, but I spend a TON of time talking to people and level setting before I can have any kind of intelligent conversation on agile, so I want to explore some of the points that I think resonate.

What will happen when we mention this in the jsp page?
<form name="form1" method="post">
<input type='hidden' name='action_submit' id='action_submit' size ='10' value='hrms_employee_search_submit'/>
</form>
where can we collect this hidden types value?
    Tags:
Michael Sahota11/16/14
5568 views
0 replies

Scrum and Kanban: Getting the Most from Each

Scrum is the most popular Agile methodology with Kanban a growing second choice. Learn about the core parts of each one as well as how they differ so that you can find the best fit for your team or organizational context.

Kane Mar11/16/14
1957 views
0 replies

The Agile Reader - Weekend Edition: 11/14/2014

The Weekend Edition is a list of some interesting links found on the web to catch up with over the weekend. It is generated automatically, so I can’t vouch for any particular link but I’ve found the results are generally interesting and useful.

Robert Diana11/16/14
4325 views
0 replies

Geek Reading November 14, 2014

These items are the fruits of those ideas, the items I deemed worthy from my daily reading. These items are a combination of tech business news, development news and programming tools and techniques.

David Shepherd11/16/14
4071 views
0 replies

Southern Fried Agile: A Shift in Perspective

Besides my personal perspective shifts, Southern Fried Agile was representative of a number of other perspective shifts ongoing in the agile community.

Ravi Namboori11/15/14
318 views
0 replies

SAP Enterprise Resource Planning

Enterprise Resource Planning (ERP) is a software for managing businesses which facilitates organizations to manage their business by automating several back office tasks using various integrated applications. These tasks include the entire operation modules, such as manufacturing, development, human resources, financial management, and sales and marketing, among others.

Mark Needham11/14/14
7206 views
1 replies

R: Converting a named vector to a data frame

I’ve been playing around with igraph’spage rank function to see who the most central nodes in the London NoSQL scene are and I wanted to put the result in a data frame to make the data easier to work with.

Gil Zilberfeld11/14/14
3963 views
0 replies

The Illusion of Control

As managers, we can create a safe environment where issues can appear, and we can do something about them, rather than keeping them secret until the last irresponsible moment. We can be honest with our customers to create trust between us, and improve our relationship with them, which will benefit both of us.

package com.sun.enterprise.resource.pool.datastructure;

import com.sun.appserv.connectors.internal.api.PoolingException;
import com.sun.enterprise.resource.ResourceHandle;
import com.sun.enterprise.resource.allocator.ResourceAllocator;
import com.sun.enterprise.resource.pool.ResourceHandler;
import com.sun.enterprise.resource.pool.datastructure.strategy.ResourceSelectionStrategy;
import com.sun.logging.LogDomains;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.logging.Level;
import java.util.logging.Logger;

public class NonBlockingDataStructure implements DataStructure {

    private ResourceSelectionStrategy strategy;
    private final ResourceHandler handler;
    private final AtomicInteger maxSize;

    private final ConcurrentLinkedQueue<ResourceHandle> freeResourceHandles = new ConcurrentLinkedQueue<ResourceHandle>();
    private final ConcurrentLinkedQueue<ResourceHandle> allResourceHandles = new ConcurrentLinkedQueue<ResourceHandle>();

    protected final static Logger _logger =
            LogDomains.getLogger(NonBlockingDataStructure.class, LogDomains.RSR_LOGGER);

    public NonBlockingDataStructure(String parameters, int maxSize,
                                    ResourceHandler handler, String strategyClass) {
        this.maxSize = new AtomicInteger(maxSize);
        this.handler = handler;
        initializeStrategy(strategyClass);
        if (_logger.isLoggable(Level.FINEST)) {
            _logger.log(Level.FINEST, "pool.datastructure.rwlockds.init");
        }
    }

    private void initializeStrategy(String strategyClass) {
        //TODO
    }

    @Override
    public void setMaxSize(int i) {
        this.maxSize.set(i);
    }

    @Override
    public int addResource(ResourceAllocator resourceAllocator, int count) throws PoolingException {
        if(_logger.isLoggable(Level.FINE)){
            _logger.fine("addResource for "+count+" resources.");
        }
        int addedResourceHandles = 0;
        try {
            for (int i = 0; i < count && allResourceHandles.size() < maxSize.get(); i++) {
                ResourceHandle handle = handler.createResource(resourceAllocator);
                allResourceHandles.offer(handle);
                freeResourceHandles.offer(handle);
                addedResourceHandles++;
            }
        } catch (Exception e) {
            PoolingException pe = new PoolingException(e.getMessage());
            pe.initCause(e);
            throw pe;
        }
        if(_logger.isLoggable(Level.FINE)){
            _logger.fine("addResource added "+addedResourceHandles+" resources.");
        }
        return addedResourceHandles;
    }

    @Override
    public ResourceHandle getResource() {
        ResourceHandle resourceHandle = freeResourceHandles.poll();
        if (resourceHandle != null) {
            resourceHandle.setBusy(true);
            if(_logger.isLoggable(Level.FINE)){
                _logger.fine("getResource found resource.");
            }
        }
        return resourceHandle;
    }

    @Override
    public void removeResource(ResourceHandle resourceHandle) {
        if(_logger.isLoggable(Level.FINE)){
            _logger.fine("removeResource called.");
        }
        allResourceHandles.remove(resourceHandle);
        freeResourceHandles.remove(resourceHandle);
        handler.deleteResource(resourceHandle);
    }

    @Override
    public void returnResource(ResourceHandle resourceHandle) {
        if(_logger.isLoggable(Level.FINE)){
            _logger.fine("returnResource called.");
        }
        resourceHandle.setBusy(false);
        freeResourceHandles.offer(resourceHandle);
    }

    @Override
    public int getFreeListSize() {
        return freeResourceHandles.size();
    }

    @Override
    public void removeAll() {
        if(_logger.isLoggable(Level.FINE)){
            _logger.fine("removeAll called.");
        }
        Iterator<ResourceHandle> it = allResourceHandles.iterator();
        while (it.hasNext()) {
            ResourceHandle next = it.next();
            freeResourceHandles.remove(next);
            handler.deleteResource(next);
            it.remove();
        }
    }

    @Override
    public int getResourcesSize() {
        return allResourceHandles.size();
    }

    @Override
    public ArrayList<ResourceHandle> getAllResources() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
Mike Cottmeyer11/13/14
3453 views
0 replies

Agile Smells Versus Agile Zombies in the Uncanny Valley

I don’t like to use the term smell. I prefer to say that you’re in “the valley”. I’m referring to the uncanny valley. When something looks and moves almost, but not exactly, like a healthy person, it causes a response of revulsion among some observers. To that, I believe there is an Agile uncanny valley and it’s full of Agile zombies.

John Walter11/12/14
4257 views
1 replies

Introducing DZone's 2014 Guide to Enterprise Integration

DZone's 2014 Guide to Enterprise Integration was produced to help you discover emerging information about the Enterprise Integration landscape. Enterprise Integration poses huge challenges for developers, and with so many different technologies to choose from, finding the right solution can be tricky.