The other day I was testing part of our application dealing with our permgen leak detection algos. A particular feature I was struggling with needed a new test case.
After noticing all our tests in the field were too complex – involving heavy lifting around application deployment and classloader initialization, I tossed in a new test similar to the following:
I recently found a good resource for changing the background colour of a containing div. This is a jQuery plugin that will search for the most dominating colour in an image and will change it's containing element background to this colour.
This plugin is called the jQuery Adaptive Background Plugin.
Red Hat has just
Red Hat has just announced general availability of these long awaited products! The new JBoss BPM Suite has a well defined, integral focus on process management and automation. It represents the culmination of an awesome amount of work done by the open source community over many months.
Recently I attended a Meetup
at MongoDB Inc.’s new Palo Alto office to hear MongoDB’s CTO, Eliot
Horowitz, speak about the product roadmap. With a new production release
right around the corner and MongoDB World
in the not-so-distant future, the buzz and excitement around all things
MongoDB is high. For those who were not able to attend, we’re going to
recap all the major points Eliot...
We recently heard about Square's Flow as a solution for Android-induced development headaches, and it's a pretty interesting tool that looks like it could do a lot to speed up some of the uglier parts of Android development.
We recently heard about Square's Flow as a solution for Android-induced development headaches, and...
I had this post in gestation for a while but the recent post on SmartBear's blog ("Please stop saying Java sucks") decided it me to finalize and publish it.
I believe that it's a complete fallacy to equate "less code" with "better", this whether one is considering a language or a framework.
Memory mapped files are a good and often overlooked tool. I won’t go into the details here on how they work (use the force Google Luke!), but I will quickly summarize their advantages:
Memory mapped files are a good and often overlooked tool. I
There is a lot of discussion about the need for a foreman role in a software team.Robert C. Martin wrote about it in Where is the Foreman?
The way I see it, a foreman role is important, but perhaps not as extreme as Uncle Bob describes.
It’s very common for organizations to track the velocity of the Agile teams over time. This is quite a reasonable datapoint to plot. Combined with other data, it might give you some insights when you look back, and insights based on data are typically more useful than insights based on opinion. Remember, though, to keep in mind what the data is, and what it is not.
My last Post was "how Web Socket Implementation in Tomcat 7 and Jaggery". Now we will write simple app with using jaggeryjs webSocket. Here I will give some
Recently Famo.us made a big announcement around offering their own PhoneGap alternative using a WebView that could use Chrome instead of the Stock Android Browser. Android 4.4 (KitKat) actually offers this out of the box now but it is actually Chrome 30 which isn't quite up to the same feature set of Chrome 33. That means no WebGL or WebRTC, which is a real loss. There are also no plans to roll ChromeView to older versions of Android and the open source project with this intention has considerable issues at this stage, which is a shame.
Famo.us plan therefore to bundle Blink (Chrome 33) with Apps in order to offer WebGL and other improvements to Wrapped Web Apps. The downside is of course the size of Blink which is somewhere between 10M and 30M depending on which tech forum you follow. Famo.us plan to get round this by offering a one-off download of a shared library, of course this would need to be updated when the next version of Chrome is released. They have a neat demo showing Chrome 33 features including WebGL running through a WebView on Android KitKat.
It's a well known deficiency of most existing sampling Java profilers that their collection of stack traces has to happen at a safe point. This is the case for profilers such as the sampling profiler, which uses the SUN/Oracle management agent to gather its stack traces.
It's a well known deficiency of most existing sampling...
I’ve got to admit it’s getting better (Better)
It’s a little better all the time (It can’t get no worse)
Why do we expect productivity to increase? This goal seems to be a common expectation for management-driven Agile adoptions. Productivity is like motherhood and apple pie; who wouldn’t want more?
There is a story of a farm boy who went to the barn every morning and...
Moving from MySQL to Cassandra can be beneficial for a number of reasons, particularly when it comes to spreading out failure scenarios. Or, if you want to be less diplomatic about it, Rackspace's Dave King sums up his feelings in a Tweet:
mysql dead. hail cassandra
Moving from MySQL to Cassandra can be beneficial for a number of...
Every once in a while, I run into an interesting problem related to connections and pooling with ActiveMQ,
and today I’d like to discuss something that is not always very clear
and could potentially cause you to drink heavily when using ActiveMQ and Camel JMS.
Not to say that you won’t want to drink heavily when using ActiveMQ and
Camel anyway… in celebration of how delightful...
Sometimes you want to set the state of your project back to a previous commit, but keep the history of all the preceding changes. You want to make a commit that reverses all the changes between your previous commit and the current HEAD.
First let’s create a new branch, ‘revert-branch’, from the commit we want to revert to. In this example we’re just reverting to the previous commit...
I don’t consider myself an expert on designing compensation systems, but as of late this issue has come up with several clients, and of course, I have to deal with compensation issues leading LeadingAgile. I’d like to share some thoughts with you guys, get some feedback, and maybe even generate a little healthy debate.
One of the interesting challenges that we have with RavenDB is the number and duration of our tests.
In particular, we current have over three thousands tests, and they take hours to run. We are doing a lot of stuff there “let us insert million docs, write a map/reduce index, query on that, then do a mass update, see what happens”, etc. We are also doing a lot of stuff that really can’t...
Stackato micro cloud runs on VMware hypervisors, KVM, Xen,
Virtualbox, naturally meaning it can run on vSphere, Openstack, or
CloudStack. In demonstrations, in webinars, at conferences, we keep
emphasizing the fact that you can run Stackato on any hypervisor. We
wanted to show you the strength of easily moving your applications to ANY cloud environment.
If you're looking for a practical application to help you get started with MongoDB (or Node.js, or Express.js, for that matter), you might be interested in this presentation from Karan Goel on getting started with Node.js, Express.js, and MongoDB.
If you're looking for a practical application to help you get started with MongoDB...