A bit of rumour. Today, I spotted a bunch of commits in GDAL repository made by Andrey that may suggest support for OziExplorer .MAP is being under development. For instance 17684 and 17685.
Monthly Archives: September 2009
libjpeg and libpng go C++
I’ve just come across an interesting project(s). It is jpegxx and pngxx: two (or three if imagexx adaptors counted) thin libraries wrapping libjpeg and libpng with interface of C++ streams, iterators and ranges.
It slowly is getting crowded around raster libraries in C++. Another alternative is GIL developed by Adobe and included in Boost C++ Libraries with collection of IO and more extensions.
Just what tigers like best. Isn’t it?
libopenlr.org anyone?
Slashgeo forwarded an interesting news about OpenLR initiative by TomTom. A part of it is an open industry standard. Another part of it is an open source code library which is coming soon.
In the meantime, as it seems the complete stack of PDFs has been published, would anyone be after libopenlr.org project, before TomTom will put its red hands on it? And the domain is still available, by the way :-)
Farina cake by Pantera
This is recipe for delicious cake based on Petit Beurre biscuits and farina. The recipe was originally invented by my love Pantera. So, let’s make it CC BY-SA :-)
First, you need about 80 Petit Beurre / Leibniz-Keks biscuits. Easy. Second, find Polish shop and get some pack of farina. Might be tricky. Next, make some mess ;-) There are two masses to be prepared and both are mostly based on the same ingredients.
First mass:
- 1/2 glass of white or brown sugar
- vanilla sugar (small pack)
- 1 glass of milk
- 1/2 cube of butter
- 3 table spoons of Cacao
- 1/2 glass of Farina
Second mass:
- 1/2 glass of white or brown sugar
- vanilla sugar (small pack)
- 1 glass of milk
- 1/2 cube of butter
- 1/2 glass of Farina
- You can also add almonds, nuts, raisins, etc.
For the finishing touch, you will need chocolate custard, banana, almonds, nuts, and whatever your own taste would suggest you.
Make the first mass: mix and boil milk with butter and sugar. When milk is boiled, slow down the heat and add farina gradually and continue to mix. Cook all together for 3-4 minutes continuously mixing so farina doesn’t sear (burn). At the end of cooking after 3-4 minutes add Cacao. Make the second mass the same way as the first one with two exceptions:
- If you want to add almonds, nuts, etc. add them after the milk (with sugar and butter) is boiled.
- Don’t add the Cacao at the end.
The procedure is as follows:
- Make a layer of the Petit Beurre biscuits on the bottom of the cake tin.
- Pour hot first mass (the Cacao mass) to the tin.
- Cover the mass with another layer of the biscuits.
- Pour hot second mass to the tin on top of the second layer of biscuits.
- Cover the second mass with another layer of biscuits.
- Finish covering the top layer of buscuits with chocolate custard and dredge with nuts, almonds, coconut chips, slices of banana, …whatever you like :-)
- You can combine as many layers of the mass and biscuits as you like.
Be aware that the hot mass congeals quite fast, so it is important to hurry with making the cake layers.
Schmeckt Gut!
Productive Saturday Climbing
Today, Pantera and I we hit the Castle Climbing Centre early in the morning. It’s nice to have wide range of routes available when the centre is nearly empty as people are recovering after Friday buzz ;-). I am (exceptionally?) weak today. Probably, it’s because the last 2 weeks I conducted endurance oriented sessions only. First, I jumped upstairs to climb a few V1-V3 boulders on the overhang featured bouldering wall. I tried the new orange V5 boulder. It’s beautiful, but I couldn’t prevent my body swinging a bit after quite dynamic move to 4th hold. I’ve put the V5 on my short list, definitely. Next, we hit number of top-rope routes. Pantera was working on technical 5 and 5+ and I was trying to mix strength and stamina problems:
- The Slabs: 6b (blue), 2 x 6c (pink/green)
- Tall Walls: 5 (green), 6b+ (green/orange spots)
- The Fang: 2 x 6b (orange/lilak spots), 2 x 6c (pink s.o.s., including loss of a few layers of my finger tips skin ;-))
- The Stack: 6c (red), 7a (yellow, made 1/3 of the route, 3 moves only)
No rock rings, no campus. Finished bouldering a couple of V0-V3 on the Panels.
While my muscles were busy pushing enormous amount of ATP molecules through their fibres and cells, my brain was busy solving design issues of how to make C++ interface of GDAL library better. It is clear that neither dataset nor raster band can have semantic of plain value objects. Both, dataset and raster band, represent real world physical resources and they are more like reference objects. In spite of that reference semantic is dominant in the world of GDAL objects, I’d really like to make them CopyConstructible and Assignable. I know it can be achieved straight away:
std::tr1::shared_ptr<GDALDataset> ds(::GDALOpen("file.tif", GA_ReadOnly), ::GDALClose);
But, I just don’t want to make yet another Gigantic Rats Nest Of Pointers. I would be happy to keep all the ugliness out of user’s sight. I think it’s feasible. Perhaps I will even Pimpl my Ride GDAL.
I’ll probably need one or more climbing sessions to finish the design of better GDAL, so I can start slinging some code around. Next climbing on Monday in Swiss Cottage with Jo, Chiara and Pantera.
Endurance Hunny, Move!
Yesterday night, I went to the temple of power where Pantera, my personal trainer recently, arranged 3 hours climbing session focused on endurance :-) So, I had to climb 18 routes with grades (Sport, French), mostly, above 6. Here is the list: 6a, 6b+, 6c, 5+, 5+, 7a (first time attempt, 50%, bloody features), 6c, 6c, 6a, 6c, 6b, 6b, 6a, 6b+, 6a, 6a, 5, 5.