code logs -> 2010 -> Sat, 20 Nov 2010< code.20101119.log - code.20101121.log >
--- Log opened Sat Nov 20 00:00:16 2010
00:28 kwsn [kwsn@Nightstar-ca9721ae.dyn.centurytel.net] has joined #code
00:29 shade_of_cpux is now known as cpux
00:30 cpux is now known as Darth_cpux
00:41
< PinkFreud>
I read that as '... Harrison plotting ... Ford ... unavailable'
00:44
< Alek>
hehe
01:02 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
01:05 Zed [Zed@Nightstar-556ea8b5.or.comcast.net] has joined #code
01:42 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
02:23 Darth_cpux is now known as cpux
03:24 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
03:40 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Client closed the connection]
05:47
<@McMartin>
"Truly it is said that the hacker whom the Gods would make mad, they first inspire to add one more layer of abstraction. Just one more. Then it'll be perfect."
06:10 Yoda [ikat@Nightstar-0816732d.consolidated.net] has quit [[NS] Quit: ]
06:13
<@jerith>
Abstractions leak.
06:43
< Stalker>
Good morning again Mr. Jerith?
06:44
<@jerith>
It *is* a good morning, actually. :-)
06:44 * jerith snugs his Young Lady.
06:44 * Stalker will be going home from work now.
06:48 Stalker [Stalker@2C3C9C.B2A300.F245DE.859909] has quit [Ping timeout: 121 seconds]
06:54 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
07:29 Zed [Zed@Nightstar-556ea8b5.or.comcast.net] has quit [Ping timeout: 121 seconds]
07:31 Zed [Zed@Nightstar-556ea8b5.or.comcast.net] has joined #code
07:53 Stalker [Stalker@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
08:13 Serah [Stalker@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
08:14 Stalker [Stalker@3A600C.A966FF.5BF32D.8E7ABA] has quit [Client closed the connection]
08:20 Vornicus is now known as Vornicus-Latens
08:21 Serah [Stalker@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
08:42 You're now known as TheWatcher
09:00 kwsn [kwsn@Nightstar-ca9721ae.dyn.centurytel.net] has quit [Ping timeout: 121 seconds]
09:32
< simon_>
is it the case that look-aheads and look-behinds extend the set of regular languages?
09:32
< simon_>
or are they just syntax sugar to reduce the size of certain regular expressions?
09:34
<@jerith>
They're extensions.
09:36
< simon_>
that means there is a regex using look-aheads that can't be expressed without look-aheads
09:36
< simon_>
I wonder how to construct such an example.
09:36
<@jerith>
Lookaheads don't match.
09:37
< simon_>
you mean they don't eat characters?
09:37
<@jerith>
I'm actually thinking more of negative lookaheads and such.
09:37
<@jerith>
Yeah. That's why they're lookaheads (or lookbehinds) rather than just matches.
09:37
< simon_>
are you saying that look-arounds and negative look-arounds extend regexes differently?
09:38
< simon_>
because zero-width assertions do match.
09:38
<@jerith>
Hrm.
09:38
<@jerith>
I think I'm out of my depth here.
09:38
<@jerith>
It's been a while since I looked at regexen in any detail.
09:38
< simon_>
yeah, I'm mostly interested in an example of negative look-arounds that can't be expressed without them.
09:39
< simon_>
it's funny to try and make mathematical statements about something I'd otherwise consider a hackish tool. well, that's university. :)
09:39
<@jerith>
I'm pretty sure they're implemented more efficiently than the syntactic-sugar alternatives if there are any.
09:40
<@jerith>
Regex is a language, and therefore mathematical statements make sense.
09:44 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
09:45
< simon_>
well, if you were to do ^(?!abc).{5}$, I could do that using ^([^a]..|.[^b].|..[^c]|a[^b].|a.[^c]|etc)$, so that's just syntax sugar to prevent a blow-up in regex size.
09:45
< simon_>
hey gnolam
09:45
< simon_>
sorry, .{3}
09:46
< simon_>
gnolam, do you know if negative look-aheads is just syntax sugar, or if they extend the set of regular languages?
09:49
< simon_>
well, here's something
09:50
< simon_>
it seems that to step from regular languages to context-free languages, recursion is necessary
09:50
< simon_>
and afaik, you can only obtain recursive statements in regexes using backreferences.
09:51
<@jerith>
They're *regular* expressions.
09:51
< simon_>
jerith, regexes with backreferences aren't regular :P
09:53
< simon_>
e.g. you couldn't express ([a-z])\1 without the backref.
10:25 Anno[Laptop] [annodomini@Nightstar-af382ebb.adsl.tpnet.pl] has joined #code
11:01 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Party time, duuuuuudes]
13:16 Stalker [Stalker@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
13:18 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
15:10 kwsn [kwsn@Nightstar-ca9721ae.dyn.centurytel.net] has joined #code
15:20 Attilla [Some.Dude@Nightstar-d25f0291.threembb.co.uk] has joined #code
15:20 mode/#code [+o Attilla] by Reiver
15:24 celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has joined #code
15:35 Stalker [Stalker@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
15:38 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
16:23 celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
--- Log closed Sat Nov 20 17:37:43 2010
--- Log opened Sat Nov 20 17:38:33 2010
17:38 TheWatcher [chris@Nightstar-b4529b0c.zen.co.uk] has joined #code
17:38 Irssi: #code: Total of 24 nicks [8 ops, 0 halfops, 0 voices, 16 normal]
17:38 mode/#code [+o TheWatcher] by Reiver
17:39 Irssi: Join to #code was synced in 53 secs
17:59 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed]
18:28 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
19:12 * jerith sighs at the comment he got on http://bugs.python.org/issue10231
19:14
< celticminstrel>
orsenthil?
19:20
<@jerith>
Yeah. Looks like he completely misunderstood the problem.
19:24
< celticminstrel>
Yeah.
19:24
< celticminstrel>
Though it also looks like you didn't make it clear at first.
19:26
<@jerith>
Perhaps. The code is pretty clear, though.
19:43 * jerith updates the patch and waits for orsenthil to wake up again.
20:08 cpux is now known as shade_of_cpux
21:45 Stalker [Stalker@2C3C9C.B2A300.F245DE.859909] has joined #code
21:48 Zed_ [Zed@Nightstar-556ea8b5.or.comcast.net] has joined #code
21:49 Zed__ [Zed@Nightstar-556ea8b5.or.comcast.net] has joined #code
21:49 Zed_ [Zed@Nightstar-556ea8b5.or.comcast.net] has quit [Client closed the connection]
21:50 Zed [Zed@Nightstar-556ea8b5.or.comcast.net] has quit [Ping timeout: 121 seconds]
23:30
< celticminstrel>
Is there any way to tell my computer to not let applications change the resolution?
23:33
<@froztbyte>
I imagine there might be some windows policy to do that, if it's windows
23:33
< celticminstrel>
Mac.
23:34
<@froztbyte>
Unknown mapping detected, raising lack of knowledge exception.
23:34
< celticminstrel>
XD
23:34
<@froztbyte>
although I'd be prepared to bet that it's possible
23:34
< celticminstrel>
Well, if it is it's far from obvious, and my Googling has had no luck so far.
--- Log closed Sun Nov 21 00:00:21 2010
code logs -> 2010 -> Sat, 20 Nov 2010< code.20101119.log - code.20101121.log >