code logs -> 2010 -> Fri, 29 Jan 2010< code.20100128.log - code.20100130.log >
--- Log opened Fri Jan 29 00:00:18 2010
00:15 AbuDhabi [annodomini@Nightstar-c3a802a6.adsl.tpnet.pl] has quit [[NS] Quit: Sleepy.]
01:11 Derakon[AFK] is now known as Derakon
01:12
<@McMartin>
There's nothing quite like closing "highest-priority" bugs as WONTFIX.
01:13
<@Derakon>
You heard about the system that adapts its priorities to its users?
01:13
<@McMartin>
I'm pretty sure I was the one that linked it to the channel.
01:13
<@Derakon>
If you always file tickets as high-priority, then the system internally tracks them as low-priority but tells you that it's a high-priority issue.
01:13
<@Derakon>
Ahh, well.
01:14
<@McMartin>
(In this case, it's a problem with third-party software failing to interact right with different versions of itself, and so all we can really do is release-note it)
01:14
<@McMartin>
(It *does* suck, but it's not really something we're responsible for)
01:41 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
01:59
<@Kazriko>
Vornicus, eh, it was selectable before on the auto deduction thing.
01:59
<@Kazriko>
in games that kept score, it would decrease your score slightly.
02:00
<@Kazriko>
Actually, in the very old dos versions, that option wasn't available at all.
02:00
<@Kazriko>
I haven't tried knarly hexes...
02:01
<@Kazriko>
it was released after the $80 cd I bought.
02:01
<@Vornicus>
Yeah, I can't find any auto-deduction things.
02:02
<@Kazriko>
it's still in the games I play most.
02:02 Attilla [Attilla@FBC920.DDABA2.B6DD6A.6DBD7E] has quit [Connection reset by peer]
02:02
<@Kazriko>
i guess descartes rainbow doesn't have it, but it's hard to see how auto-deductions would work there anyway.
02:03
<@Vornicus>
Right now I'm playing Gnarly Mazes; it will (at game start) auto-remove edges around 0s (but not around 1s on edges or 2s on corners) and auto-place edges between 3s.
02:03
<@Vornicus>
THough turning off error notification also means misclicking the "clear cell" button will do things wrong.
02:04
<@Vornicus>
knarly works (the pipes one) doesn't have any auto-deduction at all.
02:04
< gnolam>
CGI or servlets, that is the question.
02:08
<@Vornicus>
Also Knarly Mazes will, if you middle-click a clue that's been satisfied - a 2 with 2 walls or 2 empties already noted - it will automatically do that bit for you.
02:12
< gnolam>
... methinks this server is overloaded. /pico/ is stuttering too much to be useful. :P
02:13
<@Vornicus>
gnolam: I used to get that all the time with Nova (an ooooold server on here)
02:45 Vornicus is now known as Phas
02:48
<@Phas>
Actually I seem to recall several of the kaser games would, if you turned on all the autodeductions, practically solve themselves!
02:58 Derakon is now known as Derakon[DDR]
03:36 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
04:00 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Blargh]
04:04 Derakon[DDR] is now known as Derakon
05:54
<@Kazriko>
-_- Vorn got me hooked on knarly Hexes... Just plowed through 15 puzzles in one go.
05:56
<@Kazriko>
Enough of that, time to install the tv card.
06:05 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has quit [Connection closed]
06:12 Phas is now known as Vornicus
06:13 ErikMesoy|sleep is now known as ErikMesoy
06:19 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code
06:19 mode/#code [+o Kazriko] by Reiver
06:43 Derakon is now known as Derakon[AFK]
07:38 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection reset by peer]
07:55 ErikM [LOL@Nightstar-9e58ffe9.opera.com] has joined #code
08:16 AnnoDomini [annodomini@Nightstar-f712a48b.adsl.tpnet.pl] has joined #code
08:16 mode/#code [+o AnnoDomini] by Reiver
08:18 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
08:25 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
09:03 MyCatVerbs [mycatverbs@Nightstar-58acb782.cable.virginmedia.com] has quit [Operation timed out]
09:30 You're now known as TheWatcher
09:41 McMartin [mcmartin@Nightstar-592271c1.pltn13.sbcglobal.net] has quit [Operation timed out]
09:42 McMartin [mcmartin@Nightstar-592271c1.pltn13.sbcglobal.net] has joined #code
09:42 mode/#code [+o McMartin] by Reiver
10:02 Attilla [Attilla@FBC920.DDABA2.B6DD6A.6DBD7E] has joined #code
10:02 mode/#code [+o Attilla] by Reiver
10:05
< Namegduf>
I hate people whose concept of AI appears to be derived from Terminator and Ghost in the Shell talking.
10:05
< Namegduf>
I hate the number of these people who fancy themselves coders of some variety.
10:07
< ErikM>
+1
10:07
<@McMartin>
"Turn around, in-s-s-s-s-s-sect, and face your search results."
10:08
<@AnnoDomini>
http://cleverbot.com/ <- Better impersonating a human being through a meme database!
10:45
< Zed>
Namegduf: Artificial intelligence? you mean my old bot that would ask people what their favorite band was, then tell them that it liked them too, but that their latest album was crap?
10:45
<@AnnoDomini>
My favourite human impersonator is shadowfax.
11:19 Reiver [reaverta@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
11:20 Reiver [reaverta@ServerAdministrator.Nightstar.Net] has joined #code
11:20 mode/#code [+qo Reiver Reiver] by ChanServ
11:26
< ErikM>
Zed: That is an awesome way of impersonating intelligence. :D
11:55 Netsplit *.net <-> *.split quits: @AnnoDomini, @Kazriko
11:55 AbuDhabi [annodomini@Nightstar-f712a48b.adsl.tpnet.pl] has joined #code
11:56 Netsplit over, joins: @AnnoDomini
11:56 kaz_ [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code
11:58 AnnoDomini [annodomini@Nightstar-f712a48b.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
12:27 You're now known as TheWatcher[afk]
12:38 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
13:01
< Tarinaky>
SHODAN ftw.
14:02 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
14:12 ErikM [LOL@Nightstar-9e58ffe9.opera.com] has left #code []
15:04 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
15:49
< Tarinaky>
I'm wondering if anyone has any articles on how to handle time/turns in a roguelike.
15:50
< Tarinaky>
The Roguebasin doesn't appear to have any.
15:53
< AbuDhabi>
I think my way is neat enough.
15:54
< Tarinaky>
My main concern with your way is tie breaking - plus you need to iterate over the entire entity list every tick.
15:55
< AbuDhabi>
Tie breaking is handled in order of creature created. If I figure out how to prioritize creatures, I might change that. Iterating over everyone isn't a problem in a game that isn't realtime.
15:56
< Tarinaky>
I disagree. It's less of a problem but considering I did in one of my prototypes get a noticeable lag between turns >.>
15:56
< Tarinaky>
Which was a little annoying.
15:57
< AbuDhabi>
How many critters did you have?
15:57
< Tarinaky>
It wasn't the critters that was the problem in that case.
15:57
< AbuDhabi>
Tile?
15:57
< Tarinaky>
It was the million tiles.
15:57
< AbuDhabi>
Why would you want to iterate over tiles? Except for printing them out.
15:58
< Namegduf>
Tarinaky: J l]
15:58
< Namegduf>
...sorry, hand totally in the wrong position.
15:58
< Tarinaky>
It was a display problem. I was attempting to write -every- tile rather than just the visible ones.
15:58
< Tarinaky>
I fixed it.
15:58
< Tarinaky>
But still.
15:58
< Namegduf>
Tarinaky: Implement "begin listening" and "stop listening" actions.
15:58
< Namegduf>
So "stuff" can tune in and out of being run.
15:58
< Tarinaky>
Namegduf: I don't understand.
15:59
< Namegduf>
Tarinaky: If "I'm iterating too much and too much isn't doing anything, add the ability for things to set themselves to be run/not run on each 'tick'."
15:59 Bobsentme [Bobsentme@Nightstar-79f8b1cd.livnmi.sbcglobal.net] has joined #code
16:00
< Bobsentme>
Need help with a logic error if someone can spare a moment
16:00
< Tarinaky>
The way I was doing it was with a Queue. So I was normally only interested with the front of it.
16:00
< Tarinaky>
Well, a list actually - because I needed fast insertion.
16:00
< Tarinaky>
It was only when I needed to add actions that I'd iterate through.
16:00
< Namegduf>
Ah.
16:01
< AbuDhabi>
Bobsentme: What do you need?
16:01
< Tarinaky>
It worked but it was a little delicate.
16:01
< Tarinaky>
Since if anything got accidentally written out it'd then never acy.#
16:01
< Tarinaky>
*act
16:01
< Bobsentme>
Abudhabi: http://pastebin.starforge.co.uk/114
16:01
< Bobsentme>
For some reason, that code is completely ignoring my select fields and not feeding anything into an array.
16:03
< AbuDhabi>
Bobsentme: Can it be a problem with array access syntax?
16:03
< AbuDhabi>
I used $_foo['smth'] for access.
16:04
< Bobsentme>
I would say yes, but the new author fields work fine
16:04
< Bobsentme>
ie: If they type in new authors, the array works fine.
16:05
< Bobsentme>
This logic error has been driving me nuts for a week
16:05
< AbuDhabi>
What's the "== True" for?
16:05
< AbuDhabi>
isset() should return a true/false on its own.
16:06
< Bobsentme>
Right, but I have to verify the field exists. So if isset() returns false, I know the field won't exist.
16:06
< Bobsentme>
(remember, this thing dynamically builds the fields with javascript on the index.php page.
16:06
< AbuDhabi>
I don't quite understand.
16:06
< Bobsentme>
Ok.
16:07
< AbuDhabi>
Wouldn't just "if ((isset($_POST[($n_auth_ln)]))) { ... }" work?
16:08
< Bobsentme>
You know...it probably would
16:08
< Bobsentme>
Because....yeah. *facepalm*
16:08
< AbuDhabi>
Given that PHP is not strongly typed, it may be checking if isset() returns a string "True" or not.
16:09
< Bobsentme>
testing now
16:11
< Bobsentme>
nope, same issue. Items from select field aren't showing up.
16:12
< Bobsentme>
I'll copy and paste the code from both pages into pastebin. brb
16:14
< Bobsentme>
shit
16:14
< Bobsentme>
is there a way to erase something from pastebin?
16:14
< AbuDhabi>
Dunno.
16:14
< AbuDhabi>
Also, I'm not sure... one moment, while I check.
16:16
< AbuDhabi>
Hm. No, that's fine.
16:17
< Bobsentme>
ok, deleted the connection info. >.>
16:18 * Bobsentme is gonna smoke and think about it some more.
16:24 Netsplit *.net <-> *.split quits: kaz_
16:25 kaz__ [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code
16:25
< Bobsentme>
I threw in a foreach ($existing_author as $check) {echo "<tr><td>$check"}
16:26
< Bobsentme>
All that shows is the last author chosen from the drop down menu. So, multiple existing authors can be seletced on the first page, but only the last author ends up in the array.
16:49
< Bobsentme>
I see you're as stuck as I am. Sorry 'bout that.
16:49
< AbuDhabi>
I never did PHP work of this magnitude.
16:50
< Bobsentme>
me either. ;)
16:50
< Bobsentme>
I thought maybe a new set of eyes would go "Yeah, THERE'S your problem!" But I see it's a bit harder than that.
17:06 Netsplit *.net <-> *.split quits: kaz__
17:06 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code
17:06 mode/#code [+o Kazriko] by Reiver
17:26
< Bobsentme>
Ok, commented everything but the first for loop, so that it should cycle through every new_author_ and existing_author field, and display them.
17:27
< Bobsentme>
Problem? It still only displays the last author selected from a drop down box, instead of all authors selected from a drop down box. This is driving me insane.
17:31 * Bobsentme flails
17:31
< Bobsentme>
This lacks any and all sense. Seriously.
18:40
< Bobsentme>
bah, gotta be the javascript clonenode.
18:54 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has joined #code
19:06
< gnolam>
http://www.youtube.com/watch?v=Uh46lhHttkM <- CMI theme played by "The Metropole Orchestra"
19:09 You're now known as TheWatcher
19:52
< Bobsentme>
FRAK!!! *smacks self*
19:52
< Bobsentme>
I think I figured out why the select elements are not being passed. I think the javascript is looking for INPUT elements
19:52
< Bobsentme>
and SELECT is not an input. >.>
19:56
< Bobsentme>
Yep. Goddammit.
20:01 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
20:44 crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has joined #code
20:47 Serah [Z@Nightstar-11344bdb.customer.tele.dk] has joined #code
21:01 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
21:06
< Bobsentme>
Javascript help?
21:07
< Bobsentme>
I've got javascript functions that rename a clonedNode. Problem is, it changes the names of the cloned input fields, but not the select fields. Anyone know how to appropriately add a line that also changes the select field names? Here's the code: http://pastebin.starforge.co.uk/118
21:28
<@Vornicus>
See lines 7 through 11? duplicate those, but make it say "select" instead of "input"
21:28
<@Vornicus>
Also, fix your tabs/spaces
21:29
< Bobsentme>
Will do. Thank you very much!
21:29
< Bobsentme>
(I tried slipping in just a line here or there, but nothing worked.
21:33 * Bobsentme puts some money in the tip jar. You guys rock.
21:33
< Bobsentme>
(that worked)
21:56
<@Vornicus>
we have a tip jar? man.
21:56 MyCatVerbs [mycatverbs@Nightstar-58acb782.cable.virginmedia.com] has joined #code
21:56 mode/#code [+o MyCatVerbs] by Reiver
22:10 ErikMesoy is now known as ErikMesoy|sleep
22:14
< Bobsentme>
week old problem resolved! YAY!!!!
22:14
< Bobsentme>
(Also, for the love of god I need to learn Javascript)
22:21
<@Vornicus>
javascript is a useful language to know.
22:21
<@Vornicus>
It's also not all that hard to work with, except for, you know, fighting with teh DOM all day.
22:21 * Bobsentme nods
22:24
< celticminstrel>
The DOM is annoying.
22:30
< Alek>
bet the SUB is easy, though.
22:30
< celticminstrel>
...
22:31
< AbuDhabi>
That pun was rancid.
22:31
< Alek>
it was so easy.
22:32
< Alek>
like your mother.
22:32
< AbuDhabi>
Yo momma's so FAT she can't use Linux.
22:40
<@ToxicFrog>
ow
22:40
< celticminstrel>
Surely Linux can understand FAT?
22:58
<@ToxicFrog>
Yeah, but FAT lacks, for example, any sort of permissions model
22:58
<@ToxicFrog>
So installing linux on it is unwise.
22:59
< Namegduf>
And won't work for some purposes.
22:59
< Namegduf>
I think some important things assume a case-sensitive filesystem.
22:59
< Namegduf>
I know part of the kernel does for building if not running, for example.
23:00
<@ToxicFrog>
Oh yes, that too. Case insensitive, no permissions, coarse timestamps and no large file support.
23:00
<@ToxicFrog>
I know #2 there is a problem, and #1 and #3 seem likely to be.
23:01
< Alek>
and #4 is definitely a problem. XD
23:10 You're now known as TheWatcher[zZzZ]
23:11
< celticminstrel>
Well, yeah, you wouldn't want to actually use it for anything...
23:30 Serah [Z@Nightstar-11344bdb.customer.tele.dk] has quit [Client closed the connection]
23:33 Serah [Z@Nightstar-11344bdb.customer.tele.dk] has joined #code
23:55 AbuDhabi [annodomini@Nightstar-f712a48b.adsl.tpnet.pl] has quit [[NS] Quit: Tired.]
--- Log closed Sat Jan 30 00:00:19 2010
code logs -> 2010 -> Fri, 29 Jan 2010< code.20100128.log - code.20100130.log >