code logs -> 2009 -> Mon, 09 Nov 2009< code.20091108.log - code.20091110.log >
--- Log opened Mon Nov 09 00:00:30 2009
00:09 You're now known as TheWatcher[T-2]
00:16 You're now known as TheWatcher[zZzZ]
00:33 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
02:28 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
02:45 Tarinaky [Tarinaky@Nightstar-f74e51b1.adsl.virginmedia.net] has quit [Connection closed]
03:03 Attilla [The.Attilla@FBC920.81F6E9.75B9E8.9A3898] has quit [Client closed the connection]
06:52 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
07:18 Derakon is now known as Derakon[AFK]
07:31 Tarinaky [Tarinaky@Nightstar-f74e51b1.adsl.virginmedia.net] has joined #code
08:28 AnnoDomini [farkoff@Nightstar-160ae8df.adsl.tpnet.pl] has joined #code
08:58 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited]
09:07 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
09:11 You're now known as TheWatcher
10:45 Attilla [The.Attilla@FBC920.65CFFF.B7E2D0.EBD89A] has joined #code
10:45 mode/#code [+o Attilla] by ChanServ
10:58 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
11:05 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
11:06 Syloqs_AFH is now known as Syloqs-AFH
11:13 AnnoDomini [farkoff@Nightstar-160ae8df.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
11:19 AnnoDomini [farkoff@Nightstar-602e92ab.adsl.tpnet.pl] has joined #code
11:20 * gnolam stabs OpenGL implementations with a rusty shiv.
11:23
< gnolam>
It looks like I'm going to have to do a complete feature freeze to instead start adding fifty gazillion #ifdef #else statements because it's apparently too goddamned hard to name the exposed functions after the goddamned standard.
11:28 * TheWatcher would vaguely suggest writing wrapper functions to try to centralise contact with opengl and abstract it away from the rest of your code, if possible
11:30
< gnolam>
Yeah. It's called GLEW.
11:31
< gnolam>
Which the system this has to work on, but I can't develop on, /doesn't have/.
11:34 Attilla [The.Attilla@FBC920.65CFFF.B7E2D0.EBD89A] has quit [Connection reset by peer]
11:34 Attilla_ [The.Attilla@FBC920.65CFFF.B7E2D0.EBD89A] has joined #code
11:37 * gnolam also stabs the lack of a comprehensive API reference.
11:48 Attilla_ is now known as Attilla
11:48 mode/#code [+o Attilla] by ChanServ
11:53
< gnolam>
NNHGHGHGHGrghl
12:13 Reivles [reaverta@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
12:13 Reivles [reaverta@ServerAdministrator.Nightstar.Net] has joined #code
12:17 Reivles [reaverta@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
12:28 Reivles [reaverta@ServerAdministrator.Nightstar.Net] has joined #code
13:12
< MyCatVerbs>
ORDER BY RAND();
13:12 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
13:13
< MyCatVerbs>
^-- is why I want to hit somebody upside the head with a spoon.
13:16
<@TheWatcher>
...
13:18
<@TheWatcher>
Obviously someone doesn't know how that works :/
14:08
< MyCatVerbs>
TheWatcher: you have indeed, in a single sentence, identified exactly the root cause of the issue.
14:09
< MyCatVerbs>
In his defence, the man who committed the atrocity is a) my boss, b) not really a programmer but does have enough common sense to c) hire programmers and d) usually listens to us, thankfully.
14:10 Pinkhair [none@Nightstar-a7d2ccfd.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
14:13
< SmithKurosaki>
o.0
14:14
< SmithKurosaki>
How does that work
14:14
< MyCatVerbs>
SmithKurosaki: order by RAND()?
14:15
< SmithKurosaki>
Yea
14:15
< MyCatVerbs>
It scans every row in the table, assigns a random integer to every each, sorts the rows by the integer that it just generated, and returns rows from the top down.
14:15
< SmithKurosaki>
That sounds not all that good
14:15
< MyCatVerbs>
Notably, the answer to "when do I want to perform a full-table sort?" is usually "never, my friend".
14:16
< SmithKurosaki>
(You sort as you insert...)
14:17
< MyCatVerbs>
Well, kinda. Indexes are b-trees. You put an index on the column-tuple that you're planning to sort on, and then traversing the database in-order of that column is quite cheap.
14:17
< MyCatVerbs>
Fortunately there's already an index on the only column that actually needs it in that table. ^^
14:17
< SmithKurosaki>
(Head not all here, words are confusing me)
14:18
< MyCatVerbs>
SmithKurosaki: The column that you plan to query from in sorted order...
14:18
< MyCatVerbs>
You put an index on that column.
14:18
< SmithKurosaki>
OK
14:18
< MyCatVerbs>
Indexes in SQL databases are a data structure called a "b-tree".
14:18
< SmithKurosaki>
Ahh, it
14:18
< SmithKurosaki>
's SQL...
14:19
< MyCatVerbs>
B-trees have two neat properties: they let you find things in them in almost-constant time...
14:19
< SmithKurosaki>
I have used databases exactly once
14:19
< SmithKurosaki>
Nice
14:19
< MyCatVerbs>
...and they let you enumerate the elements in them very, very cheaply.
14:19
< MyCatVerbs>
In order, I mean.
14:19
< MyCatVerbs>
Enumerating a b-tree's data in-order is quite cheap, though if you're unlucky with the table layout then the rows might be really fragmented. But what the Hell.
14:22 Netsplit *.net <-> *.split quits: Vornicus, Kazriko, jerith
14:26 Pinkhair [none@Nightstar-a7d2ccfd.dyn.optonline.net] has joined #code
14:27 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
14:27 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code
14:28 Netsplit *.net <-> *.split quits: Vornicus, Kazriko
14:30 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code
14:30 Vornotron [vorn@ServerAdministrator.Nightstar.Net] has joined #code
14:31 jerith [jerith@Nightstar-bf52129d.slipgate.za.net] has joined #code
15:51 Tarinaky [Tarinaky@Nightstar-f74e51b1.adsl.virginmedia.net] has quit [Ping timeout: 121 seconds]
16:04 Netsplit *.net <-> *.split quits: jerith, Kazriko, Vornotron
16:05 Netsplit over, joins: Kazriko, Vornotron, jerith
16:05 Tarinaky [Tarinaky@Nightstar-38f414ef.adsl.virginmedia.net] has joined #code
16:12 Netsplit *.net <-> *.split quits: jerith, Kazriko, Vornotron
16:14 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
16:14 jerith [jerith@Nightstar-bf52129d.slipgate.za.net] has joined #code
16:14 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code
16:18 Netsplit *.net <-> *.split quits: Vornicus, Kazriko, jerith
16:19 Vornotron [vorn@ServerAdministrator.Nightstar.Net] has joined #code
16:19 Netsplit over, joins: jerith
16:19 kaz_ [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code
16:19 jerith_ [jerith@Nightstar-bf52129d.slipgate.za.net] has joined #code
16:21 jerith [jerith@Nightstar-bf52129d.slipgate.za.net] has quit [Ping timeout: 121 seconds]
16:32 kaz_ is now known as Kazriko
17:01 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
17:13
< jerith_>
Rhamphoryncus: Thanks for the offer of the dicebot code. I'd like to take a look, but I probably won't use any of it.
17:13 jerith_ is now known as jerith
17:13
< jerith>
If anyone here has a Google Wave account and is interested, ping me -- I'm firxen@ there.
17:17 You're now known as TheWatcher[afk]
17:21
< Rhamphoryncus>
jerith: I'm sad to admit that I don't know how to do inline replies
17:21
< jerith>
ctrl+enter while editing a blip.
17:22
< Rhamphoryncus>
thanks
17:23
< jerith>
This should not be confused with the threading display in which child blips added to a nonterminal blip display indented.
17:24
< Rhamphoryncus>
right
17:25
< Rhamphoryncus>
happily, space (next unread) is working today
17:35
< Rhamphoryncus>
heh you went yellow on me. Had to reload. Yay for public betas ;)
17:35
< jerith>
"This wave is experiencing some slight turbulence, and may explode. If you don't wanna explode, please re-open the wave. Some recent changes may not be saved."
17:36
< Rhamphoryncus>
bwahaha, re-open gave me a second copy
17:36
< Rhamphoryncus>
hits browser reload again
17:38
< jerith>
It keeps the old version there read-only so you can see which changes didn't make it.
17:38
< jerith>
Pretty good, actually.
17:55
< Rhamphoryncus>
yeah, it just got stuck is all
18:11 simon` [simon@Nightstar-a12ff716.gjk.dk] has quit [Ping timeout: 121 seconds]
18:15 * jerith has to head out half an hour ago. Thanks muchly, Rhamphoryncus, and carry on throwing ideas and whatever into there. I'll look at it again when I get home in about 2.5 hours.
18:18
< Rhamphoryncus>
k, cya
18:19 simon` [simon@FEE8B2.936B30.5A6437.EA7E8B] has joined #code
19:00 You're now known as TheWatcher
19:06 Tarinaky [Tarinaky@Nightstar-38f414ef.adsl.virginmedia.net] has quit [Connection closed]
19:24 crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has quit [Ping timeout: 121 seconds]
19:40 Derakon[work] [Derakon@Nightstar-d44d635e.ucsf.edu] has joined #code
19:54 crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has joined #code
20:22 Derakon[work] [Derakon@Nightstar-d44d635e.ucsf.edu] has quit [Operation timed out]
20:50 Derakon [Derakon@Nightstar-d44d635e.ucsf.edu] has joined #code
20:50 Derakon is now known as Derakon[work]
20:58 * jerith is back.
20:59
< McMartin>
THANK GOD IT'S YOU
20:59 * McMartin explodes
20:59 * Derakon[work] gets the mop.
20:59
< McMartin>
(Wait, were they the ones who exploded or were they the ones you were trying to rescue?)
21:00
< Derakon[work]>
Error: missing required context. Please reboot universe and restart.
21:00
< McMartin>
In other news, I've just made yet another emergency patch and am likely to spend the time spent validating the patch arguing for why it should be reverted.
21:22
< McMartin>
Hooray, my coworker got a new Android phone. As a side effect, her ringtone's background music no longer sounds like SHODAN spinning up.
21:48
< Derakon[work]>
So first I tried to build OMX (the microscope program). It complained about not having wxWidgets. So I downloaded and built wxWidgets. Then OMX complained about not having OpenGL access in wx. So I enabled OpenGL in wxWidgets and rebuilt it (why it wasn't enabled from the start, I have no idea). Then it complained about not having python24_d.lib, the debug build of Python 2.4. So I downloaded Python 2.4 and built it. Then OMX built. I tri
21:48
< Derakon[work]>
ed to run it. Python threw an exception because it tried to use an invalid signal. So I applied a patch to make it only use valid signals and rebuilt it, then tried to run OMX again. It complained that it couldn't find perfectly valid Python modules.
21:48
< Derakon[work]>
That's where I am right now.
21:48
< Derakon[work]>
And I'm sick of dealing with build crap. I hate all dependencies forever. >.<
21:56
< McMartin>
wxWidgets >.<
21:57
< McMartin>
wxWidgets isn't a Widget library, it's a test suite for compiler error generators
21:57
< Derakon[work]>
I think the problem ATM is probably in the Python build, but it's hard to tell!
21:57
< McMartin>
I have literally not been able to compile so much as Hello World copy-pasted from their own docs on wx.
21:57
< Derakon[work]>
Heh.
21:57
< Derakon[work]>
I would love to replace it. Unfortunately not feasible. It has its hooks throughout the program.
21:58
< McMartin>
I've seen shipped binaries -- which only worked on Windows, the linux binaries just segfaulted immediately -- so it has to work under *some* conditions
21:58
< McMartin>
But God if I know how to set said conditions up.
22:05
< Vornotron>
"thank god it's you!" is the exploding ones.
22:06
< Vornotron>
also "kill me!", "frog blast the vent core!", and several others
22:07 Vornotron is now known as Vornicus
22:13
< McMartin>
Yeah, I knew Frog Blast &c was one.
22:26
< Vornicus>
actually TGIY is the one from M1, where the good guys said "they're everywhere!"
23:53 Derakon[work] [Derakon@Nightstar-d44d635e.ucsf.edu] has quit [[NS] Quit: Leaving]
--- Log closed Tue Nov 10 00:00:45 2009
code logs -> 2009 -> Mon, 09 Nov 2009< code.20091108.log - code.20091110.log >