News aggregator

GHC : Herbert V. Riedel - Sun, 10/05/2014 - 7:44pm
Categories: Offsite Blogs

Cryptographically secure random numbers?

haskell-cafe - Sun, 10/05/2014 - 5:27pm
Hi all, I'm in a situation where I have to generate cryptographically secure random UUIDs, i.e. ones that cannot feasibly be guessed/predicted. Does anyone know what options there are in this space? Ideally, I'd like to fulfill as many of these points as possible: - Few big/complicated dependencies. - Avoid native C if possible (ditto for non-base dependencies). - Avoid RDRAND if possible. - Non-opaque UUID type. - Cross-platform if possible, but the main platform would be Linux. (Generating a UUID from a random stream would be trivial, so obviously a library for secure random numbers would be a-okay too.) Any suggestions?
Categories: Offsite Discussion

ANN: Aivika 1.4 - simulation library

haskell-cafe - Sun, 10/05/2014 - 5:14pm
Hi Cafe, I'm glad to announce version 1.4 of my simulation library Aivika. The main improvement is that the main package aivika[1] contains a new module now, which is destined for simplifying an export of simulation results. Also the module can print in a text form the results of simulation. It recognizes queues, servers, arrival timers as well as references, variables and ordinary simulation variables. All this can help you to work on the simulation model directly from terminal if you like it, although, as before, my library provides powerful charting components that can automatically plot charts, save the CSV files, gather statistics, build histograms and unite them all in a single HTML file that can be then observed in your favorite Internet browser. I believe that all this must simplify much the process of modeling, simulation and analysis. At least, the devi ation charts (using the rule of 3 sigma) cannot be underestimated as a tool of sensitivity analysis for the Monte-Carlo simulation. Another im
Categories: Offsite Discussion

Why test in Haskell?

Haskell on Reddit - Sun, 10/05/2014 - 2:13pm
Categories: Incoming News

[Blog] First Nomyx tutorial

Haskell on Reddit - Sun, 10/05/2014 - 11:58am
Categories: Incoming News

Printing telnet stream to wx widget with conduit

haskell-cafe - Sun, 10/05/2014 - 11:14am
Hi, I have this little program that works 'sometimes'. It is supposed to connect to a server via telnet and print the incoming text to a wx textwidget. Usually I get an error message: ChessGui: <socket: 22>: hGetBufSome: illegal operation (handle is closed), but I acutally saw it working a few times... The whole thing is a bit out of my Haskell-league, so I´m a bit lost now. Any help is very appreciated! Best regards, Tilmann module Main where import Control.Concurrent (forkIO, killThread) import Control.Monad.IO.Class (MonadIO, liftIO) import Control.Monad.Trans.Resource import Data.Conduit import qualified Data.Conduit.Binary as CB import qualified Data.ByteString.Char8 as BS import Network (connectTo, PortID (..)) import System.IO import Graphics.UI.WX import Graphics.UI.WX.Types import Graphics.UI.WXCore.WxcDefs main = start gui gui = do f <- frame [] t <- textCtrlEx f (wxTE_MULTILINE .+. wxTE_RICH2) [font := fontFixed] e <- entry f [] set f [layout := boxed "console" (grid 5 5 [[floatLeft $
Categories: Offsite Discussion

documentation build failing in hackage?

haskell-cafe - Sun, 10/05/2014 - 10:40am
Sorry if this has been asked/discussed previously It seems that there are many packages in which the documentation is not generated. That is the visible effect since there is no indication if the build process failed or not. Could anyone give me some hints? I did a lazy look at the hackage2 documentation but I found nothing about that. Only that it is possible to upload the documentation if the build bot fails...
Categories: Offsite Discussion

CFP: Off-the-Beaten-Track (OBT) workshop at POPL 2015

Lambda the Ultimate - Sun, 10/05/2014 - 9:59am

Announcing the 2015 edition of the OBT workshop, to be co-located with POPL 2015, in Mumbai, India. Two-page paper submissions are due November 7, 2014.

From the web page (

Programming language researchers have the principles, tools, algorithms and abstractions to solve all kinds of problems, in all areas of computer science. However, identifying and evaluating new problems, particularly those that lie outside the typical core PL problems we all know and love, can be a significant challenge. This workshop's goal is to identify and discuss problems that do not often show up in our top conferences, but where programming language research can make a substantial impact. We hope fora like this will increase the diversity of problems that are studied by PL researchers and thus increase our community's impact on the world.

While many workshops associated with POPL have become more like mini-conferences themselves, this is an anti-goal for OBT. The workshop will be informal and structured to encourage discussion. We are at least as interested in problems as in solutions.

Categories: Offsite Discussion

bos/attoparsec - Sun, 10/05/2014 - 9:53am
Categories: Offsite Blogs

bos/attoparsec - Sun, 10/05/2014 - 9:53am
Categories: Offsite Blogs

Kevin Reid (kpreid): Help me name a game keybinding library.

Planet Haskell - Sun, 10/05/2014 - 9:22am

(I could say some meta-commentary about how I haven't been blogging much and I've made a resolution to get back to it and it'll be good for me and so on, but I think I've done that too many times already, so let's get right to the actual thing...)

When I wrote Cubes (a browser-based “Minecraft-like”), one of the components I built was a facility for key-bindings — that is, allowing the user to choose which keys (or mouse buttons, or gamepad buttons) to assign to which functions (move left, fly up, place block, etc.) and then generically handling calling the right functions when the event occurs.

Now, I want to use that in some other programs. But in order for it to exist as a separate library, it needs a name. I have failed to think of any good ones for months. Suggestions wanted.

Preferably, the name should hint at that it supports the gamepad API as well as keyboard and mouse. It should not end in “.js” because cliche. Also for reference, the other library that arose out of Cubes development I named Measviz (which I chose as a portmanteau and for having almost zero existing usage according to web searches).

(The working draft name is web-input-mapper, which is fairly descriptive but also thoroughly clunky.)

Categories: Offsite Blogs

EclipseFP > Installation - Sun, 10/05/2014 - 9:20am
Categories: Offsite Blogs

Philip Wadler: Errata, please

Planet Haskell - Sun, 10/05/2014 - 8:15am
This is a space where you can leave comments describing errata in any of my published papers. Please include bibliographic details of the paper, and a link to where the paper appears on my web page if you can. Thank you to Dave Della Costa for volunteering the first entry and inspiring the creation of this post, and to all who utilise this space to record and correct my errors for posterity.

Categories: Offsite Blogs