#silverstripe IRC Log

IRC log for 28 January 2016

All timestamps are in UTC.

1: [00:06:48] * scott1702 quit (Quit: This computer has gone to sleep)
2: [00:07:53] <zippy> ss23: google maps it?
3: [00:09:33] <DanaeNZ> zippy: i thought this was google
4: [00:09:48] <zippy> ;-) and stackoverflow in 1
5: [00:21:24] * harry1 quit (Ping timeout: 252 seconds)
6: [00:23:59] * Phlunk3 quit (Remote host closed the connection)
7: [00:25:00] * Stomach has joined #silverstripe
8: [00:26:37] <zippy> Stomach: it's my fault it's raining
9: [00:26:46] <Stomach> you're a bad person
10: [00:26:50] <zippy> the cricket gods know I have too much work on, so they are raining out the game so I have to work
11: [00:27:02] <zippy> well screw them, im going to play games, pew pew
12: [00:31:27] <DanaeNZ> if you're gonna use RDS, do you need to install MySQL on the web server?
13: [00:31:39] <DanaeNZ> i'm guessing yes
14: [00:31:50] <zippy> you'd just need the client
15: [00:32:00] <DanaeNZ> ahhh
16: [00:32:02] <zippy> mysql-5-1-client or whatever it is
17: [00:32:32] <zippy> which I think you'll get if you apt-get install php7-mysql
18: [00:32:41] <zippy> ah thats right, no PHP7 for SS for another 10 months
19: [00:32:47] <DanaeNZ> centOS it
20: [00:32:56] <DanaeNZ> that wasn't a sentence
21: [00:32:57] <DanaeNZ> fuck
22: [00:32:59] <zippy> yum install some-old-packages
23: [00:33:02] <DanaeNZ> yeah
24: [00:33:06] <zippy> you'd be php4 then?
25: [00:33:17] <DanaeNZ> hope you're making a funny
26: [00:34:00] <DanaeNZ> oh ewugh what mariaDB
27: [00:34:09] <DanaeNZ> how did that get in there
28: [00:34:10] * zippy that feel after you just solve a puzzling bug thats taken hours
29: [00:34:18] * Audlex quit (Read error: Connection reset by peer)
30: [00:34:25] * Colin[pi] has joined #silverstripe
31: [00:34:45] <DanaeNZ> MariaDB is fine to just sit in there right?
32: [00:34:56] * Audlex has joined #silverstripe
33: [00:35:02] <DanaeNZ> why do I feel like I'm dirtying my hands installing CentOS instead of Ubuntu
34: [00:35:25] <DanaeNZ> why doesn't -v work but --version does
35: [00:35:29] <DanaeNZ> oh whatever I've given up
36: [00:35:34] * G-Factor has joined #silverstripe
37: [00:36:14] <DanaeNZ> sneaky little shit trying to use PHP 5.4
38: [00:36:20] <DanaeNZ> no you don't you cheeky cunt
39: [00:37:02] <DanaeNZ> god this is retarded
40: [00:37:21] <DanaeNZ> specify a mirror cos they only have the 5.4 available
41: [00:37:26] <DanaeNZ> grumble grumble
42: [00:37:51] <zippy> DanaeNZ: the latest CentOS has 5.4
43: [00:38:08] <DanaeNZ> that is the problem
44: [00:38:46] * DanaeNZ lies on the ground
45: [00:39:04] * zippy is listening to the soothing voice of Allan Watts
46: [00:40:14] * Viper7 is now known as Viper-7
47: [00:42:26] * Colin[pi] quit (Ping timeout: 240 seconds)
48: [00:47:46] * G-Factor quit (Ping timeout: 240 seconds)
49: [00:48:11] <DanaeNZ> fuck this I want to go back to ubuntu
50: [00:48:33] <DanaeNZ> i'm confident in my VPC/subnet structure, security groups, and route tables
51: [00:48:47] <DanaeNZ> I'm sure it's fine
52: [00:49:13] <zippy> https://github.com/ - doh
53: [00:49:20] <zippy> no composer update/install for you
54: [00:50:21] <DanaeNZ> woah holy shit it's down
55: [00:51:03] * scott1702 has joined #silverstripe
56: [00:53:01] <zippy> https://status.github.com/ - shes poked alright
57: [00:54:27] <ss23> lol
58: [00:54:38] <ss23> Putting the centralised back in decentralised revision control
59: [00:54:48] <DanaeNZ> hahah classic git
60: [00:56:09] * Pyromanik has joined #silverstripe
61: [00:56:23] <Pyromanik> sup.
62: [00:56:31] <Pyromanik> Any sexy bitches in here know the COBOLs?
63: [00:56:47] <Pyromanik> not new job going
64: [00:56:50] <Pyromanik> at the BNZ
65: [00:57:19] <Pyromanik> Banking industry; antequated systems really count!
66: [00:58:54] <ss23> lol
67: [00:59:50] <DanaeNZ> fucking fucking fucker this AMI doesn't even let me set root pass so now I have no idea what it is
68: [00:59:59] <DanaeNZ> official AMI bs
69: [01:00:04] <DanaeNZ> fuck this fucking thing
70: [01:00:08] <DanaeNZ> motherfucker
71: [01:01:51] <zippy> Pyromanik: sup
72: [01:13:44] <DanaeNZ> holy shit i thought it was the start of the week
73: [01:13:51] <DanaeNZ> where did this thursday come from
74: [01:16:57] * Stomach quit (Quit: zzz)
75: [01:17:29] <Pyromanik> hi
76: [01:19:28] <zippy> hi
77: [01:19:32] <zippy> hows nz treating you
78: [01:29:29] <Pyromanik> areet thus far.
79: [01:29:38] <Pyromanik> fucking winderps on the other hand...
80: [01:29:51] <Pyromanik> >7=lolnope.
81: [01:30:03] <Pyromanik> so I'm stuck at 7. Can't install drivers because need patch.
82: [01:30:12] <Pyromanik> got to do patch.
83: [01:30:24] <Pyromanik> windows update installs a shitload of things
84: [01:30:32] <Pyromanik> then fucks itself. Can't do any more updates.
85: [01:30:44] <Pyromanik> manage to find no less than FIVE fixes MS have released for this issue.
86: [01:30:52] <Pyromanik> do them ALL.
87: [01:31:09] <DanaeNZ> i thought i was having a bad time
88: [01:31:22] <Pyromanik> still doesn't work, but at least now I'm able to manually install (couldn't before)
89: [01:31:33] <Pyromanik> manage to download update and install it locally.
90: [01:32:02] <Pyromanik> everything fucked. Windows update not working. G15 does though. Fucks given: 0.3.
91: [01:32:39] * Stomach has joined #silverstripe
92: [01:32:43] <zippy> christ one of those days eh
93: [01:32:53] <zippy> and then you tell you boss you've sent all day just to install an update
94: [01:33:05] <DanaeNZ> it's days like this that we need to invent new swearwords
95: [01:33:10] <zippy> Stomach: I rekcon it's going to clear a bit
96: [01:33:36] <Stomach> it had better! *shakes fist^
97: [01:34:15] <DanaeNZ> i went back to ubuntu
98: [01:34:18] <DanaeNZ> regret nothing
99: [01:34:35] <DanaeNZ> server running happily
100: [01:34:58] <DanaeNZ> now for silverstripe and an image and it can get fucked
101: [01:35:30] <zippy> DanaeNZ: you could always go half wai and use Debian
102: [01:37:54] <DanaeNZ> might try it out for the next one
103: [01:38:10] <DanaeNZ> running low on time for this project and need something I'm familiar with for the mo
104: [01:38:26] <DanaeNZ> shouldn't have even touched CentOS lol
105: [01:40:01] <zippy> DanaeNZ: if we just did the same things over and over and over again, how bored would we be
106: [01:40:31] <DanaeNZ> pretty bored man
107: [01:40:40] <DanaeNZ> gotta throw some excitement in
108: [01:40:45] <DanaeNZ> how sad is that haha
109: [01:41:02] <DanaeNZ> "OoOOOoOoO gonna try a new OS this time round RISSKAAYYY"
110: [01:41:07] <zippy> living on the edge dude
111: [01:41:18] <DanaeNZ> true doe
112: [01:41:37] <zippy> hi vis on, who knows what could happen!
113: [01:41:50] <DanaeNZ> use protection, gotta be safe
114: [01:41:57] <DanaeNZ> this convo took a weird turn
115: [01:42:09] <DanaeNZ> i blame my lack of food
116: [01:43:00] <zippy> I feel like some coke
117: [01:43:05] <zippy> and i cbf working
118: [01:43:10] <DanaeNZ> the crack kind?
119: [01:43:35] <zippy> gota try new things
120: [01:44:28] <DanaeNZ> new OS's, hard drugs
121: [01:44:36] <zippy> SS life
122: [01:44:50] <zippy> its rough out there..
123: [01:45:06] <DanaeNZ> aaaand i finished my tea
124: [01:45:10] <DanaeNZ> this day man
125: [01:54:15] <spronk> Pyromanik lolwindowsupdates
126: [01:54:22] <spronk> software updates are the fucking bane of my existance
127: [01:54:27] * vanny quit (Quit: Page closed)
128: [01:54:27] <Pyromanik> spronk, lolmacosupdates
129: [01:54:37] <spronk> part of me wants to totally airgap my dev machine so i don't have to fucking deal with them
130: [01:55:22] <DanaeNZ> is it home time yet
131: [01:55:23] <DanaeNZ> damn
132: [01:55:39] <Pyromanik> DanaeNZ, what did you attempt to use for server?
133: [01:55:55] <Pyromanik> oh CENTOS
134: [01:55:57] <Pyromanik> lulz
135: [01:55:59] <Pyromanik> gw
136: [01:56:11] <DanaeNZ> Pyromanik: CentOS because my senior made a face about Ubuntu
137: [01:56:20] <Pyromanik> well they were right to.
138: [01:56:46] <Pyromanik> Canonical are mostly cunts. But in the end, it's debian with more up to date packages that are still full support.
139: [01:57:12] <Pyromanik> Everyone knows if you really want to run a server you choose FreeBSD.
140: [01:57:12] <spronk> the fuck
141: [01:57:23] <Pyromanik> But then you gotta deal with that whole different kettle of fish.
142: [01:57:27] <spronk> ubuntu is fine
143: [01:57:29] <Pyromanik> err, OpenBSD*
144: [01:57:31] <Pyromanik> whatever
145: [01:57:33] <Pyromanik> idk
146: [01:57:36] <Pyromanik> something like that
147: [01:57:37] <spronk> fucking people that hate on distros
148: [01:57:37] <DanaeNZ> sarcasm doesn't translate well over irc
149: [01:57:50] <DanaeNZ> I can never tell if anyone is being serious lol
150: [01:57:57] <Pyromanik> Your mum was serious.
151: [01:58:02] <spronk> BOM
152: [01:58:03] <spronk> FUCK
153: [01:58:05] <spronk> FORGOT AN o
154: [01:58:07] <DanaeNZ> I was serious with your mum
155: [01:58:11] <spronk> BOOOOMO
156: [01:58:13] <spronk> FUCK
157: [01:58:15] <spronk> ADDED AN O
158: [01:58:19] <DanaeNZ> but she wanted more commitment than I could handle
159: [01:58:23] <DanaeNZ> sorry
160: [01:58:31] <Pyromanik> so you were seriously not serious?
161: [01:58:31] <zippy> Alright, times up, let's do this! LEEROOOOOOY JENKIINNSSS
162: [01:58:37] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
163: [01:58:43] <Pyromanik> gg zippy
164: [01:58:43] <DanaeNZ> woh
165: [01:58:46] <DanaeNZ> nice
166: [01:59:38] <vitaly> care for adds he pulled
167: [01:59:53] <Pyromanik> wut
168: [01:59:59] <DanaeNZ> i agree
169: [02:00:00] <DanaeNZ> wut
170: [02:00:24] <DanaeNZ> why can't i find all these php modules
171: [02:00:48] <vitaly> sorry, playing WoW too much
172: [02:01:36] <Pyromanik> fuck
173: [02:01:41] <Pyromanik> need to job
174: [02:01:50] <Pyromanik> divvin wanna frontend shit.
175: [02:01:53] <Pyromanik> all that's available -.-
176: [02:03:15] * Viper-7 quit (Ping timeout: 260 seconds)
177: [02:07:27] <spronk> .. what?
178: [02:07:30] <spronk> "divvin wanna" ?
179: [02:08:16] <spronk> you don't want to chch do you pyro
180: [02:08:38] <Pyromanik> I live in WLG. Can CHC for expenses paid tho.
181: [02:08:58] <spronk> hmm
182: [02:09:09] <spronk> ^^ so.. you want front end? or don't?
183: [02:09:09] <Pyromanik> I have 2 options open to me.
184: [02:09:16] <Pyromanik> 1) Job. Probably shit.
185: [02:09:27] <Pyromanik> 2) Start company, roll like a boss.
186: [02:09:43] <Pyromanik> one is easy, but probably mindless html & css.
187: [02:09:58] <Pyromanik> the other is hard, but COULD be rewarding, if I can find stable income of work.
188: [02:10:05] <Pyromanik> inflow*
189: [02:10:08] <spronk> did you talk to DNA?
190: [02:10:13] <Pyromanik> not yet
191: [02:10:20] <spronk> http://dna.co.nz/who-we-are/were-hiring/senior-developer/
192: [02:10:21] <Pyromanik> lost that contact
193: [02:10:24] <spronk> talk to john
194: [02:10:44] <Pyromanik> "Full stack"
195: [02:10:45] <Pyromanik> NOPE
196: [02:10:49] <Pyromanik> fucking... that word.
197: [02:10:55] <Pyromanik> err, words.
198: [02:10:57] <Pyromanik> phrase
199: [02:10:58] <Pyromanik> turn
200: [02:11:00] <Pyromanik> expression
201: [02:11:01] <Pyromanik> whatever
202: [02:11:02] <spronk> don't be hating bro
203: [02:11:09] <DanaeNZ> reminds me of pancakes
204: [02:11:12] * Pyromanik is hatin on full stack devops
205: [02:11:28] <DanaeNZ> i want pancakes
206: [02:11:44] <Pyromanik> doesn't willr work at DNA?
207: [02:11:52] <spronk> unless he's moved, yeah
208: [02:12:27] <Pyromanik> "world class"
209: [02:12:28] <Pyromanik> hahhaha
210: [02:12:31] <Pyromanik> all the buzzwords!
211: [02:12:32] <Pyromanik> xD
212: [02:12:54] <DanaeNZ> i've never found a job listing sans buzzwords
213: [02:13:23] * spronk buzzworded the fuck out of ours
214: [02:13:24] <spronk> http://www.school-links.co.nz/jobs/
215: [02:15:04] <Pyromanik> bbl, gotta go buy a horse
216: [02:15:09] <spronk> lolwat
217: [02:15:38] <Pyromanik> I'm not saying it again. DRY spronk.
218: [02:15:46] <spronk> lol
219: [02:15:51] <spronk> i presume by horse you mean car?
220: [02:15:54] <Pyromanik> that's a pun.
221: [02:16:00] <Pyromanik> no.
222: [02:16:06] * BrewNaked quit (Remote host closed the connection)
223: [02:16:11] * spronk is so confused.
224: [02:16:13] <Pyromanik> It's wet outside, if that helps with the clues.
225: [02:16:18] <Pyromanik> and the washing is on.
226: [02:16:26] <spronk> oh
227: [02:16:27] <spronk> ha
228: [02:16:33] <Pyromanik> yes, a dry horse
229: [02:16:38] <spronk> neeiigih
230: [02:16:43] <Pyromanik> COZ A FUCKING WET ONE IS NO GOOD
231: [02:16:54] <Pyromanik> it'd stain the sheets xD
232: [02:17:10] * Viper-7 has joined #silverstripe
233: [02:17:17] <Pyromanik> imma email dna then I guess, when I get back. And finally ring my old manager in CHC. He has work for me in the interim apparently.
234: [02:18:08] <Pyromanik> I have trouble with email though.
235: [02:18:22] <Pyromanik> I attach my CV and cunt clients try to display it inline.
236: [02:19:07] <Pyromanik> so I have a dilemma. Do I zip it, or I can PDF it, but then it's not as good.
237: [02:19:21] <Pyromanik> I can PDF and PNG, but there's no experience.
238: [02:19:21] <spronk> link to it
239: [02:19:22] <Pyromanik> idk.
240: [02:19:32] <Pyromanik> can't, gotta upload when using the seekmes
241: [02:19:37] <spronk> ugh
242: [02:19:37] <Pyromanik> tradeseeks
243: [02:19:38] <spronk> fuck seek
244: [02:19:38] <Pyromanik> whatever
245: [02:19:43] <Pyromanik> yup
246: [02:19:47] <spronk> just get somene's email addy
247: [02:19:47] <Pyromanik> that too
248: [02:19:51] <spronk> and just avoid it entirely
249: [02:19:53] <Pyromanik> gaan
250: [02:20:59] <Pyromanik> yagni?
251: [02:21:20] <spronk> SENG TERMZ BRAH
252: [02:21:28] <Pyromanik> your ability gonna not interference
253: [02:23:05] <spronk> OK (262 tests, 793 assertions) yeaahhh
254: [02:32:04] * Azure quit (Quit: Oops.)
255: [02:39:19] <willr> spronk tests? What are these things
256: [02:39:29] <spronk> you know
257: [02:39:36] <spronk> those things we're meant to do
258: [02:39:36] <spronk> that we never do
259: [02:39:48] <spronk> and really regret not doing later when we have to change that one stupid little function
260: [02:40:29] * Azure has joined #silverstripe
261: [02:41:17] <willr> I’ve spent the day writing tests for all the variations of migrating phone SIM details between NZ telcos. 32 variations and counting.
262: [02:41:28] <spronk> lols
263: [02:41:41] <spronk> there are that many variations?!
264: [02:42:14] <DanaeNZ> more coffeeee
265: [02:42:15] <willr> I test when manual test cost + risk + hassle > cost of something breaking
266: [02:43:07] <spronk> hmm
267: [02:43:51] * spronk tdds these days. Anything without tests is technical debt, and i am sick of repaying technical debt.
268: [02:44:46] <willr> true but depends on how good you are at tests. Seen plenty of tests that are wasteful. Testing the wrong problems
269: [02:44:52] <spronk> mm
270: [02:47:37] <willr> Pyromanik! So long
271: [02:49:16] <Stomach> tests! hah!
272: [02:50:02] <Stomach> I write tests when we have a client who understands why we need them
273: [02:50:12] <Stomach> should really change that line item to be included in development
274: [03:21:24] * LukeF has joined #silverstripe
275: [03:28:05] <micmania1> We have tests written in bash :|
276: [03:28:10] <spronk> :|
277: [03:28:47] <micmania1> spronk: https://github.com/sstephenson/bats
278: [03:29:07] <spronk> interesting
279: [03:29:55] <micmania1> We have it spinning up a vagrant boxes then running some infrastructure tests. I didn’t set it up thank god.
280: [03:37:55] <spronk> intersting
281: [03:43:39] <Pyromanik> wey eye, got a horse
282: [03:43:53] <Pyromanik> Didn't have the kind the missus wanted, so got the cheapie for $13. Yuss.
283: [03:43:56] <Pyromanik> aww yis
284: [03:44:18] <ss23> gizz a hoon on the missus awww
285: [03:44:27] <Pyromanik> willr, hihi
286: [03:44:34] <Pyromanik> willr, so, looking for devs?
287: [03:44:51] <Pyromanik> ss23, neg. Only I get ta hoon on me missus like.
288: [03:45:03] <ss23> :(
289: [03:46:29] <Pyromanik> spronk, TDD, mmhmm. Technical debt is stupid, especially when higher folk don't understand it.
290: [03:46:54] <Pyromanik> but yeh, basically I don't test. But that's because I don't build shit worth testing.
291: [03:47:18] <Pyromanik> website. HI WE LIKE SELL U FINGS. CLICK HERE TO EMAIL. GG
292: [03:53:15] <Pyromanik> I mean, I suppose one could write a test to make sure emails send or something. but in reality, fuck that.
293: [03:53:36] <spronk> lol
294: [04:03:00] * willr_ has joined #silverstripe
295: [04:04:14] * DanaeNZ quit (Quit: TIME TO FEED)
296: [04:04:22] * willr quit (Ping timeout: 265 seconds)
297: [04:04:23] * willr_ is now known as willr
298: [04:04:57] * BrewNaked has joined #silverstripe
299: [04:05:45] * dollardad quit (Ping timeout: 260 seconds)
300: [04:06:54] <Pyromanik> spronk, so do you know this John fellow?
301: [04:07:02] <spronk> yeah used to work with him
302: [04:07:21] <Pyromanik> at DNA?
303: [04:07:56] <spronk> Pyromanik msg
304: [04:08:18] <Pyromanik> seen
305: [04:09:12] * BrewNaked quit (Ping timeout: 250 seconds)
306: [04:11:08] * willr quit (Quit: willr)
307: [04:13:44] <Pyromanik> heh, just had a recruiter call me.
308: [04:14:46] <Pyromanik> despite CV clearly stating Email as the preferred method of contact.
309: [04:15:08] <Pyromanik> Also, applied for this job a week ago.
310: [04:15:26] <Pyromanik> Turns out, I've applied for it twice now. Once with recruiter, once with company direct.
311: [04:15:27] <Pyromanik> weird.
312: [04:16:37] <spronk> sigh
313: [04:16:42] <spronk> hate recruiters
314: [04:17:36] <Pyromanik> yeh, although he did offer me another job that I've not seen listed.
315: [04:17:49] <Pyromanik> sounded kinda interesting, although pay seemed a bit low.
316: [04:17:59] <spronk> $?
317: [04:18:01] <Pyromanik> well, not low. But not ideally what I'm after.
318: [04:18:08] <spronk> 6fig brah
319: [04:18:09] <Pyromanik> 60.
320: [04:18:14] <Pyromanik> 12 fig brah
321: [04:18:19] <spronk> nom
322: [04:18:26] <Pyromanik> like slices of pizza
323: [04:18:36] <spronk> buy that ferrari
324: [04:18:36] <spronk> scratch that
325: [04:18:38] <spronk> buy that plane
326: [04:18:40] <Pyromanik> although in this case it'd be 2 medium sliced pizza
327: [04:18:46] <Pyromanik> Yeh, I'd get a plane.
328: [04:19:02] <Pyromanik> I'd have to learn to fly though
329: [04:19:05] * Pyromanik foo fights
330: [04:19:09] <spronk> 60 is, imo, pretty low though. Esp for welly
331: [04:19:22] <Pyromanik> yheh
332: [04:19:24] <Pyromanik> well
333: [04:19:36] <Pyromanik> recruiter went 60, 70, 80
334: [04:19:53] <Pyromanik> and then told me about how they'll be trying to keep costs low so they can hire again in the not too distant future
335: [04:20:02] <Pyromanik> le sigh.
336: [04:20:13] <spronk> its kinda like
337: [04:20:17] <spronk> htf does that help me bro
338: [04:20:22] <Pyromanik> I'm looking for 80
339: [04:20:34] <Pyromanik> went full goober mode and said 70 minimum.
340: [04:20:42] <Pyromanik> derp, start higher pryo you fool, gosh.
341: [04:22:49] * micmania1 quit (Quit: micmania1)
342: [04:31:17] * Shrike_Finland has joined #silverstripe
343: [04:34:13] <nontgor> spronk: 'nom' means breast in Thai :) (it also means milk, it's a good thing I'm intolerant to it...)
344: [04:34:24] <spronk> tee hee
345: [04:34:47] <Pyromanik> nontgor, becaues that removes the ambiguity on what you mean?
346: [04:34:58] <Pyromanik> when you say you want it? xD
347: [04:34:59] <nontgor> spronk: And my wife is called Aom, pronounced 'Om'. So omnomnom is kind of awkward!
348: [04:35:07] <Pyromanik> LOL
349: [04:35:09] <spronk> haha that's brilliant
350: [04:35:11] <Pyromanik> only in the bedroom.
351: [04:35:17] <nontgor> haha
352: [04:36:09] <nontgor> Pyromanik: In this case no tonal variation, it's exactly the same word
353: [04:37:32] <nontgor> Pyromanik: I also never ask for salad dressing as it's a minor tonal variation from 'vaginal fluid'... (I'm not joking either)
354: [04:37:57] <spronk> haaaaa
355: [04:38:04] <Pyromanik> oh wow :<
356: [04:38:26] <nontgor> The word 'fuk' means melon. But the word that sounds the same as the English 'yet' is as offensive as fcuk in English
357: [04:38:30] <Pyromanik> Please squirt some dressing then toss my salad?
358: [04:38:42] <Pyromanik> :O
359: [04:38:50] <nontgor> :)
360: [04:39:09] <spronk> langauges are awesome
361: [04:39:22] <spronk> programming langauges suck. D:
362: [04:39:28] <nontgor> When I cycle kids want to practise their English,they will either say 'hello' or 'fuck you'. If the latter I reply 'fuk yoo tee nai' meaning where is the melon. That usually confused them :)
363: [04:39:58] <nontgor> spronk: At least with Thai no issues with tabs or spaces. Because if written properly there are no spaces...
364: [04:40:20] <nontgor> *goes back to writing long email*
365: [04:40:22] <spronk> :D
366: [04:41:12] <Pyromanik> nontgor, like japanese!
367: [04:41:14] <Pyromanik> xD
368: [05:36:43] * Shrike_Finland quit (Quit: Leaving.)
369: [05:37:06] * Stomach quit (Ping timeout: 250 seconds)
370: [05:41:30] * scott1702 quit (Quit: This computer has gone to sleep)
371: [05:50:14] * dollardad has joined #silverstripe
372: [05:53:50] * BrewNaked has joined #silverstripe
373: [05:58:20] * BrewNaked quit (Ping timeout: 250 seconds)
374: [05:58:38] * spronk quit (Quit: I may need a longer sleep timer...)
375: [06:06:48] * LukeF quit (Read error: Connection reset by peer)
376: [06:09:36] * spronk has joined #silverstripe
377: [06:21:56] * Shrike_Finland has joined #silverstripe
378: [06:47:57] * blah has joined #silverstripe
379: [06:49:28] * randomMem has joined #silverstripe
380: [06:49:48] * spronk quit (Quit: I may need a longer sleep timer...)
381: [06:51:50] * randomindie9 has joined #silverstripe
382: [06:53:00] * blah quit (Ping timeout: 252 seconds)
383: [06:55:29] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
384: [06:57:57] * randomindie9 quit (Ping timeout: 252 seconds)
385: [06:57:58] * randomMem quit (Ping timeout: 252 seconds)
386: [07:28:04] * wmk has joined #silverstripe
387: [07:37:39] * Eliseth has joined #silverstripe
388: [07:42:30] <wmk> Eliseth, ☺/
389: [07:42:42] * BrewNaked has joined #silverstripe
390: [07:42:44] <Eliseth> wmk o/
391: [07:45:47] * Shrike_Finland quit (Quit: Leaving.)
392: [07:47:22] * BrewNaked quit (Ping timeout: 272 seconds)
393: [08:06:03] * Shrike_Finland has joined #silverstripe
394: [08:07:35] * G-Factor has joined #silverstripe
395: [08:15:32] * Viper7 has joined #silverstripe
396: [08:18:36] * Pyromanik_ has joined #silverstripe
397: [08:19:24] * Eliseth quit (Ping timeout: 240 seconds)
398: [08:19:26] * Viper-7 quit (Ping timeout: 240 seconds)
399: [08:19:27] * Pyromanik quit (Ping timeout: 240 seconds)
400: [08:27:00] * swaiba quit (Remote host closed the connection)
401: [08:27:14] * swaiba has joined #silverstripe
402: [08:27:14] <swaiba> Morning all
403: [08:27:52] <G-Factor> Morning swaiba
404: [08:39:53] * EasyCo has joined #silverstripe
405: [08:42:15] * m-re quit (Ping timeout: 240 seconds)
406: [08:44:44] * G-Factor quit (Ping timeout: 250 seconds)
407: [08:45:08] * G-Factor has joined #silverstripe
408: [09:01:16] * brasileric has joined #silverstripe
409: [09:01:18] <brasileric> good morning
410: [09:01:41] * Mike123 has joined #silverstripe
411: [09:04:41] * kinglozzer has joined #silverstripe
412: [09:07:58] <brasileric> looking for a code example to have a has_many relation not in a tap, but in the same screen of the parent dataobject, like here: http://snag.gy/9ByD2.jpg
413: [09:10:22] * brasileric quit (Remote host closed the connection)
414: [09:15:51] * m-re has joined #silverstripe
415: [09:16:39] <swaiba> $grid = $fields->dataFieldByName('RelationshipName'));
416: [09:16:42] <swaiba> $fields->removeByName('RelationshipName');
417: [09:16:43] <swaiba> $fields->insertAfter($grid,'SomeFieldNameToInsertAfter');
418: [09:16:53] <swaiba> brasileric where you go?!?
419: [09:21:45] * brasileric has joined #silverstripe
420: [09:23:59] <brasileric> swaiba thanks. Something went wrong with the connection, but I saw your answer, gonna try
421: [09:27:03] * Shrike_Finland quit (Read error: Connection reset by peer)
422: [09:27:19] * Shrike_Finland has joined #silverstripe
423: [09:31:35] * BrewNaked has joined #silverstripe
424: [09:36:25] * BrewNaked quit (Ping timeout: 265 seconds)
425: [09:44:23] * Shrike_Finland quit (Quit: Leaving.)
426: [09:49:36] <swaiba> brasileric no worries - hope it works out
427: [09:57:55] <kinglozzer> brasileric: Just so you're aware - you don't want to show the GridField on *new* objects
428: [09:58:07] <kinglozzer> Only once they've been written first
429: [09:58:12] <kinglozzer> It's a pain... :(
430: [09:58:35] <kinglozzer> Unless GridField can manage UnsavedRelationLists and I've missed it
431: [10:06:34] * Shrike_Finland has joined #silverstripe
432: [10:10:21] <G-Factor> Hi guys, how can one set an image size on an image that is ben pulled from the $ThemeDir "$ThemeDir/images/no-image.png"
433: [10:11:06] <G-Factor> i mean cropping this "<img src="$ThemeDir/images/no-image.png" alt="No Image" />"
434: [10:33:05] <kinglozzer> G-Factor: You can't
435: [10:33:36] <kinglozzer> I usually add stuff like that to the "Settings" area of the CMS, just add an UploadField there
436: [10:33:49] <kinglozzer> Then use {$SiteConfig.ProductNoImage.SetWidth(150)} or whatever
437: [10:34:46] <G-Factor> hmmm...maybe i should just set a size on the div
438: [10:35:26] <Pyromanik_> swaiba, o.
439: [10:35:28] <Pyromanik_> o/
440: [10:35:35] <Pyromanik_> \o
441: [10:35:45] <Pyromanik_> finally got a proper computer again!
442: [10:35:51] <Pyromanik_> except it runs windows :<
443: [10:36:26] * m-re quit (Ping timeout: 240 seconds)
444: [10:40:20] <kinglozzer> \o Pyromanik_
445: [10:40:23] <kinglozzer> How do?
446: [10:40:47] <Pyromanik_> do well. How you?
447: [10:41:10] <kinglozzer> All good
448: [10:49:32] * MichalKleiner quit (Ping timeout: 256 seconds)
449: [11:00:34] * EasyCo quit (Quit: Connection closed for inactivity)
450: [11:03:54] * nontgor quit (Ping timeout: 250 seconds)
451: [11:07:01] * DimiStripe quit (Quit: DimiStripe)
452: [11:07:23] * DimiStripe has joined #silverstripe
453: [11:10:00] * dollardad quit (Quit: dollardad)
454: [11:10:58] * dollardad has joined #silverstripe
455: [11:13:45] * joelpittet quit (Remote host closed the connection)
456: [11:20:28] * BrewNaked has joined #silverstripe
457: [11:22:39] <swaiba> Pyromanik_ yo
458: [11:22:51] <Pyromanik_> Hullo!
459: [11:23:09] <swaiba> good to know you are going windows, is it.... windows 10?
460: [11:23:19] <Pyromanik_> Nope, gawd no.
461: [11:23:24] <swaiba> phew
462: [11:23:42] <Pyromanik_> Luckily for me windows update shat itself before it could get around to installing that pesterware
463: [11:24:25] <Pyromanik_> Unfortunately it shat itself before it installed the update I needed too, haha. No less than FIVE different fixes for the same problem exist, engineered by Microsoft themselves.
464: [11:24:32] <Pyromanik_> NONE WORK -.-
465: [11:24:55] * G-Factor quit (Ping timeout: 240 seconds)
466: [11:24:57] <Pyromanik_> managed to get it so manually downloaded updates could install though, so that was enough.
467: [11:25:00] * BrewNaked quit (Ping timeout: 260 seconds)
468: [11:28:42] <swaiba> so you are back looing for a job in NZ now?
469: [11:30:24] <swaiba> meet the new boss, same as the old boss!
470: [11:32:29] <Pyromanik_> swaiba, yup!
471: [11:32:48] <Pyromanik_> looking at freelance work for the moment, as there doesn't actually appear to be all that much going :<
472: [11:33:25] <Pyromanik_> cleaning windows to set up a dev env (thus all the mucking around) atm.
473: [11:39:45] * Azure quit (Quit: Oops.)
474: [11:40:09] * Azure has joined #silverstripe
475: [11:43:56] * Shrike_Finland quit (Quit: Leaving.)
476: [12:09:07] * MichalKleiner has joined #silverstripe
477: [12:11:28] <Mike123> i have a result from DB like : http://snag.gy/UpwEF.jpg
478: [12:11:37] <Mike123> what is the better way to get the <result> value ?
479: [12:11:52] <Mike123> note: it's a string i get here, not XML
480: [12:13:30] * slievr has joined #silverstripe
481: [12:14:09] <slievr> can I not use Director::BaseURL() in cms?
482: [12:19:05] <swaiba> Hey Mike123, just so you know XML is a string... you've got many options
483: [12:19:25] <swaiba> probably the smallest code would use simpleXML or DOMDcoument
484: [12:19:52] <swaiba> but using strpos and substr is just as robust if the string is of a predictable format (ducks for cover)
485: [12:19:53] <Pyromanik_> domdoc, never go full simplexml
486: [12:19:58] <Pyromanik_> oxymoron
487: [12:20:09] <swaiba> well they will both work :-P
488: [12:20:16] <swaiba> slievr sure, whats the issue?
489: [12:20:37] <slievr> got this: SiteTreeURLSegmentField::create('URLSegment','URL')->setURLPrefix(Director::BaseURL().$this->Category()->URLSegment."/"),
490: [12:20:47] <slievr> but Director::BaseURL() returns nothing
491: [12:21:44] <Pyromanik_> check cms doesn't set_base_url or sometihng silly
492: [12:22:48] <slievr> it seems to be setting it to '/'
493: [12:23:16] <Pyromanik_> it's not empty then!
494: [12:25:25] <slievr> yeah
495: [12:25:44] <slievr> I just realised I was taking the long way anyway
496: [12:25:50] <slievr> ->setURLPrefix($this->Category()->AbsoluteLink()),
497: [12:25:52] <slievr> much better
498: [12:27:16] * G-Factor has joined #silverstripe
499: [12:30:23] <wmk> Pyromanik_, ☺/ ☺/
500: [12:39:31] <Pyromanik_> \o wmk !
501: [12:39:48] <Pyromanik_> ooh, nice find slievr
502: [12:49:59] * Shrike_Finland has joined #silverstripe
503: [12:52:36] * lck_ has joined #silverstripe
504: [12:53:32] <lck_> Hi guys, when making a ModelAdmin, is it possible to use an SVG image for the pricate static $menu_icon ?, or even a 32x32 image, instead of 16x16 :-)
505: [12:54:05] <Pyromanik_> probably.
506: [12:54:13] <Pyromanik_> Question is more if it's easy or not!
507: [12:55:38] <lck_> i see that the default images are using a sprite, with double size on my retina monitor. However i have never used a 32x32 instead of 16x16. I guess ill give it a shot
508: [13:03:15] <wmk> lck_, try...
509: [13:09:22] * BrewNaked has joined #silverstripe
510: [13:14:02] * BrewNaked quit (Ping timeout: 256 seconds)
511: [13:14:38] * joelpittet has joined #silverstripe
512: [13:19:23] * joelpittet quit (Ping timeout: 264 seconds)
513: [13:21:42] <lck_> Update: 32x32 doesn't seem to work without being able to change css. However an SVG element does work! :-)
514: [13:22:48] * UndefinedOffset has joined #silverstripe
515: [13:22:49] <Pyromanik_> You can change css!
516: [13:23:12] <Pyromanik_> include a custom file from your project via yml configuration :)
517: [13:23:29] <Pyromanik_> but it's cool to know an SVG works!
518: [13:23:46] * Eliseth has joined #silverstripe
519: [13:23:58] <Pyromanik_> perhaps give some info to wmk:)
520: [13:24:05] <Pyromanik_> for a blog post, eh wmk ?
521: [13:24:20] <Pyromanik_> I'm gaans ta bed.
522: [13:24:22] <Pyromanik_> gnite!
523: [13:24:25] * Pyromanik_ has left #silverstripe
524: [13:24:49] <Eliseth> How can I change the background color of a row in gridfield in admin based on a property value (boolean)
525: [13:25:20] * m-re has joined #silverstripe
526: [13:34:26] <swaiba> Eliseth - ithnk this might help - http://addons.silverstripe.org/add-ons/exadium/gridfield-icon-row-class
527: [13:34:48] <Eliseth> Haha, I literally opened that 2 seconds before you mentioned it here :D
528: [13:35:01] <Eliseth> Thanks though!
529: [13:36:25] * Shrike_Finland quit (Quit: Leaving.)
530: [13:37:15] * lck_ quit (Ping timeout: 252 seconds)
531: [13:41:55] <Eliseth> Hmmm, it requires a modification of core file... that's not something I want to do. Any way around that?
532: [13:53:46] * TheVoid quit (Ping timeout: 250 seconds)
533: [13:55:03] * TheVoid has joined #silverstripe
534: [13:58:44] * G-Factor quit (Read error: Connection reset by peer)
535: [13:59:02] * G-Factor has joined #silverstripe
536: [14:05:31] <swaiba> Eliseth really? hmmm I've not used it yet so that is a concern
537: [14:06:23] <Eliseth> it relies on a change in newRowClasses in the GridField class
538: [14:06:36] <Eliseth> Is there a way for me to overrule that function outside the actual core?
539: [14:06:47] <swaiba> Eliseth yes there is
540: [14:06:57] <swaiba> just looking for kinglozzer talk from stripe con!
541: [14:07:16] <Eliseth> Found this: https://www.bigfork.co.uk/takeaway/why-you-shouldnt-edit-silverstripe-core-files
542: [14:07:46] <kinglozzer> Yeah that's the one Eliseth
543: [14:07:58] <Eliseth> But looks complicated for me, so trying to digest what is being said there and how to apply it here ><
544: [14:08:19] <kinglozzer> Basically Injector: GridField: class: 'MyCustomGridField'
545: [14:08:42] <kinglozzer> Eliseth: https://gist.github.com/kinglozzer/56736aa1de81171dc79a
546: [14:08:47] <kinglozzer> Like the first two files in that gist
547: [14:08:56] <kinglozzer> Except you'd be doing GridField instead of ManyManyList
548: [14:09:36] <kinglozzer> Then just override newRowClasses
549: [14:10:48] <Eliseth> So create my own GridField class and put it in a seperate namespace?
550: [14:11:28] <kinglozzer> Eliseth: Yeah, extend GridField - you don't need to put it in a namespace, you can just call it something different
551: [14:11:42] <Eliseth> right, let me give this a try then!
552: [14:12:03] <kinglozzer> Then you just need to make sure you're using GridField::create() instead of new GridField() and you should be good!
553: [14:17:04] <Eliseth> And I need to copy/paste the entire GridField class, I can't just have a part with only the newRowClasses function in it?
554: [14:22:39] * G-Factor quit (Read error: Connection reset by peer)
555: [14:22:58] * G-Factor has joined #silverstripe
556: [14:33:49] * MichalKleiner quit (Remote host closed the connection)
557: [14:51:34] <kinglozzer> Eliseth: Sorry, just the one method you want to override
558: [14:51:47] <kinglozzer> As you're extending GridField, everything else is inherited
559: [14:52:10] <Eliseth> Yes, I just found out.. but had to add use GridField as SilverStripeGridField;
560: [14:58:21] * BrewNaked has joined #silverstripe
561: [15:01:33] * muskie9 has joined #silverstripe
562: [15:02:50] * BrewNaked quit (Ping timeout: 256 seconds)
563: [15:06:48] * m-re quit (Ping timeout: 256 seconds)
564: [15:15:31] * joelpittet has joined #silverstripe
565: [15:20:24] * joelpittet quit (Ping timeout: 256 seconds)
566: [15:53:54] * G-Factor quit (Ping timeout: 265 seconds)
567: [15:54:36] * wmk quit (Ping timeout: 250 seconds)
568: [16:06:19] * Mike123 quit (Ping timeout: 252 seconds)
569: [16:15:35] * Eliseth quit (Ping timeout: 240 seconds)
570: [16:23:16] * BrewNaked has joined #silverstripe
571: [16:33:10] * joelpittet has joined #silverstripe
572: [16:41:44] * swaiba quit (Remote host closed the connection)
573: [16:57:58] * kinglozzer quit ()
574: [16:58:25] * brasileric quit (Remote host closed the connection)
575: [17:19:25] * r_hector quit (Quit: Leaving.)
576: [17:22:42] * G-Factor has joined #silverstripe
577: [17:27:47] * G-Factor quit (Ping timeout: 264 seconds)
578: [17:29:07] * nontgor has joined #silverstripe
579: [17:45:35] * G-Factor has joined #silverstripe
580: [17:55:49] * Stomach has joined #silverstripe
581: [17:57:58] * Stomach quit (Client Quit)
582: [17:59:16] * Stomach has joined #silverstripe
583: [18:18:56] * cloph is now known as cloph_away
584: [18:27:43] * krofek quit (Read error: Connection reset by peer)
585: [18:28:06] * krofek has joined #silverstripe
586: [18:44:54] * G-Factor quit (Ping timeout: 250 seconds)
587: [18:45:22] * G-Factor has joined #silverstripe
588: [18:46:03] * dollardad quit (Quit: dollardad)
589: [18:47:14] * Stomach quit (Ping timeout: 256 seconds)
590: [18:47:45] * m-re has joined #silverstripe
591: [18:50:50] * Stomach has joined #silverstripe
592: [19:04:18] * Stomach quit (Quit: zzz)
593: [19:04:37] * Stomach has joined #silverstripe
594: [19:18:55] * oddnoc has joined #silverstripe
595: [19:38:06] * spekulatius has joined #silverstripe
596: [19:41:11] * harry1 has joined #silverstripe
597: [19:41:35] * G-Factor quit (Ping timeout: 240 seconds)
598: [19:45:29] * MichalKleiner has joined #silverstripe
599: [19:49:00] * gelignite has joined #silverstripe
600: [19:56:57] * Stomach_ has joined #silverstripe
601: [19:59:04] * Stomach quit (Ping timeout: 250 seconds)
602: [20:00:56] * m-re quit (Read error: No route to host)
603: [20:01:40] * m-re has joined #silverstripe
604: [20:03:46] * joelpittet quit (Remote host closed the connection)
605: [20:04:57] * micmania1 has joined #silverstripe
606: [20:11:40] * Hailwood quit (Read error: Connection reset by peer)
607: [20:12:39] <harry1> where is the default login form found?
608: [20:12:45] <harry1> i want to add my own styling
609: [20:12:49] * jules0x quit (Quit: Leaving)
610: [20:14:15] * m-re quit (Ping timeout: 245 seconds)
611: [20:14:23] * Kapdap_ has joined #silverstripe
612: [20:14:28] * Kapdap_ quit (Client Quit)
613: [20:14:48] * m-re has joined #silverstripe
614: [20:15:04] * BrewNaked quit (Remote host closed the connection)
615: [20:16:36] * scott1702 has joined #silverstripe
616: [20:18:24] * BrewNaked has joined #silverstripe
617: [20:21:22] * lerni has joined #silverstripe
618: [20:29:15] * m-re quit (Ping timeout: 240 seconds)
619: [20:30:52] <micmania1> harry1: Its generated using the form templates (of which there are many). Easiest thing to do is use CSS or create a Securoty_login.ss template in your templates folder.
620: [20:31:12] <micmania1> Security_login.ss even
621: [20:31:51] <harry1> thanks - i see the approach
622: [20:32:05] <harry1> you can style it yourself then add $Form and $Content
623: [20:32:06] <harry1> neat
624: [20:32:24] <harry1> i thought I would have to re-create the form and mirror the param of the form
625: [20:37:02] * DimiStripe quit (Quit: DimiStripe)
626: [20:42:16] * m-re has joined #silverstripe
627: [20:42:21] * camfindlay has joined #silverstripe
628: [20:46:44] * m-re quit (Ping timeout: 250 seconds)
629: [20:50:42] * DanaeNZ has joined #silverstripe
630: [20:52:35] * Stomach_ quit (Quit: zzz)
631: [20:56:03] * willr has joined #silverstripe
632: [20:56:23] * m-re has joined #silverstripe
633: [20:58:14] <camfindlay> morning o/
634: [21:10:04] <willr> howdey Cam
635: [21:20:35] * m-re quit (Ping timeout: 240 seconds)
636: [21:21:44] <camfindlay> what are you peeps using for smaller sites and shared hosting these days? Who does the best shared hosting compatible with SilverStripe sites?
637: [21:24:08] * spekulatius quit (Quit: Leaving)
638: [21:25:01] * Viper7 is now known as Viper-7
639: [21:25:46] <oddnoc> We use Digital Ocean VPSs for even the smallest sites.
640: [21:29:23] * camfindlay quit (Quit: camfindlay)
641: [21:31:27] * m-re has joined #silverstripe
642: [21:32:42] * camfindlay has joined #silverstripe
643: [21:33:55] * spronk has joined #silverstripe
644: [21:37:09] * MichalKl_ has joined #silverstripe
645: [21:38:40] * Stomach has joined #silverstripe
646: [21:40:50] * MichalKleiner quit (Ping timeout: 250 seconds)
647: [21:41:08] * G-Factor has joined #silverstripe
648: [21:43:26] * LukeF has joined #silverstripe
649: [21:49:48] * helenclarko has joined #silverstripe
650: [21:53:54] * harry1 quit (Ping timeout: 252 seconds)
651: [21:58:06] * UndefinedOffset quit (Quit: Leaving.)
652: [21:58:26] * UndefinedOffset has joined #silverstripe
653: [22:03:00] * G-Factor quit (Ping timeout: 250 seconds)
654: [22:03:10] * UndefinedOffset quit (Ping timeout: 265 seconds)
655: [22:07:28] <spronk> THATS IT
656: [22:07:29] <spronk> FUCK ACTIVE RECORD
657: [22:08:17] * jules0x has joined #silverstripe
658: [22:08:21] * jules0x quit (Client Quit)
659: [22:09:43] * G-Factor has joined #silverstripe
660: [22:11:44] * harry1 has joined #silverstripe
661: [22:12:32] <harry1> is it advisable not to use Model & Admin and the GridFieldRelation manager togehter
662: [22:13:15] <harry1> does the later do everything that Model Admin does anyway?
663: [22:14:40] * camfindlay quit (Quit: camfindlay)
664: [22:15:03] <spronk> harry1 there's no real reason why you can't use both
665: [22:15:08] <spronk> but think about your users first
666: [22:15:36] <spronk> sometimes i'll have a subsection of functionality available in a gridfield and more complete management tools in MA
667: [22:15:39] * micmania1 quit (Quit: micmania1)
668: [22:18:22] * muskie9 quit (Read error: Connection reset by peer)
669: [22:22:51] * micmania1 has joined #silverstripe
670: [22:23:44] <harry1> can i have a Testimonal dataobject and in another file TestimonialPage
671: [22:26:14] <spronk> yes
672: [22:27:39] <harry1> how can i debug this: Error at line 739 of C:\Sites\scenic\framework\core\Object.php
673: [22:32:59] <harry1> it's a meaningless error message ^^^
674: [22:37:13] * DimiStripe has joined #silverstripe
675: [22:39:42] <harry1> how can i debug
676: [22:43:52] <spronk> you should have more information about the error. Also, look at the line and see what's happening there
677: [22:45:22] <harry1> @sprouk - that all the information that is shown
678: [22:45:36] <spronk> look in logs
679: [22:45:42] <harry1> i'm logged into the cms and the message appears top right hand corner in a black box
680: [22:45:47] <spronk> oh
681: [22:45:47] <harry1> is soooooooooooooo annoying
682: [22:45:52] <spronk> use chrome inspector
683: [22:45:59] <spronk> or firefox or whatever you're using
684: [22:45:59] <helenclarko> harry1: ?isDev=1
685: [22:46:02] <spronk> and check the network tab
686: [22:46:10] <spronk> yeah, or that
687: [22:46:29] <harry1> in dev mode helenclarko
688: [22:47:02] <spronk> harry1 open the network tab, reload
689: [22:47:09] <spronk> click on the request that's 500 erroring
690: [22:47:14] <spronk> and you should get more info about the error there
691: [22:47:23] <harry1> netowkr tab - yes that is better I see more info now thanks
692: [22:48:09] <harry1> Uncaught Exception: Object->__call(): the method 'numchildren' does not exist on 'Testimonial'
693: [22:48:28] <harry1> is 'numchildren' a Silverstripe method?
694: [22:48:33] <DanaeNZ> Does anyone know the name of the AWS service where you set up scripts to automate instance creation?
695: [22:48:36] <DanaeNZ> I hate the naming
696: [22:48:58] <spronk> cloudformation?
697: [22:49:10] <DanaeNZ> ooh chur
698: [22:49:38] * G-Factor quit (Quit: Leaving)
699: [22:50:57] <helenclarko> harry1: Is the testimonial page an addon?
700: [22:51:27] <harry1> I have a Testionial which extends DataObject
701: [22:51:34] <harry1> i then created a TestimonialPage
702: [22:51:42] <harry1> that caused the cms to crash
703: [22:51:48] <spronk> o_O
704: [22:51:57] <harry1> so i removed the TestimonialPage
705: [22:52:01] <harry1> rebuilt
706: [22:52:12] <harry1> and flushed 37 times
707: [22:52:26] <spronk> adding TestimonialPage wouldn't cause an error
708: [22:52:36] <spronk> not on its own anyway
709: [22:52:37] <spronk> paste the code for both
710: [22:52:46] <spronk> pastebin*
711: [22:53:04] <helenclarko> !paste or something
712: [22:53:13] <spronk> !paste
713: [22:53:14] <harry1> at one point I tried to make the Testonial object a Page
714: [22:53:16] * spronk shrugs
715: [22:53:19] <spronk> i can never remember
716: [22:53:22] <harry1> i think that is what broke
717: [22:53:26] <spronk> yeah...
718: [22:53:38] <spronk> www.sspaste.com paste your code
719: [22:54:15] <harry1> https://gist.github.com/spacebiscuit/3b697630320510dade2b
720: [22:54:43] * Firesphere is now known as SphereSilver
721: [22:54:45] <helenclarko> spronk: hmm no ss-helper.
722: [22:54:53] <spronk> harry1 looks ok, waht about testimonialpage
723: [22:54:55] <SphereSilver> Hello world
724: [22:55:08] <SphereSilver> can someone safe me from the terror that is migrating to New Zealand?
725: [22:55:10] <harry1> it doesn't exist I deleted it
726: [22:55:11] * SphereSilver is now known as Firesphere
727: [22:55:20] <spronk> Firesphere what do you meant error
728: [22:55:28] <spronk> harry1 and you're still getting errors with just that? there's nothing wrong with that peice of code
729: [22:55:40] <harry1> yeah that's what i figured
730: [22:55:48] <Firesphere> spronk: no, _terror_, as in, all the forms, all the insurances, all the paperwork...
731: [22:55:53] <spronk> except possibly $defaults needing to be private but w/e
732: [22:55:56] <spronk> Firesphere haha
733: [22:55:57] <spronk> :D
734: [22:55:58] <harry1> my screen is calling for my first right now
735: [22:56:21] <harry1> *FIST
736: [22:57:21] <Firesphere> Defaults must be private harry1, also, do you have a TestimonialsPage_Controller extends Controller {} class?
737: [22:57:29] <helenclarko> Firesphere: Visa sorted?
738: [22:57:42] <Firesphere> On the day before christmas already ;)
739: [22:57:54] * Azure quit (Quit: Oops.)
740: [22:57:58] <Firesphere> I'm now shipping my stoff, which is another level of form paranoya
741: [22:58:17] * Azure has joined #silverstripe
742: [22:58:24] <Firesphere> Ow, nevermind the controller-thingy harry1, It's a DO, not a Page :)
743: [22:58:27] <helenclarko> Firesphere: I went for the sell all my stuff option.
744: [22:58:44] <Firesphere> Well, I do have some personal items I want to take with me ;)
745: [22:58:53] <Firesphere> And since I had the space, also added my bike and all.
746: [22:58:59] <harry1> @Firesphere - I don't have a TestimonialsPage_Controller extends Controller {}
747: [22:59:06] <oddnoc> harry1: also, you’ll want to omit the ‘?>’ from any PHP file that is pure code (no HTML)
748: [22:59:25] <Firesphere> harry1: Yeah, nevermind that remark, I guess I'm tired.
749: [22:59:27] <spronk> harry1 we don't really have enough information here - what is the error you are getting, and does it happen with just that Testimonal dataobject?
750: [22:59:56] <Firesphere> helenclarko: Things like pictures, personal things and memorabilia like flags from the countries I traveled and such
751: [23:00:27] <harry1> @oddnoc - removed that trailing ?>
752: [23:00:51] <harry1> @spronk - i get the error when i click on pages on my cms
753: [23:01:01] <harry1> error comes up in the top right hand corner
754: [23:01:02] <spronk> ok, and what is the full error?
755: [23:01:02] <helenclarko> Firesphere: Yeah, guess I should geet onto getting an NZ flag.
756: [23:01:25] <harry1> network tab says@ ERROR [User Error]: Uncaught Exception: Object->__call(): the method 'defaultchild' does not exist on 'Testimonial'
757: [23:01:53] <Firesphere> Do you have a one-to-many relationship in your page, that's wrongly defined?
758: [23:01:55] <spronk> o_O what aaare you doing
759: [23:02:19] <spronk> harry1 where do you use the Testimonial object? what's referencing it?
760: [23:03:04] <harry1> Testominal.php
761: [23:03:22] <harry1> sorry, misunderstood
762: [23:03:35] <harry1> looks like in Pages controller there is: class Testimonial extends DataObject {
763: [23:03:46] <harry1> ignore that ^
764: [23:03:51] <Firesphere> Please make a TestimonialPage SSPaste
765: [23:03:51] <harry1> there is: Testimonial::get()->filter(array('IsOnSite' => 1))->limit(5)->sort('RAND()');
766: [23:03:52] <helenclarko> spronk: I didnt realise you could create "private static $db = []", I've always "public static $db = array(
767: [23:03:52] <helenclarko> );"
768: [23:04:07] <ss23> Only on new stuff
769: [23:04:10] <spronk> yeh
770: [23:04:12] <spronk> since.. 3.1?
771: [23:04:13] <DanaeNZ> helenclarko: short syntax is php > 5.4
772: [23:04:13] <ss23> Back in my day we only had array AND THAT'S HOW WE LIKED IT
773: [23:04:14] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
774: [23:04:17] <ss23> spronk: Since PHP 5.4
775: [23:04:20] <Firesphere> helenclarko: It's in 3.x, way better.
776: [23:04:26] <spronk> oh yeah
777: [23:04:27] <DanaeNZ> 5.4 won't parse it
778: [23:04:29] <helenclarko> OOOOOOOHHHHHHHH
779: [23:04:31] <harry1> Firespace - I don't have a TestimonialsPage
780: [23:04:35] <ss23> After 5.4 I mean
781: [23:04:37] <ss23> What DanaeNZ said
782: [23:04:38] <ss23> :O
783: [23:04:42] <DanaeNZ> holla at ya boi
784: [23:04:50] <ss23> HOLLA
785: [23:04:54] <helenclarko> Holla!
786: [23:04:57] <DanaeNZ> noice
787: [23:05:11] <spronk> harry1 shouldn't sort by rand(), but that's different discussion. Where is that code located?
788: [23:05:14] <Firesphere> harry1: Ok, zo you're editing through ModelAdmin...
789: [23:05:21] <ss23> my throat is sore so I'm taking numbing / losenge stuff which is going to make any coke I drink taste bad
790: [23:05:24] <ss23> :(
791: [23:05:25] <Firesphere> Really weird that it's crashing
792: [23:05:39] <Firesphere> Hey, ss23 is alive!
793: [23:05:43] <ss23> I'm alive!
794: [23:05:45] <spronk> not for long by the sounds of it
795: [23:05:49] <ss23> I'm back from holiday now, Firesphere :)
796: [23:06:07] <harry1> that's in Pages.php
797: [23:06:12] <Firesphere> Well, at least one of us is happily in NZ then :P
798: [23:06:16] <ss23> :P
799: [23:06:31] <harry1> @Firespace - yes ModelAdmin manages the Testimonials
800: [23:07:01] <Firesphere> You do know you can tab-complete names, right? ;)
801: [23:07:33] <harry1> the feature hasn't worked for me for some time
802: [23:07:45] <harry1> i am using a web interface to the chat btw
803: [23:08:07] <spronk> harry1 paste pages.php and your modeladmin managing testimonials
804: [23:08:30] <harry1> ah I see - i thought you had to put the @ before the name for the tab to work
805: [23:08:41] <Firesphere> DefaultChild is a method from SiteTree, why would DO give that error?
806: [23:08:48] <harry1> spronk: ok one moment
807: [23:09:08] <Firesphere> Do you have an onBefore/AfterWrite method?
808: [23:10:32] <harry1> here is pages: https://gist.github.com/spacebiscuit/0c3760d702e6318e2476
809: [23:10:42] <harry1> no don't have either of those
810: [23:11:59] <harry1> ModelAdmin: https://gist.github.com/spacebiscuit/9a1a72e09b174c631bb9
811: [23:12:03] <Firesphere> Errr, why would you want to build an arraylist of a DataList?
812: [23:12:34] <harry1> it's an old project and I'm re-writing it
813: [23:12:38] <Firesphere> Why not just address the function in the template, and loop the items?
814: [23:12:54] <harry1> please don't laugh at the code :(
815: [23:13:06] <Firesphere> No laughing.
816: [23:13:20] <Firesphere> I've never even encountered laughing at someones code here :)
817: [23:13:22] <harry1> ..crying
818: [23:13:24] <spronk> ok, harry1 , can you also paste any templates that use the GetTestimonials method?
819: [23:13:36] <spronk> i.e. $Testimonials in template
820: [23:13:41] <Firesphere> Even when we thing "ow, that's bad", we still are here to help improve, not make fun of someone ;)
821: [23:14:06] <Firesphere> Unless that someone is ss23. Than all is fair
822: [23:14:10] * Firesphere ducks for cover
823: [23:14:36] <spronk> kekek
824: [23:15:07] <ss23> :O
825: [23:15:10] <ss23> You're not even here yet
826: [23:15:10] <Firesphere> spronk: how can his issue be in the template, if the admin crashes?
827: [23:15:11] <ss23> THIS IS UNFAIR
828: [23:15:12] <ss23> :O
829: [23:16:08] <spronk> Firesphere good point..
830: [23:16:41] <spronk> i can't see any code that would cause the weird error though S
831: [23:16:42] <spronk> :S
832: [23:17:26] <harry1> spronk: none of my templates use the $Testimonials var
833: [23:17:31] <harry1> i just searched them all
834: [23:18:49] <harry1> the first thing that broke my CMS was when I rebuilt with this page:
835: [23:18:50] <harry1> https://gist.github.com/spacebiscuit/af1d9495de03abaf8d99
836: [23:19:02] <harry1> after that I simple undid the previous changes
837: [23:19:19] <harry1> re-built and re-flushed and this is where I am now
838: [23:19:27] <harry1> don't make any sense
839: [23:20:20] <Firesphere> It is, though, trying to do something with the SiteTree, otherwise, you wouldn't get a DefaultChild error.
840: [23:20:36] <spronk> hm
841: [23:20:38] <spronk> do you still have TestimonialPages in your database or something?
842: [23:20:42] <Firesphere> ss23: Does it help if I told you this little friend is tagging along in my backpack? https://twitter.com/Firesphere/status/690284489495465985
843: [23:21:18] <Firesphere> It shouldn't matter, if the class is gone and everything is flushed, the existence of the database fields/tables are of no influence on the actual objects
844: [23:21:31] <harry1> I can see: TestimonialPage_Image
845: [23:21:34] <ss23> XD
846: [23:23:24] * lerni quit (Remote host closed the connection)
847: [23:23:33] <Firesphere> That shouldn't matter, it's a crossreference table that's not used anymore.
848: [23:23:44] <Firesphere> It doesn't explain the error, still.
849: [23:28:13] * Stomach quit (Quit: zzz)
850: [23:30:09] <Firesphere> My phone tells me, updates were installed.
851: [23:30:15] <Firesphere> It refuses to tell me WHICH updates
852: [23:32:59] <harry1> I found the TestominalPage that I created still in the db
853: [23:33:06] <harry1> in SiteTree
854: [23:33:11] <harry1> i manually deleted it
855: [23:33:27] <harry1> now the cms when reloaded network tab says: ERROR [User Error]: Uncaught Exception: Object->__call(): the method 'defaultchild' does not exist on 'Testimonial'
856: [23:34:07] <harry1> before it said 'numchildren' does not exist on 'Testimonial'
857: [23:38:55] * micmania1 quit (Quit: micmania1)
858: [23:40:08] <harry1> ok it's back!
859: [23:40:24] <harry1> must have been the crappy data hanging around in the SiteTree table
860: [23:40:36] <spronk> yeahhhh
861: [23:40:37] <spronk> weird.
862: [23:41:37] <harry1> been writing code for best part of 14 hours today
863: [23:41:43] <harry1> was hoping for a relaxed evening
864: [23:41:55] <harry1> not what I needed laaaate in the day :)
865: [23:46:30] * Pyromanik has joined #silverstripe
866: [23:46:33] <Pyromanik> yo
867: [23:46:35] <Pyromanik> \o
868: [23:46:40] <spronk> lo Pyromanik
869: [23:47:00] <Pyromanik> No response from yer m8 yet
870: [23:47:07] * Pyromanik double checks
871: [23:47:16] <harry1> thanks for the help guys
872: [23:47:48] <harry1> need to chill before i keel over
873: [23:48:31] <DanaeNZ> sleep deprived + big lunch = sleepy dev ughhhhh
874: [23:50:03] <harry1> Firesphere: about the arraylist of a DataList that you highlighted
875: [23:50:08] <harry1> what is the better approach
876: [23:50:14] <Pyromanik> DanaeNZ, know what helps with that?
877: [23:50:18] <harry1> just one or the other?
878: [23:50:29] <DanaeNZ> Pyromanik: sleep?
879: [23:50:33] <Pyromanik> Alcohol!
880: [23:50:39] <DanaeNZ> of course
881: [23:50:46] <Pyromanik> get it in ya
882: [23:50:50] <Firesphere> Just a sec harry1
883: [23:50:52] <Pyromanik> sleep in no time :>
884: [23:51:56] <Pyromanik> hmm, might have job interview next week.
885: [23:52:20] <Pyromanik> Wish some of the others would hurry along. Not sure I want this one.
886: [23:52:35] <Pyromanik> willr, pester John for me! xD
887: [23:52:49] <willr> He’s not at his desk
888: [23:52:52] <Pyromanik> k
889: [23:52:56] <Pyromanik> must be busy reviewing my CV
890: [23:52:56] <Firesphere> harry1: http://sspaste.com/paste/show/56aaa9cdd6e72
891: [23:53:02] <spronk> lol
892: [23:53:06] <Firesphere> That's a quick example of how I would do it.
893: [23:53:09] <willr> Only one in the office is bob. Slackers
894: [23:53:20] <Pyromanik> just realised there's no guthib link.
895: [23:53:21] <Firesphere> willr: and you're not in the office?
896: [23:53:34] * Pyromanik shrugs. I guess I thought I'd save it for interview.s.
897: [23:53:47] <willr> an office is overrated.
898: [23:54:17] <Pyromanik> willr, so by not at the desk you mean... in logged into slack?
899: [23:54:33] <Pyromanik> in logged? wtf pyro, sleep moar :<
900: [23:55:25] <Firesphere> Awwww :( "sorry, no sneaking Kitty into the shipment."
901: [23:56:40] * micmania1 has joined #silverstripe
902: [23:56:47] <Pyromanik> lulz
903: [23:57:03] <Pyromanik> sad, but a sense of humour is important.
904: [23:57:31] <Pyromanik> anyway, time to put on jandals and go be nosey at what the landlord has done upstairs.
905: [23:57:34] <Pyromanik> renos!
906: [23:57:50] * r3v3rb has joined #silverstripe
907: [23:57:54] <r3v3rb> yello
908: [23:58:27] <r3v3rb> any reason a class CreateMyTask extends BuildTask wouldn't show up in the tasks list?
909: [23:58:32] <harry1> Firesphere: thanks - btw what is lazy-loading?
910: [23:58:45] <Pyromanik> r3v3rb, private class?
911: [23:58:47] <r3v3rb> it has a public run($request) function
912: [23:58:58] <r3v3rb> Pyromanik, private class?
913: [23:59:06] <Pyromanik> oh, those aren't a thing in PHP?
914: [23:59:12] <r3v3rb> Pyromanik, by the way - good to see/speak again!
915: [23:59:17] <Pyromanik> yes, hello!
916: [23:59:25] <Firesphere> harry1: Lazy loading is gathering up all the database queries, only instantiating the objects, and execute the query only when it's actually needed.
917: [23:59:27] <Pyromanik> I got my old machine back, no more netbook!
918: [23:59:30] <Pyromanik> (for important things)
919: [23:59:48] <r3v3rb> Pyromanik, not that i'm aware of all classes are public aren't they - unlike java/c/c# etc etc

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