Luminescent Dreams

Haskell's Foreign Function Interface

March 05, 2013

As part of a research project, I did a tiny bit of work to figure out the tiniest part of Haskell’s Foreign Function Interface today. This is just the tip of the iceburg, but I thought I would show off the extremely simple demo that I worked out. I present both the C and Haskell versions of a program that feeds “abc” and “def” into the standard Unix crypt() function.

> > > Read More

Processing SqlValues in Haskell

June 01, 2012

Let us assume that, whether you are just learning Haskell for the first time or have long since mastered Haskell the language, you suddenly need to hook up to a database for the first time.

Don’t laugh. Many applications work extremely well without a database.

My applications, however, almost always have a relational database somewhere in their guts. I work with a lot of relational data. I have to learn Database.HDBC early, and many of you will, too.

> > > Read More

Immutable Lists and Function Pointers in C

April 30, 2011

Lists, lists, lists…

I have written a lot of Clojure code recently. With Clojure inheriting from Lisp, and List standing for List Processor, I have thought quite a lot about lists recently.

I have also written a huge amount of C code recently. I took a piece of code that I wrote five years ago, noted that I would need to do a lot of work to add the new feature, so I decided to overhaul it and rewrite it The Correct Way. In this case, that means using MySQL’s prepared statement API instead of string hackery. Trust me when I say that string hackery sucks, especially since I know about SQL injection and had to protect against that, too.

> > > Read More

January 01, 0001 The Wildsea - Edges, Skills & Languages Reference

The Wildsea Reference

Edges, Skills, and Languages

> > > Read More

About

January 01, 0001
Dreamer, Shaper, Seeker, Maker, Cyberpunk, Betrayal-Driven Developer, Cyclist, Photographer, Alchemist, queer as in fuck you. I live in Providence, Rhode Island, with my partner and three glorious felines, hanging out with queers, and trying to be a helpful, productive human being.
  • Pronouns: ey/em, she/her
  • Honorifics: Mx, Mir, Miss, Ma'am

Contact

Interests

  • Functional Programming: Rust, Haskell, Purescript, Ocaml, Elm, Clojure
  • Photography
  • Cycling
  • Fitness
  • Linux
  • Space-age user interfaces

My Favorite Books and Short Stories

  • *Anathem*, Neil Stephenson
  • *Metatropolis*, John Scalzi et. al.
  • *Solitude*, Ursula Le Guin
  • *Coming of Age in Karhide*, Ursula Le Guin
  • *Angel Tech*, Antero Ali
  • *On Becoming an Alchemist*, Katherine MacCoun
> > > Read More

Role Playing

Horror at the Harvest Festival. Legend in the Mist, 4 of 5 seats filled