Camelia, the Perl 6 bug

IRC log for #darcs, 2013-06-25

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

All times shown according to UTC.

Time Nick Message
01:02 _ilbot joined #darcs
01:02 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
02:15 _ilbot joined #darcs
02:15 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
02:47 _ilbot joined #darcs
02:47 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
03:32 _ilbot joined #darcs
03:32 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
04:15 _ilbot joined #darcs
04:15 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
04:38 _ilbot joined #darcs
04:38 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
05:15 _ilbot joined #darcs
05:15 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
06:06 _ilbot joined #darcs
06:06 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
06:46 _ilbot joined #darcs
06:46 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
07:00 _ilbot joined #darcs
07:00 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
07:30 _ilbot joined #darcs
07:30 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
07:43 _ilbot joined #darcs
07:43 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
08:21 _ilbot joined #darcs
08:21 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
08:43 _ilbot joined #darcs
08:43 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
08:54 _ilbot joined #darcs
08:54 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
09:11 _ilbot joined #darcs
09:11 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
09:13 donri joined #darcs
09:56 owst joined #darcs
12:15 favonia joined #darcs
12:33 mizu_no_oto joined #darcs
12:35 konundra joined #darcs
12:45 whaletechno joined #darcs
13:07 mizu_no_oto joined #darcs
13:12 gh_ joined #darcs
13:41 uniquenick joined #darcs
13:53 jgross joined #darcs
13:53 jgross_ joined #darcs
14:16 jyyou joined #darcs
14:35 mizu_no_oto joined #darcs
14:35 jyyou joined #darcs
14:41 stepkut joined #darcs
14:46 * Heffalump appears
14:52 burp joined #darcs
14:53 konundra joined #darcs
16:12 lambdabot joined #darcs
16:14 bsrk joined #darcs
16:16 lispy_ joined #darcs
16:17 Heffalump bsrk: 'lo
16:19 mizu_no__ joined #darcs
16:19 MasseR_ joined #darcs
16:19 vikraman- joined #darcs
16:21 bsrk Heffalump: hi
16:28 Heffalump bsrk: how's things going? I think you are also due a blogpost very soon :-)
16:29 bsrk darcsden now uses a proper editor, instead of a text area
16:29 bsrk I have also fixed the bug with the email
16:30 bsrk I am looking into the bug where the entire file gets diffed when the file is edited for the first time
16:30 bsrk That's pretty much it. :-)
16:31 bsrk I will get my next blogpost out soon.
16:35 Heffalump what's next?
16:35 Heffalump also, I think wih editing wrting proper tests is definitely worthwhile
16:35 Heffalump and it should be fairly straightforward, at least for the bit after the edit gets submitted
16:36 bsrk I'll clean up the patch history for the first three features
16:37 bsrk and then we three (us and simon) will get the code review done
16:37 bsrk I will keep proceeding with edit after this
16:37 bsrk what do you think?
16:46 Heffalump ok, that sounds fine - I didn't notice the patch history being bad, but that's up to sm
16:47 Heffalump have you thought about how you would write tests for edit?
16:47 alexei___ joined #darcs
16:48 Heffalump re the editor javascript, you need to make sure the licensing is ok
16:49 bsrk It's BSD, so that's not a problem
16:49 dolio joined #darcs
16:49 Heffalump that's a general principle when importing other people's code into a project - check that the licences are compatible, and insert any copyright notices and licence information into the target project if required
16:50 bsrk oh, it's actually MIT
16:50 bsrk I have made a barebone's copy; I will add the licence
16:51 bsrk it's codemirror from codemirror.net
16:53 kmels joined #darcs
17:07 * Heffalump tries the latest version
17:08 favonia joined #darcs
17:10 edwardk joined #darcs
17:14 jgross__ joined #darcs
17:14 Heffalump btw, are there instructions for the google/github integration yet?
17:15 Heffalump just tried editing on my local instance:
17:15 Heffalump Sorry.. your GET request to /ganesh/screened/edit-file/COPYING failed. The details have been logged.
17:15 Heffalump xdg-mime: createProcess: does not exist (No such file or directory)
17:16 alexei___ joined #darcs
17:16 edwardk joined #darcs
17:21 bsrk ah, you need to install xdg-utils
17:21 Heffalump oh yes? How do you propose I do that? :-)
17:22 Heffalump (bear in mind I run Windows)
17:22 bsrk :-)
17:22 Heffalump so why is it needed?
17:23 bsrk To tell the mime type of the file
17:23 bsrk I was using libmagic via magic package
17:24 bsrk but it was not able to classify the files based on programming lanugage
17:24 Heffalump what's the mime type needed for?
17:24 bsrk codemirror has modes, which can specialize based on the language
17:25 Heffalump ok, so a couple of thoughts - fall back gracefully if xdg-utils isn't available
17:25 Heffalump but find some way to warn the server admin that they are losing functionality
17:25 bsrk I'll do that
17:25 Heffalump and look for a more portable way of doing the detection
17:26 bsrk I agree; using xdg is not a good way
17:26 bsrk I have tried it on a different machine and the classification was not as good
17:26 Heffalump I think libmagic is just about magic numbers in the first two bytes of a file, so if that's right, it's not surprising it can't detect languages
17:26 bsrk yes, that is how it works
17:27 bsrk libmagic, that is
17:27 Heffalump http://stackoverflow.com/questions/475033/de​tecting-programming-language-from-a-snippet looks worth reading
17:28 bsrk Thanks!
17:28 raichoo joined #darcs
17:29 Heffalump does highlighting-kate have anything useful? I think darcsden already uses it.
17:29 kmels joined #darcs
17:30 bsrk kate bases the guess on file extension
17:31 Heffalump there's a case for only being as smart as the rest of darcsden
17:31 Heffalump instead of having it behave inconsistently in different situations
17:32 bsrk Which does raise this point - Would it be a good idea to shift over to codemirror entirely?
17:33 bsrk It will solve the problem of inconsitency, and also the curent display bugs
17:33 Heffalump yes, that might make sense - discuss it with sm
17:33 Heffalump but you still have the language detection issue then
17:34 bsrk I can fallback on libmagic if xdg-mime is not there
17:35 Heffalump it would be nice for common cases to work well - e.g. for "foo.hs" to be highlighted as Haskell
17:36 bsrk Yeah - its probably a better idea to use extension as the guide
17:36 Heffalump but something is definitely better than an error :-)
17:36 lelit joined #darcs
17:36 teratorn joined #darcs
17:38 konundra joined #darcs
17:39 Heffalump when do you want to meet next? I think Friday is looking good for me now.
17:39 Heffalump and we need to coordinate with sm for review time
17:40 bsrk Friday is fine with me; How about Thursday for the review?
17:42 whaletechno joined #darcs
17:42 Heffalump that should be ok too
17:42 Heffalump if sm is available
17:42 Heffalump first thing in the morning for me might also be an option - i.e. late at night for him and middle of the day for you
17:44 bsrk_ joined #darcs
17:44 bsrk_ Okay let's ask sm later
17:45 bsrk_ I will contact again after I do the clean up
17:46 sm hey bsrk_, Heffalump, still around ?
17:47 bsrk_ I think so?
17:47 Heffalump oh, hello
17:47 sm hey hey
17:47 sm I don't think patch cleanup is an absolute requirement, I just thought your work deserves it, and it would make review easier
17:48 sm I'll leave it up to you
17:48 sm I wonder if it will save you work if we run through the patches as they are now, to see if there are any changes needed
17:49 bsrk_ Actually, can we postpone this to some other time? :-)
17:50 sm of course
17:50 Heffalump sm: there was a bit of a discussion about highlighting-kate and codemirror above that you might like to look at
17:51 Heffalump bsrk_: see you whenever we meet next
17:51 sm Heffalump: what *is* the easiest way to clean up a history these days, if one wanted to ? do we have anything like git's edit picker/squasher thing ?
17:51 * sm nods, I see it
17:51 Heffalump rebase would be the way to do it, but I don't have a sense of the UI people would need/want on top
17:53 sm I do think we should at least briefly view each patch together, I think that's totally worth the time, for review, to inform future work, and not least to spread bsrk's knowledge of the new stuff
17:54 sm or I can run through them and raise questions here
17:54 sm at a convenient time
17:54 Heffalump agreed - whichever suits you best
17:55 sm ok, I'll be around wed/thu/fri, we'll see what works for bsrk
17:56 sm has the gsoc officially started yet btw ?
17:57 sm nice going bsrk. I'm looking forward to your next blog post
17:59 edwardk joined #darcs
18:04 alexei___ joined #darcs
18:07 Heffalump yep, started last Monday
18:07 Heffalump (17th)
18:07 dolio joined #darcs
18:27 jgross joined #darcs
18:43 sm Heffalump: if you get a chance to build the latest darcsden/hsp on windows, let me know
18:43 sm I think 1.1 is ready to ship
18:44 sm but I haven't tried all the various build scenarios
19:06 favonia joined #darcs
19:07 carter joined #darcs
19:42 mizu_no_oto joined #darcs
19:45 gbeshers joined #darcs
19:46 edwardk joined #darcs
21:45 edwardk joined #darcs
22:07 chirpsalot joined #darcs
22:27 dolio joined #darcs
22:48 jyyou joined #darcs
22:53 mizu_no_oto joined #darcs
23:40 carter joined #darcs
23:56 carter joined #darcs
23:58 carter joined #darcs

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