Weekly Shaarli

All links of one week in a single page.

Previous week

Week 30 (July 23, 2018)

Next week

Understanding CSS Layout And The Block Formatting Context
thumbnail

How a Block Formatting Context (BFC) behaves is easiest to understand with a simple float example. In the below example I have a box that contains an image that has been floated left and some text. If we have a good amount of text it wraps around the floated image and the border then runs around the whole lot.

There are two ways in which we ordinarily fix this layout problem. One would be to use a clearfix hack, which has the effect of inserting an element below the text and image and setting it to clear both. The other method is to use the overflow property, with a value other than the default of visible.
.outer {
overflow: auto;
}

Machine learning in Perl: Kyuubi goes to a (Model)Zoo during The Starry Night. | Sergey Kolychev [blogs.perl.org]

Hello all, this is a fourth blog post in the Machine learning in Perl series, focusing on the AI::MXNet, a Perl interface to Apache MXNet, a modern and powerful machine learning library.

Vasily Kandinsky Vertical Accents ( Accents verticaux )
thumbnail
Optimising mobile web navigation

Adding a hamburger menu was convenient, but removing it ultimately led to better business performance.

Whether that’s by making the hamburger toggle action more explicit, or removing it completely — the gains can be considerable.

We’ve taken the learnings from these tests forward and are avoiding hamburger menus where possible. One recent example is a relatively complex e-commerce site, for which we’ve designed a site structure tailored around mobile optimised navigation — allowing us to expose the menu items by default.