#silverstripe IRC Log

IRC log for 5 March 2014

All timestamps are in UTC.

1: [00:00:05] <Ryan-Toast> Yeah, WHEN'S TECHIES BEING RELEASED?
2: [00:00:42] <antmas> lol
3: [00:02:36] <Ryan-Toast> can't wait for techies.
4: [00:02:47] <Colin[pi]> dammit sound of crickets on any question mentioning HL3 >_<
5: [00:07:43] * micmania1 quit (Ping timeout: 265 seconds)
6: [00:09:29] <simon_w> Cause it's not going to happen!
7: [00:17:00] * ObiWanShanobi quit (Ping timeout: 264 seconds)
8: [00:29:36] <antmas> oh gawd
9: [00:29:39] <antmas> that batman trailer
10: [00:29:42] <antmas> :O
11: [00:32:21] <ss23> Which one?
12: [00:32:56] <antmas> ss23: for Arkham Knight
13: [00:34:18] <antmas> never played City
14: [00:39:10] <Ryan-Toast> antmas: http://gfycat.com/MealyBothGeese
15: [00:40:32] <antmas> Ryan-Toast: woah, cook
16: [00:40:35] <antmas> cool*
17: [00:40:48] <Ryan-Toast> dunk, dunk, dunk
18: [00:43:08] * Sj0hn quit ()
19: [00:43:49] * Motoservo quit (Read error: Connection reset by peer)
20: [00:49:22] * antmas quit (Quit: Page closed)
21: [00:50:21] * antmas has joined #silverstripe
22: [00:52:15] * Motoservo has joined #silverstripe
23: [01:16:03] * babak quit (Quit: Connection closed for inactivity)
24: [01:28:42] <antmas> so good http://open.spotify.com/track/4mYpmNDyJv3HEl22hfrDnL
25: [01:39:20] <geekdenz> in a template.ss, can i refer to the current item? i.e. if i have <% loop $Links %> $This <% end_loop %>
26: [01:39:51] <simon_w> geekdenz, $Me
27: [01:43:30] * Tanger has joined #silverstripe
28: [01:55:25] * ObiWanShanobi has joined #silverstripe
29: [01:55:51] * gurubobnz quit (Remote host closed the connection)
30: [02:00:56] <zippy___> The Faker php package is pretty sweet
31: [02:01:51] <antmas> zippy___: link?
32: [02:02:04] <zippy___> https://github.com/fzaninotto/Faker
33: [02:02:12] <antmas> zippy___: also, you get my PMs before?
34: [02:02:12] <zippy___> it's for generating "fake" data ;)
35: [02:02:31] <zippy___> yes, I tried to reply but got "The user "antmas" is not online and is unavailable until they reconnect."
36: [02:02:32] <zippy___> odd...
37: [02:02:45] <zippy___> but no, I havn't heard of that guy
38: [02:02:53] <antmas> zippy___: ah, ok
39: [02:02:54] <antmas> np
40: [02:03:35] <antmas> zippy___: that'd be pretty useful, I'd combine that with UncleCheese form fill-er-out-ererer
41: [02:03:53] <UncleCheese> they're pretty much one in the same :)
42: [02:03:56] <zippy___> https://github.com/unclecheese/silverstripe-mock-dataobjects
43: [02:04:01] <UncleCheese> check the composer.json
44: [02:04:16] <UncleCheese> mockdataobjects is just an SS wrapper for Faker
45: [02:04:18] <zippy___> UncleCheese: some broken images there
46: [02:04:22] <UncleCheese> indeed
47: [02:04:35] <zippy___> I was just thinking, I wonder if someone has writen a wrapper....
48: [02:04:43] <zippy___> and zing, UncleCheese has come to the party
49: [02:05:31] <UncleCheese> I like the model-independent data generation
50: [02:05:39] <UncleCheese> $Fake.Name, $Fake.Company
51: [02:05:49] <UncleCheese> <% loop $Fake.Loop %>
52: [02:07:18] <antmas> huh
53: [02:07:19] <antmas> awesome
54: [02:07:22] <antmas> so it is!
55: [02:07:53] <antmas> man
56: [02:08:02] <simon_w> Just good luck using that with SS code
57: [02:08:04] <antmas> I need to find a live stream of the le man 24 hour
58: [02:08:36] <Colin[pi]> simon_w: are you prepared to endure our machiavellian once you arrive here?
59: [02:08:37] <simon_w> UncleCheese, you really should stop getting people to break your licenses
60: [02:08:41] <Colin[pi]> machiavellian leader
61: [02:08:43] <Colin[pi]> I should say
62: [02:08:54] <UncleCheese> that one has a license
63: [02:09:14] <simon_w> UncleCheese, GPL isn't compatible with the Faker license or the SS one
64: [02:09:41] <UncleCheese> oh?
65: [02:09:44] <UncleCheese> which one should i use
66: [02:09:52] <simon_w> One that is compatible
67: [02:09:56] <UncleCheese> apache?
68: [02:10:03] <UncleCheese> MIT?
69: [02:10:07] <simon_w> Those would work
70: [02:10:13] <UncleCheese> sweet
71: [02:10:27] <UncleCheese> github only lets you choose from two
72: [02:10:36] <zippy___> UncleCheese: I wonder, could it be possible to build pages with this. Say if I had an Article page or Blog post, being able to create X of those would be stupendous
73: [02:10:47] <UncleCheese> of course
74: [02:10:58] <UncleCheese> just right click on the page, and do "add mock children"
75: [02:11:02] <UncleCheese> then type in how many you want
76: [02:11:18] <antmas> ^^ badass
77: [02:11:19] <UncleCheese> same with grid field
78: [02:11:23] <UncleCheese> just click "add mock records"
79: [02:11:25] <zippy___> mind - blown
80: [02:11:34] <UncleCheese> or you can do it all from the command line
81: [02:12:00] <zippy___> yea i'd go with command line, but couldn't really see a "page" like option for that (via github)
82: [02:12:06] <UncleCheese> yeah, totally
83: [02:12:10] <UncleCheese> too bad all the images are broken.
84: [02:12:15] <UncleCheese> they showed off the features quite nicely
85: [02:12:22] <UncleCheese> but you can see everything on leftandmain.com
86: [02:12:46] <zippy___> ha! its on the first page
87: [02:13:33] <zippy___> Just had to create a demo site for a client, and used faker so I can easily create x objects here and y objects there (non SS project), and it's just so nice to have good looking fake data. No sdfas or xcvsdf type bollocks
88: [02:13:40] <zippy___> UncleCheese: This looks grand, thanks
89: [02:13:55] <UncleCheese> you bet
90: [02:14:06] <zippy___> DodgeBot: +5 dodge -> UncleCheese
91: [02:14:19] <zippy___> fook
92: [02:14:26] <zippy___> no wonder it didn't work
93: [02:14:30] <UncleCheese> whats dodgebot?
94: [02:14:33] <zippy___> DogeBot: +5 doge -> UncleCheese
95: [02:15:07] <zippy___> It's a bot simon_w hasn't made yet, which will allow people to magically tip people doge coin, somehow
96: [02:18:37] * ObiWanShanobi quit (Quit: Leaving...)
97: [02:20:29] <Ryan-Toast> zippy___: FedoraTip +1 verify
98: [02:20:39] <Colin[pi]> tipping intensifies
99: [02:21:08] <antmas> *heavy breathing*
100: [02:23:19] <Ryan-Toast> There's also a smeckle bot.
101: [02:32:13] <UncleCheese> who's all going tonight?
102: [02:32:36] <antmas> UncleCheese: to?
103: [02:32:53] <UncleCheese> ss mettup
104: [02:33:43] <antmas> should have a live stream :P
105: [02:34:15] <zippy___> will check with my boss...
106: [02:34:17] <simon_w> Saw the venue and was all "noooope"
107: [02:34:31] <zippy___> boss says no
108: [02:35:04] <antmas> simon_w: which is?
109: [02:35:07] <simon_w> Yay, firewall policy updated
110: [02:35:11] <simon_w> antmas, Southern Cross
111: [02:35:35] <simon_w> "Family friendly" that kicks you out if under 18
112: [02:35:43] <antmas> simon_w: lol
113: [02:36:02] <UncleCheese> so cro rules
114: [02:38:33] <pippy> are those tips real?
115: [02:38:39] <pippy> i have 30k in dogecoins
116: [02:38:44] <pippy> need to spend them on something
117: [02:41:00] <Colin[pi]> that's equal to $30 USD
118: [02:53:27] <antmas> Colin[pi]: lol
119: [02:55:41] * guttmann has joined #silverstripe
120: [03:00:09] <Tanger> so many coin, much wow
121: [03:00:17] <Tanger> big spending
122: [03:00:40] <Colin[pi]> how I feel now after committing to build a site upon ss-shop: http://i.imgur.com/GTuWi.gif
123: [03:01:00] <Ryan-Toast> need dat swipestripe, son.
124: [03:01:17] <Colin[pi]> yeeeah I don't think I'll be using it again
125: [03:03:46] <Ryan-Toast> Colin[pi]: http://i.imgur.com/iBAXmCF.jpg
126: [03:04:12] <Colin[pi]> LOL
127: [03:04:17] <antmas> hahahaha
128: [03:04:29] <antmas> I think everyone has dose feels
129: [03:04:39] <Ryan-Toast> Remaking the front end of this site: http://www.straytravel.com/
130: [03:05:51] <antmas> dat font
131: [03:05:55] <antmas> #killitwithfire
132: [03:06:53] <antmas> actually
133: [03:06:58] <antmas> I don't know what it is
134: [03:07:08] <antmas> Ryan-Toast: but that site look just doesn't work at all
135: [03:07:20] <antmas> it's just... wrong
136: [03:07:24] <Ryan-Toast> Protip: that's what I'm remaking it
137: [03:08:03] <antmas> Ryan-Toast: good! BP?
138: [03:08:14] <Ryan-Toast> antmas: nah I have to use their backend.
139: [03:08:19] <Ryan-Toast> I'm just doing the frontend
140: [03:08:32] <antmas> ofc
141: [03:08:46] <Ryan-Toast> I hate using someone else's backend
142: [03:08:55] <antmas> what's it built with?
143: [03:09:15] <antmas> oh, it's SS?
144: [03:09:23] <Ryan-Toast> Yeah
145: [03:09:40] <Ryan-Toast> so many page types ><
146: [03:09:45] <antmas> ugh
147: [03:09:52] <antmas> who built it?
148: [03:09:53] <Ryan-Toast> and all in random places.
149: [03:09:55] <Ryan-Toast> No ideas
150: [03:09:58] <Ryan-Toast> idea
151: [03:10:31] <antmas> by the looks of it, there should only really be like, 4 page types max lol
152: [03:10:47] <antmas> maybe 5
153: [03:10:51] <Ryan-Toast> Yes.
154: [03:10:54] <Ryan-Toast> You would think so.
155: [03:11:17] <antmas> "oh, it has a map on it?" PAGETYPE52.PHP
156: [03:12:20] <Ryan-Toast> that and inline styles everywhere
157: [03:12:33] <antmas> Ryan-Toast: :O
158: [03:12:36] <antmas> really?
159: [03:12:54] * antmas pukes
160: [03:13:02] <Ryan-Toast> Look at this shit, what kind of monster does this? http://i.imgur.com/R7yLcZe.jpg
161: [03:13:43] <antmas> Ryan-Toast: OMG
162: [03:14:23] <antmas> his/her idea of ss' template is 'template?'
163: [03:15:17] * antmas feels better about his code ninja level
164: [03:16:25] * guttmann quit (Quit: Page closed)
165: [03:17:05] <zippy___> beautiful! I love the indentatio
166: [03:17:06] <zippy___> n
167: [03:17:23] <antmas> zippy___: XD
168: [03:17:42] <antmas> Ryan-Toast: I bet the stylesheets are totes amaze
169: [03:17:43] <Ryan-Toast> I love the if/else open <a> tags
170: [03:17:53] <Ryan-Toast> wouldn't know, I deleted them all.
171: [03:18:07] <antmas> haha
172: [03:18:30] <antmas> Ryan-Toast: is that the site with ss-shop?
173: [03:18:38] <Ryan-Toast> yes
174: [03:18:56] <Colin[pi]> YAY ;_;
175: [03:19:25] <antmas> man, I wanna know who made it
176: [03:20:27] <Colin[pi]> what, ss-shop?
177: [03:21:35] <antmas> Colin[pi]: naw, www.straytravel.com
178: [03:21:40] <Colin[pi]> oh
179: [03:21:48] * zippy___ quit (Ping timeout: 256 seconds)
180: [03:23:58] <antmas> man
181: [03:24:09] <antmas> people still live in ChCh?
182: [03:25:26] * TRB143 quit (Ping timeout: 264 seconds)
183: [03:27:19] <mobiusnz> yeah
184: [03:27:21] <mobiusnz> its fun
185: [03:27:27] <antmas> sounds like it
186: [03:27:39] <antmas> motherfuckin eels crossing the street at the moment
187: [03:27:40] <antmas> heh
188: [03:31:07] <Colin[pi]> http://www.youtube.com/watch?v=fgd1LaKQVy4
189: [03:31:38] <antmas> Colin[pi]: I struggled not to make a reference to that when typing it
190: [03:31:44] <Colin[pi]> lol
191: [03:31:48] <Colin[pi]> I love mighty boosh
192: [03:31:58] <antmas> had many good times watching that
193: [03:32:33] <antmas> "killed a swan today"..."did a shit on it...riiiight on it"
194: [03:32:35] * travis-ci has joined #silverstripe
195: [03:32:35] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2087 (3.1 - 11432d1 : Sean Harvey): The build passed.
196: [03:32:35] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/1cc366fe23b8...11432d1d75a7
197: [03:32:35] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/20105194
198: [03:32:35] * travis-ci has left #silverstripe
199: [03:32:41] <Colin[pi]> rofl antmas
200: [03:33:04] <Colin[pi]> it's just so bizarre, exactly my type of humour
201: [03:33:16] <Ryan-Toast> Mighty Boosh is amazing.
202: [03:33:29] <Colin[pi]> I love the moon, so funny
203: [03:33:43] <Ryan-Toast> Have you watched Rick and Morty?
204: [03:33:47] <antmas> ah shit, now I need to watch it again
205: [03:33:56] <antmas> I'm oldddd greeeeeg!
206: [03:34:13] <Colin[pi]> wouldcha like a bailleys?
207: [03:34:29] <antmas> it's as close as you can get without getting ya eye balls wet
208: [03:34:33] <ss23> lol
209: [03:34:39] <ss23> Mighty Boosh is too weird for me
210: [03:34:49] <Ryan-Toast> http://video.adultswim.com/rick-and-morty/pilot.html
211: [03:34:52] <Colin[pi]> moon marathon: http://www.youtube.com/watch?v=vxFzpPjDGG0 :D
212: [03:35:05] <ss23> rick and morty was lulz, but not something I would watch unless it was on TV
213: [03:35:19] <Ryan-Toast> I love Rick and Morty.
214: [03:35:20] <antmas> Ryan-Toast: yeah awesome show
215: [03:35:51] <antmas> I wish Adventure Time as on Netflix :(
216: [03:35:59] <Ryan-Toast> Adventuretime sis on piratebay
217: [03:36:03] <antmas> lol
218: [03:36:06] <Ryan-Toast> Fucking love adventuretime
219: [03:36:08] <Colin[pi]> what is the thing about that show? never watched it
220: [03:36:08] <antmas> I KNOW GUY
221: [03:36:21] <Ryan-Toast> Colin[pi]: It's math
222: [03:36:27] <antmas> Colin[pi]: just watch it, kinda hard to explain
223: [03:36:54] * travis-ci has joined #silverstripe
224: [03:36:55] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2088 (3.0 - c94c26f : Sean Harvey): The build passed.
225: [03:36:55] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/302363935471...c94c26faef60
226: [03:36:55] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/20105345
227: [03:36:55] * travis-ci has left #silverstripe
228: [03:38:23] <antmas> Colin[pi]: shit like this http://www.youtube.com/watch?v=E5KC1E5NyR0
229: [03:39:14] <antmas> Colin[pi]: and this http://www.youtube.com/watch?v=8HzvJucbwkc
230: [03:39:36] <Ryan-Toast> antmas: http://www.youtube.com/watch?v=_clEa2pKPu0
231: [03:39:54] <antmas> Ryan-Toast: NOOOOOOOOOOOOOOO
232: [03:40:03] <Ryan-Toast> IN YOUR HEAD
233: [03:40:03] <antmas> I'd just killed that from my brain not so long ago
234: [03:49:21] * antmas quit (Quit: Page closed)
235: [03:49:44] * antmas has joined #silverstripe
236: [03:50:09] * TRB143 has joined #silverstripe
237: [03:56:10] * travis-ci has joined #silverstripe
238: [03:56:10] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2089 (3.1 - c61c9e7 : Damian Mooyman): The build passed.
239: [03:56:10] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/11432d1d75a7...c61c9e7ac252
240: [03:56:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/20106170
241: [03:56:10] * travis-ci has left #silverstripe
242: [04:03:35] * bubaphex quit (Remote host closed the connection)
243: [04:35:58] * mobiusnz quit (Quit: Leaving.)
244: [04:39:29] * CodeTrap quit (Ping timeout: 240 seconds)
245: [04:40:26] * UncleCheese quit (Quit: UncleCheese)
246: [04:41:16] * CodeTrap has joined #silverstripe
247: [04:45:33] * DesignerX has joined #silverstripe
248: [04:52:24] * cloph_away quit (Ping timeout: 264 seconds)
249: [04:55:46] * Shrike_Finland has joined #silverstripe
250: [04:57:00] * cloph_away has joined #silverstripe
251: [05:14:40] * Shrike_Finland quit (Quit: Leaving.)
252: [05:35:31] * guci0 has joined #silverstripe
253: [05:35:40] <guci0> Morning!
254: [05:36:03] * SightUnseen has joined #silverstripe
255: [05:36:18] * SightUnseen has left #silverstripe
256: [06:00:30] * Blablub has joined #silverstripe
257: [06:02:34] <Colin[pi]> hey guci0
258: [06:27:44] * Shrike_Finland has joined #silverstripe
259: [06:37:37] * mobiusnz has joined #silverstripe
260: [06:37:38] * Blablub quit (Remote host closed the connection)
261: [06:41:59] * mobiusnz quit (Ping timeout: 240 seconds)
262: [07:00:01] * robert___ has joined #silverstripe
263: [07:00:49] * simon_w|air has joined #silverstripe
264: [07:02:45] * robert_ quit (Ping timeout: 252 seconds)
265: [07:20:38] * zippy___ has joined #silverstripe
266: [07:20:52] * Bollig|DesignCty has joined #silverstripe
267: [07:21:26] <Bollig|DesignCty> simon_w (or anyone else who knows all things): How big a performance hit does creating an extension on something like SiteTree cause?
268: [07:21:53] <Bollig|DesignCty> say, for example, I have 5 extensions from different modular add ons?
269: [07:28:04] <zippy___> Bollig|DesignCty: Depends what they do, you tested them?
270: [07:31:16] * mobiusnz has joined #silverstripe
271: [07:41:12] <Zauberfisch> Bollig|DesignCty: my guess is the extensions them self don't really pose a problem
272: [07:41:21] <Zauberfisch> its more what they do as zippy___ suggested
273: [07:42:15] * babak has joined #silverstripe
274: [07:43:28] * dendeffe has joined #silverstripe
275: [07:50:38] * dendeffe quit (Quit: dendeffe)
276: [08:05:11] * dendeffe has joined #silverstripe
277: [08:09:18] * dendeffe quit (Ping timeout: 240 seconds)
278: [08:10:05] * dendeffe has joined #silverstripe
279: [08:11:03] * Tanger quit (*.net *.split)
280: [08:11:06] * babak quit (*.net *.split)
281: [08:11:07] * howardgrigg quit (*.net *.split)
282: [08:11:08] * Raymondo quit (*.net *.split)
283: [08:14:36] * howardgrigg has joined #silverstripe
284: [08:18:38] * howardgrigg quit (Ping timeout: 240 seconds)
285: [08:29:03] * simon_w|air quit (Quit: This computer has gone to sleep)
286: [08:39:29] * ocm has joined #silverstripe
287: [08:39:33] <ocm> howdy!
288: [08:40:15] <ss23> HAI
289: [08:40:18] <ss23> WASSAP GANGSTA?
290: [08:45:10] <zippy___> oh hi
291: [08:45:37] * Tanger has joined #silverstripe
292: [08:45:53] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
293: [08:46:34] * spronk2 has joined #silverstripe
294: [08:49:44] <ocm> lol
295: [08:50:57] <Tanger> Is decorating still the technical term in SS3.0 for extending via Extension/DataExtension? And is it subclassing or extending for inheritance?
296: [08:52:48] <ss23> just extending
297: [08:52:50] <ss23> um
298: [08:53:02] <ss23> "decorating" is deprecated, we use extensions to extend now
299: [08:55:16] <Tanger> And inheritance is typically defined as subclassing in SS/PHP docs?
300: [08:56:16] * simon_w|air has joined #silverstripe
301: [09:00:28] <ss23> in OOP in general, yeah
302: [09:01:07] * Raymondo has joined #silverstripe
303: [09:01:07] * babak has joined #silverstripe
304: [09:01:07] * OzziNL has joined #silverstripe
305: [09:03:05] * willmorgan has joined #silverstripe
306: [09:05:32] * kinglozzer has joined #silverstripe
307: [09:15:05] * howardgrigg has joined #silverstripe
308: [09:15:49] * micmania1 has joined #silverstripe
309: [09:17:15] <zippy___> ss23: ss's extending it's the OOP extending - it's a rangi sort of tack on isn't it?
310: [09:19:11] <Tanger> ss23: Cool, thanks! Almost ready to put my first module on github since starting
311: [09:19:22] * howardgrigg quit (Ping timeout: 244 seconds)
312: [09:19:43] <Tanger> Focusing on giving it adequate documentation , don't wanna confuse people with misused PHP/SS terminology'
313: [09:19:48] * bypasser has joined #silverstripe
314: [09:20:59] * bypasser quit (Client Quit)
315: [09:25:04] * howardgrigg has joined #silverstripe
316: [09:29:18] * howardgrigg quit (Ping timeout: 240 seconds)
317: [09:33:24] * P^yk has joined #silverstripe
318: [09:33:55] <P^yk> Another night, another day.
319: [09:38:54] <ec8or_> anyone seen this?
320: [09:38:59] <ocm> seen what?
321: [09:39:03] <ec8or_> Fatal error: Class 'Logger' not found in /home/mimotvtv/public_html/framework/core/manifest/ConfigStaticManifest.php(337) : eval()'d code on line 1
322: [09:39:18] <ocm> hm, no?
323: [09:39:27] <ec8or_> after upgrading from an old 3.0.x build to latest 3.1
324: [09:39:28] <ocm> well atleast, now I have
325: [09:39:34] <ec8or_> hehe, that doesn't count
326: [09:40:59] <ocm> does the error still occur when you don't write errors to a logfile?
327: [09:41:33] <ec8or_> what is the setting for that?
328: [09:42:13] <ocm> ini_set("log_errors", "On");
329: [09:42:15] <ocm> in _config.php
330: [09:42:29] <ec8or_> aha yeah i tried without
331: [09:42:48] <ec8or_> downgrading now
332: [09:43:24] <ec8or_> still the same in the 3.1.2 zip
333: [09:44:38] <ocm> does it give you the error on a vanilla install of latest?
334: [09:45:38] <ec8or_> haven't tried yet
335: [09:45:51] <ec8or_> seems like it triggers from a static somewhere
336: [09:46:01] * Shrike_Finland quit (Quit: Leaving.)
337: [09:49:37] <zippy___> ec8or_: you dev/build flushed? (or just delete the ss cache folder)
338: [09:49:37] <ec8or_> must be a third-party thing
339: [09:49:48] * mobiusnz quit (Quit: Leaving.)
340: [09:50:09] <zippy___> ec8or_: Where is the Logger class being called from? maybe it's in a module thats been removed? or form a module you removed
341: [09:50:43] <ec8or_> yeah that's the thing, can't find it
342: [09:50:57] <ec8or_> but might be some third-party code that isn't excluded
343: [09:51:10] <ec8or_> yeah think i found it
344: [09:52:16] <ec8or_> aws sdk
345: [09:56:08] * howardgrigg has joined #silverstripe
346: [10:00:25] * howardgrigg quit (Ping timeout: 240 seconds)
347: [10:05:46] <P^yk> omg it's 10am and I've managed to fix something already. Today is all about progress!
348: [10:05:54] <Tanger> Haha
349: [10:06:33] <P^yk> ec8or_: eval code?
350: [10:06:55] <P^yk> I thought there was a push to purge the core of such icky statements.
351: [10:07:29] <P^yk> if you can manage to find the eval statement (there can't be many) in the code, it'll get easier to track backwards.
352: [10:07:48] <P^yk> grep eval\( *
353: [10:07:52] <P^yk> :>
354: [10:07:59] <Tanger> Hey guys, just finished a workable revision of a new site mapping module, check it out if you're interested ;): https://github.com/designcity/sitemap3
355: [10:08:45] <P^yk> Tanger: oh, it's you!
356: [10:09:01] <P^yk> I made my own sitemap module because you were too slow :<
357: [10:09:11] <Tanger> Haha
358: [10:09:16] <P^yk> In 3.x it amounted to about 10 lines of code :P
359: [10:09:26] <Tanger> I only actually got time to start it on like tuesday :P
360: [10:09:35] <Tanger> Too much office bs
361: [10:10:13] <Tanger> Yeah, basic site mapping is pretty simple. Went a bit further and added methods of displaying/hiding particular pages from it
362: [10:10:53] <P^yk> so why the namechange Tanger? did you move?
363: [10:10:54] <Tanger> It started as a single recursive function, but Bolig|DesignCity told me we needed mooooore
364: [10:11:02] <Tanger> Oh
365: [10:11:03] <Tanger> Lol
366: [10:11:10] <Tanger> Nah, I work with Bolig
367: [10:11:23] <P^yk> oh right
368: [10:11:26] <P^yk> I see.
369: [10:11:29] <Tanger> Yeah, just started
370: [10:12:25] <Tanger> He's got me doing all the backend coding while he sticks with the frontend
371: [10:13:34] <P^yk> I see.
372: [10:13:45] <P^yk> right, well it's meeting time now, so progress is halted for the day :<>
373: [10:13:48] <P^yk> ciao
374: [10:13:50] * P^yk has left #silverstripe
375: [10:22:48] * Sj0hn has joined #silverstripe
376: [10:23:50] <wmk> in ss2.4: how can i convert a componentset to a dataobjectset, so $set->remove() doesn't update the database?
377: [10:24:37] * Sj0hn has left #silverstripe
378: [10:24:48] * Sj0hn has joined #silverstripe
379: [10:27:06] * howardgrigg has joined #silverstripe
380: [10:31:13] * howardgrigg quit (Ping timeout: 240 seconds)
381: [10:32:52] * svandragt has joined #silverstripe
382: [10:34:58] * micmania1 quit (Ping timeout: 240 seconds)
383: [10:35:29] <svandragt> Is it possible to do the equivalent of a dynamic $default_sort? I have an enum of weekdays and I want to sort on that (by day of the week, not a-z string)
384: [10:38:20] <svandragt> or will I have to resort to converting it to a ArrayList, get the iterator and do a uksort on that
385: [10:38:23] * zippy___ quit (Quit: zippy___)
386: [10:43:08] <wmk> $default_sort is passed to SQL
387: [10:43:26] <wmk> sorting the result afterwards should be possible
388: [10:50:41] * mobiusnz has joined #silverstripe
389: [10:51:38] * micmania2 has joined #silverstripe
390: [10:51:41] * micmania2 is now known as micmania1
391: [10:55:24] * mobiusnz quit (Ping timeout: 265 seconds)
392: [11:07:34] * desperate_ has joined #silverstripe
393: [11:07:39] <desperate_> good morning everyone
394: [11:07:59] <wmk> hi DesignerX
395: [11:08:06] <wmk> hi desperate_
396: [11:10:00] <micmania1> anybody know if browserstack supports flash?
397: [11:15:51] <micmania1> ignore me. yes it does.
398: [11:17:03] <svandragt> wmk: thanks got the Datalist->toNestedArray(), uksorted it reindexed it and returned it as an ArrayList which works.
399: [11:18:29] <wmk> svandragt, yup. a sortByCallback would be great
400: [11:28:21] * howardgrigg has joined #silverstripe
401: [11:32:40] * howardgrigg quit (Ping timeout: 244 seconds)
402: [11:49:50] * oceanmountain has joined #silverstripe
403: [11:50:21] <oceanmountain> woah.. finally! They found the executive director of bitcoins :D
404: [11:50:22] <oceanmountain> http://www.reddit.com/r/Bitcoin/comments/1zjh83/guys_look_cnn_found_the_executive_director_of/
405: [11:50:33] * oceanmountain is now known as _ocm
406: [11:51:18] * mobiusnz has joined #silverstripe
407: [11:55:24] * Sj0hn quit (Ping timeout: 264 seconds)
408: [11:55:38] * mobiusnz quit (Ping timeout: 240 seconds)
409: [11:55:55] * svandragt quit (Remote host closed the connection)
410: [11:56:13] * ocm quit (Read error: Connection reset by peer)
411: [11:57:16] * simon_w|air quit (Ping timeout: 265 seconds)
412: [11:58:35] * svandragt has joined #silverstripe
413: [11:58:47] * simon_w|air has joined #silverstripe
414: [12:00:39] * Motoservo quit (Ping timeout: 265 seconds)
415: [12:01:33] * Raymondo quit ()
416: [12:02:54] * Raymondo has joined #silverstripe
417: [12:06:02] * _ocm is now known as ocm
418: [12:09:48] * Colin[pi] quit (Ping timeout: 264 seconds)
419: [12:10:01] * Tanger quit (Quit: Tanger)
420: [12:26:26] * Sj0hn has joined #silverstripe
421: [12:29:26] * howardgrigg has joined #silverstripe
422: [12:29:58] * spronk2 quit (Quit: spronk2)
423: [12:33:38] * howardgrigg quit (Ping timeout: 240 seconds)
424: [12:36:32] <desperate_> in the cms under pages is it possible to remove certain pages form view of content authors
425: [12:36:51] <desperate_> I see there is an option to disable it but it still appears in the list greyed out
426: [12:36:57] <desperate_> can I remove/hide it completely
427: [12:37:22] <kinglozzer> desperate_: implements HiddenClass
428: [12:37:39] <kinglozzer> So, for example, class HideMe extends Page implements HiddenClass { ...
429: [12:38:01] <kinglozzer> Though that hides it for everyone, not just content authors
430: [12:38:49] * micmania1 quit (Ping timeout: 240 seconds)
431: [12:41:07] <kinglozzer> Oh, think you can do it by creating a canCreate() function on your page class which returns false if they're not an admin
432: [12:41:15] * micmania1 has joined #silverstripe
433: [12:41:25] <kinglozzer> public function canCreate($member=null) { return Permission::check('ADMIN'); }
434: [12:56:18] <ec8or_> http://www.sspaste.com/paste/show/53171b85af45d
435: [12:56:35] <ec8or_> that would hide it for everyone, but you can change include a permission check
436: [12:56:40] <ec8or_> ah yeah, as above :)
437: [12:58:39] <ec8or_> man i can't get subsites to work
438: [12:59:38] <ec8or_> aha
439: [12:59:47] <ec8or_> FIX: subsites v0.4 doesn't work with SilverStripe v3.1
440: [12:59:49] <ec8or_> bummer
441: [13:00:00] <ec8or_> -master seems a bit broken as well
442: [13:03:41] <Sj0hn> I have an problem with ss3.0.5 .. the assest dont show anymore.. just a blank page with the sidebar (clicking edit and organize does nothing)
443: [13:04:05] <Sj0hn> I once had this with 2.4, this had to do with an empty record in the db.. but that doesnt seem to be the case
444: [13:06:26] <ec8or_> Sj0hn: 3.0.9 is out
445: [13:06:55] <ec8or_> also make sure dev mode is enabled and then load the url in a new window, should display an error message with some more information
446: [13:11:28] * UndefinedOffset has joined #silverstripe
447: [13:17:36] * SMaction quit (Ping timeout: 264 seconds)
448: [13:18:18] * SMaction has joined #silverstripe
449: [13:19:50] <Sj0hn> Ill try updating, dev mode didn't show me anything xD
450: [13:20:14] <Sj0hn> thnx
451: [13:28:51] * Shrike_Finland has joined #silverstripe
452: [13:30:29] * howardgrigg has joined #silverstripe
453: [13:34:38] * howardgrigg quit (Ping timeout: 240 seconds)
454: [13:34:58] * DesignerX quit (Ping timeout: 240 seconds)
455: [13:38:45] * Sj0hn quit ()
456: [13:53:58] * antmas quit (Ping timeout: 245 seconds)
457: [13:56:00] * willmorgan quit (Ping timeout: 264 seconds)
458: [13:59:19] <svandragt> Regardless of the order of the list of IDs that I pass in $objects = DataObject::get()->byIDs(array(2,1)); the resulting datalist is always ordered by ID again :( How do I order it by the arraylist that I pass in? the sql query is correct.
459: [14:04:47] * outrunthewolf has joined #silverstripe
460: [14:14:02] * Shashitechno has joined #silverstripe
461: [14:22:25] * willmorgan has joined #silverstripe
462: [14:29:33] * Shrike_Finland quit (Quit: Leaving.)
463: [14:31:21] * howardgrigg has joined #silverstripe
464: [14:36:05] <desperate_> is it possible to remove a tab from the CMS
465: [14:36:06] * howardgrigg quit (Ping timeout: 252 seconds)
466: [14:36:17] * dendeffe quit (Ping timeout: 265 seconds)
467: [14:36:42] <kinglozzer> $fields->removeByName('Root.Main.TabName');
468: [14:36:59] <desperate_> is that not for fields though?
469: [14:37:05] <svandragt> works for tabs too
470: [14:37:14] <kinglozzer> Tabs are fields ;)
471: [14:39:13] * P^k has joined #silverstripe
472: [14:39:17] <P^k> oh yup
473: [14:39:57] <desperate_> ah ok will try that
474: [14:42:14] <P^k> urgh. all the meetings.
475: [14:42:18] * P^k quit (Client Quit)
476: [14:44:50] <desperate_> this actually adds a tab
477: [14:44:51] <desperate_> $fields->removeFieldFromTab("Root.Content");
478: [14:45:26] <kinglozzer> desperate_: Try Root.Main.Content
479: [14:45:28] <kinglozzer> Or just 'Content'
480: [14:45:31] <kinglozzer> I never know which
481: [14:51:41] * OzziNL quit (Remote host closed the connection)
482: [14:52:27] <desperate_> hmm none of those work
483: [14:52:50] * catcher has joined #silverstripe
484: [14:54:39] <desperate_> they either give me a white screen or an internal server error
485: [14:57:26] <micmania1> desperate_: what's your tab name and is it located under any other tabs?
486: [14:57:34] <kinglozzer> $fields->removeByName("Root.Main.Content");, not ->removeFieldFromTab()
487: [15:00:23] <ec8or_> is there any way to use $ThemeDir in a require call in a template?
488: [15:02:32] <ec8or_> maybe i'll add a themedJS function
489: [15:04:49] <desperate_> removeByName(Content) removes the content wysiwyg from the content folder
490: [15:05:00] <desperate_> *tab not folder
491: [15:05:15] <desperate_> tRoot.Main.Content doesn't do anything
492: [15:06:35] <desperate_> i'm going to have to come back to this
493: [15:06:48] <desperate_> as i have something else to do with
494: [15:07:18] <desperate_> if i am do an sql query as follows
495: [15:07:45] <desperate_> $res=News::get()->filter(array('EventDate' => $row));
496: [15:08:10] <desperate_> if i want to make the filter where EventDate <=
497: [15:09:33] <desperate_> 'EventDate:GreaterThan' => $now
498: [15:17:29] <desperate_> hmm doesn't work in 3.12
499: [15:20:15] <ec8or_> has anyone had troubles using a folder structure that is deeper than 2 levels for javascript
500: [15:20:23] <ec8or_> in the themes dir
501: [15:20:32] <ec8or_> 403 forbidden
502: [15:22:56] <ec8or_> ah, it is only in "vendor"
503: [15:22:58] <ec8or_> .htaccess
504: [15:32:32] * howardgrigg has joined #silverstripe
505: [15:32:35] <desperate_> cool i got it working, you just call for the opposite of what you want unitl v3.12 (mysql object)]
506: [15:37:11] * howardgrigg quit (Ping timeout: 265 seconds)
507: [16:01:53] * Jamie___ has joined #silverstripe
508: [16:02:20] <Jamie___> can anyone help me with ClassLoader.php memory allocation error?
509: [16:05:26] <Jamie___> i keep getting a Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /var/www/vhosts/SITENAME.com/httpdocs/framework/core/manifest/ClassLoader.php on line 77
510: [16:06:39] * howardgrigg has joined #silverstripe
511: [16:11:09] * howardgrigg quit (Ping timeout: 244 seconds)
512: [16:13:10] <desperate_> if i am doinh an sql object is it possible to add the limit fuction
513: [16:13:24] <desperate_> ie select * FROM tabl1 limit 2,2
514: [16:29:40] <micmania1> desperate_: http://doc.silverstripe.com/framework/en/topics/datamodel
515: [16:35:02] <desperate_> cool i figured it out
516: [16:35:04] <desperate_> $res->getRange(2, 2);
517: [16:35:08] <desperate_> very neat
518: [16:36:53] * Jamie___ quit (Ping timeout: 245 seconds)
519: [16:37:05] <micmania1> desperate_: getRange() is deprecated. You should be using limit() instead.
520: [16:47:51] * Liquide has joined #silverstripe
521: [16:56:06] * UndefinedOffset quit (Ping timeout: 244 seconds)
522: [16:59:23] * guci0 quit (Ping timeout: 245 seconds)
523: [17:07:52] * howardgrigg has joined #silverstripe
524: [17:09:23] * UndefinedOffset has joined #silverstripe
525: [17:09:47] * kinglozzer quit ()
526: [17:10:14] * outrunthewolf quit (Remote host closed the connection)
527: [17:12:24] * howardgrigg quit (Ping timeout: 265 seconds)
528: [17:28:50] <SMaction> good morning
529: [17:34:01] * Motoservo has joined #silverstripe
530: [17:37:56] * desperate_ quit (Quit: Page closed)
531: [17:38:45] * desperate_ has joined #silverstripe
532: [17:39:29] <desperate_> if I grab a results set as an object as follows:
533: [17:39:39] <desperate_> $res=Show::get()->filter(array('displayBanner' => 1);
534: [17:39:55] <desperate_> I want to update some of the values in the object
535: [17:40:06] <desperate_> so I used foreach row as res
536: [17:41:12] <desperate_> but is the solution to use a function in the template
537: [17:41:23] <desperate_> rather than manipulate the data in the object in the controller
538: [17:45:30] <catcher> desperate_, depends on the scenario, it's php doing the lifting either way.
539: [17:45:55] <catcher> desperate_, if it's view related, template. If it's data related, controller.
540: [17:47:19] <desperate_> i got it .format('js M Y') etc
541: [17:47:20] <desperate_> cool
542: [17:57:11] * gelignite has joined #silverstripe
543: [18:06:03] * desperate_ quit (Ping timeout: 245 seconds)
544: [18:06:14] * UndefinedOffset quit (Quit: Leaving.)
545: [18:08:58] * howardgrigg has joined #silverstripe
546: [18:09:10] * micmania1 has joined #silverstripe
547: [18:13:48] * howardgrigg quit (Ping timeout: 265 seconds)
548: [18:34:38] * willmorgan quit (Ping timeout: 240 seconds)
549: [19:00:29] * UndefinedOffset has joined #silverstripe
550: [19:00:41] * ObiWanShanobi has joined #silverstripe
551: [19:06:28] * SightUnseen has joined #silverstripe
552: [19:08:55] * SightUnseen has left #silverstripe
553: [19:09:48] * howardgrigg has joined #silverstripe
554: [19:13:59] * howardgrigg quit (Ping timeout: 240 seconds)
555: [19:18:34] * antmas has joined #silverstripe
556: [19:19:05] <antmas> morning all
557: [19:20:42] <catcher> howdy
558: [19:20:55] <simon_w|air> To the bus thingy!
559: [19:24:23] * mobiusnz has joined #silverstripe
560: [19:29:25] <antmas> almost hit a bus on the way to work
561: [19:30:00] <antmas> I swear bus indicators are just stickers
562: [19:31:26] * travis-ci has joined #silverstripe
563: [19:31:27] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2090 (3.1 - cad8632 : Damian Mooyman): The build passed.
564: [19:31:27] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c61c9e7ac252...cad863204ce6
565: [19:31:27] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/20157199
566: [19:31:27] * travis-ci has left #silverstripe
567: [19:33:20] * joelpittet has joined #silverstripe
568: [19:40:06] * zippy___ has joined #silverstripe
569: [19:40:30] <zippy___> morning
570: [19:41:54] <antmas> moin moin
571: [19:45:05] * ObiWanShanobi quit (Remote host closed the connection)
572: [19:45:31] * ObiWanShanobi has joined #silverstripe
573: [19:46:04] * babak quit (Quit: Connection closed for inactivity)
574: [19:52:16] <antmas> Thursday
575: [19:52:24] <antmas> y u so busy
576: [19:53:15] <catcher> 'cause Wednesday
577: [19:54:17] <Ryan-Toast> Thursday, jump night. Aww yiss.
578: [19:55:51] <antmas> Thursday = Sharepoint day
579: [19:55:54] <antmas> YAY
580: [19:57:45] <zippy___> much awesome
581: [19:58:53] * guci0 has joined #silverstripe
582: [19:59:05] <guci0> Morning!
583: [19:59:36] * Liquide quit ()
584: [20:02:33] * opalfroot has joined #silverstripe
585: [20:03:31] <opalfroot> Is it still a thing that checking permissions is a massive time sink when you have lots of pages?
586: [20:04:32] <opalfroot> Also are there any really huge sites currently using SS?
587: [20:05:39] <zippy___> Define huge?
588: [20:05:47] <zippy___> Huge as in, lots of pages, or huge as in, lots of traffic?
589: [20:05:50] <antmas> opalfroot: depends how you go about setting permissions from the start
590: [20:05:56] <simon_w> opalfroot, no
591: [20:06:50] <opalfroot> OK just came across a forum post from a while back that suggested it was slow when trying to open up the sitetree
592: [20:07:06] * Motoservo quit (Remote host closed the connection)
593: [20:07:19] <opalfroot> Huge as in www.paulmccartney.com
594: [20:07:54] <opalfroot> So lots of traffic and lots of pages
595: [20:09:20] <opalfroot> Also does the sitetree in the admin section automatically show a list view beyond a certain number of pages?
596: [20:09:38] <Desperate> I'm not sure if this is a SS question or Jscript...
597: [20:09:39] <antmas> jesus that site is slow
598: [20:09:52] <Desperate> if i return a mysql query as an object
599: [20:09:58] <opalfroot> What site?
600: [20:10:03] <Desperate> as part of an ajax call...
601: [20:10:22] <Desperate> I am returning as json type
602: [20:10:37] * antmas_ has joined #silverstripe
603: [20:10:44] <Desperate> how do i acess the objects in my Ajax success function
604: [20:10:48] * howardgrigg has joined #silverstripe
605: [20:10:49] * NobrainerWeb has joined #silverstripe
606: [20:11:05] <NobrainerWeb> Hi
607: [20:11:23] <NobrainerWeb> What's wrong with this? ArtistHolder::get()->First()->Children();
608: [20:11:26] <Ryan-Toast> Heaps of new faces this week.
609: [20:11:31] <Desperate> the reponse I can see in dev tools is {"class":"DataList"}
610: [20:11:41] <opalfroot> antmas what site is slow?
611: [20:11:48] <antmas_> opalfroot: pmc site
612: [20:11:59] <NobrainerWeb> ArtistHolder::get()->First() gets me the holder, but how do i return all the children of that holder?
613: [20:12:08] <Ryan-Toast> Desperate: parse the fatalist as json
614: [20:12:12] <Ryan-Toast> datalist
615: [20:12:25] <opalfroot> Really? We have 14 servers behind it
616: [20:12:50] <Desperate> ah ok
617: [20:12:56] <antmas_> hmmmm
618: [20:13:06] <antmas_> it took a long time to load for me, on fiber
619: [20:13:09] <Ryan-Toast> opalfroot: Works pretty fast for me.
620: [20:13:18] <antmas_> could be an IE thing
621: [20:13:27] <zippy___> antmas: you still on ie6?
622: [20:13:28] <Ryan-Toast> antmas_: you have to click the image, it's not a loader. It's an intro.
623: [20:13:46] <zippy___> opalfroot: 14 rackspace virtual machines?
624: [20:13:58] * antmas quit (Ping timeout: 245 seconds)
625: [20:14:00] <opalfroot> Yup and cdn
626: [20:14:15] <Ryan-Toast> God if I could do one thing it would b removing the text underline on hover.
627: [20:14:17] <antmas_> Ryan-Toast: you don't say :D
628: [20:14:29] * antmas_ is now known as antmas
629: [20:14:51] <zippy___> opalfroot: 14 of what size may I ask?
630: [20:15:37] <antmas> dat loader
631: [20:15:40] <opalfroot> They auto scale - regular instances distributed in all available dcs
632: [20:15:44] <antmas> I hates it
633: [20:15:48] * howardgrigg quit (Ping timeout: 264 seconds)
634: [20:16:03] <zippy___> opalfroot: gotcha
635: [20:16:04] <Desperate> in my jquery: var data = JSON.parse(response);
636: [20:16:15] <Desperate> console log says invalid character?
637: [20:16:15] <zippy___> opalfroot: http://www.webpagetest.org/result/140305_3M_WZ6/ your doing a heap of requests on the first load, probably why it was slow for antmas
638: [20:17:14] <Ryan-Toast> Desperate: Parse it as json from the controller.
639: [20:17:16] <opalfroot> It's not an SS site unfortunately it's a hybrid
640: [20:17:28] <antmas> zippy___: that shouldn't affect me
641: [20:17:42] <opalfroot> I was just looking for information on how well SS scales
642: [20:19:13] <antmas> it looks like a silverlight site :P
643: [20:19:23] <zippy___> opalfroot: you rate limit connections on that current site? from two different locations I can pull only 11~ requests a second…
644: [20:20:17] <opalfroot> Hmmm shouldn't be - what cdn nums do you have?
645: [20:20:47] * ObiWanShanobi quit (Remote host closed the connection)
646: [20:20:54] <zippy___> Im just hitting http://www.paulmccartney.com/ direct via ab
647: [20:21:08] <opalfroot> Might be blocking JS somewhere on page - you using IE?
648: [20:21:19] <zippy___> nope, this is just getting the HTML only
649: [20:22:40] <Desperate> @Ryan-Toast - like this echo new JSONDataFormatter($res); ?
650: [20:22:54] <opalfroot> Ah yes on the lbs we have throttles
651: [20:23:38] <Ryan-Toast> Desperate: in your method something like return json_encode(DataObject::get());
652: [20:23:49] <Ryan-Toast> the method that your ajax is calling.
653: [20:24:06] <zippy___> if i turn on gzip I can psuh 20 rs :)
654: [20:24:26] <Ryan-Toast> zippy___: Getting hot and heavy about the servers? :P
655: [20:24:38] <NobrainerWeb> Can someone help? in my Page class i have $holder = ArtistHolder::get()->First(); but how do i get the Children of the holder? $holder->Children(); does not seem to work
656: [20:24:58] <zippy___> Ryan-Toast: multiple server setups nom nom nom
657: [20:25:24] <Ryan-Toast> NobrainerWeb: Just loop them in your template?
658: [20:25:43] <Ryan-Toast> Or try AllChildren if you have them hidden from the menu
659: [20:25:43] <simon_w> NobrainerWeb, if the children of it aren't set to display in menus, you want ->AllChildren()
660: [20:26:53] <NobrainerWeb> Ahhah lol, thanks simon_w, i knew that (just forgot they were set not to display) :-)
661: [20:27:22] <NobrainerWeb> ohh thanks ryan also
662: [20:27:32] <Ryan-Toast> Happy to help :)
663: [20:28:56] <opalfroot> Anyone got any good/bad experiences with Joomla?
664: [20:29:01] <Ryan-Toast> Only bad
665: [20:29:30] <opalfroot> Lol.. Least i didn't get kicked/banned for using that word
666: [20:29:35] <Ryan-Toast> :P
667: [20:29:36] <zippy___> :)
668: [20:29:46] <Ryan-Toast> Wordderp is more of an offence I think..
669: [20:30:03] <simon_w> You may have ended up on the swear charts though
670: [20:30:13] <Desperate> @Ryan-Toast I'm already eching a json_encode in my controller echo json_encode($res);
671: [20:30:38] <Desperate> then in my jquery success $.each(response, function(x, row){
672: [20:30:41] <opalfroot> Trying to migrate a lot of sites off WP and Joomla but need more convincing that SS is the one...
673: [20:31:07] <Desperate> but I can't get any output in the jquery
674: [20:31:26] <opalfroot> I love SS but bigger clients like to see bigger showcase sites
675: [20:31:29] <Ryan-Toast> opalfroot: I used to be an avid WP, and Joomla user. I could't go back. SS is so good.
676: [20:31:51] <simon_w> Desperate, is there any special characters in what you're returning? Like HTML or quotes?
677: [20:32:09] <Desperate> no it's all standard stuff
678: [20:32:18] <opalfroot> I feel the same Ryan, i love to code
679: [20:32:34] <simon_w> opalfroot, http://www.silverstripe.com/our-work/
680: [20:32:38] <catcher> opalfroot, I'll have a relatively large one soon, but hasn't launched yet.
681: [20:32:44] <Desperate> how would I reference the objects in the jquery... row[ID]
682: [20:32:48] <Desperate> or row.ID
683: [20:32:54] <Desperate> rob->ID
684: [20:33:02] <Desperate> *row->ID
685: [20:33:15] <opalfroot> Catcher anything come up that took you by surprise with the latest project?
686: [20:34:07] <opalfroot> Cheers Simon!
687: [20:34:12] <Ryan-Toast> opalfroot: The only criticism I have is on sites with a shitload of pages, if you have to reorder them the drag and drop system leaves a little to be desired.
688: [20:34:12] <catcher> opalfroot, scaling-wise, CDN integration can't happen out of the box.
689: [20:35:15] <catcher> opalfroot, I also had to do some custom caching stuff that required me to ..disrupt the zend wrappers a bit.
690: [20:35:19] * opalfroot quit (Read error: No route to host)
691: [20:35:33] <catcher> It was the word "disrupt", that's why he left.
692: [20:35:35] * opalfroot has joined #silverstripe
693: [20:35:43] <simon_w> Nah, "Zend"
694: [20:35:46] <catcher> haha
695: [20:36:55] * opalfroot quit (Read error: Connection reset by peer)
696: [20:37:01] * derek-b has joined #silverstripe
697: [20:37:07] * opalfroot4 has joined #silverstripe
698: [20:37:11] <opalfroot4> So was it fairly easy to overcome catcher?
699: [20:37:26] <catcher> opalfroot4, the caching stuff, yes, and my application is better for it.
700: [20:37:46] <zippy___> catcher: Did you use a module for the CDN? Are you doing multiple server enviroment
701: [20:37:50] <catcher> opalfroot4, I can't speak to the CDN integration as I haven't done it yet, but maybe someone else can.
702: [20:37:56] <zippy___> gotcha
703: [20:37:59] <Ryan-Toast> Going through the entire Georege fm playlist to find this one song I heard, sigh.
704: [20:38:00] <catcher> Yes, multiple server environment
705: [20:38:18] <zippy___> catcher: So how do you handle file uploads? rsync or will use a cdn?
706: [20:38:24] * ObiWanShanobi has joined #silverstripe
707: [20:38:27] <catcher> zippy___, lsyncd
708: [20:38:44] <catcher> I'm sharing a DB via AWS's RDS
709: [20:38:45] <zippy___> foolash
710: [20:38:54] <catcher> ?
711: [20:39:01] <zippy___> sorry, foohancy
712: [20:39:26] <opalfroot4> Cdn should be a piece of cake with varnish
713: [20:40:01] <opalfroot4> It'll rewrite round robin your media links
714: [20:40:09] <Ryan-Toast> It makes me sad that I don't know what the shit you guys are talking about.
715: [20:40:41] <catcher> opalfroot4, that doesn't help with getting the assets to the CDN though
716: [20:40:57] <zippy___> opalfroot4: so you have apache -> varnish? Do you have any members dynmic content? (shopping cart / "Welcome back user xyz?"
717: [20:41:23] <opalfroot4> Varnish supports ssi
718: [20:41:26] <catcher> opalfroot4, I'm using SS's partial caching a lot, along with the more custom caches I mentioned
719: [20:42:02] <zippy___> opalfroot4: yes, I am just thinking if your pretty much static, you could use static caching
720: [20:42:15] <opalfroot4> You can cache entire page blocks with varnish and feed it an ssi url
721: [20:43:35] <opalfroot4> So to get the stuff to the cdn point the cdn to your assets on the admin server and route directly - not through the load balancer
722: [20:44:09] <opalfroot4> For all other traffic through the load balancers
723: [20:44:25] <zippy___> opalfroot4: right, so you are just going to have a one server as the "admin" server then
724: [20:44:50] <antmas> wish I knew more about servers :/
725: [20:45:11] <catcher> I tried a master->slave(s) setup like that, ended up with synced peers
726: [20:45:24] <Ryan-Toast> antmas: Nah, fuck that.
727: [20:45:27] <opalfroot4> Yup - when the CDN fetches from the assets there the application servers need to know nothing about the assets
728: [20:46:05] <catcher> opalfroot4, I didn't know CDNs could pull, makes sense
729: [20:46:11] <antmas> Ryan-Toast: I find it interesting, but I wouldn't want to be an admin :P
730: [20:46:14] * ObiWanShanobi quit (Remote host closed the connection)
731: [20:46:27] <Ryan-Toast> antmas: Same :P I dislike dealing with any kind of hosting biz.
732: [20:46:41] <antmas> Ryan-Toast: same here
733: [20:46:58] <opalfroot4> Synced peers never worked for us... Always trying to pull from a peer where the asset didn't exist then it caches a default...
734: [20:46:59] <zippy___> catcher: pull servers can be so useful - aka Origin Pull
735: [20:47:34] * ObiWanShanobi has joined #silverstripe
736: [20:48:03] <catcher> opalfroot4, you end up cnaming the master separately?
737: [20:48:29] <catcher> for cms access, etc?
738: [20:48:58] <zippy___> I think you could, admin.pmc.com/
739: [20:49:01] <opalfroot4> In AWS you can specify a repo/master
740: [20:49:13] * joelpittet quit ()
741: [20:49:41] <catcher> w route53?
742: [20:49:54] <zippy___> switching from rackspace?
743: [20:50:15] <opalfroot4> No cnaming we just needed a front end to upload and make db changes so it was on a fixed ip with no DNS
744: [20:51:25] <opalfroot4> T
745: [20:51:43] <simon_w> ss23, CAFFEINE. BRING.
746: [20:51:48] <catcher> opalfroot4, master server redundant in multiple AZs?
747: [20:52:34] <catcher> that was my issue w/ master/slave, it requires at least an extra server, and budget is eventually a concern
748: [20:53:25] <catcher> plus, no load balancing the masters since the CDN pulls from a direct connection
749: [20:54:17] <opalfroot4> Sure, but if the sites big you do need it. Good article on Digital Ocean about creating a diy cdn using 5 vps servers and varnish (£25/month)
750: [20:54:56] <catcher> opalfroot4, but how about master server redundancy?
751: [20:55:00] <opalfroot4> The master is never in the lb pools it's just a front end
752: [20:56:07] <opalfroot4> X equal application servers pooled with the cdn providing assets...
753: [20:56:07] <guci0> Hmmm... VirtualPage and Childrens subject returns – may somebody know any works solution/possible to iterate VirtualPage like a base Page?
754: [20:57:27] <catcher> opalfroot4, but if your admin master goes down, what happens?
755: [20:58:38] <opalfroot4> Nothing... You can switch it off... The db is replicated, assets on the CDN and you have your application servers clustered...
756: [20:59:35] * willmorgan has joined #silverstripe
757: [20:59:55] <guci0> VirtualPage.php //* Note: This Only duplicates $db fields and not the $has_one etc..
758: [21:00:09] <antmas> man
759: [21:00:21] <antmas> it *really* sucks missing a shower in the morning :/
760: [21:00:26] <catcher> opalfroot4, so you just temporarily can't make updates?
761: [21:00:56] * babak has joined #silverstripe
762: [21:01:28] <Desperate> i'm still stuggling with the returning of an sql object for an ajax call. When I check the response in dev tools I see this: {"class":"DataList"}
763: [21:01:32] <Desperate> is that correct
764: [21:01:34] <opalfroot4> We leave it on (it's also used for git and puppet) but the application servers all run identical code
765: [21:02:33] <opalfroot4> Use ->toArray on the thing before json encoding it
766: [21:03:48] <antmas> Ryan-Toast: I'll do your small jobs :P
767: [21:04:23] <Ryan-Toast> antmas: 10% finders fee?
768: [21:05:14] <antmas> Ryan-Toast: whatever works :P
769: [21:05:40] <opalfroot4> Desperate Use ->toArray on the thing before json encoding it
770: [21:06:08] * ObiWanShanobi quit (Remote host closed the connection)
771: [21:06:15] <Ryan-Toast> antmas: you need your portfolio up so I can direct people there :P
772: [21:06:39] <antmas> Ryan-Toast: it *is* up, just not finished :D
773: [21:07:06] <Ryan-Toast> Sounds like me last night.
774: [21:07:14] <antmas> XD
775: [21:07:27] * ObiWanShanobi has joined #silverstripe
776: [21:08:21] <antmas> Ryan-Toast: I only have 2 clients at the moment, so any small job is schweet
777: [21:10:11] <simon_w> antmas, first job: bring me supplies :p
778: [21:11:20] <ss23> simon_w: NO
779: [21:11:23] <ss23> I feel shitty today
780: [21:11:23] <ss23> :(
781: [21:11:25] <simon_w> ss23 has been rather pathetic at this
782: [21:11:27] <ss23> My stomach is like "LOL FUCK YOU"
783: [21:11:35] * howardgrigg has joined #silverstripe
784: [21:11:37] <simon_w> ss23, the walk will do you good!
785: [21:12:02] <ss23> lol
786: [21:12:05] <ss23> I just walked into work!
787: [21:12:18] <simon_w> So walk back this way!
788: [21:12:25] <simon_w> Also, watch out for the gas leak
789: [21:13:24] <catcher> any guesses why editor.css and content.css are included a bunch of times on each CMS load, all generated by tiny_mce_gzip.php?
790: [21:13:55] <catcher> some framework's editor.css, sometimes my theme's
791: [21:14:29] <zippy___> antmas: I need a coffee
792: [21:14:31] <catcher> Not the ?m=timestamp versions, just the file
793: [21:14:56] <antmas> PLS
794: [21:15:02] <zippy___> antmas: please
795: [21:15:03] <antmas> ;__; I've already done an internship
796: [21:15:59] * howardgrigg quit (Ping timeout: 244 seconds)
797: [21:16:12] <simon_w> antmas, we're looking for a frontend person! You could be that!
798: [21:16:14] * Shashitechno quit (Quit: Page closed)
799: [21:16:18] <simon_w> Also, bring me hot chocolates
800: [21:16:33] <antmas> :_______;
801: [21:16:44] <antmas> staaaahhp
802: [21:16:51] <simon_w> Don't worry, I'm only here for another 6 weeks
803: [21:17:14] * opalfroot4 quit (Remote host closed the connection)
804: [21:17:30] * opalfroot4 has joined #silverstripe
805: [21:19:35] * Stomach has joined #silverstripe
806: [21:20:03] <antmas> aw man, so close
807: [21:20:11] * UndefinedOffset quit (Quit: Leaving.)
808: [21:20:15] <antmas> stupid search query is using k=string
809: [21:20:17] * NobrainerWeb quit (Quit: NobrainerWeb)
810: [21:20:19] <antmas> I just need string :(
811: [21:21:11] <catcher> Seems to only happen in dev mode, moving on
812: [21:22:06] <Desperate> @opalfroot4 Thanks I tried toArray now in the dev tools I see the result encoded as: {"destroyed":false,"class":"Show"} - where Show is the table I have queried
813: [21:22:17] <Desperate> how do I access the data in my jquery?
814: [21:23:02] <zippy___> Desperate: Are you after a single object from the sql query? You might want to use first() to get the whole object, and toArray() that instead
815: [21:23:19] <zippy___> Desperate: paste your ajax controller code and html/jquery and we can take a better look
816: [21:23:28] <Desperate> o0k one moment
817: [21:25:03] <opalfroot4> So you thing would look like json_encode(get()->first()->toArray()).... is that right?
818: [21:25:59] <Desperate> here is my paste http://pastie.org/8877915
819: [21:26:42] <catcher> Desperate, that returns a List rather than an object, try $res->first()->toArray();
820: [21:28:08] <Desperate> the respnse says "There has been an error"
821: [21:28:39] * antmas_ has joined #silverstripe
822: [21:28:58] <zippy___> First
823: [21:28:58] * antmas quit (Ping timeout: 245 seconds)
824: [21:29:27] * antmas_ is now known as antmas
825: [21:29:32] <opalfroot4> What do the logs say Desperate?
826: [21:30:28] <Desperate> which logs?
827: [21:30:54] <zippy___> Desperate: Switch on dev mode, and take a peak at the response on the response tab
828: [21:30:59] <opalfroot4> Server? And our ss logs?
829: [21:31:12] <zippy___> Desperate: and it's First - but not sure if that matters
830: [21:31:15] <zippy___> First()
831: [21:31:16] <catcher> Desperate, if you're developing on a local/dev server, you should can turn on display_errors in php.ini.
832: [21:31:37] <zippy___> Is it class names which are case insensitive or function names.. or both - I always forget
833: [21:31:38] * willmorgan quit (Ping timeout: 240 seconds)
834: [21:31:42] <catcher> lowercase is cool.. but unsure about that double filter
835: [21:32:05] <Desperate> one sec
836: [21:32:30] <zippy___> ahh, you could hit an issue if the result from First() is empty - ie no match then then your trying to toArray nothing and boom, 500
837: [21:33:21] <zippy___> Desperate: What are you specting here, a list of events which have not yet occored?
838: [21:33:29] * Sj0hn has joined #silverstripe
839: [21:33:32] <zippy___> Desperate: 'WhatsonID' => $_GET['categoryid'] -- The categoryid is the wahtsonID (event id?)
840: [21:35:38] * guci0 quit (Ping timeout: 245 seconds)
841: [21:37:40] <Desperate> I'm just pulling up the logs
842: [21:38:11] <Desperate> I am expecting a list of events which have not expired
843: [21:38:20] <Desperate> i know the logic in the sql is correct
844: [21:38:35] * joelpittet has joined #silverstripe
845: [21:38:38] <Desperate> when I dump the object I can see the data I have queried
846: [21:40:15] * guci0 has joined #silverstripe
847: [21:41:27] <Desperate> I emptied the error_log in SS, ran the script, got the error to screen but no data in error_log
848: [21:42:52] <zippy___> Desperate: Ok, then first is not what you want since you really do want a list
849: [21:43:37] <zippy___> Desperate: going back to your other code, without the first change $res->toArray() to $res->toNestedArray();
850: [21:44:08] <zippy___> Desperate: You can also do die($res->sql()); (before the json_encode) to double check the query
851: [21:44:47] * derek-b quit (Remote host closed the connection)
852: [21:45:02] <Desperate> looks like that has thrown everything into an array
853: [21:46:49] <zippy___> what has
854: [21:47:00] <zippy___> the sql, or the nestedarray?
855: [21:47:21] <zippy___> Desperate: ^
856: [21:48:20] <Desperate> the nested array
857: [21:48:21] <Desperate> !
858: [21:48:45] <Desperate> so I'm now json_encoding the array
859: [21:49:07] <Desperate> then in the jquery I can use a foreach loop to get the data all working nicely
860: [21:49:13] <zippy___> Desperate: bling
861: [21:49:30] <Desperate> however is it possible to get the filename of the related images?
862: [21:49:34] <opalfroot4> Ding dong!
863: [21:50:03] <Desperate> for example in the SS template I would use $MyImae.Filename
864: [21:50:22] <Desperate> i'm using jquery to rebuild a div
865: [21:50:34] <Desperate> with content
866: [21:51:01] <zippy___> Desperate: You might have to build your arrays manually
867: [21:51:46] <Desperate> ah ok..
868: [21:51:55] <Desperate> is my apprioach correct though?
869: [21:52:04] <Desperate> approach
870: [21:52:33] <zippy___> $foo = array(); foreach($res as $result) { $item = $result->toArray(); $item['Filename'] = $result->MyImage()->Filename; $foo[] = $item; } return json_encode($foo);
871: [21:52:34] <zippy___> or something
872: [21:52:59] <zippy___> so you'd ditch the nestedarray
873: [21:53:13] <Desperate> lol... that was how I had it working initially
874: [21:53:29] <zippy___> look at that, full circle
875: [21:53:47] <Desperate> then I discoverd on here that you can pull out an entire object and pas that back to the template and so you don't have to DIY an array
876: [21:54:04] <Desperate> but I guess that is not applicable when dealing with jquery
877: [21:54:31] * micmania1 quit (Read error: Operation timed out)
878: [21:54:34] <ss23> Awww
879: [21:54:39] <ss23> simon_w is just an awesome tutor :D
880: [21:54:52] <ss23> "Well, I'm learning a lot today. Thanks for walking me through this... I appreciate your time, just sorry it took me a while to get my head around it."
881: [21:55:04] <catcher> Desperate, I usually pick those arrays apart anyway, that's a lot of extra data flying around otherwise.
882: [21:56:10] <Desperate> yeah I hear you.. it looked pretty bloated
883: [21:56:11] <zippy___> Desperate: catcher is right, you are passign back the whole array, which could include things you don't want people to see...
884: [21:56:35] <Desperate> is that the case for all sql queries then?
885: [21:57:16] <Desperate> is it a lot of overhead?
886: [21:59:06] <guci0> Hmmm... How to check is instanceof VirtualPage inside Page_Controller?
887: [21:59:13] <catcher> Desperate, depends on your case.. you can serialize/strlen both versions and take a look.
888: [21:59:55] <catcher> guci0, have you subclassed VirtualPage?
889: [22:03:59] <guci0> Hmmm... It's usually VirtualPage with some Children (Children allready have) but I need some IF for VirtualPage and not (basePage). BasePage is extend Page.
890: [22:06:05] * SightUnseen has joined #silverstripe
891: [22:06:14] * guci0_ has joined #silverstripe
892: [22:06:19] * SightUnseen has left #silverstripe
893: [22:06:29] <guci0_> cmd + w :)
894: [22:08:08] * guci0 quit (Ping timeout: 245 seconds)
895: [22:09:10] * guci0_ is now known as guci0
896: [22:10:00] <guci0> In both case [ClassName] => ProductPage is the same
897: [22:12:42] <simon_w> http://www.youtube.com/watch?v=n5Gn8jt55LQ
898: [22:12:44] * howardgrigg has joined #silverstripe
899: [22:15:46] <antmas> simon_w: somone's late to the game :P
900: [22:15:50] <antmas> but that is awesome
901: [22:16:05] <antmas> "Magic Bullet Margaritas!"
902: [22:16:26] <Ryan-Toast> Noob doesn't know that you aren't supposed to blend veges.
903: [22:17:05] <Sj0hn> i mean those commercials were creepy already, with the over the top acting.. but this holy crap :p
904: [22:17:36] * howardgrigg quit (Ping timeout: 264 seconds)
905: [22:17:38] <Ryan-Toast> This will always be my favourite: http://www.youtube.com/watch?v=jlSF0dtDRD8
906: [22:18:44] <antmas> ah yes
907: [22:19:26] <Sj0hn> even if its a quicky wrap that sticky xD
908: [22:19:50] <Desperate> what's up with this?
909: [22:19:50] <Desperate> $res->orderby('Eventfirstdate');
910: [22:19:59] <Ryan-Toast> Stop wrapping up your money with those old lint rollers, what the fuck is wrong with you?
911: [22:20:38] <Desperate> oh it's sort!
912: [22:21:46] <antmas> now I want a sticky buddy
913: [22:21:52] <Sj0hn> what module should i use for a simple multilangual website? it only needs 2 languages.. i've seen some different modules out there
914: [22:22:32] <Sj0hn> genius voice overs those vids :p
915: [22:23:28] * violetina quit (Read error: Connection reset by peer)
916: [22:25:37] <Ryan-Toast> Sj0hn: Have you watched bad lip reading?
917: [22:25:53] * micmania1 has joined #silverstripe
918: [22:26:40] <antmas> Ryan-Toast: "An orange peanut? for me? WOW"
919: [22:26:42] <antmas> lol
920: [22:26:47] <Sj0hn> some video's, they're pretty funny aswell
921: [22:28:39] <Sj0hn> in holland there used to be this thing called mastermovies, which is a bunch of teenagers doing voice overs on the night rider, baywatch etc..
922: [22:29:06] <Sj0hn> its pretty bad, but that just makes it funny i'd say :p
923: [22:29:18] <Ryan-Toast> The DBZ abridged series is pretty good
924: [22:29:42] <Sj0hn> are those the new epi's?
925: [22:30:35] <Sj0hn> oh wow it isnt xD
926: [22:31:05] * Colin[pi] has joined #silverstripe
927: [22:31:50] <simon_w> MORNING COLIN
928: [22:32:07] <ss23> moin Colin[pi]
929: [22:32:14] <antmas> Colin[pi]: SUP CO CO!
930: [22:34:42] <simon_w> Fine then, just ignore us
931: [22:34:49] <zippy___> Ryan-Toast: so they could cover it all in about an hour, if they cut out all the 'grunting' and what not
932: [22:35:14] <Ryan-Toast> zippy__: It's a parody, and it's pretty funny.
933: [22:35:55] <Ryan-Toast> http://www.youtube.com/user/TeamFourStar/videos?flow=grid&view=0
934: [22:36:34] <Ryan-Toast> so youtube playlists can only be 200 videos long :(
935: [22:37:28] <antmas> Ryan-Toast: why would you want a bigger one that tha?
936: [22:37:31] <antmas> that?
937: [22:37:34] <Ryan-Toast> Music
938: [22:37:50] <antmas> can you not just make multiple playlists?
939: [22:37:54] <antmas> and string them together?
940: [22:38:03] * antmas doesn't use youtube
941: [22:38:04] <Ryan-Toast> It's one genre.
942: [22:38:16] <Ryan-Toast> my electronic music playlist
943: [22:38:37] <antmas> :p
944: [22:38:42] <Ryan-Toast> http://www.youtube.com/playlist?list=PL016DF490B141ECBD
945: [22:38:51] <Ryan-Toast> deleted a few so I can add more :P
946: [22:39:06] <antmas> y u no spotify playlist?
947: [22:39:20] <Ryan-Toast> Not all the music I listen to is on spotify.
948: [22:39:26] <antmas> yeah, hate that
949: [22:39:32] <antmas> or region locking
950: [22:39:45] <Desperate> guys i have a couple of more questions.. in my cms I have a gridfield
951: [22:39:47] <Ryan-Toast> fuck all remixes that I have aren't on there.
952: [22:39:55] <ss23> CAN'T KILL US
953: [22:40:39] <Desperate> the gridfield lists events.. there is an edit and delete button to the right of th elist
954: [22:40:49] <Desperate> can i put a confirmatino on the delete link
955: [22:41:13] <Desperate> because the icons are not very clear and so it's easy to delete when intending to edit
956: [22:41:29] <zippy___> Desperate: You sure there is no delete already?
957: [22:41:34] <zippy___> msg
958: [22:41:34] <Colin[pi]> moin all
959: [22:41:43] <Colin[pi]> HAI ANTMAS AND SS23 AND SIMON_W
960: [22:41:55] <Colin[pi]> sorry I went to make coffee :P
961: [22:42:03] <antmas> mmmm coffee
962: [22:42:16] <antmas> was no coffee in the jar by the kitchen so I had to have milo :(
963: [22:42:25] <Colin[pi]> D:
964: [22:42:28] <simon_w> Mmm, milo
965: [22:42:34] <Colin[pi]> milo is good, but... no caffeine
966: [22:42:38] <antmas> milo is just a brown lie
967: [22:42:43] <antmas> no caffeine
968: [22:42:45] <antmas> :<
969: [22:42:50] <ss23> lol
970: [22:42:52] <ss23> I <3 milo the most
971: [22:42:52] <Desperate> there is a delete but i want a confirmation
972: [22:42:59] <Desperate> "are you sure you want to delete?"
973: [22:43:03] <simon_w> If you're having coffee for the caffeine, you're drinking the wrong thing :p
974: [22:43:08] <antmas> naw, cadbury drinking chocolate
975: [22:43:17] <ss23> Literally no one can be mad if you wake them up with "Hi, it's time to get up! Did you want me to make you a milo?"
976: [22:43:25] <ss23> At best they grumble, then say "... yes please"
977: [22:43:33] <antmas> ss23: so, so true
978: [22:43:54] <ss23> I got awesome at manipulating peoples wakeup moods through years of being an older brother
979: [22:43:57] <ss23> Muhahaa
980: [22:44:02] <ss23> I have the power to ruin an entire morning, or make it bearable!
981: [22:44:05] <Colin[pi]> simon_w: not when it's double-shot espresso :P
982: [22:44:29] <antmas> there is a bitchin coffee house right next to our building
983: [22:44:33] <antmas> best coffee in town
984: [22:44:38] <Ryan-Toast> ss23: Milo is god tier
985: [22:44:48] <ss23> antmas: Yeah, Gentlemans Beans is really nice too
986: [22:44:53] <ss23> They make the best hot chocolates I've ever had
987: [22:44:54] <ss23> :O
988: [22:44:55] <Ryan-Toast> antmas: so the only coffee place in town?
989: [22:44:57] <Desperate> heard something interesting about coffee yesterday... it does absolutely nothing to wake you up, make you more alert. If you drink lots of coffee your brain craves it, slows down, becomes sluggish and when you drink it you just bring your brain back to a normal state that a non-coffee drinkers' brain
990: [22:44:59] <ss23> Too hot to get them lately though
991: [22:45:08] <Desperate> on that note I really fancy a coffee
992: [22:45:16] <simon_w> Colin[pi], http://www.thinkgeek.com/product/a273/ :p
993: [22:45:29] <ss23> Desperate: I don't have a particlarly scientific source, but I'm going to call bs :P
994: [22:45:47] <ss23> Desperate: caffine binds to reciptors responsible for making you feel tired, so that the normal tiredness stuff cna't do it, giving the effect of being more awake
995: [22:45:50] <Colin[pi]> not to toot my own horn, but since I got a decent espresso machine I don't like to buy coffee when I'm out because it's basically the same
996: [22:45:50] <ss23> iirc
997: [22:46:05] <ss23> lol
998: [22:46:16] <Colin[pi]> simon_w: hot damn they look dangerous
999: [22:47:37] <antmas> Ryan-Toast: pretty much
1000: [22:47:53] <Desperate> any ideas re: delete confirmatin on gridfield
1001: [22:48:05] <simon_w> Colin[pi], yeah, kinda why they're not allowed to ship out of the US :(
1002: [22:48:16] <simon_w> (just like most of their caffeine products)
1003: [22:48:57] <antmas> crazy
1004: [22:48:57] <ss23> But really, "contains as much caffeine as 2 cans of Red Bull", making it pussy-tier
1005: [22:49:04] <antmas> I'd love to buy a coffee machine
1006: [22:49:06] <antmas> a decent one
1007: [22:49:13] <Desperate> looks like there is a way with a bit of jquery... not going to attempt that now!
1008: [22:49:17] <ss23> We have a "decent one" here at work
1009: [22:50:04] <antmas> hell yeah, custom Sharepoint search box
1010: [22:50:17] * antmas feels like a boss for doing something that is easy in any other system
1011: [22:50:38] <ss23> >sharepoint
1012: [22:50:46] <ss23> condolences, and all that
1013: [22:50:50] <antmas> :P
1014: [22:51:14] <antmas> now, to integrate silenone with sharepoint...
1015: [22:51:20] * antmas cries
1016: [22:51:22] <ss23> XD
1017: [22:51:25] <ss23> The worst!
1018: [22:51:26] <ss23> :P
1019: [22:51:34] <ss23> You know why they're called SilentOne, right antmas?
1020: [22:51:42] <ss23> Because when you try find documentation, it's like they're silent!
1021: [22:51:44] <ss23> ha ha ha ha!
1022: [22:51:54] <antmas> lawl
1023: [22:52:12] <zippy___> hahahaha
1024: [22:52:20] * UncleCheese has joined #silverstripe
1025: [22:53:20] * gelignite quit (Quit: http://bit.ly/nkczDT)
1026: [22:53:24] <Colin[pi]> simon_w: why is it if I drunk one of those things I'd expect to hear this sound: http://www.youtube.com/watch?v=cYoGLmHpKvs#t=15m39s
1027: [22:58:19] * antmas quit (Quit: Page closed)
1028: [22:58:42] * antmas has joined #silverstripe
1029: [22:58:43] <Ryan-Toast> Why won't $Top.Pos return the position of the parent loop?
1030: [22:58:49] <ss23> no wonder this shit isn't working
1031: [22:58:50] <ss23> someone typo'd "nzqa" to "naqa"
1032: [22:59:31] <antmas> lol
1033: [22:59:33] <Desperate> guys I was trying to figure this out on here earlier but couldn't get anywhere... in my CMS I have two tabs under a page: Content and Shows
1034: [22:59:49] <Desperate> I want to hide the Content tab so that only Shows remains
1035: [22:59:54] <Desperate> $fields->removeByName("Main.Content");
1036: [23:00:02] <Desperate> but this removes both tabs
1037: [23:01:40] <ss23> ! [rejected] ss23 -> you (non-fast-forward)
1038: [23:01:41] <ss23> story of my life
1039: [23:02:02] <antmas> are the videos from the meetup up yet?
1040: [23:02:12] <ss23> lol
1041: [23:02:12] <ss23> no
1042: [23:02:16] <simon_w> Desperate, $fields->removeByName('Content')
1043: [23:02:20] <ss23> They literally only got recorded last night
1044: [23:02:23] <ss23> Will be at least a week
1045: [23:02:31] <antmas> hurry up!
1046: [23:02:32] <antmas> :D
1047: [23:02:37] <ss23> It's not us, we get a pro guy to do it
1048: [23:02:40] <simon_w> ss23, anything interesting happen?
1049: [23:02:43] <ss23> Haven't you seen the videos?!
1050: [23:02:47] <ss23> simon_w: Hmm, talks were good IMO
1051: [23:02:50] <antmas> same guy as last year?
1052: [23:03:05] <ss23> antmas: Think so, cam prob knows
1053: [23:03:17] <ss23> simon_w: Probably nothing you would find particularly useful, since you are already core dev, idk
1054: [23:03:20] <ss23> free beer and food!
1055: [23:03:22] <ss23> What's not to like
1056: [23:03:23] <ss23> ^.^
1057: [23:04:17] * micmania1 quit (Ping timeout: 265 seconds)
1058: [23:04:20] <ss23> UncleCheese: Didn't see you there?
1059: [23:04:26] <UncleCheese> yeah i was there
1060: [23:04:30] <ss23> Oh :O
1061: [23:04:33] <ss23> Didn't say hi to me? :(
1062: [23:04:48] <UncleCheese> probably couldn't see me behind the fatefuls of chips i was shoveling
1063: [23:04:52] <ss23> hahahhaa
1064: [23:04:54] <UncleCheese> facefuls*
1065: [23:05:23] <UncleCheese> yeah, i didn't stay very long.. once someone offered me a ride, i jumped on it and skipped out
1066: [23:05:41] <UncleCheese> great talks, though.. chillu nailed it
1067: [23:05:42] * Nimle has joined #silverstripe
1068: [23:06:40] <ss23> aw yep yep
1069: [23:06:42] <Nimle> Hi guys, can getTitle method in dataobject class get title from other table?
1070: [23:06:44] <antmas> UncleCheese: what was his/her talk about?
1071: [23:06:48] <Nimle> or it should be in the same table
1072: [23:07:05] <UncleCheese> chillu is Ingo, antmas
1073: [23:07:06] <ss23> Nimle: I'm not 100% what you mean
1074: [23:07:13] <simon_w> Nimle, it can do whatever you want
1075: [23:07:16] <UncleCheese> he talked about "PageTypeItis"
1076: [23:07:28] <antmas> UncleCheese: oh :D
1077: [23:07:36] <Nimle> class Category extends DataObject here I have public function getTitle() { }
1078: [23:07:39] <UncleCheese> and the anti-patterns that the SS framework cultivates
1079: [23:07:51] <UncleCheese> very apt topic.. i see it all the time..
1080: [23:07:54] <UncleCheese> i do it all the time
1081: [23:08:02] <catcher> UncleCheese, example?
1082: [23:08:17] <UncleCheese> well, for one, having 30+ page types
1083: [23:08:26] <UncleCheese> a lot of them empty, just so you can get a custom template
1084: [23:08:43] <UncleCheese> a lot of methods defined in Page.php just so that they can be shared across more than one template
1085: [23:08:53] <antmas> UncleCheese: yeah, I'd love to know a good way around that
1086: [23:09:10] <Desperate> I just cannot remove this tab!
1087: [23:09:11] <UncleCheese> think horizontally, not vertically
1088: [23:09:21] <catcher> Yay, things I avoid so far
1089: [23:09:22] <UncleCheese> composition over inheritance
1090: [23:09:27] <Desperate> the other approach is to make my Shows tab the default but that too doesn't work
1091: [23:09:28] <Desperate> $fields->addFieldToTab('Root.Shows', $showsField, 'Content');
1092: [23:09:53] <catcher> I lean on custom Utility classes, not sure if that's great.
1093: [23:10:14] * Sj0hn quit ()
1094: [23:13:40] * howardgrigg has joined #silverstripe
1095: [23:17:58] * howardgrigg quit (Ping timeout: 240 seconds)
1096: [23:23:29] * catcher quit (Quit: Leaving)
1097: [23:25:52] <antmas> so hungry
1098: [23:25:55] <antmas> need eats
1099: [23:26:05] <Desperate> i'm getting close: this removes the content tab
1100: [23:26:06] <Desperate> $fields->removeFieldFromTab("Root.Content.Main","Content");
1101: [23:26:13] <Desperate> but then this brings it back:
1102: [23:26:18] <Desperate> $fields->addFieldToTab('Root.Shows', $showsField);
1103: [23:31:05] <Desperate> it's alomst as if "content" is a default field that can't be hidden, or at least it can but it is re-enabled as soon as you create another tab
1104: [23:34:26] * SightUnseen has joined #silverstripe
1105: [23:40:13] * SightUnseen has left #silverstripe
1106: [23:40:53] <Colin[pi]> I wanted to rip into IE so bad here, but I tried to keep it to a minimum: http://www.praxis.net.au/blog/why-you-need-to-let-go-of-your-old-browser/
1107: [23:41:11] <Colin[pi]> also very fluffy blog post.. next one I want some substance -_-
1108: [23:42:50] <spronk> sigh
1109: [23:42:51] <spronk> you folks
1110: [23:42:59] <spronk> bash on IE for not implementing unfinished draft standards
1111: [23:43:09] <spronk> while having pretty damn good support for all the *actually finished* ones, unlike some other browsers
1112: [23:43:19] <spronk> try printing in an older version of chrome, for example
1113: [23:43:37] <Colin[pi]> the later versions are not too bad, but I don't think I'll recover from the years of pain before IE9
1114: [23:43:43] <Colin[pi]> scarred for life
1115: [23:44:34] <antmas> I only have issues with IE8/9, everything else, I don't mind with IE
1116: [23:44:56] <spronk> seriously though
1117: [23:45:07] <spronk> even IE8 and 9 had far better supprot for some of the more esoteric standards than newer browsers
1118: [23:45:16] <Colin[pi]> antmas: generally me too, though I did test something the other day in IE11 and it was the only browser that derped
1119: [23:45:47] <spronk> typically IEs were well tested too, didn't suffer too badly from shit like memory leaks
1120: [23:46:00] <antmas> for most things I do, IE handles it fine
1121: [23:46:03] <antmas> no matter the version
1122: [23:46:49] <antmas> nice, Sharepoint and Silentone are playing nice, at least for searching :D
1123: [23:48:25] <Colin[pi]> yey
1124: [23:50:08] <antmas> such a bungled up search query though
1125: [23:50:26] <antmas> like 8 parameters that never change beyond the search term
1126: [23:51:05] <Desperate> going to have to give up on the tabs issue... i'll try again tomorrow if that's ok
1127: [23:52:06] <Desperate> google search hasn't provided an answer, it would seem that it would be a common request
1128: [23:52:57] <antmas> huh, it seems you can download all of Wikipedia
1129: [23:53:04] <antmas> it's only 40gbs :P
1130: [23:53:15] <Colin[pi]> pfft, just zip it and then zip the zip, repeat
1131: [23:57:07] * UncleCheese quit (Quit: UncleCheese)
1132: [23:57:39] * ObiWanShanobi quit (Quit: Leaving...)
1133: [23:59:48] <Colin[pi]> Ryan-Toast: remember that "oh thanks *THRRRRPPTTTTPTPTTPT*" thing the other day, when a client gets handed the nice shiny design and then shit all over it?

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