#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2015-08-18

Timestamps are in GMT/BST.

00:44:23Nothing_Much has joined
04:05:43Flynnn Quit (Quit: Auf Wiedersehen!)
04:53:19Nothing_Much Quit (Quit: Leaving)
05:13:49sheepluva Quit (Ping timeout: 240 seconds)
05:16:00sheepluva has joined
06:09:27Darrel Quit (Ping timeout: 255 seconds)
06:10:17Darrel has joined
10:39:40Darrel Quit (Read error: Connection reset by peer)
10:39:56Darrel has joined
10:59:44sheepluva Quit (*.net *.split)
11:02:38sheepluva has joined
12:51:46watusimoto has joined
12:51:46ChanServ sets mode +o
13:02:57DiannaAgron has joined
13:03:14DiannaAgron Quit (Remote host closed the connection)
13:03:55DiannaAgron has joined
13:23:56Nothing_Much has joined
13:36:10watusimotohi
14:39:12Nothing_Much Quit (Remote host closed the connection)
15:10:18DiannaAgron Quit (Quit: Leaving)
16:29:39amgine123 has joined
16:34:03amgine123 Quit (Ping timeout: 246 seconds)
17:23:22fordcars has joined
17:26:07amgine123 has joined
17:30:24amgine123 Quit (Ping timeout: 246 seconds)
18:03:53raptor has joined
18:03:54ChanServ sets mode +o
18:18:19amgine123 has joined
18:18:23amgine123hi
18:18:29amgine123anyone here?
18:23:44amgine123guess not
18:33:44watusimotohi
18:51:16fordcars Quit (Quit: Page closed)
18:54:49raptorhi
19:12:54fordcars has joined
19:54:57amgine123 Quit (Ping timeout: 246 seconds)
20:16:45watusimotohey raptor
20:16:56watusimotohow's schooling?
20:30:29fordcarsIf anybody has time, can you translate this (the val part) in English and tell me if 'val' will be moved or copied? Thanks
20:30:36fordcarsUh, http://www.cplusplus.com/reference/map/map/insert/
20:30:44fordcarsThe 'val' parameter
20:35:26watusimotouh, can you give a little more ocntext? like a line of code that is causing question?
20:35:55watusimotoinsert will generally copy an object
20:37:52watusimotomap<string, string> xyzzy; xyzzy.insert("ford","cars");
20:38:06watusimotonothing gets moved; only copied
20:38:30fordcarsOh sorry
20:38:37fordcarsI mean, like instances of objects
20:39:03fordcarsLike:
20:39:09watusimotomap<Ford,Cars> xyzzy; xyzzy.insert(ford, cars);
20:39:15watusimotosame thing... ford and cars get copied
20:39:34watusimotoassuming Ford ford; Cars cars;
20:39:35fordcarsCopied? Using the copy constructor thing and all?
20:39:41watusimotoyeah, probably
20:39:45fordcarsOk cool, thanks
20:40:07watusimotobut if you only have simple members (strings, numbers, objects made of simple members) you don't need a copy contrutor
20:40:14watusimotoso keep your objects simple!
20:40:27fordcarshaha! But my object has another map in it
20:40:31fordcarsSo I have to do something :/
20:40:32watusimotoI think we only have one or two copy constructors in all of bf
20:40:36fordcarsWow
20:40:40watusimotowhat is the otehr map of?
20:40:46watusimotoif also of simple objects, you are ok
20:41:26fordcarsUh, the class is a Shader, and inside I have a map containing all of the uniform variables of that shader
20:41:45fordcarsAnd when I want to modify a certain variable, I find it and modify it
20:41:49fordcarsAt least that is the plan :)
20:42:04fordcarsAnd right now I was making a map of all of the shaders
20:42:20watusimotomaps know how to copy themselves
20:42:31fordcarsThey do?
20:42:32watusimotoassuming their contents are also things that know how to copy themselves
20:42:37watusimotolike strings and ints and such
20:42:38fordcarsThey are
20:42:41fordcarsInts and strings
20:42:46watusimotoyou're set
20:42:55watusimotocreate a little test program and convinvce yourself
20:43:02watusimotothat's the best way to learn
20:43:16fordcarsI should
20:44:40fordcarsOk, I'll try that out
20:53:00raptorhi watusimoto
20:53:06watusimotohi
20:53:14watusimotoI'm just heading out
20:53:22watusimotosadly... we never get to chat anymore
20:53:29raptoryeah.. :(
20:53:35raptori need to finish the github migration
20:53:35watusimotosomeday our schedules will coincide again!
20:53:44raptorare you at a stopping point in coding, sometime?
20:53:50watusimotoright now
20:53:52watusimotoin fact
20:53:55watusimotoeverything is in
20:54:03raptorok, want me to migrate tonight?
20:54:07watusimotosure
20:54:20watusimotoif that works for you
20:54:24raptorthen we can spend the rest of the week figuring out git... or just using tortoiseHG with the git-hg plugin
20:55:19raptorfinished finals last thursday... starting again in 2 weeks!
20:56:01watusimotothe rest of our lives, more like it
20:56:05watusimotoanyway... later!
20:56:07raptori have to go, too. i'll be back later!
20:56:08raptorlater
20:56:18watusimoto Quit (Quit: Leaving.)
20:56:20raptor Quit ()
21:14:24Flynnn has joined
21:58:31fordcars Quit (Quit: Page closed)
22:41:46fordcars has joined
22:48:14Darrel Quit (Read error: Connection reset by peer)
22:49:01Darrel has joined
23:01:02watusimoto has joined
23:01:02ChanServ sets mode +o
23:07:01Flynnn Quit (Quit: Auf Wiedersehen!)
23:26:39Flynnn has joined

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.