#silverstripe IRC Log

IRC log for 4 February 2014

All timestamps are in UTC.

1: [00:03:49] * micmania1 quit (Ping timeout: 248 seconds)
2: [00:04:15] <Ryan-Toast> Got my new headphones, yayy
3: [00:05:28] <Ryan-Toast> Now I just need to get a headphone amp./
4: [00:06:26] * camfindlay has joined #silverstripe
5: [00:07:52] * Azure quit (Read error: Connection reset by peer)
6: [00:08:17] * Azure has joined #silverstripe
7: [00:08:44] * camfindlay quit (Client Quit)
8: [00:10:54] <Colin[pi]> which ones Ryan-Toast?
9: [00:11:07] <Ryan-Toast> Colin[pi]: Sennheiser HD558
10: [00:11:14] <Colin[pi]> ohh good choice
11: [00:11:26] <Colin[pi]> thought you were going to say Beats or some crap
12: [00:11:42] <Ryan-Toast> god no, though the girl at PBTech tried to sell me some.
13: [00:11:46] <Ryan-Toast> You kidding, bitch?
14: [00:11:51] <Colin[pi]> they are utter shit
15: [00:12:02] <Colin[pi]> BUT ALL THE COOL KIDS HAVE THEM, RITE
16: [00:12:03] <Ryan-Toast> They're okay if all you want to hear is bass.
17: [00:12:37] <Ryan-Toast> I just don't know anything about headphone amps, so need to do some research.
18: [00:12:41] <spronk> what amp you getting?
19: [00:12:43] <spronk> oh
20: [00:12:48] <spronk> Schitt Magni + Modi is good
21: [00:12:53] <spronk> hifiman EF2a is decent
22: [00:13:02] <spronk> nuforce icon is ... acceptable for something small
23: [00:13:07] <spronk> as is udac
24: [00:13:09] <Colin[pi]> noob question.. why a headphone amp?
25: [00:13:19] <spronk> better authority to drive your cans with :P
26: [00:13:23] <Ryan-Toast> Colin[pi]: POOOWWWEEERRRRRRRR
27: [00:13:29] <spronk> though tbh
28: [00:13:38] <spronk> HD558s don't really need much more than a decent portable player's amp
29: [00:13:41] <Colin[pi]> but... seriously those things will fuck up your ears enough as it is, right?
30: [00:14:16] <Ryan-Toast> Colin[pi]: What? I can't hear yu.
31: [00:14:25] <Colin[pi]> WHAT SONNY?
32: [00:14:57] <Colin[pi]> I can't wear my headphones at my desk any more :(
33: [00:16:25] <Ryan-Toast> Colin[pi]: Why?
34: [00:16:40] <Colin[pi]> my girlie neck was complaining after wearing them all day
35: [00:17:15] <Colin[pi]> I started getting a lot of neck pain... and the muscles at the side were like hard as rock
36: [00:17:20] <Ryan-Toast> I wear a helmet everyday so my neck muscles are okay.
37: [00:17:21] <Colin[pi]> had to have an ultrasound
38: [00:17:27] <Ryan-Toast> Oh, wow.
39: [00:17:32] <Colin[pi]> the doctor came in to talk to me after the scan
40: [00:17:33] <Ryan-Toast> Get some lighter headphones :P
41: [00:17:33] <Colin[pi]> he's like
42: [00:17:35] <Colin[pi]> what did you do?
43: [00:17:42] <spronk> o_O
44: [00:17:42] <Colin[pi]> did you injure your neck sporting?
45: [00:17:47] <spronk> the hell kinda headphones do you have man?
46: [00:17:50] <Colin[pi]> and I'm like "no it's from sitting at the computer"
47: [00:18:07] <Colin[pi]> and he said "i've seen two in my career like yours, you're the second" lol
48: [00:18:27] <Colin[pi]> plantronics gamecom... they sound good, but yeah, kinda bulky
49: [00:18:41] <Ryan-Toast> I found your headphones, Colin: http://i.imgur.com/AwCXp7K.jpg
50: [00:19:07] <Colin[pi]> http://www.plantronics.com/images/catalog/product_fullsize/gamecom367.jpg
51: [00:19:07] <Colin[pi]> rofl
52: [00:19:08] <Colin[pi]> yes it's like that
53: [00:19:18] <Colin[pi]> may as well strap two ghetto blasters either side
54: [00:19:56] <Colin[pi]> but anyhoo, I freelance and I bought some THX Z623's ;)
55: [00:20:06] <Colin[pi]> now I just blare music
56: [00:20:26] <spronk> should get some grado RS-2
57: [00:20:26] <spronk> or 1
58: [00:20:32] <spronk> mahogony is light as
59: [00:20:47] <Colin[pi]> was quite impressed with the sound from these Z623's
60: [00:20:54] <spronk> or alessandro ms pros
61: [00:21:03] <Colin[pi]> eh
62: [00:21:09] <spronk> headphoens
63: [00:21:16] <spronk> logitech's THX speakers are generally decent
64: [00:21:20] * spronk has the original Z-560s
65: [00:21:23] <spronk> run them 2.1 now
66: [00:21:25] <Colin[pi]> yeah I was pleasantly surprised
67: [00:21:41] <Colin[pi]> wasn't expecting much but the first day I'm like omfg... that's not too bad at all
68: [00:21:52] <Ryan-Toast> Does anyone like mashups here?
69: [00:21:56] <spronk> they're generally a lot better than your average home theatre in a box speakers from samsung or panasonic etc
70: [00:21:59] <Colin[pi]> aye
71: [00:23:58] * an_Eskimo quit (Ping timeout: 245 seconds)
72: [00:24:01] * ObiWanShanobi quit (Remote host closed the connection)
73: [00:29:10] * PapaBear has left #silverstripe
74: [00:31:58] * chillu_23 quit (Quit: chillu_23)
75: [00:32:48] * UncleCheese quit (Quit: UncleCheese)
76: [00:36:00] * bennylope quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
77: [00:37:34] <Ryan-Toast> This is a very cool site: http://www.thisismyjam.com/
78: [00:38:41] <Ryan-Toast> You can search by artist and it'll recommend a song from them: http://www.thisismyjam.com/thatonesong?another=1
79: [00:39:20] <antmas> pretty cool
80: [00:39:28] <antmas> even managed to pick up some obscure metal I listen to :P
81: [00:45:34] * chillu_23 has joined #silverstripe
82: [00:47:06] <antmas> so, anyone keen to help with my issue from before?
83: [00:52:22] * UncleCheese has joined #silverstripe
84: [00:55:08] * will has joined #silverstripe
85: [00:55:31] * will is now known as Guest34371
86: [00:55:38] <Guest34371> Hello
87: [00:55:59] <Guest34371> how can i sort a datalist by the sitetree order?
88: [00:56:06] <Guest34371> so im trying to do something like this:
89: [00:56:15] <Guest34371> return Facility::get()->filter('ParentID', $this->ID)->sort('Sort', 'ASC');
90: [00:56:57] <Guest34371> but it is just coming back in ID order
91: [01:04:57] <antmas> bah
92: [01:05:01] <antmas> stupid
93: [01:09:10] <Ryan-Toast> when I have $MetaTags(false) in my template and I add custom meta bullshit it duplicates my <head> tag, what's up with that?
94: [01:09:37] <simon_w> Ryan-Toast, you're not putting $MetaTags in your <head>?
95: [01:09:49] <Ryan-Toast> I am, yes.
96: [01:09:58] <Ryan-Toast> but they go into my body for some reason.
97: [01:12:08] <Ryan-Toast> simon_w: https://www.webwonks.co.nz/blog/the-great-popularity-contest/
98: [01:21:01] <antmas> this is a bitch to debug :/
99: [01:21:51] <EasyCo> Interesting Composer benchmark on PHP 5.4 vs HHVM: http://t.co/owb1loynYH
100: [01:22:51] <antmas> EasyCo: wait, which is which?
101: [01:23:13] <EasyCo> antmas: Composer on the right
102: [01:23:27] <EasyCo> I mean HHVM
103: [01:23:30] <EasyCo> :p
104: [01:23:41] <antmas> EasyCo: nice, more memory though?
105: [01:23:59] <EasyCo> Compare the peaks
106: [01:24:18] <antmas> still, 25s vs 180s, memory wouldn't matter :P
107: [01:24:27] <EasyCo> 'zactly
108: [01:24:55] <simon_w> Especially since you already need >1 GB to start HHVM
109: [01:25:05] <ss23> tbh, with those kind of speed differences, would be worth rolling HHVM just for composer
110: [01:25:25] <antmas> simon_w: any thoughts on what I should try for this error?
111: [01:25:33] <antmas> any more*
112: [01:25:36] <simon_w> antmas, what error?
113: [01:26:08] <antmas> my injector error, from before regarding the poll mudle
114: [01:26:16] <antmas> module*
115: [01:26:37] <simon_w> Look at the call stack, fine the name of the class it's trying to create
116: [01:27:26] <antmas> simon_w: I'm pretty certain it's tying to create Poll (poll.php), but I can't tell right off where the incompatibility lies - https://github.com/mateusz/silverstripe-polls/blob/master/code/Poll.php
117: [01:28:13] <simon_w> antmas, https://github.com/mateusz/silverstripe-polls/blob/master/code/Poll.php#L48
118: [01:28:25] <simon_w> change that to use self::$vote_handler_class instead of the Config stuff
119: [01:28:35] <antmas> simon_w: :O
120: [01:28:39] <antmas> spotting!
121: [01:28:51] <antmas> will try that after this meeting I forgot about
122: [01:28:53] <antmas> :P
123: [01:38:51] * PapaBear has joined #silverstripe
124: [01:40:23] <Ryan-Toast> Bah, it's a bug with Silverstripe. I even trrried it on the demo site.... http://demo.silverstripe.org/
125: [01:40:29] <Ryan-Toast> simon_w: ^
126: [01:43:34] <Ryan-Toast> Where should I raise this?
127: [01:43:57] * chillu_23 quit (Quit: chillu_23)
128: [01:44:48] <PapaBear> Hi all. Is there any way to set a file upload to via UploadField to automatically generate a unique filename if the filename already exists rather than show an overwrite message
129: [01:45:28] <PapaBear> Or will I need to do some nasty hacking on the jquery upload plugin being used?
130: [01:52:51] <Colin[pi]> PapaBear: $field->setOverwriteWarning(false); Upload (config): replaceFile: false ?
131: [01:53:02] <Colin[pi]> haven't tried this, so not sure if it'll work
132: [01:54:12] <PapaBear> Colin[pi]: worth a crack...
133: [01:54:43] <ss23> we look at the weird lines and shit on our screen
134: [01:54:49] <ss23> and we can receive each others thoughts
135: [01:54:50] <ss23> or like
136: [01:55:00] <ss23> we just blow wind through our meat flaps and we can know what the other person is thinking
137: [01:55:06] <ss23> shit is fucked up yo
138: [01:55:26] <Colin[pi]> ss23: that is the most profound thing you've ever said
139: [01:59:01] <terryapodaca> http://yir.dairymax.org/ any opinions?
140: [01:59:03] <terryapodaca> :D
141: [01:59:07] * camfindlay has joined #silverstripe
142: [01:59:16] <ss23> Slow to load!
143: [01:59:57] <terryapodaca> it's got a slow load effect...each section does that
144: [02:00:16] <ss23> I don't like that effect personally
145: [02:00:49] <ss23> terryapodaca: Is very pretty though :D
146: [02:00:51] <ss23> I like the design a lot
147: [02:01:03] <terryapodaca> i don't as much either...but it was requested by the client
148: [02:01:08] <terryapodaca> i had no choice...
149: [02:01:14] <terryapodaca> ss23 and thanks
150: [02:01:22] <ss23> Did you design it too?
151: [02:02:27] <terryapodaca> I wire-framed it with the client as we were hashing out the content (numbers/percentages/etc) and I handed it off to my graphics guy to fill it in with pretty images
152: [02:08:22] <Colin[pi]> ss23: http://i.imgur.com/KwMmxB9.jpg
153: [02:08:35] <ss23> terryapodaca: A+ :D
154: [02:08:44] <ss23> lol Colin[pi]
155: [02:08:48] <PapaBear> Colin[pi]: That works nicely. Danke mein herr!
156: [02:08:52] <Colin[pi]> FRAME IT
157: [02:09:03] <Colin[pi]> Papabear: no worries
158: [02:09:14] <ss23> gutten tag!
159: [02:09:16] <ss23> moin moin!
160: [02:09:17] <ss23> :D
161: [02:09:23] <ss23> I think that is about all of my German skills
162: [02:09:53] <Colin[pi]> vie gates?
163: [02:10:09] <Colin[pi]> afveedersein
164: [02:10:18] <Colin[pi]> or however the fuck that is spelled
165: [02:11:22] <ss23> Ohhh ohh
166: [02:11:36] <ss23> gazuntauteude
167: [02:11:41] <ss23> (good helath!)
168: [02:11:43] <ss23> health*
169: [02:12:25] <Colin[pi]> I know a lot more portuguese ;)
170: [02:13:21] <ss23> Hmm
171: [02:13:26] <ss23> I don't think I know any portuegese
172: [02:13:29] <ss23> Maybe a greeting...
173: [02:13:38] <ss23> What is the first few letters of the common greeting, Colin[pi]?
174: [02:13:41] <Colin[pi]> I'll teach you.. "Oi, tudo bem?"
175: [02:13:54] <Colin[pi]> and the response is "Tudo bem e voce?"
176: [02:14:11] <Colin[pi]> and then it's "Tudo bem!"
177: [02:14:12] <Colin[pi]> literal translation
178: [02:14:13] <Colin[pi]> "Hi, everything good?"
179: [02:14:18] <ss23> Good, what about you?
180: [02:14:20] <ss23> good
181: [02:14:25] <Colin[pi]> "Everything is good and you?"
182: [02:14:32] <Colin[pi]> "Everything's good!"
183: [02:14:36] <Colin[pi]> yep that's it ;D
184: [02:14:42] * Guest34371 quit (Quit: Page closed)
185: [02:14:53] <Colin[pi]> Bye is "Tchau"
186: [02:14:58] <Colin[pi]> (like ciao)
187: [02:15:26] <Colin[pi]> thanks is "Obrigado" if you're a man, and "Obrigada" if you're a woman
188: [02:15:26] * camfindlay quit (Read error: Connection reset by peer)
189: [02:16:11] <Colin[pi]> I know enough to keep me out of trouble in Brazil
190: [02:16:16] * camfindlay has joined #silverstripe
191: [02:16:37] <ss23> lol
192: [02:16:51] <ss23> if you knwo the persons name
193: [02:17:09] <ss23> is it "oi Colin, tudo bem", or "colin oi", or just "colin, tudo bem"?
194: [02:17:16] <Colin[pi]> the 1st one
195: [02:17:30] <Colin[pi]> or you can say "Ola Colin"
196: [02:17:33] <Colin[pi]> for hello
197: [02:17:53] <terryapodaca> glad someone likes it
198: [02:17:55] <terryapodaca> ;)
199: [02:19:24] * machiaveli has joined #silverstripe
200: [02:19:39] <machiaveli> Hey all I was wondering if someone could help me with a problem I have
201: [02:19:54] <ss23> machiaveli: Only if you ask :)
202: [02:20:32] <machiaveli> I have a 'Sale' Datobject which has_many 'Download' dataobjects
203: [02:20:57] <machiaveli> In a template I need to access a value on the Sale object while looping through my Downloads
204: [02:21:09] <machiaveli> so I have a <% with Sale %>
205: [02:21:16] <machiaveli> and <% loop Downloads %>
206: [02:21:34] <machiaveli> I am unsure how to access any of the values from the dataobject being referenced by With
207: [02:21:45] <machiaveli> seeing as there is no actual reverse relationship
208: [02:22:08] <machiaveli> does that make sense?
209: [02:22:20] <machiaveli> thanks in advance for any assistance :)
210: [02:23:56] <machiaveli> $Up
211: [02:23:57] <machiaveli> ;)
212: [02:24:01] <machiaveli> hehe
213: [02:24:07] <machiaveli> thanks for readin'
214: [02:24:16] <machiaveli> answered my own question
215: [02:25:27] <ss23> lol
216: [02:25:28] <ss23> :D
217: [02:25:30] * ss23 rubberduck
218: [02:25:47] <Colin[pi]> lol
219: [02:26:11] <Colin[pi]> I have moments of clarity when I go to the toilet
220: [02:26:29] <Colin[pi]> I can be working on something for a while... "GOD DAMN IT, I KNOW HOW TO DO THIS..."
221: [02:26:35] <Colin[pi]> figure it out on the toilet
222: [02:27:25] * terryapodaca has left #silverstripe
223: [02:28:16] <simon_w> Who wants to write a blurb about me for my blog post?
224: [02:29:16] * MiniZeka has joined #silverstripe
225: [02:30:03] <MiniZeka> hi guys!
226: [02:30:11] <Colin[pi]> "simon_w is a doody head but genuinely helpful and knowledgable fellow" how's that?
227: [02:30:25] <simon_w> camfindlay, what do you think?
228: [02:30:35] <Colin[pi]> XD
229: [02:30:39] <MiniZeka> I'm freaking out, and I know it's a simple problem, but cannot work my way out
230: [02:31:09] <camfindlay> Colin[pi] seems legit
231: [02:31:16] <Colin[pi]> hehe
232: [02:32:07] <MiniZeka> I have a MemberPage_Controller, with route properly set up in yaml file
233: [02:32:20] <MiniZeka> but cannot login from $LoginForm
234: [02:32:43] <MiniZeka> if I put $LoginForm anywhere else, I can login without problems
235: [02:33:02] <MiniZeka> but from MemberPage_ActionName.ss it simply wont do
236: [02:33:05] <MiniZeka> any help?
237: [02:33:32] <simon_w> MiniZeka, what happens when you try?
238: [02:33:56] <MiniZeka> redirects me to Security/login without being logged in
239: [02:34:19] <simon_w> What's the form's action attribute?
240: [02:34:34] <MiniZeka> just a sec
241: [02:34:54] <MiniZeka> it's /MemberPage_Controller/LoginForm
242: [02:36:58] <simon_w> MiniZeka, hmm, there's nothing in the standard flow that'll redirect you to Security/login. Is there anything special about that page that could be changing that?
243: [02:37:45] <MiniZeka> I think no
244: [02:37:54] <MiniZeka> should make sspaste?
245: [02:38:18] <simon_w> Could help
246: [02:40:23] <MiniZeka> ffs
247: [02:40:39] <MiniZeka> I knew I would find a problem as soon as I complain to someone...
248: [02:40:44] * MiniZeka silly
249: [02:40:49] <simon_w> Sounds just like the last person!
250: [02:42:35] <MiniZeka> it turns out I added check in init method to restrict access to non-logged users to all methods other than register
251: [02:42:46] <MiniZeka> which has login and register form...
252: [02:43:25] <PapaBear> Does many_many_extraFields only work from the many_many end of the link and not from the belongs_many_many end?
253: [02:43:43] <PapaBear> I'm talking about creating the extra fields on a dev/build
254: [02:43:50] <antmas> <@simon_w> change that to use self::$vote_handler_class instead of the Config stuff
255: [02:44:02] <antmas> how do, simon_w ?
256: [02:44:22] <simon_w> antmas, Injector::inst()->create(self::$vote_handler_class, ...
257: [02:45:01] <antmas> simon_w: ofc
258: [02:45:55] <Ryan-Toast> Going back to Jump! tonight, aww yiss
259: [02:46:19] <antmas> Ryan-Toast: I thought you were sick? :P
260: [02:46:49] <antmas> simon_w: you're a legend, cheers dude
261: [02:47:28] <Ryan-Toast> antmas: I am, but I want to jump
262: [02:47:41] <Colin[pi]> Ryan-Toast: was it good?
263: [02:47:48] <Ryan-Toast> So good, been like 5 times now.
264: [02:48:06] <simon_w> PapaBear, for creating the actual columns, yes it only works from the many_many end
265: [02:48:07] <antmas> Ryan-Toast: you got a year's pass or something?
266: [02:48:08] <Colin[pi]> Ryan-Toast: were you surrounded by big bouncing bazoongas like you thought?
267: [02:48:28] <Ryan-Toast> Nah, I just pay every time I go. Colin, lol wut?
268: [02:48:30] <simon_w> PapaBear, inserting/reading works from either end
269: [02:48:57] <Colin[pi]> Ryan-Toast: didn't you say something like 5 chicks had responded to the invite with, uh, significant assets?
270: [02:48:57] * camfindlay quit (Read error: Connection reset by peer)
271: [02:49:28] <Ryan-Toast> Colin[pi]: haha, oh yeah had heaps of girls go. They had a good time, though they were sore as.
272: [02:49:28] <Colin[pi]> or was that someone else in here?
273: [02:49:34] <Colin[pi]> lol
274: [02:49:39] <simon_w> Colin[pi], cam took that line out of my bio :p
275: [02:49:46] <Colin[pi]> LOL
276: [02:50:10] * camfindlay has joined #silverstripe
277: [02:50:17] <Ryan-Toast> the mrs hasn't replied if she's driving me or not though :(
278: [02:50:30] <antmas> Ryan-Toast: you need to be driven?
279: [02:50:38] <Colin[pi]> driving you?
280: [02:50:49] <antmas> getting boozed?
281: [02:50:54] <Ryan-Toast> antmas: Yeah, I'm always tired as fuck afterwards, and it's a good 40 minute ride back to my house.
282: [02:51:07] <Ryan-Toast> tired + motorbikes = no fun
283: [02:51:20] <antmas> Ryan-Toast: true that
284: [02:51:33] <Colin[pi]> mm
285: [02:51:47] <Colin[pi]> yeah I thought boozing + bouncing would probably be a very bad idea
286: [02:51:56] <antmas> my first time in Auckland in 5 years this July
287: [02:52:00] <Ryan-Toast> Colin[pi]: Do you mean best idea?
288: [02:52:10] <antmas> Ryan-Toast: Afterwards maybe :P
289: [02:52:16] <Ryan-Toast> antmas: DO YOU MEAN BEST IDEA?
290: [02:52:23] <Colin[pi]> Ryan-Toast: yeah I couldn't see that going wrong at all ;)
291: [02:52:49] <Ryan-Toast> Colin[pi]: So much vomit.
292: [02:52:51] <Ryan-Toast> All of it
293: [02:52:55] <antmas> I used to go have beers after rock climbing
294: [02:52:59] <antmas> and that made me puke
295: [02:53:21] <Ryan-Toast> antmas: yeah you need to warm down first.
296: [02:53:36] <Ryan-Toast> Though I never do :P
297: [02:53:45] <Ryan-Toast> Sweet Heiniken, get inside me.
298: [02:53:54] <antmas> Ryan-Toast: beer warms you down pretty quick :D
299: [02:54:20] <Colin[pi]> still, you could call it the Jump'n'Pump
300: [02:54:26] <Ryan-Toast> I've been watching videos all afternoon on how to do spinning backflips, I'm excite.
301: [02:54:30] * willr quit (Quit: willr)
302: [02:54:48] <Ryan-Toast> Colin[pi]: The booze and snooze...because you'll be unconcious.
303: [02:54:50] <Colin[pi]> nek minnit: Ryan-Toast gives the thumbs up photo from hospital
304: [02:55:15] <Ryan-Toast> Colin[pi]: There are pads everywhere, if anything I'd pull a muscle in my leg I reckon.
305: [02:55:31] <Ryan-Toast> The twisting makes for awkward landings when you suck at them.
306: [02:56:00] <Colin[pi]> I dont think I'd go so good there, but since my friend is opening one, I'll prolly get a free pass
307: [02:56:16] <Ryan-Toast> Colin[pi]: Ohhh, where?
308: [02:56:31] <Colin[pi]> in wagga, nsw to start with
309: [02:56:47] <antmas> man
310: [02:56:50] <Colin[pi]> http://www.dailyadvertiser.com.au/story/2004149/massive-trampoline-to-spring-into-wagga/
311: [02:56:53] <antmas> need a tramampoline!
312: [02:56:54] <Colin[pi]> this is my mate from high school
313: [02:57:06] <Colin[pi]> I'm building the web site currently :D
314: [02:57:19] <Ryan-Toast> Colin[pi]: Ah good, lots of long tramps.
315: [02:57:48] <Colin[pi]> yeah they did the big custom order from china, and they send it all out
316: [02:57:57] <Ryan-Toast> The places need more floor areas so you can learn on tramps, then practice freerunning.
317: [02:58:00] <Colin[pi]> and they're doing a mini golf course too
318: [02:58:49] <Colin[pi]> gotta say the mini golf is looking pretty sweet: https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-prn1/t31/1008234_715806835099083_385891472_o.jpg
319: [02:59:03] <antmas> Colin[pi]: awesome
320: [02:59:07] <Colin[pi]> dat detail: https://fbcdn-sphotos-f-a.akamaihd.net/hphotos-ak-frc1/t1/q71/1604475_715806758432424_71959261_n.jpg
321: [02:59:34] <Colin[pi]> now I got about 2 weeks to finish the site :(
322: [02:59:48] <simon_w> Colin[pi], so it'll be ready when I'm next over there?
323: [02:59:55] <Ryan-Toast> Colin[pi]: Will it have booking functionality?
324: [02:59:56] <Colin[pi]> should be
325: [03:00:01] <Colin[pi]> the site? yes
326: [03:00:07] <Colin[pi]> that's the bulk of the work
327: [03:00:20] <Ryan-Toast> Colin[pi]: do they have a CRM system, or will the site be the source of tryth?
328: [03:00:32] <Colin[pi]> at this stage, the site is the everything
329: [03:00:47] <Ryan-Toast> cool.
330: [03:00:58] <Ryan-Toast> Jump has an okay website, but they have no images of the park..so dumb.
331: [03:01:10] <Ryan-Toast> Whomever thought that was a clever idea should be fired.
332: [03:01:20] <Colin[pi]> yeah that's pretty stupid
333: [03:01:28] <Colin[pi]> this will have a fairly simple design, but a nice selection of images
334: [03:01:44] <Ryan-Toast> This is their one: http://www.jumpwithus.co.nz/
335: [03:02:15] <antmas> those colours
336: [03:02:16] <Colin[pi]> well, one picture that shows a bit of the park
337: [03:02:24] <Ryan-Toast> That one picture :P
338: [03:02:27] <Ryan-Toast> the only one.
339: [03:03:00] <Colin[pi]> antmas: yeah they all seem to have garish colours
340: [03:03:12] <Colin[pi]> the one I'm building has bright green and blue, but in limited quantities ;)
341: [03:04:16] <Ryan-Toast> Colin[pi]: Target market, man.
342: [03:04:57] <antmas> Ryan-Toast: what, people from the 80s?
343: [03:05:01] <antmas> :P
344: [03:05:05] <Ryan-Toast> antmas: Kids :P
345: [03:05:15] <Ryan-Toast> who have no concept of things that look attractive.
346: [03:05:27] <antmas> they need a set of videos
347: [03:05:33] <antmas> THAT would sell it over pictures
348: [03:05:42] <Ryan-Toast> ikr.
349: [03:05:45] <antmas> like for the kids that sit on youtube for hours watchin parkour etc
350: [03:05:59] <Ryan-Toast> The dev seems fairly competent, so it must be someone else just being lazy.
351: [03:06:17] <antmas> Ryan-Toast: ss?
352: [03:06:30] <Ryan-Toast> Doubt it.
353: [03:07:19] <Ryan-Toast> Looks like it's built in python.
354: [03:07:37] <Ryan-Toast> pythoin + html5 boilerplate.
355: [03:07:51] <simon_w> HOME TIEM
356: [03:08:36] <Ryan-Toast> antmas: too fast to be a cms.
357: [03:09:31] <Ryan-Toast> Whomever built this is pretty much me.
358: [03:09:39] <Ryan-Toast> just a little worse :P
359: [03:09:46] <antmas> lol
360: [03:10:07] <MiniZeka> btw, is there an option to block user from logging in until he/she confirms an email?
361: [03:10:08] <antmas> love the list separators
362: [03:10:56] <antmas> also, that 'Like us on Facebook would take 1 minutes to grab the code :P
363: [03:11:00] <antmas> instead of just being a link
364: [03:11:19] <Ryan-Toast> antmas: differnet conversion strat
365: [03:11:38] <antmas> Ryan-Toast:?
366: [03:11:48] <Ryan-Toast> antmas: they want people to see the page, not just like it.
367: [03:11:57] <Ryan-Toast> ..I assume.
368: [03:12:25] <antmas> Ryan-Toast: priorities I guess
369: [03:12:46] <Ryan-Toast> So pumped.
370: [03:15:14] * chillu_23 has joined #silverstripe
371: [03:22:44] * MiniZeka quit (Ping timeout: 245 seconds)
372: [03:24:34] <PapaBear> Is there a hook in SS for code to be executed AFTER the current page template is populated/rendered? I have a requirement to be able to set a "viewed" status on an object after it is delivered to the page.
373: [03:25:37] <Ryan-Toast> PapaBear: http://api.silverstripe.org/3.1/class-DataExtension.html#_onAfterWrite
374: [03:25:54] <Ryan-Toast> oh, actually. No.
375: [03:26:00] <Ryan-Toast> that's for the database.
376: [03:26:09] * camfindlay quit (Quit: camfindlay)
377: [03:37:19] <antmas> eeeeeeeeeeeeeeee
378: [03:37:23] <antmas> 4 day weekend coming
379: [03:37:30] <antmas> saved by the parental phone call
380: [03:37:32] <antmas> :D
381: [03:39:00] * camfindlay has joined #silverstripe
382: [03:48:35] * machiaveli quit (Quit: Page closed)
383: [03:49:13] <PapaBear> ok - I can get the information out of a many_many_extraFields field quite happily - How do I put information in programatically without manually editing the db? Is there a setter to match getExtraData lurking somewhere that I haven't found yet?
384: [03:55:53] * antmas quit (Quit: Page closed)
385: [04:02:17] * camfindlay quit (Quit: camfindlay)
386: [04:02:20] <simon_w|air> PapaBear, $this->ManyManyList()->add($item, array('ExtraField' => 'value'))
387: [04:03:23] * SightUnseen has joined #silverstripe
388: [04:06:34] * SightUnseen has left #silverstripe
389: [04:07:04] * nickmolhoek quit (Quit: nickmolhoek)
390: [04:17:38] * CodeTrap quit (Ping timeout: 264 seconds)
391: [04:18:14] * CodeTrap has joined #silverstripe
392: [04:26:09] * OxFF1 quit (Quit: Hasta la proxima)
393: [04:32:27] * camfindlay has joined #silverstripe
394: [04:32:37] * camfindlay quit (Client Quit)
395: [04:33:17] * Shrike_Finland has joined #silverstripe
396: [04:40:42] * UncleCheese quit (Quit: UncleCheese)
397: [04:45:02] <Colin[pi]> oh simon_w, u there?
398: [04:45:25] * simon_w|air checks
399: [04:45:53] <Colin[pi]> sounds like you're not sure :D
400: [04:46:02] <simon_w|air> Never am :p
401: [04:46:06] <Colin[pi]> hehe
402: [04:46:17] <Colin[pi]> you know the form I had the probs with, CSRF etc
403: [04:46:30] <simon_w|air> yeah
404: [04:46:40] <Colin[pi]> well I'm going to have to refactor to as you said, POST -> redirect to GET
405: [04:46:47] <Colin[pi]> because currently is silly
406: [04:47:32] <Colin[pi]> so for a multi-page form, basic premise would be sep URL for each step of the process... form on each step receives POST, updates session, then redirects to next GET URL, amirite?
407: [04:47:42] <simon_w|air> yup
408: [04:47:44] <Colin[pi]> yay
409: [04:48:05] <Colin[pi]> and also boo, because I need to slice it all up and recombobulate it
410: [04:48:22] <Colin[pi]> but it won't work very well in it's current form, so.. needs to be done
411: [04:49:47] <Colin[pi]> and I guess then any failed validations wont have a problem with redirects
412: [04:50:31] <ss23> I do hate recombobulation
413: [04:50:56] <Colin[pi]> yeah well my first attempt was done in a retarded fashion XD
414: [04:51:01] <Colin[pi]> now I need to fix it
415: [04:51:03] <Colin[pi]> FIX IT FIX IT
416: [04:56:33] * Shrike_Finland quit (Quit: Leaving.)
417: [05:01:33] <Colin[pi]> is there built-in Form save to session functionality?
418: [05:01:50] <Colin[pi]> or just save to session, then load data from session again manually?
419: [05:05:38] * Bollig|DesignCty has joined #silverstripe
420: [05:06:26] <Bollig|DesignCty> google isn't working… I can't seem to find out something that should be real simple but I've clearly been staring at it for too long...
421: [05:07:00] <Bollig|DesignCty> How do I change the value of an extrafields field?
422: [05:16:49] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
423: [05:20:35] * Bollig|DesignCty has joined #silverstripe
424: [05:21:32] * Nimle has joined #silverstripe
425: [05:25:20] * chillu_23 quit (Quit: chillu_23)
426: [05:31:21] <Nimle> In has_one relationship, how can add a child object to the database programmatically. car has_one garage now I I am creating a car. $c=new Car(); $c->write(); do I need to add garage seperately?
427: [05:31:47] <simon_w|air> Nimle, are you adding it to an existing one or a new one?
428: [05:32:13] <Nimle> new one
429: [05:32:22] <simon_w|air> Then you need to create it as well, yes
430: [05:32:49] <Colin[pi]> $g = new Garage(); then associate it with $c
431: [05:33:18] <Colin[pi]> oh $g->write() first, right simon_w?
432: [05:33:25] <simon_w|air> Yeah
433: [05:33:40] <Nimle> ah, ok. I thought I could call $c->garage()->name="fdfdf'; $c->garage()->write();
434: [05:33:48] <simon_w|air> You can do that, yes
435: [05:34:01] <simon_w|air> You still need to set the GarageID on $c though
436: [05:34:14] <Colin[pi]> yes because Garage() will return a new Garage object, if not already defined
437: [05:34:55] <Nimle> but if $c->garage() gets created, its id should be added automatically.
438: [05:35:08] <Nimle> because how $c->garage() works otherwise
439: [05:35:31] <simon_w|air> Nimle, it creates an unwritten object (so no ID)
440: [05:35:36] <Colin[pi]> created but not yet written
441: [05:35:37] <Colin[pi]> ^
442: [05:35:44] <Colin[pi]> so exists in memory only, no ID
443: [05:35:49] <Nimle> nut when I call $c->write()
444: [05:36:00] <Nimle> it shouldn't alow write garage()?
445: [05:36:14] <simon_w|air> What you can do is $c = new Car; $c->Garage()->name = 'name'; $c->GarageID = $c->Garage()->write(); $c->write();
446: [05:36:28] <simon_w|air> Nimle, it can do that, but it won't set the relation up
447: [05:36:40] <Nimle> ah, ok.
448: [05:36:45] <Nimle> thanks
449: [05:37:02] <Colin[pi]> these are little things one learns in time in SS :)
450: [05:37:09] <Colin[pi]> little ORM gotchas
451: [05:39:11] <Colin[pi]> Nimle: one rule I remember is that associations generally only get saved when IDs are present, so think about the order things are written with write()
452: [05:40:16] * Error404NotFound has joined #silverstripe
453: [05:41:30] <Colin[pi]> simon_w: well that totally worked
454: [05:41:47] <Nimle> Ok, thanks.
455: [05:44:27] <Nimle> how about checking an object exists or not in a cheap way. if i check if (MyObject::get()->filter(...)) then it will pull all relationships as well while I just want to know if this row exists in the table. currently I use DB::query() to avoid that. any other native efficent way?
456: [05:45:26] <simon_w|air> Nimle, if (MyObject::get()->filter()->exists())
457: [05:46:07] <Nimle> if MyObject has many reltionships, this call will not call other tables to join the result?
458: [05:46:39] <simon_w|air> No
459: [05:46:58] <Nimle> ok, great.
460: [05:48:44] <Nimle> @simon_w|air, what is the native equivalent of $surname= DB::query('SELECT Surname FROM "MyTable"'); I want to get a single field, not get Object of all fields. If I use get(), it gives me the entire row.
461: [05:49:11] <simon_w|air> There isn't one
462: [05:50:07] <Colin[pi]> Nimle: why do you need to do that, performance?
463: [05:50:42] <simon_w|air> Nimle, well, for that exact case, MyTable::get()->column('Surname')
464: [05:50:57] <simon_w|air> Which would work for getting one value too, I guess
465: [05:52:01] <Colin[pi]> simon_w: form submit/redirect working... now I have delay due to redirect, not much I can do really though is there
466: [05:52:13] <simon_w|air> Colin[pi], nope
467: [05:52:13] <Colin[pi]> except ajaxing the form
468: [05:52:28] <ss23> simon_w|air: roflroflrforlforlf @ the float phone number
469: [05:52:30] <simon_w|air> And it's one redirect. Hopefully your server's not bad enough that that matters
470: [05:52:32] <Nimle> @simon_w|air yeah, the number of records are too many, like 300 000 and I am syncing every 2 minutes. Silverstripe native way of getting row in DataList takes longer than normal sql query. So, in cases of big data, ising simple insert, update, select sql queries works much better
471: [05:53:04] <simon_w|air> ss23, more compact!
472: [05:53:16] <ss23> hahaha
473: [06:00:25] * Nimle quit (Quit: Page closed)
474: [06:00:48] * Nimle has joined #silverstripe
475: [06:28:11] * UncleCheese has joined #silverstripe
476: [06:30:09] * ec8or__ has joined #silverstripe
477: [06:34:19] * Azure_ has joined #silverstripe
478: [06:35:11] * Azure quit (Disconnected by services)
479: [06:35:15] * Azure_ is now known as Azure
480: [06:38:44] * Error404NotFound quit (*.net *.split)
481: [06:38:44] * Colin[pi] quit (*.net *.split)
482: [06:38:45] * ec8or_ quit (*.net *.split)
483: [06:39:15] * Colin[pi] has joined #silverstripe
484: [06:39:35] * UncleCheese quit (Quit: UncleCheese)
485: [06:42:14] * EasyCo quit (Ping timeout: 264 seconds)
486: [06:44:11] * EasyCo has joined #silverstripe
487: [07:09:50] * Shrike_Finland has joined #silverstripe
488: [07:11:53] * Nimle quit (Ping timeout: 245 seconds)
489: [07:15:58] * Shrike_Finland quit (Quit: Leaving.)
490: [07:26:15] * Shrike_Finland has joined #silverstripe
491: [07:32:33] * SightUnseen1 has joined #silverstripe
492: [07:33:47] * SightUnseen1 has left #silverstripe
493: [07:44:32] * chillu_23 has joined #silverstripe
494: [08:16:10] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
495: [08:16:14] * ARNHOE has joined #silverstripe
496: [08:33:02] * chillu_23 quit (Quit: chillu_23)
497: [09:06:41] * Shrike_Finland quit (Quit: Leaving.)
498: [09:11:54] * Shrike_Finland has joined #silverstripe
499: [09:31:50] * micmania1 has joined #silverstripe
500: [09:32:45] <Colin[pi]> simon_w: you legend
501: [09:38:38] * kinglozz_ has joined #silverstripe
502: [09:52:30] * kinglozz_ is now known as kinglozzer
503: [09:54:34] * OzziNL has joined #silverstripe
504: [10:13:09] * Colin[pi] quit (Ping timeout: 265 seconds)
505: [10:44:17] * guzzlefry has joined #silverstripe
506: [10:44:24] <guzzlefry> Is freenode fixed yet?
507: [10:50:11] * OzziNL quit (Ping timeout: 245 seconds)
508: [10:55:12] * Fisix_AIX has joined #silverstripe
509: [10:56:04] <Fisix_AIX> I need some help regarding CsvBulkLoader and Object relationships
510: [10:56:27] <Fisix_AIX> I am trying to map a belongs_many_many
511: [10:56:39] <Fisix_AIX> Anyone be able to help me with this?
512: [10:57:22] <Zauberfisch> Fisix_AIX: I can tell you this much: its gonna be a pain in the arse
513: [10:57:42] <Fisix_AIX> Well, this is how I am doing the has_one http://susepaste.org/d91e3850
514: [10:57:53] <Zauberfisch> last time I used CsvBulkLoader I ended up subclassing it and overwriting every single method
515: [10:58:20] * Shrike_Finland quit (Quit: Leaving.)
516: [10:58:35] <Zauberfisch> I had #nested relations. Category>SubCategory>Product
517: [10:58:46] <Zauberfisch> and it was sort of impossible to do with CsvBulkLoader
518: [10:58:55] <Zauberfisch> the class itself is pretty messed up
519: [10:59:42] <Fisix_AIX> hmm, Maybe Ill put this functionality on the backburner for now then
520: [11:00:16] <Zauberfisch> Fisix_AIX: to be honest, I don't really have the time to help you now. but I can post you part of my class
521: [11:00:20] <Zauberfisch> maybe that is of some use to you
522: [11:00:32] <Fisix_AIX> Yes, it might be able to help me
523: [11:01:03] <Fisix_AIX> I would appreciate it
524: [11:06:34] * babak has joined #silverstripe
525: [11:08:54] <Zauberfisch> Fisix_AIX: http://paste2.org/OK5K4Zvk
526: [11:09:04] <Zauberfisch> even added some comments
527: [11:13:06] * svandragt has joined #silverstripe
528: [11:15:09] <svandragt> I have a sidebar in my NewsHolder and NewsItem which relies on NewsHolder controller methods, therefore in the NewsItem the sidebar malfunctions. NewsItem does not extend NewsHolder. I tried to wrap the Sidebar include in with Parent but this doesn't work, even though NewsItem has a parent NewsHolder. Any ideas how to have the NewsHolder sidebar work with NewsItem
529: [11:16:45] <kinglozzer> svandragt: AFAIK <% with Parent %> will only use the parent's data, not controller
530: [11:16:57] <kinglozzer> Can your NewItem_Controller extend NewsHolder_Controller?
531: [11:21:01] <svandragt> Yeah that allows me to override some methods to make it work thanks kinglozzer.
532: [11:24:45] <Zauberfisch> Fisix_AIX: let me know how it goes. would be interested in your solution
533: [11:36:20] * guzzlefry has left #silverstripe
534: [11:41:09] <svandragt> Anyone got workflows for Tasks that go with certain deployments, ie. I remove the Section PageType so then I have to write a task that changes all section page types. at the moment I then have to remember to manually run the task when the next version goes live, sounds like there should be a better way?
535: [11:43:51] <Zauberfisch> section pagetype?
536: [12:24:29] * Shrike_Finland has joined #silverstripe
537: [12:26:59] <kinglozzer> svandragt: You can run tasks from the command line if that helps? php framework/cli-script.php dev/tasks/MyTask
538: [12:47:26] * Shrike_Finland quit (Quit: Leaving.)
539: [12:54:59] * OzziNL has joined #silverstripe
540: [12:55:06] * ss-log quit (Ping timeout: 272 seconds)
541: [20:41:32] * ss-log has joined #silverstripe
542: [20:42:14] * SightUnseen has left #silverstripe
543: [20:44:46] <catcher> Is there a way to get a custom CMS button working aside from writing js handlers myself?
544: [20:51:07] * camfindlay has joined #silverstripe
545: [20:57:13] * zippy__ has joined #silverstripe
546: [20:57:30] <zippy__> Morning
547: [20:57:59] <camfindlay> morning
548: [21:00:59] * Shrike_Finland quit (Quit: Leaving.)
549: [21:08:42] * SightUnseen has joined #silverstripe
550: [21:08:50] * SightUnseen has left #silverstripe
551: [21:15:20] * SphereSilverNL has joined #silverstripe
552: [21:18:40] <zippy__> On a DataObject, I don't want to use the scaffolded fields, I want to add the ones I want from scratch
553: [21:19:21] <simon_w> zippy__, so do?
554: [21:19:22] <SphereSilverNL> $this->extend()?
555: [21:19:31] <zippy__> doing $fields = new FieldList(); then adding my fields as normal throws an error that the Root FieldList::addFieldToTab() Tried to add a tab to object 'FieldList' - 'Root' didn't exist
556: [21:19:46] <zippy__> so I figure, I need to add some fields in first?
557: [21:19:51] <zippy__> *tabs
558: [21:20:02] <simon_w> zippy__, yes, you need to add in at least the root tab
559: [21:20:13] <simon_w> new TabSet('Root', 'Root')
560: [21:21:18] <zippy__> $fields->findOrMakeTab('Root'); ?
561: [21:21:53] <simon_w> Doesn't make a TabSet
562: [21:22:40] <zippy__> I see, but how do I then push that new TabSet to the field list?
563: [21:23:02] <simon_w> $fields->push
564: [21:24:34] * UndefinedOffset quit (Quit: Leaving.)
565: [21:25:13] <simon_w> Or pass it in as part of the constructor
566: [21:25:29] <zippy__> I see, so using the arraylist method
567: [21:25:30] <zippy__> thanks!
568: [21:32:14] * camfindlay quit (Quit: camfindlay)
569: [21:35:40] * micmania1 has joined #silverstripe
570: [21:36:58] <simon_w> Yay! I'm infamous again! http://silverstripe.org/improving-silverstripe-performance/
571: [21:39:24] <ss23> Simon works for PocketRent, a SaaS product built on top of SilverStripe
572: [21:39:26] <ss23> NOT FOR LONG
573: [21:39:36] <simon_w> Shhhh!
574: [21:39:47] <ss23> lol
575: [21:39:50] <Ryan-Toast> simon_w: with the partial caching, did you mean around any Layout files?
576: [21:39:55] <simon_w> Also, which part? on top of SilverStripe or works for Pocketrent?
577: [21:40:06] <ss23> simon_w: por que no los dos?
578: [21:40:11] <simon_w> Ryan-Toast, well, any template files
579: [21:40:16] <ss23> simon_w: BOTH
580: [21:40:20] <Ryan-Toast> simon_w: Coolio
581: [21:40:42] <ss23> Just got go ahead to release something for a client
582: [21:40:48] <ss23> OH WAIT, I ACCIDENTLY RELEASED THIS ALREADY LOOOL
583: [21:40:50] <Ryan-Toast> simon_w: Would you recommend I put that in my boilerplate, or let debs add it on their own?
584: [21:41:38] <simon_w> Ryan-Toast, up to you
585: [21:41:45] <simon_w> Oh, I should've mentioned not to partial cache a form
586: [21:41:49] <simon_w> OH WELL
587: [21:42:18] <Ryan-Toast> simon_w: what happens when you cache a form?
588: [21:42:27] <simon_w> Ryan-Toast, no validation messages
589: [21:42:42] <Ryan-Toast> simon_w: :p that could be problimatic.
590: [21:43:01] <Ryan-Toast> problematic**
591: [21:43:28] <simon_w> Just make sure to wrap forms in <% uncached %>
592: [21:43:41] * Colin[pi] has joined #silverstripe
593: [21:44:12] <simon_w> [22:32:45] <Colin[pi]> simon_w: you legend
594: [21:44:13] <simon_w> I know. What about this time? :p
595: [21:44:43] * SphereSilverNL quit (Remote host closed the connection)
596: [21:44:51] <Colin[pi]> LOL you held onto that all night?
597: [21:45:00] <simon_w> I was in bed when it came in :p
598: [21:45:49] <Colin[pi]> about the changes to my form.. fixed and working beautifully ;P
599: [21:46:00] <simon_w> Oh goody
600: [21:46:27] <simon_w> (Which happens to be the exact contents of an iMessage I just got from my sister...)
601: [21:47:05] <Colin[pi]> how long until the big move?
602: [21:47:26] <simon_w> 3 months ish
603: [21:47:45] * CodeTrap quit (Remote host closed the connection)
604: [21:48:09] <Colin[pi]> oh you've got a while then, I thought it was much sooner
605: [21:48:17] <simon_w> Nah, end of April
606: [21:48:27] <Colin[pi]> you gonna work for SS AU?
607: [21:48:37] <simon_w> Got a visit from Valentines Day though
608: [21:48:47] <simon_w> Ha, nope
609: [21:48:55] <Colin[pi]> d'awww you big softy
610: [21:49:08] <simon_w> Purely coincidental
611: [21:49:13] * Colin[pi] has just remembered that Valentine's Day is approaching
612: [21:49:17] <simon_w> Doing the Colour Run on the 16th
613: [21:49:18] <Ryan-Toast> Oh, when's valentines day?
614: [21:49:21] <antmas> oh crap it is too
615: [21:49:29] <Colin[pi]> better sort something out or I'll be on the bollocks chopping block
616: [21:49:29] <simon_w> Ryan-Toast, next Friday
617: [21:49:43] <antmas> dinner and movies, boom
618: [21:49:44] <antmas> down
619: [21:49:47] <antmas> done*
620: [21:49:55] <Colin[pi]> down comes after
621: [21:50:00] <Colin[pi]> ;p
622: [21:50:03] <antmas> lol
623: [21:50:40] <Colin[pi]> hmm I have my son that night so looks like romance "em casa"
624: [21:50:47] <simon_w> Colin[pi], you could do what we'll be doing: signing up for an Optus mobile plan :p
625: [21:51:02] * Colin[pi] clutches chest
626: [21:51:06] <Colin[pi]> so romantic
627: [21:51:07] <Colin[pi]> lol
628: [21:51:30] <antmas> lol ^^^
629: [21:51:34] <simon_w> Aww yeah
630: [21:51:44] <antmas> getting some data action
631: [21:51:48] <antmas> dat speed
632: [21:51:52] <Ryan-Toast> simon_w: Shit.
633: [21:51:58] <simon_w> Oh yeah, I'll get 4G too!
634: [21:51:58] <Ryan-Toast> Need to sort something out
635: [21:52:17] <simon_w> $2/day. Only slightly cheaper than roaming
636: [21:52:25] <simon_w> Until you add on texts
637: [21:53:31] <Colin[pi]> you could always get vodafone like me... THEY'RE SUPER AWESOME
638: [21:53:41] * Colin[pi] 's eyelid starts twitching as he says that
639: [21:53:47] <antmas> lol...vodafone
640: [21:54:00] <Colin[pi]> vodafail
641: [21:54:12] <simon_w> VF here are great. I wonder what they're going to offer next to get me off my current plan :)
642: [21:54:48] <Colin[pi]> I particuarly liked the email newsletter that said "4G is now available in your area!" and I check the coverage map and Canberra is not included
643: [21:55:11] <simon_w> It's like Telstra saying "NBN is here!"
644: [21:55:42] <Colin[pi]> telstra should be added to the list of swear words
645: [21:55:54] <simon_w> Send a patch :p
646: [21:55:58] <Colin[pi]> lol
647: [21:56:14] <antmas> Vodafone and Telecom should both be on there too
648: [21:56:16] <simon_w> It's a one line change, but effort :p
649: [21:56:25] * chillu_23 quit (Quit: chillu_23)
650: [21:56:28] <Colin[pi]> what your equivalent to telstra over there?
651: [21:56:28] <simon_w> That makes it three lines! Careful now
652: [21:56:38] <Colin[pi]> telecom NZ?
653: [21:56:40] <simon_w> Chorus/Telecom
654: [21:56:41] <antmas> Colin[pi]: I'd say Telecom
655: [21:56:49] <Colin[pi]> does everyone have a "telecom NZ" story?
656: [21:56:57] * simon_w doesn't!
657: [21:57:00] <Colin[pi]> like everyone here has a "telstra" story
658: [21:57:03] <Colin[pi]> about how shit they are
659: [21:57:16] <antmas> Snap is probably the best for bb for MOST of the country (not all)
660: [21:57:43] <simon_w> Colin[pi], what about Telstra's cable?
661: [21:57:50] <antmas> Vodafone as a mobile telco is probably the best
662: [21:57:50] <Colin[pi]> for example, at my last job, we moved offices, and due to telstra's fuck ups, we were without phones + internet for more than a month
663: [21:57:55] <antmas> but it's a small pool here
664: [21:58:06] <Colin[pi]> no phones or internet.... for an internet development company
665: [21:58:09] <Colin[pi]> for a month
666: [21:58:14] <Colin[pi]> THANKS TELSTRA
667: [21:58:16] * chillu_23 has joined #silverstripe
668: [21:58:18] <simon_w> Send them an invoice?
669: [21:58:24] <Colin[pi]> yep he should have
670: [21:58:56] <Colin[pi]> what was particularly funny was when the technician came to the building and tried to spin some BS to my old boss, who actually knows what he's talking about lol
671: [21:59:15] <Colin[pi]> "oh... oh... you.. know about this equipment... hmm"
672: [21:59:33] <Colin[pi]> awkward
673: [21:59:35] <antmas> Colin[pi]: we had the same by a Vodafon guy at my last work
674: [21:59:37] <simon_w> Ah, that's always fun
675: [21:59:46] <Colin[pi]> antmas: do tell
676: [22:00:10] <antmas> Colin[pi]: well, let's just say it too a month to setup a router for free public wifi
677: [22:00:13] <antmas> enough said
678: [22:00:35] <antmas> completely incompetant technicians and support literally told us we were asking too much
679: [22:00:45] <antmas> FOR A ROUTER AND A CONNECTIOn
680: [22:00:48] <antmas> o.O
681: [22:01:27] <Colin[pi]> grinds my gears
682: [22:01:47] * joelpittet quit ()
683: [22:01:52] <antmas> they still use the mantra that the 'customers are dumb monkeys, so treat them as such'
684: [22:01:57] <Colin[pi]> almost everyone here has a similar story about telstra
685: [22:02:04] <Colin[pi]> or maybe any of the telcos these days really
686: [22:06:07] <simon_w> No comments on http://www.silverstripe.org/improving-silverstripe-performance/ yet? Aww :p
687: [22:08:43] <antmas> simon_w: kinda hard to comment when the whole article is basically true and can't be argued with :) (read it already)
688: [22:11:17] <antmas> grrr permissions are such dicks sometimes
689: [22:13:06] <antmas> Android kitkat is such a big improvement over JB
690: [22:13:43] <Pyromanik> Note: Comments are moderated and won't show until they are approved
691: [22:13:44] <Pyromanik> complain to cam!
692: [22:13:44] <Pyromanik> obiously he's moderating all the comments.
693: [22:13:44] * nhorstmeier has joined #silverstripe
694: [22:13:56] <Pyromanik> you need to adjust his performance simon_1w
695: [22:13:56] <Pyromanik> simon_w!
696: [22:14:04] <Pyromanik> [10:40] <@simon_w> Also, which part? on top of SilverStripe or works for Pocketrent?
697: [22:14:04] <Pyromanik> oh you
698: [22:14:06] <Pyromanik> you like to be on top
699: [22:14:57] <simon_w> Sometimes. Caitlin likes being on top too :p
700: [22:15:26] * nhorstmeier quit (Read error: Connection reset by peer)
701: [22:15:59] * nhorstmeier has joined #silverstripe
702: [22:16:04] * nhorstmeier quit (Client Quit)
703: [22:17:23] <simon_w> Pyromanik, also, get ss23 to make him faster!
704: [22:18:08] <zippy__> argghh!
705: [22:18:17] <zippy__> I want to add HTML into a summary field, but it's automatically escapped...
706: [22:18:33] <simon_w> zippy__, return a HTMLText object
707: [22:18:35] * willr has joined #silverstripe
708: [22:18:40] <zippy__> well.....
709: [22:18:45] <zippy__> that is a good idea..
710: [22:19:02] * ss23 makes it faster
711: [22:19:03] <Pyromanik> http://www.youtube.com/watch?v=ZzlgJ-SfKYE
712: [22:19:07] <Pyromanik> oh you simon_w ^
713: [22:19:20] <Pyromanik> ss23, peddle harder!
714: [22:19:26] * ss23 dies
715: [22:23:53] <simon_w> ss23, I'm still not seeing any comments!
716: [22:24:01] <ss23> Any commentsa/
717: [22:24:04] <ss23> about? what?
718: [22:24:15] <simon_w> My blog post!
719: [22:24:16] <Pyromanik> start peddling that cameron!
720: [22:24:19] <Pyromanik> ss23,
721: [22:24:27] <Pyromanik> start him up!
722: [22:24:54] <ss23> um
723: [22:24:57] <ss23> are comments goo?
724: [22:24:59] <ss23> good*
725: [22:25:40] <simon_w> http://www.silverstripe.org/improving-silverstripe-performance/#CommentHolder
726: [22:25:45] <simon_w> Notice the lack of comments?
727: [22:25:54] <ss23> comments are moderated
728: [22:26:06] <simon_w> Hence why you need to get Cam to moderate them :p
729: [22:26:12] <simon_w> Sheesh, keep up
730: [22:26:16] <ss23> lol
731: [22:26:21] <ss23> I'm trying to log in and moderate them myself
732: [22:26:23] <ss23> idk why it's not working...
733: [22:26:26] * an_Eskimo has joined #silverstripe
734: [22:26:46] <guzzlefry> ss23: You don't have access to merge docs OR moderate comments for them?!
735: [22:26:59] <ss23> Aye, I have acess to the server
736: [22:27:01] <ss23> I can SSH to it!
737: [22:27:03] <guzzlefry> :P
738: [22:27:05] <ss23> I just don't know what username/password is....
739: [22:27:09] <guzzlefry> ah
740: [22:27:46] * camfindlay has joined #silverstripe
741: [22:28:00] <ss23> I'm really confused
742: [22:28:07] <ss23> the password is literally defined in a _ss_environment
743: [22:29:08] <ss23> Well golly gosh this is confusing
744: [22:29:37] <antmas> hooray for debugging a phonegap app
745: [22:29:59] <Colin[pi]> simon_w: I commented on facebook ;p
746: [22:30:38] * an_Eskimo quit (Ping timeout: 245 seconds)
747: [22:35:03] <simon_w> Heh, skim-reading the Facebook comments makes it look like Nicolaas said "Fracken great writeup"
748: [22:35:36] <ss23> A coworker made us pie :D
749: [22:35:48] <simon_w> Ours brings pineapple lumps
750: [22:35:50] <Colin[pi]> :o
751: [22:36:21] <simon_w> Colin[pi], why don't your coworkers bring anything? :p
752: [22:36:47] <Colin[pi]> mine makes me cupcakes ;)
753: [22:36:58] <Colin[pi]> but she's not technically a co-worker ;P
754: [22:37:25] <antmas> we get too many things from co-workers
755: [22:37:34] <antmas> cakes and biscuits everywhere
756: [22:37:37] <antmas> :D
757: [22:37:43] <guzzlefry> I need co-workers.
758: [22:38:01] <Colin[pi]> ^
759: [22:38:06] * antmas imagines guzzlefry just gets slapped a bunch
760: [22:38:13] <antmas> DO MORE WORK!
761: [22:38:19] <antmas> MAKE MORE ECOMMERCE THINGS!
762: [22:38:27] <guzzlefry> I work from home, it's very lonely. :P
763: [22:38:34] <antmas> :(
764: [22:38:49] <Colin[pi]> guzzlefry: I know that feel
765: [22:39:13] <guzzlefry> it's okay, one day I'll have a real job and lots of cupcakes.
766: [22:39:23] <antmas> cupcakes for all!
767: [22:39:37] <antmas> put that on your CV next time you apply guzzlefry
768: [22:39:47] <antmas> "Must have cupcakes supplied"
769: [22:40:38] <Pyromanik> we are your co workers
770: [22:41:34] <guzzlefry> yay
771: [22:42:02] * antmas hands guzzlefry a cupcake
772: [22:42:12] <guzzlefry> thanks :P
773: [22:42:39] * camfindlay quit (Quit: camfindlay)
774: [22:42:44] <guzzlefry> also, I mostly finished that ecommerce site. Just need to do reporting stuff.
775: [22:46:12] <ss23> simon_w: wait for it...
776: [22:46:15] <ss23> like 2 mins...
777: [22:46:30] * camfindlay has joined #silverstripe
778: [22:46:49] <Colin[pi]> 'mostly finished' hehe
779: [22:46:49] <Colin[pi]> i.e. the status of all of my projects XD
780: [22:46:52] * Colin[pi] quit (Write error: Broken pipe)
781: [22:46:53] <catcher> I have a parent class with an extension. Subclasses inherit the extension as expected. How can I get the ClassName of the parent class with the extension?
782: [22:47:05] * Colin[pi] has joined #silverstripe
783: [22:47:08] <catcher> i.e. $this->owner->ClassName is the subclass classname, I'm looking for the one who is actually has the extension, the parent in this case.
784: [22:48:32] <guzzlefry> hm
785: [22:48:43] <guzzlefry> I thought there was a method for that.
786: [22:50:09] <simon_w> ss23, I'M STILL WAITING
787: [22:50:28] <guzzlefry> catcher: Why do you need to know that?
788: [22:50:44] <ss23> simon_w: SO AM I
789: [22:50:46] * ss23 glares at camfindlay
790: [22:50:55] <catcher> guzzlefry, usage message
791: [22:51:14] <camfindlay> ss23 done!!!
792: [22:52:40] <guzzlefry> catcher: I wonder if you could do something like $this->owner->Parent()->hasExtension("name"); Or maybe loop it until hasExtension() returns false.
793: [22:52:51] <guzzlefry> I don't see anything built-in so far.
794: [22:52:56] <catcher> guzzlefry, yeah, I think it'll have to be recursive like that
795: [22:54:19] <guzzlefry> err, parentClass(), which looks like it returns a string.
796: [22:54:31] <guzzlefry> So you'll have to instantiate an object from that.
797: [22:54:39] <ss23> simon_w: BOOM
798: [22:56:04] <simon_w> catcher, public function setOwner($owner, $ownerBaseClass = null) { if($ownerBaseClass) { $this->onClass = $ownerBaseClass; } return parent::setOwner($owner, $ownerBaseClass); }
799: [22:56:31] <simon_w> haha, Pyromanik, was that your comment?
800: [22:59:05] <Colin[pi]> So Ballmer retired. Isn't that a shame? Isn't it?
801: [22:59:51] * gelignite quit (Quit: http://bit.ly/nkczDT)
802: [23:06:47] <antmas> what's the new guy's name? something foreign?
803: [23:07:01] <Colin[pi]> Satya Nadella
804: [23:07:19] <Colin[pi]> originally from india
805: [23:08:57] <antmas> that would be a sweet gig
806: [23:09:38] <Colin[pi]> a lot of pressure now though, needs to turn that company around fast after Win8
807: [23:15:15] <Colin[pi]> salary of $7.6 million too, not very much is it?
808: [23:16:23] <simon_w> I'll take it!
809: [23:16:57] <ss23> roflrofrofl
810: [23:16:57] <antmas> NFL quarter backs get 1.5 mill per week
811: [23:17:05] <ss23> I look at a configuration for a deployment tool we have
812: [23:17:12] <ss23> # Set a build script that is run before the code .tar.gz is sent to the server
813: [23:17:16] <ss23> # Build script? WHAT BUILD SCRIPT LOL
814: [23:17:21] <ss23> I can't help but feel that I was probably the one who wrote this config XD
815: [23:18:34] * catcher quit (Quit: Leaving)
816: [23:18:45] <Colin[pi]> skim through this video, WHERE IS THE STAFF??? https://www.youtube.com/watch?v=T8JwNZBJ_wI
817: [23:19:13] <Colin[pi]> he seems like a pretty cool guy though
818: [23:19:15] <ss23> hmm
819: [23:19:20] <ss23> his accent, is not good
820: [23:19:22] <ss23> not the CEO
821: [23:19:24] <ss23> the other guy
822: [23:19:27] <Colin[pi]> ah yes lol
823: [23:19:38] <ss23> lol Colin[pi] YOU'RE RIGHT
824: [23:19:39] <simon_w> Gosh, everyone knows the CEO of Microsoft is supposed to have a staff!
825: [23:19:40] <ss23> THERE ARE NONE THERE
826: [23:20:03] <antmas> it's all automated now, Clippy runs the show
827: [23:20:07] <ss23> hahaha
828: [23:20:26] <Colin[pi]> antmas: loool
829: [23:20:48] <Colin[pi]> "It looks like you're developing an operating system... would you like help with that?"
830: [23:20:54] <ss23> lol
831: [23:20:55] <antmas> Colin[pi]: LLOOOLOL
832: [23:23:03] * terryapodaca has joined #silverstripe
833: [23:23:52] * camfindlay quit (Quit: camfindlay)
834: [23:25:43] * Bollig|DesignCty has joined #silverstripe
835: [23:27:04] <antmas> Ryan-Toast: should have my portfolio up and hosted this weekend
836: [23:27:14] <Ryan-Toast> antmas: nice. Got a screenshot?
837: [23:27:14] <antmas> tyring to decide on some cheap hosting still
838: [23:27:41] <antmas> Ryan-Toast: nerp, I will tonight though, slightly altered colours
839: [23:27:55] <Ryan-Toast> swish.
840: [23:28:06] <Ryan-Toast> did you grab the paginated function?
841: [23:28:47] <simon_w> antmas, first point of my blog post :p
842: [23:28:52] <ss23> lol
843: [23:29:14] <guzzlefry> simon_w: good news, bug report submitted to my Oracle contact. :P
844: [23:29:36] <Pyromanik> ciao
845: [23:29:41] * Pyromanik quit (Quit: HydraIRC -> http://www.hydrairc.com <-)
846: [23:29:45] <guzzlefry> You might cry if you saw how bad it was handling my query. >_>
847: [23:29:57] * ss23 cries
848: [23:29:59] * ObiWanSh_ quit (Quit: Leaving...)
849: [23:30:14] <guzzlefry> ss23: I take it back, it works fine.
850: [23:30:16] <guzzlefry> >_>
851: [23:30:20] * ss23 stops
852: [23:30:21] <ss23> o.o
853: [23:30:44] <antmas> simon_w: YES!
854: [23:31:10] <simon_w> ss23, MySQL was dropping rows when doing a SELECT DISTINCT with a LIMIT ordering on a varchar field
855: [23:32:08] <ss23> o.o
856: [23:32:22] <ss23> Dropping rows from the result set, or table permanatly?
857: [23:32:44] <simon_w> the result set
858: [23:32:53] <antmas> simon_w: Rimu is awesome, but probably overkill for a portfolio
859: [23:32:53] <ss23> eh, could be worse
860: [23:32:57] <ss23> probably won't be fixed any time soon
861: [23:32:57] <ss23> :D
862: [23:33:02] <ss23> antmas: Sitehost
863: [23:33:16] <guzzlefry> ss23: What's horrible is that it's happening on a live e-commerce site, and it's dropping products from the list. :/
864: [23:33:17] <simon_w> antmas, hang on, I've got another referral link if you don't mind US hosted
865: [23:33:23] <ss23> aw guzzlefry
866: [23:33:26] <ss23> guzzlefry: MariaDB is fine?
867: [23:33:29] <ss23> >US hosted
868: [23:33:30] <ss23> lol.
869: [23:33:30] <guzzlefry> haven't tried that
870: [23:34:55] <simon_w> antmas, https://www.digitalocean.com/?refcode=c6bd41b8b2f5
871: [23:35:07] <guzzlefry> I asked in #mariadb if the code bases differred enough to warrant a try, and the same guy from #mysql got all up in my grill. :P
872: [23:37:01] <guzzlefry> whyyy, Ubuntu lacks MariaDB
873: [23:37:03] <ss23> I didn't see you ask in #mysql!
874: [23:37:09] <ss23> Was it thumbs, guzzlefry?
875: [23:37:11] <ss23> I bet it was thumbs
876: [23:37:12] <guzzlefry> ss23: this was yesterday
877: [23:37:20] <guzzlefry> ss23: Kolbe?
878: [23:37:23] <ss23> eh
879: [23:37:28] <ss23> I recognize him, but don't know him
880: [23:37:51] <ss23> thumbs is cool if you're willing to conform to his weird non-humor, seekwill is A+ awesome, and domas is crazy smart
881: [23:37:57] <ss23> if you have those guys all helping you with a mysql rpbolem, you win
882: [23:37:57] <ss23> :D
883: [23:38:13] <simon_w> ss23, or, you know, any of the FB DB devs
884: [23:38:22] <guzzlefry> I usually go to #postgres for anything complex that I know will apply to both. :P
885: [23:38:43] <guzzlefry> wait, isn't seekwill in #postgresql as well?
886: [23:39:05] <guzzlefry> okay, he is :P
887: [23:39:10] <guzzlefry> he's helped me a few times
888: [23:39:17] * micmania1 quit (Ping timeout: 248 seconds)
889: [23:41:56] * zippy__ quit (Ping timeout: 246 seconds)
890: [23:41:56] <ss23> 12:38:13 <@simon_w> ss23, or, you know, any of the FB DB devs
891: [23:41:58] <ss23> What, like domas?
892: [23:41:59] <ss23> :P
893: [23:42:18] <guzzlefry> FB devs hang out on IRC?
894: [23:42:25] <ss23> of course!
895: [23:42:39] <simon_w> Yeah, I bug them all the time!
896: [23:43:05] <simon_w> Especially Sara, Sean and Paul
897: [23:44:16] <guzzlefry> I need a mariadb install to test on...
898: [23:44:37] <guzzlefry> maybe one of my 8 VMs has it. :P
899: [23:44:44] <guzzlefry> oh!
900: [23:44:59] <guzzlefry> simon_w: is the postgresql module stable enough for an e-commerce site?
901: [23:45:07] <simon_w> guzzlefry, yes
902: [23:45:37] <guzzlefry> okay, I may have to go with that. Just need to learn their access restriction stuff.
903: [23:45:44] <simon_w> guzzlefry, just make sure the ecom module isn't doing any raw queries with non-quoted identifiers
904: [23:46:26] <guzzlefry> basically grep for SQLQuery?
905: [23:47:01] <guzzlefry> well actually, the ecomm should be fine since I wrote it. No clue what the rest of the code on the site does. :P
906: [23:48:22] <ss23> guzzlefry: Might be worth doing load testing if you switch to postgres
907: [23:48:31] <ss23> Not sure why, but our postgres boxes are really bad
908: [23:48:36] <ss23> (Like 10+ second load times bad)
909: [23:50:24] <ss23> simon_w: are you there quickly?
910: [23:50:28] <ss23> site isn't laoding homepage
911: [23:50:32] <ss23> that is, .htaccess exists
912: [23:50:38] <ss23> going to site.com/admin works as expected
913: [23:50:40] <simon_w> ss23, I suppose so
914: [23:50:42] <ss23> but site.com/ just gives blank page
915: [23:50:44] <ss23> any ideas?
916: [23:50:54] <simon_w> error log?
917: [23:51:01] <ss23> nothing I can see
918: [23:51:27] <simon_w> Does going to /home/ work?
919: [23:51:34] <ss23> it redirects to /
920: [23:51:38] <ss23> so it "works" in that sense
921: [23:51:40] <simon_w> /home/index?
922: [23:51:49] <ss23> blank page
923: [23:51:49] <ss23> hmm
924: [23:51:56] <simon_w> Broken code!
925: [23:52:12] <ss23> hmm hmm hmm
926: [23:52:14] <simon_w> Try other pages, of the non-home type
927: [23:52:29] <ss23> >This branch just adds several new page types with custom styling and templating and changes the Home page template slightly.
928: [23:52:32] <ss23> bah
929: [23:52:42] <ss23> good work simon_w
930: [23:52:43] <guzzlefry> Do you still need to remove index.php?
931: [23:53:02] <ss23> guzzlefry: not relevant
932: [23:53:05] <guzzlefry> oh, nevermind, looks like you fixed it.
933: [23:53:31] <ss23> dev mode still dies
934: [23:53:41] <simon_w> display_errors?
935: [23:54:09] <ss23> maybe, doing live debuggging now
936: [23:54:09] <ss23> INTENSE
937: [23:54:28] <ss23> Fatal error: Call to a member function First() on a non-object in
938: [23:54:30] <ss23> son of a bitch
939: [23:54:45] <ss23> fuck it
940: [23:54:47] <ss23> ROLL BACK ENABLE
941: [23:54:53] * guzzlefry turns a crank.
942: [23:55:28] <guzzlefry> ss23: In my case that usually means I didn't check to see that get() and friends actually returned something valid.
943: [23:55:38] <ss23> guzzlefry: Not my code
944: [23:55:39] <ss23> k rollback complete
945: [23:55:42] <ss23> site is back up
946: [23:55:52] <guzzlefry> phew
947: [23:56:45] <ss23> Man, that was good work
948: [23:56:55] * ss23 highfives guzzlefry and simon_w
949: [23:57:04] <guzzlefry> yay
950: [23:57:08] <ss23> And while doing this, I figured out our nginx will happily serve up .htaccess files!
951: [23:57:13] <ss23> So yeah, we should probably turn that off too.
952: [23:58:04] <guzzlefry> I might die after I see all of the updates on this neglected Gentoo VM.
953: [23:58:23] <ss23> lol
954: [23:58:24] <ss23> don't do it, guzzlefry
955: [23:58:31] <ss23> Gentoo is rolling release, it won't work out well
956: [23:58:38] <guzzlefry> 0.o
957: [23:58:48] * antmas quickly presses button
958: [23:58:48] <guzzlefry> ss23: local VM, don't worry.
959: [23:58:52] <guzzlefry> anyway, this is new
960: [23:58:52] <antmas> did I help?
961: [23:58:55] <antmas> guise?
962: [23:59:02] <antmas> XD
963: [23:59:19] <guzzlefry> eix-sync doesn't die immediately when not root, it just keeps spitting out permission denied errors now.
964: [23:59:27] <ss23> lol antmas, sucks!
965: [23:59:38] <ss23> guzzlefry: Well technically it doesn't *have* to be root
966: [23:59:38] <ss23> :D
967: [23:59:41] * guzzlefry su root's because he's a man.

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