#silverstripe IRC Log

IRC log for 16 July 2013

All timestamps are in UTC.

1: [00:00:06] <Pyromanik> simon_w: I figured as mcuh
2: [00:00:27] <Pyromanik> but I'm looking specifically for something I said, and I know it was after my first foray into nginx, which is what comes up first
3: [00:01:11] <Peavers> using the htaccess file from THE OFFICIAL DOCUMENTATION just makes my site download a file called "download" whenever visting it. http://doc.silverstripe.org/framework/en/installation/nginx
4: [00:04:01] <Pyromanik> Peavers: but that's full of shit
5: [00:04:10] <Pyromanik> it's 100% full of shit.
6: [00:04:17] <Pyromanik> I read the nginx docs
7: [00:04:26] <Peavers> but its official?
8: [00:04:53] <Pyromanik> and the example supplied (which is actualy copied from the nginx wiki) basically violates their first three YOU SHOULD NOTs.
9: [00:05:01] <simon_w> It was submitted by someone who thought they knew what they were doing, or copied from wordpress. Can't remember which one.
10: [00:05:04] <Pyromanik> ooh, I know
11: [00:05:10] <Pyromanik> simon_w: bit of both.
12: [00:05:32] <Pyromanik> it was copied from someone from wordpress into the nginx wiki in order to 'make it work', and it's bascially just bad.
13: [00:05:49] <Pyromanik> and then someone saw it and was all 'hey that works' and copied into ss docs.
14: [00:06:00] <Pyromanik> so there's wordderp derpery in our docs.
15: [00:06:03] <Pyromanik> and I don't like it.
16: [00:06:05] <Peavers> wish someone would fix it then.
17: [00:06:10] <Pyromanik> NO SIR, I DON'T LIKE IT.
18: [00:06:15] <Pyromanik> Peavers: well yeah, I did.
19: [00:06:23] <Pyromanik> but I can't find it.
20: [00:07:14] <Peavers> well thats not much use to me
21: [00:07:36] <Pyromanik> sure it is
22: [00:07:42] <Pyromanik> never regex.
23: [00:07:46] <Pyromanik> that's pretty much teh rule
24: [00:07:58] <Pyromanik> also, reverse proxy to apache+mod_php
25: [00:08:03] <Pyromanik> it's faster.
26: [00:08:08] <Peavers> thats what I'm trying to do
27: [00:08:12] <Pyromanik> oh
28: [00:08:22] <Pyromanik> well then wtf are you looking at the SS docs for?
29: [00:08:26] <Peavers> I dunno
30: [00:08:31] <Peavers> because gzip still isn't working lol
31: [00:08:32] * supernovah has joined #silverstripe
32: [00:08:33] <Pyromanik> that's all about running nginx as the forward server.
33: [00:08:37] <Peavers> I know
34: [00:08:41] <Pyromanik> with php_fpm
35: [00:08:44] <Peavers> but was looking for snippits
36: [00:08:53] <Pyromanik> here's a snippit
37: [00:09:08] <Peavers> I need a clean serverblock example
38: [00:09:12] <Pyromanik> http://logs.simon.geek.nz/index.php?date=2013-07-16#log_987265
39: [00:09:18] <Pyromanik> Peavers: server block?
40: [00:09:23] <Peavers> vhost
41: [00:09:24] <Pyromanik> sec
42: [00:11:40] * micmania1 quit (Quit: Leaving)
43: [00:12:26] <Pyromanik> location / { # IPv6 isn't supported in proxy_pass yet.
44: [00:12:26] <Pyromanik> proxy_pass http://112.109.69.27:7080;
45: [00:12:27] <Pyromanik> proxy_set_header Host $host;
46: [00:12:27] <Pyromanik> proxy_set_header X-Real-IP $remote_addr;
47: [00:12:27] <Pyromanik> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
48: [00:12:43] <Pyromanik> eh, ip address. Deal with it.
49: [00:12:56] <Peavers> thats a proxy prama..
50: [00:12:57] <simon_w> Hey, no flooding!
51: [00:13:03] <Pyromanik> 6 lines
52: [00:13:07] <Pyromanik> not 40
53: [00:13:12] <simon_w> Flood!
54: [00:13:25] <Pyromanik> 12:13 -!- #silverstripe You're not a channel operator
55: [00:13:33] <Peavers> http://pastebin.com/KvsScq2n
56: [00:13:37] <Peavers> why no work
57: [00:14:04] <Pyromanik> what do you mean 'no work'?
58: [00:14:14] <Peavers> it just trys to download a file called download lol
59: [00:14:27] <Pyromanik> what is in that file?
60: [00:14:32] <Peavers> thats it
61: [00:14:42] <Pyromanik> empty file?
62: [00:14:47] <Peavers> what?
63: [00:14:57] <Peavers> pastebin = vhost?
64: [00:15:06] <Pyromanik> 12:14 < Peavers> it just trys to download a file called download lol
65: [00:15:06] <Pyromanik> 12:14 < Pyromanik> what is in that file?
66: [00:15:10] <Peavers> ah'
67: [00:15:29] * camfindlay quit (Ping timeout: 250 seconds)
68: [00:15:30] <Peavers> "If you can read this text then you don't have php installed"
69: [00:15:36] <Pyromanik> LOL
70: [00:15:44] <Pyromanik> perhaps you should install PHP then.
71: [00:15:48] <Peavers> this scripts bolts on top of ss to alllow access without the use of .htaccess
72: [00:15:52] <Peavers> lol I've got php installed
73: [00:16:00] <Peavers> smartarse
74: [00:16:08] <Pyromanik> apparently you don't.
75: [00:16:12] <Peavers> lol
76: [00:16:16] <Peavers> there is nothing wrong with my server stack
77: [00:16:19] <Peavers> its just this host file
78: [00:16:26] <Pyromanik> there is or you wouldn't be asking.
79: [00:16:27] <zippy__> tbh, it's annoying that HTMLEditorField no longer takes a row count as a constructor param
80: [00:16:52] <Pyromanik> zippy__: you mean like height:200px
81: [00:17:00] <Pyromanik> use css -.-
82: [00:17:03] <simon_w> zippy__, you can chain
83: [00:18:05] <simon_w> (new HtmlEditorField(blah blah))->setRows(9001)
84: [00:18:13] <Pyromanik> that works?
85: [00:18:17] <simon_w> In 5.4
86: [00:18:20] <Pyromanik> last time I t... ah
87: [00:18:35] <simon_w> 5.3 needs HtmlEditorField::create(blah blah)->setRows(9001)
88: [00:18:40] <Pyromanik> HTMLEditorField::create(blah blah)->setRows(OVER9000!!!)
89: [00:18:46] <Pyromanik> fffff
90: [00:18:47] <Pyromanik> yes
91: [00:18:51] <zippy__> wonder what 5.2 will happen
92: [00:18:57] <Pyromanik> although HTML is caps, so there!
93: [00:19:17] <Pyromanik> zippy__: 5.2 will die. you need 5.3 to run ss3
94: [00:19:27] <simon_w> And 5.3 will die next year
95: [00:19:27] <zippy__> really?
96: [00:19:31] <simon_w> Yes
97: [00:19:37] <zippy__> shizzzt!
98: [00:20:03] <simon_w> The first thing on http://doc.silverstripe.org/framework/en/installation/server-requirements
99: [00:20:28] <zippy__> arghhh!
100: [00:20:42] <terryapodaca> GridFieldBulkEditingTools got rid of the actual class?
101: [00:20:43] <simon_w> If your host is seriously using 5.2, you really need a new one
102: [00:20:46] <terryapodaca> weird
103: [00:20:54] <zippy__> thank god it's a small site
104: [00:20:59] <zippy__> praise jesus
105: [00:21:26] <Pyromanik> 5.2 doesn't do LSB which 3.0 uses a lot doesn't it?
106: [00:22:18] <simon_w> Yup
107: [00:22:25] <simon_w> And zend.gc
108: [00:22:26] <zippy__> on a positive note - HtmlEditorField::create(blah blah)->setRows(9001) works great, thanks
109: [00:22:50] <simon_w> Last update (and EOL) for PHP 5.2: 6 Jan, 2011
110: [00:24:36] <zippy__> not my server unfortunatly
111: [00:26:18] * Bollig|DesignCty has joined #silverstripe
112: [00:30:18] * supernovah quit (Ping timeout: 246 seconds)
113: [00:53:50] * terryapodaca has left #silverstripe
114: [01:08:28] <spronk> bleugh
115: [01:08:38] <spronk> nz.php.net is slow as fuck
116: [01:09:28] <irogue> blame simon_w
117: [01:11:05] <simon_w> Works great for me
118: [01:15:02] <irogue> yeah, fine from here too actually
119: [01:15:13] <Pyromanik> Works for me, hope that helps - Greets! Pyromanik.
120: [01:15:26] <irogue> i blame spronk's routing
121: [01:15:42] <spronk> :<
122: [01:15:51] <spronk> slower than intl mirrors for me
123: [01:16:36] <Pyromanik> I also blame spronk's routing.
124: [01:16:40] <Pyromanik> GG TCLFone
125: [01:17:16] <Pyromanik> IHUGVODACLEARTELSTRAFONE
126: [01:17:25] <spronk> :(
127: [01:17:29] <spronk> hate those cunts
128: [01:17:32] <spronk> but
129: [01:17:36] <spronk> discounts for having mobile plan, so..
130: [01:17:49] <Pyromanik> I went online
131: [01:17:55] <Pyromanik> they were all "Go to my account to change your plan"
132: [01:17:59] <Pyromanik> so I went to sign in
133: [01:18:04] <Pyromanik> they told me I didn't have an account
134: [01:18:06] <Pyromanik> so I made one
135: [01:18:09] <Pyromanik> and signed in
136: [01:18:14] <Pyromanik> then went to change my account
137: [01:18:26] <Pyromanik> and it just loads a page that goes "COME SEE US IN STORE BRAH"
138: [01:18:42] <Pyromanik> and I'm like FFFFFFFFFFFFFFFFFFFFFFTHE FUCK WAS THE POINT IS THAT YOU PRICKS!?
139: [01:19:28] * kerosene has left #silverstripe
140: [01:19:50] <Pyromanik> but I managed to cancel NZBESTMATE which charges me $6 a month to have the inability to text my best mate.
141: [01:20:42] <spronk> lawls
142: [01:22:19] <Pyromanik> so I can do that myself, but I can't change plan.
143: [01:22:27] <Pyromanik> I can just change specifics of a plan.
144: [01:22:32] <Pyromanik> FULL DERP.
145: [01:35:00] * metanat has joined #silverstripe
146: [01:40:19] * UncleCheese has joined #silverstripe
147: [01:42:27] * howardgrigg quit (Remote host closed the connection)
148: [01:43:56] <ss23> 777 - mark of the Hacker
149: [01:44:41] <Pyromanik> lulz ss23
150: [01:48:24] <irogue> [13:19] <Pyromanik> but I managed to cancel NZBESTMATE which charges me $6 a month to have the inability to text my best mate.
151: [01:48:28] <irogue> omg yes
152: [01:50:45] <irogue> i can't believe that's been broken so long
153: [01:50:53] <irogue> how inept can they be?
154: [01:51:33] <Pyromanik> irogue: and still chargin for it. I thought it was free on my plan.
155: [01:51:58] <Pyromanik> I should have rung them up and had a fucking go, got them to credit my account.
156: [01:52:04] <Pyromanik> $50
157: [01:52:13] <Pyromanik> then transfer that credit to prepay, because fuck contracts are shit.
158: [01:52:18] <Pyromanik> $40 for nothing.
159: [01:52:32] <Pyromanik> ridonkulous.
160: [01:58:58] * funkygibbon has joined #silverstripe
161: [01:59:17] * UncleCheese quit (Quit: UncleCheese)
162: [02:05:31] <Jayden90> Is there a best way to store a page in the CMS. I want CMS users to be able to pick a page in the back end that then powers a feature section listing child pages.
163: [02:07:20] <Jayden90> All I can think of for now is a textbox that contains the pages name. It would have to be manualy updated if said page's properties were modified
164: [02:08:10] <simon_w> A has_one to SiteTree
165: [02:08:53] <Jayden90> simon_w: I imagined that, but by what CMS field would that be managed?
166: [02:09:13] <simon_w> TreeDropdownField
167: [02:10:43] <Jayden90> Thanks Simon
168: [02:11:49] <Peavers> https://dl.dropboxusercontent.com/u/5616402/Internet%20Posts/speedgrade.jpg boom! beat that!
169: [02:12:29] <Jayden90> Peavers: nice
170: [02:12:39] <Peavers> Was getting Fs this morning
171: [02:12:44] <Peavers> before my day of tuning.
172: [02:13:10] <Jayden90> is it a responsive site?
173: [02:13:21] * ss23 pats himself on the pack
174: [02:13:26] <ss23> Broke 3 sites, fixed 'em all
175: [02:14:15] <Jayden90> if it is responsive you can take it further with http://adaptive-images.com/
176: [02:15:11] <Peavers> just spent ages trying to get away from apache .ht files
177: [02:16:07] * supernovah has joined #silverstripe
178: [02:17:32] <Jayden90> Peavers: It is a little extra work, but it does a magical job
179: [02:18:41] <Pyromanik> 14:13 <+ss23> Broke 3 sites
180: [02:18:50] <Pyromanik> You're supposed to REDUCE the tickets!
181: [02:19:02] <ss23> XD
182: [02:19:09] <Pyromanik> Peavers: you realise you don't need to nginx to stop .ht files?
183: [02:19:13] <Pyromanik> right?
184: [02:19:22] <Peavers> yeah
185: [02:19:23] <Peavers> its not atm
186: [02:19:27] <Peavers> but I want to
187: [02:19:32] <metanat> Jayden90: That adaptive images thing really needs to use mod_xsendfile. must slow down image response time and increase server memory usage
188: [02:19:32] <Pyromanik> oic, this is a different site.
189: [02:21:00] <Peavers> PageSpeed for Chrome STILL thinks I'm not compressing my files, but everything else seems to think they are so it can just get out.
190: [02:22:31] <Pyromanik> chrome is wrong? well fuck, who would have thought.
191: [02:23:42] <Pyromanik> Peavers: form your own header, send it in. See if you get plaintext back.
192: [02:24:23] <Pyromanik> Jayden90: that adaptive-images.com sounds like a complete nasty hack.
193: [02:25:01] <Jayden90> Pyromanik: Much of responsive development is a hack.
194: [02:25:22] <Pyromanik> requires php, uses GD, promotes .ht file use, make manual edits to .htaccess to pass ALL image requests through php.
195: [02:25:29] <Jayden90> The good thing about it is it is not invasive. remove the folder, .php file and .htaccess entry and its gone
196: [02:25:39] <Pyromanik> does USER AGENT SNIFFING.
197: [02:26:02] <metanat> Pyromanik: Totally agree.
198: [02:26:06] <Jayden90> http://adaptive-images.com/details.htm
199: [02:26:10] <Pyromanik> it's the responsive version of wordpress.
200: [02:26:13] <metanat> Pyromanik: Sends the file through php too!?
201: [02:26:22] <Pyromanik> probably by wordderp fan for wordderp fans.
202: [02:26:29] <Pyromanik> metanat: no idea.
203: [02:26:30] <spronk> yeesh
204: [02:26:35] <spronk> yeah,
205: [02:26:36] <Jayden90> its not traditional sniffing. It is based on screen width
206: [02:26:39] <spronk> SATAY AWAY
207: [02:26:45] <metanat> Pyromanik: I mean it, does, it uses readfile
208: [02:26:56] <Pyromanik> metanat: but I'd assume so, it sniffs user agents and resizes images (probably on the fly) with GD (the worst library).
209: [02:27:06] <Jayden90> not on the fly
210: [02:27:08] <metanat> Also, I wonder if it is vunerable to directory traversal
211: [02:27:11] * howardgrigg has joined #silverstripe
212: [02:27:24] <Jayden90> it caches the optimally sized images so it is not expensive next visit
213: [02:27:40] <metanat> Pyromanik: My point is that it used readfile and doesn't offer an option for mod_xsednfile
214: [02:27:42] <Pyromanik> still has to check for modifications each load.
215: [02:27:49] <Pyromanik> metanat: ah.
216: [02:28:02] <Pyromanik> dat sedn file.
217: [02:28:02] <metanat> And it is loading up php to send each image… doh
218: [02:28:12] <metanat> haha
219: [02:28:17] <metanat> sendfile
220: [02:28:22] <Pyromanik> pretty much removes the entire speed out of speedy loads.
221: [02:28:44] <Pyromanik> just load the big image and let the mobile device deal with it - PROBABLY FASTER.
222: [02:29:04] <Jayden90> on a 3g connection?
223: [02:29:05] <Jayden90> no
224: [02:29:20] <Pyromanik> dude, no one uses 3g anymore.
225: [02:29:27] <Pyromanik> that's like, last century tech.
226: [02:29:31] <spronk> yeah man
227: [02:29:37] <spronk> we've all moved on to nanolasers
228: [02:30:00] <Jayden90> most people on a 300px wide screen are not on a wifi network
229: [02:30:02] <Pyromanik> and our phones are powered by microsuns.
230: [02:30:05] <metanat> ah, my eye. fucking lasers again
231: [02:30:11] <spronk> yeah
232: [02:30:16] <spronk> yeah
233: [02:30:39] * spronk had to replace his nanite fuser last month, burnt out when microsun was surging
234: [02:30:41] <Jayden90> a better way would be media queries and background images. But this is not semantic and image assets have to be manually managed
235: [02:31:28] <Pyromanik> a better way is to wait for the spec to update.
236: [02:31:29] <metanat> Jayden90: I agree with the general desire
237: [02:31:55] <metanat> Just this solution has some holes.
238: [02:31:57] <Pyromanik> those slow narrow minded knob jockeys over at w3 and whatwg
239: [02:32:09] <Jayden90> Picture tags are rumoured and will take ages to come out
240: [02:32:17] <Pyromanik> oh hay, sum stuff is lacking, we'll take 10 years to get around to that.
241: [02:32:19] <Jayden90> this works now, I use it commercially
242: [02:33:07] <Jayden90> metanat: Its now pretty, but what holes in particular?
243: [02:33:15] <Jayden90> *not
244: [02:33:34] <Pyromanik> most of it.
245: [02:33:38] <Pyromanik> it's a leaky ship.
246: [02:33:51] <Pyromanik> when it works it works though. so meh.
247: [02:33:52] <metanat> Jayden90: I wonder if it is possible to use directory traversal techniques to get it to serve you files it isn't meant to
248: [02:34:00] <Pyromanik> probably.
249: [02:34:13] <Pyromanik> just use it casually to hack yahoo again.
250: [02:34:25] <metanat> Also, the fact that it is using php to send images, in particular using readfile which isn't performant on large files
251: [02:35:08] <Pyromanik> GD, not the best lib around.
252: [02:35:14] <Pyromanik> but works.
253: [02:35:16] <Pyromanik> I guess.
254: [02:35:18] <metanat> It should at least give an option to use mod_xsendfile so apache can handle the reading of the file and the setting of the headers
255: [02:35:36] <Jayden90> Its a cost benifit. The server works the first ever page load while it generates the thumbs. After that, its worth it when viewing a 1500px wide hero image on an iphone
256: [02:35:55] <metanat> yep, but at a cost to server load
257: [02:35:57] <Pyromanik> hero image!
258: [02:36:00] <Pyromanik> which hero?
259: [02:36:09] <metanat> and image load times for other users
260: [02:36:12] <Jayden90> big banner
261: [02:36:30] <metanat> but yes, it will obviously benefit some
262: [02:36:57] <Jayden90> it only works on images that need to be worked on for the breakpoint
263: [02:37:36] <Peavers> Beyonce tickets go on sale in 20 minutes boys
264: [02:37:38] <Peavers> get ready
265: [02:37:48] <Pyromanik> base64 encode all the images and embed them right in the HTML.
266: [02:37:54] <Pyromanik> INSTANT RESPONSE!
267: [02:38:09] <Jayden90> All these questions are the same ones I asked, take a look at the code and give it a go. https://github.com/MattWilcox/Adaptive-Images
268: [02:38:26] <spronk> ooo
269: [02:38:31] <spronk> computerlounge have sharpened the pencil on grado headphones
270: [02:38:32] <metanat> Jayden90: If you have it on a live server look at this doc https://www.owasp.org/index.php/Path_Traversal
271: [02:38:46] <Peavers> I've got grados, love em
272: [02:38:55] <spronk> mm
273: [02:39:52] <Jayden90> metanat: Thanks, taking a look
274: [02:40:03] <geekdenz> Thanks for the help before.
275: [02:40:04] <geekdenz> Hope this is a quick one to answer:
276: [02:40:04] <geekdenz> In a FunctionalTest, how do I force/set a certain theme?
277: [02:40:21] <geekdenz> tried: SSViewer::set_theme("aep-boostrap");
278: [02:40:32] <metanat> Jayden90: It probably isn't vunerable, but worth a check
279: [02:40:37] <geekdenz> aep-bootstrap is a custom theme
280: [02:40:42] <Pyromanik> in the controller init probably should work geekdenz
281: [02:40:59] <Pyromanik> ffffffffff, it's cake o'clock and there's no cake happening.
282: [02:41:22] <spronk> diddums
283: [02:42:36] <Pyromanik> YUS, CAKE!
284: [02:54:30] * g_ has joined #silverstripe
285: [02:54:54] * g_ is now known as Guest85475
286: [02:55:12] <spronk> hmm
287: [02:55:16] <spronk> can you get a LIKE with filter() ?
288: [02:56:10] <Pyromanik> spronk: umm
289: [02:56:16] <Pyromanik> it's something LIKE
290: [02:56:26] <Pyromanik> :partialMatchFilter
291: [02:56:36] <spronk> yes
292: [02:56:37] <spronk> thats it
293: [02:57:07] <Pyromanik> goddamn magic strings.
294: [02:57:22] <Pyromanik> good and bad.
295: [02:57:27] <metanat> lol
296: [02:58:38] <Pyromanik> metanat: what's the ip address of ilibrary.co.nz?
297: [02:59:41] <spronk> mm
298: [02:59:42] <spronk> fucking hate them
299: [02:59:50] <metanat> why's that?
300: [02:59:56] <Pyromanik> because magic* is bad.
301: [03:00:11] <metanat> I get 112.109.69.25 for the A record
302: [03:00:11] <spronk> can't just autocomplete that shit
303: [03:00:24] <Pyromanik> it's like "I'll write my program in a string, then use another language to parse the string and execute it."
304: [03:00:29] <metanat> It's counting down though
305: [03:00:39] <Pyromanik> metanat: yeah, is what i was afraid of.
306: [03:00:43] <Pyromanik> 22 hours
307: [03:00:45] <Pyromanik> for me.
308: [03:00:52] <spronk> oO
309: [03:00:59] <Pyromanik> TTL
310: [03:01:20] <Pyromanik> well I told them that they can't edit their site until their IT guy sorts out their f'n records.
311: [03:01:30] <Pyromanik> I've a feeling that's going to take at least 24 ours.
312: [03:01:32] <Pyromanik> hours*
313: [03:01:51] * supernovah quit (Ping timeout: 246 seconds)
314: [03:03:37] <spronk> rawr
315: [03:07:31] * Guest85475 quit (Ping timeout: 250 seconds)
316: [03:08:45] <Peavers> just got two awsome tickets for beyounce.
317: [03:08:51] <Peavers> because im the best bf in the fucking world.
318: [03:10:46] <spronk> you need a better girlfriend, by the sound of it
319: [03:10:47] <spronk> :p
320: [03:10:57] <Peavers> lol she doesn't internet.
321: [03:11:10] * cloph_away has joined #silverstripe
322: [03:11:12] <spronk> no
323: [03:11:13] <spronk> as in
324: [03:11:16] <spronk> beyonce
325: [03:11:19] <Peavers> I know what you were getting at lol
326: [03:11:22] <spronk> who the fuck listens to that shit
327: [03:11:23] <spronk> :;p
328: [03:11:26] <Peavers> but now her and her friend can go so I get the place to my self
329: [03:11:29] <Peavers> party at mine?
330: [03:12:04] * cloph quit (Ping timeout: 276 seconds)
331: [03:12:19] <Pyromanik> Peavers: k.
332: [03:12:24] <Pyromanik> see you Wednesday.
333: [03:12:50] <ss23> Based on their before & after rules two fragments both need to be before/after each other in
334: [03:12:54] <ss23> wtf kind of error is this?
335: [03:12:56] <ss23> simon_w: You recognize it? o.o
336: [03:15:27] <ss23> goddam it it's a routes.yml issue
337: [03:15:48] <geekdenz> ended up setting it in mysite/_config.php . Thanks though Pyromanik.
338: [03:16:02] <zippy__> Pyromanik: I find this handy; http://www.whatsmydns.net/#A/ilibrary.co.nz
339: [03:17:30] <Pyromanik> zippy__: I find kloth.net/services/dig.php quite handy.
340: [03:18:53] <zippy__> yea, thats just like running dig on your own machine, that otherwise checks multiple locations so you can see how it's propergating
341: [03:19:09] <zippy__> otherone
342: [03:19:22] <zippy__> jet, whats with this auto correct in osx programs lately
343: [03:20:16] <zippy__> off!
344: [03:20:41] <ss23> I got annoyed, turned it all off!
345: [03:25:14] <ss23> was 15 load, now 17 :D
346: [03:25:23] <ss23> another roll... 18!
347: [03:25:59] <ss23> 20! woohoo!
348: [03:28:01] * Jayden90 quit (Quit: Jayden90)
349: [03:28:04] <spronk> ugh
350: [03:28:06] <spronk> how do i do this shit
351: [03:28:29] <spronk> need to use AllChildren() but filter on a field that's defined in a subclass
352: [03:28:39] <spronk> "Couldn't find field Tags in any of SiteTree's tables"
353: [03:30:08] <spronk> https://github.com/silverstripe/silverstripe-framework/issues/1683
354: [03:30:58] <Pyromanik> spronk: haha, because Children (and AllChildren) return an ArrayList, not a DataList.
355: [03:31:01] <Pyromanik> ie, you don't.
356: [03:31:08] <spronk> blasjelkhg[ik'h
357: [03:31:10] <spronk> how does this?!
358: [03:31:46] <Pyromanik> public function FilteredChildren(){return SiteTree::get()->filter('ParentID', $this->ID);}
359: [03:31:53] <Pyromanik> etc
360: [03:31:56] <spronk> ugh
361: [03:32:00] <Pyromanik> yeh, ikr
362: [03:32:12] <Pyromanik> there is some reason it's arraylist, but I forget.
363: [03:32:21] <Pyromanik> oh
364: [03:32:23] <Pyromanik> checking permissions.
365: [03:32:29] <Pyromanik> ie, canView
366: [03:32:47] <Pyromanik> filters out the datalist into arraylist
367: [03:32:52] <spronk> hmm
368: [03:32:54] <spronk> still no work
369: [03:33:14] <spronk> user_error("Couldn't find field $this->name in any of $this->model's tables.", E_USER_ERROR);
370: [03:33:20] <spronk> in SearchFilter
371: [03:33:52] <Pyromanik> try Page::get()
372: [03:34:12] <spronk> well
373: [03:34:16] <spronk> changes to Page
374: [03:34:26] <spronk> problem is Tags is defined on like... some subclass of Page
375: [03:34:36] <spronk> buut i can't use that subclass::get()
376: [03:34:40] <spronk> because of subsites virtual pages
377: [03:35:04] <ss23> tfw you take a website down, then the client walks in for a meeting :<
378: [03:35:22] <ss23> I wonder what load this box is up to now...
379: [03:36:52] <Peavers> just had firealarm
380: [03:36:57] <ss23> :O
381: [03:36:58] <Peavers> not fun when you're up 10 floors.
382: [03:37:00] <ss23> Peavers is on FIRE baby.
383: [03:37:05] <ss23> Peavers: Why not? Just elevator down!
384: [03:37:06] <ss23> :D
385: [03:37:09] <spronk> srs, hoiw to fix this?
386: [03:38:17] <Peavers> lol
387: [03:38:21] <ss23> sorry, I'm currently scared over this server being broken
388: [03:38:23] <Peavers> elevators auto disable when alarm goes off
389: [03:38:30] <ss23> I had like 4 releases to do today, but this broken site sotpped it
390: [03:38:32] <ss23> got like 0 work done
391: [03:38:32] <ss23> :<
392: [03:39:58] <spronk> OMFG
393: [03:39:59] <spronk> FGFS
394: [03:40:31] <ss23> ;_;
395: [03:40:33] <ss23> SOZ I'M WORKING
396: [03:41:16] <spronk> it's fucking... search filter
397: [03:41:52] <ss23> FUCKING SEARCH FILTER FUUCK
398: [03:42:55] <spronk> IKR
399: [03:43:10] <spronk> ugh
400: [03:43:13] <ss23> 15:43:00 up 62 days, 5:54, 4 users, load average: 27.09, 34.12, 23.03
401: [03:43:13] <spronk> join() deprecated in 3.0
402: [03:43:14] <ss23> boom
403: [03:43:51] <spronk> how to just join('EventPage') !?
404: [03:46:02] <Pyromanik> spronk: innerJoin or outerJoin iirc
405: [03:46:16] <Peavers> nginx, if a vhost is used, how much/what config items are taken from nginx.conf? all of it?
406: [03:46:17] <spronk> mm
407: [03:46:18] <spronk> doesn't work
408: [03:46:20] <spronk> still getting the same error
409: [03:46:23] <spronk> setDataModel() doens't work either
410: [03:46:30] <spronk> searchfilter only looks at ancestors
411: [03:46:39] <Pyromanik> spronk: look at api.silvestripe.org/3.0/class-DataList.html
412: [03:46:43] <spronk> yeah, i have
413: [03:46:58] <Pyromanik> Deprecation::notice('3.0', 'Use innerJoin() or leftJoin() instead.');
414: [03:47:04] <spronk> mm, doesn't work
415: [03:47:06] <spronk> well
416: [03:47:06] <spronk> it joins
417: [03:47:13] <spronk> but searchfilter still gives error that it isn't in field list
418: [03:47:14] <Pyromanik> so it works
419: [03:47:24] <Pyromanik> oh searchfilter
420: [03:47:24] <spronk> despite having joined on the new class
421: [03:47:27] <Pyromanik> just dn't searchfilter
422: [03:47:30] <spronk> :(
423: [03:47:31] <Pyromanik> wat is sarchfildt
424: [03:47:31] <spronk> have to
425: [03:47:42] <spronk> Tags:PartialMatch => $x
426: [03:48:20] <Pyromanik> oh
427: [03:48:26] <Pyromanik> so it's an AS bug?
428: [03:48:28] <Pyromanik> or something?
429: [03:48:33] <spronk> sec
430: [03:48:39] <spronk> https://github.com/silverstripe/silverstripe-framework/issues/1683
431: [03:48:40] <spronk> its this bug
432: [03:49:34] <Pyromanik> what
433: [03:49:38] <Pyromanik> I don't even understand that bug
434: [03:50:11] <spronk> class Page extends SiteTree { private static $db = array('Blah' => 'Varchar'); }
435: [03:50:31] * Bollig|DesignCty quit (Ping timeout: 252 seconds)
436: [03:50:33] <spronk> $this->Children()->filter(array('Blah' => 'xyz'));
437: [03:50:34] <spronk> NO WORK
438: [03:51:19] * tenfef has joined #silverstripe
439: [03:51:27] * Bollig|DesignCty has joined #silverstripe
440: [03:51:41] <Pyromanik> because not datalist
441: [03:51:50] <Pyromanik> or something
442: [03:51:51] * nyeholt has joined #silverstripe
443: [03:51:54] <spronk> it is a datalist
444: [03:51:58] <tenfef> Does anyone here want a one off paid job upgrading an old Silverstripe site from 2.1 to 2.4?
445: [03:51:59] <Pyromanik> nope
446: [03:52:04] <spronk> it's definitely a datalist
447: [03:52:15] <spronk> SearchFilter:177 --> user_error("Couldn't find field $this->name in any of $this->model's tables.", E_USER_ERROR);
448: [03:52:20] <Peavers> why would you pay someone to go from 2.1 to 2.4?
449: [03:52:25] <Peavers> and not 2.1 -> 3.1
450: [03:52:51] <Pyromanik> ffffff where is even the chilrent()
451: [03:52:56] * mdowton has joined #silverstripe
452: [03:53:07] <spronk> Hierarchy
453: [03:53:07] <Pyromanik> Peavers: because 2
454: [03:53:09] <Pyromanik> easier
455: [03:53:14] <Pyromanik> oh of course.
456: [03:53:30] <tenfef> Well i made a site for someone several years ago with Silverstripe and the host upgraded PHP underneat it and now it wont run. So just need to get it back up and running and I don't have the time unfortunately
457: [03:53:36] <spronk> in any case
458: [03:53:40] <spronk> i'm using Page::get()
459: [03:53:47] <Pyromanik> spronk: http://api.silverstripe.org/3.0/source-class-Hierarchy.html#438
460: [03:54:03] <Peavers> tenfef, will do for $4500.
461: [03:54:04] <spronk> ^^
462: [03:54:17] <spronk> its a datalist. stack trace shows DataList
463: [03:54:18] <tenfef> i think 2.4 would be the simplest upgrade that is compaitble with 5.3/5.4
464: [03:54:24] <Pyromanik> tenfef: sold, $500 to get it up to 3.0
465: [03:54:38] <Pyromanik> tenfef: but 2.4 doesn't run 5.4 iirc
466: [03:54:39] <Peavers> Pyromanik, sif undercut me.
467: [03:54:49] <Pyromanik> Peavers: welcome to capitalism bitch.
468: [03:55:01] <Peavers> welcome to poor.
469: [03:55:07] <Pyromanik> I'm way poor as
470: [03:55:12] <Pyromanik> bro
471: [03:55:23] <Peavers> when you turn 4500 into 500, no wonder you're poor.
472: [03:55:24] <spronk> ughhh
473: [03:55:28] <spronk> might have to build a custom query
474: [03:55:36] <Pyromanik> well, I haven't reviewd site yet
475: [03:56:04] <Pyromanik> spronk: what is command?
476: [03:56:10] <Pyromanik> Page::get() ?
477: [03:56:57] <spronk> Page::get()->filter(array('Tags:PartialMatch' => $x))
478: [03:57:06] <ss23> Hmmm
479: [03:57:10] <spronk> wrapped in a PaginatedList
480: [03:57:34] <ss23> When you send an email to 50 people, all with the sameattachement, does it use 50*attachementsize of bandwidth fomr your clients perspective?
481: [03:57:41] <Pyromanik> spronk: but Tags isn't defined on page?
482: [03:57:47] <spronk> correct
483: [03:57:52] <spronk> it's defined on EventPage extends Page
484: [03:57:54] <Pyromanik> so you want innerjoin?
485: [03:58:02] <spronk> thats what i thought
486: [03:58:13] <Pyromanik> wait no, that's intersection isn't it?
487: [03:58:40] <tenfef> Will need to check with client but I think $300 would be doable for them. 2.4 is all that we need. but if you want to upgrade to 3, go nuts.
488: [03:58:41] <spronk> grr
489: [03:58:56] <spronk> why can i never find SiteTree in the list of classes in the API search
490: [03:58:59] <Pyromanik> spronk: yeh, you want outerjoin
491: [03:59:03] <spronk> tenfef: you'd be pushing it for $300
492: [03:59:32] <spronk> bleughh
493: [03:59:41] <spronk> 2.1->2.4 is a pretty big jump
494: [03:59:56] <tenfef> spronk: I would have thought it would only have been 2-3 hours work.
495: [04:00:09] <spronk> if everything goes smoothly, yeah
496: [04:00:29] <Peavers> what do SS devs charge us, $193 an hour for cwp?
497: [04:00:49] <tenfef> Do you need to upgrade incrementally to the next version or can you jump straight to 2.4 and run the migrations?
498: [04:00:56] <EasyCo> PHP can be a real pain in the semicolon
499: [04:01:06] <spronk> $193/hour!?
500: [04:01:08] <spronk> jiesus
501: [04:01:45] <spronk> maybe i need to increase my rates..
502: [04:02:03] <EasyCo> spronk: If you think it's a lot, you definitely need to increase your rates
503: [04:02:13] <spronk> well
504: [04:02:18] <spronk> i think its a lot for what cwp is
505: [04:02:39] <Pyromanik> no, left join should be right
506: [04:02:40] <EasyCo> I mean I don't charge that much either but hell, lets not short change ourselves :)
507: [04:02:41] <spronk> also, for what the dev salarties are
508: [04:02:47] <Peavers> the missus is charged out at ~$650 an hour.
509: [04:02:48] <Pyromanik> but you want to fill in the tags data with something
510: [04:02:50] <Pyromanik> maybe
511: [04:02:51] <Pyromanik> or somethign
512: [04:02:55] <Pyromanik> I dunno
513: [04:03:02] <Pyromanik> what order do you have the join?
514: [04:04:24] <Pyromanik> you need Page::get()->leftJoin('EventPage', 'EventPage.ID = SiteTree.ID')->filter('Tags:PartialMatch', $blah);
515: [04:04:24] <spronk> i tried an innerJoin('NewsPage', 'NewsPage.ID = SiteTree.ID')
516: [04:04:32] <simon_w> ss23, yes, I recognise it
517: [04:04:33] <spronk> err, EventPage*
518: [04:04:38] <Pyromanik> join first, then filter.
519: [04:05:12] <spronk> same problem
520: [04:05:13] <spronk> couldn't find
521: [04:05:16] <Pyromanik> well, I forgot to include the bit where ParentID = $this->ID, but you should fit that in?
522: [04:05:41] <Pyromanik> hmm
523: [04:05:43] <Pyromanik> well shit
524: [04:05:47] <Pyromanik> spronk: do this
525: [04:05:55] <tenfef> I would be keen to continue running 2.1 honestly its a basic site with simple CMS needs, but all the hosts are dropping 5.2 support these days...
526: [04:06:20] <spronk> this woiuld be easy if i could just NewsPage::get()
527: [04:06:27] <spronk> ffs
528: [04:06:30] <spronk> EventsPage*
529: [04:06:33] <spronk> why do i keep saying news
530: [04:06:53] * spronk double checks his code for typos
531: [04:07:04] <Pyromanik> Page::get()->leftJoin('EventPage', 'EventPage.ID = SiteTree.ID')->filter(array('Tags:PartialMatch'=>$tags,'ParentID'=>$this->ID)->sql();
532: [04:07:16] <Pyromanik> see where it goes wrong by inspecting actual query
533: [04:07:37] <spronk> doesn't get to the sql part
534: [04:07:44] <spronk> SearchFilter clobbers it while building the SQL
535: [04:07:50] <Pyromanik> spronk: well you could just EventsPage::get() but then it would only get the children that are events pages, not all the children.
536: [04:08:14] <Pyromanik> spronk: really?
537: [04:08:17] <spronk> Pyromanik: EventsPage::get() doesn't get virtualpages
538: [04:08:32] <spronk> so, yes, same thing you said
539: [04:08:34] <Pyromanik> spronk: umm?
540: [04:08:55] <Pyromanik> virtual pages that go to events pages?
541: [04:08:59] <spronk> mm
542: [04:09:04] <Pyromanik> just get AllChilren and filter it in PHP.
543: [04:09:08] <spronk> ugh
544: [04:09:11] <Pyromanik> lol
545: [04:09:18] <spronk> i would ahve to cache that
546: [04:09:23] <Pyromanik> preg_match
547: [04:09:25] <Pyromanik> oh yeh
548: [04:09:26] <spronk> will be many events
549: [04:09:26] <Pyromanik> ic
550: [04:09:27] <spronk> :<
551: [04:09:46] <spronk> i'm sure i've done this beforew
552: [04:09:56] <Pyromanik> it'll be alterDataQuery probably
553: [04:10:20] <spronk> simon_w: any ideas here?
554: [04:10:31] <spronk> yeah..
555: [04:10:42] <spronk> maybe i should use the ORM to build me some sql
556: [04:10:51] <spronk> then add my dodgy join
557: [04:11:28] <Pyromanik> maybe Page::get()->filter('ParentID', $this->ID)->leftJoin('EventPage', 'EventPage.ID = SiteTree.ID')->filter('Tags:PartialMatch', $tags); ?
558: [04:11:38] <spronk> heh
559: [04:11:39] <spronk> JUST tried that
560: [04:11:42] <spronk> still death :(
561: [04:11:45] <Pyromanik> ic
562: [04:12:01] <spronk> i'm calling this from EventsHolder
563: [04:12:16] <spronk> so the SearchFilter thinks the Model to use is EventsHolder
564: [04:12:25] <spronk> and then traverses up the hierarchy looking for Superclass.Tags
565: [04:12:28] <spronk> doesn't find it, throws user_error
566: [04:12:46] <spronk> theoretically DataList::setDataModel('EventPage') should help here
567: [04:12:53] <spronk> but it must be resestting somewehre
568: [04:13:43] <Pyromanik> yeh, ticket says as much.
569: [04:14:55] <ss23> simon_w: my fix was to downgrade to 3.0.3
570: [04:15:37] <spronk> I've also tried EventPage.Tabs
571: [04:15:47] <spronk> because SearchFilter says it will automatically join thetable
572: [04:15:56] <spronk> http://api.silverstripe.org/master/source-class-SearchFilter.html#47
573: [04:18:37] <Pyromanik> upgrade to 3.1?
574: [04:18:46] * zippy__ quit (Ping timeout: 240 seconds)
575: [04:19:03] <spronk> me?
576: [04:19:05] * spronk is on 3.1
577: [04:19:06] * UncleCheese has joined #silverstripe
578: [04:19:18] <Pyromanik> oh :<
579: [04:19:21] <spronk> ugh
580: [04:19:23] <spronk> debugger time, i think
581: [04:20:27] <simon_w> spronk, EventPage::get()->filter('Tags', $tags)
582: [04:21:44] <Pyromanik> simon_w: nope.
583: [04:21:51] <spronk> simon_w: doesn't work with virtual pages
584: [04:22:02] <simon_w> spronk, nor does filtering on Tags
585: [04:22:12] <Pyromanik> and in any case, searchfilter should probably still be fixed.
586: [04:22:19] <Pyromanik> that bug was posted on trac originally
587: [04:22:39] <spronk> i guess it doesn't
588: [04:22:39] <spronk> hmm
589: [04:22:50] <simon_w> You're trying to filer on something that doesn't exist on Page. It not working isn't a bug :p
590: [04:22:54] <simon_w> *filter
591: [04:22:58] <spronk> except
592: [04:23:07] <spronk> SearchFilter constructor claims it will fill in the relation join
593: [04:23:19] <spronk> i.e. if you use dot notation
594: [04:23:25] <simon_w> Yes, for relations
595: [04:23:27] <ss23> simon_w: halp, can I just turn up to a doctors randomly without an appointment?
596: [04:23:34] <simon_w> Like Page has_many EventPage
597: [04:23:41] <simon_w> ss23, not usually
598: [04:23:46] <ss23> hmm
599: [04:23:47] <ss23> annoying
600: [04:23:51] <spronk> oh... but not for hierarchy?
601: [04:23:52] <spronk> hmm
602: [04:24:04] <ss23> simon_w: Any recommendations for doctors? What do?
603: [04:24:22] <simon_w> ss23, find one you can get to, ring, make appointment
604: [04:24:31] <spronk> what about cases where you have more than one type of Child sharing a field name?
605: [04:24:36] <ss23> simon_w: No no, was meaning for specific doctors, I know the general idea!
606: [04:24:39] <spronk> shouldn't innerJoin at least allow the filter to work? O_o
607: [04:24:46] <ss23> doctors practices, I should say
608: [04:24:51] <Pyromanik> what if you want a list of multiple types?
609: [04:24:55] <ss23> e.g. will I die if I go to doctors in Newtown?
610: [04:25:01] <spronk> Yes, ss23
611: [04:25:03] <Pyromanik> don't use datalist and build your own query?
612: [04:25:05] <ss23> ;_p
613: [04:25:06] <ss23> ;_;
614: [04:25:13] <spronk> you will absolutely die if you go to doctors in Newtown.
615: [04:25:15] <spronk> yeah
616: [04:25:16] <irogue> theres the one 3 doors down from your house, ss23
617: [04:25:18] <irogue> it'll be cheap!
618: [04:25:24] <ss23> irogue: THAT ONE LOOKS DODGY
619: [04:25:25] <spronk> gonna have to resort to custom sql i think
620: [04:25:28] <irogue> they'll be used to handling needles
621: [04:25:54] <ss23> hahah irogue
622: [04:26:32] <simon_w> ss23, well, http://yellow.co.nz/y/hataitai-village-surgery?c=1144 is mine
623: [04:26:44] <simon_w> Haven't really been to any other
624: [04:26:47] <irogue> srsly tho, for convenience factor, find one close to work
625: [04:26:49] * tenfef quit (Ping timeout: 250 seconds)
626: [04:26:51] <irogue> then you can go in lunch break
627: [04:27:04] <irogue> and when you move house it doesnt matter
628: [04:27:06] * mdowton quit ()
629: [04:27:12] <ss23> irogue: not likely they'll have appointments soon?
630: [04:27:13] <ss23> I kind of
631: [04:27:14] <ss23> may have
632: [04:27:15] <ss23> ran out of insulin.
633: [04:27:17] <ss23> after tonight
634: [04:27:19] <ss23> kind of.
635: [04:27:34] <spronk> just
636: [04:27:38] <spronk> binge on sugar
637: [04:27:39] <spronk> or something
638: [04:27:44] <ss23> experience death
639: [04:27:45] <ss23> :P
640: [04:27:48] <spronk> all g _b
641: [04:28:34] <ss23> okay so like
642: [04:28:35] <ss23> http://goo.gl/maps/KiLex
643: [04:28:36] <ss23> this one says urgent
644: [04:28:42] <ss23> does that mean I can just go in after work and get my scripts etc?
645: [04:28:43] <Pyromanik> how the hell does a page get to be it's own parent?
646: [04:28:45] <ss23> It does, right?
647: [04:28:52] <ss23> Pyromanik: DATABAES CORRUPTION ISSUES, BRO.
648: [04:28:53] <spronk> inception, Pyro
649: [04:29:08] <Pyromanik> hard
650: [04:29:16] <Pyromanik> unsyncyness I guess
651: [04:29:18] <spronk> alternatively, time travel, screws its mother
652: [04:29:19] <simon_w> ss23, if you've got a prescription, why do you need to see a doctor? Just talk to a pharmacy
653: [04:29:27] <ss23> simon_w: I don't have a script yet
654: [04:29:29] <simon_w> Otherwise, ring em :p
655: [04:29:31] <Pyromanik> just wondering about this: http://api.silverstripe.org/master/source-class-Hierarchy.html#570
656: [04:29:32] <ss23> simon_w: Need new ones every few months
657: [04:29:40] * priithansen quit (Quit: priithansen)
658: [04:30:22] <ss23> So yes, irogue and simon_w, urgent == I can go after work without appointment, right? ;_;
659: [04:30:32] <spronk> JUST RING THEM
660: [04:30:36] <spronk> AND FIX MY BUGS D:
661: [04:31:51] <Pyromanik> I don't understand new ORM sometimes.
662: [04:31:53] <Pyromanik> so like
663: [04:31:56] <irogue> @IanTLS: "Hi, we've put 20 plugins onto our Wordpress Blog and it's stopped working. Do you think it's a denial of service attack?"
664: [04:32:04] * simon_w is building his own ORM!
665: [04:32:07] <Pyromanik> Page::get() only gets page objects, even if it's a subclass?
666: [04:32:19] <ss23> hmmm
667: [04:32:22] <Pyromanik> but then DataObject::get() gets actual child objects?
668: [04:32:38] <Pyromanik> so Page, EventsPage, BlogEntery, whatevers?
669: [04:33:21] <spronk> ugh
670: [04:33:26] <spronk> world no need more ORMS
671: [04:33:30] <spronk> need less!
672: [04:33:30] <simon_w> Pyromanik, nope
673: [04:33:33] <Pyromanik> and even if Page::get() doesn't have fields, shouldn't doing a ->leftJoin and then ->filter still manage to generate a valid query?
674: [04:34:04] <Pyromanik> simon_w: so how does Children work?
675: [04:35:15] <simon_w> $blah = DataObject::get($baseClass, "$baseClass.ParentID = $this->ID"); foreach($blah as $b) { if($b->canView()) { $et[] = $b; } } return $et
676: [04:35:26] <Pyromanik> because on Site Tree it just equivilates to SiteTree::get()->filter(array('ParentID'=>$this->ID,'ShowInMenus'=>1))->exclude('ID,$this->ID)
677: [04:35:41] <simon_w> Yes
678: [04:35:51] <Pyromanik> yeah, but then when you <% loop %> the resulting list it gives you actual objects.
679: [04:36:02] <simon_w> Yes
680: [04:36:22] <Pyromanik> I could <% loop Children %> $Tags
681: [04:36:26] <simon_w> <Pyromanik> Page::get() only gets page objects, even if it's a subclass?
682: [04:36:27] <simon_w> That's what the nope's for
683: [04:36:31] <Pyromanik> and it'd give me tags for pages that have them
684: [04:36:46] <spronk> that's a good point
685: [04:36:50] <spronk> the fuck does it do when it loads?
686: [04:36:52] <Pyromanik> urgh, bad phrasing on my part
687: [04:36:58] <spronk> is it lazy loading the pages?
688: [04:37:09] <Pyromanik> Page::get() only generates page objects, even if the classname is for a subclass?
689: [04:37:16] <simon_w> The sub-class bits, yes
690: [04:37:20] <simon_w> Pyromanik, nope
691: [04:37:28] <simon_w> does a new $record['ClassName']
692: [04:37:34] <spronk> hmm
693: [04:37:35] <simon_w> Always
694: [04:37:44] <spronk> so reasonably large performance implications there without some form of caching
695: [04:37:45] <Pyromanik> right, but after the query eh.
696: [04:37:57] <spronk> esp if many childs
697: [04:38:35] <Pyromanik> lazy loadification means query only executed when it's needed, result cached and then referred to via iteration?
698: [04:38:45] <Pyromanik> ie, do objects only get inflated as they're called?
699: [04:39:36] <Pyromanik> and simon_w so even if Page::get() doesn't check subclass fields, surely leftJoining them should enable the following filter query to check them?
700: [04:40:00] <Pyromanik> which apparently it currently doesn't.
701: [04:42:15] <simon_w> Looks like it does to me
702: [04:42:22] <spronk> noep
703: [04:42:23] <Pyromanik> but this is the issue spronk is having.
704: [04:42:40] <spronk> searchfilter throws a user_error because model can't be found
705: [04:42:48] <Pyromanik> it 'mares and claims the fields don't exist, BEFORE generating the query.
706: [04:43:55] <spronk> hmm
707: [04:44:04] <spronk> a way to make ParentID filter apply post-query would be super handy
708: [04:44:34] <spronk> also, ffs, can't pass a DateTime to filter?!
709: [04:44:48] <simon_w> https://github.com/silverstripe/silverstripe-framework/blob/3.1/tests/model/DataListTest.php#L619-L630
710: [04:44:54] <simon_w> This test works
711: [04:45:15] <simon_w> (title's on DataObjectTest_Team)
712: [04:45:16] <spronk> yeah, but that's filtering a relation
713: [04:45:23] <spronk> isn't it?
714: [04:45:39] <simon_w> See how there's no dot in the filter?
715: [04:45:49] <spronk> yeah but .ID => .TeamID ?
716: [04:45:59] <simon_w> So?
717: [04:46:09] <spronk> should be .ID => .ID if traversing DO hierarchy
718: [04:46:24] <spronk> multi table inheritance
719: [04:46:28] <simon_w> That the join is manually on a relation is irrelevant
720: [04:47:03] <spronk> hmm
721: [04:47:20] <spronk> maybe join syntax was fucked and it was ignoring silently..
722: [04:47:33] <spronk> test is using quotes etc
723: [04:49:04] <simon_w> Well, if you're not quoting the table, then it's not correctly going to be replaced when in Live mode
724: [04:49:24] <simon_w> So SiteTree.ID won't exist, because SiteTree won't
725: [04:49:26] <spronk> and silently fails?
726: [04:49:36] <simon_w> Well, it'll fail when it runs
727: [04:49:54] <spronk> hmm
728: [04:49:56] <spronk> doesn't seem to
729: [04:50:13] <spronk> oh
730: [04:50:14] <spronk> well
731: [04:50:24] * spronk sets up a test
732: [04:50:36] <Pyromanik> dafuq
733: [04:51:06] <Pyromanik> that moment when you see a static HTML holding page in your top 10 traffic users.
734: [04:51:52] <Pyromanik> all others are high power information services sites, or e-commerce.
735: [04:52:02] <spronk> simon_w: doesn't seem to work
736: [04:52:20] <spronk> $x = $this->AllChildren()->leftJoin('EventPage', '"EventPage"."ID" = "SiteTree"."ID"')->filter(array('Tags:PartialMatch' => 'woot'));
737: [04:52:25] <spronk> dies with couldn't find in table
738: [04:52:31] <spronk> "Couldn't find field Tags in any of SiteTree's tables."
739: [04:55:03] <simon_w> Upgrade to 3.1
740: [04:55:06] <spronk> i am on 3.1
741: [04:55:16] <spronk> specifically...
742: [04:55:24] <spronk> 3.1.0-beta3
743: [04:55:31] <simon_w> Yeah, you want later than that
744: [04:55:36] <spronk> oh?
745: [04:55:37] <simon_w> At least https://github.com/silverstripe/silverstripe-framework/commit/9775204436fad2c31e3c06996ce19ae3f44ccd11 late
746: [04:55:56] <simon_w> It was willr that broke the Postgres build!
747: [04:55:59] <simon_w> And SQLite!
748: [04:56:07] <spronk> oh
749: [04:56:22] <spronk> well fuck
750: [04:56:36] <simon_w> willr should get in here so he can be told off
751: [04:57:10] <Pyromanik> spronk: now it works?
752: [04:57:23] <spronk> Pyromanik: nah, just doesn't work with 3.1.0-b3
753: [04:57:28] <spronk> would work if i was on 3.1 master
754: [04:57:36] <simon_w> *3.1 HEAD
755: [04:57:38] <spronk> patch to fix the join was only pulled a month ago
756: [04:57:46] <simon_w> master is an entirely separate branch :p
757: [04:57:54] <spronk> yeah that
758: [04:58:19] <irogue> anyone know any SS kids who want some casual work?
759: [04:59:31] <spronk> define 'kid' and 'casual'
760: [04:59:31] <spronk> :P
761: [04:59:47] <Pyromanik> aaaaaand....
762: [04:59:58] <Pyromanik> ...
763: [05:00:02] <Pyromanik> HOME!
764: [05:00:06] <spronk> lul
765: [05:00:06] <spronk> chow
766: [05:00:07] * Pyromanik quit (Quit: leaving)
767: [05:01:55] * Zauberfisch^away has joined #silverstripe
768: [05:02:16] * UncleCheese quit (Quit: UncleCheese)
769: [05:02:22] <irogue> spronk: someone who'll subcontract for <$100/hr :P
770: [05:10:20] <spronk> wait wtf, DateTime fields don't deserialise to SS_DateTIme?
771: [05:11:14] <ss23> irogue: I might, a friend who's looking at contract. Do they have to know SS?
772: [05:11:55] * Peavers quit (Ping timeout: 252 seconds)
773: [05:17:38] * DigNZ quit (Quit: DigNZ)
774: [05:24:47] <irogue> ss23: yeah, or at least be able to pick it up quickly
775: [05:24:55] <irogue> fairly large and complex project, lol
776: [05:25:10] <irogue> lots and lots of DataObjects and ModelAdmins :P
777: [05:25:34] <ss23> Hmm
778: [05:25:37] <ss23> Maybe not good
779: [05:25:40] <ss23> Just flatmate who is poor
780: [05:25:44] <ss23> irogue: The guy you met who looks gay
781: [05:25:59] <ss23> (At least as a straight person, I thought he looked gay, your gaydar might be more accurate)
782: [05:26:25] <irogue> ss23: the one we went to pita pit with?
783: [05:26:29] <ss23> yeah
784: [05:26:38] <ss23> He did uni, did honors etc
785: [05:26:41] <ss23> And now he's poor
786: [05:26:42] * joelpitt_ quit (Remote host closed the connection)
787: [05:26:53] <ss23> Has *some* expereience with PHP, not much OOP PHP stuff by the sounds of it
788: [05:26:53] * joelpittet has joined #silverstripe
789: [05:27:05] <spronk> how much work you reckon, irogue?
790: [05:27:06] <ss23> He's looking for fulltime work too, but nto sure when/if he'll get some
791: [05:27:11] <irogue> yeah, i assumed he was gay, though Alice in Wonderland confused me on that
792: [05:27:13] <ss23> hahaha
793: [05:27:19] <ss23> He's not gay, it's weird
794: [05:27:28] <ss23> He's the gayest straight guy I know, and I know myself!
795: [05:27:28] <irogue> wellington + artsy so prob bi :P
796: [05:27:33] <ss23> He's not even bi :O
797: [05:27:37] <ss23> HE ONLY LIKES THE PUSSY.
798: [05:27:39] <ss23> Or so he says
799: [05:27:43] <irogue> [17:27] <spronk> how much work you reckon, irogue?
800: [05:28:06] <irogue> umm
801: [05:28:27] <irogue> tough to say
802: [05:28:34] <ss23> Guess!
803: [05:28:40] <spronk> hours? days? weeks? months?
804: [05:29:25] <irogue> this much: http://sdrv.ms/12CkIZe
805: [05:29:42] <ss23> uh
806: [05:29:45] <ss23> That is not a small amount
807: [05:29:56] <ss23> Not sure if appropriate
808: [05:29:56] <irogue> prob a month or so of full-time-ish work
809: [05:30:08] <irogue> tho obv doesn't have to all be done within a month :P
810: [05:30:27] <spronk> hmm
811: [05:30:27] <spronk> yeah
812: [05:30:28] <spronk> thats quite a bit
813: [05:30:52] <irogue> tbh it wouldnt be all of it, some of it i've already started, or would be easier for me to do myself
814: [05:30:59] <irogue> and some is "pipe dream"
815: [05:31:56] <irogue> paid ~$2k for a single post-it last time, $150/hr, total rip-off, i ended up having to fix a bunch of it
816: [05:32:08] * metanat quit (Quit: Leaving.)
817: [05:32:27] <spronk> hrm
818: [05:32:45] <ss23> naw, doubt it would be good for him, sorry irogue!
819: [05:32:53] <irogue> turns out they were drupal guys who claimed they could SS
820: [05:32:55] <ss23> If he stays unemployed though I'll see, he might be willing to learn
821: [05:32:57] <ss23> hahha irogue
822: [05:33:19] <ss23> public function Page extends SiteTree { public function theLoop() { /* bitches dunno WHAAAT */ } }
823: [05:33:25] <ss23> THE LOOOOOP
824: [05:34:43] <spronk> bleh @ drupal guys
825: [05:34:47] <spronk> also, big bleh @ joomla "developers"
826: [05:36:29] <ss23> biggest bleh at spronk!
827: [05:36:36] <spronk> pretty much aye
828: [05:36:44] <ss23> "I'm just not sure exactly how you want them removed."
829: [05:36:50] <ss23> I need to not reply to tickets while tired
830: [05:36:50] * spronk would put his hand up but probably don't have time for a month's worth of FT work
831: [05:37:03] <ss23> FT == ??
832: [05:37:06] <ss23> Freelance Tightly?
833: [05:37:07] <spronk> full time
834: [05:37:10] <ss23> oic
835: [05:37:11] <irogue> spronk: well, if you want to do bits and pieces, can always split it up
836: [05:37:27] <irogue> got a couple of urgent-ish ones that are pretty easy
837: [05:38:39] * guzzlefry_dev quit (Quit: Ex-Chat)
838: [05:41:07] <spronk> i'll see hwo much longer i'm needed on current project and let you know
839: [05:41:37] <spronk> meant to be done with this already but bullshit client keeps changing reqs
840: [05:41:54] <irogue> haha
841: [05:42:06] <irogue> goddamn clients
842: [05:42:17] <spronk> pretty much
843: [05:44:43] <irogue> wow @ the MD of Ingram Micro's name
844: [05:45:04] <spronk> ?
845: [05:46:11] <irogue> Gary Bigwood
846: [05:46:16] <spronk> :D
847: [05:50:00] * DigNZ has joined #silverstripe
848: [05:57:32] <irogue> teehee
849: [05:57:38] <irogue> draytek sent me a beta firmware
850: [05:57:42] <irogue> that had a git log with it
851: [05:57:50] <irogue> IM IN UR GIT, LOOKIN' AT ALL UR COMMITS
852: [05:58:17] <spronk> lol
853: [05:58:18] <spronk> :D
854: [05:58:30] <ss23> lol
855: [05:58:34] <ss23> irogue: is the git URL publi?
856: [05:58:35] * DigNZ quit (Quit: DigNZ)
857: [05:58:37] <ss23> public*?
858: [06:00:06] <irogue> ss23: nah, internal
859: [06:02:03] <ss23> wait, irogue
860: [06:02:12] <ss23> it comes with the .git which means history WHICH MEANS ALL TEH SOURCES?@
861: [06:02:15] <ss23> GIMMIE
862: [06:02:16] <ss23> GIMMIE
863: [06:02:22] <irogue> ss23: no
864: [06:02:25] <irogue> it has a gitlog dump
865: [06:02:27] <irogue> not the .git
866: [06:02:29] <ss23> oh
867: [06:02:29] <ss23> :<
868: [06:03:32] <irogue> ss23: ftp://ftp.draytek.com/Vigor2130/Support/Linux-based%20Source%20Code/V1.5.2/
869: [06:03:46] <irogue> its openwrt based
870: [06:04:03] <ss23> aw k
871: [06:04:13] <ss23> do you know what proprietary stuff they bought?
872: [06:04:15] <ss23> uh
873: [06:04:18] <ss23> not bought
874: [06:04:19] <ss23> made
875: [06:04:57] <irogue> just the UI, and for the xDSL routers, the driver for the xDSL chip will be proprietary
876: [06:05:23] <irogue> you can SSH into them and look at / edit the configs
877: [06:05:56] <irogue> there was a bug in one version that didn't let you change DHCP pool to be bigger than 50, so i just edited dhcpd.conf to fix it for people who needed it, until they made a new firmware
878: [06:08:37] <ss23> hmm
879: [06:08:43] <ss23> UI as in not using luci?
880: [06:09:32] * WillSkeggs has joined #silverstripe
881: [06:09:58] <irogue> ss23: correct
882: [06:10:49] <ss23> oh fun
883: [06:10:52] <ss23> I will poke it one day
884: [06:10:58] * ss23 adds to his infinitly long todo list
885: [06:13:04] <irogue> ikr
886: [06:13:14] <irogue> i've finally caught up to 2pm today
887: [06:13:44] <irogue> and that's just calling/emailing people back who've left me messages
888: [06:16:25] <ss23> lol
889: [06:16:31] * ss23 looks at his 100+ ticket backlog
890: [06:16:39] <ss23> IT'S GETTING BIGGER, NOT SMALLER
891: [06:16:40] <ss23> :<
892: [06:28:26] * Zauberfisch is now known as Zauberfisch^idle
893: [06:28:33] * Zauberfisch^away is now known as zauberfisch
894: [06:36:05] * Sliver has joined #silverstripe
895: [06:36:34] <Sliver> Hello, could someone tell me how access a has_one File object in an include file?
896: [06:36:41] <Sliver> to access*
897: [06:36:55] <ss23> What is an include file?
898: [06:37:34] <Sliver> Well, basically I have a ClientPage which as a ClientForm and I need to pass a PDF which belongs to the Page to the Form.
899: [06:37:46] <Sliver> The Form is called from within the Page.
900: [06:38:33] <Sliver> I managed to access a boolean through "$curation = $this->owner->Curation == 1 ? true : false;" and calling Curation in the Form.
901: [06:38:46] <Sliver> But that doesn't apply for a DataObject I guess.
902: [06:38:49] * SightUnseen has joined #silverstripe
903: [06:39:17] <Sliver> which has a ClientForm
904: [06:42:07] * SightUnseen has left #silverstripe
905: [06:50:32] * Error404NotFound has joined #silverstripe
906: [06:59:21] * maknz has joined #silverstripe
907: [06:59:21] * maknz quit (Changing host)
908: [06:59:21] * maknz has joined #silverstripe
909: [07:02:30] <WillSkeggs> Hi guys, does anyone know what the best way would be to restrict registrations of members to those with certain email domains?
910: [07:08:35] * wmk has joined #silverstripe
911: [07:09:05] <wmk> good morning gentlemen
912: [07:13:46] <zauberfisch> good morning
913: [07:14:26] <ss23> moin
914: [07:16:32] * pippy quit (Ping timeout: 240 seconds)
915: [07:17:04] <ss23> urgh
916: [07:17:07] <ss23> gotta finish my talk tonight
917: [07:17:19] <ss23> it's going to be videod though, so even crazy people who live in the non glorious nation of NZ can see it
918: [07:17:22] <ss23> :D
919: [07:17:42] <simon_w> And those, like Peavers, not on the RSVP list
920: [07:17:50] <ss23> ^^
921: [07:17:55] <ss23> Lots of people this time
922: [07:17:56] <ss23> :O
923: [07:17:59] <ss23> Over 30!
924: [07:18:05] <simon_w> There's a waiting list!
925: [07:18:08] <ss23> Going to go for 40 person venue next time
926: [07:18:09] <ss23> lol
927: [07:18:35] * swordsmanz quit (Quit: restarts his irc client with confusion)
928: [07:18:37] * pippy has joined #silverstripe
929: [07:18:52] <ss23> now to go home, and shamefully walk into an emergency medical center and be like ";_; I forgot to get more insulin, plz gimmie prescriptions"
930: [07:19:03] * swordsmanz has joined #silverstripe
931: [07:23:49] * svandragt quit (Ping timeout: 256 seconds)
932: [07:33:11] * joelpittet quit (Remote host closed the connection)
933: [07:39:24] * Error404NotFound quit (Read error: Operation timed out)
934: [07:39:45] * Error404NotFound has joined #silverstripe
935: [07:45:43] * lerni has joined #silverstripe
936: [07:51:10] <howardgrigg> WillSkeggs: couldn't you check for the @awesome.com in your form submission process?
937: [07:52:33] * chillu has joined #silverstripe
938: [07:52:44] <howardgrigg> if (strpos($Data['Email'], 'awesome.com'){ Sign them up }else{ fail }
939: [07:55:54] * kinglozzer has joined #silverstripe
940: [07:57:17] * EasyCo quit (Quit: EasyCo)
941: [08:00:08] * jmConan has joined #silverstripe
942: [08:00:32] <jmConan> hi everyone
943: [08:03:12] * pippy_ has joined #silverstripe
944: [08:04:08] <jmConan> i'm currently trying to build a onepage via SS, but failing some knowlegde ... :/ i'm looking for a way to load content e.g. from a team page (type - page) via includes (e.g. /Includes/Team.ss) into my Page.ss
945: [08:04:54] <jmConan> you guys have an idea, what my correct search terms will be?
946: [08:05:18] * osterlaus has joined #silverstripe
947: [08:05:40] * pippy quit (Ping timeout: 256 seconds)
948: [08:12:45] <WillSkeggs> simon_w|air or anyone, Is it possible to do an onbeforewrite on member - e.g. sort of like this http://www.sspaste.com/paste/show/51e4ffc723e40 ?
949: [08:15:33] <howardgrigg> jmConan: the includes are still in the scope of the current page
950: [08:17:15] * zippy__ has joined #silverstripe
951: [08:17:23] <zippy__> Evening
952: [08:17:58] <jmConan> but i always have url.com/home as a base, and won't reach /team to get the output... is there a way to tell SS to use the virtual url to /team/ ?
953: [08:26:08] * lobarvaz has joined #silverstripe
954: [08:26:18] <kinglozzer> jmConan <% with Page('/team') %>
955: [08:26:23] <kinglozzer> I think
956: [08:28:39] <jmConan> i'll try, thx
957: [08:34:07] <kinglozzer> Anyone know off the top of their head how long the CMS login cookie lasts?
958: [08:34:41] <kinglozzer> Or is it a session?
959: [08:35:47] * cloph_away is now known as cloph
960: [08:37:28] <zauberfisch> ss23 what are you going to talk about?
961: [08:38:23] <zauberfisch> WillSkeggs: you are putting a function inside a function? :O
962: [08:38:34] * UncleCheese has joined #silverstripe
963: [08:38:44] <zauberfisch> make validateEmailDomain a protected method of the class
964: [08:38:53] <swordsmanz> best way to embed a pdf into a SS site ?
965: [08:39:03] <zauberfisch> and then call it as a member method
966: [08:40:32] <Bollig|DesignCty> swordsmanz: upload it via the cmd, link to it? what am I missing?
967: [08:41:20] <swordsmanz> is there no way to use a web based viewer of some sort ?
968: [08:41:49] <zauberfisch> swordsmanz: there is pdf.js
969: [08:41:55] <zauberfisch> I hear its rather cool
970: [08:41:58] <zauberfisch> but never used it
971: [08:42:16] <zauberfisch> but I would not embed PDF unless there is a _really good_ reason for it
972: [08:42:34] <Bollig|DesignCty> yeah, i mean browsers these days have embedded pdf viewers. an iframe and the pdf as the target would 'embed' it.
973: [08:42:53] <Bollig|DesignCty> but as zauberfisch mentions, it's terrible for accessibility and UX
974: [08:42:53] <zauberfisch> WillSkeggs: having a second look at your code I changed my mind, this is a bloody BAD idea
975: [08:42:59] <zauberfisch> don't do it WillSkeggs
976: [08:43:25] <zauberfisch> WillSkeggs: onBeforeWrite is not for validation
977: [08:43:36] <zauberfisch> and there is no clean way skip the write
978: [08:43:56] <swordsmanz> yeah i know but I'm developing for lazy idiots that want a fucking plugin for everything -_-
979: [08:44:41] * UncleCheese quit (Quit: UncleCheese)
980: [08:47:52] <jmConan> kinglozzer thx a lot, that was what i was looking for, it works :)
981: [08:48:33] <WillSkeggs> Yeh, zauberfisch, this appears to work http://www.sspaste.com/paste/show/51e5082db63ab - I was just thinking about using it in the interim till I sort out javascript validation.
982: [08:49:14] <zauberfisch> seriously, this is really bad
983: [08:49:16] <zauberfisch> don't do it
984: [08:49:24] <zauberfisch> WillSkeggs: read my post about validations on stackoverflow:
985: [08:49:44] <zauberfisch> http://stackoverflow.com/a/17574428/1119263
986: [08:50:08] <kinglozzer> jmConan: Just a note, <% with Page('/team') %> relies on the URL segment always being 'team' - if they change the URL to something different, the content will disappear.
987: [08:50:18] <zauberfisch> WillSkeggs: I recommend you use the NetefxValidator module and write a rule for the input field
988: [08:51:35] <zauberfisch> WillSkeggs: where is this member form used?
989: [08:51:52] <zauberfisch> is it your own form oder a form in the admin area you need this validation on?
990: [08:52:05] <WillSkeggs> zauberfisch, I was only using the onbeforewrite approach because I wasn't sure how to extend memberprofiles module.
991: [08:52:15] <WillSkeggs> extend validation on*
992: [08:52:29] <zauberfisch> ah, member profile module
993: [08:52:39] <zauberfisch> let me see how you would hook your validator in there
994: [08:53:59] <zauberfisch> oh noez, ajshort did not make this extendable
995: [08:54:01] <zauberfisch> bad boy!
996: [08:55:06] <zauberfisch> hmmm, let me think
997: [08:57:06] <WillSkeggs> :S
998: [08:57:47] <zauberfisch> WillSkeggs: are you willing to get your hands dirty and fix this in the module?
999: [08:58:46] <WillSkeggs> zauberfisch: Yeh, sure.
1000: [09:01:05] <zauberfisch> WillSkeggs: in fact, nvm
1001: [09:01:09] <zauberfisch> https://github.com/ajshort/silverstripe-memberprofiles/pull/58
1002: [09:01:13] <zauberfisch> that should fix it
1003: [09:01:31] <zauberfisch> try my fork
1004: [09:01:42] <zauberfisch> and then create:
1005: [09:02:11] <zauberfisch> haha
1006: [09:02:15] <zauberfisch> forget about it
1007: [09:02:18] <zauberfisch> he merged it
1008: [09:02:21] <zauberfisch> that was fast
1009: [09:02:27] <zauberfisch> one just got to love ajshort
1010: [09:02:27] <WillSkeggs> Awesome.
1011: [09:02:38] <zauberfisch> update your module
1012: [09:02:41] <zauberfisch> and thenn create:
1013: [09:06:36] <WillSkeggs> Zauberfisch: I've updated.
1014: [09:08:01] <zauberfisch> WillSkeggs: http://paste2.org/2aMWUvd4
1015: [09:08:39] <zauberfisch> let me know if it worked
1016: [09:10:06] <zauberfisch> afk
1017: [09:10:24] * osterlaus quit (Quit: Leaving.)
1018: [09:16:33] * C10ne has joined #silverstripe
1019: [09:18:28] * funkygibbon quit (Quit: Leaving)
1020: [09:21:02] <WillSkeggs> zauberfisch : Did you mean DataExtension rather than Extension in your code?
1021: [09:21:25] <C10ne> Anyone knows how can I populate ListBoxField with ManyManyList?
1022: [09:30:38] <ss23> zauberfisch: Secure Silverstripe
1023: [09:31:43] * UncleCheese has joined #silverstripe
1024: [09:33:05] * Sliver quit (Quit: Page closed)
1025: [09:46:55] * UncleCheese quit (Quit: UncleCheese)
1026: [09:49:36] * zippy__ quit (Ping timeout: 246 seconds)
1027: [09:50:23] * osterlaus has joined #silverstripe
1028: [09:54:49] * osterlaus quit (Client Quit)
1029: [09:57:53] <WillSkeggs> zauberfisch: any idea why this isn't working? http://paste2.org/HKvf9mCW
1030: [09:59:26] * UncleCheese has joined #silverstripe
1031: [09:59:44] * UncleCheese quit (Client Quit)
1032: [10:10:17] * howardgrigg quit (Remote host closed the connection)
1033: [10:10:21] * Shrike_Finland has joined #silverstripe
1034: [10:13:33] <ss23> irogue: gangsta, still want a freelancer? I got a guy who should be free for a month, he's willing to learn SS (he's done Code Iginitor before). Want me to give you his email?
1035: [10:19:00] * Pigeon has joined #silverstripe
1036: [10:19:23] * Pigeon is now known as Guest13016
1037: [10:19:50] * Guest13016 is now known as PigeonFriend
1038: [10:27:07] * howardgrigg has joined #silverstripe
1039: [10:30:23] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
1040: [10:35:06] * UncleCheese has joined #silverstripe
1041: [10:35:28] <ss23> UncleCheese: Enjoying New Zealand? Found a house yet? :D
1042: [10:35:44] <UncleCheese> Yeah. We're up in Vogeltown
1043: [10:35:49] <ss23> Cool :D
1044: [10:35:55] <UncleCheese> We WERE enjoying NZ until Sunday night
1045: [10:35:56] <UncleCheese> holy fuck
1046: [10:35:58] <ss23> lol
1047: [10:36:01] <ss23> Did you enjoy the wind?
1048: [10:36:02] <ss23> :D
1049: [10:36:06] <ss23> Windy wellington!
1050: [10:36:19] <UncleCheese> in all honesty.. this is not an exaggeration.. back home, they would have sent us to a shelter during that kind of weather
1051: [10:36:22] <UncleCheese> absolutely crazy
1052: [10:36:24] <ss23> lol, why?
1053: [10:36:35] <ss23> Like, unless you've got a house of straw, it won't pull it down easily
1054: [10:36:44] <UncleCheese> and our south-facing house wouldn't get above 13 degrees even with the log burner cranking full force
1055: [10:37:09] <howardgrigg> haha yea the wind can get up a bit in Wellington
1056: [10:37:10] <ss23> You missed out on the big one where the link for power between the two islands went out and lots of wellington lost power and train tracks were dead etc, UncleCheese
1057: [10:37:13] <ss23> It was more fun :D
1058: [10:37:13] <UncleCheese> meanwhile, my neighbors were building a conservatory in 80kph winds and driving rain
1059: [10:37:21] <ss23> haha
1060: [10:37:24] <UncleCheese> I'm like.. yeah, you guys must be from wellington
1061: [10:37:30] <howardgrigg> lol
1062: [10:37:38] <UncleCheese> hauling construction materials up the hill
1063: [10:37:41] <UncleCheese> no worries, mat
1064: [10:37:43] <UncleCheese> e
1065: [10:38:03] <UncleCheese> i was scared for my life.. couldn't even hear ourselves talk over the whistling winds
1066: [10:38:17] <ss23> hahaha
1067: [10:38:21] <ss23> You'll get used to it
1068: [10:38:32] <UncleCheese> i was glad to go into work the next day and hear everyone say that last night was as bad as it gets
1069: [10:38:37] <ss23> XD
1070: [10:38:39] <ss23> They lied!
1071: [10:38:41] <howardgrigg> lol - I grew up sailing on the harbour - makes you prepared for most seas
1072: [10:38:44] <ss23> It was way worse a few weeks ago
1073: [10:38:51] <UncleCheese> well that was a storm
1074: [10:39:03] <ss23> :D
1075: [10:39:10] <UncleCheese> the vodafone guy said you get weather like that a couple times every winter
1076: [10:39:17] <ss23> Vogeltown is pretty close to me :O
1077: [10:39:18] <UncleCheese> but it's not that often
1078: [10:39:24] <ss23> Guessing I would have to walk up lots of hills, but not too far
1079: [10:39:25] <UncleCheese> yeah, i've been walking into the office
1080: [10:39:29] <ss23> Woah
1081: [10:39:31] <ss23> Where is the office?!
1082: [10:39:34] <UncleCheese> brutal on the way home, but it's good for me
1083: [10:39:39] <UncleCheese> umm
1084: [10:39:43] <UncleCheese> down adelaide road
1085: [10:39:43] <ss23> In the city?
1086: [10:39:46] <UncleCheese> hania street
1087: [10:39:49] <UncleCheese> Mount Vic
1088: [10:40:04] <ss23> oh yep
1089: [10:40:09] <UncleCheese> 20 minutes in, 28 back
1090: [10:40:20] <UncleCheese> 40 if i stop at countdown
1091: [10:40:24] <ss23> Yeah, I walk along that route on my way from work, but continue up until courtney
1092: [10:40:30] <ss23> UncleCheese: OH OH I GO TO THE SAME COUNTDOWN
1093: [10:40:30] <ss23> :D
1094: [10:40:34] <howardgrigg> 3 hours if you stop at the pub on the way home
1095: [10:40:40] <UncleCheese> HA
1096: [10:40:45] <UncleCheese> Pub Adelaide?
1097: [10:40:47] <UncleCheese> looks shady
1098: [10:40:59] <ss23> lol
1099: [10:41:01] <howardgrigg> lol
1100: [10:41:12] <UncleCheese> You guys do this amazing thing in NZ.. you can get groceries delivered to your house!
1101: [10:41:17] <ss23> lol
1102: [10:41:20] <ss23> Yeah, if you wanna pay :P
1103: [10:41:24] <UncleCheese> we're so excited fro that
1104: [10:41:30] <UncleCheese> $8.. free if over $100
1105: [10:41:42] <UncleCheese> we finally got internet today.. w00t
1106: [10:41:48] <UncleCheese> so i'm up late
1107: [10:41:49] <ss23> Snap?
1108: [10:41:51] <ss23> lol
1109: [10:41:52] <UncleCheese> no
1110: [10:41:54] <UncleCheese> Vodafone
1111: [10:41:54] <ss23> :O
1112: [10:41:56] <ss23> Blurgh
1113: [10:41:58] <ss23> Bad choice!
1114: [10:42:02] <UncleCheese> cable rules
1115: [10:42:03] <howardgrigg> yea we get that sometimes in Aussie - it was super handy when we didnt have a car
1116: [10:42:10] <ss23> oh that's right, I forget we have Cable in wellington
1117: [10:42:29] <UncleCheese> In the USA, cable is the standard.. DSL is very uncommon
1118: [10:42:35] <howardgrigg> UncleCheese: so you'll meet the SS team at the meetup tomorrow?
1119: [10:42:40] <UncleCheese> i plan to
1120: [10:42:47] <UncleCheese> we'll see how it goes
1121: [10:43:13] <ss23> :D
1122: [10:43:15] <ss23> UncleCheese: I'm talking
1123: [10:43:20] <UncleCheese> booo
1124: [10:43:25] <ss23> Speaking of which, I really need to finish this talk
1125: [10:43:31] * ss23 vim hack_silverstripe.py
1126: [10:43:35] <UncleCheese> i'll be talking during your talk
1127: [10:44:11] <ss23> ;_;
1128: [10:44:12] <ss23> NU UH
1129: [10:45:04] <ss23> Urgh
1130: [10:45:14] <ss23> I have to chain together a bunch of bugs to properly exploit this I think
1131: [10:45:20] <UncleCheese> have i told you how amazing the NZ electronic banking system is?
1132: [10:45:34] <ss23> nope
1133: [10:45:34] <ss23> :D
1134: [10:45:35] <UncleCheese> I think that's been my favorite part so far
1135: [10:45:46] <UncleCheese> that you can just send people money by clicking a button
1136: [10:45:51] <ss23> lol
1137: [10:45:57] <ss23> It is handy
1138: [10:45:59] <UncleCheese> i paid for a bunch of stuff on trade me with my iphone
1139: [10:46:03] * priithansen has joined #silverstripe
1140: [10:46:06] <UncleCheese> that's amazing
1141: [10:46:12] <UncleCheese> back home, we write checks
1142: [10:46:16] <ss23> blurgh!
1143: [10:46:18] <ss23> Old fashioned
1144: [10:46:24] <howardgrigg> haha yea - cheques seem pretty backward
1145: [10:46:34] <UncleCheese> one of my co-workers was like "Cheques?? Wait… like… PAPER?"
1146: [10:46:38] <zauberfisch> WillSkeggs: I am back
1147: [10:46:46] <ss23> XD
1148: [10:46:58] <zauberfisch> WillSkeggs: what ss version are you using? ss23 ss24 or ss3?
1149: [10:47:03] <ss23> o.o
1150: [10:47:12] <ss23> That... was that on purpose, zauberfisch? :<
1151: [10:47:14] <UncleCheese> The idea of wiring money into someone's account… i wouldn't even know where to start with my US bank
1152: [10:47:23] * Shrike_Finland quit (Quit: Leaving.)
1153: [10:47:44] * ARNHOE has joined #silverstripe
1154: [10:47:56] <howardgrigg> NZ is ahead of Aussie as well - quite a few places still require cash over here
1155: [10:48:06] <ss23> ^^
1156: [10:48:10] <howardgrigg> but in NZ even the farmers market people have eftpos
1157: [10:48:12] <ss23> Most annyoing thing while in AU...
1158: [10:48:19] <WillSkeggs> zauberfisch: Hi! I'm using SS3 - I'm using this http://paste2.org/HKvf9mCW
1159: [10:48:24] <ss23> Had to carry around cash cause all the dingy lunch shops didn't take eftpos
1160: [10:48:27] <ss23> :<
1161: [10:48:31] <ss23> And my GOD Australian coins are monsterous
1162: [10:49:20] * Shrike_Finland has joined #silverstripe
1163: [10:51:29] <zauberfisch> ss23: of course not! I would never dare to do that on purpose
1164: [10:51:29] <zauberfisch> I am sure there are still people out there using ss23
1165: [10:51:33] <ss23> XD
1166: [10:51:37] <ss23> 2.3!
1167: [10:51:42] <zauberfisch> and thats why I need to make sure that I always ask for ss23
1168: [10:51:51] <ss23> lol
1169: [10:52:01] <zauberfisch> >:D
1170: [10:52:10] <ss23> omg
1171: [10:52:12] <ss23> gotta do this
1172: [10:52:17] <ss23> I wanted to do live demo of me pwning SS sites
1173: [10:52:24] <ss23> but no internet there and cbf setting up VMs on someone elses laptop
1174: [10:52:29] <ss23> Whats the best way to record it, do you think?
1175: [10:55:28] * howardgrigg quit (Read error: Connection reset by peer)
1176: [10:55:52] * howardgrigg has joined #silverstripe
1177: [10:59:57] <WillSkeggs> Any idea zauberfisch? I'm using this http://paste2.org/HKvf9mCW
1178: [11:00:18] <zauberfisch> WillSkeggs: hold on
1179: [11:00:41] <zauberfisch> WillSkeggs: define not working
1180: [11:00:45] <zauberfisch> any error message?
1181: [11:01:53] <WillSkeggs> No error message, the rule just appears to not be working. I'm wondering whether I am initiating validation properly.
1182: [11:10:01] <WillSkeggs> zauberfisch: I Installed your validation module by the way, which I'm keen to try out.
1183: [11:11:29] * micmania1 has joined #silverstripe
1184: [11:41:46] * zauberfisch quit (Ping timeout: 240 seconds)
1185: [11:42:19] * zauberfisch has joined #silverstripe
1186: [11:42:22] <zauberfisch> WillSkeggs: back
1187: [11:42:30] <zauberfisch> any progress?
1188: [11:42:34] <zauberfisch> if still no
1189: [11:42:47] <zauberfisch> 1) yes I mean Extension, not DataExtension
1190: [11:43:05] <zauberfisch> DataExtension is for Dataobjects, but we are extending a controller
1191: [11:43:09] <zauberfisch> ah, fail
1192: [11:43:18] <zauberfisch> that is the answer
1193: [11:43:26] <zauberfisch> you added the exntesion to Page
1194: [11:43:32] <zauberfisch> Object::add_extension('MemberProfilePage', 'myMemberPageExtension');
1195: [11:43:55] * UncleCheese quit (Quit: UncleCheese)
1196: [11:44:14] <zauberfisch> should be: Object::add_extension('MemberProfilePage_Controller', 'myMemberPageExtension');
1197: [11:44:38] <zauberfisch> and class myMemberPageExtension extends DataExtension should be "class myMemberPageExtension extends Extension"
1198: [11:45:40] <zauberfisch> then it should work
1199: [11:45:40] <PigeonFriend> new site launched, in case anyone wondered: http://www.betterbrief.co.uk/
1200: [11:45:43] <PigeonFriend> :)
1201: [11:45:44] <micmania1> zuberfisch, do you know if there's a way to search old github tickets?
1202: [11:45:59] <micmania1> I ask you because I know you worked with the migration :)
1203: [11:46:36] <zauberfisch> PigeonFriend nice! I love the svg icons <3
1204: [11:46:39] <zauberfisch> cool stuff
1205: [11:46:44] <PigeonFriend> <3 thanks
1206: [11:47:18] <zauberfisch> micmania1: uhn, old github ticket? I think the github search includes closed tickets by default does it not?
1207: [11:48:20] <zauberfisch> PigeonFriend: I also find the way you display/load new pages intresting
1208: [11:48:37] <micmania1> ah! ignore me lol Cheers
1209: [11:48:58] <PigeonFriend> zauberfisch: yer, well, we still need to add polish so that popstate works properly and so that if you scroll back up the URL changes
1210: [11:49:03] <PigeonFriend> but we just needed to launch it in the end
1211: [11:49:13] <micmania1> PigeonFriend, nice site.
1212: [11:49:47] <PigeonFriend> micmania1 cheers :)
1213: [11:51:11] <micmania1> I like the sidebar in mobile view
1214: [11:53:22] * micmania2 has joined #silverstripe
1215: [11:55:12] * UncleCheese has joined #silverstripe
1216: [11:55:34] * Pigeon has joined #silverstripe
1217: [11:55:59] * Pigeon is now known as Guest90910
1218: [11:57:04] <WillSkeggs> zauberfisch, I made those changes, but same result. I am able to register members without that validation (which I can confirm works in php) being enforced.
1219: [11:57:16] * micmania1 quit (Ping timeout: 276 seconds)
1220: [11:57:17] * PigeonFriend quit (Ping timeout: 276 seconds)
1221: [11:57:27] <zauberfisch> WillSkeggs: is the extesion called?
1222: [11:57:57] <WillSkeggs> zauberfisch: sorry?
1223: [11:57:57] <zauberfisch> put a "die("ohai";" into the updateRegisterForm and see what happens
1224: [11:58:11] <zauberfisch> * die("ohai");
1225: [11:58:23] <WillSkeggs> ok
1226: [11:58:40] * Shrike_Finland quit (Quit: Leaving.)
1227: [11:58:56] <zauberfisch> ah
1228: [11:58:56] <zauberfisch> fail
1229: [11:58:59] <zauberfisch> I see what you did wrong
1230: [11:59:04] <zauberfisch> I missed that before
1231: [11:59:10] <zauberfisch> paste me your latest code again
1232: [11:59:11] <WillSkeggs> zauberfisch: Yes the die kills the page.
1233: [12:00:05] <WillSkeggs> zauberfisch: http://www.sspaste.com/paste/show/51e5353f17915
1234: [12:00:26] <zauberfisch> new MemberProfileValidator
1235: [12:00:34] * UndefinedOffset has joined #silverstripe
1236: [12:00:46] <zauberfisch> you are using the Validator of the module
1237: [12:01:00] <zauberfisch> you have to use your own Validator that you created in line 11
1238: [12:01:03] <zauberfisch> new MemberProfileValidator should be
1239: [12:01:08] <zauberfisch> new myMemberProfileValidator
1240: [12:01:21] <zauberfisch> so you have to change line 4 and line 7
1241: [12:01:45] <zauberfisch> also don't forget to change line 18, $field and $message need to be set to what you want it
1242: [12:04:00] <micmania2> found a lazy loading bug :(
1243: [12:05:56] * Shrike_Finland has joined #silverstripe
1244: [12:06:26] <WillSkeggs> zauberfisch: awesome the validation is working, only issue is that the error message is being displayed at the wrong field - I replaced $field with $Email.
1245: [12:06:26] * Shrike_Finland1 has joined #silverstripe
1246: [12:06:36] <WillSkeggs> How should the field be referenced?
1247: [12:07:29] * Shrike_Finland2 has joined #silverstripe
1248: [12:07:29] * Shrike_Finland1 quit (Client Quit)
1249: [12:10:14] * Shrike_Finland quit (Ping timeout: 252 seconds)
1250: [12:14:49] * howardgrigg quit (Remote host closed the connection)
1251: [12:18:43] <zauberfisch> WillSkeggs: $field should be the name of the field that the error message should be displayed on
1252: [12:19:23] <zauberfisch> so if you want the error message directly under the the field called "Email" then you have to set $field to "Email"
1253: [12:20:23] <WillSkeggs> Cool and I can add as many validation rules in the same manner as the existing one I have created?
1254: [12:22:26] <WillSkeggs> zauberfisch: so like this? $this->validationError("Email", "An University of Otago Email Address is required.", 'required');
1255: [12:22:32] <zauberfisch> yes
1256: [12:22:53] <zauberfisch> you can additionally also set for example:
1257: [12:22:57] <WillSkeggs> Zauberfisch: Ok, this adds a message underneath firstname
1258: [12:23:09] <zauberfisch> $this->validationError("Name", "I don't like the sound of your name", 'required');
1259: [12:24:29] <zauberfisch> WillSkeggs: are you sure that it adds it underneath firstname? maybe there is just some CSS that makes it look like it.
1260: [12:24:39] <zauberfisch> check the HTML and see it
1261: [12:30:01] <WillSkeggs> zauberfisch: http://tinypic.com/view.php?pic=33z7dro&s=5
1262: [12:30:59] <WillSkeggs> http://tinypic.com/view.php?pic=33z7dro&s=5
1263: [12:31:04] <WillSkeggs> woops*
1264: [12:31:49] <zauberfisch> this is odd
1265: [12:31:58] <zauberfisch> are you sure you have set it for the field named Email?
1266: [12:36:44] <WillSkeggs> zauberfisch: $this->validationError("Email", "An University of Otago Email Address is required.", 'required');
1267: [12:36:57] <zauberfisch> hmm
1268: [12:36:58] <zauberfisch> no idea
1269: [12:37:40] <zauberfisch> I suspect that it can not find the field and therefore puts it to the first field
1270: [12:38:25] * C10ne quit (Quit: Page closed)
1271: [12:38:27] <WillSkeggs> Hmm the rule is still applying correctly
1272: [12:39:02] * swordsmanz quit (Ping timeout: 240 seconds)
1273: [12:42:21] <zauberfisch> WillSkeggs: have you tried puting the lastname first and then see where it gets put
1274: [12:43:00] <WillSkeggs> will try now
1275: [12:49:21] <zauberfisch> back
1276: [12:49:30] <zauberfisch> back
1277: [12:50:11] <WillSkeggs> zauberfisch: Is it possible to reorder them without editing the module directly?
1278: [12:50:29] <zauberfisch> oh, right, they come from the module
1279: [12:50:31] <zauberfisch> no idea
1280: [12:50:48] <zauberfisch> isn't it possible to reorder them in the CMS?
1281: [12:51:08] <WillSkeggs> I don't think so. Would using your validation plugin make a difference to the result?
1282: [12:51:13] <WillSkeggs> Or does it use the same methods?
1283: [12:52:49] <WillSkeggs> zauberfisch: I have your module installed.
1284: [12:53:06] <zauberfisch> the module does the same thing
1285: [12:53:10] * maknz quit (Ping timeout: 276 seconds)
1286: [12:53:15] <zauberfisch> it uses the validationError method
1287: [12:56:51] * Error404NotFound quit (Ping timeout: 246 seconds)
1288: [12:56:56] * supernovah has joined #silverstripe
1289: [12:57:43] <WillSkeggs> zauberfisch, don't ask me how but it appears to be working now.
1290: [12:57:51] <WillSkeggs> Thanks so much for your help
1291: [12:57:54] <zauberfisch> np
1292: [12:58:14] <zauberfisch> WillSkeggs: mind pasting your latest code?
1293: [12:58:34] <zauberfisch> I will send it was example code to the module
1294: [12:58:40] <zauberfisch> so others may benefit from that in the future
1295: [12:58:46] <WillSkeggs> How easy would be to now use your plugin with that setup? Sure Ill pasetbin it now.
1296: [12:59:08] * UncleCheese quit (Quit: UncleCheese)
1297: [12:59:56] <zauberfisch> hmmm, well, since the member profile module uses its own valdator, you would need to duplicate the defualt functionality
1298: [13:00:38] * supernovah quit (Client Quit)
1299: [13:00:52] <WillSkeggs> ahk, don't worry about it.
1300: [13:01:19] <WillSkeggs> zauberfisch: http://paste2.org/Dyt7376w
1301: [13:01:58] <WillSkeggs> Cheers, gotta go. Laters.
1302: [13:02:04] <zauberfisch> cya
1303: [13:06:23] * WillSkeggs quit (Ping timeout: 250 seconds)
1304: [13:07:08] * zfmf1 has joined #silverstripe
1305: [13:09:25] * Error404NotFound has joined #silverstripe
1306: [13:13:53] * Error404NotFound quit (Ping timeout: 240 seconds)
1307: [13:13:54] * Err404NotFound has joined #silverstripe
1308: [13:32:37] * supernovah has joined #silverstripe
1309: [13:45:07] * lerni quit (Remote host closed the connection)
1310: [13:47:23] * Err404NotFound quit (Ping timeout: 240 seconds)
1311: [13:48:19] * Age has joined #silverstripe
1312: [13:48:43] * Age is now known as Guest98093
1313: [13:48:54] * Guest90910 is now known as PigeonFriend
1314: [13:53:59] * micmania2 quit (Quit: Leaving)
1315: [14:00:24] * Err404NotFound has joined #silverstripe
1316: [14:05:35] * Err404NotFound quit (Ping timeout: 264 seconds)
1317: [14:07:39] <ARNHOE> chillu: Is it possible that you could update the translations? There is some annoying misspell in the dutch language for 3.1
1318: [14:07:52] <ARNHOE> chillu: I have updated it in getlocalization.com
1319: [14:11:44] * Err404NotFound has joined #silverstripe
1320: [14:15:13] * howardgrigg has joined #silverstripe
1321: [14:19:59] * howardgrigg quit (Ping timeout: 264 seconds)
1322: [14:23:08] * Err404NotFound quit (Ping timeout: 260 seconds)
1323: [14:24:46] * Nivery has joined #silverstripe
1324: [14:26:52] * zagstrukk has joined #silverstripe
1325: [14:27:11] <zagstrukk> well hello there, people :D
1326: [14:27:24] <zagstrukk> i'm ashamed to say, but i need help again.... /:
1327: [14:35:22] * Err404NotFound has joined #silverstripe
1328: [14:36:13] <wmk> zagstrukk, nevermind
1329: [14:36:39] <zagstrukk> did you manage to install some kind of calendar module on 3.0.5?
1330: [14:36:49] <zagstrukk> coz i couldnt, no matter how hard i tried
1331: [14:37:07] <wmk> hm, no. never tried
1332: [14:37:17] <wmk> what are the errors?
1333: [14:39:29] <zagstrukk> different... for unclecheese's calendar
1334: [14:39:36] <zagstrukk> it cant even build the database
1335: [14:39:48] <zagstrukk> (some kind of visibility problem of a class)
1336: [14:39:52] <zagstrukk> on the others
1337: [14:40:00] <zagstrukk> (i dont really remember which one)
1338: [14:40:28] <zagstrukk> it installed correctly, but when i made a new page, it said "fatal error"
1339: [14:41:20] <wmk> uncleceese's calendar needs 3.1 from what i see in composer.json
1340: [14:41:38] <wmk> you'd need to grab an older version
1341: [14:44:08] <zagstrukk> https://github.com/unclecheese/EventCalendar/blob/master/composer.json
1342: [14:44:08] <wmk> and a fatal error can be anything. you'd need to have a look in the error logs
1343: [14:44:15] <zagstrukk> here, it says 3.*
1344: [14:44:27] <zagstrukk> where can i find them? :D
1345: [14:46:04] <wmk> what's the difference to https://github.com/unclecheese/silverstripe-event-calendar ?
1346: [14:46:06] * chillu quit (Quit: chillu)
1347: [14:47:23] <zagstrukk> no idea
1348: [14:47:28] <zagstrukk> now, it installed fin
1349: [14:47:29] <zagstrukk> e
1350: [14:47:33] <zagstrukk> we'll see...
1351: [14:48:19] <zagstrukk> Fatal error: Class 'TimePickerField' not found in /opt/lampp/htdocs/eventcalendar/code/CalendarDateTime.php on line 40
1352: [14:48:56] <wmk> https://github.com/unclecheese/silverstripe-event-calendar/issues/9 for the 3.0 compatibility.
1353: [14:49:11] <wmk> and in the issues there is something about timepickerfield you have to install also
1354: [14:49:32] <wmk> just browse in github repos and you'll find some information ;)
1355: [14:49:49] <wmk> did you install manually or via composer?
1356: [14:54:07] * chillu has joined #silverstripe
1357: [14:55:22] <zagstrukk> manually
1358: [14:55:29] <zagstrukk> it works now...
1359: [14:55:35] <zagstrukk> but with no style... strange
1360: [14:56:33] <zagstrukk> should i add the module css file to the template, or what?
1361: [15:01:41] <wmk> dunno
1362: [15:02:15] <wmk> if a flush=1 doesn't help you have to add it manually, which would be a bug
1363: [15:08:50] * gumble has joined #silverstripe
1364: [15:09:50] * Err404NotFound quit (Ping timeout: 240 seconds)
1365: [15:10:27] <zagstrukk> nope...
1366: [15:10:52] <PigeonFriend> another plug: new site launched, in case anyone wondered: http://www.betterbrief.co.uk/ ( chillu what you think? )
1367: [15:10:53] <zagstrukk> do i have to modify the theme in any way? maybe in the Include folder or something
1368: [15:11:34] <gumble> hey I have a lot of products which are shown under the url products/show/$ID. this page contains a form, and I want the submit-button to link to products/order/$ID. how would I do that?
1369: [15:12:14] <gumble> because atm I have the action doOrder and it always links to products/doOrder without the ID
1370: [15:13:46] <chillu> PigeonFriend: Looks well crafted, I like the looks
1371: [15:14:19] <chillu> But the IA gets really confusing with the injected content, because you lose all reference points as to where you are in the page
1372: [15:15:08] <chillu> Clicking four experts gives me four expert "navigation grids", and clicking the same expert twice also shows it twice in the content
1373: [15:15:20] <PigeonFriend> chillu: mmm, yer, I know what you're saying. Ideally we'd add some "resistance" when scrolling up so you hit a barrier
1374: [15:15:27] <PigeonFriend> hehe, yes, I know, we're planning on fixing that
1375: [15:15:32] <PigeonFriend> release early and often and all that
1376: [15:16:35] <chillu> You basically build up the content as you go, so the actually displayed content is like a path/history that's different for every visit. Its an unusual combo of a single page anchor nav and per-page conetnt
1377: [15:17:22] <PigeonFriend> chillu: exactly, that's the idea. we just need to stop duplicate clicks and handle people clicking about all over the place before the ajax responds
1378: [15:17:59] <chillu> I would remove the previous content when you switch to a new main nav
1379: [15:19:37] <chillu> Its an interesting concept, I've struggled with a single page nav on a smaller website I did for my dad as well. Ended up simplifying content as much as possible, and putting additional stuff in modals
1380: [15:20:14] <PigeonFriend> chillu: at the moment we remove all if you go home
1381: [15:20:22] <PigeonFriend> bring the screen size down, looks nice like that too
1382: [15:20:43] <chillu> ARNHOE: We'll merge back translations before 3.1.0 final, unfortunately its still a shit and error prone workflow. In the meantime, you can download the files for self-use right?
1383: [15:21:08] <zagstrukk> chillu: your site is awesome :D
1384: [15:21:23] <zagstrukk> so awesome, it froze my tablet xD
1385: [15:21:30] <chillu> Huh, which one?
1386: [15:21:49] <zagstrukk> what do you mean which one? :D
1387: [15:22:11] <chillu> betterbrief = PidgeonFriend
1388: [15:23:33] <PigeonFriend> zagstrukk: what tablet? Not really dont a huge amount of testing on tablets, but I've never seen it crash
1389: [15:25:27] <zagstrukk> Pipo S2, simple rk3066
1390: [15:25:39] <zagstrukk> but it's rooted, that may be the problem :D
1391: [15:26:24] <PigeonFriend> Ah, I've only tested it on the nexus family and iPads / iPhones
1392: [15:26:42] <zagstrukk> and yep, it opens the content as many times i click a link :D
1393: [15:28:15] <zagstrukk> now it works :D it seems it was the tablets fault, not the sites :D
1394: [15:29:18] <PigeonFriend> lol
1395: [15:30:31] <zagstrukk> nope, the calendar styling doesnt seem to work anyhow
1396: [15:34:56] <PigeonFriend> calendar styling?
1397: [15:36:12] <zagstrukk> yep... i finally installed it
1398: [15:36:22] <zagstrukk> but no style... just plain text everywhere
1399: [15:37:45] <zagstrukk> do i need to install blog for widgets?
1400: [15:44:22] * FrozenFire quit (Read error: Connection reset by peer)
1401: [15:44:45] * zauberfisch quit (Quit: Leaving...)
1402: [15:45:56] * FrozenFire has joined #silverstripe
1403: [15:46:45] * zagstrukk_ has joined #silverstripe
1404: [15:49:55] * zagstrukk quit (Ping timeout: 260 seconds)
1405: [15:56:15] * Guest98093 quit (Ping timeout: 250 seconds)
1406: [16:03:12] <zagstrukk_> what are the requirements for widgets? i cant find it anywhere, and composer doesnt seem to work
1407: [16:03:41] * kinglozzer quit (Remote host closed the connection)
1408: [16:04:04] <zagstrukk_> Fatal error: Access level to WidgetArea::$has_many must be public (as in class DataObject) in /opt/lampp/htdocs/widgets/code/model/WidgetArea.php on line 8
1409: [16:05:13] <AlphaCactus> probably tried to get 3.1 module for older install of ss?
1410: [16:09:52] <zagstrukk_> nope, it was a bug... but solved
1411: [16:10:00] <zagstrukk_> but ty anyways :D
1412: [16:15:47] * howardgrigg has joined #silverstripe
1413: [16:16:08] <wmk> anyone used https://github.com/sunnysideup/silverstripe-upgrade_silverstripe for upgrading code to 3.0 / 3.1 ??
1414: [16:19:43] <gumble> somehow I can call my functions from the template even if they aren't in the allowed_actions array?!
1415: [16:21:40] * howardgrigg quit (Ping timeout: 276 seconds)
1416: [16:22:58] <AlphaCactus> yes
1417: [16:23:12] <AlphaCactus> allowed_actions are only for functions accessed from a browser
1418: [16:23:48] <gumble> If I don't want my OrderForm to have an own URL, how do I do that? I just have the function orderForm which outputs the form and then should redirect somewhere else. But whatever I do orderForm will always redirect to /orderForm
1419: [16:25:21] <gumble> AlphaCactus, ok thanks
1420: [16:25:43] <AlphaCactus> not sure about best solution, but you can either set the action when you create the form, or you can redirect back or elsewhere at the end of the form processing function
1421: [16:32:20] <zagstrukk_> i dont get it.... i really starting to get confused... the widget module doesn't work without the blog module, but i can't install both of them
1422: [16:47:59] * ARNHOE quit (Remote host closed the connection)
1423: [16:48:51] * PigeonFriend quit ()
1424: [16:50:40] * SphereSilverNL has joined #silverstripe
1425: [16:51:10] <SphereSilverNL> How can I check what version of Silverstripe 3 is installed?
1426: [16:52:04] * lobarvaz quit (Remote host closed the connection)
1427: [16:52:19] <AlphaCactus> if its a stable release, you can mouse hover the SS logo in the CMS. or check the silverstripe_version file in the cms or framework folders. but if those files are empty, then it seems you are kinda sol.
1428: [16:52:42] <SphereSilverNL> ah, hey, cool :D
1429: [16:54:46] <SphereSilverNL> Hmmm, the result of this is a bit ehm... unwanted :/
1430: [16:55:36] <AlphaCactus> empty? someone smart once said they are empty for master/dev branches which I think is pretty useless.
1431: [16:55:51] <SphereSilverNL> No, it's saying it's at 3.1.0, which I was expecting.... only....
1432: [16:56:07] <SphereSilverNL> ehm, I'm getting a bug I was expecting from an SS3.0 environment
1433: [16:56:16] <AlphaCactus> ^_^
1434: [16:58:48] <SphereSilverNL> I'm screwed :P
1435: [16:59:36] * catcher_dev has joined #silverstripe
1436: [17:01:18] <wmk> SphereSilverNL, need a screwdriver?
1437: [17:02:15] <SphereSilverNL> No, FTP or SSH access :P
1438: [17:02:27] <catcher_dev> Anyone have a good way to populate a form with pre-existing data and previous submission data, in that order?
1439: [17:02:30] <AlphaCactus> ssh ftw
1440: [17:03:20] <SphereSilverNL> Yeah, but that's not up to me ;)
1441: [17:03:40] <SphereSilverNL> I only have SSH on my own servers :D
1442: [17:03:41] <catcher_dev> i.e. when there's a form validation error, it should be populated with pre-existing data, and those fields should be overwritten by previous submissions if they were filled in.
1443: [17:04:07] <wmk> SphereSilverNL, i can feel you
1444: [17:04:42] <zagstrukk_> okay, the last question (or i hope so)
1445: [17:04:43] <zagstrukk_> Using outdated tab path "Root.Content.Widgets"
1446: [17:04:43] <SphereSilverNL> catcher:
1447: [17:05:04] <zagstrukk_> now what.... i cant find where the call comes from...
1448: [17:05:07] <AlphaCactus> catcher_dev: form->loadDataFrom ?
1449: [17:05:44] <SphereSilverNL> merge the two arrays, then say $form->loadDataFrom($merged_array);
1450: [17:05:52] <SphereSilverNL> I'm slow :P
1451: [17:05:52] <catcher_dev> AlphaCactus, $form->loadDataFrom($object) followed by $form->loadDataFrom($this->request->postVars) does not work as expected
1452: [17:05:58] <wmk> zagstrukk_, use grep or ack to find the source...
1453: [17:06:16] <SphereSilverNL> catcher_dev: make the object an array, then merge it with the post-data
1454: [17:06:48] <zagstrukk_> Deprecation.php
1455: [17:06:49] <wmk> zagstrukk_, http://beyondgrep.com/
1456: [17:07:28] * irogue quit (*.net *.split)
1457: [17:08:48] * gelignite has joined #silverstripe
1458: [17:08:57] * unsigned_ has joined #silverstripe
1459: [17:10:04] * irogue has joined #silverstripe
1460: [17:11:13] * unsignedint quit (Ping timeout: 276 seconds)
1461: [17:11:49] <SphereSilverNL> Check out my awesome new t-shirt! https://pbs.twimg.com/media/BPTu9WHCQAAo3Fg.jpg:large :D
1462: [17:13:10] <AlphaCactus> keep dry?
1463: [17:16:30] <zagstrukk_> wmk, thanks, i found it :D
1464: [17:16:51] <wmk> well, ack is a cool tool
1465: [17:19:40] <zagstrukk_> what do i need for widgets? sortableGrid or such.... it works now, i just can't click on the widgets title to add...
1466: [17:21:28] <SphereSilverNL> AlphaCactus: yeah, at most times I prefer to be dry :D
1467: [17:26:34] * ARNHOE has joined #silverstripe
1468: [17:28:41] * ARNHOE quit (Remote host closed the connection)
1469: [17:29:24] * Nivery quit (Quit: Nivery)
1470: [17:31:06] * SphereSilverNL quit (Remote host closed the connection)
1471: [17:34:32] * Liquide has joined #silverstripe
1472: [17:37:17] * Nivery has joined #silverstripe
1473: [17:40:01] <catcher_dev> Anyone here use xdebug?
1474: [17:40:23] <catcher_dev> I have it installed properly, overload_var_dump is on, but it's just not happening.
1475: [17:43:07] <catcher_dev> Ah, got it, nm
1476: [18:15:16] * SphereSilverNL has joined #silverstripe
1477: [18:16:09] * howardgrigg has joined #silverstripe
1478: [18:19:17] * zagstrukk_ quit (Ping timeout: 248 seconds)
1479: [18:20:16] * howardgrigg quit (Ping timeout: 246 seconds)
1480: [18:22:27] <AlphaCactus> Anbody know why gridfield action buttons with no-ajax class are designed to not post any form data
1481: [18:23:24] * gumble quit (Ping timeout: 240 seconds)
1482: [18:26:29] * zfmf1 has left #silverstripe
1483: [18:39:49] * chillu quit (Quit: chillu)
1484: [18:43:57] * NitinShah has joined #silverstripe
1485: [18:44:35] <NitinShah> Anyone who can help me with the cws-shortcode module
1486: [18:45:06] * SightUnseen has joined #silverstripe
1487: [18:45:09] * SightUnseen has left #silverstripe
1488: [18:45:25] <NitinShah> Am trying to create a shortcode for displaying latest blogs based on tags on specific pages using shortcode on ss3.1
1489: [18:46:48] <NitinShah> Am not clear about the code that I should be using to create the shortcode
1490: [18:48:59] <FrozenFire> NitinShah, It's largely something you'll need to figure out by existing example.
1491: [18:49:00] <FrozenFire> https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/model/SiteTree.php#L401
1492: [18:49:19] <FrozenFire> https://github.com/silverstripe/silverstripe-cms/blob/3.1/_config.php#L13
1493: [18:53:38] <wmk> anyone knows a tool where i can convert translation php files to yml ?
1494: [18:55:22] <NitinShah> FrozenFire, I am using the shortcode module for this. Have created a shortcode for the latest blog http://sspaste.com/paste/show/51e5968177ecc
1495: [18:55:43] <FrozenFire> Don't really need a shortcode module.
1496: [18:55:49] <FrozenFire> Shortcodes are fairly trivial on their own
1497: [18:56:32] <NitinShah> din't know. There is a cws-shortcode module.
1498: [18:57:31] <NitinShah> Anyways if you can just review the code I have created on sspaste and linked above
1499: [18:58:17] <Nivery> Nitin, I have not used the short code module unfortunately, but i did find this tutorial helpful the time i used short codes: http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/
1500: [18:58:41] <FrozenFire> Nivery, That post is likely more confusing than anything.
1501: [18:58:52] <FrozenFire> I provided two links which demonstrate, end-to-end, how to create a shortcode
1502: [18:58:55] <FrozenFire> SiteTree does it.
1503: [18:59:10] <FrozenFire> You basically just register a function with the default shortcode parser, as a shortcode.
1504: [18:59:26] <FrozenFire> When that shortcode is present, the function is called, and the shortcode is replaced with the output of that function.
1505: [19:00:50] <Nivery> ah, sorry, i didn't see your links
1506: [19:02:20] <NitinShah> FrozenFire, I have just checked the links and I think the code I am using seems to be alright. But the latest blogs are not being displayed
1507: [19:02:52] <FrozenFire> Don't really have time to help you with the specifics of your implementation, unfortunately. :) Just saw an esoteric question I knew the answer to.
1508: [19:07:22] * chillu has joined #silverstripe
1509: [19:08:07] <NitinShah> FrozenFire, thats alright. Thank you for the links again. Hopefully someone else would be able to help me with this or would be able to figure something out
1510: [19:10:31] * gumble has joined #silverstripe
1511: [19:16:46] * priithansen quit (Quit: priithansen)
1512: [19:22:37] <NitinShah> Anyone who can help me review the shortcode for latest blogpost http://sspaste.com/paste/show/51e5968177ecc
1513: [19:30:52] <wmk> hmm, how can i do something like $query->select[] = "MAX(`Message`.Created) AS LatestMessageDate"; with a DataList ??
1514: [19:37:07] <AlphaCactus> $latestmsgdate = $myDataList->max('Created');
1515: [19:38:11] * maknz has joined #silverstripe
1516: [19:38:11] * maknz quit (Changing host)
1517: [19:38:11] * maknz has joined #silverstripe
1518: [19:40:13] * travis-ci has joined #silverstripe
1519: [19:40:13] <travis-ci> [travis-ci] chillu/silverstripe-framework#32 (pulls/flush-ddos - d7125a0 : Ingo Schommer): The build failed.
1520: [19:40:13] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/920edf88e7b2^...d7125a05cdda
1521: [19:40:13] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/9152056
1522: [19:40:13] * travis-ci has left #silverstripe
1523: [19:41:51] <wmk> AlphaCactus, but i want to sort the query by $latestmsgdate
1524: [19:48:10] <UndefinedOffset> chillu that build that just run, it fixes the flush=1 issue? if so is it going to make it into 3.0 as well? or just 3.1?
1525: [19:48:30] <chillu> current target is 2.4, 3.0, 3.1
1526: [19:48:39] <UndefinedOffset> nice :)
1527: [19:48:49] <chillu> feedback welcome, its a tricky one
1528: [19:48:59] * Peavers has joined #silverstripe
1529: [19:49:02] * SphereSilverNL_ has joined #silverstripe
1530: [19:49:24] <UndefinedOffset> ya for sure, i was thinking why not just make it a dev/tasks? but i can see that not working
1531: [19:50:12] * SphereSilverNL quit (Ping timeout: 246 seconds)
1532: [19:50:18] <NitinShah> I think the problem for shortcode to display latestblog in my case seems to be coming from the template file.
1533: [19:50:20] <SphereSilverNL_> why am I getting that my non-underscored ghost is not a registered nickname?
1534: [19:50:25] * SphereSilverNL_ is now known as SphereSilverNL
1535: [19:50:38] <NitinShah> Can I use loop in template for shortcode?
1536: [19:51:16] <SphereSilverNL> ehm, how do you exactly mean?
1537: [19:51:25] <SphereSilverNL> Why would you want to shortcode in template?
1538: [19:51:33] <SphereSilverNL> isn't <% %> short enough?
1539: [19:53:01] <NitinShah> I am creating a shortcode to display latest blog post based on tags on certain specific pages
1540: [19:53:25] <NitinShah> I began by creating a shortcode for latestblogs
1541: [19:53:34] <Peavers> What do you mean? All that should be done in the page controller and just called in the template with <%loop latestBlogs %>
1542: [19:53:58] <Peavers> all control/logic should remian in the controller and off the template
1543: [19:54:38] <AlphaCactus> wmk: oh. um. $myDataList->sort( 'Created', 'DESC');
1544: [19:55:03] * Nivery quit (Quit: Nivery)
1545: [19:55:21] <NitinShah> I think I have got the code for shortcode correctly. But each shortcode uses its on template. And I am stuck on how to create this template for shortcode to display latest blog
1546: [19:55:57] <Peavers> Completely lost on what you are meaning by "shortcode", I think we have very different definitions for the word
1547: [19:56:45] <wmk> AlphaCactus, it's a many_many relation and should be sorted by Max('Message'.Created), not only by created...
1548: [19:57:37] <wmk> NitinShah, the latest blogentry is not part of the template but of the php function where you get your data
1549: [19:58:48] <NitinShah> Here is the link to the code I am using, maybe this would help http://sspaste.com/paste/show/51e5968177ecc
1550: [20:01:42] <wmk> NitinShah, in template: <% with %> is for using one Dataobject, <% loop %> is for looping over a DataList. you can use <% with $BlogEntries.First %> to get the first entry of your list
1551: [20:02:08] <AlphaCactus> wmk: I dunno if you can add columns to a query like that, you might just have to do a manual query.
1552: [20:02:09] <wmk> <% with $BlogEntries %> isn't good when $BlogEntries is a list
1553: [20:02:11] * atmos has joined #silverstripe
1554: [20:02:31] <wmk> AlphaCactus, thanks.
1555: [20:03:11] <wmk> NitinShah, are you on 2.4 or 3.x ?
1556: [20:03:16] <atmos> anyone know why ss2.4 inserts links to docs and pages with %20s?
1557: [20:03:28] <atmos> upgrading to SS3 breaks all of them :/
1558: [20:03:28] <NitinShah> 3.1
1559: [20:03:39] <wmk> atmos, %20 is for space
1560: [20:03:41] <AlphaCactus> wmk: but you might still ask someone who knows it better than I do, i haven't tried something liek that before.
1561: [20:04:03] <wmk> NitinShah, your <%t syntax is still 2.4
1562: [20:08:00] <atmos> yes, but once you upgrade to SS3, the cms expects links to be like [sitetree_link,id=xxxx] and breaks all links that were like [sitetree_link%20id=xxxx]
1563: [20:08:12] <NitinShah> So when I use the shortcode [cwsTagBasedBlog] in the html editor, it displays the html elements wrapping the blogpost but the blog content or image is not displayed
1564: [20:09:18] <NitinShah> wmk, can you suggest what I need to change to update the syntax to 3.1
1565: [20:10:26] <wmk> atmos, oh, that's bad. Isn't there some task for upgrading the database fields?
1566: [20:11:58] <wmk> NitinShah, http://doc.silverstripe.com/framework/en/3.1/topics/i18n#usage-in-template-files
1567: [20:12:14] <SphereSilverNL> Tired. Bed. Hmmmm... bed
1568: [20:12:15] <wmk> it's quite different but good
1569: [20:12:17] <SphereSilverNL> NO YOU WORK
1570: [20:12:22] <SphereSilverNL> I hate clients
1571: [20:13:59] <SphereSilverNL> I hope no clients of mine are here :D
1572: [20:16:08] * UndefinedOffset quit (Quit: Leaving.)
1573: [20:16:35] * howardgrigg has joined #silverstripe
1574: [20:16:47] <wmk> SphereSilverNL, well...
1575: [20:17:11] <NitinShah> wmk, I simply copied most of the template code from the blog module
1576: [20:17:42] <NitinShah> will make the necessary correction
1577: [20:17:47] <wmk> ;)
1578: [20:18:43] <NitinShah> Still the blog content is not being posted on the frontend, only the html tags wrapping the blogpost :(
1579: [20:20:40] * howardgrigg quit (Ping timeout: 246 seconds)
1580: [20:31:48] <wmk> then either the template has errors or the php doesn't return the blogpost.
1581: [20:31:56] <wmk> NitinShah, time to throw on the debugger ;)
1582: [20:35:48] * priithansen has joined #silverstripe
1583: [20:35:56] * Pyromanik has joined #silverstripe
1584: [20:36:14] <Pyromanik> that day when you walk to work and everyone along the way laughs at you
1585: [20:37:43] * DigNZ has joined #silverstripe
1586: [20:37:43] * DigNZ quit (Remote host closed the connection)
1587: [20:37:57] * DigNZ has joined #silverstripe
1588: [20:40:25] * NitinShah quit (Quit: Leaving)
1589: [20:43:45] <jrthomer> who can explain (or point to a page/email thread explaining) why in SS3 SomeClass::get() no longer joins to child classes and retrieves child class columns like 2.4 did?
1590: [20:44:49] <jrthomer> i.e. we used DataObject::get('SiteTree', $someCriteria) all over the place to get all pages (of any type) that matched $someCriteria
1591: [20:45:03] <jrthomer> but now when we SiteTree::get()->where($someCriteria) we get back not-fully-populated instances
1592: [20:45:19] <jrthomer> it's very annoying, which is why I'm curious the rationale behind it
1593: [20:45:38] <irogue> Pyromanik is now Looking to Trade.
1594: [20:52:43] <Pyromanik> trade with my irogue
1595: [20:53:27] <Pyromanik> it should be a status on facebook.
1596: [20:54:00] <Pyromanik> y'know. "Single, taken, engaged, married, it's complicated, LOOKING TO TRADE"
1597: [20:54:22] <Pyromanik> jrthomer: it does.
1598: [20:54:25] <Pyromanik> well
1599: [20:54:27] <Pyromanik> sorta
1600: [20:54:31] <Pyromanik> 2.4 never did either.
1601: [20:55:19] <Pyromanik> it fetches all records matching that criteria from the SiteTree table, then inflates the objects separately.
1602: [20:55:25] <Pyromanik> or something like that.
1603: [20:55:36] <Pyromanik> we were just talking about this yesterday.
1604: [20:55:39] <Pyromanik> I think
1605: [20:58:16] <simon_w> chillu, shouldn't https://github.com/silverstripe/silverstripe-framework/blob/3.1/model/DataQuery.php#L167 be using ClassInfo::dataClassesFor? The lazy-loading of subclass fields seems like a rather inefficient design choice
1606: [20:59:41] <chillu> simon_w: Not quite sure what you mean
1607: [21:00:10] <simon_w> chillu, it's using ClassInfo::ancestry to build up the list of tables to join against, so isn't including child classes
1608: [21:00:24] <simon_w> Which leads to a lazy-load of any child fields before they can be used
1609: [21:01:06] <chillu> isnt that the whole idea of lazy loading? I agree that there are many cases where its not the desired behaviour, but that's the way it is in core for now
1610: [21:02:02] * pippy_ is now known as pippy
1611: [21:02:14] <simon_w> Seems like a fairly poor decision which'll need almost every page to have its own query. Kinda defeats the point of ::get()
1612: [21:02:37] <jrthomer> Pyromanik: sorry, I hadn't seen the lazy loading
1613: [21:02:49] <jrthomer> I agree with simon_w -- it's bad performance
1614: [21:03:17] <jrthomer> and, it breaks DataObject->duplicate, which isn't invoking each field, so doesn't lazy load anything
1615: [21:04:59] <jrthomer> takes me back to the original question: what was the reason to stop joining to subclasses on the initial query?
1616: [21:07:15] * priithansen quit (Quit: priithansen)
1617: [21:10:38] <Pyromanik> jrthomer: lazy loads! performance up front, then... not so much afterwards :<>
1618: [21:10:58] <jrthomer> but what specific performance problem was it trying to solve?
1619: [21:11:11] <jrthomer> joining to a lot of tables, all by pk/fk is not that bad
1620: [21:11:25] <jrthomer> later querying everyone of those tables individually for every row in a result set == very bad
1621: [21:11:30] <atmos> it seems like as soon as you edit a page after the upgrade, if there was a symbolic link, the link will break after you publish it.
1622: [21:11:34] <atmos> retarded
1623: [21:12:06] <simon_w> jrthomer, any sort of join, especially in MySQL, is extremely slow
1624: [21:12:07] <jrthomer> if you have problems joining a lot of tables being slow, have you made sure your DB is tuned?
1625: [21:12:11] <jrthomer> i.e. http://jeremythomerson.com/2013/06/28/debugging-mysql-slow-queries-with-many-joins/
1626: [21:12:27] <jrthomer> simon_w: I beg to differ on a tuned DB
1627: [21:13:18] * lerni has joined #silverstripe
1628: [21:13:22] <simon_w> jrthomer, you obviously don't have large tables to join
1629: [21:13:41] <jrthomer> describe large
1630: [21:14:13] <simon_w> At least several thousand rows
1631: [21:14:45] <jrthomer> simon_w:
1632: [21:14:46] <jrthomer> mysql> SELECT COUNT(*) FROM SiteTree;
1633: [21:14:46] <jrthomer> +----------+
1634: [21:14:46] <jrthomer> | COUNT(*) |
1635: [21:14:46] <jrthomer> +----------+
1636: [21:14:46] <jrthomer> | 180877 |
1637: [21:14:47] <jrthomer> +----------+
1638: [21:14:54] * willr has joined #silverstripe
1639: [21:15:26] <jrthomer> that's a small table
1640: [21:15:54] <jrthomer> another table that we join on in millions of queries a day (not in SS, but in MySQL) currently has 2,106,229 rows
1641: [21:16:05] <irogue> https://pbs.twimg.com/media/BPUst-OCUAAZemA.jpg:large
1642: [21:16:26] <simon_w> And, let me guess, you're not in the most common case of running MySQL in a case where it doesn't have a shit tonne of RAM available to it?
1643: [21:17:06] <jrthomer> we do have a lot of ram
1644: [21:17:16] <simon_w> Exactly.
1645: [21:18:20] <irogue> ram is good
1646: [21:18:25] <jrthomer> anyway, rather than descending into a "whose $server or whose $db is bigger" debate ... :)
1647: [21:18:40] <jrthomer> two things
1648: [21:18:50] <jrthomer> 1)
1649: [21:19:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
1650: [21:19:02] <simon_w> Oh man, the waiting.
1651: [21:19:11] <jrthomer> SiteTree::get()->where($something) .... loop on those and $obj->duplicate() doesn't work
1652: [21:19:17] <jrthomer> sorry for the premature carriage return
1653: [21:19:30] <jrthomer> can I submit a PR to fix that?
1654: [21:19:52] <jrthomer> and I suppose the only way would be $obj->lazyLoadFields(all the tables pulled back from ClassInfo::dataClassesFor) ??
1655: [21:20:27] <simon_w> Yes, you can submit a PR
1656: [21:20:29] <jrthomer> 2) would anyone entertain the thought of having the "do the subclass joining upfront versus not upfront" logic as a configurable feature?
1657: [21:20:34] <simon_w> And it'll just be $obj->loadLazyFields()
1658: [21:20:52] <simon_w> The original ticket says that should be an option
1659: [21:20:59] <simon_w> http://open.silverstripe.org/ticket/7077
1660: [21:21:25] <simon_w> But that lazy loading causes so much headaches, especially with filter()
1661: [21:21:41] <simon_w> I'd vote for it being off by default
1662: [21:22:51] <jrthomer> okay, thanks ... I'll create some issues at the very least ... may not get to the PR this week since I'm supposed to be merging our codebase to 3.1 tomorrow
1663: [21:31:11] <wmk> simon_w, do you know how to alter the sql-query in a DataList ?
1664: [21:31:36] <simon_w> Yes.
1665: [21:31:55] <wmk> i try to make sth like ->selectField('MAX("Message"."Created"','LatestMessageDate')
1666: [21:32:23] <wmk> but DataList->alterDataQuery only alters the DataQuery, where selectField() is private
1667: [21:36:14] <wmk> simon_w, any ideas? This is not working: http://www.sspaste.com/paste/show/51e5bc4882f06
1668: [21:36:57] <simon_w> You want to create a new DataQuery object, using your custom SQLQuery object
1669: [21:38:26] <wmk> can i extract the SQLQuery object out of the current DataList / DataQuery ?
1670: [21:38:59] <simon_w> Yes
1671: [21:39:46] <Pyromanik> irogue: I just dunno, but do want.
1672: [21:40:53] <wmk> simon_w, could you pls provide some example / method names? havent found it yet
1673: [21:40:58] <simon_w> query
1674: [21:41:50] <Pyromanik> isn't there a MAX command for normal datalisty type operations?
1675: [21:42:06] <simon_w> Yes
1676: [21:42:11] <AlphaCactus> yes, but he wants to do it on a join
1677: [21:42:23] <wmk> Pyromanik, i want to sort by MAX()
1678: [21:42:35] <wmk> btw it's postale i try to update to 3.1
1679: [21:47:54] <Pyromanik> wmk: ah.
1680: [21:51:17] <wmk> simon_w, ok, i extracted the SQLQuery from the DataQuery Object and modified it. How can i convert it back?
1681: [21:51:31] * travis-ci has joined #silverstripe
1682: [21:51:32] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#606 (3.1 - 2ca0895 : Sam Minnée): The build passed.
1683: [21:51:32] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/d1fec14bd122...2ca089532f02
1684: [21:51:32] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9156920
1685: [21:51:32] * travis-ci has left #silverstripe
1686: [21:52:53] * atmos quit (Ping timeout: 250 seconds)
1687: [21:54:34] <AlphaCactus> is there a quick way to disable the changed check on Form_EditForm in LeftAndMain
1688: [22:09:34] * Peavers quit (Ping timeout: 276 seconds)
1689: [22:11:33] * howardgrigg has joined #silverstripe
1690: [22:18:27] * jmConan quit (Ping timeout: 250 seconds)
1691: [22:19:01] <wmk> n8
1692: [22:19:57] * EasyCo has joined #silverstripe
1693: [22:20:23] <EasyCo> Selamat Pagi!
1694: [22:37:57] * lerni quit (Remote host closed the connection)
1695: [22:42:14] * lewellyn quit (*.net *.split)
1696: [22:42:15] * andylockran quit (*.net *.split)
1697: [22:42:17] * irogue quit (*.net *.split)
1698: [22:42:18] * EasyCo quit (*.net *.split)
1699: [22:42:19] * maknz quit (*.net *.split)
1700: [22:42:19] * Liquide quit (*.net *.split)
1701: [22:42:20] * FrozenFire quit (*.net *.split)
1702: [22:42:20] * supernovah quit (*.net *.split)
1703: [22:42:20] * Pyromanik quit (*.net *.split)
1704: [22:42:21] * SphereSilverNL quit (*.net *.split)
1705: [22:42:21] * Shrike_Finland2 quit (*.net *.split)
1706: [22:42:21] * pippy quit (*.net *.split)
1707: [22:42:21] * cloph quit (*.net *.split)
1708: [22:42:21] * ajmitch quit (*.net *.split)
1709: [22:44:40] * EasyCo has joined #silverstripe
1710: [22:44:41] * Pyromanik has joined #silverstripe
1711: [22:44:41] * SphereSilverNL has joined #silverstripe
1712: [22:44:41] * maknz has joined #silverstripe
1713: [22:44:41] * Liquide has joined #silverstripe
1714: [22:44:41] * irogue has joined #silverstripe
1715: [22:44:41] * FrozenFire has joined #silverstripe
1716: [22:44:41] * supernovah has joined #silverstripe
1717: [22:44:41] * Shrike_Finland2 has joined #silverstripe
1718: [22:44:41] * pippy has joined #silverstripe
1719: [22:44:41] * cloph has joined #silverstripe
1720: [22:44:41] * ajmitch has joined #silverstripe
1721: [22:44:41] * andylockran has joined #silverstripe
1722: [22:45:21] * supernovah_ has joined #silverstripe
1723: [22:45:25] * lewellyn has joined #silverstripe
1724: [22:46:24] * UncleCheese has joined #silverstripe
1725: [22:47:40] <irogue> splittastic
1726: [22:47:42] * cloph quit (Excess Flood)
1727: [22:48:06] <jrthomer> simon_w: DataObject->duplicate does do lazy loading ... that part wasn't a bug after all
1728: [22:49:13] * supernovah quit (Ping timeout: 255 seconds)
1729: [22:49:16] * supernovah_ is now known as supernovah
1730: [22:49:56] * cloph_away has joined #silverstripe
1731: [22:52:05] * jrthomer was using it in a test case to copy objects from real DB to test DB, and had loaded from the real DB, switched back to test DB, and then hit duplicate ... of course lazy loading doesn't work then!
1732: [22:52:09] <jrthomer> it's been a long week
1733: [22:52:38] <jrthomer> that said, I'll still open a ticket for having a config option for turning lazy loading off and going back to the lotsa-joins method of doing things
1734: [22:53:54] <ss23> tar: Unsupported compression option -J
1735: [22:53:56] <ss23> OSX rules
1736: [22:57:34] <EasyCo> gzip instead?
1737: [22:57:58] <EasyCo> Actually -j does work on osx
1738: [22:58:04] <ss23> -j != -J
1739: [22:58:09] <ss23> j is bzip, J is xz
1740: [22:58:33] <EasyCo> I've never seen -J before with tar
1741: [22:58:38] <EasyCo> What distro did you get that from?
1742: [22:59:08] <irogue> yeah, xz is fairly rare. fwiw osx does have xz just not as a direct option on tar
1743: [23:00:39] <EasyCo> Well there you have it. Never used let alone seen a file comprised with xz before
1744: [23:01:36] <irogue> it's quickly growing in usage
1745: [23:02:41] <EasyCo> So says doctor google
1746: [23:02:59] <irogue> it's the same compression as 7-zip, just with a better (more unix-friendly) container
1747: [23:04:58] <ss23> EasyCo: *every* distro?
1748: [23:05:30] <ss23> Do you have a Linux distro that's up to date that doesn't have xz support in tar? :P
1749: [23:05:54] <irogue> ss23: do you have a mac os that's up to date? :P
1750: [23:06:11] <ss23> I do all the updates!
1751: [23:06:22] <ss23> It has updates every other week, so I presume it's supported, and therefore up to date
1752: [23:06:25] <ss23> :D
1753: [23:06:38] <irogue> do you have a windows os that's up to date that has built-in xz support? :P
1754: [23:06:50] <ss23> No! That's hwy I said Linux distro!
1755: [23:07:16] <irogue> osx is not a linux distro ;)
1756: [23:07:24] <ss23> I never said it was
1757: [23:07:26] <EasyCo> You've got me ss23, I always Google 'man command' and was unaware of xz. If you google 'man tar'. The first link is for Unix and has no -J
1758: [23:07:28] * irogue wonders if other *BSD* distros all have xz in tar
1759: [23:07:49] <ss23> EasyCo: wouldn't be surprised if the page was outdated. Got a linux box you can try on?
1760: [23:08:00] <ss23> I've never seen a linux box that didn't have it
1761: [23:08:09] <irogue> ss23: plz read
1762: [23:08:10] <irogue> "The first link is for Unix"
1763: [23:09:01] <irogue> ok, so freebsd tar has -J, openbsd and netbsd don't
1764: [23:09:12] <EasyCo> Glad we got that all cleared up :)
1765: [23:10:34] <ss23> System Administrator <postmaster@spamblocker.co.nz>
1766: [23:10:43] * Peavers has joined #silverstripe
1767: [23:10:48] <ss23> This service is retarded, "Yo we blocked your spam! We know it was spam cause it had a 15mb attachment!"
1768: [23:11:04] * lerni has joined #silverstripe
1769: [23:11:12] <irogue> haha
1770: [23:11:14] <irogue> omg yes
1771: [23:11:31] <irogue> emailed an *IT company* a 5mb firmware file
1772: [23:11:33] <Peavers> which service are you whinging about?
1773: [23:11:36] <irogue> got rejected cos attachment too big
1774: [23:11:38] <ss23> Peavers: MoE
1775: [23:11:40] <ss23> hahah irogue
1776: [23:11:42] <ss23> hate that stuff
1777: [23:11:43] <Peavers> get outa here.
1778: [23:11:58] <irogue> what kinda IT company blocks attachment sizes? a shit one.
1779: [23:11:59] <Peavers> I can't even get port 443 unblocked after 3 days of back n forth emails.
1780: [23:12:01] <ss23> Peavers: I'm trying to exfil data from your servers and your firewall is blocking it
1781: [23:12:07] <ss23> EXACTLY
1782: [23:12:24] <irogue> oh god
1783: [23:12:28] <irogue> spamblocker.co.nz's website
1784: [23:12:30] <irogue> entirely flash
1785: [23:12:46] <Peavers> lol its bad flash too
1786: [23:12:49] <irogue> ya
1787: [23:12:53] <Peavers> not that any flash is good flash...
1788: [23:13:03] <AlphaCactus> standalone is good
1789: [23:13:34] <ss23> I hope that in 5 years time everyone will be like "LOOOOOL JAVASCRIPT, THIS SITE IS SO BAD, no javascript is good!"
1790: [23:14:12] * irogue suffers ActiveX issues every day
1791: [23:14:21] <Peavers> I just tried to email spamblockers to let them know their $30,000 website is rubbish incase they didn't know. Can't fill out the contact form. It doesn't work.
1792: [23:15:40] <Peavers> Has anyone tried to transfer a domain off register.com?
1793: [23:15:48] <ss23> Never heard of register.com
1794: [23:15:56] <irogue> trying to transfer .com/.net/.org domains is a total cunt
1795: [23:16:08] <Peavers> yeah mine are .org
1796: [23:16:23] <ss23> Anyone got powerpoint on Windows and can check an exported google docs slide for me?
1797: [23:16:26] <Peavers> trying to get off this terrible site that want to charge me an extra $50USD because my subscription laps.
1798: [23:16:30] <ss23> And possibly resave it into a different format
1799: [23:16:46] <irogue> ss23: yup
1800: [23:16:54] <Peavers> ss23 is this powerpoint your newsletter hack?
1801: [23:16:58] <ss23> yeah
1802: [23:16:59] <ss23> :D
1803: [23:17:14] <ss23> irogue: https://docs.google.com/presentation/d/11LeefpLJh76x_Bu9hU0Xp4_bjsPyEVk8v5W3PhhB4dA/edit?usp=sharing
1804: [23:17:19] <Peavers> then no I can't help. I want to see you flustered and go red infront of 29 people when it doesn't work.
1805: [23:17:24] <ss23> lol Peavers
1806: [23:17:30] <ss23> Peavers: You want to see me? Oh are you coming?
1807: [23:17:30] <irogue> Peavers: plz namecheap kthx
1808: [23:17:33] <ss23> OH WAIT NO YOU'RE NOT
1809: [23:17:33] <ss23> HA.
1810: [23:17:47] <Peavers> I'm coming.
1811: [23:17:58] <ss23> irogue: Someone is trying to use it on powerpoint for OSX, so not sure if it's good or not
1812: [23:18:01] <ss23> like
1813: [23:18:10] <ss23> if it works in Windows, then maybe can try exporting as a different format from there
1814: [23:18:51] <irogue> looks the same as on G in PowerPoint 2013
1815: [23:19:09] <irogue> except for a minor indenting bug
1816: [23:20:32] <irogue> http://sdrv.ms/14XknQB
1817: [23:20:59] * chillu quit (Quit: chillu)
1818: [23:21:58] * zippy__ has joined #silverstripe
1819: [23:22:18] <zippy__> Morning
1820: [23:22:31] <ss23> moin zippy__
1821: [23:22:50] <Peavers> so ss23, just read your slideshow now I don't need to bother walking accross town tonight. Good job.
1822: [23:22:57] <ss23> nice :D
1823: [23:23:03] <ss23> someone was saying it wasn't clear enough from just the slides
1824: [23:23:04] <ss23> idk
1825: [23:23:06] <ss23> I think it's clear 'enough'
1826: [23:23:20] <Peavers> yeah it was
1827: [23:23:31] <Peavers> it was all easy to understand what you were rambling about
1828: [23:24:07] <ss23> I haven't even rambled yet!
1829: [23:25:21] <unsigned_> hey does anyone know how to return the folder of the active theme in Silverstripe? SSViewer::get_theme_folder() is returning 'mysite' instead of the expected 'themes/active-theme' (and in _config.php I have SSViewer::set_theme("active-theme") )
1830: [23:26:29] <ss23> irogue: Can you export/save as that slides as the old ppt?
1831: [23:26:40] <ss23> I think OSX powerpoint can't open new formats
1832: [23:27:10] <unsigned_> wouldnt suprise me, OSX finder cant even refresh its current folder
1833: [23:27:21] <ss23> yeah, I hate finder
1834: [23:27:27] <ss23> I still don't know how to just go to the folder I need
1835: [23:27:33] <unsigned_> haha me neither
1836: [23:27:37] <ss23> I have to open a new finder folder via right clikc -> go to
1837: [23:27:43] <ss23> then add the folder I want to access to favorites
1838: [23:27:49] <unsigned_> you cant even right click -> create new file
1839: [23:28:14] <irogue> [11:26] <+ss23> I think OSX powerpoint can't open new formats
1840: [23:28:36] <ss23> https://fd-files-eu-production.s3-eu-west-1.amazonaws.com/private/40217/41534/0amvKScfqvxU7BfYQaSiPg?AWSAccessKeyId=AKIAJLUIK775YAQI2POA&Signature=tDSvdaZRT0MlbWpvHsQKGcMfUWs%3D&Expires=1374017593
1841: [23:28:36] <irogue> yeah, there was in-fighting at MS
1842: [23:28:40] <ss23> OSX sucks.
1843: [23:28:56] <zippy__> using it wrong
1844: [23:28:59] <unsigned_> I told a macfag that once and he scorned at me
1845: [23:29:02] <irogue> MS Office team wouldn't give MS Mac team proper documentation on the new formats
1846: [23:29:03] <EasyCo> Get Alfred. It'll change your OSX life.
1847: [23:29:26] <ss23> blurgh, irogue
1848: [23:29:29] <UncleCheese> +1
1849: [23:29:30] <ss23> sucks
1850: [23:29:31] <irogue> they only gave them the same "LOOK, OUR FORMAT IS OPEN" documentation (intentionally confusing as fuck) that they gave to OO.org
1851: [23:29:34] <ss23> lol
1852: [23:30:01] <zippy__> I thought there was some kind of ?profile command in Silverstripe?
1853: [23:30:01] <ss23> irogue: but can you convert for me? :D
1854: [23:30:06] <irogue> MS Mac team blogged about it & about how the rest of MS treat them like shit
1855: [23:30:19] <irogue> nek minit, Mac team shut down & merged into Office team
1856: [23:30:39] <irogue> it was lols to watch
1857: [23:31:04] * swordsmanz has joined #silverstripe
1858: [23:31:17] <irogue> also, this just happened
1859: [23:31:18] <irogue> @iRogue: Cablenet did our @SnapInternet UFB install, all went flawlessly. @ChorusVan come to "check Cablenet's work", our UFB goes down. Unsurprised.
1860: [23:32:06] <zippy__> http://doc.silverstripe.org/framework/en/reference/urlvariabletools found
1861: [23:33:45] <irogue> ss23: http://sdrv.ms/18jQn2B
1862: [23:33:56] * lerni quit (Remote host closed the connection)
1863: [23:34:27] <ss23> ty irogue :D
1864: [23:34:34] * howardgrigg quit (Remote host closed the connection)
1865: [23:34:49] * catcher_dev quit (Quit: Leaving)
1866: [23:40:13] <ss23> By the way simon_w, I'm free for lunch today if you wanna <3
1867: [23:41:09] <ss23> dammit grooveshark. I search for "red" in artists. I expect the first result to be the band "red"
1868: [23:41:13] <ss23> not red hot chilli peppers
1869: [23:41:13] <ss23> fml
1870: [23:41:52] <Peavers> lol
1871: [23:42:28] <simon_w> Peavers, so, did you RSVP for the talk tonight?
1872: [23:42:35] <simon_w> ss23, I suppose
1873: [23:42:39] <Peavers> I did simon_w
1874: [23:42:45] <ss23> :D
1875: [23:42:47] <simon_w> Lucky
1876: [23:42:58] <Peavers> I also got the email saying lol 8 people miss out.
1877: [23:43:54] <ss23> XD
1878: [23:44:05] <Peavers> ss23, putting "red" into google music and I get red hot chili peppers, taylor swift (because I've got these two artists in my lib) and the first band to stream it goes red, simply red, then R.E.D
1879: [23:44:13] <Peavers> so, gm > groove
1880: [23:44:16] <ss23> o.o
1881: [23:44:19] <ss23> Talyor swift?
1882: [23:44:22] <ss23> oic
1883: [23:44:24] <Peavers> yeah from the missus
1884: [23:44:27] <ss23> lol
1885: [23:44:31] <Peavers> I think she has a song called red
1886: [23:44:32] <ss23> Yeah yeah, I don't judge, Peavers
1887: [23:44:39] <ss23> I knew you were trouble when you walked in~
1888: [23:44:46] <ss23> SO SHAME ON ME NOWWW TOOK ME TO PLACES I'VE NEVER BEEN
1889: [23:44:50] <ss23> NOW I'M LYING ON THE COLD HARD GROUND
1890: [23:44:53] <ss23> *baaa*
1891: [23:44:57] <ss23> *ahhhhhhhh*
1892: [23:45:04] <ss23> WUBBLE WUBBLE WUBBLE
1893: [23:45:07] <ss23> What noise does a goat make?
1894: [23:45:09] <simon_w> I could start with Rebecca Black :p
1895: [23:45:16] <simon_w> maa
1896: [23:45:19] <ss23> It's not Friday!
1897: [23:45:20] <Peavers> REbecca black lololl
1898: [23:45:25] <ss23> maaa, hmmm, yeah that's pretty good
1899: [23:45:36] <simon_w> She has more than one song!
1900: [23:46:10] <Peavers> http://cache.bordom.net/server/?type=image&size=full&id=aHR0cDovL2kuaW1ndXIuY29tLzdia1BzLmdpZg%3D%3D
1901: [23:46:16] <Peavers> prob my fav thing to come from RB
1902: [23:47:00] <ss23> lol
1903: [23:47:12] <Peavers> I'm white, so its okay for me to laugh at it.
1904: [23:49:40] <simon_w> I prefer http://www.youtube.com/watch?v=2OxWD85Ngz4 :p
1905: [23:50:17] <Peavers> ohh ss23 did some real programming once? http://www.youtube.com/watch?v=oeh_iqXldyw
1906: [23:50:42] <ss23> STOP STALKING
1907: [23:50:43] <ss23> ;_;
1908: [23:51:01] <Pyromanik> THIS IS WHY WE DON'T THROW SHIT OUT
1909: [23:51:01] <Peavers> I've just finished building a complete profile on you. Online stalking is what I do.
1910: [23:51:07] <ss23> :<
1911: [23:51:11] <Pyromanik> ffff
1912: [23:51:30] <Peavers> which such a unique name as yours, you are everywhere.
1913: [23:51:35] <ss23> ;____;
1914: [23:51:36] <ss23> oh god
1915: [23:51:43] <ss23> pls don't tell sam
1916: [23:51:50] <Pyromanik> the ONE time I want to voluntarily wear the sweat band that's been sitting in the staffroom for the last year, the admin woman has thrown it out.
1917: [23:51:59] <ss23> haha Peavers
1918: [23:52:02] <ss23> dude
1919: [23:52:10] <ss23> why are you wearing... a sweat band, especially a communal one?
1920: [23:52:21] <Peavers> ?
1921: [23:53:01] <ss23> @ Pyromanik
1922: [23:53:02] <Pyromanik> because it's not really communal
1923: [23:53:06] <Pyromanik> and we're having photos taken
1924: [23:53:18] <ss23> lol...
1925: [23:53:20] <Pyromanik> and I'm really dark that it's gone.
1926: [23:53:23] <ss23> Oh I had my photo taken for work the other day
1927: [23:53:24] <ss23> :D
1928: [23:53:30] <Pyromanik> wanted to go full afro then chuck that on
1929: [23:53:33] <ss23> haha
1930: [23:53:51] <Pyromanik> It'd complete the image I've been building up all week.
1931: [23:54:03] <Pyromanik> BUT I CAN'T AND IT MAKES ME MAD
1932: [23:55:55] <Pyromanik> fucking just died a little inside.

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