code logs -> 2009 -> Fri, 20 Mar 2009< code.20090319.log - code.20090321.log >
--- Log opened Fri Mar 20 00:00:39 2009
00:01 AnnoDomini [~farkoff@Nightstar-29671.neoplus.adsl.tpnet.pl] has quit [Quit: Some people have evil spirits. You, you have stupid spirits. Go see shaman. Get hole in head. Big hole. Very big. Huge!]
00:10 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Quit: <Insert Humorous and/or serious exit message here>]
00:48 Vornicus [Vornicus@Admin.Nightstar.Net] has joined #code
00:48 mode/#code [+o Vornicus] by ChanServ
01:06
< ToxicFrog>
...wow.
01:06
< ToxicFrog>
The GIMP tutorial on line-drawing is a bit of epic douchebaggery.
01:07
< McMartin>
I believe I've mentioned this several dozen times already.
01:07
<@Derakon>
Link?
01:07
< McMartin>
Still, it cannot be repeated often enough.
01:08
< ToxicFrog>
This is the first time I've seen it.
01:08 * McMartin also occasionally amplifies it to "is the paragon of everything that is malign about the open-source movement"
01:08
< McMartin>
It's particularly hilarious because it is the only drawing program in existence that does it this way.
01:08
< McMartin>
Every.
01:08
< McMartin>
Other.
01:08
< McMartin>
One.
01:08
< McMartin>
Including.
01:08
< McMartin>
Single.
01:08
< McMartin>
MS PAINT.
01:08
< McMartin>
Does it with a Line Tool.
01:08 * Derakon prods for a link.
01:09
< ToxicFrog>
Argh. Voice me?
01:09
< ToxicFrog>
I cannot be arsed to update my O:line at this hour
01:09 mode/#code [+o ToxicFrog] by Derakon
01:09
<@ToxicFrog>
http://www.gimp.org/tutorials/Straight_Line/
01:10
<@Derakon>
Danke.
01:11
<@Derakon>
Wow, that is pretty rude.
01:13
< McMartin>
Also notice that the thing it doesn't actually tell you also wasn't in the manual until like GIMP 2.3.
01:13
< McMartin>
(That being "holding shift forces straight lines")
01:14
< McMartin>
It also didn't used to actually be on the official site.
01:14
< McMartin>
What the Christ.
01:14 * McMartin gets NSIS to install printers.
01:39 Consul [~consul@Nightstar-12789.dsl.sfldmi.ameritech.net] has quit [Quit: Leaving]
03:46 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?]
04:07
< Reiver>
... doesn't shift in most other applications snap to vert/horiz/etc?
04:08
<@Derakon>
In Photoshop it locks you to 45° increments.
04:08
< Reiver>
That was the etc, yeah
04:09
< Reiver>
I've also played with ones where you could set the increment (So you could do 30deg angles etc as well, if you wanted.)
04:49
< Tarinaky>
... I can't believe that's an official manual.
04:49
< Tarinaky>
Wow. That's... I want to punch the author of that.
04:53
<@Vornicus>
Better: "Yeah, I know. Drawing a line is a pretty simple thing. So we're going to show off a bunch of other stuff to see the kind of stuff you can do while drawing a line.
05:02 Syloqs-AFH [Syloq@Admin.Nightstar.Net] has quit [Connection reset by peer]
06:35 Vornicus [Vornicus@Admin.Nightstar.Net] has quit [Quit: ]
06:36 Derakon is now known as Derakon[AFK]
06:44 macdjord|homework is now known as macdjord|bed
06:56 Consul [~consul@Nightstar-12789.dsl.sfldmi.ameritech.net] has joined #code
06:56 mode/#code [+o Consul] by ChanServ
07:11 macdjord|bed [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
07:12 macdjord [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has joined #Code
07:39 Roscoe [~glorfinst@75.128.13.ns-13104] has joined #code
07:39
< McMartin>
Now, as I was saying.
07:39
< McMartin>
He needs to code stuff in.
07:39
< McMartin>
Why does he need the full game script for this?
07:39
< McMartin>
It seems one of the following two things would work:
07:40
< McMartin>
- An interaction skeleton, to be fleshed out later.
07:40
< McMartin>
- An interaction *schema* in which any interaction could be expressed, such that the writers become, well, scripters
07:41
< Roscoe>
I ... apologize, McM. You're talking to a Humanities building chap. Could you rephrase that in Captain Dummytalk?
07:42
< McMartin>
Let's translate it to putting on a play.
07:42
< Roscoe>
okay
07:42
< McMartin>
He's the stage crew.
07:42
< McMartin>
He's saying he needs the whole script. Doesn't he really just need...
07:42
< McMartin>
- the cues
07:42
< McMartin>
or
07:42
< McMartin>
- a way of describing stage directions so that when you, er, feed it the script everything can go (the metaphor breaks down a little here)
07:43
< Roscoe>
No, I think I follow.
07:44
< McMartin>
(For an example of the first, look at the UQM script and just look at the names of the speeches instead of the speeches themselves)
07:44
< McMartin>
Now, the *writers* may champ at that first one - they have to work out the whole plot and motivations and stuff without the meat that would let them do so
07:44
< McMartin>
But I'm kind of surprised the coders would so champ
07:44
< Roscoe>
The cues are written into the scenes.
07:45
< Roscoe>
Although scenarios are getting shorter and shorter and more and more interwoven.
07:45
< Roscoe>
It's less a few long scenarios than many intertextual scenarios.
07:45
< Roscoe>
Less and less distinct events.
07:46
< McMartin>
Hrm.
07:47
< McMartin>
Yeah, that sounds like something where you'd want to sketch out placeholder lines for each scenario
07:47
< McMartin>
Then link them all up right.
07:48 AnnoDomini [~farkoff@Nightstar-29671.neoplus.adsl.tpnet.pl] has joined #Code
07:48 mode/#code [+o AnnoDomini] by ChanServ
07:48
< Roscoe>
Flyign entirely by the seat of my pants, I've decided to use the wiki to test the logics.
07:48
< Roscoe>
Make sure one thing leads to another.
07:48
< Roscoe>
Insert "if Rumiko <3 is greater than 3, then run this scenario..." and the like
07:48
< McMartin>
That's the part that will kill the coders, unless they're up to making a minilanguage for specifying the branches in the script text
07:49
< Roscoe>
The engine's just distinct events.
07:49
< Roscoe>
It tracks variables from event to event, but.
07:49
< McMartin>
Yeah, I'm thinking more "weave the links into the engine, or the event transfer, or something like that"
07:49
< Roscoe>
It's just a collection of "background, character, text, special-art".
07:49
< Roscoe>
That all interact in new and fascinating ways.
07:50 * McMartin nods
07:50
< McMartin>
I think what you need to do is call a meeting and get people to explain what they need and *why they need it*
07:50
< Roscoe>
Meeting's been held.
07:50
< McMartin>
That way partial deliverables will be possible.
07:51
< Roscoe>
If we could get them scripts for particular events, they can start.
07:51
< Roscoe>
A scenario is a series of relatively close-linked events.
07:52
< Roscoe>
I've been splitting it up into scenario = day
07:52
< Roscoe>
We have eighty days.
07:53 * McMartin nods
07:53
< McMartin>
My intuition is that the engine might stand to be just a tad more general, since it seems like the linkages between events sound like they're the kinds of things you'd want to edit
07:54
< McMartin>
But I have a bias towards that sort of design, so YMMV
07:54
< McMartin>
Anyway, that's really all I had to say
07:55 * Roscoe nods
08:51 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
09:24 Roscoe [~glorfinst@75.128.13.ns-13104] has quit [Quit: Red. Hot.]
09:38 ToxicFrog [~ToxicFrog@69.171.150.ns-11163] has quit [Operation timed out]
09:42 ToxicFrog [~ToxicFrog@69.171.150.ns-11163] has joined #code
09:42 mode/#code [+o ToxicFrog] by ChanServ
10:07 macdjord [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
10:07 macdjord [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has joined #Code
13:04 mac [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has joined #Code
13:04 macdjord [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
13:53 NSGuest-46 is now known as EvilDarkLord
14:58 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
14:58 mode/#code [+o gnolam] by ChanServ
15:03 Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code
15:04 Syloqs_AFH is now known as Syloqs-AFH
15:14 KBot [AnnoDomini@Nightstar-29152.neoplus.adsl.tpnet.pl] has joined #Code
15:15 KarmaBot [AnnoDomini@Nightstar-29671.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
15:15 AnnoDomini [~farkoff@Nightstar-29671.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
15:17 KBot is now known as KarmaBot
15:22 AnnoDomini [~farkoff@Nightstar-29152.neoplus.adsl.tpnet.pl] has joined #Code
15:22 mode/#code [+o AnnoDomini] by ChanServ
15:26 Derakon[AFK] is now known as Derakon
17:22 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code
18:07 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
18:07 mode/#code [+o Attilla] by ChanServ
18:36 mac [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
18:40 macdjord [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has joined #Code
18:53 macdjord [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
20:58 somnolence [~somnolenc@203.160.1.ns-3171] has quit [Client exited]
21:36 somnolence [~somnolenc@203.160.1.ns-3171] has joined #code
22:06 Vornicus [Vornicus@Admin.Nightstar.Net] has joined #code
22:07 mode/#code [+o Vornicus] by ChanServ
22:16 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Ping Timeout]
22:17 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
22:17 mode/#code [+o gnolam] by ChanServ
22:30
<@ToxicFrog>
Hmm.
22:30
<@ToxicFrog>
mmap(2) is returning 0xFFFFFFFF
22:31
<@Vornicus>
That doesn't sound like something it should be doing.
22:31
<@Vornicus>
Doesn't it usually give a pointer to the beginning of mapped memory?
22:31
<@ToxicFrog>
Aha
22:32
<@ToxicFrog>
On failure, it doesn't return NULL
22:32
<@ToxicFrog>
It returns MAP_FAILED, which is (void *)(-1)
22:32
<@Vornicus>
It ret... an errno.
22:34
<@ToxicFrog>
God knows why it can't return NULL like all the other memory management functions >.<
22:34
<@ToxicFrog>
Anyways, turned out I was forgetting the MAP_PRIVATE flag.
22:35
<@Derakon>
Is there more than one type of error condition?
22:35
<@ToxicFrog>
Oooh yes.
22:35
<@ToxicFrog>
But it returns MAP_FAILED for all of them, and sets errno.
22:35
<@Derakon>
Well that is silly.
22:35
<@ToxicFrog>
On success, mmap() returns a pointer to the mapped area. On error, the value MAP_FAILED (that is, (void *) -1) is
22:35
<@ToxicFrog>
returned, and errno is set appropriately. On success, munmap() returns 0, on failure -1, and errno is set (proba-
22:35
<@ToxicFrog>
bly to EINVAL).
22:36
<@ToxicFrog>
Valid errors: EACCES EAGAIN EBADF EINVAL (three times) ENFILE ENODEV ENOMEM EPERM ETXTBSY SIGSEGV SIGBUS
22:40
<@Vornicus>
I like how google understands man commands.
22:40
<@Derakon>
It doesn't understand 'man man'. :(
22:41
<@Vornicus>
flerg, no, that does not work.
23:05
<@ToxicFrog>
Linux understands man commands?
23:05
<@ToxicFrog>
Er
23:05
<@ToxicFrog>
google does?
23:05
<@ToxicFrog>
Not from here it doesn't...
23:05 * ToxicFrog shakes clock(3) until useful values come out of it
23:06
<@Vornicus>
Untill I tried man man and man 1 man I never got it to fail.
23:08
<@ToxicFrog>
I find that it tends to consistently return one of a few man page sites, but that's just because they rank highly
23:09
<@ToxicFrog>
For example, "3 man clock" and "man 3 clock" return exactly the same results, the first of which is the linux.die.net entry.
23:09
<@ToxicFrog>
"man man" doesn't work because it's optimized to just "man"
23:10
<@AnnoDomini>
!man man
23:10
< KarmaBot>
man: Same as !help.
23:18
<@ToxicFrog>
Hmm
23:19
<@ToxicFrog>
Performance testing this code on the data given is going to be tricky
23:19
<@ToxicFrog>
As even using brute force it runs faster than the clock resolution
23:43
<@Vornicus>
pff
23:50 * ToxicFrog throws away the piddling 37kb test file and stuffs a 1.6MB ebook down its throat
23:52
<@Vornicus>
What is this tool for?
--- Log closed Sat Mar 21 00:00:51 2009
code logs -> 2009 -> Fri, 20 Mar 2009< code.20090319.log - code.20090321.log >