• Search:

Planet eZ publish

mugo web

› Managing Salesforce and HubSpot storage and API limits

Using HubSpot together with Salesforce, you can tie you inbound marketing campaigns to your customer and lead records for a nearly complete view of every user interaction with your business. (Add some analytics and you're all set!) However, with so much data syncing going back and forth, you must take care not to go over your storage and API call limits in Salesforce. Surprisingly, data overage charges are not cheap, and if you use up your API call limits, not only will your data stop syncing between HubSpot and Salesforce, but other systems -- such as your website -- will not be able to access and update important data.

24/08/2015 8:29 pm (UTC)   Mugo Web   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› PhpStorm licenses available for community members

As previous years, we have been granted a limited set of licenses for PhpStorm, from JetBrains.

21/08/2015 7:35 pm (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway


I am happy to announce that we sold out this year’s Summer Camp last week! We have 2 Camps in 3 days and 3 tracks waiting for you. Here you can find all the information we have regarding the Summer Camp so far. For those of you who don’t have the opportunity to participate in the Summer Camp this year, stay tuned - we will publish online a significant number of workshops during autumn. You will be able to replay the workshops with videos and related git repo.

18/08/2015 1:43 pm (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us


› PHP & eZ Publish Summer Camp 2015 sold out (and a few other information)

I am happy to announce that we sold out this year’s Summer Camp last week! We have 2 Camps in 3 days and 3 tracks waiting for you. Here you can find all the information we have regarding the Summer Camp so far. For those of you who don’t have the opportunity to participate in the Summer Camp this year, stay tuned - we will publish online a significant number of workshops during autumn. You will be able to replay the workshops with videos and related git repo.

18/08/2015 10:27 am (UTC)   http://www.netgenlabs.com/Blog   View entry   Digg!  digg it!   del.icio.us  del.icio.us

derick rethans

› Islay: All the Peat

Islay: All the Peat

Two years ago Morag and I went on a whisky tasting tour with Rabbie's to visit a few of Speyside's distilleries. Now, this August we left the smooth and sweeter whiskies a side, and instead we headed over to Islay. Again with Rabbie's.

Day 0: Edinburgh

Our train up to Edinburgh was nothing special, except that Eastcoast has now been replaced with Virgin Trains East Coast. No real changes, except for the name. This time however, we got into Edinburgh just as the Fringe was starting. And that made staying in Edinburgh quite a bit more expensive. We thought to be clever and book a hotel near Rabbie's pick-up point, but I had failed to realize that they actually moved it—right next to the hotel we stayed in last time.

The afternoon before the tour started, we had some free time in Edinburgh. We promptly headed to BrewDog's pub to have a beer and play some connect-four, before we headed to The Edinburgh Larder for a nice meal. On the way back, we caught the last Sun rays hitting Edinburgh Castle.

Day 1: From Edinburgh to Islay

The next morning we got up quite early, had some breakfast at the hotel and headed towards our pick up point at Rabbie's Cafe. With a tour like this, it is always a bit of a guess on what sort of group you get. This time, we were touring with two Swiss, two Slovenians, three Indians, three Canadians and a very loud Australian. On the way to Islay we also picked up two Japanese in Glasgow. On the last tour, we had a few people that didn't like whisky, but this time one of the Canadians was actually allergic to whisky (and beer).

It is quite a trip to Islay, but luckily we stopped at many places on the way there. The first stop was at Luss, in the Loch Lomond and The Trossachs National Park. From there on, we travelled to Islay with a stop at The Rest and Be Thankful on the A83. The slightly funny name comes from the time where you had armies going down the Glen and having to climb up to the pass. They could only rest when they got to the top - and clearly they were thankful for that!

For lunch we stopped at the Royal Burgh Cafe in Inveraray. I had to try one of my favourite Scottish dishes, Cullen Skink, a thick soup made of smoked haddock, potatoes and onions. Inveraray itself is a small town on the coast of Loch Fyne. It has a pretty nice castle for which we didn't have time, and apparently an old jail that you can visit.

After lunch we drove for a fair bit and stopped for a quick wee pint in Kilmartin at the Kilmartin Hotel across from the parish church, before having a good look at a set of standing stones. After another short drive, we took some time to walk up Dunadd, a hillfort and suspected capital of the ancient kingdom of Dál Riata.

We made one last stop to stretch our legs at Tarbert on our way to the Kennacraig Ferry Terminal from where we took our ferry to Islay. After about half an hour's drive we finally arrived at our accommodation in one of Bowmore distillery's cottages. On the dining table was a bottle of Bowmore 12 waiting for us! We ignored the bottle and headed straight to the Lochside hotel to taste different whiskies instead. We sampled:

  • Tullibardine 228: Hints of dark red wine. But too young and sharp. 66

  • Tullibardine 500: Sweet smell. Toffee/fudge, and sweet woody sherry notes. 72

  • Amrut: Young and unrefined. Marzipan, vanilla, nutty. 70

  • Kavalan: Light fresh grassy sweetness. Perhaps some tropical notes and some vanilla. 73

  • Royal Lochnagar Muscat Finish: A little watery. Very light fresh berries with nuts. And of course a muscat finish. 78

  • Bunnahabhain 25: Very complex peaty whisky. Rich berries, but I think I like the Bunnahabhain 18 better. Not worth £220 a bottle! 82

Day 2: Touring distilleries on Islay, part 1

We had some spare time in the morning, as we were only going to be picked up at 09:30. That meant we had some time to run in the morning. There are not many paths around Bowmore, but I had scouted a nice route up to a local hill, and back. I ran quite a bit slower, as clearly it was hillier than my normal runs besides the canal.

After the morning run, shower and breakfast we were picked up for our first distillery visit. But before we started the tour and tasting at Kilchoman we spend some time relaxing on the beach at Machir Bay. After getting our "fresh nose", we headed to the distillery.

Kilchoman is Islay's newest distillery at just 10 years old. It's so new that it misses on many of the maps we spotted all over Islay indicating where the 8 distilleries are. It is a "farm distillery" and by far the smallest. They malt some of their own barley, which goes into their Kilchoman 100% Islay expression. After our tour two years ago we did know nearly everything about whisky production, but it was good to get things freshened up as well as having a look at a malting floor. But of course we really came for a tasting, and lunch. We sampled the following whiskies:

  • Kilchoman 100% Islay: Fruity, made with ingredients from Islay only. 25 ppm 1. 73

  • Kilchoman Machir Bay: A little salty and matured in a bourbon and sherry cask. 71

  • Kilchoman Loch Gorm: Winter sweet with sherry. 79

We also had lunch at the Kilchoman distillery. I think everybody from our group had Cullen Skink :-)

After lunch we popped by Bruichladdich for a quick tasting. They are also fairly new, but quite less traditional than most of the other distilleries. They call themselves "progressive". Of course, Bruichladdich is responsible for getting me into whisky in the first place, as they sponsored an evening event at WhiskyWeb many years ago.

At Bruichladdich, we tried the following whiskies (sorry, no notes as the stop was so short!):

As I already tried an Octomore 06.3 and the Classic Laddie 10, I also managed to get a wee dram of a Valinch, of which I did buy a bottle. We also had a sip of the Botanist gin.

On our way back to Bowmore, we stopped at Islay House Square to visit the Islay Ales brewery. We picked up some local beers to take home with us.

The tour at Bowmore started with a film after which we went through yet another distillery. The tour started with eyeing a £100.000 bottle of whisky, and ended with the most interesting part: the whisky tasting. This time, we tried four expressions:

After the last tasting we dropped by the local Spar, which has a wall full of whisky. I guess that's why "Spar" was tagged onto the big sign saying "The Islay Whisky Shop". We bought a Classic Laddie 10 to share with the group. Some of it made it home.

For dinner we had booked at the Bowmore Hotel. The food was good, and there was plenty of it. Actually, there was so much that we went straight to bed afterwards, without another dram!

Day 3: Touring distilleries on Islay, part 2

We had to get up a little bit earlier today for our pick-up, and slightly longer drive for our visit to the Whisky Coast. But first, a stop at the Kildalton Cross and church, for some history. The Kildalton Cross is a Celtic cross over 1200 years old. The weather was rather gloomy though, and there was a bit of rain. We were quite happy to get back on the bus and head back towards the Whisky Coast. On the way there we saw two peacocks on a fence.

The first distillery of the day was Ardbeg. The distillery is 200 years old this year, and they had "upgraded" their visitors centre for this event. Everything looked brand spanking new. During the tour it was not allowed to take photos because of "health and safety". The tour at the distillery was certainly the best one. Instead of the (now boring) process, our guide told lots of stories - even throughout the whisky tasting. Come clearly made up. During the tasting itself, we tried five whiskies:

  • Ardbeg 10: Very light, but slightly peppery and a little "burnt". A little peat, and a little sweet. 10-15 years in a Bourbon cask, 46%. 77

  • Ardbeg Uigeadail: Toffee, plum and raisins. It is aged 8 years in a Bourbon cask, and 2-7 years in a sherry cask. Apparently it goes will with dark chocolate or cheese. 54.2% 83

  • Ardbeg Corryvreckan: A lot of vanilla because it is finished in a new French oak cask. "Ice cream soda". 8 years in a Bourbon cask and 2-7 in a new French Oak Cask. 57.1%

  • Ardbeg Perpetuum: This year's festival whisky. It is a combination of many different casks to commemorate their 200th anniversary. Complex, light fruity. Would go well with cheese cake. 47.4%. 79

  • Ardbeg Auriverdes: Aged in Bourbon casks with heavily charred ends. It is dark and sugary and made with the football world cup in mind. It is a bit oily, and there is light hints of vanilla. 49.9% 82

After lunch at Ardbeg we headed down the coast towards the next distillery, Lagavulin, for a tasting only. We tried:

  • Lagavulin 16: Their standard bottling.

  • Lagavulin Distiller's edition double matured: Finished with a Pedro Ximinez sherry cask. 79

  • Lagavulin 12: Lighter and the peat does not linger long. 54.4% 83

Just a few kilometres down the coast we can find Laphroaig. We did another tour there, and it was clearly the largest operation that we have been too. Lots of more automation than Kilchoman for sure! You can just rock up for a tasting, but I failed to write down notes this time. If I remember correctly, we tried the following whiskies:

  • Laphroaig Select: "Entry" level whisky. It is meant to get people into Laphroaig and peatier whiskies, but frankly, it had the flavour and texture of water. There was very little to it. 63

  • Laphroaig Quarter Cask

  • Laphroaig 18: Clearly the best, but I don't remember much of the actual flavours!

After all the tastings, we made a little side trip to walk up the old castle of Dunnyvaig, with lovely views over the bay and Lagavulin. Back in Bowmore, we tried another run along the beach. But this was not such a great success as the pebbles were a bit too large to run on.

We had booked at the Harbour Inn for our "date-night". A posh dinner looking out over Loch Indaal with the Sun setting. Before bed, we nipped into the Lochside Hotel for a last dram on Islay.

Day 4: Back to Edinburgh

On our last day, we had to get up the earliest so that we could make the ferry out of Port Ellen back to the mainland. We were plenty of time for the ferry, so we stopped for a photo op at the old Port Ellen distillery and the Port Ellen maltings, where Diageo produces malted barley for most of Islay's distilleries.

The ferry itself was uneventful, but extra tasty due to the availability of Bunnahabhain 12 on offer. The drive was quite long, with not much spare time. We stopped at Oban for an excellent lunch at Ee Usk and a quick trip to the Oban Distillery to taste a dram. We borrowed a tasting glass for the good reason to be able to taste a few extra drams on the bus back.

We made another stop at the The Green Wellie Stop, after which we had to make a long detour because of some accident. We dropped off the Japanese at Balloch station, saw the battlefield at Bannockburn, The Kelpies, and the Forth Bridge.

We arrived in Edinburgh just on time for our dinner at the Skerries restaurant at our hotel, The Dunstane. We finished the day with a last dram at their extensive whisky bar before retreating for the night, exhausted from another great trip to Scotland.

You can find high-resolution and more photos on my Flickr set.

  • 1

    : ppm stands for Phenol parts per million, a measurement to indicate how peaty a whisky is

18/08/2015 10:02 am (UTC)   Derick Rethans   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› Ham Rong Mountain among world’s top 8 stunning sunsets

Núi Hàm Rồng  cao điểm tăng như đầu rồng. Tên của Hàm Rồng đã được bắt nguồn từ truyền thuyết cho rằng, trong thời đại nguyên thủy đã có một vài con rồng mà trở nên gắn liền với nhau trong khi hàng tấn đã tăng cao. Đi bộ lên, họ hộc tốc tách rời nhau nhưng không thành công. Họ đã trôi dạt đến những nơi khác nhau.

13/08/2015 10:12 am (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

derick rethans

› Terracing Buildings

Terracing Buildings

Following up from the previous article on addressing flats, in this article we deal with drawing buildings. The new area has lots of similarly looking buildings, and they're not exactly square. They do however all (broadly) share the same shape:

JOSM has a terracer plugin, which allows you to draw a rectangle, and then quickly convert it to a row of terraced houses and at the same time add house numbers to the generated houses.

You do the following steps with the plugin:



Find a spot that needs buildings added

Draw the outline

Add the building=residential tag

Select road and outline, and press Shift-T to run the terracer plugin.

Select every other middle node at the back

Use JOSM's Way Accuracy Tool w to add in the other nodes for the back

Repeat for the other 5 buildings

Select all buildings and use the Orthogonalise Shape tool Q to "square" the buildings.

Having to do step 6 and 7 for every building, especially when there are a lot of them, is a very tedious, and inaccurate process. It is sometimes even faster to draw all the building outlines by hand, select them all, and orthogonalise them.

But the terracer does already save a lot of work, so what if I could make it better and make it support the type of buildings that are common in my new neighbourhood?

I had a look into the plugin, and it seems that I have to use Java to update it. I don't really use Java, and hardly ever written any code in it. It also sadly lives on some SVN repository, so pull requests against it are difficult too. Instead, I pushed my version of the repository to https://github.com/derickr/josm-plugin-uberterrace — and called my version Überterrace. Oh, and I learned some Java.

After a while of figuring out some ... syntax issues, and figuring out how to build this stuff, I managed to improve the plugin with another option. The new option is "fancy outline" and automatically draws in the "extensions at the back". The new work flow is now:



Find a spot that needs buildings added

Draw the outline, including the backends

Add the building=residential tag

Select road and outline, and press Shift-T to run the terracer plugin with the "fancy outline" checkbox set.

Drag the selected middle nodes to the right position.

Press Shift-E to select all buildings, and press q to orthogonalise them.

As you can see, this makes it much faster to draw such building outlines. When you look at it in 3D however, you can see there is still a problem though:

The 3D image that is being drawn does not take into account that the "extension" at the back, isn't part of the gabled roof nor that it is only two instead of three levels. There are various possibilities of building layouts:

So the next versions of Überterrace are going to support (some of) these as well!

05/08/2015 10:25 am (UTC)   Derick Rethans   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› eZ Platform and Sylius integration open sourced (+a chance to showcase it on SymfonyLive London)

A month ago we announced opensourcing our Sylius integration with eZ. Today the project is shortlisted for a community stand at the SymfonyLive London. If you would like to support us please place your vote at twtsurvey.com/bbkwh3l82sb55rt.

29/07/2015 1:17 pm (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

derick rethans

› Adressing Flats

Adressing Flats

I recently moved into a new area in London, and that means, a new area to map. That means drawing in all the buildings, but also adding shops and addresses. Unlike my old area, the new neighbourhood has lots of buildings with flats. In OpenStreetMap, you can tag addresses on flats with the addr:flats tag. In most cases, the addresses of the flats are formed by a flat number, building name (addr:housename) and street name (addr:street). Only occasionally the address consists of flat number, house number, and street name.

When I started tagging a nearby collection of flat blocks, and the flat number/house name/street name on their entrance nodes, I noticed that it rendered as:

As you can see, it ignored the addr:flats tag, and instead just rendered the addr:housename tag over and over again. Not particularly useful.

So I thought, why not "fix" the rendering. In the past, I already added a basic rendering for natural=tree_row to the "default" rendering style. So I had another look on how to make addr:flats render and show up instead of the house name 20 times.

OpenStreetMap's style sheet is developed through the Git repository at git@github.com:gravitystorm/openstreetmap-carto.git. I cloned the repository and searched after the places where I needed to make modifications to add the flat numbers. The style sheets first require a "style" file to tell which data to import from the main database (or .xml file). Only fields that are copied into the rendering database are available for use in the style sheets. OpenStreetMap Carto stores these definitions in the project.mml file. But that's a nasty JSON file, so instead, you add the definition into the project.yaml file. There is a script to convert the YAML file into the project.mml file which the carto tool can use to generate a Mapnik stylesheet. Mapnik is then responsible for rendering the map.

In project.yaml, just above the - id: "housenumbers" line, I added the following section:

- id: "flatnumbers"
  name: "flatnumbers"
  class: ""
  geometry: "point"
  <<: *extents
    <<: *osm2pgsql
    table: |-
          way_area/NULLIF(!pixel_width!::real*!pixel_height!::real,0) AS way_pixels
        FROM planet_osm_polygon
        WHERE "addr:flats" IS NOT NULL
          AND building IS NOT NULL
          NULL AS way_pixels
        FROM planet_osm_point
        WHERE "addr:flats" IS NOT NULL
        ORDER BY way_pixels DESC NULLS LAST
      ) AS flatnumbers
    minzoom: 17
  advanced: {}

It basically instructs the stylesheet to run an extra query to obtain information on addr:flats and make that information available to the actual styles.

It requires an extra column in the database (addr:flats), the import "style" needs to include this data while importing from the data source into the rendering database. The file containing the import definitions is openstreetmap-carto.style. I added the following line in between the definitions for access and addr:housenumber:

node,way   addr:flats   text         linear

Adding an extra column into the "style" means that it is necessary to reimport the data from the main database (or XML file) into the rendering database. My original source is the openstreetmap.osm file, which I re-imported with:

/home/derick/install/osm2pgsql/osm2pgsql \
        -S openstreetmap-carto.style --slim -d gis -C 2400 openstreetmap.osm

To render the flat numbers, and attach a style to them, I had to add a section to the addressing.mss file which is a sub-stylesheet that deals with address information. This stylesheet is linked from the project file. I added the following lines in between the #interpolation and #housenumbers sections:

#flatnumbers {
  [zoom >= 17] {
        text-name: "[addr:flats]";
        text-placement: interior;
        text-min-distance: 1;
        text-wrap-width: 0;
        text-face-name: @book-fonts;
        text-fill: #666;
        text-size: 8;

I picked the same style as for standard house numbers, but one size smaller.

With all the sections added to the right files I had to regenerate the project.mml file from project.yaml with:

./scripts/yaml2mml.py < project.yaml > project.mml

And generate a Mapnik stylesheet from the project.mml file with:

carto project.mml > mapnik.osm

With all that in place, I re-rendered the area. The flat numbers are now visible on the map:

I have packaged up all the changes, and prepared a pull request for openstreetmap-carto. With some luck, the changes will make it to the OpenStreetMap website at some point in the future.

21/07/2015 10:11 am (UTC)   Derick Rethans   View entry   Digg!  digg it!   del.icio.us  del.icio.us


› TagsBundle and eZ Tags with multilanguage tags released

Today is a special day for Netgen. After couple of years of development and constant testing, we finally tagged and released multilanguage variant of eZ Tags (which includes TagsBundle as well as legacy extension).

17/07/2015 2:19 pm (UTC)   http://www.netgenlabs.com/Blog   View entry   Digg!  digg it!   del.icio.us  del.icio.us