20:00:22 <McManiaC> [ 3 of 38] Compiling Happstack.Server.Internal.Socket ( src/Happstack/Server/Internal/Socket.hs, dist/build/Happstack/Server/Internal/Socket.o )
20:00:23 <McManiaC> src/Happstack/Server/Internal/Socket.hs:61:7:ghc: panic! (the 'impossible' happened)
20:00:23 <McManiaC>   (GHC version 7.4.1 for x86_64-unknown-freebsd):
20:00:23 <McManiaC>         Can't happen: pprExp (CompExp [])
20:00:26 <McManiaC> what has happened :/
20:05:24 <McManiaC> fresh install after rm -rf ~/.cabal ~/.ghc
20:05:32 <McManiaC> The Glorious Glasgow Haskell Compilation System, version 7.4.1
20:05:53 <McManiaC> http://npaste.de/p/D1/
20:06:19 <McManiaC> any idea?
20:06:24 <McManiaC> os is freebsd
20:09:53 <McManiaC> gonna try installing ghc 7.6.2
20:12:31 <donri> which happstack-server?
20:19:36 <McManiaC> latest
20:20:21 <McManiaC> ok, with 7.6.2 sendfile wont build on bsd
20:20:21 <McManiaC> :/
20:22:56 <McManiaC>     Warning: newtype `COff' is used in an FFI declaration,
20:22:56 <McManiaC>              but its constructor is not in scope.
20:22:56 <McManiaC>              This will become an error in GHC 7.6.1.
20:23:01 <McManiaC> stepcut: that's probably whx
20:23:02 <McManiaC> why
20:24:24 <stepkut> ah.. good old freebsd
20:24:36 <stepkut> I wonder what the fix is
20:25:14 <McManiaC> that warning/error is from Network.Socket.SendFile.FreeBSD
20:25:18 <McManiaC> sendfile package
20:25:26 <stepkut> right
20:25:54 <McManiaC> happstack finally build with 7.4.2
20:26:29 <stepkut> so, this is the line it doesn't like
20:26:30 <stepkut> foreign import ccall unsafe "sys/uio.h sendfile" c_sendfile_freebsd
20:26:30 <stepkut>     :: Fd -> Fd -> COff -> CSize -> Ptr () -> Ptr COff -> CInt -> IO CInt
20:26:31 <stepkut>  
20:26:39 <stepkut> but, I am not sure what it should be instead
20:26:58 <stepkut> actually..
20:27:06 <stepkut> perhaps this is the real problem
20:27:07 <stepkut> import System.Posix.Types (COff, Fd)
20:27:19 <stepkut> if you change that to COff(..), maybe it builds fine?
20:28:36 <McManiaC> will try
20:28:41 <McManiaC> looks like it
20:28:48 <McManiaC> warnings were gone with 7.4.2
20:28:53 <McManiaC> will try with 7.6.2
20:31:27 <McManiaC> Installed sendfile-0.7.8
20:31:47 <McManiaC> import Foreign.C.Types (CInt(..), CSize(..))
20:31:56 <McManiaC> import Network.Socket.SendFile.Iter (Iter(..), runIter)
20:31:56 <McManiaC> import System.Posix.Types (COff(..), Fd(..))
20:32:06 <McManiaC> (not sure about the Iter one?)
20:32:10 <McManiaC> but those were my changes
20:32:25 <donri> that's just a warning though, should still build
20:32:36 <McManiaC> <McManiaC>              This will become an error in GHC 7.6.1.
20:32:44 <donri> yea
20:32:48 <stepkut> The Iter already has (..)
20:32:57 <McManiaC> yeah thought so stepcut
20:33:00 <donri> oh i misread you
20:33:10 <McManiaC> donri: it failed on 7.6.2
20:34:11 <McManiaC> ok cool, now everything builds
20:34:40 <stepkut> ok, I pushed a patch and uploaded a new version, hopefully I didn't introduce any syntax errors
20:36:02 <McManiaC> thanks :)
20:38:20 <donri> SCOUTESS
20:38:24 <donri> thereisaidit
20:38:29 <stepkut> :)
20:38:39 <stepkut> I need to wrap up this clckwrks release first
20:39:05 <stepkut> but.. at this point the only thing left might be a screencast
20:39:09 <stepkut> left to do
21:00:07 <McManiaC> stepkut: btw, I'm using happstack at work for the first time in those 3 or so years that I've been using happstack :D
21:00:30 <stepkut> ooo! nice.
21:01:02 <McManiaC> it's nothing big
21:01:34 <McManiaC> just a small demo to be shown at http://www.vldb.org/2013/
21:04:58 <stepkut> ntea
21:04:59 <stepkut> neat
21:08:45 <McManiaC> stepkut: you still dont have any plans to use monad-peel for happstack, do you?
21:08:59 <McManiaC> for exception handling etc
21:09:15 <McManiaC> http://hackage.haskell.org/package/monad-peel
21:09:18 <stepkut> dunno.. if we move to pipes, that might change things?
21:09:32 <McManiaC> hm I dont know about the lates happstack plans :)
21:09:37 <McManiaC> latest
21:10:07 <McManiaC> I found that monad-peel library to be exceptionally useful when using a lot of monad transformers
21:10:25 <McManiaC> havent had any issues with npaste+monadpeel at least
21:10:33 <McManiaC> (npaste.de that is)
21:12:38 <McManiaC> stepkut: would it be ok if I'd publish a "happstack-monad-peel" library on hackage (which really only would contain the required instances), or would you prefer a less "official" name?
21:12:52 <stepkut> go for it!
21:28:17 <McManiaC> https://github.com/mcmaniac/happstack-monad-peel
21:28:27 <stepkut> \o/
21:28:33 <McManiaC> need to re-check the cabal file, then upload it to hackage
21:42:13 <DanC> ooh... this... definitely this... "My friends often ask me how to create a website. Usually I wince and then tell them to use Wordpress." -- http://www.clckwrks.com/page/view-page-slug/8/why
21:42:46 <stepkut> :)
21:42:53 <stepkut> I'm working on the screencast now
21:43:24 <DanC> I've been griping about PHP and drupal in #haskell
21:44:01 <DanC> I'm tasked with building a community engagement web site that involves handling protected health information.
21:44:10 <DanC> current strategy is drupal. keeps me up at night.
21:44:42 <DanC> oh. right. you were there.
21:45:58 <DanC> "acid-state for persistent data storage". skipping SQL altogether. I haven't convinced myself to go that far, though the arguments in that direction are increasing.
21:46:13 <stepkut> :)
21:48:27 <McManiaC> stepkut: a decent haskell cms is definitely something I'd use
21:48:57 <McManiaC> i need something to replace my wordpress stuff :/
21:49:26 <DanC> ACTION reads https://groups.google.com/forum/?fromgroups=#!topic/HAppS/hmPATzsQQTM ...
21:57:42 <McManiaC> stepkut: http://hackage.haskell.org/package/happstack-monad-peel
21:58:26 <McManiaC> http://hs.nils.cc/happstack-monad-peel/Happstack-Server-MonadPeel.html <- haddock
22:01:18 <stepkut> nice