visionsofsoftware.com
interface | Visions of Software
https://visionsofsoftware.com/category/interface
Exploring software's vast horizons. The adapter pattern and presenter-first UIs. August 23, 2010. The adapter pattern provides a technique to bind together the presenter logic and the UI screens of a presenter-first model (and other loosely coupled models) of user interface implementation. An example follows. An application to double an integer requires a presenter function to perform the doubling on request:. The following two adapters can be used to convert the UI to match the required interface withou...
visionsofsoftware.com
Asynchronous methods in C# using generics | Visions of Software
https://visionsofsoftware.com/2010/09/24/asynchronous-methods-in-c-using-generics
Exploring software's vast horizons. WCF servers and clients without configuration files. Backup script for Robocopy and external hard disk drives →. Asynchronous methods in C# using generics. September 24, 2010. Asynchronous methods provide a means to execute long running operations in parallel. One strategy for implementing these is to define generic methods to handle the asynchronous actions and pass the methods to be called asynchronously as parameters. A simple example follows. Filed under .net.
visionsofsoftware.com
The adapter pattern and presenter-first UIs | Visions of Software
https://visionsofsoftware.com/2010/08/23/the-adapter-pattern-and-presenter-first-uis
Exploring software's vast horizons. Adapting agile techniques to open source and personal projects. WCF servers and clients without configuration files →. The adapter pattern and presenter-first UIs. August 23, 2010. The adapter pattern provides a technique to bind together the presenter logic and the UI screens of a presenter-first model (and other loosely coupled models) of user interface implementation. An example follows. Public partial class Window1 : Window { . public String ThreadSafeGetInputV...
visionsofsoftware.com
thread | Visions of Software
https://visionsofsoftware.com/category/thread
Exploring software's vast horizons. Asynchronous methods in C# using generics. September 24, 2010. Asynchronous methods provide a means to execute long running operations in parallel. One strategy for implementing these is to define generic methods to handle the asynchronous actions and pass the methods to be called asynchronously as parameters. A simple example follows. The generic support methods. Filed under .net. Use explicit marshalling to update a WPF UI from a non-UI thread. June 25, 2010. Lets as...
visionsofsoftware.com
WCF | Visions of Software
https://visionsofsoftware.com/category/wcf
Exploring software's vast horizons. WCF servers and clients without configuration files. September 17, 2010. WCF servers and clients can be set up using a declarative mechanism in web.config and app.config files. It is also possible to set up WCF servers and clients without using config files. A simple example follows. For these examples the WCF server and client will be hosted in simple WPF applications. Next a concrete implementation of the service contract needs to be defined:. To create the client cl...
dirv.me
Developers' Debating Society
http://www.dirv.me/blog/2014/09/30/developers-debating-society/index.html
Daniel Irvine on building software. We stage a weekly debate here at 8th Light. In London. Since we’re all developers, we stick to technical topics. A couple of us took part in debate clubs at school and we thought it would be beneficial to our work- and I’d say it definitely has been. Caption id= attachment 1043 align= aligncenter width= 512 ]. Click for bigger version[/caption]. Here are some topics we’ve discussed in the past:. This house believes that static typing sucks. And our next debate will be:.
visionsofsoftware.com
generic | Visions of Software
https://visionsofsoftware.com/category/generic
Exploring software's vast horizons. Asynchronous methods in C# using generics. September 24, 2010. Asynchronous methods provide a means to execute long running operations in parallel. One strategy for implementing these is to define generic methods to handle the asynchronous actions and pass the methods to be called asynchronously as parameters. A simple example follows. The generic support methods. Filed under .net. Covariance and contravariance in C# 4.0. June 11, 2010. An easy way to understand the di...
dirv.me
Pairing strategy: Don't stop until it's good
http://www.dirv.me/blog/2014/08/20/pairing-strategy-dont-stop-until-its-good/index.html
Daniel Irvine on building software. Pairing strategy: Don't stop until it's good. Say you’ve had a bad day pairing with someone. Perhaps you both argued about the right way to solve it, and you didn’t make it any progress. Or perhaps you implemented a solution only to find it didn’t work, and you ended up back at square one. Don’t leave it like this. Pair together again. The very next day. For a longer bio please see danielirvine.com. To contact Daniel, send a tweet to @d ir.
dirv.me
Slowing Down
http://www.dirv.me/slowing-down/index.html
Daniel Irvine on building software. One of the most important lessons programmers can learn is to slow down. Slowing down is the opposite lesson to what many programmers learn first: speeding up. But it’s slowing down that produces the best end result. Slow and steady wins the race. Do you remember that burst of euphoria you felt when you built your first working program? Your brain registered it- hey! After a year or so of writing tests I realised that slowing down and taking the time to do up-front tes...
SOCIAL ENGAGEMENT