2013-11-26 20:04:42 +0000ircbrowse(~chrisdone@unaffiliated/chrisdone)
2013-11-26 20:06:21 +0000diagrams-hog(~diagrams-@2607:f470:8:1050:b9cf:4760:5245:5716) (Remote host closed the connection)
2013-11-26 20:06:46 +0000 <fryguybob> Hello ircbrowse
2013-11-26 20:07:41 +0000diagramsbot- 01[13diagrams-doc01] 15byorgey pushed 1 new commit to 06master: 02http://git.io/xLb6sA
2013-11-26 20:07:41 +0000diagramsbot- 13diagrams-doc/06master 14a3f4500 15Brent Yorgey: IRC logs -- switching to ircbrowse [ci skip]
2013-11-26 20:08:02 +0000 <byorgey> that was easy =D
2013-11-26 20:08:35 +0000 <byorgey> he said the log starts now, though it won't be available through the website until a little later when he updates it
2013-11-26 20:09:36 +0000ChanServ+o byorgey
2013-11-26 20:10:44 +0000 http://projects.haskell.org/diagrams paste: http://paste.hskll.org logs: http://ircbrowse.net/calendar/diagrams
2013-11-26 20:10:50 +0000ChanServ-o byorgey
2013-11-26 20:12:51 +0000 <travis-ci> [travis-ci] 13diagrams-doc/06master 144b1609b http://travis-ci.org/diagrams/diagrams-doc/builds/14564031 The build is still failing.
2013-11-26 20:14:08 +0000 <fryguybob> byorgey: Excellent
2013-11-26 20:20:48 +0000alpounet(~alp@195-132-246-221.rev.numericable.fr) (Quit: Leaving.)
2013-11-26 20:20:57 +0000 <travis-ci> [travis-ci] 13diagrams-doc/06master 149f775f2 http://travis-ci.org/diagrams/diagrams-doc/builds/14564127 The build is still failing.
2013-11-26 20:32:07 +0000diagramsbot- 01[13diagrams-doc01] 15byorgey pushed 2 new commits to 06master: 02http://git.io/r9k-Dw
2013-11-26 20:32:07 +0000diagramsbot- 13diagrams-doc/06master 14c388e08 15Brent Yorgey: draft of the 1.0 release announcement
2013-11-26 20:32:07 +0000diagramsbot- 13diagrams-doc/06master 14dde2d15 15Brent Yorgey: Merge branch 'master' of github.com:diagrams/diagrams-doc
2013-11-26 20:32:14 +0000 <byorgey> ^^^ feedback welcome
2013-11-26 20:40:36 +0000 <fryguybob> byorgey: Looks good. Any idea when the video will be up?
2013-11-26 20:42:01 +0000 <Martingale> byorgey looks great!
2013-11-26 20:56:25 +0000 <travis-ci> [travis-ci] 13diagrams-doc/06master 14dde2d15 http://travis-ci.org/diagrams/diagrams-doc/builds/14566464 The build is still failing.
2013-11-26 20:56:46 +0000 <byorgey> re: video, no, I don't know
2013-11-26 20:58:37 +0000 <byorgey> so I have modified diagrams-builder so that it can deal with both diagrams and IO actions that produce diagrams. It just tries both.
2013-11-26 20:58:52 +0000 <byorgey> can anyone think of an argument why this is a Bad Idea?
2013-11-26 20:59:22 +0000 <byorgey> running arbitrary strings as IO actions makes me feel vaguely uneasy... but typically when using diagrams-builder you wrote the strings yourself.
2013-11-26 20:59:55 +0000 <byorgey> or at least you know what they are.
2013-11-26 21:01:04 +0000 <byorgey> maybe you could worry about crazy scenarios where someone slips an exploit into some diagrams-haddock code block, and then someone else runs diagrams-haddock... but this seems extremely implausible.
2013-11-26 21:01:44 +0000alpounet(~alp@195-132-246-221.rev.numericable.fr)
2013-11-26 21:01:46 +0000 <byorgey> you know what, never mind. You could already do that with unsafePerformIO anyway.
2013-11-26 21:02:08 +0000 <byorgey> so what's the difference.
2013-11-26 21:02:40 +0000alpounet(~alp@195-132-246-221.rev.numericable.fr) (Client Quit)
2013-11-26 21:05:54 +0000diagramsbot- 01[13diagrams-builder01] 15byorgey pushed 1 new commit to 06master: 02http://git.io/QVkj8Q
2013-11-26 21:05:54 +0000diagramsbot- 13diagrams-builder/06master 14e5059df 15Brent Yorgey: build expressions representing either diagrams or IO actions returning diagrams....
2013-11-26 21:11:13 +0000diagramsbot- 01[13diagrams-builder01] 15byorgey tagged 06v0.4.2 at 14b3cebce: 02http://git.io/FnTt2Q
2013-11-26 21:14:19 +0000diagramsbot- 01[13diagrams-doc01] 15byorgey pushed 1 new commit to 06master: 02http://git.io/TLmd2Q
2013-11-26 21:14:19 +0000diagramsbot- 13diagrams-doc/06master 14a749915 15Brent Yorgey: note diagrams-builder-0.4.2 release
2013-11-26 21:20:48 +0000diagramsbot- 01[13diagrams-haddock01] 15byorgey tagged 06v0.2.1.4 at 14cee7eed: 02http://git.io/L9JLBg
2013-11-26 21:23:06 +0000 <travis-ci> [travis-ci] 13diagrams-builder/06master 14e5059df http://travis-ci.org/diagrams/diagrams-builder/builds/14568197 The build passed.
2013-11-26 21:25:53 +0000diagramsbot- 01[13diagrams-haddock01] 15byorgey pushed 1 new commit to 06master: 02http://git.io/3wHE8Q
2013-11-26 21:25:53 +0000diagramsbot- 13diagrams-haddock/06master 14e9931bf 15Brent Yorgey: forgot to add CHANGES for 0.2.1.4
2013-11-26 21:34:00 +0000 <travis-ci> [travis-ci] 13diagrams-builder/06master 14c63160e http://travis-ci.org/diagrams/diagrams-builder/builds/14568528 The build passed.
2013-11-26 21:45:11 +0000 <travis-ci> [travis-ci] 13diagrams-builder/06v0.4.1 144caeb1a http://travis-ci.org/diagrams/diagrams-builder/builds/14568536 The build passed.
2013-11-26 21:46:24 +0000 <fryguybob> byorgey: Right, you could do some sort of SafeHaskell to avoid some of that, but I think there would need to be a lot of work to get there first.
2013-11-26 21:46:34 +0000 <byorgey> right, not worth it.
2013-11-26 21:47:12 +0000 <fryguybob> byorgey: I think what we might need for getting file blocks to work is a version of buildDiagram where we can specify the directory rather then using a temp directory.
2013-11-26 21:56:11 +0000lemao(~lemao@201.17.112.173) (Read error: Connection reset by peer)
2013-11-26 21:57:30 +0000lemao(~lemao@201.17.112.173)
2013-11-26 22:02:14 +0000 <travis-ci> [travis-ci] 13diagrams-builder/06v0.4.2 14c63160e http://travis-ci.org/diagrams/diagrams-builder/builds/14568542 The build passed.
2013-11-26 22:16:29 +0000 <travis-ci> [travis-ci] 13diagrams-haddock/06master 1466ce346 http://travis-ci.org/diagrams/diagrams-haddock/builds/14569062 The build passed.
2013-11-26 22:18:46 +0000 <travis-ci> [travis-ci] 13diagrams-doc/06master 14a749915 http://travis-ci.org/diagrams/diagrams-doc/builds/14568702 The build is still failing.
2013-11-26 22:33:18 +0000 <travis-ci> [travis-ci] 13diagrams-haddock/06v0.2.1.4 1466ce346 http://travis-ci.org/diagrams/diagrams-haddock/builds/14569070 The build passed.
2013-11-26 22:36:06 +0000jonkri(~jonkri@pontarius/jon) (Quit: jonkri)
2013-11-26 22:36:36 +0000jonkri(~jonkri@pontarius/jon)
2013-11-26 22:37:17 +0000jonkri(~jonkri@pontarius/jon) (Read error: Connection reset by peer)
2013-11-26 22:45:03 +0000 <travis-ci> [travis-ci] 13diagrams-haddock/06master 14e9931bf http://travis-ci.org/diagrams/diagrams-haddock/builds/14569437 The build passed.
2013-11-27 00:22:28 +0000 <fryguybob> byorgey, Martingale: It works!
2013-11-27 00:23:17 +0000 <fryguybob> Now we just need to make some sensible convention for how to specify what file a block should become.
2013-11-27 00:32:02 +0000 <Martingale> fryguybob cool :)
2013-11-27 00:35:25 +0000 <Martingale> fryguybob I pushed a file called /test/PaletteIntro1.rst palette, if you are looking for a guinea pig ...
2013-11-27 00:36:03 +0000 <fryguybob> Martingale: Ok, I'll check it out.
2013-11-27 00:36:22 +0000 <Martingale> fryguybob great
2013-11-27 00:38:17 +0000 <Martingale> byorgey could you add your "crazy idea" regarding freeze to the wiki, I've been thinking about it a bit and I think I like it.
2013-11-27 00:43:38 +0000 <fryguybob> Martingale: It will take a bit more work to get your example working, but that is a good example for us to target.
2013-11-27 00:44:06 +0000 <Martingale> fryguybob let me know if and how i can help
2013-11-27 02:02:45 +0000 <byorgey> fryguybob: re: a new version of buildDiagram, I have been hacking on diagrams-builder anyway so it's a good time to make big changes.
2013-11-27 02:03:06 +0000 <byorgey> I think we should probably change buildDiagram to take a single record argument, for starters. =P
2013-11-27 02:14:15 +0000 <fryguybob> byorgey: Yeah, I was thinking that too :D
2013-11-27 02:14:42 +0000 <fryguybob> byorgey: I can't make sense out of arrows :(
2013-11-27 02:17:50 +0000 <byorgey> fryguybob: can't make sense out of them how?
2013-11-27 02:17:58 +0000 <byorgey> using them? or how they are implemented?
2013-11-27 02:19:12 +0000 <fryguybob> byorgey: I don't have any intuition of what can fit the types they take.
2013-11-27 02:19:24 +0000 <fryguybob> For instance: processTopDown :: Tree t => a (t b) (t b) -> a (t b) (t b)
2013-11-27 02:19:40 +0000 <byorgey> oh! haha, I thought you were talking about Diagrams.TwoD.Arrow arrows =)
2013-11-27 02:19:46 +0000 <fryguybob> Ha
2013-11-27 02:20:06 +0000 <fryguybob> I think I understand those arrows, as long as they are not implemented with arrows :p
2013-11-27 02:20:12 +0000 <byorgey> =)
2013-11-27 02:21:27 +0000 <fryguybob> So processTopDown is implemented as: processTopDown f = f >>> processChildren (processTopDown f)
2013-11-27 02:21:39 +0000 <byorgey> yep
2013-11-27 02:21:46 +0000 <fryguybob> I don't understand how it can use >>> without a constraint.
2013-11-27 02:22:12 +0000 <byorgey> oh. uh... I don't either.
2013-11-27 02:23:05 +0000 <byorgey> fryguybob: oh! note that processTopDown is a method of the ArrowTree class =)
2013-11-27 02:23:17 +0000 <fryguybob> Oh, that makes a difference.
2013-11-27 02:23:34 +0000 <fryguybob> Too many things in these classes!
2013-11-27 02:23:40 +0000 <byorgey> hxt is rather fond of these ginormous classes
2013-11-27 02:23:40 +0000 <byorgey> yes
2013-11-27 02:24:00 +0000 <fryguybob> Is there more then one instance even?
2013-11-27 02:25:52 +0000 <fryguybob> Anyway, I'm trying to figure out how to track some state through a transformation.
2013-11-27 02:26:21 +0000 <byorgey> fryguybob: yes, there are four: LA, IOLA, (SLA s), and (IOSLA s).
2013-11-27 02:26:40 +0000 <byorgey> LA a b = a -> [b]
2013-11-27 02:26:52 +0000 <byorgey> IOLA is a -> IO [b]
2013-11-27 02:27:06 +0000 <byorgey> the S variants add state
2013-11-27 02:27:18 +0000 <fryguybob> Humm, ok
2013-11-27 02:27:30 +0000 <fryguybob> I have extractFileBlocks :: FilePath -> XmlT (IOSLA (XIOState ())) And I think I want it to be
2013-11-27 02:27:40 +0000 <fryguybob> extractFileBlocks :: FilePath -> XmlT (IOSLA (XIOState [String]))
2013-11-27 02:28:14 +0000 <fryguybob> Where [String] is all the filenames that I will need later.
2013-11-27 02:28:21 +0000 <byorgey> sounds reasonable.
2013-11-27 02:31:00 +0000 <fryguybob> But, how do I get the strings in the next step: processTopDown (extractFileBlocks outDir) >>> doTransforms [ ..., compileDiagrams outDir XXX, ...]
2013-11-27 02:31:07 +0000 <fryguybob> I want the strings in XXX :D
2013-11-27 02:32:42 +0000 <byorgey> Martingale: http://www.haskell.org/haskellwiki/Diagrams/Dev/Freezing#Units.2C_and_getting_rid_of_split_transfo…
2013-11-27 02:35:14 +0000 <byorgey> fryguybob: see http://hackage.haskell.org/package/hxt-9.3.1.2/docs/Control-Arrow-ArrowState.html#v:getState