#silverstripe IRC Log

IRC log for 26 September 2013

All timestamps are in UTC.

1: [00:00:08] * joelpittet quit (Remote host closed the connection)
2: [00:06:14] * chillu quit (Quit: chillu)
3: [00:07:20] <simon_w> Hmm, do I want a new work machine or a new home machine
4: [00:07:29] * travis-ci has joined #silverstripe
5: [00:07:29] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1045 (3.1.0 - b3c91ec : Ingo Schommer): The build passed.
6: [00:07:29] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/5b47c3aa1c39...b3c91ecac961
7: [00:07:29] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11803463
8: [00:07:29] * travis-ci has left #silverstripe
9: [00:09:15] <Pyromanik> simon_w: both?
10: [00:09:28] <Colin[pi]> yeah one and the same for me
11: [00:09:39] <simon_w> Yeah, but then I'd need another screen for work
12: [00:09:50] <Colin[pi]> so get another screen?
13: [00:10:11] <simon_w> Do you know how expensive they are?
14: [00:10:31] <Colin[pi]> YOU HAVE A PLATINUM CARD
15: [00:11:03] <simon_w> Yes, and?
16: [00:11:11] <Colin[pi]> you can buy the moon!
17: [00:11:16] <simon_w> It only has $10k on it!
18: [00:11:32] <Colin[pi]> PSH, only
19: [00:11:54] <Colin[pi]> buy like ten screens, credit cards are free money amirite?
20: [00:12:06] <Colin[pi]> ;D
21: [00:12:14] <simon_w> More like 6 screens
22: [00:12:15] <atmos_> don't those platinum cards have crazy high int rates?
23: [00:12:23] <simon_w> nope
24: [00:12:26] * travis-ci has joined #silverstripe
25: [00:12:27] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1045 (3.1.0-rc3 - cbaa91e : Ingo Schommer): The build failed.
26: [00:12:27] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/commit/cbaa91ebd7fa
27: [00:12:27] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11803464
28: [00:12:27] * travis-ci has left #silverstripe
29: [00:12:47] <simon_w> Well, they do. But that's because they're credit cards, not because they're platinum
30: [00:12:49] <atmos_> what is it? like %19?
31: [00:12:52] <atmos_> bah
32: [00:13:15] <simon_w> The one I need to cut up when I get home was also 19%
33: [00:13:58] <atmos_> looking at the list with ASB, the base one is only like 13% - which seems pretty low
34: [00:14:59] <atmos_> is that low? I'm way behind the 8 ball with all things finance
35: [00:15:15] <simon_w> Given that that's called a Low Interest card?
36: [00:15:42] <atmos_> simon_w: well yeah, but I have no idea what is considered actually 'low'
37: [00:15:57] * travis-ci has joined #silverstripe
38: [00:15:57] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#550 (3.1.0-rc3 - dc1ae03 : Ingo Schommer): The build failed.
39: [00:15:57] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/commit/dc1ae03fece8
40: [00:15:57] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/11803478
41: [00:15:57] * travis-ci has left #silverstripe
42: [00:16:20] <simon_w> 19%'s the normal rate
43: [00:16:20] <Colin[pi]> I think anything around 12-13% or less is very low for CC
44: [00:16:35] <atmos_> right
45: [00:17:08] <atmos_> what's the catch? no air points + low limits?
46: [00:17:10] <simon_w> And the low interest ones usually have lower limits
47: [00:17:28] <simon_w> And higher fees
48: [00:17:45] <ss23> YOUR STARE WAS HOLDING
49: [00:17:48] <ss23> RIPPED JEANS SKIN WAS SHOWING
50: [00:17:50] <ss23> Hey, I just met you!
51: [00:17:52] <ss23> And this is crazy!
52: [00:17:55] <ss23> But here's my number
53: [00:17:57] <ss23> So call me maybe~
54: [00:18:09] * ss23 has joined #silverstripe
55: [00:18:09] * ss23 grinds on simon_w
56: [00:18:09] <simon_w> :D
57: [00:18:09] <ss23> HEY I JUST MET YOU
58: [00:18:25] <guzzlefry> 0.o
59: [00:18:29] <simon_w> Careful, I might +b you if you keep flooding :p
60: [00:19:37] <ss23> XD
61: [00:19:50] <ss23> 12:21:31 <ss23> unban #silverstripe
62: [00:19:51] <ss23> 12:21:31 -ChanServ(ChanServ@services.)- You are not authorized to perform this operation.
63: [00:19:56] <ss23> We needa fix the chanserv!
64: [00:20:08] <ss23> guise, I have office speakers now
65: [00:20:10] <ss23> what songs should I play?
66: [00:20:19] <guzzlefry> uhm
67: [00:20:24] <Colin[pi]> Friday by Rebecca Black
68: [00:20:25] <atmos_> EXTREME METAL
69: [00:20:39] <spronk> TOOL
70: [00:20:42] <guzzlefry> ss23: Are you going for annoying everyone? Because Scatman.
71: [00:20:44] <Colin[pi]> The Presets
72: [00:20:45] <spronk> parabol
73: [00:20:46] <spronk> then
74: [00:20:46] <spronk> parabola
75: [00:20:48] <atmos_> DYING FETUS
76: [00:20:58] <simon_w> MMMBop
77: [00:20:58] <spronk> followed by Rob Zombie
78: [00:21:25] <guzzlefry> oh god, what was that song
79: [00:21:29] <guzzlefry> Len - Sunshine or whatever
80: [00:21:30] <ss23> lol
81: [00:21:36] <ss23> I'm going for Spice Girls this time
82: [00:21:47] <simon_w> But Spice Girls is only third on my list!
83: [00:21:49] <guzzlefry> The 90s were both beautiful and disturbing. :/
84: [00:22:00] <Colin[pi]> Aqua
85: [00:22:04] <Colin[pi]> I'M A BARBIE GIRL
86: [00:22:08] <Colin[pi]> IN A BARBIE WORLD
87: [00:22:12] <Colin[pi]> LIFE IN PLASTIC
88: [00:22:14] <ss23> simon_w: What is your #1 and #2?
89: [00:22:15] <ss23> OKAY
90: [00:22:15] <Colin[pi]> IT'S FANTASTIC
91: [00:22:17] <ss23> AQUA NEXT
92: [00:22:25] <atmos_> god, everything is going 90s now
93: [00:22:36] <simon_w> ss23, (I Wanna Be) Like Other Girls Atomic Kitten Mulan II 2:51 777 100 320 kbps 27/10/09 8:08
94: [00:22:37] <simon_w> Star Wars moosebutter see dee 4:12 635 100 195 kbps (VBR) 11/03/09 21:53
95: [00:22:37] <simon_w> Stop Spice Girls Spiceworld 3:25 633 100 128 kbps 19/03/09 18:04
96: [00:22:43] <simon_w> 1, 2, 3
97: [00:23:01] <ss23> ehhhhhhhh
98: [00:23:22] <ss23> IF YOU WANNA BE MY LOVER~
99: [00:23:26] <ss23> YOU GOTTA GOTTA GOTTA GOTTA GOTTA
100: [00:23:42] <spronk> hahahah
101: [00:24:43] <ss23> Okay I went with Aqua
102: [00:24:52] * abitran quit (Ping timeout: 246 seconds)
103: [00:25:04] <simon_w> https://files.app.net/pl8bvGDw.png is the top 25
104: [00:25:20] <ss23> simon_w: :<
105: [00:25:21] * abitran has joined #silverstripe
106: [00:25:23] <ss23> SOME OF THOE SONGS ARE GOOD
107: [00:25:35] <simon_w> ESPECIALLY THE CURRENTLY PLAYING ONE
108: [00:25:44] <ss23> hahahaha
109: [00:25:47] <ss23> jump5 even! :D
110: [00:26:03] <Colin[pi]> big bang theory theme?
111: [00:26:13] <simon_w> Apparently so
112: [00:27:23] <simon_w> Oh man, British singers you can hear the accent on
113: [00:27:24] <simon_w> So awesome
114: [00:28:12] <simon_w> Oops, forgot a big mac
115: [00:28:44] <spronk> o-O
116: [00:28:49] <spronk> ah, aqua
117: [00:28:52] <spronk> they were awesome
118: [00:30:26] <guzzlefry> ss23: Don't forget to play Horse the Band and such.
119: [00:31:03] <ss23> I stopped
120: [00:31:04] <ss23> :P
121: [00:31:18] <guzzlefry> aw
122: [00:31:31] <Colin[pi]> DR JONES JONES CALLING DR JONES DR JONES DR JONES WAKE UP NOW
123: [00:31:49] <ss23> WAKE UP NOW~
124: [00:31:58] <Colin[pi]> A YIPPIE AI AY OH A YIPPIE AI AY
125: [00:32:06] <simon_w> MUTHAFUCKER
126: [00:32:19] * Colin[pi] is embarassed to show his taste in music
127: [00:32:21] <ss23> Come with me honey, I'm the sweet sugar candy man
128: [00:32:34] <simon_w> Colin[pi], you have seen my taste, right?
129: [00:32:39] <ss23> lol
130: [00:32:40] <ss23> "taste"
131: [00:32:40] <Colin[pi]> though it's pretty much impossible to listen to Aqua and not feel happy
132: [00:32:43] <ss23> Bit misleading, there
133: [00:33:01] <Colin[pi]> I have a very wide range of music taste
134: [00:33:10] <Colin[pi]> I love the B52's for example
135: [00:33:10] <ss23> inb4 "everything except rap"
136: [00:33:23] <ss23> The two tastes in music every human has is "Everything but rap" or "Everything but metal"
137: [00:33:27] <Colin[pi]> I listen to a lot of Ministry of Sound mixes
138: [00:33:46] <spronk> IM A BARBIE GIRL IN A BARBIE WOORRLLDDD LIFE IN PLASTIC... ITS FANTASTIC! YOU CAN BRUSH MY HAIR UNDRESS ME EVERYWHEERREEE
139: [00:33:46] <Colin[pi]> electronica... crystal method, chemical bros, prodigy
140: [00:33:48] <simon_w> How about that music that's all 1/9?
141: [00:33:51] * spronk high fives Colin[pi]
142: [00:34:24] <spronk> ss23: that's not entirely true
143: [00:34:29] <spronk> i like some eminem..
144: [00:34:37] * simon_w misses iTunes DJ
145: [00:34:40] * guzzlefry has left #silverstripe
146: [00:34:42] <atmos_> if you get super into metal like me, it's actually scarily hard to like anything else :/
147: [00:34:51] <spronk> lol
148: [00:34:51] <Colin[pi]> I can't stand most rap and hiphop
149: [00:35:04] <simon_w> I just can't stand
150: [00:35:10] <spronk> i get pissed off with this angry black gangster rap/hiphop
151: [00:35:19] <atmos_> Colin[pi]: I said the same thing, until I listened to Atmosphere
152: [00:35:20] <Colin[pi]> especially a lot of the repetitive girlie stuff, like.. um what was it, destiny's child?
153: [00:35:28] <spronk> but older hiphop and rap was quite good
154: [00:35:36] <Colin[pi]> I'M A SURVIVOR, IMA NEVER GIVE UP, I'M A SURVIVOR, IMA NEVER GIVE UP, I'M A SURVIVOR, IMA NEVER GIVE UP, I'M A SURVIVOR, IMA NEVER GIVE UP, I'M A SURVIVOR, IMA NEVER GIVE UP, I'M A SURVIVOR, IMA NEVER GIVE UP, I'M A SURVIVOR, IMA NEVER GIVE UP
155: [00:35:42] <Colin[pi]> christ we get it
156: [00:35:44] <spronk> wow
157: [00:35:51] <spronk> when you type it out it looks even more repetitive than it sounds
158: [00:35:52] <ss23> lol Colin[pi]
159: [00:36:06] <simon_w> Woo, iTunes is back to Rebecca Black!
160: [00:36:07] <ss23> You a stupid hoe, you a stupid hoe. You a stupid hoe, you a you a stupid hoe
161: [00:36:11] <ss23> Rinse and repeat
162: [00:36:20] <Colin[pi]> that song in particular wants me to stab my ears with forks
163: [00:36:25] <spronk> yeah
164: [00:36:28] <spronk> how do these people make so much money
165: [00:36:32] <spronk> annoys me so much
166: [00:36:34] <simon_w> It'll work better with chopsticks
167: [00:36:38] <ss23> Becaus we're sitting here talking about the songs/ :P
168: [00:36:41] <Colin[pi]> yes that's true
169: [00:36:51] <atmos_> BACON PANCAKES 10hr mix
170: [00:36:55] <ss23> rofl atmos_
171: [00:36:56] <ss23> roofllllll
172: [00:37:06] <spronk> LOOK AT MY HORSE MY HORSE IS AMAZING
173: [00:37:11] <Colin[pi]> GIVE IT A LICK
174: [00:37:16] <spronk> OOOooo
175: [00:37:19] <simon_w> http://www.youtube.com/watch?v=z9Uz1icjwrM
176: [00:37:19] <Colin[pi]> IT TASTES JUST RAISINS
177: [00:37:22] <ss23> OPEN GANGNAM STYLE~ ^.^
178: [00:37:25] <Colin[pi]> *likw
179: [00:37:27] <Colin[pi]> *like ffs
180: [00:37:28] <spronk> fukyeh.gif
181: [00:37:38] <ss23> >( ^.^)>
182: [00:37:46] <simon_w> ss23, it's not open
183: [00:38:02] <ss23> simon_w: OP OP OP OPEN GANGNAM STYLE~
184: [00:38:15] <spronk> http://4.bp.blogspot.com/-lO2-nloXdQ4/Tl5bkRLPWcI/AAAAAAAAA8k/lGAT-BpPT6M/s1600/fuck_yeah_.jpg
185: [00:38:17] <Colin[pi]> this remix still makes me laugh so much
186: [00:38:18] <atmos_> isn't it 'Opa'?
187: [00:38:18] <Colin[pi]> http://www.youtube.com/watch?v=MdaOT72ieXs
188: [00:38:31] * spronk dances around like a horse
189: [00:38:37] <ss23> holy shit Colin[pi], yes
190: [00:38:49] <simon_w> ss23, you're trying to match Korean sounds to english words
191: [00:38:52] <Colin[pi]> its so wrong but hilarious
192: [00:38:59] <ss23> Colin[pi]: ... so right.
193: [00:39:00] <ss23> ;)
194: [00:39:25] <ss23> Which reminds me, suposibly "normal" people find it weird if you make a joke about... parent and children objects... and... accessing each others privates.
195: [00:39:50] <Colin[pi]> o_O
196: [00:40:07] <Colin[pi]> ss23: have you seen the kirk tripping balls video?
197: [00:40:13] <ss23> Uh, I don't think so?
198: [00:40:26] <Colin[pi]> love it: http://www.youtube.com/watch?v=uQ3c8_ZTNrg
199: [00:40:29] <Colin[pi]> so funny
200: [00:40:32] <atmos_> ok, time for lonch
201: [00:41:49] <ss23> Colin[pi]: idgi ;_____;
202: [00:42:02] * nickmolhoek quit (Quit: nickmolhoek)
203: [00:42:08] <Colin[pi]> kirk has had too much lsd, gosh
204: [00:42:54] * simon_w closes the Apple store tabs before he impulses buys two new computers
205: [00:42:56] <ss23> :<
206: [00:42:59] <ss23> lol simon_w XD
207: [00:43:28] * abitran quit (Remote host closed the connection)
208: [00:43:31] * abitran_ has joined #silverstripe
209: [00:43:40] <simon_w> I can finally get the Executor!
210: [00:43:49] <ss23> What's that
211: [00:43:56] * EasyCo has joined #silverstripe
212: [00:43:58] <ss23> There's a good song called The Executioner
213: [00:43:59] * simon_w shuns ss23
214: [00:43:59] <ss23> Is it that?
215: [00:44:06] <simon_w> Fake Geek!
216: [00:44:20] * spronk needs a new laptop
217: [00:44:23] <ss23> dammit
218: [00:44:34] <ss23> Where is the "test send" functionality in newsletter module nowadays?
219: [00:44:37] <spronk> macbook air 8gb ram + 256 ssd is too expensive new, and rare as fuck refurbd
220: [00:45:01] <ss23> simon_w: Executor can only run Macintosh programs designed to run on 68000-based Macintosh hardware.
221: [00:45:05] <ss23> This?
222: [00:45:06] <spronk> mbp 15 is a bit expensive, retina mbp 13 is too choppy in normal use, and mbp 13 is too lame 1280x800
223: [00:45:13] <simon_w> ss23, nope
224: [00:45:22] <ss23> simon_w: I couldn't find from google then, what is it?
225: [00:45:37] <simon_w> http://shop.lego.com/en-NZ/Super-Star-Destroyer-10221
226: [00:45:45] <ss23> oh lol
227: [00:45:54] <ss23> Yeah, I'm kind of anti-nerd in that regard. Never been into lego etc
228: [00:46:01] <simon_w> It's Star Wars
229: [00:46:13] <ss23> I haven't seen Star WArs either
230: [00:46:16] <ss23> Or Star Trek
231: [00:46:20] * simon_w shuns ss23 some more
232: [00:46:25] <ss23> Closest thing to nerdy TV I watch is xfiles
233: [00:46:29] <ss23> :3
234: [00:46:30] <ss23> Gues waht
235: [00:46:34] <ss23> I'VE NEVER SEEN FIREFLY
236: [00:46:35] <ss23> :D
237: [00:46:44] <EasyCo> xfiles… lol
238: [00:46:52] <Colin[pi]> LOL!
239: [00:47:10] <EasyCo> Actually I didn't lol, it was more of a half smile.
240: [00:48:29] <simon_w> Haha, I get http://shop.lego.com/en-NZ/LEGO-Mini-VW-T1-Camper-Van-40079?s=6039838 for free
241: [00:48:35] * ss23 has joined #silverstripe
242: [00:48:35] <ss23> :D
243: [00:48:43] <Bollig|DesignCty> spronk: *pats his mbp 15*
244: [00:49:52] <simon_w> Hmm, standard or express shipping
245: [00:50:00] <simon_w> Free or $120
246: [00:51:15] <ss23> holy crap simon_w
247: [00:51:21] <ss23> PAY OFF YOUR FRIGGEN STUFF BEFORE SPENDING MORE MONEY
248: [00:51:21] <ss23> ;_;
249: [00:51:26] <ss23> :/
250: [00:51:28] <simon_w> Pfft, screw that!
251: [00:51:35] <ss23> 12:53:14 <@simon_w> Pfft
252: [00:51:41] <Colin[pi]> yep i have a $5K cc with 0 balance :)
253: [00:51:44] <ss23> nice blowoff valve
254: [00:51:46] <ss23> PFFFT
255: [00:51:49] <Colin[pi]> only use if absolutely necessary
256: [00:52:01] <simon_w> 12:53? Your clock's way off
257: [00:52:08] <ss23> hmmm
258: [00:52:10] <ss23> not by much
259: [00:52:11] <ss23> Maybe ~ min
260: [00:52:31] <ss23> That explains it, no ntpd on this server!
261: [00:52:32] * UncleCheese quit (Quit: UncleCheese)
262: [00:52:42] <simon_w> Just under 2 minutes
263: [00:54:14] <ss23> Okay, should sync soon
264: [00:54:18] * ss23 waits
265: [00:54:35] <Colin[pi]> this ss shop... creates member account... doesn't call ->write() on new member
266: [00:54:39] <Colin[pi]> sigh
267: [00:54:55] <spronk> Bollig|DesignCty: i have a first gen unibody 15... it's had a good run, but it's getting pretty tired now
268: [00:54:56] <ss23> rofl Colin[pi]
269: [00:55:08] <spronk> still think i prefer the 13 form factor
270: [00:55:11] <Bollig|DesignCty> booo
271: [00:55:25] * DigNZ has joined #silverstripe
272: [00:56:05] * abitran_ quit (Ping timeout: 248 seconds)
273: [00:56:23] <simon_w> Hisss
274: [00:56:30] * abitran has joined #silverstripe
275: [00:56:35] <ss23> hissssssss
276: [00:56:39] <ss23> simon_w snake_w
277: [00:57:39] <simon_w> Time to make this bitching form save!
278: [00:57:58] <ss23> simon_w has been swearing a lot lately! :O
279: [00:58:09] <Colin[pi]> holy shit look at that, added $member->write() and strangely I have a new member account :o
280: [00:58:15] <simon_w> simon_w is also on happy pills!
281: [00:58:21] <ss23> simon_w: I saw that :D
282: [00:58:26] * Colin[pi] thinks they are sweary pills
283: [00:58:30] <ss23> XD
284: [00:58:51] <spronk> haha
285: [00:59:01] <spronk> congrats on the prozac bro
286: [00:59:07] <Colin[pi]> brozac
287: [00:59:14] <spronk> livin the medium
288: [00:59:28] <simon_w> Don't worry, even Colin[pi] is still beating me in the number of fucks
289: [00:59:31] <ss23> hahaha
290: [00:59:34] <Colin[pi]> wait
291: [00:59:40] <ss23> You know when simon_w is winning the fucks, something is wrong!
292: [00:59:42] <Colin[pi]> wasn't one of us orders of magnitude more?
293: [00:59:47] <ss23> Yeah
294: [00:59:48] <ss23> spronk
295: [00:59:49] <spronk> citation needed
296: [00:59:50] <ss23> :P
297: [00:59:50] <Colin[pi]> lol
298: [01:00:05] <simon_w> spronk's on top by 54
299: [01:00:06] <ss23> AFter his subsites bout, he'll probably be worse...
300: [01:00:11] <spronk> yeah
301: [01:00:20] <ss23> s/worse/better/
302: [01:00:24] <spronk> i'm pretty sure subsites is directly responsible for ... at *least* 70% of my f words.
303: [01:00:26] <Colin[pi]> did you sort out subsites spronk?
304: [01:00:36] <spronk> Colin[pi]: not really
305: [01:00:39] <Colin[pi]> lol k
306: [01:00:49] <simon_w> http://pastie.org/8355997
307: [01:00:52] <spronk> i was working on an alternative way to do sync'd content across subsites yesterday
308: [01:01:26] <Colin[pi]> awesome! I'm coming 7th!
309: [01:01:50] <spronk> see i can't swear out loud anymore, so i have to vent in type :P
310: [01:01:52] <ss23> wow
311: [01:01:56] <ss23> lol spronk
312: [01:02:01] <ss23> I'm coming higher on fuxks tha I expected!
313: [01:02:26] <spronk> Pyromanik: falling behind bro, you gotta keep up
314: [01:02:44] <simon_w> Or ss23 will overtake you
315: [01:02:46] <ss23> XD
316: [01:02:53] <ss23> I'm known for catching up my fucks from behind...?
317: [01:02:58] <ss23> (I'm sure there's a better way to phrase that joke)
318: [01:03:06] <spronk> yeah..
319: [01:03:09] <spronk> that was pretty bad
320: [01:03:12] <spronk> slow clap worthy, almost
321: [01:03:23] <simon_w> Could just kick him again
322: [01:03:29] <Colin[pi]> lol
323: [01:03:34] <ss23> ;_;
324: [01:03:35] <ss23> pls
325: [01:03:45] <simon_w> Now he even wants me to!
326: [01:04:12] <ss23> NOOO
327: [01:04:13] <ss23> ;__;
328: [01:04:36] <simon_w> Haha, I'm much higher in the shits
329: [01:04:44] * DigNZ1 has joined #silverstripe
330: [01:04:45] * DigNZ1 quit (Remote host closed the connection)
331: [01:04:57] <simon_w> And Pyromanik is in the lead by a lot
332: [01:05:00] * DigNZ1 has joined #silverstripe
333: [01:05:19] <ss23> XD
334: [01:05:34] <simon_w> And I'm winning the bitches!
335: [01:05:56] <spronk> oo?
336: [01:06:02] <spronk> more stats!
337: [01:06:41] <simon_w> http://pastie.org/8356003
338: [01:07:10] <simon_w> http://pastie.org/8356007
339: [01:07:25] <EasyCo> Is 'Form' in the allowed_actions somewhere by default?
340: [01:07:34] <simon_w> EasyCo, nope
341: [01:07:38] <spronk> :O
342: [01:07:41] * spronk doesn't even feature on the bitches
343: [01:07:45] <spronk> i guess i go straight to the hard stuff
344: [01:07:53] <ss23> XD
345: [01:07:57] <ss23> ...
346: [01:07:59] <ss23> Is it time for a cunt off?
347: [01:08:04] <ss23> simon_w: BEGIN THE CUNT COUNTING
348: [01:08:07] <spronk> simon_w: master statistician
349: [01:08:13] <Colin[pi]> lol
350: [01:08:14] <ss23> (Pretty sure I win, just from those two cunts... now three)
351: [01:08:23] <simon_w> logbot=# SELECT COUNT(*) AS "Bitches", "Nick" FROM "Log" WHERE "Text" ILIKE '%cunt%' GROUP BY "Nick" HAVING COUNT(*) >= 10 ORDER BY "Bitches" DESC;
352: [01:08:23] <simon_w> Bitches | Nick
353: [01:08:23] <simon_w> ---------+--------
354: [01:08:23] <simon_w> 10 | spronk
355: [01:08:23] <simon_w> (1 row)
356: [01:08:29] <ss23> lol
357: [01:08:32] <ss23> simon_w: do cunts, do cunts! :D
358: [01:08:33] <simon_w> Screw renaming the field
359: [01:08:35] <ss23> Wait
360: [01:08:36] <simon_w> That is
361: [01:08:36] <ss23> ...
362: [01:08:46] * abitran quit (Ping timeout: 245 seconds)
363: [01:08:47] <ss23> Technically, that's not an accurate count
364: [01:08:54] <ss23> If I say cunts 20 times in a single line, it'll only count one
365: [01:08:55] * abitran has joined #silverstripe
366: [01:08:59] <ss23> THESE STATS ARE LIES!
367: [01:10:27] <spronk> haha
368: [01:10:39] <simon_w> http://logs.simon.geek.nz/search.php?q=cunt#log_1056708
369: [01:10:40] <simon_w> I'm not sure Caitlin would approve :p
370: [01:10:59] <ss23> hahaha
371: [01:11:42] <Colin[pi]> lol @ irogue's contribution
372: [01:11:50] <ss23> hahaha
373: [01:12:05] <Colin[pi]> ROFL: I miss the o enough times that SS_List should have a Cunt() method that just returns Count()
374: [01:12:09] <Colin[pi]> hahaha simon_w
375: [01:12:58] <ss23> I'm glad that URL doesn't have SilverStripe in it
376: [01:13:02] <ss23> so it doesn't come up on the work feed
377: [01:13:02] <ss23> :D
378: [01:13:11] <spronk> :D
379: [01:13:27] <Colin[pi]> simon could add a naughty word filter? but that wouldn't be fun
380: [01:13:31] <simon_w> You could put silverstripe in it, I'm fairly sure
381: [01:13:36] <ss23> I could, I decided not to
382: [01:13:37] <ss23> :P
383: [01:13:50] <ss23> Client searches on twitter for #silverstripe -> "CUTNS CUNT S CUNTS CUNTS CUNTS CUNTS LOL CUNTS"
384: [01:13:54] <ss23> Probably not a *great* look
385: [01:13:54] <ss23> :P
386: [01:14:03] <spronk> nahh
387: [01:14:16] <ss23> Oh
388: [01:14:21] <ss23> I could tweet it from the official @silverstripe
389: [01:14:21] <ss23> :D
390: [01:14:40] <spronk> YEAH DO O IT
391: [01:14:45] <simon_w> Still in your 90 days?
392: [01:15:10] <ss23> simon_w: Nope!
393: [01:15:11] <ss23> :D
394: [01:15:14] <ss23> Was over last week
395: [01:16:09] <simon_w> Anyway, all this swearing discussion isn't getting the bitching form saving
396: [01:16:17] <ss23> XD
397: [01:16:18] <ss23> Me too
398: [01:16:21] <EasyCo> So I'm confused, shouldn't there be an allowed_action for Form in this controller? https://github.com/silverstripe/silverstripe-userforms/blob/1.0/code/model/UserDefinedForm.php#L377
399: [01:16:22] <ss23> I did 4.5 hours work to allow something
400: [01:16:31] <ss23> Client is then like "just so you know, I didn't need that work at all, I need something different"
401: [01:16:34] <ss23> I lol.
402: [01:16:52] <simon_w> EasyCo, 3.0 compat version, no $allowed_actions means everything's allowed
403: [01:17:00] <EasyCo> Ahhhh that's right
404: [01:17:02] <EasyCo> I forgot about that
405: [01:17:11] <EasyCo> Tx
406: [01:21:41] * abitran quit (Ping timeout: 248 seconds)
407: [01:22:00] * abitran has joined #silverstripe
408: [01:23:50] * zippy__ has joined #silverstripe
409: [01:28:13] <Colin[pi]> so this is canberra today: http://www.youtube.com/watch?v=a1aNGtRt_Z0
410: [01:28:41] * kerosene has joined #silverstripe
411: [01:29:44] * EasyCo quit (Read error: Connection reset by peer)
412: [01:30:08] * EasyCo has joined #silverstripe
413: [01:31:23] <simon_w> Eh :p
414: [01:33:10] <spronk> haha dang
415: [01:33:18] <Pyromanik> lulz
416: [01:33:19] <spronk> are those polystyrene panels?
417: [01:33:24] <Pyromanik> were
418: [01:33:35] <spronk> :D
419: [01:33:39] <Pyromanik> 13:16 < ss23> Client is then like "just so you know, I didn't need that work at all, I need something different"
420: [01:33:42] <Pyromanik> 13:16 < ss23> I lol.
421: [01:33:44] <Pyromanik> ikr, coz they're still paying!
422: [01:33:53] <spronk> still pisses me off
423: [01:35:11] <Pyromanik> 13:02 < spronk> Pyromanik: falling behind bro, you gotta keep up
424: [01:35:13] <Pyromanik> wha?
425: [01:35:30] <simon_w> In the fucks and giggles
426: [01:36:08] <spronk> yeah
427: [01:36:15] <spronk> you're still in the 400 count for f word usage
428: [01:36:28] <spronk> http://pastie.org/8355997
429: [01:36:36] <spronk> apparently christchurch makes swear.
430: [01:37:26] <simon_w> And then Hamilton and Canada
431: [01:38:34] <spronk> that makes sense to me.
432: [01:38:37] <spronk> ....oddly
433: [01:39:23] <Pyromanik> wholey shit spronk, streaking ahead
434: [01:39:44] <Pyromanik> spronk: wrong, I'm in the 500 count.
435: [01:39:51] <Pyromanik> 491 | Pyromanik
436: [01:39:55] <Pyromanik> 15 | Pyromanik||
437: [01:40:03] <Pyromanik> 13 | [1]Pyromanik
438: [01:40:05] <spronk> hahahah
439: [01:40:08] <Pyromanik> 11 | Pyromanik_
440: [01:40:08] <spronk> :D
441: [01:40:24] <Pyromanik> 12 | spronkey
442: [01:40:29] <Pyromanik> 11 | spronkl
443: [01:40:50] <simon_w> Hmm, mayhaps I should doctor the numbers
444: [01:40:58] <spronk> o_o
445: [01:41:27] <Pyromanik> yeh, I'm at 530 by that total
446: [01:41:48] <Pyromanik> spronk @ 568
447: [01:42:12] <Pyromanik> irogue @ 134
448: [01:42:13] <spronk> oohhh yeah
449: [01:42:14] <simon_w> simon at falling asleep
450: [01:42:20] <Pyromanik> V time!
451: [01:42:21] <spronk> i don't know whether that's a good thing..
452: [01:42:24] <spronk> RED BULL
453: [01:42:29] <simon_w> Hey irogue, send me some!
454: [01:42:34] <Pyromanik> no, we must save it for the jager
455: [01:48:40] <atmos_> Thursdays are such an odd day
456: [01:49:17] <atmos_> not quite busy enough to be Wednesday, but still have to actually do something compared to Friday :/
457: [01:49:17] <simon_w> Especially if you Sunday is 1
458: [01:54:16] <atmos_> omg web.config
459: [01:54:19] <atmos_> DIE
460: [01:57:19] * UncleCheese has joined #silverstripe
461: [02:03:14] <ss23> It's safe to fancy, oh it's safe to dance~
462: [02:03:16] <ss23> fuck
463: [02:03:20] <ss23> dance, not fancy, what the crap :/
464: [02:03:37] <Pyromanik> idek
465: [02:03:49] <Pyromanik> it's safe to dance, oh it's safe to dance?
466: [02:04:01] <Pyromanik> also
467: [02:04:10] <Pyromanik> how the fuck why php omg everything but
468: [02:04:51] <Colin[pi]> lik dis if u cry everytim
469: [02:06:52] <Pyromanik> array_intersect_key(["key1"=>'yesplz', "irrelevant"=>'k'], ["key1", "key2"]) SHOULD give me ["key1"=>'yesplz'] right?
470: [02:09:28] * DesignerX has joined #silverstripe
471: [02:10:28] <Pyromanik> because it's giving me [] :(
472: [02:11:21] * MichaelDesignerX quit (Ping timeout: 252 seconds)
473: [02:11:29] <Pyromanik> oh, I mean array_intersect_key(["key1"=>'yesplz', "irrelevant"=>'k'], array_flip(["key1", "key2"]))
474: [02:14:21] <Pyromanik> oic, works now.
475: [02:15:10] <simon_w> We're at impasse here, maybe we should compromise.
476: [02:15:26] <Pyromanik> how so simon_w ?
477: [02:15:37] <simon_w> ALL WE WANT TO DO IS EAT YOUR BRAINS
478: [02:15:52] <Pyromanik> There are zombies on your lawn
479: [02:16:16] <Pyromanik> www.youtube.com/watch?v=0N1_0SUGlDQ
480: [02:16:22] <Pyromanik> ?
481: [02:17:00] <simon_w> http://www.youtube.com/watch?v=AjcH2UmK1uo
482: [02:17:26] <simon_w> Song actually starts about 1:15 in
483: [02:21:38] <Pyromanik> oic
484: [02:24:51] * simon_w shuns ss23 some more
485: [02:29:34] <spronk> HA
486: [02:29:38] <spronk> no wonder i've been so productive today
487: [02:29:39] <spronk> no twitter
488: [02:32:49] <simon_w> You should try no IRC too
489: [02:32:51] <simon_w> It's great
490: [02:33:51] <spronk> nah
491: [02:33:55] <spronk> i'd explode in a fit of swear words
492: [02:35:49] <simon_w> It'll be hilarious!
493: [02:36:01] <simon_w> You should film it and put it on the you tubes
494: [02:36:23] <spronk> :D
495: [02:36:31] <spronk> there was a time when i wasn't so angry
496: [02:36:31] <ss23> spronk: wah
497: [02:36:33] <ss23> simon_w*
498: [02:36:33] <ss23> :<
499: [02:36:40] <spronk> i hardly remember such days.
500: [02:36:50] <spronk> it was before subsites
501: [02:37:00] <simon_w> Back when life was simple
502: [02:37:15] <spronk> yeah. and there was only one website in a cms install
503: [02:37:23] <spronk> those were the days
504: [02:37:51] <simon_w> And there was an inbuilt image editor
505: [02:39:23] * abitran quit (Ping timeout: 248 seconds)
506: [02:39:33] * abitran has joined #silverstripe
507: [02:41:46] <simon_w> Green bar!
508: [02:43:54] <Colin[pi]> is there a method to compare a range of attribs on DO's?
509: [02:44:01] <Pyromanik> 14:37 <@simon_w> And there was an inbuilt image editor
510: [02:44:05] <Pyromanik> rofl yeh, hardcore!
511: [02:44:12] <Pyromanik> dat flash, 2.2 you rock my world
512: [02:44:29] <Pyromanik> Colin[pi]: no.
513: [02:44:34] <Colin[pi]> k :(
514: [02:44:35] <Pyromanik> ..t that I know of
515: [02:44:40] <Colin[pi]> so it's: if ($do->Address == $otherDo->Address && bla && bla & bla) ?
516: [02:44:42] <simon_w> Back when the 2.x design was new and hip
517: [02:44:46] <simon_w> How little's changed
518: [02:45:33] <Colin[pi]> my 2.x looks new and hip ;P
519: [02:45:39] <Colin[pi]> because I reskinned the shit out of the cms
520: [02:45:41] <Colin[pi]> ;)
521: [02:45:53] <atmos_> needs moar flat design
522: [02:46:01] <Pyromanik> need to upload an image, base64encode it and send it to an API without storing it in our assets. Possible? Or do all images go into assets?
523: [02:46:12] <Pyromanik> atmos_: datflat.
524: [02:46:26] <simon_w> Colin[pi], $t = true; foreach(['Address', 'Blah', 'OtherBlah'] as $k) { if($do->$k != $otherDo->$k) { $t = false; break; } } if($t) { ... }
525: [02:46:41] <Pyromanik> Colin[pi]: ^ extensible.
526: [02:46:46] <Pyromanik> you and your silly ifs.
527: [02:46:49] <Colin[pi]> yeah that's how I'm doing it now, cheers simon
528: [02:47:07] <simon_w> Pyromanik, UploadField and grab the thing out of $_FILE. So long as you don't ->saveInto(), isn't moved and is deleted at the end of the request
529: [02:47:18] <Pyromanik> simon_w: truedat, thanks!
530: [02:47:38] <simon_w> Colin[pi], Personally, I'd drop the $t and use a goto inside the if to jump past whatever it is you want to do
531: [02:47:45] <simon_w> You know, like a real if
532: [02:48:22] <Colin[pi]> coo
533: [02:48:23] <simon_w> Colin[pi], foreach(['Address', 'Blah', 'OtherBlah'] as $k) { if($do->$k != $otherDo->$k) { goto nope; } } /* your stuff */ nope:;
534: [02:48:37] <Colin[pi]> though I'm not a fan of goto :)
535: [02:48:46] <simon_w> Well, you should be!
536: [02:48:52] <Colin[pi]> this is what our reskinned 2.4 cms looks like: http://i.imgur.com/K9nEx5q.png
537: [02:48:52] <simon_w> gotos are awesome
538: [02:49:11] <atmos_> Colin[pi]: holy crap
539: [02:49:28] <Colin[pi]> atmos_: we did a CRAP load of work on it, and I mean a crap load
540: [02:49:44] <atmos_> Colin[pi]: GIVE ME ALL THE THINGS
541: [02:49:46] <Colin[pi]> it's all overridden with CSS, very little core hax
542: [02:49:54] <atmos_> that's actually how I'd prefer 3.x to look
543: [02:50:07] <Colin[pi]> tbh I'm not a fan of the 3.x gui :(
544: [02:50:26] <atmos_> Colin[pi]: neither
545: [02:50:54] <Colin[pi]> maybe I'm old skool but I like the kinda "application" look
546: [02:51:01] <Colin[pi]> desktop, traditional app anyway
547: [02:51:08] <atmos_> Colin[pi]: what was the driving factor behind reskinning? That sort of thing can get pretty expensive
548: [02:51:13] <simon_w> Our CMS looks like https://files.app.net/pl8bvGDw.png
549: [02:51:42] <Colin[pi]> atmos_: 2 things really, a) we had standardised on 2.4 at the time, and b) it REALLY needed a freshening up
550: [02:51:47] * SightUnseen has joined #silverstripe
551: [02:52:07] <Colin[pi]> atmos_: it took about a month to get it from vanilla 2.4 to that
552: [02:52:23] <Colin[pi]> a lotttt of trial and error
553: [02:52:33] <atmos_> Colin[pi]: not bad
554: [02:52:42] <Colin[pi]> lol your cms is itunes simon?
555: [02:52:53] <simon_w> Bah, did I grab the wrong file?
556: [02:52:56] <atmos_> I remember working on a reskin at my old internship and it was a nightmare
557: [02:53:01] <simon_w> Yup
558: [02:53:14] <Colin[pi]> atmos_: it was painful yes :) but man what a feeling when it was finished
559: [02:53:33] <simon_w> https://files.app.net/plkbox7U.png that's our CMS
560: [02:54:03] <atmos_> simon_w: what is it?
561: [02:54:13] <Colin[pi]> that's functional simon_w, but it looks "web pagey" still, not that there's a problem with that
562: [02:54:13] <simon_w> That's 2.4
563: [02:54:21] <Colin[pi]> oh that's 2.4?
564: [02:54:38] <atmos_> simon_w: wow, it looks like the very first azure gui
565: [02:54:39] <simon_w> There's like four adminy-forms
566: [02:54:54] <Colin[pi]> but that would be a custom module, not a CMS reskin, right?
567: [02:54:54] <simon_w> And a bit of stats
568: [02:55:03] <simon_w> Beyond that, everything else is frontend stuff
569: [02:55:19] <simon_w> Yeah, that's not a reskin
570: [02:55:33] <Colin[pi]> ah k, yeah we weren't up for making our own CMS lol
571: [02:55:44] <Colin[pi]> I tried to make a LeftAndMain once... it went.. well not OK
572: [02:56:04] <simon_w> And then the more advance stuff is all just me opening Sequel Pro
573: [02:56:27] <atmos_> simon_w: it looks like it's probably responsive? everything is... wide
574: [02:56:42] <Colin[pi]> if it's 2.4, unlikely?
575: [02:56:56] <Colin[pi]> though I guess simon could have used anything as his own templates
576: [02:56:58] <simon_w> Tables!
577: [02:57:32] <atmos_> heh, I've been using tables a LOT recently
578: [02:57:36] <simon_w> The graphs page is responsive, the other for are tables
579: [02:57:39] <simon_w> *four
580: [02:57:49] <atmos_> TABULAR DATA
581: [02:58:03] * travis-ci has joined #silverstripe
582: [02:58:04] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1048 (3.0 - 9b1211f : Sean Harvey): The build was broken.
583: [02:58:04] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ffb316dbc987...9b1211f071a2
584: [02:58:04] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11807170
585: [02:58:04] * travis-ci has left #silverstripe
586: [02:58:10] <simon_w> Pretty much
587: [02:58:11] <Colin[pi]> yeah I see articles sometimes about HOW TO MAKE TABLES WITHOUT TABLES lol
588: [02:58:20] <Colin[pi]> um that's what they're for
589: [02:58:21] <Colin[pi]> hehe
590: [02:58:21] <simon_w> The tables are all almost entirely directly outputted from a SQL query
591: [02:58:43] <atmos_> when I left tech I was one of those guys
592: [02:58:57] <atmos_> now I love tables :D
593: [02:59:04] <Pyromanik> goto: jobsecurity
594: [02:59:06] <simon_w> Tables are great, gotos are great
595: [02:59:30] <Colin[pi]> 10 PRINT "MYER SUCKS" 20 GOTO 10
596: [02:59:51] <simon_w> JS is still an abomination
597: [02:59:54] <atmos_> simon_w: they are, until you promise a client that inline editing is 'easy' to implement
598: [03:00:13] <simon_w> atmos_, don't have clients. Problem solved! :p
599: [03:00:24] * SightUnseen has left #silverstripe
600: [03:00:39] <atmos_> simon_w: XD
601: [03:00:58] <simon_w> And we've gotten very good at pretending to say yes but really saying no to our users
602: [03:01:10] * coldblooded01 quit (Quit: coldblooded01)
603: [03:01:36] <Pyromanik> "we hear you, but no."
604: [03:01:59] <simon_w> "We've moved this into our project management system for potential scheduling for a later release"
605: [03:02:14] <simon_w> Or something like that. I'll get the actual wording
606: [03:02:42] <simon_w> "We appreciate your assistance in improving PocketRent and we're happy to say that your suggestion has been moved to our project plan and is being reviewed for a future release."
607: [03:02:55] <Colin[pi]> iow: "yeah nah"
608: [03:03:24] <simon_w> yup
609: [03:03:25] <atmos_> our BIA is pretty good at making sure the business prop is specd up before hand, anything extra and we just smile and say 'that would be nice'
610: [03:03:26] <simon_w> Works great :D
611: [03:04:35] <longtips> can i not use array_map(f(){}, DataObjectFoo::get())
612: [03:04:44] <longtips> is there a way to get an array back, or do i need to use a foreach outside of it
613: [03:05:36] <simon_w> longtips, there's ->filterByCallback()
614: [03:05:43] <simon_w> Which is more an array_filter
615: [03:06:06] <longtips> i'm generating a pretty print of keys from all the do's
616: [03:06:09] <longtips> so i kinda want map
617: [03:07:10] <ss23> http://i.imgur.com/tFB8PQg.png
618: [03:07:14] <ss23> is this good?
619: [03:07:20] <simon_w> Then you'll need to loop over it
620: [03:07:24] <Pyromanik> rofl
621: [03:07:49] <Pyromanik> ss23: booting windows on your mac?
622: [03:08:04] <ss23> Naw, this is a govnerment server, need to run Windows to get on their VPN to access it
623: [03:08:16] <Pyromanik> oic
624: [03:08:23] <Pyromanik> thus IE usage I guess
625: [03:08:27] <ss23> mmmm
626: [03:09:02] <simon_w> Home time!
627: [03:09:44] <ss23> wtf early
628: [03:09:47] <ss23> I haven't even had lunch!
629: [03:13:27] <Pyromanik> lol
630: [03:13:34] <Pyromanik> because you get up at lunch time
631: [03:19:25] <Colin[pi]> jeez the number of hax I've done to this ss shop, to get it functional :\
632: [03:20:08] <ss23> Pyromanik: NO LIES!
633: [03:20:09] <ss23> :D
634: [03:20:11] <ss23> I mean
635: [03:20:12] <ss23> No, lies!
636: [03:20:13] <ss23> fuck
637: [03:20:15] <ss23> anyway, going to get noms
638: [03:20:18] <ss23> bbiab
639: [03:20:20] <ss23> Hope this server doesn't die while I'm out
640: [03:21:24] <Colin[pi]> tempt fate, what's the worst that could happen?
641: [03:26:55] <atmos_> email templates! yay! fun times!
642: [03:29:27] <atmos_> anyone ever used ArcGIS?
643: [03:34:46] <Colin[pi]> no sir
644: [03:35:43] <atmos_> seems not many people have :/
645: [03:36:53] <Colin[pi]> i don't have time to try a lot of different things :\
646: [03:37:10] <Colin[pi]> I need to keep my focus narrow or it just never ends
647: [03:38:06] <atmos_> Colin[pi]: lucky...kinda. I have to switch between .Net, SQL, Reporting Services and SS everyday o.O
648: [03:38:38] <Colin[pi]> nope, my brain would implode
649: [03:41:09] <Pyromanik> ASPLOSHUNZ!
650: [03:41:10] * jg has joined #silverstripe
651: [03:43:21] <DryerLintPurple> atmos_: many people who need to work with maps a lot have. :P
652: [03:44:02] <DryerLintPurple> I've got a copy of ACD Canvas, which I'm pretty sure can open ArcGIS files, but that's about the extent of my knowledge
653: [03:44:36] <atmos_> DryerLintPurple: yeah I just haven't come across many that use it specifically
654: [03:45:06] <atmos_> DryerLintPurple: or better yet, use their JS api
655: [03:45:14] <DryerLintPurple> yeah no
656: [03:46:43] <Colin[pi]> sigh
657: [03:46:46] <Colin[pi]> if($(this).attr('checked') == true) {
658: [03:46:50] <Colin[pi]> bro do you even javascript
659: [03:47:15] <Colin[pi]> like the 1000th bug I've fixed in this shop
660: [03:49:00] <atmos_> which shop?
661: [03:49:03] <Colin[pi]> ss-shop
662: [03:49:14] <Colin[pi]> *mostly* it works, some parts not :)
663: [03:49:26] <atmos_> ecomm?
664: [03:49:30] <Colin[pi]> yea
665: [03:50:12] <atmos_> I've resigned to only using shopify for that now. datthemetool
666: [03:50:23] <Colin[pi]> yeah I should have too lol
667: [03:50:24] <Pyromanik> Colin[pi]: that's not a bug?
668: [03:51:04] <Pyromanik> and has nothing to do with the user knowing JS or not.
669: [03:51:21] <Pyromanik> more like "bro, do you even jQuery"
670: [03:51:24] <Colin[pi]> $(this).attr('checked') does not return a boolean
671: [03:51:28] <Colin[pi]> $(this).attr('checked') returns "checked"
672: [03:51:30] * cloph has joined #silverstripe
673: [03:51:32] <Colin[pi]> (if it's checked) ;)
674: [03:51:42] * cloph_away quit (Ping timeout: 264 seconds)
675: [03:51:44] <Pyromanik> Colin[pi]: yeah, but if $ isn't jquery...
676: [03:51:53] <Colin[pi]> and you're right yes, s/javascript/jquery
677: [03:52:00] <Pyromanik> indeed :>
678: [03:52:16] <Pyromanik> DO YOU EVEN NO DA JQUERY LANGWICH?
679: [03:52:37] <Pyromanik> ner brah, I only the javascript library
680: [03:52:53] <Colin[pi]> I accidentally the javascript library
681: [03:53:18] <Colin[pi]> you know when you and then well I accidentally the WHOLE THING
682: [03:53:40] <Pyromanik> <script type="text/java">boolean allTheJava() { return true; }</script>
683: [03:53:52] <Pyromanik> java == javascript right?
684: [03:54:06] <Pyromanik> assertEquals(java, javascript)
685: [03:54:19] <Colin[pi]> lol I had a tech mgr once who said we should limit our use of JS in the pages because "the client needs to load the JVM"
686: [03:54:24] <Colin[pi]> yes he was serious
687: [03:54:56] <DryerLintPurple> incidentally, only about 10 minutes ago I sent an e-mail to a recruiter asking her to clarify whether she meant java or javascript. -_-;
688: [03:55:04] <spronk> christ I hate chip cards
689: [03:55:08] <Colin[pi]> AND DO YOU KNOW HMTL?
690: [03:55:22] <Colin[pi]> that's hyper markup text langwich!
691: [03:55:28] <EasyCo> XSLT?
692: [03:55:38] <spronk> mmmm
693: [03:55:40] <spronk> hypertext markup sandwich
694: [03:55:49] <ss23> What's this?
695: [03:55:51] <ss23> XSLT?
696: [03:55:52] <ss23> http://www.lysator.liu.se/~jc/brainfuck.xslt.html
697: [03:55:52] <ss23> :)
698: [03:56:03] <DryerLintPurple> she mentioned java and angular, I assume she meant angularjs for the latter
699: [03:56:07] <Colin[pi]> I had a cringe moment a few days ago when a client referred repeatly to SS as "Silverlight" :(
700: [03:56:11] <spronk> oh that's disgusting
701: [03:56:21] * Jayden90 has joined #silverstripe
702: [03:56:30] * abitran quit (Ping timeout: 264 seconds)
703: [03:56:35] <Pyromanik> DryerLintPurple: fucking recruiters are the scum of the earth.
704: [03:56:40] <atmos_> Colin[pi]: yeah we get that all the time
705: [03:56:52] <Pyromanik> 0 fucks given about people
706: [03:56:52] <DryerLintPurple> Pyromanik: no shit, but when you need a job... :|
707: [03:56:55] <Colin[pi]> atmos_: *shudder* :(
708: [03:57:01] <Pyromanik> even the ones that say "we care about the people"
709: [03:57:18] <Pyromanik> DryerLintPurple: I find it easier to peddle my own wares
710: [03:57:19] * abitran has joined #silverstripe
711: [03:57:27] <spronk> blame fucking netscape
712: [03:57:34] <Pyromanik> Only ever met one recruiter who was a good chap
713: [03:57:44] <Pyromanik> and it wasn't a woman. Which most of them seem to be.
714: [03:57:46] <spronk> there's a guy that works for kelly who is alrighgt
715: [03:57:49] <spronk> alan diepram?
716: [03:57:52] <Pyromanik> spronk: that's the guy
717: [03:57:53] <Pyromanik> yep
718: [03:57:59] <spronk> haha :D
719: [03:58:02] <Pyromanik> great guy
720: [03:58:05] <DryerLintPurple> most of them might as well change their official title from 'recruiter' to 'pimp'
721: [03:58:11] <Pyromanik> actually went out and got me interviews.
722: [03:58:13] <atmos_> you talking about recruitment agencies?
723: [03:58:19] <Pyromanik> along with generally being a good guy.
724: [03:58:35] <atmos_> ah
725: [03:58:40] <Pyromanik> 100% of other recruiters I've dealt with were 100% full of shit.
726: [03:58:44] <atmos_> the only one I ever met was completely useless
727: [03:58:49] <Pyromanik> and that's as a recruiter, not just a prospect.
728: [03:58:50] <spronk> yeah
729: [03:59:09] <spronk> although back when i was dealing with him a lot of the places he was purveying had really low salary expectations
730: [03:59:10] <Pyromanik> I went to an agency once telling them I needed to hire someone, the wanker didn't even bother to learn my name.
731: [03:59:20] <Colin[pi]> yeah they are shit
732: [03:59:22] <DryerLintPurple> then there's the ones from India. yeah, explaining your technical qualifications when you can't even understand what the fuck they're saying? ugh...
733: [03:59:25] <Pyromanik> kept calling me darrel despite me correcting him at least 3 times.
734: [03:59:30] <spronk> ugh
735: [03:59:42] <EasyCo> Is your name Darrel?
736: [03:59:44] <Pyromanik> and handing him my business card.
737: [03:59:46] <Pyromanik> EasyCo: no.
738: [03:59:48] <Pyromanik> lol
739: [03:59:50] <Colin[pi]> haha
740: [03:59:56] <EasyCo> Oh ok just checking
741: [04:00:43] <DryerLintPurple> "Hi, I'm Not Darrel, this is my brother Not Darrel, and this is my other brother Not Darrel."
742: [04:00:50] <atmos_> LOL
743: [04:01:37] <Pyromanik> EasyCo: he wasn't even hearing impared, unlike a previous employer who thought my name was Bill for about 2 weeks until I stopped him when he went to write my pay cheque.
744: [04:01:50] <spronk> looooool
745: [04:02:13] <Pyromanik> he looked offended that I never corrected him, so I told him Bill was my nickname.
746: [04:02:15] <EasyCo> Cause Bill and Darrel are just a vowel and a consonant away
747: [04:02:45] <EasyCo> So out of curiosity, what is your name?
748: [04:03:31] <atmos_> Looks at EasyCo 's name, thinks it's EasiYo, thinks about yoghurt, gets hungy.
749: [04:05:44] <Pyromanik> EasyCo: It's not Trev.
750: [04:06:03] <EasyCo> To be so lucky...
751: [04:06:29] <Pyromanik> EasyCo: <.<
752: [04:06:50] <Pyromanik> I'm Sparticus!
753: [04:07:07] <spronk> hahahaha
754: [04:07:11] * spronk has done that before too, atmos_
755: [04:08:13] <Pyromanik> Are you a big Band of Brothers fan Trev?
756: [04:08:28] <EasyCo> Probably the best mini series ever
757: [04:08:30] <EasyCo> Yes :)
758: [04:08:32] <EasyCo> Dylan
759: [04:08:52] <Pyromanik> boom, he figured it out :P
760: [04:09:22] <EasyCo> Good ol' uncle Goog's
761: [04:09:28] <Pyromanik> amusingly our last names ARE just a vowel and a consonant apart.
762: [04:09:37] <Pyromanik> EasyCo: lol sif. /whois EasyCo
763: [04:10:38] <EasyCo> You're such a IRC hacker
764: [04:11:51] <EasyCo> Wow, Wagstaff.
765: [04:11:55] <spronk> PYRO AD ME ON LINKDIN
766: [04:11:58] <EasyCo> Random
767: [04:12:02] <Pyromanik> spronk: send a req.
768: [04:12:05] <spronk> CANT
769: [04:12:09] <spronk> whats your email? :P
770: [04:12:10] <Pyromanik> ynot?
771: [04:12:13] <Pyromanik> oic
772: [04:12:14] <atmos_> lol, linkdin
773: [04:12:15] <Pyromanik> what's yours?
774: [04:12:23] <spronk> i have no idea what email i used for thingy
775: [04:12:25] <Pyromanik> allthepornspam@gmail.com
776: [04:13:33] <spronk> SENT
777: [04:13:53] <atmos_> people still use linkdin?
778: [04:13:53] <spronk> unless that isn't actually your linkedin email and LinkedIn is just giving me optimistic success messages
779: [04:14:03] <spronk> because that's totally waht I would do if I built it
780: [04:14:12] <Pyromanik> EasyCo: heh. no such thing as a nickname on the interwebs these days eh
781: [04:14:17] <spronk> "that fucker has no idea Dylan's email address isn't allthepornspam@gmail.com.. HEH HEH"
782: [04:15:24] <EasyCo> PyromaniK: Not really, what's the origin of your last name?
783: [04:15:25] <spronk> man, this sandwich is delicious. Ham, devilled pork, pepperoni, capsicum, tomato, cuke, aioli, basil pesto, parmesan, on some epic sourdough i bought from the bakery
784: [04:15:43] <atmos_> cuke?
785: [04:15:47] <spronk> umber
786: [04:16:20] <atmos_> HATE cucumber
787: [04:16:22] <Pyromanik> EasyCo: England?
788: [04:16:26] <spronk> really?
789: [04:16:34] <spronk> fresh cucumber is nice as
790: [04:16:57] <atmos_> it's like eating spicy lemonade
791: [04:17:09] <Colin[pi]> I like cuke, I like carrot... I will eat them in any way shape or form... EXCEPT on a sandwich, there they are spawn of the devil
792: [04:17:09] <spronk> shave it with a vegetable peeler and stick it in a salad
793: [04:17:20] <atmos_> actually, in a drink it can be nice
794: [04:17:24] <atmos_> I take it back
795: [04:18:16] <Colin[pi]> everytime I go to subway...
796: [04:18:24] <Colin[pi]> everything except cucumber and carrot please
797: [04:18:31] <atmos_> lol
798: [04:18:33] <Colin[pi]> *gets to carrot, covers sandwich in carrot
799: [04:18:36] <Colin[pi]> OH SORRY
800: [04:18:41] <Colin[pi]> FFFUUUUUU
801: [04:18:53] <Colin[pi]> once grated carrot is on there, you can't remove it
802: [04:18:57] <Colin[pi]> MY SUB IS COMPROMISED
803: [04:18:59] <atmos_> always extra jalopenos
804: [04:19:11] <spronk> haha
805: [04:19:15] * spronk is everything except red onion
806: [04:19:25] <Colin[pi]> atmos_: yep I ask for a ton of them
807: [04:19:39] <spronk> and i'm pretty much putting their lime and coriander sauce on everything
808: [04:19:48] <atmos_> and always add bacon unless YOU'RE A WOMAN
809: [04:20:23] <spronk> one thing to not add is avocado
810: [04:20:27] <spronk> subway's avocado always tastes foul
811: [04:20:48] <Pyromanik> Colin[pi]: you sank my sub!
812: [04:20:50] <Pyromanik> ?
813: [04:20:55] <atmos_> did you ever try the pork riblet/cardboard thing?
814: [04:20:59] <spronk> HA
815: [04:21:03] <Pyromanik> atmos_: wtf, no eww bacon & tuna
816: [04:21:04] <spronk> that thing was disgusting
817: [04:21:12] <atmos_> it was terribad
818: [04:21:28] <spronk> i have a love/hate relationship with their steak and cheese sub too
819: [04:21:30] <spronk> it's tasty
820: [04:21:33] <atmos_> they pretty much gave it away for free towards the end
821: [04:21:34] <spronk> but the steak is so artificial
822: [04:22:32] <atmos_> do they have any other fish besides tuna?
823: [04:22:37] <spronk> hmm
824: [04:22:39] <spronk> they have their seafood thing
825: [04:22:46] <spronk> they should do proper hoki fillets or something
826: [04:22:47] <Colin[pi]> that "crab" stuff?
827: [04:22:50] <spronk> would be fucking delicious
828: [04:22:56] <atmos_> yeah but that just looks like crabby jizz
829: [04:22:56] <Colin[pi]> mm hoki
830: [04:23:00] <Colin[pi]> rofl
831: [04:23:00] <spronk> in fact, that's what i'm gonna have tomorrow
832: [04:23:10] <Colin[pi]> one crabby jizz sub please!
833: [04:23:13] <spronk> cook a couple of those frozen sealord hoki fillets and stick them in a sammich
834: [04:23:19] <spronk> chomp chomp, motherfucker
835: [04:23:25] <Colin[pi]> hoki is damn good
836: [04:23:36] <atmos_> those sealord things are the tits
837: [04:23:44] <spronk> god yes
838: [04:23:55] <atmos_> one could get so fat on those things
839: [04:24:02] * spronk always has about 3 boxes of them in his freezer
840: [04:24:16] <atmos_> ha, we get them for free from a 'sailor'
841: [04:24:19] <spronk> :O
842: [04:24:45] <atmos_> they honestly cost them like 10c to make and distribute
843: [04:25:09] <spronk> :(
844: [04:25:28] <atmos_> thinks about the old days in highschool with those chicken 'cordonbleau' things
845: [04:25:39] <spronk> those were foul
846: [04:26:05] <atmos_> I couldn't decide which was worse, those or the lasagne toppers
847: [04:26:18] <spronk> you mean the congealed oils coloured like lasagne?
848: [04:26:25] <atmos_> lol
849: [04:26:39] <spronk> we had pretty decent food at high school
850: [04:26:42] <spronk> in comparison
851: [04:27:03] <spronk> reasonable pies, chicken burgers made by the school, chargrilled burgers, hot dogs
852: [04:27:07] <spronk> nachos
853: [04:27:13] <atmos_> oh yeah we had that too
854: [04:27:14] <spronk> nothing super, but yknow
855: [04:27:15] <Colin[pi]> mm school chicken burgers
856: [04:27:37] <atmos_> actually, it's where I got addicted to fantastic chicken noodle pottles
857: [04:27:56] <atmos_> school did something different to them, I swear
858: [04:28:03] <spronk> crack
859: [04:28:12] <atmos_> MSG powder
860: [04:28:26] <jg> has anyone run into problems where they need to be connected to the database in _config.php? (and if so how did you handle it?)
861: [04:28:46] <spronk> jg: you mean... in order to parse the _config.php file??
862: [04:29:11] <jg> no I need to get a value from the database but the connection doesn't exist at that point
863: [04:29:20] <spronk> ohhh
864: [04:29:21] <spronk> eesh
865: [04:29:23] <spronk> that'll be tricky
866: [04:29:43] <jg> first thought is adding: global $databaseConfig; DB::connect($databaseConfig);
867: [04:29:48] <jg> but I feel a bit dirty doing that
868: [04:29:51] <jg> (although it does work)
869: [04:29:55] <spronk> yeah...
870: [04:30:04] <atmos_> global = redflag
871: [04:30:05] <spronk> the only thing would be what ss will do when it attempts to connect on its onw later
872: [04:30:10] <UncleCheese> in 3.1 when adding an existing image… there's a tree drop down to choose a folder. Does it output escaped HTML for everyone else, or is it just me?
873: [04:30:31] <spronk> UncleCheese: adding an existing image?
874: [04:30:34] <UncleCheese> e.g.
875: [04:30:35] <UncleCheese> <span class="jstree-foldericon"></span><span class="item">Uploads</span>
876: [04:30:39] <UncleCheese> sorry, UploadField
877: [04:30:40] <spronk> oh
878: [04:30:41] <spronk> no
879: [04:30:47] <UncleCheese> wtf
880: [04:30:54] <spronk> check your error console
881: [04:31:00] <spronk> also, network, to see whether jstree is loading
882: [04:31:48] * kerosene quit (Quit: leaving)
883: [04:33:05] * anujit has joined #silverstripe
884: [04:34:11] <anujit> hi.. in silverstripe 2.4 is it possible to log in automatically after successful registration?
885: [04:39:29] * atmos_ quit (Quit: Page closed)
886: [04:42:28] * abitran quit (Ping timeout: 264 seconds)
887: [04:42:36] * abitran has joined #silverstripe
888: [04:43:03] <Pyromanik> anujit: well, if there's a hook on registration you can leverage you could log the user in I guess.
889: [04:43:19] <Pyromanik> perhaps Member::onAfterWrite()
890: [04:43:42] <Pyromanik> check if there's a member logged in already, if not, log the one just written in.
891: [04:45:00] <anujit> ok
892: [04:47:13] <anujit> Pyromanik: can you site any examle
893: [04:47:18] <anujit> example?
894: [04:47:36] <Pyromanik> anujit: no sorry
895: [04:47:51] <longtips> can i manually pull the default silverstripe css in my template
896: [04:47:58] <longtips> i just want to use the vanilla ss stuff for the login form
897: [04:48:32] <Pyromanik> huh?
898: [04:49:50] <longtips> ahh <link rel="stylesheet" href="/framework/admin/css/screen.css"> will do
899: [04:49:52] <irogue> afternoon gents
900: [04:55:04] * abitran quit (Ping timeout: 246 seconds)
901: [04:55:44] * abitran has joined #silverstripe
902: [05:02:35] * longtips is now known as LONGTIPS
903: [05:02:49] * LONGTIPS is now known as longtips
904: [05:09:33] <Pyromanik> gidday irogue
905: [05:09:38] <ss23> So...
906: [05:09:40] <ss23> Translatable right
907: [05:10:21] <ss23> It ends up doing siteconfig stuff
908: [05:10:21] <ss23> during a dev/buld
909: [05:10:21] <ss23> Doesn't work so well if you're doing a dev/build to update siteconfig
910: [05:10:21] <Pyromanik> ss23: because it's bascially subsites.
911: [05:16:12] * peterupaulo has joined #silverstripe
912: [05:16:39] <spronk> yup
913: [05:19:42] <UncleCheese> can anyone else confirm that the latest version of 3.1 is blowing up the TreeDropdownField?
914: [05:20:08] <spronk> latest version as in master, or latest version as in rc2?
915: [05:20:15] <UncleCheese> umm
916: [05:20:31] <simon_w|air> master's 3.2 though
917: [05:20:33] <UncleCheese> 3.1.x-dev
918: [05:20:43] <UncleCheese> is that the right one?
919: [05:20:44] <spronk> hmm
920: [05:20:51] <spronk> i only ahve rc2 installs
921: [05:20:57] <spronk> i'll dl
922: [05:21:00] <UncleCheese> in an upload field, hit "From files" and the list is all effed
923: [05:21:12] <UncleCheese> i just tried it on a fresh site
924: [05:21:14] <spronk> you install via composer?
925: [05:21:18] <UncleCheese> yes
926: [05:22:03] * anujit quit (Ping timeout: 250 seconds)
927: [05:22:17] * spronk composer installs
928: [05:22:48] <spronk> gimme a bit and i'll see if i can dupe
929: [05:24:14] * jg quit (Quit: Page closed)
930: [05:28:34] * DigNZ quit (Quit: DigNZ)
931: [05:33:19] * peterupaulo quit (Ping timeout: 250 seconds)
932: [05:38:32] * Error404NotFound has joined #silverstripe
933: [05:39:21] <spronk> ughh
934: [05:39:23] <spronk> stupid thing won't install
935: [05:39:29] <spronk> phpunit issues..
936: [05:39:32] <spronk> i'm sure i fixed these on another site
937: [05:39:40] <spronk> on the same freaking server
938: [05:43:34] <irogue> < Pyromanik> ss23: because it's bascially subsites.
939: [05:43:43] <irogue> spronk's the expert on that, he'll be able to help :P
940: [05:44:00] <spronk> SHH
941: [05:44:12] <spronk> grr, Fatal error: Cannot redeclare non static PHPUnit_Framework_TestCase::$dependencies as static SapphireTest::$dependencies in /var/wwwsl/experiments/ss31/framework/dev/SapphireTest.php on line 12
942: [05:44:15] <spronk> what is this crap
943: [05:44:20] <spronk> \this si phpunit 3.7.27
944: [05:44:27] <spronk> so... latest 3.7 branch :/
945: [05:48:34] * DigNZ has joined #silverstripe
946: [05:48:43] * DigNZ quit (Client Quit)
947: [05:52:07] * stecman quit (Quit: This computer has gone to sleep)
948: [06:03:40] * UncleCheese quit (Quit: UncleCheese)
949: [06:12:22] * DigNZ has joined #silverstripe
950: [06:12:22] * DigNZ quit (Client Quit)
951: [06:17:08] * abitran quit (Ping timeout: 240 seconds)
952: [06:17:16] * abitran has joined #silverstripe
953: [06:20:01] * Shrike_Finland has joined #silverstripe
954: [06:30:48] * guzzlefry has joined #silverstripe
955: [06:30:58] <guzzlefry> Quick question, possibly. :P
956: [06:31:48] <guzzlefry> Can you have an interface as a dataobject?
957: [06:32:46] <spronk> o_O
958: [06:32:48] <simon_w|air> no
959: [06:32:50] <longtips> hah
960: [06:32:51] <spronk> i wouldn't expect so
961: [06:32:55] <guzzlefry> yeah, not sure what I"m asking. :P
962: [06:32:57] <spronk> how would that even work
963: [06:33:05] <guzzlefry> it's late!
964: [06:33:11] <longtips> guzzlefry: you can say a data object subclass implements an interface
965: [06:33:16] <simon_w|air> There's the DataObjectInterface if you want an interface that a DataObject confirms to
966: [06:33:23] <longtips> interfaces in php are mostly :\
967: [06:35:50] <guzzlefry> In my case I have hard goods and digital items, digital stuff already exists kind of. I need some type of product information added to both, price namely. I may have to refactor tons of stuff though. :/
968: [06:36:38] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
969: [06:36:41] <simon_w|air> an Extension?
970: [06:36:44] <guzzlefry> I guess subclassing a Products dataobject would be the sanest route?
971: [06:36:57] <simon_w|air> Or that
972: [06:37:55] <guzzlefry> Also, kind of off-topic, but I'm going to ask anyway. :P
973: [06:38:38] <simon_w|air> Oh no, it's going to be a SS question!
974: [06:38:58] <guzzlefry> Does planning usually take up a large chunk of project time?
975: [06:39:40] <guzzlefry> Because these school classes I've taken seem to push stuff like UML and other fancy diagrams, but I don't know if those are done in real life. :P
976: [06:40:03] <simon_w|air> Well, we took about a week for planning for our current project
977: [06:40:04] <longtips> the aim is to write the least amount of code possible while maintaining clarity and code literacy, often that means not running your mouth, so to speak in code
978: [06:40:10] <simon_w|air> We're expecting to take about three months to build
979: [06:40:14] <longtips> if you are being clever, or writing a lot, you're probably doing it wrong
980: [06:51:49] * zfmf1 has joined #silverstripe
981: [06:53:22] * swordsmanz quit (Read error: Connection reset by peer)
982: [06:53:51] * swordsmanz has joined #silverstripe
983: [07:17:28] <EasyCo> What the fuck IE!
984: [07:17:53] <EasyCo> IE9 has selector limit!! Annnnnoying.
985: [07:19:12] <spronk> really?
986: [07:19:12] <spronk> :|
987: [07:19:16] <spronk> ooh wait i knew this
988: [07:19:34] <Jayden90> This is really poping my beachball
989: [07:19:34] <Jayden90> http://www.tinymce.com/tryit/3_x/html5_formats.php
990: [07:19:42] <Jayden90> can't get figcaption working
991: [07:19:44] <EasyCo> 4095 selector limit
992: [07:20:00] <EasyCo> That adds up quick when you use Zurb + Compass
993: [07:20:01] <spronk> to be honest, that's a fuckton of selectors
994: [07:20:31] <EasyCo> It is, but it's also a very large site.
995: [07:21:04] <spronk> hmm
996: [07:21:08] <spronk> break up the stylesheet
997: [07:21:39] <Jayden90> are you nesting your sass badly
998: [07:21:50] <EasyCo> Yah, will do, but it's annoying. Gotta configure my sass compiler to split the CSS files
999: [07:22:19] <Jayden90> sometimes it is intuitive to nest, ie. li in a ul, but not nessesary
1000: [07:22:30] <EasyCo> Jayden: I'd say that some stuff is overly nested (we had a junior for a while) but not too bad overall.
1001: [07:22:41] <Jayden90> fair enough
1002: [07:24:43] <spronk> my largest is barely over 3k selectors
1003: [07:25:07] <Jayden90> is there an easy way to count?
1004: [07:25:28] <spronk> well i just wc -l 'd my css file
1005: [07:25:32] <spronk> i compile down to 1 line per dec
1006: [07:26:18] <Jayden90> I have 1600 lines of sass on a typical project, compiles to around 2k lines of expanded css
1007: [07:26:44] <spronk> that's quite a bit
1008: [07:26:47] <Jayden90> ahh, not counting bourbon, etc.
1009: [07:26:51] <EasyCo> Total: 6750
1010: [07:27:09] <Jayden90> EasyCo: lines or selectors
1011: [07:27:16] <spronk> sheeeesh
1012: [07:27:17] <EasyCo> Selectors!!
1013: [07:27:23] <EasyCo> Sheesh is right
1014: [07:27:43] <EasyCo> That's insane. I'm gonna have to go over some of the other sass stuff I didn't' write
1015: [07:28:07] <spronk> yeah
1016: [07:28:13] <spronk> are you allowed to tell us the app? :P
1017: [07:28:24] <spronk> i'm presuming app
1018: [07:28:34] <EasyCo> Website
1019: [07:28:37] <spronk> :|
1020: [07:28:44] <spronk> that's one complex motherducking site
1021: [07:28:48] <Jayden90> using @extend a lot?
1022: [07:28:58] <simon_w|air> Man, even pretty printed our CSS file only comes out at 6250 lines
1023: [07:28:58] <EasyCo> It's is pretty complex
1024: [07:29:24] <EasyCo> simon_w|air: yah there's something amiss, I agree.
1025: [07:30:16] <simon_w|air> Hmm, I wonder how big our sass files are relative to that
1026: [07:30:41] <simon_w|air> 5518
1027: [07:31:41] <spronk> that's still a decent file
1028: [07:31:49] <spronk> split across how many files?
1029: [07:32:03] <simon_w|air> That's 14 sass files
1030: [07:32:09] <EasyCo> 3793 here
1031: [07:32:16] <simon_w|air> One CSS
1032: [07:32:26] <EasyCo> But that's just the app.scss :)
1033: [07:32:47] * abitran quit (Ping timeout: 260 seconds)
1034: [07:32:55] <spronk> 3315 lines here over 34 .css
1035: [07:33:08] * abitran has joined #silverstripe
1036: [07:33:24] <spronk> and our css is slooooppy
1037: [07:33:58] <simon_w|air> Ours almost always only grows, even when we can shrink it
1038: [07:34:09] <simon_w|air> New one should be a lot smaller (starting from scratch)
1039: [07:34:56] <spronk> starting from scratch eh
1040: [07:35:04] <spronk> living dangerously
1041: [07:35:11] <EasyCo> CSS is too easy to write sloppily, sass even moreso
1042: [07:35:17] <simon_w|air> Completely new app and everything
1043: [07:35:23] <spronk> living very dangerously
1044: [07:35:30] <simon_w|air> https://pocketrent.com/pro
1045: [07:36:35] <spronk> woo
1046: [07:36:50] <spronk> android 4+
1047: [07:36:58] <spronk> good call
1048: [07:37:04] <simon_w|air> Oh right, we don't hate ourselves :)
1049: [07:37:45] <spronk> ugh
1050: [07:37:46] <spronk> k
1051: [07:38:00] <spronk> i have no idea wtf to do to fix that phpunit error
1052: [07:38:22] <spronk> i installed a new version of phpunit a while ago, and thought it fixed it, but apparently it's still a problem for new silverstripe installs :/
1053: [07:38:29] <spronk> or at least, from composer 3.1.x-dev anyway
1054: [07:40:06] <EasyCo> 5126 now!
1055: [07:40:11] <EasyCo> Getting there :)
1056: [07:40:33] <spronk> ha
1057: [07:40:37] <spronk> what did you do?
1058: [07:40:48] <EasyCo> Compass and Zurb are just all loaded.
1059: [07:40:58] <EasyCo> So I'm just picking the files that we use/need
1060: [07:41:09] <simon_w|air> spronk, try composer require --no-update phpunit/phpunit 3.7.*; composer update --no-dev?
1061: [07:44:35] <spronk> hmm, but my phpunit is 3.7.27..
1062: [07:46:26] <simon_w|air> Is that through PEAR?
1063: [07:46:36] <spronk> nope
1064: [07:46:38] <spronk> downloaded the phar
1065: [07:46:42] <spronk> stuck it in /usr/bin
1066: [07:46:47] <spronk> or lib/bin
1067: [07:46:50] <EasyCo> Ahhh 4180!
1068: [07:46:51] <spronk> wherever the old one was
1069: [07:46:52] <EasyCo> So close
1070: [07:46:55] <simon_w|air> So it's not in your include path then
1071: [07:47:05] <spronk> wtf phpunit is it including then :|
1072: [07:47:50] <simon_w|air> An old one, being all stupid
1073: [07:48:32] <spronk> hmm
1074: [07:48:37] * spronk runs updatedb
1075: [07:49:23] <spronk> unless there's an issue with the latest version of phpunit
1076: [07:49:30] <spronk> ^^ composer req works
1077: [07:50:03] <spronk> hmm..
1078: [07:50:39] <spronk> composer installs 2.7.27-dev
1079: [07:50:41] <spronk> 3*
1080: [07:51:14] <EasyCo> Well 4095 is gonna wait. I'm off home.
1081: [07:51:43] * EasyCo quit (Quit: EasyCo)
1082: [07:55:10] * Jayden90 quit (Quit: Jayden90)
1083: [07:57:08] * zippy__ quit (Ping timeout: 240 seconds)
1084: [07:57:37] * zippy__ has joined #silverstripe
1085: [07:59:24] * chillu has joined #silverstripe
1086: [07:59:53] * joelpittet has joined #silverstripe
1087: [07:59:55] * abitran quit (Ping timeout: 248 seconds)
1088: [08:00:04] * abitran has joined #silverstripe
1089: [08:06:38] * lerni has joined #silverstripe
1090: [08:06:51] * Jayden90 has joined #silverstripe
1091: [08:08:12] <Jayden90> Wow this is anoying: https://github.com/silverstripe/silverstripe-framework/blob/3.1/thirdparty/tinymce/plugins/visualblocks/css/visualblocks.css#L21
1092: [08:08:23] <Jayden90> http://www.tinymce.com/tryit/3_x/html5_formats.php
1093: [08:08:50] <Jayden90> All those neet labels for the container elements, except figure captions
1094: [08:09:14] * kinglozzer has joined #silverstripe
1095: [08:10:12] <Jayden90> And why do they use base 64 background images and not :before with content
1096: [08:10:14] <Jayden90> :(
1097: [08:11:06] <Jayden90> The figcaption is the ugly duckling in even the latest version of the TinyMCE visualblocks plugin
1098: [08:11:34] * simon_w|air changed the topic to 'Welcome to #silverstripe discussion - IRC logs available: http://ss.org.nz/logs || Ask your question, don't ask about asking your question || 26th of Sept 2013: We have security releases for 2.4, 3.0 and 3.1. See http://ss.org.nz/2.4.13, http://ss.org.nz/3.0.7rc1 and http://ss.org.nz/3.1.0rc3 || Development mailing list: http://ss.org.nz/ss-dev'
1099: [08:14:13] <Jayden90> How are modifications to thirdparty stuff handled? Can we "fix" any of them? It would be a quick fix to get figcaption correctly labeled for the TinyMCE visualblocks plugin
1100: [08:16:47] * joelpittet quit (Remote host closed the connection)
1101: [08:22:00] * joelpittet has joined #silverstripe
1102: [08:22:05] * spronk2 has joined #silverstripe
1103: [08:27:17] * swordsmanz quit (Read error: Connection reset by peer)
1104: [08:28:01] * swordsmanz has joined #silverstripe
1105: [08:44:11] * Jayden90 quit (Ping timeout: 248 seconds)
1106: [08:52:06] <ss23> spronk: I have some subsites questions, can you help?
1107: [08:55:33] <longtips> what's the best way to insert <br>'s where newlines are in the rendered output of a Text / TextareaField block
1108: [08:55:44] <longtips> don't really want to make it a html block just for this
1109: [08:55:49] <longtips> client might get 'creative' on my ass
1110: [08:56:13] <longtips> i could just add a custom getting to the controller huh
1111: [08:56:14] <DesignerX> Press shift+enter when you need a new line ?
1112: [08:56:36] <longtips> guess i'll go GetAddress and have it swap newlines for <br>s
1113: [08:57:12] <kinglozzer> longtips: You mean you're using 'Text' as the data type, and you're getting \n instead of <br /> ?
1114: [08:57:21] <longtips> does it automatically convert it?
1115: [08:57:28] <longtips> (i haven't run the code yet, i was just thinking ahead)
1116: [08:57:46] <kinglozzer> You'll need a custom getter, or use 3.1
1117: [08:58:03] <longtips> 3.0.5 here, i'll add a getter
1118: [08:58:19] <longtips> also congrats on NZ in getting silver in the americas cup
1119: [09:12:39] * guci0 has joined #silverstripe
1120: [09:12:49] <guci0> Hello moto!
1121: [09:17:15] <simon_w|air> chillu, did I miss the bit where we actually had a 3.0.6?
1122: [09:17:39] <chillu> Yes you did. Well, we had it yesterday, but didn't make a big announcement
1123: [09:19:36] <chillu> argh travis is down - well, i'll leave the core tests broken then ;)
1124: [09:32:56] <ss23> lol
1125: [09:33:00] <ss23> 21:19:03 <@simon_w|air> chillu, did I miss the bit where we actually had a 3.0.6?
1126: [09:33:04] <ss23> You're not the only one who noticed
1127: [09:33:04] <ss23> :P
1128: [09:36:03] <chillu> Alright, alright. I've announced it now ;)
1129: [09:38:04] * simon_w|air changed the topic to 'Welcome to #silverstripe discussion - IRC logs available: http://ss.org.nz/logs || Ask your question, don't ask about asking your question || 26th of Sept 2013: We have security releases for 2.4, 3.0 and 3.1. See http://ss.org.nz/2.4.13, http://ss.org.nz/3.0.7rc1 http://ss.org.nz/3.0.6 and http://ss.org.nz/3.1.0rc3 || Development mailing list: http://ss.org.nz/ss-dev'
1130: [09:38:14] <simon_w|air> Yay, still all fits
1131: [09:43:58] <guci0> Oooo :)
1132: [09:44:12] <guci0> It's time!
1133: [09:50:28] * micmania1 has joined #silverstripe
1134: [09:54:38] <micmania1> Anybody know of a cookie policy popup type module?
1135: [09:55:41] <kinglozzer> https://github.com/arambalakjian/Cookie-Bar
1136: [09:56:13] <micmania1> cool, cheeras
1137: [09:56:18] <micmania1> cheers even
1138: [09:56:36] <kinglozzer> No problem
1139: [09:57:06] * kinglozzer shouldn't be allowed near css
1140: [09:57:25] <Marvanni> Any best practice ideas when to use Roles and when to just assigning Permissions to Groups?
1141: [09:57:35] <kinglozzer> I spend about 10 minutes styling something, then another 50 minutes refactoring everything to try and make it re-useable
1142: [10:45:33] * zippy__ quit (Quit: zippy__)
1143: [10:48:34] <micmania1> Apologies, but has anybody ever used the CMS with IE9?
1144: [10:49:05] <micmania1> more specifically the html editor. It seems to lock on to paragraphs.
1145: [10:50:02] <micmania1> I think its by design, but just curious. I'll get a screenshot
1146: [10:50:51] * longtips is now known as n2701
1147: [10:51:41] <micmania1> http://postimg.org/image/viqkp7avx/ - is that normal?
1148: [11:12:13] <guci0> try examples of raw tinyMCE, maybe in templates are some css to this. I can't check – I don't have IE9 :)
1149: [11:12:46] <guci0> I don't think so that is bug or smt.
1150: [11:21:38] * jonb_ has joined #silverstripe
1151: [11:21:44] * chillu quit (Quit: chillu)
1152: [11:22:51] <jonb_> Hello, I'm new to Silverstripe. I was wondering if there is any way to move the notification window in the admin area. Right now it covers all the tabs of the page editor, so I have to wait for a long time or click the really small X every time I want to go to a tab to do relationship-editing after saving the page when doing changes to the content for instance
1153: [11:24:50] <jonb_> (And the alert() that pops up every time one changes a page type, is that really necessary? It's awful to use alert() in an otherwise so nice and sleek admin interface imo)
1154: [11:32:03] * ARNHOE has joined #silverstripe
1155: [11:34:54] * chillu has joined #silverstripe
1156: [11:36:05] * abitran quit (Ping timeout: 248 seconds)
1157: [11:36:15] * abitran has joined #silverstripe
1158: [11:55:40] * osterlaus has joined #silverstripe
1159: [11:57:50] <Colin[pi]> ping
1160: [12:03:33] * UndefinedOffset has joined #silverstripe
1161: [12:14:53] * joelpittet quit (Remote host closed the connection)
1162: [12:31:12] * Nezure has joined #silverstripe
1163: [12:32:20] <Nezure> Hello, I've been struggling with silverstripe which i'm using for a project in school for weeks. I wonder if there's any lovely person who would like to help me with getting started with generating pages
1164: [12:52:51] * Shrike_Finland quit (Quit: Leaving.)
1165: [12:57:07] * discorpia has joined #silverstripe
1166: [12:57:39] <discorpia> i'm having major issues with file uploads in the admin, but i'd be content if someone told me how to stop silverstripe from screwing with the filenames of the uploaded files
1167: [12:58:12] <discorpia> when uploading certification documents it strips the last part etc, and adds a duplicate number (which is fine i guess, i need to clean out the upload folder i suppose)
1168: [12:58:24] <discorpia> but shortening the filename is really not ok, how do i prevent that=?
1169: [12:59:00] <discorpia> there is a major difference between Certifikat_6_SG3F_06-688.pdf and assets/Uploads/Certifikat-2-RG-PERFO-06-3.pdf
1170: [12:59:16] * Guits quit (Read error: Connection reset by peer)
1171: [12:59:34] <discorpia> i _assume_ it interprets the -688 at the end as a duplicate counter and simply replaces it, but that's just not acceptable at all.. how do i fix it?
1172: [12:59:37] * Guits has joined #silverstripe
1173: [13:00:53] <discorpia> for now i'll just let the client upload them to a dedicated directory and then loop that directory with dir()
1174: [13:08:19] * DesignerX quit (Ping timeout: 260 seconds)
1175: [13:21:49] * Error404NotFound has joined #silverstripe
1176: [13:26:42] <Nezure> Anyone know how to generate pages? I kinda have the code for it but I have no clue about where to place it.
1177: [13:27:56] <discorpia> how come Files have both filename and title(display name) and folders don't? this is so frustrating, i must be missing something obvious
1178: [13:28:33] <spronk2> it was just a design decision
1179: [13:29:21] <spronk2> discorpia: silverstripe assumes you don't care all that much about the exact filename
1180: [13:32:23] <discorpia> hmm ok, not sure why someone wouldn't care about the exact filenames but thanks. i'll just go with a fully fsbased solution and hide the entire "Files"-pane in admin
1181: [13:34:36] <spronk2> well, there's probably a way to stop the behaviour
1182: [13:34:45] <discorpia> i'm guessing i'm missing something vital and there has probably been lots of changes to 3.x
1183: [13:35:17] <discorpia> well, i've tried too many hacks already. i tried using a multiple fileupload-field only to get no icons/buttons/previews ones the file were uploaded (everything up until that point worked great though)
1184: [13:35:56] <discorpia> and also tried using gridbulkedit module which i've used for images before in 3.x, but too many weird errors and extremely hard to debug anything in the admin so gave up
1185: [13:37:09] <discorpia> already spent approx 6h trying to get this working so i'll just go the manual way and look into it at a different time when i don't have a deadline/other things to do, because now i'm just irritated of all the weird errors i've been having
1186: [13:37:15] <spronk2> http://api.silverstripe.org/3.1/source-class-Upload.html#2-286
1187: [13:37:25] <spronk2> there's a boolean $replaceFile
1188: [13:37:52] <discorpia> and things like synching files and uploading in admin doesn't treat them the same way, so half of them are renamed and the others arent, and half of them got decent timestamps, title etc and the synched one doesn't, which i see absolutely no reason for
1189: [13:38:22] <spronk2> hmm, i've never really looked too deeply into the way SS handles files
1190: [13:38:28] * spronk2 makes mental notes
1191: [13:39:03] <discorpia> thanks for the link [and the feedback], will save it for later
1192: [13:39:25] <discorpia> this morning i was like "oh you want a pdf file vault? np!"
1193: [13:39:32] <spronk2> heh
1194: [13:39:57] <spronk2> thing is, they can choose what filename to use when they download it anyway
1195: [13:40:02] <spronk2> so it's somewhat futile
1196: [13:40:04] <kinglozzer> Nezure: What do you mean 'generate pages'?
1197: [13:40:30] <Nezure> I need to mass generate pages to bench mark
1198: [13:40:46] <Nezure> like do some kind of programmatical script for creating pages
1199: [13:40:47] <discorpia> spronk2: yeah but if the filename got lost on the way then it's really hard to know, and with these iso certs it's a _biiig_ deal, as in getting fined high amounts of money, if you get the numbers wrong
1200: [13:41:16] <spronk2> get the filename numbers wrong?
1201: [13:41:28] <spronk2> or you mean down the track
1202: [13:41:30] <kinglozzer> Nezure: You could create a controller action and put the code in there
1203: [13:41:47] <discorpia> spronk2: so changing "3-688.pdf" to "3-2.pdf" rather than say "3-688 (2).pdf" because there was already one uploaded with that name just doesn't cut it
1204: [13:42:17] <discorpia> spronk2: and replacing all underscores with dashes etc is also just.. i don't know.. uncalled for.
1205: [13:42:28] * joelpittet has joined #silverstripe
1206: [13:42:43] <discorpia> if i ever get the time i'll look through the archives of the mailing list and see if there is something there explaining basic assumptions that i've missed
1207: [13:43:06] <Nezure> Thing is: I don't find where to put that controller, yup im pretty much of a beginner but i've tried to find the information through documentation but didn't quite get it
1208: [13:43:27] <spronk2> i wonder why it strips the filename
1209: [13:44:25] <spronk2> discorpia: this is uploading a file that doesn't already exist in filesystem ?
1210: [13:44:36] <discorpia> spronk2: no, that example was when it existed
1211: [13:44:41] <spronk2> ah
1212: [13:44:48] <spronk2> any problems where it doesn't already exist?
1213: [13:45:45] <discorpia> spronk2: well, it still does the underscore to dash conversion for instance, which gives a really ugly mixed set (and screws up sorting) when some files are uploaded manually and synched in Files (admin) and the other half is uploaded via Files
1214: [13:46:10] <spronk2> http://api.silverstripe.org/3.1/source-class-FileNameFilter.html#7-124
1215: [13:46:19] <spronk2> there's your underscore to dash
1216: [13:46:30] <spronk2> makes them more "SEO friendly" [sic]
1217: [13:46:58] <discorpia> but maybe sometime when i look at this again i will see another approach
1218: [13:47:21] <discorpia> not sure how to override FileNameFilter/where it's being called/wherew i add my own custom
1219: [13:47:24] <spronk2> http://api.silverstripe.org/3.1/source-class-FileNameFilter.html#20 read that
1220: [13:47:26] <spronk2> line 20
1221: [13:47:41] <discorpia> oh
1222: [13:47:41] <spronk2> stick a thing in your YAML config and it magically stops replacing stuff
1223: [13:47:46] <discorpia> too late now
1224: [13:47:55] <spronk2> yeah
1225: [13:47:57] <discorpia> but thank you very much for pointing it out
1226: [13:48:08] <spronk2> i have this same problem with silverstripe often :P
1227: [13:48:27] * Colin[pi] quit (Ping timeout: 260 seconds)
1228: [13:48:29] <spronk2> i've basically resorted to finding the source code for anything that seems problematic and reading source comments
1229: [13:48:40] <spronk2> lots of otherwise hidden docs can be found there
1230: [13:48:52] <kinglozzer> Nezure: If you follow the tutorials, you create a 'Page' class and a 'Page_Controller' class
1231: [13:48:54] <discorpia> i did not see that, but i was in no position to start reading the actual sourcefiles, i was hoping this woul d be over in 2 hours, so now i have two delayed projects that needs to get done today as well and i'm beginning to regret ever meddling with it
1232: [13:49:10] <kinglozzer> You'll need to add your method to the 'Page_Controller' class
1233: [13:49:43] <spronk2> :(
1234: [13:49:49] <discorpia> i did muck about in the uploadfield.php but it didn't help me, this project doesn't really make use of the yaml files at all
1235: [13:50:17] * Error404NotFound quit (Ping timeout: 240 seconds)
1236: [13:50:45] <discorpia> it's 4pm, haven't had lunch yet because customer is waiting for the filevault, and have a facebookapp and another website to complete before the day is over. but i'm pretty sure i'll have to take a break at 8pm for training and then head back to finish up tonight
1237: [13:50:52] * osterlaus quit (Quit: Leaving.)
1238: [13:51:07] * joelpittet quit (Remote host closed the connection)
1239: [13:51:10] <spronk2> D:
1240: [13:51:23] * catcher has joined #silverstripe
1241: [13:51:27] <discorpia> atleast i can rely on dir() not doing any "magic" with the files
1242: [13:51:36] <spronk2> yeah
1243: [13:52:52] <discorpia> spronk2: thank you so much for your input, i felt like i was going crazy and absolutely nothing made any sense for a while
1244: [13:52:59] * Pyromanik quit (Ping timeout: 248 seconds)
1245: [13:53:01] <spronk2> nw
1246: [13:53:11] <discorpia> no welcome? ;D
1247: [13:53:15] <spronk2> no worries :D
1248: [13:53:24] <kinglozzer> Nezure: Here's the basic idea: http://pastie.org/8357320
1249: [13:53:38] <discorpia> ah haha, ofc. i'm more used to "np" or "yw" :D
1250: [13:53:42] * abitran quit (Ping timeout: 252 seconds)
1251: [13:53:46] <kinglozzer> The logic creating the pages might need some tweaking, though
1252: [13:54:08] <kinglozzer> You can then visit http://mysite.com/home/createpages and it'll create them
1253: [13:54:13] <kinglozzer> Obviously don't do that on a live site though
1254: [13:54:16] * abitran has joined #silverstripe
1255: [13:55:04] <guci0> I checking 3.0.6 and TIMEDIFFAGO won't work in other lang than a en. {difference} where is it? //looking
1256: [13:55:24] <Nezure> Thank you kinglozzer, a lot! Where do I save this file?
1257: [13:55:45] * Pyromanik has joined #silverstripe
1258: [13:55:55] <kinglozzer> mysite/code/Page.php
1259: [13:56:06] <Nezure> so i overwrite it?
1260: [13:56:09] <Nezure> the old one
1261: [13:56:28] <kinglozzer> Just edit it and add in the bits I've added
1262: [13:56:35] <Nezure> ok
1263: [13:56:41] <kinglozzer> I.e. the allowed_actions and the createpages function
1264: [13:56:41] <Nezure> you are the king, i'll try this
1265: [14:01:38] * joelpittet has joined #silverstripe
1266: [14:01:53] * joelpittet quit (Remote host closed the connection)
1267: [14:03:05] * Error404NotFound has joined #silverstripe
1268: [14:12:41] * Error404NotFound quit (Read error: Connection reset by peer)
1269: [14:14:02] <Nezure> kinglozzer: May I ask when this code will run? I mean, I should call the createpages function somewhere, right?
1270: [14:16:27] <kinglozzer> Nezure: It will run when you visit http://mysite.com/home/createpages
1271: [14:16:37] <kinglozzer> Or in fact http://mysite.com/any-of-your-pages/createpages
1272: [14:16:53] <kinglozzer> Which is why you shouldn't include that on a live website, just use it for testing :P
1273: [14:24:29] <Nezure> Aight :) Thanks
1274: [14:26:25] <Nezure> Im sorry for being a fool, but how do I access the sites? Are they getting stored in the database?
1275: [14:45:02] <kinglozzer> The pages? Yeah. You can see them in the database, or log into the CMS
1276: [14:46:19] <kinglozzer> Have a look at the tutorials, this is the first one: http://doc.silverstripe.org/framework/en/tutorials/1-building-a-basic-site
1277: [14:48:05] <Nezure> Aight, thanks again. Really appriciate you taking time
1278: [14:49:57] <Nezure> I get the "Job done" message as I should, but for some reason I can't find the pages in the cms
1279: [14:50:47] * abitran quit (Ping timeout: 256 seconds)
1280: [14:50:57] * abitran has joined #silverstripe
1281: [14:52:31] <kinglozzer> Nezure: If you look at the database, are they being added to the 'SiteTree' table?
1282: [14:56:15] <Nezure> The thing is, I can't see it in the CMS and I'm not sure how to get an overwiev of the database. Yup, this is embarrassing
1283: [15:17:26] <Nezure> Never mind, they show up now. Just had to change the for-loop to use <30 instead of >30 :P Thanks a lot for everything
1284: [15:20:21] <kinglozzer> No problem
1285: [15:26:07] * Nezure quit (Ping timeout: 250 seconds)
1286: [15:27:35] * ARNHOE quit (Remote host closed the connection)
1287: [15:29:26] * Nivery has joined #silverstripe
1288: [15:38:00] <guci0> Hmmm... I already done pl lang, but why CMSPagesController (main / Pages) isn't translatable? ;/
1289: [15:38:19] <guci0> Is there PLURALNAME
1290: [15:38:27] <guci0> inside SiteTree, but ...
1291: [15:38:48] <guci0> (.yml)
1292: [15:39:48] <guci0> Hmmm... Spanish works well
1293: [15:39:52] <guci0> dziwne
1294: [15:42:54] <guci0> CMSPagesController / MENUTITLE
1295: [15:48:21] * joelpittet has joined #silverstripe
1296: [15:48:37] * joelpittet quit (Remote host closed the connection)
1297: [15:49:10] * joelpittet has joined #silverstripe
1298: [15:52:25] * kinglozzer quit ()
1299: [16:00:05] * micmania1 quit (Ping timeout: 248 seconds)
1300: [16:00:57] <catcher> Is there a method available to templates to provide links to specific pages by classname?
1301: [16:01:12] <spronk2> example?
1302: [16:01:32] <catcher> In the controller, it'd be StaffPage::get()->first()->Link();
1303: [16:08:50] * zfmf1 has left #silverstripe
1304: [16:12:43] <andylockran> Hey guys - I want to write a custom function - based on the input in the first field in a CMS form, I'd like to create a new object (using the field value as the constructor) - and then use attributes from this object to fill out the rest of the form - it shouldn't submit the form, only fill it out for the admin to review.
1305: [16:15:50] * spronk2 quit (Quit: spronk2)
1306: [16:20:23] <catcher> andylockran, the other CMS fields autofill?
1307: [16:20:32] <andylockran> yeah - a bit like a postcode lookup
1308: [16:20:42] <catcher> before any submission is done?
1309: [16:20:42] <andylockran> you type in teh postcode and click a button, then it fills out your address
1310: [16:21:04] <andylockran> catcher: there could be a secondary submit button next to the relevant field
1311: [16:21:25] <andylockran> but that'd only call JS to fill the relevant fields
1312: [16:21:28] <catcher> Why do you need to create a new object after the field is filled in?
1313: [16:21:55] <andylockran> I'm working with a careers site
1314: [16:22:05] <andylockran> I've created an object called eRecruit
1315: [16:22:25] <catcher> And is this the eRecruit entry form in the CMS?
1316: [16:22:33] <andylockran> if you give eRecruite the URL for the job as the constructor, you get all the relevant fields back as methods.
1317: [16:23:26] <andylockran> at the moment admins have to fill out the form to upload to erecruit, then copy & paste into their form on the CMS
1318: [16:23:50] <andylockran> if I did populateDefaults()
1319: [16:24:55] <andylockran> then I could simply pass the single field (job url) and auto-populate the other fields upon submission
1320: [16:26:00] <catcher> I think I follow, and I don't think you need to create a new object.
1321: [16:26:24] <catcher> If you're basically calling an API, you can do that in custom js that's loaded into the CMS.
1322: [16:27:05] <catcher> Fill in postcode, click button, have js query the api, place the results in the appropriate fields with js.
1323: [16:29:55] * lerni quit (Ping timeout: 260 seconds)
1324: [16:32:09] * abitran quit (Ping timeout: 240 seconds)
1325: [16:32:17] * abitran has joined #silverstripe
1326: [16:34:02] <andylockran> is there a tutorial for how I'd populate that button only a Page object form in the CMS?
1327: [16:35:13] * jonb_ quit (Quit: Page closed)
1328: [16:38:17] * travis-ci has joined #silverstripe
1329: [16:38:18] <travis-ci> [travis-ci] ajshort/sapphire#34 (long-cms-titles - cd9a4f9 : Andrew Short): The build passed.
1330: [16:38:18] <travis-ci> [travis-ci] Change view : https://github.com/ajshort/sapphire/compare/3596892001b2^...cd9a4f9b3f32
1331: [16:38:18] <travis-ci> [travis-ci] Build details : http://travis-ci.org/ajshort/sapphire/builds/11820461
1332: [16:38:18] * travis-ci has left #silverstripe
1333: [16:38:39] <catcher> andylockran, this may help some: http://doc.silverstripe.com/framework/en/3.1/topics/javascript
1334: [16:39:29] <catcher> particularly this part: http://doc.silverstripe.com/framework/en/3.1/topics/javascript#javascript-cms
1335: [16:42:58] <andylockran> thanks
1336: [16:43:27] <andylockran> really appreciate that!
1337: [16:45:26] <catcher> np!
1338: [16:46:44] <catcher> It can be confusing the first couple times, come on back if you have Qs.
1339: [17:06:31] * chillu quit (Quit: chillu)
1340: [17:06:58] * Nivery quit (Quit: Nivery)
1341: [17:08:43] * swordsmanz quit (Quit: swordsmanz)
1342: [17:23:07] * guci0 quit (Ping timeout: 250 seconds)
1343: [17:28:30] * lerni has joined #silverstripe
1344: [17:47:41] * micmania1 has joined #silverstripe
1345: [18:05:40] * Nivery has joined #silverstripe
1346: [18:05:50] * joelpittet quit (Remote host closed the connection)
1347: [18:07:07] * micmania2 has joined #silverstripe
1348: [18:08:37] * micmania1 quit (Ping timeout: 248 seconds)
1349: [18:12:27] * nhorstmeier has joined #silverstripe
1350: [18:33:49] * nhorstmeier quit (Remote host closed the connection)
1351: [18:34:24] * nhorstmeier has joined #silverstripe
1352: [18:34:35] * nhorstmeier quit (Read error: Connection reset by peer)
1353: [18:35:04] * nhorstmeier has joined #silverstripe
1354: [18:37:44] * Nivery quit (Quit: Nivery)
1355: [18:41:32] * abitran quit (Ping timeout: 268 seconds)
1356: [18:42:05] * abitran has joined #silverstripe
1357: [18:44:45] * SightUnseen has joined #silverstripe
1358: [18:46:38] * SightUnseen has left #silverstripe
1359: [18:50:54] * chillu has joined #silverstripe
1360: [18:56:37] * micmania2 quit (Ping timeout: 248 seconds)
1361: [18:58:20] * micmania3 has joined #silverstripe
1362: [19:01:46] <micmania3> Wordpress is the primark of the internet.
1363: [19:06:00] * stillwater has joined #silverstripe
1364: [19:10:32] * nhorstmeier quit (Remote host closed the connection)
1365: [19:11:04] * nhorstmeier has joined #silverstripe
1366: [19:11:36] * nhorstmeier quit (Read error: Connection reset by peer)
1367: [19:12:19] * nhorstmeier has joined #silverstripe
1368: [19:18:10] * abitran quit (Ping timeout: 246 seconds)
1369: [19:18:48] * abitran has joined #silverstripe
1370: [19:19:13] * guci0 has joined #silverstripe
1371: [19:30:02] * nhorstmeier quit (Read error: Connection reset by peer)
1372: [19:30:38] * nhorstmeier has joined #silverstripe
1373: [19:33:50] * abitran quit (Ping timeout: 264 seconds)
1374: [19:33:59] * abitran has joined #silverstripe
1375: [19:57:53] * razzi has joined #silverstripe
1376: [19:59:50] * zfmf1 has joined #silverstripe
1377: [20:03:46] * Nightjar has joined #silverstripe
1378: [20:07:15] * Nightjar has left #silverstripe
1379: [20:12:11] * abitran quit (Ping timeout: 248 seconds)
1380: [20:12:25] * abitran has joined #silverstripe
1381: [20:16:09] * atmos has joined #silverstripe
1382: [20:27:33] * stillwater quit (Quit: Page closed)
1383: [20:34:12] * UndefinedOffset quit (Quit: Leaving.)
1384: [20:37:33] * EasyCo has joined #silverstripe
1385: [20:37:44] * lerni quit (Quit: lerni)
1386: [20:48:23] * Stomach has joined #silverstripe
1387: [20:48:57] <atmos> it's Friday!
1388: [20:51:20] <Pyromanik> FRIDAY FRIDAY FRIDAY
1389: [20:52:10] <razzi> sigh
1390: [20:52:14] <razzi> not yet , here
1391: [20:52:52] <simon_w> Sucker!
1392: [20:52:59] <atmos> gotta get down on Friday
1393: [20:53:35] * abitran quit (Ping timeout: 260 seconds)
1394: [20:53:43] <Pyromanik> ah, there we go. http://www.urbandictionary.com/define.php?term=primark&defid=6151332
1395: [20:53:44] * abitran has joined #silverstripe
1396: [20:53:46] * simon_w endorse irogue for WordPress and csh
1397: [20:54:05] <Pyromanik> 07:01 < micmania3> Wordpress is the primark of the internet.
1398: [20:54:09] <Pyromanik> suddenly more sense made.
1399: [20:54:22] * n2701 is now known as longtips
1400: [20:54:53] <Pyromanik> n2701 eh
1401: [20:54:59] <Pyromanik> whois longtips
1402: [20:55:32] <Pyromanik> n2701, sounds like a post futuristic designation.
1403: [20:55:40] <Pyromanik> I AM n2701!
1404: [20:55:52] <Pyromanik> I'm SPARTICUS!
1405: [20:55:54] <simon_w> No, I am n2701!
1406: [20:56:22] <atmos> suddenly gets reminded of Equilibrium.
1407: [20:56:52] <EasyCo> Morning
1408: [20:57:11] <Pyromanik> fuck, I think I chipped my chin :<
1409: [20:57:34] <simon_w> Amputate!
1410: [20:57:42] <razzi> are there plans to improve the fluent interface of the orm in silverstipe?
1411: [20:57:44] <Pyromanik> lulz
1412: [20:57:51] <razzi> the laravel guys seem to have nailed that.
1413: [20:57:53] <Pyromanik> razzi: how so?
1414: [20:58:01] <EasyCo> For the geeks: http://img.gawkerassets.com/img/191accgnmnevzjpg/original.jpg
1415: [20:58:18] <razzi> theirs has just a little more explicit syntax.
1416: [20:58:56] <Pyromanik> razzi: so... by 'improve' you simply mean 'make some method alias's'?
1417: [20:59:20] <razzi> yes
1418: [20:59:22] <atmos> EasyCo: if that's the one that doesn't include the Event Horizon, then I DO NOT WANT
1419: [20:59:26] <Pyromanik> wholey shit EasyCo
1420: [20:59:29] <Pyromanik> cool.
1421: [20:59:30] <razzi> and also eager loading
1422: [20:59:39] <Pyromanik> razzi: eager loading?
1423: [20:59:45] <simon_w> Pyromanik, 2.4-style
1424: [20:59:47] <Pyromanik> like the opposite of lazy loading?
1425: [20:59:48] <Pyromanik> yeh
1426: [20:59:49] <Pyromanik> why?
1427: [20:59:51] <EasyCo> Yah just stumbled on it. Pretty neat actually.
1428: [21:00:02] <razzi> so save on db queries in loops
1429: [21:00:12] <razzi> so/to
1430: [21:00:30] <simon_w> Sure, being able to turn off lazy loading of fields was supposed to be in 3.0
1431: [21:00:32] <Pyromanik> wait, you mean to say that datalist gets each item individually?
1432: [21:00:41] <simon_w> Pyromanik, nope
1433: [21:00:54] <Pyromanik> because I'm pretty sure doing a loop makes a single query at the start razzi
1434: [21:01:07] <Pyromanik> amirite simon_w ?
1435: [21:01:14] <simon_w> yes
1436: [21:01:17] <razzi> Pyromanik, what i mean is the following
1437: [21:01:35] <Pyromanik> I know some people have issues with the lazy loading sometimes, but I'm not even clear on what that usecase would be...
1438: [21:01:54] <simon_w> It's from the laziness that's aimed to save on expensive joins
1439: [21:02:13] <Pyromanik> oic
1440: [21:02:23] <Pyromanik> well, not really, but I understand the statement.
1441: [21:02:26] <simon_w> Pulls in the DataObject subclass and the class you're trying to get, skips the rest of the classes until you call a field
1442: [21:02:38] <razzi> if you have a for example has_one relationship between two classes, you can tell in laravel's fluent syntax to
1443: [21:03:13] <Pyromanik> wait, laravel is the one that's just a library of libraries right?
1444: [21:03:17] <razzi> never mind, i wanted to delete that sentence
1445: [21:03:19] * UncleCheese has joined #silverstripe
1446: [21:03:21] <razzi> and i pressed enter :/
1447: [21:03:26] <razzi> lol
1448: [21:03:31] <simon_w> Pyromanik, nope, that's Symfony
1449: [21:03:56] <razzi> Pyromanik, class1 has an has_one relation with class2 ok?
1450: [21:04:23] <razzi> when you load all class1's from db, you can tell in laravel's fluent to also get the corresponding class2's
1451: [21:04:32] <razzi> it's just a simple left join in sql
1452: [21:04:58] <razzi> it goes like Class1::with('Class2')->get()
1453: [21:05:22] <Pyromanik> seems more low level
1454: [21:05:30] * stecman has joined #silverstripe
1455: [21:05:35] <Pyromanik> Class1::with('UnrelatedClass')
1456: [21:05:37] <Pyromanik> ?
1457: [21:06:20] <Pyromanik> how does it go building and joining objects?
1458: [21:06:26] <EasyCo> How the fuck does IE9 not support placeholder text. Die IE die.
1459: [21:06:28] <Pyromanik> surely that only works for has_one scenarios?
1460: [21:06:35] <razzi> not just has_one
1461: [21:06:44] <razzi> for any relation
1462: [21:06:48] <razzi> like has_many
1463: [21:06:51] <razzi> too
1464: [21:07:09] <razzi> like i said, it performs a simple "left join" in the query
1465: [21:07:25] <simon_w> Except for a has_many and many_many, that's no longer simple
1466: [21:07:46] <razzi> well, for us users it's simple
1467: [21:08:28] <razzi> ofcourse in the code it does some processing to assign the the related objects to some variable
1468: [21:09:04] <simon_w> Also pulls a lot of redundant data out of the database
1469: [21:09:10] <Pyromanik> so it's the same as fetching 2 object lists and assigning them post query in a huge expensive foreach?
1470: [21:09:27] <Pyromanik> simply for the sake on cutting down a few queries?
1471: [21:09:28] * zfmf1 has left #silverstripe
1472: [21:09:46] <simon_w> Well, pulling in the has_ones make sense
1473: [21:10:13] <razzi> yes, now you say it, it's probably not faster with has_many than doing it yourself in a loop
1474: [21:10:18] <simon_w> Assuming you can figure out how to resolve naming conflicts and the like
1475: [21:10:24] <Pyromanik> simon_w: https://github.com/laravel/framework/blob/master/composer.json yeh, lots of libraries?
1476: [21:10:40] <razzi> but anyway, that's just one thing
1477: [21:10:50] <razzi> their where() method is also pretty nice
1478: [21:11:25] <razzi> it can accept 3 parameters, like Page::where('id','>',10)
1479: [21:13:21] <Pyromanik> so like filter('id:greaterthan', 10) ?
1480: [21:13:27] <razzi> yes
1481: [21:13:40] <Pyromanik> but you like that syntax better.
1482: [21:14:00] <razzi> it's more explicit i think
1483: [21:14:22] <simon_w> No, just less verbose
1484: [21:14:45] <razzi> laravel has it's lesser points compared to ss also
1485: [21:15:00] <simon_w> But the filter() syntax is set up to be extensible (you can add your own filters)
1486: [21:15:02] <razzi> it has no automatic db building from class
1487: [21:15:25] <razzi> you still have to create the tables yourself
1488: [21:16:51] <simon_w> We have to do that, and we're making our tables a lot more awesome than SS ever could
1489: [21:17:02] <simon_w> Did have to build our own generation system though
1490: [21:18:49] <Pyromanik> simon_w: so you have automatic building :P
1491: [21:19:01] <simon_w> It runs our SQL scripts
1492: [21:19:07] <Pyromanik> oic
1493: [21:19:20] <Pyromanik> how does it make more awesome?
1494: [21:19:47] <Pyromanik> 09:14 <@simon_w> No, just less verbose
1495: [21:19:48] <simon_w> Constraints, triggers, views, stored procedures
1496: [21:19:52] <razzi> you guys are making fun of my poor english , aren't you?
1497: [21:19:53] <Pyromanik> and less magic-stringy
1498: [21:20:03] <Pyromanik> razzi: hmm?
1499: [21:20:10] <Pyromanik> sorry I thought you were English.
1500: [21:20:13] <razzi> lol
1501: [21:20:42] <Pyromanik> what didn't you understand?
1502: [21:21:06] <Pyromanik> simon_w: what would make treedropdownfield not return any level below 2
1503: [21:21:07] <Pyromanik> ?
1504: [21:21:14] <Pyromanik> in 2.4 :<
1505: [21:21:27] <simon_w> It doesn't like you?
1506: [21:21:55] <Pyromanik> "This request has no response data available."
1507: [21:21:59] <Pyromanik> simon_w: it sure doesn't :(
1508: [21:22:15] <Pyromanik> Or more to the point, it apparently doesn't like Dutch.
1509: [21:22:46] <Pyromanik> trying to add a link in tinymce in translatable model admin
1510: [21:23:00] <Pyromanik> top level comes up ok
1511: [21:23:09] <Pyromanik> second tier loads fine
1512: [21:23:30] <Pyromanik> third... no response data :<
1513: [21:23:44] <Pyromanik> razzi: have you ever come accross this?
1514: [21:25:50] <Pyromanik> oic, it doesn't actaully load anything until 3rd tier
1515: [21:25:57] <Pyromanik> first 2 are loaded at the same time
1516: [21:26:38] <razzi> Pyromanik, no
1517: [21:26:46] <Pyromanik> ss23: why is chrome so crap?
1518: [21:27:01] <Pyromanik> razzi: :<
1519: [21:28:10] * zippy__ has joined #silverstripe
1520: [21:28:15] <Pyromanik> razzi: also if you had a 3 parameter input to filter it'd make it very hard to use an array like we can.
1521: [21:29:14] * DesignerX has joined #silverstripe
1522: [21:29:47] <simon_w> Never gonna run around and desert you
1523: [21:30:59] <Pyromanik> simon_w: can one build advanced filters in 3.1? eg (blah OR blah) AND (blah OR blah)?
1524: [21:31:16] <simon_w> filterAny!
1525: [21:31:24] <Pyromanik> simon_w: yeh, but the and in the middle...
1526: [21:31:34] <simon_w> filterAny()->filterAny()
1527: [21:31:42] <Pyromanik> cool.
1528: [21:32:07] <Pyromanik> so subsequent calls to filter* are always ANDed?
1529: [21:32:15] <simon_w> yup
1530: [21:32:35] <Pyromanik> mmkay, so what about (blah AND blah) OR (blah AND blah) ?
1531: [21:33:00] <Pyromanik> derp filterAny(array you fool) ?
1532: [21:33:11] <Pyromanik> no, because that's a bunch of ORs
1533: [21:33:13] <Pyromanik> hmm
1534: [21:33:38] <simon_w> For that you'd need to muck around with the DataQuery object using disjunctive/subjunctive subgroups
1535: [21:34:45] <Pyromanik> but it could be done, just need to make some more advanced code.
1536: [21:34:46] <Pyromanik> cool.
1537: [21:35:47] <Pyromanik> Oh great, there's my issue. LinkForm doesn't take into account the current locale.
1538: [21:35:58] <Pyromanik> err
1539: [21:36:02] <Pyromanik> translation
1540: [21:36:39] <Pyromanik> then again, how would it? it's not stored between requests :<
1541: [21:39:08] <Pyromanik> hmm, does in Page admin
1542: [21:42:10] <Pyromanik> What's different between EditorToolbar/LinkForm in page admin to modeladmin?
1543: [21:42:35] <Pyromanik> :S
1544: [21:49:33] * UncleCheese quit (Quit: UncleCheese)
1545: [21:50:05] * UncleCheese has joined #silverstripe
1546: [21:58:17] * nhorstmeier quit (Remote host closed the connection)
1547: [21:59:11] * catcher quit (Quit: Leaving)
1548: [22:17:38] <ss23> Pyromanik { display: inline-block; }
1549: [22:17:41] <ss23> where is your God now?
1550: [22:19:33] <simon_w> Behind the other couch
1551: [22:20:19] <ss23> lol
1552: [22:22:22] <Pyromanik> what just even happened
1553: [22:22:40] <UncleCheese> has the API changed for the ->getIterator() stuff in ViewableData?
1554: [22:23:28] <Pyromanik> UncleCheese: it can't.
1555: [22:23:36] * coldblooded01 has joined #silverstripe
1556: [22:23:37] <ss23> ...
1557: [22:23:47] <ss23> "can I get mod_status installed so I can easily see which requests are causing the high CPU?"
1558: [22:23:47] <UncleCheese> i thought there were some changes to it
1559: [22:23:48] <atmos> YUSSS - mapping win. FINALLY http://i.imgur.com/YD5zwHa.png
1560: [22:23:50] <ss23> "here is the access log"
1561: [22:23:51] <ss23> ASDFSADFSADFASDF
1562: [22:24:08] <Pyromanik> UncleCheese: well, afaik it's part of PHP core, so unless that changed...
1563: [22:24:11] <UncleCheese> Trying to figure out the best way to number a list of data objects in reverse order
1564: [22:24:20] <UncleCheese> so that $Pos returns #30 first and #1 last
1565: [22:24:32] <UncleCheese> but obviously it wouldn't be $Pos.. it would be my own thing
1566: [22:24:32] <simon_w> $list->reverse()
1567: [22:24:35] * abitran quit (Ping timeout: 260 seconds)
1568: [22:24:39] <Pyromanik> ^
1569: [22:24:48] <UncleCheese> but that won't affect the iterator, simon_w
1570: [22:25:00] <UncleCheese> it just means the last record is now called #1
1571: [22:25:03] <Pyromanik> so you want to iterate them forwards, but number them backwards?
1572: [22:25:07] * abitran has joined #silverstripe
1573: [22:25:08] <UncleCheese> but i need the first record to be called #30
1574: [22:25:10] <UncleCheese> or whatever
1575: [22:25:25] <UncleCheese> so it's like a countdown to #1
1576: [22:25:36] <simon_w> implement TemplateIteratorProvider then
1577: [22:25:38] <Pyromanik> decorate list, add RevPos return this.total - this.pos ?
1578: [22:25:45] <UncleCheese> that's what i was looking for
1579: [22:26:07] <UncleCheese> implement templateiterator on the DO, simon_w?
1580: [22:26:28] <simon_w> On whatever
1581: [22:26:55] <UncleCheese> any viewable data, you meanb
1582: [22:27:05] <simon_w> No, on anything
1583: [22:27:14] <Pyromanik> config magic.
1584: [22:28:26] <Pyromanik> Still not seeing why decorating applicable list won't work.
1585: [22:28:43] <simon_w> You don't have pos, and you're in the wrong scope
1586: [22:29:23] <Pyromanik> http://api.silverstripe.org/3.1/class-TemplateIteratorProvider.html
1587: [22:29:40] <Pyromanik> oic
1588: [22:29:46] <Pyromanik> Interface that is implemented by any classes that want to expose a method that can be called in any scope in a template that returns values dependant on the state of the iterator of the current scope.
1589: [22:30:55] <Pyromanik> ah, yeh. turns out that's what I meant, just didn't realise ti.
1590: [22:31:03] <Pyromanik> copy the likes of: http://api.silverstripe.org/3.1/class-SSViewer_BasicIteratorSupport.html#_Pos
1591: [22:33:33] * nickmolhoek has joined #silverstripe
1592: [22:33:34] * nickmolhoek quit (Remote host closed the connection)
1593: [22:33:48] * nickmolhoek has joined #silverstripe
1594: [22:33:58] <Pyromanik> urgh docs so vague :<
1595: [22:34:03] <ss23> :<
1596: [22:34:13] <Pyromanik> 10:17 < ss23> Pyromanik { display: inline-block; }
1597: [22:34:15] <Pyromanik> idek
1598: [22:34:16] <Pyromanik> what is
1599: [22:35:12] <Pyromanik> halp me ss23, you're my only hope
1600: [22:40:38] * travis-ci has joined #silverstripe
1601: [22:40:39] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#551 (3.0 - fbb9a44 : Ingo Schommer): The build was broken.
1602: [22:40:39] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/cec5aa5ff13b...fbb9a4449d9b
1603: [22:40:39] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/11814842
1604: [22:40:39] * travis-ci has left #silverstripe
1605: [22:48:57] <Pyromanik> om nom nom new burger join, really good.
1606: [22:49:02] <Pyromanik> go there spronk, enjoy it.
1607: [22:49:09] <Pyromanik> joint*
1608: [22:49:12] <simon_w> Or, BurgerFuel
1609: [22:49:15] <Pyromanik> nah
1610: [22:49:24] <Pyromanik> this one better.
1611: [22:49:34] <simon_w> The one there the road's no longer the closest one to Chch :(
1612: [22:49:49] <Pyromanik> simon_w: the one in Newtown is?
1613: [22:50:02] <simon_w> yeah
1614: [22:50:20] <Pyromanik> in any case, the burgers across the road are far superior to burger fuel.
1615: [22:50:33] <Pyromanik> even if only in the fact that they're actually open in Christchurch.
1616: [22:50:43] <Pyromanik> (they're actually really good anyway)
1617: [22:50:53] <Pyromanik> and no spronk, I'm not talking about the BK@Carlton
1618: [22:51:09] <Pyromanik> Trailer burgers called Red Box.
1619: [22:51:18] <Pyromanik> interestingly, the box is actually white.
1620: [22:51:34] <Pyromanik> but they open at 7am and do all day breakfast burgers
1621: [22:51:35] <Pyromanik> just had one
1622: [22:51:37] <Pyromanik> so good
1623: [22:51:45] <Pyromanik> bacon, hashbrowns, egg, sauce
1624: [22:51:52] <Pyromanik> aioli
1625: [22:51:54] <Pyromanik> NOM
1626: [22:54:43] <simon_w> BurgerFuel did one of those
1627: [22:54:45] <simon_w> Was delicious
1628: [22:55:56] <Pyromanik> can get it all day, so good.
1629: [22:56:41] <UncleCheese> what am I missing?
1630: [22:56:49] <UncleCheese> MyDataObject implements TemplateIteratorProvider
1631: [22:56:56] <Pyromanik> dev/build
1632: [22:57:05] <UncleCheese> public function iteratorProperties($pos, $totalItems) { die('wtf');}
1633: [22:57:54] <Pyromanik> UncleCheese: find out how BasicTemplateIterator applies itself to lists.
1634: [22:58:06] <Pyromanik> because neither datalist nor arraylist impelment it.
1635: [22:58:10] <UncleCheese> right
1636: [22:58:18] <Pyromanik> so... dunno.
1637: [22:58:26] <Pyromanik> unlock that secret and you'll be in business.
1638: [22:58:36] <UncleCheese> SSViewer_BasicIteratorSupport is where all the stuff we're used to using comes from
1639: [22:58:38] <UncleCheese> i don't really get it
1640: [22:59:00] <simon_w> UncleCheese, got the static method returning things too?
1641: [22:59:09] <UncleCheese> yeah
1642: [22:59:11] <UncleCheese> well
1643: [22:59:22] <UncleCheese> the static method just returns the method that uses ->iteratorPos
1644: [22:59:27] <UncleCheese> which is ReversePos
1645: [22:59:39] <simon_w> And are you calling ReversePos?
1646: [23:00:33] <UncleCheese> yes
1647: [23:00:42] <UncleCheese> when i run the function, $this->iteratorPos is null
1648: [23:00:47] <simon_w> Have you flushed?
1649: [23:01:02] <simon_w> Oh, so you put it on the same object you're trying to render?
1650: [23:01:03] <UncleCheese> yeah
1651: [23:01:04] <simon_w> Don't do that
1652: [23:01:06] <UncleCheese> yes
1653: [23:01:07] <UncleCheese> oh?
1654: [23:01:16] <UncleCheese> you said put it anywhere!
1655: [23:01:19] <simon_w> the iterator and global properties are fallbacks
1656: [23:01:24] * Jayden90 has joined #silverstripe
1657: [23:01:28] <UncleCheese> ok… ?
1658: [23:01:49] <Pyromanik> 11:01 < UncleCheese> you said put it anywhere!
1659: [23:01:53] <Pyromanik> That's true he did :<
1660: [23:01:57] <UncleCheese> +1
1661: [23:02:10] <UncleCheese> let's not pick on him.. he's about to provide an answer
1662: [23:02:21] <Pyromanik> I really like the new config system
1663: [23:02:32] <Pyromanik> it decouples and makes for good times in extension
1664: [23:02:33] <Pyromanik> however
1665: [23:02:44] <Pyromanik> it can be FUCKING difficult to see how the puzzle assembles :(
1666: [23:02:53] <simon_w> Usually with the template providers, you have a class thats sole purpose is to provide those methods
1667: [23:03:00] <UncleCheese> gotcha
1668: [23:03:01] <UncleCheese> ok
1669: [23:03:13] <simon_w> Well, the iterator one anyway. The global one usually just points to static methods
1670: [23:03:15] <UncleCheese> so MyExtraTemplateVariables implements TemplateIteratorProvider
1671: [23:03:19] <simon_w> yup
1672: [23:03:34] <UncleCheese> and do i need to register MyExtraTemplateVariables with anything?
1673: [23:03:42] <Pyromanik> like injector should pick it up
1674: [23:03:49] <UncleCheese> it will get sniffed out just by virtue of implementing the interface
1675: [23:03:50] <UncleCheese> ok
1676: [23:04:44] <Pyromanik> ah yeh, because if you put it on the object your'e trying to render UncleCheese, the renderer will call it directly rather than falling back to iteratorprovider, I guess.
1677: [23:04:47] <Pyromanik> makes sense.
1678: [23:04:59] <Pyromanik> direct cal -> no scope, etc.
1679: [23:05:02] <Pyromanik> call*
1680: [23:05:08] <UncleCheese> ohhhhh
1681: [23:05:09] <UncleCheese> makes sense
1682: [23:05:15] <UncleCheese> ok, we're winning now
1683: [23:06:42] <Pyromanik> https://github.com/silverstripe/silverstripe-framework/blob/post-2.4/javascript/TreeSelectorField.js#L247
1684: [23:06:48] <Pyromanik> FFFFFFFFFFFFFFFFFFFFFFFFFFull mad.
1685: [23:06:51] <Jayden90> I don't know what I am doing wrong, but TinyMCE keeps stripping figcaption. even though I have set 'extended_valid_elements' => 'figure, figcaption'
1686: [23:07:06] <Pyromanik> hard code to EditForm, thus leaving AddForm in the lurch :(
1687: [23:07:24] <Pyromanik> Jayden90: build, flush
1688: [23:07:58] <Pyromanik> ps, always wondered: is your nick a tribute to Joe90?
1689: [23:08:08] <Pyromanik> or are you 23?
1690: [23:08:49] <Jayden90> Pyromanik: Tried all of that, still stripping it
1691: [23:09:00] <Jayden90> figure is working though
1692: [23:09:40] <Pyromanik> might just be that tinymce hates captions.
1693: [23:09:49] <Pyromanik> I know it hates divs with images in them.
1694: [23:10:01] <Pyromanik> though to be fair I haven't tried that since 2.4.1
1695: [23:11:00] * travis-ci has joined #silverstripe
1696: [23:11:00] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1050 (3.0 - 652682c : Ingo Schommer): The build was fixed.
1697: [23:11:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/9b1211f071a2...652682c04822
1698: [23:11:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11815833
1699: [23:11:00] * travis-ci has left #silverstripe
1700: [23:11:01] <UncleCheese> interesting that you can't call custom iterator functions from within the object itself
1701: [23:11:24] * joelpittet has joined #silverstripe
1702: [23:11:26] <UncleCheese> public function Number() {return $this->Parent()->Reverse ? $this->ReversePos() : $this->Pos(); }
1703: [23:11:37] <UncleCheese> fail
1704: [23:12:02] <simon_w> Forcing view logic into the view
1705: [23:12:34] * spronk has left #silverstripe
1706: [23:13:38] <Pyromanik> parent() ?
1707: [23:13:41] * guci0 quit (Ping timeout: 250 seconds)
1708: [23:13:54] <Jayden90> Anyone on here ever managaged to get figcaption to work? I know its possible because it is demo'd here: http://www.tinymce.com/tryit/3_x/html5_formats.php
1709: [23:14:09] <Pyromanik> Jayden90: never tried sorry
1710: [23:14:34] <Pyromanik> could be an issue with versions.
1711: [23:14:35] <Pyromanik> I dunno
1712: [23:15:32] <Jayden90> 3.5.8 is the same version in the demmo and SilverStripe
1713: [23:15:52] <Jayden90> something to do with how to set the config up withing SilverStripe
1714: [23:16:12] <Jayden90> *within
1715: [23:16:46] * spronk has joined #silverstripe
1716: [23:18:03] * Stomach quit (Quit: Leaving.)
1717: [23:21:13] * razzi quit ()
1718: [23:23:21] * abitran quit (Ping timeout: 268 seconds)
1719: [23:23:35] * abitran has joined #silverstripe
1720: [23:24:06] * Stomach has joined #silverstripe
1721: [23:25:10] <Pyromanik> solved it
1722: [23:25:36] <Pyromanik> Jayden90: hate tiny with passion, can't help sorry :(
1723: [23:25:48] <Pyromanik> tinymce: best of the bads.
1724: [23:28:30] * joelpittet quit (Remote host closed the connection)
1725: [23:29:14] <Jayden90> 'verify_html' => false seems to be letting in figcaption now
1726: [23:29:52] <Jayden90> Some wierd behavior going on
1727: [23:42:18] <simon_w> Damn pizza place downstairs
1728: [23:42:24] <simon_w> I can smell it
1729: [23:45:05] <UncleCheese> christ
1730: [23:45:18] <UncleCheese> RC3 is broken
1731: [23:45:35] <simon_w> fix it fix it fix it fix it fix it fix it fix it fix it fix it fix it
1732: [23:48:05] <Pyromanik> lulz
1733: [23:48:09] <UncleCheese> ah, never mind. i'm on the wrong branch
1734: [23:48:10] <Pyromanik> how so UncleCheese
1735: [23:48:11] <ss23> FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT
1736: [23:48:13] <Pyromanik> haha
1737: [23:48:17] <UncleCheese> whew.. obligation to fix avoided
1738: [23:48:25] <Pyromanik> xD
1739: [23:48:35] <simon_w> You lied to us!
1740: [23:49:28] <UncleCheese> 3.1.0.x-dev is broken
1741: [23:49:37] <simon_w> fix it fix it fix it fix it fix it fix it fix it fix it fix it fix it
1742: [23:51:11] * Colin[pi] has joined #silverstripe
1743: [23:51:40] <UncleCheese> agh
1744: [23:51:44] <UncleCheese> composer question
1745: [23:51:56] <UncleCheese> running silverstripe/framework "3.1.0-rc3"
1746: [23:52:04] <UncleCheese> module requires "~.3.1"
1747: [23:52:11] <UncleCheese> for some reason those don't play nice
1748: [23:54:53] <spronk> wait
1749: [23:54:58] <spronk> whats wrong with rc3?
1750: [23:55:15] <UncleCheese> rc3 is fine
1751: [23:55:19] <spronk> oh
1752: [23:55:22] <spronk> oh yeah
1753: [23:55:25] <UncleCheese> but it doesn't meet the requirement of ~3.1
1754: [23:55:27] <ss23> UncleCheese: ~.3.1 seems wrong doesn't it?
1755: [23:55:28] <spronk> i was going to check out that bug for you
1756: [23:55:39] <spronk> UncleCheese: did you fix the html output on tree issue?
1757: [23:55:42] <UncleCheese> no, it's only in 3.1.0.x-dev i found out
1758: [23:55:43] <ss23> UncleCheese: There was a post about this a while ago iirc
1759: [23:55:53] <UncleCheese> yes, it's not in rc3.. only x-dev
1760: [23:56:06] <spronk> ah
1761: [23:56:20] * spronk was in the middle of installing to test, then had these weird PHPUnit issue
1762: [23:56:21] <spronk> s
1763: [23:58:05] <Colin[pi]> good moin
1764: [23:58:17] <Pyromanik> dolbre deen
1765: [23:58:37] <spronk> Zdravo
1766: [23:58:41] * micmania1 has joined #silverstripe
1767: [23:59:04] <micmania1> did I just see rc3? :)
1768: [23:59:20] <Pyromanik> micmania1: I had to google your chavwear store
1769: [23:59:35] <Pyromanik> to get the reference with wordderp you made earlier.
1770: [23:59:46] <micmania1> ah right haha
1771: [23:59:54] <micmania1> I didn't have a clue what you were on about lol

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