--- Log opened Mon Jul 25 00:00:43 2011 |
00:24 | | Kindamoody is now known as Kindamoody[zZz] |
00:29 | < Phox> | So, lets say I type a string into a C program. The input buffer would contain my string, followed by a carriage return and newline [I'm using Windows]. Is the rest of the input buffer uninitialized, or is it EOF? |
00:30 | < Derakon> | Print it and find out~ |
00:30 | < jerith> | It'll be null-terminated. |
00:31 | < jerith> | (Unless you've screwed something up.) |
00:31 | < Namegduf> | There is nothing accessible to you called an "input buffer". |
00:31 | < jerith> | The rest would be uninitialized, so it would contain whatever was there before. |
00:31 | < Namegduf> | There are functions you can use to read from stdin. |
00:31 | < Namegduf> | They will have various guarantees about what they provide when they copy into a buffer. |
00:32 | | You're now known as TheWatcher[T-2] |
00:32 | < Namegduf> | Most of the time and for proper functions, they will copy the length in question, add a null terminating character, and leave the rest uninitialised. |
00:33 | < Namegduf> | But to be sure and for details, check the documentation on the function you are using. |
00:37 | | You're now known as TheWatcher[zZzZ] |
02:26 | | Vash [Vash@Nightstar-f03c5637.sd.cox.net] has joined #code |
02:39 | | Rhamphoryncus [rhamph@Nightstar-7be32fa4.abhsia.telus.net] has joined #code |
02:45 | | gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?] |
02:56 | | Vash [Vash@Nightstar-f03c5637.sd.cox.net] has quit [[NS] Quit: I <lovecraft3 Vorn!] |
02:59 | | AnnoDomini [annodomini@Nightstar-32bb9227.adsl.tpnet.pl] has quit [[NS] Quit: Me too.] |
03:06 | | Vornicus-Latens is now known as Vornicus |
03:27 | | Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.] |
03:39 | | Phox is now known as Phox|Nap |
04:08 | | Phox|Nap is now known as Phox |
05:13 | | kwsn is now known as kw\t-2 |
05:14 | | * kw\t-2 declares sleep time, night all |
05:14 | | kw\t-2 [t1gg@31356A.5FD175.3E1307.550A93] has quit [[NS] Quit: moo] |
05:28 | | Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code |
06:13 | | Phox is now known as Phox|Crash |
06:32 | | Kindamoody[zZz] is now known as Kindamoody |
06:34 | | Derakon is now known as Derakon[AFK] |
06:50 | | Kindamoody is now known as KiMo|packing |
06:58 | | Derakon[AFK] [Derakon@Nightstar-c826c088.ca.comcast.net] has quit [Ping timeout: 121 seconds] |
06:58 | | You're now known as TheWatcher |
07:25 | | celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
07:52 | | KiMo|packing [Kindamoody@Nightstar-f9616fd6.cust.tele2.se] has quit [[NS] Quit: See you!] |
09:03 | | Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
09:35 | | AnnoDomini [annodomini@Nightstar-48d6bbfc.adsl.tpnet.pl] has joined #code |
11:05 | | * TheWatcher hrms, wonders what happens if he starts positioning divs outside the window, inside a div with no overflow |
11:11 | | Attilla [Some.Dude@Nightstar-f29f718d.cable.virginmedia.com] has joined #code |
11:24 | < TheWatcher> | Ooh, overflow: hidden; will do what I need. Eeeexcellent. |
11:42 | | kw\t-2 [t1gg@31356A.5FD175.3E1307.550A93] has joined #code |
11:43 | | kw\t-2 is now known as kwsn |
12:21 | | gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code |
12:24 | | kwsn [t1gg@31356A.5FD175.3E1307.550A93] has quit [Ping timeout: 121 seconds] |
15:17 | | Rhamphoryncus [rhamph@Nightstar-7be32fa4.abhsia.telus.net] has quit [Client exited] |
16:16 | | Kindamoody|out [Kindamoody@Nightstar-56aca102.cust.tele2.se] has joined #code |
16:18 | | Kindamoody|out is now known as Kindamoody |
16:28 | | celticminstrel [celticminstre@Nightstar-5d22ab1d.cable.rogers.com] has joined #code |
16:39 | | Kindamoody [Kindamoody@Nightstar-56aca102.cust.tele2.se] has quit [[NS] Quit: See you soon!] |
17:06 | | * TheWatcher is procrastinating at fixing up this database schema and writing a migration tool |
17:07 | < TheWatcher> | Haate this stuff ;.; |
17:20 | | Kindamoody|out [Kindamoody@Nightstar-5507a6b5.tbcn.telia.com] has joined #code |
17:20 | | Kindamoody|out is now known as Kindamoody |
17:28 | | Reiver [orthianz@ServerAdministrator.Nightstar.Net] has quit [Client closed the connection] |
17:28 | | Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has joined #code |
17:29 | < froztbyte> | preach it |
17:51 | | Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has quit [Connection reset by peer] |
17:51 | | Reiver [orthianz@9C034E.E649EA.3194C7.8381A3] has joined #code |
18:23 | | * Reiver wonders how Bittorrent does its algorathms; is getting a leetle annoyed that a single file, told to Go Nuts, with three hundred peers, is downloading so very slowly. |
18:37 | | Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code |
19:07 | | Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.] |
19:16 | < Vornicus> | 300 peers? what's the availability number? |
19:16 | < Vornicus> | and how many seeds? |
19:16 | < Vornicus> | (and how many of them are you connected to?) |
19:26 | < Reiver> | Sorry, 300 /seeds/ |
19:27 | < Reiver> | 570 Peers |
19:27 | < Reiver> | And I connect, fairly consistently, to 19 seeds and ~22 Peers. |
19:27 | < Reiver> | I suppose the issue is that there's so many peers that nothing much gets shared, huh |
19:32 | | Vash [Vash@Nightstar-f03c5637.sd.cox.net] has joined #code |
19:32 | | Vash [Vash@Nightstar-f03c5637.sd.cox.net] has quit [Connection closed] |
19:32 | | Vash [Vash@Nightstar-f03c5637.sd.cox.net] has joined #code |
19:42 | | Vash is now known as Vash[Maid] |
19:56 | | Stalker [Z@Nightstar-827f56fc.cust.comxnet.dk] has joined #code |
22:12 | | Kindamoody is now known as Kindamoody|nap |
22:18 | | Stalker [Z@Nightstar-827f56fc.cust.comxnet.dk] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.] |
22:42 | | Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code |
22:51 | | Vash[Maid] [Vash@Nightstar-f03c5637.sd.cox.net] has quit [Ping timeout: 121 seconds] |
22:53 | | Vash [Vash@Nightstar-f03c5637.sd.cox.net] has joined #code |
22:54 | | Vash is now known as Vash[Maid] |
23:20 | | Derakon [Derakon@Nightstar-c826c088.ca.comcast.net] has joined #code |
23:21 | | Kindamoody|nap is now known as Kindamoody |
23:33 | | Attilla [Some.Dude@Nightstar-f29f718d.cable.virginmedia.com] has quit [Ping timeout: 121 seconds] |
23:36 | | You're now known as TheWatcher[T-2] |
23:50 | | AnnoDomini [annodomini@Nightstar-48d6bbfc.adsl.tpnet.pl] has quit [[NS] Quit: Early to bed, early to rise. FFFFFFFUUUUUU-] |
--- Log closed Tue Jul 26 00:00:58 2011 |