00:21:11 <stepcut> splitAt is pretty cool, http://groups.google.com/group/happs/msg/933a539f9584a686
00:21:40 <HugoDaniel> :D
00:22:37 <HugoDaniel> i keep having these dreams
00:23:04 <HugoDaniel> of stream fusion with a simd monad :/
00:25:55 <stepcut> :)
00:26:25 <stepcut> maybe you can figure out how to integrate this library into happstack, http://hackage.haskell.org/package/accelerate-
00:26:26 <stepcut> :p
00:33:39 <HugoDaniel> oh
00:33:44 <HugoDaniel> but cuda is nvidia only :(
00:34:10 <stepcut> yeah..
01:24:47 <stepcut> dons: did you write splitAt in bytestring?
01:30:20 <HugoDaniel> im sleepy
01:30:22 <HugoDaniel> fromData = RAIDESData <$> (look "docId") <*> (look "local_emissao")
01:30:32 <HugoDaniel> why doesn't this work ? :/
01:31:04 <HugoDaniel> No instance for (Applicative... bla bla is the error
01:31:13 <HugoDaniel> meh
01:32:24 <stepcut> are you using darcs head ?
01:32:29 <HugoDaniel> no
01:32:36 <stepcut> requires darcs head
01:32:39 <HugoDaniel> i dont even know which version im using
01:32:41 <HugoDaniel> ah ok
01:32:56 <stepcut> I added a message about that to the crash course (if that is where you are looking)
01:33:02 <stepcut> will be in 0.6
01:33:04 <HugoDaniel> im not looking
01:33:12 <HugoDaniel> i just though "let me replace the ugly liftM's)
01:33:21 <stepcut> ah, well it will work in 0.6
01:33:24 <HugoDaniel> ah coool
01:33:29 <HugoDaniel> :D
01:33:40 <stepcut> if both docId and local_emissao are missing, the error will actually report both failures, not just the first ;)
01:33:47 <HugoDaniel> because i had RAIDESData <$> (look "bla") and it worked fine
01:33:53 <HugoDaniel> ah
01:35:12 <stepcut> right, because <$> only requires Functor
01:35:19 <HugoDaniel> ah yes yes
01:35:28 <HugoDaniel> :/
01:35:46 <stepcut> the new stuff is documented here, http://www.happstack.com/docs/crashcourse/RqData.html#rqdata
01:35:51 <stepcut> it's mostly the same, but better
01:36:08 <stepcut> you can also do, r <- queryString $ look "foo", to limit the search to the query string now ;)
01:36:25 <HugoDaniel> allright :D
01:36:29 <HugoDaniel> thats sweet
01:37:51 <HugoDaniel> 2:30 am here, feeling the effects of sleep deprivation
01:37:55 <HugoDaniel> im glad ghc is my friend
02:16:13 <dons> stepcut: hmm. probably.
02:16:17 <dons> it was a long time ago
02:16:57 <stepcut> dons: :p It's my favorite function of the day... it's like magic
02:17:51 <dons> the lazy or the strict version?
02:18:12 <stepcut> the lazy version
17:26:33 <ozamosi|netbook> I'm using IxSet, and I'm having some trouble with the calcs field in my instance. I'm reading http://www.happstack.com/docs/0.5.0/happstack-ixset/Happstack-Data-IxSet.html and I can't get the types to add up in the examples in the package description.
17:28:27 <ozamosi|netbook> The examples under "5. Text indexes" uses gGet on what appears to be a Entry object. gGet's first argument is supposed to be a function that takes an argument. Could somebody explain what's going on?
17:51:18 <ozamosi|netbook> While I still don't understand the examples (documentation error?), I got my code working. Turns out, I need to index the data type field I use in the calcs field :D (pardon my terminology)
21:30:48 <stepcut> ozamosi|netbook: I gotta run, but I can answer your questions later
21:30:55 <stepcut> ozamosi|netbook: or send a message to the mailing list
22:44:54 <Haskelk> hi
22:45:07 <Haskelk> i need some help with the happstack tutorial
22:46:06 <Haskelk> I'm currently on section 10 of the HApps tutorial which discusses templates
22:46:55 <Haskelk> i try to run the example of displaying what the menu bar looks like when someone is logged in, but it says 'renderTemplateGroup not in scope'
22:47:18 <Haskelk> why??? why God WHY!!??
22:47:27 <Haskelk> seriously though, i don't know what's going on.
22:56:37 <McManiaC> I guess the happs tutorial is a bit outdated
22:56:55 <McManiaC> since happs itself doesnt actually exist anymore
22:56:55 <McManiaC> ;)
22:57:48 <Haskelk> bah?
22:57:58 <Haskelk> i just noticed that I wrote happs
22:58:22 <Haskelk> I'm on the happs page and they are talking strictly about happstack
22:58:27 <McManiaC> theres always a lot of movement in happstack
22:58:33 <McManiaC> dont know if theres an up to date tutorial
22:58:38 <Haskelk> ahhhh
22:59:07 <Haskelk> So I'm SOL?
22:59:19 <McManiaC> sol?
22:59:30 <Haskelk> Shit Out of Luck
23:00:12 <McManiaC> you'll gotta read some haddock etc sooner or later :)
23:00:40 <Haskelk> Noooooo!!
23:00:49 <Haskelk> oh boy
23:01:06 <Haskelk> I'll cry right now and then work on it tomorrow
23:01:11 <McManiaC> lol
23:01:18 <McManiaC> haddock is pretty great actually :P
23:02:07 <Haskelk> even for beginners?
23:02:53 <McManiaC> well, there are easier libraries to begin with
23:03:05 <Haskelk> like...
23:03:12 <McManiaC> but the sooner you start reading haddock the sooner you'll understand it ;)
23:03:29 <Haskelk> :(
23:03:58 <McManiaC> :(
23:04:02 <McManiaC> scared him away :(
23:13:57 <ozamosi|netbook> Personally, I found that by shifting between looking at the happs tutorial and the guestbook demo app, I could get examples of most of the stuff I needed.
23:15:24 <ozamosi|netbook> So, uhm, I guess what I'm trying to say is "try recommending people to look at the guestbook to stop scaring them away" or something :)