Live data from Hacker News

4Clojure hits 100K solved problems.

4clojure.com

11–18 of 18 posts

Re: 4Clojure hits 100K solved problems.

#11
post #9

I have been enjoying 4clojure, although I found myself hitting a wall a few times, mostly due to not knowing about some function that I needed to solve the problem. It'd be great if there were hints available without looking at a completed solution - eg "try using 'reduce'". Also, I have enjoyed the Clojure koans as well: https://github.com/functional-koans/clojure-koans

Stop by #4clojure on freenode, the site devs hang out there (myself included) and happily give pointers on problems. Also, the main #clojure channel, while busy, is a great resource -- Clojure has a pretty welcoming community.

Re: 4Clojure hits 100K solved problems.

#12
post #11
post #9

I have been enjoying 4clojure, although I found myself hitting a wall a few times, mostly due to not knowing about some function that I needed to solve the problem. It'd be great if there were hints available without looking at a completed solution - eg "try using 'reduce'". Also, I have enjoyed the Clojure koans as well: https://github.com/functional-koans/clojure-koans

Stop by #4clojure on freenode, the site devs hang out there (myself included) and happily give pointers on problems. Also, the main #clojure channel, while busy, is a great resource -- Clojure has a pretty welcoming community.

A link on the "Solutions" page to the next problem would streamline things some. I followed the top solvers so I could see how far off my solution ended up.

Once you solve a problem you get a link to the solutions, but if you hit "Back" you end up back on the problem anew, with no link to move on.

Takes some tab management to keep the "next problem" link and see the other solutions.

Re: 4Clojure hits 100K solved problems.

#13
post #10
post #8

Earlier quoted context omitted.

Whilst it doesn't tell you about the stack it's running on, the site code is open source: https://github.com/4clojure/4clojure

Looks like mongodb + compojure + some other interesting libraries (clojail for protected eval, for example), running on a Linode.

This is correct. It is worth noting that our setup is hardly complex or clever.

Re: 4Clojure hits 100K solved problems.

#15
post #14

I love sites like these! I wish there was one for every language and every learning subject.

Take a look at http://projecteuler.net/problems It's a wonderful collection of non language specific mathematical and/or computer programming problems.

Python challenge is interesting too, but not a good intro to the language.

http://www.pythonchallenge.com/

upon a cursory look I couldn't find a decent version for ruby, but there are many out there that do it differently.

Re: 4Clojure hits 100K solved problems.

#16
post #9

I have been enjoying 4clojure, although I found myself hitting a wall a few times, mostly due to not knowing about some function that I needed to solve the problem. It'd be great if there were hints available without looking at a completed solution - eg "try using 'reduce'". Also, I have enjoyed the Clojure koans as well: https://github.com/functional-koans/clojure-koans

I've never programmed in Clojure or Java before, I figured I'd give it a try. I got hung up on a very early, and with no way to see the solution I'm stuck googling (to no avail) and trying random things (waste of time). Why can we not see the answers? Is this a standardized test or a learning tool? I'd feel silly going to a IRC channel to ask the devs what the answer to intro to strings was.

Re: 4Clojure hits 100K solved problems.

#17
post #9

I have been enjoying 4clojure, although I found myself hitting a wall a few times, mostly due to not knowing about some function that I needed to solve the problem. It'd be great if there were hints available without looking at a completed solution - eg "try using 'reduce'". Also, I have enjoyed the Clojure koans as well: https://github.com/functional-koans/clojure-koans

I found this very useful http://clojure.org/cheatsheet

Re: 4Clojure hits 100K solved problems.

#18
post #9

I have been enjoying 4clojure, although I found myself hitting a wall a few times, mostly due to not knowing about some function that I needed to solve the problem. It'd be great if there were hints available without looking at a completed solution - eg "try using 'reduce'". Also, I have enjoyed the Clojure koans as well: https://github.com/functional-koans/clojure-koans

I've never programmed in Clojure or Java before, I figured I'd give it a try. I got hung up on a very early, and with no way to see the solution I'm stuck googling (to no avail) and trying random things (waste of time). Why can we not see the answers? Is this a standardized test or a learning tool? I'd feel silly going to a IRC channel to ask the devs what the answer to intro to strings was.

If you choose to "follow" some of the people who've completed all of the exercises you can then view their solutions. I too found this confusing early on.
Post reply on HN