Miscellany

As I was discussing the other day, Microsoft has officially announced it’s two-step verification process.

Also in the security vein, ZDNet has a very nice article on password complexity and password reuse.

And, in completely miscellaneous news, I spent the last two days discovering that Microsoft’s .NET SerialPort implementation has a nasty memory leak when using the SerialPort.DataReceived event.  Problem now solved!

Robert

 

You’re married to your technology choices

Microsoft, I think it’s time we broke up.

C#

In the “The Visual Studio Documentary” C# designer Anders Hejlsberg talks about simplicity and productivity; he talks about how he C# designed C# specifically to simply C++ and eliminate entire classes of bugs that C++ developers spend inordinate amounts of time solving.  He talks specifically about how “C# is a great language because it makes you very productive”, and how developer productivity is paramount to the .NET ecosystem.  It’s a pragmatic developer’s dream. Continue reading You’re married to your technology choices

Domain Driven Design over Test Driven Development

I believe that software development is design, either informed design or accidental design.

As a programmer is writing code, they are constantly and continuously making design decisions.  For example, consider the questions a developer asks herself when writing a simple method: Continue reading Domain Driven Design over Test Driven Development

Application design considerations

For some time now I’ve been meaning to write down rough list of things I consider in my role as enterprise architect for a project on either a new or existing system.  Often in the early stages of a project I will be the project architect, and then in the later stages of the project I will transition to become the lead developer. Thus, I have included a high-level application design consideration list and a more detailed lower level application design consideration list.  In my experience, being aware of the lower-level design considerations has always helped inform the high-level solution design considerations. Continue reading Application design considerations

Chrome never loads any pages

While I’m building my websites I am using IE, Firefox and I wanted to use Chrome (v25.0.1364.152m). Unfortunately, it just hangs forever, and never loads any page. I’ve turned off firewalls, etc. but to no avail.

Finally, I found this link pointing to this helpful page.

Basically, Chrome doesn’t agree with my NVidia graphics card when also running DisplayLink (I have three monitors).

To tell Chrome not use the GPU for rendering pages, open Chrome and type in this URL: chrome://flags

Now scroll down to the “GPU compositing on all pages” and change the drop-down to Disabled.

Things seem to work pretty well now, and I can actually use Chrome to browse to pages.

Unfortunately, Flash doesn’t work, as demonstrated by this YouTube screenshot:

But at least I can test my website with Chrome.

A better Chrome/DisplayLink solution

A better solution is documented on the DisplayLink website: update the Chrome start-up icon to use the -reduce-gpu-sandbox (it’s spelled incorrectly on the DisplayLink support page, but correctly in their image):

Add this:

Chrome now works and Flash still works:

Other problems with DisplayLink

This is not the first time DisplayLink has caused me problems. Rotating my 3rd monitor to portrait mode regularly crashed the DisplayLink driver, and under Windows 8 DisplayLink caused the entire computer to crash or blue-screen regularly.

When I posted to their forums the response was dramatically unhelpful. If you can use a different USB display adapter I would recommend it.

Robert