Recent blog entries for bstpierre

Getting Scalatest and Scalacheck to Work

ScalaTest is a decent library for testing scala code. It integrates with ScalaCheck for "property based testing". In this type of testing, you specify properties of a class or method, and the library...

(Click through for full post...)

Syndicated 2014-01-30 03:50:00 from The Daily Build

Writing a Simple SBT Task

In a project I'm working on, I wanted to copy a fat jar to a remote machine for testing. The sbt-assembly plugin is handy for making a fat jar, but I didn't find any convenient plugins for just...

(Click through for full post...)

Syndicated 2013-12-17 17:41:00 from The Daily Build

Enjoying Scala's Compactness

As I slowly learn my way around the Scala APIs, I'm enjoying the expressiveness that is possible. You can do a lot with just a little bit of code. Operating on Files For example, I needed a way to...

(Click through for full post...)

Syndicated 2013-12-12 00:55:00 from The Daily Build

Building a Single File Scala Executable

I'm from a C background with a hefty dose of Python, mostly on linux systems. My preferred mode of delivering software is as a single executable file. I hate having to explain to users that they...

(Click through for full post...)

Syndicated 2013-12-08 04:37:00 from The Daily Build

Getting Set up for Programming in Scala on Debian

Things we need to be able to use Scala on Debian (everything below will likely work on Ubuntu as well): Scala itself, of course. apt-get install scala will pull in a bunch of packages -- all the...

(Click through for full post...)

Syndicated 2013-12-07 02:01:00 from The Daily Build

What Makes a Nice Programming Language

(I started this post about halfway through the Year of New Programming Languages, and wrapped it up in December.) At the midway point I was most excited by Common Lisp, but with doubts I'd be using...

(Click through for full post...)

Syndicated 2013-12-06 00:15:00 from The Daily Build

New Language Wrapup

Learning a new programming language each month this year was an ambitious goal. I didn't quite make it -- other things got in the way. I did manage to dip my toes into some interesting languages,...

(Click through for full post...)

Syndicated 2013-12-04 19:16:00 from The Daily Build

Recovering Photos From a Bad Hard Drive

I've had a couple of friends ask me if there's any way I could read family photos off a dying hard drive. Obviously, the best way to do this is to have a backup: then you can throw out the hard drive...

(Click through for full post...)

Syndicated 2013-05-03 23:50:00 from The Daily Build

Generic Requirements for Build Scripts

A few years ago, I wrote Makefiles are Software Too, which laid out some "generic requirements" for any build scripts (Make, Ant, Scons, Fabric, etc) that you're writing. I still think those...

(Click through for full post...)

Syndicated 2013-02-13 00:08:00 from The Daily Build

Gebildet: Writing Ebooks in Markdown

Last month I wrote a prototype markdown processor as part of learning the Icon programming language. This month I'm rewriting it as part of learning Go, but this time with the intention of...

(Click through for full post...)

Syndicated 2013-02-03 14:24:00 from The Daily Build

89 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!