Experimental IRC log happs-2007-04-04

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.

10:57:17<thartman>where do I get a hello world example that compiles? http://rafb.net/p/nsbLiN35.html
10:57:18<lambdabot>Title: Nopaste - No description
17:28:34<mnislaih>ACTION longs for working support for Data.Binary in HAppS
17:29:00<sorear>ACTION wants a decent Read/Show replacement...
17:30:02<Saizan>ACTION wants an easy way to change your type a little without losing your data, he is using xml at the moment
17:30:50<mnislaih>ACTION would implement something for Binary, but it looks like the HAppS people are already at work
17:31:05<mnislaih>so mnislaih goes to look at the hpaste sources
17:32:36<sorear>I want a pretty printing library that runs faster than the current Data.Binary.Builder.
17:32:40<Saizan>that don't quite work with 0.8.8, try hpaste-devel
17:33:05<mnislaih>thanks Saizan
17:34:08<Saizan>(which didn't compile either last time i pulled, though)
17:34:39<alexj>mnislaih: we are not working hard on binary right now. if you want to take a shot at improving the existing binary, that would be great.
17:35:22<mnislaih>alexj: ok, I'll give it a look if I can find the time
17:35:38<mnislaih>unless I find a workaround looking at hpaste
17:35:41<alexj>Saizan: are you talking about making changes to the state data type?
17:35:57<Saizan>yeah
17:38:56<alexj>I've been thinking about that one but haven't had a chance to address it. using read/show is definitely not good. was thiking about saving the fields as a list and then making the deserialiation code manipulate lists of stuff to be read.
17:39:06<alexj>the other approach was to shift it all to hlist.
17:39:35<alexj>do you have an opinion on implementation?
17:42:16<Saizan>well, that depends on how we want it to work, i currently dump an xml backup (which is mostly like records and lists) erase the app_state directory and have a restore code in my StartState instance
17:43:11<alexj>you lose any changes to state since the last checkpoint if you do it that way.
17:43:41<Saizan>yeah i've to shutdown the app
17:43:47<alexj>I am thinking about some format that is easy to manipulate and handle additions/deletions to fields.
17:45:43<alexj>something that perhaps uses typeable to save the fields to a list and then you can easily manipulate the list.
17:46:19<Saizan>yeah something for which is easy to say "give me the field X if you can find it"
17:47:06<alexj>i was thinking more of a versioning thning. you have a lookup table that tells you how to convert version x into version y.
17:47:28<alexj>it does list manipulation until you get there.
17:50:44<Saizan>the point is to "detype" enough your data so that you can build a slight different type from it without the previous being in the code
17:52:51<sorear>Maybe we should have like a TH thing
17:53:08<sorear>you specify your data type with field tags and default values
17:53:25<sorear>then $( makeStateType ...descriptor... )
17:53:42<sorear>generates a type and a default-filling Read
17:53:53<sorear>maybe a default-omitting Show
17:54:22<sorear>better yet Text.Parse and Text.PrettyPrint.HughesPJ :)
18:07:10<Saizan>nah, TH should write it for me
18:08:42<sorear>What, have TH write the type description?
18:09:02<sorear>I thing the RYM function is still a bit too buggy for that. :)
18:09:49<Saizan>RYM?
18:10:50<Saizan>btw, could HT be extended so you can query which typeclasses a type instances?
18:10:51<sorear>Read Your Mind, as acronymized by an INTERCAL page.
18:11:22<sorear>Saizan: if it could I would be massively happy, Data.Derive has a lot of bogosity because it can't query that
18:12:17<Saizan>heh
18:22:37<mnislaih>alexj: the hpaste code for serialize (which uses binary BUT writes a string) seems to be much more efficient than the defaults in HAppS, it's actually good enough for me

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