ILoggable

A place to keep my thoughts on programming

Category Archives: geek

Josh.js 0.3 roadmap: rethinking I/O

My goal has been to expand Josh.Shell to be a better emulation of a console window. It seems simple enough: execute a command, print the output in a div. But print something longer than your shell window and you immediately … Continue reading

September 2, 2013 geek, javascript , , ,

Using Josh for form data

While Josh.js was built primarily for creating bash-style shells in the browser, the same mechanisms would be nice to use for form input. Yes, it does break the expected user behavior, but if you are creating a UI for unix … Continue reading

August 30, 2013 geek, javascript

List comprehension over non-enumerables in C#

As I was trying to finish up my C# implementation of Try[A] for Scando, I ran into some LINQ issues. Or at least I thought I did. Using the LINQ syntax kept failing to call my extension methods and instead … Continue reading

April 14, 2013 geek, scala , ,

Scala in the key of C#: Option

Update: Since I first released Option, I’ve realized that it implementing IEnumerable was unneccesary to use LINQ syntax and actually made it less useful. I’ve updated the post to reflect these changes to Option. Currently reading Daniel Westheide‘s excellent “Neophyte’s … Continue reading

March 29, 2013 geek, scala ,

CLI all the things: Introducing Josh.js

Everytime I click my way through a hierarchy tree, I long for a simple BASH shell with TAB completion. It’s such a simple thing, but TAB completion (usually implemented via the trusty Readline library) still ranks as one of the most … Continue reading

March 18, 2013 .net, geek, javascript , ,

The problem with Frameworks

Over years, I've developed a dislike for frameworks, especially ORMs and web stacks such as Rails. But aside from complaining about "magic" and a vague icky feeling, I could never eloquently explain why. Meanwhile, all my spare time web projects … Continue reading

February 4, 2013 geek, rant , , ,

I fell victim to one of the classic blunders…

Nope, I didn't get involved in a land war in Asia, but I did let yet another exciting thought exercise trick me into picking up a coding project I don't have time for. Happenstance was supposed to be just a … Continue reading

August 28, 2012 geek, Happenstance

Key management strategies for Happenstance

Fundamental to the design of Happenstance is the idea that everything you publish, messages and meta-data, is cryptographically signed. The need for the signature stems from the distributed nature of the system. I.e. as messages are published and copied to … Continue reading

August 12, 2012 geek, Happenstance

The problem with the Benevolent Dictator

Just 2 days left before app.net either funds or fades away. It's pretty close, so a last minute push might do it. But regardless of funding, they will have a tough road ahead, since weening the internet off the "free" user-as-product … Continue reading

August 11, 2012 geek, Happenstance

Moq’ing a Func or Action

Just ran into trying to test a method that takes a callback in the form of Func<Title,PageNodeData>. Initially i figured, it's a func, dead simple, i'll just roll my own func. But the method calls it multiple times with different … Continue reading

August 8, 2012 geek