Datacharmer post:
Working with replication, you come across many topologies, some of them sound and established, some of them less so, and some of them still in the realm of the hopeless wishes. I have been working with replication for almost 10 years now, and my wish list grew quite big during this time. In the last 12 months, though, while working at Continuent, some of the topologies that I wanted to work with have moved from the cloud of wishful thinking to the firm land of things that happen. My quest for star replication starts with the most common topology. One master, many slaves (...)
Rinaldo Bonazzo's Blog, outdoor passionate - sometimes likes to blog about Disruptive Technology #EnterprisePortal #BigData #Analytics #Cloud #Iot #node.js ...
Wednesday, December 14, 2011
Monday, December 12, 2011
Pentaho Dynamic setting Y-Axis
Working on Entando / Pentaho integration, one of the customer request was :
"I needed to be able to change the minimum and maximum Y-axis at run time."
- Below the solution I've used:
- create reports
- insert the chart
- open the properties window
- in the scripting language choose BeanShell
- insert the following script
"
import org.jfree.chart.*;
import org.jfree.chart.axis.NumberAxis;
import java.lang.Double;
data = runtime.getData();
minVal =999999.0;
maxVal = 0.0;
for (int i=0;i latteProd = data.getValueAt(i,2);
if(latteProd < minVal){
minVal = latteProd;
}
if(latteProd > maxVal){
maxVal = latteProd;
}
}
xyPlot = chart.getPlot();
NumberAxis domain = (NumberAxis) xyPlot.getRangeAxis();
domain.setRange((minVal - (minVal*.10)), (maxVal+ (maxVal*.10)));
"
Wednesday, November 23, 2011
Automating iOS Application Testing: Under the Hood, Capturing and Recording Events
Stu Stern post on drdobbs.com
"Recording UI events for playback means filtering thousands of data points and condensing them into a single action. With iOS, this can be done with swizziling and other unusual language features of Objective-C."
Read more on drdobbs.com
"Recording UI events for playback means filtering thousands of data points and condensing them into a single action. With iOS, this can be done with swizziling and other unusual language features of Objective-C."
Read more on drdobbs.com
Tuesday, November 15, 2011
Dr Dobb's - Fast XML Parsing in Ruby
Sometimes the fastest way to parse a known XML stream is to write your own lean parser. Even in Ruby, this gives remarkable performance benefits.
Most programming languages have their own XML parser libraries. And many of those use the DOM (Document Object Model) API. DOM is good for general-purpose XML processing: The input is parsed into a tree structure that can be modified and written back out. Often whitespace is preserved so the output is identical to the input if it is not modified. This generality comes at a cost: large memory requirements (often more than double the input size) and slow read and write. For applications that read the XML data for only specific pieces of information, there are better alternatives.
Full post on Dr Dobb's
Most programming languages have their own XML parser libraries. And many of those use the DOM (Document Object Model) API. DOM is good for general-purpose XML processing: The input is parsed into a tree structure that can be modified and written back out. Often whitespace is preserved so the output is identical to the input if it is not modified. This generality comes at a cost: large memory requirements (often more than double the input size) and slow read and write. For applications that read the XML data for only specific pieces of information, there are better alternatives.
Full post on Dr Dobb's
Thursday, November 3, 2011
Creating a Business Intelligence Culture
From http://www.itbusinessedge.com the last Ann All post
"For some time now there's been a lot of buzz about companies getting business intelligence into the hands of more users, with the aim of getting the right information to the right people at the right time (or words to that effect). The conventional wisdom: Companies are limiting the potential usefulness of BI by making it available only to specialists, who create reports from centralized data and make those reports available only to select decision makers.
Not everyone agrees with this, of course..."
Subscribe to:
Posts (Atom)