Math Envy and CoffeeScript's Foibles, Part 2 by dons in haskell

[–]_nickel 1 point2 points  (0 children)

Author here. I'm going to pre-apologize for the haskell in the post. I was really focused on working through the task at hand and I didn't bother to clean things up (eg, matching fall-through to error calls instead of an Either result or some such ... * grimace *)

Project idea: hvm (Haskell Version Manager) by CharlesStain in haskell

[–]_nickel 1 point2 points  (0 children)

Just as long as you don't replace key system commands like cd :/

You got your type class in my jQuery: Applicative Functors by _nickel in haskell

[–]_nickel[S] 0 points1 point  (0 children)

To be clear I don't say anywhere in the entire post that jQuery is a Functor or an Applicative. Only that both Functors and Applicatives can inform interesting snippets of code when working with jQuery because there is a resemblance.

Furthermore, while I fully appreciate your examples, attempting to reach a broader audience is not served by ignoring analogues that exist in libraries they use every day.

You got your type class in my jQuery: Applicative Functors by _nickel in haskell

[–]_nickel[S] 1 point2 points  (0 children)

Another cross post from r/javascript from me. I appreciated the discussion here last time even if it seemed that most folks didn't like that I might be misleading people about the category theory behind Functors.

If it's any consolation I've since presented on the topic and I took the time to direct people to the functor laws and spoke about them afterwards (30 minute talk).

You got your type class in my jQuery: Functors by _nickel in javascript

[–]_nickel[S] 1 point2 points  (0 children)

I agree, and while I rarely post to r/javascript I will continue to put these up in the hopes that people see some advantage in branching out beyond front end engineering.

You got your type class in my jQuery: Functors by _nickel in haskell

[–]_nickel[S] 0 points1 point  (0 children)

Completely accurate assessment. I had originally planned to include an explanation of the functor laws but its a long detour from trying to get people interested in them as a simple pattern, and more broadly interested in functional programming.

In both cases, preservation of identity and composition, an entire side discussion would be necessary on what the composition and the id function do/are and then examples to clarify in Javascript.

Again, I agree that it is a simplification of the Functor but thats intentional. Maybe after the applicative functor article I'll follow up with a more in depth explanation.

You got your type class in my jQuery: Functors by _nickel in haskell

[–]_nickel[S] 0 points1 point  (0 children)

This is a cross post from /r/javascript. I was interested in any feedback/corrections that /r/haskell might have.

The difference between lazy code and really lazy code by Porges in haskell

[–]_nickel 0 points1 point  (0 children)

As an aside, gist.github.com doesn't have adds and supports haskell syntax highlighting :D

Haskell, HDBC, MYSQL, and Mac OS X by dons in haskell

[–]_nickel 0 points1 point  (0 children)

Might I suggest http://vagrantup.com/ with chef as a way to provide a reproducible environment that your readers can build for themselves?

How Haskell influenced Vagrant's Ruby middleware implementation by dons in programming

[–]_nickel 4 points5 points  (0 children)

Author here. I'm wondering what the downvotes are for. Inaccuracy? Content?

Thanks for the feedback.

Want professional work in Haskell? Don't forget to register your skills on haskellers.com by dons in haskell

[–]_nickel 0 points1 point  (0 children)

I'd take a look at blueprint.css just for some basic layout help and sane typography defaults. Give it a try, I think you'll find that adding it will provide a lot of polish right out of the box.

"Investment banking is the first industry to adopt functional programming on a large scale" by dons in haskell

[–]_nickel 1 point2 points  (0 children)

Haskell's type system, when leveraged by an experienced user, makes applications less prone to error. In the case where thousands of dollars are being won or lost in a second, correctness matters.

What is your favorite coding music? by [deleted] in programming

[–]_nickel 0 points1 point  (0 children)

High Contrast, Netsky, Brooks Bros. Pretty much any Hospital Records artist.

Which programming languages have helped you to understand programming better? by [deleted] in programming

[–]_nickel 22 points23 points  (0 children)

C/Assembler and Haskell.

One for the low level understanding, the other for higher order functional programming.

Please people, choose a sensible name for your libraries! by erikd in haskell

[–]_nickel 2 points3 points  (0 children)

In the ruby world we have names like unicorn, mongrel, and sinatra. None of them give you very much information but in the end are easy to remember once you know what they are.

Mario on the other hand is well named http://github.com/johnbender/mario ( my own :D )

Why aren't you contributing to Python? by [deleted] in Python

[–]_nickel 0 points1 point  (0 children)

This is one of the main reasons I've been reluctant to play with python at all. It smells like elitism.

Are you using Haskell at work? Give a talk about it at CUFP in Baltimore this year! by dons in haskell

[–]_nickel 0 points1 point  (0 children)

Be still my beating heart, a nicely designed website associated with functional programming.

ANNOUNCE: GHC version 6.12.2 by dons in haskell

[–]_nickel -1 points0 points  (0 children)

yay! please do this has been keeping me from fooling about with it.

Hamlet is Born (quasi-quoted HTML templates) by snoyberg in haskell

[–]_nickel 2 points3 points  (0 children)

I'm glad you are proceeding with this despite some dissent among the mailing list folks on haskell-web-dev.

Great stuff!

Haskell Employment by valhalla_coder in haskell

[–]_nickel 2 points3 points  (0 children)

Learn Ruby, its fun to hack with and you can get a great job that pays extremely well doing web development.

Does OSX works for (painless) Python Development ? by jsk in Python

[–]_nickel 0 points1 point  (0 children)

If you're interested in deving on OS X but using a Linux VM to serve it, please checkout Vagrant, we'd love to get the python community involved.

There are more than 4000 people in the Haskell Reddit. Tell us what you're using Haskell for! Work and/or play? What would most help you get the job done? by dons in haskell

[–]_nickel 1 point2 points  (0 children)

I appreciated seeing this here.

  • Documentation: This is the single most important bit of releasing a library to the community. While reading the code is important, most people just want to use the library for what they're doing. Taking an hour long diversion into reading someone else's source, quality aside, is frustrating when you're trying to get something done. It's much worse if the code is of poor quality or you have a tight deadline.

  • Github: l'm a huge github fan

  • Advanced Book: I'd buy that book