#perl - Tue 13 Mar 2007 between 02:25 and 02:42



shortenrandal_schwartz's url is at http://xrl.us/vanm
randal_schwartzoverlap = box '((0,0),(1,1))' && box '((0,0),(2,2))'
ajitIs there any standard web UI guidelines like button size should be such etc...If any plz specify url.
Davemanrevdiablo, haw! ;D
randal_schwartzplz?
is that like
"please"
but you're paying by the character for IRC?
if so, sucks to be you
revdiabloDaveman: That woulda been fun next time I tried to use it
I have the backup 1G card, but even so
kcbanner$collision = Math::NumberCruncher::InPolygon( $x, $y, @xy );
ops
Given a set of xy pairs (@xy) that define the perimeter of a polygon, returns a 1 if point ($x,$y) is inside the polygon and returns 0 if the point ($x,$y) is outside the polygon.
I'm not sure what should be in @xy exactly
its not explained well
and the source isn't commented at all
cfeddeIs typekey a high enough hoop for wiki editors?
kcbanner$self->{bounding} = ($x,$y,$x+$xdim,$y,$x, $y-$ydim,$x+$xdim,$y-$ydim); whats wrong with that...bounding is an array ref
randal_schwartzstill be faster to put those all in postgresql
kcbannerI have a feeling my syntax is wrong
randal_schwartzthen you could just SELECT id WHERE ? && place;
and get the id's of everything that intersects your value
kcbannerrandal_schwartz...
randal_schwartzVery Very Fast
kcbannerVery Very Drunk
randal_schwartzNot at all
haven't had anything to drink since 3pm
Jmax-eval: $dongs = {}; @dongs->{foo} = ('bar', 'baz'); $dongs
buubotJmax-: Error: Can't coerce array into hash at eval line 1.
Jmax-yeah didn't think so
would it be
@{ $dongs->{foo} } # ?
snappyis there a one-liner to read all lines into an array and apply chomp() to the values?
randal_schwartzyou want this thing to run fast, right?
use the right tool
don't do all of that in Perl
chomp (my @lines = <>);
kcbannerJmax-, ah yes :D
Jmax-:)

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 96 103 

IrcArchive