#silverstripe IRC Log

IRC log for 7 August 2014

All timestamps are in UTC.

1: [00:12:19] * antmas quit (Ping timeout: 246 seconds)
2: [00:19:57] <irogue_> the fire service really do get used for some strange jobs
3: [00:21:06] * Bollig|DesignCty has joined #silverstripe
4: [00:21:39] <zippy> irogue_: mm?
5: [00:25:39] * micmania1 quit (Quit: micmania1)
6: [00:26:33] <irogue_> well, so far today I've heard them get sent to a medical centre to cut a ring off someone's finger that was cutting off circulation, a power line down to do traffic control until Vector could get out there to fix it, and to a diabetic who had run out of insulin (they had to go via a pharmacy to pick some up, but it was decided they'd still be quicker than an ambulance)
7: [00:29:14] * kerosene quit (Remote host closed the connection)
8: [00:30:10] <Cheddam> lolwat
9: [00:30:48] <Cheddam> Firetrucks faster than ambulances? I now want to see a firetruck and an ambulance have a drag race
10: [00:33:15] <irogue_> Cheddam: not the speed, but location and availability. ambulances tend to have a few large stations whereas fire have lots of small ones, and there are a fuckload more firetrucks than ambulances.
11: [00:34:43] <simon_w|work> And firefighters could easily moonlight as paramedics
12: [00:34:53] <irogue_> yep, they all have to be paramedic trained anyway
13: [00:35:25] <irogue_> only to basic level, but still
14: [00:36:21] <simon_w|work> Also, they're the best option if you're in a secured building
15: [00:36:30] <irogue_> yeah
16: [00:36:38] <simon_w|work> Set off the fire alarm, doors open and you get paramedics coming straight to you
17: [00:38:32] <irogue_> i assume it's st john policy, but if you need help and you know your door is locked, ask for fire not ambo, cos st john won't break into your house to get to you
18: [00:38:46] <irogue_> they ask for police to come and do it
19: [00:39:09] <irogue_> whereas fire will just get a big hammer and remove the door :P
20: [00:40:29] * kerosene has joined #silverstripe
21: [00:43:31] <zippy> irogue_: ride to hostpital in the fire engine?
22: [00:44:50] <irogue_> zippy: if its medical fire will request ambo co-response as soon as the call comes in anyway, but they'll get there first and at least get to you and do CPR or w/e til ambos get there
23: [00:45:57] * giarc quit (Quit: Leaving.)
24: [00:46:07] <irogue_> listening to police scanner in the tron means I have far too many shocking stories to tell of ambo being useless
25: [00:46:15] <simon_w|work> zippy, they all hang out in the same call centre
26: [00:46:23] <irogue_> zippy: not ambo
27: [00:46:29] <irogue_> st john insist on being seperate
28: [00:46:41] <irogue_> *simon_w|work
29: [00:46:42] <simon_w|work> irogue_, they do in Wellington
30: [00:46:56] <simon_w|work> Maybe Wellington Free just isn't as stupid :p
31: [00:47:03] <irogue_> thats cos wellington is fortunate enough to not have stjohn
32: [00:47:45] <simon_w|work> irogue_, take out the Auckland call centre. Problem solved! :p
33: [00:47:57] <irogue_> lol
34: [00:48:38] <simon_w|work> Wellington really doesn't like it when their calls get sent through Auckland or Christchurch though
35: [00:48:44] <simon_w|work> Dispatch has no idea where anything is
36: [00:49:34] <irogue_> the st john dispatch system and Police+Fire dispatch system aren't compatible, so they use a third-party Inter-CAD product but it can only do a single push, no support for updating a job
37: [00:50:29] <irogue_> so if e.g. you call ambulance for a car crash, st john grab the initial details (location, number of people involved, statuses) then push the job into police+fire system
38: [00:50:47] <irogue_> then keep talking to the person and get lots more details, but police+fire have no access to those further details
39: [00:51:43] <irogue_> i swear every single job that comes to police from ambulance, the police dispatcher says "i'm sorry, job's from ambos so we have very little information"
40: [00:53:00] * giarc has joined #silverstripe
41: [00:53:47] <irogue_> simon_w|work: i've heard a couple of times where centralcomms have been *dispatching* for Hamilton cos too many Northcomms dispatchers were sick
42: [00:53:53] <irogue_> that was always interesting
43: [00:55:13] <irogue_> "comms, he's gone down the river walk behind Riff Raff" "sorry, I'm from centralcomms, I have no idea what or where that is"
44: [00:55:46] * giarc quit (Client Quit)
45: [01:01:45] <simon_w|work> irogue_, Does the same thing happen when someone who usually does Auckland dispatch gets put on Hamilton?
46: [01:02:57] <simon_w|work> (if only knowledge was as easy to make redundant as the system is)
47: [01:03:52] <irogue_> simon_w|work: not so much, because they'd still have the area manager they could ask
48: [01:04:30] <irogue_> i.e. the person in charge of all of the waikato dispatchers for that shift
49: [01:05:05] <simon_w|work> So then you only have to worry about dispatchers not realising Waikato's not encrypted?
50: [01:05:08] <irogue_> yep
51: [01:05:15] <irogue_> *that* happens a lot with auckland dispatchers filling in
52: [01:05:25] <simon_w|work> Maybe they need massive signs that pop up when they switch channels
53: [01:05:45] <irogue_> heard a sergeant cuss a dispatcher out for blowing a sting once
54: [01:05:49] * Kingy[a] is now known as Kingy
55: [01:06:54] <Kingy> afternoon
56: [01:07:06] <irogue_> he'd organised it all off-air, called the dispatcher to let her know where he was heading etc
57: [01:07:50] <irogue_> (it's obvious when sneakies are being organised cos there's lots of asking for each other's extensions over the radio)
58: [01:09:07] <irogue_> then she asks, over the radio, "is Delta going with you to <address>?"
59: [01:09:58] <simon_w|work> You know, can't forget the puppies
60: [01:11:04] <irogue_> many swearing from the sergeant, then the senior sergeant piped up and asked the dispatcher to have Northcomm Alpha (Inspector-grade cop who's the overall shift commander at northcomm) give him a call
61: [01:11:12] <irogue_> 5 minutes later there was a different dispatcher
62: [01:11:13] <irogue_> :P
63: [01:11:46] <irogue_> Kingy: holy shit it is too
64: [01:11:58] <Kingy> haha
65: [01:12:06] <Kingy> im at an all day workshop
66: [01:12:12] <Kingy> so fun.......
67: [01:12:25] <simon_w|work> Kingy, at the airport?
68: [01:12:39] <Kingy> nope in Feilding lol
69: [01:12:51] <simon_w|work> Gutted :p
70: [01:16:40] * Colin[pi] has joined #silverstripe
71: [01:18:44] <Kingy> and the wifi is shit
72: [01:19:33] <Colin[pi]> morning all
73: [01:20:15] * micmania1 has joined #silverstripe
74: [01:21:07] <simon_w|work> Oh noes, it's him!
75: [01:26:39] <Cheddam> irogue_ Woops, lunch. Yeah makes sense. Still want to see that drag tho
76: [01:28:08] * nickmolhoek quit (Quit: nickmolhoek)
77: [01:29:51] <irogue_> Cheddam: honestly I think firetruck would win
78: [01:30:34] <Cheddam> irogue_ forsrs? xD
79: [01:31:39] <simon_w|work> Cheddam, trucks have a massive amount of power
80: [01:32:32] <irogue_> https://www.flickr.com/photos/cesc_fab1/7656700032/
81: [01:32:40] <irogue_> those are the exact same truck model we use as firetrucks
82: [01:33:07] <irogue_> 13L engine
83: [01:35:11] <Cheddam> jebus
84: [01:35:20] <simon_w|work> irogue_, for the drag, should take the fire engine down to just the tractor
85: [01:35:39] * Tanger has joined #silverstripe
86: [01:36:18] * Kingy is now known as Kingy[a]
87: [01:37:28] <irogue_> whereas the vehicles we use as ambulances are mostly seen as courier vans. 2.7L 154hp (vs the 400hp of those trucks)
88: [01:38:41] <irogue_> and they have a tendency to tip so they can't go too fast around corners with them, so if it was a road race rather than drag race the fire truck would really kick ass
89: [01:45:32] <spronk> firetrucks, given a long enough straight, would probably pwn.
90: [01:51:00] <irogue_> yeah
91: [01:53:28] <irogue_> ambo would get off the line faster cos the firetruck would have 10 gears to get through to get off the line :P
92: [01:54:40] <ss23> Well if we're streching things to their limits, firetruck has bigger fuel tank, so they'll win
93: [01:55:17] <irogue_> lol
94: [01:55:34] <irogue_> thatd have to be a helluva long drag race
95: [01:55:59] <Colin[pi]> what.. the heck.. are you guys talking about?
96: [01:56:07] <ss23> I don't know man
97: [01:56:09] <ss23> I missed how it started
98: [01:56:33] <irogue_> Colin[pi]: whether an ambulance or firetruck would win a drag race
99: [01:56:35] <irogue_> what else? :P
100: [01:57:05] <irogue_> of course, throw a police car in there and there's no debate
101: [01:57:13] * antmas has joined #silverstripe
102: [01:57:27] <Colin[pi]> HAI ANTMAS
103: [01:57:36] <Stomach> lets be honest, a ice cream truck would win
104: [01:57:46] <simon_w|work> irogue_, until the police car runs out of gas
105: [01:58:06] <Stomach> http://farm6.static.flickr.com/5314/5810687121_eaa0ec47a3.jpg
106: [01:58:18] <irogue_> simon_w|work: yeah, they'd be first to run outta gas
107: [01:59:42] <Colin[pi]> my vote is on the ambo winning
108: [02:00:01] <irogue_> i think it really comes down to the length
109: [02:00:08] <Colin[pi]> irogue_: doesn't it always?
110: [02:00:11] <irogue_> ;)
111: [02:00:12] <simon_w|work> Colin[pi], ambo can only start fast
112: [02:00:13] <Colin[pi]> ;)
113: [02:00:35] <Colin[pi]> simon_w|work: naw they get keep going pretty fast too
114: [02:00:52] <Colin[pi]> at least the ambos here I see can hoon pretty fast
115: [02:00:57] <simon_w|work> Colin[pi], not as fast as a truck
116: [02:01:09] <simon_w|work> Especially if the truck's down to just a tractor
117: [02:01:12] <irogue_> Colin[pi]: our firetrucks are 13L straight-6 scanias
118: [02:01:18] <antmas> Colin[pi]: OMG HAI!
119: [02:01:32] <antmas> had the window open for irc, but it had timed out and not told me
120: [02:01:34] <Colin[pi]> has anyone asked wolfram alpha?
121: [02:01:40] <antmas> though everyone was just busy working :P
122: [02:02:59] <simon_w|work> antmas, why would we work when you can discuss how a drag race between a fire engine and an ambo? :p
123: [02:03:24] <antmas> simon_w|work: Ambo would pwn
124: [02:03:38] <Colin[pi]> antmas: ikr?
125: [02:03:45] <antmas> toesmagoats.jpg
126: [02:03:45] <Colin[pi]> that's what I'm saying
127: [02:03:52] <simon_w|work> irogue_, I get the feeling that most people don't understand just how much power a truck has
128: [02:03:57] <antmas> they're not carrying tonnes of water for one
129: [02:04:12] <antmas> simon_w|work: they have power, but it's all torque
130: [02:05:20] <antmas> those mercedes ambos are crazy fast
131: [02:06:17] <simon_w|work> 0-80 in 30 seconds. In one of those trucks carrying tonnes of water :p
132: [02:06:32] <irogue_> hoooooly shit those ambos get quite some Ks on them
133: [02:06:42] <antmas> simon_w|work: and?
134: [02:06:57] <irogue_> carjam'd an in-service ambulance
135: [02:07:00] <irogue_> 983,100 km
136: [02:07:03] <antmas> the momentum in on those things would be insane
137: [02:07:11] <antmas> irogue_: o.O
138: [02:07:50] <simon_w|work> antmas, stop drop the 19 tonnes of water and then race :p
139: [02:07:51] * travis-ci has joined #silverstripe
140: [02:07:52] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#985 (3.1 - 3a5c5ef : Sean Harvey): The build is still failing.
141: [02:07:52] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/84fcf02f7940...3a5c5efc7c22
142: [02:07:52] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/31870880
143: [02:07:52] * travis-ci has left #silverstripe
144: [02:07:53] <simon_w|work> *so
145: [02:08:31] <irogue_> also, not all firetrucks carry water ;)
146: [02:08:51] <simon_w|work> irogue_, I've only got a fact sheet for the sexy new airport ones
147: [02:08:58] <irogue_> ah yep
148: [02:09:01] <antmas> *sexy*
149: [02:09:02] <simon_w|work> 16.1L Volvo, 690 HP
150: [02:09:02] <irogue_> what model are those?
151: [02:09:08] <irogue_> ah yes, v nice
152: [02:09:08] <simon_w|work> Panther CA5
153: [02:09:11] <irogue_> yep
154: [02:09:14] <irogue_> military vehicles
155: [02:10:24] <Colin[pi]> haha I had the fired client apologise "if I seemed arrogant"
156: [02:10:47] <Colin[pi]> no you're not arrogant, you're just a cunt
157: [02:10:57] <simon_w|work> Damn, I smell tasty foods
158: [02:11:23] <antmas> those airport fire trucks would own for sure
159: [02:11:30] <antmas> military vehicles ftw
160: [02:12:04] <simon_w|work> And they'll look good doing it, which is the important thing
161: [02:12:20] <irogue_> 690hp makes the NZFS trucks' 400hp look like nothing
162: [02:13:04] <irogue_> nz police cars are 280hp, the sprinter ambulances are 154 hp
163: [02:13:17] <simon_w|work> Plus they have roof-mounted turrets for ambo-tipping
164: [02:13:54] <antmas> lol
165: [02:14:00] <irogue_> and then there's the nz military police: http://111emergency.co.nz/POLICE/Military/HGF672/HGF672.JPG
166: [02:14:08] <irogue_> 2L automatic mondeo
167: [02:14:09] <irogue_> QQ
168: [02:14:16] <antmas> LOL
169: [02:14:19] <ss23> haha
170: [02:14:19] <antmas> failcar
171: [02:14:22] <ss23> I didn't even know we had military policy
172: [02:14:31] * vebb has joined #silverstripe
173: [02:14:38] <simon_w|work> I didn't even know NZ had a military! :p
174: [02:14:48] <irogue_> ss23: yeah, just on-base, which basically means only in 3 places
175: [02:14:59] <ss23> ah yep
176: [02:15:38] <irogue_> oh, 4 places cos still 2 major army bases
177: [02:15:45] <antmas> I wonder what the police will use when they stop making commodores
178: [02:15:49] <irogue_> so waiouru, trentham, devonport and ohakea
179: [02:15:53] <Ryan-Toast> Last week we won netball 52-10, and we let them get 5 points. #teamtall
180: [02:16:01] <Ryan-Toast> Let’s see how tonight goes
181: [02:16:08] <irogue_> are where i'm guessing you'd find MPs
182: [02:17:22] <irogue_> ah, nope, despite the generic name "Military Police" they're actually Army rather than all-of-military
183: [02:17:35] <irogue_> Linton, Burnham, Waiouru, Trentham
184: [02:18:10] <Ryan-Toast> antmas: http://i.telegraph.co.uk/multimedia/archive/02546/ferrari-dubai-poli_2546905b.jpg
185: [02:18:23] <antmas> remind me to pick you next time we have a military quiz night!
186: [02:18:35] <antmas> Ryan-Toast: yeah but they don't coun t;P
187: [02:18:53] <irogue_> antmas: i'm researching as we speak :P
188: [02:19:40] <antmas> irogue_: I don't follow any NZ military, but I read FoxTrotAlpha all day errrrr day
189: [02:20:14] <irogue_> antmas: I have friends in it so follow it minimally through them
190: [02:22:39] * zippy quit (Ping timeout: 255 seconds)
191: [02:27:24] * vebb has joined #silverstripe
192: [02:30:01] * micmania1 quit (Remote host closed the connection)
193: [02:30:35] * micmania1 has joined #silverstripe
194: [02:34:48] * Phlunk3 has joined #silverstripe
195: [02:36:33] <Stomach> I used to spend a lot of time out at linton, had friends whos dads were out there
196: [02:37:42] * r_hector has joined #silverstripe
197: [02:38:08] * antmas doesn't know anyone in the military
198: [02:40:44] <Ryan-Toast> Should I do a pull request for this in the cms? http://www.gfycat.com/PinkWideeyedHackee
199: [02:41:06] <Stomach> yeah you should
200: [02:41:36] <simon_w|work> Ryan-Toast, is one of the more popular things on uservoice
201: [02:41:40] <Ryan-Toast> I guess I’ll make it set a cookie for whatever width you’ve set it to as well.
202: [02:41:49] <Ryan-Toast> uservoice?
203: [02:41:54] <Stomach> http://silverstripe.uservoice.com/forums/251266-new-features/suggestions/6187340-allow-the-site-tree-sidebar-when-editing-a-page-to
204: [02:42:25] <Ryan-Toast> I can do a few of these
205: [02:42:45] <Phlunk3> hey guys, got a v newb question. I have created a couple of new classes inside of mysite/code/ extending page. Is this what is referred to as a module inside of the silverstripe composer documentation (http://doc.silverstripe.org/framework/en/installation/composer)? I am just trying to find the right way to add functionality and was not sure this is what is called a module, or if it is referred to by some other term.
206: [02:43:11] <Ryan-Toast> Does stuff like this usually get patched in, or do the SS team generally like to do it in house?|
207: [02:43:12] <Stomach> Phlunk3, thats just custom code the the website
208: [02:43:29] <Phlunk3> just adding carddav functinality to play around with silverstripe.
209: [02:43:32] <Stomach> a module would be something other than mysite, which can stand by itself and be distributed
210: [02:43:42] <Stomach> Ryan-Toast, they merge all sorts of crap in :
211: [02:43:43] <Stomach> D
212: [02:43:50] <Ryan-Toast> Stomach: Coolio.
213: [02:43:56] <Ryan-Toast> I’ll do some inbetween projects
214: [02:43:57] <Phlunk3> ahh cool, and that would sit where within the ss folder structure?
215: [02:44:22] <Stomach> Phlunk3, it would be a folder in the same directory as "framework" and "cms" called "modulename" :)
216: [02:44:59] <Phlunk3> thanks
217: [02:48:07] <Blacklite> hey, what's the best way to include a third party library in SS 2.4?
218: [02:55:21] * joelpittet has joined #silverstripe
219: [02:57:10] * joelpittet quit (Client Quit)
220: [03:03:53] <irogue_> anyone who's curious, http://nzp.slyip.com:8000/stream.ogg
221: [03:04:01] <irogue_> you may need to open with VLC or something
222: [03:05:03] <Zauberfisch> what is it?
223: [03:05:15] <ss23> Zauberfisch: http://nzp.slyip.com/ police radio for Hamilton
224: [03:05:18] <Stomach> badoop,bebop
225: [03:05:19] <ss23> this channel is 100% 1C
226: [03:05:31] <irogue_> ss23: no its not police radio for hamilton :P
227: [03:05:35] <ss23> oh?
228: [03:05:38] <irogue_> its now ambulance and fire in south auckland :P
229: [03:05:40] * cloph_away has joined #silverstripe
230: [03:05:44] <ss23> haha
231: [03:05:45] * cloph quit (Ping timeout: 244 seconds)
232: [03:05:46] <Phlunk3> lol
233: [03:05:53] <irogue_> i moved, remember :P
234: [03:06:09] <Stomach> is this legal?
235: [03:06:24] <irogue_> grey area
236: [03:06:26] <irogue_> :P
237: [03:07:42] <irogue_> theyre open frequencies, anyone can listen
238: [03:07:56] * joelpittet has joined #silverstripe
239: [03:08:01] <irogue_> they don't really *want* you do, but they haven't made it illegal
240: [03:08:23] <Stomach> kinda like the old uhf sky decoding?
241: [03:08:52] <Stomach> "not my fault this frequency is in my house and I happen to have a tvc capable of decoding it" ?
242: [03:08:53] <ss23> uhhh
243: [03:08:57] <ss23> Pretty sure it's completely illegal
244: [03:09:02] <ss23> You can listen, but you can't re-broadcast
245: [03:09:05] <ss23> Which is what you're doing
246: [03:09:05] <ss23> :P
247: [03:09:10] <irogue_> ss23: yeah, hence the grey
248: [03:09:14] <ss23> That's black!
249: [03:09:21] <irogue_> the rebroadcasting thing specifically refers to radio broadcast
250: [03:09:25] <ss23> Ehhh
251: [03:09:26] <irogue_> as it was pre-internet
252: [03:09:27] <ss23> Source?
253: [03:09:48] <ss23> Laws are generally interpreted rather than strictly read as they're written
254: [03:10:04] <ss23> I would put it into the "extremely dark grey to the point of being indistinguuisable from black unless you're a pedant" :D
255: [03:10:18] <Stomach> irogue_ = pedant
256: [03:11:34] <ss23> Not to be confused with a pendant
257: [03:12:50] <irogue_> ss23: trying to find it but its challenging, its hidden in some broadcasting/radio act
258: [03:13:09] <ss23> yeah, laws are hard to find :(
259: [03:13:10] <ss23> it's stupid
260: [03:13:32] <ss23> Literally impossible to know if the shit you're doing is illegla
261: [03:13:55] <Stomach> and yet you are supposed to be fully aware of the laws, and prosecuted as such :\
262: [03:14:02] <Stomach> stupid legal system
263: [03:15:12] <Phlunk3> btw I thought they encrypted this stuff a while back? :/
264: [03:15:22] <irogue_> Phlunk3: only police
265: [03:15:26] <irogue_> and only in auckland, wellington and chch
266: [03:16:00] <irogue_> the govt pulled the funding after that as they had to cancel a bunch of things to make the budget look positive
267: [03:22:07] <Stomach> fire in mangere bridge! uh oh
268: [03:24:27] <simon_w|work> Fire in the taco bell!
269: [03:27:00] <irogue_> if i get a better antenna (just using old TV VHF antenna at the mo) i should be able to get ATC
270: [03:27:15] <Stomach> auckland theatre company
271: [03:27:29] <Stomach> soliloquizing since for-ages-ago
272: [03:29:19] <Stomach> random motorcycle
273: [03:29:22] <Stomach> this is great irogue_
274: [03:34:37] <irogue_> damn carpet cleaners
275: [03:36:18] <Stomach> hahaha
276: [03:36:29] <Stomach> theres some cops down queen street, can hear the whistles
277: [03:37:58] <irogue_> lol
278: [04:04:33] <antmas> irogue_: link?
279: [04:04:39] <antmas> I had it somewhere...
280: [04:04:45] <Stomach> http://nzp.slyip.com:8000/stream.ogg
281: [04:07:58] <antmas> yay, looks like these designers got the new CD site right
282: [04:12:09] <Stomach> ss23, that westpac tab.... http://stevie.co.nz/ss-home.jpg
283: [04:12:11] <Stomach> >_<
284: [04:12:32] <Stomach> orphan needs some love :(
285: [04:13:18] <Colin[pi]> Stomach: what browswer?
286: [04:13:21] <Colin[pi]> *browser
287: [04:13:27] <Stomach> Chrome 36.0.1985.125
288: [04:13:36] <Stomach> 1920 x 1080
289: [04:13:40] <Stomach> Windows 7
290: [04:13:52] <Colin[pi]> yeah I get it in my chrome also
291: [04:13:54] <Colin[pi]> firefox is fine
292: [04:14:04] <Stomach> so is IE
293: [04:14:08] <Stomach> font rendering ftl
294: [04:14:12] * Phlunk3 quit (Remote host closed the connection)
295: [04:14:45] <Colin[pi]> margin from 15px to 13px fixes it
296: [04:14:49] <antmas> Stomach: yeah IE and chrome for me too
297: [04:15:07] <simon_w|work> Stomach, WHOA, YOU WENT TO SS.COM!
298: [04:15:37] <Stomach> simon_w|work, yes
299: [04:15:39] <Stomach> yes I did
300: [04:20:42] <simon_w|work> It must have felt special
301: [04:20:45] <simon_w|work> A person visited it!
302: [04:21:42] <ss23> 16:12:10 < Stomach> ss23, that westpac tab.... http://stevie.co.nz/ss-home.jpg
303: [04:21:45] <ss23> what do you mean?
304: [04:22:01] <ss23> oh
305: [04:22:01] <ss23> I see
306: [04:22:06] <ss23> meh
307: [04:22:07] <ss23> 2lazy
308: [04:24:02] <Colin[pi]> it'll be replaced soon anyway
309: [04:24:06] <ss23> Well
310: [04:24:08] <ss23> "soon"
311: [04:24:09] <ss23> yeah
312: [04:24:13] <Colin[pi]> heheh yeah
313: [04:24:14] <Colin[pi]> "soon"
314: [04:24:16] <Colin[pi]> ^_^
315: [04:24:22] <ss23> Did you talk to cam about it? :P
316: [04:24:34] <Colin[pi]> who me?
317: [04:24:36] <Colin[pi]> a little
318: [04:24:38] <ss23> Yes you!
319: [04:24:45] <ss23> Couldn't be!
320: [04:24:47] <ss23> Then WHO
321: [04:24:48] <ss23> :D
322: [04:25:06] <ss23> I WANT TO WALK AWAY, HOPLESS WITH NOTHING TO SAYYYYYYYYYYY YEAHHHH
323: [04:25:10] <ss23> I STRAIN MY EYES
324: [04:25:13] <ss23> HOPING TO SEE YOU AGAIN
325: [04:25:16] <ss23> THIS. IS. MY. CURSE
326: [04:25:19] * ss23 headbangs Colin[pi]
327: [04:25:24] <Colin[pi]> oof
328: [04:25:46] <simon_w|work> Banging you with his head? Sounds like he's blowing you
329: [04:25:51] <Colin[pi]> ;)
330: [04:26:26] <ss23> I dread to imagine simon_w|work's reaction to a metal concert in that case :O
331: [04:27:28] * marvanni has joined #silverstripe
332: [04:31:10] <Colin[pi]> mouse y u keep dying? :(
333: [04:31:58] <irogue_> ah fuck
334: [04:32:07] <simon_w|work> Because it realised it will never be a firetruck?
335: [04:32:12] <Colin[pi]> must be
336: [04:32:29] <irogue_> i've been to supermarket 3x this week, each time ive forgotten to get batteries
337: [04:32:40] <antmas> who ever remembers to get batteries?
338: [04:32:42] <irogue_> you just reminded me yet again
339: [04:32:55] <irogue_> antmas: two of those times it was me going back cos i forgot batteries
340: [04:33:04] <antmas> I often go past the battery station and go 'I should get batteries'
341: [04:33:07] <antmas> and then never do
342: [04:33:15] <simon_w|work> irogue_, online shopping!
343: [04:33:23] <simon_w|work> Also, a shopping list :p
344: [04:35:36] * Guest16227 quit (*.net *.split)
345: [04:36:11] <irogue_> luckily its a 300m walk to the supermarket
346: [04:38:01] <ss23> irogue_: could be worse
347: [04:38:12] <ss23> we're out of toilet paper, down to literally 0 light bulbs in the lounge, and no washing powder
348: [04:38:17] <irogue_> o_O
349: [04:38:19] <ss23> we're at critical "WE HAVE TO GO TONIGHT NO MATTER WHAT" levels :(
350: [04:38:23] <irogue_> quite
351: [04:38:33] <irogue_> i always end up with way too much TP
352: [04:38:52] <antmas> there is never too much tp
353: [04:38:52] <irogue_> cos i'll be at supermarket and think "do I need TP? I can't remember how much TP I have. better buy TP"
354: [04:38:57] <ss23> Well we don't go to the supermarket often enough to have lots of it, and since my flatmate has a bike now, we get stuff in small amount
355: [04:39:01] <ss23> lol irogue_
356: [04:39:02] <spronk> who the fuck buys batteries at the supermarket these days?
357: [04:39:16] <ss23> It's true, what on earth do you need bateries for even?
358: [04:39:24] <ss23> I don't think I've owned anything that uses batteries in the last 5 years
359: [04:39:25] <spronk> i use batteries quite a bit, but they're almost all eneloops
360: [04:39:32] <ss23> eneloops?
361: [04:39:34] <spronk> ...
362: [04:39:54] <spronk> the awesome low static discharge AA nimh rechargeables originally created by Sanyo, now owned and sold by Panasonic
363: [04:40:00] <spronk> BEST BATTRIES EVAH
364: [04:40:01] <irogue_> ss23: shitty wireless keyboard and mouse i'm using while i decide which good keyboard and mouse to buy
365: [04:40:33] <ss23> spronk: sounds cool
366: [04:40:44] <irogue_> they also come pre-charged
367: [04:41:02] <spronk> they've replaced alkalines in all my remotes, flashlights, rc choppah
368: [04:41:24] <spronk> only thing i have that doesn't have eneloops in it is a CR123Ax2 flashlight in the car
369: [04:42:53] <antmas> spronk: WHERE CAN I BUY THESE MAGIC STICKS?
370: [04:43:04] <spronk> :D:D:D:D
371: [04:43:11] <spronk> interestingly, nowadays, countdown
372: [04:43:16] <spronk> they often have them on sale too
373: [04:43:16] * mobiusnz quit (Quit: Leaving.)
374: [04:43:20] <spronk> $29 for 4xAA with a charger
375: [04:43:30] <antmas> hmmmmm
376: [04:43:37] <antmas> do they just... last longer?
377: [04:43:45] <spronk> well
378: [04:43:47] <simon_w|work> spronk, so you buy batteries from a supermarket then?
379: [04:43:57] <spronk> simon_w|work, i never have :P
380: [04:44:06] <spronk> antmas, for everything i use them for they last longer than alkalines
381: [04:44:11] <spronk> aaand you can recharge them
382: [04:44:15] <spronk> oh yeah, xbox controllers too
383: [04:44:47] <simon_w|work> Turns out if you're running a link checker on the logged in part of your site, it helps to make it exclude the logout link
384: [04:44:50] <spronk> in low drain stuff they don't last much longer than alkalines, but after ~4 recharges they're cheaper
385: [04:45:04] <spronk> in high drain stuff they will last anywhere from 1.5-3x longer than an alkaline
386: [04:45:14] <spronk> and after 2 recharges are cheaper
387: [05:02:36] <antmas> Ryan-Toast: BP - do the menu buttons not work for you at the moment?
388: [05:02:48] <Ryan-Toast> in what way?
389: [05:03:05] <antmas> Ryan-Toast: making gif, 2 secs
390: [05:03:12] * Shrike_Finland has joined #silverstripe
391: [05:04:29] <antmas> Ryan-Toast: they don't highlight
392: [05:04:43] <Ryan-Toast> I took that out
393: [05:04:44] <antmas> Ryan-Toast: http://gfycat.com/DependableGrandioseAnnashummingbird
394: [05:04:46] <antmas> oh
395: [05:04:51] <antmas> nevemrind then :P
396: [05:05:01] <Ryan-Toast> Trying to take all the styling out
397: [05:05:15] <antmas> Ryan-Toast: why?
398: [05:05:21] <antmas> keeping it vanilla?
399: [05:05:23] <Ryan-Toast> because boilerplate, not them,e
400: [05:05:30] <antmas> nice
401: [05:05:56] <Ryan-Toast> If you want the old style you can grab it from this commit: https://github.com/Rhym/ss_boilerplate/commit/e6ef4c98b527b34b36c138d9d6fe2c1d019fa00c
402: [05:06:41] <antmas> oh cool
403: [05:09:28] <antmas> Ryan-Toast: it's better without it
404: [05:09:35] <Ryan-Toast> easier**
405: [05:10:13] <Ryan-Toast> If you have any issues let me know :)
406: [05:10:38] <Ryan-Toast> I uspadted maps so you can add info windows and markers via the cms
407: [05:11:43] <antmas> awesomesauce
408: [05:11:57] <antmas> Ryan-Toast: I will this time as it's actually something I need to do asap :P
409: [05:12:04] <antmas> this site is anyway
410: [05:12:46] <irogue_> hmmmmmmm
411: [05:12:52] <irogue_> i have a craving for kfc
412: [05:13:03] <irogue_> but every time i get it i end up disappointed
413: [05:13:15] <ss23> do it anyway
414: [05:13:35] <ss23> If I stopped eating fastfood when it made me feel sick and disgusting, I would never be the man I am today
415: [05:13:41] <Ryan-Toast> irogue_: Ask them to make fresh popcorn chicken. No dissapointments.
416: [05:15:34] <irogue_> Ryan-Toast: tbh pretty much everything will be fresh
417: [05:15:49] <irogue_> this is manurewa
418: [05:16:04] <irogue_> they couldn't cook it fast enough
419: [05:16:22] * travis-ci has joined #silverstripe
420: [05:16:22] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3046 (3.1 - d7d7cf0 : Simon Welsh): The build passed.
421: [05:16:22] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/9912410e7b11...d7d7cf0280bc
422: [05:16:22] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31878798
423: [05:16:22] * travis-ci has left #silverstripe
424: [05:18:32] * adrexia quit (Quit: Konversation terminated!)
425: [05:18:47] * antmas quit (Quit: Page closed)
426: [05:18:53] <irogue_> https://www.google.co.nz/maps/@-37.023688,174.898302,3a,75y,128.3h,85.89t/data=!3m4!1e1!3m2!1sIqXDN8p_p3b9H-HfdGlY7A!2e0
427: [05:18:58] <irogue_> I love how the colonel's face is blurred
428: [05:19:09] <ss23> hahahaha
429: [05:23:04] * travis-ci has joined #silverstripe
430: [05:23:05] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#990 (3.1-interim - 33faef7 : madmatt): The build has errored.
431: [05:23:05] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/41a942739d55^...33faef7ade05
432: [05:23:05] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/31879097
433: [05:23:05] * travis-ci has left #silverstripe
434: [05:23:11] <irogue_> its weird how ambo incidents seem to clump together
435: [05:24:35] <irogue_> this morning there was a clump of cardiac arrests, this afternoon it was falls, now there's been a clump of seizures
436: [05:33:32] * travis-ci has joined #silverstripe
437: [05:33:33] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#989 (3.1 - 0884151 : Damian Mooyman): The build is still failing.
438: [05:33:33] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/3a5c5efc7c22...0884151f6a31
439: [05:33:33] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/31879055
440: [05:33:33] * travis-ci has left #silverstripe
441: [05:36:35] * Ryan-Toast quit (Quit: Ryan-Toast)
442: [05:41:29] * vebb has joined #silverstripe
443: [05:47:49] * adrexia has joined #silverstripe
444: [05:54:05] * mobiusnz has joined #silverstripe
445: [05:55:58] * sunzofman1 quit (Read error: Connection reset by peer)
446: [06:23:18] * markcl has joined #silverstripe
447: [06:23:34] <markcl> I'm trying to do something like this:
448: [06:23:35] <markcl> <% loop $Parent %>
449: [06:23:36] <markcl> <% loop $Children %>
450: [06:23:40] <markcl> $Title
451: [06:23:54] <markcl> However it seems that it doesn't return the title
452: [06:27:05] <simon_w|work> markcl, you want <% with $Parent %>
453: [06:27:14] <simon_w|work> You're just changing to its scope, not looping over it
454: [06:49:59] * willr quit (Quit: willr)
455: [06:52:45] * CodeTrap1 has joined #silverstripe
456: [06:55:30] * CodeTrap quit (Ping timeout: 272 seconds)
457: [07:10:49] * CodeTrap has joined #silverstripe
458: [07:12:23] * CodeTrap1 quit (Ping timeout: 240 seconds)
459: [07:18:35] * CodeTrap quit (Remote host closed the connection)
460: [07:18:45] * CodeTrap has joined #silverstripe
461: [07:21:14] * joelpittet quit ()
462: [07:22:15] <firefox2kx> I've got a loop in a loop. When I use $Up.Pos in the inner loop to get the pos of the outer loop, I get "1" .. each time
463: [07:22:17] * caamic30 has joined #silverstripe
464: [07:30:20] * lerni_ has joined #silverstripe
465: [07:32:51] * micmania1 quit (Quit: micmania1)
466: [07:35:47] <caamic30> has anyone ever tried adding cms validation to SiteConfig ?
467: [07:38:17] * simon_w|work quit (Remote host closed the connection)
468: [07:45:11] * stnvh has joined #silverstripe
469: [07:45:26] * nedmas has joined #silverstripe
470: [07:48:10] <firefox2kx> mine is done: I had to use 2 times up to get out of the if as well
471: [07:49:47] * ARNHOE has joined #silverstripe
472: [07:55:36] * nedmas quit (Quit: nedmas)
473: [08:09:28] * qlex has joined #silverstripe
474: [08:09:54] * qlex says hi
475: [08:10:50] <qlex> Zauberfisch's work on userforms sparkled tonns of updates of that module. could somebody shine some light on current state of those ?
476: [08:10:58] * CodeTrap1 has joined #silverstripe
477: [08:12:56] * CodeTrap quit (Ping timeout: 260 seconds)
478: [08:13:49] * Pyzzik has joined #silverstripe
479: [08:14:27] * nedmas has joined #silverstripe
480: [08:15:20] <adrexia> this? https://github.com/silverstripe/silverstripe-userforms/pull/186
481: [08:16:04] <adrexia> or something else?
482: [08:17:34] <adrexia> Personally, I'm watching out for this feature branch: https://github.com/silverstripe/silverstripe-userforms/tree/formsondataobjects ;)
483: [08:19:22] * Shrike_Finland quit (Quit: Leaving.)
484: [08:20:28] <qlex> adrexia: im getting several emails a week on that module..
485: [08:20:45] <qlex> i needed the ability to sent the inquiry to different receipient, using a dropdown
486: [08:20:51] <qlex> wich zauberfisch added
487: [08:20:55] * kinglozzer has joined #silverstripe
488: [08:21:06] <qlex> but im not sure if the module hasnt been re-wamped totally now, because of those changes
489: [08:22:32] <adrexia> is that what that pulll request does? Looks related?
490: [08:23:19] <adrexia> if so, it hasn't been merged yet. Wilr doesn't seem to be around right now - unfortunately. He's usually here.
491: [08:24:38] <qlex> ok
492: [08:24:47] <qlex> i better wait or hear from Zauberfisch on that subject
493: [08:24:48] <ss23> He's not usually here
494: [08:24:49] <ss23> :O
495: [08:24:54] <ss23> Only like 10% of the time is he here
496: [08:25:01] <qlex> have several clients using userforms, but needed to update them with this ability
497: [08:26:30] * simon_w has joined #silverstripe
498: [08:27:12] * willr has joined #silverstripe
499: [08:27:42] <adrexia> like all the times I'm online at work +ss23
500: [08:28:14] * CodeTrap has joined #silverstripe
501: [08:30:06] <adrexia> willr qlex has a question about userforms!
502: [08:30:35] * CodeTrap1 quit (Ping timeout: 264 seconds)
503: [08:31:52] <willr> Yay userforms.
504: [08:32:25] <irogue_> good summoning work there adrexia :P
505: [08:34:10] <adrexia> I practise!
506: [08:34:52] <adrexia> I think it's about the status of this pull request: https://github.com/silverstripe/silverstripe-userforms/pull/186
507: [08:38:10] * zippy has joined #silverstripe
508: [08:38:18] <zippy> hello
509: [08:38:27] * jcwacky quit (Quit: jcwacky)
510: [08:38:39] <adrexia> hi
511: [08:38:46] * r_hector quit (Quit: Leaving.)
512: [08:40:11] * Shrike_Finland has joined #silverstripe
513: [08:40:15] <irogue_> "National Govt to put drug dogs at domestic airports & ferries"
514: [08:40:16] <irogue_> wat
515: [08:40:25] <irogue_> so much cost, so little point
516: [08:42:06] <simon_w> Next they'll make you go through security on all flights too
517: [08:42:09] <adrexia> because being seen to be tough on crime is so much more important than solving the real problems
518: [08:44:06] <willr> But the dogs are so cute!
519: [08:44:21] <adrexia> true.
520: [08:44:40] <adrexia> but i suspect national would also object to me stealing one
521: [08:44:43] <irogue_> I got stopped by a drug dog at Auckland airport once
522: [08:45:12] <willr> well #186 will break a lot of sites so held off merging till some minor updates made
523: [08:45:25] <willr> basically make value optional.
524: [08:45:31] <irogue_> the handler asked "have you got anything of interest in that bag?" and i'm like "I've been to Germany, I've got a fuckton of chocolate..."
525: [08:45:47] <irogue_> and she rolled her eyes and said "ugh, this dog is obsessed with chocolate, no worries"
526: [08:46:53] <adrexia> awesome :D
527: [08:47:04] <adrexia> probably pretty important to know your dogs
528: [08:47:10] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
529: [08:47:17] <irogue_> yeah
530: [08:48:06] <irogue_> hrmm
531: [08:48:08] <adrexia> willr, yeah seems fair
532: [08:48:41] <irogue_> i'm peckish. this is probably a good sign that i'm almost better, since I've had no appetite all week and now I've eaten 2 big meals already today and now am hungry again :D
533: [08:49:07] <adrexia> yeah I hear yours turned into a chest infection
534: [08:49:33] <irogue_> yeah
535: [08:49:34] <adrexia> mine has not been so bad. Annoying, but I can still work, so can't be so bad
536: [08:49:54] <adrexia> though keep losing my voice
537: [08:51:09] <irogue_> i'm on antibiotics now which seem to be improving things quite rapidly
538: [08:51:33] * adrexia nods
539: [08:51:37] <irogue_> bah, losing voice sucks
540: [08:51:58] <adrexia> Ihad them for soemthing else a month or two back. was really surprised at how quickly they worked
541: [08:52:13] <irogue_> yeah
542: [08:53:41] <zippy> for how much longer....
543: [08:53:55] <irogue_> I got given Erythromycin which is one of the few non-penicillin based ones. I'm not allergic to penicillin so asked the doctor why (cos I'm curious about such things) and apparently its really good for things related to the respiratory tract
544: [08:54:23] <irogue_> zippy: I honestly hate so much doctors who give them out like candy
545: [08:54:43] * NETim has joined #silverstripe
546: [08:54:46] <adrexia> I got that one too. I could be allergic to penicillin though
547: [08:54:47] <irogue_> I used to go to a GP who'd have a prescription written out for antibiotics before you even walked in the door
548: [08:55:04] <irogue_> quickly stopped going to that GP
549: [08:55:19] <zippy> you have to signup/in to use jsfiddle now! whats this bollocks
550: [08:55:25] * travis-ci has joined #silverstripe
551: [08:55:26] <travis-ci> [travis-ci] sunnysideup/silverstripe-cms#1 (patch-8 - 7eeb59a : Nicolaas): The build failed.
552: [08:55:26] <travis-ci> [travis-ci] Change view : https://github.com/sunnysideup/silverstripe-cms/compare/0884151f6a31...7eeb59a52f60
553: [08:55:26] <travis-ci> [travis-ci] Build details : http://travis-ci.org/sunnysideup/silverstripe-cms/builds/31888318
554: [08:55:26] * travis-ci has left #silverstripe
555: [08:55:26] <NETim> @willr, thanks for the help with the CMS form yesterday
556: [08:55:46] <NETim> I have one more question and then I'll top acting thicj
557: [08:55:49] <NETim> thick*
558: [08:56:35] <willr> no worries, sorry was like midnight here so had to jet
559: [08:56:47] <NETim> no problem, I assumed timezones and stuffs
560: [08:57:08] <NETim> With the getEditForm, the form works fine but the format seems a little off
561: [08:57:30] <NETim> The title fir example only has a background behind the text, not all the way across (if that makes sense)
562: [08:57:39] <NETim> for*
563: [08:57:57] <caamic30> how to use DataExtension validate, it always returns “Validation error: Validation error writing a SiteConfig object: Title field is required. Object not written.”
564: [08:58:37] <caamic30> I’ve data extended the SiteConfig called CustomSiteConfig and I added validate
565: [08:58:52] <NETim> @caamic30, does it have a Title defined in the DB array?
566: [08:59:05] <Pyzzik> USERS GONNA USER
567: [08:59:25] <caamic30> yeah SiteConfig has Title dbfield
568: [08:59:39] <Pyzzik> [09:54] <irogue_> zippy: I honestly hate so much doctors who give them out like candy
569: [08:59:42] <Pyzzik> never ever come to the UK
570: [08:59:57] <Pyzzik> they do that to the point where it's just dismissive.
571: [09:00:34] <Pyzzik> "I HAVE A SERIOUS ILLNESS" - 'here is some hayfever medicine, take that for 3 weeks.'
572: [09:01:16] <Pyzzik> I'm surprised people make it past 20, eh kinglozzer
573: [09:02:22] <zippy> kinglozzer: sort out ya mysql/
574: [09:02:31] <Pyzzik> [09:55] <zippy> you have to signup/in to use jsfiddle now! whats this bollocks
575: [09:02:36] <Pyzzik> Press F12, it's free.
576: [09:03:20] <zippy> If i go there, I can't save my code, I have to create an account to save
577: [09:03:59] * kinglozzer quit (Remote host closed the connection)
578: [09:04:16] * kinglozzer has joined #silverstripe
579: [09:04:39] <NETim> @willr, still there? you haven't fallen asleep have you?
580: [09:05:12] <caamic30> here’s my code http://www.sspaste.com/paste/show/53e33ce5c4513
581: [09:05:26] <willr> Not yet. Only 9pm :)
582: [09:05:35] <willr> still writing proposals gah
583: [09:06:15] <NETim> masters or doctorate (or other)
584: [09:06:35] <kinglozzer> Pyzzik: Not yet, still on my laptop, gonna actually wipe the computer today :P
585: [09:06:40] <kinglozzer> (backup took too long)
586: [09:06:46] <zippy> I don't think you can override a function on the class your trying to extend, can you caamic30 ?
587: [09:07:14] <kinglozzer> caamic30: zippy is right, you can’t override a function in an extension like that
588: [09:07:49] <caamic30> zippy: kinglozzer: DataExtension has a hook method validate
589: [09:08:12] <caamic30> I’m just calling the hook
590: [09:08:20] <kinglozzer> caamic30: Oh shit, you’re right. My bad!
591: [09:08:23] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
592: [09:08:44] * zippy has joined #silverstripe
593: [09:08:52] <zippy> ops! sorry
594: [09:09:49] <caamic30> yeah, but I can’t make it to work, I’m pretty sure my code is the way to do it but for some reason I get this exception “Validation error: Validation error writing a SiteConfig object: Title field is required. Object not written.”
595: [09:10:08] <irogue_> caamic30: you're not actually checking the Title field...
596: [09:10:14] <irogue_> you're just always throwing an error
597: [09:10:18] <irogue_> as far as I can see?
598: [09:10:49] * kinglozzer quit (Remote host closed the connection)
599: [09:10:57] <Pyzzik> caamic30: well you need a title.
600: [09:11:11] * kinglozzer has joined #silverstripe
601: [09:11:33] <Pyzzik> http://www.sspaste.com/paste/show/53e33ce5c4513
602: [09:11:33] <Pyzzik> hahaha
603: [09:11:34] <Pyzzik> lol
604: [09:11:41] <Pyzzik> that's actually quite funny.
605: [09:12:00] <Pyzzik> sorry, that's a bit rough, but I'm chuckled by that.
606: [09:12:05] <NETim> Pyzzik, how so?
607: [09:12:39] <Pyzzik> NETim: well it's pretty much like if(false) $this->write(); //Guys my object won't write!
608: [09:13:01] <irogue_> yeah, need to actually check whether the title validation failed
609: [09:13:42] * jcwacky has joined #silverstripe
610: [09:14:04] <NETim> I would guess it's a stub, forcing a guaranteed response to get the hook to work and then add the actual logic in once you know it works, rather than give it the logic and have to check did it validate AND did my hook work?
611: [09:14:08] <caamic30> irogue_: yes for this code, I’m just throwing the error, it should show an error message on the top of the cms form
612: [09:14:47] <Pyzzik> well then you'd better catch it.
613: [09:17:05] <caamic30> Pyzzik: the code just assume that the Title field is empty, because if I set the $result->error automatically it triggers a false validation and won’t continue saving
614: [09:17:30] <irogue_> caamic30: okay, so the issue has nothing to do with the actual throwing of the error, just how its displayed?
615: [09:20:31] <irogue_> http://doc.silverstripe.org/framework/en/topics/datamodel#validation-and-constraints
616: [09:20:39] <irogue_> Invalid objects won't be able to be written - a ValidationException will be thrown and no write will occur.
617: [09:20:39] <irogue_> It is expected that you call validate() in your own application to test that an object is valid before attempting a write, and respond appropriately if it isn't.
618: [09:21:58] <Pyzzik> yes, if validate returns and error, iirc the code THROWS the error.
619: [09:22:02] <Pyzzik> thus resulting in 500 or something
620: [09:22:15] <Pyzzik> You've gotta catch it and do as you will.
621: [09:22:42] <irogue_> yep
622: [09:22:47] <Pyzzik> or you could die returning the correct JSON for a message as a circumventing hack.
623: [09:22:51] <Pyzzik> dirty dirty hack.
624: [09:24:20] <irogue_> obviously its easier when its your own class and not a dataextension, cos you can override validate() and throw some try/catch around the paremt::validate stuff
625: [09:24:49] <irogue_> tho I guess it might still work in the dataextension
626: [09:26:26] * Colin[pi] quit (Ping timeout: 260 seconds)
627: [09:27:41] * CodeTrap1 has joined #silverstripe
628: [09:27:59] * Tanger quit (Quit: Tanger)
629: [09:28:12] * CodeTrap quit (Ping timeout: 245 seconds)
630: [09:28:27] <NETim> @willr, any ideas on the formatting issue I mentioned with getEditForm() in the CMS?
631: [09:28:55] <firefox2kx> How can I access data of another subpage in controller
632: [09:29:10] <willr> NETim, still using a standard <form> tag?
633: [09:29:14] <zippy> firefox2kx: define date.. what do you mean
634: [09:29:17] <zippy> *data
635: [09:29:56] <Pyzzik> irogue_: ss23 how much laughs? http://www.nzherald.co.nz/business/news/article.cfm?c_id=3&objectid=11304922
636: [09:30:08] * simon_w quit (Quit: This computer has gone to sleep)
637: [09:31:17] <NETim> @willr, I've switched entirely to using the getEditForm function, from what i can see it does generate a standard <form> tag
638: [09:31:21] <firefox2kx> perhaps it is irrelevant? I think I would rather say <% with Page(xy) %> in template.. stand by. I'll have a look what's there already
639: [09:32:11] <willr> and getEditForm returns a CMSForm instance>
640: [09:32:26] <NETim> as far as i can tell, yep.
641: [09:33:03] <willr> what code is the response you get? Should be 200
642: [09:33:53] <NETim> @willr,Think we have a slight crossed wire, the form works fine, it just looks odd, for example the background color behind the title is only as long as the text.
643: [09:34:22] <willr> oh right, yeah I had that on mine as well. To get around that provide a custom YourAdmin.ss
644: [09:34:34] <willr> I thought the cms was only breaking when you submitted the form
645: [09:34:39] <willr> that usually happens
646: [09:35:04] <kinglozzer> Pyzzik: “"PaSsWoRd!43" is far better than "password43."”
647: [09:35:12] <NETim> @willr, that was the problem i'd been having but it works now. Where does the CMS look for those templates?
648: [09:35:15] <kinglozzer> Ultra secure
649: [09:35:15] <kinglozzer> :P
650: [09:35:57] <Pyzzik> firefox2kx: <% loop Children %>
651: [09:36:29] <irogue_> srsly, unless the farmer themselves called that in... "fire in a paddock"
652: [09:36:53] <Pyzzik> kinglozzer: so is "My Password is far superiour to yours, regardless that it has only 2 bits of punctuation!"
653: [09:36:55] <irogue_> yeah, okay, its winter and raining. if there's a fire in a paddock it's probably a burn-off cos there's no better time to do it.
654: [09:37:21] <Pyzzik> [10:36] <irogue_> srsly, unless the farmer themselves called that in... "fire in a paddock"
655: [09:37:26] <Pyzzik> is that like a storm in a teacup?
656: [09:37:32] <irogue_> pretty much yeah
657: [09:37:46] <irogue_> in height of summer, yeah okay it could be a scrubfire and they're bad
658: [09:37:50] <Pyzzik> farmers are allowed to burn off.
659: [09:38:09] <irogue_> exactly
660: [09:38:12] <Pyzzik> yeah well the other year when all of canterbury plains caught fire because too dry and all grass and scrub ignited.
661: [09:38:15] <irogue_> and not much better time to do it
662: [09:38:22] <Pyzzik> that was a laugh.
663: [09:38:25] <irogue_> mid winter, nothing's been dry for weeks
664: [09:38:37] <Pyzzik> but due dilligence, should probably still let fire dept. know.
665: [09:38:39] <willr> Ok Netim - on your geteditform setTemplate to just Form
666: [09:38:56] <willr> by default it uses LeftAndMain_EditForm which includes a broken header, and footer
667: [09:38:58] <Pyzzik> but yeh, usually can see a bunch of burns on the way in to CHC on a plane.
668: [09:39:06] <caamic30> irogue_: Pyzzik: I’ve proven that validate is not possible with SiteConfig on 3.1.2 SS version, no problems with the latest SS version. strange
669: [09:39:18] <Pyzzik> it's not uncommon, so long as they're burning organics and not rubbish it's fine too. Burning rubbish is illegal iirc.
670: [09:39:43] <Pyzzik> caamic30: well it's possible. but just wasn't doing quite what you wanted.
671: [09:40:11] <NETim> @willr, thanks, loots a little better, how do I get a header in there though?
672: [09:40:27] <Pyzzik> <header>
673: [09:40:48] <NETim> from the controller Pyzzik
674: [09:41:14] <kinglozzer> $this->response->addHeader()
675: [09:41:32] <Pyzzik> $this->response->setBody($this->response->getBody().'<header>'); ?
676: [09:41:34] * kinglozzer didn't read, probably the complete wrong suggestion
677: [09:42:12] <NETim> Thanks, will try. I don't do that much in terms of screw with the CMS. the scaffold normally works.
678: [09:43:08] <Pyzzik> well I dunno. being fecitious a bit.
679: [09:45:20] <irogue_> Pyzzik: lawl, was legit o_O
680: [09:45:37] <Pyzzik> well...
681: [09:45:46] <irogue_> as in legit bad
682: [09:45:48] <adrexia> I include custom css in the cms all the time to fix... imperfect interfaces ;)
683: [09:45:50] <Pyzzik> depends what's already in the body though
684: [09:45:54] <irogue_> *trees* on fire
685: [09:46:05] <irogue_> lightning?
686: [09:46:12] <Pyzzik> irogue_: so some fuckwit lit a fire under trees, or was burning offcuts?
687: [09:46:57] <irogue_> on the side of the road apparently. it's pretty wet, it'd take a bit to get a tree to burn
688: [09:47:09] <Pyzzik> like a burning car?
689: [09:47:11] <caamic30> Pyzzik: is there any other way to CMS validate the SiteConfig ?
690: [09:47:19] <Pyzzik> some fuckwit with diesel?
691: [09:47:30] <caamic30> getCMSValidator isn’t working too :(
692: [09:47:56] <Pyzzik> yeah well that was the whole point of you using validator wasn't it?
693: [09:47:58] <NETim> @willr, any useful suggestions for adding in a header?
694: [09:48:11] <willr> What type of header?
695: [09:48:28] <NETim> @willr just the title of the page, to make it look a little more like it belongs
696: [09:48:32] <Pyzzik> there's the crux of the matter
697: [09:48:54] <NETim> @willr, at the moment the form sits top left in the window, right up against the nav
698: [09:48:56] <willr> Like the one that kinda worked before?
699: [09:49:05] <NETim> @willr, yep, exactly
700: [09:50:05] <willr> Ok playing in firebug you’ll need to add 2 pieces of CSS to get it looking sexy, revert what I said about setTemplate and go back to the ugly one
701: [09:50:23] <NETim> @willr, done.
702: [09:50:26] <NETim> next?
703: [09:50:44] <willr> then add .YourAdminName #Form_EditForm { width: 100% }
704: [09:51:01] <NETim> .YourAdminName?
705: [09:51:05] * simon_w|air has joined #silverstripe
706: [09:51:09] <willr> and you’ll also need to add .YourAdminName .cms-content-header { width: 100%; }
707: [09:51:27] <willr> youradminname is the name of the class you’ve created
708: [09:51:32] <NETim> @willr, Im assuming these should be in a css file pulled in with require?
709: [09:52:41] <willr> like so. https://github.com/silverstripe/silverstripe-userforms/blob/master/_config/userforms.yml#L8
710: [09:52:59] <Pyzzik> NETim: stop with the @
711: [09:52:59] <willr> require won’t work ajaxily I’m pretty sure
712: [09:53:14] <Pyzzik> it's irrelevant.
713: [09:53:23] <Pyzzik> willr: it will if it's in the CMS
714: [09:53:31] <NETim> willr, ok.
715: [09:54:04] <Pyzzik> it will if you're not in the cms, if you include the jquery-ondemand.js file
716: [09:54:24] <willr> that makes it look pretty sexy to me just 2 lines of css
717: [09:54:48] <willr> brb restarting Pyzzik here to help if you need :P
718: [09:54:52] * willr quit (Quit: willr)
719: [09:54:59] <Pyzzik> nah I'm busy
720: [09:55:01] <irogue_> 230/110 <- another nice blood pressure there
721: [09:55:07] <Pyzzik> trying to rmemeber what I'm supposed to be dfoing.
722: [09:55:10] <Pyzzik> irogue_: is it?
723: [09:55:13] <NETim> work?
724: [09:55:18] <Pyzzik> NETim: yesh
725: [09:55:22] <Pyzzik> but what?
726: [09:55:29] <NETim> um, silverstripe?
727: [09:55:34] <Pyzzik> oh yeah, how to forward a thing to a thing
728: [09:55:38] <Pyzzik> host port to guest port
729: [09:55:48] <NETim> iptables on 8nix
730: [09:55:52] <NETim> *nix
731: [09:56:17] <Pyzzik> windows -> virtualbox linux
732: [09:56:24] * pazuur has joined #silverstripe
733: [09:56:30] <Pyzzik> like vagrant does
734: [09:56:42] <NETim> ooh, um, haven't done VM ports in a long time
735: [09:57:20] * qlex says sorry as he was away...
736: [09:57:41] <qlex> generally speaking, i cant think of updating my userforms modules to include the multi-receipient functionalityy on contact forms yet ?
737: [09:57:50] <Pyzzik> oh and also, fuck'n why do I get 301 every time I request :<
738: [09:58:13] <Pyzzik> qlex: what you talk about?
739: [09:58:14] <NETim> what request?
740: [09:58:27] <Pyzzik> NETim: curl localhost
741: [09:58:56] <Pyzzik> "the document has moved permenantly to <a href="http://localhost">here</a>"
742: [09:59:12] <Pyzzik> circle redirects :<
743: [09:59:14] <NETim> so, localhost has been moved to, um, localhost?
744: [10:01:05] <Pyzzik> yes.
745: [10:01:08] <Pyzzik> permenantly.
746: [10:01:41] <NETim> no .htaccess or local port forwarding?
747: [10:01:53] <Pyzzik> just installed Apache.
748: [10:02:07] <pazuur> Hello! Yesterday I had a problem with spamprotection and recaptcha module. An error message said it coul not find the class "RecaptchaField". After a dev/build and flush=all, the problem dissapeard. This morning again the same error showed up. And again after a dev/build and flush=all it dissapeared. What can be wrong?
749: [10:02:11] <NETim> might sound silly, but have you configured localhost?
750: [10:02:28] <Pyzzik> pazuur: manifest is being overwritten.
751: [10:02:31] <Pyzzik> NETim: no.
752: [10:02:43] <pazuur> How to overcome
753: [10:02:53] <Pyzzik> stop clearing the manifest.
754: [10:03:21] <qlex> Pyzzik: Zauberfisch's new feature on userforms module - which allows to have a dropdown on contact form, that directs email to a chosen email receipient
755: [10:03:33] <pazuur> What is clearing the manifest overnight :-)?
756: [10:03:35] <irogue_> pazuur: create a silverstripe-cache folder in the same directory 'cms' and 'framework' are in, if there isn't already one
757: [10:03:42] <Pyzzik> qlex: oh cool.
758: [10:04:04] <Pyzzik> pazuur: probably your version control. Or any cleanup on windows logout, or something.
759: [10:04:16] <Pyzzik> try irogue_ s suggestion. probably fix.
760: [10:04:32] <NETim> also, Pyzzik, you were right about using Requirements:: in the CMS, works fine.
761: [10:05:04] <Pyzzik> NETim: use too many with nginx and it'll fall over though.
762: [10:05:08] <irogue_> CAR VS COW
763: [10:05:11] <Pyzzik> inspect headers to see how it works.
764: [10:05:26] <Pyzzik> irogue_: car hits cow, splits gas, catches fire, burns trees?
765: [10:05:27] <adrexia> qlex you got back just after Willr left again. :D
766: [10:05:44] <irogue_> Pyzzik: nah, unrelated lol
767: [10:05:46] <Pyzzik> adrexia: he said he was restarting though... so idk.
768: [10:06:00] <irogue_> forgot to open IRC post-restart :P
769: [10:06:09] <Pyzzik> irogue_: taht's good, I'd hate to think that Hollywood had taken over the production of all NZ cars.
770: [10:06:10] <adrexia> or might be back soon. :)
771: [10:06:17] <pazuur> @irogue there is no cache folder, how am i going to make one? Just put a "cache" dir in the root?
772: [10:06:29] <irogue_> pazuur: it needs to be named 'silverstripe-cache'
773: [10:06:31] <Pyzzik> pazuur: mkdir silverstripe-cache
774: [10:06:37] <irogue_> just create that and make sure it's writable by the web user
775: [10:06:39] <adrexia> qlex: I think you could pull in the fix as a patch if the clients needed it badly enough.
776: [10:06:43] <pazuur> Allright
777: [10:06:45] <Pyzzik> chown apacheuser:apachegroup silverstripe-cache
778: [10:06:51] <Pyzzik> chmod 777 silverstripe-cache
779: [10:06:53] <Pyzzik> whatever
780: [10:06:54] <Pyzzik> idk
781: [10:06:57] <adrexia> the problem was that it might break things for others
782: [10:07:37] <adrexia> but depends how happy you are to track it and upgrade again once the pull request is merged. Might be easier to wait?
783: [10:08:40] <pazuur> I know Pyzzik but thanks anyway
784: [10:12:27] <pazuur> so what is this cache dir doing anyway?
785: [10:13:33] <Pyzzik> stores the cache.
786: [10:14:19] <pazuur> Serious?
787: [10:14:21] * qlex1 has joined #silverstripe
788: [10:15:03] <pazuur> According to manifest?
789: [10:16:44] * qlex quit (Ping timeout: 240 seconds)
790: [10:18:00] * kinglozzer quit (Remote host closed the connection)
791: [10:18:15] * CodeTrap has joined #silverstripe
792: [10:18:44] <Pyzzik> pazuur: no, THE manifest.
793: [10:18:46] <Pyzzik> and templates.
794: [10:19:13] <Pyzzik> exactly the same as before, just there instead of /tmp/silverstripe-sitename-whatever-somethinglikethis
795: [10:19:34] <Pyzzik> foldername actually I think, idk. something like that
796: [10:20:06] <pazuur> So next morning it will not show the error message? :-)
797: [10:20:22] <Pyzzik> well hopefully.
798: [10:20:23] * CodeTrap1 quit (Ping timeout: 264 seconds)
799: [10:20:34] <pazuur> The website is on shared hosting, might that be an issue?
800: [10:20:54] <Pyzzik> if something is clearing your cache, or resetting it to an earlier state, hopefully it won't matter any more because site now uses this folder instead of whatever.
801: [10:21:01] <Pyzzik> pazuur: idk.
802: [10:21:05] <Pyzzik> maybe.
803: [10:21:19] <pazuur> Well see. Thanks again!
804: [10:21:19] <Pyzzik> don't forget to exclude silverstripe-cache from your version control
805: [10:21:35] <pazuur> ?
806: [10:22:05] <Pyzzik> .gitignore or whatever
807: [10:22:11] <Pyzzik> .hgignore
808: [10:22:17] <Pyzzik> svn exclude or whatever that uses
809: [10:22:41] <Pyzzik> bznope? idk. Just don't FTP it if it's really that dire.
810: [10:23:10] <pazuur> Oh okay.. got it. Ofcourse! Thanks
811: [10:23:26] <Pyzzik> NETim: so weird, so weird.
812: [10:23:35] <pazuur> So it is not being overwritten... :P
813: [10:23:41] <irogue_> pazuur: who is the shared host?
814: [10:23:47] <Pyzzik> curl localhost gives 301. Connect to same shit from main machine, serves content. IDK
815: [10:23:53] * CodeTrap1 has joined #silverstripe
816: [10:23:56] <Pyzzik> IDEK
817: [10:24:00] <Pyzzik> wut
818: [10:24:04] <Pyzzik> what what
819: [10:24:06] <pazuur> Hostnet
820: [10:24:07] <Pyzzik> IN THE ...
821: [10:24:39] * kinglozzer has joined #silverstripe
822: [10:24:51] <irogue_> pazuur: no idea then sorry
823: [10:25:10] * CodeTrap quit (Ping timeout: 255 seconds)
824: [10:25:11] <pazuur> I am familiar with the specs
825: [10:25:27] <irogue_> basically, though, something is messing with the manifest or doing some extra caching it shouldnt be doing
826: [10:25:44] <pazuur> But not when it comes about cache clearing
827: [10:26:23] * kinglozzer quit (Remote host closed the connection)
828: [10:26:33] <Pyzzik> sounds like your manifest was being reset nightly to an earlier image.
829: [10:26:38] <Pyzzik> perhaps the whole /tmp
830: [10:26:40] * Pyzzik shrugs
831: [10:27:45] <pazuur> That must have been, because it is allready the second time i need to dev/build and flush=all to get the site running :(
832: [10:28:08] <irogue_> pazuur: oversimplified version, the manifest is a file that stores a list of classes in your site and which file they're in. it's normally just put in the /tmp folder, but some shared hosts do weird things with that folder, so if silverstripe notices a silverstripe-cache folder exists it will use that instead
833: [10:29:21] <irogue_> when you build and flush it generates the manifest from the files on the disk. other than that silverstripe just looks at the manifest, so if the manifest is wrong it doesn't know where to find classes
834: [10:29:42] <pazuur> That sounds hopefully! Because i had quite a high position in google. After renewal those crawlers might kick me down
835: [10:29:45] <irogue_> it seems like at some point in the night your manifest is being reset to an older version, so that's probably something your host is doing for some reason
836: [10:30:17] <pazuur> I understand
837: [10:30:33] * travis-ci has joined #silverstripe
838: [10:30:33] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3047 (3.1 - e928960 : Simon Welsh): The build passed.
839: [10:30:33] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/d7d7cf0280bc...e92896016fe4
840: [10:30:33] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31895346
841: [10:30:33] * travis-ci has left #silverstripe
842: [10:30:36] <pazuur> Understood (sorry for my English)
843: [10:30:46] <firefox2kx> Why are the results not random when use $images = DataObject::get('PhotoGalleryImage',null,RAND());?
844: [10:30:48] * CodeTrap has joined #silverstripe
845: [10:31:52] * Shrike_Finland quit (Quit: Leaving.)
846: [10:32:11] <irogue_> firefox2kx: looks like you're trying to use mysql RAND() in which case it needs to be in quotes
847: [10:32:41] <irogue_> otherwise it's looking for a php RAND() method
848: [10:32:52] <Pyzzik> firefox2kx: are you using silverstripe version 2.4?
849: [10:32:55] * CodeTrap1 quit (Ping timeout: 272 seconds)
850: [10:33:51] <Pyzzik> if not, then never do that.
851: [10:35:17] <Pyzzik> PhotoGalleryImage::get()->sort('field', 'RAND()')
852: [10:35:27] <Pyzzik> you can't sort by nothign.
853: [10:35:47] <Pyzzik> ID is probably a good a field as any in this case.
854: [10:37:04] * pazuur quit (Ping timeout: 246 seconds)
855: [10:41:19] <NETim> Anyone know how to get 2 fields to appear next to each other in the CMS getEditForm?
856: [10:41:57] <adrexia> custom css
857: [10:42:29] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
858: [10:42:36] <firefox2kx> ok i'll try this one out
859: [10:42:52] * kinglozzer has joined #silverstripe
860: [10:46:13] <firefox2kx> < using most actual version of silverstripe
861: [10:46:43] <Pyzzik> the most actual eh?
862: [10:47:02] <firefox2kx> newest
863: [10:47:04] <Pyzzik> NETim: css.
864: [10:47:13] <NETim> thanks, thought it might by
865: [10:47:15] <Pyzzik> try FieldGroup or CompositeField.
866: [10:47:15] <NETim> be*
867: [10:47:27] <Pyzzik> but that'll change the whole look iirc
868: [10:47:42] <Pyzzik> use composite field (just makes an encapsulating div)
869: [10:48:04] <Pyzzik> fieldgroup may put side by side by default, but as I say, changes layout of fields themselves
870: [10:48:33] <NETim> I'm going to need to change the lengths anyway, it's for card expiry m/y
871: [10:48:52] <Pyzzik> datefield may already do that
872: [10:49:00] <Pyzzik> config option set dmy fields
873: [10:49:15] <Pyzzik> you might be able to configure to drop the d field.
874: [10:49:19] <Pyzzik> idk
875: [10:51:13] <zippy> easy question :)
876: [10:52:18] <zippy> whats the magic being magic function names. Like you see ; whereXXXX('foo') and whereYYYY('bar') where XXXX and YYY can be a column name in the database, I think it has somthing to do with __call or something
877: [10:53:10] * travis-ci has joined #silverstripe
878: [10:53:10] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3048 (3.1 - 54c93d4 : Simon Welsh): The build passed.
879: [10:53:10] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/e92896016fe4...54c93d432dd6
880: [10:53:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31895733
881: [10:53:10] * travis-ci has left #silverstripe
882: [10:54:07] <Pyzzik> zippy: dafuq are you talking about?
883: [10:55:01] <Pyzzik> I've never seen a whereWhatever('dafuq') before.
884: [10:56:20] * CodeTrap quit (Ping timeout: 240 seconds)
885: [10:56:53] * CodeTrap has joined #silverstripe
886: [10:57:41] <zippy> Pyzzik: for reals?
887: [10:57:51] <Pyzzik> yes so link or make sense.
888: [10:58:21] <Pyzzik> getProperty(), setProperty('value'), but never whereProperty('whatisthis')
889: [10:59:20] <Pyzzik> undefinedMethod() goes to __call which calls hasMethod, which checks extensions.
890: [10:59:21] <Pyzzik> that's it.
891: [10:59:37] <Pyzzik> if exists, then calls that, if not then nothing.
892: [11:00:31] <Pyzzik> ->notActuallyAProperty = blah calls __set which calls hasField which calls setThatProperty(), and similar for __get
893: [11:01:03] <Pyzzik> not all that complicated. Pretty much what the incoming JS proxy object does, but default on all objects.
894: [11:01:09] <Pyzzik> there's an __isset too.
895: [11:01:18] <Pyzzik> and a couple of others
896: [11:03:35] <Pyzzik> all pretty easy to see in the php manual :P
897: [11:04:52] <irogue_> http://www.police.govt.nz/news/updates/34042 <-- huh, heard this earlier on the amberlamps
898: [11:05:24] <ss23> wtf
899: [11:05:28] <ss23> why did they need to give it a cool name
900: [11:05:29] <ss23> :(
901: [11:05:31] <ss23> save that for cooler stuff
902: [11:06:05] <Pyzzik> ss23: comment on password bullshit in herals.
903: [11:06:09] <Pyzzik> nzherald.
904: [11:06:11] <irogue_> ambulance dispatched there for a code 4 (assault), once they got there they declared it Status 0 (dead). thats about all the info you get from the amberlamps
905: [11:06:11] <ss23> um
906: [11:06:13] <Pyzzik> do it
907: [11:06:15] <ss23> what about it, Pyzzik? :O
908: [11:06:23] <Pyzzik> irogue_: D:
909: [11:06:24] <ss23> I saw the article, but it looked generic enough to me
910: [11:06:35] <Pyzzik> it looked like a load of bollocks to me.
911: [11:06:47] <ss23> Which part?
912: [11:06:55] <Pyzzik> most of it
913: [11:06:57] <ss23> The story, "Russian hackers steal billions of creds" looked legit enough
914: [11:07:09] <ss23> The password policies "use 2fa, long passwords, don't reusue" were okay
915: [11:07:11] <Pyzzik> yeah, dunno why it's necessary to stipulate that they're Russian.
916: [11:07:16] <firefox2kx> Pyzzik: To my last question about the random sort - model/DataList.php does only allow asc and desc not rand()
917: [11:07:40] <Pyzzik> firefox2kx: ah sorry, it's 1 param 'ID RAND()'
918: [11:08:00] <Pyzzik> maybe
919: [11:08:23] <Pyzzik> ss23: banks are retarded though.
920: [11:08:34] <Pyzzik> they're all Password must be over 8 characters - well ok.
921: [11:08:42] <Pyzzik> Password must have letters and numbers - ok.
922: [11:08:44] <ss23> yeah man, passowrd policies make me rage
923: [11:08:45] <ss23> >.<
924: [11:08:52] <Pyzzik> Password cannot contain space - dafuq
925: [11:08:59] <ss23> "cannot contain special chars" or "less than 16" is rage
926: [11:09:02] <Pyzzik> Password cannot have !?#...
927: [11:09:06] <ss23> lol
928: [11:09:07] <Pyzzik> err...
929: [11:09:19] <Pyzzik> Password cannot be more than 14 chars... FFFFFFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
930: [11:09:34] <Pyzzik> yeah, basically
931: [11:09:54] <Pyzzik> while the tips in the article are generic bullshit spread around the interwebs for years.
932: [11:10:08] <Pyzzik> you're better off with all the things and a fucking memorable phrase.
933: [11:10:13] * caamic30 quit (Quit: caamic30)
934: [11:10:31] <Pyzzik> it baically gets hashed down to the same length anyway
935: [11:10:31] <firefox2kx> Pyzzik: No, that's not it xD
936: [11:10:33] <Pyzzik> or should
937: [11:10:45] <Pyzzik> firefox2kx: hmm, fuck, RAND is bad.
938: [11:10:57] <Pyzzik> well I guess I can let you off this once then...
939: [11:11:00] <Pyzzik> :P
940: [11:11:15] <firefox2kx> It creates: SELECT DISTINCT ID RAND() AS "_SORTCOLUMN0", "PHOTOGALLERYIMAGE"."CLASSNAME", "PHOTOGALLERYIMAGE"."CREATED", "PHOTOGALLERYIMAGE"."LASTEDITED", "PHOTOGALLERYIMAGE"."SORTORDER", "PHOTOGALLERYIMAGE"."TITLE", "PHOTOGALLERYIMAGE"."VIDEOURI", "PHOTOGALLERYIMAGE"."LINKURI", "PHOTOGALLERYIMAGE"."IMAGEID", "PHOTOGALLERYIMAGE"."PHOTOGALLERYPAGEID", "PHOTOGALLERYIMAGE"."ID", CASE WHEN "PHOTOGALLERYIMAGE"."CLA
941: [11:11:15] <firefox2kx> SSNAME" IS NOT NULL THEN "PHOTOGALLERYIMAGE"."CLASSNAME" ELSE 'PHOTOGALLERYIMAGE' END AS "RECORDCLASSNAME" FROM "PHOTOGALLERYIMAGE" ORDER BY "_SORTCOLUMN0" ASC
942: [11:11:20] <Pyzzik> DerpObject::get('Blah', null, 'ID RAND()')
943: [11:11:33] <firefox2kx> whoops. that was a long statement
944: [11:11:35] <Pyzzik> yeah, that fucking _sortcolumn0!
945: [11:11:41] <Pyzzik> where the fucking hell does that come from!?
946: [11:11:51] <Pyzzik> Just magically appears in one of my result sets too :<
947: [11:13:33] <firefox2kx> I think if it cannot solved this way - the better question could be: how to rearrange that awful result-object
948: [11:14:48] <Pyzzik> firefox2kx: I'm pretty sure you can sort by rand somehow, it's just been so long since I had any requirement for it so I haven't.
949: [11:14:59] <Pyzzik> remembered. RAND() is terrible anyway.
950: [11:15:16] <zippy> Pyzzik: can't find a SS example, I know laravel and cakephp do it...
951: [11:15:27] <Pyzzik> zippy: so can SS, or at least could.
952: [11:15:36] <Pyzzik> laravel is shit.
953: [11:15:39] <Pyzzik> so is cake.
954: [11:15:44] <Pyzzik> so I'm not surprised :P
955: [11:15:48] <firefox2kx> laravel works fine!
956: [11:16:02] <firefox2kx> you only have to know how ^^
957: [11:17:18] <zippy> im with your on the cake, not so much the laravel
958: [11:17:43] <zippy> everything has it's quirks
959: [11:18:37] * caamic30 has joined #silverstripe
960: [11:18:56] <kinglozzer> firefox2kx: Missed the entire conversation again, so this may be well off the mark, but: MyObject::get()->sort('RAND()');
961: [11:19:49] <firefox2kx> Pyzzik: perhaps I've had something wrong at other place before, but $images = DataObject::get("PhotoGalleryImage",false,"RAND()"); works. I could swear I've tried that one before...
962: [11:21:36] <firefox2kx> kinglozzer: Yours also works and looks better. thx
963: [11:21:53] <Pyzzik> firefox2kx: no it was because you make it php error before.
964: [11:22:24] <Pyzzik> [11:30] <firefox2kx> Why are the results not random when use $images = DataObject::get('PhotoGalleryImage',null,RAND());? [11:32] <irogue_> firefox2kx: looks like you're trying to use mysql RAND() in which case it needs to be in quotes [11:32] <irogue_> otherwise it's looking for a php RAND() method
965: [11:23:01] <Pyzzik> which didn't error because http://us1.php.net/rand
966: [11:23:33] <Pyzzik> so you were DataObject::get('Thing', null, 0.2436245)
967: [11:23:53] <Pyzzik> or something like that
968: [11:23:58] <Pyzzik> which makes no sense.
969: [11:25:41] * travis-ci has joined #silverstripe
970: [11:25:42] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3049 (master - a0a2aac : Simon Welsh): The build passed.
971: [11:25:42] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ca68f585ccfc...a0a2aac6df98
972: [11:25:42] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31898012
973: [11:25:42] * travis-ci has left #silverstripe
974: [11:25:53] <irogue_> https://pbs.twimg.com/media/Bubk7qTCYAAm61L.jpg
975: [11:25:54] <irogue_> bahahaha
976: [11:26:44] <firefox2kx> After that advice I've put it in brackets. anyway it's fine now. Frontend-technique for the site finished now. Let's come to the log-in with forum :-o
977: [11:29:57] <firefox2kx> how would you do a login that allows seeing and taking part in a forum. the users would be registered via backend by one of the admins so only the team-members can communicate with each other
978: [11:30:33] <kinglozzer> https://github.com/silverstripe/silverstripe-forum
979: [11:30:35] <kinglozzer> :P
980: [11:31:24] <firefox2kx> kinglozzer: right - that one I've installed
981: [11:33:41] <kinglozzer> I've never used it before, but I imagine you could remove the sign up form somehow and administer users in the CMS
982: [11:35:51] <firefox2kx> I've already manipulated the modules basic-galleries, blog and comments, removed them from composer.json and added them to my git. So I'll do the same with forum
983: [11:35:59] * travis-ci has joined #silverstripe
984: [11:35:59] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3050 (3.1 - b9d306b : Simon Welsh): The build passed.
985: [11:35:59] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/54c93d432dd6...b9d306b07d0d
986: [11:35:59] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31898488
987: [11:35:59] * travis-ci has left #silverstripe
988: [11:36:37] <firefox2kx> I think it uses cms-users. So when a user has no rights he cannot login into cms, right?
989: [11:37:19] <firefox2kx> yeah - not allowed - cool
990: [11:38:50] <firefox2kx> that would mean what I need would be a cms-log-in-mask in the main template that redirects to forum
991: [11:41:39] * zippy claps simon_w|air
992: [11:45:12] * simon_w|air quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
993: [11:45:23] * travis-ci has joined #silverstripe
994: [11:45:23] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3051 (3.1 - a0211b5 : Simon Welsh): The build passed.
995: [11:45:23] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/b9d306b07d0d...a0211b5f50c6
996: [11:45:23] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31898948
997: [11:45:23] * travis-ci has left #silverstripe
998: [11:50:01] * shellbackpacific has joined #silverstripe
999: [11:54:16] * Shrike_Finland has joined #silverstripe
1000: [11:54:44] <kinglozzer> http://googlewebmastercentral.blogspot.co.uk/2014/08/https-as-ranking-signal.html
1001: [11:54:50] * travis-ci has joined #silverstripe
1002: [11:54:51] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3052 (3.1 - b3994cd : Simon Welsh): The build passed.
1003: [11:54:51] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a0211b5f50c6...b3994cd4565a
1004: [11:54:51] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31899136
1005: [11:54:51] * travis-ci has left #silverstripe
1006: [11:55:06] <kinglozzer> Cue all clients suddenly insisting on HTTPS ^^
1007: [11:55:51] <zippy> cert providors be loving i
1008: [11:55:52] <zippy> it
1009: [11:57:14] <kinglozzer> Yeah!
1010: [11:59:55] <ss23> kinglozzer: saw that, A+
1011: [11:59:55] <ss23> But uh
1012: [12:00:14] <ss23> I think we should solve the way fucking more important issue of CAs being cunts, and the peopel who design standards being fucking NSA loving asdifnoasdflkn
1013: [12:00:17] <ss23> man
1014: [12:00:22] <ss23> makes me so mad that self signed certs are *less* secure than HTTP
1015: [12:02:07] <kinglozzer> Heh yeah
1016: [12:03:00] * kinglozzer lunch
1017: [12:03:05] * kinglozzer quit ()
1018: [12:03:37] <irogue_> mmm i should bed
1019: [12:06:09] <zippy> ditto
1020: [12:06:11] * irogue_ quit ()
1021: [12:07:11] * travis-ci has joined #silverstripe
1022: [12:07:11] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3053 (3.1 - 5283700 : Simon Welsh): The build passed.
1023: [12:07:11] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/b3994cd4565a...5283700ae06b
1024: [12:07:11] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31899533
1025: [12:07:11] * travis-ci has left #silverstripe
1026: [12:08:40] <Pyzzik> [13:00] <+ss23> makes me so mad that self signed certs are *less* secure than HTTP
1027: [12:08:41] <Pyzzik> eh?
1028: [12:08:53] <Pyzzik> less secure than no encryption.
1029: [12:08:56] * qlex1 has left #silverstripe
1030: [12:08:57] <Pyzzik> how does possible?
1031: [12:10:06] <zippy> percieved less, browser flag it as red, warning bells so people think it's less
1032: [12:10:42] <Pyzzik> oh right well yeah
1033: [12:10:51] <Pyzzik> because spoofing easy
1034: [12:10:52] <Pyzzik> or something
1035: [12:11:02] <Pyzzik> because phishing standard http isn't easy.
1036: [12:11:06] <Pyzzik> or something
1037: [12:13:52] * UndefinedOffset has joined #silverstripe
1038: [12:15:13] * travis-ci has joined #silverstripe
1039: [12:15:14] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3054 (3.1 - 9b8d07c : Simon Welsh): The build passed.
1040: [12:15:14] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/5283700ae06b...9b8d07ca5bfc
1041: [12:15:14] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31901069
1042: [12:15:14] * travis-ci has left #silverstripe
1043: [12:18:10] * opalfroot has joined #silverstripe
1044: [12:22:37] * opalfroot quit (Remote host closed the connection)
1045: [12:23:45] <ss23> Yeah
1046: [12:24:18] <ss23> Basically, some fucking how, and I would bet very good money the intel agencies had a hand in it, we've managed to get everyone to agere that "OMG SELF SIGNED" is worth warning about and HTTP isn't
1047: [12:24:19] <Pyzzik> but yes, I agree. CAs are cunts.
1048: [12:24:22] <ss23> It should be the fucking other way around
1049: [12:24:33] * CodeTrap quit (Ping timeout: 240 seconds)
1050: [12:25:04] <Pyzzik> like registering your IP?
1051: [12:25:30] <Pyzzik> with an... authenticated IP agency?
1052: [12:25:47] <Pyzzik> with some way to certify that... like a... certifying authority!
1053: [12:26:01] <ss23> lol
1054: [12:26:02] <Pyzzik> yes, this system will be much better.
1055: [12:26:18] <Pyzzik> we could have had it all.
1056: [12:30:13] * travis-ci has joined #silverstripe
1057: [12:30:13] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3055 (3.1 - 61395b5 : Simon Welsh): The build passed.
1058: [12:30:13] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/9b8d07ca5bfc...61395b5618e7
1059: [12:30:13] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31901479
1060: [12:30:13] * travis-ci has left #silverstripe
1061: [12:48:38] <zippy> oh yea, thats sexy...!
1062: [12:48:45] <zippy> got me some magic methods going on
1063: [12:49:01] * kinglozzer has joined #silverstripe
1064: [13:07:52] * muskie9 has joined #silverstripe
1065: [13:08:22] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1066: [13:08:52] * wilson has joined #silverstripe
1067: [13:08:53] <wilson> wilson
1068: [13:09:16] * wilson is now known as Guest5
1069: [13:12:40] <Guest5> Hi to all, I managed top have this link to work (http://www.acmq.qc.ca/Security/lostpassword). It send the emails properly. But the email link, once clicked returns home page. i have a Security_lostpassword.ss template in the /root, but its not picked up with www.mysite.com/Security/changepassword
1070: [13:16:57] <Pyzzik> perhaps you should move it out of the root user's home dir then.
1071: [13:17:49] <Guest5> sorry, the .ss file is the www.mysite.com/themes/mytheme
1072: [13:18:04] <Pyzzik> perhaps you should move it into the templates dir then.
1073: [13:21:36] <Guest5> It is in www.mysite.com/themes/mytheme/templates. But maybe i do not understand the procedure. I mean, i need a way for user to recover their password if they have lost it.
1074: [13:22:06] <Guest5> Not change it, changer it means that you ARE logged.
1075: [13:23:21] <Guest5> This works: http://www.acmq.qc.ca/Security/lostpassword it sends an email once to email address is filled.
1076: [13:23:44] <NETim> Any idea how to return a success message to a controller form in the CMS?
1077: [13:25:20] <kinglozzer> WILSOOOON
1078: [13:25:28] <kinglozzer> Sorry, just had to get that out of my system.
1079: [13:25:38] <ARNHOE> I wonder, am I the only one with this issue: https://github.com/silverstripe/silverstripe-framework/issues/3131
1080: [13:26:36] <NETim> anyone?
1081: [13:28:04] <Guest5> Then in the received mail, there is a link, that goes to http://www.acmq.qc.ca/Security/changepassword
1082: [13:28:44] <Guest5> http://www.acmq.qc.ca/Security/changepassword returns a page to MODIFY your password not RECOVER IT"
1083: [13:29:34] <Guest5> kinglozzer => i am still here.
1084: [13:29:58] <kinglozzer> I know :)
1085: [13:30:33] <kinglozzer> Guest5: Do you mean Security_changepassword.ss instead of Security_lostpassword.ss?
1086: [13:31:27] <Guest5> Go see that page: http://www.acmq.qc.ca/Security/lostpassword
1087: [13:31:30] <kinglozzer> OHHH. You don't want them to change their password, you want their password sent as plaintext?
1088: [13:32:37] <Guest5> Yup!
1089: [13:33:00] <kinglozzer> Guest5: You can’t. The password encryption is one way
1090: [13:33:50] <Guest5> So you mean i CANT have a page that send the password to members who've lost it? We see that many times?
1091: [13:34:22] <kinglozzer> Guest5: No. You send them a link where they can then set a new password. Sending plaintext passwords is a terrible idea, and also means your encryption is terrible
1092: [13:34:29] <Pyzzik> Guest5: no, they're supposed to reset it
1093: [13:34:38] <Pyzzik> to do ANYTHING else is 100% stupid.
1094: [13:34:50] <kinglozzer> They enter their email, click a link, enter a new password. Simple
1095: [13:35:05] <Pyzzik> by way of insecure - you'll end up on that list of hackers that have stolen data
1096: [13:35:11] <Pyzzik> along with all your users.
1097: [13:35:18] <Pyzzik> and they'll sue you for negligance.
1098: [13:35:25] <Pyzzik> and you'll be sad.
1099: [13:35:49] <Pyzzik> although having customers ring support asking for their password over the phone is almost an equally saddening death :<
1100: [13:36:05] <Pyzzik> "can I have my password" "no" "why not?" ... "really?"
1101: [13:36:31] <Guest5> OK oK..... go see the page http://www.acmq.qc.ca/Security/changepassword. How to reset a password when you are not logged in???? Should http://www.acmq.qc.ca/Security/changepassword retursn a form?
1102: [13:36:59] <Pyzzik> yes.
1103: [13:37:08] <Pyzzik> and it will, if you actaully step through the process properly.
1104: [13:37:17] * CodeTrap has joined #silverstripe
1105: [13:37:17] <Pyzzik> and don't override the template
1106: [13:37:30] <Pyzzik> or at least take care not to override the important bits (like the form)
1107: [13:37:41] <Guest5> Do i need a Security_changepassword.ss
1108: [13:37:53] <Pyzzik> No.
1109: [13:38:29] <Pyzzik> You can, if you really need to change something in the layout, but you don't _need_ it.
1110: [13:38:36] <Pyzzik> it should use your default Page template
1111: [13:39:39] <Guest5> So its not working. When i click on the link in the received mail, it brings me to the HomePage. And there is already a for for login. Go try this link: http://www.acmq.qc.ca/Security/changepassword?m=1&t=6f7b2addea572cf91fc44dded2d44d1a526dbccde72c9c0e3beab3a4d13be63a71f4e729fa81f1eb16747dbff82c51232d678cf564a2173691de259e501dcffa
1112: [13:40:10] <Pyzzik> Entrer un nouveau mot de passe s'il vous plaît. Nouveau mot de passe Confirmer nouveau mot de passe
1113: [13:40:23] <Pyzzik> looks fine to me.
1114: [13:40:32] <kinglozzer> Yeah, that looks good O.o
1115: [13:41:16] <Guest5> Uh,,,,,, why i dont see that???? Can you send a capture screen to farleydw@videotron.ca ?
1116: [13:41:17] <Pyzzik> your'e... you're not trying to reset a password while logged in as another user are you? Say like... Admin?
1117: [13:41:42] <kinglozzer> That'll be it ^^
1118: [13:41:51] <Pyzzik> log out first wilson
1119: [13:42:04] <Guest5> Uh,,,,,, why i dont see that???? Can you send a capture screen to farleydw@videotron.ca ?
1120: [13:42:10] <Pyzzik> no.
1121: [13:42:15] <Guest5> H.... F....
1122: [13:42:32] <Guest5> I mean, h.. f... i logged ou and it worked.....
1123: [13:42:43] <kinglozzer> Yep
1124: [13:43:26] <kinglozzer> Users who’ve lost their password won’t be logged in of course :)
1125: [13:43:30] <NETim> anyone know how to return a success message from a custom CMS form?
1126: [13:43:42] <Pyzzik> http://iforce.co.nz/i/yib2cvyd.guo.png
1127: [13:43:55] <Pyzzik> Guest5: wilson ^
1128: [13:43:57] * Shrike_Finland quit (Quit: Leaving.)
1129: [13:44:34] <Pyzzik> NETim: sure, but define 'success message' ?
1130: [13:45:18] <Guest5> OK guys, i will try to add a new member and then using lostpassword to manage such.
1131: [13:45:18] <NETim> Sorry, when the form has been submitted and successfully parsed, return a message to the CMS to say it's done. Like the standard green bar when saving a record
1132: [13:45:49] <Pyzzik> $form->setMessage() ?
1133: [13:46:09] <kinglozzer> Yep. $form->setMessage('FUCK YEAH', 'good');
1134: [13:46:13] <NETim> Considered that, but I can't get the form to return in the ajax response?
1135: [13:46:15] <kinglozzer> Is it good? or success?
1136: [13:46:22] <Pyzzik> NETim: no.
1137: [13:46:23] <NETim> I could be being thick though, that's a possibility
1138: [13:46:26] <Pyzzik> that's not how the cms works.
1139: [13:46:42] <NETim> Please enlighten me. CMS is not a strong point of mine
1140: [13:46:42] <Pyzzik> kinglozzer: good I think. it's definitely 'bad' for red.
1141: [13:46:52] <Pyzzik> NETim: well, when you submit a form, it returns the form.
1142: [13:46:58] <NETim> it is good for green, required for red (from what i have seen)
1143: [13:47:00] <Pyzzik> because all the data has changed, or whatever
1144: [13:47:21] <Pyzzik> there might be multiple words for it, I use 'bad' and it works.
1145: [13:47:24] <NETim> Ok, so on submit it should return the getEditForm bits then?
1146: [13:47:39] <kinglozzer> NETim: Is this a custom LeftAndMain or something?
1147: [13:47:45] <NETim> yep.
1148: [13:47:45] <Pyzzik> NETim: yes, it'll do what it does then return the same page as normal. ie. with the form and all.l
1149: [13:47:58] <kinglozzer> I've done that before, I just copied and pasted chunks from CMSSettingsController
1150: [13:47:59] <Pyzzik> or... probably should.
1151: [13:48:02] <NETim> Odd, that's exactly what it doesn't
1152: [13:48:25] <kinglozzer> NETim: Try copying getResponseNegotiator() from CMSSettingsController
1153: [13:48:31] <kinglozzer> MEBBE
1154: [13:48:44] <NETim> my form calls a custom function (doSubmit), what exactly are such functions meant to respond with?
1155: [13:48:55] * Shrike_Finland has joined #silverstripe
1156: [13:49:06] <kinglozzer> NETim: According to CMSSettingsController, return $this->getResponseNegotiator()->respond($this->request);
1157: [13:49:08] <kinglozzer> :P
1158: [13:49:56] <NETim> son of a whatever, thanks. that works. Now i can set a response message.
1159: [13:50:04] <Pyzzik> yup.
1160: [13:50:12] <Pyzzik> read, understand, copy, modify!
1161: [13:50:27] <Pyzzik> that's the legit business there.
1162: [13:50:31] <kinglozzer> copy, paste, don't understand, deploy
1163: [13:50:34] <kinglozzer> :D
1164: [13:50:48] <NETim> that second one sounds familiar...
1165: [13:51:05] <Pyzzik> haha
1166: [13:51:09] <NETim> read, hack, scratch head, deploy, panic
1167: [13:51:12] <Pyzzik> so like every wordderp user ever?
1168: [13:51:34] <Pyzzik> liberally apply plugins until it might maybe work.
1169: [13:52:33] <kinglozzer> Pyzzik: You should see this SS site I've inherited. I count 23 modules. None of which are composer. Half of them aren't even in use
1170: [13:52:38] <Pyzzik> get angry, give up, palm shit off on cheap developer expecting fast work because it's 99% done already.
1171: [13:52:40] <Pyzzik> WROOOOOOONG
1172: [13:52:51] <Pyzzik> kinglozzer: fuck composer, that's why.
1173: [13:52:51] <kinglozzer> But hey, one of them is mine so dev must be pretty cool guy
1174: [13:53:22] <Pyzzik> I mean, I get composer and all, but when you've got silverstripe installer... then suddenly all these other fucking composer things inside it and HOW THE FUCK WHAT A MESS
1175: [13:53:29] <Pyzzik> git repos aren't nestable :<
1176: [13:53:32] <kinglozzer> Mmm. I'm slowly moving them to composer one by one and watching what breaks
1177: [13:53:38] <Pyzzik> haha
1178: [13:53:46] <Pyzzik> another good thing is grep.
1179: [13:53:57] <kinglozzer> Pyzzik: I think the dev avoided composer because he modified a few of them
1180: [13:54:01] <Pyzzik> is this actually used? hmm lets see... grep ModulesMajorClassName
1181: [13:54:04] <kinglozzer> GREEEEAT
1182: [13:54:18] <Pyzzik> lol core hax, best job ever.
1183: [13:54:31] <kinglozzer> Like renaming .php extensions so that certain files wouldn't be included and cause errors
1184: [13:54:33] <Pyzzik> YOUR LOVE, IS LIKE BAAAAAD MEDICINE
1185: [13:54:39] <kinglozzer> file extensions*
1186: [13:54:52] <Pyzzik> kek
1187: [13:57:29] <kinglozzer> Oh, and the site is live, in dev mode. With display_errors. And SSViewer::flush_template_cache(); on _every_ request.
1188: [13:58:03] * g4b0_ has joined #silverstripe
1189: [13:58:22] <g4b0_> hi all
1190: [13:58:42] <NETim> Odd, the AJAX returns the new page, but it isn't being replaced in the browser? wut?
1191: [13:59:15] <g4b0_> which are the difference between silverstripe-staticpublishqueue and silverstripe-staticpublisher
1192: [13:59:16] <g4b0_> ?
1193: [14:02:00] <NETim> Kinglozzer, any idea why it isn't replacing the window content after an AJAX response?
1194: [14:02:11] * catcher has joined #silverstripe
1195: [14:02:31] * scpi has joined #silverstripe
1196: [14:02:51] * CodeTrap quit (Ping timeout: 246 seconds)
1197: [14:02:58] * caamic30 quit (Quit: caamic30)
1198: [14:03:00] <kinglozzer> NETim: The PjaxResponseNegotiator & JavaScript should handle that. Are you using a PjaxResponseNegotiator?
1199: [14:03:14] <NETim> I'm going to say no.
1200: [14:03:15] <muskie9> g4b0_ I think it's that staticpublishqueue runs the static file creation via crons while the static publisher runs more with a Save & Publish in the cms
1201: [14:04:37] <NETim> I've implemented the getResponseNegotiator() code that you suggested.
1202: [14:04:56] <Guest5> kinglozzer and pyzzik => it works. Now, hpw can i add a SPECIFIC email address that is used with the FROM: email?
1203: [14:04:57] <NETim> It returns the correct HTML in the AJAX response, it just doesn't apply it
1204: [14:06:25] <g4b0_> muskie9: that's right, but the codebase is different
1205: [14:06:55] * jcwacky quit (Quit: jcwacky)
1206: [14:07:04] <g4b0_> I played a bit with staticpublisher, but it's not really working
1207: [14:07:20] <kinglozzer> NETim: Is your form defined as a pjax fragment?
1208: [14:07:42] <g4b0_> some time ago staticPublishQueue had StaticPublisher as dependancy
1209: [14:07:44] <NETim> The form is defined with getEditForm()
1210: [14:07:51] <g4b0_> now it's a standalone module
1211: [14:08:14] <NETim> so... not sure. Have I said enough how new I am to this depth of CMS tweakery?
1212: [14:08:34] <Pyzzik> Guest5: config I think
1213: [14:08:50] <kinglozzer> NETim: Try adding $form->setResponseNegotiator($this->getResponseNegotiator()); to your getEditForm
1214: [14:09:01] <Pyzzik> send emails from
1215: [14:09:02] <Pyzzik> or something
1216: [14:09:41] <NETim> Kinglozzer, Uncaught Exception: Object->__call(): the method 'setresponsenegotiator' does not exist on 'Form'
1217: [14:10:04] <Guest5> Pyzzik => in mysite/_config.php i do have admin "mail' 'password' its not used by the procedure i am testing.
1218: [14:10:06] <Pyzzik> Guest5: http://doc.silverstripe.org/framework/en/topics/email#administrator-emails
1219: [14:10:10] <kinglozzer> Hmm, instead of new Form(), try new CMSForm()
1220: [14:10:35] <NETim> promising, no errors yet.
1221: [14:10:50] <kinglozzer> NETim: Oh, in your template, wrap your form in a div with data-pjax-fragment="Content CurrentForm"
1222: [14:10:52] <Pyzzik> and/or EditForm
1223: [14:12:29] <NETim> ah, there isn't a template. It's entirely controller generated.
1224: [14:12:42] <Guest5> Pyzzik => Email.admin_email ?
1225: [14:12:50] <Pyzzik> yes, config setting.
1226: [14:12:55] <Pyzzik> see the link for 'config setting'
1227: [14:15:55] <Pyzzik> Guest5: see line 1 & 2 only in the wee example http://doc.silverstripe.org/framework/en/topics/configuration#the-values
1228: [14:16:03] <Pyzzik> Class should be 'Email'
1229: [14:16:23] <Pyzzik> foo should be 'admin_email'
1230: [14:16:56] <Pyzzik> 'bar' should be 'emailYouWant@here.ca' or whatever
1231: [14:17:23] <Guest5> Pyzzik => this in _confing.php? Config::inst()->update('Email', 'send_all_emails_to', "developer@example.com");
1232: [14:18:24] <NETim> Kinglozzer, still the same issue. not being replaced.
1233: [14:18:28] <Pyzzik> Guest5: No.
1234: [14:18:29] <Guest5> I meant SENT ALL EMAIL FROM Config::inst()->update('Email', 'send_all_emails_from', "developer@example.com");
1235: [14:18:35] <Pyzzik> you're not listening, or reading, or any of the things.
1236: [14:18:44] <Pyzzik> [15:15] <Pyzzik> Guest5: see line 1 & 2 only in the wee example http://doc.silverstripe.org/framework/en/topics/configuration#the-values [15:16] <Pyzzik> Class should be 'Email' [15:16] <Pyzzik> foo should be 'admin_email' [15:16] <Pyzzik> 'bar' should be 'emailYouWant@here.ca' or whatever
1237: [14:19:01] <Pyzzik> mysite/_config/mysite.yml
1238: [14:20:03] <kinglozzer> NETim: Basically, the PjaxResponseNegotiator should send back content which the JavaScript will inject into a div that matches. So your PjaxResponseNegitiator you copied has 'CurrentForm' => $controller->renderWith.. etc, and the contents of that will be injected to a div with data-pjax-fragment="CurrentForm"
1239: [14:20:24] <kinglozzer> It's glorified find and replace :P
1240: [14:20:25] <Pyzzik> you could do it the way you said too, but Config::inst()->update('Email', 'admin_email', "whoever@example.com");
1241: [14:20:31] <kinglozzer> Well, sorta
1242: [14:21:39] <NETim> kinglozzer, makes sense, just trying $form->setAttribute with the pjax attr
1243: [14:22:36] <NETim> Woo. it works. Finally, 2 days later I've made a form.
1244: [14:23:00] <kinglozzer> :D
1245: [14:23:20] <Pyzzik> NETim: write a blog post
1246: [14:23:20] <NETim> Thanks.
1247: [14:23:22] <Pyzzik> give it to cam.
1248: [14:23:31] <Pyzzik> silverstripe.org/blog
1249: [14:23:52] <NETim> First, I'm going to have a strong drink, then another, then a few more. Then I think I might put a post together.
1250: [14:24:03] <kinglozzer> :P
1251: [14:24:07] * g4b0_ quit (Ping timeout: 255 seconds)
1252: [14:24:10] <Pyzzik> I'm going rowing in 30 mins, it's gonna be glorious.
1253: [14:24:15] <kinglozzer> I just had a Magnum ice cream with champagne, does that count?
1254: [14:24:26] <kinglozzer> (in the ice cream, not a random glass of champagne)
1255: [14:24:30] <NETim> Close enough. The van hasn't come round here yet.
1256: [14:24:31] <Pyzzik> kinglozzer: you mean the champagne flavour, or you ... yeah
1257: [14:24:46] <Pyzzik> NETim: the van?
1258: [14:25:13] <NETim> Ice cream van. British thing. I'm too lazy to walk 200 yards each way to go to the shop.
1259: [14:25:22] <Pyzzik> fuck no it's not a british thing.
1260: [14:25:38] <Guest5> This in mysite/_config.php Config::inst()->update('Email', 'admin_email', "whoever@example.com"); is not working. It not picking up the correct email FROM address. Even after a dev/build/?flush=all
1261: [14:25:54] <NETim> Pyzzik, what?! you've shattered my world view lol
1262: [14:26:00] <Pyzzik> you'd have to be pretty damn ignorant to think that other countries don't know the glory of the magnificent greensleeves tune as it puts down the street
1263: [14:26:04] <Pyzzik> NETim: not hard :P
1264: [14:26:24] <Pyzzik> https://www.google.co.uk/search?q=mr+whippy
1265: [14:26:42] <NETim> Sorry to damage your world view but greensleeves is no longer ubiquitous with english ice cream vans.
1266: [14:26:43] <Pyzzik> see results 2,3, FOUR
1267: [14:27:10] <Pyzzik> https://www.google.co.uk/search?q=frosty+boy
1268: [14:27:52] <Pyzzik> NETim: be blown away by 80's AMERICAN humour: https://www.google.co.uk/search?q=eddie+murphy+ice+cream
1269: [14:27:56] <Pyzzik> xD
1270: [14:28:42] <NETim> lol
1271: [14:33:38] <catcher> You can drop the "80's American", that's just humor.
1272: [14:33:46] <catcher> just look at the suit!!
1273: [14:36:02] <NETim> Anyone know the name of the image used when the SS CMS loads?
1274: [14:36:06] <NETim> the three dots.
1275: [14:37:07] * Shrike_Finland quit (Quit: Leaving.)
1276: [14:39:41] * ARNHOE_ has joined #silverstripe
1277: [14:41:52] * ARNHOE quit (Ping timeout: 245 seconds)
1278: [14:41:56] <Guest5> Pyzzik => please explain this | This address is used if the from field is empty. | Is this why its not picking up its value? Could the FROM field be populated elsewhere and override that line?
1279: [14:50:28] * g4b0_ has joined #silverstripe
1280: [14:53:23] <Pyzzik> Guest5: build
1281: [14:53:25] <Pyzzik> or flush
1282: [14:53:26] <Pyzzik> or both
1283: [14:53:32] <Pyzzik> (but not at the same time)
1284: [14:54:56] <Pyzzik> good luck
1285: [14:54:57] * Pyzzik quit ()
1286: [14:59:46] * Guest5 quit (Quit: Page closed)
1287: [15:00:01] <firefox2kx> Checking in controller if user is logged in.. ?
1288: [15:00:12] * abitran quit (Ping timeout: 245 seconds)
1289: [15:03:10] <firefox2kx> ok have it. how do I find out if the user is privileged to access cms?
1290: [15:08:33] * nedmas quit (Quit: nedmas)
1291: [15:09:05] <firefox2kx> I think a list of the perm_codes would be enough
1292: [15:09:11] * ARNHOE_ quit ()
1293: [15:10:24] * caamic30 has joined #silverstripe
1294: [15:12:03] <firefox2kx> found a function which spits out the permcodes ^^
1295: [15:13:07] * abitran has joined #silverstripe
1296: [15:13:34] <kinglozzer> �
1297: [15:13:34] <catcher> firefox2kx, http://api.silverstripe.org/3.1/class-Member.html#_inGroups
1298: [15:13:43] <kinglozzer> Can anyone see that character? ^^
1299: [15:13:53] <catcher> kinglozzer, yep, ?
1300: [15:13:54] <kinglozzer> Because it's ruining my life
1301: [15:13:55] <kinglozzer> :P
1302: [15:14:17] <kinglozzer> Using textextraction module and pdftotext. That character's in there. It'll write everything up to that character, then stop
1303: [15:14:39] <kinglozzer> So it'll write two words of the text content to the database only :(
1304: [15:14:48] <kinglozzer> Works locally, wondering if it's a MySQL driver thing
1305: [15:14:51] <catcher> firefox2kx, you can also check the results of http://api.silverstripe.org/3.1/class-Member.html#_currentUser
1306: [15:16:49] * Shrike_Finland has joined #silverstripe
1307: [15:19:21] * CodeTrap has joined #silverstripe
1308: [15:21:56] * CodeTrap1 has joined #silverstripe
1309: [15:23:42] * CodeTrap quit (Ping timeout: 246 seconds)
1310: [15:27:38] * abitran quit (Ping timeout: 260 seconds)
1311: [15:35:19] * jenniferaslan has joined #silverstripe
1312: [15:39:04] * Shrike_Finland quit (Quit: Leaving.)
1313: [15:39:50] * Shrike_Finland has joined #silverstripe
1314: [15:47:05] * Shrike_Finland quit (Quit: Leaving.)
1315: [15:57:48] * lerni_ quit ()
1316: [15:58:47] * Shrike_Finland has joined #silverstripe
1317: [16:00:58] * g4b0_ quit (Quit: Sto andando via)
1318: [16:04:33] * caamic30 quit (Quit: caamic30)
1319: [16:07:31] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1320: [16:11:51] * oddnoc has joined #silverstripe
1321: [16:12:42] * jenniferaslan has joined #silverstripe
1322: [16:17:02] * muskie9 quit (Read error: Connection reset by peer)
1323: [16:17:41] * muskie9 has joined #silverstripe
1324: [16:20:28] * CodeTrap has joined #silverstripe
1325: [16:22:01] * CodeTrap1 quit (Ping timeout: 255 seconds)
1326: [16:23:43] * abitran has joined #silverstripe
1327: [16:27:50] * kinglozzer quit ()
1328: [16:36:53] * stnvh quit ()
1329: [16:37:54] * NETim quit (Quit: Page closed)
1330: [16:44:31] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1331: [16:51:05] * jenniferaslan has joined #silverstripe
1332: [17:20:15] * Shrike_Finland quit (Quit: Leaving.)
1333: [17:23:44] * Shrike_Finland has joined #silverstripe
1334: [17:30:46] * Shrike_Finland quit (Quit: Leaving.)
1335: [17:42:32] * CodeTrap quit (Ping timeout: 244 seconds)
1336: [18:33:16] * Shrike_Finland has joined #silverstripe
1337: [18:33:21] * Shrike_Finland1 has joined #silverstripe
1338: [18:36:09] * joelpittet has joined #silverstripe
1339: [18:38:03] * Shrike_Finland quit (Ping timeout: 272 seconds)
1340: [19:10:04] * muskie9 quit (Read error: Connection reset by peer)
1341: [19:10:40] * muskie9 has joined #silverstripe
1342: [19:12:25] * muskie9 quit (Client Quit)
1343: [19:36:56] * Shrike_Finland1 quit (Quit: Leaving.)
1344: [19:41:37] * oddnoc_ has joined #silverstripe
1345: [19:41:54] * oddnoc quit (Ping timeout: 250 seconds)
1346: [19:41:54] * oddnoc_ is now known as oddnoc
1347: [19:48:50] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1348: [20:02:15] * markcl1 has joined #silverstripe
1349: [20:05:46] * markcl quit (Ping timeout: 260 seconds)
1350: [20:06:55] * Kingy[a] is now known as Kingy
1351: [20:08:19] <Kingy> friday!
1352: [20:09:00] * antmas has joined #silverstripe
1353: [20:09:07] <Kingy> morning antmas
1354: [20:09:08] * mobiusnz quit (Quit: Leaving.)
1355: [20:09:33] <Stomach> ANTMAS! good morning
1356: [20:11:18] <antmas> :O
1357: [20:11:25] <antmas> HAI GUIS
1358: [20:11:32] <antmas> Friday!
1359: [20:17:37] <Kingy> yip yip yip
1360: [20:19:14] <Kingy> supposed to be final day or sprint
1361: [20:19:24] <Kingy> is anything getting released this sprint.. nope
1362: [20:20:31] * markcl has joined #silverstripe
1363: [20:20:50] * gelignite has joined #silverstripe
1364: [20:22:31] <antmas> sprint?
1365: [20:24:27] * markcl1 quit (Ping timeout: 272 seconds)
1366: [20:24:47] * mobiusnz has joined #silverstripe
1367: [20:32:28] * UndefinedOffset quit (Quit: Leaving.)
1368: [20:33:46] <Kingy> antmas: "a sprint is a set period of time during which specific work has to be completed and made ready for review."
1369: [20:34:11] <antmas> ah right
1370: [20:34:13] <antmas> thought so
1371: [20:34:48] <Kingy> yeah, so I work in fortnightly sprints
1372: [20:35:04] <antmas> we don't do anything like that really
1373: [20:35:11] <antmas> kinda wish I did as I know lots of places do it
1374: [20:35:48] <Kingy> makes it easy as a developer, because everyone knows exactly what's happening
1375: [20:35:56] <Kingy> and everything in the sprint is agreed on etc
1376: [20:36:17] <Kingy> and again makes it easy for the project manager to plan ahead
1377: [20:36:32] <antmas> probably keeps scope creep down too
1378: [20:36:37] * markcl1 has joined #silverstripe
1379: [20:36:48] <antmas> we get bad scope creep here
1380: [20:39:33] * markcl quit (Ping timeout: 240 seconds)
1381: [20:41:53] * zippy has joined #silverstripe
1382: [20:42:38] * markcl has joined #silverstripe
1383: [20:45:04] <antmas> hooray backend stuff today :D
1384: [20:45:21] * markcl1 quit (Ping timeout: 272 seconds)
1385: [20:46:39] * nickmolhoek has joined #silverstripe
1386: [20:46:43] * Ryan-Toast has joined #silverstripe
1387: [20:50:06] <Kingy> antmas: it does a bit, but it's easy enough for stuff to just flow into the next sprint as well though
1388: [20:50:19] <antmas> yeah true
1389: [20:50:27] <antmas> we still use a pretty old school project method
1390: [20:52:20] <Kingy> do you have a big dev team though?
1391: [20:53:26] <zippy> hi
1392: [20:54:01] <Kingy> hey zippy without underscores
1393: [20:54:20] <zippy> mmhmm
1394: [20:54:29] <zippy> a week of no _ and feeling great
1395: [20:54:48] <zippy> feels lighter, not carrying those extra characters around
1396: [20:54:58] * zippy thinks of the bytes of data he has saved
1397: [20:55:06] <zippy> probably bits..
1398: [20:58:01] * antmas is now known as antmas__
1399: [20:58:17] <antmas__> IT FEELS WEIRD GUYS
1400: [20:58:22] * antmas__ is now known as antmas
1401: [20:58:51] <antmas> Kingy: nope, 2 devs :P
1402: [20:59:04] <antmas> the senior dude who mostly does backend and then me
1403: [20:59:06] <antmas> :P
1404: [20:59:51] * shellbackpacific quit (Quit: Leaving.)
1405: [20:59:54] <Kingy> yeah
1406: [21:00:01] <Kingy> i'm the only dev on this project
1407: [21:00:36] <Kingy> but NZX has probably ~30 devs I guess, so we all sort of use scrum
1408: [21:03:21] <Kingy> in a for loop can you do something like.. for ($i = 0; $i < 5 OR IF ARRAY IS LESS THAN 5 ALREADY; $i++)
1409: [21:04:27] <Kingy> or do I need to do like a count($array) .. if > 5 .. $loop = 5 else $loop = count($array)
1410: [21:05:38] <antmas> oh god
1411: [21:05:49] <antmas> just opened up a project and it's VB
1412: [21:05:55] <antmas> I HAVE MADE A HUGE MISTAKE
1413: [21:06:26] <Kingy> LOL
1414: [21:06:35] <scpi> Speaking of huge mistake... has anybody run into pages displaying the wrong content?
1415: [21:06:45] <Kingy> scpi: flushed?
1416: [21:06:49] <scpi> yep
1417: [21:07:02] <Kingy> hmm, what are you trying to do?
1418: [21:07:25] <scpi> I'm just trying to browse the website and see the page I'm looking for :)
1419: [21:07:27] <scpi> new site
1420: [21:07:43] <scpi> just went live today.
1421: [21:07:47] <scpi> suddenly, errors.
1422: [21:09:15] <scpi> I had some partial caching in place, which I thought I might have messed up somehow, so I removed it all
1423: [21:09:19] <scpi> no dice
1424: [21:09:49] <Kingy> and it's working locally/on a test site?
1425: [21:10:22] <Kingy> tried an igconito tab?
1426: [21:10:24] <scpi> yep
1427: [21:10:58] <scpi> I'll try an incognito tab...
1428: [21:11:09] <scpi> been testing this for weeks without a problem
1429: [21:12:40] * antmas prods Ryan-Toast
1430: [21:12:43] <oddnoc> scpi: If you’ve changed the PHP code on the server, and it’s running zend opcache rather than APC, you need to restart your PHP interpreter (apache, php-fpm), because opcache’s keys are just the script pathnames, so it won’t notice changes.
1431: [21:12:46] <Ryan-Toast> hmm?
1432: [21:13:06] <zippy> Kingy: you can do you for as normal, and at the end just do if(count($array) < 5 break;
1433: [21:13:12] <zippy> but I maybe wouldn't do a for
1434: [21:13:25] * catcher quit (Quit: Leaving)
1435: [21:13:35] <antmas> Ryan-Toast: I PMd thou
1436: [21:13:36] <scpi> so, killall php54.cgi?
1437: [21:13:43] <Ryan-Toast> antmas: that’s weird.
1438: [21:13:48] <Ryan-Toast> never seen that error before
1439: [21:13:59] <antmas> Ryan-Toast: I'm wondering if it might be perms?
1440: [21:14:06] <Kingy> zippy: what would you do?
1441: [21:14:13] <zippy> Kingy: what are you trying to do
1442: [21:14:32] <scpi> come to think of it, I don't think I've changed the php code anyway
1443: [21:14:39] <Kingy> pulling in an RSS feed and looping over the items
1444: [21:14:42] <antmas> Ryan-Toast: it seems to occur a bit with uploading images, but only shows that error message when inserting via page builder
1445: [21:14:48] <Kingy> and displaying the 5 latest
1446: [21:15:06] <Ryan-Toast> antmas: is it local?
1447: [21:15:11] <Kingy> but in some cases there aren't 5 items
1448: [21:15:19] <zippy> it's in an array right?
1449: [21:15:29] <oddnoc> scpi: depends on your distro. I’d expect something like sudo service php-fpm restart
1450: [21:15:33] <Kingy> zippy: yes
1451: [21:15:47] <antmas> Ryan-Toast: it's on a dev server so kinda
1452: [21:15:51] <zippy> Kingy: http://nz1.php.net/array_slice - $top5 = array_slice($posts, 5);
1453: [21:15:57] <Ryan-Toast> Look at your logs
1454: [21:16:01] <antmas> Ryan-Toast: but not my machine now
1455: [21:16:03] <antmas> no*
1456: [21:16:06] <Kingy> ohh very nice, cheers zippy
1457: [21:16:13] <Ryan-Toast> Pagebuilder just uses default silverstripe stuff
1458: [21:16:14] <antmas> Ryan-Toast: yeah I'll take a looksee
1459: [21:16:21] <zippy> Kingy: , i mean, array_slice($posts, 0, 5);
1460: [21:17:15] <Ryan-Toast> antmas: new UploadField('BackgroundImage', _t('PageItem.BackgroundImageLabel', 'Background Image'))
1461: [21:17:25] <antmas> Ryan-Toast: hah, in FF it simply says 'Forbidden', so must be perms
1462: [21:17:34] <Ryan-Toast> yeah, I think that’s your issue
1463: [21:17:39] <antmas> must be
1464: [21:17:55] <Ryan-Toast> Fucking hosting stuff, amirite?
1465: [21:18:06] <antmas> XD
1466: [21:18:37] <Ryan-Toast> Spent ages making cool concepts for a client, but all they want is a slider and three boxes.
1467: [21:18:39] <Ryan-Toast> ssiiiiigh
1468: [21:18:53] <Ryan-Toast> way to blend in with your shitty competitors
1469: [21:19:06] <antmas> Ryan-Toast: yup, exact thing I'm doing for this site :(
1470: [21:19:26] <antmas> all this basic shit
1471: [21:19:33] <antmas> and then SILENTONE INTEGRATIOn
1472: [21:19:37] <antmas> ;____________________________________________________;
1473: [21:22:43] <scpi> turned off all partial caching, flushed, restarted PHP and it seems to be ok
1474: [21:22:49] <scpi> but now it's slow as balls.
1475: [21:23:09] * micmania1 has joined #silverstripe
1476: [21:23:10] <scpi> yay, at least it's not broken
1477: [21:23:12] <zippy> turn on partial caching bit by bit, see if you can find the failure
1478: [21:23:27] <scpi> yep, now begins the fun part
1479: [21:24:20] <scpi> what's bugging me is figuring out what went wrong today that was fine the past couple weeks
1480: [21:24:36] <antmas> welcome to silverstripe
1481: [21:26:09] * travis-ci has joined #silverstripe
1482: [21:26:09] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#992 (3.1 - 87146ea : Damian Mooyman): The build is still failing.
1483: [21:26:09] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/0884151f6a31...87146eac92ec
1484: [21:26:09] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/31954392
1485: [21:26:09] * travis-ci has left #silverstripe
1486: [21:26:35] <Olliepop> Morning guys, i'm creating new DataObjects by calling ->write() and they're writing to SiteTree_Live, how do I get them to write directly to SiteTree?
1487: [21:27:16] <scpi> antmas: oh good, it's not just me then
1488: [21:28:16] <Olliepop> ah think ive got it
1489: [21:28:19] <Olliepop> ->publish('Stage', 'Live');
1490: [21:38:49] <zippy> dang getting a tow bar is quite expensive eh
1491: [21:41:13] * antmas_ has joined #silverstripe
1492: [21:43:28] <zippy> antmas: you guys got your own address space? inetnum: 202.50.104.0 - 202.50.107.255
1493: [21:43:28] * antmas quit (Ping timeout: 246 seconds)
1494: [21:43:33] <zippy> netname: TASDIST-NZ
1495: [21:43:36] <zippy> greedy buggers
1496: [21:44:19] <antmas_> zippy: :D
1497: [21:44:22] <antmas_> don't be jelly
1498: [21:44:27] * antmas_ is now known as antmas
1499: [21:59:44] * kmayo has joined #silverstripe
1500: [22:02:57] <Kingy> so looking forward to the weekend
1501: [22:05:32] <antmas> yeah me too
1502: [22:05:37] <antmas> been a long week
1503: [22:13:16] * gelignite quit (Quit: http://bit.ly/nkczDT)
1504: [22:17:42] <Ryan-Toast> Snowboarding this weekend, yay
1505: [22:18:24] * zippy has never been skiiing or snowboarding
1506: [22:19:12] <Ryan-Toast> Weather doesn’t look too good though :(
1507: [22:20:35] <antmas> zippy: never?
1508: [22:20:40] <zippy> ever
1509: [22:20:43] <antmas> zippy: NEVER EVER?
1510: [22:20:50] <zippy> never ever ever
1511: [22:21:02] <antmas> been snowboarding loads
1512: [22:21:11] <antmas> still suck at it :(
1513: [22:22:17] <Kingy> ok need some help with logic. I'm needing to call a json file every day and load the latest record into the db. Do you reckon I just do an initial load of all the data, and then do a daily job to just load the latest record. Or should I loop over the data every day and just ignore duplicates?
1514: [22:23:00] <zippy> loop over every day
1515: [22:23:18] <zippy> that way, if something goes tits up you can just run it again no worries
1516: [22:24:58] <zippy> also means you could have the cron run say, twice a day that way if the service failed one of the times, or the server was down it's no problem
1517: [22:25:25] <Kingy> ok and is there a better way than just doing if (!Blah::get()->filter('whatevs', 'dsfsdf')->First()) { write that shit }?
1518: [22:26:29] <zippy> mmm no probably fine, just make sure to index the column
1519: [22:27:38] <antmas> Katie
1520: [22:27:39] <antmas> pls
1521: [22:27:41] <antmas> ;__;
1522: [22:27:46] <Kingy> yeah true. Not a big deal as there are only like 20 records at this point
1523: [22:27:56] <Kingy> antmas: more survey?
1524: [22:28:22] <antmas> Kingy: lol yeah a reminder to take the survery from the other day
1525: [22:29:07] <zippy> tick yes all things
1526: [22:29:36] <zippy> or alternate, yes no yes no yes no, or if multi choice, a b c d a b c d a b c d - see if they notice
1527: [22:30:22] <antmas> XD
1528: [22:31:14] <Kingy> what's it about?
1529: [22:31:23] <Kingy> do you get to bag on ss23 a bunch?
1530: [22:31:29] <antmas> just a customer server
1531: [22:32:53] <zippy> antmas: make sure to metion you think the docs are lacking.....
1532: [22:33:03] <Kingy> haha zippy good call
1533: [22:34:47] <antmas> zippy: yes this is important
1534: [22:36:58] <zippy> man, I got George Agdgdgwngo - 'totally innocent' stuck in my head
1535: [22:40:16] <antmas> zippy: who wat?
1536: [22:40:28] <zippy> George Agdgdgwngo
1537: [22:40:31] <zippy> never heard of him?
1538: [22:40:41] <antmas> maybe
1539: [22:40:43] <antmas> lemme look
1540: [22:41:07] <zippy> antmas: https://www.youtube.com/watch?v=LA3zhzT1wDo
1541: [22:41:09] <Ryan-Toast> zippy: I have gold dust stuck in mine: https://www.youtube.com/watch?v=duZlM0-zHf8&list=PL016DF490B141ECBD&index=3
1542: [22:41:42] <antmas> zippy: oh lol
1543: [22:41:43] <antmas> yes
1544: [22:42:11] <antmas> Ryan-Toast: nice, another earworm :O
1545: [22:43:06] <antmas> mine for the last week https://www.youtube.com/watch?v=Er5F7ozWBHw
1546: [22:43:24] <Ryan-Toast> <3 bassnecter
1547: [22:43:28] <Ryan-Toast> tar**
1548: [22:43:44] <antmas> not the biggest fan, but I like that track
1549: [22:50:13] * willr has joined #silverstripe
1550: [22:51:43] * zippy (~zippy@silverstripe/core/zippy) joined the channel.
1551: [22:51:58] * markcl quit (Read error: Connection reset by peer)
1552: [22:52:19] * markcl has joined #silverstripe
1553: [22:59:51] <Kingy> lol
1554: [23:01:50] * irogue_ has joined #silverstripe
1555: [23:14:59] * simon_w|work has joined #silverstripe
1556: [23:22:13] * nickmolhoek quit (Quit: nickmolhoek)
1557: [23:29:18] * Colin[pi] has joined #silverstripe
1558: [23:32:34] <Colin[pi]> moin moin
1559: [23:33:03] <simon_w|work> Was only -2 waiting for my second bus
1560: [23:33:10] <simon_w|work> A little disappointing
1561: [23:33:34] <Colin[pi]> simon_w|work: I saw a guy driving a convertible at 6:45am
1562: [23:33:39] <Colin[pi]> true canberrian
1563: [23:36:58] <antmas> http://sploid.gizmodo.com/these-us-navy-warships-are-really-starting-to-look-like-1617789052/all
1564: [23:40:09] <Colin[pi]> antmas: made by an Australian company!
1565: [23:45:17] <antmas> Colin[pi]: :)
1566: [23:46:05] <antmas> anyone know of a decent free stock video site?
1567: [23:46:32] <Colin[pi]> anyone know of a decent free stock *anything* site? ;P
1568: [23:46:50] <antmas> true
1569: [23:46:52] <Colin[pi]> http://sxc.hu/ is ok for photos, but I don't think they have videos
1570: [23:46:53] <antmas> :P
1571: [23:47:58] * zippy quit (Ping timeout: 255 seconds)

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