#silverstripe IRC Log

IRC log for 12 January 2014

All timestamps are in UTC.

1: [00:17:18] * jrthomer_ has joined #silverstripe
2: [00:17:47] * jrthomer quit (Ping timeout: 260 seconds)
3: [00:19:52] * OxFF1 quit (Ping timeout: 272 seconds)
4: [01:09:43] * Pyromanik quit (Ping timeout: 246 seconds)
5: [01:55:54] * gelignite_ has joined #silverstripe
6: [02:00:03] * gelignite quit (Ping timeout: 276 seconds)
7: [02:16:33] * Liquide quit ()
8: [02:18:58] * DigNZ has joined #silverstripe
9: [02:41:56] * willr quit (Quit: willr)
10: [02:52:01] * DigNZ quit (Quit: DigNZ)
11: [03:21:24] * travis-ci has joined #silverstripe
12: [03:21:24] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1773 (3.1 - 13bd4e9 : Will Rossiter): The build passed.
13: [03:21:24] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/5e3420a640fe...13bd4e96b1bd
14: [03:21:24] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/16804066
15: [03:21:24] * travis-ci has left #silverstripe
16: [03:24:44] * gelignite_ quit (Quit: http://bit.ly/nkczDT)
17: [03:47:22] * jrthomer_ quit (Quit: Leaving...)
18: [04:11:26] * cloph_away has joined #silverstripe
19: [04:12:03] * cloph quit (Ping timeout: 260 seconds)
20: [04:18:12] * DigNZ has joined #silverstripe
21: [04:22:52] * DigNZ quit (Client Quit)
22: [04:35:07] * ObiWanSh_ has joined #silverstripe
23: [04:40:13] * travis-ci has joined #silverstripe
24: [04:40:13] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1774 (3.1 - e726653 : Will Rossiter): The build passed.
25: [04:40:13] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/13bd4e96b1bd...e7266535c508
26: [04:40:14] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/16805397
27: [04:40:14] * travis-ci has left #silverstripe
28: [04:54:41] * CodeTrap quit (Ping timeout: 252 seconds)
29: [04:55:34] * CodeTrap has joined #silverstripe
30: [05:01:03] * ss23 quit (Quit: Lost terminal)
31: [05:09:46] * ss23 has joined #silverstripe
32: [05:16:09] * ObiWanSh_ quit (Remote host closed the connection)
33: [05:16:42] * ObiWanShanobi has joined #silverstripe
34: [05:17:30] * travis-ci has joined #silverstripe
35: [05:17:30] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1775 (3.1 - c61f654 : Will Rossiter): The build passed.
36: [05:17:30] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/e7266535c508...c61f6540fb30
37: [05:17:31] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/16805941
38: [05:17:31] * travis-ci has left #silverstripe
39: [05:20:11] * ObiWanShanobi quit (Remote host closed the connection)
40: [05:20:23] * ObiWanShanobi has joined #silverstripe
41: [06:08:55] * travis-ci has joined #silverstripe
42: [06:08:55] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1776 (3.1 - a50996a : Will Rossiter): The build passed.
43: [06:08:55] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c61f6540fb30...a50996a010e9
44: [06:08:55] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/16806745
45: [06:08:55] * travis-ci has left #silverstripe
46: [06:24:21] * ObiWanShanobi quit (Remote host closed the connection)
47: [07:09:53] * zippy__ has joined #silverstripe
48: [08:00:07] * guzzlefry has left #silverstripe
49: [08:00:41] * zippy__ quit (Quit: zippy__)
50: [08:08:15] * travis-ci has joined #silverstripe
51: [08:08:15] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1777 (3.1 - 0b22ca6 : Will Rossiter): The build passed.
52: [08:08:15] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a50996a010e9...0b22ca6c5914
53: [08:08:15] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/16808732
54: [08:08:15] * travis-ci has left #silverstripe
55: [09:45:06] * DigNZ has joined #silverstripe
56: [09:45:15] * DigNZ quit (Client Quit)
57: [09:46:08] <simon_w> Sheesh willr, 100 emails.
58: [09:46:55] <ss23> lol
59: [09:47:00] <ss23> THATS A LOT OF EMAILS
60: [09:47:05] <ss23> I see he went on an issue rampache
61: [09:47:55] <simon_w> yeah
62: [09:52:42] * violet- quit (Read error: Connection reset by peer)
63: [09:52:55] * violetina has joined #silverstripe
64: [11:08:06] * cloph_away quit (*.net *.split)
65: [11:08:06] * robert_ quit (*.net *.split)
66: [11:08:06] * coldhand_ quit (*.net *.split)
67: [11:08:06] * unsignedint quit (*.net *.split)
68: [11:08:06] * violetina quit (*.net *.split)
69: [11:08:07] * EasyCo quit (*.net *.split)
70: [11:08:07] * Kolin quit (*.net *.split)
71: [11:08:07] * madmatt_ quit (*.net *.split)
72: [11:27:53] <Zauberfisch> simon_w: can you assign some more issues to me please
73: [11:27:57] <Zauberfisch> https://github.com/silverstripe/silverstripe-framework/issues/2636
74: [11:28:49] <Zauberfisch> actually, just this one I posted
75: [11:47:47] * violetina has joined #silverstripe
76: [11:47:48] * EasyCo has joined #silverstripe
77: [11:47:48] * Kolin has joined #silverstripe
78: [11:47:48] * madmatt_ has joined #silverstripe
79: [11:51:05] * cloph_away has joined #silverstripe
80: [11:51:05] * robert_ has joined #silverstripe
81: [11:51:05] * coldhand_ has joined #silverstripe
82: [11:51:05] * unsignedint has joined #silverstripe
83: [12:34:33] * gelignite has joined #silverstripe
84: [12:58:34] * robert_ quit (Read error: Connection reset by peer)
85: [13:24:12] * Sj0hn has joined #silverstripe
86: [17:17:22] * j9x has joined #silverstripe
87: [17:18:07] <j9x> hello
88: [17:19:53] <j9x> i've got a little problem with permissions and DataObjects: either the backend user is not able to view the DataObject or the frontend-guest will be presented a login form in order to view the DataObject. is it ok to always return true in canView, or is this a security risk?
89: [17:52:49] * OxFF1 has joined #silverstripe
90: [18:17:14] <simon_w> j9x, yeah, that's fine
91: [18:17:39] <simon_w> Unless you want more complicated viewing permissions then nothing bad's going to happen
92: [18:28:15] * simon_w quit (Quit: This computer has gone to sleep)
93: [18:30:08] * nhorstmeier has joined #silverstripe
94: [18:31:05] * nhorstmeier quit (Client Quit)
95: [18:31:50] * SphereSilverNL has joined #silverstripe
96: [18:32:58] <Azure> Is there a way in templates to determine that you are in an action rather than in the page(type) itself?
97: [18:33:32] <SphereSilverNL> In what way exactly?
98: [18:33:57] <Azure> $ClassName vs ????
99: [18:34:30] * SphereSilverNL_ has joined #silverstripe
100: [18:34:41] <SphereSilverNL_> Great, IRC client quitted. :/
101: [18:34:52] <SphereSilverNL_> Anyway, back on topic, how to detect?
102: [18:35:00] <Azure> $ClassName vs ????
103: [18:35:21] <SphereSilverNL_> Well, just simply having a "MyClassName_action.ss" file, will be run as a page
104: [18:35:33] <SphereSilverNL_> thus, you are in the action-parameter
105: [18:35:36] <Azure> $ClassName however just outputs MyClassName.
106: [18:35:45] <Azure> I have several conditionals in my main Page template used for requiring javascript/etc. that are only used on two pagetypes, one being a Holder and one being a normal Page.
107: [18:36:43] <Azure> The normal page type has an extension that adds on a function for showing individual dataobjects.
108: [18:36:47] <SphereSilverNL_> In your PageClass, add a public function myclass(){ Requirements::javascript('location/of/my/javascript.js'); return $this }
109: [18:37:49] <Azure> Of course, I'm extending a module which has those page types in it.
110: [18:37:55] * SphereSilverNL quit (Ping timeout: 245 seconds)
111: [18:38:09] * SphereSilverNL_ is now known as SphereSilverNL
112: [18:38:13] <Azure> I already had to modify the module so then I could add in the action under $allowed_actions.
113: [18:38:15] <SphereSilverNL> You can override them :D
114: [18:39:22] <Azure> So I can just copy the PHP file into my site's code directory, make the changes, and it'll use that instead of the module?
115: [18:39:39] <Azure> (Or add in whatever I need to add in)
116: [18:39:58] <SphereSilverNL> If it's overriding the parent, yes
117: [18:40:22] <SphereSilverNL> If the parent says A, and you want B, override the parint function
118: [18:41:19] <SphereSilverNL> parint == parent, ofcourse.
119: [18:54:35] * mobiusnz quit (Quit: Leaving.)
120: [18:56:37] * simon_w has joined #silverstripe
121: [18:57:19] * OxFF1 quit (Quit: Hasta la proxima)
122: [19:00:06] * Sj0hn quit (Read error: Connection reset by peer)
123: [19:04:18] * CodeTrap quit (Quit: CodeTrap)
124: [19:11:02] <j9x> simon_w: thanks a lot!
125: [19:13:14] * mobiusnz has joined #silverstripe
126: [19:17:33] * antmas has joined #silverstripe
127: [19:30:51] * j9x quit (Quit: Leaving)
128: [19:33:23] * zippy__ has joined #silverstripe
129: [19:40:13] * antmas quit (Ping timeout: 272 seconds)
130: [19:52:17] * nickmolhoek has joined #silverstripe
131: [20:04:15] * UncleCheese has joined #silverstripe
132: [20:11:15] * willr has joined #silverstripe
133: [20:14:17] * boytikz has joined #silverstripe
134: [20:15:16] <boytikz> How do you reverse route in SilverStripe templates?
135: [20:15:57] <simon_w> What do you mean?
136: [20:16:09] <unsignedint> turn urls into routes? I dont think you can
137: [20:17:22] <boytikz> yeah, like if I change routes in routes.yml file, as long as I pass on the correct params it will turn the URL into the new route
138: [20:18:38] <zippy__> something like, BuildRoute('ControllerName.FunctionName') ?
139: [20:19:25] <boytikz> zippy_ yes
140: [20:20:39] <simon_w> Usually done with a Link() method you implement on your controller
141: [20:21:53] * nickmolhoek quit (Quit: nickmolhoek)
142: [20:25:48] <boytikz> Thanks. Yeah that's how I'm going to do it. Just wondering if there's reverse routing similar to other frameworks.
143: [20:28:57] <unsignedint> is it possible to add a new tab to ModelAdmin with arbitrary fields on it?
144: [20:29:39] <unsignedint> I dont want to manage many instances of a DataObject via a GridField, I more want to manage a single global instance of a DataObject via a normal form
145: [20:30:57] * willr quit (Quit: willr)
146: [20:33:36] * jox has joined #silverstripe
147: [20:35:43] <jox> hi. I upgraded to Silverstripe 3.1.2 but my dev/build always stops at 'Widget' and the backend does not work. What could be done?
148: [20:35:44] * willr has joined #silverstripe
149: [20:36:02] <unsignedint> install the widgets module
150: [20:36:11] <unsignedint> ?
151: [20:36:26] <jox> I do have a folder 'widgets'
152: [20:36:29] <unsignedint> what SS did you upgrade from? if you had the blog module, I think it required the widgets module for some reason
153: [20:36:31] <jox> is there another module
154: [20:36:43] <jox> I upgraded from 3.0
155: [20:36:55] <jox> and I already upgraded the blog module
156: [20:36:55] <unsignedint> oh, then i am unsure
157: [20:37:11] <unsignedint> is there an error when it stops?
158: [20:37:18] <jox> is the widget module part of the standard installation file?
159: [20:37:23] <jox> no error
160: [20:37:24] <unsignedint> check php errorlog
161: [20:37:42] <jox> ok...
162: [20:38:02] * Ryan-Toast has joined #silverstripe
163: [20:38:52] <Ryan-Toast> Happy new year, everyone!
164: [20:39:25] <unsignedint> Happy new year Ryan-Toast
165: [20:39:37] <unsignedint> im guessing you havn't started work again this year :P
166: [20:39:45] <Ryan-Toast> First day back :D
167: [20:39:50] <unsignedint> haha lucky bugger
168: [20:39:54] <unsignedint> I had to be back on the 6th
169: [20:39:56] <jox> I activated dev-mode and it says (in the backend)
170: [20:39:57] <jox> Error at line 1425 of /Library/WebServer/Documents/silverstripe/framework/model/DataObject.php
171: [20:40:16] <unsignedint> what PHP version are you using?
172: [20:40:18] <Ryan-Toast> unsignedint: I think most people did, but I took off another week :P
173: [20:40:42] <jox> during dev/build it gives no error.
174: [20:40:43] <unsignedint> I took off the 1st week of feb otherwise I wuld have too
175: [20:40:54] <jox> still looking for php error messages...
176: [20:40:58] <unsignedint> jox: have you deleted the cache folders?
177: [20:41:05] * antmas has joined #silverstripe
178: [20:41:12] <unsignedint> jox: does dev/build finish with the "Build completed" message?
179: [20:41:15] <antmas> mernin
180: [20:41:27] <jox> you mean ?flush=1
181: [20:41:42] <jox> no "Build complete"
182: [20:41:43] <unsignedint> no, I mean `rm /webroot/silversripe-cache/`
183: [20:41:45] * nickmolhoek has joined #silverstripe
184: [20:41:48] <jox> it just stops after "Widget"
185: [20:41:58] <unsignedint> so thats the first problem that needs to be solved
186: [20:42:29] <unsignedint> php error log is typically in the webserver logfile, eg /var/log/apache2/error.log
187: [20:42:30] <jox> ok, first the build, then the backend
188: [20:42:40] <jox> ok, there is no error message
189: [20:42:47] <unsignedint> good ol' php
190: [20:42:53] <unsignedint> what level of error_reporting are you using
191: [20:42:53] <jox> and I don't have a /webroot/silversripe-cache/ folder
192: [20:43:12] <unsignedint> (I assume you replaced /webroot with the root of your website)
193: [20:43:38] <jox> yes
194: [20:43:48] <simon_w> jox, turn display errors on
195: [20:43:55] <unsignedint> sometimes I put error_reporting(-1) in code/_config.php because PHP always seems to ignore its own .ini file
196: [20:44:13] <unsignedint> oh, wouldve thought you already had display_errors On in php.ini
197: [20:44:40] <jox> in .config.php there is the line error_reporting(E_ALL)
198: [20:44:54] <simon_w> That's not display_errors
199: [20:45:05] <unsignedint> what about display_errors in php.ini
200: [20:45:17] <jox> is on
201: [20:45:20] <jox> no off
202: [20:45:27] <jox> log_errors is on
203: [20:45:32] * simon_w blames FrozenFire for the wrongness on http://php.net/bzopen
204: [20:45:33] <unsignedint> turn display_errors on
205: [20:45:38] <jox> ok...
206: [20:46:26] * willr quit (Quit: willr)
207: [20:46:28] <jox> aha: Fatal error: Access level to ArchiveWidget::$db must be public (as in class Widget) in /Library/WebServer/Documents/silverstripe/widget_blog/code/widgets/ArchiveWidget.php on line 11
208: [20:46:35] <unsignedint> well there you go
209: [20:46:44] <jox> ok, I will have a look...
210: [20:46:45] <unsignedint> update widgets module
211: [20:47:42] <jox> how can I do this?
212: [20:48:39] <jox> I'm not synchronised with github but working with the installer files
213: [20:49:00] <antmas> jox: what SS version?
214: [20:49:12] <jox> 3.1.2
215: [20:49:20] <jox> installed last tuesday
216: [20:51:00] * DigNZ has joined #silverstripe
217: [20:51:09] <antmas> :O
218: [20:51:11] <antmas> http://www.nzherald.co.nz/video/news/article.cfm?c_id=1501138&objectid=11180448
219: [20:51:52] <jox> ok, I removed the (apparently old) widget module and now dev/build completes
220: [20:52:33] <FrozenFire> simon_w, Submit a bug. :P
221: [20:52:40] <FrozenFire> There's a link right on the manual
222: [20:52:49] <jox> but now I don't have a WidgetAreaEditor
223: [20:52:53] <simon_w> FrozenFire, yeah yeah :p
224: [20:53:04] <FrozenFire> Alternatively, submit a patch
225: [20:53:06] <simon_w> FrozenFire, did you know it can take an open file resource instead of a name?
226: [20:53:21] <simon_w> It's undocumented, but tested, behaviour
227: [20:53:54] <FrozenFire> simon_w, https://github.com/php/php-src/blob/master/ext/bz2/bz2.c#L395
228: [20:53:57] <jox> So I definitely should download the widget module
229: [20:54:15] <jox> it's just downloading https://github.com/silverstripe/silverstripe-widgets ?
230: [20:55:13] <antmas> jox: essentially, yes
231: [20:55:17] <simon_w> FrozenFire, yes, I know. Tests broke when I made the HNI match the docs
232: [20:55:17] * willr has joined #silverstripe
233: [20:56:44] <jox> the folder is called 'silverstripe-widget-master'. Should it be renamed?
234: [20:56:54] <simon_w> And then none of the return types mention bool, but they all return false on failure
235: [20:57:33] * Stomach has joined #silverstripe
236: [20:58:16] <FrozenFire> simon_w, False on failure is never documented in the prototype, but always documented in the return values section.
237: [20:58:19] <antmas> jox: if the .md doesn't say to do so, then no. But you should really be using composer with 3.x+
238: [20:58:31] <antmas> to install moduels
239: [20:58:34] <FrozenFire> The prototype documents how it functions when it works
240: [20:58:36] <antmas> modules* and update them
241: [20:58:41] <simon_w> FrozenFire, which is stupid. As is returning false.
242: [20:58:59] <FrozenFire> simon_w, So we should set the return value on the prototype to mixed for every single function?
243: [20:59:03] <simon_w> Standard Zend practice is to return null
244: [20:59:04] <jox> ok, can I use composer with an existing installation?
245: [20:59:11] <FrozenFire> simon_w, That's patently false.
246: [20:59:49] <FrozenFire> The documentation has a global entity called &return.falseforfailure;
247: [20:59:53] <jox> antman, now I have a Warning at line 994 of /Library/WebServer/Documents/silverstripe/framework/view/SSViewer.php
248: [20:59:58] <FrozenFire> Because that's the standard return value for failure.
249: [21:00:04] <simon_w> No it isn't
250: [21:00:11] <FrozenFire> There's no &return.nullforfailure;
251: [21:00:17] <jox> in the backend, when I try to edit a page
252: [21:00:46] <simon_w> FrozenFire, I am going through and converting HHVM's IDL to HNI. The most common failure return is null
253: [21:00:49] <jox> sorry, antmas!
254: [21:01:31] <antmas> jox: no prob, yes you should be able to use composer with an existing install
255: [21:01:44] * Azure quit (Quit: My MBP went to sleep.)
256: [21:01:50] <jox> ok, I will read the docs and install it later
257: [21:02:19] <simon_w> FrozenFire, also, the null return is almost never documented since it mostly occurs when failing to coerce parameters
258: [21:02:24] <jox> now, the dev build is complete with the new widget module but I still can't edit a page in the backend
259: [21:02:50] <FrozenFire> simon_w, Yeah, you're right on that. The way it works is that the Zend engine will return null for *engine* failures.
260: [21:03:03] <FrozenFire> The standard return for failure of the behaviour of the function is false.
261: [21:03:16] <FrozenFire> If it cannot parse parameters, it will return null.
262: [21:03:20] <FrozenFire> But that's nothing to do with the function
263: [21:03:31] <simon_w> FrozenFire, that has everything to do with the function
264: [21:03:42] <simon_w> if(parse_params == FAILURE) { return false; }
265: [21:03:46] <simon_w> That happens.
266: [21:03:55] <FrozenFire> https://github.com/php/php-src/blob/master/ext/bz2/bz2.c#L371
267: [21:04:14] <FrozenFire> That's the standard way of doing things.
268: [21:04:36] <FrozenFire> Granted, there are variations of that.
269: [21:04:57] <FrozenFire> It's a crappy part of PHP that parameter parsing failures are not consistent, but the standard way of doing it is to return null.
270: [21:05:09] <jox> antmas: but it's only a problem in dev-mode.
271: [21:05:32] <antmas> jox: any errors?
272: [21:05:47] <jox> antmas: In dev-mode I get Warning at line 994 of /Library/WebServer/Documents/silverstripe/framework/view/SSViewer.php
273: [21:05:56] <jox> when trying to access a page
274: [21:06:47] <antmas> jox: flush
275: [21:07:27] <FrozenFire> simon_w, I'd be interested to know how widely that varies
276: [21:07:36] <jox> antmas: now I get: [User Error] Uncaught Exception: DataObject->getComponent(): Could not find component 'Sidebar'.
277: [21:07:52] * camfindlay has joined #silverstripe
278: [21:07:53] <jox> but this might be a problem in my templates
279: [21:08:28] <simon_w> FrozenFire, just enough to be annoying, but not enough that someone else has gone and added support for HHVM to return false on coerce failure
280: [21:08:42] <antmas> jox: or, you may need to also update your blog module
281: [21:09:10] <jox> antmas: I updated it last week
282: [21:09:20] <jox> the blog is working
283: [21:09:32] <jox> the problem is the backend
284: [21:10:00] * violetina quit (Ping timeout: 245 seconds)
285: [21:10:18] <FrozenFire> simon_w, I think one potential subtlety of it is that it'll sometimes return false when the required parameter being null could conceivably be cast to the right type.
286: [21:10:23] <FrozenFire> E.g. null == empty string
287: [21:10:39] * violetina has joined #silverstripe
288: [21:11:22] <FrozenFire> That might just be explaining it away, though. :P
289: [21:11:31] <FrozenFire> I don't know what goes through the minds of pecl devs.
290: [21:11:51] <antmas> jox: does this happen for every page? or just the blog page types?
291: [21:11:55] <FrozenFire> I've made a name for myself by guessing at it. :P
292: [21:12:24] <jox> antmas: for every page
293: [21:12:59] <antmas> jox: reinstall the blog module
294: [21:13:27] <jox> ok
295: [21:13:28] <simon_w> FrozenFire, well, it makes it really annoying that I can't just question mark the return type hints :p
296: [21:15:18] <FrozenFire> Updated the bzopen documentation
297: [21:15:34] <FrozenFire> Did you open a bug for that?
298: [21:15:43] <simon_w> Nope. I tried updating myself and got confused
299: [21:16:04] <FrozenFire> Heh. Yeah, the documentation can be confusing to edit if you don't have someone guiding you.
300: [21:16:20] <FrozenFire> By and large you can ignore edit.php.net
301: [21:16:31] <simon_w> Need docs on how to edit the docs!
302: [21:16:38] <FrozenFire> There are. ;)
303: [21:17:11] <FrozenFire> https://wiki.php.net/doc/howto
304: [21:18:05] <FrozenFire> There are also several people eager to bring new documentors onboard (myself included)
305: [21:18:27] <jox> antmas: I installed the silverstripe-blog-master, rebuild, reflushed
306: [21:18:33] <jox> and now I get Error at line 1425 of /Library/WebServer/Documents/silverstripe/framework/model/DataObject.php
307: [21:18:35] * willr quit (Quit: willr)
308: [21:18:40] <jox> when I try to access a page
309: [21:18:56] <jox> blogpages are fine ;-)
310: [21:19:14] <simon_w> FrozenFire, well, if I finish this HNI conversion for HHVM, I might look into it
311: [21:19:30] * willr has joined #silverstripe
312: [21:19:49] <FrozenFire> There are also perhaps better ways to figure out possible return values than trial and error, by the way.
313: [21:19:58] <FrozenFire> Ugly ways, but I can think of ways I've done similar things before.
314: [21:20:30] <simon_w> Do the convert, run the tests, see what fails? :p
315: [21:21:14] <FrozenFire> Enumerate the functions in PHP, grep for PHP_FUNCTION(<function_name>) and parse the body for certain strings. (e.g. 'return;')
316: [21:21:18] <simon_w> (Is pretty much what I'm doing at the moment, and reading the return line when I copy+paste it)
317: [21:33:01] <jox> antmas: I found the problem in my templates: I used the old WidgetAreaEditor
318: [21:34:34] <jox> now everything seems to work and I will reconstruct my widgets
319: [21:34:40] <jox> thanks for your help
320: [21:40:23] * Azure has joined #silverstripe
321: [21:42:06] <Ryan-Toast> If you're on a desktop and want to listen to some music I've been working on this: http://demo.ryanpotter.co.nz/playlister/
322: [21:44:21] * jox quit (Ping timeout: 272 seconds)
323: [21:45:05] * FrozenFire sticks to Grooveshark
324: [21:45:25] * jedateach has joined #silverstripe
325: [21:45:37] <Ryan-Toast> Just wanted to play with the Reddit API, so just made it for shits and gigs :P
326: [21:46:21] * simon_w sticks to iTunes and actually supports artists
327: [21:49:23] <FrozenFire> Fuck the artists
328: [21:49:54] <FrozenFire> Also, iTunes supports the artists?
329: [21:50:38] <simon_w> Buying their music does
330: [21:50:43] <FrozenFire> Does it?
331: [21:50:47] <simon_w> Yes
332: [21:50:59] <FrozenFire> I was under the impression that they only got a very small fraction of the amount you pay
333: [21:51:20] <FrozenFire> Instead they rely on concert tickets and whatnot for their money
334: [21:54:19] <ss23> 10:49:54 < FrozenFire> Also, iTunes supports the artists?
335: [21:54:20] <ss23> ahaha
336: [21:54:23] <ss23> This made me lol
337: [21:54:30] * guzzlefry has joined #silverstripe
338: [21:55:08] <guzzlefry> Do parenthesis need to be escaped with whatever markup docs.silverstripe.org uses?
339: [21:55:44] <ss23> The internet from a quick search seems to imply that artists make around ~9c a song
340: [21:55:52] <ss23> (from itunes)
341: [21:55:57] <ss23> I prefer to buy off bandcamp if I can
342: [21:56:00] <FrozenFire> Of what amount?
343: [21:56:03] <guzzlefry> parentheses...h8 u english
344: [21:56:11] <FrozenFire> Is that like, 1%?
345: [21:56:21] <ss23> naw, more than that, ~9% or so it looks like
346: [22:01:09] * guzzlefry has left #silverstripe
347: [22:09:10] <simon_w> Hmm, no imagik extension. Maybe I'll have to write one.
348: [22:09:55] * camfindlay quit (Quit: camfindlay)
349: [22:10:08] <FrozenFire> Oh boy good luck
350: [22:10:58] <ss23> gd 4 lyfe!
351: [22:11:37] * DigNZ quit (Quit: DigNZ)
352: [22:13:33] <simon_w> Also, I really need to stop switching between git and svn repos
353: [22:14:09] * camfindlay has joined #silverstripe
354: [22:14:44] <FrozenFire> Heh. You're telling me. Trying to work on the docs can be infuriating for me, because they're on SVN
355: [22:14:45] <ss23> `git` can handle SVN, right?
356: [22:15:19] <FrozenFire> ss23, In a loose sense, I think
357: [22:15:43] * camfindlay quit (Client Quit)
358: [22:16:01] * antmas quit (Ping timeout: 272 seconds)
359: [22:17:05] * camfindlay has joined #silverstripe
360: [22:22:33] * camfindlay quit (Quit: camfindlay)
361: [22:22:47] * camfindlay has joined #silverstripe
362: [22:23:45] <zippy__> ss23: yes, git-svn
363: [22:27:38] * SphereSilverNL quit (Remote host closed the connection)
364: [22:30:13] * antmas has joined #silverstripe
365: [22:31:13] * camfindlay quit (Quit: camfindlay)
366: [22:34:35] <antmas> mmm dat leather smell
367: [22:35:37] * camfindlay has joined #silverstripe
368: [22:35:47] <ss23> Is leather smell good?
369: [22:35:51] <ss23> Also, wecome back, antmas
370: [22:37:02] <antmas> ss23: it does :D
371: [22:37:11] <antmas> ss23: Harro!
372: [22:37:29] * camfindlay quit (Client Quit)
373: [22:37:29] <antmas> longest holiday I've had in ~3 years
374: [22:39:16] <ss23> :O
375: [22:39:18] <ss23> How long?
376: [22:41:22] <antmas> I've been off since the 20th
377: [22:41:26] <antmas> of Jan
378: [22:42:27] <antmas> so I've pretty much forgotten how to computer
379: [22:43:24] <simon_w> Also, how to month
380: [22:43:49] <antmas> that too
381: [22:44:04] <Ryan-Toast> antmas: Opened my command promt and just stared at it for a good 2 minutes...WHAT ARE THE COMMANDS?
382: [22:44:41] <simon_w> sudo dd if=/dev/zero of=/dev/disk0
383: [22:45:25] <antmas> Ryan-Toast: I had a note I'd made for myself stuck to my monitor "do backups and spend less time on IRC"
384: [22:45:55] <Ryan-Toast> antmas: Mine is "Learn how to run automated tests"
385: [22:46:07] <antmas> Ryan-Toast: I had that too :D
386: [22:46:16] <simon_w> Ryan-Toast, cd silverstripe-dir; phpunit
387: [22:46:54] <antmas> I also now have a plant
388: [22:46:58] <antmas> by my desk
389: [22:47:19] <Ryan-Toast> Aww yiss.
390: [22:47:26] <simon_w> You have a desk? Such luxury!
391: [22:47:28] <Ryan-Toast> I need some plants.
392: [22:47:54] <antmas> plants are good
393: [22:48:06] <Ryan-Toast> Plants normally die around me.
394: [22:48:10] <antmas> although this plant is called 'Ferny' and is almost dead
395: [22:48:14] <ss23> Don't you hate it when you have a dammed exploit that *should* work, but doesn't?
396: [22:48:17] <antmas> ^^^^
397: [22:48:17] <Ryan-Toast> So I need some ultra low maintenance ones.
398: [22:48:33] <antmas> Ryan-Toast: get some Cacti!
399: [22:48:36] <ss23> I'm like 99% sure someone can just log into this site without a password...
400: [22:48:50] <Ryan-Toast> antmas: I like yakas
401: [22:48:53] <ss23> My flatmate brought home a bunch of bonsai plants...
402: [22:48:57] <simon_w> Well, that's enough IRC for today!
403: [22:49:03] <ss23> I htink he just got really high and went into town and was fasinated with them :S
404: [22:49:06] <ss23> simon_w: WHAT
405: [22:49:09] <ss23> simon_w: WHY? ;_;
406: [22:49:14] <Ryan-Toast> Yucca**
407: [22:49:25] <Ryan-Toast> I had a bonsai...it died.
408: [22:49:43] <Ryan-Toast> I was kind of glad it died, that thing stressed me out.
409: [22:49:58] <antmas> such pressure
410: [22:50:00] <ss23> hahah
411: [22:50:05] <simon_w> ss23, FOR TEH LULZ
412: [22:50:10] <ss23> simon_w: QQ
413: [22:50:14] <Ryan-Toast> wow. such memes.
414: [22:51:38] <antmas> WHO INSTALLED ITUNES ON MY PC?
415: [22:51:41] <antmas> WTF
416: [22:51:52] <antmas> y dis?
417: [22:52:23] <ss23> :O
418: [22:52:25] <ss23> UNINSTALL
419: [22:52:51] * antmas checks desk for more RAM and bandaids
420: [22:52:59] <antmas> IT'S ALL GONE!
421: [22:53:01] <antmas> ;__;
422: [22:53:07] * gelignite quit (Quit: http://bit.ly/nkczDT)
423: [22:57:30] <antmas> http://www.youtube.com/watch?v=wZuc67uNo4U
424: [22:59:00] <simon_w> I prefer the live version
425: [22:59:33] <ss23> ram and bandaids...?
426: [23:00:49] <Stomach> using alterDataQuery to set a group by
427: [23:00:51] <ss23> Fuck, I have a list of ~4 things to do as part of this release. The last thing is just "SubscriptionDisableCheck", and I have no idea wtf it is...
428: [23:00:51] <Stomach> http://www.sspaste.com/paste/show/52d31bcee16ad
429: [23:00:55] <Stomach> is that right?
430: [23:01:31] <simon_w> Stomach, no
431: [23:01:40] <simon_w> No properties, just methods
432: [23:02:06] <Stomach> oh yes
433: [23:02:07] <Stomach> thanks man
434: [23:16:16] * boytikz quit (Quit: Leaving.)
435: [23:18:32] * jox has joined #silverstripe
436: [23:19:21] <jox> Hello, I have a problem with the RSSWidget-object:
437: [23:19:28] <jox> I tried the code from https://github.com/silverstripe/silverstripe-widgets#rendering-a-widget-individually
438: [23:19:37] <jox> to show an extern rss-feed
439: [23:19:58] <jox> it worked fine on SS 3.0, but since my upgrade to 3.1.2 the code is broken
440: [23:20:15] <jox> the line return $widget->renderWith("WidgetHolder"); throws the error
441: [23:20:24] <jox> if(!class_exists('SimplePie')) { 76 throw new LogicException( 77 'Please install the "simplepie/simplepie" library by adding it to the "require" ' 78 + 'section of your composer.json' 79 ); 80 }
442: [23:20:39] <jox> but simplepie is already in framework/thirdparty/simplepie
443: [23:20:51] <jox> thanks for any help
444: [23:27:45] <antmas> ss23: nvm
445: [23:27:49] * jox quit (Quit: Page closed)
446: [23:28:18] * jox has joined #silverstripe
447: [23:30:10] <antmas> what to have for lunch...
448: [23:30:30] <ss23> idk, I want lunch
449: [23:30:38] <ss23> But I'm in the middle of a release
450: [23:30:52] <simon_w> So?
451: [23:31:32] <jox> hi, can anyone help me with a rsswidget-problem?
452: [23:33:13] * violetina quit (Remote host closed the connection)
453: [23:33:30] <simon_w> jox, add require_once THIRDPARTY_PATH . '/simplepie/simplepie.inc'; to your _config.php
454: [23:34:00] <jox> @simon_w: thanks
455: [23:36:10] <ss23> simon_w: So I'll be FIRED
456: [23:36:12] <ss23> simon_w: Wanna get lunch? <3
457: [23:36:31] <simon_w> ss23, you know you need a verbal and two written warnings now right?
458: [23:36:39] <ss23> lol
459: [23:36:45] <ss23> still!
460: [23:36:53] <ss23> I'm saving those for when I'm late
461: [23:36:53] <ss23> :
462: [23:36:54] <ss23> :D
463: [23:43:32] <simon_w> I just don't have set hours :p
464: [23:44:03] * jox quit (Ping timeout: 272 seconds)

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