Re: [Haskell-cafe] Language Shootout

2012-02-15 Thread David Hotham
http://lmgtfy.com/?q=llvm+site%3Ahttp%3A%2F%2Fshootout.alioth.debian.org%2F
  Louis Wasserman wasserman.lo...@gmail.com wrote in message 
news:CA+tXMXOmVYvGfAiFsf-uVv7rRv7e=vUv=mxtr-dtnnvmr12...@mail.gmail.com...
  Out of curiosity, do we know why the Language Shootout has upgraded to GHC 
7.4.1, but still isn't using -fllvm for e.g. the spectral-norm benchmark?  (It 
results in a nonnegligible speedup on my machine.)

  Louis Wasserman
  wasserman.lo...@gmail.com
  http://profiles.google.com/wasserman.louis



--


  ___
  Haskell-Cafe mailing list
  Haskell-Cafe@haskell.org
  http://www.haskell.org/mailman/listinfo/haskell-cafe
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] [haskell-cafe] Some reflections on Haskell

2012-02-15 Thread David Waern
2012/2/15 Aristid Breitkreuz arist...@googlemail.com:
 In the source file, the Haddock documentation is there, no idea why it
 doesn't show up.

Thanks, this could be a bug in the new Haddock version. We'll look into it.

David

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Behavior of -threaded in GHC 7.4.1?

2012-02-15 Thread Michael Craig
Ok, so I've found that using the -V0 RTS flag to turn off the RTS clock
(and associated signals) makes the code run fine with -threaded. I'm still
digging through the implications of that, though. Has some behavior here
changed in 7.4.1?

Mike Craig



On Tue, Feb 14, 2012 at 3:54 PM, Michael Craig mks...@gmail.com wrote:

 Hi all,

 I'm debugging an issue with multithreading and FFI calls in 7.4.1. The
 code in question is the zeromq3-haskell library, which provides an FFI
 binding to ZeroMQ.

 A little background: ZeroMQ gives the programmer contexts and sockets.
 Contexts are thread-safe and generally used one-per-process, but sockets
 and not thread-safe so they're generally used one-per-thread.

 Have a look at the code in this gist: https://gist.github.com/1829190It's 
 just a server that prints requests and replies with Hello, and a
 client that sends the requests [1, 2, ..., 10] and prints the
 responses.

 Despite the fact that ZMQ sockets are not thread-safe, it was possible to
 compile and run this code with -threaded under 7.0.4. Using MVars or some
 other locking mechanism, it was even possible to use the same socket from
 multiple parallel threads. (As long as the socket was not actually used in
 parallel by multiple threads, all was well.) In 7.4.1, the code will only
 run if compiled without -threaded. With -threaded, it croaks with an
 operation on non-socket error, which generally refers to a socket that's
 either been closed or

 I've dug through the code in zeromq3-haskell and haven't found anything
 suspicious looking. Before I go digging into libzmq itself, can somebody
 assure me that nothing has changed in 7.4.1 with regard to -threaded or the
 FFI that might cause this breakage?

 Cheers,
 Mike Craig


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] podcast?

2012-02-15 Thread serialhex
Does anybody know of any good haskell/fp podcasts out there?  i dont know
if my googling skillz are just failing me, but i can't seem to find
anything.  thanks all!
hex

-- 
*  my blog is cooler than yours: http://serialhex.github.com
*  The wise man said: Never argue with an idiot. They bring you down to
their level and beat you with experience.
*  As a programmer, it is your job to put yourself out of business. What
you do today can be automated tomorrow. ~Doug McIlroy
No snowflake in an avalanche ever feels responsible.
---
CFO: “What happens if we train people and they leave?”
CTO: “What if we don’t and they stay?”
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] podcast?

2012-02-15 Thread Magnus Therning
On Wed, Feb 15, 2012 at 15:05, serialhex serial...@gmail.com wrote:
 Does anybody know of any good haskell/fp podcasts out there?  i dont know if
 my googling skillz are just failing me, but i can't seem to find anything.
  thanks all!

Software Engineering Radio (http://www.se-radio.net/) has had a few
episodes containing interviews with people in the FP community.
That's pretty much all I've ever been able to find.

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe               http://therning.org/magnus

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Undocumented cost-centres (.\) using auto-all, and SCC pragma not being honored

2012-02-15 Thread Dan Maftei

 1 When profiling my code with -auto-all, my .prof file names some
sub-expressions with a backslash. Cf. below. What are these?

 e_step
  e_step.ewords
  e_step.\
   e_step.\.\
e_step.update_counts
  e_step.fwords

My e_step function binds seven expressions inside a let, then uses them in
two ugly nested folds. (Yes, very hackish)  As you can see, three such
expressions are named explicitly (ewords, fwords, and update_counts). But
where are the rest? Further, perhaps the backslashes have something to do
with the lambda expressions I am using in the two nested folds?

2. A related question: I tried using the SCC pragma instead of auto-all. I
added it to all seven expressions inside the let, and to the nested folds.
However, only two showed up in the .prof file! How come?

Thanks
ninestraycats
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Optimizations and parallel execution in the IO for a small spellchecker

2012-02-15 Thread Paul Sujkov
Hi everyone,

http://hpaste.org/63732

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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Hackage 2 maintainership

2012-02-15 Thread Duncan Coutts
On 14 February 2012 10:43, Kirill Zaborsky qri...@gmail.com wrote:
 I apologize,
 But does hackage.haskell.org being down for some hours already has something
 with the process of bringing up Hackage 2?

No, completely independent. The server was down for a few hours (and I
think restored in the morning by the sysadmin at Galois).

It was while I was mirroring to the new test server, but I don't think
that was the cause of the outage.

Some people were joking that the old server didn't want to be retired
and so was shutting down to prevent the mirroring :-)

Duncan

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Concurrency strategy for 2 threads and rare events

2012-02-15 Thread JP Moresmau
Thank you all, I've used a simple IORef and that did the trick.

JP

2012/2/8 Edward Amsden eca7...@cs.rit.edu:
 If you only need one structure for communication (e.g. neither thread
 needs to lock multiple things) you might consider using an IORef, and
 writing/polling it with atomicModifyIORef. It's cheaper than an MVar
 for the case where you don't need to lock multiple threads.

 On Wed, Feb 8, 2012 at 2:45 PM, JP Moresmau jpmores...@gmail.com wrote:
 No, I meant they seem to be mainly for the use case where the reading
 thread blocks for more input, and maybe there's a simpler/more
 efficient way to quickly check if an event has occurred, that's all.
 If there isn't then a MVar it will be.

 JP

 On Wed, Feb 8, 2012 at 7:35 PM, Yves Parès yves.pa...@gmail.com wrote:
 Why do you think it's a lot? MVar are a teeny tiny and convenient primitive
 of communication, and I don't see why they wouldn't suit your need.
 Sure a throwTo would do the trick... But they're is do the trick and do
 the job, you see?

 Using STM and TVars *would* be kind of overkill.


 2012/2/8 JP Moresmau jpmores...@gmail.com

 Hello, I'm wondering what's the best strategy to use in the following
 scenario:
 - 2 threads
  - One perform some work that will take time, possibly go on forever
  - Another waits for user input (like commands from the keyboard)
 that affects thread 1 (causing it to stop, in the simplest case)

 I've read a bit on MVar and channels, but they seem to be a lot for
 cases where the reading thread block for input. In my case, I expect
 to have something that thread 2 updates when an event occur, and
 thread 1 checks it regularly. So thread 1 should not block, but should
 check is there something and there is, act on it, otherwise continue
 doing what it was currently doing. I suppose I could just tryTakeMVar
 on a MVar, but is there something more adapted to my needs?

 Thanks!

 --
 JP Moresmau
 http://jpmoresmau.blogspot.com/

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe





 --
 JP Moresmau
 http://jpmoresmau.blogspot.com/

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe



 --
 Edward Amsden
 Student
 Computer Science
 Rochester Institute of Technology
 www.edwardamsden.com



-- 
JP Moresmau
http://jpmoresmau.blogspot.com/

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] [Haskell-Cafe] Optimizations and parallel execution in the IO for a small spellchecker

2012-02-15 Thread Paul Sujkov
Sorry, I've forgotten to add a [Haskell-Cafe] tag for the message.

On 15 February 2012 19:33, Paul Sujkov psuj...@gmail.com wrote:

 Hi everyone,

 http://hpaste.org/63732

 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


Re: [Haskell-cafe] GHC -WAll, -fwarn-unused-do-bind and Cabal

2012-02-15 Thread Albert Y. C. Lai

On 12-02-14 03:01 PM, JP Moresmau wrote:

I'm confused: I'm using GHC 7.0.2 and Cabal 1.10.1.0 with
cabal-install 0.10.2. I use -Wall in my Cabal file. If I build a
Haskell file with unused do binds, via the GHC API I get no warning,
which is normal, since the doc states: The warnings that are not
enabled by -Wall are ..., -fwarn-unused-do-bind  But if I build my
project through cabal it gives me the warning! Why is compiling with
Cabal giving that extra warning that GHC on its own with the same
flags doesn't give? Using --verbose on cabal build does not give any
clue, no suspicious extra flag is passed on.


The plot thickens as I perform some experiments.

Experiment #1:

main :: IO ()
main = do { x - getLine; putStrLn thank you }

ghc -Wall =
Warning: Defined but not used: `x'

ghc -fwarn-unused-do-bind =
(no warning)

Apparently, warn-unused-do-bind does not mean that x is unused.

Experiment #2:

main :: IO ()
main = do { getLine; putStrLn thank you }

ghc -fwarn-unused-do-bind =
Warning: A do-notation statement discarded a result of type String.
 Suppress this warning by saying _ - getLine,
 or by using the flag -fno-warn-unused-do-bind

ghc -Wall =
Warning: A do-notation statement discarded a result of type String.
 Suppress this warning by saying _ - getLine,
 or by using the flag -fno-warn-unused-do-bind

ghc -Wall -fno-warn-unused-do-bind =
(no warning)

Apparently, -Wall turns on -fwarn-unused-do-bind, despite the user guide.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] GHC -WAll, -fwarn-unused-do-bind and Cabal

2012-02-15 Thread JP Moresmau
Yes, I would have suspected that the doc was wrong, and indeed the
latest version on GHC 7.4 does not mention that flag as being
excluded, but the fact is that through the GHC API, I don't get that
warning! I can get other warnings so I would say that the way I use
the API is correct.In the GHC 7.0 API are there several ways to get
warnings, or are some warnings only raised at the final generation
stage (which I don't do with the API)? That would be the most sensible
explanation: that warning is only raised during code generation but
not during loading and typechecking of the module. Can somebody privy
with GHC internals confirm? It's just that I've noticed the problem in
my EclipseFP/buildwrapper setup and I want to make sure the issue can
be explained if users run into it.

Thanks anyway for looking into it!

JP

On Wed, Feb 15, 2012 at 8:33 PM, Albert Y. C. Lai tre...@vex.net wrote:
 On 12-02-14 03:01 PM, JP Moresmau wrote:

 I'm confused: I'm using GHC 7.0.2 and Cabal 1.10.1.0 with
 cabal-install 0.10.2. I use -Wall in my Cabal file. If I build a
 Haskell file with unused do binds, via the GHC API I get no warning,
 which is normal, since the doc states: The warnings that are not
 enabled by -Wall are ..., -fwarn-unused-do-bind  But if I build my
 project through cabal it gives me the warning! Why is compiling with
 Cabal giving that extra warning that GHC on its own with the same
 flags doesn't give? Using --verbose on cabal build does not give any
 clue, no suspicious extra flag is passed on.


 The plot thickens as I perform some experiments.

 Experiment #1:

 main :: IO ()
 main = do { x - getLine; putStrLn thank you }

 ghc -Wall =
    Warning: Defined but not used: `x'

 ghc -fwarn-unused-do-bind =
 (no warning)

 Apparently, warn-unused-do-bind does not mean that x is unused.

 Experiment #2:

 main :: IO ()
 main = do { getLine; putStrLn thank you }

 ghc -fwarn-unused-do-bind =
    Warning: A do-notation statement discarded a result of type String.
             Suppress this warning by saying _ - getLine,
             or by using the flag -fno-warn-unused-do-bind

 ghc -Wall =
    Warning: A do-notation statement discarded a result of type String.
             Suppress this warning by saying _ - getLine,
             or by using the flag -fno-warn-unused-do-bind

 ghc -Wall -fno-warn-unused-do-bind =
 (no warning)

 Apparently, -Wall turns on -fwarn-unused-do-bind, despite the user guide.

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe



-- 
JP Moresmau
http://jpmoresmau.blogspot.com/

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2012-02-15 Thread 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?

JP

On Wed, Feb 15, 2012 at 8:14 PM, Paul Sujkov psuj...@gmail.com wrote:
 Sorry, I've forgotten to add a [Haskell-Cafe] tag for the message.


 On 15 February 2012 19:33, Paul Sujkov psuj...@gmail.com wrote:

 Hi everyone,

 http://hpaste.org/63732

 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/

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2012-02-15 Thread Antoine Latter
On Wed, Feb 15, 2012 at 1:49 PM, JP Moresmau jpmores...@gmail.com 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
 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

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2012-02-15 Thread Brandon Allbery
On Wed, Feb 15, 2012 at 14:49, JP Moresmau jpmores...@gmail.com 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  allber...@gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2012-02-15 Thread JP Moresmau
OK, thanks all, I can stop worrying being an uncouth Frenchman, then...

JP

On Wed, Feb 15, 2012 at 9:01 PM, Brandon Allbery allber...@gmail.com wrote:
 On Wed, Feb 15, 2012 at 14:49, JP Moresmau jpmores...@gmail.com 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                                      allber...@gmail.com
 wandering unix systems administrator (available)     (412) 475-9364 vm/sms




-- 
JP Moresmau
http://jpmoresmau.blogspot.com/

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Undocumented cost-centres (.\) using auto-all, and SCC pragma not being honored

2012-02-15 Thread Thomas Schilling
On 15 February 2012 16:17, Dan Maftei ninestrayc...@gmail.com wrote:

 1 When profiling my code with -auto-all, my .prof file names some 
 sub-expressions with a backslash. Cf. below. What are these?

      e_step
       e_step.ewords
       e_step.\
        e_step.\.\
         e_step.update_counts
       e_step.fwords

 My e_step function binds seven expressions inside a let, then uses them in 
 two ugly nested folds. (Yes, very hackish)  As you can see, three such 
 expressions are named explicitly (ewords, fwords, and update_counts). But 
 where are the rest? Further, perhaps the backslashes have something to do 
 with the lambda expressions I am using in the two nested folds?

Yup, those are anonymous functions.


 2. A related question: I tried using the SCC pragma instead of auto-all. I 
 added it to all seven expressions inside the let, and to the nested folds. 
 However, only two showed up in the .prof file! How come?

It would be helpful if you pasted the code.  I think SCC pragmas
around lambdas get ignored and you should put them inside.  (It may be
the other way around, though.)



 Thanks
 ninestraycats

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe




--
Push the envelope. Watch it bend.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Test suite sections of cabal

2012-02-15 Thread 山本和彦
Hello,

I recently started using test suite sections of cabal but it soon
appeared very inconvenient to me.

1) test data files

  If I want to include test data files into package, I have to
  enumerate all test files since the usage of '*' is restricted.
  I just want to specify the top directory of test data files.

  Why does this restriction exist?

2) build-dependency

  I need to repeat all build-dependency of a library section to
  a test suite section. Specifying the library itself to 
  build-dependency of a test suite section does not work.
  This violates the DRY philosophy.

  Any ideas to avoid this?

Thanks.

--Kazu

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] How do I get official feedback (ratings) on my GSoC proposal?

2012-02-15 Thread Ryan Newton
I'm interested in mentoring any projects related to concurrent data
structure implementation.  Is it too late to propose new projects?


http://parfunk.blogspot.com/2012/02/potential-gsoc-haskell-lock-free-data.html

-Ryan


On Mon, Feb 13, 2012 at 7:19 PM, Johan Tibell johan.tib...@gmail.comwrote:

 Yes. I rated some myself and left a motivation for my rating and waited
 for someone to disagree. :) In general I was just trying to help students
 out by pushing down proposals that (in my experience) where too hard to
 complete in a summer or that were too narrow to benefit a larger portion of
 the community.


 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Haskell Weekly News: Issue 215

2012-02-15 Thread Daniel Santa Cruz
Welcome to issue 215 of the HWN, a newsletter covering developments in
the Haskell community. This release covers the week of February 5 to
11, 2012.

You can find the HTML version of this issue at:
http://contemplatecode.blogspot.com/2012/02/haskell-weekly-news-issue-215.html


Quotes of the Week

   * nand': haskell has a few advantages in the industry that few other
 languages can offer. these will become more obvious as time goes on
 and programming is forced into a functional direction in general.

   * seo: What i do not realize is actually how you are now not really
 much more well-liked than you might be right now. You are so
 intelligent. You realize thus significantly in terms of this
 subject, produced me in my view consider it from so many numerous
 angles. Its like men and women are not interested unless it‚s one
 thing to do with Woman gaga! Your personal stuffs excellent. Always
 care for it up!

   * monochrom: Schrodinger's Klein glass bottle: before you look, the
 cat is inside or outside; after you look, it is inside and outside
 :)

   * cmccann: Ruby is a fine language if you're secretly a lisp
 programmer but want to hide behing perl and smalltalk so nobody
 catches you

   * mlh: nice quote -- quick, someone register it for posterity

   * something: somebody never said, naturally.

   * irene-knapp: I was going to take a famous quote and put it in
 lambdabot as my own but I couldn't decide on one

   * shachaf: getLine :: IO String contains a String in the same way
 that /bin/ls contains a list of files

   * edwardk: [unsafePerformIO] sounds like a good idea, its tempting,
 it makes life easy, for the first 2 lines of code. then you go to
 write the third and everything goes to shit

   * cmccann: Idiom brackets are where you consume a mixture of alcohol
 and Conor McBride papers until your vision gets blurry enough that
 you can't actually see the Applicative operators anymore.

   * Philippa: incidentally, if you think about this you're probably
 starting to image control flow that looks like it's a glyph for
 summoning cthulhu - and then realising that it's 3d and consists of
 'towers'. Make sense?

   * c_wraith: also, actual reals is a funny thing to call a set that
 consists mostly of things that cannot be described.

   * NihilistDandy: I feel like a hipster whenever I talk programming
 with people at my school. I always have to preface discussions with
 you've probably never heard of it :/

   * ion: Three lefts make two wrongs

   * elliott: Explicit recursion should generally be avoided. Also,
 general recursion should be explicitly avoided!

   * CodeWeaverX: I expect that Weird Untraceable Suitcases Full Of Bad
 could result from the program assuming such an operation is pure
 when it clearly isn't.

   * elliott: cmccann: the instances list haddock generates is now a
  thing of majesty
 edwardk: elliott: welcome to my world

   * mzero: functional programming has a property that is often lacking
 in other languages... at dinner last night we were discussing it,
 and I dubbed it: The Princess Bride property --- which is, that a
 piece of code means what you think it means

   * sclv: You have a problem and think I'll use a hash function. Now
 you have intermittantly colliding problems.

   * monochrom: data Ph a = Ph -- the phantom monad
 ksion: Is that a new Star Wars prequel? ;)

   * user1151874: i already declare hp as int with value 3 now my
 problem is when i put hp--, it shows error [...] but if i put
 --hp, the result print is 3 not 2.

   * edwardk: thats my secret. really i don't write anything. i just let
 others do the work and upload it to hackage behind their backs

Top Reddit Stories

   * Haskell as most mainstream non-mainstream language? The RedMonk
Programming
 Language Rankings: February 2012
 Domain: redmonk.com, Score: 45, Comments: 25
 On Reddit: [1] http://goo.gl/xWHB8
 Original: [2] http://goo.gl/REBXN

   * The future is parallel, and the future of parallel is declarative
 (Simon Peyton Jones) [RE: Escape From the Ivory Tower]
 Domain: yow.eventer.com, Score: 41, Comments: 5
 On Reddit: [3] http://goo.gl/PJSlh
 Original: [4] http://goo.gl/zUKT5

   * How Prelude avoids overlapping instances in Show
 Domain: brandon.si, Score: 32, Comments: 18
 On Reddit: [5] http://goo.gl/qGPZK
 Original: [6] http://goo.gl/rC6qr

   * InfoQ: Yesod Web Framework (Michael's QCon talk)
 Domain: infoq.com, Score: 32, Comments: 12
 On Reddit: [7] http://goo.gl/93SFv
 Original: [8] http://goo.gl/Xao7S

   * Search tree that does not require that items be sorted.
 Domain: twanvl.nl, Score: 28, Comments: 3
 On Reddit: [9] http://goo.gl/R2yLD
 Original: [10] http://goo.gl/WGfcV

   * Reverse engineering the ZeroMQ wire protocol for ZMQHS
 

Re: [Haskell-cafe] How do I get official feedback (ratings) on my GSoC proposal?

2012-02-15 Thread Johan Tibell
On Wed, Feb 15, 2012 at 7:40 PM, Ryan Newton rrnew...@gmail.com wrote:
 I'm interested in mentoring any projects related to concurrent data
 structure implementation.  Is it too late to propose new projects?


  http://parfunk.blogspot.com/2012/02/potential-gsoc-haskell-lock-free-data.html

Not all all. It's quite early in fact (I tried to get people to think
about this early on.) I'd also post it to the Haskell reddit to make
sure it gets a bit more exposure (it's kinda buried here in this
thread.)

-- Johan

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe