#silverstripe IRC Log

IRC log for 7 July 2014

All timestamps are in UTC.

1: [00:06:00] <ss23> Ah, working at SilverStripe...
2: [00:06:33] <ss23> coworker - "can you do this for me?" "Yeah I can do it" "ah sweet, that would be the tits!" "sexual harrasment!" "sorry, moobs"
3: [00:06:49] <antmas> ss23: XD
4: [00:10:17] <Colin[pi]> I see Air NZ removed their safety video... responding to pressure from offended passenger
5: [00:10:29] <ss23> Offended passenger? Singular? :P
6: [00:10:43] <Colin[pi]> well one who started the petition :P
7: [00:10:55] <Colin[pi]> I honestly didn't think it was that bad really
8: [00:10:57] <ss23> Personally I didn't think it was sexist or anything. Glorifying human bodies, whether they're male or female (and they did do both) seems wholy seperate to sexism in my mind
9: [00:11:10] <Colin[pi]> I mean it's for flights to the Cook Is.
10: [00:11:28] <ss23> yeah
11: [00:11:31] <ss23> seemed weird for flights to Japan!
12: [00:11:31] <Colin[pi]> what you're gonna go there and see women in bikinis on the beach and go "OMG I AM HIGHLY OFFENDED"
13: [00:11:33] <ss23> I wasl ike "wut..."
14: [00:11:44] <Colin[pi]> oh did they use it there too? lol
15: [00:13:39] <ss23> yeah, they used it everywhere they flew afaik
16: [00:14:44] <Colin[pi]> i showed my gf, she was like "Why..... did people get angry about this?"
17: [00:15:24] <Colin[pi]> I don't think BR has caught up in the PC stakes
18: [00:15:55] <antmas> PCness is the worst
19: [00:16:28] <ss23> If PCness means people don't feel like shit as often, I think it's justified
20: [00:17:00] <Colin[pi]> antmas ss23: that's the thing, it's like the fun police sometimes
21: [00:17:07] <antmas> ss23: it has it's place - but it always goes to far
22: [00:17:18] <Colin[pi]> in BR everyone is laid back, even when things are shitty they're still all happy and cheerful
23: [00:17:24] * muskie9 has joined #silverstripe
24: [00:17:28] <Colin[pi]> here everyone is like RAGGGGE all the time
25: [00:17:29] <antmas> and then who determines the level of 'adequate PCness'?
26: [00:17:36] <Colin[pi]> angry and complain about fucking everything
27: [00:19:29] * krofek_ quit (Quit: Leaving)
28: [00:19:35] <Colin[pi]> everyone is so cold here too, our culture is losing it's humanity.. everyone is fake to each other
29: [00:19:37] <Colin[pi]> such bs
30: [00:19:38] <Colin[pi]> sigh
31: [00:20:25] * antmas deploys test solution to sharepoint server
32: [00:20:33] * antmas says that it works
33: [00:20:38] * antmas reacts http://www.reactiongifs.com/r/schauble.gif
34: [00:22:52] <ss23> 2:19:36 < Colin[pi]> everyone is so cold here too, our culture is losing it's humanity.. everyone is fake to each other
35: [00:22:55] <ss23> drugs help with that
36: [00:23:02] <ss23> when everyone is doing shrooms and LSD, aint no one be putting up a wall
37: [00:23:07] <Colin[pi]> lol
38: [00:23:21] <Colin[pi]> or the wall becomes a swirling technicolor portal
39: [00:25:01] <antmas> man, spotify radio is kinda dumb
40: [00:27:20] * harv3st has joined #silverstripe
41: [00:42:56] <antmas> hmmm lunch
42: [00:44:45] <antmas> HATE SNEAZING
43: [00:44:52] <antmas> pls staahhhp
44: [00:44:53] <antmas> ;__;
45: [00:59:18] * DesignerX has joined #silverstripe
46: [01:03:37] * chrisrio has joined #silverstripe
47: [01:03:50] <chrisrio> yo diggity dawg.
48: [01:03:58] <chrisrio> can you drag/drop modeladmin elements around in 3.1?
49: [01:06:19] <chrisrio> turns out it's not in core, sortablegridfield is required.
50: [01:06:33] <chrisrio> for Christmas this year - MA should support drag and drop out of the box.
51: [01:06:39] <chrisrio> just saying.
52: [01:12:07] <simon_w> Not likely to be core
53: [01:12:25] <simon_w> Core grid field isn't aiming to be the kitchen sink
54: [01:14:37] <Colin[pi]> though it's doing a pretty good job of that already ;p
55: [01:20:07] <ss23> No reason for it to be core IMO
56: [01:20:13] <ss23> I mean, core shouldn't even have modeladmin!
57: [01:20:38] <Colin[pi]> no I think MA is a good addition, it does help save a ton of time for simple jobs
58: [01:20:48] <simon_w> framework shouldn't have the admin folder
59: [01:20:56] <Colin[pi]> dat coupling
60: [01:22:08] <ss23> mmm
61: [01:23:28] <Colin[pi]> but would you say that the coupling between framework and CMS is less or the same in 3.x vs 2.4?
62: [01:24:09] <chrisrio> thats probably one of the worse things about the SS (CMS)
63: [01:24:27] <chrisrio> so many things are handled by so many different people
64: [01:24:30] <chrisrio> very little central responsibilities
65: [01:24:37] <chrisrio> which means less work for SS devs - thats all good
66: [01:24:43] <chrisrio> but it means the product suffers I think
67: [01:24:53] <chrisrio> if you're looking for uptake from people moving from other CMS platforms to SS
68: [01:24:59] <chrisrio> (which is the only way SS will grow)
69: [01:25:28] <chrisrio> very little central responsibility* - lolz
70: [01:25:40] <Colin[pi]> chrisrio: well I'd say the core itself is handled primarily by SS themselves?
71: [01:26:04] <chrisrio> Colin[pi]: sure - but you need a lot more than that if you're going to compete with other CMS platforms in terms of ease of use
72: [01:26:51] <chrisrio> A page with repeatable sections is a great example.
73: [01:27:03] <Colin[pi]> well all things considered I think they've done pretty well, not perfect but it's far better than some other shittiness that I've used
74: [01:27:06] <chrisrio> To do that, and have the sections orderable easily
75: [01:27:09] <chrisrio> You're using pages.
76: [01:27:23] <chrisrio> Want 20 sections, you're creating 20 pages.
77: [01:27:37] <chrisrio> MA is a cleaner option there - by far. Simple DO and MA that shit.
78: [01:27:51] <chrisrio> but - no drag/drop reordering
79: [01:28:01] <chrisrio> so you're either creating a manual sort field based on an int value (zzzz)
80: [01:28:11] <chrisrio> or installing more shit to add 1 piece of basic functionality
81: [01:28:30] <chrisrio> and hoping that "1 piece of shit" works with the current version, and SS hasnt torn out X Y and Z (3.0.x)
82: [01:28:40] <chrisrio> I can deal with that - thats how it is.
83: [01:28:45] <chrisrio> but your bog standard curious dev
84: [01:28:51] <chrisrio> will call bullshit and move on.
85: [01:28:53] <Colin[pi]> imho I would like MA to have core drag/drop as well
86: [01:29:25] <chrisrio> the goal of SS CMS should be to achieve every basic thing you'd want to do with a website in the best way possible.
87: [01:29:32] <chrisrio> not just "achievable - but its not that great".
88: [01:29:50] <chrisrio> drag/drop MA would help there a great deal.
89: [01:31:01] * DesignerX quit (Ping timeout: 248 seconds)
90: [01:34:42] <chrisrio> (slash drag/drop gridfield)
91: [01:34:47] <chrisrio> anyways - maybe that's just me ;P
92: [01:35:32] <Colin[pi]> https://github.com/UndefinedOffset/SortableGridField ?
93: [01:36:58] <chrisrio> yeah
94: [01:45:01] <spronk> BENNY
95: [01:45:05] <spronk> BENNY AANEEENNDD THE JETS
96: [01:46:09] <zippy__> antmas: mmmm I was just thinking, there might be some hypotheical photos if the work had been hypothecally done.. I wonder if that might help with how the wall was.. maybe… will call them
97: [01:46:27] <ss23> 13:29:26 < chrisrio> the goal of SS CMS should be to achieve every basic thing you'd want to do with a website in the best way possible.
98: [01:46:32] <ss23> bzzz, disagree
99: [01:46:38] <ss23> SilverStripe should not try compete with Wordpress :P
100: [01:46:56] <ss23> SilverStripe sites should require a developer to come in and decide what you really want, not just out of the box magic
101: [01:47:21] <spronk> yeah, i tend to agree
102: [01:47:51] <spronk> a better goal might be to be easily and maintainably malleable to support everything you'd want to do with a website in a reasonable and sensible way
103: [01:49:07] <Ryan-Toast> ss23: I’m still of the opinion that SortableGridField should be merged into core, but last time we talked about this it turned into a massive fight :P
104: [01:49:22] <spronk> fucking
105: [01:49:26] <spronk> Ryan-Toast: it absolutely should
106: [01:49:28] <Colin[pi]> I think it should be too imho
107: [01:49:33] <spronk> as should betterbuttons
108: [01:49:35] <spronk> once fixed up
109: [01:50:17] <Ryan-Toast> spronk, never used betterbuttons before but oh my giod it’s everything I’ve ever wanted for DO's
110: [01:50:20] <spronk> alternatively, gridfield should be torn out as a separate module, and sortablegridfield + betterbuttons should be bundled up with it :P
111: [01:50:40] <spronk> betterbuttons isn't that fantastic, but the usability of dataobjects is atrocious at the moment
112: [01:50:49] <spronk> even inline forms would be a massive step forward
113: [01:50:58] <spronk> hell even going back to a modal would be better
114: [01:51:14] <Ryan-Toast> spronk: how do you mean?
115: [01:51:27] <spronk> just having to completely switch focus to edit or create a DO
116: [01:51:31] <spronk> can't do it inline
117: [01:51:36] <Ryan-Toast> Ah, right.
118: [01:51:52] <spronk> so, you can't edit a DO and see a list of other DOs at the same time, for example, without using tabs
119: [01:51:56] <spronk> and SS isn't exactly tab friendly
120: [01:55:43] <Ryan-Toast> a config to enable urls for dataobjects would be swish :P]
121: [01:55:53] <Ryan-Toast> I know there’s a module.
122: [01:59:09] <Stomach> spronk, theres the inlineeditable gridfield thing which is _alright_
123: [02:00:39] <Colin[pi]> we need some stuff for SS which is more than alright
124: [02:00:47] <Colin[pi]> UC makes some cool things though
125: [02:01:49] <spronk> needs better code though :P
126: [02:02:39] <Colin[pi]> doesn't everything? ;P
127: [02:04:22] <zippy__> it's almost like there needs to be a hack fest or something to get these things done....
128: [02:04:30] <Colin[pi]> hahaha
129: [02:04:54] * Jakx has joined #silverstripe
130: [02:04:55] <Colin[pi]> "yeaaahh willr stuck some post it notes on the wall, and then we all got drunk and ate pizza THE END"
131: [02:05:20] <willr> well it was me and cam
132: [02:05:25] <Jakx> so a regular day in the SS office then?
133: [02:05:37] <willr> I’m not normally in the ss office :p
134: [02:05:49] <Jakx> ahaa
135: [02:06:01] <willr> they don’t like competition in their office stealing all the top secret clients
136: [02:06:40] <Jakx> simple question: Is there a trick to remove the left padding on .field element in the CMS?
137: [02:07:05] <willr> you probably don’t want too. Who knows what they’ll break
138: [02:07:05] <Ryan-Toast> Anyone seen a cool frotend technique lately? I need to steal some ideas.
139: [02:07:11] <Ryan-Toast> frontend**
140: [02:07:39] <willr> Ryan-Toast, you’ll have to be more specific, Jakx is it just for 1 type of field?
141: [02:07:47] <Ryan-Toast> willr: anything.
142: [02:08:09] <Jakx> willr, it's for a once off. This particular field is a checkbox.
143: [02:08:41] <Colin[pi]> Ryan-Toast: http://i.imgur.com/hw69gcD.jpg
144: [02:08:55] <willr> $field->addExtraClass(..); use LeftAndMain.extra_css_requirements to add a new css file and include css for that class to have no padding
145: [02:09:15] <Jakx> willr, tyvm
146: [02:10:11] <simon_w> willr, so what actually happened at the hackfest?
147: [02:10:11] <Ryan-Toast> Colin[pi]: http://i.imgur.com/59KTQ.gif
148: [02:10:27] <Colin[pi]> Ryan-Toast: sorry ;P
149: [02:10:45] <Colin[pi]> Ryan-Toast: trying to think if I've seen something..
150: [02:11:11] <willr> simon_w had a massive turn out for us, 14 in wgtn and bout 14 in AK as well. Me and Cam focused on docs. couple ss staff on the new ss.org. I had my rant to ingo and sam about core which you would have seen the email about
151: [02:11:23] * muskie9 quit (Ping timeout: 264 seconds)
152: [02:11:32] <zippy__> Ryan-Toast: You tried out Vanilla JS? http://vanilla-js.com/ maybe use that
153: [02:11:46] <Ryan-Toast> zippy__: :P
154: [02:11:54] <willr> couple newbies who needed a hand installing, new marketing manager came in and did some work on .org with them
155: [02:12:03] <Ryan-Toast> May just do this: http://tympanus.net/Development/ArticleIntroEffects/index6.html
156: [02:12:35] <antmas> zippy__: yeah just call, they're more lenient then most people think
157: [02:12:39] <willr> simon_w no code really from most people so can’t really call it a hackfest. More a do opensource shit day
158: [02:13:18] <simon_w> willr, yeah, travis wasn't that active so I guessed not much happened ;)
159: [02:13:28] <zippy__> antmas: I will say that antmas said it was fine
160: [02:14:01] <willr> I patched one security hole and that was it. I want to get docs sorted this next 3 months. Sick of people raging on those
161: [02:14:20] * muskie9 has joined #silverstripe
162: [02:14:39] <antmas> zippy__: :D
163: [02:15:35] <simon_w> Well, it's not like anyone has any idea what the community wants beyond better docs, so I guess it was beneficial
164: [02:16:08] <willr> well hard to tell isn’t it
165: [02:16:18] <willr> uservoice may help
166: [02:16:24] <ss23> willr: oh, did you respond to the email?
167: [02:16:36] <willr> which one
168: [02:16:40] <ss23> if it was a sec@ss one
169: [02:16:50] <willr> No I did not
170: [02:16:53] <zippy__> antmas: bugger, I think that house fire was 3 kids and a solo mum
171: [02:16:55] * ss23 glares at willr
172: [02:16:57] <ss23> Not. Good. Enough.
173: [02:17:02] <simon_w> willr, oh yeah, I should reply to that. I'd prefer to not use Trello
174: [02:17:04] <willr> I found the issue though. Hamish has reviewed
175: [02:17:12] <ss23> which one was it btw?
176: [02:17:17] <ss23> the one you reported?
177: [02:17:20] <willr> simon_w do reply otherwise they just think you don’t care
178: [02:17:21] <ss23> cause theres lots in there atm
179: [02:17:23] <willr> ss23 yes
180: [02:17:31] <simon_w> willr, email is hard :p
181: [02:17:36] <willr> patch is three waiting to merge
182: [02:17:47] <ss23> kk
183: [02:17:56] <willr> If you’re not part of the solution, you’re part of the problem
184: [02:18:34] <antmas> zippy__: that sucks, heater left on?
185: [02:18:43] <zippy__> whatever happened to the restructed SS folder..
186: [02:18:46] <zippy__> antmas: not sure
187: [02:22:14] <Stomach> I did one PR to the core at hack day... and merged a shitload of stuff for Frank on swipestripe
188: [02:22:18] <Stomach> that counts as code, right?
189: [02:23:39] <antmas> Ryan-Toast: you know anything about XSLT?
190: [02:24:01] <simon_w> I pushed a couple of new tags to my xhp-viewer module
191: [02:24:06] <Ryan-Toast> antmas: it’s pointless?
192: [02:24:14] <Ryan-Toast> antmas: but very little.
193: [02:24:22] <willr> I pushed a tag for userforms!
194: [02:24:22] <Ryan-Toast> is my knowledge of it
195: [02:25:50] * Jakx has left #silverstripe
196: [02:26:53] <zippy__> the watch command is very useful
197: [02:27:04] <zippy__> watch -n 30 dig xxxx.com A
198: [02:27:25] * zippy__ is all over the dns changes
199: [02:27:53] <simon_w> zippy__, you know dig tells you the TTL, right?
200: [02:28:07] <simon_w> So you do one dig, wait for that many seconds, then do another
201: [02:28:22] <zippy__> yea but, then I have to set a timer to wait that long, and remind me
202: [02:28:52] <zippy__> besides, you can use watch for other things, was just an illustration… you failed to see the picture?
203: [02:30:47] <antmas> Ryan-Toast: what I was going to ask was is it possible to do css media queries, but I don't actually need it :P
204: [02:30:47] <ss23> watch -n.01 dig xxxx.com
205: [02:30:48] <ss23> o/
206: [02:31:23] <simon_w> willr, I did an email!
207: [02:31:30] <antmas> zippy__: what exactly are you doing with these dns changes?
208: [02:32:13] <antmas> blegh, I really need some cold medication
209: [02:32:17] <antmas> driving me nuts
210: [02:32:47] <Colin[pi]> take all the drugs
211: [02:33:04] <ss23> please simon_w
212: [02:33:06] <ss23> THIS DINGS ME
213: [02:33:10] <ss23> Meanie
214: [02:33:25] <simon_w> ss23, what dings you?
215: [02:33:53] <ss23> CTCP
216: [02:34:25] <simon_w> I shouldn't be sending any CTCP things
217: [02:34:34] <simon_w> Well, other than the ping to the server
218: [02:34:44] <simon_w> But that's hardly CTC
219: [02:36:34] * antmas eats the last chocolate biscuit
220: [02:37:47] <Colin[pi]> haha these are great: http://imgur.com/gallery/r19Cd
221: [02:37:55] <Colin[pi]> lol: http://i.imgur.com/YSif5Ob.png
222: [02:38:24] <zippy__> antmas: custom domain for campaign monitor
223: [02:39:25] <antmas> zippy__: ah right
224: [02:39:34] <antmas> Colin[pi]: lol yeah they're pretty good
225: [02:40:33] * muskie9 quit (Ping timeout: 264 seconds)
226: [02:41:28] <antmas> Colin[pi]: hehe the one with the fingernail side skin whatever thingy
227: [02:42:00] <Colin[pi]> antmas: yeah lol HATE that
228: [02:42:51] <antmas> Colin[pi]: 4 fingers have that right now :O
229: [02:42:54] <antmas> such pain
230: [02:42:58] <Colin[pi]> :C
231: [02:43:15] <Colin[pi]> I have two, you've got me beat
232: [02:43:58] * Tanger has joined #silverstripe
233: [02:44:11] <antmas> I also have 2 burns on the backs of my hands from touching the fire place
234: [02:44:32] <antmas> LIKE A STUPID CHILD
235: [02:44:32] <antmas> :P
236: [02:45:33] <Colin[pi]> haha I remember once when I was about 14 or something, visiting my sister's house I thought "Oh I wonder if this hot plate is still hot? Ima just check by putting my hand on it for some reason."
237: [02:45:39] <Colin[pi]> it was still hot :P
238: [02:45:49] <Colin[pi]> sssssss
239: [02:46:10] <antmas> yeah I dared my sister to pour water on the ash can out the back of the house
240: [02:46:14] <antmas> about the same age
241: [02:46:19] <Colin[pi]> lol
242: [02:47:48] <Colin[pi]> one time when I went fishing with my dad, he left me in charge of making the fire... prolly not the best parenting decision, but anyway
243: [02:47:57] <Colin[pi]> I made this AWESOME huge pile of burnable stuff
244: [02:48:09] <Colin[pi]> and he said to me "use a LITTLE BIT of petrol if you need to"
245: [02:48:22] <Colin[pi]> which of course mean "douse liberally over entire pile two cans full of petrol
246: [02:48:36] <Colin[pi]> so I threw a match on it, nothing happened
247: [02:48:41] <Colin[pi]> repeated, again nothing
248: [02:48:43] <Colin[pi]> fuck
249: [02:49:00] <Colin[pi]> so then the third time I got a little closer and threw it.. nothing for about 10 seconds
250: [02:49:04] <Colin[pi]> then KABOOOOOOOOOOOM
251: [02:49:11] <Colin[pi]> was like a small mushroom cloud
252: [02:49:13] <antmas> haha yeah done that before
253: [02:49:24] <Colin[pi]> I reckon it was visible from space LOL
254: [02:49:26] <antmas> lost my eyebrows, and eyelashes
255: [02:49:33] <Colin[pi]> yep same ahahaha
256: [02:49:51] <Colin[pi]> I spent the next 5 minutes stamping out small spotfires around the area
257: [02:50:09] <antmas> fire is scary
258: [02:50:39] <Colin[pi]> mm it can all go pear shaped very quickly
259: [02:52:59] <antmas> you always do dumb things everynow and then with it
260: [02:53:35] <antmas> putting ash into plastic containers etc
261: [02:55:13] <zippy__> Colin[pi]: what'd ya dad say?
262: [02:55:25] <Colin[pi]> zippy__: you're a fuckin DRONGO
263: [02:55:36] <antmas> Stupid Boy
264: [02:55:49] <antmas> dad used to always say that in the Dad's Army voice
265: [02:58:04] <Colin[pi]> antmas: always remember of this poor, poor guy when thinking about respecting fire: https://au.news.yahoo.com/qld/a/17594254/chef-matt-golinski-tells-of-learning-of-familys-death-in-fire/
266: [02:58:26] <Colin[pi]> day after christmas, lost his whole family and was horribly burned :(
267: [02:58:55] <Colin[pi]> I couldn't even begin to imagine what he went through :\
268: [03:00:44] <zippy__> mm
269: [03:02:54] * Turnerj has joined #silverstripe
270: [03:05:58] <antmas> :(
271: [03:06:09] <antmas> cheers for the afternoon upper Colin[pi] !
272: [03:06:14] <Colin[pi]> sorry :(
273: [03:06:17] <antmas> :P
274: [03:06:57] <zippy__> yea after the fire just over the road, and my hypothetical permit problem, this is super
275: [03:06:58] <Colin[pi]> antmas: http://i.imgur.com/2WlYLZr.gif will make it better
276: [03:08:02] <antmas> WACKY INFLATABLE ARM FLAILING TUBE MAN
277: [03:08:12] <ss23> WACKY WAVING INFALTIABLE ARM FLAILING TUBE MAN
278: [03:08:29] <antmas> oh right
279: [03:08:31] <antmas> waving*
280: [03:11:26] <mobiusnz> is it possible to get the report viewer to sort reports by name?
281: [03:11:43] <Colin[pi]> zippy__: http://i.imgur.com/Ht6xpgm.gif
282: [03:12:22] <simon_w> Aww, this DVD isn't reading
283: [03:13:43] * Ryan-Toast should have gone to hackfest
284: [03:14:25] <antmas> Ryan-Toast: is there a way to position an element so that it stays fixed when scrolling horizontally, but not vertically?
285: [03:15:05] <Ryan-Toast> wat
286: [03:15:26] <Ryan-Toast> pictures, man. I NEED PICTURES
287: [03:15:31] <antmas> bah
288: [03:15:36] <antmas> hmmmm
289: [03:15:37] <antmas> hold on
290: [03:16:44] <spronk> antmas: pretty sure not with css
291: [03:17:08] <ss23> antmas: I would guess you need JS with it
292: [03:17:10] <spronk> though
293: [03:17:10] <antmas> I wouldn't think so
294: [03:17:15] <spronk> you can kinda do it
295: [03:17:17] <ss23> hmmmm
296: [03:17:22] <spronk> with abs positioning
297: [03:17:27] <ss23> oh true
298: [03:17:31] <spronk> depending on whether or not your page scrolls vertically :p
299: [03:17:31] <ss23> wait
300: [03:17:33] <ss23> can you?
301: [03:17:34] <ss23> lol
302: [03:17:49] <ss23> hmm
303: [03:17:51] <ss23> could you do it if you like...
304: [03:17:56] <ss23> have two siblings of it
305: [03:18:12] <ss23> so take it outside of doucment flow, have it wedged between two other divs
306: [03:18:14] <antmas> the page will scroll vertically regardless
307: [03:18:20] <spronk> so
308: [03:18:21] <spronk> bn
309: [03:18:22] <spronk> no
310: [03:18:32] <spronk> you're gonna have to hack up something dodgy in js
311: [03:18:35] <ss23> so that the small content element you have is wedged between two divs, it can scroll up and down but not horozontially
312: [03:18:50] <antmas> probably not worth it
313: [03:19:09] <antmas> Ryan-Toast: what's that gif upload site?
314: [03:19:14] <antmas> that you use? Ryan-Toast
315: [03:19:23] <Ryan-Toast> imgur, gycat?
316: [03:19:29] <antmas> gycat
317: [03:19:29] <Ryan-Toast> gyfcat**
318: [03:19:29] <Colin[pi]> gfycat ftw
319: [03:19:49] <Colin[pi]> gfycat**
320: [03:19:56] <Ryan-Toast> you can configure RES to use gyfcat when people post imgur gifs. It’s amaze.
321: [03:20:03] <Colin[pi]> gfycat**
322: [03:20:03] <Colin[pi]> ;D
323: [03:20:07] <Ryan-Toast> like totes amaze.
324: [03:20:21] <willr> gfycat ftw
325: [03:20:37] <Colin[pi]> Ryan-Toast: holy shit, really? *goes to check RES settings*
326: [03:21:13] <UncleCheese> any fish n' chips aficionados in wellington?
327: [03:21:27] <Ryan-Toast> Colin[pi]: Yeah, it’s under UI sowmewhere
328: [03:21:28] <UncleCheese> wondering if there's a place that makes proper hand-cut chips
329: [03:21:45] <Colin[pi]> UncleCheese: your kitchen?
330: [03:21:57] <willr> UncleCheese I love http://www.mtvicchippery.co.nz/
331: [03:22:03] <UncleCheese> screaming kid with a bedtime a quarter hour after I get home from work
332: [03:22:12] <UncleCheese> yes, that's our go-to, willr
333: [03:22:15] <antmas> Ryan-Toast: http://gfycat.com/DismalMediocreDungbeetle
334: [03:22:17] <willr> no idea if they’re hand cut though
335: [03:22:35] <UncleCheese> probably fire that up, then.. just looking for something new
336: [03:22:49] <UncleCheese> but it seems they're they're the best, except for that guy on Cuba street
337: [03:22:51] * chrisrio quit (Quit: Page closed)
338: [03:22:57] <antmas> Ryan-Toast: I'm basically trying to allow the name column (far left) to stay fixed when scrolling horizontal, but not veritcal
339: [03:23:08] <antmas> fuck it, not worth it :/
340: [03:23:12] <willr> If you’re burgers and chips then Ekim is my goto
341: [03:23:21] <willr> now on cuba.
342: [03:23:22] <UncleCheese> ... oh
343: [03:23:28] <UncleCheese> oh, across from SoCro
344: [03:23:34] * cloph_away has joined #silverstripe
345: [03:23:51] * cloph quit (Ping timeout: 255 seconds)
346: [03:24:03] <Ryan-Toast> antmas: give me a sec.
347: [03:24:56] <Colin[pi]> antmas: you could do that just with CSS.... I think?
348: [03:25:08] <ss23> 15:23:13 <@willr> If you’re burgers and chips then Ekim is my goto
349: [03:25:12] <ss23> BurgerFuel hater
350: [03:25:13] <ss23> :O
351: [03:25:36] <Colin[pi]> willr gets his burgerfuel without the crack cocaine added
352: [03:25:37] <willr> totally. And in AK even though BurgerFuel is closer I go to Velet burgers
353: [03:25:40] <antmas> Colin[pi]: if I could just do something conditional (like @media) in CSS that'd be fine, but I don't want any JS
354: [03:26:40] <antmas> XSLT + CSS + C# + ASP is too much already :O
355: [03:27:13] <Colin[pi]> XSLT... shudder
356: [03:29:00] <UncleCheese> Ekim in WGT and Better Burger in AKL are the two burgers i've had in NZ that can vaguely emulate an American burger
357: [03:29:21] <UncleCheese> everything else is just some strange kiwi distortion of something that was once great
358: [03:29:42] <antmas> UncleCheese: how?
359: [03:29:51] <ss23> They actually taste good, unlike American burgers
360: [03:29:57] <UncleCheese> nope
361: [03:30:11] * ss23 adds betroot and jam to all of UncleCheese's burgers
362: [03:30:25] <UncleCheese> !!!!!
363: [03:30:26] <antmas> american burgers just taste like the sauce that it's smothered in
364: [03:30:28] <Colin[pi]> beetroot on burgers ftw
365: [03:30:39] <antmas> and salt
366: [03:30:47] <UncleCheese> salt is very important
367: [03:30:58] <ss23> Yeah, for murdering yourself
368: [03:30:59] <ss23> :D
369: [03:31:13] <simon_w> Only way to make all the over processed food actually taste not entirely like plastic
370: [03:31:23] <ss23> OHHHH
371: [03:31:28] <ss23> *tss* burn UncleCheese
372: [03:31:31] <ss23> #kiwiburgers4lyfe
373: [03:31:46] <UncleCheese> it makes me so sad that american food is represented almost entirely by four faceless fast food international franchises
374: [03:32:42] <antmas> UncleCheese: http://howtogetglowingskin.net/wp-content/uploads/2014/06/treatment-for-burns.jpg
375: [03:33:11] <UncleCheese> counting the days till we arrive in the USA.. first order of business will be a proper burger
376: [03:33:20] <antmas> UncleCheese: what do the other places do? add more spices/herbs to the meat? use different meat?
377: [03:33:44] <antmas> cook it with love?
378: [03:33:53] <simon_w> Deep fry it?
379: [03:33:59] * antmas cooks with love
380: [03:34:16] * antmas smooches leftovers
381: [03:34:59] <antmas> those 2 words shouldn't be in the same sentence
382: [03:35:17] <UncleCheese> no, god no
383: [03:35:27] <UncleCheese> that's the problem with burgers here
384: [03:35:33] <UncleCheese> they taste like meatloaf
385: [03:35:45] <UncleCheese> they're full of onions and eggs and tomato sauce and shit
386: [03:35:54] <UncleCheese> salt and pepper.. done
387: [03:36:00] <ss23> lol
388: [03:36:10] <ss23> You know you can get burgers you made with liteally whatever you want? :P
389: [03:36:13] <ss23> "no eggs/onions please"
390: [03:36:14] <ss23> done
391: [03:36:14] <ss23> :D
392: [03:36:38] <UncleCheese> those are toppings
393: [03:36:42] <Turnerj> Now I want a burger :(
394: [03:36:44] <UncleCheese> i'm talking about in the burger itself
395: [03:38:11] <ss23> in the burger itself?
396: [03:38:11] <ss23> uh
397: [03:38:14] <ss23> do you mean "in the meat"?
398: [03:38:17] <simon_w> Burgers don't have toppings
399: [03:38:27] <ss23> simon_w: DO TOO
400: [03:38:32] <ss23> sesame seeds
401: [03:38:33] <ss23> ^.^
402: [03:39:36] <antmas> UncleCheese: so you'd like it to just taste like salted beef?
403: [03:39:43] <antmas> that's gross :(
404: [03:40:01] <simon_w> antmas, corned beef is delicious!
405: [03:40:05] <simon_w> But not in a burger
406: [03:40:17] <antmas> simon_w: it actually is good in a burger :)
407: [03:40:20] <antmas> with mustard
408: [03:41:01] <Colin[pi]> lol here is today's burger conversation... we've had the model admin one, next up, cars
409: [03:41:06] <antmas> angus beef should not be in burgers :(
410: [03:41:16] <antmas> Colin[pi]: XD
411: [03:41:25] <ss23> #fuckcars
412: [03:41:28] <ss23> srsly who has time for that crap
413: [03:41:36] <Colin[pi]> ss23: some people do ^.^
414: [03:41:44] <ss23> Some people like to eat their own poop
415: [03:41:56] * antmas likes where this is going
416: [03:42:01] <Colin[pi]> look that might be your thing, but not everyones
417: [03:42:11] <ss23> haha
418: [03:42:53] <antmas> Colin[pi]: what is the [pi]?
419: [03:42:59] * antmas looks at Kolin
420: [03:43:04] <antmas> >.>
421: [03:43:47] <Colin[pi]> antmas: 3.14159265359
422: [03:43:54] <ss23> lol
423: [03:43:54] <UncleCheese> the importance of meat-to-bun ratio cannot be overstated
424: [03:44:03] <Colin[pi]> naw it just stands for praxis interactive
425: [03:44:10] <antmas> Colin[pi]: ah right
426: [03:44:20] <antmas> don't know why I didn't see that :O
427: [03:44:27] <antmas> UncleCheese: yes
428: [03:44:34] <Colin[pi]> one day mebbe I'll have, like, more staff, and there'll be TWO on here with [pi] loloolol
429: [03:44:37] <Colin[pi]> ahem
430: [03:45:35] <antmas> Ryan-Toast: spronk there is this http://www.rickyh.co.uk/css-position-x-and-position-y/
431: [03:45:37] <ss23> 15:44:04 < Colin[pi]> naw it just stands for praxis interactive
432: [03:45:39] <ss23> .......
433: [03:45:40] <ss23> so like...
434: [03:45:44] <ss23> If I work for Praxis...
435: [03:45:48] <ss23> DO I GET FREE PRAXIS POINTS?!
436: [03:45:48] <ss23> :D
437: [03:45:50] * ss23 augments
438: [03:45:59] <Colin[pi]> ss23: haha free augs
439: [03:46:05] * antmas is now known as Magnum[pi]
440: [03:46:13] <ss23> When you think about it, we already live in the future
441: [03:46:20] <ss23> Go up to some women, and she's like "My breasts are augmented."
442: [03:46:30] <Colin[pi]> I thought that was quite funny how I chose that name a long time ago, always loved DX and Cyberpunk, and saw the augs were called "Praxis Kits" in DXHR
443: [03:46:54] <Colin[pi]> ss23: haha makes me think of that scene from T3
444: [03:47:06] * Magnum[pi] is now known as antmas
445: [03:47:12] <Colin[pi]> LOL
446: [03:47:17] <Colin[pi]> didnt see the earlier change
447: [03:47:46] * Colin[pi] is now known as MmmIlike[pi]
448: [03:50:32] * MmmIlike[pi] is now known as Colin[pi]
449: [03:50:35] <Colin[pi]> meh
450: [03:53:07] <Ryan-Toast> antmas: had a play with css.
451: [03:53:12] <Ryan-Toast> not happening.
452: [03:53:18] <Colin[pi]> :C
453: [03:53:40] <Ryan-Toast> Just set the title to absolute. Detect onScroll and add the offset to the left attribute.
454: [03:56:54] * simon_w|air has joined #silverstripe
455: [03:57:17] <Colin[pi]> antmas Ryan-Toast: found this: http://jsfiddle.net/emn13/YMvk9/
456: [03:57:40] <simon_w|air> On hold to MyGov. At least they're not playing some poor quality hiphop
457: [03:57:46] <simon_w|air> Just poor quality classical
458: [03:58:23] <simon_w|air> And then it makes ringing noises between songs D:
459: [03:58:58] <Ryan-Toast> Colin[pi]: Yeah, try addifng to the titles though
460: [03:59:01] <Ryan-Toast> adding**
461: [03:59:19] <antmas> Colin[pi]: not bad!
462: [03:59:28] <Colin[pi]> could be a start? dunno
463: [03:59:34] <Ryan-Toast> Colin[pi]: that’s true
464: [03:59:36] <Colin[pi]> with a bit of hackery
465: [03:59:56] <Colin[pi]> was linked from here: http://stackoverflow.com/questions/1312236/how-do-i-create-an-html-table-with-fixed-frozen-left-column-and-scrollable-body
466: [04:01:43] <Ryan-Toast> Colin[pi]: Guess you could just detect the inner width of the title, and set the width of the first TD
467: [04:01:45] <Colin[pi]> this one is pretty cool too, but has a little JS: http://codepen.io/ajkochanowicz/pen/KHdih
468: [04:02:07] <antmas> I'll try both out
469: [04:02:32] <Ryan-Toast> Colin[pi]: that’s almost exactly like the one I made :P when I couldn’t get it to work in CSS only :P
470: [04:02:42] <Colin[pi]> heh
471: [04:03:05] <Colin[pi]> CSS only always the coolest, sometimes need a dash of JS sprinkled on top
472: [04:03:17] <simon_w|air> Nested tables.
473: [04:03:24] <Ryan-Toast> except defs put the scroll function in a timeout
474: [04:03:28] * Tanger quit (Read error: Connection reset by peer)
475: [04:03:42] * zippy___ has joined #silverstripe
476: [04:03:45] <Ryan-Toast> Colin[pi]: yarp
477: [04:03:52] <zippy___> Colin[pi]: http://zurb.com/playground/projects/responsive-tables/index.html ?
478: [04:04:16] * zippy__ quit (Ping timeout: 260 seconds)
479: [04:04:16] * cakez has joined #silverstripe
480: [04:04:16] * zippy___ is now known as zippy__
481: [04:04:35] <Colin[pi]> zippy__: that's pretty cool
482: [04:04:47] <Colin[pi]> tables piss me off for small screens
483: [04:05:09] <cakez> hi guys, are there any known issues with the Files page in the CMS? Namely the "Filters" sidebar doesn't want to do anything on click. I want to be able to search through the list of files.
484: [04:06:18] <antmas> Colin[pi]: yeah the trouble I'm having is I need to have these tables in iframes :O
485: [04:06:40] <Colin[pi]> antmas: eeuw
486: [04:06:50] <antmas> Colin[pi]: indeed
487: [04:06:57] <antmas> anyway, later all!
488: [04:07:02] <Colin[pi]> k man, cyas
489: [04:07:07] <Ryan-Toast> bai
490: [04:07:13] * Tanger has joined #silverstripe
491: [04:07:46] * antmas quit (Quit: Page closed)
492: [04:18:42] * babak quit (Quit: Connection closed for inactivity)
493: [04:23:24] <spronk> https://www.kickstarter.com/projects/324283889/potato-salad
494: [04:25:45] <UncleCheese> what field type do you use for lat/lon?
495: [04:25:49] <UncleCheese> Float?
496: [04:26:09] <UncleCheese> or Decimal(9,2)?
497: [04:26:20] <zippy__> Decimal
498: [04:26:28] <UncleCheese> just decimal, no args?
499: [04:26:39] <Colin[pi]> UncleCheese: Decimal, speaking from experience... mine had args, one sec
500: [04:27:02] <Colin[pi]> mine was Decimal(9,6)
501: [04:27:21] <UncleCheese> there we go
502: [04:27:27] <UncleCheese> that's what i was looking for.. cheers
503: [04:27:41] <UncleCheese> it's total places, and number of places after the decimal
504: [04:27:44] <UncleCheese> i always forget
505: [04:30:04] <spronk> http://dev.mysql.com/doc/refman/5.0/en/spatial-datatypes.html :(
506: [04:35:34] <Colin[pi]> client tells me we should stop doing things last minute... client didnt contact for three months and calls me one week before needs changes due
507: [04:35:39] <Colin[pi]> CLIENTS GONNA CLIENT
508: [04:37:10] <Turnerj> Colin[pi]: Yup, not fun
509: [04:37:19] <Colin[pi]> why they do that? ;_;
510: [04:37:38] <Turnerj> I like to think of it like this:
511: [04:38:09] * simon_w|air quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
512: [04:38:51] <Turnerj> [{ #1 }{ #2 }{ #3 }]
513: [04:39:02] <Turnerj> #1: The amount they care about the cost
514: [04:39:16] <Turnerj> #2: The amount they care about the date/time
515: [04:39:31] <Turnerj> #3: The amount they care about anything the developer cares about
516: [04:39:37] <Colin[pi]> lol so true
517: [04:40:37] <Colin[pi]> I had one ring me the other day and say can we do a certain thing... I explained to them, no, it was not possible... he asked why.. I explained that I had WARNED them about this very thing back in the day, but they refused to listen and insisted I do something they wanted in a stupid way
518: [04:41:06] <Turnerj> Wow
519: [04:41:20] <Colin[pi]> they pushed the issue, I warned them "this is dumb"... and now months later "Why cant we..." BECAUSE YOU FOOL, YOU DIDNT LISTEN DID YOU?
520: [04:41:41] <Colin[pi]> but he got off the phone pretty quick after that lol
521: [04:42:21] <Colin[pi]> I'm just the web dev, what the fuck would I know?
522: [04:42:22] <Colin[pi]> ;D
523: [04:42:28] <Turnerj> ;)
524: [04:42:46] <zippy__> Colin[pi]: you shouldn't really say no, just that it's going to cost $x and reason is because of y. If they had of done it when you suggested then it would of been $z :)
525: [04:43:00] <ss23> zippy__: That pretty much makes you a whore
526: [04:43:04] <Colin[pi]> zippy__: lol
527: [04:43:04] <Turnerj> One of the things I see happen often is a client expects things to work the way they did before, just better
528: [04:43:05] <ss23> "Dont' say no, just ask for enough moeny"
529: [04:43:15] <ss23> I'd rather maintain some dignity than get some extra cash
530: [04:43:22] <ss23> Though it's a lot easier to say that since I'm single with no dependents and all that :P
531: [04:43:39] <Colin[pi]> ss23: what makes it worse is that this client was from hell
532: [04:43:52] <Colin[pi]> ss23: I would rather hammer nails through my dick than work with them again
533: [04:43:58] <ss23> lol
534: [04:44:00] <ss23> ouch
535: [04:44:05] <Turnerj> Yeah, ouch
536: [04:44:07] <Colin[pi]> oh man seriously, so bad
537: [04:44:13] <Colin[pi]> the closest I have ever been to firing a client
538: [04:44:20] <zippy__> ss23: just providing a service :)
539: [04:44:32] <Colin[pi]> and then to make it worse, issues with payment
540: [04:44:41] <ss23> Okay this is a fucked up bug, man.
541: [04:44:51] <ss23> function x calls function y... etc etc down to like function "foo"
542: [04:45:23] <ss23> If I die() before the last return of function foo, it dies there. if I die() on the $foo = foo(); of the function calling foo, it never finishes
543: [04:45:24] <zippy__> ss23: read the documentation?
544: [04:45:27] <ss23> OHHH
545: [04:45:56] <ss23> the functgion calls itself lots, thats it
546: [04:46:00] <ss23> So sometimes it works, sometimes it doesn't :O
547: [04:46:04] <ss23> fucking recursive functions
548: [04:46:32] <Turnerj> ss23: Bugs like that are so annoying
549: [04:46:54] <ss23> Worse, it's on some external infrastructure managed by the client, mssql
550: [04:47:06] <Colin[pi]> ick
551: [04:48:52] <Colin[pi]> someone remind me why we do this job again? :D
552: [04:50:01] <ss23> I do it cause it's good money, easy, fun, all that
553: [04:50:02] <ss23> o/
554: [04:50:17] <Stomach> because we don't want to be smashing wooden pegs into the ground for the rest of our lives
555: [04:50:25] * Stomach should have stuck with surveying >_<
556: [04:50:27] <Colin[pi]> Stomach: speak for yourself! ;D
557: [04:52:06] <zippy__> ss23: 8 minutes ago has problems with recursive function. 2 minute ago calls it easy
558: [04:52:10] <ss23> lol
559: [04:52:12] <Colin[pi]> hehehe
560: [04:52:16] <ss23> well... you know, it's all relative
561: [04:52:23] <ss23> I think this is just infinite recursion tbh
562: [04:52:27] <ss23> I mean, that's a reasonably common problem!
563: [04:52:43] <Colin[pi]> ss23: is it reaching max execution time?
564: [04:53:43] <ss23> yeah, and max memory limit
565: [04:53:53] <Colin[pi]> looks likely then
566: [04:53:53] <ss23> increased to finfinite time, 1gb memory, didn't work
567: [04:54:12] <ss23> md5(all the params); if (isset($globals['the times this has been called before']) or soemthing I might do
568: [04:54:16] <ss23> or just visually inspect
569: [04:55:02] * ss23 starts with visual
570: [04:55:03] <ss23> o/
571: [04:55:06] <ss23> 5000 rows of md5 hashes
572: [04:55:12] <ss23> lets hope I can see if it's infinite recursion!
573: [04:56:01] <Ryan-Toast> Zauberfisch: Took a page out of your book and am stripping out all the style from my boilerplate
574: [04:56:02] <ss23> rofl
575: [04:56:05] <ss23> as suspected, infinite recursion
576: [04:56:16] <ss23> gets like 3 calls in then just calls the same function over and over and over and over
577: [04:56:43] <zippy__> Ryan-Toast: speaking of styles, I have a problem namethings to the badest! call someting <div class="job"> and then want to use the same styles with something else… arrgghh!
578: [04:56:58] <zippy__> just my Monday 5pm first world problems
579: [04:57:17] <Ryan-Toast> zippy__: Just make sure you always have a desciptive parent :P
580: [04:57:44] <Colin[pi]> ss23: to understand recursion, you must first understand recursion
581: [04:57:51] <Ryan-Toast> I usually have something like section.foo > .item > .heading
582: [04:58:14] <zippy__> I end up with things like .jobs .author, then I want to use that .author style somewhere else, so I get .jobs .author, .something {
583: [04:58:28] <Ryan-Toast> Colin[pi]: I fixed a problem with recursion, now I have -1 problems
584: [04:59:03] <Colin[pi]> heheh
585: [05:01:23] <Turnerj> When trying to contribute to the silverstripe framework (more specifically, setting up composer), should the origin be pointing to my copy on github or the silverstripe copy?
586: [05:01:33] <Turnerj> More info: http://doc.silverstripe.org/framework/en/trunk/misc/contributing/code#step-by-step-from-forking-to-sending-the-pull-request
587: [05:02:00] <Turnerj> I've done the first 3 parts but I'm not sure if #2 worked correctly
588: [05:02:51] * nickmolhoek quit (Quit: nickmolhoek)
589: [05:04:48] <mobiusnz> is it possible to override the dataobject's created value without doing a DB::query() ?
590: [05:05:14] <Colin[pi]> mobiusnz: use onBeforeWrite()
591: [05:05:46] <mobiusnz> Colin[pi]: I only want to do it once, as a part of a BuildTask
592: [05:06:10] <mobiusnz> creating new dataobjects; want to preserve initial creation date
593: [05:06:19] <willr> mobiusnz $obj->update(array(‘Created’ => ..))
594: [05:11:26] <mobiusnz> sweet cheers
595: [05:13:10] <Turnerj> One line of my composer.json file has taken me over an hour of my time, stupid: "silverstripe/framework": "self.version",
596: [05:13:23] <Turnerj> Remove it, and everything seems to be better
597: [05:13:26] * mobiusnz quit (Quit: Leaving.)
598: [05:19:35] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
599: [05:25:32] * willr quit (Quit: willr)
600: [05:25:33] * Azure quit (Quit: My MBP went to sleep.)
601: [05:27:05] * zippy__ quit (Ping timeout: 252 seconds)
602: [05:27:37] * harv3st quit (Ping timeout: 246 seconds)
603: [05:30:46] <simon_w> Turnerj, yup. self.version is rather annoying
604: [05:31:25] <Turnerj> The contributing code docs don't even mention it so I didn't worry about it at first
605: [05:31:47] <Turnerj> Now that is sorted, I can finally start writing an update to uploadfield
606: [05:32:58] * Ryan-Toast quit (Quit: Ryan-Toast)
607: [05:33:06] * mobiusnz has joined #silverstripe
608: [05:39:10] * an_Eskimo quit (Ping timeout: 246 seconds)
609: [05:53:35] <ss23> hmm
610: [05:53:42] <ss23> I think I have figured out this stupid recursive issue in SiteTree
611: [05:53:48] <ss23> simon_w: Can I discuss with you? :D
612: [05:54:30] * ss23 looks at simon_w ^.^
613: [05:55:30] <Colin[pi]> simon_w still in Half-Life?
614: [05:56:47] <Turnerj> The real question is, are you guys pro or con curly-brace on same line or should it be on a new line?
615: [05:57:03] <ss23> Turnerj: 1tbs 4 lyfe
616: [05:57:06] <Colin[pi]> I do new line
617: [05:57:08] <ss23> seriously how fucking stupid is it to put the brace on new line
618: [05:57:10] <ss23> WHAT THE FUCK
619: [05:57:15] <ss23> Literally biggest waste of time with literally 0 advantage
620: [05:57:24] <ss23> "herp derp I can scan through it better" THATS WHAT INDENTING IS FOR
621: [05:57:24] <ss23> oh man
622: [05:57:28] <Colin[pi]> I like the way it looks better :P
623: [05:57:29] * ss23 breathes
624: [05:57:35] <ss23> Does someone wanna help me investigate this issue?
625: [05:57:39] <ss23> https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/model/SiteTree.php#L1201
626: [05:57:43] <ss23> See this line right
627: [05:57:59] <ss23> I think it means that if you have caching turned off (that is, like, the cache param set to false), you can get an inifnite loop
628: [05:58:13] <ss23> Because if you say "whats the parent of X", it'll get the parent of both staging and live
629: [05:58:18] <ss23> so the parents could be like 1 and 2
630: [05:58:31] <ss23> long story short I think I found a bug.
631: [06:00:32] <Turnerj> lol
632: [06:01:19] <Turnerj> I am one of those people who do put the brace on a new line though trying to stop myself because the code is for the framework
633: [06:01:30] <Turnerj> The pain, oh the pain
634: [06:01:32] <Stomach> brace on new line for the win
635: [06:01:43] <Stomach> multiple configurations for different projects = sad pandas
636: [06:01:45] <Colin[pi]> yay o/
637: [06:01:56] <Stomach> although happy bears: http://explore.org/live-cams/player/brown-bear-salmon-cam-brooks-falls
638: [06:02:05] <Colin[pi]> to me brace on new line just looks much more readable
639: [06:06:45] * BarkChudson has joined #silverstripe
640: [06:08:37] * r_hector has joined #silverstripe
641: [06:11:17] <Turnerj> Unfortunately when repo's specifically say it needs to be a certain way for bracing, it makes working with them a lot more annoying
642: [06:14:21] <ss23> Okay guys
643: [06:14:29] <ss23> Who is good at Writing Tests?! :D
644: [06:15:01] <ss23> I need to write a test, who wants to help?
645: [06:17:33] <Turnerj> *Insert Awkward Silence*
646: [06:18:05] <ss23> :(
647: [06:21:37] <Stomach> what do you need to test
648: [06:22:29] * Turnerj quit (Quit: Page closed)
649: [06:23:32] <ss23> This recursion bug
650: [06:23:43] <ss23> I need 3 dataobjects, SiteTree, versioned
651: [06:23:53] <ss23> First one has an ID of 6, a ParentID of 0
652: [06:24:06] <ss23> wait
653: [06:24:10] <ss23> bah lte me try writing it
654: [06:24:14] <ss23> WHEN I SUBMIT IT, YOU'LL SEE
655: [06:24:16] <ss23> YOU'LL ALLLLLL SEE
656: [06:24:21] * firefox2kx has joined #silverstripe
657: [06:24:25] <ss23> Though I suspect it'll be impossible to write a test without crashing the test runner
658: [06:24:46] <Stomach> bah, I ran unit tests the other day and five failed
659: [06:24:53] <Stomach> BUT NOT THE ONE I WROTE THAT THEN FAILED ON TRAVIS
660: [06:24:56] <Stomach> fucking what.
661: [06:25:08] <ss23> haha
662: [06:25:15] <ss23> randomly failing tests 4 lyfe
663: [06:25:25] <Stomach> randomly passing tests :(
664: [06:25:53] <ss23> that too
665: [06:25:53] <ss23> :D
666: [06:27:30] <ss23> Need to run tests? Submit a pull request1
667: [06:28:09] * travis-ci has joined #silverstripe
668: [06:28:10] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2819 (3.2-pdo-connector - 3bb4fb4 : Damian Mooyman): The build has errored.
669: [06:28:10] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/fa32decb5104^...3bb4fb47a097
670: [06:28:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/29292878
671: [06:28:10] * travis-ci has left #silverstripe
672: [06:32:13] * Shrike_Finland has joined #silverstripe
673: [06:32:19] <ss23> HE BROKE IT
674: [06:32:19] <ss23> :O
675: [06:32:28] <Colin[pi]> ERMAHGERD
676: [06:32:42] <Stomach> bloody Damo
677: [06:34:48] <nicob> Hey I'm trying to display a list of dataobjects on an unrelated page, is all i have to do: return myDataObject::get(); ,then loop over it in the page template?
678: [06:35:34] <simon_w> nicob, yup
679: [06:36:04] <nicob> Wheres the first place I should look if it's failing? I've tried a build/flush
680: [06:36:34] <simon_w> Where do you put the method?
681: [06:36:42] <simon_w> *did
682: [06:36:55] <nicob> in the page class
683: [06:37:15] <nicob> *in the page class which extends Page
684: [06:37:39] <nicob> I just called the function getMyDataObjects
685: [06:38:15] <nicob> but in the template <% if getMyDataObjects %> seems to fail
686: [06:39:37] <nicob> weird thing is identical code works on another page
687: [06:39:52] * travis-ci has joined #silverstripe
688: [06:39:52] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2820 (3.2-pdo-connector - 3bb4fb4 : Damian Mooyman): The build failed.
689: [06:39:52] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/fa32decb5104^...3bb4fb47a097
690: [06:39:52] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/29293065
691: [06:39:52] * travis-ci has left #silverstripe
692: [06:44:58] * cakez quit (Ping timeout: 246 seconds)
693: [06:48:33] * ARNHOE has joined #silverstripe
694: [06:50:17] <Stomach> oh damnit, current job 9529 lines :\
695: [06:50:27] <Stomach> thats about 4500 too many
696: [06:51:23] * BarkChudson is now known as kerosene
697: [06:52:33] * Shrike_Finland quit (Quit: Leaving.)
698: [07:04:33] * spronk2 has joined #silverstripe
699: [07:04:58] <Stomach> is there a way to include the controller in the scope for a shortcode?
700: [07:06:33] * spronk2 quit (Client Quit)
701: [07:06:57] * spronk2 has joined #silverstripe
702: [07:10:29] * ocm has joined #silverstripe
703: [07:10:34] <ocm> howdy
704: [07:13:37] * willr has joined #silverstripe
705: [07:19:59] * Shrike_Finland has joined #silverstripe
706: [07:27:49] <Stomach> howdy
707: [07:28:04] * zfmf has joined #silverstripe
708: [07:28:41] <ss23> Howdy :)
709: [07:29:11] <ss23> lol
710: [07:29:13] <ss23> I just realised...
711: [07:29:23] <ss23> If this test "works" and there is a bug, the tests are going to run for the maximum amount of time
712: [07:29:30] <ss23> This is going to take eages to see if it works,so I'm going to go home instead!
713: [07:29:42] <Stomach> yeah, you just moved the infinite loop to the tests :P
714: [07:29:53] <ss23> o/
715: [07:30:06] <Stomach> sounds good to me! :D
716: [07:32:42] * zfmf quit (Ping timeout: 255 seconds)
717: [07:35:40] <Stomach> I hate translations
718: [07:35:42] <Stomach> so much
719: [07:35:44] <Stomach> >_<
720: [07:37:59] <ocm> what is so bad about translations?
721: [07:38:31] * Colin[pi]-2 has joined #silverstripe
722: [07:38:40] <simon_w> ss23, if you're running them from the command line, there's no time limit
723: [07:39:12] <ss23> simon_w: I'm using travis
724: [07:39:17] <ss23> I cbf setting up it locally
725: [07:39:30] <simon_w> Oh, so you've only got 15 minutes to wait then
726: [07:39:42] <ss23> yeah
727: [07:39:42] <ss23> o/
728: [07:39:45] <ss23> Like I said, I'll go home
729: [07:39:46] <ss23> :P
730: [07:39:54] * Colin[pi] quit (Ping timeout: 255 seconds)
731: [07:43:08] <ss23> ValidationException: Infinite loop found within the "SiteTree" hierarchy. Please change the parent to resolve this
732: [07:43:13] <ss23> Well look at that, it has been... 'fixed'
733: [07:43:28] <ss23> Pretty shitty fix, since there actually is no real loop
734: [07:44:26] * spronk2 quit (Quit: spronk2)
735: [07:45:00] * stnvh has joined #silverstripe
736: [07:45:29] <ss23> Wait, I think I tested the wrong bug
737: [07:45:29] <ss23> bah
738: [07:45:44] * babak has joined #silverstripe
739: [07:49:51] <ss23> simon_w: p.s. this is CMS, so some tests take ~1 hour to complete
740: [07:50:35] <simon_w> ss23, Travis has a maximum time of an hour and a time with no output of 15 minutes. So there's probably none that take an hour to complete
741: [07:50:57] <ss23> simon_w: It takes time to get the worker, I mean an hour in total, for some tests, like uh
742: [07:51:02] <ss23> Sometimes you can be waiting an hour for the set of tests to compltee
743: [07:51:08] <ss23> Ambibigious sorry
744: [07:57:18] * zfmf has joined #silverstripe
745: [07:57:23] <ss23> Call to undefined method SiteTreePermissionsTest::assetTrue()
746: [07:57:25] <ss23> MOTHER FUCKER.
747: [07:58:04] * zfmf quit (Remote host closed the connection)
748: [08:04:22] <ss23> BAH MY TEST DOESN'T TRIGGER THE BUG
749: [08:04:27] <ss23> I bet it's been fixed
750: [08:04:30] <ss23> At least that's something
751: [08:16:56] <ocm> is it possible to give a non loggedin user acces to an concepted page (not published)?
752: [08:17:22] * Pyzpmk has joined #silverstripe
753: [08:18:13] * MickRip quit (Quit: No Ping reply in 180 seconds.)
754: [08:18:19] * MickRip has joined #silverstripe
755: [08:20:36] * Robke has joined #silverstripe
756: [08:21:24] <Robke> hello :)
757: [08:21:28] <ocm> heya
758: [08:21:55] <Robke> i have a small issue :(
759: [08:21:58] <Robke> http://pastie.org/9363198
760: [08:22:12] <Robke> the client can choose there menu should be shown :)
761: [08:22:28] <Robke> but if he cretes menu and chooses to show top left :)
762: [08:22:33] <Robke> it appears in the header
763: [08:22:55] <Robke> but after this... somehow my template renders code
764: [08:23:02] <Robke> and add a few lines of ul
765: [08:23:08] <Robke> and takes a place in footer
766: [08:23:24] <Robke> how could i solve that it should appear in footer? :)
767: [08:23:36] <Robke> i mean >ul> <li> </li> </ul> ?
768: [08:23:51] <Pyzpmk> you have stuff nested in the wrong place.
769: [08:24:35] <Pyzpmk> probably you don't want this at all: <% if Pos = "3" %> </ul> <% end_if %>
770: [08:24:36] <simon_w> ocm, no
771: [08:25:08] <Robke> why not? i need that menus would be sorted 3 lines and 3 columns :)
772: [08:25:11] <Robke> in footer
773: [08:25:20] <Robke> and other menu should appear in header :)
774: [08:25:42] <Pyzpmk> Robke: yes but you have that in the next bit.
775: [08:26:07] <Robke> mhm.. so what kind of solution you can suggest to me? :)
776: [08:26:20] * willmorgan has joined #silverstripe
777: [08:26:35] <Pyzpmk> read it through as if you're the code putting out the output.
778: [08:27:02] <Pyzpmk> use a pen and paper if you have to.
779: [08:27:10] <Pyzpmk> it will be clearer for you.
780: [08:32:18] <Robke> yeah if pos = 3 is necessary
781: [08:32:30] <Robke> but the issue is not solved :)
782: [08:33:45] * spronk2 has joined #silverstripe
783: [08:39:14] <Pyzpmk> Robke: I don't have enough context to know what you're wanting.
784: [08:42:09] <Pyzpmk> <% if PutMenuHere %><ul><% loop Menu(1) %><li class="$LinkingMode"><a href="$Link">$MenuTitle.XML</a></li><% if Last || MultipleOf(3) %></ul><% if not Last %><ul><% end_if %><% end_if %><% end_loop %><% end_loop %>
785: [08:42:24] <Pyzpmk> err, last end_loop should be end_if.
786: [08:42:31] <Pyzpmk> try try that.
787: [08:42:53] <Pyzpmk> where PutMenuHere obviously is whatever your thing should be.
788: [08:51:08] <Robke> thanks ;) i solved by myself :)
789: [08:51:14] <Robke> just saw your solution :)
790: [08:51:37] <Robke> but there was a mistake between closing end_if and multipleof :)
791: [08:51:44] <Robke> anyway thanks fro the help :)
792: [09:00:48] * UncleCheese has joined #silverstripe
793: [09:10:23] <Pyzpmk> good good :>
794: [09:27:22] * micmania1 has joined #silverstripe
795: [09:27:54] <micmania1> How do I add select columns to a datalist?
796: [09:28:14] <Pyzpmk> you don't, I don't think.
797: [09:28:29] <Pyzpmk> datalist is formed from the columns defined on the model, as it needs all of them in order to inflate it.
798: [09:28:47] <micmania1> so how would I add custom columns to a query?
799: [09:29:19] <Pyzpmk> generate your own query object I guess, or see if there's a way to grab SQLQuery out of the DataQuery
800: [09:29:32] * cakez has joined #silverstripe
801: [09:30:01] <Pyzpmk> oh wait, you might be able to alterDataQuery
802: [09:30:09] <micmania1> That's what i'm dong
803: [09:30:19] <micmania1> but can't figure out how to add an extra select column
804: [09:30:53] <Pyzpmk> yeah nah, you'll need to dataQuery->query()
805: [09:31:00] <cakez> hey guys, is there a known issue with the "Filters" sidebar in the cms in the Files section? I want to be able to search through my assets in the cms. Thanks
806: [09:31:04] <cakez> it doesnt open on click
807: [09:31:05] <Pyzpmk> ->addSelect()
808: [09:31:19] <Pyzpmk> cakez: ask ss23
809: [09:31:25] <micmania1> Pyzpmk: doesn't affect it
810: [09:31:35] <Pyzpmk> micmania1: it won't affect the datalist, not.
811: [09:31:36] <Pyzpmk> no*
812: [09:32:04] <Pyzpmk> a dataquery is for datalists, which is for getting a list of a single particular model.
813: [09:32:06] <cakez> oh my lords. I was trying to click on the Filters word, but you just have to click on the arrows at the bottom of the sidebar >_>
814: [09:32:15] <Pyzpmk> which needs exactly the amount of fields, no more no less.
815: [09:32:25] <Pyzpmk> even if you did select more it'd be ignored
816: [09:32:59] <Pyzpmk> cakez: make a github issue about it.
817: [09:33:14] <Pyzpmk> it's a usability issue that should probably be addressed
818: [09:40:40] * cakez quit (Ping timeout: 246 seconds)
819: [09:50:15] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
820: [09:50:31] * Tanger quit (Quit: Tanger)
821: [09:52:01] * Tanger has joined #silverstripe
822: [09:54:19] * Pyzpmk quit (Ping timeout: 246 seconds)
823: [09:58:38] * krofek has joined #silverstripe
824: [10:04:59] * anselmdk has joined #silverstripe
825: [10:08:32] * Pyzpmk has joined #silverstripe
826: [10:11:28] * Robke quit (Ping timeout: 246 seconds)
827: [10:11:59] * cloph_away is now known as cloph
828: [10:16:57] <Pyzpmk> micmania1: I got Meat Beast Challenge today :D
829: [10:17:06] <micmania1> nice
830: [10:17:13] <micmania1> I had the meatball on friday
831: [10:17:18] <micmania1> and dagwood on tuesday
832: [10:17:27] <micmania1> Haven't had the meat best yet
833: [10:17:44] * UncleCheese has joined #silverstripe
834: [10:17:57] <Pyzpmk> sliced chicken breast, sliced ham, spanish chorizo,salami milano,roast beef,peppered pastrami,tomato,lettuce garlic mayo & sweet chilli sauce
835: [10:18:01] <Pyzpmk> nom nom nom
836: [10:18:07] <micmania1> wow
837: [10:18:13] <micmania1> I'm doing that one day
838: [10:18:14] <Pyzpmk> I had to put it in a drawer because I could smell it :<
839: [10:18:42] <Pyzpmk> Yeah it looks amazing. Everything good in the world except I could swap sweet chilli for cheese.
840: [10:18:54] <Pyzpmk> then it'd be the perfect sandwich IMO :D
841: [10:19:07] * simon_w quit (Quit: This computer has gone to sleep)
842: [10:20:09] <Pyzpmk> The Meatball was nice, but a little spicy for me. Which is a shame, because I used to fucking love chilli... before I developed what I can only describe as a mild alergy to it :<
843: [10:20:25] <Pyzpmk> severe stomach cramps about 6-8 hours after consumption
844: [10:20:30] <Pyzpmk> sucks.
845: [10:21:03] <Pyzpmk> everyone's all "oh yeah ring of fire, that's normal" and I'm all "nah, not even. No fire, just cramps and no shit."
846: [10:21:41] <Pyzpmk> Discovered by accident after I ate 5 whole chillis one night at a chinese resturant (on purpose) :<
847: [10:22:38] <Pyzpmk> no kinglozzer today :/
848: [10:22:41] <Pyzpmk> that's... unusual
849: [10:24:54] <Pyzpmk> micmania1: have you ever had a form tell you its security id is invalid when submitting the form from that very controller?
850: [10:24:55] * Fisix_AIX has joined #silverstripe
851: [10:25:12] <Pyzpmk> well within session timeout
852: [10:25:16] <Fisix_AIX> What is "setLimitItems" on "Class PaginatedList" ?
853: [10:25:36] <Pyzpmk> Fisix_AIX: set number per page.
854: [10:25:38] <Pyzpmk> at a guess
855: [10:25:58] <Pyzpmk> api.silverstripe.org
856: [10:26:13] <Fisix_AIX> Thats what "setPageLength" is for
857: [10:26:14] <Pyzpmk> type paginatedlist::setlimititems into the search box.
858: [10:26:39] <Fisix_AIX> Yea, there is nothing on it
859: [10:27:22] <Pyzpmk> http://api.silverstripe.org/3.1/source-class-PaginatedList.html#159
860: [10:27:27] <Pyzpmk> yeah, look immediately above.
861: [10:28:32] <Fisix_AIX> ahh ok
862: [10:29:04] <Pyzpmk> seems like some weird usecase exception for when someone passes a PaginatedList into a PaginatedList
863: [10:29:27] <Pyzpmk> idk, wierd.
864: [10:29:49] <Pyzpmk> weird.
865: [10:32:03] * willr quit (Quit: willr)
866: [10:34:48] * simon_w has joined #silverstripe
867: [10:38:05] <Pyzpmk> halp me obi wan kenobi, you're my only hope.
868: [10:39:02] <Pyzpmk> POST SecurityID = cc6a681fe016aa6112248615e95b78b38300cf8d
869: [10:39:33] <Pyzpmk> if($form->validate()) die(var_dump($form->getSecurityToken));
870: [10:39:40] <Pyzpmk> object(SecurityToken)#4913 (5) { ["name":protected]=> string(10) "SecurityID" ["class"]=> string(13) "SecurityToken" ["extension_instances":protected]=> array(0) { } ["beforeExtendCallbacks":protected]=> array(0) { } ["afterExtendCallbacks":protected]=> array(0) { } }
871: [10:39:42] <Pyzpmk> no value!
872: [10:39:45] <Pyzpmk> :<
873: [10:39:54] <Pyzpmk> form redirectBack()s
874: [10:39:58] * Robke has joined #silverstripe
875: [10:40:06] <Pyzpmk> what do?
876: [10:40:21] <Robke> hello once again :) what is wrong with SS template function MultipleOf
877: [10:40:32] <Pyzpmk> Nothing.
878: [10:41:05] <Robke> because if i write 3 it sorts like 4 columns (1st column with 3 rows, 2nd column with 2 rows 3rd column with 3 rows and 4th column with 1 row )
879: [10:41:28] <Robke> but if i write multipleof(2) it sorts like 4 columsn with 2 rows and 1 with 1 row
880: [10:41:34] * Fisix_AIX quit (Quit: Leaving)
881: [10:41:35] <Robke> if multipleof(4)
882: [10:41:49] <Robke> it sorts 2 columns with 4 words and 1colum with 1 row
883: [10:41:56] <Robke> how could it be?
884: [10:42:09] <Pyzpmk> A misunderstanding and a mistake.
885: [10:42:25] <Robke> hm... :/
886: [10:42:29] <Robke> not good :)
887: [10:43:04] <Pyzpmk> it sounds like you have your <ul> and </ul> in a bit of the wrong place.
888: [10:43:43] <Pyzpmk> and it's all well and good telling me what is in which column, but I don't know the total of things so I don't know what it's supposed to look like when it's working properly.
889: [10:45:54] <Robke> http://pastie.org/9363585
890: [10:46:35] * Tanger quit (Quit: Tanger)
891: [10:48:50] <Robke> so what im doing wrong now? :)
892: [10:49:49] <Pyzpmk> you might want to look at http://addons.silverstripe.org/add-ons/heyday/silverstripe-menumanager
893: [10:50:04] <Pyzpmk> it seems like it would be much easier to acomplish what you're trying to do
894: [10:51:06] <Robke> ok thanks
895: [10:53:11] <Colin[pi]-2> Pyzpmk: I would hate if I couldn't eat chilli anymore :o
896: [10:53:15] * Colin[pi]-2 is now known as Colin[pi]
897: [10:57:32] <Pyzpmk> yeh, it really sucks.
898: [10:57:56] <Pyzpmk> Missing out on half the mexican experience, etc :<
899: [10:58:06] <Pyzpmk> I can do curry, which is weird.
900: [10:58:09] <Pyzpmk> but not chilli
901: [10:58:36] <Pyzpmk> you a fan of the burning ring Colin[pi]?
902: [11:18:19] * Robke quit (Ping timeout: 246 seconds)
903: [11:23:04] <Colin[pi]> Pyzpmk: lol I like the clean out it gives you
904: [11:23:32] <Colin[pi]> I make laksas sometimes, always put a shitload of dry chilli on it
905: [11:23:37] <Colin[pi]> next day.... FFFFFFUUUUUUUUUUUUUUUUUU
906: [11:24:56] <Pyzpmk> lol
907: [11:25:13] <Pyzpmk> getting the shits is a sign of weakness Colin[pi]
908: [11:25:18] <Pyzpmk> :P
909: [11:27:28] <Colin[pi]> naw it's not like lava, just... a lot of it lol
910: [11:27:41] <Pyzpmk> i c
911: [11:28:42] <Colin[pi]> I used to go to this like thai/laos restaurant in the city, they'd laugh at me when I asked for more chilli "AHAHAHA SILLY WHITE MAN"
912: [11:29:08] <Colin[pi]> then the owner saw me one day piling on chilli, and he came over and said "FUCK ME, MAN... YOU A LAOS BROTHER, YOU FROM LAOS"
913: [11:29:17] <Pyzpmk> lol
914: [11:29:30] <Pyzpmk> legit
915: [11:29:33] <Colin[pi]> was like "respect"
916: [11:29:35] <Colin[pi]> :D
917: [11:30:52] <Colin[pi]> Pyzpmk: you ever have a thai jungle curry before?
918: [11:31:06] <Pyzpmk> nup
919: [11:31:15] <Pyzpmk> well
920: [11:31:17] <Pyzpmk> maybe
921: [11:31:27] <Colin[pi]> like this: http://3.bp.blogspot.com/-8lMLA9S5RWk/TicSY6U2duI/AAAAAAAAA5g/9XqthfCF0zA/s1600/IMG_0791.JPG
922: [11:31:29] <Pyzpmk> I had a curry in a Thai jungle... if that counts
923: [11:31:49] <Colin[pi]> no coconut milk, just raw curry paste and a bit of water
924: [11:31:55] <Pyzpmk> yum
925: [11:32:09] <Colin[pi]> had one once in a restaurant... swear I could almost see through time
926: [11:32:21] * r_hector quit (Quit: Leaving.)
927: [11:32:27] <Pyzpmk> hahaha
928: [11:32:28] <Colin[pi]> soo good though :D
929: [11:32:31] <Pyzpmk> fuck I miss eating hot stuff :<
930: [11:32:47] <Colin[pi]> yeah sorry I'll shutup now :C
931: [11:33:53] <spronk> god that looks sexy
932: [11:35:08] <Colin[pi]> spronk: they are damn good, hotness can vary from very hot to OMFG I CANT FEEL MY FACE
933: [11:44:05] * simon_w quit (Quit: This computer has gone to sleep)
934: [11:52:58] <spronk> i'd bury my face in that motherfucker
935: [11:53:18] <Pyzpmk> Curry tits?
936: [11:53:46] <spronk> mmwubababwbbwab
937: [11:56:35] * Shrike_Finland quit (Quit: Leaving.)
938: [12:00:59] * anselmdk quit (Quit: anselmdk)
939: [12:04:16] * Shrike_Finland has joined #silverstripe
940: [12:15:49] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
941: [12:26:55] * irogue_ has joined #silverstripe
942: [12:30:42] * UndefinedOffset has joined #silverstripe
943: [12:30:58] * irogue quit (Read error: Connection reset by peer)
944: [12:37:00] <micmania1> This is making my life so easy right now https://github.com/briannesbitt/Carbon
945: [12:39:31] * Pyzpmk quit (Ping timeout: 246 seconds)
946: [12:40:01] <guzzlefry> that looks beautiful
947: [12:41:06] <micmania1> It is. I've added it as an extension to Date
948: [12:41:31] <micmania1> $date->getCarbon()->subMonths(5)
949: [12:41:38] <micmania1> so easy
950: [12:45:21] * guzzlefry wonders how subMonth(1) would work on march 31st
951: [12:47:30] * Shrike_Finland quit (Quit: Leaving.)
952: [12:52:24] <micmania1> it returns 3rd March lol
953: [12:53:17] <guzzlefry> uhhh
954: [12:53:38] <guzzlefry> oh right
955: [12:53:43] <guzzlefry> it's using the DateTime class.
956: [12:53:57] <micmania1> yep
957: [13:07:37] * Shrike_Finland has joined #silverstripe
958: [13:11:24] * muskie9 has joined #silverstripe
959: [13:12:39] * muskie9 quit (Client Quit)
960: [13:16:57] * spronk2 quit (Quit: spronk2)
961: [13:18:26] * muskie9 has joined #silverstripe
962: [13:33:29] * anselmdk has joined #silverstripe
963: [13:42:35] * Pyzpmk has joined #silverstripe
964: [13:43:49] <Pyzpmk> dem internet drops :<
965: [13:58:37] * catcher has joined #silverstripe
966: [14:14:55] <Pyzpmk> wholey fucking siestas batman :<
967: [14:16:37] * R\w\C has joined #silverstripe
968: [14:16:37] * R\w\C quit (Client Quit)
969: [14:25:52] * Marvanni2 quit ()
970: [14:30:46] * Shrike_Finland quit (Quit: Leaving.)
971: [14:48:05] * Colin[pi] quit (Ping timeout: 252 seconds)
972: [15:10:52] <Pyzpmk> whaaaaaaat: http://api.silverstripe.org/3.1/source-class-CMSMain.html#76 && https://github.com/silverstripe/silverstripe-cms/blob/3.1/javascript/CMSMain.js -.-
973: [15:17:05] <catcher> interesting.
974: [15:18:49] <Pyzpmk> Very.
975: [15:19:13] <Pyzpmk> One could gaze at that beautiful source in deep thought for hours man.
976: [15:19:23] <Pyzpmk> It's so zen.
977: [15:19:37] <Pyzpmk> Meditative programming.
978: [15:19:41] <catcher> Explore the space.
979: [15:19:42] <Pyzpmk> You saw it here first.
980: [15:19:55] <Pyzpmk> enless possibilities.
981: [15:20:52] * ARNHOE quit (Remote host closed the connection)
982: [15:21:34] * eagles0513875 quit (Changing host)
983: [15:21:34] * eagles0513875 has joined #silverstripe
984: [15:21:34] * eagles0513875 quit (Changing host)
985: [15:21:34] * eagles0513875 has joined #silverstripe
986: [15:22:40] * jenniferaslan has joined #silverstripe
987: [15:27:41] * abitran quit (Ping timeout: 252 seconds)
988: [15:31:24] * Shrike_Finland has joined #silverstripe
989: [15:34:51] * abitran has joined #silverstripe
990: [15:49:43] * abitran quit (Ping timeout: 272 seconds)
991: [15:51:31] * anselmdk quit (Quit: anselmdk)
992: [15:56:34] * kerosene quit (Ping timeout: 240 seconds)
993: [15:56:40] * abitran has joined #silverstripe
994: [16:03:04] * kerosene has joined #silverstripe
995: [16:27:48] * stnvh quit ()
996: [16:53:47] * joelpittet quit ()
997: [17:01:09] * abitran quit (Ping timeout: 248 seconds)
998: [17:08:21] * abitran has joined #silverstripe
999: [17:24:08] * abitran quit (Ping timeout: 260 seconds)
1000: [17:25:48] * abitran has joined #silverstripe
1001: [17:27:13] * Liquide quit ()
1002: [17:28:10] * hubertus_ has joined #silverstripe
1003: [17:31:00] * UndefinedOffset quit (Quit: Leaving.)
1004: [17:43:04] * hubertus_ quit (Remote host closed the connection)
1005: [17:44:38] * willmorgan quit (Ping timeout: 252 seconds)
1006: [17:47:48] * hubertus_ has joined #silverstripe
1007: [17:52:21] * hubertus_ quit (Ping timeout: 248 seconds)
1008: [17:56:14] * UndefinedOffset has joined #silverstripe
1009: [18:36:03] * wilson has joined #silverstripe
1010: [18:36:09] <wilson> Hi to all,
1011: [18:36:21] <catcher> hello
1012: [18:36:27] * wilson is now known as Guest39415
1013: [18:36:37] <Guest39415> Is there a way someone can add <sup> tag to Navigation Name entries?
1014: [18:37:35] <catcher> You mean Page Name / Navigation Label in the CMS?
1015: [18:37:40] <Guest39415> Yes.
1016: [18:37:58] <Guest39415> The way SimpleHTMLField does it.
1017: [18:38:44] <Guest39415> Which i dont want to do: create a custom field and rename every page of the site. I thought about modifying the core PageType field?
1018: [18:39:35] <catcher> Guest39415, it's never a good idea to hack core.
1019: [18:40:49] <Guest39415> Know that. But this is the simpliest way, apart what i said: create a SimpleHTMLField, and rename every page et modify templates to reflect that new field. That would do it?
1020: [18:40:51] <catcher> Guest39415, since that's a pretty non-standard thing to do, I'd say the "right" way would be to make a Page decorator with a new HTMLText field, and obscure the old one.
1021: [18:41:19] <catcher> You can write a build task to assign the old values to the new field very quickly.
1022: [18:41:26] * azureknight has joined #silverstripe
1023: [18:41:49] <Guest39415> HTMLField is overskilled (with TinyCME tools) for what i need. I SimpleHTMLField still exists?
1024: [18:42:16] <catcher> Not sure, I'll check the API.
1025: [18:43:35] <catcher> Guest39415, doesn't look like it. You can always use a regular text field if you don't need previewing.
1026: [18:44:10] <Guest39415> OK. And what about the build task you mentionned? No PHP expert here.
1027: [18:45:18] <catcher> Guest39415, it's pretty straightforward. This post is a little old, but still looks relevant: http://www.balbus.tk/creating-tasks/
1028: [18:45:53] <catcher> Basically in your run method, you'll iterate over all your Page objects, assign the field, and save/publish the changes.
1029: [18:46:04] <catcher> test locally first, then wash, rinse, repeat.
1030: [18:46:18] <Guest39415> OK. Thanks Catcher. later.
1031: [18:46:22] <catcher> np
1032: [18:46:24] * Guest39415 quit (Quit: Page closed)
1033: [19:15:28] * azureknight quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1034: [19:24:46] * willmorgan has joined #silverstripe
1035: [19:58:58] * willmorgan quit (Ping timeout: 240 seconds)
1036: [20:01:42] * gelignite has joined #silverstripe
1037: [20:07:03] * UndefinedOffset quit (Quit: Leaving.)
1038: [20:07:16] * mobiusnz quit (Quit: Leaving.)
1039: [20:22:14] * mobiusnz has joined #silverstripe
1040: [20:34:51] * muskie9 quit (Read error: Connection reset by peer)
1041: [20:35:19] * muskie9 has joined #silverstripe
1042: [20:37:35] * mobiusnz quit (Quit: Leaving.)
1043: [20:44:28] * Ryan-Toast has joined #silverstripe
1044: [20:47:22] <Stomach> morning
1045: [20:48:53] <Ryan-Toast> morning
1046: [20:50:18] <Stomach> how goes it
1047: [20:52:07] <Ryan-Toast> Good. Tired.
1048: [20:55:17] <Stomach> Yay! Its only Tuesday... :(
1049: [21:01:54] * an_Eskimo has joined #silverstripe
1050: [21:04:03] <catcher> ...or, Monday.
1051: [21:04:09] <catcher> boo.
1052: [21:10:48] <Ryan-Toast> Hmm, Stomach do you knwow of a way to add a class to a youtube video when it’s linked via the image uploader?
1053: [21:11:03] <Ryan-Toast> They have media, but I’d like a “video” class or something
1054: [21:12:20] <Stomach> you can link videos via the image uploader? o_O
1055: [21:12:55] <Ryan-Toast> yeah
1056: [21:13:06] <Ryan-Toast> if you paste in a youtube link it embeds it automatically
1057: [21:13:10] <Stomach> well fuck me
1058: [21:13:40] <Stomach> we arent talking about UploadField are we
1059: [21:13:43] <Stomach> I am so confused
1060: [21:16:34] <muskie9> Stomach: http://demo.silverstripe.org/features/media-insertion/
1061: [21:17:06] <Stomach> oh, in the TinyMCE editor
1062: [21:17:09] * Colin[pi] has joined #silverstripe
1063: [21:17:22] <Stomach> no sorry Ryan-Toast, I dont know how to do that
1064: [21:17:31] * Pyzpmk quit (Ping timeout: 246 seconds)
1065: [21:18:16] <Stomach> I've just been using richardsjoqvist/silverstripe-embedder
1066: [21:18:32] <Ryan-Toast> I don’t like using modules if I can get away with it
1067: [21:18:53] <Stomach> then why even use the CMS module :P
1068: [21:19:09] <Ryan-Toast> I mean besides the cms :P
1069: [21:21:38] <Shrike_Finland> Any ideas, why SS can not access assets folder after upload from local to live server? Gives internal server error.
1070: [21:21:54] * UncleCheese has joined #silverstripe
1071: [21:22:00] <Shrike_Finland> Also images are "missing", but actual files are still in plae
1072: [21:22:03] <Shrike_Finland> place
1073: [21:22:15] <muskie9> Shrike_Finland try the sync assets task
1074: [21:22:23] <Shrike_Finland> tried, no help
1075: [21:22:40] <Stomach> Shrike_Finland, are your permissions set correctly?
1076: [21:22:41] <Ryan-Toast> Shrike_Finland:Permissions? Hosting account full?
1077: [21:23:11] <Shrike_Finland> Permission on that folder 777, Hosting not full… or at least should not be…
1078: [21:24:13] <Ryan-Toast> Is the chown set corretly?
1079: [21:24:45] <Stomach> if its 777 it shouldn't matter
1080: [21:24:58] <Stomach> if the files are also 777
1081: [21:25:02] <Ryan-Toast> Really? I didn’t know that.
1082: [21:25:08] <Ryan-Toast> I hate hosting stuff.
1083: [21:25:12] <Ryan-Toast> so pedantic.
1084: [21:25:32] <Stomach> you mean, sense making?
1085: [21:25:48] <Stomach> i also hate it though
1086: [21:25:54] <Stomach> I am not a sysop
1087: [21:26:07] <Shrike_Finland> files are 777 also. It might be something to do with RewriteEngine… Should there be RewriteEngine '/' or not?
1088: [21:26:27] <Stomach> is it set up as a virtual host?
1089: [21:26:36] <Stomach> or at domain/folder/
1090: [21:26:58] <Shrike_Finland> Virtual host, direct domain
1091: [21:27:09] <Stomach> then rewritebase should be set at '/'
1092: [21:27:11] <Stomach> hmmmm
1093: [21:30:58] <Shrike_Finland> If I try direct url to image, it gives Internal Server Error. It has to be something wrong with htaccess...
1094: [21:31:01] * zippy__ has joined #silverstripe
1095: [21:31:11] * catcher quit (Quit: Leaving)
1096: [21:35:16] * novaweb has joined #silverstripe
1097: [21:38:44] * gelignite quit (Quit: http://bit.ly/nkczDT)
1098: [21:42:16] * Azure has joined #silverstripe
1099: [21:42:43] * nicob quit (Ping timeout: 246 seconds)
1100: [21:43:32] * azureknight has joined #silverstripe
1101: [21:44:05] <Stomach> Shrike_Finland, yeah it sounds like it
1102: [21:44:18] <Stomach> is it just the default SS htaccess?
1103: [21:44:36] * azureknight quit (Remote host closed the connection)
1104: [21:54:06] * antmas has joined #silverstripe
1105: [21:55:01] <antmas> mornin all
1106: [21:56:08] <ss23> moin
1107: [21:56:29] <Stomach> hiya
1108: [22:06:56] * Shrike_Finland quit (Quit: Leaving.)
1109: [22:17:03] * azureknight has joined #silverstripe
1110: [22:31:01] * novaweb quit (Quit: novaweb)
1111: [22:33:03] <UncleCheese> so there's something that always gits me about git
1112: [22:33:22] <UncleCheese> say i have a module installation from composer.. no vcs
1113: [22:33:27] <UncleCheese> and i make changes
1114: [22:33:31] <UncleCheese> and i want to push them up
1115: [22:33:45] <ss23> That's something shit in composer, not git
1116: [22:33:49] <ss23> But yeah, annoys me too
1117: [22:33:50] <UncleCheese> i have to git init, git commit, git remote add origin, and then i pull, and KABOOM
1118: [22:34:25] <UncleCheese> so how do I tell git that, no... fer realz, you're all good
1119: [22:34:47] <UncleCheese> or is it just a bit shit, git?
1120: [22:35:13] <ss23> Instead of doing all that, instead, do rm -rf that thing you wanna modify, git clone the-real-repo, and work on that
1121: [22:35:16] <ss23> Will be easier
1122: [22:35:34] * Jakx has joined #silverstripe
1123: [22:36:30] <Jakx> Is extending the MemberLoginForm class, the right way to go - if I want the login form at Security/login/ to also utilise the extension?
1124: [22:41:32] <antmas> ss23: that sounds more like a git issue rather than composer
1125: [22:44:27] <ss23> antmas: what? composer doesn't check out VCS properly!
1126: [22:45:36] <antmas> ss23: oh wait, didn't see UncleCheese say ...no vcs
1127: [22:46:06] <ss23> Yeah, issue is that he wants to work with VCS, commiting and pushing changes, but composer doesn't do that
1128: [22:46:13] <ss23> So he has to work around it by initing the files with git manually
1129: [22:46:14] <Stomach> ss23, composer does check out VCS correctly if you do --keep-vcs
1130: [22:46:29] <Stomach> or if there isnt a tagged release (for example a branch not a tag)
1131: [22:46:37] <ss23> Stomach: Doesn't it do the weirdness with the composer remote if you do that?
1132: [22:46:47] <ss23> I had massive issues with doing that and it didn't work properly
1133: [22:47:00] * azureknight quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1134: [22:50:53] * novaweb has joined #silverstripe
1135: [22:53:17] <Stomach> yeah it keeps the remote that it was originally, obviously you need to change that ? :S
1136: [22:56:26] <ss23> Not what I meant
1137: [22:56:45] <ss23> I meant it adds two remotes by default, origin and composer, and even if you commit to a certain one ,it messes up, especially if you try using composer update later
1138: [22:56:53] <ss23> I'm probably using it wrong, but my point is more about how composer is shit
1139: [23:00:47] * novaweb quit (Quit: novaweb)
1140: [23:05:02] * novaweb has joined #silverstripe
1141: [23:06:17] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1142: [23:09:42] * zippy__ quit (Quit: zippy__)
1143: [23:11:37] * azureknight has joined #silverstripe
1144: [23:15:40] * azureknight quit (Ping timeout: 240 seconds)
1145: [23:15:55] * novaweb quit (Quit: novaweb)
1146: [23:17:29] * azureknight has joined #silverstripe
1147: [23:18:54] <Ryan-Toast> Psst, hey spronk
1148: [23:19:11] <Ryan-Toast> what’s all this? ERROR [User Warning]: Couldn't set response type to 403 because of output on line 174 of /home/strayco/public_html/framework/dev/Deprecation.php
1149: [23:19:12] <Ryan-Toast> IN GET /~strayco/admin/subsites/
1150: [23:20:04] * simon_w|work has joined #silverstripe
1151: [23:24:33] <antmas> Ryan-Toast: is that the only error?
1152: [23:24:38] <Ryan-Toast> yes
1153: [23:24:48] <Ryan-Toast> super informative
1154: [23:26:05] <antmas> Ryan-Toast: hmmmmmmm
1155: [23:26:32] <antmas> Ryan-Toast: To the logs!
1156: [23:26:45] <Ryan-Toast> that’s the error from the logs
1157: [23:27:13] <antmas> Ryan-Toast: aw guts
1158: [23:28:24] <antmas> is it the directory structure?
1159: [23:28:39] <Ryan-Toast> Shrug
1160: [23:29:08] <antmas> well you have the subsites in the admin direct.
1161: [23:29:21] <antmas> but the 'parent' site is in public_html
1162: [23:29:23] <antmas> I dunno
1163: [23:29:41] * antmas has never used subsites
1164: [23:29:49] * willr has joined #silverstripe
1165: [23:30:00] <simon_w|work> Morning minions
1166: [23:30:13] <antmas> simon_w|work: MORNING OH GREAT OVERLORD
1167: [23:32:29] <simon_w|work> Good response
1168: [23:32:47] <simon_w|work> So, I'm going to be in Wellington over WDC weekend
1169: [23:34:14] <antmas> simon_w|work: coming to the conf?
1170: [23:34:18] <simon_w|work> Nope
1171: [23:34:23] <antmas> simon_w|work: FAIL
1172: [23:34:51] <antmas> Colin[pi]: irogue_ and I will be around
1173: [23:35:59] <simon_w|work> So will larksie
1174: [23:36:29] <antmas> simon_w|work: we could all do so many activites
1175: [23:36:30] <antmas> :O
1176: [23:36:44] <simon_w|work> You could drive us out to our wedding venue!
1177: [23:36:59] <antmas> simon_w|work: Colin[pi] could, he has a hire car :D
1178: [23:41:23] * UncleCheese has joined #silverstripe
1179: [23:42:16] <UncleCheese> Stomach --keep-vcs only works on create-project, not on require
1180: [23:43:13] <Stomach> why would you be requiring something you want to work on rather than just git cloning? I guess its a workflow issue
1181: [23:45:01] <Stomach> UncleCheese ^
1182: [23:45:28] <UncleCheese> right, well, sometimes i realise i want to add a feature to a module i have installed on a project
1183: [23:45:33] <UncleCheese> or fix a bug
1184: [23:45:37] <UncleCheese> more likely
1185: [23:45:52] <UncleCheese> so yeah, i guess the answer is just git clone
1186: [23:45:53] <UncleCheese> lame
1187: [23:46:25] <UncleCheese> i think it's more of a git issue, TBH.. because I should be able to tell git that, yeah, you may not know about this remote branch, but trust me, you're in sync.
1188: [23:46:35] <antmas> that's the only way to get vcs in? ^^^
1189: [23:46:46] <antmas> by cloning?
1190: [23:47:11] <simon_w|work> UncleCheese, add the remote, set the branch's upstream
1191: [23:47:15] <UncleCheese> yup
1192: [23:47:31] <simon_w|work> A fetch may be required
1193: [23:47:34] <antmas> that's fucked
1194: [23:47:43] <simon_w|work> Then, look at that, it knows it's in sync!
1195: [23:53:33] <UncleCheese> simon_w|work ferrealz?
1196: [23:53:39] <UncleCheese> is that all you need to do
1197: [23:54:02] <simon_w|work> Yes. All the "in sync" is is telling you the difference between local HEAD and the tracked upstream's HEAD
1198: [23:55:19] <UncleCheese> so you're saying that the git pull is more destructive than a simple fetch
1199: [23:55:27] <UncleCheese> because git pull just blows it up.. conflict city
1200: [23:55:34] <simon_w|work> pull == fetch && merge
1201: [23:55:37] <UncleCheese> exactly
1202: [23:55:52] <UncleCheese> ok, cool
1203: [23:55:56] <UncleCheese> yeah that sounds awesome

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