<   October 2012   >
Su Mo Tu We Th Fr Sa  
    1  2  3  4  5  6  
 7  8  9 10 11 12 13  
14 15 16 17 18 19 20  
21 22 23 24 25 26 27  
28 29 30 31
00:04 rlpowell joined
00:05 <rlpowell> Hey all. Where can I find rdoc or similar automated API documentation for cucumber?
00:21 <rtyler> relishapp.com
00:23 <rlpowell> https://www.relishapp.com/cucumber/cucumber/docs -- that does'nt look like api docs at all?
00:25 <rtyler> what API docus are you expecting?
00:27 <rlpowell> The sort of thing that rdoc generates.
00:27 <rlpowell> A list of classes and methods that cucumber defines.
00:49 coreyhaines joined
02:04 dagobah joined
03:27 desperatelark joined
03:51 ndboost joined
06:22 ma_il joined
06:57 dekroning joined
07:01 rlpowell left
07:15 rolfb joined
07:16 dhruvasagar joined
07:42 dekroning joined
07:48 hatofmonkeys joined
08:09 vlad_starkov joined
08:14 wild_oscar joined
08:31 ma_il joined
08:37 ma_il1 joined
08:50 tooky joined
08:53 baphled joined
08:56 beckyisabunny joined
09:04 renier joined
09:16 rb2k joined
09:21 dekroning joined
09:55 dekroning joined
09:57 jarib joined
10:01 beckyisabunny joined
10:13 dekroning joined
11:01 tooky joined
11:28 Psy-Q left
11:34 dhruvasa1ar joined
12:18 LarsFronius joined
12:32 ndboost joined
12:37 dekroning joined
12:43 ndboost joined
12:58 ma_il joined
13:03 imajes joined
13:12 dhruvasagar joined
13:13 ndboost joined
13:30 dekroning joined
13:43 ma_il joined
13:50 LarsFronius joined
14:20 mdgreenfield joined
14:31 ma_il joined
14:36 mdgreenfield left
14:48 tooky joined
15:04 cardoni joined
15:06 cardoni joined
15:18 ndboost joined
16:03 imajes joined
16:08 dekroning joined
16:09 alpjor joined
16:11 imajes joined
16:22 dekroning joined
16:39 vlad_starkov joined
16:52 cheezy joined
17:06 wild_oscar left
17:52 dekroning joined
17:54 vlad_starkov joined
17:56 cardoni joined
18:05 rb2k joined
18:07 ndboost joined
18:39 cardoni joined
18:43 beckyisabunny joined
18:46 jarib joined
18:55 aslakhellesoy joined
18:58 <BeepDog> aslakhellesoy: hi :D
18:58 <aslakhellesoy> BeepDog: hi mate!
18:58 <BeepDog> so I fixed it
18:58 <aslakhellesoy> I'm reading that link you sent
18:58 <aslakhellesoy> Oh already?
18:58 <BeepDog> I renamed the class in IDEA, copying the class name
18:58 <BeepDog> and pasting it
18:58 <BeepDog> look at the commit diff in github
18:58 <aslakhellesoy> I love the internets!
18:58 <BeepDog> the filename looks different
18:58 <BeepDog> I don't know why, but something must've been off
18:59 <BeepDog> this may also be useful:
18:59 <BeepDog> rename "src/main/java/com/aslakhellesoy/\303\206\303\270a\314\212.java" => "src/main/java/com/aslakhellesoy/\303\206\303\270\303\245.java" (100%)
18:59 <BeepDog> it appears that the actual UTF-8 sequence was different
18:59 <BeepDog> IDEA picked up that the class wasn't the same as the filename
18:59 <BeepDog> at least, it did for me
19:00 <BeepDog> and so I renamed the file, using a copy/paste of the class name, and then it all "just worked"
19:00 <aslakhellesoy> urgh
19:00 <aslakhellesoy> git pull git://github.com/dkowis/maven-utf8-jdk7-woes.git fixes_maybe
19:00 vlad_starkov joined
19:00 <aslakhellesoy> error: The following untracked working tree files would be overwritten by merge:
19:00 <BeepDog> does it still bomb for you?
19:00 <aslakhellesoy> src/main/java/com/aslakhellesoy/Æøå.java
19:00 <aslakhellesoy> Please move or remove them before you can merge.
19:00 <BeepDog> doh!
19:00 <BeepDog> are you on a linux?
19:01 <aslakhellesoy> OS X
19:01 <BeepDog> does "locale" work?
19:01 <BeepDog> like if you run locale in a terminal?
19:01 <BeepDog> http://jonisalonen.com/2012/java-and-file-names-with-invalid-characters/ although, this link gets close
19:01 <aslakhellesoy> LANG="en_US.UTF-8"
19:01 <aslakhellesoy> LC_COLLATE="en_US.UTF-8"
19:01 <aslakhellesoy> LC_CTYPE="en_US.UTF-8"
19:01 <aslakhellesoy> LC_MESSAGES="en_US.UTF-8"
19:01 <aslakhellesoy> LC_MONETARY="en_US.UTF-8"
19:01 <aslakhellesoy> LC_NUMERIC="en_US.UTF-8"
19:01 <aslakhellesoy> LC_TIME="en_US.UTF-8"
19:01 <aslakhellesoy> LC_ALL=
19:01 <BeepDog> that's basically the same as mine
19:01 <BeepDog> I'm on a linux though
19:02 <BeepDog> perhaps you're not using a UTF-8 compatible terminal?
19:02 <BeepDog> I know nothing about apply-terminals
19:02 <aslakhellesoy> I'm using the one that comes with the OS
19:02 <aslakhellesoy> Thing is - In Cucumber-JVM - those files are *generated*
19:02 <aslakhellesoy> And the symptom is the same
19:03 <aslakhellesoy> So the terminal encoding shouldn't matter
19:03 <BeepDog> hrm
19:03 <BeepDog> but the system encoding might
19:03 <aslakhellesoy> yep
19:03 <BeepDog> but tha'ts a valid point
19:03 <BeepDog> hrm
19:03 <aslakhellesoy> but that's `locale` right?
19:03 <BeepDog> yeah
19:03 <BeepDog> sadly, unixy locale stuff can be somewhat of a mess
19:04 <BeepDog> perhaps it's not generating UTF-8 but UTF-16 ?
19:04 <BeepDog> since it's generated logic
19:05 <BeepDog> perhaps write a utility based on that ls.java from that one link that barfs out the actual character codes
19:05 <BeepDog> and compare them to a UTF-8/16 chart
19:05 <BeepDog> and make sure that the generation is doing what one expects
19:05 <aslakhellesoy> Could be. I couldn't pull your changes because git crapped itself
19:05 <BeepDog> :(
19:05 <BeepDog> well youc ould clone the repo fresh too
19:05 <BeepDog> it bothers me that git crapt itself
19:05 <aslakhellesoy> Ah sure - let me try that
19:06 <BeepDog> that leads me to believe that it's something more evil
19:06 <aslakhellesoy> They probably didn't test for OS brokenness
19:06 <BeepDog> which repo are these things generated/compiled in (it's been a while since I did cucumber thingies)
19:06 <aslakhellesoy> cucumber-jvm/java for example
19:06 <BeepDog> k
19:06 <aslakhellesoy> try a mvn clean install from the root
19:06 <BeepDog> k
19:07 <aslakhellesoy> if it works for you and not for me it's probably an OS X system encoding thing
19:07 <BeepDog> that's what I'm worried about
19:07 <aslakhellesoy> Although I'm on a bloody US of A bought Mac
19:07 <BeepDog> are UK macs crappier? ;P
19:07 <BeepDog> I run myself some Fedora ;D
19:07 <BeepDog> join the dark side my friend
19:07 <aslakhellesoy> I prefer US keyboard layout
19:07 <BeepDog> ah
19:08 <BeepDog> doing a clean install
19:08 <BeepDog> after fetching the latest head
19:08 <aslakhellesoy> And my job gives us US laptops since they're US based
19:08 <BeepDog> neat
19:08 <BeepDog> Mines an oldish dell, with an nvidia graphics card
19:08 <BeepDog> (which is awesome)
19:08 dekroning joined
19:09 <BeepDog> okay, it' generated and compiled the i18n sources, I think
19:09 <BeepDog> where should it have bombed?
19:12 <aslakhellesoy> it should have bombed while compiling the java module
19:12 <aslakhellesoy> (compiling the generated classes)
19:12 <BeepDog> works for me then, I'm int eh scalas
19:12 <aslakhellesoy> oh wows
19:12 <aslakhellesoy> that's good to know
19:12 <BeepDog> I'm on oracle jdk7 too
19:12 <aslakhellesoy> so it's an OS X thing then. Blergh.
19:13 <BeepDog> :(
19:13 <aslakhellesoy> Me too on oracle jdk7
19:13 <BeepDog> $ java -version
19:13 <BeepDog> java version "1.7.0_05"
19:13 <BeepDog> Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
19:13 <BeepDog> Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
19:13 <BeepDog> specifically
19:13 <aslakhellesoy> java version "1.7.0_06-ea"
19:13 <aslakhellesoy> Java(TM) SE Runtime Environment (build 1.7.0_06-ea-b08)
19:13 <aslakhellesoy> Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
19:13 <BeepDog> it's possible there's a bug in _06
19:13 <BeepDog> possible, but not likely (imho)
19:13 <aslakhellesoy> not likely
19:14 <aslakhellesoy> Btw - I ran the Ls.java on that page...
19:14 <aslakhellesoy> Modified the dir it lists to the parent of the java file...
19:15 <aslakhellesoy> output:
19:15 <aslakhellesoy> Æøå.java: true
19:15 <BeepDog> le sad
19:15 <aslakhellesoy> That's on JDK7
19:16 <aslakhellesoy> However - if I do java Ls > tmp.log
19:16 <aslakhellesoy> And look at tmp.log in my editor...
19:17 <BeepDog> FYI: http://pastebin.com/3ccdY3q7
19:18 <aslakhellesoy> I see Æo'.java: true (well not exactly that ' but something similar)
19:18 <aslakhellesoy> Err - Æøa'
19:18 <BeepDog> right
19:18 <BeepDog> hrm
19:18 <BeepDog> lemme run that ls.java
19:19 <aslakhellesoy> Thing is - when I look at its output in the console it looks fine
19:19 <aslakhellesoy> But if I store it to a file it's all messed up
19:19 <aslakhellesoy> Very weird
19:19 <BeepDog> gotta be some kind of system locale madness :(
19:20 alpjor joined
19:20 <BeepDog> my IRC isn't utf-8, because this server is old
19:20 <BeepDog> $ java Ls
19:20 <BeepDog> Æøå.java: true
19:20 <BeepDog> oh wait, maybe it is
19:21 <BeepDog> i don't think it is
19:21 <BeepDog> heh
19:21 <BeepDog> but between master, and my fixes branch, the LS output appears to be the same
19:21 <BeepDog> well the java ls output
19:21 <aslakhellesoy> java Ls | hexdump
19:21 <aslakhellesoy> 0000000 ae bf 8c 2e 6a 61 76 61 3a 20 74 72 75 65 0a
19:21 <aslakhellesoy> 000000f
19:21 <aslakhellesoy> That's on JDK 6
19:21 <aslakhellesoy> java Ls | hexdump
19:21 <aslakhellesoy> 0000000 c3 86 c3 b8 61 cc 8a 2e 6a 61 76 61 3a 20 74 72
19:21 <aslakhellesoy> 0000010 75 65 0a
19:21 <aslakhellesoy> 0000013
19:22 <aslakhellesoy> That's on JDK 7
19:22 <BeepDog> whoa
19:22 <BeepDog> lemme pastie mine at you
19:22 <BeepDog> because it's very very interesting
19:22 <aslakhellesoy> Hell yes
19:22 <aslakhellesoy> I'll commit my Ls.java so you can see it
19:22 <BeepDog> I've got it already
19:22 <BeepDog> unless you changed a lot?
19:22 <BeepDog> just the path?
19:23 <BeepDog> http://pastebin.com/NJ4mKA1X
19:23 <BeepDog> look at the output from the hexdump on the master branch
19:23 <BeepDog> on the jdk7
19:27 <aslakhellesoy> https://github.com/aslakhellesoy/maven-utf8-jdk7-woes#digging-deeper
19:28 <aslakhellesoy> https://github.com/aslakhellesoy/maven-utf8-jdk7-woes/commit/71d956d9da5accaaef955dc0d9c65893bd3c6d5c
19:28 <BeepDog> no no
19:28 <BeepDog> lemme test the jdk6 bit
19:28 <BeepDog> look at my jdk7 output compared to yours
19:28 <BeepDog> the bytes are reversed
19:28 <BeepDog> mine on jdk7: 0000000 86c3 b8c3 cc61 2e8a 616a 6176 203a 7274
19:29 <BeepDog> yours on jdk7: 0000000 c3 86 c3 b8 61 cc 8a 2e 6a 61 76 61 3a 20 74 72
19:29 <BeepDog> I declare WAT
19:29 <BeepDog> also, brb, bio
19:30 <aslakhellesoy> Indeed
19:32 <BeepDog> let me see if I have a jdk6 handy
19:33 <BeepDog> hrm I don't
19:33 <BeepDog> I can solve that
19:33 <BeepDog> ewww, I have to visit oracle's website
19:38 <BeepDog> okay
19:40 <BeepDog> $ /opt/jdk6/jdk1.6.0_35/bin/java Ls |hexdump
19:40 <BeepDog> 0000000 86c3 b8c3 cc61 2e8a 616a 6176 203a 7274
19:40 <BeepDog> 0000010 6575 000a
19:40 <BeepDog> 0000013
19:40 <BeepDog> so yeah, my jdk6 and jdk7 outputs appear to be the same
19:40 <BeepDog> and that's with a javac done via jdk6 as well
19:41 <BeepDog> aslakhellesoy: so I have verified that my jdk6 and jdk7 output are the same, on the master branch
19:41 <aslakhellesoy> ok. can you try to pull my latest and run `javac Ls.java && java Ls hex`
19:41 <BeepDog> sure
19:42 <aslakhellesoy> That prints the file name as hex, to make sure nothing gets garbled in the console
19:42 <BeepDog> in jdk6 and 7 ?
19:42 <aslakhellesoy> sure
19:42 <aslakhellesoy> 7:
19:42 <aslakhellesoy> -0000000000000003c793c479e3375d1959e899f
19:42 <aslakhellesoy> 6:
19:42 <aslakhellesoy> -000000000000000003c793c473c5ad1959e899f
19:43 <BeepDog> it prints it in hex?
19:43 <BeepDog> oh ls jex
19:43 <BeepDog> herpaderp
19:43 <aslakhellesoy> I grabbed this snippet: http://stackoverflow.com/questions/923863/converting-a-string-to-hexadecimal-in-java
19:43 <BeepDog> $ /opt/jdk6/jdk1.6.0_35/bin/java Ls hex
19:43 <BeepDog> -0000000000000003c793c479e3375d1959e899f
19:43 <BeepDog> $ java Ls hex
19:43 <BeepDog> -0000000000000003c793c479e3375d1959e899f
19:44 <BeepDog> some things a bit wierd in your 7
19:44 <BeepDog> you have an extra 37
19:44 <aslakhellesoy> I had expected to see the same as in my 6!
19:44 <BeepDog> yeah
19:44 <aslakhellesoy> This is super weird
19:44 <BeepDog> apparently you lack a 37 in your 6
19:44 <BeepDog> wow
19:45 <aslakhellesoy> I appreciate you helping out. If you don't mind I'll link to this IRC log from the github project
19:45 <BeepDog> sure
19:45 <aslakhellesoy> And I'll close the Maven ticket - not their fault
19:45 <BeepDog> seems to be, yeah
19:46 <BeepDog> er, to not be
19:48 <BeepDog> can you check the hex output on the fixes_maybe branch?
19:49 <BeepDog> $ /opt/jdk6/jdk1.6.0_35/bin/java Ls hex
19:49 <BeepDog> -000000000000000003c793c473c5ad1959e899f
19:49 <BeepDog> $ javac Ls.java && java Ls hex
19:49 <BeepDog> -000000000000000003c793c473c5ad1959e899f
19:56 <BeepDog> hrm, interestingly enough on my fixes_maybe branch everything is the same
19:56 <BeepDog> it's gotta be some kind of locale setting on the apple box
19:56 <aslakhellesoy> Yeah - just not sure what :-/
19:57 <aslakhellesoy> This french dude on the ML failed to build on both JDK 6 and 7. Not sure what OS he's on though.
19:57 <BeepDog> heh
19:57 <BeepDog> did you note that your jdk6 encoding is macRoman?
19:57 <aslakhellesoy> Could be a different reason he can't build it
19:58 <aslakhellesoy> yes I did
19:58 <BeepDog> what if you managed to set that for jdk7?
19:58 <BeepDog> (i have no clue how one sets that heh)
19:58 <aslakhellesoy> me neither :-)
19:58 <aslakhellesoy> Oh actually, I think I do
19:58 tychobrailleur joined
19:59 <BeepDog> was your jdk6 apple java? or oracle java?
19:59 <aslakhellesoy> It's overridden with <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> in the pom
19:59 <BeepDog> gasp
19:59 <tychobrailleur> aslakhellesoy: seb here
19:59 <BeepDog> yeah apple java was ignoring that stuff
19:59 <BeepDog> big time
19:59 <BeepDog> https://github.com/technomancy/leiningen/issues/586 scan the comments here
19:59 <BeepDog> apple's java is being evil at you
19:59 <tychobrailleur> aslakhellesoy: thought might be helpful to discuss this directly
19:59 <aslakhellesoy> tychobrailleur: bienvenu au weird
20:00 <tychobrailleur> aslakhellesoy: I�ve been compiling with jdk7 for a while now
20:00 <BeepDog> ah you must be the "french guy" he was just talking about :)
20:00 <BeepDog> what OS?
20:00 <tychobrailleur> aslakhellesoy: Ubuntu 12.10, 64 bits
20:00 <tychobrailleur> yay
20:00 <BeepDog> interesting
20:00 <aslakhellesoy> what locale?
20:00 <tychobrailleur> I�m just in the process of cloning, and doing a clean build there
20:01 <BeepDog> locale | grep LANG
20:01 <tychobrailleur> fr_FR.UTF-8
20:01 <BeepDog> hrm
20:01 <BeepDog> whats the rest of the output?
20:01 <BeepDog> just all of `locale` without any greps
20:01 <aslakhellesoy> funny - every message you send here has (incompatible encoding) appended :-)
20:01 <aslakhellesoy> that's you tychobrailleur
20:01 <tychobrailleur> LANG=fr_FR.UTF-8
20:01 <tychobrailleur> LANGUAGE=fr:en
20:01 <tychobrailleur> really? odd
20:01 <aslakhellesoy> fr:en - franglais?
20:02 <BeepDog> yeah that's wierd
20:02 <BeepDog> or weird
20:02 <aslakhellesoy> so to sum up:
20:02 <aslakhellesoy> BeepDog: has it working on 6 and 7
20:02 <BeepDog> I can verify that this locale works for me in linux: http://pastebin.com/Kf4EW8Kr
20:02 <aslakhellesoy> tychobrailleur: on 7 but not 6
20:02 <aslakhellesoy> And I on 6 but not 7
20:02 <BeepDog> nice!
20:03 <aslakhellesoy> That right?
20:03 <BeepDog> I thinmk so
20:03 <tychobrailleur> yes
20:03 <BeepDog> and I think it has to do with your apple box's jdk6 ignoring the locale setting and using macroman
20:03 <tychobrailleur> but I definitely couldn�t compile your sample project because of that character discrepancy
20:03 <aslakhellesoy> BeepDog: sounds plausible
20:03 <BeepDog> heh, if I search the google for jdk7 macroman your maven-utf8-jdk-woes is on the first page
20:04 <BeepDog> I haven't tried maven running against jdk6, but the output of all the UTF-8 tests are the same
20:04 <aslakhellesoy> BeepDog: that's cuz google knows you now
20:04 <BeepDog> your repo, not mine (and i turned off the personal results :P)
20:05 <aslakhellesoy> well, since neither of you are on OS X you can't see what I see :-/
20:05 <aslakhellesoy> I guess I'll just install an ubuntu VM then
20:05 <BeepDog> heh
20:06 <BeepDog> well, so far fedora has the biggest winning streak ;P
20:06 <aslakhellesoy> Unless I can figure out how to tell my java to be nice
20:06 imajes joined
20:06 <BeepDog> but I'm sure ubuntu works fine (I just don't care for it)
20:06 <tychobrailleur> still builds ok here.
20:06 <BeepDog> hrm
20:06 <aslakhellesoy> I use Ubuntu at work
20:06 <aslakhellesoy> brb
20:09 <tychobrailleur> so if I understand correctly, there's a different issue to the sample project one, then
20:10 <tychobrailleur> because I do get an error with the sample project, but it can be fixed
20:10 <BeepDog> well
20:10 <BeepDog> I think it has to do with the generation of the files
20:10 <BeepDog> and the one he committed into the sample project is generated on an apple, poorly
20:10 <BeepDog> my linux box, when I check it out and open it in IDEA, shows that the class is indeed named differently than the file
20:11 <tychobrailleur> exactly
20:11 <BeepDog> so I copied/pasted the class name into the file name, and committed that
20:11 <BeepDog> and pushed it to a fixes_maybe branch on my own fork
20:11 <tychobrailleur> that's because they are different unicode character
20:11 <BeepDog> I don't remember if aslakhellesoy tested it or not (I think he did)
20:11 <BeepDog> right
20:11 <tychobrailleur> oh so it's your pull request
20:11 <BeepDog> yep
20:11 <tychobrailleur> ok
20:11 <* BeepDog> == dkowis
20:11 <tychobrailleur> ok. nice to meet you :)
20:12 <tychobrailleur> ok, I'll have a look at how the files are generated, see if I spot stg
20:12 <BeepDog> good luck
20:12 <BeepDog> It has to be something with system locales
20:13 <BeepDog> especially since you're also on a linux
20:13 <aslakhellesoy> I'm back
20:13 <BeepDog> for aslak, it's OSX and apple java (jdk6) and oracle java (jdk7)
20:13 <BeepDog> so it could be how OSX represents UTF-8 stuff
20:13 <BeepDog> there were some interesting differences in the hex dump output
20:14 <aslakhellesoy> So it appears that when I create a file named Æøå.java - whether it's with `touch` or with a script - the file ends up having composite Unicode characters.
20:14 <tychobrailleur> ok
20:16 <BeepDog> aslakhellesoy: is there an alternative terminal you can use?
20:16 <aslakhellesoy> BeepDog: Same happens when I run a script that does a cat
20:16 <BeepDog> hrm
20:16 <aslakhellesoy> So it can't be my terminal I think
20:16 <BeepDog> well cat sends things into the shell
20:16 <BeepDog> good point
20:17 <BeepDog> gotta be a locale setting then
20:17 <BeepDog> aslakhellesoy: are you on OSX Lion?
20:18 <aslakhellesoy> Yesy
20:18 <BeepDog> http://yzisin.wordpress.com/2012/01/09/how-to-fix-locale-issues-in-mac-os-x-lion-terminal/
20:18 <BeepDog> again, a shot in the dark, not having an OSX to test on
20:20 <aslakhellesoy> My script:
20:20 <aslakhellesoy> cat > src/main/java/com/aslakhellesoy/Æøå.java <<-EOF
20:20 <aslakhellesoy> package com.aslakhellesoy;
20:20 <aslakhellesoy> public class Æøå {
20:20 <aslakhellesoy> public static void main(String[] _) {
20:20 <aslakhellesoy> System.out.println("Æøå");
20:20 <aslakhellesoy> }
20:20 <aslakhellesoy> }
20:20 <aslakhellesoy> EOF
20:20 <aslakhellesoy> No shell involved here
20:20 <BeepDog> yeah, but that's locale issues not shell issues
20:21 <BeepDog> I can't remember if you have all the same settings configured or not
20:21 <aslakhellesoy> just saying it's not a terminal issue
20:21 <BeepDog> yeah, I believe you
20:21 <tychobrailleur> yeah and surely both � are entered the same way, so it's when actually created the file something happens
20:22 <BeepDog> http://stackoverflow.com/questions/9757843/unicode-encoding-for-filesystem-in-mac-os-x-not-correct-in-python
20:22 <BeepDog> oh god, I wonder if it's your filesystem
20:22 <aslakhellesoy> That's what I'm thinking too
20:22 <BeepDog> "MacOS X uses a special kind of decomposed UTF-8 to store filenames."
20:22 <aslakhellesoy> Uhm WTF
20:22 <BeepDog> damn, the sited link doesn't exist
20:23 <BeepDog> http://www.talisman.org/~erlkonig/misc/python-and-unicode.html#PLAT_OSX
20:23 <jbpros> http://cdn.memegenerator.net/instances/250x250/27822881.jpg
20:24 <aslakhellesoy> accented character like é, it will decompose this into e plus ' before saving it to the filesystem
20:24 <aslakhellesoy> that's it!
20:24 <BeepDog> that's it indeed
20:24 <aslakhellesoy> bloddy hell
20:24 <BeepDog> jbpros: s/don't udnerstand text encoding/use an apple computer for programming/
20:24 <BeepDog> ;)
20:25 <jbpros> heh
20:25 <aslakhellesoy> jbpros: haha
20:25 <BeepDog> http://stackoverflow.com/questions/10281072/git-svn-rebase-file-name-too-long so that has a solution
20:25 <BeepDog> dude created an ExFat dmg-image and does his work on there
20:25 <jbpros> sorry guys, that was probably not helpful (:
20:25 <BeepDog> jbpros: that's okay, I'm normally not helpful :D
20:26 <BeepDog> it's odd that the behavior is defined by the unicode standard, but apparently doesn't translate well
20:26 <aslakhellesoy> an ExFat dmg-image. Whatever.
20:26 <BeepDog> different filesystem :)
20:32 <tychobrailleur> I'm surprised this seems to have never surfaced as a jdk bug
20:32 <tychobrailleur> you could argue that javac should normalize filename and classname to do its check
20:33 <aslakhellesoy> tychobrailleur: combination of jdk7 being new and few people using non-ascii in class names
20:33 <tychobrailleur> but I do get the same problem with jdk6
20:33 <aslakhellesoy> write once run anywhere (but please compile on linux)
20:34 <BeepDog> hah
20:34 <BeepDog> it's probably an artifact of JDK7 being oracle java, whereas Apple had control of it all before
20:35 <tychobrailleur> here's another one: http://stackoverflow.com/questions/3610013/file-listfiles-mangles-unicode-names-with-jdk-6-unicode-normalization-issues
20:35 <aslakhellesoy> could be
20:36 <aslakhellesoy> java.text.Normalizer to the rescue?
20:36 <BeepDog> as part of the generated file output?
20:37 <aslakhellesoy> I dunno
20:37 <BeepDog> yikes
20:37 <BeepDog> but that's certainly the solution
20:37 <tychobrailleur> you need the opposite, a decomposer :)
20:37 <BeepDog> somehow
20:38 <BeepDog> So I thik when you generate the class files, use the normalizer on the filenames
20:38 <BeepDog> and the classnames
20:38 <BeepDog> heh
20:38 <BeepDog> that's what I'd do anyway
20:38 <BeepDog> since I think you're using URLEncoder.encode right now?
20:40 <tychobrailleur> so use the decomposed version for both? That sounds like the only way yeah
20:40 <BeepDog> yeah
20:40 <BeepDog> so we need to modify all the <groovy> script fu in the thing
20:40 gqlewis joined
20:41 <BeepDog> in the entire cucumber-jvm, to take advantage of the normalize things
20:41 imajes joined
20:41 <BeepDog> and if we were to do it smartly, we'd put the groovy code in the root of the project
20:41 <aslakhellesoy> That's what I'm thinking. I'll try that.
20:41 <BeepDog> and pass in the paths
20:42 <aslakhellesoy> Or BeepDog - if you want to try it go ahead
20:42 <BeepDog> and just use <groovy src="${uber_root}/i18n-gen.groovy"/>
20:42 <BeepDog> I might give it a whack
20:42 <aslakhellesoy> I'm flying tomorrow so I need to pack anyway
20:42 <BeepDog> oki, I should be doing regular work, but I can probably get this done real quick :(
20:42 <BeepDog> er:)
20:42 <BeepDog> diversions are fun and stimulating
20:43 <aslakhellesoy> this is definitely a mind bender
20:43 <tychobrailleur> well, I leave you guys to it then. ;)
20:45 <aslakhellesoy> thanks for all the help guys
20:46 gqlewis joined
20:47 <tychobrailleur> well, glad I could help a bit, even if that wasn't much.
20:47 <tychobrailleur> have a nice trip
20:48 baphled joined
20:50 <BeepDog> aslakhellesoy: I'm going to note that the jython stuff already normalizes it into NFD format
20:50 <BeepDog> can you run the jython stuff standalone on your mac?
20:51 <aslakhellesoy> It does? Where?
20:51 <BeepDog> in the template
20:51 <aslakhellesoy> And what do you mean by standalone?
20:52 rolfb joined
20:52 <BeepDog> like, can you build/compile those parts?
20:52 <BeepDog> not that it would know, because there's nothing to compile!
20:52 <BeepDog> so nevermind
20:52 <BeepDog> that's all in one file, but it normalizes all the jython names to NFD form
20:53 <BeepDog> so I'm going to try to do that in hte javas bit as well
20:53 rb2k joined
20:53 <aslakhellesoy> git blame jython/src/main/code_generator/I18n.jython.txt
20:53 <aslakhellesoy> got my name on it
20:53 <aslakhellesoy> I have only a vague recollection of this
20:53 <BeepDog> heh
20:53 <BeepDog> well, lets see if it behaves itself for filenames
20:54 griffindy joined
20:54 rb2k joined
20:55 <BeepDog> well, normalizing it in the cucumber-java stuff and it hasn't blown up yet :)
20:55 <BeepDog> but I don't have a mac :)
20:56 <aslakhellesoy> Let me see, I think I can help
20:56 <aslakhellesoy> There it is
20:56 <BeepDog> heh
20:56 <BeepDog> I'll push it up real quick
20:56 <aslakhellesoy> hokay
20:56 <aslakhellesoy> brb in 10
20:56 <aslakhellesoy> I'll try it out then
20:57 <BeepDog> k
20:57 <BeepDog> https://github.com/dkowis/cucumber-jvm/tree/new_groovy_gen
20:57 <BeepDog> I'll make a pull request
20:59 <BeepDog> I don't know if this will solve tychobrailleur's problem or not
20:59 <griffindy> hi everyone
20:59 <griffindy> I'm using Rails, I seem to be having a problem with my session variable resetting in between steps, is there any way to avoid this?
21:01 imajes joined
21:04 mdgreenfield joined
21:04 mdgreenfield left
21:07 <tychobrailleur> BeepDog: my problem?
21:08 <BeepDog> with not being able to compile it
21:08 <BeepDog> since you're not on an apple computer
21:09 <BeepDog> you could check out the branch I linked anyway, and see if it builds for you now
21:09 <tychobrailleur> BeepDog: no, I could compile on Ubuntu ok
21:09 <BeepDog> oh
21:09 <BeepDog> just not when using jdk6?
21:10 <tychobrailleur> BeepDog: I was saying that the sample project was failing for me for both 6 and 7, not cucumber-jvm
21:10 <BeepDog> ooooh
21:10 <tychobrailleur> BeepDog: cucumber-jvm always compiled fine for me, and now we know why :)
21:11 <tychobrailleur> BeepDog: sorry, didn't me to confuse everyone.
21:11 <BeepDog> yeah, i get it now
21:11 <BeepDog> yep
21:11 <BeepDog> for some reason I thought you were talkinga bout the original cucumber-jvm
21:11 <tychobrailleur> s/me/mean/
21:11 <tychobrailleur> nope
21:11 <BeepDog> his sample project "maven-jdk7-woes" also bombed for me on the linux
21:12 <tychobrailleur> makes sense
21:12 imajes joined
21:12 <BeepDog> hopefully normalizing the filenames to all be that NFD wierdness format that OSX uses (which is apparently a standard, but only OSX uses it, heh) will get it to behave well
21:12 <aslakhellesoy> BeepDog: huzza!!!!
21:12 <BeepDog> it works here on the linux, and will probably work fine for you
21:12 <BeepDog> HAPPY TIEMS!
21:12 <aslakhellesoy> That worked!
21:13 <BeepDog> yay!
21:13 <tychobrailleur> yeah makes sense
21:13 <tychobrailleur> cool
21:13 <tychobrailleur> well done
21:13 <aslakhellesoy> I removed .replaceAll("\\p{InCombiningDiacriticalMarks}+", "")
21:13 <BeepDog> I saw that in the pythons, but wasn't sure what it did, so I kept it
21:13 <BeepDog> but if it doesn't need to be there, all the better
21:13 <aslakhellesoy> That was needed only in python, because it doesn't allow non-ascii in code
21:13 <aslakhellesoy> But java does
21:13 <BeepDog> aha
21:13 <aslakhellesoy> Basically it removes accents
21:14 <tychobrailleur> j�ttebra
21:14 <BeepDog> those little dots thingies that other languages use :)
21:14 <* BeepDog> is a lame-o american
21:14 <BeepDog> :)
21:14 <aslakhellesoy> tychobrailleur: ça c'est du suédois ;-)
21:14 <tychobrailleur> aslakhellesoy: indeed, lived there for a while ;)
21:14 <aslakhellesoy> who'd thunk an american would fix unicode issues!
21:15 <BeepDog> hah!
21:15 <tychobrailleur> yep, pretty amazing :)
21:15 <BeepDog> I just have leet google-fu
21:15 <aslakhellesoy> tychobrailleur: oh really? you speak swedish too?
21:15 <tychobrailleur> javisst
21:15 <aslakhellesoy> vafan!
21:15 <BeepDog> aslakhellesoy: you should totally write up a blag post about this
21:15 <tychobrailleur> jla
21:15 <tychobrailleur> j�vloa
21:15 <BeepDog> I speak English, Java, Ruby, and am learning Scala ;P
21:15 <tychobrailleur> can't type
21:15 <* BeepDog> slinks off to his boring one-language corner
21:16 <aslakhellesoy> BeepDog: can't be bothered. Now I know the solution. That works for me :-)
21:16 <BeepDog> ha
21:16 <BeepDog> very good then
21:16 <tychobrailleur> BeepDog: then you should
21:16 <BeepDog> I might
21:16 <BeepDog> but I'm not popular on the internets, unlike aslakhellesoy ;)
21:16 <aslakhellesoy> BeepDog: you will be if you write that post!
21:16 <BeepDog> heh
21:16 <aslakhellesoy> I'll tweet it!
21:17 <BeepDog> it's a deal, I'll try to write it up tonight
21:17 <BeepDog> do you want me to update my pull request?
21:17 <tychobrailleur> sounds good!
21:17 <aslakhellesoy> where is your blog btw
21:17 <BeepDog> shlrm.org
21:17 <BeepDog> http://shlrm.org/
21:17 <aslakhellesoy> octopuses. looks nice!
21:18 <BeepDog> yeees :)
21:18 <BeepDog> I'm a huge fan of octopress
21:18 <aslakhellesoy> damn auto correct
21:18 <BeepDog> I used to have the wordpress
21:18 <BeepDog> and then my site got compromised
21:18 <aslakhellesoy> I've finally started to work on a new cukes.info site
21:18 <BeepDog> I saw teh haxxors try to add an SSH user
21:18 <BeepDog> but thankfully my SSH endpoint and my blag were on different hosts
21:18 <BeepDog> so this runs on a rackspace cloud machine, and is just nginx and html files
21:18 <BeepDog> no worries about exploits there :)
21:19 <aslakhellesoy> http://cukes.info/step-definitions.html
21:19 <BeepDog> that's quite pretty
21:19 <aslakhellesoy> It's just bootstrap with some other fonts so far :-)
21:19 <tychobrailleur> BeepDog: looks bootstrap-y :)
21:19 <BeepDog> weren't you going to do it in rails-y things?
21:19 <BeepDog> or some non-static?
21:20 <BeepDog> tychobrailleur: I don't think octopress uses bootstrap, but it'd be awesome if it did
21:20 <aslakhellesoy> it's just jekyll and gh-pages
21:20 <BeepDog> I loves me some bootstrap
21:20 <BeepDog> heh, I thought I recommended that a long time ago, and you didn't like that idea :P
21:20 <tychobrailleur> BeepDog: I meant the new cukes.info
21:20 <aslakhellesoy> static site with mostly markdown source
21:20 <BeepDog> ah yeah, the cukes.info is definitely bootstrap
21:20 <aslakhellesoy> I need to make it look non-bootstrappy
21:20 <BeepDog> I could've sworn I recommended that, and you didn't like that idea
21:20 <BeepDog> I guess the subliminal messages worked
21:20 <BeepDog> I mean uh
21:21 <aslakhellesoy> BeepDog: I know, but I finally came round
21:21 <BeepDog> heheh
21:21 <BeepDog> I'm no good at magic css styling
21:21 <aslakhellesoy> I don't like the default bootstrap look (because so many sites use it)
21:21 <BeepDog> I like bootstrap because it makes my site look reasonably pretty without me having to do work :)
21:21 <aslakhellesoy> so if I can make it look original i'm happy
21:21 <BeepDog> cool
21:21 <aslakhellesoy> tinker tinker with css
21:21 <BeepDog> I'm sure it's doable
21:21 <BeepDog> yeah
21:22 <BeepDog> https://github.com/cucumber/cucumber-jvm/pull/399 aslakhellesoy I updated the pull request, taking out the same thing you took out
21:23 <BeepDog> unless you already magicked it in there or whatever :)
21:23 <BeepDog> does travis build on multiple OS'es ?
21:23 <tychobrailleur> aslakhellesoy: love the way you can see what the syntax is for your favourite language on the new site
21:24 <tychobrailleur> BeepDog: doubt it
21:24 <tychobrailleur> travis-ci.org uses 32-bit Ubuntu Linux 12.04 (server edition).
21:24 <tychobrailleur> http://about.travis-ci.org/docs/user/ci-environment/
21:25 GitHub99 joined
21:25 <GitHub99> [cucumber-jvm] aslakhellesoy pushed 1 new commit to master: http://git.io/5yv-Kg
21:25 <GitHub99> [cucumber-jvm/master] The java module (and all other modules) finally compile on JDK 7 and OS X. Thanks to David Kowis and Sébastien Le Callonnec - Aslak Hellesøy
21:25 GitHub99 left
21:25 cardoni joined
21:25 <aslakhellesoy> tychobrailleur: the cool thing is that it remembers the tab you selected if you reload the page or go to another one
21:25 <BeepDog> hooray!
21:25 <aslakhellesoy> so the language you pick will follow you around the site
21:25 <BeepDog> that's nifty
21:26 <aslakhellesoy> Hey - try to hit the edit link in the fotter
21:26 <aslakhellesoy> footer
21:26 <BeepDog> it's lots of htmls, but I can edit it I think
21:26 <aslakhellesoy> Try making a change and see if you can send a pull req
21:26 <BeepDog> it wants me to sign in to github
21:26 <aslakhellesoy> do it :-)
21:26 <BeepDog> k
21:27 <BeepDog> it loads awful slow
21:27 <aslakhellesoy> orly?
21:27 <BeepDog> seems to
21:28 <tychobrailleur> BeepDog: yep, awesome. I didn't realise there was a f# impl of cucumber. I'll have to come up with something in Ada :D
21:28 <BeepDog> the rendering of the page is all borked using the "eye" button
21:28 <BeepDog> so I sent a patch
21:28 <BeepDog> tychobrailleur: ha
21:29 <aslakhellesoy> BeepDog: that's because it's rendered with a browser markdown that isn't as fancy as the gh-pages markdown/liquid processor
21:29 <BeepDog> aha
21:29 <BeepDog> well I made a silly patch
21:29 <aslakhellesoy> thanks! https://github.com/cucumber/cucumber.github.com/pulls
21:30 <BeepDog> neat
21:30 <aslakhellesoy> I might not merge that one ;-)
21:30 <BeepDog> that's okay, I won't feel too bad :)
21:30 <tychobrailleur> :)
21:30 <aslakhellesoy> It doesn't compile!
21:30 <BeepDog> ha!
21:35 <BeepDog> aslakhellesoy: so you should update your maven woes repo, with links or something :)
21:35 <BeepDog> or maybe after I blag aboot it
21:36 <aslakhellesoy> I'll update with a link to the diff and the irc log
21:36 <BeepDog> yep
21:39 <aslakhellesoy> done: https://github.com/aslakhellesoy/maven-utf8-jdk7-woes
21:43 <BeepDog> Whoa the log has what we're typing right now in it
21:44 <BeepDog> it's like I'm looking at the future, but with a slight delay that makes it more like the past
21:46 <tychobrailleur> anyway, gotta go. sl�n leat!
21:48 GitHub1 joined
21:48 <GitHub1> [cucumber-jvm] aslakhellesoy pushed 1 new commit to master: http://git.io/2piqGA
21:48 <GitHub1> [cucumber-jvm/master] Normalized groovy and scala generated code as well - Aslak Hellesøy
21:48 GitHub1 left
21:51 GitHub137 joined
21:51 <GitHub137> [cucumber-jvm] aslakhellesoy pushed 1 new commit to master: http://git.io/CDc5vw
21:51 <GitHub137> [cucumber-jvm/master] Make travis build on more JDKs - Aslak Hellesøy
21:51 GitHub137 left
21:54 dekroning joined
21:55 travis-ci joined
21:55 <travis-ci> [travis-ci] cucumber/cucumber-jvm#227 (master - 1298878 : Aslak Hellesøy): The build passed.
21:55 <travis-ci> [travis-ci] Change view : https://github.com/cucumber/cucumber-jvm/compare/23417375b45e...1298878e8faa
21:55 <travis-ci> [travis-ci] Build details : http://travis-ci.org/cucumber/cucumber-jvm/builds/2669491
21:55 travis-ci left
21:58 cardoni joined
22:01 imajes joined
22:02 rb2k joined
22:08 travis-ci joined
22:08 <travis-ci> [travis-ci] cucumber/cucumber-jvm#228 (master - b5661d4 : Aslak Hellesøy): The build passed.
22:08 <travis-ci> [travis-ci] Change view : https://github.com/cucumber/cucumber-jvm/compare/1298878e8faa...b5661d4a3659
22:08 <travis-ci> [travis-ci] Build details : http://travis-ci.org/cucumber/cucumber-jvm/builds/2669736
22:08 travis-ci left
22:15 travis-ci joined
22:15 <travis-ci> [travis-ci] cucumber/cucumber-jvm#229 (master - 76311fa : Aslak Hellesøy): The build passed.
22:15 <travis-ci> [travis-ci] Change view : https://github.com/cucumber/cucumber-jvm/compare/b5661d4a3659...76311fa8aa54
22:15 <travis-ci> [travis-ci] Build details : http://travis-ci.org/cucumber/cucumber-jvm/builds/2669762
22:15 travis-ci left
22:43 cardoni joined
22:46 imajes joined
23:43 dekroning joined