Live data from Hacker News

The New Haskell.org

haskell.org

101–110 of 110 posts

Re: The New Haskell.org

#101
post #77

It looks good, but they have to get rid of the out of focus photo. Photos that are entirely out of focus are really annoying and give a lot of people headaches. Usually out of focus areas should be used to bring the eye to an object in the photo that is in focus. But if such an object does not exist, then the eye wanders and tries to adjust itself to focus (the eye has its own focusing mechanism). But of course it ca…

That's because I'm waiting for the photographer to get me the full size version. This one I cribbed a low-res version of the net, but it's easily one of the best Haskell conference photos in its original form.

Re: The New Haskell.org

#102

Small thing but the favicon should be updated to look crisp on retina displays.

Huh, thanks for noticing. I have a retina display but on Linux Chrome and Firefox both ignore any kind of global font size settings for their tabs, so the icons are tiny and look crisp, didn't realise. That kind of thing bugs me too. The rest of the layout itself should be retina-friendly, though, as I developed it like that.

Yeah that is the only reason I mentioned it as the rest of the site was spot on.

Re: The New Haskell.org

#103

This new, awesome site is using the framework Yesod[0], which is kinda like the Rails of the Haskell world, only it can do rad stuff like prevent XSS and 404s at compile time . Yes, you read that right. [0] http://www.yesodweb.com/

Btw, there's also a sinatra inspired framework – scotty ( https://github.com/scotty-web/scotty )

"Bare" snap (snap-core and snap-server) are Sinatra-like too.

Re: The New Haskell.org

#104
I started the tutorial. Then I got stuck in the second step - Let's try something completely different. Type in your name like this: "chris".

The problem is: the input box doesn't get the quotes I write on my Mac. I tried double (") and single (') quotes

Re: The New Haskell.org

#105
I'm glad the page is getting a design refresh, as it needed it, however it may have swung too far in the direction of the latest web scripting language du jour. The 'try it now' box is appealing to the short attention span scripter and not to the engineer. Already you are having to mention IO actions which is a subject that can't be properly explained through a web form.

As for the image, I don't know why it would be interesting to see a picture of a bunch of people at a conference, especially if you go back to the page frequently. Why not some original Haskell art like the Diagrams factoring image?

Regarding the 20 years in development, I agree this fact should be front and center, this is a serious tool that has had a lot of work by very high level thinkers, it is a world away from the origins of Java as far as engineering integrity.

Re: The New Haskell.org

#108
post #29

Earlier quoted context omitted.

Sure, but my point is that maybe the top example should be one that'd work verbatim in the REPL, to not scare noobs like me away.

Yeah, the REPL story's a bit of a mess, but Haskellers tend to forget that.

Just to mention it here, IHaskell solves a lot of the annoyances with ghci. Easy multi-line input, don't need let in front of functions, can define modules and load them (automatically compiled), etc. I think they are working on support for template haskell too (important for experimenting with lens code etc)

Re: The New Haskell.org

#110

"advanced" purely-functional. Does -advanced- actually means something?.

Two different unrelated adjectives: it's an advanced language, and a purely functional language

This is about https://news.ycombinator.com/item?id=7475631

You asked a year ago:

>You say it's used all the time -- so how about you give an example of a "lazy" solution to a problem in, say, C?

but I was just reading that old thread now, so replying here.

short-circuit evaluation would be an example in C, because the programmer can ask the compiler to do something, but at run-time it won't do it if the results aren't necessary - it just won't execute despite the programmer explicitly writing those instructions.

e.g. in the condition if (is_prime(a) && is_something_hard_to_compute(a)) then even though you're calling the function is_something_hard_to_compute() about a, at run-time if it's not necessary for the result, then purely out of laziness it won't get called. (i.e. if the first test returns false.)

this meets the condition you asked about.

reference: http://en.wikipedia.org/wiki/Short-circuit_evaluation

Post reply on HN