--- Log opened Fri Nov 14 00:00:13 2014 |
00:42 | | Derakon [chriswei@Nightstar-5fqf0m.ca.comcast.net] has joined #code |
00:42 | | mode/#code [+ao Derakon Derakon] by ChanServ |
00:45 | < simon_> | I have an idea for NaNoGenMo contribution. |
00:45 | < simon_> | take two books, replace all dialog in one book with the content of the other book. whenever dialog occurs in the other book, replace it with the missing dialog from the first book. |
00:46 | < simon_> | s/dialog/dialogue/ |
01:05 | | * Alek blinks. |
01:09 | < simon_> | that way you can read two books at once, one narrated by the characters of the other, and vice versa! |
01:43 | <~Vornicus> | That's completely nuts. I love it. |
01:44 | <~Vornicus> | ...I wonder if there is a list of how many spoken bits are in various books |
03:10 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
03:39 | | Lambo [thelambo@Nightstar-ic6koa.fl.comcast.net] has quit [[NS] Quit: ] |
03:43 | | EvilDarkLord [jjlehto3@Nightstar-evu5hu.org.aalto.fi] has quit [Operation timed out] |
03:45 | | Xires is now known as ^Xires |
03:46 | | EvilDarkLord [jjlehto3@Nightstar-evu5hu.org.aalto.fi] has joined #code |
03:47 | | Lambo [thelambo@Nightstar-ic6koa.fl.comcast.net] has joined #code |
03:48 | | ^Xires is now known as Xires |
04:30 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
04:38 | | Harlow [harlow@Nightstar-pq0497.il.comcast.net] has joined #code |
04:40 | < Harlow> | can i have some good reasons to never return a section of an array (c++) |
04:45 | <&McMartin> | Define "section" here? |
04:46 | <&McMartin> | Because the closest I can think of it is totally a good idea to do that and most of the stdlib does |
04:48 | < Harlow> | arr[a][b] and arr[a] is sent off returning the section of b back |
04:48 | <&McMartin> | Er |
04:49 | <&McMartin> | So, that first looks like a 2D array, C-style, and the latter looks like a single dimension from it. |
04:49 | < Harlow> | yeah |
04:49 | <&McMartin> | That's fine as long as arr is on the heap |
04:49 | < Harlow> | but the way things are stored in memory, b is an offset of a |
04:49 | <&McMartin> | If it was one of your own stack variables, you're fucked |
04:49 | <&McMartin> | a is an index. |
04:50 | <&McMartin> | Or your terminology isn't C/C++'s. |
04:51 | <&McMartin> | If you say "here is an array, return to me a significant pointer from the middle of it" that is totally standard (it is literally how all of the STL's search functions work), so I'm not sure where you're getting "never do this" from. |
04:52 | <&McMartin> | In C++ specifically there is a thing called "object slicing" which is both precisely specified and the Worst Thing Ever, but that has to do with objects, not arrays. |
05:05 | <@macdjord> | McMartin: I've never heard of 'object slicing' before, but every interpretation I can come up with for it is horrifying. |
05:26 | | Kindamoody[zZz] is now known as Kindamoody |
05:45 | | Orthia [orthianz@Nightstar-6dj.h4k.224.119.IP] has quit [Ping timeout: 121 seconds] |
05:50 | | Orthia [orthianz@Nightstar-l1v.u1l.224.119.IP] has joined #code |
05:50 | | mode/#code [+o Orthia] by ChanServ |
06:02 | | Harlow [harlow@Nightstar-pq0497.il.comcast.net] has quit [[NS] Quit: sleep] |
06:10 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds] |
06:18 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
06:45 | <&McMartin> | macdjord: It involves value-copying a subclass to a superclass, therefore copying over only some of the state. |
06:45 | | * McMartin drastically simplifies his colortest program's display kernel. |
06:45 | | * McMartin repurposes missiles as walls |
06:45 | | Harlow [harlow@Nightstar-pq0497.il.comcast.net] has joined #code |
06:58 | | Derakon [chriswei@Nightstar-5fqf0m.ca.comcast.net] has quit [[NS] Quit: Leaving] |
07:05 | | MantaWaffles [MantaWaffle@Nightstar-ujj.2ik.216.24.IP] has joined #code |
07:23 | <@Julius> | tvtropes.org could also be called testyouradblockinghere.org. |
07:29 | <@Julius> | There. Bloody PM25 broke Adblock. |
07:34 | < Harlow> | anyone have a quick sec to answer something about a stack? is the return value the old esp? |
07:48 | | celticminstrel is now known as celmin|sleep |
08:14 | | Harlow [harlow@Nightstar-pq0497.il.comcast.net] has quit [[NS] Quit: BED] |
08:25 | | Kindamoody is now known as Kindamoody|out |
08:31 | | macdjord is now known as macdjord|slep |
08:33 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
08:33 | | mode/#code [+o himi] by ChanServ |
08:40 | | RayWaffles [MantaWaffle@Nightstar-ujj.2ik.216.24.IP] has joined #code |
08:43 | | MantaWaffles [MantaWaffle@Nightstar-ujj.2ik.216.24.IP] has quit [Ping timeout: 121 seconds] |
08:45 | | RayWaffles is now known as MantaWaffles |
08:49 | | MantaWaffles [MantaWaffle@Nightstar-ujj.2ik.216.24.IP] has quit [[NS] Quit: Loves.] |
10:16 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
11:40 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
11:43 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
11:43 | | mode/#code [+o himi] by ChanServ |
12:12 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
12:33 | <@Julius> | JSP. What does the URI represent in the taglib declaration? |
12:43 | <@TheWatcher> | it's the location of the tag library |
12:44 | <@Julius> | So it actually downloads things from the internet? |
12:46 | <@TheWatcher> | Oh, wait |
12:47 | <@TheWatcher> | taglib-location gives the location (which should be a local file), while taglib is a uri |
12:47 | | * TheWatcher hasn't done jsp for years, so can barely remember this stuff >.> |
12:50 | <@TheWatcher> | On an entirely different note, I think I have finally gone unhinged |
12:51 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
12:51 | | mode/#code [+o Checkmate] by ChanServ |
12:52 | <@TheWatcher> | Huh, apparently '.' and ',' do different things... |
14:02 | <@TheWatcher> | ffff circular dependencies between model classes |
14:08 | <@TheWatcher> | Oh, wait, I can sidestep it |
14:09 | <@Tarinaky> | Okay. more NecronomiCOM.NET fun... |
14:09 | | * TheWatcher inscribes the angles needed to open portals in and out of the shining, humming space of y'brek |
14:09 | <@Tarinaky> | MSDN indicates that SetWaitableTimer can be used to wake a computer from Hibernate/Suspend |
14:10 | <@Tarinaky> | However, when I actually try to do it... |
14:10 | <@Tarinaky> | (Source: http://msdn.microsoft.com/en-us/library/windows/desktop/aa373235%28v=vs.85%29.as px) |
15:17 | | celmin|sleep is now known as celticminstrel |
15:34 | | macdjord|slep is now known as macdjord |
15:39 | | Namegduf [namegduf@Nightstar-rjh.rpa.226.188.IP] has quit [Ping timeout: 121 seconds] |
16:33 | | Namegduf [namegduf@Nightstar-rjh.rpa.226.188.IP] has joined #code |
16:33 | | mode/#code [+o Namegduf] by ChanServ |
16:44 | | Derakon [chriswei@Nightstar-5fqf0m.ca.comcast.net] has joined #code |
16:44 | | mode/#code [+ao Derakon Derakon] by ChanServ |
19:06 | | Derakon [chriswei@Nightstar-5fqf0m.ca.comcast.net] has quit [[NS] Quit: Leaving] |
19:06 | | Derakon [chriswei@Nightstar-5fqf0m.ca.comcast.net] has joined #code |
19:06 | | mode/#code [+ao Derakon Derakon] by ChanServ |
19:54 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
20:03 | | Kindamoody|out is now known as Kindamoody |
20:05 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code |
20:05 | | mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ |
20:49 | | Kindamoody is now known as Kindamoody[zZz] |
20:57 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
20:57 | | mode/#code [+o himi] by ChanServ |
21:14 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
21:23 | | Derakon [chriswei@Nightstar-5fqf0m.ca.comcast.net] has quit [Ping timeout: 121 seconds] |
21:35 | | macdjord is now known as macdjord|nap |
22:20 | | Checkmate [Z@Nightstar-g2q2tu.customer.tdc.net] has joined #code |
22:20 | | mode/#code [+o Checkmate] by ChanServ |
22:41 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
23:31 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
23:31 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
23:34 | | Derakon [chriswei@Nightstar-5fqf0m.ca.comcast.net] has joined #code |
23:34 | | mode/#code [+ao Derakon Derakon] by ChanServ |
--- Log closed Sat Nov 15 00:00:30 2014 |