#silverstripe IRC Log

IRC log for 25 June 2015

All timestamps are in UTC.

1: [00:00:42] <Ryan-Toast> is this not the correct way to get do’s with images?
2: [00:00:43] <Ryan-Toast> $fields->addFieldToTab('Root.Main', CheckboxSetField::create('Bar', 'Bar', Foo::get()->filter(array('Image.ID:GreaterThan' => 0))->map()->toArray()));
3: [00:02:32] <UncleCheese> dude
4: [00:02:35] <UncleCheese> better burger
5: [00:02:40] <UncleCheese> omg
6: [00:03:00] <Ryan-Toast> UncleCheese: do you guys have burger burger down there?
7: [00:03:10] <UncleCheese> burger burger? no
8: [00:03:27] <Colin[pi]> fuck it I'm going to start Better Burger Burger
9: [00:03:45] <Colin[pi]> Better Burger Burger Fuel
10: [00:03:48] <Colin[pi]> ITS PERFECT
11: [00:04:18] <zippy> made from dingo meat, it will be an ozzie best seller
12: [00:04:27] <Colin[pi]> zippy: dingos and babies
13: [00:04:33] <Colin[pi]> the other other white meat
14: [00:05:04] <Ryan-Toast> how do you use filter to check if an image exists?
15: [00:05:26] <Colin[pi]> Ryan-Toast: check if the ID is 0 or not?
16: [00:05:36] <Colin[pi]> or you want to actually check the file existence?
17: [00:05:39] <Ryan-Toast> Colin[pi]: Snippet above
18: [00:05:43] <Colin[pi]> ah
19: [00:06:15] <Colin[pi]> no worky I'm guessing?
20: [00:06:38] <Colin[pi]> what about not equal to zero?
21: [00:06:39] <Ryan-Toast> Colin[pi]: No worky
22: [00:07:48] <Ryan-Toast> Colin[pi]: can I check against a method?
23: [00:07:52] <Stomach> burger burger best burger
24: [00:09:13] <zippy> You could do it in a two liner...
25: [00:09:37] <Colin[pi]> Ryan-Toast: in filter?
26: [00:09:43] <zippy> Ryan-Toast: Instead of doing Image.ID, why not just ImageID
27: [00:09:43] <Ryan-Toast> Colin[pi]: ye
28: [00:09:49] <Ryan-Toast> zippy: deeeerp
29: [00:09:49] <zippy> instead of the relation, check the field?
30: [00:09:53] <Colin[pi]> mm
31: [00:09:58] <Colin[pi]> check the FK field
32: [00:10:19] <Ryan-Toast> zippy: lol, I feel dumb now.
33: [00:10:25] <Colin[pi]> :D
34: [00:10:55] <Ryan-Toast> zippy: churbo
35: [00:11:59] <Colin[pi]> didn't even notice the .ID in the snippet :)
36: [00:14:10] * spronk quit (Remote host closed the connection)
37: [00:17:34] * pengy-gone quit (Ping timeout: 246 seconds)
38: [00:17:49] * spronk has joined #silverstripe
39: [00:33:02] * veb has joined #silverstripe
40: [00:36:07] <zippy> o/ spronk veb
41: [00:36:13] <veb> peeeps
42: [00:36:18] <veb> http://www.seek.co.nz/job/28884671?pos=1&type=standout
43: [00:36:19] <veb> should I?
44: [00:37:03] <spronk> HAII
45: [00:39:03] * micmania1 quit (Quit: micmania1)
46: [00:40:33] <irogue_> veb: of course you should ;)
47: [00:40:36] <irogue_> http://silverstripe.workable.com/
48: [00:40:41] <veb> issue is
49: [00:40:46] <veb> I haven't used SS in years
50: [00:40:52] <veb> -but- I'm always helping people in here
51: [00:40:55] <veb> by... RTFM
52: [00:40:56] <veb> lolol
53: [00:41:12] <veb> I used it when it first came out, the first year iirc
54: [00:41:13] <veb> hmm
55: [00:42:25] * zlinux has joined #silverstripe
56: [00:43:14] <irogue_> veb: nothing really wrong with that, though if you went for an interview I'd advise getting back up to speed a bit first
57: [00:43:25] <veb> ha yeah
58: [00:43:30] <veb> I'm also in Dunedin
59: [00:43:33] * Phlunk3 quit (Ping timeout: 252 seconds)
60: [00:43:40] <veb> so ... I need to leave wife+kid behind
61: [00:43:44] <veb> I have a place to stay on a couch for a few months
62: [00:44:43] <irogue_> I'm looking for a flatmate ;)
63: [00:46:02] <zlinux> Hi all
64: [00:46:39] <veb> irogue_: yeah but this couch be free
65: [00:47:10] <veb> there I put "Silverstripe" into my linknedin
66: [00:47:14] <veb> that's all I need to do right?
67: [00:47:16] <veb> (!)
68: [00:47:30] <veb> irogue_: do you work at this magical place?
69: [00:47:48] <irogue_> yep
70: [00:47:56] <veb> do they like deaf people
71: [00:48:04] <veb> i'm an unfortunate deaf guy
72: [00:48:06] <adrexia> veb:
73: [00:48:06] <adrexia> so ... I need to leave wife+kid behind
74: [00:48:07] <adrexia> lol
75: [00:48:10] <veb> but I have a cyborg ear
76: [00:48:14] <adrexia> I hear you can bring them with you these days ;)
77: [00:48:25] <veb> I can't hear, I'm deaf, you insensitive clod!
78: [00:48:28] <adrexia> Wellington isn't all taht dangerous
79: [00:48:36] <adrexia> ;)
80: [00:48:39] <veb> she's got her job here, so maybe in 6 months she can follow
81: [00:48:43] <veb> that's a plan, right?
82: [00:48:53] <adrexia> yeah, seems fair
83: [00:49:12] <zlinux> If SilverStripe was going to rewritten in other than PHP, which would be the best language to move to?
84: [00:49:19] <zlinux> to be*
85: [00:49:21] * antmas has joined #silverstripe
86: [00:49:22] <veb> that would be a dumb move
87: [00:49:28] <veb> that question doesn't need to be answered :/
88: [00:49:34] <adrexia> zlinux go ?
89: [00:49:40] <zlinux> veb: why dumb?!
90: [00:49:52] <adrexia> a bunch of silverstripe devs really like Go
91: [00:50:04] <veb> 'cos you're changing the entire platform
92: [00:50:10] <veb> that never ends well
93: [00:50:12] <adrexia> yeah - it';s unlikely to happen
94: [00:50:12] <zlinux> adrexia: so this is your answer, go?
95: [00:50:24] <adrexia> but still not a bad question to talk about
96: [00:50:28] <veb> it's like making every automatic car, a manual
97: [00:50:29] <veb> lolol
98: [00:50:37] <Ryan-Toast> veb: so a good idea?
99: [00:50:43] <veb> Ryan-Toast: no!
100: [00:50:44] <irogue_> veb: i don't believe we currently have any deaf people, so whether your kind are "liked" is hard to judge :P
101: [00:50:48] <Ryan-Toast> veb: :P
102: [00:50:50] <veb> I'd rather not spend 500 years behind someone!
103: [00:51:02] <veb> irogue_: you guys are discriminating!
104: [00:51:07] <zlinux> adrexia, veb: 2 implementations of SS in parallel
105: [00:51:12] <Ryan-Toast> veb:drop down a gear, and blitz them then :D
106: [00:51:17] <veb> irogue_: nah only asked because I'd rather do a face-to-face inteview
107: [00:51:20] <adrexia> irogue - Stig is half deaf
108: [00:51:27] <veb> even though I can hear well enough using my cochlear implant
109: [00:51:44] <veb> this is what I got
110: [00:51:45] <veb> http://www.medel.com/int/rondo
111: [00:51:46] <adrexia> can't hear very high frequency
112: [00:51:46] <irogue_> adrexia: wouldn't even know
113: [00:51:54] <veb> round, half the size of a hockey puck
114: [00:51:56] <adrexia> and not much at all on one side
115: [00:51:56] <irogue_> that'd be a handy feature at times...
116: [00:51:58] <veb> pretty neat tech?
117: [00:52:01] <veb> right?
118: [00:52:08] <irogue_> especially when people have CRTs on in the room and I get a wicked headache
119: [00:52:18] <spronk> the fuck
120: [00:52:19] <spronk> is a CRT
121: [00:52:20] <veb> o_O
122: [00:52:21] <irogue_> stupid high-pitch whine
123: [00:52:24] <veb> spronk: a monitor son
124: [00:52:30] <veb> ;-)
125: [00:52:41] * spronk thought they all died out many moons ago
126: [00:52:45] <irogue_> we have them here cos arcade machines. they make an awful noise.
127: [00:52:48] <spronk> hahaha
128: [00:52:49] <antmas> I can often here AC adapters running :|
129: [00:52:51] <veb> spronk: back in the days before fb
130: [00:52:55] <irogue_> noone else can hear it cos they have old person ears
131: [00:53:01] <spronk> wow
132: [00:53:03] <Colin[pi]> irogue_: you can hear that too?
133: [00:53:05] <spronk> they don't whine *that* high
134: [00:53:06] <spronk> it
135: [00:53:11] <spronk> s usually only like 15khz
136: [00:53:18] <veb> irogue_: yeah mainly concerned about how the hell I can apply, get an interview, and get to welly on time :P
137: [00:53:24] <antmas> if you can hear it at any level, it's annoying
138: [00:53:29] <adrexia> yeah, I have pretty good high frequency hearing. lots of things bug me a lot
139: [00:53:29] <veb> mind you guys, when I got my implant, I realised I could hear things nobody else could
140: [00:53:40] <veb> I can hear certain radio frequency readers goin
141: [00:53:43] <Colin[pi]> irogue_ antmas: everyone thinks I'm mad, I hate that high pitched noise, I can hear it really well
142: [00:53:46] <veb> like the bus go card system
143: [00:53:49] <spronk> even old folks should be able to hear 15khz
144: [00:53:49] <veb> I can hear it BEEP
145: [00:53:52] <veb> when someone debits
146: [00:53:59] <veb> lol
147: [00:54:04] <Colin[pi]> spronk: yeah dude, I'm old, i can hear it :P
148: [00:54:06] <veb> (you can control my ear with radio)
149: [00:54:18] <irogue_> veb: have a chat to CJ if you have any concerns
150: [00:54:25] <adrexia> veb - just apply. explain the situation, and I'm sure it;ll work out
151: [00:54:27] <adrexia> :)
152: [00:54:34] <spronk> or i guess if you have persistent tinnitis from years of AC/DC concerts...
153: [00:54:45] <veb> spronk: man I'm the opposite
154: [00:54:48] <veb> tinnitus, then AC/DC
155: [00:54:51] <spronk> ah, CRTs. I'd almost forgotten about those
156: [00:54:56] <veb> it's like... AC/DC time travelled
157: [00:55:03] <spronk> ha
158: [00:55:09] <veb> DC/AC
159: [00:55:14] * spronk used to love his sony G420
160: [00:55:19] * jenniferaslan quit (Quit: jenniferaslan has left the room)
161: [00:55:22] <antmas> I'd want to go def after going to see ACDC
162: [00:55:29] <antmas> deaf*
163: [00:55:41] <spronk> that thing cost me way more than i care to admit
164: [00:56:04] * antmas had a 26" crt at one stage
165: [00:56:12] <spronk> woah
166: [00:56:12] <antmas> it was like 1m deep XD
167: [00:56:16] <Colin[pi]> lol
168: [00:56:38] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
169: [00:56:40] <spronk> heh
170: [00:56:51] * antmas is at home now
171: [00:56:52] <spronk> ha
172: [00:56:53] <antmas> \o/
173: [00:57:02] <spronk> remember when you had to keep your speakers away from your monitro
174: [00:57:09] <Colin[pi]> spronk: I do miss degaussing
175: [00:57:13] <spronk> THUNNGGG
176: [00:57:20] <Colin[pi]> FZHHHWOOOOOM *CLINK*
177: [00:57:30] * micmania1 has joined #silverstripe
178: [00:57:31] <veb> deaf deaf deeeeeaf
179: [00:57:42] <veb> also I was eating dinnr last night, saw someone i hadn't in years
180: [00:57:47] <veb> she's completely deaf, does sign
181: [00:57:53] <veb> and I just started signing, had a big convo
182: [00:58:02] <Colin[pi]> veb: did you bang?
183: [00:58:03] <veb> wife goes "wtf did you guys talk about" afterwards
184: [00:58:07] <antmas> Colin[pi],LOL
185: [00:58:11] <veb> and I go... "wait you didn't understand anything?"
186: [00:58:20] <veb> I didn't realise I'd been signing >.<
187: [00:58:24] <veb> I was taught when I was a kid
188: [00:58:36] <veb> and, no, we didn't bang.
189: [00:58:42] <Colin[pi]> not even fingerbang?
190: [00:58:48] <Colin[pi]> that's sign language right?
191: [00:58:49] <veb> we just spoke about naughty things, and nobody knew!
192: [00:58:52] <veb> he he he
193: [00:58:56] <veb> Colin[pi]: finger spelling bro
194: [00:59:01] * veb fingers Colin[pi]
195: [00:59:09] <Colin[pi]> oooh jesus christ
196: [00:59:24] <veb> rofl
197: [00:59:27] <spronk> http://www.usedcomp.de/infos/SGIFW9011grs.jpg
198: [00:59:27] <veb> you been saying finger bang?
199: [00:59:29] <veb> ;)
200: [00:59:31] <spronk> possibly the coolest display ever.
201: [00:59:40] <veb> ew no
202: [01:00:00] <Colin[pi]> CRTs will come back as retro hipster screens
203: [01:00:08] <irogue_> [12:59:02] veb fingers Colin[pi]
204: [01:00:10] <Colin[pi]> you'll see people lugging them to cafes
205: [01:00:12] <spronk> man
206: [01:00:13] <irogue_> you'd fit right in at silverstripe, veb :P
207: [01:00:16] <veb> haha
208: [01:00:17] <spronk> CRTs were glossy before glossy was cool
209: [01:00:18] * Phlunk3 has joined #silverstripe
210: [01:00:24] <veb> irogue_: that's good to hear :p
211: [01:00:48] <antmas> veb dat pun
212: [01:01:26] <veb> irogue_: https://www.linkedin.com/in/vebbed
213: [01:01:28] <veb> antmas: HEY!
214: [01:01:31] * adrexia quit (Ping timeout: 272 seconds)
215: [01:01:31] <veb> how's stuff my buddy
216: [01:02:06] <antmas> veb good!
217: [01:02:11] <Colin[pi]> "I aint your buddy, friend"
218: [01:02:13] * adrexia has joined #silverstripe
219: [01:02:18] <antmas> hey GUY
220: [01:02:20] <Colin[pi]> "I aint your friend, guy"
221: [01:02:34] <irogue_> veb: oh, the "number of mikes" chart on the wall would have to be updated
222: [01:02:37] * adrexia quit (Client Quit)
223: [01:03:04] <veb> irogue_: or we could 'veb'
224: [01:03:05] <antmas> irogue_, are there any Pats? No one ever has any Pats ;____:
225: [01:03:06] <veb> jeez
226: [01:03:08] <antmas> so alone
227: [01:03:14] <veb> antmas: dw, just forever alone
228: [01:03:38] <irogue_> I wish this was the SS slack so I could do :ronery:
229: [01:03:46] <antmas> lol
230: [01:03:52] * UncleChe_ has joined #silverstripe
231: [01:04:04] <veb> irogue_: I love me Slack
232: [01:04:09] <veb> 'tis nice
233: [01:04:14] <veb> I did like hipchat
234: [01:04:57] <zlinux> veb: you've german origin?
235: [01:05:01] <veb> I do not
236: [01:05:04] <veb> o_O
237: [01:05:26] <zlinux> british origin then
238: [01:05:32] <zlinux> ?
239: [01:05:57] <veb> more like... scottish originally then portugal, and then NZ in the ol whaling days
240: [01:06:10] <veb> why are you so interested? you want my identity? all you need to do is ask
241: [01:06:19] * Sticks has joined #silverstripe
242: [01:07:42] <zlinux> veb: i'm from Saudi Arabia btw, i was just looking at your picture and tried out my skills to figure out.
243: [01:07:50] <veb> lol
244: [01:07:57] * veb scared
245: [01:08:05] <zlinux> why scared? LOL
246: [01:08:11] <veb> zlinux: https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-xfp1/v/t1.0-9/10312546_10206411199781435_2521085876846817373_n.jpg?oh=b0db815a1741f0d7de5e16380a88964e&oe=561A2F44&__gda__=1446019105_87ed3187ac8ac17ea59e0cbba8e67be1
247: [01:08:17] <veb> more hair
248: [01:08:18] <veb> does that help?
249: [01:08:24] <veb> I recently cut my hair
250: [01:08:26] <veb> thank god
251: [01:08:41] <Colin[pi]> veb: which one is younger?
252: [01:08:49] <veb> the linkedin one
253: [01:08:58] <Colin[pi]> no, in the 2nd pic
254: [01:09:04] <Colin[pi]> you look so baby face
255: [01:09:04] <Colin[pi]> lol
256: [01:09:06] * Stomach quit (Quit: zzz)
257: [01:09:17] <veb> oh, I'm the one on the right
258: [01:09:21] <zlinux> well you do look like you have Scottish origin
259: [01:09:21] <Colin[pi]> XD
260: [01:09:24] <veb> my son is on the left
261: [01:09:27] <veb> rofl
262: [01:09:33] <zlinux> i was not surprised at all
263: [01:09:39] <veb> yeah I dunno... long hair makes me younger
264: [01:12:00] <veb> antmas: HOW IS STUFF
265: [01:12:18] <veb> and where's my Kingy[a]
266: [01:12:27] <veb> being all arrogant with his [a]
267: [01:12:35] <veb> he's lovin' it in Bahrain
268: [01:14:01] <zlinux> who is in Bahrain?
269: [01:14:16] <Colin[pi]> Kingy[a]
270: [01:14:30] <irogue_> wtf sports thing is on?
271: [01:14:41] <irogue_> Right Track is *insanely* loud
272: [01:14:44] <zlinux> Bahrain is just 70 km away from me.
273: [01:16:02] <zlinux> and not only that, I was thinking to go spend the rest of ramadan there :)
274: [01:16:02] * Stomach has joined #silverstripe
275: [01:16:51] <veb> zlinux: he's tax free :-(
276: [01:16:53] <veb> are you?
277: [01:17:23] <veb> i wonder how many people confuse SS with the german secret service
278: [01:17:25] <zlinux> sorry don't understand what does "tax free" mean exactly
279: [01:17:25] <veb> hmph
280: [01:17:30] <veb> zlinux: income is tax free
281: [01:17:38] * adrexia has joined #silverstripe
282: [01:17:38] * adrexia quit (Client Quit)
283: [01:18:17] <zlinux> veb: are you asking me if i make income whether or not i pay tax?
284: [01:18:45] <veb> I'm asking if your income is tax free
285: [01:18:47] <veb> lol
286: [01:18:50] <veb> I apologise.
287: [01:18:56] <veb> my words do not always work
288: [01:19:05] <zlinux> me who apologise for not understanding you.
289: [01:19:09] <veb> I need a quality assurance tester for my spelling
290: [01:19:17] <veb> or grammar
291: [01:19:18] <veb> or brain
292: [01:19:19] <veb> something
293: [01:19:45] <zlinux> my English is not that good, especially slang talking.
294: [01:20:14] <veb> irogue_: I'm guessing that if someone were to apply for that listing I showed before, but they weren't quite the 'senior' they're looking for, they'd check out the other available positions or what they needed too?
295: [01:20:36] <veb> I'm more... intermediate, leaning heavily on senior, so... all I need is a confidence boost, but yeah... is that what they do?
296: [01:20:43] * zippy has joined #silverstripe
297: [01:20:54] * veb just doesn't like wasting peoples time
298: [01:20:56] <zlinux> well, if I run my own business I would pay tax. But working like a freelancer or a job, no tax.
299: [01:21:12] <veb> zlinux: cool. what other benefits do you have by living in Saudia
300: [01:21:16] <irogue_> yup. as long as there is an intermediate post available, if you don't fit the requirements for senior they'll probably offer intermediate
301: [01:21:32] <veb> cool
302: [01:22:02] <veb> I've seen they do career development stuff. I'd like to fit into an intermediate thing, follow their developmental stuff, and I'd be slotted into senior quickly IMO
303: [01:22:10] <veb> but I'm not sure if that's a good way to look at things o_O
304: [01:22:11] * micmania1 quit (Quit: micmania1)
305: [01:23:25] <zlinux> veb: I don't know. But I'm a native citizen in here. When I get the chance I would like to move to somewhere that I didn't decide yet. (NZ is one, because of SilverStripe!!)
306: [01:23:43] <irogue_> veb: yeah thats a pretty good way to go. consider that your minimal recent SS experience is more likely to work against you if you apply for senior.
307: [01:24:26] <veb> irogue_: well, I'd be able to get up to speed quickly, but I don't like to lie/exaggerate
308: [01:24:31] <veb> makes me uncomfortable
309: [01:25:11] <veb> thanks irogue_
310: [01:26:10] <zippy> down side is have to move to wellington or, gasp, aucks
311: [01:26:20] <veb> upside is having to leave DUNEDIN
312: [01:26:22] <veb> it's a shit hole
313: [01:26:32] <zippy> frozen shithole atm eh
314: [01:26:32] <veb> every dev job is like... only you, working for old clueless people
315: [01:26:45] <veb> sounds like in welly i'd be in a good culture of like minded people
316: [01:26:54] <veb> which would allow me to actually be good
317: [01:27:03] <veb> I'm guess-hoping
318: [01:27:04] <Colin[pi]> then the old clueless people become clients
319: [01:27:05] <veb> :D
320: [01:27:18] <veb> Colin[pi]: that's the joke
321: [01:27:19] <veb> :D
322: [01:27:44] <veb> whenever I see your username, I think of a rally driver Colin[pi]
323: [01:27:50] <veb> it's... a weird visual relation that
324: [01:27:52] <veb> heh
325: [01:28:07] <Colin[pi]> colin mcrae?
326: [01:28:13] * veb nods
327: [01:28:19] <Colin[pi]> mm what a legend he was
328: [01:28:25] <veb> and possum :-(
329: [01:29:17] <veb> so there are intermediate roles
330: [01:29:18] <veb> http://silverstripe.workable.com/jobs/70932
331: [01:29:19] <veb> cool
332: [01:29:47] <antmas> veb there are ;)
333: [01:29:57] <veb> antmas: did you apply yet
334: [01:30:08] <antmas> tech interview in like 30 mins :O
335: [01:30:32] <veb> at SS?
336: [01:30:36] <antmas> mm
337: [01:30:40] <antmas> shsssshhhhhhh
338: [01:30:40] <veb> do they do two different ones?
339: [01:30:42] <veb> normal, and tech?
340: [01:31:35] <antmas> depends I think
341: [01:31:38] <antmas> this is my 2nd
342: [01:31:59] <veb> is the tech interview, like fizzbuzz?
343: [01:32:02] <veb> or more indepth
344: [01:32:03] <veb> lol
345: [01:32:10] <veb> is it just paper and pen?
346: [01:32:11] <veb> paper pen google?
347: [01:32:17] <veb> google and vim?
348: [01:32:21] <veb> can't use vim, gtfo! :P
349: [01:32:28] <veb> "nano?! OUT!"
350: [01:32:31] * Phlunk3 quit (Ping timeout: 264 seconds)
351: [01:32:33] <veb> "notepad.exe? OUT!"
352: [01:32:41] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
353: [01:32:45] <veb> "rock and chisel? huh, continue"
354: [01:32:51] <antmas> no idea haha
355: [01:32:55] <llliit> this channel has some pretty vocal people against vim
356: [01:33:01] <llliit> so i'd watch out
357: [01:33:03] <veb> I love me some vim
358: [01:33:04] <veb> bring it!
359: [01:33:16] <antmas> anyone asks me fizzbuzz type test things, I always take way too long
360: [01:33:22] * veb acts like a drunk guy who cannot get beaten up ... waving his arms, like he just doesn't care
361: [01:33:28] <antmas> tests are kinda pointless
362: [01:33:29] <veb> antmas: yeah, tests are suck.
363: [01:33:34] <veb> but I think it's to be expected
364: [01:33:45] <veb> some of the best devs I've met, would fail tests
365: [01:34:00] <veb> but sending them an application asking them to fix it, as a test, would be a great thing
366: [01:34:10] <veb> or even doing it in a room by themselves in the offices or something
367: [01:34:11] * veb not sure
368: [01:34:19] <llliit> if they are pussies during an interview they are gonna be pussies during a project crunch time
369: [01:34:27] <veb> lol
370: [01:34:39] <veb> you do have a point
371: [01:34:41] <veb> dammit
372: [01:34:43] * Phlunk3 has joined #silverstripe
373: [01:34:49] * veb concedes to the brilliant llliit
374: [01:34:58] <veb> i[tab]... oh his name starts with L
375: [01:35:03] <veb> such a troll
376: [01:35:27] <veb> llliiit IIIlllt
377: [01:36:12] <veb> good thing about leaving family behind, is I can 100% work, without hassle
378: [01:36:12] <veb> lol
379: [01:36:16] <veb> i feel mean saying that
380: [01:36:19] <veb> but it's true
381: [01:36:33] <veb> i'll miss my son though, turning 2 in aug
382: [01:36:42] <veb> but flying from welly to dunedin isn't much I guess
383: [01:38:29] * adrexia has joined #silverstripe
384: [01:44:21] <spronk> UGh
385: [01:44:22] <spronk> ms sl
386: [01:44:23] * Stomach quit (Quit: zzz)
387: [01:44:27] <spronk> q
388: [01:44:30] <spronk> and its fucking... users and permissions and roles and schemas
389: [01:44:33] <spronk> jesus fucking christ
390: [01:45:31] <zippy> spronk: shh you'll wake the postgress troll
391: [01:45:42] * Tanger has joined #silverstripe
392: [01:49:13] * Stomach has joined #silverstripe
393: [01:50:52] <veb> postgres :(
394: [01:50:56] <Colin[pi]> spronk: ms created something that sounds an awful lot like... Linux?
395: [01:51:04] <veb> an operating system?
396: [01:51:04] <veb> !!
397: [01:51:16] <Colin[pi]> nah in terms of users/permissions and such :P
398: [01:51:20] <veb> lol
399: [01:51:23] <veb> ohhh okay
400: [01:51:26] <Colin[pi]> ms is usually like "lol whatever"
401: [01:51:40] <veb> "but not today! no lolling guys! look!"
402: [01:51:56] <veb> "we can ride our computers, with no lols, with no lols we can ride our computers with no lols"
403: [01:52:19] * irogue_ quit (Remote host closed the connection)
404: [01:52:57] <spronk> ugh
405: [01:52:58] * veb should be the NZ basshunter
406: [01:53:01] <spronk> then there's
407: [01:53:02] <spronk> windows auth
408: [01:53:03] <spronk> vs sql server auth
409: [01:53:06] <spronk> god its complicated
410: [01:53:09] <veb> lol
411: [01:53:17] <veb> precisely why I hate working in .NET environments
412: [01:53:21] <spronk> and all of this fucking bullshit that i've just been going through
413: [01:53:22] <veb> it's all so needlessly complex
414: [01:53:27] <spronk> is because i needed sql server auth
415: [01:53:28] <spronk> but by default it's disabled
416: [01:53:33] <veb> it's like why an't I just print this here
417: [01:53:34] <veb> but no
418: [01:53:35] <zippy> antmas: ^ the language of your people
419: [01:53:37] <spronk> and... the error messages don't bloody tell you this
420: [01:53:40] <veb> leave him be
421: [01:53:44] <veb> he needs to breathe!
422: [01:53:45] <spronk> heh
423: [01:53:48] <spronk> .net works better though
424: [01:53:50] <veb> spronk: agreed :(
425: [01:53:55] <veb> does not work better!
426: [01:53:57] <veb> does not
427: [01:53:59] <spronk> because vs configures it all for you :p
428: [01:54:00] * veb la la la la
429: [01:54:38] * Stomach quit (Quit: zzz)
430: [01:56:43] <spronk> tbh
431: [01:56:47] <spronk> .net on linux should be pretty good
432: [01:56:52] <veb> hmm
433: [01:56:53] <veb> not at first
434: [01:56:55] <spronk> esp if postgres and mysql are well supported
435: [01:57:00] <veb> few iterations away tbh
436: [01:57:04] <spronk> c# is yummy
437: [01:57:11] <veb> idk
438: [01:57:20] <spronk> and c# with the .net libs is nicer than any current web platform on linux
439: [01:57:34] <veb> it really depends on what you're doing
440: [01:57:42] <spronk> the language is nice, expressive, and fast. the libs are well documented, have good feature sets
441: [01:57:48] <veb> no one framework/platform can work for anything
442: [01:57:48] <spronk> it has great package management
443: [01:57:59] <spronk> well
444: [01:58:00] <veb> and tha'ts my major hate about MS... the documentation, msdn, SUCKS SO MUCH.
445: [01:58:03] <veb> it's _AWFUL_
446: [01:58:12] <veb> just look at django, or even PHP... miles ahead
447: [01:58:14] <spronk> i typically keep coming back to php because it's kinda the least shit web language
448: [01:58:22] <spronk> hmm
449: [01:58:24] <veb> idk about that
450: [01:58:27] <spronk> i find msdn docs pretty decent?
451: [01:58:29] <veb> but PHP just _works_
452: [01:58:32] <spronk> well
453: [01:58:32] <veb> there's a difference
454: [01:58:38] <spronk> python has package management problems
455: [01:58:39] <veb> tbh I have not used MSDN in a while
456: [01:58:41] <veb> so it might've changed
457: [01:58:42] <spronk> ruby is too slow
458: [01:58:55] <spronk> go has package management issues, and ecosystem is immature
459: [01:58:57] <veb> python package is fine, if you know what you're doing but you can say that about anything can't you?
460: [01:58:58] <spronk> javascript is too fucked up
461: [01:59:04] <veb> yea JS is everywhere
462: [01:59:28] <Colin[pi]> JS is the cancer that is killing the internet
463: [01:59:30] <spronk> veb py is fragmented, and there's 2vs3 issues, and the deployment strategy for eggs and shit is pretty crap compared to composer, npm, nuget, maven
464: [01:59:30] <Colin[pi]> :D
465: [01:59:33] <veb> mixed feelings about .net, so I'm happy to see what happens
466: [01:59:42] <veb> spronk: yeah I don't disagree
467: [01:59:57] <veb> Colin[pi]: erry day, "oh look a new shiny JS thing!"
468: [01:59:58] <spronk> also, python, js, ruby etc have no gradual or strict typing
469: [01:59:58] * zlinux_ has joined #silverstripe
470: [02:00:02] * veb flocks to new JS shiny thing
471: [02:00:07] <spronk> python will soon, but it will take years for libs to catch up etc
472: [02:00:10] * zlinux quit (Ping timeout: 272 seconds)
473: [02:00:11] <veb> "use this use this boss!"
474: [02:00:15] * Stomach has joined #silverstripe
475: [02:00:19] <spronk> which basically leaves java and php as the best options
476: [02:00:20] <veb> 6mon later, "damnit no devs use this how do we hire"
477: [02:00:27] <spronk> and fuck deploying the jvm
478: [02:00:31] <veb> spronk: you don't *need* that shit to work
479: [02:00:33] <spronk> ugh, yeah
480: [02:00:35] <veb> look at reddit, that's python
481: [02:00:38] <spronk> yeah
482: [02:00:43] <veb> ewjvm
483: [02:00:51] <spronk> python is the best of the rest
484: [02:00:55] <veb> honestly, anything is good, if you put the time and effort into it
485: [02:00:57] <veb> ain't nothing perfect
486: [02:01:03] <spronk> but i still think it suffers for productivity on larger projects
487: [02:01:14] <veb> mmm I do reach a point where i'm like, "ffs'
488: [02:01:22] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
489: [02:01:27] <veb> php, you can turn your FFS, into anything, cos anything goes in PHP
490: [02:01:28] <veb> :-P
491: [02:01:44] <spronk> java could actually be quite good, if it got a bit more focus on less enterprisey stuff
492: [02:01:54] <veb> there's something about beating a dead horse, but in php you can beat it senseless and still get results
493: [02:02:00] <veb> spronk: no no no no no NO!
494: [02:02:01] <spronk> which it kinda has these days with some frameworks like spark, play,
495: [02:02:10] <veb> java is gone
496: [02:02:12] <veb> forget it
497: [02:02:13] <spronk> and the jvm deployment strategy now is better than it was, 12 factor and all that
498: [02:02:18] <spronk> and
499: [02:02:20] <spronk> java is FAST
500: [02:02:25] <veb> not really
501: [02:02:27] <spronk> it is
502: [02:02:28] <veb> I disagree
503: [02:02:28] <spronk> it's soooooo fast
504: [02:02:34] <veb> it's horribly slow
505: [02:02:35] <spronk> 10 years ago java was slow
506: [02:02:35] <spronk> now
507: [02:02:41] <veb> it's still slow
508: [02:02:42] <veb> pr00f pls
509: [02:02:44] <spronk> it's slower only than c, c++, and go
510: [02:02:47] <veb> proof!
511: [02:02:50] <veb> provide!
512: [02:02:57] <spronk> well, i guess https://www.techempower.com/benchmarks/ to start with
513: [02:03:13] <spronk> including all historical revisions
514: [02:03:18] <spronk> java is pretty much near the top
515: [02:03:40] <veb> no
516: [02:03:52] <spronk> also
517: [02:03:57] <spronk> look at stuff like hadoop
518: [02:04:00] <veb> surprising at dart
519: [02:04:02] <veb> hmph
520: [02:04:07] <spronk> its in java, and has won competitions for sorting speed
521: [02:04:14] <spronk> vs solutions in bare metal compiled languages
522: [02:04:25] <veb> you're right about python surprisingly
523: [02:04:33] <veb> honestly thought it'd be higher
524: [02:04:39] <veb> lol@codeigniter
525: [02:05:06] <spronk> i mean realistically a lot of htis doesn't matter for CRUDdy apps because the database is likely to be the bottleneck
526: [02:05:12] <veb> http://www.postgresql.org/about/news/1593/
527: [02:05:41] <spronk> but when yo want to to something thats actually computationally intensive, if you choose a python/ruby/java/non-hhvmphp7 php, you basically need to drop out to a faster language to do it
528: [02:06:05] <veb> but how often are you in that situation though?
529: [02:06:11] <spronk> well
530: [02:06:12] <veb> seriously,
531: [02:06:14] <spronk> quite often, for me
532: [02:06:28] <veb> how often do you do such server intensive products?
533: [02:06:39] <veb> that you need to use some PHP+C compiled thing
534: [02:06:47] <spronk> well
535: [02:07:09] <spronk> we moved one of our backend processes which deals with matching personal data from php to go
536: [02:07:21] <spronk> went from having an entire vm on its own
537: [02:07:32] <spronk> to.. basically not needing that at all
538: [02:07:39] <veb> what if someone had rewritten the PHP code?
539: [02:07:43] <veb> no?
540: [02:07:48] <spronk> had already done that twice
541: [02:07:54] <veb> gotcha
542: [02:07:58] <veb> that's really interesting
543: [02:07:59] <spronk> it was getting pretty hairy looking, too
544: [02:08:02] <spronk> so
545: [02:08:03] <spronk> sure
546: [02:08:04] <veb> how'd it work?
547: [02:08:06] <spronk> it worked fine before
548: [02:08:09] <veb> and where do you work?
549: [02:08:17] <spronk> veb school-links.org.nz
550: [02:08:20] * UncleCheese has joined #silverstripe
551: [02:08:24] <ss23> hacked
552: [02:08:39] <veb> spronk: it's like parent interviews!
553: [02:08:42] <veb> is it?
554: [02:08:44] <veb> o_O
555: [02:08:54] <ss23> I found XSS
556: [02:08:55] <spronk> err.. sorta
557: [02:08:57] <spronk> ?
558: [02:08:58] <veb> http://parentinterviews.co.nz
559: [02:09:01] <veb> do you know this?
560: [02:09:08] <spronk> veb we work with him
561: [02:09:15] <veb> I did once too
562: [02:09:17] <veb> not on that though
563: [02:09:35] <spronk> used to do parent interviews ourselves, then decided we had other priorities, so now we give his product to our schools and support it
564: [02:09:43] <veb> heh, nice
565: [02:09:47] * UncleCheese quit (Client Quit)
566: [02:09:47] <spronk> also as a bit of a fuck you to schoolinterviews.co.nz
567: [02:09:56] <veb> ah
568: [02:09:59] <veb> the ones who tried to copy him?
569: [02:10:02] <spronk> well
570: [02:10:04] <veb> or ... were dicks?
571: [02:10:04] <spronk> he copied them
572: [02:10:05] <spronk> lets be fair
573: [02:10:09] <veb> but they were dicks about it
574: [02:10:11] <veb> iirc
575: [02:10:11] <spronk> they've been around for yeaaaars
576: [02:10:16] <spronk> yeah, on the pledgeme campaign
577: [02:10:17] <veb> didn't want to compete?\
578: [02:10:27] <veb> yeah who goes around ditching a young guy
579: [02:10:28] <veb> seriously
580: [02:10:31] <veb> it's pathetic
581: [02:10:32] <spronk> got their tits in a tangle because they wanted to just sit back and cash cow
582: [02:10:46] <spronk> ss23 where be teh xss?
583: [02:10:54] <ss23> forgot password form
584: [02:11:04] <ss23> self xss via POST only
585: [02:11:09] <ss23> so not anythign to care about really :P
586: [02:11:12] * spronk sighs
587: [02:11:23] <ss23> https://myschoollinks.school-links.org.nz/Home/forgottenPassword that one
588: [02:11:39] <veb> what XSS?
589: [02:11:58] <ss23> Enter s'"><asd in those forms
590: [02:12:00] <ss23> see xss
591: [02:12:13] <veb> interesting
592: [02:12:16] <veb> ' didn't come up with nything
593: [02:12:21] <veb> but you killed the HTML tag
594: [02:12:22] <veb> no wonder
595: [02:12:24] * veb derp
596: [02:12:27] <spronk> yeah
597: [02:12:30] <spronk> some that shit be fucked
598: [02:12:39] <veb> spronk: https://www.dropbox.com/s/dsgmynr6yi2ct46/Screenshot%202015-06-25%2014.12.33.png?dl=0
599: [02:13:02] * UncleCheese has joined #silverstripe
600: [02:13:19] <ss23> soz 4 hacking
601: [02:13:20] * spronk goes and looks at who wrote that...
602: [02:13:21] <ss23> it's an urge
603: [02:13:21] <ss23> ;_;
604: [02:13:28] <Colin[pi]> "some that shit be fucked" <-- sounds like a Ryan-Toast commit message
605: [02:13:53] <Ryan-Toast> Colin[pi]: Probs was.
606: [02:13:57] <veb> rofl
607: [02:14:00] <Colin[pi]> ehhehe
608: [02:14:02] <veb> spronk: I think someone does have some protection
609: [02:14:06] <veb> but really really bad protection...
610: [02:14:10] <spronk> ?
611: [02:14:11] <veb> some XSS works, some doesn't
612: [02:14:14] <veb> lol
613: [02:14:15] <Ryan-Toast> Colin[pi]: https://github.com/Rhym/silverstripe-boilerplate/commit/c3992d98a9a3a566afd747c5df8c464654a30c5d
614: [02:14:28] <veb> stripsomeslashes
615: [02:14:29] <Colin[pi]> lol
616: [02:14:47] <Colin[pi]> you got DOCBLOCKED SON
617: [02:14:48] * UncleCheese quit (Client Quit)
618: [02:15:03] <Colin[pi]> eeuw what did they do to it? http://i.imgur.com/yLRgI89.jpg
619: [02:15:06] <Colin[pi]> :(
620: [02:15:12] <spronk> woah
621: [02:15:16] <spronk> yeesh
622: [02:15:16] * UncleCheese has joined #silverstripe
623: [02:15:22] <Colin[pi]> spronk: #sadface
624: [02:15:30] <spronk> its all
625: [02:15:31] <spronk> squinty
626: [02:15:31] <Colin[pi]> why can they never release something that looks like the concept?
627: [02:15:46] <DanaeNZ> Colin[pi]: geometry and engineering, I assume
628: [02:15:47] <Colin[pi]> spronk: looks like it uses old milk crates for the grill
629: [02:15:53] <Colin[pi]> DanaeNZ: ssshhhhh
630: [02:15:55] <spronk> loool
631: [02:16:27] <Colin[pi]> spronk: looks like it bumped its bonnet and got a swollen forehead
632: [02:16:54] <Colin[pi]> alfa, why you do this? I had faith in you
633: [02:17:05] <Colin[pi]> bring back this: http://i.imgur.com/fFg3G6H.jpg
634: [02:17:05] <Colin[pi]> :(
635: [02:20:42] <Colin[pi]> spronk: compare: http://pictures.topspeed.com/IMG/crop/201504/2016-alfa-romeo-giulia-2_800x0w.jpg
636: [02:21:05] <Colin[pi]> "yeah nah, we'll take this reasonable attractive design and like... completely fuck it up"
637: [02:21:46] * Hailwood has joined #silverstripe
638: [02:21:58] <spronk> aww
639: [02:21:58] <spronk> brerar
640: [02:22:06] <spronk> -r
641: [02:22:06] <Colin[pi]> brera is a classic
642: [02:22:09] <spronk> that was a sexy looking beast
643: [02:22:15] <spronk> shame it didn't have the performance to match
644: [02:22:19] <Colin[pi]> I would love one of those, if it wasn't for the fact that it probably would break every 10kms
645: [02:22:27] <spronk> haha
646: [02:22:27] <spronk> yeahh :(
647: [02:22:50] <Colin[pi]> spronk: can see a lot of them for sale with fairly low K's and price.. and I'm like "seems legit"
648: [02:23:01] <spronk> hmm
649: [02:23:10] <Colin[pi]> but damn was it a nice looking car
650: [02:23:11] <spronk> i mean
651: [02:23:12] <spronk> you could just do it
652: [02:23:13] <Colin[pi]> from every angle
653: [02:23:17] <spronk> how bad could it be, right?
654: [02:23:34] <Colin[pi]> I was considering one before I got the honda
655: [02:23:38] <Colin[pi]> common sense prevailed :P
656: [02:23:55] <spronk> haha
657: [02:24:20] <Colin[pi]> i would have liked a giulietta too, but stretched the budget a bit much
658: [02:24:31] <Colin[pi]> I test drove one, so fun
659: [02:24:35] <Colin[pi]> dat turbo
660: [02:24:56] <Colin[pi]> but it's the Alfa pedigree that is always at the back of my mind
661: [02:25:01] <Colin[pi]> "will I get back from this trip"
662: [02:25:04] <Colin[pi]> etc. :)
663: [02:26:36] <Colin[pi]> plus every time I mentioned it to my mechanic friend, he kept saying "you know, those new Fiats are not bad"
664: [02:26:43] <Colin[pi]> I took that as his way of saying "avoid"
665: [02:27:41] <spronk> well, i can't get javascript to include in that form ss23 so i'm gonna ignore it :P
666: [02:28:01] <spronk> man this form library is shit
667: [02:28:37] * Stomach quit (Quit: zzz)
668: [02:29:28] * Stomach has joined #silverstripe
669: [02:29:32] <ss23> lol
670: [02:30:24] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
671: [02:30:55] <spronk> i need some better fuzzers
672: [02:30:57] <spronk> any recommendations, ss23 ?
673: [02:31:05] <ss23> um
674: [02:31:10] <ss23> put that thing I said into your clipboard
675: [02:31:13] <ss23> paste it into every input you see
676: [02:31:14] <ss23> BOOM DONE
677: [02:31:14] <ss23> :D
678: [02:31:18] <spronk> lol
679: [02:31:18] <spronk> nah
680: [02:31:27] <spronk> i need like
681: [02:31:29] <spronk> good fuzzers :p
682: [02:31:33] <spronk> with unicode attacks and shit
683: [02:31:57] * adrexia has joined #silverstripe
684: [02:32:10] <ss23> unicode attacks aren't things you need to worry about *shrug*
685: [02:32:17] <spronk> sure they are
686: [02:32:31] <spronk> i wonder what kali has these days
687: [02:32:31] <ss23> nu uh
688: [02:32:45] <ss23> no good free web fuzzers I know of in any case
689: [02:32:57] <ss23> but srsly I'd be like a billion suprrised if you ever had a unicode issue that mattered
690: [02:35:32] <spronk> weren't there all sorts of unicode issues with stuff like html purifier ?
691: [02:36:43] <ss23> sure, but I'd be surprised if it was ever a significant issue
692: [02:38:37] <Colin[pi]> typical SS meetup: http://i.imgur.com/4wWa5TR.png
693: [02:39:15] <spronk> :|
694: [02:40:34] * micmania1 has joined #silverstripe
695: [02:41:03] <ss23> um
696: [02:41:04] <ss23> ...
697: [02:41:06] <ss23> that's hot.
698: [02:41:30] <Colin[pi]> lol
699: [02:56:58] <veb> http://www.stuff.co.nz/business/farming/69702419/for-sale-to-a-keen-farmer-sir-sidney-kidmans-huge-aussie-estate
700: [02:56:59] <veb> lol
701: [02:58:17] <veb> http://www.stuff.co.nz/life-style/home-property/69701478/queen-elizabeth-ii-shells-out-114-million-on-a-new-york-apartment
702: [02:58:23] <veb> why the hell would she say queen of nz?
703: [02:59:56] <llliit> weird
704: [03:01:06] <veb> I could possibly understand it if she was buying a place here
705: [03:01:11] <veb> but in NY? wut
706: [03:02:31] <Colin[pi]> veb: she should have bought in... Queens... amirate?
707: [03:02:34] <Colin[pi]> *amirite
708: [03:02:44] <veb> you cheeky wee boy
709: [03:02:48] <veb> but ur so rite
710: [03:02:50] <Colin[pi]> ^.^
711: [03:03:01] <Colin[pi]> queens is a shitty area though afaik
712: [03:03:06] <veb> <.>
713: [03:03:39] <veb> I just had a turkish chicken sammich
714: [03:03:41] <veb> soogood.png
715: [03:03:48] <veb> seriouslygood.gif
716: [03:04:56] * Colin[pi] has homemade laksa to finish
717: [03:05:03] <veb> hmm, naw
718: [03:11:21] * micmania1 quit (Quit: micmania1)
719: [03:13:41] * micmania1 has joined #silverstripe
720: [03:16:33] * travis-ci has joined #silverstripe
721: [03:16:35] <travis-ci> silverstripe/silverstripe-framework#5191 (3.1 - f5d6f20 : Hamish Friedlander): The build passed.
722: [03:16:35] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/ebeea242fe5a...f5d6f2011322
723: [03:16:35] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/68259786
724: [03:16:35] * travis-ci has left #silverstripe
725: [03:23:22] <spronk> fuck me
726: [03:23:29] <spronk> does anyone else find it fucking impossible to swallow pills!?
727: [03:23:44] <llliit> ...
728: [03:23:51] <llliit> can't use vim, can't use his own throat
729: [03:23:55] <spronk> shutup jotham
730: [03:23:57] <spronk> :P
731: [03:23:57] <DanaeNZ> bhahahaahbah
732: [03:24:00] <llliit> you need to lift your game mate
733: [03:24:14] <spronk> well
734: [03:24:17] <spronk> yesterday i found a dollar
735: [03:24:18] <spronk> so there
736: [03:26:28] * CodeTrap has joined #silverstripe
737: [03:28:28] * CodeTrap1 quit (Ping timeout: 255 seconds)
738: [03:31:22] * Phlunk33 has joined #silverstripe
739: [03:33:04] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
740: [03:34:39] * Phlunk3 quit (Ping timeout: 248 seconds)
741: [04:01:49] <veb> spronk: not me
742: [04:01:53] <veb> I got gabapentin right
743: [04:01:59] <veb> I can prob swallow like 10 at once
744: [04:02:02] <veb> true story
745: [04:02:02] * adrexia has joined #silverstripe
746: [04:02:11] <veb> was havin a seizure, needed something
747: [04:02:14] * veb shrugs
748: [04:03:27] <veb> [15:23:52] <llliit> can't use vim, can't use his own throat
749: [04:03:36] <veb> oh my god spronk I giggled so much
750: [04:03:41] <veb> hahahahaha
751: [04:03:44] <spronk> :D
752: [04:03:48] <veb> you're like... useless!
753: [04:03:51] <veb> I love it
754: [04:03:56] <spronk> :<
755: [04:04:01] <llliit> that's harsh veb
756: [04:04:03] * veb discards a human being because can't use vim or throat
757: [04:04:15] <veb> no no no, I was just thinking out of context
758: [04:04:27] <veb> like, some big suit at a job interview saying that
759: [04:04:39] <veb> "I've got no time for people who cannot use vim, or use their own throats!"
760: [04:04:45] <DanaeNZ> Bahahahah omggg
761: [04:04:46] <veb> such a _weird_ combination
762: [04:06:17] <veb> like... "I have no time for people who have missing toes and can't use Linux"
763: [04:11:49] * UncleChe_ quit (Quit: Textual IRC Client: www.textualapp.com)
764: [04:17:43] * spekulatius2 quit (Read error: Connection reset by peer)
765: [04:18:37] * spekulatius has joined #silverstripe
766: [04:21:21] <veb> spronk: I'M SORRY
767: [04:22:37] * Kingy[a] is now known as Kingy
768: [04:22:47] <veb> king devil boy Kingy!
769: [04:22:53] <veb> sup my niggah
770: [04:23:19] <veb> context: this guy called himself kingdevilboy back in MSN chat
771: [04:23:32] <veb> "back in the day"
772: [04:23:40] * Stomach quit (Quit: zzz)
773: [04:23:51] <Kingy> lol holy shit
774: [04:24:00] <Kingy> ss23: you around?
775: [04:24:00] <veb> :P
776: [04:24:21] <veb> wait, I say hello, and you ignore me to ask for ss23
777: [04:24:25] <veb> are you cheating on me now >:{
778: [04:24:48] <Colin[pi]> Kingy: o/
779: [04:24:56] <Kingy> haha i need him to do stuff for me :P
780: [04:25:03] <Kingy> just using him ;)
781: [04:25:05] <Kingy> hey Colin[pi]
782: [04:25:19] <Kingy> i'll be in your country in 3 days time Colin[pi] :D
783: [04:25:24] <Colin[pi]> :o
784: [04:25:28] <Colin[pi]> whatcha doing here?
785: [04:25:40] <Kingy> going somewhere colder
786: [04:25:41] <Kingy> lol
787: [04:25:43] <Colin[pi]> lol
788: [04:25:54] <Colin[pi]> hmm AU is not the first pick for that :P
789: [04:26:00] <Colin[pi]> but Canberra definitely would be
790: [04:26:02] <Kingy> the school year is finished over here so we're heading back for the summer
791: [04:26:28] <Kingy> stay with the parentals for a few weeks, go back to NZ, then back to aus before coming back here in August
792: [04:26:34] <Colin[pi]> cool
793: [04:27:16] <ss23> Kingy: sure man
794: [04:27:19] <ss23> whats up?
795: [04:27:30] <Kingy> going to make that change and push it if that's all good
796: [04:27:47] <ss23> yeah, all good from me, don't require any permission from me :P
797: [04:27:56] <ss23> If it works on dev with cli-script, it's fine for prod prob
798: [04:27:59] <Kingy> just making sure you're around incase everything turns to custard :P
799: [04:28:02] <ss23> I'll be around for another hour
800: [04:28:03] <ss23> yep yep
801: [04:28:06] <ss23> You got 60 minutes
802: [04:28:07] <ss23> :P
803: [04:28:16] <veb> Kingy: you should finally come see me
804: [04:28:20] <veb> how long we known each other?
805: [04:28:22] <veb> like.... 15 years?
806: [04:28:36] <Kingy> also I need to update composer to reference all your new ss platform jazz
807: [04:28:58] <Kingy> had a heart attack yesterday when all my git pushes started failing lol
808: [04:29:07] <ss23> Kingy: urgh
809: [04:29:10] <ss23> don't even start with that change
810: [04:29:10] <veb> that's cos you just copy your git commands from me
811: [04:29:12] <ss23> wasn ot my idea
812: [04:29:15] <veb> you never learn!
813: [04:33:25] <Kingy> ss23: $exec = "php " . dirname(dirname(dirname(__FILE__))) . "/framework/cli-script.php";
814: [04:33:30] <Kingy> that look right to you
815: [04:33:42] <Kingy> seems to work locally at least :p
816: [04:34:10] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
817: [04:35:09] <veb> Kingy: wtf dude
818: [04:35:19] <Kingy> not my code man
819: [04:35:20] <Kingy> haha
820: [04:35:23] <veb> oh thankfuck
821: [04:35:36] <veb> whynot use realpath
822: [04:35:41] <veb> hmph
823: [04:35:55] <Kingy> if you wanna fix it, go fork the github project :P
824: [04:36:02] <veb> what project
825: [04:36:09] <veb> cos i might just do that >:{
826: [04:36:10] <Kingy> https://github.com/mrmorphic/silverstripe-chronos
827: [04:37:10] <veb> whats the directory supposed to look like
828: [04:37:14] <veb> the struc I mean
829: [04:37:52] <Kingy> chronos/scripts/_daemon.php is trying to access the silverstripe framework/cli-script.php file
830: [04:37:58] <Kingy> both up at the top of the tree
831: [04:38:09] * ss-helper quit (Ping timeout: 246 seconds)
832: [04:38:20] <veb> :-s
833: [04:38:25] <veb> why this line
834: [04:38:44] <Kingy> so really php ../../../framework/cli-script.php would work :P
835: [04:38:45] <ss23> Kingy: Sure, looks good
836: [04:38:57] <Kingy> :)
837: [04:39:27] * irogue_ has joined #silverstripe
838: [04:39:59] <veb> Kingy: where's the file
839: [04:40:12] <Kingy> scripts
840: [04:40:17] <Kingy> https://github.com/mrmorphic/silverstripe-chronos/tree/master/scripts
841: [04:40:23] <Kingy> _daemon.php
842: [04:40:25] <Kingy> line 190
843: [04:40:32] * ss-helper has joined #silverstripe
844: [04:41:34] <veb> to clean that code one would... need to install this
845: [04:41:45] <veb> also I like that last commit
846: [04:41:49] <veb> that guy is awesome
847: [04:42:29] <veb> (hint: it's you)
848: [04:42:51] <veb> tbh Kingy you don't even need those directory seperators, that's something PHP should handle
849: [04:43:11] <veb> yousould be able to simply go include(cli-script) or whatever it is
850: [04:43:18] <veb> include(cli-script.php)
851: [04:43:24] <veb> ^_^
852: [04:43:54] <veb> unless... oh, client executable
853: [04:43:57] * veb le le le sigh
854: [04:45:47] <llliit> someone just had to try a goatse aye https://www.govt.nz/browse/engaging-with-government/the-nz-flag-your-chance-to-decide/gallery/design/2238
855: [04:45:59] <veb> <3 goatse
856: [04:46:22] <veb> Kingy: I wonder if is_executable should be somewhere to check stuff
857: [04:46:25] <veb> makesense.png
858: [04:46:42] <Kingy> yeah for sure
859: [04:47:05] <ss23> rofl llliit
860: [04:47:44] * Stomach has joined #silverstripe
861: [04:49:05] <veb> Kingy: how do you run said script
862: [04:49:10] <veb> you use the shell script?
863: [04:50:31] <spronk> lol llliit
864: [04:50:42] <Kingy> yeah veb the shell scripts runs
865: [04:50:47] <Kingy> and monitors a folder
866: [04:51:00] <veb> it's probably a better idea to pass in the location to the cli-script from that imo
867: [04:51:09] <veb> unless you don't care
868: [04:51:12] <veb> which you don;t
869: [04:51:13] <veb> erkjrekwjnak
870: [04:51:25] <Kingy> as long as it works i do not
871: [04:51:25] <Kingy> lol
872: [04:51:33] <Kingy> rewrite it and i'll use it
873: [04:51:35] <Kingy> :)
874: [04:51:51] <veb> I can't test it bitch
875: [04:52:11] <veb> I want you to try the include('./cli-script.php') though
876: [04:52:31] <veb> lemme know how it goes
877: [04:53:31] <Kingy> ss23: is chronos even running on the test site? I was under the impression it wasn't
878: [04:55:49] <ss23> um
879: [04:55:49] <ss23> idk
880: [04:55:50] <ss23> :O
881: [04:55:56] <ss23> If it is, probably not well
882: [04:56:02] <ss23> Have you deployed, wnat me to run it to test?
883: [04:56:22] <Kingy> deploying to test now
884: [04:56:31] <ss23> all good in 15 mins? Just doing a thing
885: [04:56:36] <ss23> Will run it when I get back :)
886: [04:56:37] <Kingy> yep that's fine
887: [04:56:40] <Kingy> im here all day
888: [04:59:55] * Phlunk33 quit (Remote host closed the connection)
889: [05:00:42] <Kingy> ok ss23: connect to the new platform failed
890: [05:00:48] <Kingy> will go back to gitlab one lol
891: [05:06:56] <Ryan-Toast> Stomach: I’m completely font-icon free.
892: [05:08:15] <Stomach> HOORAH :D
893: [05:08:30] <Ryan-Toast> feelsgood.svg
894: [05:09:22] * zlinux_ quit (Ping timeout: 252 seconds)
895: [05:09:24] * zlinux has joined #silverstripe
896: [05:10:11] * veb quit (Quit: veb-irc: &)
897: [05:12:22] <Stomach> lol
898: [05:12:34] <ss23> lol Kingy
899: [05:13:01] <ss23> UPDATE: Stick with gitlab
900: [05:13:01] <ss23> heh
901: [05:13:05] <Kingy> :)
902: [05:13:13] <ss23> You have such descriptive messages
903: [05:13:16] <ss23> Mine are like "bullshit change"
904: [05:13:24] <ss23> "fucking stupid domain changes that are useless"
905: [05:13:32] <ss23> I made one the other day -- "Fixing the mistakes of developers past
906: [05:13:33] <ss23> "
907: [05:13:38] <Kingy> lololol
908: [05:14:04] <ss23> Goping in now
909: [05:16:54] <ss23> Kingy: Runnign now, wanna make a thing to test?
910: [05:16:55] * zlinux quit (Ping timeout: 276 seconds)
911: [05:17:02] <Kingy> yep can do
912: [05:17:23] * DanaeNZ quit (Quit: DanaeNZ)
913: [05:17:53] <ss23> I have no clue wtf this output is
914: [05:17:57] <ss23> (12:00:00,20:30:00) at 17:17:52
915: [05:18:04] <ss23> like "HEY BRO JUST FYI HERE'S SOME TIMESTAMPS"
916: [05:18:08] <Kingy> haha
917: [05:18:31] <Kingy> i think 20:30 is when something is next scheduled to run
918: [05:18:36] <Kingy> and 17:17 is obviously now
919: [05:18:45] <Kingy> so it will output that every 2 seconds until it triggers lol
920: [05:19:17] <Kingy> you could go and clear out the temp directory to get rid of those for now
921: [05:20:06] <Kingy> ok ss23 something is set for 17:21`
922: [05:20:12] <ss23> Naw, I rm -rf'd the temp dir before I started :P
923: [05:20:22] <ss23> Figured it might spasm a bit with like a years of tasks in there tyhat haven't run
924: [05:20:27] <Kingy> haha yeah
925: [05:20:38] <ss23> (12:00:00,17:21:00) at 17:20:34
926: [05:20:40] <ss23> seems like you'er right
927: [05:20:48] <Kingy> ;)
928: [05:22:10] <Kingy> doesn't look like it worked lol
929: [05:22:22] <Kingy> may not be set up right, will try another one
930: [05:23:07] * Hailwood quit (Quit: Leaving)
931: [05:23:41] <Kingy> mebbe not
932: [05:24:22] * Stomach quit (Quit: zzz)
933: [05:24:43] <ss23> (17:21:00,17:21:00) at 17:24:38
934: [05:24:47] <ss23> wtf does this even mean
935: [05:25:07] <ss23> sec
936: [05:25:15] * Stomach has joined #silverstripe
937: [05:25:25] <Kingy> don't know why there are 2 17:21
938: [05:26:10] <Kingy> (17:21:00,17:21:00<---- something is scheduled to run at this time) at 17:24:38 <---- current time
939: [05:26:22] <ss23> Seems to run fine
940: [05:26:36] <ss23> like, I ran it and checked logs, something ran at that time and it seemed to work
941: [05:26:42] <ss23> oh
942: [05:26:43] <ss23> wait
943: [05:26:43] <ss23> hmm
944: [05:26:46] <ss23> wait no
945: [05:26:47] <ss23> hmm
946: [05:26:48] <ss23> argh
947: [05:26:51] <Kingy> ?
948: [05:26:57] <ss23> no this is fine
949: [05:26:58] <ss23> okay so
950: [05:27:03] <ss23> I think it's running just as it did using sake
951: [05:27:11] <ss23> That is, it's doing the right thing, but it's not using sake, which is correct
952: [05:27:21] <ss23> If it's not actually doing the action, I am not sure why that is
953: [05:27:23] <ss23> Want to test another?
954: [05:27:37] <Kingy> k ill try one more, but it might just be that everything is not configured right on test
955: [05:27:42] <ss23> yeah
956: [05:27:44] <ss23> I'm thinking it'st that
957: [05:27:58] <Kingy> ill push it to live and test it there, doesn't phase me
958: [05:28:09] <ss23> :D
959: [05:28:10] <ss23> sweet
960: [05:28:12] <ss23> Going to do it now?
961: [05:28:14] <ss23> I gotta go out just now
962: [05:28:15] <ss23> I mean
963: [05:28:16] <Kingy> yeah why not
964: [05:28:18] <ss23> Going out for a long time
965: [05:28:21] <Kingy> k
966: [05:28:21] <ss23> But Andrew and Garion are around
967: [05:28:31] <Kingy> alright
968: [05:28:47] <ss23> They'er cool if you release now
969: [05:28:57] <ss23> Just give an email or something to andrew@ or garion@ if you have issues etc
970: [05:29:05] <Kingy> sweet man
971: [05:29:06] <Kingy> thanks for that
972: [05:29:25] * Cheddam has joined #silverstripe
973: [05:30:44] <irogue_> speak of the devil
974: [05:30:52] <Cheddam> haaay~
975: [05:31:22] <Kingy> haiii
976: [05:36:39] <Kingy> yay it work
977: [05:36:39] <Kingy> s
978: [05:40:41] * irogue_ quit (Quit: Textual IRC Client: www.textualapp.com)
979: [05:48:19] * Ryan-Toast quit (Quit: Ryan-Toast)
980: [05:51:47] * Stomach quit (Quit: zzz)
981: [06:04:38] * Cheddam quit (Ping timeout: 272 seconds)
982: [06:05:28] * Stomach has joined #silverstripe
983: [06:18:16] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
984: [06:35:29] * Vedran__ has joined #silverstripe
985: [06:36:17] * spronk quit (Quit: I may need a longer sleep timer...)
986: [06:36:26] <Vedran__> Hi there, I have a question of how I should go about doing something. Any got 2min for a bit of advice?
987: [06:38:12] <Stomach> sure
988: [06:38:13] <Stomach> whats up
989: [06:38:58] * camfindlay has joined #silverstripe
990: [06:40:01] <Vedran__> A site I am working on will have 'projects'. There will be two sections on the site that will show different projects. How would I go about setting up the classes/model? I am thinking of having checkboxes and if project has 'Section 1' checked it will only show these appropriate projects. I am just not sure how this would work URL wise since Section 1 & 2 will need unique urls?
991: [06:41:37] * camfindlay quit (Client Quit)
992: [06:43:00] * Vedran___ has joined #silverstripe
993: [06:43:29] <Vedran___> ok... so I got D/C...
994: [06:43:38] <Vedran___> Stomach: did the message go through?
995: [06:44:24] * Stomach quit (Quit: zzz)
996: [06:44:52] * Vedran__ quit (Ping timeout: 244 seconds)
997: [06:45:05] * adrexia has joined #silverstripe
998: [06:45:44] * Stomach has joined #silverstripe
999: [06:45:55] <Stomach> Vedran - either have them under projects/project and navigate from project/section to their
1000: [06:46:03] <Stomach> or use virtual pages to have them in both places
1001: [06:46:10] <Stomach> just have one as the "real" one
1002: [06:46:19] <Stomach> we usually go with option A
1003: [06:46:40] <Stomach> but if you need breadcrumbs option two is doable
1004: [06:49:58] <Vedran___> virtual pages?
1005: [06:50:28] <Vedran___> Got a link with more info?
1006: [06:54:17] <Stomach> http://api.silverstripe.org/3.1/class-VirtualPage.html
1007: [06:55:47] <Vedran___> how would the 'holder' page work
1008: [06:55:55] <Vedran___> that shows projects (if its virtual page)
1009: [06:56:33] <Vedran___> could I have an Include and call it on both pages?
1010: [07:02:18] <Stomach> yeah thats what we do
1011: [07:02:22] <Stomach> loop $Children
1012: [07:03:14] * antmas has joined #silverstripe
1013: [07:03:26] <antmas> o/ all
1014: [07:11:39] <Stomach> hey antmas
1015: [07:11:47] <antmas> Stomach, yo
1016: [07:11:51] <Stomach> how goes it
1017: [07:11:53] <antmas> worst afternoon evarrrrr!
1018: [07:11:54] <antmas> :P
1019: [07:12:40] <llliit> god found 3 sql injection attacks just browsing this code we got done
1020: [07:12:56] <llliit> why in 2015 do people use mysqli and concat through elaborate nonsense parameters in queries
1021: [07:13:04] <llliit> rather than just use a paramterized query db driver
1022: [07:13:20] <llliit> i thought it was outrageous when i got into web dev in 2009
1023: [07:13:20] <antmas> had to break off technical interview to deal with 'apparently' very ill child :/
1024: [07:13:22] <llliit> let alone now
1025: [07:13:30] <Vedran___> is there way to get all available methods on a object?
1026: [07:14:28] <llliit> Vedran___: the manual works well(ish) i also use this to introspect objects as it shows docs too http://raveren.github.io/kint/
1027: [07:14:35] <llliit> you just go dd($blah) in your code
1028: [07:15:09] <Stomach> antmas - not ill?
1029: [07:15:10] <Stomach> thats good
1030: [07:15:11] <Vedran___> kint looks wicked
1031: [07:15:25] <llliit> i've used it for like 4 years and i like it
1032: [07:15:49] <antmas> Stomach, ill, but preschool overreacted and told me he might need to go to hospital, turns out he's fine but I had to leave my interview early :/
1033: [07:15:57] <Stomach> gah
1034: [07:15:58] <antmas> putting a complaint in tomorrow
1035: [07:15:59] <Vedran___> throw it in root, and just include on page you need? Or is there a more 'efficient' way of doing it?
1036: [07:16:11] <Stomach> I'm sure that they understand though
1037: [07:16:15] <llliit> in my _config i have a dev vs prod test
1038: [07:16:20] <llliit> and include it in dev mode
1039: [07:16:37] <antmas> Stomach, hopefully, it was ss :P
1040: [07:16:53] <Stomach> yeah I know :P
1041: [07:16:57] <Vedran___> llliit: can you show me example?
1042: [07:17:01] <antmas> :D
1043: [07:17:12] <Stomach> they are pretty good people
1044: [07:17:12] * veb has joined #silverstripe
1045: [07:17:22] <antmas> question, in apach2 config, is MaxSpareServers the same as MaxSpareThreads?
1046: [07:17:26] <Vedran___> llliit: im new to ss, and im not 100% how to do it :/
1047: [07:17:42] * Eliseth has joined #silverstripe
1048: [07:18:41] * arnhoe has joined #silverstripe
1049: [07:20:06] <Stomach> nope
1050: [07:20:13] <llliit> Vedran___: ahh yeah, throw it in your module dir like mysite/thridparty/kint then require 'mysite/thirdparty/kint...'; in your mysite/_config.php
1051: [07:20:18] <antmas> Stomach,is that a nope for my qn?
1052: [07:20:24] <Stomach> yeah
1053: [07:20:40] <Stomach> https://books.google.co.nz/books?id=9yPZL7EGUPEC&pg=PA26&lpg=PA26&dq=maxspareservers+maxsparethreads&source=bl&ots=mRrUHU3u7I&sig=kVL-1tPK-5N-iObZvewZXIrKVMo&hl=en&sa=X&ei=tquLVY7LLoGnmAXgoqrIAw&ved=0CCkQ6AEwAg#v=onepage&q=maxspareservers%20maxsparethreads&f=false
1054: [07:20:41] <antmas> Stomach, chur, will leave that line alone then :P
1055: [07:24:37] * Sticks quit (Quit: Leaving)
1056: [07:24:41] <Vedran___> llliit: thanks for that. If I am in a loop $Children can i dd($Children) ?
1057: [07:25:05] <llliit> sinlge d, 2 d's stops execution
1058: [07:25:16] <Vedran___> is there a '$this' or equivalent?
1059: [07:25:53] <Vedran___> hrm... d and dd both render the default template and give me server error
1060: [07:25:56] <Vedran___> 'server error'
1061: [07:26:26] <Vedran___> failed to open. *gah*
1062: [07:26:34] * frostfire64 has joined #silverstripe
1063: [07:26:40] <Kingy> hey antmas
1064: [07:26:46] <frostfire64> yo o/
1065: [07:26:47] <Kingy> how'd it go up until you left?
1066: [07:27:09] <frostfire64> does anyone remember how did you pull out a field with it's label from a fieldlist?
1067: [07:27:44] <Vedran___> hrm... require_once('/mysite/thirdparty/kint/Kint.class.php'); gives me generic php require warning/error. If i have ../mysi... the page renders but then I cant call d in my .ss / template
1068: [07:28:32] * veb quit (Quit: veb-irc: &)
1069: [07:33:25] * Hailwood has joined #silverstripe
1070: [07:35:13] * micmania1 quit (Quit: micmania1)
1071: [07:35:30] <Vedran___> it is working, it is just that it doesnt like $Children inside a $Children loop.
1072: [07:35:31] <antmas> Kingy, not amazing :P
1073: [07:35:56] <antmas> did the typical 'so what is, and how would you use a singleton?'
1074: [07:36:04] * antmas *sound of crickets*
1075: [07:36:07] <antmas> :<
1076: [07:36:12] <Kingy> lol
1077: [07:36:43] <antmas> have a chance to reshedule, so might see how that goes
1078: [07:36:44] <Kingy> i drew a blank when asked what a recursive function is in my last interview
1079: [07:36:49] <Kingy> god dammit felt like a tool haha
1080: [07:36:56] <antmas> tell me about it
1081: [07:37:35] <antmas> also called the M in MVC the 'data object you use to take data from'
1082: [07:37:38] <antmas> or something along those lines
1083: [07:37:45] <antmas> #failwhale
1084: [07:37:52] <Kingy> lul
1085: [07:38:09] <Kingy> not exactly wrong though is it
1086: [07:38:13] <Kingy> :P
1087: [07:38:59] * Shrike_Finland has joined #silverstripe
1088: [07:39:31] * darjus01 has joined #silverstripe
1089: [07:43:37] * Stomach quit (Quit: zzz)
1090: [07:45:57] * Vedran___ quit ()
1091: [07:47:49] * Stomach has joined #silverstripe
1092: [07:49:01] <darjus01> hi all is any requirements how csv file should be formated for csvparser, because its not working :( my function http://pastie.org/10257980
1093: [07:49:07] <darjus01> ?
1094: [07:51:04] * swaiba has joined #silverstripe
1095: [07:52:03] * Stomach quit (Ping timeout: 246 seconds)
1096: [07:53:45] <swaiba> darjus01 - what does your CSV file look like?
1097: [07:54:06] <darjus01> two columns
1098: [07:54:12] <swaiba> no
1099: [07:54:12] <darjus01> seperator ,
1100: [07:54:16] <swaiba> I mean like this....
1101: [07:54:17] <swaiba> a,b,c
1102: [07:54:18] <swaiba> or
1103: [07:54:24] <swaiba> "a","b","c"
1104: [07:54:44] <swaiba> quoted values I should have said
1105: [07:54:48] <darjus01> title1, title2,
1106: [07:54:55] <darjus01> var1, var2,
1107: [07:55:49] <darjus01> saving from escel 2007 in save with comma seperation
1108: [07:57:02] * kinglozzer has joined #silverstripe
1109: [07:59:34] <swaiba> I'd remove spaces (especially from headings) and try quotes
1110: [08:03:10] <darjus01> the is no spaces
1111: [08:03:52] <darjus01> ProductCode,ElementCount,
1112: [08:03:57] <swaiba> ok, there was " title1, title2," in that of course
1113: [08:03:58] <darjus01> 103,6,
1114: [08:04:04] <darjus01> 106,3,
1115: [08:07:43] * veb has joined #silverstripe
1116: [08:15:27] * benjhocking has joined #silverstripe
1117: [08:19:18] * Mike123 has joined #silverstripe
1118: [08:19:32] <veb> https://twitter.com/alicemazzy/status/613872573395263488
1119: [08:19:33] <Mike123> Hey :)
1120: [08:19:45] * veb slaps Kingy
1121: [08:21:24] * veb awaits reaction
1122: [08:24:45] <Mike123> what is the best sitemap moduli for SS ?
1123: [08:24:49] <Mike123> module*
1124: [08:25:56] <veb> https://github.com/marijnkampf/silverstripe-module-sitemap
1125: [08:35:04] * Shrike_Finland quit (Quit: Leaving.)
1126: [08:35:57] <Mike123> thx veb
1127: [08:41:43] <kinglozzer> Mike123: If you mean an XML sitemap: https://github.com/silverstripe-labs/silverstripe-googlesitemaps
1128: [08:45:30] <Mike123> yes i mean XML sitemap
1129: [08:46:11] <Mike123> kinglozzer , so this is the best out there /
1130: [08:46:13] <Mike123> ?
1131: [08:46:19] * Stomach has joined #silverstripe
1132: [08:46:20] <kinglozzer> Mike123: Yeah
1133: [08:46:48] <simon_w> veb, I've never worked for SS
1134: [08:46:55] <veb> K
1135: [08:46:57] <veb> I apologise, sir
1136: [08:47:05] <veb> pls forgive
1137: [08:47:46] * openbees has joined #silverstripe
1138: [08:47:52] * Stomach_ has joined #silverstripe
1139: [08:51:10] * Stomach quit (Ping timeout: 246 seconds)
1140: [08:52:43] * keroberos quit (Ping timeout: 276 seconds)
1141: [08:55:36] * ss-helper quit (Remote host closed the connection)
1142: [08:55:52] * ss-helper has joined #silverstripe
1143: [08:58:20] * keroberos has joined #silverstripe
1144: [08:59:37] * lerni_ has joined #silverstripe
1145: [09:03:14] <kinglozzer> collateDataFields() I noticed that a field called 'MyField[]' appears twice
1146: [09:03:19] <kinglozzer> SS y u do dis :'(
1147: [09:19:42] * bemusedrat has joined #silverstripe
1148: [09:19:45] <veb> simon_w: y no forgive
1149: [09:19:49] <darjus01> swaiba, I have tried code php open file and my csv absolute link php says it cant open file why is that?
1150: [09:19:58] <darjus01> url is correct
1151: [09:20:00] <darjus01> 100%
1152: [09:20:04] <veb> darjus01: wut?
1153: [09:20:09] <veb> am I not reading properly
1154: [09:20:09] <swaiba> darjus01 IDK
1155: [09:20:13] <veb> or did you fail words
1156: [09:20:37] <veb> maybe I should just sleep
1157: [09:26:16] * Guits has joined #silverstripe
1158: [09:26:39] * Guits quit (Client Quit)
1159: [09:26:41] * MrGuits quit (Quit: Leaving)
1160: [09:26:48] * Guits has joined #silverstripe
1161: [09:27:07] * triesX has joined #silverstripe
1162: [09:27:36] <triesX> Hello i am new here a newbie need some help anyone ?
1163: [09:27:48] <Guits> Anyone know how to handle events on uploadfield on frontend (on start upload - on complete etc)
1164: [09:28:47] <triesX> i want to change the bg images of a theme used on my site, i have already copied the images to the folder in the cpanel host in /themes/img folder
1165: [09:29:43] <triesX> if i rename the images to the names of the old images and then remove the old ones it doesnt seem to work ... what i am missing ?
1166: [09:30:12] <triesX> BackEndCoder: would you have an idea of my q above
1167: [09:30:54] <zauberfi1ch> /temes/img generally sounds wrong
1168: [09:31:01] <openbees> triesX .. make sure you are using correct path and /themes/img is wrong
1169: [09:31:04] <zauberfi1ch> +h
1170: [09:31:27] <zauberfi1ch> shouldnn't it be /themes/themename/img or /themes/themename/images?
1171: [09:32:18] <triesX> zauberfi1ch thanks for the heads up
1172: [09:32:20] <mobiusnz> any ideas why silverstripe is looking for I18nRailsYamlAdapter.php in the wrong place? It's looking under /usr/share/pear/Zend, instead of in framework/i18n/
1173: [09:34:30] <openbees> if following this doc here http://docs.silverstripe.org/en/4.0/developer_guides/integration/how_tos/custom_csvbulkloader/ can I also map many_many relation in my custom importer ?? anybody tried it before ?
1174: [09:34:45] <zauberfi1ch> triesX: you say there have been images in that theme already?
1175: [09:35:01] <zauberfi1ch> would make sense to put your images in the same folder as the folder the theme images are in
1176: [09:36:15] <triesX> zauberfi1ch: i am checking in the themes folder the folders available none suggests a theme name: they are css, img, js, templates
1177: [09:36:52] <zauberfi1ch> mobiusnz: Isn't that I18nRailsYamlAdapter a third party code? could it be that the server has it installed as a pear module and the pear path is preferd over the webspace path?
1178: [09:37:03] <triesX> yes they are images already, i have put my new images in there as well and renamed them to the current inamhge then renamed the old images
1179: [09:37:15] <zauberfi1ch> mobiusnz: have you searched the web? I feel like I have heard of that error mesage before
1180: [09:37:32] <zauberfi1ch> triesX: so you have effectively replaced the images?
1181: [09:37:43] * zauberfi1ch is now known as Zauberfisch
1182: [09:38:01] <mobiusnz> Zauberfisch: yeah, searched the web. most of the "fixes" involve commenting out core code
1183: [09:38:07] <mobiusnz> which I want to avoid
1184: [09:38:45] <triesX> yes i have , but still the bg images dont change, i am wondering if there is another step i am missing , NB: i am working straight on the cpanel
1185: [09:39:26] <Zauberfisch> mobiusnz: good choice
1186: [09:39:40] <Zauberfisch> triesX: perhaps a caching issue?
1187: [09:39:50] <Zauberfisch> (probably browser cache)
1188: [09:40:16] <frostfire64> http://www.silverstripe.org/404 i love this 404 ;p
1189: [09:40:17] <Zauberfisch> have you tried reloading it with force (CTRL+R or ALT+F5 or something)
1190: [09:40:48] <mobiusnz> This is the stack trace I see
1191: [09:40:49] <mobiusnz> http://pastie.org/10258126
1192: [09:41:44] <mobiusnz> File /usr/share/pear/Zend/Translate/Adapter/I18nRailsYamlAdapter.php does not exist. It is at /home/example/example.org.nz/framework/i18n/I18nRailsYamlAdapter.php
1193: [09:41:47] <triesX> Zauberfisch: refreshed clean it done it all no change
1194: [09:42:45] * openbees quit (Ping timeout: 256 seconds)
1195: [09:45:03] * UncleCheese has joined #silverstripe
1196: [09:45:07] <Zauberfisch> try opening it directly by URL
1197: [09:45:18] <Zauberfisch> like mydomain.com/themes/themename/img/filename.png
1198: [09:45:24] <Zauberfisch> and then try adding a cache buster like:
1199: [09:45:32] <Zauberfisch> mydomain.com/themes/themename/img/filename.png?version=2
1200: [09:45:40] <Zauberfisch> just to force the browser to reload
1201: [09:48:11] <darjus01> does csv parser can open files in assests directory? http://snag.gy/lfiH2.jpg I am making csv inport and seems parser could not open file. this print_r i getting, assets are 777.
1202: [09:48:14] <Zauberfisch> mobiusnz: is turning of openbasedir an option?
1203: [09:48:42] <frostfire64> darn i can't seem to send out an email from my form
1204: [09:49:35] * Tanger quit (Quit: exit())
1205: [09:50:11] <triesX> Zauberfisch: let me try it
1206: [09:54:03] <triesX> Zauberfisch: for some reason bith old name and new na e open the old image
1207: [09:54:15] <mobiusnz> Zauberfisch: hmm, ah it was turned off in php.ini, but on in the per-user settings
1208: [09:54:25] <mobiusnz> any security implications of this?
1209: [09:54:28] <triesX> should i delete it from the img folder completely for the chnage to take effect ?
1210: [09:55:04] <mobiusnz> why is it even hitting the openbasedir restriction? both of the possible paths are listed
1211: [10:02:16] <triesX> Zauberfisch: with the cache buster i am getting the new image is loading , so what shoul i do to make it appear on the site
1212: [10:07:06] <triesX> Zauberfisch: so the image iwell placed but stil wont show
1213: [10:08:28] * openbees has joined #silverstripe
1214: [10:15:52] * Stomach_ quit (Quit: zzz)
1215: [10:24:22] <Guits> anyone - on "events on uploadfield" - i surely cannot be the only one ?
1216: [10:32:59] <Zauberfisch> mobiusnz: I don't think so. in fact, I think openbase_dir has been removed in php 5.6 or something
1217: [10:35:39] * zippy has joined #silverstripe
1218: [10:43:10] <Zauberfisch> UncleCheese: you where looking into uploadfield events once, can you perhaps answer Guits question?
1219: [10:43:44] <UncleCheese> Guits use Dropzone
1220: [10:44:11] <Guits> ok, how do i use that i SS?
1221: [10:44:14] <UncleCheese> https://github.com/unclecheese/silverstripe-dropzone
1222: [10:44:21] <UncleCheese> uploadfield is crap
1223: [10:44:26] <Guits> thanx
1224: [10:44:27] <Guits> :)
1225: [10:45:08] <simon_w> Zauberfisch, open_basedir isn't going anywhere. safe_mode, however, was removed in 5.4
1226: [10:46:22] * darjus01 quit (Read error: Connection reset by peer)
1227: [10:46:54] <zippy> perfect timing on that UC! thanks
1228: [10:47:11] <zippy> how does that work with an unsaved object?
1229: [10:47:21] <zippy> ^how does^does^ ?
1230: [10:53:55] <UncleCheese> how does what?
1231: [10:56:13] <zippy> UncleCheese: Lets say I have a Car modal, and I want to create a new car and have images for that car
1232: [10:56:24] <zippy> how would it assign the images when the car isn't existing yet (create car form)
1233: [10:56:25] <UncleCheese> ok
1234: [10:57:20] <UncleCheese> dropzone saves just like any other form field
1235: [10:57:27] <UncleCheese> it knows nothing about your dataobject on upload
1236: [10:58:09] <UncleCheese> when you save, that creates the realtionship
1237: [10:58:10] <zippy> ah ok, so just create a file object on drop
1238: [10:58:28] * DimiStripe has joined #silverstripe
1239: [10:58:56] <UncleCheese> yup
1240: [10:59:09] <UncleCheese> same with detaching.. it doesn't do anything until you save
1241: [11:00:26] <zippy> if someone drops some files but then doesn't save the form you'll still have the files on the server
1242: [11:00:34] <zippy> so probably need a clean up method if they never used
1243: [11:01:44] <UncleCheese> yeah, not much you can do about abandonned forms, unfortunately
1244: [11:01:49] <UncleCheese> unless you do upload on save
1245: [11:02:02] <zippy> and then you have hassles with validation
1246: [11:02:20] <zippy> so you handle if, user comes along, drops files, types some stuff and submits but validation error - you maintain those file ids?
1247: [11:02:26] <zippy> when the form re-displays
1248: [11:03:00] <UncleCheese> they do persist, yes
1249: [11:03:22] <UncleCheese> it holds state just like any other form field
1250: [11:04:20] <zippy> decent :)
1251: [11:09:37] <zippy> anyone used a markdown parser?
1252: [11:10:36] <UncleCheese> yup
1253: [11:10:49] <UncleCheese> for ss?
1254: [11:10:52] <zippy> yea
1255: [11:11:05] <zippy> was looking at https://github.com/erusev/parsedown or https://github.com/michelf/php-markdown
1256: [11:11:08] <UncleCheese> yeah, there's a really good module
1257: [11:11:10] <UncleCheese> nah
1258: [11:11:42] <UncleCheese> this is boss: https://github.com/UndefinedOffset/silverstripe-markdown
1259: [11:12:13] <zippy> hmmm why does it need curl support...
1260: [11:12:18] <UncleCheese> it doesn't
1261: [11:12:27] <UncleCheese> just cast your field as 'Markdown' and bob's your uncle
1262: [11:13:29] <zippy> and... you can enter github details...
1263: [11:13:47] <zippy> it feels like the main module uses the github api or something..
1264: [11:14:19] <UncleCheese> yeah, i don't know what that's about
1265: [11:14:29] <UncleCheese> you don't need to do that
1266: [11:14:52] <zippy> $curl=curl_init('https://api.github.com/markdown');
1267: [11:15:09] <zippy> so the default module does use the github api
1268: [11:20:16] * Mike123 quit (Quit: Page closed)
1269: [11:20:36] * Mike123 has joined #silverstripe
1270: [11:22:09] * Mike123 quit (Client Quit)
1271: [11:29:27] * bemusedrat quit (Quit: Leaving)
1272: [11:31:00] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1273: [11:33:29] <kinglozzer> zippy: I've used https://github.com/erusev/parsedown before, I just created a 'Parsedown' DB field type that extended StringField IIRc
1274: [11:33:44] <zippy> That is where I am leaning
1275: [11:33:59] <zippy> TBH, I only need a few mark down features, not images or links. be nice to disable those things
1276: [11:34:57] <kinglozzer> Oh, I extended Text. forTemplate() { $parser = new Parsedown(); return $parser->text(nl2br($this->XML())); }
1277: [11:35:19] <kinglozzer> You could possibly do it in an extension that you apply to StringField, then use {$MyField.Parsedown} in templates
1278: [11:35:48] <kinglozzer> Though that module does include an editor ^^
1279: [11:36:02] <zippy> it does... that is quite cool
1280: [11:36:30] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1281: [11:41:51] <openbees> creating custom CSVBulkUploader was easier than expected :)
1282: [11:42:15] <openbees> SilverStripe you are awesome :D
1283: [11:46:12] * benjhocking1 has joined #silverstripe
1284: [11:47:57] * openbees quit (Ping timeout: 252 seconds)
1285: [11:49:03] * benjhocking quit (Ping timeout: 252 seconds)
1286: [11:49:32] * benjhocking has joined #silverstripe
1287: [11:51:27] * benjhocking1 quit (Ping timeout: 265 seconds)
1288: [11:51:41] * elgabbu has joined #silverstripe
1289: [11:57:49] * openbees has joined #silverstripe
1290: [12:00:03] * Mike123 has joined #silverstripe
1291: [12:00:38] * Kingy is now known as Kingy[a]
1292: [12:02:20] <Mike123> http://paste.ofcode.org/3aRz5QynZVrkQnpVYdAzTir do i have to repeat RewriteRule two time after each of these RewriteCond's ?
1293: [12:02:40] <ss23> believe so
1294: [12:02:43] <ss23> Or uh
1295: [12:02:47] <ss23> You can do like
1296: [12:02:51] <ss23> RewriteCond foo
1297: [12:02:56] <ss23> RewriteCond foo [OR] I think?
1298: [12:03:02] <ss23> Maybe the [OR] is around the wrong way
1299: [12:03:07] <ss23> You can stand conds if you put the right flags in
1300: [12:03:18] <ss23> It's more an apache question than silverstirpe though, so #httpd can probably help more
1301: [12:04:13] * benjhocking1 has joined #silverstripe
1302: [12:04:45] <Mike123> thx
1303: [12:04:50] * phillprice has joined #silverstripe
1304: [12:06:15] <phillprice> Hi - how would i squash two commits that are already in gihub (I'm thining how to cleanly correct this PR - not sure closing and reopening a PR is best way?) https://github.com/silverstripe/silverstripe-framework/pull/4345#issuecomment-115215400
1305: [12:06:38] <ss23> I only see one commit there
1306: [12:06:55] * benjhocking quit (Ping timeout: 265 seconds)
1307: [12:06:56] <ss23> The general idea is that you can, in your own repo/branch, do a git rebase to squish them, then push -f to rewrite history
1308: [12:07:19] <ss23> phillprice: http://docs.silverstripe.org/en/3.3/contributing/code/
1309: [12:07:23] <ss23> Have a read of that, under "squash commit"
1310: [12:07:32] <ss23> http://docs.silverstripe.org/en/3.3/contributing/code/#squash-all-commits-related-to-a-single-issue-into-a-single-commit
1311: [12:07:36] <ss23> that part specifically
1312: [12:10:31] * benjhocking has joined #silverstripe
1313: [12:13:19] * benjhocking1 quit (Ping timeout: 264 seconds)
1314: [12:13:23] * Hailwood quit (Remote host closed the connection)
1315: [12:15:50] * UndefinedOffset has joined #silverstripe
1316: [12:18:14] * benjhocking1 has joined #silverstripe
1317: [12:19:18] * benjhocking quit (Ping timeout: 252 seconds)
1318: [12:20:33] * benjhocking has joined #silverstripe
1319: [12:22:19] <elgabbu> what is the best way to do an nl2br for a field in atemplate
1320: [12:23:00] <elgabbu> say I have <div>$description</div> in my template
1321: [12:23:13] * benjhocking1 quit (Ping timeout: 264 seconds)
1322: [12:24:18] * benjhocking1 has joined #silverstripe
1323: [12:24:46] <Mike123> btw , where is wmk ? i haven't seen hom this week at all
1324: [12:26:13] * benjhocking quit (Ping timeout: 264 seconds)
1325: [12:26:23] <ss23> elgabbu: believe you can do $description.nl2br
1326: [12:26:28] <triesX> Mike123: do u have a sec buddy
1327: [12:26:29] <ss23> Might need to double check though
1328: [12:26:33] <ss23> Mike123: no clue sorry :(
1329: [12:27:23] <triesX> ss23: You too if you go an idea
1330: [12:27:30] <elgabbu> ss23 didn't work ... the description just vanished
1331: [12:27:52] <triesX> I am pulling ut my hair cnat manage to change theme bg image
1332: [12:28:10] <triesX> cant*
1333: [12:28:11] <elgabbu> i see that StringField forTemplate function does an nl2br
1334: [12:31:54] * triesX_ has joined #silverstripe
1335: [12:32:13] <triesX_> I am pulling 0ut my hair cant manage to change theme bg image
1336: [12:32:20] <triesX_> Help :(
1337: [12:33:36] * benjhocking has joined #silverstripe
1338: [12:34:40] * triesX quit (Ping timeout: 246 seconds)
1339: [12:35:32] * benjhocking1 quit (Ping timeout: 264 seconds)
1340: [12:38:52] * triesX_ quit (Ping timeout: 246 seconds)
1341: [12:39:37] * Guits quit (Quit: Leaving)
1342: [12:39:38] * MrGuits has joined #silverstripe
1343: [12:41:00] <MrGuits> UncleCheese, how do you set folder to upload into with dropzone?
1344: [12:41:15] <lerni_> Does getTemplate work with arrays? It seams I just can make it work if I return the template name as a string.
1345: [12:41:29] <lerni_> I'm talking about this here: https://github.com/burnbright/silverstripe-listeditor/blob/master/code/ListEditField.php#L84
1346: [12:41:48] <lerni_> It just chooses a custom template if I set a key to 0 like: return $templates[0];
1347: [12:43:17] <lerni_> How would you make it use the whole array?
1348: [12:49:12] <openbees> triesX_ is there any code I can see. or may be just ur test site ?
1349: [12:55:42] <ss-helper> SilverStripe Images - How to get images with original dimensions? - http://stackoverflow.com/questions/31050803/silverstripe-images-how-to-get-images-with-original-dimensions
1350: [12:56:09] * openbees quit (Ping timeout: 252 seconds)
1351: [12:58:38] <phillprice> ss23 thanks
1352: [12:59:57] * frostfire64 quit (Ping timeout: 256 seconds)
1353: [13:11:12] * Colin[pi] quit (Ping timeout: 265 seconds)
1354: [13:24:17] * benjhocking1 has joined #silverstripe
1355: [13:25:18] * veb quit (Quit: veb-irc: &)
1356: [13:25:53] * benjhocking quit (Ping timeout: 250 seconds)
1357: [13:25:56] * ss-helper quit (Read error: Connection reset by peer)
1358: [13:26:10] * ss-helper has joined #silverstripe
1359: [13:27:46] * benjhocking has joined #silverstripe
1360: [13:29:24] * benjhocking1 quit (Ping timeout: 246 seconds)
1361: [13:49:21] * benjhocking quit (Ping timeout: 246 seconds)
1362: [13:49:34] * benjhocking has joined #silverstripe
1363: [13:51:48] * frostfire64 has joined #silverstripe
1364: [13:51:54] * DimiStripe quit (Quit: DimiStripe)
1365: [13:53:45] * benjhocking1 has joined #silverstripe
1366: [13:54:42] * benjhocking quit (Ping timeout: 265 seconds)
1367: [13:55:32] * benjhocking has joined #silverstripe
1368: [13:57:23] <Eliseth> How can I use my own template file for $SearchForm as described here: http://docs.silverstripe.org/en/3.1/tutorials/site_search/
1369: [13:57:56] * benjhocking2 has joined #silverstripe
1370: [13:58:34] * benjhocking1 quit (Ping timeout: 265 seconds)
1371: [13:58:38] <Eliseth> I put a modified copy of SearchForm.ss in my theme/templates/Includes folder, but it doesn't get loaded by default it seems
1372: [14:01:00] * benjhocking quit (Ping timeout: 256 seconds)
1373: [14:04:01] * DimiStripe has joined #silverstripe
1374: [14:04:31] <swaiba> Eliseth should do, obviously reco a flush=1 on dev/build and on the page afterwards...
1375: [14:04:59] <swaiba> or delete the entire cache (still perfect for when you absolutely must clear every cache in the place)
1376: [14:05:12] <kinglozzer> Hmm, looking at how the expMonth and expYear come back here: https://stripe.com/docs/api#cards, what's the best way of parsing that into 06/18 for example
1377: [14:05:32] <kinglozzer> I could just trim off 2 characters from the year I guess
1378: [14:06:16] * benjhocking has joined #silverstripe
1379: [14:06:24] <swaiba> kinglozzer I'd advise storing as an SS_DateTime
1380: [14:06:53] <swaiba> that what we do for tokens, it's then just about how you display it after, but give much more flexibility
1381: [14:07:55] <kinglozzer> Yeah but then parsing "6 2018" into a date also feels a bit hacky :/
1382: [14:08:08] <swaiba> not really
1383: [14:08:15] <kinglozzer> I'm guessing strtotime won't know how to handle that unless I append a day or something
1384: [14:08:16] <swaiba> it's saying it expires on 1/6/2018
1385: [14:08:22] * benjhocking2 quit (Ping timeout: 256 seconds)
1386: [14:08:32] <swaiba> exactly you add the date as 1st in all cases
1387: [14:08:50] <swaiba> as I said from there you have much more flexibility and are storing the expirey date exactly as it is
1388: [14:09:06] <kinglozzer> Mm true
1389: [14:10:59] * benjhocking1 has joined #silverstripe
1390: [14:14:12] * benjhocking quit (Ping timeout: 272 seconds)
1391: [14:32:07] * frostfire64 quit (Remote host closed the connection)
1392: [14:42:18] * PenguinMan98 has joined #silverstripe
1393: [14:46:30] * Mike123 quit (Quit: Page closed)
1394: [14:51:58] * muskie9 has joined #silverstripe
1395: [14:59:13] * lerni_ quit ()
1396: [15:12:38] * travis-ci has joined #silverstripe
1397: [15:12:39] <travis-ci> silverstripe/silverstripe-framework#5192 (3.2 - 2e657ba : Daniel Hensby): The build has errored.
1398: [15:12:39] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/d85590ddb904...2e657baedef0
1399: [15:12:39] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/68311355
1400: [15:12:39] * travis-ci has left #silverstripe
1401: [15:21:32] * arnhoe quit ()
1402: [15:22:34] * cupcake has joined #silverstripe
1403: [15:23:08] * muskie9 quit (Read error: Connection reset by peer)
1404: [15:30:03] * swaiba quit (Remote host closed the connection)
1405: [15:32:04] <kinglozzer> http://devopsreactions.tumblr.com/post/121908443595/overhearing-that-svn-externals-are-better-than-git hahaha
1406: [15:32:14] <cupcake> does a widget always has to have a corresponding controller in its class?
1407: [15:46:43] * kinglozzer quit ()
1408: [15:50:43] <PenguinMan98> what kind of widget?
1409: [15:57:45] * jenniferaslan has joined #silverstripe
1410: [16:06:21] * muskie9 has joined #silverstripe
1411: [16:06:41] * arunisK has joined #silverstripe
1412: [16:08:13] <arunisK> question: can i add search/filter for summary fields, that is a relation of has_one or has_many in admin or model admin?
1413: [16:09:06] <arunisK> im listing objects via gridfield, but filter/search works only for summary fields, that are not from ratated object
1414: [16:20:11] <muskie9> arunisK you can use dot notation https://docs.silverstripe.org/en/3.1/developer_guides/model/scaffolding/#searchable-fields
1415: [16:21:23] <muskie9> in the example team many_many players and you can search Player's by name from the team grid by 'Players.Name' in $searchable_fields
1416: [16:21:29] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1417: [16:22:41] <arunisK> cool, muskie9
1418: [16:24:05] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1419: [16:24:23] * jenniferaslan has joined #silverstripe
1420: [16:41:25] * phillprice quit (Ping timeout: 246 seconds)
1421: [16:50:48] <PenguinMan98> Sign on the maintenance door by the design team's restrooms:
1422: [16:51:03] <PenguinMan98> CAUTION! This sign is written in COMIC SANS.
1423: [16:51:11] <PenguinMan98> (But seriously, please keep this door shut)
1424: [16:55:02] * DimiStripe quit (Quit: DimiStripe)
1425: [17:02:20] * babak quit (Quit: Connection closed for inactivity)
1426: [17:12:24] * zlinux has joined #silverstripe
1427: [17:14:12] * travis-ci has joined #silverstripe
1428: [17:14:13] <travis-ci> silverstripe/silverstripe-framework#5192 (3.2 - 2e657ba : Daniel Hensby): The build passed.
1429: [17:14:13] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/d85590ddb904...2e657baedef0
1430: [17:14:13] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/68311355
1431: [17:14:13] * travis-ci has left #silverstripe
1432: [17:17:13] * zlinux quit (Ping timeout: 265 seconds)
1433: [17:26:12] * ss-helper quit (Remote host closed the connection)
1434: [17:26:27] * ss-helper has joined #silverstripe
1435: [17:44:51] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
1436: [17:56:28] * DimiStripe has joined #silverstripe
1437: [18:08:20] * muskie9 has joined #silverstripe
1438: [18:26:05] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1439: [18:44:07] * darjus01 has joined #silverstripe
1440: [18:56:21] <ss-helper> Re: [silverstripe-dev] Re: Preventing delete from draft if a live version is present? - https://groups.google.com/d/msg/silverstripe-dev/xaFELH--tGw/ls-Iz_aC7Y0J
1441: [19:02:32] <darjus01> have any body used csv parser in SS?
1442: [19:02:48] <darjus01> with Files from cms
1443: [19:04:01] * openbees has joined #silverstripe
1444: [19:07:13] * Stomach has joined #silverstripe
1445: [19:14:57] * marvanni has joined #silverstripe
1446: [19:15:41] * veb has joined #silverstripe
1447: [19:26:44] <marvanni> has anybody an idea for an alterative to CheckboxSetField for like 25 many_many options?
1448: [19:39:04] * Stomach quit (Quit: zzz)
1449: [19:54:50] <PenguinMan98> Given all I've learned in the last few days, I'm sure I could build you something
1450: [19:56:25] <ss-helper> Re: [silverstripe-dev] Re: Preventing delete from draft if a live version is present? - https://groups.google.com/d/msg/silverstripe-dev/xaFELH--tGw/ihm4JlTO5BoJ
1451: [20:08:57] * Stomach has joined #silverstripe
1452: [20:15:27] * oddnoc has joined #silverstripe
1453: [20:19:22] * darjus01 quit (Read error: Connection reset by peer)
1454: [20:20:58] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1455: [20:21:08] * openbees quit (Quit: Leaving)
1456: [20:24:35] * Stomach quit (Quit: zzz)
1457: [20:26:03] * babak has joined #silverstripe
1458: [20:26:40] * Pyromanik has joined #silverstripe
1459: [20:29:52] * Stomach has joined #silverstripe
1460: [20:34:26] <marvanni> don’t hold back ;)
1461: [20:34:56] <PenguinMan98> Could and would are very different things
1462: [20:34:58] <PenguinMan98> <3
1463: [20:37:59] * gelignite has joined #silverstripe
1464: [20:41:03] * zippy has joined #silverstripe
1465: [20:42:09] * zippy quit (Client Quit)
1466: [20:42:20] * stecman has joined #silverstripe
1467: [20:43:48] * UndefinedOffset quit (Quit: Leaving.)
1468: [20:47:45] * Stomach quit (Quit: zzz)
1469: [20:49:39] * Stomach has joined #silverstripe
1470: [20:53:34] * UncleCheese has joined #silverstripe
1471: [21:00:54] * DanaeNZ has joined #silverstripe
1472: [21:04:47] * Ryan-Toast has joined #silverstripe
1473: [21:11:21] * Stomach quit (Quit: zzz)
1474: [21:11:56] * oddnoc quit (Quit: beer:30)
1475: [21:12:03] * camfindlay has joined #silverstripe
1476: [21:12:46] <camfindlay> morning o/
1477: [21:12:56] <Ryan-Toast> Morning
1478: [21:13:03] * Stomach has joined #silverstripe
1479: [21:13:08] <camfindlay> Ryan-Toast: how did your talk go?
1480: [21:13:15] <Ryan-Toast> camfindlay: It went :)
1481: [21:13:25] <camfindlay> w00t!
1482: [21:13:34] <Ryan-Toast> never.again.
1483: [21:17:10] <Stomach> lol
1484: [21:18:19] * bemusedrat has joined #silverstripe
1485: [21:19:29] <Ryan-Toast> my back is so bruised from Jump! last night.
1486: [21:19:59] <PenguinMan98> Jump! ?
1487: [21:20:07] <Ryan-Toast> http://www.jumpwithus.co.nz/
1488: [21:20:46] <PenguinMan98> whoa, cool
1489: [21:23:30] <Ryan-Toast> PenguinMan98: It’s heaps of fun.
1490: [21:24:07] * Hailwood has joined #silverstripe
1491: [21:26:27] * Stomach quit (Quit: zzz)
1492: [21:26:29] * ss-helper quit (Remote host closed the connection)
1493: [21:26:42] * ss-helper has joined #silverstripe
1494: [21:27:46] * Stomach has joined #silverstripe
1495: [21:31:21] <Pyromanik> Ryan-Toast, your back is bruised?
1496: [21:31:30] <Pyromanik> You're doing it wrong -.-
1497: [21:31:34] <Ryan-Toast> Pyromanik: Yeah, there’s a 3 meter wall I jump off.
1498: [21:31:37] <Pyromanik> (whatever it is)
1499: [21:31:52] <Pyromanik> (whatever it is)
1500: [21:31:55] <Ryan-Toast> Thenm land on a trampoline, and backflip back up.
1501: [21:32:06] <Pyromanik> Yeah that definitely sounds wrong
1502: [21:32:09] <Pyromanik> oh, tramp?
1503: [21:32:11] <Pyromanik> heh
1504: [21:32:13] <Pyromanik> less wrong.
1505: [21:32:23] <Pyromanik> But still shouldn't end with bruises
1506: [21:33:16] <Ryan-Toast> The ones at the bottom are olympic trampolines, so they’re really taught.
1507: [21:33:25] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
1508: [21:33:40] <_SjG_> what's the preferred way to have a "global" string that's editable through the admin? e.g., a slogan that follows copyright, appearing on all pages, but update-able?
1509: [21:33:51] * micmania1 has joined #silverstripe
1510: [21:34:16] <Pyromanik> _SjG_, SiteConfig
1511: [21:34:25] <_SjG_> ah, right! thanks.
1512: [21:34:35] <Pyromanik> see Settings: Tag line box.
1513: [21:34:37] <_SjG_> I knew I'd seen it, but lost the memory pointer :)
1514: [21:34:41] <Pyromanik> that's EXACTLY what it's for.
1515: [21:34:48] <Pyromanik> :>
1516: [21:35:04] <PenguinMan98> Error: brain returned null reference
1517: [21:35:11] <DanaeNZ> haha
1518: [21:35:39] <_SjG_> PenguinMan98: at least I didn't get a core dump ;)
1519: [21:35:46] <Ryan-Toast> lol
1520: [21:35:53] <PenguinMan98> _SjG_: Just beware of the garbage collection...
1521: [21:36:20] <_SjG_> unfortunately, I'm an older model, without ECC, so memory gets corrupted
1522: [21:36:32] <_SjG_> it's pretty frustrating
1523: [21:36:52] <PenguinMan98> Mine has frequent stack overflow problems where incoming data seems to overwrite old data
1524: [21:37:18] <_SjG_> I can remember distinct memory addresses and Z-80 op-codes for TRS-80 computers that were EOLed in '82, but I can't remember where I put my keys
1525: [21:38:06] <PenguinMan98> no joke
1526: [21:38:11] <PenguinMan98> <3
1527: [21:40:10] <_SjG_> Anyway, I've added SiteConfig to my local reminder Wiki :)
1528: [21:41:49] <PenguinMan98> register the memory address in a mental hashtable
1529: [21:42:52] <DanaeNZ> :D
1530: [21:45:21] <_SjG_> so, I've been enjoying using Silverstripe. I've been out of the CMS world for a few years, and have a project, and reviewed a few dozen CMSes.
1531: [21:45:28] <_SjG_> A lot of smart stuff in here!
1532: [21:46:36] * adrexia has joined #silverstripe
1533: [21:47:03] * camfindlay quit (Quit: camfindlay)
1534: [21:50:56] <PenguinMan98> Agreed
1535: [21:51:28] <Ryan-Toast> _SjG_: This may be useful to you, maybe not: https://github.com/Rhym/ss_snippets
1536: [21:52:50] <_SjG_> Ryan-Toast: thanks, I'll add it to the pointer list
1537: [21:54:37] <PenguinMan98> interestign
1538: [21:54:44] <PenguinMan98> I'll have to keep note of that
1539: [21:55:51] * antmas has joined #silverstripe
1540: [21:56:46] <antmas> morning all o/
1541: [21:56:51] <PenguinMan98> yo
1542: [21:58:16] <_SjG_> oh, that's right. I forget y'all are living in the future.
1543: [21:59:51] <Ryan-Toast> Moring, antmas.
1544: [22:02:09] <antmas> Ryan-Toast: o/
1545: [22:02:13] * hp101 quit (Ping timeout: 264 seconds)
1546: [22:02:36] * hp101 has joined #silverstripe
1547: [22:03:25] * r_hector has joined #silverstripe
1548: [22:04:16] * Stomach quit (Quit: zzz)
1549: [22:04:53] * MrGuits quit (Read error: Connection reset by peer)
1550: [22:05:09] * MrGuits has joined #silverstripe
1551: [22:05:10] * Stomach has joined #silverstripe
1552: [22:05:15] * camfindlay has joined #silverstripe
1553: [22:05:49] * DimiStripe quit (Quit: DimiStripe)
1554: [22:09:59] <Ryan-Toast> How would you filter against live?
1555: [22:10:23] <Ryan-Toast> does a a generic get() filter by live, and exclude the showInMenus?
1556: [22:12:15] <Ryan-Toast> Hmm, doesn’t look like it does.
1557: [22:14:03] * Stomach quit (Quit: zzz)
1558: [22:14:34] <PenguinMan98> every time antmas comes in, I find myself checking for updates on the Ant Man move
1559: [22:14:36] <PenguinMan98> movie*
1560: [22:19:15] <Ryan-Toast> Is this alright? $pages = Versioned::get_by_stage('Page', 'Live')->filter(array('ParentID' => $this->ID));
1561: [22:20:12] * Stomach has joined #silverstripe
1562: [22:20:21] * zlinux has joined #silverstripe
1563: [22:22:06] <Pyromanik> Ryan-Toast, something to do with setting read mode before query
1564: [22:22:09] <Pyromanik> or someshit
1565: [22:22:15] <Pyromanik> and or that
1566: [22:22:28] <Pyromanik> idk, fuck versioned
1567: [22:22:31] <Ryan-Toast> ha
1568: [22:28:00] <Ryan-Toast> Pyromanik: set_reading_mode works well.
1569: [22:30:24] <Ryan-Toast> Pyromanik: e.g: http://www.sspaste.com/paste/show/558c80fa41cde
1570: [22:31:36] * bemusedrat quit (Quit: Leaving)
1571: [22:31:37] <Pyromanik> Ryan-Toast, ha, that's actually a thing? amazing.
1572: [22:31:49] <Pyromanik> memory wizardry :>
1573: [22:31:55] <Ryan-Toast> Pyromanik: guess so :P
1574: [22:31:59] <Pyromanik> how does it even work.
1575: [22:32:04] <Ryan-Toast> Shrug
1576: [22:32:32] <Pyromanik> (My memory that is, not your computer's while it runs that code)
1577: [22:32:40] <Ryan-Toast> Ah, right :D
1578: [22:32:55] <Ryan-Toast> Just don’t know if it’s best practise...
1579: [22:33:06] <Pyromanik> https://www.youtube.com/watch?v=wL7VSc3_s3E
1580: [22:33:17] * zlinux quit (Ping timeout: 252 seconds)
1581: [22:37:37] <antmas> PenguinMan98: :D
1582: [22:37:42] <antmas> re antman
1583: [22:37:52] <PenguinMan98> ^^
1584: [22:42:31] <Ryan-Toast> Pyromanik: So liveChildren() is a thing
1585: [22:42:39] <Ryan-Toast> much easier :P
1586: [22:42:49] <Pyromanik> heh, who knew.
1587: [22:42:55] <Pyromanik> git blame that shit son
1588: [22:43:01] <Ryan-Toast> We all do now.
1589: [22:43:28] <Pyromanik> how's that new admin interface coming on PenguinMan98 ?
1590: [22:43:53] <Stomach> I always just use Versioned::reading_stage('Live');
1591: [22:44:01] <Stomach> then you dont have to worry about that fucking dot notation
1592: [22:44:20] <Ryan-Toast> Stomach: that’s what I was using before.
1593: [22:45:58] * Colin[pi] has joined #silverstripe
1594: [22:47:07] <camfindlay> question… if I am editing a Member object via a GridField on a pagetype rather than the Security section, is there a way for the object to be aware of this and only show a subset of fields?
1595: [22:47:39] <Pyromanik> No.
1596: [22:47:56] <camfindlay> *sad face*
1597: [22:48:00] <Pyromanik> mmhmm
1598: [22:48:01] <Stomach> yes
1599: [22:48:10] <Stomach> there is
1600: [22:48:25] <Pyromanik> do go on Stomach
1601: [22:48:41] <Stomach> create a custom GridFieldItemEditForm
1602: [22:48:51] <Colin[pi]> you can specify the fields method right?
1603: [22:48:52] <Stomach> then dont get the field->getCMSFields
1604: [22:48:59] <Stomach> just build your own
1605: [22:49:09] <camfindlay> interesting
1606: [22:49:16] <camfindlay> I’ll give it a crack
1607: [22:49:18] <camfindlay> cheers
1608: [22:50:04] <Colin[pi]> Stomach: you have to create a subclass to do it?
1609: [22:50:08] <Ryan-Toast> When you delete a page with has_many releationships, and delete that page will all of the DO’s get deleted as well, or do you have to specify that in your onBeforeDelete?
1610: [22:50:35] <Colin[pi]> Ryan-Toast: the DO's are orphaned afaik
1611: [22:50:41] <Ryan-Toast> Colin[pi]: Ah, kay.
1612: [22:50:51] <Ryan-Toast> So write a deleteAll() in the onBeofre delete?
1613: [22:50:57] <Colin[pi]> Ryan-Toast: be careful with deleting them in the onBeforeDelete though
1614: [22:51:12] <Colin[pi]> not sure if still does it, but I remember that the publish/unpublish stuff used to trigger than event
1615: [22:51:19] <Stomach> Colin[pi] yeah you do
1616: [22:51:27] <Colin[pi]> so if you unpublished a page it would delete all the DO's ;P
1617: [22:51:38] <Ryan-Toast> Hmm, that’s not ideal :P
1618: [22:51:49] <Ryan-Toast> Maybe just leave orphans alone.
1619: [22:51:55] <Stomach> as ItemEditForm in GridFieldDetailForm_ItemRequest has $fields = $this->component->getFields(); if(!$fields) $fields = $this->record->getCMSFields();
1620: [22:52:01] <Stomach> not sure what this $component is though
1621: [22:52:15] <Colin[pi]> Stomach: wtf. really? so.... in 2.4 you could specify a method as a parameter to return fields (for CTF), now you need a subclass for GF?
1622: [22:52:28] <Colin[pi]> Stomach: seems kinda.... a backwards step
1623: [22:52:54] <Stomach> not really - you are controlling the itemrequest class
1624: [22:52:57] <Stomach> its less coupled
1625: [22:53:00] <Colin[pi]> hmm k
1626: [22:53:28] <Stomach> but "// Caution: API violation. Form expects a Controller, but we are giving it a RequestHandler instead."
1627: [22:53:30] <Stomach> lol
1628: [22:53:52] <Colin[pi]> lol
1629: [22:54:51] <Colin[pi]> coffee tiem
1630: [22:59:08] <DanaeNZ> I’m having a coffee too :D :D :D :D
1631: [22:59:25] * spronk has joined #silverstripe
1632: [23:02:08] <Ryan-Toast> Has anyone ever wrapped the debug messages in a wrapper?
1633: [23:02:20] <Ryan-Toast> i.e all the showquesrioes=1 biz?
1634: [23:02:22] <Pyromanik> reet, neet.
1635: [23:02:31] * Pyromanik quit (Quit: Leaving)
1636: [23:03:18] <Colin[pi]> Ryan-Toast: I restyled the /dev screen on my old cms build
1637: [23:03:23] <Colin[pi]> but not the debug stuff
1638: [23:09:41] * Stomach quit (Quit: zzz)
1639: [23:13:22] <Ryan-Toast> javascriptTemplates not working in the CMS is pretty infuriating.
1640: [23:14:55] <Colin[pi]> Ryan-Toast: they don't?
1641: [23:15:05] <Ryan-Toast> Colin[pi]: only if you refresh the page you’re on.
1642: [23:15:11] <Ryan-Toast> that it’s getting called on.
1643: [23:15:17] <Colin[pi]> ah
1644: [23:15:26] <Ryan-Toast> i.e a FormField that calls ajavascriptTemplate in it’s constructor.
1645: [23:15:45] <Ryan-Toast> javascript works ine, but customScript and javascriptTemplate don’t get inhjected.
1646: [23:17:40] * marvanni quit (Quit: marvanni)
1647: [23:17:42] * travis-ci has joined #silverstripe
1648: [23:17:43] <travis-ci> silverstripe/silverstripe-framework#5197 (3.1 - 8e1da86 : Damian Mooyman): The build has errored.
1649: [23:17:43] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/f5d6f2011322...8e1da86bf123
1650: [23:17:43] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/68394465
1651: [23:17:43] * travis-ci has left #silverstripe
1652: [23:17:55] <Colin[pi]> Ryan-Toast: that sucks
1653: [23:18:03] <Ryan-Toast> Colin[pi]: It’s pretty annoying.,
1654: [23:18:06] * marvanni has joined #silverstripe
1655: [23:18:28] * marvanni quit (Client Quit)
1656: [23:18:40] * cupcake quit (Ping timeout: 246 seconds)
1657: [23:20:27] <Colin[pi]> Ryan-Toast: it should work though... right?
1658: [23:20:33] <Ryan-Toast> Colin[pi]: Shrug
1659: [23:20:34] <Colin[pi]> is that a bug or a feature? :P
1660: [23:20:37] <Ryan-Toast> I’d assume so
1661: [23:20:38] <DanaeNZ> how bad does allowed_children get cached? D:
1662: [23:20:51] <Ryan-Toast> DanaeNZ: you have to do a dev and a flush
1663: [23:20:56] <Colin[pi]> DanaeNZ: private static, flush will clear it
1664: [23:21:00] <DanaeNZ> done that a few times
1665: [23:23:01] * DanaeNZ throughs the cache manifest into a fire
1666: [23:23:07] <DanaeNZ> config*
1667: [23:24:33] <DanaeNZ> oh it’s only when publishing???
1668: [23:25:20] * Stomach has joined #silverstripe
1669: [23:27:56] * r_hector quit (Remote host closed the connection)
1670: [23:37:58] <Colin[pi]> Ryan-Toast: dude I just did a test with javascriptTemplate in the CMS for a field and it worked
1671: [23:38:16] <Ryan-Toast> Colin[pi]: Did you go to another page, refresh, then go back to that page?
1672: [23:38:31] <Colin[pi]> ah so it's an ajax thing
1673: [23:38:37] <Ryan-Toast> yup
1674: [23:39:03] <antmas> ehrmagerdddd
1675: [23:39:05] <Colin[pi]> I think... there's a way to fix that though
1676: [23:39:09] <antmas> merrteeerrrrngs
1677: [23:39:09] <Colin[pi]> antmas: OMG HI ANTMAS
1678: [23:39:19] <Ryan-Toast> Colin[pi]: Would love a solution :P
1679: [23:39:20] <antmas> Colin[pi]: O.M.G. HAI Colin[pi] o/
1680: [23:39:52] * spronk quit (Quit: I may need a longer sleep timer...)
1681: [23:40:27] <Colin[pi]> Ryan-Toast: let me have a play, Friday is usually my "let see if I can break shit" day
1682: [23:40:35] <Ryan-Toast> Colin[pi]: :D
1683: [23:40:40] <antmas> I wish I could have those days
1684: [23:40:54] * Phlunk3 has joined #silverstripe
1685: [23:40:56] <antmas> Friday seems to be 'everything IS broken, so pls fix all things'
1686: [23:44:14] <Ryan-Toast> Colin[pi]: It doesn’t actually inject the JS to the page.
1687: [23:44:36] <Colin[pi]> Ryan-Toast: no, well... it does, but on first load
1688: [23:44:52] <Colin[pi]> then the ajax does it's thing, and the *original* js is still there
1689: [23:44:55] <Ryan-Toast> Colin[pi]: Lol, yeah. That’s a bit of an issue though :P
1690: [23:45:13] <Colin[pi]> Ryan-Toast: so I'm looking at it from a different approach
1691: [23:45:13] <Ryan-Toast> For me the js doesn’t get injected.
1692: [23:45:16] <Colin[pi]> give me a bit
1693: [23:45:20] * spronk has joined #silverstripe
1694: [23:45:35] <Colin[pi]> Ryan-Toast: I did a test where I did an alert from a javascriptTemplate
1695: [23:45:44] <Colin[pi]> Ryan-Toast: works on page load, but not on ajax load
1696: [23:45:53] <Ryan-Toast> you need to wrap it in entwine
1697: [23:46:02] <Colin[pi]> Ryan-Toast: yarp that's what I'm thinking
1698: [23:46:12] <Ryan-Toast> Colin[pi]: I have mine in entwine.
1699: [23:46:32] <Ryan-Toast> but it’s not getting written to the page,.
1700: [23:46:36] <Ryan-Toast> It’s from a formField
1701: [23:46:42] <Ryan-Toast> not a pagetype
1702: [23:46:57] <Colin[pi]> Ryan-Toast: my test was from a formfield
1703: [23:47:03] <Ryan-Toast> Colin[pi]: Ah, right :)
1704: [23:47:15] <Colin[pi]> Ryan-Toast: I stuck it in ToggleCompositeField to see what would happen :P
1705: [23:47:33] <Ryan-Toast> Colin[pi]: here’sn entwine function you can manip[ulate for a form field: http://pastebin.com/p2F4ULFV
1706: [23:51:27] <Colin[pi]> ok so with entwine I get the alert each time, but the jsTemplate will only be processed once
1707: [23:52:00] <Ryan-Toast> Colin[pi]: how do you mean?
1708: [23:52:15] <Colin[pi]> so... when the page first loads, it renders the javascriptTemplate
1709: [23:52:27] <Colin[pi]> but when you click another item to load via ajax
1710: [23:52:30] <Ryan-Toast> and on another page going to the other one it wont?
1711: [23:52:36] <Colin[pi]> the script executes, but it's the same as before
1712: [23:52:41] <Colin[pi]> (I added a rand() in there)
1713: [23:52:49] <Ryan-Toast> Hmmm.
1714: [23:53:00] <Colin[pi]> so... what you'll need to do, is load the data for your script with the dom markup for the field, and get the script to pull out the data from the markup
1715: [23:53:04] <Ryan-Toast> UncleCheese: you eve comea ccross this with your dashboard biz?
1716: [23:53:11] <Colin[pi]> i.e. data- attributes
1717: [23:53:11] <UncleCheese> what's taht
1718: [23:53:36] <Ryan-Toast> UncleCheese: javascriptTemplates in the cms being called from form fields
1719: [23:53:45] <Ryan-Toast> not injecting into the page
1720: [23:53:48] <Colin[pi]> UncleCheese: ajax loading and js stuff
1721: [23:54:06] <Colin[pi]> Ryan-Toast: it *is* injected but just on page load, ajax wont load it again :P
1722: [23:54:54] <UncleCheese> Colin[pi] entwine is not optional in CMS UI
1723: [23:55:04] <Ryan-Toast> Colin[pi]: Mine doesn’t inject at all.
1724: [23:55:07] <UncleCheese> basically nothing is going to work unless you use it
1725: [23:55:10] <Colin[pi]> Ryan-Toast: you'll need to render data-attributes in your markup and have the entwine script pull them out and process them
1726: [23:55:17] <Ryan-Toast> Colin[pi]: Mine doesn’t inject.
1727: [23:55:21] <Colin[pi]> rofl
1728: [23:55:31] <Colin[pi]> I just did a test that shows it does inject :D
1729: [23:55:41] <Colin[pi]> it's in the FieldHolder
1730: [23:55:43] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1731: [23:56:01] <Ryan-Toast> Colin[pi]: post your code?
1732: [23:56:35] <Colin[pi]> Ryan-Toast: I added this to the FieldHolder method of ToggleCompositeField (just for a test): Requirements::javascriptTemplate('test/javascript/test.js', array('Message'=>rand()));
1733: [23:57:06] <Colin[pi]> Ryan-Toast: then I used this for the test script: http://pastebin.com/Z1mzh1Di
1734: [23:57:38] <Colin[pi]> I get the random number alert on page load, but then the *same* random number each time I click a new page
1735: [23:59:18] <Ryan-Toast> Colin[pi]: Mine still doesn’t inject.
1736: [23:59:23] <Colin[pi]> ffffff
1737: [23:59:35] <Colin[pi]> what can I tell you, it's working here :P

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