code logs -> 2011 -> Fri, 16 Sep 2011< code.20110915.log - code.20110917.log >
--- Log opened Fri Sep 16 00:00:12 2011
00:05 Vornicus-Latens is now known as Vornicus
00:06 You're now known as TheWatcher[zZzZ]
00:07 * Vornicus returns home, having discovered while doing math in his head on the bus that the locations of the corners of the true simplified voronoi diagram of many of the things are actually in irrational locations.
00:07
<@Vornicus>
This is spectacularly less than optimal.
00:21 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.]
00:25 shade_of_cpux is now known as cpux
00:57 Derakon[AFK] is now known as Derakon
01:02 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
01:14 Reivles [orthia@Nightstar-c50d37f0.lightwire.co.nz] has joined #code
01:27
<@Reiver>
... irrational numbers what
01:31
<@Vornicus>
Reiver: okay, so, I'm building voronoi diagrams for tiles' connectivity graphs, like I was describing before.
01:32
<@Vornicus>
And it turns out that if you've got a triangle of tiles that are connected, the correct location for the corner is actually an irrational location, not on any actual grid tile.
01:35
<@Vornicus>
s/grid tile/grid point/
01:35
<@Vornicus>
Which says to me that in reality, the ms research/hebrew university guys were faking their voronoi diagrams.
01:49
<@Reiver>
Because they landed on neat numbers?
01:51
<@Vornicus>
Yeah.
01:59
<@Vornicus>
Or rather, they chose neat numbers.
01:59
<@Vornicus>
I don't think "landed on" quite covers it.
02:07
<@Vornicus>
Even some relatively trivial stuff changes in the real world when it doesn't in the ms research stuff: two tiles of the same color next two different-colored tiles (AA BC) pushes the intersection toward the BC by 1/8 of a tile and it doesn't look like they accounted for that.
02:09 Reivles [orthia@Nightstar-c50d37f0.lightwire.co.nz] has quit [Ping timeout: 121 seconds]
02:13
<@Vornicus>
But man, this ticks me off.
02:14
<@Vornicus>
Now i have to go back in and see if I can figure out how they did this, because it isn't making sense to me any more.
02:19
<@Vornicus>
man, wtf
02:27 Attilla [Some.Dude@Nightstar-f29f718d.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
02:55 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer]
03:00 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
03:21 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?]
03:40 Phox [Phox@Nightstar-3e5deec3.gv.shawcable.net] has quit [[NS] Quit: Bailing. Someone set my alt locale to Zimbabwe. Silly Joanna, we are not in Zimbabwe.]
03:50 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
03:55 Kindamoody[zZz] is now known as Kindamoody
04:02 Phox [Phox@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
04:04 Phox [Phox@Nightstar-3e5deec3.gv.shawcable.net] has quit [Connection reset by peer]
04:04 Phox [Phox@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
04:10 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
04:13 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
04:15 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
04:45 Phox [Phox@Nightstar-3e5deec3.gv.shawcable.net] has quit [NickServ (GHOST command used by Neophox)]
04:46 Phox [Phox@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
04:59 Reiver [orthianz@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
05:03 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
05:20 kwsn [kwsn@Nightstar-635d16fc.org] has quit [Ping timeout: 121 seconds]
05:31 kwsn [kwsn@Nightstar-635d16fc.org] has joined #code
05:41 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [[NS] Quit: This computer has gone to sleep]
05:41 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
06:01 Reivles [orthia@Nightstar-577d8499.lightwire.co.nz] has joined #code
06:17 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
06:28 Derakon is now known as Derakon[AFK]
06:35 mason [IceChat7@Nightstar-4467a190.Houston1.Level3.net] has joined #code
06:49 mason [IceChat7@Nightstar-4467a190.Houston1.Level3.net] has quit [[NS] Quit: Download IceChat at www.icechat.net]
07:02 celticminstrel [celticminstre@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
07:19
<@Alek>
Mike washes, then peels, then cuts up his potatoes before cooking. Serge cuts the potatoes, then washes and peels each individual piece. Question: Which of the two programs in lisp?
07:21 Reivles [orthia@Nightstar-577d8499.lightwire.co.nz] has quit [Ping timeout: 121 seconds]
07:45
< Vornicus>
wtf
08:00
<@Kindamoody>
(cut(peel(wash(potato))))? I don't know lisp... but I'd guess Serge. :/
08:08
<@McMartin>
Serge is doing a chain of maps, he is the Lisper.
08:18
<@Tamber>
(mapcar peel (mapcar wash (cut potato)))
08:38 Reivles [orthia@Nightstar-c50d37f0.lightwire.co.nz] has joined #code
08:46 Janus [NSwebIRC@Nightstar-b1ac186a.res.rr.com] has joined #code
09:03 You're now known as TheWatcher
09:19 Kindamoody is now known as Kindamoody|out
09:56 Attilla [Some.Dude@Nightstar-f29f718d.cable.virginmedia.com] has joined #code
09:59 * Janus pulls and recompiles his windowing library for the first time in a year. Spends the rest of the night oogling over the damage
10:00 Reivles [orthia@Nightstar-c50d37f0.lightwire.co.nz] has quit [Ping timeout: 121 seconds]
10:02
< Janus>
So. This is why you wrap these things. A few features got trimmed. Like the ability to read pixels. Or write them. Man, my code just got broke, ahaha
10:09 Reivles [orthia@Nightstar-c50d37f0.lightwire.co.nz] has joined #code
10:12 Derakon[AFK] [Derakon@510B1D.620261.5E24F5.C009AE] has quit [Operation timed out]
10:20 AnnoDomini [annodomini@FFB3F3.4C5BE8.2014E2.DC0864] has joined #code
11:13
< Janus>
and... done. I think I need more coffzzz
11:14 Janus [NSwebIRC@Nightstar-b1ac186a.res.rr.com] has quit [[NS] Quit: zzz]
12:15 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
12:23 Reivles [orthia@Nightstar-c50d37f0.lightwire.co.nz] has quit [Ping timeout: 121 seconds]
13:09 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has quit [Client exited]
13:19 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Reboot]
13:29 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
14:47 AnnoDomini [annodomini@FFB3F3.4C5BE8.2014E2.DC0864] has quit [[NS] Quit: leaving]
14:47 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
14:50
<@ToxicFrog>
:gonk:
14:50
<@ToxicFrog>
<Fubear> We just found this beauty in the administration area of one of our websites:
14:50
<@ToxicFrog>
<Fubear> /csv_download.php?query=SELECT%20*%20FROM%20m_users%20ORDER%20BY%20u_id%20ASC
14:50
<@ToxicFrog>
<Fubear> Further investigation of the source reveals:
14:50
<@ToxicFrog>
<Fubear> $query = addslashes($_GET['query']);
14:50
<@ToxicFrog>
<Fubear> $result = mysql_query($query);
14:51
<@ToxicFrog>
<Fubear> The addslashes is a nice touch, it's like he knew he ought to be doing something with the input but doesn't quite understand why.
14:54
< celticminstrel>
o.O
14:54
<@ToxicFrog>
GET /csv_download.php?query=DROP+TABLE+*
14:54
<@ToxicFrog>
>.>
15:02 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
15:14
< gnolam>
...
16:17
< kwsn>
w00t
16:17
< kwsn>
finally got my EFI crap working now :D
17:15 Derakon [Derakon@Nightstar-f68d7eb4.ca.comcast.net] has joined #code
17:45 AnnoDomini [annodomini@60F158.737D66.CA1918.CC7562] has joined #code
18:00 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
18:00 AnnoDomini is now known as Zon
18:51 * TheWatcher stabs this
18:54
<@TheWatcher>
`element = new Element('div', {'class': '...blabla...'});` ... do a bunch of things with it that make an fragment of dom tree, then pass it to a function only to get "cannot convert 'element' to object"
18:55 * TheWatcher applies dragonfly, finds that it's undefined, wtfs
19:39 Kindamoody|out is now known as Kindamoody
19:50 celticminstrel [celticminst@1526F6.37AB0D.97233B.788A64] has joined #code
20:23 * kwsn arghs at her coworker
20:26
< kwsn>
ok, say you have to store what model computer you're on in a special variable that'll persist throughout different phases. This variable is formatted a certain way, and is part of an enum
20:27 Lingerance [rstamer@Nightstar-e681a855.org] has joined #code
20:27
< kwsn>
the formatting can translate into a string based on what is is
20:28
< kwsn>
all the functions that use the value use the regular, non-string code
20:28
< kwsn>
he wants me to convert it into the string equiv, store it, and then when we call it to get it back, convert it back -_-;;
20:28
<@Tamber>
...
20:28
< kwsn>
just for the sake of human readability
20:29
<@Tamber>
On the lighter side, I can see where he's coming from; on the "I haven't been huffing butane" side, that's just silly.
20:30
< kwsn>
he's also worried taht if we change the value of the enum that it may be possible the first part that sets it may be a diff version from the part that calls it
20:31
<@Tamber>
I think I could see that happening, but I'm not sure how likely that would be...
20:32
<@Tamber>
Are both the parts that set it, and the part that call it, using the same enum to get the values?
20:33
< kwsn>
yup
20:34
< kwsn>
it's basically putting the value in a different area that doesn't get changed during the boot process
20:35
<@Tamber>
Then I can't see how they could possibly end up differing, without some finagling... o.O Of course, there's bound to be a way... =p
20:36
< kwsn>
Tamber: what coding are you using...?
20:36
< kwsn>
as in char coding
20:36
< kwsn>
i'm getting a few junk chars
20:38 Kindamoody is now known as Kindamoody[zZz]
20:41
< Lingerance>
UFT-8
20:41
<@Tamber>
Not quite. UTF-8. :)
20:41
< Lingerance>
U+2026...e2 80 a6HORIZONTAL ELLIPSIS
20:42
< Lingerance>
It shows in my client as UTF-8 :p
20:43
< kwsn>
yeah, screen doesn't like UTF-8
20:43
< Lingerance>
There's options for that
20:44
< Lingerance>
^a :defutf8 on
20:44
< Lingerance>
^a :utf8 on
20:44
<@Tamber>
Why don't think default to UTF-8 already?
20:45
<@Tamber>
things*
20:45
< Lingerance>
First one affects new windows, the second affects the current
20:45
< Lingerance>
No idea
20:45
< Lingerance>
Oh, I think it's the memory requirement.
20:45
< Lingerance>
... and extra processing.
20:46
<@Tamber>
Heh. If you're not using characters outside of what ASCII has to offer, there is no extra memory usage or processing.
20:46
< Lingerance>
Actually there is
20:47
< Lingerance>
It has to see if those characters are multi-byte, so it has to check every character for that on render (which is fairly minor)
20:48
< Lingerance>
Also finding the character-length vs the byte-length requires the same checks.
20:54
< kwsn>
hm
21:41 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
21:42 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
21:47 Phox [Phox@Nightstar-3e5deec3.gv.shawcable.net] has quit [NickServ (GHOST command used by Neophox)]
21:47 Phox [Phox@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
22:15 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
22:33 Zon is now known as AnnoDomini
22:39 AnnoDomini [annodomini@60F158.737D66.CA1918.CC7562] has quit [[NS] Quit: Away!]
22:47 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
23:43 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has joined #code
--- Log closed Sat Sep 17 00:00:27 2011
code logs -> 2011 -> Fri, 16 Sep 2011< code.20110915.log - code.20110917.log >

[ Latest log file ]