News for hackers. Stuff that matters.
Re:GNU Artanis: A web framework for Guile Scheme by gecko on Friday November 06, 2015 @07:53PM (#10523047)
If you're interested in web programming in Scheme, but not interested in using Guile for some reason, you might also be interested in Awful (http://wiki.call-cc.org/eggref/4/awful), which is Chicken Scheme's full-stack web framework. Chicken is especially interesting to me, and has been a go-to tool for me for years, due to its ability to compile natively (and statically!) on Windows and Unix systems. (Guile, on the other hand, has always struck me as what I wanted Common Lisp 10.0 to look like. Ah well.)
Re:GNU Artanis: A web framework for Guile Scheme by rhabarba on Friday November 06, 2015 @11:08PM (#10523656)
What's wrong with Common Lisp? Caveman2 is great.
Re:GNU Artanis: A web framework for Guile Scheme by gecko on Saturday November 07, 2015 @12:42PM (#10525504)
Nothing has to be wrong with CL for me to prefer Schemes or vice-versa, and nothing has to be wrong with OCaml for me to prefer F# or vice-versa. My preference for Chicken Scheme over CL historically has been:

  * Chicken has always been free, with almost all of its
    library BSD-licensed, whereas CL used to be expensive.
  * Chicken has had a really good packaging story (eggs) for
    a long time, whereas QuickLisp is new
  * Chicken has always been able to produce static binaries,
    which, as the Go aficionados will tell you, makes deployment
    really awesome.
If you prefer SBCL, good for you. There was a post fairly recently about how CL's library situation is becoming awesome, and I hope that continues.
Re:GNU Artanis: A web framework for Guile Scheme by lispm on Saturday November 07, 2015 @08:29PM (#10526985)
Chicken Scheme is a specific Scheme implementation, Common Lisp is a language with three dozen implementations.

Free CL from day zero: CMUCL. CMUCL originates in Spice Lisp (1980), from before Common Lisp. CMUCL has spawned commercial and free variants (SBCL). Free: CLISP, 1987. Free: GCL, 1994.

Still, Chicken Scheme is great! Though I prefer CL.

Re:GNU Artanis: A web framework for Guile Scheme by muuh-gnu on Saturday November 07, 2015 @03:03AM (#10524125)
> What's wrong with Common Lisp?

Nothing. But Schemers just passionately hate it since the 70s because it doesnt enforce their religious dogmas like recursion, continuations, unusable macros, and other similarly silly pretexts.

The fact that the GNU extension language became a Scheme instead of a Lisp is primarily a very personal decision by Richard Stallman. Early Lisp Machine companies like Symbolics refused to copyleft their stuff, so RMS started to hate them with a passion.

So even as he was a Lisp fan early on, which can be seen in Emacs, he for political reasons switched the GNU projet to Scheme, even as the GNU project had no working Scheme implementations but had two Lisp implementations (CLisp and GCL).

So to answer your question: Nothing is wrong with Lisp, but the dear leader hates it, because the Symbolics guys were meanies when he was 25 yrs old.

Re:GNU Artanis: A web framework for Guile Scheme by ArneBab on Saturday November 07, 2015 @03:42AM (#10524194)
You might want to read a less harried account on the history of Scheme than this.

Wikipedia names continuations, tail recursion in the standard, hygienic macros and a shared namespace for variables and procedures as defining differences between Common Lisp and Scheme.

Re:GNU Artanis: A web framework for Guile Scheme by mbrock on Saturday November 07, 2015 @06:58AM (#10524530)
Wow, your comment history is really full of classic troll stuff. "HN is throughly infected with the communist delusion, commonly observed with atheist intelectuals." Check yourself, dude.
Re:GNU Artanis: A web framework for Guile Scheme by i_feel_great on Friday November 06, 2015 @07:21PM (#10522949)
This is for Guile Scheme, which as has it's own inbuilt webserver: http://www.gnu.org/software/guile/manual/html_node/Web-Serve.... Andy Wingo wrote about it: https://wingolog.org/archives/2012/03/08/an-in-depth-look-at....

By the way, Guile 2.1.1 has just been released, with a rebranded website: http://www.gnu.org/software/guile/

Re:GNU Artanis: A web framework for Guile Scheme by mintplant on Saturday November 07, 2015 @06:19AM (#10524473)
HN discussion of the site redesign: https://news.ycombinator.com/item?id=10512772
Re:GNU Artanis: A web framework for Guile Scheme by avinassh on Friday November 06, 2015 @08:14PM (#10523129)
link to homepage: http://web-artanis.com/
Re:GNU Artanis: A web framework for Guile Scheme by cm3 on Saturday November 07, 2015 @07:45AM (#10524636)
Off-topic, but does anyone have a userscript or userstyle to make Google Groups responsive and fast to load? It requires JavaScript and takes ages to load a thread and is hard to use once loaded. Googling for "fix google groups" doesn't yield anything.
Re:GNU Artanis: A web framework for Guile Scheme by rurban on Saturday November 07, 2015 @06:35AM (#10524505)
I only got the default mysql working, but not sqlite. A flatfile backend would be more interesting than SQL dbs only.

And it looked pretty unstable to me. He is using `script` instead of `sh` in the makefile. And then `guile examples/blog.scm` throws various errors: "Seems the conn-pool wasn't well initialized!"

Looks like I need to play a lot more with the configuration. But I like the backtrace.

Re:GNU Artanis: A web framework for Guile Scheme by nalaginrut on Saturday November 07, 2015 @08:19PM (#10526959)
Yes it'unstable, it's Beta. Mysql/poatgre/sqlite3 are expected to work. So if you have problem, that's bug, please report it.

You may need to modify blog.scm to specify your DB passwd to make it work. I'll write a tutorial to show how to play it like Rails/Django.

Artanis is still young, but anyway, we are on the way.

Re:GNU Artanis: A web framework for Guile Scheme by christofosho on Friday November 06, 2015 @07:16PM (#10522929)
The other day I mentioned in freenode's #web that it'd be hilarious to see a web framework in scheme.. And now it has happened and it's not only making me giggle, but making me thoroughly impressed. Nice one!
Re:GNU Artanis: A web framework for Guile Scheme by p4bl0 on Saturday November 07, 2015 @02:28AM (#10524066)
I really do not get your point. Scheme is a real programming language, and there are multiple web framework for it to. You can find web frameworks for Guile, Racket, Chicken Scheme, Gambit, Bigloo, …

The portable lib SLIB (a Scheme library that works across many Scheme implementation) also provides a lot of useful things for web development (html generation, database management, etc.).

Re:GNU Artanis: A web framework for Guile Scheme by kuschku on Friday November 06, 2015 @08:47PM (#10523259)
There are many more for Scheme, or its sister language Racket ;)
Re:GNU Artanis: A web framework for Guile Scheme by fouric on Saturday November 07, 2015 @02:53AM (#10524099)
I was under the impression that Racket was closer to Common Lisp (with all of its practicality and rough edges) than the elegant Scheme...
Re:GNU Artanis: A web framework for Guile Scheme by _delirium on Saturday November 07, 2015 @04:04AM (#10524231)
Racket was called PLT Scheme until 2010, and remains essentially a Scheme dialect. It diverged in part because of their disagreement with the minimalist direction of a large part of the Scheme community: PLT developers were heavily involved in the R6RS version of Scheme, which expanded the language's standard library considerably, but which much of the Scheme community rejected. Racket in part is the continuation of the R6RS "batteries included" philosophy, but removed from the politics of the Scheme revision process. (Another reason for the change was the emphasis on becoming a platform for language implementation that supports multiple languages, some increasingly divergent from Scheme, like Typed Racket.)
Re:GNU Artanis: A web framework for Guile Scheme by zodmaner on Saturday November 07, 2015 @03:40AM (#10524191)
That's not the case at all.

The core of Racket, its syntax and basic constructs, is basically the small and elegant Scheme we all known and love. What set Racket apart is all of the additional features that was built around that tiny core (its own OO system, for example), as well as a huge standard library.

Re:GNU Artanis: A web framework for Guile Scheme by dragonwriter on Saturday November 07, 2015 @03:59AM (#10524217)
Racket is far closer to Scheme, from which it derives, than it is to Common Lisp -- which is why, before it was called "Racket" it was PLT Scheme. (And, in fact, the Racket tools include support for both r5rs and r6rs Scheme -- but not Common Lisp -- as well as the Racket language itself.)
Re:GNU Artanis: A web framework for Guile Scheme by lambda on Saturday November 07, 2015 @01:02AM (#10523931)
Have you never heard of SUnet, the scsh web server/framework? It's been around since 1997.

http://scsh.net/resources/sunet.html

Re:GNU Artanis: A web framework for Guile Scheme by adrusi on Friday November 06, 2015 @09:24PM (#10523375)
Why did you think it would be hilarious?
Re:GNU Artanis: A web framework for Guile Scheme by fstephany on Saturday November 07, 2015 @06:05AM (#10524444)
What's your programming background?
Re:GNU Artanis: A web framework for Guile Scheme by whalesalad on Saturday November 07, 2015 @12:55AM (#10523918)
I would love to explore more lisps. I've learned a lot about clojure recently and scheme has always felt like the natural evolution into more classical lisp.