Joel Holder's Select Field Notes

A Public Journey of Discovery

  • About The Author
  • Contact
  • Accepting Invalid SSL Certificates in .NET WCF Clients

    There are times when SSL certificates are used to verify identity and to provide TLS and there are cases when only the wire encryption matters.  In the later case, I sometimes need to be able handle server certificates that are not valid by SSL’s standard rules.  This could be because the cert is not signed…

    jclosure

    May 2, 2014
    Uncategorized
    C#, SSL, WCF
  • NTLM Authentication in Java with JCifs

    In enterprise software development contexts, one of the frequent needs we encounter is working with FileSystems remotely via CIFS, sometimes referred to as SMB.  If you are using Java in these cases, you’ll want JCifs, a pure Java CIFS implementation.  In this post, I’ll show you how to remotely connect to a Windows share on an Active…

    jclosure

    April 29, 2014
    Uncategorized
    cifs, java, ntlm
  • Meditation on JavaScript’s SetTimeout(), Recursion, and Execution Context

    JavaScript’s setTimout and setInterval functions are for scheduling future work. They provide a way to schedule either a single or recurring execution of a function. In this article, we’ll play around with some fun and interesting capabilities that can be had using setTimeout. To get going we’ll need a few examples in place. Here is…

    jclosure

    January 12, 2014
    Uncategorized
    async, context, JavaScript
  • Making Parallax Animation Effects With JavaScript

    The Term “Parallax” means a difference in the apparent position of an object viewed along two different lines of sight, and is measured by the angle of inclination between those two lines. The positional difference between objects creates a visual illusion that is specific to the position of the observer.  A simple everyday example of…

    jclosure

    January 2, 2014
    Uncategorized
    Animation, Canvas, HTML5, JavaScript
  • XML Interoperability of Serialized Entities in Java and .NET

    Abstract: In order to exchange structured data directly between the platforms, we must be able to easily take the marshalled or serialized definition of the object and turn it into an object in memory.  There are standard ways of marshalling of objects to XML in both Java and .NET.  I have found it a little…

    jclosure

    October 28, 2013
    Uncategorized
    C#, java, Xml
  • Dev flow with integrated SublimeREPL

    Here is a short screencast that I made to demonstrate what I believe are some of the more useful features and techniques of working in Sublime Text 2 and the python repl.  Specifically, I wanted to show others who might need the dots connected to understand just what the intended usage flow of SublimeRepl is. The…

    jclosure

    August 30, 2013
    Uncategorized
    Python, REPL, Sublime Text 2, SublimeREPL
  • Hacking C#’s Lambda Expressions Into Hash Rockets

    As I move between C# and Ruby, I have found my brain’s internal syntax parser always needing to switch gears and repurpose its understanding of Fat Arrow, =>. In Ruby, it provides a visually salient means of expressing key => value pairing within a Hash. C# on the other hand uses it to indicate the…

    jclosure

    July 19, 2013
    Uncategorized
    C#, lambda_expressions, Ruby
  • C# Deserves A Better Message Passing API

    The structured programming model of C# is decisive and straightforward. There is generally one or only a handful of idiomatically correct ways to facilitate a particular design need. In the case of API design, the language’s conception of access modifiers is fundamental. Exposures of behaviors to client code are controlled by applying public, private, or…

    jclosure

    May 16, 2013
    Uncategorized
    C#, method_missing, Reflection
  • Introducing X DSL, A More Fluent XML Builder

    A while back, I posted about using DynamicObjects to facilitate building Domain Specific Languages in C#. To the extent that we have to play within the syntactic sandbox that the language itself requires, we are still able to take advantage of what is available in the way of built in operators by changing their meaning.…

    jclosure

    May 13, 2013
    Uncategorized
  • Dynamic Domain Specific Languages in C# and the Quine

    Wikipedia defines a quine as “a computer program that takes no input and produces a copy of its own source code as its only output”.  Some standard terms for this category of program are “self-replicating”, “self-reproducing”, and “self-copying” programs.  Quines are possible in any programming language.  The term quine, itself, was first coined in Douglas…

    jclosure

    September 14, 2012
    Uncategorized
←Previous Page
1 2 3 4 … 6
Next Page→

Proudly Powered by WordPress

 

Loading Comments...