#silverstripe IRC Log

IRC log for 23 July 2013

All timestamps are in UTC.

1: [00:00:21] <irogue> ah
2: [00:00:26] <irogue> must be disabled by default in Opera Next
3: [00:00:32] <spronk> opera next
4: [00:00:33] <spronk> lawl
5: [00:01:17] <irogue> yup, 3rd party cookies blocked by default
6: [00:02:46] * violetina quit (Remote host closed the connection)
7: [00:03:43] <simon_w> Yup, that's the thing to check after iframes
8: [00:04:17] * UncleCheese quit (Quit: UncleCheese)
9: [00:04:54] <Pyromanik> ss23: a modx 1.0.5 site got hacked. How did it happen?
10: [00:05:26] <ss23> hahah Xd
11: [00:05:31] <ss23> Speaking of, you guy sgoing ti ISIG?!
12: [00:05:32] <FrozenFire> Someone blew a stiff wind at it
13: [00:05:37] <ss23> You get to hear that guy talk about the Silverstripe DDoS!
14: [00:05:37] <ss23> :D
15: [00:05:39] <Pyromanik> isig?
16: [00:06:03] <Pyromanik> internet stupidity internet group!
17: [00:06:27] <Pyromanik> internet is twice because of the second word.
18: [00:07:58] <ss23> lol
19: [00:08:57] <Colin[pi]> ahhh god damn it accidentally pressed the back button on my mouse >_<
20: [00:09:07] <Colin[pi]> form data gone ;_;
21: [00:09:09] <atmos> can someone lend a hand with this submissions error? Drivin me nuts
22: [00:09:30] <Pyromanik> https://twitter.com/wdcnz/status/359437338063015936
23: [00:09:31] <Pyromanik> yusss
24: [00:10:04] <Pyromanik> atmos: what is/
25: [00:10:11] <spronk> lol pyro, course it was
26: [00:10:19] <spronk> sif those welly quakes were damaging in any form
27: [00:11:09] <atmos> the submissiosn form field data isn't populating in the sbumission grid
28: [00:11:21] <atmos> It's def in the db, and permissions are wide open
29: [00:12:06] <irogue> spronk: well, other than the port :P
30: [00:12:30] <ss23> hate that so mcuh, Colin[pi] :<
31: [00:13:24] <irogue> http://cdn.24.co.za/files/Cms/General/d/900/ecbaf3c1c1be4c199f74809361494ef4.jpg
32: [00:13:37] <irogue> OOPSIE
33: [00:13:51] <spronk> yeah well
34: [00:13:53] <spronk> reclaimed land
35: [00:14:24] <irogue> isn't practically half of wellington reclaimed? :P
36: [00:14:36] <simon_w> Nah, just the CBD and airport
37: [00:14:47] <spronk> so, yes
38: [00:14:56] <irogue> ah, nothing important then ;)
39: [00:15:23] <simon_w> Most of Wellington's on hills :p
40: [00:15:42] <irogue> http://en.wikipedia.org/wiki/File:Wellington_reclamation_animation.gif
41: [00:15:43] <irogue> wow
42: [00:16:34] <spronk> yeah
43: [00:16:38] <spronk> idiots built a city where there was no land
44: [00:16:41] <spronk> then were all
45: [00:16:41] <spronk> hmm
46: [00:16:42] <spronk> fuck
47: [00:16:49] <irogue> also http://en.wikipedia.org/wiki/File:Auckland_Waterfront_Plan.jpg
48: [00:16:52] <Colin[pi]> jesus did they learn nothing from Civ 5?
49: [00:16:57] <spronk> EXACTLY :p
50: [00:17:28] <Colin[pi]> did they not get a little icon to say "HERE IS A GOOD PLACE TO BUILD A CITY!"
51: [00:17:40] <ajmitch_> argh, civ 5
52: [00:17:51] * ajmitch_ wasted a little bit of time last night playing the new expansion for it
53: [00:18:04] <Colin[pi]> I feel your pain
54: [00:18:19] <Colin[pi]> I haven't got the expansion yet, but picked up civ5 in the sale
55: [00:18:24] <Colin[pi]> many hours later......
56: [00:18:29] <spronk> too expensive for me :)
57: [00:18:31] <ajmitch_> it can get like that
58: [00:18:41] * spronk decided ages back to live a few years in the past as far as games are concerned.
59: [00:18:41] <Colin[pi]> yeah I'll wait for the sale
60: [00:18:51] <spronk> cheaper gpu, cheaper game = win!
61: [00:19:04] <Colin[pi]> yeah I'm always behind these days too
62: [00:19:13] <Colin[pi]> also dont have a lot of time for gaming :\
63: [00:19:21] <spronk> mm
64: [00:19:30] <Colin[pi]> but Civ 5 you are an addictive succubus
65: [00:19:44] <Colin[pi]> one... more..... turn...
66: [00:20:20] <Colin[pi]> I really want the expansion because it has Brazil
67: [00:20:29] <Colin[pi]> first qn my gf asked "where is Brazil?"
68: [00:20:31] <Colin[pi]> hehe
69: [00:21:43] <Colin[pi]> omg three people will go to the ss meetup now :o
70: [00:26:05] <Pyromanik> 12:10 < spronk> sif those welly quakes were damaging in any form
71: [00:26:12] <Pyromanik> Yeah, but could be enough for panic mode
72: [00:26:21] <Pyromanik> or international speakers being like "NOPE"
73: [00:27:13] <spronk> heh
74: [00:27:14] <spronk> yeah
75: [00:27:19] <spronk> when is it? thurs?
76: [00:27:40] <spronk> maybe i'll go next year..
77: [00:27:54] <atmos> anyone sticking around for the xero party?
78: [00:28:06] <spronk> what band they got this year?
79: [00:28:37] <atmos> I don't think they've said anything about a band this time?
80: [00:28:50] <spronk> :O
81: [00:28:56] <Pyromanik> irogue: dat pic welly?
82: [00:29:10] <Pyromanik> atmos: yeh I'll be there all day and at the party
83: [00:29:11] <spronk> that's CentrePort?
84: [00:30:04] <atmos> Pyromanik: nice - my flight doesn't get in til 7.35am :(
85: [00:30:17] <Pyromanik> I'm going tomorrow
86: [00:32:07] <atmos> I would've left tomorrow, rather have Friday off though :>
87: [00:33:28] <ss23> simon_w / willr: Lunch today?
88: [00:34:45] <simon_w> mmm, lunch
89: [00:37:09] <ss23> Is that a "yes"? :O
90: [00:38:10] * mattybalaam quit (Quit: mattybalaam)
91: [00:38:42] <simon_w> Yeah
92: [00:41:21] <ss23> :D
93: [00:41:22] <ss23> mmk
94: [00:41:24] <ss23> same protocol as normal
95: [00:41:26] * ss23 puts in shades
96: [00:41:28] <ss23> operation noms.
97: [00:51:30] <ss23> Speaking of, anyone know the new % estimates for 6+ quake?
98: [00:51:47] <simon_w> Less than 20
99: [00:52:14] <ss23> It was ~20 at the conference yesterday afternoon
100: [00:52:15] <ss23> Still 20 now?
101: [00:52:28] <simon_w> It was 20 for the 24 hours after the 6.5
102: [00:52:39] <simon_w> Now, it'll be a lot less
103: [00:53:06] <spronk> meh
104: [00:53:18] <spronk> just wait until the wellington fault snaps because of stress rearrangement
105: [00:53:58] <simon_w> Or the W'rapa one
106: [00:55:03] * swordsmanz_ has joined #silverstripe
107: [00:55:29] * swordsmanz quit (Read error: Connection reset by peer)
108: [00:55:29] * swordsmanz_ is now known as swordsmanz
109: [00:55:31] <spronk> just need to get my eqc repairs done before it happens :P
110: [00:56:25] <simon_w> And then laugh at ss23 with his $0 of EQC cover :p
111: [00:56:35] <spronk> indeed
112: [00:57:15] <ss23> Yeah
113: [00:57:19] <ss23> After all my property gets damaged
114: [00:57:22] * ss23 looks around
115: [00:57:28] <ss23> I'll have to buy a new jacket!
116: [00:58:27] * zippy__ quit (Ping timeout: 246 seconds)
117: [01:05:13] * teman has joined #silverstripe
118: [01:05:36] * teman is now known as te-man
119: [01:09:02] <EasyCo> When using dmyfields as a DateField config, how does the CMS know to save the 3 NumericFields into the only db field?
120: [01:09:26] * howardgrigg has joined #silverstripe
121: [01:09:59] * Bollig|DesignCty has joined #silverstripe
122: [01:10:18] <EasyCo> I see the input gets generated as an array: name="mydate[day]" name="mydate[month]"
123: [01:10:55] <EasyCo> So does the CMS know to do an implode?
124: [01:12:01] <EasyCo> I'd check myself but I'm not sure where the form submits to.
125: [01:12:23] <spronk> oh god, ss23. We know how difficult that was the first time around
126: [01:13:02] <Pyromanik> EasyCo: yes, it's managed by the field itself.
127: [01:13:19] <Pyromanik> spronk: truth. So much jacket issues.
128: [01:13:41] * howardgrigg quit (Ping timeout: 248 seconds)
129: [01:13:42] <ss23> spronk: XD
130: [01:13:43] <EasyCo> Pyromanik: Thanks, you know where the code that handles the form submission resides?
131: [01:13:50] <ss23> I need to go shoes shopping too
132: [01:13:50] <ss23> :D
133: [01:14:24] <Pyromanik> EasyCo: class DateField extends FormField ?
134: [01:15:33] <simon_w> ss23, four minutes
135: [01:15:41] <ss23> mmk
136: [01:15:42] <ss23> :D
137: [01:18:34] <EasyCo> Pyromanik: You'd think so, but which method is responsible for handling the post to ItemEditForm.
138: [01:19:09] <EasyCo> Nm, think I found it
139: [01:19:36] <EasyCo> Actually no
140: [01:20:43] <EasyCo> Ahh, starts at doSave I think
141: [01:24:34] * Peavers quit (Ping timeout: 246 seconds)
142: [01:25:07] * Peavers has joined #silverstripe
143: [01:26:19] * mobiusnz has joined #silverstripe
144: [01:39:16] <Pyromanik> validate
145: [01:39:25] <Pyromanik> setValue
146: [01:39:38] <Pyromanik> something like that
147: [01:39:48] * te-man quit (Quit: Page closed)
148: [01:41:07] * zippy__ has joined #silverstripe
149: [01:41:29] * atmos quit (Ping timeout: 250 seconds)
150: [01:43:51] <Pyromanik> hey simon_w, if I have a . in my template name, does it mean anything special (other than the .ss)?
151: [01:44:00] <Pyromanik> ie, like _ does
152: [02:02:35] <simon_w> nope
153: [02:03:38] <simon_w> wobble wobble
154: [02:03:43] <ss23> small wobbles
155: [02:03:51] <ss23> been getting bigger ones all morning I'm sure
156: [02:04:04] <ss23> Or I'm just less sensitive to wobbles when full
157: [02:08:16] <simon_w> I like how no one really cares about the little quakes any more
158: [02:08:31] <Pyromanik> it don't count if it's not over 4
159: [02:09:07] <simon_w> Woo, time to write code!
160: [02:09:07] <simon_w> (Bitches!)
161: [02:09:15] * unsignedint wonders if wellington will get flattened like christchurch
162: [02:09:34] <Pyromanik> unsignedint: christchurch was already flat.
163: [02:09:53] <simon_w> Let's see. Two days after the 6.5, there's one lane closure left in the CBD
164: [02:09:53] <unsignedint> im talking about buildings falling down due to moving ground, but sure
165: [02:10:53] <irogue> i thought there was a quake in auckland last night
166: [02:11:09] <Pyromanik> the problem with wellington is that they've been trying to make it flat, and that's why the harbour is rising (the reclaimed land is slinking off into the middle of it)
167: [02:11:18] <irogue> floor was moving under me while i was sitting at my desk, noise of things moving around the floor
168: [02:11:24] <ss23> turns out irogue just farted
169: [02:11:33] <Colin[pi]> lol
170: [02:11:41] <Pyromanik> unsignedint: the quake wasn't that big.
171: [02:11:43] <irogue> was just flatmate sexing his gf very vigorously
172: [02:12:03] <Pyromanik> irogue: haha, noisy sexers?
173: [02:12:18] <Pyromanik> Fella in the flat above ours has a new GF.
174: [02:12:28] <irogue> well, wasn't the noise in this case but the making the walls/floor move
175: [02:12:38] <Pyromanik> they're not noisy sexers luckily, but their bed is a different story. Dat bitch need some oil, or something.
176: [02:12:40] <Colin[pi]> thud thud thud
177: [02:13:01] <Pyromanik> but being a new missus, it's pretty much every night
178: [02:13:08] <irogue> yeah, new missus in this case too
179: [02:13:20] <Colin[pi]> at a hotel I stayed at in brazil, I thought the couple upstairs were going to fall through the ceiling of my room
180: [02:13:22] <irogue> huh, i'd forgotten what the non-sale Steam store looked like
181: [02:13:26] <Pyromanik> give it a few years, that number will drop to zero :P
182: [02:13:33] <Pyromanik> irogue: totally shit, right?
183: [02:13:54] <Pyromanik> well, in dire need of update at the very least.
184: [02:13:58] <irogue> quite boring and expensive
185: [02:14:02] <Pyromanik> yep :P
186: [02:14:05] <ss23> Kind of like your mother
187: [02:14:07] <ss23> OHHHHHH
188: [02:14:13] <Pyromanik> and while not hard to navigate, not exactly intuitive either
189: [02:14:21] <Pyromanik> ss23: OOOH, HIGH FIVE
190: [02:14:22] <ss23> (also like your mother)
191: [02:15:46] <ss23> tfw "oh just SSH in as root"
192: [02:16:21] <ss23> A 5.5 would be interesting right now, since I'm in a tall building
193: [02:16:29] <Pyromanik> so anyway simon_w ... back to the . in template name...
194: [02:16:32] <Pyromanik> since _ is action
195: [02:16:38] <simon_w> [14:02:34] <simon_w> nope
196: [02:16:39] <ss23> Pyromanik: He said it's fine
197: [02:16:39] <Pyromanik> . could theoretically be used to namespace templates?
198: [02:16:51] <irogue> so, Tk is really easy
199: [02:16:53] <simon_w> Well, it was supposed to be hyphens
200: [02:17:35] <Pyromanik> ss23: you didn't wait for me to finish
201: [02:18:03] <Pyromanik> simon_w: neither did you :<
202: [02:18:17] <simon_w> So stop with the premature sending?
203: [02:18:22] <Pyromanik> NO
204: [02:18:30] <Pyromanik> stop being so damn fast to reply :P
205: [02:19:13] * UncleCheese has joined #silverstripe
206: [02:19:22] <irogue> Pyromanik's used to finishing prematurely
207: [02:19:35] <ss23> Pyromanik: I never wait for you to finish
208: [02:19:36] <ss23> :D
209: [02:19:36] <Pyromanik> it happens
210: [02:19:53] <metanat> UncleCheese: I just realised what your gitignore was doing. Nice, I like it
211: [02:20:03] <Pyromanik> which is?
212: [02:20:07] <Pyromanik> DO SHARE
213: [02:20:15] <simon_w> Ignoring everything?
214: [02:20:22] <metanat> UncleCheese: At first I didn't realise what your goal was, but I get it now.
215: [02:20:26] <UncleCheese> yeah
216: [02:20:44] <UncleCheese> for most projects, i think a .gitinclude file makes more sense
217: [02:20:47] <UncleCheese> too bad that's not supported
218: [02:21:28] <Pyromanik> oic
219: [02:22:35] <simon_w> "Processed at the CourierPost Auckland Operations Centre on Jul 23 2013 2:21PM."
220: [02:22:36] <simon_w> Hmm, might still get it today, though not likely :(
221: [02:22:40] <Pyromanik> hg
222: [02:22:42] <Pyromanik> hg all the things
223: [02:22:53] <simon_w> For most projects, git doesn't make sense :p
224: [02:23:02] <ss23> Deploying to live: git branch (verify the branch is "staging")
225: [02:23:06] <simon_w> (seriously, it's not what it's designed for)
226: [02:23:15] <UncleCheese> i'm not taking any advice from a guy who walks around barefoot
227: [02:23:18] <ss23> hahah
228: [02:23:39] <ss23> It basically degrades to svn anyway, who cares. I'd rather use git for all projects tahn only the projects that it's best for, since it degrades gracefully to svn
229: [02:23:41] <simon_w> I wore shoes to lunch today!
230: [02:23:52] <ss23> ^^^
231: [02:23:56] <ss23> I was like "Something is different"
232: [02:23:58] <ss23> took me a while to figure it out
233: [02:24:28] <UncleCheese> is that acceptable in NZ? i wouldn't think any public place would allow your entry
234: [02:24:44] <simon_w> Why wouldn't it be?
235: [02:25:32] <UncleCheese> good question.. health standards i guess
236: [02:25:43] <Bollig|DesignCty> Yeah, I'm not a fan of the 'barefoot in the supermarket' kind of people.
237: [02:26:02] <UncleCheese> most public buildings that i've seen have signs that say "no shirt, no shoes, no service"
238: [02:26:13] <irogue> [14:24] <UncleCheese> is that acceptable in NZ? i wouldn't think any public place would allow your entry
239: [02:26:17] <irogue> very much depends where you are
240: [02:26:21] <UncleCheese> ah
241: [02:26:45] <simon_w> I don't think I've seen any place I'd actually want to go to with one of those signs :p
242: [02:27:03] <Bollig|DesignCty> I assume it's similar to Aus… wouldn't make it into a restaurant, probably get by most other places.
243: [02:27:12] <irogue> yup
244: [02:27:41] <simon_w> Around where I grew up, would be fine in most restaurants too
245: [02:27:54] <simon_w> Large pacific island community
246: [02:27:58] <irogue> yeah
247: [02:28:06] <irogue> south auckland you could probably go anywhere barefoot
248: [02:28:08] <Colin[pi]> I was going to say Hobbiton
249: [02:28:11] <simon_w> I guess that explains why one of Wellington's few KFCs was there too
250: [02:28:48] <irogue> the area i grew up, barefoot was the norm cos if you wore shoes to school they'd get stolen
251: [02:28:56] <Bollig|DesignCty> lol yeah, the thought occurred to me too Colin[pi]… How tall are you simon_w? ;)
252: [02:28:57] <Colin[pi]> o_O
253: [02:29:08] <simon_w> 182 :p
254: [02:29:16] <irogue> (ss23 can probably attest to that, he's from-ish that area too)
255: [02:29:22] <Bollig|DesignCty> simon_w: lol, so more elven than hobbit :(
256: [02:29:35] <Bollig|DesignCty> irogue: you grew up on the mean streets of New Zealand? They have those?
257: [02:29:44] <simon_w> Ooh, I know an elf! He's also a dead dwarf.
258: [02:29:51] <irogue> moved to North Shore of Auckland, people look at me very funny when i go to supermarket without shoes on
259: [02:30:06] <irogue> and yet totally normal to go to supermarket sans-shirt here, whereas in Hamilton that would get you odd looks
260: [02:30:09] <Bollig|DesignCty> If it helps irogue, I'd totally be judging you ;)
261: [02:30:23] <ss23> lol
262: [02:30:32] <ss23> irogue: trudat
263: [02:30:42] <irogue> went to supermarket once during summer and about 50% of the guys there were shirtless
264: [02:30:45] <irogue> (it was heaven)
265: [02:30:49] <simon_w> And then there's small towns. Turns out Whakatane has two supermarkets: one for white people and one for everyone else
266: [02:30:59] <irogue> haha
267: [02:31:13] <irogue> Hamilton has two CBDs like that
268: [02:31:14] <simon_w> We went to the everyone else one and got odds looks
269: [02:31:31] <irogue> Frankton Village is like the CBD for Maori/Islanders
270: [02:31:40] <ss23> hahaha
271: [02:31:43] <ss23> I was going to say "two CBDs?"
272: [02:31:48] <ss23> theN I was like "... frankton."
273: [02:31:54] <irogue> yeah
274: [02:34:53] <irogue> they need to go to the bank, or buy some furniture, or rego their car - off to Frankton!
275: [02:35:34] <irogue> its odd how, even in a country that's never had segregation, people self-segregate
276: [02:37:14] <Pyromanik> I was like "I'll just read the source to see the options hash explaination..."
277: [02:37:17] <Pyromanik> NOPE
278: [02:37:19] <Pyromanik> https://github.com/codrops/PFold/blob/master/js/jquery.pfold.js
279: [02:38:08] <spronk> lul
280: [02:38:40] <ss23> 14:26:02 < UncleCheese> most public buildings that i've seen have signs that say "no shirt, no shoes, no service"
281: [02:38:46] <ss23> Why go there if they don't have shoes, shirts, or service/
282: [02:38:47] <Pyromanik> oh there we are, lines 69-97
283: [02:38:50] <ss23> I would expect them to have at least one!
284: [02:38:58] <irogue> yeah, service
285: [02:39:01] <Pyromanik> out of 856
286: [02:39:02] <irogue> who cares about shirt or shoes
287: [02:39:05] <ss23> But it says no service!
288: [02:39:06] <ss23> :<
289: [02:39:14] <ss23> I wouldn't go to a store that doesn't have service!
290: [02:39:25] <irogue> you've never been to Dick Smith?
291: [02:39:29] <Pyromanik> ROFL
292: [02:39:45] <ss23> lol irogue
293: [02:39:51] <Pyromanik> UncleCheese: this is NZ. Any shop with taht on the window isn't worth going to.
294: [02:40:04] <Pyromanik> ESPECIALLY if they're on a shoreline.
295: [02:40:17] <Pyromanik> unless they're a resturant or something.
296: [02:40:26] <simon_w> Or the North Shore :p
297: [02:40:35] <Pyromanik> not actually a shore line
298: [02:40:46] <Pyromanik> just a misleading name
299: [02:41:01] <irogue> yeah, shoes seem to be required here but not shirts (though that changes the further you get from a beach)
300: [02:41:12] * metanat1 has joined #silverstripe
301: [02:41:17] <simon_w> Togs, togs, togs, undies!
302: [02:41:33] <irogue> exactly
303: [02:41:48] <irogue> here, no shirt in shops is normal: http://goo.gl/maps/AmZjM
304: [02:42:07] <irogue> here, it's a bit weird: http://goo.gl/maps/Q3RlK
305: [02:43:16] <Pyromanik> haha simon_w, that ad was brilliant
306: [02:43:19] <ss23> ^^
307: [02:43:21] <ss23> Made me lol
308: [02:43:36] <Pyromanik> soemone find it on youtube and show UncleCheese
309: [02:43:54] * metanat quit (Ping timeout: 264 seconds)
310: [02:43:55] <ss23> https://www.youtube.com/watch?v=h-Lx2ihpGbc
311: [02:44:09] <Pyromanik> http://goo.gl/maps/Q3RlK
312: [02:44:12] <Pyromanik> FFF
313: [02:44:15] <ss23> :D
314: [02:44:17] <Pyromanik> paste no work, wtf
315: [02:44:28] <Pyromanik> oh ok
316: [02:44:36] <Pyromanik> if you copy something from chrome, then close the window, boom it's gone.
317: [02:44:45] <Pyromanik> you dick chrome.
318: [02:45:54] <simon_w> Lol, Chrome
319: [02:46:03] <simon_w> 1password at least gives me 5 minutes before doing that
320: [02:46:36] <ss23> dammit
321: [02:46:43] <ss23> how do you set like a site root page in Silverstripe/
322: [02:46:50] <ss23> SiteTree empty, how to use CMS to set a page as root
323: [02:47:28] * pcuser42 has joined #silverstripe
324: [02:48:12] <Pyromanik> ss23: make the URLSegment 'home'
325: [02:48:18] <ss23> oic
326: [02:48:22] <ss23> Figured it was something special like that
327: [02:48:53] <Pyromanik> yeh, it's about 100% stupid
328: [02:48:58] <irogue> one of these days
329: [02:49:03] <ss23> Heya pcuser42, hopefully you can get your help here :P
330: [02:49:05] <Pyromanik> if there's another better answer I'd LOVE to hear it
331: [02:49:06] <irogue> one of those fucking planes is gonna crash
332: [02:49:07] <ss23> Just ask your question or w/e
333: [02:49:19] <Pyromanik> 14:48 < irogue> one of these days
334: [02:49:20] <Pyromanik> ?
335: [02:49:25] <ss23> omg Pyromanik doesn't work! :O
336: [02:49:33] <ss23> Pyromanik: He's jus quoting Foofighters
337: [02:49:33] <ss23> :D
338: [02:49:38] <Pyromanik> you b0rk'd it
339: [02:49:43] <ss23> maybe I spelled 'home' wrong
340: [02:49:46] * ss23 tries again
341: [02:49:56] <Pyromanik> urgh, requireing jQuery AND Modernizr
342: [02:50:00] <ss23> Better, forgot to publish >.<
343: [02:50:07] <irogue> i still want to put an ip camera outside pointing up at sky
344: [02:50:23] <irogue> stream all the military planes on approach
345: [02:50:37] <ss23> irogue: did oyu move from where you were when I visited/
346: [02:50:42] <ss23> (your work, that is)
347: [02:50:52] <irogue> negative
348: [02:50:58] <ss23> simon_w: Also, please can you help with my pull request? ;_;
349: [02:51:07] <ss23> simon_w: I presume I just need to throw a new http repsonse thingy and it'll redirect, but... idk
350: [02:51:20] <irogue> ss23: we're on the approach path for the Air Force Base
351: [02:51:24] <ss23> oic
352: [02:51:34] <ss23> irogue: Even better, get a drone to hover over your work
353: [02:51:34] <ss23> :D
354: [02:51:43] <pcuser42> so i'm a complete noob at this, so this is probably going to be either poorly explained, stupid or both
355: [02:51:52] <irogue> ss23: haha
356: [02:51:55] <ss23> pcuser42: Don't worry, we're used to Pyromanik
357: [02:52:09] <irogue> http://goo.gl/maps/rYC1x
358: [02:52:18] <irogue> they're flying really low by the time they go above here
359: [02:52:21] <pcuser42> but basically is there a way to translate ORDER BY ISNULL(priority), priority, RAND() ASC into a sort thingy
360: [02:52:46] <ss23> Hmmm
361: [02:52:59] <pcuser42> i can get the last two field sorting okay, but not ISNULL()
362: [02:52:59] <ss23> pcuser42: Worst case you would manually construct one with a SQLQuery I guess...
363: [02:53:10] <ss23> simon_w: halp pcuser42 plz
364: [02:53:15] <irogue> yeah, the isnull part is tricky
365: [02:53:48] <ss23> Will it escape the ISNUL?
366: [02:53:58] <ss23> Can you literally pass in the string 'ISNULL(priority)'?
367: [02:54:15] <pcuser42> basically what i'm working on is a testimonials page with company logos on it, we may want to push certain logos to the top with `priority` and randomise the order of the rest, so null or 0 needs to be at the end
368: [02:54:23] <pcuser42> i tried that, it doesn't seem to work :/
369: [02:55:09] <ss23> Do you really need to do the isnull then? Can't you just sort by rand then priority (or vice versa), and since they'll be priority 0, it'll work fine?
370: [02:55:15] <ss23> Or is the issue that it'll then do the *reverse* order?
371: [02:55:24] <ss23> Because if so, you could just make your priorities higher?
372: [02:55:48] <pcuser42> i could do priority 9999 or something i guess :/
373: [02:55:50] <irogue> yeah just make the db field NOT NULL
374: [02:56:44] <ss23> pcuser42: Why not make it so when they get sorted, #1 priority (first in list) is priorty 9999 etc?
375: [02:57:41] <pcuser42> or sort ascending, then just have the default 9999 :/
376: [02:57:45] <simon_w> pcuser42, if priority is an Int field, it won't be null
377: [02:58:05] <pcuser42> right so i better disallow null on the table field then :P
378: [02:58:21] <ss23> can just set default 9999
379: [02:58:25] <ss23> but uh
380: [02:58:32] <ss23> Remember it'll be slow if you get a decent amount of logos, pcuser42
381: [02:58:47] <ss23> cause the order by rand() is like O(n) or some shit that's stupid
382: [02:58:56] <ss23> compsci is hard
383: [02:59:01] <pcuser42> if it gets too slow we can take logos out
384: [02:59:14] <pcuser42> tell me about it :P
385: [02:59:32] <simon_w> Pfft, compsci isn't hard :p
386: [02:59:44] <simon_w> And it'll be O(n ln n)
387: [03:00:01] <simon_w> Because MySQL is stupid like that
388: [03:00:34] <irogue> if mariadb fixed RAND...
389: [03:01:31] <pcuser42> right so default 9999 it is :P
390: [03:01:46] <pcuser42> also while i'm here, is "Notice: Constant CMS_DIR already defined in C:\xampp\htdocs\recrukit.com\web\cms\tasks\_config.php on line 7" anything to get too worried about?
391: [03:02:10] <simon_w> Yes. You've got a duplicate _config.php
392: [03:02:46] <simon_w> cms\tasks\_config.php shouldn't exist
393: [03:03:22] <pcuser42> after i rename it, it doesn't work :/
394: [03:03:41] <pcuser42> probably done by the guys who built the site, i'm just modifying it
395: [03:04:23] * cloph quit (Ping timeout: 240 seconds)
396: [03:05:29] <mobiusnz> pcuser42: pastie.org its contents if it's not to revealing?
397: [03:07:00] <pcuser42> http://pastie.org/private/zwh5uhbjtsvrlg9osm8amq
398: [03:07:32] <pcuser42> i have no idea how a config file ended up in tasks :/
399: [03:09:14] * cloph_away has joined #silverstripe
400: [03:09:52] * howardgrigg has joined #silverstripe
401: [03:13:18] * Peavers quit ()
402: [03:14:07] * howardgrigg quit (Ping timeout: 246 seconds)
403: [03:14:27] <simon_w> pcuser42, you need to flush after renaming it
404: [03:15:50] <ss23> these wobbles seemed a little more than normal
405: [03:17:05] <pcuser42> that did it. thanks :)
406: [03:18:44] <ss23> Damn I'm good at connecting simon_w to the rest of the community
407: [03:18:48] <ss23> I should be the community manager
408: [03:18:48] <ss23> :D
409: [03:21:18] * d-clown has joined #silverstripe
410: [03:22:02] * pcuser42 quit (Quit: Page closed)
411: [03:23:04] * mobiusnz quit (Quit: Leaving.)
412: [03:23:12] * d-clown has left #silverstripe
413: [03:23:23] <simon_w> So apply? :p
414: [03:23:32] <ss23> lol
415: [03:23:37] <ss23> It was a joke, a joke!
416: [03:23:40] <ss23> That pcuser guy was on Twitter
417: [03:23:50] <ss23> wait
418: [03:23:53] <ss23> I recognize his name
419: [03:24:12] <ss23> also, these wobbles feel big right, simon_w?
420: [03:24:22] <simon_w> What wobbles?
421: [03:24:29] <ss23> this building is wobbling
422: [03:24:49] <ss23> Not sure if just aimplfieid cause big building + wind + people walking around, or proper wobbles
423: [03:24:49] <simon_w> Yeah, that building isn't the best :p
424: [03:24:55] <unsignedint> ss23 how many beers have you had?
425: [03:24:58] <ss23> xD
426: [03:25:04] <simon_w> Colin[pi], three people at the meet up now!
427: [03:25:12] <ss23> I haven't had anything to drink since I got smashed on Friday!
428: [03:25:38] <unsignedint> is that quite good for you? :P
429: [03:27:02] <zippy__> was ther ea function / hook that you can use to run some code after a dev/build
430: [03:27:15] <zippy__> I want to migrate some content…. I thought there was something
431: [03:27:21] <simon_w> Nope. Closest you've got is requireDefaultRecords()
432: [03:28:19] <ss23> zippy__: You could make a test for it, and just tell people to run the task
433: [03:28:55] <Pyromanik> 14:51 <@ss23> pcuser42: Don't worry, we're used to Pyromanik
434: [03:28:59] <Pyromanik> 14:51 <@ss23> pcuser42: Don't worry, we're used to Pyromanik
435: [03:29:09] <Pyromanik> dat lag
436: [03:29:18] <Pyromanik> also, you cheeky sod.
437: [03:29:26] <Pyromanik> ps, lulz, nice.
438: [03:29:37] <simon_w> Hang on, something's wrong...
439: [03:29:42] <simon_w> That's better!
440: [03:29:59] <ss23> :O
441: [03:30:02] * ss23 tips his +v hat
442: [03:30:08] <ss23> Pyromanik: :D
443: [03:30:32] <ss23> simon_w: COME ON
444: [03:30:35] <ss23> You have to feel these wobbles
445: [03:30:35] <ss23> ;_;
446: [03:30:45] <simon_w> Nope
447: [03:30:51] <ss23> :<
448: [03:35:23] <simon_w> It was a 2.4. I doubt you felt it.
449: [03:35:44] <ss23> blurgh
450: [03:40:22] <zippy__> or was it the 3
451: [03:44:50] <ss23> 3 was later
452: [03:58:04] * metanat1 quit (Quit: Leaving.)
453: [03:58:10] * metanat has joined #silverstripe
454: [03:58:16] * SightUnseen has joined #silverstripe
455: [03:58:27] * SightUnseen has left #silverstripe
456: [04:00:12] * simon_w quit (Ping timeout: 256 seconds)
457: [04:01:38] * atmos has joined #silverstripe
458: [04:02:21] * cloph has joined #silverstripe
459: [04:02:22] * wmk has joined #silverstripe
460: [04:03:06] * cloph_away quit (Ping timeout: 264 seconds)
461: [04:03:06] <wmk> g'morning
462: [04:13:21] * Colin[pi] quit (Ping timeout: 264 seconds)
463: [04:14:13] * Colin[pi] has joined #silverstripe
464: [04:14:37] * lietzmk has joined #silverstripe
465: [04:16:00] <ss23> moin wmk
466: [04:17:09] * zippy__ quit (Ping timeout: 248 seconds)
467: [04:23:37] * swordsmanz quit (Read error: Connection reset by peer)
468: [04:23:40] * swordsmanz_ has joined #silverstripe
469: [04:29:25] * swordsmanz_ quit (Quit: ooh ponies kinkeyyy)
470: [04:29:31] <UncleCheese> noob question
471: [04:29:42] <UncleCheese> what are we using now instead of user_error() ?
472: [04:29:46] * swordsmanz has joined #silverstripe
473: [04:29:51] <UncleCheese> throw new SomethingException()?
474: [04:32:56] <Pyromanik> UncleCheese: preferrably, yes.
475: [04:33:08] <UncleCheese> what's a good exception to throw?
476: [04:33:14] <Pyromanik> Exception
477: [04:33:26] <Pyromanik> depends on what has gone wrong
478: [04:33:41] <UncleCheese> do you know some of them off hand?
479: [04:33:44] <Pyromanik> nope
480: [04:33:49] * swordsmanz has left #silverstripe
481: [04:33:50] <Pyromanik> you subclass exception and off you go
482: [04:34:07] <Pyromanik> SS may have some set up that it uses though.
483: [04:34:24] <Pyromanik> that way people can catch exceptions of a particular type
484: [04:34:32] <Pyromanik> nice, you see
485: [04:35:07] * atmos quit (Quit: Page closed)
486: [04:44:42] <Colin[pi]> yay location selected for the meetup, 24 hours before lol
487: [04:44:50] <ss23> lol Colin[pi]
488: [04:44:53] <ss23> Is this... chch meetup?
489: [04:44:56] <ss23> OMG is Pyromanik coming?!
490: [04:45:04] <Colin[pi]> canberra :P
491: [04:45:13] <ss23> ah thats right
492: [04:45:15] <ss23> 3 people, nice
493: [04:45:15] <ss23> :P
494: [04:45:18] <Colin[pi]> lol
495: [04:45:34] <Colin[pi]> shane is going to try and meet some more at the convention centre
496: [04:46:33] <Pyromanik> ss23: it does sound like a CHC meet up.
497: [04:46:45] <Pyromanik> We had one once. 4 of us turned up.
498: [04:46:47] <ss23> lol
499: [04:47:05] <Pyromanik> we tried again since, but no time could be found that suited at least three.
500: [04:47:37] <Pyromanik> and some stopped hanging out in channel
501: [04:47:49] <Pyromanik> so if we were to try again, it'd just be Spronk and I.
502: [04:48:02] * UncleCheese quit (Quit: UncleCheese)
503: [04:48:11] <Colin[pi]> so NZ... http://classic.slashdot.org/story/13/07/22/239250
504: [04:48:19] <Pyromanik> hmm, hours worth of quoting to do in 15 mins.
505: [04:48:21] <Pyromanik> good times.
506: [04:48:22] <ss23> lol
507: [04:48:38] <ss23> Colin[pi]: I like the way everyone ignores that a) it's already legal, and b) every other country already makes it legal too
508: [04:48:41] <ss23> Like
509: [04:49:00] <ss23> I get the intent behind the outrage, but really. "NZ government is going to make it legal to spy on citizens" is probably the worst headliner to use ever
510: [04:49:06] <Colin[pi]> but.. but... ANGRY RABBLE RABBLE RABBLE
511: [04:49:10] <ss23> Good for inciting misinformed rage though, I guess. Not like anyone needs to have a clue to be angry
512: [04:49:13] <ss23> :P
513: [04:49:17] <Colin[pi]> yeah it's a shitty title
514: [04:49:49] <ss23> My eyesight feels really weird
515: [04:49:55] <ss23> I think I may be getting a migraine
516: [04:49:57] * ss23 nervous
517: [04:50:25] <Colin[pi]> :(
518: [04:50:31] <Colin[pi]> you get them regularly?
519: [04:50:40] <ss23> nope
520: [04:50:43] <ss23> like once every 5 years
521: [04:51:06] <Colin[pi]> eek :(
522: [04:55:17] * DigNZ quit (Quit: DigNZ)
523: [04:56:08] * lietzmk quit (Quit: Leaving)
524: [04:59:58] <ss23> How does git do its "did you mean?"? Just sorted + limited hamming distance or what?
525: [05:00:48] * UncleCheese has joined #silverstripe
526: [05:01:02] * nickmolhoek1 quit (Quit: nickmolhoek1)
527: [05:01:03] <Pyromanik> huzzah, holiday time!
528: [05:01:40] <Pyromanik> ss23: nfi.
529: [05:01:51] <Pyromanik> it's good though, I'd be lost without it sometimes.
530: [05:02:37] <Colin[pi]> hmm I have a customer saying they were quoted by another company at less than half my quote for the same site
531: [05:02:45] <Colin[pi]> that seems extraordinarily cheap :\
532: [05:02:55] <Colin[pi]> I can't match that price
533: [05:03:12] <Colin[pi]> could be shenanigans, but dunno
534: [05:03:45] <Pyromanik> Colin[pi]: tell them to go there then.
535: [05:03:57] <Pyromanik> they'll either come back with their tail between their legs in 6 months
536: [05:04:08] <Colin[pi]> yeah I sent a polite email saying thanks but I can't match them, go there if you want
537: [05:04:16] <Pyromanik> or they'll give you the run around and be the worst fucker ever when it comes to scope creep if you take them on.
538: [05:04:20] <ss23> Pyromanik: HOLIDAY?
539: [05:04:22] <ss23> omg omg omg Pyromanik
540: [05:04:25] <ss23> ARE YOU COMING TO VISIT ME?!
541: [05:04:26] * ss23 claps
542: [05:04:30] <Pyromanik> ss23: yes.
543: [05:04:42] <ss23> :D
544: [05:04:43] <Pyromanik> you said you'd get me BurgerFuel.
545: [05:04:43] <ss23> yay
546: [05:04:47] <ss23> I will
547: [05:04:47] <ss23> ^.^
548: [05:04:50] <Pyromanik> I'm going to have Burgers and Beers before I come.
549: [05:04:52] <ss23> You turn up... thursday night?
550: [05:04:57] <Pyromanik> and I'm going to compare.
551: [05:05:09] <ss23> I'm going to ISIG talk Thursday night, but Friday lunch etc we can :D
552: [05:05:09] <Pyromanik> ss23: thursday night is WDC after party
553: [05:05:12] <ss23> oic
554: [05:05:13] <Pyromanik> should hope I get there before then
555: [05:05:16] <ss23> wait
556: [05:05:18] <Pyromanik> I come tomorrow.
557: [05:05:21] <Pyromanik> 4pm
558: [05:05:23] <ss23> tomorrow is...
559: [05:05:26] <ss23> Wednesday? :O
560: [05:05:27] <Pyromanik> Wednesday
561: [05:05:28] <Pyromanik> yes
562: [05:05:44] <Pyromanik> but I have to finish this dang quote first :<
563: [05:05:58] <ss23> lol
564: [05:06:10] <ss23> Pyromanik: Cool, hit me up on either Wednesday night or Thursday for lunch etc
565: [05:06:47] <Pyromanik> Will be at WDC on Thursday
566: [05:06:54] <Pyromanik> Will be Wednesday evening
567: [05:06:56] <ss23> When are we meant to get Burgerfuel?!
568: [05:06:58] <ss23> kk
569: [05:06:59] <ss23> um
570: [05:07:13] <ss23> Pyromanik: I normally stay at work till late, so just hit me up when you fly in or something, I'll be on IRC
571: [05:07:18] <Pyromanik> yeh
572: [05:07:24] <Pyromanik> wiat fuck
573: [05:07:29] <Pyromanik> vodafone are pricks
574: [05:07:33] <Pyromanik> cut off my datas
575: [05:07:37] <ss23> lol
576: [05:07:40] <ss23> Um
577: [05:07:49] <Colin[pi]> lol
578: [05:07:50] <Pyromanik> I'll come on up
579: [05:07:50] <ss23> Pyromanik: If it's within business hours, you can come up to SS and ask for me if you really want
580: [05:07:51] <Pyromanik> say hi
581: [05:08:07] <ss23> you might have to press the buzzer of shame and wait for someone to come in and get you
582: [05:08:08] <Pyromanik> meet Sam, tell him he's coming for a beer too
583: [05:08:10] <ss23> :3
584: [05:08:18] <Pyromanik> ss23: zomg, i've always wanted to do that
585: [05:08:35] <ss23> haha
586: [05:09:55] <Pyromanik> urgh, damn you quote, it's the end of the day I can't think
587: [05:10:11] <ss23> XD
588: [05:10:17] * howardgrigg has joined #silverstripe
589: [05:13:03] * coldblooded01 quit (Quit: coldblooded01)
590: [05:14:45] * howardgrigg quit (Ping timeout: 248 seconds)
591: [05:18:14] * DesignerX has joined #silverstripe
592: [05:26:04] * UncleCheese quit (Quit: UncleCheese)
593: [05:29:53] * mdowton has joined #silverstripe
594: [05:30:33] <mdowton> I am looking to turn an xml string into an arraylist to use in a template?
595: [05:36:33] <wmk> mdowton, you want to parse the xml into an array?
596: [05:36:54] * DigNZ has joined #silverstripe
597: [05:38:14] <mdowton> yes
598: [05:41:00] <wmk> how about http://api.silverstripe.org/3.1/class-Convert.html#_recursiveXMLToArray and put that into an arraylist?
599: [05:41:28] <mdowton> Thanks Ill give it a go
600: [05:41:39] * ss23 gives wmk 100 points
601: [05:41:40] <ss23> :D
602: [05:41:47] <ss23> I have a +v, so I'm allowed to give out points
603: [05:46:03] <Colin[pi]> http://www.news.com.au/national-news/south-australia/drug-affected-adelaide-man-caught-driving-defected-car-with-pair-of-vice-grips/story-fnii5yv4-1226683677029
604: [05:46:11] <Colin[pi]> looks safe
605: [05:46:18] <ss23> scary URL
606: [05:46:25] <ss23> holy crap
607: [05:46:27] <ss23> scarier link.
608: [05:46:40] <ss23> "string of driving offences, including driving without a steering wheel
609: [05:46:40] <ss23> Read more: http://www.adelaidenow.com.au/national-news/south-australia/drug-affected-adelaide-man-caught-driving-defected-car-with-pair-of-vice-grips/story-fnii5yv4-1226683677029#ixzz2ZqRJEfgb"
610: [05:46:44] <ss23> dsafuasdfadsf
611: [05:46:46] <ss23> GODDAM SON OF A BITCH
612: [05:46:47] <ss23> FUCK
613: [05:46:47] <irogue> hahahahahhaha
614: [05:46:49] <ss23> FUCK OFF READ MORE
615: [05:46:52] <ss23> I swear
616: [05:46:54] <Colin[pi]> lol
617: [05:47:01] <irogue> y'know
618: [05:47:04] <irogue> i feel like it's time
619: [05:47:06] <irogue> to go home
620: [05:47:07] <ss23> Not once in anyones fucking life has that happened and someone been like "Oh I'm glad that readmore link was there"
621: [05:47:07] <irogue> and play LoL
622: [05:47:11] <ss23> XD
623: [05:47:14] <ss23> irogue: You on AU server?
624: [05:47:17] <ss23> You good yet?! :P
625: [05:47:20] <irogue> yes, and no
626: [05:47:26] <ss23> lol
627: [05:47:31] <irogue> basically only play when in hamilton
628: [05:47:38] <irogue> played a few games with cole in the weekend
629: [05:47:42] <irogue> before that the last time i'd played was with you
630: [05:47:54] <ss23> yep yep
631: [05:48:08] <irogue> got my flatmates into it tho
632: [05:48:11] <irogue> so i'll prob play more now
633: [05:48:13] <ss23> I played with some guy the other day, he's new, probably around the same as you (been playing for less long, but plays more often)
634: [05:48:20] <ss23> He was like "I could easily beat you!"
635: [05:48:23] <irogue> lol
636: [05:48:24] <ss23> I owned him, 5/0
637: [05:48:30] <ss23> "IF I HAD MASTER YI I WOULD BEAT YOU SO EASILY"
638: [05:48:31] <ss23> like
639: [05:48:38] <ss23> I remmeber feeling the exact same way when I was new
640: [05:48:42] <irogue> lol
641: [05:48:46] <ss23> that like, you just need to get a good champion and you could beat ANYONE
642: [05:48:48] <irogue> i just always assume i suck at games
643: [05:48:55] <irogue> when i don't suck at a game, i'm always surprised
644: [05:48:57] <ss23> XD
645: [05:48:59] <irogue> e.g. OpenTTD
646: [05:49:16] <irogue> or Demigod
647: [05:49:28] <irogue> have got rather good at Legion TD (wc3 mod) too
648: [05:50:07] * DigNZ quit (Quit: DigNZ)
649: [05:50:18] <ss23> Yeah
650: [05:50:19] <ss23> idk
651: [05:50:26] <ss23> I don't really assume I'm good, but games like LoL/Dota..
652: [05:50:33] <ss23> When you start out, you put so much time into a single person
653: [05:50:42] <ss23> Then like, if you play someone pro, you constantly be like "MAN IF I JUST HAD A GOOD GAME"
654: [05:51:01] <ss23> It takes ages to realise the reason it was so hard for you and it felt like you were playing badly is because when someone's more experienced, they shut you the fuck down so easily
655: [05:51:06] <ss23> Like, they just stop you being able to play properly
656: [05:51:09] <irogue> yeah
657: [05:51:23] <irogue> was ARAMing in the w/e
658: [05:51:26] <irogue> is good
659: [05:51:27] <ss23> STill happens to me all the time, but now I'm just like "goddam I'm really shit compared to this person" instead of "MAN I'M HAVING SUCH A BAD DAY, I SHOULD'VE BEEN SOMEONE ELSE"
660: [05:51:32] <ss23> ya :d
661: [05:51:34] <ss23> I <3 ARAM
662: [05:51:39] <ss23> No ARAM on AU though
663: [05:51:39] <ss23> :<
664: [05:51:43] <irogue> yes there is
665: [05:51:48] <ss23> what?
666: [05:51:51] <irogue> got added in the weekend ^_^
667: [05:51:52] <ss23> when did they add it? :O
668: [05:51:54] <ss23> oh nice
669: [05:51:55] <irogue> hence playing it
670: [05:51:55] <ss23> :D
671: [05:51:57] <ss23> hahaha
672: [05:52:04] <ss23> I thought you were going to be like "BEEN THERE FOR AGES"
673: [05:52:05] <ss23> :P
674: [05:52:53] <spronk> oi_O
675: [05:53:01] <ss23> spronk wants to play
676: [05:53:02] <ss23> :D
677: [05:53:09] <spronk> the fuck are you playing?
678: [05:53:13] <Pyromanik> right
679: [05:53:15] <Pyromanik> home!
680: [05:53:16] * Pyromanik quit (Quit: leaving)
681: [05:53:17] <ss23> Yay!
682: [05:53:19] <ss23> Home time
683: [05:53:19] <ss23> :D
684: [05:53:23] <ss23> Oh yay, pyro is coming
685: [05:53:32] <ss23> Anyone want me to like... punch him? Or give him a hug or something, from them?
686: [05:53:37] <ss23> No handjobs, irogue
687: [05:53:38] <Colin[pi]> combine the two
688: [05:53:41] <spronk> fist bump
689: [05:53:42] <ss23> lol
690: [05:53:44] <ss23> kk
691: [05:53:45] <irogue> spronk: League of Legends...
692: [05:53:54] <spronk> what the hell is that
693: [05:53:56] <ss23> "this fist bump is from spronk, this punch in the face followed by a hug is from Colin[pi] "
694: [05:53:59] <spronk> god..
695: [05:53:59] <ss23> I'm sure he'll appercaite it
696: [05:54:01] <spronk> i used to be a gamer
697: [05:54:01] <ss23> spronk: a game?
698: [05:54:06] <ss23> Literally, given we're talking about games
699: [05:54:15] <spronk> these days, i have no fucking idea what's a game, and what's the new designer drug
700: [05:54:16] <ss23> "HEY WHAT GAME ARE YOU TALKING ABOUT?" "this game!" "Woah?! whats that"
701: [05:54:18] <ss23> A GAME MAN
702: [05:54:19] <ss23> A GAME.
703: [05:54:21] <irogue> http://oce.leagueoflegends.com
704: [05:54:26] <Colin[pi]> i used to be a gamer like you, then I took an arro... ah forget it
705: [05:54:29] <ss23> spronk: If it makes you feel worse, LoL is the most popular game in the world
706: [05:54:36] <ss23> (currently, obviously)
707: [05:54:43] <spronk> oh
708: [05:54:43] <ss23> (and popular in terms of number of players)
709: [05:54:44] <spronk> my
710: [05:54:53] <ss23> Oh *my*.
711: [05:54:55] <spronk> hadn't even heard of it
712: [05:54:55] <ss23> ;)
713: [05:54:56] <spronk> O_o
714: [05:55:01] <ss23> spronk is so out of touch
715: [05:55:04] <ss23> spronk is basically an old person now
716: [05:55:08] <spronk> then again, i just started playing GTA4 last night
717: [05:55:11] <irogue> yeah, has more concurrent *players* than the entire number of people concurrently logged into Steam
718: [05:55:36] <spronk> :|
719: [05:55:39] <ss23> spronk: I've never played it
720: [05:55:43] <ss23> GTa4 that is
721: [05:55:50] <ss23> I started playing Skyrim this weekend though
722: [05:55:51] <ss23> :D
723: [05:55:55] <ss23> Got ~26 hours logged I think already
724: [05:55:57] <Colin[pi]> skyrim is very addictive
725: [05:55:58] <Colin[pi]> beward
726: [05:55:59] <ss23> bitches dunno bout my skyrim
727: [05:56:00] <Colin[pi]> BEWARE
728: [05:56:05] <ss23> yeah, I played Oblivion quite a bit
729: [05:56:09] <irogue> spronk: competitive LoL games are broadcast on ESPN
730: [05:56:09] <Colin[pi]> same
731: [05:56:41] <irogue> http://na.lolesports.com
732: [05:57:26] * Shrike_Finland quit (Quit: Leaving.)
733: [05:58:55] <ss23> Somehow I've collected toys at my desk
734: [05:59:03] <irogue> Riot Games announced in October 2012 that League of Legends averages over 12 million players worldwide per day,[4] with peak concurrent global players over 5 million players.[5]
735: [05:59:13] <ss23> One My Little Pony figure, a weird angrybirds-esuqe thing, a plushie snake
736: [05:59:22] <ss23> a paperweightish lizard thing (Filled with sand)
737: [05:59:41] <irogue> according to steam there's currently 3,396,300 people online on steam
738: [05:59:44] <irogue> HOW CRAZY IS THAT
739: [05:59:51] <ss23> SO CRAZY
740: [05:59:53] <Colin[pi]> no wai
741: [05:59:54] <ss23> 10/10 CRAZY
742: [06:00:03] <irogue> (ps its mostly cos Steam isn't in China, and LoL is)
743: [06:00:16] <Colin[pi]> 10/10 CRAZY. WILL CRAZY AGAIN. A++++
744: [06:00:19] <ss23> irogue: truethat
745: [06:00:26] <ss23> Being multiregion was best idea for LoL
746: [06:00:46] <irogue> yup
747: [06:01:06] <irogue> hometiem!
748: [06:01:09] <ss23> lol
749: [06:01:12] <ss23> you said that ages ago
750: [06:01:13] <ss23> cyao
751: [06:01:13] <ss23> have fun
752: [06:05:30] <ss23> First result for me hving an issue in my hackfest/hackfest code
753: [06:05:38] <ss23> An IRC log of pyro having an issue in his hackfest/hackfest
754: [06:05:46] <ss23> I was literally like "OMG DID I ALREADY ASK THIS?!" cause it was so similiar :O
755: [06:06:20] <ss23> too bad it isn't fixed for me! :<
756: [06:06:23] <ss23> lamesauce
757: [06:10:30] <Colin[pi]> you think that's bad? I just clicked on my terminal window and it's not responding.. i'm like wtf why isn't it working?
758: [06:10:37] <Colin[pi]> it was a screenshot I took earlier
759: [06:10:38] <Colin[pi]> :(
760: [06:10:47] * travis-ci has joined #silverstripe
761: [06:10:47] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#659 (3.1 - ff1b0e3 : Will Rossiter): The build passed.
762: [06:10:47] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/58a2eb01555a...ff1b0e3a0882
763: [06:10:47] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9380718
764: [06:10:47] * travis-ci has left #silverstripe
765: [06:11:20] <ss23> hahah Colin[pi]
766: [06:11:24] <ss23> I do that whenever I take screenshots etc
767: [06:11:24] <ss23> XD
768: [06:12:05] <wmk> wow, error in template with opening <% with %> but i had a <% end_loop %> too much somewhere .
769: [06:12:37] <wmk> i love it (tm) when the error message shows to something correct
770: [06:12:56] <ss23> lol
771: [06:13:31] <wmk> note to myself: modularize the templates as much as you can, so finding an error could be easier
772: [06:13:31] * hubertusanton has joined #silverstripe
773: [06:13:57] <wmk> anyone knows a netbeans plugin for ss template highlighting / validating?
774: [06:14:34] <ss23> Nope, though I want to get a vim one going one day
775: [06:14:54] <ss23> https://github-camo.global.ssl.fastly.net/f1a05210341693cb403cf72e11e365c8e45adbda/687474703a2f2f6f63746f6465782e6769746875622e636f6d2f696d616765732f6f6b746f6265726361742e6a7067 dis octokitty :D
776: [06:15:55] <hubertusanton> mailing errors on a live site does not mail me anything, anybody had this problem as well?
777: [06:16:00] <hubertusanton> SS_Log::add_writer(new SS_LogEmailWriter('admin@domain.com'), SS_Log::ERR);
778: [06:16:50] <guzzlefry> IDEA and PHPStorm have SS template plugins. >_>
779: [06:16:57] <guzzlefry> for what it's worth :P
780: [06:17:06] <wmk> guzzlefry, hmm
781: [06:17:19] <wmk> now that i know netbeans shortcuts ;)
782: [06:17:45] <wmk> guzzlefry, you use it?
783: [06:18:16] <guzzlefry> not at the moment
784: [06:18:25] <wmk> why not?
785: [06:18:27] <guzzlefry> PHPStorm is $$$, but seems worth it once I have it. :P
786: [06:19:01] <wmk> same over here. afaik Zauberfisch uses it
787: [06:20:04] <guzzlefry> debugging features would be really nice.
788: [06:20:07] <Colin[pi]> PHPStorm does indeed look awesome
789: [06:20:16] <guzzlefry> My current debugging method is var_dump() and printf() :P
790: [06:20:18] <guzzlefry> oh, and die()
791: [06:21:01] <wmk> guzzlefry, FirePHP !!!
792: [06:21:15] <guzzlefry> waaa?!
793: [06:21:27] <ss23> I'm a var_dump and die() kind of guy, too.
794: [06:21:45] <guzzlefry> ss23: Am I using too many emoticons in here? >_>
795: [06:21:47] <guzzlefry> :P
796: [06:21:53] <wmk> you can put debugging log / output like FB::log($myvar) and can see it in Firebugs console
797: [06:21:58] <Colin[pi]> print_r() also
798: [06:22:20] <wmk> http://www.firephp.org/HQ/Use.htm
799: [06:22:26] <guzzlefry> ah
800: [06:22:30] <ss23> guzzlefry: No such thing as too many emotes :D
801: [06:22:34] <guzzlefry> phew
802: [06:22:37] <wmk> great tool and you don't have to let your code die anymre
803: [06:23:01] <guzzlefry> cool, I might use that if PHPStorm doesn't do the trick.
804: [06:23:08] <wmk> well, xdebug / netbeans is a good combination
805: [06:23:18] <guzzlefry> That IDE is going to be quite the learning curve.
806: [06:23:33] <wmk> guzzlefry, with firephp you see the output in the browser not in the ide
807: [06:25:32] <guzzlefry> ah, that might work better since my monitor is all
808: [06:25:36] <guzzlefry> square :P
809: [06:25:43] <guzzlefry> Doesn't work well with more than one window showing.
810: [06:26:14] <wmk> guzzlefry, need a second monitor?
811: [06:26:33] <wmk> i need an external gpu for a third monitor on my working laptop in office
812: [06:27:29] <guzzlefry> wmk: I just need something that's widescreen.
813: [06:27:34] <Zauberfisch> guzzlefry wmk I use intellij which is basicly the same as php storm
814: [06:27:37] <Zauberfisch> and I fucking love it
815: [06:27:46] <guzzlefry> ah
816: [06:27:52] <Zauberfisch> its worth every $
817: [06:27:53] <guzzlefry> Zauberfisch: How is the support with Silverstripe?
818: [06:28:12] <guzzlefry> Curious if it does intellitype stuff with the PHPDoc tags.
819: [06:28:26] <guzzlefry> And can track which type of object a variable is.
820: [06:29:50] <Zauberfisch> well, the PHP support is _awesome_. the type guessing and intellisense is just so much smarter than in eclipse, aptana, ...
821: [06:29:54] <wmk> Zauberfisch, why intellij? any differences or things it can do better?
822: [06:30:23] <Zauberfisch> wmk intellij is the whole thing. I use it for php, ruby, ...
823: [06:30:31] <Zauberfisch> but if you just need php, phpStorm is just fine
824: [06:30:48] <wmk> ok, it's the way more expensive thing
825: [06:31:15] <guzzlefry> Zauberfisch: Is that missing any features from PHPStorm?
826: [06:31:21] * wmk wonders if a 1-man company needs a company licence or a personal licence
827: [06:32:01] <guzzlefry> wmk: http://www.jetbrains.com/phpstorm/buy/license-matrix.jsp
828: [06:33:06] <Zauberfisch> no, intellij has all that phpstorm has
829: [06:33:21] <Zauberfisch> wmk I'd buy a personal license
830: [06:33:54] <wmk> guess so.
831: [06:34:08] <wmk> as a "Einzelunternehmen" i'm an individual and no company
832: [06:34:18] * Shrike_Finland has joined #silverstripe
833: [06:34:28] <wmk> can i install it on more than one machine?
834: [06:34:31] <guzzlefry> eh
835: [06:34:44] <guzzlefry> IntelliJ looks almost worth it.
836: [06:35:08] <guzzlefry> Since I'll be doing Java and Python stuff as well.
837: [06:35:24] <wmk> oh, *For the EU customers: company VAT ID is not accepted for purchases from private individuals.
838: [06:37:14] <guzzlefry> Anyone familiar with SS 2.4?
839: [06:37:39] <guzzlefry> Perhaps this applies to newer versions. How do I view a different translation of the website?
840: [06:37:39] <wmk> yup
841: [06:37:55] <wmk> append ?Locale=de_DE
842: [06:38:10] <guzzlefry> ah, I should have guessed. :P
843: [06:38:13] <guzzlefry> thanks
844: [06:42:26] <guzzlefry> Anddd...can't reproduce client's error on development server.
845: [06:45:39] <ss23> Hate that
846: [06:45:43] <ss23> Reproducing is hard
847: [06:45:46] <ss23> :P
848: [06:49:23] <guzzlefry> well
849: [06:49:28] <guzzlefry> and I'm lacking steps to reproduce. :P
850: [06:49:33] <ss23> Me too
851: [06:49:38] <ss23> I need someone else to help me reproduce!
852: [06:49:42] <ss23> I can't do it alone, you know?
853: [06:51:08] <guzzlefry> :P
854: [06:51:15] <EasyCo> Fuuuuuuu
855: [06:51:32] <guzzlefry> ss23: I have to speak more carefully around you it seems.
856: [06:51:36] <ss23> hahaha
857: [06:51:41] <ss23> What are you trying to say, guzzlefry?! :P
858: [06:51:50] <EasyCo> logs.silverstripe.org to the rescue again!
859: [06:52:02] <EasyCo> Who needs docs when you have irc logs.
860: [06:52:09] <guzzlefry> :P
861: [06:52:50] <guzzlefry> ss23: figure if I had rephrased it as "and I'm lacking steps to reproduce the error" you would have said something like "Well, that's not very nice."
862: [06:53:31] <ss23> hahahaha
863: [06:54:19] * zfmf1 has joined #silverstripe
864: [06:54:31] * guci0 has joined #silverstripe
865: [06:55:54] * sam__ has joined #silverstripe
866: [06:55:59] <sam__> Hi all
867: [06:56:18] <sam__> I need to upload photos in the non cms area.
868: [06:56:22] <sam__> is it possible?
869: [06:56:39] <sam__> like... after registering, users will upload photos.
870: [06:57:09] <wmk> sam__, it's surely possible, maybe with some difficulties.
871: [06:57:39] <wmk> uploadfield does work in frontend, i have to check out what css to include additionally
872: [06:57:46] <sam__> ok
873: [06:57:46] <wmk> grid should also work in frontend.
874: [06:57:55] <sam__> its 2.4
875: [06:58:11] * wmk types and types and types and it's for 2.4
876: [06:58:30] <Bollig|DesignCty> sam__: in that case, check out uploadify module.
877: [06:58:32] <wmk> dunno if dataobjectmanager works in frontend
878: [06:58:59] <sam__> do u have any tutorial
879: [06:59:00] <sam__> ?
880: [06:59:02] <sam__> links?
881: [06:59:05] <Bollig|DesignCty> wmk: it does, but dom is a bit monolithic… uploadify is the way to go.
882: [06:59:16] <wmk> Bollig|DesignCty, ok, good to know
883: [06:59:29] <wmk> in 2.4 i did everything using DOM, but in backend
884: [06:59:53] <metanat> https://github.com/camspiers/silverstripe-loggerbridge
885: [06:59:59] * metanat quit (Quit: Leaving.)
886: [07:00:33] <Bollig|DesignCty> wtf was that...
887: [07:00:41] <Bollig|DesignCty> sam__: google it? https://www.google.com.au/search?q=uploadify+silverstripe
888: [07:00:52] <sam__> thanx
889: [07:01:27] <EasyCo> simon_w: AFAYK, does this work on 3.0.5: http://doc.silverstripe.org/framework/en/trunk/reference/grid-field#customizing-detail-forms
890: [07:01:28] <Bollig|DesignCty> main repo is https://github.com/unclecheese/Uploadify (2.4 is master)
891: [07:02:05] <Bollig|DesignCty> best place to learn about it is Unclecheese's original screencast: http://www.leftandmain.com/silverstripe-modules/2010/08/26/uploadify/
892: [07:02:22] <Bollig|DesignCty> although there is plenty of info on usage out there sam__ :)
893: [07:03:01] <sam__> actually, I did it
894: [07:03:05] <sam__> with only one photo
895: [07:03:11] <sam__> need help on multiple
896: [07:04:17] <sam__> I got one
897: [07:04:18] <sam__> thnx
898: [07:04:26] <Bollig|DesignCty> what's the issue? MultipleImageUploadField class is very similar to… okay, great ;)
899: [07:05:38] * r3v3rb has joined #silverstripe
900: [07:09:43] * AlphaCactus quit (Ping timeout: 245 seconds)
901: [07:09:52] * r3v3rb quit (Client Quit)
902: [07:10:16] <guzzlefry> And...can't reproduce clients problem on production either. :P
903: [07:10:26] <ss23> Blurgh
904: [07:10:34] <ss23> This SS_HTTPRequest stuff is yuck
905: [07:10:34] <guzzlefry> How much of the SS 2.4 CMS will actually work without Javascript?
906: [07:10:47] <ss23> URL's being made up of urlsegment + action + id etc
907: [07:10:55] <guzzlefry> I'm guessing that's related, or just using some old version of IE >_>
908: [07:11:17] <guzzlefry> ss23: The only part of that I've touched so far is getVar() :P
909: [07:11:54] <ss23> I'm refactoring out the old page redirector
910: [07:12:02] <ss23> https://github.com/silverstripe/silverstripe-cms/pull/801
911: [07:20:31] * UncleCheese has joined #silverstripe
912: [07:26:47] <ss23> This code looks ugly
913: [07:26:49] <ss23> blurgh
914: [07:30:48] * mdowton quit ()
915: [07:35:01] <ss23> hmm
916: [07:35:11] <ss23> PHP is meh
917: [07:39:36] <ss23> http://ss23.geek.nz/silverstripe/hackfest/hackfest/level1/level1/level1/level1/level2-old
918: [07:39:40] <ss23> I thnk my redirector doesn't work
919: [07:39:41] <ss23> :<
920: [07:49:48] * mento has joined #silverstripe
921: [07:59:35] * wmk types ctrl-e to remove an empty line in outlook... hmm, that was netbeans shortcut, wasn't it?
922: [07:59:46] * kinglozzer has joined #silverstripe
923: [08:00:02] * r3v3rb has joined #silverstripe
924: [08:01:03] <ss23> Okay, think my pull request is fine now :D
925: [08:01:07] * ss23 submits again and see's
926: [08:04:00] * Zauberfisch^away has joined #silverstripe
927: [08:06:17] * sam__ quit (Ping timeout: 250 seconds)
928: [08:08:15] <wmk> guzzlefry, never, really never watch the tutorialvideos for phpstorm
929: [08:10:20] * EasyCo quit (Quit: EasyCo)
930: [08:11:43] * Pyromanik__ has joined #silverstripe
931: [08:12:07] <Pyromanik__> ss23: currently eating super awesome burger
932: [08:12:18] <Pyromanik__> to be able to comparisonate with burgerfuel tomorrow
933: [08:12:28] <ss23> :D
934: [08:12:33] <ss23> Pyromanik__: What burger?
935: [08:12:53] <Pyromanik__> replace awesome with bugger, and that's actually what it's called
936: [08:13:03] <Pyromanik__> Super Bugger Burger
937: [08:13:35] <Pyromanik__> two beefs, some bacons, cheese, egg, tomato, lettuce and some other goodies I forget
938: [08:13:50] <Pyromanik__> SO GOOD
939: [08:20:14] <Pyromanik__> Goodness overloads!
940: [08:21:38] <Bollig|DesignCty> impossible. take that back.
941: [08:22:19] <mento> mouth watering
942: [08:22:35] <ss23> nice
943: [08:22:36] <ss23> :D
944: [08:22:45] * r3v3rb quit (Quit: r3v3rb)
945: [08:22:50] <ss23> Pyromanik__: I find myself with Burgerfuel though, eating it and like... not feeling the same as when I eat like a McDonalds burger
946: [08:22:54] <ss23> Like
947: [08:22:55] <ss23> It feels different, and good
948: [08:22:58] <ss23> idk
949: [08:25:00] * violetina has joined #silverstripe
950: [08:28:01] * lobarvaz has joined #silverstripe
951: [08:40:23] <Zauberfisch> wmk guzzlefry what I did not metion before, is that there is also a silverstripe plugin for PHP storm in developmenent by a community member at the moment
952: [08:40:42] <wmk> Zauberfisch, that was why we were talking about it
953: [08:40:55] * wmk now tries that
954: [08:41:05] <wmk> i bet 30 days are over too soon
955: [08:42:53] <Zauberfisch> you can deinstall and reinstall it
956: [08:43:17] <wmk> really?
957: [08:43:47] <wmk> that's fine. though from the videos i really thought "shut up and take my money"
958: [08:44:51] * Colin[pi] quit ()
959: [08:45:54] <Zauberfisch> yeah, "shut up and take my money" exactly
960: [09:11:10] * howardgrigg has joined #silverstripe
961: [09:12:53] * lobarvaz is now known as help
962: [09:13:00] * help is now known as lobarvaz
963: [09:13:11] <hubertusanton> anybody else had problems with a live site sending emails when errors occur?
964: [09:13:15] * svandragt has joined #silverstripe
965: [09:13:27] <hubertusanton> SS_Log::add_writer(new SS_LogEmailWriter('errors@mail.com'), SS_Log::WARN, '<=');
966: [09:13:37] <hubertusanton> does not seem to work anymore in 3.1 master
967: [09:14:16] * pippy quit (Ping timeout: 246 seconds)
968: [09:15:42] * howardgrigg quit (Ping timeout: 264 seconds)
969: [09:26:30] * AlphaCactus has joined #silverstripe
970: [09:27:12] * pex has joined #silverstripe
971: [09:36:09] * AlphaCactus quit (Ping timeout: 264 seconds)
972: [09:36:22] * AlphaCactus has joined #silverstripe
973: [09:45:58] * AlphaCactus quit (Ping timeout: 245 seconds)
974: [09:53:59] * nightart has joined #silverstripe
975: [09:58:11] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
976: [09:58:52] * Bollig|DesignCty has joined #silverstripe
977: [10:00:16] * Bollig|DesignCty quit (Client Quit)
978: [10:18:13] * ocm has joined #silverstripe
979: [10:18:18] <ocm> howdy!
980: [10:21:28] * AlphaCactus has joined #silverstripe
981: [10:21:44] <guci0> Hi ocm, whats up ?
982: [10:24:03] <mento> Pyromanik__: i'm still getting hungry when i open this channel :<
983: [10:25:40] <ocm> melting here, how are you guci0?
984: [10:27:49] * funkygibbon has joined #silverstripe
985: [10:34:25] <guci0> ocm: like always I'm wondering what next :)
986: [10:34:27] * UncleCheese quit (Quit: UncleCheese)
987: [10:35:44] <ocm> how do I return a dataobject by id in SS3?
988: [10:36:44] <ocm> public function getObject($objectId){
989: [10:36:44] <ocm> DataObject::get_one("myDataObject", "$objectId")
990: [10:36:44] <ocm> }
991: [10:36:48] <ocm> doesnt return anything :(
992: [10:37:06] <ocm> when I call it with loop getObject(id)
993: [10:46:27] <micmania1> ocm, use MyDataObject::get()->byID($id);
994: [10:50:53] * pex quit (Ping timeout: 268 seconds)
995: [10:57:24] <ocm> mcmania1 thnx :)
996: [10:59:23] * ss-log has joined #silverstripe
997: [10:59:30] * onre has joined #silverstripe
998: [11:00:01] * onre is now known as Guest53324
999: [11:02:31] <Pyromanik__> mento: it's because we're delicious right?
1000: [11:03:38] <Pyromanik__> ocm: the methods on DataList are what's available to all get() calls.
1001: [11:04:02] <Pyromanik__> http://api.silverstripe.org/3.0/class-DataList.html
1002: [11:04:03] <Pyromanik__> bed
1003: [11:04:15] <Pyromanik__> See y'all tomorrow ss23
1004: [11:04:23] * Pyromanik__ has left #silverstripe
1005: [11:11:36] * howardgrigg has joined #silverstripe
1006: [11:15:44] * howardgrigg quit (Ping timeout: 246 seconds)
1007: [11:17:19] * mattybalaam has joined #silverstripe
1008: [11:18:06] * mattybalaam quit (Client Quit)
1009: [11:37:23] <micmania1> I thought the UploadField worked in the front end of 3.1? Is there something I need to do?
1010: [11:44:02] <wmk> it worked a week ago or so over here
1011: [11:44:10] <wmk> at least in firefox
1012: [11:45:10] <micmania1> Mine is having trouble 404s
1013: [11:45:20] <micmania1> Every time it tries to perform an action its not working.
1014: [11:46:44] <DesignerX> micmania1: maybe the object/page requires permisstion to upload & save the file ?
1015: [11:48:10] * micmania1 quit (Quit: Leaving)
1016: [11:48:28] * micmania1 has joined #silverstripe
1017: [11:48:49] * micmania1 quit (Client Quit)
1018: [11:52:16] * AlphaCactus quit (Ping timeout: 276 seconds)
1019: [11:53:11] * AlphaCactus has joined #silverstripe
1020: [11:56:07] * micmania1 has joined #silverstripe
1021: [11:56:21] <micmania1> having trouble with my irc client.
1022: [11:57:13] <micmania1> ahhhh, seems like I can't post file paths/links?
1023: [12:00:07] <micmania1> hahaha! ?flush=1 was the answer.
1024: [12:00:12] <micmania1> Noob!
1025: [12:06:00] * UndefinedOffset has joined #silverstripe
1026: [12:18:22] * osterlaus has joined #silverstripe
1027: [12:19:36] <micmania1> I'm still getting a problem with UploadField, but only when i'm not logged an admin. Anybody got any ideas?
1028: [12:20:49] <micmania1> Warning: popCurrent called on ModelAsController controller, but it wasn't at the top of the stack in /home/.../framework/control/Controller.php on line 455
1029: [12:20:57] <micmania1> That's what i'm getting.
1030: [12:23:29] * nightart quit (Ping timeout: 248 seconds)
1031: [12:25:09] <DesignerX> <DesignerX> micmania1: maybe the object/page requires permisstion to upload & save the file ?
1032: [12:26:08] <micmania1> How are permissions given?
1033: [12:26:22] <micmania1> Or how does the UploadField know whether something has permission?
1034: [12:27:28] <DesignerX> upload field is added to a an object then it saved that usrl of the file to that object, if the current user does not have editing permisstion to that object, UploadField should return an error
1035: [12:28:05] <DesignerX> (btw, I never worked on putting uploadfield on the front end, but this is how i expect it to behave)
1036: [12:30:36] <DesignerX> micmania1: is the UploadField added to the page directly or to an object related to the page ?
1037: [12:31:13] <micmania1> Its added to a Form & is not connected to the page.
1038: [12:31:22] <micmania1> The form is then displayed on the page.
1039: [12:37:33] * ARNHOE has joined #silverstripe
1040: [12:40:35] <micmania1> ah! Figured it out.
1041: [12:40:50] <micmania1> Its a permission check that i'm doing. My code knacked it up.
1042: [12:40:56] <micmania1> Thanks for helping
1043: [12:58:08] * mento quit (Quit: Page closed)
1044: [13:00:47] <DesignerX> np :)
1045: [13:08:42] * priithansen has joined #silverstripe
1046: [13:12:02] * howardgrigg has joined #silverstripe
1047: [13:16:10] * r3v3rb has joined #silverstripe
1048: [13:16:54] * howardgrigg quit (Ping timeout: 264 seconds)
1049: [13:28:13] * osterlaus quit (Quit: Leaving.)
1050: [13:29:50] * pex has joined #silverstripe
1051: [13:31:24] <jrthomer> is anybody here using PaginatedList in 3.1?
1052: [13:31:40] <jrthomer> I just reported an issue that I'm not sure how it was missed before https://github.com/silverstripe/silverstripe-framework/issues/2259
1053: [13:33:20] <jrthomer> unless I'm just doing something weird, but it seems like a straight-forward use case
1054: [13:33:23] <jrthomer> just looking for a sanity check
1055: [13:33:42] * Shrike_Finland quit (Quit: Leaving.)
1056: [13:36:59] <r3v3rb> afternoon
1057: [13:37:22] <r3v3rb> is there a way (easily) I can strip out [embed] codes from content without losing html formatting?
1058: [13:37:34] * henkpoley has joined #silverstripe
1059: [13:38:25] <r3v3rb> I have pages that contain [embed] codes that I want to send teaser emails from to a mailing list - this is all working however where a Youtube video might be embedded it leaves a big black square in the email for example
1060: [13:39:03] <r3v3rb> any ideas?
1061: [13:53:02] <r3v3rb> is anyone awake today?
1062: [13:58:21] * hubertusanton quit (Ping timeout: 268 seconds)
1063: [13:58:54] * pex has left #silverstripe
1064: [14:05:55] * violetina quit (Remote host closed the connection)
1065: [14:06:41] <wmk> r3v3rb, for this job i'd register another ShortCodeParser which just strips the code
1066: [14:06:53] <wmk> ehem, and yes, i'm awake ;)
1067: [14:07:23] <kinglozzer> jrthomer I've been using it
1068: [14:07:41] <kinglozzer> And encountered that issue
1069: [14:07:50] <r3v3rb> sorry wmk, was busy didnt mean to miss your response
1070: [14:07:52] <kinglozzer> I just switched to using getTotalItems in the template instead
1071: [14:08:27] <wmk> r3v3rb, nevermind, was a joke ;)
1072: [14:08:59] <r3v3rb> wmk, okay I'll look into those shortcodes
1073: [14:09:34] <jrthomer> thanks kinglozzer ... that's what I did for now too
1074: [14:13:42] * pex has joined #silverstripe
1075: [14:21:33] * LoveDuckie has joined #silverstripe
1076: [14:24:04] * pex quit (Quit: pex)
1077: [14:27:49] <ARNHOE> I am currently trying out, http://www.balbuss.com/translating-an-enum-dropdown/ on a DataObject, the translation is working fine but not on the frontend. Anyone have tips to translate a enum or any other ideas?
1078: [14:50:52] * henkpoley quit (Quit: henkpoley)
1079: [14:57:10] * henkpoley has joined #silverstripe
1080: [15:06:11] * EbolaCola quit (Ping timeout: 264 seconds)
1081: [15:12:27] * howardgrigg has joined #silverstripe
1082: [15:14:04] * ARNHOE quit (Remote host closed the connection)
1083: [15:16:19] * CodeTrap has joined #silverstripe
1084: [15:16:53] * howardgrigg quit (Ping timeout: 248 seconds)
1085: [15:17:03] * henkpoley quit (Quit: henkpoley)
1086: [15:25:29] * swordsmanz has joined #silverstripe
1087: [15:29:25] * lietzmk has joined #silverstripe
1088: [15:29:48] <kinglozzer> many_many_extraFields is making my head want to explode
1089: [15:32:24] * Zauberfisch^away quit (Quit: Leaving...)
1090: [15:33:39] * Shrike_Finland has joined #silverstripe
1091: [15:43:38] * MichaelDesignerX has joined #silverstripe
1092: [15:45:41] * DesignerX quit (Ping timeout: 248 seconds)
1093: [15:46:19] * henkpoley has joined #silverstripe
1094: [15:49:32] * sam____ has joined #silverstripe
1095: [15:52:43] <sam____> hi i need some help on css layout
1096: [15:52:48] <sam____> http://golf.kc316.com/events
1097: [15:53:05] <sam____> if i give left-padding, then also it is not worling
1098: [15:53:10] * svandragt quit (Read error: Connection reset by peer)
1099: [15:56:00] * catcher has joined #silverstripe
1100: [15:57:56] * pex has joined #silverstripe
1101: [15:59:02] <MichaelDesignerX> sam____: hi, I cant access the page, I get a nerror
1102: [15:59:09] * MichaelDesignerX is now known as DesignerX
1103: [16:00:29] <sam____> its fine now
1104: [16:01:06] <DesignerX> sam____: and the CSS problem fixed ?
1105: [16:01:14] <sam____> nope
1106: [16:01:39] <DesignerX> more details plz
1107: [16:02:45] <sam____> actyally, need to leave 10 px space left and right
1108: [16:02:53] <sam____> it starts from border
1109: [16:03:53] * CodeTrap quit (Ping timeout: 245 seconds)
1110: [16:04:35] * UndefinedOffset quit (Quit: Leaving.)
1111: [16:05:23] <DesignerX> kk one sec brb
1112: [16:07:22] * Nivery has joined #silverstripe
1113: [16:09:39] <DesignerX> sam____: did you create the template ?
1114: [16:10:33] * pex quit (Ping timeout: 246 seconds)
1115: [16:12:29] <sam____> yes
1116: [16:12:39] <sam____> I have created the template
1117: [16:14:08] <sam____> http://www.sspaste.com/paste/show/51eeab30e2927
1118: [16:16:51] <DesignerX> well, you can put a dive to wrap the #primaryContent & footer then add the background color & padding to that ?
1119: [16:18:31] <sam____> ok
1120: [16:22:13] <DesignerX> sam____: & why you have <div style="height:3px"> around the footer ?!
1121: [16:22:50] <sam____> actually, i dont know why the footer styles differ in page type..
1122: [16:23:15] <sam____> http://golf.kc316.com/events/ vs http://golf.kc316.com
1123: [16:23:32] <sam____> so m just trying to make those footer similar
1124: [16:26:12] * ocm quit (Read error: Connection reset by peer)
1125: [16:26:35] * ARNHOE has joined #silverstripe
1126: [16:28:23] * kinglozzer quit (Remote host closed the connection)
1127: [16:39:55] * r3v3rb quit (Quit: r3v3rb)
1128: [16:43:01] * lobarvaz quit (Remote host closed the connection)
1129: [16:43:25] * henkpoley quit (Quit: henkpoley)
1130: [16:44:28] <wmk> anyone tried gridfield with validation? got an error: method 'redirectback' does not exist on 'GridFieldDetailForm_ItemRequest'
1131: [16:45:05] <DesignerX> Hi, I need help with using Translatable module. I need to be able to select a language then the site will display the page in the select language if available else it should fall back to the default (english)
1132: [16:45:36] <DesignerX> wmk: validation ? what type of validation ?
1133: [16:45:59] <wmk> i added a RequiredFields to the gridfield
1134: [16:46:44] <wmk> ->getComponentByType('GridFieldDetailForm')->setValidator($languageValidator);
1135: [16:47:07] <wmk> it's in the frontend :(
1136: [16:48:23] <DesignerX> wmk: oh that, never used it & I was told GF is not that good on the front end, it relys on CMS things ..
1137: [16:48:38] * mattybalaam has joined #silverstripe
1138: [16:49:01] <wmk> DesignerX, well, what else should i use to manage has_many or many_many in frontend?
1139: [16:50:36] <DesignerX> wmk: I was told to try implemnt a JQuery plugin & use it to manage the objects .. let me see if I can still find the link
1140: [16:54:10] * gelignite has joined #silverstripe
1141: [16:55:48] * priithansen quit (Quit: priithansen)
1142: [16:57:13] <mattybalaam> OK, so say I wanted to make a gridfield without subclassing image. Is there a way of defining which fields will be in the EditForm?
1143: [16:59:15] <wmk> DesignerX, yes, pls
1144: [17:00:09] <wmk> mattybalaam, decorate image class and manipulate getCMSFields
1145: [17:00:19] <wmk> afaik in extension updateCMSFields()
1146: [17:00:35] * sam____ quit (Ping timeout: 250 seconds)
1147: [17:00:53] <DesignerX> wmk: mattybalaam most of the time I create a new object & have has_one to image ..
1148: [17:01:16] <wmk> of course ;)
1149: [17:01:23] <wmk> DesignerX, do you have the link to the jquery plugin?
1150: [17:01:38] <DesignerX> nope :)
1151: [17:01:55] <wmk> :) or :( ??
1152: [17:02:24] <mattybalaam> I usually create a new object, but wanted to avoid that this time, just to see if I could. Will do a data extension and see if I can get it to work.
1153: [17:02:25] <DesignerX> whcih ever makes you happy, I like to tell bad news with a smiling face, make it less "harsh"
1154: [17:02:33] <wmk> ok
1155: [17:02:59] <wmk> DesignerX, that's bad...
1156: [17:03:20] * UndefinedOffset has joined #silverstripe
1157: [17:03:54] <DesignerX> jk jk, I pressed one button too far to tyhe right & ended up with a smily face
1158: [17:04:55] <DesignerX> let me do some googling & see if I can find something
1159: [17:05:21] <wmk> pls. i google, too, but maybe you are more lucky with the search phrase
1160: [17:11:46] * henkpoley has joined #silverstripe
1161: [17:12:54] * howardgrigg has joined #silverstripe
1162: [17:17:55] * howardgrigg quit (Ping timeout: 276 seconds)
1163: [17:22:01] <DesignerX> wmk: mattybalaam Good night all, 3:20 am gtg sleep
1164: [17:22:11] <wmk> omg, sleep well
1165: [17:26:23] * DesignerX quit (Ping timeout: 245 seconds)
1166: [17:29:49] * Nivery quit (Quit: Nivery)
1167: [17:36:38] * Nivery has joined #silverstripe
1168: [17:57:28] * violetina has joined #silverstripe
1169: [17:59:41] <lietzmk> In tutorial #5, if I create a student under Developer Toolbar I can't move the student to Behaviour Testing, When I can change it under the cms it just goes back to Developer Toolbar
1170: [18:00:01] <lietzmk> has anyone heard of this
1171: [18:18:14] * ARNHOE quit (Remote host closed the connection)
1172: [18:20:50] * zfmf1 has left #silverstripe
1173: [18:34:24] * violetina quit (Remote host closed the connection)
1174: [18:35:31] * violetina has joined #silverstripe
1175: [18:48:27] <wmk> is there a way to skip validation depending on the action i call?
1176: [18:48:41] <wmk> e.g. if i have a "next" button
1177: [19:02:50] * SightUnseen has joined #silverstripe
1178: [19:05:23] * SightUnseen has left #silverstripe
1179: [19:13:19] * howardgrigg has joined #silverstripe
1180: [19:18:06] * howardgrigg quit (Ping timeout: 264 seconds)
1181: [19:20:22] * UndefinedOffset quit (Quit: Leaving.)
1182: [19:21:26] * violetina quit (Remote host closed the connection)
1183: [19:26:21] * mattybalaam quit (Quit: mattybalaam)
1184: [19:28:50] * UndefinedOffset has joined #silverstripe
1185: [19:32:34] * micmania2 has joined #silverstripe
1186: [19:47:58] * mattybalaam has joined #silverstripe
1187: [19:59:50] * mattybalaam quit (Quit: mattybalaam)
1188: [20:04:49] * lerni has joined #silverstripe
1189: [20:10:59] <Nivery> is there a built-in way to print out the current controller in a template? seems like a silly thing, but it would be helpful for me right now
1190: [20:13:21] * UndefinedOffset quit (Quit: Leaving.)
1191: [20:13:40] * UncleCheese has joined #silverstripe
1192: [20:14:58] * UncleCheese quit (Client Quit)
1193: [20:26:15] * mobiusnz has joined #silverstripe
1194: [20:27:58] * pex has joined #silverstripe
1195: [20:29:38] * simon_w has joined #silverstripe
1196: [20:31:08] * DigNZ has joined #silverstripe
1197: [20:31:09] * DigNZ quit (Remote host closed the connection)
1198: [20:31:13] * mattybalaam has joined #silverstripe
1199: [20:31:23] * DigNZ has joined #silverstripe
1200: [20:32:41] <AlphaCactus> eh... call an action and return it or use Debug::show()?
1201: [20:36:06] <irogue> morning chaps
1202: [20:36:51] <catcher> 'afternoon
1203: [20:38:51] * nickmolhoek has joined #silverstripe
1204: [20:38:52] * nickmolhoek quit (Remote host closed the connection)
1205: [20:39:06] * nickmolhoek has joined #silverstripe
1206: [20:46:35] <simon_w> Damn stupid dehydration and inability to fill up drink bottle
1207: [20:46:44] <simon_w> ss23, bring me stuff!
1208: [20:53:11] <micmania2> bring me stuff too whilst you're there, ss23.
1209: [20:57:17] <AlphaCactus> and me
1210: [20:59:54] * Nivery quit (Quit: Nivery)
1211: [20:59:54] * UncleCheese has joined #silverstripe
1212: [21:00:38] * henkpoley quit (Quit: henkpoley)
1213: [21:01:37] * geekdenz quit (Remote host closed the connection)
1214: [21:04:16] <FrozenFire> Too late to get in on that?
1215: [21:04:20] <FrozenFire> Ran out of Coke.
1216: [21:05:54] * henkpoley has joined #silverstripe
1217: [21:12:19] <simon_w> Doing it wrong
1218: [21:12:41] <UncleCheese> do any of you guys have a workaround for dealing with the Config system merging arrays?
1219: [21:12:57] <UncleCheese> My module has [a, b, c] and i want to override that in my project to be [d]
1220: [21:13:05] <UncleCheese> but i end up with [a, b, c, d]
1221: [21:13:46] * howardgrigg has joined #silverstripe
1222: [21:14:00] <micmania2> UncleCheese, what context are you using it in?
1223: [21:14:22] <simon_w> Config::inst()->update('Class', 'Key', null); Config::inst()->update('Class', 'key', [d])
1224: [21:15:04] <UncleCheese> Config::inst()->get("MyArray") always returns the merged arrays, though
1225: [21:15:17] <simon_w> That's why you null it first
1226: [21:15:44] <simon_w> If you want it to be more explicit, use ->remove() instead of ->update(, , null)
1227: [21:15:48] <UncleCheese> ok, so you're basically saying circumvent the whole yaml configuration and just do it manually through the api
1228: [21:16:41] <simon_w> Well, you can't do it with YAML
1229: [21:16:53] <simon_w> Or, I guess you could
1230: [21:16:56] <UncleCheese> yeah, that's what i figured
1231: [21:17:02] <simon_w> But you'll basically be doing the same thing
1232: [21:17:20] <UncleCheese> If I have a module that gives users SomeSetting: [a, b, c], and the user wants to override that in his YAML with SomeSetting: [d]
1233: [21:17:28] * terryapodaca has joined #silverstripe
1234: [21:17:39] <UncleCheese> when I ask the Config system for "SomeSetting", I get all four values
1235: [21:17:58] <simon_w> Yes
1236: [21:18:09] * howardgrigg quit (Ping timeout: 264 seconds)
1237: [21:18:22] <UncleCheese> very odd design
1238: [21:19:00] <simon_w> No, it's what you want in almost every case
1239: [21:19:54] <UncleCheese> it's challenging if you want your module to offer default values that can be overridden
1240: [21:20:17] <simon_w> So use a map instead of a list
1241: [21:20:38] <UncleCheese> that's what i think i have to do
1242: [21:21:06] * Peavers has joined #silverstripe
1243: [21:21:12] <Peavers> Folks.
1244: [21:21:26] <simon_w> Finally back at work then Peavers?
1245: [21:21:35] <Peavers> yeah
1246: [21:21:43] <Peavers> been crazy few days
1247: [21:24:17] <micmania2> can't you set the Config::UNINHERITED flag in the get call?
1248: [21:24:46] <simon_w> That's for merging with ancestors
1249: [21:25:36] <UncleCheese> yeah
1250: [21:26:04] <UncleCheese> i expected that to work, but it's more for merging statics in class definitions
1251: [21:31:43] <simon_w> http://doc.silverstripe.org/framework/en/topics/configuration#the-merge
1252: [21:35:27] * henkpoley quit (Quit: henkpoley)
1253: [21:46:40] * mattybalaam quit (Quit: mattybalaam)
1254: [21:51:22] * henkpoley has joined #silverstripe
1255: [21:51:49] * mattybalaam has joined #silverstripe
1256: [21:55:41] * swordsmanz is now known as CAPTIALLETTERS
1257: [21:58:17] * lerni quit (Remote host closed the connection)
1258: [21:58:18] * micmania2 quit (Ping timeout: 264 seconds)
1259: [22:01:39] <simon_w> Bah, stupid __get() hiding this rather annoying bug
1260: [22:02:14] * EasyCo has joined #silverstripe
1261: [22:02:37] * CAPTIALLETTERS is now known as PHYSICS-NAZIS
1262: [22:05:37] * PHYSICS-NAZIS is now known as swordsmanz
1263: [22:05:56] * swordsmanz quit (Remote host closed the connection)
1264: [22:06:12] * mattybalaam quit (Quit: mattybalaam)
1265: [22:12:50] * mattybalaam has joined #silverstripe
1266: [22:13:01] * Motoservo has joined #silverstripe
1267: [22:14:27] * swordsmanz has joined #silverstripe
1268: [22:16:42] * henkpoley quit (Read error: Connection reset by peer)
1269: [22:17:19] <guzzlefry> Guys, what steps do you usually take when designing a new site in SS?
1270: [22:17:27] * henkpoley has joined #silverstripe
1271: [22:17:56] <guzzlefry> In my case, e-commerce. Just not sure how to approach this. :P
1272: [22:18:44] * metanat has joined #silverstripe
1273: [22:19:12] * swordsmanz quit (Read error: Connection reset by peer)
1274: [22:19:32] * swordsmanz has joined #silverstripe
1275: [22:24:31] * Peavers quit (Remote host closed the connection)
1276: [22:24:48] <AlphaCactus> 1. Write list of functional requirements
1277: [22:32:06] * gelignite quit (Quit: http://bit.ly/nkczDT)
1278: [22:36:50] <ss23> I'M BRINGING NO ONE STUFF
1279: [22:36:50] <ss23> HA
1280: [22:37:21] <simon_w> You sure about that?
1281: [22:38:27] <simon_w> My package has been with the courier for almost an hour!
1282: [22:39:12] <ss23> holy crap this hot chocolate is hot today
1283: [22:39:28] <simon_w> "Delivery target is 9am next working day for business addresses"
1284: [22:39:29] <simon_w> Wasn't here at 9!
1285: [22:39:48] * travis-ci has joined #silverstripe
1286: [22:39:48] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#667 (3.1 - 23d1e8c : Sean Harvey): The build was broken.
1287: [22:39:48] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ff1b0e3a0882...23d1e8c76df4
1288: [22:39:48] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9412163
1289: [22:39:48] * travis-ci has left #silverstripe
1290: [22:39:54] <ss23> :O
1291: [22:43:56] <ss23> If I have a fork of a project (so I forked cms 3.1), how cna I like, get it back up to date?
1292: [22:44:00] <ss23> I hear I need to rebase or something
1293: [22:44:01] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
1294: [22:46:45] <simon_w> http://doc.silverstripe.org/framework/en/trunk/misc/contributing/code#step-by-step-from-forking-to-sending-the-pull-request
1295: [22:47:35] <ss23> :d
1296: [22:47:36] <ss23> yay docs
1297: [22:48:17] * UncleCheese quit (Quit: UncleCheese)
1298: [22:49:13] <simon_w> The bits relating to upstream
1299: [22:50:26] <catcher> do my eyes deceive me, or does 3.1's UploadField allow attaching files before the object is saved the first time?
1300: [22:50:53] <simon_w> Yes.
1301: [22:51:22] <catcher> now that is some fantastic news.
1302: [22:51:37] * micmania2 has joined #silverstripe
1303: [22:52:04] <simon_w> Should be able to set any has_many/many_many before save too
1304: [22:52:55] * henkpoley quit (Quit: henkpoley)
1305: [22:53:17] * zippy__ has joined #silverstripe
1306: [22:57:01] * micmania2 quit (Quit: Leaving)
1307: [22:57:54] <ss23> *sigh*
1308: [22:58:03] <ss23> My dev/build can't run because of a SQL error
1309: [22:58:29] <ss23> Oh look, it's that mother fucking flush patch
1310: [23:01:26] * lietzmk quit (Quit: Leaving)
1311: [23:02:54] <zippy__> ss23: Running 3.1?
1312: [23:05:15] <ss23> Yeah
1313: [23:05:18] <ss23> Latest just now
1314: [23:08:42] * lerni has joined #silverstripe
1315: [23:12:49] * guci0 quit (Ping timeout: 250 seconds)
1316: [23:13:25] <ss23> :<
1317: [23:13:27] * mdowton has joined #silverstripe
1318: [23:13:30] <ss23> "Removing orphaned versioned records"
1319: [23:13:53] * lerni quit (Ping timeout: 245 seconds)
1320: [23:14:10] * howardgrigg has joined #silverstripe
1321: [23:15:35] * zippy__ grumps… YAML! argh
1322: [23:17:14] * ss23 looks at zippy__
1323: [23:17:24] <ss23> It's been like 15 mins doing "removing orphaned versioned records"
1324: [23:17:25] <ss23> how 2 fix
1325: [23:17:32] <zippy__> uh
1326: [23:17:45] <zippy__> dont use a beta version :)
1327: [23:17:58] <ss23> lol
1328: [23:18:07] <ss23> Well the other beta version is more broken
1329: [23:18:12] <ss23> atm we edited files on production
1330: [23:18:20] <zippy__> 3.0.5?
1331: [23:18:28] * howardgrigg quit (Ping timeout: 245 seconds)
1332: [23:18:36] <ss23> zippy__: naw, earlier 3.1 :P
1333: [23:18:42] <ss23> Not even a betea!
1334: [23:18:49] <zippy__> :)
1335: [23:19:10] <zippy__> check mysql and see if there is a query going on
1336: [23:19:57] <zippy__> Im setting up a custom Controller - not based off page so I need to specify a route so the controller can be found
1337: [23:20:24] <zippy__> Reading over http://doc.silverstripe.org/framework/en/reference/director I, in theory should be able to add my rules to in my extended Controller class via the $url_handlers static variable
1338: [23:20:28] <zippy__> but they're not being picked up
1339: [23:20:33] <mdowton> I have a datatobject felid which stores a checkbox selection with comma separated values..I want to split these and return only unique values to the template to use in a select list?
1340: [23:21:28] <ss23> Doubt there's a query going, zippy__. top says mysql isn't doing much
1341: [23:21:29] * mattybalaam quit (Quit: mattybalaam)
1342: [23:21:55] <zippy__> mdowton: storying comma seperated values in a single field is usually a bad idea. But create a function which explodes on , then return unique with array_unique
1343: [23:22:00] <ss23> holy crap
1344: [23:22:09] <ss23> Silverstripe, when removing versioned records, literally does like
1345: [23:22:32] <ss23> foreach (Sitetree::get() as $page) { $db::query('delete from table where id = foo'); }
1346: [23:22:36] <ss23> like
1347: [23:22:38] <ss23> one by one.
1348: [23:23:09] <zippy__> how many pages you got?
1349: [23:23:18] <ss23> ...
1350: [23:23:22] <ss23> ~200k orphaned records
1351: [23:23:31] <ss23> Hard to know how many it's doing a second
1352: [23:24:30] <zippy__> add a debug statement and re-run
1353: [23:24:31] <mdowton> The class checkboxsetfelid does this automatically if doesn't find a many to many relationship which i have code. $empAreaField = new CheckboxSetField(
1354: [23:24:31] <mdowton> $name = "EmpArea",
1355: [23:24:32] <mdowton> $title = "Employment Area",
1356: [23:24:32] <mdowton> $source = array(
1357: [23:24:32] <mdowton> "Academic Staff" => "Academic Staff",
1358: [23:24:33] <mdowton> "Finance" => "Finance",
1359: [23:24:34] <mdowton> "HR" => "HR",
1360: [23:24:36] <mdowton> "Management" => "Management",
1361: [23:24:38] <mdowton> "Marketing" => "Marketing",
1362: [23:24:39] <zippy__> argh
1363: [23:24:40] <mdowton> "Student Services" => "Student Services",
1364: [23:24:42] <mdowton> "Technical Services" => "Technical Services"
1365: [23:25:37] * mdowton has joined #silverstripe
1366: [23:25:46] <simon_w> Use a pasting service :)
1367: [23:26:05] <mdowton> Sure sorry
1368: [23:26:42] <zippy__> simon_w: When using a custom controller, must you either; Write route in yml file or Director::addRules ? Will just adding to url_handlers not work?
1369: [23:26:59] <simon_w> Yes
1370: [23:27:14] <zippy__> ah, which :)
1371: [23:27:17] <simon_w> Well, I'm not sure what version got rid of the default controller fallback
1372: [23:27:42] <simon_w> Answering yes to both questions is valid :p
1373: [23:27:59] <zippy__> didn't if know both, or one
1374: [23:28:33] <simon_w> Does it matter? :p
1375: [23:29:14] <ss23> ERROR [User Error]: Couldn't run query:
1376: [23:29:14] <ss23> ALTER TABLE "StaticSiteContentSource_ImportRule" ADD "OuterHTML" tinyint(1) unsigned not null default 0
1377: [23:29:17] <ss23> Duplicate column name 'OuterHTML'
1378: [23:29:19] <ss23> IN GET /dev/build
1379: [23:29:26] <ss23> Um... what? Why is Silverstripe trying to add that :O
1380: [23:29:57] * mdowton quit ()
1381: [23:30:52] <zippy__> check your table
1382: [23:30:57] <zippy__> current one is probably OuterHtml
1383: [23:31:30] <simon_w> People should just stop using MySQL :p
1384: [23:31:40] * UncleCheese has joined #silverstripe
1385: [23:31:55] <AlphaCactus> what should ppl use
1386: [23:32:17] <zippy__> so I my Class CronController which extends Controller, I set a url_handler of 'cron/cleanupemails' => 'cleanupemails' - but it fails to work (Sorry, it seems you were trying to access a page that doesn't exist.)
1387: [23:36:28] <simon_w> zippy__, you'd use CronController/cron/cleanupemails
1388: [23:36:32] <simon_w> AlphaCactus, Postgres!
1389: [23:36:57] * mdowton has joined #silverstripe
1390: [23:37:26] <zippy__> argh postgres!
1391: [23:39:08] <zippy__> simon_w: static $url_handlers = array('CronController/cron/cleanupemails' => 'cleanupemails'); ? no go sorry. Odd you'd have to include CronController
1392: [23:39:17] <zippy__> maybe I will just have to man up and go the yml config
1393: [23:39:21] <simon_w> No, for the URL
1394: [23:39:46] <simon_w> $url_handlers is only used once the controller is called. You still need to call it.
1395: [23:40:33] * Colin[pi] has joined #silverstripe
1396: [23:41:03] <Colin[pi]> good morning all
1397: [23:43:23] <zippy__> moring
1398: [23:45:25] <mdowton> Problem solved thanks zippy
1399: [23:46:38] * zippy__ created a ylm config file. Feeling totally dirty about the whole thing
1400: [23:46:46] * zippy__ goes to shower
1401: [23:47:08] * zippy__ is so disgusted it's effecting his spelling
1402: [23:49:47] * mdowton has left #silverstripe
1403: [23:52:58] <ss23> XD
1404: [23:53:07] <ss23> you know what would be horrible for Pyro?
1405: [23:53:14] <ss23> If when he came here, there was a massive quake that leveled Wellington
1406: [23:53:23] <Colin[pi]> D:
1407: [23:53:29] <ss23> Just since he was in chch when it happened there
1408: [23:53:41] * travis-ci has joined #silverstripe
1409: [23:53:41] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#668 (3.0 - 3c6ba1c : Sam Minnée): The build passed.
1410: [23:53:41] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/88d0cbea629d...3c6ba1c32274
1411: [23:53:41] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9413926
1412: [23:53:41] * travis-ci has left #silverstripe
1413: [23:53:55] <irogue> ss23: on the upside, we could blame him.
1414: [23:53:57] <Colin[pi]> still getting wobbles over there?
1415: [23:54:08] <ss23> yeah :D
1416: [23:54:15] <ss23> Colin[pi]: A few, barely noticable
1417: [23:54:21] * travis-ci has joined #silverstripe
1418: [23:54:21] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#669 (2.4 - a787ddd : Sam Minnée): The build passed.
1419: [23:54:21] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/e993a0defef0...a787dddeab9b
1420: [23:54:21] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9413936
1421: [23:54:21] * travis-ci has left #silverstripe
1422: [23:54:26] <ss23> I think I'm more perceptible to afterschosk cause my titties wobble a bit
1423: [23:54:42] <ss23> :D
1424: [23:55:02] * LoveDuckie quit (Ping timeout: 240 seconds)
1425: [23:55:04] <Colin[pi]> lol
1426: [23:56:12] * catcher quit (Quit: Leaving)
1427: [23:56:34] * UncleCheese quit (Quit: UncleCheese)
1428: [23:57:51] <simon_w> Or, like yesterday, it means you can notice ones that don't exist!
1429: [23:59:10] <ss23> "oh there was a small quake right when you felt one
1430: [23:59:11] <ss23> "
1431: [23:59:14] <ss23> must be the ones that don't exist
1432: [23:59:15] <ss23> HA
1433: [23:59:27] <ss23> but srsly in this building walking fucks stuff up

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