#silverstripe IRC Log

IRC log for 5 October 2014

All timestamps are in UTC.

1: [00:10:37] * SphereSilver quit (Ping timeout: 258 seconds)
2: [00:11:06] * joelpittet has joined #silverstripe
3: [00:15:37] * joelpittet quit (Ping timeout: 245 seconds)
4: [00:18:13] * caamic30 has joined #silverstripe
5: [00:20:00] * Audlex has joined #silverstripe
6: [00:46:59] * simon_w quit (Quit: Ping timeout: your mum)
7: [01:05:36] * joelpittet has joined #silverstripe
8: [01:08:03] * caamic30 quit (Quit: caamic30)
9: [01:08:10] * simon_w has joined #silverstripe
10: [01:10:16] * joelpittet quit (Ping timeout: 250 seconds)
11: [01:27:33] * FrozenFire has joined #silverstripe
12: [01:44:26] * veb has joined #silverstripe
13: [01:51:09] * ocm13 has joined #silverstripe
14: [01:52:06] * ocmnt quit (Ping timeout: 246 seconds)
15: [01:59:47] * joelpittet has joined #silverstripe
16: [02:04:23] * joelpittet quit (Ping timeout: 240 seconds)
17: [02:05:38] * simon_w quit (Quit: Ping timeout: your mum)
18: [02:57:04] * ocm13 quit (Ping timeout: 244 seconds)
19: [02:59:23] * FrozenFire quit (Ping timeout: 272 seconds)
20: [03:13:04] * FrozenFire has joined #silverstripe
21: [03:27:02] * cloph_away has joined #silverstripe
22: [03:27:16] * cloph quit (Ping timeout: 260 seconds)
23: [03:48:21] * joelpittet has joined #silverstripe
24: [03:54:06] * joelpittet quit (Ping timeout: 258 seconds)
25: [03:59:37] * simon_w has joined #silverstripe
26: [04:23:22] * veb has joined #silverstripe
27: [04:26:39] * Kingy is now known as Kingy[a]
28: [04:42:31] * joelpittet has joined #silverstripe
29: [04:47:41] * joelpittet quit (Ping timeout: 272 seconds)
30: [05:06:00] * Audlex quit (Ping timeout: 246 seconds)
31: [05:06:04] * Audio has joined #silverstripe
32: [05:24:41] <simon_w> Yay, got a very basic gallery page up
33: [05:36:48] * joelpittet has joined #silverstripe
34: [05:42:09] * joelpittet quit (Ping timeout: 272 seconds)
35: [06:01:27] * simon_w quit (Quit: Ping timeout: your mum)
36: [06:31:11] * joelpittet has joined #silverstripe
37: [06:36:17] * joelpittet quit (Ping timeout: 260 seconds)
38: [06:52:25] * simon_w has joined #silverstripe
39: [06:53:17] * ocm13 has joined #silverstripe
40: [06:57:39] * ocm13 quit (Ping timeout: 246 seconds)
41: [07:03:46] * Nightjar has joined #silverstripe
42: [07:04:47] <simon_w> Hey Nightjar
43: [07:04:50] <simon_w> I see you shaved
44: [07:04:58] <Nightjar> how is your talk ss23?
45: [07:05:25] <Nightjar> haha Simon_w, heh, a bit...
46: [07:05:43] <simon_w> You used to have an afro on your face :p
47: [07:06:07] <Nightjar> there's also a pic where my arse is the main focus, not sure about that one ha
48: [07:06:40] <Nightjar> Simon_w I used to have an agro on the top of my head too!
49: [07:06:58] <simon_w> That sounds painful
50: [07:07:03] <Nightjar> afro* because duck you autocorrext
51: [07:07:38] <Nightjar> which ironically did not fix autocorrext...
52: [07:07:52] * Nightjar is confused.
53: [07:08:14] <Nightjar> meh. conference was good :-)
54: [07:09:19] <Nightjar> oh, and congratulations Simon_w :-)
55: [07:09:58] <simon_w> :)
56: [07:10:07] <Nightjar> I take it you learnt your vows in time then? :-P
57: [07:10:47] <simon_w> Yeah :p
58: [07:10:59] <simon_w> That was just to make things easier. Had them written down
59: [07:12:03] <simon_w> The weather was great too
60: [07:12:28] <simon_w> Had something like 7mm of hail from about half an hour before the ceremony
61: [07:12:42] <Nightjar> hehe, figured it was in jest :-P good to hear it was a good day in more than one way :-)
62: [07:13:09] <Nightjar> oh, sarcasm :/
63: [07:13:25] <simon_w> Oh, I like that sort of weather!
64: [07:13:30] <simon_w> Though, we were still outside
65: [07:13:55] <Nightjar> cool (pun intended :-P)
66: [07:14:24] <Nightjar> ooh, arriving to Vienna
67: [07:14:55] <Nightjar> there is less fog here, I can see out the window again
68: [07:15:01] <simon_w> Haha
69: [07:15:34] <Nightjar> Wien Huttledorf
70: [07:15:41] <simon_w> We're staying right off SH2
71: [07:15:45] <simon_w> Is actually rather quiet
72: [07:16:39] <Nightjar> soon westbanhof, than back to Roma :-)
73: [07:16:58] <Nightjar> heh, in the Hutt valley?
74: [07:17:11] <simon_w> Wairarapa
75: [07:17:19] <Nightjar> nice
76: [07:17:24] <simon_w> Indeed
77: [07:18:02] <Nightjar> well, I'd better prepare to get the metro then the airport train. ciao, have fun!
78: [07:18:08] * joelpittet has joined #silverstripe
79: [07:18:15] <simon_w> Laters
80: [07:24:34] * joelpittet quit ()
81: [08:22:32] * veb quit (Quit: preprocessor-irc-cli)
82: [08:24:26] * simon_w quit (Quit: Ping timeout: your mum)
83: [08:41:51] * Shrike_Finland has joined #silverstripe
84: [09:05:50] * eagles0513875 quit (Quit: ZNC @ TrekWeb - https://trekweb.org)
85: [09:09:52] * Shrike_Finland quit (Quit: Leaving.)
86: [09:11:30] * eagles0513875 has joined #silverstripe
87: [09:23:56] * Shrike_Finland has joined #silverstripe
88: [09:32:01] * codetoday has joined #silverstripe
89: [09:32:51] <codetoday> Create a blank page for the admin login, rather than default template?
90: [09:32:53] <codetoday> anyone?
91: [09:51:49] * sminnee has joined #silverstripe
92: [10:02:14] * ocm13 has joined #silverstripe
93: [10:37:25] * sminnee quit (Ping timeout: 244 seconds)
94: [10:48:59] * codetoday quit (Remote host closed the connection)
95: [10:53:20] * Adesso has joined #silverstripe
96: [10:54:13] * Adesso returns after his long beauty sleep
97: [10:55:26] <Adesso> task for today, is to link alll the names here with the people I met in Linz....
98: [10:57:16] * Shrike_Finland quit (Quit: Leaving.)
99: [11:00:36] * Shrike_Finland has joined #silverstripe
100: [11:19:53] * Shrike_Finland quit (Quit: Leaving.)
101: [11:23:19] * Shrike_Finland has joined #silverstripe
102: [11:23:36] <Adesso> seems that sunday is not all that busy here
103: [11:23:56] <Adesso> well I guess everybody needs a bit of RR once a week
104: [11:24:21] * Adesso decides to leave the # in peace for the day
105: [11:34:07] * Audio quit (Remote host closed the connection)
106: [11:34:40] * Audlex has joined #silverstripe
107: [12:00:01] * codetoday has joined #silverstripe
108: [13:33:14] * codetoday quit (Remote host closed the connection)
109: [13:59:16] * Shrike_Finland quit (Quit: Leaving.)
110: [14:00:44] * Shrike_Finland has joined #silverstripe
111: [14:15:09] * ocm13 quit (Ping timeout: 246 seconds)
112: [15:26:13] * Shrike_Finland quit (Quit: Leaving.)
113: [15:26:49] * Shrike_Finland has joined #silverstripe
114: [16:13:32] * Shrike_Finland quit (Quit: Leaving.)
115: [16:14:26] * Shrike_Finland has joined #silverstripe
116: [16:20:00] * Azure quit (Quit: My MBP went to sleep.)
117: [16:26:36] * Azure has joined #silverstripe
118: [18:11:19] * ocm13 has joined #silverstripe
119: [18:15:36] * ocm13 quit (Ping timeout: 246 seconds)
120: [18:33:15] * Nightjar has joined #silverstripe
121: [18:34:09] * Nightjar quit (Client Quit)
122: [18:50:16] * joelpittet has joined #silverstripe
123: [18:54:59] * simon_w has joined #silverstripe
124: [19:07:22] * tankr has joined #silverstripe
125: [19:07:24] * mobiusnz quit (Quit: Leaving.)
126: [19:10:39] * simon_w quit (Quit: Ping timeout: your mum)
127: [19:14:58] * Stomach has joined #silverstripe
128: [19:23:33] * mobiusnz has joined #silverstripe
129: [19:24:27] * simon_w has joined #silverstripe
130: [19:35:27] * Ryan-Toast has joined #silverstripe
131: [19:38:40] * nickmolhoek has joined #silverstripe
132: [19:41:38] <Ryan-Toast> has anyone ever created a DO when a user gets a 404? Can’t decide whether it’s a good idea or not.
133: [19:42:54] <simon_w> Ryan-Toast, that's a bad idea
134: [19:43:04] <Ryan-Toast> simon_w: yeah, thought so.
135: [19:43:05] <simon_w> You get a lot of 404s (mostly from bots)
136: [19:43:22] <Ryan-Toast> Pretty sure should just use analytics for that
137: [19:44:44] * simon_w quit (Quit: Ping timeout: your mum)
138: [19:59:03] * gelignite has joined #silverstripe
139: [20:09:59] * Olliepop has joined #silverstripe
140: [20:18:31] * micmania1 has joined #silverstripe
141: [20:29:22] * novaweb has joined #silverstripe
142: [20:32:25] <spronk> ha HA
143: [20:32:26] <spronk> auckland.
144: [20:36:45] <Shrike_Finland> Hi, should this class chaining work? Tried to addExtraClass('stacked') http://www.sspaste.com/paste/show/5431a69970a8c
145: [20:36:51] * micmania1 quit (Quit: micmania1)
146: [20:43:03] <Stomach> Shrike_Finland - that should work :S
147: [20:43:11] <Ryan-Toast> spronk: Wish it was my part of Auckland :(
148: [20:43:23] <Stomach> Ryan-Toast - you want to have no power?
149: [20:43:24] <Ryan-Toast> wouldn’t mind a 3 day weekend.
150: [20:43:24] <Stomach> crazy.
151: [20:43:41] <Ryan-Toast> Stomach: I mean my work’s part.
152: [20:43:43] <spronk> heh
153: [20:43:43] <spronk> yeah
154: [20:43:49] * micmania1 has joined #silverstripe
155: [20:43:50] <Ryan-Toast> My house had all the power.
156: [20:44:08] <Stomach> yeah we have all the power too
157: [20:44:09] * veb has joined #silverstripe
158: [20:44:27] <Stomach> pretty happy seeing as we have 2 freezers and 2 fridges
159: [20:44:30] <Stomach> would have been smelly.
160: [20:47:01] * UncleCheese has joined #silverstripe
161: [20:49:18] <adrexia> Today I am really gratful that IE11 has ditched Compatibility mode. In two years time we will get fewer users thinking the web is broken because they accidentally clicked the little broken page icon.
162: [20:50:18] <Stomach> adrexia - when did they do that
163: [20:50:20] <Stomach> exciting
164: [20:50:53] <Stomach> oh im running ie10
165: [20:50:54] <Stomach> lol
166: [20:51:00] <adrexia> (you can still turn it on from dev tools and stuff, but it's out of the way)
167: [20:51:40] <Shrike_Finland> Stomach: I think, it should, but it does not :)
168: [20:52:10] <Shrike_Finland> Does not give any error, but seems not make any effect
169: [20:52:15] <Stomach> Shrike_Finland - what version of SS?
170: [20:52:21] <Shrike_Finland> 3.1.6
171: [20:52:26] <adrexia> http://msdn.microsoft.com/en-us/library/dn321449.aspx
172: [20:52:28] <Stomach> you have the wrong classname
173: [20:52:32] <Stomach> HtmlEditorField
174: [20:52:33] <Shrike_Finland> ??
175: [20:52:35] <Stomach> not HTMLEditorField
176: [20:52:37] <Shrike_Finland> AH!!!!
177: [20:52:40] <Shrike_Finland> Damn
178: [20:53:25] <Stomach> does that fix it?
179: [20:54:38] <Shrike_Finland> Nope :/
180: [20:56:19] <Stomach> I wonder if its because its actually a composite field
181: [20:57:08] <Stomach> well, rather there are other fields added in with it
182: [20:59:03] <Ryan-Toast> how can you get $this inside a Form extension?
183: [20:59:15] <Ryan-Toast> or do you just use $controller?
184: [21:00:19] <Ryan-Toast> okay, you just use $controller :P I feel like a noob.
185: [21:00:25] <Ryan-Toast> monday feels.
186: [21:03:24] * Kingy[a] is now known as Kingy
187: [21:05:50] * irogue_ has joined #silverstripe
188: [21:07:04] <Kingy> morning
189: [21:07:37] <Stomach> hey Kingy
190: [21:07:40] <Stomach> hey irogue
191: [21:08:40] <irogue_> mornin' Kingy, Stomach
192: [21:08:50] <Kingy> good weekend fellas?
193: [21:09:08] <irogue_> yep
194: [21:09:30] <irogue_> got to make people jealous that I live in South Auckland, which is a rare thing
195: [21:09:40] <Stomach> sure was, finally got some drawers for our room :D
196: [21:10:00] <Stomach> and we had power and we live not in south auckland
197: [21:10:01] <Stomach> hah!
198: [21:10:27] * willr has joined #silverstripe
199: [21:10:29] <irogue_> Stomach: yeah, was only the rich areas :P
200: [21:10:38] <Stomach> I'm in a rich area :P
201: [21:10:44] <irogue_> obviously not ;)
202: [21:10:47] <irogue_> hahaha
203: [21:11:03] <Stomach> why is our shitty flat worth 1.5million then :(
204: [21:11:24] <irogue_> cos auckland
205: [21:11:40] <irogue_> :P
206: [21:11:41] <Stomach> stupid auckland
207: [21:11:46] <irogue_> hmm, wonder what my house is worth
208: [21:12:21] <irogue_> Stomach: where do you live anyway?
209: [21:12:29] <Stomach> parnell
210: [21:12:56] <Kingy> well masterton was fine
211: [21:12:59] <Kingy> just so you know
212: [21:13:27] <Stomach> define "fine"
213: [21:13:35] <irogue_> Stomach: ah, borderline rich area
214: [21:13:50] <UncleCheese> Buying a house in Auckland is like buying your lunch at the airport.
215: [21:14:09] <Stomach> you always end up with McDonalds?
216: [21:14:15] <Kingy> Stomach: we had power.
217: [21:14:45] <Stomach> Kingy :P
218: [21:14:53] * pippy has joined #silverstripe
219: [21:15:04] <adrexia> I'm mostly laughing at the fact that it's almost 'natural disaster' levels of caring, and its just a power cut. granted a slightly longer than normal power cut
220: [21:15:08] <adrexia> oh Auckland
221: [21:15:27] <irogue_> adrexia: rich folk
222: [21:15:33] * Phlunk3 has joined #silverstripe
223: [21:15:33] <adrexia> ;)
224: [21:15:38] <irogue_> if it happened in my area noone would care
225: [21:15:54] <Kingy> adrexia: pretty much. Caught a bit of Breakfast this morning and they're all like "Can we claim on our $1000 worth of meat that is defrosting"
226: [21:16:02] <irogue_> but no, it's taken out suburbs such as John Key's
227: [21:16:04] * mobiusnz has left #silverstripe
228: [21:16:07] <Ryan-Toast> I love how it turned from “powers out in some places” to “fuck rich people"
229: [21:16:11] <Kingy> irogue_: his house was fine
230: [21:16:26] <Stomach> yeah irogue_ we live like 500m from JK
231: [21:16:33] <adrexia> Kingy that's pretty funny
232: [21:16:56] <irogue_> Ryan-Toast: I've been listening to my scanner all weekend
233: [21:17:04] <Kingy> to be fair, I spent like $60 on meat on Saturday, I'd be pissed if it went bad as well
234: [21:17:05] <Ryan-Toast> Stomach: My friend’s got drunk and broke into his garage and stole a carpet once.
235: [21:17:22] <irogue_> people have been calling 111 demanding the fire service come and open their electric gate/garage for them so they can take the BMW out
236: [21:17:35] <Stomach> irogue_ - really? fucking lol
237: [21:17:38] <irogue_> yep
238: [21:17:42] <Ryan-Toast> Kingy: All my kingfish in the freezer… god that would have been bad
239: [21:17:55] <adrexia> Kingy, yep it's mildly annoying. But, well, Christchurch would make me feel like an entitled idiot if I was that upset about my meat spoiling
240: [21:17:59] <irogue_> fire service has been going too... pulling the manual release handle then giving them a bill
241: [21:18:07] <Stomach> bahahaha
242: [21:20:07] <Stomach> yeah I'm glad I'm not sitting in my rich person house with a freezer full of meat
243: [21:20:17] <adrexia> lols
244: [21:20:37] <irogue_> but yeah, that tells you why this has been blown into a "big thing". rich folk think their electric gate not opening is something worth calling 111 about
245: [21:21:40] <Stomach> totally worth it
246: [21:23:24] <irogue_> a house in Meadowbank exploded on Saturday
247: [21:23:43] <irogue_> someone bought a diesel generator and had it running *inside*
248: [21:25:00] <Kingy> irogue_: I heard this morning that some lady had to walk to try and find a coffee place open because she couldn't get her car out
249: [21:25:09] <irogue_> oh no!
250: [21:25:13] <Kingy> a) fuck she's stupid, b) really you can't just make a coffee at home
251: [21:25:24] <irogue_> c) trains and buses do exist
252: [21:25:42] <Kingy> damn dude, can't expect her to be caught dead in a bus or train
253: [21:25:49] <irogue_> apparently the trains were really busy in the weekend, since all the malls out east were closed people were catching the trains out south to Manukau mall
254: [21:26:26] <irogue_> shopkeepers in Manukau were probably stoked, rich folk turning up instead of their usual south auckland customers
255: [21:28:02] <Ryan-Toast> Is there a method for when a dataobject is first created?
256: [21:28:35] <irogue_> Ryan-Toast: not quite sure what you mean
257: [21:28:37] <pippy> I've got about $1k of meat in my freezer
258: [21:28:58] <irogue_> I've got about $20 of meat in my freezer
259: [21:29:23] <pippy> but only because I shot, gutted and butchered it myself. I'm not that rich :|
260: [21:29:37] <Ryan-Toast> irogue_: like a onCreate() or something. The use case is when a DO is created I want to count the parents cuerrent number of that DO and set the sortOrder to be one mnore than the count.
261: [21:30:31] <irogue_> Ryan-Toast: I don't think so, but you could probably use onAfterWrite with a isChanged('ID')
262: [21:30:49] <Ryan-Toast> irogue_: Cheers, will give that a go :)
263: [21:32:43] * Nightjar has joined #silverstripe
264: [21:33:00] <Ryan-Toast> irogue_: No dice.
265: [21:33:05] <adrexia> Ryan-Toast I tried to do something similar recently and had to give up
266: [21:33:11] <Ryan-Toast> adrexia: orly?
267: [21:33:26] <adrexia> there's no onbeforfirst save
268: [21:33:37] <Nightjar> good lun dae
269: [21:33:40] <adrexia> and until the first save, there's not an easy way to know the parent
270: [21:33:55] <Ryan-Toast> adrexia: Hmm, oh well.
271: [21:33:56] <Nightjar> there is if ID
272: [21:33:59] <adrexia> so you can't even get the parent
273: [21:34:01] <adrexia> :-/
274: [21:35:23] <Nightjar> which detects if it's first save, but I messed use case so dunno what even
275: [21:35:37] <Nightjar> missed*
276: [21:35:47] * gelignite quit (Quit: http://bit.ly/nkczDT)
277: [21:36:59] <adrexia> Nightjar - its about getting the parent of a dataobject when its first saved
278: [21:37:10] <adrexia> <Ryan-Toast> irogue_: like a onCreate() or something. The use case is when a DO is created I want to count the parents cuerrent number of that DO and set the sortOrder to be one mnore than the count.
279: [21:37:16] <adrexia> that ^
280: [21:37:52] <Nightjar> parentID will be in the request.
281: [21:38:19] <Nightjar> use that in combo with if this.ID
282: [21:38:22] <adrexia> I think you might be able to hack it, but it's not accessible to the
283: [21:38:23] <adrexia> editform
284: [21:38:42] <Nightjar> hmm, should be.
285: [21:38:50] <adrexia> agree ;)
286: [21:39:00] <adrexia> ..and yet
287: [21:39:12] <Nightjar> forms are passed a controller. this.controller.getrequest
288: [21:39:53] <Nightjar> so yes. it's a chicken and egg issue really.
289: [21:39:59] * Colin[pi] has joined #silverstripe
290: [21:40:30] <UncleCheese> UncleCheese applauds Nightjar for giving the eff you to PHP object arrow syntax
291: [21:40:35] <adrexia> same reason this won't work: https://github.com/silverstripe/silverstripe-framework/issues/3474
292: [21:40:55] <adrexia> lols
293: [21:41:17] <UncleCheese> whenever I'm verbally describing code to somebody, I always say, "dot"
294: [21:41:27] <adrexia> actually, I should say "a related reason"
295: [21:41:35] <Nightjar> unclecheese simple just isn't aware that the Nightjar is typing on a tablet.
296: [21:41:54] <UncleCheese> Ha!
297: [21:42:02] <UncleCheese> I think we should establish it as a convetion
298: [21:42:05] <UncleCheese> arrows suck
299: [21:42:28] <UncleCheese> although i suppose its in direct conflict with the concatonate syntax
300: [21:42:29] <Nightjar> yes and no, they have their place.
301: [21:43:04] <Nightjar> and that. operator ambiguity is a terrible thing.
302: [21:45:46] <Ryan-Toast> It’s interesting that OptionSetField items have a set width in the cms
303: [21:48:44] <adrexia> "interesting"
304: [21:49:19] <Colin[pi]> morning all
305: [21:54:25] <Ryan-Toast> adrexia: interesting https://i.imgur.com/iiWg1Gv.jpg
306: [21:55:08] <adrexia> :D
307: [21:55:10] <adrexia> yep
308: [21:55:47] <adrexia> to be fair, a lot of the css in the cms is ~3 years olf
309: [21:55:50] <adrexia> *old
310: [21:55:53] <Ryan-Toast> ye
311: [21:55:56] * SphereSilver has joined #silverstripe
312: [21:56:20] <Ryan-Toast> I’d do some pull requests, but I can’t be bothered figuring out all the bs you have to do to submit stuff.
313: [21:56:51] <adrexia> it is a somewhat long checklist
314: [21:57:15] <Ryan-Toast> adrexia: I’m sure it would be fine once you’ve done it once, but it’s getting to that stage.
315: [21:57:23] <Ryan-Toast> that’s the problem.
316: [21:57:49] <adrexia> basically, fix it, browser test it, make sure it doen't break anything else in the cms, take screenshots, document everythign you haver done in the pull request with the screenshots
317: [21:58:12] <adrexia> the fix is like 0.5% of the time taken sometimes
318: [21:58:25] <Ryan-Toast> adrexia: Ed Zachery.
319: [22:01:14] * SphereSilver quit (Ping timeout: 258 seconds)
320: [22:10:01] * Guns21 has joined #silverstripe
321: [22:10:30] <Guns21> any option to make dynamic routing in controller?
322: [22:11:33] <Guns21> other than stuffinc $url_handlers with different number of params leading to same method which is used for routing?
323: [22:11:38] <Guns21> *stuffing
324: [22:13:10] <Stomach> you can extend ModelAsController and override getNestedController
325: [22:13:26] <Stomach> then use request->match() to handle the routing
326: [22:14:48] <UncleCheese> oooh.. what's ->match()?
327: [22:15:00] <Guns21> I think I can't use that
328: [22:15:16] <Guns21> since ctlr/segment1/segment2
329: [22:15:43] <Guns21> can call different actions depending of value of segment2
330: [22:16:27] <Stomach> UncleCheese - just matches the current url into chunks
331: [22:16:55] <UncleCheese> ah, so it's like explode('/', $url);
332: [22:16:56] <UncleCheese> nice
333: [22:17:03] <Stomach> yeah, quite handy
334: [22:17:09] <Guns21> I find quite stupid to make rule like this
335: [22:17:20] <Guns21> private static $url_handlers = array('$s1/$s2/$s3/$s4/$s5/$s6/$s7/$s8/$s10/$s11/$s12/$s13/$s14/$s15' => 'router', );
336: [22:17:37] <Guns21> just to be sure I didn't run out of params...
337: [22:19:14] <UncleCheese> whoa
338: [22:19:19] <UncleCheese> why on earth would you need to do that?
339: [22:19:28] <spronk> o_O
340: [22:19:35] <ss23> Because ther's no syntax for "all the parameters", UncleCheese/
341: [22:19:37] <ss23> I guess
342: [22:19:37] <ss23> :O
343: [22:19:40] <UncleCheese> surely tha't's not the answer
344: [22:19:44] <UncleCheese> so what's a use case?
345: [22:19:59] <ss23> 11:10:31 < Guns21> any option to make dynamic routing in controller?
346: [22:20:36] <Guns21> UncleCheese: nested objects with optional object of different type in the end
347: [22:21:22] <Guns21> and I can't use Pages since that last optional object is $many_many with it's parents, not $has_one...
348: [22:21:28] <UncleCheese> oh i see
349: [22:22:17] * Shrike_Finland quit (Quit: Leaving.)
350: [22:22:32] <Guns21> syntax for "all the parameters" - would come quite handy, if exists...
351: [22:23:52] <ss23> fucking fuck, someone didn't book the room for client training early enough so I have no time to set up
352: [22:23:55] <ss23> ;_;
353: [22:24:15] <Stomach> just grab a water bottle
354: [22:24:22] <Stomach> and squirt them when they do something wrong
355: [22:24:25] <ss23> o.o
356: [22:24:30] <ss23> It's not that kind of training, pervert!
357: [22:24:34] <ss23> Getting them all wet...
358: [22:24:36] <ss23> Humid...
359: [22:24:36] <spronk> lawl
360: [22:24:39] <ss23> It's so hot today too...
361: [22:24:40] <spronk> ss23 has to do training>?
362: [22:24:45] <ss23> Probably wearing a white shirt...
363: [22:24:56] <ss23> spronk: Kind of, they did "training" already, this is like "how do I use this feature you built?"
364: [22:25:02] <ss23> I'd rather not do it, I don't even know why I am doing it
365: [22:25:03] <spronk> short end of the stick there bro
366: [22:25:08] <ss23> I think the client specifically wanted me to
367: [22:25:16] <ss23> "Can I have Stephen teach me?"
368: [22:25:16] <spronk> get shit like that in your contract
369: [22:25:19] <spronk> "NO FUCKING TRAINING"
370: [22:25:21] <ss23> I mean, I am pretty awesome...
371: [22:25:23] <ss23> haha spronk
372: [22:25:30] <spronk> "NO FUCKING TECH SUPPORT"
373: [22:25:31] * hailwood has joined #silverstripe
374: [22:26:13] <ss23> I don't mind, it gives me a chance to tarnish our public facing image
375: [22:26:18] <spronk> lawl
376: [22:26:25] <ss23> Long haired dev wearing kiwicon tshirt trying to do training? DON'T MIND IF I DO
377: [22:26:46] <Guns21> in 3.0.* branch you could overwrite $Action in init...
378: [22:27:20] <adrexia> ss23 lol
379: [22:27:48] <Guns21> via setRouteParams()
380: [22:28:46] <ss23> Though 4 hours of training, this is going to suck really bad
381: [22:28:50] <ss23> Do people have breaks in training?
382: [22:28:58] <Colin[pi]> ss23: yes
383: [22:28:59] <ss23> They must right, like "okay at 2pm we take a 15 minute break
384: [22:29:01] <ss23> "
385: [22:29:03] <ss23> is that about right?
386: [22:29:13] <Colin[pi]> if for 4 hours, should have at least one break
387: [22:29:14] <ss23> I CAN'T BELIEVE THIS IS FOR FOUR HOURS
388: [22:29:21] <ss23> 15 minute break enough, Colin[pi]?
389: [22:29:25] <ss23> It's from 12 till 4
390: [22:29:28] <Colin[pi]> yeah, pitstop
391: [22:29:29] <ss23> so... I guess I'm not having lunch :O
392: [22:29:38] <spronk> 4 hours!/
393: [22:29:41] <spronk> !?!
394: [22:29:44] <Colin[pi]> i mean otherwise you'll have puddles on the chairs
395: [22:29:45] <ss23> I KNOW RIGHt
396: [22:29:48] <ss23> haha Colin[pi]
397: [22:30:10] <ss23> I think she wants me to help her as she's doing proper content entry
398: [22:30:18] <adrexia> 4 hours for featuree training?
399: [22:30:25] <adrexia> too long!
400: [22:30:32] <ss23> Yeah
401: [22:30:32] <Stomach> I always have a break at least every 1.5 hours when training, or people get bored and switch off
402: [22:30:33] <ss23> I dunno...
403: [22:30:39] <ss23> Stomach: Hmm, that could be fine too
404: [22:30:53] <ss23> That being said, I think she's going to be driving it mainly
405: [22:30:56] <ss23> So it'll be me who gets bored
406: [22:31:08] <ss23> If only adderal/ritalin was easier to get in Wellington :/
407: [22:31:11] <ss23> (hint hint...)
408: [22:31:26] <Stomach> so now SS devs are looking for drugs on IRC
409: [22:31:26] <adrexia> oh so really, it's more like "Peer CMS content entry"?
410: [22:31:28] <Stomach> new high point
411: [22:31:29] <Colin[pi]> lol ss23
412: [22:31:31] <Stomach> (get it)
413: [22:31:31] <ss23> hahaha Stomach
414: [22:31:39] <Colin[pi]> Stomach: not the first iem
415: [22:31:40] <ss23> adrexia: I think, but I haven't discussed it with her properly
416: [22:31:41] <Colin[pi]> *time
417: [22:31:43] <Colin[pi]> ;p
418: [22:31:54] <adrexia> well, 4 hours toi me sounds really excessive
419: [22:31:57] <ss23> yeah
420: [22:32:08] <ss23> I didn't organise it and kind of forgot about it
421: [22:32:11] <ss23> I was meant to prepare on Friday
422: [22:32:19] <ss23> AND SINCE I DON'T HAVE THE MEETING ROOM IN ADVANCE IT FUCKS ALL MY SHIT UP
423: [22:32:37] <ss23> It must suck to be client facing most of the time
424: [22:33:08] <Colin[pi]> ss23: you have no idea :P
425: [22:33:23] <Colin[pi]> my job would be perfect without clients
426: [22:33:24] <Colin[pi]> :D
427: [22:33:27] <ss23> heh
428: [22:33:31] <ss23> I make that comment often
429: [22:33:32] <ss23> :D
430: [22:34:34] <irogue_> ss23: I don't have a phone on my desk, don't let any clients get my cellphone number, and don't include my skype in my email sig
431: [22:34:38] <Guns21> fuck it, I'll just leave it like
432: [22:34:40] <Guns21> private static $url_handlers = array( '$s1/$s2/$s3/$s4/$s5/$s6/$s7/$s8/$s10/$s11/$s12/$s13/$s14/$s15' => 'router' );
433: [22:34:48] <Guns21> looks stupid, but does the work
434: [22:34:59] <irogue_> basically I'm trying hard to not be client-facing :P
435: [22:35:09] <Colin[pi]> irogue_: oh wow, never give them your mobile number... NEVER
436: [22:35:13] <ss23> irogue_: Do you meet with clients though?
437: [22:35:18] <ss23> Project teams do, right?
438: [22:35:29] <irogue_> ss23: yup, but that's fine, it's the whole team
439: [22:35:36] <ss23> :D
440: [22:35:42] <ss23> You're probalby more client facing than me then
441: [22:35:43] <irogue_> it's the one-on-one stuff that's most annoying
442: [22:35:53] <irogue_> e.g. phone calls
443: [22:36:03] <ss23> oh yeah, I get a bit of phone calls
444: [22:36:50] <irogue_> esp cos on the phone people expect an answer on the spot. whereas emails it's easier to say to team "okay, client has asked for something stupid, how should I respond?" and have a quick discussion on how to handle the stupidity
445: [22:37:08] <ss23> Meh, only takes a bit of a knack to deal with it
446: [22:37:15] <ss23> Most people I get called about I'm like "lol make a ticket bye"
447: [22:37:57] <Colin[pi]> the ones that annoy me are the ones that send an email, and then call within like 30 seconds
448: [22:38:03] <Colin[pi]> "oh did you read my email/"
449: [22:38:11] <Colin[pi]> um, it hasnt even reached my inbox yet?
450: [22:38:15] <adrexia> ss23 you talked to clients more than I ever did
451: [22:38:24] <adrexia> I saw them more often
452: [22:38:31] <ss23> Oh yeah I guess so, I talk in text a lot
453: [22:38:33] <adrexia> but almost never had a phone conversation
454: [22:38:35] <Colin[pi]> ss23 is just a people person
455: [22:38:40] <ss23> :D
456: [22:38:41] * ss23 spins
457: [22:38:44] <irogue_> mostly just one client i'm talking about, and if we ask them to make tickets theyre like NO I AM ALMIGHTY CLIENT YOU MAKE TICKETS FOR ME
458: [22:39:01] <Colin[pi]> irogue_: mm the worst kind
459: [22:39:21] <spronk> I AM CLIENT MAN
460: [22:39:26] <spronk> I SHOULD NOT HAVE TO MAKE TICKET
461: [22:39:39] <Colin[pi]> IN SOVIET RUSSIA, TICKET MAKES YOU
462: [22:39:45] <spronk> TICKET FOR YOUR CONVENIENCE
463: [22:39:50] <spronk> I NOT CARE TICKET
464: [22:40:36] <ss23> fired from support
465: [22:40:39] <ss23> we no longer do your tickets
466: [22:40:45] <ss23> (srsly we have fired clients before o/)
467: [22:41:03] <Colin[pi]> \o as have I, now
468: [22:41:20] <irogue_> as opposed to another client we're working with at the moment who apologises profusely to us for being a bit slow to move tasks to done BECAUSE SHE HAS BRONCHITIS
469: [22:41:22] <Colin[pi]> sorry, put up with your shit for a year, and a year too long... KTHXBYE
470: [22:41:34] <irogue_> and then brings us cake
471: [22:41:36] <ss23> 11:41:20 < irogue_> as opposed to another client we're working with at the moment who apologises profusely to us for being a bit slow to move tasks to done BECAUSE SHE HAS BRONCHITIS
472: [22:41:40] <ss23> aint nobody got time for that
473: [22:41:52] <Colin[pi]> irogue_: d'aww
474: [22:42:54] <irogue_> ss23: bahaha
475: [22:47:34] * Guns21 quit (Ping timeout: 246 seconds)
476: [23:06:36] * codetoday has joined #silverstripe
477: [23:18:55] * codetoday quit (Remote host closed the connection)
478: [23:21:24] <Colin[pi]> tsk tsk, that's just sloppy, google: http://imgur.com/SleIvuN
479: [23:27:51] * StefanLehmann has joined #silverstripe
480: [23:35:22] <UncleCheese> how come there's no ipv5?
481: [23:35:36] <Colin[pi]> how come there's no windows 9?
482: [23:36:41] <Colin[pi]> UncleCheese: http://programmers.stackexchange.com/questions/185380/ipv4-to-ipv6-where-is-ipv5
483: [23:36:53] <Colin[pi]> The second version (of Internet Stream Protocol), known variously as ST-II or ST2, distinguishes its own packets with an Internet Protocol version number 5, although it was never known as IPv5.
484: [23:37:33] <Ryan-Toast> Colin[pi]: thirdpary if statements
485: [23:37:46] <Colin[pi]> Ryan-Toast: yep that seems the most plausible
486: [23:37:58] <Colin[pi]> if (version.startsWith("Windows 9")) { } etc.
487: [23:38:03] <Ryan-Toast> yup
488: [23:39:43] <pippy> private static $has_one = array( 'Parent' => 'DataObject' );
489: [23:39:55] <pippy> why does silverstripe hate this with gridfields?
490: [23:40:33] <adrexia> hate it?
491: [23:40:46] <adrexia> in what why?
492: [23:42:39] <UncleCheese> You can't use DataObject as a root class
493: [23:42:55] <UncleCheese> DataObject doesn't have a table
494: [23:43:37] <adrexia> Oh, taht's the actual code? I though that was just a placeholder
495: [23:43:53] <pippy> UncleCheese: thanks!
496: [23:43:59] <Colin[pi]> adrexia: me too
497: [23:45:04] <pippy> so if I wanted to parent an object to either a generic sitetree or dataobject, I can't?
498: [23:45:16] <adrexia> Sitetree you can
499: [23:45:20] <Colin[pi]> ^
500: [23:45:24] <Colin[pi]> dataobject neg
501: [23:45:27] <Colin[pi]> because no table
502: [23:45:28] <adrexia> dataobject... you could create an inbetween class?
503: [23:45:35] <adrexia> and make all your dataobjects extend that
504: [23:45:47] <adrexia> but, not often worth it
505: [23:46:08] <pippy> adrexia: cheers
506: [23:46:23] <adrexia> oh, you mean you want the parent to be pretty much anything?
507: [23:46:28] <adrexia> yeah, I've been there
508: [23:46:40] <pippy> right now i only need sitetree, but i was wanting to make it generic and extendable
509: [23:46:47] * adrexia nods
510: [23:47:27] <pippy> funny that all it is is a int pointing to the ID of the parent. I am setting the ID manually...
511: [23:47:38] <pippy> though it would be bad practice i'd think
512: [23:48:03] <adrexia> well, gridfield handles a lot of things for you
513: [23:48:21] <adrexia> so it could cause trouble if its not the type it expects
514: [23:49:57] * Pitts7burgh7 has joined #silverstripe
515: [23:51:19] * What has joined #silverstripe
516: [23:51:56] <pippy> private static $db = array( 'ParentID' => 'int' /* danger stupid hack*/ );
517: [23:51:58] <pippy> this works!
518: [23:52:19] <pippy> though I'm trying to figure out how much this is going to bite me the ass in the future
519: [23:54:09] <Colin[pi]> pippy: nah don't worry... what could possibly go wrong?
520: [23:54:12] <Colin[pi]> ^_^
521: [23:54:34] <ss23> BUILDING FEATURES FOR THE CLIENT DURING TRAINING
522: [23:54:35] <adrexia> Hmmm....
523: [23:54:38] <ss23> GOTTA LOVE It
524: [23:55:02] <adrexia> pippy - my danger danger signals just went off at that code
525: [23:55:42] <adrexia> ss23 - are you really supposed toi do that?
526: [23:56:28] <adrexia> pippy- you can actually add multiple "parents" by adding extra has_ones
527: [23:57:00] <adrexia> so setting Parent to sitetree doesn't stop you using it elsewhere later
528: [23:58:18] <pippy> adrexia: yeah
529: [23:58:38] <pippy> it does stop me if i want to have the dataobject as a child of another dataobject though
530: [23:58:58] <adrexia> Oh
531: [23:59:05] <adrexia> yeah, I've done that
532: [23:59:22] <adrexia> not by moving the parent relation though
533: [23:59:23] <pippy> i might delete the database to see if silverstripe stops me from having a name ending with ID
534: [23:59:37] <adrexia> It doesn't
535: [23:59:54] <adrexia> it's parentID I'd shy away from
536: [23:59:59] <adrexia> there is some magic in that one

These logs were automatically created by ss-log on irc.freenode.net.