Re: [Haskell-cafe] Diagrams and GTK

2013-08-13 Thread Michael Oswald
Hi Claude, Cairo is thread safe* so you could render the whole thing (if it isn't super huge dimensions) to an image surface in the background thread, then displaying could be a matter of copying the correct part (for scrolling) of the surface to the DrawingArea. Yes, I think I will try this s

[Haskell-cafe] Diagrams and GTK

2013-08-09 Thread Michael Oswald
Hello, I am currently writing an application which draws the structure of some packets with help of the diagrams library directly to a GTK GUI. Now the packets can have several hundreds of parameters which have to be drawn so it takes some seconds to calculate the diagram itself. Of course t

Re: [Haskell-cafe] Requesting Feedback: I Love Haskell, but can't find a place to use it

2012-06-01 Thread Michael Oswald
> So anyway I'd like to request feedback: where can I use Haskell besides > simple CLI utilities, dull server code, or project Euler problems? Even > if it's just to contribute to getting Haskell in the environments > mentioned above, any feedback is welcome! Well I have used it for some not-so-ty

[Haskell-cafe] Parsing binary data question

2011-09-27 Thread Michael Oswald
Hello all, I am currently working on parser for some packets received via the network. The data structure currently is like that: data Value = ValUInt8 Int8 | ValUInt16 Int16 | ValUInt32 Int32 -- more datatypes data Parameter = Parameter { paramName :: String,

[Haskell-cafe] Possible participation on parallel programming book

2011-01-11 Thread Michael Oswald
Hello, Just found the following in the Ada group: There is an open source E-Book about parallel programming, where people can participate (via patches for a git repository): http://lwn.net/Articles/421425/ Since Haskell has very good parallel capabilities, maybe the community would also be

[Haskell-cafe] Re: How many "Haskell Engineer I/II/III"s are there?

2010-02-11 Thread Michael Oswald
On 02/10/2010 04:59 PM, Jason Dusek wrote: > I wonder how many people actually write Haskell, > principally or exclusively, at work? Well, my main language at work in the moment is C++, we also use Java, a lot of Tcl and Python. I use Haskell for my own programs and test utilities / converter

[Haskell-cafe] Re: Static linking

2009-07-24 Thread Michael Oswald
Marcin Kosiba gmail.com> writes: > Try: > ghc --make Installer.hs -static -optl-static -optl-pthread > Ah, that fixed it. Thanks a lot! > If that doesn't work, you can always do a ghc -v, find the command it uses > for > linking, modify it and run it manually. Peter suggested t

[Haskell-cafe] Static linking

2009-07-24 Thread Michael Oswald
Hello, I wrote a small installer program which configures and installs some software packages. In order to be able to let it run on a different machine, where I possibly don't have the needed shared libraries, I tried to link it statically, following this advice: http://www.haskell.org/haskellwi