foldr vs foldl in haskell
I am re-reading Learn You a Haskell for Great Good!. and I can recall my confusion from my initial reading over the example of foldr.
If we're mapping (+3) to [1,2,3], we approach the list from the right...
Polyglot Developer currently living in beautiful south Florida
I am re-reading Learn You a Haskell for Great Good!. and I can recall my confusion from my initial reading over the example of foldr.
If we're mapping (+3) to [1,2,3], we approach the list from the right...
Just so that I can record my solutions
Number 1
#for loop (tbh, I had to look up the syntax for a 'for' loop in ruby) def sum_with_for_loop(array) acc
Read More
Enigma in Scala
So, I was reading this blog post about the enigma machine and I thought it would be fun to try to model the enigma machine in scala
package com.davidkblackmon.enigma object Enigma
Read More
Neo4j and Vagrant
Yeah, well, I've been busy....
TLDR;
- don't try to install neo4j in the shared directory of a vagrant box
- change the neo4j server config to allow access from the host machine
- org.neo4j.server.webserver.address=0.0.0.0
Full Story
I saw...
Read More
AutoCAD selection sets in IronRuby
Using selection set filters in the AutoCAD .Net api has always been less than enjoyable. Take, for example, this bit of code from the online .Net Developer's Guide
using Autodesk.AutoCAD.Runtime; using
Read More
TIRADE (The IronRuby Autocad Development Environment)
Here is a sneak-peek at TIRADE(The IronRuby Autocad Development Environment) 
TIRADE extends my work on acadhelper and allows instant (or at least very rapid) gratification and enjoyment of Ruby goodness when extending AutoCAD with IronRuby.
TIRADE...
Read More
Ruby on the AutoCAD command line
Using IronRuby, a bit of C# code and a great deal of aid from this post, I was able to create an interactive Ruby interpreter for the AutoCAD command line.
This part of my effort to bring some Ruby...
Read More
Ruby and AutoCAD via IronRuby
Inspired by a blog post by Kean Walmsley here, I have been working on some wrapper and helper functions for driving AutoCAD using Ruby.
IronRuby and Kean's loader function gives the AutoCAD developer full access to the managed API. But...
Read More