--- Log opened Sat Oct 06 00:00:17 2012 | ||
-!- blackburn [~blackburn@31.28.33.88] has quit [Quit: Leaving.] | 01:07 | |
-!- heiko [~heiko@host109-150-240-32.range109-150.btcentralplus.com] has joined #shogun | 01:37 | |
-!- heiko [~heiko@host109-150-240-32.range109-150.btcentralplus.com] has quit [Quit: Leaving.] | 02:37 | |
shogun-buildbot | build #124 of nightly_default is complete: Failure [failed test] Build details are at http://www.shogun-toolbox.org/buildbot/builders/nightly_default/builds/124 | 03:43 |
---|---|---|
-!- blackburn [~blackburn@109.226.116.8] has joined #shogun | 13:32 | |
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun | 17:45 | |
blackburn | hey n4nd0 | 17:45 |
blackburn | how are you? | 17:45 |
n4nd0 | hi! | 17:51 |
n4nd0 | I am fine, just came back home from a coding day :) | 17:51 |
n4nd0 | blackburn: what about you? | 17:51 |
blackburn | n4nd0: what is coding day? some event? | 17:52 |
blackburn | I am working on the second test task for job :D | 17:53 |
n4nd0 | yeah, that I've spent the day coding | 17:53 |
n4nd0 | a contest at the university | 17:53 |
blackburn | I see | 17:53 |
blackburn | that's quite popular out there too | 17:53 |
n4nd0 | blackburn: so what are these tasks for the job? | 18:02 |
blackburn | n4nd0: they cancelled first one due to user agreement restrictions of that service I analyzed | 18:04 |
blackburn | funny :D | 18:04 |
blackburn | so they gave me C++ task | 18:04 |
n4nd0 | aham | 18:04 |
n4nd0 | but this is for the new job you told me about? | 18:05 |
blackburn | yes yes that one | 18:05 |
n4nd0 | oh cool, then it is awesome | 18:05 |
n4nd0 | and what is it that you are doing? | 18:05 |
blackburn | well it is simple but they asked me to do it like I'm doing serious business thing :) | 18:06 |
n4nd0 | hehe, so what is it? | 18:06 |
blackburn | there are aggregates (containing parts, each having signature - a set of integers) | 18:06 |
blackburn | given part I need to find nearest aggregates | 18:06 |
blackburn | i.e. aggregates having parts most similar to the specified one | 18:07 |
n4nd0 | I see | 18:07 |
blackburn | it could be hardcoded for sure | 18:07 |
blackburn | but I am (R) (TM) experienced java enterprise (TM) developer :D lol | 18:08 |
blackburn | ok joking, still hardcode is bad and it is worth to implement it in a flexible way | 18:08 |
blackburn | like instances of 'parts' should be created by factory not manually all around the code | 18:09 |
blackburn | and I prefer to have a singleton to provide data access routines | 18:09 |
n4nd0 | hehe ok | 18:11 |
blackburn | and I use a lot of std finally :D | 18:11 |
blackburn | good chance to learn it for the first time | 18:11 |
n4nd0 | I have used some factory classes and heard about the singleton but I am not sure I really understand what are the advantages of following these patterns | 18:12 |
blackburn | and sonney2k I like it | 18:12 |
n4nd0 | I love everything from the c++ standard, std rocks! | 18:12 |
blackburn | n4nd0: during the runtime of that program I have to have some pointer to the object that manages entities | 18:12 |
blackburn | there are a few ways | 18:13 |
blackburn | like dependency injection in java when some server puts a reference to that object automatically in all objects | 18:13 |
blackburn | you may also handle it manually but you know not the best way to handle everything manually | 18:13 |
blackburn | or you can EntityManager::get_instance().do_something() | 18:14 |
blackburn | anywhere | 18:14 |
blackburn | (I assume one needs only one 'entity manager' during the runtime) | 18:15 |
blackburn | that's exactly singleton for | 18:15 |
n4nd0 | I'll probably get the idea if I have to use it some time :) | 18:22 |
-!- blackburn1 [~blackburn@109.226.107.196] has joined #shogun | 18:30 | |
-!- blackburn [~blackburn@109.226.116.8] has quit [Read error: Operation timed out] | 18:32 | |
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has quit [Ping timeout: 240 seconds] | 18:38 | |
-!- adoniscik [~emre@c-67-180-103-118.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] | 19:05 | |
-!- adoniscik [~emre@c-67-180-103-118.hsd1.ca.comcast.net] has joined #shogun | 19:16 | |
-!- adoniscik [~emre@c-67-180-103-118.hsd1.ca.comcast.net] has quit [Ping timeout: 246 seconds] | 20:32 | |
-!- Netsplit *.net <-> *.split quits: @sonney2k, wiking | 21:55 | |
-!- Netsplit over, joins: wiking | 21:56 | |
-!- adoniscik [~emre@c-67-180-103-118.hsd1.ca.comcast.net] has joined #shogun | 22:00 | |
--- Log closed Sun Oct 07 00:00:17 2012 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!