#silverstripe IRC Log

IRC log for 29 July 2014

All timestamps are in UTC.

1: [00:00:35] <simon_w|work> Yup
2: [00:01:39] * antmas swoons
3: [00:03:06] * adrexia has joined #silverstripe
4: [00:04:21] <simon_w|work> Morning adrexia
5: [00:06:49] <Pyromanik> wait, who is this?
6: [00:09:36] <simon_w|work> By the looks of things, ex-SilverStripe designery person
7: [00:09:40] <antmas> man, this ebola thing is pretty cray
8: [00:09:47] <adrexia> heya
9: [00:09:57] <adrexia> oi, noit a designer :P
10: [00:10:17] <adrexia> front-end dev
11: [00:10:19] <adrexia> ;)
12: [00:10:27] <simon_w|work> Close enough :p
13: [00:10:33] <adrexia> hahah
14: [00:10:55] <adrexia> well, I love designers, but I'd never claim to be one
15: [00:10:58] <adrexia> that shit's hard
16: [00:11:22] <antmas> oooooo front end
17: [00:11:39] <adrexia> I'm this person https://github.com/adrexia
18: [00:12:15] <simon_w|work> Front end, the thing I do my best to not touch
19: [00:12:35] <antmas> and the thing ss23 shouldn't touch
20: [00:12:37] <simon_w|work> Now at a company that's big enough that I don't have to!
21: [00:12:42] <ss23> :O
22: [00:12:49] <ss23> Oh hi adrexia :)
23: [00:12:55] <ss23> Long time no see :D
24: [00:12:56] * adrexia waves
25: [00:13:10] <adrexia> yeah, it's been at least 4 days!
26: [00:13:14] <ss23> XD
27: [00:14:50] * travis-ci has joined #silverstripe
28: [00:14:50] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2969 (3.1 - 4f1c055 : Sean Harvey): The build passed.
29: [00:14:50] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/7bbc74e576c4...4f1c055aa307
30: [00:14:50] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31095808
31: [00:14:50] * travis-ci has left #silverstripe
32: [00:15:42] <Ryan-Toast> More front end people, yay
33: [00:17:17] <simon_w|work> But this is #silverstripe, where the only thing that matters is what car your drive
34: [00:17:41] <Ryan-Toast> simon_w|work: and iff you’re watching DotA or not.
35: [00:17:54] <antmas> and Burgerfuel
36: [00:18:05] <antmas> and heating with Unclecheese
37: [00:18:55] <simon_w|work> Yay, BurgerFuel this weekend too!
38: [00:19:05] <Pyromanik> but I don't drive any car simon_w|work! :M
39: [00:19:18] <simon_w|work> Pyromanik, I don't even have a license
40: [00:19:40] <Pyromanik> [12:09] <@simon_w|work> By the looks of things, ex-SilverStripe designery person
41: [00:19:43] <Pyromanik> yeah that's what I was thinking.
42: [00:20:36] <Pyromanik> so adrexia, you moved to DNA too? :P
43: [00:21:06] <adrexia> Yeah, I'm not a car person either
44: [00:21:12] <adrexia> moved to Catalyst ;)
45: [00:21:20] <Pyromanik> oh, in Christchurch?
46: [00:21:32] <Pyromanik> so what's it like to be Drupal #1?
47: [00:21:34] <adrexia> nope - Wellington
48: [00:22:01] <adrexia> haha. First project is silverstripe.cwp
49: [00:22:05] <antmas> simon_w|work: me too! (burgerfuel)
50: [00:22:26] <Pyromanik> adrexia, so you're gonna convert them from the inside out right?
51: [00:22:41] <adrexia> ;)
52: [00:23:03] <adrexia> I thinki it's more likeply they'll convert me, but time will tell
53: [00:23:10] <simon_w|work> ss23 and UC should convert SS Ltd to Wordpress
54: [00:23:33] <adrexia> damn microsoft keyboard...
55: [00:23:40] <adrexia> bwhahah
56: [00:24:17] <Pyromanik> simon_w|work, hahaha. Still digging at leftandmain.com?
57: [00:25:54] <Pyromanik> so anyway, I stayed up to buy more pi bits... but now I didn't and I'm going to sleep.
58: [00:25:57] <antmas> adrexia: I think I remember Kingy saying Catalyst is looking for a dev
59: [00:26:04] <Pyromanik> I've been up nearly 24 hours :<
60: [00:26:30] <Pyromanik> antmas, I guess they found one
61: [00:26:35] <antmas> :P
62: [00:26:43] <Kingy> Yep, it came up on my LinkedIn feed
63: [00:27:14] <Pyromanik> ciao
64: [00:27:31] <antmas> prl8r
65: [00:27:34] <Pyromanik> had old mout tonight at pub
66: [00:27:44] <Pyromanik> didn't know they did kiwifruit and lime
67: [00:27:56] <Pyromanik> tasty irogue ^
68: [00:28:19] <adrexia> antmas, they still are, yeah
69: [00:28:47] <Kingy> adrexia: coming to WDCNZ?
70: [00:29:28] * babak quit (Quit: Connection closed for inactivity)
71: [00:29:30] <adrexia> yep
72: [00:30:03] <Kingy> sweet, people from in here are going to have some drinks after. You should come along :)
73: [00:30:04] <adrexia> going to the silverstripe pre drinks too
74: [00:30:11] <Kingy> brb lunch
75: [00:30:48] <simon_w|work> They keep emailing me about the pre-wdcnz meetup
76: [00:30:56] <simon_w|work> I should probably leave that meetup group
77: [00:31:45] <antmas> yeah there are at least a few of us going to that + WDCNZ
78: [00:31:47] <irogue_> lol
79: [00:33:00] <Colin[pi]> anyone else have the app for the conference?
80: [00:33:10] <simon_w|work> Should organise some sort of Saturday BurgerFuel trip or something
81: [00:33:16] <antmas> Colin[pi]: link?
82: [00:33:42] <Colin[pi]> flavour of OS?
83: [00:33:46] <simon_w|work> Ooh, this line wraps to 4 lines. That may be a new record for this code base
84: [00:34:09] <antmas> Colin[pi]: Android
85: [00:34:13] <antmas> or iOS
86: [00:34:22] * abitran quit (Quit: Lost terminal)
87: [00:34:28] <Colin[pi]> antmas: http://ow.ly/yptt9
88: [00:34:32] <Colin[pi]> or iOS: http://ow.ly/yptta
89: [00:34:52] <Colin[pi]> has all the conference details/program/schedule within
90: [00:35:00] <antmas> Colin[pi]: awesome, cheers
91: [00:40:15] <Colin[pi]> yay, loaded up with NZ cash
92: [00:40:51] <antmas> Colin[pi]: get dat money
93: [00:41:41] <Colin[pi]> wait.. if my travel card site is asking for the 1st, 6th, and 7th characters of my password... does that mean they're using plain text?
94: [00:41:47] <Colin[pi]> no, they must be hashing it surely
95: [00:54:26] <simon_w|work> Bah, hungry but too early for lunch
96: [00:55:42] <Colin[pi]> simon_w|work: ur stomach is still on NZ time
97: [00:57:13] <simon_w|work> Colin[pi], bring snacks?
98: [00:57:21] <Colin[pi]> simon_w|work: hahaha! no
99: [00:57:35] <Colin[pi]> ;)
100: [00:57:38] <simon_w|work> Colin[pi], just cause I've got NBN :p
101: [00:57:45] <Colin[pi]> that's it!
102: [00:57:46] <Colin[pi]> ;D
103: [00:59:17] * Stomach is not simon_w|work's :(
104: [00:59:32] <simon_w|work> That's what you think!
105: [01:03:31] * travis-ci has joined #silverstripe
106: [01:03:31] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2971 (3.1 - eee81f8 : Simon Welsh): The build passed.
107: [01:03:31] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/4f1c055aa307...eee81f8791f5
108: [01:03:31] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31098409
109: [01:03:31] * travis-ci has left #silverstripe
110: [01:03:31] <Colin[pi]> *gets asked to quote on something for an existing site *looks at existing site *sees j-word logo *runs screaming
111: [01:04:04] <antmas> Colin[pi]: just tell them to jump on the ss bandwagon
112: [01:04:09] <antmas> next step?
113: [01:04:10] <antmas> $$$$$$
114: [01:04:17] <Colin[pi]> profit!
115: [01:05:18] <antmas> man this book is so good
116: [01:05:31] <antmas> The Martian, by Andy Weir
117: [01:05:33] <antmas> get some
118: [01:07:20] <Colin[pi]> "colin, our content looks like shit" *goes to check html* *full of MS word shit* FFFFUUUUUUU
119: [01:09:36] * abitran has joined #silverstripe
120: [01:09:55] * abitran has left #silverstripe
121: [01:09:55] * babak has joined #silverstripe
122: [01:10:21] * abitran has joined #silverstripe
123: [01:11:44] * adrexia quit (Ping timeout: 264 seconds)
124: [01:13:45] * jenniferaslan quit (Quit: jenniferaslan has left the room)
125: [01:16:34] <simon_w|work> Meetup makes it really hard to leave a group
126: [01:16:40] <simon_w|work> Might need to try to remember when I'm home
127: [01:27:29] <Kingy> thanks for the app link Colin[pi]
128: [01:27:38] <Colin[pi]> Kingy: np
129: [01:31:30] * Azure quit (Remote host closed the connection)
130: [01:38:28] * micmania1 has joined #silverstripe
131: [01:40:23] * Azure has joined #silverstripe
132: [01:44:29] <irogue_> oh hello micmania1
133: [01:44:38] <micmania1> areet
134: [01:44:44] <irogue_> I see you finally made it back into IRC :P
135: [01:45:05] <micmania1> yeah, I’ve been looking for a mac irc client ha
136: [01:45:13] <irogue_> textual <3
137: [01:45:36] <micmania1> i’m using colloquy
138: [01:47:20] <irogue_> so, have their been any more cushion incidents?
139: [01:48:09] <micmania1> Not yet, but there’s plenty of time left in the day
140: [01:48:19] * adrexia has joined #silverstripe
141: [01:48:22] <micmania1> This city is full of dangerous cushion thieves
142: [01:48:42] <Stomach> not to mention the ridiculous amount of female campers lugging their sleeping rolls around
143: [01:51:46] <adrexia> what does a cushion thief look like?
144: [01:52:11] <Stomach> adrexia, https://avatars3.githubusercontent.com/u/125915?s=460
145: [01:52:13] <irogue_> micmania1: coming to the #silverstripe IRC drinks on thursday night? :P
146: [01:52:32] <irogue_> Stomach: bahahaha, excellent speed there
147: [01:52:44] * adrexia laughs
148: [01:52:55] <simon_w|work> That crafty ajshort!
149: [01:53:04] <micmania1> haha
150: [01:53:21] <micmania1> irogue_: there’s IRC drinks? I’m in.
151: [01:54:39] <irogue_> yep. after WDCNZ, antmas, Colin[pi], Kingy and I (and maybe others) are gonna grab drinks
152: [01:55:15] <Kingy> :)
153: [01:55:41] <Kingy> Kinda need to sort out a meeting place
154: [01:55:52] <simon_w|work> The pub, duh! :p
155: [01:55:55] <Kingy> I don't know any of you so makes it difficult :P
156: [01:56:59] <adrexia> wear wdcnz name tags? ;)
157: [01:57:03] <spronk> someone can cut out a picture of me and give it a drink
158: [01:57:10] <irogue_> Kingy: how about SS?
159: [01:57:29] <adrexia> isn't there post-drinks for wdcnz?
160: [01:57:33] <Kingy> Well we'll all be at the post-drinks
161: [01:57:37] <Kingy> so probs a good place to meet
162: [01:57:39] <irogue_> oh yeah
163: [01:57:41] <irogue_> true dat
164: [01:57:54] <Kingy> but still, doesn't really help finding people
165: [01:57:57] <irogue_> should grab each others digits
166: [01:58:06] <irogue_> i'm 022 032 0330
167: [01:58:08] <Kingy> spronk: are you coming?
168: [01:58:13] <spronk> no :(
169: [01:58:15] <adrexia> wear the same colour?
170: [01:58:21] <spronk> couldnt make it up to wdcnz this year unfortunately
171: [01:58:25] <simon_w|work> You kinda need to have found each other to be able to hold hands
172: [01:58:27] <spronk> just like the last couple. sigh
173: [01:58:37] <adrexia> ...or just spend t5he day talking to people until you locate everyone
174: [01:58:38] <irogue_> adrexia: us IRC folk are doing post-post-drinks-drinks
175: [01:58:40] <abitran> re
176: [01:58:44] <Kingy> simon_w|work: Colin[pi] and I are staying in the same place, so we can do more than hold hands
177: [01:59:04] <simon_w|work> Kingy, oh, I've already shared a room with Colin[pi]
178: [01:59:06] <adrexia> ppdd?
179: [01:59:08] <adrexia> :D
180: [01:59:27] <adrexia> pick the most iconic person, and gather around them?
181: [01:59:35] <adrexia> is Stephen going?
182: [01:59:38] <irogue_> haha
183: [01:59:38] <Kingy> nah
184: [01:59:50] <Kingy> irogue_: you can be designated iconic person
185: [01:59:53] <irogue_> sweet
186: [01:59:56] <irogue_> i'll be in an SS shirt
187: [01:59:58] <adrexia> :D
188: [02:00:10] <adrexia> along with most of Silverstripe, as I understand it
189: [02:00:28] <Kingy> right I've got a meeting
190: [02:00:29] <Kingy> brb
191: [02:00:49] <antmas> Kingy: remember, I'm the handsome one. The other guys will be there too.
192: [02:01:10] <irogue_> adrexia: yep. so if everyone just looks for the big pile of people in SilverSTripe shirts they'll probably find me :P
193: [02:01:32] <irogue_> adrexia: you gonna wear an SS shirt? once an SSer always an SSer after all ;)
194: [02:01:37] <antmas> irogue_: and me :) I'll be wearing mine too maybe
195: [02:01:48] <Kingy> I don't have one
196: [02:01:57] <Kingy> but i'll just congregate to those that wear them lol
197: [02:02:01] <Kingy> also irogue_ you just got a message
198: [02:02:28] <antmas> Kingy: cam can probably get you one
199: [02:02:38] <Kingy> that'd be nice :)
200: [02:03:08] <antmas> someone there needs to make a ss irc variant
201: [02:03:11] <Stomach> silverstripe being put to good use: http://www.colincraig.co.nz/
202: [02:03:16] <antmas> t-shirt variant I mean
203: [02:03:18] <spronk> NOOOOOOOOO
204: [02:03:24] <Stomach> spronk, click link ;)
205: [02:03:28] <spronk> oh
206: [02:03:29] <spronk> HAHAHAHAH
207: [02:03:30] <spronk> AWESOME.
208: [02:03:34] <spronk> OMFG
209: [02:03:38] <spronk> JESUS CHRIST THAT WAS SCARY
210: [02:03:39] <antmas> lol dat lying in a field pic is amazing
211: [02:03:45] <Blacklite> LOL
212: [02:03:46] <Blacklite> HOLY SHIT
213: [02:03:47] <spronk> HE POPPED OUT OF MY SCREEN
214: [02:03:58] <Blacklite> im dead now
215: [02:03:59] <Blacklite> thanks
216: [02:04:02] <spronk> now i have a broken screen as i had no choice but to throw knives at it.
217: [02:04:32] <irogue_> bahahahaha
218: [02:04:34] <antmas> I'm really digging the border:solid; on the images
219: [02:04:46] <Blacklite> i'll be honest
220: [02:04:49] <Blacklite> not the best clearcutting
221: [02:05:08] * adrexia quit (Ping timeout: 264 seconds)
222: [02:05:28] * travis-ci has joined #silverstripe
223: [02:05:29] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2975 (3.1 - fb9f1bf : Simon Welsh): The build passed.
224: [02:05:29] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/eee81f8791f5...fb9f1bf35a76
225: [02:05:29] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31100995
226: [02:05:29] * travis-ci has left #silverstripe
227: [02:05:34] <Blacklite> but hey - surely they can put it in the showcase?
228: [02:06:07] * adrexia has joined #silverstripe
229: [02:06:48] <spronk> The Conservative party takes a strong stance against sodomy and rainbows, in a world ruled by our glorious leader Colon Craig all such things will be banned.
230: [02:06:56] <spronk> RELATED: http://www.youtube.com/watch?v=zUEEHH6tzXY
231: [02:07:22] <Stomach> i like the disclaimer
232: [02:07:27] <antmas> did the internet party party happen?
233: [02:07:42] <spronk> haha yeah
234: [02:07:43] <Colin[pi]> needs to be a lemon party
235: [02:07:50] <irogue_> why does deploynaut always screw up for me on the day of a live deployment?
236: [02:07:51] <antmas> Colin[pi]: o.O
237: [02:08:01] <Blacklite> it's part of the deployment process
238: [02:08:05] <Blacklite> step 6. screw something up
239: [02:08:12] <spronk> kim dotcom's gravitational pull caused his party to fuse with hone harawira BLAUELAUALUALUALUALAUA
240: [02:08:25] <antmas> spronk: FUCKING ROFLFOFLLRL
241: [02:08:41] <spronk> :D
242: [02:08:53] <irogue_> [Composer\Downloader\TransportException]
243: [02:08:53] <irogue_> The "https://api.github.com/repos/ajshort/silverstripe-gridfieldextensions/zipball/38744c6fb225af79fd365ce3446ffb2f3a7fccbc" file could not be downloaded (HTTP/1.0 404 Not Found)
244: [02:08:53] <antmas> just spread that one around the office
245: [02:08:55] * irogue_ cries
246: [02:08:59] <antmas> everyone looked at me lol
247: [02:09:05] <spronk> ugh
248: [02:09:11] <spronk> GITHARB
249: [02:09:20] <spronk> irogue, just use src not zipz
250: [02:09:32] <Stomach> but then everything takes 14 times longer
251: [02:09:39] <spronk> its all good
252: [02:09:44] <antmas> tarball?
253: [02:09:49] <spronk> you get proper gitz
254: [02:09:54] * spronk can't wait for his RS-1is to arrive
255: [02:09:57] <irogue_> spronk: I don't have control over that, it's deploynaut
256: [02:10:01] <spronk> aww
257: [02:10:03] <antmas> spronk: what r this?
258: [02:10:06] <spronk> ss23's problem!
259: [02:10:19] <spronk> http://www.gradolabs.com/headphones/reference-series/item/12-rs1-reviews
260: [02:10:20] <spronk> :P
261: [02:10:42] <antmas> hipster
262: [02:10:47] <spronk> sif
263: [02:10:57] <spronk> these PREDATE hipsterism
264: [02:11:04] <spronk> ... pre-date
265: [02:11:08] <Blacklite> are there any magic methods for get_by_X?
266: [02:11:11] <antmas> :P
267: [02:11:15] <Blacklite> i see get_by_id is hardcoded
268: [02:11:46] <Stomach> Blacklite, Object::get()->byID(115);
269: [02:11:47] <Stomach> ?
270: [02:11:53] <Blacklite> awesome
271: [02:12:09] <spronk> my face will be covered in rich mahogony, antmas
272: [02:12:23] <spronk> then all i will need is a cuban cigar and some malt liquor,.
273: [02:12:35] <spronk> and i will be ALL THAT IS MAN
274: [02:12:40] <simon_w|work> ss23, SO MUCH FOR OPENSOURCING deploynaut
275: [02:14:02] <spronk> yeah, sigh
276: [02:14:21] <spronk> SS want to have their open source cake
277: [02:14:23] <spronk> and eat it too
278: [02:14:47] <antmas> spronk: don't forget the bacon
279: [02:15:26] <antmas> spronk: and Ron Swanson's Pryramid Of Greatness
280: [02:15:32] <spronk> HA
281: [02:15:37] <Stomach> yeah wasnt that supposed to happen last week ss23
282: [02:15:49] * travis-ci has joined #silverstripe
283: [02:15:49] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2976 (3.1 - dd0e8f5 : Simon Welsh): The build passed.
284: [02:15:49] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/fb9f1bf35a76...dd0e8f5cdb1b
285: [02:15:49] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31101051
286: [02:15:49] * travis-ci has left #silverstripe
287: [02:16:15] <Colin[pi]> this is probably not a good sign: http://i.imgur.com/4bwuq0P.png
288: [02:16:20] <simon_w|work> http://logs.simon.geek.nz/index.php?date=2014-07-23#log_1350159
289: [02:16:25] <simon_w|work> ss23 LIED TO US
290: [02:16:32] * adrexia laughs
291: [02:16:33] <spronk> yeouch Colin[pi]
292: [02:16:38] <Colin[pi]> fucking windows
293: [02:17:03] <adrexia> I've heard it's happening. Just be patient :P
294: [02:17:17] <Stomach> have you met us adrexia? patience is not a virtue
295: [02:17:26] <adrexia> so I gather ;)
296: [02:17:37] <spronk> http://jonathangrado.com/shadows-rs1i/puiyyy0idpoxmmfg2ic0bhvuw8k5l5
297: [02:17:40] <spronk> ooh yeah.
298: [02:17:45] <simon_w|work> adrexia, it's been "happening" for some time now
299: [02:17:48] <adrexia> it's an open source timeline. It'll happen when it's happened
300: [02:18:06] <adrexia> nope - the first I heard of it was a week or two ago
301: [02:18:07] <spronk> that's a blizzard timeline
302: [02:18:49] <Colin[pi]> right my windows has taken a shit, brb
303: [02:18:52] <adrexia> people talked about it, buty that isn't the same as anything being planned
304: [02:18:56] * Colin[pi] quit (Quit: fucking windows)
305: [02:19:03] <irogue_> first I heard of it was ss23 saying he was going to do it :P
306: [02:19:19] <irogue_> and the people who maintain deploynaut are in the same room as me
307: [02:19:20] <irogue_> lol
308: [02:19:26] * adrexia laughsd
309: [02:19:47] <irogue_> hell, I was *working* on deploynaut 2 weeks ago
310: [02:19:59] <irogue_> I fixed some of the UI shittiness
311: [02:20:03] <irogue_> you would be proud, adrexia
312: [02:20:04] <adrexia> maintain != ability to open source code
313: [02:20:22] <adrexia> oh good - there was ui shittinbess I wanted to fix but never had time for
314: [02:20:36] <adrexia> +1
315: [02:23:10] * Colin[pi] has joined #silverstripe
316: [02:23:29] <irogue_> yeah, I was lent to platformers for a week and used that time to take a task way out of scope and fix UI issues :P
317: [02:24:11] <simon_w|work> irogue_, did the auckland dev teams get cake on sysadmin day too?
318: [02:24:52] <antmas> http://jalopnik.com/my-stomach-is-in-my-throat-after-watching-this-hill-cli-1612397392/all
319: [02:24:56] <antmas> HOLY WOAH
320: [02:25:17] <irogue_> simon_w|work: nah, we're always forgotten
321: [02:25:45] <spronk> hmm
322: [02:25:45] <simon_w|work> irogue_, does SS even have sysadmins? Or just glorified dev ops?
323: [02:25:46] <spronk> dno antmas
324: [02:25:51] <spronk> whenever i see videos like that
325: [02:25:58] <spronk> i always just think back to pc gaming
326: [02:25:58] <irogue_> simon_w|work: just the one, JohnO
327: [02:26:05] <spronk> have to have faster reactions for pc gaming
328: [02:26:07] <irogue_> the rest are devops
329: [02:26:15] <antmas> spronk: -_-
330: [02:26:15] <simon_w|work> irogue_, and they made him share his cake! The bastards!
331: [02:26:35] <spronk> also
332: [02:26:45] <spronk> while its fast
333: [02:27:02] <spronk> you only really have to worry about car losing traction
334: [02:27:20] <spronk> impressive, yeah
335: [02:27:22] <antmas> spronk: yeah but 1 wrong twitch...
336: [02:27:23] <spronk> but still
337: [02:27:28] <ss23> 14:12:40 <@simon_w|work> ss23, SO MUCH FOR OPENSOURCING deploynaut
338: [02:27:31] <ss23> It'S ON M FUCKING TODO LIST
339: [02:27:36] <ss23> Believe me
340: [02:27:37] <ss23> But uh
341: [02:27:41] <antmas> ss23: just like recyclinther
342: [02:27:47] <ss23> I think I found a bug that would let anyone on CWP overwrite anyone elses site.
343: [02:27:52] <spronk> god i want to drive that car now
344: [02:28:17] <spronk> i really shoud go and live in europe where there are heaps of events like this
345: [02:28:34] <antmas> spronk: yeah nz is pretty weak on it's diverse motorsports
346: [02:28:42] <antmas> it's all shitty karts and V8s
347: [02:28:44] <antmas> or
348: [02:28:46] <spronk> yeah
349: [02:28:50] * antmas *gasps*
350: [02:28:52] <spronk> where are our road-closing public events
351: [02:28:53] <spronk> :(
352: [02:28:55] <antmas> ...speedway
353: [02:29:03] <Stomach> speedway!
354: [02:29:06] <spronk> we could have some of the best hill climbs in the world
355: [02:29:19] <spronk> some of our backroads are phenominal
356: [02:29:23] <spronk> sp*
357: [02:29:35] <antmas> yeah there are even a few awesome paved (and unpaved) ones in Nelson
358: [02:30:24] <antmas> spronk: like here https://www.google.co.nz/maps/@-41.3906097,173.1695023,16z
359: [02:30:50] <spronk> mm
360: [02:31:08] <spronk> chch<->akaroa would make a good hill run too
361: [02:31:20] <antmas> yup
362: [02:31:23] <spronk> they do it for cycles
363: [02:31:30] <spronk> LET ME DRIVE IT FAST IN MY BRUM BRUM
364: [02:31:39] <antmas> this is a tiny stretch of road, but I've had some of the best rides/drives here https://www.google.co.nz/maps/@-41.2299427,173.4187369,1676m/data=!3m1!1e3
365: [02:32:18] <antmas> cars!
366: [02:32:21] <spronk> haha
367: [02:32:26] <spronk> so predictable
368: [02:33:35] <antmas> ugghhh acid reflux is the worst
369: [02:33:44] <Blacklite> another question
370: [02:33:56] <Blacklite> so if i do get()->filter()->blah blah blah
371: [02:34:06] <Blacklite> i know it doesn't run the query until you foreach() through it
372: [02:34:13] <Blacklite> what's the easiest way to get the results?
373: [02:34:20] <Blacklite> (without foreaching)
374: [02:34:29] <simon_w|work> For what purpose?
375: [02:34:52] <Blacklite> let's say i want to retrieve a count
376: [02:34:59] <spronk> wow
377: [02:35:02] <Blacklite> or simply check the existence of a record
378: [02:35:03] <spronk> totally read that without the o
379: [02:35:06] <Blacklite> dude
380: [02:35:09] <simon_w|work> There's ->toArray(), if you don't want to template it
381: [02:35:11] <Blacklite> i wrote that without the o about 5 mins ago
382: [02:35:31] <Blacklite> ok i'll take a look, thanks
383: [02:35:37] <Stomach> you can do ->count() if you just want a count
384: [02:35:50] <Blacklite> oh cool
385: [02:35:56] <Blacklite> both of those will be useful
386: [02:36:03] <simon_w|work> and ->find(column, value)
387: [02:37:53] <antmas> http://www.stuff.co.nz/national/crime/10323612/Woman-jailed-for-frightening-offending
388: [02:38:07] <antmas> she could almost be NZ's own wat lady
389: [02:38:28] <Stomach> reminds me of Joan Butcher
390: [02:38:59] <ajmitch> dunedin?
391: [02:39:19] <Stomach> ajmitch, yeah
392: [02:39:37] <Blacklite> we don't need another wat lady
393: [02:40:05] <simon_w|work> Yay, lunch time!
394: [02:41:25] * Kingy is now known as Kingy[a]
395: [02:41:56] <antmas> this legend's colors don't make much sense
396: [02:41:58] <antmas> http://i.imgur.com/o7Sz3DT.png
397: [02:42:02] <antmas> what should I make them?
398: [02:42:16] <Stomach> MAF to 2
399: [02:42:17] <Stomach> wat
400: [02:42:40] <antmas> Stomach: 2 cumecs (it's a river flow chart)
401: [02:42:51] <Stomach> median annual flow?
402: [02:42:58] <antmas> yar
403: [02:43:04] <Stomach> wooo i am science
404: [02:43:08] <antmas> lol
405: [02:43:38] <adrexia> "irogue_, does SS even have sysadmins? Or just glorified dev ops?"
406: [02:44:07] <adrexia> wait, sysadmins are "glorified" devops?
407: [02:44:10] <adrexia> :D
408: [02:45:06] <adrexia> I though devOps were sysadmin++
409: [02:45:23] <irogue_> nah devops are like... halfway between sysops and devs
410: [02:45:31] <irogue_> jack of both trades, master of neither :P
411: [02:45:44] <irogue_> basically ss23
412: [02:45:49] <ss23> :(
413: [02:45:49] <ss23> ouch
414: [02:45:55] <antmas> phwaor
415: [02:45:56] <antmas> ouch
416: [02:46:02] <adrexia> waht about people who are masters of both?
417: [02:46:27] <antmas> my role forces me to be devops :(
418: [02:46:48] <adrexia> devOps are the cool kids, as far as I care about it
419: [02:46:49] <adrexia> :P
420: [02:46:55] <antmas> yay
421: [02:46:58] <antmas> \o/
422: [02:47:27] <Stomach> devops is a term developed to force programmers to do sysadmin jobs because companies dont want to pay sysadmins
423: [02:47:32] <adrexia> they are more likely to use the same language I speak when it comes to explaining problems ;)
424: [02:48:04] <antmas> we have a sysadmin, but they only really do our ops for .net stuff
425: [02:48:04] <adrexia> hahaha okay, that might be true. But they also build tools that make life easier for the rest of us
426: [02:48:06] <Ryan-Toast> antmas: If it was a man doing that he would be in prison for x years
427: [02:48:18] <antmas> Ryan-Toast: indeed
428: [02:49:10] <Stomach> adrexia, yeah true, although things would be a lot simpler if I didn't need to know how to vagrant install a docker box via deploynaut (or whatever the fuck is happening now)
429: [02:49:16] <antmas> Ryan-Toast: what are some good colours for a legend (low to high)? http://i.imgur.com/o7Sz3DT.png
430: [02:49:28] <antmas> Ryan-Toast: those ones currently are terribad imo ^^
431: [02:49:50] <Ryan-Toast> antmas: http://www.google.com/design/spec/style/color.html#color-ui-color-palette
432: [02:50:18] <Stomach> antmas, http://geog.uoregon.edu/datagraphics/color_scales.htm
433: [02:50:25] <antmas> ohhhh tah
434: [02:51:39] * Kingy[a] is now known as Kingy
435: [03:13:03] <Ryan-Toast> Is this not the correct way to add a CC to an email? Doesn’t seem to do it: http://www.sspaste.com/paste/show/53d70cf7d0e3c
436: [03:13:32] <antmas> Ryan-Toast: setCC()
437: [03:13:39] <Ryan-Toast> antmas: ah, right.
438: [03:13:41] <Ryan-Toast> Chur
439: [03:17:51] * travis-ci has joined #silverstripe
440: [03:17:52] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#972 (3.1 - 1b0add3 : Damian Mooyman): The build passed.
441: [03:17:52] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/4967d3dbf600...1b0add3ecfbb
442: [03:17:52] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/31103547
443: [03:17:52] * travis-ci has left #silverstripe
444: [03:19:36] <simon_w|work> Hmm, had lunch still hungry
445: [03:19:40] <simon_w|work> Colin[pi], FEED MEEEEEE
446: [03:20:18] <antmas> irogue_: how's the no carb thing going?
447: [03:20:52] <mobiusnz> http://colincraig.co.nz OH THE LOLS
448: [03:22:49] <spronk> mm
449: [03:23:11] <antmas> best site ever
450: [03:23:20] <antmas> what if I was a chemtrail?
451: [03:23:23] <antmas> LOL
452: [03:27:16] <Ryan-Toast> Forms with multiple checkboxes return an array like so: http://www.sspaste.com/paste/show/53d710369df80 Am i best to just convert that to an array list for the Email templaate, or can I just loop through it somehow?
453: [03:34:45] * cloph has joined #silverstripe
454: [03:35:23] * cloph_away quit (Ping timeout: 264 seconds)
455: [03:38:30] <Stomach> Ryan-Toast, probably best to convert it to an array list with a useful key
456: [03:43:08] <antmas> I shoulud get a gopro
457: [03:43:35] <antmas> anyone here have one?
458: [03:46:01] * CodeTrap quit (Ping timeout: 255 seconds)
459: [03:49:11] <mobiusnz> yeah I picked one up when in singapore airport
460: [03:49:19] <mobiusnz> and an ipad mini
461: [03:49:28] <mobiusnz> I swear, that place just makes you buy shit
462: [03:49:51] <antmas> what's the one to buy? is it worth just getting the most expensive one?
463: [03:50:37] <irogue_> antmas: I went to a kebab place on Queen St today that has a no carb option
464: [03:50:49] <Stomach> irogue_, they just give you lettuce?
465: [03:51:12] <irogue_> it's the innards of a kebab but in a foam container
466: [03:51:23] <irogue_> and more salad than usual
467: [03:51:26] <Stomach> foam is delicious after all
468: [03:51:45] <irogue_> but I got a large which was $11.50
469: [03:51:48] <irogue_> and OMG SO MUCH LAMB
470: [03:51:49] <irogue_> WAT
471: [03:52:06] * Ryan-Toast quit (Quit: Ryan-Toast)
472: [03:52:10] <irogue_> was a total meatfest
473: [03:54:00] <Stomach> man I love '?:' right now
474: [03:54:05] <Kingy> irogue_: what did you send me
475: [03:54:44] <irogue_> wouldn't you like to know
476: [03:54:56] <Kingy> well i would
477: [03:54:59] <Kingy> but it's downloading.....
478: [03:55:54] <Kingy> :(
479: [03:55:59] <irogue_> lol
480: [03:56:13] <irogue_> wtf kinda phone you got?
481: [03:56:26] <Kingy> s4
482: [03:56:37] <irogue_> odd
483: [03:56:41] <Kingy> yeah
484: [03:56:52] <irogue_> thought it'd be able to handle image txts properly
485: [03:56:53] <Kingy> probs just telecom being a bitch
486: [03:57:18] <Kingy> lol you would think so
487: [03:58:30] <Kingy> right im going home
488: [03:58:34] <Kingy> i'll talk to ya'll tomorrow
489: [03:59:39] * Kingy is now known as Kingy[a]
490: [03:59:40] * jbardnz quit (Ping timeout: 246 seconds)
491: [04:00:46] <antmas> Kingy[a]: yeah, see you Thursday!
492: [04:00:54] <antmas> I'll jump on IRC once I get to the hotel :P
493: [04:02:26] * Ryan-Toast has joined #silverstripe
494: [04:02:37] <irogue_> so I figured out how to get from my place to the airport
495: [04:02:58] <antmas> irogue_: ss credit card?
496: [04:03:01] <irogue_> it's quick and cheap, as expected since I'm practically in the next suburb over
497: [04:04:54] <antmas> irogue_: ooooo pm me your cell so I can spam you with 'where are you' txts
498: [04:05:15] <irogue_> 022 032 0330
499: [04:05:19] <irogue_> no need for pm its all over the internet anyway :P
500: [04:05:25] <antmas> true :P
501: [04:06:17] * simon_w|work spams irogue_
502: [04:06:24] <antmas> txt bomb!
503: [04:06:45] <irogue_> https://goo.gl/maps/WiB0l
504: [04:07:22] <antmas> irogue_: not bad!
505: [04:07:34] <antmas> righto all, I'm off
506: [04:07:36] <simon_w|work> irogue_, nah, you should go into the CBD and catch the expensive bus out!
507: [04:07:41] <antmas> see ya'll tomorrow
508: [04:07:44] <irogue_> simon_w|work: lol
509: [04:07:54] <irogue_> simon_w|work: that's the trap bus for people who don't know auckland
510: [04:08:00] <simon_w|work> Less walking! :p
511: [04:08:03] * antmas quit (Quit: Page closed)
512: [04:08:18] <irogue_> cos for far less $$ you can train from cbd to papatoetoe and catch the 380 Airporter
513: [04:09:28] * babak quit (Quit: Connection closed for inactivity)
514: [04:09:40] <Ryan-Toast> Stomach: yeah that worked :P
515: [04:12:12] * adrexia quit (Quit: Konversation terminated!)
516: [04:12:56] * adrexia has joined #silverstripe
517: [04:13:34] <simon_w|work> https://goo.gl/maps/UbJOr
518: [04:14:03] <willr> Looks boring even from the map
519: [04:14:09] <simon_w|work> And that's why you don't bus to the airport
520: [04:14:55] <irogue_> wow, indirect much?
521: [04:15:06] <willr> Train?
522: [04:15:21] <simon_w|work> Well, the train only goes to Sydney
523: [04:16:08] <simon_w|work> And busing there only takes half as long!
524: [04:17:13] <simon_w|work> Whereas my commute's much nicer: https://goo.gl/maps/R84iE
525: [04:17:53] <willr> Still. 2 hours a day not fun
526: [04:18:29] <simon_w|work> It's only a 45 minute commute
527: [04:18:53] <simon_w|work> (including walking)
528: [04:19:00] <simon_w|work> Which isn't long enough for a WWDC session
529: [04:20:27] <irogue_> https://goo.gl/maps/QGrHm
530: [04:20:30] <irogue_> my commute!
531: [04:21:19] <irogue_> I live across the road from the train station ^_^
532: [04:23:19] <simon_w|work> Once we move, I don't have to change bus! https://goo.gl/maps/4xPch
533: [04:26:35] <Stomach> commute easier
534: [04:26:35] <Stomach> https://goo.gl/maps/ptmEf
535: [04:27:02] <simon_w|work> I'll be biking once we move
536: [04:27:53] <irogue_> whoa there Stomach
537: [04:27:57] <irogue_> mister remuera over here
538: [04:28:12] <Stomach> parnell actually
539: [04:28:12] <Stomach> :P
540: [04:28:33] <irogue_> yeah, now that I look at it, there's no way that's remuera
541: [04:28:35] <irogue_> U LYIN GOOGLE
542: [04:28:59] <Stomach> the intersection i put it from is newmarket/parnell/remuera
543: [04:29:10] <Stomach> fucking weird
544: [04:29:14] <Stomach> but I'm in parnell
545: [04:29:25] <Stomach> paying my third party because I might actually run into a ferrari
546: [04:29:32] <Stomach> like, its a real threat
547: [04:29:37] <Stomach> fucked up shit son
548: [04:30:11] <irogue_> yep
549: [04:30:12] <spronk> ah
550: [04:30:13] <spronk> computerlounge
551: [04:30:14] <spronk> <3
552: [04:31:41] <irogue_> computerlounge, ascent, playtech
553: [04:31:49] <irogue_> the trifecta of non-douchey computer retailers
554: [04:31:54] <spronk> we have it so good in nz
555: [04:32:05] <spronk> ... apart from the lack of distributors for certain brands
556: [04:32:07] <spronk> but yknow
557: [04:32:19] <spronk> and to think i used to buy from dragonpc and tastech
558: [04:32:25] <irogue_> but we do have PB Tech, so that's a downside
559: [04:32:40] <Blacklite> ascent <3
560: [04:32:57] <Blacklite> i'll buy stuff from pbtech if it's a really reputable brand, and really expensive
561: [04:33:03] <Blacklite> such as cpu's, graphics cards
562: [04:33:14] <Blacklite> can often save $50
563: [04:33:15] <Stomach> I used to buy from PBTech in dunedin
564: [04:33:20] <Stomach> but only in person at the store
565: [04:33:33] <spronk> graphics cards fail often enough for me to buy them only from places with decent warranty support
566: [04:33:40] <spronk> cpus meh
567: [04:33:48] <spronk> pretty sure i haven't yet had an intel cpu die on me
568: [04:34:02] <spronk> <3 intel QA
569: [04:34:20] <Blacklite> i've never had a gpu or cpu fail
570: [04:34:28] <Blacklite> in fact i've never had any parts fail
571: [04:34:30] <spronk> pretty much every GPU i have ever bought has failed
572: [04:34:33] <Blacklite> except an MSI motherboard in 2008
573: [04:34:45] <Blacklite> which i sent back, they returned it saying it was fine, and then it worked
574: [04:34:49] <Stomach> my sound card blew up 3 weeks ago
575: [04:34:52] <Stomach> was very sad :(
576: [04:34:54] <irogue_> I bought a logitech wireless headset
577: [04:34:56] <Blacklite> i only buy gigabyte + asus boards now
578: [04:35:05] <spronk> my HD4850's fan died, which then proceeded to cook the GPU... my HD3870 had texactly the same problem..
579: [04:35:07] <irogue_> thought "wireless headset sounds like a recipe for potential fuckup, I'll buy this from ascent"
580: [04:35:10] <irogue_> died after 2 months
581: [04:35:11] <Blacklite> corsair memory
582: [04:35:21] <spronk> what did i have before then.. GF7600 or something that just plain stopped working
583: [04:35:33] <Ryan-Toast> I was doing something important, but I got distracted. Now I’m drinking beers.
584: [04:35:37] <spronk> radeon 9800 pro stopped POSTing randomly
585: [04:35:50] <Blacklite> there seems to be a common theme with your issues, spronk
586: [04:35:51] <spronk> however, my GF660 is currently going well.
587: [04:36:00] <Blacklite> amd
588: [04:36:20] <spronk> actually, the common theme was ASUS :P
589: [04:36:23] <Blacklite> o
590: [04:36:32] <spronk> ... and yet i still bought an asus gpu this time around
591: [04:36:38] <spronk> (because it matched my colour scheme.. :$)
592: [04:36:45] <Blacklite> i've built about 10-15 pcs in the last 3 years, all have been absolutely fine
593: [04:36:51] <Blacklite> software problems only
594: [04:36:56] <Blacklite> but i stick to the same suppliers every tiem
595: [04:37:19] <spronk> apart from GPUs, i've had a few HDD failures, and one mobo die after 5 years of 24/7 operation in a cupboard
596: [04:37:30] <Stomach> ive only ever had a radeon x1300 die on my
597: [04:37:31] <Stomach> me*
598: [04:37:39] <Stomach> and that was after like 6 years, so its okay I suppose
599: [04:38:00] <spronk> i've had better failure rates from hdds than gpus :/
600: [04:38:01] <Stomach> oh and my voodoo2 had a manufacturers fault back in the day
601: [04:38:08] <spronk> voodoo2!!!!
602: [04:38:36] * spronk remembers being able to play Star Wars Ep 1 at more than 5fps when he got his Voodoo2
603: [04:39:09] <spronk> which reminds me, i need to check my pending sector count on this WD green drive..
604: [04:39:42] <irogue_> I've had buggerall die on my
605: [04:39:43] <irogue_> *me
606: [04:39:56] <irogue_> one CPU, which was the one on my Celeron 433
607: [04:40:02] <Blacklite> actually, my monitor died last year
608: [04:40:04] <irogue_> fan stopped working and it caught fire
609: [04:40:10] <irogue_> (thermal shutdown wasn't common at that stage)
610: [04:40:14] <spronk> hmm
611: [04:40:16] <spronk> 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 7
612: [04:40:18] <spronk> still 7...
613: [04:40:23] <Blacklite> a capacitor on the power board fizzed out, so i ordered a new power board from germany for $60
614: [04:40:24] <spronk> 9 Power_On_Hours 0x0032 056 056 000 Old_age Always - 32376
615: [04:40:42] <irogue_> one motherboard, which was a gigabyte and the caps popped (a couple of years ago, so well after everyone was aware of chinese caps being shit)
616: [04:40:43] <Blacklite> i wonder if the "oven trick" works as well on hdds as it does on gpus
617: [04:40:46] <spronk> 1394 days of continuous operation, not bad
618: [04:41:05] <spronk> fucking chinese caps
619: [04:41:15] * micmania1 has left #silverstripe
620: [04:41:19] <Stomach> spronk, thats a bad number
621: [04:41:24] <Stomach> local loopback gonna explode
622: [04:41:36] <spronk> fucking companies like corsair who say "JAPANESE CAPACITORS"
623: [04:41:44] <irogue_> one hard drive, which was a seagate with the standard seagate issue (don't use in RAID)
624: [04:41:49] <spronk> then use CapXon and Teapo on secondary boards
625: [04:42:01] <irogue_> spronk: yeah gigabyte do that too
626: [04:42:07] <spronk> really?
627: [04:42:11] <irogue_> on their non-gaming stuff
628: [04:42:15] <spronk> mobos ?
629: [04:42:25] <spronk> though, mobos are all polymer, which isn't really so bar
630: [04:42:26] <spronk> bad*
631: [04:42:37] <Blacklite> when i spend $100 on a motherboard i expect to replace it within 3 years
632: [04:42:39] <irogue_> the "gaming" mobos (the nice coloured ones) are *actually* all jap caps
633: [04:42:40] <spronk> even the chinese manufacturers can make a semi-ok polymer
634: [04:43:03] <Blacklite> imo don't skimp on the psu
635: [04:43:14] <spronk> definitely
636: [04:43:21] * Phlunk3 quit (Remote host closed the connection)
637: [04:43:24] <irogue_> yeah, you want good PSU manufacturer, but don't go OTT on the watts
638: [04:43:25] <irogue_> no point
639: [04:43:28] <Blacklite> yep
640: [04:43:36] <irogue_> spend the extra $ on better quality
641: [04:43:39] <spronk> just swapped out my 5yo corsair HX620 with a seasonic X-650 last month
642: [04:43:44] <irogue_> seasonic <3
643: [04:43:45] <spronk> both fantastic
644: [04:43:47] <Blacklite> i like corsair
645: [04:43:49] <irogue_> they make half of the corsairs too
646: [04:43:53] <irogue_> corsair don't make PSUs
647: [04:43:54] <spronk> not anymore, irogue_ :(
648: [04:44:04] <irogue_> so without researching you don't know which actual manufacturer it is
649: [04:44:05] <spronk> corsair piss me off with their PSUs now
650: [04:44:08] <irogue_> as they jump around
651: [04:44:12] <Blacklite> i hate them now
652: [04:44:13] <Blacklite> because
653: [04:44:14] <spronk> for that reaosn.
654: [04:44:18] <Blacklite> i bought a "modular" psu
655: [04:44:28] * wracu quit (Ping timeout: 246 seconds)
656: [04:44:31] <Blacklite> it wasn't really modular
657: [04:44:45] <Blacklite> it had permanently attached molex cables
658: [04:44:50] <spronk> ayee
659: [04:44:57] <irogue_> yeah, corsair could be made by seasonic or it could be made by SUPER COOL MAKE GOOD POWER CO
660: [04:44:59] <Blacklite> the only thing you could swap out was sata power cables + more molex
661: [04:45:01] <spronk> haha
662: [04:45:08] <spronk> i'd pretty much only touch the AX series from corsair these days
663: [04:45:18] <spronk> maybe this new HXi series, once reviews come in
664: [04:45:19] <irogue_> is why i just buy seasonic directly now
665: [04:45:24] <spronk> mm
666: [04:45:26] <Blacklite> i'll keep that in mind in future
667: [04:45:30] <irogue_> at least then its 100% seasonic made
668: [04:45:44] <Blacklite> so anyway, SS related question - is it possible to use modulus (%) operator in template loops?
669: [04:45:48] <spronk> seasonic may not be the best around, but they're in the top tier, and they don't make utter shit unlike mots other manufacturers
670: [04:46:11] <irogue_> Blacklite: $Modulus(x, y)
671: [04:46:33] <Blacklite> ok, and my other question is can i make temporary variables within my template?
672: [04:46:50] <irogue_> nope
673: [04:47:07] <Blacklite> i have a few conditions which change the bg colours on a few elements in an email template which is full of tables
674: [04:47:16] <Blacklite> and i don't want to have to repeat those conditions
675: [04:47:19] <irogue_> that logic should be done in the controller
676: [04:47:34] <Blacklite> well it's view logic, really
677: [04:47:57] <Blacklite> ideally it would be a class that it echo'd, but i didn't write the front-end code - i'm just tryin to make it work
678: [04:47:57] <irogue_> view logic should never be setting anything :P
679: [04:49:26] <adrexia> what are the conditions?
680: [04:49:38] <irogue_> oh look
681: [04:49:41] <Blacklite> well at the moment, it's just if ($Pos == 1)
682: [04:49:42] <irogue_> a wild front-end dev appears!
683: [04:49:45] <Blacklite> but it is subject to change
684: [04:49:46] <adrexia> :P
685: [04:49:57] <adrexia> $First?
686: [04:50:11] <adrexia> Oh... so could be somewhere else?
687: [04:50:20] <Blacklite> the problem is not the condition
688: [04:50:26] <Blacklite> i have a bunch of td's like this
689: [04:50:26] <Blacklite> <td width="15px" bgcolor="#F7F7F7"><br /></td>
690: [04:50:32] <Blacklite> that need to change background colour
691: [04:50:33] <adrexia> ...
692: [04:50:35] <adrexia> bdcolor?
693: [04:50:39] <adrexia> bgcolor
694: [04:50:52] <Blacklite> <Blacklite> ideally it would be a class that it echo'd, but i didn't write the front-end code - i'm just tryin to make it work
695: [04:50:55] <irogue_> adrexia: email template ;)
696: [04:50:56] * Blacklite used bgcolor
697: [04:51:00] * Blacklite it's not very effective
698: [04:51:08] <adrexia> style="background-color"
699: [04:51:10] <adrexia> :P
700: [04:51:19] <Blacklite> i don't wanna change it cause i might be shot
701: [04:51:25] <adrexia> hahah
702: [04:51:34] <irogue_> when it comes to email, I do ALL OF THE THINGS
703: [04:51:35] <adrexia> so what do you want it to do?
704: [04:51:44] <Blacklite> well, i have a few of these ugly td's
705: [04:51:51] <Blacklite> sometimes the background needs to be #f7f7f7, sometimes #ffffff
706: [04:51:56] <Blacklite> depends on the row
707: [04:51:56] <adrexia> when it comes to email templates I point the gun at my own head
708: [04:52:01] <Ryan-Toast> Blacklite: add a class to the tds, then do a customCSS in the controller
709: [04:52:08] <irogue_> adrexia: that too
710: [04:52:16] <irogue_> A WILD OUTLOOK APPEARS
711: [04:52:18] <Blacklite> yep i could do CSS
712: [04:52:26] <irogue_> AND COMPLETELY IGNORES ALL OF YOUR CSS
713: [04:52:31] <Blacklite> yeah exactly
714: [04:52:34] <irogue_> fucking outlook
715: [04:52:35] <Blacklite> CRITICAL HIT
716: [04:52:45] <Ryan-Toast> Then just make a function that outputs the style.
717: [04:52:53] <Blacklite> yea, was just thinking that
718: [04:53:05] <Blacklite> i'll need to simply pass the view variables into a controller function
719: [04:53:11] <spronk> ugh fuck off new world. don't copy countdown with their stupid fucking annoying onecard
720: [04:53:12] <adrexia> yes
721: [04:53:20] <irogue_> spronk: huh?
722: [04:53:24] <adrexia> assuming you can
723: [04:53:40] <spronk> irogue_, south island only, "new world clubcard"
724: [04:53:44] <irogue_> oh
725: [04:53:51] <adrexia> 't just do <% if $condtion %> #542664 <% end_ if%>
726: [04:53:52] <irogue_> foodstuffs south island are idiots :P
727: [04:54:06] * irogue_ and Kapdap_ did work for Foodstuffs NI once upon a time
728: [04:54:27] <spronk> why would they think this is a good idea
729: [04:54:29] <Ryan-Toast> Blacklite: an example you can ussse: https://github.com/Rhym/ss_boilerplate/blob/master/Boilerplate/code/Modules/GoogleFonts/code/extensions/GoogleFontPageExtension.php
730: [04:54:49] <spronk> as soon as you forget your onecard just once, your shopping experience at countdown quickly becomes very very bad
731: [04:55:01] <spronk> not that it was any good to begin with, because fucking countdown and their fucking multi buys
732: [04:55:09] <irogue_> the foodstuffs SI guys were like oh I see you've implemented this really nicely, instead of just implementing your solution we'll just IMPLEMENT OUR OWN INCOMPATIBLE AND INCREDIBLY SHITTY SOLUTION
733: [04:55:13] <Stomach> but i need 18 ice creams
734: [04:55:16] <Blacklite> thanks Ryan-Toast i'll take a look
735: [04:55:21] <adrexia> css in php? I want to cry
736: [04:55:33] <Blacklite> adrexia: bgcolor makes me feel the same way
737: [04:55:40] <Blacklite> just the other day i had to deal with <font size="2">
738: [04:55:42] <adrexia> me too
739: [04:55:49] <Blacklite> what the fuck does '2' mea
740: [04:55:51] <Blacklite> *mean
741: [04:55:54] <adrexia> ...that's not even valid anymore
742: [04:56:01] <irogue_> Blacklite: my fav was always "size=-2"
743: [04:56:04] <irogue_> MINUS TWO FROM WHAT
744: [04:56:05] * babak has joined #silverstripe
745: [04:56:06] <irogue_> OH GOD
746: [04:56:06] <Ryan-Toast> adrexia: It is for old phones
747: [04:56:07] <adrexia> return variables to the templates - not css
748: [04:56:07] <Blacklite> lmao
749: [04:56:10] <irogue_> WHAT VALUE WAS I ALREADY AT
750: [04:56:12] <irogue_> SHIT
751: [04:56:28] <Blacklite> i'm a back-end developer now, so my mandate is to do back-end stuff
752: [04:56:36] <Blacklite> i blame all front-end atrocities on other people
753: [04:56:41] <adrexia> weirdly - email css actually needs to be inline
754: [04:56:45] <irogue_> yep
755: [04:56:52] <adrexia> embedded css will fail in gmail
756: [04:56:57] <Ryan-Toast> This fucking piece of shit used to require font-size:1 http://www.laptopmag.com/uploadedImages/Multimedia_Assets/Images/2008/Reviews/cell-phones/Samsung-Rant_g2.jpg
757: [04:57:00] <Blacklite> i've pretty much never done email CSS, always handed it off to other people
758: [04:57:04] <adrexia> and external obviosuly won't work
759: [04:57:23] <Ryan-Toast> It’s literally called the Samsung Rant
760: [04:57:26] <Ryan-Toast> apt name
761: [04:57:40] <adrexia> I try not t6o do email templates too
762: [04:57:49] <Blacklite> one time i got id'd at countdown and the manager couldn't work out the date and asked me if i was "sure i'm 19"
763: [04:57:51] <adrexia> I don't need to hate myself that much
764: [04:57:55] <Ryan-Toast> adrexia: I just don’t style them.
765: [04:57:58] <Stomach> Blacklite, you can use emogrifier to inline it all for you
766: [04:58:19] <Stomach> https://github.com/jjriv/emogrifier
767: [04:58:36] <Stomach> doesnt work 100%, but works better than me doing it by hand and wanting to kill everyone for most of the day
768: [04:59:09] <adrexia> yeah - plain teext emails are underrated
769: [04:59:24] <Ryan-Toast> Plain text emails are all you need.
770: [04:59:45] <Ryan-Toast> Otherwise just go to mailchimp and copy paste their template source
771: [04:59:47] <spronk> haha
772: [04:59:52] <irogue_> halp ss23, how do I timesheet IRC? :P
773: [04:59:59] <spronk> new world's facebook page has a bunhc of comments basically hating on them for this dumb clubcard idea
774: [05:00:08] <Ryan-Toast> irogue_: 3 hours community management task.
775: [05:00:12] <spronk> they're all "BUT NOW YOU DON'T NEED YOUR FLY BUYS CARD!"
776: [05:00:19] <spronk> failing to realise that new world isn't the only place people shop at.
777: [05:00:28] <Blacklite> honestly - due to the fact i'm not a front-end dev, i'm willing to only spend a very little amount of time doing this
778: [05:00:55] <Ryan-Toast> Blacklite: Do what’s right for your target audience
779: [05:00:59] <simon_w|work> Hmm, turns out our user csv import script can't find any users in a jpeg
780: [05:01:30] <Blacklite> somehow i think my target audience likes bgcolor
781: [05:02:21] <irogue_> Ryan-Toast: haha
782: [05:02:50] <irogue_> Ryan-Toast: "Internal - Marketing" :P
783: [05:03:10] <Blacklite> so let's say i've got a controller function called myBgColour()
784: [05:03:19] <Blacklite> can i pass arguments from the view into it?
785: [05:03:29] <Ryan-Toast> technically yes
786: [05:03:34] <Ryan-Toast> should you? No.
787: [05:04:05] * nickmolhoek quit (Quit: nickmolhoek)
788: [05:15:51] * willr quit (Quit: willr)
789: [05:20:44] * adrexia quit (Ping timeout: 264 seconds)
790: [05:22:26] <ss23> irogue_: bro
791: [05:22:31] <ss23> internal/internal, 2 hours
792: [05:22:41] <irogue_> sweet
793: [05:26:15] <Colin[pi]> fucking newsletter templates
794: [05:26:49] <Colin[pi]> "looks like you've used some html from later than 10 years ago, AINT GONNA WORK BRO
795: [05:29:45] * Ryan-Toast quit (Quit: Ryan-Toast)
796: [05:29:59] <Blacklite> i quoted for how long it would take me to update the template, not re-do it
797: [05:31:11] <irogue_> that was your first mistake :P
798: [05:31:25] <irogue_> the second was not multiplying your estimate by 5 cos fuck email
799: [05:31:44] <Blacklite> tbh
800: [05:31:56] <Blacklite> i was only supposed to add the new variables to the controller so the view could have them
801: [05:32:06] <Blacklite> i'm already doing more than i was supposed to
802: [05:32:24] <irogue_> OUT OF SCOPE
803: [05:32:46] <Blacklite> yes, so i will be killed by tomorrow. nice knowing you guys
804: [05:33:14] <spronk> kbye
805: [05:33:14] <spronk> :P
806: [05:33:40] <Colin[pi]> RIP Blacklite
807: [05:37:15] <irogue_> HOMETIEM
808: [05:37:27] <simon_w|work> SLACKER
809: [05:37:32] <irogue_> i should set ircs up on my home computor now that I have internet that doesn't involve tethering my phone
810: [05:37:53] <Colin[pi]> irogue_: still would be better than my internet
811: [05:37:54] <irogue_> also I should probably disconnect irogue since I never actually IRC through that box anymore
812: [05:38:23] <Colin[pi]> yeah irogue is such a dick
813: [05:38:24] <irogue_> Colin[pi]: idk man, only got adsl at my new place
814: [05:38:27] <Colin[pi]> I prefer irogue_
815: [05:38:41] <irogue_> 14 down 1 up :(
816: [05:38:45] <Colin[pi]> LOL!
817: [05:38:46] <irogue_> quite the downgrade from 100 down 50 up
818: [05:38:57] <Colin[pi]> 4 d / 512k u here
819: [05:39:00] <Colin[pi]> \o/
820: [05:41:33] <simon_w|work> Looks like we're 80/40 here
821: [05:41:39] <ss23> 50/50 here
822: [05:42:22] <Colin[pi]> ss23 simon_w|work: http://replygif.net/i/156.gif
823: [05:42:31] <ss23> hahaha Colin[pi]
824: [05:42:32] <ss23> A+
825: [05:42:59] <simon_w|work> Colin[pi], http://bit.ly/1rVZBwJ
826: [05:43:19] <simon_w|work> :D
827: [05:43:21] * DesignerX has joined #silverstripe
828: [05:43:51] <ss23> https://fd-files-eu-production.s3-eu-west-1.amazonaws.com/23835/IdZ5RiCpBa4JL1l1c6NmaQ?AWSAccessKeyId=AKIAIA2QBI5WP5HA3ZEA&Signature=l%2BZL6%2BqJw%2BW0cp9iP5fYQQueNVg%3D&Expires=1406612926
829: [05:43:56] <ss23> ^.^
830: [05:44:02] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
831: [05:44:09] <Colin[pi]> simon_w|work: http://replygif.net/i/255.gif
832: [05:45:12] <Colin[pi]> ss23: http://i.imgur.com/HSUukmX.gif
833: [05:45:15] <simon_w|work> Colin[pi], http://www.speedtest.net/result/3654403807.png
834: [05:45:42] <simon_w|work> There's plenty more server locations too!
835: [05:45:45] <ss23> Colin[pi]: XD
836: [05:45:47] * jordanmk has joined #silverstripe
837: [05:45:56] <Colin[pi]> simon_w|work: dat ping
838: [05:46:17] <jordanmk> hey guys, having trouble with something that i'm pretty sure should be easy lol
839: [05:46:54] <jordanmk> i'm trying to create functionality to allow a user to upload an image to use as an avatar (front-end), then crop the image (front-end)
840: [05:47:06] <jordanmk> the front-end is all working and the initial image upload is working
841: [05:47:23] <simon_w|work> Colin[pi], http://www.speedtest.net/result/3654406187.png
842: [05:47:27] <simon_w|work> Not so good this time
843: [05:47:51] <simon_w|work> jordanmk, does the user or the server crop the image?
844: [05:47:53] <jordanmk> in the back-end, i can successfully crop the avatar based on values from the front-end (image height/width), but i can't figure out how to save the new cropped image as the user's avatar
845: [05:47:54] <Colin[pi]> simon_w|work: mm I get about 30-40 in CS, when I'm not getting packet loss that is
846: [05:48:10] * Olliepop quit (Ping timeout: 246 seconds)
847: [05:48:28] <jordanmk> @simon_w, atm i'm trying to get it so that the user crops the image on the front-end, but all this really does is pass x/y coordinates and image width/height to a function on the back-end which actually crops the image
848: [05:48:43] <jordanmk> and i can do everything except for actually saving the new cropped image as the user's avatar
849: [05:49:15] <simon_w|work> jordanmk, just take the cropped data and overwrite the uploaded file?
850: [05:49:36] <Colin[pi]> jordanmk: or do you need to keep the original?
851: [05:49:38] <simon_w|work> Colin[pi], hmm, getting closer to your speed now http://www.speedtest.net/result/3654408444.png
852: [05:50:04] <Colin[pi]> simon_w|work: ha, still 3 times more down, and a bazillion more up
853: [05:50:17] <jordanmk> simon_w: here's the current code which doesn't seem to be working http://pastebin.com/b92d60qT
854: [05:50:30] <jordanmk> Colin[pi]: i don't need to keep the original image
855: [05:50:54] <Colin[pi]> jordanmk: then overwrite dat sucker son
856: [05:51:10] <jordanmk> the code that i pasted successfully creates a cropped image in the _resampled folder
857: [05:51:18] <jordanmk> but the user's avatar doesn't actually get set to be that new cropped image
858: [05:52:22] * willagain has joined #silverstripe
859: [05:52:39] <jordanmk> private static $has_one = array(
860: [05:52:39] <jordanmk> 'Avatar' => 'Image'
861: [05:52:39] <jordanmk> );
862: [05:52:51] <jordanmk> that's the relation on the User DataObject
863: [05:53:01] <Colin[pi]> so there's a new Image object created for the _resampled image or no?
864: [05:53:12] <simon_w|work> No, it's an Image_Cached object
865: [05:53:19] <jordanmk> simon_w, that's right
866: [05:53:34] <willagain> hello again
867: [05:53:50] <willagain> my site's 404 page looks wonderful, but it returns a 200 code
868: [05:54:01] <willagain> is that normal for ss? or did i do it wrong?
869: [05:54:14] <simon_w|work> jordanmk, file_put_contents($user->Avatar()->Filename, file_get_contents($user->Avatar()->CroppedImage($blah)->Filename));
870: [05:54:22] <simon_w|work> willagain, depends on how you set it up
871: [05:54:40] <willagain> i don't remember doing anything special
872: [05:54:47] <willagain> it's got this in the htacess
873: [05:54:48] <willagain> ErrorDocument 404 /assets/error-404.html
874: [05:55:06] <willagain> I think because that is a full url it is returning 200
875: [05:56:01] <simon_w|work> willagain, that line only matters for things that don't get routed through SilverStripe
876: [05:56:16] <willagain> like a 404?
877: [05:56:26] <simon_w|work> 404s tend to go through SilverStripe
878: [05:56:36] <simon_w|work> How are you testing your 404 page?
879: [05:56:41] <willagain> hmm, i gone done and broke it then
880: [05:56:53] <simon_w|work> Colin[pi], http://www.speedtest.net/result/3654415702.png
881: [05:57:00] <simon_w|work> I don't think I can get slower than about that...
882: [05:57:04] <willagain> im visiting the local dev in live mode with /kjhfdkjhdsfkjhfdskjh tacked on the end of a url
883: [05:57:12] <Colin[pi]> simon_w|work: lol :P
884: [05:57:28] <Colin[pi]> simon_w|work: I truly appreciate the dedication you put into giving me a sad
885: [05:57:37] <simon_w|work> willagain, and which version of SS are you running?
886: [05:58:18] <willagain> 3.1.stable
887: [06:00:42] <jordanmk> simon_w, getting this error: file_get_contents(assets/Uploads/avatars/_resampled/CroppedImage405405-pro-shop2.jpg): failed to open stream: No such file or directory
888: [06:00:46] <jordanmk> but i can see that the image does exist
889: [06:02:06] <simon_w|work> jordanmk, use BASE_PATH . '/' . $blah->Filename
890: [06:02:39] <simon_w|work> willagain, 3.1.5 certainly sets the response code when going through ErrorPage
891: [06:03:23] <willagain> so its not that i haven't gotten round to adding a ErrorPage class or anything? just does it automatically?
892: [06:03:43] <simon_w|work> Well, ErrorPage is part of the CMS
893: [06:04:11] <simon_w|work> willagain, is there a Not Found page (or equivalent) in the CMS?
894: [06:05:08] * babak quit (Ping timeout: 240 seconds)
895: [06:06:49] <willagain> yes, and it is controlling the content of the not found page that is displayed
896: [06:08:09] <jordanmk> simon_w, cheers, that seems to work. not actually cropping the image how i want it to, but that's a separate issue :)
897: [06:12:51] * babak has joined #silverstripe
898: [06:18:27] * lerni_ has joined #silverstripe
899: [06:20:15] <simon_w|work> willagain, and how are you checking the response code?
900: [06:20:30] <willagain> chrome dev tools
901: [06:21:11] <willagain> i've just checked my copy of "default silverstripe" and it returns a 404, so its something im doing (obviously))
902: [06:21:32] <willagain> i've copied over the fresh htacess, still broken, so something in config or code somewhere
903: [06:21:56] * babak quit (Ping timeout: 240 seconds)
904: [06:22:04] * Stomach quit (Ping timeout: 260 seconds)
905: [06:28:13] * babak has joined #silverstripe
906: [06:54:03] <willagain> @simon_w - thanks for your help with this, handy to know what it should be doing by default. uninstalling the linkmapping module fixes this on my site - so i'm probably configuring that wrong
907: [06:54:27] <simon_w|work> willagain, or it's doing something wrong
908: [06:55:16] <willagain> maybe, but there would probs be people noticing that. its usually me...
909: [07:25:40] * Stomach has joined #silverstripe
910: [07:43:55] <willagain> @simon_w - its not me.
911: [07:45:08] * stnvh has joined #silverstripe
912: [07:50:09] * ocm has joined #silverstripe
913: [07:51:44] <ocm> howdy
914: [07:53:06] * ocm is now known as ocmnt
915: [07:53:12] <Colin[pi]> HAI OCM
916: [07:53:29] <ss23> https://pbs.twimg.com/media/Btsja3vIAAEecBG.png:large heh
917: [07:53:33] <ss23> That new website isn't going great for 2d!
918: [07:54:09] <Colin[pi]> ss23: XD
919: [07:54:19] <Colin[pi]> I was hoping for lorem ipsum
920: [07:54:22] <ss23> my music is lagging
921: [07:54:23] <ss23> what the fuck
922: [07:54:45] <ocmnt> HI colin[pi]
923: [07:54:51] <ocmnt> it rhyms :D
924: [07:54:53] <Colin[pi]> ss23: need a better video card
925: [07:54:54] <ss23> haha
926: [07:54:56] <Colin[pi]> ss23: wait wat
927: [07:54:57] <Colin[pi]> ;D
928: [07:55:02] <ss23> idk man
929: [07:55:05] <ss23> I can't see whats cuasing it
930: [07:55:07] <ss23> cause like
931: [07:55:11] <ss23> my CPU usage is tiny
932: [07:55:15] <ss23> 10gb free ram
933: [07:55:17] <Colin[pi]> ss23: streaming the audio?
934: [07:55:18] <ss23> ohhhh
935: [07:55:33] <ss23> Yeah, technically yes, but this is stutter, like its trying to play but failing
936: [07:55:36] <ss23> I think I know what it could be
937: [07:55:36] <ocmnt> ss23 use foobar2000
938: [07:55:41] <ss23> one of my disks is having activity spikes as it happens
939: [07:55:48] <ss23> ocmnt: Hard to do while at work, without putting all my music here
940: [07:55:49] <ss23> YES
941: [07:55:55] <ss23> It's correlating with writes to a second disk I have
942: [07:56:00] <ss23> ait
943: [07:56:02] <ss23> wait
944: [07:56:03] <ss23> it didn't that time
945: [07:56:05] <ss23> idk wtf
946: [07:56:11] <ocmnt> ghosts?
947: [07:56:13] <Colin[pi]> ss23: I stream all my tunes from my htpc, it's like literally 2m from me and I still have issues *glares at Windows*
948: [07:56:15] * kinglozzer has joined #silverstripe
949: [07:56:21] <ss23> haha
950: [07:56:26] <ss23> ocmnt: XD
951: [07:56:31] <ss23> I 'stream' with fb2k at home
952: [07:56:34] <ss23> just smb on the box next to me
953: [07:56:37] <ss23> THE LAGGING IS GETTING WORSE
954: [07:56:38] <ss23> WHA TTHE FUCK
955: [07:57:17] <Colin[pi]> ss23: I am stealoring ur megahurtz
956: [07:57:26] <ss23> ;_;
957: [07:57:29] <ss23> when you say mean things to me
958: [07:57:30] <ss23> it
959: [07:57:32] <ss23> megahurtz
960: [07:57:32] <ss23> :(
961: [07:57:37] <Colin[pi]> hehe
962: [07:59:32] <ocmnt> ss23, perhaps this is the cause? http://www.news.com.au/technology/science/earths-magnetic-poles-are-shifting-north-and-south-poles-set-to-flip/story-fnjwlcze-1226989893949
963: [08:00:03] <ocmnt> the magnetic field is quite turbulent at the moment
964: [08:00:06] <ocmnt> more as usual
965: [08:00:23] <Colin[pi]> zomg the end is nigh
966: [08:00:28] <ocmnt> even Nasa was telling about it, normally they ignore that topic
967: [08:00:32] <ss23> lol
968: [08:00:42] <ocmnt> Colin[pi], just the end of the beginning, now we can start furrealz :D
969: [08:00:47] <Colin[pi]> oh that's right I can't view news.com.au because I have it blacklisted in the router
970: [08:01:07] <ocmnt> is news.com.au such a bad newsprovider?
971: [08:01:17] <ocmnt> it was just the first hit I got on google about the topic, didn't check the source :p
972: [08:01:17] <Colin[pi]> ocmnt: it's murdoch, so yes, it's garbage
973: [08:01:39] <ocmnt> ah, yes
974: [08:01:40] <ocmnt> :D
975: [08:01:44] <ocmnt> poor rupert
976: [08:02:03] <Colin[pi]> ocmnt: news.com.au these days is largely: a) conservative political bias, b) bullshit made up articles, c) 2 day old reddit
977: [08:02:07] <ocmnt> here, for you Colin[pi]
978: [08:02:11] <ocmnt> trustable-ish source
979: [08:02:11] <ocmnt> http://www.huffingtonpost.com/dr-sten-odenwald/magnetic-pole-reversal_b_5587120.html
980: [08:02:33] <ocmnt> just 2 days old reddit? some dutch news sites take 3 - 4 weeks to copy paste from reddit
981: [08:02:39] <ss23> haha
982: [08:02:47] <ss23> He means 2 days after the reddit repost that was 3 months earlier
983: [08:02:48] <ss23> :D
984: [08:02:50] <ocmnt> http://images.huffingtonpost.com/2014-07-16-Brunhes_geomagnetism_western_US.jpg
985: [08:02:56] <ocmnt> that image sums it up quite much
986: [08:03:10] <Colin[pi]> seriously when I used to read it, I'd be like "this article seems familiar... oh yeah, this was on reddit a few days ago"
987: [08:03:21] <ocmnt> bhaha
988: [08:03:22] <ocmnt> nice one
989: [08:03:30] <Colin[pi]> my gf still reads it :( I'm trying to get her onto the Guardian
990: [08:03:49] <ocmnt> no wonder your gf reads it
991: [08:03:54] <ocmnt> imaginary things read imaginary news
992: [08:03:59] <ocmnt> and live in imaginary houses
993: [08:04:04] <ocmnt> :'D
994: [08:04:06] <Colin[pi]> ocmnt: ha!
995: [08:04:10] <ocmnt> gotcha!
996: [08:04:15] <ss23> :D
997: [08:04:22] <ss23> My package is currrently in the US!
998: [08:04:26] <ss23> I wonder how long it'll take to get to NZ :O
999: [08:04:33] <Colin[pi]> ss23: holy crap what a long package you have
1000: [08:04:36] <ocmnt> talking about gf's and you start talking about your package?
1001: [08:04:37] <ss23> XD
1002: [08:04:44] <Colin[pi]> ahahaa
1003: [08:04:47] <ss23> Even better, I'm going to put part of the package inside myself
1004: [08:04:48] <ss23> ;)
1005: [08:04:49] <Colin[pi]> nice segue
1006: [08:04:54] <Colin[pi]> ss23: :O
1007: [08:05:00] <ocmnt> ss23, this sounds disturbing
1008: [08:05:01] * willagain quit (Ping timeout: 246 seconds)
1009: [08:05:02] <Colin[pi]> ss23: whatever boats your float
1010: [08:05:11] <ss23> Well it'll hurt, but some things are worth the pain, you know?
1011: [08:05:13] <ocmnt> 'long package' coming from Colin[pi] and you are putting it inside
1012: [08:05:20] <ss23> It's not coming from Colin[pi]!
1013: [08:05:22] <ss23> It's from the US!
1014: [08:05:24] <Colin[pi]> ss23: http://logs.simon.geek.nz/index.php?date=2013-11-07#log_1109713
1015: [08:05:37] <ss23> Colin[pi]: STOP IT
1016: [08:05:38] <ss23> EDITED
1017: [08:05:38] <ss23> ;_;
1018: [08:05:39] <ss23> FAKE LOGS
1019: [08:05:40] <Colin[pi]> hahahaa
1020: [08:05:44] <ocmnt> hahaha
1021: [08:06:28] <Colin[pi]> ss23: u coming to post wdcnz drinkies?
1022: [08:06:51] <ss23> yeah :D
1023: [08:06:52] <ss23> Are you?
1024: [08:06:56] <Colin[pi]> ss23: fo sho
1025: [08:07:01] <ss23> Tomorrow, right?
1026: [08:07:04] <Colin[pi]> no
1027: [08:07:05] <Colin[pi]> wait
1028: [08:07:06] <Colin[pi]> no
1029: [08:07:09] <ss23> oh
1030: [08:07:10] <Colin[pi]> the ones after the conference
1031: [08:07:10] <ss23> post, not pre
1032: [08:07:12] <ss23> yeah well...
1033: [08:07:18] <ss23> I'm busy on Thursday night sorry ;_;
1034: [08:07:21] <Colin[pi]> :(
1035: [08:07:30] <Colin[pi]> I can't make it to the ones tomorrow night :(
1036: [08:07:34] <ss23> :(
1037: [08:07:37] <Colin[pi]> well, I can, but will be super late
1038: [08:07:53] <ss23> lol
1039: [08:07:57] <ss23> I FORGIVE YOU
1040: [08:08:03] <ss23> Though I don't forgive you for not bringing your GF to... uh
1041: [08:08:05] <ss23> Yuo know...
1042: [08:08:07] <ss23> "brush my hair"
1043: [08:08:07] <ss23> :)
1044: [08:08:25] <Colin[pi]> ss23: is that what the cool kids call it these days?
1045: [08:08:29] <ss23> ;)
1046: [08:09:27] * Pyhmmk has joined #silverstripe
1047: [08:09:36] <Colin[pi]> no I thought it safest she stays here ;P
1048: [08:09:48] <Colin[pi]> too many horny nerds
1049: [08:10:18] <ss23> xD
1050: [08:10:19] <Pyhmmk> gettin some nerd sex in nz then?
1051: [08:10:38] <Colin[pi]> Pyhmmk: naw that's why I'm leaving my gf 3000km away
1052: [08:10:50] <Pyhmmk> so YOU can get nerd sex?
1053: [08:10:57] <Colin[pi]> though sounds like ss23's package can reach
1054: [08:11:12] <Colin[pi]> Pyhmmk: haha she made sure I booked a single bed LOL
1055: [08:11:36] <Pyhmmk> Colin[pi]: rofl, trust is that high?
1056: [08:11:44] <Pyhmmk> :<
1057: [08:11:59] <Colin[pi]> Pyhmmk: haha she's actually not too bad for a brazilian, usually they are super SUPER jealous and possessive
1058: [08:13:50] <Colin[pi]> I had forgotten how awesome it is to code to the Crystal Method
1059: [08:14:07] <Pyhmmk> the crystal meth OD?
1060: [08:14:32] <Colin[pi]> Pyhmmk: haha yep mind blown when I realised that
1061: [08:16:21] <Colin[pi]> Pyhmmk: btw man, how goes all the recovery crap?
1062: [08:17:52] <ocmnt> haha
1063: [08:18:01] <ocmnt> recovery after an OD is kinda unnessecary
1064: [08:18:07] <ocmnt> or ompossible :D
1065: [08:20:17] <Colin[pi]> ocmnt: naw I'm talking about something else ;)
1066: [08:21:05] <Pyhmmk> Colin[pi]: oh yeah, areet I guess.
1067: [08:21:10] <Colin[pi]> Pyhmmk: good :)
1068: [08:21:16] <Pyhmmk> Fuckers got caught, in prison.
1069: [08:21:24] <Colin[pi]> Pyhmmk: aw yiss
1070: [08:21:27] <Colin[pi]> that's awesome
1071: [08:21:29] <Pyhmmk> no hope for recovery (of stuff) thoguh.
1072: [08:21:33] <Colin[pi]> mm :(
1073: [08:21:39] <Pyhmmk> Colin[pi]: not for my incident though.
1074: [08:22:05] <Colin[pi]> Pyhmmk: better than nothing I guess
1075: [08:22:10] <Pyhmmk> 17yo cranked up on cocaine
1076: [08:22:43] <Pyhmmk> hopefully by the time forensics and other evidence comes in and court dates get set, etc, he'll be 18 and put away for a number of years.
1077: [08:23:08] <Pyhmmk> that's what the cops want.
1078: [08:23:32] <Pyhmmk> ocmnt: depends on the level of OD.
1079: [08:24:26] <ocmnt> Pyhmmk, what happend? seems like some serious stuff?
1080: [08:25:09] <Colin[pi]> ocmnt: it's in the logs
1081: [08:25:25] <Colin[pi]> ocmnt: he got set upon by some fucking scumbag pieces of shit
1082: [08:25:49] <Colin[pi]> ocmnt: attacked and robbed him
1083: [08:26:49] <ocmnt> oh wait, I knew that
1084: [08:27:13] <ocmnt> the scumbags got caught?
1085: [08:43:11] * simon_w|air has joined #silverstripe
1086: [08:44:20] <Pyhmmk> ocmnt: yeh. Quite serious. And yeh, identified. Already banged up for another offence.
1087: [08:44:39] <Pyhmmk> evidence and stuff still processing.
1088: [08:44:52] <Pyhmmk> coppers still collecting evidence, but it's looking quite strong.
1089: [08:44:55] <ss23> How did they know it was the same thing?
1090: [08:44:59] <ss23> same person*
1091: [08:45:05] <Pyhmmk> hmm?
1092: [08:45:17] <ss23> How did they know the people they found for this were the same
1093: [08:45:21] <ss23> Did they already know who it was?
1094: [08:45:38] <Pyhmmk> I remembered some shit. They already suspected it was this chap, since he was selling my phone on his facebook account.
1095: [08:45:45] <ss23> oic, lol
1096: [08:45:47] <ss23> fucking
1097: [08:45:48] <ss23> rage
1098: [08:45:57] <Pyhmmk> but me telling them about a tattoo right were he had a tattoo kinda sealed it.
1099: [08:46:22] <Pyhmmk> then his mates grassed him up (also present at the time)
1100: [08:46:44] <Pyhmmk> ie, they were part of it too, but not so seriously as this chap (main aggressor)
1101: [08:47:36] <Pyhmmk> Him and his sister are both already in prison, the fella that's singing has court dates coming up (and some prison time) and there's another lass that may or may not be involved.
1102: [08:47:51] <Pyhmmk> (seems like a spectator at this point)
1103: [08:48:05] <Pyhmmk> but still, spectating is shit.
1104: [08:59:15] * Shrike_Finland has joined #silverstripe
1105: [08:59:47] <ocmnt> sounds like a lot of crap man :/ hope your recovery comes up well
1106: [09:01:44] <Pyhmmk> Yeah I'm pretty much fine now, just angry mostly.
1107: [09:02:27] <ocmnt> I can understand your anger
1108: [09:02:48] <ocmnt> I once have been robbed in Czech republic
1109: [09:02:54] <ocmnt> with a gun on my head
1110: [09:03:02] <ocmnt> it's not a fun game to play I can say
1111: [09:03:12] <Pyhmmk> yeah, that sucks.
1112: [09:03:32] <Pyhmmk> these guys just beat me unconcious, permenantly reconfigured my face a bit.
1113: [09:03:42] <ocmnt> I was lucky enough I didn't get violated physically
1114: [09:04:02] <ss23> Some guy once took a bottle of soda from me
1115: [09:04:03] <ss23> :(
1116: [09:04:03] <Pyhmmk> yeah, but still.
1117: [09:04:18] <Pyhmmk> oh you ss23. Live in NZ, so good.
1118: [09:04:23] <ss23> lol
1119: [09:04:24] <Pyhmmk> life*
1120: [09:04:27] <ocmnt> though I decided after that, NEVER will I let someone force me to give them anything, not even while pointing a gun to my head
1121: [09:04:37] <ss23> ocmnt: Well, a lot of the time you won't get a choice
1122: [09:04:38] <ss23> :P
1123: [09:04:41] <Pyhmmk> Yeah, I didn't give them shit.
1124: [09:04:45] <ss23> If someone beats the shit out of you, you lose your crap anyway
1125: [09:04:52] <Pyhmmk> well, not true. I gave them cash to make them go away... didn't work.
1126: [09:05:11] <Pyhmmk> they wanted my worthless phone for some reason.
1127: [09:05:15] <Pyhmmk> fucking junky fuckwits.
1128: [09:05:32] <ocmnt> ss23 true about that, but I have upgraded my defence skills since then even more
1129: [09:05:46] <ss23> hehe
1130: [09:05:52] <ss23> Upgraded your defence skills! :P
1131: [09:06:09] <ocmnt> aye, aikido in combination with kickboxing and some jiu jitsu
1132: [09:06:15] <ocmnt> does the job quite well I can say
1133: [09:06:36] <ss23> If I ever felt the need to physically defend myself, I think I would rather invest in a knife or gun, than bother with learning stuff
1134: [09:06:36] <ocmnt> however, it is untested in a robbery-ish like situation
1135: [09:06:40] <Pyhmmk> I was doing aikido for a bit... but I didn't stick with it :<
1136: [09:07:02] <ocmnt> ss23, I don't feel the urge to harm people. I rather teach them they have targeted the wrong prey
1137: [09:07:19] <ocmnt> that is why I love aikido so much. You are just like a wave on which the attacker(s) are surfers
1138: [09:07:27] <ocmnt> if you can't surf well, you gotte be in a hell of trouble
1139: [09:07:34] <ocmnt> if you can surf well, it still is pretty hard to stay standing
1140: [09:08:31] <ocmnt> http://www.youtube.com/watch?v=MhWLm-wJQ6I#t=68
1141: [09:08:35] <ocmnt> see that
1142: [09:09:22] * Colin[pi] quit (Ping timeout: 260 seconds)
1143: [09:09:43] <Pyhmmk> yeah, I really loved aikido in how graceful it was, but how brutal it ended.
1144: [09:09:45] <ocmnt> it gets more fun at the end
1145: [09:09:54] <ocmnt> aikido shouldn't get brutal
1146: [09:10:02] <ocmnt> unless it is really necesary
1147: [09:10:07] <Pyhmmk> you basically spin in a circle and suddenly your attacker is on the floor with your knee in his face.
1148: [09:10:13] <ocmnt> when I am training it really gives me an ease of mind
1149: [09:10:31] <Pyhmmk> but as I say, I didn' tstick with it for long. I didn't have the cash to support the learning :<
1150: [09:10:32] <ocmnt> well, I mostly just like to throw people around
1151: [09:10:38] <ocmnt> not really into the jumping on top of them
1152: [09:15:13] * ARNHOE has joined #silverstripe
1153: [09:15:39] <ss23> Also, for anyone interested, there are some kind of hilarious bugs to fix in deploynaut before I can opensource it properly
1154: [09:15:59] <ss23> Part of opensourcing it was finding obvious security issues, and I found one that would let anyone using it deploy cocks.jpg to any server
1155: [09:16:02] <ss23> :D
1156: [09:16:02] <ss23> So gotta fix that one first
1157: [09:16:13] <ss23> Probably won't have time to opensource it in the next week or two anyway though
1158: [09:17:07] * spronk2 has joined #silverstripe
1159: [09:17:39] <ocmnt> what is deploynaut?
1160: [09:17:58] <Pyhmmk> deployer
1161: [09:18:00] <ss23> The SilverStripe based front-end to Capistrano we used here at SilverStripe
1162: [09:18:13] <ocmnt> ah :)
1163: [09:18:25] <ss23> https://www.cwp.govt.nz/guides/core-technical-documentation/common-web-platform-core/en/development-tutorials/deploying-code that docuemnts some stuff on it
1164: [09:19:51] <Pyhmmk> but ss23, the rules are that if you're capistrano you're wrong.
1165: [09:19:54] <Pyhmmk> apparently.
1166: [09:20:42] <Pyhmmk> although it kinda sounds like ansible is basically a python version of capistrano.
1167: [09:21:09] <Pyhmmk> although it requires python on the target machines I think. idk.
1168: [09:21:23] <Pyhmmk> it's all a bit too hard for me. I just FTP all the things.
1169: [09:21:28] <Pyhmmk> 777
1170: [09:21:36] <Pyhmmk> that's the winning combo right there.
1171: [09:21:41] <Pyhmmk> ./lol.jpg
1172: [09:22:12] <simon_w|air> Man, the github issues/pr page changed radically
1173: [09:23:48] <ss23> simon_w|air: I heard they were, but haven't seen yet :O
1174: [09:24:08] <simon_w|air> ss23, sucks to be you then
1175: [09:24:16] <simon_w|air> I can finally see only issues, without PRs
1176: [09:25:06] * Shrike_Finland quit (Quit: Leaving.)
1177: [09:25:55] <ss23> Yeah, that was the one I heard
1178: [09:25:55] <ss23> :D
1179: [09:26:15] <simon_w|air> The new layout's actually worse, but you know, baby steps
1180: [09:32:15] * Shrike_Finland has joined #silverstripe
1181: [09:40:04] <Pyhmmk> can categorisation happen yet?
1182: [09:40:43] <ss23> filter, sure
1183: [09:40:46] <ss23> that's old though
1184: [09:42:08] * Shrike_Finland quit (Read error: No route to host)
1185: [09:42:37] <simon_w|air> ss23, couldn't use to filter PRs based on labels
1186: [09:43:05] <ss23> But doesn't each PR have an issue with it, so you could just use the issue view?
1187: [09:43:09] <ss23> (I can't remember tbh)
1188: [09:43:38] <Pyhmmk> euwest
1189: [09:43:45] <simon_w|air> Yes, but then you'd get all the issues too
1190: [09:45:35] <ss23> Ah yep
1191: [09:45:44] <ss23> Pyhmmk: please, NA
1192: [09:46:37] <Pyhmmk> eueast
1193: [09:46:46] <ss23> QQ
1194: [09:46:48] <ss23> n00b
1195: [09:46:51] <ss23> enjoy your russians
1196: [09:46:57] <Pyhmmk> I do.
1197: [09:47:09] <Pyhmmk> Great people.
1198: [09:47:26] <ss23> I KNOW THERE'S AN EQUIV OF BRAZIL/SPANISH ON EU
1199: [09:47:39] <Pyhmmk> what?
1200: [09:47:43] <ss23> nothing
1201: [09:47:45] <ss23> ignore
1202: [09:47:50] <Pyhmmk> umad?
1203: [09:47:58] <ss23> nu uh
1204: [10:06:35] * mobiusnz quit (Ping timeout: 264 seconds)
1205: [10:11:05] * spronk2 quit (Quit: spronk2)
1206: [10:13:02] * spronk2 has joined #silverstripe
1207: [10:27:07] * ARNHOE quit ()
1208: [10:29:28] * babak quit (Quit: Connection closed for inactivity)
1209: [10:37:41] * simon_w|air quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1210: [11:34:19] * Kapdap_ quit (Remote host closed the connection)
1211: [11:58:35] <Pyhmmk> somad.
1212: [12:00:30] * caamic30 has joined #silverstripe
1213: [12:00:38] <ss23> so mad so mad so mad so
1214: [12:01:03] * UndefinedOffset has joined #silverstripe
1215: [12:13:09] <shellbackpacific> anyone know of a way to modify the data format for a CSV import in a model admin?
1216: [12:26:13] * lerni_ quit ()
1217: [12:35:12] * caamic30 quit (Quit: caamic30)
1218: [13:10:54] <Pyhmmk> shellbackpacific: what you say?
1219: [13:11:12] <shellbackpacific> i think i got it…writing a custom csv bulk uploader
1220: [13:11:17] <shellbackpacific> thanks :)
1221: [13:11:49] <Pyhmmk> inherit from parent, redefine what you need changed, hey presto winning.
1222: [13:13:54] <Pyhmmk> http://www.youtube.com/watch?v=8fvTxv46ano
1223: [13:14:02] <Pyhmmk> fuck yeah, party like it's 2001
1224: [13:50:57] * catcher has joined #silverstripe
1225: [14:12:23] <kinglozzer> Guise, if I want users to be able to filter objects (query string or something), but they're only allowed to filter by certain fields - how do?
1226: [14:14:11] <kinglozzer> I mean, could do it by just checking in_array() in my Controller before passing to DataList::filter(), but wondered if there's a magical SS way
1227: [14:15:13] <kinglozzer> Was looking at SearchContext but I don't think that'll do it
1228: [14:29:53] <Pyhmmk> kinglozzer: yeah array_filter($array, function($blah) use $hmm {return in_array($blah, $hmm);} or something like that
1229: [14:40:48] <Pyhmmk> you have no chance to survive make your time
1230: [15:10:27] * NETim has joined #silverstripe
1231: [15:13:31] * spronk2 quit (Quit: spronk2)
1232: [15:29:31] * NETim quit (Ping timeout: 246 seconds)
1233: [15:34:08] * jenniferaslan has joined #silverstripe
1234: [15:42:55] <kinglozzer> Whoa.. seems that creating a route (http://mysite.com/MyController - index()) is ~3x faster to respond than a typical request to a page controller (http://mysite.com/some-page - index()). I get why, but dayum that's a bigger difference than I was expecting.
1235: [15:55:23] * ocmnt quit (Remote host closed the connection)
1236: [15:55:56] <catcher> kinglozzer, what are the actual times?
1237: [15:56:14] <catcher> Understanding that there are many variables.
1238: [15:58:48] <kinglozzer> catcher: Used apachebench cos lazy, 43 requests/sec for page controller, 124 requests/sec for direct route to controller. Accessing http://mysite.com/Page_Controller seems to be as slow as /some-page though...
1239: [15:59:37] <kinglozzer> Idk, just seems quicker to add a controller & access it directly than add a method to an existing page controller
1240: [16:21:25] * kinglozzer quit ()
1241: [16:30:41] * stnvh quit ()
1242: [16:37:58] * NETim has joined #silverstripe
1243: [16:44:15] <NETim> Subsite module question, how does it determine the subsite to show?
1244: [16:46:37] <NETim> Ok, ignore that. crisis averted.
1245: [16:51:04] * NETim quit (Ping timeout: 246 seconds)
1246: [16:56:45] <catcher> Good talk.
1247: [18:51:14] * joelpittet has joined #silverstripe
1248: [18:59:40] * meshuggah has joined #silverstripe
1249: [19:35:52] * Marvanni2 has joined #silverstripe
1250: [19:36:25] * marvanni quit (Ping timeout: 255 seconds)
1251: [19:54:02] * joelpittet quit (Remote host closed the connection)
1252: [19:54:36] * joelpittet has joined #silverstripe
1253: [19:59:03] * joelpittet quit (Ping timeout: 240 seconds)
1254: [20:03:59] * Kingy[a] is now known as Kingy
1255: [20:05:34] <Kingy> moring yall
1256: [20:09:16] * Cheddam has joined #silverstripe
1257: [20:09:52] <Stomach> hey Kingy
1258: [20:19:35] * joelpittet has joined #silverstripe
1259: [20:19:38] * auto9 has joined #silverstripe
1260: [20:28:09] * auto9 quit (Ping timeout: 256 seconds)
1261: [20:28:44] * auto9 has joined #silverstripe
1262: [20:29:44] * mobiusnz has joined #silverstripe
1263: [20:31:12] * joelpittet quit ()
1264: [20:32:22] * UndefinedOffset quit (Quit: Leaving.)
1265: [20:32:41] * UndefinedOffset has joined #silverstripe
1266: [20:33:44] * antmas has joined #silverstripe
1267: [20:34:02] <antmas> :( flight cancelled
1268: [20:34:21] <antmas> Also, morning all :D
1269: [20:36:11] <Stomach> morning antmas
1270: [20:36:14] <Stomach> no wdcnz for you!@
1271: [20:36:52] * UndefinedOffset quit (Ping timeout: 245 seconds)
1272: [20:37:13] <antmas> :P rebooked flight for 11
1273: [20:37:45] <antmas> Stoopid fog
1274: [20:40:40] * nickmolhoek has joined #silverstripe
1275: [20:41:57] * antmas_andrd has joined #silverstripe
1276: [20:44:35] * antmas quit (Ping timeout: 256 seconds)
1277: [20:44:49] <catcher> Any SS functions to get the full file path of the theme dir?
1278: [20:45:27] * pippy has joined #silverstripe
1279: [20:47:15] <pippy> morning
1280: [20:48:37] <Stomach> catcher, not off the top of my head
1281: [20:48:45] <Stomach> hey pippy
1282: [20:48:52] <Stomach> good to see otago open sourcing some stuff :D
1283: [20:48:54] <Stomach> nice one
1284: [20:49:30] * Kingy is now known as Kingy[a]
1285: [20:49:30] <pippy> I'm hoping to get more stuff open sourced too :)
1286: [20:49:38] * Ryan-Toast has joined #silverstripe
1287: [20:53:02] <Stomach> wicked
1288: [20:57:46] * antmas_andrd quit (Ping timeout: 260 seconds)
1289: [21:01:18] * harold_ has joined #silverstripe
1290: [21:01:36] * babak has joined #silverstripe
1291: [21:04:18] <harold_> hi guys i have a quick question
1292: [21:04:41] <harold_> i want to store customer testimonials
1293: [21:04:53] <harold_> these will appear on several pages
1294: [21:05:03] <harold_> I don't want to make associations to pages
1295: [21:05:53] <harold_> instead a page that will feature testimonials will display a randomly selection of testimonials
1296: [21:06:08] <harold_> so i need a testimonials controller right?
1297: [21:06:27] <harold_> which will query the testimonials table for a random selection
1298: [21:06:38] <harold_> how will this be handled in the cms
1299: [21:06:40] <harold_> model admin?
1300: [21:07:44] <catcher> harold_, if you want a page specifically to display testimonials, you'll probably want a testimonials page & controller, yes.
1301: [21:08:22] <catcher> harold_, if the Testimonials themselves are independent of pages, you'll want to create them as their own model & manage them in modeladmin, yes.
1302: [21:08:36] * Kingy[a] is now known as Kingy
1303: [21:10:45] * catcher quit (Quit: Leaving)
1304: [21:11:00] * adrexia has joined #silverstripe
1305: [21:14:30] <harold_> thanks Cheddam
1306: [21:14:37] <harold_> @catch
1307: [21:14:49] <harold_> opps
1308: [21:14:55] <Cheddam> You're welcome :)
1309: [21:24:27] * ccburns has joined #silverstripe
1310: [21:29:55] <ccburns> hey guys - having some problems and hoping for some help
1311: [21:30:46] <ccburns> I have a controller extending Page_controller in a method that I have accessible from the URL I am getting a number of different DataObjects and passing them to the template
1312: [21:30:52] * shellbackpacific quit (Quit: Leaving.)
1313: [21:31:33] <ccburns> I keep getting this error
1314: [21:31:33] <ccburns> [User Error] Uncaught Exception: Object->__call(): the method 'fortemplate' does not exist on 'ReceiptDetail'
1315: [21:31:59] <adrexia> are you sending back an arraylist?
1316: [21:32:04] <ccburns> But I can’t work out how to correct it… I am passing through 4 DO’s 2 of them work fine and the other two throw this error
1317: [21:32:26] <adrexia> Oh, that's interestiong
1318: [21:32:26] <ccburns> Don’t think so - just getting the data like this - $ReceiptDetails = ReceiptDetail::get()->filter(array('out_receipt_number' => $_POST['ReceiptNumber']))->first();
1319: [21:33:00] <ccburns> $ReceiptDetails errors but $Event doesn’t and I get $Event like this -> $Event = Event::get()->byID($EventRegistration->EventID);
1320: [21:33:27] <adrexia> ReceiptDetails is a dataobject?
1321: [21:33:32] <ccburns> Yes
1322: [21:33:57] <adrexia> $_POST['ReceiptNumber']))->first() what are you trying to do there?
1323: [21:34:14] <ccburns> So all works fine but if I call $ReceiptDetails.Amount in my template it then throws the ‘fortemplate’ error
1324: [21:35:05] <ccburns> If I don’t add ->first() then you get more than one record and so if you are only getting one record you need to call it by ->first()
1325: [21:35:32] <ccburns> If I Debug::dump($ReceiptDetails) I get a nice list of the record
1326: [21:35:36] <Stomach> ccburns, do you have any relations on the page called ReceiptDetails?
1327: [21:35:59] <ccburns> yes - static $has_one = array(
1328: [21:35:59] <ccburns> 'EventRegistration' => 'EventRegistration',
1329: [21:36:00] <ccburns> 'GeneralPayment' => 'GeneralPayment'
1330: [21:36:01] <ccburns> );
1331: [21:36:31] <ccburns> ReceiptDetails is just a DataObject not a page
1332: [21:36:40] <adrexia> What is
1333: [21:36:43] <adrexia> Amount?
1334: [21:37:07] <ccburns> Amount is a currency field - is that what you are asking?
1335: [21:37:27] <Stomach> ccburns, can you paste the code for the page, controller and template somewhere?
1336: [21:37:30] <adrexia> yeah, just making sure it's a property of ReceiptDetail that isn't some sort of arreay
1337: [21:37:58] <ccburns> BRB with a link
1338: [21:39:49] <ccburns> ReceiptDetail.php - http://sspaste.com/paste/show/53d8105a74d0c
1339: [21:40:04] * oddnoc has joined #silverstripe
1340: [21:40:07] <ccburns> Template code - http://sspaste.com/paste/show/53d81017f2b16
1341: [21:40:23] <ccburns> PaymentFacilityPage.php - http://sspaste.com/paste/show/53d8103855f58
1342: [21:40:55] <ccburns> The instalmentdetails() method is the code
1343: [21:41:18] <Stomach> $ReceiptDetails->Amount.Nice
1344: [21:41:24] <Stomach> line 08
1345: [21:41:31] <Stomach> thats your problem
1346: [21:43:00] <ccburns> ouch - you look at something for so long and it’s complete stupidity :)
1347: [21:44:12] <Stomach> :)
1348: [21:45:50] <ccburns> Thanks for the second set of eyes!
1349: [21:46:23] <ccburns> funnily enough now it works just how it’s supposed to ;)
1350: [21:47:06] * shellbackpacific has joined #silverstripe
1351: [21:50:39] * Jakx has joined #silverstripe
1352: [21:50:59] <Jakx> hey
1353: [21:52:03] <Stomach> morning
1354: [21:57:51] <Jakx> any reason why my php_cli command is returning "Build Task 'MyTask' not found"? Even though I can run the task in the browser just fine? (2.4)
1355: [22:01:22] <oddnoc> Jakx: It’s because your web server and the cli have different caches.
1356: [22:01:38] <oddnoc> You can avoid that by having silverstripe-cache/ in the doc root
1357: [22:08:02] * shellbackpacific quit (Quit: Leaving.)
1358: [22:08:12] <Jakx> oddnoc, thx. my www-data user doesn't seem to have write permission to the folder (ubuntu), what user is building the cache?
1359: [22:09:13] <oddnoc> for the CLI I use “sudo -u www-data framework/sake dev/build” for example. If you’ve run it as another user, you’ll have to change the ownership or delete the cache.
1360: [22:12:01] <Jakx> oddnoc, nice tip. This is just running the build from the browser though.
1361: [22:12:33] <oddnoc> That’s odd. On Ubuntu I always see www-data as the web user
1362: [22:12:58] <Jakx> oddnoc, yeah :(. Thx for the 2nd opinion, I'll check it out.
1363: [22:15:24] <Jakx> oddnoc, got it, folder permissions were a bit out. And the cli is working great now. Tyvm!
1364: [22:15:32] <oddnoc> Great!
1365: [22:16:27] * shellbackpacific has joined #silverstripe
1366: [22:17:04] * shellbackpacific quit (Client Quit)
1367: [22:17:41] <ccburns> If I am creating a new value for a DO record by looping through it, how do I add it back into the DataObjectSet? - http://sspaste.com/paste/show/53d818fa7983c
1368: [22:30:30] * micmania1 has joined #silverstripe
1369: [22:30:48] <Jakx> ccburns, is this in 2.4?
1370: [22:31:11] * Colin[pi] has joined #silverstripe
1371: [22:31:17] <ccburns> in 3.1 - maybe I am using the wrong nomenclature
1372: [22:32:32] <Jakx> ccburns, oh nah you're all good. I just misread your question.
1373: [22:34:21] <Jakx> ccburns, as far as I'm aware you'll need to make new new instance of either, the list, or the DO.
1374: [22:35:11] <Blacklite> does this work: $Modulus($TotalItems, 2)
1375: [22:35:47] <Blacklite> *should this work
1376: [22:36:09] <Jakx> e.g $duplicate = $InstalmentPayment->duplicate(); ... change the values... $InstalmentPayments->replace($InstalmentPayment, $duplicate); ...sorta thing.
1377: [22:36:37] <ccburns> Thanks Jakx I’ll take a look and see what I can do
1378: [22:37:05] <Jakx> Blacklite, yeah that can work - but I prefer to use user_func_array()
1379: [22:37:46] <Blacklite> for some reason
1380: [22:37:50] <Jakx> Blacklite, call_user_func_array()* sorry
1381: [22:37:51] <Blacklite> $Modulus(1, 2)
1382: [22:37:52] <Blacklite> returns 0
1383: [22:38:25] * liam has joined #silverstripe
1384: [22:39:41] <liam> hi I'm using an htmltext field for some content that appears in an email that is send from the site. I'm having a problem when the emails are sent they appear with weird characters throughout them like – and Ä Â
1385: [22:39:47] <liam> any ideas why this would happen?
1386: [22:41:08] <Jakx> Blacklite, I ran http://sspaste.com/paste/show/53d81ebe2a7ae on http://writecodeonline.com/php/
1387: [22:41:27] <Jakx> Syntax seems to work fine.
1388: [22:41:44] <Blacklite> oh sorry i was talking about SS templates :)
1389: [22:42:02] <Blacklite> i now understand why you suggested call_user_func
1390: [22:42:09] <Jakx> ah.
1391: [22:43:53] <ccburns> Jakx - here is the solution… http://sspaste.com/paste/show/53d81ee24dc01 - Need to create a new ArrayData() and push the values onto that. THANKS
1392: [22:44:24] <Jakx> ccburns, _b
1393: [22:45:24] <Jakx> ccburns, are you saying my suggestion didn't work? or you just found that solution while doing further research?
1394: [22:46:01] <ccburns> Jakx your solution errored saying something about the object already existing (if I remember correctly)
1395: [22:46:15] <Jakx> ccburns, cool - good to know cheers.
1396: [22:46:16] <Blacklite> can i use silverstripe template loops to loop over a standard array?
1397: [22:46:23] <ccburns> so then I looked up ArrayData and just used that…
1398: [22:46:23] <Blacklite> or can it only loop through DataLists?
1399: [22:46:55] <ccburns> Blacklite push the array onto ArrayData and then you can use it in your templates
1400: [22:47:32] <simon_w|work> Blacklite, you'll need to stick it in an ArrayList
1401: [22:47:42] <simon_w|work> the template engine can only handle subclasses of ViewableData
1402: [22:47:44] <ccburns> Actually might be ArrayList() is you have rows of data that you are looping through
1403: [22:48:01] <Blacklite> i have an array containing stdClass's
1404: [22:48:50] <simon_w|work> Blacklite, $list = ArrayList::create(array_map(function($std) { return ArrayData::create($std); }, $array);
1405: [22:49:02] <simon_w|work> If that doesn't work, cast $std to an array
1406: [22:50:34] * nickmolhoek quit (Quit: nickmolhoek)
1407: [22:51:16] <Blacklite> they don't need to be stdClasses i can make them an array easy
1408: [22:51:32] <Blacklite> let's say i have an array full of arrays
1409: [22:51:45] <Blacklite> can i just do ArrayList::create($myArray);
1410: [22:51:59] <simon_w|work> Nope
1411: [22:52:15] <simon_w|work> Someone needs to fix that so it matches the 2.4 behaviour at some point
1412: [22:53:11] <Blacklite> so i need to use a DataList?
1413: [22:53:14] <Blacklite> sorry i'm confused
1414: [22:53:35] <simon_w|work> No, you need to convert every array to either an ArrayData or ArrayList
1415: [22:54:02] <Blacklite> so i'll have an ArrayList containing a bunch of ArrayDatas
1416: [22:54:04] <Blacklite> is that right?
1417: [22:54:37] <simon_w|work> If each child array is an associative array, yes
1418: [22:54:55] <Blacklite> ok cool
1419: [23:00:54] <Blacklite> ok the loop no longer works
1420: [23:01:24] * auto9 quit (Read error: Connection reset by peer)
1421: [23:01:40] <Blacklite> can't i do
1422: [23:01:49] <Blacklite> $ArrayList->add($DataObject);
1423: [23:01:59] * Jakx has left #silverstripe
1424: [23:02:45] * auto9 has joined #silverstripe
1425: [23:05:33] * zippy__ has joined #silverstripe
1426: [23:05:44] <zippy__> morning
1427: [23:11:33] <simon_w|work> Sales team needs to hurry up and move office
1428: [23:19:09] <zippy__> Is it better to add a file to the assets folder, then call the folder sync method and then fetch the file object?
1429: [23:22:00] * auto9 quit (Read error: Connection reset by peer)
1430: [23:22:26] * auto9_ has joined #silverstripe
1431: [23:24:17] <simon_w|work> It's better to create the File object yourself
1432: [23:24:18] * nickmolhoek has joined #silverstripe
1433: [23:29:28] <ss23> A client here is literally saying "We're an international organisation, so we're going to get an .int domain"
1434: [23:38:45] <Kingy> sounds legit
1435: [23:40:23] <oddnoc> Not so fast. Better ask them to say something in Internationalese.
1436: [23:40:39] <ss23> haha
1437: [23:47:16] <Ryan-Toast> ss23: They should show some www.restra.int
1438: [23:48:38] <Ryan-Toast> Clients out of context: “Loving that wand"
1439: [23:50:01] <Colin[pi]> Ryan-Toast: "great vibe"
1440: [23:50:22] <Ryan-Toast> Colin[pi]: Clicks finegers.
1441: [23:50:26] <Ryan-Toast> fingers
1442: [23:51:34] * auto9_ quit (Read error: Connection reset by peer)
1443: [23:51:39] <Kingy> just make it pop ss23
1444: [23:51:50] <Kingy> cant beat a site that pops
1445: [23:52:21] * auto9 has joined #silverstripe
1446: [23:54:06] * auto9 quit (Read error: Connection reset by peer)
1447: [23:54:28] <Kingy> Colin[pi]: what times the flight
1448: [23:54:35] * auto9_ has joined #silverstripe
1449: [23:54:37] <Kingy> it's nice and windy for ya
1450: [23:55:30] * micmania1 quit (Quit: micmania1)
1451: [23:55:44] <Colin[pi]> Kingy: gets into Welly at about 11:30
1452: [23:55:53] <Colin[pi]> (at night)
1453: [23:56:01] <Kingy> coming from aus?
1454: [23:56:07] <Colin[pi]> Syd to Welly, yep
1455: [23:56:18] <Kingy> ah yep, I hate that flight
1456: [23:56:22] <Colin[pi]> I leave Canberra for Sydney at 2:30
1457: [23:56:40] <Kingy> I forked out extra for my xmas trip to leave at 8 and arrive at 3
1458: [23:58:14] <Kingy> wonder how antmas is getting on
1459: [23:58:34] <Colin[pi]> he has a lot of fog to deal with apparently :\
1460: [23:58:49] <Kingy> yeah fog on his end and gales at the other
1461: [23:59:01] <Colin[pi]> \o/
1462: [23:59:07] <Colin[pi]> should be a fun flight
1463: [23:59:24] <Kingy> yeah looks like it's going to be windy and shit for the rest of the week
1464: [23:59:41] <Kingy> probably get soaked walking from the train station to the conference tomorrow

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