|
pugscode.org | sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse (show (scanl (*) 1 [1..] !! 4)) Set by agentzh on 17 April 2007. |
|||
|
00:22
jjore-w joined
01:00
nipotaway is now known as nipotan,
OwlEye joined
01:31
rissy joined
01:32
Khisanth joined
01:35
ntgrl joined
02:01
nelhage_ joined,
bonesss joined,
ofer joined,
awwaiid joined,
bsb joined,
kcwu joined,
devbot6 joined,
evalbot_r15972 joined,
jql joined,
kcwu_ joined
02:04
awwaiid joined
02:26
nperez joined
02:32
avarab joined
02:59
Alias__ joined
03:08
geoffb joined,
zgh joined
03:13
REPLeffect joined
03:17
veritos joined,
ortmage_ joined
03:19
xinming_ joined
03:24
stevan joined
03:30
ortmage_ joined
|
|||
| veritos | hello, are there any people here other than Juerd who can create Feather accounts? | 03:33 | |
|
03:33
amnesiac joined
03:34
amnesiac_ joined
03:35
agentzh joined
|
|||
| agentzh | great! feather's cron has submitted its first auto-smoking report to the smoke server: | 03:36 | |
| m19s28.vlinux.de/iblech/stuff/pugs-...5f41a.html | |||
| lambdabot | agentzh: You have 2 new messages. '/msg lambdabot @messages' to read them. | ||
| Title: TAP Matrix - Wed Apr 18 00:32:22 2007 GMT, tinyurl.com/28blt5 | |||
| geoffb | agentzh++ | ||
| agentzh | :) | ||
| it only took 84.35 min. | 03:38 | ||
| (shorter than i expected) | |||
| geoffb | Well, that's good I suppose | 03:39 | |
| agentzh | gaal: gotcha | ||
| geoffb: *nod* :D | |||
| geoffb: are you familiar with sh? | 03:40 | ||
| geoffb | Bourne Shell, you mean? | ||
| agentzh | i'm having a problem with wrapping ./pugs with a sh script. | ||
| yup | |||
| veritos | geoffb: what's the deal? | ||
| geoffb | some ... ask away, I may know | 03:41 | |
| agentzh | is it correct to write "./pugs $*" to do that. | ||
| ? | |||
| geoffb | veritos: huh? | ||
| veritos | geoffb: i was asking what your question was. | ||
| geoffb | veritos: er, I didn't have one | ||
| agentzh | geoffb: see svn.pugscode.org/pugs/util/limited_pugs | 03:42 | |
| geoffb is looking | |||
| revdiablo | agentzh: ./pugs "$@" | 03:43 | |
| agentzh | revdiablo: thanks :) | ||
| ./pugs $* is giving me troubles. | |||
| so is ./pugs "$*". | 03:44 | ||
| revdiablo | $* will do word splitting after the fact | ||
| "$*" will quote all the args as one big argument to pugs | |||
|
03:44
amnesiac_ is now known as amnesiac
|
|||
| revdiablo | "$@" is a special case that Does The Right Thing | 03:44 | |
| agentzh | revdiablo: fair enough :) | ||
| geoffb | agentzh: what revdiablo said | ||
| sorry for the slow response | |||
| agentzh | geoffb: np :) | 03:45 | |
| agentzh is happy. | |||
| thanks for the help! | 03:47 | ||
|
03:48
justatheory joined
|
|||
| revdiablo | agentzh: No problemo. FWIW you can usually get pretty good shell help in #bash | 03:48 | |
| agentzh | okay :) | ||
| geoffb | agentzh: A silly little trick for seeing how sh is going to mangle your args ... replace the program you intend to call off to with: perl -e 'print map ">$_<\n", @ARGV' | 03:49 | |
| So: | |||
| nice -n5 perl -e 'print map ">$_<\n", @ARGV' "$@" | |||
| ./test.sh "foo bar" bax | |||
| >foo bar< | |||
| >bax< | |||
| agentzh | cool | ||
| geoffb | With $* or $@ without quotes, the foo and bar end up on separate lines | 03:50 | |
| agentzh | right | ||
| geoffb | (And "$*" gives just one line with everything together) | ||
|
03:51
stevan__ joined
|
|||
| revdiablo | set -x can be mighty helpful too | 03:51 | |
|
03:54
BooK joined
|
|||
| geoffb | ... and don't forget 'set -' to turn off 'set -x' when it's in the way. Not a very obvious off-switch | 03:55 | |
| agentzh | k | 03:57 | |
| svnbot6 | r15985 | agentz++ | use "$@" instead of $*, as per revdiablo++ and geoffb++ | 04:05 | |
| r15986 | agentz++ | util/limited_pugs - updated the comments a bit | 04:08 | ||
|
04:17
esstone joined,
dvorak_ joined
|
|||
| agentzh | Juerd: smoking at 01:02:25 +0200 looks okay? | 04:17 | |
| offby1 | geoffb: wouldn't "set +x" turn off "set -x"? | 04:18 | |
| and better: put the "set -x", and the stuff which you want it to affect, in parens, like so: (set -x; some_command; another command ) | |||
| geoffb | offby1: suppose so. As I mentioned before, my sh fu is rusty, so I only remember bits and pieces | 04:19 | |
| I find that within the first three lines of any sh script, I'm ripping at my eyeballs and reaching for Perl | 04:20 | ||
| offby1 | I once had a shell script grow to a couple of screensful without morphing into perl. I called in a naturalist from the American Museum of Natural History, and he wrote a paper about it. | ||
| Normally my threshold is about ten lines. | 04:21 | ||
| geoffb | My main use of shell is pipes and simple loops at the command line | ||
| A friend of mind writes multi-thousand line apps in ksh. | 04:22 | ||
| offby1 | to each they own. | ||
| pasteling | "evalbot_r15985" at 194.145.200.126 pasted "Pugs build failure" (355 lines, 20.3K) at sial.org/pbot/24296 | ||
| offby1 | in theory I'd love to write in scsh, but it just doesn't come up that much ... plus I've been in Windows-land most of my working life, so... | 04:23 | |
| geoffb | We once raced to see who could implement a piece of functionality fastest -- him in ksh, or me in Perl. We tied, even though his had twice as many lines. And we both had exactly one bug -- the *same one*. | ||
| offby1 | odd indeed. | 04:24 | |
| I'd give you the award, since shorter code is worthwhile | |||
| unless it was really cryptic. | |||
| geoffb | I almost lost my tenuous grip on sanity when he should me his date and time manipulation libraries | ||
| Nah, it was pretty clean. | 04:25 | ||
| I'm pretty rigid about clean code most of the time. | |||
| er, *when he showed me | |||
|
04:26
BooK_ joined
04:27
justatheory joined
|
|||
| agentzh | Oh, ext/Perl6-Perldoc/t/*.t all failed in the report. i think they are not Perl 6 at all. | 04:28 | |
|
04:30
OwlEye joined
|
|||
| agentzh | diakopter: Perl6-Perldoc is in the wrong directory? ext/ is supposed to contain Perl *6* modules only. | 04:33 | |
| diakopter: the pugs smoking mechanism always tries to run these Perl 5 tests with ./pugs. | 04:35 | ||
|
04:37
jiing_ is now known as jiing
04:40
Alias__ joined
04:46
araujo joined
|
|||
| svnbot6 | r15987 | agentz++ | feather/syn_index.html - mentioned the daily auto-smoking on feather | 04:53 | |
| r15988 | agentz++ | * explained the HARNESS_PUGS environment and util/limited_pugs when doing Pugs smoking | 05:05 | ||
| agentzh | now it's recommended to run "HARNESS_PUGS=util/limited_pugs make smoke" for Pugs smoking on *NIX :) | 05:08 | |
|
05:14
devogon joined
05:16
lidden joined,
yves joined,
gugod joined,
clkao joined
05:35
jiing joined
05:39
dduncan joined
05:41
gaal joined
|
|||
| obra | Happy Birthday Audrey! | 05:54 | |
| geoffb makes party noises (spinning clackers, blow-yoyos, etc.) | 05:57 | ||
| Hippo Birdie Two Ewes, audreyt! | |||
| jrockway | <insert clever ascii art cake> | ||
| gaal | }:) }:) }:) w00t (:{ (:{ (:{ | 06:01 | |
| agentzh | >>> 生日快乐!<<< | 06:03 | |
| agentzh wonders if he has got the encoding right ;) | 06:04 | ||
| audreyt | you did :) thanks :) | 06:05 | |
| lambdabot | audreyt: You have 2 new messages. '/msg lambdabot @messages' to read them. | ||
| agentzh | :D | 06:06 | |
| audreyt: my auto-smoking facility on feather is my birthday present to you :) | |||
| audreyt | oooh :D | ||
| thanks | |||
| agentzh | my pleasure! | 06:07 | |
| audreyt | birthday started not-so-happy though :/ last night ingy got in a car crash and is still in ER -- not fatal but spine/lungs/wrist all damaged -- more info later tonight | 06:08 | |
| (brb) | 06:09 | ||
| geoffb | yikes, he was on here answering questions just a few hours ago! | ||
| agentzh nods. | |||
| geoffb wishes ingy a speedy recovery, or at least as speedy as possible | 06:10 | ||
| agentzh too. | |||
| spinclad three | |||
| spinclad looks for a spell to undo such damage | 06:11 | ||
| geoffb | if only ... | ||
| dduncan | that time is it? ... yes, Happy Birthday then | 06:13 | |
| I hope ingy recovers | |||
|
06:14
BooK joined
|
|||
| dduncan | oh, and hey, it looks like someone else actually added a feature to one of my modules ... Locale-KeyedText in this case ... that's a first! | 06:16 | |
|
06:18
miyagawa joined
|
|||
| dduncan | a pleasant first ... | 06:19 | |
| thank you Franck Cuny | |||
| nothingmuch | audreyt: happy moose day | 06:24 | |
| geoffb | & # blessed sleep | 06:25 | |
| nothingmuch | if you're in touch with ingy by phone or something wish him an easy moose | ||
| audreyt | ok | ||
| gaal | @}-'-s to ingy | ||
| lambdabot | Unknown command, try @list | ||
| nothingmuch | gaal: ? | ||
| gaal | mooseflowers | ||
| nothingmuch | ah | ||
| ++ | |||
| gaal | lambdabot doesn't know about them because she hasn't been to the hospital | 06:26 | |
| I wonder where she went on her recent vacation though | |||
| What do folks here use for merges in svk? vimdiff is kinda clunky with four windows | 06:27 | ||
| Alias__ | moose day? | 06:28 | |
| omg, ingy hurt? | 06:29 | ||
|
06:30
marmic joined
|
|||
| Alias__ | audreyt: Do we have much information, and is there anything we can do to help? | 06:30 | |
| audreyt | Alias__: will have more info tonight. currently nothing | 06:32 | |
| Alias__ | ok | ||
| Lets hope that's our allocation of tragic evens for 2007 used up | 06:33 | ||
| And that he recovers | |||
| audreyt | indeed | ||
| Alias__ | It does seem to be 1 per year, roughly | ||
| gaal | I'd say the actual figure is higher. | 06:38 | |
|
06:39
elmex joined
|
|||
| agentzh goes back to school & | 06:44 | ||
| svnbot6 | r15989 | agentz++ | limited_pugs - ulimit -t 600 now | ||
|
06:44
agentzh left
|
|||
| jrockway | yeah, violence in the world is at a local maximum right now | 06:44 | |
| i hope ingy is ok | |||
|
06:46
iblechbot joined
06:51
marmic joined
06:54
franck__ joined
07:15
buetow joined
07:16
lichtkind joined
07:28
SubStack joined
|
|||
| svnbot6 | r15990 | Darren_Duncan++ | ext/QDRDBMS/ : made dbms_config param completely unregulated by Interface; any arg type it may be given is fully Engine-determined | 07:28 | |
|
07:32
renormalist joined
07:42
xinming joined
|
|||
| svnbot6 | r15991 | agentz++ | added links to markstos++'s post on smartlinks to t/README and util/smartlinks.pl | 07:46 | |
|
07:51
IllvilJa joined
08:32
buetow joined
08:34
drupek12 joined
08:36
rissy joined
09:02
chris2 joined
09:06
xinming_ joined
09:24
xinming_ left
09:25
polettix joined
09:35
ntgrl is now known as integral
09:39
ruoso joined
10:00
andara joined
|
|||
| moritz | is anybody planning a PHP backend for perl6? | 10:23 | |
| nothingmuch | unlikely | 10:24 | |
| moritz | then all lame "PHP only" web hoster would be usefull again ;-) | ||
| nothingmuch | i suppose, but deployment of perl 6 code on xsuch hosts is probably many harvests away | 10:27 | |
| i mean, it's plausible as a long term goal, but I doubt anybody is really investing time in it right now | |||
| moritz | nothingmuch: I thought in terms of long term goals, yes ;-) | 10:29 | |
| nothingmuch | ah | 10:30 | |
| i dunno then ;-) | |||
|
10:30
geoffb joined
|
|||
| nothingmuch | are you considering trying for that? | 10:31 | |
|
10:31
avarab is now known as avar,
iblechbot joined
|
|||
| moritz | no | 10:31 | |
| I'm not a good coder, I don't think I'm qualified to write any backend | 10:32 | ||
| and I'm constantly trying to improve, but it's still a long way | |||
|
10:32
geoffb joined
|
|||
| nothingmuch | you can try to write support code for the php side | 10:35 | |
| if you're interested that could be a nice practice project as well | |||
| and who knows, it might be useful | |||
| by support code I mean things like an object representing junctions | 10:36 | ||
| or implementations of simple builtins | |||
| kind of like the Perl6:: namespace on the CPAN | |||
| moritz | if I loved PHP that would be a nice idea ;-) | ||
| nothingmuch | ah, i see ;-) | 10:37 | |
| can't say i lbame you | |||
| moritz | ;-) | 10:38 | |
|
10:43
kanru joined
|
|||
| avar | I wish conway's Perl6:: stuff would be more useful. Both the rules and perldoc modules work as a source filter on your program, which is fine if that's what you want but maybe you just want a rules API or a pod6 parser.. | 10:47 | |
| Should be split up IMHO:) | |||
| Alias__ | he has that problem often | 10:48 | |
| Hook::LexWrap is both lexical wrapping code, plus an additional weird syntax that only works in 5.8+ | |||
| I'd love to be able to use the same lexwrap code without the syntaxy stuff | |||
| I sometimes wonder if Damian has ever learned any magic | 10:49 | ||
| Because a lot of his code seems designed to support his talks in such a way as to always give him a Prestige | |||
| Whether or not it would have been more structurally sound to split it up | 10:50 | ||
| avar | Ya, Perl6::Rules is a rules->p5 rx compiler which would be useful with a Parse::Yapp like interface, but then it's a source filter too for things like $1 => $0 | ||
| Alias__ | I've been temped to rewrite Hook::LexWrap a few times, since he refuses to make it back-compatible | 10:51 | |
| svnbot6 | r15992 | franck++ | changes suggested by Darren_Duncan++ | 10:53 | |
| avar | But OTOH the Perl6:: namespace seems to pretty much only be source filters to boolt p6-ish stuff on p5 | 10:54 | |
|
10:54
esstone joined
|
|||
| Alias__ | pretty muich | 10:56 | |
| avar | Well Perl6::Perldoc::Parser has a /normal/ interface though | 10:57 | |
| Alias__ | I needs to | 11:05 | |
| Since I think it's getting used for real at some point | |||