[Haskell-cafe] haskell.org down

2006-09-24 Thread Pasqualino 'Titto' Assini
Haskell.org has been down for over 7 hours (see attached log). The Web master might use host-tracker.com (or a similar free tracking service) to keep an eye on it. Regards, titto From: HostTracker Notifier [mailto:[EMAIL PROTECTED] Sent: 24 September 2006 10:41 To:

[Haskell-cafe] Writing forum software in Haskell

2006-09-24 Thread David House
Hi all. The recent thread on email vs. forums inspired a bit of interest to get some forum software on haskell.org. Were we to go ahead with this, I think it'd be great to have this software written in Haskell itself. I'd also love to be involved in a collaboration should one be drummed up to

Re: [Haskell-cafe] Writing forum software in Haskell

2006-09-24 Thread Sebastian Sylvan
On 9/24/06, David House [EMAIL PROTECTED] wrote: Hi all. The recent thread on email vs. forums inspired a bit of interest to get some forum software on haskell.org. Were we to go ahead with this, I think it'd be great to have this software written in Haskell itself. I'd also love to be involved

[Haskell-cafe] Re: Writing forum software in Haskell

2006-09-24 Thread David House
On 24/09/06, David House [EMAIL PROTECTED] wrote: WordPress support forums [1]. Forgot to reference this. http://wordpress.org/support -- -David House, [EMAIL PROTECTED] ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] FFI and LD_PRELOAD - segfault

2006-09-24 Thread Anatoly Zaretsky
On 9/23/06, Stephan Walter [EMAIL PROTECTED] wrote: I'm trying to use a shared lib written in Haskell to overload C functions via LD_PRELOAD. [snip] This aborts with a segfault in scheduleWaitThread() from ./libtestffi.so The test program doesn't use threads, so I'm wondering what I did

[Haskell-cafe] Re: FFI and LD_PRELOAD - segfault

2006-09-24 Thread Stephan Walter
On Sun, 24 Sep 2006 20:20:55 +0300, Anatoly Zaretsky wrote: #include HsFFI.h extern void __stginit_Socks(void); static void __attribute__ ((constructor)) my_init(void) { int argc = 1; char *argv[] = {Haskell shared object}; char **argvp = argv; hs_init(argc, argvp);

Re: [Haskell-cafe] Re: FFI and LD_PRELOAD - segfault

2006-09-24 Thread Anatoly Zaretsky
On 9/24/06, Stephan Walter [EMAIL PROTECTED] wrote: gcc -g -Wall -I/usr/lib/ghc-6.4.2/include -c -o hsinit.o hsinit.c or ghc -c hsinit.c or even ghc -Wall -optl -shared -o libtestffi.so \ hsinit.c testffi.o testffi_stub.o Could anybody familiar with ghc linking details comment on

Re: [Haskell-cafe] Writing forum software in Haskell

2006-09-24 Thread Max Strini
On Sun, 24 Sep 2006 13:20:54 +0100, Sebastian Sylvan [EMAIL PROTECTED] said: On 9/24/06, David House [EMAIL PROTECTED] wrote: [...] * What would be a list of things to avoid like the plague? Too many formatting options (italic and bold should do it), avatars, sigs etc. As text is more

[Haskell-cafe] Re: FFI and LD_PRELOAD - segfault

2006-09-24 Thread Stephan Walter
On Sun, 24 Sep 2006 21:37:32 +0300, Anatoly Zaretsky wrote: ghc -Wall -optl -shared -o libtestffi.so \ hsinit.c testffi.o testffi_stub.o Ok, that is even shorter. And it seems you don't have to call hs_add_root() or hs_exit(). At least for me it works with this hsinit.c: #include

Re: [Haskell-cafe] Writing forum software in Haskell

2006-09-24 Thread Brian Hulley
David House wrote: Hi all. The recent thread on email vs. forums inspired a bit of interest to get some forum software on haskell.org. Were we to go ahead with this, I think it'd be great to have this software written in Haskell itself. [snip] * What kind of forum are we aiming at? In my

Re: [Haskell-cafe] Unable to profile program using Data.ByteString.Lazy

2006-09-24 Thread Lyle Kopnicky
Donald Bruce Stewart wrote: Probably you didn't build fps with profiling as well? You can rebuild fps with: runhaskell Setup.hs configure -p as the first step. -- Don Thanks, I'll try it. Does that mean when I want to optimize my program, I'll need to rebuild fps without profiling?

Re: [Haskell-cafe] Unable to profile program using Data.ByteString.Lazy

2006-09-24 Thread Donald Bruce Stewart
lists: Donald Bruce Stewart wrote: Probably you didn't build fps with profiling as well? You can rebuild fps with: runhaskell Setup.hs configure -p as the first step. -- Don Thanks, I'll try it. Does that mean when I want to optimize my program, I'll need to rebuild fps