#silverstripe IRC Log

IRC log for 14 May 2014

All timestamps are in UTC.

1: [00:01:08] * HappyPhantom has joined #silverstripe
2: [00:01:52] * HappyPhantom is now known as bridgetm
3: [00:08:12] <Ryan-Toast> zippy__: the author of most of the articles on codrops
4: [00:08:21] <zippy__> codrops ?
5: [00:18:55] * nimeso quit (Quit: Page closed)
6: [00:24:51] <Ryan-Toast> the links Colin ahs been posting
7: [00:26:57] <simon_w> So, Colin[pi], going to leave the country after that budget?
8: [00:33:11] <Colin[pi]> simon_w: looking like a more appealing option
9: [00:33:25] <simon_w> Colin[pi], but you could build some roads!
10: [00:33:39] <Colin[pi]> YAY ROADS
11: [00:33:51] <Colin[pi]> and taxing the sick to pay for medical research!
12: [00:34:08] <simon_w> But firing all the medical researchers!
13: [00:35:27] <Colin[pi]> it's not even so much the fact of what they're doing that pisses me off, I knew they would... it's the fact that they have such a complete disregard for pre-election "promises"
14: [00:35:48] <Colin[pi]> and still boldly claim "We're not breaking any promises"
15: [00:36:00] <Colin[pi]> sorry guys, you might think you can do Jedi mind tricks, but it aint working
16: [00:47:19] <simon_w> I must say, dealing with an Air NZ travel centre is a lot nicer than dealing with their phone booking people
17: [00:47:40] <simon_w> And no service or credit card fee!
18: [00:48:26] * jenniferaslan quit (Quit: jenniferaslan has left the room)
19: [00:51:30] <ss23> speaking of flying, I need to get my "help I have diabetes be nice to me" letter before I go
20: [00:59:11] <simon_w> Now playing stump the help desk!
21: [01:02:55] <ss23> lol
22: [01:02:57] <ss23> What did you ask? :P
23: [01:06:45] <simon_w> Where's my air points advance gone?
24: [01:06:47] * chillu_23 has joined #silverstripe
25: [01:07:07] <simon_w> Gah, sun on my screen
26: [01:07:12] <simon_w> Need to move seat
27: [01:18:21] * travis-ci has joined #silverstripe
28: [01:18:21] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2571 (3.1.5 - 830c107 : Damian Mooyman): The build was fixed.
29: [01:18:21] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.5
30: [01:18:21] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/25035604
31: [01:18:21] * travis-ci has left #silverstripe
32: [01:20:05] <simon_w> Well, https://git.simon.geek.nz/simon_w/silverstripe-framework/commit/b7f754695a3e9ade5b1742a15503f20850179741 is my first change that I could push upstream
33: [01:22:06] * Tanger has joined #silverstripe
34: [01:23:00] * travis-ci has joined #silverstripe
35: [01:23:01] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#885 (master - 6a69134 : Damian Mooyman): The build passed.
36: [01:23:01] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/b3699281c076...6a69134fb045
37: [01:23:01] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/24939498
38: [01:23:01] * travis-ci has left #silverstripe
39: [01:23:47] * Ryan-Toast quit (Quit: Ryan-Toast)
40: [01:23:49] <simon_w> ss23, pull it so i don't have to PR? :p
41: [01:24:37] <ss23> :O
42: [01:25:05] <ss23> simon_w: You know that's hard!
43: [01:25:19] <simon_w> Here, I'll make it easier for you
44: [01:25:30] <simon_w> curl https://git.simon.geek.nz/simon_w/silverstripe-framework/commit/b7f754695a3e9ade5b1742a15503f20850179741.patch | git am -
45: [01:26:52] * Ryan-Toast has joined #silverstripe
46: [01:26:59] <ss23> ty
47: [01:27:00] <ss23> I will do
48: [01:29:19] * UncleCheese quit (Quit: UncleCheese)
49: [01:39:41] <ss23> simon_w: https://github.com/silverstripe/silverstripe-framework/pull/3134
50: [01:40:18] <simon_w> ss23, probably want to drop the +x flag from the file
51: [01:40:34] <simon_w> I need to find out why they keep getting added. I have a feeling it's SMB
52: [01:40:36] <ss23> haha
53: [01:40:42] <simon_w> Also, thanks
54: [01:40:46] <ss23> didn't notice the +x
55: [01:41:01] * pinc has joined #silverstripe
56: [01:41:24] * travis-ci has joined #silverstripe
57: [01:41:24] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2573 (3.1 - c3c3145 : Damian Mooyman): The build was fixed.
58: [01:41:24] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/f5569078e555...c3c3145d37ac
59: [01:41:24] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/25038575
60: [01:41:24] * travis-ci has left #silverstripe
61: [01:42:39] * pinc quit (Client Quit)
62: [01:51:57] <ss23> simon_w: OI, YOU DIDN'T UPDATE THE TESTS
63: [01:51:57] <ss23> :O
64: [01:52:05] <ss23> *bah*
65: [01:52:11] <ss23> Now I have to update the tests for your change too...
66: [01:52:14] * ss23 glares at simon_w
67: [01:52:17] <simon_w> ss23, I don't have any tests to update!
68: [01:52:20] <ss23> You pulled me into this so I had to be the one to do it, didn't you
69: [01:52:21] <ss23> ;_;
70: [01:52:38] <simon_w> Nah, because I'm too lazy to set up a proper flow at the moment :p
71: [01:52:58] <ss23> simon_w: I don't know enough about the test to make it pass!
72: [01:53:32] <simon_w> Probably just change it from calling get_namespaced_class_parser to get_class_parser?
73: [01:53:58] <ss23> public function testNamesapcedClassDefParser() {
74: [01:54:03] <ss23> it's specifically testing the namespace'd version?
75: [01:54:27] <simon_w> Because it's a tie-over from when 3.0 was going to support 5.2
76: [01:54:35] <simon_w> Fine, I'll do it myself :p
77: [01:54:42] * spronk quit (Quit: spronk)
78: [01:54:46] <simon_w> Once I've got this TradeMe stuff done
79: [01:54:58] <ss23> :D
80: [01:54:58] <ss23> ty
81: [01:55:00] * spronk has joined #silverstripe
82: [01:56:06] <Stomach> haven't you been working on the trademe stuff for weeks? :D
83: [01:56:22] <simon_w> Yup
84: [01:56:29] <simon_w> That's how bad the API os
85: [01:56:45] <ss23> Back in my day trademe made you upload files through FTP and that was all you got
86: [01:57:43] <spronk> back in my day trademe didnt even have an API
87: [01:58:49] <Stomach> you guys are so old
88: [02:08:51] <spronk> shhh
89: [02:11:18] <simon_w> ss23, you keep saying that like that's worse
90: [02:11:34] <ss23> Well...
91: [02:11:41] <ss23> I wouldn't say it's better...
92: [02:12:56] * UncleCheese_ has joined #silverstripe
93: [02:15:11] <Ryan-Toast> The fuck is this weather today?
94: [02:15:32] <Stomach> its just fucked up
95: [02:15:41] <ss23> Weather seems okay here
96: [02:15:44] <ss23> Overcast, cold, I <3 it
97: [02:15:44] <Stomach> got drenched as walking to the bus this morning, then in town its just fine and sunny and nice
98: [02:16:08] <simon_w> It's sunny here
99: [02:16:12] <simon_w> Lots of sunny
100: [02:16:52] <Ryan-Toast> The constant change of blue sky to thunder clouds tires me.
101: [02:22:15] <Stomach> cant see any clouds here
102: [02:22:18] <Stomach> fucking skyrises
103: [02:28:17] <ss23> It would be great if you could buy skittles with M's printed on them
104: [02:30:46] <spronk> o_)o
105: [02:31:23] <UncleCheese_> fucking 10 degrees and shit
106: [02:31:29] <UncleCheese_> it's rainy as
107: [02:34:27] <Turnerj> Here it is 21 degrees, mostly sunny :D
108: [02:39:02] <simon_w> 17 degrees and way too sunny
109: [02:41:47] <Turnerj> simon_w: Maybe cover the windows? :P
110: [02:41:57] <simon_w> No blinds :(
111: [02:43:33] * spronk quit (Ping timeout: 276 seconds)
112: [02:45:39] <Turnerj> simon_w: Macgyver something from what is around you?
113: [02:45:41] * spronk has joined #silverstripe
114: [02:45:54] <simon_w> Turnerj, I moved sideways to between the windows
115: [02:46:03] <zippy__> thats hardcore..
116: [02:46:13] <zippy__> not enough pocket knife though
117: [02:46:19] <Turnerj> simon_w: I totally would have over engineered something
118: [02:46:40] <Turnerj> It is a radical notion to just move between the windows
119: [03:04:16] * babak has joined #silverstripe
120: [03:12:04] * chillu_23 quit (Quit: chillu_23)
121: [03:17:19] * willagain has joined #silverstripe
122: [03:17:25] <willagain> hi there
123: [03:18:06] <willagain> todays challenge is to use akismet with userforms using the spamprotection module. simple right? nope.
124: [03:18:31] <willagain> i get an error in the cms - [User Error] Uncaught ReflectionException: Class does not exist
125: [03:18:34] <zippy__> oh, it's willagain
126: [03:18:48] <willagain> yeah, thats how i feel zippy
127: [03:19:46] <Stomach> what class is it saying does not exist
128: [03:20:35] <willagain> i can't find that in the trace, but it has a line saying: Injector->get(,,)
129: [03:20:38] <willagain> which looks sus
130: [03:21:38] <Stomach> it is indeed, sus
131: [03:22:41] <willagain> so, there aren't many steps where i could have stuffed this up, as its basicly download both modules, and add Config::inst()->update('FormSpamProtectorExtension', 'default_spam_protector', 'AkismetSpamProtector'); to the _config.php
132: [03:23:53] <Stomach> dev/build ? flushed
133: [03:24:17] * chillu_23 has joined #silverstripe
134: [03:27:06] <willagain> i've fixed it. yay.
135: [03:27:27] <willagain> the documentation for akismet is wrong, only a bit though
136: [03:27:41] <willagain> it's FormSpamProtectionExtension not FormSpamProtectorExtension
137: [03:28:11] <Stomach> cool, nice work
138: [03:28:17] * UncleCheese_ quit (Quit: UncleCheese_)
139: [03:28:42] <willagain> ta. ill go tell the gitrepo. thanks for listening.
140: [03:29:42] <Stomach> antmas are you alive
141: [03:34:51] <simon_w> Nah bro
142: [03:36:40] <Stomach> thats pretty stink
143: [03:40:42] <zippy__> hm
144: [03:41:06] <zippy__> I forgot, if I have an object with a has many, how can I get that object by queriying the relation
145: [03:41:12] <zippy__> with ss2.4
146: [03:42:07] <zippy__> Foo has many Bar. DataObject::get_one('Foo', "Bar.Title='Something'"); or something
147: [03:42:12] <pippy_> https://github.com/silverstripe/silverstripe-framework/issues/3135
148: [03:44:00] <Stomach> DataObject::get('Foo', "ID = $Bar.FooID"); ?
149: [03:46:22] <Colin[pi]> zippy__: Bar will have a has_one to Foo, right?
150: [03:46:30] <zippy__> ah, indeed it will
151: [03:46:43] <Colin[pi]> so you'd query based on the has_one relation in Foo
152: [03:46:45] <Colin[pi]> oops Bar
153: [03:46:58] <Colin[pi]> Bar.ParentID or something
154: [03:47:15] <Colin[pi]> Bar.FooID, as Stomach said
155: [03:59:20] * cloph_away has joined #silverstripe
156: [03:59:27] * cloph quit (Ping timeout: 252 seconds)
157: [04:06:10] * chillu_23 quit (Quit: chillu_23)
158: [04:06:15] <willagain> white screen of error: Call to a member function obj() on a non-object in SSViewer.php on line 90
159: [04:06:25] <willagain> what does it mean?
160: [04:10:14] <Turnerj> willagain: Try ?flush=all
161: [04:10:58] <willagain> i did that a few times
162: [04:12:25] <Turnerj> What did you do before this error happened? Include a new template or module?
163: [04:12:36] * chillu_23 has joined #silverstripe
164: [04:13:13] <Turnerj> If I understand that line of code correctly, it is looping over data in your template
165: [04:13:25] <willagain> no, i added an if $Records else "sorry, rubbish search try again" - type thing
166: [04:14:08] <Turnerj> Might be a syntax error in the template
167: [04:15:49] <Turnerj> willagain: Do you want to link me to a snippet of the code you wrote?
168: [04:18:38] * hamror quit (Ping timeout: 240 seconds)
169: [04:20:10] <willagain> thanks turner, i think i got it. It's because im testing the form with nothing entered in the locaiton field, so it's choking on <% if $Location || $Tag %> <% include Map %> <% end_if %>
170: [04:20:44] <willagain> just need to check presence of $Location in a more robust way i guess?
171: [04:25:37] * hamror has joined #silverstripe
172: [04:38:30] * superspring has joined #silverstripe
173: [04:44:28] <zippy__> yay, it seems snap have fixed their ipv6!
174: [04:44:46] <ss23> yay!
175: [04:46:20] <zippy__> help desk solution was to turn off ipv6 on the router initially…. great fix guys
176: [04:47:02] <ajmitch> they can be like that at times
177: [04:50:54] <simon_w> I want https://wiki.php.net/rfc/size_t_and_int64_next to succeed just to annoy the guy from Zend who's complaining that it causes problems for his private alpha reimplementation of parts of the engine
178: [04:52:50] <ss23> If you mean phpng, it's not private anymore!
179: [04:53:03] <ss23> But yes, I was like "wtf" @ him being all "Oh I kept it private to work on it"
180: [04:53:06] <ss23> fuck dat
181: [04:54:45] <simon_w> Guess what was the first thing he did after he "open"ed it?
182: [04:55:06] <simon_w> Complained that the 64bit changes would make more work for phpng
183: [04:55:27] <simon_w> And that he wouldn't work with the community to include them in phpng
184: [04:56:31] <ss23> mm, I see his posts
185: [04:56:32] <ss23> I <3 drama
186: [04:57:23] * hamror quit (Ping timeout: 252 seconds)
187: [04:58:32] <zippy__> dmitry ?
188: [05:01:08] <ss23> Oh
189: [05:01:09] <ss23> yeah
190: [05:01:14] <ss23> I do like the "remove dead sapis" though
191: [05:01:15] <ss23> :D
192: [05:01:21] * nickmolhoek quit (Quit: nickmolhoek)
193: [05:01:35] * bridgetm quit ()
194: [05:05:08] * hamror has joined #silverstripe
195: [05:09:48] * willagain quit (Ping timeout: 240 seconds)
196: [05:18:08] * Ryan-Toast quit (Quit: Ryan-Toast)
197: [05:21:27] <guci0> ...
198: [05:21:32] <ss23> ....
199: [05:21:36] <guci0> ;)
200: [05:24:15] <ss23> ;)
201: [05:30:02] * anselmdk has joined #silverstripe
202: [05:36:18] <guzzlefry> hm, someone's been hacking Security.php and MemberLoginForm.php
203: [05:36:37] <ss23> "hacking"
204: [05:36:43] <guzzlefry> like
205: [05:36:51] <guzzlefry> major edits instead of doing the proper way :P
206: [05:37:03] * zippy__ quit (Ping timeout: 245 seconds)
207: [05:37:44] <ss23> Like, in a fork? :O
208: [05:38:16] <guzzlefry> nah
209: [05:38:25] <guzzlefry> an Extension would do for this I bet
210: [05:50:19] * Ryan-Toast has joined #silverstripe
211: [06:09:18] * Ryan-Toast quit (Quit: Ryan-Toast)
212: [06:15:10] * chillu_23 quit (Quit: chillu_23)
213: [06:15:25] * toebu has joined #silverstripe
214: [06:25:10] * toebu is now known as oetiker
215: [06:28:44] * Shrike_Finland has joined #silverstripe
216: [06:30:36] <oetiker> good morning
217: [06:30:49] <oetiker> anyone here fluent with fluent ?
218: [06:34:11] * chillu_23 has joined #silverstripe
219: [06:39:41] * chillu_23 quit (Quit: chillu_23)
220: [06:58:50] * wmk has joined #silverstripe
221: [07:03:26] * oetiker quit (Remote host closed the connection)
222: [07:07:51] * oetiker has joined #silverstripe
223: [07:16:53] * UncleCheese_ has joined #silverstripe
224: [07:17:49] * spronk quit (Ping timeout: 252 seconds)
225: [07:34:18] <ss23> http://i.imgur.com/Wn75wt6.png
226: [07:34:55] <simon_w> Seems about right
227: [07:35:33] <ss23> http://vimeo.com/95066828 is the talk
228: [07:35:34] <ss23> really good
229: [07:35:38] <ss23> from the guy who did The Night Watch
230: [07:45:10] * stnvh has joined #silverstripe
231: [07:54:26] * cloph_away is now known as cloph
232: [07:55:08] * g4b0_ has joined #silverstripe
233: [07:56:58] * walter_ has joined #silverstripe
234: [07:57:34] <walter_> hi guys
235: [07:58:10] <walter_> I have ClassA which has_many ClassB, and ClassB has_one ClassA
236: [07:58:18] * an_Eskimo quit (Ping timeout: 240 seconds)
237: [07:58:55] <walter_> is it possible to find out ID of ClassA object when new ClassB is created, but before I hit "save"?
238: [08:02:28] <simon_w> walter_, is this for use inside a GridField?
239: [08:02:35] <walter_> nope
240: [08:02:58] <walter_> every Group has default upload directory, and Members can upload their avatar
241: [08:03:18] <walter_> something like that
242: [08:03:52] <simon_w> Then, unless you pass the information through your form, no
243: [08:03:53] * g4b0_ quit (Ping timeout: 264 seconds)
244: [08:03:57] <walter_> wait...
245: [08:04:11] <walter_> you may be right about GridField
246: [08:04:29] <walter_> I don't have option to create standalone ClassB
247: [08:04:58] <walter_> only from "Add new ClassB" above GridField on ClassA edit page
248: [08:05:10] <simon_w> So, what do you want to do with the ID?
249: [08:05:51] <walter_> to set default upload directory on upload field in ClassB edit form
250: [08:06:12] <walter_> since default upload directory is saved on ClassA
251: [08:06:33] <simon_w> Well, there's no easy way to do that
252: [08:06:44] <walter_> is th
253: [08:06:51] <walter_> *is there a way at all?
254: [08:08:01] <simon_w> You can hook into the GridFieldDetailForm_ItemRequest, grab the GridField from that, grab the list from the GridField then get the join ID from that
255: [08:08:32] <walter_> from ClassB getCMSFields or?
256: [08:08:49] * kinglozzer has joined #silverstripe
257: [08:09:10] <simon_w> No, from where the grid field's constructed. Probably ClassA's getCMSFields
258: [08:11:02] <walter_> ok, but how can I pass it to ClassB getCMSFields?
259: [08:13:22] <simon_w> You don't. You use the hook in GridFieldDetailForm_ItemRequest to change the edit form after it's been created
260: [08:15:51] <walter_> will try :) thank you!
261: [08:19:24] * anselmdk quit (Quit: anselmdk)
262: [08:20:49] * anselmdk has joined #silverstripe
263: [08:37:21] * g4b0_ has joined #silverstripe
264: [09:02:31] * anselmdk quit (Quit: anselmdk)
265: [09:04:12] * simon_w|air has joined #silverstripe
266: [09:05:13] * Fisix_AIX has joined #silverstripe
267: [09:05:42] <UncleCheese_> TradeMe finally has a map based search
268: [09:06:13] <Fisix_AIX> Hello, When I save a DataObject in the cms I would like to take the Name and the update another field with it, on save and create? How would I go about doing this?
269: [09:07:25] <walter_> simon_w: finally fixed it
270: [09:07:26] <walter_> http://www.sspaste.com/paste/show/53732ed4c637f
271: [09:07:29] <simon_w|air> Fisix_AIX, onBeforeWrite
272: [09:09:37] <UncleCheese_> Fisix_AIX: you can use onBeforeWrite for that, but often times a more elegant way to solve that problem is with a dynamic getter, so that you’re not replicating data
273: [09:10:14] <UncleCheese_> for instance, a getFullName() function in lieu of an onBeforeWrite hook that stores FirstName and Surname in the FullName field.
274: [09:11:58] <Fisix_AIX> Ok, great, thanks for you help
275: [09:12:50] * anselmdk has joined #silverstripe
276: [09:19:46] <walter_> simon_w|air: thanx for pointing me in right direction
277: [09:21:20] <kinglozzer> Hmm, anyone know if there's a nicely formatted list of PHPCS rules anywhere?
278: [09:23:51] <kinglozzer> I.e. with nicer presentation than "PSR2.ControlStructures.ElseIfDeclaration"
279: [09:23:57] <kinglozzer> They're kinda hard to read :P
280: [09:30:03] * ocm has joined #silverstripe
281: [09:30:09] <ocm> howdy
282: [09:34:22] <kinglozzer> hey ocm
283: [09:37:49] * marvanni has joined #silverstripe
284: [09:38:26] * Tanger quit (Quit: Tanger)
285: [09:49:23] <Fisix_AIX> Is there anyway to put newlines in a readOnlyField or another way to show read only code snippets ?
286: [09:51:21] <irogue_> Fisix_AIX: i'd probably use a LiteralField
287: [09:52:35] <irogue_> wrap the code in <pre> and ensure you htmlentities it all
288: [09:55:48] * Zauberfi1ch is now known as Zauberfisch
289: [10:08:23] * DesignerX quit (Quit: Konversation terminated!)
290: [10:21:03] * Pyzzk has joined #silverstripe
291: [10:21:30] <Pyzzk> ermagherd
292: [10:21:45] <Pyzzk> 2.5 days of week in solid meeting.
293: [10:21:58] <Pyzzk> singular. Same topic, consecutive days.
294: [10:25:55] <kinglozzer> Pyzzk: Damn... sounds fun
295: [10:32:04] <Pyzzk> nearly fell asleep at the end there.
296: [10:32:08] <Pyzzk> want more bacon :<
297: [10:32:23] <Pyzzk> Have ham though. Not all bad.
298: [10:39:58] * g4b0_ quit (Ping timeout: 240 seconds)
299: [10:45:32] <kinglozzer> Pyzzk: ham !== bacon
300: [10:45:45] <kinglozzer> Maybe != is more appropriate
301: [10:45:50] <kinglozzer> :P
302: [10:47:19] <kinglozzer> No, !==
303: [10:47:24] * kinglozzer slow today
304: [10:47:32] <kinglozzer> ham == bacon, but ham !== bacon
305: [10:47:48] <kinglozzer> BACON > HAM IS WHAT I'M SAYING
306: [10:48:06] <wmk> reminds me of a election spot of "Die Partei" which is pro EU and con EU, both at the same time
307: [10:49:48] <Pyzzk> omg yuss, fucking finally. http://libsass.org/
308: [10:50:04] <Pyzzk> Now, is there a php module for it yet? :<
309: [10:50:31] <wmk> ?? why
310: [10:50:35] <Pyzzk> kinglozzer: yes, you're right. Bacon !== Ham, but ham good when no bacon :/
311: [10:51:00] <kinglozzer> Yeah, it's a good compromise
312: [10:51:06] <Pyzzk> wmk: because that'll stop ruby fucks getting their knickers in a twist over shitty preprocessors.
313: [10:51:16] * DesignerX has joined #silverstripe
314: [10:51:17] <Pyzzk> kinglozzer: plus brie.
315: [10:51:37] <Pyzzk> and spiced tomato relish.
316: [10:51:38] <wmk> Pyzzk, you make me feel hungry
317: [10:51:49] <Pyzzk> and spinach I think
318: [10:51:52] <Pyzzk> on sourdough
319: [10:52:00] <kinglozzer> I have a ham and cheese toastie waiting for me at home today actually
320: [10:52:03] <Pyzzk> because winning
321: [10:52:17] <Pyzzk> except it's still stuffy as fuck in here.
322: [10:53:41] <Pyzzk> About This project is the brainchild of Hampton Catlin, the original creator of Sass
323: [10:53:48] <Pyzzk> ha, eat that!
324: [10:54:54] * UncleCheese_ quit (Quit: UncleCheese_)
325: [10:56:18] * walter_ quit (Ping timeout: 240 seconds)
326: [10:57:55] * spronk2 has joined #silverstripe
327: [11:00:44] * Shrike_Finland quit (Quit: Leaving.)
328: [11:02:47] * Fisix_AIX quit (Quit: Leaving)
329: [11:06:34] * DesignerX quit (Quit: Konversation terminated!)
330: [11:07:19] * DesignerX has joined #silverstripe
331: [11:07:27] * DesignerX quit (Client Quit)
332: [11:20:22] <irogue_> Pyzzk: nice
333: [11:20:37] * an_Eskimo has joined #silverstripe
334: [11:21:11] * an_Eskimo quit (Client Quit)
335: [11:22:04] * an_Eskimo has joined #silverstripe
336: [11:22:21] * an_Eskimo quit (Client Quit)
337: [11:24:05] <Pyzzk> irogue_: mmm. Although just learnt that bootstrap is made with less, not sass.
338: [11:24:15] <Pyzzk> so sassy twats can stuff that in their pipe and smoke it!
339: [11:24:39] <Pyzzk> But on the other hand bootstrap is made by twitter and used by twits.
340: [11:24:57] <Pyzzk> still, foundation is all sass and private company derp.
341: [11:25:13] <Pyzzk> Fix bug, place pull requset, get ignored for 6 months, then closed with no reasoning.
342: [11:25:18] <Pyzzk> BUG STILL EXISTS
343: [11:26:18] <Pyzzk> irogue_: look what happens immediately AFTER calling the callback: https://github.com/zurb/foundation/blob/master/js/foundation/foundation.reveal.js#L186
344: [11:26:34] <Pyzzk> HOW TO MODIFY DATA IN CALLBACK THEN YOU FUCKING TWATS
345: [11:26:41] <Pyzzk> derp derp derp
346: [11:28:08] <Pyzzk> also, libsass is written in C++, not C, derpy ruby coder.
347: [11:28:19] <Pyzzk> It's like calling Javascript Java.
348: [11:28:26] <Pyzzk> NOPE!
349: [11:28:36] <Pyzzk> #justsayn
350: [11:28:39] <irogue_> i tried foundation
351: [11:28:41] <irogue_> really didnt like
352: [11:28:43] <irogue_> big bugs
353: [11:28:49] <irogue_> on bugtracker
354: [11:28:54] <irogue_> they had zero interest in fixing them
355: [11:29:06] <Pyzzk> I didn't mind it, but then you know my stance in frameworks, metalanguages, etc.
356: [11:29:12] <irogue_> also bootstrap has got 500x better since then
357: [11:29:23] <Pyzzk> mmm, thinking I'll go with bootstrap.
358: [11:29:32] <irogue_> bootstrap was extremely "fixed"
359: [11:29:38] <Pyzzk> I liked a few of foundation's ui components, reveal being one of them.
360: [11:29:43] <irogue_> like once you implemented bootstrap it was really hard to have your own "look"
361: [11:29:46] <Pyzzk> hence my finding and fixing that bug.
362: [11:29:48] <irogue_> it just looked like a bootstrap site
363: [11:29:50] <Pyzzk> but then it was ignored, so whatever.
364: [11:30:02] <irogue_> nowadays theyve seperated 'theme' from core
365: [11:30:10] <Pyzzk> irogue_: mmm, that's gone now yeah.
366: [11:30:13] <Pyzzk> seemingly as such.
367: [11:30:22] <irogue_> much more usable
368: [11:30:23] <Pyzzk> still 'bootstrappy' but less so.
369: [11:30:30] <Pyzzk> and seemingly much more usable.
370: [11:30:41] <irogue_> and the responsive grid is the best ive used so far
371: [11:30:51] <irogue_> being able to set gridpoints for each size is ++
372: [11:31:26] <Pyzzk> ah good, they've still got kitchen sink :> http://foundation.zurb.com/docs/components/kitchen_sink.html
373: [11:31:28] <irogue_> e.g. class="hidden-xs col-sm-6 col-md-4">
374: [11:32:03] <Pyzzk> irogue_: but foundation does all taht stuff too, along with most other grid stystems I've seen.
375: [11:34:06] <irogue_> yeah foundation does that but i don't like foundation for other reasons
376: [11:34:14] <Pyzzk> mmm.
377: [11:34:17] <Pyzzk> I can agree.
378: [11:34:23] <irogue_> a bunch of others i've used have either had fixed widths which i found annoying
379: [11:34:32] <Pyzzk> well, see your point, as for the most part I don't like front end frameworks.
380: [11:34:34] <irogue_> e.g. 960gs
381: [11:34:45] <Pyzzk> mmm. lots do, but most have come into the new age.
382: [11:34:58] <Pyzzk> besides, I've not really found anyone that does grids nicely
383: [11:35:01] <irogue_> or didn't have an easy way to change the number of columns
384: [11:35:12] <Pyzzk> nor have I found any designer that designs to predefined boxes.
385: [11:35:20] <irogue_> which is easy to do using less variables with bootstrap
386: [11:35:24] <Pyzzk> thus grid suddenly shit idea anyway
387: [11:35:44] <irogue_> Pyzzk: it's fairly rare to find designs that aren't fairly box-based, in my experience anyway
388: [11:35:45] <Pyzzk> yeh, number of columns is a biggie IMO.
389: [11:35:51] <irogue_> if a site is all over the place it's gonna be fugly
390: [11:36:10] <Pyzzk> irogue_: yeah, 'fairly' box based... if by box you mean divisions.
391: [11:36:25] <Pyzzk> but they tend to be inexact to whatever framework you try to shoehorn them into
392: [11:36:38] <Pyzzk> causing pain and 'ease of development' arguement for using them goes straight out the window
393: [11:37:04] <irogue_> yer, tho if a design isn't designed with responsiveness in mind you're gonna have a bad time anyway
394: [11:37:12] <irogue_> i.e. if it's done by a graphic designer not a web designer :P
395: [11:37:12] <Pyzzk> mmm.
396: [11:37:17] <Pyzzk> hahaha
397: [11:37:36] <Pyzzk> there's a whole set of different pains than responsiveness if it's done by a print designer :P
398: [11:38:05] <irogue_> but of course
399: [11:38:21] <irogue_> i'm currently shifting a site into bootstrap so it's responsive
400: [11:38:30] <Pyzzk> >
401: [11:38:36] <Pyzzk> omg, can smell sandwich
402: [11:38:46] <Pyzzk> only 22 mins to go D:
403: [11:38:53] <irogue_> it feels dirty to be reimplementing such an ugly site
404: [11:39:31] <irogue_> but the client likes the design
405: [11:44:56] <Pyzzk> lol, clients do love derp.
406: [11:45:10] <Pyzzk> like moths and flames.
407: [11:47:50] * simon_w|air quit (Quit: This computer has gone to sleep)
408: [11:53:13] <Pyzzk> yeah fuckit, just going bootstrap
409: [11:54:06] <hamror> i tell you what's worse than clients
410: [11:54:11] <hamror> CORS
411: [11:54:22] <hamror> which seems to exist exclusively so that web fonts can be drmed
412: [11:55:05] <Pyzzk> idkwutdatis
413: [11:56:30] <ocm> hm, strange behaviour encountered overhere
414: [11:56:58] <ocm> I am getting a dataobject using $Object = ObjectName::get()->Filter(blablababla)->First()
415: [11:57:11] <ocm> $Object->ID = working; $Object->SomeValue = working;
416: [11:57:19] <ocm> $Object->Contetn !== working
417: [11:57:24] <ocm> Content = htmltext
418: [11:57:28] <ocm> though doesnt return shit
419: [11:57:33] <ocm> while there is shit in there
420: [11:57:59] <ocm> how do I get the data?
421: [12:00:52] * simon_w|air has joined #silverstripe
422: [12:05:15] * UndefinedOffset has joined #silverstripe
423: [12:08:37] * babak quit (Quit: Connection closed for inactivity)
424: [12:12:29] * g4b0_ has joined #silverstripe
425: [12:28:29] * Colin[pi] quit (Ping timeout: 264 seconds)
426: [12:49:18] * Pyzzk quit (Ping timeout: 240 seconds)
427: [12:59:06] * Pyzzik has joined #silverstripe
428: [13:00:47] * cloph is now known as cloph_away
429: [13:16:05] <ocm> anyone a clue what I am missing there?
430: [13:17:47] <Pyzzik> ocm: so long as it's there and spelt correctly, the accessor should work.
431: [13:18:08] <Pyzzik> however try $obj->getField('Content')
432: [13:18:16] <Pyzzik> and/or
433: [13:18:27] <Pyzzik> $obj->getField('Content')->dataValue()
434: [13:18:31] <Pyzzik> $obj->getField('Content')->value()
435: [13:18:59] <Pyzzik> ocm: remember though, capitalisation matters on getters!
436: [13:19:03] <Pyzzik> (automated getters)
437: [13:24:05] <ocm> spelling is alright, I will check it with getField->value
438: [13:26:23] * Shrike_Finland has joined #silverstripe
439: [13:27:59] * simon_w|air quit (Quit: This computer has gone to sleep)
440: [13:32:17] <Pyzzik> ocm: could it be a conflict?
441: [13:32:27] <Pyzzik> getField() is just what __get uses
442: [13:33:07] <Pyzzik> if you've already got a function named Content (possibly on a parent class) then that'll probably be getting in the way of db [Content => HTMLText]
443: [13:36:56] * ThePeach has joined #silverstripe
444: [13:37:05] <ThePeach> hi all
445: [13:37:13] <Pyzzik> Gidday.
446: [13:37:35] * wmk quit (Quit: nice to meet you ;))
447: [13:37:48] <ThePeach> is there a variable that holds the name of the configured domain/website?
448: [13:38:08] <Pyzzik> yeah, $BaseHref
449: [13:38:09] <ThePeach> or should I just use $_SERVER variable?
450: [13:38:12] <Pyzzik> no
451: [13:38:13] <ThePeach> oh good
452: [13:38:19] <Pyzzik> you should never use globals.
453: [13:38:21] <Pyzzik> superglobals.
454: [13:38:29] <Pyzzik> well, should never have to. You can of course.
455: [13:38:42] <Pyzzik> ThePeach: see Director (class)
456: [13:38:53] <Pyzzik> iirc
457: [13:38:56] <ThePeach> makes sense, so can I also see the referer?
458: [13:39:01] <ThePeach> let's see
459: [13:39:23] <Pyzzik> ThePeach: well no, the referrer will probably be part of the request object if it's available on it.
460: [13:39:32] <Pyzzik> from a controller $this->request
461: [13:39:42] <Pyzzik> see SS_HTTPRequest
462: [13:39:44] <Pyzzik> (class)
463: [13:40:19] <ThePeach> also Director::baseURL()
464: [13:40:55] <Pyzzik> yeah, from templates it's BaseHref
465: [13:41:12] <Pyzzik> probably should have specified I was talking about templates.
466: [13:41:39] <ThePeach> oh right, I need to check the referral for a completion page after a user submitted a page
467: [13:41:52] <Pyzzik> why?
468: [13:41:58] <ThePeach> I'm currently checking on the referral and it seems that Director has what's needed
469: [13:42:04] <ThePeach> to avoid accessing the page without submitting the form
470: [13:42:15] <Pyzzik> is the referral coming from off site?
471: [13:42:29] <Pyzzik> well you can't access a page without submitting a form.
472: [13:42:31] <ThePeach> that's why I was asking
473: [13:42:33] <Pyzzik> well, you can't access a form.
474: [13:42:57] <ThePeach> well the page is a generic page, it's not part of the form
475: [13:43:12] <ThePeach> I'm just redirecting the user there once the form has been submitted
476: [13:43:14] <Pyzzik> and it's accessed from offsite?
477: [13:43:21] <Pyzzik> right, use the session.
478: [13:43:28] <Pyzzik> or url parameters
479: [13:43:31] <Pyzzik> that's what they're for.
480: [13:43:35] <Pyzzik> and they're more reliable.
481: [13:44:14] <Pyzzik> but generally there's no issue if someone accesses a page without submitting a form, unless the form is some kind of password permission type thing.
482: [13:44:34] <Pyzzik> just a 'thank you for submitting' 'page' doesn't need to be protected.
483: [13:44:42] <Pyzzik> so zeaously.
484: [13:44:43] <ThePeach> I would normally do that, but I'm not confortable with SS to the point I can just do this. This is probably just a temporary solution just to ship the code and then take my time to actually use a session var or a variable
485: [13:44:59] <Pyzzik> Session::set('yayform', true);
486: [13:45:08] <Pyzzik> if(Session::get('yayform'))
487: [13:45:10] <ThePeach> Pyzzik: yeah, but there's a tracking link on that which the client wants to be unique
488: [13:45:28] <Pyzzik> ThePeach: right, so use URL parameters probably best.
489: [13:45:29] <ThePeach> Pyzzik: lovely, I'll try immediately
490: [13:45:47] <ThePeach> I would have gone with the session param
491: [13:45:59] <Pyzzik> clientssite.com/thepage/hooray/linktracky12345
492: [13:46:30] <Pyzzik> you can get parameters such as linktracky12345 from the request object
493: [13:46:43] * basso__ has joined #silverstripe
494: [13:47:08] <Pyzzik> $this->request->param('OtherID')
495: [13:47:12] <Pyzzik> or such
496: [13:47:48] <basso__> Hi, any way to filter text out of the content? Some content has images in them, for summaries I want to have the text only.
497: [13:47:55] <ThePeach> Pyzzik: good
498: [13:48:13] <spronk2> http://www.youtube.com/watch?v=KA3RY5f6i6k
499: [13:48:21] <Pyzzik> basso__: in the template: $Content.NoHTML
500: [13:48:29] <Pyzzik> or something like that
501: [13:48:47] <Pyzzik> ThePeach: read the docs on routing (see Controller docs iirc)
502: [13:48:55] <Pyzzik> it will give you more info
503: [13:50:49] <basso__> Pyzzik: Thank you
504: [13:51:30] <ThePeach> Pyzzik: thank you. I'm just trying to understand, given the simplicity of the thing what would be the best way to do this. The session var seems to be the simplest and less impacting solution on the user's end
505: [13:51:55] <Pyzzik> ThePeach: as with most things there are many solutions.
506: [13:52:23] <ThePeach> :)
507: [13:53:31] <ThePeach> probably the get var would be great if I had an error page as well. so I can choose what to display based on the outcome of the form
508: [13:54:07] <ThePeach> which is not the case ATM
509: [13:55:12] <ThePeach> anyway, Pyzzik thanks a lot for the help
510: [14:00:23] * irogue_ licks Pyzzik
511: [14:14:24] * Pyzzik li... wait.
512: [14:14:34] * Pyzzik licks irogue_
513: [14:14:36] <Pyzzik> nohomo
514: [14:14:43] <Pyzzik> xD
515: [14:15:53] <Pyzzik> haha, brilliant spronk2
516: [14:16:12] <Pyzzik> ps, just downloading SS to slap over top of current system.
517: [14:17:22] <ocm> ocm
518: [14:17:24] <ocm> whoops
519: [14:19:46] <Pyzzik> Pyzzik: whoops
520: [14:21:49] <irogue_> irogue_: whoops
521: [14:21:56] <Pyzzik> omg sweet idea, how sexy can one get with the manifest?
522: [14:22:00] <Pyzzik> and reflection?
523: [14:22:02] <Pyzzik> and stuff?
524: [14:22:47] <Pyzzik> eg, if I define an interface, and a dataExtension that implements it, then can I make it auto apply to all DataObject descendents that implement the interface?
525: [14:22:54] <Pyzzik> no, shit.
526: [14:23:09] <ocm> Pyzzik, I tried ->value and dataValue
527: [14:23:11] <Pyzzik> because that's a violation of class level stuff, the class ooesn't impment the interface directly
528: [14:23:12] <ocm> without result
529: [14:23:15] <ocm> http://sspaste.com/paste/show/537378eda90df
530: [14:23:19] <ocm> do I miss anything in my code?
531: [14:23:49] <ocm> if I loop through it $Content provides what I expect
532: [14:24:52] <Pyzzik> ocm: what about $rightAnswer->getContent();
533: [14:25:12] <Pyzzik> oh shit ocm
534: [14:25:21] <Pyzzik> because you're not looping in php :>
535: [14:25:22] <Pyzzik> lol
536: [14:25:36] <Pyzzik> you're getting a LIST, then treating it as if it's a single RESULT
537: [14:26:15] <Pyzzik> $rightAnswer = Antwoord::get()->filter( array('ExamenVraagID' => $answerID,'Juist' => '1') )->first();
538: [14:26:26] <Pyzzik> or foreach($rightAnswer)
539: [14:26:57] <Pyzzik> :D
540: [14:27:10] <Pyzzik> Dunno why other things work though, that's a bit of a mystery to me.
541: [14:27:53] <Pyzzik> must be taking the result of the first object in the list, but then why doesn't the Content getter do that. Unless DataList has a method named Content I guess.
542: [14:28:25] <Pyzzik> nup :< dunno.
543: [14:34:03] * scpi has joined #silverstripe
544: [14:41:37] <ocm> pyzzik, thnx
545: [14:41:44] <ocm> I suppose that fixxed it
546: [15:08:26] * _Ron has joined #silverstripe
547: [15:08:34] * _Ron has left #silverstripe
548: [15:10:41] <Pyzzik> how does ss deal with abstract base class controllers I wonder.
549: [15:10:48] <Pyzzik> I've a feeling poorly :<
550: [15:18:44] * muskie9 has joined #silverstripe
551: [15:19:43] * jenniferaslan has joined #silverstripe
552: [15:22:38] * anselmdk quit (Quit: anselmdk)
553: [15:27:43] * Shrike_Finland1 has joined #silverstripe
554: [15:30:48] * Shrike_Finland quit (Ping timeout: 245 seconds)
555: [15:39:17] * g4b0_ quit (Quit: Sto andando via)
556: [15:43:27] <Pyzzik> kinglozzer: do you know?
557: [15:44:06] <kinglozzer> Pyzzik: About abstract classes? Nope :P
558: [15:45:26] <kinglozzer> Tbh I'm still not 100% sure of when to use them vs interfaces, so haven't tried in an SS context really
559: [15:45:46] <kinglozzer> Well, I say that, I did actually read the reasons why a few nights ago, but forgetful
560: [15:46:05] <kinglozzer> Something about actual implementation vs guidelines or something
561: [15:47:27] * Shrike_Finland1 quit (Ping timeout: 276 seconds)
562: [15:47:56] * Shrike_Finland has joined #silverstripe
563: [15:50:33] * Shrike_Finland1 has joined #silverstripe
564: [15:54:04] * Shrike_Finland quit (Read error: No route to host)
565: [15:54:17] * Shrike_Finland has joined #silverstripe
566: [15:56:05] * Shrike_Finland2 has joined #silverstripe
567: [15:56:12] * Shrike_Finland1 quit (Read error: No route to host)
568: [15:56:18] * guci0 quit (Ping timeout: 240 seconds)
569: [15:58:35] * Shrike_Finland quit (Ping timeout: 255 seconds)
570: [15:59:19] * blibla has joined #silverstripe
571: [16:00:02] <Pyzzik> kinglozzer: basically yeh. They're basically the same thing with different purposes.
572: [16:00:36] <Pyzzik> if you have a dickload of common functionality, then abstract class. If you only need a common API, then what the I on API stands for.
573: [16:01:32] <Pyzzik> an abstact class does the same thing, but you can define methods directly that will be inherited, and of course you can only implement one.
574: [16:01:49] * blibla quit (Client Quit)
575: [16:01:55] <Pyzzik> (err, subclass, where as you can implement many interfaces)
576: [16:02:20] <Pyzzik> if you find yourself copying and pasting code between interface implementations, maybe it shouldn't be an interface like.
577: [16:04:01] <kinglozzer> Pyzzik: So if you had a public function doShit() { // this will always be the same }, you'd do that in an abstract class so it'd be inheritied, amirite?
578: [16:07:37] <kinglozzer> Ooo new exhaust was delivered today :D now I just need to find somewhere to fit it... or give it a go myself if I'm feeling brave
579: [16:08:15] * spronk2 quit (Quit: spronk2)
580: [16:11:41] * nlasantha has joined #silverstripe
581: [16:12:18] * nlasantha has left #silverstripe
582: [16:14:19] <Pyzzik> kinglozzer: so as it turns out, SS will let you define all kinds of shit as a controller. It will try to create an instance of a anything that's loosely a 'class', including a class (duh), an abstract class (uh oh) AND an interface (lolwut)
583: [16:14:36] <Pyzzik> kinglozzer: yes, correct.
584: [16:14:42] <Pyzzik> same like dataObject, etc.
585: [16:15:09] <kinglozzer> Wait, SS will try to instantiate an interface? :P
586: [16:15:12] <Pyzzik> but with say a method that returns all kinds of different shit or needs defining to the local scope as to how it's implemented
587: [16:15:15] <Pyzzik> kinglozzer: yes.
588: [16:15:17] <Pyzzik> you heard right.
589: [16:15:25] <kinglozzer> Haha, brilliant :P
590: [16:15:27] <Pyzzik> new Interface() LLOL
591: [16:15:43] <Pyzzik> actually no, Injector::instance()->create('Interface')
592: [16:16:03] <Pyzzik> http://api.silverstripe.org/3.1/source-class-SS_ClassLoader.html#103
593: [16:16:45] <kinglozzer> ><
594: [16:16:56] <Pyzzik> well actually that might not be ture.
595: [16:17:16] <Pyzzik> I didn't investigate whether or not the Manifest distinguises between interface and class when searching for item path.
596: [16:18:21] <Pyzzik> http://api.silverstripe.org/3.1/source-class-SS_HTTPRequest.html#473
597: [16:19:32] <Pyzzik> hmm, shit hang on
598: [16:19:43] <Pyzzik> !ClassInfo::exists($controllerName)
599: [16:19:50] <Pyzzik> !
600: [16:19:53] <Pyzzik> wut
601: [16:20:07] <Pyzzik> manifest returns string I guess, idk
602: [16:20:22] <Pyzzik> but class_exists returns bool
603: [16:21:08] <Pyzzik> well confused.
604: [16:21:15] * Shrike_Finland2 quit (Ping timeout: 276 seconds)
605: [16:21:16] <Pyzzik> is this a bug? It doesn't make sense on first read :<
606: [16:21:21] <Pyzzik> D:
607: [16:21:50] * Shrike_Finland has joined #silverstripe
608: [16:22:35] <Pyzzik> oh because return false, duh
609: [16:22:50] <Pyzzik> me gets confused about the purpose of a one line if
610: [16:25:11] <Pyzzik> kinglozzer: hahahaha,yeah nah :< http://api.silverstripe.org/3.1/source-class-SS_ClassManifest.html#140
611: [16:25:56] <kinglozzer> Wait, so classExists() returns true for interfaces?
612: [16:26:07] <kinglozzer> Seems a little... wrong
613: [16:26:29] <kinglozzer> OIC
614: [16:26:39] <kinglozzer> instead of returning bool, it returns string
615: [16:26:40] <kinglozzer> lel
616: [16:26:50] <kinglozzer> or null
617: [16:26:57] <kinglozzer> because fuck dox
618: [16:28:09] <Pyzzik> because fuck all the things
619: [16:29:17] <Pyzzik> kinglozzer: so basically yeah. It returns a string, which is true, which makes that false. But it's an OR I suppose, so subclass_of should return false, especially if it's an interface, it's not even a class at all.
620: [16:29:18] * Shrike_Finland1 has joined #silverstripe
621: [16:29:37] <Pyzzik> which is odd right, because it purposely doesn't autoload, but then needs to autoload in the very next assessment.
622: [16:29:57] <Pyzzik> although I guess exists can be called from anywhere, not just there.
623: [16:30:01] <Pyzzik> so it makes sense to not autoload.
624: [16:30:17] <Pyzzik> BUT, doesn't take into account abstract class.
625: [16:30:20] <kinglozzer> Too much confusion for 5:30
626: [16:30:26] <kinglozzer> :P
627: [16:30:26] <kinglozzer> cya
628: [16:30:28] <Pyzzik> so abstract base controllers are bad for SS
629: [16:30:29] <Pyzzik> gg cu
630: [16:30:37] * kinglozzer quit ()
631: [16:32:58] * stnvh quit ()
632: [16:33:07] <Pyzzik> frarrrrk, is vendor/ even a thing if you don't even composer?
633: [16:33:42] <Pyzzik> tomorrow's another day.
634: [16:33:44] * Shrike_Finland quit (Ping timeout: 265 seconds)
635: [16:33:47] * Pyzzik quit ()
636: [16:34:50] * Shrike_Finland has joined #silverstripe
637: [16:35:46] * Shrike_Finland1 quit (Read error: No route to host)
638: [16:35:50] * Shrike_Finland2 has joined #silverstripe
639: [16:38:54] * Shrike_Finland quit (Ping timeout: 240 seconds)
640: [16:39:53] * basso__ quit (Quit: basso__)
641: [16:39:54] * muskie9 quit (Ping timeout: 240 seconds)
642: [16:42:24] * Colin[pi] has joined #silverstripe
643: [16:42:48] * babak has joined #silverstripe
644: [16:42:54] * Shrike_Finland has joined #silverstripe
645: [16:45:41] * Shrike_Finland2 quit (Ping timeout: 252 seconds)
646: [16:52:59] * Shrike_Finland quit (Read error: Connection reset by peer)
647: [16:53:31] * muskie9 has joined #silverstripe
648: [17:20:05] * muskie9 quit (Ping timeout: 264 seconds)
649: [17:57:48] * Turnerj quit (Ping timeout: 240 seconds)
650: [18:05:06] * cloph_away is now known as cloph
651: [18:21:47] * guci0 has joined #silverstripe
652: [18:22:37] * gelignite has joined #silverstripe
653: [18:32:21] <guci0> <% if Menu(3) %> it's tru on II & III level, why?
654: [18:32:26] <guci0> *true
655: [18:38:58] <guci0> correction: <% if Menu(2) %> it's true on II & III level, why?
656: [18:39:21] <guci0> How to get only III level?
657: [18:48:30] <guci0> <% if Menu(1) %> First <% end_if %> <% if Menu(2) %> Second <% end_if %> <% if Menu(3) %> Third <% end_if %> magic!
658: [18:51:31] <guci0> "Third" don't work at all :(
659: [18:54:34] * r3v3rb has joined #silverstripe
660: [19:00:27] <guci0> 3rd level menu display issues (2009) :)
661: [19:31:15] * antmas quit (Quit: Page closed)
662: [19:41:12] <r3v3rb> argghhh clients
663: [19:41:18] <r3v3rb> anyone want them
664: [19:42:25] <r3v3rb> clients SMTP server is responding to mail messages from site with SMTP ERROR: Data not accepted <- they say its not their end, I switch to my SMTP server and the messages get sent to them no problem… grrr
665: [19:42:44] * r3v3rb going to ask for SMTP logs tomorrow
666: [19:57:42] * anselmdk has joined #silverstripe
667: [20:07:59] <guci0> For example, I working only on my own server ;) If u wont be my Client, U have to using my provider :D
668: [20:08:27] <guci0> *want
669: [20:16:02] * muskie9 has joined #silverstripe
670: [20:32:27] <catcher> Anyone aware of an ajax-loaded alternative to listboxfield (allowing multiple selections)?
671: [20:32:36] <catcher> Other than gridfield, that is
672: [20:36:44] <r3v3rb> guci0: that is my normal practice and why I have a lovely SLA I offer them too, but this time they are playing silly buggers
673: [20:37:02] <r3v3rb> catcher: your new one you are developing?
674: [20:37:12] <catcher> haha
675: [20:37:15] <r3v3rb> :P
676: [20:37:42] * Ryan-Toast has joined #silverstripe
677: [20:37:50] <r3v3rb> got my page loads down to 1.3 ~ 2.4s on new SS site using static pub, gzip, combined css etc
678: [20:38:04] * r3v3rb happy and can sleep tonight
679: [20:39:03] <catcher> Always a nice feeling
680: [20:39:38] <r3v3rb> indeed.
681: [20:41:17] <r3v3rb> right time to go . night all
682: [20:41:23] * r3v3rb quit (Quit: r3v3rb)
683: [20:43:25] <muskie9> has anyone had issues installing sake?
684: [20:45:34] <muskie9> I've tried on Ubuntu Precise 12.04 x64 and Debian Squeeze 6.0.7 x64
685: [20:45:37] * anselmdk quit (Quit: anselmdk)
686: [20:45:39] * chillu_23 has joined #silverstripe
687: [20:46:07] <Stomach> have you made the file executable and all that jazz?
688: [20:46:33] * nickmolhoek has joined #silverstripe
689: [20:47:02] <muskie9> ummm, not sure... going off of http://doc.silverstripe.org/framework/en/topics/commandline#sake-silverstripe-make and keep getting a sake command not found
690: [20:47:35] * UncleCheese has joined #silverstripe
691: [20:48:50] <Stomach> does it run if you do './framework/sake dev/build'
692: [20:48:57] <Stomach> before trying to install globally?
693: [20:52:42] <muskie9> rebuilding my server... I don't think it worked but I'll double check it
694: [20:58:37] * babak quit (Quit: Connection closed for inactivity)
695: [21:01:23] <Ryan-Toast> How can you make a user group for instance only be able to view the Help menu in the backend?
696: [21:02:06] <Stomach> (the help menu is an external link?)
697: [21:02:07] <muskie9> Stomach, doesn't work, gives framework/sake: command not found
698: [21:02:23] <Ryan-Toast> Stomach: Yeah, just as an example. So hiding the rest of the biz
699: [21:02:26] <muskie9> had to sudo too, so not sure if it's something with my setup
700: [21:02:36] <Stomach> muskie9 - can you try doing 'chmod u+x ./framework/sake'
701: [21:02:46] <Stomach> and see if 'php -v' will run
702: [21:03:09] <Stomach> Ryan-Toast - you can hide every section of model admin based on permissions cant you?
703: [21:03:10] * UndefinedOffset quit (Quit: Leaving.)
704: [21:03:15] <catcher> Every single CMS htmleditor field loads its own copy of content.css and editor.css, any way to avoid that?
705: [21:03:30] <Ryan-Toast> Stomach: Yeah, I wanted to know how :) The docs just point to the leftandmain class.
706: [21:03:58] <Stomach> oh, I always just create a new group then set the permissions for that group through the CMS
707: [21:04:06] <Stomach> I'm guessing you mean programmatically?
708: [21:04:08] <Ryan-Toast> Stomach: Ah, coolio :)
709: [21:04:09] <muskie9> php -v runs, tried chmod, but still makes me sudo... and get the same error
710: [21:04:18] <Ryan-Toast> Stomach: Yeah, but through the cms shouyld be fine
711: [21:04:28] <Stomach> Ryan-Toast - sweet
712: [21:04:33] <Stomach> muskie9 - does the file exist? :D
713: [21:04:38] <muskie9> yep
714: [21:04:54] <Stomach> can you descend into framework and try './sake' ?
715: [21:05:48] * UncleCheese quit (Quit: UncleCheese)
716: [21:06:02] <muskie9> command not found, wondering if I'm missing a library on the server
717: [21:07:00] <Stomach> yeah sorry I don't know how to help with that remotely
718: [21:07:57] * simon_w quit (Ping timeout: 252 seconds)
719: [21:09:12] * UncleCheese has joined #silverstripe
720: [21:10:10] <muskie9> figured it out... was in the wrong path in my vagrant instance... my files were in a couple places
721: [21:11:36] <Stomach> cool
722: [21:11:44] <Stomach> definitely couldn't debug that :P :D
723: [21:15:53] <Ryan-Toast> Stomach: Through the cms was easy as pie.
724: [21:16:47] <Stomach> Ryan-Toast: yaye :D
725: [21:20:25] <SMaction> Follow up from yesterday. I have the following module http://pastebin.com/GkRnGQMt part of what it creates is the following popup http://imgur.com/lFHmfUr. This was in place before I got here and everything has been working. When I use the HTML editor created on line 89 the actual HTML field (see circle in image) is not saveable. I can edit the field but then the modification changes
726: [21:20:25] <SMaction> back before my eyes when I hit save. The problem is the code I am adding is an IFRAME. I know it can work because, as you can see, the code I want to replace is an IFRAME. Using SS 2.4.2 I tried changeing the field to SimpleTinyMCEField and that still did not work. Plain text will save but the HTML with an IFRAME won't. Any thoughts?
727: [21:21:51] <scpi> You might need to tell TinyMCE to allow that element in your HTML
728: [21:22:36] <scpi> iframes are probably stripped out by default
729: [21:24:22] <Ryan-Toast> Need to think of an excuse to use this gif http://i.imgur.com/B0lpdkU.gif
730: [21:26:01] <scpi> oh wow
731: [21:26:07] <scpi> that's amazing
732: [21:26:20] * scpi saved.
733: [21:28:42] * muskie9 quit (Ping timeout: 240 seconds)
734: [21:28:46] <Ryan-Toast> scpi: I have a few: http://i.imgur.com/aYju4Ib.jpg
735: [21:31:03] <scpi> SMaction: I have this in my site's _config.php to make TinyMCE allow iframes and such: http://sspaste.com/paste/show/5373dd0031e29
736: [21:31:29] <SMaction> scpi: thanks I will try it
737: [21:31:59] <scpi> Ryan-Toast: you must be so popular on reddit
738: [21:32:10] <Ryan-Toast> scpi: Not really :P
739: [21:33:00] <Ryan-Toast> actually, that’s a lie.
740: [21:33:12] <scpi> I know.
741: [21:33:36] <scpi> a collection like that can't go unnoticed!
742: [21:34:16] <scpi> ...hawk in shock?
743: [21:34:35] <Ryan-Toast> scpi: http://i.imgur.com/pGOmE.gif
744: [21:35:03] <scpi> do you do this professionally or something?
745: [21:35:16] <Ryan-Toast> Nah, just a little bit here and there :P http://i.imgur.com/UNOBHbq.jpg
746: [21:37:58] <scpi> hahahaha
747: [21:38:13] <scpi> i knew it
748: [21:39:56] <Ryan-Toast> I like to make wallpapers and gifs, which is like 80% of my internet points
749: [21:40:13] <SMaction> scpi: still the same. Any other thoughts?
750: [21:40:55] <scpi> SMaction: got me by the sneakers. I figured that was it for sure.
751: [21:41:17] <scpi> have you done the dev/build?flush=1 dance?
752: [21:41:30] <SMaction> twice just to be sure
753: [21:41:39] * zippy__ has joined #silverstripe
754: [21:41:43] <zippy__> moring
755: [21:42:04] <Ryan-Toast> Mooring
756: [21:42:47] <scpi> SMaction: I don't know man, ask one of these guys that knows what they're doing.
757: [21:43:11] <SMaction> ok thanks
758: [21:43:35] * chillu_23 quit (Quit: chillu_23)
759: [21:43:58] <SMaction> hi zippy__
760: [21:44:07] * scpi quit (Quit: be excellent to each other)
761: [21:44:56] * Turnerj has joined #silverstripe
762: [21:45:31] <Turnerj> Wassup everyone!
763: [21:45:49] <Ryan-Toast> Turnerj: Tea and scones…mother fucker
764: [21:46:13] <Turnerj> Ryan-Toast: Lucky! Right now I've got a bunch of work and no breakfast :'(
765: [21:46:21] <Turnerj> Could be worse though!
766: [21:46:33] <Ryan-Toast> Turnerj: You need to sort your life out, son. Scones are the way to a productive day.
767: [21:47:04] <zippy__> Scones - nope!
768: [21:47:14] <Ryan-Toast> zippy__: Wat
769: [21:47:17] <Ryan-Toast> is
770: [21:47:18] <Ryan-Toast> wrong
771: [21:47:19] <Ryan-Toast> with
772: [21:47:19] <Ryan-Toast> you
773: [21:47:31] <zippy__> pikelets are where it's at
774: [21:47:54] <Ryan-Toast> Store bought piklets are always rubbery though :(
775: [21:48:54] <zippy__> yea, I will just tell the wife to make some
776: [21:49:04] <zippy__> only 40 weeks and 4 days pregrenent
777: [21:49:11] <zippy__> that is some excellent spelling
778: [21:49:26] <Ryan-Toast> It makes my brain hurt
779: [21:51:23] * SightUnseen has joined #silverstripe
780: [21:51:28] * SightUnseen has left #silverstripe
781: [21:52:11] * simon_w|air has joined #silverstripe
782: [21:52:41] * catcher quit (Quit: Leaving)
783: [21:52:45] * jenniferaslan quit (Ping timeout: 276 seconds)
784: [21:53:27] * simon_w has joined #silverstripe
785: [21:53:32] * gelignite quit (Quit: http://bit.ly/nkczDT)
786: [22:09:38] <Ryan-Toast> Have I been disconnected?
787: [22:09:42] <Stomach> no
788: [22:09:45] <Ryan-Toast> Kay
789: [22:09:50] <Ryan-Toast> Like a ghost town in here
790: [22:09:58] <Ryan-Toast> Except less lively.
791: [22:10:28] <Stomach> did you do all your work already? :D
792: [22:11:02] <Ryan-Toast> Always
793: [22:11:04] <Ryan-Toast> :P
794: [22:11:38] <Ryan-Toast> Doing like 5 break points for a 40+ pagetype site. So annoying.
795: [22:12:06] <Stomach> I'm writing an extension for swipestripe to implement single product coupons
796: [22:12:27] <Ryan-Toast> Coolio
797: [22:12:33] <Stomach> but, the site im doing it for has got products which have other products in them as part of bundles, which makes the cost calculations quite confusing
798: [22:14:06] <Stomach> who would have thought that glasses were so complicated o_O
799: [22:14:34] <Ryan-Toast> Heh
800: [22:14:41] * chillu_23 has joined #silverstripe
801: [22:19:34] <zippy__> I justg want a simple ecommerce site, that wont take long will it, just some products?
802: [22:19:36] <zippy__> oh and coupons
803: [22:19:48] <zippy__> and need to handle different sizes
804: [22:19:51] <zippy__> and different colors
805: [22:19:57] <zippy__> and want categories
806: [22:20:04] <zippy__> and want a product to be in many categories
807: [22:20:14] <zippy__> and don't want to pay a monthly fee like shopify
808: [22:20:17] <zippy__> but needs to be easy to use
809: [22:20:21] <zippy__> thats easy isn't it? :)
810: [22:20:24] <zippy__> clients, love em
811: [22:20:36] <Stomach> zippy__ - thats basically how I ended up doing this system
812: [22:20:42] <Stomach> I love account managers sometimes
813: [22:21:03] <Stomach> "oh yeah we can do that, itll only take a day" "how long will it take" "oh like 2 weeks, thats a change to the entire business logic of the site, nice one bro"
814: [22:33:45] * ThePeach quit (Ping timeout: 252 seconds)
815: [22:34:48] * DesignerX has joined #silverstripe
816: [22:37:48] * guci0 quit (Ping timeout: 240 seconds)
817: [22:40:42] * antmas has joined #silverstripe
818: [22:40:46] * simon_w|air quit (Quit: This computer has gone to sleep)
819: [22:40:53] <antmas> morning all
820: [22:41:21] <Stomach> harro
821: [22:43:24] <antmas> zippy__: le baby?
822: [22:43:28] <zippy__> nop
823: [22:43:34] <antmas> :O
824: [22:43:51] <antmas> I guess you normally go over on the 2nd
825: [22:43:53] <Stomach> its gonna be super smart
826: [22:44:20] <zippy__> antmas: http://imgur.com/a/pJEY2
827: [22:44:55] <antmas> zippy__: haha
828: [22:45:05] <antmas> my favourite gif of last year
829: [22:46:04] <antmas> man
830: [22:46:12] <antmas> I've been so sick the last 2 days :(
831: [22:46:15] <antmas> over it
832: [22:46:59] <antmas> went into docs about an hour ago and got 8 blood tests :O
833: [22:47:12] <zippy__> not enough BK?
834: [22:47:22] <zippy__> i hate being reallly sick
835: [22:47:31] <zippy__> why can't I just be normal again....
836: [22:47:52] <zippy__> please god, I just want to feel good again, I promise I will think about going to church on sunday maybe
837: [22:48:08] <antmas> haha
838: [22:48:13] <antmas> yeah smae sentiments here
839: [22:48:22] <antmas> I'm only 25, I shouldn't get sick so often!
840: [22:48:27] <antmas> :P
841: [22:48:29] <antmas> so probably too much BK
842: [22:50:34] <antmas> is there a method to clear a field in a form after submit()?
843: [22:52:14] <Ryan-Toast> lol: http://i.imgur.com/DSvfoEV.jpg
844: [22:53:27] <zippy__> haha
845: [22:53:32] <antmas> :) lol
846: [22:53:49] <Ryan-Toast> http://i.imgur.com/INBvStO.png
847: [22:56:27] * zagoodwin has joined #silverstripe
848: [22:58:06] * jenniferaslan has joined #silverstripe
849: [22:58:14] <Stomach> ahaha
850: [22:58:18] <Stomach> I like emacs :(
851: [23:00:06] * an_Eskimo has joined #silverstripe
852: [23:00:26] <zagoodwin> Hey, any of you guys figured out how i can turn off the related videos in the youtube oembed?
853: [23:09:23] * jordanmk has joined #silverstripe
854: [23:11:57] * silverstripe has joined #silverstripe
855: [23:14:35] <silverstripe> hi?
856: [23:14:53] <antmas> woah
857: [23:14:59] <antmas> silverstripe inception
858: [23:15:41] <silverstripe> drupal sucks
859: [23:16:12] <antmas> lol
860: [23:16:33] * silverstripe quit (Client Quit)
861: [23:16:35] <Ryan-Toast> silverstripe: I’m currenty inside you
862: [23:16:55] <simon_w> Well, wasn't that a nice visit from HeyDay?
863: [23:16:59] <antmas> heydey
864: [23:17:01] <antmas> lol
865: [23:17:32] <Ryan-Toast> antmas: I was going to be cruel and send you a picture of my dinner last night, but I was hungry and forgot.
866: [23:17:38] * UncleCheese__ has joined #silverstripe
867: [23:17:45] <simon_w> Knew it
868: [23:17:57] <antmas> Ryan-Toast: Probably good you didn't I can't stand the thought of food atm
869: [23:18:02] <antmas> UncleCheese: TROLL!
870: [23:18:04] <simon_w> UncleCheese__, Ryan-Toast is inside you
871: [23:18:10] <UncleCheese__> ?
872: [23:18:19] <simon_w> You left just before he could tell you
873: [23:18:21] <UncleCheese__> oh
874: [23:18:29] <UncleCheese__> new machine
875: [23:18:32] <Ryan-Toast> simon_w: ( ͡° ͜ʖ ͡°)
876: [23:18:49] <UncleCheese__> and I thought the “name” field was a nickname for the connection
877: [23:18:53] <UncleCheese__> not my nickname
878: [23:19:04] <antmas> lol
879: [23:20:32] <jenniferaslan> Are any of you guys having trouble getting Firefox 29 to play nice with the SS 3.1.x CMS?
880: [23:20:33] * UncleCheese quit (Quit: UncleCheese)
881: [23:23:34] <zagoodwin> Should vimeo video embed work through the wysiwyg add media?
882: [23:25:28] <jenniferaslan> Always do it in the HTML popup.
883: [23:25:59] <jenniferaslan> Depending on the CMS version, you may also have to put a space between the beginning and ending <iframe> tags.
884: [23:27:07] <jenniferaslan> I meant to say: I always do it in the HTML popup.
885: [23:27:11] <jenniferaslan> Not that you have to.
886: [23:28:01] <antmas> anyone know what generally causes this? [Warning] json_decode() expects parameter 1 to be string, array given
887: [23:28:08] <Ryan-Toast> jenniferaslan: Are any of you guys having trouble getting Firefox 29 to play nice with the SS 3.1.x CMS?
888: [23:28:12] <Ryan-Toast> Nope.
889: [23:28:35] <Ryan-Toast> If anything it’s actually pretty fast.
890: [23:28:44] <jenniferaslan> Ryan-Toast: then I wonder why we are in our office. We are on Macs.
891: [23:28:53] <Ryan-Toast> jenniferaslan: Same.
892: [23:28:58] <jenniferaslan> It crashes a LOT.
893: [23:29:10] <Ryan-Toast> Hasn’t crashed on me.
894: [23:29:14] <antmas> jenniferaslan: no problems here (ff 29)
895: [23:29:21] <jenniferaslan> Admittedly, our SS sites have a bit of customization in them.
896: [23:29:29] <Ryan-Toast> jenniferaslan: So do mine
897: [23:29:40] <jenniferaslan> Hmmm. Maybe it's our staging server?
898: [23:30:01] <Ryan-Toast> jenniferaslan: Could be addons?
899: [23:30:14] <Ryan-Toast> Tried disabling all addons?
900: [23:30:36] <jenniferaslan> I reverted to 28 and reset the browser. Haven't gone back up to 29 yet. Was afraid to.
901: [23:30:51] <Ryan-Toast> #chromelife
902: [23:31:17] <jenniferaslan> Yeah, I am trying things in Chrome this afternoon. I just don't really like that browser.
903: [23:31:31] <Ryan-Toast> each to their own.
904: [23:32:41] <jenniferaslan> But I might have to switch for awhile until they get Firefox sorted. Kind-of like in the old days when Freehand and Illustrator leapfrogged each other regularly.
905: [23:33:30] <antmas> I have this http://www.sspaste.com/paste/show/5373f9d888601 where $value is an array (json) but the $value is expected to be a string... what do?
906: [23:33:53] <antmas> ^^ line 4
907: [23:34:19] <Stomach> json_decode($value . '', true)
908: [23:34:23] <Stomach> cheap hack
909: [23:34:24] <Stomach> go!
910: [23:34:32] <antmas> :P
911: [23:34:46] <zippy__> if(!is_array($value)) { do line 4 } ?
912: [23:34:56] <antmas> hmmmm
913: [23:35:02] <UncleCheese__> anyone have any suggestions for getting SS to trim the trailing slash off URLs?
914: [23:35:14] <Stomach> hack the core
915: [23:35:20] <UncleCheese__> is that right?
916: [23:35:29] <UncleCheese__> i think ti’s an htaccess thing
917: [23:35:57] <zippy__> Your getting a %20 / space come through on the url?
918: [23:36:00] <zippy__> at the end?
919: [23:36:04] <UncleCheese__> no
920: [23:36:06] <UncleCheese__> it’s a GA thing
921: [23:36:13] <UncleCheese__> page is getting logged twice
922: [23:36:37] <antmas> Stomach: that'll fail
923: [23:37:38] <antmas> zippy__: what would my else be in that case?
924: [23:37:39] <Stomach> UncleCheese__ you can manage that through analytics
925: [23:37:44] <UncleCheese__> oh?
926: [23:37:46] <Stomach> http://www.lunametrics.com/blog/2010/12/17/cleaning-urls-google-analytics/#sr=g&m=o&cp=or&ct=-tmc&st=(opu%20qspwjefe)&ts=1400110602
927: [23:37:46] <zippy__> antmas: no else needed...
928: [23:38:07] <zippy__> antmas: as it's already an array, so no need to decode anything
929: [23:38:30] <antmas> zippy__: hmmm ok
930: [23:40:00] <zippy__> antmas: The array you are passing in would ofc have to contain the Data and Config keys
931: [23:40:15] <antmas> zippy__: yeah I guess I need to look at that
932: [23:40:23] <antmas> as they come back as undefined otherwise
933: [23:40:31] <zippy__> what are you trying to do / whats the gola?
934: [23:40:33] <zippy__> *goal
935: [23:42:51] <antmas> zippy__: it's for a custom form field which has $data (so the input) and the $config which is basically the name of the field and data type
936: [23:43:13] <antmas> I'm trying to save it, and this error pops up sometimes, but not always
937: [23:43:19] <antmas> tis hard to debug :/
938: [23:44:05] <Colin[pi]> moin moin
939: [23:45:50] * hamror quit (Changing host)
940: [23:45:50] * hamror has joined #silverstripe
941: [23:46:10] * spronk has joined #silverstripe
942: [23:46:13] <spronk> http://www.stuff.co.nz/the-press/10047615/Rentals-across-NZ-fail-warrant-of-fitness
943: [23:47:05] <Stomach> that should be a real thing, not a trial
944: [23:47:16] <Stomach> if you want to rent a house you should have to pay for a yearly warrant
945: [23:47:36] <spronk> mm lol
946: [23:48:33] <UncleCheese__> ugh
947: [23:48:42] <UncleCheese__> so depressing
948: [23:50:33] <Ryan-Toast> spronk: lol
949: [23:50:46] <Ryan-Toast> Some of my uni student mate’s flats are just awful.
950: [23:50:58] <spronk> heh
951: [23:50:58] <spronk> yeah
952: [23:51:02] <ss23> cause cheap
953: [23:51:03] <Stomach> I lived in some really, really nice flats in Dunedin
954: [23:51:07] <Stomach> not.
955: [23:51:08] <spronk> even the best places we've rented wouldnt have passed thoses tests tbh
956: [23:51:11] <ss23> ours had holes in the floor, literally
957: [23:51:38] <Ryan-Toast> ss23: My friend’s one has a curtain duct taped to the wall where a window once was.
958: [23:51:39] <spronk> every rental i've had would have failed on smoke alarm point
959: [23:51:43] <Ryan-Toast> Coooold as fuck.
960: [23:51:44] <ss23> XD
961: [23:52:02] <ss23> While I think it would be *nice* to have all of those things, it's not going to happen if you want cheap rentals
962: [23:52:19] <Stomach> I don't want cheap rentals, I want cheap houses
963: [23:52:25] <spronk> yeah
964: [23:52:30] <spronk> with cheap houses, you get cheap rentals
965: [23:52:31] <spronk> :P
966: [23:52:40] <Stomach> pretty sure there would be a mass fleeing from investment property if there were rules
967: [23:52:47] <spronk> which would be grand
968: [23:52:56] <spronk> although not so much for those of us who finally managed to buy property..
969: [23:53:02] <spronk> but hey, greater good
970: [23:53:20] <Stomach> I'm never gonna buy a house at this rate :(
971: [23:53:21] <Ryan-Toast> Stomach: And that you can’t buy without nz residency.
972: [23:53:29] <Stomach> Ryan-Toast a-fucking-men
973: [23:53:51] <UncleCheese__> i just don’t understand the housing market here
974: [23:53:59] <Ryan-Toast> Something like 18% of Auckland’s realestate is owned offshore
975: [23:54:00] <UncleCheese__> i don’t understand the inventory, and i don’t understand the prices
976: [23:54:12] <spronk> i love it, it's so hopelessly broken
977: [23:54:14] <UncleCheese__> well, no capital gains, tax, Ryan-Toast
978: [23:54:16] <Ryan-Toast> UncleCheese__: Few, and expensive.
979: [23:54:35] <UncleCheese__> too much investment.. something like 60% of NZ bank portfolios are mortgages
980: [23:54:47] <UncleCheese__> there’s no real stock market or anywhere else to park your cash
981: [23:54:54] <UncleCheese__> so rentals are the thing
982: [23:55:26] <UncleCheese__> we’ve really hit our rock bottom with the whole thing
983: [23:55:44] <UncleCheese__> might be time to start looking again.. i dunno
984: [23:56:34] <Ryan-Toast> UncleChese__: Hopefully election season brings some change.
985: [23:56:39] <Ryan-Toast> HAHA, WHAT AM I SAYING?
986: [23:56:43] <Stomach> lol
987: [23:56:48] <spronk> jonky doesn't care
988: [23:56:54] <Stomach> I was just about to say something untoward about that comment Ryan-Toast :D
989: [23:56:55] <Ryan-Toast> None of them do.
990: [23:57:00] <spronk> our politicians are just a bunch of bafoons
991: [23:57:03] <spronk> baffoons*
992: [23:57:06] <spronk> sp*
993: [23:57:15] <spronk> buffoons* ?
994: [23:57:20] <Ryan-Toast> People need to stop looking at parties as their figureheads, it’s the whole parties fault.
995: [23:57:21] <Colin[pi]> spronk: s/our/all
996: [23:57:37] <spronk> political parties are depressing
997: [23:57:44] <UncleCheese__> i think they just need to bulldoze the whole city
998: [23:57:48] <Ryan-Toast> Makes it easy to just run a different guy/girl as their lkeader and all is forgiven.
999: [23:57:49] <Colin[pi]> parties should be fun with balloons and cake~!
1000: [23:58:01] <Ryan-Toast> Makes me mad.
1001: [23:58:14] <Ryan-Toast> #Winston 2015 leggo
1002: [23:58:29] <Ryan-Toast> At least he’ll be good for a laugh.
1003: [23:58:35] <Stomach> hes no good in power
1004: [23:58:43] <Stomach> fantastic opposition though
1005: [23:59:05] <Ryan-Toast> Stomach: http://www.reddit.com/r/WinstonJerk

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