#silverstripe IRC Log

IRC log for 29 April 2014

All timestamps are in UTC.

1: [00:00:28] <Colin[pi]> simon__w: but that's ok, FTTP NBN is coming soon! OH WAIT
2: [00:02:44] * simon_w quit (Ping timeout: 265 seconds)
3: [00:03:37] <ss23> hey, it's not illegal to be high
4: [00:05:58] <simon__w> ss23, it kinda is
5: [00:06:11] * simon__w is now known as simon_w
6: [00:08:57] <Giganaire> in most countries posession and supply are illegal but not the actual being high
7: [00:09:14] <Giganaire> since that's somewhat difficult to prove
8: [00:10:16] <zippy__> tv doesn't do Tim Shadbolt justice, he looks even more baked in real life...
9: [00:11:59] * HyperMullet quit (Ping timeout: 252 seconds)
10: [00:12:59] * HyperMullet has joined #silverstripe
11: [00:13:16] <Stomach> he cant smoke while on TV
12: [00:16:18] * violetina quit (Ping timeout: 252 seconds)
13: [00:16:29] <antmas> it's not illegal to be high
14: [00:25:18] * sunzofman1 quit (Ping timeout: 240 seconds)
15: [00:26:14] * UncleCheese_ quit (Quit: UncleCheese_)
16: [00:27:25] <antmas> am I right in thinking that fibre to the 'door' isn't happening in NZ?
17: [00:27:36] <antmas> and that it is to the 'node' instead now?
18: [00:30:08] <simon_w> antmas, NZ has FTTN, it getting FTTP
19: [00:30:13] * oddnoc quit (Quit: bye!)
20: [00:30:26] <antmas> what's the P there?
21: [00:30:31] <simon_w> Premises
22: [00:30:34] <antmas> ah
23: [00:30:55] <antmas> I checked up on my place's ETA and apparently 'some time in 2016'
24: [00:30:58] <antmas> yey
25: [00:31:11] <simon_w> I may be able to get ADSL2 by then!
26: [00:31:21] <ss23> lol simon_w, that's thikning rich of AU
27: [00:40:41] <spronk> fttp isnt all that awesome really
28: [00:40:58] <spronk> HFC is pretty much good enough, with a decent network
29: [00:42:34] <simon_w> http://www.speedtest.net/result/3468550025.png
30: [00:42:51] <simon_w> And thanks to some conservative fucktard, that's what I'm stuck on
31: [00:42:54] <Stomach> welcome to 1997? :D
32: [00:43:09] <ss23> WOAH
33: [00:43:11] <ss23> Check out that nice ping!
34: [00:43:12] <ss23> :P
35: [00:43:14] <Stomach> "[User Error] Inverse component of Product.Brands not found (BrandCategory)"
36: [00:43:37] <ss23> simon_w: just upgrade your router :)
37: [00:43:38] <Stomach> how can I make this stop happening, BrandCategory is a subclass of ProductCategory and isn't referenced in the relationship :S
38: [00:46:37] <spronk> wow
39: [00:46:43] <spronk> i got better speeds than that on JetStream
40: [00:46:47] <spronk> in the NINETIES
41: [00:49:53] * UncleCheese_ has joined #silverstripe
42: [00:51:11] <Giganaire> my 3G is faster than that
43: [00:53:00] <simon_w> So's mine
44: [00:53:05] <Giganaire> i have http://www.speedtest.net/my-result/3468562822
45: [00:53:12] <Giganaire> and i live here https://en.wikipedia.org/wiki/Enderley
46: [00:57:58] <simon_w> http://www.speedtest.net/my-result/i/834797580 is my 3G
47: [00:58:28] <Giganaire> lol
48: [00:58:33] <ss23> Be glad you're there now, simon_w. When I was in AU there was a massive class action lawsuit against Vodafone cause their cell network sucked so bad. I couldn't connect for more than ~1 hour without being thrown off my 3G
49: [00:58:52] <simon_w> ss23, yeah, don't go with Vodafone here :p
50: [00:59:08] <simon_w> You can ask Colin[pi] about how it all still sucks!
51: [00:59:39] <Colin[pi]> VODAFAIL
52: [00:59:41] <Giganaire> like how you should never go with VF is you live in Auckland
53: [00:59:59] <simon_w> Yeah, except this is all of Australia
54: [01:01:03] <Giganaire> lol
55: [01:01:22] <Giganaire> my old coworker lived a few houses down from Eden Park
56: [01:01:30] <Giganaire> and was unable to get vodafone signal at his house
57: [01:02:09] <Giganaire> apparently VF had rotated all the towers to cover Eden Park during the RWC and never put them back
58: [01:02:20] <ss23> Maybe he shouldn't have lived in such a shitty plcae.
59: [01:02:26] <ss23> I blame him!
60: [01:02:29] <Giganaire> lol
61: [01:04:03] <Giganaire> every time i hear about AU/US/CA telcos
62: [01:04:10] <Giganaire> i want to hug the ComCom
63: [01:04:14] <ss23> lol
64: [01:04:15] <ss23> <3 comcom
65: [01:04:25] <ss23> And such a cute name!
66: [01:04:27] <ss23> So lovable <3
67: [01:04:31] <Giganaire> ikr
68: [01:04:53] <Giganaire> i love that they actually rolled with the nickname
69: [01:05:11] <Anytech> http://www.speedtest.net/my-result/3463121862
70: [01:05:52] <Giganaire> Anytech: looks like your down isn't quite up to scratch!
71: [01:06:02] <Anytech> I was downloading at the time
72: [01:06:04] <simon_w> If I remember, I'll do a 4G test next time I'm in Civic
73: [01:06:04] <Anytech> lol
74: [01:06:06] <Giganaire> ah
75: [01:06:32] <Giganaire> simon_w: did a 4G test in auckland CBD, got 120 Mbps
76: [01:06:35] <Giganaire> blew my mind
77: [01:06:47] * jenniferaslan quit (Quit: jenniferaslan has left the room)
78: [01:07:43] <ss23> We get 50/50 here
79: [01:07:45] <ss23> :(
80: [01:07:47] <ss23> WANT 100/100!
81: [01:08:27] <ss23> http://www.speedtest.net/my-result/3468582465
82: [01:08:40] <ss23> still, consistent and solid 50/50 is nicer than flakey 100/100
83: [01:08:40] <Giganaire> i'm ok with 100/50
84: [01:08:57] <antmas> we're 100/100 but a tad flakey
85: [01:09:42] <Giganaire> hmm, i'm guessing the Delta that's on at the moment is in a double-cab ute
86: [01:10:25] <Giganaire> either that or he put his arrested mongrel mob guy in the back with the dog
87: [01:10:30] <Giganaire> would be suitable, name etc.
88: [01:12:25] * sunzofman1 has joined #silverstripe
89: [01:15:48] <Giganaire> hahaha this is so creepy: http://librarianproblems.com/post/79472039665/realizing-i-have-all-the-contact-information-of-the-hot
90: [01:19:26] <zippy__> hmm only getting 8.6 down and 8.2 up on my ufb 30/30 connection
91: [01:19:28] <zippy__> poo
92: [01:19:48] <zippy__> 30/10 even
93: [01:20:18] <Giganaire> hmm
94: [01:20:22] <Giganaire> what isp, zippy__?
95: [01:20:27] <zippy__> snap
96: [01:20:46] <zippy__> consistantly at 8.6 download from 3 nz servers, weird
97: [01:20:51] <zippy__> almost feels like.. rate limiting
98: [01:20:54] <zippy__> oh
99: [01:21:00] <zippy__> nope..
100: [01:21:03] <zippy__> not sure what it is
101: [01:21:14] <simon_w> Too much p0rns
102: [01:21:19] <zippy__> must be
103: [01:21:23] <antmas> zippy__: wow, that's worse than my ADLS2
104: [01:21:33] <spronk> http://www.speedtest.net/my-result/3468598473 :(
105: [01:21:56] <antmas> I think my home was 15/3 last time I chekced
106: [01:21:59] <antmas> checked*
107: [01:22:00] <Giganaire> zippy__: talk to helpdesk
108: [01:22:01] <simon_w> Yay, interview type thing with a recruitment company on Thursday
109: [01:22:20] <Colin[pi]> simon_w: awesome dude!
110: [01:22:25] <antmas> ugh, recruitment companies
111: [01:22:29] <Giganaire> haven't heard it with 30/10 but i know with 50/20 there's been a few times where it's somehow accidentally been set up as 20/20
112: [01:22:36] <simon_w> Colin[pi], is for the two jobs I've got shortlisted on Seek to apply for too!
113: [01:22:36] <Colin[pi]> simon_w: do you know HMTL?
114: [01:22:53] <zippy__> actually, it might be because I am connected via usb2 as I am out in the office (no wifi here, just usb ethernet adapther)
115: [01:22:57] <simon_w> Colin[pi], that's what FrontPage makes, isn't it?
116: [01:23:08] <antmas> simon_w: Colin[pi] do you know the JavaScripts?
117: [01:23:23] <antmas> wait
118: [01:23:24] <Colin[pi]> antmas: yeah they use the JVM
119: [01:23:24] <antmas> no
120: [01:23:31] <antmas> Java Scripts
121: [01:23:31] <Giganaire> zippy__: usb ethernet adapter should be able to do ~300Mbps
122: [01:23:39] <Giganaire> for usb2
123: [01:23:53] <zippy__> I shall check the other computer later
124: [01:23:59] <Giganaire> yep
125: [01:24:16] <Giganaire> if you can't get more than 10mbps down flick snap a tweet, it's by far the easiest way to contact them
126: [01:25:48] * an_Eskimo quit (Ping timeout: 240 seconds)
127: [01:37:44] <zippy__> when you do this in a method, $this->httpError(404); is it possible to format the 404 page?
128: [01:40:16] <antmas> aw nuts
129: [01:40:28] <antmas> one of the only young people here is leaving
130: [01:40:31] <zippy__> should the db and has_many etc be moved to yaml, since it's just configuration ...
131: [01:40:45] <zippy__> antmas: room full of silvertops?
132: [01:40:55] <antmas> oh yeah
133: [01:41:17] <antmas> or 40 y/os with terrible jokes
134: [01:41:38] <Ryan-Toast> init() runs before a page is rendered, right?
135: [01:42:14] <Giganaire> https://twitter.com/ow/status/460955976502235136/photo/1
136: [01:42:21] <sunzofman1> zippy__: heh silvertops = cupertino product ;-)
137: [01:43:08] <antmas> lots of fitness freaks here too
138: [01:44:18] <jordanmk> hey guys
139: [01:45:09] <jordanmk> i have a site which uses Translatable, and a form on one of the pages of the site, with the data from each form submission becoming a DataObject
140: [01:45:57] <jordanmk> i've just realised that in the CMS, where i have a gridfield which shows all the submissions, it only shows the submissions for any particular language
141: [01:46:20] <jordanmk> that is, the submissions from the English version of the site are separate from the submissions from the French version
142: [01:47:08] <jordanmk> what would be the best way to have all the submissions show up in a single place, rather than separated across each of the different translations?
143: [01:48:06] <jordanmk> i'm thinking maybe a LeftAndMain for the submissions? would that work?
144: [01:53:31] <antmas> yey
145: [01:53:34] <antmas> a meeting
146: [01:53:40] <antmas> \o/
147: [01:55:52] <Colin[pi]> antmas: w00 yeah!
148: [01:56:29] <Ryan-Toast> We have come full circle: http://baiqiang.github.io/2048-3d/
149: [01:58:27] <antmas> 1254
150: [01:58:32] <antmas> neat game
151: [01:58:52] <Colin[pi]> oh god it's in 3d now?
152: [01:58:54] <ss23> lol Ryan-Toast
153: [01:59:02] <zippy__> 576
154: [01:59:29] <ss23> mm, server with 11 load...
155: [01:59:35] <ss23> Really need better servers here
156: [01:59:57] <zippy__> silverstripe.org server?
157: [02:01:15] <zippy__> 1236
158: [02:01:30] <zippy__> U just mangle the keyboard
159: [02:01:34] <zippy__> I*
160: [02:10:06] <Colin[pi]> ss23: dafuq is causing 11 load?
161: [02:12:39] <simon_w> Dogecoin mining
162: [02:12:57] <ss23> lol
163: [02:13:01] <ss23> it's an overloaded vm server
164: [02:13:02] <ss23> :P
165: [02:14:23] <Colin[pi]> simon_w: lol
166: [02:15:50] * an_Eskimo has joined #silverstripe
167: [02:16:30] <zippy__> ss23: silverstripe dawn not running on it?
168: [02:17:07] <antmas> awww yisss
169: [02:17:16] <antmas> cut that meeting time in half like a baws
170: [02:28:52] * nickmolhoek has joined #silverstripe
171: [02:32:58] <Colin[pi]> antmas: nice
172: [02:39:43] <antmas> wholey crap ART is so much faster than Dalvik
173: [02:40:28] <Colin[pi]> what in the what now?
174: [02:40:51] <simon_w> zippy__, dawn is dead :p
175: [02:40:52] <antmas> Colin[pi]: android runtime
176: [02:41:11] <Colin[pi]> antmas: oh android stuff, mm been a long time since I've touched android
177: [02:41:22] <unsigned_> bout time someone created an alternative to Dalvik, its slow as shit
178: [02:41:28] <antmas> Colin[pi]: yeah I just updated to 4.4.2
179: [02:41:38] <antmas> switched to ART and it's so much better
180: [02:41:41] * unsigned_ is now known as unsignedint
181: [02:41:43] <Colin[pi]> I'm so out of touch with it
182: [02:41:54] <Colin[pi]> have an old tablet on... 4.1 I think?
183: [02:42:05] <antmas> yeah my phone was just on 4.1.2
184: [02:42:21] <antmas> fucken telcos are too slow to send out updates
185: [02:42:46] <Colin[pi]> I waited for the longest time to upgrade my galaxy tab from 3 > 4
186: [02:43:15] <Colin[pi]> it's my son's games tablet now, it's too slow for me!
187: [02:43:23] <antmas> aw yeah
188: [02:43:32] <antmas> Colin[pi]: yeah we have a Tab 2 at my desk
189: [02:43:35] <antmas> slow as hell
190: [02:43:57] <Colin[pi]> it's what convinced me to get the ipad actually :)
191: [02:44:01] <Giganaire> antmas: yeah ART is great
192: [02:44:02] <unsignedint> my transformer prime is starting to feel slow now, and it was the shit when I got it
193: [02:44:18] <unsignedint> compared to my galaxy s4 anyway
194: [02:44:20] <antmas> my Galaxy S3 is still holding up
195: [02:44:33] <Colin[pi]> whose got two thumbs and bought an ipad 2 weeks before the new one? THIS GUY
196: [02:44:40] <Colin[pi]> so dumb
197: [02:44:43] <ss23> 14:16:31 < zippy__> ss23: silverstripe dawn not running on it?
198: [02:44:43] <antmas> Colin[pi]: lol
199: [02:44:44] <ss23> haha
200: [02:44:45] <ss23> :P
201: [02:44:46] <antmas> gutted
202: [02:44:54] <unsignedint> dumb for buying an ipad anyway :P
203: [02:45:01] <Colin[pi]> still at least it's retina
204: [02:45:07] <Giganaire> "male, possibly maori, with oriental looking eyes"
205: [02:45:10] <Giganaire> bahaha
206: [02:45:10] <unsignedint> yeah and you can use it as a cricket bat
207: [02:45:14] <antmas> I got given an ipad from work, it's not bad
208: [02:45:16] <Colin[pi]> unsignedint: not an Apple zealot by any means but I do like it ;P
209: [02:45:24] <Giganaire> yeah
210: [02:45:27] <Giganaire> <3 ipad
211: [02:45:28] <antmas> Giganaire: ...irogue?
212: [02:45:30] <Colin[pi]> I like that I don't need to dick around with things
213: [02:45:37] <Giganaire> antmas: but of course
214: [02:45:42] <Colin[pi]> in android I felt like I was on a PC, always dicking around with settings
215: [02:45:46] <antmas> Giganaire: CHANGE YOUR NICK PLS
216: [02:46:00] <simon_w> antmas, but he's gigarich!
217: [02:46:04] <Giganaire> i have a Nexus 5, an iPad mini and a Win8 PC
218: [02:46:06] <unsignedint> i'm having to build an ipad app at work and oh my god its 10 steps backward from Android
219: [02:46:13] <antmas> staahhhp the giganaire :(
220: [02:46:26] <antmas> unsignedint: yeah under the covers it is
221: [02:46:34] <Giganaire> i just go with whatever the best option is for each use
222: [02:46:39] <Giganaire> unsignedint: at least you don't have to Java tho
223: [02:46:45] <Colin[pi]> wait Giganaire is irogue?
224: [02:47:01] * Giganaire writing an Android app at the moment
225: [02:47:01] <unsignedint> Giganaire: well for all its slowness and verbosity, its still nicer to program in than Objective-C!
226: [02:47:04] <antmas> Colin[pi]: can't you tell with all the police updates?
227: [02:47:07] <antmas> :P
228: [02:47:08] <Giganaire> my 8GB RAM isn't enough
229: [02:47:12] <unsignedint> hahaha
230: [02:47:15] * Colin[pi] is so confused
231: [02:47:17] <unsignedint> good ol' java
232: [02:47:22] <antmas> Android is easy to dev for IMO
233: [02:47:34] <simon_w> Oh man
234: [02:47:35] <antmas> but yeh, dose resources
235: [02:47:35] <Giganaire> not really
236: [02:47:41] <unsignedint> yeah it has good docs and the concepts are pretty easy to grasp
237: [02:47:41] <Giganaire> android APIs are a mess
238: [02:47:54] <ss23> Giganaire: Please, they prefer the term "java-esque"
239: [02:47:54] <simon_w> Memory management on Android is so much worse, as is the GUI stuff
240: [02:48:03] * sunzofman1 quit (Ping timeout: 276 seconds)
241: [02:48:24] <Giganaire> you damn near have to write the app twice, once for Android 2 and once for Android 4
242: [02:48:25] <antmas> I like the GUI stuff
243: [02:48:30] <Colin[pi]> simon_w: the number of times I've had to use a task killer >_<
244: [02:48:32] <unsignedint> simon_w: explain how androids memory management is worse than ios's
245: [02:48:33] <antmas> fuck android 2
246: [02:48:36] <Giganaire> no compatibility between them at all
247: [02:48:53] <ss23> Giganaire: BE GLAD YOU'RE NOT WRITING IT FOR ANDROID 3 TOO, BITCH
248: [02:48:58] <ss23> COUNT YOUR BLESSINGS
249: [02:49:02] <Giganaire> Colin[pi]: yeah, it was pretty much compulsory until 4.4
250: [02:49:07] <Colin[pi]> such a fragmented ecosystem
251: [02:49:08] <simon_w> unsignedint, since a garbage collected language, if you want your app to be performant you have to do your best to make the GC do as little as possible
252: [02:49:19] <Giganaire> yeah, the fragmentation of android is just unbelievable
253: [02:49:22] <simon_w> You have to think about where in memory something is
254: [02:49:26] <antmas> agreed^^
255: [02:49:36] <simon_w> iOS, it's all ARC. You just have to watch out for retain cycles
256: [02:49:41] <ss23> Windows Phone is best platform to dev on, and most secure
257: [02:49:51] <zippy__> and least amount of users
258: [02:49:53] <Colin[pi]> people complain about the walled garden in iOS but in terms of the platform I think it's a good thing
259: [02:50:07] <unsignedint> well it has its pros and cons
260: [02:50:08] <simon_w> Colin[pi], also, it's insanely easy to side load
261: [02:50:08] <antmas> I dunno, I just remember developing the same app for iOS and Android, it was much easier and pleasant on Android
262: [02:50:17] <Giganaire> i can't remember which it was but one of the Galaxy phones the nzherald mobile website crashes the phone
263: [02:50:19] <unsignedint> antmas: I have had that experience too
264: [02:50:20] <antmas> but yeah, ss23 Windows Phone 8 is amazing to dev on
265: [02:50:35] <Giganaire> not even an app
266: [02:50:37] <Giganaire> a website
267: [02:50:37] <Colin[pi]> the windows dev stuff is pretty sweet
268: [02:50:42] <Giganaire> in the same browser as on another phone
269: [02:50:46] <Giganaire> WAT
270: [02:50:58] <unsignedint> yeah I like windows phone too, its VERY snappy on much less hardware than android
271: [02:51:01] <Giganaire> yeah
272: [02:51:03] <ss23> lol
273: [02:51:06] <Giganaire> WP8 really is good
274: [02:51:12] <Giganaire> just... has no apps
275: [02:51:20] <ss23> The guys here found some crazy bugs, like if you tap a dropdown 3 times on a certain device in android browser, it crashes
276: [02:51:23] <Colin[pi]> and the ones it does have are shit
277: [02:51:25] <simon_w> Being snappier than Android isn't hard :p
278: [02:51:27] <antmas> and most of the thirdparty apps are aweful
279: [02:51:31] <Colin[pi]> ^
280: [02:51:59] <unsignedint> aweful - full of awe?
281: [02:52:00] <Giganaire> WP8 is ideal for those $100 phones that are sold running android 2.3 and barely run that
282: [02:52:12] <Colin[pi]> simon_w: the thing I noticed about android vs ios was this, EVERY SINGLE android device I've used "stutters" when using the GUI
283: [02:52:12] <antmas> snappiness: WP8>Android>iOS
284: [02:52:15] <ss23> So we have Android, which sucks in all ways. iOS, which has a claim to fame of "Better than Android, and I have apps", and WP which is the best device/platform, but the worst possible consumer choice since no one uses it
285: [02:52:17] <Colin[pi]> simon_w: iOS is smooth as
286: [02:52:18] <Giganaire> but they were charging something like $20 license fee
287: [02:52:38] <simon_w> Colin[pi], and iOS only has 2 cores and 1 GB of RAM
288: [02:52:40] <Giganaire> so it wasn't a viable option for its ideal use
289: [02:52:42] <moistspaz> do i need to extend the image class if i want a function that only resizes images that are beyond a certian width?
290: [02:52:45] <antmas> Ubuntu Phone!
291: [02:52:53] <Colin[pi]> antmas: android more snappy than ios? :o
292: [02:53:07] <zippy__> android more consistant UI than ios?
293: [02:53:10] <antmas> Colin[pi]: hardware for hardware definitely
294: [02:53:16] <Colin[pi]> mmm I dunno man
295: [02:53:19] <simon_w> moistspaz, if by extend you mean add a DataExtension to it, yes
296: [02:53:22] <Giganaire> antmas: hell no
297: [02:53:25] <simon_w> antmas, ahahahahahaa
298: [02:53:26] <unsignedint> moistspaz: probably if you want it directly as part of the Image class. otherwise you can write an accessor method on your controller with the logic
299: [02:53:27] <Giganaire> price for price, yes
300: [02:53:30] <antmas> tried running iOS 7 on a 4s?
301: [02:53:32] <moistspaz> http://doc.silverstripe.org/framework/en/reference/image was just looking at this
302: [02:53:39] <moistspaz> yeah good idea unsignedint
303: [02:53:44] <Colin[pi]> HOW CAN I KEEP UP WITH ALL THESE MESSAGES
304: [02:53:47] <simon_w> antmas, tried running Android on a single core device?
305: [02:53:48] <antmas> lol
306: [02:53:55] <unsignedint> Colin[pi]: stop using your iPad to IRC :P
307: [02:53:57] <antmas> simon_w: what is single core?
308: [02:53:58] <spronk> tried running android anything new on anything old? LOLS
309: [02:54:02] * sunzofman1 has joined #silverstripe
310: [02:54:08] <Colin[pi]> unsignedint: but but it's Win8!
311: [02:54:21] <Giganaire> this is my third android device, and the only one that's been any good
312: [02:54:23] * spronk still rocks the iphone 4
313: [02:54:25] <unsignedint> spronk: yep I tried running 4.4 on my galaxyS. its battery lasted 30 mins and it ran REALLY hot
314: [02:54:32] <Giganaire> the previous two were SLOW AS SHIT and crashed constantly
315: [02:54:33] <Colin[pi]> spronk: yeah my galaxy tab is SOOO frickin slow
316: [02:54:58] <antmas> I put 4.4 on a Galaxy Duos
317: [02:55:03] <antmas> was really good
318: [02:55:18] <Colin[pi]> tell me I'm crazy with the android stutter... even the latest phones... I go to the store, swipe the screen, OH STUTTER
319: [02:55:22] <spronk> yeah, and probably had a few rough edges because unofficial
320: [02:55:25] <Giganaire> Colin[pi]: not just you
321: [02:55:26] <spronk> Colin[pi]: its not just you
322: [02:55:31] <Giganaire> google even acknowledged it
323: [02:55:33] <spronk> its stuttery as fuck
324: [02:55:35] <antmas> Colin[pi]: yeah I get it sometimes
325: [02:55:35] <Giganaire> and explained it in a blog post
326: [02:55:35] <zippy__> hmm after dev build and flush and dev build, why would the fields in my $db not be added to the object I have extended in the config.yml
327: [02:55:37] <spronk> part of the problem is chrome
328: [02:55:43] <Colin[pi]> thanks I feel justified now! :D
329: [02:55:47] <unsignedint> yeah its well known that sue to Android not making everying an OpenGL surface, it stutters
330: [02:55:51] <unsignedint> due*
331: [02:55:53] <Colin[pi]> i thought i was imagining it
332: [02:56:15] <Colin[pi]> unsignedint: the prob lies in OpenGL?
333: [02:56:21] <antmas> 4.3 had an issue where MSAA x 4 was forced on all OpenGL apps lol
334: [02:56:23] <unsignedint> its like Windows GDI versus something rendered in 3D
335: [02:56:25] <Giganaire> http://www.abstractpath.com/2012/why-do-android-animations-stutter-when-ios-animations-are-so-smooth/
336: [02:56:27] <Colin[pi]> antmas: really? lol
337: [02:56:31] <Giganaire> ^ that explains it
338: [02:56:36] <unsignedint> Colin[pi]: no the problem lies in it not using OpenGL (and therefore hardware acceleration)
339: [02:56:40] <antmas> Colin[pi]: yeah dude
340: [02:56:45] <Giganaire> tl;dr: Android does animations on main thread, iOS does in background thread
341: [02:56:50] <spronk> all those samsung court cases saying android was "a platform" and it would be easy to add "touch screen support" are so lols.
342: [02:56:58] <spronk> UI has to be designed around realtime interaction to be any good at touch
343: [02:57:06] <Colin[pi]> Giganaire: woah ok that's kinda different
344: [02:57:49] <spronk> + most android devices (except highest end) use shitty gpu
345: [02:58:20] <Colin[pi]> well this is what's nice about Apple controlling hardware + software... in theory, the Nexus phones should be the best right?
346: [02:58:38] <Giganaire> they are.
347: [02:58:47] <antmas> Nexus' are amazing
348: [02:58:59] <Giganaire> my $600 Nexus 5 kicks a $1000 Galaxy's arse
349: [02:59:00] * travis-ci has joined #silverstripe
350: [02:59:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#855 (3.1 - fcb6a91 : Mateusz U): The build passed.
351: [02:59:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/341eeb7c31c6...fcb6a9140ca7
352: [02:59:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/23984623
353: [02:59:00] * travis-ci has left #silverstripe
354: [02:59:03] <antmas> and cheap too
355: [02:59:40] <antmas> whats the 'best' new Nexus phone?
356: [02:59:52] <Giganaire> antmas: Nexus 5 is the latest
357: [03:00:05] <antmas> Giganaire: anything new rumoured?
358: [03:00:55] <spronk> i heard they were going to stop with the nexii
359: [03:01:05] <Giganaire> antmas: probably be another in 6 months or so
360: [03:01:25] <antmas> I might go Nexus next if spronk 's statement is untrue
361: [03:01:55] <antmas> especially since Samsung is going Tizen :/
362: [03:02:01] <unsignedint> I just sent my S4 in to get its screen repaired so I will be using it for a while, but my next phone will probably be a nexus
363: [03:02:10] <spronk> http://www.tomshardware.com/news/nexus-line-finished,25868.html
364: [03:02:16] <unsignedint> NOOOOOOOO!
365: [03:02:49] <antmas> dummbbbb
366: [03:03:04] <Giganaire> appears to be nothing but rumour
367: [03:03:09] <antmas> although Google editions are pretty good
368: [03:03:18] <Giganaire> thats a blog reporting on a tweet by a blogger
369: [03:03:25] <antmas> Galaxy S4 Google Edition is by far the best phone I've used
370: [03:03:42] <spronk> it was the first link i could find, but rumor came from more places than just twitter
371: [03:04:03] <antmas> Giganaire: TBH it doesn't make much sense considering GE phones don't sell, but Nexii do like hot cakes
372: [03:04:13] <unsignedint> antmas: I wish mine was Google Edition, it's been all gayed up by Samsung
373: [03:04:30] <Colin[pi]> Samsung Fabbbbulous Edition
374: [03:04:31] <antmas> unsignedint: Cyanogen Mod that Samsung crap away
375: [03:04:51] <antmas> Mine is now a vanilla Google GS3
376: [03:04:52] <unsignedint> antmas: I would have but ive been lazy and CyanogenMod for S4 wasnt available when I purchased it
377: [03:04:53] <spronk> mega ugh at anything involving Cyanogen
378: [03:04:55] <simon_w> Android: The mobile OS you still need to jailbreak!
379: [03:05:00] <unsignedint> spronk: why? I like it
380: [03:05:01] <spronk> exactly.
381: [03:05:01] <Giganaire> yeah, and Google are trying to be more Apple-ish (do the whole product)
382: [03:05:18] <antmas> spronk: Cyanogen are pretty good now
383: [03:05:19] <Giganaire> so i can't see why they'd then discontinue their own product line in favour of someone else's product
384: [03:05:31] <spronk> because their OEMs are starting to hate on them
385: [03:05:48] <antmas> ^^ this, hence Tizen
386: [03:05:49] <Giganaire> mostly just samsung, and that's not gonna stop anytime soon :P
387: [03:05:56] <spronk> except
388: [03:06:00] <spronk> samsung are the only OEM making money from android
389: [03:06:02] <spronk> HTC are almost dead
390: [03:06:07] <spronk> LG are only making money from their nexus contract
391: [03:06:10] <spronk> lolanyoneelse
392: [03:06:42] <antmas> Huawei FTW!
393: [03:06:54] <Giganaire> spronk: exactly why it makes sense for Google to just make them themselves
394: [03:06:54] <antmas> "waaaawaaaay"
395: [03:06:58] <Giganaire> get rid of the fragmentation issue
396: [03:07:16] <spronk> yeah
397: [03:07:21] <spronk> but they're not really a devices company
398: [03:07:31] <Giganaire> they're trying to be tho
399: [03:07:36] <spronk> hmm
400: [03:07:37] <spronk> i dno
401: [03:07:39] <simon_w> The Nexus Q's going to be a huge success!
402: [03:07:49] <spronk> lul
403: [03:07:56] <spronk> google fail pretty hard these days IMO
404: [03:08:05] <spronk> everyone used to criticise microsoft for having terrible software...
405: [03:08:15] <antmas> MS seems to be the only company on the 'rise' right now
406: [03:08:29] <spronk> probably because they spent so many years milking the crap out of utter shit :)
407: [03:08:36] <Colin[pi]> lol MS
408: [03:08:43] <antmas> yeah
409: [03:08:45] <antmas> thanks Obama
410: [03:08:53] <Colin[pi]> MS's worst enemy is MS
411: [03:08:59] <spronk> hmm
412: [03:09:03] <spronk> or perhaps their marketing department
413: [03:09:08] <antmas> naw
414: [03:09:08] <Colin[pi]> they never seem to know when they're on to a good thing, and usually late to the party
415: [03:09:16] <spronk> "WINDOWS PHONE 8.1"
416: [03:09:17] <simon_w> Their new CEO seems to at least understand what's needed
417: [03:09:24] <Colin[pi]> yeah he has some promise
418: [03:09:24] <Giganaire> yeah, new CEO seems to know what's up
419: [03:09:25] <antmas> MS just doesn't understand the other companies it competes with
420: [03:09:26] <spronk> xbox, xbox 360, xbox one
421: [03:09:27] <spronk> zurmg
422: [03:09:34] <Giganaire> as long as he can fight off the VPs below him who won't like change
423: [03:09:36] <Colin[pi]> spronk: shittiest naming ever
424: [03:10:09] <antmas> Nadella = Nutella
425: [03:10:13] <antmas> cannot unsee
426: [03:10:16] <Colin[pi]> there was actually a really good reddit post from one of the MS devs under an anonymous name
427: [03:10:20] <Giganaire> spronk: the Xbox side of the business keeps undermining their attempts at making themselves look less cunty
428: [03:10:22] <Colin[pi]> see if I can find it
429: [03:10:37] <spronk> what's their new name for Nokia?
430: [03:10:41] <spronk> Microsoft Devices and Services or something?
431: [03:11:02] <Giganaire> Microsoft Mobile
432: [03:11:12] <spronk> thought that wasn't a thing
433: [03:11:27] <Giganaire> https://en.wikipedia.org/wiki/Microsoft_Mobile_Oy
434: [03:11:37] <Colin[pi]> this post, good read: http://www.reddit.com/r/technology/comments/1xvbsm/windows_8_sells_100_million_fewer_copies_than/cff4phl
435: [03:11:46] <antmas> lol
436: [03:11:53] <antmas> 'not to be confused with...'
437: [03:11:57] <antmas> 'VERY SIMILAR NAMES'
438: [03:12:05] <antmas> good luck with that
439: [03:12:32] <Giganaire> antmas: two of those things no longer exist tho
440: [03:12:56] <Giganaire> Office for iPad is cool
441: [03:13:24] <antmas> Giganaire: yeah, but don't you need 365?
442: [03:13:37] <Giganaire> antmas: yup, which IMO is fairly smart
443: [03:13:42] <antmas> yeah
444: [03:13:49] <antmas> we got some free licences here
445: [03:13:50] <spronk> they should have just named it Mango and been done with it
446: [03:13:53] <antmas> haven't used it yet though
447: [03:13:58] <Giganaire> software is free, and can read
448: [03:14:01] <Colin[pi]> Giganaire: but iPad has Pages and Numbers... THE BESTEST MOST AWESOME AND AMAZING APPS IN THE ENTIRE UNIVERSE EVER.. EVER (according to Apple)_
449: [03:14:10] <spronk> lol
450: [03:14:14] <antmas> Pages and Numbers
451: [03:14:17] <spronk> pages and numbers, where you can't open your 5 year old documents anymore!
452: [03:14:19] <Giganaire> just need an Office365 sub to save since it only saves to OneDrive
453: [03:14:20] <antmas> killitwithfire
454: [03:14:28] <spronk> or was that keynote
455: [03:14:29] <spronk> i forget.
456: [03:14:43] <Giganaire> Keynote is the only one that should ever have existed
457: [03:14:49] <Giganaire> genuinely nicer than PowerPoint
458: [03:14:52] <Colin[pi]> "Pages is the most beautiful word processor you’ve ever seen on a mobile device." -- uh huh
459: [03:14:55] <antmas> I'm just watiting for Phone 8.1 to hurry up for the remote desktop stuff
460: [03:15:05] <antmas> even the lumia 520 can handle it fine
461: [03:15:11] <Giganaire> the other 2 just felt like a half-arsed attempt at making an office suite around Keynote
462: [03:15:14] <spronk> i like the way they're still called "word processors"
463: [03:15:32] <Colin[pi]> WORDS AND TEXT AND PICTURES TYPING THINGY
464: [03:15:41] <Giganaire> antmas: i cannot stop laughing at the fact there's an official MS RDP client for iPad and Android but not WP8
465: [03:15:57] <Colin[pi]> Giganaire: ahahaha yeah that is pretty absurd
466: [03:16:05] * anselmdk has joined #silverstripe
467: [03:17:31] <Giganaire> "Its 2degrees here. It's been a while since we restricted your services so its important that you pay $69.2 immediately."
468: [03:17:38] * cloph has joined #silverstripe
469: [03:17:47] <Giganaire> uh, my services aren't restricted and my bill is only a day over :P
470: [03:17:53] * cloph_away quit (Ping timeout: 252 seconds)
471: [03:18:00] <ss23> I think ti's more like a threat
472: [03:18:10] <ss23> "Those are some nice legs. I would hate if someone broke them. Pay your bills."
473: [03:18:37] <Colin[pi]> "Would be a shame if someone... took a sledgehammer to them..."
474: [03:19:01] <Giganaire> "There's a 5 year old boy at The Warehouse on Clyde Street, he came in with his older brother who's left him behind. He's with security now, has given his name as... Cassius Clay."
475: [03:19:05] * babak has joined #silverstripe
476: [03:19:21] <zippy__> Giganaire: on the scanner again?
477: [03:19:34] <Giganaire> zippy__: always am!
478: [03:20:29] <Giganaire> guess that kid's parents were big Muhammad Ali fans
479: [03:20:51] <zippy__> In the CMS is there a way to have a custom html field like the LiteralField but already has the div and label and middle column, so you can just set name, title and content for the middle area?
480: [03:21:41] * EasyCo has joined #silverstripe
481: [03:23:34] <zippy__> ReadonlyField gets me close enough
482: [03:25:31] <zippy__> oh yea, thats sexy. It's a shame it escapes the html
483: [03:26:02] <Giganaire> time to do some more gardening i think
484: [03:26:51] <simon_w> zippy__, you can tell it not to
485: [03:27:47] <zippy__> niicee!
486: [03:27:58] <zippy__> simon_w: thanks ->dontEscape = true;
487: [03:28:17] <ss23> https://octodex.github.com/ :D
488: [03:32:24] <Colin[pi]> gold coast trip booked for june, going to be staying here! http://www.buchan.com.au/images/tbg-projects/residental/q1/q1_hero_day_rgb.jpg
489: [03:33:12] <zippy__> sure thats the gold coast?
490: [03:33:17] <zippy__> I see, zero bikinis
491: [03:33:31] <zippy__> ?flush=all - still none
492: [03:33:36] <Colin[pi]> beach is like a 5 min walk
493: [03:33:57] <ss23> Colin[pi]: Looks wet, I'd rather stay inside that nice building
494: [03:34:08] <Colin[pi]> the tall one: http://static.panoramio.com/photos/large/4793231.jpg
495: [03:34:17] <Colin[pi]> ss23: haha
496: [03:34:39] <ss23> Still, that's way too close to the sea for comfort
497: [03:35:06] <simon_w> Colin[pi], don't melt!
498: [03:35:09] <Colin[pi]> yeah I don't really like the whole huge building right on the beach idea either tbh
499: [03:35:46] <Colin[pi]> simon_w: my sister who lives in Brisbane txted me saying she was in shorts and a t-shirt, I told her to fuck off
500: [03:35:55] <simon_w> Colin[pi], so am I!
501: [03:35:59] <antmas> Colin[pi]: looks a bit Dubai-esque
502: [03:36:00] <ss23> Colin[pi]: ...
503: [03:36:02] <ss23> Colin[pi]: How old?
504: [03:36:04] <ss23> Colin[pi]: send pics
505: [03:36:13] <Colin[pi]> ss23: 11 more than me
506: [03:36:14] <ss23> she cute?
507: [03:36:16] <ss23> wow
508: [03:36:18] <Colin[pi]> OLD
509: [03:36:20] <ss23> Probably a bit old for me
510: [03:36:21] <ss23> :(
511: [03:36:23] <antmas> so like, 50?
512: [03:36:26] <antmas> :D
513: [03:36:29] <ss23> hahaha
514: [03:36:34] <Colin[pi]> cock face
515: [03:36:37] <ss23> antmas: You can talk, old man :P
516: [03:36:39] <antmas> lawl
517: [03:36:41] <Colin[pi]> just you wait you prick
518: [03:36:42] <Colin[pi]> ;D
519: [03:36:48] <antmas> I'm a spring chicken!
520: [03:36:49] <zippy__> haha
521: [03:36:57] * Shrike_Finland has joined #silverstripe
522: [03:37:06] <Colin[pi]> what are you now antmas? early 30's?
523: [03:37:13] <antmas> Colin[pi]: o.O
524: [03:37:17] <antmas> 25
525: [03:37:20] <Colin[pi]> wat
526: [03:37:24] <Colin[pi]> how old is your kid?
527: [03:37:29] <ss23> 10
528: [03:37:32] <Colin[pi]> loool
529: [03:38:06] <simon_w> 25? Oooooold!
530: [03:38:11] <ss23> ^^^
531: [03:38:12] <ss23> SO OLD
532: [03:38:44] <Colin[pi]> the worst part is the past 15 years have gone by like that *clicks fingers*
533: [03:38:44] <Colin[pi]> :(
534: [03:39:02] <antmas> ;_______________________;
535: [03:39:07] <antmas> my kid is 20 months
536: [03:39:09] <antmas> :D
537: [03:39:10] <Colin[pi]> ah k
538: [03:39:20] <Colin[pi]> yeah I had mine when i was 28
539: [03:39:24] <Colin[pi]> so not too different
540: [03:39:30] * Tanger has joined #silverstripe
541: [03:39:40] <antmas> no way I was having one after 30
542: [03:39:48] <antmas> I want to be a young dad
543: [03:40:04] <antmas> simon_w: how old are you?
544: [03:40:05] <Tanger> I'd rather be 70 and have one
545: [03:40:09] <simon_w> antmas, 22
546: [03:40:17] <Colin[pi]> YOUNG WHIPPER SNAPPER
547: [03:40:18] <Tanger> That way, as soon as you're done cleaning his diapers, he can clean yours!
548: [03:40:24] <antmas> Tanger: lol
549: [03:40:24] <Colin[pi]> Tanger: haha
550: [03:40:34] <Colin[pi]> I have a brazilian nurse for that
551: [03:41:15] <zippy__> OMG
552: [03:41:19] <antmas> I met some 22y/os the other day
553: [03:41:26] <antmas> made me feel like I was 67
554: [03:41:33] <zippy__> I am going to have two kids within the next 2 weeks!! arrrgghh
555: [03:41:39] <antmas> "wait, you guys go out on a Saturday?"
556: [03:41:44] <Colin[pi]> zippy__: congrats and MY CONDOLENCES
557: [03:42:00] <Colin[pi]> antmas: yeah... I know that feel
558: [03:42:20] <antmas> plus I feel like a Grandad for having to stop drinking
559: [03:43:03] <Colin[pi]> antmas: how's your hair doing?
560: [03:43:19] <antmas> Colin[pi]: my hari?
561: [03:43:24] <antmas> hair*
562: [03:43:27] <Colin[pi]> antmas: when I got to 32 or so it started to thin.. :\ that's when I started feeling older
563: [03:43:56] <antmas> Colin[pi]: Mine is as thick as a walrus is fat
564: [03:44:00] <Colin[pi]> nice
565: [03:44:18] <antmas> although I'm about to shave it off
566: [03:44:21] <Colin[pi]> looks like I'm getting the receding hairline like my father.. lucky because I look like my uncle and he's bald ad
567: [03:44:26] <Colin[pi]> *as
568: [03:44:30] <antmas> lol
569: [03:44:31] <antmas> gutted
570: [03:44:59] <Colin[pi]> stress is bad.. after the divorce I'd wash my hair and it'd come off on my hands ;_;
571: [03:45:05] <Colin[pi]> i'm like... noooooo
572: [03:45:13] <antmas> that sucks
573: [03:45:20] <ss23> hahaha
574: [03:45:21] <ss23> 15:39:34 < ZeroBeholder> NO thumbs we need you here. Ever since I believed 'I can help out the front end guys, they can pretty up my markup & DOM manipulations'. Ever since that day I have considered a 'REGERTS' tattoo.
575: [03:45:23] <Colin[pi]> looks like it's calmed down now!
576: [03:45:25] <ss23> 15:39:59 < ZeroBeholder> There isn't one typo in that.
577: [03:49:29] <antmas> regerts
578: [03:50:02] <zippy__> Oh you silly anz :) every week I do a manual contribution to my kiwi saver (since I don't get now paye) and every week they send me a letter, thanks for the manual contribution :)
579: [03:50:10] <ss23> lol
580: [03:50:12] <ss23> A letter?
581: [03:50:18] <zippy__> yea, just automated
582: [03:50:21] <ss23> XD
583: [03:50:26] <zippy__> but "Thanks for your contribution of xxx"
584: [03:50:34] <ss23> I would be like "Can I get you to put in 5c each time instead of a letter?"
585: [03:51:00] <zippy__> pft after spending an hour on hold, and confusing them, no thanks :)
586: [03:51:42] <Giganaire> pursuit just went past my house
587: [03:52:29] <zippy__> lol and you were in the garden and not on the scanner eh
588: [03:53:27] <Giganaire> nah, back on the scanner :P
589: [03:54:01] <zippy__> I wonder if my friend still has his streaming on the interwebs
590: [03:58:09] <zippy__> I love it when I see spastic code, makes me think my own code isn't too bad...
591: [03:58:42] <antmas> zippy__: I do to, but then I think, wait, this guy is paid more than me?
592: [03:59:02] <zippy__> git blame - ah shit it was me 6 months ago :D
593: [03:59:29] <ss23> lol
594: [03:59:31] <ss23> story of my life
595: [04:02:04] <Giganaire> ss23: http://youtu.be/W-TE_Ys4iwM?t=1m7s
596: [04:02:42] <Giganaire> this dispatcher really can't multitask
597: [04:03:01] <Giganaire> she almost missed the whole pursuit cos she was on the phone and didn't notice the unit calling her repeatedly
598: [04:07:44] <ss23> Giganaire: FUCK
599: [04:07:49] <ss23> I thought that link was the dispatcher or something
600: [04:07:50] <ss23> >.>
601: [04:07:54] <Giganaire> hahaha
602: [04:10:58] <zippy__> a config.yml in my _config folder in my /module should get picked up right?
603: [04:11:05] <zippy__> if I flush and dev build and flush
604: [04:11:16] <zippy__> just can't get it to pick up on this extenions
605: [04:11:34] <zippy__> adding it to the more superior /module/_config.php it works fine
606: [04:20:54] * Shrike_Finland quit (Quit: Leaving.)
607: [04:21:03] * Shrike_Finland has joined #silverstripe
608: [04:21:07] * Shrike_Finland quit (Client Quit)
609: [04:28:54] <moistspaz> hey if i have an Article Page nested under an Article List page can i access any data from the parent container? I specifically want to pull a varchar into the sub page (but they are obv different models)
610: [04:29:26] <simon_w> moistspaz, $this->Parent()->Field?
611: [04:30:18] * travis-ci has joined #silverstripe
612: [04:30:18] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2404 (3.1 - 2c9f99c : Mateusz U): The build passed.
613: [04:30:18] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a46f5f133a8b...2c9f99c1f07b
614: [04:30:18] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/23988136
615: [04:30:18] * travis-ci has left #silverstripe
616: [04:33:30] <moistspaz> cheers
617: [04:54:25] * kerosene is now known as kerozene
618: [04:57:57] <UncleCheese_> what does it mean when kiwis call something "pop up?"
619: [04:58:12] <UncleCheese_> e.g. a popup bar?
620: [04:58:25] <UncleCheese_> or a popup store?
621: [04:58:32] <Giganaire> it's an LA thing that's spread here
622: [04:58:44] <Giganaire> https://en.wikipedia.org/wiki/Pop-up_retail
623: [05:00:40] <UncleCheese_> whoa
624: [05:00:50] <UncleCheese_> that's bizarre!
625: [05:02:36] <Giganaire> it's a good use of empty retail space until a permanent lease can be found
626: [05:02:37] <ss23> How bizzare
627: [05:02:43] <ss23> How bizzare, how bizzare
628: [05:02:50] <ss23> OH BABY~
629: [05:03:02] <Colin[pi]> UR MAKIN ME CRAZY
630: [05:03:04] <ss23> Every time I look around~!
631: [05:03:34] <UncleCheese_> whether you like Lorde or not, you've gotta love that she finally dethroned those guys
632: [05:03:34] <Giganaire> ss23: http://youtu.be/C2cMG33mWVY?t=36s
633: [05:03:46] <UncleCheese_> stole my car?
634: [05:03:50] <ss23> lol
635: [05:03:52] <ss23> Stables Labels?
636: [05:03:57] <ss23> :D
637: [05:05:27] * Anytech quit (Read error: Connection reset by peer)
638: [05:07:48] * sunzofman1 quit (Ping timeout: 252 seconds)
639: [05:09:00] * nickmolhoek quit (Quit: nickmolhoek)
640: [05:11:29] <zippy__> Giganaire: https://www.youtube.com/watch?v=NHozn0YXAeE
641: [05:11:55] <Giganaire> zippy__: hell yeah
642: [05:12:02] <Giganaire> was my fav band when i was a kid
643: [05:12:12] <Giganaire> had posters on my wall and everything
644: [05:12:27] <ss23> called it
645: [05:12:29] <ss23> in my head..
646: [05:12:45] <Giganaire> really makes me wonder how my family was surprised when i came out...
647: [05:12:59] <ss23> I hear some little kids thought some of them were girls
648: [05:13:35] <Colin[pi]> whatever happened to them?
649: [05:13:39] <Giganaire> i actually knew someone who thought taylor was cute until they realised he's a guy
650: [05:13:42] <Giganaire> Colin[pi]: they still exist
651: [05:13:48] <Colin[pi]> really? wow
652: [05:14:03] <Giganaire> still touring, coming to NZ soon i think
653: [05:14:19] * sunzofman1 has joined #silverstripe
654: [05:15:44] <Colin[pi]> dat aging: http://www.coupdemainmagazine.com/sites/default/files/7-4085/hanson-1.jpg
655: [05:15:54] <Giganaire> Colin[pi]: http://youtu.be/zh8mQU-tNyM?t=32s
656: [05:16:40] * Ryan-Toast quit (Quit: Ryan-Toast)
657: [05:18:09] <Colin[pi]> ok that song is kinda catchy
658: [05:19:27] <zippy__> fuck you yml config
659: [05:20:46] * sunzofman1 quit (Quit: Lost terminal)
660: [05:24:48] <zippy__> I wonder what simon_w would charge to create a sane config system for ss
661: [05:26:55] * Shrike_Finland has joined #silverstripe
662: [05:26:59] <Colin[pi]> TREE FITTY
663: [05:27:06] * Shrike_Finland quit (Client Quit)
664: [05:32:18] * an_Eskimo quit (Ping timeout: 240 seconds)
665: [05:36:18] * zippy__ quit (Ping timeout: 240 seconds)
666: [05:55:59] * UncleCheese_ quit (Quit: UncleCheese_)
667: [06:04:59] <simon_w> I rather like Laravel's config
668: [06:05:14] <simon_w> Just a bunch of arrays, rather than a bunch of things that need to be turned into arrays
669: [06:11:14] <Colin[pi]> simon_w: should be pretty dang fast to parse
670: [06:11:38] <simon_w> Colin[pi], with an opcode cache or HHVM, it's already cached for you too
671: [06:11:52] <simon_w> Unless you do dynamic stuff
672: [06:17:05] <Giganaire> i rather like much of Laravel
673: [06:19:36] <Colin[pi]> I've heard good things
674: [06:19:58] * bwaah_ has joined #silverstripe
675: [06:23:03] <bwaah_> hello im trying to install silverstripe in linux but am getting the following php error "date.timezone setting and validity date.timezone option in php.ini must be set correctly." iv tried to change the settings in my php.ini to my local timezone but it aint working. what could be the problem
676: [06:23:24] <Colin[pi]> bwaah_: what did you change it to?
677: [06:26:51] <bwaah_> iv tried Europe/Berlin the default and Africa/Nairobi timezone but still gives me this error
678: [06:28:33] <simon_w> bwaah_, have you restarted Apache each time you've changed it?
679: [06:30:51] <bwaah_> yea i have but still i get that same error my location in my system time is set to Africa/Nairobi
680: [06:32:01] * Motoservo has joined #silverstripe
681: [06:45:56] * wmk has joined #silverstripe
682: [07:05:06] <ss23> Fucking 50/50 internet, and yet, here I am copying files at 11mB/s
683: [07:05:06] <ss23> :/
684: [07:21:35] * simon_w quit (Quit: This computer has gone to sleep)
685: [07:22:48] * simon_w|air has joined #silverstripe
686: [07:30:26] * simon_w|air has left #silverstripe
687: [07:36:21] * ARNHOE has joined #silverstripe
688: [07:40:07] * steveheyes has joined #silverstripe
689: [07:45:05] <Giganaire> <base href="http://greenhomesaustralia-ss3.dev/mnt/code/greenhomesaustralia-ss3/">
690: [07:45:08] <Giganaire> NO
691: [07:45:11] <Giganaire> STAPH
692: [07:45:15] <Giganaire> Y U PUT ABSOLUTE PATH
693: [07:45:18] * bwaah_ quit (Ping timeout: 240 seconds)
694: [07:45:43] <ss23> hahaha
695: [07:45:43] <ss23> wtf
696: [07:50:14] <ss23> [2014-04-29 19:49:23] Running command: git clone --bare -q ssh://git@gitlab.xxx && touch /tmp/lol
697: [07:50:17] <ss23> guis
698: [07:50:20] <ss23> guis pls :/
699: [07:51:49] * simon_w|air has joined #silverstripe
700: [07:52:32] <simon_w|air> Giganaire, 404 page?
701: [08:00:46] <ss23> Composer question you might know about simon_w|air :D
702: [08:00:56] <ss23> A project includes a package, x, which has requirements
703: [08:01:11] <ss23> "silverstripe/framework": "3.1.*@stable", specifically
704: [08:01:40] <ss23> composer show -i -> silverstripe/framework 3.1.1 The SilverStripe framework
705: [08:01:54] * anselmdk quit (Quit: anselmdk)
706: [08:01:55] <ss23> composer update --no-dev -> no packages updated
707: [08:01:58] <ss23> how2fix / what even
708: [08:02:01] * steveheyes quit (Quit: steveheyes)
709: [08:05:59] * stnvh has joined #silverstripe
710: [08:06:42] * kinglozzer has joined #silverstripe
711: [08:08:19] <svandragt> ss23: ~3.1@stable maybe? guess
712: [08:09:11] <svandragt> ss23: should be working though
713: [08:09:49] <ss23> No reason 3.1.*@stable would install 3.1.1 though
714: [08:09:49] <ss23> :(
715: [08:09:53] <ss23> I mean, it was already 3.1.1
716: [08:10:01] <ss23> I wonder if I rm -rf the framework and composer install then
717: [08:10:25] <ss23> bastard, still 3.1.1
718: [08:10:25] <svandragt> there must be something else holidng it back.
719: [08:10:27] <ss23> Yeah
720: [08:10:41] <ss23> I did a grep for silverstripe/framework, and all the matches shouldn't hold it back
721: [08:11:25] <ss23> Might be an obscure dependency on both of them I guess...
722: [08:14:52] <ss23> Checked every composer.json
723: [08:14:55] <ss23> It's not in any
724: [08:15:02] <ss23> rm -rf .lock && composer install I guess
725: [08:15:20] <ss23> wtf, 3.1.1 again
726: [08:15:22] <ss23> THERE HAS TO BE SOMETHING
727: [08:15:24] * Shrike_Finland has joined #silverstripe
728: [08:15:52] <svandragt> would you need to composer selfupdat
729: [08:15:54] <svandragt> *selfupdate
730: [08:16:11] <ss23> ah, figured it out I think...
731: [08:16:19] <ss23> I manually edited the local dependency/composer.json
732: [08:16:27] <ss23> I think it looks at the remote host's composer.json
733: [08:16:28] <ss23> weird
734: [08:17:59] <svandragt> was searching if composer can tell you what is holding you back from using the latest versions of all requirements
735: [08:18:24] <ss23> Yeah, would be good
736: [08:18:28] <ss23> I hope this works...
737: [08:18:54] <ss23> I think I have the idea though, composer will cache that since it's expensive to generate
738: [08:19:03] <ss23> So even though I manually edited dependency/composer.sjon, it didn't see it
739: [08:19:57] <svandragt> --prefer-source: Install packages from source when available.
740: [08:19:57] <svandragt> --prefer-dist: Install packages from dist when available.
741: [08:19:58] <ss23> Maybe not
742: [08:19:58] <ss23> :/
743: [08:20:00] <svandragt> anyone that any good?
744: [08:20:10] <ss23> Oh wait, wrong branch now
745: [08:20:13] <ss23> svandragt: Neither of those help
746: [08:20:27] <svandragt> ss23: ok well beyond my composer knowledge :(
747: [08:21:07] <ss23> :(
748: [08:21:15] <ss23> Installing silverstripe/framework (3.1.x-dev 2c9f99c)
749: [08:21:15] <ss23> yay!
750: [08:21:17] <ss23> Was related to what I said
751: [08:22:23] <svandragt> ss23: glad u got it sorted
752: [08:22:33] <ss23> mm
753: [08:22:36] <ss23> #fuckcomposer
754: [08:22:36] <ss23> :P
755: [08:23:45] <ss23> Fatal error: Class 'MySQLQuery' not found in ... www/framework/model/MySQLDatabase.php on line 152
756: [08:23:48] <ss23> COME ON
757: [08:24:26] <ss23> Whoops, forgot to flush
758: [08:24:27] <ss23> fixed
759: [08:24:27] <ss23> :D
760: [08:25:56] <svandragt> in irc no one hears you scream :P
761: [08:27:17] * Shrike_Finland quit (Read error: Connection reset by peer)
762: [08:27:25] * Shrike_Finland has joined #silverstripe
763: [08:28:08] * Pysnoozek has joined #silverstripe
764: [08:31:02] * Bollig|DesignCty quit (Ping timeout: 255 seconds)
765: [08:31:43] <svandragt> ss23: perhaps composer should build out the 'depends' option to include requirements limitations
766: [08:35:35] * Alfirin has joined #silverstripe
767: [08:37:38] * Shrike_Finland quit (Read error: Connection reset by peer)
768: [08:37:43] * Shrike_Finland1 has joined #silverstripe
769: [08:40:07] <svandragt> argh firefox rounded tabs :(
770: [08:41:39] <simon_w|air> Lol, firefox
771: [08:45:07] <Pysnoozek> firefox <3
772: [08:45:09] <ss23> Firefox -- also known as Chrome
773: [08:45:16] <Pysnoozek> wait what?
774: [08:45:19] <Pysnoozek> rounded tabs?
775: [08:45:24] <ss23> I'm surprised they don't just add a tagline like "Chrome is my daddy <3"
776: [08:45:27] <svandragt> Pysnoozek: yes
777: [08:45:35] * Pysnoozek looks at his square tab
778: [08:45:36] <ss23> Versinoing, sync, not they *look* exactly like Chrome
779: [08:45:41] <ss23> Pysnoozek: Update, and feel the Chrome.
780: [08:45:46] <svandragt> Pysnoozek: help -> about -> update to 29 with new ui
781: [08:45:49] <Pysnoozek> ss23: neg
782: [08:45:51] <Pysnoozek> can't
783: [08:45:58] <Pysnoozek> firewalls n' thkns
784: [08:46:02] <ss23> quit
785: [08:46:12] <ss23> not wurf working at a place that doesn't let you run your own firewall
786: [08:46:13] <ss23> fuck
787: [08:46:15] <ss23> own software*
788: [08:46:16] <Pysnoozek> you forgot the / in front ss23
789: [08:46:16] <ss23> same idea
790: [08:46:28] <Pysnoozek> ss23: I can run my own software
791: [08:46:39] <Pysnoozek> it just can't get through the proxy to update or something, idk
792: [08:46:39] <svandragt> forgot how to 'identify' firefox ui controls for my userstyles
793: [08:46:50] <Pysnoozek> it goes, downloads update, then 'fails to apply' or some shit
794: [08:46:58] <Pysnoozek> I have to manually download new version and install.
795: [08:47:04] <Pysnoozek> and from what you're telling me, I shouldn't.
796: [08:47:14] <Pysnoozek> Screenshots plz
797: [08:47:29] <ss23> sec
798: [08:47:40] <Pysnoozek> svandragt: identify ui controls?
799: [08:47:57] <svandragt> Pysnoozek: need to know what selector I will use to remove the border radius from the tabs
800: [08:48:09] <ss23> http://i.imgur.com/N0ePVwe.png @ Pysnoozek
801: [08:48:10] <ss23> there
802: [08:48:20] <Pysnoozek> wholey fuck I built this thing right, and it's amazing and all, but it has this required fields for 'type' and I've got no fucking idea why I put that there :/
803: [08:48:25] <ss23> oh wait lol that's Chrome
804: [08:48:27] <svandragt> ss23: lol thats chrome
805: [08:48:28] <ss23> they look so similar I can't tell
806: [08:48:43] <Pysnoozek> lol win8
807: [08:48:58] <Pysnoozek> ss23: you love the chrome diddles anyway
808: [08:49:14] * helpmeplease has joined #silverstripe
809: [08:49:15] <Pysnoozek> you should be rejoicing
810: [08:49:17] <helpmeplease> anyone around?
811: [08:49:19] <Pysnoozek> or something
812: [08:49:24] <helpmeplease> ooh there is
813: [08:49:25] <Pysnoozek> helpmeplease: no.
814: [08:49:25] <ss23> Pysnoozek: http://i.imgur.com/4Z0288Z.png
815: [08:49:26] <ss23> that is ff
816: [08:49:27] <Pysnoozek> never.
817: [08:49:40] <Pysnoozek> ss23: lol ugly
818: [08:49:45] <ss23> Lol Chrome
819: [08:49:53] <svandragt> http://img838.imageshack.us/img838/8742/qwvu.png
820: [08:49:55] <helpmeplease> has anyone had wierd issues with extra <br> tags being inserted into form errors?
821: [08:49:59] <helpmeplease> in 3.1
822: [08:50:00] <Pysnoozek> hahaha ss23, nice jokes
823: [08:50:00] <ss23> svandragt: Slow :P
824: [08:50:10] <helpmeplease> it is doing my head in
825: [08:50:11] <ss23> Pysnoozek: I *almost* regret searching for "gay porn" at work
826: [08:50:15] <Pysnoozek> Fireome
827: [08:50:23] <Pysnoozek> ss23: almost :P]
828: [08:50:29] <Pysnoozek> it's after hours 'n all...
829: [08:50:31] <Pysnoozek> whatevs
830: [08:51:00] <Pysnoozek> helpmeplease: extra br tags in an error?
831: [08:51:11] <Pysnoozek> define 'form error'?
832: [08:51:43] <svandragt> the tabs they make my eyes bleed
833: [08:52:29] <helpmeplease> so this code here nl2br("\n".$isValid->starredList())
834: [08:52:32] <ss23> The stupid thing about Firefox is that they had an existing userbase of loyal people, then were like "Hmm Chrome has lots of users! Lets be more like them", thus alienating them from their core user base, and not convincing anyone to switch away from Chrome
835: [08:52:48] <helpmeplease> which is in the changePasswordForm
836: [08:53:28] <ss23> helpmeplease: Seems a little bit useless, but I guess it's there to make it look good by default or something?
837: [08:53:46] <helpmeplease> this returns a bunch of errors like this " * first error * second error "
838: [08:54:39] <helpmeplease> well, yea it is pretty useless.
839: [08:55:03] <helpmeplease> not sure what has changed
840: [08:55:16] <ss23> I don't know about it off hand, helpmeplease
841: [08:55:23] <ss23> Might ahve to look into it properly, which can be a lot of work :O
842: [08:55:23] <ss23> Sorry
843: [08:56:11] <helpmeplease> recently updated to 3.1 and this code which is still the same in the core security class ChangePasswordForm is returning these annoying <br> tags and must be escaping them so that they actually appear in the frontend
844: [08:56:27] <helpmeplease> ok thanks anyway
845: [08:57:54] <Pysnoozek> svandragt: might be time to load about:config and see if there's a boolean to switch back
846: [08:58:51] <Pysnoozek> helpmeplease: try $Errors.RAW perhpas?
847: [08:58:52] <Pysnoozek> dunno
848: [08:59:56] * Werner_2_ has joined #silverstripe
849: [09:01:53] * UncleCheese has joined #silverstripe
850: [09:03:12] * wmk quit (Ping timeout: 252 seconds)
851: [09:05:41] * Shrike_Finland1 quit (Quit: Leaving.)
852: [09:06:04] <svandragt> argh they use animated bezier curves for the tab rounding :(
853: [09:07:51] <svandragt> Pysnoozek: no option in about:config
854: [09:09:02] <Pysnoozek> animated bezier curves?
855: [09:09:05] <Pysnoozek> they move?
856: [09:09:12] <svandragt> http://userstyles.org/styles/99560/square-tab-for-firefox-australis
857: [09:10:06] <Pysnoozek> you gotta use a whole UI patch for it :<
858: [09:10:33] <Pysnoozek> I think it'd be easier to just recompile firefox.
859: [09:10:43] * VRoxane has joined #silverstripe
860: [09:12:11] <helpmeplease> Pysnoozek - manually changing the core Form.ss to display $Message.RAW fixes the issue
861: [09:12:13] <svandragt> you cna paste the contents in userchrome but the result is still ugly
862: [09:12:28] <helpmeplease> but god knows what other bugs that will cause
863: [09:12:29] <svandragt> i'll just get used to it :(
864: [09:14:31] <Pysnoozek> helpmeplease: no, no, no, no, NO.
865: [09:14:46] <Pysnoozek> Learn how templating works.
866: [09:14:53] <VRoxane> Bonjour everyone ! I'm looking for a way to show sorting links on a Page_results page. I don't get how to re-use the search criteria and add the sorting action.
867: [09:14:53] <Pysnoozek> never EVER touch the core code.
868: [09:14:57] <helpmeplease> I am not going to change the core file... if that is what you are trying to say
869: [09:15:02] <helpmeplease> was just for testing dude
870: [09:15:03] <helpmeplease> sorry
871: [09:15:05] <helpmeplease> calm down
872: [09:15:16] <Pysnoozek> helpmeplease: good good, but you can still do your fix.
873: [09:15:31] <VRoxane> Rule n°1 : don't change the core code... Rule n°2 : don't change the core code ;)
874: [09:15:41] <Pysnoozek> make mysite/templates/samepath/Form.ss and make the change in there
875: [09:15:50] <helpmeplease> tis what I am doing
876: [09:15:52] <Pysnoozek> do a flush, problem soleved :>
877: [09:16:04] <Pysnoozek> gawed, so don't say core file then :<
878: [09:16:15] <helpmeplease> well just to test I changed it in the core file
879: [09:16:28] <Pysnoozek> it's not relevant to specify 'core' in that situation then.
880: [09:16:29] <helpmeplease> is a lot faster then actually overriding the template just to check
881: [09:16:41] <helpmeplease> so now that I have confirmed, I will override with my own template
882: [09:16:48] <Pysnoozek> you could just say 'fixing the template works'
883: [09:16:53] <Pysnoozek> :>
884: [09:16:57] <helpmeplease> my bad
885: [09:17:10] <helpmeplease> thanks for your help
886: [09:17:12] <Pysnoozek> we get so many people in here all over the top enthusiastic hacking things in core to fix small issues
887: [09:17:18] <Pysnoozek> so sorry for the overreaction
888: [09:17:25] <helpmeplease> all good
889: [09:17:57] <Pysnoozek> VRoxane: these are the rules of patch club.
890: [09:18:31] <Pysnoozek> VRoxane: the sorting criteria should be in the url, parameters.
891: [09:18:34] <Pysnoozek> get vars.
892: [09:18:46] <Pysnoozek> $this->request->getVars()
893: [09:18:49] <VRoxane> So I rebuild the URL and add my sorting
894: [09:18:56] <Pysnoozek> yeh, pretty much
895: [09:19:11] <Pysnoozek> there are helper methods on Controller for building URLs#
896: [09:19:47] <VRoxane> I was hoping for a $Results.Link but it doesn't exist :D
897: [09:19:48] <Alfirin> Quick question, has oneone tried gamesevent add-on? Does it work at all?
898: [09:20:11] <VRoxane> Thanks Pysnoozek, I'm trying that right now
899: [09:20:11] <Pysnoozek> the what?
900: [09:20:29] <Pysnoozek> Alfirin: have a link?
901: [09:20:38] <Alfirin> https://github.com/adrexia/silverstripe-gamesevent this thing
902: [09:22:24] <Pysnoozek> svandragt: just go with my suggestion. You can name it "Fireforks"
903: [09:22:38] <svandragt> Pysnoozek: I was thinking of firefaux
904: [09:22:49] <svandragt> Pysnoozek: I'll create two forks
905: [09:22:53] <Pysnoozek> hahaha :P
906: [09:23:09] <Pysnoozek> legit
907: [09:23:15] <Pysnoozek> fauxerfox
908: [09:25:16] * Shrike_Finland has joined #silverstripe
909: [09:25:23] <helpmeplease> hey how do you tag another user in a chat message on here?
910: [09:29:13] <Pysnoozek> you don't, it's not twitter
911: [09:29:22] <Pysnoozek> just talk to them like a normal person.
912: [09:29:26] <Pysnoozek> ok helpmeplease ?
913: [09:29:36] <helpmeplease> oh
914: [09:29:42] <Pysnoozek> :P
915: [09:30:15] <Zauberfisch> helpmeplease: most poeple have their program setup to display a notification if you simply write their name (some only if its the first word of a message)
916: [09:30:20] <helpmeplease> when someone types my name in their message the line goes red and a little noise happens
917: [09:30:37] <helpmeplease> I was unsure if it was working when I did it back to them
918: [09:30:40] <Pysnoozek> helpmeplease: yes.
919: [09:30:55] <Pysnoozek> well, depends on their setup.
920: [09:30:58] <Zauberfisch> but in general it is bad manners to directly address someone unless you are already in a conversation or replying to this person
921: [09:30:59] <Pysnoozek> but generally, yes.
922: [09:31:09] <ss23> Anyone know why you would use getComponent? It looks the same as $this->RelationName isn't it?
923: [09:31:13] <Pysnoozek> and what Zauberfisch said.
924: [09:31:28] <Pysnoozek> ss23: RelationName uses getComponent
925: [09:31:31] <Zauberfisch> helpmeplease: for me it only get bold, no sound, no different color. and it only happens if my name is the first word of the message
926: [09:31:41] <ss23> Pysnoozek: So no reason to call it directly, right?
927: [09:31:48] <Zauberfisch> its really a thing of preference and setup
928: [09:31:56] <helpmeplease> I am only on irc.silverstripe.org I dont have a client so it must be the default settings there
929: [09:32:04] <ss23> This code does public function Project() { return $this->getComponent('Project'); }
930: [09:32:06] <Pysnoozek> ss23: generally no, unless you're programatically discovering the name, or using user input, or something weird like that.
931: [09:32:08] <ss23> Which seems sily to me?
932: [09:32:10] <helpmeplease> and cool beans speak when you are spoken to
933: [09:32:14] <ss23> Okay, sweet
934: [09:32:26] <Pysnoozek> ss23: mmm. that is a bit naff.
935: [09:32:30] <Zauberfisch> ss23: you do if you can not call $this->Relation()
936: [09:32:40] * Tanger quit (Quit: Tanger)
937: [09:32:47] <Zauberfisch> eg when I overwrite Relation() I can not call it because it would end up beeing an endless recursion
938: [09:32:54] <ss23> mm
939: [09:33:15] <Pysnoozek> yeah, but basically that's the only real reason. because data objects are not proper objects.
940: [09:33:17] <Pysnoozek> as such
941: [09:33:22] <Pysnoozek> err, 'pure'
942: [09:33:31] * spronk2 has joined #silverstripe
943: [09:33:32] <Pysnoozek> (__call and all that)
944: [09:33:37] <spronk2> WHAT
945: [09:33:42] * Pysnoozek __call's spronk2
946: [09:33:46] <Pysnoozek> ()
947: [09:33:57] <Pysnoozek> no wait
948: [09:33:59] * spronk2 throws an Exception
949: [09:33:59] <Zauberfisch> also, __call uses it I think
950: [09:34:02] <Pysnoozek> ('sup bitch?')
951: [09:34:09] <Zauberfisch> :D
952: [09:34:17] <ss23> Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes)
953: [09:34:21] <ss23> I guess I hit that recursion limit you talked about
954: [09:34:27] <Pysnoozek> hahah ss23
955: [09:34:29] <Pysnoozek> bl2u
956: [09:35:20] <spronk2> WERPS
957: [09:35:32] <guzzlefry> Are you doing CSV export? :P
958: [09:35:42] * oceanmountain has joined #silverstripe
959: [09:35:53] <ss23> Me? Nope
960: [09:35:57] <guzzlefry> ah
961: [09:36:17] <guzzlefry> I've had to up the memory limit to a ridiculous amount for some clients due to CSV export...
962: [09:36:18] * helpmeplease quit (Ping timeout: 240 seconds)
963: [09:36:30] <spronk2> also
964: [09:36:31] <spronk2> https://github.com/torchbox/wagtail
965: [09:38:21] * Fisix_AIX has joined #silverstripe
966: [09:39:35] * Tanger has joined #silverstripe
967: [09:40:14] <Fisix_AIX> Hello, in the cms->security I want to add a new column to the summary_fields how can I do this without touching the framework files?
968: [09:40:32] <Zauberfisch> ss 3.1?
969: [09:40:36] <Fisix_AIX> Yes
970: [09:40:46] <Zauberfisch> use the yml config system
971: [09:40:59] <Zauberfisch> to which class do you want to add the fields?
972: [09:41:02] <Zauberfisch> Member?
973: [09:41:05] <Fisix_AIX> Yes
974: [09:41:17] <Pysnoozek> use a decorator
975: [09:41:23] <Pysnoozek> see docs on DataExtension
976: [09:41:37] <Zauberfisch> meh, easier in yml config (if it works the way I think it does)
977: [09:41:50] <Zauberfisch> open your yml config file in mysite/_config/....
978: [09:41:52] <Pysnoozek> oh, summary fields, not just fields.
979: [09:41:53] <Zauberfisch> add:
980: [09:41:54] <Pysnoozek> my bad.
981: [09:42:03] <Zauberfisch> Member:
982: [09:42:08] <Zauberfisch> summary_fields:
983: [09:42:26] <Zauberfisch> - LastEdited
984: [09:42:31] <Zauberfisch> I think thats the syntax
985: [09:42:38] <Pysnoozek> yep
986: [09:42:40] <Fisix_AIX> Ok Ill give it a try now
987: [09:42:42] <Pysnoozek> well
988: [09:43:00] <Pysnoozek> actually I think summaryfields takes key:value pairs, in the form field: title
989: [09:43:07] <Pysnoozek> but yeh
990: [09:44:05] <Zauberfisch> well
991: [09:44:08] <Zauberfisch> optional
992: [09:44:11] <Zauberfisch> I don't specify it
993: [09:44:33] <Fisix_AIX> Great Thanks that worked
994: [09:44:48] <Fisix_AIX> never realised the config file had that kind of power
995: [09:45:05] <Zauberfisch> because because its not i18n
996: [09:45:21] <Zauberfisch> minus that duplicate because ^^
997: [09:45:42] <Zauberfisch> you can use fieldLabels() to make translateable labels for summary_fields and searchable_fields
998: [09:47:27] * travis-ci has joined #silverstripe
999: [09:47:27] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2405 (3.1 - 5524bd4 : Ingo Schommer): The build passed.
1000: [09:47:27] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/2c9f99c1f07b...5524bd4ebb0b
1001: [09:47:27] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/24001413
1002: [09:47:27] * travis-ci has left #silverstripe
1003: [09:47:45] <Zauberfisch> Fisix_AIX: yeah, it has become pretty powerful. you can even define database fields via yml config now
1004: [09:48:10] <Zauberfisch> Pysnoozek Fisix_AIX: about the summary_fields label thing, this is how my classes look like: http://paste2.org/wz5LL7sc
1005: [09:48:32] <Pysnoozek> oh cool, good to know Zauberfisch :)
1006: [09:48:34] <Zauberfisch> see the fieldLabels(). this is where the _t() magic happens, so I have no duplicate label strings
1007: [09:48:49] <Pysnoozek> I never really used summary_fields all that much, and if I did it was all en_NZ
1008: [09:49:30] * bwaah_ has joined #silverstripe
1009: [09:50:09] <Zauberfisch> I always do it with _t. because I usualy have to build german sites. and I have a rule: no speical chars in normal files. the only place where special chars are allowed are lang files. this way if charset is messed up, I only have 1 file to take care of
1010: [09:50:33] <Zauberfisch> this also yields the benefit that once a new language is added, its pretty easy
1011: [09:51:31] <Fisix_AIX> Thanks Zauberfisch
1012: [09:54:06] <bwaah_> can some one dev/build on a linux browser because its tiresome calling the cli-script on the commandline all the time
1013: [09:55:40] <guzzlefry> There's a command line script for doing dev/build now?
1014: [09:55:54] <Zauberfisch> there always has been
1015: [09:55:59] <Zauberfisch> sake dev/build flush=1
1016: [09:56:00] <guzzlefry> ...you're kidding right?
1017: [09:56:09] <guzzlefry> ...I hate everything. :P
1018: [09:56:16] <ss23> Guys
1019: [09:56:23] <ss23> If you override the Link() method and do something like
1020: [09:56:24] <Zauberfisch> guzzlefry: http://doc.silverstripe.org/framework/en/topics/commandline
1021: [09:56:34] <ss23> return $this->Foo()->Link() . "/foobar/" etc
1022: [09:56:38] <ss23> e.g. manually play with your routes
1023: [09:57:01] <ss23> It doesn't escape the link() on output. Is this intentional, and is the recommended way to fix to do a DBField::create... or is it to manually raw2xml or what?
1024: [09:57:40] <simon_w|air> ss23, it should be cast as a Text automatically for you
1025: [09:57:42] <simon_w|air> At least in 3.1
1026: [09:57:58] * travis-ci has joined #silverstripe
1027: [09:57:58] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2406 (3.1 - ff42ad2 : Ingo Schommer): The build passed.
1028: [09:57:58] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/5524bd4ebb0b...ff42ad268ef2
1029: [09:57:58] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/24001460
1030: [09:57:58] * travis-ci has left #silverstripe
1031: [09:58:07] <svandragt> Basic authorative one way sync pattern: https://gist.github.com/svandragt/11395740
1032: [09:58:15] <guzzlefry> Wish I had known about this sake thing. :P
1033: [09:58:17] <ss23> simon_w|air: It is 3.1, but it doesn't look to be being escaped
1034: [09:58:30] <Zauberfisch> guzzlefry: to be honest I don't use it that much
1035: [09:58:39] <ss23> simon_w|air: How does the escaping rules work though? "If you return a string from a method, it'll automatically be escaped"?
1036: [09:58:43] <Zauberfisch> when I first saw it I also was like "oh this is so super cool"
1037: [09:58:45] <ss23> simon_w|air: Where is it implmented, so I can see where it's breaking?
1038: [09:58:50] <guzzlefry> bwaah_: So, you can in fact call dev/build in a browser. :P
1039: [09:58:59] <Zauberfisch> but idk
1040: [09:59:12] <simon_w|air> ss23, if you don't set a specific cast type, a non-object will be cast as the default_cast type. In 3.1, that's Text
1041: [09:59:17] <simon_w|air> It's in ViewableData somewhere
1042: [09:59:19] <guzzlefry> bwaah_: localhost/dev/build?flush
1043: [09:59:49] <ss23> simon_w|air: I'm just going to gist the exact thing verbatmin so you can confirm it should be escaped, before I debug
1044: [10:01:12] <ss23> simon_w|air: https://gist.github.com/ss23/075d3a8b2a5c03063502
1045: [10:04:23] * ss23 looks at simon_w|air longingly..
1046: [10:04:24] <bwaah_> guzzlefry: i already have sake installed but still wen i try to call localhost/dev/build?flush it returns "The requested URL /dev/build was not found on this server."
1047: [10:04:48] <ss23> bwaah_: Sounds like SilverStripe isn't installed/working :P
1048: [10:06:25] <bwaah_> it is working i can even access the cms admin and make changes
1049: [10:09:15] * ss23 cries
1050: [10:09:18] <ss23> Now I don't know what to do
1051: [10:09:18] <ss23> :(
1052: [10:12:47] * travis-ci has joined #silverstripe
1053: [10:12:47] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2407 (master - 612a096 : Ingo Schommer): The build has errored.
1054: [10:12:47] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a67f853d7f9a...612a09676538
1055: [10:12:47] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/24001587
1056: [10:12:47] * travis-ci has left #silverstripe
1057: [10:13:03] <Colin[pi]> CHILLU BROKE IT
1058: [10:15:18] <ss23> OH NO
1059: [10:15:18] <ss23> :O
1060: [10:15:53] <ss23> No output has been received in the last 10 minutes, this potentially indicates a stalled build or something wrong with the build itself.
1061: [10:15:56] <ss23> INFINITE LOOOOP
1062: [10:15:59] <ss23> :O
1063: [10:20:42] * desperate has joined #silverstripe
1064: [10:20:51] <desperate> hey!
1065: [10:21:16] <ss23> simon_w|air: I checked, that is not the case. If you return a string, it is not escaped out of the box SilverStripe 3.1
1066: [10:21:44] * Werner_2_ quit (Quit: nice to meet you ;))
1067: [10:21:50] <desperate> I have a date object that has_many genres.
1068: [10:21:55] <desperate> genre extends page
1069: [10:22:31] <desperate> when I go to my data object and change the genre and save the genre type doesn't change
1070: [10:23:20] <kinglozzer> I'm curious, is there any overhead with using ::create() instead of 'new'? I know why we use ::create(), just wondered
1071: [10:23:41] <kinglozzer> desperate: Is your field named Genre instead of GenreID?
1072: [10:25:10] <desperate> no, it is actually called Category
1073: [10:25:23] <desperate> but represents a genre/category/type
1074: [10:26:46] <desperate> when I click to save i get a success message
1075: [10:27:05] <desperate> but the drop-down doesn't update to show the new category slected
1076: [10:28:39] <kinglozzer> desperate: Are you sure your field isn't named <relation> instead of <relation>ID?
1077: [10:28:48] <kinglozzer> That's nearly always the cause
1078: [10:28:49] <Pysnoozek> [10:50] <Zauberfisch> I always do it with _t. because I usualy have to build german sites. and I have a rule: no speical chars in normal files. the only place where special chars are allowed are lang files. this way if charset is messed up, I only have 1 file to take care of
1079: [10:28:52] <Pysnoozek> sounds fantastic.
1080: [10:29:36] <Pysnoozek> [10:54] <bwaah_> can some one dev/build on a linux browser
1081: [10:29:54] <Pysnoozek> I don't believe... wut. Someone actually fuck'n asked this.
1082: [10:32:19] <desperate> @kinglozer do you mean where i build the fields in the cms or where i declare the relations
1083: [10:32:19] * travis-ci has joined #silverstripe
1084: [10:32:19] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2407 (master - 612a096 : Ingo Schommer): The build passed.
1085: [10:32:19] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a67f853d7f9a...612a09676538
1086: [10:32:19] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/24001587
1087: [10:32:19] * travis-ci has left #silverstripe
1088: [10:33:08] <Pysnoozek> desperate: you didn't name your data object 'Date' did you? -.-
1089: [10:33:32] <Alfirin> So, I take it that no one has used the gamesevent add-on? I was hoping to use it as a replacement for eventmanagement
1090: [10:33:46] <Pysnoozek> [11:27] <desperate> but the drop-down doesn't update to show the new category slected
1091: [10:34:04] <desperate> No... the data object is 'Books'
1092: [10:34:04] <Pysnoozek> Probably because you're in model admin or something and the view doesn't refresh after saving.
1093: [10:34:15] <Pysnoozek> pages do, modeladmin doesn't.
1094: [10:34:21] <Pysnoozek> is the database actually unchanged?
1095: [10:34:45] <desperate> let me check to see if the db is updating... tha was my next move
1096: [10:35:09] <desperate> pretty sure I signed out and signed bak in to see if it was a refresh/cache issue
1097: [10:35:44] <Pysnoozek> [11:04] <bwaah_> guzzlefry: i already have sake installed but still wen i try to call localhost/dev/build?flush it returns "The requested URL /dev/build was not found on this server."
1098: [10:35:46] <svandragt> Boolean fields can't have descriptions??
1099: [10:35:58] <Pysnoozek> are you talking about sake or the browser bwaah_ ?
1100: [10:36:16] <Pysnoozek> svandragt: eh?
1101: [10:37:41] <svandragt> Pysnoozek: sorry not true but descripions aren't shown for checkbox fields hmm
1102: [10:38:12] <Pysnoozek> what do you mean 'description' ?
1103: [10:38:41] <svandragt> FormField->setDescription()
1104: [10:38:49] <svandragt> the text that appears under the form field in the cms
1105: [10:39:07] <svandragt> that I use to explain to content authors that don't know what they're doing :P
1106: [10:39:33] <Pysnoozek> ha, didn't even know there was a description.
1107: [10:39:54] <Pysnoozek> svandragt: it'll just be a template issue most like. Just override the template :>
1108: [10:40:12] <Pysnoozek> projectfolder/templates/forms/CheckboxField.ss or whatever
1109: [10:40:22] <svandragt> Pysnoozek: I created a tiny module that allows you to set descriptions using public static $db_descriptions = array(); and then applies them
1110: [10:40:47] <Pysnoozek> private static & use the config system!
1111: [10:41:03] <svandragt> Pysnoozek: https://github.com/svandragt/silverstripe-description
1112: [10:41:16] <svandragt> Pysnoozek: and 3.0 site :P
1113: [10:41:29] <VRoxane> Thanks Pysnoozek and Simon_w for your help, my Search Engine is working like a charm :)
1114: [10:45:40] <Pysnoozek> You're welcome, but I dunno what I did :<
1115: [10:45:51] <Pysnoozek> svandragt: ah 3.0. Still, config system! :P
1116: [10:46:31] * simon_w|air quit (Quit: This computer has gone to sleep)
1117: [10:48:13] <ss23> Guys :/
1118: [10:48:20] <ss23> If I have a random Foobar class extends ViewableData
1119: [10:48:26] <ss23> and function Name() return "my name"; }
1120: [10:48:38] <ss23> How do I fucking tell SilverStripe to *escape* $Name in templates automatically?
1121: [10:48:43] <ss23> e.g. without doing $Name.XML each time
1122: [10:49:13] <Pysnoozek> cast
1123: [10:49:20] <ss23> Be a lot more specific.
1124: [10:49:50] <Pysnoozek> private static $something_casting = array('Name' => 'Varchar');
1125: [10:50:12] <Pysnoozek> look up proper var name, it escapes me (PUN NOT INTENTED, BUT SOOOOOO GOOD)
1126: [10:51:43] <kinglozzer> Pysnoozek: o u
1127: [10:51:45] <kinglozzer> :P
1128: [10:53:09] * Pysnoozek pulls Dr. Evil pose
1129: [10:54:29] <Pysnoozek> Halp, I wrote a model but it's actually more of a library... LUCKY THEY'RE THE SAME FUCKING THING IN CODE IGNITER
1130: [10:54:42] <guzzlefry> uhm
1131: [10:54:52] <guzzlefry> ss23: I think simon told me a really simple way to cast it...
1132: [10:54:54] <guzzlefry> forget now
1133: [10:55:09] <Pysnoozek> pretty sure it's $casting, but not 100%.
1134: [10:55:23] <Pysnoozek> if he hasn't solved it by now he must be afk guzzlefry
1135: [10:55:24] <guzzlefry> That only works with data fields though?
1136: [10:55:25] <ss23> tyvm Pysnoozek
1137: [10:55:26] <ss23> it works
1138: [10:55:43] <Pysnoozek> guzzlefry: no, it only works with templates, specifically#
1139: [10:56:07] <guzzlefry> oh
1140: [10:56:13] <Pysnoozek> if you try to use the thing in PHP it won't wrap in an object, and it won't be escaped.
1141: [10:56:22] <guzzlefry> well I mean
1142: [10:56:28] <guzzlefry> you can't use that for arbitrary methods, can you?
1143: [10:56:36] <Pysnoozek> -.- ?
1144: [10:56:42] <Pysnoozek> that's exactly what it's for.
1145: [10:56:42] <guzzlefry> They have to be in private static $fields?
1146: [10:56:45] <guzzlefry> oh
1147: [10:56:47] <guzzlefry> nevermind me :P
1148: [10:56:52] * guzzlefry skips off.
1149: [10:56:55] <Pysnoozek> no, fields are fields already, why would you want to cast one?
1150: [10:57:01] <Pysnoozek> ;)
1151: [10:57:35] <Pysnoozek> :>
1152: [10:57:45] <Pysnoozek> stop being silly guzzlefry!
1153: [10:57:53] <guzzlefry> I haven't messed with SilverStripe in a few months.
1154: [10:57:58] <guzzlefry> Brain is already purging info.
1155: [11:02:06] <desperate> I can confirm that the backend is not updating in my case
1156: [11:02:29] <desperate> if my data object has_many categories and categories extends page...
1157: [11:02:51] <desperate> where is the relation stored, in CategoryID of the data object?
1158: [11:04:34] <spronk2> http://i.imgur.com/pRD6cYq.jpg
1159: [11:05:44] <bwaah_> @Pysnoozek i have sake n iv bein dev building with it but i just thot f calling it on browser like on windows 2 c wart happens n nothing happens
1160: [11:09:10] <Pysnoozek> probably because not localhost, or something.
1161: [11:09:12] <Pysnoozek> idk
1162: [11:09:26] <Pysnoozek> shd wrk fn.
1163: [11:09:57] <ss23> guis
1164: [11:09:59] <Pysnoozek> n liek 2 der fink wid da admn cn u lgn dr#
1165: [11:09:59] <ss23> y u tlk lik dis
1166: [11:10:02] <ss23> its hrd 2 read
1167: [11:10:03] <Pysnoozek> IRK
1168: [11:10:04] <Pysnoozek> WTF
1169: [11:10:14] <ss23> IRK
1170: [11:10:16] * ss23 irks Pysnoozek
1171: [11:10:17] <Pysnoozek> IRK
1172: [11:10:29] <Pysnoozek> it's in caps because mega irked.
1173: [11:10:32] <kinglozzer> desperate: Yes, it's CategoryID
1174: [11:10:45] <desperate> thanks
1175: [11:11:03] <kinglozzer> Which is why I said to check that you're using CategoryID as the field name instead of Category in your getCMSFields
1176: [11:11:08] <Pysnoozek> haha spronk2
1177: [11:13:15] <desperate> Ok I think I see the problem... (I am fixing someone else's mess here)
1178: [11:13:39] <desperate> 'Books' is a data object that has_many Categories (of tpye Page)
1179: [11:13:55] <desperate> someone has setup a Categories table
1180: [11:14:37] <desperate> so when the Categories is changed in the CMS this is not updating the relation with the Page
1181: [11:14:41] <kinglozzer> But a category can have only one book?
1182: [11:14:44] <kinglozzer> ..
1183: [11:14:47] <desperate> the Catgories table isn't needed
1184: [11:15:06] <desperate> category has many books
1185: [11:15:12] <desperate> but book only has one catgory
1186: [11:15:23] <kinglozzer> desperate: 'Books' is a data object that has_many Categories (of tpye Page)
1187: [11:15:25] <kinglozzer> ><
1188: [11:15:41] <kinglozzer> Okay, makes a bit more sense now
1189: [11:15:42] <Pysnoozek> has one
1190: [11:15:59] <desperate> has_one.. correct
1191: [11:16:10] <Pysnoozek> [12:13] <desperate> 'Books' is a data object that has_many Categories (of tpye Page)
1192: [11:16:14] <kinglozzer> ^
1193: [11:16:15] <Pysnoozek> so false ^?
1194: [11:16:32] <desperate> false
1195: [11:16:33] <Pysnoozek> sounds like you should just make use of pastie.org or something
1196: [11:16:41] <desperate> 'Books' is a data object that has_ONE Categories (of tpye Page)
1197: [11:17:00] <Pysnoozek> Category extends Page has_many Books?
1198: [11:17:24] <desperate> In my CMS under books I have a page for each Category... then if I open that category there is a tab where the books are listed
1199: [11:17:50] <desperate> Pysnoozek: correct
1200: [11:17:57] <Pysnoozek> ok so what's your problem?
1201: [11:18:11] <desperate> so how do I re-assign a book to a differetn category
1202: [11:18:18] <Pysnoozek> Delete it.
1203: [11:18:30] <Pysnoozek> or use model admin.
1204: [11:18:53] <desperate> I don't want to delete it and re-enter.. just have ability to swithc ot over to a differetn category
1205: [11:18:53] <Pysnoozek> or just don't hide the 'Category' dropdown on the Books getCMSFields
1206: [11:19:26] <Pysnoozek> that'll do it. The relation is only assigned in the single place, on Book, as CategoryID
1207: [11:20:41] <Pysnoozek> DropdownField::create('CategoryID', 'Category', Category::get()->map());
1208: [11:20:58] <kinglozzer> 11:28 kinglozzer: desperate: Are you sure your field isn't named <relation> instead of <relation>ID?
1209: [11:21:07] <kinglozzer> Damn I need a theme that's nicer to 'quote' with
1210: [11:21:19] <desperate> lol it's fne
1211: [11:21:28] <desperate> in my CMS...
1212: [11:21:42] <Pysnoozek> gridfield will usually hide the relation box by default if that's the way it's config'd though kinglozzer
1213: [11:21:56] <Pysnoozek> I dunno, that's all fuck'n voodoo to me (in relations in gridfield)
1214: [11:21:57] <desperate> $fields->renameField('CategoryID', 'Category');
1215: [11:22:06] <Pysnoozek> no, don't rename it.
1216: [11:22:15] <Pysnoozek> that's about the stupidest thing you could do.
1217: [11:22:32] <desperate> It does rename it in my CMS
1218: [11:22:37] <Pysnoozek> wrong
1219: [11:22:42] <desperate> so don't rename it ok
1220: [11:22:44] <Pysnoozek> it breaks it entirely.
1221: [11:22:47] <desperate> ahhh
1222: [11:23:17] <desperate> so I should leave it as it is by default and then try updating the category?
1223: [11:23:32] <Pysnoozek> $fields->fieldByName('CategoryID')->setTitle('The title is what you want, not the NAME OF THE FIELD')
1224: [11:23:44] <Pysnoozek> yes, leave it as default.
1225: [11:23:53] <desperate> wow school boy error
1226: [11:24:27] <Pysnoozek> yup :>
1227: [11:31:18] <desperate> hmm same issue
1228: [11:31:24] <desperate> i removed the rename
1229: [11:31:51] <desperate> flush rebuild
1230: [11:32:03] <desperate> the cms now shows the default field name 'Category'
1231: [11:32:31] <desperate> i select a new category from the drop-down
1232: [11:32:34] <desperate> save
1233: [11:32:46] <desperate> but the backend doesn't update
1234: [11:33:31] <kinglozzer> desperate: Can you paste your Book DataObject somewhere?
1235: [11:33:53] <desperate> yes one second
1236: [11:35:59] * wilsonstaff has joined #silverstripe
1237: [11:36:50] <wilsonstaff> Hi to all, trying to reach ss23 - recommended by Will R. Thanks!
1238: [11:37:13] <Pysnoozek> so you thought you'd try at 11:30pm?
1239: [11:37:47] <wilsonstaff> Well, its 7:30 where i am and i dont know where ss23 lives......
1240: [11:38:01] <wilsonstaff> 7:30 am i must add :-)
1241: [11:38:04] <Pysnoozek> Lucky for you he's semi-allertic to sleep :P
1242: [11:38:08] <Pysnoozek> allergic*
1243: [11:38:58] <Pysnoozek> wilsonstaff: the general thing to do is not wait for someone, but instead ask your question and see if anyone from the community at large can give an answer (and be patient, it's often not instantaneous)
1244: [11:39:27] <Pysnoozek> if you ask for someone you'll be waiting forever :>
1245: [11:39:31] <desperate> http://paste2.org/CbcgXtct
1246: [11:40:18] <wilsonstaff> Ok, here it is. Long question following.
1247: [11:41:13] <Pysnoozek> good good, especially with the time difference between Canada and the future.
1248: [11:42:13] * danfo has joined #silverstripe
1249: [11:42:52] <wilsonstaff> . I wanted to ask ss23 because he made the module. The thing i am after must do a couple of things, amongst them : handle registration, keep people off from protected pages, etc. That a job for Membership module. But it must also send bulk mail to members. That a job for Newsletter. (more)
1250: [11:42:55] <kinglozzer> desperate: Looks okay, can you paste the Category class?
1251: [11:43:04] <wilsonstaff> What i need is to hook the two together so that Newsleter will dig onto Membership member DB and retrieve itsemails and build its (Newsletter's) mailing list. That list must update after a new member joins the club!
1252: [11:43:20] <Pysnoozek> ok desperate, renameField is actually retitleField anyway http://api.silverstripe.org/3.1/source-class-FieldList.html#234-248
1253: [11:43:48] <desperate> ok so i need to fix that
1254: [11:43:59] <Pysnoozek> ss23 makes modules these days?
1255: [11:44:00] <Pysnoozek> ha
1256: [11:44:12] <Pysnoozek> do you have a link to this module wilsonstaff ?
1257: [11:44:25] <wilsonstaff> Hasnt he produce Newsletter?
1258: [11:44:34] <Pysnoozek> Nope.
1259: [11:44:45] <Pysnoozek> nore any registration module that I'm aware of.
1260: [11:44:49] <Pysnoozek> nor*
1261: [11:45:02] <wilsonstaff> https://github.com/silverstripe-labs/silverstripe-newsletter
1262: [11:45:24] <Pysnoozek> yeah, ss23 made the latest update to it.
1263: [11:45:39] <Pysnoozek> he didn't create it.
1264: [11:45:53] * UncleCheese quit (Quit: UncleCheese)
1265: [11:46:16] <wilsonstaff> Anyhow, i will build upon the answer to this question: What i need is to hook the two together so that Newsleter will dig onto Membership member DB and retrieve itsemails and build its (Newsletter's) mailing list. That list must update after a new member joins the club!
1266: [11:47:21] <desperate> here is my 'Categories' paste
1267: [11:47:22] <desperate> http://paste2.org/aAGCL5eJ
1268: [11:47:26] <wilsonstaff> Or can Membership module (from A. S.) can send mail to its members? Out of the box or by entending it.
1269: [11:47:34] <Pysnoozek> so it sounds like you pretty much just want Member::get()->filter('Clubs', array(list,of,club,ids))->column('email')
1270: [11:48:36] <wilsonstaff> Kind of. Would i be able to send HTML mails? À-la-Mailchimp?
1271: [11:48:42] <Pysnoozek> lol desperate, those ?> are killing me, oblitterate them please.
1272: [11:48:59] <Pysnoozek> wilsonstaff: I dunno, depends on what you do with the list.
1273: [11:49:40] <desperate> is this better? http://paste2.org/gjzbGDbs
1274: [11:49:45] <kinglozzer> desperate: My guess would be that using the relation editor forces the ID to be the 'current' Category ID, not sure though
1275: [11:49:48] <Pysnoozek> Yes.
1276: [11:50:02] <kinglozzer> Well, you might want an opening tag, but yeah :P
1277: [11:50:07] <Pysnoozek> lol, yeah.
1278: [11:50:08] <Pysnoozek> haha
1279: [11:50:11] <desperate> lol
1280: [11:50:26] <danfo> Hi, how would you change one page’s children to not be nested… for their URLs to be siblings?
1281: [11:50:41] <Pysnoozek> make them not children.
1282: [11:50:49] <kinglozzer> danfo: You can't
1283: [11:50:54] <kinglozzer> Or use VirtualPage perhaps
1284: [11:50:55] <kinglozzer> IDk
1285: [11:50:55] <danfo> there are a lot of pages and the heirachy is used in their display, but the URLs need to be shorter
1286: [11:50:55] <Pysnoozek> well you can, yes.
1287: [11:51:07] <Pysnoozek> danfo: why?
1288: [11:51:14] <kinglozzer> danfo: VirtualPage?
1289: [11:51:17] <Pysnoozek> are you allergic to long urls?
1290: [11:51:25] <danfo> client request… SEO apparently
1291: [11:51:26] <Pysnoozek> kinglozzer: you mean RedirectorPage, right?
1292: [11:51:32] <kinglozzer> No
1293: [11:51:34] <Pysnoozek> danfo: client is a fucking moron,
1294: [11:51:36] <guzzlefry> SEO >_>
1295: [11:51:39] <danfo> :D
1296: [11:51:42] <danfo> wellll
1297: [11:51:45] <Pysnoozek> issue them a kick, tell them to stop being so fucking stupid
1298: [11:51:47] <danfo> I’d like to try for them
1299: [11:51:54] <Pysnoozek> well, redirector page then.
1300: [11:51:59] <kinglozzer> Pysnoozek: Isn't that what a VirtualPage does? Display one page's content, but with a different URL
1301: [11:52:10] <Pysnoozek> kinglozzer: yes, in a duplicate type style.
1302: [11:52:13] <kinglozzer> Yeah
1303: [11:52:14] <wilsonstaff> Pysnoozek ¬> I dunno, depends on what you do with the list. => All i want to do with the list, apart from its own functionnalities, it use the member's emails to send HTML (or not) mails.
1304: [11:52:15] <kinglozzer> Sorted
1305: [11:52:17] <kinglozzer> :P
1306: [11:52:21] <danfo> VirtualPage for every Page?
1307: [11:52:24] <Pysnoozek> redirector will allow the link to be nested, then move the user onto the actual page.
1308: [11:52:26] <Pysnoozek> when clicked.
1309: [11:52:33] <Pysnoozek> danfo: no, you need a real copy somehwere
1310: [11:52:45] * Shrike_Finland quit (Ping timeout: 265 seconds)
1311: [11:52:56] <kinglozzer> danfo: You'd have to add a VirtualPage for every page with a URL you wanted to shorten/un-nest
1312: [11:53:04] <kinglozzer> Or disable nesting globally, but that's ugly
1313: [11:53:09] <Pysnoozek> wilsonstaff: so you should give the list of addresses to as a to argument to an email system.
1314: [11:53:14] <wilsonstaff> Need to go have breakfast! Its 7:55 am in Montreal. Back in 20 minutes,
1315: [11:53:19] <Pysnoozek> be that mailchimp, newsletter module, whatevers.
1316: [11:53:21] <kinglozzer> And would probably fuck up existing SEO work, so don't do that :P
1317: [11:53:38] <Pysnoozek> long story short, SEO LIKES LONG URLS
1318: [11:53:47] <danfo> :D
1319: [11:53:50] <Pysnoozek> more descriptive, more benefit.
1320: [11:54:20] <desperate> this is killing me... simply relation and it won't update
1321: [11:54:21] <Pysnoozek> otherwise we may as well just have mysite.com/fuckthisisawesome?p=235211
1322: [11:54:32] <Pysnoozek> desperate: because you're doing it wrong.
1323: [11:54:44] <desperate> which bit is wrong
1324: [11:54:51] <Pysnoozek> any number of bits
1325: [11:55:00] <Pysnoozek> probably the most significat bit though.
1326: [11:55:03] <Pysnoozek> for sure.
1327: [11:55:38] <kinglozzer> desperate: If you need to move items between categories, then it's probably best to do it as a ModelAdmin as Pysnoozek suggested
1328: [11:55:58] <kinglozzer> Otherwise you're editing an item in CategoryA, and it then disappears as soon as you move its category
1329: [11:56:12] <desperate> is model admin a steep learning curve
1330: [11:56:37] <danfo> client wanted shorter URLs possibly for user benefit… ie better for brochures to have example.com/features/detail rather than example.com/features/a-feature/detail
1331: [11:56:42] <Pysnoozek> desperate: no.
1332: [11:56:54] <Pysnoozek> it's bascially just a gridfield.
1333: [11:56:56] <kinglozzer> danfo: Yeah, VirtualPage and RedirectorPage are your two options
1334: [11:56:57] <danfo> but then contacted their SEO consultants… who said the shorter was better
1335: [11:57:06] <danfo> ok
1336: [11:57:07] <danfo> thanks so much!
1337: [11:57:08] <Pysnoozek> so yes, since you find gridfield confusing I guess.
1338: [11:57:31] <Pysnoozek> danfo: yeah, you want redirector.
1339: [11:57:44] <Pysnoozek> SEO nutjobs will go mad when they see 'duplicate content' on the site.
1340: [11:57:44] <danfo> ta
1341: [11:57:47] <Pysnoozek> (same page on 2 urls)
1342: [11:57:55] <kinglozzer> Yeah that's a good point ^^
1343: [11:58:05] <danfo> haha ok thanks
1344: [11:58:28] <Pysnoozek> so basically just have the page in the normal spot, then make a top level redirector hidden from menus to access it purely for brochure purposes.
1345: [11:58:43] <Pysnoozek> example.com/category/service/details
1346: [11:58:51] <desperate> cool ok just reading the manual
1347: [11:59:06] <Pysnoozek> example.com/brochuresfuckmyurlstructure -> ^#
1348: [11:59:39] <Pysnoozek> omg fuck yes 30 seconds to sandwich tme.
1349: [12:00:39] <danfo> :D
1350: [12:04:44] * UndefinedOffset has joined #silverstripe
1351: [12:05:57] <Pysnoozek> :( it's gone
1352: [12:07:15] <danfo> poor sandwich.
1353: [12:07:50] <Pysnoozek> I think you mean fantastic.
1354: [12:08:44] <danfo> nah I’m just passing on my sympathies for the sandwich.
1355: [12:10:02] * Tanger quit (Quit: Tanger)
1356: [12:10:06] * stripee has joined #silverstripe
1357: [12:11:40] <Pysnoozek> DEVOURED
1358: [12:11:40] * ARNHOE quit (Read error: Connection reset by peer)
1359: [12:12:25] * ARNHOE has joined #silverstripe
1360: [12:15:07] <ss23> wilsonstaff: Hi!
1361: [12:15:11] <ss23> I am ss23! You have reached m! :D
1362: [12:15:50] <stripee> i want to intact the date and time to an image when a new image is uploaded. how can this be done?
1363: [12:16:10] <guzzlefry> uhm
1364: [12:16:41] <guzzlefry> stripee: There's a Created and LastEdited(or something) on every single DataObject.
1365: [12:18:01] <guzzlefry> If I'm interpreting the question correctly.
1366: [12:18:21] <stripee> how can that be retreived ?
1367: [12:18:27] * Fisix_AIX quit (Quit: Leaving)
1368: [12:18:45] <guzzlefry> $image->Created;
1369: [12:18:48] <ss23> wilsonstaff: Hmm, it's quite late here, so I can't be of much help. As Pysnoozek said, I did not write it. Intergration wouldn't be quick, but it would probably be *reasonably* simple. I'm not sure how you would go about ti best though. It depends on your use case
1370: [12:19:11] <ss23> wilsonstaff: I think you will probably have to make an attempt at it and see what you come up with first. I don't have time to try out things myself. But you are welcome to ask questions!
1371: [12:19:32] <stripee> i need to write a function extending the image class so that on image upload it contains date ant time (in seconds too) ...
1372: [12:19:48] * bwaah_ quit (Ping timeout: 240 seconds)
1373: [12:21:23] <guzzlefry> stripee: no need, it already does
1374: [12:21:36] <desperate> what's up with this model admin: http://paste2.org/W0PMHV9K
1375: [12:21:55] <desperate> ah i think it works actually
1376: [12:22:25] <desperate> flush issue
1377: [12:22:43] <Pysnoozek> well for starters it will be linked as admin/books, not admin/products
1378: [12:23:00] <svandragt> Pysnoozek: lol
1379: [12:23:04] <Pysnoozek> but otherwise yeh, its fine.
1380: [12:24:01] * bwaah_ has joined #silverstripe
1381: [12:25:57] <desperate> cool it works
1382: [12:26:04] <desperate> i can now change the category!
1383: [12:26:10] <wilsonstaff> ss23 => ok i am back. As i said, i a mtrying to use only one mudule - be it Newsletter or Membership. If possible, id be using the one that is the closest to what i need and try to extend it. This is where i need your (and other's) input.
1384: [12:27:15] <ss23> wilsonstaff: At a guess, you would be better to build on Newsletter module then. SilverStripe already has as Membership system you can leverage for most things
1385: [12:27:24] <wilsonstaff> MEMBERSHIP will handle registrations, handle protected pages, the usual stuff. BUT => can it use its DB to send mail (HTML mail or not) to all of its members?
1386: [12:27:29] <desperate> i guess I should now remove the 'books' tab from the categories in the CMS
1387: [12:27:39] <desperate> as books are handled by SMC
1388: [12:27:44] <desperate> model admin
1389: [12:27:46] <ss23> wilsonstaff: I'm not really understanding you properly I don't think sorry! I'm not sure I can help :S
1390: [12:27:47] <desperate> *
1391: [12:29:01] <wilsonstaff> SS has a membership buil-in. But i thought that members have to be added manually?
1392: [12:29:33] <ss23> Generally, yes, but you can add new people without a lot of effort. See how the Newsletter registration stuff works for an example perhaps
1393: [12:29:50] <ss23> wilsonstaff: My thoughts are basically that it's easier to write the new member / admin stuff than it is to write a good way to send newsletters
1394: [12:29:55] <ss23> That being said, the Newsletter module kind of sucks and is buggy
1395: [12:31:02] <wilsonstaff> +ss23 => sorry. English isnt my main language. Ok then, can one retrieves the members email addresses (from Membership) and send mails (HTML and standard) to that list?
1396: [12:33:01] <wilsonstaff> +ss23 => i cant ask my client to add members via the CMS. They are barely able to handle the texts..... It ends up in a big mess of styles...
1397: [12:34:38] <ss23> wilsonstaff: You do not have to add memebers via the CMS, you can write PHP to make it so people can register themselves, or automate it if you like
1398: [12:35:48] * bwaah_ quit (Ping timeout: 240 seconds)
1399: [12:36:18] * stripee quit (Ping timeout: 240 seconds)
1400: [12:36:53] <wilsonstaff> +ss23 => and alongside skip the Membership module? Why would i write PHP if Membership is just built for that? It ends up to two simple questions: Can Membership be made to retrieve its members email adresses
1401: [12:37:19] <ss23> "Can Membership be made to retrieve its members email adresses"
1402: [12:37:23] <ss23> I don't really understand this question sorry
1403: [12:38:19] <wilsonstaff> Can Membership : 1) be made/extended to: get the emails adresses of its members list 2) be extended to send email to that list?
1404: [12:40:13] <wilsonstaff> +ss23 => those questions describe exactly what Newsletter is doing. But Newsletter (is buggy) and doesnt handle page protection.
1405: [12:40:58] <ss23> I don't understand 1, but 2 definitly
1406: [12:44:30] <wilsonstaff> +ss23 => 2) be extended to send email to that list. Ok lets build on that. All i need is A) retrieve Membership members email addresses b) send mail (HTML mails a-la-Mailchimp or simple mail) to that list. What would you suggest.
1407: [12:47:22] <ss23> You should easily be able to retrive email addresses in PHP with Member::get() then $member->Email, same as any SilverStripe stuff :)
1408: [12:47:37] <ss23> To send email is more complex, you would have to look at doing that yourself somehow, I am not sure the best way
1409: [12:47:43] <ss23> Maybe look for a Mailchimp module if you wish to use it?
1410: [12:50:19] <wilsonstaff> +ss23 => thats the main thing i am trying to do: use only one module and do not cross-over 2 modules, if possible. (more below)
1411: [12:51:20] <ss23> I am not sure why you only want to use one module. You really need more than one for this, whether you write it yourself or get one prebuilt
1412: [12:51:36] <wilsonstaff> +ss23 => Other solution i thought would be to use MEMBERSHIP for its purpose and send its email adresses (and names) to the NEWSLETTER (or other system) mailing list.
1413: [12:57:33] <Alfirin> Is there a safe way to add new fields into memberprofiles?
1414: [12:59:46] * camel_case has joined #silverstripe
1415: [13:03:05] <Pysnoozek> wilsonstaff: you can do whatever with whatever. I don't see the aversion to using 2 modules.
1416: [13:04:41] <Pysnoozek> the data just goes into the database. You can get it back out however you want.
1417: [13:05:03] <Pysnoozek> the membership registration module doesn't need to be able to do that, Silverstripe is able to.
1418: [13:08:33] <desperate> Pysnoozek: kinglozzer Thank you for you help the model admin works well
1419: [13:09:08] <desperate> without model admin I was never hppy because you had to no which category a book belonged to in order to edit it
1420: [13:09:21] <wilsonstaff> Pysnoozek => if SS can do what Membership does, what is the point to Membership????
1421: [13:09:22] <desperate> so if you did not know it was a case of searching eah category for the book
1422: [13:09:30] <Pysnoozek> wilsonstaff: easyness.
1423: [13:09:57] <Pysnoozek> wilsonstaff: from memory the way it's set up is to kind of facilitate a social page type thing.
1424: [13:10:02] <Pysnoozek> a communty.
1425: [13:10:27] <Pysnoozek> It's a short cut way for people to have registration on their site, with each user getting their own details page, etc.
1426: [13:10:47] <Pysnoozek> SS has to let people sign in, otherwise the CMS would be a bit useless.
1427: [13:11:14] <Pysnoozek> so registration is all handled there. The module just uses that to supply registration too.
1428: [13:11:22] <Pysnoozek> (and have it configurable via the cms)
1429: [13:13:39] * camel_case quit ()
1430: [13:15:46] <wilsonstaff> Pysnoozek => i know SS has some sort of membership handling. But as i said, i has to be added manually (or by PHP it).
1431: [13:17:22] <wilsonstaff> Pysnoozek => leaves me with this: export the NEWSLETTER members credentials to build the NEWSLETTER mailing list. As client only wants ONE list of members. That list would be used as members list and newsletters recipients.
1432: [13:17:38] * Error404NotFound has joined #silverstripe
1433: [13:17:51] <wilsonstaff> Pysnoozek => SORRY leaves me with this: export the *MEMBERSHIP* members credentials to build the NEWSLETTER mailing list. As client only wants ONE list of members. That list would be used as members list and newsletters recipients.
1434: [13:24:20] * Alboes has joined #silverstripe
1435: [13:26:07] <Alboes> hi. How can I add the delete button to all my gridfield summaries?
1436: [13:30:22] <Pysnoozek> wilsonstaff: you're confusing these modules to be separate systems.
1437: [13:30:35] <Pysnoozek> they just add on to silverstripe, they don't maintain their own members or anything.
1438: [13:30:44] <Pysnoozek> there's nothing to export.
1439: [13:31:58] <Pysnoozek> and if you don't have to actually worry about the actual emailing part, then as I said earlier, Member::get()->filter(<see orm reference>)->column('Email') will get you one long list of emails for registered members matching the criteria supplied in filter()
1440: [13:34:26] * anselmdk has joined #silverstripe
1441: [13:34:30] * anselmdk quit (Client Quit)
1442: [13:35:49] <Pysnoozek> Alboes: use the appropriate config if one exists to facilitate what you wish, or modify/build one to suit.
1443: [13:36:39] <Pysnoozek> http://doc.silverstripe.org/framework/en/reference/grid-field#editing-records-with-gridfieldconfig-recordeditor
1444: [13:36:47] <Pysnoozek> http://doc.silverstripe.org/framework/en/reference/grid-field#gridfieldcomponents
1445: [13:37:11] <Pysnoozek> http://api.silverstripe.org/3.1/class-GridFieldDeleteAction.html
1446: [13:39:18] * Alfirin quit (Ping timeout: 240 seconds)
1447: [13:41:09] <wilsonstaff> Pysnoozek => just poked you
1448: [13:42:10] <Alboes> thanks
1449: [13:47:39] <Pysnoozek> what?
1450: [13:51:22] <wilsonstaff> Pysnoozek => contacted you on a private channel ;-)
1451: [13:53:41] <Pysnoozek> that's just a private/direct message, nothing to do with fingers in places I'd rather they not go!
1452: [13:53:43] <Pysnoozek> :P
1453: [13:54:39] <wilsonstaff> Sorry i thought that the term was to poke!!!!!
1454: [13:55:02] <Pysnoozek> only on MSN messenger or whatever it is.
1455: [13:59:17] <Pysnoozek> or was... 10 years ago
1456: [14:00:14] <Pysnoozek> but IRC is older than that :P
1457: [14:01:25] * spronk2 quit (Quit: spronk2)
1458: [14:09:12] * scpi has joined #silverstripe
1459: [14:13:58] * Colin[pi] quit (Ping timeout: 240 seconds)
1460: [14:18:28] * wilsonstaff quit (Quit: Page closed)
1461: [14:42:12] <kinglozzer> MSN messenger <3333
1462: [14:42:19] * kinglozzer is late to the retro party
1463: [14:44:39] <Pysnoozek> gawd kinglozzer
1464: [14:44:51] <Pysnoozek> what a young guy, ICQ is where it's at, gosh.
1465: [14:44:59] * kinglozzer has no idea what that is
1466: [14:45:10] * Pysnoozek parties like it's 1998
1467: [14:45:20] <kinglozzer> Is that what they use in the care home?
1468: [14:45:24] <kinglozzer> huehue
1469: [14:45:29] <Pysnoozek> hurr hurr
1470: [14:45:49] <Pysnoozek> it was bought by aol, or aol bought it, or something.
1471: [14:46:22] <Pysnoozek> it was the IM before IM was 'cool'.
1472: [14:46:53] * Alboes quit (Remote host closed the connection)
1473: [14:46:54] <Pysnoozek> still going btw kinglozzer
1474: [14:47:10] <Pysnoozek> http://en.wikipedia.org/wiki/ICQ
1475: [14:47:13] <kinglozzer> Pysnoozek: Bebo is also still going
1476: [14:47:20] <kinglozzer> :P
1477: [14:47:51] <Pysnoozek> kinglozzer: nah, by 'before it was cool' I mean 'was the first'.
1478: [14:48:19] <Pysnoozek> evolution of internets live chat: IRC -> ICQ
1479: [14:48:21] <kinglozzer> MSN is a far back as my childhood goes
1480: [14:48:24] <Pysnoozek> then along came MSN
1481: [14:48:28] <kinglozzer> Plus Xfire
1482: [14:48:32] <kinglozzer> gawd
1483: [14:48:35] <Pysnoozek> and all the girls ued that because girls dumb.
1484: [14:48:48] <Pysnoozek> so then all the boys used it, because it's where the girls are.
1485: [14:48:56] <Pysnoozek> then ICQ faded away :<
1486: [14:49:05] <Pysnoozek> I still use it though.
1487: [14:49:06] <kinglozzer> Pysnoozek: Yeah but I was a 1337 hacker and installed the tweak where you could send people 1000 nudges per second
1488: [14:49:16] <kinglozzer> BEST SCRIPT EVER
1489: [14:49:16] <Pysnoozek> beats the fuck out of getting 20 spam messages a second on MSN
1490: [14:49:25] <Pysnoozek> hahahaha
1491: [14:49:30] <Pysnoozek> nudge, that's right. It's not poke.
1492: [14:49:33] <Pysnoozek> poke is facebook right?
1493: [14:49:34] <kinglozzer> :P
1494: [14:49:35] <Pysnoozek> idk.
1495: [14:49:36] <kinglozzer> Yup
1496: [14:49:44] <kinglozzer> Idk if it still exists, but it was Facebook
1497: [14:50:12] <Pysnoozek> nudge only came about a while after msn was popular.
1498: [14:50:37] <Pysnoozek> it was ok, you just told trillian to ignore them anyway
1499: [14:51:56] <Pysnoozek> or gaim (now pidgin)
1500: [14:52:15] <Pysnoozek> might have been pidgin by that point, it was somewhere around then
1501: [14:53:55] * r3v3rb has joined #silverstripe
1502: [14:53:55] <r3v3rb> helloooo
1503: [14:53:59] <r3v3rb> hello
1504: [14:54:32] <r3v3rb> if I have a variable in my Page class index function how can I access that from a class extended from Page
1505: [14:55:28] <desperate> Pysnoozek: Remember my scenario of book and categories... my category has_many books
1506: [14:55:54] <Pysnoozek> no?
1507: [14:56:02] <desperate> this creates a tab automatically which lists the books which below to th category page when viewed in the cms
1508: [14:56:12] <desperate> I want to remove this tab because I am using model admin
1509: [14:56:31] <desperate> $fields->removeFieldFromTab("Root", "Books");
1510: [14:56:35] <r3v3rb> removeByName('Tab') ?
1511: [14:56:46] <desperate> where 'Books' is the name of the relation
1512: [14:56:48] <Pysnoozek> ^
1513: [14:56:53] <desperate> ok will try that
1514: [14:57:09] <r3v3rb> Pysnoozek, that may be a red herring :)
1515: [14:57:19] * cloph quit (Remote host closed the connection)
1516: [14:58:14] <r3v3rb> Pysnoozek, so $a in index() of parent class - need to access in child (extends) class <- $this->owner = no
1517: [14:58:46] <Pysnoozek> uhh
1518: [14:58:50] <Pysnoozek> huh?
1519: [14:59:04] <Pysnoozek> parent::index() ?
1520: [14:59:19] * Guits quit (Ping timeout: 265 seconds)
1521: [15:00:40] * cloph_away has joined #silverstripe
1522: [15:01:25] * Alfirin has joined #silverstripe
1523: [15:03:39] * cloph has joined #silverstripe
1524: [15:05:48] * cloph_away quit (Ping timeout: 276 seconds)
1525: [15:29:12] * cloph quit (Ping timeout: 276 seconds)
1526: [15:29:18] * cloph_away has joined #silverstripe
1527: [15:29:43] * jenniferaslan has joined #silverstripe
1528: [15:30:56] * ARNHOE quit ()
1529: [15:32:28] * eagles0513875 has joined #silverstripe
1530: [15:32:46] <eagles0513875> hey guys how can i create a custom page which works with custom coded php?
1531: [15:32:58] <eagles0513875> a standard page type but it will work with hand coded php.
1532: [15:33:13] <Pysnoozek> you mean same as any other page?
1533: [15:33:47] <Pysnoozek> just to be clear, SilverStripe does not code PHP for you.
1534: [15:34:09] <Pysnoozek> well, unless you employ the company to do so.
1535: [15:34:11] <eagles0513875> Pysnoozek: obviously
1536: [15:34:17] <eagles0513875> im going to be coding the php myself
1537: [15:34:22] <Pysnoozek> what do you mean 'hand coded' then?
1538: [15:34:23] <scpi> Did you do the tutorials? I think tutorial 2 "extending a basic site" will get you started.
1539: [15:34:39] <eagles0513875> scpi: no i didnt, but will do it now
1540: [15:34:41] <Pysnoozek> I think you'll find that all pages are pure php, hand coded.
1541: [15:34:45] <eagles0513875> Pysnoozek: coded by me
1542: [15:34:50] <scpi> http://doc.silverstripe.org/framework/en/tutorials/
1543: [15:34:51] <Pysnoozek> by you.
1544: [15:34:53] <eagles0513875> ok let me look at the tutorials
1545: [15:34:58] <Pysnoozek> yep :>
1546: [15:35:13] <Pysnoozek> best place to start. Read all 5, not just half of one!
1547: [15:35:13] <Pysnoozek> :>
1548: [15:36:16] <eagles0513875> ya ill do that a bit later on once i finish what I am currently working on :)
1549: [15:37:15] <Pysnoozek> They're short and easy, but actually very useful.
1550: [15:43:22] <Alfirin> Hey, I tried the member role extension http://doc.silverstripe.org/framework/en/reference/member but I keep getting error "Class MyMemberExtension does not exist". I put php file of that name into mysite/code, was there somethig I missed?
1551: [15:44:37] <kinglozzer> Alfirin: /dev/build?flush=1 ?
1552: [15:45:11] <Pysnoozek> ^
1553: [15:48:01] <Alfirin> Luckily, I wasn't dumb enough to forget that, I get server error for my trouble
1554: [15:48:25] <Alfirin> That's the first thing I do when something doesn't work
1555: [15:48:31] <Alfirin> Always. Constantly.
1556: [15:49:46] <Pysnoozek> good habit
1557: [15:49:52] <Pysnoozek> what does error say?
1558: [15:51:17] <Alfirin> Just SS standard internal server error, here's the trackback I got http://pastebin.com/JyHqUmTi
1559: [15:51:36] <Alfirin> It's probably some really simple mistake, like a typo or something
1560: [15:55:24] <kinglozzer> Alfirin: Is the class definitely named 'MyMemberExtension' inside MyMemberExtension.php ?
1561: [15:56:13] <desperate> if my dataobject stores a rating/score
1562: [15:56:36] <desperate> in my template I loop a function which gets the scores
1563: [15:57:00] <desperate> but I want to now loop n times... where n is the score
1564: [15:57:11] <desperate> to display an image of a star n times
1565: [15:57:15] <desperate> is that possiblt
1566: [15:57:19] <desperate> possible
1567: [15:58:58] <Alfirin> kinglozzer, I assume so, since I copy-pasted pretty much everything I own
1568: [15:59:32] <Pysnoozek> desperate: do it in PHP, or use css classes
1569: [16:00:07] <Pysnoozek> you might find ArrayList useful.
1570: [16:00:17] <desperate> hmmm
1571: [16:00:56] <desperate> so i have an array which represents the scores
1572: [16:01:07] <desperate> an index for exach score
1573: [16:04:21] <desperate> each controller function can return only one object right?
1574: [16:04:51] <desperate> so I'll just write a new one to get the score
1575: [16:04:56] <desperate> it seems a little inefficient
1576: [16:05:26] <Pysnoozek> only if you've designed it that way
1577: [16:05:42] <Pysnoozek> I don't understand what you've got and what you need
1578: [16:05:47] <desperate> what if I set a div with a background image which is my star
1579: [16:05:56] <desperate> if the star is 25px wide
1580: [16:05:58] <Pysnoozek> and any function in any language ever can only return one value.
1581: [16:06:25] <desperate> in the template I can use in line css to make the div n*25px wide
1582: [16:06:36] <desperate> that'd work I think
1583: [16:06:53] <desperate> a bit hacky but will do the job
1584: [16:07:20] <desperate> yeah I hear you Pysnoozek.. doesn't a function by definition have a single output.. long day
1585: [16:10:54] * Alfirin is now known as Alf^afk
1586: [16:11:21] * r3v3rb quit (Quit: Textual IRC Client: www.textualapp.com)
1587: [16:12:23] <eagles0513875> i saw in tutorial one the mention of modules are there prebuilt modules available for installation into ones silver stripe site?
1588: [16:12:51] <Pysnoozek> yes
1589: [16:13:00] <Pysnoozek> addons.silverstripe.org
1590: [16:13:03] <eagles0513875> ty
1591: [16:13:59] * Pysnoozek has left #silverstripe
1592: [16:24:50] * Alf^afk is now known as Alfirin
1593: [16:26:54] * kinglozzer quit ()
1594: [16:30:01] * stnvh quit ()
1595: [16:32:32] * danfo quit (Quit: danfo)
1596: [16:37:13] * anselmdk has joined #silverstripe
1597: [16:40:43] <desperate> what is the syntax if I want to do insert a variable into a template without a space
1598: [16:40:58] <desperate> style="width:.$Rating.px;
1599: [16:41:24] <marvanni> {$Rating}.px
1600: [16:44:39] <desperate> thank you
1601: [16:45:07] <desperate> can i operate on the var in the template, I suspect not. ie. {$rating*24)px
1602: [16:48:29] <desperate> no that does'nt work!
1603: [16:49:30] <guzzlefry> yeah, pass it to the view instead
1604: [16:49:49] <guzzlefry> You want to do as little calculation as possible in the template.
1605: [16:56:55] <desperate> the function is a simple get:: db query
1606: [16:57:27] <desperate> $res=Book::get()->filter(array('ID' => $_GET['bookid']));
1607: [16:57:54] <desperate> Reviews is dataobject... books has_many reviews
1608: [16:58:26] <desperate> in the template I can access the reviews by looping $Reviews
1609: [16:59:05] <desperate> is it possible to therefore workout how I would manipulate this data in the controller before passing it to template?
1610: [17:00:43] <Alfirin> I just can't get rid of that internal server error I got earlier. I've deleted all mention of myMemberExtension, but the site won't come back up
1611: [17:02:08] <scpi> anything in the php error logs?
1612: [17:06:23] <Alfirin> PHP Fatal error: Object::add_extension() - Can't find extension class for "MyMember", it's from two hours ago
1613: [17:17:58] * gelignite has joined #silverstripe
1614: [17:22:43] <desperate> guys.... my data object books has_many reviews (also a dataobject
1615: [17:22:58] <desperate> if I get::books where id=x
1616: [17:23:29] * svandragt quit (Ping timeout: 252 seconds)
1617: [17:23:50] <desperate> I can see the id of the book foreach($res as $test){ print_r($trst->ID); }
1618: [17:24:02] <desperate> how do I get at the reviews
1619: [17:24:17] <desperate> $test->Reviews?
1620: [17:25:07] * anselmdk quit (Quit: anselmdk)
1621: [17:25:39] * anselmdk has joined #silverstripe
1622: [17:25:59] * anselmdk quit (Client Quit)
1623: [17:26:21] * CodeTrap has joined #silverstripe
1624: [17:32:58] <desperate> anyone know how unpick a dataobject sql result
1625: [17:33:06] <desperate> what a headache!
1626: [17:34:14] * ARNHOE has joined #silverstripe
1627: [17:40:48] * stripee has joined #silverstripe
1628: [17:41:03] <Alfirin> I don't get it. Nothing anywhere asks for MyMemberExtension, but that's the only error I get out of this
1629: [17:41:24] <Alfirin> I can't even dev/build because of the internal server error
1630: [17:44:25] <desperate> i think this is the quiet period when no one is around
1631: [17:46:07] <stripee> alfirin check the server and database name in _config.php
1632: [17:46:24] <Alfirin> Sort of ruins the idea of replacing forums with this, but I can't blame them, I'm sure they have better things to do than guide noobs around
1633: [17:47:07] <Alfirin> stripee, the server and db name have been unchanged for almost two years now, I can't see how they could be to blame
1634: [17:47:21] <scpi> Actually, if you want to build a community of developers, there's not much that's more important than guiding noobs around.
1635: [17:48:16] <scpi> Can you run a syntax check on your php files just to make sure you haven't overlooked anything silly?
1636: [17:49:23] <stripee> alfirin are you using varnish?
1637: [17:50:33] <Alfirin> No, I've never even heard of it
1638: [17:50:43] <desperate> Alfirin: this community is awesome bettr than any forum
1639: [17:50:57] <scpi> only when there's people here
1640: [17:51:05] <desperate> i think a lot of people in europe leave work at this hour and down under they are coming online
1641: [17:51:37] <Alfirin> If they posted in their forum, they'd avoid having to explain the same thing dozens of times over
1642: [17:52:03] <Alfirin> Now each noob comes around and asks the same dumb things on weekly basis
1643: [17:52:12] <Alfirin> and those too afraid to ask directly just give up
1644: [17:52:53] <scpi> on a forum, you link to the previously answered question. Here, you either actually answer the question over and over again, or there's just silence as the tumbleweeds go rolling by.
1645: [17:53:11] * spronk quit (Ping timeout: 252 seconds)
1646: [17:53:23] <Alfirin> Exactly, and there's tons of tumbleweeds here these days
1647: [17:53:33] <Alfirin> I get that people have lives, but I need help right now
1648: [17:53:45] <Alfirin> How dare they inconvenience me?
1649: [17:54:56] <Alfirin> If it sounds like I'm pissed it's only because I am. I'm already a month behind the schedule and my client is not happy
1650: [17:55:23] <scpi> Yeah, the state of the documentation has improved, but it's still not great.
1651: [17:56:59] <Alfirin> Yeah, and most of the documentation that exists isn't really noob friendly
1652: [17:57:34] <Alfirin> I mean, sure, if I were a developer, I'd probably have no problem with piecing together this massive puzzle, but I'm not
1653: [17:58:15] <scpi> I run into the same problems. I'm sort of a half-developer. But I'm what we've got in my department of 1.
1654: [17:59:06] <desperate> anyone know what's up with this...
1655: [17:59:20] <desperate> $reviews->Rating=100;
1656: [17:59:36] <desperate> but in my template I don't get the value I have assigned
1657: [17:59:55] <desperate> it reverts to the value which was grabbed from the db
1658: [18:00:13] <desperate> but when I echo the value in the controller I see 100 as expected
1659: [18:01:06] <scpi> I was having a similar problem this morning. I don't think I'm entirely clear on the magic that pulls data into templates, what you can refer to and what you can't, or how to make that data available.
1660: [18:02:54] <desperate> strange
1661: [18:03:52] <scpi> and I'm having trouble finding answers in the docs
1662: [18:04:35] <desperate> what is your issue scpi?
1663: [18:06:17] * CodeTrap quit (Quit: CodeTrap)
1664: [18:06:30] <desperate> are dataobject get:: results protected?
1665: [18:06:33] * cloph_away is now known as cloph
1666: [18:06:49] <scpi> Say I create a function foo() in my Page.php that returns a value. Not a value saved in a database, just a value calculated in the function itself. Then I want to insert that value into a template as <% $foo %>
1667: [18:06:56] <desperate> I seem to have over written a value but can 't get the new value in my template
1668: [18:07:03] <scpi> But it doesn't seem to work that way.
1669: [18:07:28] <desperate> yeah but you need to loop the function i believe
1670: [18:07:34] <scpi> I know I must be doing something wrong, but the docs aren't helping me figure out what.
1671: [18:07:49] <scpi> I don't need to loop over an array of results, it's just one value
1672: [18:08:30] <desperate> I think you have ot reference the function though
1673: [18:08:33] <desperate> control
1674: [18:08:54] * r3v3rb has joined #silverstripe
1675: [18:09:08] <r3v3rb> anyone home?
1676: [18:09:19] <scpi> I'm not.
1677: [18:10:11] <Alfirin> I am, but I'm of no use
1678: [18:10:14] <scpi> when you say "reference the function", what do you mean exactly?
1679: [18:10:32] <desperate> you have a function which is throwing the data back right
1680: [18:10:50] <desperate> a function which is returning the value you want to shw in your template
1681: [18:11:02] <r3v3rb> Alfirin how do you know?
1682: [18:11:31] <r3v3rb> trying to find the actual function that creates the search from mysql db in the cms/framework
1683: [18:11:47] <Alfirin> I'm too tired and depressed to even watch the simpsons, how could I be of use to anyone?
1684: [18:12:37] <desperate> r3v3rb: you are probably bette roff righting your own
1685: [18:12:44] <desperate> that was the advice I was given on here
1686: [18:12:53] <desperate> as the built in one is quite limited
1687: [18:21:45] * Liquide has joined #silverstripe
1688: [18:22:55] * r3v3rb quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1689: [18:25:59] * Pyromanik has joined #silverstripe
1690: [18:28:38] * qlex has joined #silverstripe
1691: [18:28:42] * qlex has left #silverstripe
1692: [18:32:41] * Colin[pi] has joined #silverstripe
1693: [18:35:35] <stripee> i want to append date and time to the name of image being uploaded.how can this be done?
1694: [18:36:20] <stripee> something like this.......imagename_date_time.extension
1695: [18:40:48] * Alfirin quit (Ping timeout: 240 seconds)
1696: [18:42:44] * r3v3rb has joined #silverstripe
1697: [18:48:50] <stripee> anyione has solution to mi question?
1698: [18:53:26] * r3v3rb quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1699: [18:54:54] * anselmdk has joined #silverstripe
1700: [18:55:34] * ARNHOE quit ()
1701: [18:55:35] * anselmdk quit (Client Quit)
1702: [18:58:54] * r3v3rb has joined #silverstripe
1703: [19:02:45] * muskie9 has joined #silverstripe
1704: [19:06:38] <muskie9> if I have a page that has many dataobjects and have a dataextension applied to the dataobject, can I access the page's classname in the relation from the dataextension
1705: [19:08:03] <muskie9> I used to be able to use Controller::curr()->currentPage()->ClassName but doesn't seem to work anymore
1706: [19:08:59] <guzzlefry> uhm
1707: [19:09:23] <guzzlefry> $this->owner()->ClassName;
1708: [19:09:31] <guzzlefry> if I'm understanding correctly.
1709: [19:09:58] <guzzlefry> When inside the dataextension, $this->owner() will grab the DataObject.
1710: [19:10:38] <muskie9> right, is it possible to take it one step further and get the has_one related Page's
1711: [19:10:42] <muskie9> ClassName
1712: [19:11:14] <muskie9> or would I have to query based off of $this->owner->PageID
1713: [19:12:00] <guzzlefry> It should work.
1714: [19:12:45] <guzzlefry> Any call that you do within the DataObject itself can be done in the extension, but you're using $this->owner()->whatever() instead of $this->whatever()
1715: [19:16:32] <muskie9> so I'd have to do something like this: http://pastie.org/private/cjhpsqqwgi9zelvkbjljmq
1716: [19:17:11] <muskie9> I had done this in the past: http://pastie.org/private/9zwsohqnlcvnnqdszbzpbg
1717: [19:18:35] <muskie9> I need to hide a field in the cms based on the page type
1718: [19:18:54] <muskie9> so I'd use the class name in updateCMSFields in the data extension
1719: [19:19:47] <guzzlefry> muskie9: http://pastie.org/9125050
1720: [19:19:50] <guzzlefry> I think that'll work
1721: [19:21:01] <muskie9> ah, ya... now it makes sense. thanks guzzlefry
1722: [19:23:36] <guzzlefry> no problem
1723: [19:24:03] <muskie9> would that work on new records since the relation hasn't been set yet
1724: [19:24:12] * VRoxane quit (Quit: Page closed)
1725: [19:24:37] <muskie9> that may have been what I ran into last time
1726: [19:25:49] <guzzlefry> not sure
1727: [19:27:32] * r3v3rb quit (Quit: Textual IRC Client: www.textualapp.com)
1728: [19:27:47] * r3v3rb has joined #silverstripe
1729: [19:27:50] <r3v3rb> Pyromanik
1730: [19:27:54] <r3v3rb> hello sir
1731: [19:37:48] * antmas quit (Quit: Page closed)
1732: [19:38:10] * antmas has joined #silverstripe
1733: [19:39:49] * eagles0513875 quit (Quit: ZNC @ TrekWeb - https://trekweb.org)
1734: [19:45:32] * r3v3rb quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1735: [19:47:14] * eagles0513875 has joined #silverstripe
1736: [19:56:58] * Pyromanik quit (Ping timeout: 240 seconds)
1737: [20:06:25] * r3v3rb has joined #silverstripe
1738: [20:14:16] * UncleCheese_ has joined #silverstripe
1739: [20:14:19] * UncleCheese_ quit (Client Quit)
1740: [20:16:36] * stripee quit (Quit: Page closed)
1741: [20:18:47] * Ryan-Toast has joined #silverstripe
1742: [20:31:49] * UndefinedOffset quit (Quit: Leaving.)
1743: [20:32:55] <Ryan-Toast> What’s the field type that just displays the value? Or do you just use a literal field?
1744: [20:33:21] <Stomach> textfield setreadonly?
1745: [20:33:38] <Ryan-Toast> Stomach: Looks kind of shit :P
1746: [20:33:45] <Stomach> haha
1747: [20:33:51] <Stomach> then literalfield? :D
1748: [20:34:00] <Ryan-Toast> Yeah, may have to just do that.
1749: [20:34:02] <guzzlefry> TextField_Readonly?
1750: [20:34:05] <guzzlefry> or something like that
1751: [20:35:46] <antmas> :O
1752: [20:35:53] * nickmolhoek has joined #silverstripe
1753: [20:35:55] <antmas> left my headphones at home
1754: [20:35:59] <antmas> DISASTER
1755: [20:36:39] <guzzlefry> :(
1756: [20:37:32] <Colin[pi]> antmas: I always hated those days
1757: [20:38:01] <guzzlefry> Ryan-Toast: iirc, if you set the field disabled rather than readonly, it looked less crappy.
1758: [20:38:07] <antmas> I took it home to use for BF4 (headset) and forgot to bring it back
1759: [20:38:28] <Ryan-Toast> guzzlefry: ReadonlyField was the right one :)
1760: [20:38:35] <guzzlefry> oh :)
1761: [20:39:17] <Ryan-Toast> antmas: psst…my headphones are so comfy.
1762: [20:39:31] <Ryan-Toast> MUHAHAHAHA
1763: [20:41:55] * an_Eskimo has joined #silverstripe
1764: [20:49:11] <antmas> :(
1765: [20:49:31] <antmas> today is not a good day to NOT have headphones
1766: [20:50:00] <scpi> hey, be thankful you're allowed to have headphones
1767: [20:50:18] * Pyromanik has joined #silverstripe
1768: [20:51:38] * danfo has joined #silverstripe
1769: [20:51:49] <antmas> scpi: I can already tell your work sucks
1770: [20:51:53] <antmas> :P
1771: [20:51:59] <scpi> you're not wrong
1772: [20:52:04] <antmas> how can you NOT be allowed headphones?
1773: [20:52:32] <scpi> need to be able to hear if someone pages you or whatever
1774: [20:52:45] <antmas> scpi: you guys use pagers?!
1775: [20:52:50] <scpi> pages
1776: [20:52:52] <scpi> overhead
1777: [20:52:56] <scpi> intercom thing
1778: [20:53:00] <antmas> oh right
1779: [20:53:16] <antmas> your phone should really be linked to your pc
1780: [20:53:25] <antmas> if I get a call my screen goes crazy
1781: [20:53:28] <scpi> hahaha
1782: [20:53:30] <scpi> yeah, no.
1783: [20:53:35] <scpi> that's not in the budget
1784: [20:53:35] <antmas> dang
1785: [20:53:48] <scpi> and besides, it's not a call, it's a page
1786: [20:54:11] <scpi> intercom says "scpi, dial x123 please" when somebody wants to ask me something
1787: [20:54:24] <antmas> werid
1788: [20:54:27] <antmas> weird*
1789: [20:54:42] <antmas> like, customers/clients calling?
1790: [20:54:59] <scpi> it's not a dev shop, it's mostly retail & production. I'm one of two techie people in the building.
1791: [20:55:02] * antmas hates answering phones
1792: [20:55:12] <antmas> scpi: oh right, I see
1793: [20:55:32] <scpi> and then a well-meaning co-worker stops by to chat about how quiet it is back here in the office today
1794: [20:55:44] <scpi> well, it was before you showed up...
1795: [20:56:16] <Ryan-Toast> antmas: I have a home pair, and a work pair. Never go without music again.
1796: [20:56:38] <antmas> Ryan-Toast: so do I, but my home ones don't have a mic
1797: [20:56:48] <scpi> I always have a pair in my bag. They can't regulate my ears at lunch!
1798: [20:56:56] <Ryan-Toast> antmas: Time to buy some new ones then.
1799: [20:57:12] <antmas> probably
1800: [20:57:14] <Ryan-Toast> scpi: that sucks, man.
1801: [20:57:20] <scpi> haha
1802: [20:57:27] <Ryan-Toast> I get so much more work done when I can listen to my own music.
1803: [20:57:43] <scpi> yep
1804: [20:57:44] <antmas> nice Sharpoint
1805: [20:57:57] <antmas> "export list to spreadsheet"
1806: [20:57:59] <scpi> I get even more work done on the days I can work from home
1807: [20:58:01] * antmas opens
1808: [20:58:10] <antmas> "Excel cannot open this .dll"
1809: [20:58:14] * antmas cires
1810: [20:58:19] <antmas> cries*
1811: [20:59:05] <antmas> yeah coding without music is like reading without light to me
1812: [20:59:59] * Error404NotFound quit (Ping timeout: 240 seconds)
1813: [21:00:50] <scpi> I'd even settle for just quiet
1814: [21:01:10] <scpi> it's one open office, and I've got loud phone voice people all around me
1815: [21:03:10] <antmas> yeah my office is open to the whole IT department
1816: [21:03:18] <antmas> so helpdesk etc
1817: [21:07:03] * danfo quit (Quit: danfo)
1818: [21:19:33] * Error404NotFound has joined #silverstripe
1819: [21:24:13] * UncleCheese has joined #silverstripe
1820: [21:34:30] <Ryan-Toast> Does partial caching get turned off when you’re in dev mode?
1821: [21:37:56] <UncleCheese> What's the best way to strip shortcodes from a text field, so that things like $MyField.LimitWordCount work on a template?
1822: [21:39:44] <Stomach> setOptions(array('shortcodes', false));
1823: [21:39:48] <Stomach> ?
1824: [21:39:51] <UncleCheese> umm
1825: [21:40:14] <Stomach> oh strip completely
1826: [21:40:17] <UncleCheese> wel
1827: [21:40:33] <UncleCheese> so let's say you have a block of text that's like.. "blah blah blah [link]foo[/link]"
1828: [21:40:52] <UncleCheese> and you run LimitCharacterCount on that, and it cuts it off at [lin……
1829: [21:40:57] <UncleCheese> that's a bit shit
1830: [21:41:13] <UncleCheese> so i need to sanitise it before running that method
1831: [21:41:32] <UncleCheese> i wonder if i need to write a StripShortcodes extension?
1832: [21:41:38] * scpi quit (Quit: scpi)
1833: [21:41:41] <Stomach> yeah, theres no way to do it now
1834: [21:42:14] <UncleCheese> nice!
1835: [21:50:56] <Ryan-Toast> Is there a 3.1 version of this? http://doc.silverstripe.org/framework/en/2.4/reference/leftandmain
1836: [21:52:34] <Ryan-Toast> ss23: Docmaster, I summon thee
1837: [21:52:40] <Colin[pi]> Ryan-Toast: yeah there is
1838: [21:53:44] <Ryan-Toast> Colin[pi]: Do you know where?
1839: [21:53:55] <Colin[pi]> the class file itself?
1840: [21:54:14] <Colin[pi]> it's under framework/admin/code
1841: [21:54:30] <Ryan-Toast> Colin[pi]: I meant more best practises.
1842: [21:54:53] <Colin[pi]> oh sorry you mean the doc page itself not the class
1843: [21:55:46] <Ryan-Toast> yeah :P
1844: [21:55:53] <Colin[pi]> soz prolly not
1845: [21:56:21] <Colin[pi]> is leftandmain deprecated or is it still the main class for the cms?
1846: [21:56:43] * Ryan-Toast Shrug
1847: [21:59:23] <UncleCheese> well, in case anyone ever needs it: http://sspaste.com/paste/show/53601d9a19141
1848: [21:59:32] <UncleCheese> What do you reckon, Stomach ?
1849: [22:00:29] <Stomach> I think that regex is awesome
1850: [22:00:38] <UncleCheese> it is aye
1851: [22:00:50] <UncleCheese> it has its fair share of haters
1852: [22:00:51] <Stomach> is it always going to be a text field though, you might want to do that to HTMLText
1853: [22:01:03] <guzzlefry> Colin[pi]: http://doc.silverstripe.org/framework/en/trunk/howto/extend-cms-interface
1854: [22:01:10] <UncleCheese> i hope not, because if you're truncating htmltext, that could be bad news
1855: [22:01:18] <Stomach> yeah I just thought that
1856: [22:01:24] <Stomach> <p>something went wro
1857: [22:01:26] <UncleCheese> danging p tags and so forth
1858: [22:01:43] <UncleCheese> i'm quite familiar with the remark, "if regex is the answer, you're asking the wrong question"
1859: [22:01:50] <UncleCheese> but i just find that to be total bullshit
1860: [22:02:25] <UncleCheese> i think people just hate regex because it's so cryptic, and in think regex proponents like that it's so enigmatic anyway
1861: [22:02:54] <Stomach> yeah, its because they don't know how to read them
1862: [22:03:04] <Stomach> and see a regex string and just ignore it or assume it works
1863: [22:04:10] * gelignite quit (Quit: http://bit.ly/nkczDT)
1864: [22:04:25] <antmas> dat regex
1865: [22:04:28] * SightUnseen has joined #silverstripe
1866: [22:04:32] * SightUnseen has left #silverstripe
1867: [22:05:16] <guzzlefry> Is the performance hit with regex really as bad as it's made out to be?
1868: [22:05:34] <Stomach> depends on the regex
1869: [22:05:50] <Stomach> like, not all regex is multiple lookup lookback lookforward shenanigans
1870: [22:06:26] * r3v3rb quit (Quit: Textual IRC Client: www.textualapp.com)
1871: [22:06:51] <antmas> guzzlefry: regex is fine, but yeah depends on what it's doing
1872: [22:10:50] <antmas> UncleCheese: did you get my dm? (using web client so I'm never sure)
1873: [22:11:14] <UncleCheese> let me see
1874: [22:11:20] <UncleCheese> yeah, looks like i did
1875: [22:12:01] <Ryan-Toast> So ahard to find any documentation on how to make a custom backend page.
1876: [22:12:40] <Stomach> look at https://github.com/unclecheese/silverstripe-dashboard
1877: [22:13:05] <Stomach> specifically the Dashboard.php file - its got the basics for extending leftandmain
1878: [22:13:13] <Ryan-Toast> ah, cool. Thanks
1879: [22:13:36] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1880: [22:13:39] <antmas> schwweet
1881: [22:13:44] <UncleCheese> yup.. subcontrollers galore!
1882: [22:14:27] <UncleCheese> i think proper use of request handlers is one of those defining skills in SS development
1883: [22:14:43] <Stomach> I still need to do that to pull out single pages for editing in a custom controller
1884: [22:14:58] <Stomach> then I can remove the pages tab once and for all
1885: [22:15:00] <Stomach> mwahahahaha
1886: [22:15:51] * simon_w has joined #silverstripe
1887: [22:16:32] <Ryan-Toast> Unclecheese: your module taught me that the _Content.ss file goes in the Includes folder… which was my issue. Sigh.
1888: [22:16:42] <UncleCheese> ha
1889: [22:16:54] <UncleCheese> Stomach: I like your thinking
1890: [22:17:43] * muskie9 has joined #silverstripe
1891: [22:17:55] <Stomach> yeah, all of our page administration is done through modeladmins now
1892: [22:18:10] <Stomach> apart from those pesky single pages that need editing
1893: [22:18:18] <Stomach> silly modeladmin
1894: [22:20:03] <Ryan-Toast> Unclecheese: LOL
1895: [22:20:13] <Ryan-Toast> Looks like I have been here before: https://github.com/unclecheese/silverstripe-dashboard/pull/55
1896: [22:20:44] <Ryan-Toast> I really need to stop drinking so much.
1897: [22:20:49] <Ryan-Toast> my memory is shot.
1898: [22:24:06] <Stomach> hahaha
1899: [22:25:12] <antmas> I've stopped drinking full stop :D
1900: [22:25:32] <antmas> actually :(
1901: [22:25:54] <Ryan-Toast> antmas: I’ve toyed with the idea.
1902: [22:26:14] <Ryan-Toast> No real reason to drink, but then I have to talk to clients and I remember.
1903: [22:26:23] <antmas> lol
1904: [22:26:41] <antmas> I've only stopped as it seems to cause cluster migrains every time I drink
1905: [22:26:44] <antmas> :(
1906: [22:28:12] <Stomach> I went out drinking last night and i do not feel good today
1907: [22:28:53] <Ryan-Toast> Oh god, do I have to learn entwine?
1908: [22:29:41] <guzzlefry> You don't learn entwine. You just kind of guess your way through it.
1909: [22:29:53] <Ryan-Toast> guzzlefry: lol, like all my languages.
1910: [22:30:05] <Stomach> entwine is not a language :S
1911: [22:30:30] <antmas> entwine is an asshole is what it is
1912: [22:30:34] <Ryan-Toast> Libraries**
1913: [22:37:04] <Stomach> "Dear Hamish, Entwine is an asshole. Yours sincerely, antmas"
1914: [22:37:04] <antmas> I keep reading it as 'Ent Wine' too
1915: [22:37:04] <antmas> :P
1916: [22:37:06] <antmas> even the name suggest it creates coupling
1917: [22:37:06] <Ryan-Toast> I’m just going to use jQuery.
1918: [22:37:06] <Ryan-Toast> Don’t see the point in adding another layer.
1919: [22:37:07] <Colin[pi]> <antmas> I keep reading it as 'Ent Wine' too <-- bastard now I will forever do the same
1920: [22:37:07] <antmas> it's wine for Ents!
1921: [22:37:07] <Ryan-Toast> http://i.imgur.com/WmXkAYS.jpg
1922: [22:37:08] <antmas> mmmm
1923: [22:37:08] <Ryan-Toast> That would be pretty gross.
1924: [22:37:08] <antmas> I bet that tastes like assholes too
1925: [22:37:09] <antmas> 'Search' has failed
1926: [22:37:09] <antmas> "please review the failure details
1927: [22:37:09] * antmas clicks link
1928: [22:37:10] <antmas> "The search has failed and is not returning results - please see your neckbeard for no reason"
1929: [22:37:11] <guzzlefry> Does it have any docs?
1930: [22:37:12] <guzzlefry> I couldn't find any last I looked...
1931: [22:39:02] * Error404NotFound quit (Ping timeout: 252 seconds)
1932: [22:42:49] <Stomach> Ryan-Toast - you might want to bind you jquery in entwine though
1933: [22:42:59] <Stomach> otherwise it might not reload on saves and fun stuff like that
1934: [22:43:05] <Ryan-Toast> Stomach: To make sure it’s loaded by the ajax?
1935: [22:43:24] <Stomach> yeah, the way which silverstripe pjaxes segments doesn't reload scripts
1936: [22:43:35] <Stomach> so event bindings wont get rebound
1937: [22:43:42] <Stomach> thats the whole point of entwine, i think
1938: [22:43:43] <Ryan-Toast> Stomach: that would explain my colourpicker code. Thanks :)
1939: [22:44:15] <Stomach> haha solving bugs I didn't know about since 2 mins ago
1940: [22:44:55] <Colin[pi]> this technology is amazing but also scares the ever living crap out of me: https://www.youtube.com/watch?v=dk3oc1Hr62g
1941: [22:46:25] <Ryan-Toast> Colin[pi]: My mrs wants one so she can drink wine on the way home.
1942: [22:46:29] <Colin[pi]> lol
1943: [22:46:43] <Ryan-Toast> Would be sweet as a sober driver.
1944: [22:47:23] <Colin[pi]> turns out when Homer said "Oh, you have cruise control? School, please!" to Ned, he was just a futurist
1945: [22:47:35] <Colin[pi]> (or to Ned's car I should say)
1946: [22:48:49] <Ryan-Toast> so entwine refresh is the default on load?
1947: [22:50:42] <Stomach> dunno what that means
1948: [22:51:08] <Ryan-Toast> What wrapper should I place around my jQuery function to make it run on page load/refresh?
1949: [22:51:18] <Ryan-Toast> $('.dashboard-panel').entwine({ ?
1950: [22:56:06] <Stomach> yeah
1951: [22:56:06] <Stomach> ill write an example
1952: [22:56:07] <Ryan-Toast> The one above works if you refresh, but not on load.
1953: [22:56:08] <Stomach> what needs to happen onload?
1954: [22:56:24] <Stomach> http://pastie.org/9125521
1955: [22:56:35] <Stomach> ryan-toast is the entwine namespace
1956: [22:56:46] <antmas> when you think of a wiki, you assume you need to search for articles/pages rather than select them right?
1957: [22:56:56] <Stomach> antmas - yes
1958: [22:57:00] <Stomach> its not a tree
1959: [22:57:04] <Stomach> its a graph
1960: [22:57:12] <Stomach> (not a tree graph)
1961: [22:57:24] <antmas> so the home page is basically a glorified search box?
1962: [22:57:40] <Stomach> with random useless articles
1963: [22:57:40] <Stomach> yes
1964: [22:57:45] <antmas> nice
1965: [22:57:47] <antmas> tah
1966: [22:58:04] * Error404NotFound has joined #silverstripe
1967: [22:58:12] <Ryan-Toast> Stomach: thanks :) I’m trying to get this to run on load: http://pastebin.com/Ukn4J9af
1968: [22:58:37] * babak quit (Quit: Connection closed for inactivity)
1969: [23:01:19] <antmas> Ryan-Toast: it doesn't already?
1970: [23:01:21] <Stomach> http://pastie.org/9125532
1971: [23:01:21] <antmas> hmmm
1972: [23:01:36] <Stomach> you might need to change the this to self inside the click function
1973: [23:01:54] <Stomach> but i think that should work
1974: [23:03:26] * jedateach has joined #silverstripe
1975: [23:04:09] <Ryan-Toast> whats _super()?
1976: [23:04:50] <Stomach> its a function on entwine which calls the owners function
1977: [23:04:58] <Stomach> like parent:: in php kind of
1978: [23:05:05] <Stomach> its a very java like idea :D
1979: [23:05:27] <Ryan-Toast> So what would it be calling in this instance?
1980: [23:06:25] <Stomach> nothing most likely
1981: [23:06:55] <Ryan-Toast> so onmatch will run when it finds the class?
1982: [23:07:21] <Stomach> yeah, when it finds that class in the window it will add it to the list of things entwine is watching i guess
1983: [23:07:30] <Stomach> I'm not really 100% on how entwine actually works
1984: [23:07:33] <Stomach> I just bash code at it
1985: [23:07:37] <Ryan-Toast> and unwatch will run after the last item is found?
1986: [23:08:03] <Stomach> unwatch removes it from the entwine watch list when its not in the dom I think
1987: [23:08:12] <Stomach> its gotta have some form of garbage collection happening for events
1988: [23:08:35] <Ryan-Toast> ah, cool. Thanks, man :)
1989: [23:08:36] * jedateach has left #silverstripe
1990: [23:08:52] <Stomach> no problem
1991: [23:09:08] <Stomach> simon_w might be able to tell you more once hes covered by insurance :D
1992: [23:09:12] <Stomach> or UncleCheese
1993: [23:10:02] <Ryan-Toast> Stom,ach: I don’t have to have a literal field anymore, yay
1994: [23:10:33] <Stomach> thats a very confusing outcome to the situation
1995: [23:10:35] <Stomach> but good
1996: [23:11:32] <Ryan-Toast> Stomach: So pretty http://i.imgur.com/BEIRJVc.jpg
1997: [23:12:05] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1998: [23:12:29] <ss23> fuuuuuck, I always forget that some places have people from chch, and I'm like "man would be cool to have anouther earthquake" and they rage and quit and shit
1999: [23:12:52] <ss23> damn I am good at annoying people without it being intentional
2000: [23:18:31] <Stomach> ^ lol
2001: [23:18:34] <Stomach> Ryan-Toast - looks nice
2002: [23:18:38] <Stomach> open source it
2003: [23:19:05] <Stomach> gotta beat old bummzack out
2004: [23:19:06] <Stomach> https://github.com/bummzack/ss3-colorpicker
2005: [23:20:37] <Ryan-Toast> Stomach: it’s a part of my boilerplate - https://github.com/Rhym/ss_boilerplate/tree/master/Boilerplate/forms
2006: [23:21:30] <Stomach> boring, needs more composer dependencies to annoy ss23
2007: [23:21:51] <Ryan-Toast> I have a composer thing, but it doesn’t work :)
2008: [23:22:02] <Stomach> alright, lets fix that next then
2009: [23:22:08] <Stomach> i dont want to do this checkout process
2010: [23:22:21] <Ryan-Toast> Stomach: I’m making my newsletter module atm :P
2011: [23:23:58] <Stomach> why not just use someone elses?
2012: [23:24:13] <Ryan-Toast> Stomach: How would I learn from that?
2013: [23:24:30] <Stomach> oh
2014: [23:24:33] <Stomach> learning
2015: [23:24:35] <Stomach> :(
2016: [23:24:44] <Stomach> thats an entirely different thing altogether then :D
2017: [23:24:46] <Ryan-Toast> Boilerplate has been my self learning thingy
2018: [23:25:12] <Ryan-Toast> Well learning SS.
2019: [23:39:02] <Pyromanik> I once made a colour picker module
2020: [23:39:37] <Pyromanik> I took one that was already around for 2.4 and updated it... and search/replaced color/colour through the entire source :P
2021: [23:39:57] <Pyromanik> It's now 46x more awesome.
2022: [23:40:08] <ss23> Stomach: :(
2023: [23:40:09] <ss23> so mean
2024: [23:40:39] <Stomach> I just want you to love composer
2025: [23:40:41] <Stomach> < 3
2026: [23:40:46] <ss23> :(
2027: [23:40:52] <ss23> I'll love it when it stops being shit
2028: [23:40:53] <ss23> Deal?
2029: [23:40:56] <Pyromanik> deal@
2030: [23:40:58] <Pyromanik> me too!
2031: [23:41:04] <Stomach> haha
2032: [23:41:30] <Pyromanik> so like, if I make a project with composer, then edit source and want to make a pull request SO FUCKING HARD MODE
2033: [23:41:52] <Pyromanik> hate levels set to quite high.
2034: [23:42:17] <Stomach> what?
2035: [23:42:18] <ss23> hot singletons in r area r lookin 2 mutate global state & have side effects
2036: [23:42:21] <Stomach> no its not :S
2037: [23:42:38] <Pyromanik> ss23, dem public members
2038: [23:43:40] <Pyromanik> Stomach, please, list it out step by step so I can believe you.
2039: [23:44:04] * spronk has joined #silverstripe
2040: [23:44:05] <Pyromanik> Then proceed to tell me how to set up a functional composer install on windows.
2041: [23:44:53] <spronk> you just
2042: [23:44:54] <spronk> install git
2043: [23:44:55] <spronk> then
2044: [23:44:56] <spronk> install composah
2045: [23:44:59] <spronk> ALL GOOD BRA
2046: [23:45:30] <Stomach> Pyromanik - I'm using windows
2047: [23:45:45] <Stomach> cygwin ftw :P
2048: [23:46:00] * bridgetm has joined #silverstripe
2049: [23:46:01] <spronk> composer seems to work alright on windows
2050: [23:46:04] <spronk> better than npm anyway
2051: [23:47:00] <Stomach> also - to develop on something then push it back upstream, change the requirement for that module to the branch to want to edit, enable dev as minimun stability, composer update, edit the stuff, open the directory, git commit -m "lol"; git push origin; done thanks
2052: [23:47:08] <Stomach> spronk - npm works fine too
2053: [23:47:37] <Stomach> using cygwin with 'echo "alias npm='cmd /c npm'" >> ~/.bashrc'
2054: [23:48:22] <spronk> lol
2055: [23:48:29] <spronk> yeahhh
2056: [23:48:31] <spronk> cygwin is a PITA
2057: [23:48:43] <spronk> does it handle packages that need platform specific compilations?
2058: [23:48:59] <Stomach> you could compile it for cygwin maybe
2059: [23:49:01] <Stomach> i don't know
2060: [23:49:11] <Stomach> its not a good solution, but its the best at the moment
2061: [23:49:21] <Stomach> a better one would be a unix based OS at work.
2062: [23:49:35] <spronk> bleh unix based OS for work :P
2063: [23:50:14] * spronk could possibly get away with a mac pro, or a 15" macbook pro, but both of those are expensive
2064: [23:50:28] <ss23> Blows my mind that people use cygwin
2065: [23:50:30] <spronk> and my connectivity would be shit, because i'd be using both tbolts for displays..
2066: [23:50:58] <ss23> spronk: you can get thunderbolt extender thingies
2067: [23:51:07] <Stomach> ss23 - why? im forced into it
2068: [23:51:22] <ss23> Stomach: Go up to the person forcing you and punch them in the face
2069: [23:51:37] <Stomach> thatd be my boss
2070: [23:51:42] <spronk> i didn't think you could use tbolt for a displayport out AND something else unless you're using an apple display
2071: [23:52:10] <antmas> stupid proprietary Apple bs
2072: [23:52:24] <spronk> well, it isn't proprietary
2073: [23:52:31] <spronk> its just that nobody else is using it..
2074: [23:52:45] <ss23> spronk: Well, you know what to do.
2075: [23:52:49] <ss23> Stomach*
2076: [23:53:03] <antmas> Thunderbolt is proprietary isn't it?
2077: [23:53:07] <Stomach> pee in his shoes
2078: [23:53:08] <Stomach> good idea
2079: [23:53:11] <Stomach> thanks ss23
2080: [23:53:11] <ss23> It's an Intel tech, antmas
2081: [23:53:15] <spronk> mm
2082: [23:53:20] <spronk> my pc has tbolt
2083: [23:53:39] <antmas> oh
2084: [23:53:40] <antmas> huh
2085: [23:53:44] <antmas> THEMOREYOURKNOW
2086: [23:54:23] <ss23> spronk: In any case, you probably can
2087: [23:54:29] <ss23> spronk: @ the displayport + something else
2088: [23:54:36] <spronk> hmm
2089: [23:54:54] <spronk> my dell 27s and 24s don't support daisychaining like the appel displays do..
2090: [23:55:05] <spronk> and like fuck i'm using a mirror for work
2091: [23:55:11] <spronk> (apple display)
2092: [23:55:11] <ss23> Older DisplayPort didn't support, right?
2093: [23:55:29] <spronk> AFAIK displayport doesn't support daisychain... only tbolt..
2094: [23:55:32] <spronk> maybe i'm wrong
2095: [23:55:48] <spronk> oo it does
2096: [23:55:48] <spronk> 1.2
2097: [23:56:06] <Pyromanik> thunderbolt is pcie with a few extras in a cable.
2098: [23:56:16] <spronk> bloody apple
2099: [23:56:18] <spronk> where's the "Mac"
2100: [23:56:20] <spronk> not mini, not proi
2101: [23:56:22] <spronk> -i
2102: [23:56:25] <spronk> not i
2103: [23:56:41] <Pyromanik> shit slow pcie, but never the less a slightly modified pcie spec condensed into a cable.
2104: [23:56:48] <spronk> alternatively, the low end mac pro
2105: [23:57:01] <Pyromanik> I feel like it should be the future, except it's shit slow and not actually to spec.
2106: [23:57:08] <ss23> In January 2013, Apple reduced the price on their 2 meter cable to US$39.00 and announced availability of a shorter 0.5 meter cable for US$29.00.
2107: [23:57:11] <ss23> This is why it's not the future.
2108: [23:57:25] <Pyromanik> ss23, it's not Apple tech, it's intel.
2109: [23:57:41] <Pyromanik> apple just have the most use out of it.
2110: [23:57:50] <spronk> Light Peak bro
2111: [23:58:08] <Pyromanik> and there actually IS an already existing (pre existing tbolt even) pcie portable spec.
2112: [23:58:14] <Pyromanik> ie, pcie with cables.
2113: [23:58:23] <ss23> Pyromanik: I know -- 11:53:11 <+ss23> It's an Intel tech, antmas
2114: [23:58:23] <Pyromanik> the connectors are confusing as fuck, but there is a spec.
2115: [23:58:29] <ss23> My statement remains
2116: [23:59:23] <Pyromanik> tbolt simplifies pcie and gives it accessability... but also modifies tech and leaves room for engineers to wiggle around and deviate even futher.
2117: [23:59:48] <Pyromanik> and apple are about the only ones to adopt it thus far.

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