tb-it.blogspot.com
IT and associated ramblings: WCF streaming: Random MemoryStream corruption
http://tb-it.blogspot.com/2012/12/wcf-streaming-random-memorystream.html
IT and associated ramblings. Meanderings on (but mostly off) topic. Saturday, December 29, 2012. WCF streaming: Random MemoryStream corruption. This one bit me a while ago and I responded to a Stack Overflow post about it - the original poster had changed their implementation to avoid the issue, and slightly missed the point of my answer - which was a solution to a very real (and annoying problem). Stack overflow post: http:/ stackoverflow.com/questions/13278487/memorystream-data-corruption-issue.
tb-it.blogspot.com
IT and associated ramblings: Further WARP programs
http://tb-it.blogspot.com/2013/06/further-warp-programs.html
IT and associated ramblings. Meanderings on (but mostly off) topic. Sunday, June 16, 2013. I've been busy trying to stabilise the WARP interpreter, and have a few test programs that 'validate' the 1.7 version:. Collatz Conjecture (from 99,000). Se24E0)"Hailstone sequence for ")se@a)se(D(A*se#! O$se2 .r@o&se3 se1@r:se:1? This program uses decimal ( A) instead of hexatrigesimal, and leans heavily on the stack, the? A)"Enter start: ",=cu! Primes = ")cu(13(10 @o*cu$! I)cu)" " @n cu1*cu!
tb-it.blogspot.com
IT and associated ramblings: Sencha Touch 2: Models and proxies: associations - traversing and saving
http://tb-it.blogspot.com/2012/06/sencha-touch-2-models-and-proxies.html
IT and associated ramblings. Meanderings on (but mostly off) topic. Saturday, June 30, 2012. Sencha Touch 2: Models and proxies: associations - traversing and saving. First, the model, including a proxy section, with the extended writer. The User model 'hasMany' membership details - yes, not a compelling example, but it serves for illustrative purposes:. Line 19 defines the type of the writer, which is shown below:. 19: this.processCustomFields(data, record) : this). 20: processAssociations(data,...Ereta...
tb-it.blogspot.com
IT and associated ramblings: MVC action filters - viewmodel to domain object mapping (and policies)
http://tb-it.blogspot.com/2013/04/mvc-filters-as-simplification-mechanism.html
IT and associated ramblings. Meanderings on (but mostly off) topic. Saturday, April 20, 2013. MVC action filters - viewmodel to domain object mapping (and policies). I'm undertaking a rather large task to re-implement an existing ASP.NET Web Forms application using ASP.NET MVC. It's been a thoroughly enjoyable piece of work to date, and, in particular, I have a growing fondness for the MVC filter sub system. But, IMO, it did not go far enough. Additionally, there is a navigation tracking filter, that han...
tb-it.blogspot.com
IT and associated ramblings: MEF: Instantiating parts via meta data query
http://tb-it.blogspot.com/2012/01/mef-instantiating-parts-via-meta-data.html
IT and associated ramblings. Meanderings on (but mostly off) topic. Saturday, January 14, 2012. MEF: Instantiating parts via meta data query. I quite like MEF; something about the simplicity of its approach appeals, certainly when compared to MAF. As decomposed meta data in MEF is typed as an IDictionary, this next set of extensions can be used if a straight (and simple) comparison of dictionary associations is required. IOW, a selector might look similar to:. CompKeys.Except(rhs.Keys).Any() ...Travel te...
tb-it.blogspot.com
IT and associated ramblings: knockout js (and others)
http://tb-it.blogspot.com/2013/10/knockout-js-and-others.html
IT and associated ramblings. Meanderings on (but mostly off) topic. Sunday, October 27, 2013. Knockout js (and others). For a side project I'm involved with, one of the requirements is to have a web site that is quite slick, eschewing post backs wherever possible. I'm treating each distinct page of the web site like an SPA - being self contained and driven by client side script. So I'm using a combination of JQuery, JQuery UI and knockout. This is the view model that is supplied as a member of the bound ...
tb-it.blogspot.com
IT and associated ramblings: Smalltalk inspired extensions for c#
http://tb-it.blogspot.com/2012/07/smalltalk-inspired-extensions-for-c.html
IT and associated ramblings. Meanderings on (but mostly off) topic. Saturday, July 7, 2012. Smalltalk inspired extensions for c#. Philosophy aside, I amused myself by considering the behaviour of the Smalltalk boolean object a few weeks ago after a brief period of development in Squeak. See also below). You 'talk' to the boolean, and can effectively ask it to do something if it is true or false. A b ifTrue:[ Transcript show: 'greater' ] ifFalse:[ Transcript show: 'less or equal' ]. Val) action(); return ...
tb-it.blogspot.com
IT and associated ramblings: OAuth 2.0 frameworks and platforms
http://tb-it.blogspot.com/2015/06/oauth-20-frameworks-and-platforms.html
IT and associated ramblings. Meanderings on (but mostly off) topic. Wednesday, June 3, 2015. OAuth 2.0 frameworks and platforms. Like some of you in the .NET world, I have had occasion to consider the use of OAuth 2.0. My real in depth exposure to OAuth came a few years ago when I was considering the relative merits of Enterprise API vendor offerings for a bank (think Layer 7, Apigee, WS02 and so on). Samples that often do not work out of the box. Source code that needs tweaking. A testable code base.
tb-it.blogspot.com
IT and associated ramblings: TPL aware read/write streams for WCF streamed responses
http://tb-it.blogspot.com/2012/02/tpl-backed-readwrite-streams-for-wcf.html
IT and associated ramblings. Meanderings on (but mostly off) topic. Saturday, February 25, 2012. TPL aware read/write streams for WCF streamed responses. This translates to the WCF service call returning a System.IO.Stream, as expected, with the actual type being an implementation of (therefore) System.IO.Stream - my Read/Write stream. It seems appropriate to commence with the stream implementation. It makes concrete the abstract class System.IO.Stream, and delegates read and write actions to...Well, tha...
tb-it.blogspot.com
IT and associated ramblings: Sencha Touch: Repeating tasks
http://tb-it.blogspot.com/2011/12/sencha-touch-repeating-tasks.html
IT and associated ramblings. Meanderings on (but mostly off) topic. Saturday, December 3, 2011. Sencha Touch: Repeating tasks. And so, some trivia, dear reader (I tried to discover the etymology of 'dear reader' - and drew a blank. ExtisEmpty(id) { window.clearInterval(id); delete this.tasks[taskName]; } } }, cancelAllRepeatingTasks: function() { if (this.tasks) Object.keys(this.tasks).forEach(function(key) { this.cancelRepeatingTask(key); }, this); } });. Subscribe to: Post Comments (Atom).