--- Log opened Sun Aug 24 00:00:16 2014 |
00:07 | | Kindamoody|afk is now known as Kindamoody |
00:12 | | Kindamoody is now known as Kindamoody[zZz] |
00:59 | | RchrdB [0x2ba22e11@Nightstar-k8v.pos.5.94.IP] has quit [Ping timeout: 121 seconds] |
01:13 | | Orthia [orthianz@Nightstar-04c.5vj.224.119.IP] has joined #code |
01:13 | | mode/#code [+o Orthia] by ChanServ |
03:14 | | macdjord is now known as macdjord|out |
03:21 | | Harlow [harlow@Nightstar-04f.4po.201.71.IP] has joined #code |
03:24 | | Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
03:38 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
04:01 | | Turaiel[Offline] is now known as Turaiel |
04:01 | | Harlow [harlow@Nightstar-04f.4po.201.71.IP] has quit [[NS] Quit: sleep] |
04:06 | | Harlow [harlow@Nightstar-04f.4po.201.71.IP] has joined #code |
04:16 | | Harlow [harlow@Nightstar-04f.4po.201.71.IP] has quit [[NS] Quit: sleep] |
04:18 | | Harlow [harlow@Nightstar-04f.4po.201.71.IP] has joined #code |
04:38 | | Harlow [harlow@Nightstar-04f.4po.201.71.IP] has quit [[NS] Quit: sleep] |
04:51 | | Lappy-Caboose [IceChat9@Nightstar-u3v.42k.119.199.IP] has joined #code |
04:51 | | Harlow [harlow@Nightstar-04f.4po.201.71.IP] has joined #code |
04:53 | | Harlow [harlow@Nightstar-04f.4po.201.71.IP] has quit [[NS] Quit: sleep] |
04:53 | | Harlow [harlow@Nightstar-04f.4po.201.71.IP] has joined #code |
04:55 | | Harlow [harlow@Nightstar-04f.4po.201.71.IP] has quit [[NS] Quit: sleep] |
05:12 | | Harlow [harlow@Nightstar-04f.4po.201.71.IP] has joined #code |
05:14 | | Derakon is now known as Derakon[AFK] |
05:17 | | Lappy-Caboose [IceChat9@Nightstar-u3v.42k.119.199.IP] has quit [[NS] Quit: Light travels faster then sound, which is why some people appear bright, until you hear them speak] |
05:18 | | Turaiel is now known as Turaiel[Offline] |
05:20 | | Harlow [harlow@Nightstar-04f.4po.201.71.IP] has quit [[NS] Quit: BED] |
05:27 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
06:07 | | celticminstrel [celticminst@Nightstar-ak6p6n.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
06:39 | | Kindamoody[zZz] is now known as Kindamoody |
07:12 | | Checkmate [Z@Nightstar-g2q2tu.customer.tdc.net] has quit [Ping timeout: 121 seconds] |
07:30 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
07:31 | | mode/#code [+o himi] by ChanServ |
07:49 | | macdjord|out is now known as macdjord |
09:20 | | Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has joined #code |
09:24 | | RchrdB [0x2ba22e11@Nightstar-k8v.pos.5.94.IP] has joined #code |
09:24 | | mode/#code [+o RchrdB] by ChanServ |
09:45 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
09:58 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
09:58 | | mode/#code [+o himi] by ChanServ |
10:11 | | RchrdB [0x2ba22e11@Nightstar-k8v.pos.5.94.IP] has quit [Operation timed out] |
11:01 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code |
12:02 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving] |
12:07 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
12:19 | | Kindamoody is now known as Kindamoody|afk |
13:14 | | * McM[AFK] pushes five more commits to Monocle. |
13:27 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
13:27 | | mode/#code [+o Checkmate] by ChanServ |
14:10 | | gnolam [lenin@Nightstar-rhnl04.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds] |
14:46 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
14:46 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
15:01 | <&jerith> | I have discovered my first bit of troublesome unexpected behaviour in T3. |
15:02 | <&jerith> | If I redefine LookIn using dobjFor() and give it a check() and an action(), Search uses the action() but not the check(). |
15:04 | <&McM[AFK]> | Yes, the "surprise, you have like 500 things you can override, good luck figuring out which one is the one you are *supposed* to use" aspect of T3 is why FotH ended up being in I7. |
15:04 | <&McM[AFK]> | FotH was *going* to be my T3 debut, but that didn't work out. |
15:05 | <&McM[AFK]> | My guess is that there is something *like* action() that only runs after check() succeeds or somewhat. |
15:05 | <&McM[AFK]> | There is a #T3 channel on ifMUD, it is probably the place to go |
15:06 | <&jerith> | I'm in #intfiction on freenode, which was started a few days ago by the guy who's getting me to learn T3. |
15:06 | | * McM[AFK] nods |
15:06 | <&jerith> | I think I'll be telling him that I7 is superior in all ways, but I want to get through the T3 tutorial first. |
15:07 | <&McM[AFK]> | Some people fear braces~ |
15:07 | <&McM[AFK]> | Er |
15:07 | <&McM[AFK]> | fear *lack* of braces |
15:07 | <&McM[AFK]> | I've watched people conceptually brickwall on I7 in ways other languages don't do, so there's clearly something that it doesn't help with |
15:08 | <&jerith> | He doesn't know I7, but is familiar with several more traditional programming languages. |
15:08 | <&McM[AFK]> | Oh, that guy |
15:09 | <&jerith> | A particular guy or a type of guy? |
15:09 | <&McM[AFK]> | ldlework is, I'm assuming, the founder of that channel, and he's one of the relative newcomers to ifMUD as well |
15:09 | <&jerith> | Yes. |
15:10 | <&jerith> | I told him about ifmud when he founded #intfiction. |
15:11 | <&McM[AFK]> | Huh, apparently that was last week. OK. |
15:11 | <&McM[AFK]> | I thought it was longer ago than that |
15:16 | <&McM[AFK]> | Anyways, yes, I recognize several people on that channel due to ifMUD |
15:16 | <&McM[AFK]> | Sometimes because they've written articles that people there wanted me to read ._> |
15:19 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
15:23 | | gnolam [lenin@Nightstar-rhnl04.cust.bredbandsbolaget.se] has joined #code |
15:23 | | mode/#code [+o gnolam] by ChanServ |
15:31 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
15:31 | | mode/#code [+o himi] by ChanServ |
15:43 | | Orthia [orthianz@Nightstar-04c.5vj.224.119.IP] has quit [Ping timeout: 121 seconds] |
15:44 | | RchrdB [0x2ba22e11@Nightstar-qe9.aug.187.81.IP] has joined #code |
15:44 | | mode/#code [+o RchrdB] by ChanServ |
15:47 | | Orthia [orthianz@Nightstar-ojmqva.callplus.net.nz] has joined #code |
15:47 | | mode/#code [+o Orthia] by ChanServ |
15:55 | | celticminstrel [celticminst@Nightstar-ak6p6n.dsl.bell.ca] has joined #code |
15:55 | | mode/#code [+o celticminstrel] by ChanServ |
16:31 | | Lappy-Caboose [IceChat9@Nightstar-vu9kdo.abhsia.telus.net] has joined #code |
16:49 | | RchrdB [0x2ba22e11@Nightstar-qe9.aug.187.81.IP] has quit [Ping timeout: 121 seconds] |
17:48 | | celticminstrel [celticminst@Nightstar-ak6p6n.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
19:04 | | RchrdB [0x2ba22e11@Nightstar-qe9.aug.187.81.IP] has joined #code |
19:04 | | mode/#code [+o RchrdB] by ChanServ |
19:32 | | macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [[NS] Quit: I am the Milkman. My milk is delicious. It is fortified with what the world wants. What the world *deserves*.] |
19:32 | | Lappy-Caboose [IceChat9@Nightstar-vu9kdo.abhsia.telus.net] has quit [Ping timeout: 121 seconds] |
19:41 | | RchrdB [0x2ba22e11@Nightstar-qe9.aug.187.81.IP] has quit [Ping timeout: 121 seconds] |
19:46 | | macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code |
19:46 | | mode/#code [+o macdjord] by ChanServ |
19:51 | | Lappy-Caboose [IceChat9@Nightstar-b61.us5.3.174.IP] has joined #code |
20:02 | | Turaiel[Offline] is now known as Turaiel |
20:35 | | RchrdB [0x2ba22e11@Nightstar-qe9.aug.187.81.IP] has joined #code |
20:35 | | mode/#code [+o RchrdB] by ChanServ |
20:38 | | RchrdB [0x2ba22e11@Nightstar-qe9.aug.187.81.IP] has quit [[NS] Quit: Leaving] |
20:38 | | RchrdB [0x2ba22e11@Nightstar-qe9.aug.187.81.IP] has joined #code |
20:38 | | mode/#code [+o RchrdB] by ChanServ |
20:38 | | Derakon[AFK] is now known as Derakon |
20:40 | | * gnolam pokes his squares. |
20:40 | <@gnolam> | They're not so much marching as having a mosh pit. |
20:43 | <@Tamber> | -EMUCHWUB |
21:14 | | * ErikMesoy grapples with Python. |
21:14 | <@ErikMesoy> | *ba-dum tsschh* |
21:16 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
21:16 | <@ErikMesoy> | I'm probably phrasing this wrong, but help me understand: why is it that when I call a function and give it an object reference as argument, the function can modify the referred object's properties individually but not point the reference elsewhere? |
21:18 | <@ErikMesoy> | Suppose I declare SomeObject = SomeClass("id") and then I call tweak(SomeObject) and then ask for the id of SomeObject, with these three happening in the same scope in order. |
21:19 | <@ErikMesoy> | If tweak(argument) says argument.id = "other_id", then I get out "other_id". But if tweak(argument) says argument = SomeClass("other_id"), then I get out "id". |
21:29 | | * ErikMesoy is thinking of this as "Ship of Theseus programming" in his attempt to comprehend this. |
21:29 | <@ErikMesoy> | You can switch out every bit of the object, but not the object itself? |
21:34 | | celticminstrel [celticminst@Nightstar-ak6p6n.dsl.bell.ca] has joined #code |
21:34 | | mode/#code [+o celticminstrel] by ChanServ |
21:35 | <@macdjord> | ErikMesoy: Because the reference is copied. The object reference is actually a pointer. There is a copy of this pointer on the stack in the context where you make the function call. Inside the call, you are on a new stack frame, which has its own copy of the pointer. Changing copy #2 does not change copy #1. |
21:35 | <@Namegduf> | Because the object reference is passed by value, yeah. |
21:35 | | * celticminstrel wonder what we're talking about here. |
21:36 | < [R]> | Isn't that the behavior of every HLL? |
21:36 | <@Namegduf> | It gets a memory address stuck in a position on the stack where it knows it can find it, Which it can dereference and offset from to manipulate the things at that memory address. |
21:37 | <@Namegduf> | And be visible to any other code looking at things at the same memory address. |
21:37 | <@Namegduf> | If it changes its copy of the memory address, though, that doesn't affect that other code at all. |
21:38 | <@Namegduf> | Its accesses now go to a new place, but everywhere else with references to that address don't change. |
21:38 | <@Namegduf> | That's a rough "what is actually happening that explains why they chose those high level semantics" explanation. |
21:38 | <@ErikMesoy> | Right. |
21:40 | <@macdjord> | ErikMesoy: If you're using C or C++, then you can instead take a reference to the reference, which would allow you to change the parent pointer. |
21:41 | <@Namegduf> | Pass a memory address of the memory address, then double-dereference to manipulate the original thing and dereference once to access and manipulate the now-shared memory address, yeah. |
21:41 | <@ErikMesoy> | "the object reference is passed by value" may be technically precise, but it gives me a headache thinking about it. |
21:42 | <@Namegduf> | Hmm. I think fundamentally you're going to need an awareness of the distinction between the reference and the object to model the mechanics right. |
21:42 | <@Namegduf> | Might be a simpler way to think about it, though. |
21:43 | <@Namegduf> | If you have C/C++ experience, you can roughly think of most high level languages as passing around pointers to objects and just blocking all mechanisms for getting a non-pointer-to-object and so not eneding syntax to represent one. |
21:43 | <@Namegduf> | *needing |
21:44 | <@ErikMesoy> | Oh, I have an awareness of that distinction just fine. |
21:44 | <@celticminstrel> | You can't take a reference to a reference, but a reference to a pointer works. |
21:46 | <@ErikMesoy> | What I apparently had a problem with was the copy of the reference. |
21:46 | <@ErikMesoy> | Now I get it. |
21:49 | | Kindamoody|afk is now known as Kindamoody |
21:55 | | AnnoDomini is now known as Colin |
22:08 | <@Tarinaky> | "If you're using C or C++" ... If you're /not/ using C/C++, use an object to wrap the reference - then your reference to the (encapsulating) object is your pointer-to-pointer. |
22:09 | <@Tarinaky> | *jazz hands* Aggregation motherfucka! |
22:19 | | Checkmate [Z@Nightstar-g2q2tu.customer.tdc.net] has joined #code |
22:19 | | mode/#code [+o Checkmate] by ChanServ |
22:37 | | Checkmate [Z@Nightstar-g2q2tu.customer.tdc.net] has quit [Connection closed] |
22:37 | | Checkmate [Z@Nightstar-g2q2tu.customer.tdc.net] has joined #code |
22:37 | | mode/#code [+o Checkmate] by ChanServ |
22:48 | | Kindamoody is now known as Kindamoody[zZz] |
23:12 | | gnolam [lenin@Nightstar-rhnl04.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds] |
23:13 | | gnolam [lenin@Nightstar-rhnl04.cust.bredbandsbolaget.se] has joined #code |
23:13 | | mode/#code [+o gnolam] by ChanServ |
--- Log closed Mon Aug 25 00:00:32 2014 |