#silverstripe IRC Log

IRC log for 12 October 2014

All timestamps are in UTC.

1: [00:01:27] * spronk2 quit (Remote host closed the connection)
2: [00:01:47] * spronk2 has joined #silverstripe
3: [00:26:17] * veb quit (Ping timeout: 255 seconds)
4: [00:30:07] * veb has joined #silverstripe
5: [01:02:20] * SphereSilver quit (Remote host closed the connection)
6: [01:10:18] * simon_w blames you all!
7: [01:10:20] * simon_w quit (Quit: Ping timeout: your mum)
8: [01:14:12] <Colin[pi]> ok?
9: [01:21:58] * simon_w has joined #silverstripe
10: [01:26:28] * micmania1 has joined #silverstripe
11: [01:26:29] * simon_w quit (Ping timeout: 260 seconds)
12: [01:27:02] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13: [01:47:48] <micmania1> Can anyone point mein the direction of where fixtures are created for tests?
14: [02:08:45] * spronk2 quit (Quit: spronk2)
15: [03:09:53] * Colin[pi] quit (Ping timeout: 240 seconds)
16: [03:16:31] * cloph has joined #silverstripe
17: [03:16:52] * cloph_away quit (Ping timeout: 245 seconds)
18: [03:45:54] * r_hector has joined #silverstripe
19: [03:48:58] * Colin[pi] has joined #silverstripe
20: [04:00:09] * Colin[pi] quit (Ping timeout: 272 seconds)
21: [04:14:55] * manja14 has joined #silverstripe
22: [04:15:29] <manja14> why on earth DataObject::get()->count() returns string?
23: [04:44:49] * micmania1 quit (Ping timeout: 248 seconds)
24: [04:50:30] <manja14> can anyone clear up that mistery for me?
25: [05:21:37] * simon_w has joined #silverstripe
26: [06:15:57] * Colin[pi] has joined #silverstripe
27: [06:50:15] * Colin[pi] quit (Ping timeout: 244 seconds)
28: [07:22:30] * simon_w quit (Read error: No route to host)
29: [07:22:44] * simon_w has joined #silverstripe
30: [07:33:33] * veb quit (Quit: preprocessor-irc-cli)
31: [07:38:16] * simon_w quit (Quit: Ping timeout: your mum)
32: [08:02:26] * Kingy is now known as Kingy[a]
33: [08:04:49] * simon_w has joined #silverstripe
34: [08:13:58] * oetiker quit (Remote host closed the connection)
35: [08:14:38] * oetiker has joined #silverstripe
36: [08:25:10] * simon_w quit (Read error: Connection reset by peer)
37: [08:25:15] * simon__w has joined #silverstripe
38: [08:29:01] * manja14 quit (Ping timeout: 246 seconds)
39: [09:09:17] * simon__w quit (Quit: Ping timeout: your mum)
40: [09:17:32] * micmania1 has joined #silverstripe
41: [09:17:55] <ss23> https://www.youtube.com/watch?v=PS3jlUPPf5U
42: [09:27:38] * Shrike_Finland has joined #silverstripe
43: [09:40:30] * simon_w has joined #silverstripe
44: [09:41:15] <Shrike_Finland> Is there an easy way of including users IP-address on contact form?
45: [09:58:36] <ss23> Just be like $contacthing->IP = $SERVER['REMOTE...]?
46: [09:58:58] <Shrike_Finland> does getIP() work here?
47: [09:59:40] * micmania1 quit (Ping timeout: 276 seconds)
48: [10:10:43] * Shrike_Finland quit (Quit: Leaving.)
49: [10:14:48] * simon_w quit (Quit: Ping timeout: your mum)
50: [10:27:30] * Shrike_Finland has joined #silverstripe
51: [10:47:42] * manja14 has joined #silverstripe
52: [10:47:55] <manja14> anyone alive?
53: [10:48:29] * spronk2 has joined #silverstripe
54: [10:48:51] <manja14> is there a way to force Fluent to ommit locale from url?
55: [10:49:08] <manja14> if I have different domain for each locale?
56: [11:24:47] * Adesso has joined #silverstripe
57: [11:25:05] * Shrike_Finland quit (Quit: Leaving.)
58: [11:33:15] * Shrike_Finland has joined #silverstripe
59: [11:35:58] * stephanvd has joined #silverstripe
60: [12:06:36] * gelignite has joined #silverstripe
61: [12:11:16] * hailwood has joined #silverstripe
62: [12:12:45] * Shrike_Finland quit (Quit: Leaving.)
63: [12:46:42] * Adesso quit (Read error: Connection reset by peer)
64: [13:44:00] * Adesso has joined #silverstripe
65: [13:46:21] * stephanvd quit (Quit: Computer has gone to sleep.)
66: [13:47:52] * stephanvd has joined #silverstripe
67: [13:54:48] <Adesso> Anybody know how to set the Scope for a if ?
68: [13:55:10] * gelignite quit (Quit: http://bit.ly/nkczDT)
69: [13:55:45] <Adesso> if Item.ClassName == SomePage then Item.Content else Content
70: [14:00:36] <Adesso> Seems one can't nest a with with if
71: [14:00:38] <Adesso> :/
72: [14:25:22] <Adesso> seems I have to make a if and else ... and call the functions diffrently..
73: [14:25:27] <Adesso> not nice... but it works
74: [14:25:37] <Adesso> I guess I'll try optimizing later
75: [14:25:56] <Adesso> extra work done for today.. Have a nice Sunday incase anybody reads this
76: [14:25:59] <Adesso> ;)
77: [14:26:15] * Adesso quit (Quit: Enough work for Sunday)
78: [14:26:16] * r_hector quit (Quit: Leaving.)
79: [15:44:26] * spronk2 quit (Quit: spronk2)
80: [17:38:36] <manja14> busy day on irc, isn't it?
81: [19:31:47] * tankr has joined #silverstripe
82: [19:34:21] * Ryan-Toast has joined #silverstripe
83: [19:35:10] * nickmolhoek has joined #silverstripe
84: [19:39:10] * Azure quit (Quit: My MBP went to sleep.)
85: [19:43:29] * Stomach has joined #silverstripe
86: [19:43:58] * spronk2 has joined #silverstripe
87: [19:49:22] * pippy has joined #silverstripe
88: [19:51:06] * novaweb has joined #silverstripe
89: [19:56:36] * spronk2 quit (Quit: spronk2)
90: [19:57:53] * Olliepop has joined #silverstripe
91: [20:00:47] * terryapodaca quit (*.net *.split)
92: [20:00:47] * Zauberfisch quit (*.net *.split)
93: [20:01:02] * Zauberfisch has joined #silverstripe
94: [20:04:03] * tankr quit (Quit: Textual IRC Client: www.textualapp.com)
95: [20:04:16] * terryapodaca has joined #silverstripe
96: [20:07:36] * timezone quit (Remote host closed the connection)
97: [20:07:40] * timezone has joined #silverstripe
98: [20:09:33] * antmas has joined #silverstripe
99: [20:14:08] * novaweb quit (Quit: novaweb)
100: [20:14:12] * antmas quit (Changing host)
101: [20:14:12] * antmas has joined #silverstripe
102: [20:14:12] <antmas> morning all!
103: [20:14:58] <antmas> Ryan-Toast: yo, you about?
104: [20:15:06] <Ryan-Toast> antmas: yup
105: [20:15:35] <antmas> Ryan-Toast: got a slight issue with blog/blog holder on BP
106: [20:16:09] * spronk2 has joined #silverstripe
107: [20:16:36] <antmas> Ryan-Toast: blog.navigation is coming up like this http://imgur.com/BM2QX4E
108: [20:17:16] <antmas> Ryan-Toast: aannnnnd the summary on the blog holder page is including $Title twice
109: [20:17:29] <Ryan-Toast> the post needs a blog image
110: [20:18:10] <Ryan-Toast> otherwise put an if statement for the image navigation to ommit if there’s no blog image
111: [20:18:23] <antmas> Ryan-Toast: omit the nav?
112: [20:18:28] <Ryan-Toast> no
113: [20:18:35] <Ryan-Toast> the cta a the bottom
114: [20:18:46] <antmas> ah right, chur
115: [20:19:13] <Ryan-Toast> I’ll add the if stateemnt to core as well.
116: [20:19:32] <antmas> Ryan-Toast: any ideas on the summary issue?
117: [20:19:42] <Ryan-Toast> screenshot it for me
118: [20:19:59] <antmas> 2 secs
119: [20:21:50] * novaweb has joined #silverstripe
120: [20:21:57] <antmas> Ryan-Toast: http://imgur.com/nQx7wAb
121: [20:23:29] * muskie9 has joined #silverstripe
122: [20:23:32] <Ryan-Toast> antmas: did you add your own getContent() method?
123: [20:23:41] <antmas> Ryan-Toast: nup
124: [20:24:02] * irogue_ has joined #silverstripe
125: [20:24:06] * Kingy[a] is now known as Kingy
126: [20:24:10] <Ryan-Toast> well the method it uses is $Content.LimitWordCountXML(40) so no idea why it would prepend the title
127: [20:24:24] <novaweb> SiteConfigExtension Debug::dump($this) displays all the guff I’m interested in, but when I Debug::dump($this->DBField), nothing.
128: [20:24:31] <antmas> Ryan-Toast: yeah it's weird
129: [20:24:49] <novaweb> What am I doing silly..?
130: [20:25:22] <Ryan-Toast> antmas: try just using $Content?
131: [20:25:43] <antmas> Ryan-Toast: without the limit(40)?
132: [20:25:53] <Ryan-Toast> antmas: without the xml
133: [20:25:59] <Ryan-Toast> and the word limit
134: [20:26:23] <antmas> Ryan-Toast: just $content works
135: [20:26:32] <Ryan-Toast> wierd.
136: [20:26:37] <Ryan-Toast> weird
137: [20:26:45] <antmas> well, works as in it doesn't include $Title
138: [20:26:51] <Ryan-Toast> Did you copy paste that biz in?
139: [20:26:58] <Ryan-Toast> from somewhere?
140: [20:27:10] <antmas> nope
141: [20:27:15] <antmas> "OOB"
142: [20:27:19] <Ryan-Toast> Check the html of the editor?
143: [20:27:53] <Ryan-Toast> antmas: image nav method: http://www.sspaste.com/paste/show/543adf1fa7aff
144: [20:27:57] <antmas> you can also just do $Content.Summary()
145: [20:28:28] <antmas> which just grabs the first <p>
146: [20:28:50] * spronk2 quit (Quit: spronk2)
147: [20:30:41] <antmas> Ryan-Toast: also, where are you using that nav method?
148: [20:30:49] <Ryan-Toast> antmas: what if you have a really short paragrapgh though?
149: [20:31:00] <Ryan-Toast> or you have a one word title?
150: [20:31:07] <Ryan-Toast> That’s why I use the limit word count
151: [20:31:14] <Ryan-Toast> heading**
152: [20:31:26] <antmas> Ryan-Toast: yeah I know, would be weird - but our web guy is pedantic and won't do that ;)
153: [20:31:40] <Ryan-Toast> antmas: your web guy maybe, but not all people will.
154: [20:32:35] <antmas> Ryan-Toast: yeah I know
155: [20:34:48] * novaweb quit (Quit: novaweb)
156: [20:36:11] <antmas> Ryan-Toast: where did you include that nav method?
157: [20:36:23] <Ryan-Toast> BlogPage.php
158: [20:36:43] <antmas> herpderp
159: [20:42:05] * zippy has joined #silverstripe
160: [20:42:29] <zippy> Moring
161: [20:42:41] <zippy> is it much of an issue to get ss 2.4 running on php 5.3+ ?
162: [20:46:09] * novaweb has joined #silverstripe
163: [20:46:18] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
164: [20:48:50] * micmania1 has joined #silverstripe
165: [20:49:52] <novaweb> Could someone please advise :/ http://sspaste.com/paste/show/543ae403dd424
166: [20:50:16] <novaweb> I can see everything I need in the line 20 dump...
167: [20:51:24] <muskie9> novaweb, $this->owner->GoogleAnalyticsID
168: [20:52:25] <novaweb> Thanks muskie9, Is owner an OOP concept or to do with SilverStripe…
169: [20:53:05] <muskie9> I think SS, since it's a DataExtension you have to reference the object you've attached it to 'owner'
170: [20:53:09] <muskie9> iirc
171: [20:53:14] <novaweb> Thank you!
172: [20:53:25] <muskie9> sure
173: [20:56:40] * Colin[pi] has joined #silverstripe
174: [20:56:52] * Kingy is now known as Kingy[a]
175: [21:02:37] * Kingy[a] is now known as Kingy
176: [21:02:49] <Kingy> morning
177: [21:05:43] <Colin[pi]> heya Kingy
178: [21:06:01] <Kingy> how doin Colin[pi]
179: [21:06:23] <Colin[pi]> not bad, still not quite awake yet
180: [21:06:42] <Kingy> pfft
181: [21:06:45] <Kingy> got up at 6 and went running
182: [21:07:35] * irogue_ has joined #silverstripe
183: [21:07:43] <Colin[pi]> Kingy: nice work!
184: [21:07:59] <Kingy> yep i'm 5.7kg down in 4 weeks
185: [21:08:12] <Kingy> getting somewhere
186: [21:11:27] <Colin[pi]> nice man
187: [21:14:33] <manja14> anyone has an idea why DataObject::get()->count() returns string?
188: [21:18:46] <Colin[pi]> manja14: according to what I can see in the source, it should always return an int
189: [21:19:59] <manja14> Colin[pi] try SiteTree::get()->filter("ID", -1)->count();
190: [21:20:36] <manja14> (that was just a quick and dirty way to simulate query with 0 results)
191: [21:22:01] <Colin[pi]> hmm a string of "0"
192: [21:22:13] * UncleCheese has joined #silverstripe
193: [21:22:16] <manja14> yup
194: [21:24:59] <manja14> took me a while to catch that lil bastard...
195: [21:26:47] <Colin[pi]> manja14: it's coming from real deep too, in the Query classes
196: [21:27:59] <manja14> wouldn't be easier to cast it to integer in count() method?
197: [21:28:10] <Colin[pi]> manja14: yeah that's what I'm thinking also
198: [21:28:27] <Colin[pi]> if the method is mandated to return an int, it really should be doing that
199: [21:29:28] <manja14> well, something that counts number of something should return integer?
200: [21:29:45] <Colin[pi]> mm
201: [21:29:58] <Colin[pi]> php type juggling probably makes it less of an issue, but yeah
202: [21:31:15] <manja14> unless you write
203: [21:31:26] <manja14> DO::get()->count() === 0
204: [21:31:29] <Kingy> https://drive.google.com/file/d/0B7fuHRcxANYbX3V5S0xhbUNlUDBxZ0dkZ0RRNWFuZ0xhclhz/view?usp=sharing
205: [21:31:33] <Kingy> my view for the weekend
206: [21:31:33] <Colin[pi]> yeah
207: [21:31:47] <Colin[pi]> Kingy: sweet
208: [21:35:16] * gelignite has joined #silverstripe
209: [21:37:14] * novaweb quit (Quit: novaweb)
210: [21:41:13] * novaweb has joined #silverstripe
211: [21:41:27] * stephanvd quit (Quit: Computer has gone to sleep.)
212: [21:42:42] * novaweb quit (Client Quit)
213: [21:43:39] * stephanvd has joined #silverstripe
214: [21:43:53] * novaweb has joined #silverstripe
215: [21:44:30] * Pyromanik has joined #silverstripe
216: [21:44:39] <Pyromanik> Saaaaap bishes!
217: [21:45:04] <irogue_> kia ora
218: [21:45:13] <Pyromanik> kia kaha
219: [21:45:27] <Pyromanik> oi so irogue_
220: [21:45:34] <Pyromanik> I uhh... got a question.
221: [21:45:39] <Pyromanik> or had something to tell you
222: [21:45:52] <Pyromanik> one of those, but I forgot :<
223: [21:46:11] <irogue_> lol
224: [21:46:21] <antmas> hello world
225: [21:46:24] <Pyromanik> There's been a whole weekend between then and now man!
226: [21:46:48] <Pyromanik> might have been something to do with the twitarse, but I forget.
227: [21:47:09] * stojg has joined #silverstripe
228: [21:49:42] <Colin[pi]> antmas: OMG HE'S BACK
229: [21:50:05] <Pyromanik> shady?
230: [21:50:43] <antmas> I'M ALIVE
231: [21:51:13] <Colin[pi]> antmas: that must have been a shitty virus
232: [21:51:38] <antmas> Colin[pi]: it was, trouble is, is that it was 2 viruses at once :(
233: [21:51:44] <Colin[pi]> eh?
234: [21:51:56] <antmas> flu and conjunctivits
235: [21:52:10] <Colin[pi]> ohh :(
236: [21:52:14] <Colin[pi]> that sucks
237: [21:52:19] <antmas> yeah, it was shithouse
238: [21:54:15] * stephanvd quit (Quit: Computer has gone to sleep.)
239: [21:55:00] <Pyromanik> so much motoracing
240: [21:55:11] <Pyromanik> this weekend... so so so much!
241: [21:55:21] <antmas> I missed the V8s
242: [21:55:24] <antmas> ;____:
243: [21:55:28] <Pyromanik> WEC was on too
244: [21:55:34] <Pyromanik> nihon
245: [21:55:38] <Colin[pi]> antmas: such an awesome win for that guy
246: [21:55:44] <Pyromanik> that kiwi chap came third
247: [21:55:55] <antmas> awesome
248: [21:55:57] <Pyromanik> (well, with the rest of his crew too I guess)
249: [21:56:11] <antmas> first time ever there was no free to air coverage in NZ/AUS
250: [21:56:23] <Pyromanik> Young Hartley.
251: [21:56:26] <Pyromanik> that's him.
252: [21:56:35] <Pyromanik> antmas, v8s? or wec?
253: [21:56:52] <antmas> Pyromanik: bathurst
254: [21:57:19] <Pyromanik> really? Rude!
255: [21:57:29] <antmas> yeah it all went to Sky Sport 3 I think
256: [21:57:36] <Colin[pi]> antmas: was fta here?
257: [21:57:41] <antmas> and the live stream wasn't available to us
258: [21:57:47] <antmas> Colin[pi]: really? NZ got ripped then
259: [21:58:17] <Colin[pi]> antmas: mm I think if it wasn't FTA here, there would be a fucking tsunami of bogans flooding through the Channel Seven gates
260: [21:58:19] <antmas> Pyromanik: you know any stream feeds for motor racing?
261: [22:00:19] <Pyromanik> nup
262: [22:00:23] <antmas> damn
263: [22:01:44] <zippy> last year it wasn't on free to air either wasnt it?
264: [22:01:57] * simon_w|work has joined #silverstripe
265: [22:01:58] <zippy> It was quite good with the sky coverage. no bloody ads!
266: [22:02:15] <Pyromanik> you see this irogue_ ?
267: [22:02:15] <zippy> when it was on tv3 it seemed like a supercheap auto ad every 10 mins
268: [22:02:16] <Pyromanik> https://pbs.twimg.com/media/Bzh1wWlIQAEPs4H.jpg:large
269: [22:02:21] <Pyromanik> HILARITY
270: [22:02:29] <Colin[pi]> I'd imagine the sporting deals in TV are only going to get more important for the channels, as it's one of the last areas they can make money
271: [22:07:33] <simon_w|work> Too early
272: [22:07:44] <simon_w|work> Should still be in bed
273: [22:07:48] <ss23> story of my life
274: [22:08:01] <Pyromanik> wholey shit simon_w|work, that 'OOP is bad' essay is such a fuck'n diatribe!
275: [22:08:08] <irogue_> I wonder how Sommet are doing
276: [22:09:16] <simon_w|work> Pyromanik, good read though
277: [22:09:17] <Pyromanik> I read like... 11 paragraphs and chappy hasn't listed a single fuck'n point yet!
278: [22:09:17] <Pyromanik> dunno, I hope to find out tomorrow
279: [22:09:27] <Pyromanik> under the guise of 'research' :P
280: [22:10:26] <Pyromanik> anyway, since we're both on DST now... my clock says it's 11am which means it's 11pm which means it's bedtime.
281: [22:10:40] <Pyromanik> 11:11 even!
282: [22:10:44] <Pyromanik> make a wich
283: [22:10:48] <Pyromanik> wish!
284: [22:10:50] <Pyromanik> boom.
285: [22:12:35] <novaweb> How does one debug php functions such as file_get_contents in the CMS?
286: [22:13:14] <novaweb> All I get is “Warning at line…” Me needs more info, but Debug::show no behave the same in back as front end.
287: [22:19:03] <simon_w|work> novaweb, if you look at the actual response, it'll have the error message
288: [22:20:18] <novaweb> simon_w|work Where do I see this response though? All I am getting is Warning at line 45 of SiteConfigExtension.php
289: [22:20:30] <simon_w|work> novaweb, web inspector
290: [22:20:31] <novaweb> I am keen to see the actual response :)
291: [22:21:20] <novaweb> Console. Thank you, I see now.
292: [22:21:41] * veb has joined #silverstripe
293: [22:24:52] * Fuxo has joined #silverstripe
294: [22:26:03] <Fuxo> how can I see errors/warnings thrown in ajax cms calls? I only see black notification with truncated text
295: [22:28:04] <UncleCheese> oop is bad?
296: [22:28:27] <simon_w|work> Fuxo, use your browser's web inspector
297: [22:28:49] <ss23> I'd say people needa chill out and stop thinking OOP is the only way to solve problems, but I wouldn't call it bad
298: [22:28:54] <ss23> n.b. I didn't read the essay
299: [22:29:00] <Stomach> wheres the essay
300: [22:29:00] <UncleCheese> where is this essay?
301: [22:29:13] <UncleCheese> essay.read();
302: [22:29:41] <UncleCheese> irc.search('oop essay').get(0).read();
303: [22:30:13] <simon_w|work> twitter.com/simon_w
304: [22:30:14] <simon_w|work> go find it
305: [22:30:29] <Stomach> http://getpocket.com/s/TTUG
306: [22:31:47] <Ryan-Toast> Stomach: tl;dr
307: [22:32:11] <ss23> lol
308: [22:32:39] <Stomach> that is way too long
309: [22:32:43] <Stomach> will read it tonight
310: [22:32:43] * Kingy is now known as Kingy[a]
311: [22:32:54] <zippy> Stomach: my thoughts exactly
312: [22:33:03] <ss23> Does apache complete the TCP connection while it's waiting for workers, or does it only actually complete the TCP connection when it has a worker ready to serve it?
313: [22:33:13] <ss23> (I don't think I have an easy/quick way to test this)
314: [22:33:48] * Kingy[a] is now known as Kingy
315: [22:33:58] <Fuxo> simon_w thanks
316: [22:34:29] <UncleCheese> Dev: Fine. How ’bout this SOAPAction HTTP header, what’s that for?
317: [22:34:29] <UncleCheese> SG: To be honest, no one’s really sure.
318: [22:34:52] <zippy> SOAP? :S
319: [22:35:52] <ss23> I do love that SOAP bit
320: [22:35:59] <ss23> I can never find it when I need it though, I should bookmark it
321: [22:36:17] <UncleCheese> WDSL: "Here is an ontology to manage your ontologies (good luck!):"
322: [22:36:18] <UncleCheese> lol
323: [22:36:21] <Fuxo> hmm, strange. I only get Warning at line 780 of /home/zd009900/www_root/framework/view/SSViewer.php without any details
324: [22:36:48] * gelignite quit (Quit: http://bit.ly/nkczDT)
325: [22:37:36] * Kingy is now known as Kingy[a]
326: [22:37:40] <zippy> antmas: Is the Kowhai tree protected or can I cut it down a bit?
327: [22:37:40] <simon_w|work> Fuxo, network tab. You want the full response.
328: [22:38:58] <Fuxo> ahh, I see it now
329: [22:39:37] <Fuxo> it looks like it cannot find an email template - I have a custom cms action that sends emails
330: [22:39:53] <simon_w|work> Fuxo, your template can't be in your theme if you want to use it in the CMS
331: [22:40:20] <antmas> yay, grunt npm is finally working :D
332: [22:40:32] <antmas> -grunt*
333: [22:40:33] <Fuxo> it's not really a template for cms, it is for sent emails
334: [22:40:40] * Kingy[a] is now known as Kingy
335: [22:41:01] <Fuxo> but I suppose that in needs to be in mysite folder anyway
336: [22:41:02] <Kingy> zippy: pretty sure it's a native and you can't just cut it down
337: [22:41:20] <zippy> can I prune though... antmas can I pruunnee!
338: [22:42:41] <Kingy> 200k fine zippy
339: [22:42:42] <Kingy> :P
340: [22:42:49] <zippy> :(
341: [22:43:06] <Kingy> is it big?
342: [22:43:10] <Ryan-Toast> Spend $20 on product that promises to comile css from a cms so I could reverse engineer it… does exactly what I do atm ><
343: [22:43:15] <Kingy> apparently if it's a specific size/girth you can't
344: [22:43:31] <Kingy> zippy ring council
345: [22:43:46] <zippy> Kingy: antmas works at the council
346: [22:43:56] <Kingy> would you trust him...
347: [22:43:57] <Kingy> really...
348: [22:44:12] <zippy> didn't let me down about my building consent :)
349: [22:44:24] <Kingy> so you think lol :P
350: [22:44:37] <zippy> legit-building-consent-by-antmas.co.nz :D
351: [22:44:52] <Kingy> just wait until you try to sell
352: [22:44:53] <Kingy> lol
353: [22:46:37] <Ryan-Toast> Colin[pi]: do you not use Requirements?
354: [22:47:03] <Colin[pi]> Ryan-Toast: I do?
355: [22:47:14] <Ryan-Toast> Colin[pi]: Is you health school website in dev mode still?
356: [22:47:26] <Colin[pi]> Ryan-Toast: shouldn't be? ton of css?
357: [22:47:27] <antmas> wat?
358: [22:47:33] <Ryan-Toast> Colin[pi]: ye
359: [22:47:38] <Colin[pi]> mm let me see
360: [22:48:27] <Fuxo> simon_w, thanks for your help, I moved related emails templates and their includes under mysite/ and it's ok now
361: [22:51:20] * hailwood quit (Ping timeout: 250 seconds)
362: [22:53:18] <Fuxo> how should I handle user error in a form construct()?
363: [22:54:13] <Fuxo> e.g. what should I do if $order == null?
364: [22:58:48] <irogue_> [11:36:16] <UncleCheese> WDSL: "Here is an ontology to manage your ontologies (good luck!):"
365: [22:58:50] <irogue_> fuck SOAP
366: [22:59:07] <ss23> The biggest problem I have is how complicated/big it is
367: [22:59:12] <UncleCheese> Speaking of soap
368: [22:59:12] <ss23> It's really hard to hold it all in your mind at once
369: [22:59:14] <ss23> One might even say
370: [22:59:15] <ss23> That I
371: [22:59:16] <ss23> Drop the soap.
372: [22:59:44] <UncleCheese> nah, i won't bore you with that story
373: [23:00:09] <antmas> Downloading project files...
374: [23:00:16] * antmas twiddles thumbs
375: [23:00:30] <irogue_> god forbid your WSDL doesn't match your XSD doesn't match your data
376: [23:01:04] <ss23> Hey wait
377: [23:01:07] <ss23> antmas is .NET right?
378: [23:01:11] <ss23> I bet he *loves* SOAP
379: [23:01:17] <irogue_> yep he's a sharepoint fanboi
380: [23:01:46] <antmas> WHAT IS THIS
381: [23:02:05] <antmas> ss23: we use a little bit of SOAP
382: [23:02:10] <antmas> but agreed, it's shit
383: [23:02:11] <UncleCheese> fuck SOAP
384: [23:02:27] <ss23> https://www.youtube.com/watch?v=RnqAXuLZlaE#t=100 VIA SOAP
385: [23:02:29] <ss23> VIA SOAAAAAAAAAAAAAAAAAAAAP
386: [23:02:57] * novaweb quit (Quit: novaweb)
387: [23:03:49] <zippy> hahahaahah
388: [23:03:58] <zippy> I just went looking for that
389: [23:03:59] <irogue_> novaweb loves SOAP and was offended by all of our hating
390: [23:04:21] <ss23> lol
391: [23:06:00] <antmas> we have a couple of things still using SOAP
392: [23:06:08] <antmas> the rest uses err.... REST
393: [23:06:15] <antmas> not that you really compare the two
394: [23:06:20] <zippy> ss23: now I have to listien to https://www.youtube.com/watch?v=i5Kwf_nNmGI
395: [23:07:02] <ss23> lol
396: [23:07:33] <Fuxo> zippy, listen to https://www.youtube.com/watch?v=Exsu5a-rvz0
397: [23:09:51] <ss23> DA DA
398: [23:09:53] <ss23> DA DA DA DA DA
399: [23:09:56] <ss23> DA DA DA DA
400: [23:09:59] <ss23> DADADADADAADAADADD A DA
401: [23:10:00] <ss23> DA DADAADA
402: [23:10:21] * novaweb has joined #silverstripe
403: [23:10:55] <ss23> do do do do do do do do do
404: [23:10:57] <ss23> DA DA.
405: [23:10:58] <ss23> DA DA DA DA.
406: [23:11:03] <ss23> DA. DA. DA. DA. DA
407: [23:11:09] <ss23> AH AH AH HA AH AH AH AH AH AHAHHHHHHHHHHHHHHHHHHHHHHHHH
408: [23:11:14] <ss23> ahhhhhhhhhhhhhhhhhhhhhh.....
409: [23:11:28] <Fuxo> unrecognized SOAP message
410: [23:12:14] <ss23> DA DA. DA DA DA DADA. DA ADADAA. DADADADADADADADDADDA DO DODO
411: [23:12:15] * glenn-bautista has joined #silverstripe
412: [23:12:30] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
413: [23:12:38] <novaweb> using file_get_contents from mysite/code/SomeFile.php …. to access a js file in mysites, would it be file_get_contents(‘mysite/javascript/file.js’) or file_get_contents(‘../javascript/file.js’) - first time using file_get_contents..
414: [23:13:16] <ss23> Um
415: [23:13:26] <ss23> novaweb: That is probably not the right thing. You should be giving that file to the browser, right?
416: [23:13:43] <ss23> So echo "<script src='foo...bar.js'>" or something? (Though you should probably let silverstripe figure out the exact tag/path
417: [23:14:32] <novaweb> I want to use file_get_contents to read (and store) some text from a file, then manipulate that and use fwrite to write a new file using some parts of the original file, to assets.
418: [23:14:45] <ss23> Um
419: [23:14:57] <ss23> Um um, I'm not sure about the right path. I'd use __DIR__ so you can be 100% sure?
420: [23:15:17] <novaweb> Ok I’ll google this DIR thing, probably what I’m looking for,
421: [23:15:44] <ss23> http://php.net/manual/en/language.constants.predefined.php
422: [23:16:37] * manja14 quit (Ping timeout: 246 seconds)
423: [23:17:39] * irgbit has joined #silverstripe
424: [23:19:15] * Fuxo quit (Quit: leaving)
425: [23:20:33] * hailwood has joined #silverstripe
426: [23:21:44] * novaweb stabs himself in the eye with a fork
427: [23:21:51] <ss23> Ow :S
428: [23:21:59] <ss23> Shit, I wonder what I'll eat for food today
429: [23:22:20] <ss23> I have cold butterchicken sauce mixed with rice left over from last night I left out... that probably won't kill me...
430: [23:22:28] <novaweb> That DIR thing helped me expand my knowledge, however this file_get_contents is still giving me asses.
431: [23:23:00] <antmas> ss23: heat that rice to 'nam homie
432: [23:23:17] <ss23> Yeah, guess that'll taste slightly better
433: [23:23:33] <Kingy> cold butter chicken the next day is best
434: [23:23:42] <ss23> There's no chicken
435: [23:23:45] <ss23> I ate all of that last night
436: [23:23:52] <ss23> It's just the soggy rice covered in the sauce now
437: [23:23:53] <Kingy> sauce is just as good ss23
438: [23:24:15] <antmas> I got mad sick after not reheating rice properly
439: [23:24:20] <ss23> Um
440: [23:24:27] <ss23> You don't need to reheat rice afaik?
441: [23:24:30] <Kingy> psssh weak stomach antmas:P
442: [23:24:34] <Stomach> :(
443: [23:24:36] <ss23> There's no microorganism I can think of on it that'd cause food posioning?
444: [23:24:38] <antmas> :(
445: [23:24:44] <ss23> Urgh, so tired, can barely keep my eyes open. Even blasting this metal isn't helping
446: [23:24:49] <Kingy> ss23 if you left it out sitting on the bench overnight then i'd be a little concerned
447: [23:24:50] <antmas> ss23: it's as bad as chicken if you reheat it incorrectly
448: [23:24:52] <ss23> And chugging coke when I'm sleepy feels gross
449: [23:24:57] <ss23> antmas: Linky?
450: [23:25:00] <UncleCheese> Kingy that is so nasty
451: [23:25:13] <ss23> Cooked rice can contain Bacillus cereus spores, which produce an emetic toxin when left at 4–60 °C (39–140 °F). When storing cooked rice for use the next day, rapid cooling is advised to reduce the risk of toxin production.[30] One of the enterotoxins produced by Bacillus cereus is heat-resistant; reheating contaminated rice kills the bacteria, but does not destroy the toxin already present.
452: [23:25:19] <ss23> :O
453: [23:25:20] <ss23> Kingy: Yeah, I dunno
454: [23:25:22] <Kingy> UncleCheese: yes, but would you put it passed ss23 :P
455: [23:25:23] <ss23> THE MORE YOU KNOW
456: [23:25:30] <glenn-bautista> Hi, I'm trying to create a pull request (first attempt sort of failed). The thing is the issue was logged against silverstripe-cms but the fix needs to be on silverstripe-framework. Do I recreate the issue or something like that?
457: [23:25:32] <ss23> OH GOD, MY HOUSE IS 4-60 DEGREES
458: [23:25:39] <antmas> ss23: yeah dude, it can be pretty bad
459: [23:25:40] <ss23> Kingy: You're right, I did exactly that...
460: [23:25:50] <Kingy> ss23: then yes I'd reheat lol
461: [23:25:54] <ss23> One of the enterotoxins produced by Bacillus cereus is heat-resistant; reheating contaminated rice kills the bacteria, but does not destroy the toxin already present.
462: [23:25:57] <ss23> ah fuck it
463: [23:26:00] <ss23> Reheating won't help, might as well eat it cold
464: [23:26:03] <Kingy> I always eat it straight out of the fridge, shit hasn't killed me
465: [23:26:11] <antmas> yeah cold is fine
466: [23:26:17] <ss23> If I'm sick tomorrow, UncleCheese, you can tell work what happened :(
467: [23:26:32] <Kingy> personal neglegence
468: [23:26:38] <antmas> ^^^
469: [23:26:50] <Kingy> i think i spelt that wrong
470: [23:26:53] <Kingy> negligence
471: [23:27:10] <UncleCheese> glenn-bautista close the request and resubmit to framework
472: [23:27:17] <ss23> "It can produce a toxin, cereulide, which is not inactivated by later reheating. This form leads to nausea and vomiting one to five hours after consumption. It can be difficult to distinguish from other short-term bacterial foodborne toxins such as Staphylococcus aureus."
473: [23:27:23] <ss23> Aw man, see? Even if I do get sick, I'll be fine for tomorrow
474: [23:27:24] <ss23> o/
475: [23:27:31] * irgbit quit (Remote host closed the connection)
476: [23:27:33] <Kingy> rofl
477: [23:27:37] <Kingy> and some weight loss in the process
478: [23:27:38] <Kingy> win-win
479: [23:27:40] <ss23> Shit, the internet is great for simultanously scaring myself, and finding out that it'l lbe fine anyway
480: [23:28:53] <Kingy> yes and you're good for making me crave a curry
481: [23:29:04] <antmas> man, all that dumb npm stuff was such a waste of time
482: [23:29:10] <antmas> a couple of weeks ago
483: [23:29:28] <glenn-bautista> UncleCheese: the request is to the right repo, it's just referencing the wrong issue no. I guess I could just close that request and then just mention that the issue is on the other repo
484: [23:29:47] <UncleCheese> glenn-bautista yup, that would be best
485: [23:30:08] <ss23> antmas: If it makes you feel better, I think node will die long before Ruby does
486: [23:30:15] <ss23> Actualy I'm not sure how that would make anyone feel better
487: [23:30:20] <ss23> I guess just the idea of node dying is good
488: [23:30:37] <antmas> ss23: yeah I guess so
489: [23:31:06] <antmas> "you need to have Ruby and ass installed in your PATH for this task to work"
490: [23:31:08] <antmas> ffffffffffffffffffffffffffffffffffff
491: [23:31:12] <antmas> I DO MOTHERFUCKER!
492: [23:31:14] <ss23> lol
493: [23:31:15] <ss23> ass
494: [23:31:16] <ss23> :3
495: [23:31:41] * irgbit has joined #silverstripe
496: [23:32:48] <UncleCheese> I don't know when Node will die, but when it does, I can assure you it will be buried in a callback pyramid
497: [23:32:53] * novaweb quit (Quit: novaweb)
498: [23:35:11] <Stomach> composer require ass
499: [23:35:12] <Stomach> hehehe
500: [23:45:30] * Liquide has joined #silverstripe
501: [23:48:33] <antmas> how do I fix that?
502: [23:48:35] <antmas> so annoying
503: [23:48:49] <ss23> antmas: We don't even know what ass yo urequire man
504: [23:48:58] <antmas> ss23: `;|
505: [23:49:11] <antmas> sass homie
506: [23:49:24] <ss23> apt-get install ruby?
507: [23:49:30] <antmas> windows :P
508: [23:49:39] <ss23> I dunno man, I don't use Windows to dev, nor do I use ruby/sas
509: [23:49:40] <antmas> ruby is installed and in PATH
510: [23:49:44] <ss23> I got one of the designers to set up SASS for me
511: [23:49:54] <antmas> Ryan-Toast: ?
512: [23:50:11] <Ryan-Toast> antmas: hmm?
513: [23:50:48] <antmas> Ryan-Toast: having an issue with the ole' "you need Ruby and Sass installed and in your PATH to run blah"
514: [23:50:55] <antmas> I've installed Ruby
515: [23:51:32] <Ryan-Toast> suks4u
516: [23:51:43] <antmas> it starts running watch:dist
517: [23:52:11] <antmas> but throws a wobbly at sass:dist
518: [23:52:28] <Ryan-Toast> are you using a ruby cmd?
519: [23:52:43] <antmas> Ryan-Toast: to run grunt?
520: [23:52:47] <Ryan-Toast> ye
521: [23:52:50] <antmas> I didn't think that was necessary
522: [23:52:56] <antmas> as in I haven't before...
523: [23:52:56] <Ryan-Toast> may fix it
524: [23:53:00] <antmas> ah
525: [23:53:35] <antmas> naw, same thing
526: [23:54:22] * antmas tries the manual way
527: [23:58:44] <antmas> sass -v
528: [23:58:50] <antmas> whoops
529: [23:59:18] <Colin[pi]> hunter2

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