News aggregator

My reaction to: How To Exclude Women From Your Technical Community: A Tutorial

Haskell on Reddit - Wed, 01/30/2013 - 3:23am

It has been pointed out to me that something I said at the ICFP gave ample opportunity for misinterpretation as demonstrated by the referenced thread (http://www.reddit.com/r/haskell/comments/zxmzv/how_to_exclude_women_from_your_technical/c85v45u). It has also been pointed out there that it might be wise to start a new thread with the reaction I posted there, since it might otherwise go unnoticed, so I am repeating it here:

Let me start by thanking everyone for spelling my name correctly. Usually it is causing great problems. Let me try to summarize my opinion and give some background information.

1) We just had elections in the Netherlands and being a member of a political party I was bombarded by messages like: if every member finds another member we have twice as many members

2) The speaker wanted to double the number of Haskell programmers in a year

3) As a community, and looking at the gender distribution at the ICFP , I see half of the world population being severely being underrepresented

4) I my FP classes I notice that the course is taken by many math students too, and the female part of my audience does not come from our own CS students (which has an ICFP like male/female ration). But they come to this course and tend to like it.

5) My conclusion is that if we want to get a more balanced representation Haskell offers a great opportunities.

6) Now the crucial remark, which was garbled on the video, but which definitely ended with "FOR BOTH", meaning: - I would feel less weird in more a balanced audience (i.e. going to a more balanced meeting would be more attractive to me) - I think women would feel less weird in a more balanced audience (i.e. would be more attracted to a more balanced audience)

7) Let me explain my opinion about the latter observation. I do not think that there is any reason why there should not be more women in CS. I have been lecturing for many years in Bolivia, where over 50% of the audience was female, and they liked what they learned, they were good at it, and I see no way why this should not be the case in at least the place where I am coming from. But, I also see that I have a female colleague, and she is attracting significantly more female master and Ph.D. students than to be expected based on the composition of our student population. Apparently there is something attractive in doing a project with her, most likely because women feel less isolated there. So I firmly believe that we have a chicken/egg problem: we attract few women because we attract few women. I think the FP/Haskell community and the link to math, where they do not have this problem, provides a unique opportunity to start to get rid of this unbalance in CS.

Doaitse

submitted by doaitse
[link] [145 comments]
Categories: Incoming News

CFP: EOOLT 2013: Extended Submission Deadline!

General haskell list - Wed, 01/30/2013 - 2:52am
Dear Haskellers, The included call for papers to the 5th international workshop on Equation-based Object-Oriented Languages and Tools (EOOLT) 2013 may be of interest to those interested in declarative domain-specific languages in the context of Haskell. Note that the deadlines have been extended: * Abstracts: 8 February * Full papers: 18 February Apologies for multiple copies! All the best, /Henrik
Categories: Incoming News

Clifford Beshers: Pie Night

Planet Haskell - Wed, 01/30/2013 - 1:47am
My friends Michael and Susan have a wonderful tradition that grew out of growing too many pumpkins.








Pie night.








They make 10-15 pies, everybody brings a pie, everybody eats pie until they can't eat no more.


And then we have pie for breakfast.
Categories: Offsite Blogs

Clifford Beshers: Fish in Monk's Clothing

Planet Haskell - Wed, 01/30/2013 - 1:46am
"Merry Christmas! Could you come to the kitchen and help with the fish?" It wasn't exactly unexpected, but it was still a nice little challenge, like Top Chef the home edition. Unfamiliar kitchen, lots of competition for space, no specific instructions and the opportunity to make or break someone's Christmas dinner. On such occasions, it's good to have a little bit of wisdom from Julia Child in your back pocket.

My travel plans to Illinois had been delayed for two days by snow and ice, so I ended up flying on Christmas day, getting to my brother's house about an hour and a half before guests were showing up for dinner. Everything on the menu was traditional in that household except for the fish, which my brother doesn't eat, so I got volunteered to cook that.

Again, I did have some warning. Several days before, my brother had mentioned on the phone that some guests had asked for fish instead of tenderloin, and that he had bought some frozen tilapia filets. All he needed was a recipe. I said that for simple white fish, I used to like the method that Julia Child had gotten from some monks in the south of France, an episode entitled ``Fish in Monk's Clothing,'' where the fish is baked covered in lots of aromatic vegetables. "Search on the internet, I'm sure you'll find a recipe," I said.

Well, he had searched and had found four recipes for tilapia, but none were Julia's. I didn't like the look of them and although I hadn't made this dish in years, I preferred to find my own way again. Fortunately, the dish turned out well, but the down side was that I had no recipe to give to the people who asked for one, only a bunch of vague constraints.

The essential thing is that the mix of vegetables should taste good, but be reasonably mild so as not to overpower the fish, and should still have a lot of moisture in it. You need enough to cover the fish reasonably well. The vegetables drip flavor into the fish while at the same time protecting it from losing moisture in the direct heat of the oven.

(For the Haskell readers, think of the following as a sort of QuickCheck test suite for the actual method.)
  1. Chop and saute a bunch of aromatic vegetables, season with salt and pepper, thyme or other mild herbs, and reduce with some white wine. The vegetables should be soft, but still very moist and it's good to have some liquid remaining.
  2. TASTE the vegetables. If they don't taste good, fiddle with the seasoning until they do.
  3. Season the filets with salt and pepper, then place on an oiled baking pan. If the tails of the filets are much thinner than the main part of the body, overlap them so that the fish is roughly the same thickness all over.
  4. Layer the vegetables over the fish along with any remaining liquid.
  5. Bake gently until the fish is just opaque and flakes easily. I think we did 350F for about 15 minutes, but this will vary with the amount and size. You could also microwave it for 5-10 minutes, covered, if you use a glass or porcelain casserole dish.
As for which vegetables, that varies based on what I have on hand, but start by sweating an onion in olive oil and butter, then adding celery and a few chopped cloves of garlic. It is fine to brown the onion a bit, but not the garlic. This time we added some chopped mushrooms and parsley. I have added carrots in the past, but that's about as strong as I would go. Julia Child used a head of iceberg lettuce chopped up, but I've never had the nerve to try that. Spinach or swiss chard make a nice choice, but kale, mustard greens and cabbage are too strong. Fennel is a nice addition if you like anise flavor.

Any simple white fish works here, such as flounder, sole, tilapia, catfish, etc. I think I've done it successfully with bluefish, but I would avoid salmon.

How close this is to what Julia Child did, I really don't remember, because I only saw the show once long ago, but I'm pretty sure I've got the essence right. It's a simple way to marry fish with whatever vegetables are available. In any case, it was good enough for Christmas dinner.
Categories: Offsite Blogs

Handling exceptions or gracefully releasing resources

haskell-cafe - Wed, 01/30/2013 - 12:59am
`Control.Exception.bracket` is a nice function to acquire and release a resource in a small context. But, how should I handle resources that are hold for a long time? Should I put `Control.Exception.finally` on every single line of my finalizers? What exceptions may occur on an IO operation? Every IO function has the risk of throwing an exception? Thanks, Thiago. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe< at >haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Categories: Offsite Discussion

Heads up: planned removal of String instances fromHTTP package

haskell-cafe - Wed, 01/30/2013 - 12:15am
Hi, tl;dr: I'm planning on removing the String instances from the HTTP package. This is likely to break code. Obviously it will involve a major version bump. The basic reason is that this instance is rather broken in itself. A String ought to represent Unicode data, but the HTTP wire format is bytes, and HTTP makes no attempt to handle encoding. This was discussed on the libraries< at > list a while back, but I'm happy to discuss further if there's a general feeling that this is a bad thing to do: http://www.haskell.org/pipermail/libraries/2012-September/018426.html I will probably upload the new version in a week or two. Cheers, Ganesh
Categories: Offsite Discussion

Proposal to extend FieldPat in Template Haskell

glasgow-user - Tue, 01/29/2013 - 11:25pm
Hello, (sorry for the repost, I forgot to add a subject.) I was just doing some work with Template Haskell and I noticed that the AST does not have support for record puns and wild-cards. I know that these could be desugared into ordinary record patterns but I think that it would be more convenient for users (and also more consistent with the rest of the AST) if we provided direct support for them. So I propose to change: type FieldPat = (Name, Pat) to data FieldPat = RecordFileldP Name Pat -- x = P | RecordPunP Name -- x | RecordWildP -- .. Would there be any objections to doing so? If not, I'd be happy to have a go at making the change. -Iavor _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users< at >haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Categories: Offsite Discussion

(unknown)

glasgow-user - Tue, 01/29/2013 - 11:23pm
Hello, I was just doing some work with Template Haskell and I noticed that the AST does not have support for record puns and wild-cards. I know that these could be desugared into ordinary record patterns but I think that it would be more convenient for users (and also more consistent with the rest of the AST) if we provided direct support for them. So I propose to change: type FieldPat = (Name, Pat) to data FieldPat = RecordFileldP Name Pat -- x = P | RecordPunP Name -- x | RecordWildP -- .. Would there be any objections to doing so? If not, I'd be happy to have a go at making the change. -Iavor _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users< at >haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Categories: Offsite Discussion

ANNOUNCE: GHC version 7.6.2

General haskell list - Tue, 01/29/2013 - 7:25pm
============================================================= The (Interactive) Glasgow Haskell Compiler -- version 7.6.2 ============================================================= The GHC Team is pleased to announce a new patchlevel release of GHC, 7.6.2. This release fixes a number of bugs relative to 7.6.1, so we recommend upgrading. Full release notes are here: http://www.haskell.org/ghc/docs/7.6.2/html/users_guide/release-7-6-2.html How to get it ~~~~~~~~~~~~~ The easy way is to go to the web page, which should be self-explanatory: http://www.haskell.org/ghc/ We supply binary builds in the native package format for many platforms, and the source distribution is available from the same place. Packages will appear as they are built - if the package for your system isn't available yet, please try again later. Background ~~~~~~~~~~ Haskell is a standard lazy functional programming language. GHC is a state-of-the-art programming suite for Haskell. Included is an optimisi
Categories: Incoming News

Greg Morrisett

del.icio.us/haskell - Tue, 01/29/2013 - 11:30am
Categories: Offsite Blogs

list comprehansion performance has hug different

haskell-cafe - Tue, 01/29/2013 - 11:25am
Hi Cafe, I have two programs for the same problem "Eight queens problem", the link is http://www.haskell.org/haskellwiki/99_questions/90_to_94. My two grograms only has little difference, but the performance, this is my solution:
Categories: Offsite Discussion