Re: [Haskell-cafe] Haskell-Cafe Tag (was: Optimizations and parallel execution in the IO for a small spellchecker)

I was not aware that it was something a poster was supposed to do, but
now I notice that while the messages I get from the list have
[Haskell-Cafe] on their subject, the ones I post don't. The
Haskell-Cafe info page
(http://www.haskell.org/mailman/listinfo/haskell-cafe) does not
mention that you should have that tag in the subject. I'm probably a
uncouth Frenchman knowing nothing about netiquette, but surely the
list software could add such a tag if it was required?
JP
On Wed, Feb 15, 2012 at 8:14 PM, Paul Sujkov
Sorry, I've forgotten to add a [Haskell-Cafe] tag for the message.
On 15 February 2012 19:33, Paul Sujkov
wrote: Hi everyone,
that's a very simple spellchecker application: it consumes standard Linux dictionary, reads a file, and prints out words from that file that are not on the dictionary. I have taken it from a little cross-language benchmark and used to benchmark existing hash table implementations available on Hackage (with one used in code being the best according to timings). The question is: can I go further and effectively execute lookup and (maybe) output (line 20 or line 26 in the snippet) in parallel?
I'm not good at all with Haskell parallel packages; I've tried monad-parallel (naive implementation eats away all the memory available) and parallel (haven't tried Par monad yet), but the last dosn't seem to fit well with the IO operations. If anyone can give me any suggestions on how can I implement parallel execution, or any thoughts on further sequential optimizations, it would be deeply appreciated.
-- Regards, Paul Sujkov
-- Regards, Paul Sujkov
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- JP Moresmau http://jpmoresmau.blogspot.com/

On Wed, Feb 15, 2012 at 1:49 PM, JP Moresmau
I was not aware that it was something a poster was supposed to do, but now I notice that while the messages I get from the list have [Haskell-Cafe] on their subject, the ones I post don't. The Haskell-Cafe info page (http://www.haskell.org/mailman/listinfo/haskell-cafe) does not mention that you should have that tag in the subject. I'm probably a uncouth Frenchman knowing nothing about netiquette, but surely the list software could add such a tag if it was required?
The tag appears to be added automatically by the mailing-list software that haskell-cafe runs on. I see it on threads that you have started, so there is no problem with your emails. If you add it manually, it looks like the software won't double-add it. Antoine

On Wed, Feb 15, 2012 at 14:49, JP Moresmau
I was not aware that it was something a poster was supposed to do, but now I notice that while the messages I get from the list have [Haskell-Cafe] on their subject, the ones I post don't.
The list software adds it. You don't see it because the copy from the list has the same message id as the copy gmail saves when you send it, so gmail tosses the list copy from your mailstore as a duplicate. Don't worry about it. -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms

OK, thanks all, I can stop worrying being an uncouth Frenchman, then...
JP
On Wed, Feb 15, 2012 at 9:01 PM, Brandon Allbery
On Wed, Feb 15, 2012 at 14:49, JP Moresmau
wrote: I was not aware that it was something a poster was supposed to do, but now I notice that while the messages I get from the list have [Haskell-Cafe] on their subject, the ones I post don't.
The list software adds it. You don't see it because the copy from the list has the same message id as the copy gmail saves when you send it, so gmail tosses the list copy from your mailstore as a duplicate. Don't worry about it.
-- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms
-- JP Moresmau http://jpmoresmau.blogspot.com/

Le 15 février 2012 21:32, JP Moresmau
OK, thanks all, I can stop worrying being an uncouth Frenchman, then...
Not that I post a lot, but you had me worried for a while, too. David.
participants (4)
-
Antoine Latter
-
Brandon Allbery
-
David Virebayre
-
JP Moresmau