#silverstripe IRC Log

IRC log for 17 October 2013

All timestamps are in UTC.

1: [00:00:34] <ss23> fff
2: [00:00:39] <ss23> Now you know I'm American!
3: [00:01:23] <ss23> simon_w: So are you signed up for training this year? :D
4: [00:01:36] <simon_w> AHAHAHAHAHAHAHAHA
5: [00:01:45] <ss23> Come on, free beer!
6: [00:02:26] <simon_w> Same response :p
7: [00:03:29] <simon_w> maybe with a few more HAs tagged on the end
8: [00:03:34] <ss23> lol
9: [00:05:45] <guzzlefry> I has questions.
10: [00:06:21] <guzzlefry> Is there a way to do routing with like localhost/$OtherID/$value/$OtherID/$value/forever and ever
11: [00:06:39] <simon_w> Yes
12: [00:06:49] <ss23> And what is the way?
13: [00:07:01] <guzzlefry> Tell us your secrets!
14: [00:07:04] <ss23> lol
15: [00:07:07] <guzzlefry> please :P
16: [00:07:11] <simon_w> Keep returning a RequestHandler with a url_handler that matches $OtherID/$value
17: [00:08:29] <ss23> simon_w: What other food can I get delivered?
18: [00:08:32] <ss23> (Other than pizza)
19: [00:08:54] <simon_w> There's some indian places that deliver
20: [00:08:56] <guzzlefry> Do you have Jimmy Johns or whatever over there?
21: [00:16:32] <guzzlefry> hm, how do I get the current page dataobject?
22: [00:16:54] <guzzlefry> From inside another unrelated DataObject. >_>
23: [00:18:49] <ss23> Nope Jimmy Johns
24: [00:19:04] <simon_w> Controller::curr()
25: [00:19:13] <ss23> psh, pizza it is then
26: [00:19:14] <ss23> :<
27: [00:19:32] <guzzlefry> ss23: Don't forget to bless the office with some George Thorogood, today.
28: [00:19:50] <ss23> aha
29: [00:19:53] <ss23> I'm not at the office today
30: [00:19:56] <ss23> :P
31: [00:20:17] <guzzlefry> darn
32: [00:20:23] <guzzlefry> Their loss. :P
33: [00:20:38] <simon_w> IT'S FRIDAY, FRIDAY, GOTTA GET DOWN ON FRIDAY
34: [00:20:43] <guzzlefry> haha
35: [00:20:48] <guzzlefry> He was playing that wasn't he? :P
36: [00:24:45] <ss23> Power surge the another night -> server resets -> fuck.
37: [00:24:50] <ss23> Now I have to spend like an hour turning it back on :<
38: [00:25:26] <Colin[pi]> did you kill svn ss23?
39: [00:25:38] <ss23> not that I know of! :O
40: [00:25:41] <ss23> It's a long-term project
41: [00:25:45] <Colin[pi]> ah :)
42: [00:25:53] <ss23> Lots and lots of old projects to migrate first :P
43: [00:26:03] <Colin[pi]> ah I thought you were ready for switch off :P
44: [00:26:09] <ss23> Nope :<
45: [00:26:10] <ss23> I wish!
46: [00:26:19] <Colin[pi]> DO IT, what's the worst that could happen? :D
47: [00:26:24] <simon_w> Should ditch github and move back to SVN!
48: [00:26:35] <simon_w> Then we can get a decent issue tracker again!
49: [00:26:39] <ss23> NOT IN A MILLION YEARS!
50: [00:26:39] <ss23> :D
51: [00:26:51] <ss23> simon_w: false dichotomy!
52: [00:27:01] <ss23> We can have github and a decent issue tracker
53: [00:27:09] <ss23> (assuming a decent issue tracker exists, and I'm not so sure about that)
54: [00:27:20] <guzzlefry> YouTrack!
55: [00:27:22] <guzzlefry> YEAH
56: [00:27:24] <simon_w> Did you see the thread about moving to github issues?
57: [00:27:25] <simon_w> No we can't
58: [00:27:26] <spronk> ss23: lol power surge
59: [00:27:31] <spronk> no UPS!?
60: [00:27:52] <ss23> Not at home
61: [00:27:52] <ss23> :P
62: [00:28:39] <spronk> fail
63: [00:29:06] <ss23> spronk: The two issues are a) buying one, and b) lugging it around whenever I move
64: [00:29:18] <simon_w> Just buy a house
65: [00:29:29] <simon_w> PROBLEM SOLVED
66: [00:30:24] <ss23> simon_w: ffff
67: [00:30:32] <ss23> simon_w: That would be a *worse* problem
68: [00:30:38] <ss23> I don't want to live in one place!
69: [00:30:38] <ss23> :D
70: [00:30:49] <ss23> simon_w: So to confirm, I still can't live at your house yet, right?
71: [00:31:08] <simon_w> Nope
72: [00:31:11] <simon_w> You can get your own place
73: [00:31:26] <ss23> :<
74: [00:31:48] <simon_w> I don't want to have to wear pants at home!
75: [00:32:18] <Colin[pi]> who said you needed to wear pants?
76: [00:32:22] <ss23> ^^^
77: [00:32:24] <Colin[pi]> I'm ss23 could handle it
78: [00:32:25] <ss23> You overestimate!
79: [00:32:29] <Colin[pi]> wrong choice of words
80: [00:33:24] <ss23> lol
81: [00:33:25] <ss23> I'm ss23!
82: [00:33:38] <simon_w> No, I'm ss23!
83: [00:33:42] * simon_w is now known as Snowman23
84: [00:33:55] <ss23> ;___;
85: [00:33:57] <ss23> CHEATER
86: [00:34:05] * ss23 tries finding his password and hopes that nick is stil llinked
87: [00:34:06] <guzzlefry> simon_w: Are you from postgres land? :P
88: [00:34:14] <guzzlefry> That nick looks familiar...
89: [00:34:24] <Snowman23> This is my Christmas nick!
90: [00:34:28] <guzzlefry> word
91: [00:34:29] <Snowman23> Because it's Christmas time!
92: [00:34:31] * Snowman23 quit (Disconnected by services)
93: [00:34:32] <guzzlefry> we need halloween nicks!
94: [00:34:35] <ss23> YAY!
95: [00:34:36] <ss23> :D
96: [00:34:36] <guzzlefry> HAHA
97: [00:34:37] <ss23> IT WORKED
98: [00:34:39] <guzzlefry> ^5
99: [00:34:49] <guzzlefry> ss23: He's gonna be pissed bro.
100: [00:34:50] * Snowman23 has joined #silverstripe
101: [00:34:54] * Snowman23 is now known as simon_w
102: [00:34:56] * nickmolhoek quit (Quit: nickmolhoek)
103: [00:35:01] <ss23> :D
104: [00:35:02] <simon_w> Jerk :p
105: [00:35:03] <guzzlefry> Here it goes..
106: [00:35:03] <ss23> IT WORKED
107: [00:35:10] <ss23> To be honest, I thought it would've expired
108: [00:35:11] <ss23> :P
109: [00:35:28] <simon_w> Nah, Freenode handles linked accounts properly
110: [00:35:40] * simon_w is now known as ss24
111: [00:35:43] <ss24> Ha!
112: [00:35:45] <Colin[pi]> lol
113: [00:35:47] <ss23> yeah, hate the networks that are like "oh you used your main nick, but not linked? EXPIRE"
114: [00:35:50] <ss23> ;___;/
115: [00:35:56] <antmas_> ;< wind
116: [00:35:58] <guzzlefry> What's the most logical way to handle a "show all" category?
117: [00:36:13] <guzzlefry> Category is already a DataObject.
118: [00:36:28] <guzzlefry> Wondering if I should just tack a Show All link to the end of the category loop. :P
119: [00:36:49] * ss24 is a noob, so doesn't know!
120: [00:37:11] <ss23> ;_____;
121: [00:37:13] <guzzlefry> What's that thing...
122: [00:37:18] <guzzlefry> K.I.S.S.
123: [00:37:34] <antmas_> whaaa?
124: [00:37:36] <guzzlefry> keep it something something... :P
125: [00:37:50] <guzzlefry> oh, keep it simple stupid
126: [00:37:52] <guzzlefry> I think
127: [00:38:01] <guzzlefry> Although there's a less offensive version for sissies.
128: [00:38:12] * wilr_ has joined #silverstripe
129: [00:38:33] <ss23> You haven't heard of KISS, antmas_?!
130: [00:38:55] <ss24> If you come over here, I'll teach you all about it!
131: [00:38:58] <Colin[pi]> NOW KISS
132: [00:39:02] <antmas_> ss23: haha yeah, just looked at the chat quickly and didn't know what was going on
133: [00:39:03] <antmas_> ...
134: [00:39:07] <ss23> XD
135: [00:39:10] <Pyromanik> I prefer Kalashnikov.
136: [00:39:17] <guzzlefry> ...
137: [00:39:31] <guzzlefry> Sounds Russian!
138: [00:39:32] <Pyromanik> "Things that are complex are not useful, Things that are useful are simple."
139: [00:39:45] <Pyromanik> guzzlefry: well yeah, he is the guy who invented the infamous AK
140: [00:39:52] <guzzlefry> oh
141: [00:40:01] <guzzlefry> the gun that's apparently really good at not jamming. :P
142: [00:40:05] <Pyromanik> exactly.
143: [00:40:08] <Pyromanik> and, it's simple.
144: [00:40:15] <guzzlefry> While M-16s hate sand...
145: [00:40:22] <Colin[pi]> mo complexity, mo problems
146: [00:40:22] <antmas_> and mudd
147: [00:40:23] <Pyromanik> M-16 is a very complex system.
148: [00:40:24] <antmas_> and water
149: [00:40:37] <Pyromanik> very good, but not so ... useful :P
150: [00:41:29] <antmas_> ugh email templates
151: [00:41:36] <antmas_> -_-
152: [00:41:41] <guzzlefry> welcome to hell :P
153: [00:41:52] * ss24 is now known as simon_w
154: [00:41:58] <Pyromanik> There's a pretty cool video where Mikhail Kalashnikov meets Eugine Stoner (the guy who invented the M-16 system)
155: [00:42:08] <guzzlefry> >_>
156: [00:42:35] <antmas_> both suck when compared to the ultimate 80's UZI
157: [00:42:36] <Pyromanik> They have a bit of a yarn.
158: [00:42:40] <Pyromanik> rofl
159: [00:42:52] <antmas_> spray and walk away!
160: [00:42:58] <Pyromanik> yeah well if you're robbing a bank you bring your brenner, everyone knows that!
161: [00:43:01] <ss23> Did we just transition to gun talk?
162: [00:43:38] <antmas_> well, it's either that, or Pyromanik asking about DB related stuff
163: [00:43:38] <Pyromanik> http://3.bp.blogspot.com/-MYJajTx1PcY/Tz6UqG703zI/AAAAAAAAAOw/T8xw7i8hEiw/s1600/Heist2.jpg
164: [00:44:21] <antmas_> followed by lots of 'fffffffffs' and ;___;'s
165: [00:44:47] <guzzlefry> Kind of worries me how slow SilverStripe requests seem to be when running on localhost...
166: [00:45:18] <Colin[pi]> guzzlefry: what OS?
167: [00:45:33] <guzzlefry> Linux/Ubuntu 12.04 Server
168: [00:45:40] <guzzlefry> Running in a VM >_>
169: [00:45:44] <antmas_> how slow?
170: [00:46:00] <Colin[pi]> guzzlefry: mine were slow until I installed APC
171: [00:46:10] <antmas_> APC?
172: [00:46:24] <Colin[pi]> http://php.net/manual/en/book.apc.php
173: [00:46:28] <Colin[pi]> absolutely flies now
174: [00:46:44] <antmas_> huh, never looked at that before
175: [00:46:51] <guzzlefry> Firebug claims 2.21 seconds waiting and about the same receiving data.
176: [00:47:05] <Pyromanik> Armoured Personell Carrier
177: [00:47:17] <Colin[pi]> A Pretty Cat
178: [00:47:25] <Pyromanik> A Perfect Circle
179: [00:47:38] <antmas_> A Poop Can
180: [00:47:46] <Pyromanik> A Plonkers Commission
181: [00:47:53] <ss23> There's a new opcode cache for 5.5 too, iirc
182: [00:47:58] <ss23> Because "Fuck you, 20 opcode caches isn't enough"
183: [00:48:02] <Pyromanik> Association of Purturbed Cannibals
184: [00:48:04] <antmas_> Colin[pi]: recommend for most projects?
185: [00:48:21] <Colin[pi]> antmas_: I think SS recommends a cache in general
186: [00:48:23] <ss23> antmas_: There's no reason not to have it on, beyond "it isn't there by default"
187: [00:48:30] <Colin[pi]> either xcache or APC or something
188: [00:48:30] <ss23> antmas_: It'll speed up any PHP stuff
189: [00:48:39] <antmas_> interesting
190: [00:48:44] * antmas_ goes to check servers
191: [00:48:47] <ss23> antmas_: For reference, if you're familiar with Java, it's like caching the output of javac. PHP does the same thing (php -> bytecode), and APC will cache it
192: [00:48:53] <Colin[pi]> all I know is it made a HELL of a big difference for me
193: [00:49:18] <ss23> I hate having to use VPN with redirect
194: [00:49:21] <ss23> so all my traffic goes through
195: [00:49:24] <EasyCo> Anybody use some sort of image compression every time a file it uploaded using the CMS?
196: [00:49:35] <EasyCo> *is uploaded
197: [00:49:36] <ss23> NOW THEY CAN SEE MY SSH CONNECTIONS AND CASUAL BROWSING AT HOME
198: [00:50:33] <antmas_> :O
199: [00:50:42] <antmas_> we have no known PHP caching
200: [00:50:43] <antmas_> crazy
201: [00:50:55] <antmas_> well, for some things we do
202: [00:51:08] <ss23> o.o
203: [00:51:11] <ss23> Really, antmas_?
204: [00:51:30] <ss23> tasman.govt.nz loads really fast, I would epxect it has APC on or something
205: [00:51:31] <antmas_> yeah I just asked fletch and he hasn't installed anything that he remembers
206: [00:51:32] <guzzlefry> EasyCo: Do you mean encoding to a different format?
207: [00:51:44] <EasyCo> Nah, just lossless compression
208: [00:51:54] <guzzlefry> oh
209: [00:52:28] <EasyCo> I might write something so that when files or a certain type are uploaded, they get passed through a lossless compressor.
210: [00:52:30] <antmas_> ss23: it does, but not the whole site. In fact only a small number of pages load fast
211: [00:52:35] <EasyCo> Page speed and all that...
212: [00:52:37] * UncleCheese has joined #silverstripe
213: [00:53:19] * nickmolhoek has joined #silverstripe
214: [00:53:31] <ss23> antmas_: Definitly worth looking into! If you don't have it on, it would be worth doing it x10000000
215: [00:53:54] <antmas_> ss23: yeah I'll throw it on the dev server and check for differences
216: [00:54:34] <ss23> antmas_: Remember to check for other caches too, "xcache", "apc" "zend optimizer", things like that
217: [00:56:11] * unsigned_ is now known as unsignedint
218: [00:57:55] <simon_w> Though HHVM blows them all out of the water :p
219: [00:59:30] <antmas_> simon_w: for caching?
220: [01:00:05] <simon_w> It has a JIT. Screw opcode caching
221: [01:00:31] * wilr_ quit (Quit: wilr_)
222: [01:01:16] <guzzlefry> Except HHVM doesn't work very well. >_>
223: [01:02:25] <simon_w> Yeah it does :p
224: [01:02:56] <guzzlefry> I thought it lacked a ton of support for most code?
225: [01:03:03] <simon_w> Nope
226: [01:03:36] <simon_w> We've come up against very little it can't run
227: [01:03:41] <guzzlefry> ah
228: [01:03:45] <guzzlefry> SilverStripe?
229: [01:03:56] <simon_w> Can't bootstrap
230: [01:03:59] <guzzlefry> :(
231: [01:04:05] <guzzlefry> hm
232: [01:04:21] <guzzlefry> So, client decided they'd like to add features that cause major refactoring again. :P
233: [01:05:12] <antmas_> ah
234: [01:05:21] <antmas_> the ol' client requesting more features trick
235: [01:05:29] <simon_w> Hehe, clients
236: [01:05:37] <guzzlefry> I have a medium action and a category action, that filter the list of products accordingly.
237: [01:05:44] * wilr_ has joined #silverstripe
238: [01:05:47] <guzzlefry> They want to filter on multiples of each simultaneously.
239: [01:05:54] <guzzlefry> Any suggestions on a sane way to handle this? :/
240: [01:06:11] <guzzlefry> Currently medium and category actions use $OtherID to determine what to filter on.
241: [01:06:51] <antmas_> so you just want to filter on 2 fields instead of o1?
242: [01:06:53] <antmas_> errr
243: [01:06:55] <antmas_> 1*
244: [01:06:58] <antmas_> or many*
245: [01:07:28] <guzzlefry> instead of filtering on just bluray or just action films, which is how it currently works, one or the other
246: [01:07:56] <guzzlefry> they want the filter to kind of work via checkboxes.
247: [01:08:05] <antmas_> ah ok
248: [01:09:04] <guzzlefry> http://localhost/catalog/category/action/ or http://localhost/catalog/medium/bluray/ <-- how they currently look
249: [01:10:37] <antmas_> take the value of the checkboxes, asign them the to the value of the filter allowing nulls on all checkbox options?
250: [01:11:00] <antmas_> my php is poop, so I'm speaking from c# land
251: [01:11:03] <antmas_> :P
252: [01:11:29] <guzzlefry> Trying to do this with SilverStripe's routing stuff.
253: [01:11:35] <guzzlefry> It's..confusing me. :P
254: [01:11:41] <antmas_> o.O
255: [01:11:42] <antmas_> yeah
256: [01:11:45] <antmas_> I'm out
257: [01:11:47] <antmas_> :P
258: [01:12:04] <guzzlefry> maybe we have something similar.
259: [01:15:48] <guzzlefry> I think Pandora shuffle is broken
260: [01:16:04] <guzzlefry> It just played Eve 6, Everclear, and Our Lady Peace in a row.
261: [01:16:20] <guzzlefry> Despite the 8 billion other genres selected. :P
262: [01:16:36] <simon_w> Needs more Rebecca Black :p
263: [01:16:43] <antmas_> never used pandora
264: [01:16:45] <guzzlefry> nooo
265: [01:17:01] <guzzlefry> simon_w: That song gets stuck in my head too easily.
266: [01:17:07] <simon_w> Which one?
267: [01:17:10] <guzzlefry> Friday
268: [01:17:14] <guzzlefry> wait
269: [01:17:20] <guzzlefry> You mean she has more than one song?!
270: [01:17:25] <simon_w> Yes
271: [01:17:30] <guzzlefry> ..good god
272: [01:17:49] * guzzlefry pulls the fire alarm.
273: [01:17:49] * wilr_ quit (Quit: wilr_)
274: [01:18:19] <simon_w> http://www.youtube.com/watch?v=GlUQE2forhk
275: [01:18:49] <antmas_> I thought 'Chinese Food' was the new rebecca black
276: [01:19:38] <simon_w> http://www.youtube.com/playlist?list=PLC7DCA51787A0E8CE
277: [01:21:26] <guzzlefry> hrm
278: [01:21:35] <guzzlefry> are semicolons valid in URLs?
279: [01:21:46] <ss23> 14:19:00 < antmas_> I thought 'Chinese Food' was the new rebecca black
280: [01:21:54] <ss23> You know that's teh same studio that makes all those songs?
281: [01:21:59] <ss23> Like, to be honest, I have mad respect for them
282: [01:22:13] <ss23> They take kids who normally would never get to do something and let them just go crazy and make music and a video etc
283: [01:22:20] <guzzlefry> wondering if I could just do http://localhost/catalog/category/action;drama;comedy/medium/bluray;vhs/ :P
284: [01:22:21] <ss23> Who cares if the music is shit, the kids obviously really enjoy it
285: [01:22:31] <Pyromanik> ^
286: [01:23:09] <Pyromanik> Ms Black is not actually a bad singer, just had a bit of a... false start.
287: [01:23:27] <simon_w> Yeah, once they dropped the auto tune
288: [01:23:32] <simon_w> So much better
289: [01:24:02] <antmas_> ss23: yeah I assumed so
290: [01:24:08] * wilr_ has joined #silverstripe
291: [01:24:14] <Pyromanik> so anyway
292: [01:24:17] <Pyromanik> customise()
293: [01:24:22] <Pyromanik> overrides all the things right?
294: [01:24:27] <simon_w> yup
295: [01:24:33] <Pyromanik> including fields that are actually functions
296: [01:24:36] <Pyromanik> hmm :<.
297: [01:25:03] <antmas_> $D yay, pandora
298: [01:25:27] <simon_w> Yay, iTunes Radio
299: [01:25:41] <simon_w> As a bonus, the ads aren't shit!
300: [01:25:42] <Pyromanik> return ArrayList::create(array($this->relation()->customise(array('FunctionThatReturnsAString'=>'Another Value'))));
301: [01:25:45] <Pyromanik> why for this no go?
302: [01:26:04] <simon_w> What are you doing?
303: [01:26:08] <Pyromanik> ok
304: [01:26:30] <Pyromanik> so I have an object with a has one to a model which has a function Type() that returns a string "blah"
305: [01:26:57] <Pyromanik> I apply customise() to turn it into "prefix blah"
306: [01:27:34] <Pyromanik> and submit it to an arraylist which is used by the original object to display a summary table (which is a gridfield).
307: [01:27:45] <Pyromanik> but gridfield still displays Type as "blah"
308: [01:29:00] <Pyromanik> in fact, if I apply any other customisations it displays the default vars for all.
309: [01:29:13] <Pyromanik> just as if the customisation is never applied.
310: [01:31:26] <simon_w> GridField checks for a method existing first and tries calling that before looking for a field
311: [01:32:35] <Pyromanik> yeah, guts.
312: [01:33:04] <Pyromanik> GridField, what a shit cunt.
313: [01:33:13] <Pyromanik> stop being a stink fulla ow!
314: [01:34:48] <guzzlefry> 0.o
315: [01:35:22] <Pyromanik> shouldn't it just use getField though simon_w?
316: [01:35:47] <Pyromanik> being a viewabledata_customised should just make it return the updated value regardless I'd have thought
317: [01:36:31] <ss23> aha, a site runnig blackcandy
318: [01:36:37] <ss23> Been a while since I've seen this theme :D
319: [01:37:23] <antmas_> link?
320: [01:37:31] <antmas_> an actual site?
321: [01:37:36] <antmas_> or a dev
322: [01:38:01] <ss23> dev site
323: [01:38:02] <ss23> :P
324: [01:38:03] <ss23> Not live
325: [01:38:06] <ss23> Though...
326: [01:38:26] <Pyromanik> licorice?
327: [01:38:29] <ss23> http://www.gestion-aguilas.com/
328: [01:38:30] <ss23> Google!
329: [01:38:31] <ss23> :D
330: [01:38:34] <ss23> lol
331: [01:39:03] <antmas_> ha
332: [01:39:05] <antmas_> nice
333: [01:43:40] <Pyromanik> management eagles?
334: [01:43:42] <Pyromanik> wtf
335: [01:43:54] <Pyromanik> fuck you babylon, I think you're lying to me!
336: [01:47:09] <ss23> Needs more Plesk
337: [01:47:34] <simon_w> Need more YOUR FACE
338: [01:47:42] <ss23> AW SNAP
339: [01:48:22] <Pyromanik> BOOM
340: [01:48:27] <Pyromanik> so liek, customise() right
341: [01:48:49] <Pyromanik> does it wrap, or is there some other kind of voodoo going on in the background that means only the view picks it up?
342: [01:50:29] <simon_w> It does wrap, but GridField does a ($obj->hasMethod($field)) $obj->$field()
343: [01:50:39] * UncleCheese has left #silverstripe
344: [01:52:22] * travis-ci has joined #silverstripe
345: [01:52:22] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1294 (3.1 - 688d853 : Andrew Short): The build passed.
346: [01:52:22] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/0d1c9602e841...688d853a955e
347: [01:52:22] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12647979
348: [01:52:22] * travis-ci has left #silverstripe
349: [01:52:48] <Pyromanik> fuckit, not worth it. $blah->setField('MethodName', 'overriding value') works.
350: [01:54:26] <ss23> http://imgur.com/Y5CYoLp
351: [01:54:32] <ss23> Someone 3D printed the SilverStripe logo
352: [01:54:47] <ss23> And by printed, literally, it was a robot arm that welded layers of steel
353: [01:55:51] <Colin[pi]> cool
354: [01:57:23] <irogue23> that is quite cool
355: [01:58:12] <Pyromanik> http://api.silverstripe.org/3.1/source-class-GridFieldDataColumns.html#256
356: [01:58:18] <Pyromanik> D: !!
357: [01:58:59] <irogue23> EVAL@
358: [01:59:01] <Pyromanik> heh, funky ss23 :>
359: [01:59:14] <Pyromanik> irogue23: IKR!! :(
360: [01:59:32] <ss23> lol
361: [01:59:35] <ss23> I <3 SilverStripe.
362: [02:00:03] * guzzlefry looks at ss23's nick.
363: [02:00:04] <guzzlefry> :P
364: [02:00:15] <guzzlefry> When are you going to ss31?
365: [02:00:42] <ss23> NEVER
366: [02:00:43] <ss23> :D
367: [02:00:59] <irogue23> so, i'm django-ing at the moment
368: [02:01:20] <irogue23> and i can't help wanting to start calling silverstripe django-on-php instead :P
369: [02:01:42] <irogue23> so similar (which is a good thing)
370: [02:02:09] <guzzlefry> Does django have the CMS magic that SS has?
371: [02:02:43] <irogue23> well, it has a cms module
372: [02:04:04] <irogue23> but like, it has ModelAdmin, and QuerySet (which seems very similar to DataList)
373: [02:06:55] <ss23> I hate how low quality Grooveshark is
374: [02:06:55] <ss23> :<
375: [02:08:30] * irogue23 enjoys his Spotify on q9
376: [02:10:42] <Pyromanik> ss23: can fill a need in a pinch
377: [02:20:53] <Colin[pi]> awesome: http://screenrant.com/reboot-cartoon-series-tv-show-reboot/
378: [02:21:24] <antmas_> :O
379: [02:21:25] <ss23> Reboot is getting a reboot?!
380: [02:21:28] <antmas_> Colin[pi]: OMG
381: [02:21:31] <Colin[pi]> reboot reboot!
382: [02:21:40] <Colin[pi]> yo dawg I heard you like reboots
383: [02:21:42] <antmas_> I used to video record EVERY episode after school
384: [02:21:49] <antmas_> :>
385: [02:21:51] <Colin[pi]> so I rebooted your reboot so you can reboot while you reboot
386: [02:22:13] <Colin[pi]> me too! loved that show so much
387: [02:22:47] <antmas_> especially when 'Bob' left, then it went into the 'future' and he had DREADLOCKS
388: [02:23:01] <Colin[pi]> so many good kids tv shows I miss
389: [02:23:25] <antmas_> there was that Starship Troopers cg one
390: [02:23:27] <antmas_> loved that
391: [02:23:28] <Colin[pi]> crash zone, spellbinder, ocean girl, girl from tomorrow
392: [02:24:18] * antmas_ goes and watches Reboot clips
393: [02:28:55] * swordsmanz has joined #silverstripe
394: [02:30:17] * Bollig|DesignCty has joined #silverstripe
395: [02:32:20] <guzzlefry> eep
396: [02:32:22] <guzzlefry> "OrderComposition" => "Purchase Type"
397: [02:32:27] <guzzlefry> That's in $summary_fields
398: [02:32:36] * SightUnseen has joined #silverstripe
399: [02:32:42] <guzzlefry> I have a function called getOrderComposition() that returns a string, that should be called right?
400: [02:33:22] * SightUnseen has left #silverstripe
401: [02:34:52] <Colin[pi]> guzzlefry: should be, not working?
402: [02:34:59] <guzzlefry> nope..hrm
403: [02:35:50] * chrisrio has joined #silverstripe
404: [02:36:17] <guzzlefry> The function isn't firing at all.
405: [02:36:40] <Colin[pi]> "getOrderComposition" => "Purchase Type"
406: [02:36:40] <Colin[pi]> ?
407: [02:37:16] <guzzlefry> nope...
408: [02:37:18] <guzzlefry> what the hell :P
409: [02:37:34] <guzzlefry> Do I need to flush?
410: [02:37:42] <Colin[pi]> try and see
411: [02:37:43] <Colin[pi]> put like an echo or something in the function to make sure it's actually being called
412: [02:37:50] <EasyCo> Where should I be looking if I need to extend what happens when a file is uploaded?
413: [02:38:02] <EasyCo> I'm looking in File.php but can't seem to find it
414: [02:38:10] <antmas_> uploadfield?
415: [02:38:15] <guzzlefry> There's a breakpoint on it.
416: [02:38:34] <EasyCo> Uploadfield doesn't handle the actual upload as far I can tell
417: [02:38:34] <chrisrio> resize(x,y) is a legit call in 3.0.* aye
418: [02:38:34] <chrisrio> :P
419: [02:38:43] <Colin[pi]> there's a class called Upload right?
420: [02:38:56] <simon_w> yes
421: [02:39:18] <EasyCo> Well there you go!
422: [02:39:26] <EasyCo> Completely missed that one
423: [02:39:43] <antmas_> EasyCo: upload class rather
424: [02:39:46] * SticksM has joined #silverstripe
425: [02:39:47] <antmas_> wait
426: [02:39:48] <chrisrio> if $image is a legit image, that does exist, and I can confirm it by returning things like Link() and ClassName()...
427: [02:39:49] <antmas_> nvm
428: [02:39:51] <antmas_> :D
429: [02:39:53] <chrisrio> why would this return null
430: [02:39:56] <chrisrio> $image->resize(110,110)->Link();
431: [02:40:11] <simon_w> no write access
432: [02:40:12] <chrisrio> no SS or PHP errors
433: [02:40:16] <chrisrio> and permissions are correct
434: [02:40:17] <chrisrio> ;D
435: [02:40:32] <chrisrio> I 777'd the entire assets dir.
436: [02:40:40] <chrisrio> and I can upload new images no probs
437: [02:40:45] <simon_w> No GD?
438: [02:40:48] <chrisrio> got GD.
439: [02:40:57] <chrisrio> phpinfo confirms GD2
440: [02:41:17] <chrisrio> im slightly boggled.
441: [02:41:38] <EasyCo> It's mind bottling stuf
442: [02:41:46] <ss23> lol
443: [02:41:48] <ss23> mind bottling
444: [02:41:49] <ss23> Ha.
445: [02:41:50] <ss23> FAILURES!
446: [02:41:50] <ss23> Tests: 1007, Assertions: 6513, Failures: 17, Errors: 11.
447: [02:41:52] <Pyromanik> tutorials on the new cms actions buttons area things adding custom button to do stuff to modeladmin?
448: [02:41:53] <ss23> fix it
449: [02:42:01] <Pyromanik> plz give to me naw.
450: [02:42:12] <ss23> Pyromanik: Write one
451: [02:42:13] <ss23> :D
452: [02:42:20] <Pyromanik> Need to know it first!
453: [02:42:32] <Colin[pi]> so does ss23
454: [02:42:39] <Pyromanik> Maybe I coudl get sent to silverstripe training now that I've told them I'm going to leave?
455: [02:42:43] <Pyromanik> kekek
456: [02:42:48] <Pyromanik> sif
457: [02:42:58] <Pyromanik> boom boom
458: [02:43:07] <Pyromanik> is the dev mail list still used?
459: [02:43:11] <guzzlefry> public function getOrderComposition() {
460: [02:43:11] <guzzlefry> "getOrderComposition" => "Purchase Type",
461: [02:43:16] <guzzlefry> err
462: [02:43:23] <guzzlefry> top line is function signature :P
463: [02:43:28] <guzzlefry> second is in summary_fields
464: [02:43:41] <Pyromanik> idek
465: [02:43:48] <guzzlefry> Someone tell me why the function isn't firing? :P
466: [02:43:52] <Colin[pi]> guzzlefry, did you try without the "purchase type" assoc
467: [02:43:59] <Colin[pi]> just try as "getOrderComposition"
468: [02:44:01] <guzzlefry> oh no
469: [02:44:05] <Colin[pi]> or "OrderComposition"
470: [02:44:07] <guzzlefry> maybe I mixed the key/value up...
471: [02:44:09] <Pyromanik> guzzlefry: just OrderCom... yeh
472: [02:44:11] <Pyromanik> no
473: [02:44:17] <Pyromanik> Method/Field => Title
474: [02:44:20] <Pyromanik> correct
475: [02:44:26] <EasyCo> Y no extension hook in Upload class!!
476: [02:45:15] <antmas_> because reasuns!
477: [02:45:20] <Pyromanik> RAISINS!
478: [02:45:29] <Pyromanik> raisin the stakes!
479: [02:45:40] <Pyromanik> google it for an auditory adventure
480: [02:45:44] <antmas_> lol
481: [02:45:45] <Pyromanik> in 3 parts
482: [02:45:49] <Pyromanik> on the youtubes
483: [02:45:49] <antmas_> don
484: [02:45:53] <antmas_> don't taze
485: [02:45:59] <Pyromanik> don't taze me bro
486: [02:46:39] * antmas_ wishes it was Friday already so he doesn't have to do any more SQL
487: [02:47:10] <Pyromanik> HAHHAHAHAH SQL BL BUDDY
488: [02:47:12] * Colin[pi] has not one but two deadlines next week and will be working on the weekend fml
489: [02:47:38] <antmas_> :<
490: [02:48:13] <Pyromanik> sux2bu Colin[pi]
491: [02:48:36] <antmas_> dealines = yuck
492: [02:48:45] <antmas_> deadlines*
493: [02:48:47] <antmas_> ffffff
494: [02:49:39] <antmas_> Colin[pi]: what are you working on?
495: [02:49:57] <Pyromanik> give up and have sex instead.
496: [02:50:01] <Pyromanik> It's better.
497: [02:50:09] <Colin[pi]> one is an ecomm site and the other is a custom model for an intranet site
498: [02:50:23] <simon_w> I'm making a debug build of HHVM
499: [02:50:23] <antmas_> so
500: [02:50:27] <antmas_> 2 horrible things?
501: [02:50:28] <simon_w> Linking that is slow as balls
502: [02:50:33] * stripper quit (Ping timeout: 250 seconds)
503: [02:50:38] <Pyromanik> well
504: [02:50:46] <ss23> simon_w: Do you guys build with clang or gcc/
505: [02:50:49] <Pyromanik> if the balls are amid a steep gradient, they can be quite fast.
506: [02:51:07] <simon_w> HHVM only builds on GCC
507: [02:51:13] <ss23> laaame~
508: [02:52:28] <Pyromanik> halp, how to find button business?
509: [02:53:03] * guzzlefry wonders why he had to flush.
510: [02:53:07] <guzzlefry> Are summary fields cached?
511: [02:53:10] <Pyromanik> yes
512: [02:53:12] <Pyromanik> course
513: [02:53:13] <simon_w> All statics are
514: [02:53:15] <Colin[pi]> lolol
515: [02:53:16] <Pyromanik> ^
516: [02:53:19] <Pyromanik> all config things are
517: [02:53:28] <guzzlefry> I hate everything! :P
518: [02:53:37] <simon_w> The feeling's mutual! :p
519: [02:53:40] <Colin[pi]> guzzlefry, you violated rule #1 of SS - if it's not working, flush
520: [02:53:48] <guzzlefry> and then dev/build
521: [02:53:54] <Colin[pi]> it's like the "have you tried turning it off and on again" of SS
522: [02:54:00] <guzzlefry> and then spellcheck
523: [02:54:06] <antmas_> bah - 'cannot insert duplicate key row in object 'dbo_table' with unique index 'ix_table'
524: [02:54:13] <guzzlefry> It's amazing how many times the spellcheck in PHPStorm has saved me.
525: [02:54:14] <antmas_> ;___;
526: [02:55:56] <guzzlefry> antmas_: well you can't! :P
527: [02:56:11] <guzzlefry> Is that SQL Server stuff?
528: [02:56:49] <antmas_> guzzlefry: well, yeah, but that shouldn't happen in the code
529: [02:56:55] <antmas_> like, there is no way
530: [02:56:58] <antmas_> and yes
531: [02:58:14] <Pyromanik> http://api.silverstripe.org/3.1/source-class-ModelAdmin.html#162
532: [02:58:17] <Pyromanik> IDEK
533: [02:58:35] <antmas_> kinda wish this was available in NZ https://www.23andme.com/
534: [02:59:26] <guzzlefry> ooh
535: [02:59:28] <guzzlefry> only $100
536: [03:01:35] <antmas_> guzzlefry: do it, we could be related :D
537: [03:01:53] <guzzlefry> Do they cross reference everyone else's DNA? 0.o
538: [03:02:11] <antmas_> probably to make clones
539: [03:03:26] <antmas_> polarbearfarm did and he's apparently now a distant relative of Susan Sarandon lol
540: [03:05:16] <Colin[pi]> I'm related to kevin rudd :(
541: [03:05:28] <antmas_> Colin[pi]: guts4u
542: [03:05:49] <antmas_> :P
543: [03:05:53] <Colin[pi]> his great x 8 grandma was the same as mine apparently
544: [03:06:02] <Colin[pi]> from one of the boats to Australia from England
545: [03:06:23] <guzzlefry> It'll probably just tell me what I already know.
546: [03:06:30] <guzzlefry> That I'm 1/8th Cherokee.
547: [03:06:59] <guzzlefry> That's a thing in the U.S. apparently. :P
548: [03:07:10] <ss23> 15:58:46 < antmas_> kinda wish this was available in NZ https://www.23andme.com/
549: [03:07:13] <ss23> I thought it was?
550: [03:07:14] <ss23> Pretty sure sminnee did it
551: [03:07:42] <antmas_> ss23: really? I thought there was no domestic place to send it here?
552: [03:07:46] <antmas_> could be wrong
553: [03:07:48] <chrisrio> WAIT
554: [03:07:51] <chrisrio> did someone say
555: [03:07:52] <chrisrio> http://www.youtube.com/watch?v=YZdJRDpLHbw
556: [03:08:04] <Colin[pi]> lol ss23 I thought you meant sminnee was the one doing the testing
557: [03:08:18] <antmas_> mmmm spit samples
558: [03:08:48] <EasyCo> Would be fun to send back a sample of my dogs saliva
559: [03:08:53] <EasyCo> Just to see what's what
560: [03:09:01] <ss23> lol
561: [03:09:07] <ss23> EasyCo: Wouldn't get any meaningful results back
562: [03:09:28] <ss23> antmas_: Not sure , can't you send it overseas?
563: [03:09:32] <EasyCo> ss23: Negative nelly
564: [03:09:40] <antmas_> ss23: hmmm maybe
565: [03:12:02] <sminnee> antmas_: yeah you send it overseas
566: [03:12:06] <sminnee> it's an 'exempt human sample' :p
567: [03:12:39] <antmas_> sminnee: nice
568: [03:12:57] <EasyCo> sminnee: Would you recommend?
569: [03:15:19] <ss23> sminnee: Have you got your results back yet?
570: [03:15:25] <ss23> OH GOD sminnee ARE YOU PRONE TO CANCER?!
571: [03:15:35] <antmas_> :O there is something in the water at 2.42pm http://www.tasman.govt.nz/tasman/webcams-in-tasman/golden-bay-webcam/
572: [03:15:45] <sminnee> ss23: nah, Restless Legs Syndrome apparently :op
573: [03:15:52] <ss23> lol
574: [03:15:56] <Colin[pi]> sminnee: I sympathise :(
575: [03:16:04] <sminnee> and i have wet earwax
576: [03:16:09] <ss23> I wonder whether they'll find my diabetes if I do it
577: [03:16:10] <sminnee> i just got my results
578: [03:16:28] <sminnee> Not resistant to HIV
579: [03:16:30] <sminnee> damn
580: [03:16:31] <ss23> lol
581: [03:16:32] <ss23> Damn!
582: [03:16:53] <Colin[pi]> lol um what is the incidence of that?
583: [03:16:54] <sminnee> oh, and it tells me my eyes are 'likely blue' and that my hair is slightly curly
584: [03:16:57] <sminnee> not sure
585: [03:17:09] <Colin[pi]> did they also see your picture? ;D
586: [03:17:11] <EasyCo> sminnee: I get the impression that it could be gimmicky?
587: [03:17:35] <sminnee> EasyCo: a little. no shocking relevations yet.
588: [03:17:55] <sminnee> i'm slightly more neanterhal than average
589: [03:17:58] <ss23> It's not really the easiest thing to do I guess
590: [03:18:09] <EasyCo> Can you even be HIV resistant?
591: [03:18:14] <ss23> EasyCo: Of course
592: [03:18:17] <Colin[pi]> EasyCo: yep
593: [03:18:20] <ss23> EasyCo: I bet Africa has a higher than average resistance
594: [03:18:30] <ss23> And more people do it, presumably, more meaningful data can be extracted, etc
595: [03:18:35] <Colin[pi]> HIV attaches to certain receptors, some people have different receptors
596: [03:18:44] <Colin[pi]> on the cells.. CD4 or something?
597: [03:19:00] <EasyCo> Cool, didn't know that.
598: [03:19:39] <Colin[pi]> I wonder if the test came back as "HIV resistant" if that would change the recepient's behaviour? ;P
599: [03:19:47] * UncleCheese has joined #silverstripe
600: [03:20:33] <EasyCo> Still got the ol' gonareasiphilitis
601: [03:20:48] <guzzlefry> yay
602: [03:20:54] <guzzlefry> functions work better when you return stuff.
603: [03:21:08] <Colin[pi]> guzzlefry: ya typically ;P
604: [03:21:12] <antmas_> I wonder if they would still send it, if you were like cancer proof
605: [03:21:16] <antmas_> or keep it
606: [03:21:17] <antmas_> lol
607: [03:21:35] <ss23> antmas_: If there was a cancer-proof gene, that would be l33t
608: [03:21:39] <Colin[pi]> sminnee: what are their policies on the retention/use of data?
609: [03:22:00] <ss23> antmas_: More reaslitically though, if they test like 50 million people, and then notice a certain gene stops people getting cancer, that would be awesome. That's part of waht they want to be doing
610: [03:22:07] <Colin[pi]> yeah but cancer IS you
611: [03:22:09] <sminnee> Colin[pi]: um, i can't recall exactly, they keep it secret, they do a lot of "there's a small chance we might get hacked"
612: [03:22:10] <ss23> (So rather than "YOU HAVE x GENE", find out what the genes do
613: [03:22:17] <Colin[pi]> the cells are just you but multiplying out of control
614: [03:22:21] <sminnee> they were good at explaining what it means for them to have your genetic data.
615: [03:22:24] <ss23> Colin[pi]: And? :P
616: [03:22:28] <ss23> Colin[pi]: Doesn't change anything, right?
617: [03:22:32] <antmas_> ss23: yeah that would be cool
618: [03:22:33] <sminnee> ss23: it's all percentages
619: [03:22:44] <Colin[pi]> sminnee: hmm cool as long as they are upfront :)
620: [03:22:52] <ss23> sminnee: Presumably, with enough analysis, there would be things that were certain, not percentage
621: [03:23:13] <Pyromanik> D:
622: [03:23:15] <antmas_> so if everyone in say, the US, did it, there is not much more data they could take from the people
623: [03:23:16] <antmas_> ;D
624: [03:23:27] <Pyromanik> how to prefix global $project
625: [03:23:32] <Pyromanik> to a config static in yaml?
626: [03:23:43] <Pyromanik> halp halp I'm being oppressed!
627: [03:24:03] <Pyromanik> http://api.silverstripe.org/3.1/source-class-LeftAndMain.html#1712
628: [03:24:09] <ss23> "Failed asserting that false is true." story of my life :<
629: [03:24:14] <Pyromanik> LeftAndMain::require_javascript($project.'/javascript/lang/'.i18n::get_locale().'.js');
630: [03:24:18] <Pyromanik> how do?
631: [03:24:18] <sminnee> ss23: nah because not many things are 100% determined by genes
632: [03:24:46] <Pyromanik> sminnee: do you not share in the bitchface theory?
633: [03:24:50] <ss23> lol
634: [03:26:14] <sminnee> sweet, well, I'm not a Parkinson's risk.
635: [03:26:30] * antmas_ shudders
636: [03:26:32] <sminnee> they had all these warnings about whether or not I want to see the data before clicking okay.
637: [03:26:37] <sminnee> it was scary!
638: [03:26:50] <Colin[pi]> sminnee: so what's the end game? just preparing yourself if you're at risk of something?
639: [03:27:04] <antmas_> 'Click'....wait.... 'U GON DIE!'
640: [03:27:12] <sminnee> Colin[pi]: i was mainly just curious as to what the data could do.
641: [03:27:21] <Colin[pi]> oic
642: [03:27:59] <antmas_> man
643: [03:28:04] <sminnee> it's weird, though.
644: [03:28:13] <antmas_> these 'features of this track' on pandora are kinda dumb
645: [03:28:49] <antmas_> 'big bass drops' + 'lots of big guitars'
646: [03:28:51] <antmas_> idek
647: [03:29:17] <Pyromanik> so no answer for the project name bizzo?
648: [03:29:49] <Pyromanik> no a single query as to what the bitchface theory is?
649: [03:30:05] <Pyromanik> anyone solved the template ID curiosity yet?
650: [03:30:10] <antmas_> Pyromanik: I tried to search for it
651: [03:30:12] <antmas_> :P
652: [03:30:14] <antmas_> herp
653: [03:30:29] <sminnee> Woo, nothing scary behind the scary 'are you sure' gates.
654: [03:30:35] <sminnee> *phew*!
655: [03:31:07] <antmas_> sminnee: I wonder if it could be used to get awesome life insurance caps
656: [03:31:10] <Colin[pi]> wait you're just doing it right now??
657: [03:31:20] <sminnee> antmas_: not sure, but i'm sure the oppose is true
658: [03:31:37] <sminnee> Colin[pi]: yeah, because you all talked about it, i logged in, and it said "your results are ready!"
659: [03:31:50] <ss23> haha
660: [03:31:51] <Colin[pi]> sminnee: ohhh I see :o eep
661: [03:31:56] <Colin[pi]> well, congrats!
662: [03:32:06] <ss23> Would've been horrible if you logged in and found out a bunch of horrible things, then!
663: [03:32:53] <antmas_> yeah they would just redirect to an image of a grave
664: [03:32:54] <antmas_> :D
665: [03:33:01] <Colin[pi]> lol antmas
666: [03:33:02] <antmas_> 'Get Ready'
667: [03:33:03] <Colin[pi]> oh dear
668: [03:33:16] <sminnee> ss23: yeah would've. i probably wouldn't've chatted about it on IRC then :p
669: [03:33:26] <Colin[pi]> "Before you view your results, would you like to see a list of nearby funeral directors?"
670: [03:33:35] <antmas_> hahahha Colin[pi]
671: [03:33:48] <Colin[pi]> man imagine that
672: [03:33:51] <Colin[pi]> I would shit my pants
673: [03:33:51] <Pyromanik> antmas_: Well it's a theory that's... not so scientific (mostly because it simply exists in my head). But I'm also yet to meet a woman with bitchface who wasn't a bitch.
674: [03:33:53] <Colin[pi]> right there and then
675: [03:34:04] <antmas_> slowly fade in some sad music
676: [03:34:09] <ss23> hahaha Pyromanik
677: [03:34:13] <ss23> dude
678: [03:34:16] <ss23> rofl
679: [03:34:43] <antmas_> hahahah
680: [03:34:48] <Pyromanik> They're usually the superficial sly nasty ones too.
681: [03:35:17] <Pyromanik> Control freak type A's
682: [03:36:13] <Colin[pi]> sounds like my ex
683: [03:37:42] <guzzlefry> hrm, wtf
684: [03:37:51] <guzzlefry> Why can't I throw a label on this summary field? :/
685: [03:38:03] <Colin[pi]> Pyromanik: opinions on Gwyneth Paltrow? I have always thought just by looking at her that should would be a massive bitch
686: [03:38:10] <Colin[pi]> that's just my own opinion :D
687: [03:38:19] * antmas_ quit (Quit: Page closed)
688: [03:38:28] <Colin[pi]> I have no idea or not if she is, she just looks like one
689: [03:38:58] <simon_w> Talk of API contracts in pull requests? Has someone gone and done undergrad software engineering recently?
690: [03:39:05] <Pyromanik> Colin[pi]: ah, so you've some experience with the bitchface theory? Gwyneth is close, but I reserve judgement.
691: [03:39:18] <guzzlefry> Colin[pi]: Marcellus Wallis doesn't.
692: [03:39:28] <Colin[pi]> Pyromanik: didn't know it was a theory, but I get a spidey sense about it lol
693: [03:39:40] <Pyromanik> haha, it's MY theory.
694: [03:39:47] <Pyromanik> not an official one, so far as I know.
695: [03:40:00] <Colin[pi]> I'm sure others have the same theory though
696: [03:40:09] <Colin[pi]> unofficially ;D
697: [03:40:16] <guzzlefry> I wonder if I'm just on a buggy commit of SilverStripe...
698: [03:40:33] <guzzlefry> Afraid to update. :P
699: [03:40:41] <Pyromanik> 440!
700: [03:40:44] <Pyromanik> STOP THE ROCK
701: [03:40:48] <Pyromanik> CAN'T STOP THE ROCK
702: [03:41:26] * guzzlefry runs composer update and braces.
703: [03:42:20] <spronk> :D
704: [03:42:27] <spronk> dundundundundundun DUNDUNNNN dundundundundn DUNDUN
705: [03:42:27] <Colin[pi]> what's the worst that could happen?
706: [03:42:33] * chrisrio quit (Ping timeout: 250 seconds)
707: [03:42:34] * Colin[pi] ducks and covers
708: [03:42:36] <spronk> hmm
709: [03:42:43] <spronk> it'll eat all the children, Colin[pi]
710: [03:42:49] <Colin[pi]> :o
711: [03:42:51] <guzzlefry> meh
712: [03:42:53] <ss23> 16:39:09 <@simon_w> Talk of API contracts in pull requests? Has someone gone and done undergrad software engineering recently?
713: [03:42:56] <ss23> Oh, who was it?
714: [03:42:57] <guzzlefry> I heard the stable release of 3.1 broke some stuff.
715: [03:43:01] <ss23> LETS PUT PROMISES IN PHP
716: [03:43:01] <ss23> :D
717: [03:43:16] * DigNZ quit (Quit: DigNZ)
718: [03:43:35] <Colin[pi]> then PHP will be full of broken promises
719: [03:43:38] <guzzlefry> - The requested package silverstripe/sortablefile could not be found in any version, there may be a typo in the package name.
720: [03:43:39] <ss23> You know what SilverStripe needs?
721: [03:43:40] <guzzlefry> say what
722: [03:43:41] <ss23> MORE INTERFACES.
723: [03:44:28] <Colin[pi]> well personally I'm rooting for an ArrayIteratorIteratorIterator
724: [03:44:30] <DesignerX> Hi, I have MyClass has_one OtherClass , Using the HasOneEdit Module, is there a quick way to put all OtherObject fields on MyObject without having to add them field by field ?
725: [03:45:45] <Pyromanik> There's a HasOneEdit module
726: [03:45:46] <Pyromanik> ?
727: [03:46:38] <DesignerX> yeh
728: [03:47:46] <DesignerX> Pyromanik: http://addons.silverstripe.org/add-ons/simonwelsh/hasoneedit
729: [03:48:06] <ss23> Woah, who made that module!
730: [03:48:06] <ss23> :D
731: [03:48:49] <Colin[pi]> simonwelsh? never heard of him
732: [03:49:01] <simon_w> I hear he's a jerk
733: [03:49:06] <Colin[pi]> yeah I bet
734: [03:49:15] <simon_w> Sort of guy that likes the GPL
735: [03:49:21] <Colin[pi]> and plays with lego
736: [03:50:34] <guzzlefry> What's the composer line to pull in 3.1 stable?
737: [03:50:42] <guzzlefry> 3.1.* apparently pulls in dev. :P
738: [03:50:51] <simon_w> DesignerX, you'd loop through $this->OtherClass->getCMSFields()->dataFields() and add them
739: [03:50:58] <simon_w> guzzlefry, 3.1.*@stable
740: [03:50:58] <Pyromanik> heh I was going to make that
741: [03:51:06] <guzzlefry> ah, thanks :)
742: [03:51:11] <Pyromanik> thought it'd be a good little simple foray into custom fields
743: [03:51:20] <Pyromanik> oh well! nice one simon_w
744: [03:51:35] <DesignerX> simon_w: Thanks :)
745: [03:52:07] * cloph_away has joined #silverstripe
746: [03:52:43] * cloph quit (Ping timeout: 272 seconds)
747: [03:57:43] * nickmolhoek quit (Quit: nickmolhoek)
748: [03:58:23] <irogue23> cider o'clock
749: [03:59:12] <irogue23> yo sminnee, when's the next hackfest so i have an excuse to come visit? :P
750: [04:00:07] <sminnee> irogue23: good Q ;)
751: [04:00:17] <sminnee> probably after Cam starts on Nov 11.
752: [04:01:12] <irogue23> Cam?
753: [04:01:19] <UncleCheese> Findlay!!!
754: [04:01:25] <irogue23> ah
755: [04:01:25] <simon_w> The "core member" running the training?
756: [04:05:03] * wilr_ quit (Quit: wilr_)
757: [04:05:31] <irogue23> i need to stop eating entire blocks of sugarfree chocolate at once
758: [04:08:37] * ss23 is glad he's not near irogue23...
759: [04:08:54] <Colin[pi]> but it's sugarfree!
760: [04:10:54] <guzzlefry> UH OH
761: [04:10:58] <guzzlefry> It broke something. :P
762: [04:11:13] <ss23> Tests: 1007, Assertions: 6517, Failures: 19, Errors: 9.
763: [04:11:49] <ss23> from failures: 17 errors: 11
764: [04:11:52] <ss23> yay, less errors, more failures!
765: [04:12:08] <Pyromanik> TTD
766: [04:12:10] <Pyromanik> TDD
767: [04:12:23] <Pyromanik> so anyway, back to the config question
768: [04:12:24] <irogue23> ss23: quite
769: [04:12:38] <ss23> In this case, it's "take project that was made when SVN was in use and make the tests pass" DD
770: [04:12:47] <ss23> Also known as "FUCK PROGRAMMING"
771: [04:12:50] <Pyromanik> how to specify a module name and/or project name when using config system for LeftAndMain::requires ?
772: [04:13:03] <irogue23> Colin[pi]: the way they make it sugarfree is to take sucrose and flip a molecule. so it still tastes sweet, but the body doesn't recognise it so doesn't absorb it
773: [04:13:16] <Pyromanik> I'm not convinced.
774: [04:13:23] <irogue23> that means that what is essentially sugar sits in your gut fermenting
775: [04:13:46] <irogue23> resulting in some awful awful gas
776: [04:13:47] <Colin[pi]> so.... you're going to die?
777: [04:13:48] <Pyromanik> irogue23: so baiscally: all the cancers.
778: [04:14:02] <Pyromanik> science!
779: [04:14:10] <ss23> I only ever eat natural food
780: [04:14:16] <ss23> Everything I eat comes 100% from the earth!
781: [04:14:16] <ss23> :)
782: [04:14:23] <irogue23> ss23: kekeke <3
783: [04:14:56] <Pyromanik> we going back to that organic raw vegan convo again ss23?
784: [04:15:01] <DesignerX> simon_w: in the loop , I think we need a way to modify the Name of each of the fields to RelationName:FieldName ?
785: [04:15:15] <simon_w> $field->setName()
786: [04:15:27] <Pyromanik> home
787: [04:15:28] * Pyromanik has left #silverstripe
788: [04:15:42] <irogue23> https://pbs.twimg.com/media/BWvjKNdCUAAWAMl.jpg:large
789: [04:15:57] <guzzlefry> Okay, updated silverstripe to 3.1 stable...
790: [04:15:58] <guzzlefry> and
791: [04:16:03] <guzzlefry> Still broken :P
792: [04:16:26] <simon_w> https://pbs.twimg.com/media/BBzxweoCAAA6YlV.jpg:large
793: [04:16:30] <UncleCheese> ss23: can you name a food, or anything you can buy for that matter, that doesn't come 100% from the earth?
794: [04:16:41] <simon_w> Moon rocks!
795: [04:16:48] <UncleCheese> can you buy those?
796: [04:16:51] <simon_w> Yes
797: [04:16:52] <ss23> I DON'T CARE
798: [04:16:56] <ss23> Buy a million moon rocks
799: [04:16:57] <ss23> CRUSH EM UP
800: [04:17:02] <ss23> And make some gell!
801: [04:17:08] <UncleCheese> i think that's the only way to have a non-earth diet
802: [04:17:10] <simon_w> Well, they put it in beer
803: [04:17:15] <UncleCheese> Yes, they do!
804: [04:17:17] <simon_w> Also, the sun
805: [04:17:20] <ss23> Though the scientists inform me that they *may* be cancerous
806: [04:17:28] <ss23> simon_w: If you count the sun, then the Earth isn't from the Earth
807: [04:17:29] <simon_w> You get a shit tonne of stuff from the sun
808: [04:17:29] <ss23> STARDUST
809: [04:17:47] <UncleCheese> it probably is
810: [04:17:49] <simon_w> ss23, vitamin D
811: [04:17:51] <UncleCheese> radiation n' shit
812: [04:18:13] * SightUnseen has joined #silverstripe
813: [04:18:14] <simon_w> All plant matter!
814: [04:18:22] <simon_w> Photosynthesis and shit
815: [04:18:36] <guzzlefry> simon_w: help!
816: [04:19:03] <simon_w> Have you tried turning it off and on again?
817: [04:19:07] <guzzlefry> "OrderComposition" => "Purchase Type" doesn't work with the "Purchase Type" label.
818: [04:19:23] <guzzlefry> Wondering if this is some bug. :P
819: [04:20:48] <simon_w> If it is, fix it :p
820: [04:21:24] <guzzlefry> not sure where to begin. :P
821: [04:21:37] <simon_w> Behind the couch
822: [04:21:54] <guzzlefry> wait a second
823: [04:22:04] <guzzlefry> public static $field_labels
824: [04:22:08] <guzzlefry> Is that a standard thing?
825: [04:22:27] <simon_w> It says public, so probably not
826: [04:22:31] * SightUnseen quit (Ping timeout: 245 seconds)
827: [04:23:19] <guzzlefry> oh, everything says public. :P
828: [04:23:38] <simon_w> It shouldn't :p
829: [04:23:40] <guzzlefry> well now it works
830: [04:23:51] * guzzlefry has a feeling he's about to get angry. :P
831: [04:25:31] * Daniel_ has joined #silverstripe
832: [04:27:16] <guzzlefry> oh
833: [04:27:27] <guzzlefry> $field_labels is in SiteTree
834: [04:27:54] <Daniel_> A website of ours running on SS2.4 went down today http://www.nundle.com.au/?flush=all code has not been touched for quite a while. If anyone has any idea as to why we are all of a sudden getting a server error it would be greatly appreciated.
835: [04:28:13] * SightUnseen has joined #silverstripe
836: [04:28:20] <Daniel_> ... and Hi all :)
837: [04:29:08] <simon_w> Daniel_, check your error log?
838: [04:30:42] <Daniel_> Hi Simon, I've checked the /logs/php.log and found nothing. For the most part it does not seem to get far enough to log anything.
839: [04:30:54] <Daniel_> It seems to be getting stuck in main.php
840: [04:30:59] <simon_w> Check the apache error log
841: [04:31:03] <Daniel_> $url has no value is that normal?
842: [04:31:07] <Daniel_> ok
843: [04:31:17] <Daniel_> any idea how I do that on shared hosting?
844: [04:31:28] <irogue23> if nothing's been touched, my immediate suspicion would be that the web host has changed the php versio
845: [04:31:31] <irogue23> n
846: [04:31:39] <irogue23> the dangers of shared hosting
847: [04:32:19] <Daniel_> Yeah, thanks for that irogue23, I'm waiting for a reply on that now.
848: [04:32:36] <ss23> urrrghhh
849: [04:32:41] * SightUnseen quit (Ping timeout: 245 seconds)
850: [04:32:46] <ss23> this project "uses composer" but framework/cms are commited
851: [04:32:46] <ss23> >.<
852: [04:36:56] <guzzlefry> ss23: Sounds like my current project.
853: [04:37:12] <guzzlefry> There's a git submodule for every composer dependency. :P
854: [04:37:35] <ss23> lol
855: [04:37:43] <ss23> svn externals 4 lyfe
856: [04:42:59] <Daniel_> I get to Director::direct($url); on line 127 of main.php and $url has no value. Is this possibly where the problem lies?
857: [04:43:28] <Daniel_> "/home/nundle/public_html/error_log" showed no apache errors of note. It seems the .htaccess is either work fine or having trouble with a variable?
858: [04:44:56] <ss23> Daniel_: Possible the shared host made it so .htaccess doesn't work (or not work properly)
859: [04:46:59] <Daniel_> ss23: Thanks. it is the only thing I could think of but I have similar code on other similar sites and they are fine. It was the first SS site I ever did, bit of scary code in there.
860: [04:49:01] <ss23> Daniel_: You probably want to update that site to the latest 2.4 by the way, there's sql injection in the version you're running
861: [04:49:19] <Daniel_> ok.
862: [04:49:33] <Daniel_> Maybe I'll just update everything and see how I go.
863: [04:49:51] <Daniel_> Is it possible the client added a file or something like that causing an issue?
864: [04:50:05] <ss23> Possible, unliekly, hard to know
865: [04:50:19] <Daniel_> sure, well thanks for help all.
866: [04:58:15] * UncleCheese quit (Quit: UncleCheese)
867: [04:59:40] * UncleCheese has joined #silverstripe
868: [05:09:45] <EasyCo> Anybody use: https://github.com/nathancox/silverstripe-minify
869: [05:09:47] <EasyCo> ?
870: [05:10:49] * UncleCheese quit (Quit: UncleCheese)
871: [05:10:53] <ss23> I don't, but I recall someone complaining about minification the other day
872: [05:11:05] <EasyCo> That one specifically?
873: [05:11:25] <ss23> Nope
874: [05:11:36] <EasyCo> Gonna give'r a a go.
875: [05:12:44] <Colin[pi]> we were talking about how we couldn't keep minifying down to nothing :D
876: [05:13:04] <EasyCo> Sounds like a challenge to me
877: [05:14:32] <ss23> Tests: 1007, Assertions: 6552, Failures: 19, Errors: 1.
878: [05:14:34] <ss23> yay
879: [05:14:34] <ss23> :D
880: [05:15:41] <ss23> +'Unexprected exception cought: (607) Got an HTTP error response from API: '500 Internal Server Error''
881: [05:15:45] <ss23> who the hell typo'd that badly...
882: [05:15:50] <Colin[pi]> cought lol
883: [05:16:01] <ss23> eunexprected...
884: [05:16:01] <Colin[pi]> dunno man I've found a crap load of typos in the core
885: [05:16:06] <ss23> lol
886: [05:16:06] <Colin[pi]> unpossible!
887: [05:16:32] <Colin[pi]> look here's one in the file I have open (from 2.4): @param DataObjectSet $anotherSet Set to mege onto this set.
888: [05:16:38] <Colin[pi]> MEGE DAMN JOO
889: [05:16:57] <ss23> XD
890: [05:19:50] <Colin[pi]> when I was finishing my software project in high school, I had a demo session with the teacher
891: [05:19:53] <Colin[pi]> lucky she was nice
892: [05:19:57] <Colin[pi]> because as we ran the demo
893: [05:20:12] <Colin[pi]> it came up with a "Mrs (Teacher Name) is a GIANT BITCH"
894: [05:20:20] <Colin[pi]> I had forgot to remove it from the source :(
895: [05:20:30] <Colin[pi]> she just laughed lol
896: [05:24:01] <ss23> lol
897: [05:24:37] <Colin[pi]> she used to hang around in IRC actually
898: [05:24:41] <Colin[pi]> she's probably on here now
899: [05:25:52] * stecman quit (Quit: This computer has gone to sleep)
900: [05:34:42] <guzzlefry> eep
901: [05:40:52] <guzzlefry> What's the proper way to get form data in onAfterWrite()?
902: [05:44:00] <guzzlefry> nevermind, Controller::curr()->request; param yada yada
903: [05:44:27] * pippy_ has joined #silverstripe
904: [05:46:37] * pippy quit (Ping timeout: 272 seconds)
905: [05:52:30] * Shrike_Finland has joined #silverstripe
906: [05:53:31] <guzzlefry> err, getVar()
907: [05:58:44] * wilr_ has joined #silverstripe
908: [05:59:04] * wilr_ quit (Client Quit)
909: [06:01:52] <guzzlefry> hrm, Can you do something like this: new CheckBoxField("ShippingLabel().Printed", "Is Printed", $this->ShippingLabel()->Printed),
910: [06:02:02] <guzzlefry> Syntax is obviously wrong if so...
911: [06:04:16] <simon_w|air> You need my module for that
912: [06:04:28] <simon_w|air> http://addons.silverstripe.org/add-ons/simonwelsh/hasoneedit
913: [06:05:27] <guzzlefry> ah, thanks :)
914: [06:06:25] <guzzlefry> I'll use that next time around.
915: [06:07:06] <guzzlefry> Currently I ghettoed it and just saved the object in onAfterWrite() >_>
916: [06:16:00] * Daniel_ quit (Quit: Page closed)
917: [06:28:48] <ss23> http://xkcd.com/1277/ ahaha
918: [06:29:39] * SightUnseen has joined #silverstripe
919: [06:30:23] * EasyCo quit (Quit: EasyCo)
920: [06:33:46] * SightUnseen quit (Ping timeout: 245 seconds)
921: [06:42:01] <spronk> anyone here used mobicity before?
922: [06:44:46] * SticksM quit (Read error: Connection reset by peer)
923: [06:49:39] * SightUnseen has joined #silverstripe
924: [06:52:05] * skorp has joined #silverstripe
925: [06:57:30] * SightUnseen has left #silverstripe
926: [06:57:56] * guci0 has joined #silverstripe
927: [06:58:05] <guci0> Hello all!
928: [06:58:51] <spronk> yo
929: [06:59:14] <ss23> yo yo
930: [07:03:08] <guzzlefry> yo yo yo
931: [07:03:26] <spronk> mobicity
932: [07:03:27] <spronk> good
933: [07:03:28] <spronk> bad
934: [07:03:28] <spronk> ?
935: [07:03:55] <ss23> Nver used!
936: [07:04:37] <spronk> :(
937: [07:06:44] <ss23> Site is powered by Magento though it looks like!
938: [07:12:03] <guzzlefry> I keep hearing complains about that thing.
939: [07:17:14] <ss23> There was a lulz presentation ages ago ,but it looks like it's gone now
940: [07:17:16] <ss23> http://priebsch.de/blog/had-a-look-at-the-magento-sourcecode-yet/
941: [07:18:28] <DesignerX> Hi, is there a way to have validation on GridField / Relation ? for example, when adding items using "Link Existing" or "GridFieldAddNewMultiClass", need to do some checks before the item gets added !
942: [07:24:19] <spronk> lol
943: [07:24:20] <spronk> magento
944: [07:24:39] <spronk> yeah..
945: [07:24:42] <guzzlefry> Does anyone know of a source for small test videos of various aspect ratios?
946: [07:24:45] <spronk> it's a complex beast
947: [07:24:48] <spronk> hmm
948: [07:24:49] <spronk> no
949: [07:24:51] <spronk> youtube?
950: [07:24:53] <guzzlefry> dang
951: [07:25:05] <guzzlefry> They need to be in a sane format.
952: [07:31:01] * ARNHOE has joined #silverstripe
953: [07:38:47] <guzzlefry> yay, found some.
954: [07:45:41] <ss23> yay!
955: [07:48:08] <guzzlefry> PARTY TIME
956: [07:48:33] <guzzlefry> It appears that client is uploading 4:3 videos that have black sidebars.
957: [07:48:44] <guzzlefry> Why fullscreen doesn't look fullscreen. :P
958: [07:50:10] <guzzlefry> also, wtf rackspace email "Your search results are currently unavailable. We can correct this automatically, if you wait just a little while and then try your search again."
959: [08:06:43] * kinglozzer has joined #silverstripe
960: [08:08:43] * chillu has joined #silverstripe
961: [08:29:19] <irogue23> g'day chillu
962: [08:29:38] <chillu> hello!
963: [08:33:09] * travis-ci has joined #silverstripe
964: [08:33:10] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1297 (3.1 - 15845c8 : Ingo Schommer): The build passed.
965: [08:33:10] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/688d853a955e...15845c85473a
966: [08:33:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12656542
967: [08:33:10] * travis-ci has left #silverstripe
968: [08:40:05] <ss23> simon_w|air: Wanna help me with a g++ issue?
969: [08:40:12] <ss23> WEll, C++ I guess? idk
970: [08:42:51] * 14WABGUDY has joined #silverstripe
971: [08:42:51] <14WABGUDY> [travis-ci] silverstripe/silverstripe-framework#1298 (3.1 - b6c16fc : Ingo Schommer): The build passed.
972: [08:42:51] <14WABGUDY> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/15845c85473a...b6c16fcbf117
973: [08:42:51] <14WABGUDY> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12656564
974: [08:42:51] * 14WABGUDY has left #silverstripe
975: [08:42:58] * BPower has joined #silverstripe
976: [08:43:02] <ss23> That's a strange nick!
977: [08:45:11] <guzzlefry> ugh
978: [08:45:14] <guzzlefry> somethin' ain't right!
979: [08:48:16] <irogue23> rofl
980: [08:48:32] <guzzlefry> So...SQL
981: [08:48:34] <irogue23> that's an odd fallback nick :P
982: [08:50:10] <guzzlefry> can't remember if it can do string comparisons without crapping itself.
983: [08:50:28] <ss23> It can, if you do them right
984: [08:50:28] <ss23> ;)
985: [08:51:23] * travis-ci has joined #silverstripe
986: [08:51:24] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1299 (master - 8c527ea : Ingo Schommer): The build passed.
987: [08:51:24] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3e007ffbd2d0...8c527eab40f7
988: [08:51:24] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12656655
989: [08:51:24] * travis-ci has left #silverstripe
990: [08:51:56] <guzzlefry> ss23: let me rephrase, can the SilverStripe ORM do it without crapping itself? :P
991: [08:52:09] <ss23> No idea!
992: [08:52:27] <guzzlefry> But your nick!
993: [08:52:37] * guzzlefry 's world falls apart.
994: [08:52:38] <ss23> ;____;
995: [08:52:44] <ss23> irogue23 knows!
996: [08:52:47] <guzzlefry> I don't know what that face means.
997: [08:53:01] <ss23> guzzlefry: http://en.wikipedia.org/wiki/List_of_emoticons
998: [08:53:03] <ss23> school yourself
999: [08:53:12] <guzzlefry> ...
1000: [08:53:17] <ss23> (´・ω・`)
1001: [08:53:23] <guzzlefry> That's like trying to keep up with memes.
1002: [08:53:43] <ss23> :O <===3
1003: [08:53:46] <ss23> :O==3
1004: [08:53:48] <ss23> :3
1005: [08:54:07] <irogue23> BALLS DEEP
1006: [08:54:24] * guzzlefry covers his eyes.
1007: [08:54:44] <irogue23> guzzlefry: what kind of string comparison are you tryin' to do?
1008: [08:55:02] <guzzlefry> $product = $products->filter('CatalogNumber:LessThan', $itemID)->Last();
1009: [08:55:04] <guzzlefry> Like that
1010: [08:55:21] <guzzlefry> Where CatalogNumber is a varchar, but usually something like 0023
1011: [08:55:25] <ss23> o.O
1012: [08:55:30] <ss23> Why are you storing an integer as a string?!
1013: [08:55:41] <ss23> Even in SQL that's going to be a retarded query to do
1014: [08:55:43] <guzzlefry> Because not my code. :P
1015: [08:55:44] <ss23> (Like, so amazingly slow)
1016: [08:56:04] <ss23> It'll have to never use an index, go through every row in the table and cast it to an integer, then compare
1017: [08:56:57] <guzzlefry> hrm
1018: [08:57:02] <guzzlefry> still seems to work via raw SQL.
1019: [08:57:14] <ss23> It'll work in raw SQL, just be slow
1020: [08:57:14] <ss23> :P
1021: [08:57:33] <guzzlefry> You're such a negative nancy.
1022: [08:57:41] <ss23> I'm a realistc... reggie?
1023: [08:57:51] <guzzlefry> :P
1024: [08:58:04] <guzzlefry> I just want to get this client out of the way. >_>
1025: [08:58:08] <ss23> "Inside every cynical person, there is a disappointed idealist"
1026: [08:59:38] <guzzlefry> wait...
1027: [08:59:44] <guzzlefry> aren't datalists immutable now?
1028: [09:08:16] <guzzlefry> hrm
1029: [09:08:27] <guzzlefry> maybe I can just have an integer field and have it padded with zeroes. :P
1030: [09:08:27] * travis-ci has joined #silverstripe
1031: [09:08:27] <travis-ci> [travis-ci] chillu/silverstripe-framework#93 (pulls/uploadfield-874 - e1b7df3 : Ingo Schommer): The build passed.
1032: [09:08:27] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/b0f38f4990e4^...e1b7df38efe5
1033: [09:08:27] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/12657674
1034: [09:08:27] * travis-ci has left #silverstripe
1035: [09:09:19] <ss23> https://maps.google.com/maps?ll=42.447067,-73.78779&spn=0.001245,0.001725&sll=42.447857,-73.787895&layer=c&cbp=13,25.72,,0,0&cbll=42.447067,-73.787791&gl=us&t=m&panoid=2jSLfrk32njy5T7G0kr2wQ&z=19
1036: [09:09:23] <ss23> a portal
1037: [09:12:27] <irogue23> whoa
1038: [09:13:51] <guzzlefry> 0.o
1039: [09:14:21] <irogue23> borked camera?
1040: [09:14:33] <guzzlefry> ...aliens
1041: [09:14:54] <guzzlefry> http://static.fjcdn.com/comments/Aliens+_8b17b3fb89e9f39c054cc0812103c038.jpeg
1042: [09:17:48] <guzzlefry> oh, it's 5:20 in the morning...
1043: [09:17:59] <irogue23> lies
1044: [09:18:04] <irogue23> it's 10:20pm
1045: [09:18:30] <guzzlefry> Not on the east coast of 'merica!
1046: [09:18:43] <ss23> Uh
1047: [09:18:48] <ss23> 10:18pm!
1048: [09:18:49] <ss23> Or :19
1049: [09:19:00] <guzzlefry> bro
1050: [09:19:07] <guzzlefry> quick showing off with your atomic clocks -_-
1051: [09:19:10] <ss23> XD
1052: [09:19:12] <guzzlefry> quit*
1053: [09:19:16] <guzzlefry> see, it's 5:20am :P
1054: [09:19:57] <guzzlefry> Do all of the ex-british colonies go by am/pm?
1055: [09:20:31] <ss23> As opposed to 24h?
1056: [09:21:38] <guzzlefry> yeah
1057: [09:22:42] * Nightjar has joined #silverstripe
1058: [09:26:33] <guzzlefry> So, $products->Count() == 34;
1059: [09:26:46] <guzzlefry> Why in the hell does $products->Last() return null?
1060: [09:28:20] <kinglozzer> Plz... no more javascript (・_・;)
1061: [09:29:09] <kinglozzer> Is this variable an integer or a string? DEPENDS LOL
1062: [09:29:11] <kinglozzer> -__-
1063: [09:29:21] <BPower> Announcing a new SilverStripe website! We're 70% converted to SS! www.Marketo.com :) Thanks to everyone here who helped out when I got stuck ;)
1064: [09:29:55] <guzzlefry> \o/
1065: [09:30:18] <guzzlefry> So, anyone, this is puzzling me.
1066: [09:30:29] <guzzlefry> ^ supposed to be a question mark somewhere in that. :P
1067: [09:31:34] * ajmitch quit (Ping timeout: 246 seconds)
1068: [09:31:58] <kinglozzer> BPower: Looks good :)
1069: [09:36:02] <Nightjar> AN SAP COMPANY
1070: [09:36:05] <Nightjar> AN SAP
1071: [09:36:14] <Nightjar> bro, do you even England?
1072: [09:36:46] <guzzlefry> $products->Count(); // returns 34... $products->Last(); // returns null.
1073: [09:36:52] * guzzlefry dies.
1074: [09:36:58] <Nightjar> I guess if your acronym didn't unfortunatly get read out as 'sap' and was rather 'ESS, AYE, PEE'
1075: [09:37:11] <Nightjar> guzzlefry: because death.
1076: [09:37:20] <Nightjar> last returns nothing if it doesn't return, thus false.
1077: [09:37:21] <guzzlefry> explain?
1078: [09:37:24] <Nightjar> PITA right.
1079: [09:37:29] <guzzlefry> wait..
1080: [09:37:31] <Nightjar> code for last, kgo
1081: [09:37:39] <guzzlefry> I see it.
1082: [09:37:40] <guzzlefry> But
1083: [09:37:49] <guzzlefry> If I have 34 records, where should be a last one, right? :P
1084: [09:37:54] <guzzlefry> there*
1085: [09:38:07] <Nightjar> nah, don't be silly.
1086: [09:38:46] <Nightjar> <% if ID %> should return true for a written object too, but it doesn't.
1087: [09:38:57] <Nightjar> You use PHP storm, break out the debugger
1088: [09:39:28] <Nightjar> I can only imagine that the query generated by $this->dataQuery->lastRow()->execute() returns null
1089: [09:39:35] <Nightjar> OR, dies.
1090: [09:39:38] <guzzlefry> yeah
1091: [09:39:42] <guzzlefry> it returns null
1092: [09:39:52] <Nightjar> vardump $this->dataQuery->lastRow()->execute()
1093: [09:39:58] <Nightjar> will give you query object
1094: [09:40:06] <Nightjar> which will in turn let you sex all over the infos
1095: [09:41:17] <guzzlefry> ["queryHasBegun":"SS_Query":private]=>bool(false)
1096: [09:41:34] <guzzlefry> Does that mean the query confused the hell out of something? :P
1097: [09:42:10] <Nightjar> kinglozzer: bro, do you even
1098: [09:42:19] <Nightjar> WOAH, Polish candy!
1099: [09:42:26] <kinglozzer> Wait wat?
1100: [09:42:33] <Nightjar> huh?
1101: [09:42:36] <kinglozzer> Who?
1102: [09:42:43] <Nightjar> me
1103: [09:42:47] <Nightjar> nom nom nom
1104: [09:42:48] <Nightjar> so you right
1105: [09:43:02] <Nightjar> You're self employed?
1106: [09:43:10] <kinglozzer> Me? Nope
1107: [09:43:13] <Nightjar> oh
1108: [09:43:16] <Nightjar> yeah right
1109: [09:43:56] <kinglozzer> ?
1110: [09:44:00] <Nightjar> do you tell all the ladies that you've got a big frok?
1111: [09:44:08] <Nightjar> that they're welcome to dine on?
1112: [09:44:35] <kinglozzer> Yeah :D forking good dining
1113: [09:44:40] <Nightjar> git branch dineonthislol
1114: [09:44:51] <guzzlefry> Nightjar: http://sspaste.com/paste/show/525fafe49b790 What do you make of that?
1115: [09:45:05] <Nightjar> I make an ascii castle
1116: [09:45:22] <Nightjar> what else could one do with all those [ pieces and ] pieces?
1117: [09:45:23] <guzzlefry> :P
1118: [09:46:09] <guzzlefry> That's from the vardump you told me to do!
1119: [09:46:26] <Nightjar> nah bro, spit out the actual (ASCII) query, not the returned SQLQuery
1120: [09:46:36] <Nightjar> (object)
1121: [09:46:45] <Nightjar> DataQuery
1122: [09:46:49] <Nightjar> ->sql()
1123: [09:46:57] <Nightjar> get splitterator
1124: [09:47:07] <Nightjar> get it?
1125: [09:47:12] <Nightjar> p/q
1126: [09:47:16] <Nightjar> it's a pun!
1127: [09:47:21] <Nightjar> splitterator sounds cool
1128: [09:47:43] <Nightjar> oh kinglozzer I remembered my question
1129: [09:47:50] <Nightjar> (!)
1130: [09:48:28] <Nightjar> it's kinda a 2 parter I guess
1131: [09:48:52] <kinglozzer> Aww man, I hate cliffhangers
1132: [09:49:21] <Nightjar> when a spastic website like netmovers tells you a place is 300 pound PCM is that final or are there a bunch of BS hidden costs?
1133: [09:49:47] <Nightjar> and 2) what is a reasonable salary for an accomplished senior php silverstripper
1134: [09:50:48] * SightUnseen has joined #silverstripe
1135: [09:50:49] <Nightjar> I see figures ranging from 17k to 40k and I'm all o.0
1136: [09:51:09] * guzzlefry wonders if he hit a bug.
1137: [09:51:33] <Nightjar> deodorant + lighter.
1138: [09:51:45] * aznain quit (Ping timeout: 250 seconds)
1139: [09:51:46] <guzzlefry> no mannnn
1140: [09:51:51] <guzzlefry> the software kind
1141: [09:51:58] <Nightjar> I think it might be time to rob a bank
1142: [09:52:00] <guzzlefry> The query it generated...
1143: [09:52:05] <Nightjar> brb
1144: [09:52:20] <guzzlefry> The offset is the same as the row count sans limit/offset.
1145: [09:53:10] <kinglozzer> Uh, no idea about netmovers, I've never even heard of it. I'd use rightmove personally, but I still live at home :P
1146: [09:53:33] <Nightjar> are you 30?
1147: [09:53:39] <kinglozzer> Nope, 20
1148: [09:54:19] <kinglozzer> Salary depends a lot on where you're located - for experienced devs it can be around 25-35k for most, but in central London the same job will earn you more like 50k
1149: [09:54:45] <Nightjar> central londons is a bit far away from me :<
1150: [09:55:35] <kinglozzer> I assumed you mean UK, right?
1151: [09:55:39] <Nightjar> yeh
1152: [09:55:42] <Nightjar> course
1153: [09:56:46] <BPower> kinglozzer: Thanks!
1154: [09:57:05] <BPower> Nightjar: "AN SAP COMPANY" --- who?
1155: [09:57:07] <kinglozzer> Nightjar where are you then?
1156: [09:59:01] <Nightjar> kinglozzer: Tyne and Wear
1157: [09:59:23] <Nightjar> need monies
1158: [10:00:20] * spronk2 has joined #silverstripe
1159: [10:00:35] * SightUnseen quit (Ping timeout: 272 seconds)
1160: [10:01:01] <kinglozzer> Ah, quite a way away from London then
1161: [10:01:03] <kinglozzer> :P
1162: [10:01:17] <Nightjar> mmm
1163: [10:01:43] <Nightjar> I think the commute would severely impact my net income.
1164: [10:01:53] <kinglozzer> Definitely
1165: [10:02:10] <kinglozzer> (get up for work at 3am)
1166: [10:02:27] <kinglozzer> (guessing, I don't know how long a train would take)
1167: [10:02:39] <kinglozzer> (probably a long while)
1168: [10:02:59] <Nightjar> nfi, but a wee while i imagine
1169: [10:07:29] * g4b0 has joined #silverstripe
1170: [10:07:37] <g4b0> hi all
1171: [10:08:25] <g4b0> is it possible to extend or override CMSPageHistoryController::getEditForm() ?
1172: [10:09:21] <BPower> Alright. 3am. Site launched. Dead. Need. Sleep. Bye.
1173: [10:09:26] <BPower> :)
1174: [10:10:39] <g4b0> goodnight BPower
1175: [10:10:58] <BPower> 'nite!
1176: [10:11:02] * BPower quit (Remote host closed the connection)
1177: [10:16:46] * spronk2 quit (Quit: spronk2)
1178: [10:17:34] <Nightjar> g4b0: it's possible to rob any bank that extends object
1179: [10:26:18] * SightUnseen has joined #silverstripe
1180: [10:30:08] <irogue23> evenin' Nightjar
1181: [10:31:05] * SightUnseen quit (Ping timeout: 272 seconds)
1182: [10:32:03] <Nightjar> sups
1183: [10:34:21] <irogue23> nm, just LoLing
1184: [10:34:26] <irogue23> wbu?
1185: [10:34:37] <Nightjar> I robbed a bank
1186: [10:34:43] <spronk> ...did you?
1187: [10:35:12] <Nightjar> then our stupid fucking host decided to fuck off and rob an ATM after we'd secured all the gold in the getaway helicopter
1188: [10:35:24] <Nightjar> and it few off without us and we got fucked up by the cops.
1189: [10:35:29] <Nightjar> I was like LOLOLOLOLOLOLOLOL
1190: [10:35:36] <Nightjar> Morans everywheres
1191: [10:37:36] <spronk> o_O
1192: [10:37:39] <spronk> gta?
1193: [10:37:54] <spronk> we tired
1194: [10:37:56] <spronk> w/e*
1195: [10:37:58] <spronk> SLEEP
1196: [10:38:03] <Nightjar> Payday!
1197: [10:38:54] * kinglozzer can't wait for payday
1198: [10:39:02] <kinglozzer> I have fucking car insurance renewal this month
1199: [10:39:07] <kinglozzer> Theives
1200: [10:39:13] <Nightjar> does it necessary to have it?
1201: [10:39:30] <kinglozzer> does it necessary to english?
1202: [10:39:35] <Nightjar> NO
1203: [10:39:38] <kinglozzer> My car? Yeah need it :D
1204: [10:39:43] <Nightjar> no the insurance
1205: [10:40:02] <kinglozzer> Oh yeah, kinda important
1206: [10:40:07] <ss23> I wonder how many people actually do the math
1207: [10:40:14] <Nightjar> not many, if any
1208: [10:40:28] <ss23> (as in, "well if I just saved the money, I would be more rich after 10 years anyway... chance of a crash in 10 years is low, so insurance is bad idea)
1209: [10:40:32] <Nightjar> ss23: it's more that some areas make it compulsory, ie. illegal to drive without it.
1210: [10:40:36] <ss23> yeah
1211: [10:40:36] <kinglozzer> What math? >.<
1212: [10:40:37] <Nightjar> wondering if this is the case
1213: [10:40:45] <ss23> THAT MATH I JUST EXPLAINED, kinglozzer
1214: [10:41:03] <Nightjar> kinglozzer: the fact that you pay an insurance company over 1.2 million in your lifetime yet claim only about 200,000
1215: [10:41:11] <kinglozzer> ss23/Nightjar: Yeah it's illegal to not have insurance though :(
1216: [10:41:26] <Nightjar> yeah, see that's institutionalised robbery
1217: [10:41:32] <kinglozzer> Yep :/
1218: [10:41:37] <Nightjar> It's bullshit
1219: [10:41:44] <kinglozzer> Mine's £760 this year..
1220: [10:41:53] <Nightjar> having a decree that you MUST pay a private entity money in order to do something completely govt. related.
1221: [10:41:57] <kinglozzer> That's about half of last year, but still a fucking lot
1222: [10:42:01] <Nightjar> or rather
1223: [10:42:05] <Nightjar> put better another way
1224: [10:42:21] <Nightjar> having the government enforce citizens to pay money to a private entity
1225: [10:42:32] <Nightjar> JUST LIKE POWER AND INTERNET
1226: [10:43:25] <Nightjar> make it a tax, or offer some kind of SOE insurance, at least.
1227: [10:46:23] <Nightjar> TIL people with prosthetics get mad about airport security knowing they have prosthetics.
1228: [10:46:35] <Nightjar> "It violates privacy"
1229: [10:46:44] <Nightjar> BECAUSE YOU'D NEVER HIDE A GUN IN THERE EVER RIGHT?
1230: [10:47:28] <Nightjar> http://en.wikipedia.org/wiki/Backscatter_X-ray#Privacy
1231: [10:49:59] * Nightjar has left #silverstripe
1232: [10:57:03] * SightUnseen has joined #silverstripe
1233: [10:58:57] * Colin[pi] quit (Ping timeout: 272 seconds)
1234: [11:01:31] * SightUnseen quit (Ping timeout: 246 seconds)
1235: [11:11:32] <ec8or_> anyone using the subsites module?
1236: [11:11:58] <ec8or_> can't seem to change the baseurl, it is stuck to a previous value
1237: [11:12:56] <ec8or_> ah fuck it was me
1238: [11:12:59] <irogue23> spronk is the master of subsites, but i believe he's sleeping
1239: [11:13:14] <ec8or_> yeah i had set the base href manually in the template :)
1240: [11:13:34] <irogue23> lol
1241: [11:13:45] <irogue23> that'll do it :P
1242: [11:14:09] <ec8or_> yes all good now :)
1243: [11:14:36] <ss23> 00:13:11 < irogue23> spronk is the master of subsites, but i believe he's sleeping
1244: [11:14:40] <ss23> XD
1245: [11:14:43] <irogue23> ^_^
1246: [11:14:44] <ss23> PR to add spronk as maintainer of subsites, anyone?
1247: [11:14:49] <irogue23> he's gonna kill me if he reads scrollback :P
1248: [11:15:28] <ss23> XD
1249: [11:15:41] <ss23> http://bramcohen.livejournal.com/72298.html
1250: [11:15:46] <ss23> holy shit this guy is a massive douche
1251: [11:16:07] <ss23> Having a problem and wanting help, fine. Busting out "I can easily prove who I am. I'm the well-known author of an important project and need my nick back to stop trolling in the project channel, is there anything which can be done about this or do I have to make a stink?"
1252: [11:16:17] <ss23> I don't understand how people can have shit go to their head t hat much >.<
1253: [11:17:24] <irogue23> lol yeah
1254: [11:18:36] * travis-ci has joined #silverstripe
1255: [11:18:36] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1305 (3.1 - 8051f55 : Ingo Schommer): The build passed.
1256: [11:18:36] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/b6c16fcbf117...8051f5586c54
1257: [11:18:36] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12662912
1258: [11:18:36] * travis-ci has left #silverstripe
1259: [11:18:56] * ajmitch has joined #silverstripe
1260: [11:19:03] <ec8or_> bram cohen is a bit special ;)
1261: [11:19:52] <ss23> I had to look him up to find out anything about him
1262: [11:19:53] <ss23> >.<
1263: [11:19:58] <ss23> that claim though..
1264: [11:20:14] <ss23> "and I hope you realize that you just completely pissed off one of the most well known and respected people in the whole open source community"
1265: [11:20:16] <ec8or_> haha yeah
1266: [11:20:27] <ss23> I'm pretty sure that Linus and RMS might like to have a chat with him
1267: [11:20:43] <ss23> Not t hat either of them are great people *shrug*
1268: [11:22:49] <irogue23> they types of people who become 'famous' in OSS mostly aren't doing it for the right reasons
1269: [11:23:10] <irogue23> or, in the case of RMS, are doing it for practically militant reasons
1270: [11:23:15] <ss23> XD
1271: [11:25:24] <irogue23> and also tend to be so busy feeling important they don't actually contribute that much
1272: [11:26:16] <ec8or_> christ that post is from 2010
1273: [11:26:17] <irogue23> i know a guy who damn near refuses to use anything not OSS, and preaches it to everyone, yet has never contributed even a docs edit to anything
1274: [11:26:30] <ss23> Yeah, ec8or_
1275: [11:26:35] <ss23> Sorry, didn't mean to imply it was new
1276: [11:26:36] <ss23> :O
1277: [11:27:08] <ec8or_> sneaky
1278: [11:27:47] * SightUnseen has joined #silverstripe
1279: [11:27:51] <irogue23> http://i.imgur.com/TY4fOYe.gif
1280: [11:32:05] <ss23> http://geonet.org.nz/quakes/region/newzealand/2013p780567
1281: [11:32:11] <ss23> sucks to be Stewart Island
1282: [11:32:12] <ss23> :D
1283: [11:32:31] * SightUnseen quit (Ping timeout: 272 seconds)
1284: [11:37:34] <irogue23> you mean Harry Styles?
1285: [11:38:30] <ss23> o.O
1286: [11:38:31] <ss23> What...?
1287: [11:39:23] <irogue23> http://www.thecivilian.co.nz/stewart-island-to-be-renamed-harry-styles-as-a-result-of-online-poll/
1288: [11:40:43] <ss23> oic
1289: [11:40:43] <ss23> lol
1290: [11:43:14] <irogue23> you read the whole thing?
1291: [11:43:20] <irogue23> The Civilian is always so epic
1292: [11:43:46] <irogue23> "Tourism statistics show very few 12-year old girls have made the decision to travel to New Zealand, and we think this will send the world a strong message that we want those 12-year old girls," he said.
1293: [11:43:50] <irogue23> Williamson was later asked to clarify his statement "We want those 12-year-old girls."
1294: [11:45:43] <ss23> roflllll
1295: [11:45:47] <ss23> So like
1296: [11:45:56] <ss23> You know what's fun? Looking at SilverStripe 500/404 pages
1297: [11:46:03] <ss23> Because they're not re-generated, you get the most hilarious shit in there
1298: [11:46:20] <ss23> Live website? Suddenly, "Careless Whisper by Seether" is linked!
1299: [11:46:20] <ss23> :D
1300: [11:46:27] <ss23> What's more, that mp3 is totally on the live server, I can rock out to it
1301: [11:46:38] <irogue23> lol
1302: [11:54:50] <irogue23> time to row!
1303: [11:56:16] <ss23> row?
1304: [11:57:11] <irogue23> rowing machine
1305: [11:57:24] <DesignerX> hi, when using DataExrention to extend Page, shouldnt I be able to just use $has_one & $db as usual to add more fields & relations to page ?
1306: [11:58:08] * SightUnseen has joined #silverstripe
1307: [11:59:15] <irogue23> DataExtension to extend Page? that doesn't sound right
1308: [12:00:12] <irogue23> do you need to add something that applies to *all* pagetypes?
1309: [12:00:24] <DesignerX> irogue23: I think so !
1310: [12:00:40] <DesignerX> yeh, need has_one Image
1311: [12:01:31] <DesignerX> I have PageExtention class "working" as I already extended page with few methods, but Fields & Relations are not showing up even after a dev/build
1312: [12:02:05] <irogue23> never done it i'm afraid
1313: [12:02:43] <irogue23> not using a DataExtension anyway
1314: [12:02:55] * SightUnseen quit (Ping timeout: 260 seconds)
1315: [12:07:06] <DesignerX> np
1316: [12:08:46] <Zauberfisch23> irogue23: you have a rowing mashine in your office? :O
1317: [12:09:22] <ss23> Office?
1318: [12:09:22] <ss23> :P
1319: [12:09:26] <ss23> It's 1am!
1320: [12:09:36] * UndefinedOffset has joined #silverstripe
1321: [12:09:48] <Zauberfisch23> no, its noon
1322: [12:09:51] <Zauberfisch23> you lie!
1323: [12:11:45] <ss23> :D
1324: [12:11:46] <Zauberfisch23> but both the ember.js and the rails workshop sound intresting
1325: [12:11:51] <Zauberfisch23> wrong chat
1326: [12:11:57] <ss23> ...
1327: [12:11:58] <ss23> WOW
1328: [12:11:59] <ss23> HOLY SHIT
1329: [12:12:02] <ss23> Zauberfisch23: ...
1330: [12:12:06] <ss23> Zauberfisch23: I'll never love you again!
1331: [12:13:03] <Zauberfisch23> I have no intention of using either of those any time soon, however, it does not hurt to spy on the enemy
1332: [12:13:12] <ss23> lol
1333: [12:15:04] <Zauberfisch23> and one has to admit, the ruby hipster community has some pretty great ideas
1334: [12:15:41] <Zauberfisch23> and the fact that silverstripe framework kindof feels like "php on rails" just proves that
1335: [12:16:33] <Zauberfisch23> and I like their style
1336: [12:16:45] <ss23> lol, yeah :P
1337: [12:17:09] <Zauberfisch23> like a popular cms for rails is called locomotive
1338: [12:17:13] <Zauberfisch23> and there are engines
1339: [12:17:19] <Zauberfisch23> or chef
1340: [12:17:41] <Zauberfisch23> chef calls its packages "cookbooks" and the comandline tool "knife"
1341: [12:19:11] <Zauberfisch23> one has to admit, that's a bit more original than the usual "SilverStripeSiteTreeMigrationToNewFormatTaskClass" or what ever
1342: [12:28:52] * SightUnseen has joined #silverstripe
1343: [12:33:06] * SightUnseen quit (Ping timeout: 245 seconds)
1344: [12:38:10] <zippy__> I think it's cos of Hamish, I think he's into Ruby, or it feels like it...
1345: [12:38:15] <zippy__> yaml configs…
1346: [12:38:31] <zippy__> cakephp is more rails then SS...
1347: [12:38:42] <zippy__> more arrays then objects though
1348: [12:43:04] * zippy__ quit (Ping timeout: 260 seconds)
1349: [12:57:22] <Zauberfisch23> chillu: the rule to close feature requests that have neither code nor someone likely to produce code for it in near future, is that a unwritten one?
1350: [12:59:38] * SightUnseen has joined #silverstripe
1351: [13:04:01] * SightUnseen quit (Ping timeout: 246 seconds)
1352: [13:11:43] <chillu> http://doc.silverstripe.org/framework/en/trunk/misc/contributing/issues
1353: [13:11:43] <chillu> "Please don't file "feature requests" as issues. If there's a new feature you'd like to see in SilverStripe, you either need to write it yourself (and submit a pull request) or convince somebody else to write it for you. Any "wishlist" type issues without code attached can be expected to be closed as soon as they're reviewed."
1354: [13:12:16] * steveheyes has joined #silverstripe
1355: [13:12:23] <steveheyes> hello everyone :)
1356: [13:12:40] <Zauberfisch23> chillu: can this also be applyed to exisiting issues that have not atracted attation in years?
1357: [13:13:12] <chillu> In principle, yes :)
1358: [13:13:17] <steveheyes> i was wondering if anyone has every seen/created/used a module that used the same UI etc as admin/pages/add but for dataobjects?
1359: [13:16:14] <chillu> steveheyes: Not that I know of, sorry
1360: [13:16:23] <chillu> Zauberfisch23: Awesome, good on ya :)
1361: [13:17:02] <chillu> Argh I really wish github would extend its permission model to allow contributors on bug triage without giving them repo access..
1362: [13:17:15] <steveheyes> chillu: that is a shame. I just had a look and I don't think it would be too difficult to replicate
1363: [13:17:47] <steveheyes> chillu: famous last works and all that
1364: [13:18:19] <Zauberfisch23> chillu: me, don't you worry, you can trust me with full repo access http://global3.memecdn.com/trust-me-mom_o_1109616.jpg
1365: [13:18:30] <Zauberfisch23> *meh
1366: [13:18:51] <chillu> Indeed ;) Isn't it just a GridFieldEditForm with a specific getCMSFields() on the record you're managing though? Or do you mean being able to select the class being created?
1367: [13:19:19] <chillu> For the latter, see https://github.com/ajshort/silverstripe-gridfieldextensions and GridFieldAddNewMultiClass
1368: [13:19:33] <Zauberfisch23> steveheyes: there is a module that allowes that workflow
1369: [13:19:37] <Zauberfisch23> ah, chillu just posted it
1370: [13:19:53] <Zauberfisch23> ajshorts module is great, works really well
1371: [13:20:13] <steveheyes> Zauberfisch23: oh really? What is it called?
1372: [13:20:33] <chillu> ajshort never sleeps, does he?
1373: [13:29:10] <Zauberfisch23> haha, yeah, speaking of the devel
1374: [13:29:20] <Zauberfisch23> ajshort just closed that other ticket
1375: [13:30:23] * SightUnseen has joined #silverstripe
1376: [13:33:43] * ARNHOE_ has joined #silverstripe
1377: [13:33:44] * ARNHOE quit (Read error: Connection reset by peer)
1378: [13:35:23] * SightUnseen quit (Ping timeout: 272 seconds)
1379: [13:38:30] <steveheyes> Zauberfisch23: whats that module called? It'll be really helpful for the project i'm working on!
1380: [13:38:49] <Zauberfisch23> see the link that chillu posted
1381: [13:39:09] <steveheyes> my bad
1382: [13:39:10] <steveheyes> ta
1383: [13:43:51] * Shrike_Finland quit (Quit: Leaving.)
1384: [14:01:14] * SightUnseen has joined #silverstripe
1385: [14:03:12] * catcher has joined #silverstripe
1386: [14:05:39] * SightUnseen quit (Ping timeout: 260 seconds)
1387: [14:05:47] * steveheyes quit (Quit: steveheyes)
1388: [14:22:31] <Zauberfisch23> and his speed
1389: [14:22:42] <Zauberfisch23> 15 seconds after posting the message
1390: [14:22:57] <Zauberfisch23> ajshort closed issue #1447
1391: [14:29:06] * ARNHOE_ quit (Remote host closed the connection)
1392: [14:31:54] * SightUnseen has joined #silverstripe
1393: [14:32:39] <catcher> Is there a way to specify the upload folder for a particular HTMLEditorField?
1394: [14:33:59] <catcher> short of subclassing the field, overriding updateMediaForm, and instantiating that instead of HTMLEditorField?
1395: [14:36:04] * SightUnseen quit (Ping timeout: 246 seconds)
1396: [14:40:06] <kinglozzer> catcher: An extension?
1397: [14:40:46] <catcher> kinglozzer, I only want to customize one particular HTMLEditorField's upload location.
1398: [14:43:23] <kinglozzer> Hmm, not sure. I know you can use Config::inst()->set('Upload', 'uploads_folder', '/somefolder');, but I'm not sure if you could set it to something else, create your field, then set it back afterwards
1399: [14:43:30] <kinglozzer> I'm 75% sure that won't work :P
1400: [14:43:41] <kinglozzer> Might be worth a shot anyway
1401: [14:44:38] <catcher> kinglozzer, subclass seems cleaner, unless there's some reason that won't work the way I think..
1402: [14:45:28] <catcher> Maybe not, I'll give it a shot at least.
1403: [14:45:42] <kinglozzer> No it should work fine. Perhaps subclass it, then apply an extension to your subclass
1404: [14:45:43] <kinglozzer> Then you won't need to override anything / duplicate bits of code
1405: [15:02:42] * SightUnseen has joined #silverstripe
1406: [15:04:22] * toddmorey has joined #silverstripe
1407: [15:07:45] * SightUnseen quit (Ping timeout: 272 seconds)
1408: [15:13:15] * steveheyes has joined #silverstripe
1409: [15:13:18] <steveheyes> hi all again
1410: [15:14:27] <steveheyes> so having an odd problem with GridFieldConfig
1411: [15:14:42] <steveheyes> apparently addComponent doesn't exist
1412: [15:14:50] <steveheyes> This is the error: "[User Error] Uncaught Exception: Object->__call(): the method 'addcomponent' does not exist on 'GridField'"
1413: [15:14:57] <steveheyes> and here is my code - http://www.sspaste.com/paste/show/525ffd0488fa1
1414: [15:16:09] <Zauberfisch23> steveheyes: no, you are not having a problem with GridFieldConfig
1415: [15:16:20] <Zauberfisch23> you are just trying to use a GridFieldConfig method on a GridField
1416: [15:16:27] <Zauberfisch23> which will obviously fail
1417: [15:16:50] <steveheyes> well that makes sense
1418: [15:17:16] * chillu quit (Quit: chillu)
1419: [15:17:30] <steveheyes> although I;m not sure where i'm using addComponent on GridField
1420: [15:17:34] <Zauberfisch23> you can get the config of the grid like so:
1421: [15:17:38] <Zauberfisch23> $grid->getConfig()
1422: [15:17:40] <Zauberfisch23> so you can do:
1423: [15:17:49] <Zauberfisch23> $grid->getConfig()->addComponent()
1424: [15:17:57] <Zauberfisch23> afk
1425: [15:18:06] <steveheyes> that's what i have done though
1426: [15:18:15] <steveheyes> got ->removeComponentsByType('GridFieldAddNewButton') in between
1427: [15:18:35] <steveheyes> but its:
1428: [15:18:37] <steveheyes> $grid->getConfig()
1429: [15:18:37] <steveheyes> ->removeComponentsByType('GridFieldAddNewButton')
1430: [15:18:38] <steveheyes> ->addComponent(new GridFieldAddNewMultiClass());
1431: [15:20:17] <steveheyes> sorted it, I was adding it to $field wrong
1432: [15:20:18] <steveheyes> thanks
1433: [15:33:24] * SightUnseen has joined #silverstripe
1434: [15:34:09] * willmorgan has joined #silverstripe
1435: [15:35:35] <willmorgan> has anyone ever had problems with using Object->cacheToFile with a nested array as an argument?
1436: [15:36:20] <willmorgan> using 3.1.1
1437: [15:37:15] <willmorgan> i'm getting an array to string conversion error, which is due to nested arrays
1438: [15:37:40] * SightUnseen quit (Ping timeout: 246 seconds)
1439: [15:54:41] * UndefinedOffset quit (Quit: Leaving.)
1440: [15:59:26] <willmorgan> a potential solution is to do md5(serialize($arguments)) instead of an implode
1441: [15:59:37] * g4b0 quit (Quit: Sto andando via)
1442: [16:04:08] * SightUnseen has joined #silverstripe
1443: [16:04:48] * UndefinedOffset has joined #silverstripe
1444: [16:08:31] * SightUnseen quit (Ping timeout: 245 seconds)
1445: [16:13:46] * kinglozzer quit (Remote host closed the connection)
1446: [16:14:04] * violetina has joined #silverstripe
1447: [16:20:11] <steveheyes> Gosh, I am having issues today
1448: [16:20:31] <steveheyes> now i'm getting this error: "FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to a member function setName() on a non-object in /srv/nginx/touchpress/dev/public/gridfieldextensions/code/GridFieldAddNewInlineButton.php on line 98"
1449: [16:20:53] <steveheyes> here is my code
1450: [16:20:54] <steveheyes> http://www.sspaste.com/paste/show/52600cb8eaa36
1451: [16:20:57] <steveheyes> anyone got an idea?
1452: [16:21:00] <willmorgan> looking
1453: [16:21:07] <steveheyes> Thanks willmorgain
1454: [16:21:42] <willmorgan> i think your problem begins on line 23
1455: [16:22:01] <steveheyes> you do? how come?
1456: [16:22:24] <willmorgan> i suspect that GridFieldAddNewMultiClass creates a GridFieldAddNewInlineButton
1457: [16:22:45] <willmorgan> so can you show me your GridFieldAddNewMultiClass file?
1458: [16:23:44] <steveheyes> sure
1459: [16:23:44] <steveheyes> https://github.com/ajshort/silverstripe-gridfieldextensions/blob/master/code/GridFieldAddNewMultiClass.php
1460: [16:24:05] <willmorgan> oh, not happening in there
1461: [16:24:06] <willmorgan> hmm
1462: [16:25:04] <willmorgan> steveheyes: https://github.com/ajshort/silverstripe-gridfieldextensions/blob/master/code/GridFieldAddNewInlineButton.php look at line 98
1463: [16:25:24] <willmorgan> i think your columns might be messed up
1464: [16:25:45] <steveheyes> oh right
1465: [16:26:19] <steveheyes> i see, i'll add a Name to the object and use that
1466: [16:31:59] <steveheyes> cheers for your help
1467: [16:32:03] * steveheyes quit (Quit: steveheyes)
1468: [16:32:56] * abitran has joined #silverstripe
1469: [16:34:54] * SightUnseen has joined #silverstripe
1470: [16:35:50] * DesignerX quit (Ping timeout: 240 seconds)
1471: [16:39:35] * SightUnseen quit (Ping timeout: 272 seconds)
1472: [16:40:52] * toddmorey quit (Quit: Leaving.)
1473: [16:40:53] <willmorgan> I submitted a PR for you Kiwis to enjoy with your upside-down coffee and upside-down breakfast https://github.com/silverstripe/silverstripe-framework/pull/2559
1474: [16:52:25] * toddmorey has joined #silverstripe
1475: [16:55:56] <catcher> UndefinedOffset, if you're around, I'm running into a couple situations where I have 500+ items w/ drag & drop. New items get sorted to the end by default, what's the best way to bump that newest item to the top of the sort?
1476: [17:00:13] <UndefinedOffset> catcher theres this pull https://github.com/UndefinedOffset/SortableGridField/pull/42 but it was failing the build tests, I just haven't gotten around to digging in and fixing it
1477: [17:00:42] <UndefinedOffset> its breaking when there is no relationship (i.e modeladmin)
1478: [17:01:00] <UndefinedOffset> same reason i haven't merged yours, just haven't had a chance to dig into things
1479: [17:02:00] <catcher> UndefinedOffset, cool, that'll be a great feature once it works out.
1480: [17:02:34] <catcher> UndefinedOffset, as for mine, I've submitted a patch to SS core to add backwards-compat to the method that would've required branching on Sortable.
1481: [17:02:44] <UndefinedOffset> ah nice
1482: [17:03:00] <UndefinedOffset> I'm trying to find the time to get to them but i'm pretty burnt in the evenings lately
1483: [17:03:46] <catcher> UndefinedOffset, understood. You can skip mine for now, I'll re-submit once the core patch is merged in.
1484: [17:03:57] <UndefinedOffset> i've got a bunch of other things I want to get done as well, like pushing and announcing https://github.com/UndefinedOffset/eclipse-silverstripedt as well as the sqrl module which i want to build :)
1485: [17:04:06] <UndefinedOffset> ok cool
1486: [17:05:14] * SightUnseen has joined #silverstripe
1487: [17:06:29] <catcher> UndefinedOffset, any workarounds for the top sort in the meantime, or just temporarily ditch Sortable for manual numbering?
1488: [17:07:13] <UndefinedOffset> catcher well you could merge that patch for what ever your working on it just won't work for model admin which maybe what your using
1489: [17:07:27] <UndefinedOffset> technically*
1490: [17:07:38] <UndefinedOffset> you could use $default_sort='SortOrder DESC'
1491: [17:07:54] <UndefinedOffset> or just use sortorder desc in your retrieval code
1492: [17:08:17] <UndefinedOffset> it'd be confusing in the backend if you did it as the default sort
1493: [17:08:33] * SightUnseen1 has joined #silverstripe
1494: [17:08:36] <catcher> UndefinedOffset, yeah, I tried that and ran into some confusing scenarios for the client
1495: [17:08:50] <catcher> UndefinedOffset, when you say modeladmin, do you mean when relationships don't use the ORM?
1496: [17:09:15] * SightUnseen quit (Read error: Connection reset by peer)
1497: [17:09:24] <catcher> i.e. it's only working for ORM relations?
1498: [17:10:28] <UndefinedOffset> catcher ya thats the disadvantage to that you'd need to tell the client hey sort this in reverse order to how you want it on the front end lol. As for the modeladmin point sometimes I've seen/heard of people using sortable gridfield on ModelAdmin managed models. Technically do-able but there is no parent object. Something about the code in pull 42 caused it to expect there to be a parent relationship
1499: [17:10:52] * SightUnseen1 has left #silverstripe
1500: [17:12:27] * willmorgan quit (Quit: Ciao mateys.)
1501: [17:13:42] <catcher> UndefinedOffset, I use it in modeladmin all the time, it's been fine w/o pull 42. I'll probably just go with manual sort on those couple classes that need sort-to-top for now. Thanks for the info!
1502: [17:13:48] * cloph_away is now known as cloph
1503: [17:15:23] <UndefinedOffset> catcher yep exactly but if I merge 42 it won't lol which is why i need to fix it, its https://github.com/UndefinedOffset/SortableGridField/pull/42/files line 213-220 that need adjusting just need to find the time to play with it :)
1504: [17:21:58] * shakesoda grumbles... need to update a couple projects to 3.1 now
1505: [17:26:19] <shakesoda> does anyone know the rationale between the incredibly annoying public-to-private change for $db/$has_one/etc?
1506: [17:26:47] <shakesoda> I can find/replace as much as needed, it'd just be nice to know why it was changed.
1507: [17:27:30] <shakesoda> er, s/between/behind/
1508: [17:32:04] * chillu has joined #silverstripe
1509: [17:33:31] <AlphaCactus> shakesoda: I think its a security thing? but I don't remember really.
1510: [17:33:31] * chillu quit (Read error: Connection reset by peer)
1511: [17:33:47] * chillu has joined #silverstripe
1512: [17:34:24] <shakesoda> AlphaCactus: that seems strange.
1513: [17:35:47] <UndefinedOffset> shakesoada I think it was a performance thing, pretty sure they are now cached, chillu would know the rational for sure :)
1514: [17:37:58] <shakesoda> chillu: do you know the rationale for the public-to-private change for $db and friends?
1515: [17:38:53] <chillu> http://doc.silverstripe.org/framework/en/3.1/changelogs/3.1.0#static-properties-are-immutable-and-private-you-must-use-config-api :)
1516: [17:39:00] <shakesoda> chillu: thanks.
1517: [17:39:30] <chillu> In short: They're treated as immutable, because we copy their values into the config as a one-off compilation step
1518: [17:39:53] <shakesoda> I see
1519: [17:40:51] <shakesoda> that makes sense, it definitely didn't feel like something to break for the sake of breaking.
1520: [17:51:13] * joelpittet has joined #silverstripe
1521: [18:54:22] <andylockran> hey guys - can I encode a variable in the tmeplate?
1522: [18:54:48] <andylockran> eg, if I have a $Test variable that renders "Andy Cool" - can I format it to return "andy-cool"
1523: [18:55:24] <catcher> andylockran, best to do that sort of thing in your controller.
1524: [18:56:41] * skorp has left #silverstripe
1525: [19:02:32] * sekjal has joined #silverstripe
1526: [19:04:01] * sekjal quit (Client Quit)
1527: [19:19:48] * joelpittet quit (Remote host closed the connection)
1528: [19:20:04] * joelpittet has joined #silverstripe
1529: [19:24:05] * gelignite has joined #silverstripe
1530: [19:31:33] * CodeTrap has joined #silverstripe
1531: [19:33:21] * oddnoc has joined #silverstripe
1532: [19:34:59] * DigNZ has joined #silverstripe
1533: [19:36:58] * nickmolhoek has joined #silverstripe
1534: [19:40:22] * Pyromanik has joined #silverstripe
1535: [19:40:43] <Pyromanik> Company Swifts just got replaced with Fiat 500's
1536: [19:40:57] <Pyromanik> not sure if this was a good move.
1537: [19:47:00] <shakesoda> UndefinedOffset: landon says hi
1538: [19:54:35] <UndefinedOffset> lol
1539: [20:04:43] <guzzlefry> Is there a built-in registration form?
1540: [20:05:12] * stecman has joined #silverstripe
1541: [20:05:58] <Pyromanik> nope
1542: [20:06:05] <Pyromanik> guzzlefry: not hard to make one though.
1543: [20:07:01] <guzzlefry> hm
1544: [20:07:10] <guzzlefry> how would I stop them from getting into the CMS after?
1545: [20:07:43] <Pyromanik> return Form::create($this, __FUNCTION__, singleton('Member')->getCMSFields(), FieldList::create(FormAction::create('doRegistration', 'Register')), RequiredFields::create('Name','Email','Password'))
1546: [20:09:44] <Pyromanik> public function doRegistration($data, $form) { $member = Member::create(); $form->saveInto($member); $member->setAllYourPermissionsHereAddToGroupsEtc(); $member->write(); $member->logIn(); $this->redirect($this->Config()->registrationSuccessRedirectionURL); }
1547: [20:09:48] <Pyromanik> ... ish.
1548: [20:10:07] <guzzlefry> oh, seems like you can't access the CMS without permission. :P
1549: [20:10:08] <guzzlefry> thanks
1550: [20:11:53] <guzzlefry> Also, think I've hit a bug in DataList::Last(), or I was just getting trolled last night. :P
1551: [20:12:07] * tankr has joined #silverstripe
1552: [20:27:27] * studentdevpat has joined #silverstripe
1553: [20:29:37] * UncleCheese has joined #silverstripe
1554: [20:30:31] * UndefinedOffset quit (Quit: Leaving.)
1555: [20:33:39] <UncleCheese> isn't that what Requirements::combine_files() does?
1556: [20:34:56] <simon_w> Bit delayed there?
1557: [20:45:00] * zippy__ has joined #silverstripe
1558: [20:45:11] <zippy__> morin
1559: [20:45:27] <guzzlefry> morning
1560: [20:50:26] * nickmolhoek quit (Quit: nickmolhoek)
1561: [20:50:56] * nickmolhoek has joined #silverstripe
1562: [20:51:29] <UncleCheese> hey, remember my $1,200 power bill?
1563: [20:51:39] <UncleCheese> it got fixed!!!!!
1564: [20:51:54] <guzzlefry> yay
1565: [20:52:32] * joelpittet quit (Remote host closed the connection)
1566: [20:54:20] <simon_w> Remember my $60 power bill? I paid it!
1567: [20:54:29] <simon_w> trollolololo
1568: [20:54:34] <zippy__> UncleCheese: Jezus, you bitcoin mining!
1569: [20:57:49] <Pyromanik> bitcoin?
1570: [20:57:50] <Pyromanik> wut
1571: [20:58:02] <Pyromanik> UncleCheese: contratulations, glad that went well for you :)
1572: [20:58:48] <UncleCheese> Persistence
1573: [20:58:53] <UncleCheese> It was an error
1574: [20:59:10] <UncleCheese> They reduced it to a much more palatable $1,140
1575: [21:05:10] <guzzlefry> Are you running a server farm?
1576: [21:05:35] * gelignite quit (Quit: http://bit.ly/nkczDT)
1577: [21:09:39] * _dn has joined #silverstripe
1578: [21:15:24] <ss23> UncleCheese: Dude, are you serious?
1579: [21:15:27] <ss23> UncleCheese: Like... >.>
1580: [21:15:42] <UncleCheese> no
1581: [21:15:48] <UncleCheese> $235, baby!
1582: [21:16:12] <UncleCheese> however, if you cost out the time I spent trying to get them to listen to me, it's probably a wash
1583: [21:16:58] <spronk> that's sick
1584: [21:18:47] <ss23> woah, Zauberfisch23! :D
1585: [21:18:52] <ss23> Zauberfisch23: A+ work on those old issues, man
1586: [21:19:37] <spronk> but, awesome that they reduced it
1587: [21:25:48] * toddmorey quit (Quit: Leaving.)
1588: [21:31:20] * aznain has joined #silverstripe
1589: [21:31:20] * studentdevpat quit (Read error: Connection reset by peer)
1590: [21:31:54] <aznain> SS3: How can I use "In" clause in addWhere of SqlQuery ?
1591: [21:32:11] <aznain> I am trying to do something like this $sqlQuery->addWhere('find_in_set("DOArticle"."ID","{$articlearray}")');
1592: [21:32:41] <aznain> I am getting an error of unknown column $articlearray
1593: [21:33:33] <Pyromanik> aznain: why are you using SQLQuery?
1594: [21:34:01] <simon_w> Single quotes in PHP don't do variable substitution and double quotes in SQL denote a table/column name.
1595: [21:34:36] <guzzlefry> DOArticle::get()->filter("ID", array(1,2,3)); should work, right?
1596: [21:34:54] * guzzlefry takes a wild guess. >_>
1597: [21:35:09] <simon_w> Yes
1598: [21:35:11] <aznain> $issuesection = DOSection::get()->leftJoin("DOArticle", "\"DOArticle\".\"DOSectionID\" = \"DOSection\".\"ID\"")->where(" find_in_set(\"DOArticle\".\"ID\",'$articlearray')");
1599: [21:35:15] <aznain> it is working fine
1600: [21:35:34] <aznain> but I need to add PublishedDate from DOArticle as well
1601: [21:35:52] <Pyromanik> don't use where, use filter.
1602: [21:35:52] <aznain> I dont know how to add that column .. so I decided to use SqlQuery
1603: [21:36:31] <ss23> We get a call on our support number, conversation -> "So have you ever worked with SilverStripe in the past?" "Oh, no...?"
1604: [21:36:47] <ss23> The joys of having a product named the same as the company
1605: [21:36:49] <Pyromanik> filter(array('ID' => $arrayOfIDs, 'DOSection.blah' => $anotherArrayorwhatever))
1606: [21:37:28] <guzzlefry> ss23: You're supposed to say "SilverStripe Inc."
1607: [21:37:33] <guzzlefry> or LLC or whatever
1608: [21:37:36] <simon_w> Ltd
1609: [21:37:36] <Pyromanik> Ltd.
1610: [21:37:40] <Pyromanik> Limited.
1611: [21:38:17] <simon_w> Clubs get the Inc
1612: [21:38:33] * EasyCo has joined #silverstripe
1613: [21:39:49] <aznain> @Pyromanik: filter is supposed to used to with SqlQuery or in $issuesection = DOSection::get()->leftJoin("DOArticle", "\"DOArticle\".\"DOSectionID\" = \"DOSection\".\"ID\"")->where(" find_in_set(\"DOArticle\".\"ID\",'$articlearray')"); ?
1614: [21:40:00] <Pyromanik> filter is used with a get()
1615: [21:40:23] <Pyromanik> don't use where
1616: [21:40:26] <simon_w> aznain, you're trying to add a column you're getting from a LEFT JOIN. Have you thought about what that means?
1617: [21:40:27] <aznain> ok ...What if I want to add one column from DOArticle in result set then ?
1618: [21:41:01] <aznain> @simon_w: not really
1619: [21:41:03] <Pyromanik> aznain: it won't work, because it will build objects.
1620: [21:41:13] <Pyromanik> objects that do not have that extra column definition
1621: [21:41:24] <Pyromanik> thus the value will be ignored.
1622: [21:41:44] <Pyromanik> you can use it to filter to only get objects with relations that have said column, but said column will not show up on the resulting object created.
1623: [21:42:24] <aznain> So there is another way to add column from left join then
1624: [21:42:25] <aznain> ?
1625: [21:42:52] <aznain> thats why i was trying to use sqlquery .. but how to use IN clause .. became clueless
1626: [21:43:43] <guzzlefry> filter("column", array (value1, value2, etc));
1627: [21:43:46] <guzzlefry> I think.. :P
1628: [21:44:21] <Pyromanik> yes
1629: [21:44:30] <Pyromanik> not sure about on an sqlquery though guzzlefry
1630: [21:45:17] <aznain> @Pyromanik @guzzlefry : thats fine but that use in clause .. will not add column PublishedDate in the resultset
1631: [21:45:41] <simon_w> aznain, you still haven't thought about what the left join will return. You'll get a row for every DOArticle you match, leading to duplicate DOSections
1632: [21:46:26] <simon_w> Also, [10:34:01] <simon_w> Single quotes in PHP don't do variable substitution and double quotes in SQL denote a table/column name.
1633: [21:47:39] <aznain> Ok. let me run a generic query .. I will be back
1634: [21:52:08] <spronk> anyone here bought from mobicity?
1635: [21:52:52] <Pyromanik> aznain: mm, sounds like you want to DOArticle::get()->leftJoin()
1636: [21:53:06] <Pyromanik> I dunno.
1637: [21:53:09] <Pyromanik> busy.
1638: [21:53:57] <aznain> SELECT d . * , a.PublishedDate FROM `dosection` d LEFT JOIN `DOArticle` a ON d.ID = a.DOSectionID WHERE a.ID IN ( 27, 28, 29, 30, 31, 4, 5, 6, 7, 18, 19, 20 )
1639: [21:54:33] <aznain> this the result I want ... I want column from both DataObjects table
1640: [21:56:17] <aznain> Is there any way , after getting the result you can add/merge custom column/field in the result set ?
1641: [21:56:36] * toddmorey has joined #silverstripe
1642: [21:58:37] <guzzlefry> hrm
1643: [21:58:48] <guzzlefry> So it looks like you can only pass one Validator to a Form?
1644: [21:59:39] <simon_w> Yes
1645: [22:04:11] <guzzlefry> always something to learn. :P
1646: [22:04:22] * catcher quit (Quit: Leaving)
1647: [22:04:34] <guzzlefry> simon_w: You've been at this for around 6 years right?
1648: [22:04:50] <simon_w> Something like that?
1649: [22:05:47] <guzzlefry> Are you still learning new things about SilverStripe? :P
1650: [22:06:00] <simon_w> Not really :p
1651: [22:06:06] <guzzlefry> phew
1652: [22:06:09] <guzzlefry> Then there's hope.
1653: [22:06:23] * toddmorey quit (Ping timeout: 272 seconds)
1654: [22:06:53] * guzzlefry wonders if the FormField::validate() methods fire before the form validator.
1655: [22:07:10] <simon_w> Nope
1656: [22:07:12] <ss23> "PHP Fatal error: Tests can only run in "dev" mode in "
1657: [22:07:16] <ss23> How is this fixed for travis/master
1658: [22:07:24] <ss23> https://travis-ci.org/silverstripe-labs/silverstripe-fulltextsearch/jobs/12265031
1659: [22:07:53] <guzzlefry> hrm
1660: [22:07:53] <simon_w> guzzlefry, the default validator (RequiredFields) loops over each field calling ->validate($this)
1661: [22:08:12] <simon_w> If you're making a custom validator, you need to do that yourself
1662: [22:08:17] <Pyromanik> guzzlefry: field validator validates teh fields.
1663: [22:08:29] <Pyromanik> as simon_w just said :<
1664: [22:09:42] * violetina quit (Remote host closed the connection)
1665: [22:11:02] <guzzlefry> So...maybe I just do validation inside the form action. :P
1666: [22:11:31] <simon_w> Ewwww :p
1667: [22:12:59] * guzzlefry grumbles.
1668: [22:13:05] <guzzlefry> I guess now is the time to learn... :P
1669: [22:13:17] <guzzlefry> maybe uh..
1670: [22:13:23] <simon_w> Now is the time to buy me a faster machine! :p
1671: [22:13:49] <guzzlefry> class myValidator extends RequiredFields(), and then call parent::php() in my class?
1672: [22:14:12] <simon_w> That'd work
1673: [22:14:12] <guzzlefry> simon_w: I have a 512MB stick of SDRAM? >_>
1674: [22:14:24] <spronk> lol512mb
1675: [22:14:25] <simon_w> RAM's not the problem
1676: [22:14:28] <spronk> not even measured in gb
1677: [22:14:37] <guzzlefry> you yougins...
1678: [22:14:41] <simon_w> Also, I have two 4 GB chips of DDR3. Screw that :p
1679: [22:14:56] <guzzlefry> youngins*
1680: [22:15:36] <guzzlefry> 0.o
1681: [22:15:43] <guzzlefry> I'm using up almost 7GB of my 8GB...
1682: [22:15:56] <ss23> wtf on, guzzlefry
1683: [22:16:01] <guzzlefry> no clue
1684: [22:16:01] <ss23> Or are you including IO cache etc?
1685: [22:16:02] <guzzlefry> well
1686: [22:16:20] <guzzlefry> it's whatever Win7 considers when showing the pretty graph.
1687: [22:16:28] <ss23> Which pretty graph?
1688: [22:16:35] <ss23> Resource monitor is best way to view it I've found
1689: [22:16:39] * _dn quit (Ping timeout: 250 seconds)
1690: [22:16:40] <guzzlefry> Firefox is eating up 350MB.
1691: [22:16:42] <ss23> Is more explicit about where the ram is allocated
1692: [22:17:10] <guzzlefry> oh
1693: [22:17:14] <guzzlefry> still says 87% used.
1694: [22:17:58] <ss23> Hmm
1695: [22:18:18] <guzzlefry> It's neglecting to list what VirtualBox is using.
1696: [22:18:30] <Zauberfisch23> ss23: yeah, was waiting for a bloody server to boot up and thoug i could do something usefull while i wait
1697: [22:18:39] <ss23> Zauberfisch23: A+ useful :D
1698: [22:18:39] <guzzlefry> well, it says 90MB, but that's a lie. :P
1699: [22:18:55] <ss23> guzzlefry: Are you sure? Depending on "things", it'll use less ram than it has ot
1700: [22:18:58] <ss23> Kind of
1701: [22:19:00] <ss23> you know.
1702: [22:19:08] <guzzlefry> I know
1703: [22:19:09] <guzzlefry> but
1704: [22:19:16] <guzzlefry> I'm running PHPStorm in it :P
1705: [22:20:13] <spronk> heh, 8gb
1706: [22:20:17] <spronk> need 16
1707: [22:20:28] <spronk> i'm getting close to needing to upgrade, too :S
1708: [22:20:42] <spronk> need a 6core cpu so i can dedicate two cores to my vm collection
1709: [22:21:14] <simon_w> I should really invest in an actual Debian box rather than doing this all through a VM
1710: [22:21:30] <guzzlefry> I have a 2 core intel thingy
1711: [22:21:39] <guzzlefry> Hyperthreading!!!1
1712: [22:21:56] * spronk2 has joined #silverstripe
1713: [22:21:57] <simon_w> 2 core before or after hyper threading? :p
1714: [22:22:02] <guzzlefry> before
1715: [22:22:03] <Zauberfisch23> i have an i7 and 8gb or 16gb ram depending on what pc i use
1716: [22:22:17] <Zauberfisch23> and i use intellij, a bunch of vms, ...
1717: [22:22:22] <spronk> vms are so damn handy though
1718: [22:22:25] <spronk> mainly for snapshots etc
1719: [22:22:25] <Zauberfisch23> and i am doing pretty well
1720: [22:22:39] <Zauberfisch23> 8 gb is enough
1721: [22:22:43] <spronk> i dno..
1722: [22:22:56] <spronk> im on 90% phys memory used atm on 16gb
1723: [22:23:10] <guzzlefry> 0.o
1724: [22:23:12] <spronk> although i'm basically running a load balanced cluster of vms
1725: [22:23:36] <spronk> 3x front ends and 2x database, plus a winxp box
1726: [22:23:39] <Zauberfisch23> sure, you mightnot want to have all vms run at the same time on a 8gb pc,but i don't ned to anyway
1727: [22:23:48] <Zauberfisch23> oh, wait
1728: [22:23:53] <spronk> 256mb ram for each of the linux vms and 1gb for the win box
1729: [22:23:56] <Zauberfisch23> you are talking server hardware?
1730: [22:23:59] <simon_w> I have one VM running and 8 GB isn't enough
1731: [22:24:01] <spronk> nah, vms
1732: [22:24:09] <spronk> simon_w: you're on mac though, rihgt?
1733: [22:24:14] <spronk> mac os x chews memory like it's out of fashion
1734: [22:24:30] <simon_w> You keep believing that :p
1735: [22:24:34] <spronk> oh but it does
1736: [22:24:39] <simon_w> Nope
1737: [22:24:41] * spronk has run osx and windows side by side for many many years
1738: [22:24:41] <Zauberfisch23> yeah, inmy maci have 16gb
1739: [22:24:46] <spronk> macs are FAR more memory hungry
1740: [22:24:56] <spronk> the raw OS isn't really
1741: [22:25:00] <Zauberfisch23> and there i run severalvms just fine
1742: [22:25:16] <spronk> but big apps need a lot more RAM on mac os x than they do on windows
1743: [22:25:24] <spronk> adobe apps are a good example
1744: [22:25:40] <simon_w> It's well known that Adobe doesn't know how to write mac apps
1745: [22:25:43] <spronk> haha
1746: [22:25:49] <spronk> they don't know how to write windows apps either
1747: [22:25:51] <guzzlefry> s/mac//
1748: [22:25:57] <spronk> :D
1749: [22:26:02] <Zauberfisch23> who uses photoshop anyway? paint.net ftw!
1750: [22:26:02] <guzzlefry> They bought half of their products from Macrovision. :P
1751: [22:26:11] <simon_w> Macromedia?
1752: [22:26:15] <guzzlefry> err..that
1753: [22:26:15] <guzzlefry> :P
1754: [22:26:27] <guzzlefry> I need sleep, can you tell? :P
1755: [22:26:33] <spronk> OSX also doesn't seem to handle paging nearly as well as windows
1756: [22:27:09] * spronk used to have practically identical hardware on windows and mac, and the windows box coped a lot better under heavy memory load
1757: [22:27:17] <Zauberfisch23> but yeah, photoshop can be a pain in the arse, especially if your designerthinks its a good idea to have 1+gb psd files
1758: [22:28:09] <Zauberfisch23> thats why i have designers slice the stuff for me and just send me pngs
1759: [22:28:23] <spronk> heh yeah
1760: [22:28:25] <spronk> althoughj
1761: [22:28:28] <spronk> sometimes you need the layers :(
1762: [22:28:42] <simon_w> For reference, current memory usage: https://files.app.net/z4lvVtg6.png
1763: [22:28:45] <spronk> then you gotta go through the epic pain that is photoshp D:
1764: [22:28:56] <Zauberfisch23> if there are layersthat means the designer hast to make more pngs
1765: [22:29:20] <spronk> i like the way mail.app uses more memory than Outlook and does 1/4 of the things
1766: [22:29:22] <spronk> :LP
1767: [22:30:10] <simon_w> I like the way mail.app can actually render HTML emails :p
1768: [22:30:11] <Zauberfisch23> haha
1769: [22:30:22] <ss23> Outlook
1770: [22:30:24] <Pyromanik> BOOM
1771: [22:30:30] <ss23> Because fuck you, we're going back to the 90's of HTML rendering.
1772: [22:30:43] <spronk> yeah...
1773: [22:30:44] <Pyromanik> because fuck you word doesn't leverage trident.
1774: [22:31:04] <spronk> mail.app has its own flaws
1775: [22:31:11] <spronk> like the way it handles attachments
1776: [22:31:44] <simon_w> I'd assume most of my memory usage from mail comes from the massive amount of emails in it
1777: [22:31:59] * spronk has a shitton of email in outlook
1778: [22:32:08] <spronk> 109,220K atm
1779: [22:32:11] <spronk> would be... 10k? emails
1780: [22:32:22] <spronk> though a good portion of that is in Archived folders
1781: [22:32:43] <guzzlefry> spronk: My Outlook is using up around the same amount of RAM.
1782: [22:32:54] <simon_w> I have 13k emails in just one inbox :p
1783: [22:32:55] <guzzlefry> I have maybe 400 emails though. :P
1784: [22:32:58] <spronk> my pst file is... 2.5GB
1785: [22:33:06] * Colin[pi] has joined #silverstripe
1786: [22:33:13] <spronk> that's quite impressive, actually
1787: [22:33:17] <guzzlefry> It's probably from loading the base MS Office libs or something...
1788: [22:33:33] <spronk> and i would have had this copy of outlook open for at least a week straight
1789: [22:34:01] <spronk> maybe more..
1790: [22:34:03] <spronk> uptime is 35d
1791: [22:34:16] <simon_w> If you're not using Adobe or Mozzila products, leaks are fairly rear now
1792: [22:34:18] <simon_w> Which is nice
1793: [22:34:35] <spronk> yeah
1794: [22:34:40] <spronk> or chrome
1795: [22:34:49] <spronk> chrome doesn't leak per se
1796: [22:35:07] <guzzlefry> it consumes
1797: [22:35:11] <spronk> yeah
1798: [22:35:17] <guzzlefry> like Akira
1799: [22:35:18] <spronk> it doesn't give back :P
1800: [22:35:36] <guzzlefry> open source my ass! :P
1801: [22:35:41] <simon_w> It's like any of those Java-based IDEs
1802: [22:35:52] <spronk> haha
1803: [22:35:52] <spronk> yeah
1804: [22:35:56] <guzzlefry> meh
1805: [22:36:03] <spronk> zend studio 9 atm on my windows box is chewing up 500MB
1806: [22:36:11] <spronk> dno what the fuck it's using it for
1807: [22:36:13] <spronk> i have 3 files open
1808: [22:36:25] <guzzlefry> To be fair, with all of the code PHPStorm is indexing right now, it's not doing too bad with memory.
1809: [22:37:39] <spronk> so.. noone bought from mobicity?
1810: [22:39:16] <Pyromanik> nup
1811: [22:39:24] <Pyromanik> I take it they sell cheap telephones?
1812: [22:39:36] <Pyromanik> FUCK, SUDDENLY MEGA HUNGRY
1813: [22:39:54] <spronk> BURGER TIEM
1814: [22:41:04] * travis-ci has joined #silverstripe
1815: [22:41:04] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1309 (master - fee54c7 : Nathan J. Brauer): The build passed.
1816: [22:41:04] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/8c527eab40f7...fee54c75f05d
1817: [22:41:04] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12692062
1818: [22:41:04] * travis-ci has left #silverstripe
1819: [22:41:14] <Colin[pi]> hai2all
1820: [22:41:21] <simon_w> Morning Colin[pi]
1821: [22:41:48] <simon_w> Make your airport hurry up and finish the international part :p
1822: [22:42:00] <Colin[pi]> simon_w: might wanna check the blue mountains aren't a smouldering burnt pile when you arrive :P
1823: [22:42:13] <Colin[pi]> we won airport of the year! ^_^
1824: [22:42:21] <simon_w> Heh, yeah. I saw that
1825: [22:42:41] <simon_w> That's because, even with its lack of wifi and food, it's a nice building!
1826: [22:43:00] <Colin[pi]> it's amazing.. I felt like I was standing on the Enterprise
1827: [22:44:26] <simon_w> And since you can get the Qantas lounge wifi, it just needs food!
1828: [22:52:25] * DesignerX has joined #silverstripe
1829: [22:54:31] <Pyromanik> after creating a new doodacky in a gridfield, can I make it redirect back to the gridfield rather than to the details page of the new doodacky?
1830: [22:54:49] <Pyromanik> ... easily*
1831: [22:58:49] <Pyromanik> simon_w: ?
1832: [22:59:10] <simon_w> +HipHop Notice: File could not be loaded: hphp/test/quick/concat.php
1833: [22:59:12] <simon_w> WHY???
1834: [22:59:21] <spronk> Pyromanik: i would also like to know this
1835: [23:01:00] <ss23> simon_w: You forgot the file system libraries! It can't read files!
1836: [23:01:30] <ss23> updatedb on OSX is so damn slow
1837: [23:01:51] * toddmorey has joined #silverstripe
1838: [23:05:12] <spronk> ja
1839: [23:06:28] <guzzlefry> uh oh
1840: [23:06:33] * toddmorey quit (Ping timeout: 272 seconds)
1841: [23:06:44] <guzzlefry> The SMTPMailer add-on that I'm kind of in charge of now has a bug. :X
1842: [23:06:45] <ss23> sphagetti oh!
1843: [23:06:49] <ss23> lol
1844: [23:06:55] <ss23> fix it fix it fix it fix it fix it fix
1845: [23:06:56] <ss23> iut
1846: [23:07:05] <guzzlefry> I will when time permits!
1847: [23:07:23] <guzzlefry> It's going in my fancy issue tracker for now.
1848: [23:07:30] * guzzlefry is sophisticated.
1849: [23:08:55] <guzzlefry> I didn't even realize it was listed on the add-ons site.
1850: [23:10:04] <spronk> o_O
1851: [23:10:30] <guzzlefry> 0.o
1852: [23:10:32] <Pyromanik> guzzlefry: if it's on packagist it's on addons.ss.org
1853: [23:10:39] <guzzlefry> ..oh :P
1854: [23:10:48] <guzzlefry> That would explain it.
1855: [23:13:25] * guci0 quit (Ping timeout: 250 seconds)
1856: [23:13:31] * swdgsdg has joined #silverstripe
1857: [23:16:01] * swdgsdg quit (Client Quit)
1858: [23:16:47] * spronk2 quit (Quit: spronk2)
1859: [23:23:44] <spronk> so who's got xero shares?
1860: [23:23:57] <ss23> Not me!
1861: [23:24:02] <ss23> But would've been nice to, back in the day...
1862: [23:24:08] <spronk> fuckin
1863: [23:24:10] <spronk> $27
1864: [23:24:11] <spronk> this is INSANE
1865: [23:24:22] <ss23> Imagine if you had bought 1k shared at $2 a peice!!!!!
1866: [23:25:21] <spronk> one of our directors has 1.3m
1867: [23:25:24] <spronk> shares, that is
1868: [23:25:36] <EasyCo> I bought a couple of thousand at $6
1869: [23:25:43] <EasyCo> Sold at $14
1870: [23:25:49] <spronk> regretting? :p
1871: [23:25:55] <EasyCo> Just a little :)
1872: [23:26:11] <spronk> i was going to buy $10k worth at $8 share but thought it was pretty risky and decided against it
1873: [23:26:17] <EasyCo> It's a nice piece of software but… they have never turned a profit
1874: [23:26:25] <EasyCo> and their losses are growing every quarter
1875: [23:26:37] <aznain> SS3: $rissues->push(new ArrayData( array_merge( array('Issues' => $dlissues), array('Sections' => $issuesection), array('ThemedArticles' => $themedarticles), array('Articles' => $articles) ) ));
1876: [23:26:39] <spronk> at $17 a couple of weeks ago i thought surely it must plateau for a while
1877: [23:26:44] <spronk> but nope.
1878: [23:27:04] <EasyCo> It's a sentimental market
1879: [23:27:09] <spronk> yeah
1880: [23:27:16] <EasyCo> People don't give a shit about profitability anymore
1881: [23:27:17] <aznain> While looping Sections, I need to access variable of Issue ....
1882: [23:27:20] <spronk> big name investor and bang, +$1b to your market cap
1883: [23:27:27] <spronk> madness
1884: [23:28:22] <EasyCo> But to be honest I don't really care about why a share goes up, as long as it does :). It does however make it really hard to pinpoint a good share.
1885: [23:28:48] <spronk> yeah
1886: [23:28:58] <EasyCo> EPS? Who cares!
1887: [23:29:03] <spronk> before i boght house i had small portfolio
1888: [23:29:09] <spronk> too hard now
1889: [23:29:34] <spronk> i ended up making about 5% yoy, which wasn't that bad at the time
1890: [23:29:46] <spronk> but not that much better than sticking it in the bank tbh
1891: [23:29:58] <EasyCo> Yah, 5% isn't too flash.
1892: [23:30:06] <EasyCo> You're barely beating inflation after tax
1893: [23:30:17] <spronk> mm, though this was a couple of years ago when shit wasn't doing well
1894: [23:30:25] <EasyCo> Having said that, I'm around there as well :p
1895: [23:30:43] <spronk> i just don't ahve the time to properly research
1896: [23:31:05] <EasyCo> I bought some TSLA a couple of weeks ago. Probably the first time I buy a stock on the upper end of a run.
1897: [23:31:18] <EasyCo> But Tesla is just so fucking cool
1898: [23:31:32] <ss23> TELSA IS COOOOL
1899: [23:31:46] <EasyCo> Yah Elon Musk is my hero
1900: [23:32:47] <EasyCo> http://au.finance.yahoo.com/echarts?s=XRO.AX#symbol=xro.ax;range=6m;compare=;indicator=volume;charttype=area;crosshair=on;ohlcvalues=0;logscale=off;source=undefined;
1901: [23:32:48] <spronk> oo
1902: [23:32:59] <EasyCo> That's what I call a good 6m gain!
1903: [23:33:24] <spronk> the 1y is even more impressive
1904: [23:33:39] <spronk> +400%
1905: [23:33:46] * spronk cries
1906: [23:33:52] <EasyCo> Hehe yah, but 6 months is a a nice short period
1907: [23:33:54] <EasyCo> Haha
1908: [23:34:01] * EasyCo pats spronk on the back
1909: [23:34:49] <spronk> one of our directors is on the board at xero, so he can't really sell any of his shareholding
1910: [23:34:56] <spronk> but its worth like 33m atm :|
1911: [23:35:06] <ss23> shit, spronk
1912: [23:35:07] <ss23> can he like
1913: [23:35:10] <spronk> that's a few ferraris
1914: [23:35:13] <ss23> sell that off right now and leave the board?
1915: [23:35:16] <spronk> haha
1916: [23:35:17] <ss23> like, is it an option to him?
1917: [23:35:39] <spronk> the fact that they are all still there is a bit of an insight into their mindset
1918: [23:35:53] <spronk> they must really believe in the place
1919: [23:35:56] <ss23> They'll ride that ship into the GROUND.
1920: [23:36:15] <spronk> read an article comparing them to salesforce
1921: [23:36:20] <spronk> only difference is salesforce never really lost money
1922: [23:36:53] <EasyCo> That's why I sold. I got 3 quarterly reports in a row with increasing losses...
1923: [23:36:58] <EasyCo> Fuck that.
1924: [23:37:06] <spronk> mm
1925: [23:38:38] * SightUnseen has joined #silverstripe
1926: [23:40:23] * SightUnseen has left #silverstripe
1927: [23:42:11] * chillu quit (Quit: chillu)
1928: [23:47:35] * SightUnseen1 has joined #silverstripe
1929: [23:51:52] * SightUnseen1 quit (Ping timeout: 246 seconds)
1930: [23:53:35] <ss23> simon_w: lunch today? ^.^
1931: [23:53:57] <UncleCheese> ss23: lunch today?
1932: [23:54:05] <ss23> UncleCheese: Oh you wanna come? :D
1933: [23:54:14] <UncleCheese> no, i'm just trying to book you before simon_w
1934: [23:54:18] <ss23> oic
1935: [23:54:20] <ss23> UncleCheese: Why not come?
1936: [23:54:21] <ss23> :P
1937: [23:54:30] <UncleCheese> beetroot burgers again?
1938: [23:54:34] <ss23> hahah
1939: [23:54:39] <ss23> You can have whatever burgers you want!
1940: [23:54:46] <simon_w> That Bastard is good
1941: [23:54:59] <UncleCheese> is it a burger fuel day?
1942: [23:55:10] <simon_w> When isn't it?
1943: [23:55:28] <ss23> UncleCheese: Me and simon_w buy food almost every day
1944: [23:55:28] <ss23> :D

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