Phillip Trelford's blog articles

0
comment
on 12/4/2016 3:23 AM
This post is part of the F# Advent Calendar in English 2016 series organized by Sergey Tihon. Last month on November 16 – 17, IDTechEx held their largest annual conference and tradeshow on emerging technologies in California with over 200 speakers and close to 4,000 attendees. The show covers a wide variety of topics including electric vehicles, energy harvesting, energy storage, IoT, graphene, printed electronics, robotics, sensors, AR, VR and wearables. Coming from a software background, I couldn’t help[...]
>> Read the full article
.
0
comment
on 3/31/2016 10:58 PM
Silverlight, once hailed by Microsoft evangelists, is now dead, crucified by the side of Flash by Jobs when he brought down his tablets from mountain view, and then buried by Sinofsky under his surfaces. But is it really dead? Silverlight certainly seems dead in the browser with Google cutting off support in Chrome followed by Microsoft in Edge. Yet Silverlight still lives on in Windows Phone and Windows Store (formerly Windows Runtime, formerly Metro). Resurrection Back in 2010 and 2011 I made a series o[...]
>> Read the full article
.
0
comment
on 12/31/2015 9:39 AM
function tweet(name) { var text = '@fsibot let n=hash"'+name+'"in"\\n"+String.concat"\\n"[for y in 0..4->System.String[|for x in[0;5;10;5;0]->"─█".[(n>>>x+y)&&&1]|]]', windowOptions = 'scrollbars=yes,resizable=yes,toolbar=no,location=yes', width = 550, height = 420, winHeight = screen.height, winWidth = screen.width; var left = Math.round((winWidth / 2) - (width / 2)); var top = 0; if (winHeight > height) { top = Math.round((winHeight / 2) - (height / 2)); }[...]
>> Read the full article
.
0
comment
on 12/7/2015 11:49 PM
Following on from yesterday’s post on Disinherited Types where I implement an F# type provider that hides inherited members of a type to let you focus on the useful members. The example was the WPF Button control which contains around 300 members via 9 levels of inheritance and appears to flout the object-oriented principle of composition over inheritance. Microsoft’s MSDN documentation takes another approach to the problem of making relevant members discoverable by grouping members by type, i.e. all prope[...]
>> Read the full article
.
0
comment
on 12/7/2015 7:51 AM
One of the things that’s always bugged me when using Windows UI libraries like WinForms and WPF is the sheer number of members that pop up in intellisense for a control. The Button type in WPF has around 300 members and a total of 9 levels of inheritance making it hard to find the useful members. Or to put it another way the inherited members occlude the useful members: The picture above shows what you actually see in the code completion box in the editor, however for a button you’re probably more interes[...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper