|
Think twice before running "make install" for Pugs | moritz.faui2k3.org/irclog/ | pugscode.org | sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse (show (scanl (*) 1 [1..] !! 4)) | "Perl 6 Today" video from YAPC::Asia: xrl.us/v6op Set by agentzh on 6 May 2007. |
|||
| Juerd | obra: Yes. | 00:07 | |
| obra: qpsmtpd and XML::SAX things broke | |||
| Of course, both Perl related. For some reason, on feather, Perl things tend to break during upgrades. I wonder why :) | |||
| moritz | because a lot of perl stuff is installed | 00:08 | |
| very much more than on my maschine I suppose | |||
| Khisanth | what is the size of your autobundle file? :) | 00:09 | |
| moritz | dpkg -l 'lib*-perl'|grep ^ii|wc -l | ||
| 250 | |||
| Juerd | moritz: Yeah, everything Debian had, minus everything that broke during upgrades :) | ||
| moritz | Khisanth: I pack (nearly) everything in debian packes that I install | ||
| Juerd | dpkg -l 'lib*-perl'|grep ^ii|wc -l | ||
| hm | 00:10 | ||
| 1;0 root@feather:~# dpkg -l 'lib*-perl'|grep ^ii|wc -l | |||
| 829 | |||
| moritz | if you'd install 800 graphic packages, some would break as well ;) | ||
| Khisanth | I seem to approximately 1/3 of what is on CPAN installed | 00:11 | |
| to have | |||
| moritz | and do you use it? | 00:12 | |
| Khisanth | only some :) | 00:13 | |
| SVK, Catalyst and Jifty are probably responsible for dragging in half of those! | 00:14 | ||
| moritz | yes, they have huge dependencies | 00:15 | |
| I only use catalyst of these three, but it's bad enough ;) | |||
| Khisanth | it doesn't really matter, I have the space :) | 00:16 | |
| I tend to install things that looks interesting to play around with them anyway | |||
| moritz | and I tend to run debfoster now and then ;) | 00:17 | |
| Khisanth | oh this is all in a copy of perl installed in ~ so it can't really break anything | 00:18 | |
| Juerd | It can at least break itself. | ||
| wolverian | modern apt-get can do what debfoster does | ||
| Juerd | What is debfoster? | ||
| wolverian | maintains a list of apps vs automatically installed deps | 00:19 | |
| moritz | interactively, if you want it | ||
| Juerd | Oh, that. | ||
| On feather, I explicitly apt-get installed all perl modules I could find | |||
| wolverian | heh. | ||
| Juerd | Then tried again, after removing some clashing modules | ||
| And bit by bit I'm removing modules from feather because they don't upgrade cleanly | 00:20 | ||
| Like XML::SAX now. | |||
|
00:21
Khisanth joined
|
|||
| wolverian | it's probably a bit sad that I'm laughing at ack --thpppppt | 00:21 | |
| qmole | heh | 00:23 | |
| jjore-w just found ack -thppppt today. | 00:26 | ||
| oh wait, no, I found that before too. Slipped my mind ocmpletely. | |||
|
00:33
Khisanth joined
00:35
polettix joined
|
|||
| polettix | ?eval my $a = 'a'; $a.perl | 01:12 | |
| evalbot_r16241 | "\\\"a\"" | 01:13 | |
| polettix wonders why the three backslashes | |||
| ?eval my $a = 'a'; [$a].perl | |||
| evalbot_r16241 | "[\"a\",]" | ||
| Tene | ?eval my $a = 'a'; $a.perl.say | 01:16 | |
| evalbot_r16241 | OUTPUT[\"a"ā¤] Bool::True | ||
| Tene | that's why. | 01:17 | |
| polettix | my perl6-fu is too weak to understand :/ | ||
| Juerd | polettix: The output is already a Perlish string | 01:18 | |
| polettix: \\\" is the result of double-quotemeta'ing a single ". | |||
| polettix | Juerd: ok, so we're dealing with \"a", but why the backslash in front of the string? | 01:19 | |
| Tene | polettix: because the output needs to contain \ and " | 01:20 | |
| so the actual string has "\\" for the \ and '\"' for the " | |||
| Juerd | 03:20 < Juerd> polettix: \\\" is the result of double-quotemeta'ing a single ". | ||
| While true, that was irrelevant here :) | |||
| Juerd now also wonders: why a capture? | 01:21 | ||
| polettix | Tene: what I don't get is why that \ has to be there. | ||
| (probably the same question as Juerd?) | |||
| Tene | ?eval "a".perl | 01:22 | |
| evalbot_r16241 | "\"a\"" | ||
| Tene | ?eval \"a".perl | ||
| evalbot_r16241 | \"\"a\"" | ||
| polettix | ?eval (\"a").perl | ||
| evalbot_r16241 | "\\\"a\"" | ||
| Tene | ?eval \\"a".perl.say | 01:23 | |
| evalbot_r16241 | Error: ā¤Unexpected "\\\\\""ā¤expecting program | ||
|
01:24
jikuty joined
|
|||
| polettix | so, it seems that saying $a = "a" actually means $a = \"a" | 01:24 | |
| ?eval my $a = \"a" | |||
| evalbot_r16241 | \"a" | ||
| polettix | uhm, maybe I have to upgrade my pugs | 01:25 | |
| ?eval my $a = \"a"; $a.perl | |||
| evalbot_r16241 | "\\\"a\"" | ||
| Juerd | Yes, but I wonder why the \ is relevant in the output | ||
|
01:26
weinig joined
|
|||
| polettix | I actually wonder why $a = "a" actually means $a = \"a" | 01:26 | |
| (if this is true) | |||
| Tene | ?eval $a := "a"; $a.perl | ||
| evalbot_r16241 | Error: Bind to undeclared variable: $a | 01:27 | |
| Tene | ?eval my $a := "a"; $a.perl | ||
| evalbot_r16241 | "\\\"a\"" | ||
|
01:27
mako132_ joined,
theorbtwo joined
|
|||
| polettix | well, time for bed for me, thank you all :) | 01:31 | |
| Tene | seeya | ||
|
02:02
ggoebel joined
02:27
weinig is now known as weinig|food
02:30
Aankhen`` joined
|
|||
| Aankhen`` | @seen agentzh | 02:31 | |
| lambdabot | I saw agentzh leaving #perl6 1d 41m 49s ago, and . | ||
| Tene | @seen Tene | 02:33 | |
| lambdabot | You are in #perl6. I last heard you speak just now. | ||
| Tene | lambdabot: thanks | ||
| Aankhen`` snickers. | |||
| Tene | @botsnack | ||
| lambdabot | :) | ||
|
03:04
Aankhen`` joined
03:22
Khisanth joined
03:47
gugod joined
03:54
DarkWolf84 joined
04:04
agentzh joined
|
|||
| agentzh | fglock: thanks for the ans :) | 04:04 | |
| Tene read that as "ants" at first. | 04:05 | ||
| agentzh | Tene: ;) | ||
| Aankhen``: util/t/01-smartlink.t is failing on your machine? | 04:06 | ||
| Aankhen``: i'm just wondering why you wanted to upload things to ~agentzh/public_html :) | 04:07 | ||
| Aankhen``: i think it's easy if you have a feather account. | |||
| it's already 777 :) | 04:09 | ||
| lunch & | 04:10 | ||
|
04:10
agentzh left,
tewk_ joined
04:56
amnesiac joined
05:06
BooK_ joined
|
|||
| Aankhen`` | Argh, agentzh ran off again. :-( | 05:24 | |
| @tell agentzh I made some changes to smartlinks.pl (they don't break the generated HTML, don't worry) and I wanted to upload the new .tar.gz. I don't have a feather account, unfortunately. | 05:25 | ||
| lambdabot | Consider it noted. | ||
| Aankhen`` | Hmm, could anyone tell me whether t/02-timeout.t passes for them? | 05:34 | |
| That's util/t/02-timeout.t | |||
| It doesn't pass for me, but AFAICT from test.sh, that's not because of any of my changes. | 05:35 | ||
| pasteling | "Aankhen" at 24.80.73.85 pasted "util/t/02-timeout.t" (18 lines, 700B) at sial.org/pbot/24841 | 05:37 | |
|
05:39
tewk joined
05:45
REPLeffect joined
05:49
agentzh joined
|
|||
| agentzh | 02-timeout.t should have been removed :) | 05:50 | |
| lambdabot | agentzh: You have 1 new message. '/msg lambdabot @messages' to read it. | ||
| agentzh | Aankhen``: send Juerd a mail and ask for an account? | 05:51 | |
| svnbot6 | r16242 | agentz++ | removed util/t/02-timeout.t and some related files | 05:55 | |
| agentzh | Juerd: can i create new accounts on feather? | 05:57 | |
| svnbot6 | r16243 | agentz++ | removed util/timeout.pl since we already have ulimit++ | 06:01 | |
| Aankhen`` | agentzh: Yeah, maybe. | 06:03 | |
| svnbot6 | r16244 | agentz++ | smartlinks.pl - running util/t/*-smartlinks.t is sufficient. | 06:10 | |
| agentzh | storing regression data on feather makes updating a bit inconvenience but it does save a lot of room in the pugs tree :) | 06:12 | |
| *inconvenient | |||
| Aankhen`` | Oh, definitely. | 06:16 | |
| agentzh | Aankhen``: you've added support for line-based anchors? | 06:31 | |
| (just guessing) | |||
| Aankhen`` | Nah. | 06:34 | |
| I cleaned up the JavaScript portion. | |||
| agentzh | cool | ||
| Aankhen`` | Yeh, it's the coolest thing ever. ;-) | ||
| agentzh | the old js snippets were stolen from the google's pages. ;) | 06:35 | |
| Aankhen`` | I figured as much when I saw the "is_ie" and "agt" and all that, LOL. | ||
| agentzh | *blush* | ||
| Aankhen`` | No sweat. | ||
| smartlinks.pl is trĆØs cool. | |||
| agentzh | thanks! although it's a bit hacky ;) | 06:36 | |
| i'd modulize it at some point. | |||
| Aankhen`` | Well, perhaps, but hey, it's better than nothing. | ||
| agentzh | to tell the truth, i didn't expect the source to be that huge but it has been bloating very quickly :) | 06:37 | |
| Aankhen`` | It happens. ^_^ | ||
| agentzh | people are requesting features and i'm adding them without much planning :) | 06:38 | |
| Aankhen`` | I'm all in favour of organic growth. | ||
| With regular refactoring, of course. =) | |||
| agentzh | *nod* regular refactoring is a very good thing. | 06:39 | |
| Aankhen`` | As long as you have the time for it. | ||
| agentzh | time is always a problem. ;) | ||
| Aankhen`` | Yup. | ||
| agentzh | now that we have a good test suite for smartlinks.pl, it's now quite easy to do any kind of refactoring. :) | 06:44 | |
| buu | Aankhen``: ! | 06:56 | |
| Aankhen``: Where is my jseval! | |||
| agentzh | Aankhen``: also, do s/Show the snippet from/Show/g for smartlinks.pl before you build the new tarball. | 07:02 | |
| such modifications change the resulting HTML as well. sigh. | 07:03 | ||
| agentzh wants the links to be less verbose. | 07:04 | ||
| Aankhen`` | buu: I already told you, I don't know how to write it. | 07:12 | |
| agentzh: Ah, well, I'll leave the tarballs till I've checked in all the changes and discussed them with you. | |||
| agentzh | Aankhen``: okay :) | ||
| Aankhen`` | Ugh, Trac was disabled. | 07:14 | |
| agentzh | *nod* | ||
| Aankhen`` | I need a diff between r16243 and r16244. | ||
| Don't want to clobber your changes. | |||
| agentzh | well, i just modified a comment | 07:15 | |
| Aankhen`` | Oh, okay. | ||
| So it doesn't matter if it's clobbered by mistake? :-) | |||
| agentzh | go for it! | 07:16 | |
| Aankhen`` | Okey dokey. | ||
| agentzh | merging would work here. | 07:18 | |
| Aankhen`` | Argh. | 07:19 | |
| I can't remember my password. | |||
|
07:19
franck__ joined
|
|||
| Aankhen`` | Gimme a sec. | 07:19 | |
| agentzh dodges. | |||
| buu | Aankhen``: Just use JS::Sm, create a context, eval some code, return the results. Steal the code from bb1's jseval | ||
| Aankhen`` | $#!(*$#()!$*()#!&%*!&#$*(@!&#)*!@(#)*@!*&#@ | ||
| I have my password saved here, but I'm trying to commit from another instance, and I can't figure out what name I saved the password under in my password manager. | 07:20 | ||
| One would think that I'd just say "Pugs SVN". | |||
| buu: Sorry, just trying to get something sorted out. Give me a few minutes and then I'll discuss it with you. | 07:21 | ||
| Man, I hate having to catch up on my daily reading at night. | 07:22 | ||
| Aww come on. | 07:25 | ||
| Ahh. | |||
| I win. | |||
| Okay, I think it's been committed. | 07:26 | ||
| svnbot6 | r16245 | Aankhen++ | util/smartlinks.pl: | ||
| r16245 | Aankhen++ | * overhauled JavaScript completely to reduce markup cruft and enable use of code without JavaScript enabled. | |||
| r16245 | Aankhen++ | * removed inline CSS and JS from all generated snippets. | |||
| agentzh | Aankhen``++ | 07:27 | |
| Aankhen`` | Oh, poop. I think I lost the "X correct, Y failed" in the snippet line. | ||
| agentzh | ah, it's not covered by the test suite. alas | ||
| Aankhen`` | Anyway, I'll just fix it, give me a few minutes. | 07:28 | |
| agentzh | Aankhen``: feel free to fix the test suite too if you have the tuits :) | ||
| agentzh needs a trac. | 07:29 | ||
| Aankhen`` | I shall, but in the mean time, do you have the tuits to just give it a once over and see if everything else looks okay to you? | ||
| A second pair of eyes and all that. | |||
| agentzh is looking. | 07:30 | ||
| buu | Aankhen``: Dude, my daemons are working. | 07:32 | |
| ! | |||
| Aankhen`` | buu: Awesome! | 07:34 | |
| buu | And I really need ops on #perl | ||
| Aankhen`` sighs. | 07:36 | ||
| Syncing development between Windows and Debian-under-VMWare is a pain in the neck. | |||
| agentzh knows the feeling. | 07:37 | ||
| ubuntu and winXP-in-virtualbox in my case ;) | 07:38 | ||
| Aankhen`` | Hehe. | ||
| At least Ubuntu is dominant there. | |||
| agentzh | indeed | 07:39 | |
| Aankhen`` adds "Make smartlinks.pl work on Windows" to his TODO list. | |||
| agentzh | it doesn't right now? | 07:41 | |
|
07:42
elmex joined
|
|||
| Aankhen`` | Well, it didn't, when I tried yesterday. | 07:42 | |
| I don't quite remember what the problem was. | |||
| Let me finish syncing up the two and I'll try it again. | |||
| agentzh | IE issues? | ||
| or you mean .pl itself? | |||
| Aankhen`` | The .pl itself. | ||
| What I'm really itching to do is refactor all the POD to HTML translators out there, but I figure I'll just write a Perl6::Perldoc::To::Html instead. ^_^ | 07:43 | ||
| agentzh | .pl runs fine on my winXP. | ||
| Aankhen`` | Hmm, okay, I'll take a look at it again. | ||
| Tene | Aankhen``: explain "refactor all the translators out there"? | 07:44 | |
| Aankhen`` | Tene: Basically, make them generate better HTML. | ||
| ...yes, I realize how vague that is. | |||
| Let me see if I can find an example for you. | |||
| agentzh thinks smartlinks.pl uses Pod::Simple::Html to do the translation except for S26. | 07:45 | ||
| Aankhen`` | agentzh: It does, I checked. :-P | ||
| agentzh | k | 07:46 | |
| Aankhen``: the generated HTML looks terrible in IE. | 07:47 | ||
| Aankhen`` | Well, I look at the output from pod2html, and the things that come to mind immediately are: drop all the `name` attributes in favour of IDs, make it HTML 4.01 Strict instead of XHTML 1.0 Strict. | 07:48 | |
| agentzh: Yeh, doesn't look all that great in Firefox either, really. | |||
| agentzh | Firefox doesn't work either :-/ | 07:49 | |
| Aankhen``: please revert the commits until you find a real solution or perlcabal.org/syn will break. | 07:51 | ||
| lambdabot | Title: Official Perl 6 Documentation | ||
| Aankhen`` | agentzh: Solution for what? | ||
| Oh, wha? One sec. | |||
| I thought you were talking about pod2html. | |||
| agentzh | no, i'm talking about smartlinks.pl | ||
| Aankhen`` | That's weird, it looked fine for me. | ||
| I'll check again. | 07:52 | ||
| agentzh | or maybe it's a problem on my side. | ||
|
07:52
iblechbot joined
|
|||
| agentzh | i'm on winXP now. | 07:52 | |
| Aankhen`` | Are you looking at the stuff under got/? | 07:54 | |
| The normal stuff seems to be okay... | 07:55 | ||
| agentzh | yes, i am looking there. | ||
| Aankhen`` | Ah, that might be why. | ||
| agentzh | why the difference? | ||
| Aankhen`` | It's not breaking lines under got/, no idea why. | ||
| If you use smartlinks.pl to generate the HTML and look at it yourself, though, it seems to be okay. | 07:56 | ||
| agentzh | weird. | ||
| Aankhen`` | Doesn't make any sense. | ||
| How often does perlcabal.org/syn update? | |||
| agentzh | once an hour. | ||
| Aankhen`` | Hmm. | ||
| Well, I'll revert the commits for now since I have to re-add the "X tests failed, Y tests passed" thing anyway. | 07:57 | ||
| agentzh | k | ||
| Aankhen`` | It's `svn merge -rHEAD:PREV smartlinks.pl`, right? | ||
| agentzh | maybe | 07:58 | |
| Aankhen`` | I'll check. | ||
| Yeah, the book says it is. | |||
| agentzh | lol | ||
| agentzh normally uses svk or TortoiseSVN to revert stuff. | 07:59 | ||
| Aankhen`` | Heh. | ||
| Done. | |||
| svnbot6 | r16246 | Aankhen++ | * reverted r16245 for now. | 08:00 | |
| Aankhen`` | Okay, I give up. Where did that tally of failed and passed tests come from? | 08:02 | |
| agentzh | Aakhen: perlcabal.org/smoke.yml | 08:04 | |
| *Aankhen`` | |||
| Aankhen`` | Oh, $stat. | ||
| Heh, I meant within smartlinks.pl | |||
| But I found it. | |||
| agentzh | nice | ||
| Aankhen`` | Stupid word wrap. | ||
| agentzh | change it if you have a better name. | 08:05 | |
| Aankhen`` | No sweat. | ||
| I just didn't see it because my brain didn't realize it had been wrapped. | 08:06 | ||
| Stupid brain. | |||
| agentzh | gotcha | ||
|
08:07
jisom joined
|
|||
| Aankhen`` | smartlinks.pl has to be one of the coolest things related to Pugs. =) | 08:07 | |
| agentzh | wow | 08:08 | |
| many thanks! | |||
| Aankhen`` | On a more pertinent note, I don't understand why my script loses the pass/fail marks in front of the tests. O_O | 08:09 | |
| Ah. | 08:11 | ||
| Perhaps I found out. | |||
| Theeeen again, perhaps not. | |||
| Oh, duh. | 08:16 | ||
| I don't have any smoke data here. :-P | |||
| agentzh | Aankhen``: download one from perlcabal.org/smoke.yml | ||
| Aankhen``: 1:20 AM on your side? | 08:18 | ||
| Aankhen`` | Aye. | 08:22 | |
| I've had a long day. Didn't get enough sleep to function normally all of yesterday, and increased the deficit today. | 08:23 | ||
| But I'll have a chance to catch up tonight. | |||
| agentzh | take care of yourself :) | ||
| Aankhen`` | Yeah, it's just a couple of days of not sleeping enough, that's all. | 08:24 | |
| I do it a lot, since I have trouble sleeping. | |||
| agentzh too. | |||
| Aankhen`` | :-D | ||
| Though I don't know why sleeping troubles should be anything to be happy about, but oh well. | 08:25 | ||
| agentzh | lol | ||
| Aankhen`` | Where are you from? | 08:27 | |
| agentzh | .cn | ||
| Aankhen`` | Kewl. | 08:28 | |
| I'm Indian, though in Canada for college. | |||
| agentzh | so we're neighbors. | 08:30 | |
| :) | 08:31 | ||
| Aankhen`` | Indeedy do. | 08:44 | |
| Okay, this is pretty awesome, even if I do say so myself. ^_^ | 08:55 | ||
| (From a code point of view.) | |||
| agentzh: Should I check in my version of smartlinks.pl as smartlinks.new.pl so you can test it out for yourself? | 08:56 | ||
| agentzh | okay! | ||
| moritz | good morning! | ||
| Aankhen`` | agentzh: Done. | ||
| moritz: Good morning indeed. ^_^ | 08:57 | ||
| (2:00 AM is morning, right?) | |||
| agentzh | moritz: good afternoon | ||
| svnbot6 | r16247 | Aankhen++ | * added smartlinks.pl:r16245 as smartlinks.new.pl, now with proper smoke results handling! | ||
| moritz | Aankhen``++ | ||
| well, we are not exactly in the same time zone ;) | |||
| Aankhen`` | Thanks, but before you ask, that isn't the line anchor thing. | 08:58 | |
| That would require slightly more coherence from me. | |||
| agentzh: Remember to test the actual output, not the stuff under got/. | 08:59 | ||
| agentzh | Aankhen``: sure | ||
| Aankhen`` | Which I'm still wondering about... hmm. | ||
| s/\s+$//gms; | |||
| That would be the problem. | |||
| agentzh | *nod* | ||
| Aankhen`` | (From 01-smartlinks.t:111) | ||
| agentzh | i gathered so. | ||
| Aankhen`` | Sorry, I'm a little slower! | ||
| agentzh | :) | 09:00 | |
| Aankhen`` | Does everything look alright? | 09:05 | |
| agentzh | still looking | 09:06 | |
| Aankhen`` | Ah. | ||
| agentzh | Aankhen``: have you tested the HTML output with IE? | 09:07 | |
| Aankhen`` | Aye. | ||
| agentzh | k | ||
| agentzh is on a slow machine. | 09:08 | ||
| Aankhen`` | Oh, hang on, just found something else on IE. Need to investigate. | 09:09 | |
| agentzh | Aankhen``: when there's no smoke results given, smartlinks.pl should not complain "No test results for ..." | ||
| Aankhen`` | Oh, that's just the active content blocking thing. | ||
| Nevermind. | |||
| agentzh: Alright. | |||
| Ugh, that nice radical sign looks really ugly in IE. :-\ | 09:10 | ||
|
09:11
polettix joined
|
|||
| Aankhen`` | I think I've got my font size set too low. | 09:11 | |
| svnbot6 | r16248 | Aankhen++ | util/smartlinks.new.pl: | 09:12 | |
| r16248 | Aankhen++ | * removed "No test results for?\226?\128?\166" warning. | |||
| agentzh | it looks good in firefox. | ||
| Aankhen`` | :-D | ||
| D'oh. The ending " -" pushed itself after the colon. | 09:13 | ||
| Easily fixed though. | |||
| agentzh | so is in IE. | ||
| Aankhen`` | Yay. | 09:14 | |
| There isn't all that much difference (as far as I can tell), since most of the work was under the hood. | |||
| polettix | eval? "Val = { $a.ord.fmt('%x') }\n" | ||
| agentzh | cool, r16248 looks nice. | ||
| Aankhen`` | Of course, if you have JS disabled, then you see a rather large difference. :-) | 09:15 | |
| agentzh | with JS disabled, all snippets expand by deault. | 09:16 | |
| Aankhen`` | Yup. | 09:17 | |
| In smartlinks.pl, all snippets are hidden by default, so if you have JS disabled, the links don't work and you can never see them. | |||
|
09:18
tewk_ joined
|
|||
| agentzh | *nod* but it was also intentional. | 09:18 | |
| because snippets are normally "big" | |||
| Aankhen`` | But then you can't see them at all. :-S | 09:19 | |
| agentzh | right | ||
| svnbot6 | r16249 | Aankhen++ | util/smartlinks.new.pl: | ||
| r16249 | Aankhen++ | * fixed " -" being placed after ":". | |||
| Aankhen`` | What I could do, if the intent was to skip those blocks, is to add skip links. | ||
| agentzh | well, it's just a personal taste. feel free to do it the way you like ;) | ||
| it doesn't matter at all :) | 09:20 | ||
| Aankhen`` | Ah, I'm just trying not to step on anybody's toes, and living in fear of breaking perlcabal.org. ;-) | ||
| agentzh | Aankhen``: breaking it temporarily is acceptable :) | 09:21 | |
| (for development reasons) | |||
| since it's easier to test and easier to get feedback. | |||
| Aankhen`` | True. | ||
| agentzh | no fear please | ||
| Aankhen`` | Alright. | 09:22 | |
| agentzh | it's fine to "mv smartlinks.new.pl smartlinks.pl" now :) | ||
| Aankhen`` | Kewl. | ||
| agentzh | if there's a problem, i'll receive something from feather's cron and cry out. :) | 09:23 | |
| agentzh won't be too conservative. | |||
| Aankhen``: sorry if i have give you such an impression :) | 09:24 | ||
| *given | |||
| Aankhen`` | Well, it was basically the notice at the top of smartlinks.pl, and it seemed reasonable to me. | 09:25 | |
| agentzh | :) | ||
| svnbot6 | r16250 | Aankhen++ | * moved util/smartlinks.new.pl over util/smartlinks.pl | ||
| Aankhen`` | But it's good to know that temporary breakage won't get me yelled at. =) | 09:26 | |
| agentzh | heh | ||
| polettix | what's the name of the script to send results to the smoke server? | ||
| agentzh | polettix: under util/ | 09:27 | |
| polettix | agentzh: yes, but I don't remember the name, probably util/smokeserv/smokeserv-client.pl | ||
| svnbot6 | r16251 | Aankhen++ | util/smartlinks.pl: | ||
| r16251 | Aankhen++ | * small style tweak to retain snazzy look from before. | |||
| agentzh | util/smokeserv/smokeserv-client.pl | 09:28 | |
| that's it. | |||
| polettix | perfect, thanks :) | ||
| agentzh | it's normally called from util/run-smoke.pl | ||
| np :) | |||
|
09:28
bernhard joined
|
|||
| polettix | yes, but I moved my laptop in the other room because I was annoyed by the fan, and my Internet connection was out :) | 09:29 | |
| agentzh has to find something to eat for supper & | 09:31 | ||
|
09:32
tewk joined
|
|||
| polettix | there is a bug in the interaction of fmt() with interpolation in double-quotish environments. Should the test be added to t/builtins/fmt.t or to t/syntax/interpolation/strings.t, or on a test file by its own? | 09:34 | |
| Aankhen`` | t/syntax/interpolation/fmt.t? | ||
| (Just a suggestion.) | 09:35 | ||
| polettix | option 3 seems reasonable :) | ||
|
09:41
tewk_ joined,
larsen_ joined
|
|||
| moritz | I don't think an own test file is a good idea, because it fragments the test suite | 09:43 | |
|
09:45
the_dormant joined
|
|||
| polettix | moritz: it exercises a but that's specific to fmt and interpolation. What comes first (ideally), syntax or builtins? If we don't want an ad-hoc test, it should probably go to the one that "comes last" | 09:45 | |
| s/but/bug/ | 09:46 | ||
| moritz | then I'd vote for the builtin | ||
| polettix | ok, I'll add the tests there, as long as I manage to make them work (it seems that it dies or something like this...) | 09:47 | |
| moritz | even with eval()? | ||
| polettix | yes, as long as I used it correctly | ||
| ?eval my $x = 'A'; $x.say | 09:48 | ||
|
09:48
evalbot_r16241 is now known as evalbot_r16247
|
|||
| evalbot_r16247 | OUTPUT[Aā¤] Bool::True | 09:48 | |
| polettix | ?eval my $x = 'A'; "$x".say | ||
| evalbot_r16247 | OUTPUT[Aā¤] Bool::True | ||
| polettix | ?eval my $x = 'A'; "$x.ord.fmt('%x')".say; | ||
| evalbot_r16247 | "41" | ||
| polettix | ?eval my $x = 'A'; "this is $x.ord.fmt('%x')".say; | 09:49 | |
| evalbot_r16247 | "41" | ||
| agentzh | polettix: it seems okay | ||
| polettix | it lacks "this is" | ||
| agentzh | polettix: oh? | ||
| polettix | ?eval my $x = 'A'; ("this is " ~ "$x.ord.fmt('%x')").say; | 09:50 | |
| evalbot_r16247 | "41" | ||
| agentzh | okay, got the point | ||
|
09:50
IllvilJa joined
|
|||
| agentzh | polettix: i'd vote for interpolation/*.t | 09:51 | |
|
09:52
tewk joined
|
|||
| polettix | should this trap errors? my $y = eval( "something $x.ord.fmt('%x')" ); | 09:53 | |
| agentzh | why not eval_ok? | 09:54 | |
| agentzh prefers eval_ok since it provides better diagnostics. | |||
| eval_ok is good for "testing the tests". | 09:55 | ||
| polettix | no way, it exits and does not continue with other tests. OTOH, it prints the # Looks like you planned 6 tests, but ran 2 line | ||
| eval_ok( "something $x.ord.fmt('%x')", 'interpolation and fmt live' ); | 09:56 | ||
| am I missing something obvious in eval_ok() syntax? | |||
| agentzh | polettix: you've made a mistake there. | ||
| polettix | d'oh | ||
| maybe I should add curlies? | 09:57 | ||
| agentzh | you can only eval p6 code. | ||
| is "something ..." just a place-holder? | |||
| polettix | it's just some text inside the string to exercise the test, but I should probably embed the string inside something else | 09:58 | |
| agentzh | eval_ok(q{"something $x.ord.fmt('%x')".say}); | 10:00 | |
|
10:01
tewk_ joined,
Belaf joined
|
|||
| polettix | do I have to 'use' something more than Test? | 10:01 | |
| agentzh | no, you shouldn't. | 10:02 | |
| eval_ok is no longer available? | |||
| agentzh has not written any p6 tests since last summer. | |||
| polettix | it does not complain not finding it, so it should be there | 10:03 | |
| agentzh | or try { is "something $x.ord.fmt('%x')", "something 41"; } | ||
|
10:03
chris2 joined
|
|||
| agentzh | not sure if the try block works for you. | 10:04 | |
| polettix | try works, at least it makes the test go on | 10:05 | |
| agentzh | cool | ||
| polettix | is there something like lives_ok in Test::Exception? | ||
| agentzh | eval_ok *should* behave like lives_ok, i _think_ | 10:07 | |
|
10:08
tewk joined
|
|||
| polettix | there's a thing I don't understand... I'm invoking my test file with ./pugs t/.../fmt.t | 10:08 | |
| agentzh | polettix: use util/prove6 instead of ./pugs | ||
| polettix | but I see that the imported Test.pm comes from my perl 5 library. Is this correct? | ||
| moritz | I dont't think so | 10:09 | |
| what's the value of your PERL6LIB env variable? | |||
| polettix | ah, prove6 is the answer! | ||
| sorry for your wasted time | |||
| agentzh | actually prove6 set the env for you. | 10:10 | |
| *sets | |||
|
10:10
BooK joined
|
|||
| moritz | ok | 10:10 | |
| polettix | but now it *does* complain about a missing eval_ok sub ;) | 10:11 | |
| polettix goes looking at the code | |||
| # eval_ok eval_is - removed | 10:12 | ||
| agentzh | sigh. | ||
| they were my favorites. | 10:13 | ||
| polettix | there is lives_ok anyway | ||
| agentzh | cool | ||
| polettix | anyway, I don't seem to need them any more, now that I use prove6 :D | 10:15 | |
| svnbot6 | r16252 | Darren_Duncan++ | ext/QDRDBMS/ : added several pod sections about data types to Language.pod | ||
|
10:15
tewk_ joined
|
|||
| agentzh | prove6++ | 10:15 | |
| @karma prove6 | |||
| lambdabot | prove6 has a karma of 1 | ||
| moritz | lambdabot++ # karma and URLs ;) | 10:16 | |
| polettix | let me steal you just the last few seconds... I'm adding tests for both the "$x" and the "{$x}" interpolation forms, how could I call them in the descriptions? | ||
| moritz | "direct string interpolation" and "string interpolation via braces"? | 10:17 | |
| polettix | ok, sorry. I didn't know if there were "technical definitions" for the two | ||
| moritz | btw is "{$x}" automatically "{~$x}" ? | 10:18 | |
| svnbot6 | r16253 | agentz++ | 01-smartlinks.t - fixed the newline problem (Aankhen++) | ||
| moritz | polettix: I was just guessing | ||
| polettix: I don't know the jargon well enough ;) | |||
| polettix | moritz: it seems reasonable anyway, if any guru in this field finds these description horrible... s?he will change it :D | ||
| moritz | right ;) | 10:19 | |
| agentzh | scalar interpolation and code interpolation? | ||
| moritz | sounds even better ;) | ||
| guru-agentzh ;) | |||
| agentzh | :) | ||
| polettix | this *is* weird. lives_ok says that the interpolation lives, but when I call it "directly" it makes the test bail out. | 10:21 | |
| moritz | quoting problem? | 10:22 | |
|
10:22
dduncan left
10:24
ggoebel joined
|
|||
| pasteling | "polettix" at 213.203.159.164 pasted "test bails out with no indication" (68 lines, 2.2K) at sial.org/pbot/24844 | 10:26 | |
|
10:27
tewk joined
|
|||
| moritz | does lives_ok expect a code ref? | 10:27 | |
| polettix | sub lives_ok (Code &code, Str $desc?, :$todo, :$depends) returns Bool is export | 10:28 | |
| moritz | ok | ||
| svnbot6 | r16254 | agentz++ | t/README - added note for testing the tests by running it with util/prove6 | ||
| polettix | I don't know p6 at all, I'm only hoping p5 knowledge works :) | 10:29 | |
| moritz | have you tried it with sub { $string }? | ||
| I don't think it should make a difference, but it's worth trying | |||
| polettix | same result, it says that it lives | 10:30 | |
| agentzh does not like the signature of lives_ok. | |||
| a string arg is more useful since there maybe a syntax error in the code which can't even be parsed. | |||
| polettix: use "ok eval('...')" for now :) | 10:32 | ||
| ...or something like that | 10:33 | ||
| agentzh blames the person who removes eval_ok. | |||
| supper (for real this time ;)) & | 10:35 | ||
|
10:35
agentzh left
10:37
tewk_ joined
|
|||
| moritz | what about is(eval($template), $expected)? | 10:40 | |
| polettix | moritz: how can I understand if eval() worked fine? | 10:41 | |
| I mean, is there something like $@/$EVAL_ERROR? | |||
| moritz | if it fails, $! or $@ is set I think | ||
| polettix | no, it seems that $@ is gone | 10:43 | |
| moritz | try { eval(); # this is only reached if eval succedes } | 10:44 | |
| polettix | I had a workaround in eval itself | ||
| my $z; eval('...; $z = 1'); # then check if $z is set or not :) | |||
| moritz | ok | 10:45 | |
| I _hate_ C | 10:46 | ||
|
10:47
iblechbot joined
|
|||
| moritz | why on earth do I get undeclared identifiers for macro names? | 10:47 | |
| the explanation is simple: because I'm stupid | 10:49 | ||
| but the error message is more than weird... | |||
| polettix | ach, my username in my laptop is poletti, and I keep being asked for poletti's password instead of polettix's | 11:02 | |
|
11:04
pmurias joined
|
|||
| pmurias | mortiz: when do you get such errors? | 11:04 | |
| moritz | pmurias: when I do stupid programming errors and don't read the messages carefull enough ;) | 11:06 | |
| pmurias: it turned out to be my fault entirely ;) | |||
|
11:07
Belaf_ joined
|
|||
| svnbot6 | r16255 | polettix++ | Excercise bugged interaction between fmt and double-quotish interpolation | 11:07 | |
| r16255 | polettix++ | as of r16241. There is also a weird behaviour in eval that should be | |||
| r16255 | polettix++ | digged further. | |||
| pmurias | mortiz: c++ template errors are quite nasty | 11:09 | |
| moritz | pmurias: it's plain C | ||
| I'm trying to write a program that recognizes eyes in images of human faces | 11:10 | ||
| quite a nasty topic ;) | |||
|
11:11
tewk joined
11:24
mjk joined,
_newbie_ joined
11:26
ludan joined,
Belaf_ is now known as Belaf
|
|||
| ludan | hola | 11:27 | |
| moritz | ih | ||
| erm, hi | |||
| Tene | ludan: Hi! | 11:28 | |
|
11:29
mako132_ joined
11:44
ludan joined
|
|||
| polettix | ciao ludan | 11:50 | |
| ludan | ciao | ||
| i'm playing with beryl and special effects ;) | |||
| polettix | tunnuz said that beryl bores you quite fast | 11:51 | |
|
11:54
ludanolo joined
|
|||
| polettix | connection problems? | 11:54 | |
|
11:56
tewk_ joined
11:57
ludan joined,
cernd joined
|
|||
| svnbot6 | r16256 | polettix++ | Corrected a bug in t/syntax/interpolation/fmt.t | 12:00 | |
|
12:03
tewk joined
|
|||
| polettix | there's a bug in eval() that's triggered by another bug, how should I add an effective test case for this? I think that if the triggering cause is solved, the bug in eval remains hidden | 12:04 | |
| moritz | do you now what the other bug is? | 12:05 | |
| polettix | yes, it's that in t/syntax/interpolation/fmt.t. In this test, there's also a test that's actually an eval() test. | 12:06 | |
|
12:07
riffraff joined
12:11
tewk_ joined
12:18
vel joined
12:20
tewk joined
12:22
hcchien joined
12:26
tewk_ joined
12:34
tewk joined
12:50
stef_ joined
12:51
cognominal joined
12:57
tewk_ joined
13:10
deq` joined
13:22
buetow joined
13:26
wolverian joined
13:34
ludan joined
13:55
turrepurre joined
14:01
tewk joined
14:05
explorer joined
14:20
idiotmax joined
14:25
tewk_ joined
14:26
rashakil joined
14:30
the_dormant joined
14:43
tewk joined
14:46
Limbic_Region joined
14:55
drupek12 joined
15:11
tewk_ joined
15:22
the_dormant joined
15:42
tewk joined
15:56
pdcawley joined
|
|||
| svnbot6 | r16257 | agentz++ | smartlinks.pl - fixed a bug in the new JS logic from Aankhen++. the trailing ':' text was not the content of link.lastChild when no smoke data is given. | 16:01 | |
|
16:07
pbuetow joined
16:12
tewk_ joined
16:23
tewk joined
16:32
tewk_ joined
|
|||
| svnbot6 | r16258 | agentz++ | smartlinks.pl - did s/(Show|Hide) snippet from/$1/g in order to make the link labels less verbose. | 16:35 | |
| moritz | commitbit is slow again ;( | 16:38 | |
| svnbot6 | r16259 | agentz++ | docs/feather/script/update-syn - uses perl.css on feather instead of that of dev.perl.org so as to reduce the page loading time. | ||
|
16:40
tewk joined
16:45
iblechbot joined
16:51
tewk_ joined
16:53
xinming_ joined
|
|||
| wolverian | hm. feather's load is still a bit high. :) | 16:56 | |
| Juerd | wolverian: Yes, and I'm desparate | 17:13 | |
| I'm thinking of getting feather out of the datacentre early | |||
| It's going to be moved within a month anyway | |||
| But this way the entire machine is fairly useless | 17:14 | ||
|
17:18
tewk joined
17:21
franck__ joined
17:23
Belaf_ joined
|
|||
| TimToady | Juerd: how much bandwidth do you lose moving out of the datacenter? | 17:24 | |
| in particular, will it slow remote svn downloads for new folks? | 17:25 | ||
| Juerd | TimToady: None | 17:28 | |
| TimToady: We've got 100 Mb/s fiber at the office now, so we're moving almost everything away from the datacentre | 17:29 | ||
|
17:29
amnesiac joined
|
|||
| Juerd | There's a 5 millesecond ping round trip time increase :) | 17:29 | |
| And one router hop | |||
| That's all. | |||
| We've connect it to our existing network | |||
| connected | |||
| Oh, and the IP address will change | |||
| But that's an inconvenience that would be needed soon anyway | 17:30 | ||
| moritz | and that's what DNS is usefull for ;) | ||
| Juerd | Yes, but that takes some time to settle | ||
| And not all DNS is maintained by me | 17:31 | ||
|
17:34
tewk_ joined
17:39
rindolf joined
17:43
lumi joined
17:44
tewk joined
17:51
Psyche^ joined
17:52
tewk_ joined
18:01
tewk joined
18:08
Psyche^ is now known as Patterner
18:09
ggoebel joined
18:10
tewk_ joined
18:16
lisppaste3 joined
18:18
ludan joined
18:21
justatheory joined,
tewk joined
18:30
franck__ joined
18:34
kappa joined
18:35
iblechbot joined
18:38
ozo joined
18:40
weinig|food joined,
kappa is now known as quappa,
weinig|food is now known as weinig
18:52
b_jonas joined
19:02
Entonian joined
19:07
the_dormant joined
19:41
edenc joined
19:46
andara joined
19:50
rindolf joined
20:02
ingy joined
20:19
b_jonas joined,
Aankhen`` joined
20:31
dduncan joined
20:32
dduncan left
20:33
dduncan joined
20:54
jisom joined
21:21
Khisanth joined,
vel joined
21:51
smokemachine joined,
smokemachine left
21:52
smokemachine joined
21:58
justatheory joined
22:10
[particle] joined
23:42
trippeh joined
|
|||
| svnbot6 | r16260 | Darren_Duncan++ | ext/QDRDBMS/ : added pod about finite|infinite types to Language.pod | 23:50 | |