Camelia, the Perl 6 bug

IRC log for #padre, 2011-05-20

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

All times shown according to UTC.

Time Nick Message
00:24 Di-ima joined #padre
00:49 Alias joined #padre
01:01 ispy_ joined #padre
01:45 jazzanova joined #padre
01:47 mib_t9sc0u joined #padre
01:51 mib_t9sc0u left #padre
01:55 jazzanova left #padre
02:00 jazzanova joined #padre
02:01 Alias oh my fucking god
02:01 Alias I FOUND THE FUCKING MIXED EOL BUG!
02:02 Alias $self->SetEOLMode( $mode{$default_newline} or $mode{$config->default_newline} );
02:02 Alias The fucking Wx::wxSTC_EOL_CRLF constant is 0
02:02 Alias So guess what happens when you open a WIN file with your default set to UNIX
02:02 Alias Rampant mixed eol corruption is what
02:10 mib_CSJewell Well, well... Good job!
02:16 Hyppolit svn: r14399 | adamk++ | http://padre.perlide.org/trac/changeset/14399
02:16 Hyppolit Fixed the fucking Mixed EOL bug (one of them anyway)
02:16 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Wx/
02:17 Hyppolit svn: r14400 | adamk++ | http://padre.perlide.org/trac/changeset/14400
02:17 Hyppolit Typo
02:17 Hyppolit trunk/Padre/
02:23 asarch left #padre
03:01 mib_CSJewell left #padre
03:17 Hyppolit svn: r14401 | szabgab++ | http://padre.perlide.org/trac/changeset/14401
03:17 Hyppolit Update the messages.pot file
03:17 Hyppolit trunk/Padre/share/locale/
04:10 |Sno| joined #padre
04:13 Sno| left #padre
04:28 Adam joined #padre
04:28 Adam Someone seems to have broken the replace dialog
04:55 toi joined #padre
05:07 marcela joined #padre
05:26 alnewkirk|com joined #padre
05:30 alnewkirk left #padre
05:30 alnewkirk|com is now known as alnewkirk
05:34 thecrux_ left #padre
05:34 katofiad left #padre
05:48 szabgab Alias: pls, can we put aside the swearing?
06:23 Sewi joined #padre
06:31 katofiad joined #padre
06:33 Adam szabgab, sure
06:33 Adam Please understand this has been driving me nuts for over a year
06:34 Adam Venting was needed, but probably should have been kept out of here and commit log
06:38 Adam left #padre
07:03 katofiad left #padre
07:18 mj41 joined #padre
07:20 danlucraft joined #padre
07:24 asarch joined #padre
07:30 dolmen joined #padre
07:43 Sewi any hints how to check if a Wx dialog is currently being shown?
07:45 Alias ->Visible?
07:46 Alias http://docs.wxwidgets.org/stable/wx_wxdialog.html
07:46 Alias I usually start at the class of the thing I have, and browse upwards
07:46 Sewi Visible isn't working.
07:46 Sewi The find dialog seems to be modal now.
07:47 Alias http://docs.wxwidgets.org/sta​ble/wx_wxwindow.html#wxwindow
07:47 Alias http://docs.wxwidgets.org/stabl​e/wx_wxwindow.html#wxwindowshow
07:47 Alias http://docs.wxwidgets.org/stable/​wx_wxwindow.html#wxwindowisshown
07:47 Alias IsShown
07:47 Alias There you go
07:47 Sewi thanks
07:47 Alias You see how I got there?
07:48 Alias Learn to love this page in particular
07:48 Alias http://docs.wxwidgets.org/sta​ble/wx_classref.html#classref
07:48 Alias It is the knower of all things
07:48 Sewi :)
07:51 asarch left #padre
07:58 Alias someone broke replace
07:58 * Alias looks at garu'
07:58 Alias You can't replace more than once per document
07:58 Sewi I'm currently breaking search
07:59 Alias How?
07:59 Sewi That #1223 thing we were talking about
07:59 Hyppolit # 1223 :  Cascading complexity for find dialogs (maybe others) (new enhancement) [ http://padre.perlide.org/trac/ticket/1223 ]
07:59 Alias That shouldn't effect normal usage though should it?
07:59 Sewi it shouldn't :-)
07:59 Alias It should impact the creation and removal of dialogs, but not the behaviour of each dialog
07:59 Sewi but you never know what's broken if you add some functionality :)
07:59 Sewi sure, you're right
07:59 Alias Depends how low you are adding it
08:00 Alias :)
08:00 Sewi I wanted to stay in actionlibrary but I need to get deeper
08:00 Alias Figured that was probably the case
08:00 Alias It's certainly not a trivial feature
08:00 Sewi didn't recognize that search was modal before working on it
08:01 Alias This is for the second escalation?
08:01 Alias From Find to Find in Files?
08:01 Sewi yes.
08:01 * Alias heads home, back on the other name
08:01 Alias left #padre
08:37 Sewi left #padre
08:43 Sewi joined #padre
08:51 Hyppolit svn: r14402 | adamk++ | http://padre.perlide.org/trac/changeset/14402
08:51 Hyppolit Adding convenience method ->changed
08:51 Hyppolit trunk/Padre/lib/Padre/
08:53 Hyppolit svn: r14403 | Sewi++ | http://padre.perlide.org/trac/changeset/14403
08:53 Hyppolit Land first version of Ctrl-F cycling (#1223)
08:53 Hyppolit trunk/Padre/lib/Padre/Wx/ trunk/Padre/lib/Padre/Wx/Dialog/
08:54 Hyppolit # 1223 :  Cascading complexity for find dialogs (maybe others) (assigned enhancement) by Sewi  [ http://padre.perlide.org/t​rac/ticket/1223#comment:1 ]
08:54 Sewi szabgab: Could trac add a comment to a ticket if it's mentioned in a commit message?
08:57 Hyppolit svn: r14404 | adamk++ | http://padre.perlide.org/trac/changeset/14404
08:57 Hyppolit Aligning
08:57 Hyppolit trunk/Padre/lib/Padre/
09:00 Hyppolit svn: r14405 | adamk++ | http://padre.perlide.org/trac/changeset/14405
09:00 Hyppolit More whitespace
09:00 Hyppolit trunk/Padre/lib/Padre/
09:02 bowtie joined #padre
09:04 marcela left #padre
09:06 Hyppolit svn: r14406 | Sewi++ | http://padre.perlide.org/trac/changeset/14406
09:06 Hyppolit Add a message for find-in-files and finish #1223
09:06 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Wx/
09:06 Hyppolit svn: r14407 | Sewi++ | http://padre.perlide.org/trac/changeset/14407
09:06 Hyppolit Perl tidy
09:06 Hyppolit trunk/Padre/script/
09:07 Hyppolit # 1223 :  Cascading complexity for find dialogs (maybe others) (closed enhancement) by Sewi  [ http://padre.perlide.org/t​rac/ticket/1223#comment:2 ]
09:30 katofiad joined #padre
09:44 waxhead so the new find, is that the "bar" in the editor window?
09:44 waxhead Then you hit crtl-f again and get the dialog?
09:45 Sewi yes
09:45 Sewi the bar was F4 before
09:46 waxhead was it?
09:46 waxhead I never knew that!
09:46 waxhead crtl-f seems so much more natural
09:46 Sewi :)
09:47 Sewi the bar is the new search style of all kind of programs.
09:47 Sewi It's the same thing the old old Mosaic browser had :)
09:48 bowtie left #padre
09:50 Sewi waxhead: Could you test it on windows, please?
09:51 waxhead not tonight I'd say...
09:52 waxhead does anyone know what's wrong with the Replace Alias was saying was broken?
09:56 bowtie joined #padre
09:58 Sewi I think he said that only the first match could be found
10:00 Hyppolit svn: r14408 | adamk++ | http://padre.perlide.org/trac/changeset/14408
10:00 Hyppolit Added a bucket load of apply methods
10:00 Hyppolit trunk/Padre/lib/Padre/
10:01 jazzanova left #padre
10:01 jazzanova joined #padre
10:13 dolmen left #padre
10:14 Hyppolit svn: r14409 | adamk++ | http://padre.perlide.org/trac/changeset/14409
10:14 Hyppolit Adding more apply handlers, unifying syntax, syntaxcheck and show_syntaxcheck to just syntaxcheck across the codebase
10:14 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Wx/ trunk/Padre/lib/Padre/Wx/Dialog/ trunk/Padre/lib/Padre/Wx/Menu/ trunk/Padre/t/ trunk/Padre/xt/files/
10:16 garu Sewi++ # cascading find
10:16 Sewi thx
10:17 garu where's alias?
10:17 garu Sewi: it looks awesome! exactly how I was expecting it to be
10:18 Sewi It's not finally good at all, the ctrl-f trigger skips the first event when launched using the menu
10:19 garu I thought that was a feature :)
10:22 garu hi waxhead! did you manage to make Locale::Msgfmt install on 5.14.0? I thought it was strange that it didn't work, 'cause here it worked fine out of the box
10:23 Sewi garu: Are you on Windows?
10:23 Adam joined #padre
10:23 garu Alias++ # EOL bug
10:23 Adam Been pissing me off forever
10:23 Adam is now known as Alias
10:23 garu Alias: mixed EOL's still do it
10:24 Alias Yup
10:24 garu Sewi: no, not really
10:24 Alias I did the smallest fix I could
10:24 Alias The REAL fix involves also hijacking ->Paste and other things so everything auto-converts
10:24 Alias I think
10:24 * garu nods
10:26 garu right now I'm facing a weirdest bug... if I press tab, even when set to 4 spaces, it does 8
10:26 garu anyway, I'll look into it later
10:26 Alias Did you break replace garu?
10:26 garu oO
10:26 Alias You can't press the Replace button more than once
10:27 Alias on the replace dialog
10:27 Alias No matter how many of them there are, you get the first and then "no more instance of blah"
10:27 garu Alias: crap, it should work
10:27 * garu blames Sewi and runs
10:28 Alias I haven't the time to check, and kind of don't want to HAVE to fix it
10:28 Alias But it's hurting productivity
10:28 garu don't worry
10:28 garu I have to go somewhere now, I'll be back in an hour or so and fix this
10:28 * Sewi hold up the 'blame everything on me' sign
10:29 garu Alias: it worksforme right now actually
10:29 garu odd
10:30 garu Alias: but I think I know what's happening
10:30 garu it's not going linearly anymore I think
10:31 garu Alias: if you ctrl-a before, does it work?
10:32 garu I think searching forward/backwards is mixed atm
10:32 Alias weird, works on this computer
10:32 Alias Maybe it's been fixed since then
10:32 garu cool
10:33 garu Alias: see? no more productivity pains :)
10:33 garu but it DOES need some more loving
10:33 garu I'll make sure to add more tests when I get back home today
10:43 Alias Goodo
10:43 Alias Sewi: Now we just need to make the inline dialog less ugly :)
10:43 Sewi The lower bar?
10:48 Alias ya
10:48 Alias It looks crude compared to Firefox
10:49 Alias Although at the rate Firefox are going they'll replace it with Google's even uglier one
10:49 Alias Since they seem to be doing a good job of copying their other features
10:50 Sewi :)
10:55 marcela joined #padre
10:57 El_Che waxhead: now that we fixed the failing linux wx tests, the scrolling issue in Ubuntu it would be good to also fix the lower resolution icon issue for people running unity (ubuntu) and probably gnome3 (redhat en co)
10:57 El_Che before release, I mean
10:59 szabgab Sewi: sorry I did not understand trac mention when what?
11:00 Sewi szabgab: Every time you do a commit containing #1234 in the commit text, trac should add this commit to the ticket
11:00 bowtie Alias, Q commit
11:01 szabgab Sewi: let me try to think about it
11:01 szabgab back later&
11:01 dolmen joined #padre
11:04 Sugar joined #padre
11:05 jazzanova left #padre
11:15 toi left #padre
11:15 toi joined #padre
11:17 Hyppolit svn: r14410 | szabgab++ | http://padre.perlide.org/trac/changeset/14410
11:17 Hyppolit Update the messages.pot file
11:17 Hyppolit trunk/Padre/share/locale/
11:18 Alias So did someone make bowtie his svn login?
11:22 waxhead I'm fine with when to reelase...
11:23 waxhead I'm just do some tests under RELEASE_TESTING which finds all sorts of things
11:23 waxhead Alias, has that Replace problem been fixed?
11:23 waxhead Alias++ on the EOL find too BTW
11:23 waxhead I laughed when I saw it in the back log at work...
11:23 Alias I can't see the problem on my home machine
11:24 waxhead garu, yep.. got it working the next night
11:24 waxhead which is odd
11:24 waxhead which is good, it's not me then..
11:24 waxhead I made a change from Padre::Current to $self->current
11:25 waxhead I like the find bar I have to say..
11:25 waxhead nice touch
11:25 waxhead hi dolmen
11:25 waxhead dolmen++ for debian packages
11:26 dolmen waxhead: not me
11:26 * waxhead is THE WORST blackops player
11:26 waxhead no?
11:26 waxhead how funny.. I thought you were..
11:26 dolmen another dolmen?
11:27 waxhead Alias, not me.. I asked Sewi if he could do it.. not sure he saw the request
11:27 Sewi waxhead: what did I miss?
11:28 dolmen waxhead: all my Padre work (not much so far) has been on the Windows side
11:29 waxhead Sewi, give bowtie a commit bit to svn
11:29 Sewi waxhead: Oh :)
11:29 waxhead dolmen, really? well I remember the name, so it must be something worth while. :)
11:30 * waxhead wonders now who the debian packager is...
11:30 waxhead sigh
11:30 waxhead getting old
11:33 Sewi Alias: Do you want to go for it?
11:39 Alias go for what?
11:39 Alias A release?
11:41 bowtie Q do the EOL and Find now work
11:41 Sewi Alias: No, flush what you suggested via query
11:45 waxhead damn.. I can't think of how phrase a google search..
11:45 waxhead I remember reading about an algorithm that works out how likely two words are the same only mispelt...
11:46 waxhead ha!
11:46 waxhead found it
11:47 waxhead Levenshtein distance
12:36 estranho joined #padre
13:00 submersible_toaster waxhead: dont forget suffix lists
13:00 waxhead submersible_toaster, hey... how do you mean?
13:01 submersible_toaster distance vs match semantics
13:01 bowtie left #padre
13:01 submersible_toaster what r u doing w/ Levenshtein
13:02 Alias submersible_toaster, internet being flaky for you tonight?
13:02 submersible_toaster optus shaping in effect so it's all messed up
13:02 waxhead submersible_toaster, simple stuff really
13:03 submersible_toaster waxhead: gimme 5 ... putting the household back to bed
13:03 waxhead trying to make sure we reduce the likelihood of dupilcate names slipping past us
13:03 waxhead submersible_toaster, ok
13:03 waxhead basically a quick check for typo's
13:04 waxhead I'm trying to work out http://search.cpan.org/~bria​nl/Lingua-EN-Nickname-1.16/
13:04 waxhead it's not working for me.. I'm running 5.14.0 though..
13:07 submersible_toaster I love this...
13:07 submersible_toaster # Massive Data Structures
13:07 submersible_toaster #
13:07 submersible_toaster # Hand-tuning is not recommended--edit the source text file
13:07 submersible_toaster # instead, then regenerate the hashes.
13:09 waxhead it's the nickname_eq()
13:09 waxhead there's this map at the start of if it and the values don't work:
13:09 waxhead my($a,$b,$regex,$match)= map
13:09 waxhead {my$n=$_;$n=~s/\b(\w+)/\L\u$1/g if!/[a-z]/;$n=~s/\s+//g;$n} @_;
13:10 waxhead $regex and $match are empty
13:10 * waxhead needs to learn to use the debugger one day
13:10 waxhead it's all print statements in the code
13:10 waxhead :(
13:10 submersible_toaster probably will not help you w/ map :)
13:11 waxhead print "$a : $b : $regex : $match\n"; returns this: chuck : charles :  :
13:12 submersible_toaster it's the code that needs comments - not the 'massive data structures'
13:12 submersible_toaster I can see those are massive data structures... I _have_ eyes
13:12 waxhead true
13:13 submersible_toaster so there is some short circuiting before match and regex are even considered
13:14 jnap joined #padre
13:15 submersible_toaster eek that map is awful
13:15 submersible_toaster waxhead: it can only return $a as I read it.
13:16 submersible_toaster waxhead: tell me the real problem. ;)
13:16 submersible_toaster no wait.
13:17 waxhead submersible_toaster, we have a bunch of files to process and we want to reduce the number of possible duplicates... it's going to be people's names and dob.. so we'll look for equal dob's and names tha are similar either due to type or nick name
13:17 submersible_toaster it will return as many things as @_ has , and no more. I think regex and match are _meant_ to be $1 ...etc
13:17 waxhead I remembered reading about something like this ages ago...
13:18 waxhead this was the article I remembered:
13:18 waxhead http://proudtouseperl.com/2009/04/dea​ling-with-duplicate-person-data.html
13:18 waxhead however this nickname module isn't working..
13:18 submersible_toaster no - i think it may not work like it is supposed to
13:20 waxhead the map?
13:20 waxhead maybe
13:20 submersible_toaster the tests are rubbish too
13:21 submersible_toaster so until u can convince the author to fix .. or patch ur self. Levenshtein distance is good .
13:22 waxhead the map is really quite odd, you get nothing into $regex and $match..
13:22 submersible_toaster sometimes cheap short circuit is to transform both candidates like....
13:22 submersible_toaster my $key = join('', sort split('',$input));
13:23 submersible_toaster gives transposition shortcut
13:23 submersible_toaster peter and petre both transform to eeprt
13:24 submersible_toaster waxhead: that map is plan wrong. IMHO
13:24 waxhead oh.. now way...
13:24 waxhead s/now/no/
13:24 submersible_toaster ?!?
13:24 waxhead if I capitialise the first letter of the name it works!
13:25 submersible_toaster really
13:25 waxhead yep
13:25 submersible_toaster what do u get?
13:25 shadowpaste "waxhead" at 217.168.150.38 pasted "nickname thingy" (14 lines) at http://paste.scsys.co.uk/105816
13:26 waxhead check that out.. shows that it gets a score now
13:26 waxhead so I wonder if it meant to make sure that the first letter was upper cased?
13:27 submersible_toaster what i cannot understand is how calling that with only 2 args is giving more than 2 results from the map
13:27 submersible_toaster no wait
13:27 submersible_toaster it doesn't
13:28 waxhead that's right.. it doesn't
13:28 waxhead you only get 2 values, but $regex and $match are empty..
13:28 submersible_toaster broken in more than 1 way
13:28 submersible_toaster :)
13:28 waxhead seems so...
13:28 submersible_toaster nice enumeration though
13:29 submersible_toaster lots of names in there
13:30 waxhead and now that I have the case matched up, it gets to 98, so it returns before it gets to the bit about the $regex and the nickmatch call
13:30 submersible_toaster for starters , the whole module seems to presume ucfirst($arg) normalising of input
13:31 waxhead that it does.. and now I know that, it's safe to work with
13:31 waxhead when I get nothing returned, I'll consider the difference too high to use...
13:31 submersible_toaster cool. can i also suggest soundex
13:32 waxhead submersible_toaster, good point
13:32 waxhead Hmm.. I wonder whether I should ask about that module.. it's quite old now
13:35 waxhead submersible_toaster, time for bed here.. I'm tired.. you should sleep when you can.. :)
13:35 submersible_toaster waxhead: tell me about it.
13:35 submersible_toaster l8r
13:35 waxhead cya
14:06 toi left #padre
14:46 bowtie joined #padre
15:03 asarch joined #padre
15:07 dapatrick joined #padre
15:17 ispy_ left #padre
15:26 marcela left #padre
15:28 user_5642 joined #padre
15:29 user_5642 left #padre
15:34 mj41 left #padre
15:56 pece joined #padre
16:00 dapatrick left #padre
16:07 dapatrick joined #padre
16:12 Alias left #padre
16:31 Hyppolit svn: r14411 | szabgab++ | http://padre.perlide.org/trac/changeset/14411
16:31 Hyppolit add script to build padre-on-strawberry
16:31 Hyppolit trunk/tools/
16:48 Hyppolit wiki page http://padre.perlide.org/trac/wiki/DownloadWindows changed by szabgab
16:50 Sugar left #padre
16:52 dolmen left #padre
16:53 danlucraft left #padre
16:54 Sewi left #padre
17:00 alnewkirk left #padre
17:00 bowtie left #padre
17:29 dodathome joined #padre
17:29 asarch left #padre
17:34 dapatrick left #padre
17:45 szabgab http://szabgab.com/blog/2011/05/padre-0-8​4-on-strawberry-perl-5-12-3-released.html
17:45 szabgab if anyone has a windows machine and some spare time to test this
17:59 dapatrick joined #padre
18:06 ispy_ joined #padre
18:14 dapatrick left #padre
18:28 dapatrick joined #padre
18:33 zenog left #padre
18:42 ispy_ left #padre
18:43 dodathome left #padre
18:44 Sewi joined #padre
18:44 dodathome joined #padre
18:59 jnap left #padre
19:01 El_Che szabgab: no success here (Windows XP under Virtualbox)
19:02 El_Che I'll reinstall now using 7-zip instead of the built-in zip utility in windows
19:06 ispy_ joined #padre
19:06 Ranguard joined #padre
19:09 El_Che szabgab: it does not find perl512.dll
19:12 El_Che in a cmd box, this launches padre:
19:12 El_Che c:\strawberry\perl\bin\perl.exe c:\strawberry\perl\site\bin\padre
19:13 El_Che you need to maximize the windows though otherwise you have a big windows with only a very small editable space
19:13 El_Che resize works also
19:21 ispy_ left #padre
19:30 El_Che the instruction to launch padre by typing just c:\strawberry\perl\site\bin\padre does not work
19:43 LeK joined #padre
20:02 szabgab El_Che: thanks for checking
20:03 szabgab it worked on my machine,  winder if it worked because of the PATH I alrady had to some other reason
20:05 szabgab El_Che: , yeah, it seems, once I remove all the strawberry related entries from the PATH I get the same  error
20:10 Hyppolit wiki page http://padre.perlide.org/trac/wiki/DownloadWindows changed by szabgab
20:22 dodathome left #padre
20:26 LeK left #padre
20:27 Sewi left #padre
20:42 mj41 joined #padre
20:49 toi joined #padre
21:22 ispy_ joined #padre
21:59 dapatrick left #padre
22:00 alnewkirk joined #padre
22:07 pece left #padre
22:21 mj41 left #padre
22:35 estranho left #padre
22:37 k2t0f12d joined #padre
22:57 ispy_ left #padre
23:02 k2t0f12d left #padre
23:05 ispy_ joined #padre
23:31 bowtie joined #padre
23:52 Alias joined #padre

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