My new laptop came in on Thursday, a tiny asus eeepc. The default OS is a customized Xandros, a debian spin-off, so it was pretty easy to add some apt sources and get all the tools needed to try out clbuild. So far I’m very impressed, almost everything has just worked. I installed darcs to […]
Category Archives: lisp
an x-axis plus API cleanup
Some more progress on the charting library today: cleaned up the API a little bit, opting for some nicer make-foo function instead of requiring calls to make-instance: make-series label data &key color make-axis label &key control-string draw-gridlines-p label-formatter control-string: a format-compatible control string, and supplying it sets the label-formatter for the axis label-formatter: a function […]
more graphing
Another productive afternoon: This is the start of axes. The internals are getting very, very messy, but I really like the result. Here’s the code used to create this: (defun line-chart-with-axis-labels () “draws a simple line chart” (let* ((seriesA (make-instance ‘series :label “SeriesA” ;data expressed as a list (x y) pairs :data ‘((-1 -2) (0 […]
charting library taking form
It now does line charts and better pie charts, and has had a lot of bugs removed since the last post. We did some code review on it at work, brought some of the spaghetti under control, and included the library in an intranet app. Here’s a sample line graph: The (somewhat verbose) code for […]
Working with the lisp community on IRC
I’ve seen a lot of complaints about the lisp community being arrogant bastards who are too busy being smarter than you to help. Over the past few months, I’ve been observing behavior, lurking in #lisp, and I think I’ve figured out the source of confusion. The lisp community behaves differently than many other communities, and […]
A good day’s hacking
Everyone had the day off, so I decided to work on making a graphing library. I’ve been on a fairly constant quest for easy data visualization, running through several options: homegrown SVG renderer (javascript) homegrown png renderer (C#) Gruff (ruby) some graphing capability from Dojo (javascript) cl-plplot I’ve never been happy with any of these, […]
String building in Lisp
We’re grinding (in the RPG sense) with lisp at work, and keep coming into problems that have multiple simple solutions, but don’t have the instincts/knowledge to readily identify which one is best. One such problem is building up strings, in a couple of cases. I took some time this morning to go through the cases, […]
Graphing my fuel efficiency with lisp and Vecto
Gonna try to be quick about this, as there’s chicken on the grill. I took a break from Team Fortress 2 to play some more with Vecto, another fine library from Xach. I started another post about last weekend’s lisp playing, but this one got finished first. I’ve been tracking my fuel efficiency for a […]