»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend!
Set by sorear on 4 February 2011.
00:09 Chillance left 00:26 hercynium left 00:35 xinming_ joined 00:38 xinming left 00:49 dayangkun left 00:50 thou joined 00:55 [Coke] left 00:57 [Coke] joined, silug left 00:58 pamera1 joined 00:59 silug joined 01:01 pamera left
colomon is once again wishing C++ were Perl 6... 01:02
01:04 dayangkun joined
sorear hello 01:05
colomon o/ 01:15
01:20 thou left 01:25 woosley joined 01:30 woosley1 joined 01:32 woosley left 01:41 woosley1 left 01:51 _jaldhar_ is now known as jaldhar 01:52 Trashlord left 01:54 Trashlord joined 01:59 nymacro joined 02:02 starcoder left, starcoder joined 02:14 silug left 02:49 kst left, kst joined 02:53 mtk left 03:02 mtk joined 03:22 kst left 03:24 Su-Shee_ joined, kst joined, Su-Shee left 03:33 risou is now known as risou_awy 03:49 ymasory left 03:50 jaldhar left 03:51 jaldhar joined 03:57 kst left, kst joined 04:05 envi joined 04:11 jaldhar left 04:12 jaldhar joined 04:15 kst left 04:16 kst joined 04:25 satyavvd joined 04:26 ymasory joined 04:27 jaldhar left, jaldhar joined 04:35 kst left, jaldhar left, jaldhar joined, kst joined 04:39 jaldhar left, jaldhar joined 04:42 jaldhar left, jaldhar joined, ymasory left 04:44 jaldhar left, jaldhar joined 04:46 jaldhar left, _jaldhar joined, risou_awy is now known as risou 04:47 _jaldhar left, _jaldhar joined 04:51 _jaldhar left, _jaldhar joined 04:57 silug joined, jevin left 04:58 jevin joined 04:59 risou left, risou_awy joined 05:00 risou_awy left, risou_awy joined 05:01 silug left, risou_awy is now known as risou 05:05 jaldhar_ joined, risou is now known as risou_awy, risou_awy left, _jaldhar left 05:06 risou_awy joined, risou_awy is now known as risou 05:08 risou left 05:09 risou_awy joined, risou_awy is now known as risou 05:11 kst left, sftp left 05:12 kst joined, jaldhar_ left 05:13 jaldhar_ joined 05:18 birdwindupbird joined 05:22 jaldhar_ left 05:23 jaldhar_ joined 05:28 kst left 05:29 kst joined, wamba joined 05:37 wtw joined 05:39 jaldhar_ left, jaldhar_ joined 05:40 jaldhar_ left 05:43 jaldhar_ joined 05:46 koban joined 05:53 risou is now known as risou_awy 05:57 risou_awy left 05:59 sivoais left, sivoais joined 06:00 Raynes left 06:01 mikemol left, risou_awy joined, Raynes joined, mikemol joined, risou_awy is now known as risou 06:02 risou is now known as risou_awy, risou_awy left 06:04 risou_awy joined, risou_awy left 06:05 risou_awy joined, risou_awy is now known as risou, wamba left 06:06 risou left, risou_awy joined, risou_awy is now known as risou
moritz good morning 06:13
06:15 dukeleto left 06:16 dukeleto joined
sorear good morning moritz !! 06:19
06:20 Su-Shee_ is now known as Su-Shee 06:28 kst left 06:29 kst joined 06:45 mikehh left
sorear out 06:45
06:47 kst left, kst joined 06:56 fhelmberger joined 07:00 muixirt joined 07:03 dayangkun left 07:19 mj41 joined 07:21 amkrankruleuen left 07:22 amkrankruleuen joined 07:25 silug joined 07:26 baest left 07:27 dayangkun joined 07:29 baest joined 07:30 xinming_ is now known as xinming 07:35 wamba joined 07:42 kst left, kst joined 07:46 silug left 07:49 woldrich joined, woldrich left, amkrankruleuen left 07:56 amkrankruleuen joined
tadzik good morning 07:56
07:58 am0c joined 08:04 kst left, kst joined 08:09 wamba left, wamba joined 08:14 amkrankruleuen left 08:15 amkrankruleuen joined 08:16 Mowah joined 08:21 wamba left 08:24 risou is now known as risou_awy, Mowah left 08:29 dayangkun left 08:34 pernatiy left, am0c^ joined 08:38 kst left 08:39 kst joined 08:47 amkrankruleuen left 08:53 amkrankruleuen joined 08:54 kst left 08:57 kst joined 09:06 risou_awy left 09:07 risou_awy joined, risou_awy is now known as risou 09:15 agentzh joined 09:16 kst left, kst joined 09:24 am0c left 09:27 am0c^ left 09:29 am0c^ joined 09:35 kst left 09:36 kst joined 09:37 amkrankruleuen left 09:38 amkrankruleuen joined 09:43 amkrankruleuen left 09:54 amkrankruleuen joined 09:55 agentzh left 09:56 kst left, kst joined 10:14 kst left 10:15 kst joined 10:18 am0c^ left 10:23 silug joined, dayangkun joined 10:25 dayangkun left, dayangkun joined 10:40 silug left, mtk left 10:46 ponbiki left 10:48 am0c^ joined, snearch joined 10:50 mtk joined 10:55 [Coke] left 10:57 [Coke] joined 11:02 Psyche^ joined 11:06 kst left, Patterner left, Psyche^ is now known as Patterner, SHODAN joined, kst joined 11:18 MayDaniel joined 11:20 am0c^ left 11:27 stepnem left 11:28 kst left, kst joined 11:48 MayDaniel left 11:49 wamba joined, kst left, kst joined 11:52 REPLeffect left 12:05 satyavvd left 12:07 ponbiki joined 12:08 REPLeffect joined 12:12 wknight8111 joined 12:18 dayangkun left, mtk left 12:22 kst left 12:23 kst joined 12:26 mtk joined 12:32 nymacro left
colomon \o 12:34
12:37 ab5tract joined 12:43 _twitch joined 12:59 Holy_Cow joined 13:03 ymasory joined 13:04 leprevost joined 13:08 stepnem joined 13:09 silug joined 13:13 wamba left 13:16 risou is now known as risou_awy 13:33 Holy_Cow left 13:39 snearch left 13:42 wamba joined 13:44 kst left, kst joined 13:52 jaldhar_ left 13:54 rhr joined
sorear good * #perl6 13:57
13:57 gfldex left
mathw good * sorear 13:57
13:59 tyatpi joined 14:04 gfldex joined, wtw left 14:05 donri joined 14:07 MayDaniel joined 14:09 SHODAN left, spq joined 14:12 mberends left 14:20 envi left, hercynium joined, hercynium left, hercynium joined 14:21 buubot_backup left 14:26 ymasory left, [hercynium] joined 14:27 pmurias joined
pmurias sorear: hi 14:28
14:28 hercynium left, [hercynium] is now known as hercynium 14:30 envi joined 14:34 dukeleto left 14:35 dukeleto joined, risou_awy is now known as risou 14:37 risou is now known as risou_awy 14:39 wamba left 14:41 dukeleto left, kst left, dukeleto joined, kst joined 14:43 risou_awy is now known as risou 14:45 risou is now known as risou_awy 14:47 risou_awy is now known as risou 14:49 risou is now known as risou_awy, lichtkind joined
sorear hi pmurias 14:52
hi lichtkind
pmurias sorear: how's niecza doing?
sorear ok I guess 14:53
it'll be doing much better in a week, after finals
14:53 Trashlord left
pmurias good luck with the finals 14:54
sorear thanks
14:55 ymasory joined 14:59 risou_awy is now known as risou 15:00 MayDaniel left 15:02 [particle] left 15:03 [particle] joined 15:07 koban left 15:13 buubot_backup joined 15:14 kst left 15:15 kst joined 15:18 domidumont left 15:20 buubot_backup left 15:22 stepnem left, am0c joined 15:24 wamba joined 15:25 stepnem joined 15:32 mj41 left 15:34 dual left 15:37 clintongormley joined 15:39 jimmy1980 joined 15:40 buubot_backup joined 15:42 clintongormley left, clintongormley joined
sorear buubot_backup: eval 2 + 2 15:47
buubot_backup sorear: 4
sorear \o/
lichtkind sorear: hai
15:51 ab5tract left 15:57 alester joined 15:58 ymasory left, kst left 15:59 kst joined 16:00 thou joined, kjeldahl joined 16:02 clintongormley1 joined, clintongormley left
clintongormley1 hi all - i'm hoping that somebody with language design experience (<cough>TimToady</cough>) might give me a bit of advice 16:07
i'm trying to design an SQL::Abstract style interface to send queries to ElasticSearch, a lucene based full text search engine
in case you're not familiar, SQL::Abstract parses constructs like { foo=>'bar', num => { '>' => 5}} 16:09
so there are the obvious operators, like > < != etc
but there are a number of other query types, like 'prefix', 'fuzzy' which i'm considering allowing operators for, as opposed to saying { field => {prefix => 'foo'}} 16:10
here is what i have: gist.github.com/a90fc626d4f849b41100
and i'm wondering what you think. do the proposed operators work? or are they too invented, and should i just stick to using words (ie 'prefix', 'wildcard' etc) 16:11
sorear hello clintongormley1.
clintongormley1 hiya
sorear who sent you here? :)
PerlJam I think it's well known that this is a good place to find TimToady
clintongormley1 sorear: nobody. i know what #perl6 is, but i thought this was the place with the highest concentration of operator experts :)
16:12 kst left
clintongormley1 s/operator/language/ 16:12
i realise this is OT, but hoping for some feedback anyway
PerlJam Well, in your case, you don't have much of a "language" :)
clintongormley1 yes, i realise 16:13
PerlJam I assume the | are meta-syntax in your examples.
clintongormley1 the > | < etc
yes, i mean > or < or >=
PerlJam how do you say "and" and "or" ?
clintongormley1 in SQL::Abstract, you say it with {} or [], so: 16:14
{ foo => bar, num => 1} is: foo == bar and num == 1
PerlJam oh. I get it.
clintongormley1 in [] would be or
i can support eg the word 'prefix' plus the op, but i'm wondering if the ops are just too unfamiliar to be useful, and would be better left out 16:15
PerlJam clintongormley1: if your users are perl programmers, some of those would be analogous to regex or glob and so make sense I guess. 16:18
clintongormley1 any that you think work, and any that you would dismiss?
(and yes, they are Perl users)
PerlJam I'd probably use '^' for "starts with" and "*" for glob and '~' for full text search. 16:20
'~~' doesn't quite do it for me, nor does '*~'
(but that's just me)
(and you could use '$' for "ends with" if you needed it) 16:21
clintongormley1 yep - that one doesn't exist
that makes sense - any idea about how to distinguish between 'text' and 'query_string' then?
query_string is commonly used, and thus is longer than i'd like
PerlJam well, maybe just "query" ? 16:23
clintongormley1 yeah, although that is used elsewhere
to distinguish between queries (which have their "relevance" scored) and filters, which just ... filter :)
16:23 Trashlord joined
PerlJam fuzzy and query_string both want to be text-ish rather than operator-ish in my head. so, I'd use "fuzzy" and "query" 16:24
or perhaps "fts" for query_string
clintongormley1 ok - yeah that makes sense 16:25
thanks PerlJam
PerlJam sure 16:26
clintongormley1: Can you do arithmetic on the keys? or is that planned?
clintongormley1 no 16:27
neither
PerlJam okay, that would make a difference to using "*" to mean glob or not
clintongormley1 right
PerlJam in fact, to be conservative, you should use "glob" instead to allow for *-as-multiplication in the future. 16:29
But that's your call :)
clintongormley1 no, it definitely won't be an option
following your logic of query|fuzzy what if i added 'text' in there, and made fuzzy ~ 16:30
PerlJam Is there a particular reason you're looking for operator-like names rather than stringy names? 16:31
clintongormley1 just compactness really
that's why i wanted a sense check - afraid i was going overboard :)
16:31 sftp joined
PerlJam Would you have regex as an option in the future? 16:31
clintongormley1 it is a possibility 16:32
right, so reserve ~ for regex
PerlJam well, you could use '=~' for regex, but then ~-as-fuzzy wouldn't make as much sense
(IMHO)
clintongormley1 yeah
and really, for fuzzy you have to provide a number of parameters, eg min similarity 16:33
so making the op a short symbol is probably not worthwhile
PerlJam The real design trick is to not accidently limit your future options by poor choices today. TimToady excels at imagining the future, but he's had lots of practice I think :) 16:36
clintongormley1 heh yeah
PerlJam (and made lots of mistakes ... thus #perl6 :)
clintongormley1 again, many thanks. you've helped a lot
16:44 clintongormley1 is now known as clintongormley 16:48 MayDaniel joined, clintongormley left 16:49 jedai left 16:51 cdarroch joined, cdarroch left, cdarroch joined 16:54 birdwindupbird left 16:56 Chillance joined 16:59 leprevost left 17:00 fhelmberger left 17:02 jedai joined 17:10 MayDaniel left, jimmy1980 left 17:20 thou left 17:21 thou joined 17:22 donri left 17:25 wamba left 17:30 impious joined 17:39 Mowah joined 17:44 dual joined 17:49 [particle] left, [particle] joined 17:53 envi left 17:56 kst joined 17:59 ymasory joined
tadzik hello zebras 18:03
18:26 uKibab left 18:30 ymasory_ joined 18:33 ymasory left, jdhore1 joined 18:34 jdhore left, hercynium left 18:37 [hercynium] joined 18:41 [hercynium] left 18:47 dominicus left 18:51 [Coke] left
sorear hey tadzik 18:51
tadzik finals, eh? I'm jealous 18:53
18:53 alester left, [Coke] joined
sorear jealous? 18:57
18:58 [Coke] left
sorear why? 18:59
19:00 [Coke] joined 19:07 ymasory_ is now known as ymasory
tadzik mine end on July the 1st 19:09
5 weeks after the start of GSoC
sorear hey, at least you got in 19:11
19:12 colomon left
tadzik you didn't? 19:13
I mean, were you trying and didn't get in? 19:14
19:15 colomon joined 19:19 keeth joined 19:23 colomon left 19:24 colomon joined, [Coke] left
sorear tadzik: I was trying but there wasn't a project for me in time 19:26
19:26 [Coke] joined
sorear possibly relevant: I live a few hundred km south of Google's HQ 19:26
maybe they just looked at all schools within $DISTANCE when they were planning schedules 19:27
tadzik well, looks like it's only Poland which is fscked :) 19:30
19:30 [Coke] left 19:33 [Coke] joined 19:36 colomon left 19:37 s1n left 19:39 birdwindupbird joined 19:46 [Coke] left 19:48 [Coke] joined 19:49 takadonet left 19:51 colomon joined
Tene sorear: where do you live? That sounds like almost a reasonable driving distance from me. 19:52
19:55 [Coke] left
sorear Tene: san diego 19:55
suburbs
19:55 colomon left 19:57 [Coke] joined
Tene Ah, that's a bit more than a casual drive. Good to know, though. 20:01
sorear Where are you? 20:02
Tene sunnyvale, so often within walking distance of google HQ 20:03
20:03 thou left 20:04 _twitch left
sorear nod 20:06
20:08 colomon joined 20:11 donri joined 20:15 wknight8111 left 20:20 birdwindupbird left 20:26 lichtkind left 20:28 ymasory left, alester joined 20:30 spq left
tylercurtis tadzik: if it makes you feel any better, my finals don't begin until June 6th. 20:31
tadzik thanks, I feel better now :) 20:32
20:32 hercynium joined, pmurias left 20:35 Ali_h left 20:36 Ali_h joined
tylercurtis Fortunately, I'm not taking any courses with final papers this quarter, so finals week shouldn't be too busy. 20:37
tadzik yay, I hacked a kernel module and it still works 20:40
20:42 mj41 joined 20:53 icwiener joined 21:01 pyrimidine left 21:03 Mowah left 21:19 leprevost joined 21:20 muixirt left 21:37 tyatpi left 21:38 tyatpi joined 21:39 impious left 21:43 colomon left 21:44 colomon joined 21:46 alyx left 21:47 tylercurtis left, tylercurtis joined 21:48 alyx_ joined 21:49 alyx_ left, alyx_ joined 21:55 hercynium left 21:57 pjcj left, pjcj joined 22:13 pjcj left 22:14 pjcj joined 22:15 pjcj left 22:16 pjcj joined, leprevost left, icwiener left 22:19 mj41 left 22:20 alester left, pjcj left 22:21 pjcj joined 22:22 wamba joined 22:24 ron_head joined 22:28 [Coke] left, pjcj left 22:30 ron_head left, [Coke] joined, pjcj joined 22:34 pamera1 left 22:41 pamera joined 22:53 cdarroch left, jferrero left, pjcj left 22:54 pjcj joined 22:55 [Coke] left 22:57 [Coke] joined 22:58 pjcj left 22:59 pjcj joined 23:01 pjcj left 23:04 colomon left 23:06 snarkyboojum_ joined 23:07 keeth_ joined, pjcj joined, keeth_ left 23:08 pjcj left, slavik1 left, snarkyboojum left, snarkyboojum_ is now known as snarkyboojum 23:10 keeth left 23:11 slavik1 joined 23:17 pjcj joined 23:23 ymasory joined, noganex joined 23:24 skangas left 23:27 noganex_ left 23:35 alyx_ is now known as alyx 23:47 wamba left 23:52 Moukeddar joined
Moukeddar hello fellows 23:53
23:59 Moukeddar left