--- Log opened Sat Jan 23 00:00:04 2010 |
--- Day changed Sat Jan 23 2010 |
00:00 | < Tarinaky> | This is causing an infinite loop. |
00:00 | <@McMartin> | is good() staying high?: |
00:02 | <@Vornicus> | Oh very strange. |
00:02 | <@Vornicus> | Wait - what kind of file is this? |
00:02 | < Tarinaky> | One written using fstream. |
00:03 | <@Vornicus> | Okay, so it's a traditional file, not something in /dev |
00:05 | <@McMartin> | Where are you checking eof()? |
00:06 | <@McMartin> | I see "while cControl != ']'", but reads from eof are supposed to just fail |
00:06 | < Tarinaky> | Oh no. That's a completely unrelated bug I fixed. |
00:06 | < Tarinaky> | (I fucked up the format of the files) |
00:07 | < Tarinaky> | http://tarinaky.pastebin.com/m79b75084 |
00:07 | < Tarinaky> | This version doesn't infinite loop. |
00:07 | < Tarinaky> | It does, however, fail to actually work... |
00:08 | < Tarinaky> | That is to say - the player's position is not persistent. |
00:08 | <@McMartin> | Are you expecting to find null bytes? |
00:08 | < Tarinaky> | I put one at the end. |
00:08 | < Tarinaky> | So I could look for it. |
00:09 | < Tarinaky> | It's working fine. |
00:09 | <@McMartin> | Style point: don't start identifiers with an underscore. |
00:09 | <@McMartin> | Underscore-prefixed names are supposed to be reserved to the compiler or runtime. |
00:09 | <@AnnoDomini> | TEN POINTS FROM GRYFFINDOR. |
00:09 | < Tarinaky> | >.> |
00:10 | < Tarinaky> | I've been using them for private members. |
00:10 | <@Vornicus> | Don't do that. |
00:11 | < Tarinaky> | Noted. |
00:11 | <@McMartin> | Put the underscore at the end if you want to use 'em. |
00:15 | | AnnoDomini [annodomini@Nightstar-3c8b7a3f.adsl.tpnet.pl] has quit [[NS] Quit: TEN POINTS FROM GRYFFINDOR \n snape.jpg \n YOUR ARGUMENT IS INVALID] |
00:15 | < celticminstrel> | Yes, underscore-prefixed names are considered reserved. |
00:16 | | You're now known as TheWatcher[T-2] |
00:16 | < celticminstrel> | I don't see why you'd want the underscore at all. |
00:19 | | You're now known as TheWatcher[zZzZ] |
00:21 | < Tarinaky> | I found it made it a lot easier to remember what was private and what wasn't. |
00:22 | < Tarinaky> | Because otherwise it's easy to forget. |
00:58 | < celticminstrel> | Not when the compiler reminds you. ;) |
01:02 | < Tarinaky> | Normally it only reminds you just at the exact moment it frustrates you. |
01:09 | <@Vornicus> | modern IDEs should generally yell at you whenever you clearly break typing. |
01:11 | < Tarinaky> | I've managed to progress as far as the GUI text editor. |
01:12 | < Tarinaky> | I still write Makefiles by hand. |
01:13 | < Tarinaky> | (I kid. The Makefile automatically generates dependencies) |
01:15 | | Attilla [Attilla@FBC920.0EA685.99523D.9E28A9] has quit [Connection reset by peer] |
01:19 | | Derakon[AFK] is now known as Derakon |
02:19 | | Derakon is now known as Derakon[AFK] |
02:22 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code |
02:36 | | Vornicus is now known as Phas |
03:51 | | Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has quit [[NS] Quit: Leaving] |
04:57 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?] |
05:14 | | Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code |
05:14 | | mode/#code [+o Kazriko] by Reiver |
05:42 | | Mango [iMango@Nightstar-ec20abc4.bchsia.telus.net] has joined #code |
05:44 | < Mango> | Hi. I write PHP for a living. I need to write a Windows program that has a system tray icon and can respond to very simple http requests. What language can/should I use to do this? |
05:51 | <@Kazriko> | Hmm. system tray... |
05:52 | <@Kazriko> | The two easiest ones to write a modern windows app in would be C# and VB.NET. I believe both have convenient ways of doing systray notification icons, and both have a fairly robust socket library. |
05:52 | <@Kazriko> | There's plenty of other ways to do it though. |
05:52 | < Mango> | Thanks. |
05:52 | < Mango> | Easy is good :) |
05:52 | <@Kazriko> | C# is better if you can handle the syntax. |
05:53 | < Mango> | I used VB about 10 years ago so that may be a place to start. |
05:53 | <@Phas> | VB.NET doesn't look like VB6. |
05:53 | < Mango> | Ah. |
05:53 | <@Kazriko> | yeah, VB.NET is a whole new beast... |
05:53 | < Mango> | Apologies for the n00b question. I take it I need to buy a compiler for C# and VB.NET? |
05:53 | <@Kazriko> | but it retains some superficial similarities at least. |
05:54 | <@Kazriko> | well, i believe you can get free ones, but they're harder to use. |
05:54 | < Mango> | so I should look for Visual C#? |
05:54 | <@Kazriko> | I used to dabble with SharpDevelop which you can download the free C# compiler for. |
05:54 | <@Kazriko> | Visual C# would be the cheapest option for C# from microsoft. |
05:54 | <@Kazriko> | Sharp develop is the cheapest overall. |
05:54 | <@Kazriko> | http://www.icsharpcode.net/OpenSource/SD/ |
05:55 | < Mango> | Oo, open source! |
05:55 | | * Mango like! |
05:56 | <@Kazriko> | You still use the microsoft made compiler, but it doesn't include the Devstudio interface. |
05:56 | <@Kazriko> | But if you have time, try that one, and if it doesn't meet your needs buy c# or Dev Studio. |
05:56 | < Mango> | Right. Thank you very much :) |
05:56 | <@Kazriko> | Visual C# is $90ish i think... Dev studio is about 10x as much. |
05:59 | < Mango> | Oi. |
06:00 | <@jerith> | Isn't there a free version of Visual Studio? |
06:00 | <@Kazriko> | Is there? I haven't looked in ages. |
06:00 | <@Kazriko> | Visual studio express? |
06:00 | <@jerith> | Yeah, that's the one. |
06:01 | <@Kazriko> | http://www.microsoft.com/express/Downloads/ |
06:01 | <@Kazriko> | I'm not sure about the limitations, but try that one too. :) |
06:02 | < Mango> | Oo, lovely :) |
06:02 | <@Kazriko> | we have dev studio 2005 at work, so I haven't looked at the options in ages. |
06:02 | < Mango> | I just use Notepad++ at the moment :P |
06:03 | <@Kazriko> | Most of my projects use Eclipse instead. (All of the C++ and Python ones.) |
06:06 | <@jerith> | http://en.wikipedia.org/wiki/Microsoft_Visual_Studio_Express |
06:06 | < Mango> | Hallo Jerith :) |
06:06 | <@jerith> | That explains the limitations of the various versions. |
06:06 | <@jerith> | Hey Mango. :-) |
06:09 | <@jerith> | http://wiki.eth-0.nl/index.php/LackRack |
06:09 | < Mango> | datacenter-in-the-living-room? |
06:09 | < Mango> | ...I want one! |
06:09 | < Mango> | "with Ethernet switch and table lamp" |
06:10 | <@jerith> | Sadly, there are no IKEAs in my country. |
06:10 | < Mango> | I drove by one yesterday. |
06:10 | <@Kazriko> | that would really suck. I'm sad enough that I have to drive 6 hours to get to one. |
06:10 | <@jerith> | I don't think there are even any on my continent. |
06:11 | <@Kazriko> | You'd need to take a plane to get to one... |
06:11 | <@jerith> | Or a boat. |
06:11 | < Mango> | "Does the LackRack provide redundant power supply?" |
06:11 | < Mango> | "Only if you add it yourself" |
06:12 | < Mango> | Jerith: I could post you a LackRack if you wish to PayPal me for it. |
06:12 | <@Kazriko> | I have an actual rack in my garage though... |
06:16 | <@jerith> | "Following ICT tradition, the Enterprise Edition is more than three times as expensive, while providing less stability than two of the regular products combined. " |
06:33 | < celticminstrel> | Eep. "Virtual memory size: 2.06 GB"? |
06:34 | < celticminstrel> | That's probably why Firefox is so slow. |
06:37 | <@jerith> | Firefox likes to eat memory. |
06:41 | < celticminstrel> | ...how is the %CPU greater than 100? |
06:41 | <@jerith> | Multicore? |
06:41 | < celticminstrel> | Yeah. |
06:41 | <@jerith> | It's using more than one CPU. |
06:47 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *hums* Can't stay now!] |
07:23 | | Phas is now known as Vornicus |
07:32 | | Searh [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
07:32 | | Netsplit *.net <-> *.split quits: @Kazriko, Serah, Zedidiah, Reiver |
07:35 | | AnnoDomini [annodomini@Nightstar-3c8b7a3f.adsl.tpnet.pl] has joined #code |
07:37 | | Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code |
07:37 | | ServerMode/#code [+o Kazriko] by *.Nightstar.Net |
07:39 | | Zedidiah [zag@Nightstar-d0088b95.or.comcast.net] has joined #code |
07:40 | | Alek [omegaboot@Nightstar-3f3964f1.emhril.sbcglobal.net] has quit [Client closed the connection] |
07:40 | | Reiver [reaverta@ServerAdministrator.Nightstar.Net] has joined #code |
07:40 | | mode/#code [+qo Reiver Reiver] by ChanServ |
07:41 | | AbuDhabi [annodomini@Nightstar-31830a38.adsl.tpnet.pl] has joined #code |
07:43 | | AnnoDomini [annodomini@Nightstar-3c8b7a3f.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds] |
07:47 | | Alek [omegaboot@Nightstar-3f3964f1.emhril.sbcglobal.net] has joined #code |
07:51 | <@Vornicus> | "Why k?" "I could have done sum(int(floogenhammer) for floogenhammer in str(smarmasaur)) and it wouldn't have made all that much difference." |
08:12 | | Vornicus is now known as Vornicus-Latens |
08:25 | | Attilla [Attilla@FBC920.0EA685.99523D.9E28A9] has joined #code |
08:25 | | mode/#code [+o Attilla] by Reiver |
09:52 | | You're now known as TheWatcher |
09:54 | | Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has left #code ["Leaving"] |
09:54 | | Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code |
09:54 | | mode/#code [+o Kazriko] by Reiver |
09:54 | <@Kazriko> | xchat puts its tab close button in the worst location... |
10:23 | | Derakon[AFK] [Derakon@Nightstar-5abd3ac9.ca.comcast.net] has quit [Ping timeout: 121 seconds] |
10:32 | | Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited] |
11:38 | | Alek [omegaboot@Nightstar-3f3964f1.emhril.sbcglobal.net] has quit [Client closed the connection] |
11:46 | | Alek [omegaboot@Nightstar-3f3964f1.emhril.sbcglobal.net] has joined #code |
11:59 | | You're now known as TheWatcher[afk] |
12:08 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed] |
12:15 | | Alek [omegaboot@Nightstar-3f3964f1.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
12:22 | | Alek [omegaboot@Nightstar-3f3964f1.emhril.sbcglobal.net] has joined #code |
13:45 | < Tarinaky> | What's the easiest way of implementing a cyclic double-linked list in C++? |
13:45 | < Tarinaky> | :x |
14:20 | <@TheWatcher[afk]> | Well, you could use boost::circular_buffer |
14:20 | | * Tarinaky is currently knee deep in writing a new template :/ |
14:20 | | You're now known as TheWatcher |
14:21 | <@TheWatcher> | That works too |
14:22 | <@TheWatcher> | One of my problems with using boost is that several of its classes seem to suffer from Java Standard Library Syndrome |
14:22 | < Tarinaky> | What's that? |
14:23 | <@TheWatcher> | Vast overcomplication for 90% of situations. |
14:23 | <@TheWatcher> | If not 99% |
14:23 | < Tarinaky> | I've not written a template in an age so I'd really appreciate someone having a look at it once I've done it. |
14:25 | <@TheWatcher> | In general, I find that in the time it takes me to find a class to do what I want, and understand the (usually crap) documentation for it, I can have written my own. |
14:30 | | * TheWatcher wanders off to do woodworking stuff |
14:30 | | You're now known as TheWatcher[afkish] |
14:35 | < Tarinaky> | Does defining operator*() automatically define '->'? |
14:35 | < AbuDhabi> | TheWatcher[afkish]: Are you making a magic wand? |
14:35 | < AbuDhabi> | TheWatcher[afkish]: I wouldn't think so. |
14:36 | < AbuDhabi> | Errr. |
14:36 | < AbuDhabi> | Tarinaky: I wouldn't think so. |
14:46 | | Alek [omegaboot@Nightstar-3f3964f1.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
14:50 | < Tarinaky> | "cyclic_list.hpp:12: error: expected template-name before < token" for line: "public iterator<bidirectional_iterator_tag, cyclic_list_node<TYPE> > {" |
14:51 | | Alek [omegaboot@Nightstar-b737e0df.emhril.sbcglobal.net] has joined #code |
15:00 | | Searh [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds] |
15:06 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code |
15:08 | < Tarinaky> | Got it! |
15:09 | < Tarinaky> | It's been a -long- time since I wrote a template and I'd really appreciate someone having a look over this to tell me it's correct: http://tarinaky.pastebin.com/m65c86bda |
15:18 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code |
16:06 | | Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code |
16:07 | | * gnolam ponders revision control. |
16:08 | < Tarinaky> | I quite like git. |
16:09 | < gnolam> | Poor Windows support, so it's out. |
16:15 | < gnolam> | So I'm pretty much just trying to choose between giving mercurial a go or putting up my own SVN server. |
16:43 | < Tarinaky> | gnolam: How're you with iterators? :x |
16:43 | | Mango [iMango@Nightstar-ec20abc4.bchsia.telus.net] has left #code [] |
16:43 | < Tarinaky> | http://tarinaky.pastebin.com/m1407e289 << This function segfaults for me when Wait != 0. |
16:43 | < Tarinaky> | I don't entirely understand why. |
16:43 | < Tarinaky> | I thought it was legal :/ |
16:47 | < gnolam> | From a cursory glance, I'm guessing you're running past the end of your list. |
16:47 | < Tarinaky> | itStop is end(). |
16:47 | < Tarinaky> | So the while loop -should- drop :/ |
16:47 | < Tarinaky> | *drop out |
16:47 | < gnolam> | First off, the code is horribly convoluted. :P |
16:48 | < Tarinaky> | This is something we know. |
16:48 | < gnolam> | Second, it could equal itStop at line 18. |
16:49 | < gnolam> | Unless there are constraints not shown in that code. |
16:51 | < Tarinaky> | Good point. |
16:51 | | * Tarinaky fixes that. |
16:53 | < Tarinaky> | ... mList.size() is throwing an error o.O? |
16:53 | < Tarinaky> | mList being an stl:list. |
16:53 | < Tarinaky> | *std |
17:00 | <@Kazriko> | gnolam, I haven't tried Mercurial yet. Is it any good? I run several svn servers myself. |
17:18 | | You're now known as TheWatcher[afk] |
17:29 | | * Tarinaky grumbles. |
17:29 | < Tarinaky> | Time management evades me :/ |
17:32 | | * Tarinaky pokes AbuDhabi. |
18:12 | | Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code |
18:18 | < gnolam> | Kazriko: that I do not know. :) |
18:21 | < gnolam> | Haven't tried it myself yet. |
18:35 | < AbuDhabi> | Short have I slept, dreams of code. |
18:38 | < celticminstrel> | ...what? Why would size() throw an error? |
18:40 | <@Vornicus-Latens> | what is the error. |
18:40 | | Vornicus-Latens is now known as Vornicus |
18:42 | < AbuDhabi> | Error code: OMGWTFBBQ. |
18:46 | < SmithKurosaki> | really? |
18:47 | < celticminstrel> | Ask Tarinaky. |
18:47 | < Tarinaky> | I reverted my code and started again. |
18:47 | < Tarinaky> | Much better. |
18:48 | < Tarinaky> | This does, however, mean I lost the code in question. |
18:56 | < AbuDhabi> | Tarinaky: What did you want of me? |
18:56 | < Tarinaky> | Nothing. I'm fine now. |
18:56 | < Tarinaky> | I wanted to know how you were doing turns though. |
18:56 | < Tarinaky> | In your rl. |
18:57 | < Alek> | hm. |
18:57 | < Alek> | I need to install Visual Studio. |
18:57 | < Alek> | question: which edition? |
18:59 | < AbuDhabi> | Tarinaky: I count time by ticks++ every main loop iteration. Creatures have nextAction and speed members. When ticks == nextAction, they can do something and add their speed to their nextAction to determine when they act again. |
19:00 | < Alek> | I had a couple different editions here, where are they... |
19:02 | < Alek> | bah, missing. |
19:02 | < Alek> | should download new. |
19:05 | < Tarinaky> | I see. |
19:05 | | Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds] |
19:05 | < Tarinaky> | I have a list which I insert the keys of mobiles in the order they need to act. |
19:06 | < Tarinaky> | Padded by 'NOP' keys to represent an unused tick. |
19:07 | | Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code |
19:29 | < AbuDhabi> | Hm. |
19:30 | < AbuDhabi> | If I had a separate container for stuff like AI, special abilities, and stuff like that there, I could pretty much not bother with classes other than Creature. |
19:31 | < AbuDhabi> | Just load up a specific creature from a data file, where the specific components of behaviour and properties would be specified. |
19:33 | < AbuDhabi> | I'm thinking of three move AIs - a very stupid one that I use for zombies right now (goes in general direction of player, gets stuck on corners), a smart one (go to last known location, checking for LOS all the time), and a prescient one (always path the best route to the target). |
19:36 | < Alek> | oh, here it is. |
19:37 | < Alek> | I have Visual Studio 2005 pro, 2008 pro, and 2008 express |
19:37 | < Alek> | AD: sounds good. |
19:37 | < Tarinaky> | gcc |
19:37 | < Alek> | Taki: no. not now. |
19:38 | < Alek> | sadly, I'm out of practice with commandline and linux. |
19:38 | < Alek> | don't have a linux box handy. |
19:38 | < celticminstrel> | cygwin? mingw? |
19:38 | | * gnolam slaps celticminstrel for even suggesting cygwin. |
19:38 | < Alek> | no. |
19:38 | < gnolam> | And MinGW has been pretty much left to bit rot. |
19:39 | < Alek> | I need code practice first and foremost, THEN I can go back to commandline. |
19:39 | < celticminstrel> | Dev C++? |
19:39 | < gnolam> | If you're on Windows, go Visual Studio. It's that simple. |
19:39 | | * gnolam slaps celticminstrel again, HARD. |
19:39 | < Alek> | I'm on win, yes. |
19:39 | < gnolam> | Goddamnit. |
19:39 | | * celticminstrel stabs Gnolam. |
19:39 | < Alek> | and I'm asking which version I should use - 05 pro, 08 pro, or 08 express? |
19:39 | < gnolam> | Dev-C++ is just (an outdated version of) MinGW + a horrible, buggy IDE. |
19:39 | < Alek> | I picked them up for free from MS. XD |
19:39 | < celticminstrel> | But it's free. |
19:39 | < Alek> | student discount ftw. |
19:39 | < gnolam> | It's free, but it's crap. |
19:39 | < Alek> | have disc, will travel. |
19:40 | < celticminstrel> | It works, doesn't it? |
19:40 | < gnolam> | Not really. |
19:40 | < celticminstrel> | Or there's Code::Blocks. |
19:40 | < gnolam> | Code::Blocks exists, and is actually /good/. |
19:40 | < gnolam> | But the main reason to go Visual Studio is the debugger. |
19:40 | < gnolam> | No free tool even comes close to it. |
19:40 | < celticminstrel> | Yes, it had a good debugger when I used it (VS6 I think). |
19:40 | < gnolam> | Alek: 08 Pro. |
19:41 | | * Alek nods. |
19:41 | < gnolam> | There's no real reason to use the older ones unless you have some sort of legacy project. |
19:41 | < Alek> | I used to try code::blocks back around 02 or so. it was pretty good. >_> |
19:41 | < Alek> | lol legacy. |
19:42 | < Alek> | I was trained on 05, actually. back in 08. :P |
19:42 | < gnolam> | (I'm using Visual Studio 2005 because, at least back when we started, getting Source SDK to work with 2008 was a PITA) |
19:42 | < celticminstrel> | I only used it when I took programming in high school. |
19:42 | < Alek> | school was still using 05. |
19:42 | < AbuDhabi> | I tend to install the exact same version the Uni computers use. |
19:42 | < celticminstrel> | Now I use XCode or Eclipse. |
19:42 | < Alek> | but they gave us a chance to download all of them for ourselves. |
19:42 | < Alek> | so I did. XD |
19:42 | < celticminstrel> | Or the command line for simple programs. |
19:42 | < Alek> | hmmm... Source SDK. |
19:42 | < Alek> | I'd need a better PC to do that. |
19:43 | < Alek> | but I only need simple code for now. <_< |
19:43 | < Alek> | ok, thanks. |
20:09 | < gnolam> | With the Express editions nowadays, there's no reason not to use Visual Studio if you're running Windows. |
20:09 | < gnolam> | It's worth it just for the debugger. |
20:18 | < Tarinaky> | \o/ I'm caught up! |
20:19 | < Tarinaky> | I've been working 7 hours straight but I've finally caught up with Anno again! |
20:19 | < Tarinaky> | >.< |
20:19 | | * Tarinaky cries. |
20:22 | < AbuDhabi> | Good for you. |
20:24 | < AbuDhabi> | I'm pretty much done with step 7, though. Now thinking about how to handle 8. |
20:24 | < Tarinaky> | q.q Damnit. |
20:24 | < AbuDhabi> | I have a pretty good time system, a simple bump/attack mechanic, crude pathfinding and creature allegiance. |
20:26 | < AbuDhabi> | Zombies no longer attack each other, because they're both AFFIL_ENEMY1. If they had AFFIL_BERSERKER, they'd attack each other... I should have named that 'AFFIL_KHARN'. |
20:27 | < AbuDhabi> | s/both/all |
20:29 | < Tarinaky> | Personally I think that should be a bit-wise flag. |
20:29 | < Tarinaky> | AFFIL_ENEMY1 | BETRAYER |
20:29 | < Tarinaky> | :x |
20:29 | <@TheWatcher[afk]> | gnolam: i stil prefer to use cygwin's version of ddd+gdb for debugging |
20:30 | < Tarinaky> | I've never used anything other than gdb. |
20:30 | <@TheWatcher[afk]> | ddd has some nice visualisation facilities |
20:53 | < Tarinaky> | Heh. Earlier this afternoon I was depressed nobody wanted to go out with me. |
20:54 | < Tarinaky> | So I cried into my IDE q.q |
20:56 | < AbuDhabi> | I took a nap and dreamt of coding my Roguelike. |
20:57 | < Tarinaky> | I think we need help :/ |
20:58 | < AbuDhabi> | What? I think the dream was awesome. |
20:59 | < AbuDhabi> | Pity I don't remember what work I did, so I have to think progress up the normal way. |
20:59 | < Tarinaky> | Heh. AbuDhabi is taken by a fey mood. |
21:00 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
21:01 | | * AbuDhabi screams: "I NEED DATAFILES!" |
21:01 | | * AbuDhabi screams: "I NEED AI!" |
21:01 | | * AbuDhabi screams: "I NEED METAL BARS!" |
21:04 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
21:04 | | mode/#code [+o Vornicus] by Reiver |
21:17 | | * Alek hits AD over the head with a metal bar. |
21:17 | < Alek> | speaking of AI, hi Vorn. |
21:17 | | * AbuDhabi cancels Programming: Went insane. |
21:19 | < Alek> | hm. |
21:19 | < Alek> | which language should I start with? |
21:19 | < Alek> | C, C++, Java, Perl? |
21:19 | < Alek> | those are the ones I have books for. |
21:21 | < AbuDhabi> | C. |
21:21 | < AbuDhabi> | Write a game in it. |
21:22 | < Alek> | c++ it is. I'm furthest in that, it'll just be refresher for a while. |
21:22 | < AbuDhabi> | No, no. C! |
21:22 | < Alek> | plus, it's the book I found first. >_> |
21:22 | < AbuDhabi> | Not C++. |
21:22 | < Alek> | well... are you sure? <_< |
21:22 | < Alek> | what game would I write? >_> |
21:22 | < Alek> | Life? :P |
21:23 | < gnolam> | Alek: First off, how much programming experience do you have? |
21:23 | < AbuDhabi> | Tetris, Snake, Arkanoid... |
21:24 | < Tarinaky> | Alek: Join me and AbuDhabi. We're both making Roguelikes in C++. |
21:24 | < Alek> | a little C++, a little BASIC, a little COBOL, and middle static XHTML |
21:24 | < Alek> | hrm. that's a thought, it is. |
21:25 | < Alek> | mostly training in C++ and COBOL, a lot of hands-on scripting in BASIC, and full training including hands-on experience in XHTML. |
21:25 | < AbuDhabi> | Alek: Here is your scripture, the Holy Guide: http://roguebasin.roguelikedevelopment.org/index.php?title=How_to_Write_a_Roguel ike_in_15_Steps |
21:25 | < Alek> | lol |
21:25 | < Alek> | Sorry! This site is experiencing technical difficulties. |
21:25 | < Alek> | too many people on. :P |
21:26 | < AbuDhabi> | Try Google Cache. |
21:26 | < AbuDhabi> | http://209.85.129.132/search?q=cache:Hxoik3OIYNcJ:roguebasin.roguelikedevelopmen t.org/index.php%3Ftitle%3DHow_to_Write_a_Roguelike_in_15_Steps+http://roguebasin .roguelikedevelopment.org/index.php%3Ftitle%3DHow_to_Write_a_Roguelike_in_15_Ste ps&cd=1&hl=en&ct=clnk&client=opera |
21:27 | < Alek> | err, I'm not on opera. <_< |
21:27 | < Alek> | but I got it. XD |
21:28 | | You're now known as TheWatcher |
21:30 | < Alek> | I'll get back to it... I need a COMPLETE coding refresher first. -_- |
21:31 | < AbuDhabi> | Write Tetris. |
21:37 | < Alek> | Step 1: Install Visual Studio. XD |
21:37 | < AbuDhabi> | Fuck that. Install MinGW+Code::Blocks. |
21:41 | < Alek> | shaddup. |
21:41 | < Alek> | 1: the book is geared towards VS. |
21:41 | < Alek> | 2: I have it already, on disc, and it's being installed. |
21:41 | < AbuDhabi> | Okay, install only MinGW, then compile using batch files. |
21:42 | < Alek> | srsly. |
21:42 | < Alek> | why |
21:42 | < AbuDhabi> | Because if I could write Snake with just that, so can you. |
21:43 | < Alek> | like I said, I need a refresher first. -_- |
21:43 | < AbuDhabi> | I seem to remember you getting 30/30 on the Mensa online preliminary test to my 20/30. |
21:43 | < Alek> | I don't remember this test. |
21:43 | < Alek> | when was this? |
21:43 | < AbuDhabi> | A long time ago. You were Aleph-Beth or something then, right? |
21:44 | < Alek> | and once I get refreshed and get some experience, sure, I can work with other compilers. |
21:44 | < Alek> | that was a long time ago. 2 or 3 years. |
21:44 | < Alek> | ¬_¬ |
21:44 | < Alek> | but I still don't remember this test. |
21:44 | < AbuDhabi> | I'll grep my logs and get back to you. |
21:44 | < Alek> | but srsly, what's wrong with VS? |
21:45 | < AbuDhabi> | Microsoft. |
21:45 | < AbuDhabi> | Also, it integrates with the system. |
21:45 | < Alek> | also, 2-3 years ago is when I took the class. and couldn't finish. |
21:45 | < AbuDhabi> | Which is BAD. |
21:45 | < Alek> | but the debugger is good. |
21:45 | < Alek> | like gnolam said. |
21:45 | | * AbuDhabi doesn't use debuggers. |
21:45 | < Alek> | bah. |
21:46 | < Alek> | it's got all the libraries, it has a handy project management set, it has DOCUMENTATION... |
21:47 | < Alek> | and I think gnolam mentioned it works with Source SDK. XD |
21:47 | < Alek> | speaking of Source, I wonder what happened to the Black Mesa Source project. :( |
21:48 | < Alek> | also, VS supports a range of programming languages, not just C++. |
21:48 | < Alek> | I need to learn others, too. |
21:48 | < Alek> | Java, Python, Perl, Ajax, just for starters. |
21:48 | < gnolam> | AbuDhabi: I take it you never ever have to touch anybody else's code then. |
21:48 | < Alek> | plain C too. |
21:50 | < Alek> | or I could dig out my LTPBasic and just get to the games. XD |
21:50 | < Alek> | in a proprietary language. -_- |
21:54 | < Tarinaky> | Debuggers are gooood. Many a night has been spent staring at gdb tracking down bizarre segfaults. |
21:54 | < Tarinaky> | >> |
21:54 | < Tarinaky> | *>.> |
22:00 | < Tarinaky> | On that note: BLAGHASSHA! 'Look' is bloody hard :/ |
22:07 | | * celticminstrel hits Alek over the head with a metal bar for implicating that XHTML is a programming language. |
22:07 | < celticminstrel> | Also, most IDEs support several programming languages. VS is not unique in that respect. |
22:08 | < Tarinaky> | "I know C, C++, a little Pascal, a little python, a little lua, HTML, CSS and LaTeX" |
22:08 | | * Tarinaky ducks. |
22:09 | | MyCatVerbs [mycatverbs@Nightstar-7fff4244.bb.sky.com] has joined #code |
22:09 | | mode/#code [+o MyCatVerbs] by Reiver |
22:09 | < AbuDhabi> | gnolam: Well, no. |
22:09 | | * celticminstrel swings, but misses. |
22:09 | < celticminstrel> | Hey! You're not supposed to duck! :P |
22:09 | < celticminstrel> | Anyway, HTML, XML, CSS, LaTeX, etc... they're not programming languages. |
22:10 | | * TheWatcher idly drops a 16 ton weight on Tarinaky |
22:10 | < Tarinaky> | celticminstrel: I know. I just wanted to annoy you. |
22:10 | <@Vornicus> | LaTeX is actually pretty programming languagey. |
22:11 | < Tarinaky> | You can program macros and stuff. |
22:11 | < celticminstrel> | I thought it was a markup language, like HTML, but I don't really know that much about it. |
22:11 | < Tarinaky> | And DHTML has Javascript which is a scripting language. |
22:11 | < celticminstrel> | Javascript is a scripting language, yes. But HTML is not. |
22:12 | < Tarinaky> | It's a typesetting language. A very over-engineered typesetting language. |
22:12 | | MyCatVerbs [mycatverbs@Nightstar-7fff4244.bb.sky.com] has quit [Client closed the connection] |
22:16 | | Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds] |
22:18 | | MyCatVerbs [mycatverbs@Nightstar-7fff4244.bb.sky.com] has joined #code |
22:18 | | mode/#code [+o MyCatVerbs] by Reiver |
22:26 | < AbuDhabi> | Alek: http://pastie.org/791653 |
22:26 | < AbuDhabi> | It was almost four years ago. |
22:29 | < AbuDhabi> | This shows that while less intelligent, I do have better memory than you do. >:D |
22:30 | | Chi [omegaboot@Nightstar-3ffc02c7.emhril.sbcglobal.net] has joined #code |
22:30 | < AbuDhabi> | Chi: Did you get my three previous lines? |
22:32 | | Alek [omegaboot@Nightstar-b737e0df.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
22:32 | < AbuDhabi> | I'm guessing not. |
22:33 | < AbuDhabi> | Chi: http://pastie.org/791664 <- Sup dawg, I put a pastie in your pastie so you can view while you view. |
22:46 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
22:57 | < Chi> | lol |
22:57 | < Chi> | just took some time to redo the test, since I didn't remember it. |
22:57 | < Chi> | missed the last one. :P |
22:57 | < Chi> | and yeah, my memory sucks. XD |
23:00 | < Chi> | this is why I need a refresher now. |
23:00 | < Chi> | and why, even once I learn the languages, I still need to keep and use my books for reference. XD |
23:03 | < Chi> | and why, even though I know a lot, I can't go on a quiz show. It takes me too long to remember things. -_- |
23:08 | | Chi [omegaboot@Nightstar-3ffc02c7.emhril.sbcglobal.net] has quit [[NS] Quit: reboot, bah] |
--- Log closed Sun Jan 24 00:00:25 2010 |