code logs -> 2009 -> Sat, 14 Nov 2009< code.20091113.log - code.20091115.log >
--- Log opened Sat Nov 14 00:00:43 2009
00:02 Derakon[work] [Derakon@Nightstar-d44d635e.ucsf.edu] has quit [[NS] Quit: Leaving]
00:02
<@McMartin>
I have just convinced a co-worker to put the Unicode Snowman into one of our printer names.
00:02
<@McMartin>
It appears to work.
00:04
< Namegduf>
Haha.
00:15
< gnolam>
http://www.youtube.com/watch?v=VDanX-beShQ <- and this is why you should take care to normalize your quaternions, people.
00:16
< gnolam>
(That's my educated guess at what's going wrong at least)
00:45
<@McMartin>
;_;
00:45
<@McMartin>
This source file is over 256KB
00:58 You're now known as TheWatcher[T-2]
01:02 You're now known as TheWatcher[zZzZ]
01:52 Derakon[AFK] is now known as Derakon
02:21 Derakon is now known as Derakon[AFK]
02:51 Orthia [Orthianz@Nightstar-dc12d6b0.xnet.co.nz] has joined #code
02:52 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
03:21 Attilla [The.Attilla@FBC920.480E8C.3E679A.E258A8] has quit [Client closed the connection]
03:46 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
04:48
<@Vornicus>
Apropos of nothing: I love the poisson distribution.
05:04 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection reset by peer]
05:11 * McMartin cues the Little Mermaid sequence
05:14 * Vornicus shoots McM. Out of a cannon. Into a volcano.
05:16
<@McMartin>
If you were to take it and code a binary-tree algorithm that used them, you could even follow up with "love to hack and to chop zem in two"
05:18
<@Vornicus>
Actually I used the poisson distribution to analyze typical bin loads in a hash table.
05:34
<@McMartin>
Oh hey, Go has inheritance and dynamic casts after all.
05:35
<@McMartin>
It's kind of coy about what happens if you do what looks like multiple inheritance though.
05:43
< simon`>
class inheritance?
05:45
<@McMartin>
Effectively.
05:45
<@McMartin>
If a struct A has an anonymous field of type B, all of B's methods are bound for A, to B's field.
05:45
<@McMartin>
It's not clear here what happens if B and C are anonymous fields in A and they implement overlapping protocols.
06:14
<@Vornicus>
Whups. Did something wrong.
06:14 * Vornicus tries to figure out why this isn't working...
06:18
<@Vornicus>
...because my bisector doesn't feel like returning a value? that's strange, it says it is.
06:35 * Vornicus has misread the debugging output!
06:36
<@Vornicus>
Okay. Actual error: searching to see if something is in there should use bisect_left, not bisect_right.
06:37
<@McMartin>
(love to hack and to chop zem in two)
06:37 * Vornicus shoots McM
06:38
<@Vornicus>
out of the volcano, into the sun.
06:45 * simon` grumbles at not having a Unicode-compatible fixed-width font at 13pt.
07:09
<@Vornicus>
Error #52,359: Do try to remember to pass your return value back up the recursion.
07:19
<@Vornicus>
Error #52,360: == does not assign.
07:21
< simon`>
is it correct that converting an NFA to a DFA takes exponential time?
07:22
< simon`>
never mind, silly question.
07:25 * Vornicus manages to, finally, get around to completing his B-tree. It is amazing how uncomplicated it is; his non-self-balancing binary tree code is 86 lines long, and his b-tree code is 121 lines long.
07:28
< simon`>
what language?
07:28
<@Vornicus>
Javascript.
07:29
< simon`>
aren't there good abstract datatype libraries for JS?
07:29
<@Vornicus>
Data structures class, independent study; javascript was chosen because 1. we both know it, 2. it's not at all difficult to set up a UI for.
08:07 Derakon[AFK] is now known as Derakon
08:54 Vornicus is now known as Vornicus-Latens
08:59 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited]
09:14 You're now known as TheWatcher
09:46 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
10:24 AnnoDomini [farkoff@Nightstar-6e923c5e.adsl.tpnet.pl] has joined #code
10:24 mode/#code [+o AnnoDomini] by Reiver
10:29 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
10:39
<@AnnoDomini>
Hum.
10:39
<@AnnoDomini>
I'm wondering how to do the database for a message board.
10:40
<@AnnoDomini>
It's not a problem for basic, publicly viewable stuff - USER, POST and THREAD tables with some reliations work fine.
10:40
<@AnnoDomini>
What concerns me is private messages.
10:41
<@AnnoDomini>
I mean, the MESSAGE and USER tables would have to have a double relation.
10:41
<@AnnoDomini>
The sender and receiver. I'm not sure how to do this.
10:42
<@AnnoDomini>
I mean, I could probably just put a non-related mess_target field that would be filled with a value equal to the destined user's ID, and call it a day.
10:42
<@AnnoDomini>
But I'm wondering if there's a better way.
10:57
<@AnnoDomini>
Using double relations seems wrong for some reason, but the design program doesn't protest.
11:00
<@AnnoDomini>
http://i36.tinypic.com/25tcjyo.jpg <- Does anything about these diagrams seem wrong to you?
11:25
<@TheWatcher>
Seems pretty sensible to me
11:28
<@AnnoDomini>
I'm not certain about the relation of THREADPOST and POST. I want every post linked to exactly one thread. Will this do it?
11:29
<@TheWatcher>
Yes
11:32
<@AnnoDomini>
Cool. Thanks!
11:35 AnnoDomini [farkoff@Nightstar-6e923c5e.adsl.tpnet.pl] has quit [[NS] Quit: Need to restart.]
11:38 AnnoDomini [farkoff@Nightstar-6e923c5e.adsl.tpnet.pl] has joined #code
11:38 mode/#code [+o AnnoDomini] by Reiver
11:58
<@AnnoDomini>
Damn. There do seem to be problems.
11:58
<@AnnoDomini>
I need a clear path to follow when creating new entries - right now it seems that I must update POST and THREADPOST simultaneously.
12:03 * gnolam arghs.
12:04
< gnolam>
Something is rotten in the state of Cubemap.
12:08 Tarinaky [Tarinaky@Nightstar-5f8e4b67.adsl.virginmedia.net] has joined #code
12:28 * gnolam kicks himself.
12:31
< gnolam>
I forgot to actually /update/ the camera's direction vector. :P
12:36
<@AnnoDomini>
Damn it. I can't seem to make it look like I want it to look without also making it a one-to-many relation, which feels wrong when I don't want a post to have many threads it belongs to. I guess it wouldn't actually BREAK anything, but it feels incorrect.
12:45
<@AnnoDomini>
But the damn SQL generator is complaining at me, and failing to build the code.
12:49
<@AnnoDomini>
It seems there are bugs in the software, when overwriting existing models.
12:50
<@AnnoDomini>
Some things get left over from previous iterations.
13:06 AnnoDomini [farkoff@Nightstar-6e923c5e.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
13:07
< simon`>
is there an algorithm for minimizing a context-free grammar?
13:08
< simon`>
apparently there are some.
13:17 Orthia [Orthianz@Nightstar-dc12d6b0.xnet.co.nz] has quit [Ping timeout: 121 seconds]
13:33 AnnoDomini [farkoff@Nightstar-6e923c5e.adsl.tpnet.pl] has joined #code
13:33 mode/#code [+o AnnoDomini] by Reiver
13:36
<@AnnoDomini>
Whee.
13:36 * AnnoDomini finally finds the query that returns all posts from a thread.
13:36
<@AnnoDomini>
select thread_topic, post_time, user_display_name, post_topic, post_body from THREAD, "USER", POST, THREADPOST where THREADPOST.thread_id=4 and THREADPOST.thread_id=THREAD.thread_id and "USER".user_id=POST.user_id and POST.post_id=THREADPOST.post_id ORDER BY post_time;
13:36 Attilla [The.Attilla@FBC920.480E8C.B52869.4211C4] has joined #code
13:36 mode/#code [+o Attilla] by ChanServ
13:40
<@AnnoDomini>
http://i33.tinypic.com/2rhwboh.jpg
14:08
< SmithKurosaki>
What is that for Anno?
14:22 * TheWatcher bleeeghs at ub mapping odd shapes
14:22
<@TheWatcher>
*uv
14:24 * gnolam offers sympathies.
14:28
<@TheWatcher>
Also, it would be kinda nice if lightwave wasn't being an arse about it *stabs it*
14:35 AnnoDomini [farkoff@Nightstar-6e923c5e.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
14:41 AnnoDomini [farkoff@Nightstar-990b578a.adsl.tpnet.pl] has joined #code
14:41 mode/#code [+o AnnoDomini] by Reiver
14:42
< Alek>
Anno: nice.
15:10 * gnolam blarghs.
15:13
< gnolam>
My cube maps are mirrored (and I can't get them un-mirrored), and I've just realized that my entire approach is seriously flawed. :P
16:04 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
16:05 Syloqs_AFH is now known as Syloqs-AFH
16:45 Orthia [Orthianz@Nightstar-b4b8ca80.xnet.co.nz] has joined #code
17:01 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
17:25 You're now known as TheWatcher[afk]
18:06 crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has quit [Connection reset by peer]
18:12 crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has joined #code
18:24
< gnolam>
http://www.lysator.liu.se/~gnolam/temp/Ocean_2009-11-14_cubemap_night.avi [8 MiB XviD] <- Progress!
18:24 You're now known as TheWatcher
19:20
<@AnnoDomini>
SmithKurosaki: I'm supposed to design a message board in ASP.NET and WEB PARTS.
19:24
< gnolam>
Next assignment: smashing yourself in the groin with a hammer.
19:25
<@AnnoDomini>
Oooh. Something easy!
19:26 * Vornicus-Latens does battle with such things as operator priority
19:28 * Derakon hands Vorn some parentheses.
19:28 * Vornicus-Latens is doing battle with those, too.
19:29
<@Derakon>
Lisp?
19:29
<@Vornicus-Latens>
No, writing a calculator in javascript
19:33
< dmlandrum>
I don't know if it's possible to beat any of these. Writing a relational database in batch?
19:44
<@Vornicus-Latens>
That would be unfun.
19:46
<@McMartin>
Do we get access to awk too~
20:26 * simon` is also battling with operator precedence
20:27
< simon`>
one weekly assignment is to write a CFG for a language with four distinct orders of precedence.
20:31
< simon`>
there was a guy who wrote a pie chart viewer in SQL
20:31
< simon`>
http://code.openark.org/blog/mysql/sql-pie-chart
20:42
<@Vornicus-Latens>
That's vaguely insane
20:43
<@Vornicus-Latens>
Especially as pie charts suck
21:13 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection reset by peer]
21:17
< SmithKurosaki>
Anno: Ow
21:21 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
21:22 Syloqs_AFH is now known as Syloqs-AFH
21:25 Derakon is now known as Derakon[AFK]
21:27 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection reset by peer]
21:35 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
21:36 Syloqs_AFH is now known as Syloqs-AFH
22:43
<@AnnoDomini>
http://abstrusegoose.com/strips/computer_science_major.PNG
22:48 goldenup [sermoi2001@5E691D.A52C42.697C0D.08EA31] has joined #code
22:48 goldenup [sermoi2001@5E691D.A52C42.697C0D.08EA31] has left #code []
22:59 Orthia [Orthianz@Nightstar-b4b8ca80.xnet.co.nz] has quit [Ping timeout: 121 seconds]
--- Log closed Sun Nov 15 00:00:57 2009
code logs -> 2009 -> Sat, 14 Nov 2009< code.20091113.log - code.20091115.log >