#silverstripe IRC Log

IRC log for 6 August 2014

All timestamps are in UTC.

1: [00:00:30] <antmas> :P
2: [00:00:36] <ss23> It's more like stockholm sydnrome with sharepoint
3: [00:00:42] <antmas> this ^^^
4: [00:01:03] <antmas> especially when it means a potential pay rise on delivery :O
5: [00:01:52] <Colin[pi]> lol
6: [00:01:53] * antmas just realised Colin[pi] irogue__ adrexia didn't get any photos of ss23 eating
7: [00:02:34] <ss23> See, that's the difference between .NET people and everyone else
8: [00:02:41] <ss23> "Sure, I'll do literally anything for a payrise"
9: [00:02:53] <ss23> No personal standards
10: [00:02:59] <antmas> ss23: hahahahah
11: [00:03:17] <Colin[pi]> antmas: LOL
12: [00:03:17] <antmas> hey I didn't chose to do it!
13: [00:03:24] <antmas> ;___;
14: [00:03:36] <ss23> You do too!
15: [00:03:38] <ss23> :O
16: [00:04:28] * antmas cries
17: [00:04:33] <antmas> staaahhhhhp
18: [00:04:56] <Kolin> Does anyone know of anyone looking for a PHP developer in central scotland?
19: [00:04:56] <_harold> zippy: am I going completely crazy
20: [00:04:59] <_harold> http://pastie.org/9449066
21: [00:05:03] <_harold> the email is sent
22: [00:05:15] <_harold> success=0 is given
23: [00:05:55] <zippy> what does $email->sendPlain return?
24: [00:05:57] <antmas> Kolin: that is so specific :O
25: [00:06:34] <Kolin> Well I currently work in edinburgh
26: [00:06:50] <simon_w|air> Well, suitcase is mostly packed now
27: [00:06:52] <Kolin> I live about 25 miles out of edinburgh
28: [00:06:57] <ss23> Kolin: We don't have a lot of Scottish people on here, so probably best to look around and things :O
29: [00:07:10] <Kolin> And ill probably be made redundant on friday :?
30: [00:07:19] <antmas> Kolin: ouch!
31: [00:07:28] <Kolin> Aye, I know. But I'm trying everywhere. Just Incase :)
32: [00:07:49] <Colin[pi]> Kolin: I asked a mate of mine who is Scottish, he replied "dont even think they have internet in central scotland"
33: [00:07:57] <Kolin> lol
34: [00:07:59] <Kingy> move to NZ Kolin :)
35: [00:08:15] <Kolin> I'm not sure they would let me Kingy :P
36: [00:08:28] <simon_w|air> Kolin, might have some luck with http://www.silverstripehq.com/jobs/
37: [00:08:53] <Kolin> Thanks simon_w|air, I'll have a look
38: [00:08:57] <Colin[pi]> Kolin: after all, SS Welly is about to move to two floors instead of one :o
39: [00:09:08] <Colin[pi]> must be heaps of jobs, right?
40: [00:09:09] <Colin[pi]> right?
41: [00:09:10] <Colin[pi]> ;D
42: [00:09:18] <Kolin> Must be!
43: [00:09:20] <Kolin> :P
44: [00:09:37] <Colin[pi]> or perhaps just bigger partitions for all
45: [00:09:42] <irogue__> funny timing actually, since the office has basically just emptied out
46: [00:09:44] <willr> We’re hiring too in Auckland and Wellington :)
47: [00:09:56] * Bollig|DesignCty has joined #silverstripe
48: [00:10:00] <simon_w|air> Oh, SilverStripeHQ is you willr?
49: [00:10:01] <_harold> guys anyone help with this issue, I have been working on this for 16 hours straight last issue
50: [00:10:03] <irogue__> since two big teams are based on client's site fulltime now
51: [00:10:04] <_harold> http://pastie.org/9449066
52: [00:10:07] <_harold> the email sends
53: [00:10:11] <Kolin> I would move for work. But getting a visa might be hard
54: [00:10:12] * jenniferaslan quit (Quit: jenniferaslan has left the room)
55: [00:10:19] <Colin[pi]> irogue__: where's this, the Auckland office?
56: [00:10:20] <_harold> the else statement is caught
57: [00:10:23] <_harold> how can it be
58: [00:10:25] <willr> simon_w|air, yep. Because Brian refused to put a jobboard on ss.org
59: [00:10:28] <irogue__> Kolin: micmania1 just moved to SS Wgtn!
60: [00:10:41] <irogue__> from newcastle
61: [00:10:49] <zippy> _harold: what does $email->sendPlain return?
62: [00:10:56] <simon_w|air> willr, don't have to tell you off for using core developers then :p
63: [00:11:06] <irogue__> Colin[pi]: no, wellington. half the people are missing from that office now :P
64: [00:11:08] <willr> :D
65: [00:11:08] <_harold> how do i check
66: [00:11:14] <Colin[pi]> irogue__: oh really? wow
67: [00:11:29] <zippy> just do $x = $email->sendPlain then after var_dump($x); die();
68: [00:11:31] <Kolin> Where do I apply then? :)
69: [00:12:34] <_harold> haha actually that is what I was just doing
70: [00:13:10] <zippy> so what was $x ?
71: [00:13:30] <irogue__> Kolin: only frontend jobs actually listed at SS Ltd at the moment - but http://dna.co.nz/who-we-are/were-hiring/silverstripe-developer/ to work at willr's work, or http://catalyst.net.nz/join-us/jobs/silverstripe-developer-new-zealand-wellington to work at adrexia's work :P
72: [00:13:39] <_harold> NULL
73: [00:13:47] <irogue__> (both for PHP devs)
74: [00:14:00] <Kingy> if you know rails, we're (NZX) are also hiring
75: [00:14:21] <Kingy> One is a junior as well, so even if you only know some could be good :)
76: [00:14:42] <simon_w|air> willr, might want to have jobs.silverstripehq.com redirect to the new URL
77: [00:14:44] <zippy> _harold: it looks like, sendmail might return false sometimes even if email sent - if you look into php email issues
78: [00:14:58] <willr> bah thought that had been setup
79: [00:15:00] <zippy> not sure on that sorry
80: [00:15:01] <irogue__> DAE think dna and catalyst sites look kinda similar?
81: [00:15:02] <Colin[pi]> "you get a job, you get a job, you get a job... EVERYONE gets a job"
82: [00:15:18] <Kolin> I'll have a look at those but I think the're about a half a world away :)
83: [00:15:30] <irogue__> probably more than half :P
84: [00:15:42] <Kolin> Most of a world away :P
85: [00:15:42] <Kingy> eh Scotland, NZ... not huge difference lol
86: [00:15:53] <simon_w|air> irogue__, can't be more than half :p
87: [00:15:57] <Colin[pi]> Kingy: lol
88: [00:16:05] <irogue__> both countries are big fans of swearing
89: [00:16:09] <irogue__> and drinking
90: [00:16:19] <simon_w|air> And making fun of England
91: [00:16:20] <micmania1> Kolin: its just around the corner
92: [00:16:21] <antmas> and hampster wheel internet
93: [00:16:27] <micmania1> its just a really big corner
94: [00:16:42] <simon_w|air> antmas, you know NZ's internet's actually rather decent, right?
95: [00:16:43] <Kingy> speak for yourself antmas
96: [00:16:56] <Kolin> So how does getting a visa for NZ work? :)
97: [00:17:09] <irogue__> yeah, compared to most of the USA, UK, and *especially* Australia, NZ has amazing internet
98: [00:17:10] <Colin[pi]> australia is the only true hamster wheel internet ;P
99: [00:17:12] <micmania1> So if you have a job offer its much easier and faster
100: [00:17:23] <ss23> Comparing internet quality to Australia is like cheating
101: [00:17:27] <irogue__> haha
102: [00:17:27] <simon_w|air> Kolin, there'll be something on http://www.immigration.govt.nz
103: [00:17:29] <Colin[pi]> ss23: ahaha yes ;_;
104: [00:17:30] <micmania1> but you just apply for a temporary work visa which gives you 3 yrs
105: [00:17:31] <zippy> _harold: you could also do var_dump(mail('same@email.com', 'xxxx', 'xx')); in a php script and see what that returns
106: [00:17:32] <ss23> "You know that eating rice for all your life is way better than eating poop constantly, right?"
107: [00:17:36] <ss23> Sure, but that doesn't make rice any good
108: [00:17:42] <micmania1> then you can apply for a permenant one when you get here
109: [00:17:47] <antmas> simon_w|air: Kingy I keeed I keeed
110: [00:17:49] <Kingy> antmas: http://www.speedtest.net/result/3670902973.png
111: [00:17:52] <Colin[pi]> ss23: still want to swap PMs with you guys
112: [00:18:04] <ss23> Colin[pi]: That'd work out best for both of us
113: [00:18:08] <Colin[pi]> YAY
114: [00:18:14] <antmas> Kingy: is that yours?
115: [00:18:16] <_harold> what a crappy thing to be dtuck on so late in the day
116: [00:18:18] <simon_w|air> Kingy, I get those speeds at work!
117: [00:18:19] <ss23> Mainly because it would give a 0% chance of national winning the upcoming election again
118: [00:18:21] <Kingy> antmas: yep :)
119: [00:18:22] <ss23> o/
120: [00:18:31] <Colin[pi]> fuck me cant keep up in here today
121: [00:18:42] <_harold> i'll just have to hard code it as successful
122: [00:19:31] <antmas> Kingy: I haven't run one in a while
123: [00:19:34] <antmas> I should do one
124: [00:19:51] <Kolin> int getRandomBumber(){ return 4 // chosen by a fair dice roll. guarenteed to be random }
125: [00:19:51] <Kingy> haha well at 100/50 I'm always doing it
126: [00:19:59] <ss23> :(
127: [00:20:00] <ss23> only 50/50 here
128: [00:20:03] <irogue__> [12:18] <@ss23> Colin[pi]: That'd work out best for both of us
129: [00:20:07] <irogue__> holy shit it really would
130: [00:20:15] <antmas> 98/50 for me
131: [00:20:21] <ss23> wut
132: [00:20:22] <ss23> 98/50?
133: [00:20:23] <Kingy> yeah but i'm at home :D
134: [00:20:24] <antmas> 18 ping
135: [00:20:29] <zippy> _harold: I don't think that is a ss issue, more of a local serv config issue
136: [00:20:29] <simon_w|air> limited by my wifi here :p
137: [00:20:46] <simon_w|air> Actual plan's 130/15
138: [00:20:55] <antmas> ss23: yup
139: [00:20:55] <irogue__> simon_w|air: get better wifi :P
140: [00:21:00] <ss23> http://www.speedtest.net/result/3670907439.png
141: [00:21:01] <ss23> o/
142: [00:21:05] <ss23> dat ping
143: [00:21:13] <Kingy> nice
144: [00:21:16] <antmas> yeah our ping is 18
145: [00:21:17] <simon_w|air> irogue__, eh, is parents' :p
146: [00:21:26] <ss23> simon_w|air: irrelevant
147: [00:21:31] <antmas> our net here is pretty good actually
148: [00:21:34] <ss23> When I moved back in with my parents, I replaced our wifi
149: [00:21:39] <ss23> ours/theirs
150: [00:21:56] <simon_w|air> ss23, and do I live with my parents?
151: [00:21:59] <irogue__> I just got a http://www.wegotserved.com/wp-content/uploads/2014/04/linksys-wrt1900ac.jpg
152: [00:21:59] <_harold> sure.
153: [00:22:06] <_harold> zippy: thank you for yuor help
154: [00:22:19] <_harold> I am off to cry in my bed now
155: [00:22:38] <zippy> _harold: see ya in 9 hrs!
156: [00:22:40] <antmas> _harold: think about Sharepoint while
157: [00:22:53] <_harold> what is that?
158: [00:22:53] <Kingy> gay balls, who the fuck schedules a meeting for 1
159: [00:23:20] <simon_w|air> The inline image preview is so handy in Textual
160: [00:23:35] <antmas> irogue__: is it awesomesauce?
161: [00:23:46] <irogue__> seems good so far
162: [00:23:46] <_harold> thak you everyone
163: [00:23:51] <_harold> this is the SS Wally signing out
164: [00:24:07] <antmas> I should really get more jackpoints at my place
165: [00:24:10] <irogue__> and of course it looks like a WRT54G so instant geek cred
166: [00:24:13] <antmas> main gaming PC is on wifi :(
167: [00:24:15] <zippy> _harold: most of the issue was that duplicate page thou :)
168: [00:24:53] <Colin[pi]> ahahaha from the seo guy
169: [00:24:59] <Colin[pi]> "<Meta name=”title”> does exist but I agree there is absolutely no need to insert both these tags."
170: [00:25:01] <Colin[pi]> LOOL
171: [00:25:03] <ss23> simon_w|air: I believe you do?
172: [00:25:05] <ss23> simon_w|air: Almost
173: [00:25:08] <ss23> OHHHHHHHH
174: [00:25:10] <ss23> I get it
175: [00:25:12] <ss23> ignore
176: [00:25:14] * _harold quit (Quit: Page closed)
177: [00:27:04] * zippy quit (Quit: zippy)
178: [00:27:12] * zipp has joined #silverstripe
179: [00:27:35] * zipp is now known as Guest5509
180: [00:27:49] <antmas> lol
181: [00:27:53] <irogue__> https://dl.dropboxusercontent.com/u/4618071/homenetwork.jpg
182: [00:27:55] * Guest5509 is now known as zippy
183: [00:27:57] <irogue__> such a high-tech setup :P
184: [00:28:14] <antmas> anyone ever used POE for home networks?
185: [00:28:17] <Kingy> I have some crappy TriplePlay 150 from Slingshot
186: [00:28:22] <antmas> or is it EOP?
187: [00:28:24] * zippy is now known as Guest61566
188: [00:28:35] <irogue__> antmas: PoE good, Powerline (ethernet over power) bad
189: [00:29:30] <irogue__> some people get lucky and have an okay experience with it, but NZ's power is generally just too dirty
190: [00:29:34] <pippy> irogue__: i got the same router, very nice
191: [00:29:39] <irogue__> the units tend to die a lot
192: [00:29:47] <Guest61566> hm
193: [00:29:51] * Guest61566 quit (Client Quit)
194: [00:30:00] <antmas> irogue__: I would love to get off wifi for main PC
195: [00:30:11] <antmas> I wonder if the LL would let us get it in the spare room
196: [00:30:12] * zippy__ has joined #silverstripe
197: [00:30:22] <zippy__> m
198: [00:30:25] <zippy__> god damn it
199: [00:31:16] <antmas> irogue__: where would be a good place to get some PoE gear?
200: [00:31:24] <zippy__> simon_w|air just paid $6.50 for this irc client, it better be good
201: [00:31:36] <irogue__> antmas: what are you planning to power over ethernet?
202: [00:32:13] <antmas> irogue__: yeah, which ever is generally better
203: [00:32:29] <antmas> irogue__: oh you mean, what am I planning to hook it up to?
204: [00:32:30] <irogue__> antmas: not sure you understand, they're opposites
205: [00:32:51] <irogue__> Power over Ethernet, vs Ethernet over Power
206: [00:32:54] <antmas> well, I need a way to get ethernet, without installing wall sockets
207: [00:33:00] <antmas> so, whichever is better
208: [00:33:19] <irogue__> PoE is sending power over ethernet cable
209: [00:33:56] <antmas> yeah I get the difference, but is EoP generally just shit?
210: [00:34:10] <irogue__> yep
211: [00:34:25] <irogue__> as I say, NZ power is dirty
212: [00:34:45] <irogue__> tends to result in lots of packet loss on the ethernet, and eventually the powerline devices just fry themselves
213: [00:35:00] <antmas> yeah I thought so
214: [00:35:17] <simon_w|air> zippy__, probably should've waited a month or so
215: [00:35:21] <simon_w|air> Go time!
216: [00:35:25] * simon_w|air quit (Quit: Textual IRC Client: www.textualapp.com)
217: [00:35:27] <antmas> might just see if I can route a socket through under the house
218: [00:36:20] * r_hector has joined #silverstripe
219: [00:36:53] <irogue__> lawl some ambulance officer is sitting on their radio transmit
220: [00:36:59] <irogue__> and they're cranking the country music
221: [00:37:05] <zippy__> irogue__: web stream?
222: [00:37:26] <zippy__> antmas: daughter is on the front page of local paper :D
223: [00:37:56] <antmas> zippy__: lol nice
224: [00:38:01] <antmas> nelson mail?
225: [00:38:06] <antmas> or tasman?
226: [00:38:11] <zippy__> nop, more local then that
227: [00:38:16] <zippy__> waimea
228: [00:39:02] <antmas> I don't get any paper :P
229: [00:39:15] <antmas> if I do it ends up in the fire pretty quick lol
230: [00:39:39] <irogue__> zippy__: nope. https://dl.dropboxusercontent.com/u/4618071/scanner.jpg
231: [00:39:48] <zippy__> ah :)
232: [00:40:05] <Colin[pi]> AHAHAHAHA the seo guy claims the meta title tag exists, so I asked him to send me the W3C specification that shows it exists
233: [00:40:08] <Kingy> waimea is probably the name of your property zippy__ :P
234: [00:40:13] <Colin[pi]> "Thanks for your response. You are right. In W3C it is mentioned as inappropriate use of Meta element."
235: [00:40:18] <zippy__> :P
236: [00:40:59] <irogue__> bahahaha
237: [00:41:12] <irogue__> Colin[pi]: please tell me you're CCing the client in on this?
238: [00:41:22] <Colin[pi]> irogue__: yep! it's fucking gold
239: [00:41:28] <antmas> awesome
240: [00:42:01] * zippy__ is now known as zippy
241: [00:46:47] * watguy has joined #silverstripe
242: [00:48:47] * spronk has joined #silverstripe
243: [00:50:28] <zippy> ihug?
244: [00:51:10] <watguy> Hello everyone. I was hoping somebody could help me. I need to create single sign on between PHPBB and Silverstripe.....does anybody know of a module that can do this. If not does anyone have any suggestions on how I would have to go about it i.e where to start
245: [00:54:15] <irogue__> antmas: http://www.ascent.co.nz/productspecification.aspx?ItemID=422358
246: [00:55:17] <irogue__> grab one of these kits, it's basically ethernet over wireless. but 5ghz so less likely to clash than 2.4, and point-to-point is more reliable than point-to-multipoint
247: [00:55:45] <irogue__> I think you were there when I pointed one of them out on a camera pole outside SS Auckland, the auckland council use a fuckton of them
248: [00:57:28] <irogue__> and ignore the "out of stock", I just checked snappernet's system and there's heaps of them
249: [01:00:40] <Colin[pi]> irogue__: he still can't admit he's an idiot
250: [01:00:52] * micmania1 quit (Quit: micmania1)
251: [01:00:55] <Colin[pi]> "Sometimes the terminologies used by non-developers can confuse. I apologize for that. The confusion was between <title> and <meta title>."
252: [01:01:00] <Colin[pi]> yeah uh huh
253: [01:03:00] <zippy> watguy: I think what I did one time, is just set the cookies for PHPBB when logged into Silverstripe, I think...
254: [01:17:53] <antmas> irogue__: chur
255: [01:22:53] <antmas> so much want http://lanesplitter.jalopnik.com/this-turbo-diesel-cafe-racer-is-powered-by-bacon-1616666843/+damon cc spronk
256: [01:23:33] <spronk> niiiiiiiice
257: [01:23:52] <antmas> Bacon Fuel!
258: [01:28:41] <Colin[pi]> antmas: LOL
259: [01:28:51] <Colin[pi]> that's amazing
260: [01:29:03] <Colin[pi]> Bacon. Is there anything it.. can't do?
261: [01:29:49] <antmas> It would make everyone hungry as you ride by
262: [01:36:00] <Colin[pi]> antmas: even better!
263: [01:40:01] <watguy> zippy: did you then do the same for the opposite direction?
264: [01:40:48] <zippy> watguy: I think we disabled the login form for phpbb3, redirect people to ss login with return of the page... it's been many a year now
265: [01:41:42] <Ryan-Toast> Anyone know of a 301 redirection module?
266: [01:41:50] <Ryan-Toast> cbf making one
267: [01:42:28] <Stomach> sihttps://github.com/silverstripe-labs/silverstripe-redirectedurls
268: [01:44:47] <antmas> anyone used youshop beore?
269: [01:44:50] <antmas> before*
270: [01:44:58] <Kingy> antmas: yep
271: [01:45:46] <antmas> Kingy: does it save much?
272: [01:46:00] <Kingy> generally
273: [01:46:15] <Kingy> i got a few clothes at xmas and the shop quoted me like $54
274: [01:46:19] <antmas> wouldn't mind sourcing some pc parts overseas as fuck nz prices
275: [01:46:20] <Kingy> youshop did it for $18 or so
276: [01:46:25] <Ryan-Toast> Stomach: http://who-is-awesome.com/
277: [01:46:33] <Stomach> lol
278: [01:46:42] <Kingy> and then a few weeks ago amazon wouldn't ship a kindle to nz
279: [01:46:47] <Kingy> so i got it through youshop
280: [01:47:03] <antmas> Kingy: how long did it take to arrive?
281: [01:47:14] <Kingy> both times shit was here in ~6 days
282: [01:47:30] <antmas> awesome
283: [01:47:40] <Kingy> kindle was even delivered saturday morning
284: [01:48:06] <watguy> thanks zippy i might give that a go
285: [01:48:56] <antmas> Kingy: just signed up for it
286: [01:49:12] <Kingy> yeah it's easy as
287: [01:49:43] <antmas> verification email is taking it's time though :P
288: [01:52:50] <Colin[pi]> my mouse seems to be randomly dying :(
289: [01:53:35] * micmania1 has joined #silverstripe
290: [01:58:34] <antmas> awesome, so the GPU I want will cost me $200 less including postage if I buy it from the states
291: [01:58:43] <antmas> that's nuts
292: [01:58:55] <Kingy> what one you getting?
293: [02:03:39] <antmas> R9 290x
294: [02:03:53] <antmas> maybe, might go nVidia this time
295: [02:04:47] <Kingy> yeah I should upgrade at some stage
296: [02:04:55] <Kingy> still rocking the GTX560
297: [02:05:32] <antmas> my pricespy list just went from $2k NZD down to $1.3k NZD o.O
298: [02:05:38] <antmas> this is dangerous
299: [02:06:07] <Kingy> lol
300: [02:06:22] <zippy> that means you can get more power for same price!
301: [02:06:51] <Kingy> just gotta be careful on import taxes antmas
302: [02:06:51] <Stomach> buy a macbook pro as well
303: [02:06:57] <Stomach> only $800 from noel lemming
304: [02:08:27] <antmas> Kingy: would that not be worked out in the price from youshop?
305: [02:08:36] <Kingy> nah
306: [02:08:40] <Kingy> once it hits customs
307: [02:08:41] <antmas> Stomach: yeah I plan on getting a pro and gaming machine parts
308: [02:08:52] <Kingy> if it's over the threshold they'll hold it until you pay the duty
309: [02:08:56] <antmas> Kingy: so how do you get a quote for that
310: [02:08:58] <antmas> ?
311: [02:09:06] <Kingy> http://www.whatsmyduty.org.nz/
312: [02:10:07] <antmas> OH
313: [02:10:11] <antmas> that changes things :P
314: [02:10:13] <Kingy> basically as long it's under $400 (inc shipping) you'll be fine
315: [02:10:28] <Kingy> and you'd get away with it if you leave enough time in between purchases
316: [02:10:33] <Kingy> or send it to different places
317: [02:10:39] <antmas> so probably best to get single items at any one time (if I'm building a PC)
318: [02:10:59] <Stomach> antmas, nah they are wise to that :P
319: [02:11:50] * Ryan-Toast quit (Quit: Ryan-Toast)
320: [02:12:03] <antmas> yeah I guess they would be
321: [02:16:19] * Ryan-Toast has joined #silverstripe
322: [02:21:56] <pippy> Stomach: how do you get a 800$ MBP from noel lemming?
323: [02:22:29] <Stomach> ask vebb
324: [02:22:34] <Stomach> he got 2
325: [02:26:07] <antmas> veb: ruh? I want a $800 MBP
326: [02:26:16] <antmas> what kind is it though...
327: [02:26:19] <antmas> model*
328: [02:28:29] <irogue__> youshop is pretty good
329: [02:28:57] <antmas> yeah even if you don't get savings, being able to buy from some shops is good enough
330: [02:33:23] <antmas> seriously, $800 mbp...
331: [02:33:26] <antmas> o.O
332: [02:34:09] <zippy> antmas: http://logs.simon.geek.nz/index.php?date=2014-08-05#log_1362218
333: [02:34:30] <zippy> antmas: http://logs.simon.geek.nz/index.php?date=2014-08-06#log_1364530
334: [02:34:42] <Kingy> he got staff discounts and shit so i wouldn't get too excited lol
335: [02:34:51] <antmas> oh lame :P
336: [02:34:54] <zippy> yea but that is a mean discount, like a grand off
337: [02:35:05] <antmas> we get cost + 10%
338: [02:35:11] <zippy> 60% discount on apple stuff. The margin is so fuck all on them
339: [02:35:12] <antmas> buty I doubt that would include apple
340: [02:35:41] <Kingy> right im should stop being a wuss, going to the gym bbl
341: [02:36:09] <antmas> lol
342: [02:36:22] <antmas> is veb somone else?
343: [02:38:59] <irogue__> whoa, 204/84 blood pressure
344: [02:39:10] <irogue__> (old lady an ambulance has just been dispatched to)
345: [02:40:05] <ss23> is that high or low?
346: [02:40:20] <antmas> way high
347: [02:41:05] <antmas> ...right?
348: [02:42:13] <ss23> I don't even know how blood pressure is measured
349: [02:42:13] <ss23> :O
350: [02:42:56] <antmas> isn't the 204 beats per minute?
351: [02:43:03] <antmas> not sure what the 84 is
352: [02:43:33] <Stomach> top is pressure when heart beats
353: [02:43:40] <Stomach> bottom is pressure inbetween
354: [02:43:47] * Stomach used to date a nurse
355: [02:44:41] <ss23> And what is nominal?
356: [02:44:59] <Stomach> 120/80 ish
357: [02:45:14] <ss23> 204 is much higher than 120!
358: [02:45:30] <Stomach> well lower than 120 and lower than 80 i think actually
359: [02:45:35] <Stomach> so 80/30 is not bad
360: [02:45:55] <Stomach> in #silverstripe today: shitty maths with ss23
361: [02:46:02] <antmas> lol
362: [02:46:10] <zippy> lol
363: [02:46:32] <antmas> we had planes yesterday, somewhat refreshing
364: [02:46:43] <Stomach> and airports!
365: [02:47:06] <antmas> true
366: [02:47:35] <ss23> I LOVE ROCK AND ROLL
367: [02:47:38] <ss23> SO PUT ANOTHER DIME IN THE JUKEBOX BABY
368: [02:49:13] <ss23> Desired: 90-119/60-79
369: [02:49:24] <ss23> Above 180 == emergency
370: [02:50:49] <antmas> yeah I remember mine being like 130-140 when running on a treadmill for like 3-4kms
371: [02:50:57] <antmas> and I was PUFFED
372: [02:51:48] <ss23> I suspect mine gets high when I exercise too
373: [02:53:07] <antmas> I wonder what type mine is
374: [02:53:13] * antmas never remembers
375: [02:54:11] <irogue__> yeah mine was 125/82 or so at the doctors today, so slightly high but not terrible
376: [02:54:15] <irogue__> but 204... thats bad
377: [02:54:24] <ss23> I've always had mine be good when tested
378: [02:54:25] <ss23> :O
379: [02:54:28] <ss23> So maybe mine is good always :D
380: [02:54:32] <antmas> mine is low
381: [02:54:36] <ss23> Then again, they say my blood glucose control is really good...
382: [02:54:47] <irogue__> ss23: little do they know
383: [02:54:56] <ss23> oh god
384: [02:54:58] <ss23> this fucking playlist
385: [02:55:12] <ss23> I just called
386: [02:55:13] <ss23> To say
387: [02:55:14] <ss23> I LOVE YOU
388: [02:55:18] <irogue__> bahahaha
389: [02:56:41] <irogue__> heh, so I asked a twitter acquaintance of mine who's a GP in mangere for inside info on doctors in this area, since I needed to find one to go to
390: [02:57:13] <irogue__> he told me to avoid East Tamaki Healthcare and any of their affiliated medical centres, said that at the hospital they're referred to as "East Tamaki No care"
391: [02:57:45] <ss23> hahaha
392: [02:58:15] <irogue__> apparently they do 5min slots instead of 15, and anything *remotely* difficult they tell you to go to the hospital emergency department
393: [02:59:05] <irogue__> am listening to ambos today on scanner, heard *so many* ambos going to East Tamaki Healthcare to transport someone to Middlemore (hospital)
394: [02:59:42] <irogue__> all have ended up being Status 3 or 4 once ambos get there
395: [03:00:28] <ss23> hahaha
396: [03:00:30] <ss23> well
397: [03:00:33] <ss23> "hahhaha" is not quite right
398: [03:00:34] <ss23> it's bad I guess
399: [03:00:39] <ss23> but like "hahah that's horrible."
400: [03:00:49] <ss23> JUST BEAT IT
401: [03:00:53] <ss23> NO ONE WANTS TO BEAT IT, BEAT IT
402: [03:00:59] <ss23> Show em how funky strong is your fight
403: [03:01:04] <ss23> IT DOESN't MATTER WHO'S WRONG OR RIGHT
404: [03:01:36] <irogue__> 3 is "unlikely threat to life" - things like minor fractures etc - basically things that should be able to be dealt with by any medical centre
405: [03:02:21] <irogue__> 4 is "no threat to life" - the kind of thing that you can probably just walk off :P
406: [03:02:28] <ss23> wellllllll
407: [03:02:40] <ss23> once my diabetes was dealt with it was 4, but I bet you couldn't wlak it off
408: [03:02:43] <ss23> :P
409: [03:02:47] <ss23> UNLESS I'M IN STATUS 3 ALL THE TIME
410: [03:02:48] <ss23> :O
411: [03:03:00] <irogue__> lol
412: [03:03:17] <irogue__> or maybe you're status 0
413: [03:03:18] <ss23> oh god
414: [03:03:20] <ss23> now they're playing uh
415: [03:03:23] <ss23> you know
416: [03:03:25] <ss23> the montage song
417: [03:03:28] <ss23> EYE OF THE TIGER
418: [03:03:38] <ss23> this fucking playlist.
419: [03:03:50] <irogue__> ss23: love how you said "the montage song" and I immediately knew what you meant
420: [03:04:37] <ss23> IT'S THE
421: [03:04:43] <ss23> EYE OF THE TIGER, IT'S THE THRILL OF THE FIGHT
422: [03:05:24] <ss23> I never know if I should interupt peoples meetings or not
423: [03:05:24] <ss23> like
424: [03:05:31] <ss23> You have a meeting with em, idc that yours is going overtime
425: [03:05:31] <ss23> :S
426: [03:05:53] <Stomach> nah just go and have a smoke
427: [03:05:59] <Stomach> thats how i deal with everything though
428: [03:06:04] <Stomach> "codes to hard" -> smoke
429: [03:06:08] <Stomach> "need to pee" -> smoke
430: [03:06:13] <Stomach> etc.
431: [03:06:21] <irogue__> [15:06] <Stomach> "need to pee" -> smoke
432: [03:06:28] <irogue__> hmm, peeing seems easier
433: [03:06:39] <zippy> sounds like the a guy I used to work with
434: [03:06:50] <zippy> 1 line of code to smoke ratio it felt like
435: [03:07:17] <Stomach> zippy, im at least 2 lines
436: [03:07:21] <Stomach> maybe 3
437: [03:07:46] <irogue__> at the moment I'm working on about a 1 LoC to 10 minutes of nap ratio
438: [03:07:47] <zippy> least you want get cancer as quick with a ratio like that
439: [03:07:56] <zippy> *wont get
440: [03:07:59] <Stomach> might not cancer at all
441: [03:08:11] <antmas> no one smokes here
442: [03:08:11] <Stomach> could potentially already have it
443: [03:08:15] <antmas> so I can't :(
444: [03:08:16] <Stomach> who knows!
445: [03:08:19] * cloph has joined #silverstripe
446: [03:08:26] <Stomach> so you cant? thats not the right attitude
447: [03:08:33] * cloph_away quit (Ping timeout: 240 seconds)
448: [03:08:36] <irogue__> i dont think anyone smokes at SS akl either
449: [03:08:44] <Stomach> I did once
450: [03:08:47] <Stomach> outside on the deck
451: [03:08:50] <irogue__> oh yeah
452: [03:08:51] <antmas> Stomach: :P but I'd be 'that guy' who smokes and smells like an ashtray
453: [03:08:52] <Stomach> saw a guy across the street having a bong
454: [03:08:53] <irogue__> jho does
455: [03:08:54] <Stomach> good times
456: [03:08:57] <irogue__> but cigars so that barely counts
457: [03:09:04] <antmas> irogue__: that counts
458: [03:09:57] <ss23> billy jean
459: [03:09:59] <ss23> is not my lover~
460: [03:10:13] <Stomach> shes just a girl who thinks that i am the one
461: [03:10:16] <Stomach> but the kid is not my son
462: [03:10:18] <Stomach> do do do
463: [03:10:19] <Stomach> do do
464: [03:10:24] <ss23> da da da da da da
465: [03:10:27] <ss23> XD
466: [03:11:28] <antmas> sirens!
467: [03:11:45] <zippy> nope can't hear em
468: [03:12:25] <antmas> I think it was an ambo
469: [03:12:54] <antmas> awesome, this search crawl has last 1239 hours so far
470: [03:12:58] <antmas> seems legit
471: [03:13:43] <zippy> crawling..?
472: [03:14:30] <antmas> indexing
473: [03:14:53] <zippy> the internet?
474: [03:15:15] <irogue__> ALL OF IT
475: [03:15:28] <antmas> I have no idea
476: [03:15:34] <antmas> oh yes
477: [03:15:46] <antmas> it's crawling over my image slider images library
478: [03:15:48] <antmas> so yeah
479: [03:15:50] <antmas> seems legit
480: [03:15:59] <Olliepop> apache nutch?
481: [03:16:48] <antmas> #justsharepointthings
482: [03:16:58] <Stomach> beautifulsoup!
483: [03:17:44] <zippy> antmas: hopefully it hits a calander and just keeps going forever! least you would of indexed the year 3030!
484: [03:18:25] <irogue__> ini_set('memory_limit', '2048M');
485: [03:18:25] <antmas> :P
486: [03:18:31] <irogue__> mmmm
487: [03:30:52] * Olliepop quit (Ping timeout: 246 seconds)
488: [03:32:59] * Stomach quit (Ping timeout: 264 seconds)
489: [03:33:10] * Stomach has joined #silverstripe
490: [03:35:06] <antmas> hmmmm
491: [03:36:13] <Stomach> hmmmmmmmmmmmmmmmmmmmmmmmm
492: [03:36:42] <Colin[pi]> things that make you go
493: [03:46:10] <antmas> moccona heft meir mmmmm
494: [03:47:05] <irogue__> "Howick 1, clear at Middlemore" "Thankyou Howick 1, go to Howick Station please" "(very surprised tone) oh, thank you, that's a surprise!"
495: [03:47:44] <irogue__> so used to being immediately sent to one job after the previous one finishes that getting to go back to your station is a huge surprise :P
496: [03:48:21] * micmania1 quit (Quit: micmania1)
497: [03:50:29] <antmas> lol
498: [03:52:15] * micmania1 has joined #silverstripe
499: [03:52:18] <antmas> when does Telecom switch over to Spark?
500: [03:52:37] <Kingy> not sure
501: [03:52:47] <Kingy> don't think we've been told to do anything yet
502: [03:52:48] <antmas> this month though right?
503: [03:53:01] <Kingy> lemme see
504: [03:53:37] <Kingy> oh this week apparently
505: [03:53:39] <Kingy> 8th
506: [03:53:47] <Kingy> Further to the announcement released by Telecom Corporation of New Zealand Limited (TEL) earlier today, NZX Regulation (“NZXR”) advises that TEL will be changing its name to Spark New Zealand Limited and its Ticker Code will change to “SPK” effective from Market Open on Friday, 8 August 2014.
507: [03:54:06] <antmas> woah, friday
508: [03:54:23] <Kingy> it
509: [03:54:41] <Kingy> its quite funny. we're planning to do options on equities and shit right
510: [03:54:53] <Kingy> and we were all saying we'll be fine unless someone decides to change their name
511: [03:55:01] <Kingy> 2 weeks later telecom announced they'd be changing
512: [04:08:54] <irogue__> ooo
513: [04:08:59] <irogue__> electrical fire at WorldNet (ISP)
514: [04:10:28] <antmas> 'WorldNet'
515: [04:10:33] <antmas> what a fucking terrible name
516: [04:11:43] <spronk> lolya
517: [04:11:44] <irogue__> they're basically the ISP for asian students and immigrants
518: [04:11:56] <spronk> KEKEKE
519: [04:11:59] <antmas> GloboNet
520: [04:12:07] <antmas> InternetWorld
521: [04:18:31] * Stomcch has joined #silverstripe
522: [04:19:11] <Colin[pi]> penisland
523: [04:19:52] <antmas> Colin[pi]: that time of te day is it?
524: [04:20:04] <Colin[pi]> antmas: ?
525: [04:20:09] <Colin[pi]> oh must be
526: [04:20:10] <Colin[pi]> lol
527: [04:20:12] <antmas> :P
528: [04:22:01] * Stomach quit (Ping timeout: 255 seconds)
529: [04:22:17] <jordanmk> hey guys
530: [04:23:10] <zippy> jordanmk: hello
531: [04:23:14] <jordanmk> have any of you had success with submitting a SS form via AJAX that includes a FileField for an Image that's part of a has_one?
532: [04:23:50] <jordanmk> i've got the form working fine when it's submitted normally (it's nothing other than a FileField, with the submit method just saving the form into the Member and writing)
533: [04:24:05] <zippy> ok
534: [04:24:06] <jordanmk> but as soon as i submit the form via AJAX, there isn't an error, but the image isn't actually saved
535: [04:24:37] <zippy> when you submit via ajax, is it including the same multi part form thingie
536: [04:27:24] <jordanmk> http://pastebin.com/V9jREekx
537: [04:27:31] <jordanmk> that's the code i'm working with
538: [04:28:29] <zippy> jordanmk: yea but I think it's more to do with your javascript / submiting the form via ajax. eg; http://stackoverflow.com/questions/5392344/sending-multipart-formdata-with-jquery-ajax (that is old) maybe this one http://digipiph.com/blog/submitting-multipartform-data-using-jquery-and-ajax
539: [04:29:26] <jordanmk> and the JS is just http://pastebin.com/3WTz3ZQ8
540: [04:31:19] <zippy> jordanmk: right, so you can't use serialize()
541: [04:31:39] <zippy> jordanmk: http://digipiph.com/blog/submitting-multipartform-data-using-jquery-and-ajax
542: [04:32:48] <zippy> so just a couple of lines
543: [04:32:51] <zippy> to tweak
544: [04:34:26] <jordanmk> ah okay
545: [04:34:29] <jordanmk> looking at that now
546: [04:34:35] <jordanmk> is the only thing that has to be changed this? var formData = new FormData($(this)[0]);
547: [04:35:31] * antmas_ has joined #silverstripe
548: [04:35:59] <zippy> jordanmk: and processData: false, maybe contentType: false,
549: [04:36:09] <jordanmk> okay i'll do some trial and error and see how i go
550: [04:36:18] * Stomcch is now known as Stomach
551: [04:37:01] * antmas quit (Ping timeout: 246 seconds)
552: [04:37:47] <watguy> zippy: by any chance do you remember how you handled members on SilverStripe as opposed to members on phpbb. I.e when a member registered on phpbb how did you registed them on silverstipe or vice versa
553: [04:40:09] <zippy> watguy: again, pick one entry point and close the other. So I think we signed up in SilverStripe, then had a method (I think we had a class called phpbb3 bridge), which would then add the user to the rows in the db. You could probably include enough of the phpbb3 files to then call a register/save method in phpbb3 - but I think we just wrote to the DB direct. I think there was 3-4 tables we had to populate
554: [04:42:34] <jordanmk> zippy: i'm now getting an error 400 (Bad Request) after adding those options :(
555: [04:43:20] <zippy> jordanmk: whats the actual response string? it might be missing the security token? check the fields sent..
556: [04:48:13] * antmas_ quit (Ping timeout: 246 seconds)
557: [04:49:24] <jordanmk> zippy, yeah that's probably it. the response is "There seems to have been a technical problem. Please click the back button, refresh your browser, and try again."
558: [04:49:55] <jordanmk> now to figure out how to add the security token to the data...
559: [04:51:00] <zippy> jordanmk: mmm but we should be able to get all of it with that code data: new FormData($(this)[0]),
560: [04:51:14] <zippy> jordanmk: check your request headers in the browser, and see if that went up
561: [04:52:14] <zippy> jordanmk: you can also do $form->disableSecurityToken(); in your form - to try that
562: [04:52:39] <jordanmk> ah, got it working
563: [04:54:07] <jordanmk> had to set these properties of the AJAX request (and only these)... cache: false, contentType: false, processData: false
564: [04:54:09] <jordanmk> thanks for the help!
565: [04:56:55] * mobiusnz quit (Quit: Leaving.)
566: [05:00:01] <Colin[pi]> client fired!
567: [05:00:06] <Colin[pi]> fuck that feels good
568: [05:00:26] <ss23> ohhhh
569: [05:00:28] <ss23> what'd you fire them for? :D
570: [05:00:39] <Colin[pi]> ss23: being an asshole
571: [05:00:48] <Colin[pi]> XD
572: [05:00:48] <ss23> nic
573: [05:00:49] <ss23> nice
574: [05:00:57] <irogue__> haha
575: [05:01:04] <Colin[pi]> but really just a long, drawn out horrible experience
576: [05:01:07] <irogue__> Colin[pi]: same client that had the SEO?
577: [05:01:10] <Colin[pi]> yep!
578: [05:01:17] <irogue__> haha, v good
579: [05:01:23] <Colin[pi]> just not worth it any more
580: [05:01:29] <Colin[pi]> my stress level is through the roof
581: [05:01:51] * Kingy is now known as Kingy[a]
582: [05:02:11] <irogue__> i also fired a client recently. they replaced their internal IT guy and the new guy was a complete noob
583: [05:02:47] <irogue__> but they believed him over me when it came to hosting and DNS issues
584: [05:04:48] <Colin[pi]> this is the same client I've talked about firing for a long, long time
585: [05:04:57] <irogue__> ah yep
586: [05:04:57] <Colin[pi]> it's be a year I think
587: [05:04:59] <Colin[pi]> *been
588: [05:05:09] * nickmolhoek quit (Quit: nickmolhoek)
589: [05:05:31] <Colin[pi]> when I wake up in the morning and the first thing I think of is this guy, you know you've reached an impass
590: [05:05:41] <ss23> ...
591: [05:05:42] <ss23> I..
592: [05:05:52] <ss23> Colin[pi]: No, I think that's love
593: [05:05:52] <ss23> <3
594: [05:07:05] <Colin[pi]> ss23: I think of you when I go to sleep at night <3
595: [05:07:15] <ss23> :D
596: [05:07:18] <ss23> gaaaaay
597: [05:09:41] <Colin[pi]> what, I can't stroke your long hair and cup your boobies?
598: [05:11:37] <ss23> ;_;
599: [05:11:41] <ss23> SUPER GAY! :P
600: [05:12:05] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
601: [05:13:02] <irogue__> you scared off zippy with all the gayness in the anus
602: [05:13:57] * vebb has joined #silverstripe
603: [05:14:20] <ss23> haha
604: [05:14:46] * Ryan-Toast quit (Quit: Ryan-Toast)
605: [05:17:22] <irogue__> "Auckland City Hospital, Building 35, Mental Health Unit. Investigating smells of electrical burning."
606: [05:17:33] <irogue__> the electroshock therapy chair must be on the fritz again
607: [05:19:39] * Shrike_Finland has joined #silverstripe
608: [05:23:16] * willr quit (Quit: willr)
609: [05:26:07] <irogue__> ss23: https://fbcdn-sphotos-f-a.akamaihd.net/hphotos-ak-xpf1/t1.0-9/q71/s720x720/10547598_694410947295130_5598856050590011748_n.jpg
610: [05:26:11] <irogue__> How do you like your Steak?
611: [05:29:47] <ss23> normally medium-rare
612: [05:30:18] <ss23> lol @ medium well
613: [05:30:20] <ss23> literally so accurate
614: [05:32:11] <irogue__> yep
615: [05:34:31] <irogue__> i remember discussing steak doneness with a mate who's a chef a few months back
616: [05:35:09] <irogue__> when people ask for their steak well done he microwaves it
617: [05:37:21] <Stomach> people asking for steak well done at the restaurant I used to work with instantly caused the wrath of their table because we always said to the whole table "because theres a well done steak on the table, your meals wont be ready for at least 45 minutes, can I get you any more drinks or starters?"
618: [05:37:39] <Stomach> mr/mrs well done steak usually re-ordered
619: [05:37:47] <irogue__> ooo, ute on fire at the papakura on-ramp
620: [05:38:22] <irogue__> Stomach: yeah, thats why my mate microwaves it. takes so freakin' long to cook a steak well-done without burning it
621: [05:38:42] <irogue__> and he figures people with such bad taste as to order well-done steak won't be able to notice its microwaved anyway
622: [05:38:48] <irogue__> (so far nobody's complained)
623: [05:39:25] <Stomach> motherfucking government is making me get a restricted license
624: [05:39:26] <Stomach> ffs
625: [05:39:37] <irogue__> o_O
626: [05:40:05] <Stomach> I've been on my learners for 12 years
627: [05:40:19] <Stomach> and now they are putting a 5 year limit on it
628: [05:40:22] <irogue__> ah yep
629: [05:40:40] <irogue__> I still keep forgetting I have a full license now
630: [05:40:43] <Stomach> i dont want a better license
631: [05:40:50] <Stomach> how do i get out of sober driving forever
632: [05:40:50] <irogue__> and getting all paranoid when driving after 10pm
633: [05:40:54] <Stomach> fucking government
634: [05:44:42] <Colin[pi]> oh no, remember that trampoline web site I made?
635: [05:45:01] <Colin[pi]> the business itself was broken in to: http://www.dailyadvertiser.com.au/story/2466421/games-equipment-smashed-during-jumpnputt-break-in/
636: [05:49:13] * Ryan-Toast has joined #silverstripe
637: [05:52:16] * adrexia quit (Quit: Konversation terminated!)
638: [06:05:47] * CodeTrap quit (Remote host closed the connection)
639: [06:06:30] * CodeTrap has joined #silverstripe
640: [06:08:49] * Ryan-Toast quit (Quit: Ryan-Toast)
641: [06:11:21] * micmania1 has left #silverstripe
642: [06:23:49] * lozhowlett has joined #silverstripe
643: [06:24:49] <lozhowlett> Hi all - has anyone ever seen a problem with sortable grid field when you click the "Allow drag and drop" it shows the loading image, but then unticks the checkbox again and goes back to none sortable?
644: [06:25:10] <lozhowlett> This is my code...
645: [06:25:31] <lozhowlett> lol how do you paste code!
646: [06:25:56] <lozhowlett> [code]$gridFieldConfig->addComponent(new GridFieldSortableRows('SortOrder'));[/cde]
647: [06:26:45] * adrexia has joined #silverstripe
648: [06:38:21] * vebb has joined #silverstripe
649: [06:40:25] * adrexia quit (Quit: Textual IRC Client: www.textualapp.com)
650: [06:40:35] * adrexia has joined #silverstripe
651: [06:40:52] * Colin[pi] quit (Ping timeout: 240 seconds)
652: [06:41:24] * markcl has joined #silverstripe
653: [06:41:37] <markcl> Hello
654: [06:42:13] <markcl> I have a controller WorkPage.php, with a layout in themefolder/Layout/WorkPage.ss but it doesn't show the layout
655: [06:42:32] <markcl> I am expecting it to show the layout generated by Page.ss with WorkPage.ss as layout
656: [06:46:58] <lozhowlett> has you run a flush=all
657: [06:47:53] <markcl> Still no dice lozhowlett
658: [06:48:58] <lozhowlett> Is the correct theme set up in your YML file + database via the settings section in the CMS?
659: [06:49:59] * Shrike_Finland quit (Quit: Leaving.)
660: [06:52:20] * CodeTrap1 has joined #silverstripe
661: [06:52:42] <markcl> It does work if I make a WorkPage.ss in themefolder/
662: [06:53:03] * CodeTrap quit (Ping timeout: 240 seconds)
663: [06:53:19] <markcl> But I want it to inherit from Page.ss
664: [06:53:29] <markcl> and just be a Layout of Page.ss
665: [06:53:54] * willr has joined #silverstripe
666: [06:54:47] <lozhowlett> Does you page.ss have a $Layout call?
667: [06:54:51] * ARNHOE has joined #silverstripe
668: [06:55:30] <lozhowlett> I have an issue where I cant access php.ini... and I get this, Warning: get_magic_quotes_gpc support is being removed from Silverstripe. Please set this to off in your php.ini - but its shared hosting, so no control. Dev enviro is set to live, so I presumes warnings should be off?
669: [06:55:48] <willr> lozhowlett you could use the .htaccess to disable it
670: [06:56:19] <markcl> lozhowlett: yes
671: [06:56:21] <markcl> it does
672: [06:57:00] <lozhowlett> thanks willr will check it out
673: [06:57:32] <markcl> but still doesnt work
674: [06:57:43] <lozhowlett> markcl - have you done a check to ensure the page type is set at your WorkPage
675: [06:57:43] <lozhowlett> ?
676: [06:58:03] <markcl> class WorkPage extends Page {
677: [06:58:17] <markcl> don't know what else I should set for the pagetype
678: [07:00:23] <lozhowlett> I mean in the CMS
679: [07:00:42] <lozhowlett> have you also extended page_controller?
680: [07:03:11] * kerosene has joined #silverstripe
681: [07:03:32] <markcl> Yep it's good in the CMS
682: [07:03:40] <markcl> I did extend Page_Controller
683: [07:03:49] <markcl> class WorkPageHolder_Controller extends ContentController {
684: [07:06:17] <lozhowlett> I'm out of ideas markcl - try the forum?
685: [07:08:16] * irogue__ quit ()
686: [07:09:47] <markcl> Thanks for the help though lozhowlett
687: [07:10:40] * lozhowlett quit (Ping timeout: 246 seconds)
688: [07:11:06] <markcl> lozhowlett: extending Page_Controller worked
689: [07:11:08] <markcl> thanks
690: [07:13:52] * babak has joined #silverstripe
691: [07:43:02] * willr quit (Read error: Connection reset by peer)
692: [07:44:37] * watguy quit (Ping timeout: 246 seconds)
693: [07:45:10] * stnvh has joined #silverstripe
694: [07:45:26] * nedmas has joined #silverstripe
695: [07:46:06] * willr has joined #silverstripe
696: [07:47:27] * Shrike_Finland has joined #silverstripe
697: [07:56:01] * nedmas quit (Quit: nedmas)
698: [07:56:03] * jrthomer has joined #silverstripe
699: [07:58:57] * jrthomer_ quit (Ping timeout: 264 seconds)
700: [08:08:09] * NETim has joined #silverstripe
701: [08:15:18] <NETim> anyone had any luck getting this tutorial to work properly?
702: [08:15:18] <NETim> http://silverstriperesources.futureweb.co.nz/articles/creating-a-totally-custom-page-in-the-admin-area/
703: [08:19:36] * ss23 clicks
704: [08:19:45] * kinglozzer has joined #silverstripe
705: [08:20:07] <ss23> NETim: looks like it'd work, which part are you having trouble with?
706: [08:27:36] * markcl quit (Quit: Leaving.)
707: [08:35:03] * CodeTrap1 quit (Remote host closed the connection)
708: [08:35:10] * CodeTrap has joined #silverstripe
709: [08:39:22] <NETim> ss23, it shows the page, but if you reload the page it loses all of the other L&M bits, the nav, header, styles etc
710: [08:40:22] <ss23> ohhh yep
711: [08:40:33] <ss23> I think that is because of return $this->renderWith('customHelp');
712: [08:40:51] <ss23> When you first click it, it AJAX's in that content, but when you refresh, it loads *only* that content
713: [08:40:59] <ss23> So yeah, the person who wrote the tutorial probably did it a bit wrong
714: [08:41:05] <NETim> ah, any suggestions?
715: [08:41:25] * zippy has joined #silverstripe
716: [08:41:44] <kinglozzer> Couldn't connect to MySQL database | Host '192.168.1.99' is not allowed to connect to this MySQL server
717: [08:41:47] <kinglozzer> FUCK OFF :'(
718: [08:41:56] <ss23> XD
719: [08:41:56] <kinglozzer> I've not touched a thing :<
720: [08:42:04] <zippy> evenings
721: [08:42:53] <ss23> NETim: At a guess, I would uh
722: [08:42:56] <NETim> kinglozzer, hosted server or in house dev?
723: [08:42:56] <ss23> I don't know off hand! :O
724: [08:43:00] <ss23> I'm not good at SilverStripe ;_;
725: [08:43:05] <kinglozzer> NETim: in house
726: [08:43:16] <NETim> no problem.
727: [08:43:20] <kinglozzer> MySQL regularly fucks up, though, I'm used to it now
728: [08:43:33] <kinglozzer> I usually just reinstall it and copy my backups across :P
729: [08:43:42] <NETim> kinglozzer, is your dev server running apache as well as MySQL or are they on different machines?
730: [08:43:50] <kinglozzer> NETim: Nope, same
731: [08:44:06] <ss23> NETim: Honestly, I would look at how other things do it (like look where the current sections are defined) and just copy how they do it
732: [08:44:13] <ss23> I suspect they don't use renderWith() but rather just like
733: [08:44:15] <ss23> finish the method
734: [08:44:19] <NETim> ok, is the error from a site you're working on or are you trying to admin th eDB
735: [08:44:19] <ss23> and it picks the right template to use and does it right
736: [08:44:21] <ss23> If that makes sense :S
737: [08:44:34] <kinglozzer> NETim: Both :P can't connect from CLI either
738: [08:44:45] <NETim> ss23, that makes sense. I've been trying to grab the methods from the other L&M bits
739: [08:44:46] * CodeTrap quit (Ping timeout: 260 seconds)
740: [08:45:06] <NETim> kinglozzer, have you SSH'd into the dev server and used CLI that way?
741: [08:45:24] <kinglozzer> NETim: My machine is the dev server in question
742: [08:45:32] <NETim> Also, are you setting perms on the DB users based on IP?
743: [08:45:44] <kinglozzer> Nope
744: [08:45:53] <NETim> IE 'username'@'192.168.1.99'
745: [08:46:15] <NETim> windows or *nix
746: [08:46:25] <kinglozzer> Fuck it, imma just restart my machine
747: [08:46:31] <kinglozzer> brb
748: [08:46:36] <NETim> k
749: [08:46:38] * kinglozzer quit ()
750: [08:49:12] * caamic30 has joined #silverstripe
751: [08:49:24] <caamic30> Hello SilverStripe!
752: [08:49:38] * Pyvzxk has joined #silverstripe
753: [08:50:39] * kinglozzer has joined #silverstripe
754: [08:50:45] <kinglozzer> Shit. Didn't fix it
755: [08:50:46] <kinglozzer> :P
756: [08:50:54] <NETim> bugger.
757: [08:50:54] <Pyvzxk> wassup kloz?
758: [08:51:18] <kinglozzer> Pyvzxk: MySQL's up
759: [08:51:45] <kinglozzer> As of about 5 minutes ago it decided it didn't like me any more and would lock me out entirely
760: [08:51:48] <Pyvzxk> lolbl2u
761: [08:53:10] <kinglozzer> Access denied for user 'root'@'localhost' (using password: YES).... srsly....
762: [08:53:16] * sunzofma11 quit (Ping timeout: 264 seconds)
763: [08:53:31] * DesignCity has joined #silverstripe
764: [08:53:32] * Bollig|DesignCty quit (Ping timeout: 266 seconds)
765: [08:53:34] * DesignCity is now known as Bollig|DesignCty
766: [08:53:52] * sunzofman1 has joined #silverstripe
767: [08:55:01] <zippy> Pyvzxk: o/
768: [08:55:11] * CodeTrap has joined #silverstripe
769: [08:55:28] <zippy> Pyvzxk: Thought you'd be interested in knowing...... http://logs.simon.geek.nz/index.php?date=2014-08-06#log_1364669
770: [08:56:11] <NETim> kinglozzer, try this to reset the PW http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html
771: [08:56:37] <NETim> If MySQL isn't shut down properly it can sometimes corrupt the user/perms tables
772: [08:57:02] <kinglozzer> I've tried killing it entirely, now trying mysqld_safe --skip-grant-tables
773: [08:57:08] <ss23> lol
774: [08:57:45] <zippy> kinglozzer: if your on ubutnu or debian, then you can easyily reset the root password using the mysql package recondifgure command thingie
775: [08:58:13] * Bollig|DesignCty quit (Client Quit)
776: [08:58:16] <kinglozzer> Ffs, PGSQL anyone?
777: [08:58:52] <Zauberfisch> kinglozzer: wait for at least 1 more month
778: [08:59:01] <Zauberfisch> tractorcow is currently refactoring it
779: [08:59:06] <Zauberfisch> (the ss db driver)
780: [09:01:59] * nedmas has joined #silverstripe
781: [09:02:05] <nedmas> Morning all :)
782: [09:02:39] <nedmas> M4ng0trr33
783: [09:04:11] <caamic30> question? what is the shortest code to get the current role of a current member?
784: [09:04:13] * nedmas quit (Read error: Connection reset by peer)
785: [09:07:51] * nedmas has joined #silverstripe
786: [09:07:52] <zippy> caamic30: Member::currentUser()
787: [09:07:59] <zippy> oh the current role
788: [09:08:59] * Kapdap quit (Ping timeout: 264 seconds)
789: [09:09:08] <zippy> nedmas: nice pwd
790: [09:09:12] * Kapdap has joined #silverstripe
791: [09:09:32] <caamic30> zippy: yes the current role based on their group.
792: [09:10:03] <nedmas> zippy: lol thanks, damn autofocusing windows!
793: [09:10:55] <caamic30> because I have groups of admins “administrator”, “administrator 2”, “”dministrator 3”, I assigned “administrator 3” a role called “SUPERADMIN”
794: [09:11:08] <Pyvzxk> haha zippy oh gawd, the poor guy.
795: [09:11:28] <Pyvzxk> [09:56] <NETim> If MySQL isn't shut down properly it can sometimes corrupt the user/perms tables
796: [09:11:28] <caamic30> now I need a checking their permission and at the same time the role is “SUPERADMIN”
797: [09:11:39] <Pyvzxk> [09:56] <NETim> MySQL isn't properly it can sometimes corrupt the user/perms tables
798: [09:11:47] <Pyvzxk> [09:56] <NETim> MySQL isn't properly it corrupt the user/perms tables
799: [09:11:55] <Pyvzxk> [09:56] <NETim> MySQL isn't properly it corrupt tables
800: [09:12:06] <Pyvzxk> get a real database.
801: [09:12:35] <NETim> Pyvzxk, with quoting like that you could be a journalist
802: [09:12:38] <NETim> :D
803: [09:12:57] <Pyvzxk> [09:56] <NETim> MySQL corrupt
804: [09:13:00] <Pyvzxk> sold!
805: [09:13:09] <zippy> caamic30: I think you'd just check if the user has the role superadmin
806: [09:13:09] <NETim> wow, do you work for Fox news?#
807: [09:13:41] <Pyvzxk> no, otherwise I would have said something like
808: [09:13:49] <NETim> anyone know the leftandmain function equivalent to renderwith?
809: [09:14:04] <Pyvzxk> [09:56] <NETim> I terrorise puppies
810: [09:14:31] <zippy> caamic30: Permission::check("SUPERADMIN") ?
811: [09:15:04] <Pyvzxk> nah that checks permissions, not roles.
812: [09:15:13] <zippy> balls
813: [09:15:28] <Pyvzxk> kinglozzer: pgsql all the things.
814: [09:15:39] <caamic30> yeah, that checks the permission not the role ;)
815: [09:17:24] <kinglozzer> > brew upgrade mysql
816: [09:17:26] <kinglozzer> please fucking work
817: [09:18:03] <zippy> kinglozzer: looked into mamp pro? new version is quite good, easy to set different versions of php for the different sites
818: [09:18:14] <zippy> otherwise you can just downlod the mysql package for osx on the mysql site
819: [09:19:09] <kinglozzer> I'm just gonna remove mysql entirely and reinstall it
820: [09:19:33] <kinglozzer> I think I have like 4 half-broken installations in different locations which are probably fucking with each other
821: [09:21:42] <zippy> mmm boss burgers are back and mc'ds
822: [09:22:27] * qlex has joined #silverstripe
823: [09:22:33] * qlex has left #silverstripe
824: [09:31:47] <Pyvzxk> omg, the boss!
825: [09:31:51] * Pyvzxk jellies
826: [09:32:12] <Pyvzxk> I've not had maccas since well before I left NZ
827: [09:32:48] <kinglozzer> Right. MySQL is up. Now I've just gotta waste another 30 mins reimporting all my backup SQL dumps...
828: [09:33:25] <Pyvzxk> or just... y'know... don't.
829: [09:33:31] <Pyvzxk> That's what I'd do.
830: [09:33:43] <Pyvzxk> kinglozzer: get on board with the vagrant.
831: [09:34:11] <Pyvzxk> then you can auto dump on bring down
832: [09:34:31] <Pyvzxk> and not rely on a single point of fuckup.
833: [09:34:44] <kinglozzer> Pyvzxk: Mm, I thought about trying it before, never got round to testing it properly
834: [09:34:57] <kinglozzer> How does it work with git etc?
835: [09:35:02] <Pyvzxk> yes.
836: [09:35:40] <kinglozzer> It confuses me, do you commit all the vagrant shit?
837: [09:35:46] <kinglozzer> Or just your docroot
838: [09:35:49] <Pyvzxk> cando
839: [09:36:01] <Pyvzxk> same thing can be
840: [09:36:27] <Pyvzxk> just grab it and have some fiddles
841: [09:36:51] <Pyvzxk> google some example vagrant files
842: [09:37:49] <Pyvzxk> ree, provisioning files.
843: [09:37:58] <Pyvzxk> that's the tricky bit
844: [09:38:18] <Pyvzxk> s/ree/err/
845: [09:41:52] <NETim> anyone else have any experience with doing what this tutorial shows: http://silverstriperesources.futureweb.co.nz/articles/creating-a-totally-custom-page-in-the-admin-area/
846: [09:45:25] <NETim> anyone?
847: [09:45:35] <NETim> anyone familiar with leftandmainextension?
848: [09:46:27] <Pyvzxk> yeah sure.
849: [09:46:44] <Pyvzxk> class AdminThing extends LeftAndMain {...}
850: [09:47:05] <Pyvzxk> what is there to misunderstand?
851: [09:47:06] <NETim> trying to add a page into the CMS to allow users to update their card details. Card details are not stored by the site, we use an external payment gateway and an API
852: [09:47:35] <NETim> I need to create a simple page in the CMS that has a form that posts to a controller.
853: [09:47:36] <Pyvzxk> so override right hand side or whatever it's called (probably EditForm) and dump out an iframe.
854: [09:47:45] <Pyvzxk> problem solved.
855: [09:48:58] <NETim> so, just extend leftandmain and write a new EditForm function?
856: [09:49:23] <Pyvzxk> yeh pretty much. Isn't that what the article says?
857: [09:49:32] <NETim> nope.
858: [09:49:42] <NETim> and it produces some interesting results too
859: [09:49:43] <Pyvzxk> that's what willr said when he first linked to it.
860: [09:50:00] <Pyvzxk> yeah well of course, this is written by a chap who has nothing to do with the community
861: [09:50:01] * pazuur has joined #silverstripe
862: [09:50:08] <Pyvzxk> just self professed expert.
863: [09:50:32] <NETim> the form displays, but on submit or even page reload the form stays but it looses all of the scripts css nav, etc
864: [09:50:55] <willr> You’ll probably need an entwine handler for the submit
865: [09:51:07] <Pyvzxk> mmhmm
866: [09:51:11] <Pyvzxk> welcome to the pain of cms.
867: [09:51:15] <NETim> thanks
868: [09:51:47] <NETim> so, what's the simplest way of getting a form into the CMS that isn't scafolded from a dataobject?
869: [09:52:01] <willr> What you’re doing :)
870: [09:52:05] <Pyvzxk> fuck, ate pizza slice for breakfast. Now I want to eat all my lunch too :< (more pizza bits)
871: [09:52:09] <NETim> with the link you sent?
872: [09:52:29] <NETim> @willr ^
873: [09:52:46] <pazuur> please can someone help me with spamprotection module and recaptcha? I get an error message telling me that the class "RecaptchaField" could not be found in my _config.php. Any idee what might be wrong?
874: [09:53:30] <willr> pazuur got both modules and done a flush=1
875: [09:53:43] <NETim> @willr, could I send you an sspaste to look at, to see where i might be going wrong?
876: [09:53:48] <pazuur> Yes i did willr
877: [09:55:32] <Pyvzxk> pazuur: did you build first?
878: [09:56:07] <pazuur> yes i did dev/build first if that's what you meant
879: [09:56:11] <nedmas> pazuur: have you got APC or some other opcode cache you could flush?
880: [09:56:34] <Pyvzxk> have you got the module in the right place?
881: [09:57:59] <willr> NETim sure
882: [09:58:03] <pazuur> Both modules are in the root renamed dirs after unpacking to "spamprotection" and "recaptcha" then i did a dev/build?flush=all
883: [09:58:16] <Pyvzxk> no, no.
884: [09:58:27] <Pyvzxk> do a dev/build, THEN do a ?flush=all
885: [09:58:40] <willr> and there does exist a class called ‘RecaptchaField’ in your recaptcha/code folder?
886: [09:59:16] <NETim> @willr, here you go: http://www.sspaste.com/paste/show/53e1f8162d943
887: [10:00:42] <pazuur> Yes it does @willr
888: [10:01:13] <Pyvzxk> and they're in the right site?
889: [10:02:05] <willr> NETim I don’t see your form code in there? See http://doc.silverstripe.org/framework/en/reference/cms-architecture#forms which may help
890: [10:02:34] <NETim> @willr, as per the example and since the form is custom, it is in the template.
891: [10:02:46] <NETim> Would putting it in the controller make a difference?
892: [10:03:02] <pazuur> I don't know what you mean Pyvzxk
893: [10:03:35] <willr> right, well your submit function would probably need to return an PjaxResponseNegotiator instance or something like that
894: [10:04:16] <NETim> ok. I have no problem with moving the form into the controller if it is simpler overall
895: [10:05:16] <NETim> The only other issue would be that the payment gateway uses javascript to tokenize and add a new field to the form. Would that cause any issues with getEditForm()?
896: [10:06:53] <caamic30> how come getCMSValidator is not working when dataobject fields are attached to the pagetype?
897: [10:07:27] <caamic30> but is working if the data object is attached to the modeladmin.
898: [10:07:35] <caamic30> any idea please?
899: [10:09:20] <Pyvzxk> pazuur: well, if you have two sites your'e developing, and you install the modules to the wrong one, or edit the wrong _config.php, then yeah, that'll happen.
900: [10:09:29] <Pyvzxk> pazuur: also, what version of SS are you using?
901: [10:09:36] * kerosene quit (Ping timeout: 250 seconds)
902: [10:10:11] <nedmas> Has anyone ever experienced Behat tests not loading the correct page template?
903: [10:10:12] <willr> NETim, just tried it in the cms and works fine for me like https://gist.github.com/wilr/f478f6a7873492433e71
904: [10:10:13] <Pyvzxk> caamic30: because it's ignored.
905: [10:10:14] <pazuur> Haha... Pyvzxk... no that's not the case. I have 3.1
906: [10:10:29] <Pyvzxk> pazuur: then you probably want to check that the module even works with 3.1
907: [10:10:44] * willr quit (Quit: willr)
908: [10:11:18] <caamic30> Pyvzxk: why it is being ignored? how can I make it work on pages?
909: [10:11:26] <Pyvzxk> no.
910: [10:11:37] <Pyvzxk> dunno and no.
911: [10:11:45] <Pyvzxk> it's a bit stupid like that.
912: [10:11:56] <NETim> Thanks @willr, that gives me a good start.
913: [10:12:14] <Pyvzxk> no one really seems to know why it was overlooked in dev. Probably there were plans for a new better system, but that hasn't happened, so idk.
914: [10:12:23] <NETim> @willr, Will it have any problems having a hidden field added by the JS on submit?
915: [10:12:24] <pazuur> In the readme it says it suits silverstripe 3.1 Pyvzxk
916: [10:12:25] <Pyvzxk> at least, afaik
917: [10:12:31] <Pyvzxk> pazuur: does it?
918: [10:12:40] <pazuur> it does
919: [10:12:44] <Pyvzxk> hmm, so it does.
920: [10:12:58] <Pyvzxk> odd. well in any case it'll never give issues if it can't be found at all.
921: [10:12:59] <pazuur> yep
922: [10:13:03] <Pyvzxk> what _config.php are you editing?
923: [10:13:43] <pazuur> mysite/_config.php
924: [10:15:20] <pazuur> I put these rows in it.. RecaptchaField::$public_api_key = 'code got from google captcha'; and RecaptchaField::$private_api_key = 'code got from google captcha';
925: [10:16:21] * kerosene has joined #silverstripe
926: [10:16:27] <pazuur> The free API keys i got from code got from google captcha
927: [10:16:28] <Pyvzxk> die(var_dump(ClassInfo::exists('RecaptchaField')));
928: [10:17:09] <Pyvzxk> you can't do shit until the manifest picks it up.
929: [10:17:14] <Pyvzxk> plain and simple.
930: [10:22:41] <NETim> @willr, the example you sent, what happens to you if you refresh your browser?
931: [10:23:46] * kinglozzer quit ()
932: [10:24:21] <pazuur> The error message is gone now (class exists) after a new dev/build and flush=all after. Everything works fine again like yesterday. I hope the error message is not showing up again. Thanks!
933: [10:24:40] * vebb has joined #silverstripe
934: [10:25:16] <Pyvzxk> pazuur: did you dev/build via command line the first time or something?
935: [10:25:32] <Pyvzxk> because there are different manifests, although I'm not sure if they're 3.2 maybe
936: [10:25:51] <pazuur> No i placed is in the url
937: [10:25:57] <Pyvzxk> hmm, odd.
938: [10:26:05] <Pyvzxk> idk, well it's found it now, good as gld.
939: [10:26:08] <Pyvzxk> gold*
940: [10:26:53] <Pyvzxk> oh, the other thing is that modules need to have _config/ or _config.php in them to be picked up, so if those were missing before then that would cause it I think.
941: [10:27:04] <pazuur> Yes it is, because yesterday everything worked fine. This morning i browsed to the site and it gave me a blank screen with a red message and headaches... :-)
942: [10:27:38] <Pyvzxk> manifest must have corrupted overnight magically like kinglozzer's mysql :P
943: [10:27:46] * Pyvzxk shrugs
944: [10:28:11] * kinglozzer has joined #silverstripe
945: [10:30:31] <pazuur> @Pyvzxk yes the _config.php file is inside both module dirs. I copied the "spamprotection.yml" to my "mysite/_config/" to point to "default_spam_protector: RecaptchaProtector"
946: [10:31:08] <pazuur> Haha..
947: [10:31:16] * kinglozzer completely removed and reinstalled MySQL
948: [10:31:19] <kinglozzer> 10 minutes later...
949: [10:31:24] <kinglozzer> It's fucked. Again.
950: [10:32:53] <zippy> kinglozzer: fuked like what error?
951: [10:33:21] <kinglozzer> Same shit about 192.168.1.99 not allow to connect
952: [10:33:29] <kinglozzer> It worked perfectly for those 10 minutes
953: [10:33:45] <zippy> you not on the same machine as the mysql server?
954: [10:33:52] <kinglozzer> I didn't change a thing, just refreshed a page on a site I'm building and BAM
955: [10:33:55] <kinglozzer> zippy: Yeah I am
956: [10:34:03] <zippy> can't use 127.0.0.1 ?
957: [10:34:06] <kinglozzer> Nope ^^
958: [10:34:17] <kinglozzer> That also DID work
959: [10:34:29] <kinglozzer> But now it tells me "Access denied", nothing more specific
960: [10:34:36] <Pyvzxk> pazuur: don't need to copy the yml file, you can just specify just the options you need to override in the mysite.yml (or any other yml file if you want to separate it out)
961: [10:34:37] <kinglozzer> User/pass = root/root, so definitely correct
962: [10:34:59] <Pyvzxk> kinglozzer: hahahahahahahaaha
963: [10:35:14] <kinglozzer> Pyvzxk: So far I've managed to do about 30 seconds of work
964: [10:35:21] <zippy> kinglozzer: what happens if you open a terminal, and do; telnet 127.0.0.1 3306
965: [10:35:35] <Pyvzxk> localhost != 127.0.0.1 != localhostname != local.external.ip.whatever
966: [10:35:37] <kinglozzer> I'm taking this chance to completely wipe my machine though, gonna bring in my laptop this PM and just work on that
967: [10:35:42] <Pyvzxk> mysql is a cunt like that
968: [10:35:57] <zippy> using localhost uses socket or something doesn't it?
969: [10:36:01] <kinglozzer> zippy: asfasfat(dAXvh(*mysql_native_password
970: [10:36:09] <kinglozzer> Connection closed by foreign host.
971: [10:38:35] <zippy> so it seems to be up then
972: [10:39:24] <Pyvzxk> it'd be faster getting vagrant runing.
973: [10:39:31] <Pyvzxk> £justsaying
974: [10:40:17] <zippy> kinglozzer: create a basic php page- <?php $db = mysql_connect('root', 'root', '127.0.0.1'); mysql_select_db('whatever', $db); var_dump(mysql_error($db));
975: [10:40:49] <zippy> kinglozzer: your config isn't conditional and it's trying to access someting else or anything?
976: [10:43:24] * CodeTrap quit (Ping timeout: 250 seconds)
977: [10:43:27] <zippy> irc is sometimes like drama tv
978: [10:43:37] <zippy> kept in suspense while you wait to hear back...
979: [10:43:53] <zippy> is it working and they're just gone off, or have they smashed a hole in the wall
980: [10:44:44] <Pyvzxk> foreach(['127.0.0.1','localhost','192.168.1.99','machinehostname'] as $access) if(!mysql_connect($access, 'root', 'root')) $errors[] = $access; var_dump($errors);
981: [10:44:48] <Pyvzxk> do that kinglozzer.
982: [10:44:53] <Pyvzxk> test all the accesses.
983: [10:45:08] <kinglozzer> k sec
984: [10:46:11] <kinglozzer> 127.0.0.1 - Access denied for user 'root'@'127.0.0.1' (using password: YES)
985: [10:46:22] <kinglozzer> localhost - mysql_connect(): No such file or directory
986: [10:46:27] <Pyvzxk> yeah but what about the others?
987: [10:46:32] <kinglozzer> 192.168.1.99 - Host '192.168.1.99' is not allowed to connect to this MySQL server
988: [10:46:42] <kinglozzer> loz.local - Host '192.168.1.99' is not allowed to connect to this MySQL server
989: [10:46:57] <Pyvzxk> hmm
990: [10:46:58] <Pyvzxk> Note: Whenever you specify "localhost" or "localhost:port" as server, the MySQL client library will override this and try to connect to a local socket (named pipe on Windows). If you want to use TCP/IP, use "127.0.0.1" instead of "localhost". If the MySQL client library tries to connect to the wrong local socket, you should set the correct path as in your PHP configuration and leave the server field blank.
991: [10:47:36] <kinglozzer> PHP config isn't even the main issue, I can't connect anywhere
992: [10:47:40] <kinglozzer> CLI doesn't work either
993: [10:47:43] <Pyvzxk> so yeah, looks like just your root password is wrong, from that.
994: [10:47:51] <Pyvzxk> on 127.0.0.1
995: [10:48:02] <kinglozzer> Yeah, looks like it, but it definitely was 'root' (it was working) and I didn't change it
996: [10:48:08] <zippy> it looks like....
997: [10:48:19] <Pyvzxk> yep, well time for vagrant, and or pgsql
998: [10:48:25] <Pyvzxk> Postgre all the things!
999: [10:48:59] <zippy> there is either a cron/seomthing running which is re-configuring the mysql and changing the password and removing access on an ip other than 127.0.0.1... or you have another mysql somewhere which is starting up, killing the other one...
1000: [10:49:40] <Pyvzxk> nah, just postgre and don't look back.
1001: [10:50:15] * pazuur has left #silverstripe
1002: [10:52:31] <zippy> kinglozzer: :D
1003: [10:52:45] <zippy> kinglozzer: http://stackoverflow.com/questions/9695362/macosx-homebrew-mysql-root-password
1004: [10:52:46] <kinglozzer> :(
1005: [10:53:24] <zippy> mysql_secure_installation was the script I was thinking of
1006: [11:04:40] <zippy> kinglozzer: any love?
1007: [11:04:48] <kinglozzer> Nope :(
1008: [11:07:44] <Pyvzxk> aww guts, why not?
1009: [11:07:47] <Pyvzxk> no glove?
1010: [11:08:01] <zippy> kinglozzer: can you run mysql_secure_installation ?
1011: [11:08:34] <kinglozzer> Nope
1012: [11:08:41] <kinglozzer> Because it asks for the password for root
1013: [11:08:47] <kinglozzer> Which it always says is wrong :P
1014: [11:10:19] * kerosene quit (Ping timeout: 256 seconds)
1015: [11:13:23] <Pyvzxk> enter for none
1016: [11:14:58] <kinglozzer> Pyvzxk: Tried it
1017: [11:15:57] * kerosene has joined #silverstripe
1018: [11:16:21] <zippy> kinglozzer: did you try that answer on stack overflow?
1019: [11:16:27] <kinglozzer> Yeah
1020: [11:16:30] <kinglozzer> I give up though
1021: [11:16:54] <kinglozzer> Just gonna wipe my machine this afternoon so fuckit
1022: [11:18:13] <Pyvzxk> kinglozzer: become a hobo.
1023: [11:18:22] <Pyvzxk> join the vagrant revolution
1024: [11:19:34] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1025: [11:20:10] <Pyvzxk> kinglozzer: you're on a mac right?
1026: [11:20:35] <caamic30> the getCMSValidator isn’t really working when attached to a page using version ss 3.1.2
1027: [11:20:53] <kinglozzer> Pyvzxk: Yeah
1028: [11:21:03] <Pyvzxk> caamic30: I told you before.
1029: [11:21:15] <Pyvzxk> kinglozzer: but macs just work!
1030: [11:21:18] <Pyvzxk> ¬
1031: [11:21:39] <kinglozzer> Pyvzxk: Yeah, they're "revolutionary"
1032: [11:21:41] <kinglozzer> :P
1033: [11:21:50] <kinglozzer> Apple's marketing is hilarious sometimes
1034: [11:21:56] <kinglozzer> Like the iPhone videos are funny as shit
1035: [11:22:04] <caamic30> Pyvzxk: you said it’s ignored
1036: [11:22:06] <Pyvzxk> ibrator
1037: [11:22:18] <Pyvzxk> kinglozzer: you're too young for that maybe, idk.
1038: [11:22:20] <Pyvzxk> look it up
1039: [11:22:22] <Pyvzxk> classic
1040: [11:22:31] <Pyvzxk> (youtube, so sfw... ish)
1041: [11:22:37] <caamic30> Pyvzxk: so it’s really a bug in 3.1.2? or is there another way to solve this using 3.1.2 ?
1042: [11:22:43] <Pyvzxk> caamic30: no, not a bug.
1043: [11:22:51] <Pyvzxk> and I told you, no one really knows.
1044: [11:22:59] <zippy> kinglozzer: https://gist.github.com/fallwith/987731 - maybe reset the root, then try using the secure install script to change it again
1045: [11:23:02] <Pyvzxk> use DataObject::validate if it's that important.
1046: [11:24:29] <caamic30> Pyvzxk: never used that but will give it a try
1047: [11:28:48] <kinglozzer> zippy: Thanks but I've already given up :P even if I fix it it'll probably just screw itself up again
1048: [11:29:43] <kinglozzer> shit
1049: [11:29:56] <kinglozzer> that awkward moment when you shutdown the wrong server and take a site offline... :P
1050: [11:30:09] <zippy> least you didn't remove mysql from a production server
1051: [11:30:14] <zippy> :)
1052: [11:30:33] <zippy> just maintaince people, nothing to see here..
1053: [11:30:35] <zippy> literally
1054: [11:30:57] * CodeTrap has joined #silverstripe
1055: [11:31:30] <Pyvzxk> Warning: As of PHP 5.5, mysql.so is deprecated and will fill up your log files.
1056: [11:31:32] <Pyvzxk> xD :D
1057: [11:50:12] * kinglozzer quit ()
1058: [11:54:30] * caamic30 quit (Quit: caamic30)
1059: [12:08:55] * caamic30 has joined #silverstripe
1060: [12:12:03] * UndefinedOffset has joined #silverstripe
1061: [12:24:46] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1062: [12:24:56] <NETim> anyone have a clue how to add a custom form to the CMS?
1063: [13:08:57] * CodeTrap1 has joined #silverstripe
1064: [13:09:40] * kinglozzer has joined #silverstripe
1065: [13:10:37] * CodeTrap quit (Ping timeout: 245 seconds)
1066: [13:16:04] * catcher has joined #silverstripe
1067: [13:26:35] <NETim> Where does the CMS get template overrides from?
1068: [13:31:16] <kinglozzer> NETim: What do you mean? Where do you have to put templates for them to override the default ones?
1069: [13:31:20] * Shrike_Finland quit (Quit: Leaving.)
1070: [13:32:35] <NETim> yep.
1071: [13:32:44] <NETim> Still fighting to get this damn card update form into the admin#
1072: [13:32:47] <kinglozzer> Anywhere should be okay. I tend to match the folder structure, e.g: if I want to override cms/templates/ReportAdminForm.ss, I’d create mysite/templates/ReportAdminForm.ss
1073: [13:33:06] <NETim> tried that and I keep getting template not found
1074: [13:37:28] <kinglozzer> Flushed?
1075: [13:38:33] <NETim> flushed, dev/build, prayed to the gods of silverstripe
1076: [13:39:24] * jcwacky has joined #silverstripe
1077: [13:39:34] * Bollig|DesignCty has joined #silverstripe
1078: [13:41:00] <kinglozzer> NETim: Blood sacrificed to the gods of SilverStripe?
1079: [13:41:04] <kinglozzer> :P
1080: [13:41:18] <NETim> I have a possible candidate, but it's messy
1081: [13:42:11] <catcher> NETim, I tend to use themeDir/templates/Includes.
1082: [13:42:36] <NETim> catcher, so did I, it just doesn't want to know.
1083: [13:42:48] <NETim> at the moment I'm overriding getEditForm()
1084: [13:43:03] <NETim> It's working so far but i need to call some JS on the page as well
1085: [13:43:06] <NETim> thoughts?
1086: [13:43:25] <catcher> NETim, did you try themeDir/templates/ ?
1087: [13:43:40] <NETim> yep.
1088: [13:44:03] <NETim> tried /layout, /templates, /admin
1089: [13:44:31] <catcher> NETim, do you have your theme set in both CMS & config.yml?
1090: [13:44:48] <NETim> yep
1091: [13:44:52] <catcher> hrm
1092: [13:44:58] <NETim> It's looking in the right folders as well.
1093: [13:45:21] <NETim> As I said though, I am now using getEditForm(), i just need to include some JS and sort the formatting
1094: [13:53:48] * UndefinedOffset quit (Quit: Leaving.)
1095: [13:58:53] <caamic30> I’d like to extend the Permission class adding a new static method, but I should still call the new static method using Permission::
1096: [13:59:15] * UndefinedOffset has joined #silverstripe
1097: [13:59:29] <caamic30> I forgot the name of the extension
1098: [14:01:22] <kinglozzer> caamic30: You can’t. If you mean “extend” in the PHP sense (i.e. subclass), you’ll need to call MyPermissionSubclass::my_method(). If you mean a SilverStripe extension, you’ll need to call MyPermissionExtension::my_method()
1099: [14:02:51] * scpi has joined #silverstripe
1100: [14:03:16] * ThePeach1 has joined #silverstripe
1101: [14:03:18] <ThePeach1> hi all
1102: [14:03:37] <ThePeach1> what would be the best way in a Task to bail out on exception and terminate the execution?
1103: [14:04:02] <caamic30> kinglozzer: I think this one can Object::useCustomClass
1104: [14:04:10] <ThePeach1> I'm using a try/catch statement, would just a die() work fine or is there a better way for it?
1105: [14:05:04] <kinglozzer> caamic30: I still don’t think you can call Permission::my_new_method(). There’s no __callStatic() on Object to handle static calls like that
1106: [14:05:12] <kinglozzer> I may be wrong, though. Try it :)
1107: [14:05:37] <kinglozzer> ThePeach1: die() would work, or exit
1108: [14:06:08] <kinglozzer> Don’t really know if one is “better” than the other
1109: [14:08:13] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
1110: [14:09:58] <ThePeach1> thanks kinglozzer
1111: [14:12:24] * Shrike_Finland has joined #silverstripe
1112: [14:13:34] * Masayoshi has joined #silverstripe
1113: [14:14:42] <Masayoshi> Hello everyone, is there a way to get CompositeField from the FieldList ?
1114: [14:20:34] <catcher> Masayoshi, $fields->fieldByName('name')
1115: [14:21:30] <catcher> Masayoshi, or the individual fields from the Composite via $fields->fieldByName('CompositeField.ChildField')
1116: [14:24:43] <Masayoshi> I tried that but you can't give CompositeField a name it seems
1117: [14:25:01] <Masayoshi> Or atleast i cant find a way to give it a name
1118: [14:29:05] <kinglozzer> Masayoshi: Yeah you have to treat them like arrays IIRC
1119: [14:29:18] <kinglozzer> $fields[0] or whatever the correct key is
1120: [14:29:19] <kinglozzer> PITA
1121: [14:29:39] <Masayoshi> Hmm that makes things somewhat troublesome
1122: [14:29:54] <catcher> You can't name it with ->setName, inherited from FormField?
1123: [14:30:22] <kinglozzer> Masayoshi: Or foreach() them, and use instanceof CompositeField perhaps?
1124: [14:30:29] <Masayoshi> Hmm didn;t see that one Ill tru
1125: [14:30:32] <Masayoshi> try*
1126: [14:32:39] <Masayoshi> setName doesnt work
1127: [14:32:51] <Masayoshi> Ill try the foreach one but that's kind of hacky
1128: [14:33:46] * caamic30 quit (Quit: caamic30)
1129: [14:36:19] <Masayoshi> Also not really the result i wanted. Thanks anyway Kinglozzer and catchar
1130: [14:38:48] <ThePeach1> since when is #php invite only?
1131: [14:47:32] <NETim> Is there any way I can hijack/override the standard CMS form submit?
1132: [14:50:55] * Masayoshi quit (Ping timeout: 246 seconds)
1133: [14:54:28] * stnvh quit ()
1134: [14:59:45] * muskie9 has joined #silverstripe
1135: [14:59:49] * CodeTrap has joined #silverstripe
1136: [15:01:21] * CodeTrap1 quit (Ping timeout: 255 seconds)
1137: [15:04:45] * CodeTrap1 has joined #silverstripe
1138: [15:05:58] <NETim> Hi Guys, trying to run some JS tokenization on submit but need to hold back the silverstripe CMS submit until it's done, any ideas?
1139: [15:06:33] * CodeTrap quit (Ping timeout: 240 seconds)
1140: [15:09:49] * ARNHOE quit ()
1141: [15:13:05] * Shrike_Finland quit (Quit: Leaving.)
1142: [15:31:44] * Shrike_Finland has joined #silverstripe
1143: [15:37:04] * Shrike_Finland quit (Quit: Leaving.)
1144: [16:03:55] * CodeTrap has joined #silverstripe
1145: [16:06:18] * CodeTrap1 quit (Ping timeout: 272 seconds)
1146: [16:14:26] * kinglozzer quit ()
1147: [16:14:47] * Shrike_Finland has joined #silverstripe
1148: [16:22:33] * Liongold has joined #silverstripe
1149: [16:28:35] * Shrike_Finland quit (Quit: Leaving.)
1150: [16:28:43] * Shrike_Finland has joined #silverstripe
1151: [16:34:04] <Pyvzxk> NETim: make it a more specifc rule then call _super or whatever it is.
1152: [16:34:12] <Pyvzxk> see entwine docs (on github, google them)
1153: [16:34:16] * Pyvzxk quit ()
1154: [16:35:19] <Liongold> Hi
1155: [16:35:39] <Liongold> How can I change my theme? I've already put in themes
1156: [16:37:59] <Liongold> plkease
1157: [16:44:51] <abitran> edit _config.php inside mysite folder and modify/include: SSViewer::set_theme('yourtheme');
1158: [16:46:11] <muskie9> abitran Liongold it's also set in _config/config.yml
1159: [16:46:23] * nedmas quit (Quit: nedmas)
1160: [16:46:29] <muskie9> mysite/_config/config.yml
1161: [16:52:01] * NETim quit (Ping timeout: 246 seconds)
1162: [17:03:20] <Liongold> muskie9: In _config.php I do not have that line.
1163: [17:04:24] <Liongold> _config.yml made it
1164: [17:11:41] <abitran> I don't have config.yml
1165: [17:12:54] <Liongold> _config
1166: [17:13:59] <abitran> neither..
1167: [17:14:41] <abitran> all my settings are on _config.php...
1168: [17:14:48] <catcher> Liongold, /dev/build
1169: [17:14:50] <catcher> ?flush=all
1170: [17:15:15] <Liongold> I fixed it. Thanks anyway.
1171: [17:15:23] <Liongold> BTW, that did not owkr catcher.
1172: [17:15:37] <catcher> Liongold, did you set it in the CMS / settings?
1173: [17:16:10] <Liongold> I fixed by editing _config/config.yml
1174: [17:16:48] <catcher> Liongold, ah, I thought you were still having the issue.
1175: [17:17:10] <Liongold> No, thanks anyway.
1176: [17:19:07] * Shrike_Finland quit (Quit: Leaving.)
1177: [17:29:30] * shellbackpacific has joined #silverstripe
1178: [17:30:05] * r_hector quit (Quit: Leaving.)
1179: [17:35:17] <shellbackpacific> hey all…how easy is it to install silverstripe-forum?
1180: [17:35:39] <shellbackpacific> for a first-timer that is :D
1181: [17:36:43] <catcher> shellbackpacific, should be easy breezy
1182: [17:36:59] <shellbackpacific> cool
1183: [17:52:36] * giarc has joined #silverstripe
1184: [18:11:40] * lerni_ has joined #silverstripe
1185: [18:51:12] * Shrike_Finland has joined #silverstripe
1186: [19:03:57] * lerni_ quit (Remote host closed the connection)
1187: [19:06:05] * vebb has joined #silverstripe
1188: [19:12:29] * Shrike_Finland quit (Quit: Leaving.)
1189: [19:18:15] * DimiStripe has joined #silverstripe
1190: [19:18:23] <DimiStripe> HI guys
1191: [19:19:24] <DimiStripe> Looking for a way of handing googlesitemaps module . I need a list of pages in sitemap.xml , ratehr than the idnex file, plus it doesn't grab all languages (just english)
1192: [19:19:27] <DimiStripe> http://logtime.eu/sitemap.xml
1193: [19:19:44] <DimiStripe> is it possible to just display all language pages in one sitemap.xml
1194: [19:19:46] <DimiStripe> ?
1195: [19:20:41] <DimiStripe> Maybe other simple version of a module or smth ?
1196: [19:20:42] <DimiStripe> :)
1197: [19:26:34] <DimiStripe> anyone ? simple sitemap.xml ? :)
1198: [19:28:02] * firefox2kx has joined #silverstripe
1199: [19:28:07] <firefox2kx> hello
1200: [19:29:34] * Liongold has left #silverstripe
1201: [19:29:34] <firefox2kx> how would I pick randomly pictures of any photo-gallery from basic-galleries for e.g. to use in a widget or something?
1202: [19:30:19] * irogue_ has joined #silverstripe
1203: [19:31:37] <catcher> firefox2kx, pool their IDs in an indexed array, use php's rand() to grab an ID, return the corresponding image ID
1204: [19:32:29] <firefox2kx> nice idea =)
1205: [19:33:19] <catcher> well thanks :)
1206: [19:33:30] <catcher> 2nd part should actually be "use php's rand() to grab an index"
1207: [19:34:39] <firefox2kx> ah by the way - site nearly finished: www.fsvo-jungs.de // since at the moment you only see photos at galleries - it shalt be said: the gallery can show up links, photos and videos
1208: [19:35:17] <firefox2kx> I've laid the site 3 weeks by side where there was only a few hours work left xD
1209: [19:35:30] <muskie9> DimiStripe I recall haveing to reference a specific commit to get it to list the pages at sitemap.xml... trying to find which one it was
1210: [19:36:14] <muskie9> DimiStripe, you're looking for it to do this? http://www.dynamicdoes.com/sitemap.xml
1211: [19:36:55] * thehacksaw has joined #silverstripe
1212: [19:37:45] <thehacksaw> Hi guys. I'm going crazy here so thought I'd ask if anyone's had the same thing - I'm using silverstripe-subsites, and I've got subdomains routing to the domain using vhosts etc - but every subdomain just shows the main site
1213: [19:37:49] <thehacksaw> What have I missed?
1214: [19:38:00] <thehacksaw> It's going to be something simple and it'll make me feel silly but that's fine
1215: [19:44:15] <thehacksaw> Anybody?
1216: [19:44:19] <irogue_> thehacksaw: sorry, I've never used subsites
1217: [19:44:44] <thehacksaw> Damn
1218: [19:44:46] <irogue_> not many people will be online yet, 7:44am - there might be people who can help in an hour or so
1219: [19:45:14] <thehacksaw> Ah yes, I forgot! I'm UK based
1220: [19:45:26] <thehacksaw> And assume everyone is awake when I am
1221: [19:45:29] <thehacksaw> Thanks
1222: [19:45:30] <irogue_> hehe
1223: [19:46:18] <irogue_> I'd normally be on the train to work at the moment but I'm off sick
1224: [19:46:28] <thehacksaw> Oh dear, hope it's nothing serious
1225: [19:48:23] <thehacksaw> Well I'll be back later, get well soon
1226: [19:48:28] <thehacksaw> ttfn
1227: [19:52:37] * thehacksaw quit (Ping timeout: 246 seconds)
1228: [19:53:19] * SightUnseen has joined #silverstripe
1229: [19:53:33] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1230: [20:03:43] * lerni_ has joined #silverstripe
1231: [20:07:22] <DimiStripe> uff missed muskie9... yes that what im looking for
1232: [20:14:02] * DimiStripe quit (Quit: Page closed)
1233: [20:14:03] * lerni_ quit ()
1234: [20:14:35] * UndefinedOffset quit (Quit: Leaving.)
1235: [20:24:37] * SightUnseen quit (Quit: Leaving.)
1236: [20:31:47] * antmas has joined #silverstripe
1237: [20:33:48] * mobiusnz has joined #silverstripe
1238: [20:40:40] * nickmolhoek has joined #silverstripe
1239: [20:41:48] <antmas> morning all
1240: [20:43:18] * vebb has joined #silverstripe
1241: [20:44:15] <irogue_> kia ora
1242: [20:44:48] <vebb> morning
1243: [20:46:34] * Ryan-Toast has joined #silverstripe
1244: [20:58:22] <antmas> Ryan-Toast: Stomach http://kotaku.com/dota-2-as-told-by-steam-reviews-1617013597/+charliejane :D
1245: [20:59:10] * adrexia has joined #silverstripe
1246: [21:00:35] * zippy has joined #silverstripe
1247: [21:02:33] <Ryan-Toast> “My parents got me this game because I’m not allowed to have sex” lolol
1248: [21:02:43] <zippy> moring
1249: [21:04:52] <Ryan-Toast> Merning
1250: [21:06:12] <Stomach> lol
1251: [21:06:14] <Stomach> good morning
1252: [21:15:11] <irogue_> it's interesting having my scanner on both fire & ambulance, keep hearing the same callouts twice
1253: [21:15:46] <irogue_> cos lots of cardiac arrests this morning, which both are dispatched to as usually fire can get there first
1254: [21:18:05] * giarc quit (Quit: Leaving.)
1255: [21:19:13] * catcher quit (Quit: Leaving)
1256: [21:26:09] <zippy> irogue_: sounds like a waste of resouces eh, sending to units to something 1 can do
1257: [21:28:16] <zippy> no unclecheese in a while
1258: [21:29:13] <irogue_> zippy: he's on holiday
1259: [21:29:27] <zippy> that explains it
1260: [21:32:27] * Olliepop has joined #silverstripe
1261: [21:38:30] * scpi quit (Quit: scpi)
1262: [21:38:55] <zippy> Olliepop: hello
1263: [21:41:31] * willr has joined #silverstripe
1264: [21:42:19] <zippy> willr: hello
1265: [21:43:30] <willr> Howdey
1266: [21:47:31] <zippy> uncle cheese display logic module pretty foolash eh
1267: [21:50:20] <Olliepop> hey Zippy
1268: [21:51:04] <zippy> with the form list, is it possible to push a field to the bottom? in my getCMSFields, is there a method to push to end, or must I remove and re-add?
1269: [21:51:35] <Stomach> just re-add
1270: [21:51:47] * micmania1 has joined #silverstripe
1271: [21:55:04] <irogue_> mornin' micmania1
1272: [21:55:12] <micmania1> mornin’
1273: [21:58:00] * shellbackpacific quit (Ping timeout: 250 seconds)
1274: [22:04:22] * r_hector has joined #silverstripe
1275: [22:06:40] <antmas> omg still no coffee yet
1276: [22:06:42] <antmas> what am I doing
1277: [22:09:38] * r_hector quit (Quit: Leaving.)
1278: [22:19:04] <adrexia> oh, coffee. good point
1279: [22:20:02] <irogue_> hmm, good point, I feel like a V
1280: [22:20:39] <antmas> dat sugar
1281: [22:21:09] * ThePeach1 quit (Quit: leaving)
1282: [22:21:54] <irogue_> nah dawg, sugarfree v!
1283: [22:22:35] * shellbackpacific has joined #silverstripe
1284: [22:22:57] <antmas> what do they use?
1285: [22:22:59] <antmas> stevia?
1286: [22:24:53] <zippy> sugar free? thats half the point of a v isn't it, for the extra zip
1287: [22:25:15] <irogue_> zippy: thats what the caffeines and guaranas are for :P
1288: [22:25:33] <irogue_> antmas: i wish. sucralose
1289: [22:26:11] <antmas> that might as well be sugar
1290: [22:28:54] <zippy> antmas: siren
1291: [22:30:17] <antmas> zippy: can't hear this one
1292: [22:30:23] <zippy> antmas: gone now
1293: [22:30:27] <zippy> too slow
1294: [22:30:34] <zippy> spending tax payers moneies
1295: [22:30:37] <antmas> so slow
1296: [22:30:44] * giarc has joined #silverstripe
1297: [22:30:49] <zippy> giarc: hello
1298: [22:31:14] <giarc> zippy: hi there
1299: [22:31:22] <zippy> hows it going
1300: [22:31:29] <giarc> its ok. you?
1301: [22:32:04] <zippy> it is going ok
1302: [22:37:49] <irogue_> zippy: siren?
1303: [22:38:23] <giarc> so, zippy, do i know you? or just being chatty ?
1304: [22:38:38] <zippy> just saying hi
1305: [22:38:42] <zippy> procrastnating
1306: [22:39:04] <giarc> how'd i get so lucky? :-D
1307: [22:39:57] <irogue_> naw man, thought that was going to be way more exciting
1308: [22:40:28] <irogue_> big booming voice "AUCKLAND FIRECOMMS, AUCKLAND FIRECOMMS, THIS IS AUCKLAND CIVIL DEFENCE AND EMERGENCY MANAGEMENT."
1309: [22:41:11] <irogue_> was just a radio check :(
1310: [22:41:38] <antmas> oh
1311: [22:41:40] <antmas> boring :P
1312: [22:42:46] <irogue_> ikr!
1313: [22:43:51] * micmania1 quit (Quit: micmania1)
1314: [22:49:19] <irogue_> I need to get a camera to put outside my house
1315: [22:49:25] <irogue_> can stream y'all the crazies
1316: [22:56:55] <antmas> gotta love the crazies
1317: [22:57:28] * shellbackpacific quit (Quit: Leaving.)
1318: [22:58:48] * markcl has joined #silverstripe
1319: [23:00:56] * simon_w|work has joined #silverstripe
1320: [23:01:56] <pippy> ug, i hate people who have their jobs saved bureaucratic unionism
1321: [23:02:03] <pippy> "avoid this person at all costs"
1322: [23:02:19] * pippy this person doesn't seem too bad, i'll help her out
1323: [23:02:30] <pippy> *person then complains to my manager*
1324: [23:03:08] <irogue_> heh
1325: [23:04:57] <zippy> any freelance SS developers in here?
1326: [23:04:59] <irogue_> tl;dr: people suck
1327: [23:06:29] <pippy> irogue_: pretty much what i was told in response, but i might have to wine to her manager just to make things even
1328: [23:06:31] <irogue_> zippy: Colin[pi] is but he's not here yet (aussie)
1329: [23:07:05] <zippy> outsource to aussie eh... mmm
1330: [23:07:19] <antmas> zippy: I freelance
1331: [23:07:29] <zippy> antmas: you have a day job, don't qualify :)
1332: [23:07:36] <irogue_> lol
1333: [23:07:41] <antmas> :P
1334: [23:07:47] * markcl quit (Ping timeout: 264 seconds)
1335: [23:07:47] <zippy> you moonlight
1336: [23:07:52] <irogue_> I think that rules out pretty much everyone else I know in this room then
1337: [23:08:02] <irogue_> many moonlighters up in here :P
1338: [23:08:12] <zippy> unreliable moonlighters
1339: [23:08:18] <antmas> zippy: depends on how big the project is, I do freelance though :P
1340: [23:10:22] <antmas> which reminds me, I should flick this client on
1341: [23:10:28] <willr> DNA 4 days a week, freelance 2 days a week
1342: [23:11:06] <willr> Twice the hourly rate freelance :D
1343: [23:11:20] <antmas> lol yup, moonlighters :P
1344: [23:11:50] <Olliepop> How do you throw an error in the CMS (form validation)? I tried user_error("Message", E_USER_ERROR); but it just returned http status 500
1345: [23:12:38] <simon_w|work> Olliepop, throw a ValidationException
1346: [23:15:39] <Olliepop> @simon_work: Amazing! thanks!
1347: [23:15:46] <irogue_> antennae are expensive
1348: [23:15:56] <irogue_> and so minimal materials
1349: [23:16:06] * oetiker quit (Ping timeout: 250 seconds)
1350: [23:16:25] <irogue_> but i'm far too useless at weldering/soldering/etc to DIY
1351: [23:16:32] <irogue_> :(
1352: [23:16:42] <antmas> welding is hard
1353: [23:18:17] <irogue_> http://www.machine--tools.com/By-Type-/Grinder-/Diamond-d-130-stainless-steel-discone-ham-antenna-img.jpg <-- $300
1354: [23:18:55] <antmas> yup
1355: [23:19:04] <antmas> that'd net a few extra crazies
1356: [23:21:35] <irogue_> is apparently the ideal antenna for scanners
1357: [23:21:46] <irogue_> does ALL OF THE FREQUENCIES
1358: [23:21:56] <irogue_> 60-1000 MHz or so
1359: [23:22:46] <zippy> irogue_: send me $150 and I will send you 6 wire coat hangers twisted together, guarenteed to pick up something (incl static)
1360: [23:22:53] <irogue_> haha
1361: [23:23:37] <Stomach> http://cdn.instructables.com/FJY/CWFN/H7UR8P66/FJYCWFNH7UR8P66.MEDIUM.jpg
1362: [23:23:46] <Stomach> tinfoil and paper go!
1363: [23:24:21] <zippy> christ
1364: [23:25:16] <irogue_> "a mayday has been declared, firefighter down"
1365: [23:25:29] <zippy> I live almost at the end of a cul-de-sac and the amount of people that turn around half way down is amazing, they don't go to the end and just drive around ,instead they do a 3 point turn half way... it's only 50m long street!
1366: [23:25:57] <zippy> 10 more metres to the turny bit? fuck that I am doing a 3 point turn now!
1367: [23:26:12] <irogue_> if I hadn't been listening 30 minutes ago when a drill was announced, I'd be thinking something major was going down!
1368: [23:26:58] <irogue_> "firefighter located, ascertaining injuries to firefighter. can you confirm ambulance have been dispatched?"
1369: [23:34:46] <zippy> irogue_: still home sick?
1370: [23:35:30] * oetiker has joined #silverstripe
1371: [23:37:34] * micmania1 has joined #silverstripe
1372: [23:39:24] * giarc quit (Quit: Leaving.)
1373: [23:40:20] <irogue_> zippy: yep
1374: [23:40:25] <irogue_> chest infection :(
1375: [23:41:29] <simon_w|work> irogue_, amputate
1376: [23:41:46] <Stomach> drastic.
1377: [23:45:42] <simon_w|work> But effective
1378: [23:48:41] <antmas> chest infections are the worst
1379: [23:49:02] <antmas> I remember the taste not leaving my throat for like 2 weeks :(
1380: [23:49:25] <Olliepop> Can you change the text on the 'Add new datamodel name' button in GridField?
1381: [23:50:06] <Olliepop> Client changed 'news' to 'blog' and the class names are all prepended with 'News' :(
1382: [23:50:36] <willr> pretty sure it uses $singular_name on the class to specify it
1383: [23:51:26] * caamic30 has joined #silverstripe
1384: [23:51:56] <Olliepop> @willr you're right! cheers
1385: [23:52:23] * caamic30 has left #silverstripe
1386: [23:53:30] <simon_w|work> Anyone know of a spider I can run locally that handles authentication and things?
1387: [23:53:35] <simon_w|work> And JS
1388: [23:55:59] <Stomach> Olliepop, translation strings take precendence over singular names too, so sometimes you will need to define your own translation to override :)
1389: [23:59:32] * giarc has joined #silverstripe

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