code logs -> 2010 -> Sun, 17 Jan 2010< code.20100116.log - code.20100118.log >
--- Log opened Sun Jan 17 00:00:12 2010
00:04 * AbuDhabi just uses an array.
00:29
<@McMartin>
That should be "enum tiletype {WALL, GRASS, WATER, MAX_TILES}".
00:30
<@McMartin>
Especially since vectors, like arrays, start at 0
00:31
< AbuDhabi>
http://i49.tinypic.com/2gxlfd0.jpg <- What I've managed to accomplish, by today.
00:32
< AbuDhabi>
You are seeing King Arthur on the mystical fields of grass and floorboards.
00:32
<@McMartin>
Not bad. What are you using for your console library?
00:33
< AbuDhabi>
PDCurses.
00:36 AbuDhabi [annodomini@Nightstar-aa522706.adsl.tpnet.pl] has quit [[NS] Quit: Schlafen gehen.]
00:53 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
00:55 Syloqs_AFH is now known as Syloqs-AFH
00:59 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
01:17 Bobsentme [NSwebIRC@051596.69129A.C96753.910884] has joined #code
01:18
< Bobsentme>
checking for voice.
01:27 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
01:34 Zedidiah [zag@Nightstar-d0088b95.or.comcast.net] has quit [Ping timeout: 121 seconds]
01:40 Zedidiah [zag@Nightstar-d0088b95.or.comcast.net] has joined #code
01:50
< Bobsentme>
anyone here ever successfully moved a MS sql database to MySQL?
01:51
< Bobsentme>
Looking for the easiest / best possible way to do it.
01:51
< celticminstrel>
Note to self: never use print except for screen output.
01:52
< Bobsentme>
uh oh, what happened celtic?
01:52
< celticminstrel>
Well, I was encrypting/decrypting a file, and the decrypt worked fine, but the encrypt failed.
01:53
< celticminstrel>
I guess it's because the encrypted form doesn't qualify as text.
01:54
< Bobsentme>
interesting
01:54
< celticminstrel>
It probably has control characters in it or something.
01:56 Vornicus-Latens is now known as Vornicus
02:07 Zedidiah [zag@Nightstar-d0088b95.or.comcast.net] has quit [Ping timeout: 121 seconds]
02:25
< gnolam>
Bobsentme: I have.
02:25
< gnolam>
MySQL's own tool worked for me.
02:26
< Bobsentme>
MSSQL2MYSQL?
02:27
< Bobsentme>
Call me lazy, but 18 tables exported via CSV files doesn't sound fun / easy
02:28
< Bobsentme>
(that's the main way I've seen people doing it, and...well...yeah. Just wanna know if there's a faster way)
02:29
< gnolam>
Nah, I used the... err... <insert sounds of frenetic googling here> MySQL Migration Toolkit.
02:30
< gnolam>
Fully GUI'd.
02:30
< Bobsentme>
Ah, cool
02:30 * Bobsentme will try that at earliest opportunity.
02:35
< gnolam>
(An association I'm in needed to migrate its forum, and I ended up with the dreaded "You're a tech guy, fix this" call. Gah.)
02:41 Attilla [Attilla@FBC920.DDABA2.60661C.0EE0F8] has quit [Connection reset by peer]
02:50
< Bobsentme>
ugh
02:51
< Bobsentme>
If it makes you feel better: I've been tasked with saving a school project.
02:51
< Bobsentme>
I was told on Thursday I have 7 days to write a php form that adds records to a database. Apparently, they've been working on this project for a year, and none of the graduate students can seem to do it.
02:53
< Vornicus>
you're kidding.
02:53
< Bobsentme>
They've normalized the DB into 18 different tables, then spent months writing a query that puts it all back the way it looked in Access.
02:53
< Bobsentme>
I wish I was, Vorn.
02:54
< Vornicus>
these are grad students? Please tell me theyre not CS
02:54
< Bobsentme>
Apparently, they're "information assurance / computer information systems" graduate students.
02:54
< Vornicus>
:(
02:56 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
02:56
< Namegduf>
So no, not CS
02:56
< Bobsentme>
my own fault. Apparently I shouldn't have taken my concerns about the project to the professor in charge of the project, because he immediately tasked me with "Look, do whatever you have to do, but we HAVE to have a web form that inputs records in 7 days."
02:57 * Bobsentme should have kept his mouth shut and simply dropped from the project.
02:57
< Vornicus>
I can write a web form that inputs records in my sleep, practically.
02:57 Syloqs_AFH is now known as Syloqs-AFH
02:57
< Bobsentme>
I can't. My php skills are nominal, but I'm trying like hell.
02:58
< Bobsentme>
anyways, don't mind me. Just frustrated.
02:59
< Vornicus>
And for small stuff, php is halfway decent.
03:02
< Bobsentme>
logic question for you, then, concerning php:
03:03
< Bobsentme>
This form is supposed to accept articles that a research team finds online. Some articles have multiple authors. I have to set it up so that they can enter multiple authors, either from drop down menus or insert new authors.
03:03
< Bobsentme>
I'm not sure php is the best way to go, or if I should use javascript to unhide textfields when they click a check box to add another author. Your opinion please?
03:04
< Bobsentme>
(if that doesn't make sense, simply shake your head and call me a loon.)
03:08
< Vornicus>
Press a button to add another author; use javascript to do this. Name the various textfields for authors "author1" "author2" "author3"
03:08 * Bobsentme nods
03:14
< Bobsentme>
last question of the night, promise.
03:15
< Bobsentme>
If I'm populating multiple listboxes from the db......wait, nevermind, answered my own question.
03:16
< Bobsentme>
Just connect once, get the results, and send the results into various arrays, which will be used to populate the list boxes, instead of connecting for each list box.
03:17
< Vornicus>
Indeed
03:17
< Vornicus>
Ask all your questions of the db at the beginning of the page.
03:17
< Bobsentme>
n00b question. Should have thought that one through more before asking.
03:17
<@Derakon>
No worries.
03:24
< Bobsentme>
Now, if only I had a database to query. *shakes fist at project team*
03:25 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
03:26 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
03:54 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has quit [[NS] Quit: Leaving]
05:11 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code
05:11 mode/#code [+o Kazriko] by Reiver
05:15 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *hums* Can't stay now!]
05:23 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
05:24 Syloqs_AFH is now known as Syloqs-AFH
07:45 Derakon is now known as Derakon[AFK]
07:55 Vornicus is now known as Vornicus-Latens
07:55 * Bobsentme smacks his forehead
07:55
< Bobsentme>
Just spent 30 minutes trying to figure out why my "Submit Form" button doesn't work.
07:56
< Bobsentme>
Turns out, it's because I put type="button" instead of type="submit" in the html.
07:57
< Vornicus-Latens>
Join The Club.
07:58
< Bobsentme>
Since it's the silly mistakes club, can we have silly hats?
08:02 * Tarinaky folds a piece of paper into a hat and hands it to Bobsentme.
08:07 AnnoDomini [annodomini@Nightstar-aa522706.adsl.tpnet.pl] has joined #code
08:07 mode/#code [+o AnnoDomini] by Reiver
08:08
< Bobsentme>
Thanks Tarinaky
08:21 Zedidiah [zag@Nightstar-d0088b95.or.comcast.net] has joined #code
08:36 Tarinaky [Tarinaky@Nightstar-711a2847.adsl.virginmedia.net] has quit [[NS] Quit: Leaving]
08:54 Tarinaky [Tarinaky@Nightstar-711a2847.adsl.virginmedia.net] has joined #code
08:55 * Bobsentme really, REALLY wishes HTML did combo boxes.
08:55
< Bobsentme>
would save me quite a bit of hassle in coding.
08:58
<@AnnoDomini>
Grr.
08:58
<@AnnoDomini>
How do I copy the value of a cell in Excel, rather than the formula?
08:59 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited]
09:00
<@AnnoDomini>
Nevermind. Figured it out.
09:03
< Alek>
gah.
09:03
< Alek>
had an idea.
09:03
< Alek>
please tell me what's wrong with it.
09:03
< Alek>
<begin>
09:04
< Alek>
we have flash memory that can fit a DVD-worth of information in under a thumbnail.
09:04
< Alek>
imagine 3 additional chips on the motherboard bus.
09:04
< Alek>
Operating System, Driver Library, and Registry/Settings.
09:05
< Alek>
<to be continued>
09:05
< Bobsentme>
I'll be here.
09:06
<@AnnoDomini>
Flash memory is rather slow. Not DVD write speed slow, but slower than a hard disk. At least usually - I don't account for manufacturer/model variations.
09:07
<@AnnoDomini>
Second, you'd have to convince everyone that the current architecture is wrong.
09:07
< Alek>
yeah, yeah. would it still be slower than HD if it's on the bus directly, instead of having to access the HD each time?
09:08
<@AnnoDomini>
This might work for no-user-servicable-parts computers like Macintosh makes, since the end user is not supposed to care what happens inside.
09:08
< Alek>
anyway. maybe not flash, but some other sort of SSD.
09:08
< Alek>
the chips would probably be socketed, too. (not necessarily, but it has its own implications)
09:09
< Alek>
SSSD. -_-
09:10
< Alek>
OS. you have it right on the chip. bypass the HD access times. save energy, too. maybe even save some ram, since it's right there on the bus for access (depends on access speeds, really, and probably not for everything)
09:10
< Alek>
if it's socketed, it's just a few minutes to change, not several hours of installation.
09:11
< Bobsentme>
Pardon me if this is a dumb question, but wouldn't you run the risk of burning out the flash memory fairly quickly if you ran it that much?
09:11
< Alek>
which brings us to Settings/Registry. keeps stuff like what programs are installed, paths, names, filesystem, etc.
09:11
<@AnnoDomini>
What you are proposing is a new unified hardware/software model. Good luck convincing everyone that it's the best thing since sliced bread, that they should abandon backwards compatibility, and start producing something entirely different.
09:11
< Alek>
Bob: no, good question, yes.
09:12
< Alek>
Anno: yes, I'd thought of that. it'd be a hurdle, yes. but I'm currently still wondering if my idea is AT ALL workable.
09:12
<@AnnoDomini>
Oh, yeah. Sure.
09:12
< Bobsentme>
So long as you've got a soldering gun?
09:12
< Alek>
lol
09:12
<@AnnoDomini>
Yeah.
09:12
<@AnnoDomini>
You'd have to make your own homebrew hardware then write your own homebrew software for it.
09:12
<@AnnoDomini>
Godspeed, little buddy.
09:13
< Alek>
and driver library. keep all possible drivers for all possible equipment, do regular flash patches. >_>
09:13
< Alek>
or even replace the whole chip, for huge updates. <_<
09:15
< Bobsentme>
Right. Well, I tend to stay away from hardware updates that require a young priest and an old priest, but hey, to each their own. ;)
09:15
< Alek>
could still be backwards compatible - use the HD for current/old systems, the chips for new stuff, and in fact the old stuff could be redone to work on the chips. I'm thinking some CMOS upgrades. all the major current OSes could benefit, imho - especially if Apple and MS were in on the development.
09:15
< Alek>
lol
09:15 * Alek shrugs.
09:15
< Alek>
yes, it's ambitious. no question.
09:16
< Bobsentme>
Be pretty nice if you pulled it off, though
09:16
< Alek>
but you've got (potentially) speed savings... energy savings... I hesitate to think what else. >_>
09:17
< Alek>
if you manage to keep most of the OS chip-accessed instead of RAM-loaded, you'd have more memory to play with...
09:17
< Alek>
and I did mention the installation speed, right?
09:17
<@AnnoDomini>
I'd stay away from backwards compatibility here.
09:17 * Bobsentme nods
09:17
<@AnnoDomini>
Specifically because it would be a huge mess.
09:17
< Alek>
true that.
09:17
< Alek>
except for Linux.
09:17
< Alek>
they'd just enjoy it. <_<
09:18
<@AnnoDomini>
Instead, I'd, like make an emulator or some virtual OS software.
09:18
< Bobsentme>
They might even be able to play flash videos! *ducks*
09:18
< Alek>
yeah, lol
09:18
< Alek>
emulator sounds a maybe.
09:18
< Bobsentme>
that sounds do-able
09:19
< Alek>
in fact, a good emulator could maybe even let me play my old 286 and ][c games. XD
09:19
< Bobsentme>
hehe
09:19
< Bobsentme>
You'd have the scariest dos box around.
09:20
<@AnnoDomini>
Let us know how the Azarow Architecture works out.
09:20
< Alek>
anyway, imagine that. microsoft comes out with a new version of Windows, which you want to try. open your case, pop out the Linux chip, put in the Windows chip, and go - the settings/registry keeps track of all the equipment, drivers, paths, programs, etc.
09:20
< Alek>
and the driver library provides alternate drivers as needed. XD
09:21
< Alek>
Azarov. people always mess my name up. <_<
09:21
<@AnnoDomini>
Hey, I'm Polish. I tend to use Polish pronounciations and translits.
09:21
< Alek>
lol
09:22
< Alek>
anyway, Bob's right - flash is probably far from ideal here. <_<
09:23
< Alek>
but yanno, I'm sure if the big 5 put their heads together, they could come up with something. <_<
09:23
< Bobsentme>
I like the idea, but at this point in time, the work involved sounds, well, dangerous.
09:23
< Tarinaky>
<Bobsentme> They might even be able to play flash videos! *ducks* << Speaking as an Arch user 64bit users were always able to play flash videos. They just couldn't do it natively, they had to emulate 32bit mode which isn't that hard to do.
09:23
< Tarinaky>
*user,
09:23
< Tarinaky>
It was a little messy but it worked fine.
09:24
< Bobsentme>
hmm. Didn't know that. I thought most linux users had trouble, especially from the forums I came across trying to fix my issue.
09:24
< Tarinaky>
There was a problem with a known workaround.
09:25
< Tarinaky>
http://wiki.archlinux.org/index.php/Install_32bit_Flash_on_a_64bit_System
09:26
<@AnnoDomini>
Alek: Also, make it a 128bit or even 256bit architecture.
09:26
< Alek>
lol
09:26
< Alek>
the architecture is dependent on the motherboard and processor(s). :P
09:27
< Alek>
the way I imagine it, the chipsets should be able to handle whatever architecture they're installed in. :P
09:27
<@AnnoDomini>
Realistically, you'd have a chance to complete this design if you were very rich, or someone important in some huge computer corporation.
09:27
< Alek>
in fact, we're not that far from it right now, with the chipsets installed on your average mobo.
09:28
< Alek>
like I said, Big 5. >_>
09:28
< Bobsentme>
It would be nice to upgrade a motherboard's FSB by, say, throwing in some flash memory, but I suspect too many people would be putting 8 gig chips into their crappy gateways and then screaming about how nothing has changed.
09:28
< Alek>
Intel, AMD, MS, Apple, and Sun, collaborating. or any 2 or more of the above. :P
09:29
< Tarinaky>
Write an academic paper on it?
09:29
< Alek>
Bob: yyyyeah. I only mentioned software, not hardware. XD
09:29
< Bobsentme>
Or get rich quickly by writing a psuedo academic paper on it, and charging people just to look at it.
09:30
< Alek>
now nanobots... could restructure the PCB itself. XD
09:30
< Alek>
lol
09:30 * Bobsentme <---sick of my college charging an arm and a leg for everything. Sorry.
09:30
< Alek>
I may write that for my Masters. or Doctorate. <_<
09:30
< Alek>
now I just need to hurry up and get at least an AS. :P
09:31 * Bobsentme is finding his associates degree more helpful than the bachelors.
09:31
< Alek>
<end>
09:31
< Bobsentme>
Associates degree: "Hey, here's something to code!" "Hey, I learned a valuable skill! Thanks!"
09:32
< Bobsentme>
Bachelors: "Hey, look at this shiny!" "What's it do?" "Dunno, but isn't it cool!" "..."
09:32
< Alek>
the idea was actually inspired by thoughts of physically bypassing hardcode versus hacking softcode. XD
09:32
< Alek>
Bob: I plan on both.
09:33
< Tarinaky>
Does anyone know if there are any Flash card readers that fit into the floppy-drive bay?
09:33
<@AnnoDomini>
I think I saw a USB external floppy drive.
09:34
< Tarinaky>
That's completely the opposite of what I want.
09:34 * Bobsentme hasn't seen one that compact
09:35
<@AnnoDomini>
What, no love for the 3.5" floppy?
09:35
< Tarinaky>
I have a microsd card reader on my keyring. I can't imagine what could take up so much space as to make it unworkable.
09:35
< Tarinaky>
AnnoDomini: Precisely.
09:35
< Bobsentme>
I know this probably isn't what you want either, but I've seen USB thumb drives that read flash cards / chips
09:36
< Tarinaky>
I've got one for my phone's microSD card.
09:36
< Bobsentme>
nm then.
09:36 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
09:36
< Bobsentme>
AnonDomini: I'll see you 3.5" floppy, and raise you a bouernelli 90mb "floppy".
09:37
<@AnnoDomini>
My KarmaBot server still has a floppy drive.
09:38
< Tarinaky>
I have computers with floppy drives at home.
09:38
< Tarinaky>
It's just I don't actually have floppy-disks any more.
09:38
< Tarinaky>
>.>
09:39
< Tarinaky>
Unless you count ones that have software on them, but I wouldn't want to over-write them.
09:47 You're now known as TheWatcher
10:39
< Tarinaky>
Using ncurses and C++ is it possible to 'flush' the input buffer?
10:40
< Tarinaky>
If I accidentally press any keys in the window before I run my program they'll be read by the program when it starts.
10:40
< Tarinaky>
Which is undesirable, I only want it to use input that's generated after I start the program.
10:40
<@AnnoDomini>
Show us a printscreen of what you've accomplished so far!
10:42
<@McMartin>
Tarinaky: Isn't there some routine that will let you see if there's stuff waiting to read?
10:42
<@McMartin>
If there is, read a character and repeat until there isn't.
10:42 Tarinaky [Tarinaky@Nightstar-711a2847.adsl.virginmedia.net] has quit [Connection reset by peer]
10:43 Tarinaky [Tarinaky@Nightstar-711a2847.adsl.virginmedia.net] has joined #code
10:44
< Tarinaky>
Whoops. X died.
10:45
<@AnnoDomini>
Show us a printscreen of what you've accomplished so far!
10:45
<@TheWatcher>
IIRC, getch() is nonblocking in ncurses? IF so, why not just while(getch()); at the start?
10:45
<@TheWatcher>
(after you've called initscr() of course)
10:45
<@AnnoDomini>
I use getch() for my input (and if the user hits #, I use scanw() for the extended command).
10:46
< Tarinaky>
Uploading screenshot now.
10:46
< Tarinaky>
For some reason rxvt doesn't like me taking screenshots of it.
10:46
<@McMartin>
TW's plan sounds like a good one.
10:47
< Tarinaky>
AnnoDomini: http://tinypic.com/r/52dy83/6
10:47
< Tarinaky>
http://i45.tinypic.com/52dy83.jpg Even
10:48
<@TheWatcher>
That's where it's at, eh?
10:48
< Tarinaky>
Pretty much.
10:48
<@TheWatcher>
>.>
10:48
< Tarinaky>
The '@' character moves.
10:49
< Tarinaky>
And there're some routines for displaying messages although I'm going to end up refactoring that one later to make it more feature complete.
10:49
< Tarinaky>
I'm mid-way through getting a map working but that demo does even -less- than this one atm >.<
10:49
< Tarinaky>
TheWatcher: I'm pretty certain getch is blocking.
10:50
< Tarinaky>
I use getch() for hangpoints.
10:50
<@TheWatcher>
man 3 getch - " In no-delay mode, if no input iswaiting, the value ERR is returned. In delay mode, the program waits until the system passes text through to the program."
10:51
<@TheWatcher>
so, check your mode *shrug*
10:51
<@McMartin>
Hm, I don't have ncurses-devel installed, wtl.
10:51
<@McMartin>
Or, set it, then set it back.
10:53
<@TheWatcher>
nodelay(w, 1); while(chetch() != ERR); nodelay(w, 0); for example.
10:53
<@TheWatcher>
*getch()
10:53 * TheWatcher needs more tea, yes
10:54 Bobsentme [NSwebIRC@051596.69129A.C96753.910884] has quit [[NS] Quit: oh look, a cool php function*AHHHH! IT'S GOT ME!!!"]
10:55
< Tarinaky>
Cheers. Didn't know about nodelay.
10:55
< Tarinaky>
It makes the name of halfdelay make more sense.
11:30 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
13:01 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
13:09 Zedidiah [zag@Nightstar-d0088b95.or.comcast.net] has quit [Ping timeout: 121 seconds]
13:56
< Tarinaky>
How do I print high-half ASCII characters in ncurses?
13:59
<@TheWatcher>
Prepend the string with "weed-" and don't leave it in the buffer too long~
13:59
<@AnnoDomini>
Jah say, "Register, mon."
13:59 * AnnoDomini feels nostalgic.
14:00
<@AnnoDomini>
I remember the time when I downloaded and played Ganja Farmer on dial-up. :D
14:00
< Tarinaky>
TheWatcher: Is that a joke or is it serious?
14:00
< Tarinaky>
o.o
14:00
<@TheWatcher>
Completely a joke
14:01
<@TheWatcher>
I don't actually know how to do it.
14:01
<@TheWatcher>
"Giving wechochar() an argument with its high bit set will produce the corresponding high-half ASCII graphic "
14:04
< Tarinaky>
I'm trying to draw a building. I know these characters exist because the box(WINDOW*,int,int) function works.
14:05
< Tarinaky>
But trying to do it cell by cell? Not working.
14:10
< Tarinaky>
I tried using attron but that had no effect.
14:13
<@TheWatcher>
What happens if you use, say, wechochar(win, ACS_HLINE);?
14:14
< Tarinaky>
That works.
14:16 AbuDhabi [annodomini@Nightstar-a597d11d.adsl.tpnet.pl] has joined #code
14:17
< Tarinaky>
But if I replace waddch(FloorWindow,vectorMapData[z][y][x]); with wechochar(FloorWindow,vectorMapData[z][y][x]); it still falls over.
14:18
<@TheWatcher>
hm
14:18 AnnoDomini [annodomini@Nightstar-aa522706.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
14:23
< Tarinaky>
Curiously "'q'|A_ALTCHARSET" works fine.
14:24
< Tarinaky>
However ACS_HLINE does not.
14:24
< Tarinaky>
I say curiously because ACS_HLINE is supposed to be a macro for the above.
14:26 Zedidiah [zag@Nightstar-d0088b95.or.comcast.net] has joined #code
14:27
< AbuDhabi>
Flarghleblargh.
14:28
< AbuDhabi>
What is the syntax for filepaths in ifstream?
14:28
< AbuDhabi>
I've been trying several ways to phrase "./maps/test.map" but none of them works.
14:28 AbuDhabi [annodomini@Nightstar-a597d11d.adsl.tpnet.pl] has quit [Client closed the connection]
14:29 AnnoDomini [annodomini@Nightstar-a597d11d.adsl.tpnet.pl] has joined #code
14:29 mode/#code [+o AnnoDomini] by Reiver
14:29
<@AnnoDomini>
I've been trying several ways to phrase "./maps/test.map" but none of them works.
14:29
<@AnnoDomini>
And I really need to figure out why Ctrl+S crashes irssi.
14:29
< Namegduf>
/bind
14:30
<@AnnoDomini>
Namegduf: What?
14:30
< Namegduf>
AnnoDomini: Enter /bind, and it will tell you what you made Ctrl+S do.
14:30
<@TheWatcher>
You're doing something like 'ifstream infile; infile.open("./maps/test.map", ifstream::in);' I take it?
14:30
< Namegduf>
If it isn't in there, then irssi isn't responding to Ctrl+S
14:30
< Namegduf>
And the problem is different.
14:31
<@TheWatcher>
And ctrl+s is XOFF, so it's possible you're locking the terminal up
14:31
<@TheWatcher>
Press Ctrl+Q to send an XON
14:32
<@TheWatcher>
(XOFF turns off output on the terminal, XOF turns it on again)
14:32
<@AnnoDomini>
TheWatcher: Yeah. Except I'm sending those parameters directly to the constructor, rather than using open().
14:33
< gnolam>
AnnoDomini: Define not working.
14:34
<@AnnoDomini>
The file doesn't get open. The program happily continues.
14:34
<@TheWatcher>
Have you looked at rdstate()?
14:35
<@AnnoDomini>
No, I was just checking with is_open().
14:39
<@AnnoDomini>
Failbit is set.
14:39
<@AnnoDomini>
The others aren't set.
14:40
< gnolam>
Time to post code then.
14:41 * TheWatcher notes that at this point he'd start looking at errno >.>
14:42
<@AnnoDomini>
http://pastie.org/781829
14:45
< gnolam>
And the file exists, and in the path you're actually invoking your program?
14:45
< gnolam>
BTW, the indentation appears a bit... err... random.
14:45
<@AnnoDomini>
Yeah. I copied the bitchecking from the dox, so it's different.
14:46
<@AnnoDomini>
I think the file exists where I say it exists.
14:46
<@TheWatcher>
Tried it with an absolute path to ensure it's not a path issue?
14:46
<@AnnoDomini>
I have the exe is bin/Debug/ and there is a bin/Debug/maps/test.map
14:47
<@AnnoDomini>
I have not. Does it support spaces in paths?
14:47
<@AnnoDomini>
It fails.
14:47
<@TheWatcher>
(and yeah, about here I'd be poking strerror(errno) Yes, it's not c++, but purists can suck it until they standardise a way to get anythign remotely useful out of ifs.exceptions( std::ios::failbit ); and chums)
14:48
< Namegduf>
There are people whose approach to C++ is "all the C++ way as far as you can go"?
14:49
< Namegduf>
Man, I hope, I never, ever have to deal with their code.
14:49
<@TheWatcher>
Oh god yes -_-
14:53
<@AnnoDomini>
How do I use strerror(errno)?
14:53 * AnnoDomini tries to understand the documentation.
14:54
< Tarinaky>
AHAH! I think I've figured out why half the internet is wrong about character encodings.
14:55
< Tarinaky>
The DOS ones are different to everyone elses.
14:55
< Tarinaky>
RIght. That makes sense.
14:56
<@TheWatcher>
AD: #include <cstring> #include <cerrno> ....code... cout << strerror(errno);
14:59
<@AnnoDomini>
Okay, it's telling me there's no such file or directory.
15:02 * AnnoDomini puts test.map in the same directory as the executable, so that it really CANNOT be wrong to say "test.map".
15:03
< gnolam>
It still can, if you're invoking it from a different directory.
15:03
< gnolam>
If you're using an IDE of some kind, it's time to check your working directories.
15:04
<@AnnoDomini>
I'm using Code::Blocks.
15:05 Attilla [Attilla@FBC920.DDABA2.60661C.0EE0F8] has joined #code
15:05 mode/#code [+o Attilla] by Reiver
15:05
<@AnnoDomini>
Finally, we have lift off.
15:05
<@AnnoDomini>
I've put the file in C:\.
15:05
<@AnnoDomini>
Now it bloody loads.
15:07
<@AnnoDomini>
Say, is there a way to get the current directory in C++? Like using pwd under Linuxes?
15:10
<@TheWatcher>
direct.h should have getcwd()
15:12
<@TheWatcher>
Oh, wait, hm
15:12
< gnolam>
There's no guaranteed cross-platform way.
15:12
< gnolam>
But it's really a non-problem anyway.
15:16
<@TheWatcher>
If you include windows.h, you should bet able to call GetCurrentDirectoryA() IIRC
15:17
<@AnnoDomini>
Okay, the maximum path is 260, and when I correctly format the absolute path, it works.
15:17
<@AnnoDomini>
It doesn't work with relative paths.
15:20
<@AnnoDomini>
Uncle Google seems to indicate that I'm not starting in the exe directory, and should examine argv[0] for a path to it.
15:22
< gnolam>
[16:03] <gnolam> If you're using an IDE of some kind, it's time to check your working directories.
15:22
< gnolam>
IIRC, it's the same as the project file in C::B. But it's been a couple of years.
15:23
< gnolam>
But it's always configurable. In every IDE.
15:25
<@AnnoDomini>
Okay, but I don't want to rely on that. Who knows how that works, when you separate the program from the IDE?
15:26
< gnolam>
Then it's as simple as the directory you invoke it from. :P
15:27
<@TheWatcher>
You mean, how do you work out where your binary and data directories are when you're run normally?
15:27
< Tarinaky>
Make sure the program is always invoked from the desired cwd.
15:28
< Tarinaky>
So cd PATH_TO_DIRECTORY; run PROGRAM;
15:28
< Tarinaky>
*PATH_TO_PROGRAM
15:28
<@AnnoDomini>
argv[0] seems to have what I need.
15:28
<@AnnoDomini>
I only need to strip out the .exe name.
15:28
< gnolam>
That's not guaranteed to work.
15:28
< gnolam>
Sorry.
15:28
< Tarinaky>
gnolam: Mine or Anno's?
15:28
< gnolam>
But it's a non-issue. Listen to us. :P
15:28
< gnolam>
argv[0].
15:28
< gnolam>
It's true for some things but not others.
15:29
< Tarinaky>
gnolam: Wow. I'm surprised I got a windows question right \o/
15:29
< gnolam>
From the command line, working directory == current directory. Always.
15:29
< Tarinaky>
AnnoDomini: Remember in the good old days of dos. cd doom run DOOM?
15:30
< gnolam>
In a desktop/start menu/quick launch shortcut, you can specify a working directory explicitly.
15:30
< Tarinaky>
It only falls over when you use shortcuts.
15:33
< Tarinaky>
I think the 'proper' Windows solution is to populate the System Registry with a key containing the installation directory.
15:34
< gnolam>
... no.
15:34
< Tarinaky>
I've seen it done.
15:34
<@AnnoDomini>
Okay, I found the project option for a working directory.
15:34
< Tarinaky>
In proper commercial programs.
15:34
< Namegduf>
"I've seen it done" does not make it proper
15:35
< Tarinaky>
Like. Every damn native Windows program I know :/
15:35
< Namegduf>
You can always, if you assume OS, find your executable with the current path and args[0]
15:35
< Namegduf>
By ripping out any path component of args[0] and switching to that directory.
15:36
< Namegduf>
If relative, if it will be relative to where you are.
15:36 * Tarinaky shrugs.
15:36
< Namegduf>
I think so, anyway.
15:36
< Tarinaky>
Namegduf: I don't really care.
15:36 * Tarinaky is on Linux.
15:36
<@TheWatcher>
Yeah, and that makes it easier *cough* >.>
15:54 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
15:54
< Tarinaky>
Is it possible to call the default constructor from inside an overloaded form of it?
15:54
< Tarinaky>
So I don't have to copy+paste vast swathes of the default constructor.
15:55
< Tarinaky>
(The only difference is one needs to call a specific function at the end).
16:00
< gnolam>
No.
16:00
< Namegduf>
You can use a separate private member function called by both.
16:00
<@TheWatcher>
Tarinaky: in all honesty, it's a Bad Idea to do any real work in the constructor anyway.
16:00
< gnolam>
The correct way is to split the init stuff into different private functions.
16:00 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *whistles* Did you hear something?]
16:00
< gnolam>
... what Namegduf said.
16:03 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
16:04 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *whistles* Did you hear something?]
16:06 Namegduf [namegduf@Nightstar-7ec84b32.bath.ac.uk] has quit [[NS] Quit: leaving]
16:06 Namegduf [namegduf@Nightstar-7ec84b32.bath.ac.uk] has joined #code
16:06
<@AnnoDomini>
Doors open now. :D
16:06
<@TheWatcher>
Yay!
16:07
<@AnnoDomini>
I have a strange error with the map going blank when I try to open a door and when I try to put in an extended command, though.
16:08 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
16:09 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *whistles* Did you hear something?]
16:09 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
16:09 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *whistles* Did you hear something?]
16:10 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
16:16
< Tarinaky>
For some reason initscr isn't setting lines or cols correctly :/
16:21
<@AnnoDomini>
Closing doors works as well.
16:21
<@AnnoDomini>
I still don't know why the screen blanks when I input.
16:22 * AnnoDomini reorders main loop function, fixes blanking of the map screen, but introduces blanking of the message buffer.
16:23
<@AnnoDomini>
Now messages are only visible when I am issuing a command.
16:23
<@TheWatcher>
you've reinvented vi?~
16:25 * Tarinaky head-desks.
16:34
< Tarinaky>
TheWatcher: Heresy! vi was handed down from God and carved onto marble tablets by Moses himself!
16:34
< PinkFreud>
Tarinaky: seconded
16:34
<@TheWatcher>
Aah, that's why everything seems backwards; it was originally in hebrew!
16:34
< PinkFreud>
lol
16:35 * gnolam laughs out loud.
16:35
< Tarinaky>
I lolled.
16:36
< celticminstrel>
Hehe.
16:56
<@AnnoDomini>
I think I need to figure out how to generalize direction-handling, because I don't want to write a switch statement to parse ascii charcodes everytime I need to figure out what direction, if any, the player chose.
16:56
<@AnnoDomini>
*every time
17:13
< celticminstrel>
What do you mean?
17:14
<@AnnoDomini>
Player inputs character. Character gets switched, so that appropriate steps are taken to execute the command it represents. Functions get launched, which may demand more input. More input needs to get parsed again.
17:15
<@AnnoDomini>
Like: 'c' for closing of a door, that demands a direction before it can function.
17:16
< Namegduf>
You're reinventing NetHack?
17:16
< celticminstrel>
Write a "readDirection" function, maybe?
17:17
<@AnnoDomini>
Namegduf: I'm writing a Roguelike. Common elements are bound to happen.
17:17 Derakon[AFK] is now known as Derakon
17:18
<@Derakon>
Anno: write a bunch of functions to handle each input the player can provide, and then make a map that maps keycodes to functions.
17:18
<@Derakon>
Oh, wait, I misunderstood the question.
17:18
<@Derakon>
You want a "getDirection" function that prompts the user to pick a direction.
17:19
<@Derakon>
If I may make a suggestion: pass a function along to getDirection that can be evaluated on the adjacent tiles and returns either true or false; if there's only one adjacent tile that returns true, then getDirection returns the direction of that tile without prompting the user.
17:19
<@Derakon>
So e.g. if there's only one adjacent open door and the player presses 'c', it's obvious which door to close.
17:21 You're now known as TheWatcher[afk]
17:30 Alek [omegaboot@Nightstar-3f3964f1.emhril.sbcglobal.net] has quit [Client closed the connection]
17:38 Alek [omegaboot@A2BA3E.D9488C.D07174.2236AE] has joined #code
17:44
< Tarinaky>
AnnoDomini: I have doors opening implicitly. Just need to figure out how to code the 'o' and 'c' actions without it being too unwieldy. :x
17:56 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
18:05 * Zedidiah <3 roguelikes
18:05
<@Derakon>
map.getTile(player.loc.add(player.getDirection(hasClosedDoor)).close()
18:05
< Tarinaky>
Zedidiah: I like some. I have a dislike of Fantasy though.
18:20 You're now known as TheWatcher
18:22
<@AnnoDomini>
I like explicit door opening better. It has tactical use.
18:22
<@Derakon>
Well, when you have a choice, you still prompt the user.
18:22
<@Derakon>
But if the user says "open" and there's only one thing to open, there's no need.
18:22
<@AnnoDomini>
I was referring to Tarinaky's statement.
18:23
< Tarinaky>
AnnoDomini: I like having both.
18:23
< Tarinaky>
If I walk into something I expect there to be a context-sensitive action.
18:23
< Tarinaky>
If I walk into a friendly I'll talk, monster I'll attack, door I'll open... etc...
18:25
<@AnnoDomini>
Again, I like that being explicit. If I must imply something, I'd rather do it so that it's clear what will happen.
18:26
< Tarinaky>
I don't see that being a problem.
18:26 * Tarinaky shrugs.
18:29
<@AnnoDomini>
To each his own.
18:35
< Tarinaky>
AnnoDomini: What's your code size?
18:35
< Tarinaky>
I wanna know if I've caught up yet >.>
18:36
<@AnnoDomini>
18.5 KB.
18:36
< Tarinaky>
Of code? q.q
18:36
<@AnnoDomini>
Yes.
18:36
<@Derakon>
How many lines is that?
18:37
<@AnnoDomini>
What was the utility that counts lines in many files?
18:37 * TheWatcher eyes
18:37
<@Derakon>
wc
18:37
<@TheWatcher>
Are you two having a race or summin?
18:37
< Tarinaky>
A friendly competition.
18:38
<@TheWatcher>
Oh, fairynuff
18:40
< Tarinaky>
I have 24K.
18:42
< Tarinaky>
524 lines according to wc.
18:43
<@Derakon>
The reason to use wc instead of file size is because an empty file still takes up several kilobytes, due to block sizes on the hard drive.
18:45
<@TheWatcher>
Some day I should rework my perlstats script to be able to wrangle other languages
18:45
<@AnnoDomini>
649 according to wc.
18:48
< Tarinaky>
Does anyone know if KEY_NPAGE and KEY_PPAGE are page-up/page down?
18:52
<@TheWatcher>
yeah, they are
19:24
< Tarinaky>
...Any ideas why curses doesn't seem to be receiving my 'enter' key?
19:25
<@AnnoDomini>
Because you touch yourself at night.
19:25
< Tarinaky>
Oh. Wait. It is receiving.
19:26
< Tarinaky>
But for some reason doesn't match KEY_ENTER >.<
19:26
<@AnnoDomini>
Try KEY_RETURN?
19:27
< Tarinaky>
KEY_RETURN was not declared in this scope
19:44 Vornicus-Latens is now known as VOrnicus
19:44 VOrnicus is now known as Vornicus
19:52 * TheWatcher vaguely ponders a quick and dirty c/c++ function length function for perl
19:55
<@Derakon>
Seems like it would mostly be a matter of brace counting.
19:55
<@Derakon>
Assuming that the coder isn't doing stupid things like #define FUNCTION_START {
19:55
<@TheWatcher>
yeah, indeed.
19:58
<@TheWatcher>
Well, counting unquoted braces, anyway
19:59
<@Derakon>
Ah, yeah, good catch.
19:59
<@Derakon>
That'll make it trickier.
20:00
< Tarinaky>
Hmm. Now here's something I'm not sure how best to do.
20:00
< Tarinaky>
"Now turn '@' into a creature."
20:01
<@Derakon>
The Player class is a descendant of the Creature class, and its draw() function draws an '@'.
20:02
< Tarinaky>
Yes. It's the creature class I'm struggling on. Would I be well served setting up an array of some sort.
20:02
<@Derakon>
What would this array contain?
20:02
< Tarinaky>
An array of mobiles that is.
20:02
<@Derakon>
Ahh.
20:02
<@Derakon>
You'll need a datastructure to hold all of your active Creatures, yes.
20:03
< Vornicus>
depending on the number of critters and the complexity of interactions between them you'll probably want either a straight up vector/list or a quad/octree.
20:04
< Tarinaky>
Mind. I should probably refine the map a little.
20:04
<@Derakon>
I'd start with a list for the beginning.
20:04
< Tarinaky>
quad/octree?
20:04
<@Derakon>
A quadtree would be warranted if you ran into performance issues, but this is a roguelike.
20:04
<@Derakon>
Quadtrees and octtrees are ways of partitioning space so that objects that are physically close to each other are also close to each other in the datastructure.
20:05
< Tarinaky>
Ahh. That's neat.
20:05
<@Derakon>
And very handy for realtime games.
20:06
< gnolam>
A roguelike, however, is already space partitioned.
20:07
< Vornicus>
you may wish to keep your objects sorted by position in the array though.
20:07
< gnolam>
People often forget that the humble tilemap is an excellent partitioner. :)
20:07
<@Derakon>
That's because it only really works well when objects can't occupy multiple tiles at the same time.
20:08
< Tarinaky>
Derakon: What kind of problems do you get if they can?
20:08
< Vornicus>
One way of doing this is gnolam's idea of putting objects into arrays hooked up to individual tiles.
20:08
< gnolam>
Oh, it still works fine for that.
20:08
< Tarinaky>
I have automobiles somewhere in the long roadmap >.<
20:08
< gnolam>
Rather, it /already needs to exist/.
20:08
<@Derakon>
Tarinaky: it mostly just makes the bookkeeping really annoying and error-prone.
20:08
< gnolam>
Voxelizing an entire continous 3D world just isn't feasible.
20:09
< gnolam>
Too much overhead.
20:09
< gnolam>
But if your game is already tilemapped, you've got your partitioning structure right there.
20:09 Derakon [Derakon@Nightstar-5abd3ac9.ca.comcast.net] has left #code []
20:09 Derakon [Derakon@Nightstar-5abd3ac9.ca.comcast.net] has joined #code
20:09 mode/#code [+o Derakon] by Reiver
20:09
<@Derakon>
Whups.
20:09
<@Derakon>
That wasn't my browser.
20:09 * Vornicus patpats Der
20:09
< Tarinaky>
Well. I'm going to make dinner and think about sleeping.
20:11
< Vornicus>
There are essentially two ways to go about this: you can store mobile objects - critters, items - in a separate structure, possibly itself partitioned or sorted by position; or you can store mobile objects in arrays or lists attached to individual tiles.
20:11
< Vornicus>
I prefer the former way.
20:12
< gnolam>
In something like a roguelike, I'd prefer both.
20:12
< Tarinaky>
Yeah. Pointers can be a pain in the arse though.
20:14
< Vornicus>
both have advantages: in the first way, your search for things that need to act, and the search for things that you can see (for instance) takes as many steps as there are critters on the level; in the second way, your check for things in any individual tile takes as long as accessing that tile.
20:16
< Vornicus>
The former makes fireballs harder; the latter makes large objects harder.
20:17
< gnolam>
Which, again, is why I prefer both. A global entity list so you can easily run through each entity's update routines, and a per-tile list for collision detection, LOS checks, and - last but not least - drawing preference.
20:17
< Tarinaky>
Large objects are still screwed by having both.
20:17
< Tarinaky>
If you have 2x2 object which tile do you attach it to?
20:18
<@AnnoDomini>
ALL OF THEM.
20:18
< Vornicus>
All of them.
20:18
< Tarinaky>
Seems a little 'iffy'.
20:19
<@Derakon>
Think of the alternative.
20:19
<@Derakon>
If you attach it to only one tile, then a creature who needs to know if there's something to attack to his left must check...what?
20:19
< Tarinaky>
Considerably less iffy than the alternative.
20:19
<@Derakon>
Not just the tile to his left!
20:19
<@Derakon>
He has to check all of the tiles that could possibly hold a large creature that occupies the tile to his left.
20:19
< Tarinaky>
That being the alternative.
20:19
< Tarinaky>
:p
20:20
< Vornicus>
Large critters is I think the hardest obvious problem in roguelikes.
21:04
<@AnnoDomini>
Arghl.
21:04 * AnnoDomini is trying to read lines from a file using ifs.
21:04
<@AnnoDomini>
*ifstream
21:07
<@TheWatcher>
getline noworky?
21:07
<@AnnoDomini>
Noworky. It returns nothings.
21:09
<@AnnoDomini>
Both getlines, even. The ifstream member and the general function thingy.
21:10
<@TheWatcher>
That's.. kinda freaky
21:10
< celticminstrel>
What's in the file?
21:10
<@TheWatcher>
Although, how're you calling it?
21:10
< celticminstrel>
And that.
21:11
<@AnnoDomini>
http://pastie.org/782293
21:12
<@AnnoDomini>
The file does get opened.
21:14
<@Derakon>
Reference for getline: http://www.cplusplus.com/reference/iostream/istream/getline/
21:15
<@Derakon>
Actually, looks like you're using the string-based version here: http://www.cplusplus.com/reference/string/getline/
21:15
<@TheWatcher>
YEah, and I'm scratching my head at that, as it looks fine.
21:15
<@AnnoDomini>
Yeah. I tried the first one first.
21:16
<@Derakon>
So if you print temp, you get...?
21:16
<@AnnoDomini>
Nothing.
21:17
<@TheWatcher>
hm, wait. My irritatingplatformissues sense is tingling - are you sure you're getting nothing, and things aren't being messed up by the CRLF sequence used as newlines in windows?
21:18
<@TheWatcher>
try printing the first, say, 4 characters. Or (preferably) run the thing in a debugger and stick a breakpoint on the setName call and see what's actually in temp
21:19
<@AnnoDomini>
... That's an idea. The file was written by another function.
21:19
<@AnnoDomini>
I put endls as endline characters.
21:21
<@AnnoDomini>
Trying to get 4 first characters again yields nothing.
21:22
<@TheWatcher>
Well, blegh. See what's in errno?
21:24
<@AnnoDomini>
"No error"
21:24
<@TheWatcher>
O.o
21:25
<@AnnoDomini>
I might just have to write a custom getline using the get function, which works.
21:28
<@Derakon>
I would recommend instead figuring out why this isn't working.
21:28
<@Derakon>
The standard libraries have been very well debugged.
21:29
<@Derakon>
You should generally reconsider making your own versions of them.
21:30
< Tarinaky>
I find it amusing that Anno's program does more in fewer lines :/
21:30
<@TheWatcher>
Testing it out in a dummy here works fine, hm
21:31
<@TheWatcher>
AD: could you email me your player.sav, to chris@starforge.co.uk ?
21:31
<@AnnoDomini>
Yes.
21:32
<@AnnoDomini>
Sent.
21:32 * AnnoDomini gives this a rest for today.
21:33
< celticminstrel>
You don't need to pass ifstream::in... do you?
21:34
<@AnnoDomini>
I don't know. That's how it was in the example I copied from.
21:34
< celticminstrel>
Not if it's an ifstream. You'd need to pass that if it's just an fstream, maybe.
21:34
< celticminstrel>
But the ifstream should set that automatically.
21:34
< Alek>
"After Geometry, I was pondering the phrase, 'Sweets spoil the figure'. And imagined a square, which eats a cookie, and slooooowly turns into a trapezoid."
21:37
<@AnnoDomini>
But it becomes a trapezoid the moment it stops being a square...
21:38
<@TheWatcher>
AnnoDomini: out of curiosity, which compiler are you using?
21:38
<@AnnoDomini>
MinGW.
21:38 * TheWatcher nod
21:38
<@TheWatcher>
righto
21:39
<@AnnoDomini>
A really old one, IIRC.
21:40
< Alek>
unless it becomes a rectangle.
21:41
< Alek>
or curved.
21:41
<@AnnoDomini>
TheWatcher: http://pastie.org/782321
21:43 * AnnoDomini goes eat something.
21:50
<@TheWatcher>
AD: try sticking this in a .cpp file, compile it, and run it in the directory containing your save directory and see what happens: http://pastebin.starforge.co.uk/101
21:55
<@AnnoDomini>
"No open". I suspect it's because you removed the extra backslash.
21:55
<@AnnoDomini>
And er, removed the last one with a slash.
21:56
<@AnnoDomini>
But wait, let me fiddle with the directory settings here...
21:56
<@TheWatcher>
Yeah, I was compiling it through cygwin's g++ rather than mingw, and it cares not for backslashes in its path.
21:57
<@AnnoDomini>
Okay, it works. Prints out "King Arthu".
21:57 * TheWatcher eyebrows
21:57
<@Derakon>
What was the problem, then?
21:59
<@AnnoDomini>
I have no idea.
22:00
< gnolam>
As an aside, always use forward slashes in paths. Every version of Windows accepts them.
22:02 * TheWatcher fingertappity, hms
22:11
< Vornicus>
teeechnically you should use something like python's os.path, but...
22:25 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited]
23:15 Derakon is now known as Derakon[DDR]
23:21 AnnoDomini [annodomini@Nightstar-a597d11d.adsl.tpnet.pl] has quit [[NS] Quit: Away.]
--- Log closed Mon Jan 18 00:00:14 2010
code logs -> 2010 -> Sun, 17 Jan 2010< code.20100116.log - code.20100118.log >