haskell-snap-framework Questions

6

I made the mistake of installing Docker via Snap... Once I realised that snap hadn't permissions to run in my working directory (on a different partition), I removed it. Now I can't use docker afte...
Bluebonnet asked 18/5, 2020 at 18:7

1

how to make non-root user use snap command direct ? how to make non-root user use snap command direct ? $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20...
Hardspun asked 21/5, 2020 at 9:45

2

Solved

I have docker installed on Ubuntu 18.04.2 with snap. When I try to start docker it fails with the following error log. 2020-07-16T23:49:14Z docker.dockerd[932]: failed to start containerd: timeout ...
Roede asked 17/7, 2020 at 0:8

2

Solved

I've been trying to install a couple of apps using sudo snap install <nameofapp> But whenever I try this I always get the same error: error: cannot communicate with server: Post http://local...
Haemolysis asked 31/12, 2019 at 14:16

7

I can't seem to get a few Haskell packages to install on my Mac (10.6.8). I first tried Happstack and it failed and then I tried Snap. Sometimes when I run ghci I get a segmentation fault. Other ...
Transude asked 29/3, 2013 at 18:23

2

Solved

I have a Haskell-based web service that performs a calculation that for some input can take a really long time to finish. ("really long" here means over a minute) Because performing that calculati...
Wolfsbane asked 4/9, 2017 at 16:41

1

I know it's rarely used, but is it possible to access the client certificate in Snap? If not, is it possible using a different web stack?
Grau asked 19/3, 2013 at 2:43

0

I have two, related questions about RPC call to Yesod/Snap/Servant: Say I have a function on the server, written in Haskell, compiled by GHC: add x y = x+y+42 How can: I call this function f...
Norine asked 9/10, 2015 at 8:17

2

Can I do long polling in Yesod, or any other Haskell web framework with comparable database facilities? To be precise, I want to delay a HTTP response until something interesting happens. There s...
Hangbird asked 10/6, 2013 at 11:16

3

Solved

I am still learning haskell and looking at the snap web framework. In their hello world example there is a thingy that looks like <|> site :: Snap () site = ifTop (writeBS "hello world") &l...
Torras asked 17/5, 2014 at 22:18

3

I am writing a site for online surveys. I have a list of questions that all go on one html page and the list is of unknown length. Each question has the form stored in template qu1.tpl and the page...
Remand asked 22/7, 2011 at 9:33

2

Solved

I'm wondering how much benefit a CRUD-centric web application can benefit from Haskell's type system, particularly when the front end is built with a Javascript MVC framework like AngularJS which p...
Parks asked 19/11, 2013 at 17:5

2

Solved

I've seen benchmarks on Yesod's homepage, but they are mostly for static files. And the benchmarks on Snap's website are outdated. I'm trying to expose a Haskell module as a service. The server's...
Eluviation asked 3/9, 2013 at 13:18

1

Solved

I am following the instructions for installing the snap framework for Haskell: http://janrain.com/blog/tutorial-building-a-sample-application-with-haskell-snap-postgresql-and-the-postgresql-simpl...
Scifi asked 17/8, 2013 at 15:31

2

Solved

I'm working on porting a site from PHP to Snap w/ Heist. I've ported some of the simpler forms to using Digestive Functors successfully, but now I have to do the tricky ones that require the use of...
Amberambergris asked 7/10, 2012 at 13:13

3

Solved

I've installed Snap/Haskell on my production Ubuntu server (on EC2), and checked-out my project - but how do I run it? I mean, locally, I run it from command line: project-name -p 8000 Does sna...
Ibarra asked 26/6, 2012 at 18:56

1

Solved

I am trying to understand simple snaplet construction. Also, when do I actually need to make a snaplet and when a simple side library? And if I do need one how do I make it out of a library? For e...
Costrel asked 30/3, 2012 at 2:45

1

Solved

I want to produce the decoded result for POST data. Much code is 'wasted' in converting 'string'. That makes code ugly. Any better solutions? import Codec.Binary.Url (decode') import qualified Dat...
Dynasty asked 18/11, 2011 at 14:44

3

Solved

Server-side sessions are not [yet] part of the Snap Framework. Is there a way to add some sort of server side state? Let's pretend I want to increment a counter for each HTTP request. How would I ...
Shayneshays asked 11/10, 2010 at 2:35

2

Solved

What's your experience with deploying Haskell code for production in Snap in a stable fashion? If the compilation fails on the server then I would like to abort the deployment and if it succeeds t...

4

The two Haskell web frameworks in the news recently are Yesod (at 0.8) and Snap (at 0.4). It's quite obvious that Yesod currently supports a lot more features than Snap. However, I can't stand the...
Hemo asked 13/4, 2011 at 6:17

2

Solved

Can anybody suggest me serious tutorial on Snap or book? Can you share your impressions about Snap? I have experience with web programming, but I started learn Haskell and it is great, so I want t...
Venable asked 3/2, 2011 at 20:14
1

© 2022 - 2025 — McMap. All rights reserved.