News for hackers. Stuff that matters.
Re:Why I Still Use Python for High Performance Scientific Co... by Tomte on Wednesday December 02, 2015 @02:15AM (#10661476)
Because the Python ecosystem is huge, with real scientists writing real libraries to get stuff done.

The Haskell crowd seems to write monad tutorials that are either cute or unintellegible, and stratosphere-high level stuff where I wouldn't have the slightest clue what I can use them for (Arrows? Zippers?).

Re:Why I Still Use Python for High Performance Scientific Co... by j-pb on Wednesday December 02, 2015 @03:26AM (#10661682)
C'mon zippers are not that hard, and really useful.

Lets say you want to do processing of some xml file. Normally you'd walk the tree and do manipulations in place. With zippers however, you can inspect every intermediary tree result, you can rethink you problem so that you walk the tree once to extract interesting information, then compute a changeset for the tree, maybe merge it with a differently computed changeset, and then apply the union of them.

I build a ocr system in clojure on zippers and it was a lot of fun. You could for example extract a list of all the words, with line wraps removed, then do the correction on that view/lense of your data, and reapply the changes without having to worry to reintroduce the pesky linewraps, because they were never removed from the original document.

Re:Why I Still Use Python for High Performance Scientific Co... by codygman on Thursday December 03, 2015 @01:00AM (#10668019)
> The Haskell crowd seems to write monad tutorials that are either cute or unintellegible, and stratosphere-high level stuff where I wouldn't have the slightest clue what I can use them for (Arrows? Zippers?).

There are "Real World" Haskell resources, in fact there is even a book named Real World Haskell[0], though I recommend Haskell Book[1] these days since it takes an approach of teaching from first principles.

0: http://book.realworldhaskell.org/

1: http://haskellbook.com/

Re:Why I Still Use Python for High Performance Scientific Co... by alricb on Wednesday December 02, 2015 @02:25PM (#10665194)
Haskell tends to attract people who like programming languages as programming languages. It encourages a style that's completely different from what you're taught in your basic Fortran/C/Java/Matlab course. If, like a lot of scientist, you've done a little imperative programming already, Python isn't much of a step; Haskell, at least as it is presented usually, is another bag entirely.

This means you have a much larger audience, and therefore it's more likely that someone will already have written a tool of your domain in Python.

Re:Why I Still Use Python for High Performance Scientific Co... by msie on Wednesday December 02, 2015 @02:18AM (#10661480)
And Lenses!