#silverstripe IRC Log

IRC log for 4 December 2013

All timestamps are in UTC.

1: [00:04:29] * EasyCo has left #silverstripe
2: [00:04:31] <zippy__> Snowman23: = ss23?
3: [00:04:49] <zippy__> antmas: you do the wednesday runs?
4: [00:04:55] <Snowman23> zippy__: yeah
5: [00:05:02] * EasyCo_ has joined #silverstripe
6: [00:06:12] <antmas> zippy__: wednesday runs?
7: [00:07:26] <zippy__> antmas: http://waimeaharriers.nelson.org.nz/ they do a 5km run Wednesday at 6pm
8: [00:07:43] <zippy__> 5k summer series
9: [00:07:57] <antmas> zippy__: never heard of it
10: [00:08:06] <antmas> zippy__: also, that is a MOTHERFUCKINGWEBSITE
11: [00:08:36] <Pyromanik> mother fucking wednesday
12: [00:08:38] <Pyromanik> urgh
13: [00:08:40] <Pyromanik> gawd
14: [00:08:48] <Pyromanik> MOVING SUCKS ;_;
15: [00:09:14] * EasyCo_ is now known as EasyCo
16: [00:09:16] <Pyromanik> fuck memories, should just burn them all and start fresh.
17: [00:09:21] <Pyromanik> :<
18: [00:09:27] <Pyromanik> but... memories so good.
19: [00:10:00] <antmas> this is the first whole year where I haven't moved in 4 years
20: [00:10:17] * Snowman23 quit (Ping timeout: 246 seconds)
21: [00:10:18] <AlphaCactus> i can't wait to never move again
22: [00:10:18] <antmas> moved 3 times in one year last year o.O
23: [00:10:43] <EasyCo> Gypsy
24: [00:10:51] <zippy__> ditto this year! been crazy
25: [00:11:34] <antmas> we were going to buy our first house until...
26: [00:11:39] <antmas> ..government
27: [00:12:08] <zippy__> bugger… we managed to re-buy before they put that in
28: [00:12:28] <Pyromanik> antmas moved 3 times in one year last year o.O
29: [00:12:33] <Pyromanik> gawd, like being a student
30: [00:13:08] <Pyromanik> well, I have successfully cleaned 1/3rd of the house.
31: [00:13:17] <antmas> Pyromanik: I was a student :(
32: [00:13:28] <Pyromanik> time to go see about oil and a filter that's probably going to cost me $120 for some reason :(
33: [00:13:37] <antmas> Pyromanik: dude
34: [00:13:40] <antmas> change it yoself
35: [00:14:21] <Pyromanik> Oh yup, there we go. Found pricing list online.
36: [00:14:33] <Pyromanik> "Base Service" $240
37: [00:14:34] <Pyromanik> WTF
38: [00:15:03] <antmas> it will cost like $50 if you do it yourself
39: [00:15:26] <Pyromanik> antmas: normally I would. But no oil catcher, no washer, no filter, no oil, no tools, and no strength in my left arm.
40: [00:15:36] <antmas> Pyromanik: guts
41: [00:15:56] <antmas> I never NOT feel ripped off going to a mechanic
42: [00:17:38] <antmas> one thing I'll probably never do again is replace drum pads o.O
43: [00:17:43] * Snowman23 has joined #silverstripe
44: [00:18:26] <Pyromanik> haha antmas, fk that noise.
45: [00:22:58] * camfindlay quit (Quit: camfindlay)
46: [00:26:08] * an_Eskimo has joined #silverstripe
47: [00:29:16] * SightUnseen1 has joined #silverstripe
48: [00:31:11] * Mech has joined #silverstripe
49: [00:31:17] * zfmf has joined #silverstripe
50: [00:32:48] * zfmf quit (Client Quit)
51: [00:33:10] * zfmf has joined #silverstripe
52: [00:33:31] * Mech quit (Client Quit)
53: [00:35:01] <zippy__> mm here I was thinking Taylor was going to get 200, he's running out of partners!
54: [00:38:25] <antmas> zippy__: do some work!
55: [00:38:28] <antmas> :P
56: [00:38:37] <zippy__> I am, got it on the website :)
57: [00:38:41] <zippy__> video stream
58: [00:40:10] * zfmf quit ()
59: [00:45:29] * UncleCheese quit (Quit: UncleCheese)
60: [00:46:28] * UncleCheese has joined #silverstripe
61: [00:48:41] * jedateach quit (Quit: jedateach)
62: [00:57:35] * UncleCheese quit (Quit: UncleCheese)
63: [01:05:57] * UncleCheese has joined #silverstripe
64: [01:09:27] * jedateach has joined #silverstripe
65: [01:10:25] * jedateach has left #silverstripe
66: [01:16:59] <Ryan-Toast> Does anyone have a paste of a previos/next page function?
67: [01:18:19] <Snowman23> SilverStripe sux!
68: [01:18:22] * Snowman23 flops
69: [01:19:39] <spronk> lol
70: [01:21:07] <Ryan-Toast> My rapid development framework is starting to take shape, yay: http://i.imgur.com/hNNpfct.png
71: [01:22:20] <Snowman23> lol
72: [01:22:24] <Snowman23> BEAUTIFUL SHIT
73: [01:23:01] <Ryan-Toast> Snowman23: What can I say? I'm a linguist.
74: [01:23:10] <Snowman23> A cunning one?
75: [01:23:16] <Ryan-Toast> Defs
76: [01:23:28] <Ryan-Toast> The name of my summer hockey team is cunning stunts.
77: [01:24:57] <Ryan-Toast> Snowman23: Do you know of a good way to get previous/next pages in a sitetree for SS 3.x?
78: [01:25:06] <Snowman23> Nope!
79: [01:25:28] <Ryan-Toast> Snowman23: AWESOME
80: [01:26:24] <simon_w> Ryan-Toast, you've already got naturalNext
81: [01:26:31] <simon_w> naturalPrev is empty though
82: [01:27:47] <Ryan-Toast> simon_w: how do I use it? I can't seem to find it in the Docs
83: [01:27:57] <simon_w> $object->naturalNext()
84: [01:28:15] <Ryan-Toast> so I can just return it in a function in the class then?
85: [01:28:24] <antmas> "I can't seem to find it in the Docs"
86: [01:28:29] <antmas> said everyone, all the time
87: [01:28:37] <Snowman23> simon_w: I have a gridfield "Add new Subscription" form (the same one I've ben playing with for a while) ,and it has two dropdowns. The second one should be populated with dropdowns dependant on the first. Is there a simple way of doing this out of the box, or should I write custom JavaScript to dynamically JSON in new dropdown options?
88: [01:28:49] <simon_w> Ryan-Toast, you can call it directly from the template if you want to
89: [01:29:01] <Ryan-Toast> simon_w: orly? Nice.
90: [01:31:29] <UncleCheese> simon_w: Ryan-Toast : I quite like the naturalPrev() function, myself
91: [01:31:36] * SightUnseen has joined #silverstripe
92: [01:31:39] <UncleCheese> you always know exactly what it's going to return
93: [01:31:56] <Ryan-Toast> UncleCheese: Would I just call$naturalNext in my template?
94: [01:32:11] <UncleCheese> $naturalNext.Title
95: [01:32:12] <UncleCheese> yeah
96: [01:32:17] <UncleCheese> $naturalNext.Link
97: [01:32:28] * SightUnseen has left #silverstripe
98: [01:32:30] <UncleCheese> although, you'd be wise to check existence first
99: [01:33:01] <Ryan-Toast> UncleCheese: I;'ve tried it so far with nothing displaying.
100: [01:34:22] <UncleCheese> You may need to pass it a classname, too
101: [01:34:31] <UncleCheese> $NaturalNext('SiteTree').Link
102: [01:35:33] <Ryan-Toast> UncleCheese: No dice.
103: [01:35:46] * chillu quit (Quit: chillu)
104: [01:54:43] <Snowman23> SADFADSFASDF
105: [01:54:55] <Snowman23> I feel like I've been fighting SilverStripe to get a simple fucking form done for days
106: [01:55:00] <Snowman23> I could've done it so easily in pure PHP
107: [01:55:01] * Snowman23 cries
108: [01:56:10] <Avro> Yeah, after that comment you BETTER deop yourself
109: [01:56:27] <Avro> Another comment like it and it's -v. One more, and +kb yourself goodbye.
110: [01:56:30] <Avro> :D
111: [02:01:58] <antmas> dude
112: [02:02:05] <antmas> try fighting legacy SQL
113: [02:02:08] <antmas> o.O
114: [02:02:52] <antmas> *legacy anything
115: [02:02:59] <UncleCheese> god damn, SOAP sucks hard
116: [02:03:12] <antmas> UncleCheese: what are you doing?
117: [02:03:25] <Pyromanik> antmas: looks like I might be going the diy route anyway
118: [02:03:31] <Pyromanik> mate said he'd help :)
119: [02:03:38] <Pyromanik> just gotta buy the bits now :D
120: [02:03:40] <UncleCheese> dealing with an external authentication API
121: [02:03:45] <UncleCheese> it's SOAP that returns JSON
122: [02:04:01] <UncleCheese> I dare you to invent something more categorically fucked up than that
123: [02:04:02] <Pyromanik> dat sump bung washer, fresh oil, boom we're in business.
124: [02:04:12] <Pyromanik> Oh, and to find out how much oil goes into a 4k from empty :P
125: [02:04:14] <antmas> Pyromanik: what car is it?
126: [02:04:18] <antmas> ah
127: [02:04:20] <antmas> 4K
128: [02:04:20] <Pyromanik> 3.5 L from memory
129: [02:04:25] <Pyromanik> mmhm
130: [02:04:26] <antmas> I though it was 4
131: [02:04:31] <Pyromanik> KP61R
132: [02:04:38] <antmas> wait
133: [02:04:40] <antmas> 3.3L
134: [02:04:46] <antmas> I think
135: [02:04:49] <antmas> udk
136: [02:04:49] <Pyromanik> yeh, sounds about right.
137: [02:04:52] <antmas> ;__;
138: [02:04:57] <Pyromanik> I'll txt the old man xD
139: [02:05:05] <Snowman23> 15:03:45 < UncleCheese> it's SOAP that returns JSON
140: [02:05:05] <Snowman23> 15:04:01 < UncleCheese> I dare you to invent something more categorically fucked up than that
141: [02:05:11] <Snowman23> Oh ho ho ho, give me a second to find you a link...
142: [02:05:17] <UncleCheese> lol
143: [02:05:23] <Snowman23> http://www.lysator.liu.se/~jc/brainfuck.xslt.html
144: [02:05:24] <Snowman23> There, UncleCheese
145: [02:05:47] <antmas> Snowman23: aaaaaaaand webmarshall has me
146: [02:05:50] <antmas> :<
147: [02:05:56] <Snowman23> antmas: What?
148: [02:06:11] <Pyromanik> UncleCheese: how about a microsoft layer implementing an api requested to be RESTful but isn't, sometimes returns JSON, sometimes HTML, sometimes there's an error structure, sometimes there's just a string. Sometimes when creating a record there's no way to know if it was success or failure.
149: [02:06:12] <antmas> Snowman23: clicked the link with fuck in it
150: [02:06:17] <antmas> webmarshall picked it up
151: [02:06:35] <Snowman23> What is webmarshall, and why are you subjecting yourself to a workplace that cares about the word "fuck"? o.o
152: [02:06:53] <antmas> :P
153: [02:06:54] <Pyromanik> lol antmas, nek minute angry visit from stressed out sweaty overweight IT guy who rushes into the room.
154: [02:07:03] <antmas> Pyromanik: hahaha
155: [02:07:09] <antmas> I just got 'the look'
156: [02:07:16] <Pyromanik> from whom?
157: [02:07:31] <antmas> from our christian network admin
158: [02:07:32] <antmas> lol
159: [02:07:37] <Snowman23> dude
160: [02:07:38] <Snowman23> fuck that so much
161: [02:07:39] <Snowman23> like
162: [02:07:42] <Snowman23> :/
163: [02:07:46] <UncleCheese> nah, i can understand it
164: [02:07:49] <Pyromanik> antmas: rofl, so they don't get to see the link?
165: [02:07:51] <Snowman23> I swear, if any place I work at ever does stuff like that, I would quit
166: [02:07:57] <UncleCheese> One time, I heard the word "fuck" and my day was so much worse after that..
167: [02:08:02] <Pyromanik> only that you tried to look at 'fuck'?
168: [02:08:04] <UncleCheese> The company actually lost heaps of money that day
169: [02:08:12] <UncleCheese> it was really bad
170: [02:08:13] <Snowman23> lolwhat, UncleCheese?
171: [02:08:19] <Pyromanik> UncleCheese: because of the fuck?
172: [02:08:23] <Snowman23> UncleCheese: I PRESUME THAT IS SARCASM
173: [02:08:24] <Snowman23> :P
174: [02:08:25] <UncleCheese> the best thing we can do is never let anyone hear that series of sounds every again
175: [02:08:27] <Pyromanik> cause or effect, that is the question xD
176: [02:08:34] <Snowman23> hahaha
177: [02:08:58] <Pyromanik> I think the very best cause of action here is for the complete blanket ban of video games.
178: [02:09:02] <antmas> yeah, lots of other stuff gets through easily
179: [02:09:06] <antmas> just that link didn't
180: [02:09:10] <UncleCheese> it's so arbitrary, isn't it?
181: [02:09:19] <UncleCheese> i mean, so you say, "eff" instead
182: [02:09:22] <UncleCheese> how is that better?
183: [02:09:25] <Pyromanik> we'll just make them illegal, then that GTA won't be teaching our childrens the bad words that their father blurts out every night.
184: [02:09:29] <Snowman23> Pyromanik: Well serial killers do play video games... so obviously if we want to keep us safe...
185: [02:09:37] <UncleCheese> how is civilisation being advanced by the substitution of "eff" for "fuck?"
186: [02:09:43] <Snowman23> Pyromanik: I solve this problem by not letting my children see their father! :D
187: [02:09:55] <antmas> motherfuckingwebsite got through
188: [02:09:57] <antmas> so idk
189: [02:10:07] <Pyromanik> UncleCheese: well obviously it's becoming more sanitised
190: [02:10:19] <Pyromanik> won't someone please think of the children!
191: [02:10:28] <Pyromanik> /maudeflanders
192: [02:10:55] <Snowman23> SHE DIED, YO
193: [02:11:03] <Pyromanik> Indeed.
194: [02:11:12] <UncleCheese> I used to work in a school, and the English-as-a-second-language students (ESL) were assigned the derogative term "essels"
195: [02:11:17] <UncleCheese> (like the acronym pronounced)
196: [02:11:32] <UncleCheese> so they changed the acronym to "English Language Learner" (ELL)
197: [02:11:37] <Pyromanik> lol
198: [02:11:40] <UncleCheese> six weeks later, they were all being called "Ells"
199: [02:11:48] <UncleCheese> what a waste of fucking time
200: [02:11:51] <antmas> Eels
201: [02:11:56] <Pyromanik> better idea: teach kids not to be racist.
202: [02:12:00] <UncleCheese> you think?
203: [02:12:04] <Pyromanik> TOO HARD MAN
204: [02:12:08] <Pyromanik> dat 'murka
205: [02:12:15] <UncleCheese> that school didn't allow you to call the guy who cleans the floors a "janitor"
206: [02:12:18] <UncleCheese> nor "custodian"
207: [02:12:24] <UncleCheese> they were "custodial engineers"
208: [02:12:27] <Pyromanik> Racisim is a constituional god given right~
209: [02:12:30] <Pyromanik> !
210: [02:12:32] <UncleCheese> i mean, that's just fucking blatantly false
211: [02:12:37] <UncleCheese> it's like..
212: [02:12:48] <UncleCheese> if you work at KFC are you a poultry research consultant?
213: [02:13:00] <Pyromanik> they stepped it up from custodial technician then?
214: [02:13:08] <UncleCheese> oh sorry, i think that was it
215: [02:13:09] <UncleCheese> one of those two
216: [02:13:11] <Pyromanik> they must have spent weeks studying for that exam.
217: [02:13:11] <UncleCheese> whatever
218: [02:13:12] <UncleCheese> eft it
219: [02:13:18] <UncleCheese> hahaha
220: [02:13:19] <UncleCheese> totally
221: [02:13:19] <Pyromanik> EFF IT LAWLS
222: [02:13:25] <lewellyn> UncleCheese: you can actually get a degree in custodial engineering, btw.
223: [02:13:30] <UncleCheese> and he was drunk half the time
224: [02:13:33] <lewellyn> it's far more than being a janitor.
225: [02:13:42] <UncleCheese> some engineer
226: [02:13:47] <Pyromanik> lewellyn: is it the engineering of custodial tools?
227: [02:13:53] <UncleCheese> it's just classic "everyone's a winner" mentality
228: [02:13:56] <UncleCheese> drives me crazy
229: [02:13:56] <Pyromanik> because if not, they ain't making shit.
230: [02:14:00] <Pyromanik> so not engineers.
231: [02:14:21] <Pyromanik> UncleCheese: luckily NZ not that stupid.
232: [02:14:22] <lewellyn> Pyromanik: in some cases, they actually have to *gasp* design systems.
233: [02:14:34] <UncleCheese> alright speaking of acronyms, back to my SOAP
234: [02:14:40] <Pyromanik> lewellyn: dem rosters, rite. So hard.
235: [02:14:53] <Snowman23> Aw shit I think Pyromanik might be racist against janitors
236: [02:14:55] <Pyromanik> SON OF A POOPY
237: [02:15:09] <UncleCheese> 100 points to the person who can come up with the best sarcastic alternate translation of the acronym "SOAP"
238: [02:15:13] <lewellyn> i knew one guy who made good money planning the routes that garbage trucks would take in new building developments.
239: [02:15:30] <Pyromanik> Snowman23: nope, I just dunno what one is. We just had cleaners at my school, office, etc.
240: [02:15:32] <lewellyn> high efficiency for all involved with a minimum of inconvenience to anyone.
241: [02:15:33] <Snowman23> UncleCheese: SUCKY OVERCOMPLICATED ASSHOLE PERCHASE
242: [02:15:37] <UncleCheese> HA!
243: [02:15:41] <Pyromanik> BECAUSE THEY CLEAN, IT'S NOT DEROGITORY.
244: [02:16:07] <Snowman23> Pyromanik: Your mothers probably sucked a few cocks in her time, but believe me, it's fucking derogitory to go around calling her a cocksucker.
245: [02:16:08] <lewellyn> his thing was "if you notice the garbage or the truck, i failed."
246: [02:16:31] <Pyromanik> Snowman23: well, actually... 'fellatio artist' would be much more appropriate.
247: [02:16:40] <Snowman23> lol
248: [02:16:43] <UncleCheese> wouldn't it be great if there was upward mobility in the field of custodial engineering? so that these guys actually worked really hard?
249: [02:16:43] <Pyromanik> cock itself is a derogitory term.
250: [02:16:46] <Pyromanik> so, yes it would be.
251: [02:16:52] <UncleCheese> that would be really funny
252: [02:16:56] <UncleCheese> you'd see all this innovation
253: [02:17:12] <Pyromanik> UncleCheese: I think they call that actual engineering.
254: [02:17:13] <Snowman23> Well there was that one guy, right?
255: [02:17:23] <UncleCheese> but unfortunately, the only ambition is "keep your job".. which requires.. "don't be drunk more than 50% of the time"
256: [02:17:26] <Snowman23> He started as a janitor and worked his way up to getting job offers at the NSA and shit?
257: [02:17:33] <Snowman23> Hunting someone, iirc
258: [02:17:40] <Snowman23> :3
259: [02:17:53] <Pyromanik> nfi what Snowman23
260: [02:17:58] <Snowman23> lol
261: [02:17:59] <UncleCheese> those guys bust their asses, man.. and they take so much shit
262: [02:18:02] <UncleCheese> clean up a lot of it, too
263: [02:18:05] <Pyromanik> but I should go buy service bits for 4k
264: [02:18:05] <Snowman23> Pyromanik: Will Hunting?
265: [02:18:14] <Snowman23> GOOD WILL HUNTING?
266: [02:18:19] <Pyromanik> Snowman23: NEVER SEEN IT
267: [02:18:24] <Snowman23> asdfs
268: [02:18:24] <Snowman23> what
269: [02:18:25] <Snowman23> the fuck
270: [02:18:32] <Snowman23> This is where Pyromanik's hatreted of janitors stems from
271: [02:18:33] <Pyromanik> dealwithit.jpg
272: [02:18:35] <Snowman23> >.<
273: [02:19:16] <Pyromanik> fuck I need to go to work but I can't be fucked.
274: [02:19:22] <Pyromanik> urgh
275: [02:19:47] <Pyromanik> ok back to windows I guess.
276: [02:20:04] <Pyromanik> (real ones, with glass 'n shit)
277: [02:24:15] <UncleCheese> anyone in here follow NFL?
278: [02:30:55] <antmas> UncleCheese: I kinda want to
279: [02:30:58] <antmas> :P
280: [02:31:00] <UncleCheese> ha
281: [02:31:05] <UncleCheese> do you understand the game?
282: [02:31:39] <UncleCheese> if so, you might appreciate my little pet project: http://fourthdown.unclecheeseproductions.com
283: [02:35:20] <antmas> UncleCheese: yeah I get most of it
284: [02:35:34] <UncleCheese> interesting experiement in probabilities and stuff
285: [02:35:54] <UncleCheese> all based on real data from 10 years of NFL plays
286: [02:35:57] * an_Eskimo quit (Ping timeout: 250 seconds)
287: [02:37:58] * Azure quit (Ping timeout: 246 seconds)
288: [02:39:50] <EasyCo> UncleCheese: That is fucking awesome.
289: [02:40:05] <UncleCheese> Thanks! Lots of fun to build.
290: [02:40:33] <EasyCo> Is that data from the data set released a couple of months ago?
291: [02:40:37] <UncleCheese> i got the idea when i heard about that college coach who neve rpunts
292: [02:40:40] <EasyCo> I remember reading about it on HN
293: [02:40:44] <UncleCheese> and he claimed the stats were on his side
294: [02:41:00] * Azure has joined #silverstripe
295: [02:41:01] <UncleCheese> no, i found a site that has pretty much everything that ever happened in the NFL recorded in a searchable database
296: [02:41:07] <UncleCheese> so i just scraped the shit out of it
297: [02:41:30] <UncleCheese> conclusion.. there's no way in hell it is in your best interest to always go for it on 4th down
298: [02:41:46] <UncleCheese> it may, however, be true that coaches don't go for it enough
299: [02:42:21] <EasyCo> How did you scrape it?
300: [02:42:30] <UncleCheese> fucking regex, man
301: [02:42:36] <antmas> UncleCheese: nice work
302: [02:42:41] <UncleCheese> cURL requests and regex FTW
303: [02:42:44] <EasyCo> Fucking regex!
304: [02:42:50] <antmas> we have a few people here who watch it
305: [02:43:06] <UncleCheese> i started with DOMDocument and Xpath, but that proved a huge PIA
306: [02:43:38] <EasyCo> So you were regex'ing for html?
307: [02:43:52] <UncleCheese> yeah, pretty much
308: [02:43:54] <EasyCo> Instead of using some sort of dom parser?
309: [02:43:56] <EasyCo> Woah
310: [02:43:59] <UncleCheese> kind of primitive, but it worked
311: [02:44:02] <EasyCo> Brave man
312: [02:44:19] <UncleCheese> as it turned out, there were some dead giveaways in the html source code that were easy to grab hold of
313: [02:44:43] <UncleCheese> http://github.com/unclecheese/nfl-fourth-down
314: [02:44:48] <EasyCo> How many raw scenarios did you manage to get?
315: [02:44:54] <UncleCheese> jesus.. thousands
316: [02:45:18] * an_Eskimo has joined #silverstripe
317: [02:45:20] <UncleCheese> so everything that happens is based on real history.. when it's 4th and 4 on the < 39 yard line, the outcomes of the punt and the conversion attempt are drawn from history
318: [02:45:56] <UncleCheese> https://github.com/unclecheese/nfl-fourth-down/tree/master/js/data
319: [02:46:07] <EasyCo> So some scenarios have smaller sample sets
320: [02:46:29] <antmas> UncleCheese: I think we broke it :P
321: [02:46:34] <UncleCheese> you did?!
322: [02:46:39] <UncleCheese> good, i want to know
323: [02:46:43] <UncleCheese> submit a pull request. :)
324: [02:46:55] <antmas> pfft
325: [02:46:58] <antmas> :?
326: [02:47:01] <antmas> actually, just IE
327: [02:47:17] <UncleCheese> EasyCo: that's true.. 4th and 20 is more random than reality based
328: [02:47:35] <UncleCheese> but unfortunately, you just don't get too many 4th and 20 plays to look at
329: [02:47:55] <UncleCheese> i thought about merging them, to create one massive "4th and long" data set
330: [02:48:02] <UncleCheese> but that's probably even worse
331: [02:48:12] <UncleCheese> oh i'm sure IE is hosed
332: [02:48:15] <UncleCheese> which version?
333: [02:48:53] <EasyCo> UncleCheese: Thanks for sharing, I'm going to have a good look at it after work.
334: [02:49:04] <antmas> UncleCheese: 9
335: [02:49:09] <UncleCheese> oh that's not good
336: [02:49:16] <UncleCheese> IE9 is supposed to behave itself
337: [02:49:27] <UncleCheese> are you getting a JS error?
338: [02:49:28] <antmas> UncleCheese: just perpetual loading gif
339: [02:49:32] <UncleCheese> wonderful
340: [02:50:10] <antmas> UncleCheese: I'll send you a pic of what I get
341: [02:50:45] <antmas> http://i.imgur.com/8gg3nmA.png
342: [02:51:18] <antmas> UncleCheese: oh an SCRIPT5007: Unable to get value of the property 'name': object is null or undefined
343: [02:51:30] * Ryan-Toast quit (Quit: Ryan-Toast)
344: [02:51:30] <antmas> for model.js?bust=1386125463873, line 204 character 9
345: [02:51:30] <UncleCheese> haha
346: [02:51:32] <UncleCheese> awesome
347: [02:51:37] <UncleCheese> let me see what that is
348: [02:51:50] <antmas> :?
349: [02:52:18] * Ryan-Toast has joined #silverstripe
350: [02:52:32] <UncleCheese> huh
351: [02:52:50] <zippy__> wot
352: [02:53:28] <antmas> It's my Friday tomorrow :D
353: [02:53:31] <antmas> \o/
354: [02:55:48] <EasyCo> I like that scraper
355: [02:55:53] <EasyCo> Tidy and to the point
356: [02:58:46] <UncleCheese> Thanks, EasyCo .. it's pretty provisional
357: [02:58:59] <UncleCheese> Probably should have made something more reusable
358: [02:59:25] <UncleCheese> my process was copy & paste last script, make changes, comment out the old one. :)
359: [02:59:28] <EasyCo> It got the job done though didn't it!
360: [02:59:33] <EasyCo> Haha yah I figured that
361: [03:00:14] <EasyCo> Put that through a code smell thingamajig.
362: [03:00:21] <EasyCo> :)
363: [03:09:20] <Pyromanik> antmas: dem nerves when chappy at counter gives you oil filter about 1/2 the size of the one on the car :<
364: [03:09:55] <Pyromanik> still, 4K is 4K, I should hope at least :<
365: [03:11:57] * SightUnseen1 quit (Quit: Leaving.)
366: [03:12:16] * mwm has joined #silverstripe
367: [03:13:39] <mwm> Hello, having an issue with a FieldList. After I use $fields->removeByName('LinkID'), and add a field with the same name into a SelectionGroup, it seems to be adding the field again in its original position, and I get the error:
368: [03:13:47] <mwm> collateDataFields() I noticed that a field called 'record_58_LinkID' appears twice in your form: 'Form_bulkEditingForm'. One is a 'TreeDropdownField' and the other is a 'TreeDropdownField'
369: [03:14:43] <mwm> I printed out $fields->dataFields(), and it shows the field has been added again in its original position. This problem has been giving me a headache, not sure what is going wrong...
370: [03:15:19] * nickmolhoek1 has joined #silverstripe
371: [03:15:29] * nickmolhoek quit (Ping timeout: 245 seconds)
372: [03:17:59] <unsignedint> hey does anyone know if there is a way, in silverstripe, to automatically delete all the files out of /assets that arent referenced anywhere in the database?
373: [03:18:16] * zippy__ quit (Ping timeout: 260 seconds)
374: [03:20:52] <EasyCo> unsignedint: yes
375: [03:21:08] <EasyCo> Hold
376: [03:21:32] <unsignedint> how? the sync assets task only adds new files in assets/ that arent in the db
377: [03:21:33] <unsignedint> ok
378: [03:21:43] <antmas> Pyromanik: you'll be fine
379: [03:22:24] <EasyCo> unsignedint: Yah my bad, that what I was thinking
380: [03:22:31] <EasyCo> I misread your msg
381: [03:22:37] <Ryan-Toast> I swear there was a TotalCount function avaliable in a loop./
382: [03:22:41] <unsignedint> oh damn, had my hopes up for a sec :P
383: [03:22:44] <EasyCo> You could easily enough use the FilesystemSyncTask as a base
384: [03:22:57] <EasyCo> and write your own
385: [03:23:02] <unsignedint> this client has like 200mb of images in their assets/ folder but I think theyr eonly using like 10mb of them
386: [03:23:04] <EasyCo> Should be quite ez
387: [03:24:01] <Pyromanik> antmas: yeh, should be. Just checked and it's a plain 4K, so long as I don't have a filter for a 4K C or something silly, I'll be fine.
388: [03:24:12] <Pyromanik> though they're probably the same anyway
389: [03:24:56] <Pyromanik> Oh C stands for California spec. F that noise.
390: [03:26:00] <antmas> Pyromanik: you might have missed this today http://jalopnik.com/hillclimb-drifting-in-a-830-horsepower-scion-fr-s-1475710774
391: [03:26:11] <Pyromanik> U was Jap spec and this is NZ New, and E is injected, should be good.
392: [03:27:01] <Pyromanik> antmas: wait, scion FR, that's the rest of the world's 86 right?
393: [03:27:17] <antmas> Pyromanik: yo
394: [03:27:22] <antmas> also Subaru BRZ
395: [03:27:31] * SightUnseen1 has joined #silverstripe
396: [03:27:50] <Pyromanik> yup :>
397: [03:28:09] <Pyromanik> ha, old man says 3.5L with filter, 4 without.
398: [03:28:43] <antmas> well if put in 3 and then wait, you'll have a pretty good idea
399: [03:29:05] <Pyromanik> mm
400: [03:29:22] <Pyromanik> fuck, this guy can't be american, he's going around corners!
401: [03:29:35] <Pyromanik> that aren't all banked left turns!
402: [03:29:48] <antmas> 830hp in that thing must be terrifying
403: [03:29:50] <Pyromanik> xD
404: [03:29:53] <antmas> given the weight of it
405: [03:31:30] <Pyromanik> urgh, second car is silvia.
406: [03:31:43] <Pyromanik> coolness factor -29
407: [03:32:37] <antmas> at it wasn't a ceffy
408: [03:32:42] <antmas> at least*
409: [03:32:48] <Pyromanik> heh, yeh.
410: [03:33:04] <Pyromanik> don't get me wrong, silvia a nice car.
411: [03:33:09] <antmas> straight 6 power! derp!
412: [03:33:39] <Pyromanik> but after every single boy racer from here to japan itself has derped all over the repuatation... nah, i'll pass.
413: [03:33:43] <antmas> good cars, just too many of them owned by dick heads
414: [03:33:52] <Pyromanik> yup :>
415: [03:33:52] <antmas> ^^
416: [03:34:05] * UncleCheese quit (Quit: UncleCheese)
417: [03:34:51] <Pyromanik> anyway, cool vid, cheers :>
418: [03:34:56] <antmas> np
419: [03:35:06] <antmas> you still going to IRC when you depart?
420: [03:36:46] <Pyromanik> mebbe
421: [03:36:48] <Pyromanik> need internets for it
422: [03:36:57] <Pyromanik> but if I can, probably
423: [03:37:57] <Pyromanik> awesome. Hover craft on frozen lake to save deer.
424: [03:38:36] <Pyromanik> ROFL THEY'RE TOWING THEM
425: [03:38:42] <antmas> Pyromanik: heh yeah, saw that
426: [03:43:13] <Pyromanik> aww fuck now hang on, KP61 US
427: [03:43:15] <Pyromanik> model
428: [03:43:21] <Pyromanik> FFFFFFFFFFFFFFFFFFFFFFFFFFFF I hate you wikipedia.
429: [03:45:49] <Pyromanik> Ah well, trust the system.
430: [03:46:03] <Pyromanik> Hopefully I'm not sold up the river :S
431: [03:49:51] * DigNZ quit (Quit: DigNZ)
432: [03:55:42] * Pyromanik has left #silverstripe
433: [03:58:04] * antmas quit (Quit: Page closed)
434: [04:16:17] * UncleCheese has joined #silverstripe
435: [04:17:58] * cloph_away has joined #silverstripe
436: [04:19:18] * cloph quit (Ping timeout: 245 seconds)
437: [04:33:20] * Jayden has joined #silverstripe
438: [04:33:53] <Jayden> Is the code example here correct? http://doc.silverstripe.org/framework/en/reference/sitetree#allowed-children-default-child-and-root-level
439: [04:34:10] <Jayden> the last bit does not make and sense to me, and I think there is an extra comma
440: [04:34:27] <Jayden> *any sense
441: [04:39:38] <Jayden> Ahh I think I get it. The asterix is missing in the explanation for allowed_children
442: [04:40:22] * HONEY has joined #silverstripe
443: [04:40:22] * Guest53041 quit (Read error: Connection reset by peer)
444: [04:40:47] * HONEY is now known as Guest22293
445: [04:47:35] * UncleCheese quit (Quit: UncleCheese)
446: [04:51:36] <EasyCo> How does Requirements::combine_files decide where to put the js?
447: [04:51:47] <EasyCo> It's jst jamming it in the middle of the doc
448: [05:02:33] * varaib1e has joined #silverstripe
449: [05:04:13] * variable_office quit (Ping timeout: 252 seconds)
450: [05:06:19] * an_Eskimo quit (Ping timeout: 250 seconds)
451: [05:10:06] * variable_office has joined #silverstripe
452: [05:12:42] * varaib1e quit (Ping timeout: 240 seconds)
453: [05:15:09] <Snowman23> EasyCo: iirc it looks for any other JS or the end of the document or </body> etc
454: [05:15:30] <EasyCo> Snowman23: Yep, so it seems. Odd behaviour if you ask me.
455: [05:15:43] <EasyCo> Why not just put it before then </body>
456: [05:16:07] * SightUnseen2 has joined #silverstripe
457: [05:16:21] <Snowman23> *shrug*
458: [05:18:30] * SightUnseen2 has left #silverstripe
459: [05:18:31] * SightUnseen3 has joined #silverstripe
460: [05:20:07] * Guest22293 quit (Ping timeout: 245 seconds)
461: [05:21:10] * Azure_ has joined #silverstripe
462: [05:22:23] * Azure quit (Ping timeout: 245 seconds)
463: [05:22:25] * SightUnseen1 quit (Ping timeout: 245 seconds)
464: [05:24:48] * EasyCo quit (Read error: Connection reset by peer)
465: [05:25:07] * EasyCo has joined #silverstripe
466: [05:35:37] * Azure_ is now known as Azure
467: [05:37:08] * SightUnseen3 quit (Quit: Leaving.)
468: [05:40:52] * DigNZ has joined #silverstripe
469: [05:40:57] * DigNZ quit (Client Quit)
470: [05:53:07] * mwm quit (Ping timeout: 250 seconds)
471: [06:35:47] * Jayden quit (Quit: Jayden)
472: [07:11:15] * SightUnseen has joined #silverstripe
473: [07:16:44] * SightUnseen has left #silverstripe
474: [07:23:02] * dilshan has joined #silverstripe
475: [07:25:41] * dilshan quit (Client Quit)
476: [07:28:06] * Azure quit (Quit: My MBP went to sleep.)
477: [07:36:13] * DesignerX has joined #silverstripe
478: [08:00:22] * Ryan-Toast quit (Quit: Ryan-Toast)
479: [08:31:21] * SightUnseen1 has joined #silverstripe
480: [08:47:05] * zippy__ has joined #silverstripe
481: [08:55:06] * learner_new has joined #silverstripe
482: [08:55:30] * SightUnseen1 quit (Quit: Leaving.)
483: [09:07:21] * ajmitch_ has joined #silverstripe
484: [09:07:51] * kinglozzer has joined #silverstripe
485: [09:07:53] * pippy_ has joined #silverstripe
486: [09:08:00] * coldhand_ has joined #silverstripe
487: [09:10:32] * Shrike_Finland has joined #silverstripe
488: [09:11:06] * FrozenFire[alt] has joined #silverstripe
489: [09:12:16] * FrozenFire quit (*.net *.split)
490: [09:12:16] * pippy quit (*.net *.split)
491: [09:12:16] * ajmitch quit (*.net *.split)
492: [09:12:16] * coldhand quit (*.net *.split)
493: [09:12:20] * Sj0hn has joined #silverstripe
494: [09:14:15] <learner_new> how to implement sorting in grid field?
495: [09:16:40] * violetina has joined #silverstripe
496: [09:17:15] <kinglozzer> learner_new: Use https://github.com/ajshort/silverstripe-gridfieldextensions
497: [09:18:03] <kinglozzer> Docs https://github.com/ajshort/silverstripe-gridfieldextensions/blob/master/docs/en/index.md#orderable-rows
498: [09:22:14] <learner_new> i need to convert a complextable field code to grid field...can any one help me ? i am new one to silver stripe and have no any idea where to start this stuff with?
499: [09:22:45] * violetina quit (Ping timeout: 245 seconds)
500: [09:24:05] <kinglozzer> http://doc.silverstripe.org/framework/en/changelogs/3.0.0#gridfield-replacement-for-tablelistfield-and-complextablefield-gridfield
501: [09:36:24] * zippy__ quit (Quit: zippy__)
502: [10:33:18] <learner_new> ERROR [User Error]: Uncaught LogicException: GridField doesn't have a modelClassName, so it doesn't know the columns of this grid.
503: [10:33:52] <learner_new> what is this error ?
504: [10:39:23] <learner_new> ERROR [User Error]: Uncaught LogicException: GridField doesn't have a modelClassName, so it doesn't know the columns of this grid.
505: [10:40:06] <kinglozzer> Can you paste your code here? http://pastie.org/
506: [10:42:30] <Zauberfisch23> has anyone got the SS coding guidlines completely configured in phpstorm/intellij?
507: [10:44:11] * DimiStripe has joined #silverstripe
508: [10:47:01] <DimiStripe> Hi guys, SS 3.1 - is there any way of removing Pagetype from being shown in sitetree as a page ? (we have products as pages, and theres 10K products, which SS fials to load. So we moved those to ModelAdmin, but need to totaly remove queries from sitetree
509: [10:52:28] <Zauberfisch23> DimiStripe:
510: [10:52:36] <Zauberfisch23> class Foo extends Page implements HiddenClass
511: [10:55:51] * NoobNL_ has joined #silverstripe
512: [10:57:30] <DimiStripe> Zauberfisch23: Thanks will try . (But this won't ruin the ModelAdmin views ?)
513: [10:57:56] <Zauberfisch23> I guess it will, but not sure
514: [10:58:16] <Zauberfisch23> try it
515: [10:58:38] <Zauberfisch23> alternativly you can overwrite stageChildren() of Page and filter out all the products there
516: [11:00:47] <DimiStripe> ok,will give it a go
517: [11:00:47] <DimiStripe> :)
518: [11:00:50] <DimiStripe> tahnks
519: [11:44:35] <Zauberfisch23> Snowman23: does SS have coding conventions for javascript?
520: [11:54:54] * chillu has joined #silverstripe
521: [11:56:34] * Avro quit (Remote host closed the connection)
522: [12:20:38] * svandragt quit (Ping timeout: 240 seconds)
523: [12:21:49] * Kapdap quit (Remote host closed the connection)
524: [12:25:55] * violetina has joined #silverstripe
525: [12:30:52] <DimiStripe> Zauberfisch23: implements HiddenClass didnt work :(
526: [12:33:01] <kinglozzer> DimiStripe: I thought the number of children was limited anyway?
527: [12:33:29] <kinglozzer> IIRC it should be limited to 50 by default
528: [12:33:53] <kinglozzer> 250*
529: [12:35:45] <kinglozzer> If you're exceeding server usage or something with that, you can set it to less using the Hierarchy.node_threshold_leaf config item
530: [12:40:44] <NoobNL_> hi
531: [12:40:57] <NoobNL_> i get the folllowing error: [Strict Notice] Declaration of TrackedLink::create() should be compatible with that of Object::create()
532: [12:41:11] <NoobNL_> does someone knows what it means?
533: [12:41:53] <kinglozzer> Yeah, it means that TrackedLink::create() is not compatible with Object::create() :P
534: [12:42:31] <NoobNL_> hahah lol
535: [12:42:40] <NoobNL_> but why not?
536: [12:42:44] <kinglozzer> Your TrackedLink::create() function probably has arguments that Object::create() doesn't, or vice-versa
537: [12:43:23] * Robke has joined #silverstripe
538: [12:43:33] <Robke> hello :)
539: [12:43:53] <kinglozzer> I'd probably rename TrackedLink::create() to something else
540: [12:43:58] <Zauberfisch23> when is chillu expected zo be back?
541: [12:44:08] <DimiStripe> kinglozzer: is there any way I can just avoiud selecting pagetypes ? Or children of one pagetype ?
542: [12:44:11] <chillu> Huh?
543: [12:44:25] <Zauberfisch23> ah,herehe is
544: [12:45:38] <kinglozzer> Sorry DimiStripe, I don't know
545: [12:45:46] <Zauberfisch23> several questions
546: [12:46:22] <Zauberfisch23> 1) do you guys have phpstorm/intellij? if so do you hsve a import file for the coding convetions?
547: [12:46:41] <Zauberfisch23> 2) do we also have silverstripe javascript coding convetions?
548: [12:49:22] <Robke> hello, i want to add js which should do this: if you press +(picture) it add +1 to quantity and shows directly to template. is there any example of it, or how to do it? :)
549: [12:59:13] <chillu> Zauberfisch23: Some of us use PHPStorm, presumably that supports PHPCS? We don't have a full set of rules for the SS coding conventions there, just a start (what's running on scrutinizer-ci)
550: [12:59:42] <chillu> See https://github.com/silverstripe/silverstripe-framework/tree/3.1/tests/phpcs
551: [13:00:25] <chillu> We only have a couple of highlevel JS conventions: http://doc.silverstripe.org/framework/en/trunk/topics/javascript
552: [13:01:02] <chillu> They're a bit outdated though
553: [13:01:08] <Zauberfisch23> chillu: in regards of phpstorm, i am looking for a config for the auto formatter
554: [13:01:26] <Zauberfisch23> but i guess ill just build them myself
555: [13:01:59] <chillu> Ask via Twitter, if you're lucky somebody in SS Ltd. will read it on our intranet feed and respond
556: [13:02:34] <Zauberfisch23> ok
557: [13:02:59] <Zauberfisch23> going on:
558: [13:03:08] <Zauberfisch23> - http://stackoverflow.com/a/20283314/1119263
559: [13:03:18] <Zauberfisch23> see comments.
560: [13:03:30] * svandragt has joined #silverstripe
561: [13:04:28] <Zauberfisch23> if you have some time, im not that into the config stuff yet, maybe you alredy have the answer
562: [13:09:11] * Shashitechno has joined #silverstripe
563: [13:15:59] * learner_new quit (Ping timeout: 250 seconds)
564: [13:17:25] * UndefinedOffset has joined #silverstripe
565: [13:28:41] <svandragt> In my template how do I display a field added by an extension on SiteTree? $Field doesn't display anything
566: [13:29:51] * DimiStripe quit (Ping timeout: 250 seconds)
567: [13:29:52] <svandragt> nevermind :P
568: [13:33:41] <Zauberfisch23> chillu: question 4: what is the recommneded way to use composer now? (version of dependencies)
569: [13:34:58] * Shashitechno quit (Quit: Page closed)
570: [13:35:00] <Zauberfisch23> I have seen dev-master, 3.1.x-dev, 3.1, >=3.1.x-dev,<4.0, ...
571: [13:35:12] <chillu> The way we use on our official modules. Unless that's broken, it seems a bit work in progress in the composer lib...
572: [13:36:13] <chillu> ~3.1 should do, but its best to sanity check that against ~3.2 and ensure it works for unreleased dependencies (so includes 3.2.x-dev)
573: [13:37:10] <Zauberfisch23> I don't see ~ in the composer docs
574: [13:37:13] <Zauberfisch23> what is it for?
575: [13:37:36] <Zauberfisch23> ah, found it
576: [13:39:53] <Zauberfisch23> chillu: what branch does it fetch if I do ~3.1? master or 3.1?
577: [13:42:49] <chillu> probably master, but you'd further constrain that in your composer json
578: [13:43:31] * Dimistripe has joined #silverstripe
579: [13:43:43] * Robke quit (Ping timeout: 250 seconds)
580: [13:46:21] <Zauberfisch23> I don't get your last message
581: [13:47:37] <Zauberfisch23> also, so if it always gets master, but 3.1 is actually the most up2date branch at the moment, can we create a composer tag that is like "really-latest-3.x" or something? ^^
582: [13:47:59] <Zauberfisch23> so that it is actually possible to have composer fetch the latest 3.x that has my pull requests in them
583: [14:27:37] * catcher has joined #silverstripe
584: [14:31:54] * spronk quit (Ping timeout: 252 seconds)
585: [14:47:30] * violetina quit (Ping timeout: 245 seconds)
586: [14:55:54] * zfmf has joined #silverstripe
587: [14:56:16] * Shrike_Finland quit (Quit: Leaving.)
588: [14:58:42] * nickmolhoek1 quit (Ping timeout: 246 seconds)
589: [15:00:15] * violetina has joined #silverstripe
590: [15:00:43] * violetina quit (Remote host closed the connection)
591: [15:00:57] * violetina has joined #silverstripe
592: [15:00:57] * violetina quit (Remote host closed the connection)
593: [15:01:13] * violetina has joined #silverstripe
594: [15:03:14] * ARNHOE has joined #silverstripe
595: [15:08:29] * Azure has joined #silverstripe
596: [15:16:58] * Dimistripe quit (K-Lined)
597: [15:16:58] * NoobNL_ quit (K-Lined)
598: [16:06:39] * Sj0hn quit (Read error: Connection reset by peer)
599: [17:22:56] * kinglozzer quit ()
600: [17:34:21] * FrozenFire[alt] is now known as FrozenFire
601: [17:37:20] * svandragt quit (Ping timeout: 245 seconds)
602: [17:55:29] * ARNHOE quit ()
603: [17:55:32] * test___ has joined #silverstripe
604: [17:56:08] * test___ quit (Client Quit)
605: [18:24:17] * SightUnseen has joined #silverstripe
606: [18:24:58] * SightUnseen has left #silverstripe
607: [18:42:31] * catcher has left #silverstripe
608: [19:02:00] * mobiusnz has joined #silverstripe
609: [19:07:58] * mobiusnz quit (Quit: Leaving.)
610: [19:08:10] * mobiusnz has joined #silverstripe
611: [19:11:28] * mobiusnz quit (Client Quit)
612: [19:11:43] * mobiusnz has joined #silverstripe
613: [19:11:49] * mobiusnz has left #silverstripe
614: [19:12:26] * mobiusnz has joined #silverstripe
615: [19:14:08] * catcher has joined #silverstripe
616: [19:24:41] * antmas has joined #silverstripe
617: [19:26:06] * nickmolhoek has joined #silverstripe
618: [19:29:22] <antmas> guten morgen
619: [19:29:34] * lerni has joined #silverstripe
620: [19:39:09] <simon_w> Need hydration
621: [19:39:12] <simon_w> Need zircon
622: [19:39:16] <simon_w> Need aircon
623: [19:44:40] <simon_w> Also, caffeine
624: [19:44:44] <simon_w> I can at least get that
625: [19:45:26] * zippy__ has joined #silverstripe
626: [19:51:01] <antmas> mmmmmm dat cold aircon
627: [19:51:16] * Ryan-Toast has joined #silverstripe
628: [19:51:20] <simon_w> bleugh, the sauna-like nature of this office :(
629: [19:55:52] <Ryan-Toast> I am soaking fucking wet.
630: [19:56:25] <Ryan-Toast> Need to buy some better wet riding gear.
631: [19:56:28] <antmas> Ryan-Toast: no wet weather
632: [19:56:32] <antmas> ah there we go
633: [19:56:34] <antmas> :P
634: [19:56:59] <Ryan-Toast> The jacket is a little too short, so the rain creeps up my shirt if I'm in the rain too long :(
635: [19:58:03] <Ryan-Toast> Can dataobjects have many other dataobjects?
636: [19:58:15] <simon_w> yes
637: [19:58:20] <Ryan-Toast> Coolio.
638: [19:59:11] * Liquide has joined #silverstripe
639: [19:59:30] <simon_w> So hot and muggy
640: [19:59:45] <zippy__> Morning
641: [20:00:01] <Ryan-Toast> Morning
642: [20:00:16] <zippy__> whats new
643: [20:00:24] <Ryan-Toast> Rain.
644: [20:00:46] <Ryan-Toast> Trying to finish my boilerplate before my boss asks me to do something.
645: [20:00:47] <zippy__> thats been around since forever, so hardly new ....
646: [20:01:10] <zippy__> simon_w: got that new job yet?
647: [20:01:16] <simon_w> No idea
648: [20:01:23] <simon_w> If I do, I won't be starting until May anyway
649: [20:01:39] <zippy__> wow thats a long hiring process
650: [20:02:34] * UncleCheese has joined #silverstripe
651: [20:03:18] <simon_w> I'm not moving until the end of April
652: [20:03:41] <zippy__> moving out of welly?
653: [20:03:49] <zippy__> don't blame ya tbh!
654: [20:04:23] <simon_w> Moving country
655: [20:04:33] <simon_w> Wellington's great :p
656: [20:07:11] <antmas> simon_w: where to?
657: [20:07:21] <simon_w> Cranberry
658: [20:07:36] <antmas> simon_w: you could shack up with Colin!
659: [20:07:57] <simon_w> Or, you know, my girlfriend
660: [20:07:57] * antmas assumes simon_w means Canberra
661: [20:08:01] <simon_w> yeah
662: [20:11:30] <Ryan-Toast> Do you just save an UploadField as 'File' => 'File' if it's not an image?
663: [20:11:40] <simon_w> yes
664: [20:11:46] <Ryan-Toast> thanks :)
665: [20:11:56] * Snowman23 beeps
666: [20:12:21] * zippy__ kicks Snowman23 to reset him
667: [20:12:50] <zippy__> An International Cricket Council investigation into match-fixing by as many as three former Black Caps cricketers could be linked to an English newspaper sting last year.
668: [20:12:52] <zippy__> woooooooo
669: [20:12:55] <simon_w> In early for once Snowman23
670: [20:14:19] <antmas> I was actually late this morning
671: [20:14:27] <simon_w> So was I
672: [20:14:45] <antmas> slep through me alarm because Dune was playing (audiobook) and I didn't set me alarm to override it
673: [20:14:49] <antmas> slept*
674: [20:14:51] <Snowman23> Yeah
675: [20:14:54] <Snowman23> Got in 8:30am
676: [20:15:20] <simon_w> Soon you'll be getting in at my normal time!
677: [20:18:24] <Snowman23> lol no
678: [20:18:28] <Snowman23> only got in this morning for a meeting
679: [20:18:32] <Snowman23> going to get hot chocolate now
680: [20:18:37] <Snowman23> then do a release to prod or two
681: [20:18:40] <Snowman23> then another meeting
682: [20:18:46] <Snowman23> then maybe work for a few hours
683: [20:18:47] <Snowman23> then ISIG lunch
684: [20:19:01] * zippy__ is going to watch cricket
685: [20:21:01] * antmas is wokring on legacy VB code
686: [20:21:14] * simon_w is working on HHVM
687: [20:21:55] <antmas> how much are iPhone 5s' currently?
688: [20:22:02] <antmas> 5esses
689: [20:22:18] * DigNZ has joined #silverstripe
690: [20:22:21] <simon_w> store.apple.com/nz
691: [20:22:23] <simon_w> Look yourself :p
692: [20:22:30] <antmas> -_-
693: [20:22:32] <antmas> FINE
694: [20:22:44] <AlphaCactus> $1 with rape me for two years plan from at&t
695: [20:22:45] <simon_w> (mine was cheaper!)
696: [20:23:09] <antmas> meh, screw plans
697: [20:23:26] * antmas has always bought outright
698: [20:23:35] <simon_w> Also, the service you get at physical Apple stores is amazing
699: [20:23:51] <simon_w> You're just chatting with the blue shirt person and someone walks up and is all "Here's you phone"
700: [20:23:51] <antmas> simon_w: they don't really have one in Nelson
701: [20:24:00] <simon_w> antmas, they don't really have one in NZ :p
702: [20:24:06] <antmas> they have a third party Apple place but they are fucking dumb
703: [20:24:10] <antmas> simon_w: I guess
704: [20:24:18] <simon_w> Yoobee's the closest we've got
705: [20:24:22] <simon_w> And they're kinda bad
706: [20:24:39] <antmas> what are shipping times like in NZ for the online store?
707: [20:25:02] <simon_w> Next day
708: [20:25:09] <antmas> dang
709: [20:25:25] <antmas> awesome
710: [20:25:34] <Ryan-Toast> Is there something special I have to do to allow a DataObject to has_many DataObjects? getting a Call to a member function on a non-object
711: [20:26:01] <simon_w> Ryan-Toast, you need the reverse has_one, though that doesn't sound related
712: [20:27:34] <Ryan-Toast> simon_w: the class is FileGroup that has many GroupFiles. In GroupFiles I have a has_one 'FileGroup' => 'FileGroup' but should I be saying that it has a dataObject?
713: [20:27:48] <simon_w> No
714: [20:27:49] * SightUnseen1 has joined #silverstripe
715: [20:27:55] <simon_w> Like I said, the error doesn't sound related
716: [20:28:05] <Ryan-Toast> simon_w: Ah, right.
717: [20:28:22] <Ryan-Toast> simon_w: Can I pastebin you the two classes?
718: [20:28:36] <simon_w> Well, the line the error's on might be enough
719: [20:28:38] <simon_w> Start with that
720: [20:29:09] <Ryan-Toast> simon_w: the line error is saying that FileGroup when called in the GridField isn't an object
721: [20:30:24] * UncleCheese quit (Quit: UncleCheese)
722: [20:31:40] <simon_w> So you're doing $this->FileGroup instead of $this->FileGroup()?
723: [20:31:45] <simon_w> Just pastie your classes then
724: [20:34:05] * antmas quit (Ping timeout: 250 seconds)
725: [20:35:09] <Ryan-Toast> simon_w: Cheers, man. http://pastebin.com/17rWn4tJ
726: [20:35:09] * Sj0hn has joined #silverstripe
727: [20:35:42] <simon_w> Ryan-Toast, no ->owner, you're not in an Extension
728: [20:36:11] <Ryan-Toast> simon_w: <3
729: [20:36:20] <Ryan-Toast> simon_w: Will it populate the parent automatically?
730: [20:36:21] * UncleCheese has joined #silverstripe
731: [20:36:27] <simon_w> yes
732: [20:36:36] <Ryan-Toast> simon_w: How lovely.
733: [20:36:46] <simon_w> Ryan-Toast, also, many_many File, don't has_many it
734: [20:36:46] <Ryan-Toast> IRC needs a bitcoin tip bot
735: [20:36:53] <Zauberfisch23> :D
736: [20:37:06] <Ryan-Toast> simon_w: Why is that?
737: [20:37:12] <simon_w> No has_one
738: [20:37:20] <simon_w> (and there shouldn't be one either)
739: [20:37:34] <Ryan-Toast> simon_w: Just for best practises?
740: [20:38:06] <simon_w> Also, because it'll be 0 for most things and then you need multiple of them if you have multiple has_manys and it just gets messy
741: [20:38:22] <Ryan-Toast> simon_w: Ah, kay :) thanks.
742: [20:38:27] <Ryan-Toast> LEARNING EVERYDAY
743: [20:39:09] <UncleCheese> SOAP: Send Over Another Programmer
744: [20:39:12] <simon_w> EVERYDAY I'M LEARNING
745: [20:49:19] * Sj0hn quit (Quit: Ik ga weg)
746: [20:49:38] * Sj0hn has joined #silverstripe
747: [20:50:51] * antmas has joined #silverstripe
748: [20:50:52] * pyromaniik has joined #silverstripe
749: [20:51:12] <antmas> hot damn this album is good
750: [20:51:18] <pyromaniik> back in hospitaal
751: [20:51:32] <simon_w> Just in time for leaving?
752: [20:51:39] <pyromaniik> joy of joys.
753: [20:52:27] <pyromaniik> simon_w nah follow up check
754: [20:52:46] <simon_w> Not as bad then
755: [20:52:52] <pyromaniik> appointment at 9:30, still waiting.
756: [20:54:17] <antmas> pyromaniik: suck
757: [20:55:07] <pyromaniik> think i may have cleaned a bit hard yesterday though, atad more noticable in the shoulder today :(
758: [20:55:28] <antmas> pyromaniik: cleaning products might have messed up the brain?
759: [20:55:33] <antmas> huh
760: [20:55:42] <antmas> gmail doesn't support IE9 anymore?
761: [20:55:48] <pyromaniik> i ain't got time fo' this
762: [20:56:45] <Ryan-Toast> With two ii's in your name it looks like Pyro Man Lick.
763: [20:56:58] <pyromaniik> antmas, nah it was probably the reaching out to clean the high windows...
764: [20:57:45] <pyromaniik> Ryan-Toast whatever floats your boat
765: [20:57:59] <Ryan-Toast> pyromaniik: Doesn't usually have two ii's, does it?
766: [20:59:09] <pyromaniik> nah. but makes it hard to connect when i accidentally didn't log out elsewhere
767: [20:59:44] * Sj0hn quit (Quit: Ik ga weg)
768: [20:59:44] <pyromaniik> so 2 i's avoids that.
769: [21:00:01] * Sj0hn has joined #silverstripe
770: [21:05:25] <pyromaniik> urgh, better get back to trying to hear my name softly spoken by a quiet nurse on the other side of a crowded meeting room
771: [21:06:28] * Sj0hn quit (Quit: Ik ga weg)
772: [21:06:31] <antmas> hmmm anyone here worked with Mailchimp before?
773: [21:07:06] <Ryan-Toast> antmas: Yup
774: [21:07:07] <simon_w> Bah, looks like async functions don't play nice when you return null before hitting an await
775: [21:08:30] <antmas> Ryan-Toast: would it be possible to post generated emails to a template?
776: [21:08:49] <antmas> so when they're sent using mailchimp, they can be posted to the template at the same time
777: [21:08:54] <antmas> a long shot :P
778: [21:08:57] <Ryan-Toast> antmas: Yes, their api handles this
779: [21:09:03] <Ryan-Toast> Oh, wait.
780: [21:09:18] <antmas> Ryan-Toast: yeah, not signing up via the site
781: [21:09:31] <Ryan-Toast> I'm not sure about that, but the API is pretty powerful.
782: [21:09:48] <Ryan-Toast> I know you can send information to the template, so I'm sure you can send it back.
783: [21:09:58] <antmas> Ryan-Toast: thanks, yeah I've played around with it before, but not integration like that exactly
784: [21:10:07] <antmas> I'll give it a shot
785: [21:10:27] <Ryan-Toast> May the odds be ever in your favor, or whatever.
786: [21:10:41] <antmas> XD
787: [21:10:47] * Sj0hn has joined #silverstripe
788: [21:11:11] * pyromaniik has joined #silverstripe
789: [21:11:37] <pyromaniik> success! an x-ray!
790: [21:12:27] <pyromaniik> now to resume waiting for the doctor to ho through it with me :<
791: [21:12:49] <pyromaniik> err, go*
792: [21:14:15] * Sj0hn quit (Client Quit)
793: [21:18:36] * zfmf quit ()
794: [21:18:38] <pyromaniik> le sigh.
795: [21:19:32] * catcher quit (Quit: Leaving)
796: [21:19:35] <Ryan-Toast> Can you call self::methodName() in a dataExtension?
797: [21:21:13] <Ryan-Toast> nvm, you can use $this->owner
798: [21:21:18] <Ryan-Toast> that's handy.
799: [21:28:15] * UndefinedOffset quit (Quit: Leaving.)
800: [21:29:53] * svandragt has joined #silverstripe
801: [21:34:43] * svandragt quit (Read error: Connection reset by peer)
802: [21:34:56] * svandragt has joined #silverstripe
803: [21:39:57] * svandragt quit (Read error: Connection reset by peer)
804: [21:39:57] * svandragt1 has joined #silverstripe
805: [21:44:39] * svandragt1 quit (Read error: Connection reset by peer)
806: [21:44:57] * svandragt has joined #silverstripe
807: [21:51:02] * svandragt quit (Ping timeout: 240 seconds)
808: [21:58:03] * Kapdap has joined #silverstripe
809: [22:10:16] <AlphaCactus> so let me get this straight. a decade ago NZ was mostly sheep. but now it is some sheep and mostly silverstripe developers from other countries?
810: [22:12:50] <antmas> AlphaCactus: that's not limited to Silverstripe
811: [22:13:03] <antmas> most 'NZ' developers are foreigners
812: [22:13:19] <Ryan-Toast> terk err jerbs?
813: [22:13:26] * Pyromanik has joined #silverstripe
814: [22:13:54] <Pyromanik> Finally out of that hellhole
815: [22:14:04] <Pyromanik> But they want me to go see a physio :<
816: [22:14:08] <Pyromanik> I got shit to do man!
817: [22:14:11] <antmas> Pyromanik: it's the smell that gets me
818: [22:14:52] <AlphaCactus> durk r durr!
819: [22:15:15] <Pyromanik> antmas: was outpatients, so not so much of a smell.
820: [22:15:15] <Ryan-Toast> AlphaCactus: durk r durk de dur d dr
821: [22:15:39] <Pyromanik> aww shit, suddenly team america re-enactments.
822: [22:15:57] <simon_w> The spew scene?
823: [22:16:01] <Pyromanik> Snowman23: you love that film iirc?
824: [22:16:11] <antmas> who doesn't?
825: [22:16:15] <antmas> instaclassic
826: [22:16:22] <Pyromanik> I don't.
827: [22:16:29] <antmas> Pyromanik: you have no soul
828: [22:16:53] <Pyromanik> Fuck I feel like sleeping. This is bullshit.
829: [22:17:08] <Pyromanik> so much to do :<
830: [22:17:28] <antmas> just get real drunk
831: [22:17:33] <Pyromanik> no can do
832: [22:17:39] <Pyromanik> bone healing.
833: [22:17:40] <simon_w> I felt like sleeping. Then I had some Mountain Dew
834: [22:17:46] <Pyromanik> haha
835: [22:17:49] <Pyromanik> could be a plan
836: [22:18:02] <antmas> simon_w: I thought you were trying to be healthy?
837: [22:18:07] <antmas> :P
838: [22:18:30] <simon_w> Yeah, but I'm not sleeping that great recently and my drugs don't play nice with being tired
839: [22:19:15] <Pyromanik> :<
840: [22:19:28] <Pyromanik> I have codine, it doesn't play nice with anything.
841: [22:19:34] <Pyromanik> codeine*
842: [22:19:40] <Pyromanik> so I just don't take it.
843: [22:19:48] <antmas> simon_w: sucks
844: [22:19:56] <antmas> I'm not sleeping either due to meds
845: [22:19:59] <antmas> ;__;
846: [22:20:00] <Pyromanik> painkillers are for pussies anyway.
847: [22:20:04] <Pyromanik> xD
848: [22:20:24] <Pyromanik> Here I am wishing I just had the time to sleep!
849: [22:22:03] * Sj0hn has joined #silverstripe
850: [22:22:34] <Snowman23> 11:16:01 < Pyromanik> Snowman23: you love that film iirc?
851: [22:22:40] <Snowman23> Team America is pretty cool, yeah
852: [22:22:46] <Snowman23> Not 'love' though I guess
853: [22:22:51] <Pyromanik> herpa derpa derp. Some chob writes an article about including an icon with links to indicate what they are and suddenly the whole internet explodes with "OH WOW SO COOL" etc etc how cutting edge, better make this new best practice etc etc. Fuck'n, NOTHING NEW CHUMPS, blackcandy did that 5 years ago. STOP BEING BAD AT INTERNET, fuck!
854: [22:22:51] <Snowman23> It's just a reall good classic!
855: [22:24:03] <simon_w> Snowman23, so why hasn't the thing I sent to security@ss been fixed? :p
856: [22:24:05] <antmas> Pyromanik: pretty much the same for any 'new' web tech posted on blogs
857: [22:24:18] <Pyromanik> antmas: I know.
858: [22:24:25] <Pyromanik> this is my rage with internet hipsters.
859: [22:24:33] <Pyromanik> http://www.smashingmagazine.com/smashing-newsletter-issue-98/
860: [22:24:35] <Snowman23> simon_w: o.o
861: [22:24:42] <Snowman23> simon_w: When did you send it? I haven't noticed anything on security@ for a while
862: [22:24:56] <Pyromanik> "OH HAI GAIZ, you can 'OPTIMIZE' code by not using defunct vendor prefixes!"
863: [22:24:59] <Pyromanik> DERP DERP DUH
864: [22:25:03] <simon_w> Snowman23, Monday
865: [22:25:33] <Pyromanik> but hipsters so derp they need to have an article written about it to make them not use / update their copypasta code anymore.
866: [22:25:48] <Snowman23> simon_w: Are you sure? I don't see it here :O
867: [22:25:54] <Snowman23> Last seucirty@ email I got was on the 30th
868: [22:25:55] <simon_w> Snowman23, yes.
869: [22:26:07] <Snowman23> TO THE SPAM FILTER
870: [22:26:17] <EasyCo> hate hate hate
871: [22:26:34] <Snowman23> Interesting! a bunch of emails that aren't spam
872: [22:26:41] <Pyromanik> EasyCo: All the hates!
873: [22:26:45] <AlphaCactus> Pyromanik: I'll take care of ur codine. my address is...
874: [22:26:56] <Snowman23> simon_w: I don't see it here sorry. I'll check the google group, maybe it somehow just missed me
875: [22:26:57] <simon_w> Snowman23, duh, it's gmail
876: [22:27:02] <Pyromanik> AlphaCactus: $300 USD and it's yours.
877: [22:27:11] <AlphaCactus> better be lifetime stash
878: [22:27:17] <guzzlefry> Does anyone know offhand of gridfield_relationsearch was bugged in 3.1.1?
879: [22:27:18] <Snowman23> simon_w: What was the subject (you can PM if sekret)
880: [22:27:22] <guzzlefry> s/of/if
881: [22:27:32] <simon_w> Snowman23, Flush token bypass
882: [22:27:33] <Pyromanik> AlphaCactus: ~15 tabs of 30mg
883: [22:27:42] <Pyromanik> xD
884: [22:27:42] <Snowman23> simon_w: WHAT! I MADE THAT EMAIL ALREADY :O
885: [22:27:58] <simon_w> Snowman23, yup, and I did it too!
886: [22:28:06] <simon_w> Notice how it still isn't fixed?
887: [22:28:15] <simon_w> Also:
888: [22:28:15] <simon_w> Dec 2 11:49:50 simon postfix/smtp[16775]: 3354760393: to=<security@silverstripe.com>, relay=aspmx.l.google.com[74.125.129.27]:25, delay=3.5, delays=0.3/0.01/2.1/1.1, dsn=2.0.0, status=sent (250 2.0.0 OK 1385938190 iz5si26264499pbd.32 - gsmtp)
889: [22:28:18] <Snowman23> simon_w: It hasn't come through. You might want to try resending it or verifying the address or something
890: [22:28:19] <Pyromanik> make moar emails!
891: [22:28:20] <AlphaCactus> Pyromanik: yep, u don't need no beer then
892: [22:28:28] <Snowman23> simon_w: Weird, it's not showing up :O
893: [22:28:38] <Pyromanik> AlphaCactus: it's crap.
894: [22:28:44] * simon_w guesses it doesn't like the links: text ratio
895: [22:29:05] <Pyromanik> If I've learnt anything from this experience (that isn't "Don't fall off a mountain bike"), it's that opium is shit.
896: [22:29:18] <Pyromanik> as a pain killer.
897: [22:29:53] <AlphaCactus> Pyromanik: ask ur doc for hydro instead
898: [22:30:18] <antmas> Pyromanik: AlphaCactus or a big ol' bag 'o WEED!
899: [22:30:19] <Pyromanik> Everything still hurts the same, but your head is in the clouds so you just don't care as much. But with low dosage Codeine like I have, it really don't make fuck all difference, so you still have pain, you can't concentrate much, drive or drink. Fuck'n waste of time.
900: [22:30:27] <Pyromanik> antmas: don't smoke :<
901: [22:30:34] <Pyromanik> AlphaCactus: ha, neg.
902: [22:30:46] <Pyromanik> They gave me tramadol in the ambo
903: [22:30:50] <Pyromanik> was crap too.
904: [22:31:11] <AlphaCactus> weed is legal here
905: [22:31:18] <AlphaCactus> kinda
906: [22:31:23] <Pyromanik> Yeh, but sadly not here.
907: [22:31:41] <Pyromanik> well, as the same kinda 'kinda' that you have.
908: [22:31:43] <AlphaCactus> 30 mg is a lot, I remember 5 or 10 of hydro being pretty potent
909: [22:31:44] <Pyromanik> it should be.
910: [22:31:47] <Pyromanik> they should tax it.
911: [22:31:52] <Pyromanik> SUDDENLY NO MORE GOVT DEBT.
912: [22:31:53] <Pyromanik> fuck.
913: [22:31:55] <Pyromanik> derp.
914: [22:32:01] <AlphaCactus> they do, just here its not legal to grow or sell, but you can have it...
915: [22:32:08] <Pyromanik> lol
916: [22:32:22] <Pyromanik> I thought you could get it as medication?
917: [22:32:32] <AlphaCactus> recreational use also legal
918: [22:32:40] <Pyromanik> heh, random.
919: [22:32:58] <antmas> AlphaCactus: where?
920: [22:32:59] <Pyromanik> but yeh, if America of all places can do it...
921: [22:33:09] <Pyromanik> Miami iirc?
922: [22:33:10] * Limres has joined #silverstripe
923: [22:33:11] <Snowman23> wait
924: [22:33:11] <Snowman23> simon_w: uh
925: [22:33:16] <AlphaCactus> they just don't have driving intoxication limits, tax, sale rules, and growing rules worked out. Washington State baby
926: [22:33:22] <Snowman23> simon_w: No thats fine pls ignore me
927: [22:33:26] <Pyromanik> ah
928: [22:33:29] <Snowman23> simon_w: (That is, the uh is fine, but the email isn't here still)
929: [22:33:43] <Pyromanik> AlphaCactus: well we have 'drug driving' laws already.
930: [22:33:43] <AlphaCactus> WA and Colorado I think are only legal states for recreational use so far.
931: [22:34:03] <Pyromanik> can get the equiv of 'DUI' while stoned..
932: [22:34:42] <Limres> Hi all, the "preview" of my custom page which extends "Page" in the 3.1 CMS is causing a redirect which prevents me from being able to access settings. Is there a way to disable the preview via a querystring or something?
933: [22:34:50] <simon_w> Snowman23, I tried with some more text
934: [22:36:09] <Limres> Ah, moving very fast I managed to set it to Edit mode only. I guess I Could have done that on another page and it would have stayed that way :P
935: [22:36:21] * Liquide quit ()
936: [22:38:06] * zippy__ quit (Quit: zippy__)
937: [22:38:17] <Snowman23> simon_w: Works now, sweet
938: [22:38:24] <Snowman23> simon_w: Will see if anyone replies :P
939: [22:38:25] <simon_w> Snowman23, now fix it!
940: [22:38:32] <Snowman23> simon_w: Have you fucking *seen* that code?!
941: [22:38:37] <simon_w> Yes
942: [22:38:50] <Snowman23> It's the most nice to look at, over-archectuered and impossible to fix code I've ever seen in PHP
943: [22:39:00] <simon_w> But I'm not on security, so isn't my job to fix it!
944: [22:39:07] <Snowman23> I'M NOT ON SECURITY EITHER
945: [22:39:14] <simon_w> Yet you get the security emails
946: [22:39:17] <Snowman23> Though I apperciate the change from "support bitch" to "guy who fixes security"
947: [22:39:20] <Snowman23> :P
948: [22:39:35] <Snowman23> simon_w: Eh, I gotta get those so I can keep hacking PocketRent! I don't wanna lose my persistence on your servers :)
949: [22:39:41] <Snowman23> :D
950: [22:40:05] * Kapdap quit (Quit: leaving)
951: [22:40:15] <Pyromanik> Have fun kids
952: [22:40:17] * Pyromanik has left #silverstripe
953: [22:40:26] <Limres> Hm, first time I have tried the out of the box permissions settings on 3.1
954: [22:41:03] <Limres> and setting "View" and "Edit" to Admin only removes my custom page from menus, but doesn't actually stop anons from accessing it via the url directly...
955: [22:41:40] <simon_w> Limres, have you hit Publish?
956: [22:41:48] <Limres> I thought that extending "Page" and parent::init() in the init() without overriding anything would be enuff
957: [22:41:53] <Limres> yes thanks Simon
958: [22:41:59] <Limres> it did disappear from the menu upon publish
959: [22:42:09] <Limres> but being thorough I just hit the direct url
960: [22:42:13] <Limres> and I was in...
961: [22:42:17] <Limres> any clue where to look?
962: [22:42:26] <simon_w> Are you logged in as an admin?
963: [22:42:43] <Limres> I was when I made settings in FF
964: [22:42:50] <Limres> but tested in Chrome and made sure I was not logged in
965: [22:43:12] <Limres> I can write my own security for it, but rather admin it in the CMS
966: [22:43:23] <Limres> in case they want to grant another group access
967: [22:43:27] <Limres> without payin me
968: [22:44:04] * Kapdap has joined #silverstripe
969: [22:44:26] <Limres> simon_w any chance it has to do with allowed_actions? I wouldnt have thought so...
970: [22:44:35] <Limres> that is regardless of user
971: [22:44:36] <Limres> I think
972: [22:44:47] * Kapdap quit (Client Quit)
973: [22:45:08] * Kapdap has joined #silverstripe
974: [22:45:24] <Limres> only other thing is that I have a route
975: [22:45:29] * Kapdap quit (Client Quit)
976: [22:45:33] <Limres> for it in addition to it extending page
977: [22:45:37] * Kapdap has joined #silverstripe
978: [22:45:38] * Kapdap quit (Client Quit)
979: [22:45:39] <Limres> that must be the problem
980: [22:45:42] <simon_w> Limres, what class is your CustomPage_Controller extending?
981: [22:45:58] * spronk has joined #silverstripe
982: [22:45:58] <Limres> ah it is ContentController
983: [22:46:02] <Limres> not PageController
984: [22:46:03] <Limres> is that it?
985: [22:46:06] * Kapdap has joined #silverstripe
986: [22:46:15] <simon_w> Nope. When accessing directly, are you using the route?
987: [22:46:29] <Limres> yup
988: [22:46:39] <simon_w> That's the problem
989: [22:46:47] <Limres> I was trying to get the best of both worlds, having a built-in content node
990: [22:46:54] <Limres> and the permissions in the cms
991: [22:47:10] <Limres> while trying to get $Action/$ID/$OtherID through to the controller
992: [22:47:28] <Limres> is it possible to just drop the route somehow?
993: [22:47:46] <simon_w> Why do you need the route?
994: [22:48:04] <Ryan-Toast> Updated my theme thing again if anyone's interested. It's looking pretty swish if I do say so myself: https://github.com/Rhym/ss_boilerplate
995: [22:48:06] <Limres> to pass ID and OtherID eg quote/edit/7
996: [22:48:20] <simon_w> You get those already
997: [22:49:26] <Ryan-Toast> antmas: updated boilerplate again. This time it has a screenshot https://github.com/Rhym/ss_boilerplate/blob/master/screenshots/screenshot.jpg
998: [22:49:56] <Limres> Well I'll be.
999: [22:50:03] <Limres> Sorted
1000: [22:50:07] <Limres> Thanks Simon_w!
1001: [22:50:21] <Limres> Any docs describing out-of-the-box routing?
1002: [22:50:31] <Limres> I thought I had seen early on a hint that it was doing something
1003: [22:50:51] <Limres> but it was not behaving consistently which is when I went and read up on routes.yaml
1004: [22:51:47] <simon_w> Limres, doubt it.
1005: [22:52:17] <Limres> but you get $Action/$ID/$OtherID ?
1006: [22:52:26] <Limres> what happens to stuff tacked on after that?
1007: [22:52:28] <spronk> Ryan-Toast: I would recommend more whitespace for your type rhythm
1008: [22:52:54] <Snowman23> TFW THE ENTIRE CWP INFRASTRUCTURE GOES DOWN
1009: [22:53:03] <spronk> esp around the headings
1010: [22:53:04] * Snowman23 looks around
1011: [22:53:18] <spronk> lulz
1012: [22:53:20] <spronk> URPS
1013: [22:53:30] <Snowman23> URPS?
1014: [22:53:45] <Ryan-Toast> spronk: Which headings?
1015: [22:53:45] <spronk> i like to think of it as a bastardised portmanteau or derp and oops
1016: [22:54:06] <spronk> Ryan-Toast: just the general in-page typography
1017: [22:54:08] <spronk> h2,3,4 etc
1018: [22:54:35] <Ryan-Toast> spronk: Ah, yarp. I didn't touch the typography since it's a boilerplate. But those do look a little cramped
1019: [22:54:45] <spronk> compare spacing of the last screenshot text to the stuff like the blog entries with their read more button
1020: [22:55:01] <Snowman23> simon_w: I blame you for this by the way. I was just about to double check that CWP weren't affected by that bug, and BOOM, it blows up
1021: [22:55:10] <spronk> but otherwise looks like a decent cooker
1022: [22:55:11] <Ryan-Toast> spronk: H1 Y U SO CLOSE?
1023: [22:55:15] <spronk> :D
1024: [22:55:17] <Ryan-Toast> spronk: Cheers :)
1025: [22:55:29] <spronk> oo
1026: [22:55:30] <spronk> what bug?
1027: [22:56:06] <spronk> can i exploit it for glorious nation of kazakhstan?
1028: [22:57:10] <Limres> That looks neat Ryan-Toast, I hope to get a chance to take it for a spin soon :)
1029: [22:57:37] <Ryan-Toast> Limres: I'd love some feedback, and if there's anything that you would want added.
1030: [22:57:43] * SightUnseen1 quit (Quit: Leaving.)
1031: [22:57:45] * lerni1 has joined #silverstripe
1032: [22:57:50] <antmas> Ryan-Toast: nice work man, I'm hopging to get a build up this weeknd
1033: [22:58:26] * lerni1 quit (Client Quit)
1034: [22:58:34] <Ryan-Toast> antmas: You could literally just change the $brand-primary to whatever your logo color is and have a portfolio done :P
1035: [22:58:53] <antmas> Ryan-Toast: well, now I have to make a logo :P
1036: [22:59:14] * lerni quit (Ping timeout: 241 seconds)
1037: [22:59:46] <antmas> Ryan-Toast: who's ya host?
1038: [22:59:53] <Ryan-Toast> antmas: Webdrive
1039: [23:00:09] <antmas> Ryan-Toast: good price for size?
1040: [23:00:17] <Ryan-Toast> antmas: It's okay.
1041: [23:00:24] <Ryan-Toast> antmas: Their support is really good.
1042: [23:01:02] <Snowman23> I've heard a lot of band things about webrive tbh
1043: [23:01:11] <Snowman23> We use them here and they're fine, but uh, people on the phpug were raging about them
1044: [23:01:13] <Ryan-Toast> they're all about the same.
1045: [23:01:15] <Snowman23> :O
1046: [23:01:21] <antmas> I'm way behind the 8ball with hosting
1047: [23:01:21] <Snowman23> Wouldn't you rather use Sitehost or Rimu though?
1048: [23:02:32] <antmas> Snowman23: prolly not Sitehost for just a portfolio site though
1049: [23:03:00] <Snowman23> Sitehost is about the lowest I go in terms of price etc
1050: [23:03:03] <Snowman23> (For NZ hosting)
1051: [23:03:07] <Snowman23> If you don't need NZ, I would just go Linode or somethign
1052: [23:03:30] <simon_w> Whereas I just break things
1053: [23:03:35] * Limres quit (Ping timeout: 250 seconds)
1054: [23:03:57] <Snowman23> simon_w is the perp of the great CWP outage of December 2013
1055: [23:04:24] <simon_w> It's only great if it gets on PHPUG with rants by Joomla users
1056: [23:08:38] <Snowman23> haha
1057: [23:09:22] <simon_w> Snowman23, https://www.cwp.govt.nz IS DOWN FIX IT
1058: [23:09:23] <simon_w> FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT
1059: [23:09:35] * SightUnseen has joined #silverstripe
1060: [23:09:44] <Snowman23> simon_w: I'M TRYING I'M YELLING AT MY COWORKERS AS LOUD AS I CAN :D
1061: [23:09:47] <Snowman23> I meant :O
1062: [23:10:03] <spronk> man
1063: [23:10:04] <spronk> epic fail
1064: [23:10:08] <spronk> >10 min
1065: [23:10:14] <Snowman23> nigga it aint ma job
1066: [23:10:21] <spronk> almost > 20min
1067: [23:10:24] <spronk> that's contract-breaking there
1068: [23:10:26] <Snowman23> ;_;
1069: [23:10:29] <Snowman23> Well it's not *us*
1070: [23:10:30] <Snowman23> It's our host
1071: [23:10:52] <simon_w> FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT
1072: [23:11:00] <Snowman23> ;_;
1073: [23:11:02] <Snowman23> pls
1074: [23:11:04] <spronk> revera?
1075: [23:12:02] <antmas> :O
1076: [23:12:27] <Snowman23> Well idk
1077: [23:12:34] <AlphaCactus> Setting up the database; you will be returned to your site shortly....
1078: [23:12:37] <Snowman23> since it's not up yet, I presume it's Revera
1079: [23:12:54] <AlphaCactus> just db server down or what?
1080: [23:13:37] <spronk> Environment Builder
1081: [23:13:37] <spronk> https://www.cwp.govt.nz/
1082: [23:13:37] <spronk> dev ? build
1083: [23:13:37] <spronk> Setting up the database; you will be returned to your site shortly...
1084: [23:13:41] <spronk> ups
1085: [23:13:45] <AlphaCactus> yep thats what I get
1086: [23:13:53] <spronk> DERP
1087: [23:14:09] <guzzlefry> simon_w: Don't you dare pull him away from the docs to fix something else! :P
1088: [23:14:12] <Snowman23> rofl
1089: [23:14:19] <Snowman23> oi!
1090: [23:14:22] <Snowman23> I can't fix it anyway!
1091: [23:14:31] <simon_w> Snowman23, fix the docs!
1092: [23:14:33] <guzzlefry> I believe in you.
1093: [23:14:41] <Snowman23> ;_;
1094: [23:14:42] <Snowman23> PLS
1095: [23:14:59] <Snowman23> Anyway, the client sites are back up now it looks like
1096: [23:15:56] <antmas> ?me looks at SS's troubles with CWP
1097: [23:16:04] * antmas looks at his own meetings for the day
1098: [23:16:32] * antmas notices the only thing he has to do is 'Cheese tasting for corporate staff from 12.30pm, don't be late'
1099: [23:17:04] <antmas> CHEESE TASTING
1100: [23:17:43] <Snowman23> XD
1101: [23:17:46] <Snowman23> I have ISIG lunch! :D
1102: [23:17:54] <antmas> ISIG?
1103: [23:18:04] <simon_w> So, https://github.com/facebook/hhvm/pull/1314 would break Facebook in production
1104: [23:18:09] <antmas> I Slip Inside Grandma?
1105: [23:18:50] <Snowman23> antmas: DAMMIT, http://isig.org.nz/
1106: [23:19:07] <lewellyn> antmas: before or after she was run over by the reindeer?
1107: [23:19:52] <antmas> XD
1108: [23:20:08] <antmas> now that, is a motherfuckingwebsite
1109: [23:20:13] * joelpittet has joined #silverstripe
1110: [23:21:11] <spronk> eugh
1111: [23:21:12] <spronk> c++
1112: [23:22:16] <guzzlefry> 0.o
1113: [23:22:54] <spronk> hrm
1114: [23:23:07] <spronk> does anyone else have serious issues with virtualbox and "aborted" linux vms completely killing themselves?
1115: [23:26:19] <Ryan-Toast> spronk: thoughts? http://i.imgur.com/TrP5BCG.png
1116: [23:27:39] <spronk> better, though i'd swap top and bottom margins on those larger headers
1117: [23:28:20] <Ryan-Toast> antmas: fucking hate top margins
1118: [23:28:28] <Ryan-Toast> so annoying
1119: [23:28:43] <spronk> kek
1120: [23:28:50] <spronk> but margin collapse!
1121: [23:29:45] <Ryan-Toast> yeah.
1122: [23:30:09] * Sj0hn quit (Quit: Ik ga weg)
1123: [23:30:39] <Ryan-Toast> antmas: It's just annoying if a header is the first item. But I suppose I could do .typography + h1{margin-top}
1124: [23:35:06] * Colin[pi] has joined #silverstripe
1125: [23:35:40] <antmas> Colin[pi]: HAI! :D
1126: [23:35:44] <Colin[pi]> !!!
1127: [23:35:46] <Colin[pi]> hai2u
1128: [23:39:00] <simon_w> Colin[pi], I've been told I can shack up with you when I move to cranberry
1129: [23:39:15] <Colin[pi]> sure! wait, what?
1130: [23:39:49] <simon_w> You'd need to be at least as inexpensive as Caitlin's parents though :p
1131: [23:39:59] <Colin[pi]> which is what? free?
1132: [23:40:02] <Ryan-Toast> sooo all of a sudden my cms won't go to pages. the URL changes, but nothing happends. No console errors, nothing.
1133: [23:40:40] <simon_w> Yup!
1134: [23:40:53] <simon_w> I'm going to save so much money before we find a place
1135: [23:41:45] <Colin[pi]> you bumhead
1136: [23:41:45] <simon_w> Unless I don't have a job, in which case I won't
1137: [23:41:53] <Colin[pi]> I need to pay all the monies :(
1138: [23:42:23] <Colin[pi]> like these people who stay at home until 35... IMA SAVE ALL MY MONIES AND MUM WASHES MY CLOTHES AND MAKES DINNER
1139: [23:42:27] * Colin[pi] shakes fist
1140: [23:42:44] <simon_w> Haha, we'll just be staying there until we find a flat
1141: [23:43:26] <Colin[pi]> good luck, there are some shitty shit flats here
1142: [23:43:30] <Colin[pi]> but you'll find one
1143: [23:43:54] <spronk> moving to aus eh
1144: [23:44:50] <simon_w> Hmm, lunch.
1145: [23:44:58] * Bollig|DesignCty has joined #silverstripe
1146: [23:50:22] * Pyromanik has joined #silverstripe
1147: [23:50:41] <Pyromanik> dat siesta
1148: [23:50:46] <Pyromanik> so good :D
1149: [23:52:05] <spronk> lul
1150: [23:52:22] <Pyromanik> Fuck working, siesta's where it's at xD
1151: [23:52:24] <Pyromanik> so good
1152: [23:52:34] <spronk> fuck you pyro
1153: [23:52:35] <spronk> :(
1154: [23:52:38] <Pyromanik> xD
1155: [23:52:48] <Pyromanik> spronk: well... do you wanna come help me clean my flat?
1156: [23:53:19] <Pyromanik> spronk: or, are you looking for a place to live? I know a great 1 bedroom place that's just become available.
1157: [23:53:34] <spronk> haha
1158: [23:53:36] <spronk> no
1159: [23:53:37] <spronk> and
1160: [23:53:37] <spronk> no
1161: [23:53:38] <spronk> :p
1162: [23:54:00] <Pyromanik> :P
1163: [23:54:18] <Pyromanik> Fine then, I'll eat my pad thai by myself :>
1164: [23:56:03] <antmas> Pyromanik: it took you how long to clean a 1 bedroom place?
1165: [23:56:04] <antmas> :P
1166: [23:56:31] <Pyromanik> antmas: ...
1167: [23:57:04] <Pyromanik> dunno, half done after ~6 hours I guess.
1168: [23:57:51] <Pyromanik> I did all the windows yesterday. It's hard to climb up that high and hang on while you reach out to scrub/wipe when you've got one fucked arm :<
1169: [23:57:59] <Pyromanik> It's fairly sore today too :(
1170: [23:58:22] <antmas> cleaning blows
1171: [23:58:26] <Pyromanik> also cleaning is super thorough here, not just vacuum and wipe bench.
1172: [23:59:07] <Pyromanik> so far I've vacuumed all the ceilings & washed all the walls, windows, some of the venitian blinds (whoever invented those things is a cunt).
1173: [23:59:24] <Pyromanik> cleaned inside the wardrobes
1174: [23:59:26] <Pyromanik> etc.
1175: [23:59:55] <antmas> Pyromanik: where are you staying before Sunday?
1176: [23:59:59] <Pyromanik> the tops of all the skirting boards, etc.

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