#silverstripe IRC Log

IRC log for 12 June 2014

All timestamps are in UTC.

1: [00:00:42] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
2: [00:04:53] <spronk> anyone ever had issues with html videos in chrome causing other elements to flicker in positioning?
3: [00:12:07] * webbower has left #silverstripe
4: [00:16:20] * UncleCheese has joined #silverstripe
5: [00:17:42] * UncleCheese quit (Client Quit)
6: [00:19:45] * UncleCheese has joined #silverstripe
7: [00:19:55] <antmas> spronk: I've seen it before
8: [00:24:37] <antmas> anyone read the Darktower series?
9: [00:25:18] <Stomach> antmas, yep
10: [00:25:57] <antmas> Stomach: it's so good!
11: [00:26:30] <Stomach> antmas, yeah it really is, its my favourite book series
12: [00:26:36] <Stomach> where are you upto?
13: [00:27:12] <antmas> Stomach: just started book 1 :P
14: [00:27:25] <antmas> heard a lot about it, so decided to finally get into it
15: [00:27:28] <Stomach> oh I wont ruin anything then
16: [00:27:33] <antmas> + I love Steven King
17: [00:27:36] <Stomach> have you read much stephen king?
18: [00:27:41] <antmas> ^^^
19: [00:27:45] <Stomach> oh good, makes it way better - there are lots of little trips to his world
20: [00:27:47] <Stomach> s
21: [00:27:59] <antmas> yeah I read a lot of horror
22: [00:29:16] <antmas> mmm dat lunch time
23: [00:29:58] <Stomach> I'm reading John Dies at the End right now
24: [00:30:01] <Stomach> its really good
25: [00:30:07] <antmas> oh that's a book too?
26: [00:30:14] <Stomach> its a movie?
27: [00:30:17] <Stomach> or series?
28: [00:30:18] <antmas> lol
29: [00:30:21] <antmas> Movie
30: [00:30:28] <Stomach> oh
31: [00:30:38] <Stomach> glad I didnt know about that or I probably wouldnt have read it
32: [00:30:41] <antmas> came out like 2012 maybe?
33: [00:30:52] <antmas> was pretty good
34: [00:34:20] <Stomach> yeah the book is good too
35: [00:34:23] <Stomach> :D
36: [00:36:12] * jenniferaslan quit (Quit: jenniferaslan has left the room)
37: [00:36:22] <UncleCheese> giving up on Mac Mail
38: [00:36:25] <UncleCheese> what a pile of shit
39: [00:37:13] <simon_w> Isn't it great how interoperable Google products are?
40: [00:37:24] <UncleCheese> horrific
41: [00:37:31] <UncleCheese> what a clusterfuck
42: [00:37:40] <zippy__> UncleCheese: Trying to use it with gmail?Assume your using Maverics?
43: [00:37:45] <UncleCheese> yeah
44: [00:37:49] <UncleCheese> hopelessfly fucked
45: [00:38:24] <UncleCheese> switching to postbox
46: [00:38:54] <irogue_> yeah, it's sad that a product like Postbox has to exist
47: [00:38:59] <UncleCheese> we'll see how long it takes before this makes me want to cut off my face with a dull pencil
48: [00:39:05] <irogue_> they take a working IMAP client and hack it up to make it work properly with Gmail
49: [00:39:45] <UncleCheese> it's remarkable to me that we still haven't figured out in 2014 how to email
50: [00:40:16] <irogue_> no, we have
51: [00:40:20] <irogue_> Google have just broken it
52: [00:40:49] <irogue_> my personal email is a proper IMAP email (fastmail) and it works flawlessly in Mail.app
53: [00:41:00] <irogue_> my silverstripe on the other hand i have all kinds of weird issues with
54: [00:41:04] <irogue_> cos gmail
55: [00:42:02] <simon_w> Yeah, all my actual IMAP accounts work fine
56: [00:46:31] <simon_w> UncleCheese, have you ever wondered why all these Gmail clients don't support generic IMAP accounts even though that's the protocol they speak?
57: [00:46:33] <UncleCheese> eff this, i'm going back to sparrow
58: [00:46:58] <UncleCheese> i always assumed it was shitty email clients
59: [00:47:00] <irogue_> simon_w: it's such a bastardisation of IMAP it's not funny
60: [00:47:22] <antmas> fuck email
61: [00:47:29] <antmas> also, search while we're at it
62: [00:47:37] <UncleCheese> why is it a bastardisation of imap?
63: [00:47:59] <irogue_> UncleCheese: gmail doesn't really follow standards in its IMAP implementation
64: [00:48:35] <UncleCheese> gmail : imap == Internet Explorer : W3C
65: [00:48:43] <irogue_> yeah
66: [00:48:44] <irogue_> pretty much
67: [00:48:47] <UncleCheese> gotcha
68: [00:49:11] <simon_w> Except, one's gotten a lot better whereas the other has gotten a lot worse
69: [00:49:25] <irogue_> yeah, when gmail first implemented imap it worked mostly fine
70: [00:49:37] <irogue_> one can only assume they're fucking with it to force people into using their clients
71: [00:49:42] <antmas> so... are all you guys trying to get mail on your apple products?
72: [00:49:55] <simon_w> Oh, I get mail fine
73: [00:50:00] <irogue_> without saying they're turning off IMAP support and raising the ire of people who still thing Google are "open"
74: [00:50:05] <UncleCheese> antmas no, we're trying to send mail
75: [00:50:12] <simon_w> Luckily I don't care that much about my gmail accounts
76: [00:50:15] <antmas> UncleCheese: from what?
77: [00:50:29] <UncleCheese> a hopelessly broken pile of crap
78: [00:50:48] <UncleCheese> Mail.app
79: [00:50:49] <antmas> I've never had a good time with an apple device and google
80: [00:50:56] <UncleCheese> yeah, shocking
81: [00:51:13] <UncleCheese> i can't believe that the two technology giants constantly vying for the same market wouldn't play nice together
82: [00:51:20] <antmas> everything else though, google seems fine
83: [00:51:39] <irogue_> antmas: ultimately that's because other clients have worked around google's fuckedupness
84: [00:51:50] <antmas> irogue_: exactly
85: [00:51:55] <simon_w> Mostly because Google provided the work arounds
86: [00:52:02] <irogue_> ^
87: [00:52:22] <irogue_> as an example, Google removed Push support from IMAP
88: [00:52:23] <antmas> I blame them both
89: [00:52:39] <UncleCheese> irogue_ yeah, that was a nice treat
90: [00:52:49] <UncleCheese> upgrade to ios 7.1 and, poof.. push email gone
91: [00:53:01] <UncleCheese> and it bricked my phone to boot
92: [00:53:04] <simon_w> antmas, I would if it started bad. Gmail used to work fine, then Google changed things
93: [00:53:20] <irogue_> yeah
94: [00:53:24] <simon_w> antmas, they've done the same sort of thing with their Jabber implementation too
95: [00:53:34] <irogue_> hahaha google jabber implementation
96: [00:53:35] * antmas_ has joined #silverstripe
97: [00:53:45] <irogue_> piece by piece removing it
98: [00:53:53] <irogue_> so eventually you have no choice but to use the Hangouts clients
99: [00:54:06] <simon_w> It no longer supports external services with SRV records pointing to a different address than the base domain
100: [00:55:40] <irogue_> i'm using https://www.fastmail.fm/signup/personal.html these days, am quite impressed with their approach of just using standards and never implementing things themselves
101: [00:56:03] <simon_w> I just use dovecot and postfix
102: [00:56:04] <irogue_> e.g. standard IMAP, their cloud drive product is just WebDAV, the calendar (in beta) is just CalDAV
103: [00:56:46] * antmas quit (Ping timeout: 246 seconds)
104: [00:56:55] <irogue_> and although their standard spam filtering is really damn good, you also have the ability to override it with your own SA rules, scores etc.
105: [00:57:35] <simon_w> Oh, and postgrey. Postgrey is an amazing spam filter
106: [01:09:32] <Kingy> World cup starts tomorrow. Hells yeah!
107: [01:09:52] <antmas_> Kingy: we have a workplace random pick pot
108: [01:10:02] <antmas_> I got fucking Equador and Italy -_-
109: [01:10:19] <Kingy> yeah for some reason we didn't do that this time
110: [01:10:25] <Kingy> have for just about every other sporting event
111: [01:10:32] <simon_w> The news here is so amusing
112: [01:10:33] <Kingy> but bad luck :)
113: [01:10:48] <simon_w> "Everyone else says we're going to crash and burn, but we believe there's a chance for us!"
114: [01:10:51] <Kingy> I guess italy has a slim shot antmas_
115: [01:10:59] <antmas_> Kingy: super slim :P
116: [01:11:02] <Kingy> haha
117: [01:11:16] <antmas_> the guy after me got Brazil and England :O
118: [01:11:18] <Kingy> Beat England and you'll at least make it to the second round
119: [01:11:39] <Kingy> ah yeah I've got Brazil to win outright
120: [01:12:04] <antmas_> I almost put a bet on for Le Mans
121: [01:12:07] <antmas_> but meh
122: [01:12:11] <antmas_> Porsche will win it
123: [01:12:16] * antmas_ is now known as antmas
124: [01:12:19] <Kingy> haha don't they always
125: [01:12:28] <Kingy> no wait don't Audi usually win it
126: [01:12:36] <antmas> them or Audi, but Audi lost a car this week
127: [01:13:10] * jordanmk has joined #silverstripe
128: [01:13:20] <Kingy> are you in nz antmas?
129: [01:13:26] <antmas> Kingy: yeah Nelson
130: [01:13:26] <jordanmk> hey guys
131: [01:13:35] <Kingy> https://tabchallenge.co.nz
132: [01:13:36] <jordanmk> i'm using SwipeStripe and having a weird issue with the Add to Cart button
133: [01:13:37] <Kingy> done that?
134: [01:13:47] <antmas> Kingy: nope, checking now
135: [01:13:58] <Kingy> pick the result of every match and win $5mil
136: [01:14:01] <jordanmk> on a Product Page, $ProductForm(1) spits out the Add to Cart button
137: [01:14:31] <Kingy> Stomach uses SwipeStripe I think?
138: [01:14:32] * Tanger has joined #silverstripe
139: [01:14:38] <jordanmk> on a Category Page (which has a number of Products as children), within a <% loop $Products %> in the template, when i do $ProductForm(1), nothing is returned
140: [01:14:44] <antmas> Kingy: wicked, might as well
141: [01:15:16] <jordanmk> can't figure out why $ProductForm(1) would work on a Product page, but not work when looping through Products on a Category page
142: [01:16:59] <simon_w> jordanmk, probably because it's a controller method
143: [01:19:25] * Marvanni2 quit ()
144: [01:20:40] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
145: [01:20:44] <antmas> Kingy: awesome, I tried it and I got the 'You've broken the website' message
146: [01:21:38] <Kingy> haha nice
147: [01:22:09] <Kingy> knockout stage
148: [01:22:16] <Kingy> Colombia or England
149: [01:22:16] <Kingy> jeez
150: [01:23:30] <Kingy> and Spain v Argentina
151: [01:24:36] <antmas> haha yeah same
152: [01:25:01] <antmas> will finish this at home, probably not the best look having TAB open here :P
153: [01:26:34] <Kingy> meh
154: [01:26:34] <Kingy> lol
155: [01:27:24] <Kingy> I just hope work do the right thing and put Sky on the projector
156: [01:27:32] <Kingy> otherwise i'll be on SkyGO :)
157: [01:34:31] * UncleCheese has joined #silverstripe
158: [01:37:08] * UncleCheese quit (Client Quit)
159: [01:40:08] <Stomach> jordanmk, it is because its a controller method
160: [01:46:03] * UncleCheese has joined #silverstripe
161: [01:56:30] <simon_w> Bah, I have to learn smarty
162: [01:57:44] * krofek quit (Ping timeout: 260 seconds)
163: [02:02:45] * Kingy is now known as Kingy[a]
164: [02:05:21] <Stomach> for a php template engine, their website sure is... something
165: [02:05:50] <irogue_> simon_w: oh god
166: [02:05:53] <irogue_> i'm so sorry
167: [02:06:16] <irogue_> smarty is the leading cause of depression in php developers
168: [02:07:26] <Ryan-Toast> irogue_: I remmeber having to use it for X-Cart back in the day.
169: [02:07:27] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
170: [02:07:28] <Ryan-Toast> Awful.
171: [02:10:17] * krofek has joined #silverstripe
172: [02:16:56] <jordanmk> Stomach, simon_w: thanks. decided to not have the Add to Cart button on the Category page after all, but out of curiosity, is there a way to output a controller method when in a loop?
173: [02:17:23] <jordanmk> i.e., if i was still trying to put the Add to Cart button on the Category page, how would that be done? (assuming it is possible somehow)
174: [02:27:04] <zippy__> jordanmk: like… $Page.Link() or $Page.Link('Action') ?
175: [02:29:54] * krofek quit (Ping timeout: 264 seconds)
176: [02:35:51] * Kingy[a] is now known as Kingy
177: [02:36:56] <antmas> Kingy: isn't it on TV1 though?
178: [02:37:03] <antmas> Can probably just get a live stream
179: [02:37:37] <Kingy> only 22 games live
180: [02:38:07] <Kingy> and most of those will be round of 32/quarters/semis/final
181: [02:38:29] <Kingy> so you'll only see maybe 10 games in the pool play
182: [02:38:29] <antmas> hmmm
183: [02:38:42] <antmas> not so bad, depends on what time they play too
184: [02:38:50] <Kingy> it's actually pretty good
185: [02:38:56] <Kingy> earliest game starts at like 4am
186: [02:39:03] <Kingy> but majority are 8am-12pm
187: [02:39:38] <Kingy> better than last time anyway
188: [02:39:53] <Kingy> most of the games were like 12am-7am
189: [02:39:55] <antmas> we'll probably just hook up one ot he tvs in our IT lounge for it
190: [02:40:20] <Kingy> I'm going to suggest we knock the stock exchange off the main projector :P
191: [02:40:24] <Stomach> *cough* www.vipboxoc.co *cough*
192: [02:40:25] <antmas> on the OnDemand stream
193: [02:40:39] <Kingy> who cares about what stocks are being traded
194: [02:40:46] <antmas> Stomach: yeah we were going to use that :P
195: [02:40:55] <Stomach> use what?
196: [02:40:56] <Stomach> :P
197: [02:41:13] <antmas> I DON'T KNOW WHAT YOU'RE TALKING ABOOOT
198: [02:44:33] <Stomach> neither does anyone
199: [02:44:37] <Stomach> welcome to my club
200: [02:44:37] * antmas_ has joined #silverstripe
201: [02:44:45] <Stomach> maybe not then
202: [02:45:37] * antmas quit (Ping timeout: 246 seconds)
203: [02:47:07] <simon_w> Are you talking about subsites *again*?
204: [02:49:03] <Stomach> woah now simon_w , I think you've been transported to yesterday
205: [02:49:14] <Stomach> are you on the sauce again?
206: [02:49:42] <simon_w> Mmm, sauce
207: [02:50:52] * antmas_ quit (Ping timeout: 246 seconds)
208: [02:52:47] <zippy__> Stomach: good streams there?
209: [02:58:48] <Stomach> zippy__, low quality but it has everything
210: [02:59:01] * nicolaas has joined #silverstripe
211: [02:59:02] <Stomach> like 640x480 or something, totally watchable apart from cricket or hocket
212: [02:59:02] <zippy__> good enough for watching at work eh
213: [02:59:04] <Stomach> hockey*
214: [02:59:30] <zippy__> http://www.coolsport.tv/schedule-coolsport-tv.html was what I usually use
215: [02:59:34] <nicolaas> Hi - does anyone know if there is a way to run a foreach with a billion records without crashing it?
216: [02:59:46] <nicolaas> (sorry to butt in) ...
217: [02:59:59] <zippy__> nicolaas: why are you doing that?
218: [03:00:40] <simon_w> nicolaas, $total = $list->count(); for($start = 0; $start < $total; $start += 100) { foreach($list->limit(100, $start) as $item) { ... }}
219: [03:00:49] <simon_w> (probably with a bigger jump than 100)
220: [03:01:28] <nicolaas> thank you simon_w: do you think it is worthwhile to create something for that in the core?
221: [03:01:42] * UncleCheese has joined #silverstripe
222: [03:01:44] <simon_w> No
223: [03:02:12] <nicolaas> ;-) what is your thinking on that?
224: [03:02:42] <simon_w> Why should it be? It's not a very common need at all
225: [03:03:08] <nicolaas> ok - I reckon it is pretty common
226: [03:03:21] <nicolaas> but that is a good reason (if it is not common)
227: [03:04:03] <zippy__> nicolaas: why are you doing it?
228: [03:04:13] <nicolaas> I am just migrating some data right now
229: [03:04:20] <nicolaas> but I often work with large data sets
230: [03:04:35] <simon_w> Migration is basically the only time it comes up
231: [03:04:51] <simon_w> Almost everywhere else does this already using PaginatedList
232: [03:05:08] <nicolaas> I worked on a project where we imported 100,000 records per day
233: [03:05:24] <nicolaas> PaginatedList is an interesting one!
234: [03:05:49] <zippy__> nicolaas: the other thing you might have to watch out for migrating a billion records is memory… creating a billion objects will use a ton of ram, you might have to do it in batches
235: [03:06:35] <nicolaas> @zippy__ that is the reason indeed
236: [03:08:37] <nicolaas> simon_w: I have used your code idea above.... It is simple enough, but it would be nicer if you could do something like foreach($list->brokenDownIntoSubsets() as $item) {.....} ... if you guys dont think it comes up a lot then there is no point in doing it though.
237: [03:09:03] <Stomach> nicolaas, its a very specific use case, most websites will have < 10000 records, even for stockists
238: [03:10:20] <Stomach> the largest sets I've worked with have been in the million ish mark, but for that you need to obviously think a bit more about data input and structures rather than just relying on the framework too
239: [03:12:05] <nicolaas> the cool thing is that if you had such a method (brokenDownIntoSubsets), you could just work with the framework. The recent project I worked on, which checks 100,000+records each day runs in under 60M RAM once I broke down the sets into tiny bits
240: [03:12:58] <nicolaas> I also wonder how many average sized dataobjects you need before you hit the 128M mark. I think that is pretty low.
241: [03:13:06] <simon_w> The real way to fix this is to use async queries, though that's a lot harder to get into the framework
242: [03:14:56] <nicolaas> although I am not really sure what you mean with async queries, I agree that ultimately, the suggestions above are hacks in that the looping through 1,000,000 records could be done by loading them into memory one at the time (i.e. with little RAM requirements)
243: [03:16:08] <zippy__> I think last time I had to deal with a boat load of queries, was loop it in batches of 1k I think, and in the loop fire off a request to the page via curl with some pagainated queries, ie ?start=1000 then next loop is ?start=2000
244: [03:25:38] * cloph quit (Ping timeout: 240 seconds)
245: [03:25:43] * cloph_away has joined #silverstripe
246: [03:37:16] <Stomach> anyone ever implemented login via username or email?
247: [03:37:34] <Stomach> anyone here, in this channel, in silverstripe*
248: [03:38:13] <UncleCheese> uh?
249: [03:38:14] <simon_w> Well, login is done by email by default
250: [03:38:50] <UncleCheese> you can either create your own authenticator, or just inject on the MemberAuthenticator
251: [03:41:31] <Stomach> ah thanks UncleCheese
252: [03:47:02] <zippy__> I think there was a addon around here somewhere
253: [03:51:53] <Stomach> I've just changed the unique_identifier_field to 'Username' and have decided that if they change their username from their email then they should deal with it
254: [04:02:39] * antmas has joined #silverstripe
255: [04:03:51] * sukirti has joined #silverstripe
256: [04:06:49] * antmas quit (Ping timeout: 246 seconds)
257: [04:10:35] * zippy__ quit (Ping timeout: 272 seconds)
258: [04:25:11] * antmas has joined #silverstripe
259: [04:25:27] <spronk> my god this black ball salami is delicious
260: [04:27:07] <antmas> spronk: best salami next to home made
261: [04:27:39] <spronk> stuck some on a toastie
262: [04:29:37] <Stomach> woah, Zauberfisch inception
263: [04:30:50] <spronk> .. yo dawg?
264: [04:31:12] <antmas> yoyoyoyoyo
265: [04:31:46] <irogue_> hmm
266: [04:31:47] <irogue_> 4:30
267: [04:31:52] <irogue_> must be drinkies o'clock
268: [04:32:04] <Stomach> mmmmm yeah, get drunk and work on swipestripe
269: [04:32:05] <Stomach> grand idea
270: [04:32:36] <antmas> I did enough booze drinking this last weekend to still have that 'fuck alcohol' feeling for about 2 more days
271: [04:33:08] <Stomach> *1 more day
272: [04:33:16] <Ryan-Toast> antmas: I ‘m usually “I’ll never drink again” but then Moday rolls around.
273: [04:33:33] <antmas> Stomach: yes
274: [04:33:36] <Ryan-Toast> And I remember how stupid people are, then I need a drink
275: [04:33:44] <antmas> Ryan-Toast: in the same boat
276: [04:38:40] * antmas quit (Quit: Page closed)
277: [04:46:34] * DesignerX has joined #silverstripe
278: [04:46:39] * Kingy is now known as Kingy[a]
279: [05:01:39] * nickmolhoek quit (Quit: nickmolhoek)
280: [05:06:28] <simon_w> Well, I have a .com.au email address now
281: [05:06:33] <simon_w> I feel dirty
282: [05:08:17] <DesignerX> lol
283: [05:08:33] <DesignerX> is it a new domain ?
284: [05:10:04] <DesignerX> btw, how can I set SS to use HTML 5 tags in, in FormAction.ss i see "$UseButtonTag" .... , not sure how to enable that
285: [05:13:05] <simon_w> Nope, just the new job getting me set up
286: [05:13:22] <simon_w> DesignerX, <input> is a HTML5 tag
287: [05:13:39] <DesignerX> I mean the <button> instead of input
288: [05:13:57] <Stomach> DesignerX, just do $formAction->useButtonTag = true;
289: [05:14:23] <Stomach> where $formAction = FormAction::create('doLol', 'do lol')
290: [05:15:30] <DesignerX> The form is created using UserDefinedForm module , so I didnt code the form.
291: [05:16:12] <irogue_> <button> is also HTML4 not 5 ;)
292: [05:17:09] <simon_w> DesignerX, so just style the <input> to look like a <button>?
293: [05:17:48] <DesignerX> I will try create FormAction.ss template in my Theme to see if it will get picked up
294: [05:20:05] <irogue_> yeah, what's the purpose of using button instead of input?
295: [05:20:41] <DesignerX> using bootstrap css so it's syled by default
296: [05:20:44] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
297: [05:20:50] <DesignerX> nothing major
298: [05:25:11] <Stomach> input class='btn btn-primary' ? :D
299: [05:26:04] <DesignerX> thats the plan, but the form created with UserForm module (in the back-end) so trying to find a way to not edit the module.
300: [05:27:13] <DesignerX> found it, I can add custom CSS to the form item in the backend :)
301: [05:32:41] * kerosene quit (Ping timeout: 264 seconds)
302: [05:42:43] * an_Eskimo quit (Ping timeout: 246 seconds)
303: [05:47:53] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
304: [05:50:39] * sukirti quit (Ping timeout: 272 seconds)
305: [05:51:43] * kerosene has joined #silverstripe
306: [05:55:55] * srikanth quit (Ping timeout: 240 seconds)
307: [05:56:29] * Shrike_Finland has joined #silverstripe
308: [06:10:53] * Shrike_Finland quit (Quit: Leaving.)
309: [06:11:42] <DesignerX> New Kind of error, on a DataObject I get [Notice] Undefined property: Block_HTMLArea::$Title , but Title is a DB field ?! any ideas why I'm getting this error ?
310: [06:15:09] <Stomach> irogue! first PR done
311: [06:16:33] <Zauberfisch> and merged
312: [06:16:34] <Zauberfisch> yay
313: [06:17:15] <Zauberfisch> DesignerX: that syntax soulds like you are trying to access it like its a static
314: [06:17:19] <Zauberfisch> which it isn't
315: [06:17:41] * sukirti has joined #silverstripe
316: [06:17:42] <Zauberfisch> in your php, do you use $this->Title or something else?
317: [06:17:55] <DesignerX> yeh, I use just that
318: [06:18:10] <Zauberfisch> you did a flush and dev build?
319: [06:18:26] <DesignerX> will do that now 9again, to be sure)
320: [06:20:01] <Stomach> PR 2 - done!
321: [06:21:02] <Stomach> this is gonna be tedious :D
322: [06:22:58] <DesignerX> Zauberfisch: fount it, I had a function called getTitle() which was overriding the code DO getTitle() .. changing that fixed it . ty
323: [06:23:06] <DesignerX> the core *
324: [06:25:25] <Stomach> Zauberfisch, can you merge that latest one into the 2.1 branch as well please
325: [06:27:22] * Shrike_Finland has joined #silverstripe
326: [06:28:50] <Zauberfisch> damn it.
327: [06:28:58] <Zauberfisch> this did not work out the way I planed it
328: [06:29:05] <Zauberfisch> now 2.1 is 1 ahead of master ...
329: [06:29:14] <Stomach> ah shit, my bad :\
330: [06:29:20] <Zauberfisch> no. mine
331: [06:29:32] <Stomach> I should have switched branch though too :D
332: [06:29:33] <Zauberfisch> I am the one who merged wrongly
333: [06:30:23] <Zauberfisch> hmmm
334: [06:30:38] <Zauberfisch> I guess I just force push over it
335: [06:30:45] <Stomach> yeah
336: [06:32:07] <Zauberfisch> done
337: [06:32:32] <Zauberfisch> not sure I like having a 2.1 branch there actually
338: [06:32:49] <Stomach> yeah but its probably for the composer file?
339: [06:33:08] <Zauberfisch> yeah. but I don't like it in the composer file either ^^
340: [06:33:17] <Stomach> swipestripe-category master needs to merged into 2.1 as well
341: [06:33:45] <Zauberfisch> but then again, if we plan on doing some major refactoring in the future, its good to have a stable 2.1 branch where only bugfixes go
342: [06:34:08] <Zauberfisch> categoery?
343: [06:34:11] <Zauberfisch> you mean currency?
344: [06:34:17] <Stomach> nope, category
345: [06:34:39] <Stomach> https://github.com/swipestripe/silverstripe-swipestripe-category
346: [06:35:03] <Stomach> I actually wonder if thats the reason for those other issues on it
347: [06:35:20] <Stomach> the private/public pull from november only went into master
348: [06:35:46] <Zauberfisch> other issues?
349: [06:36:51] <Stomach> people having issues with the SearchFilters
350: [06:37:10] <Zauberfisch> don't think so
351: [06:37:27] <Zauberfisch> wouldn't that go all "FATAL ERROR, this shit can't be public"?
352: [06:37:49] <Stomach> yeah it would probably :D
353: [06:41:51] <Zauberfisch> Stomach: will merge in a bit
354: [06:41:57] <Zauberfisch> have some stuff to take care of right now
355: [06:42:12] <Stomach> no problem dude :D
356: [07:09:00] * ocm has joined #silverstripe
357: [07:21:04] * guci0 has joined #silverstripe
358: [07:21:06] <guci0> Morning!
359: [07:25:56] <ocm> howdy!
360: [07:30:48] <Shrike_Finland> Hi, is there a way to set default value in db for varchar?
361: [07:31:17] <Shrike_Finland> 'Column1Class' => 'Varchar(default)' or something
362: [07:31:51] <Shrike_Finland> Tried with private static $defaults, but does not seem to work
363: [07:32:06] <simon_w> Shrike_Finland, $defaults will work for new instances of the class
364: [07:32:46] <Shrike_Finland> or maybe they are not working as I did not create new dataobject, just updated already existing
365: [07:47:41] * nonconformatevi has joined #silverstripe
366: [07:54:14] * nicolaas quit (Ping timeout: 252 seconds)
367: [07:55:20] * Liquide quit ()
368: [08:00:19] * irogue_ has joined #silverstripe
369: [08:01:11] * zippy__ has joined #silverstripe
370: [08:02:29] * Pyhotk has joined #silverstripe
371: [08:04:31] * kinglozzer has joined #silverstripe
372: [08:05:59] * ARNHOE has joined #silverstripe
373: [08:07:37] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
374: [08:10:11] * zippy__ quit (Ping timeout: 252 seconds)
375: [08:10:21] * zippy__ has joined #silverstripe
376: [08:14:35] * zippy__ quit (Ping timeout: 252 seconds)
377: [08:17:19] * Stomach1 has joined #silverstripe
378: [08:18:45] * Stomach1 is now known as Stomach[home]
379: [08:24:02] <ocm> Shrike_Finland, if you need to update existing dataobjects you could try to get all dataobjects by class and update them with the default value if the varchar is empty?
380: [08:26:05] * Shrike_Finland quit (Quit: Leaving.)
381: [08:28:47] * krofek has joined #silverstripe
382: [08:38:36] <nonconformatevi> Hi.
383: [08:38:36] <nonconformatevi> I create a module that extend silverstirpe/blog module and I've got a problem with the funcions canCreate(). If the canCreate() function in the MyBlogEntry class return true, the process run also the canCreate() function in BlogHolder e BlogTree classes.
384: [08:38:36] <nonconformatevi> In this example - http://www.sspaste.com/paste/show/5399635006d91 -
385: [08:38:36] <nonconformatevi> a user whit BLOGMANAGEMENT permission can't create a BlogEntry post.
386: [08:39:32] * Shrike_Finland has joined #silverstripe
387: [08:53:46] <guci0> Hmmm.. I love this view http://linki.dtl.pl/522 ;)
388: [09:03:57] * RWestC has joined #silverstripe
389: [09:04:22] <kinglozzer> simon_w: You there? Is the bandwidth specified here per month, or "one off" - https://www.digitalocean.com/pricing/ ?
390: [09:05:03] <simon_w> kinglozzer, per month
391: [09:05:06] <kinglozzer> guci0: What are you doing? CPU warming? :P
392: [09:05:25] <kinglozzer> simon_w: Thanks, looks like we're leaning that way so you may get your referral yet ;)
393: [09:05:32] <simon_w> :)
394: [09:07:57] <Pyhotk> kinglozzer: 8 cores!
395: [09:08:15] <Pyhotk> but yeh, also pretty maxxed :<
396: [09:08:22] <kinglozzer> Pyhotk: ALL the cores
397: [09:08:36] <kinglozzer> Don't think CPU warming actually maxes usage anyway from memory
398: [09:09:04] <kinglozzer> Just does magic and shit warms up your room
399: [09:09:32] <Pyhotk> kinglozzer: I believe they call that 'turning it on'.
400: [09:09:45] <kinglozzer> Pyhotk: Touche
401: [09:11:56] <kinglozzer> é*
402: [09:11:59] <kinglozzer> Found it
403: [09:11:59] <Pyhotk> so, just discovered that someone made a js library for making those 'switches'.
404: [09:12:10] <kinglozzer> Pyhotk: Of course, jQuery lib?
405: [09:12:17] <Pyhotk> I'm real confused about why CSS & some aria won't just do the trick...
406: [09:12:37] <Pyhotk> shadow dom all the things!
407: [09:14:45] <kinglozzer> Pyhotk: http://cdn.memegenerator.net/instances/500x/50932839.jpg
408: [09:15:18] <guci0> kinglozzer: compressor compressing ;) ~54 oC
409: [09:15:51] <Pyhotk> kinglozzer: http://level7.nu/media/modules/articleimages//LVL/2012/01/26/11/luke_NOOOOOO.jpeg
410: [09:17:23] * r3v3rb has joined #silverstripe
411: [09:18:12] * r3v3rb quit (Client Quit)
412: [09:23:18] <guci0> Uploading: Remaining 410 minutes. Fu*** !
413: [09:24:42] * Tanger quit (Quit: Tanger)
414: [09:26:22] * Pyhotk quit (Ping timeout: 246 seconds)
415: [09:30:28] * Pydropk has joined #silverstripe
416: [09:36:53] * Bollig|DesignCty has joined #silverstripe
417: [09:40:48] * simon_w|air has joined #silverstripe
418: [09:42:49] <kinglozzer> Does OptionsetField check whether the value was a valid option on submit? Or can users modify the values and submit them?
419: [09:45:22] * munk0r has joined #silverstripe
420: [09:49:05] <ocm> does anyone know how well SilverStripe (3.*) works on ipad? the cms-part that is
421: [09:57:06] <guci0> Nice
422: [09:57:13] <guci0> Even smaller devices
423: [09:58:13] <ocm> smaller devices? like?
424: [10:00:05] <ocm> 5 inch? or even below that?
425: [10:01:33] * cloph_away is now known as cloph
426: [10:03:03] <guci0> On my S4 m – perfect ;)
427: [10:03:06] * Stomach[home] quit (Quit: Leaving.)
428: [10:03:33] * Stomach1 has joined #silverstripe
429: [10:03:37] <guci0> Overflow, for columns – bigger box, ahe scrollbars
430: [10:03:45] <guci0> *are
431: [10:04:13] * Stomach1 quit (Client Quit)
432: [10:04:34] <guci0> 3.1.+ what about 3.0 – I don't know.
433: [10:05:51] <ocm> I was thinking about 3.1 anyway, so sounds good to me
434: [10:05:53] <ocm> thnx
435: [10:14:42] <guci0> I wanted check something – and I found error ;) Nice
436: [10:20:16] <guci0> Done
437: [10:24:02] * bspeakman has joined #silverstripe
438: [10:24:28] * Azure quit (Quit: Blue Sky Fish)
439: [10:26:54] <bspeakman> Hi all, I just had a quick question. I have a module/add on installed. But I want to override/extend some of the methods. What's the best way to do this? I know about extending dataobjects with dataextension but I want to extend a Page type. thanks.
440: [10:27:10] <Pydropk> subclass
441: [10:27:22] <irogue_> subclass ALL THE THINGS
442: [10:27:28] <Pydropk> depends on what you mean by 'extend' I guess bspeakman
443: [10:27:29] <ocm> \o/
444: [10:28:05] <Pydropk> Because if you're extending member you best be decorating your member, not MyMember extends ...
445: [10:28:17] <Pydropk> gawd, will that joke ever get old irogue_ ? :D
446: [10:28:31] <irogue_> nope
447: [10:28:32] <irogue_> never
448: [10:28:37] <Pydropk> Indeed, I concurr.
449: [10:28:38] <irogue_> although
450: [10:28:39] <bspeakman> lol. um well its just a add on that has a form with a placeholder that i want to change
451: [10:28:41] <irogue_> Never Say Never
452: [10:29:05] <Pydropk> bspeakman: is there a hook in the code for it?
453: [10:29:42] <Pydropk> you can't override existing functions with (Data)Extension, unless it calls $this->extend('name', $optionalvars)
454: [10:29:59] <bspeakman> no i dont think so
455: [10:30:01] <bspeakman> its this
456: [10:30:02] <bspeakman> https://github.com/dynamic/SilverStripe-Locator-Module/blob/master/code/Locator.php#L152
457: [10:30:14] <Pydropk> however if you get really jammed up you can always use injector.
458: [10:30:37] <irogue_> well
459: [10:30:45] <irogue_> that is a really annoying placeholder to be hardcoded
460: [10:30:45] <Pydropk> bspeakman: well, what are you tryign to do with it? change the default pre-populations?
461: [10:31:00] <irogue_> immediately useless outside of the US
462: [10:31:06] <bspeakman> in the uk zip code makes no sense so i just wanted to change it
463: [10:31:08] <bspeakman> yeah exactly
464: [10:31:13] <Pydropk> irogue_: yeah but you know how these yanks think.
465: [10:31:21] <Pydropk> hell, they've won the world series every single year!
466: [10:32:02] <irogue_> lol
467: [10:32:10] <Pydropk> bspeakman: well the best thing to do would be to hack the core, make the placeholder translatable, submit a pullrequest with "don't be a twat" as the commit message.
468: [10:32:17] <irogue_> +1
469: [10:32:30] <bspeakman> lol
470: [10:32:37] <bspeakman> i might just do that
471: [10:33:33] <irogue_> i don't think i know this Dynamic chap
472: [10:33:40] <guci0> ocm: see http://dtl.pl/assets/files/ocm.zip (some photo screens SS 3.1.4).
473: [10:33:50] <guci0> *mobile
474: [10:33:50] <irogue_> "A git submodule based SilverStripe project installer"
475: [10:33:51] <irogue_> EW
476: [10:34:09] <irogue_> plz
477: [10:34:11] <irogue_> lrn2composer
478: [10:34:11] <Pydropk> but failing that, you can add an Extension (LocatorDecorator extends Extension) with a method that $form = $this->owner->LocationSearch(); $form->getFieldByName('address')->setAttribute('placeholder', 'UK Post code'); return $form;
479: [10:34:14] <irogue_> git submodules are baaaaad
480: [10:34:38] <Pydropk> bspeakman: ^^
481: [10:34:43] <irogue_> Pydropk: joining us for hackday tomorrow? :P
482: [10:34:51] <Pydropk> irogue_: I'm at work -.-
483: [10:34:56] <irogue_> kekeke
484: [10:35:03] <Pydropk> oh wait, no. I'm at sleep -.-
485: [10:35:12] <bspeakman> ok thanks Pydropk
486: [10:35:20] <Pydropk> and then I'm at work. and then I'm at sleep for a little bit, and then I'm on a train to Cambridge.
487: [10:35:24] <irogue_> Pydropk: frank and I are gonna swipestripe
488: [10:35:29] <Pydropk> because I fuck'n love horse studs or soemthing.
489: [10:35:33] <irogue_> make some long overdue fixes/changes
490: [10:35:39] <Pydropk> irogue_: indeed!
491: [10:35:44] <Pydropk> all teh things! \o/
492: [10:36:08] <irogue_> Pydropk: did I tell you about Plato?
493: [10:36:12] <Pydropk> Nup#
494: [10:36:14] <irogue_> and their rep
495: [10:36:19] <Pydropk> hmm?
496: [10:36:23] <irogue_> I got an email from someone who found me on SS dev network
497: [10:36:28] <irogue_> they're getting a new site done
498: [10:36:33] <irogue_> design being done by plato
499: [10:36:42] <Pydropk> but...
500: [10:36:50] <irogue_> but apparently there's word going around to get design done by plato but go to someone else to do the code
501: [10:36:53] <irogue_> cos plato have nfi
502: [10:36:57] <Pydropk> rofl
503: [10:37:03] <Pydropk> sif clients have any clue about that
504: [10:37:16] <irogue_> this was a client who heard it from another client :P
505: [10:37:19] <Pydropk> Mike is there, and he's a good cunt.
506: [10:37:27] <Pydropk> I don't know the new guy though.
507: [10:37:50] <Pydropk> The others are very capable developers too.
508: [10:38:10] <Pydropk> just perhaps not as well experienced in application design.
509: [10:38:20] <Pydropk> but then neither was I when I was there :/
510: [10:38:24] <irogue_> lol
511: [10:38:34] <irogue_> well they've obv pissed someone off with their dev skills
512: [10:38:39] <Pydropk> clearly
513: [10:38:57] <Pydropk> just one in a vast many.
514: [10:39:02] <irogue_> their quote for dev was also rather on the high side
515: [10:39:20] <Pydropk> but one that knows enough about code that I'd be asking 'why the fuck did you not do it yourself in the first place?"
516: [10:39:23] <irogue_> like, >10k above mine
517: [10:39:25] <Pydropk> unless it was a failed project
518: [10:39:45] <Pydropk> failed in the terms of the client not being entirely happy... usually because they're a cunt.
519: [10:40:00] <irogue_> and mine was $3k, lol
520: [10:40:26] <Pydropk> and then some other dev they've hired to finish the job as been all 'lolwtf' thus making cunt client be all "yeah, I knew they were bad! Imma tell the entire fucking world because I'm a groucy cunt!"
521: [10:40:32] <irogue_> lol
522: [10:40:36] <Pydropk> irogue_: you underquoted.
523: [10:40:53] <irogue_> Pydropk: i'm cheap, but it's also basically a base SS install
524: [10:41:03] <irogue_> and plato are providing templates
525: [10:41:06] <irogue_> so idk what else there is to do :P
526: [10:41:18] <Pydropk> by templates you mean html.
527: [10:41:38] <Pydropk> there's cutting it up in a way that makes sense (both to you and to a CMS)
528: [10:41:41] <irogue_> yep, html+css
529: [10:41:55] <Pydropk> Probably be Sammy or Brooke's handywork.
530: [10:42:03] <Pydropk> Sammy does some really nice shit.
531: [10:42:22] <irogue_> only name i can drop is that Anj is the sales person
532: [10:42:37] <Pydropk> Lol fuck, is it Mike whatshisface
533: [10:42:38] <Pydropk> ?
534: [10:42:57] <Pydropk> if so, avoid.
535: [10:43:00] <Pydropk> srsly.
536: [10:43:05] <irogue_> its definitely not a Mike
537: [10:43:18] <irogue_> its someone who's never dealt with plato before
538: [10:43:40] <Pydropk> oh. Odd.
539: [10:43:50] <Pydropk> Oh, but they were advised by another client you said
540: [10:51:26] <kinglozzer> Pydropk: I have to use SQLQuery today D:
541: [10:51:38] <Pydropk> hahahaha
542: [10:52:07] <Pydropk> kinglozzer: you'll be fine... so long as before you do anything you setSelect([])
543: [10:52:20] <Pydropk> otherwise you'll have trouble.
544: [10:52:33] <Pydropk> oh, and always always setFrom() before you addJoin()
545: [10:52:33] <kinglozzer> Pydropk: Why? :P
546: [10:52:41] <Pydropk> kinglozzer: becase * by default
547: [10:52:44] <kinglozzer> Thankfully don't have to worry about joins
548: [10:52:46] <kinglozzer> Oic
549: [10:52:53] <Pydropk> and unsetting is not a thing you want to do once you have fields in there.
550: [10:53:20] <Pydropk> oh, but you can SQLQuery::create($selectArray, $from, $joins, $etc, $iforgottherest)
551: [10:54:33] <kinglozzer> I lied, I will need to join :(
552: [10:54:56] <kinglozzer> Forgot that my objects inherit fields from a parent that I need to include
553: [10:55:13] * kinglozzer wonders if ->alterDataQuery() would work
554: [10:59:53] <kinglozzer> http://api.silverstripe.org/3.1/source-class-DataQuery.html#724-732
555: [10:59:55] <kinglozzer> FUUUUUUU
556: [11:00:02] <kinglozzer> y u protected :'|
557: [11:00:28] <Pydropk> that's DataQuery, not SQLQuery
558: [11:01:01] <kinglozzer> Yeah, was trying to use alterDataQuery instead
559: [11:03:44] <Pydropk> I see.
560: [11:04:02] <Pydropk> kinglozzer: does it not have an addSelect() >?
561: [11:04:41] <kinglozzer> Pydropk: Nope, it has a setQueriedColumns, which overwrites all the columns, but not a getQueriedColumns, so that's no use
562: [11:06:11] <Pydropk> kinglozzer: printr($var, true), parse, lol
563: [11:06:16] <Pydropk> HACK AROUND ALL THE THIGNS
564: [11:06:19] <Pydropk> THINGS*
565: [11:06:26] <kinglozzer> :P
566: [11:06:30] <kinglozzer> Reflection, make public, win
567: [11:07:26] <Pydropk> can't make public
568: [11:07:31] <Pydropk> can you?
569: [11:08:14] <kinglozzer> Pydropk: http://www.php.net//manual/en/reflectionmethod.setaccessible.php
570: [11:08:59] <kinglozzer> Is there actually a reason for DataQuery->selectField() to be protected when SQLQuery->selectField() is public?
571: [11:10:10] <Pydropk> kinglozzer: yeh, DataQuery isn't designed like that. I'm unsure the reasons though
572: [11:10:21] <Pydropk> It's a proxy, but I can't really figure out what for.
573: [11:10:35] <Pydropk> proxy/decorator/somtehinglikethat
574: [11:11:01] <kinglozzer> Anyways, all I need to do is some sin/cos/tan shit for calculating distance between coords
575: [11:11:13] <kinglozzer> Maybe I'm going about this entirely wrong :|
576: [11:11:28] <Pydropk> DB::QUERY! xD
577: [11:11:38] <Pydropk> DataQuery::sql
578: [11:11:40] <Pydropk> or something
579: [11:12:38] <kinglozzer> I can get the finalised DataQuery (which is an SQLQuery), then modify it, but idk how to get it back to a DataList :/
580: [11:12:57] <kinglozzer> foreach($foo as $bar) $arrayList->push($bar), but that's ugly
581: [11:24:25] <kinglozzer> Screw it, SQLQuery it is
582: [11:27:49] <kinglozzer> https://gist.github.com/kinglozzer/f43ceaab15011f717740 well that wasn't as bad as I expected
583: [11:29:46] <irogue_> why the FUCK did google remove the "ask me if closing the browser with multiple tabs" setting?
584: [11:31:57] * munk0r quit (Quit: ["Textual IRC Client: www.textualapp.com"])
585: [11:32:03] <spronk> donnie darko is fucking weird
586: [11:32:09] <irogue_> +1
587: [11:32:12] <spronk> irogue_: they did??
588: [11:32:26] <irogue_> spronk: yeah
589: [11:32:38] <spronk> wtf google.
590: [11:32:49] <spronk> just like they changed some shit with the pdf plugin too
591: [11:32:53] <spronk> they're getting so arrogant with their users
592: [11:34:40] <irogue_> can i just say
593: [11:34:44] <irogue_> holy fuck cpanel is shit
594: [11:38:19] <spronk> lawwl
595: [11:38:20] <spronk> mm
596: [11:38:24] <spronk> its amazing that its still around
597: [11:39:43] <Pydropk> irogue_: because google, FUCK YOU WE KNOW USER INTERFACE
598: [11:39:46] <Pydropk> that's why
599: [11:40:32] <simon_w|air> WE TESTED AND <50% OF PEOPLE PICKED YES
600: [11:40:50] <Pydropk> because usability is important to us! that's why http://iforce.co.nz/i/i52qslwx.11w.png
601: [11:41:13] <Pydropk> "lets go!" OH OK, HOW IF I CANNOT CLOSE THIS MODAL DIALOG!?
602: [11:41:38] <Pydropk> fuck that made me lol.
603: [11:41:45] <Pydropk> in the 'responsive' age.
604: [11:42:33] <Pydropk> simon_w|air: can one call parent::__get() ?
605: [11:42:46] <simon_w|air> Pydropk, yes
606: [11:42:52] * guci0 quit (Ping timeout: 246 seconds)
607: [11:42:56] <Pydropk> good, because __isset is fucking my life up
608: [11:43:38] <Pydropk> http://api.silverstripe.org/3.1/source-class-ViewableData.html#89-97
609: [11:43:48] <spronk> ughhh
610: [11:43:51] <spronk> fuck the new google maps
611: [11:44:02] <spronk> took me ages to figure out that you "share" a link now by just copying the link
612: [11:44:16] <ocm> the new google maps is so freakin slow
613: [11:44:18] <Pydropk> immediately below getField is only called if hasField is true - but if you use !isset(someshit) $setshit else throw error...
614: [11:44:23] <ocm> and disabling lables seems impossible :(
615: [11:44:24] <Pydropk> suddenly you have issues.
616: [11:44:44] <Pydropk> ocm: agreed, so so so fucking slow
617: [11:44:57] <Pydropk> I regret having to open it.
618: [11:45:04] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
619: [11:45:10] <Pydropk> I lament my need for it
620: [11:45:14] <Pydropk> every time
621: [11:45:22] <Pydropk> thought it was just my netbook struggling, turns out nope.
622: [11:45:28] <Pydropk> work computers same, etc.
623: [11:45:38] <simon_w|air> I just use Maps.app
624: [11:45:53] <simon_w|air> Apple Maps: The Not Shit Option?
625: [11:45:56] <Pydropk> I just use... y'know... an actual fuck'n map.
626: [11:46:32] <Pydropk> I pull that shit out of my bag, I unfold it, I can see where I need to go, where I am, I set off. Problem solved. NO WIFI NEEDED!
627: [11:46:34] <Pydropk> xD
628: [11:46:41] <Pydropk> the resolution is amazing
629: [11:50:05] <ocm> awesome thing, are you building a startup for that kind of product Pydropk? Sounds very hipster-like! haha
630: [11:52:16] <simon_w|air> My maps don't need wifi either!
631: [11:52:22] <simon_w|air> They work with them 3 gees
632: [11:56:22] <Pydropk> ocm: yeah, and you wouldn't believe what I had to go through just to get it installed ocm!
633: [11:56:37] <Pydropk> I had to walk into a place, and TALK to someone!
634: [11:57:05] <Pydropk> (I chose a hotel because they were likely to have maps behind the counter, to which my plan worked splendidly)
635: [11:57:24] <Pydropk> Asked how to get somewhere, got issued a map with it circled on
636: [11:57:47] <Pydropk> (after woman behind counter looked it up on google maps... AFTER COMPLAINING ABOUT HOW SLOW IT WAS rofl)
637: [11:57:56] * guci0 has joined #silverstripe
638: [11:59:15] <Pydropk> simon_w|air: 3 gees? get with the times man, you're a gee down! xD but yeh you know what I meant -.- :P
639: [11:59:40] <Pydropk> kinglozzer: doing it wrong!!
640: [11:59:51] <Pydropk> how are you not getting a deprecation error?
641: [12:00:02] <kinglozzer> Pydropk: Huh?
642: [12:00:29] <Pydropk> https://gist.github.com/kinglozzer/f43ceaab15011f717740
643: [12:01:03] <Pydropk> as Distance'
644: [12:01:13] <Pydropk> alias is second param, not part of first.
645: [12:01:37] <Pydropk> should give bloody big great error if it detects an alias in the field's select statement
646: [12:02:03] <Pydropk> otherwise about all of that business is... sadface.
647: [12:02:09] <kinglozzer> Pydropk: Oh yeah, addSelect is the one with the deprecation
648: [12:02:30] * r3v3rb has joined #silverstripe
649: [12:02:41] * sukirti quit (Ping timeout: 264 seconds)
650: [12:09:42] * r3v3rb quit (Quit: r3v3rb)
651: [12:13:23] * sukirti has joined #silverstripe
652: [12:13:46] * UndefinedOffset has joined #silverstripe
653: [12:14:10] * svandragt has joined #silverstripe
654: [12:14:45] <svandragt> hey hey
655: [12:16:46] <svandragt> I'm doing a redirect on the homepage based on gelocation, but because for some reason sometimes the homepage is accessed via /home this causes a double redirect warning (/home > / > /international). "Warning already directed to / now trying to direct to /international" why is this a warning and can I suppress it or work around it?
656: [12:17:27] * sukirti quit (Ping timeout: 244 seconds)
657: [12:24:14] <Pydropk> kinglozzer: yeah, it is. but selectField is not supposed to be given a string complete. It wants (field, alias)
658: [12:24:26] <Pydropk> not ("field and alias", null)
659: [12:24:36] <Pydropk> because of how it stores.
660: [12:24:39] <Pydropk> or something
661: [12:24:56] <Pydropk> idk, I've found so much I wanna hack about SS lately my mind is just a mess.
662: [12:25:01] <Pydropk> but luckily it's sandwich time!
663: [12:26:02] <simon_w|air> svandragt, if (!$this->redirectedTo()) { // your redirect stuff }
664: [12:27:41] <svandragt> simon_w|air: ah fantastic
665: [12:27:42] <irogue_> 7 firetrucks just pulled up outside
666: [12:28:05] <simon_w|air> svandragt, it does mean they'll get redirected to /, then /international
667: [12:28:17] <simon_w|air> svandragt, the other option is to do your redirect stuff before calling parent::init()
668: [12:29:04] * irogue_ googlemaps to figure out what's there
669: [12:29:18] <svandragt> simon_w|air: oh that makes more sense, whether to redirect is all I need to decide on after geolocating
670: [12:29:30] <Pydropk> see you in 10 mins irogue_ ...
671: [12:30:26] <Pydropk> I reckon you could run downstairs and have a nosey before gmaps loads
672: [12:32:03] <irogue_> big-ass apartment block
673: [12:32:37] <irogue_> https://www.google.co.nz/maps/@-36.851116,174.758581,3a,75y,86.67h,99.59t/data=!3m4!1e1!3m2!1s5NZowQL7nK7UhfSIQtIfKQ!2e0
674: [12:33:27] <irogue_> can't hear any alarms tho
675: [12:36:07] * simon_w|air quit (Quit: This computer has gone to sleep)
676: [12:38:38] * Shrike_Finland quit (Quit: Leaving.)
677: [12:39:27] * Shrike_Finland has joined #silverstripe
678: [12:46:05] * oetiker quit (*.net *.split)
679: [12:46:24] <nonconformatevi> hi
680: [12:46:36] <nonconformatevi> in silverstripe 3
681: [12:46:42] <nonconformatevi> there is a function that returns the groups that have permission to edit a specific back-end page?
682: [12:47:36] <nonconformatevi> for example, get the groups that have permission to edit a specific post of a blog
683: [12:47:51] <nonconformatevi> or a specific blog
684: [12:54:49] <jcwacky> nonconformatevi: $thepage->EditorGroups() ?
685: [12:55:01] * irogue_ quit (Quit: Textual IRC Client: www.textualapp.com)
686: [12:55:45] <nonconformatevi> jswacky: I try it... thanks
687: [12:55:55] <jcwacky> Any experienced with i18n Module Priority in SilverStripe?
688: [12:56:01] <jcwacky> *Anyone
689: [12:59:24] <jcwacky> It’s ok, sussed it!
690: [13:06:10] * sukirti has joined #silverstripe
691: [13:08:05] * RWestC is now known as d^__^b
692: [13:08:26] * d^__^b is now known as d^_________^b
693: [13:08:59] * d^_________^b is now known as RWestC
694: [13:09:22] * Shrike_Finland quit (Quit: Leaving.)
695: [13:10:55] * RWestC is now known as c--3
696: [13:11:28] * c--3 is now known as c-----3
697: [13:12:18] * c-----3 is now known as RWestC
698: [13:18:04] * Pydropk is now known as stop_being_a_twa
699: [13:18:06] <stop_being_a_twa> t
700: [13:18:20] * stop_being_a_twa is now known as Pydrok
701: [13:19:20] * Shrike_Finland has joined #silverstripe
702: [13:20:55] * RWestC quit (Changing host)
703: [13:20:55] * RWestC has joined #silverstripe
704: [13:21:57] * Shrike_Finland quit (Client Quit)
705: [13:27:32] * oetiker has joined #silverstripe
706: [13:28:47] * micmania1 has joined #silverstripe
707: [13:45:04] * catcher has joined #silverstripe
708: [13:51:47] * Liquide has joined #silverstripe
709: [13:56:13] * Pydrok quit (Ping timeout: 246 seconds)
710: [14:00:51] * Pydck has joined #silverstripe
711: [14:00:53] <Pydck> a bit droppy today! :<
712: [14:01:48] <catcher> Is that funny english for rainy?
713: [14:02:05] <Pydck> No, it's plain english for my Connection keeps dropping out.
714: [14:02:08] <Pydck> err
715: [14:02:13] <Pydck> No, it's plain English for my connection keeps dropping out.
716: [14:04:58] * scpi has joined #silverstripe
717: [14:05:50] <catcher> Typical, more respect for your connection than your language.
718: [14:07:49] * sukirti quit (Ping timeout: 272 seconds)
719: [14:14:56] * kerosene is now known as keropunzel
720: [14:20:10] * keropunzel is now known as kerosene
721: [14:22:54] * muskie9 has joined #silverstripe
722: [14:25:44] * zard has joined #silverstripe
723: [14:26:49] <Pydck> catcher: not my language, hombre!
724: [14:26:59] <zard> Hello! Long time SS user but never been here.. I am trying to enable sorting/filter behaviour on a field from has_one relation. Effectively, every client can have a main booking and I would like to be able to sort client list on the booking's status. Is this possible?
725: [14:27:25] <Pydck> yes, but I'm not sure what you asked.
726: [14:27:32] <Pydck> sorting a list, surely possible.
727: [14:27:41] <Pydck> how, I'd have to understand better.
728: [14:28:45] <Pydck> But it sounds like you might simply want a getRelationshipName() method on the 'parent' object (that defines the has_one).
729: [14:29:01] <Pydck> that makes use of getComponents()
730: [14:29:08] <Pydck> to avoid circular references
731: [14:29:27] <zard> I would like to sort it on related field - or a custom one. For example, each client has a booking via has_one. I would like to sort the client list on DefaultBookingRequest.ID
732: [14:30:07] <muskie9> zard, that's how I've done it in the past, or something similar... throw that on in your client's default sort static I think
733: [14:30:10] <Pydck> well there's no list if it's simply has_one
734: [14:30:40] <Pydck> you can define public static $default_sort on the related object, but it will override ALL sorts (from all locations).
735: [14:30:56] <Pydck> but it sounds like you want something a little more complicated
736: [14:31:58] <zard> Ok, I will try ty add the related field into the default_sort and see if it gets picked up
737: [14:31:59] <zard> thanks!
738: [14:32:01] <Pydck> it also sounds like this is many_many, not has_one.
739: [14:32:17] <Pydck> so yeah, you need to clarify if that's not doing the job :>
740: [14:33:53] <zard> it is has_one - there is another many_many to define all clients and bookings but there is has_one to get the main one - the one agent is currently working on with the client
741: [14:34:48] <Pydck> right, well test out the suggestions above and see if any fit your solution :>
742: [14:37:14] <zard> hm, looks like that the default_sort only works on the object fields..
743: [14:51:18] * zard quit (Quit: Page closed)
744: [14:51:32] * zard has joined #silverstripe
745: [14:54:52] <Pydck> yeah, you define it on the object you want sorted.
746: [14:55:09] <Pydck> and as I said, it works _everywhere_, so it can't reference some remote thing
747: [14:55:38] <Pydck> I think my first suggestion is what you want zard
748: [14:57:10] <zard> Pydck: could you please elaborate? I am not sure I've understood it correctly..
749: [14:59:01] <Pydck> public function getClientBookings() { return $this->getComponents('ClientBookings')->filter(array('field' => 'filter', 'anotherfield' => 'anotherfilter'))->sort('DefaultBookingRequestID'); }
750: [14:59:37] <Pydck> for example zard
751: [15:00:21] <Pydck> Obviously you'll need to adapt it where necessary (not just copy it verbatim).
752: [15:05:31] * zard quit (Ping timeout: 246 seconds)
753: [15:14:51] * ARNHOE quit ()
754: [15:23:31] * DesignerX quit (Ping timeout: 240 seconds)
755: [15:23:38] * Shrike_Finland has joined #silverstripe
756: [15:24:45] * sukirti has joined #silverstripe
757: [15:33:25] * sukirti quit (Remote host closed the connection)
758: [15:38:15] * nonconformatevi quit (Quit: Sto andando via)
759: [15:38:58] * bspeakman quit (Quit: Leaving)
760: [15:40:15] * jenniferaslan has joined #silverstripe
761: [15:47:22] * Alboes has joined #silverstripe
762: [15:48:49] <Alboes> Hi
763: [15:49:32] <Alboes> Without the template file Security.ss the cms login form doesn's appear. How can that be?
764: [15:50:29] <micmania1> Alboes: Add $Form to your Page.ss
765: [15:50:53] <Alboes> I did that already
766: [15:51:11] <Alboes> nothing is showing, only a blank screen
767: [15:51:23] <micmania1> Alboes: seems like you have an error
768: [15:51:35] <micmania1> Try turning on dev mode
769: [15:51:51] <micmania1> http://doc.silverstripe.org/framework/en/topics/environment-management
770: [15:53:03] <Alboes> ok, thanks
771: [16:03:54] * Shrike_Finland quit (Quit: Leaving.)
772: [16:15:23] <Pydck> Alboes: also ensure to flush!
773: [16:17:06] <Alboes> if add $Form in templates/Page.ss it works, but if I do it in templates/Layout/Page.ss it doesn't work
774: [16:18:27] <Alboes> is that not strange?
775: [16:24:23] * kinglozzer quit ()
776: [16:37:34] * Alboes quit (Remote host closed the connection)
777: [16:46:16] <Pydck> No, it's not strange.
778: [16:46:49] * Pydck has left #silverstripe
779: [16:58:46] * RWestC quit (Quit: Textual IRC Client: www.textualapp.com)
780: [17:11:33] * bwaah has joined #silverstripe
781: [17:14:05] <bwaah> hey has anyone ever used the advanced work flow id like a yml file to import because i realy have no idea how this module works iv been trying to work around it the whole day but im not getting anywhere
782: [17:24:17] * muskie9 quit (Ping timeout: 264 seconds)
783: [17:30:51] * gelignite has joined #silverstripe
784: [17:33:30] * muskie9 has joined #silverstripe
785: [17:47:43] * muskie9 quit (Read error: Connection reset by peer)
786: [17:47:53] * muskie9_ has joined #silverstripe
787: [18:23:57] * muskie9 has joined #silverstripe
788: [18:27:17] * muskie9_ quit (Ping timeout: 245 seconds)
789: [19:31:40] * muskie9 quit (Ping timeout: 240 seconds)
790: [19:31:47] * muskie9_ has joined #silverstripe
791: [19:41:13] * Azure has joined #silverstripe
792: [20:10:49] * Kingy[a] is now known as Kingy
793: [20:10:57] <Kingy> morning
794: [20:12:02] <catcher> howdy
795: [20:12:49] <Stomach> hullo
796: [20:13:17] <Kingy> goddamit Brazil
797: [20:21:45] * UndefinedOffset quit (Quit: Leaving.)
798: [20:28:59] <Stomach> ?
799: [20:33:50] <Kingy> I just picked them in the sweepstakes
800: [20:33:53] <Kingy> and they're now losing
801: [20:34:19] <Kingy> no they levelled
802: [20:34:20] <Kingy> it's ok
803: [20:35:24] <Stomach> to croatia?
804: [20:35:48] <Kingy> yeah
805: [20:35:54] <Kingy> it's 1-1 now
806: [20:44:12] * Liquide quit ()
807: [20:46:42] * zippy__ has joined #silverstripe
808: [20:47:31] <zippy__> for sale, one baby. Crys and shits all the time.
809: [20:47:37] <zippy__> no returns
810: [20:47:44] <Kingy> lol
811: [20:48:07] <Kingy> that good huh
812: [20:48:30] * an_Eskimo has joined #silverstripe
813: [20:48:30] <catcher> zippy__, lmk if you find a buyer who wants more.
814: [20:51:27] <zippy__> might only be able to fool them once i think
815: [20:51:36] <zippy__> mind you, we had too kids….
816: [20:51:39] <zippy__> two
817: [20:52:44] * nickmolhoek has joined #silverstripe
818: [20:55:38] <Stomach> http://forums.adoption.com/
819: [20:55:40] <Stomach> :P
820: [20:56:38] * tankr has joined #silverstripe
821: [20:56:51] <Stomach> hey frank
822: [20:57:18] * Stomach1 has joined #silverstripe
823: [20:58:23] * Stomach1 is now known as Tummy
824: [21:02:36] * Tummy quit (Quit: Leaving.)
825: [21:02:41] * catcher quit (Quit: Leaving)
826: [21:03:13] * bwaah quit (Ping timeout: 246 seconds)
827: [21:04:36] <tankr> hey mate, thanks for all the pull requests! about to get stuck in to it
828: [21:06:20] <zippy__> Stomach: you finally send all the pull requests for swipestripe?
829: [21:07:03] * srikanth has joined #silverstripe
830: [21:13:01] * guci0 quit (Ping timeout: 246 seconds)
831: [21:14:04] <Stomach> not all of them
832: [21:14:27] <Stomach> theres some stuff which relates to the customer setup, but I think tankr will be working on that today so I didn't
833: [21:16:45] <tankr> Sweet as, yeah it is on the list to remove the Customer class perhaps for next version
834: [21:17:51] <Stomach> yeah, I didn't want to move our stuff against 2.1, lots of it is just spaghetti code to get around some of the implementations at the moment too :D
835: [21:18:09] <Stomach> anyway, see you at 10 :)
836: [21:18:23] <tankr> Ok sounds good
837: [21:23:03] * scpi has left #silverstripe
838: [21:28:25] * antmas has joined #silverstripe
839: [21:29:26] <Kingy> PENALTY
840: [21:31:06] <Kingy> 2-1 Brazil
841: [21:31:19] <antmas> lol didn't Brazil get an own goal first up?
842: [21:31:24] <Kingy> yeah
843: [21:31:33] <antmas> fantastic start lol
844: [21:31:45] <Kingy> damn the keeper got to the ball but knocked it into the net
845: [21:32:16] <antmas> haha
846: [21:32:20] <antmas> that would have been epic
847: [21:32:28] <Kingy> jeez they nearly scored another own goal lol
848: [21:32:34] <Kingy> you watching antmas?
849: [21:32:42] <antmas> Kingy: yeah just turned it on
850: [21:32:51] <Kingy> good man :)
851: [21:34:02] <antmas> why is there no popout option?
852: [21:34:03] <antmas> ffff
853: [21:34:13] * gelignite quit (Quit: http://bit.ly/nkczDT)
854: [21:36:49] <Kingy> you streaming on tvnz?
855: [21:37:20] * bwaah has joined #silverstripe
856: [21:37:48] <antmas> Kingy: yeah
857: [21:38:01] <antmas> pretty shit quality
858: [21:38:07] <Kingy> yeah
859: [21:38:18] <Kingy> the office has got it going all over the show
860: [21:38:23] <Kingy> projectors, tvs
861: [21:38:26] <Kingy> my screen :P
862: [21:38:47] <antmas> haha
863: [21:39:00] <antmas> what time is the next match?
864: [21:39:15] <Kingy> there's only the one today
865: [21:39:25] <antmas> ah ok
866: [21:39:38] <Kingy> 4am tomorrow mexico v cameroon
867: [21:39:52] <Kingy> 7am spain v netherlands (can't wait for this one)
868: [21:40:15] <Kingy> and aussie play at 10am tomorrow morning against chile
869: [21:40:47] <antmas> I probably won't watch much, more keen to watch Le Man
870: [21:41:04] <Kingy> I love football, will watch as many as I can
871: [21:41:13] <Kingy> good way to pass a morning at work as well
872: [21:41:16] * Pyromanik has joined #silverstripe
873: [21:41:35] <Pyromanik> so someone told me there's a hackfest tomorrow
874: [21:41:40] <Pyromanik> Y U NO NEWS
875: [21:41:54] * irogue_ has joined #silverstripe
876: [21:41:58] <Pyromanik> tankr, t/f?
877: [21:42:18] <Pyromanik> oh you irogue, why is there no news on this hackfest tomorrow>
878: [21:42:20] <Pyromanik> ?
879: [21:42:27] <Pyromanik> irogue_, even.
880: [21:42:40] <antmas> Pyromanik: only place I saw it was Facebook
881: [21:42:55] <Pyromanik> oh facebook. I haven't checked that in forever.
882: [21:43:41] <irogue_> Pyromanik: hackday not hackfest
883: [21:43:43] <irogue_> and it's today
884: [21:43:43] <irogue_> now
885: [21:44:08] <irogue_> hackday is basically internal SS hackfest
886: [21:44:33] <Pyromanik> irogue, oh you
887: [21:44:46] <irogue_> https://twitter.com/silverstripe/status/477019170362904576
888: [21:44:48] <Pyromanik> you made me all excite, now I'm unprepared and going to bed :<
889: [21:45:19] <Kingy> which movies are you watching irogue_?
890: [21:45:20] <Pyromanik> So you and tankr finally turning swipestripes customers into decorated members instead of extended ones?
891: [21:45:49] <irogue_> Kingy: us auckland people don't subscribe to wellington's rules :P
892: [21:45:58] <irogue_> we have the world cup on instead of horror movies
893: [21:45:59] <Kingy> aw
894: [21:46:21] <Kingy> yes
895: [21:47:45] <Pyromanik> irogue_, so basically a horror movie?
896: [21:47:58] <irogue_> Pyromanik: lol
897: [21:48:09] <irogue_> it's in the meeting room so i don't have to deal with it
898: [21:48:17] <irogue_> its just Kirk and JHo watching
899: [21:49:13] <Pyromanik> ic
900: [21:49:50] <Stomach> irogue_, do you guys need any lollies or energy drinks?
901: [21:50:23] <tankr> Pyromanik: hope the UK is treating you well mate
902: [21:50:35] <irogue_> Stomach: snacks would be well received
903: [21:50:51] <Stomach> cool, I'll bring some biscuits and shit
904: [21:51:01] <Kingy> 3-1
905: [21:51:02] <Kingy> OSCARRRRR
906: [21:51:38] <irogue_> wow
907: [21:51:52] <irogue_> the noise from Right Track just now was... quite overpowering
908: [21:52:50] <Kingy> antmas: 1 game down 63 to go
909: [21:53:00] <Kingy> $5mil is still on :P
910: [21:53:35] * camfindlay has joined #silverstripe
911: [21:56:20] <camfindlay> righto, fyi we have just released a blog post with some first looks at the new design for ss.org if you guys are interested http://www.silverstripe.org/upgrades-to-the-silverstripe-community-website/
912: [21:58:58] <Pyromanik> tankr, yes and no.
913: [21:59:18] <Kingy> Looks like a big improvement camfindlay
914: [21:59:51] <Pyromanik> It's great that places like Germany are so close. It's shit in that most people are entitled, disenchanted and angry.
915: [22:00:01] <Pyromanik> But there are nice people too.
916: [22:00:22] <Pyromanik> and my job is cool :>
917: [22:05:33] <antmas> camfindlay: looks nice, is this the same site we saw screenies of a while ago?
918: [22:05:39] <antmas> but it was purple?
919: [22:06:00] <camfindlay> yip
920: [22:06:05] <irogue_> Pyromanik: say hai to Stomach
921: [22:06:09] <camfindlay> the purple site was just wireframes
922: [22:06:25] <antmas> camfindlay: yeah I thought so
923: [22:08:01] <antmas> Pyromanik: you excitebike for le mans?
924: [22:09:36] <Pyromanik> antmas, this weekend right? I'm going away :<
925: [22:09:43] <Pyromanik> (but not to le mans)
926: [22:09:49] <Pyromanik> I think I might go next year
927: [22:09:51] <antmas> Pyromanik: yeah, damn!
928: [22:09:59] <Pyromanik> irogue_, hai to Stomach
929: [22:10:38] <Pyromanik> antmas, I've seen Hartley's facebook updates about it, but to be honest I've not really been following too close.
930: [22:11:06] <Pyromanik> camfindlay, wow, about time! xD
931: [22:11:08] <antmas> Pyromanik: I've only just started getting into it too
932: [22:11:31] <antmas> camfindlay: we should all gold stars for being on the IRC team :D
933: [22:11:42] <Pyromanik> camfindlay, only... that looks like a yank landform. Make it NZ!
934: [22:13:08] <antmas> Pyromanik: http://www.dailymotion.com/embed/video/x10uqt7?autoplay=1&hidePopoutButton=1
935: [22:13:27] <Pyromanik> and while I approve of an update, I quite hope that it doesn't end up looking like every other website ever especially if made with bootstrap.
936: [22:14:51] <Kingy> Pyromanik: while I agree with that statement it also looks better than what it currently is
937: [22:14:52] <Pyromanik> antmas, what is this?
938: [22:14:57] * kmayo has joined #silverstripe
939: [22:14:59] <antmas> Pyromanik: Le Man TV
940: [22:15:00] <Pyromanik> Kingy, indeed.
941: [22:15:08] <Pyromanik> Oh, LMP2!
942: [22:15:13] <antmas> Pyromanik: although what's playing right now might be a historic race
943: [22:15:42] <antmas> was watching it yesterday during the qualifying
944: [22:16:00] <Pyromanik> wholey shit, dude in front is getting reeled in!
945: [22:16:13] <Pyromanik> antmas, but this isn't live...
946: [22:16:21] <antmas> Pyromanik: not right now, no
947: [22:16:31] <antmas> it was this morning
948: [22:16:36] <Pyromanik> mm, it's dark outside.
949: [22:16:49] <antmas> 10 hours behind?
950: [22:16:52] <antmas> ish?
951: [22:21:40] <Pyromanik> antmas, 11
952: [22:21:42] <Pyromanik> daylight savings.
953: [22:21:47] <Pyromanik> 12 normally
954: [22:21:51] <antmas> ah right
955: [22:22:00] <Pyromanik> being that this is where Grenwich is.
956: [22:22:26] <Pyromanik> lemanslive.com were the folks doing the live commentary when I was at Silverstone
957: [22:23:07] * muskie9_ quit (Ping timeout: 245 seconds)
958: [22:23:43] <antmas> nice
959: [22:23:44] <Pyromanik> irogue_, if you get bored hacking then instead you should write docs on what the fuck DataModel even is.
960: [22:23:46] <Pyromanik> and what it's for.
961: [22:23:52] <Pyromanik> and why it's passed to everything.
962: [22:23:57] <Pyromanik> and is a singleton
963: [22:23:58] <Pyromanik> etc.
964: [22:24:16] <Pyromanik> Imma find out tomorrow, but it'd be nice if I didn't have to dig through 100 files to get there :P
965: [22:24:20] * camfindlay quit (Quit: camfindlay)
966: [22:25:02] <antmas> Pyromanik: that looks live, same feed even?
967: [22:25:21] <antmas> the one I linked switched to historic after the live stuff finished etc
968: [22:25:32] * camfindlay has joined #silverstripe
969: [22:30:22] <zippy__> thas a nice quality feed
970: [22:31:01] <zippy__> mmm thats some sexy dodge viper there
971: [22:31:14] <antmas> zippy__: indeed
972: [22:31:28] <zippy__> antmas: seen the grey one around richmond/nelson?
973: [22:31:43] <antmas> zippy__: I saw a black one ages ago
974: [22:31:49] <antmas> maybe it was grey though...
975: [22:31:54] <antmas> was dark
976: [22:33:49] <antmas> those skirts
977: [22:33:50] * travis-ci has joined #silverstripe
978: [22:33:50] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2694 (3.1 - 3e29f6b : Damian Mooyman): The build was fixed.
979: [22:33:50] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/020b590f23db...3e29f6b29b78
980: [22:33:50] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/27445703
981: [22:33:50] * travis-ci has left #silverstripe
982: [22:33:50] <antmas> ...
983: [22:34:43] <irogue_> i anticipate seeing mister travis a lot today
984: [22:35:58] <zippy__> friday open sauce day?
985: [22:36:12] * muskie9 has joined #silverstripe
986: [22:36:28] <antmas> isn't it hackday?
987: [22:37:05] * muskie9 quit (Client Quit)
988: [22:37:43] <antmas> hnnngngggggg that green livery
989: [22:39:06] <antmas> anyone keen on Le Mans stuffs - http://www.spotterguides.com/wp-content/uploads/2014/06/LM_14_v3_a4.pdf
990: [22:39:29] <Pyromanik> Nah, I don't do wp-content
991: [22:39:48] <irogue_> zippy__, antmas: yep
992: [22:40:13] <Pyromanik> irogue, so that tweet you posted before right... HHHHNNNNNNNGGGGGGGGGGG that only comment.
993: [22:40:58] <Pyromanik> Dear sir, I want to reach through the internet and hit you, which a book on application design, and a link to harvest chozen on github
994: [22:42:36] <antmas> oh god
995: [22:42:43] <antmas> they just rolled an Aston out
996: [22:42:46] * antmas swoons
997: [22:43:08] <Pyromanik> swoon!
998: [22:43:13] <Pyromanik> dat noise
999: [22:43:20] <antmas> trumps all noises
1000: [22:43:27] <Pyromanik> mmmmm
1001: [22:43:48] * camfindlay quit (Quit: camfindlay)
1002: [22:44:49] * antmas_ has joined #silverstripe
1003: [22:45:47] <Pyromanik> so anyway, it's bed time and stuffs.
1004: [22:46:15] <Pyromanik> happy hacking irogue_, irogue, tankr, ss23!
1005: [22:47:31] * antmas quit (Ping timeout: 246 seconds)
1006: [22:49:00] <zippy__> antmas: no dodge this year….
1007: [22:49:16] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1008: [22:50:13] <antmas_> zippy__: naw, all Vettes, Astons and Ferraris
1009: [22:50:42] <zippy__> and some porsche, or is that different class
1010: [22:50:48] * antmas has joined #silverstripe
1011: [22:50:56] * camfindlay has joined #silverstripe
1012: [22:51:02] <antmas> bloody feed keeps crashing IE10 :P
1013: [22:52:48] <irogue_> holy crap Right Track is loud
1014: [22:52:54] <irogue_> we don't even have any doors or windows open
1015: [22:54:27] <simon_w> https://twitter.com/silverstripe/status/477208958755545088
1016: [22:54:31] * antmas_ quit (Ping timeout: 246 seconds)
1017: [22:54:36] <simon_w> Just another reason I'm glad to not work there
1018: [22:55:39] <Ryan-Toast> simon_w: lol.
1019: [22:55:45] <Ryan-Toast> Wissh there wasd a livestream or something
1020: [22:55:55] * joelpittet has joined #silverstripe
1021: [22:55:58] <Ryan-Toast> And people could control ne of those desktop nerf turrets
1022: [22:57:32] * camfindlay quit (Quit: camfindlay)
1023: [23:00:30] * antmas quit (Quit: Page closed)
1024: [23:01:10] * antmas has joined #silverstripe
1025: [23:01:19] * camfindlay has joined #silverstripe
1026: [23:02:19] <antmas> camfindlay: live feed the hackday yo!
1027: [23:04:05] <simon_w> "Using Agile Scrum"
1028: [23:04:12] <simon_w> Heh, doing agile wrong still
1029: [23:04:32] <camfindlay> I wish but we are playing old skool classic horror movies in the office all day
1030: [23:05:39] * irogue_ munches down on the pretzels Stomach donated us
1031: [23:06:13] <antmas> arrrrgggh, post pics!
1032: [23:06:18] * antmas feels left out
1033: [23:07:08] <antmas> if I have a field that renders in the CMS, but not in an email/excel, what do?
1034: [23:09:16] * Stomach clicks his shiny new github organisation button
1035: [23:09:17] <Stomach> :D
1036: [23:15:41] <Ryan-Toast> http://www.silverstripe.org/upgrades-to-the-silverstripe-community-website/?utm_source=SilverStripe+Community+Blog&utm_medium=facebook&utm_campaign=Blog+to+Social+Media
1037: [23:16:03] <Ryan-Toast> That actually looks really nice.
1038: [23:16:33] <antmas> Ryan-Toast: yeah it does, but it looks... familiar
1039: [23:16:48] <Ryan-Toast> So do all designs, but it’s fine.
1040: [23:17:00] <antmas> oh ofc, just sayin
1041: [23:17:02] <antmas> I like it
1042: [23:17:52] <Ryan-Toast> I don’t mean to sound surprised :P
1043: [23:19:54] <antmas> zippy__: that feed, do you have shite audio?
1044: [23:20:44] <simon_w> Ryan-Toast, what I don't get is why is a company that says it uses agile methodology not using agile to build the new ss.org?
1045: [23:21:23] <simon_w> Perhaps camfindlay can answer that
1046: [23:21:30] <Ryan-Toast> simon_w:Perhaps they were doing a lot of r&d into their UX?
1047: [23:21:47] <antmas> simon_w: does it matter?
1048: [23:22:15] <simon_w> antmas, well, they go and say they're using "Agile Scrum", so they're pretending to be agile
1049: [23:22:43] <simon_w> Why not stop pretending and actual go agile?
1050: [23:23:00] <antmas> simon_w: I guess
1051: [23:23:14] <Ryan-Toast> Because it’s more of a marketing word now than it ever has been?
1052: [23:23:23] <antmas> exactly^^^
1053: [23:23:44] <camfindlay> simon_w we are using the scrum method, once sprints roll into something releasable then we’ll get it live and start further iterations
1054: [23:23:58] <simon_w> camfindlay, yeah, so you're not using agile
1055: [23:24:05] <camfindlay> we need to get a good base to iterate from first
1056: [23:24:08] <Ryan-Toast> I can remember when they brought scrum trainers in for Fiserv, it took three full days. Where half a day was probs neccissary.
1057: [23:24:59] <camfindlay> agile tools and a move to agile philosophy, at this point we just need to get stuff done and shipped
1058: [23:25:33] <simon_w> camfindlay, yet you're enforcing specific methods and processes, which is kinda the opposite of the main part of the agile manifesto
1059: [23:25:45] <camfindlay> like any philosophical perspective it is shades of grey
1060: [23:25:54] <camfindlay> vs idealism
1061: [23:26:29] <simon_w> So why are you at one of the darkest shades possible?
1062: [23:26:36] <irogue_> simon_w: that's racist
1063: [23:27:07] <simon_w> irogue_, https://www.youtube.com/watch?v=RovF1zsDoeM ;)
1064: [23:27:08] <antmas> lol
1065: [23:27:22] <Ryan-Toast> The next page navigation at the bottom of this is so fucking cool: http://purplerockscissors.com/about
1066: [23:27:47] <camfindlay> if you read the manifesto, it posits “individuals and interactions over processes and tools” - we have been listening to people and internally we have a very autonomous team working through everthing required to get this update shipped :)
1067: [23:28:06] <simon_w> camfindlay, so long as they use scrum
1068: [23:29:03] <antmas> Ryan-Toast: It looks cool, but that is very confusing
1069: [23:29:08] <camfindlay> scrum as a tool implements or moves a team closer to being able to embody those ideals of agile
1070: [23:29:13] <Ryan-Toast> antmas: YOU’RE REALLY CONFUSING
1071: [23:29:27] <antmas> Ryan-Toast: NO I'M NOT
1072: [23:29:31] <Ryan-Toast> antmas: Just like having a next post button :P
1073: [23:29:32] <camfindlay> end of the day, getting things done through people communicating well is what we are after ;)
1074: [23:29:33] * antmas hi5s the monitor
1075: [23:29:35] <antmas> o/
1076: [23:29:35] <simon_w> camfindlay, no, scrum as a tool lets a team better embody using scrum
1077: [23:29:49] <camfindlay> only if you see it that way
1078: [23:30:03] <simon_w> So if someone doesn't want to use scrum, what happens?
1079: [23:30:12] <camfindlay> scrum often gets poorly implemented and gets a bad wrap
1080: [23:30:27] * camfindlay quit (Quit: camfindlay)
1081: [23:30:55] * bwaah quit (Ping timeout: 246 seconds)
1082: [23:32:39] <Stomach> simon_w, if you are running a business and someone doesn't want to use your processes, what do you do?
1083: [23:32:41] <Stomach> you fire them.
1084: [23:32:55] <antmas> Stomach: lolwut?
1085: [23:32:55] <Stomach> the sum of the parts etc
1086: [23:33:18] <simon_w> Stomach, yes, businesses like that aren't agile
1087: [23:33:54] <Stomach> terminology :P
1088: [23:34:59] <antmas> back to my question, if I have a form field that renders in the CMS fine, but in email and csv (export), what do?
1089: [23:35:03] <irogue_> if agile means everyone working to their own process, agile is fucking stupid :P
1090: [23:35:06] <antmas> but not*
1091: [23:35:47] <simon_w> irogue_, each group should decide how they want to work together, rather than having some method handed down to them
1092: [23:36:12] <simon_w> antmas, form fields don't render in CSV at all?
1093: [23:36:28] <antmas> simon_w: OK, that's fine, but email?
1094: [23:36:41] <simon_w> antmas, why are you trying to have a form field in an email?
1095: [23:37:19] <antmas> simon_w: so the person who submitted the form can see what they entered?
1096: [23:37:33] <simon_w> antmas, so you want the value, rather than the form field?
1097: [23:37:41] <antmas> simon_w: sorry, yes
1098: [23:37:48] <simon_w> Well, what are you doing?
1099: [23:38:19] <antmas> simon_w: I'm getting the value, but it loses it's format (in the CMS, it retains it's formatting just fine)
1100: [23:38:40] <simon_w> antmas, are you getting the value straight from $data?
1101: [23:39:16] <Ryan-Toast> Has anyone tried the angularJS Silverstripe implementation?
1102: [23:39:18] <antmas> simon_w: I... think so yes
1103: [23:39:31] <antmas> the form gets saved into a DO
1104: [23:39:39] <simon_w> antmas, formatting tends to be coming from the dbfield
1105: [23:40:35] <antmas> simon_w: OK, what if the field has it's own formatting (it's in a module)
1106: [23:40:46] <jordanmk> zippy__
1107: [23:40:47] <jordanmk> are you there?
1108: [23:41:04] <antmas> simon_w: which extends dbfeild
1109: [23:41:06] <Stomach> Ryan-Toast, nope
1110: [23:41:15] <Ryan-Toast> Stomach: So helpful :P
1111: [23:41:20] <Stomach> you asked :P
1112: [23:41:29] <simon_w> antmas, save into the DO, then use $do->dbObject('FieldName') to pull it out
1113: [23:41:34] <Ryan-Toast> I did indeed :P I wonder what the speed is like.
1114: [23:41:37] <simon_w> Or $Do.FieldName in the email
1115: [23:41:58] <jordanmk> On a Product Category page (which has a number of Product pages as children), i'm looping through the products using loop $Products
1116: [23:42:09] <antmas> simon_w: ok I'll try that, where would I use $do->dbObject('FieldName') ? in which function?
1117: [23:42:22] <jordanmk> within that loop, i'm trying to output a form that's part of Product_Controller
1118: [23:42:29] <jordanmk> called ProductForm
1119: [23:42:36] <jordanmk> but can't figure out how to do that
1120: [23:42:38] <simon_w> antmas, after you've called $form->saveInto($do)
1121: [23:43:01] <Stomach> jordanmk, you can add an extension to Product which has the form method if you need it
1122: [23:43:23] <antmas> simon_w: ok cool, $DO.field didn't work btw, just returns nothing
1123: [23:43:29] <antmas> I'll try the other way
1124: [23:43:47] <jordanmk> Stomach: ah so there's no way to access the controller function? i have to make a new function within the Product class itself (or an extension of it)?
1125: [23:44:49] <Stomach> well its not really a good idea to begin with, controller actions should be on controllers
1126: [23:45:06] <antmas> simon_w: using $do->dbObject('FieldName');, would I simply call $field in the template?
1127: [23:45:26] <simon_w> antmas, if you then assign that to $field
1128: [23:46:05] <Ryan-Toast> Someone just called me a Client-Side Engineer.. what a weird title.
1129: [23:46:07] <jordanmk> Stomach: hmm, fair enough
1130: [23:46:34] <antmas> simon_w: how do I do that?
1131: [23:46:42] <simon_w> antmas, just pastie already :p
1132: [23:46:49] <Stomach> jordanmk, I would put a controller on the ProductCategory_Controller which takes in a ProductID then generates the form for that object
1133: [23:46:54] <antmas> simon_w: :P ok
1134: [23:48:40] * UncleCheese has joined #silverstripe
1135: [23:48:50] <antmas> simon_w: did you get my pm?
1136: [23:49:04] <simon_w> antmas, nope
1137: [23:49:23] <antmas> hmmm
1138: [23:49:28] <simon_w> antmas, fairly sure free node prevents non-registered accounts from PMing
1139: [23:49:51] <simon_w> There we go
1140: [23:50:38] <antmas> simon_w: beeteedubs, I didn't write this :D
1141: [23:50:54] <antmas> I'm moving it into userforms so that it's not a cluster fuck of crap
1142: [23:52:01] <simon_w> antmas, does the custom DBField have its own template that gets used in the CMS?
1143: [23:52:11] <antmas> simon_w: yup, wanna see it?
1144: [23:52:42] <simon_w> antmas, add a forTemplate() method to the DBField subclass that uses $this->renderWith('ThatTemplate')
1145: [23:52:43] <jordanmk> Stomach: ah yeah, that makes sense
1146: [23:53:11] <antmas> simon_w: ok, what would that do exactly?
1147: [23:53:20] * UncleCheese quit (Client Quit)
1148: [23:54:47] <simon_w> antmas, get that field to render with that template when just going $FieldName
1149: [23:55:23] <antmas> simon_w: would that require a dev/build?
1150: [23:55:28] <simon_w> Shouldn't
1151: [23:58:36] * UncleCheese has joined #silverstripe

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