Re: [Haskell-cafe] Re: Haskell.org re-design

2010-04-06 Thread Jeff Heard
There's colourlovers.com as well On Apr 6, 2010, at 12:41 PM, Thomas Schilling nomin...@googlemail.com wrote: Well, I used http://www.colorschemedesigner.com/ On 6 April 2010 16:20, Daniel Peebles pumpkin...@gmail.com wrote: I'm definitely not a design/color person, but has anyone

Re: [Haskell-cafe] Are there any female Haskellers?

2010-03-29 Thread Jeff Heard
The Wisconsin study, which was done in the 1980s and then redone last year is the primary source for that, and it presents data that there is no real difference between women and men in math ability. The only *statistically* significant (bold because significant is a technical term, not a term

Re: DPH and CUDA status

2010-02-03 Thread Jeff Heard
IIRC, there has been woirk done by Manuel and his team. I'm sure he'll chime in on that. One thing though, is that CUDA is being supplanted by OpenCL in the next few years, and OpenCL can handle data parallelism on multicore CPUs as well as GPUs with the same code. It's a little more flexible

Re: DPH and CUDA status

2010-02-03 Thread Jeff Heard
brad.lar...@gmail.com wrote: On Wed, Feb 3, 2010 at 12:34 PM, Jeff Heard j...@renci.org wrote: [...]  One thing though, is that CUDA is being supplanted by OpenCL in the next few years, and OpenCL can handle data parallelism on multicore CPUs as well as GPUs with the same code. It's a little more

Re: [Haskell-cafe] Fwd: Error in building buster 1.51

2009-11-21 Thread Jeff Heard
Indeed, it was not updated for the 6.10 exception handling. I'll update in a few days. In the meantime, the file operations module is the culprit. It is a top-level module, so if you aren't using it, you could delete it without consequences. Just delete it and delete its depenency from the

[Haskell] Re: [HOpenGL] ANNOUNCE: GPipe-1.0.0: A functional graphics API for programmable GPUs

2009-10-04 Thread Jeff Heard
I second the request for a few examples. This looks absolutely perfect for a lot of things, but it's a different way of approaching accelerated graphics than people are used to. -- jeff On Sun, Oct 4, 2009 at 4:22 PM, Felipe Lessa felipe.le...@gmail.com wrote: I've read the documentation and

Re: [Haskell-cafe] New OpenGL package: efficient way to convert datatypes?

2009-10-01 Thread Jeff Heard
Ah, but it takes care of my performance problems, so many thanks from the lurker :-) -- Jeff On Wed, Sep 30, 2009 at 11:37 PM, wren ng thornton w...@freegeek.org wrote: wren ng thornton wrote: I guess one could make rules for that, but this tickets makes me wander if that really works:

Re: [Haskell-cafe] Just to let people know

2009-09-12 Thread Jeff Heard
I know, but I'm not the package maintainer... I didn't mean it couldn't be installed, just that it didn't compile out of the box On Sat, Sep 12, 2009 at 6:19 AM, Don Stewart d...@galois.com wrote: jefferson.r.heard: lhs2TeX does not compile with the latest version of base.  complaints about

[Haskell-cafe] Just to let people know

2009-09-11 Thread Jeff Heard
lhs2TeX does not compile with the latest version of base. complaints about Control.Exception abound ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] rotate image

2009-08-28 Thread Jeff Heard
Not really. Best thing I can think to do is use the X11 library to pull the pixels under your window then draw them as a surface on the drawingarea, then draw your rotated image on top of that. You have to have a window, and Gtk windows do not have an alpha. You'll want it to be undecorated,

Re: [Haskell-cafe] Is logBase right?

2009-08-25 Thread Jeff Heard
I always thought that he who compares floating point numbers for equality was acting in tangent of reason... -- Jeff On Sat, Aug 22, 2009 at 4:02 AM, Mark Wottonmwot...@gmail.com wrote: he who compares floating point numbers for equality is in a state of sin. mark On 22/08/2009, at 5:00 AM,

Re: [Haskell-cafe] rotate image

2009-08-24 Thread Jeff Heard
You could use Cairo. Load the image to a surface, then rotate the surface 10 degrees and paint it. Alternately, in Hieroglyph: renderToPNG w h image.png $ rotate 10 image{ filename='whatever.png' } On Mon, Aug 24, 2009 at 3:57 PM, hh._h._...@hotmail.com wrote: Hello, I already studied the

Re: [Haskell-cafe] Re: rotate image

2009-08-24 Thread Jeff Heard
ahh, you want to paint against the desktop, then, yes? That requires compositing, and I'm not sure there's a way to do that with Gtk directly. Probably easier with X and OpenGL. Needs more of a Gnome expert than me. On Mon, Aug 24, 2009 at 6:34 PM, hh._h._...@hotmail.com wrote: Hello, You

[Haskell-cafe] Re: ANN: OpenCLRaw 1.0.1000

2009-08-18 Thread Jeff Heard
There was a missing include in the cabal file. fixed... On Mon, Aug 17, 2009 at 7:49 PM, Jeff Heardjefferson.r.he...@gmail.com wrote: All, I've released a raw binding to the OpenCL platform on Hackage. The main differences between it and the C bindings are that constants have been replaced by

[Haskell-cafe] ANN: OpenCLRaw 1.0.1000

2009-08-17 Thread Jeff Heard
All, I've released a raw binding to the OpenCL platform on Hackage. The main differences between it and the C bindings are that constants have been replaced by newtypes for type safety reasons, void-essential functions that return a token errorcode return a Maybe ErrorCode, and functions that

[Haskell-cafe] Looking to check on some capabilities of Data.Colour

2009-08-06 Thread Jeff Heard
I was wondering if Data.Colour supported Double-valued colour components 1.0 or less than 0. I'm looking to create an HDR image processing library, and Haskell has one of the most extensive and correct colour models around, thanks to Russell. With 16bpcc or 32bpcc images, however, I need to be

Re: [Haskell-cafe] Looking to check on some capabilities of Data.Colour

2009-08-06 Thread Jeff Heard
Excellent. That's what I wanted to know :-) On Thu, Aug 6, 2009 at 4:01 PM, rocon...@theorem.ca wrote: On Thu, 6 Aug 2009, rocon...@theorem.ca wrote: On Thu, 6 Aug 2009, Jeff Heard wrote: I was wondering if Data.Colour supported Double-valued colour components 1.0 or less than 0.  I'm

Re: [Haskell-cafe] Hugs faster and more reliable than GHC for large list monad 'do' block

2009-08-06 Thread Jeff Heard
Yes, the GHC compiler will work on older kernels and CentOS kernels if you bootstrap it with 6.4 On Thu, Aug 6, 2009 at 4:51 PM, Jason Dagitda...@codersbase.com wrote: On Thu, Aug 6, 2009 at 1:39 PM, Henning Thielemann lemm...@henning-thielemann.de wrote: Today a student has shown me a

Re: CLDouble serialization bug in 6.10.1

2009-07-17 Thread Jeff Heard
There is a package for serializing doubles on Hackage, Data.Bunary.IEEE754. See: http://hackage.haskell.org/package/data-binary-ieee754 -- Jeff On Fri, Jul 17, 2009 at 1:57 PM, Jeff Heardjefferson.r.he...@gmail.com wrote: Bulat, There is a package for serializing doubles on Hackage,

Re: [Haskell-cafe] Why is there no Zippable class? Would this work?

2009-07-16 Thread Jeff Heard
Beautiful. Can we have a version on hackage? On Thu, Jul 16, 2009 at 5:56 PM, Job Vranishjvran...@gmail.com wrote: I was needing a way to zip generic data structures together today and was very annoyed to find that there is no Zippable class, or variant there of. So I made my own: class

[Haskell-cafe] Problem resizing widget contained in window

2009-07-14 Thread Jeff Heard
I created a window, like so: Gtk.windowSetTitle win name Gtk.widgetSetName win Hieroglyph Gtk.onDestroy win (exitWith ExitSuccess) Gtk.windowSetDefaultSize win w h Gtk.containerResizeChildren win And an GLDrawingArea like so: config ← Gtk.glConfigNew [Gtk.GLModeRGBA, Gtk.GLModeMultiSample,

[Haskell-cafe] c2hs confusion with a simple function

2009-07-09 Thread Jeff Heard
The c2hs documentation at http://www.cse.unsw.edu.au/~chak/haskell/c2hs/docu/implementing.html#id314947 gives me an example to follow for this case: {#fun notebook_query_tab_label_packing as ^ `(NotebookClass nb, WidgetClass cld)' = {notebook `nb', widget `cld'

Re: [Haskell-cafe] Haskell on the iPhone

2009-06-23 Thread Jeff Heard
This is great news! I'd love to be able to write our cellphone automated vehicle location clients in Haskell. -- Jeff On Mon, Jun 22, 2009 at 6:38 PM, Don Stewartd...@galois.com wrote: If you're doing it in Haskell, please feel free to keep plugging. A new market for Haskell apps is highly

Re: [Haskell-cafe] Re: [Haskell] ANNOUNCE: OpenGLRaw 1.0.0.0

2009-06-11 Thread Jeff Heard
nVidia and ATI drivers both support GL 3.0 on Linux, although you're right that open source drivers don't. I for one welcome this package with open arms, since I'm mostly trying to implement a layer over OpenGL anyway with Hieroglyph. This'll help with the next revision of that. As for the

[Haskell-cafe] Re: ANNOUNCE: OpenGLRaw 1.0.0.0

2009-06-11 Thread Jeff Heard
at 2:44 PM, Henning Thielemannlemm...@henning-thielemann.de wrote: On Thu, 11 Jun 2009, Jeff Heard wrote: case in point: Hieroglyph.  What's it do?  import Hieroglyph.  Is there any clue by my function names which ones belong to a library called Hieroglyph?  No.  However, import

[Haskell-cafe] Re: ANNOUNCE: OpenGLRaw 1.0.0.0

2009-06-11 Thread Jeff Heard
, subcategories, and sub-sub-categories :-) -- Jeff On Thu, Jun 11, 2009 at 2:44 PM, Henning Thielemannlemm...@henning-thielemann.de wrote: On Thu, 11 Jun 2009, Jeff Heard wrote: case in point: Hieroglyph.  What's it do?  import Hieroglyph.  Is there any clue by my function names which ones belong

[Haskell-cafe] Weird and entirely random problem...

2009-06-10 Thread Jeff Heard
The code that causes it is here: http://hpaste.org/fastcgi/hpaste.fcgi/view?id=5731#a5731 This is the strangest thing. Occasionally, using nothing but gets and puts and frees on a non-full Cache will result in this: Cache { store = fromList

Re: [Haskell-cafe] Weird and entirely random problem...

2009-06-10 Thread Jeff Heard
. filter (f . snd) . IntMap.toList is more concisely (and efficiently) written as: IntMap.filter f Thanks, Neil. Jeff Heard wrote: The code that causes it is here: http://hpaste.org/fastcgi/hpaste.fcgi/view?id=5731#a5731 This is the strangest thing.  Occasionally, using nothing

Re: [Haskell-cafe] Change value of a variable

2009-06-07 Thread Jeff Heard
Sounds like a fold to me. Try looking at the doc of either foldl/r/l' or mapAccum depending on what you want.. Then write a function for one iteration that returns the value from that iteration combined with the value from the last iteration -- Jeff On Sun, Jun 7, 2009 at 3:44 PM,

[Haskell-cafe] ANN: Hieroglyph-2.21 and buster, buster-gtk, and buster-network-2.0

2009-05-18 Thread Jeff Heard
Tons of relevant changes. Almost too many to count... Buster: - Fixed performance and bugs in buster, - split out buster, buster-network, and buster-gtk to make it easier to only build components of the system. - Added new functions in buster for selection and debugging. - Added behaviours in

[Haskell-cafe] Odd error message from ghc --make

2009-05-04 Thread Jeff Heard
I was just running a test that has compiled before just fine, and now I'm getting this rather odd message: EventBusTest.hs:20:9: Couldn't match expected type `Bus a' against inferred type `buster-1.1:App.EventBus.Bus

[Haskell-cafe] haxr build failure from cabal

2009-04-22 Thread Jeff Heard
haxr will no longer compile from cabal because of the dependency marked HTTP 1.0. The current version of the library requires HTTP 4000.0.0 as it stands. Can it be updated real quick in hackage? -- Jeff ___ Haskell-Cafe mailing list

[Haskell-cafe] Comments from two weeks of using Leksah

2009-04-21 Thread Jeff Heard
I've been using the latest and greatest version of leksah for the last couple of weeks and I wanted to give a short report on the things I've found. First of all, it's crashed only once, and the error was an actual segfault, so I'm not sure what went wrong there. All in all, I like the eyecandy

Re: [Haskell-cafe] Comments from two weeks of using Leksah

2009-04-21 Thread Jeff Heard
on Windows. On Tue, Apr 21, 2009 at 5:06 PM, Jeff Heard jefferson.r.he...@gmail.com wrote: I've been using the latest and greatest version of leksah for the last couple of weeks and I wanted to give a short report on the things I've found. First of all, it's crashed only once, and the error

Re: [Haskell-cafe] GHC accepts libraries compiled with Visual Studio?

2009-04-06 Thread Jeff Heard
I've noticed this before. I in fact have really only tried FTGL with VC compiled lib files... On Mon, Apr 6, 2009 at 5:34 PM, Peter Verswyvelen bugf...@gmail.com wrote: To my surprise GHC seems to accept .lib files (produced by e.g. Visual Studio on Windows) directly; I don't need to convert

[Haskell-cafe] Configuring cabal dependencies at install-time

2009-04-06 Thread Jeff Heard
Is there a way to do something like autoconf and configure dependencies at install time? Building buster, I keep adding dependencies and I'd like to keep that down to a minimum without the annoyance of littering Hackage with dozens of packages. For instance, today I developed an HTTP behaviour

Re: [Haskell-cafe] How to get glyph outline from ttf font.

2009-04-04 Thread Jeff Heard
Yes, the FTGL library, but it uses FTGL on the backend and not freetype directly. You might be able to get the flyph shapes from Pango... On Sat, Apr 4, 2009 at 12:59 PM, Dmitry V'yal akam...@gmail.com wrote:        Greetings. I'm trying to render some glyphs from ttf font to svg image using

[Haskell-cafe] First time I've gotten gtk2hs to install from ports on Mac OS X from scratch

2009-04-04 Thread Jeff Heard
The instructions in the leksah manuals seem to work for doing a straight-up ports install of gtk2hs. I've never managed to get it to install without compiling manually, but this worked $ sudo port install gtk2 cairo librsvg libglade2 gtksourceview2 gtkglext gtk-chtheme gtk2-clearlooks $ sudo

[Haskell-cafe] Leksah+Gtk2Hs link error on Mac OS X Leopard

2009-04-04 Thread Jeff Heard
I tried installing leskah on OS X using the x11 version of gtk2hs (because I use gtkglext a lot in my work, and need it, therefore the quartz build won't work for me) I get these errors. Is this leksah specific or is this a more general problem with gtk2hs? Linking dist/build/leksah/leksah ...

[Haskell-cafe] Link errors in Gtk2Hs are more general than I thought.

2009-04-04 Thread Jeff Heard
cairo librsvg libglade2 gtksourceview2 gtkglext $ sudo port install gtk-chtheme gtk2-clearlooks sudo port -k install ghc gtk2hs hs-cabal $ cabal install yi Running OS X 10.5.6 (Leopard) on a MacBook 2.4 gHz Core 2 Duo -- Jeff -- Forwarded message -- From: Jeff Heard

Re: [Haskell-cafe] Announcement: Beta of Leksah IDE available

2009-04-03 Thread Jeff Heard
Jurgen... I have one more question, or rather request... I'm running under Ubuntu, and I get inconsistencies with packages that I build and install via Leksah not showing up when I configure other packages that depend on them. Then I notice that you're using runhaskell Setup.lhs ... to configure

[Haskell-cafe] A fair number of updates to Buster since the other day - 0.99.5

2009-04-03 Thread Jeff Heard
http://vis.renci.org/jeff/2009/04/03/major-updates-to-buster/ Added several new widgets and several new behaviours related to file reading and writing, exceptions, and the system/program environment. -- Jeff ___ Haskell-Cafe mailing list

[Haskell-cafe] ANN: Buster 0.99.1, a library for application orchestration that is not FRP

2009-04-02 Thread Jeff Heard
Read more about it on its webpage: http://vs.renci.org/jeff/buster Yes, it’s to solve a particular problem. And yes, this is a rough draft of an explanation of how it works. I’ve not even really solidified the vocabulary yet, but I have this module which couches a large, abstract, interactive

Re: [Haskell-cafe] ANN: Buster 0.99.1, a library for application orchestration that is not FRP

2009-04-02 Thread Jeff Heard
...@gmail.com: Sounds vaguely like Grapefruit's circuits, but I could be very wrong... The link you provided seems to be broken? On Thu, Apr 2, 2009 at 3:05 PM, Jeff Heard jefferson.r.he...@gmail.com wrote: Read more about it on its webpage: http://vs.renci.org/jeff/buster Yes, it’s to solve

Re: [Haskell-cafe] ANN: Buster 0.99.1, a library for application orchestration that is not FRP

2009-04-02 Thread Jeff Heard
Check links... god. http://vis.renci.org/jeff/buster (can you tell I was up till 3am last night?) On Thu, Apr 2, 2009 at 10:05 AM, Jeff Heard jefferson.r.he...@gmail.com wrote: Yes,sorry.  vis, not vs. http://vis.renci.org/buster It is a bit like grapefruit's circuits, but where Grapefruit

Re: [Haskell-cafe] ANN: Buster 0.99.1, a library for application orchestration that is not FRP

2009-04-02 Thread Jeff Heard
it a basic part of Event. -- Jeff On Thu, Apr 2, 2009 at 11:05 AM, Jules Bean ju...@jellybean.co.uk wrote: Jeff Heard wrote: A last but somewhat minor thing is that the Event type is fairly general, allowing for multiple data to be attached to a single event and this data to be of many

Re: [Haskell-cafe] ANN: Buster 0.99.1, a library for application orchestration that is not FRP

2009-04-02 Thread Jeff Heard
On Thu, Apr 2, 2009 at 11:22 AM, Jules Bean ju...@jellybean.co.uk wrote: Maybe I wasn't clear, and probably I'm being dense. I understand what you've done - I looked at the type declarations before commenting - but I don't understand why. Why is it useful to be able to use basic types

Re: [Haskell-cafe] ANN: Buster 0.99.1, a library for application orchestration that is not FRP

2009-04-02 Thread Jeff Heard
Alright, updated it to extract EData from the Event type and make it separate. Basically, now all type signatures Event a Widget a Behaviour a should read Event [EData a] Widget [EData a] Behaviour [EData a] for backward compatibility. On Thu, Apr 2, 2009 at 11:53 AM, Jeff Heard

Re: [Haskell-cafe] Announcement: Beta of Leksah IDE available

2009-04-01 Thread Jeff Heard
I have one problem so far (and one segfault), but I like the IDE a lot. When I create a new package inside one of my current source directories, it adds all the modules in that directory to *both* the exposed and additional unexposed modules list, resulting in a net zero modules in the package.

[Haskell-cafe] Re: Haxr doesn't compile from cabal (HTTP 4000 breaks it)

2009-03-28 Thread Jeff Heard
haxr's also based on a fairly old version of HaXml. I'm not sure what the performance of the library is, other than it seems acceptable, but moving to ByteStrings all the way through might do some good. On Fri, Mar 27, 2009 at 9:13 PM, Henning Thielemann lemm...@henning-thielemann.de wrote:

Re: [Haskell-cafe] Ease of Haskell development on OS X?

2009-03-20 Thread Jeff Heard
Critiano, despite that thread, yes, there is decent support for Haskell on Mac OS X. The main problem is that the ports system to install Gtk2Hs isn't terribly great, as in it mostly doesn't work, but if you're willing to get Gtk2Hs compiled on your own, then after that, I've found it to be

Re: [Haskell-cafe] Ease of Haskell development on OS X?

2009-03-20 Thread Jeff Heard
://www.haskell.org/haskellwiki/Gtk2hs#Using_the_GTK.2B_OS_X_Framework -Ross On Mar 20, 2009, at 2:10 PM, Jeff Heard wrote: cabal-install works for me.  The one thing that would be REALLY REALLY nice (and I'm cc-ing Duncan on this) is a .dmg for Gtk2Hs on Mac OS X. There exists a ports build

Re: [Haskell-cafe] Ease of Haskell development on OS X?

2009-03-20 Thread Jeff Heard
Ah wait... I can't read. section 4.1.2 explains the macports installation. I'll try that. On Fri, Mar 20, 2009 at 2:56 PM, Jeff Heard jefferson.r.he...@gmail.com wrote: That one doesn't work with OpenGL, however and won't in the forseeable future.    Incidentally, just now doing a ports

Re: [Haskell-cafe] Ease of Haskell development on OS X?

2009-03-20 Thread Jeff Heard
supported with the framework version. -Ross On Mar 20, 2009, at 2:56 PM, Jeff Heard wrote: That one doesn't work with OpenGL, however and won't in the forseeable future.    Incidentally, just now doing a ports install gtk2hs gives me the following error on my brand new MacBook: $ sudo

Re: [Haskell-cafe] Ease of Haskell development on OS X?

2009-03-20 Thread Jeff Heard
Don, good to know; I hadn't checked for packaging tools outside of cabal in Hackage :) 2009/3/20 Don Stewart d...@galois.com: dons: Good to hear you're shipping graphical Haskell apps, Jefferson. Well done. We do have tools for packaging for various distros:     * Mac OSX:    

Re: [Haskell-cafe] Text bug in Hieroglyph 1.2

2009-03-19 Thread Jeff Heard
? Most packages on Hackage have a 'Maintainer' field providing an email address to which you can send bug reports.  Although I see that in this particular case, Jeff Heard did not list an email address in the Maintainer field for Hieroglyph. -Brent

Re: [Haskell-cafe] Text bug in Hieroglyph 1.2

2009-03-19 Thread Jeff Heard
Danny, I'll fix this today and repost and add a maintainer email address in the cabal package while I'm at it. Thanks! 2009/3/19 Danny Chan chan_...@yahoo.de: Since I haven't found out how to report bugs for this package, I am posting this here. Changing the color of Text elements in a

Re: [Haskell-cafe] Text bug in Hieroglyph 1.2

2009-03-19 Thread Jeff Heard
Bug fixed. Package uploaded to Hackage. 2009/3/19 Danny Chan chan_...@yahoo.de: Since I haven't found out how to report bugs for this package, I am posting this here. Changing the color of Text elements in a Hieroglyph image like this: text {attributes = plain {strokeRGBA = opaque blue}}

Re: [Haskell-cafe] Visualising the Hierarchical Namespace

2009-03-16 Thread Jeff Heard
Very impressive looking, Don. -- Jeff On Mon, Mar 16, 2009 at 11:14 AM, Don Stewart d...@galois.com wrote: Oh, barely any time (maybe 30-60 seconds). It's just a 10k node graph with a 50k edges. :) vanenkj: How long did the haskell universe graphs take to render? On Mon, Mar 16, 2009 at

Re: [Haskell-cafe] Visualising the Hierarchical Namespace

2009-03-16 Thread Jeff Heard
That's why I just asked on IRC for them :-) Also wrote most of a Hieroglyph script last night to replace the graph of daily uploads on Hackage. Will send it out tonight or tomorrow. On Mon, Mar 16, 2009 at 11:17 AM, Don Stewart d...@galois.com wrote: My secret hope is that Jeff will take the

[Haskell-cafe] Haxr doesn't compile from cabal (HTTP 4000 breaks it)

2009-03-12 Thread Jeff Heard
The haxr cabal library dependencies seem to be off. I wonder, since haxr would benefit highly from the HTTP 4k series of performance improvements, is it trivial to make it compatible with the latest library? -- Jeff ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Abuse of the monad [was: monadic logo]

2009-03-12 Thread Jeff Heard
Come to think of it, I've never seen an applicative tutorial of Parsec, only a monadic one. Does such a beast exist, and if so, maybe we could merge the two together, work the same example in both, and thus help the programmer make the shift from monadic to applicative, from order of parsing to

Re: [Haskell-cafe] Abuse of the monad [was: monadic logo]

2009-03-12 Thread Jeff Heard
Oh, I know it's not specific to parsec, it just seems like parsec's used enough and well understood enough that it would make a good tutorial. On Thu, Mar 12, 2009 at 11:36 AM, Martijn van Steenbergen mart...@van.steenbergen.nl wrote: Jeff Heard wrote: Come to think of it, I've never seen

[Haskell-cafe] New version of Hieroglyph released: Hieroglyph 1.1 is on hackage

2009-02-24 Thread Jeff Heard
For those of you who don't read Reddit: Changes are minor right now. The main thing is that I'm now using Russell O'Connor's excellent Data.Colour library. The only other changes were to make H. compile with Gtk2Hs 0.10.x and to make it a bit easier to integrate Gtk2Hs guis with Hieroglyph and

Re: [Haskell-cafe] Showing 100% CPU usage of parallel code

2009-02-21 Thread Jeff Heard
Jim, I'm actually not sure that time will report greater than 100% cpu on ubuntu hardy. (really not sure, and don't have it available right this moment to check). I would however try making a computation that will take a little longer and use the system monitor or /proc to look at your CPU usage

Re: [Haskell-cafe] Re: [Haskell] ANNOUNCE: first Grapefruit release

2009-02-18 Thread Jeff Heard
When he gives you the code, could you let me know? I would really love to bind Open Scene Graph, but it's entirely C++ and that makes for a lot more difficult coding to say the least. On Wed, Feb 18, 2009 at 4:17 AM, Wolfgang Jeltsch g9ks1...@acme.softbase.org wrote: Am Dienstag, 17. Februar

Re: [Haskell-cafe] Re: [Haskell] ANNOUNCE: first Grapefruit release

2009-02-16 Thread Jeff Heard
I would actually quite like to integrate Hieroglyph with Grapefruit, which would give you your Cairo support and give me a sensible way to implement events outside of my really rather broken model. On Mon, Feb 16, 2009 at 10:04 AM, Wolfgang Jeltsch g9ks1...@acme.softbase.org wrote: Am Montag,

[Haskell-cafe] Re: [Gtk2hs-users] Gtk2HS 0.10.0 Released

2009-02-10 Thread Jeff Heard
Wonderful! Who maintains the mac-ports port of it? I'm itching to get hieroglyph working on the Mac. On Tue, Feb 10, 2009 at 11:40 PM, Peter Gavin pga...@gmail.com wrote: Hi everyone, Oh, dear... it seems I've forgotten how to spell cafe, and sent this message to haskell-c...@haskell.org

Re: [Haskell-cafe] Elegant powerful replacement for CSS

2009-02-03 Thread Jeff Heard
Similarly, I've been wondering what's at the core of a GUI? It seems in recent years that more people have been moving towards web-based applications, and away from traditional GUIs, so the meaning of them may be changing. The old question seemed to be Page vs. Control-Board, but that seems like

Re: [Haskell-cafe] Elegant powerful replacement for CSS

2009-02-03 Thread Jeff Heard
denotationally-semantic GUI toolkit that works for everyone everywhere. On Tue, Feb 3, 2009 at 4:48 PM, Malcolm Wallace malcolm.wall...@cs.york.ac.uk wrote: Jeff Heard wrote: Similarly, I've been wondering what's at the core of a GUI? It seems in recent years that more people have been moving

Re: [Haskell-cafe] Re: Why binding to existing widget toolkits doesn't make any sense

2009-02-02 Thread Jeff Heard
That's my thought. On Mon, Feb 2, 2009 at 7:23 AM, Achim Schneider bars...@web.de wrote: Stephen Tetley stephen.tet...@gmail.com wrote: Also, Shiva-VG - http://sourceforge.net/projects/shivavg - the implementation of OpenVG that the Haskell binding works with supports OpenVG 1.0.1, so it

Re: [Haskell-cafe] Re: Why binding to existing widget toolkits doesn't make any sense

2009-02-01 Thread Jeff Heard
Everyone, I'll be releasing Hieroglyph this week. Right now I'm unit testing and I've been out of town this past weekend without much opportunity to work on it. It's not yet a complete functional re-working of Cairo -- for instance, right now patterns aren't supported, and Pango layouts aren't

Re: [Haskell-cafe] Re: Why binding to existing widget toolkits doesn't make any sense

2009-02-01 Thread Jeff Heard
Thanks, Peter, for the paper link... I'll look at this, as it's exactly what it sounds like I want for the future of Hieroglyph... 2009/1/31 Peter Verswyvelen bugf...@gmail.com: Hi Conal, Do you have any links to this interesting work of Jefferson Heard? Blogs or something? I failed to Google

Re: [Haskell-cafe] Re: Why binding to existing widget toolkits doesn't make any sense

2009-02-01 Thread Jeff Heard
Oh, and by functional, I mean that it isn't a complete re-wrapping of the library, not that you have IO creeping in all over the place. Pardon my unclearness. On Sun, Feb 1, 2009 at 6:10 PM, Jeff Heard jefferson.r.he...@gmail.com wrote: Everyone, I'll be releasing Hieroglyph this week. Right

Re: [Haskell-cafe] Re: Why binding to existing widget toolkits doesn't make any sense

2009-02-01 Thread Jeff Heard
I will happily check it on Linux. I'm only vaguely familiar with OpenVG... In theory it's a good API, and would support exactly what I'd need for a backend to Hieroglyph that isn't Cairo based, but we'd still need a good image API and probably to bind to Pango to get text and layout support. For

Re: [Haskell-cafe] ANN: data-spacepart - space partitioning data structure[s] (initial release)

2009-01-27 Thread Jeff Heard
I'll be releasing an R-Tree fairly soon... not sure whether it'll fit into this package or not, but we might conisder merging. On Tue, Jan 27, 2009 at 10:52 PM, Artyom Shalkhakov artyom.shalkha...@gmail.com wrote: Hello, 2009/1/27 Corey O'Connor coreyocon...@gmail.com:

Re: [Haskell-cafe] Employment

2009-01-19 Thread Jeff Heard
Haskell's all I use at work, although no-one requires it. I know that Ravi Nanavati's company uses Haskell pretty exclusively, and there's also Galois and a couple of financial houses. I was pretty impressed with the professional turnout for ICFP 2008. -- Jeff On Mon, Jan 19, 2009 at 2:34 PM,

[Haskell-cafe] OS X build failure of Gtk2Hs from MacPorts

2009-01-17 Thread Jeff Heard
/opt/local/bin/ghc +RTS -RTS -c tools/hierarchyGen/TypeGen.hs -o tools/hierarchyGen/TypeGen.o -O -itools/hierarchyGen -package-conf package.conf.inplace -hide-all-packages -package base package.conf.inplace: openBinaryFile: does not exist (No such file or directory) /opt/local/bin/ghc +RTS -RTS -c

[Haskell-cafe] New blog on Haskell and Haskell in Visualization

2009-01-17 Thread Jeff Heard
Just started up a blog on my own random lumberings through Haskell and the visualizations I've produced in Haskell. Have plenty of content on backlog, so I should be updating regularly. That's about all! http://vis.renci.org/jeff/ -- Jeff ___

Re: [Haskell-cafe] OS X build failure of Gtk2Hs from MacPorts

2009-01-17 Thread Jeff Heard
That would probably be the problem, then, yes. I'm still using GHC 6.8.3 in most of my code, but MacPorts doesn't respect the existing installation of GHC 6.8.3 that I installed via the DMG package on http://haskell.org/ghc On Sat, Jan 17, 2009 at 5:56 PM, Yitzchak Gale g...@sefer.org wrote:

Re: [Haskell-cafe] ANN: HTTPbis / HTTP-4000.x package available

2009-01-16 Thread Jeff Heard
Just as a reported speedup, downloading a 5MB file from my own local machine (via http) went from 1.05 secs to 0.053 secs. Yes, it's really an order of magnitude better. Performance now is on par or slightly better than cURL (however to get more protocols than HTTP, you'll still need the

Re: [Haskell-cafe] ANN: HTTPbis / HTTP-4000.x package available

2009-01-16 Thread Jeff Heard
Yes, please do. At some point soon, I will do and release a feature and performance benchmark on HTTP-3xxx, -4xxx, -lazy (if you release it), and cURL, that way people can use what's best for their application. On Fri, Jan 16, 2009 at 12:29 PM, Don Stewart d...@galois.com wrote: lemming: On

[Haskell-cafe] Defining methods generically for a class

2009-01-08 Thread Jeff Heard
I have the following class: class Region a where numDimensions :: a - Int dim :: Int - a - (Double,Double) merge :: a - a - a and several ancillary methods defined, the most importance of which is: bounds :: Region a = a - [(Double,Double)] bounds r = take (numDimensions r) . map

Fwd: [Haskell-cafe] Defining methods generically for a class

2009-01-08 Thread Jeff Heard
-- Forwarded message -- From: Jeff Heard jefferson.r.he...@gmail.com Date: Thu, Jan 8, 2009 at 12:26 PM Subject: Re: [Haskell-cafe] Defining methods generically for a class To: Cristiano Paris fr...@theshire.org Not really... I'm not testing if each of the items a are equal

Re: [Haskell-cafe] Defining methods generically for a class

2009-01-08 Thread Jeff Heard
Jeff, Jeff Heard wrote: instance Region a = Eq a where regiona == regionb = all $ zipWith (==) (bounds regiona) (bounds regionb) If you want to be Haskell98 compliant, why not define regionEquals :: Region a = a - a - Bool as above and use that everywhere instead of (==)? If you insist

Re: [Haskell-cafe] Template Haskell question

2009-01-07 Thread Jeff Heard
...@lempsink.nl wrote: On 6 jan 2009, at 18:08, Jeff Heard wrote: Alright... I *think* I'm nearly there, but I can't figure out how to derive a class instance using record accessors and updaters... Can anyone help? There are [| XXXf |] instances at the end of the module and they all need

[Haskell-cafe] Template Haskell question

2009-01-06 Thread Jeff Heard
Alright... I *think* I'm nearly there, but I can't figure out how to derive a class instance using record accessors and updaters... Can anyone help? There are [| XXXf |] instances at the end of the module and they all need replaced, but I can't figure out what to replace them with. The basic

Re: [Haskell-cafe] Don't make 'show*' functions

2008-12-26 Thread Jeff Heard
I don't think that making Show a type class was a mistake. I think that we have long since overloaded the meaning of Show and made it ambiguous. There are multiple distinct reasons people use Show, and this gets confusing. It would be good if we as a community tried to nail down these different

[Haskell-cafe] ANN: Hieroglyph 0.85

2008-12-25 Thread Jeff Heard
I have changed the name of Thingie to Hieroglyph and added support for displaying images on the Cairo canvas. I'm still working on using template haskell to derive the basic UIState class, but I don't understand template haskell all that well, so it's taking some time. Hopefully I can get some

[Haskell-cafe] ANN: Control.Monad.IfElse 0.85

2008-12-24 Thread Jeff Heard
Updated Control.Monad.IfElse to include Wren Thornton's Control.Monad.Extras, unlessM, ncond (unless-else chaining), ncondM, and more binary conditional operators. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] Renaming a package on Hackage

2008-12-24 Thread Jeff Heard
How does one go about renaming a package on Hackage? I finally figured out a name for Thingie, and I'd like to change the package name to reflect that, so that future versions look to the new package and not the old one. ___ Haskell-Cafe mailing list

[Haskell-cafe] ANN: Control.Monad.IfElse

2008-12-22 Thread Jeff Heard
Provides useful anaphoric and monadic versions of if-else and when, as well as infix operators for the actions to allow things like this: -- Allow the clause to be in m a whenM (Gtk.widgetIsFocus win) $ do this that -- anaphoric if. If the condition is nonempty, pass the conditional value

[Haskell-cafe] Beginner's TH question

2008-12-20 Thread Jeff Heard
Two things... can I add fields to records using Template Haskell, like: data T = T { $fields, myfield :: Field, ... } I assume the answer there is no, and then what's wrong with this? I get: Illegal instance declaration for `UIState t' (All instance types must be of the form (T a1

[Haskell-cafe] ANN: Thingie-0.80

2008-12-18 Thread Jeff Heard
I need a better name for this, but I have software, so I shall release it with a dumb name. Thingie has just been uploaded to hackage. It is a library for creating 2D visualizations in a purely functional manner. It supports static visualizations and animation, and like most vis libraries, can

[Haskell-cafe] Re: ANN: Thingie-0.80

2008-12-18 Thread Jeff Heard
Make that version 0.81 -- added in a module that exports all the other modules except BasicUIState. On Thu, Dec 18, 2008 at 5:12 PM, Jeff Heard jefferson.r.he...@gmail.com wrote: I need a better name for this, but I have software, so I shall release it with a dumb name. Thingie has just been

Re: [Haskell-cafe] ghc on CentOS 5 ?

2008-12-12 Thread Jeff Heard
I had luck building the latest GHC from source using the ghc 6.6 binary build to bootstrap. The 6.8+ binary builds run into a timer issue, at least on 64 bit CentOS that causes them to bork out during the configure script. 2008/12/12 Steve Lihn stevel...@gmail.com: I recently got a CentOS

Re: [Haskell-cafe] Re: Haskell project proposals reddit

2008-12-10 Thread Jeff Heard
I'm working on this now. R-Tree, not Oct-tree, but it'll be there soon. Also working on GDAL/OGR bindings. On Wed, Dec 10, 2008 at 4:26 AM, Neal Alexander [EMAIL PROTECTED] wrote: Don Stewart wrote: I'd like to echo Jason's remarks earlier. http://www.reddit.com/r/haskell_proposals/

[Haskell-cafe] Dr Dobbs: Time to get good at functional programming

2008-12-07 Thread Jeff Heard
Seen on Slashdot: http://www.ddj.com/development-tools/212201710;jsessionid=3MQLTTYJRPL3CQSNDLRSKH0CJUNN2JVN ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] library to process zip files

2008-12-03 Thread Jeff Heard
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/zip-archive On Wed, Dec 3, 2008 at 5:59 PM, Yuriy [EMAIL PROTECTED] wrote: On Thu, Dec 04, 2008 at 11:56:10AM +1300, Yuriy wrote: Hi, Is there any haskell library to work with ZIP file format? Thanks, Yuriy

Re: [Haskell-cafe] Re: [Haskell] GHC 6.10 and OpenGL

2008-11-23 Thread Jeff Heard
Duncan, what kind of help do you need on the Haskell Platform install? I have access to VMs running windows XP and Vista. On Sun, Nov 23, 2008 at 8:12 AM, Duncan Coutts [EMAIL PROTECTED] wrote: On Sun, 2008-11-23 at 08:00 -0500, Paul L wrote: On 11/23/08, Duncan Coutts [EMAIL PROTECTED] wrote:

  1   2   >