#silverstripe IRC Log

IRC log for 27 October 2014

All timestamps are in UTC.

1: [00:10:59] <Colin[pi]> howdy UncleCheese
2: [00:11:03] <UncleCheese> hey man
3: [00:11:08] <Colin[pi]> how goes it?
4: [00:11:14] <Colin[pi]> still dealing with bs at the house?
5: [00:11:15] <UncleCheese> look what happens when you pull NZ out of IRC
6: [00:11:19] * spronk2 has joined #silverstripe
7: [00:11:21] <Colin[pi]> heheh
8: [00:11:22] <UncleCheese> yeah, looking at options to get out
9: [00:11:35] <Colin[pi]> still ongoing?
10: [00:11:41] <UncleCheese> well
11: [00:11:50] <UncleCheese> no new incidents, but my wife has just had it
12: [00:11:55] <UncleCheese> as have i
13: [00:12:14] <UncleCheese> it's taken her over a week to get a damn motion sensitive light installed
14: [00:12:37] <UncleCheese> she just doesn't know what she's doing
15: [00:12:54] <Colin[pi]> :(
16: [00:13:00] <Colin[pi]> so shitty, sorry dude
17: [00:13:12] <UncleCheese> bought the place with her partner, they split, she took the place, and decided, oh, i'll just let it out and have someone pay my mortgage for me
18: [00:13:17] <Colin[pi]> I know that feel after going through car breakin and then apartment breakin two years back
19: [00:13:19] <UncleCheese> it's not like i have to.. do any work or anything
20: [00:13:41] <UncleCheese> and the fact is, being a landlord is work.. sometimes shit comes up
21: [00:13:47] <Colin[pi]> yeah
22: [00:14:11] <UncleCheese> and when you're paying what we're paying, you expect a priority response
23: [00:14:25] <UncleCheese> i dunno.. i miss dealing with a property manager
24: [00:14:33] <Colin[pi]> so this is a private rental?
25: [00:14:41] <UncleCheese> yeah
26: [00:14:53] <UncleCheese> i really want to sublet it and start looking elsewhere
27: [00:15:02] <Colin[pi]> mm don't blame you
28: [00:15:04] <UncleCheese> lease says we can't sublet it without her written consent
29: [00:15:13] <UncleCheese> but the law says she can't not give consent without good reason
30: [00:15:45] <Colin[pi]> ugh
31: [00:15:57] <UncleCheese> so i think the law is on our side
32: [00:16:25] <UncleCheese> it also says she can't advertise the place for one price and then change it
33: [00:16:48] <Colin[pi]> mm
34: [00:19:27] <Colin[pi]> UncleCheese: we were kicked out of a rental one time because the private landlord needed a place to live due to another property purchase falling through
35: [00:19:45] <Colin[pi]> she did give us the the correct notice time, however
36: [00:20:04] <Colin[pi]> and she was super apologetic about it
37: [00:20:32] <UncleCheese> ha
38: [00:20:42] <UncleCheese> yeah, i suppose it can work the other way, can't it
39: [00:20:51] <UncleCheese> leases work for both parties
40: [00:20:54] <Colin[pi]> yeah
41: [00:21:53] <Colin[pi]> she was quite nice, it was her first property she had rented out, and she had heard horror stories of tenants
42: [00:22:03] <Colin[pi]> luckily for her, we were nice people
43: [00:22:21] <Colin[pi]> she used to come to do the six monthly inspections and bring us a bottle of wine, lol
44: [00:22:33] <Colin[pi]> she was like "thank you THANK YOU for being good tenants"
45: [00:24:01] <simon_w|work> UncleCheese, you're more likely to get a decent private landlord than a decent property manager
46: [00:24:10] <simon_w|work> Which really sucks here
47: [00:24:10] <UncleCheese> oh?
48: [00:24:26] <Colin[pi]> simon_w|work: agree for the most part, our previous property manager could not give a shit about us
49: [00:24:35] <Colin[pi]> the current one seems a little better
50: [00:24:37] <UncleCheese> why do you say that? landlord has no make you happy, while property managers work for both parties
51: [00:24:46] <Colin[pi]> UncleCheese: nope
52: [00:24:48] <Colin[pi]> well
53: [00:25:00] <Colin[pi]> I've found that the property managers work for the owners and buyers first
54: [00:25:06] <UncleCheese> property companies get paid every time they come out to help you.. so they're incentivised to sell service
55: [00:25:07] <Colin[pi]> and couldn't give a shit about tenants
56: [00:25:15] <irogue> UncleCheese: that's not usually how it works here
57: [00:25:24] <irogue> they usually get a fixed % of the rent
58: [00:25:31] <Colin[pi]> ^
59: [00:25:42] <UncleCheese> hmm
60: [00:25:43] <irogue> they want to do as little work as possible for that %
61: [00:25:47] <Colin[pi]> yep
62: [00:26:01] <simon_w|work> Heck, our current one didn't even show up for an inspection
63: [00:26:08] <simon_w|work> Still haven't heard from her about that
64: [00:26:18] <Colin[pi]> any time I call mine, they have this attitude of "hurry up for fucks sake you cunt, I'm busy"
65: [00:26:35] <irogue> I've managed to get a really good one at this place, but the ones at my previous places have all been shit
66: [00:26:37] <UncleCheese> well this is shit
67: [00:26:54] <Colin[pi]> irogue: mm my current one is an improvement on the last
68: [00:26:58] <UncleCheese> the system is rigged, man
69: [00:27:09] <Colin[pi]> UncleCheese: you're only figuring that out now?
70: [00:27:11] <Colin[pi]> :D
71: [00:27:16] <simon_w|work> I'd say chance of getting a decent landlord is about 75:25. Decent property manager is the other way around
72: [00:27:27] <UncleCheese> she's a good person
73: [00:27:32] <UncleCheese> she's just new to this
74: [00:27:36] <Colin[pi]> mm
75: [00:27:39] <UncleCheese> and doesn't understand what the expectations are
76: [00:27:58] <Colin[pi]> UncleCheese: would you consider yourself a particularly demanding tenant?
77: [00:28:02] <UncleCheese> we should have known straight away when she changed the rent after essentially promising it to us
78: [00:28:09] <UncleCheese> NO!
79: [00:28:12] <Colin[pi]> k :D
80: [00:28:20] <UncleCheese> yeah, well
81: [00:28:36] <irogue> Colin[pi]: i'd agree
82: [00:28:43] <Colin[pi]> because my sister played landlord once, massive house, and high rent... the tenants were such prima donas
83: [00:28:45] <ss23> Oh no
84: [00:28:45] <UncleCheese> i am a real pain in the ass.. when there are rodents in the house, i call the property owner
85: [00:28:53] <UncleCheese> when we're under constant thread of burglary, i calll her
86: [00:28:57] <UncleCheese> i'm so annoying
87: [00:29:08] <Colin[pi]> hehe yes that's understandable :D
88: [00:29:28] <irogue> ss23: OH YEEAAHHHH
89: [00:29:33] <UncleCheese> i dunno
90: [00:29:38] <UncleCheese> there's no free lunch, dude
91: [00:29:40] <Colin[pi]> UncleCheese: like, the only times I've ever called is when it's something that I can not handle myself
92: [00:29:41] <ss23> Heard Colin[pi] was talkin shit about me
93: [00:29:50] <Colin[pi]> like when my water heater was about to explode, for example
94: [00:30:03] <irogue> I first contacted property manager 2 weeks after moving into the place
95: [00:30:08] <irogue> with a big list of plumbing issues
96: [00:30:10] <Colin[pi]> ss23: <3
97: [00:30:23] <irogue> next day a plumber called me asking when was a good time to come around
98: [00:30:39] <Colin[pi]> irogue: my water heater was "sweating"... like... water was dripping down the sides
99: [00:30:44] <irogue> surprised the bejesus outta me, after my previous property manager experiences
100: [00:30:46] <Colin[pi]> I'm like "that's.... not good"
101: [00:30:54] <irogue> Colin[pi]: yeah, not at all
102: [00:31:22] <Colin[pi]> the worst was when I was broken into though... the property manager did an inspection on the SAME DAY
103: [00:31:27] <Colin[pi]> I was broken into in the arvo
104: [00:31:36] <Colin[pi]> and I had told her in the morning that security was shit
105: [00:32:00] <irogue> my showerhead was completely fucked, water was going down the hose rather than actually outta the spout. the U-bend under the sink was leaking. the valve on the hot water cylinder was leaking. and the hot tap in the laundry wasn't just dripping, was constantly running.
106: [00:32:16] <Colin[pi]> irogue: not good
107: [00:32:20] <UncleCheese> are places like, open on labour day?
108: [00:32:29] <UncleCheese> like if i want to take my kid to get a cone at the waterfront?
109: [00:32:32] <Colin[pi]> UncleCheese: some I'd imagine
110: [00:32:32] <irogue> UncleCheese: big places, yes. supermarkets, dept stores etc
111: [00:32:37] <UncleCheese> ok cool
112: [00:32:38] <irogue> smaller places, probably not
113: [00:32:43] <UncleCheese> cause this country doesn't fuck around sometimes
114: [00:32:51] <UncleCheese> easter.. anzac day
115: [00:32:52] <irogue> cafes etc. are generally open but often have surcharges
116: [00:32:53] <UncleCheese> holy shit
117: [00:32:59] <UncleCheese> surcharges?!
118: [00:33:04] <irogue> i.e. you pay more because they have to pay their staff 1.5x as much to have them work today
119: [00:33:06] <UncleCheese> what does that mean?
120: [00:33:13] <Colin[pi]> holiday surcharge dude!
121: [00:33:18] <Colin[pi]> everyone does that shit
122: [00:33:18] <UncleCheese> wait
123: [00:33:27] <UncleCheese> so they pay their staff more, so that's my problem?
124: [00:33:31] <Colin[pi]> yes
125: [00:33:41] <UncleCheese> that is the most fucked up abomination of the free market i've ever heard
126: [00:33:52] <irogue> it's either they don't open, or they open and charge more
127: [00:33:54] <Colin[pi]> [11:26:47] <UncleCheese> the system is rigged, man
128: [00:33:59] <Colin[pi]> ^ this again
129: [00:33:59] <Colin[pi]> :P
130: [00:34:00] <irogue> since they don't get a choice on what they pay their staff today
131: [00:34:13] <UncleCheese> oh, it's mandatory?
132: [00:34:15] <irogue> yes
133: [00:34:41] <Colin[pi]> irogue: back on the property thing, after the break in, I dealt with after hours and weekend staff, the fucking arseholes did NOT want to come to fix my broken window until MONDAY
134: [00:34:46] <Colin[pi]> "oh can't it wait?" "NO IT FUCKING CANT YOU COCK FACE."
135: [00:34:51] <Colin[pi]> seriosuly
136: [00:35:09] <Colin[pi]> then my turd of a property manager, who was there on the same fucking day... not one phone call from her
137: [00:35:36] <Colin[pi]> spoke with her a week later "didn't think to call...? like to check?" "oh no, I thought the weekend staff handled everything, no?"
138: [00:35:41] <Colin[pi]> bitch
139: [00:35:49] <Colin[pi]> it's called courtesy.. compassion
140: [00:36:05] <Colin[pi]> that day I realised that I'm just a walking wallet to them... and expendable as a tenant
141: [00:36:27] <irogue> UncleCheese: its to help avoid situations like the US where its *supposedly* a holiday but minimum wage people at wal-mart etc. are forced to work anyway
142: [00:39:36] <simon_w|work> UncleCheese, also, you can't force staff to work public holidays, and those that do get a day in lieu
143: [00:39:38] * mayko has joined #silverstripe
144: [00:39:41] <irogue> yep
145: [00:39:47] <simon_w|work> (Assuming they would normally work on that day)
146: [00:40:31] <irogue> so if your employer wants you to work on a public holiday, your options are (a) say no, or (b) say yes, get to take the day off at another time AND get 50% extra pay for the day
147: [00:40:50] * mayko quit (Client Quit)
148: [00:41:22] <irogue> which of course means that those who need the money often end up volunteering to work on the holiday, allowing stores to stay open without making their employees hate their job even more :P
149: [00:42:16] <irogue> Colin[pi]: there's on particular real estate company here who also do property management, who have a *terrible* reputation
150: [00:42:35] <irogue> Colin[pi]: unfortunately I didn't find out about their reputation until I first ran into problems with them myself
151: [00:43:45] <irogue> ended up having to Tenancy Tribunal them, as soon as they got the summons they contacted me and gave me everything I wanted
152: [00:44:10] <irogue> tenancy tribunal generally favors the tenant by default, I think they knew they'd lose
153: [00:44:28] <Colin[pi]> haha nice
154: [00:44:33] <Colin[pi]> sucks you need to do that though
155: [00:44:36] <irogue> yep
156: [00:44:46] <irogue> they probably get away with it with a lot of people too
157: [00:44:50] <Colin[pi]> amazing what happens when you throw some clout around
158: [00:44:54] <irogue> who don't know they can tenancy tribunal
159: [00:45:14] <Colin[pi]> related story
160: [00:45:24] <Colin[pi]> former bank of mine here mistakenly set up pav tv direct debit on my account
161: [00:45:31] <Colin[pi]> had been going for some months
162: [00:45:41] <Colin[pi]> only noticed looking through the statement, like WTF is this?
163: [00:45:52] <Colin[pi]> went to talk to them, bitch manager suggested it was our fault
164: [00:46:10] <Colin[pi]> so condenscending... "oh now what would have happens is you would have filled out a direct debit form"
165: [00:46:16] <Colin[pi]> no we didnt you cunt, that's the point?
166: [00:46:28] <irogue> Colin[pi]: did you ask for a copy of the form?
167: [00:46:33] <Colin[pi]> well, went back and forth for a month to get it sorted
168: [00:46:55] <irogue> in NZ at least they have to keep copies of the direct debit form
169: [00:46:56] <Colin[pi]> eventually they found that it was due to an account holder with the same name, but the digit of the account was one different from mine
170: [00:46:58] <Colin[pi]> how weird is that
171: [00:47:17] <Colin[pi]> anyway, no apologies from them... and 6 weeks later, still $800 or so missing from my account
172: [00:47:25] <Colin[pi]> called them many times, each time a different story
173: [00:47:37] <Colin[pi]> oh now it's in this department, now it's progressed bla bla bla
174: [00:47:41] <Colin[pi]> fuck sake return my money
175: [00:48:01] <irogue> Colin[pi]: https://www.bankomb.org.nz/
176: [00:48:02] <Colin[pi]> got to a point where I called them and said "I want the money returned by COB monday, or I'll be taking legal action"
177: [00:48:06] <irogue> we have solutions for all this shit :P
178: [00:48:14] <Colin[pi]> now.. isnt it amazing
179: [00:48:20] <Colin[pi]> once I mentioned the L-word
180: [00:48:29] <Colin[pi]> the money was back in my account in less than 10 minutes
181: [00:48:31] <Colin[pi]> FUNNY THAT
182: [00:48:42] <irogue> Colin[pi]: haha
183: [00:48:56] <Colin[pi]> man, how quick they can be with persuasion ;)
184: [00:49:06] <irogue> I can't find the article, but someone here reported their bank to the police for theft
185: [00:49:12] <irogue> as money went AWOL from their account with no explanation
186: [00:49:18] <irogue> and the bank wasn't doing anything about it
187: [00:49:38] <ss23> 13:32:59 < UncleCheese> surcharges?!
188: [00:49:40] <ss23> 13:33:27 < UncleCheese> so they pay their staff more, so that's my problem?
189: [00:49:43] <ss23> 13:33:42 < UncleCheese> that is the most fucked up abomination of the free market i've ever heard
190: [00:49:48] <ss23> Meanwhile, in Tip-merica
191: [00:49:52] <irogue> hahaha
192: [00:50:16] <irogue> "compulsory" tipping, fuck that shit
193: [00:50:23] <Colin[pi]> ugh I hate that
194: [00:50:40] <Colin[pi]> for your convenience, we have included 17% gratuitity on your bill
195: [00:50:42] <Colin[pi]> GEE THANKS
196: [00:50:50] <irogue> SO CONVENIENT
197: [00:51:00] <simon_w|work> Only had to tip once last time I was in the US
198: [00:51:20] <simon_w|work> Getting fed at FB all the time was so much easier
199: [00:51:20] <irogue> know what'd really be convenient, america? if the price on the menu was exactly what I pay, like in civilised countries
200: [00:51:40] <Colin[pi]> irogue: it's like that with other stuff too, right? like electronics
201: [00:51:41] <simon_w|work> irogue, don't forget that that price doesn't include sales tax either
202: [00:51:55] <Colin[pi]> ^
203: [00:52:02] <irogue> price on the menu + tax + credit card fees + compulsory tip that probably never makes it to the wait staff
204: [00:52:12] <Colin[pi]> lol
205: [00:52:31] <Colin[pi]> my gf told me that in Brazil, the govt does not divulge the tax rates for goods
206: [00:52:40] <Colin[pi]> I'm like WTF?
207: [00:52:45] <Colin[pi]> nope, no one knows
208: [00:52:54] <Colin[pi]> so that $1000 iPhone might be 30% tax
209: [00:53:01] <Colin[pi]> no one has any idea except the govt
210: [00:53:08] <irogue> I spent a total of 3 hours in america, bought a bottle of coke at a cafe (to take away, didn't even sit down)
211: [00:53:21] <irogue> looked at the receipt afterwards and sure enough there was a gratuity added
212: [00:53:35] <Colin[pi]> irogue: meanwhile, I tipped a girl at Dennys and made her day
213: [00:53:39] <irogue> ya
214: [00:53:46] <Colin[pi]> the yanks with me were like "pssst, you dont tip at dennys"
215: [00:53:52] <Colin[pi]> I'm like "wtf how do I know?!?"
216: [00:53:54] <irogue> I tip here occasionally when I actually get good service
217: [00:54:12] <irogue> people are stoked because it actually means something, unlike when it's compulsory
218: [00:54:29] <irogue> (and because it's actually a tip, not virtually their entire wage)
219: [00:54:45] <Colin[pi]> irogue: my fav restaurant here now has a "enter your gratuity value" on the eftpos machine when I went to pay, grumble grumble
220: [00:55:16] * folibis has joined #silverstripe
221: [00:55:25] <simon_w|work> Colin[pi], ugh, fuck that
222: [00:55:32] <irogue> Colin[pi]: a few places here started turning that feature on. apparently there was sufficient kickback that many of them are now turning it back off
223: [00:55:51] <Colin[pi]> you can enter "0" ;)
224: [00:55:56] <irogue> of course
225: [00:56:01] <irogue> but it's still considered rude to ask
226: [00:56:04] <Colin[pi]> mm
227: [00:56:14] <Colin[pi]> just another way that AU is becoming more americanised every day
228: [00:56:20] <simon_w|work> If it's the pide house, it's not like the meals aren't massively overpriced already
229: [00:56:43] <Colin[pi]> also they charge $4/person for corkage
230: [00:56:53] <irogue> I'd only ever tip in cash anyway, otherwise there's no way to know that the business isn't just keeping it
231: [00:56:55] <Colin[pi]> and then they almost didn't open the bottle!
232: [00:57:57] <folibis> Hi all! I anybody can help me? I have a template Page.ss in UTF-8, My HTML page uses UTF-8 but I see there some error while displaying the page with cyrilic characters. I see it at lots of ?? signs
233: [00:58:11] <Colin[pi]> folibis: database encoding?
234: [00:58:21] <folibis> UTF-8 of cource )
235: [00:59:00] <folibis> it kooks like the engine breaks at first cyrilic string
236: [00:59:05] <folibis> )it looks
237: [00:59:09] <irogue> ss23: so how were you feelin' on saturday morning?
238: [00:59:13] <irogue> slash afternoon
239: [01:00:53] <UncleCheese> umm, you definitely have to tip ad Dennys
240: [01:00:56] <UncleCheese> who told you that
241: [01:01:22] <Colin[pi]> UncleCheese: peeps there, this was like 10 years ago but
242: [01:01:30] <Colin[pi]> dunno if it's changed now
243: [01:01:54] <folibis> is it possible to say to Silverstripe that all my *.ss files in UTF-8?
244: [01:02:09] <simon_w|work> folibis, what does the content-type header say?
245: [01:02:48] <folibis> @simon_w|work UTF-8
246: [01:03:26] <folibis> here is the link - http://ruslan.pw/
247: [01:03:50] <folibis> it looks like SS can't eat cyrilic characters ))
248: [01:04:21] <UncleCheese> really want to go look at this place. http://www.trademe.co.nz/property/residential-property-to-rent/auction-795940171.htm
249: [01:05:53] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
250: [01:06:07] * UncleCheese has joined #silverstripe
251: [01:06:39] <Colin[pi]> looks pretty sweet UncleCheese
252: [01:07:14] <simon_w|work> folibis, so that string's in the template?
253: [01:08:39] <folibis> @simon_w|work Yes, it is cyrillic string writen in main page template, no modules, includes etc.
254: [01:09:29] <ss23> irogue: Um
255: [01:09:34] <ss23> irogue: Fine, I didn't drink much at all
256: [01:09:51] <ss23> Was basically sober again by the time I left
257: [01:09:55] <folibis> may be SS use another encoding and can't compile the template?
258: [01:10:26] <folibis> is it possible to set up the engine working encoding in SS?
259: [01:10:36] <irogue> ss23: boring. I was regretting the tequila the next day :P
260: [01:11:01] <irogue> folibis: there are a number of other russian sites in SS, so we know it supports it. there must be something specifically causing this
261: [01:11:07] <irogue> e.g. http://thewebdevelopmentagency.ru/
262: [01:13:14] <folibis> yes I moved the site to another hosting and now can't get it work at the new hosting. but also I updated the SS version
263: [01:13:49] <folibis> idn ... both servers run UTf-8
264: [01:14:17] <irogue> folibis: my suspicion would be with the hosting rather than the SS version - as far as I'm aware nothing has been changed with languages/encoding recently
265: [01:15:12] <irogue> of course, it's possible that something changed in silverstripe, but I think less likely than issues with host
266: [01:15:32] <simon_w|work> folibis, how did you upload the files to the server?
267: [01:16:23] <folibis> Yes the only thing was changed is hosting so you right I guess ... but I really have no idea what to look for ...
268: [01:16:51] * Tanger has joined #silverstripe
269: [01:17:12] <folibis> I installed the new SS with composer and copied mysite and templates from the ols hosting
270: [01:17:22] <folibis> *old
271: [01:17:31] <simon_w|work> folibis, using FTP?
272: [01:17:37] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
273: [01:17:59] <irogue> ... a horse just rode past my house
274: [01:18:31] <irogue> I heard a weird noise, thought someone's car was fucked, looked out window, it's a horse
275: [01:18:49] <irogue> this is not a regular occurrence in Auckland
276: [01:18:58] <simon_w|work> irogue, and you're not in Hamilton, so it's probably not stolen either!
277: [01:19:25] <folibis> my log full of there strings - Error at framework/view/SSTemplateParser.php line 4728: Uncaught SSTemplateParseException: Parse error in template on line 1. Error was: Unexpected problem parsing template
278: [01:19:41] <folibis> SFTP
279: [01:20:27] <simon_w|work> folibis, okay, did you make sure the files were transferred in binary mode, not ascii?
280: [01:20:57] <irogue> simon_w|work: well... the guy wasn't wearing a helmet, and the horse didn't appear to be saddled
281: [01:21:02] <irogue> so... maybe stolen?
282: [01:21:42] <folibis> yes ... I transfered it with tar
283: [01:21:47] <irogue> but there arent really any farms around here o_O
284: [01:31:26] * markcl has joined #silverstripe
285: [01:31:32] <markcl> Hello
286: [01:31:42] <markcl> Im having problems with composer and Silverstripe
287: [01:31:43] <markcl> Could not scan for classes inside "framework//tests/behat/features/bootstrap" which does not appear to be a file nor a folder
288: [01:31:50] <markcl> I have no idea why
289: [01:31:55] <folibis> @simon_w|work I found that $Title places cyrillic string without problem. but if I place this string in the template I get error
290: [01:36:49] <irogue> markcl: that folder should exist
291: [01:41:57] <folibis> the problem place is SSTemplateParser->compileString() ... it cannot eat cyrillic string
292: [01:45:32] <folibis> irogue @simon_w|work can you lokk guys at the trace - http://ruslan.pw What's wrong here?
293: [01:57:12] <Colin[pi]> what's next irogue, a camel?
294: [02:06:51] <simon_w|work> folibis, what happens if you open LastArticles.ss in an editor on the server?
295: [02:06:57] <simon_w|work> Does it come out as utf8?
296: [02:33:21] <folibis> yes, it encoded in UTF-8, i open it in Kate over ssh and it shows that the file in UTF-8
297: [02:47:23] * veb has joined #silverstripe
298: [02:49:28] * vebbb has joined #silverstripe
299: [02:50:17] * kerosene quit (Ping timeout: 258 seconds)
300: [02:50:58] * vebbb quit (Client Quit)
301: [02:54:20] <Colin[pi]> haha so true: http://i.imgur.com/10CJWEf.gif
302: [02:55:44] <irogue> Colin[pi]: bahaha, yes
303: [02:55:55] <spronk2> lol
304: [02:56:02] <irogue> I generally sleep with feet out at the end of the bed, otherwise too hot
305: [02:56:42] <spronk2> hmm
306: [02:56:51] <spronk2> the trace doesn’t look utf-8y
307: [02:56:54] <irogue> but if I happen to have spotted a cockroach or whitetail in the house that day, my feet are staying well inside blankets, and I'll just sweaty in my sleep
308: [02:57:03] <spronk2> fuck whitetails
309: [02:57:05] <spronk2> i boil them
310: [02:57:20] <spronk2> well, to be more correct, i capture them and then pour boiling water into the glass
311: [02:57:30] <spronk2> they shrivel up gooood
312: [02:58:21] <Colin[pi]> spronk2: that's so mean... and awesome
313: [02:59:08] <Colin[pi]> irogue: sometimes I have these weird lucid dream things where a shadow in the room will turn into something horrible
314: [02:59:21] <Colin[pi]> and the worst part is it feels SO damn real
315: [02:59:45] <Colin[pi]> not like a dream where you wake up and can remember parts, I actually feel awake... freaks me the hell out lol
316: [03:02:55] <spronk2> uhh
317: [03:04:57] <irogue> Colin[pi]: fuck that shit
318: [03:05:27] <Colin[pi]> yeah I kinda panic for a sec and then realise "oh wait, I actually was almost asleep"
319: [03:05:27] <irogue> heh, the "State of Auckland" report cards have come out
320: [03:05:57] <irogue> Manurewa (my area) is 37% European, 33% Pacific, 25% Maori, 20% Asian
321: [03:06:17] <irogue> (Asian includes Indian, btw, which will probably be almost the entirety of that 20%)
322: [03:07:00] <irogue> and yes, before you do the math on that, people can identify as more than one
323: [03:10:07] <Colin[pi]> irogue: so... the significance is? (think I'm missing something!)
324: [03:11:40] <irogue> Colin[pi]: us whiteys are the minority around here! (and that's awesome)
325: [03:12:06] <Colin[pi]> oh once you combine the others? yeah
326: [03:12:19] <Colin[pi]> but its been that way for a while there, right?
327: [03:13:06] <markcl> How do I get the Silverstripe base path?
328: [03:14:26] <markcl> as in 'path'
329: [03:14:27] <markcl> not URL
330: [03:14:56] <Colin[pi]> markcl: BASE_PATH constant
331: [03:15:07] <irogue> Colin[pi]: yep. I suspected it was the case, but it's interesting to see the actual stats
332: [03:15:54] <markcl> Colin[pi]: wow. i wondered why i didn't try that. lol
333: [03:15:55] <markcl> thanks
334: [03:16:07] <irogue> Colin[pi]: kinda reated to a twitter conversation I was having yesterday, actually
335: [03:16:47] <irogue> the media here are making a fuss about "is South Auckland ready to accept a gay Prime Minister?" or something along those lines
336: [03:17:26] <irogue> cos one of the frontrunners for new leader of Labour is a gay guy
337: [03:17:37] <Tanger> jedateach: Hey jeda, could I pick your brain about SS Omnipay and ss-payments?
338: [03:17:50] <jedateach> yep
339: [03:19:23] <Colin[pi]> irogue: why is someone's sexuality still a thing?
340: [03:19:32] <Colin[pi]> (rhetorical question.. I know)
341: [03:19:47] <irogue> Colin[pi]: the media have got it into their heads that Pacific Islanders are super homophobic, and as South Auckland is one of the biggest Labour-voting areas, they've decided that's an issue
342: [03:19:56] <Colin[pi]> ahh
343: [03:20:09] <irogue> funny enough, the stats actually say that Asians are far more homophobic than Islanders, but media don't tend to care for stats :P
344: [03:20:35] <jedateach> Tanger: I’ve also set up https://gitter.im/burnbright/silverstripe-omnipay for specifically chatting about silverstripe omnipay
345: [03:21:27] <irogue> Colin[pi]: but the relation to those stats I posted earlier is that my electorate (Manurewa) has had a lesbian MP for quite some time now, and she keeps getting re-elected by a huge margin. some people suggested it was because Manurewa is more Maori rather than Islander, but those stats seem to crush that theory too
346: [03:21:45] <Tanger> jedateach: What I'm getting from the Payments module (branch 1.0 for SS 3.x) docs is only the SecurePayTech gateway supports DPS payments and the rest all use 3 party payments. Is this pretty accurate?
347: [03:21:54] <Tanger> Ah, I'll post my omnipay question/s on there then
348: [03:21:58] <Colin[pi]> irogue: interesting
349: [03:25:59] <irogue> Colin[pi]: grant robertson (the gay candidate for Labour leader) is also a beer-drinking, bbq-cooking "bloke", so overall not the type of gay that tends to particularly offend homophobes :P
350: [03:27:06] <Colin[pi]> I'm pretty progressive so I just don't get why it's an issue, the things people get worked up about is hilarious to me
351: [03:27:31] <irogue> yep
352: [03:28:08] <irogue> I find it mostly interesting that the only people (other than a few fringe religious groups) who are making a fuss are the media
353: [03:28:20] <Colin[pi]> mm
354: [03:28:29] <Colin[pi]> bit like how our opposition leader got behind (no pun intended) the gay marriage issue again the other day
355: [03:28:37] <Colin[pi]> every six months or so
356: [03:28:48] <Colin[pi]> someone comes out (no pun intended) and says they support gay marriage
357: [03:28:56] <Colin[pi]> the ol' gay marriage political football
358: [03:29:07] <irogue> lol
359: [03:29:08] <Colin[pi]> well, words are words, do something about it you fuckwits
360: [03:29:15] <irogue> we've been there, already done that :P
361: [03:30:24] <irogue> 77 to 44, with a right-wing government
362: [03:31:21] <irogue> catch up, 'straya :P
363: [03:31:31] <Colin[pi]> ha! yeah right
364: [03:31:39] <Colin[pi]> at the moment we're going further backwards
365: [03:32:56] <irogue> https://www.youtube.com/watch?v=q9pOJ8Bc_-g
366: [03:33:04] <irogue> Colin[pi]: get some decent internets while you're at it
367: [03:34:28] <Colin[pi]> irogue: sadly nope and here's why: https://www.youtube.com/watch?v=eWf63PIrZaE (I've posted this before)
368: [03:35:46] <simon_w|work> What I like is, even a year later, http://nbnco.com.au/about-the-nbn/network-technology.html still only mentions FTTP
369: [03:36:07] <simon_w|work> Good thing they're ineffectiveness carries over to screwing things up too
370: [03:36:10] <simon_w|work> *their
371: [03:37:15] <irogue> simon_w|work: isn't that cos NBNCo is only doing the FTTP stuff tho? they've just had their budget dropped hugely
372: [03:37:44] <irogue> I thought the plan was to ditch NBNCo and have Telstra do FTTN+VDSL
373: [03:37:48] <simon_w|work> irogue, it's because the government hasn't renegotiated the rollout contract
374: [03:38:33] <irogue> ah yep
375: [03:38:43] <markcl> Im getting this error after composer update:
376: [03:38:45] <markcl> Fatal error: Call to undefined method mysqli_stmt::get_result() in /Users/YPDigital/Desktop/Mounty/www/wedding-destinations/framework/model/connect/MySQLiConnector.php on line 248
377: [03:38:46] <irogue> so tehy're still working, just only toward the 22% target
378: [03:39:20] <Colin[pi]> irogue: basically the NBN has been cocked up in spectacular fashion
379: [03:39:26] <Colin[pi]> that's all you really need to know
380: [03:39:37] <irogue> yep
381: [03:39:40] <Colin[pi]> it could have been amazing, but LOL POLITICS
382: [03:39:46] <simon_w|work> markcl, are you sure you want to be running dev-master of framework?
383: [03:40:12] <simon_w|work> Colin[pi], but they're failing at cocking it up! FTTP is still currently happening
384: [03:40:22] <markcl> no
385: [03:40:36] <Colin[pi]> simon_w|work: yeah I think they've only recently started the FTTN trial.... after like 9 months
386: [03:40:58] <Colin[pi]> irogue: also it's now in control by a bunch of ex-Telstra execs who have been allowed to keep their stock options in Telstra... CONFLICT OF INTEREST MUCH?
387: [03:41:29] <simon_w|work> markcl, so switch to 3.1.x-dev or 3.1.6 depending on what one you want
388: [03:41:55] <simon_w|work> (That error is a known problem with the ORM rewrite and not using mysqlnd)
389: [03:42:12] <markcl> Whats in the master branch that caused it anyway?
390: [03:42:25] <simon_w|work> The ORM rewrite
391: [03:42:53] <irogue> yeah, never use master, lol
392: [03:44:59] <irogue> Colin[pi], simon_w|work: as of June this year, 26% of households in NZ are able to get UFB. NBNCo's *target* is 22% of households :P
393: [03:46:04] <Colin[pi]> irogue: there is a slight difference in land mass / geography though :P
394: [03:46:24] <irogue> of course, but also a relative difference in country's budget
395: [03:46:28] <simon_w|work> Colin[pi], Australia's population is a lot more dense though
396: [03:46:49] <simon_w|work> 22% is basically Melbourne and Sydney
397: [03:46:54] <Colin[pi]> simon_w|work: more than NZ? have you seen wellington? it's like canberra crammed into belconnen :P
398: [03:47:17] <irogue> Colin[pi]: I think the point is that the size of AU doesn't mean much, cos the vast majority is empty
399: [03:48:09] <Colin[pi]> irogue: well many of the rural NBN receivers would have been satellite anyway
400: [03:48:12] <Colin[pi]> not sure if that's changed now
401: [03:48:34] <simon_w|work> Colin[pi], I was wrong. 22% is basically Sydney and Canberra
402: [03:49:19] <irogue> https://www.dropbox.com/s/dp6jjgkrhny2ds5/ufb_rollout.png?dl=0
403: [03:49:31] <irogue> fuck yeah Northpower
404: [03:50:28] <irogue> the two companies that are far ahead in the rollout race are Northpower and Ultrafast Fibre (which is just a sub-brand of WEL Networks) - so both power lines companies
405: [03:50:36] <Colin[pi]> simon_w|work irogue: GAHHHH look how close I am to the NBN being built! http://i.imgur.com/3dYIvp1.png
406: [03:50:38] <Colin[pi]> FFFFUUUUUUUU
407: [03:51:15] <simon_w|work> Colin[pi], just move into those new apartments! :p
408: [03:51:37] <simon_w|work> Or build a 100+ unit development yourself
409: [03:52:53] <irogue> https://www.dropbox.com/s/m2a6i1g3cqcqy5l/ufb_manurewa.png?dl=0
410: [03:53:23] * willr quit (Quit: willr)
411: [03:53:33] <irogue> darkest blue is done, middle blue is by May 2015 (Jan/Feb for me), lightest blue (everywhere else on that snippet of map) is by 2019
412: [03:54:44] <Colin[pi]> irogue: the frustrating thing for me, is that turnbull (comms minister) is not a dumb man
413: [03:54:54] <Colin[pi]> he would know that their FTTN option is shit
414: [03:54:59] <Colin[pi]> but he peddles it anyway
415: [03:56:09] <irogue> yep
416: [03:56:10] <irogue> http://www.beehive.govt.nz/release/crown-fibre-holdings-board-appointments
417: [03:57:44] <Colin[pi]> irogue: new NBN (good version) recipient posted their stats: https://www.speedtest.net/result/3852833516.png
418: [03:59:31] <Colin[pi]> and then... http://www.zdnet.com/nbn-fibre-to-the-node-trial-reveals-slower-speeds-7000034688/
419: [03:59:43] <Colin[pi]> (like we didn't know that already..)
420: [04:00:16] <irogue> Colin[pi]: UFB stats within NZ http://pohq.me/GZBa.png and int'l (to AU) http://pohq.me/qOef.png (ignore the latency, there was a bad setting in their router)
421: [04:00:54] <irogue> haven't seen a speedtest for the 1Gbps option yet
422: [04:01:13] <Colin[pi]> upload is nice, what's up with that ping though?
423: [04:01:29] <Colin[pi]> oh nm
424: [04:01:36] <Colin[pi]> I see the 2nd part of your text :P
425: [04:02:09] <irogue> yeah
426: [04:02:26] <irogue> they had some bad QoS settings
427: [04:02:34] * willr has joined #silverstripe
428: [04:04:57] <Colin[pi]> irogue: my current connection: http://www.speedtest.net/result/3862068697.png
429: [04:05:01] <Colin[pi]> \o/ woot woto
430: [04:05:03] <irogue> Colin[pi]: the options at the moment are 100/20 ($109 unlimited), 200/20 ($139 unlimited), 200/200 ($179 unlimited) or 1000/20 (in beta, no prices yet). so obviously if you want to do up you go for 200/200
431: [04:05:03] <Colin[pi]> so awesome
432: [04:05:18] <irogue> Colin[pi]: the fuck is that, 2G?
433: [04:05:27] <Colin[pi]> irogue: ADSL "2+"
434: [04:06:26] <irogue> http://www.speedtest.net/my-result/3862070553
435: [04:06:31] <irogue> that's my shitty ASDL2+
436: [04:06:50] <irogue> it should be ~18Mbps but the wiring in this house is dodgy as fuck
437: [04:06:53] <Colin[pi]> irogue: I'm in the 3km - 4.5km zone though
438: [04:06:55] <irogue> cbf fixing it tho cos fibre in a few weeks
439: [04:07:50] <simon_w|work> Colin[pi], ouch. When I was in Lyons, I was still getting 2 down
440: [04:08:03] <simon_w|work> (Compared with a speedy 6 now! Whooooosh!)
441: [04:08:12] <Colin[pi]> mine would be at the top: http://i.imgur.com/oqirMTt.png dat attenuation
442: [04:08:27] <Colin[pi]> but how the fuck are some people getting 13 and 11 here?
443: [04:09:06] <simon_w|work> Colin[pi], VDSL
444: [04:09:16] <Colin[pi]> simon_w|work: with tpg?
445: [04:09:27] <irogue> VDSL doesn't work at all >1km
446: [04:09:31] <simon_w|work> Colin[pi], maybe? TransACT at least offers it
447: [04:09:50] <irogue> >800m ASDL2+ is usually quicker than VDSL
448: [04:10:10] <Colin[pi]> simon_w|work: I think TPG is doing FTTB now
449: [04:10:13] <Colin[pi]> but not here :(
450: [04:10:19] <simon_w|work> "The sole VDSL supplier in Canberra is TransACT, who use VDSL for Digital TV, Internet and WAN applications over their Fibre-To-The-Curb network."
451: [04:10:26] <Colin[pi]> yep
452: [04:10:26] <simon_w|work> Well, I guess that's how they can offer it then
453: [04:10:30] <spronk2> irogue: whats your attenuation?
454: [04:10:37] <Colin[pi]> and Transact has RETARDED data caps
455: [04:10:41] <Colin[pi]> http://transact.com.au/internet/transact/vdsl2/
456: [04:11:00] <Colin[pi]> OMG 100GB/month for $80! SIGN ME UP!
457: [04:11:23] <simon_w|work> 1TB/month for $150
458: [04:11:28] <simon_w|work> Stop being cheap :p
459: [04:11:34] <Colin[pi]> still retarded
460: [04:12:19] <Colin[pi]> tbh though I wouldn't go over 100-200GB/month now anyway really
461: [04:12:46] <simon_w|work> Looks like a fair chunk of the cost is the phone connection too
462: [04:13:28] <spronk2> the calculators reckon my attenuation of 26db should be good for 15-18mbit
463: [04:13:30] <spronk2> but i get 11-12
464: [04:13:35] <simon_w|work> Most annoying thing is the on/off peak data
465: [04:13:52] <simon_w|work> 50% split data, 66/33% split for the time
466: [04:14:04] <Colin[pi]> simon_w|work: I don't think I can get transact here anyway
467: [04:14:23] <simon_w|work> Colin[pi], you can get it in Lyons, so fairly sure you can
468: [04:14:27] <Colin[pi]> nope
469: [04:14:50] <Colin[pi]> well it says "phone and broadband", but doesn't go into specifics
470: [04:14:54] <Colin[pi]> I'd have to call them
471: [04:16:00] * spronk2 is just going to sign up with snap on their unlimited deal soon
472: [04:16:13] * willr quit (Quit: willr)
473: [04:16:34] * simon_w|work is going to wait for a normal month before deciding if he changes plan
474: [04:18:36] <irogue> http://devopsreactions.tumblr.com/post/100817988197/senior-in-action
475: [04:19:27] <simon_w|work> http://imgur.com/LSDjCM4
476: [04:19:51] <spronk2> omg
477: [04:19:54] <spronk2> tthat truck driver
478: [04:19:55] <spronk2> PRO
479: [04:20:22] <markcl> Man, TDD on Silverstripe is actually awesome
480: [04:20:26] <spronk2> ?
481: [04:20:43] <markcl> when you configure it to use Sqlite and use a ramdrive
482: [04:21:08] * Kingy[a] is now known as Kingy
483: [04:21:08] <spronk2> its still pretty slow
484: [04:21:23] <spronk2> needs proper mock implementation for db
485: [04:21:45] <markcl> I dunno, my whole test suite with around 12 cases takes around 12secs
486: [04:21:57] <spronk2> yeah
487: [04:21:59] <spronk2> exactly
488: [04:22:01] <spronk2> :P
489: [04:22:10] <spronk2> my current node.js app has >300 tests
490: [04:22:12] <spronk2> and it runs in 1sec
491: [04:22:22] <markcl> But it's PHP
492: [04:22:29] <spronk2> even still
493: [04:22:35] <markcl> It doesn't do precompiles and all the other things other languages have
494: [04:22:50] <spronk2> for our non-CSS php project our unit test suite runs in about 3 seconds
495: [04:22:56] <Colin[pi]> simon_w|work: just called Transact, BZZZT. Best I can get is ADSL2+ at max 3-4mbit
496: [04:23:02] <spronk2> again, about 300 tests
497: [04:23:09] <simon_w|work> Colin[pi], also, the TransACT ADSL plans turn out to be cheaper than advertised
498: [04:23:11] <simon_w|work> Gutted :p
499: [04:23:12] <spronk2> integration tests hit db and take about 20sec
500: [04:23:24] <spronk2> anything longer than a few seconds just takes too long IMO
501: [04:23:27] <markcl> By comparison then, the unit test suite for SS needs a lot of work.
502: [04:23:32] <Colin[pi]> simon_w|work: but he said lyons, curtin, deakin etc have been upgraded to VDSL2 so he reckons in the next six months or so it will be available here
503: [04:23:42] <markcl> Before it took me 30+s when I was just using MySQL
504: [04:23:46] <spronk2> yeah
505: [04:23:52] <spronk2> on mysql it’s unusably slow for tdd
506: [04:23:56] <markcl> Anyway, theres like 3x performance boost for using sqlite, and a ramdrive for the sql file
507: [04:23:59] <simon_w|work> Colin[pi], hmm, I should ring and see if they have any plans for Belconnen
508: [04:24:23] <simon_w|work> (iiNet said no, but that's iiNet)
509: [04:26:24] * simon_w|work would pay slightly more if he could get off ADSL
510: [04:30:22] <Colin[pi]> simon_w|work: try their address checker thingy: http://transact.com.au/internet/transact/
511: [04:30:34] <simon_w|work> Colin[pi], already know I can't get it
512: [04:30:37] <Colin[pi]> ah k
513: [04:30:46] <simon_w|work> Or there's no way I'd be on ADSL ;)
514: [04:30:54] <Colin[pi]> lol fair nuff
515: [04:31:03] <Colin[pi]> well fingers crossed within 6 months I can get it here
516: [04:31:26] <simon_w|work> Oh crap, I'm in a body corp. There's basically no chance of ever getting NBN.
517: [04:31:42] <Colin[pi]> HAR HAR
518: [04:34:37] <irogue> story of ss23's life
519: [04:38:38] <Colin[pi]> omg getting better! http://www.speedtest.net/result/3862104491.png
520: [04:38:53] <Colin[pi]> gone from F to F+ ^_^
521: [04:41:57] * veb has joined #silverstripe
522: [04:44:05] * folibis quit (Quit: Page closed)
523: [04:45:36] <simon_w|work> Woo, download party at Colin[pi]'s place!
524: [04:45:59] * SightUnseen has joined #silverstripe
525: [04:46:04] * SightUnseen has left #silverstripe
526: [04:46:30] <simon_w|work> Colin[pi], is that about what you tend to get as your max speed?
527: [04:47:18] <Colin[pi]> simon_w|work: I just called TPG
528: [04:47:28] <Colin[pi]> when I first moved in, I was getting about 4
529: [04:47:41] <Colin[pi]> but she said my profile was changed at one point (year or two back?)
530: [04:47:45] <Colin[pi]> to improve stability
531: [04:47:56] <Colin[pi]> she said I can try the standard profile again but it may affect stability
532: [04:48:37] <simon_w|work> Cause, that's basically ADSL speeds, so you might be able to get a discount by being capped to 2 Mbps
533: [04:49:28] <simon_w|work> Also, it turns out most people in NZ are surprised when I tell them AU's internet is complete shit
534: [04:49:38] <Colin[pi]> lol
535: [04:50:01] <simon_w|work> Which is especially amusing since NZ has pretty much always had better internet
536: [04:50:16] * cloph_away has joined #silverstripe
537: [04:50:17] * cloph quit (Ping timeout: 245 seconds)
538: [04:50:38] <simon_w|work> Even back when the entire country had to share a dial up connection to the US and UofA backed up the internet each night
539: [04:52:09] <mudmonth> a fair bit of AU internet is routed via NZ, my optus mate says they keep getting denied by various bodies from putting in a new line via SEA
540: [04:52:20] <mudmonth> probably quite literally 5eyes shit
541: [04:53:24] <simon_w|work> mudmonth, nah, southern cross goes straight from both countries out. Very little US-bound traffic goes AU->NZ->US or NZ->AU->US
542: [04:53:38] <simon_w|work> Except for that time Xtra routed everything through Au
543: [04:53:42] <mudmonth> we've done a lot of testing
544: [04:53:54] <mudmonth> the ping signatures confirm it
545: [04:54:37] <mudmonth> try a few different AU routes and you'll be seeing around 200 at the worst to west coast USA
546: [04:54:40] <mudmonth> instead of 140
547: [04:59:07] <simon_w|work> All my traceroutes are going straight across, and have a 200ms ping :p
548: [05:04:58] * spronk2 quit (Quit: spronk2)
549: [05:14:54] <Colin[pi]> not sure how i feel about this: http://moviepilot.com/posts/2014/10/22/scarlett-johansson-s-really-set-to-star-in-ghost-in-the-shell-2370550?lt_source=external,manual
550: [05:21:25] <simon_w|work> "Showing 36 changed files with 2,090 additions and 52 deletions."
551: [05:21:36] <simon_w|work> Worst thing about new features
552: [05:44:33] <Colin[pi]> simon_w|work: what, worst thing about new features is that things need to change?
553: [05:44:51] <simon_w|work> Colin[pi], my additions is a lot bigger than deletions
554: [05:45:00] <Colin[pi]> oh :P
555: [05:45:03] <simon_w|work> There's already a massive code bloat :p
556: [05:45:16] <Colin[pi]> well each new release generally gets bigger not smaller :P
557: [05:47:06] <Colin[pi]> simon_w|work: maybe we should all go back to Commodore 64's ;P
558: [05:49:44] <simon_w|work> Oh, if only people were taught to program on something like that
559: [05:49:50] <Colin[pi]> simon_w|work: I was!
560: [05:49:58] <Colin[pi]> well, taught myself back in the day :P
561: [05:50:02] <Colin[pi]> mm, basic
562: [05:50:06] <simon_w|work> They're starting to again with mobile devices, but getting people to care about memory usage is hard
563: [05:50:22] <simon_w|work> And program size
564: [05:50:40] <Colin[pi]> mm memory is cheap so it's like "ehhhh. i could optimise but meh."
565: [05:52:03] <simon_w|work> Number one source of crashes on iOS: OOM
566: [05:52:22] <simon_w|work> (Well, now that they've basically done away with dangling pointers)
567: [05:53:02] <Colin[pi]> I still think it's so cute how iOS apps just sneakily vanish with no message and you're back at springboard
568: [05:53:18] <Colin[pi]> "oh did I press the home button? I must have"
569: [05:53:28] <Colin[pi]> "because surely the app didn't crash"
570: [05:56:07] <irogue> simon_w|work: a mate of mine does all his PHP dev on a raspberry pi
571: [05:56:23] <irogue> just cos they're so low-spec, if it runs well on a pi, it'll run well on anything
572: [05:56:33] <Colin[pi]> I like the cut of his jib
573: [05:56:45] <Colin[pi]> does he dev in SS
574: [05:56:48] <Colin[pi]> HO HO HO
575: [05:58:35] <simon_w|work> If it runs well on a pi, what's the chances he's missing a large amount of 32-bit bugs? :p
576: [06:00:16] * willr has joined #silverstripe
577: [06:02:41] <irogue> simon_w|work: not *too* many arch-specific issues with PHP
578: [06:02:53] <irogue> Colin[pi]: bahaha, you're funny
579: [06:03:46] <Colin[pi]> irogue: I would have thought that pretty much just "rasmus php" would work well on a Pi
580: [06:04:56] <irogue> basically any non-framework php works well on a pi :P
581: [06:05:46] <irogue> but yes, he's also anti-OO, so basically writes in php4
582: [06:06:07] <Colin[pi]> "i'd use about 4 or 5 classes per page" rasmus, oh you
583: [06:08:31] * markcl has left #silverstripe
584: [06:19:08] * jedateach quit (Quit: jedateach)
585: [06:24:57] * Kingy is now known as Kingy[a]
586: [06:26:54] * Colin[pi] quit (Ping timeout: 265 seconds)
587: [06:29:54] <simon_w|work> Better idea, use HHVM which makes objects cheap
588: [06:30:01] <simon_w|work> Though good luck getting that running on a Pi :p
589: [06:50:25] * kerosene has joined #silverstripe
590: [07:04:40] * willr quit (Quit: willr)
591: [07:11:07] * wmk has joined #silverstripe
592: [07:31:07] * Eliseth has joined #silverstripe
593: [07:40:04] * UncleCheese has joined #silverstripe
594: [07:40:32] <Eliseth> Morning
595: [07:42:11] * mirrors has joined #silverstripe
596: [07:55:36] * Err404NotFound has joined #silverstripe
597: [08:03:55] * spronk2 has joined #silverstripe
598: [08:07:56] * jedateach has joined #silverstripe
599: [08:12:09] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
600: [08:13:46] * mirrors quit (Quit: Page closed)
601: [08:19:39] * ss31noob has joined #silverstripe
602: [08:21:16] <ss31noob> hi guys.. i am implementing gridfield in the site when i noticed this error when trying to check the pagination of the gridfield.. does anyone encountered this error in GridField? ERROR [User Error]: Uncaught InvalidArgumentException: Can't handle action '' and its from framework/forms/gridfield/GridField.php
603: [08:35:41] <wmk> strange error
604: [08:44:29] * Err404NotFound quit (Ping timeout: 258 seconds)
605: [08:48:08] * caamic30 has joined #silverstripe
606: [08:51:04] * gavro has joined #silverstripe
607: [08:53:19] * Fuxo has joined #silverstripe
608: [08:54:15] <ss31noob> wmk, it is really strange.. it is working in my local machine but when i deploy it in the test server.. its not working
609: [08:54:47] <wmk> other php version? error log? dev/test/live mode?
610: [08:55:04] <wmk> the standard debugging stack...
611: [08:55:21] <wmk> and of course: flush... bui bet you didn't forget the toilet
612: [08:56:04] <ss31noob> yes.. i didnt forget to flush it
613: [08:57:44] <wmk> oh. working now?
614: [08:58:12] * wmk wonders if there could be a system for automatically flush stuff when php code changes
615: [08:58:19] <wmk> something like a watch job
616: [08:58:32] <wmk> but i guess it has other downsides...
617: [08:58:40] <wmk> better flush automatically on deploy
618: [08:58:53] <wmk> (can phpstorm call a flush when deploying with ftp?)
619: [08:58:55] * stnvh has joined #silverstripe
620: [09:01:36] <wmk> seems not so :(
621: [09:03:24] <ss31noob> wmk, nahh its not working
622: [09:03:44] * Marvanni has joined #silverstripe
623: [09:04:29] <wmk> ss31noob, did the orm change?
624: [09:04:40] <wmk> so maybe you need a dev/build on the live machine to get it working.
625: [09:04:45] <wmk> dunno what you've deployed
626: [09:05:18] <Marvanni> So I have to use Session::set('something', $data); outside a controller in a ViewableDataOject. If I var dump the Session::get('something'); the data is updated. But as I am in the controller after a redirect, I get the previous value of the changed session.
627: [09:05:23] <Marvanni> I tried to use Session::save(); but that does not help.
628: [09:05:31] <Marvanni> Now, If i use $_SESSION['something'] = $data; al works fine....
629: [09:09:13] <irogue> Marvanni: it's a bug I've noticed. Its on my todo list to try to fix it, but I haven't got there yet
630: [09:09:22] <irogue> in the meantime I'm just using $_SESSION'
631: [09:13:11] * simon_w|air has joined #silverstripe
632: [09:20:55] <spronk2> has anyone here set up a full heroku-style deployment setup?
633: [09:20:57] <spronk2> like
634: [09:21:02] <spronk2> git push
635: [09:21:04] <spronk2> —> done
636: [09:23:07] <Marvanni> irogue thanks... I remember it happened in 2.4 as well.. good to know its not me :)
637: [09:24:09] * r_hector quit (Quit: Leaving.)
638: [09:25:44] * Pymdyzzk has joined #silverstripe
639: [09:28:11] <wmk> hey Pymdyzzk
640: [09:28:35] <Pymdyzzk> morgen wmk
641: [09:29:25] <wmk> damn. magnific popup doesn't fire the popup...
642: [09:37:20] <Marvanni> are there any risks in serialising an object that has already serialized objects in it ?
643: [09:38:47] * NETim has joined #silverstripe
644: [09:38:59] <simon_w> No
645: [09:39:10] <Marvanni> ok, thanks
646: [09:39:23] <NETim> Morning, anyone know how to completely disable SS3 cache?
647: [09:39:35] * Tanger quit (Quit: Tanger)
648: [09:39:43] <simon_w> NETim, you really don't want to
649: [09:40:08] * Colin[pi] has joined #silverstripe
650: [09:40:29] * Tanger has joined #silverstripe
651: [09:40:38] * Tanger quit (Client Quit)
652: [09:41:52] <Pymdyzzk> wmk: ?
653: [09:42:22] <wmk> Pymdyzzk, javascript issue. somehow it didn't fire a popup but only the fallback link
654: [09:42:29] <wmk> solved now
655: [09:42:37] <Pymdyzzk> NETim: there are ways to assist it, but do not disable it. Lest you want every request to be as long as a ?flush
656: [09:42:41] <Pymdyzzk> (or longer)
657: [09:42:55] <NETim> hm... any way to stop the image cache then?
658: [09:43:06] <NETim> It's being stupid and not flushing when run from sake.
659: [09:43:10] <wmk> delete the files.....
660: [09:43:17] <wmk> afaik there is a clear image task
661: [09:43:24] <Pymdyzzk> NETim: describe 'image cache', there are either images or there aren't.
662: [09:43:38] <Pymdyzzk> and if you mean _resampled images, then they're not supposed to regenerate on a flush.
663: [09:43:45] <wmk> /dev/tasks/FlushGeneratedImagesTask NETim
664: [09:43:50] <Pymdyzzk> there is (or was, iirc) another task for it
665: [09:43:56] <Pymdyzzk> boom, wmk saves the day :>
666: [09:44:00] <wmk> ;)
667: [09:44:01] <NETim> Silverstripe caches dataobjects, including the images on them.
668: [09:44:07] <wmk> dunno if the task works.
669: [09:44:10] <NETim> hm... wmk, tried that one unfortunately.
670: [09:44:10] <Pymdyzzk> NETim: no it doesn't.
671: [09:44:30] <wmk> well, NETim what kind of images do you need to un-cache?
672: [09:44:32] <Pymdyzzk> well, unless by 'caching' you mean 'stores information in a database'.
673: [09:45:06] <wmk> deleting all cached images by hand causes images inside a htmleditorfield to disappear, as they are generated on save
674: [09:45:12] <NETim> We run an updater that builds/updates dataobjects. The databjects have images.
675: [09:45:21] * veb quit (Quit: preprocessor-irc-cli)
676: [09:45:27] <NETim> When the updater is run the new images are added but not used on display.
677: [09:45:28] <wmk> other images you define with an extra function are generated when called in the template
678: [09:46:06] <Pymdyzzk> [09:45] <NETim> We run an updater that builds/updates dataobjects. The databjects have images.
679: [09:46:08] <Pymdyzzk> what?
680: [09:46:15] <NETim> answering wmk.
681: [09:46:16] <wmk> the images are added to DB / cache file, but the images are not displayed??
682: [09:46:21] <NETim> yep.
683: [09:46:32] <Pymdyzzk> then they're not being generated.
684: [09:46:35] <wmk> you want to display them?
685: [09:46:45] <Pymdyzzk> that's the only reason a 404 comes up.
686: [09:46:46] <NETim> We know the images are there, we can see them in the FTP, and if we run a flush in the browser, the correct images are used.
687: [09:46:54] <Pymdyzzk> well then 403, whatever
688: [09:47:14] <Pymdyzzk> NETim: so you're saying that you need to ?flush and suddenly images?
689: [09:47:14] <wmk> the images are generated and you can see them in ftp, call them with the correct url
690: [09:47:23] <NETim> we are.
691: [09:47:27] <Pymdyzzk> NETim: so you're saying that you need to ?flush and suddenly images?
692: [09:47:30] <wmk> you use partial caching?
693: [09:47:30] <NETim> yes.
694: [09:47:37] <Pymdyzzk> ^^
695: [09:47:38] <NETim> yes to Py, no to wmk
696: [09:47:50] <Pymdyzzk> NETim: forward proxy?
697: [09:47:55] <NETim> nope.
698: [09:47:56] <wmk> seems like images ARE genarated but html isn't updated
699: [09:48:11] <Pymdyzzk> NETim: so... where are these images/
700: [09:48:11] <Pymdyzzk> ?
701: [09:48:22] <Pymdyzzk> ie, in relation schema
702: [09:48:29] <NETim> sort of. The oddity that we can't fix is that a browser flush works but flushing using sake doesn't/
703: [09:48:36] <Pymdyzzk> yourthing->has_one:image?
704: [09:48:43] <NETim> has_many
705: [09:48:51] <Pymdyzzk> NETim: different caches
706: [09:49:00] <Pymdyzzk> depending on your version of SS
707: [09:49:02] <NETim> thought that, but I'm specifying the cache_dir now.
708: [09:49:03] <wmk> NETim, sake may not be the www user
709: [09:49:47] <NETim> the cron is being run by root, www doesn't have the perms to execute CLI php.
710: [09:50:05] <wmk> but browser flush is run by www
711: [09:50:16] <wmk> afaik there are different caches for www and other users
712: [09:50:32] <NETim> yep. Spoke to some guys on here last week who said that specifying the cache dir would get around that.
713: [09:51:16] <wmk> and - did you specify it?
714: [09:51:20] <NETim> yep.
715: [09:51:26] <NETim> and no, still fail.
716: [09:51:26] <wmk> but it didn't work?
717: [09:51:30] <NETim> ^
718: [09:51:41] * g4b0_ has joined #silverstripe
719: [09:52:08] <wmk> and you cannot do sudo -u www-data /path/to/sake ??
720: [09:52:15] <g4b0_> hi all
721: [09:52:24] <wmk> cause when you flush in a browser normally nothing else is done
722: [09:52:27] <NETim> not in cron, out hosts won't allow www into the sudoers group.
723: [09:52:35] <g4b0_> is there a way to translate $singular_name?
724: [09:52:43] <wmk> g4b0_, translate it
725: [09:52:59] <wmk> run text collector task and see it's already in your lang file
726: [09:54:10] <wmk> there is already DESCRIPTION, PLURALNAME and SINGULARNAME, at least when the name is defined in your DO
727: [09:54:14] <Pymdyzzk> NETim: how about curl localhost/?flush
728: [09:54:22] <Pymdyzzk> y'know, just coz
729: [09:54:55] <wmk> Pymdyzzk, but ... there must be any other cache / db cache or something
730: [09:55:03] <g4b0_> wmk: where is the text collector task?
731: [09:55:05] <wmk> NETim, does your updater script use ORM?
732: [09:55:31] <wmk> g4b0_, http://127.0.0.1:8080/dev/tasks/i18nTextCollectorTask?module=mymodulename
733: [09:55:37] <Pymdyzzk> wmk: probably there's something going funny idek
734: [09:55:53] <wmk> or either http://127.0.0.1:8080/dev/tasks/i18nTextCollectorTask?module=themes/mytheme if you want to collect stuff from your theme in 3.1
735: [09:55:53] <g4b0_> mmm
736: [09:56:12] <wmk> g4b0_, see /dev/tasks for all tasks available
737: [09:56:48] <wmk> g4b0_, normally you should only use text collector. define stuff in your code / templates and run collector.
738: [09:56:58] <wmk> works fine if you use one language in your code
739: [09:57:04] <NETim> wmk, yep.
740: [09:57:06] <wmk> best if english ;)
741: [09:57:12] <g4b0_> this is my do
742: [09:57:20] <g4b0_> http://pastebin.com/cVYrJk9V
743: [09:57:31] <g4b0_> I did not use the _t() function
744: [09:57:45] <wmk> you don't need for singular name
745: [09:57:48] <Marvanni> if I add a method setContent($content) to my DO. should it also get called when setting $db->Content ?
746: [09:58:06] <g4b0_> ah, ok
747: [09:58:23] <NETim> Pymdyzzk, could use curl I suppose. I've had words with the hosts about www's perms.
748: [09:58:25] <wmk> g4b0_, see DataObject::3560 provideI18nEntities function
749: [09:58:29] <wmk> eh method
750: [09:58:39] <g4b0_> ok
751: [09:59:12] <wmk> g4b0_, we also encountered that field names can be translated automatically without defining them manually
752: [09:59:32] <wmk> just use e.g. db_Title or has_one_Image as translation keys
753: [09:59:47] <wmk> unfortunately those keys are not generated automatically
754: [09:59:58] <Marvanni> nvm, it does...
755: [10:00:20] <g4b0_> wmk: nice task!
756: [10:00:47] <wmk> g4b0_, also works with themes when you define ?modoule=themes/mytheme
757: [10:03:33] <Pymdyzzk> NETim: i'm not sure increasing www's perms is a good idea at all
758: [10:04:44] <NETim> The hosts are looking into something to allow us to run the cron task as www. Currently it doesn't have perms to run php-cli
759: [10:06:57] <Pymdyzzk> urgh, that sounds bad :<
760: [10:07:19] <NETim> Which bit, none of it sounds particularly amazing.
761: [10:07:56] * simon_w|air quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
762: [10:09:13] <g4b0_> wmk: in my previous example, how can I translate static $db = array(); entries?
763: [10:10:03] <wmk> afaik db_Name, db_PreparationTime
764: [10:10:09] <wmk> has_one_Book
765: [10:10:53] <wmk> see DataObject:3279, method fieldLabels()
766: [10:11:00] <g4b0_> ah, ok
767: [10:11:19] <wmk> unfortunaltely not autogenerated in collector task yet
768: [10:11:33] <g4b0_> now I understand what you was saying 5 minutes ago :)
769: [10:12:12] <wmk> np
770: [10:17:33] <Pymdyzzk> wmk: what is your email subject of the day?
771: [10:17:47] <Pymdyzzk> google is not helping me understand this :<
772: [10:18:40] <wmk> Pymdyzzk, it's just wrong german
773: [10:18:59] <wmk> seems like auto translated spam
774: [10:20:00] <g4b0_> wmk: does internazionalization works with belongs_many_many entries?
775: [10:20:16] <wmk> g4b0_, good question
776: [10:20:39] <g4b0_> it seems not working...
777: [10:20:40] <wmk> hmm, seems not
778: [10:20:43] <g4b0_> http://pastebin.com/YTrkUAAn
779: [10:20:51] <wmk> just see db, has_one, has_many and many_many in code
780: [10:20:52] <Pymdyzzk> wmk: ah!
781: [10:20:55] <g4b0_> belongs_many_many_Recipes: Ricette
782: [10:21:00] <Pymdyzzk> that'd be why google can't untranslate it :P
783: [10:21:07] <wmk> you found a bug ;)
784: [10:21:11] <g4b0_> wow
785: [10:21:21] <g4b0_> Let's create a new issue :)
786: [10:21:28] <wmk> you can of course use updateFieldLabels()
787: [10:21:45] <wmk> though adding a line around 3294 in DataObject and add your type should do the trick
788: [10:21:46] <g4b0_> I do prefer to have the bug fixed, I'm not in hurry
789: [10:21:57] <wmk> g4b0_, fix it and PR
790: [10:22:03] <g4b0_> let's try...
791: [10:27:31] * arnhoe has joined #silverstripe
792: [10:28:13] <arnhoe> hi, anyone familiar with [Notice] Use of undefined constant  - assumed ' '. Weirdly enough I cant find  in any of my files, what would should I look out for? SublimeLinter isn't giving any errors in the file
793: [10:28:32] <spronk2> check encodings, arnhoe
794: [10:29:04] * lerni_ has joined #silverstripe
795: [10:31:22] <arnhoe> how exactly could I do that spronk2 ?
796: [10:31:45] <spronk2> hmm, in text editor through your files, look through to see if any aren’t utf-8
797: [10:32:46] <spronk2> also
798: [10:32:48] <spronk2> show hidden characters
799: [10:33:10] <spronk2> it could be soething like a hidden non-space space character somewhere
800: [10:33:18] <spronk2> does it give you a line number?
801: [10:33:32] <arnhoe> yeah, but thats basically a trialingspace right?
802: [10:33:43] <spronk2> well
803: [10:33:43] <spronk2> maybe
804: [10:33:44] <arnhoe> nah, it doesnt otherwise I would have fixed it :(
805: [10:33:56] <arnhoe> Line 20 in /Users/arnhoe/Dropbox/#Development/#Websites/#Brancom/Brancom/www/v3/framework/control/injector/InjectionCreator.php
806: [10:34:04] <spronk2> hmm
807: [10:34:06] <spronk2> oh
808: [10:34:09] <arnhoe> but righta fter it goes wrong in ShowcasePage
809: [10:34:11] <spronk2> could be in a yaml file somewhere?
810: [10:34:14] <arnhoe> so its something there
811: [10:34:18] <arnhoe> hmm
812: [10:35:36] <spronk2> it could be
813: [10:35:38] <arnhoe> file is utf-8
814: [10:35:42] <spronk2> have you edited any yaml files yoursel?
815: [10:35:43] <spronk2> f
816: [10:35:53] <arnhoe> yeah, doesnt seem anything wrong in there
817: [10:35:57] <spronk2> hmm
818: [10:36:08] <spronk2> paste your yaml
819: [10:36:09] <spronk2> ?
820: [10:36:38] <arnhoe> Always worked with the comments, http://www.sspaste.com/paste/show/544e1adc1cbec
821: [10:37:03] <spronk2> hmm
822: [10:37:17] <spronk2> nothing looks weird there ...
823: [10:37:38] <spronk2> actually
824: [10:37:58] <spronk2> hmm
825: [10:37:59] * caamic30 quit (Quit: caamic30)
826: [10:38:06] <spronk2> unless the yaml parser has issues with comments not starting on start of line? :S
827: [10:38:13] <spronk2> surely not
828: [10:39:02] <arnhoe> nah, because couple others got it aswell
829: [10:39:06] <g4b0_> wmk: done!
830: [10:39:07] <arnhoe> only starts to break at ShowcasePage
831: [10:39:08] <g4b0_> https://github.com/silverstripe/silverstripe-framework/pull/3582
832: [10:39:23] <wmk> ah. just wanted to comment your issue
833: [10:39:24] <spronk2> hmm
834: [10:39:26] <spronk2> paste showcasepage?
835: [10:39:37] <arnhoe> did composer reinstall with framework/cms, so shouldnt be there
836: [10:40:10] * ss31noob quit (Ping timeout: 246 seconds)
837: [10:40:34] <arnhoe> spronk2: http://www.sspaste.com/paste/show/544e1bbca24c6
838: [10:42:04] <g4b0_> I did create the issue just to have a number to use in my commit
839: [10:42:08] <spronk2> hmm
840: [10:42:38] <spronk2> arnhoe: i’m going to suggest sticking var_dumps through the code
841: [10:42:41] <spronk2> to see if it hits a certain point
842: [10:42:52] <g4b0_> In that cases is it sufficient to create a PR without an issue?
843: [10:42:54] <spronk2> on showcasepage
844: [10:43:03] <spronk2> not sure whether it’ll work, but…. worth a try
845: [10:43:27] <wmk> dunno g4b0_
846: [10:44:03] <g4b0_> np
847: [10:44:04] <wmk> if you fix it yourself you can also only create a PR, dunno if it will be merged easier if there is an corresponding issue
848: [10:44:15] <arnhoe> I see, yeah must lay in this page. Because if I build without it then it works
849: [10:44:15] <wmk> at least if you opened it yourself a minute ago ;)
850: [10:44:39] <wmk> arnhoe, sounds like corrupt utf8 character
851: [10:45:11] * wmk has left #silverstripe
852: [10:45:17] * wmk has joined #silverstripe
853: [10:46:36] <g4b0_> wmk from the docs: Before you start working on a new feature or bugfix, create a new branch dedicated to that one change named by issue number and description. If you're working on Issue #100, a retweet bugfix, create a new branch with the issue number and description,
854: [10:46:46] <g4b0_> git branch 100-dataobject-get-one
855: [10:47:07] <wmk> ah. sounds useful
856: [10:48:07] <wmk> g4b0_, this way we can learn from each other ;)
857: [10:48:15] <g4b0_> :D
858: [10:48:18] <wmk> time for lunch...
859: [10:49:34] <arnhoe> spronk2: "ContentMobile" => "HTMLText", 
860: [10:49:43] <arnhoe> had a space after all
861: [10:49:57] <spronk2> heh
862: [10:50:00] <spronk2> craaazy
863: [10:50:03] <arnhoe> doesnt make any sense
864: [10:50:15] <spronk2> might have been a weird space
865: [10:50:41] <spronk2> you know, non 2F
866: [10:50:49] <spronk2> err
867: [10:50:49] <spronk2> 20
868: [10:50:56] <arnhoe> yeah perhaps when closing sublime did a weird combination
869: [10:51:10] <arnhoe> 20F ?
870: [10:51:37] <spronk2> nono
871: [10:51:38] <spronk2> 20
872: [10:51:41] <spronk2> hex
873: [10:51:43] <spronk2> for space
874: [10:52:21] <arnhoe> not exactly
875: [10:53:55] * caamic30 has joined #silverstripe
876: [10:56:46] * Colin[pi] quit (Ping timeout: 244 seconds)
877: [11:02:20] <Pymdyzzk> g4b0_: If you've made a fix, just PR with a decent explanation. A PR basically IS an issue.
878: [11:05:42] <g4b0_> Pymdyzzk: Ok, next time I will avoid The issue
879: [11:06:02] <Pymdyzzk> I mean, it doesn't matter if you do I guess, but there's not much point, it's just more work for you :)
880: [11:06:50] <g4b0_> off course :)
881: [11:26:19] * lerni_ quit (Remote host closed the connection)
882: [11:28:42] <spronk2> scheet
883: [11:28:43] <spronk2> the walking dead
884: [11:28:44] <spronk2> is good
885: [11:28:45] <spronk2> .
886: [11:30:06] <Pymdyzzk> go to bed spronk2
887: [11:30:09] <spronk2> NO
888: [11:30:11] <spronk2> :P
889: [11:32:07] <ss23> GO TO BED spronk2
890: [11:32:08] * ss23 glares
891: [11:32:12] <spronk2> haha
892: [11:32:25] <spronk2> the fuck you doing up ss23
893: [11:34:05] <ss23> Bitch it's a long weekend
894: [11:34:12] <spronk2> you mean
895: [11:34:13] <ss23> Each day my sleeping pattern gains +2 hours forward
896: [11:34:13] <spronk2> was
897: [11:34:18] <spronk2> :(
898: [11:34:29] <ss23> lol
899: [11:34:41] <ss23> So, Saturday I wake up at midday, 2pm sunday, 4pm monday, so of course I won't go to b ed till ~8am today
900: [11:34:49] <spronk2> lol
901: [11:36:15] * g4b0_ quit (Ping timeout: 244 seconds)
902: [11:45:26] * Sj0hn has joined #silverstripe
903: [11:45:27] * caamic30 quit (Quit: caamic30)
904: [11:52:47] * Robke has joined #silverstripe
905: [11:57:12] * lerni has joined #silverstripe
906: [11:59:51] * lerni quit (Read error: Connection reset by peer)
907: [12:00:17] * lerni has joined #silverstripe
908: [12:01:31] <Robke> hm... i have a sitetree dropdown :) and i want to add in template if this dropdown is selected you should be redirected to that page diretcly if not ajax should be loaded :)
909: [12:02:15] <Robke> my question is how to pass a variable in href :) i mean i get $baseHref/LinkedID but i want to have $baseHref/blablabla/LinkedID
910: [12:04:23] * lerni quit (Ping timeout: 240 seconds)
911: [12:06:29] * r3v3rb has joined #silverstripe
912: [12:06:59] <r3v3rb> any idea why the static cache on a site wouldn’t use the index.html file that has been created?
913: [12:07:33] <r3v3rb> the file is in the cache but the site always uses the dynamic version from the CMS - its not in the ignored pages array either…
914: [12:11:17] * lerni has joined #silverstripe
915: [12:27:25] * caamic30 has joined #silverstripe
916: [12:44:37] <Pymdyzzk> Robke: <% loop Menu(1) %><option value="$Link">$Title</option><% end_loop %>
917: [12:45:09] <Pymdyzzk> idk r3v3rb, I've never played with caching sorry
918: [12:45:36] <Pymdyzzk> at a guess I'd say something to do with it being named index, and .htaccess rules
919: [12:52:14] <Robke> well i found i did some mistakes in php code :)
920: [12:56:49] * stnvh quit (Ping timeout: 255 seconds)
921: [12:57:15] * gavro_ has joined #silverstripe
922: [12:59:13] <r3v3rb> Pymdyzzk: you’re absolutely right - the file is called index.html and the .htaccess is setup to rewrite the url to /cache/index.html for the /
923: [12:59:23] <r3v3rb> however in practice this isn’t functioning
924: [13:00:15] * gavro quit (Ping timeout: 244 seconds)
925: [13:00:54] * gavro has joined #silverstripe
926: [13:01:56] <Pymdyzzk> r3v3rb: yeah but documentIndex takes precedent afaik
927: [13:02:09] <Pymdyzzk> ie, php before index.file
928: [13:02:18] <Pymdyzzk> mebbe, idk.
929: [13:02:32] <Pymdyzzk> try rearranging it and see what happens.
930: [13:02:35] * Pymdyzzk shrugs
931: [13:04:41] * gavro_ quit (Ping timeout: 260 seconds)
932: [13:04:51] * Shrike_Finland has joined #silverstripe
933: [13:06:54] <wmk> r3v3rb, hmm, noticed this, too...
934: [13:09:13] <wmk> staticpublisher redirects to staticpublisher/main.php
935: [13:12:04] * jcwacky has joined #silverstripe
936: [13:12:43] <wmk> r3v3rb, did you find something?
937: [13:15:21] <jcwacky> What’s the best way to set the base_tag to “https” when a SilverStripe site is in “live” mode?
938: [13:16:30] <wmk> jcwacky, from searching for https in director: i'd define config value Director.alternate_protocol
939: [13:16:46] * Marvanni quit (Ping timeout: 265 seconds)
940: [13:16:57] * Marvanni has joined #silverstripe
941: [13:17:12] <wmk> you can make a dev/test/live switch in your config.yml
942: [13:17:15] <jcwacky> wmk: Ah, I’d found alternate_base_url but wanted to avoid hard coding the domain. Thanks, that should do the trick!
943: [13:17:31] <wmk> jcwacky, just go to the source ;)
944: [13:18:39] <jcwacky> I had, just hadn’t realised there were specific https fucntions, was too focused on modiying the base! :)
945: [13:19:06] <wmk> hehe. well, i searched for "https", good you asked
946: [13:19:19] <jcwacky> Bah, typos!
947: [13:19:22] <jcwacky> Thanks.
948: [13:19:25] <wmk> r3v3rb, ping
949: [13:21:03] * g4b0_ has joined #silverstripe
950: [13:26:30] <wmk> r3v3rb, i guess you'll need a _homepage-map.php in your assets
951: [13:27:17] <wmk> with a $homepageMap = array('domain' => 'urlsegment');
952: [13:27:32] <wmk> works now over here....
953: [13:27:52] <wmk> i used homepagefordomain module to link to another page than "home"
954: [13:29:43] * UndefinedOffset has joined #silverstripe
955: [13:36:03] * stnvh has joined #silverstripe
956: [13:41:50] * muskie9 has joined #silverstripe
957: [13:53:31] <Robke> hm... how to get parent id on php ? :D
958: [13:53:40] <Robke> i mean return $this.... :D
959: [13:53:58] * Shrike_Finland quit (Quit: Leaving.)
960: [13:55:26] <wmk> Robke, the id of the parent page?
961: [13:55:31] <wmk> $this->ParentID
962: [13:55:44] <Robke> thanks i will try
963: [13:56:13] <wmk> works for sitetree, cause SiteTree has Hierarchy extension
964: [13:57:18] <Robke> well i needto get image from parent page
965: [13:57:20] <Robke> :)
966: [13:57:28] <Robke> so i need parent id for this as i understand
967: [13:57:29] * muskie9 is now known as _muskie9_
968: [13:57:45] <wmk> oh, then $this->Parent() to get the parent Page
969: [13:58:12] <wmk> or $Parent in the template (children page scope)
970: [13:58:21] <Robke> not working both
971: [13:58:21] <Robke> :)
972: [13:58:44] <wmk> depends where you are in the template, which page / dataobject scope.
973: [13:58:49] <wmk> maybe $Top.Parent
974: [13:59:38] <Robke> hm... i know but its too complicated for explanation :)
975: [13:59:56] * _muskie9_ is now known as muskie9
976: [14:00:14] <wmk> Robke, well... hopefully the solution isn't too complicated
977: [14:00:55] * jedateach quit (Quit: jedateach)
978: [14:03:33] * muskie9_ has joined #silverstripe
979: [14:03:37] <Robke> public function getHolderImage(){ /*return $this->ParentID->URL;*/ return $this->ParentID(); }
980: [14:03:44] <Robke> none of theese thing works
981: [14:03:48] <Robke> any ideas ? :D
982: [14:04:35] * caamic30 quit (Quit: caamic30)
983: [14:04:39] * toddvalentine has joined #silverstripe
984: [14:04:54] * Werner_2_ has joined #silverstripe
985: [14:05:11] * wmk quit (Read error: Connection reset by peer)
986: [14:05:17] * Werner_2_ is now known as wmk
987: [14:05:42] <wmk> well, $this->Parent()->Image() should return the Image object (when it's called Image in your has_one)
988: [14:06:09] <wmk> $this->Parent() is the parent page
989: [14:06:22] <wmk> $this->Parent()->Title is parent's Title
990: [14:06:23] <wmk> etc.
991: [14:06:28] <Robke> ok
992: [14:06:29] <Robke> trying
993: [14:06:30] * muskie9 quit (Ping timeout: 250 seconds)
994: [14:06:45] <wmk> how's the image called in your parent holder page?
995: [14:06:54] <Robke> [User Error] Uncaught Exception: Object->__call(): the method 'parent' does not exist on 'Template'
996: [14:07:00] <Robke> HolderImage
997: [14:07:24] <wmk> then $this->Parent()->HolderImage()
998: [14:07:31] <wmk> which gives you the Image DO
999: [14:07:55] <Robke> nope still the same error
1000: [14:07:59] <wmk> you'll need a fallback if $this->Parent() doesn't return a Parent Object, or doesn't have a HolderImage
1001: [14:08:17] <Robke> public function getHolderImage(){ return $this->Parent()->HolderImage(); }
1002: [14:08:26] <Robke> <% loop getHolderImage %> $HolderImage <% end_loop %>
1003: [14:08:36] <wmk> aaahhh
1004: [14:08:38] * muskie9_ is now known as _muskie9_
1005: [14:08:51] <wmk> <% loop $HolderImage %> -> calls getHolderImage() in controller
1006: [14:09:23] <wmk> and you're on a Page??? not on a dataobject?
1007: [14:09:24] <Robke> so what im doing wrong?
1008: [14:09:37] <Robke> this function is written in DB
1009: [14:09:39] <wmk> try $HolderImage instead of getHolderImage in your loop
1010: [14:09:43] <wmk> DB?
1011: [14:09:47] <Robke> DO :D
1012: [14:09:49] <Robke> sorry :D
1013: [14:09:57] <wmk> is the DO a Page?
1014: [14:10:12] <wmk> subclass of Page / SiteTree
1015: [14:10:14] <Robke> nope :)
1016: [14:10:17] <wmk> well
1017: [14:10:20] <wmk> then it cannot work
1018: [14:10:33] * _muskie9_ is now known as muskie9_
1019: [14:10:33] <Robke> so how to get that image then? :d
1020: [14:10:34] <wmk> the relation is Holder has_many DO
1021: [14:10:42] <wmk> and DO should have a has_one Holder
1022: [14:10:49] <wmk> right?
1023: [14:10:54] <Robke> it has
1024: [14:11:02] <wmk> how's this has_one called?
1025: [14:11:26] <Robke> i have model admin called templates where you could choose in which page you could use different templates :)
1026: [14:11:37] <wmk> well, wait. The current controller is Holder_Controller?
1027: [14:11:47] <Robke> so i need that image would be uploaded in page which is a holder of template
1028: [14:12:09] <Robke> DO does not have a controller at all
1029: [14:12:45] <wmk> so it's not a classical Holder for e.g. news...
1030: [14:13:20] <Robke> yep :(
1031: [14:13:22] <wmk> but the DO knows the template's page?
1032: [14:13:33] <Robke> yes
1033: [14:13:42] <Robke> and the funciton which im writting is written there
1034: [14:13:45] <wmk> then try $this->TemplateRelationName()
1035: [14:13:51] <wmk> in DO
1036: [14:14:00] <Robke> TempalteRelationName? :) whats that?
1037: [14:14:01] <wmk> which should return the Page if your orm is ok
1038: [14:14:10] <wmk> ehem, designed well
1039: [14:14:41] <wmk> well, you have a has_one to that template page?
1040: [14:14:46] <wmk> the parent elemnt?
1041: [14:14:49] <Robke> yes
1042: [14:14:53] <wmk> what's it called?
1043: [14:14:57] <Robke> TileHolder => TIleHolder
1044: [14:15:27] <Robke> ehoohoo
1045: [14:15:28] <wmk> then a $this->TileHolder()->HolderImage() looks promising
1046: [14:15:29] <Robke> magic man
1047: [14:15:40] <Robke> public function getHolderImage(){ return $this->TileHolder(); }
1048: [14:15:43] <Robke> was enough
1049: [14:15:46] <wmk> that's the silverstripe magic....
1050: [14:15:54] <Robke> really magic
1051: [14:15:58] <Robke> nice
1052: [14:16:03] <Robke> need to write itdown
1053: [14:16:14] <Robke> because i can guarantee that after a few weeks i will ask again :D
1054: [14:16:26] <wmk> Robke, as i see you for quite some time in this chat i didn't think you haven't encountered this magic yet
1055: [14:16:45] * Shrike_Finland has joined #silverstripe
1056: [14:16:57] <Robke> yep
1057: [14:17:04] <Robke> i know only basic
1058: [14:17:05] <Robke> :)
1059: [14:17:19] <wmk> Robke, never, really never try to read sourcecode. you'll find so much magic there, it blows your mind totally
1060: [14:17:29] * wmk still finds so much over there
1061: [14:18:18] <Robke> well im working only 4 months with this :))
1062: [14:18:28] <wmk> Robke, so go on and ask...
1063: [14:18:28] <Robke> so you cna imagine how less i know :D
1064: [14:18:33] <wmk> and read the tutorials ;)
1065: [14:18:49] <Robke> so im asking and im thankfully that there are some ppl who tries to help
1066: [14:19:02] <wmk> you're very welcome man
1067: [14:19:55] <Robke> ;)
1068: [14:19:57] <wmk> i try to find something new every day or week... not only ss but developing in general.
1069: [14:20:13] <wmk> grunt watch and live reload is a cool feature when doing css / scss
1070: [14:20:29] <wmk> and javascript debug in phpstorm / idea is also really cool
1071: [14:20:32] <wmk> even easy to set up
1072: [14:24:55] <Robke> hm :)
1073: [14:25:07] <Robke> about css is quite good tool
1074: [14:25:29] <Robke> http://cssrefresh.frebsite.nl/
1075: [14:25:38] <Robke> developing on phpstorm
1076: [14:25:50] <Robke> and it changes live
1077: [14:25:58] <Robke> no need to do all the thing on console
1078: [14:27:05] * Otterpocket has joined #silverstripe
1079: [14:27:26] <wmk> Robke, pretty much the same like livereload
1080: [14:27:55] <wmk> i switched from compass to libsass for scss, way faster
1081: [14:28:19] <wmk> thought phpstorm can also trigger live refresh on css / javascript / whatever change
1082: [14:28:36] <wmk> you'll need the firefox or chrome plugin
1083: [14:28:47] <wmk> which will phpstorm install for you
1084: [14:29:13] <wmk> but i'm on console anyway, so i can do a "grunt watch" and here we go
1085: [14:31:37] * muskie9_ is now known as _muskie9_
1086: [14:34:57] * catcher has joined #silverstripe
1087: [14:37:12] * _muskie9_ is now known as muskie9_
1088: [14:40:33] * jeroenem has joined #silverstripe
1089: [14:41:37] * muskie9_ is now known as _muskie9_
1090: [14:42:09] * Shrike_Finland quit (Quit: Leaving.)
1091: [14:44:34] <Pymdyzzk> [14:03] <Robke> public function getHolderImage(){ /*return $this->ParentID->URL;*/ return $this->ParentID(); }
1092: [14:44:49] <Pymdyzzk> $this->ParentID is a property, $this->Parent() is a method.
1093: [14:44:56] * caamic30 has joined #silverstripe
1094: [14:45:14] <Pymdyzzk> the former gives the ID of the parent page, the latter returns the page object itself
1095: [14:47:23] <Pymdyzzk> [14:15] <Robke> really magic
1096: [14:47:33] <Pymdyzzk> and this is the reason we always define the reverse relation ;)
1097: [14:47:40] <NETim> Does the frontend search look at all fields on a dataobject or page or just a preset list?
1098: [14:47:49] <Pymdyzzk> not just because it's required for a has_many to work properly
1099: [14:47:58] <Pymdyzzk> NETim: none of the above
1100: [14:48:06] * _muskie9_ is now known as muskie9_
1101: [14:48:08] <Pymdyzzk> 1: no such thing has 'frontend search'
1102: [14:48:08] <NETim> Whats option 3 then?
1103: [14:48:31] <Pymdyzzk> 2: SearchForm only searches SiteTree and File subclasses
1104: [14:48:47] <Pymdyzzk> 3: it only searches the fields defined in the superclass, for obvious reasons.
1105: [14:48:57] <NETim> shorter than saying the functions that return the results when searching for pages using silverstripes search classes, blah blah....
1106: [14:48:57] <Pymdyzzk> ie, Title, Content
1107: [14:49:32] <Pymdyzzk> well depends again on what you mean by 'silverstripes search classes' - I'm not aware of any.
1108: [14:49:33] <NETim> ok, thought that might be the case. How would one extend that to include an additional field on a pagetype?
1109: [14:49:42] <Pymdyzzk> look at the definition
1110: [14:49:56] <Pymdyzzk> fulltextsearchable::enable
1111: [14:50:00] <Pymdyzzk> api.silverstripe.org
1112: [14:50:27] <Pymdyzzk> but again you still have the wrong end of the stick.
1113: [14:50:35] <Pymdyzzk> It searches all pages, not just one subclass.
1114: [14:50:43] <Pymdyzzk> (pagetype)
1115: [14:50:47] <NETim> Perhaps you might deign to suggest the correct stick
1116: [14:51:03] <Pymdyzzk> think about your search a bit better.
1117: [14:51:25] <Pymdyzzk> a less broad definition will help you see what you're trying to do, and what it can't do.
1118: [14:51:43] <wmk> Pymdyzzk, on search: ever used elasticsearch?
1119: [14:51:54] <Pymdyzzk> nup
1120: [14:51:56] <Pymdyzzk> I hate search.
1121: [14:52:04] <Pymdyzzk> I leave it up to ss23
1122: [14:52:11] * muskie9_ is now known as _muskie9_
1123: [14:52:20] <Pymdyzzk> and Kinglozzer
1124: [14:52:23] <Pymdyzzk> they love the solr
1125: [14:52:50] <wmk> hehe... good to work in a team
1126: [14:53:12] <Eliseth> solr must die
1127: [14:53:12] <Pymdyzzk> oh you NETim, you so sly with your insults!
1128: [14:53:29] <wmk> Eliseth, doesn't elasticsearch also utilize solr?
1129: [14:53:33] <Pymdyzzk> Eliseth: yeh, that's pretty much the vibe they give off too :P
1130: [14:53:44] <NETim> Merely a little ribaldry
1131: [14:53:47] <Pymdyzzk> wmk: if not, it's based on, I think
1132: [14:53:58] <Pymdyzzk> NETim: yeh, I get it.
1133: [14:54:00] * spronk2 quit (Quit: spronk2)
1134: [14:54:19] <wmk> ribaldry? sounds like a name of a portuguese footbal player
1135: [14:54:27] <NETim> I'll have to use more archane language next time.
1136: [14:54:37] <NETim> wmk, lol.
1137: [14:54:42] <Pymdyzzk> to 'rib' someone means to hassle/tease them wmk (jestfully, not nastilly)
1138: [14:54:52] <Eliseth> I think they're both based on the same codebase yes
1139: [14:54:55] <NETim> anyway, is what I am trying to achieve at least doable?
1140: [14:55:01] <wmk> NETim, with Pymdyzzk you can speak a bit more archaic, yes
1141: [14:55:16] <Pymdyzzk> NETim: well you never actually said what you're trying to do!
1142: [14:55:27] <wmk> in a "tease me please me" manner?
1143: [14:55:37] <NETim> wmk, god no...
1144: [14:55:45] * wmk reminds of his first scorpions record
1145: [14:55:56] * _muskie9_ is now known as muskie9_
1146: [14:55:58] <NETim> Pymdyzzk, just want to include a part number field in the search fields
1147: [14:56:25] <Pymdyzzk> NETim: and is this a custom searchform?
1148: [14:56:34] <wmk> Pymdyzzk, https://www.youtube.com/watch?v=wENdZneWDYs <- GUITARS!
1149: [14:56:35] <NETim> not at the moment
1150: [14:57:03] <Robke> Pymdyzzk: thanks for eplanation ;)
1151: [14:57:09] <Robke> *explanation
1152: [14:57:23] <Pymdyzzk> wmk: The Adobe Flash Player is required for video playback. :P
1153: [14:57:31] <wmk> argh
1154: [14:57:47] <wmk> it's worth it
1155: [14:58:00] <Pymdyzzk> ok ok
1156: [14:58:02] * Pymdyzzk opens chrome
1157: [15:01:16] * muskie9_ is now known as _muskie9_
1158: [15:03:11] <jcwacky> Need some config help, any idea why this is not working? http://pastebin.com/PpiWPxd0 Despite setting it to dev it still uses the alternate_protocol.
1159: [15:04:15] * _muskie9_ is now known as muskie9_
1160: [15:04:28] <Pymdyzzk> no idea sorry jcwacky - are you missing a closing part of the block ---- ?
1161: [15:07:39] <wmk> well, maybe a --- between Name and Only ??
1162: [15:07:50] <wmk> anyone got a grunt watch task for ss templates?
1163: [15:10:35] <wmk> got it...
1164: [15:12:33] * muskie9_ is now known as _muskie9_
1165: [15:13:15] * _muskie9_ is now known as muskie9_
1166: [15:13:42] <r3v3rb> wmk: sorry was awfk
1167: [15:13:50] <wmk> np
1168: [15:13:57] <wmk> did you get static publisher working?
1169: [15:14:25] <wmk> from what i read at code in staticpublisher/main.php the url "/" should be "index" and load "index.html"
1170: [15:14:31] <r3v3rb> wmk, for all pages other than the homepage its perfect, but the index.html never gets supplied
1171: [15:14:41] <wmk> hmm... it should
1172: [15:15:01] <Otterpocket> Anyone here used silverstripe-memberprofiles much?
1173: [15:15:12] <wmk> nevermind, did you try a assets/_homepage-map.php r3v3rb ??
1174: [15:15:24] <r3v3rb> nope, never seen/heard of it
1175: [15:15:36] <wmk> found it in the code of staticpublisher
1176: [15:15:47] <r3v3rb> show me show me
1177: [15:15:48] <r3v3rb> :D
1178: [15:18:52] * muskie9_ is now known as _muskie9_
1179: [15:20:59] * _muskie9_ is now known as muskie9_
1180: [15:21:33] * muskie9_ quit (Quit: Textual IRC Client: www.textualapp.com)
1181: [15:22:12] <wmk> r3v3rb, https://github.com/silverstripe-labs/silverstripe-staticpublisher/blob/master/main.php#L34
1182: [15:22:47] <wmk> https://github.com/silverstripe-labs/silverstripe-staticpublisher/blob/master/main.php#L102
1183: [15:23:10] * jadajada has joined #silverstripe
1184: [15:24:13] <wmk> r3v3rb, though with https://github.com/silverstripe-labs/silverstripe-staticpublisher/blob/master/main.php#L96 you should not need that... as it should grab "index" automatically
1185: [15:24:24] <wmk> guess a turn for xdebug ;)
1186: [15:25:05] <jadajada> Hi, im extending a site. I have page with several children. I extended the site by making another page of the same type. Now I want content from the new page inside the template of the first page. I tried to use loop $ChildrenOf(page) but it’s not working. What am I doing wrong? I just use the pagename of the new page.
1187: [15:26:38] <Pymdyzzk> Otterpocket: yeh, on occasion. Though back in 2.4 only
1188: [15:27:15] <Pymdyzzk> jadajada: make a virtualpage, not a page page.
1189: [15:28:36] <jadajada> Pymdyzzk: it’s a custom page type already. It contains dishes, so the top-level page is a custom coursesholder page.
1190: [15:32:01] <r3v3rb> wmk you’d think
1191: [15:32:58] <wmk> r3v3rb, ehem, yes.
1192: [15:33:04] <wmk> it's my friend ;)
1193: [15:33:31] <r3v3rb> time to kick up the test site and see what’s going on under the hood
1194: [15:33:59] <wmk> jadajada, you can either use a virtual page if the second holder is totally the same or use a getter method to grab the items
1195: [15:35:00] <wmk> man, you can use a template for everything, but not for image
1196: [15:35:00] <Pymdyzzk> jadajada: where is the page you want content from? A child?
1197: [15:35:16] <wmk> the image tag generation is so 1994
1198: [15:35:24] <jadajada> wmk: yes, the second holder page is exactly the same. So have the second courses holder within a VirtualPage?
1199: [15:35:45] <wmk> a virtual page is just a copy of the original page.
1200: [15:35:46] <Pymdyzzk> jadajada: you've not explained yourself very well :(
1201: [15:35:59] <Pymdyzzk> a virtual page is a way of having the same page appear multiple places in the CMS
1202: [15:36:06] <wmk> afaik you can only change title and urlsegment....
1203: [15:36:09] <wmk> yup.
1204: [15:36:29] <wmk> Pymdyzzk, and afaik you can grab the orginal page's children inside the virtual page?
1205: [15:37:46] <jcwacky> Bah, after about an hour I’ve figured it out. Suprised no one else spotted the obvious mistake: http://pastebin.com/PpiWPxd0
1206: [15:37:48] <jadajada> Pymdyzzk: children of new page, which is a holder page with an existing format
1207: [15:38:18] <wmk> jcwacky, is that the fixed version?
1208: [15:38:26] <jcwacky> Nope, same one.
1209: [15:38:30] <jcwacky> Spot the error! :P
1210: [15:38:34] <r3v3rb> wmk: must be the apache setup - works fine on my dev site
1211: [15:38:39] <r3v3rb> interesting
1212: [15:38:52] <wmk> jcwacky, you read my tip above?
1213: [15:39:01] <jcwacky> Yeh, didn’t work.
1214: [15:39:14] <jcwacky> Started complaining about incorrect number of blocks.
1215: [15:39:38] <jcwacky> I solved it though.
1216: [15:39:46] * Robke quit (Ping timeout: 246 seconds)
1217: [15:40:02] <wmk> so?
1218: [15:40:03] <jadajada> And the content of the children of the new page must be displayed in the template of the original page
1219: [15:40:14] <wmk> virtualpage uses template of orig page
1220: [15:40:25] <jcwacky> environment: 'live' should be environment_type: 'live'
1221: [15:40:28] <wmk> jadajada, just try it...
1222: [15:40:38] <jadajada> wmk: busy… ;-)
1223: [15:40:56] <wmk> jcwacky, damn. i even looked up my config... didn't spot it
1224: [15:42:09] <Pymdyzzk> jadajada: <% loop Children %>$Content<% end_loop %>
1225: [15:42:29] * muskie9 has joined #silverstripe
1226: [15:45:16] <Pymdyzzk> I HAVE AN URGENT REQUEST IMPERITIVE FOR TODAY'S SUCCESS, SO I'VE WAITED UNTIL THE END OF THE DAY TO ASK YOU FOR IT
1227: [15:45:48] <Pymdyzzk> thanks user, I'll get right on that.
1228: [15:45:49] <catcher> haha
1229: [15:46:28] <catcher> My favorites of those are when the user is an earlier time zone.
1230: [15:46:46] <wmk> Pymdyzzk, ???
1231: [15:46:50] <Pymdyzzk> they're ALL earlier timezone for you catcher
1232: [15:46:58] <catcher> there's that.
1233: [15:47:34] <Pymdyzzk> wmk: user needs info because he's getting audited. Asks for it at 3:30pm in the afternoon
1234: [15:47:47] <wmk> oh.
1235: [15:48:01] <Pymdyzzk> I have 1.5 hours to build a muckle great query that shows exactly what he needs and nothing he doesn't.
1236: [15:48:04] <Pymdyzzk> from scratch.
1237: [15:48:25] * Fuxo quit (Remote host closed the connection)
1238: [15:49:00] * jenniferaslan has joined #silverstripe
1239: [15:51:30] * Shrike_Finland has joined #silverstripe
1240: [15:51:38] <Otterpocket> On an add user form what is the correct way to check for a duplicate Email address?
1241: [15:51:45] <jcwacky> wmk: Hmm, actually looks like ‘environment’ is correct. Very confused now!
1242: [15:53:12] <wmk> Otterpocket, see Member_Validator
1243: [15:53:40] <wmk> or just subclass Member_Validator. It's a subclass of RequiredFields
1244: [15:55:31] <jeroenem> is there a way to dynamically find the middle position of a list, and break it into 2 columns?
1245: [15:55:32] * NvdB has joined #silverstripe
1246: [15:57:20] <Pymdyzzk> Otterpocket: leave it up to your database.
1247: [15:57:31] <Pymdyzzk> it is (or should be) set as unique.
1248: [15:57:38] <wmk> g4b0_, still around?
1249: [15:57:44] <Pymdyzzk> that or SS does it's own checks, because that's listed as the unique field.
1250: [15:58:00] <Pymdyzzk> it already checks email
1251: [15:58:20] <Pymdyzzk> there's a config setting you can use to alter which is the unique field iirc.
1252: [15:58:23] <wmk> Pymdyzzk, yup, in Member_Validator class
1253: [15:58:27] <Pymdyzzk> mm
1254: [15:58:58] <Pymdyzzk> but if you modify the database to have a unique contstraint on that field, then that should also be pretty boss.
1255: [15:59:21] <wmk> yup. but better catch it in validation before
1256: [15:59:42] <wmk> there is a value for unique field somewhere, yes.
1257: [15:59:59] <wmk> $identifierField = Member::config()->unique_identifier_field;
1258: [16:00:02] * caamic30 quit (Quit: caamic30)
1259: [16:08:34] <Otterpocket> I am trying to display a form if the user is logged in but has not yet set a password, so for now I have a conditional that checks on the init, but how do I then render a form if the conditional returns true?
1260: [16:09:08] <Pymdyzzk> <% if Conditional %>$Form<% end_if %>
1261: [16:09:39] <Pymdyzzk> eg something like <% if not $Member.HasPassword %>$Form<% end_if %>
1262: [16:10:00] <Otterpocket> hmm, I could do it in template but I was using the controller to prevent the user from doing anything else
1263: [16:10:57] <Otterpocket> Or if there is an even better way
1264: [16:10:59] <Pymdyzzk> if(thing) this->redirect(set yo password ow)
1265: [16:11:45] <Otterpocket> lol but that causes an infinate loop
1266: [16:12:08] <wmk> well, don't redircect on the setpassword form
1267: [16:12:09] <Pymdyzzk> only if you do it on init, without checking action
1268: [16:12:21] <Pymdyzzk> or something like that
1269: [16:12:26] * Sj0hn quit ()
1270: [16:12:36] <Otterpocket> Pymdyzzk: yea ok
1271: [16:12:48] <g4b0_> wmk: I'm here
1272: [16:13:22] <Otterpocket> Pymdyzzk: So redirect unless action is NoPassword or something ?
1273: [16:13:38] <Pymdyzzk> yeh, pretty much
1274: [16:13:55] <Pymdyzzk> or set up a new controller specifically for handling that which doesn't make that check
1275: [16:14:03] <Pymdyzzk> or, y'know, something like that
1276: [16:14:29] <Pymdyzzk> or just require password on signup
1277: [16:14:33] * Pymdyzzk shrugs
1278: [16:14:34] <wmk> g4b0_, could you check https://github.com/silverstripe/silverstripe-framework/issues/1354 and close if it works now?
1279: [16:14:52] <Pymdyzzk> BURN BABY BURN, DISCO INFERNO
1280: [16:15:11] <wmk> the roof, the roof, the roof is on fire
1281: [16:15:35] * NvdB quit (Quit: Page closed)
1282: [16:15:56] <Pymdyzzk> http://www.youtube.com/watch?v=5jzMw9ezE3I
1283: [16:17:56] * Eliseth quit (Quit: Textual IRC Client: www.textualapp.com)
1284: [16:18:39] * arnhoe quit ()
1285: [16:19:04] * g4b0_ quit (Quit: Sto andando via)
1286: [16:19:17] * jeroenem quit (Quit: Page closed)
1287: [16:23:29] * r3v3rb quit (Quit: r3v3rb)
1288: [16:24:00] * lerni quit (Remote host closed the connection)
1289: [16:33:51] * wmk quit (Ping timeout: 250 seconds)
1290: [16:36:23] * gavro quit (Ping timeout: 240 seconds)
1291: [16:43:21] * Shrike_Finland quit (Quit: Leaving.)
1292: [16:46:28] * Shrike_Finland has joined #silverstripe
1293: [17:14:20] * r_hector has joined #silverstripe
1294: [17:24:36] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1295: [17:25:49] * NETim quit (Ping timeout: 246 seconds)
1296: [17:26:33] * jenniferaslan has joined #silverstripe
1297: [17:27:13] * Pymdyzzk quit ()
1298: [17:28:41] * stnvh quit (Quit: sleepy)
1299: [17:29:04] * simon_w quit (Ping timeout: 265 seconds)
1300: [17:30:18] * simon_w has joined #silverstripe
1301: [17:30:45] * Otterpocket quit (Quit: WeeChat 0.4.1)
1302: [17:34:51] * lerni has joined #silverstripe
1303: [17:39:16] * lerni quit (Ping timeout: 250 seconds)
1304: [17:52:15] * joelpittet has joined #silverstripe
1305: [18:00:56] * SphereSilver has joined #silverstripe
1306: [18:01:48] <SphereSilver> Hey guys, What's the best Vagrant config available for Silverstripe?
1307: [18:02:05] <SphereSilver> I've found a few, but none include MailCatcher, or log-files unreachable, etc. etc. etc.
1308: [18:02:17] <SphereSilver> I like the BetterBrief one, somewhat, but it's just not "it"
1309: [18:23:56] * gelignite has joined #silverstripe
1310: [18:24:35] * r_hector quit (Quit: Leaving.)
1311: [18:27:46] * hschillig_ has joined #silverstripe
1312: [18:28:43] <hschillig_> I have a question. How do you allow a page template to extend from a different master layout? Like you have Page.ss in your theme directory, but then in the Layout folder you have all your page templates.. I was wondering if I could create another "Page.ss" in a way, but make it a different master layout so I could make one of my page templates extend from it.
1313: [18:29:24] <hschillig_> I want to get rid of the navigation on one of my internal pages. And I don't know if checking the url is.. the best way to go about it in case if the url were to change.
1314: [18:35:21] <catcher> hschillig_, custom templates (as opposed to layouts) can be applied via naming convention, or with a custom renderWith in the controller
1315: [18:36:21] <catcher> Same story with layouts.
1316: [18:36:31] * Shrike_Finland quit (Quit: Leaving.)
1317: [18:41:14] <hschillig_> I know renderWith will define the template, but all of them extend the main Page.ss... So when you call <% Layout %> it'll look in the Layout folder right? What if I want my SearchPage.ss (in the Layout folder) to extend PageNoNav.ss (in the root of the templates directory with Page.ss)
1318: [18:41:34] <hschillig_> I don't want it to extend from Page.ss
1319: [18:49:49] * Colin[pi] has joined #silverstripe
1320: [18:51:05] <catcher> hschillig_, using renderwith, you can define the template and the layout.
1321: [18:53:00] * Cheddam quit (Ping timeout: 272 seconds)
1322: [18:55:15] * pyromanik has joined #silverstripe
1323: [18:55:32] * pyromanik is now known as Pyromanik
1324: [19:01:05] * muskie9_ has joined #silverstripe
1325: [19:03:12] <hschillig_> Oh sweet thank you! I didn't know that =)
1326: [19:04:24] * muskie9 quit (Ping timeout: 272 seconds)
1327: [19:04:49] * Shrike_Finland has joined #silverstripe
1328: [19:06:08] <catcher> hschillig_, np :)
1329: [19:08:56] * jedateach has joined #silverstripe
1330: [19:12:15] * lerni has joined #silverstripe
1331: [19:13:34] * travis-ci has joined #silverstripe
1332: [19:13:34] <travis-ci> silverstripe/silverstripe-framework#3530 (3.1 - 32bcfe7 : Ingo Schommer): The build passed.
1333: [19:13:34] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/d5361dedecee...32bcfe7f4e11
1334: [19:13:34] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/39182982
1335: [19:13:34] * travis-ci has left #silverstripe
1336: [19:14:37] <hschillig_> How do I go about doing this? I tried $this->renderWith(array('PageNoNav', 'SearchPage'))... 'PageNoNav' being the overall layout file and 'SearchPage' being the page type/template...
1337: [19:14:43] <hschillig_> It won't do anything even when I issue flush=1
1338: [19:16:00] <catcher> hschillig_, you need to return the $renderWith
1339: [19:16:22] <hschillig_> I am..
1340: [19:16:30] <hschillig_> public function init()
1341: [19:16:30] <hschillig_> {
1342: [19:16:30] <hschillig_> parent::init();
1343: [19:16:30] <hschillig_> return $this->renderWith('PageNoNav');
1344: [19:16:30] <hschillig_> }
1345: [19:16:44] <hschillig_> I've tried array('PageNoNav', 'SearchPage') as well
1346: [19:18:44] <catcher> hschillig_, you should be overriding index() for this, not init().
1347: [19:19:37] <Pyromanik> hschillig_: wrong way around
1348: [19:19:46] <Pyromanik> [Layout, main] iirc
1349: [19:20:00] <Pyromanik> also, what catcher said.
1350: [19:20:19] <hschillig_> oh right... stupid mistake. thank you for catching that! It works great now :D
1351: [19:20:25] <Pyromanik> index is default action, init is 'hey I loaded this controller' (kinda likea constructor, but not)
1352: [19:20:27] * muskie9_ quit (Quit: Textual IRC Client: www.textualapp.com)
1353: [19:20:36] * Cheddam has joined #silverstripe
1354: [19:23:06] <hschillig_> Ah ok =) Thank you!
1355: [19:24:33] * hschillig_ has left #silverstripe
1356: [19:29:41] * joelpittet quit ()
1357: [19:33:13] * r3v3rb has joined #silverstripe
1358: [19:34:23] * Stomach has joined #silverstripe
1359: [19:35:22] * r3v3rb quit (Client Quit)
1360: [19:48:14] * steven__ has joined #silverstripe
1361: [19:52:22] <steven__> Hi, I'm having problems with the user defined forms in SS 3.1.2. I created a form with some fields incl. required email and created a recipient. When I try to configure the recipient I can't select the required form email as reply to address. The select boxes are just empty. I'm using the PageType that comes with SS. Logged in as admin...form saved several times, cache flushed. Does anyone have an idea?
1362: [19:52:38] * muskie9 has joined #silverstripe
1363: [19:54:25] <lerni> steven__ save once and try again :)
1364: [19:55:20] <Pyromanik> steven__: save,then...beaten to it.
1365: [19:55:26] <Pyromanik> what lerni said :>
1366: [19:56:15] <steven__> I just saved the form. saved & published the form but the email recipient config just doesn't let me select anything...
1367: [19:57:25] <lerni> after I wrot I saw that you saved. What I mean is saving the recipient
1368: [19:59:03] <Pyromanik> steven__: it's definitely an Email field?
1369: [20:02:27] * antmas has joined #silverstripe
1370: [20:03:36] <steven__> I've deleted and recreated the form and recipient and now it shows fine...
1371: [20:04:14] <antmas> morning all
1372: [20:07:53] * novaweb has joined #silverstripe
1373: [20:13:29] * r3v3rb has joined #silverstripe
1374: [20:15:28] * hailwood has joined #silverstripe
1375: [20:16:54] * UndefinedOffset quit (Quit: Leaving.)
1376: [20:17:15] <r3v3rb> any staticpublisher users around?
1377: [20:21:45] * spekulatius has joined #silverstripe
1378: [20:21:54] <Pyromanik> not yet holmes, it's only 8:21
1379: [20:22:13] <Pyromanik> oh fuck, food times!
1380: [20:22:19] <Pyromanik> :< almost forgot to eat
1381: [20:24:54] * gavro has joined #silverstripe
1382: [20:29:57] * Shrike_Finland quit (Quit: Leaving.)
1383: [20:31:21] * gavro quit (Remote host closed the connection)
1384: [20:31:55] * gavro has joined #silverstripe
1385: [20:35:56] * veb has joined #silverstripe
1386: [20:35:57] * gavro quit (Ping timeout: 244 seconds)
1387: [20:37:58] * gavro has joined #silverstripe
1388: [20:38:22] <antmas> that satisfaction of booking summer holis
1389: [20:39:57] * willr has joined #silverstripe
1390: [20:40:13] <Stomach> I want some summer please
1391: [20:40:36] <antmas> I have everyone monday in Jan and every friday in feb off :D
1392: [20:40:41] <antmas> every*
1393: [20:44:52] * Kingy[a] is now known as Kingy
1394: [20:45:22] <Kingy> drive 2 hours to the Feilding office to find it doesn't have internet o/
1395: [20:46:43] * mahfuz has joined #silverstripe
1396: [20:48:23] * Ryan-Toast has joined #silverstripe
1397: [20:49:48] <r3v3rb> Such Fun!
1398: [20:49:50] <Stomach> internet? who needs that anyway
1399: [20:50:13] <r3v3rb> Pyromanik: got that static publisher fixed without fixing it!
1400: [20:51:05] <Ryan-Toast> Morning.
1401: [20:51:18] <r3v3rb> setup offset master-master replication on the database across servers so now it makes no difference if the site uses the DB for the homepage - the index will get the latest data from either server any how!
1402: [20:51:21] <r3v3rb> Ryan-Toast: morning
1403: [20:51:24] * micmania1 has joined #silverstripe
1404: [20:51:42] <Ryan-Toast> r3v3rb: Morning.
1405: [20:51:52] <Ryan-Toast> r3v3rb: did we just start a loop?
1406: [20:52:02] * r3v3rb is now in love with Foundation5 but fed up that CodeKit is bolloxed with it
1407: [20:52:34] <r3v3rb> Ryan-Toast: while { morning = ‘morning’; echo ‘morning’; } maybe?
1408: [20:53:06] <Ryan-Toast> r3v3rb: A wfe asked her husband while he was out to get some milk. He never returned.
1409: [20:53:14] <r3v3rb> while ( morning == ‘morning’ ) { morning = ‘morning’; echo ‘morning’; }
1410: [20:53:15] <r3v3rb> even
1411: [20:53:48] * r3v3rb is confused by the ‘milk’ in that statement!
1412: [20:53:49] <SphereSilver> Ryan-Toast: That guy has to have been a programmer.
1413: [20:53:51] * Shrike_Finland has joined #silverstripe
1414: [20:54:13] <r3v3rb> Ryan-Toast: doh! penny drops
1415: [20:54:19] <Ryan-Toast> r3v3rb: :P
1416: [20:54:32] <SphereSilver> And he probably has a lot of milk by now....
1417: [20:54:53] * r3v3rb initially thought sexual innuendo!
1418: [20:56:03] * Robke has joined #silverstripe
1419: [20:56:29] * veb quit (Ping timeout: 260 seconds)
1420: [20:59:44] * UncleCheese has joined #silverstripe
1421: [20:59:50] <Pyromanik> r3v3rb: eh?
1422: [21:00:02] <r3v3rb> Pyromanik: :D
1423: [21:00:22] * Robke quit (Ping timeout: 246 seconds)
1424: [21:00:31] <r3v3rb> nothing fella, thought you were about earlier with my static publishing issue and the / index page
1425: [21:01:16] <Pyromanik> r3v3rb: ooh, I don't wanna check the status of that pull request that was just like mine...
1426: [21:01:19] * UncleCheese quit (Client Quit)
1427: [21:01:31] * gavro quit (Remote host closed the connection)
1428: [21:01:38] <Pyromanik> I'll be so fucking full mad if I find out those cunts at zurb merged it
1429: [21:01:44] <Pyromanik> in all it's inferiority
1430: [21:02:01] <r3v3rb> Pyromanik: check it check it
1431: [21:02:07] * gavro has joined #silverstripe
1432: [21:02:19] <Pyromanik> Ryan-Toast: hahaha dat milk joke
1433: [21:02:20] * lerni quit ()
1434: [21:02:26] <r3v3rb> they have all sorts of other issues at the moment with libsass and compass
1435: [21:02:49] <r3v3rb> being out of kilter and causing them big headaches on building out the sass to css files
1436: [21:03:03] * gavro quit (Remote host closed the connection)
1437: [21:03:14] <mahfuz> Hi everyone
1438: [21:03:16] * gavro has joined #silverstripe
1439: [21:03:43] <r3v3rb> bbl
1440: [21:03:50] <catcher> Pyromanik, which commit?
1441: [21:03:52] * r3v3rb quit (Quit: r3v3rb)
1442: [21:05:16] <Pyromanik> Ryan-Toast: ...and so he returned with -2147483648 bottles of milk :P
1443: [21:05:24] <Ryan-Toast> Pyromanik: lol
1444: [21:05:39] <Pyromanik> catcher: the one that fixes the fact that you can't edit anything returned by the modal ajax fetcher
1445: [21:05:56] <catcher> mm
1446: [21:06:08] <Pyromanik> say, like, y'know... bind a fucking event handler to something
1447: [21:06:35] <Pyromanik> catcher: I submitted a PR to fix that over a year ago.
1448: [21:06:51] <Pyromanik> waited 2months, closed no merge no explanation
1449: [21:07:22] <Pyromanik> now a year later some retard trying to get an inferior and obfuscated fix merged for same issue
1450: [21:07:41] <Pyromanik> ie, AN ENTIRE VERSION LATER problem still exists
1451: [21:08:08] <Pyromanik> so issue wasn't closed because it was obsolete by v5 preps or anything
1452: [21:09:04] <Pyromanik> ciao SphereSilver
1453: [21:09:14] <SphereSilver> Hey Pyromanik
1454: [21:09:52] <Pyromanik> I forgot to feedback2win:<
1455: [21:16:29] * muskie9 is now known as _muskie9_
1456: [21:18:58] * Azure quit (Ping timeout: 250 seconds)
1457: [21:19:19] * UncleCheese has joined #silverstripe
1458: [21:19:27] * _muskie9_ is now known as muskie9
1459: [21:19:42] * Shrike_Finland quit (Quit: Leaving.)
1460: [21:26:03] * travis-ci has joined #silverstripe
1461: [21:26:03] <travis-ci> silverstripe/silverstripe-framework#3531 (3.1 - db1c7e8 : Mateusz U): The build passed.
1462: [21:26:03] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/32bcfe7f4e11...db1c7e89f057
1463: [21:26:03] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/39196190
1464: [21:26:03] * travis-ci has left #silverstripe
1465: [21:27:44] <novaweb> Who had a sore head on saturday hahaha
1466: [21:27:54] <Pyromanik> YOU DID
1467: [21:27:56] <Pyromanik> HAHA
1468: [21:28:10] <UncleCheese> who's novaweb ?
1469: [21:28:13] <Pyromanik> and ss23, and irogue, and perhaps micmania1
1470: [21:28:14] * irogue_ has joined #silverstripe
1471: [21:28:40] <SphereSilver> Why would I have a sore head on saturday?
1472: [21:29:00] <irogue_> I did
1473: [21:29:18] <Pyromanik> SphereSilver: silverstripe had a party on Friday night
1474: [21:29:26] <Pyromanik> for... some unknown reason
1475: [21:29:35] <irogue_> Pyromanik: farewell to the wellington office!
1476: [21:29:55] <SphereSilver> I don't do sore heads.
1477: [21:30:02] <micmania1> yeah, irogue_ came from auckland to say goodbye the wellington office. :p
1478: [21:30:03] <adrexia> they are moving two buildings over ;)
1479: [21:30:14] <irogue_> I *never* get hungover. But I managed to in the weekend
1480: [21:30:24] <irogue_> I blame all the tequila
1481: [21:30:30] <Pyromanik> irogue_: that'll do it to you!
1482: [21:30:31] <adrexia> I felt fine
1483: [21:30:35] <SphereSilver> Yeah, blame the materials don't you
1484: [21:30:40] <adrexia> but slept until...late
1485: [21:30:41] <irogue_> and whatever the fuck those shots were that hamish was making
1486: [21:30:53] <micmania1> irogue_: the orange things?
1487: [21:30:58] <irogue_> yeah
1488: [21:31:02] <adrexia> I was drinking horrible things
1489: [21:31:07] <adrexia> I...
1490: [21:31:19] <adrexia> can't evene remember whaqt , but it was not good
1491: [21:31:25] <micmania1> I fucking love beer/wine pong. It my new favourite game ever.
1492: [21:31:29] <irogue_> I think pretty much everyone was drinking horrible things, once we ran out of the 'regular' booze and started raiding whatever the fuck we could find in the kitchen
1493: [21:31:38] <Pyromanik> adrexia: did you attend?
1494: [21:31:42] <adrexia> yeah
1495: [21:31:50] <irogue_> Pyromanik: former employees were all invited too
1496: [21:31:55] <Pyromanik> oh sweets
1497: [21:31:58] <irogue_> willr was also present
1498: [21:31:58] <Pyromanik> :>
1499: [21:32:01] <adrexia> a bunch of SilverPikers did
1500: [21:32:06] <Pyromanik> winners
1501: [21:32:08] <Pyromanik> haha adrexia
1502: [21:32:10] <Pyromanik> nice name.
1503: [21:32:18] <willr> Yeah but so many pikers piked.
1504: [21:32:25] <adrexia> true ;)
1505: [21:32:26] <Pyromanik> super slick. Great read, fantastic UX. Would use/read again.
1506: [21:32:29] <willr> Was a messy night all round.
1507: [21:32:48] <antmas> was ss23 there?
1508: [21:32:51] <irogue_> yep
1509: [21:32:59] <Pyromanik> so... 'orange things'?
1510: [21:32:59] <antmas> well, one piker turned up!
1511: [21:32:59] <micmania1> ss23 was there with extra cream.
1512: [21:33:02] <adrexia> irogue_, all I remember is it was sweet
1513: [21:33:10] <Pyromanik> cointreau?
1514: [21:33:15] <antmas> blegh
1515: [21:33:19] * Pyromanik loves him some nights end.
1516: [21:33:20] <irogue_> Pyromanik: yup, shots of half and half contreau and something else
1517: [21:33:26] <adrexia> yep cointreau
1518: [21:33:27] <antmas> what's that yellow one?
1519: [21:33:29] <willr> Triple Sec and Tequlia was good.
1520: [21:33:30] <antmas> drink*
1521: [21:33:35] <Pyromanik> irogue_: contreau and orange juice?
1522: [21:33:37] <adrexia> micmania1, lol
1523: [21:33:41] <irogue_> ah yes, the triple sec and tequila turned out well
1524: [21:33:46] <Pyromanik> willr: that's... margherita isn't it?
1525: [21:33:49] <adrexia> who the hell covered ss23 in cream?
1526: [21:33:52] <irogue_> Pyromanik: nah, some other spirit/liquor found in the pantry
1527: [21:34:07] <irogue_> adrexia: I think it was Paul
1528: [21:34:24] <Colin[pi]> <adrexia> who the hell covered ss23 in cream? <-- dafuq
1529: [21:34:25] <Pyromanik> irogue_: hahahaha, rando liquor, the best/worst kind :P
1530: [21:34:26] <adrexia> hahah
1531: [21:34:38] <adrexia> ain't nbo party like a Silverstripe party ;)
1532: [21:34:42] <irogue_> +1
1533: [21:34:46] <Pyromanik> the S-club?
1534: [21:34:47] <Pyromanik> xD
1535: [21:34:47] <antmas> did anyone crank out the Charteuse?
1536: [21:34:49] <ss23> ;)
1537: [21:34:55] <Pyromanik> SSclub 38
1538: [21:35:12] <ss23> My chest is still sore from micmania1 grabbing my bloody tits all night
1539: [21:35:19] * veb has joined #silverstripe
1540: [21:35:23] <ss23> And I'm not talking rubbing, I'm talking like a fucking claw machine on overdrive
1541: [21:35:25] <micmania1> hahahaha
1542: [21:35:29] <Colin[pi]> ss23: your milkshake brings all the boys to the yard
1543: [21:35:37] <adrexia> I remember drinking margaritas with too much tequila
1544: [21:35:37] <novaweb> I am glad I left at 10.30... I heard it went late....
1545: [21:35:51] * catcher quit (Quit: Leaving)
1546: [21:35:55] <adrexia> and some horrible thing that pretended it was a wine
1547: [21:35:57] <irogue_> novaweb: I left about 1am or so, there was no booze left
1548: [21:36:12] * novaweb o/
1549: [21:36:13] <adrexia> I got home between 2 and 2.30am
1550: [21:36:32] <adrexia> yeah, the good booze ran out
1551: [21:36:41] <adrexia> what we were drinking was not good
1552: [21:36:44] <irogue_> lol
1553: [21:36:50] <Kingy> adrexia just drinks whatever
1554: [21:36:50] <adrexia> cocktail party left overs
1555: [21:36:53] <Kingy> good booze or not
1556: [21:36:56] <adrexia> :P
1557: [21:36:59] <irogue_> there was still beer in the keg I think, but fuck beer
1558: [21:37:02] <adrexia> not usually, no
1559: [21:37:05] <adrexia> I'm a snonb
1560: [21:37:09] <adrexia> *snob
1561: [21:37:20] <antmas> who leaves beer in the keg at a party?
1562: [21:37:25] <adrexia> but ... there wasn't a whole lot of choice
1563: [21:37:26] <antmas> what's wrong with you people
1564: [21:37:36] <adrexia> yeah, I was well past beer
1565: [21:37:43] <Colin[pi]> +1 antmas
1566: [21:37:50] <irogue_> antmas: once the shots started, everyone forgot about beer
1567: [21:37:59] <Colin[pi]> "we have hard liquor now? fuck beer@
1568: [21:38:02] <Colin[pi]> like that?
1569: [21:38:06] <adrexia> I was already drinking wine
1570: [21:38:13] <adrexia> you can't go from wine to beer
1571: [21:38:17] <antmas> went wine tasting on the weekend
1572: [21:38:18] <Kingy> yeah but once shots are done
1573: [21:38:21] <antmas> <3 wine
1574: [21:38:22] <adrexia> the only way is up
1575: [21:38:25] <novaweb> MetaData -> MetaDescription: Is this "search engine summary" ???
1576: [21:38:31] <Colin[pi]> antmas: LAH DE DAHH
1577: [21:38:33] <Colin[pi]> ;)
1578: [21:38:39] <irogue_> novaweb: yes
1579: [21:38:45] <novaweb> thanks irogue_
1580: [21:38:47] <Kingy> antmas nice. Last time we did that we came back with like $300 worth of wine
1581: [21:38:50] <Kingy> was a bad day
1582: [21:39:07] <irogue_> I had no voice on saturday from all the yell-singing
1583: [21:39:20] <antmas> Colin[pi]: lol
1584: [21:39:35] <Colin[pi]> antmas: but seriously yeah I like wine as well :P
1585: [21:39:40] <antmas> Kingy: yeah I just got drunk on the free stuff and bought one bottle
1586: [21:39:52] <irogue_> also, I really want Ingo to publish all the slow-mo face wobbling somewhere
1587: [21:39:59] <Colin[pi]> irogue_: wat
1588: [21:39:59] <irogue_> those were great
1589: [21:40:08] <adrexia> they were amazing
1590: [21:40:11] <antmas> irogue_: slow-mo ss23 eating clips?
1591: [21:40:41] <irogue_> Colin[pi]: slow-mo camera + loosening up jaw and shaking head side to side. fucking hilarious.
1592: [21:41:12] <antmas> this sounds like the whitest party ever
1593: [21:41:22] <Ryan-Toast> antmas: lol.
1594: [21:41:25] <Colin[pi]> antmas: rofl
1595: [21:41:44] <irogue_> oh, it was
1596: [21:41:50] <ss23> antmas: uh, shaking faces I guess?
1597: [21:41:52] <ss23> yeah, what irogue_ said
1598: [21:42:12] <antmas> :P
1599: [21:42:21] <Colin[pi]> antmas: http://i.imgur.com/SCQoCP5.gif
1600: [21:42:29] <irogue_> the impromptu karaoke session with Diana on the decks pretty much cemented it as whitest party ever
1601: [21:43:03] <ss23> I actually have a welt on my stomach from someone slapping me when we were doing slo-mo stomach shots
1602: [21:43:08] <antmas> Colin[pi]: hahaha
1603: [21:43:11] <Stomach> o_O
1604: [21:43:23] <irogue_> ss23: oh god yes that was such a crazy shot
1605: [21:43:23] <antmas> ss23: did... did everyone get naked or something?
1606: [21:43:31] <irogue_> antmas: no, just ss23
1607: [21:43:34] <antmas> LOL
1608: [21:43:36] <antmas> typical
1609: [21:43:37] <Kingy> hahaha
1610: [21:43:54] <Colin[pi]> lol
1611: [21:44:01] <adrexia> just the torso
1612: [21:44:07] <Colin[pi]> just the tip
1613: [21:44:20] <adrexia> ...
1614: [21:44:27] * adrexia huddles in a corner
1615: [21:44:50] <antmas> XD
1616: [21:45:03] * antmas is proud of this channel for a tuesday
1617: [21:45:08] <Pyromanik> D: the scrollback is too large, and I don't have a pageup key D:
1618: [21:45:13] <Pyromanik> :'(
1619: [21:45:17] * vebbb has joined #silverstripe
1620: [21:45:51] <ss23> You're the one huddling, adrexia? I presume that's because of what *you* ended up doing, right
1621: [21:46:06] <Pyromanik> hurrf a durrf
1622: [21:46:07] <Pyromanik> ?
1623: [21:46:07] <adrexia> wait, what did *I* do?
1624: [21:46:07] <irogue_> ss23: what, you mean talking to Aaro? :P
1625: [21:46:10] <ss23> lol
1626: [21:46:21] <ss23> I didn't see naomi talking to aaro
1627: [21:46:27] <adrexia> I did
1628: [21:46:33] <adrexia> for quite some tiem even
1629: [21:46:36] <adrexia> *time
1630: [21:46:36] <ss23> I remember you talking to Hamish
1631: [21:46:41] <adrexia> I did that too
1632: [21:46:44] <irogue_> ss23: was immediately after the hamish
1633: [21:46:49] <adrexia> and I even talked to irogue_
1634: [21:46:53] <ss23> "WELL I THOUGHT WE COULD HAVE A LOGICaL DISCUSSION ABOUT THIS" -- Hamish, at 1am, while everyone is drunk as shit
1635: [21:46:58] <irogue_> hahaha
1636: [21:46:59] <adrexia> hahahaha
1637: [21:47:01] <Pyromanik> 21:41 < antmas> this sounds like the whitest party ever
1638: [21:47:02] <irogue_> including hamish
1639: [21:47:08] <adrexia> that's amazing
1640: [21:47:10] <Pyromanik> did you not see the twitpics antmas ?
1641: [21:47:19] <adrexia> I think taht shoudl be put on a wall soemwhere
1642: [21:47:22] * veb quit (Ping timeout: 255 seconds)
1643: [21:47:24] <irogue_> Pyromanik: oh, those were early in the night
1644: [21:47:35] <irogue_> I don't think I'll share the ones from later on :P
1645: [21:47:35] <Pyromanik> irogue_: yeah I know, but still displayed uberwhiteness
1646: [21:47:49] <Pyromanik> irogue_: did tops come off?
1647: [21:47:49] <antmas> Pyromanik: ... no? where are these pic o.O
1648: [21:47:59] <Pyromanik> antmas: duh, ON TWITTER
1649: [21:48:07] <Pyromanik> y'know... where twitpics hang out
1650: [21:48:14] * antmas nervously clicks twitter
1651: [21:48:40] <adrexia> lol
1652: [21:49:13] <antmas> oh yeah I saw a few of those
1653: [21:49:14] <antmas> :P
1654: [21:49:18] <irogue_> so... half of the office is missing today
1655: [21:49:24] <adrexia> oh?
1656: [21:49:25] <antmas> haha
1657: [21:49:26] <irogue_> and it's the half that *didn't* party
1658: [21:49:41] <adrexia> did they have a secret party without you?
1659: [21:49:48] <irogue_> all the alcohol mustve immunised us or something :P
1660: [21:49:51] <Pyromanik> irogue_: adrexia yeah, party on monday,woooo
1661: [21:50:00] <adrexia> hahaha
1662: [21:50:05] * Azure has joined #silverstripe
1663: [21:50:33] * vebbb is now known as veb
1664: [21:50:34] * veb quit (Changing host)
1665: [21:50:34] * veb has joined #silverstripe
1666: [21:50:38] <ss23> They were kissing
1667: [21:50:41] <ss23> thats how they got
1668: [21:50:43] <ss23> DOWN WITH A SICKNESS
1669: [21:51:12] <novaweb> yeah how so we find the pics?
1670: [21:51:18] <novaweb> whats the hashtag?
1671: [21:51:24] <Colin[pi]> yes I would also like to see this debauchery
1672: [21:51:29] <novaweb> i took my top off
1673: [21:51:38] <antmas> aaaaaanannd here come the lurkers!
1674: [21:51:39] <novaweb> but i'm a male and had a tshirt on underneath...
1675: [21:51:40] <antmas> :D
1676: [21:52:02] <irogue_> we need to collate them somewhere
1677: [21:53:15] <irogue_> https://twitter.com/mandrewnz/status/525516787555651584 https://twitter.com/iRogue/status/525561371652415488 https://twitter.com/iRogue/status/525563203355291649
1678: [21:53:24] * spronk2 has joined #silverstripe
1679: [21:53:39] * gavro quit (Remote host closed the connection)
1680: [21:53:58] <mahfuz> Hi I want help with an issue
1681: [21:54:13] <Ryan-Toast> mahfuz: Please consult your doctor
1682: [21:54:17] * Phlunk3 has joined #silverstripe
1683: [21:54:34] <antmas> irogue_: is the 3rd one micmania1?
1684: [21:54:42] <adrexia> mahfuz, what is the issue?
1685: [21:54:43] <mahfuz> brb
1686: [21:54:50] <Ryan-Toast> lol
1687: [21:54:57] <Colin[pi]> irogue_: I love those light fittings
1688: [21:56:03] <Kingy> dat last photo
1689: [21:56:07] <adrexia> wow, that dancing shot... did you have your flash on or something?
1690: [21:56:22] <irogue_> adrexia: was at the very beginning of the party
1691: [21:56:36] <adrexia> yeah, but it was never that daylight
1692: [21:56:38] <adrexia> :P
1693: [21:56:44] <Colin[pi]> yeah everyone was too fucked up to take coherent photos later?
1694: [21:57:00] <adrexia> and it would have been poor manners by then
1695: [21:57:03] <adrexia> ;)
1696: [21:57:19] <irogue_> Colin[pi]: I just completely forgot twitter etc existed
1697: [21:57:24] <Colin[pi]> irogue_: lol
1698: [21:57:30] <antmas> did anyone use the term 'crunk'?
1699: [21:57:37] <irogue_> antmas: didn't hear it
1700: [21:57:38] <adrexia> those are the sort of photos you keep for blackmail
1701: [21:57:45] <irogue_> if anyone did it'd have been daniel
1702: [21:58:09] <adrexia> what is crunk?
1703: [21:58:23] <Pyromanik> ss23: oh you
1704: [21:58:41] <Colin[pi]> what is crunk? baby don't hurt me, don't hurt me, no more
1705: [21:58:48] <Kingy> lolol
1706: [21:58:53] <Pyromanik> novaweb: oh, there were females at this geek party? :P
1707: [21:59:11] <Colin[pi]> Pyromanik: yeah, adrexia and ss23
1708: [21:59:18] <Pyromanik> Colin[pi]: OH YOU
1709: [21:59:22] <Pyromanik> ps,yeahI know
1710: [21:59:22] <irogue_> there was actually quite a decent ratio, for a geek party!
1711: [21:59:34] <adrexia> actually Hamish made that comment too
1712: [21:59:48] <Pyromanik> adrexia: the ratio comment?
1713: [21:59:50] <adrexia> "Am I in the wrong place, I thought this was supposed to be anerd party"
1714: [21:59:54] <irogue_> lol
1715: [22:00:06] <adrexia> "there a way too many girls here for a nerd party"
1716: [22:00:14] <Colin[pi]> haha
1717: [22:00:23] <antmas> Colin[pi]: LOLOLOL
1718: [22:00:27] <Colin[pi]> the girls to nerds ratio... IS TOO DAMN HIGH
1719: [22:00:28] <adrexia> it was about 50:50 I think
1720: [22:00:41] <Pyromanik> adrexia: that's because it was a geek party, not a math quiz! :P
1721: [22:00:43] <adrexia> though more like 70:30 by the end of the night5
1722: [22:01:01] <irogue_> and probably about half of the girls were nerds too (the other half being non-nerdy other halves)
1723: [22:01:04] <novaweb> Who was the lass shooting around with her phone taking photos?
1724: [22:01:05] <adrexia> lol
1725: [22:01:07] <antmas> whoever says something about the ration at a party is normally SUPER uncomfortable
1726: [22:01:14] <antmas> :P
1727: [22:01:16] <adrexia> I'm more of a geek tahn a nerd
1728: [22:01:18] <adrexia> :P
1729: [22:01:28] <Pyromanik> indeed.
1730: [22:01:30] <irogue_> adrexia: I'm lumping them both together for simplicity :P
1731: [22:01:39] <irogue_> gnerk
1732: [22:01:43] <Pyromanik> irogue_: but modern society can't tell the difference!
1733: [22:01:46] <Pyromanik> same thing
1734: [22:01:48] <adrexia> lol
1735: [22:01:48] <ss23> You're choosing to be *wrong* for "simplicity"?!
1736: [22:01:51] <Pyromanik> :P
1737: [22:01:57] <irogue_> ss23: yup
1738: [22:01:57] <Pyromanik> ss23: yeah, that's what I heard.
1739: [22:02:05] <irogue_> cos i'm lazy
1740: [22:02:14] <Pyromanik> I heard "if you can't beat the derp, join it"
1741: [22:02:33] <adrexia> oh in that case, like 99% of the people there were "neard"
1742: [22:02:52] * toddvalentine quit ()
1743: [22:02:54] <antmas> lol
1744: [22:03:06] * gelignite quit (Quit: http://bit.ly/nkczDT)
1745: [22:03:13] <antmas> I always though 'nerd' was more endearing thank 'geek'
1746: [22:03:25] <Pyromanik> lol
1747: [22:03:30] <Pyromanik> gosh,what a nerd antmas
1748: [22:03:43] <irogue_> whoa, this is a weird SS project
1749: [22:03:48] <Colin[pi]> antmas: I take it as "geek" means like someone who is skilled with tech/science etc. but nerd is more of a derogatory term
1750: [22:03:51] <spronk2> nerd: a foolish or contemptible person who lacks social skills or is boringly studious: I was a serious nerd until I discovered girls and cars.
1751: [22:03:55] <irogue_> such an empty root! seems so weird
1752: [22:03:57] <mahfuz> I am back. After doing search from a custom form I am rendering the results with a template like this - return $this->customise($datatemplate)->renderWith(array('Page_refinedResults', 'Page'));
1753: [22:04:00] <Pyromanik> Colin[pi]: you take it wrong.
1754: [22:04:02] <spronk2> geek: an unfashionable or socially inept person.
1755: [22:04:05] <spronk2> according to my mac.
1756: [22:04:09] <irogue_> cms compass fpdf framework mysite themes
1757: [22:04:15] <Colin[pi]> Pyromanik: NU UH
1758: [22:04:19] <Pyromanik> geek: tech wiz. Nerd: math wiz.
1759: [22:04:21] <spronk2> … the one that’s working. because the new one that arrived this morning is fucking stuck on ‘Creating account…’
1760: [22:04:31] <Pyromanik> for example.
1761: [22:04:32] <Colin[pi]> Pyromanik: well yeah that's kinda how I see it
1762: [22:04:38] <mahfuz> I am passing some info to the template through $datatemplate like this - $datatemplate = array( 'Results' => $results, 'Total' => $results->count(), 'Title' => _t('RefineSearchForm.SearchResults', 'Search Results') );
1763: [22:04:45] <spronk2> what about a computer nerd, pyromanik ?
1764: [22:04:48] <irogue_> spronk2: encrypting home folder?
1765: [22:04:53] <Pyromanik> spronk2: oh you.
1766: [22:04:59] <spronk2> irogue_: hmm, didn’t ask me about that
1767: [22:05:02] <ss23> How the fuck is it that someone who can self identify as *either* a geek or a nerd can be so stupid as to debate meanings of the terms at all
1768: [22:05:06] * clairef has joined #silverstripe
1769: [22:05:07] <irogue_> spronk2: is a checkbox, but checked by default
1770: [22:05:13] <Pyromanik> spronk2: I guess... something like a 3d scene genereator kinda guy
1771: [22:05:13] <spronk2> but it’s been sitting here for at least 10 minutes on a brand new mac..
1772: [22:05:16] <ss23> Aren't there meant to be connetations of inteligence, not idiocy?
1773: [22:05:17] <irogue_> is a good thing, but takes an hour or so
1774: [22:05:17] <mahfuz> The Search Form has got some CheckboxSet. My Question is how can I pass them to the template and show them?
1775: [22:05:27] <spronk2> definitely haven’t seen that checkbox yet, irogue_
1776: [22:05:28] <Pyromanik> all the math in for raw opengl
1777: [22:05:50] <spronk2> lol
1778: [22:05:51] <irogue_> spronk2: maybe it's not optional in yosemite?
1779: [22:05:55] <spronk2> hmm
1780: [22:05:57] <spronk2> this is mavs
1781: [22:06:04] <spronk2> i think
1782: [22:06:07] <irogue_> ah, definitely got the option on my MBA which is mavericks
1783: [22:06:09] <spronk2> looks like mavs anyway
1784: [22:06:24] <spronk2> i would have thought apple would have given more feedback than just ‘Creating account…’ (spin)
1785: [22:06:52] <irogue_> spronk2: much like ss-installer, the OSX install process is neglected and barely improved upon
1786: [22:07:02] <spronk2> hmm
1787: [22:07:05] <Pyromanik> mahfuz: pass 'them' to the template?
1788: [22:07:08] <spronk2> maybe i’ll ring apple
1789: [22:07:12] <Pyromanik> what 'them'?
1790: [22:07:39] <irogue_> spronk2: SSD I presume?
1791: [22:07:51] <spronk2> irogue_: ja. brand new (refurb) retina mbp, straight out of box
1792: [22:08:00] <spronk2> tried this once
1793: [22:08:08] <Pyromanik> mahfuz: you probably want to addd to your datatemplate array 'Form' -> $this->SearchForm()
1794: [22:08:08] <spronk2> power cycled it after 30 minutes
1795: [22:08:11] <Pyromanik> or something
1796: [22:08:33] <mahfuz> I was passing them through $datatemplate adding one more element like this - 'QueryAgeRange' => $data['AgeRange'],
1797: [22:09:29] <mahfuz> But when the CheckboxSet is empty, it was giving error
1798: [22:09:54] <Pyromanik> what you're doing sounds quite obscure
1799: [22:10:02] <Pyromanik> kinda like the X=>Y issue.
1800: [22:10:22] <mahfuz> And I also want to know the syntax of showing the values of $QueryAgeRange in the template?
1801: [22:10:42] <Pyromanik> well that depends entirely on what queryagerange is
1802: [22:11:41] <antmas> spronk2: what model did you get?
1803: [22:11:54] <spronk2> antmas: 15” haswell 8gb/256gb ssd, begrudgingly
1804: [22:12:08] <Colin[pi]> mm 256gb ssd
1805: [22:12:15] <antmas> spronk2: what price?
1806: [22:12:16] <spronk2> budget didn’t extend to 16gb ram, which i know will come to bite me later
1807: [22:12:20] <spronk2> $2119 from refurb store
1808: [22:12:32] <antmas> hmmm yeah 16gb
1809: [22:12:33] <mahfuz> QueryAgeRange is an array element passed to the template using the $datatemplate variable containing the array $data['AgeRange'] which basically the checkboxes selected by the user
1810: [22:13:01] <spronk2> antmas: it’s a work machine, so if i start running into ram limitations i’ll buy a cheap ex lease desktop to run all my vms :P
1811: [22:13:12] <spronk2> pcie ssd should help a bit with the lesser ram anyway
1812: [22:13:15] <antmas> spronk2: true
1813: [22:13:17] <antmas> good point
1814: [22:13:39] <spronk2> …. but i still think they should put ram slots in them.
1815: [22:13:46] <antmas> dug out the Mrs old c2d macbook the other day and threw yosemite on it
1816: [22:13:54] <antmas> still goes well, just need a charger and battery :/
1817: [22:14:09] <spronk2> they are weighty enough to be slightly uncomfortable to hold one-handed, so… why not just have an extra mm and put slots on
1818: [22:14:12] <spronk2> mm
1819: [22:15:30] <Pyromanik> mahfuz: just use a form.
1820: [22:15:34] <Pyromanik> (class)
1821: [22:15:37] <jadajada> Hi, I’ve made a second holder page with dishes. Now I need to display them on the template I use for the first holder page. How to achieve? I’ve tried using loop $ChildrenOf(url-segment), but it’s not working.
1822: [22:15:57] <SphereSilver> I think you should just do the dishes, or buy a dishwasher
1823: [22:16:16] <jadajada> spekulatius: funny guy
1824: [22:16:46] <adrexia> jadajada, same page type?
1825: [22:16:47] <novaweb> jadajada pm me
1826: [22:16:56] <spronk2> jadajada: are the dishes under another parent page?
1827: [22:17:37] <jadajada> Holder page is the same page type, under another parent page.
1828: [22:17:39] <adrexia> do ytou need all children of all holder pages - of is the second one special?
1829: [22:17:49] <adrexia> *or
1830: [22:18:07] <spronk2> hmm, i typically don’t like using url-segment, or page id, or any other not-as-fixed-as-you’d-think ID to reference a page from template
1831: [22:18:10] <mahfuz> Pyromanik: What did you mean by use a form? Let me put my code in sspaste.
1832: [22:18:18] * veb has joined #silverstripe
1833: [22:18:18] <adrexia> spronk2, same
1834: [22:18:28] <Pyromanik> jadajada: I told you before: <% loop Children %>$Content<% end_loop %>
1835: [22:18:28] <jadajada> I need all of them, but it has some seperate markup in between, so probably easier to loop seperately.
1836: [22:18:39] <spronk2> pyromanik: not the same use case iiac
1837: [22:18:57] <adrexia> well you can write a function to return all holderpages
1838: [22:19:08] <adrexia> and loop that then loop children
1839: [22:19:17] <Pyromanik> mahfuz: I mean Form::create($this, __FUNCTION__, FieldList::create(all the checkboxfield), FieldList::create(FormAction::create('submit')))
1840: [22:19:47] <adrexia> publiuc function hetHolderPages () { return HolderPage::get(); } or soemthing
1841: [22:19:48] <jadajada> Pyromanik: that works for the content of the first holder page, but I need the content of the children of the second holder page, within the template I use for the first holder page.
1842: [22:20:07] <spronk2> jadajada: i would either be adding a field to the page for the user to select another parent as source data from via cms, or do what adrexia said
1843: [22:20:14] <adrexia> oh, my typo ratioi is real high today
1844: [22:20:40] <Pyromanik> jadajada: put it in an include <% if Children %><% include loopTemplateThing %>...
1845: [22:20:50] <adrexia> yeah adding the page as a relation is what I'd do if it had to be a speciifc holder page
1846: [22:20:59] <Pyromanik> recursion for infinite looping ftl
1847: [22:21:46] <adrexia> Pyromanik, the problem seems to be that of needing the children of a different context
1848: [22:22:17] <adrexia> so jadajada needs to get the context in order to loop it
1849: [22:22:23] <Pyromanik> adrexia: I can't follow his explanations,maybe.
1850: [22:22:51] * adrexia nods
1851: [22:23:02] <irogue_> ah, back into another day of SOAP
1852: [22:23:29] <jadajada> loop $ChildrenOf() should do the trick if I can believe the documentation, I use the url segment, but it returns nothing.
1853: [22:23:38] <Pyromanik> jadajada: don'tdo that.
1854: [22:23:42] <Pyromanik> it's a bad idea.
1855: [22:23:47] <adrexia> ^ that
1856: [22:23:49] <Pyromanik> clients will always rename things.
1857: [22:23:49] * jordanmk has joined #silverstripe
1858: [22:23:59] <Pyromanik> even when you tell them not to or it will break their site.
1859: [22:24:09] <adrexia> write a function to return the page you want
1860: [22:24:12] <Pyromanik> they'll rename the f'n homepage so you get a 404 when loading /
1861: [22:25:12] <adrexia> either return all holders, or return a specific relation, or return a page with a specific attribute set
1862: [22:25:14] <mahfuz> Pyromanik: I have created the form, processing the form and can show the result in the template. There is no issue with that but when I pass empty (becasue the user may not select checkboxes all the time) array to the template it gives error? And I also want to know how to show the passed array in template. Here is my Search Code - http://www.sspaste.com/paste/show/544ec0747afc7
1863: [22:25:45] <Pyromanik> mahfuz: you shouldn't be passing an array to the template at all.
1864: [22:25:49] <adrexia> check if the array is empty before passing to the template?
1865: [22:25:59] <adrexia> that is also true
1866: [22:26:00] <Pyromanik> I don't understand what you're doing because your explanation doesn't make much sense to me, sorry
1867: [22:26:17] <adrexia> there are times when you do have to, but...
1868: [22:26:24] <adrexia> its very rare
1869: [22:26:32] <Pyromanik> adrexia: well that's why we have ArrayList
1870: [22:26:36] <adrexia> yep ;)
1871: [22:26:40] <Pyromanik> or arraydata
1872: [22:26:41] <Pyromanik> but yeh
1873: [22:26:53] <jadajada> Ill just a function which returns all children. That’s probably the best for now. Thanks!
1874: [22:26:57] <adrexia> I mean even using customise is rare
1875: [22:27:00] <jadajada> Ill just write.
1876: [22:27:00] <Pyromanik> this sounds more like a fundamental misunderstanding of forms and how they work.
1877: [22:27:17] <adrexia> it might not be
1878: [22:27:22] <Pyromanik> but I don't know which aspect to help with, because X=>Y problem.
1879: [22:27:28] * antmas_ has joined #silverstripe
1880: [22:27:51] <adrexia> mahfuz, could be doing something that needs this.
1881: [22:28:08] * veb quit (Read error: Connection reset by peer)
1882: [22:28:09] <adrexia> but... its hard to see what the problem is that is being solved
1883: [22:28:20] <mahfuz> Pyromanik: Let me write it like this. Can you tell me how do I pass the Checkbox selections from a form by the user to the template for showing what the user selected? Sometimes there can be empty selection.
1884: [22:28:28] <Pyromanik> http://meta.stackexchange.com/questions/66377/what-is-the-xy-problem
1885: [22:28:33] * veb has joined #silverstripe
1886: [22:28:54] <Pyromanik> mahfuz: $data ?
1887: [22:28:59] <Pyromanik> is that what you're doing?
1888: [22:29:01] <adrexia> mahfuz, are you saving it in between?
1889: [22:29:13] <Pyromanik> passing the form action handler's $data array directly to template?
1890: [22:29:18] <adrexia> like user submits form - > save data> render
1891: [22:29:19] <adrexia> ?
1892: [22:29:25] <hailwood> Hey guys, in the $db property, how do I say "this field contains a link" whether it's a sitetree link, a file link, or an external link?
1893: [22:29:28] <Pyromanik> adrexia: doesn't sound like hit
1894: [22:29:30] <Pyromanik> it*
1895: [22:29:32] <Pyromanik> -h
1896: [22:29:34] <adrexia> hmm
1897: [22:29:42] <Pyromanik> hailwood: YOU DON'T
1898: [22:29:45] <Pyromanik> oh sorry caps :<
1899: [22:29:49] <adrexia> then the answer might be - save the data to a model/page first
1900: [22:30:04] <Pyromanik> adrexia: is search form from what I gather
1901: [22:30:11] <adrexia> oh!
1902: [22:30:20] <adrexia> so like $Query?
1903: [22:30:40] * antmas quit (Ping timeout: 246 seconds)
1904: [22:30:51] <Pyromanik> adrexia: seems to be. Not entirely sure.
1905: [22:31:08] <Pyromanik> sounds like there's some conditionalcontent to display if checkbox x, or y, or z,or whatever
1906: [22:31:15] * adrexia nods
1907: [22:31:41] <adrexia> should be a get param?
1908: [22:31:46] <Pyromanik> mahfuz: try passing ArrayData::create($data) instead
1909: [22:31:49] <hailwood> Pyromanik: well, how would you allow the user to specify where a button links to?
1910: [22:32:04] <Pyromanik> hailwood: Varchar(200)?
1911: [22:32:07] <adrexia> this is how cwp does it: https://gitlab.cwp.govt.nz/cwp/cwp/blob/master/code/pagetypes/BasePage.php#L381
1912: [22:32:11] <mahfuz> Pyromanik: I should use a different variable like $datatemplate instead of $data for passing to the template to render.
1913: [22:32:32] <adrexia> basically - $this->owner->customise($data)->renderWith($templates);
1914: [22:32:32] <mahfuz> adrexia: I am not saving in between.\
1915: [22:32:33] <Pyromanik> mahfuz: then you need to strip out the values you're looking for.
1916: [22:32:58] <adrexia> with some processing in between
1917: [22:33:03] <Pyromanik> if that's what you're doing, youu're probably getting the error because SS sets strict mode, and it's complaining about a missing index
1918: [22:33:23] <Pyromanik> so array_merge with a null valued array or something, idk.
1919: [22:34:10] <mahfuz> I am just taking the user inputs through the form and showing the resulted records. Just also want to show what the selection was by the user. Need to know the syntax.
1920: [22:34:29] <Pyromanik> mahfuz: $Form
1921: [22:35:26] <spronk2> still ‘creating account…’ sigh
1922: [22:35:50] <Pyromanik> in mySubmissionHandler($data, $form, $request){ return $this->customise(['data'=>$data,'form'=>$form'])->renderWith('thatTemplate')
1923: [22:36:06] <Pyromanik> something like that
1924: [22:37:28] <mahfuz> Ok Pyromanik. So your suggestion si to pass the $Form as well to the template?
1925: [22:37:35] <Pyromanik> that or loaddatafrom($request) before returning the form
1926: [22:37:49] <adrexia> you might not even need $formn
1927: [22:38:01] <Pyromanik> mahfuz: pass the form that is given to you by the action handler, it will be filled in already.
1928: [22:38:07] <adrexia> $data gives you what the user submitted
1929: [22:38:10] <Pyromanik> that's where the data info is coming from.
1930: [22:38:22] <Pyromanik> adrexia: yeah, but it doesn't populate the fields in the form when you display it back.
1931: [22:38:27] <adrexia> true
1932: [22:38:30] <UncleCheese> should our "learn silverstripe" section teach TDD by default?
1933: [22:38:36] <UncleCheese> or shoudl that be a special topic?
1934: [22:38:46] <Pyromanik> UncleCheese: no it should be 'this is how you SS' by default.
1935: [22:38:48] <adrexia> I was thinking the form had gone and we just wanted the results
1936: [22:38:57] <UncleCheese> eh?
1937: [22:39:03] <Pyromanik> TDD as a suggested extra.
1938: [22:39:06] * guywatson has joined #silverstripe
1939: [22:39:12] <adrexia> lol
1940: [22:39:18] <Pyromanik> well let devs do what devs do.
1941: [22:39:20] <adrexia> Silverstripe and TDD
1942: [22:39:25] <Pyromanik> if they don't tdd, then it shouldn't matter.
1943: [22:39:28] <adrexia> world of pain
1944: [22:39:29] <UncleCheese> tough to retrofit, though... do we not want to be teaching people that TDD the way it's done?
1945: [22:39:31] <Pyromanik> it shouldn't prevent them from learning ss
1946: [22:39:37] <UncleCheese> gotcha
1947: [22:39:39] <Pyromanik> UncleCheese: it's not.
1948: [22:39:42] <Pyromanik> BDD is!
1949: [22:39:45] <UncleCheese> so TDD isn't such a thing at this point
1950: [22:39:46] <Pyromanik> DDD
1951: [22:39:49] <Pyromanik> SEYQTGOPIGSDJDD
1952: [22:39:51] <UncleCheese> ok, Pyromanik that was my follow up
1953: [22:39:51] <Pyromanik> ALLTHE DD
1954: [22:39:59] <Pyromanik> there are many different schools.
1955: [22:40:02] <Pyromanik> is what I'm saying
1956: [22:40:11] <adrexia> I don't know many silverstripe devs that use TDD
1957: [22:40:13] <UncleCheese> if we do TDD, should we focus on behat testing more than unit testing
1958: [22:40:16] <Pyromanik> don't try and force one down an interested user's throat
1959: [22:40:20] <adrexia> a lot that like the idea of it, but... errr
1960: [22:40:21] <UncleCheese> more BDD, in other words
1961: [22:40:26] <Pyromanik> but by all means include tests by design in the examples or something
1962: [22:40:32] <UncleCheese> hmm
1963: [22:40:46] <adrexia> Testing is good
1964: [22:40:47] <Pyromanik> but don't say YOU MUST TEST FIRST OR FUCKOFF SILVERSTRIPE IS NOT FOR YOU
1965: [22:40:55] <UncleCheese> i see
1966: [22:41:06] <adrexia> but most write the tests after, not before the feature ;)
1967: [22:41:16] <UncleCheese> in a lot of tuts you'll see them teach you the meat of everything up front, adn in the last chapter they go, ok, what would make this awesome is if we had some tests
1968: [22:41:31] <Pyromanik> which is basically what you're doing if you start off with that when someone (who may already tdd) comes along and goes 'oh yes, how do I SS' and gets an eyefull of 'this is not how to ss but this is how you should dev before you dev in ss'
1969: [22:41:39] <mahfuz> Thanks Pyromanik and adrexia let me try that. What is the syntax for checking whether a checkboxset submission is empty? Is it like this - if (!empty($data['AgeRange'])) { .......}
1970: [22:42:16] * antmas_ is now known as antmas
1971: [22:42:24] <Pyromanik> UncleCheese: yeah what I'm saying is 'how do I make a simple blog? WELL FIRST YOU WRITE A SERIES OF COMPLICATED TEST AROUND ALL THIS FUNCTIONALITY YOU HAVE NO IDEA ABOUT YET BECAUSE YOU DON'T KNOW HOW TO SILVERSTRIPE'
1972: [22:42:30] <adrexia> Unclecheese - how about Test supported Development
1973: [22:42:41] <adrexia> like how the angular tutorials work?
1974: [22:42:42] <Pyromanik> so yeah, basically what adrexia said.
1975: [22:42:54] <Pyromanik> test supported examples.
1976: [22:43:02] <UncleCheese> oh fuck this aphabet soup of acronyms already
1977: [22:43:03] <Pyromanik> because...
1978: [22:43:08] <Pyromanik> you gotta know, to understand.
1979: [22:43:21] <Pyromanik> so baby take me by the hand...
1980: [22:43:30] <Pyromanik> take me to the promised laaaaaaa aaannnnd
1981: [22:43:35] <Pyromanik> THEN TEACH ME HOW TO TEST
1982: [22:43:44] <antmas> Ryan-Toast: dude, that <menu> things looks awesome
1983: [22:43:52] <Pyromanik> <menu>
1984: [22:43:52] <Ryan-Toast> antmas: yeah, looks great
1985: [22:43:55] <Pyromanik> <menu>
1986: [22:43:59] <Ryan-Toast> will be great for web apps
1987: [22:44:03] <Stomach> Dan Hensby is on drugs: https://github.com/silverstripe/silverstripe-cms/pull/1123#discussion_r19442735
1988: [22:44:09] <Pyromanik> lolwut
1989: [22:44:27] * jadajada quit (Quit: jadajada)
1990: [22:44:28] <UncleCheese> i'll see what chillu thinks
1991: [22:44:33] <UncleCheese> he's the TDD guru
1992: [22:44:48] <UncleCheese> i agree, for beginner tuts, it's a major WTF
1993: [22:44:52] <Pyromanik> UncleCheese: testing is good, and it should be _encouraged_
1994: [22:44:56] <Pyromanik> that's the word I'm looking for!
1995: [22:45:00] <Pyromanik> encouraged.
1996: [22:45:05] <UncleCheese> right, i just know it's hard to retrofit
1997: [22:45:15] <Pyromanik> not 'this is how you silverstripe'- because it doesn't have to be. but you're right, it is a good idea.
1998: [22:45:18] <ss23> Stomach: uh
1999: [22:45:21] <ss23> did he jus ttypo or what? :O
2000: [22:45:32] <Pyromanik> UncleCheese: yeah but retrofitting... why retrofit? maybe just write some new stuff :P
2001: [22:45:43] <Stomach> ss23, I don't know but I think that its very confusing
2002: [22:46:07] <adrexia> Pyromanik, cool song bro
2003: [22:46:08] <adrexia> :D
2004: [22:46:13] <UncleCheese> alright, so..
2005: [22:46:15] <UncleCheese> fuck testing
2006: [22:46:23] <SphereSilver> Pro tip!
2007: [22:46:31] <SphereSilver> Do not FUCKING EVER!
2008: [22:46:38] <SphereSilver> forget your root password to the database
2009: [22:46:47] <Pyromanik>
2010: [22:46:49] <Pyromanik> personally, I wouldn't call it afterGetIsModifiedOnStage, I'd have it as afterGetIsModifiedOnStage
2011: [22:46:52] <Pyromanik> loool
2012: [22:47:12] <Pyromanik> UncleCheese: well, yes and no.
2013: [22:47:12] <irogue_> SphereSilver: I learnt that one about 10 years ago :P
2014: [22:47:24] <SphereSilver> irogue_ yeah, thanks for the heads-up
2015: [22:47:37] <Pyromanik> yeah, obviously the correct answer is to upload your root password to icloud so everyone can remind you if you forget.
2016: [22:47:47] <ss23> 11:46:38 < SphereSilver> forget your root password to the database
2017: [22:47:47] <antmas> Pyromanik: lol
2018: [22:47:50] <ss23> just reset it?
2019: [22:47:51] <antmas> fucking icloud
2020: [22:47:58] * markcl2 has joined #silverstripe
2021: [22:48:06] <SphereSilver> ss23: yeah, not how it works in real life ;)
2022: [22:48:09] <adrexia> UncleCheese, here is an example of how Angualr does it:https://docs.angularjs.org/tutorial/step_06
2023: [22:48:09] <ss23> :S
2024: [22:48:12] <ss23> SphereSilver: What do you mean?
2025: [22:48:12] <Pyromanik> antmas: pretty sure that's why spronk2 is still waiting for an account
2026: [22:48:13] <SphereSilver> Resetting root is a whole other story
2027: [22:48:17] <markcl2> Is there an easy way to drop all the MySQL ss_tmpdb*** databases?
2028: [22:48:20] <ss23> It's like... 5 minutes work?
2029: [22:48:22] <ss23> markcl2: No :(
2030: [22:48:26] <adrexia> all of the stuff, then how to test that component
2031: [22:48:27] <markcl2> They were autogenerated by unit test fixtures i presume
2032: [22:48:31] <markcl2> ss23: thats so sad.
2033: [22:48:31] <simon_w|work> markcl2, there's a task for it
2034: [22:48:34] <ss23> markcl2: I think mos tpeople have a devtask that does it... since you can do it easily in PHP
2035: [22:48:38] <SphereSilver> ss23: You shouldn't be able to reset your root password with mysql_safe mode.
2036: [22:48:50] <SphereSilver> If you can, you've configured (My)SQL incorrectly
2037: [22:49:00] <spronk2> pyromanik: ya probably lol
2038: [22:49:04] <ss23> SphereSilver: You restart MySQL with the skip grant stuff and just reset it, I mean
2039: [22:49:07] <simon_w|work> markcl2, sake dev/test/cleanupdb
2040: [22:49:12] <UncleCheese> adrexia that's slick
2041: [22:49:22] <adrexia> yeah, I find it works very well for me
2042: [22:49:23] <Pyromanik> spronk2: it's just busy uploading all your everythings to the cloud befroe it grants your acount
2043: [22:49:26] <UncleCheese> JS will always have an edge on the online education stuff beause you can sandbox it so easily
2044: [22:49:33] <spronk2> ugh.
2045: [22:49:34] <SphereSilver> ss23: As I said, if you can reset root with skip-grant, you've configured it wrong
2046: [22:49:44] <UncleCheese> it's such a killer feature to be able to say, "here's the thing.. now go fuck around with it here:"
2047: [22:49:45] <markcl2> simon_w|work: i cant find any delete all temp dbs in http://wd.local/dev/tasks
2048: [22:49:47] <adrexia> truth is, testing is hard - you have to learn how. And when you are learning its easdier to write the etsts seperate
2049: [22:49:58] <UncleCheese> i hate testing
2050: [22:50:00] <simon_w|work> markcl2, sake dev/test/cleanupdb
2051: [22:50:06] <UncleCheese> it's just so hard to think of tests
2052: [22:50:08] <Pyromanik> spronk2: didn't you hear? google made this 'cloud os' so obviously mac are busy uploading your entire OS to the cloud so they can 1up it.
2053: [22:50:39] <adrexia> I don't hate testing. I hate that people just assume you know how to write a test
2054: [22:50:50] <adrexia> its a completely different langauge
2055: [22:50:53] <irogue_> [11:49:34] <SphereSilver> ss23: As I said, if you can reset root with skip-grant, you've configured it wrong
2056: [22:50:54] <irogue_> you say that
2057: [22:50:57] <adrexia> and a completely different mentality
2058: [22:50:59] <irogue_> and yet you're the one locked out :P
2059: [22:51:09] <markcl2> Action 'test' isn't available on class DevelopmentAdmin.
2060: [22:51:11] <SphereSilver> irogue_ yeah, rub it in, don't ya?
2061: [22:51:25] <ss23> 11:50:53 < irogue_> [11:49:34] <SphereSilver>I ss23: As I said, if you can reset root with skip-grant, you've configured it wrong
2062: [22:51:28] <ss23> wait wait, hold up
2063: [22:51:33] <ss23> What are you talking about, SphereSilver?
2064: [22:51:33] <Pyromanik> UncleCheese: tests require you to plan and have a full outline of all the features and the interoperations of all the moving parts (and not so moving) in your app before you even start
2065: [22:51:40] <Pyromanik> ie, FUCKING WATERFALL MAN
2066: [22:51:44] <ss23> SphereSilver: How could you ever *not* be able to reset root like that?
2067: [22:51:55] <simon_w|work> markcl2, oh right, dev/tests/cleanupdb
2068: [22:52:00] <UncleCheese> i feel like there must be some middle ground
2069: [22:52:06] <markcl2> simon_w: yeah, thanks, i figured that out some moments ago
2070: [22:52:14] <markcl2> lol, this is like my first week of doing tdd on ss
2071: [22:52:18] * caamic30 has joined #silverstripe
2072: [22:52:22] <markcl2> I didn't even thought it was possible
2073: [22:52:26] <UncleCheese> simon_w|work what do you think? should SS tuts be test driven by default?
2074: [22:52:27] <SphereSilver> ss23: the root account should NEVER be resettable if you ask me. Thus, I locked out the root-account via the config. As every sysadmin should (and probably would) do
2075: [22:52:30] <Pyromanik> UncleCheese: there is, but it involves using tests for many years on end and still not being entirely happy.
2076: [22:52:41] <simon_w|work> UncleCheese, ahahahahaha
2077: [22:52:42] <UncleCheese> yeah, indeed
2078: [22:52:42] <simon_w|work> no
2079: [22:52:45] <UncleCheese> oh?
2080: [22:52:48] <adrexia> Pyromanik, wow, you are right. I hadn't thought of that. TDD fits waterfall perfectly
2081: [22:53:06] <ss23> SphereSilver: Hold on, I'm not sure I understand. MySQL stores files on the filesystem. There is litearlly no way to *prevent* them being reset if you're root on the server. The Linux permission systems don't allow for it
2082: [22:53:06] <adrexia> ...and is hard to fit into agile where you don't know everythign up front
2083: [22:53:07] <simon_w|work> UncleCheese, do you know how slow that is? And most of the tuts are for frontend things, which are a bitch to test
2084: [22:53:09] <UncleCheese> isn't it a bit like teaching people to format their code properly, or write good commit messages?
2085: [22:53:09] <Pyromanik> adrexia: ha, really? I thought everyone thought this before they started using it.
2086: [22:53:11] <UncleCheese> it's just kind of a thing
2087: [22:53:20] <UncleCheese> ok, well, i'm sold, then
2088: [22:53:20] <ss23> SphereSilver: There are no "configuration" options for "Ignore the skip grant options" that I'm aware of
2089: [22:53:25] <SphereSilver> ss23: You can easily separate them
2090: [22:53:27] <ss23> SphereSilver: I'm really really confused as to why you think you couldn't reset it
2091: [22:53:29] <UncleCheese> because quite frankly, i don't want to teach any *DD
2092: [22:53:33] <SphereSilver> well, not easily, but you can
2093: [22:53:37] <Pyromanik> and then they go and all 'test here, test there, pretty much just a hacker because i've got no plan but i'm testing first so that's ok"
2094: [22:53:37] <markcl2> For most projects I think you don't need to TDD on SS
2095: [22:53:49] <irogue_> SphereSilver: yeah, there's no way to stop the root *nix user from being able to reset mysql pass. and no reason to try to lock that down
2096: [22:53:52] <markcl2> But for big projects, it pays off especially with lots of devs and lots of things that can break
2097: [22:54:01] <adrexia> TDD is one way to write tests
2098: [22:54:08] <irogue_> if someone has root to your server, there's bigger problems than them resetting your mysql root
2099: [22:54:08] <adrexia> its not super supported in silverstripe
2100: [22:54:16] <adrexia> because, its slow
2101: [22:54:19] <UncleCheese> right, behat is the thing in SS
2102: [22:54:21] <ss23> I'm not sure what issues you'd have, but all I know is that whenever I've forgotten my root MySQL password, I can reset it easily
2103: [22:54:31] <Pyromanik> adrexia: any style of tests first is basically a smidge waterfall.
2104: [22:54:32] <adrexia> Apparently Rails does TDD very well
2105: [22:54:36] <markcl2> Awesome, I'll try out Behat on SS then UncleCheese
2106: [22:54:42] <UncleCheese> haha
2107: [22:54:48] <UncleCheese> i don't even know where to start with behat
2108: [22:54:49] <SphereSilver> irogue_ yes, there is, by demanding the original password to reset it.
2109: [22:54:58] <adrexia> I like dEsign driven development
2110: [22:55:01] <markcl2> My main concern though is having the test results seen on the webpage like dev/test
2111: [22:55:07] <Pyromanik> but then I've got no experience being agile (ever, which makes me sad), but from what I understand it's basically just waterfall, but really fast in small dev blocks instead of whole project big.
2112: [22:55:08] <SphereSilver> Can't find the config for it right now, and to be honoust, I'm also a bit busy getting access to my servers again.
2113: [22:55:09] <markcl2> So the project managers can see what's up
2114: [22:55:14] <markcl2> Does SS Behat support that?
2115: [22:55:24] <Pyromanik> so tdd kinda makes sense when you think of it like that.
2116: [22:55:39] <irogue_> SphereSilver: well, I look forward to seeing this mythical and pointless "security" system once you find it :P
2117: [22:55:54] <UncleCheese> i feel like unit testing an behaviour testing is all you need
2118: [22:55:56] <SphereSilver> It's not mythical, it's in my.cnf
2119: [22:56:01] <markcl2> Wow, I never experienced being waterfall
2120: [22:56:02] <SphereSilver> but kinda busy
2121: [22:56:02] <adrexia> Pyromanik, agile doesn't start with 100+ pages of docs
2122: [22:56:06] <UncleCheese> functional/integration testing is just a massive abstraction clusterfuck IMO
2123: [22:56:11] <adrexia> you just sort of make thigns up when you get to them
2124: [22:56:15] <Pyromanik> adrexia: yeah basically.
2125: [22:56:17] <adrexia> not pre solving of problems
2126: [22:56:26] <UncleCheese> "here's a function that uploads a file off the user's desktop... kinda."
2127: [22:56:27] <adrexia> which means it really *is* hard to test
2128: [22:56:28] <Pyromanik> it's a kinda middle ground between hacker and waterfall
2129: [22:56:37] <adrexia> because you haven't actually thought that far ahead
2130: [22:56:42] <Pyromanik> mmm
2131: [22:56:44] <simon_w|work> adrexia, agile can start with a 100+ pages of docs
2132: [22:56:53] <simon_w|work> If it can't, you're not very agile :p
2133: [22:57:09] <Pyromanik> adrexia: even agile is fucking hard as shit when your customer changes their entire process every two weeks.
2134: [22:57:12] <Pyromanik> (on average)
2135: [22:57:16] <Pyromanik> HOW DO I AUTOMATE THIS
2136: [22:57:18] <Pyromanik> you can't :<
2137: [22:57:26] <adrexia> simon_w|work, hahahahaha
2138: [22:57:33] <Pyromanik> adrexia: simon_w|work hahaha
2139: [22:59:25] <Pyromanik> we need you to automate our workflow with ... ok. Start working. Ok now we need this because it's more urgent. OK i'm agile, we can adapt this because you don't need it anymore. ok it's ready for testing.
2140: [22:59:30] <Pyromanik> ok we'll test it thanks
2141: [22:59:31] <adrexia> UncleCheese I am a huge fan of the silverstripe docs teaching how to test, btw
2142: [22:59:41] <adrexia> just not TDD
2143: [22:59:47] <jordanmk> hey guys, any idea if it's possible to change the classes that TinyMCE applies for images? the code that seems to be specifying the classes is here: http://pastebin.com/XPDLn1H5
2144: [22:59:55] <Pyromanik> ok we tested it, and it's ok, but we don't like the bit where it does everything we wanted it to. what we need now is almost this, except entirely different
2145: [23:00:00] <Pyromanik> oh? what has changed
2146: [23:00:01] <jordanmk> specifically, lines 74-79
2147: [23:00:10] <adrexia> jordanmk you have to hack core
2148: [23:00:13] <Pyromanik> well not much except now we do things ENTIRELY FUCKING DIFFERENTLY
2149: [23:00:24] <Pyromanik> why didn't you tell us? Oh,we don't have time for that.
2150: [23:00:28] <Pyromanik> THE FUCK
2151: [23:00:32] <Pyromanik> HOW DO I DO THIS
2152: [23:00:35] <irogue_> jordanmk: generally it's a lot easier to just change the css :P
2153: [23:00:46] * Pyromanik laments his average day at work.
2154: [23:01:04] <irogue_> Pyromanik: SOAP
2155: [23:01:09] <markcl2> We are using Agile on my past company
2156: [23:01:12] <jordanmk> irogue_, the problem is that the css is conflicting with some other stuff
2157: [23:01:19] <jordanmk> because the class is so general, e.g. ".left"
2158: [23:01:19] <markcl2> The requirements do change frequently
2159: [23:01:21] <antmas> lol airnz auth service unavailable
2160: [23:01:23] <antmas> fffff
2161: [23:01:26] <markcl2> But that's actually a good thing because it means
2162: [23:01:27] <markcl2> we get paid
2163: [23:01:30] <markcl2> a lot
2164: [23:01:37] <UncleCheese> adrexia http://beta.docs.silverstripe.org/en/developer_guides/testing/ ??
2165: [23:01:39] <markcl2> of times more
2166: [23:01:42] <jordanmk> adrexia, it seemed like that was the case, was hoping there was another option
2167: [23:01:50] <Pyromanik> markcl2: hehe, that's true.
2168: [23:01:57] <markcl2> So its win win
2169: [23:01:59] <Pyromanik> you can have faster billing cycles with faster deliverables.
2170: [23:02:02] <adrexia> jordanmk, yeah they are way too generic
2171: [23:02:08] <markcl2> We get money, they get to change their mind as much as they want
2172: [23:02:17] <adrexia> I would say, wrap tinymce content in a new clas
2173: [23:02:25] <adrexia> and apply your image styules within that
2174: [23:02:32] <Pyromanik> markcl2: I work internally.
2175: [23:02:39] <Pyromanik> I dev for our own company's users.
2176: [23:02:48] <Pyromanik> but they're all pudding heads.
2177: [23:02:59] <adrexia> (and don't use generic classes to style anything)
2178: [23:03:11] <jordanmk> adrexia, yeah that was an option i was considering, but it's annoying to have to do that for every place in a template with content from a HTMLEditorField
2179: [23:03:32] <Pyromanik> jordanmk: not really, it's pretty much good practice to encapsulate the output anyway
2180: [23:03:58] <adrexia> Unclecheese - I don't mean seperately - I mean handle testing when teaching everything
2181: [23:04:04] <Pyromanik> because tags, tags everywhere
2182: [23:04:12] <Pyromanik> adrexia: UncleCheese agree.
2183: [23:04:24] <Pyromanik> be all "this is how you... and here's a test"
2184: [23:04:41] <UncleCheese> didn't i start the topic by asking that, though?
2185: [23:04:42] <Pyromanik> rather than "all of the things" ... "all of the tests"
2186: [23:04:42] <adrexia> that ^
2187: [23:04:49] <adrexia> you specified TDD
2188: [23:04:50] <UncleCheese> i'm confused
2189: [23:04:53] <UncleCheese> ohhh
2190: [23:04:53] <UncleCheese> ok
2191: [23:04:56] <adrexia> TDD is a cult
2192: [23:04:58] <UncleCheese> so you're just saying
2193: [23:04:59] <adrexia> ;)
2194: [23:05:01] <Pyromanik> tdd is a cult.
2195: [23:05:01] <UncleCheese> ha!
2196: [23:05:09] <UncleCheese> This just in: Ingo is in a cult.
2197: [23:05:13] <Pyromanik> so is sass!
2198: [23:05:16] <adrexia> hahah
2199: [23:05:17] <adrexia> true
2200: [23:05:21] <jordanmk> adrexia, Pyromanik: i'm guessing it would be possible to do a Object::useCustomClass for HtmlEditorField_Toolbar and then just make a copy of that class with the css classes changed
2201: [23:05:24] <adrexia> I think we all are to some extent
2202: [23:05:31] <jordanmk> probably not the nicest solution but that would work, right?
2203: [23:05:44] <adrexia> but what I mean is TDD isn't the only way to write tests. Or even the most useful way
2204: [23:05:47] <Pyromanik> jordanmk: adrexia isn'tthis what HTMLEditorConfig
2205: [23:05:48] <Pyromanik> is for?
2206: [23:05:55] <UncleCheese> adrexia Pyromanik just to clarify.. we have a tutorial, say.. sending an email.. and at the end we say, ok, now that it's working, here's a test
2207: [23:06:17] <Pyromanik> UncleCheese: now you know how, this is a test THAT WE WOULD PROBABLY WRITE FIRST
2208: [23:06:21] <Pyromanik> or something to that effect.
2209: [23:06:26] <adrexia> or evben for the bit that needs a test UncleCheese
2210: [23:06:47] <adrexia> so you write some custom logic and then go "so how would we test that"
2211: [23:06:59] <irogue_> we should really start writing tests :P
2212: [23:07:02] <adrexia> and then continue to the next step
2213: [23:07:11] <adrexia> irogue_, lols, yep
2214: [23:07:22] <Pyromanik> tests? dafuq are those?
2215: [23:07:40] <UncleCheese> gotcha
2216: [23:07:42] <Pyromanik> that means I'm supposed to know what this module I wrote does, right?
2217: [23:07:48] <Pyromanik> fuck that, I've no idea :<
2218: [23:07:51] <Pyromanik> :P
2219: [23:07:55] <adrexia> jordanmk - probably best to remove all the generic classes that conflict
2220: [23:08:01] <UncleCheese> and should it be unit tests, behat tests, or a combination thereof?
2221: [23:08:09] <Pyromanik> UncleCheese: either or
2222: [23:08:15] <Pyromanik> both is probably nice.
2223: [23:08:17] <adrexia> .left is not a class I'd ever use if I had a choice
2224: [23:08:28] <UncleCheese> i mean they both really serve separate purposes
2225: [23:08:28] <Pyromanik> since BDD is more the forerunner in the TDD cult atm.
2226: [23:08:34] <UncleCheese> wow
2227: [23:08:38] <UncleCheese> such animosity
2228: [23:08:44] <adrexia> Unclecheese
2229: [23:08:47] <adrexia> unit tests
2230: [23:08:57] <adrexia> though you could writew a behat test at the start
2231: [23:08:59] <Pyromanik> unit tests are very different from behavioural tests.
2232: [23:09:05] <UncleCheese> Yes, they are
2233: [23:09:07] <Pyromanik> they test code at a unit level.
2234: [23:09:14] <Pyromanik> bdd describes what the thing should do as a whole.
2235: [23:09:32] <Pyromanik> so because they do different things, they should probably both get a mention.
2236: [23:09:44] <adrexia> yeah
2237: [23:09:50] <ss23> brain driven development
2238: [23:09:59] <Pyromanik> so your docs have just exploded 3x :P
2239: [23:10:03] <adrexia> and Behat tests tend to be more end-to-end
2240: [23:10:06] <Pyromanik> docs x3
2241: [23:10:11] <Pyromanik> yey dox
2242: [23:10:45] <UncleCheese> I feel like the best type of testing is just a robot using a browser to hammer every single feature of an application
2243: [23:10:50] <adrexia> but unit tests fit nicely into the writing code category
2244: [23:10:51] <UncleCheese> because in the end that's all that matters
2245: [23:10:51] <Pyromanik> well bdd describes a usecase. unit tests go "does this function do what I think I want it to do?"
2246: [23:10:52] <jordanmk> adrexia, it's not my own classes that conflict. the conflict is happening with the classes SS applies to form elements (which is also '.left' to some labels etc.)
2247: [23:11:02] <jordanmk> i would never use a class like "left"
2248: [23:11:07] <markcl2> Also, modules should be tested before they get 'installed'
2249: [23:11:10] * adrexia head desks
2250: [23:11:14] * spronk2 quit (Quit: spronk2)
2251: [23:11:15] <UncleCheese> if your class doesn't run some method that's never used, then... call someone who gives a shit
2252: [23:11:15] <adrexia> someone has to fix this stuff
2253: [23:11:18] <markcl2> so that users can know if the module is compatible
2254: [23:11:21] <markcl2> with their ss version
2255: [23:11:22] <Pyromanik> yeah it depends on how small an example of code you're writing is I guess adrexia UncleCheese
2256: [23:11:40] <Pyromanik> like... the current tutorial 5 could probably use bdd
2257: [23:11:46] <Pyromanik> but the others, nope.
2258: [23:11:54] <adrexia> jordanmk so what I usually do is style left as it rel;ated to images or medis
2259: [23:11:56] <UncleCheese> yeah, those are all going the way of the kiwi
2260: [23:11:57] <adrexia> *media
2261: [23:12:18] <irogue_> yeah, more specific rules needed
2262: [23:12:21] <UncleCheese> (lest you think there are any kiwi left, i smashed the last one with a rask last night)
2263: [23:12:28] <Pyromanik> UncleCheese: getting misnamed as fruit over the rest of the world?
2264: [23:12:41] <ss23> Unless you're irogue_, then the name is appropriate
2265: [23:12:42] <ss23> get it
2266: [23:12:43] <ss23> fruit?
2267: [23:12:43] <Pyromanik> also,wtf is a rask.
2268: [23:12:44] <ss23> ha
2269: [23:12:44] <ss23> ha.
2270: [23:12:52] <UncleCheese> you'd be proud.. my son says "kiwifruit"
2271: [23:12:54] <ss23> God I am so funny.
2272: [23:13:02] <Pyromanik> UncleCheese: YEY \o/
2273: [23:13:02] <adrexia> so img.left or .captionImage .left
2274: [23:13:11] <UncleCheese> sometimes he says kiwi, and i'm like
2275: [23:13:15] <UncleCheese> nope.. doesn't have a beak
2276: [23:13:16] <Pyromanik> UncleCheese: you mean your son pronounces it properly :P
2277: [23:13:32] <ss23> adrexia: Depends what things it's for
2278: [23:13:33] <UncleCheese> or "nope.. isn't eating a meat pie from a petrol station while talking about the rugby"
2279: [23:13:46] <Pyromanik> kiwifruit, not kiwi fruit, it's a compound word, the fruit part is not optional
2280: [23:13:51] <adrexia> ss23 .left ?
2281: [23:13:59] <Pyromanik> like cheating on your wife with the bloke at the grocery store
2282: [23:14:04] <UncleCheese> either way, they're cheap as chips
2283: [23:14:10] <adrexia> jordanmk, also .media.left etc
2284: [23:14:16] <Pyromanik> where are you going hun? Oh just down to the grocers to GET ME SOME PASSION
2285: [23:14:16] <ss23> idk
2286: [23:14:21] <ss23> lol Pyromanik
2287: [23:14:23] <UncleCheese> if only you could feed a family on those things.. NZ would be the cheapest cost of living in the world
2288: [23:14:23] <antmas> mmm kiwifruit
2289: [23:14:24] <ss23> A+
2290: [23:14:36] <UncleCheese> USA: $2.99 per kiwifruit
2291: [23:14:42] * guywatson quit (Quit: Page closed)
2292: [23:14:46] <UncleCheese> NZ: fill a shopping bag for $0.50
2293: [23:14:52] <antmas> aren't they also gooseberries or something?
2294: [23:14:58] <ss23> Chinese Gooseberries, yeah
2295: [23:14:58] <UncleCheese> yes'
2296: [23:15:03] <Pyromanik> UncleCheese: haha, 50c NZD too! :P
2297: [23:15:04] <antmas> that's it
2298: [23:15:08] <UncleCheese> kinda like feijoas.. they don't really originate here
2299: [23:15:09] <Pyromanik> ss23: haha, yeah
2300: [23:15:25] <Pyromanik> UncleCheese: yeah, but for some reaoson the rest of the world have never seemed to have heard of them
2301: [23:15:28] <Pyromanik> idek.
2302: [23:15:30] <ss23> I don't mind if you call them Chinesee Gooseberry, or Kiwifruit, but "kiwi" is a bit too ambigious for my liking
2303: [23:15:30] <antmas> I ate a whole pineapple last night
2304: [23:15:34] <antmas> was weird
2305: [23:15:36] <UncleCheese> feijoas? right
2306: [23:15:42] <UncleCheese> never, ever heard of them pre NZ
2307: [23:15:42] <ss23> Fee hoe's ah.
2308: [23:15:48] <Pyromanik> UncleCheese: where as the kiwifruit on the other hand, was at one point only ever grown here (despite not originating here)
2309: [23:15:50] <ss23> Fee ho-ahs
2310: [23:15:54] <Pyromanik> well... 'here' -> NZ
2311: [23:15:59] <UncleCheese> Pyromanik interesting!
2312: [23:16:02] <Pyromanik> sadly here is not NZ forme :(
2313: [23:16:11] <UncleCheese> oh?
2314: [23:16:16] <UncleCheese> Pyromanik moved away?
2315: [23:16:20] <ss23> Pyromanik flew to the UK
2316: [23:16:24] <UncleCheese> oh
2317: [23:16:26] <ss23> WHAT A MISTAKE THAT WAS
2318: [23:16:27] <UncleCheese> he'll be back
2319: [23:16:27] <Pyromanik> UncleCheese: yeah then some fucking twat was all 'hey, we could contract this to subsiduaries in south america'
2320: [23:16:31] <Pyromanik> NEK MINNIT
2321: [23:16:58] <Pyromanik> they take the fruit, grow their own vines, cut us off from the american market because south american imports much cheaper
2322: [23:17:11] <Pyromanik> now they're grown all over, the UK gets fed by Italy
2323: [23:17:26] <Pyromanik> ss23: yeh.
2324: [23:17:29] <Pyromanik> met micmania1
2325: [23:17:36] <Pyromanik> THEN HE ABANDONED ME D:
2326: [23:17:39] <ss23> :D
2327: [23:17:47] <Pyromanik> lol
2328: [23:17:53] <ss23> For us
2329: [23:18:12] <Pyromanik> indeed, he heard a position of 'being awesome' was vacant in NZ
2330: [23:18:14] <Pyromanik> so he applied
2331: [23:19:10] <Pyromanik> UncleCheese: well, anyway, that was the story about why chinese gooseberries are kiwifruit that was told to me when I was young. Not entirely sure on the authenticity
2332: [23:19:14] <Pyromanik> :P
2333: [23:19:36] <antmas> whenever someone says 'probably a glitch in the matrix' it basically means they fucked up real good
2334: [23:19:42] * clairef has left #silverstripe
2335: [23:19:58] * Pyromanik quit (Quit: probably a glitch in the matrix)
2336: [23:20:02] <antmas> clients gon' client
2337: [23:23:46] <antmas> http://i.kinja-img.com/gawker-media/image/upload/s--wAT8HWcW--/fap15antf0v0vkkzdjfo.gif
2338: [23:26:05] <antmas> what to lunch today
2339: [23:26:18] * caamic30 has left #silverstripe
2340: [23:29:06] <hailwood> Can anyone see anything wrong with this regex? https://gist.github.com/hailwood/ae5d9a4e6cac16a09769 I'm hitting preg_replace(): Compilation failed: missing ) at offset 20
2341: [23:30:40] <simon_w|work> \\) should be \\\\)
2342: [23:30:57] <simon_w|work> (need to end up with \\ in the actual string)
2343: [23:31:18] <hailwood> Ah of course, php escape and then regex escape, cheers.
2344: [23:34:53] * Zauberfisch quit (Ping timeout: 240 seconds)
2345: [23:35:00] * Zauberfisch has joined #silverstripe
2346: [23:39:04] * spronk2 has joined #silverstripe
2347: [23:48:37] <antmas> spronk2: did you get this one? cos it has 8gb http://store.apple.com/nz/product/FE293X/A/refurbished-154-inch-macbook-pro-20ghz-quad-core-intel-i7-with-retina-display
2348: [23:49:10] <spronk2> ja
2349: [23:49:15] <spronk2> that one
2350: [23:49:46] <antmas> oh wait, some reason I thought you got 4gb
2351: [23:49:47] <antmas> nvm
2352: [23:51:01] <antmas> that screen would be awesome
2353: [23:51:04] <antmas> 15" with retina
2354: [23:53:08] <UncleCheese> talked to a lawyer
2355: [23:53:12] <UncleCheese> my landlord is going to fry
2356: [23:53:27] <ss23> What about?
2357: [23:53:34] <antmas> passes UncleCheese the burn cream
2358: [23:53:58] <UncleCheese> that she advertised the place at one price, promised it to us in a verbal agreement, then handed us a lease for $30 more
2359: [23:54:05] <UncleCheese> saying the interest in the property was hight
2360: [23:54:11] <UncleCheese> high* and she could get more for it
2361: [23:54:17] <UncleCheese> lawyer was like, wow, that's bullshit
2362: [23:54:29] <UncleCheese> and i said, but we've been paying rent for nine months on a singed lease
2363: [23:54:43] <UncleCheese> and she's like, still bullshit.. come talk to us and we'll get some restitution for you
2364: [23:54:45] <antmas> yeah but did you sign the lease with the $30 added?
2365: [23:54:49] <UncleCheese> yes
2366: [23:54:56] <antmas> so...?
2367: [23:55:02] <simon_w|work> antmas, can't contract away the law
2368: [23:55:04] <UncleCheese> it was advertised at a lower price
2369: [23:55:11] <antmas> simon_w|work: true
2370: [23:55:19] <UncleCheese> yeah, like simon_w|work showed me the other day, a handshake is a contract in NZ
2371: [23:55:25] <UncleCheese> that's why i decided to call
2372: [23:55:26] <antmas> yeah it is
2373: [23:55:31] <UncleCheese> and it's absolutely true
2374: [23:55:33] <antmas> so, what will you get?
2375: [23:55:41] <UncleCheese> hopefully OUT OF THE FUCKING LEASE
2376: [23:55:49] <antmas> backpaid and out of the lease?
2377: [23:55:58] <UncleCheese> i'll forego the $800 she owes me or whatever if we can jsut get out of the lease
2378: [23:56:25] <UncleCheese> we'll see though
2379: [23:56:30] <UncleCheese> that was kind of fun!
2380: [23:56:33] <antmas> yeah and gtfo of jville
2381: [23:56:37] <UncleCheese> +1
2382: [23:56:44] <UncleCheese> other thign she did
2383: [23:56:48] <UncleCheese> left the country for 6 weeks
2384: [23:56:58] <UncleCheese> and appointed her "friend" as a contact person
2385: [23:57:08] <antmas> oooohhh wrong thing to do
2386: [23:57:41] <UncleCheese> right?!
2387: [23:59:16] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
2388: [23:59:35] <simon_w|work> Legally required to do though

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