The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for October 30th, 2014

Dark Patterns – User Interfaces Designed to Trick People

Posted by jpluimers on 2014/10/30

Interesting:

A Dark Pattern is a type of user interface that appears to have been carefully crafted to trick users into doing things, such as buying insurance with their purchase or signing up for recurring bills.

We developers have a big responsibility. Martin Fowler and Erik Dörnenburg (both ThoughtWorks) did a great presentation about that at the GOTO Aarhus 2014 Conference.

A quote:

“The developer who wrote that code is every bit as responsible as the person who told them to do it. You have a choice. You have a responsibility to ensure that your users are well treated and to reject dark patterns,” says Fowler. “We have a whole profession of people writing software and doing enormous things to change the way we live in the world.”

Please watch the video: Our Responsibility to Defeat Mass Surveillance – Erik Dörnenburg and Martin Fowler – YouTube.

–jeroen

via

Posted in .NET, Delphi, Development, Software Development, Usability, User Experience (ux) | 3 Comments »

PowerShell: be careful when passing other bool values than $True and $False around

Posted by jpluimers on 2014/10/30

PowerShell does some powerful conversions.

Always be aware of that, especially when using booleans. For instance: strings are always TRUE, and $ inside strings are not always evaluated, and often people you define their own string to boolean conversions.

It is better to use the automatic variables $True and $False when you really want to make something is TRUE or FALSE.

Read Boolean Values and Operators – Windows PowerShell Blog – Site Home – MSDN Blogs why.

Oh and don’t forget to turn Strict-Mode on to warn for uninitialized variables and other stuff (as of PowerShell version 2; use Set-PsDebug -strict if you are still in PowerShell version 1)

–jeroen

Posted in Development, PowerShell, Scripting, Software Development | Leave a Comment »