27 November 2011

What Did We Do Before Google and Wikipedia






















This one animation explained a lot without words.

Wish Google and Wikipedia were around when I was in school. Recently had to relearn about ellipses. Actually never learned it that well. But with Wikipedia and some references within then I figured them out well enough for my needs.

Wikipedia::Ellipses

25 November 2011

Collaborative Workspace Ideas

When conference rooms are hard to book .... this may be a warning sign that your company may not take collaborative efforts seriously. With age and more work experience, I find that the more time working in close collaboration than not produces better results. Not only do I find this for myself but observe it with many others. Unfortunately, with my aging and growing, I find myself suspicious of those who do not grow more into collaborative efforts and work alone consistently. Suspicious of what, I am unsure but perhaps suspicious something is not healthy somewhere.

Finding articles like this .... about businesses and companies who are finding great value in collaborative space gives me motivation to continue pursuing this behavior and process at work. Ideas and reasons can be found in the following article.

Inventing The Collaborative Workspace

An Effective Looking Presentation

Found this keynote by Gojko Adzic. There is no audio which it makes it hard to pickup every point he is trying to make but the format and presentation in the slides alone is worth a look. I think even without the audio you can pick out several of his points effectively. Almost no bullets and if the audio is half as good as the slides then it is well worth thinking about this type of presentation style. I like it a lot.

Death To The Testing Phase by Gojko Adzic

24 November 2011

Boost Modf Function - Integer and Fractional Parts

Have been wanting a function in C++ that would handle finding the integer of a floating point number without integer division. The boost::math::modf function finds both the integer and fractional parts.

Also I wanted to try out this source code formatting tool for blogspot. The snippet below is a unit test written in the UnitTest++ framework.


#include <UnitTest++.h>
#include <boost/math/special_functions/modf.hpp>
using namespace boost::math;

SUITE(BOOST_MATH_MODF) {
const double pi = 3.141592653589793;
TEST(modf) {
double* pIntegerPart = new double;
CHECK_CLOSE(0.141592653589793, modf( pi, pIntegerPart ), 1e-15);
CHECK_CLOSE(3.0, *pIntegerPart, 1e-15);
delete pIntegerPart;
}
}