#silverstripe IRC Log

IRC log for 18 May 2015

All timestamps are in UTC.

1: [00:00:07] <zippy> no monkeys with there bag of maltesers trying to open then slowly but rustles the fuck out of them
2: [00:00:52] <Colin[pi]> zippy: https://www.youtube.com/watch?v=W9mKvb0W3Bk
3: [00:01:30] * joelpittet quit (Remote host closed the connection)
4: [00:01:49] * camfindlay has joined #silverstripe
5: [00:02:30] <zippy> Colin[pi]: mmhmm!
6: [00:02:50] * willr quit (Quit: willr)
7: [00:02:59] <Colin[pi]> zippy: errrytime
8: [00:04:09] <antmas> last time I went was for Thor 2 I think
9: [00:07:30] * camfindlay quit (Quit: camfindlay)
10: [00:07:44] * dospuntocero quit (Remote host closed the connection)
11: [00:08:12] * dospuntocero has joined #silverstripe
12: [00:12:31] * dospuntocero quit (Ping timeout: 252 seconds)
13: [00:17:27] <zippy> Stomach: before I dig too much, what is the "enabled" for with the catalog manager?
14: [00:17:35] <zippy> is "enabled" == "published"
15: [00:17:40] <Stomach> save and publish
16: [00:17:46] <zippy> right..
17: [00:18:03] <Stomach> if you want more actions you can use better buttons
18: [00:18:27] <zippy> I have better buttons
19: [00:18:29] <Stomach> but our clients generally only care if its "on" or "off"
20: [00:18:39] <zippy> just wondered what the Enabled was for in the grid title
21: [00:18:41] <Stomach> rather than staged, published, modified etc
22: [00:18:55] <Stomach> yeah its just published
23: [00:20:21] <antmas> catalog manager
24: [00:20:35] <antmas> is that like, page creation stuff for sitetreeless sites?
25: [00:21:23] <Stomach> yeah its the component for multiple children of a page in modeladmin
26: [00:21:25] * PapaBearNZ has joined #silverstripe
27: [00:24:12] <PapaBearNZ> Hi All. How would I change the name of a module's admin button in the CMS. I am using the QueuedJobs module and its Admin area in the CMS is labeled "Jobs" which is too close to our internal module "Jobs Admin for user job advertisment administration. I'd like to change the name of the QueuedJobs admin to "Queued Tasks". I've tried using the _config.yml - no effect, I've tried subclassing and using "Object::use_custom_cla
28: [00:24:31] <PapaBearNZ> ... in the CMS - One for Jobs and one for Queued Tasks
29: [00:24:46] <PapaBearNZ> I would rather not touch core code if I don't have to.
30: [00:24:54] <Colin[pi]> PapaBearNZ: does it have lang files?
31: [00:25:01] <PapaBearNZ> Can anyone suggest some possibilities to try?
32: [00:25:04] <zippy> PapaBearNZ: I think you can set title on the button
33: [00:25:10] <zippy> it's the add button right?
34: [00:25:42] <zippy> you can call ->setButtonName('Foo');
35: [00:25:44] <PapaBearNZ> Zippy - not the add button - the menu option on the LHS of the main CMS screen.
36: [00:25:51] <zippy> ohh
37: [00:25:54] <zippy> the model admin button
38: [00:25:56] <zippy> link
39: [00:26:21] <zippy> private static $menu_title = 'Me!';
40: [00:26:34] <PapaBearNZ> Colin - yes it has a lang file - but there's no entry for the name on the model admin button.
41: [00:26:48] <Colin[pi]> zippy: that'd be changing the core code
42: [00:27:08] <zippy> in the yaml I think you can do
43: [00:27:11] <zippy> QueuedJobs:
44: [00:27:14] <PapaBearNZ> zippy - yes - that's the item I need to change - how do I do that without touching core code inthe module.
45: [00:27:16] <zippy> menu_title: 'Foo'
46: [00:27:29] <Colin[pi]> I think he tried that zippy
47: [00:27:34] <PapaBearNZ> I tried that. It didn't appear to have any effect.
48: [00:28:01] <Colin[pi]> PapaBearNZ: did you ?flush ?
49: [00:28:17] <zippy> QueuedJobsAdmin:
50: [00:28:22] <zippy> MenuTitle: 'foo'
51: [00:28:35] <zippy> sorry, menu_title:
52: [00:29:03] <PapaBearNZ> Colin - yes - but let me try again as I have had issues lately with manifests not updating after a flush.
53: [00:29:15] <zippy> PapaBearNZ: and using the class name QueuedJobsAdmin
54: [00:29:27] <zippy> I wonder if php is before yaml or yaml before php
55: [00:29:31] <zippy> priority..
56: [00:29:32] <zippy> hm
57: [00:29:56] <PapaBearNZ> After: 'queuedjobs/*'
58: [00:30:06] <PapaBearNZ> --- QueuedJobsAdmin:
59: [00:30:12] <PapaBearNZ> menu_title: "Automated Tasks Queue"
60: [00:30:18] <PapaBearNZ> that's what I have in my yaml.
61: [00:30:25] <zippy> flushed?
62: [00:30:30] <PapaBearNZ> umm - except the --- is on it's own line.
63: [00:30:46] <PapaBearNZ> yes - even after a flush I get no apparent change.
64: [00:30:52] <zippy> it has a name/
65: [00:31:11] <zippy> hm
66: [00:31:13] <zippy> nm
67: [00:31:52] * dospuntocero has joined #silverstripe
68: [00:32:57] <Colin[pi]> that's actually a good point, how are admin menu items internationalised right now?
69: [00:33:02] <Colin[pi]> or... are they just not?
70: [00:34:08] <Stomach> PapaBearNZ - it should be before
71: [00:34:08] <Colin[pi]> "Menu title is *not* internationalised."
72: [00:34:10] <Colin[pi]> bam
73: [00:34:17] <Stomach> before = Higher Priority Than
74: [00:34:23] <Stomach> after = Lower Priority Than
75: [00:35:07] <UncleCheese> antmas you like my maintenance page?
76: [00:35:07] * dospuntocero quit (Remote host closed the connection)
77: [00:35:10] <Colin[pi]> PapaBearNZ: LeftAndMain has a static menu_title_for_class() method which is looking at the Config instance
78: [00:35:22] <Colin[pi]> $title = Config::inst()->get($class, 'menu_title', Config::FIRST_SET);
79: [00:35:39] <antmas> UncleCheese: XD love it
80: [00:36:03] <PapaBearNZ> Stomach - ok - I'll try that... one moment.
81: [00:36:16] <antmas> :O hi PapaBearNZ o/
82: [00:36:26] <Colin[pi]> UncleCheese: that <ul> left padding
83: [00:36:27] <Colin[pi]> ;P
84: [00:36:28] <PapaBearNZ> Hiya antmas !
85: [00:37:07] <UncleCheese> did anyone try to download SS 5.0?
86: [00:37:33] <antmas> UncleCheese: we tried all the things
87: [00:37:36] <UncleCheese> nice
88: [00:37:51] <antmas> UncleCheese: we also compared it to the silverstripe.org launch day :D
89: [00:37:53] <Colin[pi]> UncleCheese: yes, I clicked ;P
90: [00:37:55] <UncleCheese> been a while since i've gotten a rick roll under my belt
91: [00:37:59] <UncleCheese> antmas yeah, i saw that.. yawn
92: [00:38:07] <antmas> :P
93: [00:38:28] * antmas points at Colin[pi] ----->
94: [00:38:30] <antmas> he did it
95: [00:38:49] <Colin[pi]> what? huh? who? what? me?
96: [00:38:56] * Colin[pi] looks around sheepishly
97: [00:39:19] * DanaeNZ quit (Quit: DanaeNZ)
98: [00:41:53] <PapaBearNZ> Stomach: using "before" doesn't seem to have worked either. Can I change it with an Extension?
99: [00:42:26] <Stomach> nope :\
100: [00:43:13] <Colin[pi]> PapaBearNZ Stomach: is it to do with Config::FIRST_SET on the leftandmain method?
101: [00:43:22] <Colin[pi]> Config::FIRST_SET stops inheriting once the first class that sets a value (even an empty value) is encountered"
102: [00:49:38] * Stomach quit (Quit: zzz)
103: [00:51:54] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
104: [00:55:50] * dospuntocero has joined #silverstripe
105: [01:01:25] * dospuntocero quit (Remote host closed the connection)
106: [01:03:36] * Stomach has joined #silverstripe
107: [01:03:59] <Stomach> I'm not sure, that *should* work
108: [01:04:34] * DanaeNZ has joined #silverstripe
109: [01:05:25] * sealan has joined #silverstripe
110: [01:08:37] * antmas quit (Ping timeout: 246 seconds)
111: [01:09:51] * sealan quit (Ping timeout: 246 seconds)
112: [01:10:04] * willr has joined #silverstripe
113: [01:10:12] * antmas has joined #silverstripe
114: [01:11:57] <zippy> http://silverstripe.org/ not even loading?
115: [01:14:23] <antmas> zippy: mmm it's borked
116: [01:15:02] * Stomach quit (Quit: zzz)
117: [01:16:06] <spronk2> blame ss23
118: [01:16:14] <spronk2> its all his d\fau;lt
119: [01:16:15] <spronk2> fault
120: [01:16:30] <antmas> spronk2: lol you have a keyboard spazz just then?
121: [01:16:34] <micmania1> zippy: what error is it giving?
122: [01:16:45] <spronk2> maybe just a little antmas
123: [01:16:57] * Stomach has joined #silverstripe
124: [01:17:01] <zippy> micmania1: unable to connect
125: [01:17:39] * Tanger has joined #silverstripe
126: [01:18:07] <zippy> curl: (7) Failed to connect to silverstripe.org port 80: Operation timed out
127: [01:18:27] <zippy> ss23: has stopped running on the treadmill to power the servers
128: [01:20:11] <micmania1> zippy: should work now
129: [01:20:15] <micmania1> Can you try please?
130: [01:20:28] <Colin[pi]> ss.org working!
131: [01:20:43] <zippy> ta
132: [01:20:47] <zippy> working
133: [01:21:01] <Colin[pi]> hosted in AU? :o
134: [01:21:29] <zippy> amazon...
135: [01:21:33] <micmania1> Colin[pi]: yep, has been since the new site went live
136: [01:21:41] <Colin[pi]> o rly? huh
137: [01:21:50] <zippy> micmania1: will it scale? if hit by lots of traffic
138: [01:21:57] <micmania1> yep
139: [01:23:15] <Colin[pi]> sounds like an invitation to try zippy? ;D
140: [01:23:25] <zippy> well, it's just running pretty slow atm
141: [01:23:41] <micmania1> Problem was cause only out IPs were whitelisted :p
142: [01:23:54] <zippy> https://www.dropbox.com/s/7cfhju6qhdmgz29/Screenshot%202015-05-18%2013.23.52.png?dl=0
143: [01:24:23] <Ryan-Toast> Has the headings of pages always scrolled down, and lowered opacity?
144: [01:25:19] <zippy> micmania1: how long does it take to scale up?
145: [01:25:42] <micmania1> hmmm probably about 5 mins or so. 10 max.
146: [01:26:36] <micmania1> Ryan-Toast: I hope so
147: [01:26:42] <zippy> menus and things being cached?
148: [01:26:43] <Ryan-Toast> micmania1: I dislike it.
149: [01:26:56] * zippy pokes it with a stick
150: [01:27:16] <micmania1> Not 100% sure tbh. I just Ops things
151: [01:27:39] <zippy> micmania1: caching isn't turned on
152: [01:28:57] <adrexia> Ryan-Toast, you mean the transition effect?
153: [01:29:03] <Ryan-Toast> adrexia: yes.
154: [01:29:05] <adrexia> I think I like it
155: [01:29:09] <Ryan-Toast> Jus tthe moving in general.
156: [01:29:12] <adrexia> lol
157: [01:29:28] <adrexia> I'm less of a fan of the giant headers on every page
158: [01:29:37] * camfindlay has joined #silverstripe
159: [01:29:45] * camfindlay quit (Client Quit)
160: [01:29:51] <adrexia> because it's just stuff to scroll past
161: [01:29:56] <Ryan-Toast> adrexia: but how else will you know the website was made in 2014/2015?
162: [01:30:02] <adrexia> lol
163: [01:30:02] <adrexia> ;)
164: [01:30:09] <Colin[pi]> haha so true
165: [01:31:35] * travis-ci has joined #silverstripe
166: [01:31:36] <travis-ci> tractorcow/silverstripe-cms#58 (pulls/3.2/archive-actions - 38c7182 : Damian Mooyman): The build is still failing.
167: [01:31:36] <travis-ci> Change view : https://github.com/tractorcow/silverstripe-cms/compare/d6be8e5f227e...38c718230e95
168: [01:31:36] <travis-ci> Build details : http://travis-ci.org/tractorcow/silverstripe-cms/builds/62955677
169: [01:31:36] * travis-ci has left #silverstripe
170: [01:32:48] * Hailwood has joined #silverstripe
171: [01:43:22] * UncleCheese has joined #silverstripe
172: [01:44:10] * Stomach quit (Quit: zzz)
173: [01:49:09] * Stomach has joined #silverstripe
174: [02:02:07] * micmania1 quit (Quit: micmania1)
175: [02:13:47] * Cheddam_ quit (Quit: My Mac has gone to sleep. ZZZzzz…)
176: [02:13:53] <zippy> When using a GridField to add pages to a page, is it possible to set the parent?
177: [02:14:24] <DanaeNZ> I think you can add a hidden field with the name ParentID to the gridfieldeditform?
178: [02:14:34] <DanaeNZ> then set the value to be the parent ID
179: [02:15:15] <DanaeNZ> although if the relation is already there it should add automatically
180: [02:16:23] <adrexia> yeah, it can be a bit deceptive though - it only adds the relation after you save it
181: [02:16:42] <adrexia> though not sure if that's still true for pages
182: [02:17:36] <zippy> well the biggest issue is making the urlsegment field container the parent field segment as well
183: [02:18:21] * Cheddam has joined #silverstripe
184: [02:18:55] <DanaeNZ> hmmm, I think I tried to do that once
185: [02:19:06] <DanaeNZ> I think I gave up, actually
186: [02:19:11] <Stomach> zippy do like this:
187: [02:19:12] <Stomach> $detailForm = $gridField->getConfig()->getComponentByType('GridFieldDetailForm');
188: [02:19:12] <Stomach> if ($this->exists()) {
189: [02:19:12] <Stomach> $model = new ClinicalStudyDetailPage();
190: [02:19:12] <Stomach> $model->ParentID = $this->ID;
191: [02:19:12] <Stomach> $detailForm->setFields($model->getCMSFields());
192: [02:19:13] <Stomach> }
193: [02:19:34] <DanaeNZ> $detailForm->setFields($model->getCMSFields());
194: [02:19:36] <DanaeNZ> ahhh durrr
195: [02:19:39] <DanaeNZ> that’s what I was missing
196: [02:20:25] <Stomach> also make sure that you have `Versioned::reading_stage('Stage');` before you call your list get for the pages
197: [02:20:30] <Stomach> or get only staged versions
198: [02:20:32] <Stomach> or whatever
199: [02:20:44] <Stomach> because otherwise it fucks out if you are accidentally in live mode or something
200: [02:21:20] <zippy> and this would go in the
201: [02:22:57] <Stomach> getCMSFields for the parent page
202: [02:23:15] <Stomach> http://pastie.org/private/9mxlnfowsmpho6wfq0q
203: [02:23:31] <zippy> https://github.com/micschk/silverstripe-gridfieldsitetreebuttons/blob/master/code/GridFieldAddNewSiteTreeItemButton.php looks intersting
204: [02:24:03] <Stomach> hey that looks handy as fuck
205: [02:24:35] <Stomach> apart from the redirect that would happen to the page
206: [02:24:36] <Stomach> s
207: [02:24:38] <Stomach> section
208: [02:24:44] <Stomach> fucking space key
209: [02:24:52] <Stomach> YOU ARE NOT A RETURN
210: [02:32:11] <zippy> Stomach: decent, that works
211: [02:32:17] <zippy> extracted to function
212: [02:32:32] <UncleCheese> could i get a frontend guru to look at this section? https://github.com/silverstripe/one-ring-rentals/blob/master/tutorial.md#adding-some-ux-enhancements
213: [02:33:34] * antmas looks at link
214: [02:33:40] * antmas sees javascript
215: [02:33:46] * antmas goes back to work
216: [02:35:12] <Ryan-Toast> UncleCheese: What about tit?
217: [02:35:16] <Ryan-Toast> it**
218: [02:35:20] <UncleCheese> ha
219: [02:35:23] <Ryan-Toast> :P
220: [02:35:27] <UncleCheese> well, i've just never done anything with the history API
221: [02:35:37] <UncleCheese> is that typically what you do?
222: [02:36:05] <MichalKleiner> I see no space after IFs and my eyes cry
223: [02:36:30] <antmas> MichalKleiner: +1
224: [02:36:40] <antmas> also, don't eyes cry anyway? :D
225: [02:36:53] <MichalKleiner> not always afaik :-D
226: [02:37:12] <MichalKleiner> I wanted to write bleed but that would be too hard for one missing space :-D
227: [02:37:54] * Stomach quit (Quit: zzz)
228: [02:40:11] <adrexia> UncleCheese - if you abstract that out into a function it will be more testable
229: [02:40:19] <UncleCheese> hmm?
230: [02:40:20] <adrexia> (the bit that happens on done)
231: [02:40:26] <UncleCheese> oh
232: [02:40:31] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
233: [02:41:10] <UncleCheese> funny.. i put spaces after my function definitions, but not after ifs
234: [02:41:12] <UncleCheese> weird
235: [02:43:11] <MichalKleiner> in general it would be good to stick with some JS code formatting across all the tutorial, is there some preference or it's just how it feels each time?
236: [02:43:15] <MichalKleiner> https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml#Code_formatting
237: [02:43:28] <MichalKleiner> or http://javascript.crockford.com/code.html
238: [02:43:42] <MichalKleiner> maybe use some linter?
239: [02:43:50] <MichalKleiner> maybe in future? :-D
240: [02:44:21] <adrexia> js lint is good
241: [02:44:26] <antmas> "Use of tabs should be avoided because (as of this writing in the 21st Century) there still is not a standard for the placement of tabstops."
242: [02:44:31] <antmas> how about fuck you
243: [02:44:37] <adrexia> silverstripe also has js coding standards
244: [02:44:39] <adrexia> sort of
245: [02:44:51] <adrexia> but most involve entwine
246: [02:44:57] <Colin[pi]> antmas: yeah idgi
247: [02:45:26] <spronk2> spaces after if?
248: [02:45:31] <spronk2> before or after brackets?
249: [02:45:48] <antmas> before
250: [02:45:56] <spronk2> YOU CRAZY MOTHERFUCKERS
251: [02:46:02] <adrexia> lols
252: [02:46:02] <antmas> lel
253: [02:46:07] <spronk2> :D
254: [02:46:23] <spronk2> also, pretty much just run jshint on defaults
255: [02:46:59] <spronk2> then you dont have to worry about whether there's a space there or not. Because that shit is trivial and dumb.
256: [02:47:15] <adrexia> https://github.com/silverstripe/silverstripe-framework/blob/76c809fada921e834bc0578b2f661d111dcec3b3/docs/en/misc/coding-conventions/javascript.md
257: [02:47:20] * Stomach has joined #silverstripe
258: [02:47:48] <adrexia> spronk2, default but tabs not spaces :P
259: [02:48:06] <adrexia> because tabs should be used for... tabbing
260: [02:48:31] <Colin[pi]> adrexia: ikr? shocking isn't it
261: [02:48:34] <spronk2> yeah....
262: [02:48:39] <spronk2> i usually give in on the tabs thing
263: [02:48:43] <spronk2> when writing js
264: [02:48:47] <adrexia> apparently it's all controversial and everything ;)
265: [02:48:52] <simon_w|air> Vertical tabs only!
266: [02:48:59] <zippy> spaces
267: [02:49:05] <adrexia> spronk I do this: /*jslint browser: true, nomen: true, white: true */
268: [02:49:15] <adrexia> that'
269: [02:49:24] <adrexia> seems to work pretty well
270: [02:50:26] <spronk2> i wish there was just an 'indent' character
271: [02:50:29] <spronk2> and everyone used that.
272: [02:50:40] <spronk2> and the fucking rubyists stopped trying to line up all their fucking arguments
273: [02:50:48] <adrexia> I always thought the browser true thing was a given, then I built an app for HbbTV, which has a similar but different api
274: [02:51:06] <adrexia> spronk2> i wish there was just an 'indent' character
275: [02:51:07] <adrexia> there is
276: [02:51:10] <adrexia> its called tab
277: [02:51:11] <adrexia> ;)
278: [02:51:14] <antmas> spronk2: tab is exactly that though
279: [02:51:15] <zippy> space
280: [02:51:24] <antmas> it should just be CALLED indent on the key :P
281: [02:51:26] <spronk2> no
282: [02:51:28] <spronk2> tab isn't that
283: [02:51:30] <adrexia> hahaha
284: [02:51:40] <antmas> YES IT IS STOP IT
285: [02:51:41] <spronk2> tab has additional historical significance, which can cause some obscure problems
286: [02:51:41] <adrexia> well, that's hat tab was invented for
287: [02:51:42] <spronk2> :(
288: [02:51:57] <adrexia> spronk2, those people need to give up their prehistoric baggage
289: [02:52:06] <spronk2> hmmmmmmm
290: [02:52:12] <spronk2> tab isn't quite an indent though
291: [02:52:15] <antmas> zippy: I see you there btw, making sly space +1s
292: [02:52:15] <adrexia> 18<26antmas> YES IT IS STOP IT
293: [02:52:17] <adrexia> lols
294: [02:52:18] <adrexia> that ;)
295: [02:52:20] <spronk2> tab is all about moving to the next "tab stop"
296: [02:52:28] <antmas> DON'T THINK WE CAN'T SEE YOU DOING THATY
297: [02:52:50] <adrexia> spronk2, yes - which you can set and reset and all sorts of things that are hard with spaces
298: [02:52:53] <zippy> antmas: don't you need to upgrade some servers from 2003 to 2008 or something
299: [02:53:01] <antmas> spronk2: yeah it is if you care about word processors and old wiki pages :P
300: [02:53:13] <adrexia> plus a tab is a single chanracter... as opposed to 4 * spaces
301: [02:53:16] <adrexia> or 3
302: [02:53:23] <antmas> zippy: :P touche
303: [02:53:24] <spronk2> which is irrelevant in compiled code :P
304: [02:53:56] <adrexia> anyway - tabs caused problems in the past and now they don't
305: [02:54:04] <adrexia> LET'S USE TABS!
306: [02:54:07] <adrexia> :D
307: [02:55:27] <adrexia> spronk2, true - so long as you js is minified the difefrence is obsolete ;)
308: [02:55:36] <adrexia> it's really about workflow I think
309: [02:56:20] * spronk2 would prefer the world used tabs, because spaces are fucking stupid
310: [02:56:21] <spronk2> but
311: [02:56:28] <spronk2> most of the world seems to prefer spaces, because they're fucking stupid, so.... decision is made for me
312: [02:56:31] <adrexia> I never had an opinion, then I started working on projects that use spaces and noticed that everyone gets the spaces wrong. Or, in html templates, puts everything all on one line
313: [02:56:50] <adrexia> spronk2, you give in way way too easy ;)
314: [02:57:03] <spronk2> well
315: [02:57:04] <spronk2> tbh
316: [02:57:10] <spronk2> if you're not running your code thrugh an autoformatter
317: [02:57:12] <spronk2> you're probably doing it wrong
318: [02:57:16] <adrexia> :D
319: [02:58:07] <antmas> anything I run in VS goes to autoformat and makes it tabs if I use spaces :P
320: [03:01:03] <antmas> how would you pronounce the name 'Caio' ?
321: [03:01:09] <antmas> Chow? Choe
322: [03:01:12] <antmas> ?
323: [03:01:20] <antmas> See ow?
324: [03:01:43] <spronk2> Kai o
325: [03:01:46] <Colin[pi]> "kye-oh"?
326: [03:02:28] <antmas> mmm hard 'c' sound then
327: [03:02:36] <antmas> ah
328: [03:02:44] <antmas> youtube says 'Ka Yoo'
329: [03:03:29] <antmas> :o
330: [03:03:34] <antmas> google music got an update
331: [03:03:48] <zippy> Caio = chow
332: [03:04:15] <adrexia> I'd pronounce it kay-o or Kai-o
333: [03:04:23] * Stomach quit (Quit: zzz)
334: [03:04:31] <adrexia> ahh yeah 'Ka Yoo'
335: [03:04:37] <zippy> what is this? #lanaguage?
336: [03:04:37] <antmas> zippy: not the 'goodbye' word, the name
337: [03:04:47] <zippy> antmas: hells opened today
338: [03:04:51] * Stomach has joined #silverstripe
339: [03:05:01] <antmas> zippy: I know #excitebike
340: [03:05:27] <zippy> ahhh wttffffff https://hellpizza.com/nz/order/3814
341: [03:05:44] <adrexia> lol
342: [03:06:10] <antmas> zippy: lol was just about to say that
343: [03:09:12] * travis-ci has joined #silverstripe
344: [03:09:13] <travis-ci> tractorcow/silverstripe-cms#60 (pulls/3.2/archive-actions - a6c26bc : Damian Mooyman): The build is still failing.
345: [03:09:13] <travis-ci> Change view : https://github.com/tractorcow/silverstripe-cms/compare/38c718230e95...a6c26bcff5f1
346: [03:09:13] <travis-ci> Build details : http://travis-ci.org/tractorcow/silverstripe-cms/builds/62961209
347: [03:09:13] * travis-ci has left #silverstripe
348: [03:09:24] <zippy> exception: This field should save into a HTMLText or HTMLVarchar field
349: [03:09:26] <zippy> but it isssss!!!
350: [03:11:52] <zippy> HTMLText != HtmlText
351: [03:12:01] <zippy> .net amateur hour
352: [03:12:05] <Colin[pi]> :P
353: [03:15:03] <spronk2> FUCK
354: [03:15:08] <spronk2> ITS PI O CLOCK AND I HAVEN'T HAD LUNCH YET
355: [03:15:12] * Stomach quit (Quit: zzz)
356: [03:15:17] <spronk2> hahah
357: [03:15:21] <spronk2> good timing
358: [03:15:28] <zippy> ha
359: [03:15:33] <zippy> indeed!
360: [03:15:38] * Stomach has joined #silverstripe
361: [03:15:42] * Cheddam has joined #silverstripe
362: [03:15:43] <Colin[pi]> spronk2: it's 3.14159265359 o'clock?
363: [03:15:50] <zippy> Colin[pi]: he was pretttty close
364: [03:15:50] <spronk2> well
365: [03:15:51] <spronk2> let's go with
366: [03:15:52] <spronk2> yes
367: [03:15:53] <spronk2> it was
368: [03:16:02] <zippy> must of set a timer for tha tone
369: [03:16:06] <zippy> *that one
370: [03:16:12] <spronk2> actually it was just completely coincidental
371: [03:16:14] * micmania1 has joined #silverstripe
372: [03:17:07] <zippy> like that accidental fart when you walk past someone...
373: [03:17:11] <zippy> suck it Dave!
374: [03:17:34] <antmas> zippy: LOL
375: [03:17:56] <spronk2> hahaha
376: [03:18:14] <antmas> actually had a meeting with someone last week and they accidentally farted
377: [03:18:21] <antmas> worst part is THEY DIDN'T SAY ANYTHING
378: [03:18:23] <Colin[pi]> lol!
379: [03:18:33] <antmas> so awkward
380: [03:18:36] <Colin[pi]> "ok maybe no one heard it, act cool, just act cool"
381: [03:18:41] <antmas> lol
382: [03:18:51] <antmas> I even chuckled a little bit and still nothing
383: [03:19:11] <antmas> stone cold faced fater
384: [03:19:15] <antmas> farter*
385: [03:21:50] <Colin[pi]> antmas: I often see the "old man in the milk section of the supermarket" farters
386: [03:22:01] <Colin[pi]> just some old guy guy buying milk and "toot"
387: [03:22:09] <Colin[pi]> walks off like nothing happened
388: [03:23:23] <antmas> LOL
389: [03:23:26] <antmas> hahah
390: [03:23:59] <Colin[pi]> the number of times I've seen that
391: [03:24:11] <antmas> either the milk section, egg section or bread section
392: [03:24:15] <antmas> 'thrrrrp'
393: [03:27:01] <zippy> damn the milk is bad this week, phheww
394: [03:27:33] <zippy> antmas: what did you expect them to say in the meeting? "These chairs don't muffle the sound very well do they?"
395: [03:28:43] <antmas> zippy: lol I dunno, say sorry for making the tiny meeting room smell like a hot corpse?
396: [03:29:01] <Colin[pi]> antmas: they should have done this: https://www.youtube.com/watch?v=kY4Ytj0itGo
397: [03:29:01] <zippy> christ, guy at school let one go in assembly on those old wodden bench chairs, loud, as, fuck!
398: [03:31:30] <antmas> zippy: hahaha
399: [03:31:38] <Colin[pi]> zippy: kinda reverberates through the wood?
400: [03:31:39] <antmas> mmm I remember a mate sitting next to me
401: [03:31:44] <antmas> in assembly
402: [03:31:49] <antmas> those old bench wooden seats
403: [03:31:50] * Stomach quit (Ping timeout: 256 seconds)
404: [03:32:02] <antmas> sneazed REAL loud
405: [03:32:28] <antmas> splurted out what looked like a veiny jellyfish onto the floor and the whole assembly erupted lol
406: [03:32:36] <Colin[pi]> eeeeeeuw
407: [03:32:50] <DanaeNZ> aw sick I leave for ten minutes and looks what the irc has degraded to
408: [03:32:51] <DanaeNZ> lmao
409: [03:32:57] <antmas> lol
410: [03:33:17] <antmas> DanaeNZ: you haven't seen anything yet
411: [03:33:23] <antmas> ^.^
412: [03:33:54] <DanaeNZ> *backs away slowly*
413: [03:34:00] <antmas> chickenbutt is usually my cue to have a break from irc for a bit :P
414: [03:34:29] <Colin[pi]> SS IRC... dickbutts all the way down http://i.imgur.com/kcpfvcS.gif
415: [03:34:58] <antmas> lol
416: [03:36:19] * Stomach has joined #silverstripe
417: [03:40:04] <zippy> Stomach: that snippet works fine on new pages, but if used on a grid when editing it breaks any sub grids it seems
418: [03:40:27] <zippy> For example, if the page that we want to edit has a grid for say, images, then the relation isn't kept
419: [03:40:43] <zippy> to do wit this; // $detailForm->setFields($model->getCMSFields());
420: [03:45:25] * antmas quit (Ping timeout: 246 seconds)
421: [03:47:26] * travis-ci has joined #silverstripe
422: [03:47:27] <travis-ci> tractorcow/silverstripe-cms#61 (pulls/3.2/archive-actions - a8318f2 : Damian Mooyman): The build is still failing.
423: [03:47:27] <travis-ci> Change view : https://github.com/tractorcow/silverstripe-cms/compare/a6c26bcff5f1...a8318f2c4308
424: [03:47:27] <travis-ci> Build details : http://travis-ci.org/tractorcow/silverstripe-cms/builds/62963135
425: [03:47:27] * travis-ci has left #silverstripe
426: [03:52:33] <Stomach> zippy :(
427: [03:52:44] <zippy> mm
428: [03:52:48] <zippy> sad panda
429: [03:53:02] <zippy> might check in with wmk later
430: [03:59:35] <Stomach> are you using catalogmanager for it, or just a normal gridfield?
431: [03:59:46] <Stomach> we need a default solution for this, I keep having issues with it too
432: [04:03:36] <zippy> just a normnal gridfield
433: [04:03:43] <zippy> as I want the parent page to be in the site tree still
434: [04:03:49] <zippy> and then manage the children in a grid
435: [04:04:25] <zippy> Stomach: might shift to https://github.com/micschk/silverstripe-gridfieldpages perhaps. but I will have a talk with wmk
436: [04:04:58] <Stomach> your parent page can be in the sitetree still with catalogmanager :P
437: [04:05:14] <Stomach> it just changes the edit for and stuff - can all be used with sitetree and whatnot too
438: [04:06:19] <zippy> but do you use a gridfield (like that snippet) to manage the children?
439: [04:09:36] <Stomach> yeah
440: [04:10:05] <Stomach> just change the item request to use the catalogmanageritemrequest rather than the default one
441: [04:11:09] <zippy> ?
442: [04:11:14] * jules0x has joined #silverstripe
443: [04:11:26] <zippy> I don't see an ItemRequest~ component listed
444: [04:11:39] <jules0x> drwawing a blank here
445: [04:11:47] <jules0x> how can I set a readonly date/time field in the CMS?
446: [04:12:19] <zippy> $fields->addFieldToTab('Root.Main', ReadOnlyField::create('Date', 'Date', 'Something'));
447: [04:12:38] <jules0x> thanks zip
448: [04:13:12] <jules0x> end of the day. I was trying to use a literal field :D
449: [04:13:19] <Stomach> http://pastie.org/private/9mxlnfowsmpho6wfq0q#18
450: [04:13:27] <Stomach> that sets the itemrequestclass
451: [04:15:08] * babak has joined #silverstripe
452: [04:15:18] <zippy> Stomach: right.... I am already using that
453: [04:15:25] <Stomach> oh, weird then
454: [04:15:26] <Stomach> :P
455: [04:15:40] <zippy> so if on your ClinicalStudyDetailPage you had a has_many with say, Details
456: [04:15:53] <zippy> then that grid will be empty and adding anything will not set the owner
457: [04:15:59] <zippy> so the relation is dropped
458: [04:16:12] <zippy> if I comment out lines 23->27 then it works fine
459: [04:16:21] <zippy> but when I go to add it's missing that relation to the parent :)
460: [04:16:27] * wmk has joined #silverstripe
461: [04:16:29] <zippy> wmk!
462: [04:17:15] <zippy> so it's like I need to check if the item I am editing is existing and not run that, but I can't access the record from there...
463: [04:20:47] <Stomach> yeah its a pain in the ass
464: [04:20:59] <Stomach> sitetree handles it by just creating a new object and saving it when you click add new
465: [04:21:04] <Stomach> which gridfield doesnt do
466: [04:21:27] <zippy> I wonder if I should look at using that dudes button
467: [04:22:19] <Stomach> if you're still within site tree
468: [04:22:23] <Stomach> then it makes sense right?
469: [04:24:08] <zippy> yea
470: [04:24:16] <zippy> 5 minutes, can we do it!
471: [04:24:21] <wmk> zippy, o/
472: [04:25:44] <zippy> wmk: you use the CatalogManager to manage pages right? do you use it as a GridField on the parent page with the parent page still in the SiteTree?
473: [04:26:13] <wmk> nope, as modeladmin
474: [04:26:18] <wmk> parent page is in sitetree,
475: [04:26:29] <wmk> children... i tend to exclude them from sitetree
476: [04:27:09] <zippy> yea, so the children are excluded which is all good
477: [04:27:24] <zippy> but don't want to do them as a model admin, just want to do them on the page themselves
478: [04:27:33] <zippy> maybe I should just admit defeat and use the model admin
479: [04:29:10] <wmk> well, catalogmanager is for modeladmin
480: [04:29:12] <zippy> Stomach: that module doesn't work as expected
481: [04:29:23] <wmk> lumberjack also does gridfield in page
482: [04:29:25] <zippy> *sigh*
483: [04:29:40] <Stomach> zippy - try lumberjack :P
484: [04:29:46] <zippy> :P
485: [04:35:33] <zippy> herm
486: [04:35:36] <zippy> Almost works
487: [04:36:00] <zippy> it will hide the items from the SiteTree, but when you click on the item to edit it then it appears in the SiteTree
488: [04:36:00] <zippy> weird
489: [04:36:10] <zippy> adding and editing works
490: [04:36:13] <zippy> will loo kinto more
491: [04:37:43] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
492: [04:42:03] * wmk quit (Ping timeout: 276 seconds)
493: [04:42:36] * jules0x quit (Quit: Leaving)
494: [04:42:44] <spronk2> OH MY GOD
495: [04:42:52] * sealan has joined #silverstripe
496: [04:42:52] <spronk2> i just spent almost all day debugging modified_at vs updated_at
497: [04:46:26] * travis-ci has joined #silverstripe
498: [04:46:27] <travis-ci> tractorcow/silverstripe-cms#62 (pulls/3.2/archive-actions - 89ed276 : Damian Mooyman): The build is still failing.
499: [04:46:28] <travis-ci> Change view : https://github.com/tractorcow/silverstripe-cms/compare/a8318f2c4308...89ed276d90d0
500: [04:46:28] <travis-ci> Build details : http://travis-ci.org/tractorcow/silverstripe-cms/builds/62965995
501: [04:46:28] * travis-ci has left #silverstripe
502: [04:47:21] * sealan quit (Ping timeout: 256 seconds)
503: [04:51:25] * Vedran__ has joined #silverstripe
504: [04:55:27] * helenclarko quit (Quit: Page closed)
505: [04:56:07] * PapaBearNZ quit (Ping timeout: 246 seconds)
506: [05:01:26] * Stomach quit (Quit: zzz)
507: [05:02:29] * Stomach has joined #silverstripe
508: [05:17:11] * Stomach quit (Quit: zzz)
509: [05:20:22] * DanaeNZ quit (Quit: DanaeNZ)
510: [05:23:36] * Liquide quit ()
511: [05:23:38] * willr quit (Quit: willr)
512: [05:24:43] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
513: [05:29:24] <Vedran__> Hi, where would I upload /store core assets (ie. Logo, Project Name[for Title], etc)? Does SS have a section for this or do I need to create an Object?
514: [05:32:26] <simon_w|air> Vedran__, SiteConfig
515: [05:32:36] * Ryan-Toast quit (Quit: Ryan-Toast)
516: [05:32:40] <simon_w|air> It's the "Settings" tab in the CMS
517: [05:33:58] <Vedran__> simon_w|air: How can I extend it (for instance, to add a logo) that will be accessible across all pages on the front end?
518: [05:35:17] <simon_w|air> Vedran__, with a DataExtension. The docs page on SiteConfig has an example.
519: [05:35:30] <Vedran__> simon_w|air: thank you Sir :)
520: [05:36:15] * Hailwood quit (Remote host closed the connection)
521: [05:46:45] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
522: [05:55:03] * travis-ci has joined #silverstripe
523: [05:55:04] <travis-ci> tractorcow/silverstripe-cms#63 (pulls/3.2/archive-actions - 4e38cab : Damian Mooyman): The build was fixed.
524: [05:55:04] <travis-ci> Change view : https://github.com/tractorcow/silverstripe-cms/compare/89ed276d90d0...4e38cabfe276
525: [05:55:04] <travis-ci> Build details : http://travis-ci.org/tractorcow/silverstripe-cms/builds/62969712
526: [05:55:04] * travis-ci has left #silverstripe
527: [05:56:46] * sealan has joined #silverstripe
528: [06:00:22] * Stomach has joined #silverstripe
529: [06:00:44] * Arcax has joined #silverstripe
530: [06:01:19] * Mike123 has joined #silverstripe
531: [06:01:29] <Arcax> Hi, good morning.
532: [06:02:06] * Shrike_Finland has joined #silverstripe
533: [06:04:32] <ss-helper> SilverStripe 3.2 Beta1 - Yes this is actually happening - https://groups.google.com/d/msg/silverstripe-dev/8Y5xNSAEUfA/eJ_LSWdzKKoJ
534: [06:06:26] * micmania1 quit (Quit: micmania1)
535: [06:07:20] * Cheddam has joined #silverstripe
536: [06:10:17] * Stomach quit (Quit: zzz)
537: [06:12:59] * Error404NotFound has joined #silverstripe
538: [06:15:10] * veb quit (Quit: veb-irc: &)
539: [06:18:02] * r_hector has joined #silverstripe
540: [06:22:34] * Stomach has joined #silverstripe
541: [06:25:27] * Stomach quit (Client Quit)
542: [06:27:23] * Stomach has joined #silverstripe
543: [06:40:23] * Shrike_Finland quit (Quit: Leaving.)
544: [06:45:09] * Stomach quit (Quit: zzz)
545: [06:47:18] * wmk has joined #silverstripe
546: [06:48:46] * Eliseth has joined #silverstripe
547: [06:49:52] * mahfuz quit (Ping timeout: 246 seconds)
548: [06:53:08] <wmk> wow, 3.2 beta on the road
549: [06:53:15] <adrexia> I... don't beleive it
550: [06:54:20] <adrexia> :D
551: [06:57:08] * sealan quit (Remote host closed the connection)
552: [06:57:27] <simon_w|air> Don't believe it until they tag it :p
553: [06:58:56] * veb has joined #silverstripe
554: [06:59:06] * veb quit (Client Quit)
555: [06:59:45] * micmania1 has joined #silverstripe
556: [07:00:11] * sealan has joined #silverstripe
557: [07:02:29] <adrexia> simon_w|air, I'm sure it'll happen one of these days
558: [07:02:51] <adrexia> I mean... it's not Drupal ;)
559: [07:04:17] * sealan quit (Remote host closed the connection)
560: [07:07:16] <wmk> adrexia, there is a mail on dev list, so...
561: [07:07:29] <wmk> at least claiming they're working hard on that
562: [07:07:33] <simon_w|air> adrexia, I'm also now hesitant than 3.2 is a good thing, given the BC breaks needed for PHP7 support
563: [07:07:48] <simon_w|air> wmk, there's also mail on the dev list about switching to tinyMCE 4
564: [07:08:03] <wmk> simon_w|air, never change a running editor
565: [07:08:05] <wmk> *duck*
566: [07:12:49] <simon_w|air> Does someone on the mailing list want to ask when they're going to make the BC breaks necessary for PHP7 support?
567: [07:14:14] * arnhoe has joined #silverstripe
568: [07:14:41] * sealan has joined #silverstripe
569: [07:14:54] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
570: [07:16:51] * Eliseth has joined #silverstripe
571: [07:20:07] * Colin[pi] quit (Ping timeout: 258 seconds)
572: [07:22:39] * Stomach has joined #silverstripe
573: [07:22:49] <simon_w|air> Home time!
574: [07:32:54] * Vedran__ quit ()
575: [07:35:41] * micmania1 quit (Quit: micmania1)
576: [07:48:15] * Stomach quit (Quit: zzz)
577: [07:53:43] * micmania1 has joined #silverstripe
578: [08:04:35] * GioVdK has joined #silverstripe
579: [08:23:16] * zippy has joined #silverstripe
580: [08:23:42] <zippy> evening
581: [08:25:52] * kinglozzer has joined #silverstripe
582: [08:36:59] <wmk> zippy, morning
583: [08:37:11] * swaiba has joined #silverstripe
584: [08:42:47] <zippy> wmk: elo
585: [08:46:40] * PyfGuouk has joined #silverstripe
586: [08:46:45] <PyfGuouk> fuck'n
587: [08:47:02] * veb has joined #silverstripe
588: [08:47:03] <PyfGuouk> looking at commits. Last commit: 1:29am Saturday :<
589: [08:47:07] <PyfGuouk> fffffff work.
590: [08:47:27] <PyfGuouk> then the person that was supposed to check the system for sanity over the weekend (like, Sat morning) didn't do what they said, AT ALL.
591: [08:47:38] <PyfGuouk> Fuck'n went to bed at 3am to get shit done.
592: [08:47:45] <PyfGuouk> no, 4am :/
593: [08:49:29] * elgabbu has joined #silverstripe
594: [08:50:07] * UncleCheese has joined #silverstripe
595: [08:50:49] * Stomach has joined #silverstripe
596: [08:51:11] <wmk> PyfGuouk, vice versa would be better
597: [08:52:17] <PyfGuouk> haha, true!
598: [08:53:39] <PyfGuouk> tbh though, back in not so joking land, exactly what I expected to happen. But at least I did what I needed to by the time I needed to do it by.
599: [08:53:54] <PyfGuouk> It's just a shit that I won't be getting time and a half for it.
600: [08:54:24] <PyfGuouk> Just, accumulate the time in lieu
601: [08:54:42] <PyfGuouk> which isn't so bad, now I'm back up over 2 weeks of paid leave :>
602: [08:58:59] <zippy> wmk: you used lumberjack?
603: [09:00:45] * zippy is downloading the new Komodo IDE....
604: [09:00:49] * zippy feels like a badass
605: [09:07:15] <zippy> will it be better than phpstorm.... hmm
606: [09:07:18] <zippy> hopefully uses less ram
607: [09:07:25] * PyfGuouk quit (Ping timeout: 246 seconds)
608: [09:07:49] * micmania1 quit (Quit: micmania1)
609: [09:10:38] <wmk> zippy, not yet
610: [09:11:13] <wmk> zippy, put more RAM in your machine!
611: [09:11:56] <zippy> https://www.dropbox.com/s/bfmd3fmhaemqder/Screenshot%202015-05-13%2009.24.15.png?dl=0
612: [09:11:59] <zippy> rams
613: [09:12:15] <ss23> wtf
614: [09:12:16] <ss23> 40gb
615: [09:12:18] <ss23> no
616: [09:12:27] <wmk> spotify, not phpstorm
617: [09:12:50] <zippy> yea but phpstorm 1.5gb
618: [09:12:54] <zippy> for text files
619: [09:13:01] <zippy> not movies or psds or anything
620: [09:13:04] <wmk> oh, and indexing a huge project
621: [09:13:16] <wmk> all that auto complete luxury
622: [09:13:29] <wmk> IDE is more than "just a text editor"
623: [09:13:32] * micmania1 has joined #silverstripe
624: [09:13:41] <zippy> yea, but the files are what.... 30mb maybe
625: [09:13:52] * sealan quit (Remote host closed the connection)
626: [09:14:19] * sealan has joined #silverstripe
627: [09:14:44] * micmania1 quit (Client Quit)
628: [09:20:27] * spronk2 quit (Quit: I may need a longer sleep timer...)
629: [09:26:17] * benjhocking has joined #silverstripe
630: [09:27:14] * Pyesoomk has joined #silverstripe
631: [09:32:56] * sealan_ has joined #silverstripe
632: [09:36:55] * sealan quit (Ping timeout: 265 seconds)
633: [09:42:40] <Pyesoomk> 20 to 11.
634: [09:42:53] <Pyesoomk> Get a call "hurp durp dunno what I'm looking at"
635: [09:43:14] <Pyesoomk> FFFFFFFFFFFFFFFFFFFFFF YOU SAID ALL THE RIGHT THINGS IN YOUR EMAIL ON FRIDAY, HOW HAVE YOU FORGOTTEN WHAT TO CHECK!?
636: [09:43:59] <ss-helper> send a message to an updated number in silverstripe - http://stackoverflow.com/questions/30299519/send-a-message-to-an-updated-number-in-silverstripe
637: [09:45:46] <Pyesoomk> omfg that stack overflow question
638: [09:45:48] <Pyesoomk> hahahahahahaahha
639: [09:53:40] <Pyesoomk> 'I update member, but sms sends to old number' - look at code: sendSMS(); updateMember(); // uhh... might wanna do them backwards!
640: [09:56:24] * Colin[pi] has joined #silverstripe
641: [10:02:04] * DimiStripe has joined #silverstripe
642: [10:18:17] <zippy> :)
643: [10:18:58] <Pyesoomk> \o zippy
644: [10:19:06] <Pyesoomk> !waveto zippy
645: [10:19:18] <zippy> :)
646: [10:19:35] <zippy> that gives me a funny idea
647: [10:19:37] <zippy> anyway
648: [10:19:44] <zippy> that stack question is funny, glade to give you some humor
649: [10:19:57] <zippy> well, ss-helper
650: [10:20:06] <Pyesoomk> glade!
651: [10:20:16] <zippy> plug it in plug it in
652: [10:20:23] <Pyesoomk> D:
653: [10:20:29] * micmania1 has joined #silverstripe
654: [10:20:54] <Pyesoomk> zippy: how dare you use that sentence! one that conjures up both sexual innuendos and mosquitos.
655: [10:21:12] <Pyesoomk> two things that should never be thought about in the same process.
656: [10:21:39] <Pyesoomk> Decorating your member with mozziebites D:
657: [10:21:46] <wmk> OUCH!
658: [10:22:05] <Pyesoomk> class MosquitoBite extends DataExtension...
659: [10:22:22] <wmk> hmm, MosquitoByte ?
660: [10:22:26] <Pyesoomk> lulz
661: [10:22:42] <wmk> 8 Mosquito bites
662: [10:24:31] <Pyesoomk> sup micmania1
663: [10:24:33] <Pyesoomk> areet?
664: [10:24:38] <micmania1> areet
665: [10:28:06] <Pyesoomk> Fuck, nothing worse than being blamed for something you didn't do.
666: [10:28:14] <Pyesoomk> Especially by the fucking person who was supposed to do it!
667: [10:28:48] <wmk> oh
668: [10:28:55] <Pyesoomk> madness
669: [10:30:11] <zippy> why do this https://github.com/silverstripe/silverstripe-blog/blob/master/code/model/BlogPost.php#L167
670: [10:32:25] * Stomach quit (Quit: zzz)
671: [10:32:32] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
672: [10:33:13] <micmania1> zippy: so you can order fields correctly in a DataExtension
673: [10:33:35] <micmania1> otherwise the field gets added after ->extend(‘updateCMSFields’, $fields) gets called
674: [10:33:38] <zippy> I tought dataextensions got called after
675: [10:33:42] <zippy> *thought
676: [10:33:42] <zippy> ah ok
677: [10:33:45] <zippy> odd
678: [10:33:54] <micmania1> nope, ->extend gets called in SiteTree::getCMSFelds()
679: [10:34:28] * spronk2 has joined #silverstripe
680: [10:37:01] * Mike123 quit (Ping timeout: 246 seconds)
681: [10:41:23] * terryapodaca has joined #silverstripe
682: [10:41:49] <zippy> micmania1: it looks like you use the new blog module a bit. When you click on a blog post (via the grid field) does the blog post show in the site tree (even thou it's been set not too)
683: [10:42:09] <micmania1> yep
684: [10:42:14] <zippy> bug?
685: [10:42:22] <micmania1> debatable :p
686: [10:42:30] <zippy> :P
687: [10:42:49] <zippy> I was using the catalog manager and it didn't... nor did it show the preview window which was nice
688: [10:43:00] <micmania1> https://github.com/silverstripe/silverstripe-blog/issues/218
689: [10:43:08] <ss23> who even made that module
690: [10:43:09] <zippy> but then I guess having it show up doubles as a 'quick go back' feature
691: [10:43:20] <zippy> OMG greeeeeeeennnn
692: [10:43:29] * sealan_ quit (Remote host closed the connection)
693: [10:43:55] * sealan has joined #silverstripe
694: [10:44:07] <zippy> it confused me
695: [10:44:24] <micmania1> zippy: “Its a feature until someone cares enough to fix the bug.”
696: [10:44:34] <Pyesoomk> [11:43] <@ss23> who even made that module
697: [10:44:35] <Pyesoomk> OH YOU
698: [10:44:42] <ss23> :3
699: [10:44:44] <ss23> OH ME
700: [10:44:48] <zippy> "Let's leave this issue open until we decide what to do in core. ;)"
701: [10:44:49] <Pyesoomk> YES YOU
702: [10:44:54] <zippy> SS core or lumberjack
703: [10:44:58] <ss23> http://vignette1.wikia.nocookie.net/epicrapbattlesofhistory/images/8/89/500px-Oh-you-show.jpg/revision/latest?cb=20150123021911
704: [10:45:14] <Pyesoomk> COULDN'T BE
705: [10:45:18] <zippy> nm
706: [10:45:19] <zippy> read it
707: [10:45:23] <ss23> THEN WHO?!
708: [10:45:29] <Pyesoomk> I've had too much caffine accidentally
709: [10:45:44] <Pyesoomk> hyperactive as fuck, nothing to do :<
710: [10:46:08] <zippy> hmmm how did catalogmanager bypass it I wonder
711: [10:46:10] <ss23> POP SHELLS BRO
712: [10:46:53] <ss23> Annoying to change from a has_one to a has_many relationship
713: [10:47:34] * mobiusnz has joined #silverstripe
714: [10:48:02] <zippy> Is there a proper way to turn off the preview?
715: [10:49:22] <zippy> js hacks it seems
716: [10:50:17] <micmania1> turn it off completely?
717: [10:50:28] <zippy> yea
718: [10:50:38] <micmania1> erm, probably remove it from getCMSActions?
719: [10:50:38] <zippy> on specfiic pages
720: [10:51:14] <zippy> I notice with lumperjack it seems to list all the pages which are hidden as being able to create with the grid
721: [10:51:17] <micmania1> Not really sure. I know its kind of hardcoded into the template but you could just override the template with your own
722: [10:51:22] <zippy> true
723: [10:52:03] <zippy> it seems to ignore my $allowed_children
724: [10:52:15] <micmania1> zippy: that’s probably why they don’t show up in the site tree - they’ll be hidden
725: [10:52:41] <zippy> I have two classes which I have set to hide from the site tree
726: [10:52:52] <zippy> both of those show on my grid in the drop list as pages I can create
727: [10:52:55] <micmania1> not sure if they *should* show in gridfield. Probably should I think
728: [10:53:06] <zippy> but the holder page has a $allowed_children with only 1 of those classes
729: [10:53:16] <zippy> so it seems it wants me to create a child page when it shouldn't
730: [10:53:45] <micmania1> Any subclasses of anything in allowed_children is also allowed
731: [10:54:22] <ss23> question
732: [10:54:34] <mobiusnz> anyone here use the silverstrap base templates, and overload it via silverstrap_Page ?
733: [10:54:41] <ss23> a bunch of $notices->push(new ArrayData('foo' => mt_rand()));
734: [10:54:47] <ss23> Followed by $notices->removeDuplicates();
735: [10:55:10] <ss23> removedDuplicates defaults to ID. If ID is null, will that mean that will onyl be 1 size, or will it consider null special and not remove duplicates on it?
736: [10:55:39] <zippy> micmania1: right, but if my allowed_children has only 1 class it in, shouldn't the others be excluded from the "Add child page" drop list?
737: [10:56:18] <micmania1> not if the options in that dropdown are subclasses of the one allowed_chidlren you have
738: [10:57:29] <zippy> Thats if you do ClassName* isn't it? in either case, it's not a sublcass
739: [10:58:01] <micmania1> What does your code look like?
740: [10:58:02] <zippy> lets digg
741: [10:59:54] <zippy> Your right. On one page it works fine (where it has allowed children set) and works on the other page as well, but it has no allowed children so it allows all. But I really just want that grid to do one particular page
742: [11:00:17] <ss23> Bah, it does
743: [11:00:25] <ss23> If you don't have an ID parameter, removeDuplicates will make the length 1
744: [11:05:10] <Arcax> Someone know how i can obtain the size from one relation $has_many?
745: [11:05:11] <Arcax> So, i have:
746: [11:05:13] <Arcax> private static $has_many = array (
747: [11:05:14] <Arcax> 'Tags' => 'ProductTag',
748: [11:05:16] <Arcax> );
749: [11:05:17] <Arcax> Get the size from Tags, like that:
750: [11:05:19] <Arcax> ProductTag::get()->where('ProductHolderID = ' . $this->ID)->Length;
751: [11:05:26] <zippy> count
752: [11:05:36] <zippy> and..
753: [11:05:45] <zippy> $this->Tags()->Count()
754: [11:05:49] <Pyesoomk> ^
755: [11:05:50] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
756: [11:06:04] <zippy> using the where like that is a bit nasty...
757: [11:06:11] <Pyesoomk> yes, enver use where
758: [11:06:14] <zippy> ideally use filter, so it escapes
759: [11:06:17] <Pyesoomk> unless you're doing something stupidly tricky
760: [11:06:22] <Pyesoomk> FUCK I HATE WHERE
761: [11:06:26] <zippy> ->filter('ProductHolderID', $this->ID)
762: [11:06:33] <zippy> use an array for multiple
763: [11:06:47] <Pyesoomk> attracts people who don't know better (generally not their fault) like shit for flies :<
764: [11:06:58] <Arcax> An hour of my life wasted =(
765: [11:07:00] <Arcax> Thanks for help !!!
766: [11:07:07] <Pyesoomk> that's why we're where Arcax :)
767: [11:07:16] <Pyesoomk> just ask, we're happy to help
768: [11:07:24] * zippy is grumpy
769: [11:07:31] <zippy> because he's almost run out of Jack D
770: [11:07:32] * Pyesoomk is almost alwyas grumpy
771: [11:07:58] <zippy> and this god damn preview window is showing, and I don't know if I like it
772: [11:11:50] <wmk> Arcax, not wasted, you learned a bit!
773: [11:12:22] <zippy> icomoon not bad
774: [11:13:33] <Arcax> vwm, i don't like learn like a turtle, is saddening
775: [11:13:43] <Arcax> wmk*
776: [11:14:28] * mike123 has joined #silverstripe
777: [11:14:46] <wmk> Arcax, well, try to discover yourself and if you get stuck ask early
778: [11:16:59] <Arcax> wmk, I always try to do myself but sometimes i forget that the forum exist...
779: [11:17:23] <wmk> well... you'll remember *G*
780: [11:18:08] <Pyesoomk> Arcax: IRC is best for more immediate response :>
781: [11:18:33] <Arcax> Yes, i'll do it !!!
782: [11:20:04] <Arcax> Pyesoomk, I don't speak too well english, i was trying to say forum = this channel
783: [11:21:04] <Pyesoomk> ah
784: [11:21:06] * micmania1 has left #silverstripe
785: [11:21:14] <Pyesoomk> Arcax: because there is also silverstripe.org/forums
786: [11:21:26] <Pyesoomk> :)
787: [11:21:34] <Arcax> It's true
788: [11:21:49] <elgabbu> is there anything that would constrain a particular Class ( that extends SiteTree) .... such that only one node of such a class would be allowed to exist in the entire tree?
789: [11:22:07] <Arcax> I usually see the posts when i have doubt...
790: [11:22:33] <Pyesoomk> elgabbu: canCreate()
791: [11:22:58] <Pyesoomk> elgabbu: are you asking how to achieve this, or what is causing an exsiting class to do so?
792: [11:23:42] <Pyesoomk> ss23: what have you done? .org is slooooooooooooooooooooooooooooooooooooow
793: [11:23:47] <ss23> um
794: [11:23:48] <ss23> wasn't me :O
795: [11:24:29] <Pyesoomk> ss23: maybe it's nothing at host end... http://www.silverstripe.org/community/forums/installing-silverstripe/show/101754
796: [11:24:46] <Pyesoomk> get some spam bots crawling over it can be stressful on bandwidth I know
797: [11:24:56] <ss23> hmm
798: [11:24:58] <ss23> I mean
799: [11:25:05] <ss23> I'll see if I can see the fancy graphs for it from here
800: [11:25:29] <ss23> hmm
801: [11:25:34] <ss23> one of our servers ran out of disk space
802: [11:25:43] <ss23> wonder if that'd do it
803: [11:25:47] <ss23> I thought .org was on AWS though
804: [11:26:01] * Pyesoomk shrugs
805: [11:26:16] <ss23> loads fast now
806: [11:26:18] <ss23> idk sorry
807: [11:27:26] <Pyesoomk> redonk slow for me
808: [11:28:01] <ss23> Bah
809: [11:28:01] <ss23> FINE
810: [11:28:04] <ss23> I'll log in properly and check
811: [11:28:15] <Pyesoomk> kk ta
812: [11:29:28] <ss23> hmm
813: [11:29:31] <ss23> using a bit of cpu, yeah
814: [11:29:35] <ss23> ~20% - ~50%
815: [11:29:45] <Pyesoomk> :o
816: [11:31:06] <ss23> I will spin up more servers
817: [11:31:26] <Pyesoomk> did you reboot it?
818: [11:31:31] <Pyesoomk> I got logged out
819: [11:31:43] <Pyesoomk> dunno if session expired because page took too long to load or what
820: [11:32:42] <ss23> lol
821: [11:32:45] <ss23> Not exactly
822: [11:32:54] <ss23> I added a new server, so a new one is booting now, but it shouldn't log you out
823: [11:33:09] <ss23> it's still turning on, slowmazon
824: [11:34:04] <ss23> weird
825: [11:34:10] <ss23> it actually had 2x more servers running...
826: [11:34:15] <ss23> oh, this morning
827: [11:34:29] <ss23> might be teetering on the edge of spinning up more
828: [11:34:32] <ss23> might needa lower threshold
829: [11:34:40] * Pyesoomk shrugs
830: [11:34:55] <ss23> okay well anyway, Iadded 33% capacity, so it should clear out now I hope
831: [11:35:43] <ss23> bah
832: [11:35:50] <ss23> this says it's onyl getting 3 requests a minute
833: [11:35:51] <ss23> :/
834: [11:35:59] <ss23> maybe some nightly tasks are running
835: [11:36:47] <ss23> wtf
836: [11:36:49] <ss23> FUCKING HELL
837: [11:36:54] <ss23> Pyesoomk: I wanted to be playing computer games
838: [11:36:54] <zippy> argh is slow isn't it
839: [11:36:59] <ss23> Now I'm torn about whether I wanna fix this
840: [11:37:00] <ss23> ;_p
841: [11:38:41] <ss23> 23:38:30 up 12:18, 1 user, load average: 0.00, 0.01, 0.05
842: [11:38:47] <Pyesoomk> well, it _seems_ to be loading faster now.
843: [11:38:55] <Pyesoomk> still slow as fuck, but less than 10 mins per page.
844: [11:39:12] <Pyesoomk> hmm, cancel that. Just clicked 'reply' - still waiting. Back to 10min+
845: [11:39:15] <ss23> 23:39:11 up 12:19, 1 user, load average: 0.08, 0.03, 0.05
846: [11:39:21] <zippy> its slow
847: [11:39:25] <Pyesoomk> well slow
848: [11:39:31] <ss23> admin@ip-10-130-2-172:~$ uptime 23:39:27 up 6 min, 1 user, load average: 0.00, 0.12, 0.10
849: [11:39:35] <kinglozzer> DNS?
850: [11:39:37] <ss23> Realistically, all those three servers are super low load
851: [11:39:42] <ss23> kinglozzer: Naw
852: [11:39:48] <Pyesoomk> almost as slow as life in this office with this much caffine in my body.
853: [11:39:51] <ss23> TTFB 60 seconds
854: [11:39:59] <ss23> Hard to debug when there's ELB in front
855: [11:39:59] <ss23> :/
856: [11:40:05] <ss23> like, coudl be an amazon issue
857: [11:40:09] <Pyesoomk> well, could be worse. Could be ERB
858: [11:40:30] <ss23> Is that Oracle?
859: [11:40:33] <ss23> Seems familiar, can't put my finger on it
860: [11:40:35] <ss23> ERB?
861: [11:40:44] <Pyesoomk> some ruby bullshit. IDK.
862: [11:40:55] <Pyesoomk> I'm hungry.
863: [11:40:58] <Pyesoomk> and I have the jitters.
864: [11:41:07] <Pyesoomk> wanna go sandwich, but it's rain
865: [11:42:33] <zippy> Requests per second: 3.85 [#/sec] (mean)
866: [11:42:38] <zippy> thats zooming
867: [11:45:28] <ss23> I can only assume this is the ELB fucking shit up
868: [11:45:33] <ss23> Looks like requests never even hit the server
869: [11:45:43] <zippy> whats serving them?
870: [11:46:18] <ss23> ARGH
871: [11:46:25] <ss23> Amazon ELB -> EC2 NGINX -> EC2 Apache
872: [11:46:36] <ss23> okay srsly wtf is going on
873: [11:46:41] <ss23> I requested silverstripe.org?ss23rules
874: [11:46:48] <ss23> none of thsee webservers think they served that URL
875: [11:46:52] <ss23> I must be lookign in wrong place
876: [11:47:33] <Pyesoomk> wtf is ELB/
877: [11:47:46] <zippy> elastic load balancer
878: [11:47:50] <Pyesoomk> entershizzle lud ballansah?
879: [11:48:02] <zippy> magic sause
880: [11:48:19] <Pyesoomk> shit
881: [11:49:26] <Pyesoomk> THE HUNGERS
882: [11:51:00] <ss23> I must be looking at the wrong servers
883: [11:51:05] <ss23> idek what is going on
884: [11:51:50] <ss23> OH LOOK IT WAS MIGRATED TO NEW SERVER TODAY
885: [11:51:51] <ss23> WHO KNEW
886: [11:51:58] <zippy> spend money on a flag, or spend money on euthanasia
887: [11:52:09] <zippy> ss23: I did...
888: [11:52:27] <ss23> Ah look
889: [11:52:30] <ss23> I didn't, zippy! :(
890: [11:52:33] <ss23> WHY DIDn'T YOU TELL Me
891: [11:52:33] <ss23> ;_;
892: [11:52:34] * ss23 cries
893: [11:52:40] <ss23> Okay, nOW I can see an avg latency of 30 seconds
894: [11:53:50] <zippy> http://logs.simon.geek.nz/index.php?date=2015-05-18#log_1643448 :)
895: [11:53:59] <ss23> yep, those ones are ~100% CPU
896: [11:54:13] <zippy> more power!
897: [11:54:27] <zippy> was it an upgrade or downgrade..
898: [11:54:46] <ss23> *shrug*
899: [11:54:49] <ss23> Evidently it was a downgrade
900: [11:54:49] <ss23> :P
901: [11:55:53] <zippy> micmania1 was told it was slower... no care :) http://logs.simon.geek.nz/index.php?date=2015-05-18#log_1643771
902: [11:56:23] <ss23> <micmania1> hmmm probably about 5 mins or so. 10 max.
903: [11:56:24] <ss23> LIAR
904: [11:56:27] <ss23> It was set at 2 max
905: [11:56:27] <ss23> >.<
906: [11:57:02] <zippy> fixed it yet?
907: [11:57:22] <ss23> Should be fixing itself now, takes ~5 mins for my pretty graphs to update
908: [11:57:25] <ss23> Well, my ugly graphs
909: [11:57:31] <ss23> I can't find the pretty ones
910: [11:58:03] <ss23> new hosts aren't healthy yet
911: [11:58:06] * ss23 taps his foot waiting
912: [11:58:07] <ss23> :/
913: [11:59:19] <ss23> COME ON YOU FUCKING INSTANCES
914: [11:59:21] <ss23> ARGHGHHSDHHASDFHASDF
915: [11:59:23] * ss23 shakes zippy
916: [11:59:33] <ss23> WHO EVEN LAUNCHED THIS SHIT WITHOUT LOAD TESTING IT
917: [12:02:34] <ss23> I realise I bring this shit on myself by not explicitly involving myself of the development of this shit, but it looks like when you autoscale, it takes ~5 mins to become healthy cause it does a full apt-get update && upgrade or some shit
918: [12:02:38] <ss23> ANYWAY
919: [12:02:52] <ss23> zippy: instances are healtyh now
920: [12:02:59] <ss23> should start dropping in response time from now
921: [12:03:12] <ss23> though it's still overloading the servers it looks like
922: [12:03:20] <ss23> so might take a while to get through the built up requests
923: [12:04:25] <zippy> need more servers
924: [12:04:34] <zippy> how many web servers are there, and how many requests are they actually doing?
925: [12:04:54] <ss23> 2 of them before
926: [12:04:56] <ss23> 4 of them now
927: [12:05:07] <ss-helper> Re: Requiring Composer in 4.0 - https://groups.google.com/d/msg/silverstripe-dev/hcb3HM5oWRg/ik5Nzm_TdGQJ
928: [12:05:13] <ss23> I suspect even if I increased it to 6, it would like... take longer to start them, so by the time they're there, it'll be "fixed"
929: [12:05:18] <ss23> Will leave it on 4 for another ~5 minutes
930: [12:05:25] <ss23> zippy: Not many requests
931: [12:05:25] <ss23> :/
932: [12:05:40] <ss23> oh well
933: [12:05:43] <ss23> ~300 a minute
934: [12:05:52] <ss23> 5 a second, split between 2 servers
935: [12:05:58] * Colin[pi] quit (Ping timeout: 255 seconds)
936: [12:06:13] <ss23> should be split between 4 servers now, so ~1 request a second per server
937: [12:06:58] * r_hector quit (Remote host closed the connection)
938: [12:07:18] <ss23> Looks like ~25% CPU spread across the 4 of them now
939: [12:07:59] <ss23> BAH IT'S STILL NOT FAST
940: [12:08:00] <ss23> ARGH
941: [12:08:07] <zippy> 5 a second! lol
942: [12:08:10] <zippy> thats terrible
943: [12:08:51] <zippy> they micro instances or something
944: [12:09:26] <ss23> it's SivlerStripe dude
945: [12:09:29] <ss23> You ever seen SilverStripe?
946: [12:11:05] <ss23> Wonder if DB is bottlenecking now
947: [12:12:31] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
948: [12:21:00] * sealan quit (Remote host closed the connection)
949: [12:23:54] * terryapodaca has left #silverstripe
950: [12:27:22] <wmk> anyone got youtube api v3 working with silverstripe?
951: [12:28:09] <wmk> ss23, nice, firefox warns me about certificate on silverstripe.org
952: [12:28:36] <mike123> i have this module for youtube , it worked fine ~week ago , but now nothing
953: [12:28:38] <mike123> http://codepaste.net/o5vdij
954: [12:30:41] * dospuntocero has joined #silverstripe
955: [12:31:04] * terryapodaca has joined #silverstripe
956: [12:32:07] <terryapodaca> I have a new field to a certain pagetype, Author....and I want it to default to the logged in user that's creating the "article"
957: [12:32:18] <terryapodaca> I googled this, and I know it's doable
958: [12:32:38] <terryapodaca> it's just slipping my mind right now!
959: [12:33:05] <wmk> terryapodaca, onBeforeWrite ?
960: [12:33:16] <wmk> or as a default value when creating the article the first time?
961: [12:33:40] <terryapodaca> yeah, like when you click add new page...
962: [12:34:09] <terryapodaca> I know there's private static $defaults = array()
963: [12:35:27] <wmk> terryapodaca, populateDefaults()
964: [12:35:47] <wmk> calls $this->extend('populateDefaults');
965: [12:36:01] <wmk> so even working with a dataextension
966: [12:36:54] <ss23> wmk: Hmm, I don't get a warn on Chrome. Whats it complaining about?
967: [12:37:00] <ss23> Oh wait
968: [12:37:02] <ss23> Yeah, I get it
969: [12:37:06] <wmk> ;)
970: [12:37:39] <ss23> wmk: added it to the list to fix tomorrow, thanks
971: [12:37:42] * ss23 grumbles
972: [12:37:52] <ss23> I'm sick for one day and they manage to take down ss.org basically
973: [12:37:53] <ss23> >.>
974: [12:38:09] <wmk> lol
975: [12:38:13] <Arcax> Good bye. Thanks for all.
976: [12:45:30] <swaiba> Hi all
977: [12:45:44] <swaiba> any idea how to create and werite a dataobject in one line of php?
978: [12:46:48] <cloph_away> why would that matter?
979: [12:48:45] <cloph_away> but chaining is mentioned in the dev-guide.. use ClassName::create()->write();
980: [12:55:48] <swaiba> cloph_away why would that matter? -- compactness and readability of code
981: [12:57:19] <wmk> swaiba, taste?
982: [12:58:06] <swaiba> wmk I guess so, there is a reson they did the chaining this for fields, was just curious about databoject
983: [12:58:20] <swaiba> I feel a little silly as I didn't try the obvious case
984: [12:58:25] * dospuntocero quit (Remote host closed the connection)
985: [12:58:50] <wmk> yeah, chaining is nice but can drive you nuts
986: [12:58:52] * dospuntocero has joined #silverstripe
987: [12:59:07] <wmk> e.g. when you expect chaining but this object isn't chainable
988: [13:00:08] <elgabbu> Pyesoomk thanks for that ... i see how one can achieve what i asked for with that fucntion
989: [13:03:19] * dospuntocero quit (Ping timeout: 250 seconds)
990: [13:04:31] <kinglozzer> Chaining is nice, but slower :(
991: [13:04:43] <kinglozzer> (with ::create() I mean)
992: [13:05:50] <cloph_away> oh really?
993: [13:06:10] <cloph_away> significantly so?
994: [13:08:05] <kinglozzer> Nah not significantly
995: [13:08:25] * veb quit (Quit: veb-irc: &)
996: [13:08:59] <kinglozzer> Micro-optimisations :P
997: [13:09:44] <kinglozzer> ::create() adds a few Injector lookups, and creates the object with Reflection, which is a bit slower too
998: [13:09:49] * cloph_away is now known as cloph
999: [13:10:08] <wmk> but has the big pro that you can use an alternative class
1000: [13:10:15] <kinglozzer> But it's thousandths of a second in it
1001: [13:10:19] <kinglozzer> probably
1002: [13:10:45] <kinglozzer> (new DataObject)->write()
1003: [13:10:46] <kinglozzer> :D
1004: [13:15:42] * sealan has joined #silverstripe
1005: [13:16:35] <kinglozzer> Or is that PHP7 only?
1006: [13:16:36] <Pyesoomk> kinglozzer: cloph extremely insignificant. I remember simon_w|air looked into it back in the day.
1007: [13:16:41] <kinglozzer> Cant' remember what version that came in
1008: [13:17:04] <Pyesoomk> and yeah, if (new Thing)->stuff() is a thing, it's most certainly not even a php thing yet.
1009: [13:17:06] <kinglozzer> Pyesoomk: Yeah I did some benchmarks, it's like 10x slower, but 10x 0.00000001s is still only 0.0000001s :P
1010: [13:17:15] <Pyesoomk> kinglozzer: ha.
1011: [13:17:20] <cloph> :-)
1012: [13:18:07] <kinglozzer> https://gist.github.com/kinglozzer/bd3d36302d69d8756734
1013: [13:18:11] <Pyesoomk> Not hungry any more. But now I wanna sleep :(
1014: [13:18:26] <Pyesoomk> The zzz's haven't hit yet, but I fear their onslaught
1015: [13:19:17] <Pyesoomk> I see ss.org is still intolerably slow.
1016: [13:19:41] <kinglozzer> Mm, took me like 5 attempts to log in earlier 'cause it kept timing out
1017: [13:19:54] <Pyesoomk> I logged in, but then I loaded another page.
1018: [13:20:13] <ss-helper> Re: [silverstripe-dev] Requiring Composer in 4.0 - https://groups.google.com/d/msg/silverstripe-dev/hcb3HM5oWRg/MCv0vafyM6cJ
1019: [13:20:15] <Pyesoomk> Then I gave up because wholey fucking shit still no SSL
1020: [13:20:45] <wmk> Pyesoomk, ssl, but not the right certificate
1021: [13:21:19] <Pyesoomk> doesn't load ssl on login
1022: [13:21:50] <wmk> oh.
1023: [13:22:41] <wmk> anyone done an update on youtube api?
1024: [13:22:57] <wmk> from v2 (deprecated and shut off) to v3 ?
1025: [13:24:44] <Pyesoomk> You mean the oembed stuff?
1026: [13:24:49] <Pyesoomk> or some module?
1027: [13:28:36] * dospuntocero has joined #silverstripe
1028: [13:46:57] <cloph> sophi: did the "fix critical errors" link work for you? you mention that when all fixed it shows one remaining in the label, but when there were more, did it list the others?
1029: [13:47:13] <cloph> ups, sorry.
1030: [13:49:07] * babak quit (Quit: Connection closed for inactivity)
1031: [13:51:51] <swaiba> kinglozzer - re " (new DataObject)->write()" in my c++ days yes of course
1032: [13:52:43] <swaiba> and it's always a trade off in my code base between compact, readability and pre-optimization
1033: [13:53:12] <swaiba> happy to lose a few CPU cycles for a single line, than vice versa
1034: [13:53:51] <swaiba> and chaning, wmk, helps with that :)
1035: [13:55:06] <kinglozzer> Oh yeah, I always use ::create()
1036: [13:55:09] <Pyesoomk> DI is like the bomb though
1037: [13:55:10] <kinglozzer> Especially for forms/fields
1038: [13:55:11] <Pyesoomk> diggity
1039: [13:55:34] <Pyesoomk> BOMBDIGGITY
1040: [13:57:09] * wmk quit (Ping timeout: 244 seconds)
1041: [13:58:07] <Pyesoomk> Give stakeholder a task. "You need to update a record for each unique name, then we'll merge all others of the same name to that ID. It'll be easier for us both."
1042: [13:58:43] <DimiStripe> Hi guys, I have roughly 100Classes - all extends Page. Is there an easy way of setting each class icon from Page.php ? (smth like private static $icon = "mysite/treeicons/{$ClassName}.png"; )
1043: [13:58:47] <Pyesoomk> they concentrated on which to merge into, updated nothing, confused the fuck out of what they were doing, isolated unique addresses by customer rather than unique customers.
1044: [13:58:53] <Pyesoomk> NOW IT'S APPARENTLY MY FAULT
1045: [13:59:00] <Pyesoomk> it's like fuck, YOU HAD ONE JOB
1046: [13:59:26] <Pyesoomk> You're the stakeholder here, you should be more interested in ensuring this goes smoothly than I am!
1047: [13:59:47] <Pyesoomk> DimiStripe: yes, exactly that.
1048: [14:00:17] <Pyesoomk> oh, no I see - variable mid definition.
1049: [14:00:25] <Pyesoomk> no, you'll need to override whatever class looks for the icon.
1050: [14:00:36] * mike123 quit (Quit: Page closed)
1051: [14:01:48] <Pyesoomk> DimiStripe: probably subclass this, override the method, use injector to specify your subclass rather than that.
1052: [14:01:53] <Pyesoomk> or something to that effect.
1053: [14:02:17] * swaiba_ has joined #silverstripe
1054: [14:03:07] * swaiba quit (Ping timeout: 250 seconds)
1055: [14:03:10] <DimiStripe> What could be the method ? getIcon doesnt seem to work
1056: [14:04:18] <Pyesoomk> see above.
1057: [14:04:37] <Pyesoomk> oh shit, I forgot to paste the page link! Sorry!
1058: [14:04:38] <Pyesoomk> http://api.silverstripe.org/3.1/class-LeftAndMainPageIconsExtension.html
1059: [14:05:18] * dospuntocero quit (Remote host closed the connection)
1060: [14:06:04] <DimiStripe> oki, thanks
1061: [14:06:14] <Pyesoomk> You could just copy and paste the class and edit it, I'm not sure Injector fairs too well if you override a super class with a subclass.
1062: [14:07:30] <kinglozzer> DimiStripe: If you're trying to set get a class name to hook into for use in the CMS - they should already have unique CSS classes applied
1063: [14:07:55] <kinglozzer> e.g. .page-icon.class-MyPageType, li.class-MyPageType > a .jstree-pageicon
1064: [14:08:13] <kinglozzer> I use that for setting different icons for different page types to be shown in the CMS tree / add new pages
1065: [14:09:10] <DimiStripe> yeah, i see that now :)
1066: [14:09:16] <DimiStripe> might be the best solution
1067: [14:13:34] <DimiStripe> However , if I add new Classes - it might be easiser just adding a new icon file with classname , rather than adding record to CSS ...
1068: [14:38:46] * babak has joined #silverstripe
1069: [14:54:32] * ^pH has joined #silverstripe
1070: [15:05:07] * Pyesoomk quit (Ping timeout: 246 seconds)
1071: [15:14:07] * aaron1245 has joined #silverstripe
1072: [15:15:12] <aaron1245> Hello, has anyone run into Segmentation Faults with their silverstripe installation? Running into them on Core.php with PHP version 5.5.24
1073: [15:17:12] <aaron1245> I’ve narrowed the seg fault down to this in Core.php :
1074: [15:17:14] <aaron1245> Config::inst()->pushConfigYamlManifest($configManifest);
1075: [15:20:23] <ss-helper> Re: Requiring Composer in 4.0 - https://groups.google.com/d/msg/silverstripe-dev/hcb3HM5oWRg/EKcmAIBUeccJ
1076: [15:23:28] * Eliseth quit (Ping timeout: 265 seconds)
1077: [15:34:09] * arnhoe quit ()
1078: [15:53:37] * wmk has joined #silverstripe
1079: [15:54:01] * dospuntocero has joined #silverstripe
1080: [15:55:45] <terryapodaca> How would I get a random number from the controller of a child in the parent? I have a function in my NewsPage.php : public function RandomNumber() { return rand(1,3); }
1081: [15:56:26] <terryapodaca> and in NewsHolder I have <% loop $Children %> with $RandomNumber in the <li> tag
1082: [15:56:32] <terryapodaca> but nothing is returned
1083: [15:56:47] <terryapodaca> Am I in a Context issue here?
1084: [15:56:59] <ss23> if you have a die() in randomnumber does it die?
1085: [15:57:02] <ss23> like is it a casting issue or what?
1086: [15:57:24] <terryapodaca> no casting issue...I don't think
1087: [15:58:16] * wmk quit (Ping timeout: 265 seconds)
1088: [16:01:31] <kinglozzer> terryapodaca: Move RandomNumber() from NewsPage_Controller to NewsPage?
1089: [16:01:51] <kinglozzer> You're looping over NewsPage instances, *not* NewsPage_Controller instances
1090: [16:02:01] <kinglozzer> You can only have one active controller!
1091: [16:04:53] * spronk2 quit (Quit: I may need a longer sleep timer...)
1092: [16:07:52] <terryapodaca> kinglozzer: makes sense.
1093: [16:07:55] <terryapodaca> brb
1094: [16:11:39] <terryapodaca> Is there a better way to handle that...so that the number is different...inside the loop? This way, if I return 3 News articles to show in the Holder page, if that number is 2, it will be 2 for all three. I need a solution that changes with each NewsPage
1095: [16:12:49] <terryapodaca> testing this here: http://tbc.stricklandapps.com/newsroom/in-the-news/
1096: [16:15:52] <kinglozzer> terryapodaca: Why do you want a random number? :S
1097: [16:16:45] * benjhocking quit (Read error: Connection reset by peer)
1098: [16:16:50] <kinglozzer> If you put the function on the "child" of the loop rather than the "parent", it should change each time
1099: [16:17:00] <kinglozzer> If you put it on the "parent", it'll be cached after the first time
1100: [16:17:06] * aaron1245 has left #silverstripe
1101: [16:18:15] * benjhocking has joined #silverstripe
1102: [16:30:25] * kinglozzer home time
1103: [16:30:27] <kinglozzer> ciao!
1104: [16:30:27] * kinglozzer quit ()
1105: [16:35:31] * sealan quit (Remote host closed the connection)
1106: [16:36:32] * wmk has joined #silverstripe
1107: [16:39:39] <elgabbu> hi all i have a page type ... which has its own page_controller ... is it possible to setup a URL handler so that i can pass an extra param after the URLsegment
1108: [16:40:05] <elgabbu> so for instance my URLSegment is /live-tournaments/wsop/2006/event26b .... and i want to pass another parameter at the end like this /live-tournaments/wsop/2006/event26b/2
1109: [16:43:01] <wmk> elgabbu, yup. $url_handlers
1110: [16:43:36] <elgabbu> yeah but how should i set it up
1111: [16:49:24] * swaiba_ quit (Remote host closed the connection)
1112: [16:51:51] * Guits has joined #silverstripe
1113: [16:53:25] <Guits> How can I filter on a has_one relation? I have Member with has_one relation to CustomerGroup. I have Comment with has_one CreatedbyMember .. how do i get all Comments by any Member in Current members CustomerGroup?
1114: [16:56:39] * cloph quit (Ping timeout: 256 seconds)
1115: [16:57:06] * GioVdK quit (Ping timeout: 272 seconds)
1116: [16:57:55] * cloph_away has joined #silverstripe
1117: [17:03:10] * CodeTrap has joined #silverstripe
1118: [17:05:09] * dospuntocero quit (Remote host closed the connection)
1119: [17:05:38] * dospuntocero has joined #silverstripe
1120: [17:10:06] * dospuntocero quit (Ping timeout: 256 seconds)
1121: [17:10:24] * dospuntocero has joined #silverstripe
1122: [17:24:21] <wmk> !paste elgabbu
1123: [17:24:21] <ss-helper> elgabbu: Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
1124: [17:24:35] <wmk> so - what do you want, what have you done?
1125: [17:25:56] <wmk> something like Comments::get()->filter(['Member.CustomerGroupID' => $id]) should work Guits
1126: [17:26:24] <Guits> with hard brackets?
1127: [17:26:43] <wmk> SphereSilver, around?
1128: [17:26:49] <wmk> Guits, array shortcut
1129: [17:26:56] <wmk> php > 5.4
1130: [17:27:00] <Guits> ok:)
1131: [17:27:54] <Guits> i get Unknown column 'Comment.MemberID'
1132: [17:28:34] <Guits> ..comment extends another class that has the Memberfield
1133: [17:29:22] <wmk> depends on your data...
1134: [17:29:36] <wmk> what's the Member relation name?
1135: [17:29:53] <Guits> Member
1136: [17:30:19] <Guits> private static $has_one = array(
1137: [17:30:19] <Guits>
1138: [17:30:20] <Guits> "Member" => "Member",
1139: [17:30:20] <Guits> );
1140: [17:31:06] <wmk> hmm
1141: [17:33:10] <Guits> ..that is in the class that Comment extends from
1142: [17:47:31] <wmk> Guits, Comment extends from some other class? so ORM has troubles filtering the relation right?
1143: [17:47:42] <Guits> yep
1144: [17:47:56] <wmk> hmm....
1145: [17:48:04] <Guits> can i use leftjoin
1146: [17:48:14] <wmk> maybe
1147: [17:48:24] <wmk> you could get all member ids of current group
1148: [17:48:44] <wmk> and filter by those member ids
1149: [17:52:01] <Guits> Now i do a Comments::get() and then loop and put relevant ones in new arraylist that i return
1150: [17:55:12] <wmk> hmm...
1151: [17:55:45] <wmk> $group = CustomerGroup::get()->byID($groupID);
1152: [17:57:00] <wmk> $ids = $group->Member()->getIDList(); (unsorted array of all IDs)
1153: [17:57:27] <wmk> Comment::get()->filter([MemberID => $ids]);
1154: [17:57:34] <wmk> Guits, ^^^?
1155: [17:58:29] <Guits> ..yeah.. works but not very efficient?
1156: [17:58:55] <wmk> cache ;)
1157: [17:59:03] <wmk> but looping over is also not very efficient
1158: [17:59:42] <Guits> no .. maybe better to move member relation from extended class into comment
1159: [18:00:12] <wmk> ;)
1160: [18:05:47] * CodeTrap quit (Ping timeout: 250 seconds)
1161: [18:06:36] * Error404NotFound quit (Ping timeout: 246 seconds)
1162: [18:18:06] * gelignite has joined #silverstripe
1163: [18:18:07] <terryapodaca> Is there a Date.Long that is "nice" for US?
1164: [18:18:40] <terryapodaca> I don't mind Date.NiceUS, but my client likes the .Long version but with Month first
1165: [18:32:30] * CodeTrap has joined #silverstripe
1166: [18:34:03] * Werner_2_ has joined #silverstripe
1167: [18:37:24] * wmk quit (Ping timeout: 246 seconds)
1168: [19:00:22] * Stomach has joined #silverstripe
1169: [19:17:54] * Stomach quit (Quit: zzz)
1170: [19:18:59] * Werner_2_ quit (Ping timeout: 272 seconds)
1171: [19:20:05] * terryapodaca quit (Quit: Leaving.)
1172: [19:23:36] * muskie9 has joined #silverstripe
1173: [19:36:05] * CodeTrap quit (Ping timeout: 272 seconds)
1174: [19:41:14] * DimiStripe quit (Quit: DimiStripe)
1175: [19:54:13] * Stomach has joined #silverstripe
1176: [20:07:01] * terryapodaca has joined #silverstripe
1177: [20:16:37] * veb has joined #silverstripe
1178: [20:16:40] * antmas has joined #silverstripe
1179: [20:20:40] * UncleCheese has joined #silverstripe
1180: [20:24:38] * veb quit (Quit: veb-irc: &)
1181: [20:25:17] <Stomach> morning yall
1182: [20:26:27] <antmas> o/
1183: [20:26:34] <antmas> so tire
1184: [20:27:36] * DimiStripe has joined #silverstripe
1185: [20:29:58] * Cheddam has joined #silverstripe
1186: [20:31:55] * zippy has joined #silverstripe
1187: [20:35:11] * zippy quit (Client Quit)
1188: [20:41:46] * Stomach quit (Quit: zzz)
1189: [20:41:56] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1190: [20:41:59] * dospuntocero quit (Remote host closed the connection)
1191: [20:42:35] * Stomach has joined #silverstripe
1192: [20:52:30] * dospuntocero has joined #silverstripe
1193: [20:55:31] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1194: [20:59:07] * babak quit (Quit: Connection closed for inactivity)
1195: [21:00:55] * DanaeNZ has joined #silverstripe
1196: [21:01:06] * Ryan-Toast has joined #silverstripe
1197: [21:03:42] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
1198: [21:07:21] * zippy has joined #silverstripe
1199: [21:08:02] <zippy> man it's a PITA not being able to access the relation owner when doing a new data object
1200: [21:10:05] <Ryan-Toast> zippy: well technically there sis no owner yet :P
1201: [21:10:11] <Ryan-Toast> is
1202: [21:10:19] <Ryan-Toast> but yes, yes it is.
1203: [21:10:41] * Cheddam has joined #silverstripe
1204: [21:10:44] <Ryan-Toast> You could use the betterbuttons to create a new “Add DO” button that sends the parent details.
1205: [21:11:06] <zippy> well... if you look IN the html you can can see ParentID or RelationID exists in there... it's just populated AFTER the getCMSFields
1206: [21:11:29] <Ryan-Toast> Oh, really? :P
1207: [21:11:49] <zippy> yea, just shuffle 4 lines in the core and it works
1208: [21:12:10] <zippy> maybe should refuckulate that core function
1209: [21:12:48] <zippy> it's just going to be a https://lh3.googleusercontent.com/-CbVebKED0Dc/UghPCm_I7fI/AAAAAAAACfE/CkIHV5SdnE0/w322-h281/4742_1ed2.gif
1210: [21:13:19] <Ryan-Toast> zippy haha
1211: [21:13:35] <zippy> http://d22zlbw5ff7yk5.cloudfront.net/images/stash-1-4f74e88ba97c1.jpeg
1212: [21:13:38] <Ryan-Toast> zippy: pull request, kgo
1213: [21:14:00] <Ryan-Toast> I totes won’t break anything anywhere.
1214: [21:14:02] <Ryan-Toast> it**
1215: [21:16:21] <zippy> :)
1216: [21:18:01] * Stomach quit (Quit: zzz)
1217: [21:19:25] * Phlunk3 has joined #silverstripe
1218: [21:35:24] * Hailwood has joined #silverstripe
1219: [21:35:56] <ss-helper> Fwd: Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع - https://groups.google.com/d/msg/silverstripe-dev/azIQtZSK4t0/QjLIjNs0_y4J
1220: [21:36:23] <MichalKleiner> thanks helper, that's helpful to know
1221: [21:36:38] * Stomach has joined #silverstripe
1222: [21:45:23] * UncleCheese has joined #silverstripe
1223: [21:47:16] <zippy> MichalKleiner: pointing out the spam :)
1224: [21:47:42] <Stomach> zippy - https://github.com/silverstripe/silverstripe-framework/issues/4056
1225: [21:47:44] <Stomach> same issue?
1226: [21:47:51] <MichalKleiner> is there a way I can mark it as a spam directly in the forum?
1227: [21:48:34] <zippy> Stomach: different issue. This is about accessing $this->ParentID in the getCMSFIelds with the new Page, before saving.
1228: [21:48:48] <zippy> You can't use it in getCMSFields, but it gets populated later
1229: [21:49:16] <Stomach> yeah its dumb
1230: [21:49:20] <Stomach> urlsegmentfield uses it
1231: [21:49:26] <Stomach> you should fix it
1232: [21:49:30] <Stomach> will make me happy
1233: [21:51:09] <antmas> dat Doom teaser
1234: [21:51:42] * dospuntocero quit (Remote host closed the connection)
1235: [21:52:06] <zippy> Stomach: will add to my list of 14 other things (I do have a list) to fix :)
1236: [21:52:09] * dospuntocero has joined #silverstripe
1237: [21:52:15] <Stomach> zippy :D
1238: [21:52:21] <Stomach> I threw my list out
1239: [21:52:25] <Stomach> it made me depressed
1240: [21:52:27] <zippy> haha
1241: [21:52:37] <zippy> i was going to say, it's depressing to look at since I never get to move anything on it
1242: [21:52:55] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
1243: [21:56:24] <MichalKleiner> zippy: that is in the docs somewhere that you need to use updateCMSFields when you need to work with ID.. or something like that.. I'll try to find it
1244: [21:56:25] * dospuntocero quit (Ping timeout: 256 seconds)
1245: [21:57:02] * travis-ci has joined #silverstripe
1246: [21:57:04] <travis-ci> silverstripe/silverstripe-framework#4798 (master - cd1eb1b : Damian Mooyman): The build passed.
1247: [21:57:04] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/4faede15a2cd...cd1eb1b4840a
1248: [21:57:04] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/63083519
1249: [21:57:04] * travis-ci has left #silverstripe
1250: [21:59:53] <MichalKleiner> hmmm, can't find it.. where did I see something like that.. might be I'm just confused..
1251: [22:00:23] * DimiStripe quit (Quit: DimiStripe)
1252: [22:00:57] <zippy> MichalKleiner: like this https://github.com/silverstripe/silverstripe-blog/blob/master/code/model/BlogPost.php#L167 ?
1253: [22:02:41] <MichalKleiner> close but not.. it was getCMSFields and updateCMSFields (or something similar).. two methods, one could work with the ID already..
1254: [22:03:06] * Colin[pi] has joined #silverstripe
1255: [22:03:45] * micmania1 has joined #silverstripe
1256: [22:03:46] <zippy> intersting
1257: [22:04:05] <zippy> micmania1: might know... he's done a bit around there.
1258: [22:04:13] <zippy> >> <MichalKleiner> close but not.. it was getCMSFields and updateCMSFields (or something similar).. two methods, one could work with the ID already..
1259: [22:04:25] <zippy> being able to access the ParentID on a new page before saving
1260: [22:04:26] <MichalKleiner> but at the same time I might be confused by something similar..
1261: [22:04:28] <micmania1> what do I know?
1262: [22:04:39] * ss-helper quit (Ping timeout: 264 seconds)
1263: [22:04:49] <zippy> well for one, poor old ss23 was up all night because the new website wasn't scale
1264: [22:05:06] <micmania1> lol
1265: [22:05:18] <zippy> http://logs.simon.geek.nz/index.php?date=2015-05-18#log_1644550
1266: [22:06:19] <micmania1> he wasn’t up during the day so… oh well
1267: [22:06:26] <MichalKleiner> DataExtension, public function updateCMSFields(FieldList $fields) {} and there $this->owner->ParentID works
1268: [22:06:45] <zippy> mm in an extension
1269: [22:07:12] <MichalKleiner> found it in one project
1270: [22:07:42] <zippy> because I think that comes in quite late
1271: [22:07:53] <zippy> maybe I will submit my core patch to fix it for getCMSFields
1272: [22:08:01] <Stomach> yeeesssssss
1273: [22:08:16] * willr has joined #silverstripe
1274: [22:08:45] <DanaeNZ> isn’t it on the new shiny SS Platform>
1275: [22:08:46] <DanaeNZ> ?
1276: [22:11:13] * ss-helper has joined #silverstripe
1277: [22:12:18] <zippy> ss-helper, welcome back! DO giving you some connection grief
1278: [22:12:34] <zippy> nice you run on autopilot..
1279: [22:13:22] * travis-ci has joined #silverstripe
1280: [22:13:23] <travis-ci> silverstripe/silverstripe-cms#1213 (master - f0b9627 : Damian Mooyman): The build passed.
1281: [22:13:23] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3b7abb09ed7b...f0b9627298a5
1282: [22:13:23] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/63083562
1283: [22:13:23] * travis-ci has left #silverstripe
1284: [22:14:37] * Stomach quit (Quit: zzz)
1285: [22:19:45] * Stomach has joined #silverstripe
1286: [22:22:26] <micmania1> zippy: was the site unreachable last night?
1287: [22:25:33] * Stomach quit (Quit: zzz)
1288: [22:25:42] * mahfuz has joined #silverstripe
1289: [22:26:22] <zippy> micmania1: it was crawling
1290: [22:27:31] <Colin[pi]> morning all o/
1291: [22:27:39] <zippy> morning
1292: [22:28:30] <antmas> Colin[pi]: o/
1293: [22:31:26] * Stomach has joined #silverstripe
1294: [22:42:26] * irogue has joined #silverstripe
1295: [22:42:56] <antmas> a rogue irogue appears...
1296: [22:43:17] <irogue> where?!?
1297: [22:43:19] * irogue looks around
1298: [22:45:12] <antmas> right there!
1299: [22:45:23] * antmas throws pokeball
1300: [22:45:23] * irogue runs away
1301: [22:45:24] <antmas> o/
1302: [22:45:35] <antmas> o- o
1303: [22:46:04] * antmas captures an (irogue)
1304: [22:57:19] <MichalKleiner> o- ---- - - - x
1305: [23:00:22] * veb has joined #silverstripe
1306: [23:02:10] * antmas quit (Ping timeout: 246 seconds)
1307: [23:06:38] <zippy> mmm internets not working very well today
1308: [23:06:46] <zippy> to many people on netflix!
1309: [23:08:44] <zippy> wow... snap have actually updated their network status page
1310: [23:09:43] * antmas has joined #silverstripe
1311: [23:15:10] <irogue> that is odd
1312: [23:16:13] <irogue> I asked someone there about it once, they said that way more people in helpdesk/NOC have access to their twitter than to their website, so Twitter was a quicker & more reliable source of network status updates
1313: [23:17:04] <irogue> their site is crappy but it'll probably be gone soon so *shrug*
1314: [23:18:35] * stnvh quit (Read error: Connection reset by peer)
1315: [23:18:54] * irogue_ has joined #silverstripe
1316: [23:22:11] * irogue quit (Ping timeout: 272 seconds)
1317: [23:22:23] <antmas> so snap was down for everyone else too?
1318: [23:22:48] <irogue_> not down for me
1319: [23:23:30] <antmas> they said they had issues on twitter then our internet diededded
1320: [23:23:31] <irogue_> oh, its intl connectivity issues
1321: [23:23:39] <antmas> oh
1322: [23:23:55] <irogue_> i'm VPN'd through silverstripe so wouldn't have noticed intl issues
1323: [23:24:13] <antmas> internal or international?
1324: [23:24:23] <irogue_> international
1325: [23:24:41] <irogue_> http://www.snap.net.nz/support/network-status/28/en/international-connectivity-issues-19_05_2015-_-11am.html
1326: [23:25:06] * antmas plays wha wha trumpet
1327: [23:25:34] * irogue_ is now known as irogue
1328: [23:26:35] <irogue> dammit windows and its need to reboot after you do anything
1329: [23:26:55] <xyphoid> yeah we have lots of digiweb stuff and it was all broken from international
1330: [23:26:58] <xyphoid> good times
1331: [23:27:18] <antmas> I once tried to reboot after an update and it paused saying I needed to stop the reboot service so I could continue rebooting
1332: [23:27:31] * irogue quit ()
1333: [23:29:13] <zippy> xyphoid: digiweb us US? I thought it was nz
1334: [23:29:24] <zippy> ah, some sydney
1335: [23:30:08] <xyphoid> NZ digiweb stuff was broken from the point of view of international, i mean
1336: [23:30:13] <xyphoid> since that's where our monitoring is
1337: [23:33:34] * irogue has joined #silverstripe
1338: [23:33:57] <zippy> i c
1339: [23:34:18] * Stomach quit (Quit: zzz)
1340: [23:36:48] <zippy> I think i might get a camera for the front door or something
1341: [23:37:03] <zippy> the driveway beep goes off, so go have a look, just another charity
1342: [23:38:52] <antmas> random people coming to the door is the worst
1343: [23:40:06] <irogue> doesn't seem to happen much here
1344: [23:41:10] * spronk2 has joined #silverstripe
1345: [23:41:43] <zippy> wow so
1346: [23:41:46] <zippy> so I think
1347: [23:41:55] <zippy> they removed the need for clones in eve
1348: [23:42:06] <zippy> so when you die and don't have a clone you lose no skills
1349: [23:42:12] * zippy is working hard
1350: [23:44:03] <Ryan-Toast> Anyone got UploadField wortking with GridFieldExtensions before?
1351: [23:48:47] * Stomach has joined #silverstripe
1352: [23:50:17] * Vedran__ has joined #silverstripe
1353: [23:51:30] <Vedran__> Hello. I have extended MySiteConfig with a Image called Logo. How can I access the url of this image on the front end? I have tried <img src="$SiteConfig.Logo.SetWidth(750)" /> and nothing is rendeing
1354: [23:51:34] <Vedran__> *rendering
1355: [23:52:44] <zippy> $SiteConfig.Logo.SetWidth(750).URL
1356: [23:52:53] <zippy> or, just do $SiteConfig.Logo.SetWidth(750) and not add in <img
1357: [23:53:12] <Vedran__> ahhh gotcha
1358: [23:53:14] <Vedran__> thanks zippy
1359: [23:53:56] * dospuntocero has joined #silverstripe
1360: [23:55:08] <Vedran__> hrm... nothing is apearring at all with the second syntax. Does it need to be inside <% or <? ?
1361: [23:55:53] <zippy> $SiteConfig.Logo.Debug
1362: [23:56:24] <Vedran__> thank you sir :)
1363: [23:56:45] <Vedran__> can debug be thrown on anything?
1364: [23:56:46] * DanaeNZ has left #silverstripe
1365: [23:56:53] <zippy> generally
1366: [23:56:58] * DanaeNZ has joined #silverstripe

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