#silverstripe IRC Log

IRC log for 8 October 2014

All timestamps are in UTC.

1: [00:00:08] <adrexia> meaning the same file touched by different devs, can start to look pretty unreadbale
2: [00:00:19] <Colin[pi]> mm I agree
3: [00:00:27] <adrexia> anbd readbility is rather important when we are doiing crazy stuff with dependecy injection
4: [00:00:33] <jolene> haha dead line in 40 minutes and i'm arguinga bout yaml
5: [00:00:37] <jolene> gg mate
6: [00:00:40] <Colin[pi]> lol
7: [00:00:52] <adrexia> :D
8: [00:01:07] <spronk> readability isn't just visual aesthetics though
9: [00:01:07] <Colin[pi]> jolene: http://i.imgur.com/T1z6CcQ.gif
10: [00:01:16] <adrexia> spronk, agree
11: [00:01:18] <spronk> having stuff like DataObject::add_extension is a massive aid
12: [00:01:45] <adrexia> yaml lets you defind that with fewwerr words
13: [00:01:59] <spronk> which makes it less obvious
14: [00:02:04] <adrexia> sao you can add multiple extensions without retyping dataobject
15: [00:02:17] <spronk> well
16: [00:02:19] <adrexia> disagree - it makes it a naturtal list
17: [00:02:23] <spronk> there's no reason why you coulnd't be able to do that in PHP
18: [00:02:31] <adrexia> true
19: [00:02:43] <adrexia> you vcould render the entire yaml inside php
20: [00:02:51] <adrexia> php lets you do whatever really
21: [00:03:07] <simon_w|work> The way that adding an extension in YAML works internally makes me feel dirty
22: [00:03:40] <spronk> Object::add_extensions( { 'Member' => 'CoolBro', 'SiteTree' => 'Versioned' });
23: [00:03:46] <adrexia> simon_w|work, can it be improved?
24: [00:03:59] <adrexia> ahh passing arrays
25: [00:03:59] <spronk> it would be even nicer if it didn't use strings too
26: [00:04:03] <jolene> simon_w|work: the !!type overloads?
27: [00:04:10] <simon_w|work> adrexia, it's editting a static, so probably not
28: [00:04:18] <spronk> but classnames in php aren't syntactically valid
29: [00:04:25] <jolene> yeah i have yet to find a valid use for them except when i was doing some complicated vector stuff where the designers could just paste in the equations
30: [00:04:25] <adrexia> LeftAndMain:
31: [00:04:26] <adrexia> extensions:
32: [00:04:26] <adrexia> - Extension1
33: [00:04:26] <adrexia> - Extension2
34: [00:04:26] <adrexia> - Extension3
35: [00:04:26] <adrexia> - Extension4
36: [00:04:59] <spronk> yeahhh
37: [00:05:02] <spronk> god i hate yaml
38: [00:05:04] <spronk> what the fuck is - for
39: [00:05:11] <simon_w|work> It's a key!
40: [00:05:14] <simon_w|work> But it's not a key
41: [00:05:18] <spronk> exactly
42: [00:05:20] <adrexia> it's... a list
43: [00:05:33] * headtrip has joined #silverstripe
44: [00:05:41] <Colin[pi]> we're gonna go nowhere with this discussion you realise everyone lol
45: [00:05:43] <adrexia> I... don't even care
46: [00:05:58] <Colin[pi]> arguing.. internet.. retarded etc.
47: [00:06:01] <adrexia> I'm essentially arguing for the right not to care what the silverstripe config system is
48: [00:06:05] <adrexia> they are al the same to me
49: [00:06:20] <jolene> you hate the schema some guy is using
50: [00:06:26] <jolene> json is a subset of yaml remember
51: [00:06:35] <jolene> it's very flexible, it's up to the schema person not to be a dick
52: [00:06:39] <Colin[pi]> adrexia: yes but my main point is... if the CHOICE of config system has a definitive impact on the PERFORMANCE of SS, then that should be a concern
53: [00:06:48] <adrexia> I love json. but that has nothign to do with its use in configuration
54: [00:06:59] <simon_w|work> jolene, json is a subset of javascript, not yaml
55: [00:07:01] <adrexia> Colin[pi], yep
56: [00:07:14] <adrexia> but that's not where we have ended up
57: [00:07:16] <spronk> simon_w|work, json is a subset of YAML syntax
58: [00:07:19] <spronk> technically..
59: [00:07:21] <jolene> simon_w|work: http://en.wikipedia.org/wiki/YAML#JSON
60: [00:07:36] <spronk> which tbh just goes to show how fucked up yaml is :P
61: [00:07:36] <adrexia> and there is no reason yaml couldn't be quickewr than php
62: [00:07:46] <adrexia> if only because it limits the dumb stuff you can do with it
63: [00:07:47] <spronk> adrexia, yaml is always going to be slower
64: [00:07:47] <Colin[pi]> adrexia: it will never be quicker than php
65: [00:07:56] <simon_w|work> Oh god, they made yaml even worse by letting you write it as json
66: [00:08:01] <Colin[pi]> adrexia: raw php will always be faster than anything else
67: [00:08:02] <spronk> i know
68: [00:08:17] <adrexia> Colin[pi], not if you put all of the things in your config it won't be
69: [00:08:25] <adrexia> and phpo will let you do just that
70: [00:08:30] <Colin[pi]> adrexia: huh?
71: [00:08:46] <spronk> adrexia, with yaml you have to load the config, then exec it
72: [00:08:46] <simon_w|work> jolene, thank you for helping to show just how fucked up yaml is :p
73: [00:08:49] <spronk> with php you just have to exec the config
74: [00:09:01] <spronk> yaml tries to do way too much
75: [00:09:04] <spronk> multiple documents in one file? lol
76: [00:09:06] <Colin[pi]> any time you have a layer on top of raw php for config, it's gonna be slower
77: [00:09:07] <adrexia> I prefer dumb formats for config. limits what you can do with it
78: [00:09:15] <jolene> you don't need to do that spronk
79: [00:09:19] <adrexia> which is... at odds with php's ideology
80: [00:09:22] <spronk> "newlines preserved" vs "newlines folded"
81: [00:09:24] <jolene> this conversation has really shown a lack of understanding
82: [00:09:50] * adrexia alughs
83: [00:09:53] <adrexia> irc wins
84: [00:10:01] <spronk> jolene, i know about yaml, and i'm aware that its hugely flexible
85: [00:10:15] <spronk> and also that its use differs significantly depending on schema
86: [00:10:28] <jolene> it's up to the (in this case) config parser and engineer deciding how to make sane choices
87: [00:10:30] <spronk> but it doesn't stop me hating it
88: [00:10:32] <jolene> right now the SS yaml stuff is fucked
89: [00:10:43] <spronk> for the same reasons i hate C++
90: [00:11:33] <Colin[pi]> adrexia: I agree with you that the YAML format is tidier and helps prevent coder "messiness", but I really hate the performance hit that SS suffers currently
91: [00:11:42] * headtrip quit (Ping timeout: 246 seconds)
92: [00:11:49] <Colin[pi]> adrexia: that can be improved in time though, but it really needs some attention :\
93: [00:11:57] <adrexia> Colin[pi], ironically it was supposed to help improve performance
94: [00:12:01] <spronk> can't autocomplete my yaml either
95: [00:12:03] <Colin[pi]> lol
96: [00:12:05] <adrexia> it just didn't work out that way
97: [00:12:06] <jolene> it could easily be transposed into a pure PHP cache just like the big frameworks do with their class autoloaders
98: [00:12:21] <Colin[pi]> adrexia: I don't know what crack Hamish was smoking if he thought that
99: [00:12:22] <jolene> but frankly the current state of config needs to be reconsidered for SS in general
100: [00:12:59] <Colin[pi]> jolene: mm there are many, many improvements that could be made
101: [00:13:04] <adrexia> hehe
102: [00:13:08] <Colin[pi]> I mean compare a flush in SS3 to 2.4
103: [00:13:11] <simon_w|work> Colin[pi], adrexia, he also doesn't want to slightly increase memory usage to massively improve the performance
104: [00:13:12] <Colin[pi]> night and day diff
105: [00:13:28] <adrexia> hmm
106: [00:13:41] <adrexia> Hamish should hang out on irc
107: [00:13:51] <adrexia> that would be a good discussionh
108: [00:13:53] <Colin[pi]> adrexia: Hamish listens to opinions from one person: Hamish
109: [00:13:54] <spronk> tbh
110: [00:13:55] <Colin[pi]> ;D
111: [00:14:03] <spronk> SS is already ridiculously memory hungry
112: [00:14:13] <spronk> so, i get the sentiment
113: [00:14:15] <spronk> but it's misplaced
114: [00:14:39] * veb has joined #silverstripe
115: [00:14:59] <Colin[pi]> spronk: we should have all listened to Rasmus who famously stated that each PHP page request should use no more than 4 or 5 objects :D
116: [00:15:14] <spronk> haha
117: [00:15:16] <spronk> rasmus
118: [00:15:17] <spronk> that crazy fuck
119: [00:15:19] <Colin[pi]> lol
120: [00:15:53] <Colin[pi]> i mean, SS would be freakin LIGHTNING fast in 4 or 5 objects... and I'm sure all functionality could be retained, right? Right?
121: [00:16:25] <spronk> absolutely it could
122: [00:16:48] <Colin[pi]> a lot of this all comes back to php's "build the walls up, tear em down" on each R/R cycle btw...
123: [00:17:01] <adrexia> just statically publish everything
124: [00:17:08] <Colin[pi]> but that's WHY you need to avoid config systems with a lot of overhead
125: [00:17:21] <adrexia> pure html is the way to go
126: [00:17:28] <Colin[pi]> adrexia: haha good plan
127: [00:17:52] <markcl> Silverstripe takes around 30 seconds to load a template from scratch on my i7 Macbook Pro 2010
128: [00:17:55] <adrexia> err... having had to implement that plan a few times, there are a fe flaws in it ;)
129: [00:18:07] <adrexia> a *few flaws
130: [00:18:08] <markcl> and 17 seconds on my Macbook Air 2013 with Flash storage
131: [00:18:21] <Colin[pi]> markcl: yeah it can be freakin slow at times :\
132: [00:18:52] <Colin[pi]> markcl: but the solution currently seems to be "ehhh just throw more hardware at it"
133: [00:18:52] <spronk> SO SLOW
134: [00:18:56] <spronk> Colin[pi],
135: [00:18:58] <spronk> hardware is chepa
136: [00:19:00] <spronk> cheap
137: [00:19:15] <Colin[pi]> mm but really it shouldn't be a substitute for optimisation
138: [00:19:23] <spronk> mm..
139: [00:19:23] <Colin[pi]> or at least, there should be a balance
140: [00:19:29] <spronk> it has been in my workplace :p
141: [00:19:41] <Colin[pi]> hehe
142: [00:19:49] <spronk> cheaper to buy 10x more ram and cpus than 1000 man hours
143: [00:20:08] <markcl> Said MacBook Air is the top 1 laptop in the world up to now according to some reviews, yet it takes 17seconds to load all these Silverstripe configs and stuff to generate 1 page.
144: [00:20:27] <Colin[pi]> mm I don't know if those reviews are being completely honest ;P
145: [00:20:46] <adrexia> markcl, got any partial caching?
146: [00:20:52] <markcl> nah...
147: [00:21:00] <adrexia> menus are query hungry
148: [00:21:07] <markcl> i solved the issue by writing a script that makes a ramdisk specially for my silverstripe projects
149: [00:21:13] <markcl> then backs them up to disk every so often
150: [00:21:20] * adrexia nods
151: [00:21:36] <markcl> so yeah, ramdisk, 4gbps io should be enough.
152: [00:21:52] * Jakx has joined #silverstripe
153: [00:21:58] <markcl> loads around <2 seconds there
154: [00:22:35] <markcl> Colin[pi]: http://www.laptopmag.com/best-laptops . I don't know why a laptop magazine won't be honest about a laptop review
155: [00:23:16] * pippy quit (Ping timeout: 246 seconds)
156: [00:23:18] <Colin[pi]> markcl: oh sorry I thought you were referring to overall performance
157: [00:23:55] <markcl> Said laptop is also #1 on this review site: http://www.pcmag.com/article2/0,2817,2369981,00.asp
158: [00:24:20] <Colin[pi]> markcl: yeah it's a good laptop, but there's no way the Air would rank at the top for performance
159: [00:24:22] <markcl> Yeah, but if a top laptop can't handle Silverstripe in a decent speed
160: [00:24:27] <markcl> I wonder how a lower end laptop can
161: [00:24:43] <spronk> air is pretty slow compared to the fastest laptops, but it's easily faster than a low end server
162: [00:24:55] <markcl> It's faster than my 2010 i7 Macbook Pro though
163: [00:25:11] <spronk> a new macbook air is probably 3-4x faster than a $10/m DO vm
164: [00:25:20] <spronk> markcl, most of that will be the ssd :P
165: [00:25:37] <markcl> yep, fastest hard drive ive got
166: [00:25:40] <spronk> mm
167: [00:25:45] <spronk> stick an ssd in the i7 mbp
168: [00:25:48] <spronk> and it'll be close
169: [00:25:49] <Colin[pi]> mm SSD can make a huge difference
170: [00:26:29] <Jakx> Can anyone see why this: $sqlQuery->where = sprintf("HasOneID = '%s' AND OtherHasOne.IntValue >= '6'", 2);
171: [00:26:30] <Jakx> Triggers: [Warning] implode(): Invalid arguments passed
172: [00:26:40] <spronk> early 2010 i7 2.6ghz is ~4600 geekbench
173: [00:27:01] <markcl> its mid 2010
174: [00:27:08] <spronk> mm, same model
175: [00:27:14] <spronk> i7 2013 air is 6100
176: [00:27:20] <simon_w|work> Jakx, because you should be using ->addWhere(sprintf...
177: [00:27:21] <spronk> but the 2010 pro has a much better GPU
178: [00:27:24] <spronk> so evens out a bit
179: [00:27:31] * mirrors quit (Quit: Page closed)
180: [00:27:49] <markcl> ive seen the hd5000 vs the dedicated graphics of the pro reviews before
181: [00:27:54] <markcl> the hd5000 actually wins
182: [00:28:04] <markcl> even thought its integrated and not dedicated
183: [00:28:05] <Jakx> simon_w|work, is that available in 2.4?
184: [00:28:23] <simon_w|work> Jakx, in that case, you want $sqlQuery->where[] = ...
185: [00:28:25] <simon_w|work> It's an array
186: [00:28:54] <markcl> but not by much
187: [00:30:19] <Jakx> simon_w|work, thank you!
188: [00:30:35] <spronk> markcl, yeah, for some things the hd5000 will pull ahead
189: [00:32:06] <simon_w|work> Yay, Textual 5 has been submitted for review
190: [00:32:14] <spronk> interestingly one of the things with the air 2013 vs pro 2010 is sustained performance
191: [00:32:17] <spronk> air slows down as it gets hotter
192: [00:32:22] <spronk> pro can turbo for longer
193: [00:33:51] * spronkey has joined #silverstripe
194: [00:37:59] * ss-log_ has joined #silverstripe
195: [00:38:02] <Kingy> now u can say nasty things about clients and now have it on record
196: [00:38:04] <Kingy> or not..
197: [00:38:05] <Kingy> lol
198: [00:38:05] * simon_w|work doesn't believe you
199: [00:38:07] <Colin[pi]> too late!
200: [00:38:08] <spronkey> yeahhh something died
201: [00:38:12] * novaweb quit (Ping timeout: 272 seconds)
202: [00:38:27] <simon_w|work> spronkey, you on SiteHost too?
203: [00:38:31] * novaweb has joined #silverstripe
204: [00:38:36] <zippy> simon_w|work: you on SiteHost?
205: [00:38:38] <spronkey> nah at freenode
206: [00:38:50] <simon_w|work> zippy, ss-log_ is
207: [00:39:06] * spronkey is now known as spronk
208: [00:39:10] <zippy> not DO? I suprised
209: [00:40:01] <UncleCheese> So what did we decide on YAML?
210: [00:40:08] <spronk> needs fixing.
211: [00:40:13] <UncleCheese> sweet as
212: [00:40:17] <spronk> no concensus on how.
213: [00:41:11] <Colin[pi]> sounds like Hamish needs to be involved
214: [00:41:12] <simon_w|work> With fire
215: [00:41:30] <simon_w|work> zippy, would be recompiling. Efffort :p
216: [00:42:07] * pippy has joined #silverstripe
217: [00:46:00] <zippy> UncleCheese: going back to a php like config?
218: [00:47:52] <UncleCheese> ok, cool
219: [00:48:28] * UncleCheese quit (Quit: Textual IRC Client: www.textualapp.com)
220: [00:48:43] <Stomach> I reckon we rewrite SS in erlang
221: [00:48:47] <Stomach> thats a hip language, right?
222: [00:48:55] <jolene> i hope not
223: [00:49:00] <jolene> since i'm gonna start using erlang soon
224: [00:49:04] <jolene> cause i'm sick of twisted and nodejs
225: [00:49:11] <jolene> if it's hip i'll have to run away again
226: [00:49:13] <Blacklite> rewrite SS in go
227: [00:51:21] <spronk> haha
228: [00:51:22] <spronk> sick of node.js
229: [00:51:26] * spronk feels familiar territory
230: [00:53:41] * simon_w|work is fighting with a rather convoluted AngularJS codebase
231: [00:53:58] <spronk> angular
232: [00:53:58] <spronk> D:
233: [00:54:12] <simon_w|work> Yup :(
234: [00:55:20] <spronk> hmm
235: [00:55:32] <spronk> has anyone else noticed that embedded disqus comments has a memory leak
236: [00:55:33] <spronk> ?
237: [00:55:42] <spronk> in chrome at least
238: [00:58:06] * pippy quit (Quit: Page closed)
239: [00:58:23] <Kingy> spronk: really? we're about to go this route
240: [00:58:32] <spronk> hm?
241: [00:59:37] <Kingy> disqus
242: [00:59:38] * pippy has joined #silverstripe
243: [01:00:01] <spronk> haha
244: [01:00:05] <spronk> well
245: [01:00:12] <spronk> ive been working on integrating it into a site
246: [01:00:17] <spronk> and..... ive had the tab open for a day or so
247: [01:00:18] <spronk> 2GB
248: [01:00:30] <simon_w|work> That could just be Chrome being normal
249: [01:00:32] <Stomach> you sure its disqus leaking?
250: [01:00:34] <spronk> well
251: [01:00:40] <spronk> theres another tab with 1.5GB
252: [01:00:41] <spronk> and
253: [01:00:41] <Kingy> yeah
254: [01:00:45] <spronk> it also has a disqus embed
255: [01:00:48] <spronk> and that's about all
256: [01:01:02] <spronk> everything else is sub 300MB
257: [01:02:10] <spronk> so, no i'm not sure
258: [01:02:14] <spronk> but it's the only thing these two tabs have in common
259: [01:02:50] <spronk> http://blog.ragingflame.co.za/2014/7/21/using-nodejs-with-mysql this is one of them
260: [01:07:41] <simon_w|work> They're not using JSON? The horror! :p
261: [01:07:47] <spronk> :D
262: [01:08:05] <spronk> that tab currently using 1.1GB
263: [01:08:06] * headtrip has joined #silverstripe
264: [01:08:59] <spronk> and eating ram at a megabyte every 10 seconds or so
265: [01:09:18] * spronk profiles
266: [01:12:20] * micmania1 has joined #silverstripe
267: [01:12:20] * headtrip quit (Ping timeout: 250 seconds)
268: [01:15:22] <Kingy> Stomach: did you see Stigs comment lol
269: [01:15:40] <simon_w|work> spronk, my usage on that tab's not going up that much, but is increasing
270: [01:15:53] <spronk> hmm
271: [01:15:56] <spronk> mines slowed down a bit now
272: [01:18:19] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
273: [01:19:19] <simon_w|work> Yay, lunch time
274: [01:19:35] <spronk> hmm
275: [01:19:37] <spronk> i dont think its js..
276: [01:19:44] <spronk> think it might be chrome doing something weird
277: [01:19:55] * irogue_ has joined #silverstripe
278: [01:23:19] * Tanger has joined #silverstripe
279: [01:24:36] <spronk> i find it ironic
280: [01:24:36] <spronk> that
281: [01:24:36] <spronk> https://developer.chrome.com/devtools/docs/javascript-memory-profiling
282: [01:24:37] <spronk> this page
283: [01:24:40] <spronk> seems to have a memory leak
284: [01:25:52] <irogue_> spronk: its for testing!
285: [01:26:03] <irogue_> spronk: so you can test the methods they can teach you in the article :P
286: [01:26:15] <spronk> :D
287: [01:26:18] <Tanger> Haha
288: [01:32:07] <simon_w|work> spronk, maybe the leak's in the code that detects leaks
289: [01:32:22] <Colin[pi]> simon_w|work: yo dawg
290: [01:32:29] * Jakx quit (Quit: ~ Trillian Astra - www.trillian.im ~)
291: [01:33:28] <spronk> LEAKCEPTION
292: [01:36:24] * zippy wonders if he is over-engenerring a solution here
293: [01:37:02] <spronk> hmm, zippy ?
294: [01:37:47] <simon_w|work> zippy, you are
295: [01:38:15] <zippy> mmm
296: [01:39:40] <Stomach> zippy - just put some javascript on the page which closes the tab after 24 hours
297: [01:39:43] <Stomach> problem solved
298: [01:39:45] <Stomach> right?
299: [01:39:45] <Colin[pi]> mm I feel that the OSA web site could use some of Damo's touch: http://i.imgur.com/2PQSDaE.png
300: [01:39:50] <zippy> Stomach: ?
301: [01:39:58] <zippy> Stomach: you mean spronk
302: [01:40:03] <Stomach> oh i totally do
303: [01:40:03] <Stomach> :S
304: [01:40:58] <zippy> god damn it
305: [01:41:04] <simon_w|work> Colin[pi], eh, I don't like people getting this sort of reward for doing their job
306: [01:41:10] <zippy> and another a client is after a "100% completed date" for another project
307: [01:41:23] <zippy> whatever that means
308: [01:41:52] <simon_w|work> zippy, when it's going to be completely done?
309: [01:42:19] <zippy> nothing is ever completely done :) not when they keep requesting changes
310: [01:42:40] <Stomach> ask them for a 100% sign off functional specification date
311: [01:44:13] <zippy> woo thats good :)
312: [01:50:09] <ss23> WE WILL NOT LET YOU GO
313: [01:50:10] <ss23> Let him go!
314: [01:50:19] <ss23> Never never never NEVER NEVER NEVER
315: [01:50:23] <ss23> NO NO NO NO NO NO NO
316: [01:50:27] <ss23> MAMA MIA LET ME GO
317: [01:52:46] <irogue_> ss23: totes saw Bohemian Rhapsody live
318: [01:54:21] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
319: [01:55:33] <ss23> Not Queen
320: [01:55:45] <ss23> um
321: [01:55:46] <ss23> I meant
322: [01:55:47] <ss23> Not Freddie
323: [01:55:50] <irogue_> lol
324: [01:56:04] <spronk> well
325: [01:56:10] <spronk> he was a bit of a queen wasn't he?
326: [01:56:10] <spronk> :p
327: [01:56:18] <irogue_> spronk: so's his replacement, it's perfect
328: [01:56:31] <Colin[pi]> you know ss23 influences my music listening sometimes... I'll read your lyrics messages, gets in my head, then I'll play the song/album
329: [01:56:54] * joelpittet quit ()
330: [01:56:59] <irogue_> https://pbs.twimg.com/media/BqjMtDkCEAAMl8W.jpg:large
331: [01:57:01] <ss23> :D
332: [01:57:26] <irogue_> I pity anyone who follows me on spotify
333: [01:58:03] <Blacklite> i wasn't alive at the same time as freddie
334: [01:58:47] <Blacklite> isn't some guy singing for queen in auckland soon?
335: [01:58:49] <irogue_> neither was ss23
336: [01:58:58] <irogue_> Blacklite: thats been and gone, I went
337: [01:59:01] <Blacklite> ah
338: [01:59:03] <Blacklite> any good?
339: [01:59:11] <irogue_> very. was the last stop of a world tour
340: [01:59:23] <Blacklite> i watched some of the vids on youtube
341: [01:59:28] <Blacklite> looked pretty good
342: [01:59:36] <simon_w|work> ss23, do you listen to any other Queen at all?
343: [02:00:09] <ss23> simon_w|work: I try and avoid other Queen
344: [02:00:31] <ss23> Though I am playing Meatloaf at the moment...
345: [02:00:36] <ss23> I'm breaking out of my body, and flying away...
346: [02:00:40] <ss23> Like a bat out of hell
347: [02:00:46] <ss23> AND I'M DOWN AT THE BOTTOM OF A PIT IN SOMETHING SOMETHING
348: [02:00:52] <ss23> ALL TORN AND TWISTED AT THE FOOT OF A BURNING SOMETHING
349: [02:00:59] <ss23> And I think somebody somewhere must've something
350: [02:01:00] <Blacklite> bike
351: [02:01:03] <ss23> AND THE LAST THING I SEE IS MY HEART
352: [02:01:05] <ss23> STILL BEATING
353: [02:01:06] <Blacklite> he's on a motorbike
354: [02:01:07] <ss23> Still beating
355: [02:01:12] <ss23> I'm breaking out of my body... and flying away
356: [02:01:16] <ss23> AHHHHHHHHHHHHHH LIKE A BAT OUT OF HELL
357: [02:01:21] <ss23> Blacklite: Ah, it's hard to hear in these horrible speakers
358: [02:01:42] <Blacklite> probably doesn't help if you're singing over him at the top of your lungs either
359: [02:04:04] <ss23> lol
360: [02:04:51] * Colin[pi] <3's his thx logitech speakers
361: [02:05:17] * markcl has left #silverstripe
362: [02:05:25] <simon_w|work> Running nz1 gets expensive
363: [02:06:00] <Stomach> how much data do you go through a month?
364: [02:06:08] <Kingy> hmmm
365: [02:06:08] <Kingy> date.timezone option in php.ini must be set correctly.
366: [02:06:24] <Kingy> date.timezone = Pacific/Auckland
367: [02:06:46] <Stomach> is it your cli php.ini or your apache php.ini
368: [02:06:48] * jolene is now known as timezone
369: [02:06:49] <Stomach> :D
370: [02:07:16] <Kingy> ah shit you might be right
371: [02:07:22] <Kingy> Configuration File (php.ini) Path => /etc/php5/cli
372: [02:07:22] <Kingy> Loaded Configuration File => /etc/php5/cli/php.ini
373: [02:08:13] <Stomach> yay for apache
374: [02:08:18] <Kingy> that's the one im editing
375: [02:08:51] * headtrip has joined #silverstripe
376: [02:09:05] <Kingy> right ok :/etc/php5/apache2/php.ini
377: [02:09:06] <Kingy> ffs
378: [02:09:44] <simon_w|work> Stomach, in September, 85.42 GB international, 7.04 GB domestic
379: [02:09:50] <Stomach> ouch
380: [02:09:58] <simon_w|work> Yay, 5.6! :p
381: [02:10:08] <zippy> nz1?
382: [02:10:18] <simon_w|work> nz1.php.net
383: [02:10:25] <simon_w|work> Oh, that's only IPv4 data too
384: [02:10:37] <simon_w|work> IPv6 usage is rather small
385: [02:10:52] <irogue_> that's a lot of international
386: [02:11:03] <zippy> sure is nice having a low latency option for the php website in nz, aye adrexia
387: [02:11:49] <simon_w|work> Holy crap, apparently 2.85 TB international during August
388: [02:12:11] <simon_w|work> I have a feeling something broke
389: [02:12:35] <adrexia> zippy lols
390: [02:12:39] <zippy> the cc didn't get hit then?
391: [02:13:07] * headtrip quit (Ping timeout: 245 seconds)
392: [02:13:36] <simon_w|work> No extra international data pack for August
393: [02:13:40] <simon_w|work> Phew, that would've been massive
394: [02:15:03] <simon_w|work> Should see if SiteHost can give me more data without having to upgrade the VPS
395: [02:15:45] <zippy> Additional International Bandwidth $0.2 per GB
396: [02:16:05] <simon_w|work> Yeah, and I tend to double my allocated alotment
397: [02:16:30] <Blacklite> ooo
398: [02:16:41] <Blacklite> $560
399: [02:16:44] <Blacklite> ouch
400: [02:17:19] <irogue_> simon_w|work: they tend to be terrible for inflexibility with things like that
401: [02:17:45] <ss23> Befriend someone who works there
402: [02:17:57] <ss23> That's how lhkf worked
403: [02:17:58] <simon_w|work> irogue_, yeah, though do seem to be working on improving things like this
404: [02:18:06] <ss23> "mind if I use terabytes of data?" "all g!"
405: [02:18:26] <irogue_> flexibility was the upside of rimuhosting... downside of course being HD
406: [02:18:44] <zippy> well, if you tell them you host the nz mirror for php I am sure they would probably gift some
407: [02:18:57] <ss23> ^
408: [02:19:02] <zippy> start injecting in a little 'powered by sitehost' in there
409: [02:19:03] <zippy> ;-)
410: [02:24:06] <simon_w|work> zippy, the new design doesn't even have the "This mirror provided by blah" thing unless you go to the actual mirroring page
411: [02:30:22] * StefanLehmann quit (Read error: Connection reset by peer)
412: [02:31:23] * markcl has joined #silverstripe
413: [02:31:26] <markcl> Hey!
414: [02:31:32] <zippy> h
415: [02:31:39] <markcl> How do I set default email sender name?
416: [02:32:00] <markcl> Basically, I set it as Email:
417: [02:32:00] <markcl> admin_email: 'no-reply@mysite.com.au'
418: [02:32:10] <markcl> But it appears on email clients only as no-reply
419: [02:32:26] <markcl> I want it to appear on email clients as Mysite
420: [02:32:30] <markcl> Instead of no-reply
421: [02:36:11] <markcl> Its on config.yml btw
422: [02:37:36] <simon_w|work> markcl, 'Mysite <no-replay@mysite.com.au>'
423: [02:40:50] <spronk> god email is a dirty and horrible mash up of disgusting standards
424: [02:43:10] <irogue_> yeeeeep
425: [02:44:49] <markcl> wow! thanks simon
426: [02:55:21] <simon_w|work> FRIDAY NIGHT AND THE LIGHTS ARE LOW
427: [02:55:28] <simon_w|work> LOOKING OUT FOR A PLACE TO GO
428: [02:55:36] <ss23> Abba?
429: [02:55:52] <ss23> I'd do lyrics to this song but I don't know what they are at this point...
430: [02:56:28] <simon_w|work> SEE THAT GIRL
431: [02:56:32] <simon_w|work> WATCH THAT SCENE
432: [02:56:36] <simon_w|work> DIGGING THE DANCING QUEEN
433: [02:58:37] <ss23> Devious movements in your eyes
434: [02:58:45] <ss23> Breath comes out white clouds wiht your lies
435: [02:58:56] <ss23> You're close the final word! You're staring right past me in dismay
436: [02:59:05] <ss23> A liquid seeps from your chest, and drains me away
437: [02:59:14] <ss23> Mist ripples round your thin white neck, and draws me a line
438: [02:59:14] <spronk> what
439: [02:59:15] <spronk> the
440: [02:59:15] <spronk> fuck
441: [02:59:26] <ss23> Cold fingers mark this dying wreck, this moment is mine
442: [03:02:22] <adrexia> wow, irc went all dancing queen
443: [03:02:55] <ss23> And Opeth!
444: [03:04:39] <simon_w|work> Cause dancing queen is awesome
445: [03:05:32] <ss23> As is Opeth
446: [03:07:15] <simon_w|work> Nah
447: [03:09:36] * headtrip has joined #silverstripe
448: [03:10:41] * adrexia needs more coffee for this
449: [03:13:28] * micmania1 quit (Quit: micmania1)
450: [03:14:06] * headtrip quit (Ping timeout: 250 seconds)
451: [03:21:40] * cloph has joined #silverstripe
452: [03:22:07] * micmania1 has joined #silverstripe
453: [03:22:16] * cloph_away quit (Ping timeout: 272 seconds)
454: [03:23:53] * tankr quit (Quit: Textual IRC Client: www.textualapp.com)
455: [03:38:29] <novaweb> Done!
456: [03:38:31] <novaweb> Bai!
457: [03:38:57] <novaweb> me/ alt F4's fifty times
458: [03:39:00] <novaweb> opps
459: [03:39:03] <irogue_> lol
460: [03:39:04] <novaweb> what a n00b
461: [03:39:11] <novaweb> glad you all giggled
462: [03:39:38] * novaweb sucks
463: [03:42:14] <irogue_> http://www.stuff.co.nz/waikato-times/10592363/Datacom-among-best-in-the-world
464: [03:42:42] <novaweb> Poster at my place of work: Datacom - Because you're worth it...
465: [03:42:46] * Olliepop quit (Ping timeout: 246 seconds)
466: [03:43:07] <irogue_> lol
467: [03:43:11] <adrexia> "Datacom - Because you're worth it..."
468: [03:43:13] <adrexia> lols
469: [03:43:21] <adrexia> that's a bit harsh
470: [03:43:28] <novaweb> I'll take a photo for you guys one day
471: [03:43:30] <ss23> lol novaweb
472: [03:43:49] <novaweb> there's a wall of posters taking the piss out of dc
473: [03:43:58] <Blacklite> "Because you're worth it..."
474: [03:44:14] <Blacklite> i just get a gif in my head of a neckbeard doing a hair flip like on shampoo ads
475: [03:44:18] <Blacklite> no offence
476: [03:44:22] <irogue_> my experience with Datacom is that their data centres are good, but their general IT staff are below par
477: [03:45:10] * novaweb quit ()
478: [03:45:43] <adrexia> my experience with thyem is that they take good devs and rip their souls out of their bodies
479: [03:46:05] <irogue_> yep, that's probably why the people are below par - they've had their souls removed
480: [03:46:43] <adrexia> I'm not entirely sure why, but I haven't yet met one who loved their job
481: [03:46:57] <Stomach> no souls
482: [03:46:58] <Stomach> no love
483: [03:47:03] <Stomach> no soul theory is stacking up
484: [03:47:11] <irogue_> are they also all gingers?
485: [03:47:18] <adrexia> I mean all work places have their shit, but its hard to rip the passion right out of people like that
486: [03:47:40] <Stomach> not getting through sliding doors must suck
487: [03:47:49] * adrexia lols
488: [03:51:33] <markcl> why don't they just leave?
489: [03:51:46] <markcl> id rather work freelance than have to force myself to go to an office i despise
490: [03:51:53] * Stomach quit (Ping timeout: 240 seconds)
491: [03:52:16] <markcl> if enough devs leave, the company would get the idea
492: [03:52:38] <adrexia> a lot of them just think the real world is like that
493: [03:52:46] <adrexia> they go there straight out of uni
494: [03:52:53] <adrexia> and suddenly its not fun anymore
495: [03:53:46] <adrexia> I'm not sure how you rehabilitate burnt out devs
496: [03:54:20] <irogue_> throw them into a startup. there's a 50/50 chance of either their mind exploding or them becoming rehabilitated
497: [03:54:23] <irogue_> it's worth the risk
498: [03:54:42] <adrexia> not for the start up ;)
499: [03:55:00] <adrexia> start ups can't risk that an employee doesn't have passion
500: [03:55:14] <simon_w|work> Just send them to Xero :p
501: [03:55:17] <adrexia> but worth it from the devs perspective, yes
502: [03:57:18] <zippy> balls
503: [03:57:28] <zippy> I got a single repo, and have two files in it I want to keep in sync with each other
504: [03:57:41] <zippy> like a symbolic link
505: [03:57:50] <zippy> not sure how git would treat that
506: [03:58:15] <irogue_> git's fine with symlinks, as long as you never touch it on a windows box
507: [04:01:13] <irogue_> but, y'know, generally just never dev anywhere near windows anyway
508: [04:01:48] <adrexia> it does make things harder
509: [04:02:20] <markcl> I have an employee with me who just loves Windows
510: [04:02:43] <markcl> As his senior, I asked the management to give him a Mac for web dev
511: [04:02:49] <markcl> But he refused the Mac.
512: [04:02:52] <adrexia> I can't beleive how much I miss working on a mac
513: [04:03:02] <markcl> Why don't you work on a Mac?
514: [04:03:06] <adrexia> I was doing some stuff last night and ... it was so easy
515: [04:03:14] <adrexia> OSX isn't open source
516: [04:03:16] <adrexia> :P
517: [04:03:29] <markcl> It sure isn't
518: [04:03:32] <markcl> So what?
519: [04:03:40] <adrexia> so umm, not really allowed to
520: [04:03:42] <markcl> As long as it satisfies what we need to do right?
521: [04:03:43] <markcl> oh
522: [04:03:56] <adrexia> apparently even the windows users might be forced onto linux
523: [04:04:15] <adrexia> markcl, I'm with you. Use the best tools, make the best tools
524: [04:04:15] <markcl> He uses git bash and cygwin
525: [04:04:21] <markcl> He doesn't want to leave Windows
526: [04:04:26] <zippy> :S
527: [04:04:27] * Phlunk3 quit (Quit: Leaving)
528: [04:04:37] <markcl> and kept on defending Microsoft and bashing Apple
529: [04:04:54] <markcl> I haven't seen a Windows fanboy before I knew him
530: [04:05:29] <markcl> Didn't even know they existed.
531: [04:05:49] <zippy> ¯\_(ツ)_/¯
532: [04:06:06] * nickmolhoek quit (Quit: nickmolhoek)
533: [04:06:49] <adrexia> they are more common than mac fanboys
534: [04:07:05] <simon_w|work> markcl, is this ss23?
535: [04:07:07] <markcl> I've had been a linux fanboy for some time, but later on when my time became much more expensive, I figured that it cost me more to configure linux than just buy a Mac
536: [04:07:09] <adrexia> probably always have been - but they used to be the majority so noone noticed
537: [04:07:20] <adrexia> simon_w|work, was thinkking the same thign ;)
538: [04:07:29] <markcl> What's ss23?
539: [04:07:29] <ss23> >uses Windows
540: [04:07:33] <ss23> >is micrtosoft fanboy
541: [04:07:34] <ss23> what even
542: [04:07:38] <ss23> I'm sitting here IRCing from Linux
543: [04:07:39] <adrexia> hehe
544: [04:07:43] <ss23> Linux irc 2.6.32-042stab084.26 #1 SMP Mon Feb 17 21:00:14 MSK 2014 x86_64 GNU/Linux
545: [04:07:51] <adrexia> through a vm?
546: [04:07:51] <ss23> Yet I'm a *windows* fanboy
547: [04:07:56] <ss23> adrexia: SSH
548: [04:08:03] <adrexia> what is your native OS ss23?
549: [04:08:04] <ss23> If I'm a fanboy of anything, I'm willing to admit it's Google
550: [04:08:10] <ss23> adrexia: Windows or Linux or OSX
551: [04:08:15] <adrexia> hahaha
552: [04:08:28] <markcl> Im a fanboy of Getting things done
553: [04:08:33] <adrexia> yeah I'm less of a "fanboy" about google these days
554: [04:08:34] <markcl> don't really care about OS anymore
555: [04:08:46] <adrexia> but I sold my soul, and still love their products
556: [04:08:51] <markcl> Though on my younger years I love how I can mold Linux to my whatever OS I dream of
557: [04:09:00] <irogue_> yeah, I'm not really an OS guy, except that I never run a webdev env on windows (always in a linux vm)
558: [04:09:00] <adrexia> markcl, me too. OSX helps with taht
559: [04:09:14] <adrexia> though I admit, if I was a sysadmin I'd use linux
560: [04:09:43] <adrexia> it has a really clean and efficient file system
561: [04:09:44] <irogue_> my laptop (which I use at work) is OSX, my home desktop is Windows, my phone is Android, my tablet is iOS, all of my servers (including local dev environments) are Linux - some CentOS, some Debian
562: [04:10:05] <markcl> irogue_: that actually makes sense
563: [04:10:11] <adrexia> irogue_, I'm been like that.
564: [04:10:16] <adrexia> *I've
565: [04:10:16] <markcl> your using the right oss for the right products
566: [04:10:21] * headtrip has joined #silverstripe
567: [04:10:28] <markcl> osx is awesome for laptops due to the touchpad
568: [04:10:37] <markcl> windows is an awesome gaming desktop
569: [04:10:44] <markcl> android phones are just very flexible
570: [04:10:53] <markcl> and ipads are the best tablets out right now
571: [04:11:02] <irogue_> markcl: the osx thing for me is mostly cos this machine is entirely for webdev, and I find OSX more usable than Windows for that
572: [04:11:07] <irogue_> windows is for gaming pc
573: [04:11:09] <adrexia> yeah, I don't play proper games, and my hobbies involve development
574: [04:11:17] <markcl> i dual boot to windows
575: [04:11:19] <adrexia> so I replaces windows with mac at home too
576: [04:11:21] <markcl> and play rpgs with the girlfriend
577: [04:11:25] <simon_w|work> I dunno, I kept hitting massive limitations on Android
578: [04:11:36] <irogue_> I'm planning to ditch Android, I've given it a decent shot but iOS still feels better to me
579: [04:11:43] <markcl> eh?
580: [04:11:49] <markcl> i think ios has more limitations
581: [04:11:55] <markcl> dont even have a custom keyboard until recently
582: [04:11:59] <adrexia> ios keeps not being perfect
583: [04:12:06] <adrexia> little niggly bugs
584: [04:12:17] <zippy> Android just feels too inconsistant I thikn
585: [04:12:30] <zippy> I don't like the UX at all
586: [04:12:30] <irogue_> yeah, inconsistent and also just architecturally flimsy
587: [04:12:32] <adrexia> sort of thing I forgive in android, but I was sold on ios being somehow ...better
588: [04:12:32] <simon_w|work> markcl, try using it without Google hosting all your stuff
589: [04:12:50] <markcl> i like that google hosts all my stuff =p
590: [04:12:56] <Colin[pi]> zippy: neither do I
591: [04:13:03] <adrexia> and I like the ui, mostly. the back button and close et al are in the wrong place (hard to reach)
592: [04:13:09] <markcl> it is, but i only care about usability.
593: [04:13:14] <markcl> as long as i can read my ebooks on it im happy
594: [04:13:21] <adrexia> but scroll too mcuh and it resets your scroll
595: [04:13:24] <irogue_> I have a Kindle for ebooks :P
596: [04:13:27] <markcl> and then browse the net sometimes, and use it for task management
597: [04:13:44] <markcl> i prefer carrying just one device though
598: [04:14:55] <irogue_> my current phone is the closest I've come to an Android that feels as good to me as an iPhone
599: [04:15:11] * headtrip quit (Ping timeout: 272 seconds)
600: [04:15:20] <Colin[pi]> <markcl> i think ios has more limitations
601: [04:15:32] <Colin[pi]> ^ I think it's the limitations that help it's quality
602: [04:15:35] <Colin[pi]> tbh
603: [04:15:37] <irogue_> Colin[pi]: exactly
604: [04:15:49] * micmania1 quit (Quit: micmania1)
605: [04:15:50] <Colin[pi]> iOS I feel I don't need to "tinker"
606: [04:15:52] <irogue_> because I use a phone as a phone, I prefer things to be locked down and consistent. means I don't have to think about security, clashing apps, some weird app deciding to run in the background and nom my battery
607: [04:15:52] <Colin[pi]> nor do I want to
608: [04:16:00] <Colin[pi]> android is a "tinkerer's" OS
609: [04:16:04] <Colin[pi]> tweak this, change that
610: [04:16:05] <Colin[pi]> eh
611: [04:16:36] <Colin[pi]> irogue_: what's funny is that a few years ago i was so TOTALLY anti-Apple
612: [04:16:47] <adrexia> yeah. tinkerer's OS is one of the things I liked about it
613: [04:16:49] <Colin[pi]> I was the last of my group of friends to be converted
614: [04:16:53] <adrexia> but then I got bored with the ui
615: [04:16:55] <irogue_> due to lack of sandboxing, I've had a couple of weirdass issues such as having the NZ Herald app installed causes my alarm clock (third-party app) to not go off
616: [04:17:00] <irogue_> uninstall NZ Herald app, alarm works
617: [04:17:06] <irogue_> I don't want to deal with that kinda shit on my phone
618: [04:17:11] <markcl> irogue_: what phone do you use?
619: [04:17:18] <irogue_> markcl: Nexus 5
620: [04:17:25] * jedateach quit (Quit: jedateach)
621: [04:17:26] <Colin[pi]> also... my android tablet contracted malware -- never had that problem on iOS
622: [04:17:41] <irogue_> Colin[pi]: yeah, again due to lack of sandboxing
623: [04:17:44] <Colin[pi]> mm
624: [04:17:59] * stojg quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
625: [04:18:13] <Colin[pi]> anyway I'm not like an apple zealot, if you like 'droid, use it.. but I've decided iOS suits me better
626: [04:18:18] <irogue_> yep, same
627: [04:18:31] <Colin[pi]> that said, I use windows for all my PC/desktop stuff, and I'm a total n00b at OS X
628: [04:18:32] <adrexia> I just want whatever is new
629: [04:18:35] <irogue_> I use an Android right now, and I'm fine with that, but I'll be buying an iPhone again next time
630: [04:18:57] <adrexia> apparently there is a new andriod ux thing coming
631: [04:19:03] <irogue_> so far I've gone iPhone > Android > Android > Windows Phone 8 > Android
632: [04:19:05] <Colin[pi]> adrexia: yeah I heard about that
633: [04:19:11] <Colin[pi]> two apps on screen at same time?
634: [04:19:13] * Ryan-Toast quit (Quit: Ryan-Toast)
635: [04:19:25] <markcl> i have a note 2
636: [04:19:30] <irogue_> the earlier two androids were for a very short time cos Android 2.3 was SHITE
637: [04:19:36] <Colin[pi]> oh god
638: [04:19:37] <adrexia> I went dumb phone > android > better android > android > windows > ios
639: [04:19:42] <Colin[pi]> 2.3 was an abomination
640: [04:19:45] <markcl> im thinking of getting the iphone 6 on contract this december
641: [04:19:51] <adrexia> nothing like windows to make you want to be where all the apps are
642: [04:20:01] <markcl> but the reports with the bending and other stuff makes me not want to
643: [04:20:23] <Colin[pi]> adrexia: windows is slowwwwwly getting there but there are a ton of shit apps yes
644: [04:20:29] <Colin[pi]> MS decided on quantity vs quality
645: [04:20:38] <adrexia> ...and one web browser. and its ie
646: [04:20:43] <Colin[pi]> mm
647: [04:20:45] <Colin[pi]> but
648: [04:20:46] <Colin[pi]> tbh
649: [04:20:49] <Colin[pi]> I find IE11 to be "ok"
650: [04:20:58] <adrexia> its shit for mobile
651: [04:21:02] <Colin[pi]> I use it fullscreen on my htpc, it's good for that
652: [04:21:05] <adrexia> half the web fails to work
653: [04:21:11] <adrexia> becuase noone tests for mobile ie
654: [04:21:16] <Colin[pi]> mm I haven't used it on mobile tbh
655: [04:21:41] <adrexia> and the apps are too simple
656: [04:21:47] <adrexia> though the UI I like
657: [04:21:59] <adrexia> I think developers failed windows
658: [04:22:28] <simon_w|work> markcl, so, just like other large phones, don't sit on it :p
659: [04:22:29] <adrexia> right home time
660: [04:22:48] <Colin[pi]> adrexia: prob with MS/windows is the "good enough" policy
661: [04:22:52] <Colin[pi]> there's no polish
662: [04:23:10] <Colin[pi]> like, with everything it's like.... "ehhhhhhh that'll do"
663: [04:23:23] <Colin[pi]> where as on iOS you can see people put a LOT of effort into the UX
664: [04:24:20] <markcl> UX is easy on iOS
665: [04:24:27] <markcl> There's only a few resolutions to support
666: [04:24:29] <markcl> You can easily test
667: [04:24:34] <markcl> vs Windows or Android
668: [04:24:35] <Colin[pi]> mmhmm
669: [04:24:38] <markcl> there's no limit to resolutions
670: [04:24:39] <Colin[pi]> it's true
671: [04:26:56] <Colin[pi]> markcl: plus I think the whole metro UI paradigm gets old real fast
672: [04:27:03] <simon_w|work> markcl, web and desktop dev says that argument is complete BS
673: [04:27:37] <Colin[pi]> simon_w|work: well, you can deploy Modern apps in Win8 with HTML/JS
674: [04:28:07] <Colin[pi]> actually can you do that on iOS as well?
675: [04:28:13] <Colin[pi]> (since I know shit all about apps on ios)
676: [04:29:03] <simon_w|work> Colin[pi], you can wrap everything in an WebView, or just add a meta tag to a web app that says "Make me full screen"
677: [04:31:05] <Colin[pi]> simon_w|work: ah k, so in other words you can have a native app on iOS that is built exclusively in HTML/CSS/JS?
678: [04:31:39] <Colin[pi]> well, not native app I guess, that's wrong.. but AN app
679: [04:31:44] <simon_w|work> Colin[pi], almost. It does need an Obj-C/Swift wrapper to poke the web view
680: [04:31:50] <Colin[pi]> ah k k
681: [04:32:01] <simon_w|work> There's a bunch of frameworks that do that for you though
682: [04:32:25] <irogue_> I really liked metro
683: [04:32:27] <simon_w|work> Those ones that make cross-platform apps that all look like crap iOS ones
684: [04:32:27] <irogue_> on WP8
685: [04:32:31] <irogue_> extremely consistent
686: [04:32:39] <irogue_> just yeah, as you say adrexia... developers let it down
687: [04:32:40] <Colin[pi]> I thought that was pretty weird in Win8, fire up visual studio, write some fairly basic HTML/JS/CSS, and boom, you can install your app
688: [04:32:54] <irogue_> barely any thirdparty apps, and the ones that did exist were largely shite
689: [04:33:08] <Colin[pi]> irogue_: MS, late to the game as ever
690: [04:33:19] <irogue_> which sucks cos developing apps using C#.net sounds great to me
691: [04:33:34] <irogue_> Colin[pi]: exactly
692: [04:33:41] <Colin[pi]> irogue_: visual studio is REALLY sweet to use
693: [04:33:49] <irogue_> if they'd released WP8 a year or even two after the iPhone, they'd have had a chance
694: [04:35:09] <simon_w|work> I would much prefer iOS vs WP8 to be the main competition
695: [04:35:19] <irogue_> yup
696: [04:35:41] <irogue_> WP8 is architecturally sound. sandboxed, uses a decent language for development, has enforced consistency
697: [04:36:34] <irogue_> doesn't allow vendor customisation (thank fuck)
698: [04:37:44] <simon_w|work> And it's done other interaction paradigms rather well
699: [04:40:00] <ss23> 17:35:10 <@simon_w|work> I would much prefer iOS vs WP8 to be the main competition
700: [04:40:07] <ss23> which is funny because android is a fucking piece of shit
701: [04:40:07] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
702: [04:40:11] <ss23> yet somehow it's like "oh it's not that bad"
703: [04:42:06] <simon_w|work> It took Google hiring one of the Apple UX team before they actually started to stop letting engineers do the design
704: [04:42:40] <simon_w|work> Turns out AB-testing doesn't make for very nice designs :p
705: [04:45:31] <Colin[pi]> yeah the fact that android has become the dominant player makes me weep a little inside
706: [04:46:01] <ss23> That being said, it has imroved a lot
707: [04:46:04] <ss23> (though it couldn't get worse)
708: [04:46:08] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
709: [04:46:34] <Colin[pi]> ss23: mm definitely, the 2.x series was freakin horrible
710: [04:48:50] * Kingy is now known as Kingy[a]
711: [04:49:13] <simon_w|work> It's also become a lot less open
712: [04:49:49] <ss23> Trudat, but being not shit is worth more than being open
713: [04:59:10] * Ryan-Toast has joined #silverstripe
714: [05:01:29] <simon_w|work> If only the Android zealots would stop touting it as open
715: [05:02:10] <simon_w|work> It's about as open as OSX now
716: [05:02:24] <Tanger> hey guys, can you use <% require javascript() %> to include custom JS as a requirement?
717: [05:02:40] <spronk> google are doing fucking dumbarse things with it
718: [05:02:49] <spronk> like removing the SMS app in favour of hangouts
719: [05:03:01] <simon_w|work> Tanger, yes
720: [05:03:42] <simon_w|work> spronk, that was one thing that made me glad that support for the Galaxy Nexus got dropped just before that
721: [05:03:55] <Tanger> simon_w: Thanks :D
722: [05:10:20] * Ryan-Toast quit (Quit: Ryan-Toast)
723: [05:11:07] * headtrip has joined #silverstripe
724: [05:30:34] * jrthomer quit (Read error: Connection reset by peer)
725: [05:31:29] * jrthomer has joined #silverstripe
726: [05:31:55] * stojg has joined #silverstripe
727: [05:33:58] <ss23> I wonder if I could put some cat6 between mine and stojg's house and pay for UFB...
728: [05:37:22] <stojg> ss23: you sure can, I would gladly relieve you of your gigabytes
729: [05:37:49] <ss23> I wonder what people would do if there was some cat6 lying across the road
730: [05:38:00] <ss23> You could protect it easily enough from cars
731: [05:38:06] <stojg> probably steal it ..
732: [05:38:12] <ss23> lol
733: [05:38:44] <stojg> -"So, um, why do you have 300meters of cat6 lying around?" -"I found it."
734: [05:38:52] <ss23> It'd need to be more than 300, right?
735: [05:39:14] <stojg> maybe, you probably need repeters though
736: [05:39:37] <ss23> When used for 10/100/1000BASE-T, the maximum allowed length of a Cat 6 cable is 100 meters or 328 feet.
737: [05:39:44] <ss23> :(
738: [05:43:41] <stojg> yup
739: [05:44:03] <stojg> You been installing cables I notice
740: [05:44:11] <stojg> *never
741: [05:44:13] <ss23> lol
742: [05:44:19] <stojg> ah, the youth of today
743: [05:44:25] <ss23> I once made a cable...
744: [05:44:30] <ss23> But it's not like I've had a building to cable up :P
745: [05:44:46] <stojg> not up until know
746: [05:45:03] * hailwood quit (Quit: Leaving.)
747: [05:45:14] <stojg> ss23: http://www.monoprice.com/Product?c_id=102&cp_id=10234&cs_id=1023401&p_id=8103&seq=1&format=2
748: [05:45:40] <ss23> Always a bitch to get them crimped nicely
749: [05:46:44] <jordanmk> anyone know if there's a module or something that makes it so when creating Data Objects, the "Create" button would create the Data Object then return you to the GridField/ModelAdmin you came from, and there would be a different button that does what the "Create" button currently does (i.e. creates and then leaves you on the same page to edit the Data Object you just created). For example,
750: [05:46:44] <jordanmk> instead of how it is currently (http://puu.sh/c3TZw/6fe3243702.png) you'd have this: http://puu.sh/c3U2v/62754a86c1.png
751: [05:52:20] * stojg quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
752: [05:52:34] * stojg has joined #silverstripe
753: [05:52:39] <ss23> jordanmk: Um... does betterbuttons do have that button?
754: [05:52:49] <ss23> It has lots of buttons like "Save and stay here", or "Save and go back to the modeladmin"
755: [06:06:16] * FrozenFire quit (Ping timeout: 272 seconds)
756: [06:07:13] <jordanmk> will take a look at betterbuttons now :)
757: [06:07:47] * Shrike_Finland has joined #silverstripe
758: [06:08:53] <jordanmk> +ss23: looks like exactly what i was after, cheers
759: [06:08:59] <ss23> :D
760: [06:09:02] <ss23> 10 points for ss23!
761: [06:09:07] <ss23> Ahhh, ss23 champion of the world!
762: [06:09:11] <ss23> The most points ever! Ahhh, winner!
763: [06:10:21] <stojg> ..
764: [06:10:47] * Colin[pi] quit (Remote host closed the connection)
765: [06:11:08] * Colin[pi] has joined #silverstripe
766: [06:11:41] * FrozenFire has joined #silverstripe
767: [06:13:18] * Adesso has joined #silverstripe
768: [06:33:42] <jordanmk> haha
769: [06:34:00] * stojg quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
770: [06:34:10] * stojg has joined #silverstripe
771: [06:34:33] <jordanmk> using the module now, it's awesome. are there any other modules like this that improve SilverStripe's default functionality that i should know about?
772: [06:34:59] <ss23> Hmm
773: [06:35:03] <ss23> That's the only one I can think of like that...
774: [06:37:06] * wmk has joined #silverstripe
775: [06:55:51] * NobrainerWeb has joined #silverstripe
776: [06:56:40] * pippy quit (Ping timeout: 246 seconds)
777: [06:58:22] * willr has joined #silverstripe
778: [07:01:27] * veb quit (Ping timeout: 245 seconds)
779: [07:02:40] * veb has joined #silverstripe
780: [07:07:05] * stojg quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
781: [07:09:27] * x75 has joined #silverstripe
782: [07:18:33] * Audlex has joined #silverstripe
783: [07:18:37] * Audlex quit (Changing host)
784: [07:18:37] * Audlex has joined #silverstripe
785: [07:28:00] * wmk wonders if i18nTextCollector would be a good thing for a grunt task
786: [07:28:08] * ss23 grunts
787: [07:28:58] <wmk> ss23, even if you don't understand a word: it's worth by the sound if you like grunts: https://www.youtube.com/watch?v=2KLAuhP0z7s
788: [07:29:46] <ss23> I'm clicking, but I'm scared
789: [07:30:32] * Robke has joined #silverstripe
790: [07:30:41] <Robke> good morning
791: [07:30:46] <ss23> rofl
792: [07:30:47] <ss23> what is this wmk
793: [07:31:10] <wmk> an interview with a pig who leads a vegan farm
794: [07:31:31] <ss23> lol
795: [07:31:36] <wmk> the pig getting really angry...
796: [07:31:40] <Robke> is it possible somehow to know what framework was used to create WEB page? like SS, WP, Drupal, Joomla and etc? :)
797: [07:32:04] <wmk> Robke, if you know those frameworks and default structures, maybe
798: [07:32:25] <wmk> simplest: generator meta tag
799: [07:32:54] <wmk> look where js, assets, etc are saved (if you have a wp-content folder it's pretty likely that it's ... you guess it)
800: [07:33:43] <Robke> too complicated :D
801: [07:34:18] <wmk> you can quite hide the framework from the generated code, but if you know some generators it's quite easy.
802: [07:34:41] <wmk> just like you know the cars on the street, a mercedes just looks like one, so a toyota...
803: [07:35:07] <Robke> ok i will google it
804: [07:35:08] <Robke> :)
805: [07:35:09] <Robke> thanks
806: [07:35:14] * jedateach has joined #silverstripe
807: [07:35:16] * ocmnt has joined #silverstripe
808: [07:35:24] <ocmnt> howdy
809: [07:35:27] <wmk> a week ago i found a page with links to domain/tmp/ and domain/var
810: [07:35:37] <wmk> googled for it and found a possible generator
811: [07:36:06] <wmk> Robke, expore the Sherlock in you ;)
812: [07:36:10] <wmk> hey ocmnt
813: [07:37:11] <NobrainerWeb> Robke: https://addons.mozilla.org/da/firefox/addon/wappalyzer/
814: [07:37:25] <Robke> thanks
815: [07:37:45] <wmk> NobrainerWeb, cool
816: [07:38:23] <NobrainerWeb> Not sure how many systems it knows, but SilverStripe it does (but then again that’s hardly the one you don’t ;-))
817: [07:38:59] * caamic30 has joined #silverstripe
818: [07:39:31] <caamic30> Hello, Is there a way to manipulate the Site Search search results?
819: [07:39:36] <Robke> NobrainerWeb: how to use that tool?
820: [07:39:59] <NobrainerWeb> When added it’s at the end of the address bar
821: [07:40:10] <wmk> NobrainerWeb, this is scary
822: [07:40:11] <NobrainerWeb> showing the different things it knows
823: [07:40:13] <Robke> yeah i see
824: [07:40:16] <Robke> it show php :)
825: [07:40:27] <NobrainerWeb> :-(
826: [07:40:35] <NobrainerWeb> i bet it’s right!
827: [07:40:55] <wmk> it even shows apache and debian...
828: [07:40:56] <Robke> ;D
829: [07:41:01] <Robke> ok let it be then ;)
830: [07:41:20] <Robke> thanks ;)
831: [07:42:58] <wmk> Robke, when it just shows php you'll have to investigate by looking at source and find something special
832: [07:43:30] <caamic30> got it
833: [07:43:50] <Robke> well maybe next time then ;)
834: [07:44:55] <wmk> if you remove the generator meta tag it doesn't know about ss
835: [07:45:07] * stnvh has joined #silverstripe
836: [07:45:30] * wmk wonders if it's unsecure to show debian and apache version
837: [07:46:21] * Adesso likes the addon ...
838: [07:46:34] <wmk> a cool playground, Adesso
839: [07:48:52] * simon_w|work quit (Remote host closed the connection)
840: [07:52:55] * NobrainerWeb quit (Quit: NobrainerWeb)
841: [07:54:26] * aaazil has joined #silverstripe
842: [07:54:45] <aaazil> hi all
843: [07:54:51] <ocmnt> hi
844: [07:55:32] <aaazil> I have some issue can you help me, please
845: [07:55:47] <wmk> wow... https://wappalyzer.com/applications/silverstripe
846: [07:55:55] <wmk> you can pay for a list with silvestripe installations
847: [07:56:23] <wmk> x75, look at #9 ;)
848: [07:56:37] <wmk> aaazil, just ask
849: [07:56:54] <aaazil> thanks
850: [07:57:16] <ocmnt> aaazil, don't ask for help, just ask your question ;)
851: [07:57:47] <aaazil> after uploading some files the system gets "File information not found" error message
852: [07:57:53] <ocmnt> oh wmk was before me already
853: [07:58:05] <ocmnt> does the file get uploaded?
854: [07:58:22] <wmk> ocmnt, hmm, asking for asking is sooooo meta
855: [07:58:35] <aaazil> No on the server I cannot find my uploaded file
856: [07:58:44] <ocmnt> I don't know, let me ask if it is wmk ;)
857: [07:58:52] <ocmnt> aaazil check permissions on your /assets dir
858: [07:59:52] <aaazil> thanks, but i have put 777
859: [08:00:16] <wmk> aaazil, recoursivley?
860: [08:00:19] <ocmnt> just on /assets? or for all ?
861: [08:00:21] <ocmnt> ^
862: [08:00:24] <ocmnt> wmk, stahp!
863: [08:00:25] <wmk> it gets uploaded to /assets/Uploads
864: [08:00:31] <wmk> stahp????
865: [08:00:34] <ocmnt> stop
866: [08:00:41] <ocmnt> you keep saying things just before I hit enter :(
867: [08:00:45] * wmk drinks a coffee and watches ocmnt
868: [08:00:50] <ocmnt> I feel like an echo
869: [08:00:54] <ocmnt> oh
870: [08:00:56] * kinglozzer has joined #silverstripe
871: [08:00:57] <ocmnt> drinkin coffee aswell :D
872: [08:00:59] <wmk> ocmnt, you should go for a 10-finger typing course ;)
873: [08:01:02] * Adesso has a theory Question..
874: [08:01:06] <ocmnt> hahaha
875: [08:01:07] <kinglozzer> morning all
876: [08:01:14] <aaazil> yes of course recoursivley
877: [08:01:18] <aaazil> :)
878: [08:01:23] <Robke> ocmnt: as programmer you should type more quickly ;D
879: [08:01:36] <ocmnt> morning kinglozzer
880: [08:01:38] <Robke> kinglozzer: hello :)
881: [08:01:47] <ocmnt> aaazil any error log?
882: [08:02:02] * Adesso uses all his fingers when typing but not the typist way
883: [08:02:15] <wmk> if i go to a course the second time, am i re-course-iv?
884: [08:02:23] <aaazil> where I'll see my error logs?
885: [08:02:24] <Adesso> LOL
886: [08:02:41] <ss23> 20:45:31 * wmk wonders if it's unsecure to show debian and apache version
887: [08:02:43] <ocmnt> aaazil, depends on your server settings
888: [08:02:54] <ss23> I leave it on because it's useful for debugging, but it does have security implications
889: [08:03:00] <aaazil> ok thanks, let me see
890: [08:03:03] <aaazil> thanks
891: [08:03:17] * wmk knows what he thinks when he reads what he typed
892: [08:03:20] <ocmnt> what kind of server has the problem?
893: [08:04:12] <Adesso> If I want to associate Files to a Page, I create a has_many on the Page... but since the File is not realy a ULR, where/how do I do this File part ?
894: [08:04:38] <Adesso> URL.... I dind not really think that trough
895: [08:04:53] <wmk> It's a relation to the File table
896: [08:04:54] <aaazil> please have a look http://www.silverstripe.org/community/forums/form-questions/show/74623 I have the same problem :(
897: [08:04:55] <Adesso> I ment .. it doesN#t have a Controller/Model..
898: [08:05:19] <wmk> the entry in file table does know where the file is located, e.g. /assets/Uploads/drumsolo.mp3
899: [08:05:47] <Adesso> So I just add the has_mayn on the Page type .. and done
900: [08:05:50] <wmk> an image can render a basic <img> tag itself when you call it in a template
901: [08:06:14] <Adesso> I have done the Image part
902: [08:06:24] <Adesso> Files are a bit diffrent
903: [08:06:40] <Adesso> not much ...
904: [08:07:29] <wmk> File doesn't have a forTemplate method
905: [08:07:32] <ocmnt> hm, how to get rid of the /index.php in basehref?
906: [08:07:43] <ocmnt> somehow on local dev on an old site which i'm upgrading it decides to pop up
907: [08:07:47] <wmk> but you can subclass File for some file types, e.g. mp3 and return a mp3 widget
908: [08:07:50] <ocmnt> rewrite base '/' didn\'t help
909: [08:07:51] * Adesso does the dead...
910: [08:07:54] <Adesso> deed
911: [08:07:55] <aaazil> <ocmnt> and <wmk> please have a look http://www.silverstripe.org/community/forums/form-questions/show/74623 I have the same problem :( , thanks
912: [08:08:08] <Adesso> God, my spelling is broken again today
913: [08:08:13] <ocmnt> aaazil, what kind of server is it
914: [08:08:13] <ocmnt> ?
915: [08:08:17] <ocmnt> Adesso, change keyboard
916: [08:08:18] <ocmnt> :P
917: [08:08:28] <wmk> ocmnt, put mod_rewrite on in your .htaccess to avoid /index.php/ in url
918: [08:08:30] * Adesso looks for a US/International Keybords
919: [08:08:35] <Adesso> Keyboard
920: [08:08:44] <ocmnt> <IfModule mod_rewrite.c>
921: [08:08:46] <ocmnt> SetEnv HTTP_MOD_REWRITE On
922: [08:08:46] <ocmnt> RewriteEngine On
923: [08:08:46] <ocmnt> RewriteBase '/'
924: [08:08:47] <wmk> Adesso, you can change the setting in windows...
925: [08:08:50] <ocmnt> wmk, its all there
926: [08:08:56] <aaazil> apache
927: [08:09:01] <ocmnt> Adesso, use ctrl + shift
928: [08:09:02] <ocmnt> to change it
929: [08:09:04] * Adesso thinks it is this Logitech that is not all that compatible with his fingers... :P
930: [08:09:11] <wmk> ocmnt, is mod_rewrite enabled?
931: [08:09:15] <ocmnt> aaazil, logs should be in /var/log/httpd I think
932: [08:09:17] <ocmnt> ofcourse it is
933: [08:09:22] <ocmnt> its just this one site with problems
934: [08:09:31] <ocmnt> I've got 99 problems, index.php is one
935: [08:09:34] <ocmnt> oh wait
936: [08:09:38] <ocmnt> remove index.php should do the trick
937: [08:09:38] <wmk> if you remove the index.php manually, does it work?
938: [08:09:48] <ocmnt> ^^
939: [08:09:53] * wmk should try to type faster
940: [08:10:00] <ocmnt> HA!
941: [08:10:02] <aaazil> thanks <ocmnt> let me see
942: [08:10:03] <ocmnt> I won \o/
943: [08:10:47] <wmk> aaazil, switch on firebug, networking tab and watch the results when you upload files
944: [08:11:00] <wmk> if there is an error it should be outputted there also.
945: [08:11:17] <wmk> it can be anything: a typo in the class you want to add the file, permissions, etc...
946: [08:12:14] <ocmnt> aaazil, it might have to do with user:group settings
947: [08:12:15] <ocmnt> had that before
948: [08:12:33] * Shrike_Finland quit (Quit: Leaving.)
949: [08:16:12] * Otterpocket has joined #silverstripe
950: [08:16:13] * Otterpocket quit (Changing host)
951: [08:16:13] * Otterpocket has joined #silverstripe
952: [08:18:10] * Tanger quit (Quit: Tanger)
953: [08:22:11] <wmk> Adesso, got that file thingie sorted?
954: [08:26:54] * Tanger has joined #silverstripe
955: [08:31:15] <wmk> oh, a reason to update phpstorm: remote interpreter to run e.g. phpunit on the vagrant box. http://blog.jetbrains.com/phpstorm/2014/04/php-remote-interpreters-support-in-phpstorm-8-eap/
956: [08:33:06] <aaazil> <ocmnt> in my error log nothing written, I have still have the issue. http://www.silverstripe.org/community/forums/form-questions/show/74623 :( My assets directory permission is a 777
957: [08:33:45] <wmk> aaazil, is assets/Uploads also 777 ? and did you read my answer at the forum post?
958: [08:33:50] <aaazil> yes
959: [08:34:22] <aaazil> do you mean these [12:10] <wmk> aaazil, switch on firebug, networking tab and watch the results when you upload files [12:10] <wmk> if there is an error it should be outputted there also. [12:11] <wmk> it can be anything: a typo in the class you want to add the file, permissions, etc... [12:12] <ocmnt> aaazil, it might have to do with user:group settings
960: [08:34:33] <aaazil> ?
961: [08:34:48] <wmk> i wrote pretty much the same in forum
962: [08:34:52] <wmk> http://www.silverstripe.org/community/forums/form-questions/show/74623
963: [08:35:30] <aaazil> thanks let me see
964: [08:35:38] <wmk> http://doc.silverstripe.org/framework/en/topics/debugging
965: [08:35:44] <wmk> is also a good resource
966: [08:37:31] <aaazil> thanks at all
967: [08:41:12] * Mish_ quit (Quit: Mish_)
968: [08:42:33] * aaazil has left #silverstripe
969: [08:45:50] * jedateach quit (Quit: jedateach)
970: [08:47:01] * willr quit (Quit: willr)
971: [08:52:31] <Adesso> wmk... not yet.. had a fast meeting.. only starting now
972: [08:52:50] * jedateach has joined #silverstripe
973: [08:52:59] * Shrike_Finland has joined #silverstripe
974: [08:53:30] <wmk> Well, File is just another DataObject you can subclass or use directly
975: [08:54:12] <wmk> if you have e.g. mp3 you want to display in a player widget you can subclass it.
976: [08:54:41] <Adesso> I am gonna have to extend it .. as I need this has_one relation
977: [08:55:10] <wmk> you can add the has_many part in files DO with a DataExtension.
978: [08:55:15] <wmk> Subclassing can be tricky
979: [08:56:06] <wmk> i did a "download" DO recently
980: [08:56:19] <wmk> productpage 1:n productdownload
981: [08:56:45] <wmk> the productdownload has a title, downloadtype (has_one) and the attachment (has_one file)
982: [08:56:48] <Adesso> to be honest.. I have not gotten to Subclassing .. apert from this Slug I got .. I have no clue on the Subclassing part yet
983: [08:57:16] <wmk> subclassing is basic OOP, e.g. creating a new page type with a new
984: [08:57:22] <wmk> class MyPage extends Page
985: [08:57:26] <Adesso> well.. this productpage is prettymuch almost what I want
986: [08:57:43] <Adesso> subclassing = extending
987: [08:57:45] <Adesso> ?
988: [08:57:52] <Adesso> Then I know what it is
989: [08:57:59] * Shrike_Finland quit (Quit: Leaving.)
990: [08:58:07] * Adesso though you where reffering to extensions
991: [08:58:19] <wmk> well, DataExtension is more like plugging new functoinality to an existing class without subclassing
992: [08:58:29] <wmk> subclassing image class was a bad idea in 2.x times
993: [08:58:40] <wmk> which just made problems
994: [08:58:59] <Adesso> Well, basically all I want to to add Docs to Pages... a one to many relationship
995: [08:59:00] <wmk> it depends on your problem...
996: [08:59:10] <Adesso> and then a small download on that page
997: [08:59:43] <wmk> if you need other meta information about the docs i'd not directly relate to file but to a dataobject in the middle
998: [08:59:58] <Adesso> I guess I will extend the File DO, add the has_one, and I should be done
999: [09:00:51] <Adesso> mmmmm Like File>MyFileWithMetaData>TheFinalFile
1000: [09:01:04] <wmk> Adesso, use a DataExtension and plug it to the File
1001: [09:01:17] <wmk> it saves you headaches
1002: [09:01:46] <Adesso> then rather DataObject > MyMetaDO
1003: [09:02:17] <Adesso> you got a example or something.. cause I feel a bit lost
1004: [09:12:25] * NobrainerWeb has joined #silverstripe
1005: [09:26:33] * Tanger quit (Quit: Tanger)
1006: [09:31:00] * jedateach quit (Quit: jedateach)
1007: [09:32:06] * x75 quit (Remote host closed the connection)
1008: [09:32:38] * x75 has joined #silverstripe
1009: [09:50:53] <x75> wmk: thanks for the link!
1010: [09:51:04] <wmk> x75, you're welcome
1011: [09:52:40] * wmk quit (Quit: nice to meet you ;))
1012: [09:52:42] <x75> I wonder how accurate that is. I can't believe that we are the 9th largest site...
1013: [09:54:17] * headtrip quit (Quit: Lingo - http://www.lingoirc.com)
1014: [10:01:33] <NobrainerWeb> x75 and wmk what are you guys looking at? 9th largest in Germany or what?
1015: [10:02:20] <ocmnt> hm, anyone has had this before?
1016: [10:02:41] <ocmnt> Missing argument 2 for Page_Controller::MySubmitFunction()
1017: [10:02:48] <x75> well i guess it's 9th largest site they have detected in the last 7 days with their toolbar, so if that toolbar is used in germany alot that might be
1018: [10:02:55] <ocmnt> public function MySubmitFunction($data, $form) { ... }
1019: [10:03:04] <ocmnt> is the function it calls, but seems $form is empty
1020: [10:03:26] <x75> but the list is stupid. networksolutions does not run on SS, i hope
1021: [10:03:38] <ss23> libreoffice does!
1022: [10:03:45] <ss23> It's a nice site :D
1023: [10:04:44] <x75> ss23: wow, libreoffice.org. Was that kown?
1024: [10:04:51] <ss23> What do you mean? :O
1025: [10:05:28] <x75> well I had now Idea that libreoffice.org was running on SS.
1026: [10:05:43] <ss23> Neither, till one day I noticed
1027: [10:05:43] <ss23> :O
1028: [10:05:50] <ss23> I've known about it for a while now
1029: [10:06:32] <x75> ok, might be something for the new showcase on ss.org
1030: [10:06:51] <ocmnt> http://sspaste.com/paste/show/5435079d4e044
1031: [10:07:04] <ocmnt> anyone has a clue on that?
1032: [10:07:23] <ocmnt> oh wow, cool that libreoffice is SS
1033: [10:07:57] <x75> got to go...
1034: [10:16:23] * Colin[pi] quit (Ping timeout: 240 seconds)
1035: [10:17:37] <ocmnt> fixxed it
1036: [10:17:50] <ocmnt> return new Form($this, 'SubscribeForm', $fields, $actions); needs to have the formname
1037: [10:17:53] <ocmnt> not the submitfunction
1038: [10:18:15] <kinglozzer> ocmnt: I always use return new Form($this, __FUNCTION__, $fields, $actions);
1039: [10:31:40] * UncleCheese has joined #silverstripe
1040: [10:31:46] <ocmnt> kinglozzer, smart one
1041: [10:32:02] * ocmnt copy pastes it
1042: [10:32:10] <ocmnt> it's like magic ;)
1043: [10:38:03] <kinglozzer> http://i.imgur.com/Dhlw3.gif
1044: [10:38:57] * Adesso quit (Ping timeout: 260 seconds)
1045: [10:40:52] * Adesso has joined #silverstripe
1046: [10:47:55] * Audlex quit ()
1047: [10:56:39] * NobrainerWeb quit (Quit: NobrainerWeb)
1048: [11:07:36] * Shrike_Finland has joined #silverstripe
1049: [11:11:04] * Otterpocket quit (*.net *.split)
1050: [11:11:05] * kinglozzer quit (*.net *.split)
1051: [11:11:05] * Blacklite quit (*.net *.split)
1052: [11:11:05] * guzzlefry quit (*.net *.split)
1053: [11:11:31] * Otterpocket has joined #silverstripe
1054: [11:11:31] * Otterpocket quit (Changing host)
1055: [11:11:31] * Otterpocket has joined #silverstripe
1056: [11:11:32] * kinglozzer has joined #silverstripe
1057: [11:11:34] * guzzlefry has joined #silverstripe
1058: [11:16:34] * Blacklite has joined #silverstripe
1059: [11:17:55] <Adesso> Not sure what is ment with : [User Error] Uncaught Exception: Object->__call(): the method 'fortemplate' does not exist on 'MyPageType'
1060: [11:18:01] <Adesso> I know I am missing something ..
1061: [11:18:21] <Adesso> but what is this "fortemplate"
1062: [11:21:04] <Adesso> seems my GridFieldEditor is running into a value that is not simple ..
1063: [11:30:00] * x75 quit (Remote host closed the connection)
1064: [11:30:36] * x75 has joined #silverstripe
1065: [11:34:53] * x75 quit (Ping timeout: 240 seconds)
1066: [11:40:01] <Adesso> Anybody have 5 min ? https://gist.github.com/Adesso/656d438065daba51237e
1067: [11:40:09] <Adesso> I just don't know even what to fix
1068: [11:40:28] <Adesso> or where to begin
1069: [11:40:34] <ocmnt> what is broken to start with?
1070: [11:40:59] <Adesso> Admin takes my GridField ... I upload a File.. and then it dies
1071: [11:41:05] <Adesso> [User Error] Uncaught Exception: Object->__call(): the method 'fortemplate' does not exist on 'MyPageType'
1072: [11:41:35] <Adesso> actually : [User Error] Uncaught Exception: Object->__call(): the method 'fortemplate' does not exist on 'DistributionPage'
1073: [11:41:54] <Adesso> my theory is that GridField is unhappy about something .. I think
1074: [11:42:05] <ocmnt> in #36 the uploadfield?
1075: [11:42:15] <ocmnt> ah, there is only one
1076: [11:42:44] <ocmnt> is there a corrolation between the gridfields, the uploadfield and the error?
1077: [11:42:56] <ocmnt> liek, if you remove all but the uploadfield does it still have the same behavior?
1078: [11:44:01] <Adesso> this problem onyl started after I added the Document Tab..
1079: [11:44:21] <Adesso> so I am pretty sure it has something to do with the new Document Model...
1080: [11:45:02] <ocmnt> Adesso, try removing it and see if it still happens or not
1081: [11:45:04] <ocmnt> just to be sure
1082: [11:45:25] <ocmnt> just a good tip to do when debugging
1083: [11:45:28] <Adesso> yup .. work once I remove the Tab
1084: [11:45:30] <ocmnt> try to isolate the problem without guessing
1085: [11:45:32] <ocmnt> good
1086: [11:45:42] <ocmnt> I once had a bug, thinking it was because something I added
1087: [11:45:53] <ocmnt> after 3 days it seemd I missed a semicolumn in some old code
1088: [11:46:00] * Adesso I think I have had one of those recently
1089: [11:47:07] <ocmnt> what happens if you remove #22 - #27 in document?
1090: [11:47:47] <ocmnt> not sure wether addfieldstotab is usable in dataobject getCMSFields
1091: [11:48:05] <Adesso> nope ..
1092: [11:48:08] <Adesso> still broken
1093: [11:48:30] <Adesso> this Enum Field is bothering me
1094: [11:48:52] * Otterpocket quit (Quit: WeeChat 0.4.1)
1095: [11:50:50] * Otterpocket has joined #silverstripe
1096: [11:51:43] <Adesso> if I remove the Enum DB and just create the DropDown with an array... it still has the same Error..
1097: [11:51:53] <Adesso> so I guess the Enum is not wrong
1098: [11:52:04] <Adesso> I just don't know what it wants from me
1099: [11:52:40] <Adesso> GridField is wanting something
1100: [11:54:11] * x75 has joined #silverstripe
1101: [11:54:18] <Adesso> Gotcha
1102: [11:54:26] <ocmnt> Adesso, I think I have kinda the same problem
1103: [11:54:36] <ocmnt> though on an optionfieldset
1104: [11:54:57] <Adesso> Dacument.php #11
1105: [11:55:17] <Adesso> the summery_fields gets a has_many relation...
1106: [11:55:27] <Adesso> and has no clue what to do with it ..
1107: [11:55:56] <Adesso> Somehow you have to make a Function that GridField can call to get the simple values..
1108: [11:56:06] * Adesso this is 100% new ground for me ..
1109: [11:56:39] <Adesso> I don't even know what am suppose to search for
1110: [11:56:44] <Adesso> Anybody ?
1111: [11:57:23] <Adesso> of the top of my head - DisplayHelpers for GridField on Relational Values
1112: [11:59:42] <kinglozzer> Adesso: private static $summary_fields = array('CustomFormatted' => 'Column title');
1113: [12:00:02] <kinglozzer> public function getCustomFormatted() { return strtoupper($this->getField('FieldYouWant')); }
1114: [12:00:07] <kinglozzer> Something like that ^^
1115: [12:00:09] * kinglozzer lunch
1116: [12:00:29] <Adesso> Cool... I'll try
1117: [12:06:35] * Adesso : That was rather simple.... thx kinglozzer
1118: [12:11:15] * UndefinedOffset has joined #silverstripe
1119: [12:14:30] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1120: [12:16:45] * wmk has joined #silverstripe
1121: [12:27:44] * wmk quit (Quit: nice to meet you ;))
1122: [12:28:43] * wmk has joined #silverstripe
1123: [12:29:08] * jcwacky has joined #silverstripe
1124: [12:29:38] <jcwacky> Is there a way to globally disable all form security tokens in 3.1? Form::disable_all_security_tokens() used to work in 2.4, but no longer in 3.1.
1125: [12:32:34] <wmk> i bet there is a config api for that
1126: [12:33:51] <jcwacky> Ah it’s ok, found there is now a checkbox in UserForms to disable it. That’ll do for now.
1127: [12:34:30] <wmk> fine
1128: [12:35:06] <jcwacky> wmk: Gave up on that events query yesterday, ended up just using a GroupedList to just display one of each Event.
1129: [12:35:47] <wmk> it's the result that counts ;)
1130: [12:41:36] <ocmnt> how to set title on gridfield?
1131: [12:47:03] <wmk> for each dataobject or generally?
1132: [12:47:18] <wmk> i'd do a headerfield before the grid
1133: [12:49:07] <ocmnt> is Dates a reserved name?
1134: [12:49:13] <ocmnt> I have a textfield named Dates
1135: [12:49:26] <ocmnt> however doing $this->Dates returns Undefined property
1136: [12:49:33] <ocmnt> all other static $db give n problem
1137: [12:49:55] <wmk> hmm, what kind of dbfield?
1138: [12:50:10] <ocmnt> Dates => Text
1139: [12:50:26] <wmk> should work....
1140: [12:50:34] <ocmnt> it has data in the db aswell
1141: [12:50:40] <ocmnt> did /dev/build and flush
1142: [12:50:43] <ocmnt> still the same notice
1143: [12:51:33] <wmk> is there a method getDates() returning something?
1144: [12:52:15] <ocmnt> yes there is
1145: [12:52:25] <wmk> then...
1146: [12:52:32] <wmk> this is called instead the db field
1147: [12:52:42] <ocmnt> thnx :D
1148: [12:52:47] <ocmnt> I did not knew that :o
1149: [12:52:52] <ocmnt> so if I have a field Foo
1150: [12:52:56] <wmk> the getter is called first
1151: [12:53:01] <ocmnt> the function getFoo calls foo?
1152: [12:53:27] <wmk> $this->Foo calls getFoo or dbfield Foo
1153: [12:53:47] <ocmnt> ah, I see :)
1154: [12:54:11] <ocmnt> my function was $getDates(){ $dates = $this->Dates; blablabla.. }
1155: [12:54:15] <ocmnt> no wonder it did not work
1156: [12:54:45] <wmk> yup
1157: [12:55:00] <wmk> $dates = $this->dbObject('Dates') should do the trick
1158: [12:55:46] <ocmnt> I changed it already to something else
1159: [12:56:02] <ocmnt> using a textfield on which newlines add a formfield on the frontend
1160: [12:56:24] <ocmnt> OptionsetField::create('Dates')->setSource(explode(PHP_EOL, $this->Dates)),
1161: [12:56:25] <ocmnt> does the trick
1162: [12:57:08] <kinglozzer> Hey wmk, that partial cache bug wasn't fixed, the original bug that (accidentally) made it work was re-introduced :P
1163: [12:58:00] <wmk> damn bugs
1164: [13:08:24] <ocmnt> we need a bunny for that
1165: [13:10:07] * Robke quit (Ping timeout: 246 seconds)
1166: [13:10:40] <wmk> ocmnt, https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcRuHfSHtycsUeKyhRW8nvcUyrix2XvOxvI6SzyKoN6R9Hu0C6R85A <--we need this!
1167: [13:11:02] <wmk> first repsons(iv)e bug trap
1168: [13:20:11] <UndefinedOffset> kinglozzer I thought the flushible api was in 3.1.7? shrug so long as it works i gues lol
1169: [13:20:42] <kinglozzer> UndefinedOffset: Yeah it will be, but it's purely accidental that ?flush flushes partial caches :P
1170: [13:21:08] <kinglozzer> (in fact, a flush will clear /all/ file-based SS_Cache instances)
1171: [13:21:19] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/pull/3530
1172: [13:21:43] <kinglozzer> tldr; Zend_Cache::CLEANING_MODE_ALL = bad
1173: [13:21:47] <kinglozzer> :P
1174: [13:23:22] <UndefinedOffset> ah makes sense :)
1175: [13:28:43] * Shrike_Finland quit (Quit: Leaving.)
1176: [13:28:48] * R\w\C has joined #silverstripe
1177: [13:29:07] * R\w\C quit (Changing host)
1178: [13:29:07] * R\w\C has joined #silverstripe
1179: [13:31:57] <R\w\C> hey guys, im busy working on a "mobile app" version of my site, so i have a Mobile extend SiteTree and the corresponding Mobile.ss in the root and i have a child MobileTweet child view and the Layout/MobileTweet.ss. But when i load the MobileTweet url it only shows the MobileTweet.ss tempalte and not the parent Mobile.ss encapulation theme? Does this make sense
1180: [13:33:18] <R\w\C> tldr; i want two seperate holder "Page.ss" themes and their corresponding Layout/ files
1181: [13:35:57] <kinglozzer> R\w\C: Just curious, is there are reason you're not using the silverstripe-mobile site?
1182: [13:36:00] <kinglozzer> module*
1183: [13:36:02] <kinglozzer> not site ><
1184: [13:36:11] <kinglozzer> a*
1185: [13:36:12] <kinglozzer> not are
1186: [13:36:13] <kinglozzer> damnit
1187: [13:36:36] <R\w\C> umm nope, i just wanna be able to do it this way
1188: [13:37:24] <kinglozzer> R\w\C: How are you telling it to render with MobileTweet?
1189: [13:38:19] <kinglozzer> $this->renderWith(... etc?
1190: [13:38:47] * Shrike_Finland has joined #silverstripe
1191: [13:39:05] * catcher has joined #silverstripe
1192: [13:39:20] <wmk> kinglozzer, ;)
1193: [13:39:21] <R\w\C> Nope
1194: [13:39:52] <R\w\C> I thought it would use the same logic as the way Page.php/Page.ss gets initialised?
1195: [13:40:14] <kinglozzer> R\w\C: Unless you're doing something custom, it should
1196: [13:40:23] <kinglozzer> Does MobileTweet extend Mobile?
1197: [13:40:37] <R\w\C> Yes Kinglozzer
1198: [13:40:39] <wmk> is Mobile.ss in /templates or in /templates/Layout ??
1199: [13:40:49] <R\w\C> in /templates/
1200: [13:40:54] <R\w\C> and MobileTweet.ss is in layout
1201: [13:41:09] <R\w\C> but its not currently picking MobileTweet.ss up until i move it up one
1202: [13:42:30] <kinglozzer> R\w\C: Is your mobile tweet controller definitely defined as 'MobileTweet_Controller extends 'Mobile_Controller'
1203: [13:42:43] <kinglozzer> (it uses the controller name to get the template)
1204: [13:42:45] <R\w\C> Ah maybe not! :/
1205: [13:43:16] * Shrike_Finland quit (Ping timeout: 244 seconds)
1206: [13:43:40] <R\w\C> TOP MAN
1207: [13:43:49] <R\w\C> I want to have your babies
1208: [13:43:52] <R\w\C> thank you
1209: [13:43:53] * Adesso is starting to get into the somwhat more complex Questions
1210: [13:44:01] <R\w\C> if you join #dogecoin
1211: [13:44:03] <kinglozzer> :P no problem
1212: [13:44:04] <R\w\C> ill tip you a cupple doge
1213: [13:44:27] <kinglozzer> Haha, I don't have a dogecoin wallet :(
1214: [13:44:44] <R\w\C> u dont need one
1215: [13:45:00] <R\w\C> u just join dogecoin ill tip u and u leave
1216: [13:45:03] <R\w\C> it will rememebr it for u
1217: [13:45:11] * kinglozzer doesn't understand all this cryptocurrency stuff
1218: [13:45:23] <R\w\C> :D
1219: [13:45:40] <R\w\C> 250 doge not much
1220: [13:45:43] <kinglozzer> ty R\w\C, now I just need to work out what on earth you do with it :P
1221: [13:45:44] <R\w\C> but a little something
1222: [13:45:59] <R\w\C> haha
1223: [13:46:09] <R\w\C> ill leave that to you
1224: [13:46:42] <Adesso> Is it possible to create a has_one relationship with a OR in a model ?
1225: [13:47:20] <wmk> OR ???
1226: [13:47:35] <Adesso> modelRef -> "PageTypeOne"||"PageTypeTwo"
1227: [13:47:40] <wmk> hmmm, no
1228: [13:48:02] <wmk> go for a parent of both (Page, SiteTree)
1229: [13:48:12] <Adesso> DataObject
1230: [13:48:17] <wmk> and filter the form field
1231: [13:48:37] <wmk> or use two relations
1232: [13:48:47] <Adesso> One Page is a BataObject, and the other is a Page
1233: [13:48:51] <wmk> has_one (PageType1, PageType2)
1234: [13:49:01] <wmk> and a custom getter
1235: [13:49:12] <Adesso> That is what I am doing, but then 2 field show in the admin
1236: [13:49:21] <wmk> getMyPageRelation() {return either PageType1 or PageType2}
1237: [13:49:29] <wmk> Adesso, read the latest blog entry on ss.org?
1238: [13:49:34] <Adesso> thus I have to remove these fields in the admin (the wrong one) in each model
1239: [13:49:59] * Otterpocket quit (Ping timeout: 244 seconds)
1240: [13:50:03] * Adesso checks the article
1241: [13:50:20] <wmk> http://www.silverstripe.org/blog/a-beginners-introduction-to-using-entwine-in-silverstripe/
1242: [13:50:36] <wmk> lutz has written a good tutorial, seems like your problem
1243: [13:50:47] <wmk> kinglozzer, sorry but i cnr
1244: [13:50:51] * Otterpocket has joined #silverstripe
1245: [13:51:18] <kinglozzer> ;D
1246: [13:54:25] <R\w\C> kinglozzer that 250 doge is worth $0.07 :)
1247: [13:54:40] <R\w\C> i feel guilty giving you a few grains of sand
1248: [13:54:56] <kinglozzer> Haha R\w\C
1249: [13:55:03] <kinglozzer> I'll just use the !donate thing
1250: [13:55:03] <ocmnt> dogecoin?
1251: [13:55:03] <kinglozzer> :P
1252: [13:55:08] <ocmnt> so valuable!
1253: [13:55:24] <R\w\C> much value so dollarsigns
1254: [13:55:24] <kinglozzer> Oh wait, it's donating to the developers of the bot
1255: [13:55:36] * kinglozzer assumed it was charity or something
1256: [13:55:44] * martimiz has joined #silverstripe
1257: [13:55:45] <R\w\C> :)
1258: [13:56:25] <Otterpocket> Is it possible to increase the number of records displayed per page in the cms?
1259: [13:56:40] <wmk> anyone using fluent?
1260: [13:56:42] <kinglozzer> Friendly warning to all: AVOID SOLR LIKE THE PLAGUE
1261: [13:56:45] <Otterpocket> *ModelAdmin*
1262: [13:56:52] <kinglozzer> Otterpocket: Yep
1263: [13:56:58] <catcher> Otterpocket, configure the gridfield
1264: [13:57:33] * Adesso is going with the dirty way for now
1265: [13:57:36] <Otterpocket> kinglozzer, catcher, Ok, I didn't know where in the DOCS to look, thanks ill look in gridfield
1266: [13:57:59] <wmk> Adesso, unless you clean up later
1267: [13:58:06] <Adesso> wmk... nice article.. but not really relevant to me right now
1268: [13:58:25] <wmk> well, he uses two fields and an optionset to switch them on/of
1269: [13:58:27] <wmk> f
1270: [13:58:33] <kinglozzer> Otterpocket: You'll need to create a function getEditForm() in your ModelAdmin class, then find the GridField in the form ($form->Fields()->dataFieldByName(... etc) and adjust the config for it
1271: [13:58:39] <Adesso> yes... but I need a bit more
1272: [13:58:42] <wmk> if you have two relations and only want to show one of them in backend...
1273: [13:58:44] <kinglozzer> I might have an example of it somewhere
1274: [13:58:47] <catcher> Otterpocket, http://api.silverstripe.org/3.1/class-GridFieldPaginator.html#_setItemsPerPage
1275: [13:59:29] <Adesso> I need a relationship that exist over two Object Types..
1276: [13:59:44] <wmk> really?
1277: [13:59:49] <Adesso> So File -> Page OR DataObject
1278: [13:59:51] <wmk> don't you want to think over it?
1279: [14:00:07] <Otterpocket> Thanks :D
1280: [14:00:37] <kinglozzer> Otterpocket: Boom, found it in an old project: https://gist.github.com/kinglozzer/fc76feee2d805608f798
1281: [14:00:39] <wmk> so, from file you just want to see related pages or related DO. Can one file be on more pages?
1282: [14:00:50] <Adesso> Well Actually it's File <-> DO -> Page||DO
1283: [14:01:05] <Adesso> nope
1284: [14:01:14] <Adesso> ONe file only goes once on the site ..
1285: [14:01:24] <Adesso> regarless of the relationship to Page or DO
1286: [14:01:26] <wmk> but you cannot say has_one('foo' => Dataobject)
1287: [14:01:44] <Adesso> sure..
1288: [14:01:50] <wmk> sure, you can not
1289: [14:01:54] <Adesso> when the model is a extended DO
1290: [14:02:01] <Adesso> indirectly
1291: [14:02:23] <wmk> with DO SS doesn't know which table to look up
1292: [14:02:31] <Adesso> so has_one = (FileModelRef => File )
1293: [14:03:02] * muskie9 has joined #silverstripe
1294: [14:03:08] <Adesso> the relationship of the File is on the DO
1295: [14:03:20] <wmk> i'd go with two fields for page and DO
1296: [14:03:22] <Adesso> that DO is then related to either a Page or another DO
1297: [14:03:37] <Otterpocket> kinglozzer: Looks exactly what I am looking for, thanks
1298: [14:03:39] <Adesso> that's my dirty solution
1299: [14:04:03] <Adesso> I practically create 2 entries for has_one
1300: [14:04:05] <wmk> Adesso, but you need two fields, one for page relation, one for DO relation
1301: [14:04:09] <wmk> yup
1302: [14:04:14] <Adesso> and in the admin just remove the field in the model
1303: [14:04:22] <wmk> jup
1304: [14:04:30] <Adesso> thus --- dirty
1305: [14:04:47] <wmk> well, that's how it's working i guess
1306: [14:05:01] <Adesso> untless I can "super" the DO...
1307: [14:05:08] <Adesso> but this just makes it more complicated
1308: [14:05:25] <Adesso> cause then I have to remove it on all other DO that don't need it
1309: [14:05:48] * Adesso starts re-writing his Models again ..
1310: [14:08:15] <Otterpocket> kinglozzer: hang on..... your github profile says you work in the same city as me?
1311: [14:08:38] <kinglozzer> Otterpocket: Norwich?
1312: [14:09:00] <Otterpocket> Yea, you work at Bigfork?
1313: [14:09:25] <kinglozzer> Yeah
1314: [14:09:28] <Otterpocket> <- MMK
1315: [14:10:00] <kinglozzer> Ah, cool :)
1316: [14:10:06] <kinglozzer> "thehacksaw" works there too, right?
1317: [14:10:11] <Otterpocket> yea
1318: [14:14:33] * Gun21 has joined #silverstripe
1319: [14:14:38] <Gun21> hey!
1320: [14:14:45] <Gun21> anyone alive? :)
1321: [14:15:10] <Gun21> I'm having a breakdown... effin DependantPages seem to be broken on my install
1322: [14:15:37] <Gun21> tab title displays correct count, but instead of gridfield there's "(none)"
1323: [14:16:39] * thehacksaw has joined #silverstripe
1324: [14:17:01] <Gun21> I even tried to replace line #1901
1325: [14:17:02] <Gun21> $dependentPages = $this->DependentPages();
1326: [14:17:13] <Gun21> in SiteTree.php
1327: [14:17:27] <Gun21> with $dependentPages = Page::get()->limit(42);
1328: [14:17:58] <Gun21> and I still get correct "Dependent pages (42)" and wrong "(none)" instead of a gridfield...
1329: [14:19:01] * jcwacky quit (Quit: jcwacky)
1330: [14:23:15] <Adesso> Damn... real close
1331: [14:24:22] * wmk quit (Quit: nice to meet you ;))
1332: [14:25:01] <Adesso> now to figure out which one to remove
1333: [14:25:06] <Adesso> mmm
1334: [14:25:12] * R\w\C quit (Ping timeout: 245 seconds)
1335: [14:25:20] <Adesso> something like Calling Model
1336: [14:25:34] <Adesso> or Parent/Relation Model
1337: [14:25:37] * thehacksaw quit (Ping timeout: 258 seconds)
1338: [14:25:40] <Gun21> what?
1339: [14:26:03] * thehacksaw has joined #silverstripe
1340: [14:26:19] * Adesso does a running thoughts to keyboard dump
1341: [14:26:48] <Gun21> lol
1342: [14:26:52] <Adesso> in the model of a has one DO, I have two Relatios
1343: [14:26:59] <Adesso> one with a Page
1344: [14:27:05] <Adesso> and one with another OD
1345: [14:27:07] <Adesso> DO
1346: [14:27:27] <Adesso> now to remove the "not currently in use" Field relation in the admin
1347: [14:27:47] <Adesso> I have to figure out what the Calling Relation Model is
1348: [14:27:54] <Adesso> so I can remove the other one ..
1349: [14:27:58] <Adesso> making sense ?
1350: [14:28:49] <Adesso> When I show the Page->DO I don't want to setup the DO->DO
1351: [14:29:18] <Adesso> and visa versa
1352: [14:29:56] <catcher> Adesso, I'd suggest client-side w/ entwine; the relationship exists regardless of whether or not you're using it.
1353: [14:29:59] <Adesso> anbody ever heard of such a function... (Calling Model or Calling Relationship )
1354: [14:30:09] <Adesso> true
1355: [14:30:45] <catcher> Also, remember that Pages inherit from DO, so you could use a single DO relationship (as mentioned above) and restrict your options when you create the field.
1356: [14:32:01] <Adesso> but I have this setup so far Page->MyPages && DO->Articles && DO->File
1357: [14:32:40] <Adesso> so I would want the File DO to be related to either a MyPage or Article .... but not to itself
1358: [14:32:50] <Adesso> that would just be too complicated
1359: [14:33:00] * Adesso thinks of a dog chasing his tail
1360: [14:33:41] <catcher> Adesso, you'd still drill down to the DO subclass that has the relationship, you wouldn't need to reassign those.
1361: [14:33:57] <catcher> You're ultimately just storing an ID.
1362: [14:35:11] <Adesso> the theory is simple ...
1363: [14:35:24] <Adesso> it's the implementation that is killing me a bit
1364: [14:35:30] <catcher> Foo has_one BarDO, Foo has_one PageDO
1365: [14:35:42] <catcher> BarDO has_many Articles, BarDO has_one File
1366: [14:36:09] <catcher> So: Foo has_one DataObject (instead of BarDO & PageDO)
1367: [14:36:32] <catcher> Then in the field, for the source parameter, filter it down to those 2 items.
1368: [14:37:16] <catcher> Or override the relationship getter method as wmk suggested above
1369: [14:37:45] * Alboes has joined #silverstripe
1370: [14:37:46] * Adesso tries to wrap his head around Foo Bar
1371: [14:37:49] <catcher> Or, completely different solution, keep your existing dual relationship, and hide/show based on a radio field.
1372: [14:38:42] <Adesso> I am 90% done with the solution that has client-side hiding.. but I am really not impressed with it
1373: [14:38:55] * Adesso is going to try the FoBar way tomorrow
1374: [14:38:59] <Adesso> FooBar
1375: [14:40:34] <catcher> Adesso, you're basically just using a single relationship to the nearest shared parent between your DO & Page, which happens to be DataObject.
1376: [14:40:44] <Adesso> but first I take a break... it's time to go home and drink Tequila .. :P
1377: [14:40:59] <catcher> It'll let you relate to literally any DO in your structure (which is why you need to limit it)
1378: [14:41:03] <Gun21> "I still get correct "Dependent pages (42)" and wrong "(none)" instead of a gridfield..."
1379: [14:41:05] <catcher> Tequila helps.
1380: [14:41:11] <Gun21> effin Translatable is causing this...
1381: [14:41:13] <Adesso> :D
1382: [14:41:27] <Gun21> now only to get how to disable it...
1383: [14:41:38] <catcher> Gun21, I just tested it successfully in 3.1.6, but not with translatable.
1384: [14:41:44] * Adesso decides to use Tequila to solve his Relationship-s XD
1385: [14:41:50] <catcher> hahaha
1386: [14:42:02] <Gun21> in clean install it works like a charm
1387: [14:42:12] * Adesso quit (Quit: EOD)
1388: [14:42:16] <catcher> Gun21, with translatable?
1389: [14:42:20] <Gun21> but when you throw Translatable in...
1390: [14:42:23] <Alboes> hi, how can I forbid to add pages in the root level?
1391: [14:42:51] <Gun21> it shows blank gridfield although it has full datalist
1392: [14:43:06] <Gun21> catcher I removed one by one module until it started to work
1393: [14:43:26] <Gun21> and I'm 100% sure it's Translatable
1394: [14:43:36] <Gun21> because even when I put all other modules back
1395: [14:43:45] <Gun21> (flushed every time)
1396: [14:43:48] <Gun21> it still worked
1397: [14:44:03] <Gun21> but with Translatable it's broken
1398: [14:45:07] <catcher> Gun21, haven't used translatable, sorry. Hopefully you can narrow it down and submit a pull request.
1399: [14:45:42] <Gun21> narrowed it to updateCMSFields in Translatable
1400: [14:46:04] <Gun21> adding "return;" as a first line of method restored functionality...
1401: [14:46:14] <Gun21> so my quest continues...
1402: [14:46:37] <kinglozzer> Alboes: private static $can_be_root can prevent adding a certain page type
1403: [14:47:14] <kinglozzer> If you want to prevent anyone adding any pages at the root level, I think you'd need to overload SiteTree::validate() and check $this->ParentID
1404: [14:47:39] <kinglozzer> https://github.com/ircmaxell/PHPPHP lolwut
1405: [14:49:36] <catcher> haha
1406: [14:50:19] <kinglozzer> Did you see this linked yesterday? https://nthitz.github.io/turndownforwhatjs/
1407: [14:50:22] <kinglozzer> Genius
1408: [14:54:19] <Alboes> thanks
1409: [14:55:09] <Gun21> catcher: found this nasty mf
1410: [14:55:53] <Gun21> in code/model/Translatable.php just add "DependentPages" to $excludedFields (line #1130)
1411: [15:06:54] * Guits has joined #silverstripe
1412: [15:08:14] <Guits> After upgrade from 3.0.x to 3.1.x i get "Uninitialized string offset: 0" on Director::absoluteURL(,1) when using "$email->setTemplate"
1413: [15:09:36] <catcher> Gun21, you should submit a pull request once you've tested that a bit
1414: [15:16:23] * x75 quit ()
1415: [15:22:37] <Guits> on 3.1 i cannot have " or ' in mail templates
1416: [15:23:14] <catcher> In the template?
1417: [15:23:40] <Guits> yes
1418: [15:24:07] <Guits> if i have either ' or " i get error "Uninitialized string offset: 0" on Director::absoluteURL(,1)
1419: [15:27:39] <Guits> no sorry ..some other error
1420: [15:27:54] <Guits> my bad.. it works
1421: [15:30:11] <Gun21> catcher: well, I don't see what can go wrong here, since all fields that are not translatable and not in exludedFields Translatable transforms to readonly
1422: [15:30:31] <Gun21> this just prevents that for DependentPages, no other code involved
1423: [15:38:04] * caamic30 quit (Quit: caamic30)
1424: [15:42:05] <catcher> Gun21, makes sense to me (but I haven't used translatable). Probably good to go for a pull request.
1425: [15:43:04] * Gun21 quit (Ping timeout: 246 seconds)
1426: [15:48:06] * Alboes quit (Remote host closed the connection)
1427: [15:49:47] * thehacksaw quit (Ping timeout: 245 seconds)
1428: [15:50:11] * thehacksaw has joined #silverstripe
1429: [15:50:30] <Otterpocket> Are the slides from the Nginx talk at SilverstripeEu online anywhere?
1430: [15:53:22] * Colin[pi] has joined #silverstripe
1431: [16:18:57] * CodeTrap has joined #silverstripe
1432: [16:21:48] * kinglozzer quit ()
1433: [16:24:25] * thehacksaw quit (Quit: Leaving)
1434: [16:24:33] * stnvh quit ()
1435: [16:30:14] * martimiz has left #silverstripe
1436: [16:33:36] * Otterpocket quit (Quit: WeeChat 0.4.1)
1437: [17:11:38] * Shrike_Finland has joined #silverstripe
1438: [17:13:39] * muskie9 is now known as _muskie9_
1439: [17:14:21] <catcher> It's interesting to me how often partial caching is a better choice than model caching.
1440: [17:16:00] * Shrike_Finland quit (Ping timeout: 260 seconds)
1441: [17:16:11] * Shrike_Finland has joined #silverstripe
1442: [17:26:17] * stephanvd has joined #silverstripe
1443: [17:29:27] * veb has joined #silverstripe
1444: [17:29:33] * veb quit (Remote host closed the connection)
1445: [17:31:27] * UndefinedOffset quit (Quit: Leaving.)
1446: [17:35:48] * UndefinedOffset has joined #silverstripe
1447: [17:41:31] * Shrike_Finland quit (Quit: Leaving.)
1448: [17:58:12] * gelignite has joined #silverstripe
1449: [18:12:04] * _muskie9_ is now known as muskie9
1450: [18:26:07] * muskie9 quit (Read error: Connection reset by peer)
1451: [18:26:45] * muskie9 has joined #silverstripe
1452: [18:38:07] * CodeTrap quit (Ping timeout: 245 seconds)
1453: [18:38:28] * joelpittet has joined #silverstripe
1454: [18:44:40] * joelpittet quit ()
1455: [18:46:42] * muskie9 quit (Read error: Connection reset by peer)
1456: [18:47:17] * muskie9 has joined #silverstripe
1457: [19:03:43] * Kingy[a] is now known as Kingy
1458: [19:12:40] <Kingy> morning folks
1459: [19:16:21] * Stomach has joined #silverstripe
1460: [19:25:32] * jedateach has joined #silverstripe
1461: [19:30:59] * FrozenFire quit (Ping timeout: 244 seconds)
1462: [19:35:55] * Phlunk3 has joined #silverstripe
1463: [19:37:35] * FrozenFire has joined #silverstripe
1464: [19:39:16] * Ryan-Toast has joined #silverstripe
1465: [19:41:17] * Mish_ has joined #silverstripe
1466: [19:50:33] * nickmolhoek has joined #silverstripe
1467: [19:59:16] * pippy has joined #silverstripe
1468: [20:17:43] * zippy has joined #silverstripe
1469: [20:21:35] * novaweb has joined #silverstripe
1470: [20:21:42] <zippy> º╲˚\╭ᴖ_ᴖ╮/˚╱º Y A Y !
1471: [20:22:52] <novaweb> Reviewing some code... can a DataObject have_many of itself??? I see it's possible, but good practice?
1472: [20:26:19] <Zauberfisch> novaweb: sure, there are valid reasons for it
1473: [20:26:38] <Zauberfisch> perhaps a person can have many_many friends, which are also persons
1474: [20:26:46] * micmania1 has joined #silverstripe
1475: [20:27:26] <catcher> so THAT's how you make friends..
1476: [20:29:37] * hailwood has joined #silverstripe
1477: [20:30:00] <Stomach> its easy!
1478: [20:30:11] <hailwood> Hey guys, how difficult would it be to setup the sitesearch to also search subsites?
1479: [20:30:25] <Kingy> spronk: ypu
1480: [20:30:28] <Kingy> you're needed
1481: [20:30:56] <Stomach> hailwood - you can probably do it pretty easily
1482: [20:31:15] <Stomach> you can probably disable subsites filters within the search method or something
1483: [20:31:26] <Stomach> not sure how subsites is set up, I think it just has an augment sql
1484: [20:31:48] <hailwood> Sweet, just making sure noone knew of anything that would make it difficult - (I hate doing project scopes :/ )
1485: [20:32:10] <Stomach> but it is subsites
1486: [20:32:13] <Stomach> so add 400 hours
1487: [20:32:29] * irogue_ has joined #silverstripe
1488: [20:33:05] <hailwood> Heh, I thought subsites was supposed to make it easy
1489: [20:34:19] <Kingy> lolol
1490: [20:34:37] <Stomach> hailwood - there is Subsite::$disable_subsite_filter
1491: [20:34:46] <Stomach> so you can just call that before running the search, wooo
1492: [20:34:51] <hailwood> Awesome.
1493: [20:34:53] <Stomach> so only 399 hours
1494: [20:36:26] * UndefinedOffset quit (Quit: Leaving.)
1495: [20:38:39] * Mish_ quit (Quit: Mish_)
1496: [20:40:12] * jimcrib has joined #silverstripe
1497: [20:40:45] * jimcrib has left #silverstripe
1498: [20:44:32] <Kingy> lol Stomach job done
1499: [20:51:29] <novaweb> thank you Zauberfisch
1500: [20:56:49] * stephanvd quit (Quit: Lingo - http://www.lingoirc.com)
1501: [20:58:39] * travis-ci has joined #silverstripe
1502: [20:58:39] <travis-ci> silverstripe/silverstripe-framework#3421 (master - b4df2aa : Sean Harvey): The build passed.
1503: [20:58:39] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/3ff4bf633e80...b4df2aa80ff3
1504: [20:58:39] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/37143778
1505: [20:58:39] * travis-ci has left #silverstripe
1506: [21:02:08] <adrexia> hailwood - I did it by accident when I was trying to get solr to do text extraction
1507: [21:02:39] <adrexia> though I sometimes think its easier to do things when you don't want them to happen
1508: [21:02:47] <hailwood> I really must look into solr, Search always seems to be what slows my sites down once they get to 10,000+ searchable items :/
1509: [21:03:09] <adrexia> solr is a beast.
1510: [21:03:23] <adrexia> but apparently its comparatively good.
1511: [21:03:29] <hailwood> I'm not sure if that's a good comment or a bad one!
1512: [21:03:44] <adrexia> I'm not sold. I think we just just use embedded google search ;)
1513: [21:03:50] <hailwood> If it wasn't so expensive I would be quite interested in AWS ElasticSearch
1514: [21:04:02] <adrexia> oh, that sounds interesting
1515: [21:04:30] <Stomach> sphinx is another option too
1516: [21:04:41] <zippy> I like sphinx
1517: [21:05:07] <adrexia> silverstripe ditched sphinx for solr
1518: [21:05:31] <adrexia> which makes me think solr is somehow less annoying or has better functionality
1519: [21:06:14] <adrexia> but I usually try not to get involved with problems like search. It's not something you can impress people with, thanks to google.
1520: [21:06:20] * Olliepop has joined #silverstripe
1521: [21:06:29] <adrexia> so the base line is "I suppose it will do"
1522: [21:06:49] <adrexia> much like content migration
1523: [21:06:54] <hailwood> adrexia: Whoops, not ElasticSearch - CloudSearch http://aws.amazon.com/cloudsearch/
1524: [21:07:22] <adrexia> ahh, I was looking at this: https://github.com/elasticsearch/elasticsearch-cloud-aws
1525: [21:07:42] <hailwood> Yeah my bad, ElasticSearch is something else we were looking at
1526: [21:07:45] * markcl has left #silverstripe
1527: [21:07:48] <adrexia> interesting that amazon is gettin ginto search
1528: [21:08:01] <adrexia> they must be competing pretty hard with google for employees
1529: [21:08:16] <hailwood> Well, it's a search provider rather than doing the search themselves. more like an indexing service for you
1530: [21:08:27] <adrexia> yep
1531: [21:08:35] <adrexia> I just mean the skill set is the same
1532: [21:08:40] <hailwood> Has anyone here heard of Advantage4me?
1533: [21:08:44] <adrexia> and somewhat unique
1534: [21:11:22] <hailwood> Fair enough - yeah we wanted to use CloudSearch for our system, but for the data we are processing we would need an ExtraLarge search instance - which costs $.055/hour = Almost $5000/year not including transfer rates and the boss/client wouldn't agree on it - so now searches take like 15 seconds to return results depending on a couple of criteria :/
1535: [21:11:33] <irogue_> [09:33:05] <hailwood> Heh, I thought subsites was supposed to make it easy
1536: [21:11:35] <irogue_> BAHAHAHAHHAE
1537: [21:11:48] * Guits quit (Ping timeout: 250 seconds)
1538: [21:11:51] <irogue_> [10:05:07] <adrexia> silverstripe ditched sphinx for solr
1539: [21:13:45] <irogue_> Solr is more flexible, but as is usual with flexibility, far more complicated
1540: [21:13:52] * adrexia nods
1541: [21:14:18] <irogue_> my experience is that for most uses Sphinx is easier and does the job just fine
1542: [21:14:24] * catcher quit (Quit: Leaving)
1543: [21:14:40] <adrexia> my expereince is that embedded google search fits the user need better
1544: [21:14:47] <irogue_> but it makes sense for us to standardise on one, and makes sense for that one to be the one that will be able to handle any weird scenario we throw at it
1545: [21:15:04] <adrexia> even if I disagree with the horrible excuse for html they use
1546: [21:15:24] <irogue_> adrexia: depends what you're searching for
1547: [21:15:26] <irogue_> e.g. https://privacy.org.nz/further-resources/directory-of-privacy-professionals/
1548: [21:15:50] <adrexia> irogue_, 100% complication for someone who needs 1% of they functionality is, however, extremely dumb
1549: [21:15:54] <adrexia> hammer, nail, etc
1550: [21:15:56] <irogue_> that's searching Member records
1551: [21:16:05] <irogue_> doing this in Solr is quite easy, but glhf doing it with an embedded Google search
1552: [21:16:24] <adrexia> you can search specific urls
1553: [21:16:26] <adrexia> but yeah
1554: [21:16:52] <Stomach> https://privacy.org.nz/further-resources/directory-of-privacy-professionals/DirectorySearchForm?Surname=&Region=&Expertise=&searchlocale=en_NZ&action_directoryresults=Go
1555: [21:16:54] <Stomach> no results
1556: [21:16:56] <Stomach> !
1557: [21:17:01] <irogue_> Stomach: new feature, noone's registered yet
1558: [21:17:07] <adrexia> but often for saearch itself (rather than search within x) the user just expects google
1559: [21:17:09] <Stomach> oh. :D
1560: [21:17:55] <adrexia> Stomach why you link to privacy?
1561: [21:18:07] <Stomach> adrexia - because irogue_ did
1562: [21:22:00] <adrexia> irogue_, why you do that to me? its too early for PTSS
1563: [21:22:20] <irogue_> adrexia: lol
1564: [21:23:24] * tankr has joined #silverstripe
1565: [21:29:50] <zippy> irogue_: I like the 'Email this page' feature... very advanced
1566: [21:30:26] * ezero quit (Quit: Leaving)
1567: [21:31:48] <irogue_> zippy: had never clicked that before, I like it
1568: [21:32:18] <Kingy> apparently our company is going with a second SS site
1569: [21:32:22] <Kingy> slowly taking over...
1570: [21:32:44] <irogue_> Kingy: means more work for you, yeah?
1571: [21:32:53] <adrexia> +1
1572: [21:32:55] <Kingy> unlikely
1573: [21:33:01] <Kingy> StripeTheWeb guys doing the work
1574: [21:33:06] <Kingy> and the site is mostly static content
1575: [21:33:43] <Kingy> although once they have it then any bits and pieces will probably fall to me
1576: [21:34:22] * stojg has joined #silverstripe
1577: [21:35:10] * UncleCheese has joined #silverstripe
1578: [21:35:39] * muskie9 is now known as _muskie9_
1579: [21:39:16] <irogue_> mornin' stojg, UncleCheese
1580: [21:39:20] <UncleCheese> hi
1581: [21:39:48] <stojg> Bonjour
1582: [21:39:54] <Kingy> UncleCheese: decided on a phone yet?
1583: [21:40:00] * veb has joined #silverstripe
1584: [21:40:00] <UncleCheese> yup
1585: [21:40:10] <Kingy> what was the verdict?
1586: [21:40:12] <UncleCheese> the one in my pocket
1587: [21:40:20] <Kingy> haha
1588: [21:40:23] * _muskie9_ is now known as muskie9
1589: [21:40:33] <UncleCheese> ain't got the scatch for all that noise
1590: [21:41:07] <UncleCheese> call it blind religion, but i really am not interested in anything that isn't apple
1591: [21:41:27] <UncleCheese> and all those phones are just way out of reach for me.. so.. some other time
1592: [21:42:26] <Kingy> +1
1593: [21:42:31] <Kingy> some common sense
1594: [21:42:40] <Kingy> irogue_: pebble arrived?
1595: [21:42:49] <irogue_> Kingy: yup... DOA :(
1596: [21:43:00] <Kingy> oh goddamn that's cruel
1597: [21:44:10] <Ryan-Toast> that moment when you cant figure out why your loop isn’t working…and you have the greater/lesser sign round the wrong way.
1598: [21:44:27] <Stomach> the crocodile eats the chickens!
1599: [21:44:40] <Colin[pi]> irogue_: oh no seriously??
1600: [21:45:19] <irogue_> Colin[pi]: yup, srs
1601: [21:46:03] <Colin[pi]> irogue_: ah shit :\
1602: [21:46:10] <Colin[pi]> so.. like wont turn on at all?
1603: [21:46:16] <irogue_> correct
1604: [21:46:23] <Colin[pi]> mm
1605: [21:46:30] <Colin[pi]> and covered by warranty I imagine
1606: [21:46:31] <Colin[pi]> ?
1607: [21:46:55] <Kingy> I'm sure it is, but mann having to send it all the way back just to wait all over again
1608: [21:46:55] <irogue_> DOA, so I'd certainly hope so :P
1609: [21:47:08] <Colin[pi]> how long were you waiting for?
1610: [21:47:13] <Kingy> so close you can literally taste it if you wanted too
1611: [21:48:23] <Stomach> tell us how it tastes
1612: [21:48:25] <zippy> UncleCheese: so what did you go with?
1613: [21:48:51] <UncleCheese> zippy the phone i've had in my pocket for the last 3 years
1614: [21:49:03] <Kingy> iphone 4?
1615: [21:49:43] * veb quit (Read error: Connection reset by peer)
1616: [21:50:12] * veb has joined #silverstripe
1617: [21:50:13] * simon_w|work has joined #silverstripe
1618: [21:57:29] * ss-log_ has joined #silverstripe
1619: [21:57:42] <irogue_> UncleCheese: that's not good mental imagery
1620: [21:58:05] <Colin[pi]> UncleCheese: oh no, I was going to say on the 4S if you had 7 to stick with it :P
1621: [21:59:01] <Colin[pi]> because I have a 5, and iOS 8 is *ok* but definitely slower than 7
1622: [21:59:27] <UncleCheese> yeah, it's bullshit
1623: [21:59:28] <simon_w|work> Suckers. It works great on a 64bit chip :p
1624: [21:59:43] <UncleCheese> they did the same thing to be with ios5
1625: [22:00:02] <UncleCheese> i had a 3G and the upgrade for all intents and purposes bricked the phone
1626: [22:00:02] <Colin[pi]> UncleCheese: mm my iPhone 4 became slow as balls back in the day
1627: [22:00:29] <simon_w|work> UncleCheese, iOS 5 wasn't supported on the 3G
1628: [22:00:34] <UncleCheese> or whatever
1629: [22:00:37] <UncleCheese> maybe it was ios4
1630: [22:00:44] <UncleCheese> the one where they added landscape keyboard for texting
1631: [22:01:09] <hailwood> Anyone know of a "Give us your email address before you can download this" plugin for silverstripe? (I hate them but the client gets what the client wants....)
1632: [22:01:10] <irogue_> yeah, generally I go with not updating more than one version above what comes with a phone
1633: [22:01:32] <Colin[pi]> hailwood: shouldn't be that hard to write your own
1634: [22:01:38] <Colin[pi]> evil though
1635: [22:01:59] <adrexia> yeah, could do most of that with a simple form
1636: [22:02:12] <Colin[pi]> irogue_: I'm regretting the 8 upgrade... 7 was smooth as silk on my iPhone 5
1637: [22:02:16] * Kapdap has joined #silverstripe
1638: [22:02:16] <adrexia> could even do it with userforms _ secure files or soemthing
1639: [22:02:37] <irogue_> Colin[pi]: it seems to be true across OSes too
1640: [22:02:48] <Kingy> yeah form would be easy enough, rather like a 'accept the terms and conditions' checkbox
1641: [22:02:53] <irogue_> Colin[pi]: my first android came with 2.1, then 2.2 ran fine, then 2.3 was horrid
1642: [22:02:53] <adrexia> oh wait, you'd need to make them a memebrer for securefiels to work I think
1643: [22:03:09] <Colin[pi]> irogue_: like, it's *ok*... but I can notice a slow down
1644: [22:03:23] <zippy> UncleCheese: yea the wife has a 4s and she's played with my 6 and loves it
1645: [22:03:38] <UncleCheese> plus?
1646: [22:03:42] <zippy> so much faster and smoother
1647: [22:03:45] <zippy> na
1648: [22:03:48] <UncleCheese> better camera?
1649: [22:03:49] <simon_w|work> irogue_, Colin[pi], this happens on desktops too. Newer software doesn't work so well on older hardware.
1650: [22:03:50] <zippy> the 6 is borderline too big
1651: [22:03:54] <zippy> yeap better camera
1652: [22:03:59] <irogue_> simon_w|work: yup
1653: [22:04:19] <UncleCheese> i get so frustrated with my iphone camera.. so many beautiful things to see in NZ and the photos always look like.. meh
1654: [22:04:31] <UncleCheese> but photos with a decent SLR are like, hell yeah
1655: [22:04:32] <Colin[pi]> simon_w|work: mm but desktops seem to last longer
1656: [22:04:38] <Kingy> why does YouShop need to set up in China. Don't they realize that the sellers there ship stuff for free :P
1657: [22:04:52] <Colin[pi]> UncleCheese: yeah you can't beat a good SLR
1658: [22:05:06] <UncleCheese> ... but it would be nice to come close :)
1659: [22:05:11] <simon_w|work> UncleCheese, that's because the camera on your old phone is crap
1660: [22:05:17] <UncleCheese> thanks, simon_w|work
1661: [22:05:21] <Stomach> lol
1662: [22:05:30] <UncleCheese> just what i need, another reason to drop a grand on a new phone
1663: [22:05:41] <simon_w|work> Apple started improving the camera dramatically with the 4s
1664: [22:05:51] <UncleCheese> that's what i have
1665: [22:05:57] <Colin[pi]> UncleCheese: took this with my SLR the other day, was quite proud of it: https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-xap1/t31.0-8/10658521_10153232565203206_4628620239651100769_o.jpg
1666: [22:06:52] * travis-ci has joined #silverstripe
1667: [22:06:52] <travis-ci> silverstripe/silverstripe-framework#3429 (3.1 - 1e422ee : Sean Harvey): The build was broken.
1668: [22:06:52] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/b58d42f72213...1e422eef0ae3
1669: [22:06:52] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/37445049
1670: [22:06:52] * travis-ci has left #silverstripe
1671: [22:07:11] <simon_w|work> Colin[pi], and then you upload to facebook, so that it looks no different to a phone photo :p
1672: [22:07:28] <Colin[pi]> simon_w|work: yeah facebook's shitty compression
1673: [22:07:45] <zippy> UncleCheese: after you've waited 5 seconds for the camera app to open...
1674: [22:08:05] <zippy> UncleCheese: battery lasted 3 days before going flat, not to bad
1675: [22:08:22] <simon_w|work> Ugh, internet is going so slow
1676: [22:08:31] <zippy> UncleCheese: Oh yea, and it's got 4g
1677: [22:08:56] <UncleCheese> if i have < 20% battery and i open the video camera, the phone shuts off
1678: [22:09:09] <simon_w|work> Only hitting 75 mbps to Canberra :(
1679: [22:09:27] <zippy> http://i.imgur.com/Lw3MchC.png
1680: [22:09:31] <Stomach> my phone stays charged for a week
1681: [22:09:35] <Stomach> its awesome
1682: [22:09:53] <zippy> thats not bad speeds I thought..
1683: [22:10:01] <zippy> beats simons interwebs!
1684: [22:10:18] * caamic30 has joined #silverstripe
1685: [22:10:56] <zippy> Is it possible to use paddedImage and not have it resize?
1686: [22:11:22] <zippy> so if you did. paddedImage(100,100) and the image was say, 50 by 50, it wont resize it? cos it looks blurred
1687: [22:11:40] <adrexia> it shouldn't really
1688: [22:11:47] <simon_w|work> http://www.speedtest.net/result/3818355858.png
1689: [22:11:57] <adrexia> padded image is supposed to add padding, not scale up
1690: [22:11:58] <simon_w|work> Not bad for transtasman, and then to Palmy
1691: [22:12:13] <adrexia> though I don't actually use that one
1692: [22:12:17] <simon_w|work> It's supposed to resize the smallest amount, then pad
1693: [22:12:23] <adrexia> really?
1694: [22:12:26] <adrexia> how... useless
1695: [22:12:28] <zippy> pita
1696: [22:12:33] <adrexia> noone wants there images scaled up
1697: [22:12:43] * muskie9 is now known as _muskie9_
1698: [22:12:46] <adrexia> *their
1699: [22:12:49] <simon_w|work> Yeah, none of the methods think about scaling up
1700: [22:12:53] <hailwood> Colin[pi], adrexia Yeah the one complication is that they want the user to have to confirm their email address via a link in their email before they can download it :/
1701: [22:13:06] <adrexia> hailwood, oh
1702: [22:13:15] <Colin[pi]> ah that's a bit trickier
1703: [22:13:17] <adrexia> umm, I think I have seen something like that
1704: [22:13:24] <adrexia> can't remmeber where
1705: [22:13:27] <adrexia> hmm
1706: [22:13:32] <adrexia> memeberprofiles module?
1707: [22:13:35] <zippy> simon_w|work: if it was patched would be accepted or is it 'to different'?
1708: [22:13:49] <simon_w|work> zippy, not my choice any more :p
1709: [22:13:56] <zippy> simon_w|work: your not core?
1710: [22:13:59] <adrexia> zippy - pull request it
1711: [22:14:10] * _muskie9_ is now known as muskie9
1712: [22:14:12] <zippy> adrexia: I am just seeing if it's worth the effort
1713: [22:14:13] <adrexia> I'll back you. I'm sure Paul Clarke would too
1714: [22:14:19] <simon_w|work> zippy, http://coding.simon.geek.nz/2014/09/26/quitting-as-a-core-committer/
1715: [22:14:55] <adrexia> and, well, anyone nwho has ever done frontend, I suspect ;l)
1716: [22:15:24] <irogue_> yep
1717: [22:16:19] <zippy> simon_w|work: oh
1718: [22:16:21] <zippy> well
1719: [22:16:24] <zippy> thats a bit rank..
1720: [22:17:06] * irogue_ giggles once again at Community Aggravation Manager
1721: [22:17:49] <zippy> Uservoice?
1722: [22:18:38] <irogue_> http://silverstripe.uservoice.com/
1723: [22:18:48] <zippy> yea, I am asking if that is what it's in reference too
1724: [22:19:06] <zippy> what a waste of time that is
1725: [22:19:51] <irogue_> I think it gives much-needed visibility. That could've been achieved in other ways too, but it's not the worst option.
1726: [22:19:55] <Colin[pi]> zippy: well the idea behind UV is that it collects issues/opinions from a different audience
1727: [22:20:18] <Colin[pi]> or that's the intention, anyway
1728: [22:20:51] <zippy> Colin[pi]: if things get done, then I am all for it... but I think it's just another 'area' for things to go and die
1729: [22:21:13] <micmania1> Hamish has been marking things that are planned - not sure what else is happening
1730: [22:21:27] <micmania1> Thing i just noticed is there’s no way for me to mark something is planned - not very open source.
1731: [22:21:31] <Colin[pi]> zippy: SS was really excited about it a few months back, but not sure how it'll pan out
1732: [22:21:41] <irogue_> zippy: there's that whole "it's an open source project" thing.
1733: [22:21:43] <zippy> micmania1: planned for when? is it the same as my "someday maybe list"
1734: [22:22:07] <micmania1> I have no idea. I have seen some internal planning for some things.
1735: [22:22:20] <irogue_> if community members put in the effort to jump onto UV and develop things that are there (either as a core PR or a module), awesome
1736: [22:22:23] <micmania1> But anybody should be able to do this stuff, not just ss
1737: [22:22:26] <irogue_> otherwise yes, it will just be a graveyard
1738: [22:22:39] * mirrors has joined #silverstripe
1739: [22:22:40] <zippy> Ryan-Toast: http://silverstripe.uservoice.com/forums/251266-new-features/suggestions/6187340-allow-the-site-tree-sidebar-when-editing-a-page-to -- whats a happening?
1740: [22:23:14] <Ryan-Toast> zippy: it’s done, just need to do all the ithub bullshit that you need to do to submit a pull request.
1741: [22:23:19] <adrexia> micmania1 I agree
1742: [22:23:54] <adrexia> I would be a really good thing to be able to say "I'm going to give this a shot"
1743: [22:24:17] <irogue_> but there seems to be a bit of a situation at the moment where people complain about things not getting done, because they request a feature and then just sit back and wait for SS Ltd to do it (which will likely never happen unless SS Ltd need it for a client)
1744: [22:24:27] <adrexia> I think I've seen something that did that "WE want this, we're looking for devs to build it"
1745: [22:24:38] <adrexia> I think it was huboard
1746: [22:25:54] <zippy> irogue_: so your saying if I want yaml dropped, I am going to have to re-write the config system myself?
1747: [22:26:07] * zippy clears his schedule for the rest of the day
1748: [22:26:28] <zippy> hold my calls Glenda, shit needs to be done!
1749: [22:26:36] * zippy wonders who is going to pay his mortgage...
1750: [22:26:36] <irogue_> zippy: otherwise, who will?
1751: [22:27:25] <adrexia> zippy, unless you convince someone else to get excited about it
1752: [22:27:40] <adrexia> preferably someone who can convince Hamish
1753: [22:27:41] <zippy> just dropping support for 5.3 will make it faster..
1754: [22:28:38] <zippy> I know how doesn't like yaml...
1755: [22:28:43] * zippy looks at simon_w|work
1756: [22:28:44] <zippy> :D
1757: [22:29:52] <jordanmk> UncleCheese: you there?
1758: [22:31:43] <zippy> Ryan-Toast: is there a css tool you use for cleaning up a css file? This style sheet I have inherited has a lot of duplicate and shit rules all through it
1759: [22:32:04] <Ryan-Toast> zippy: http://tools.maxcdn.com/procssor/
1760: [22:32:12] <simon_w|work> zippy, select all, delete
1761: [22:32:16] <zippy> simon_w|work: :)
1762: [22:32:19] <adrexia> I turn it into sass and manually do it
1763: [22:32:21] <zippy> for the yaml or the css :D
1764: [22:32:33] <simon_w|work> zippy, both :p
1765: [22:32:45] <Ryan-Toast> adrexia: depends on time contraints/money
1766: [22:33:10] <adrexia> agree. I'm just worried about something not human cleaning code in a way that could break stuff
1767: [22:33:37] <adrexia> I'd rather know what had changed - makes debugging easier
1768: [22:34:15] <simon_w|work> Mmm, banana bread
1769: [22:34:16] <adrexia> but there was that time I turned something into sass, fixing all the malformed css errors, and input fields turned red
1770: [22:34:40] <Stomach> red things go faster at least
1771: [22:34:45] <adrexia> ...because someone had been trying to debug, it hadn't worked because of css errors, and noone had reverted it
1772: [22:35:06] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1773: [22:35:15] <zippy> Ryan-Toast: ta!
1774: [22:35:20] <adrexia> that's a good side effect of css preprocessors - you can't get that sort of error anymore
1775: [22:35:29] * markcl has joined #silverstripe
1776: [22:35:36] <zippy> adrexia: sounds like you need https://github.com/Huddle/PhantomCSS
1777: [22:35:44] <markcl> I am loading an external image file dynamically
1778: [22:35:56] <markcl> Is there a way to crop/resize and cache it in Silverstripe?
1779: [22:36:12] <adrexia> oh yeah, testing tool can certainly help
1780: [22:36:17] <adrexia> *toold
1781: [22:36:20] <adrexia> *tools
1782: [22:36:21] <markcl> somthing like $Image($URL).CroppedImage(50,50) in the template?
1783: [22:36:21] <adrexia> even
1784: [22:36:48] <simon_w|work> markcl, nope. You'll need to save it into an Image object yourself
1785: [22:37:26] <adrexia> yeah, needs to be an object before you can run methods on it
1786: [22:37:46] <markcl> Thing is, the image is loaded externally from an API
1787: [22:37:50] <markcl> which means it changes a lot
1788: [22:37:58] <markcl> meaning if I have to save the Image to SS
1789: [22:38:09] <markcl> I'll have to check if it changed and then download the image again
1790: [22:38:25] <markcl> Said API is not under our control sadly
1791: [22:39:15] <markcl> In case I do want to save it into an Image object, how do I do that programmatically?
1792: [22:39:19] <markcl> From a URL
1793: [22:39:31] <markcl> Normally I used Image class for UploadField and GalleryFields
1794: [22:39:41] <markcl> So I don't know how to do this programmatically from a URL
1795: [22:40:49] <zippy> markcl: you might be able to semi cheat...
1796: [22:41:11] <zippy> mmmnm
1797: [22:41:13] <zippy> nm
1798: [22:43:21] <mirrors> hey everyone...can anyone point me in the direction where the save and save & publish buttons change colour if there is a difference between the stage and live versions
1799: [22:44:03] <markcl> semi cheat?
1800: [22:44:08] <Stomach> markcl - http://sspaste.com/paste/show/5435b91c1f7ed
1801: [22:44:12] <adrexia> markcl you could forget about caching and use js resizing
1802: [22:44:24] <Stomach> thats old code from a 2.4 project, might be of some use
1803: [22:44:48] <markcl> the client wants it to be resized so that the file size becomes smaller on thumbnails
1804: [22:44:57] <adrexia> Stomach, that looks like a good answer
1805: [22:45:32] <Stomach> its pretty naive though, will create a new image every time
1806: [22:45:37] <adrexia> yeah
1807: [22:45:51] <Stomach> and doesn't destroy the old objects etc, but its a start :)
1808: [22:46:39] <Stomach> man that is old code :S july 2010
1809: [22:46:40] <adrexia> if there is a way of telling if the image is the same you'd probably do that before doing any calls to the api
1810: [22:46:58] <adrexia> and store some sort of reference against the file
1811: [22:47:50] <Stomach> you still have to download the file to check it every time though, :\
1812: [22:49:08] <zippy> Stomach: I think there is a method on a file to find by path name - so you could just pull in the same object each time
1813: [22:49:24] <zippy> doesn't deal with clearing out resized images though...
1814: [22:49:34] <Stomach> yeah you'd need to flush it wouldn't you
1815: [22:49:49] <zippy> If you have an image, and the original changes do the resized images automatically get cleared? if that happened you'd be sweet
1816: [22:50:21] <Colin[pi]> "Could you help me to set our new website as my default browser." <-- Umm...
1817: [22:50:39] <zippy> be worth seeing how the cms does it. If you edit an image and replace it with one of the same name what happens on the front end to any resized images
1818: [22:51:13] * muskie9 is now known as _muskie9_
1819: [22:51:34] <markcl> Colin[pi]: TideSDK? http://www.tidesdk.org/
1820: [22:51:56] <Colin[pi]> heh
1821: [22:54:03] <zippy> markcl: Once the image was created the first time (manually perhaps) in your code you could then find it again with the Image::find(my file name) method. update the file on disk ($image->getFullPath() and then call $image->Flush() maybe)....
1822: [22:54:08] <adrexia> zippy they have different ids usually
1823: [22:54:31] <zippy> adrexia: use the find method.... which searches by file name... so - my-awesome-dynamic-picture.png
1824: [22:54:48] <adrexia> yeah, I'm assuming there would be some sort of ID
1825: [22:54:56] <adrexia> but if not you could use file name
1826: [22:55:16] <adrexia> but ummm... file names don't have the same 'uniqueness'
1827: [22:55:39] <markcl> Ok, IDoes Image::find('') work even when you just copy paste the file to the assets directory?
1828: [22:56:11] <zippy> markcl: no because the find will search the DB, you will need to go into the CMS (1 time) and create the file, so just upload it in the CMS first
1829: [22:56:28] <zippy> and give it a good unique name descriptive name :)
1830: [22:56:39] <zippy> zippy-is-super-fly.png will do it
1831: [22:57:06] <zippy> or
1832: [22:57:08] <zippy> um
1833: [22:57:12] <zippy> hm
1834: [22:57:16] <zippy> you know what you could do
1835: [22:57:24] <zippy> you want to use this in your template right?
1836: [22:58:23] <zippy> Another solution which is a bit more 'stable' - would be to have this dynamic image on like your SiteConfig (or on the page). So setup a image as usual, has_one on the page and upload the image there. Then in your code, you could check, and update the image.... (make sense)?
1837: [23:01:08] <adrexia> you wouldn't need to save it as a relation though, right?
1838: [23:01:19] <adrexia> just make sure you create it as an object
1839: [23:01:28] <adrexia> extend File or soemthing
1840: [23:01:45] <zippy> I would have it on the page (or global then siteconfig)
1841: [23:01:45] <adrexia> then have a method that queries the api as to whether the file has changed
1842: [23:02:10] <adrexia> actually, probably a dataobject that has a file relation would be best
1843: [23:02:21] <adrexia> then create the file and save it against the relation
1844: [23:02:35] <adrexia> method checks if file has chnaged, and updates the has one
1845: [23:02:53] <adrexia> it doesn't need to go anywhere near the cms interface
1846: [23:03:41] <zippy> adrexia: if the file has changed, just overwrite the file of your $image->getFullPath() then do $image->flush()
1847: [23:03:52] <adrexia> the file would appear in the asset admin by default, and that's probably enough
1848: [23:04:06] <zippy> so you could also then do $image->write() to update the updated time as well, for awesomeness
1849: [23:04:25] <adrexia> zippy silverstripe doesn't do that, it just puts a suffix on the name
1850: [23:04:29] <markcl> Ok, one question
1851: [23:04:34] <markcl> How do I check if Image is empty?
1852: [23:04:39] <zippy> adrexia: do what?
1853: [23:04:45] <zippy> markcl: where, in the template or controller?
1854: [23:04:47] <markcl> Image DataObject
1855: [23:04:50] <markcl> does not point to anything?
1856: [23:04:54] <markcl> controller
1857: [23:05:00] <markcl> My first idea was if URL
1858: [23:05:04] <markcl> redirects to 'assets'
1859: [23:05:11] <zippy> check if($this->myImageID)
1860: [23:05:17] <adrexia> size of ?
1861: [23:05:44] <zippy> where myImage is name of the relation like 'myImage' => 'Image'
1862: [23:06:01] <adrexia> zippy - that's checking if the object exists in the database
1863: [23:06:15] <zippy> adrexia: right, and it should only exist if it has a file
1864: [23:06:27] <zippy> unless you writing it there without a file manually
1865: [23:07:04] <adrexia> yeah, depends on context of the question
1866: [23:07:19] <adrexia> you can technically have a file rel;ation taht has no file
1867: [23:07:36] <zippy> yes
1868: [23:07:39] <adrexia> though usually by then something has gone wrong
1869: [23:07:46] <zippy> yes
1870: [23:19:10] <mirrors> ok does anyone know how I can trigger the sitetree to reload when I come back from a gridfield detail form
1871: [23:20:17] * stojg quit (Quit: Textual IRC Client: www.textualapp.com)
1872: [23:22:52] <mirrors> also can anyone tell me the difference between SiteTree::getIsModifiedOnStage and Versioned::sitesDiffer
1873: [23:24:19] * myke has joined #silverstripe
1874: [23:24:57] <mirrors> sorry stagesDiffer*
1875: [23:25:34] <mirrors> i really want to change the stagesDiffer method to check for related objects on my Page so all the CMS buttons work correctly
1876: [23:26:42] <mirrors> I have made my changes to do this in SiteTree::getIsModifiedOnStage however this only fixes the SiteTree to showing [Modified] when a related object has been changed when nothing on the page itself has been changed
1877: [23:27:12] <mirrors> I also want to fix the CMSMain actions
1878: [23:41:11] * gelignite quit (Quit: http://bit.ly/nkczDT)
1879: [23:42:12] * caamic30 quit (Quit: caamic30)
1880: [23:47:49] <markcl> this doesnt seem to work:
1881: [23:47:50] <markcl> $this->Image = $this->downloadImage($this->ImageUrl, 'RunwayPackageImage'.$this->ID.'.jpg');
1882: [23:48:28] <markcl> $this->Image() still refers to a completely different thing
1883: [23:49:07] <Colin[pi]> dat feel when code works on the first try ^_^
1884: [23:57:41] * caamic30 has joined #silverstripe
1885: [23:59:04] <Colin[pi]> wow Mandrill is awesome, going to help me a lot on this project

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