-
Morse code again — translating audio back to morse
Today is the final installment in my Haskell morse code odyssey, in which I translate some audio of morse code back into dots and dahs and even strings on the screen. The idea of translating audio back into something more human-friendly was suggested by @russellbanned when I put up my Let’s ma …
- On:
-
More haskell morse code. This time with audio!
Today I added audio support to the morse translator that I made yesterday. There ought to be a screencast of me demoing it, but screenr is being a dick, as it sometimes is for no discernable reason. I found the admirably minimalistic Data.WAVE library with a little bit of searching. This …
- On:
-
Let’s make morse code with Haskell
Recently, nor and I went with her family to Bletchley Park. Nor’s grandmother used to be a radio operator at what we think was one of the Y stations, near Leighton Buzzard. She spent her time transmitting and receiving coded messages in morse code — in 5 character blocks of apparently …
- On:
-
May 2014 Reading
Gerrard Winstanley has become, in recent years, a revered figure on the left, especially in anarcho and socialist circles. Gurney charts his life, contributions and how those contributions have been interpreted in a …
- On:
-
Conspire-o-matic: A twitter conspiracy theory generating thing
I was having a conversation the other day with oxguin and nor, the gist of which was that it would funny to invent a conspiracy theory generator. Regular readers will know that I have been playing around with Haskell for a while, so I figured I would bosh one up in that. At some point. Well, it i …
- On:
-
Quick tip: Postfix operators in GHCi
The other day I wanted to work out what 52 factorial was. I’d beeen to a pub quiz the night before. What can I say? It is pretty easy to make the factorial function in Haskell. Something ike this usually suffices. fac :: Integer -> Integerfac n = product [1..n] I wanted to be …
- On:
-
Snipp.IO: A pastebin made out of Haskell, Yesod and mongodb
I’ve recently been learning about the Haskell-based Yesod web framework. This is about my experience of building a simple pastebin with Yesod, mongodb and Haskell, which took a couple of evening sessions and a Saturday afternoon.The first question to answer is why choos …
- On:
-
Of Birthday Problems, Haskell and Floating Point Precision
Learning Haskell by working my way through the Real World Haskell book and the huge variety of online resources recently has reignited my curiosity about “proper” computer science. The sort with maths. I’ve picked up most of my maths as a side effect of hacking code, so I have b …
- On:
-
Making a naïve XML parser — Part 1: Haskell and Parsec
In this mini-series I look at building a minimally functional XML parser; I build one first of all using Haskell’s Parsec library and then in Part Two I use Perl to build an analogous XML parser. I have recently been working my way through the Real World Haskell bo …
- On:
-
Solved: Real World Haskell Chapter 16 and Parsec3
Another quick fix for an annoyance I found whilst working my way through the Real World Haskell book. This time it’s in Chapter 16 where we are learning about applicative functors and how to use Parsec in an applicative stylee rather than monadically. As it turns out there have been s …
- On: