A Common Lisp web startup test-case, two years after the Reddit switch
fallenfrukt.com
fallenfrukt.com
ProxyRequests Off
specified, with <Proxy [asterisk]> deny from all (or allowing just as needed). E.g. in Ubuntu, make SURE you link to proxy.conf from mods-enabled, because Apache has a horrendous bug where if it doesn't see that option in a config file it defaults to ON.Which means people can joy-ride using your server as an open proxy.
I don't know what possessed them to make that an opt-OUT.
<Proxy *> -- news. yc markup bug, can't specify a single asterisk if italic markup follows.
But otherwise, people will probably beg to have a go, if you are prepared to teach someone smart I am sure they could be productive in a few days, surely ?
You need to rewire your brain and think differently.
Which is probably the exact reason why it is so highly recommended that you go out and learn it, even if you'll never write a single LOC in it professionally.
Here's a complete database-driven web application in Scheme:
Try the "Show Source" link there.
The same language is in use at my day job. When we hired somebody else to work on it here, he was writing production code his first day. He left to work for the Obama campaign. Someone in house with prior PHP experience took over, and likewise was writing acceptable production code in a day.
CL is the ultimate "multi-paradigm" language. You can program imperatively to your heart's content with progn. CLOS+MOP is perhaps the world's most advanced object oriented system. Meta-programming taken to what would be considered absurd levels in other languages with defmacro.
Now, your code will flow more nicely if written in a functional style. But you are definitely right that CL does not restrict you to functional programming.
"Incidentally, the last straw, I've been told, was some bug in CMUCL threads that kept making the system crash."
http://groups.google.com/group/comp.lang.lisp/msg/574d19d5e7...
Reddit: Stick with Lisp. (...)
In reality, with their millions, there's nothing stopping them from re-Lisping it. (Not even time considerations -- when they were in negotiations to be acquired, they didn't do any development for months [1]. If you can get away with spending that much time not developing before you have money, you can get away with doing a rewrite after money is no longer a concern.)
[1] "We must have stopped doing real work for six months." -- http://aaronsw.jottit.com/howtoget