Camelia, the Perl 6 bug

IRC log for #darcs, 2013-01-13

| Channels | #darcs index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:13 mizu_no_oto joined #darcs
00:33 owst joined #darcs
01:03 owst joined #darcs
02:19 intripoon_ joined #darcs
04:21 mizu_no_oto joined #darcs
04:31 preflex_ joined #darcs
10:45 owst joined #darcs
13:12 amgarchIn9 joined #darcs
13:30 donri joined #darcs
13:40 kmels joined #darcs
13:57 mizu_no_oto joined #darcs
14:31 mizu_no_oto joined #darcs
18:46 kmels joined #darcs
19:00 gh___ joined #darcs
19:02 gh___ hi
19:03 amgarching joined #darcs
19:04 gh___ I'm glad send --mail finally made it into my muscle memory
19:04 lispy_ joined #darcs
19:05 Igloo_ joined #darcs
19:05 gienah_ joined #darcs
19:07 epta How can I make `darcs pull' in pure haskell? Don't understand how to use Darcs.Commands.Pull
19:10 gh___ epta: let me paste you a few lines from the code of darcsden
19:10 epta gh___: actually I wan't something like :: IO () finally
19:11 gh___ epta: http://hpaste.org/80702
19:12 gh___ epta: as of now, using withDirectory, you can have it
19:16 mulander joined #darcs
19:16 epta gh___: Darcs.Repository is from darcs-beta?
19:17 epta And Darcs.Utils seems to be too
19:17 gh___ epta: the code structure is different between darcs 2.8 and the HEAD branch on darcs.net
19:18 gh___ epta: in the Darcs module everything now either lives in Utils, Patch, Repository or UI
19:18 gh___ with each one of these modules only depending on the previous ones
19:20 epta What is sanityDarcs?
19:21 epta Oh, sorry
19:21 epta Is there any analogue of darcs-beta's withCurrentDirectory in stable darcs?
19:27 gh___ there always has been
19:29 gh___ http://darcs.net/releases/br​anch-2.8/src/Darcs/Utils.hs
19:29 gh___ here it is
19:32 favonia joined #darcs
19:33 epta Why haddocks of 2.8.3 is broken? http://hackage.haskell.org/package/darcs-2.8.3
19:48 epta `withCurrentDirectory dir_with_darcs_repo $ commandCommand pull [] []' said `*** Exception: user error (No default repository to pull from, please specify one)'
19:49 epta Why should I specify the repo path?
19:49 epta I mean, with darcs binary I could say `darcs pull' and it will enough
19:52 gh___ I think it is just to tell your piece of code where is the directory that contains the repository
19:53 gh___ it doesn't have to be `cwd`
19:53 gh___ in the darcsden code you can see that it is simply "."
19:59 Heffalump gh___: should we settle on the sprint details?
20:00 gh___ Heffalump: hi!
20:00 gh___ there is something new, I will not be able to make it on March 1-3
20:01 gh___ so far we are 4 interested (owst, florent, you, me)
20:01 gh___ maybe eric
20:02 gh___ I don't know if it's better to have a later sprint, with eric in lieu of me
20:05 Heffalump eric sounded like a maybe anyway
20:06 Heffalump Florent liked the idea of IRILL, and it would simplify travel for owst and me - on the other hand accomodation might be easier in Nancy
20:10 gh___ I think we should choose a reasonably cheap-and-practical-barycentric place for everyone involved
20:10 gh___ so Paris and Southampton seem better than Nancy, given the people that will attend
20:12 gh___ I could ask IRILL if a sprint on Feb. 22-24 is possible
20:13 Heffalump what's the extra travel time and cost of Nancy compared to Paris? And would accomodation be cheaper/easier?
20:15 gh___ trains between paris and nancy last 1h30, and cost between 30 (if you buy a long time before the travel) and 70€
20:16 gh___ the average price would be 50€
20:16 gh___ 50 or 60€
20:17 Heffalump return?
20:17 gh___ these are the prices in both direction
20:18 gh___ ~50€ to go, same to come back
20:19 gh___ by train, it seems that coming from UK, you have to pass by paris
20:20 Heffalump that's true for almost anywhere in France, apart from a small set of places easily reachable from Lille
20:20 gh___ from london to nancy, tickets cost 120€ to go (those that you can not cancel nor exchange)
20:20 raichoo joined #darcs
20:20 gh___ Heffalump, I actually thought about Lille :-)
20:20 gh___ but I don't know anyone there
20:21 Heffalump oh, given where Nancy is it might also be reachable via Brussels, but I guess French High-Speed rail is better than from Belgium
20:22 gh___ heffalump: the luxemburg-nancy line is a good and reasonably priced regional train line
20:22 gh___ now to travel between brussels and nancy, sometimes it's cheaper and faster to pass by paris anyway, sometimes by luxembourg
20:22 gh___ there is no direct line
20:26 gh___ nancy is a good place to spend a week end, if you don't know it already (and if owst is interested to know)
20:26 gh___ if there were a few people from germany or central europe, nancy would definitely be more convenient
20:27 Heffalump mornfall? :-)
20:29 mornfall Was?
20:29 Heffalump trying to tempt you to sprint
20:29 mornfall Oh. When?
20:29 gh___ mornfall: probably February 22-24
20:30 mornfall Is there something that's *not* Februar 22-24?
20:30 gh___ March 1-3 may also be possible for me only if it's in Nancy
20:30 gh___ mornall: or any other week-end of february
20:30 Heffalump 15-17th is also possible I think
20:30 mornfall Wait a minute.
20:31 mornfall Looking for calendar.
20:31 gh___ yes
20:32 mornfall Yeah, I'm already at two different conferences that week. :-(
20:32 mornfall I.e. most likely booked till 24th.
20:33 gh___ mornfall: does it also make impossible Feb 15-17 and March 1-3?
20:34 mornfall The first probably yes, as I'll be too busy. March sounds more plausible to me.
20:35 gh___ what happens to me on March 1-3 is that on saturday 2 evening, I have to go somewhere near nancy, apart from that, i'm ok with March 1-3 in Nancy
20:36 gh___ so the choices we have are : March 1-3 in Nancy, or February 22-24 Paris or Southampton?
20:37 gh___ or am I ruling out too much?
20:37 Heffalump there are other options, but we have to narrow down sometime :-)
20:37 gh___ it seems to me that Southamton wins over Paris since we have someone who lives there (oswt)
20:37 gh___ so +1 for organizing
20:37 kmels joined #darcs
20:38 Heffalump OTOH we did Southampton last time and it's good to rotate the travel burden
20:39 gh___ yeah but there was no sprint 6 months ago, and I wasn't there last year, the only one who will do the same trip again will be florent
20:42 gh___ without further input from owst and florent, this is what we have as of now.
20:42 gh___ mornfall: how likely would you attend a sprint in nancy on march 1-3?
20:44 mornfall I'm trying to look up some form of travel.
20:44 gh___ ok
20:47 mornfall There are some trains but it's not very convincing.
20:47 gh___ Nancy is reachable from Strasbourg by regional train, it lasts 1h30 and costs 25€
20:48 mornfall Yeah.
20:48 mornfall But total travel time is 15.5 hours.
20:48 gh___ hmm
20:48 mornfall I.e. leave at 3am and arrive at 7pm.
20:48 mornfall I'm fairly convinced I don't want to know the price either.
20:50 gh___ and flying to strasbourg?
20:51 gh___ the airpor<t is small and close to the train station. OTOH I'm not sure it has connexions with Czech republic
20:53 mornfall Dunno really.
20:54 mornfall I have a reasonable connection to Vienna or Bratislava, but I'm not really a flying type.
20:54 mornfall As long as it's in Europe at least.
20:54 gh___ ok, so maybe Nancy is not *that* good for central europe :)
20:55 mornfall It doesn't seem very likely.
20:55 mornfall Well, I'm lazy, that's the main problem.
20:56 mornfall It's a distance that's too short to be reasonable to fly (and neither start nor end point has an airport), but the train connection isn't exactly a snap either.
20:56 mornfall Make it in Ghent and I'll come. :-))
20:56 mornfall Or something.
20:56 gh___ or Brno :)
20:56 mornfall Yeah, or that.
20:56 mornfall But you'll want me to organize it then. :P
20:57 mornfall And I really suck at paperwork.
20:57 mornfall I can host it in my house tho.
20:57 mornfall No paperwork needed.
20:57 mornfall 1 hour train from downtown Vienna.
20:57 mornfall :-P
20:57 Heffalump why Ghent? It looks fairly plausible from the UK, at any rate...
20:58 mornfall Dunno, there was a Haskell event in Ghent once that I attended.
20:58 mornfall And I can stay in Brussels for a week which amortizes the train trip.
20:58 mornfall We *could* ask Ghent FPG if they would host us.
21:00 Heffalump I guess it's a bit of a stretch given the lack of darcsers
21:00 gh___ yeah
21:01 mornfall Probably.
21:01 gh___ look, let's forget about March 1-3 in Nancy then
21:02 mornfall Well, where do we know of darcsers?
21:02 gh___ let it be Feb 22-24, and I'll ask people of Paris and Lille if it's possible. I'm still open to Southampton if someone goes ahead and looks into it.
21:02 epta gh___: how should I handle this ExitSuccess exception? https://gist.github.com/raw/303534475618a86860​aa/6f26f576992a0f01f6854cdf68281073b8a39722/m
21:02 mornfall Ok.
21:02 gh___ (someone = owst :-) )
21:03 Heffalump gh___: ok, makes sense
21:04 gh____ joined #darcs
21:04 Heffalump ok, so we should also see how Florent feels about alternatives to Paris
21:04 gh____ epta: I don't know, sorry
21:05 Heffalump epta: it means that there's nothing to do so it exits early
21:05 Heffalump it's one of the library-unfriendly features of the current code
21:05 Heffalump you could just trap all ExitExceptions and handle them as you see fit
21:05 Heffalump ExitSuccess generally means that there was nothing to do, and ExitFailure that there was some problem
21:06 Heffalump but I don't think it's properly specified or anything - it's something we need to clean up
21:06 Heffalump what are you trying to achieve overall?
21:12 epta `handle (\(SomeException a) -> when ((show a) /= "ExitSuccess") someAction)'. I fell like a bull in chinashop :[. How it could be rewritten?
21:12 epta I've stucked at http://hpaste.org/80709 now
21:16 Heffalump ExitCode is an exception itself, according to the docs (http://www.haskell.org/ghc/docs/latest​/html/libraries/base/System-Exit.html)
21:16 Heffalump so handle (\(exitCode :: ExitCode) -> case exitCode of ExitFailure _ -> someAction)
21:17 Heffalump you need a case for ExitSuccess too or it'll just crash
21:17 Heffalump or you can use handleJust together with a function to turn ExitCode into Maybe
21:19 epta handle (\(e :: SomeException) -> case fromException e :: Maybe ExitCode of Just ExitSuccess -> return (); Just _ -> someAction; Nothing -> someAction) $ withCurrentDirectory "///" $ commandCommand pull [] ["http://code.haskell.org/xmonad"]
21:20 Heffalump don't catch SomeException, catch just the ExitCode type
21:20 Heffalump if you use the signature like I described it'll only trap ExitCode
21:23 gh____ Heffalump: how much does London <-> Southampton cost? and last?
21:28 kmels joined #darcs
21:29 Heffalump 1 hour or so, and ~£20 I think
21:30 Heffalump well, £40 return
21:30 Heffalump there's also an airport in Southampton
21:32 lambdabot joined #darcs
21:39 gh____ alright
21:46 mornfall Would you believe I've never been to the UK? :-)
21:47 gh____ mornfall: same as me, so yes I believe you :)
21:54 gh____ bye
22:11 kmels joined #darcs
22:31 owst joined #darcs
22:35 * owst finds that he actually can't do the 22-24th feb for the sprint, Heffalump
22:36 Heffalump 15th-17th?
22:37 owst That's ok
22:37 Heffalump or there's still 1st-3rd in Nancy
22:38 owst Yeah.
22:38 owst is there any reason not to look at the rest of March?
22:40 Heffalump gh will be gone
22:42 owst Ah, right
22:46 owst I'm happy to organise again in Soton, it's really no effort, but I'm also happy to go elsewhere
22:48 Heffalump 'k
22:49 Heffalump despite it's physical location I suspect Soton is similarly inconvenient for the French as Nancy is for us - go to London then travel out (Florent's ferry-based solutions notwithstanding)
22:49 Heffalump aargh, s/it's/its/
22:49 owst heh
22:49 owst Yeah, that's true
22:50 owst Although there is an airport in Soton
22:52 Heffalump ah yes, there are flights from Paris Orly
22:52 owst What's the price like?
22:53 Heffalump not sure, I'll look [biab though]
22:53 owst Ah, I assumed you had done so
22:56 Heffalump £130 for Friday morning -> Sunday evening (15th/17th Feb)
22:57 owst Hmm.
22:57 owst What's the money situation?
22:57 owst (darcs-wise)
22:58 favonia joined #darcs
22:59 Heffalump hmm. Bit confused by the reports I've got. I'll check with Eric.
23:00 * owst imagines not fantastic.
23:00 owst Of course, the other thing we could do is some sort of g+ meetup thing
23:01 owst If we get together, and the French contingent also, it'd probably be cheaper, though perhaps less useful
23:02 owst (we being you, me and Eric?)
23:02 Heffalump he's not sure if he'll make it - we're just organising without him and if he can he will
23:03 owst Right
23:47 mizu_no_oto joined #darcs
23:52 kmels joined #darcs

| Channels | #darcs index | Today | | Search | Google Search | Plain-Text | summary