Skip to main content

Gabriele Carcassi

Gabriele Carcassi has been working for more than 10 years in scientific computing. Is currently employed by the Brookhaven National Laboratory in the control systems group for the National Synchroton Light Source II, building tools for physics and machine operation.

 

carcassi's blog

8 common misconceptions on units and references systems (for software engineers)

Posted by carcassi on October 28, 2012 at 6:08 AM PDT

Reposted from my blog

There are plenty of things in math and physics (like special relativity or vector calculus) that seem hard but are in fact simple once you understand them. Then there are a other things, instead, that seem really simple, but they are actually hard.

Moving to Blogger

Posted by carcassi on October 19, 2012 at 8:45 AM PDT

Since I’d like to start blogging about other interests of mine (like making music, physics, ice-cream/gelato making, Lego, …), I will be moving my main blog from Java.net to Blogger.

Wish list for java array (or numeric collections)

Posted by carcassi on September 1, 2012 at 6:53 AM PDT

If you have been doing numeric calculations in Java for some time, you'll have learned to both love and hate numeric arrays.

For the love part:
* they are safe. No garbage data. All access is guarded.
* they are fast. A simple loop to calculate the average of an array of 100,000 elements on JDK 1.7, Intel Core i7 Q840 1.87GHz, takes about 100,000 nanoseconds, or one nanosecond per element.

pvmanager: a framework to deal with live data (part 2)

Posted by carcassi on August 17, 2012 at 11:47 AM PDT

I'll continue the overview of the design, focusing on the fluent API.

We left with some basic spec for the object that do the live processing of the data. A user will need to create a whole set for each pipeline, plus the set of instructions to give to the data sources (what data to read, where to put it and who to notify).

We need to construct and expression language, which allows to:

Building in the cloud

Posted by carcassi on August 10, 2012 at 11:40 AM PDT

This week I moved the continuous build of 5 projects to the cloud instance of Jenkins provided by Cloudbees. Here's a brief summary of my experience.

Backstory (for those interested)

pvmanager: a framework to deal with real-time data (part 1)

Posted by carcassi on August 3, 2012 at 11:56 AM PDT

In a previous post I outlined some of the problems one has dealing with real-time, asynchronous data. Since I have been working on a library to handle those issues, I'll start to go through some of the design.

Dealing with real-time data in UIs (and others)

Posted by carcassi on February 15, 2012 at 12:57 PM PST

I've been working for a number of years now in the NSLS-II Control System group, creating tools that hook up to the control system.

Generics puzzle

Posted by carcassi on August 4, 2011 at 9:18 AM PDT

Running integration tests and unit tests separately in Maven

Posted by carcassi on April 21, 2011 at 1:56 PM PDT

If you, like me, need to build libraries that need to be tested against a live server (integration tests), here's what you can do.

Applets/JavaFx in OpenSocial/iGoogle (and bugs that need to be fixed...)

Posted by carcassi on December 30, 2010 at 9:40 AM PST

I have started to look for some framework to put together in the same web page different contributions from loosely coupled applications.