David’s blog
  • Services
  • About
  • R-bloggers
Categories
All (180)
agile (7)
announcements (15)
articlewatch (8)
bacnet (1)
book-reviews (8)
c (1)
climate-change-2 (1)
eib (1)
energy (12)
general (4)
home-automation (20)
interviews (2)
knx (1)
maths (1)
osgi (2)
programming (28)
python (3)
r (17)
research (20)
statistics (2)
tools (24)
trends (6)
x10 (1)

David’s blog

For independent metrics, the chance that any ordinary test rejects rises from 5% to 92% as the number of metrics grows from 1 to 50. The chance that every non-inferiority test passes falls from 5% to about 3%, with one metric at the harm threshold.

Controlling for multiple testing with non-inferiority tests

statistics

More metrics don’t always mean more false positives. Here’s why requiring every non-inferiority test to pass changes the multiple-testing problem.

Sep 11, 2026
A skewed treatment-effect distribution with the median and Hodges–Lehmann estimate below zero and the mean above zero.

Making sense of non-parametric tests

r
statistics

Explore how the mean, median, and Hodges–Lehmann estimator tell different stories about treatment effects—and why the question should guide your choice.

Sep 9, 2026
Timelines comparing the engagement of a habitual user and a user who bounced

Beyond DAU: How to Measure User Retention with Survival Analysis

r

Use survival analysis to measure whether a product feature creates durable engagement beyond a short-lived DAU spike.

Aug 23, 2026

How Are P-values Distributed Under The Null?

r
I sometimes use this fun interview question for aspiring data scientists:
Jan 22, 2025

Your Classifier Is Broken, But It Is Still Useful

r
When you run a binary classifier over a population you get an estimate of the proportion of true positives in that population. This is known as the prevalence.
Jan 8, 2025

Things I wish they taught in school

Before he became Spider-Man in the 1960s, Peter Parker was a chemistry and physics genius, an expert photographer, and–get this–even knew how to tie a tie. But he was also a…
Jul 22, 2024

How to set up a reverse SSH tunnel with Amazon Web Services

When the startup shut down there were still dozens of netbooks out there in the wild collecting data on the residential houses fitted with our adaptive heating control…
May 31, 2023

Deep silence or deep work

It’s Monday afternoon. It’s a holiday but I have a couple of things to catch up from last week that I didn’t finish. The rest of the family is either on holiday camp or…
May 17, 2023
Simulated ratio distributions: nearly symmetric when the denominator is far from zero, and right-skewed when it is nearer zero.

Is The Ratio of Normal Variables Normal?

r

Is a ratio of normal variables also normal? R simulations show when the approximation works and how the denominator can make it break down.

May 3, 2023

Working with that data scientist

In my current team we have decided to split up the work in a number of workstreams, which are in effect subteams responsible for different aspects of the product. One…
Apr 20, 2023

Controlling for covariates is not the same as “slicing”

r
To detect small effects in experiments you need to reduce the experimental noise as much as possible. You can do it by working with larger sample sizes, but that doesn’t…
Apr 5, 2023

Getting into data science

A while back I had the pleasure to address a team of user experience researchers at YouTube, and I got asked for a few resources that could help someone pretty good at…
Mar 22, 2023

The law of total probability applied to a conditional probability

Dear future self,
Mar 8, 2023

xkcd and Data Science

I’ve been collecting all xkcd comics related to Data Science and/or Statistics. Here they are, but if you think I’m missing any please let me know in the comments. Use at…
Feb 20, 2023
 

Quick note about bootstrapping

Cross-validation—the act of keeping a subset of data to measure the performance of a model trained on the rest of the data—never sounded right to me.
Feb 6, 2023

The most under-rated programming books

Ask any programmer what their favourite programming book is, and their answer will be one of the usual suspects: Code Complete, The Pragmatic Programmer, or Design Patterns. …
Jun 16, 2021

Feature standardization considered harmful

r
Many statistical learning algorithms perform better when the covariates are on similar scales. For example, it is common practice to standardize the features used by an…
Jun 11, 2021

No, you have not controlled for confounders

r
When observational data includes a treatment indicator and some possible confounders, it is very tempting to simply regress the outcome on all features (confounders and…
Feb 10, 2021

A/B testing my resume

r
Internet wisdom is divided on whether one-page resumes are more effective at landing you an interview than two-page ones. Most of the advice out there seems much opinion- or…
Nov 24, 2020

Unit testing SQL with PySpark

python
Machine-learning applications frequently feature SQL queries, which range from simple projections to complex aggregations over several join operations.
Nov 16, 2020

Scraping real estate for fun

Here’s a fun weekend project: scrape the real estate classifieds of the website of your choice, and do some analytics on the data. I did just that last weekend, using the Scr…
Nov 6, 2020

Testing Scientific Software with Hypothesis

python
Writing unit tests for scientific software is challenging because frequently you don’t even know what the output should be. Unlike business software, which automates…
Oct 28, 2020

Monty Hall: a programmer’s explanation

r
I take it we’re all familiar with the infamous Monty Hall problem:
Oct 2, 2020

Reading S3 data from a local PySpark session

python
To read data on S3 to a local PySpark dataframe using temporary security credentials, you need to:
Sep 25, 2020

Probability’s not fair

maths
I’m currently reviewing a book for a well-known tech publisher, in which the author discusses the assignment of probabilities to each face of a die, when the faces are not…
Aug 10, 2020
 

Math tests

\begin{align*} \int \frac{1}{(2x{2}+4x-2){-\frac{3}{2}}} \textrm{d}x &= \frac{\sqrt{2}}{8} \int\frac{\sec{t} \cdot \tan{t}}{\tan^{3}{t}} \textrm{d}t \\ &= \frac{\sqrt{2}}{8}…
Jul 31, 2020
 

Machine Learning in R: Start with an End-to-End Test

r
As a data scientist, you will likely be asked one day to automate your analysis and port your models to production environments. When that happens you cross the blurry line…
Nov 13, 2019
 

Where to define S4 generics

r
You need to declare generic functions in S4 before you can define methods for them. If no definition exists you will see the following error:
Aug 9, 2019
 

Connecting to SQL Server from R on a Mac with a Windows domain user

r
Connecting to an SQL Server instance as a Windows domain user is relatively straightforward when you run R on Windows, you have the right ODBC driver installed, and your…
Jul 23, 2019

Learning Gregg shorthand

This piece is a writing assignment for the Learning How To Learn online class, in which we are asked to reflect on a recent learning challenge.
May 29, 2019
 

Notes from the “Learning How To Learn” course

“Learning How To Learn” (LHTL), an online course freely available on Coursera, teaches techniques for becoming a better learner and thinker. Given by Dr Barbara Oakley…
May 6, 2019
 

Why I (still) use C++

c
When I joined Neurobat in 2010, the company’s vision was to develop an add-on component that would compute optimal setpoints for your heating system. Such a device had to be…
Mar 11, 2019
 

Our first 3D game programming project

My son Nathan made this:
Mar 28, 2018

Predicting where the bugs are

Adam Tornhill’s Your Code as a Crime Scene (YCAACS) has lain open next to my laptop for several months now. I’m usually a fast reader and a technical book rarely lasts that…
Jul 18, 2016

How I review papers

Once you publish a paper in a journal, you are expected to regularly review papers for that journal. It’s part of the normal scientific process. Some may consider it a…
Jun 27, 2016
 

The DEBORAH project kick-off meeting

We are involved in DEBORAH, a Eurostars project nr E!10286,  led by EQUA Simulation AB, the vendor of the highly regarded IDA ICE building simulation software. Together with …
Jun 20, 2016
 

Being blocked doesn’t mean you cannot work

agile
If you’ve been on a Scrum team for some time, you will inevitably hear someone at the stand-up say:
Jun 13, 2016
 

Was “Building Science” really the best we could come up with?

The big problem with Building Science is that we call it Building Science.
Jun 6, 2016
 

CARNOT has an official home

I’m pleased to report that CARNOT, the Simulink library of models for HVAC systems, has now an official home. You can find it by visiting its page on the MATLAB Central. On…
May 9, 2016

Linus Torvalds thinks like a chess grandmaster

I’ve uncovered evidence that Linus Torvalds, creator of Linux, may entertain a secret hobby.
Apr 27, 2016

Where all floating-point values are above average

When you just fix a programming bug quickly, you lose. You waste a previous opportunity to think and reflect on what led to this error, and to improve as a craftsman.
Apr 25, 2016

The one question not to ask at the standup meeting

agile
What is the very first question one is supposed to answer during a standup meeting? If your answer is:
Apr 18, 2016

The opinionated estimator

r
You have been lied to. By me.
Apr 11, 2016

The SIM4Blocks project kick-off meeting

The SIM4Blocks European project held its kick-off meeting on 5 and 6 April 2016 in Stuttgart, Germany. A consortium of 17 European partners (including 3 Swiss organisations)…
Apr 7, 2016

Biblical kings and boxplots

r
When you read through the biblical books of Kings, you may have been struck by a phrase that repeats itself for every monarch:
Jan 11, 2016
 

C++: when delete doesn’t delete

We once spent almost a week chasing after a mysterious memory leak in our application, built on top of the highly regarded eCos real-time operating system. The leak appeared…
Dec 21, 2015
 

Going for one-week sprints: a good wrong idea

agile
A few weeks ago, our team held a sprint retrospective (which I unfortunately couldn’t attend) during which it was decided to shorten our sprint length from two weeks to one.…
Dec 14, 2015
 

Scrum stories that are juuuust right

agile
On thing has been bugging me for quite some time now as I observe our team at Neurobat. Most stories on our sprint board are being worked on by one developer each, leading…
Dec 11, 2015

Running CARNOT models under OSX

CARNOT (Conventional And Renewable eNergy systems Optimization Toolbox) is a set of MATLAB & Simulink models for simulating buildings and building systems, e.g. boilers…
Dec 9, 2015

Book review: Advanced R

book-reviews
r
I would like to call this the best second book on R, except that I wouldn’t know what the first one would be. I learned R from classes and tutorials about 10 years ago, used…
Dec 7, 2015

The only problem with daily scrums

agile
Over the past five years, our team has attended more than 120 daily standup meetings, carefully following the “canonical” format and having each team member answer the usual…
Dec 4, 2015

You know you have a great tester on your team when…

… you find a wireless room temperature sensor in your fridge:
Dec 2, 2015

How to fix rotation problems with iPhone pictures

When I take a picture with my vertically-held iPhone, here is what happens when I insert it as-is in this blog:
Nov 30, 2015

Reviewer queue

agile
During a recent sprint retrospective we raised a problem with the way we assign code reviews. Not the formal, whole-team ones, but the regular ones we solicit for each pull…
Nov 27, 2015
 

How to test for floating point exceptions with CppUTest

Some programmers, when confronted with a problem, think “I know, I’ll use floating point arithmetic.” Now they have 1.999999999997 problems. // Tom Scott
Nov 25, 2015
 

Not prioritising architectural needs

agile
From Mike Cohn’s User Stories Applied, there was this little paragraph that I think many teams (including my own) tend to forget about:
Nov 23, 2015

Bayesian tanks

r
The frequentist vs bayesian debate has plagued the scientific community for almost a century now, yet most of the arguments I’ve seen seem to involve philosophical…
Nov 20, 2015
 

ISH 2015 – first impressions

ISH, held every two years in Frankfurt, describes itself as “The world’s leading trade fair The Bathroom Experience, Building, Energy, Air-conditioning Technology, Renewable…
Mar 16, 2015
 

How not to get hired by Neurobat

When I recruit software engineers I always ask them to first take a short online programming test. Following a recommendation from Jeff Atwood, we use Codility as an online…
Oct 16, 2014

Growing Object-Oriented Software, Guided by Tests

Review: Growing Object-Oriented Software, Guided by Tests

book-reviews
Growing Object-Oriented Software, Guided by Tests by Steve Freeman
Oct 6, 2014

How to determine if a sample is drawn from a normal distribution

Suppose you’ve performed some experiment on a given population sample. Each experiment yields a single numeric result. You have also derived the usual statistics (say, the…
Sep 25, 2014
 

MATLAB Coding Conventions

Over the course of four years we have developed, at Neurobat, a set of coding conventions for MATLAB that I would like to share here. The goal of these conventions is…
Sep 22, 2014
 

How to install RPostgreSQL on OSX Mavericks

Even if you’ve installed the PostgreSQL client binaries via Brew (i.e., brew install postgres), you will run into problems if you try to install the RPostgreSQL package in…
May 23, 2014
 

Energy savings with Neurobat

The official video presenting our main product and explaining how it works:
Apr 29, 2014

Programming Wingmen

For the past few weeks we’ve been experimenting with a variant of the Pair Programming theme.
Apr 17, 2014

C’est “Test Unité”, m***e!

Most french-speaking professional programmers I’ve worked with will translate “Unit Test” by “Test Unitaire”. This is indeed the term used by the french translation of the…
Apr 14, 2014

When to disable software assertions

I’m currently taking the Software Testing class on Udacity. The instructor spent a couple of videos discussing the pros and cons of leaving software assertions turned on in…
Apr 7, 2014

The only statistical distribution you need to know

If you pick two people at random and measure their heights, what can you say about the average height of the population?
Mar 26, 2014

RESTful Web Services

Review: RESTful Web Services

book-reviews
RESTful Web Services by Leonard Richardson My rating: 5 of 5 stars
Dec 22, 2013

Pair-programming girls did just as well as boys

For the past three years I’ve taught a freshman-level programming course at the Swiss Federal Institute of Technology in Lausanne. Students are asked to form groups of 2 and…
Dec 16, 2013
 

Statistically significant energy savings: how many buildings are enough?

From Neurobat’s website it is now possible to download a brochure with the 2012-2013 test results. It summarises the findings we published at the CISBAT 2013 conference…
Dec 9, 2013
 

Welcome back, Climate Charts & Graphs

I was happy to learn a few days ago that the Climate Charts & Graphs blog is being reactivated by its author. I used to subscribe to it back in the Google Reader days. In…
Dec 4, 2013

The Thoughtworks Anthology: Essays on Software Technology and Innovation

Review: The Thoughtworks Anthology: Essays on Software Technology and Innovation

The Thoughtworks Anthology: Essays on Software Technology and Innovation by ThoughtWorks Inc.
My rating: 3 of 5 stars
Nov 14, 2013

Linkers and Loaders

Review: Linkers and Loaders

book-reviews
Linkers and Loaders by John R. Levine
Nov 13, 2013

Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development

Review: Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development

Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development by Craig Larman
My rating: 5 of 5 stars
Nov 1, 2013

When climate change hits us, at least we’ll know where

climate-change-2
Switzerland is a small country in the middle of Europe, wedged between France, Germany, Austria and Italy (see below). In a previous post I have documented the above-average…
Jul 29, 2013

Climate change in Switzerland: skipping the waiting line

I live next to Geneva in Switzerland. If you come to Geneva, be sure to include in your visit the ramp leading up from the Parc des Bastions and running parallel to the edge…
Jun 24, 2013

Great moments in the history of CO2 mitigation

Sources:
Jun 17, 2013

Foreigners make better programmers

We have recently been recruiting a couple of new programmers at Neurobat. This time we submitted the candidates to an online programming test, which consists of a couple of…
May 6, 2013
 

Phileas Fogg on Agile Project Management

I just finished reading Jules Verne’s Around The World In 80 Days, which I had never read before. It’s a great read and I highly recommend it to children and adults alike.…
Apr 29, 2013
 

ScrumMaster no more

The first thing we did this week was to hold a sprint retrospective. And one of the first things we decided was that I should step down as ScrumMaster.
Apr 18, 2013
 

Standup meetings are not diaries

Very often I hear scrum standup meetings go something like this:
Apr 15, 2013

Selenium script to reset a ZyXEL NBG4115 4G Router

The ZyXEL NBG4115 is a small, cheap 3G router that can be used to build a wireless network where there is no access point available. You plug one of those 3G dongles into…
Apr 26, 2012
 

Floating-point woes, part 1

programming
You may have several decades of programming experience, certain classes of problems seem to repeatedly cause endless confusion. Floating-point computation is one such class.
Mar 12, 2012
 

Automatic data collection without FTP

I haven’t written anything in a while, so I thought I might begin by sharing some ideas on how we collect test site data at Neurobat without using FTP.
Feb 7, 2012

homeR: an R package for building physics

programming
tools
For the past few weeks we’ve been very busy here at Neurobat with the analysis of field tests results. In the process of doing that, we had to implement several functions in…
May 26, 2011
 

Saikoro game engine in Lisp

programming
Here at Neurobat we consecrate one day per sprint as a *Lab Day*, i.e. a day when, not unlike what Google does, we are free to work on whatever we want.
May 20, 2011
 

Pomodoro + Workrave = Well-being

I’ve been a big fan of the Pomodoro Technique for almost a year now. No, I don’t go as far as actually having a ticking timer in my office in front of my co-workers, and I…
Apr 18, 2011
 

Converting Sweave/R plots for inclusion in Word/OpenOffice

Just a quick note to myself:
Apr 14, 2011
 

Git and Scientific Reproducibility

research
tools
I firmly believe that scientists and engineers—particularly scientists, by the way—should learn about, and use, version control systems (VCS) for their work. Here is why.
Jan 24, 2011
 

Thou shalt save energy

energy
I’m not sure anyone else is saying this, so I will: I think **there is a clear and unambiguous scriptural mandate to reduce our current energy consumption**.
Jan 6, 2011
 

Neurobat, day one

announcements
Yesterday marked my first day as Chief Technology Officer at Neurobat AG, a young company formed in Switzerland to industrialize and market advanced building control…
Sep 14, 2010
 

Resources for building simulation

research
About two weeks ago I posed the following question on the Bldg-sim mailing list:
Aug 23, 2010

DB4ALL: reformatting the mess that Internet has become

announcements
I always try very hard to keep my posts within the main topic of this blog, namely computers in the context of building automation and simulation. Occasionally I fail, like…
Jul 12, 2010
 

Software engineering best practices in academia

announcements
As you might know, my primary background stems from the field of academia and research, but over the past years my interests have focused increasingly on software engineering.
Jul 8, 2010
 

Weird certificate verification error

programming
I spent most of the day today debugging a very mysterious error we encountered when trying to programmatically call a web service over SSL from Java.
Jul 1, 2010
 

MATLAB’s inane idea of time

programming
MATLAB seems to have a very peculiar notion on how to represent dates and times. Yesterday I spent a wonderful couple of hours debugging some code that’s supposed to compute…
Jun 24, 2010
 

Trying out new themes

general
I’m currently experimenting with new themes for this blog. I was not quite satisfied with the width that Typebased would leave me for giving code samples. So do expect some…
Jun 9, 2010
 

Installing ESP-r on Ubuntu 9.10

tools
ESP-r, is an integrated modelling tool for the simulation of the thermal, visual and acoustic performance of buildings and the assessment of the energy use and gaseous…
Jun 8, 2010
 

Alternatives to Java for home automation devices

programming
I think there’s no escaping this simple fact: the Java Virtual Machine (JVM) is definitely here to stay, and all the evidence shows that it has tremendous potential for…
Jun 7, 2010
 

Why I’m disabling MathML for now

tools
In a previous post I described how I tweaked my WordPress installation to support the display of MathML markup, for displaying mathematical equations.
Jun 2, 2010
 

Equivalent conductance due to air infiltrations

energy
Here is how you compute the thermal coupling between a room’s indoor temperature and the outdoor temperature due to infiltrations.
Feb 22, 2010

Event rate of arrival analysis with R

programming
Here is a very common problem: suppose you’re give a series of event timestamps. The events can be anything—website logins, persons entering a building, anything that recurs…
Feb 18, 2010

Book review: Agile Project Management with Scrum

book-reviews
I began reading Ken Schwaber’s ‘Agile Project Management with Scrum’ for two reasons: 1) it’s a book about Scrum, and 2) it’s from Ken Schwaber, one of the fathers of Scrum.…
Feb 5, 2010
 

How to include MathML in a Wordpress blog

tools
UPDATE
Dec 14, 2009
 

Project GreenFire mentioned on Java Posse

general
On a recent episode of The Java Posse they mentioned a project I had never heard about before: project GreenFire.
Aug 21, 2009
 

Looking up an EJB from a Web Service under JBoss 4.x

programming
EJB injection in Web Services does not work with JBoss (yet), so when you want to use an EJB from your @WebService annotated POJO you have no choice but to look it up…
Aug 14, 2009

CO2 atmospheric concentration for the past 50 years

7 numbers why building automation can save the world

energy
home-automation
Automating buildings costs money. Lots, lots of money. The return on investment (ROI) is usually very low, and it takes a long, long time (on the order of 5 to 10 years) for…
Jul 30, 2009
 

Enjoying a NO energy home

general
There’s a nice little article about green energy homes over at Greenprofs.com. The author makes a nice point that home owners have many options when it comes to choosing carb…
Jul 29, 2009
 

5 Java logging frameworks for building automation software

programming
Back in 2005, when I was writing Java software for an embedded home automation controller, we ran into a little unforeseen problem. The embedded virtual machine we were…
Jul 23, 2009
 

When I hear the word “Entity” I reach for my thesaurus

programming
According to Eric Evans, the author of Domain-Driven Design: Tackling Complexity in the Heart of Software, one of your first goals as domain analyst is to define what he…
Jul 14, 2009
 

Book review: “Hot, Flat and Crowded”

book-reviews
I’ve read Thomas Friedman’s “Hot, Flat and Crowded”, and firmly believe this book belongs on the shelf of anyone involved in making buildings more energy-effective.
Jul 9, 2009
 

Polyphasic sleep

Wikipedia defines polyphasic sleep as the practice of sleeping multiple times in a 24-hour period. Proponents of this practice argue that it results in a much reduced total…
Jul 4, 2009
 

Largest palindromic long long int that is also the product of two integers

programming
Just to practice my C skills I’ve begun doing the Project Euler exercises in that language.
Jun 2, 2009
 

Default welcome page with Tomcat and Spring MVC

programming
In my professional development, I felt that I had always neglected the field of web aplication development. To correct this I’ve started a little side project with Spring MVC…
May 29, 2009
 

Source code filtering with Maven

programming
Today I searched for a Maven plugin that would filter some of my source files before compiling them. An equivalent to the resources plugin with filtering turned on, but for…
Apr 30, 2009

Ubuntu fonts problem after reboot

My screen fonts under Ubuntu are occasionally completely screwed up. They show up in blue with overstrikes:
Apr 23, 2009

Strongest chess program money can (not) buy

Kinda offtopic, but I’m also an avid chessplayer, so…
Apr 21, 2009
 

Don’t unit test JavaBeans

programming
Should unit tests cover JavaBeans just to get a higher code coverage?
Apr 7, 2009

Trends in Smart Buildings Meeting, March 2009

research
trends
Several home automation enthusiasts met again at LESO-PB to discuss recent developments in the field. There were four of us this time, Adil, Friedrich, David and yours truly.
Apr 3, 2009

Software Engineering Radio

general
People often ask me what podcasts I regularly listen to. Well there are many of them and I won’t enumerate them all here, but I wanted to mention one that I listen to almost…
Mar 25, 2009
 

Spring for structure, property files for parameters

programming
Spring is a great framework for externalizing the object graph of your application. Typically you write an XML config file that defines a number of Java objects (or “beans”)…
Mar 13, 2009
 

Trends in Smart Buildings Meeting, January 2009

trends
I just realized how late I was with a summary of our last Trends meeting, which we held on Tuesday January 27th at LESO. So here follow my distant recollections of the event.
Feb 24, 2009
 

Wordpress shortcode for syntax highlighting

tools
There’s a nice feature in Wordpress for including source code in your blog posts, but the Codex is not crystal-clear on how to activate it.
Feb 20, 2009
 

A unit test that Could. Not. Fail. (but did)

programming
I am now convinced that even the most trivial pieces of code must be unit-tested.
Feb 17, 2009
 

Canonical data formats, middleware and GCC

programming
tools
These days I’m working on a middleware application that bridges a company’s ERP and its warehouses. The ERP posts messages in a given XML schema, our application reads these…
Jan 26, 2009
 

Article watch: Solar Energy vol 82 issue 11, 2008

articlewatch
research
From Solar Energy vol 82 issue 11, 2008:
Dec 15, 2008

Remotely editing files as root with Emacs

programming
tools
I often need to edit files on remote machines or on embedded devices, that is, machines without a monitor and on which a proper editor might not necessarily be installed.
Dec 9, 2008

Presentation checklist

book-reviews
This week I started reading Garr Reynolds’ Presentation Zen, the well-known book on presentation design and guidelines. (I’ve borrowed it from our library after waiting for…
Nov 29, 2008
 

MATLAB, Java, Spring and dynamic classloading

home-automation
programming
I have sort of a love-hate relationship with MATLAB, and always had since I read its tutorial in January 2003.
Nov 28, 2008
 

Trends in Smart Buildings Meeting, November 2008

research
trends
We met again on November 3 to discuss recent events in the field of building simulation and automation. This time we were joined by Adil Rasheed, a PhD student at LESO-PB…
Nov 25, 2008
 

Article watch: Journal of Building Physics vol 32 nr 2

articlewatch
research
The following articles from the last issue of Journal of Building Physics will probably be of interest to building simulationists and automationists.
Nov 18, 2008
 

Article watch: Energy and Buildings vol 40 nr 12

articlewatch
research
The following articles from the last issue of Energy and Buildings are probably of interest to building simulationists and automationists.
Nov 12, 2008
 

Schema validation with LXML on Ubuntu Hardy

programming
tools
LXML is an amazing Python module that picks up where the standard xml.dom(.minidom) left off.
Oct 21, 2008
 

Trends in Smart Buildings Meeting, October 2008

research
trends
After a two-month hiatus, we resumed our monthly meetings at LESO-PB to discuss recent developments in building automation and simulation. Frédéric Haldi, David Daum and…
Oct 15, 2008
 

The OpenRemote.org project

announcements
home-automation
Recently I stumbled upon a blog entry by Marc Fleury, whom I believe is one of the lead developers on the JBoss Application Server project. In this post he describes his new…
Oct 14, 2008
 

Article watch: Lighting Research and Technology vol 40 nr 3

articlewatch
research
Lighting Research and Technology vol 40 nr 3 has a couple of articles that sound interesting for anyone involved in visual comfort.
Oct 14, 2008
 

Article watch: Energy and Buildings vol 40 nr 11

articlewatch
research
One article in the last issue of Energy and Buildings is of particular relevance to the field of home automation, particularly where daylight control is involved:
Oct 2, 2008
 

Low energy, low cost linux box

home-automation
tools
There’s a great discussion on StackOverflow going on, when someone asked for suggestions for a low power, low cost and high availability linux box. Exactly the kind of…
Oct 1, 2008
 

Article watch: Building Simulation vol 1 nr 3

announcements
articlewatch
research
Two articles from new new issue of Building Simulation sound particularly interesting:
Sep 26, 2008
 

Java GNU Scientific Library 0.2 released

announcements
programming
tools
I have released version 0.2 of the Java GNU Scientific Library (JGSL) project, its second public alpha release. Please visit the JGSL project website for more information.
Sep 22, 2008
 

Article watch: Building and Environment, December 2008

announcements
articlewatch
research
The following papers from Building and Environment Volume 43, Issue 12, December 2008 are relevant to the field of building automation and simulation.
Sep 8, 2008
 

Journal of Building Performance Simulation - Volume 1 Issue 2 article watch

announcements
articlewatch
research
More papers directly relevant to the main topic of this blog:
Sep 8, 2008
 

Trends in Smart Buildings Meeting, August 2008

home-automation
research
trends
Four people again attended this second meeting, the purpose of which is to share information among people interested in home and building automation. As previously, here are…
Aug 15, 2008
 

Smart houses discussed in New York Times

home-automation
A fun online article in the New York Times discusses the current public perception of smart houses.
Jul 31, 2008
 

Interview: H. Michael Newman

bacnet
home-automation
interviews
I have just come across a short but interesting interview with H. Michael Newman, the “Father” of BACnet. The interview can be downloaded from here.
Jul 31, 2008
 

Computing sustainability and building automation

energy
home-automation
research
The energy demand of computers—including PCs, peripherals, and corporate data centers—produced about 830 million tons of CO2 in 2007, according to a report by the the Global…
Jul 23, 2008
 

Trends in Smart Buildings Meeting, July 2008

home-automation
research
trends
On 4 July 2008 we held at LESO-PB the first of (hopefully) a series of meetings for people interested in home/building automation. The idea is to give people of widely…
Jul 11, 2008
 

Donald Norman on user interface design issues with smart houses

home-automation
Let’s face it: us geeks do have a tendency to accept computer interfaces barely more user-friendly than, say, a shell. And that’s all right for me; it doesn’t really matter…
Jun 8, 2008

Monitoring a home automation PC

home-automation
tools
Lesson learned today: always monitor a machine you intend to let run without interruptions for a long time. And that includes home automation hardware.
Jun 6, 2008
 

Bayesian optimization of visual comfort: thesis defense videos

energy
home-automation
research
At long last I’ve pasted together the videos taken during by PhD defense. Here they are, raw and unedited.
Jun 3, 2008
 

ZigBee’s unkept promises

home-automation
The Guardian carries an interesting story about yet another alternative to ZigBee: Ultra-low Power Bluetooth.
Jun 3, 2008
 

X10 CM11A controller programming specs

home-automation
x10
The CM11A X10 controller (or its various incarnations, such as the CM12CH model for Switzerland), made by X10 Pro, is one of the most ubiquitous (and cheapest) X10…
May 25, 2008

Debian installation on a Soekris embedded PC

home-automation
programming
tools
Ubiquitous home automation will never become a reality unless cheap embedded PCs are available to be the “brains” of the home. Some time ago I came across a company called So…
May 16, 2008
 

Wattwatt, a community for individuals interested in electrical energy efficiency

energy
Wattwatt is a user-contributed website related to the efficiency of electrical energy in all its forms. It’s a place to read blog entries, share ideas, and more generally…
Mar 26, 2008
 

Monitoring home electricity usage

announcements
energy
home-automation
If you can measure it you can control it, and that is also true of your energy consumption.
Mar 14, 2008
 

Interview: Jessen Page

interviews
research
You are a model of predictability. You come to your office every day of the week at 8 am sharp, never one minute late. You take no breaks until noon, when you instantly…
Oct 11, 2007
 

Running Apache Felix on the UNC90 platform

osgi
programming
We have made Apache Felix run successfully on the UNC90 embedded platform and here I’d like to share our experience.
Oct 10, 2007
 

OptiControl project website

announcements
home-automation
research
Recently I got this email from Dr. Dimitrios Gyalistras of ETH Zurich:
Jul 27, 2007
 

Java GNU Scientific Library 0.1.0 released

announcements
programming
tools
I have released version 0.1.0 of the Java GNU Scientific Library (JGSL) project, its first public release. You can download it from here.
Jul 4, 2007
 

OSGi Community Event, Munich 26-27 June 2007

home-automation
osgi
programming
tools
I have already mentioned elsewhere that the OSGi technology is likely to play an important part in the computerization of current and future buildings. It is a very…
Jun 30, 2007
 

Energy Usage in Cities and Buildings

energy
Philip Greenspun has written a nice report on a MIT meeting whose theme was energy. You can find it here.
Jun 11, 2007
 

LaTeX to Word format conversion how-to

tools
Grant that I will never ever have to submit a paper in Word format again…
Jun 8, 2007
 

Java GNU Scientific Library project update

announcements
programming
tools
The GNU Scientific Library (GSL) is a rich state-of-the-art C library of mathematical routines. Pretty much everything you could think of—special functions, linear algebra…
Jun 1, 2007
 

International Building Physics Toolbox

tools
Too much choice can sometimes be just as bad as not enough. Market research has shown that there is an optimal number of jam flavours a supermarket should have on shelf for…
May 2, 2007
 

CO2 concentrations and global temperature correlation

energy
CS Lewis called this person the “embarassing enthusiast”. A person very committed and very verbal about your common religion, yet someone who occasionally discredits your…
Apr 30, 2007
 

KNX is world standard

announcements
eib
home-automation
knx
KNX, the home- and building automation standard that grew out of the fusion of Batibus, EIB and EHS, has now become international standard ISO/IEC 14543-3. The press…
Jan 2, 2007
 

Choice of new programming language

programming
tools
If you are regularly programming in your work you should invest some time to keep your programming skills sharp. And one of the best ways to do that is to master a new…
Dec 4, 2006
 

Bug finding tools for Java

programming
tools
I came across an article in the 15th International Symposium on Software Reliability Engineering (2004) titled “A Comparison of Bug Finding Tools for Java”. The authors…
Oct 30, 2006
 

“Ecobilans” software presentation

tools
IBPSA-CH, the newly created regional affiliate of IBPSA for Switzerland, hosted on 19 October 2006 in Geneva a software presentation of so-called “Ecobilans” programs.
Oct 29, 2006
 

IBPSA Swiss regional affiliate created

announcements
tools
The first General Assembly of IBPSA-CH took place on 1 September 2006 in Lucerne, Switzerland, at the University of Applied Sciences. International Building Performance…
Sep 25, 2006
 

Energy-efficient appliances in Switzerland

energy
Top Ten is a well-designed and user-friendly website that carries information on energy-efficient appliances and other equipment. It is mainly targeted at the swiss audience…
Mar 22, 2006
 

Review: Decompiling Java

book-reviews
I just finished reading through Decompiling Java by Godfrey Nolan. You might ask, why would I mention a book on reverse-engineering bytecode in a weblog dedicated to smart…
Mar 13, 2006
 

Vampires in the home

energy
Referring again to the power consumption of “stand-by” appliances discussed earlier, I recently stoborrowed a WSE Wattmeter, made by Messtechnik Schaffhausen GmbH, from our…
Mar 4, 2006
 

Raclette machine control with X10

home-automation
This Saturday I turned on our new raclette machine at our flat from my computer.
Feb 14, 2006
 

“Standby” appliances waste of energy

energy
The BBC carries a story on the energy waste represented by household appliances kept on standby mode instead of being switched off. The UK alone wastes enough energy to send…
Jan 25, 2006
 

Tools that anyone can use

tools
I heard once a senior researcher criticize a doctoral student for having chosen a particular software tool to do his data analysis.
Jan 16, 2006
 

Building Energy Software Tools Directory

tools
The U.S. Department of Energy maintains on their website a fairly comprehensive directory of building energy software tools. From their website: “The energy tools listed in…
Jan 9, 2006
 

Eye movement tracking of office workers

research
Our laboratory hosted this morning a seminar given by Sylvia Hubalek, of the Environmental Ergonomics department of the Center for Organisational and Occupational Sciences in…
Dec 16, 2005
 

Welcome to the Computing & Smart Buildings blog

announcements
Welcome to the Computing & Smart Buildings blog. In this column I will provide insights on a regular basis on how computers in all their forms are used to make the home or…
Dec 12, 2005
No matching items