code logs -> 2011 -> Mon, 07 Mar 2011< code.20110306.log - code.20110308.log >
--- Log opened Mon Mar 07 00:00:49 2011
00:02
<@Derakon>
Reiv: a method of generating a "complete" planar graph from a set of points that maximizes the angles between edges in the graph.
00:04 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
00:11 Attilla [Some.Dude@Nightstar-92c9199f.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
00:14 Kindamoody[zZz] [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
00:15 Kindamoody[zZz] [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has joined #code
00:22 Reivles [orthia@3CF3A5.E1CD01.36D449.95F5A5] has quit [Ping timeout: 121 seconds]
00:51 Kindamoody[zZz] [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
00:57 Kindamoody[zZz] [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has joined #code
01:07 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
01:49 Reivles [orthia@3CF3A5.E1CD01.36D449.95F5A5] has joined #code
02:51 TarinakyKai [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
02:54 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Ping timeout: 121 seconds]
03:00 TarinakyKai [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed]
04:53 cpux is now known as shade_of_cpux
05:03 Reivles [orthia@3CF3A5.E1CD01.36D449.95F5A5] has quit [Ping timeout: 121 seconds]
05:04 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has quit [Ping timeout: 121 seconds]
05:09 Reivles [orthia@3CF3A5.E1CD01.36D449.95F5A5] has joined #code
05:09 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has joined #code
05:39 Kindamoody[zZz] is now known as Kindamoody
05:44 Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
05:47 Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has joined #code
05:48 Kindamoody is now known as Kindamoody|out
06:38 AnnoDomini [annodomini@Nightstar-c155cec9.adsl.tpnet.pl] has joined #code
06:38 mode/#code [+o AnnoDomini] by Reiver
06:40 Derakon is now known as Derakon[AFK]
07:04 You're now known as TheWatcher
07:47 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
08:10 You're now known as TheWatcher[afk]
08:44
< Reiv>
Derakon[AFK]: That's pretty awesome.
08:44
< Reiv>
I like the graph, though you're right that the bottom right corner flawed out slightly
08:45
<@Vornicus>
Delaunay triangulation is a method of building connections over a set of points so that it's all made of triangles and the triangles maximize the minimal angles.
08:47
< Reiv>
So a way to make really big branches.
08:47
<@Vornicus>
The best way I found of actually describing it is it's the dual of the voronoi diagram: the voronoi diagram draws polygons around each point in the set so that if you're in a particular polygon, you're closer to the corresponding point than to any other point in the set.
08:47
< Reiv>
hm
08:47
< Reiv>
Is there a picture of that?
08:48
<@Vornicus>
So then the delaunay triangulation shows, instead of the polygons themselves, what points' polygons are direct neighbors of each other.
08:48
<@Vornicus>
http://en.wikipedia.org/wiki/Voronoi_diagram
08:49
< Reiv>
... Oh, right
08:49 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
08:49
< Reiv>
The picture in this case really was worth a thousand words~
08:51
< Reiv>
Basically a diagram of "Which point is closest" as done with polygons?
08:51
<@Vornicus>
So on that picture up there, that point in the green diamond-shaped polygon, in this thing's delaunay triangulation, would be connected to the one in the pink polygon, the one in the dark blue lozenge, the one in the royal blue thing, the one in the dark grey thing, and the one in the teal thing.
08:51
<@Vornicus>
and possibly (depending on how that actualy works out in that corner there) the one in the very dark blue polygon.
08:52
<@Vornicus>
That's the voronoi diagram, yes.
08:52
<@Vornicus>
And then the delaunay triangulation is a graph that just connects neighbors in the voronoi diagram.
08:53
<@Vornicus>
http://en.wikipedia.org/wiki/File:Delaunay_Voronoi.png This image shows the voronoi diagram (in red) and the delaunay triangulation (in black) for the same set of points (in black)
08:54 Attilla [Some.Dude@Nightstar-92c9199f.cable.virginmedia.com] has joined #code
08:54 mode/#code [+o Attilla] by Reiver
08:56
< Reiv>
Aha, yes I see
08:56
<@Vornicus>
Der is using the delaunay triangulation of the points, then drawing a spanning tree on those -- which is to say that he's taking the triangulation and removing loops by deleting edges, without breaking up the graph as a whole.
08:56
< Reiv>
I had the guess right.
09:03 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
09:46 Vornicus is now known as Vornicus-Latens
09:54 You're now known as TheWatcher
10:08 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
10:55 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
11:18 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
11:36 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
11:44 AnnoDomini [annodomini@Nightstar-c155cec9.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
11:47 AnnoDomini [annodomini@Nightstar-e15417eb.adsl.tpnet.pl] has joined #code
11:47 mode/#code [+o AnnoDomini] by Reiver
12:43 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
12:59 Reivles [orthia@3CF3A5.E1CD01.36D449.95F5A5] has quit [Ping timeout: 121 seconds]
13:47 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
14:38 You're now known as TheWatcher[afk]
15:26 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [Operation timed out]
15:30 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
15:31 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [Operation timed out]
15:35 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
16:18 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
16:55 You're now known as TheWatcher
16:58 Stalker [Z@Nightstar-038973c2.generic-hostname.arrownet.dk] has joined #code
16:59 Serah [Z@Nightstar-038973c2.generic-hostname.arrownet.dk] has joined #code
17:03 Stalker [Z@Nightstar-038973c2.generic-hostname.arrownet.dk] has quit [Ping timeout: 121 seconds]
17:23 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has quit [Client closed the connection]
17:23 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has joined #code
17:50 Kindamoody|out [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
17:53 Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has joined #code
18:03 Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
18:05 Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has joined #code
18:42
< gnolam>
http://www.lysator.liu.se/~gnolam/temp/groda_ppt.png <- the best illustration I've ever seen in a serious powerpoint presentation.
18:45 fr0zen [Poison@Nightstar-bec1add2.dyn.optonline.net] has joined #code
18:47 fr0zen [Poison@Nightstar-bec1add2.dyn.optonline.net] has left #code []
18:48 * TheWatcher blinks
18:48
< TheWatcher>
Um
18:48
< TheWatcher>
What.
18:50
< Namegduf>
Doomguy got turned into a frog.
18:54
< gnolam>
Apparently, soil contamination is very saddening for frogs.
19:00
< Namegduf>
Ah.
19:17 Vornucopia [NSwebIRC@C888DE.7F9621.E9EB68.A21DC7] has joined #code
20:39 Vornucopia [NSwebIRC@C888DE.7F9621.E9EB68.A21DC7] has quit [[NS] Quit: Page closed]
20:41 SchoolPhox [NSwebIRC@FD3571.2233F7.69D3C5.A70306] has joined #code
20:43
< SchoolPhox>
So, let's say I'm using function macros. I've got two, #define ADDR(X) (*((unsigned int*)(X))), and #define TC_CCR(X) ((X) * 0x40) + 0x00)
20:44
< SchoolPhox>
Now, I need to use the second macro within the first, but when I do that, I get an error saying it expects a semicolon before the closing bracket.
20:44
< SchoolPhox>
Is the syntax wrong for the second macro?
20:45
<@McMartin>
The second macro has two opening parentheses and three closing parentheses.
20:45
< SchoolPhox>
Fffffff
20:46
< SchoolPhox>
Sorry\
20:46
< SchoolPhox>
That fixed it
20:49
< SchoolPhox>
I feel dumb, because I definitely spent over an hour reading up on pre-processor directives, trying to figure out what could possibly be wrong
20:49
<@McMartin>
ADDR is a fairly horrifying macro, that said. Are you doing embedded programming or something?
20:51
< SchoolPhox>
Yeah.
20:52
< SchoolPhox>
I actually don't know too well what it's doing
20:53
< SchoolPhox>
It's something I got from my instructor a few years ago, that I make sure I copy over.
20:53
< SchoolPhox>
pointer to a casted pointer?
20:55
<@McMartin>
It looks like you're feeding it an integer
20:55
<@McMartin>
So you're saying "I'm good for it; we need the integer at 0xA0000000, stat" or what have you
20:55
< simon_>
it's funny that it's called ADDR when what it does is a dereference.
20:56
<@McMartin>
It's BASIC's PEEK.
20:56
< SchoolPhox>
Probably because it's used to reference directly an address space
20:56
<@McMartin>
And that kind of thing being usable usually implies no virtual memory mapping and direct I/O,yeah
20:56
< SchoolPhox>
ARM processor, AT9SAM7X
20:57
< SchoolPhox>
But, gotta vanish
20:57 SchoolPhox [NSwebIRC@FD3571.2233F7.69D3C5.A70306] has quit [[NS] Quit: ]
20:59 Reivles [orthia@3CF3A5.E1CD01.36D449.95F5A5] has joined #code
21:04
<@AnnoDomini>
Using a bash script (used for launching an application), is it possible to capture the console output of said application to a file, without having to run it in terminal?
21:05
< Namegduf>
>file
21:05
< Namegduf>
Works as well in a shell script as out.
21:55 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed]
22:44 Serah [Z@Nightstar-038973c2.generic-hostname.arrownet.dk] has quit [Ping timeout: 121 seconds]
23:27 AnnoDomini [annodomini@Nightstar-e15417eb.adsl.tpnet.pl] has quit [[NS] Quit: leaving]
23:39 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
23:54 Rhamphoryncus [rhamph@C06FE3.F5723C.BE3FEB.9D4666] has joined #code
--- Log closed Tue Mar 08 00:00:50 2011
code logs -> 2011 -> Mon, 07 Mar 2011< code.20110306.log - code.20110308.log >