#silverstripe IRC Log

IRC log for 21 October 2014

All timestamps are in UTC.

1: [00:00:27] <Ryan-Toast> I keep trying to refresh my photoshop file ><
2: [00:01:32] <Colin[pi]> Ryan-Toast: I fucking lost my shit at this one and the top comment: http://www.reddit.com/r/punchablefaces/comments/2i45ys/rumer_willis_awful_face/
3: [00:01:55] <JeremyRoundill> So, I installed SS from the zip, apparently. Can I composer this business up easily?
4: [00:02:19] <ss23> JeremyRoundill: Hmm, if it has a composer.json and composer.lock, you probably can
5: [00:02:24] <ss23> Though I haven't tried
6: [00:02:30] <Ryan-Toast> Colin[pi]: looks like an oblivion elf./
7: [00:02:49] <Colin[pi]> in that pics, she so does!
8: [00:02:51] <Colin[pi]> *pic
9: [00:02:57] <JeremyRoundill> ss23: It didn't. :O
10: [00:03:14] * camfindlay quit (Quit: camfindlay)
11: [00:03:54] <ss23> JeremyRoundill: What is the output?
12: [00:05:05] <JeremyRoundill> ss23: Of the zip file?
13: [00:05:32] <ss23> JeremyRoundill: Of the command etc
14: [00:06:37] <JeremyRoundill> ss23: Not sure, I'm all good for working it out myself. I was just wondering if anyone else had tried.
15: [00:07:00] <ss23> Ah okay, not me sorry
16: [00:08:01] <simon_w|work> Bloody MySQL
17: [00:08:16] <simon_w|work> If doing a filesystem style restore, you need to use the exact same MySQL version
18: [00:08:29] <spronk> yep
19: [00:08:41] <simon_w|work> 5.5.40 can't handle a 5.5.38 backup
20: [00:08:57] <ss23> simon_w|work: you can normally use mysql_upgrade to get it to work
21: [00:09:11] <ss23> But yeah, the genereal idea os "only stupid peope do filesystem level backups and try and restore to different versions"
22: [00:11:24] <simon_w|work> These VMs are supposed to be exact clones of each other
23: [00:11:29] <simon_w|work> Turns out, nooope
24: [00:11:58] <Kingy> zippy: we're fucked
25: [00:13:05] <JeremyRoundill> ss23: for future reference, "composer require silverstripe/cms" does the trick.
26: [00:13:50] <spronk> antmas, http://imgur.com/uzFiJzC [nsfw, probably]
27: [00:14:05] <spronk> just came in a plain white courier bag, with that inside
28: [00:14:12] <ss23> JeremyRoundill: sweet :D
29: [00:15:17] <Kingy> lol spronk
30: [00:15:26] <Kingy> second hand?
31: [00:15:27] <JeremyRoundill> ss23: :D
32: [00:15:30] <spronk> well
33: [00:15:36] <spronk> the card is in taiwanese
34: [00:15:59] <JeremyRoundill> Spronk: That's great. :P
35: [00:16:55] <spronk> who the fuck sent it lol\
36: [00:18:15] <Colin[pi]> lol wtf
37: [00:19:11] <Colin[pi]> spronk: you didn't order a taiwanese figurine of bilbo did you? Maybe they got mixed up
38: [00:19:22] <spronk> haha
39: [00:19:30] <spronk> as far as i know we didnt order anything from taiwan..
40: [00:19:34] * muskie9 is now known as _muskie9_
41: [00:19:43] <spronk> it didnt have a customs sticker though
42: [00:19:52] <spronk> so must have been nz post
43: [00:19:54] <Colin[pi]> spronk: not meant for one of the ladies in the office? ;)
44: [00:19:55] * babak quit (Quit: Connection closed for inactivity)
45: [00:20:08] * spronk works from home
46: [00:20:14] <Colin[pi]> ok k, gf?
47: [00:20:17] <spronk> the mrs says she didn't order it
48: [00:20:21] <Colin[pi]> LOL
49: [00:20:31] <Colin[pi]> did she have shifty eyes?
50: [00:20:40] <Kingy> did she order it for you? lol
51: [00:20:44] <Colin[pi]> uh... I uh, I don't know anything about that"
52: [00:20:58] * jenniferaslan quit (Quit: jenniferaslan has left the room)
53: [00:20:59] <spronk> the fuck would i want a dildo for :S
54: [00:21:08] <Kingy> pegging
55: [00:21:11] <Colin[pi]> LOLOLOL
56: [00:21:21] <ss23> Don't diss it till you've tried it
57: [00:21:26] <Kingy> ^
58: [00:21:34] <spronk> LOL
59: [00:23:11] <spronk> its got a web address www.xn--dqr67y.tw (definitely nsfw)
60: [00:23:59] <JeremyRoundill> It's clearly part of some new GCSB strategy to spy on you.
61: [00:24:15] <spronk> i do know one person who lives in taiwan
62: [00:24:25] <JeremyRoundill> The government's trying to find out everything about you, including the state of your bodily orifices.
63: [00:24:34] <spronk> haha
64: [00:24:48] <Colin[pi]> "new! conduct your own cavity inspection!"
65: [00:25:03] <Ryan-Toast> anal with your gf, great. Pegging with your gf, nah bro that’s gay. Never understood that.
66: [00:25:11] <JeremyRoundill> Haha, yeah.
67: [00:25:20] <spronk> mm
68: [00:26:13] <Ryan-Toast> now you’re all thinking about butts.
69: [00:26:34] <JeremyRoundill> Boy howdy, am I.
70: [00:26:42] <spronk> unless it was meant for a neighbour
71: [00:26:46] <Ryan-Toast> http://i.imgur.com/Y5cjgNk.jpg
72: [00:26:57] <Ryan-Toast> spronk: Is it a nice dildo?
73: [00:27:02] <spronk> uhh
74: [00:27:05] <spronk> how do you tell?
75: [00:27:06] <spronk> lol
76: [00:27:11] <spronk> it looks kinda cheap
77: [00:27:16] <Ryan-Toast> Does it say Hitachi on the side? :P
78: [00:27:18] <spronk> no
79: [00:27:22] <Ryan-Toast> then no.
80: [00:27:26] <Ryan-Toast> send it away.
81: [00:27:30] <spronk> hitachi make dildos?
82: [00:27:31] <Ryan-Toast> leave this place.
83: [00:27:46] <Ryan-Toast> spronk: http://en.wikipedia.org/wiki/Hitachi_Magic_Wand
84: [00:27:49] <Colin[pi]> spronk: no no, "back massagers" ;)
85: [00:27:54] <spronk> oh wow
86: [00:28:02] <Ryan-Toast> “Massagers"
87: [00:28:03] <spronk> how did i not know about this
88: [00:28:19] <Colin[pi]> apparently they're very popular with the ladies... for... back.. massage
89: [00:28:30] <Ryan-Toast> “Multiple academics have discussed use of the Hitachi Magic Wand to treat chronic anorgasmia—a type of sexual dysfunction in which a person cannot achieve orgasm”
90: [00:28:36] <Ryan-Toast> that’s how good they are.
91: [00:28:44] * camfindlay has joined #silverstripe
92: [00:29:02] <spronk> well
93: [00:29:08] <Kingy> Colin[pi]: back massage?
94: [00:29:08] <spronk> there's the gf's xmas present sorted
95: [00:29:08] <spronk> :p
96: [00:29:22] <Kingy> back of the vagina massage.... amirite
97: [00:29:24] <Ryan-Toast> spronk: you’re probs joking, but seriously buy her one.
98: [00:29:26] <Colin[pi]> haha spronk you'd be no longer required
99: [00:29:31] <Colin[pi]> you'd be on the kerb son
100: [00:29:58] <spronk> lol :<
101: [00:30:02] <Kingy> cough* WeVibe *cough
102: [00:30:49] * hailwood has joined #silverstripe
103: [00:31:01] <Ryan-Toast> Kingy: ever “higged” someone while they’re usifng a hitchi for a massage. your life will change./
104: [00:31:05] <Ryan-Toast> hugged**
105: [00:31:11] <Colin[pi]> Kingy: that looks like a gun out of Stargate
106: [00:31:29] <Ryan-Toast> Colin[pi]: pew pew, you’re bleeding white blood!
107: [00:31:31] <Kingy> Ryan-Toast: No I haven't lol
108: [00:31:38] <Kingy> Colin[pi]: They're good. Buy one :)
109: [00:31:39] <Ryan-Toast> Kingy: I would… give that a go.
110: [00:32:05] <Colin[pi]> Kingy: http://www.blastr.com/sites/blastr/files/images/StargatePropsLead.jpg
111: [00:32:11] <Ryan-Toast> What a time to be alive.
112: [00:32:11] <spronk> HA
113: [00:32:26] <Kingy> Colin[pi]: jeez it really does
114: [00:32:39] <antmas> how nsfw are these pics?
115: [00:32:44] * antmas just got back from lunch
116: [00:32:54] <spronk> antmas, the first one is mildly nsfw
117: [00:33:04] <spronk> the dodgy .tw address is very nsfw
118: [00:33:04] <Kingy> none except for the website spronk linked too
119: [00:33:06] <Colin[pi]> the one I just sent isnt, the website spronk posted is nsfw
120: [00:33:50] <zippy> Hitachi Magic Wand - no hiding that between the matress
121: [00:34:10] <Colin[pi]> zippy: probably dims the lights when it's on
122: [00:34:23] <zippy> gonna say... "mains-powered vibrating massager" thats some power there
123: [00:34:29] * ss23 has sent you a message! To read it, type "/server read last"
124: [00:34:50] <Ryan-Toast> zippy: It’s pretty intense. Mrs had to cover it in a towel when I got it for her.
125: [00:35:00] <spronk> heh
126: [00:35:03] * simon_w|work quit (Quit: Ping timeout: your mum)
127: [00:35:09] <spronk> see the question i have for something like that
128: [00:35:18] <spronk> is whether it increases difficulty without it later on :P
129: [00:35:26] <ss23> I like to imagine simon typed it
130: [00:35:28] <Colin[pi]> mm I've wondered that too
131: [00:35:40] * spronk can't compete with 240v
132: [00:35:55] <Kingy> cut the power..
133: [00:35:56] <Kingy> done
134: [00:35:58] <Kingy> I WIN
135: [00:36:07] <antmas> man
136: [00:36:12] <antmas> the things you find on this channel
137: [00:36:17] <Colin[pi]> LOOK WHAT YOU'VE DONE SPRONK... now we're discussing sex toys
138: [00:36:18] <antmas> XD
139: [00:36:26] <Ryan-Toast> spronk: if you have headphones: https://www.youtube.com/watch?v=nEx2zQ_0Inc&list=UUOEjWOfsNRvTDtBzGNnniuA
140: [00:36:50] <spronk> o_O
141: [00:36:52] <spronk> the fuck is this
142: [00:37:08] <Ryan-Toast> Art piece with massagers
143: [00:37:23] <spronk> ohhh
144: [00:37:29] <spronk> is she getting.. hoo-ha'd... while reading?
145: [00:37:35] <Ryan-Toast> Yes.
146: [00:37:35] <Colin[pi]> looks that way
147: [00:37:39] <spronk> heh
148: [00:37:45] <Ryan-Toast> It’s a hitachi :P
149: [00:38:50] <Kingy> is it like that sybian or whatever the hell it is
150: [00:39:02] <Colin[pi]> Kingy: nah you'd hear a sybian
151: [00:39:07] <Kingy> lolol
152: [00:39:09] <Colin[pi]> sounds like a freakin motorboat
153: [00:39:34] <Colin[pi]> I mean... so I've heard
154: [00:39:49] <Kingy> yeah you seem informed
155: [00:40:04] <Colin[pi]> ;)
156: [00:41:01] <Colin[pi]> WHY IS EVERYONE QUIET ITS FREAKIN ME OUT
157: [00:41:21] <Kingy> everyone is concerned at your knowledge of sex toys
158: [00:41:31] <Kingy> questions wtf they're doing talkign to you :P
159: [00:41:42] <Colin[pi]> lol, gotta know your enemy
160: [00:42:04] <Ryan-Toast> Listening to Hysterical Literiture...
161: [00:42:31] <Kingy> lololol
162: [00:42:38] <spronk> pretty much
163: [00:42:38] <spronk> :p
164: [00:43:45] * spronk goes back to work
165: [00:43:48] * irogue_ returns from lunch
166: [00:43:52] * irogue_ reads scrollback
167: [00:43:59] * irogue_ laughs hysterically
168: [00:44:42] <Colin[pi]> irogue_: it got a little weird in here
169: [00:44:51] <Kingy> very awkward now
170: [00:44:54] <irogue_> haha
171: [00:44:54] * simon_w|work has joined #silverstripe
172: [00:45:06] <spronk> i blame Colin[pi]
173: [00:45:09] <spronk> actually no
174: [00:45:10] <Kingy> ^
175: [00:45:12] <spronk> i blame ss23.
176: [00:45:13] <irogue_> meanwhile we were having a sausagefest on the balcony
177: [00:45:42] <Colin[pi]> don't really know what to say to that
178: [00:45:57] <Kingy> yeah if it wasn't weeird before
179: [00:45:58] <ss23> woah
180: [00:45:59] <ss23> calm down
181: [00:45:59] <Kingy> it sure is now lol
182: [00:46:01] <ss23> p.s. im hungry
183: [00:46:05] <ss23> to burgerfuel or not to burgerfule?
184: [00:46:10] <spronk> ss23
185: [00:46:12] <spronk> burgerfuel
186: [00:46:13] <spronk> twitter
187: [00:46:15] <spronk> they had a deal yesterday
188: [00:46:16] <spronk> sec
189: [00:46:22] <irogue_> ss23: we had a bbq
190: [00:46:27] <irogue_> cos thats what we do
191: [00:46:28] <spronk> http://www.burgerfuel.com/nz/promotions/twitter-voucher
192: [00:46:50] <zippy> Kingy: 203 eh!
193: [00:46:58] <Kingy> #winning
194: [00:47:01] <zippy> wonder if he'll get a 100
195: [00:47:14] <Kingy> not the way boult is going lol
196: [00:47:29] <zippy> boult has stuck around this long
197: [00:47:42] <JeremyRoundill> Does anyone have experience dealing with the current Facebook API?
198: [00:47:46] <Kingy> only coz they're not aiming at the stumped lol
199: [00:47:51] <JeremyRoundill> It's been a few years since I last touched it.
200: [00:47:54] <Kingy> he's practically off the pitch by the time the ball gets to him
201: [00:48:33] <zippy> really it makes you wonder if sometimes it's like WWE or someting
202: [00:48:46] <zippy> shit nz is gong to get out for less than 200, we need to make it intersting, go easy on them for a bit
203: [00:49:02] <Kingy> haha
204: [00:49:17] <Kingy> we need this world cup warm up so we better make it some what challenging
205: [00:49:35] <zippy> we want our batsman to bat for a while so let nz get more runs
206: [00:49:45] <Kingy> exactly lol
207: [00:49:48] <ss23> spronk: But... why would I want two burgers? :(
208: [00:50:01] <Kingy> ss23: what sort of question is that
209: [00:50:09] <ss23> lol
210: [00:50:09] <spronk> Kingy, IKR
211: [00:50:15] <spronk> why wouldn't you want two burgers?
212: [00:50:16] <Kingy> it's like
213: [00:50:17] <ss23> SOME OF US CAN'T EAT TWO BURGERS + CHICKEN FENDERS + MILKSHAKE AT ONCe
214: [00:50:18] <zippy> two big macs = winning..
215: [00:50:21] <Kingy> "why would i want to double my salary"
216: [00:50:35] <ss23> two big macs is NOT The same as two burgerfuel burgers
217: [00:50:35] <ss23> :P
218: [00:50:46] <zippy> ss23: if you have no burgerfuel burgers...
219: [00:51:21] <irogue_> ughghghghg
220: [00:51:33] <irogue_> really regretting IRCing so late last night
221: [00:51:57] <zippy> irogue_: in trouble are we
222: [00:52:04] <irogue_> not at all
223: [00:52:06] <irogue_> just fuckin tired!
224: [00:52:11] * camfindlay has left #silverstripe
225: [00:52:26] <zippy> Kingy: mind you, makes you wonder if pitch alot easier to bat on, SA will smoke the score
226: [00:52:37] <Kingy> bowling first was always the best
227: [00:52:53] <Kingy> ronchi is on fire
228: [00:53:13] <zippy> mmm this project has 4 versions of jquery...
229: [00:53:23] <Kingy> nice
230: [00:53:24] <zippy> they took "not enough jquery" too far
231: [00:53:31] <JeremyRoundill> jQuery? MooTools is where it's at, man.
232: [00:53:42] <irogue_> I was deploying a project last night
233: [00:53:44] <zippy> JeremyRoundill: like... 6 years ago
234: [00:53:49] <irogue_> SO MANY JQUERYS
235: [00:54:14] <zippy> Kingy: crack!! what a shot
236: [00:54:16] <JeremyRoundill> zippy: some good things happened in 2008
237: [00:54:43] <zippy> JeremyRoundill: yeap, the Dark Knight came out
238: [00:55:29] <ss23> pls join my channel #0,0
239: [00:55:46] <Kingy> lol
240: [00:57:05] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
241: [00:57:12] * zippy claps
242: [00:58:06] <ss23> :D
243: [00:58:19] <ss23> Okay enough being mean to people on the internet, time for boogerfood
244: [00:58:21] <zippy> comeone... 100...
245: [00:59:27] <Kingy> 98...
246: [00:59:55] <Kingy> 99
247: [00:59:58] <zippy> :(
248: [01:00:27] <Kingy> did he get out
249: [01:00:30] <Kingy> im delayed
250: [01:01:15] <Kingy> mofffoooo
251: [01:01:43] <zippy> Kingy: you not using skygo?
252: [01:01:50] <Kingy> yes
253: [01:01:57] <Kingy> but it gets so delayed coz it freezes
254: [01:03:26] * camfindlay has joined #silverstripe
255: [01:03:57] * UncleCheese has joined #silverstripe
256: [01:08:11] <jordank> anyone know how to allow PSDs to be uploaded in the Files section of the CMS? it seems that they're disallowed (or not whitelisted) by default
257: [01:11:58] <micmania1> jordank: File.allowed_extensions config
258: [01:12:01] <Olliepop> Hey is there a common reason for this error? "Missing argument 1 for DataObject::getComponents() called in C:\wamp\www\***************\framework\view\ViewableData.php on line 108"
259: [01:13:03] <UncleCheese> if only the guy trying to break into our house was this dumb.. http://cdn.3news.co.nz/3news/AM/2012/7/11/260957/michael-hagger-1200.jpg
260: [01:13:32] <UncleCheese> Olliepop can you provide a stack trace?
261: [01:13:44] <jordank> micmani1: cheers, will try that
262: [01:14:26] <Olliepop> UncleCheese: Thanks for taking a look :) http://pastebin.com/2hiNJVaR
263: [01:15:00] <UncleCheese> can i see the code that constructs your gridfield?
264: [01:15:02] <simon_w|work> Olliepop, ModuleEntry has a field or relation called Components
265: [01:15:09] <simon_w|work> Rename it
266: [01:15:11] <UncleCheese> oh no
267: [01:15:14] <UncleCheese> you have a naming conflict
268: [01:15:17] <UncleCheese> yeah
269: [01:15:18] <UncleCheese> ^^
270: [01:15:51] * caamic30 has joined #silverstripe
271: [01:16:25] <UncleCheese> simon_w|work ... or maybe he has a custom getter called getComponents()?
272: [01:16:33] <simon_w|work> UncleCheese, nope
273: [01:16:44] <UncleCheese> invoking $this->Components() shouldn't be a problem, no?
274: [01:16:51] <simon_w|work> That's fine
275: [01:17:00] <jordank> micmania1: is this what you mean? http://pastebin.com/DbwBr8px
276: [01:17:05] <Olliepop> UncleCheese & @simon_w|work: Thanks guys! That was it. Working perfectly now
277: [01:17:12] <jordank> that's my mysite/_config/config.yml file
278: [01:17:50] <micmania1> jordank: allowed_extensions: (new line) - ‘psd’ (new line) - ‘ai’
279: [01:18:06] <micmania1> You can also set these an a spacific upload field if you’re only allowing these to be uploaded in one place
280: [01:18:27] <micmania1> jordank: http://api.silverstripe.org/3.1/class-UploadField.html#_setAllowedExtensions
281: [01:19:53] <simon_w|work> irogue_, I'm still waiting for butthurt replies from mooman and Hamish :p
282: [01:20:08] <Kingy> what have you done now simon_w|work
283: [01:20:13] <Zopiclone> is it possible to how would one use populateTemplate with fields from a dataobject?
284: [01:20:27] <simon_w|work> Zopiclone, just pass in the DataObject
285: [01:20:34] <zippy> populateTemplate($MyObject)
286: [01:20:58] <simon_w|work> Kingy, https://github.com/silverstripe/silverstripe-framework/issues/3548#issuecomment-59717799 and down
287: [01:23:07] <Zopiclone> i did populateTemplate($this) but that didnt work
288: [01:23:09] <Kingy> lol simon_w|work
289: [01:23:16] <Colin[pi]> UncleCheese: is this like a thing now? people wanted for arrest replying to cops on FB
290: [01:25:21] <UncleCheese> seems to work
291: [01:25:23] <zippy> Does a config have to be on a class?
292: [01:25:30] <simon_w|work> zippy, nope
293: [01:25:31] <UncleCheese> nope
294: [01:25:43] <UncleCheese> not in > 3.0
295: [01:25:50] <zippy> Config::inst()->get($this->class, 'my_property');
296: [01:26:02] <UncleCheese> or
297: [01:26:08] <UncleCheese> $myInstance->config();
298: [01:26:11] <zippy> so if I have no class, can I just do Config::inst()->get('foo')
299: [01:26:13] <UncleCheese> ->someProp
300: [01:26:17] <UncleCheese> Yeah
301: [01:26:23] <UncleCheese> Config::inst()->get('Whatever','prop');
302: [01:31:37] <antmas> awesome
303: [01:31:47] * antmas goes to meeting as the project lead
304: [01:32:00] * antmas passes out business proposal 4 weeks ago
305: [01:32:06] <antmas> no on reads it
306: [01:32:09] <antmas> THANKS GUYS
307: [01:32:12] <antmas> one*
308: [01:32:19] <Kingy> yeah i hate that
309: [01:32:28] <Kingy> day before a meeting like that i'll always email saying
310: [01:32:33] <Kingy> prepare yourself bitches
311: [01:32:39] <antmas> haha yes
312: [01:32:41] <antmas> but I mean
313: [01:32:51] <Kingy> we have a real aggressive guy who is like
314: [01:32:56] <Kingy> read this before the meeting or don't turn up
315: [01:32:56] <Kingy> lol
316: [01:32:57] <Colin[pi]> antmas: not a single one?
317: [01:33:05] <antmas> the idea of this one was to make sure all the features/requirements are noted and agreed upon
318: [01:33:20] <antmas> so that no scope creep happens
319: [01:33:31] * antmas is dreaming
320: [01:33:35] <antmas> Colin[pi]: nope
321: [01:33:38] <Colin[pi]> \o/
322: [01:33:53] <antmas> tbf, they knew we were doing this project and saw bits of it
323: [01:33:58] <antmas> before hand
324: [01:34:28] <zippy> Is it possible in the yaml to just write
325: [01:34:29] <antmas> but man, I'm the 'junior' guy in all of this and am better prepared than senior executives
326: [01:34:31] <zippy> FooBar:
327: [01:34:44] <zippy> something: 'test'
328: [01:34:46] <Colin[pi]> antmas: sounds about right ;)
329: [01:34:52] <antmas> Colin[pi]: :P
330: [01:34:54] * Colin[pi] has totally lost his glasses
331: [01:34:57] <zippy> and then get that out?
332: [01:35:22] <zippy> cos doing Config::inst()->get('FooBar', 'something') says class FooBar doesn't exist...
333: [01:35:41] <zippy> nope
334: [01:35:47] <zippy> that was my bad, name spaces and stuff :D
335: [01:47:14] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
336: [01:50:06] <Zopiclone> Good old spam folder caguht me off guard
337: [01:51:19] <Kingy> zippy: :D
338: [01:52:45] <zippy> Kingy: just flicked it on, they got 10 off the first over, dang!
339: [01:53:01] <Kingy> 11
340: [01:53:05] <zippy> true
341: [01:53:05] <Kingy> and boult just got a wicket first ball
342: [01:53:06] <Kingy> so eh
343: [01:55:39] <antmas> has anyone ever had any issues with permissions and cron jobs?
344: [01:55:44] <antmas> trying to rule out a weird issue
345: [01:57:16] <zippy> yea there are a couple of things
346: [01:57:38] <zippy> sometimes the command line can have a different php version
347: [01:57:58] <zippy> often it's the different user that runs the cron vs web. so make sure to flush on the command line
348: [01:58:06] <zippy> is it possible to check config from the template?
349: [02:00:54] * irogue_ has joined #silverstripe
350: [02:02:39] <antmas> zippy: hmmm, would the differing pgp versions cause perm issues though?
351: [02:02:43] <antmas> php*
352: [02:03:05] <zippy> more likely different users
353: [02:03:43] * camfindlay quit (Quit: camfindlay)
354: [02:04:21] <antmas> hmmm
355: [02:04:23] <antmas> interesting
356: [02:04:40] * irogue_ quit (Client Quit)
357: [02:05:02] <antmas> zippy: would flushing the command line cause any set jobs to reset?
358: [02:05:27] * irogue_ has joined #silverstripe
359: [02:18:33] <zippy> Kingy: :D
360: [02:18:40] <Kingy> hells yeah
361: [02:19:56] <zippy> mm pizza
362: [02:20:03] <zippy> jalapenos!
363: [02:20:37] <irogue_> mmm almond gold slab
364: [02:21:03] <simon_w|work> mmm, bacon
365: [02:21:26] <simon_w|work> irogue_, why no reply from the mooman?
366: [02:21:36] * simon_w|work wants his entertainment!
367: [02:22:28] * caamic30 quit (Quit: caamic30)
368: [02:22:46] <Stomach> where does DataObject::get() actually execute?
369: [02:23:00] <Stomach> I want to add a default filter to all get() calls, but can't work out the correct place to put it
370: [02:23:02] <Stomach> any ideas?
371: [02:23:51] <Stomach> is there a place where DataList executes that I could add $this = $this->customerfilter(); and then override DataList using Object::useCustomClass ?
372: [02:25:06] <Stomach> or is it better to do that somewhere in DataQuery
373: [02:25:47] <simon_w|work> Stomach, Extension on DataQuery, hook into augmentDataQueryCreation($sqlquery, $dataquery), check $dataquery->dataClass()
374: [02:26:27] <Stomach> awesomeness
375: [02:27:18] <zippy> Stomach: you making a Silverstripe debug bar, like the laravel one? https://cloud.githubusercontent.com/assets/973269/4270452/740c8c8c-3ccb-11e4-8d9a-5a9e64f19351.png
376: [02:27:53] <zippy> since there are already things for showQueries, and get templates and all that, could work quite well
377: [02:28:02] <Stomach> nope, just setting up an overly complex page access system
378: [02:28:06] <Stomach> :\
379: [02:28:17] <ss23> augment sql?
380: [02:28:17] <ss23> :D
381: [02:28:55] <zippy> http://phpdebugbar.com/ - like the bar in the footer of the page
382: [02:29:03] <Stomach> ss23, nope - that just blows up in my face
383: [02:29:30] <Stomach> there is "access, cannot access" and then another "sees everything" level
384: [02:29:48] <Stomach> its like staged content for non-admin users
385: [02:29:54] <Stomach> but they cannot see staged content
386: [02:29:55] <Stomach> >_<
387: [02:35:43] <antmas> love this band
388: [02:35:55] <antmas> one of the songs is 'Salters of Madness'
389: [02:35:55] * TF35Strike quit (Quit: Leaving)
390: [02:36:02] <antmas> 'Lettuce Prey'
391: [02:36:04] <antmas> XD
392: [02:36:28] <antmas> oop - wrong channel :P
393: [02:39:16] * caamic30 has joined #silverstripe
394: [02:44:22] * TF35Strike has joined #silverstripe
395: [02:47:29] * mattgunn has joined #silverstripe
396: [02:48:19] <ss23> oh no
397: [02:48:30] <antmas> ss23: ?
398: [02:48:43] <irogue_> OH NO
399: [02:48:45] <ss23> antmas: ... just keep quiet
400: [02:48:50] <ss23> if we don't move he might not notice we're here :O
401: [02:50:16] * antmas locks up his daughters
402: [02:50:28] <mattgunn> ss23, is that at me?
403: [02:50:48] <antmas> ss23: did you hear something?
404: [02:50:54] * antmas listens
405: [02:51:36] * guzzlefry puts a giant sign with "SS23" next to ss23
406: [02:52:08] <antmas> woah, guzzlefry
407: [02:52:15] <guzzlefry> I know
408: [02:52:20] <guzzlefry> it's perfect for hiding behind
409: [02:55:02] <antmas> guzzlefry: how're things? don't see you on here much these days
410: [02:55:22] * Zopiclone quit (Read error: Connection reset by peer)
411: [02:55:22] <irogue_> oh man, my risk of falling asleep on the train tonight and missing my stop are too damn high
412: [02:55:23] * caamic30 quit (Quit: caamic30)
413: [02:55:30] <guzzlefry> good, just been working and things
414: [02:55:33] <guzzlefry> yourself?
415: [02:56:15] <mattgunn> irogue; the answer is coffee
416: [02:56:41] <antmas> guzzlefry: yeah not bad - ready for the xmas break though (as most of us would be too I guess)
417: [03:03:35] <ss23> mattgunn: :D
418: [03:03:37] <ss23> mattgunn: I'm just messing
419: [03:03:47] <timezone> any cloudflare haters here
420: [03:03:50] <timezone> if so why
421: [03:04:14] <irogue_> hamish is a cloudflare hater
422: [03:04:24] <simon_w|work> Because it's slow
423: [03:04:42] * novaweb hates cloudfare and doesn't even know what it is
424: [03:04:49] <timezone> slow?
425: [03:04:51] <simon_w|work> Yes
426: [03:04:54] * novaweb sucks at typing too
427: [03:05:04] <timezone> i just wrapped a video rendering thing i builts front end in it
428: [03:05:09] <timezone> and the videos seem to load the same
429: [03:05:17] <ss23> cloudflare 4 lyfe <3
430: [03:05:23] <ss23> I've never had speed issues with it
431: [03:05:35] <ss23> Free SSL? OH HELLS YEAH
432: [03:05:40] <irogue_> I use it for a couple of sites I host that (for some reason I genuinely don't understand) get DDoSed and hack attempts
433: [03:05:48] <ss23> lol
434: [03:05:51] <mattgunn> ss23: I know
435: [03:06:03] * camfindlay has joined #silverstripe
436: [03:06:07] <ss23> yeah, I got ddos'd a few times... took down Sitehost, twice
437: [03:06:23] <ss23> Not nice getting a phone call from your host being like "Yeah so you took us down, twice. Stop getting ddos'd or we're shutting down your accounts"
438: [03:07:10] * camfindlay quit (Client Quit)
439: [03:07:19] * cloph has joined #silverstripe
440: [03:07:22] * caamic30 has joined #silverstripe
441: [03:07:31] <irogue_> I remember many many years ago getting a phone call from my ISP at the time "you have an open smtp relay smarthosting to us and have taken down our mailserver"
442: [03:07:33] * cloph_away quit (Ping timeout: 260 seconds)
443: [03:07:48] <ss23> haha
444: [03:10:07] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
445: [03:10:33] <irogue_> I was really impressed they called instead of just banhammering, *and* they offered to SSH in and fix it if I didn't know how
446: [03:11:44] <ss23> wait what
447: [03:11:50] <ss23> "Here, we'll just SSH into your servers and fix it..."
448: [03:11:52] <ss23> NTY NTY ;_;
449: [03:13:03] <irogue_> lol
450: [03:13:29] <irogue_> IMO good thing to offer though
451: [03:13:29] <irogue_> this was... 2003
452: [03:14:10] * mattgunn quit (Ping timeout: 246 seconds)
453: [03:14:12] <irogue_> and, quite insanely, the default postfix install in whatever distro I was using at the time was open relay
454: [03:19:08] * pippy has joined #silverstripe
455: [03:22:32] <zippy> Kingy: zing
456: [03:25:46] <pippy> https://github.com/otago/opcolor
457: [03:26:01] <ss23> Fuck hosts that don't have status updates during outages
458: [03:27:50] * TF35Strike quit (Quit: Leaving)
459: [03:28:22] <irogue_> ss23: do we? :P
460: [03:28:36] * ss23 coughs
461: [03:28:39] <zippy> too busy fixing then to update a status page :)
462: [03:28:47] <ss23> We do for our premium services!
463: [03:31:21] <Ryan-Toast> antmas: not a day goes by that I don’t shed a tear for wallbase
464: [03:32:09] * novaweb quit (Quit: Leaving)
465: [03:33:03] <zippy> If you use a controller which extends ContentController then you get access to SiteConfig in the template. But if you just extend Controller, you don't...
466: [03:33:04] <zippy> pita
467: [03:35:46] <zippy> ok
468: [03:36:18] * muskie9 has joined #silverstripe
469: [03:37:19] * caamic30 has left #silverstripe
470: [03:37:20] <zippy> https://github.com/silverstripe/silverstripe-framework/pull/3381
471: [03:37:20] <zippy> I'd be keen to get @hafriedlander input on this, since he is God of The Config System.
472: [03:37:21] <zippy> haha
473: [03:42:06] <Olliepop> Very cool module pippy!
474: [03:47:31] <irogue_> quite
475: [03:47:44] <irogue_> though my eye is twitching at "Colour Shemes"
476: [03:50:12] * ben_w has joined #silverstripe
477: [03:51:39] <ss23> okay guys, do not connect your 2200mah 11v batteries direclty into your tiny motors
478: [03:52:02] <Colin[pi]> ss23: boom!
479: [03:52:33] <irogue_> I remember a classmate at intermediate making one of the Dick Smith Funway kits
480: [03:52:41] <irogue_> it was a flasher, designed to alternative between two LEDs
481: [03:53:01] <irogue_> he hooked it up between 240V and a set of 240V powered traffic lights
482: [03:53:02] <Colin[pi]> irogue_: oh man I loved those kits!
483: [03:53:06] <irogue_> much flames
484: [03:53:07] <irogue_> many smoke
485: [03:53:08] <irogue_> wow
486: [03:53:14] <Colin[pi]> such explosion
487: [03:54:42] <Colin[pi]> irogue_: were they those board things with the springs, wires and electronic components?
488: [03:55:00] <Colin[pi]> also had screw in boards as well
489: [03:56:43] * Ryan-Toast has left #silverstripe
490: [03:56:56] <Colin[pi]> I had one like this: http://images.wheedle.co.nz/images/items/01/BP/151013/xsFxRT6xog1381812200.jpg
491: [04:00:09] <Olliepop> Me too!
492: [04:00:18] <Olliepop> Electric kits are the bomb
493: [04:01:56] <Colin[pi]> Olliepop: quite literally if you screw it up
494: [04:01:57] <Colin[pi]> ;D
495: [04:02:16] <Olliepop> Blew the power supply on the first computer I built
496: [04:02:24] <Olliepop> Fried $500 worth of components
497: [04:02:51] <Olliepop> Made a little popping noise but sounded like a bomb because i simultaneously realised how fucked i was
498: [04:03:13] <Colin[pi]> lol
499: [04:03:42] <Colin[pi]> never have people talk to you while working on electronics... learned the hard way
500: [04:03:57] <Colin[pi]> when I was working on one of my first PCs, I screwed up one of the power connectors due to being distracted
501: [04:04:10] <Colin[pi]> something to do with the psu anyway
502: [04:04:14] <Colin[pi]> went to turn it on
503: [04:04:16] <Colin[pi]> FOOM!
504: [04:04:20] <zippy> Colin[pi]: wheedle, haha!
505: [04:04:20] <Colin[pi]> god fucking dammit
506: [04:04:23] <Olliepop> psu's are the worst to deal with haha
507: [04:04:43] <Colin[pi]> after that I always work on it alone lol
508: [04:05:05] <zippy> Colin[pi]: like the magic voltage switch on the back of some of them. Whats this switch doom, oh... magic smoke...
509: [04:05:07] <Colin[pi]> always dat feel when you go to turn it on for the first time.. "ohfuckohfuck I hope everything is correct"
510: [04:05:16] <Colin[pi]> zippy: that was it!
511: [04:05:23] <Colin[pi]> yeah I fucked up that switch
512: [04:05:27] <Colin[pi]> wasn't paying attention
513: [04:05:30] <zippy> turbo mode :D
514: [04:05:43] <Colin[pi]> this was years ago now, still cut about it lol
515: [04:06:21] <Colin[pi]> my mate managed to run his PC for about a week with the heatsink 180 degrees rotated
516: [04:06:36] <Colin[pi]> one of those ones with the lip on the edge of the socket
517: [04:06:45] <Colin[pi]> how it lasted that long I have no idea
518: [04:06:57] <Colin[pi]> eventually.... "dink!" sound, and no more
519: [04:08:02] <irogue_> Colin[pi]: yup, thats a funway kit
520: [04:08:09] <irogue_> and that's the flasher circuit :P
521: [04:08:34] <Colin[pi]> haha
522: [04:08:36] <irogue_> that exact circuit had mains power applied to it!
523: [04:08:39] <Colin[pi]> jesus
524: [04:08:43] <Colin[pi]> those poor little wires
525: [04:08:44] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
526: [04:09:03] <Colin[pi]> that would have made an interesting smell after
527: [04:10:33] <Colin[pi]> irogue_: my dad was an eletrical engineer, so we always had a lot of that stuff around
528: [04:10:46] <Colin[pi]> irogue_: one time, a mate stayed over with his fancy RC car
529: [04:10:55] <Colin[pi]> battery died on it, but he forgot the charger
530: [04:11:05] <Colin[pi]> so before we woke up the next morning, my dad decided to charge it
531: [04:11:08] * muskie9 is now known as _muskie9_
532: [04:11:16] <Colin[pi]> but he didn't realise it needed a special charger :\
533: [04:11:29] <Colin[pi]> so... you guessed it, battery turned into hand grenade!
534: [04:11:36] <Colin[pi]> was quite spectacular to watch
535: [04:11:48] * micmania1 has left #silverstripe
536: [04:18:34] * jordank quit (Read error: Connection reset by peer)
537: [04:18:42] <irogue_> Colin[pi]: oh man, that'd be gutting with a fancy car
538: [04:18:42] <irogue_> a lot of my mates as a teenager had nitro RC cars
539: [04:18:43] * jordanmk has joined #silverstripe
540: [04:19:24] <Colin[pi]> irogue_: yeah to add insult to injury, my dad had to go out and buy a new battery, and they aint cheap
541: [04:20:06] <Colin[pi]> I remember it going "FZZZZZZZZZZZZ!! POP!!!" in the backyard, can see why they're dangerous when they explode
542: [04:21:02] <irogue_> yeah
543: [04:21:08] <irogue_> http://www.hobbycity.co.nz/shop/RC+Cars/-+Nitro/Off-road/Traxxas/-TRA4510.html
544: [04:21:21] <irogue_> insane how expensive nitro rc cars are
545: [04:21:24] <irogue_> that's a cheap one
546: [04:22:13] <Colin[pi]> mm pricey, so fun though
547: [04:23:36] <irogue_> https://groups.google.com/forum/#!topic/silverstripe-dev/IZz_1tmaV2M
548: [04:23:41] * irgbit has joined #silverstripe
549: [04:23:46] <irogue_> Colin[pi]: yeah, they're insanely fast
550: [04:24:17] <Colin[pi]> oooh hamish has spoken *goes to read
551: [04:26:18] <ss23> Personally I think he missed the point
552: [04:26:27] <hailwood> /exit
553: [04:26:29] <ss23> "The problem is we opened the issue first"
554: [04:26:39] <ss23> To me, the problem was you did a bunch of work first, not how you presented that work
555: [04:26:56] <Colin[pi]> hmmm
556: [04:28:05] * hailwood quit (Quit: Leaving.)
557: [04:29:15] * hailwood has joined #silverstripe
558: [04:32:08] <spronk> fuck yeah
559: [04:32:34] <spronk> ss23, yeah, trying to save face now
560: [04:33:22] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
561: [04:41:01] * jack_ has joined #silverstripe
562: [04:43:56] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
563: [04:45:10] * jack_ quit (Ping timeout: 246 seconds)
564: [04:48:21] * Kingy is now known as Kingy[a]
565: [04:50:43] * stojg quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
566: [04:52:02] * adrexia_ has joined #silverstripe
567: [04:55:23] * spek quit (Quit: Leaving)
568: [05:07:13] * adrexia_ quit (Read error: Connection reset by peer)
569: [05:24:30] * r_hector has joined #silverstripe
570: [05:29:02] * ben_w quit ()
571: [05:29:27] * kerosene quit (Ping timeout: 245 seconds)
572: [05:31:52] * Zopiclone has joined #silverstripe
573: [05:33:40] <ss23> antmas: that new sylosis song is pretty good...
574: [05:34:52] <simon_w|work> ss23, also, what planned actually means and what he says it means are rather different
575: [05:35:15] <simon_w|work> And the core group was not involved with the current set of planned features
576: [05:36:35] <Zopiclone> Hi all, is there a way to show a new window with gridfield-betterbuttons when the button is clicked?
577: [05:38:00] <simon_w|work> Zopiclone, if you set a target attribute on the button, it might work
578: [05:38:13] <simon_w|work> Otherwise, would need to inject some javascript
579: [05:40:05] * kerosene has joined #silverstripe
580: [05:40:51] * irgbit quit (Remote host closed the connection)
581: [05:49:09] * babak has joined #silverstripe
582: [05:54:00] * Shrike_Finland has joined #silverstripe
583: [06:03:44] * timezone is now known as mudmonth
584: [06:04:56] <Zopiclone> can you remove attributes?
585: [06:09:48] <Colin[pi]> iOS 8.1 is out apple heads
586: [06:16:10] * antmas quit (Ping timeout: 246 seconds)
587: [06:34:46] <ss23> My package turned up in NZ today, it should be here tomorrow if all goes well :D
588: [06:36:11] <simon_w|work> I tend to keep my package on me
589: [06:36:35] <Colin[pi]> ss23's package went on a long trip
590: [06:39:30] * wmk has joined #silverstripe
591: [06:40:17] <wmk> hi all
592: [06:41:21] <Zopiclone> whats the best way to print out a dataobject in a nice way? are there any examples out there?
593: [06:41:31] <mudmonth> i always use Kint
594: [06:41:40] <mudmonth> but it's my <3 php lib
595: [06:41:43] <mudmonth> http://raveren.github.io/kint/
596: [06:41:47] <mudmonth> i find it invaluable with ss
597: [06:41:53] * antmas has joined #silverstripe
598: [06:42:05] <antmas> eeeeeevining all
599: [06:44:58] <wmk> Zopiclone, best is a forTemplate method in the DO that grabs the standard Template and returns it
600: [06:45:06] <wmk> then in e.g. the Loop just $Me
601: [06:45:21] <ss23> This one is a lipocharger, I'll use it to explode Colin[pi] if he visitss again
602: [06:45:22] <wmk> antmas, mooooorniiing
603: [06:45:24] <ss23> :D
604: [06:46:04] <wmk> mudmonth, is kint something like firebug?
605: [06:46:13] <wmk> there's nothing like xdebug ;)
606: [06:46:24] <Colin[pi]> heya antmas
607: [06:49:50] <mudmonth> kint explains itself pretty clearly on the website
608: [06:50:02] <ss23> antmas: evening
609: [06:50:04] <mudmonth> my job is debugging other peoples shitshow webstacks pretty much
610: [06:50:07] <mudmonth> so i find it invaluable
611: [06:50:14] <mudmonth> for php crap anyway
612: [06:50:49] <mudmonth> i think one strength print debugging has over step debugging is a closer understanding of the real data because of managing representation logic
613: [06:50:58] <mudmonth> but Coders At Work rants about that vs endlessly
614: [06:51:19] <mudmonth> i notice chromes console.log lies fairly often
615: [06:51:26] <mudmonth> some lazy evaluation smarts in it
616: [06:55:03] * irgbit has joined #silverstripe
617: [07:01:19] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
618: [07:03:26] * Eliseth has joined #silverstripe
619: [07:03:39] * Stomach quit (Quit: bye)
620: [07:04:49] <ss23> mmm, 6 hour old burgerfuel chips...
621: [07:06:10] <wmk> mudmonth, i guess both comlement pretty much
622: [07:06:34] <Eliseth> Morning :|
623: [07:06:51] <wmk> though i love xdebug. when looping print debugging might be better in some cases
624: [07:06:54] <wmk> hi Eliseth
625: [07:09:19] * hailwood quit (Quit: Leaving.)
626: [07:09:20] <Colin[pi]> ss23: the best kind!
627: [07:18:57] <spronk> yum
628: [07:19:30] * Colin[pi] quit (Ping timeout: 246 seconds)
629: [07:19:42] <ss23> :D
630: [07:22:01] * Marvanni has joined #silverstripe
631: [07:23:12] <Marvanni> Hi, I have a Field CountryCode on a Member and I want to add a Dropdown to $searchable_fields with values like 'NL' => 'Netherlands'..
632: [07:23:19] * irgbit quit (Remote host closed the connection)
633: [07:23:43] <Marvanni> is that possible without like we can do with has_one relations?
634: [07:32:05] * glenn-bautista quit (Quit: Leaving.)
635: [07:32:59] <Marvanni> Ok, ended up with creating a custom DropdownField wich populates with data from my CountryCode Table...
636: [07:35:03] <wmk> Marvanni, of course you can pass any array to a dropdown
637: [07:35:08] <wmk> or enum data
638: [07:47:43] <Marvanni> yes, but you can only set the FormField Type in searchable fields. not the values it should have
639: [07:48:32] <Marvanni> So I watched how the buildin CountryDropdown did it..
640: [07:56:32] * stnvh has joined #silverstripe
641: [07:56:41] * irgbit has joined #silverstripe
642: [07:56:44] * ocmnt has joined #silverstripe
643: [07:57:08] <ocmnt> ello
644: [07:57:21] * gavro has joined #silverstripe
645: [07:58:12] * irgbit quit (Remote host closed the connection)
646: [08:01:16] * UncleCheese has joined #silverstripe
647: [08:01:33] * kinglozzer has joined #silverstripe
648: [08:01:33] <simon_w> I'm out of dinner :(
649: [08:02:19] <kinglozzer> Morning all
650: [08:02:28] <Eliseth> Morning kinglozzer
651: [08:04:11] <ss23> simon_w: Keep stashes of candy for if you run out of real dinner
652: [08:04:34] <wmk> Marvanni, ah, overread the $searchable_fields in your question
653: [08:04:47] <wmk> ello ocmnt
654: [08:11:28] * Pywtfk has joined #silverstripe
655: [08:11:36] <Pywtfk> fuck meetings
656: [08:12:07] <ss23> trudat
657: [08:13:43] <wmk> don't you like f-meetings?
658: [08:14:55] <Pywtfk> haha wmk !
659: [08:16:08] <Pywtfk> certainly not the kind where you sit there for 3 hours listening to the others ramble on about operational proceedure (nothing to do with you or the project directly), and are relevant for 5 minutes towards the end, at which point no one cares and then immediately go back to operational and accounting issues.
660: [08:16:28] <Pywtfk> oh, and are on the other side of the city
661: [08:16:55] <Pywtfk> when you've got somewhere actually interesting to be by 6pm
662: [08:16:56] <antmas> spronk: you about?
663: [08:17:08] <Pywtfk> (phpne tonight, get to see how many people went home and tried out SS)
664: [08:17:19] <antmas> guis
665: [08:17:25] <ss23> guis
666: [08:17:31] <kinglozzer> guis
667: [08:17:33] <antmas> this feels weird being on at night...
668: [08:17:39] <ss23> lol
669: [08:17:40] <ss23> why?
670: [08:17:40] <Pywtfk> GUIs
671: [08:17:44] <kinglozzer> CLIs
672: [08:17:46] <wmk> Pywtfk, hopefulle a lot
673: [08:17:50] * antmas is never on at night
674: [08:18:01] <ss23> antmas: :D
675: [08:18:05] <ss23> The night watch
676: [08:18:08] <antmas> hi ss23 o/
677: [08:18:16] <mudmonth> that's a good movie
678: [08:18:22] <Pywtfk> yup
679: [08:18:30] <Pywtfk> daywatch I think you mean.
680: [08:18:38] <antmas> daywatch sucks :P
681: [08:18:41] <Pywtfk> nightwatch was pretty cool too, but was pretty whack
682: [08:18:51] <mudmonth> mates
683: [08:18:58] <antmas> wasn't there a twilight watch?
684: [08:19:00] <Pywtfk> btw, same guy that did 'Wanted' iirc, with Jolie and McAvoy
685: [08:19:02] <mudmonth> i came here for some tips on making simon_w less shit
686: [08:19:05] <antmas> or a 3rd one of some kind?
687: [08:19:10] <mudmonth> and i ended up bonding with you guys
688: [08:19:17] <mudmonth> both movies are good
689: [08:19:20] <Pywtfk> noichnoi dozor
690: [08:19:30] <antmas> mudmonth: just get cam online :P
691: [08:19:43] <mudmonth> ss23: plz advise (overburden)
692: [08:19:50] <mudmonth> i'll just be annoying everywhere
693: [08:19:59] <Pywtfk> antmas: yeh, third book I think, but not sure it was ever made into a movie.
694: [08:19:59] <mudmonth> what i worry about is
695: [08:20:09] <Pywtfk> I think it was going to be made for the american market, but plans fell through
696: [08:20:12] <mudmonth> by all accounts westpac don't patch into the main branch
697: [08:20:18] <antmas> Pywtfk: pyro
698: [08:20:24] <Pywtfk> mmm?
699: [08:20:26] <antmas> ?
700: [08:20:29] <Pywtfk> !
701: [08:20:36] <antmas> Pywtfk: :O
702: [08:20:37] <ss23> mudmonth: advise what oh god
703: [08:20:39] <Pywtfk> :D
704: [08:20:46] <mudmonth> guys, i've been drinking, can i ask a couple of questions
705: [08:20:49] <antmas> I should download an irc client :|
706: [08:21:00] <mudmonth> aren't we positioned between drupal and wordpress
707: [08:21:04] <mudmonth> or am i wrong
708: [08:21:12] <ss23> mudmonth: No, both of those are way too far on the "shit" side
709: [08:21:17] <ss23> mudmonth: we're more like on the sympohny side
710: [08:21:19] <antmas> mudmonth: wash out your whore mouth
711: [08:21:33] <mudmonth> symphony is why you guys have the worst ever yaml implementation
712: [08:21:39] <ss23> lol
713: [08:21:42] <mudmonth> how do i fix your config system
714: [08:21:47] <antmas> haha
715: [08:21:48] <mudmonth> cause right now it's fucking fucking fucked
716: [08:21:51] <simon_w> And now I'm out of biscuits, but don't want to get out of my chair
717: [08:22:07] <mudmonth> it'd be better to stick to php files at the moment
718: [08:22:20] <mudmonth> your symphony yaml parser was written by a retard
719: [08:22:20] <simon_w> Where's Colin[pi] when you need someone to bring you stuff?
720: [08:22:35] <simon_w> mudmonth, duh, it's part of symfony
721: [08:22:37] <mudmonth> the deal is, if it doesn't break noisy, loud, and friendly
722: [08:22:43] <mudmonth> it's just trying to kill your project
723: [08:23:03] <mudmonth> maybe i need to solve it
724: [08:23:08] <mudmonth> and then fight the politics
725: [08:23:11] * tscole has joined #silverstripe
726: [08:23:18] <ss23> hold up
727: [08:23:23] <ss23> I got a graph for you, mudmonth
728: [08:23:26] <ss23> gotta upload it
729: [08:23:32] <mudmonth> don't call me mud month
730: [08:23:45] <mudmonth> calll me february
731: [08:23:47] <ss23> mudmonth: change your nick then, lamer
732: [08:23:54] <mudmonth> (old english of february is mud month)
733: [08:24:11] <ss23> mudmonth: http://i.imgur.com/XyUYoM1.png
734: [08:24:13] <ss23> guis
735: [08:24:15] * antmas_ has joined #silverstripe
736: [08:24:17] <ss23> pls confirm if this graph is accurate &&&&&
737: [08:24:18] <ss23> for everyone
738: [08:24:19] <ss23> http://i.imgur.com/XyUYoM1.png
739: [08:24:30] <ss23> druapl should be furhter left
740: [08:24:31] <mudmonth> ss23 is why i buy anime pillows
741: [08:24:40] <antmas_> that's better
742: [08:24:41] <ss23> THEY'RE CALLED DAKIMURA MAN
743: [08:24:44] <ss23> JESUS
744: [08:24:52] <mudmonth> sorry to say your fucking yaml config system is shit
745: [08:24:59] <ss23> mudmonth: No one here disagree's
746: [08:24:59] <ss23> :P
747: [08:25:09] <mudmonth> i'm actually prepared to design a new one and enter into the cycle over it
748: [08:25:12] <simon_w> ss23, why is symfony good?
749: [08:25:15] <mudmonth> we all know conf is not right
750: [08:25:21] <ss23> simon_w: idk I just put it up in that direction
751: [08:25:28] <ss23> I mean, look at where zend is
752: [08:25:30] <mudmonth> nope
753: [08:25:32] <antmas_> mudmonth what's wrong with it exactly? (curious)
754: [08:25:34] <mudmonth> ss23 mate
755: [08:25:35] <ss23> it's not exactly accurate
756: [08:25:38] <simon_w> ss23, yeah, those two should both be shit :p
757: [08:25:54] <mudmonth> antmas_: right now the yaml parser shits the bed without a concrete error state
758: [08:26:12] <mudmonth> it's very imprortant all errors hav every transparent reasons
759: [08:26:13] <antmas_> ah yes
760: [08:26:22] <mudmonth> here is the goal
761: [08:26:23] <ss23> we should crowdsource a graph system where you put in a bunch of things, like this, and each IP gets to vote once and you can watch where people percieve certain products to be
762: [08:26:27] <ss23> cool rite?
763: [08:26:47] <mudmonth> a config that is high performance, non executing, and an error is obvious
764: [08:26:51] <antmas_> ss23 like a once off (ip)
765: [08:26:52] <antmas_> ?
766: [08:26:53] <mudmonth> refute me plz
767: [08:26:58] <ss23> antmas_: idk I guess
768: [08:27:07] <ss23> mudmonth: drink more, talk less
769: [08:27:07] <antmas_> mudmonth like?
770: [08:27:14] * antmas_ is drinking
771: [08:27:24] <mudmonth> ss23 you know i'm right
772: [08:27:28] <simon_w> mudmonth, and its ordering makes sense
773: [08:27:32] <ss23> mudmonth: Aint no one disagreeing
774: [08:27:33] <mudmonth> the current istuation is untenable
775: [08:27:33] * spronk is about now..
776: [08:27:35] <spronk> .for a minute
777: [08:27:38] <antmas_> ss23 serious question
778: [08:27:41] <mudmonth> but heres the deal
779: [08:27:42] <Pywtfk> :o spronk is not spronk2
780: [08:27:45] <mudmonth> 'patches welcome'
781: [08:27:46] <antmas_> ss23 best AA song
782: [08:27:47] <antmas_> go
783: [08:27:49] <spronk> o_O
784: [08:27:51] * antmas_ counts
785: [08:27:54] <ss23> antmas_: AA as in Asking Alexandria?
786: [08:27:58] <mudmonth> i'm just saying if i'm not a shit bag, i should offer a right answer
787: [08:27:58] <antmas_> LOL
788: [08:27:59] <antmas_> no
789: [08:28:02] <antmas_> Amon bro
790: [08:28:04] <ss23> Oh
791: [08:28:04] <mudmonth> least one we can move on with
792: [08:28:05] <ss23> fucking good
793: [08:28:06] <ss23> I was going to say :/
794: [08:28:07] * antmas quit (Ping timeout: 246 seconds)
795: [08:28:09] <Pywtfk> spronk: I see you tried to guess my password when you were impersonating me the other day :P
796: [08:28:09] <mudmonth> cause right now it's shitbag
797: [08:28:12] <spronk> err
798: [08:28:13] * antmas_ is now known as antmas
799: [08:28:14] <spronk> i didn't..?
800: [08:28:15] <ss23> antmas_: I'm a big fan of uh... shit whats it called
801: [08:28:19] <spronk> ohh
802: [08:28:22] <Pywtfk> yeh, you did, 4 tiems, lol
803: [08:28:22] * nick__ has joined #silverstripe
804: [08:28:25] <ss23> Off Surtur Rising
805: [08:28:27] <spronk> unless my irc client automatically tried to do it
806: [08:28:32] <antmas> best song imo
807: [08:28:33] <spronk> with my password?
808: [08:28:39] <antmas> us
809: [08:28:41] <antmas> is
810: [08:28:41] <ss23> antmas: Destroyer of the Universe
811: [08:28:45] <antmas> Death in Fire
812: [08:28:49] <ss23> Which album?
813: [08:28:55] <Pywtfk> spronk: lulz http://logs.simon.geek.nz/index.php?date=2014-10-21#log_1458184
814: [08:28:55] <antmas> Versus the World
815: [08:28:58] <spronk> but no, i'm pretty sure i didn't
816: [08:29:01] <ss23> ah, old stuff
817: [08:29:07] <antmas> aw yeah
818: [08:29:11] <spronk> hmm :S
819: [08:29:14] <mudmonth> we need a non-executing conf system that we can cascade (so default env, vs staging, vs live) that also makes intuitive sense to use, that peforms well
820: [08:29:15] <ss23> Surtur Rising is 2011
821: [08:29:20] <antmas> spronk accept my stalker friend request
822: [08:29:25] <Pywtfk> spronk: oh, so all those failed guesses it notified me of was your password?
823: [08:29:29] <spronk> antmas, eh?
824: [08:29:30] <ss23> mudmonth: Fuck that, if we get to make up shit we need, I need a million dollars
825: [08:29:31] * Pywtfk goes to the bank
826: [08:29:33] <mudmonth> ss23: I WILL SUBMIT A PATCH
827: [08:29:34] <simon_w> Ooh, looks like I can rant out about Hamish in a more public setting :D
828: [08:29:34] <mudmonth> ss23: I WILL SUBMIT A PATCH
829: [08:29:35] <antmas> spronk :|
830: [08:29:40] <ss23> mudmonth: GOOD LUCK LOL
831: [08:29:49] <spronk> oh
832: [08:29:49] <spronk> facebook?
833: [08:29:52] <mudmonth> i've already identified simon_w as the shitbadger
834: [08:29:55] <nick__> Hi there hoping some one may be able to help me out here.. overnight all my pages on my site have changed to https:// has any one heard of this ?
835: [08:29:55] <antmas> oohhhh night time irc question
836: [08:30:01] * mrzero quit (Ping timeout: 260 seconds)
837: [08:30:04] <spronk> stalker
838: [08:30:05] <ss23> antmas: I've been listening to Sylosis. They seem not fine, so it's good I guess
839: [08:30:07] <Pywtfk> spronk: joking, lulz
840: [08:30:09] <antmas> is #ss a bit more 'free for all' at night time :D
841: [08:30:10] <ss23> fuck
842: [08:30:11] <antmas> ?
843: [08:30:12] <ss23> They seem fine I mean
844: [08:30:16] <antmas> spronk yup
845: [08:30:20] <mudmonth> so all i have to do is tell ss23 that its tight, and simon_w that the inodes will be in alphabetical order, and it'll get through
846: [08:30:23] <ss23> antmas: Not really, it's free for all all the time, but people are working less so people talk about work less
847: [08:30:28] <ss23> lol mudmonth
848: [08:30:33] * spronk goes away to try and convince the woman that sinks with slidey inserts like colander and chopping board are a good idea
849: [08:30:33] <ss23> I can imagine it now
850: [08:30:34] <antmas> ss23 ah right
851: [08:30:39] <ss23> "pls merge" "@ss23 YOU HAVE NO POWER HERE"
852: [08:30:40] <antmas> spronk YES
853: [08:30:42] <ss23> ss23 has no power in opensource
854: [08:30:47] <antmas> spronk now I can view your photos
855: [08:30:52] * antmas is not a stalker
856: [08:30:54] <spronk> gj
857: [08:30:57] <spronk> my photos are boring
858: [08:31:00] <simon_w> mudmonth, you have to get it past Hamish. He doesn't like people making his shit, overengineered code better :)
859: [08:31:04] <simon_w> *:(
860: [08:31:09] <antmas> spronk OMG
861: [08:31:17] <antmas> spronk I SWEAR I HAVE MET YOU BEFORE
862: [08:31:32] <mudmonth> but for production use we need to fuck symphony and solve config in a way that can become a github project on its own with a consistent API that we can manage at that level
863: [08:32:01] <spronk> hm
864: [08:32:09] <mudmonth> some dick that wants to use an executing config like php should be able to, the rest of us who care about security, can use something that makes sense to edit
865: [08:32:10] <spronk> we have no mutual friends on facebook..
866: [08:32:14] <simon_w> mudmonth, bonus points if you can make it so that getting the default values doesn't require token parsing
867: [08:32:18] <mudmonth> right now the situation is fucking no right for either party
868: [08:32:19] <antmas> spronk jk
869: [08:32:27] <antmas> spronk but you look very familiar
870: [08:32:36] <spronk> everyone looks familiar to me these days :p
871: [08:32:39] <antmas> spronk any time in nelson in recent years?
872: [08:32:47] <mudmonth> SPRONK I WAS MEANING TO ASK YOU
873: [08:32:47] <spronk> hmm
874: [08:32:54] <mudmonth> TECHNOLOGY: CLOUDFLARE, GO
875: [08:32:54] <spronk> a week a couple of years ago lol
876: [08:33:07] <antmas> spronk ever drink here?
877: [08:33:08] <spronk> mudmonth, what the fuck ssl intercept
878: [08:33:13] <spronk> nah
879: [08:33:15] * mudmonth rubs spronk
880: [08:33:20] <antmas> lame
881: [08:33:25] * antmas rubs mudmonth
882: [08:33:38] <antmas> ss23 so Sylosis
883: [08:33:40] * mudmonth figs up
884: [08:33:43] <spronk> but in all seriousness, cloudflare's ssl interception thing is kinda.... scary
885: [08:33:50] <mudmonth> spronk: yup
886: [08:33:52] * simon_w rubs CIA-57's tum... oh :(
887: [08:33:54] <antmas> ss23 that one song is killer, the rest... meh
888: [08:33:58] <mudmonth> so i asked about cloudflare today
889: [08:34:04] * nick__ quit (Ping timeout: 246 seconds)
890: [08:34:10] <mudmonth> and i quote "It'll be sweet tits" --ss23
891: [08:34:14] <antmas> ohhhh
892: [08:34:15] <mudmonth> so i dunno m8s
893: [08:34:20] <spronk> haha
894: [08:34:24] * antmas has a night time irc question
895: [08:34:25] <spronk> ss23 is on the payroll
896: [08:34:31] <simon_w> antmas, freak!
897: [08:34:43] <antmas> has anyone dealt with point of sale systems before?
898: [08:34:50] <simon_w> Yes
899: [08:34:50] <mudmonth> you know in england feb was called mud month
900: [08:34:52] <simon_w> I built one
901: [08:34:59] <mudmonth> and they don't even know where the word feb came from
902: [08:35:00] <ss23> antmas: Yeah, seems pretty much that way to me too. Not that the other songs are bad
903: [08:35:04] <mudmonth> i can't even spell it
904: [08:35:07] <mudmonth> so i'll call it feb
905: [08:35:10] <antmas> simon_w integrated with ss?
906: [08:35:15] <simon_w> antmas, nope
907: [08:35:19] <mudmonth> how is the second month in our year so poorly planned
908: [08:35:20] <ss23> 21:34:26 < spronk> ss23 is on the payroll
909: [08:35:24] <antmas> ss23 yeah smae thoughts here
910: [08:35:25] <ss23> Not for Cloudflare! :O
911: [08:35:27] <Pywtfk> [09:29] <@simon_w> Ooh, looks like I can rant out about Hamish in a more public setting :D
912: [08:35:28] <Pywtfk> eh?
913: [08:35:31] <antmas> simon_w what db was it?
914: [08:35:35] <simon_w> Pywtfk, mailing list
915: [08:35:42] <simon_w> antmas, was running on MySQL
916: [08:35:49] <mudmonth> simon pegg the guy from the british zombie movies is gonna tweet an app i made in 3 weeks
917: [08:35:49] <antmas> simon_w guts for me
918: [08:35:56] <mudmonth> and he has4.6 mill followers
919: [08:35:59] * spronk disappears into spronk2
920: [08:36:00] <ss23> mudmonth: nice
921: [08:36:00] <mudmonth> and i'm using cloudflare
922: [08:36:05] <mudmonth> and oping it'll be okay
923: [08:36:10] <ss23> mudmonth: Do some load testing/
924: [08:36:11] <Pywtfk> [09:29] <nick__> Hi there hoping some one may be able to help me out here.. overnight all my pages on my site have changed to https:// has any one heard of this ?
925: [08:36:13] <mudmonth> worst opsec ever
926: [08:36:13] <spronk> it'll be fine bro
927: [08:36:16] <Pywtfk> lol poor guy no one answered
928: [08:36:24] <ss23> mudmonth: Remember you can turn on the cloudflare "STATICALLY CACHE EVERYTHING" option for the day or something
929: [08:36:34] <antmas> simon_w ever dealth with other POS before?
930: [08:36:40] <simon_w> antmas, nope
931: [08:36:46] <mudmonth> last time i had this was stephen fry on zeelandia in wellington
932: [08:36:54] <mudmonth> but it just buggered itself to death
933: [08:37:02] <antmas> simon_w should I be worried about what db's my client might be using with ss integ?
934: [08:37:05] <mudmonth> before i knew about cloudflare tho
935: [08:37:22] <mudmonth> so simon_w was saying cloudlflare was shit before
936: [08:37:26] <mudmonth> and i need to know why
937: [08:37:32] <ss23> mudmonth: His reason was "it's slow"
938: [08:37:37] <mudmonth> yeah but
939: [08:37:42] <mudmonth> isn't the alterantaive
940: [08:37:42] <simon_w> mudmonth, all I said was it's slow
941: [08:37:48] <mudmonth> that net24/sitehost calls you
942: [08:37:49] <mudmonth> and goes
943: [08:37:50] <ss23> mudmonth: If you can handle the traffic already, aren't afraid of DDoS, have your own CDN or something, or you only have local customers, you don't need it
944: [08:37:51] <mudmonth> m88888888888888888
945: [08:37:53] <mudmonth> plz go home
946: [08:38:13] <wmk> well, i like yml config
947: [08:38:14] <antmas> simon_w as in, what is the worst db to integrate with when using ss?
948: [08:38:17] <mudmonth> well everything is on s3
949: [08:38:19] <wmk> much more clearer
950: [08:38:19] <ss23> Cloudflare has performance considerations is lal
951: [08:38:24] <wmk> once you understood how it works
952: [08:38:30] <ss23> Anyone want to see if beta.docs.silverstripe.org works for them?
953: [08:38:37] <mudmonth> nope
954: [08:38:38] <ss23> Gotta wait for bloody DNS to update here
955: [08:38:39] <simon_w> antmas, one without an existing connector ;) MSSQL is bad if you're not on Windows
956: [08:38:40] <mudmonth> it's a honey pot
957: [08:38:49] * NobrainerWeb has joined #silverstripe
958: [08:39:05] <simon_w> ss23, ISN'T LOADING
959: [08:39:15] <simon_w> STILL ISN'T
960: [08:39:18] <ss23> simon_w: Does it resolve for you?
961: [08:39:21] <antmas> simon_w so, so long as you have a connector, it's all syntax yeah?
962: [08:39:28] <simon_w> ss23, finally got the redirect
963: [08:39:28] * antmas asks the broad questions
964: [08:39:36] <antmas> ss23 yeah, slow
965: [08:39:39] <simon_w> antmas, yup
966: [08:39:40] <wmk> ss23, beta site is horrible slow but loading
967: [08:39:45] <ss23> Can't comment on speed, just want to make sure I got the DNS part right
968: [08:39:48] <wmk> over here in europe
969: [08:39:49] <antmas> simon_w chur dude
970: [08:39:53] <ss23> It's running on Heroku I guess... so no idea about speed stuff
971: [08:40:07] <wmk> np
972: [08:40:14] <ss23> Thanks guys anyway :D
973: [08:40:20] * ss23 tells people it's done
974: [08:40:22] <wmk> you're welcome
975: [08:40:23] <antmas> ss np
976: [08:40:46] * antmas queries why he downloaded mirc
977: [08:40:57] <mudmonth> :<
978: [08:41:03] <mudmonth> i thought you were cool
979: [08:41:10] <mudmonth> ss23 told me everyone here was fully sick
980: [08:41:11] <Pywtfk> [09:33] * simon_w rubs CIA-57's tum... oh :(
981: [08:41:12] <Pywtfk> yeh, ikr
982: [08:41:22] <Pywtfk> we need phergie
983: [08:41:33] <Pywtfk> you willing to simon.geek it simon_w ?
984: [08:41:33] <antmas> mudmonth don't question the cool on here. Only bad things.
985: [08:41:46] <simon_w> mudmonth, you can't trust anything ss23 tells you
986: [08:42:00] <ss23> mudmonth: STOP PUTTING FALSE WORDS IN MY MOUTH
987: [08:42:02] * ss23 glares
988: [08:42:04] <simon_w> Pywtfk, if the script for it isn't as shit as the last one
989: [08:42:23] <mudmonth> my preoccupations are with cross environment databinding and putting words in ss23's mouth
990: [08:42:28] <wmk> antmas, xchat!!!
991: [08:42:34] <ss23> I probably still have a copy of the first PHP I wrote, ss23bot
992: [08:44:26] <antmas> wmk I know, but I rareley irc at home
993: [08:44:36] <antmas> so got whatever came up in google first
994: [08:44:42] <wmk> ;)
995: [08:44:53] <wmk> there is also a free win version, xchat-wdk
996: [08:45:04] <antmas> ss23 the beta docs, what's the diff yo?
997: [08:45:09] <Pywtfk> [09:38] <@ss23> Anyone want to see if beta.docs.silverstripe.org works for them?
998: [08:45:10] <Pywtfk> workds
999: [08:45:12] <antmas> can a man get a changelof up in here>
1000: [08:45:13] <ss23> antmas: I have no idea at all
1001: [08:45:21] <ss23> I think there's a post on ss-dev about it
1002: [08:45:28] <simon_w> antmas, ask willr when he's next in
1003: [08:45:31] <simon_w> His work
1004: [08:45:33] * antmas should read more of this
1005: [08:45:56] <ss23> https://groups.google.com/forum/#!topic/silverstripe-dev/UuSYxoRqlFQ
1006: [08:46:18] <Pywtfk> simon_w: idk, phergie.org iirc
1007: [08:46:20] <wmk> anyone got javascript debugging running in phpstorm / IDEA ?
1008: [08:46:31] <wmk> in combination with a vagrant box
1009: [08:47:06] <antmas> spronk so...
1010: [08:47:15] <antmas> spronk you did .net?
1011: [08:47:35] <Pywtfk> simon_w: https://github.com/phergie/phergie/tree/master/Phergie
1012: [08:47:35] <ss23> antmas: Did you like Vektor?
1013: [08:48:21] <Pywtfk> wmk: alas, I don't phpstorm, I don't vagrant, I don't silverstripe :<
1014: [08:48:27] <antmas> ss23 what vektor are we talking?
1015: [08:48:34] <wmk> Pywtfk, so WHAT are you doing?
1016: [08:48:34] <Pywtfk> antmas: the one with the k
1017: [08:48:39] * Zopiclone quit (Read error: Connection reset by peer)
1018: [08:48:56] <Pywtfk> wmk: crud ignitter directly on dev/live machine.
1019: [08:49:07] <Pywtfk> :(
1020: [08:49:25] <simon_w> Pywtfk, oh, right. I should get around to relearning Go so I can work with ss-log_ again
1021: [08:49:26] <wmk> why don't i believe you...
1022: [08:49:32] <ss23> antmas: https://www.youtube.com/watch?v=6h9cSnsasyw
1023: [08:49:40] <ss23> antmas: The ones who can fucking play amazing music even while live
1024: [08:50:13] <ss23> antmas: (vocals are a bit... different... but uh... just ignore them and listen to the music)
1025: [08:50:14] <antmas> ss23 watching
1026: [08:51:50] <ss23> Coders liek to think they're good with their fingers, with their massive WPM counts.. but damn
1027: [08:53:58] <antmas> ss23 I like the thrash riffs, but the vocals ( I like the style) don't suit the live setting
1028: [08:53:59] <antmas> imo
1029: [08:54:19] <ss23> That was the first time I've heard them live
1030: [08:54:37] <ss23> antmas: this was off their album before that song - https://www.youtube.com/watch?v=FVFR7uKYA6A
1031: [08:54:50] <ss23> second best song of theirs, after that one, if you have a spare 13 minutes
1032: [08:55:23] * antmas doesn't mind long trakc
1033: [08:55:27] <antmas> tracks*
1034: [08:55:37] <ss23> No one with good taste in music does :D
1035: [08:55:53] <antmas> ss23 instantly way better not live :P
1036: [08:56:14] <antmas> those riffs...
1037: [08:56:18] <antmas> wholey fuck
1038: [08:56:19] <ss23> :D
1039: [08:56:34] <ss23> Not boring music, that's what I love about it most
1040: [08:56:36] * antmas adds this to spotify
1041: [08:58:34] <antmas> ss23 I like the screams (as in the 'my balls have dropped properly yet screams'
1042: [08:58:41] <ss23> XD
1043: [08:58:49] * antmas instantly regrets saying that
1044: [08:58:49] <ss23> They grew on me quickly enough too
1045: [08:59:09] <simon_w> Your balls?
1046: [08:59:25] <antmas> ss23 you're probably into stoner/thrash metal yeah?
1047: [08:59:25] <ss23> simon_w: I guess so, probably while I was still in the womb I guess
1048: [08:59:31] <ss23> antmas: Maybe...
1049: [08:59:41] <ss23> antmas: http://www.last.fm/user/ss2342 lists most of the music I listen to
1050: [08:59:43] <ss23> Almost all of it
1051: [08:59:52] <ss23> So if it's on there with more of a playcount of like 5, I probably like it :P
1052: [09:00:16] * mrzero has joined #silverstripe
1053: [09:00:25] <antmas> ss23 ah, chur, will listen
1054: [09:01:23] <antmas> ss23 give this a spin - I'm interested to know what you reckon given Vektor https://www.youtube.com/watch?v=ApA3Z5KfOPo
1055: [09:02:03] <simon_w> https://www.youtube.com/watch?v=i2Swmu7o5hU
1056: [09:02:25] * antmas looks at simon_w
1057: [09:02:29] * ss23 looks at simon_w
1058: [09:02:36] * antmas shales willy
1059: [09:02:36] <simon_w> WHAT DOES THE DRONE SAY
1060: [09:02:39] <antmas> NO
1061: [09:02:45] <ss23> shales willy?
1062: [09:02:46] <ss23> o.o
1063: [09:02:46] <antmas> shkes*
1064: [09:02:49] <antmas> :P
1065: [09:02:50] <ss23> shkes?
1066: [09:02:55] <antmas> idk
1067: [09:02:56] <simon_w> MARINE SAYS WHO WANTS SOME?
1068: [09:03:17] <antmas> so
1069: [09:03:21] <antmas> dumb question
1070: [09:03:36] <antmas> could I get a sweet flat in Welli for $410 a week?
1071: [09:03:41] * spronk2 has joined #silverstripe
1072: [09:03:46] <ss23> ujh
1073: [09:03:48] <ss23> antmas: 1bdrm?
1074: [09:03:59] <antmas> ss23 1 fucking brdrm?
1075: [09:04:02] <simon_w> antmas, could get 2/3 bedroom for that
1076: [09:04:03] <spronk2> bloo
1077: [09:04:12] <simon_w> Probably even 4
1078: [09:04:15] <ss23> I pay ~120 for 1 bedroom out of 2. Chick here pays $220 for 1.5 bedrooms
1079: [09:04:17] <antmas> I'd need a 2bdrm
1080: [09:04:40] <ss23> antmas: Really depends where you are of course
1081: [09:04:52] * Shrike_Finland quit (Quit: Leaving.)
1082: [09:04:58] <antmas> I can live with faimly in Otaki (free commute)
1083: [09:05:14] <antmas> but fuck living with family :|
1084: [09:05:40] * zippy has joined #silverstripe
1085: [09:05:44] * antmas rolls a somethin somethin
1086: [09:05:52] <zippy> O.o
1087: [09:05:53] <antmas> zippy :O
1088: [09:06:07] <antmas> zippy we never had that lunch date
1089: [09:06:18] <ss23> gaay~
1090: [09:06:19] <zippy> one day!
1091: [09:06:24] <antmas> ss23 XD
1092: [09:06:33] <ss23> antmas: so you're considering moving to Wellington then?!
1093: [09:06:47] <antmas> zippy I'm pretty much tied for Oct, Nov, but keen for a lunch Dec?
1094: [09:06:56] <zippy> yeap
1095: [09:07:06] <antmas> ss23 yeah I've had offers, but not keen for a year-ish
1096: [09:07:18] <ss23> cool man
1097: [09:07:27] <antmas> zippy noice
1098: [09:07:42] <antmas> zippy my shout... you know... rates and all ;)
1099: [09:07:56] <zippy> antmas: I would of invoiced the tdc anyway :P
1100: [09:08:01] <antmas> LOL
1101: [09:08:24] <ss23> why would you invoice the taranaki district council?
1102: [09:08:34] <simon_w> antmas, http://www.trademe.co.nz/Browse/CategoryAttributeSearchResults.aspx?search=1&cid=5748&sidebar=1&rptpath=350-5748-4233-&132=FLAT&selected135=47&134=15&135=47&216=0&216=0&217=0&217=0&153=&122=3&122=0&59=30000&59=40000&178=0&178=0&sidebarSearch_keypresses=0&sidebarSearch_suggested=0
1103: [09:08:35] <antmas> haha
1104: [09:08:45] <ss23> or the timaru district council for that matter!
1105: [09:08:49] <antmas> ss23 pay would be a tinny + benefits
1106: [09:08:57] <ss23> hahaha
1107: [09:09:04] <zippy> fuck wellington
1108: [09:09:06] <ss23> Is a tinny not a benifit already? :P
1109: [09:09:13] <antmas> lol
1110: [09:09:21] <zippy> UncleCheese: get ya camera?
1111: [09:09:28] <antmas> Xero has offered, but I don't know yet
1112: [09:09:36] <UncleCheese> no,.. haha. i'll tell you in a sec
1113: [09:10:09] <antmas> oh
1114: [09:10:15] <antmas> UncleCheese is online?
1115: [09:10:22] <Pywtfk> antmas: ss23 so I heard this good song the other day, growling and all this...
1116: [09:10:27] * antmas cracks open the good stuff
1117: [09:10:33] <Pywtfk> but the video had a pretty fit looking chick in it, and I was all confused.
1118: [09:10:56] <Pywtfk> then I looked it up. German metal vocalist, one of only a few that use growling as primary vocal style.
1119: [09:10:58] <antmas> ss23 what video was it from ss.org that you didn't like?
1120: [09:11:01] <Pywtfk> was all :O
1121: [09:11:05] <spronk2> xro
1122: [09:11:07] <spronk2> hit $15 today
1123: [09:11:13] <spronk2> falling apart.
1124: [09:11:17] <antmas> ikr
1125: [09:12:39] <zippy> mmmm maybe $10 buy in
1126: [09:13:30] <antmas> the only reason I don't say yes now, is the job security given the market crap
1127: [09:14:31] * antmas quit ()
1128: [09:14:48] * irgbit has joined #silverstripe
1129: [09:14:51] <Pywtfk> antmas you cunt
1130: [09:14:53] <Pywtfk> why quit
1131: [09:15:06] <zippy> mamp has a nginx module... interesting
1132: [09:15:11] * spronk2 set up a $14 buy limit today
1133: [09:15:16] <Pywtfk> ss23: http://en.wikipedia.org/wiki/Angela_Gossow - http://www.youtube.com/watch?v=InRMwptcgAo
1134: [09:15:18] <UncleCheese> MNMP
1135: [09:15:28] <ss23> Pywtfk: Dude, I know
1136: [09:15:34] <spronk2> market depth shows pleeenty of buyers $15-$15.5
1137: [09:15:35] <UncleCheese> MEMP?
1138: [09:15:39] <Pywtfk> yeh, but I didn't. was very :O
1139: [09:15:40] <ss23> Pywtfk: Badass chick
1140: [09:15:43] <Pywtfk> indeed!
1141: [09:15:47] <Pywtfk> and fit looking!
1142: [09:15:50] * antmas has joined #silverstripe
1143: [09:15:54] <ss23> She'd eat me alive
1144: [09:15:55] <antmas> ba
1145: [09:16:01] <ss23> antmas: Hey, woah
1146: [09:16:06] <spronk2> antmas: job sec should be fine?
1147: [09:16:08] <ss23> Don't say something like that around here. You know what we do to shepe in NZ?
1148: [09:16:13] <spronk2> or at least, ability ot pick up another position should be pretty high
1149: [09:16:22] <antmas> spronk2: yeah probably
1150: [09:16:28] <ss23> guis
1151: [09:16:33] <Pywtfk> clis
1152: [09:16:35] <spronk2> everyone in welly is looking for devs right?
1153: [09:16:36] <ss23> how do you know how big of a mortagete you can get?
1154: [09:16:40] <ss23> spronk2: fucking right man
1155: [09:16:44] <ss23> Though, only decent ones
1156: [09:16:47] <zippy> well... depends
1157: [09:16:48] <spronk2> ss23: your income * about 8
1158: [09:16:53] <ss23> spronk2: ty
1159: [09:17:02] <ss23> WOAH
1160: [09:17:05] <ss23> I CAN BUY AN EXPENSIVE HOUSE
1161: [09:17:05] <ss23> :O
1162: [09:17:08] * irgbit quit (Remote host closed the connection)
1163: [09:17:09] <Pywtfk> antmas: arch enemy fan?
1164: [09:17:16] <spronk2> protip: ss23 is a high roller
1165: [09:17:17] <Pywtfk> [10:15] <Pywtfk> ss23: http://en.wikipedia.org/wiki/Angela_Gossow - http://www.youtube.com/watch?v=InRMwptcgAo
1166: [09:17:18] <antmas> Pywtfk: for a couple of songs yeah
1167: [09:17:28] <spronk2> also, you’d need a 20% deposit to reach that
1168: [09:17:29] <ss23> antmas: Come on, Doomsday Machine is pretty good album
1169: [09:17:30] <Pywtfk> I was very :O
1170: [09:17:34] <ss23> spronk2: Hmm, I see
1171: [09:17:36] * ss23 alters his math
1172: [09:17:37] <Pywtfk> almost got more balls than me :<
1173: [09:17:38] <antmas> ss23: I know I know
1174: [09:17:40] <antmas> ;X
1175: [09:17:42] <spronk2> with a 10% dep you’re probably more likely to look at like… income * 6
1176: [09:17:53] <ss23> what about with 0% deposit?
1177: [09:17:59] <spronk2> maybe like
1178: [09:17:59] <spronk2> * 4
1179: [09:18:11] <ss23> WOAH WOAH WOAH, 20% deposit is a *lot*
1180: [09:18:12] <ss23> jesus
1181: [09:18:13] <spronk2> very very very rough guide
1182: [09:18:14] <antmas> Pywtfk: I'd like them more if less costumes
1183: [09:18:16] <UncleCheese> yeah, i don't get who these asshats are who walk into a bank with $120k cash
1184: [09:18:26] <ss23> Okay *4 seems like more than I'd expect
1185: [09:18:29] <ss23> uh
1186: [09:18:31] <zippy> ss23: bank person said to me they want the mortgage payment to be less than 40% of your weekly income less general expenses
1187: [09:18:31] <ss23> more like what I'd expect
1188: [09:18:40] <spronk2> ss23: https://www.westpac.co.nz/home-loans/calculators/how-much-can-i-afford/
1189: [09:18:43] <ss23> yep yep zippy, that seems about right
1190: [09:18:45] <antmas> Pywtfk: also she's trying too hard to be previous singer
1191: [09:18:45] <Pywtfk> antmas: haha, you old lecher
1192: [09:18:55] <antmas> Pywtfk: :P
1193: [09:20:18] <ss23> spronk2: depressing
1194: [09:20:18] <ss23> ;_;
1195: [09:20:23] <spronk2> lol?
1196: [09:20:26] <ss23> "NO DREAM HOME FOR YOU, YOU CANNOT AFFORD A MILLION DOLLARS"
1197: [09:20:27] <ss23> :(
1198: [09:20:31] <antmas> :P
1199: [09:20:50] <spronk2> lol
1200: [09:20:53] <spronk2> yeah
1201: [09:20:55] <spronk2> 20% deposit on that calc
1202: [09:21:02] * codetoday has joined #silverstripe
1203: [09:21:04] <spronk2> gets me about 7.5x my income as max loan
1204: [09:21:06] <spronk2> over 30y
1205: [09:21:10] <Pywtfk> I think it might plague of butterflies time
1206: [09:21:11] <antmas> Pywtfk: https://www.youtube.com/watch?v=EXPQR22UwO0
1207: [09:21:12] <UncleCheese> crazy
1208: [09:21:23] <spronk2> no fucking way would i borrow that much though
1209: [09:21:32] <UncleCheese> this country is so house crazy
1210: [09:21:38] <ss23> Hmm, so for a $350k house, I'd only need a deposit of $17.5k
1211: [09:21:40] <ss23> pretty goooooood
1212: [09:21:46] <spronk2> iiiff you can find a 350k house
1213: [09:21:51] <ss23> 'house'
1214: [09:21:52] <ss23> :P
1215: [09:21:56] <ss23> It'd be 1bdrm apartment
1216: [09:21:57] <Pywtfk> antmas: http://vimeo.com/14875835
1217: [09:22:01] <spronk2> for 350k
1218: [09:22:02] <spronk2> ouch
1219: [09:22:03] <UncleCheese> ss23 if you've contributed to kiwisaver for 5 years, you get big incentives
1220: [09:22:04] <codetoday> looping through Parent and Child classes, I have to have the option 'Show in menu' Available
1221: [09:22:08] <ss23> spronk2: A FUCKING BADASS ONE
1222: [09:22:11] <spronk2> yeahh
1223: [09:22:12] <ss23> UncleCheese: Oh yeah that's right
1224: [09:22:15] <spronk2> if national do the thing
1225: [09:22:17] <spronk2> with the stuff
1226: [09:22:20] <UncleCheese> they'll help you out n' shit
1227: [09:22:20] <spronk2> you’ll get like
1228: [09:22:21] <spronk2> 80k free
1229: [09:22:23] * antmas listens
1230: [09:22:25] <ss23> ohhh, nice
1231: [09:22:28] <Pywtfk> codetoday: you do?
1232: [09:22:29] <spronk2> but
1233: [09:22:31] <spronk2> so will everyone else
1234: [09:22:32] <spronk2> so
1235: [09:22:33] <Pywtfk> idk. what is your question.
1236: [09:22:35] <ss23> spronk2: I went on Trademe, and sorted most expensive apartments 1bdrm, and am like "ohh... that'd be a nice place to live"
1237: [09:22:35] <spronk2> prices will just go up by 80k
1238: [09:22:42] <ss23> spronk2: But investors don't get it, right?
1239: [09:22:46] <codetoday> now, I don't want it showing in the nav bar ... but it won't work if 'show in menu' isn't selected ... how do i work around this?
1240: [09:22:47] <spronk2> well yeah
1241: [09:22:47] <antmas> brb, smoke time
1242: [09:22:51] <spronk2> but still
1243: [09:22:57] <spronk2> man
1244: [09:22:59] <UncleCheese> zippy didn't get the camera, because the place closed at 5:30. I called from one block away at 5:28, and told them I was just coming around..
1245: [09:23:02] <spronk2> investors are just buying up property like hotcakes now
1246: [09:23:03] <ss23> Did you know: The average income you make on a house in Auckland is hihger than the average income of an Aucklander
1247: [09:23:04] <UncleCheese> and he said, no we close in two minutes
1248: [09:23:09] <spronk2> o_O
1249: [09:23:11] <spronk2> seriousyl?
1250: [09:23:12] <UncleCheese> and i said, ok, can you just say open for another three?
1251: [09:23:14] <UncleCheese> and he said, "no."
1252: [09:23:15] <Pywtfk> codetoday: I don't know what you're asking.
1253: [09:23:17] <ss23> (Meaning, you make more money from buying a house and doing nothing than the average person)
1254: [09:23:18] <spronk2> no way, ss23
1255: [09:23:21] <zippy> UncleCheese: dude
1256: [09:23:24] <UncleCheese> so, tomorrow is camera day
1257: [09:23:26] <UncleCheese> i was so pissed
1258: [09:23:30] <ss23> spronk2: I saw it on the twitter so it must be true
1259: [09:23:32] <spronk2> what’s average income in auckland?
1260: [09:23:33] <zippy> UncleCheese: if you had brought it on the interwebs the other day, it would of arrived today!!
1261: [09:23:34] <UncleCheese> i'm like,.. i'm trying to give you money asshole
1262: [09:23:36] <Pywtfk> "I don't want these in the menu, but if I unselect show in menus, then they don't show in the menu"
1263: [09:23:38] <UncleCheese> i know :(
1264: [09:23:40] <Pywtfk> idk, what even?
1265: [09:23:42] <ss23> spronk2: idk, probably low, under 40k I'd presume
1266: [09:23:46] <spronk2> hmm
1267: [09:23:48] <spronk2> i’d presume >50k
1268: [09:23:51] <ss23> hmmm
1269: [09:24:01] <ss23> Auckland has a lot of unemployed, poor, benificiearies, etc
1270: [09:24:03] <Pywtfk> zippy: would HAVE
1271: [09:24:05] <Pywtfk> FUCK
1272: [09:24:05] <UncleCheese> average income is a terrible metric, spronk2
1273: [09:24:12] <spronk2> yes
1274: [09:24:12] <spronk2> i know
1275: [09:24:16] <spronk2> wow
1276: [09:24:20] <spronk2> wellington average income is >80k
1277: [09:24:24] <zippy> Pywtfk: same difference
1278: [09:24:29] <Pywtfk> zippy: nope.
1279: [09:24:33] <Pywtfk> spronk2: :O
1280: [09:24:34] <zippy> close enough
1281: [09:24:35] <ss23> oh
1282: [09:24:40] <ss23> this article says 75k in Auckland
1283: [09:24:43] <Pywtfk> I want to wlg, missus wants back to CHC
1284: [09:24:45] <ss23> WAIT A SECOND
1285: [09:24:47] <spronk2> scheet
1286: [09:24:49] <spronk2> rly..
1287: [09:24:51] <UncleCheese> average income always lies because there's a bunch of dicks making $10M a year
1288: [09:24:55] <ss23> "according to data released today by Seek, New Zealand’s largest job source"
1289: [09:24:57] <Pywtfk> she _might_ haev job
1290: [09:24:58] <spronk2> Pywtfk: you could probably make 6fig in chch
1291: [09:24:59] <ss23> THAT IS NOT THE SAME THING AS REAL DATA
1292: [09:25:08] <ss23> spronk2: Fucking bullshit, look at where the data comes from :P
1293: [09:25:15] <spronk2> haha
1294: [09:25:17] <spronk2> yeah, seek..
1295: [09:25:40] * spronk2 should ask for a payrise
1296: [09:26:02] <zippy> antmas: I got some of that kenetic sand
1297: [09:26:04] <ss23> spronk2: Looking at this, http://www.stats.govt.nz/browse_for_stats/income-and-work/Income/NZIncomeSurvey_HOTPJun14qtr.aspx
1298: [09:26:08] <Pywtfk> spronk2: ha, fuck no.
1299: [09:26:17] <ss23> spronk2: For NZ in total, works out at $31k median income
1300: [09:26:22] <spronk2> Pywtfk: front end devs at nv interactive are on that
1301: [09:26:24] <spronk2> well
1302: [09:26:24] <Pywtfk> that's twice my earnings when I left
1303: [09:26:25] <spronk2> at least one
1304: [09:26:27] <ss23> spronk2: If the median is $31k for NZ, I doubt auckland would be >50k
1305: [09:26:32] <Pywtfk> spronk2: you fuck'n kidding me?
1306: [09:26:34] <spronk2> nope
1307: [09:26:40] <spronk2> thats high, but still
1308: [09:26:48] <spronk2> hairylemon apparently pay 75+
1309: [09:26:49] <Pywtfk> FRONT END 'devs'?
1310: [09:26:55] <spronk2> yeah like shit hot jsers
1311: [09:26:57] <ss23> DNA pays a fuck-ton for frontenders too
1312: [09:26:58] <Pywtfk> yeah but hairy lemon use that fuck'n J word
1313: [09:27:05] <Pywtfk> spronk2: oh, shit hot js'rs
1314: [09:27:10] <Pywtfk> idk about that
1315: [09:27:14] <spronk2> DNA must be pushing 100k for their devs
1316: [09:27:18] <ss23> mm
1317: [09:27:19] <Pywtfk> I can JS, but dunno about shit hot
1318: [09:27:34] <spronk2> yeah
1319: [09:27:43] <ss23> like willr when I first started "Wanna work for DNA?" "How much can you pay me?" "I don't know what you're on, but it's SilverStripe, so I can probably double it"
1320: [09:27:49] <Pywtfk> no one ever cares about the fellows doing the heavy lifting :<
1321: [09:27:52] <wmk> codetoday, afaik Children() only gets all child pages which have ShowInMenu enabled
1322: [09:28:01] <spronk2> o_O
1323: [09:28:06] <wmk> $AllChildren gets all published child pages
1324: [09:28:09] <spronk2> wow
1325: [09:28:11] <Pywtfk> wmk: codetoday OH IN PHP, yues
1326: [09:28:15] <Pywtfk> AllChildren, yes
1327: [09:28:22] <spronk2> some places pay ridiculously low amoutns
1328: [09:28:28] <UncleCheese> yeah, willr told me something similar
1329: [09:28:31] <spronk2> any decent dev should be able to get 80k
1330: [09:28:33] <UncleCheese> but ss has come a long way
1331: [09:28:46] <ss23> UncleCheese: what, in terms of avg wage? :P
1332: [09:28:49] <ss23> I'd still get more at DNA
1333: [09:28:54] <spronk2> so go work for dna
1334: [09:29:00] <spronk2> John’s a good guy, ss23
1335: [09:29:00] <antmas> zippy: any good? definitely getting some for xmas
1336: [09:29:04] <UncleCheese> you'd only have a 4 day week, too
1337: [09:29:05] <ss23> spronk2: I don't care enough about money
1338: [09:29:13] <spronk2> and
1339: [09:29:15] <zippy> antmas: daughter like sit, pretty trippy to play with
1340: [09:29:24] <ss23> zippy: whats this about a daugther?
1341: [09:29:29] <ss23> wait
1342: [09:29:30] <ss23> fuck
1343: [09:29:31] <codetoday> sorry for the bad explanation; In the CMS I am allowing the user to make their own "help sections", each "help section" is a new page (has the setting 'show in menu' ticked ) ... so it shows as a drop-down on the main div (which I do not want) ... I want it to generate the sections of HelpPage in the HelpHolder without displaying in the main menu
1344: [09:29:37] <ss23> everyone in here is too young to have hot daughters :/
1345: [09:29:41] <spronk2> haha
1346: [09:29:44] <zippy> ss23: way to young for you
1347: [09:29:53] <ss23> Meanwhile... some coworkers daughters...
1348: [09:29:55] <codetoday> main nav*
1349: [09:29:55] <spronk2> would any devs at ss be on under 60k?
1350: [09:30:08] <ss23> spronk2: lol yes.
1351: [09:30:10] <spronk2> hm
1352: [09:30:20] <spronk2> unless they’re first year out of uni, probably paying too little then
1353: [09:30:23] <ss23> spronk2: I believe the saying is "No one works at SilverStripe for the money"
1354: [09:30:34] <spronk2> lucrative govt contracts bro
1355: [09:30:41] <ss23> Yeah well...
1356: [09:30:46] <spronk2> demand more
1357: [09:30:52] <ss23> spronk2: I don't demand more though
1358: [09:30:54] <wmk> codetoday you can filter it out in Page.php
1359: [09:30:57] <ss23> If I wanted more money, I would demand more money
1360: [09:31:04] <spronk2> demand more anyway
1361: [09:31:07] <ss23> Really, I wouldn't quit if they didn't give me a payrise
1362: [09:31:14] <ss23> If I'm not willing to lose my job over a payrise, I don't think I'd btoher asking
1363: [09:31:22] <spronk2> lol
1364: [09:31:29] <spronk2> if you’re a decent developer atm
1365: [09:31:31] <spronk2> you hold most of the cards
1366: [09:31:44] <ss23> spronk2: When I want more money, I'll ask, but for now, I won't bother :P
1367: [09:31:45] <ss23> But, I will say
1368: [09:31:48] <Pywtfk> codetoday: then you want show in menus off, and manually loop AllChildren in the template to make the menu for the help section, specifically
1369: [09:31:52] <kinglozzer> ss23: They won't fire you for asking for a pay rise :P
1370: [09:31:54] <Pywtfk> I think
1371: [09:31:55] <ss23> For $100k I will work anywhere else, hand in my resignation today
1372: [09:31:57] <ss23> kinglozzer: I mean quit
1373: [09:32:11] <ss23> kinglozzer: When I ask for a payrise, it's not a "lets negotiate", it's a "Give me this or I will quit"
1374: [09:32:24] <spronk2> that’s a poor negotiation tactic
1375: [09:32:24] <kinglozzer> ss23: For $100k I'd do wordpress development 24/7
1376: [09:32:25] <spronk2> :P
1377: [09:32:31] <spronk2> ok
1378: [09:32:35] <ss23> spronk2: For sure, but it's not like I need to engotiate often
1379: [09:32:42] <ss23> spronk2: I mean, I'm a dev, no one hires me for negotation skills!
1380: [09:32:48] <spronk2> i’d be willing to bet that most of you could earn 100k by doing contract development
1381: [09:32:53] <ss23> spronk2: Fuck *that*
1382: [09:32:55] <spronk2> at maybe 50h/week
1383: [09:33:02] <ss23> kinglozzer: Me too, man
1384: [09:33:11] <ss23> Not for long, maybe like 2 years, then I'd quit, money in the bank
1385: [09:33:13] * antmas quit (Ping timeout: 246 seconds)
1386: [09:33:14] <kinglozzer> Heck I'd do it for $60k
1387: [09:33:14] <wmk> codetoday, filter it out in Page_Controller. overwrite getMenu()
1388: [09:33:32] <ss23> kinglozzer: wut srsly?
1389: [09:33:33] <ss23> fuck dat
1390: [09:33:41] <codetoday> okay, but what's the point if I'm doing it manually with 'show in menu' - off ?
1391: [09:33:48] <spronk2> 100k is only $39/hour at 50h weeks
1392: [09:33:51] <ss23> For less than $100k I'd leave my current job, but it'd have to be really good
1393: [09:33:54] <kinglozzer> Well, maybe not as a career choice
1394: [09:33:56] <wmk> codetoday, oh, you can of course switch it to off
1395: [09:34:06] <kinglozzer> But short-term maybe :P
1396: [09:34:06] <ss23> For $100k or more it could be shit and I'll still leave
1397: [09:34:07] <UncleCheese> yeah, i do contract work one day a week, and i double my income :)
1398: [09:34:14] <spronk2> mm
1399: [09:34:38] <wmk> in the pagetype you can also define private statics $defaults = array('ShowInMenus' => false);
1400: [09:34:39] <spronk2> it’s not too hard to get smaller jobs at 70 - 120/hour
1401: [09:35:01] <kinglozzer> Fucking hell I need to move to NZ :|
1402: [09:35:03] <kinglozzer> :P
1403: [09:35:31] <UncleCheese> if you do SS development, you'll do just fine as a contractor
1404: [09:35:36] <UncleCheese> harder to get a visa, though
1405: [09:35:56] <UncleCheese> if you have one of dem jobby jobs, it's a walk, though
1406: [09:38:43] <ss23> fuck
1407: [09:38:46] <ss23> been staying at work too late lately
1408: [09:40:10] * stephanvd has joined #silverstripe
1409: [09:40:12] <spronk2> yeah
1410: [09:40:15] <UncleCheese> I can't figure out how anyone could live in wellington on < $100k
1411: [09:40:16] <spronk2> given the hours you seem to do
1412: [09:40:17] <spronk2> you should earn more
1413: [09:40:38] <spronk2> UncleCheese: budget budget budget
1414: [09:40:39] <ss23> spronk2: Yeah well I don't know if you've noticed how much *work* I do... :P
1415: [09:40:41] <UncleCheese> you'd have to take an oath of poverty
1416: [09:40:42] <ss23> um
1417: [09:40:45] <ss23> I mean
1418: [09:40:52] <ss23> I'm on a lot less than 100k and I manage to save something like $400 a week
1419: [09:41:02] <ss23> (And you guys know how I eat...)
1420: [09:41:03] <spronk2> about a year ago i worked out how much i could save by not living large
1421: [09:41:06] <spronk2> not that i live large
1422: [09:41:07] <UncleCheese> fucking christ!
1423: [09:41:12] <spronk2> but e.g. cutting out all the takeaways
1424: [09:41:24] <spronk2> not buying gadgets
1425: [09:41:28] <ss23> Pretty much $200 for rent + power etc... then uh
1426: [09:41:30] <spronk2> cycling instead of car etc
1427: [09:41:30] <ss23> That's it I guess?
1428: [09:41:31] <zippy> UncleCheese: no kids... makes a difference eh
1429: [09:41:38] <UncleCheese> yeah
1430: [09:41:50] <spronk2> strict budget can net you like 10k+ a year in pocket
1431: [09:41:51] <UncleCheese> well not only are kids an expense, but all the furnishings and accessories
1432: [09:42:04] <ss23> I could push more like 20k a year easily if I budgeted
1433: [09:42:07] <UncleCheese> because you need to have a private home.. with space
1434: [09:42:19] <spronk2> UncleCheese: the last part is the most expensive i find
1435: [09:42:25] <spronk2> for young kids anyway
1436: [09:42:29] <ss23> oooooor I could get a $10k payrise and push $20k while not budgeting. I think I'll do that :D
1437: [09:42:32] <spronk2> toys, clothes, food all pretty cheap
1438: [09:42:32] <UncleCheese> yeah, it's crazy
1439: [09:42:45] <spronk2> unless you’re crazy and go and buy new everything
1440: [09:42:55] <UncleCheese> things that you never really think are a big deal when you're raising kids in the usa
1441: [09:42:58] <spronk2> ooooor ss23 you could do both and push 30k
1442: [09:43:08] <ss23> spronk2: ... not eating takeaways...?
1443: [09:43:09] <ss23> Eh...
1444: [09:43:10] <ss23> No thanks
1445: [09:43:10] <spronk2> UncleCheese: some of the housing in the USA is so insane
1446: [09:43:11] <ss23> ^.^
1447: [09:43:11] <UncleCheese> wow, this place has a 5sqm yard!
1448: [09:43:22] <UncleCheese> let's get on the list of 50 other people who want it!
1449: [09:43:29] <spronk2> on my salary i could live in what i would almost consider a mansion in some parts of the USA
1450: [09:43:34] <UncleCheese> and will pay twice what it's worth
1451: [09:43:46] <ss23> UncleCheese: Things are worth whatever people pay for them
1452: [09:43:47] <ss23> ;)
1453: [09:43:54] <ss23> Thats why your mother is so cheap
1454: [09:43:55] <ss23> OHHHHHHHHHHHHHHH
1455: [09:43:57] <ss23> HEYOOOOOOOOOOOOOOOOOO
1456: [09:44:04] <spronk2> wow
1457: [09:44:05] <spronk2> that was ..
1458: [09:44:06] <spronk2> wow
1459: [09:44:11] <ss23> oh god, too far?
1460: [09:44:19] <spronk2> juuust a bit
1461: [09:44:21] <ss23> :(
1462: [09:44:25] <ss23> I'm sorry UncleCheese
1463: [09:44:34] <spronk2> thats right bitch
1464: [09:44:35] <spronk2> apologise
1465: [09:44:36] <UncleCheese> i think the problem is that people are paying a premium for futures
1466: [09:44:36] <ss23> ;_;
1467: [09:44:41] <wmk> ss23, you know his mother?
1468: [09:44:43] <ss23> spronk2: I'LL KICK YOU
1469: [09:44:44] <UncleCheese> and that has nothing to do with intrinsic value
1470: [09:44:44] <spronk2> hmm, elaborate, UncleCheese ?
1471: [09:44:57] <UncleCheese> well, $350k for a piece of shit
1472: [09:45:09] <wmk> UncleCheese, i bet ppl want to give out their money, so homes are getting more and more expensive
1473: [09:45:12] <wmk> same here
1474: [09:45:16] <spronk2> hmm
1475: [09:45:17] <spronk2> yeah
1476: [09:45:19] <UncleCheese> i don't care so much that it's a piece of shit, because i know it will be worth $400 in three years
1477: [09:45:21] <wmk> even old houses are way too expensive
1478: [09:45:37] <spronk2> we paid 410k for a 110m2 1960 weatherboard place in reasonable, but dated condition
1479: [09:45:42] <spronk2> 470m2 of section
1480: [09:45:47] <ss23> Why not become a property developer, get rich, use the funds to build massive apartments for cheap/
1481: [09:45:47] <zippy> new xcode command tools upgraded git, some colors changed... freak me out
1482: [09:45:48] <UncleCheese> it's fucked up
1483: [09:45:55] <ss23> lol zippy XD
1484: [09:46:01] <spronk2> in a decent area though
1485: [09:46:02] <spronk2> but still
1486: [09:46:03] <UncleCheese> because they're not making any more land
1487: [09:46:05] <spronk2> i thought that was quite a lot
1488: [09:46:15] <ss23> UncleCheese: Buy less dense buildings, put dense thingies on it
1489: [09:46:16] <spronk2> esp when we set out in the 300-350 range and couldn’t find a fucking thing
1490: [09:46:17] <UncleCheese> * unless there's another massive earthquake
1491: [09:46:20] <ss23> UncleCheese: There's always UP
1492: [09:46:31] <spronk2> ss23: welcome to ZONING RESTRICTIONS
1493: [09:46:36] <ss23> Man, a big earthquake in Wellington would be the perfect time to buy a house...
1494: [09:46:41] <spronk2> yes
1495: [09:46:43] <spronk2> definitely
1496: [09:46:44] <zippy> UncleCheese: yeap, that is where the basin reserve came from
1497: [09:46:45] <spronk2> look at chch
1498: [09:46:48] <UncleCheese> yeah, something i always wonder..
1499: [09:46:49] <ss23> Okay, so if there's a big eq here, enough to fuck with property market, I guess I should buy a house :D
1500: [09:46:52] <zippy> ss23: why? Look at chch... house prices didn't go down
1501: [09:46:52] <spronk2> pre earthquake —> post earthquake = 100% price rise in smoe cases
1502: [09:46:53] <UncleCheese> say you own waterfront property
1503: [09:46:59] <UncleCheese> and an earthquake takes it out
1504: [09:47:00] <spronk2> zippy: yes they did
1505: [09:47:01] <ss23> oh what?
1506: [09:47:02] <UncleCheese> ... and
1507: [09:47:08] <UncleCheese> on top of that, new land gets pushed up
1508: [09:47:08] <spronk2> they most certainly did
1509: [09:47:16] <spronk2> but more to the point
1510: [09:47:24] <zippy> spronk2: I said they didn't go down... they went UP
1511: [09:47:25] <spronk2> they rose insanely quick when people started needing homes for rebuild purposes
1512: [09:47:29] * tscole quit (Quit: tscole)
1513: [09:47:29] <ss23> UncleCheese: Sucks to be you, I guess? Insurance covers the costs/value, but doesn't protect against future thingies
1514: [09:47:31] <UncleCheese> so now, now only did you lose your house, but now the land value goes way down because there's all kinds of new undeveloped waterfront property!
1515: [09:47:36] <spronk2> they did go down a bit after earthquakes
1516: [09:47:36] <UncleCheese> it's the double dickintheass!
1517: [09:47:50] <ss23> UncleCheese: Such is life
1518: [09:47:54] <spronk2> hm
1519: [09:47:58] <spronk2> is wellington likely to sink into the sea
1520: [09:47:59] <spronk2> or
1521: [09:48:02] <UncleCheese> i think ti's a really cool kind of freakanomics thing
1522: [09:48:02] <spronk2> have new land pushed up?
1523: [09:48:03] <spronk2> :P
1524: [09:48:12] <UncleCheese> yeah, lampton quay
1525: [09:48:27] <spronk2> http://www.trademe.co.nz/779888315
1526: [09:48:33] <spronk2> this is what you get for, probably $410-420k in chch
1527: [09:48:39] <simon_w> spronk2, all previous quakes have pushed up land
1528: [09:48:54] <spronk2> its in a vaguely ok area, probably average
1529: [09:49:01] <UncleCheese> crazy
1530: [09:49:03] <UncleCheese> 400k
1531: [09:49:06] <UncleCheese> 400k!!!!!
1532: [09:49:17] <spronk2> pretty similar to /me ’s house actually
1533: [09:49:37] <UncleCheese> My roomates and I in uni wouldn't have rented that place
1534: [09:49:48] <simon_w> http://www.allhomes.com.au/ah/act/sale-residential/20-1-9-totterdell-street-belconnen-canberra/1316923082611
1535: [09:49:55] <spronk2> as a rental that would be decent standard for NZ
1536: [09:50:03] <ss23> Meanwhile, Hamilton prices...
1537: [09:50:04] <simon_w> That's in our block. Not worth that much, which is why it's been on the market for so long
1538: [09:50:05] <ss23> :D
1539: [09:50:09] <spronk2> and probably get $500/week
1540: [09:50:13] <spronk2> or close to, anyway
1541: [09:50:21] <simon_w> Canberra's developers are all about the new land at the moment
1542: [09:50:38] <spronk2> that place
1543: [09:50:38] <spronk2> would be
1544: [09:50:39] <spronk2> FULL
1545: [09:50:40] <spronk2> of asbestor.s
1546: [09:51:16] <spronk2> UncleCheese: http://www.trademe.co.nz/793471635
1547: [09:51:21] <spronk2> $450k asking
1548: [09:51:25] <spronk2> i find that insane.
1549: [09:51:44] <spronk2> i mean, it’s been sort of renovated
1550: [09:51:48] <spronk2> and the section isn’t tiny
1551: [09:51:52] <UncleCheese> especially considering you'll have to put $50k into ripping out all that crap
1552: [09:51:53] <ss23> Just go live in Hamilton
1553: [09:51:56] <ss23> It'll be cheap as fuck
1554: [09:52:03] <UncleCheese> fucking carpet.. seriously, people
1555: [09:52:05] * cupcake has joined #silverstripe
1556: [09:52:06] <simon_w> http://iview.abc.net.au/channel/abc4kids
1557: [09:52:10] <spronk2> yeah...
1558: [09:52:12] <simon_w> Aww yeah, zero-rated kids tv
1559: [09:52:14] <spronk2> that’s a very ugly chocolate brown
1560: [09:52:23] <spronk2> our place has this hideous mid-grey carpet
1561: [09:52:30] <UncleCheese> "you know what this place needs? 15mm carpet.. covered with stains from the 70s"
1562: [09:52:30] <spronk2> it doesn’t go with ANYTHING
1563: [09:53:21] <UncleCheese> i dunno, i just don't get it
1564: [09:53:25] <UncleCheese> NZ just like.. doesn't do housing
1565: [09:53:32] <UncleCheese> it's like a religious tenant or something
1566: [09:53:51] <spronk2> we have too many amateur property investors
1567: [09:53:56] <spronk2> and no market controls
1568: [09:53:57] <cupcake> Hi all
1569: [09:54:04] <UncleCheese> i mean, it's like the old seinfeld bit.. the chinese are sticking to the chopsticks.. why? they've seen the fork
1570: [09:54:08] <cupcake> i have a problem with Injector in yaml config files
1571: [09:54:16] <cupcake> can anyone help?
1572: [09:54:27] <UncleCheese> it's like. surely enough kiwis have gone abroad and seen what has happened to housing in the last 100 years
1573: [09:54:29] <spronk2> what’s the problem, cupcake ?
1574: [09:54:40] <spronk2> UncleCheese: yeah, apartments.
1575: [09:54:57] <cupcake> spronk2: i have a controller which im trying to redirect to another controller
1576: [09:55:04] <cupcake> but its still taaking the original controller
1577: [09:55:09] <spronk2> paste your code
1578: [09:55:41] <cupcake> http://www.sspaste.com/paste/show/5446285d1a5ac
1579: [09:56:07] <spronk2> who the fuck paints their house BLUE :|
1580: [09:56:10] <spronk2> http://www.trademe.co.nz/791282551
1581: [09:56:30] <UncleCheese> cupcake are you using the comments module or something?
1582: [09:57:22] <wmk> cupcake, use 2 spaces
1583: [09:57:36] <wmk> in line 3 i only see 3 spaces, i guess you'll need 4 spaces for proper intendation
1584: [09:57:40] <spronk2> yeah
1585: [09:58:36] <wmk> afaik yml is very keen about proper indentation
1586: [09:59:11] <cupcake> yes i am
1587: [09:59:31] <cupcake> @unclecheese
1588: [10:00:02] <zippy> latest season of trailer park boys... wasnt too bad
1589: [10:00:05] <UncleCheese> wmk is right, you have a spacing issue
1590: [10:00:23] <wmk> UncleCheese, we also don't have enough space in our flat *G*
1591: [10:00:38] <UncleCheese> we started looking at places again
1592: [10:00:40] <wmk> with little children you can't have enough of it
1593: [10:00:42] <UncleCheese> it's so depressing
1594: [10:01:29] <UncleCheese> i spend so much time disparaging our old house in the US because it was just a basic starter home, but now i think about what my son could have done with all that space
1595: [10:01:58] <ss23> UncleCheese: Can't imagine housing in NYC would be great for kids, all things considered :P
1596: [10:02:01] <UncleCheese> i guess you just have to get out more here
1597: [10:02:08] <UncleCheese> oh, it's amazing for kids
1598: [10:02:13] <ss23> really? :(
1599: [10:02:13] <ss23> damn
1600: [10:02:17] <spronk2> in NYC?
1601: [10:02:19] <UncleCheese> hell yeah
1602: [10:02:26] <ss23> But can't....
1603: [10:02:28] <cupcake> still using that controller... where does that code need to be placed?
1604: [10:02:30] <spronk2> …. because of all the community spaces?
1605: [10:02:31] <ss23> CAN'T THEIR ENTIRE LIFE CHANGE IN A NEW YORK MINUTE?!
1606: [10:02:39] <cupcake> int my custom sitecomments module config file
1607: [10:02:46] <cupcake> or in the site config yml file?
1608: [10:02:52] <UncleCheese> the experience of getting out and using public transit and being a part of a community is wonderful for kids
1609: [10:02:56] <spronk2> yeah
1610: [10:03:02] <spronk2> i hate my house
1611: [10:03:03] <spronk2> :(
1612: [10:03:04] <ss23> toddlers though?
1613: [10:03:13] <UncleCheese> in most countries, kids are held prisoner until they turn 15
1614: [10:03:16] <UncleCheese> 16
1615: [10:03:20] <UncleCheese> or whatever the driving age is
1616: [10:03:29] <spronk2> tbh we pretty much spend most of our time at home, or at the park
1617: [10:03:30] <spronk2> :p
1618: [10:03:33] <UncleCheese> i dunno, it definitely takes a certain kind of parent
1619: [10:03:42] <UncleCheese> it's not for me
1620: [10:04:05] <UncleCheese> but you can't imagine a place richer in opportunities for kids
1621: [10:04:24] <spronk2> omg
1622: [10:04:24] <spronk2> http://images.trademe.co.nz/photoserver/full/337945651.jpg
1623: [10:04:25] <UncleCheese> it's just not in the typical sense of like.. having a big yard and playing ball
1624: [10:04:25] <spronk2> that would be
1625: [10:04:29] <ss23> UncleCheese: Tokyo?
1626: [10:04:29] <spronk2> THE MOST ANNOYING PLACE TO LIVE EVER
1627: [10:04:34] <spronk2> that height difference would drive me MENTAL
1628: [10:04:36] <UncleCheese> i can't look
1629: [10:04:43] <cupcake> hello ?
1630: [10:04:45] <UncleCheese> actually, now i can'tstop looking
1631: [10:04:49] <UncleCheese> it's like a car wreck
1632: [10:04:54] <spronk2> #ocdextrmee
1633: [10:05:06] <UncleCheese> cupcake you have a spacing issue on line 3
1634: [10:05:14] <cupcake> i already solved it
1635: [10:05:19] <UncleCheese> oh good
1636: [10:05:23] <cupcake> i mean
1637: [10:05:26] <cupcake> its not solved
1638: [10:05:29] <cupcake> i added the space
1639: [10:05:31] <cupcake> but still
1640: [10:05:39] <spronk2> it shouldn’t matter where it’s put iirc
1641: [10:05:57] <cupcake> i asked a question in the midst of the discussion :)
1642: [10:06:13] <cupcake> [12:02] <cupcake> int my custom sitecomments module config file [12:02] <cupcake> or in the site config yml file?
1643: [10:06:17] * Shrike_Finland has joined #silverstripe
1644: [10:07:23] <UncleCheese> and i assume you flushed.. any changes to the yaml require flushing
1645: [10:07:30] <cupcake> i dev build
1646: [10:07:32] <cupcake> i flushed
1647: [10:07:32] <spronk2> ss23: come to chch and buy a spaceship: http://www.trademe.co.nz/791253031
1648: [10:07:34] <cupcake> but nothing
1649: [10:08:35] * guci0 has joined #silverstripe
1650: [10:08:38] <guci0> Morning!
1651: [10:08:42] <cupcake> any ideas?
1652: [10:08:59] <spronk2> where is the file located currently, cupcake ?
1653: [10:09:05] <cupcake> which file?
1654: [10:09:08] <spronk2> your yml
1655: [10:09:12] <ss23> Uh, pass spronk2 :O
1656: [10:09:18] <ss23> Anyway, I'ma head off home now. bbl
1657: [10:09:22] <spronk2> bai
1658: [10:09:29] <UncleCheese> cupcake what does Injector::create()->("CommentingController"); return?
1659: [10:09:32] <cupcake> site/code/_config/_config.yml
1660: [10:09:40] <UncleCheese> cupcake nope
1661: [10:09:53] <UncleCheese> site/_config/config.yml
1662: [10:09:58] <cupcake> yes that
1663: [10:10:09] <UncleCheese> it can't be in the code/ directory
1664: [10:10:10] <cupcake> and the module is in the root
1665: [10:10:11] * travis-ci has joined #silverstripe
1666: [10:10:11] <travis-ci> JayDevlin/silverstripe-framework#3 (3565-upload-versioning - f52811a : Devlin): The build passed.
1667: [10:10:11] <travis-ci> Change view : https://github.com/JayDevlin/silverstripe-framework/compare/cd4ebb25ca59^...f52811aeceee
1668: [10:10:11] <travis-ci> Build details : http://travis-ci.org/JayDevlin/silverstripe-framework/builds/38587389
1669: [10:10:11] * travis-ci has left #silverstripe
1670: [10:10:15] <spronk2> so
1671: [10:10:17] <spronk2> it’s config.yml
1672: [10:10:26] <spronk2> in /config/ ?
1673: [10:10:29] <spronk2> err
1674: [10:10:35] <spronk2> _
1675: [10:10:54] <cupcake> UncleCheese then where shall i put it?
1676: [10:11:03] <cupcake> is it cause the module is in the root ?
1677: [10:11:10] <spronk2> what do you mean the module is in the root?
1678: [10:11:15] <UncleCheese> your_module/_config/whatever.yml
1679: [10:11:57] * NobrainerWeb quit (Quit: NobrainerWeb)
1680: [10:11:57] <cupcake> spronk2 comments folder is in root folder - my project folder
1681: [10:12:05] <spronk2> right
1682: [10:12:08] <cupcake> my custom module is under
1683: [10:12:12] <cupcake> site/code/sitecomments
1684: [10:12:20] <spronk2> oh?
1685: [10:12:56] <cupcake> http://www.sspaste.com/paste/show/54462c66f36c8
1686: [10:13:09] * wmk quit (Ping timeout: 260 seconds)
1687: [10:13:18] <spronk2> and
1688: [10:13:23] <spronk2> where is that file?
1689: [10:13:50] <spronk2> it sounds like you might need to move /code/sitecomments into /
1690: [10:13:55] <spronk2> if it’s a module
1691: [10:13:57] <cupcake> that is the content of myproject/site/code/sitecommments/_config/config.yml
1692: [10:14:03] <spronk2> yeah
1693: [10:14:06] <cupcake> is it _config.yml or config.yml
1694: [10:14:08] <spronk2> i don’t think the config system will look for that config there
1695: [10:14:17] <spronk2> if it’s in _config folder it’s just config.yml
1696: [10:14:35] <UncleCheese> no, config files can be named arbitrarily
1697: [10:14:46] <UncleCheese> but the _config folder must be in the module root, not in code/
1698: [10:15:01] <spronk2> ^^ hence it sounds like he needs to move the folder
1699: [10:15:16] <UncleCheese> yeah, i'm not sure what /site/code/ is in his example
1700: [10:15:19] <cupcake> can i create a generic config then?
1701: [10:15:30] <cupcake> *config folder?
1702: [10:15:34] <UncleCheese> cupcake i usually have an injector.yml file for all my injection
1703: [10:15:42] <UncleCheese> helps keep things clean
1704: [10:15:47] <UncleCheese> extensions.yml
1705: [10:15:49] <cupcake> aa and where do u put it?
1706: [10:16:03] <cupcake> _config in root?
1707: [10:16:06] <UncleCheese> in a _config/ directory in a module root
1708: [10:16:21] <cupcake> ok let me try
1709: [10:16:21] <UncleCheese> some_module/_config/something.yml
1710: [10:16:39] <UncleCheese> e.g. mysite/_config/config.yml
1711: [10:17:30] <cupcake> can i have
1712: [10:17:33] <cupcake> a _config folder
1713: [10:17:35] <cupcake> in the root?
1714: [10:17:39] <UncleCheese> the webroot?
1715: [10:17:40] <UncleCheese> no
1716: [10:17:51] <cupcake> then i need to put sitecomments in the root
1717: [10:17:57] <UncleCheese> only modules, framework, and assets in the root
1718: [10:18:13] <UncleCheese> sitecomments is a module?
1719: [10:18:34] <cupcake> it has classes which extend the comments module which is a third party
1720: [10:18:44] <cupcake> im trying to put my customizations over it
1721: [10:18:46] <UncleCheese> it's one that you authored? it's not a dependency
1722: [10:18:47] <Pywtfk> omg payrises
1723: [10:19:04] <Pywtfk> I wanted to come to UK and earn more and then double it when I go back. But turns out I earn about the same :<
1724: [10:19:04] <cupcake> no comments module i downloded
1725: [10:19:11] <Pywtfk> but, less outgoings... until I go on a trip :/
1726: [10:19:18] <cupcake> then sitecomments
1727: [10:19:20] <UncleCheese> oh, well you shouldn't be making any changes to module code that you downloaded
1728: [10:19:26] <cupcake> extends some classes from comments module
1729: [10:19:28] <UncleCheese> oh ok so sitecomments/ is yours
1730: [10:19:31] <spronk2> Pywtfk: just come back to chch
1731: [10:19:32] <cupcake> im not making any
1732: [10:19:36] <spronk2> and work for someone who isn’t cheap
1733: [10:19:40] <cupcake> that is why i have sitecomments
1734: [10:19:41] <cupcake> :)
1735: [10:19:44] <UncleCheese> gotcha
1736: [10:20:04] <Pywtfk> spronk2: plato not cheap, the income was average (and certainly not shit).
1737: [10:20:04] <UncleCheese> so create sitecomments/_config/config.yml
1738: [10:20:12] <Pywtfk> I had lots of outgoings though (debts and stuff)
1739: [10:20:16] <Pywtfk> too, which didn't help.
1740: [10:20:22] <spronk2> average for ss work and stuff should be at least 65-70
1741: [10:20:33] <Pywtfk> plus shit like other house income being student scholarship
1742: [10:20:35] <Pywtfk> which not
1743: [10:20:38] <spronk2> mm
1744: [10:20:44] <Pywtfk> spronk2: which is only a little bit more than what I got a plato.
1745: [10:20:52] <spronk2> fair enough then
1746: [10:21:01] <Pywtfk> the drawcard for me to ss was change of job & scenery
1747: [10:21:11] <Pywtfk> but it never happened
1748: [10:21:12] <spronk2> to ss?
1749: [10:21:14] <spronk2> as in
1750: [10:21:15] <spronk2> ss ltd?
1751: [10:21:17] <Pywtfk> yup
1752: [10:21:20] <spronk2> ah
1753: [10:21:29] <cupcake> spronk2 65-70 ? what per hour?
1754: [10:21:34] <Pywtfk> wanted bigger projects
1755: [10:21:35] <spronk2> k pa
1756: [10:21:37] <Pywtfk> etc
1757: [10:21:39] <spronk2> yeah
1758: [10:21:45] <UncleCheese> NZD?
1759: [10:21:46] <spronk2> bigger projects = one of the biggest experience wins you can get
1760: [10:21:50] <spronk2> mm
1761: [10:21:54] <Pywtfk> cupcake: no, ~25 per hour
1762: [10:21:55] <UncleCheese> $90+
1763: [10:22:05] <spronk2> UncleCheese: in chch, for an ad agency
1764: [10:22:12] <spronk2> for brochureware plus a bit
1765: [10:22:13] <cupcake> really?
1766: [10:22:19] <cupcake> we are underpaid then haha
1767: [10:22:22] <UncleCheese> NZD $65 is chicken shit
1768: [10:22:26] * codetoday quit (Quit: Leaving...)
1769: [10:22:34] <UncleCheese> you gotta pay GST on top of that and whatever else
1770: [10:22:36] <zippy> god damn! honey sammies on fresh bread is the shit
1771: [10:22:37] <Pywtfk> yeh UncleCheese, spronk2 lives the dream
1772: [10:22:46] <spronk2> eh?
1773: [10:22:47] <Pywtfk> UncleCheese: no, you don't pay GST on wage
1774: [10:22:49] <spronk2> for salary, UncleCheese
1775: [10:22:56] <Pywtfk> or salary
1776: [10:22:57] <UncleCheese> you don't?
1777: [10:22:58] <Pywtfk> you pay income tax.
1778: [10:23:07] <spronk2> which on 65k is probably like.. 25%?
1779: [10:23:07] <UncleCheese> if you're selling to NZ clients you have to pay GST
1780: [10:23:10] <Pywtfk> UncleCheese: no, the clue is in the name. Goods and Services Tax
1781: [10:23:14] <UncleCheese> oh, 65k per year?
1782: [10:23:25] <zippy> Pywtfk: you worked at Plato in chch?
1783: [10:23:30] <UncleCheese> i thought you were talking about a freelance rate of $65/hour
1784: [10:23:32] <spronk2> ya i was saying avg salary for a dev doing ss work in chch should be 65-70k/year
1785: [10:23:38] <spronk2> minimum
1786: [10:23:42] <UncleCheese> oh wow
1787: [10:23:46] <Pywtfk> GST is the 15% you pay for buying stuff from a shop, or getting a painter over to do your lounge, etc.
1788: [10:23:47] <cupcake> where in london?
1789: [10:23:51] <UncleCheese> i hope the cost of living is lower than WGT :)
1790: [10:23:51] <Pywtfk> zippy: yes.
1791: [10:23:52] <cupcake> spronk2
1792: [10:24:02] <cupcake> chch ?
1793: [10:24:03] <Pywtfk> until about a year ago.
1794: [10:24:09] <spronk2> UncleCheese: right now probably not :(
1795: [10:24:18] <spronk2> cupcake: christchurch nz
1796: [10:24:43] <zippy> Pywtfk: friend used to work there, whats your first name?
1797: [10:24:48] <Pywtfk> [11:22] <UncleCheese> NZD $65 is chicken shit
1798: [10:24:57] <spronk2> when i was considering a movie to welly back in 2010 it was about 5k-7k more expensive to live in welly than chch
1799: [10:25:01] <Pywtfk> no, we're talking $65000, per year.
1800: [10:25:09] <Pywtfk> zippy: doing what?
1801: [10:25:15] <Pywtfk> talking about Scotty?
1802: [10:25:17] <spronk2> that’s probably down to 1-2k now
1803: [10:25:20] <UncleCheese> still sounds awfully low
1804: [10:25:24] <zippy> Pywtfk: Shayne
1805: [10:25:27] <Pywtfk> oh.
1806: [10:25:31] <Pywtfk> No I replaced him.
1807: [10:25:34] <zippy> ah
1808: [10:25:36] <Pywtfk> ps, your friend is a cunt.
1809: [10:25:42] <zippy> oh?
1810: [10:25:46] <spronk2> UncleCheese: i’d say most devs doing SS in nz are on under 100k
1811: [10:25:49] <Pywtfk> yeah.
1812: [10:25:50] <cupcake> spronk2 nice amount but too far away hehe
1813: [10:25:59] <cupcake> UncleCheese
1814: [10:26:09] <cupcake> UncleCheese still got the problem :(
1815: [10:26:41] <zippy> Pywtfk: seems like a good guy to me
1816: [10:26:47] <Pywtfk> zippy: he's not.
1817: [10:26:48] <UncleCheese> yeah, seniors are probably just around $100k i'd say
1818: [10:26:56] <spronk2> mm
1819: [10:27:02] <UncleCheese> cupcake how do you have it set up?
1820: [10:27:10] <spronk2> i’d expect consultant / contractors doing full time SS to be on maybe 150k
1821: [10:27:16] <cupcake> now the sitecomments folder is in the root
1822: [10:27:20] <zippy> Pywtfk: feels like we are talking about laravel :)
1823: [10:27:24] <cupcake> in the same folder as the comments module
1824: [10:27:30] <UncleCheese> ok
1825: [10:27:30] <cupcake> config file is
1826: [10:27:40] <cupcake> sitecomments/_config/config.yml
1827: [10:27:46] <Pywtfk> Libel, slander, smear campaigns, EXTORTION, etc.
1828: [10:27:46] <UncleCheese> ah, there you go
1829: [10:27:54] <UncleCheese> run a ?flush and it will regenerate the config
1830: [10:28:01] <Pywtfk> Oh, and a clueless as fuck developer.
1831: [10:28:07] <spronk2> damn
1832: [10:28:08] <spronk2> :S
1833: [10:28:14] <cupcake> i did but still going to the function in the CommentingController and not in the SiteCommentsController
1834: [10:28:16] * r_hector quit (Quit: Leaving.)
1835: [10:28:23] <UncleCheese> then var_dump(Injector::inst()->create("CommentingController")->class);
1836: [10:28:33] <cupcake> where do i place that?#]
1837: [10:28:39] <UncleCheese> wherever
1838: [10:28:39] * spronk2 would be interested to see what workload full time contractor SS devs are able to get
1839: [10:29:00] <Pywtfk> mysogeny to boot.
1840: [10:29:02] <UncleCheese> _config.php works
1841: [10:29:12] <spronk2> zippy, your friend got told… :|
1842: [10:29:22] <Pywtfk> I'd never trust.
1843: [10:29:26] <zippy> yea, tbh I wonder if it's the same guy...
1844: [10:29:43] <Pywtfk> zippy: only one shayne worked there. Especially spelt that way.
1845: [10:29:51] <Pywtfk> I had to deal with a lot of the cleanup.
1846: [10:30:36] * NobrainerWeb has joined #silverstripe
1847: [10:30:44] <cupcake> UncleCheese http://www.sspaste.com/paste/show/544630903de46
1848: [10:30:52] <zippy> ah ok, I don't know much about what happened there. but we'll move along now :)
1849: [10:30:54] <cupcake> seems to point to it
1850: [10:31:04] <UncleCheese> oh, so it's working
1851: [10:31:17] <UncleCheese> what is the functionality you're trying to override?
1852: [10:31:32] <Pywtfk> zippy: from what I've learnt about the fellow, but from all accounts he _seems_ like an ok guy. But to me his actions speak louder than words (being in mind that I've only experienced the bad actions, but they're pretty bad).
1853: [10:31:42] <cupcake> a function called CommentsForm
1854: [10:32:11] <cupcake> does it make a difference if SiteCommentsController is under sitecomments/controllers/
1855: [10:32:23] <cupcake> and the commentingcontroller is under comments/code/controllers/
1856: [10:32:24] <UncleCheese> you sure what you're looking to do isn't better served by a dataextension invoking alterCommentForm?
1857: [10:32:35] <UncleCheese> yes
1858: [10:32:43] <UncleCheese> controllers/ is not a valid code directory
1859: [10:33:08] <UncleCheese> if all you're looking to do is change the comment form, you don't need to inject a whole new class.. you just need to decorate it
1860: [10:33:49] * jeroenem has joined #silverstripe
1861: [10:33:52] <spronk2> doesn’t /code get recursively indexed?
1862: [10:34:14] <UncleCheese> it does, but he doesn't have it in code/
1863: [10:34:21] <UncleCheese> he's got his file in module/controllers/
1864: [10:34:24] <spronk2> ohh
1865: [10:34:29] * spronk2 should have read a line up
1866: [10:34:29] <UncleCheese> module/code/controllers is fine
1867: [10:36:12] <zippy> I have a custom controller which extends from Controller - in my view I want to use Menu so I can draw the top menu, however thats only available on ContentController, which ContentController extends. I could extract the method out to my custom controller... but there must be a better way
1868: [10:36:59] <cupcake> UncleCheese
1869: [10:37:06] <cupcake> but i want to use my form not his form
1870: [10:37:18] <UncleCheese> yeah, so just change it to what you need
1871: [10:37:35] <cupcake> alterCommentForm would allow me to do that?
1872: [10:37:52] <jeroenem> hey guys, is there a way to load an uploadfield in the frontend of a website, without all the jquery stuff for drag-and-upload ?
1873: [10:38:05] <UncleCheese> public function alterCommentForm($form) { $form->addExtraClass('whatever')->Fields()->push(TextField::create('foo')) }
1874: [10:38:25] <zippy> UncleCheese: bat ready?
1875: [10:38:46] <UncleCheese> cupcake it hands you the form object right before it returns it to the controller, so you're free to manipulate it in any way you want
1876: [10:39:26] <cupcake> UncleCheese ok and can i move the sitecomments folder under site/code still or not?
1877: [10:39:55] <UncleCheese> i've really lost track of what you're doing, tbh
1878: [10:40:04] <UncleCheese> i'm not sure what site/code is
1879: [10:40:27] <cupcake> its a folder structure in the project
1880: [10:40:33] <cupcake> nevermind ill try your suggestion
1881: [10:40:49] <UncleCheese> a module has to be in the webroot and should contain a _config/ folder in its root
1882: [10:40:55] <UncleCheese> and a code/ folder
1883: [10:41:16] <UncleCheese> all code needs to be in code/.. or a subdirectory thereof
1884: [10:42:01] <cupcake> but this is not a modu;e
1885: [10:42:01] * Otterpocket has joined #silverstripe
1886: [10:42:12] <cupcake> they are just extensions to the comments module
1887: [10:43:16] <UncleCheese> oh, then it can just go in your project code folder
1888: [10:43:28] <UncleCheese> mysite/code/CommentControllerExtension.php
1889: [10:46:02] <cupcake> ok
1890: [10:46:08] <cupcake> and the extension
1891: [10:46:19] <cupcake> i will apply it to comment?
1892: [10:53:28] * arnhoe has joined #silverstripe
1893: [10:59:19] <Pywtfk> argh, fuck you docs.
1894: [10:59:29] <Pywtfk> I know there's a thing on SS verions somewhere
1895: [10:59:30] <spronk2> heh
1896: [10:59:36] <spronk2> versioned ext
1897: [10:59:38] <spronk2> versioning
1898: [10:59:42] * spronk2 spits out some search terms
1899: [10:59:43] <Pywtfk> SS 3.x has not been adheering to
1900: [10:59:49] <spronk2> oh
1901: [11:00:17] <Pywtfk> there's all this debate around semver now, but there's already versioning guidelines on the SS site that list what versions should be!
1902: [11:00:27] <Pywtfk> (which is basically semver from what I understand)
1903: [11:00:33] <Pywtfk> I just can't find it :<
1904: [11:00:38] <spronk2> ohh
1905: [11:01:12] <Pywtfk> maybe it was on the old ss.org
1906: [11:01:13] <Pywtfk> idk
1907: [11:01:22] <UncleCheese> cupcake, you need to do that in your config
1908: [11:01:29] <UncleCheese> CommentingController:
1909: [11:01:32] <UncleCheese> extensions:
1910: [11:01:38] <UncleCheese> - MyCommentingExtension
1911: [11:01:48] <Pywtfk> basically said major changes are for major number, minor updates (non bc breaks) for the minor number, and sec/minor bug fixes for the point number
1912: [11:01:56] <Pywtfk> I remember this text.
1913: [11:01:56] * travis-ci has joined #silverstripe
1914: [11:01:56] <travis-ci> JayDevlin/silverstripe-framework#4 (3565-upload-versioning - 2be0947 : Devlin): The build passed.
1915: [11:01:56] <travis-ci> Change view : https://github.com/JayDevlin/silverstripe-framework/compare/f52811aeceee...2be0947e39dc
1916: [11:01:56] <travis-ci> Build details : http://travis-ci.org/JayDevlin/silverstripe-framework/builds/38591212
1917: [11:01:56] * travis-ci has left #silverstripe
1918: [11:02:06] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1919: [11:02:12] <Pywtfk> I wanted to find the link and put it in the github issue conversation.
1920: [11:02:22] <Pywtfk> Now I want to put it on the ssdev list convo
1921: [11:02:27] <Pywtfk> but I still can't fucking find the page
1922: [11:04:33] <Pywtfk> in any case, it's exactly the summary on http://semver.org/
1923: [11:04:48] <Pywtfk> Given a version number MAJOR.MINOR.PATCH, increment the: MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards-compatible manner, and PATCH version when you make backwards-compatible bug fixes. Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
1924: [11:05:09] <zippy> Pywtfk: http://doc.silverstripe.org/framework/en/trunk/misc/release-process
1925: [11:05:12] <Pywtfk> So really I dunno why there's this debate at all
1926: [11:05:14] <Pywtfk> yes zippy !
1927: [11:05:16] <Pywtfk> ty!
1928: [11:05:31] <Pywtfk> http://doc.silverstripe.org/framework/en/trunk/misc/release-process#release-numbering
1929: [11:17:07] * arnhoe quit (Remote host closed the connection)
1930: [11:17:49] * irgbit has joined #silverstripe
1931: [11:19:05] * arnhoe has joined #silverstripe
1932: [11:20:54] <zippy> god damn time!
1933: [11:20:57] <zippy> sneaking away on me
1934: [11:21:53] * irgbit quit (Ping timeout: 240 seconds)
1935: [11:26:28] <kinglozzer> Pywtfk: You're right in that the current release process is pretty close to semver (well, it would be if we actually paid any attention)
1936: [11:27:00] <kinglozzer> I think the only real difference is that we allow new features in point releases, where as semver explicitly doesn't allow that
1937: [11:30:28] * cupcake quit (Ping timeout: 246 seconds)
1938: [11:33:41] * wmk has joined #silverstripe
1939: [11:37:24] * NobrainerWeb quit (*.net *.split)
1940: [11:37:45] * NobrainerWeb has joined #silverstripe
1941: [11:53:28] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1942: [11:55:12] <Pywtfk> kinglozzer: no, when Ingo ran it it was pretty much on target.
1943: [12:03:46] * Adesso has joined #silverstripe
1944: [12:05:29] <Adesso> Anybody have a link for me to the Vagrant Boxes for Silverstripe
1945: [12:12:56] * UndefinedOffset has joined #silverstripe
1946: [12:20:54] <Zauberfisch> wmk: ping
1947: [12:21:09] <Zauberfisch> I have been working hard on the vagrantbox the last couple of days
1948: [12:21:22] <Zauberfisch> wanted to get it improved befor I publish my slides from the ss eu event
1949: [12:21:34] <Zauberfisch> Adesso: haha.
1950: [12:21:41] <Zauberfisch> perfect timing
1951: [12:21:45] <Zauberfisch> so, my new box is ready
1952: [12:21:51] <Zauberfisch> and its easier than ever now
1953: [12:21:58] <Zauberfisch> all you need to do is run those 2 commands:
1954: [12:22:11] <Zauberfisch> "vagrant init zauberfisch/silverstripe-trusty64"
1955: [12:22:13] <Zauberfisch> "vagrant up"
1956: [12:22:37] <Zauberfisch> actualyl
1957: [12:22:39] <Zauberfisch> actually
1958: [12:22:42] <Zauberfisch> wat 1 minute
1959: [12:22:46] <Zauberfisch> 1 hotfix still to do
1960: [12:24:34] * cupcake has joined #silverstripe
1961: [12:29:15] <Zauberfisch> almost done
1962: [12:31:09] * NobrainerWeb quit (Quit: NobrainerWeb)
1963: [12:32:32] <Zauberfisch> btw its now a ubuntu trusty64
1964: [12:32:46] <Zauberfisch> as you probably already guessed from the name
1965: [12:33:03] <Zauberfisch> run it now
1966: [12:33:10] <Zauberfisch> $ vagrant init zauberfisch/silverstripe-trusty64
1967: [12:33:14] <Zauberfisch> $ vagrant up
1968: [12:33:48] <Zauberfisch> ok, gotta get back to work
1969: [12:33:52] <Zauberfisch> wmk:
1970: [12:33:53] <Zauberfisch> Adesso:
1971: [12:34:10] <Zauberfisch> please try the box if you have the chance
1972: [12:34:21] <Zauberfisch> need someone to beta test it before I officially announce it ;)
1973: [12:36:57] * stnvh quit ()
1974: [12:38:34] <ocmnt> Zauberfisch, will test it tonight at home
1975: [12:38:40] <ocmnt> if you like
1976: [12:42:55] <Zauberfisch> yes, please
1977: [12:43:14] <Zauberfisch> its a ubnutu with lamp and a view extras
1978: [12:43:50] <Zauberfisch> http://127.0.0.1:8080 // web server (will display contents of www/ folder in your project)
1979: [12:44:16] <Zauberfisch> http://127.0.0.1:8025 // mailcatcher (all emails sent in php will be collected here instead of actually sent)
1980: [12:45:32] <Adesso> lemm have a look
1981: [12:57:11] <Zauberfisch> shit. noticed a bug
1982: [12:57:18] <Zauberfisch> will have to put out another update tonight
1983: [12:57:32] <Zauberfisch> php error_reporting is still set to off, which it is not suppose to
1984: [12:57:37] <Zauberfisch> ah, I mean display_errors
1985: [12:58:34] * NobrainerWeb has joined #silverstripe
1986: [12:58:37] * NobrainerWeb quit (Client Quit)
1987: [13:02:06] * muskie9 has joined #silverstripe
1988: [13:09:27] * Adesso quit ()
1989: [13:10:34] * Olliepop quit (Ping timeout: 246 seconds)
1990: [13:12:50] <Pywtfk> hmm, this sylosis fellow sounds a bit like the inflames chap ss23
1991: [13:13:01] * ocm has joined #silverstripe
1992: [13:15:46] * Adesso has joined #silverstripe
1993: [13:16:10] * Adesso was hoping for a CentOS box....
1994: [13:16:22] <Adesso> I guees I'll make one then
1995: [13:16:46] * ocmnt quit (Ping timeout: 272 seconds)
1996: [13:18:46] * irgbit has joined #silverstripe
1997: [13:19:19] * stephanvd quit (Ping timeout: 255 seconds)
1998: [13:22:59] * irgbit quit (Ping timeout: 244 seconds)
1999: [13:25:32] * stnvh has joined #silverstripe
2000: [13:25:38] <Zauberfisch> Adesso: centos is is the next box that is planed, but haven't started yet
2001: [13:26:07] <Zauberfisch> but I have some centos servers in production now aswell, so having a vagrant centos box makes sense
2002: [13:26:27] * Adesso is starting on the CentOS so long 6.5
2003: [13:32:26] * Shrike_Finland quit (Quit: Leaving.)
2004: [13:33:57] * r3v3rb has joined #silverstripe
2005: [13:38:11] * stnvh quit ()
2006: [13:38:37] <r3v3rb> Zauberfisch, going to test your ubuntu as I have a cloud based ubuntu unison synced site running so a local dev machine in the same apache etc etc will be handy
2007: [13:41:26] <r3v3rb> Zauberfisch are you running in virtualbox or vmware ?
2008: [13:42:05] * stnvh has joined #silverstripe
2009: [13:44:00] * ocm quit (Ping timeout: 272 seconds)
2010: [13:44:20] <Zauberfisch> virtualbox
2011: [13:44:47] <Zauberfisch> vmware support is also planed, but haven't started that either
2012: [13:44:53] <Zauberfisch> do you use vmware?
2013: [13:45:10] <r3v3rb> ok, would have bought the plugin if that's what you were using so we were on the same page
2014: [13:45:48] <Zauberfisch> no, for now I only have virtualbox, because thats what I am using for developement
2015: [13:46:43] <Zauberfisch> all you need to do is: install virtualbox, install vagrant, run "vagrant init zauberfisch/silverstripe-trusty64", run "vagrant up"
2016: [13:46:46] <r3v3rb> ok, is it the lamp install from ubuntu or individually installed elements
2017: [13:46:52] <Zauberfisch> and then put your webiste inside the www folder
2018: [13:46:59] <r3v3rb> already downloading box ;)
2019: [13:47:11] <Zauberfisch> standard ubuntu package
2020: [13:47:18] <r3v3rb> 24 seconds left at 4600k/s
2021: [13:47:30] <r3v3rb> done
2022: [13:49:10] <r3v3rb> hmm, where did you go vagrant box... default mounting shared folders then nothing...
2023: [13:49:36] <r3v3rb> nah joking its running
2024: [13:49:44] <Zauberfisch> :O
2025: [13:49:50] <Adesso> Quick Question: How much ram to allocate for a 64bit box ?
2026: [13:50:26] <r3v3rb> Zauberfisch ssh not allowing me in
2027: [13:50:31] <Zauberfisch> :O
2028: [13:50:46] <Zauberfisch> r3v3rb: what vagrant & virtualbox version?
2029: [13:50:47] <Zauberfisch> what os?
2030: [13:50:54] <r3v3rb> latest on both
2031: [13:50:57] <r3v3rb> osx
2032: [13:51:11] <r3v3rb> apache server is running on 127.0.0.1
2033: [13:51:14] <r3v3rb> :8080
2034: [13:51:16] <r3v3rb> ob's
2035: [13:51:29] * ocmnt has joined #silverstripe
2036: [13:51:31] <Zauberfisch> so http works, but ssh doesn't allow you in?
2037: [13:51:52] <r3v3rb> ssh -l vagrant 127.0.0.1:2222
2038: [13:52:08] <r3v3rb> nodename nor servname provided
2039: [13:52:44] <Zauberfisch> unfamiliar with that syntax
2040: [13:53:09] <Zauberfisch> if I where to connect I would write it this way: ssh vagrant@127.0.0.1 -p 2222
2041: [13:53:23] <Zauberfisch> but, vagrant provides a shortcut for that: "vagrant ssh"
2042: [13:53:39] <Zauberfisch> (which also uses an ssh key for password less login)
2043: [13:54:00] <r3v3rb> starts login but then requires password using your format
2044: [13:54:16] <Zauberfisch> yes, password is "vagrant" aswell
2045: [13:54:20] <r3v3rb> even though i answered yes to key cipher stuff
2046: [13:54:48] <Zauberfisch> I think that might just have been the fingerprint you accpeted by typing yes.
2047: [13:55:05] <Zauberfisch> $ vagrant ssh
2048: [13:55:07] <Zauberfisch> is that not working?
2049: [13:55:10] <r3v3rb> ugh, did you leave www in home folder and not put it in /var/www
2050: [13:55:45] <Zauberfisch> no to both
2051: [13:55:50] <Zauberfisch> its /vagrant/www
2052: [13:55:58] <r3v3rb> ewwww...
2053: [13:56:00] <r3v3rb> :)
2054: [13:56:01] <Zauberfisch> :P
2055: [13:56:12] <r3v3rb> var/www/ please for future
2056: [13:56:19] <Zauberfisch> meh
2057: [13:56:23] <Zauberfisch> like it this way
2058: [13:56:27] <Zauberfisch> so I have 1 shared folder
2059: [13:56:32] <Zauberfisch> /vagrant
2060: [13:56:33] <r3v3rb> Re: Where is LAMP's "www" folder on Ubuntu 9.10?
2061: [13:56:33] <r3v3rb> Should be /var/www
2062: [13:56:35] <r3v3rb> lol
2063: [13:56:56] <Zauberfisch> r3v3rb: otherwise I would need to do either of those things:
2064: [13:57:06] <r3v3rb> then chown/chmod files folders and create groups etc etc
2065: [13:57:46] <r3v3rb> usermod -g G www-data thisUser or some such command
2066: [13:57:59] * r3v3rb thinks hard about the syntax again
2067: [13:58:03] <Zauberfisch> - either symlink /vagrant/www and /var/www
2068: [13:58:12] <r3v3rb> Zauberfisch could do i guess
2069: [13:58:17] <Zauberfisch> - or create an additional vagrant share to /var/www
2070: [13:58:24] <Zauberfisch> both options I don't really like
2071: [13:58:54] <r3v3rb> i prefer ftp , no share, files in var/www etc etc - maybe time to play with vagrant box setup
2072: [13:59:03] <r3v3rb> :D
2073: [13:59:32] <r3v3rb> no proftpd :\
2074: [13:59:57] <r3v3rb> btw, I see you updated Silverstripe's plugin for PHPStorm - Thank You!
2075: [14:00:10] * muskie9 is now known as _muskie9_
2076: [14:00:14] <r3v3rb> got rid of that annoying bug about the cache file or whatever it was
2077: [14:01:15] * _muskie9_ is now known as muskie9
2078: [14:02:24] <Zauberfisch> r3v3rb: I didn't make the plugin, you'd have to thank marcus
2079: [14:02:40] <r3v3rb> oh okay, sorry. maybe you told me about it then :)
2080: [14:02:46] <Zauberfisch> I am just the guy that sends him a lot of bug reports and feature requests :D
2081: [14:03:09] <r3v3rb> i gtg, time to pick up the eldest child from school bbl :D
2082: [14:03:12] <Zauberfisch> r3v3rb: really? you actually want to go through the pain of ftp?
2083: [14:04:02] <r3v3rb> Zauberfisch, i'm afraid for authenticity yes, also means in PHPStorm I can setup two ftp's for the dev site(vagrant) and the live site
2084: [14:05:38] <Zauberfisch> of what?
2085: [14:05:44] <Zauberfisch> authenticity of what?
2086: [14:06:12] <r3v3rb> of the two servers live site is ftp access for file uploads so I'll do the same for the dev
2087: [14:06:17] <r3v3rb> call me crazy!
2088: [14:06:35] <Zauberfisch> :O
2089: [14:06:36] <Pywtfk> crazy!
2090: [14:06:37] * Pywtfk quit ()
2091: [14:06:42] <Zauberfisch> yeah
2092: [14:06:44] <Zauberfisch> what he said
2093: [14:06:48] <Zauberfisch> :D
2094: [14:12:03] <Marvanni> Zauberfish you prefer vagrant over a virtualbox server?
2095: [14:13:23] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
2096: [14:14:57] <Zauberfisch> define virtualbox server?
2097: [14:15:38] * muskie9 has joined #silverstripe
2098: [14:16:41] * spronk2 quit (Quit: spronk2)
2099: [14:16:55] <Marvanni> like Ubuntu or CentOS installed in Virtualbox
2100: [14:22:24] <kinglozzer> Zauberfisch: ty for that, we're looking into switching to Vagrant
2101: [14:22:47] <kinglozzer> How does it work with VCS? Do you install git on the vagrant box, or symlink a folder into /var/www ?
2102: [14:23:23] * gavro quit (Ping timeout: 240 seconds)
2103: [14:23:44] <Zauberfisch> Marvanni: ah, so you mean having a sort of dev server that hosts multiple projects?
2104: [14:24:09] <Zauberfisch> Marvanni: I had that before I used vagrant. and yes, I prefer vagrant, by far
2105: [14:24:11] * Eliseth quit (Ping timeout: 255 seconds)
2106: [14:24:18] <Zauberfisch> allows me to mess around in the box if a I need to
2107: [14:24:30] <Zauberfisch> and everything is contained within its own little sandbox
2108: [14:24:42] <Zauberfisch> so if I break 1 box, all the other projects are not effected
2109: [14:25:03] <Zauberfisch> and because its vagrant, if I break something, I can restore the default state with just 2 commands
2110: [14:25:52] <Zauberfisch> kinglozzer: git, composer, compass, npm, bower, bower-installer is installed inside the box
2111: [14:26:12] <Zauberfisch> however, I don't use any of those. I just put them there, in case I am on a PC where I don't have all of that installed
2112: [14:26:21] <Zauberfisch> I use all those tools on my PC
2113: [14:26:30] <kinglozzer> Zauberfisch: Wait, you don't use git ? D:
2114: [14:26:35] <Zauberfisch> I do
2115: [14:26:38] <Zauberfisch> but not inside the vm
2116: [14:26:43] <Zauberfisch> i use it on the host (my PC)
2117: [14:26:57] <Zauberfisch> and thats no problem at all, because the files are synedc
2118: [14:26:59] <kinglozzer> Zauberfisch: So if it's not inside the VM, how do you get your project files "out" of the VM and into VCS?
2119: [14:27:00] <Zauberfisch> *synced
2120: [14:27:17] <kinglozzer> Synced in real-time
2121: [14:27:19] <kinglozzer> ?
2122: [14:27:27] <Zauberfisch> kinglozzer: synced folder. your project folder on your PC is mounted as a network-storraqe inside the VM
2123: [14:27:41] <kinglozzer> Ahh, so a symlink?
2124: [14:27:48] <Zauberfisch> no
2125: [14:27:52] <Zauberfisch> nfs
2126: [14:27:56] <Zauberfisch> I think
2127: [14:27:58] <Zauberfisch> or smb
2128: [14:28:01] <kinglozzer> I'm confus :P
2129: [14:28:03] <Zauberfisch> not sure how virtualbox does it
2130: [14:28:17] <kinglozzer> Will have to play around with it
2131: [14:28:27] <Zauberfisch> kinglozzer: hmmm, how best to explain
2132: [14:34:11] * Shrike_Finland has joined #silverstripe
2133: [14:34:14] * catcher has joined #silverstripe
2134: [14:34:56] * gavro has joined #silverstripe
2135: [14:36:36] <Marvanni> Zauberfish I ask because I use VirtualBox on my Windows machine Desktop, but also as a Headless dedicated server.
2136: [14:37:20] * Adesso thinks it's a smb share ..
2137: [14:37:25] <Adesso> almost there myself..
2138: [14:37:30] <Marvanni> My main problem is that GIT is terible slow over network. I use Tortoise on my windows machine on the networkdrive of my Linux dev server. and its slow as hell
2139: [14:37:34] * Adesso is creating a CentOS box
2140: [14:37:41] <Marvanni> adesso that is correct
2141: [14:37:53] <Zauberfisch> Marvanni: its not slow in this case
2142: [14:37:59] <Zauberfisch> because the network works the other way around
2143: [14:38:05] <Marvanni> one small commit can take several minutes because of the GIT status command
2144: [14:38:17] <Zauberfisch> well, its actually pretty fast over here I think
2145: [14:38:28] <Zauberfisch> on both ends
2146: [14:38:33] <Zauberfisch> but the way it works:
2147: [14:38:43] <Zauberfisch> so, you work on your project, localy on your PC
2148: [14:39:00] <Zauberfisch> lets say its in the folder ~/projects/foobar-project
2149: [14:39:25] * arnhoe quit ()
2150: [14:39:55] <Zauberfisch> and what vagrant does, is make the folder ~/projects/foobar-project available to the VM as network share (or at least I believe its a networkshare) and mounts it inside the VM
2151: [14:40:23] <Zauberfisch> so all your project files are available both on your PC and inside the VM and are always in sync
2152: [14:40:43] <Zauberfisch> if you change a file, it is instantly also changed inside the VM
2153: [14:40:58] <Zauberfisch> and same the other way around
2154: [14:40:59] <Marvanni> I guess thats better than a fysical network share
2155: [14:41:11] <kinglozzer> Zauberfisch: OHHHH I get it
2156: [14:41:27] <kinglozzer> Just installed your box
2157: [14:41:38] <kinglozzer> Makes sense now I'm looking at it :P
2158: [14:42:09] <Marvanni> I really need to solve the slow GIT over the network somehow, but in a way I can use my laptop and my desktop work work on the same development server withou the need to setup local dev envs on both laptop and desktop
2159: [14:42:39] <Marvanni> do you know a GIT GUI that can send its commands over shh to the dev server?
2160: [14:49:56] * Eliseth has joined #silverstripe
2161: [14:51:59] <cupcake> can somebody tell me why my form is not passing the action name in post?
2162: [14:52:09] <cupcake> am i missing something?
2163: [14:52:38] <r3v3rb> am i getting old but who agrees with students learning on ipads at 11 yrs old?
2164: [14:52:58] <r3v3rb> laptop/chromeboook for sure, but ipads...
2165: [14:54:11] <Zauberfisch> r3v3rb: :D
2166: [14:54:24] <r3v3rb> Zauberfisch is that a +1 for getting old?
2167: [14:54:39] <Zauberfisch> for not letting your kids use an apple product :D
2168: [14:55:16] <r3v3rb> i mean, i've not seen a compiler on ipad yet... so who's learning how to program the next apps/programs on pc/mac etc etc if they all come out of school thinking a swipe of the finger is all that is needed?
2169: [14:55:46] <r3v3rb> its fucking retarded that schools even think that it is acceptable
2170: [14:56:09] <Zauberfisch> haha
2171: [14:56:35] <Zauberfisch> Marvanni: hmmm. I am actually quiet happy with having a vm per project
2172: [14:56:54] <Zauberfisch> and I don't mind having that vm once for each pc I work on
2173: [14:57:35] <Zauberfisch> disc space isn't an issue. booting on ssd is fast enough and with vagrant its just 1 command I need to run to get things fired up, so no big deal
2174: [14:59:02] <Zauberfisch> (the only trouble I can see here is syncing DB and assets. I mostly work with dummy data, so thats not a big deal to me. but if you work with real data and want it on all VMs I can see how that is a problem)
2175: [15:00:15] <r3v3rb> Zauberfisch, unison across the vm's for file sync bi-directionally and mysql replication job done
2176: [15:02:21] <Marvanni> Zauberfish, my dev server is accessible for clients so I can send them a link in case I have a questions during development. syncing db and assets would be an issue yes. but im afraid I need to switch to local development, due to the unacceptable slow GIT performance
2177: [15:02:51] <cupcake> can somebody tell me why my form is not passing the action name in post?
2178: [15:03:34] <Zauberfisch> r3v3rb: hmm. unison sounds interesting
2179: [15:03:49] <r3v3rb> Zauberfisch works brilliantly on riftrefunds.co.uk
2180: [15:04:01] <kinglozzer> cupcake: Is it hitting the action?
2181: [15:04:08] <cupcake> yes
2182: [15:04:15] <cupcake> and its telling me this
2183: [15:04:20] <cupcake> There seems to have been a technical problem. Please click the back button, refresh your browser, and try again.
2184: [15:04:46] <kinglozzer> cupcake: That's what usually happens if your security token is invalid
2185: [15:04:48] <Zauberfisch> Marvanni: longtermn available links or just for an hour to show the client something?
2186: [15:04:54] <kinglozzer> Are you using partial caching or something?
2187: [15:05:06] <cupcake> im using this comments module
2188: [15:05:23] <Marvanni> Zauberfish, depends on how long the project takes...
2189: [15:05:27] <Zauberfisch> Marvanni: if its just for an hour, its pretty easy, because vagrant has a fancy featured called vagrant share
2190: [15:05:31] <Zauberfisch> $ vagrant share
2191: [15:05:38] <Zauberfisch> hold on, I'll share you something
2192: [15:07:34] <Marvanni> I might need to write a tool for SS that will copy a database and assets folder with a button click
2193: [15:07:55] <cupcake> kinglozzer: https://github.com/silverstripe/silverstripe-comments
2194: [15:07:57] <kinglozzer> Marvanni: sspak?
2195: [15:07:59] <Marvanni> that would also be handy when you want to develop with most up to date live data
2196: [15:08:03] <kinglozzer> Or do you mean an in-cms feature?
2197: [15:08:12] <Marvanni> no just for devs would be fine
2198: [15:09:07] <Marvanni> yes like sspak.... was not aware of that project
2199: [15:09:58] <kinglozzer> Marvanni: I've never tried it, just saw it mentioned before :)
2200: [15:10:00] * jeroenem quit (Quit: Page closed)
2201: [15:10:25] <Marvanni> but thgat requires cli access on remote servers... thats not always the case for my projects
2202: [15:11:05] <cupcake> kinglozzer: what do u think i can do?
2203: [15:11:37] <Zauberfisch> damn it. there is a bug in my config D:
2204: [15:11:40] <Zauberfisch> share didn't work
2205: [15:11:50] <kinglozzer> cupcake: I don't really know what your issue actually is. How are you adding the comments form? Are you using partial caching?
2206: [15:12:21] * Adesso is just going nutz with his Virtual BOX and no |
2207: [15:12:24] <Adesso> :(
2208: [15:12:33] <cupcake> no im not using partial caching
2209: [15:12:59] <catcher> Client is looking for a way to accept 100mb files from trusted users, somehow integrated into the site. I know http isn't designed for this, but seems to be feasible; third-party solutions are cumbersome to implement. Suggestions?
2210: [15:13:04] <Marvanni> sspak used sudo?????
2211: [15:14:09] <Zauberfisch> ah, here we go
2212: [15:14:17] <Zauberfisch> http://frosty-elk-2663.vagrantshare.com/
2213: [15:14:32] <Zauberfisch> getting that was as simple as:
2214: [15:14:45] <Marvanni> That is not a fish....
2215: [15:15:22] <cupcake> kinglozzer: my issue is that when i click post its not calling the action method assigned to the button but takes the form action
2216: [15:15:50] <Marvanni> cupcake does it happens only on IE???
2217: [15:15:53] <Zauberfisch> $ $ vagrant init zauberfisch/silverstripe-trusty64
2218: [15:15:53] <Zauberfisch> $ vagrant up
2219: [15:15:53] <Zauberfisch> $ curl -sSo magic.jpg https://images.duckduckgo.com/iu/?u=http%3A%2F%2Fwww.geekalerts.com%2Fu%2FMagical-Unicorn-Mask.jpg&f=1
2220: [15:15:56] <Zauberfisch> $ vagrant share --http 8080
2221: [15:15:59] <cupcake> its happening on firefox
2222: [15:16:11] <cupcake> @Marvanni
2223: [15:16:20] <cupcake> Marvanni: didnt try ie
2224: [15:16:26] <Zauberfisch> ah, wait 1 line missing
2225: [15:16:36] <Zauberfisch> $ echo "hey guys, checkout the magic <br><img src=magic.jpg>" > index.html
2226: [15:17:38] <Zauberfisch> so, vagrant share creates a tunnle to vagrantshare.com and asks for a random subdomain. and as long as that connection remains open, that random url will proxy http trafic to my VM
2227: [15:18:09] <Zauberfisch> oh, just saw it can also forward ssh
2228: [15:18:12] <Zauberfisch> if you want it to
2229: [15:18:31] <Zauberfisch> and allow others to use "vagrant connect" to connect to your box. no idea what that does though because I never used it
2230: [15:19:01] * ThePeach has joined #silverstripe
2231: [15:19:04] <Zauberfisch> catcher: so a website feature?
2232: [15:19:18] <Zauberfisch> catcher: are those trustrd users allowed in the CMS?
2233: [15:19:35] * irgbit has joined #silverstripe
2234: [15:19:41] <kinglozzer> cupcake: Are you altering the form at all? Any custom code?
2235: [15:20:07] * Colin[pi] has joined #silverstripe
2236: [15:21:48] * Eliseth quit (Ping timeout: 246 seconds)
2237: [15:23:56] <kinglozzer> cupcake: The error message you're getting appears if the 'SecurityID' is missing from the submitted data. Check the network requests tab and look for the "SecurityID" field
2238: [15:23:59] * irgbit quit (Ping timeout: 245 seconds)
2239: [15:25:49] * Adesso21 has joined #silverstripe
2240: [15:27:22] <catcher> Zauberfisch, they could be. The client is pretty flexible
2241: [15:28:01] <catcher> Zauberfisch, A website feature would be ideal; I've also considered very well-written FTP instructions or other third-party services.
2242: [15:28:32] * Adesso21 get his | again \o/ {AltGr bug in Virtualbox 4.3.14}
2243: [15:28:39] * Adesso quit (Ping timeout: 265 seconds)
2244: [15:29:33] * cloph is now known as cloph_away
2245: [15:29:34] <kinglozzer> catcher: If it were me I'd look for anything besides HTTP :P
2246: [15:30:01] <kinglozzer> We did an ecommerce site w/ downloadable products, anything over ~120mb would fail, we could never work out why
2247: [15:30:13] <kinglozzer> No meaningful error messages anywhere, just silently failed
2248: [15:30:23] * Adesso has joined #silverstripe
2249: [15:30:28] <kinglozzer> Had like 4 sysadmins try to work it out, no luck, gave up and went with SFTP in the end
2250: [15:30:59] * Adesso thinks that if 4 sysadmins can get 1 share done.. there not sysadmins
2251: [15:32:11] <catcher> kinglozzer, indeed, and I'm talking upload which is bound to be worse due to speeds alone.
2252: [15:32:23] <kinglozzer> catcher: Yeah uploads were the issue, downloads were fine
2253: [15:32:24] * gavro quit (Ping timeout: 258 seconds)
2254: [15:32:46] <catcher> kinglozzer, uploadable products!
2255: [15:32:56] <kinglozzer> We thought perhaps Apache or PHP was timing out or something, but setting them to anything didn't work
2256: [15:32:58] * Adesso21 quit (Ping timeout: 255 seconds)
2257: [15:33:07] <kinglozzer> (even if the upload took 20 seconds, it'd still fail)
2258: [15:33:19] <kinglozzer> Maybe it was PHP's fault
2259: [15:33:21] <catcher> kinglozzer, brutal. So you went with sftp instructions for end users?
2260: [15:33:34] <kinglozzer> I vaguely remember reading a PHP changelog about how uploads are handled
2261: [15:33:51] * r3v3rb quit (Quit: Textual IRC Client: www.textualapp.com)
2262: [15:34:00] <kinglozzer> catcher: Yeah. Ours was a real pain because they then had to manually add them to MySQL database too (similar to SilverStripe's sync, only this CMS had no such feature!)
2263: [15:38:45] <wmk> Zauberfisch, you have a new box?
2264: [15:39:54] <catcher> Has anyone tried a web-based SFTP client?
2265: [15:43:33] <cupcake> kinglozzer: im just adding some attributes to the comment form
2266: [15:43:35] * jenniferaslan has joined #silverstripe
2267: [15:43:38] <cupcake> through an extension
2268: [15:44:09] <wmk> catcher, why should i want to?
2269: [15:44:26] <wmk> upload to server -> upload from server to sftp ???
2270: [15:44:32] <wmk> or did you mean browser based?
2271: [15:44:41] * Colin[pi] quit ()
2272: [15:45:58] * hubertusanton quit (Remote host closed the connection)
2273: [15:49:40] <catcher> wmk, I need to provide non-technical users the ability to upload 100mb+ files
2274: [15:50:11] <wmk> catcher, if you increase php max filesize limit?
2275: [15:50:14] <wmk> does it timeout?
2276: [15:50:36] <catcher> wmk, maybe, maybe not; http is just historically awful with that sort of thing.
2277: [15:50:43] <wmk> but if it's only webbased (with antther server in the middle) it's just insecure
2278: [15:50:44] <catcher> wmk, I haven't developed anything yet
2279: [15:51:03] <wmk> catcher, you can tell windows explorer to use ftp
2280: [15:51:19] <wmk> ftp://user:password@host.com/path/to/assets/
2281: [15:51:22] <catcher> wmk, web-based SFTP clients provide a java client for the most part
2282: [15:51:36] <wmk> and make a bookmark in windows explorer
2283: [15:52:01] <catcher> wmk, I can't ensure all users are on windows
2284: [15:52:05] <wmk> catcher, so you mean web-based more like browser based
2285: [15:52:10] <wmk> with java plugin it should do.
2286: [15:52:20] <catcher> wmk, indeed, browser-based is more accurate
2287: [15:52:24] <wmk> ok
2288: [15:52:42] <wmk> years ago i used one, but with another framework
2289: [15:52:56] <wmk> did even resize images, was great
2290: [15:53:08] <catcher> wmk, remember what it was called?
2291: [15:53:22] <catcher> I'm only seeing this: https://app.anyclient.com/
2292: [15:53:24] <catcher> which looks just okay
2293: [15:54:20] <wmk> argh, firefox complains about java plugin
2294: [15:54:40] <wmk> catcher, jupload.sourceforge.net/
2295: [15:54:46] <wmk> but java has some downsides, too
2296: [15:54:51] <catcher> true
2297: [15:55:01] <catcher> Don't most modern browsers provide an FTP interface?
2298: [15:55:11] <wmk> dunno for uploa
2299: [15:55:11] <wmk> d
2300: [15:55:24] <catcher> Ah, yeah
2301: [15:55:47] <wmk> there is a plugin
2302: [15:55:55] <wmk> fireftp...
2303: [15:56:17] <wmk> but then you can also #tell your customers to use a ftp client
2304: [15:56:31] <catcher> Yeah, back to nice instructions
2305: [15:56:54] <catcher> The client specifically doesn't want to use dropbox
2306: [16:08:58] <wmk> you can of course install a dropbox clone (kind of ftp webinterface) on your server
2307: [16:09:11] <wmk> if you think the webinterface is secure
2308: [16:09:34] <wmk> harden it, so customer can only crash assets (or a subdirectory of assets)
2309: [16:16:30] * BetterBert has joined #silverstripe
2310: [16:17:01] * scpi has joined #silverstripe
2311: [16:17:02] <BetterBert> hello, hello. So tell me: whats the craic with rolling your own Search.?
2312: [16:17:49] <wmk> Zauberfisch, vm downloaded, will test later
2313: [16:18:00] <kinglozzer> BetterBert: Depends on how far down the rabbit hole you want to go ;)
2314: [16:18:50] <BetterBert> I have successfully extended 'Form' to get the fields exactly the way I want. But my action is throwing me into a never ending series of ContentControllerSearchExtension missin arguement errors
2315: [16:21:10] <BetterBert> Going kinda mad trying to make sense of the order of this. Please, please someone throw me a bone...
2316: [16:21:34] * ocmnt quit (Quit: Ik ga weg)
2317: [16:23:46] * cupcake quit (Ping timeout: 246 seconds)
2318: [16:24:23] * wmk quit (Ping timeout: 272 seconds)
2319: [16:26:23] * kinglozzer quit ()
2320: [16:26:25] <BetterBert> @kinglozzer any hints on how to route search results???
2321: [16:26:43] <BetterBert> Anyone...
2322: [16:26:48] <BetterBert> :(
2323: [16:26:50] * stnvh quit ()
2324: [16:29:06] * BetterBert quit (Quit: (null))
2325: [16:33:24] * Otterpocket quit (Quit: WeeChat 0.4.1)
2326: [16:38:37] * priithansen has joined #silverstripe
2327: [16:39:27] * Shrike_Finland quit (Quit: Leaving.)
2328: [16:52:24] * joelpittet quit ()
2329: [17:03:10] * ThePeach quit (Quit: leaving)
2330: [17:05:25] * muskie9 is now known as _muskie9_
2331: [17:20:34] * irgbit has joined #silverstripe
2332: [17:24:52] * irgbit quit (Ping timeout: 245 seconds)
2333: [17:26:49] * agencecaza has joined #silverstripe
2334: [17:27:33] * agencecaza quit (Changing host)
2335: [17:27:33] * agencecaza has joined #silverstripe
2336: [17:29:39] <agencecaza> I have a problem when putting bullet and numbering style formatting. The CMS html editor add after ul » li » A span . Is it a bug? What a missed. Thank you
2337: [17:44:44] * Eliseth has joined #silverstripe
2338: [17:48:05] * _muskie9_ quit (Ping timeout: 260 seconds)
2339: [17:49:27] * muskie9 has joined #silverstripe
2340: [18:05:31] * mudmonth quit (Remote host closed the connection)
2341: [18:06:07] * BetterBert has joined #silverstripe
2342: [18:16:38] * gelignite has joined #silverstripe
2343: [18:20:12] * wmk has joined #silverstripe
2344: [18:23:16] * Adesso quit (Quit: still doing this Vagrant Server...)
2345: [18:24:43] * wmk quit (Ping timeout: 244 seconds)
2346: [18:31:34] * BetterBert quit (Quit: (null))
2347: [18:52:24] * Eliseth quit (Quit: Textual IRC Client: www.textualapp.com)
2348: [18:53:43] * Kingy[a] is now known as Kingy
2349: [19:06:26] * Stomach has joined #silverstripe
2350: [19:17:21] * priithansen quit (Quit: priithansen)
2351: [19:21:20] * irgbit has joined #silverstripe
2352: [19:24:48] * Olliepop has joined #silverstripe
2353: [19:25:23] * irgbit quit (Ping timeout: 240 seconds)
2354: [19:29:43] * Shrike_Finland has joined #silverstripe
2355: [19:34:56] * zippy has joined #silverstripe
2356: [19:36:34] <zippy> Morning
2357: [19:37:01] <Kingy> hey zippy
2358: [19:37:09] <zippy> hows it going
2359: [19:37:18] <Kingy> yeah not too bad
2360: [19:37:30] <Kingy> work from home day so it's always good
2361: [19:40:02] * irgbit has joined #silverstripe
2362: [19:44:14] * Adesso has joined #silverstripe
2363: [19:44:22] * Adesso has left #silverstripe
2364: [19:45:36] * Adesso has joined #silverstripe
2365: [19:50:43] * gavro has joined #silverstripe
2366: [19:56:36] * Shrike_Finland quit (Quit: Leaving.)
2367: [20:03:40] <zippy> Kingy: thats my day every day
2368: [20:03:47] <zippy> Kingy: the pantry is just so inviting though
2369: [20:04:32] * glenn-bautista has joined #silverstripe
2370: [20:06:47] <Stomach> you work in the pantry?
2371: [20:07:07] <Stomach> I LOVE THE SMELL OF BREAD <CODE CODE CODE>
2372: [20:08:28] * halkyon has joined #silverstripe
2373: [20:09:09] <Kingy> zippy kinda helps that there isn't anything in there :P
2374: [20:09:45] * stojg has joined #silverstripe
2375: [20:12:14] * travis-ci has joined #silverstripe
2376: [20:12:14] <travis-ci> silverstripe/silverstripe-framework#3497 (3.1 - d474671 : Damian Mooyman): The build passed.
2377: [20:12:14] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/93b84358c887...d474671d0945
2378: [20:12:14] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/38642673
2379: [20:12:14] * travis-ci has left #silverstripe
2380: [20:14:06] * Ryan-Toast has joined #silverstripe
2381: [20:15:02] <zippy> I always seem to run into this, and fall back to a honky solution. What is a better way of calling the Menu function on a ContentController (or Page) in a template if your just using a custom controller extending from Controller?
2382: [20:15:33] <JeremyRoundill> What's wrong with white solutions? :P
2383: [20:17:04] <zippy> :P
2384: [20:17:45] <zippy> I end up cutting the Menu method from the ContentController and adding to my controller, but I wonder if that method should be moved back to Controller - or at least partially, and overriden in the ContentController
2385: [20:17:49] <Ryan-Toast> iTunes is red now? Okay.
2386: [20:18:04] <zippy> Ryan-Toast: be some stupid U2 promo
2387: [20:18:11] <JeremyRoundill> I would just copy-pasta the Menu method into your controller.
2388: [20:18:20] <JeremyRoundill> I don't think that's too hacky.
2389: [20:18:20] <Ryan-Toast> zippy: lol, wut
2390: [20:18:28] <Ryan-Toast> fighting to be relevant?
2391: [20:19:15] <zippy> JeremyRoundill: mmm I don't like... and if I have a couple of custom controllers, I have to duplicate...
2392: [20:19:24] <zippy> Ryan-Toast: ah, you mean the icon...
2393: [20:19:36] <Ryan-Toast> zippy: yeah :P
2394: [20:19:47] <zippy> Ryan-Toast: take it off the doc :)
2395: [20:19:51] * spekulatius has joined #silverstripe
2396: [20:20:09] <Ryan-Toast> zippy: |I don’t mind it, just interesting that they changed the branding
2397: [20:20:14] <JeremyRoundill> Create a custom controller which extends Controller, add Menu() to that, then extend that controller with your final controllers?
2398: [20:20:34] <zippy> JeremyRoundill: yea, I wonder if it's a core change I should commit back in
2399: [20:20:59] <zippy> but then I look at PR in the system which have sat in there for ages with no comments...
2400: [20:21:00] <zippy> hmm
2401: [20:21:09] <JeremyRoundill> I'm not sure.
2402: [20:21:14] <JeremyRoundill> Depends how other people use Controller.
2403: [20:22:01] * fb3rasp has joined #silverstripe
2404: [20:22:16] <zippy> maybe I should just extend ContentController, but then I don't have a model associated with the controller so doesn't feel right
2405: [20:23:24] <JeremyRoundill> Yeah, I don't think having Menu() in Controller is a good idea.
2406: [20:23:37] <JeremyRoundill> Controller is framework, ContentController is cms.
2407: [20:23:52] <JeremyRoundill> The whole Menu() dealio makes more sense as part of the cms.
2408: [20:24:06] * camfindlay has joined #silverstripe
2409: [20:25:00] * fb3rasp quit (Client Quit)
2410: [20:25:47] <Stomach> zippy - we use https://github.com/heyday/silverstripe-menumanager instead of using the default menu
2411: [20:25:52] <Stomach> then you dont have to worry about it :)
2412: [20:26:14] <zippy> JeremyRoundill: true, but my page isn't in the CMS but I do want to show the menues at the top and bottom of the page.
2413: [20:26:29] <zippy> JeremyRoundill: really...
2414: [20:26:41] <JeremyRoundill> I think so.
2415: [20:26:49] <Ryan-Toast> Stomach: finished the Wool omnibus. I didn’t realise there were like three other arcs :D
2416: [20:26:59] * irogue_ has joined #silverstripe
2417: [20:27:09] <zippy> If we could use traits, then you could pull the logic out to a trait or something, and ContentController uses it by default, and anything else you can just pull in the trait as needed...
2418: [20:27:09] <JeremyRoundill> Ask around, other people will probably feel differently
2419: [20:27:26] <Stomach> Ryan-Toast - yeah its pretty good aye :D
2420: [20:27:37] <Stomach> one of my favourite books of the year easily
2421: [20:27:50] <Ryan-Toast> Stomach: Yeah, I was wondering why the 40+ silos were never brought into the story, but know I know :P
2422: [20:28:25] * guci0 quit (Ping timeout: 246 seconds)
2423: [20:29:00] <Ryan-Toast> the ones that went dark that is.
2424: [20:29:18] <Ryan-Toast> Stomach: ugh, I have too many boks in my “Want to read” list on goodreads.
2425: [20:30:26] <Stomach> haha - I need to update my goodreads
2426: [20:30:34] <Stomach> have like 15 books I haven't put in there yet
2427: [20:30:41] <Stomach> wish it could just be automatic
2428: [20:31:10] <Ryan-Toast> Stomach: Some kind of hook when you finish a book on your kindle that updates the list.
2429: [20:32:29] <Stomach> yeah that would be ideal
2430: [20:32:36] <Stomach> although my kindle is always in airplane mode anyway
2431: [20:33:20] <Ryan-Toast> same :P
2432: [20:35:46] <irogue_> what kindle version?
2433: [20:35:54] <irogue_> the paperwhite and above have goodreads integration
2434: [20:36:03] * UncleCheese has joined #silverstripe
2435: [20:36:30] <Ryan-Toast> I have the one just before paperwhite ><
2436: [20:36:51] <Ryan-Toast> brb have to restart to enable “dark mode"
2437: [20:36:59] * Ryan-Toast quit (Quit: Ryan-Toast)
2438: [20:38:25] * Ryan-Toast has joined #silverstripe
2439: [20:38:28] * micmania1 has joined #silverstripe
2440: [20:38:53] <irogue_> Ryan-Toast: ah, bugger then
2441: [20:39:18] <Ryan-Toast> Yeah, but I don’t need to upgrade.
2442: [20:39:26] <gavro> oy Marvanni, happy now? :)
2443: [20:39:26] <Ryan-Toast> unless I sit on my current one
2444: [20:39:52] <irogue_> Ryan-Toast: yep
2445: [20:41:45] <irogue_> I originally had a Kindle Keyboard, but I left it on an intercity bus at some point, so I got a Paperwhite
2446: [20:42:31] <Ryan-Toast> I had a keyboard, but it god destroyed when I went overseas and my bag got thrown around at the airport.
2447: [20:42:46] * agencecaza quit (Ping timeout: 246 seconds)
2448: [20:42:55] * hailwood has joined #silverstripe
2449: [20:43:09] <irogue_> the illumination on the paperwhite is quite handy
2450: [20:43:21] <Ryan-Toast> I don’t like reading in the dark./
2451: [20:43:29] <Ryan-Toast> but I can imagine it’s realy handy
2452: [20:43:52] <irogue_> it's useful for things like on buses at night, where there's a reading light but it's never quite enough
2453: [20:44:35] <irogue_> can add just a really minimal amount of illumination and it helps a lot
2454: [20:44:45] <Stomach> yeah I intentionally bought the version below the paperwhite
2455: [20:44:54] <Stomach> because I didn't want the ability to read in the dark
2456: [20:44:56] <Stomach> it would ruin my life
2457: [20:44:58] <Ryan-Toast> lol
2458: [20:45:00] <irogue_> lol
2459: [20:45:40] <hailwood> Hi guys, What would cause my links in the blog to not be working - they are displaying as: http://www.domain.co.nz/[file_link,id=88]
2460: [20:45:58] <Stomach> shortcode parser hates you
2461: [20:46:04] * fb3rasp has joined #silverstripe
2462: [20:46:30] <catcher> Anyone ever get stuck with the "layouttest" template that does nothing but print 'Foo'?
2463: [20:47:03] <hailwood> Stomach: That's what I was thinking - but it seems to only be in the blog that it's throwing a wobbly
2464: [20:47:13] <zippy> god damn it]
2465: [20:47:23] <Stomach> hailwood - what blog module are you using?
2466: [20:47:41] <zippy> house over the road for sale... looks like 'investor' people are looking through it at the moment, probaly get some shitty renters move in
2467: [20:47:43] <zippy> ffs
2468: [20:47:46] <hailwood> Stomach: "silverstripe/blog": "~0.7.0"
2469: [20:48:23] <zippy> UncleCheese: sleep well?
2470: [20:49:16] <Stomach> hailwood - no idea sorry, we use that and it works :\
2471: [20:50:11] <hailwood> Hmm, it would be messed up if it was - but looking through this sites template it's using $content instead of $Content - let's see...
2472: [20:51:27] * Adesso quit ()
2473: [20:52:40] * UndefinedOffset quit (Disconnected by services)
2474: [20:52:41] * UndefinedOffset1 has joined #silverstripe
2475: [20:52:41] * UndefinedOffset1 quit (Client Quit)
2476: [20:54:44] * Colin[pi] has joined #silverstripe
2477: [20:55:17] <UncleCheese> i didn't, but everyone else did, so that's great
2478: [20:55:26] * antmas has joined #silverstripe
2479: [20:55:27] <hailwood> Stomach: If you ever run into the issue of shortcodes not working - Make sure you have a capital C on $Content heh
2480: [20:55:27] <UncleCheese> i was aware of every little noise
2481: [20:55:37] <antmas> morning all!
2482: [20:55:42] <Stomach> hailwood - awesome :D
2483: [20:55:43] <Colin[pi]> HAI ANTMAS
2484: [20:55:47] <Stomach> glad you found it
2485: [20:55:51] <antmas> Colin[pi]: OMGHAI
2486: [20:55:53] <Stomach> UncleCheese - still have hot water this morning then? :D
2487: [20:55:59] <UncleCheese> yeah
2488: [20:56:03] <zippy> haha I was going to ask :P
2489: [20:56:06] <zippy> antmas: morning
2490: [20:56:08] <UncleCheese> no copper has ever been in the house
2491: [20:56:17] <Colin[pi]> UncleCheese: except the police
2492: [20:56:19] <UncleCheese> also, my understanding is you'd have to steal heaps of it to make it worth it
2493: [20:56:24] <JeremyRoundill> Where do you live, UncleCheese?
2494: [20:56:31] <UncleCheese> jville
2495: [20:56:43] <UncleCheese> i finally got the nod from my wife this morning.. she want to move
2496: [20:56:54] <JeremyRoundill> jville's alright.
2497: [20:57:01] <JeremyRoundill> But then again, I'm from the Hutt.
2498: [20:57:04] <UncleCheese> if you're a crackhead? yeah
2499: [20:57:28] <UncleCheese> i just don't like it there.. it's not a very lovable town
2500: [20:57:34] <Colin[pi]> UncleCheese: yeah wives tend to want to GTFO at the first sign of this sort of stuff
2501: [20:57:36] <antmas> zippy: o/
2502: [20:57:44] <UncleCheese> yup
2503: [20:57:45] <Colin[pi]> and I don't blame them
2504: [20:57:46] <zippy> UncleCheese: Moving to nelson?
2505: [20:57:53] <UncleCheese> but they alwso want the best for their kids
2506: [20:58:04] <antmas> UncleCheese: so time to move again?
2507: [20:58:10] <UncleCheese> and i think changing Gus' home is really hard for her
2508: [20:58:18] <UncleCheese> but he's 2
2509: [20:58:31] <UncleCheese> it's not like he's 6 and he's going to lose all his friends by going to a new school
2510: [20:59:09] <JeremyRoundill> 6 year olds don't tend to care about that too much.
2511: [20:59:14] <UncleCheese> zippy i'd love ot move to nelson, but i reckon the commute would kill me
2512: [20:59:27] <UncleCheese> JeremyRoundill true... but as they get older, they just get more settled, you iknow
2513: [20:59:30] <antmas> UncleCheese: work remotely :D
2514: [20:59:31] <zippy> UncleCheese: na, remote is where it's at. If SS Ltd value you then you'll soo find out by asking them
2515: [20:59:37] <zippy> not asking... telling I mean
2516: [20:59:39] * Colin[pi] glances at Kingy whenever people mention commute
2517: [20:59:42] <JeremyRoundill> UncleCheese: Yeah, I was 6 at one point. I think....
2518: [21:00:14] <UncleCheese> zippy i'm not a huge fan of working remotely, but who knows
2519: [21:00:36] <UncleCheese> if you have a collaborative office you can go to, it's great
2520: [21:00:38] <irogue_> [09:56:19] <UncleCheese> also, my understanding is you'd have to steal heaps of it to make it worth it
2521: [21:00:41] <UncleCheese> but working from home blows
2522: [21:00:46] <irogue_> yup, but it doesn't seem to stop the methheads from trying
2523: [21:00:59] <zippy> http://www.bridgestreet.co.nz/
2524: [21:01:11] <antmas> UncleCheese: you can get a office at the collective here for cheap
2525: [21:01:19] <antmas> UncleCheese: aka zippy's link
2526: [21:01:19] <Colin[pi]> amazing what trouble meth heads will go to to get their next hit
2527: [21:01:19] <UncleCheese> where?
2528: [21:01:39] <antmas> UncleCheese: right in Nelson city
2529: [21:01:49] <UncleCheese> $200/month
2530: [21:01:55] <UncleCheese> that's really, really good
2531: [21:02:06] <UncleCheese> i was paying USD $325 back home
2532: [21:02:23] <antmas> yeah
2533: [21:02:25] <JeremyRoundill> That's awesome.
2534: [21:02:26] <UncleCheese> oh wait
2535: [21:02:27] <antmas> they are a cool bunch in there too
2536: [21:02:29] <UncleCheese> no, it's $300/mo
2537: [21:02:32] <UncleCheese> still really good
2538: [21:02:48] <UncleCheese> wait
2539: [21:02:48] <UncleCheese> wtf
2540: [21:02:50] <antmas> it's all imacs in there
2541: [21:03:06] <UncleCheese> oh, a permanent desk is $565
2542: [21:03:08] <UncleCheese> holy christ
2543: [21:03:27] <antmas> I think they are altering their pricing soon
2544: [21:03:36] <antmas> as in making it cheaper as the owner is going to NY
2545: [21:03:56] <irogue_> a lot of co-working spaces go too far
2546: [21:04:13] <antmas> yeah they do
2547: [21:04:17] * mahfuz has joined #silverstripe
2548: [21:04:18] <irogue_> when I was looking, it was like - I just want a chair, a desk and an internet connection
2549: [21:04:22] <antmas> and what does that price pay for, really?
2550: [21:04:32] <antmas> irogue_: exactly
2551: [21:04:46] <antmas> i.e != $500p/m
2552: [21:04:51] <mahfuz> Hi everyone
2553: [21:04:53] <irogue_> they're all giving you desk phones, a phone number that a receptionist answers, access to a gym, etc
2554: [21:04:57] <JeremyRoundill> I'd assume that covers internet and all that jazz.
2555: [21:05:19] <JeremyRoundill> Jeez
2556: [21:05:32] <antmas> free coffee from the cafe there too
2557: [21:05:36] <JeremyRoundill> Start up your own collective office.
2558: [21:05:43] <irogue_> JeremyRoundill: I've often thought about it
2559: [21:05:44] <antmas> JeremyRoundill: ikr
2560: [21:06:00] <zippy> my garage, $200 a month, bring your own chair
2561: [21:06:02] <irogue_> do it in a cheaper area too - all the collective offices in auckland are in the CBD
2562: [21:06:14] <antmas> zippy: better get that consent then :P
2563: [21:06:15] <UncleCheese> i'd rather have a monthly pass
2564: [21:06:20] <irogue_> I'd find a cheap space near a train station a bit further out
2565: [21:06:23] * antmas is watching :|
2566: [21:06:33] <UncleCheese> because you want the incentives to push you to go IN to work, not stay home
2567: [21:06:35] <JeremyRoundill> Haha, if one of my side-projects kicks off we can start one, irogue_ and antmas
2568: [21:07:08] <mahfuz> Hi can anyone help me with a silverstripe issue
2569: [21:07:10] <irogue_> JeremyRoundill: you aware of the one at The Meteor?
2570: [21:07:21] <zippy> mahfuz: what do you think this is.... #silverstripe or something?..
2571: [21:07:22] <antmas> JeremyRoundill: all we'd need to make it legit is light wood desks, lots of toys scattered around the shop and books no one reads
2572: [21:07:24] <zippy> oh wait... it is :D
2573: [21:07:26] <zippy> mahfuz: sure :D
2574: [21:07:27] <JeremyRoundill> irogue_ that's where VO2 was like 2 years ago.
2575: [21:07:36] <irogue_> JeremyRoundill: ah yep. holy shitballs expensive
2576: [21:07:36] <mahfuz> I am new to this channel
2577: [21:07:45] <UncleCheese> e.g. if uyou're already bought a a monthly pass, the incentive is to use it and get the most out of it, where as staying home is a waste of money
2578: [21:07:48] <zippy> #silverstripe where discussions go from power prices to aircons to burger fuel..
2579: [21:07:50] <mahfuz> sorry for my ignorance
2580: [21:07:51] <zippy> mahfuz: whats up
2581: [21:07:51] <antmas> mahfuz: what's the issue?
2582: [21:07:57] <UncleCheese> if you pay by the day, the incentive is, eh, i'll save the 20 bucks
2583: [21:07:59] <zippy> mahfuz: lol your fine, I was being silly..
2584: [21:08:12] <mahfuz> I am also a silverstripe newbie
2585: [21:08:14] <JeremyRoundill> irogue_: VO2 was only renting there, rather than as part of the incubator, but now my boss has to provide them with VO2's turnover and profit.
2586: [21:08:20] <UncleCheese> mahfuz what's up
2587: [21:08:38] <JeremyRoundill> irogue_: And Soda trumpets us as one of their success stories. We were only renting office space. :P
2588: [21:08:58] <JeremyRoundill> mafuz: Just means the question will probably be easier to answer :)
2589: [21:09:05] <mahfuz> I have a Photo class which goes like this
2590: [21:09:28] <mahfuz> can i copy paste code here?
2591: [21:09:28] <irogue_> JeremyRoundill: looked into Soda at one point, was far cheaper to just rent an actual office and get fibre hooked up ourselves
2592: [21:09:34] <antmas> mahfuz: if you're pasting code, use sspaste
2593: [21:09:37] <zippy> mahfuz: paste bin it dude... if it's more then 2 lines :)
2594: [21:09:37] <irogue_> mahfuz: no, use pastie or sspaste or pastebin
2595: [21:09:49] <JeremyRoundill> irogue_: I think that's why we're not there any more. :)
2596: [21:09:55] <irogue_> JeremyRoundill: yep
2597: [21:09:57] <zippy> mahfuz: http://www.sspaste.com/
2598: [21:11:23] <mahfuz> thanks let me paste the relevant code
2599: [21:11:23] <JeremyRoundill> The "r" in print_r stands for "readable", huh?
2600: [21:11:49] <UncleCheese> JeremyRoundill yes
2601: [21:11:57] <irogue_> seems to me like you just need an empty room, an internet connection, toilets and a coffee machine
2602: [21:11:59] <UncleCheese> that's what i've always been told
2603: [21:12:24] <antmas> irogue_: probably some kind of heating
2604: [21:12:28] * gavro quit (Remote host closed the connection)
2605: [21:12:50] <JeremyRoundill> UncleCheese: Seems a tad wacky. I always type print_s instead, doesn't do what I want.
2606: [21:13:03] <UncleCheese> print_s?
2607: [21:13:06] <UncleCheese> never heard of it
2608: [21:13:11] <JeremyRoundill> Neither.
2609: [21:13:31] <antmas> you know
2610: [21:13:32] * irgbit quit (Read error: Connection reset by peer)
2611: [21:13:37] <antmas> windows metro is a bit shit and all
2612: [21:13:39] * muskie9 is now known as _muskie9_
2613: [21:13:39] <irogue_> antmas: yeah, a big heat pump or something. cooling in summer probably a bigger issue than cooling in winter (lots of bodies + computers are effective heating)
2614: [21:13:39] <UncleCheese> Really excited for Firebase's deal with Google.. hopefully it's not another buy-andkill
2615: [21:13:42] <antmas> but it's so easy to design for
2616: [21:13:45] <JeremyRoundill> But "print string" is what pops to mind when I want a string representation of an object.
2617: [21:13:53] <antmas> irogue_: yeah good point
2618: [21:14:04] * irgbit has joined #silverstripe
2619: [21:14:26] <antmas> irogue_: if you set it up properly, it could be a pretty sweet passive income earner
2620: [21:14:49] <Olliepop> How do you manage a hierarchy of Pages of different types? (where each one in the CMS has a gridfield with a list of its children)
2621: [21:15:17] <irogue_> antmas: yeah. seems like it'd be hard to start though - have to find $$ for a lease upfront with no guarantee of popularity
2622: [21:15:19] * catcher quit (Quit: Leaving)
2623: [21:15:47] <irogue_> really need to find a couple of anchor tenants first
2624: [21:16:39] <antmas> irogue_: yeah true
2625: [21:17:04] <mahfuz> Here is a code excerpt from the Photo Class derived from Page - http://www.sspaste.com/paste/show/5446c684318b5
2626: [21:17:26] <Ryan-Toast> Oh cool, you can style Colloquy with css!
2627: [21:17:41] * gavro has joined #silverstripe
2628: [21:17:43] <mahfuz> Here is the code that I am using to search Photos in Page.php - http://www.sspaste.com/paste/show/5446c7d7ce75b
2629: [21:19:30] <mahfuz> The code runs ok but when I add some extra conditions in filterAny like the example i have added at the end of second code page, it doesn't work. I have implemented PhotoCollection as a Parent Page of Photo
2630: [21:20:19] <mahfuz> Thanks to all of you in advance for shedding some light on the issue.
2631: [21:21:09] * _muskie9_ is now known as muskie9
2632: [21:22:34] <zippy> mahfuz: can you post your Photos php plz
2633: [21:23:18] <mahfuz> ok
2634: [21:25:09] <mahfuz> Here is the full code of Photo.php - http://www.sspaste.com/paste/show/5446c9e131dd9
2635: [21:26:24] <zippy> mahfuz: ok, usually people add Page to the name as well, so PhotoPage and PhotoPage_Controller
2636: [21:27:40] <antmas> this ^^
2637: [21:27:49] <Ryan-Toast> My IRC looks much nicer now: http://i.imgur.com/G1OTipU.jpg
2638: [21:27:54] <mahfuz> Basically every Photo is part of a PhotoCollection (PhotoCollection is the Parent of Photo in the sitetree) and also has a PhotoModel (the person whose photo is stored). I want to run my search just to locate the photos based on the search string and show them
2639: [21:28:12] <JeremyRoundill> What are you using, Ryan-Toast?
2640: [21:28:31] <Ryan-Toast> Colloquy, but I discovered that it uses CSS.
2641: [21:28:32] <zippy> Ryan-Toast: Textual is where it's at
2642: [21:28:42] <Ryan-Toast> so I’m just fucking around with it
2643: [21:29:41] <mahfuz> zippy: yeah I have named it Photo instead of PhotoPage as I am new in SilverStripe but this is basically the same
2644: [21:30:14] <zippy> mahfuz: yea, and you don't need to use htmlspecialchars like that. Passing the search query into the filterAny will escape it as needed
2645: [21:30:40] <zippy> mahfuz: eg just do 'Title:PartialMatch' => $form->getSearchQuery(),
2646: [21:30:53] <mahfuz> thanks for the tips
2647: [21:31:20] <zippy> mahfuz: and if it's really the parent in the site tree, then you can access that other page via Parent() or Parent.Title
2648: [21:32:17] * gelignite quit (Quit: http://bit.ly/nkczDT)
2649: [21:33:38] <mahfuz> zippy: private static $many_many = array( 23 'Keywords' => 'Tag' 24 );
2650: [21:33:38] * scpi quit (Quit: scpi)
2651: [21:33:56] <zippy> mahfuz: yea so I don't think you can search keywords like that in that filter any
2652: [21:33:57] <mahfuz> Here Keywords is a Tag class object
2653: [21:34:05] <zippy> sure
2654: [21:34:15] <mahfuz> I can search using Keywords.Title
2655: [21:34:46] <zippy> nice
2656: [21:35:32] <mahfuz> But when I add PhotoCollection.Title in search it doesn't work. I think I have also tried with Parent.Title but will try it once more
2657: [21:35:55] <JeremyRoundill> Why is the Facebook API so terrible?
2658: [21:36:21] <irogue_> -the -API
2659: [21:36:32] * Colin[pi] chuckles
2660: [21:36:32] * fb3rasp quit (Quit: Be back later ...)
2661: [21:36:38] <JeremyRoundill> :P
2662: [21:36:38] <Ryan-Toast> Can someone leave the room and rejoin, so I can style events? :P
2663: [21:36:54] * zippy has left #silverstripe
2664: [21:36:54] * zippy has joined #silverstripe
2665: [21:36:59] <zippy> Ryan-Toast: zing
2666: [21:37:04] <zippy> - /rejoin so handy :D
2667: [21:37:52] <Ryan-Toast> thanks, zippy
2668: [21:38:07] <hailwood> zippy: Do you know the command for leaving just one channel?
2669: [21:38:14] <antmas> Ryan-Toast: you and that blue :P
2670: [21:38:20] <zippy> - /leave ?
2671: [21:38:21] <mahfuz> zippy: Could you please give some direction to me on this? I want to have an advanced search form and show it in some page's sidebar for example the search result page and single Photo Page and show the search result
2672: [21:38:53] <zippy> mahfuz: I did didn't I? Did you clean up that method?
2673: [21:40:01] <mahfuz> sorry zippy. I might have missed that. where is that?
2674: [21:40:29] <mahfuz> I saw it sorry
2675: [21:40:31] <zippy> mahfuz: http://logs.simon.geek.nz/index.php?date=2014-10-22#log_1461565
2676: [21:40:38] <mahfuz> let me have a look at it
2677: [21:41:14] <irogue_> hmmm, what's for lunch today?
2678: [21:41:31] <zippy> the q is soo close to the w eh
2679: [21:41:40] <zippy> command+w & command+q
2680: [21:41:52] <irogue_> yup
2681: [21:43:17] <zippy> irogue_: subway, eat fresh
2682: [21:43:58] <zippy> man phpstorm grinds hard when you open a new project eh
2683: [21:45:00] <mahfuz> zippy: Thanks I will try that. I have some other general issue. One is I want to populate a dropdownfield in a form with the distinct values of a dataobject. How can I do that?
2684: [21:45:02] <Ryan-Toast> zippy: yup.
2685: [21:45:16] <Ryan-Toast> zippy: At home it’s fine since I have it installed on my SSD
2686: [21:45:54] <antmas> yeah phpstorm is tits on a SSD
2687: [21:46:10] <zippy> Ryan-Toast: I have a ssd, it chews out the cpu thou
2688: [21:46:20] <zippy> thou it is a coupleof years old now
2689: [21:46:53] <zippy> mahfuz: like... <%loop MyObjects %><option value="{$ID}">{$Name}</option> <% end_loop %> ?
2690: [21:49:11] <UncleCheese> mahfuz DropdownField::create('Whatever')->setSource(Something::get()->map('ID','Title'));
2691: [21:49:13] <mahfuz> Not in the template. I want that form to be showed in some pages so I created a function in Page.php for the form which is basically and advanced search form for Photo. How can I do it in the function with new DropdownField?
2692: [21:49:42] <UncleCheese> or, you can just do it as the third argument.. DropdownField::create('Something','Something', $source);
2693: [21:49:57] <mahfuz> Thanks UncleCheese. But I want DISTINCT values in the drop-down field.
2694: [21:50:25] <UncleCheese> distinct?
2695: [21:50:51] <mahfuz> I could load values in the dropdownlist but don't know how to load only distinct values
2696: [21:50:53] <UncleCheese> the orm automatically does a select distrinct by default
2697: [21:51:05] <Ryan-Toast> antmas: I love dark blue :P I’m done fucking around with it: http://i.imgur.com/0xWOURu.jpg
2698: [21:51:07] <UncleCheese> "distinct" meaning what?
2699: [21:51:54] <UncleCheese> it's not possible to have a repeating value in an array.. the second one will overwrite the previous one
2700: [21:52:13] <UncleCheese> because the values are the keys, and the text is the value
2701: [21:54:56] * Onfire has joined #silverstripe
2702: [21:54:57] * irgbit quit (Remote host closed the connection)
2703: [21:55:05] <mahfuz> UncleCheese: Could you please look at the code here - http://www.sspaste.com/paste/show/5446d0ce1582d
2704: [21:56:21] <UncleCheese> I don't see how it's possible that you'd have duplicate IDs coming back from that
2705: [21:56:59] <zippy> mahfuz: duplicate AgeRange which have different ids?
2706: [21:57:12] <UncleCheese> no, he said the values are not distinct
2707: [21:57:20] <UncleCheese> do you mean the option text?
2708: [21:57:20] <zippy> so in your db you might have. ID 1 AgeRange 18+. ID 2 AgeRane 18+ as well?
2709: [21:57:39] <UncleCheese> the values should all be distinct.. the text may not be
2710: [21:57:52] <mahfuz> UC: The PhotoModel object has got a AgeRange field which will have duplicate values for all the PhotoModels. I just want to grab the DISTINCT (Like SQL DISTINCT) values and load in the dropdownlist
2711: [21:58:02] <UncleCheese> oh, ok
2712: [21:58:20] <zippy> perhaps you should do. map('AgeRange', 'AgeRange');
2713: [21:58:22] <UncleCheese> so all the option values ARE unique.. ti's the option texts that you want distinct
2714: [21:58:32] <UncleCheese> yeah, that would work
2715: [21:58:34] <zippy> beucase using the ID is going to give you issues...
2716: [21:58:51] <UncleCheese> also, PhotoModel::get() always returns truthy, mahfuz so your conditional block is not required
2717: [21:58:53] <zippy> is someone clients 18+ with an ID of 2, and someone else clicks 18+ with an ID of 5, who is right
2718: [21:59:05] <UncleCheese> PhotoModel::get()->map(...); will never fail
2719: [21:59:32] <UncleCheese> unless you provide map() with bunk arguments
2720: [21:59:51] <UncleCheese> zippy +1
2721: [22:00:00] <mahfuz> yes zippy different ID can have the same values
2722: [22:00:12] <UncleCheese> mahfuz but which one wins?
2723: [22:00:41] <mahfuz> I want the values to be shown unique
2724: [22:00:52] <zippy> right you want the text to be unique
2725: [22:00:58] <mahfuz> I think I should try zippy's suggestion map('AgeRange', 'AgeRange');
2726: [22:01:02] <UncleCheese> right, but given 18+ with ID 2 and 18+ with ID 5, which one gets used?
2727: [22:01:20] <UncleCheese> if you really don't care, then this is what you want:
2728: [22:01:26] <zippy> which ID are you goign to search the database with... or are you just going to search with '18+'
2729: [22:01:46] <UncleCheese> array_flip(PhotoModel::get()->map('AgeRange','ID'));
2730: [22:01:48] <mahfuz> going to search with 18+
2731: [22:02:18] <UncleCheese> oh, well if you don't need the ID, then just use the age ranges as values
2732: [22:07:00] * fb3rasp has joined #silverstripe
2733: [22:08:38] <mahfuz> I UncleCheese and Zippy: I just tried with new DropdownField('AgeRange', 'Age Range', PhotoModel::get()->map('AgeRange','AgeRange'))
2734: [22:08:46] <mahfuz> But it doesn't work
2735: [22:08:52] <zippy> mahfuz: define, doesn't work
2736: [22:09:00] <UncleCheese> "doesn't work"
2737: [22:09:43] <mahfuz> The dropdownlist is still populated with duplicate values
2738: [22:09:49] <zippy> ah right
2739: [22:09:57] <zippy> oh
2740: [22:09:59] <zippy> above it do. var_dump(PhotoModel::get()->map('AgeRange','AgeRange')); die(); and check to make sure you have an array with items in it....
2741: [22:10:11] <zippy> how is that possible...
2742: [22:10:12] <UncleCheese> mahfuz you need to run toArray() against the map
2743: [22:10:20] <mahfuz> now the option element value and label text is same (the AgeRange) values
2744: [22:10:20] <zippy> ah right, not an array :)
2745: [22:10:22] <UncleCheese> zippy it returns an SS_List
2746: [22:11:29] * fb3rasp quit (Ping timeout: 245 seconds)
2747: [22:11:34] <Onfire> hi guys, need a bit of advice: we have a website for a company that is in multiple countries and we are now talking about creating multi sites for each (aus, nz etc), either using subdomains or sub directories. However most of the content will be exactly the same - only a few products are different for legal reasons. What would be the best way to handle this?
2748: [22:11:44] <Onfire> Could use subsites but I think its overkill for the situation
2749: [22:11:51] <UncleCheese> Translatable or Fluent
2750: [22:11:55] <UncleCheese> not subsites
2751: [22:12:13] <Onfire> treat the sites as languages?
2752: [22:12:21] <mahfuz> UC: what will be the code with toArray() added ?
2753: [22:12:31] <UncleCheese> well just use a translation module and set the locale based on teh subdomain
2754: [22:12:38] <UncleCheese> Fluent actually will do that for you
2755: [22:12:38] <zippy> PhotoModel::get()->map('AgeRange','AgeRange')->toArray()
2756: [22:12:43] * muskie9 is now known as _muskie9_
2757: [22:13:11] <Onfire> ah nice, do we still need to manage the content for each 'site'
2758: [22:13:20] <Onfire> for the pages that are tehs ame
2759: [22:13:26] <Onfire> the same *
2760: [22:13:34] <zippy> UncleCheese: may I ask... I have a controller which extends Controller. All is well. I do return ViewableData::renderWith(array('FooController_Page', 'Page')); which renders out my page and works fine except the Menus dont work. This is because the code for Menu is done in the ContentController. I can copy the method out but feels wrong. You run into that before?
2761: [22:13:37] <UncleCheese> by default, all languages have identical site trees
2762: [22:13:45] <UncleCheese> with fluent, you can turn pages off on specific languages
2763: [22:13:59] <Onfire> ah awesome, so it basically duplicates it for you
2764: [22:14:02] <Onfire> then you modify accordingly
2765: [22:14:09] <UncleCheese> well, there's no duplication
2766: [22:14:12] <Onfire> do you know if they work with dataobject and model admins ?
2767: [22:14:25] <UncleCheese> Fluent, yes, translatable is a bit of a struggle
2768: [22:14:27] <Onfire> oh yea i see
2769: [22:14:33] <UncleCheese> the latter is an official SS module, though
2770: [22:14:34] * jedateach has joined #silverstripe
2771: [22:14:47] <UncleCheese> Fluent is made by an SS core dev, though, so i reckon it's solid
2772: [22:14:49] * novaweb has joined #silverstripe
2773: [22:14:51] <Onfire> brilliant thanks UC
2774: [22:15:06] <UncleCheese> zippy yes
2775: [22:15:25] <zippy> mahfuz: sorted?
2776: [22:15:35] <zippy> UncleCheese: how'd you work around that in the end?
2777: [22:16:12] <zippy> I don't really want to extend ContentController or Page since there is no model for my controller
2778: [22:16:19] <UncleCheese> right
2779: [22:16:22] <UncleCheese> yeah, iv'e had this happen a lot
2780: [22:16:23] <UncleCheese> so
2781: [22:16:30] <UncleCheese> i guess without context it's hard to say
2782: [22:16:37] <UncleCheese> but one thing you can do
2783: [22:16:43] <UncleCheese> the second argument of renderWith is the fallback
2784: [22:17:01] <UncleCheese> at the end of the day, if the controller is showing a "page" you have to inform it which page it is
2785: [22:17:22] <UncleCheese> so renderWith(['FooController_Page','Page'], $somePageObj)
2786: [22:18:24] <mahfuz> Thanks UC and Zippy it worked. Could you please help with one more thing?
2787: [22:18:26] <zippy> so could use any page? Guess you'd have to be careful with doing things like $ID as it might pull from that 'other page'
2788: [22:18:44] <UncleCheese> zippy keep in mind, you can always return a controller as an http response
2789: [22:18:56] <UncleCheese> so return new SomeController($somePage);
2790: [22:18:58] * Onfire quit (Quit: Page closed)
2791: [22:19:38] <UncleCheese> mahfuz what's up
2792: [22:19:41] <zippy> $somePage - $somePageObj - that can just be any page?
2793: [22:19:46] <zippy> Page::get()->first() even
2794: [22:20:01] <UncleCheese> it's the page you want to be "current" in the menu
2795: [22:20:20] <UncleCheese> if you don't care, just use HomePage::get()->first()
2796: [22:20:24] <UncleCheese> i guess
2797: [22:20:29] <UncleCheese> or even Page::create() ?
2798: [22:20:43] <UncleCheese> that's what Security does
2799: [22:20:49] <zippy> woo
2800: [22:21:19] <zippy> I shall investigate
2801: [22:21:54] <mahfuz> UC and Zippy: Thanks so much. I am very pleased to find this channel of support for SilverStripe. Earlier it seemed hard for me to find a solution for a simple issue. You guys are doing great for the Silverstripe Community. Please guide me on one last thing for today.
2802: [22:22:09] <zippy> mahfuz: yes, shoot
2803: [22:24:35] <mahfuz> I want to show the Advanced Search Form in some of my pages (like the search result page and single Photo page), so I wrote the function for the form in Page.php and will use it in templates where I want to show the form. Now the form processing function will return some Photos based on the multiple criteria, how do I go about it?
2804: [22:24:38] <zippy> human resources failed the kick starter project eh, not to suprised
2805: [22:24:57] <zippy> mahfuz: what have you done so fr
2806: [22:24:59] <zippy> far
2807: [22:25:14] <zippy> paste the codes
2808: [22:25:14] <zippy> brb
2809: [22:25:51] * irgbit has joined #silverstripe
2810: [22:26:12] <UncleCheese> mahfuz SearchContext comes in very useful here
2811: [22:26:13] <mahfuz> The form is showing up ok in the pages. But I am stuck with showing the results. Am I dealing with the issue correctly like writing the code in Page.php?
2812: [22:26:28] <UncleCheese> mahfuz for all intents and purposes, yes
2813: [22:26:43] <UncleCheese> but it's not great.. the mega-Page.php is an antipattern in SS
2814: [22:27:12] <UncleCheese> ideally, it gets written as an extension and mixed into each page that will use it
2815: [22:27:34] <UncleCheese> but that's a secondary issue
2816: [22:28:52] <mahfuz> All I want to have an advanced search form shown in some of the pages which will search only the Photo objects and show the result. What would be the best way to do it? Could you give some link for similar examples?
2817: [22:30:09] <UncleCheese> happy to help you with what you have, but without any real context it's hard to say
2818: [22:31:05] <UncleCheese> this is a good place to start: http://docs.silverstripe.org/framework/en/reference/searchcontext
2819: [22:31:47] <irogue_> [10:43:17] <zippy> irogue_: subway, eat fresh
2820: [22:31:54] <irogue_> nah, subway is mondays and thursdays :P
2821: [22:31:57] <irogue_> might curry today
2822: [22:32:02] <mahfuz> UC and Zippy: here is the code I have so far - http://www.sspaste.com/paste/show/5446d9822cb89
2823: [22:33:27] <simon_w|work> irogue_, doughnuts.
2824: [22:33:28] <mahfuz> The form is showing up where I want. You can see that I have not inserted any criteria yet in my form processing function yet, so it should show all the photos but its showing server error when I press the search button
2825: [22:34:39] <UncleCheese> ok, first, "server error" is not cool
2826: [22:34:48] <UncleCheese> get your site into dev mode so you can get readable errors
2827: [22:35:03] <UncleCheese> second, your error is that you're using $this->owner-> in Page.php
2828: [22:35:16] <mahfuz> I just wanted to see the function working properly and then I could start adding the conditions.
2829: [22:36:07] <mahfuz> Ok then how should I render the search results from this form then?
2830: [22:36:21] <UncleCheese> <% loop $Results %>
2831: [22:37:27] <mahfuz> But in which template?
2832: [22:37:29] * fb3rasp has joined #silverstripe
2833: [22:37:45] <UncleCheese> _results
2834: [22:39:20] <mahfuz> its not clear to me. What should I write in place of return $this->owner->customise($data)->renderWith(array('RefineSearch_results', 'Page'));
2835: [22:39:20] <zippy> RefineSearch_results - that is what you are telling renderWith
2836: [22:39:51] <zippy> drop the owner->
2837: [22:40:01] <mahfuz> As $this->owner is the error as said by UC
2838: [22:40:18] <zippy> owner-> is used in extensions (I believe) and this is in Page right
2839: [22:40:40] <antmas> ughhh hump day
2840: [22:41:39] <zippy> :)
2841: [22:42:13] <zippy> with ModelAdmin you can manage models, which is all well and good. But is it possible to have a tab of fields I wonder
2842: [22:42:54] <UncleCheese> a tab of fields?
2843: [22:43:15] <zippy> In my model admin, I am managing a model, but I want to setup a tab for settings
2844: [22:43:21] <zippy> so that model admin is an admin area for my module
2845: [22:43:43] <UncleCheese> ok?
2846: [22:43:44] <zippy> my Settings area is too populated
2847: [22:43:45] <Ryan-Toast> Anyone have a decent mailchimp subscription form module?
2848: [22:43:51] <zippy> Ryan-Toast: didn't you write one
2849: [22:43:52] <UncleCheese> oh isee
2850: [22:43:57] * fb3rasp quit (Ping timeout: 260 seconds)
2851: [22:43:58] <UncleCheese> so ti's single-record management, essentially
2852: [22:44:04] <Ryan-Toast> zippy: it’s not finished yet
2853: [22:44:15] <Ryan-Toast> zippy: I just need a basic sign up for a client quickly :P
2854: [22:44:27] <zippy> yea, I guess, I need to think about where the setttings would get saved too
2855: [22:44:40] <UncleCheese> zippy just branch off leftandmain.. model admin will just get in your way
2856: [22:45:21] <zippy> "branch off"?
2857: [22:45:29] <Stomach> Ryan-Toast - composer:
2858: [22:45:30] <Stomach> "drewm/mailchimp-api": "dev-master"
2859: [22:45:32] <UncleCheese> MyAdmin extends LeftAndMain
2860: [22:45:41] <UncleCheese> then create MyAdmin_left.ss and MyAdmin_content.ss
2861: [22:45:44] <UncleCheese> and away you go
2862: [22:46:02] <zippy> oh ok
2863: [22:46:08] <Ryan-Toast> Stomach: chur bro
2864: [22:46:13] <zippy> thansks!
2865: [22:46:23] <zippy> UncleCheese: slow day for you in the office today? or is Wednesday irc channel time
2866: [22:46:29] <UncleCheese> and all you'd really need is a form in that controller
2867: [22:46:34] <mahfuz> The problem was with 'Query' => $form->getSearchQuery()
2868: [22:46:36] <Stomach> http://pastie.org/9666470
2869: [22:46:39] <Stomach> Ryan-Toast ^
2870: [22:47:25] <UncleCheese> ha.. yeah, the IRC channel has to stop being so interesting
2871: [22:47:41] <mahfuz> The form has multiple fields so I guess this is not the way to write for this
2872: [22:47:46] <Ryan-Toast> Stomach: thanks :)
2873: [22:47:52] <mahfuz> What I could do here to pass the search query strings in the template?
2874: [22:48:29] <zippy> mahfuz: check out the $data variable passed into the fucntion, if you dump that you will see your search items i believe
2875: [22:49:24] <UncleCheese> zippy provided the search form method is GET
2876: [22:49:34] <UncleCheese> by default it's a POST, so there will be no query params
2877: [22:49:45] <zippy> well... $request->postVar('field name');
2878: [22:50:01] <zippy> I thought $data was the data from the form... my bad
2879: [22:51:12] <UncleCheese> either way, mahfuz your form methdo should be GET, so users can permalink their searches
2880: [22:54:14] <zippy> good idea...
2881: [22:54:36] <mahfuz> It might be a silly question how do I make my form use GET method through the form function?
2882: [22:56:57] <madmatt> mahfuz: $form->setFormMethod('GET')
2883: [22:57:12] <madmatt> Assuming $form is a 'Form' object
2884: [22:57:20] <mahfuz> thanks
2885: [22:57:42] <madmatt> and you can do setFormMethod('GET', true) if you want it to strictly accept GET requests only, by default it will allow POST or GET
2886: [22:57:51] <madmatt> (IIRC)
2887: [22:58:13] <simon_w|work> Yay! Textual 5 got approved!
2888: [22:58:15] <mahfuz> Thanks madmatt
2889: [22:59:41] <mahfuz> If I use GET method then what this line of code should be - return $this->customise($data)->renderWith(array('RefineSearch_results', 'Page'));
2890: [23:01:59] <zippy> simon_w|work: whats new in it? website is somewhat limited
2891: [23:02:45] <zippy> http://www.codeux.com/textual/help/Changelog-History%3A-Version-5.0.0.kb found it
2892: [23:03:49] <zippy> The CPU no longer overheats when you hold down spacebar.
2893: [23:03:50] <zippy> haha
2894: [23:04:10] <ss23> Lots of things have that in their changelog, zippy
2895: [23:04:17] <simon_w|work> Dammit, that breaks my workflow!
2896: [23:04:25] <ss23> https://github.com/gitlabhq/gitlabhq/blob/master/CHANGELOG#L142
2897: [23:04:55] <UncleCheese> mahfuz it makes no difference
2898: [23:05:01] <zippy> well TIL
2899: [23:05:11] <simon_w|work> http://xkcd.com/1172/ is the source that everyone's started copying
2900: [23:05:52] * hailwood quit (Quit: Leaving.)
2901: [23:07:44] <mahfuz> Thanks UC. How do I add Pagination for the search results with my current code? I know the template code but how do I say how many records per page in my current code?
2902: [23:11:07] * Zauberfisch quit (Ping timeout: 245 seconds)
2903: [23:11:58] * Zauberfisch has joined #silverstripe
2904: [23:13:00] <UncleCheese> mahfuz PaginatedList
2905: [23:13:17] <UncleCheese> http://docs.silverstripe.org/framework/en/howto/pagination
2906: [23:15:45] * camfindlay quit (Quit: camfindlay)
2907: [23:16:20] <jordanmk> UncleCheese, nice work on that BetterButtons module, it's awesome
2908: [23:16:32] <UncleCheese> thanks, jordanmk yeah, i'm happy with it
2909: [23:16:37] <mahfuz> UC should I create $results = new PaginatedList(Photo::get()->filterAny(array( 'Title:PartialMatch' => $query, 'Keywords.Title:PartialMatch' => $query, )));
2910: [23:16:39] <UncleCheese> took a few versions to get right
2911: [23:16:52] <UncleCheese> ultimately, it's just a massive monkey patch for GridFieldDetailForm_ItemRequest, though
2912: [23:17:14] <mahfuz> and then write the template accordingly?
2913: [23:17:18] <UncleCheese> mahfuz no, you only need to put the results in a paginated list
2914: [23:17:32] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
2915: [23:18:00] <UncleCheese> wait
2916: [23:18:10] <UncleCheese> can you paste the code somewhere?
2917: [23:19:23] <mahfuz> Thanks UC. I will try that. You and zippy made my day. Thanks so much. I will come back here when I need. By the way, I don't find any latest Book on SilverStripe in the market. Will there be any soon?
2918: [23:20:58] <simon_w|work> mahfuz, not likely.
2919: [23:22:28] <mahfuz> UC: Here is the code after adding PaginatedList, is it okay? - http://www.sspaste.com/paste/show/5446e54a7c0ad
2920: [23:23:18] <UncleCheese> mahfuz we're talkign about it, but ultimately it's a really hard thing to capture
2921: [23:23:23] <UncleCheese> since the info changes so fast
2922: [23:25:24] <irogue_> my inclination would be to have something written in the style of a book, but actually as a wiki
2923: [23:25:39] <simon_w|work> WikiBooks! :p
2924: [23:25:45] <irogue_> yep
2925: [23:25:51] <mahfuz> It has been years since the last official book and many things has been changed, new classes are introduced, some are deprecated, there should be a Book to help new developers like us.
2926: [23:25:58] <UncleCheese> mahfuz this: $paginatedresults = new PaginatedList($result);
2927: [23:26:02] <UncleCheese> needs to be this: $paginatedresults = new PaginatedList($results);
2928: [23:26:10] <simon_w|work> mahfuz, but then the next version comes out at the book's outdated again
2929: [23:26:16] <simon_w|work> That's the problem.
2930: [23:26:28] <UncleCheese> mahfuz and i believe you need to pass $this->request as the second argument, but that may be optional
2931: [23:26:59] <UncleCheese> mahfuz we're in the process of building up a really robust education section on ss.org and the plan is to have an early release by EOY
2932: [23:27:36] <UncleCheese> it will serve newcomers much better than a book could, as it will live and breathe with changes to the API, and will be more socially connective
2933: [23:28:00] <mahfuz> What is the function of $this->request ?
2934: [23:28:17] <mahfuz> That would be great UC.
2935: [23:28:43] <UncleCheese> new PaginatedList($results, $this->request);
2936: [23:29:02] <UncleCheese> mahfuz the paginated list needs to be aware of the request, since that is the source of the current page parameter
2937: [23:29:15] <UncleCheese> i.e. ?start=10
2938: [23:29:30] <mahfuz> Thanks once again UC
2939: [23:29:49] <mahfuz> Thanks everyone. Bye for today. See you soon...
2940: [23:29:53] <Stomach> how the fudge do you do validation on a form, not a field
2941: [23:29:55] <Stomach> >_<
2942: [23:29:59] <Stomach> and get the message to the template
2943: [23:30:04] <Stomach> my brain is dying
2944: [23:30:20] <jordanmk> @simon_w: i'm having trouble doing what you said yesterday to try and add a header/paragraph of text to the top of a ModelAdminExtension
2945: [23:30:38] <simon_w|work> Stomach, $form->setMessage() (or setSessionMessage(), one of those)
2946: [23:30:56] <jordanmk> my getEditForm function looks like this currently: http://pastebin.com/k1eNLeUq
2947: [23:31:00] <UncleCheese> $form->sessionMessage("You fucked it up, Skippy!", "bad");
2948: [23:31:49] <Stomach> cant seem to do that in the validate function :S
2949: [23:31:50] <simon_w|work> jordanmk, $form->Fields()->addFieldToTab('Root.Main', HeaderField::create(...), $gridFieldName);
2950: [23:32:04] <simon_w|work> Stomach, $this->form if you're in a Validator
2951: [23:32:17] <Stomach> nah, in CustomForm::validate()
2952: [23:32:49] <Stomach> ah sessionMessage works but setMessage doesn't
2953: [23:33:08] <Stomach> bye half an hour >_<
2954: [23:34:10] * simon_w|work is doing three things at onc
2955: [23:34:18] <simon_w|work> All three things are really slow :(
2956: [23:34:37] <jordanmk> @simon_w, yeah i've managed to add a field using that method, but it's below the GridField. how could i get it at above the GridField?
2957: [23:34:55] <simon_w|work> jordanmk, ", $gridFieldName)"
2958: [23:35:59] <jordanmk> ah i missed that
2959: [23:36:56] <jordanmk> looks like $form->Fields() returns a FieldList
2960: [23:37:07] <jordanmk> [User Error] FieldList::addFieldToTab() Tried to add a tab to object 'FieldList' - 'Root' didn't exist.
2961: [23:37:13] * camfindlay has joined #silverstripe
2962: [23:39:38] <jordanmk> @simon_w, any ideas?
2963: [23:40:02] * fb3rasp has joined #silverstripe
2964: [23:44:23] * fb3rasp quit (Ping timeout: 240 seconds)
2965: [23:44:42] * gavro quit (Remote host closed the connection)
2966: [23:52:48] * _muskie9_ is now known as muskie9
2967: [23:53:04] <jordanmk> @simon_w is there a way we acn figure out what the name of the root tab is? or is there not a root tab for a ModelAdminExtension?
2968: [23:55:45] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
2969: [23:56:05] * muskie9 has joined #silverstripe
2970: [23:58:49] * veb has joined #silverstripe
2971: [23:58:54] * jenniferaslan quit (Remote host closed the connection)

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