on the left, red switch with a 1 on top, a 0 on the bottom, and turned to the 1 position + on the right a coaxial selector with the input on the bottom, an A and B position of top, and the central nob set to the A position

Mental model for Booleans vs Enumerates

In programming, Booleans and Enumerates are common data types to represent the concept of “choice”. When there are several things to choose from, the Enumerate is the only one to support it, so that’s clear. But what about when you have two things to choose from? There might be some confusion between both data types since either of them supports handling binary choices. The confusion arrises in particular when you want to add the choice of a new behaviour, on top of an existing one....

ceiling of Borujerdis House in Kashan, Iran with a bright light centre and shaded triangles all around it

Context is everything, even when you don’t see it

We have all heard the common sense1 saying that “context is everything” at some point of our life. It’s a reminder to consider the circumstances before making judgments or decisions. Especially in consultancy, “context is everything” is a famous adage. What is true in one company, almost never applies directly to another. We always need to do major adjustments to the new context and the different realities. But what if I told you that we can take this idea even further?...

Scala Enumerations Summary

Comparison between different ways of doing enumerates, with scala.Enumeration, case object and Java’s Enum.

panorama dos 447 carros carbonizados no estacionamento de terra batida do Andanças

Incêndio no Andanças: Os Números das Seguradoras

Análise do impacto do incêndio no Andanças, seguradoras envolvidas e nacionalidade das matrículas.

🔗 Cloud services for developers, hosted developer tools, software development tools and services | Leanstack

Cloud services for developers, hosted developer tools, software development tools and services | Leanstack The software development landscape is shifting rapidly, and Leanstack is helping developers make sense of it all. Hundreds of thousands of developers have already discovered new tools to improve their products and workflows through Leanstack.

🏞 (image)

(via 6 Proven Ways to Boost the Conversion Rates of Your Call-to-Action Buttons ) So let’s cut the excuses and start using techniques we know will work, like the six data-backed methods for improving conversions explained below. Entertain the lizard brain Focus visitors on simple calls to action Make buttons look like buttons Write button copy in the first person Boost your buttons with “click triggers” When visitors are ready, unleash the awesome

📺 Dan Ariely: Are we in control of our own decisions?

(via Dan Ariely: Are we in control of our own decisions? | Video on TED.com) Behavioral economist Dan Ariely, the author of Predictably Irrational, uses classic visual illusions and his own counterintuitive (and sometimes shocking) research findings to show how we’re not as rational as we think when we make decisions. See also images from this talk in 6 Proven Ways to Boost the Conversion Rates of Your Call-to-Action Buttons

🔗 TodoMVC – A common learning application for popular JavaScript MV* frameworks

TodoMVC – A common learning application for popular JavaScript MV* frameworks (…) a project which offers the same Todo application implemented using MV* concepts in most of the popular JavaScript MV* frameworks of today. Solutions look and feel the same, have a common simple feature-set and make it easy for you to compare the syntax and structure of different frameworks so you can select the one you feel the most comfortable with....