Squash
The IE bug I wrote about earlier was squashed with tonight’s release. The cause: keeping a copy of a new user’s preferences on disk, then replacing those with the default set of preferences created each time the preference set is saved. This only affected new users that signed up after December 16th and only the first time they logged in.
Space: a note about Web Application Development
Developers have a big tradeoff to make when building web (or any, really) applications: time or space. One can choose more available space (RAM memory) or more available time (CPU cycles). You save time by storing more data in memory and gain space by using the CPU to do things like fetch data from a database. If, however, the developer designs the application such that the data footprint is small and the technique for accessing data used reduces CPU time, the result is more bang (more concurrent users and faster page load time) for the buck.
Getting more of both typically means upgrading hardware. MyMetar does a couple of things to get more of both without having to upgrade hardware. Firstly, we store very little information in memory – almost none. This means we can scale to many users without taxing server memory (and wallets). Secondly, we use very efficient storage and caching techniques that minimize the CPU cycles used to fetch and store data. Developers can do some really dangerous stuff with relational databases that turn a very simple task into a slow and lumbering one. Thirdly, we don’t need to store much data about our users (more privacy for you and easier to manage for us). Fourthly, we try to keep the code succinct, which yields great benefits.
SIGMETs
There are a few new images in the radar library that you can now load up on your mosaics bar: surface prognostic charts (current through 48 hour forecasts) and SIGMETs/AIRMETs (turbulence, convective outlook, and “maximum turbulence potential”).
Norway Weather
I looked into adding Norwegian doppler radar imagery to the Library for our Norwegian users. The Meteorologisk Institutt, however, uses a cryptic scheme for generating their radar image URLs – not as developer friendly as the NOAA weather images. Anyone know any propeller heads at Met.no that might want to share their scheme for the benefit of MyMetar users?
They’ve got good looking radar in Norway too. Example:
