Experimental IRC log happs-2008-03-20

Available formats: content-negotiated html turtle (see SIOC for the vocabulary)

Back to channel and daily index: content-negotiated html turtle

These logs are provided as an experiment in indexing discussions using IRCHub.py, Irc2RDF.hs, and SIOC.

00:14:36<MarcWeber>Don't think there are many ways to do it wrong :)
06:33:20<mae>argh ! HTTP request failed with: No previous version (State.Post)
06:41:42<mae>i can't get these fckin migrations to work
14:44:49<Lemmih>mae: It shouldn't be that hard.
14:53:58<MarcWeber>mae: Have you seen my last example?
17:48:10<fophillips>`sp ghc -isrc src/Main.hs --make --run` gives me "cannot parse LANGUAGE pragma" when getting HAppS-Server
17:57:53<MarcWeber>fophillips: Which ghc version are you using?
17:58:06<fophillips>6.6.1
17:58:29<MarcWeber>I think you should at least use 6.6. But I don't know for sure.
17:58:57<MarcWeber>Oh wait. Can't read :)
17:58:58<Lemmih>fophillips: Get 6.8
18:00:39<fophillips>But that will take ages to compile :(
18:06:41<mae>yeah my vps took like 5 hours to compile 6.8.2 (only 128 ram though lol)
18:07:24<Lemmih>fophillips: Get a binary distribution.
18:07:40<fophillips>Heathen.
18:08:16<mae>lol
18:08:25<mae>they didn't have 6.8.2 binary for fc6 :(
18:19:10<mae>ok dudes
18:19:10<mae>tell me where i went wrong
18:19:37<MarcWeber>mae: still trouble with migrations?
18:19:50<mae>http://hpaste.org/6525
18:19:58<mae>yeah
18:20:02<mae>I guess the problem lies in
18:20:11<mae>i don't know what to put for the latest version
18:20:19<mae>instance Version Post where
18:20:26<Lemmih>That shouldn't even compile.
18:20:31<mae> mode = Version 1 Nothing
18:20:34<mae>it doesn't
18:21:29<mae>ok here
18:21:30<mae>HTTP request failed with: No previous version (State.Post)
18:21:35<Lemmih>mode = extension 1 (Proxy :: Proxy Post0)
18:21:45<mae>I added 'Nothing' after Version 1
18:21:53<mae>versioned..
18:21:57<mae>ah ok
18:21:58<Lemmih>mae: Nothing means that there are no previous versions...
18:22:00<mae>hmm
18:22:10<mae>ok
18:22:40<mae>holy shit
18:22:42<mae>it worked
18:22:45<mae>thank you oh great one
18:22:57<mae>there is so much going on here it is alot to take in at once
18:22:57<Lemmih>Heh (:
18:24:28<mae>I could have deleted local
18:24:44<mae>but if i did that i would be @#$@#$ed if i tried to upgrade my live site
18:24:47<mae>i needed to learn this first
18:25:07<mae>ok so
18:25:17<mae>semantically what the hell does "extension" and "proxy" mean
18:25:24<mae>i need a mental picture
18:26:09<Lemmih>extension vs proxy = Versioned vs (Just (mkPrevious proxy))
18:26:38<MarcWeber>proxy Is a dummy var only carrying the type (usually undefined :: ..)
18:26:58<Lemmih>'extension' lets the system know the type of the previous data structure.
18:27:42<mae>right but the definition here is what i don't understand
18:27:46<mae>by this typesig: extension :: forall a b. (Serialize b, Migrate b a) => VersionId a -> Proxy b -> Mode a
18:27:58<mae>shouldn't VersionId and Mode both contain an Integer?
18:28:49<MarcWeber>No. Have a look at the definintion of mode
18:28:59<Lemmih>VersionId /is/ an Integer and Mode usually contains a VersionId.
18:29:24<Lemmih>Primitive types don't have a version id.
18:30:46<mae>so is it possible in this system to keep a whole bunch of version migrations
18:30:56<mae>or only one old one at a time
18:33:03<Lemmih>You can have as many versions as you want.
19:15:23<mae>ok ; )
19:15:29<mae>but you have to rename them all
19:16:30<mae>i just guess i don't understand the point of the version number if your telling the data type what the prev version was
19:16:33<mae>is this for the serializer?
19:16:40<mae>so it knows what version to matchup to
19:17:30<fophillips>:o GHC has finished.
19:17:42<mae>yay !
19:18:07<fophillips>Time to re-merge the libraries.
19:18:10<MarcWeber>mae: Think of having These Megriations data T1 data T2 data T3 .. data T100
19:18:11<Lemmih>mae: This way you can remove old versions without changing the version number of the current version.
19:18:49<mae>yeah this is what i was thinking marc
19:18:53<MarcWeber>Lemmih: I need to learn beeing less verbose.. You are always faster (:
19:19:54<mae>so what is the chat alias of the dude who created happs
19:19:56<mae>the one on the video
19:20:09<Lemmih>'alex'.
19:20:13<mae>ah
19:20:28<Lemmih>He's a busy man, though.
19:20:55<mae>yeah the http stuff is all pretty standard but i think HAppS State is absolutely brilliant
19:21:15<mae>the idea of being able to give the middle finger to the sql world is very sexy to me
19:21:50<Lemmih>*grin*
19:22:40<mae>i just bought myself a vps for 29/month
19:22:49<mae>gonna build a simple blog/cms to learn happs
19:22:56<mae>and put my resumes on it and whatnot
19:23:21<mae>this way i can "dogfood" it
19:26:02<mae>what do you do Lemmih
19:27:10<Lemmih>I'm a contractor for HAppS LLC.
19:29:02<MarcWeber>Lemmih: Does HAppS LLC has sponsors?
19:30:28<Lemmih>I think Alex has supplied all the funding but I'm not sure.
19:37:33<mae>ok man wtf i'm doing a fresh 6.8.2 install and i'm trying to get sp going
19:37:41<mae>which Text.Regex version should i get
19:37:45<mae>theres like 6 choices
19:37:47<mae>pcre tdfa ....
22:50:03<mae>happs is badass
22:51:05<mae>it didn't even flinch at this
22:51:06<mae>http://hpaste.org/6530
22:51:23<mae>a vps with 128 ram
23:01:04<mae>i think maybe it broke 2% cpu use
23:01:07<mae>sheesh
23:01:30<mae>the only bottleneck seems to be the file descriptors and (initiating of, sockets)
23:03:22<mae>wow i made it go to 4% cpu
23:06:52<fophillips>Right, new GHC solved one problem and another arose: Could not find module `Control.Monad.Reader':
23:08:56<Saizan>fophillips: when do you get that problem? does "ghc-pkg list mtl" finds a package?
23:09:25<fophillips>Nope.
23:09:41<fophillips>During `sp ghc -isrc src/Main.hs --make --run`
23:10:21<Saizan>fophillips: so install the mtl package
23:11:02<Saizan>fophillips: you're on gentoo? it should be in the haskell overlay, but you can also find it on hackage.haskell.org
23:11:18<fophillips>It's in normal portage.
23:14:07<fophillips>Oh good, Cabal installed this time.
23:26:11<fophillips>Yay, I think I've fixed all the dependencies.

Back to channel and daily index: content-negotiated html turtle