Top all-time · #511
Michael Snoyman
Personal blog · yesodweb.comprogrammingweb
Michael Snoyman writes Yesod Web Framework Blog, a personal blog at yesodweb.com about programming and web. Since 2010, 115 different Hacker News readers have linked it 172 times, most often “A Haskell web framework”. The last post was in 2021, but the archive is still widely read.
Rarely recommended · 3 of 40 sampled comments recommend it?
Why HN links it
HN readers link yesodweb.com for Yesod, a Haskell web framework, and Michael Snoyman's posts on Haskell libraries such as conduit and Warp, usually as examples or support.
- Recommended for · 3 comments
- Conduit posts give insight into thinking with Haskell; the free online book is nice and its docs are current.
Summarised by Claude from a sample of 40 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Yesod is a Haskell web framework for productive development of type-safe, RESTful, high performance web applications.
Most-linked posts?
- A Haskell web framework23 people · 25 mentions · first linked 2011-06-22
- Developing Web Applications with Haskell and Yesod9 people · 11 mentions · first linked 2011-07-07
- /8 people · 10 mentions · first linked 2018-10-03
- /book/shakespearean-templates6 people · 6 mentions · first linked 2012-04-09
- /blog/2011/03/preliminary-warp-cross-language-benchmarks5 people · 6 mentions · first linked 2011-06-22
- /book5 people · 5 mentions · first linked 2018-01-17
- /4 people · 6 mentions · first linked 2011-09-16
- /blog/preliminary-warp-cross-language-benchmarks4 people · 4 mentions · first linked 2011-03-28
- /book/persistent4 people · 4 mentions · first linked 2011-12-02
- /4 people · 4 mentions · first linked 2018-03-01
What Hacker News says?
> I was part of a SaaS startup using Java Spring You may accuse me of shifting the goalposts, but do notice I said modern above. I'm not up-to-date with Java anymore, but iirc Play [0] would be worth checking out. > This is a problem you want to have because you have skin in the game. I'm saying that this is a problem you don't have to have at all. > Back to you - you didn't address my question - if you were to laun…
Comment linking /
on “Upgrading GitHub from Rails 3.2 to 5.2”Submitted Yesod 1.0 - a robust, friendly, high performance web framework for Haskell as a story · 145 points
HN discussionI wrote a long reply, but ended up erasing it and I'll just say that many of these vulnerabilities are due to the programmer using one type (i.e. string) to represent all kinds of data that might be malicious and unsanitized, and then losing track of whether a piece of data is safe for use (e.g. to be sent to DB) or not. I recommend checking out the Yesod web framework [0], which leverages Haskell's strong type syst…
Comment linking /page/about
on “Show HN: Rocket – Web Framework for Rust”Submitted Yesod (Haskell) lead dev picked up by FPComplete as a story · 71 points
HN discussionSince a few people have asked about Haskell, here are some Haskell benchmarks in comparison: http://www.yesodweb.com/blog/2011/03/preliminary-warp-cross-...
Comment linking /blog/2011/03/preliminary-warp-cross-language-benchmarks
on “Web Framework Benchmarks”Submitted The Perils of Partially Powered Languages as a story · 64 points
HN discussionI wouldn't call Yesod "anti-haskell". By default, it relies on QuasiQuotes and TemplateHaskell a lot [1], which are extensions to the GHC. So by default, you'd have a hard time running Yesod applications on anything else but GHC (the Glasgow Haskell Compiler). These extensions allow you to write in an EDSL that generates Haskell for you. IMO, Yesod's use of these extensions are a benefit, as it allows the user to ge…
Comment linking /book/haskell
on “Web Framework Benchmarks”Submitted Using Haskell for the web as a story · 62 points
HN discussionSurely just do what ever you'd try to do with another language but just use Haskell instead. Depends on how complex you want to do things. You can just use yesod [0] to create a web app and compare it to an existing one you'd written. An interesting use of Haskell is with concurrency [1], so anything along those lines should give you something pretty awesome. [0]: http://www.yesodweb.com/ [1]: http://chimera.labs.or…
Comment linking /
on “What programming languages are used late at night?”Submitted The Perils of Partially Powered Languages as a story · 41 points
HN discussion> I really like Haskell but I wonder if the type system is actually too strong for the real world. Given the amount of "real world" programming that's been done with Haskell, I suspect not. > Generalizing algorithms sounds nice but if Haskell is so powerful, why is the Haskell community still not able to provide a convenient working package manager? I don't see a real problem with Cabal with sandboxes. > Perl has CP…
Comment linking /blog/2012/11/solving-cabal-hell
on “Why Racket? Why Lisp?”Submitted O'Reilly Webinar: Designing Type-Safe Haskell APIs as a story · 40 points
HN discussionYes, Hamlet does context specific escaping. It will handle all the examples given, except you can't mix your javascript in with your html (which is generally good advice anyways). I disagree with the articles premise that injection is always a display issue. In the [Yesod web framework]( http://www.yesodweb.com ) which uses Hamlet, we sanitize , not strip html by default before it is ever put in the database. The mo…
Comment linking /
on “Break Google”Submitted Yesod 0.9 Released as a story · 20 points
HN discussionYou don't know where "doc" is coming from from a snippet like that. I use logic moderately similar to that for my blog software. If I'm writing the blog post, pretty much pass through what I wrote. If it's a comment (back when I had them), process the heck out of it. The blog post itself is a blob of HTML, basically. I do not currently write my blog posts in a templating language (any more than anyone else does), th…
Comment linking /book/templates
on “Break Google”Submitted Haskell's Prelude is adding Foldable/Traversable as a story · 12 points
HN discussionYes. In some ways I think we're still in a very primative kind of level for web development. Either you do it by hand, tweaking each individual parameter like the old demoscene, and making it fast and amazingly small, or else you write huge chunky slow web apps, or more usually, something in the middle. I feel like the big thing I'm missing is smart compilers that can take web app concepts, and turn them into extrem…
Comment linking /
on “As much Stack Overflow as possible in 4096 bytes”Submitted Haskell on Heroku using statically linked binaries as a story · 6 points
HN discussionLooks like Persistent has no support for table joins...bit of a show stopper that, but there's a companion library[1] which looks quite powerful (similar to Scala's Slick wrt to type safety and composability). Can't say I care for the syntax much (`^.`, `where_`, etc.) but I guess that's par for the course in Haskell given the open world (i.e. module system leaves something to be desired relative to OCaml and SML).…
Comment linking /book/sql-joins
on “What ORMs have taught me: just learn SQL (2014)”Submitted Yesod Web Framework: Warp chapter for Performance of Open Source Applications as a story · 5 points
HN discussionSeconding. I've used conduit before, and it was a delight to use something so carefully designed. The blog posts about conduit are in themselves an insight into how to think with Haskell. http://www.yesodweb.com/blog/2013/10/core-flaw-pipes-conduit http://www.yesodweb.com/blog/2013/10/simpler-conduit-core
Comment linking /blog/2013/10/simpler-conduit-core
on “What it's like to use Haskell”Submitted Some thoughts on documentation as a story · 4 points
HN discussionI have been using this site for (yesod 1.4) [ http://www.yesodweb.com/book/introduction ] and I found the documentation current. Is there something that doesn't compile?
Comment linking /book/introduction
on “Fighting spam with Haskell”Submitted Book: Developing Web Applications with Haskell and Yesod -- coming soon as a story · 4 points
HN discussionAlso the nice thing about Yesod, is the freely available online book[0]. [0] http://www.yesodweb.com/book
Comment linking /book
on “Fighting spam with Haskell”Submitted Limitations of Haskell: Error messages from Complex types,.. as a story · 4 points
HN discussionTemplate Haskell and QuasiQuoters are optional in Yesod too. The project scaffold you get when you run `yesod init` uses TH and QQ by default, but you don't have to use the scaffold: http://www.yesodweb.com/blog/2012/10/yesod-pure
Comment linking /blog/2012/10/yesod-pure
on “Fighting spam with Haskell”Submitted A Haskell web framework as a story · 3 points
HN discussion>Edit: even Haskell seems to be about 7x faster than Erlang (according to [1]). Suddenly, Haskell looks like a good candidate for writing a distributed server :) Can somebody comment on this? One of the best kept secrets of Haskell, it can be very fast, supports multiple concurrency/parallelism options. The Yesod team does interesting performance work on the Warp server: http://www.yesodweb.com/blog/2014/02/new-warp…
Comment linking /blog/2014/02/new-warp
on “What can I only do in Erlang?”Submitted Haskell Yesod Web Framework: Simpler streaming responses as a story · 3 points
HN discussion