Latest LQ Deal: Linux Power User Bundle
Go Back > Blogs > Bits and Pixels
User Name


Concerning free software, programming, and whatever else I find interesting. Also the blog for my Web site,

Quick and dirty plotting with Haskell + Gnuplot

Posted 12-28-2012 at 05:13 PM by hydraMax (Bits and Pixels)
Updated 12-28-2012 at 05:17 PM by hydraMax
Tags haskell

Assuming you are a Haskeller, you can get a simply x-y plot up very quickly with the gnuplot interface module. This is useful for getting a rough graphical view of some function. Simply...

1. install Gnuplot (through your package manager)
2. cabal install gnuplot
3. use ghci:

$ ghci
GHCi, version 7.4.1:  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ...
Attached Images
File Type: png image3023.png (29.8 KB, 3 views)
Posted in Uncategorized
Views 5767 Comments 0 hydraMax is offline

Dorito Thief Strikes Again!

Posted 12-27-2012 at 11:25 PM by hydraMax (Bits and Pixels)
Tags humor
Posted in Uncategorized
Views 895 Comments 0 hydraMax is offline

Haskell solves the problem of unexpected IO side effects

Posted 12-20-2012 at 02:40 PM by hydraMax (Bits and Pixels)
Updated 12-20-2012 at 02:46 PM by hydraMax
Tags haskell, humor

Programmers are universally familiar with the challenges of dealing with unwanted side effects in IO operations. Few are aware, however, that the Haskell programming language provides a very straightforward approach to dealing with this problem, packaged in a convenient module:

The solution involves making available a full existential state as a retrievable value. This value...
Posted in Uncategorized
Views 929 Comments 0 hydraMax is offline


Posted 12-08-2012 at 03:38 AM by hydraMax (Bits and Pixels)

Here's a weird one that recently hit the Gentoo repositories:


Basically, it replays the access log for your Web server - video game style! Using opengl, it transforms your Web log into a colorful version of Pong: each time you get a hit, the paddle for that virtual host (if in vhost paddle mode) intercepts the ball, also displaying the return code and the page accessed. Maintains a counter for the hits. Fun to watch, and also handy because you can adjust...
Posted in Uncategorized
Views 1023 Comments 0 hydraMax is offline


All times are GMT -5. The time now is 11:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration