#silverstripe IRC Log

IRC log for 13 October 2014

All timestamps are in UTC.

1: [00:00:30] <ss23> boy don't give me any sass
2: [00:02:46] <irogue_> i've never used grunt
3: [00:03:22] <ss23> What do you use, irogue_? Just compass?
4: [00:03:28] <irogue_> yep
5: [00:03:32] <ss23> Me too
6: [00:03:42] <ss23> A designer at work tried to install libsass the other day
7: [00:03:45] <irogue_> compass watch all the things
8: [00:03:55] <ss23> It was intense, he was looking up how to use gnu autotools and shit, trying to figure out how to compile it
9: [00:04:05] <irogue_> hahaha
10: [00:04:06] <ss23> Eventually he figured out it was already installed and had been for ages
11: [00:04:19] <irogue_> "looking up how to use gnu autotools"
12: [00:04:22] <irogue_> that is not the start of a good time
13: [00:04:22] * vebbb has joined #silverstripe
14: [00:04:26] <ss23> ikr
15: [00:04:33] <ss23> He was really just googling around for the make errors he was getting
16: [00:04:45] <ss23> But I was like "damn, I stil lhave to do that shit... am I no better than a designer?"
17: [00:07:19] <timezone> </ss23-tells-stories-of-the-sea>
18: [00:07:30] <ss23> lol
19: [00:07:42] <irogue_> #BetterWorkStories
20: [00:08:13] * veb quit (Ping timeout: 255 seconds)
21: [00:08:20] <ss23> so the other day someone couldn't acecss a project and it trurns out they were looking at the wrong repo
22: [00:08:23] <ss23> funny rite?
23: [00:08:40] <irogue_> [13:08:19] <+ss23> so the other day someone couldn't acecss a project
24: [00:08:50] <irogue_> sounds like anytime a project is on gitorious :P
25: [00:09:21] <irogue_> #FuckGitorious
26: [00:10:53] * terryapodaca has left #silverstripe
27: [00:12:22] <ss23> trudat
28: [00:12:30] <ss23> That server is so fucked you can't actualyl edit permissions anymore
29: [00:12:38] <ss23> You actually have to migrate away from gitorious rather than change things
30: [00:13:25] * Kingy is now known as Kingy[a]
31: [00:14:15] <pippy> I’ve been left a cake of chocolate as a thank you. For sharing – it is on the table……..
32: [00:14:21] <pippy> omg we have a cake
33: [00:14:44] <ss23> .....
34: [00:14:51] <ss23> pippy: Wanna come down to the basin? o/
35: [00:15:55] <pippy> bit of a walk from dunedin
36: [00:16:14] <pippy> good day for it though, is there a game on
37: [00:16:31] <ss23> No, my house is there
38: [00:16:32] <ss23> :D
39: [00:17:08] <pippy> oh haha
40: [00:18:44] <simon_w|work> Mmm, party pies
41: [00:19:07] <Colin[pi]> simon_w|work: oh man I had a ton of those on the weekend
42: [00:19:12] <Colin[pi]> and the sausage rolls too
43: [00:19:33] <simon_w|work> We've also got mini quiches and chocolate chip cookies
44: [00:19:42] <Colin[pi]> mm
45: [00:19:55] <antmas> Cunliffe quiting all the things
46: [00:20:57] <simon_w|work> I like these all-in meetings
47: [00:21:48] <ss23> yo ambulances are free in nz right?
48: [00:21:53] <ss23> assuming you're dying/going to die etc
49: [00:21:56] <hailwood> Depends where you live
50: [00:22:01] <simon_w|work> ss23, only in Wellington
51: [00:22:02] <hailwood> Napier/Wanganui etc they aren't
52: [00:22:20] <ss23> That's some bullshit :/
53: [00:22:30] <ss23> Can you be like "nigga I wasn't concious I don't wanna pay for that shit"?
54: [00:23:10] <micmania1> Do they accept snapper?
55: [00:23:14] <ss23> lol
56: [00:23:19] <simon_w|work> And then they stop offering the service, since no one's paying any more
57: [00:23:22] <ss23> I bet you could, right? Like, how can you be charged for something you didn't consent to?
58: [00:23:30] <ss23> simon_w|work: GOVERNMENT MAN
59: [00:23:45] <irogue_> ss23: nope. it's a bit bs.
60: [00:23:58] <ss23> I'd fight it in court
61: [00:24:01] <ss23> :O
62: [00:24:45] <irogue_> and really there's no legit reason why it's only free in Wellington. they're both equal amounts govt funded (~75%). St John's just more wasteful with its money.
63: [00:25:09] <simon_w|work> irogue_, WFA does massive donation drives
64: [00:26:19] <irogue_> simon_w|work: so do SJ.
65: [00:26:38] <simon_w|work> irogue_, apparently they're not as good at it :p
66: [00:27:14] <irogue_> simon_w|work: maybe, but they also have layers upon layers of management all getting top dollar salaries
67: [00:27:46] <simon_w|work> I think WFA also has a higher paramedic:vehicle ratio too
68: [00:27:53] <irogue_> yup
69: [00:28:10] <irogue_> no single-crewing, and every ambulance has an ALS in it
70: [00:28:56] <irogue_> about 50% ALS (advanced level of paramedic training) at WFA, vs about 10% in SJ
71: [00:29:37] <simon_w|work> I know someone who's training to be a WFA paramedic. It takes so long to be able to do first response
72: [00:29:57] <simon_w|work> He's been at it for about 4 years now and still only gets to do patient transfers
73: [00:31:44] <irogue_> http://www.radiowiki.org.nz/index.php?title=Ambulance_Scopes_Of_Practice
74: [00:32:06] <micmania1> Do you have to pay the fire service if you set your house on fire too?
75: [00:32:30] <micmania1> “Hey, my house if on fire”
76: [00:32:34] <micmania1> How would you like to pay?
77: [00:32:56] * novaweb has joined #silverstripe
78: [00:33:24] * Kingy[a] is now known as Kingy
79: [00:33:49] <simon_w|work> micmania1, NZFS is funded by insurance
80: [00:34:11] <irogue_> WFA's ambulances are usually one IC Paramedic and one Paramedic
81: [00:34:19] <Kingy> just donate to St Johns
82: [00:34:22] <irogue_> SJ are usually either one Paramedic and one EMT, or just a Paramedic on their own
83: [00:34:30] <Kingy> then free ambo
84: [00:34:37] <simon_w|work> micmania1, And, in places where there isn't a fire levy (rural US for example), yes
85: [00:34:54] <simon_w|work> If you don't pay your fire protection fee, they let your house burn
86: [00:35:06] <micmania1> ha!
87: [00:36:22] <Kingy> micmania1: did you hit the phoenix yesterday
88: [00:36:23] <irogue_> simon_w|work: it's interesting listening to fire service on the scanner. despite the hugely complex structure (NZFS only covers urban areas, regional councils are responsible for firefighting in rural areas, plus airports and large industries generally have their own fire service so they don't have to pay huge NZFS levies) it seems to largely "just work"
89: [00:36:31] <micmania1> Kingy: definitely not.
90: [00:36:52] <Kingy> micmania1: aw not going to support your local team now?
91: [00:36:58] <micmania1> Kingy: I sat in the garden drinking beer all day then went and played football.
92: [00:37:26] <Kingy> micmania1: fair enough. You must be having a bad enough time supporting newcastle right now anyway
93: [00:37:33] <Kingy> :)
94: [00:37:33] <simon_w|work> irogue_, whereas SJ will just call you a taxi
95: [00:37:57] <irogue_> they've been smart in giving NZFS dispatchers control over all 3 types of fire appliance (presumably by law) and letting the dispatcher decide what's best, then working out the financial shit after the fact
96: [00:38:11] <micmania1> Kingy: I’m glad to get away from them.
97: [00:38:50] <irogue_> e.g. NZFS will often dispatch one of their appliances to rural fires if they're closer than the nearest RFA (Rural Fire Authority) fire station
98: [00:39:18] <irogue_> then presumably NZFS and the RFA work out $$ for that callout after the fact, rather than waiting for sign-off before attending
99: [00:41:15] <irogue_> simon_w|work: yeah... listening to SJ dispatch makes me simultaneously respect the SJ ambulance officers and dislike the SJ organisation
100: [00:42:13] <irogue_> their ambulance officers do a good job with what little they're given... but hearing a lone, low-skilled ambulance officer dispatched to a Train vs Pedestrian because they're the only one available is pretty ugh
101: [00:43:42] * antmas quit (Quit: Page closed)
102: [00:45:31] * pippy quit (Ping timeout: 246 seconds)
103: [00:47:27] * irgbit quit (Remote host closed the connection)
104: [00:48:55] * pippy has joined #silverstripe
105: [00:51:12] * irgbit has joined #silverstripe
106: [00:59:39] * muskie9 is now known as _muskie9_
107: [01:07:29] * zippy has joined #silverstripe
108: [01:08:25] * vebbb is now known as veb
109: [01:08:26] * veb quit (Changing host)
110: [01:08:26] * veb has joined #silverstripe
111: [01:10:43] * pippy quit (Ping timeout: 246 seconds)
112: [01:12:20] * _muskie9_ quit (Read error: Connection reset by peer)
113: [01:12:39] * muskie9 has joined #silverstripe
114: [01:15:11] * veb has joined #silverstripe
115: [01:19:55] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
116: [01:20:36] * hailwood quit (Quit: Leaving.)
117: [01:23:57] * Azure has joined #silverstripe
118: [01:30:16] <glenn-bautista> Is the scrutinizer CI for the framework broken?
119: [01:32:30] * zippy has a rythum stuck in his head and can't recall the song for it
120: [01:35:01] <zippy> I wonder if I will ever hear that song again..
121: [01:36:59] <Ryan-Toast> zippy is it that one that goes: beep boop beep beep boop?
122: [01:37:23] <zippy> Ryan-Toast: no, it's not https://www.youtube.com/watch?v=NHozn0YXAeE
123: [01:37:31] <simon_w|work> glenn-bautista, last time I looked, it had problems when consecutive runs were for different branches
124: [01:38:20] <glenn-bautista> oh, ok. Just did a pull request and it gave no explanation why the tests were failing
125: [01:38:46] <simon_w|work> glenn-bautista, should have a link through to Travis
126: [01:39:31] <simon_w|work> glenn-bautista, https://travis-ci.org/silverstripe/silverstripe-framework/builds/37782213
127: [01:42:47] * novaweb quit (Quit: novaweb)
128: [01:43:09] <glenn-bautista> thanks, I think I see the problem now.
129: [01:49:01] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
130: [01:49:20] <ss23> Man, this PSU runs at 92% effiency at 250 Wats
131: [01:49:22] <ss23> so nice
132: [01:50:59] <Kingy> 250w
133: [01:51:04] <Kingy> teeny
134: [01:52:48] <ss23> From ~180W it runs at 90+ effieceny
135: [01:53:06] * Kingy is now known as Kingy[a]
136: [01:53:48] <ss23> Just a bit below my idle load, which is ~150 or so
137: [01:53:50] <Ryan-Toast> Since a has_one image will always return a “Image” even when it’s empty, how do I check if it actually exists in the controller?
138: [01:54:05] * Ryan-Toast has left #silverstripe
139: [01:54:16] * Ryan-Toast has joined #silverstripe
140: [01:54:58] <UncleCheese> actually exists?
141: [01:55:12] <UncleCheese> $this->Image()->exists();
142: [01:55:49] <Ryan-Toast> Unclecheese: thanks :)
143: [01:55:55] <Stomach> a has_one wont always return an object
144: [01:56:07] <UncleCheese> Stomach you sure?
145: [01:56:08] <ss23> dun dun dun.
146: [01:56:29] <Stomach> UncleCheese - nope, but kinda certain
147: [01:56:31] <Stomach> will test
148: [01:56:32] <Stomach> brb :D
149: [01:56:34] <UncleCheese> hmm
150: [01:56:37] <UncleCheese> let me check
151: [01:56:45] <UncleCheese> in my experience it does
152: [01:58:31] * Kingy[a] is now known as Kingy
153: [01:59:30] <Stomach> ah you are right
154: [02:00:11] <Stomach> I always do if ($object->SomeRelation() and $object->SomeRelation()->exists()) anyhow, so thats okay
155: [02:01:43] <UncleCheese> yeah, i know
156: [02:01:49] <UncleCheese> i saw it all the time at heyday
157: [02:02:05] <simon_w|work> UncleCheese, Stomach, a has_one always returns an object
158: [02:02:05] <UncleCheese> this is interesting... DataObject.php #1412
159: [02:02:06] <UncleCheese> if(!isset($component) || !$component) {
160: [02:02:07] <UncleCheese> $component = $this->model->$class->newObject();
161: [02:02:07] <UncleCheese> }
162: [02:02:53] <Stomach> simon_w|work - is weird.
163: [02:02:56] <simon_w|work> (For those playing along at home, this is a rather poor version of the null pattern)
164: [02:04:36] <Stomach> ->exists all the things
165: [02:05:24] <simon_w|work> Though ->exists() on File/Image is screwed up
166: [02:06:24] <spronk> hmm
167: [02:06:32] <spronk> does anyone have a decent baseline form stylesheet for SS?
168: [02:08:53] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
169: [02:10:51] * hailwood has joined #silverstripe
170: [02:12:06] <Ryan-Toast> spronk: do you use any css “frameworks”?
171: [02:12:40] <Blacklite> is there a way to call functions from Page_Controller?
172: [02:12:50] <Blacklite> (if you're not in the context of a page)
173: [02:13:12] <Ryan-Toast> Page_Controller::foo(); ?
174: [02:13:30] <spronk> Ryan-Toast, for this site, no
175: [02:13:45] <Blacklite> it's not a static method
176: [02:13:57] <Ryan-Toast> Blacklite: then I dunno, soz :P
177: [02:14:07] <Blacklite> :/
178: [02:14:53] <Ryan-Toast> spronk: you could use bits of this I guess: https://github.com/Rhym/ss_boilerplate/blob/master/boilerplate/sass/_form.scss
179: [02:14:56] * irogue_ has joined #silverstripe
180: [02:15:35] <Blacklite> someone has implemented an API for an external service in the PageController
181: [02:16:54] <Blacklite> and now i need to use the api in somewhere other than a page... excellent
182: [02:16:57] <Ryan-Toast> Blacklite: what’s the usecase?
183: [02:17:33] <Blacklite> i guess the use case is if someone designs something silly, how do you live with it?
184: [02:17:48] <Blacklite> :(
185: [02:17:53] * antmas has joined #silverstripe
186: [02:18:23] <irogue_> seems like a weird place to put the API eh
187: [02:19:07] <Blacklite> it's got heaps of debugging code in it as well. it logs all calls to error_log
188: [02:19:14] <Blacklite> even on the live site
189: [02:21:24] * mattgunn has joined #silverstripe
190: [02:22:49] <Blacklite> could i create an instance of the class?
191: [02:23:51] <Blacklite> let's see
192: [02:24:05] <Blacklite> yes, apparently i can
193: [02:27:14] <Ryan-Toast> in the first example on this page, what would I use as the cache key? http://doc.silverstripe.org/framework/en/topics/caching
194: [02:28:21] <irogue_> holy shit it's a wild mattgunn
195: [02:30:23] <mattgunn> irogue, sure is
196: [02:30:28] <ss23> It's takne weeks, but I convinced him to get on IRC
197: [02:30:46] <mattgunn> apparently good things take time.
198: [02:31:08] <ss23> thats why I choose only the most loving developers for my websites. That's why I choose Stripe the Web
199: [02:31:11] * ss23 turns and smiles to the camera
200: [02:31:22] <ss23> :D
201: [02:31:29] <mattgunn> heh
202: [02:31:53] <Ryan-Toast> welcome, mattgun: http://i.imgur.com/rXSHj2b.gifv
203: [02:32:18] <ss23> is a gifv like a pngturtle?
204: [02:32:27] <ss23> http://i.imgur.com/rXSHj2b.pngturtle
205: [02:32:29] <antmas> pengwings
206: [02:32:41] <ss23> pengwings
207: [02:32:42] <ss23> oh man
208: [02:32:43] <Kingy> mattgunn, I see you might be doing some work for NZX :)
209: [02:32:46] <ss23> who knew he couldn't say that!
210: [02:32:50] <antmas> PENGLINGS
211: [02:33:12] <mattgunn> Kingy: yup that is the plan, I hear you work there?
212: [02:33:33] <Kingy> Indeed I do
213: [02:34:31] <ss23> antmas: A+A+
214: [02:38:21] * antmas gives up on grunt
215: [02:38:25] <antmas> ;___;
216: [02:38:52] * ss23 grunts
217: [02:39:08] <Kingy> today is a slow day
218: [02:39:15] <ss23> True that
219: [02:39:19] <ss23> I'm able to open my eyes now though
220: [02:39:28] <Kingy> I've spent half of it converting an access database to postgres
221: [02:39:33] <ss23> Kingy: wow.
222: [02:39:42] <ss23> MySQL 4 Lyfe!
223: [02:39:57] <antmas> I've spent 1/2 of it watching npm fuck itself in the pooper
224: [02:40:05] <Kingy> Well postgres > access
225: [02:40:24] <Kingy> now to get the excel macros pointing to the postgres db :(
226: [02:41:21] <Kingy> lol antmas tell us how you feel
227: [02:41:47] <simon_w|work> Oh no, it's mattgunn
228: [02:42:02] <simon_w|work> Also, congrats man
229: [02:42:21] <antmas> ohhhh congrats for what/
230: [02:42:25] <antmas> ?*
231: [02:42:31] * antmas takes mind off NPM
232: [02:43:39] <mattgunn> @Simon_w|work, thanks :)
233: [02:44:55] <simon_w|work> antmas, he's preggers
234: [02:45:36] <mattgunn> well not me
235: [02:46:05] <antmas> simon_w|work: lol
236: [02:46:13] <antmas> mattgunn: nice! congrats
237: [02:47:06] <simon_w|work> mattgunn, well, that's less exciting :p
238: [02:49:19] <mattgunn> simon_w|work: is caitlin still explaining how these things work :p ?
239: [02:50:40] <simon_w|work> mattgunn, well, we've got to do something until our internet gets set up :p
240: [02:50:42] <ss23> mattgunn: Congrats!
241: [02:51:04] <spronk> fuck forms
242: [02:51:05] <ss23> mattgunn: I thought you had a healthy glow last time we met! Must be all those baby hormones!
243: [02:51:05] <spronk> fuck them so hard
244: [02:51:19] <Colin[pi]> spronk: careful they like it that way
245: [02:51:22] <Kingy> spronk: should probably stick to subsites, it's what you know :P
246: [02:51:27] <spronk> :'(
247: [02:54:52] <Colin[pi]> what's the main issue spronk?
248: [02:55:05] <spronk> Colin[pi], eh i just have n existing site that's got some forms in it
249: [02:55:20] <spronk> and i need to make a form with a text input, and a select, and a button, line up horizontally
250: [02:55:42] <spronk> i also want a simple autocomplete for the text input, but i haven't got to that part yet
251: [02:55:43] <Colin[pi]> spronk: so... custom template for the form? or css hacking?
252: [02:55:50] <spronk> spronk, css hacking :P
253: [02:56:01] * antmas does a git push
254: [02:56:05] <Colin[pi]> mm you could pretty easily do a custom template if that assists
255: [02:56:08] <spronk> http://imgur.com/Q3cUg29
256: [02:56:14] * antmas watches as his terminal does nothing
257: [02:56:16] <spronk> yeah, i've got custom template
258: [02:56:19] * antmas sweats
259: [02:56:32] <Colin[pi]> spronk: lol yeah good ol' css... dat vertical align
260: [02:57:20] <ss23> push rejected
261: [02:57:26] <ss23> push -f # go fuck yourself git
262: [02:58:37] <spronk> fuck it
263: [02:58:42] <spronk> i'm going to go and play with photoshop for the rest of the day
264: [02:58:51] <spronk> IM SICK OF YOUR SHIT, CSS
265: [02:59:07] <adrexia> css knows. css don't care
266: [02:59:21] <antmas> honey badger don't care
267: [02:59:23] <spronk> its fucking 2014
268: [02:59:28] <spronk> how the hell is css still so bad
269: [02:59:42] <spronk> why isn't there just a form { colour-scheme: } already
270: [02:59:44] <Colin[pi]> I just looked at the css spec: http://i3.kym-cdn.com/photos/images/original/000/158/701/tumblr_lo1qh68nVL1qzgmxb.gif
271: [03:00:00] <spronk> anyone seen the tether js lib?
272: [03:00:06] <spronk> this is what css should be for layout.
273: [03:00:23] <antmas> http failed request
274: [03:00:27] <antmas> FUCK THIS NETWORK
275: [03:00:32] * antmas flips desk
276: [03:01:20] <Colin[pi]> ┬──┬ ¯\_(ツ)
277: [03:01:37] * novaweb has joined #silverstripe
278: [03:02:19] <spronk> Ryan-Toast, does your form css work strongly based on other css declared somewhere else? for boilerplate?
279: [03:03:10] <Colin[pi]> spronk: it prolly uses bootstrap css as the base?
280: [03:03:19] <spronk> ah.
281: [03:14:56] * simon_w|work quit (Ping timeout: 258 seconds)
282: [03:15:39] * cloph_away has joined #silverstripe
283: [03:16:30] * cloph quit (Ping timeout: 272 seconds)
284: [03:18:41] <spronk> hmm
285: [03:18:44] <spronk> what the fuck is wrong with this thing
286: [03:21:20] * UncleCheese has joined #silverstripe
287: [03:23:04] <spronk> hmm
288: [03:23:17] <spronk> the fuck does pure forms do other than css...
289: [03:23:37] <ss23> Poor spronk
290: [03:23:40] <ss23> #fuckfrontend
291: [03:24:15] <ss23> You know what sucks? You can swap out backend thingies. Webservers, grunt, sass, php, ruby, linux, windows, whatever the fuck you want
292: [03:24:22] <ss23> But no matter what, you'll always be using HTML/CSS
293: [03:24:26] <ss23> Isn't that depressing?
294: [03:24:55] <Kingy> ^
295: [03:26:20] * travis-ci has joined #silverstripe
296: [03:26:20] <travis-ci> silverstripe/silverstripe-framework#3456 (3.1 - 22bdc1e : Sean Harvey): The build passed.
297: [03:26:20] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/07c8085e5d15...22bdc1e35b5e
298: [03:26:20] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/37789174
299: [03:26:20] * travis-ci has left #silverstripe
300: [03:27:00] * simon_w|work has joined #silverstripe
301: [03:32:51] <Colin[pi]> ss23: invent something better
302: [03:33:11] <Ryan-Toast> spronk: yarp: https://github.com/Rhym/ss_boilerplate/blob/master/boilerplate/sass/bootstrap/_forms.scss
303: [03:33:12] <ss23> No
304: [03:33:15] <Colin[pi]> call it HMTL.. omg think of the hits you'll get from agencies
305: [03:33:23] <ss23> haha
306: [03:33:32] <spronk> blardy hell
307: [03:33:36] <spronk> so many csss for forms
308: [03:33:41] <Ryan-Toast> spronk: forms are ez.
309: [03:33:48] <ss23> Forms are the worst
310: [03:33:51] <Ryan-Toast> just do a blanket reset.
311: [03:34:01] <spronk> yeahh
312: [03:34:04] <spronk> ive tried that
313: [03:34:08] <ajmitch_> Colin[pi]: only if you have 5+ years experience in it
314: [03:34:16] <Colin[pi]> ajmitch_: hehe
315: [03:34:21] <Ryan-Toast> spronk: give me a sec
316: [03:34:22] <spronk> but i'm still getting weird stuff like height differences between <input> and <select>
317: [03:34:31] <Colin[pi]> ajmitch_: "must know HMTL programming"
318: [03:34:36] <Colin[pi]> *cringe twitch*
319: [03:34:44] <spronk> heh
320: [03:34:46] <spronk> that's ok
321: [03:34:53] <ajmitch_> height differences sounds like box-sizing
322: [03:34:53] <spronk> DSE advertised an HTML Cable a couple of years ago
323: [03:35:00] <Colin[pi]> spronk: LOL
324: [03:35:04] * willr has joined #silverstripe
325: [03:35:20] <Colin[pi]> spronk: must make your internet faster
326: [03:35:28] <spronk> :DF
327: [03:37:14] <Colin[pi]> Ryan-Toast: even with blanket reset on forms there is still some browser-specific bullshit that happens
328: [03:37:26] <Ryan-Toast> Colin[pi]: yes, but you shoiil;d be using normalize.
329: [03:37:32] <spronk> like
330: [03:37:34] <Colin[pi]> Ryan-Toast: of course
331: [03:37:44] <spronk> at some point in the last couple of years, chrome changed box sizing of certain form elements
332: [03:37:45] <spronk> but not others
333: [03:37:46] <spronk> or something
334: [03:37:57] <spronk> pretty WHAT THE FCKING FUCK moment, really
335: [03:38:08] <Colin[pi]> spronk: I have a lot of trouble getting selects/options consistent across browsers
336: [03:38:15] <spronk> oh god
337: [03:38:16] <spronk> its impossible.
338: [03:38:30] <ajmitch_> it makes me cry
339: [03:38:46] <Colin[pi]> like I can get close, but not quite
340: [03:38:46] <ajmitch_> and almost sent me in search of strong drink today
341: [03:39:33] <spronk> and then clients gonna client
342: [03:39:37] * novaweb runs to the train station to beat the rush
343: [03:39:43] <spronk> MUST WORK IN IE 4
344: [03:39:46] <spronk> AND LOOK THE SAME
345: [03:39:49] * novaweb quit (Quit: novaweb)
346: [03:39:59] <Colin[pi]> spronk: haha
347: [03:40:50] <spronk> Ryan-Toast, does ss_boilerplate do funny things with forms i.e. adding form-control classes etc?
348: [03:41:04] <Ryan-Toast> spronk: ity adds classes, yes.
349: [03:41:13] <spronk> whereabouts does it do that?
350: [03:41:19] <Ryan-Toast> spronk: in the form.
351: [03:41:47] <Ryan-Toast> spronk: example: https://github.com/Rhym/ss_boilerplate/blob/master/boilerplate/code/Modules/ContactForm/code/ContactPage.php
352: [03:42:01] <spronk> oh i seee
353: [03:42:05] <spronk> so its not blanket applied
354: [03:43:23] <Colin[pi]> Ryan-Toast: why do you have your color picker requirements there?
355: [03:43:27] * veb has joined #silverstripe
356: [03:43:30] <Colin[pi]> Ryan-Toast: wouldn't the color field bring it in?
357: [03:43:35] <Ryan-Toast> Colin[pi]: map has a color field
358: [03:43:57] <Colin[pi]> mm and the color field would call it's requirements, no?
359: [03:44:29] <Ryan-Toast> Colin[pi]: can it do that?
360: [03:44:54] <Colin[pi]> Ryan-Toast: yeah I think so, most of the field classes call their requirements on the field holder methods iirc
361: [03:44:59] <Ryan-Toast> spronk: nah I don’t blanket it since it’s a boilerplate. Somethimes I have to do different things
362: [03:45:05] <spronk> mm
363: [03:45:11] <Ryan-Toast> Colin[pi]: ohhh, do you have an example?
364: [03:45:17] <Colin[pi]> let me check
365: [03:46:34] <Colin[pi]> like here for example, in Field() method: https://github.com/silverstripe/silverstripe-framework/blob/3.1/forms/ToggleField.php
366: [03:47:14] <Colin[pi]> same here, it pulls in a ton of crap: https://github.com/silverstripe/silverstripe-framework/blob/3.1/forms/UploadField.php
367: [03:47:31] * mattgunn quit (Ping timeout: 246 seconds)
368: [03:49:27] <Ryan-Toast> spronk: made you a base: http://codepen.io/anon/pen/LmixF
369: [03:49:36] <spronk> ooo
370: [03:49:39] <spronk> roxor
371: [03:49:45] <spronk> thanks Ryan-Toast
372: [03:51:50] <Ryan-Toast> spronk: np, dawg
373: [03:52:38] <Kingy> daw
374: [03:52:39] <Kingy> g
375: [03:52:41] <Ryan-Toast> spronk: actually, destroy the border, and re-add it.
376: [03:52:50] <Ryan-Toast> since some have styles
377: [03:52:55] <spronk> ah yep
378: [03:53:11] <Ryan-Toast> spronk: http://codepen.io/anon/pen/LmixF
379: [03:54:01] <spronk> cool
380: [03:54:03] <spronk> chur
381: [03:54:14] <Ryan-Toast> if you have any issues just give me a buzz
382: [03:54:30] <Colin[pi]> Ryan-Toast: wait.. that select doesn't show a dropdown arrow in Chrome, is that expected?
383: [03:54:49] <Ryan-Toast> yeah. because -webkit-appearance: none;
384: [03:54:57] <Ryan-Toast> you can get rid of those three lines if you want
385: [03:55:14] <Ryan-Toast> I like putting in tmy own arrows :3
386: [03:55:24] <spronk> yeah
387: [03:55:24] <Colin[pi]> Ryan-Toast: webkit only?
388: [03:55:30] <spronk> fucking webkit
389: [03:55:37] <spronk> and its fucking... opinionated rounded corner select bullshti
390: [03:56:24] <Ryan-Toast> Colin[pi]: will be all browsers that support apperance
391: [03:56:56] <Colin[pi]> ah k
392: [03:57:44] * hailwood quit (Ping timeout: 260 seconds)
393: [03:57:57] <Colin[pi]> spronk: yeah that -webkit-appearance: none; is invaluable for keeping your design looking like your design on anything iOS
394: [03:58:00] <spronk> mm
395: [03:58:22] * travis-ci has joined #silverstripe
396: [03:58:23] <travis-ci> silverstripe/silverstripe-framework#3457 (3.1 - f86b0bb : Sean Harvey): The build passed.
397: [03:58:23] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/22bdc1e35b5e...f86b0bbca0a3
398: [03:58:23] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/37790637
399: [03:58:23] * travis-ci has left #silverstripe
400: [03:59:10] <Ryan-Toast> spronk: but if you just want to dopadding and biz, don’t worry about it
401: [04:06:08] <Colin[pi]> ugh I need to design some reports.. doing my head in
402: [04:07:12] * nickmolhoek quit (Quit: nickmolhoek)
403: [04:07:46] * Tanger has joined #silverstripe
404: [04:09:31] <Ryan-Toast> Updating my css generator http://i.imgur.com/jFpJxA9.jpg
405: [04:09:44] <Colin[pi]> dude that looks awesome
406: [04:10:13] <Colin[pi]> dat border/padding/margin section
407: [04:10:23] <spronk> pretty hardcore
408: [04:10:26] <Ryan-Toast> I just need to hack the iris color picker a litte for alpha transparncey.
409: [04:10:29] <spronk> i want one
410: [04:10:33] <spronk> what does it do
411: [04:10:36] <spronk> i don't even care
412: [04:10:37] <spronk> i want one anyway
413: [04:10:48] <spronk> SHUT UP AND TAKE MY MONEY
414: [04:10:56] <zippy> spronk: you an apple fan boi?
415: [04:10:56] <Ryan-Toast> spronk: does this - http://webdough.co.nz/~boilerpl/features/page-builder/
416: [04:11:05] <Colin[pi]> <spronk> what does it do
417: [04:11:06] <Colin[pi]> spronk: travels through time and space while giving you a BJ
418: [04:11:13] <spronk> zippy, No way. \n Sent from my iPhone
419: [04:11:21] <zippy> lol
420: [04:11:59] <Ryan-Toast> spronk: it does the blue area, and the pink area.
421: [04:12:38] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
422: [04:12:49] <Colin[pi]> Ryan-Toast: how are you handling the components?
423: [04:14:37] <Ryan-Toast> Colin[pi]: I think I have a gif here somewhere
424: [04:15:40] <zippy> Ryan-Toast: I would be suprised if you didn't...
425: [04:16:24] <Ryan-Toast> zippy: can’t find it, but here’s a screenshot: http://i.imgur.com/i8tBeD2.jpg
426: [04:16:32] <Ryan-Toast> Colin[pi]: ^
427: [04:17:26] * Kingy is now known as Kingy[a]
428: [04:19:33] <glenn-bautista> That looks good
429: [04:20:18] <Ryan-Toast> Cheers.
430: [04:20:53] <Ryan-Toast> Home time, laters guys.
431: [04:21:11] * veb has joined #silverstripe
432: [04:28:59] <spronk> fucking ie8..
433: [04:29:50] <adrexia> ^ that's been me all day
434: [04:30:06] <adrexia> full of so much rage
435: [04:30:34] <Colin[pi]> people still use IE8?
436: [04:32:26] <zippy> govt..
437: [04:32:57] * hailwood has joined #silverstripe
438: [04:32:57] <ss23> ^
439: [04:32:59] <ss23> #fuckgovt
440: [04:33:05] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
441: [04:35:24] * stojg quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
442: [04:41:42] <spronk> ughhhh
443: [04:41:48] <spronk> why is firefox pushing inline block elements down
444: [04:42:10] * Ryan-Toast quit (Quit: Ryan-Toast)
445: [04:42:17] <ss23> because #fuckinlineblock
446: [04:43:06] * Olliepop quit (Quit: Page closed)
447: [04:43:14] <Colin[pi]> spronk: line height or some bs?
448: [04:43:23] <Colin[pi]> or whitespace?
449: [04:44:04] <spronk> The baseline of an 'inline-block' is the baseline of its last line box in the normal flow, unless it has either no in-flow line boxes or if its 'overflow' property has a computed value other than 'visible', in which case the baseline is the bottom margin edge.
450: [04:44:07] <spronk> its like
451: [04:44:18] <spronk> they tried to figure out what the MSOT complex way of specifying something is
452: [04:44:21] <spronk> and then they just did that.
453: [04:44:41] <Colin[pi]> spronk: haha mm
454: [04:44:59] <Colin[pi]> plus whitespace fucks with inline-block like a mofo
455: [04:45:14] <Colin[pi]> dat font-size: 0 trick doe
456: [04:48:07] <spronk> ughh
457: [04:48:11] <spronk> and firefox renders it differently to chrome
458: [04:48:13] <spronk> jeeiisus christ.
459: [04:51:55] <Colin[pi]> of course it does! :D
460: [04:51:59] <spronk> omfg
461: [04:52:01] <spronk> and firefox mac
462: [04:52:05] <spronk> renders differently to firefox windows
463: [04:52:12] <spronk> oh wit
464: [04:52:13] <Colin[pi]> \o/
465: [04:52:14] <spronk> wait
466: [04:52:15] <spronk> no it doesn't
467: [04:52:31] <spronk> hmm, two elements...
468: [04:53:02] <spronk> one text input, one submit
469: [04:55:37] <irogue_> 17:30:34] <Colin[pi]> people still use IE8?
470: [04:55:38] <irogue_> banks.
471: [04:56:00] <Colin[pi]> pfft banks, not like they matter
472: [04:56:54] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
473: [04:56:55] <simon_w|work> Banks: Why COBOL developers exist
474: [04:58:37] <spronk> hmm
475: [04:58:45] <spronk> i need a js autocompleter
476: [04:58:46] * veb has joined #silverstripe
477: [04:58:50] <spronk> for a text box
478: [04:58:51] <spronk> err
479: [04:58:52] <spronk> text input
480: [04:58:59] <spronk> that can use a js array as data source.
481: [04:59:49] <Colin[pi]> spronk: http://jqueryui.com/autocomplete/ ?
482: [04:59:54] <spronk> ugh
483: [04:59:56] <spronk> but then i have to load like
484: [05:00:04] <spronk> year-bytes of jquery
485: [05:00:08] <spronk> ui
486: [05:00:23] * irgbit quit ()
487: [05:01:03] <Colin[pi]> spronk: https://github.com/devbridge/jQuery-Autocomplete
488: [05:01:14] <Colin[pi]> just requires jQuery
489: [05:01:54] <spronk> oh i see
490: [05:01:56] <spronk> you can use it with local array..
491: [05:01:58] <spronk> ah
492: [05:02:09] <Colin[pi]> yeah should be fast as greasy poop
493: [05:09:59] <spronk> hmm
494: [05:10:04] <spronk> undefined is not a function
495: [05:10:05] * micmania1 quit (Quit: micmania1)
496: [05:10:06] <spronk> that's not a good sign
497: [05:12:17] <simon_w|work> Well, is a better sign than undefined being a function
498: [05:13:07] <spronk> fuuuuuuu
499: [05:13:09] <spronk> some sort of bug
500: [05:13:09] <spronk> hmm
501: [05:13:15] <spronk> container.on('mouseover.autocomplete', suggestionSelector, function () {
502: [05:13:21] <spronk> sigh
503: [05:17:06] <simon_w|work> Yay, home internet is working!
504: [05:17:27] <ss23> I like working internet :D
505: [05:18:01] <simon_w|work> Turns out the phone person gave me the wrong username
506: [05:26:10] <Colin[pi]> simon_w|work: you have nbn there?
507: [05:26:53] <simon_w|work> No :(
508: [05:26:56] <simon_w|work> Not even VDSL
509: [05:27:03] <simon_w|work> Though faster ADSL than you :p
510: [05:27:10] <Colin[pi]> speedtest linky?
511: [05:27:22] <simon_w|work> When I get home
512: [05:27:30] <Colin[pi]> oh I thought you already were :P
513: [05:27:39] <Colin[pi]> but then I saw your nick :P
514: [05:27:43] <Colin[pi]> derp
515: [05:28:57] <ss23> man, big quake down south
516: [05:29:00] <ss23> http://geonet.org.nz/quakes/region/newzealand/2014p770859
517: [05:29:07] <ss23> Been ages since I've seen a severe on geonet
518: [05:29:11] <spronk> woo
519: [05:29:33] <simon_w|work> Seddon
520: [05:29:41] <simon_w|work> Wasn't that long ago :p
521: [05:31:07] <simon_w|work> Eketahuna as well
522: [05:33:41] <ss23> Was pretty long ago
523: [05:33:52] <ss23> If we're counting in terms of how many times I've masturbating since the last one, it was so long ago
524: [05:39:57] * willr quit (Quit: willr)
525: [05:41:19] * gordon has joined #silverstripe
526: [05:41:42] * gordon is now known as Guest36568
527: [05:42:39] * Guest36568 is now known as elgrodo
528: [05:43:09] <Colin[pi]> fuck sake I have cake... CAKE... sitting here next to me, for over two hours... I forgot about it, WTF
529: [05:45:19] <ss23> DUDE
530: [05:45:21] <ss23> I know what you mean!
531: [05:45:25] <ss23> I had a goddam WAFFLE next to me I forgot about
532: [05:45:27] <ss23> AN ENTIRE WAFFLE
533: [05:45:33] <ss23> Shit cost me like $9 AND I FORGOT AOBUT IT
534: [05:45:50] <Colin[pi]> been focusing on work, i'm like "hmm I'm hungry"... look to my right.. "CAKE!!!"
535: [05:45:51] <simon_w|work> $9 waffle?
536: [05:45:55] <simon_w|work> Sheesh, that's a rip off
537: [05:46:35] * micmania1 has joined #silverstripe
538: [05:50:50] <spronk> OH GOD I WANT A WAFFLE
539: [05:51:03] <spronk> CHICKEN AND WAFFLES
540: [05:51:04] <spronk> YES.
541: [05:51:04] <spronk> NOW.
542: [05:53:32] <spronk> hmm
543: [05:53:47] <spronk> is there a function of.. datalist or something, that gets an array containing the values of a particular property in a datalist?
544: [05:53:56] <spronk> i.e. getAllValuesOf('Title')
545: [05:54:02] <ss23> map?
546: [05:54:16] <ss23> or can you just use ->select('Title')?
547: [05:54:18] <ss23> OIr you want uniq?
548: [05:55:04] <spronk> unique would be handy..
549: [05:55:26] <spronk> what's ->select on?
550: [05:55:57] <simon_w|work> spronk, ->column('Title')
551: [05:56:06] <spronk> yes
552: [05:56:07] <spronk> thats its
553: [05:56:07] * r_hector has joined #silverstripe
554: [05:56:09] <spronk> it*
555: [05:56:18] <simon_w|work> Pass it into array_unique if you want uniqueness
556: [05:56:19] <spronk> thanks simon_w|work
557: [05:56:21] <spronk> mm
558: [05:56:49] * kerosene quit (Ping timeout: 260 seconds)
559: [05:59:15] <spronk> fucking
560: [05:59:16] <spronk> html
561: [05:59:22] <spronk> if you have more than one form on a page
562: [05:59:27] <spronk> tabindex should respect form order first.
563: [05:59:55] <spronk> or at the very least should support some sort of notation that allows you to set that without having to manage global index order
564: [06:01:45] * Adesso has joined #silverstripe
565: [06:02:15] <simon_w|work> SS is also really bad at tabindex
566: [06:02:31] <spronk> mm
567: [06:08:03] <Adesso> why not jQuery your tabindexes..
568: [06:09:28] <Adesso> that way it doesn't matter how many form you have on a page
569: [06:09:36] <Adesso> forms
570: [06:10:16] <spronk> html order isn't tab order
571: [06:10:40] <spronk> and...
572: [06:10:48] <spronk> js is kinda
573: [06:10:50] <spronk> a cop out solution
574: [06:11:08] <Adesso> well, it's a solution..
575: [06:11:14] <spronk> sorta
576: [06:11:23] <spronk> its a fix :p
577: [06:11:39] <Adesso> read the Indexes in with JQuery... multiply it with the form number .. and write it back
578: [06:12:07] <simon_w|work> Oh no, out of biscuits
579: [06:12:09] <simon_w|work> Must be home time
580: [06:12:36] <Adesso> just a thought
581: [06:12:55] * Adesso knows it's a fix.. but what else can you do ?
582: [06:16:06] * stephanvd has joined #silverstripe
583: [06:16:12] * guci0 has joined #silverstripe
584: [06:16:13] <guci0> Hello Moto!
585: [06:16:53] <Adesso> elo...
586: [06:17:15] * Adesso looks around for Moto
587: [06:18:13] <guci0> ;)
588: [06:27:26] * Selay has joined #silverstripe
589: [06:29:18] <Selay> Hi guys, just a question. When you edit pages, it has three modes split mode, edit mode, preview. How can I set default to edit mode? ANy easy way to set in config? or disable all other views except edit mode?
590: [06:31:18] * Colin[pi] quit (Read error: Connection reset by peer)
591: [06:32:03] * Robke has joined #silverstripe
592: [06:32:21] <Robke> good morning ;)
593: [06:33:37] * micmania1 quit (Ping timeout: 248 seconds)
594: [06:33:56] * Adesso takes out the popcorn.... Selay, I would really want to know this too..
595: [06:34:05] <Adesso> Hi Rob
596: [06:35:15] <Robke> how things are going? ;)
597: [06:35:21] <Selay> @Adresso Well, there ar a few modules to do it but I dont want to use any module for such a simple thing. I just want make Edit mode as default view for all admin. no need for each user.
598: [06:36:25] <Adesso> tehn we share the same goal... it must be a setting in the YAML config that one can set.. but really don't know..
599: [06:36:26] * Colin[pi] has joined #silverstripe
600: [06:36:29] * Adesso is still a Noob
601: [06:37:19] * stephanvd quit (Quit: Computer has gone to sleep.)
602: [06:38:03] <Selay> @Adesso http://doc.silverstripe.org/framework/en/reference/preview seems here is way to make edit mode the default mode
603: [06:39:26] * hailwood quit (Quit: Leaving.)
604: [06:41:51] * Colin[pi] quit (Read error: Connection reset by peer)
605: [06:42:18] * Colin[pi] has joined #silverstripe
606: [06:44:05] * veb has joined #silverstripe
607: [06:44:18] <Adesso> Selay... maybe this would work .. http://stackoverflow.com/questions/20095177/silverstripe-3-1-disable-the-preview-pane
608: [06:44:34] * wmk has joined #silverstripe
609: [06:44:40] <wmk> gmorning
610: [06:44:57] <Selay> I actually got it working
611: [06:45:00] <Adesso> mornin
612: [06:45:33] <Adesso> 7me does not like that one has to etwine the Preview mode away
613: [06:45:38] * Adesso does not like that one has to etwine the Preview mode away
614: [06:46:17] * Adesso looks at some cheap way to keep his 7 pressed down for ever... Nails, Rocks or superglue ?
615: [06:46:56] <Adesso> entwine
616: [06:50:23] * UncleCheese has joined #silverstripe
617: [07:00:28] * Colin[pi] quit (Remote host closed the connection)
618: [07:01:05] * Colin[pi] has joined #silverstripe
619: [07:04:14] * kerosene has joined #silverstripe
620: [07:04:59] <wmk> Adesso, you want to glue your 7 down --- with entwine???
621: [07:07:54] * antmas_ has joined #silverstripe
622: [07:08:02] <antmas_> evening all
623: [07:10:20] <antmas_> no one about? not even Colin[pi] ?
624: [07:11:43] * ARNHOE has joined #silverstripe
625: [07:14:17] <ss23> im about, but watching videos, and probably going to go to sleep soon
626: [07:15:42] <antmas_> ss23: early?
627: [07:16:04] <antmas_> I'm working on paypal stuff... tis not good.
628: [07:18:31] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
629: [07:19:17] <ss23> Yeah, tired as shit man
630: [07:19:26] * mlilenium_ has joined #silverstripe
631: [07:19:33] * mlilenium_ has left #silverstripe
632: [07:19:35] <ss23> Didn't get to sleep till 5am last night, and I'm sick
633: [07:19:48] <antmas_> ss23: aw man, that sucks
634: [07:21:04] * UncleCheese has joined #silverstripe
635: [07:22:04] * stephanvd has joined #silverstripe
636: [07:27:48] * zippy has joined #silverstripe
637: [07:28:04] <zippy> a hoy hoy
638: [07:28:23] <ss23> hai2u
639: [07:29:00] * simon_w has joined #silverstripe
640: [07:29:04] * Selay quit (Ping timeout: 246 seconds)
641: [07:30:34] * glenn-bautista quit (Quit: Leaving.)
642: [07:31:34] * Colin[pi] quit (Remote host closed the connection)
643: [07:36:54] * Colin[pi] has joined #silverstripe
644: [07:41:17] <Adesso> If I want to extend the Config with customConfig, can I add db fields ?
645: [07:41:36] <Adesso> right now I have added a has_image.... but I am nit sure if I can add db fields ?
646: [07:41:50] <Adesso> has_one > Image
647: [07:42:55] * Adesso thinks the theory sounds right
648: [07:43:28] <Adesso> private static $db = array('extraField'=>'Varchar');
649: [07:43:40] * Stomach quit (Quit: bye)
650: [07:43:55] * Colin[pi] quit (Remote host closed the connection)
651: [07:44:13] * Colin[pi] has joined #silverstripe
652: [07:45:00] * stnvh has joined #silverstripe
653: [07:45:53] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
654: [07:47:36] * simon_w quit (Ping timeout: 246 seconds)
655: [07:49:05] <Adesso> seems to work..
656: [07:49:09] * simon_w has joined #silverstripe
657: [07:52:08] <wmk> Adesso, in a DataExtension?
658: [07:52:24] <Tanger> Hey guys, if I need 3 different types of member that can login on a site, I'd need to subclass member?
659: [07:53:16] <Tanger> Or would I be better off applying specifics to Permissions?
660: [07:53:36] <Adesso> wmk, yup
661: [07:53:46] <Adesso> which in turn is the SiteConfig
662: [07:53:52] <wmk> Adesso, just define $db, $has_one etc... like in normal DO
663: [07:54:11] <wmk> you're extending siteconfig. works like every DO...
664: [07:54:18] <Adesso> well, these are 2 HTMLVarChars..
665: [07:54:34] <Adesso> like 2 default Links when they are not set on the Object..
666: [07:54:42] <wmk> Tanger, do you need different fields per member type? or can you just use groups / roles for it?
667: [07:54:57] * Adesso tried to think of a has_many solution, but it seems like overkill
668: [07:55:01] <wmk> Adesso, you need to make it configurable in DB?
669: [07:55:11] * Colin[pi] quit (Remote host closed the connection)
670: [07:55:26] <wmk> if you customer don't have to configure it himself go for config.yml and set the values there
671: [07:55:49] * ocmnt has joined #silverstripe
672: [07:56:07] <Adesso> Actually this should be a LinkField .. but I don't have time right now to make it
673: [07:56:16] <Adesso> so I just made 2 HTMLVarchards..
674: [07:56:20] <ocmnt> goodmorning
675: [07:56:37] <Adesso> cause building HTML Links is not really rocketscience
676: [07:56:41] <Tanger> wmk: I think I could possibly just use groups/roles. The front end needs to determine what kind of member it is and render data accordingly. So instead of checking for member class type, I could check for groups or roles
677: [07:57:07] <wmk> yup Tanger sounds good
678: [07:57:15] <wmk> hey ocmnt
679: [07:57:27] <Tanger> wmk: Thanks man
680: [07:57:44] <wmk> when running /dev/tasks/i18nTextCollectorTask?module=themes ... where is it saving the translations?
681: [07:58:04] <wmk> Tanger, you're welcome. And if you understood the role thingie please explain ;)
682: [07:58:25] <wmk> though groups should work for a simple "different type of member"
683: [07:58:27] * kinglozzer has joined #silverstripe
684: [07:58:36] * stephanvd quit (Quit: Computer has gone to sleep.)
685: [07:59:44] * stephanvd has joined #silverstripe
686: [08:00:23] * Colin[pi] has joined #silverstripe
687: [08:00:42] <Colin[pi]> yo antmas_
688: [08:03:23] <Tanger> wmk: Well, I think I could use roles or groups to do what I need. I'll probably use Groups, given that Roles works more on a member-by-member basis and I'll want to be able to create a member with a specific group without the user selecting the group.
689: [08:09:03] <simon_w> Colin[pi], http://www.speedtest.net/result/3828069859.png
690: [08:09:05] <simon_w> I win, right?
691: [08:09:10] <simon_w> Even with this crap speed
692: [08:11:31] * micmania1 has joined #silverstripe
693: [08:14:03] * Pyhachek has joined #silverstripe
694: [08:14:29] <Pyhachek> Joy of joys, back at work, can already feel the weight behind my eyes :<
695: [08:14:34] * Colin[pi] quit (Remote host closed the connection)
696: [08:14:52] <simon_w> I have home internet now :)
697: [08:14:55] <Pyhachek> how is today's battle Adesso?
698: [08:15:01] <Pyhachek> oh joy simon_w!
699: [08:15:18] <wmk> hey Pyhachek
700: [08:15:23] <simon_w> I know! Only went $70 over my phone bill while tethering
701: [08:15:33] <Pyhachek> first things first I guess, I should look to see if Lucy is still on at the movies.
702: [08:15:44] <Pyhachek> waw, only $70?
703: [08:15:56] * Colin[pi] has joined #silverstripe
704: [08:16:00] <simon_w> Yeah, spent most of the time in NZ getting hailed on
705: [08:16:05] <simon_w> And then a new cycle
706: [08:16:07] <Pyhachek> ah.
707: [08:16:17] <simon_w> So only went 7 GB over
708: [08:16:19] <Pyhachek> Cool. (Pun not intended)
709: [08:16:28] <Pyhachek> Still, only $10 a Gb!
710: [08:16:33] <simon_w> I know!
711: [08:16:37] <simon_w> Optus is great like that!
712: [08:16:39] <Pyhachek> Pretty sure in NZ that'd be $7000
713: [08:16:45] <Pyhachek> coz y'know, $1 per Mb
714: [08:16:54] <Pyhachek> or something
715: [08:16:58] <simon_w> VF cuts you off now, so it's opt in
716: [08:17:09] <Adesso> Pyhachek - Adesso 1 : Slug 0
717: [08:17:09] <simon_w> Data Angel is actually amazing
718: [08:17:11] <Pyhachek> ah yeh
719: [08:17:17] <Pyhachek> Adesso: good, good :>
720: [08:17:29] <Pyhachek> Adesso: leave some blitzen out over the weekend?
721: [08:17:42] <Pyhachek> simon_w: what is this?
722: [08:17:48] <Pyhachek> Morgen wmk :)
723: [08:18:00] <simon_w> Pyhachek, bill-shock protection basically
724: [08:18:08] <Pyhachek> ah yeh, cool.
725: [08:18:41] * Adesso did some work on Sunday... seems all I needed was some Tequila to smooth over my mind ;)
726: [08:19:21] <Pyhachek> LOL fuck'n brilliant UX bullshit.
727: [08:19:21] <Colin[pi]> simon_w: my connection is struggling to load your result png lol
728: [08:19:51] <Pyhachek> in search box, type "Lucy", see auto complete/suggest pop up with correct result just as I press enter.
729: [08:20:01] <Pyhachek> But I pressed enter, so page loads "NO RESULTS FOUND"
730: [08:20:06] <Pyhachek> GG, DIAF.
731: [08:21:09] <simon_w> Colin[pi], you really should switch to VDSL
732: [08:21:12] * Colin[pi] quit (Remote host closed the connection)
733: [08:21:20] <simon_w> Though then your net will be faster than mine, so maybe not
734: [08:21:48] * Colin[pi] has joined #silverstripe
735: [08:21:51] <simon_w> Colin[pi], you really should switch to VDSL
736: [08:21:52] <simon_w> Though then your net will be faster than mine, so maybe not
737: [08:22:27] <Pyhachek> cunt, gotta go to manchester or norwich to see it :< kinglozzer, organise a meetup and sponsor my visit :>
738: [08:22:40] <kinglozzer> Pyhachek: See what?
739: [08:22:49] <Pyhachek> Lucy, in imax :>
740: [08:22:59] <kinglozzer> oic
741: [08:23:15] <kinglozzer> I live here and I've not bothered with imax yet :P
742: [08:23:50] <Pyhachek> or I can see it at fuck'n Empire.
743: [08:24:01] <micmania1> Where do the unit tests load in the fixtures?
744: [08:24:04] <Pyhachek> screens so tiny it's bullshit (didn't expect that coming from NZ)
745: [08:24:16] <simon_w> micmania1, lazily
746: [08:24:18] <Pyhachek> all our screens are of decent size.
747: [08:24:21] <kinglozzer> ohai micmania1
748: [08:24:28] <micmania1> Hola!
749: [08:24:33] <Pyhachek> Here you're all HEY THERE'S LIGHT AT THE END OF THE TUNNEL, IT LOOKS LIKE A MOVIE!
750: [08:24:35] <kinglozzer> Pyhachek: The ones here are pretty big
751: [08:24:37] <kinglozzer> (I think)
752: [08:24:50] <Pyhachek> I was not impressed when I went to see the Hobbit pt.2
753: [08:24:59] <kinglozzer> (by here I mean Norwich)
754: [08:25:07] <micmania1> simon_w: so when it calls objFromFixture?
755: [08:25:14] <Pyhachek> Not to mention that apparently Geordies don't go to the movies to watch a movie.
756: [08:25:14] <simon_w> micmania1, ya
757: [08:25:36] <Pyhachek> they talk, get up, leave, come back, throw candy... basically everything except watch the movie :<
758: [08:25:39] * Colin[pi] quit (Remote host closed the connection)
759: [08:25:40] <wmk> do lang files inside themes work?
760: [08:25:54] * r_hector quit (Quit: Leaving.)
761: [08:25:55] <Pyhachek> wmk: don't think so, no.
762: [08:26:21] <Pyhachek> another argument for putting everythnig in mysite rather than themes ;)
763: [08:26:27] <Pyhachek> eh Zauberfisch :>
764: [08:26:33] <wmk> damn. i can collect them inside themes, text collector generates the files.
765: [08:26:34] <wmk> ...
766: [08:26:45] <Pyhachek> wmk: oh, so it works?
767: [08:27:04] <wmk> calling http://127.0.0.1:8080/dev/tasks/i18nTextCollectorTask?module=themes/mytheme works
768: [08:27:20] <wmk> but it seems it doesn't get the german translation
769: [08:27:45] <wmk> yaf
770: [08:27:48] <Pyhachek> so... it picks up the translation, but doesn't actually perform it?
771: [08:28:04] * UncleCheese has joined #silverstripe
772: [08:28:18] <wmk> Pyhachek, i can at least collect _t() inside templates, yes
773: [08:28:47] <Pyhachek> micmania1: how many movie cinemas are there here other than Empire at the Gates?
774: [08:29:14] <wmk> but it seems _t() doesn't look at themes folder. do i need a config folder to make my theme another module?
775: [08:29:17] <micmania1> There's one at the metro centre
776: [08:30:34] * Otterpocket has joined #silverstripe
777: [08:32:04] <Pyhachek> micmania1: the imax?
778: [08:32:17] <micmania1> yeah, I think its an Odeon
779: [08:32:21] <Pyhachek> yep.
780: [08:32:26] <Pyhachek> Don't have my movie on anymore :<
781: [08:32:28] <Pyhachek> D:
782: [08:32:30] <Pyhachek> :S
783: [08:32:32] <Pyhachek> :/
784: [08:32:40] <Pyhachek> idek what do
785: [08:32:55] <Pyhachek> imax options are: Go to norrrrrrich
786: [08:33:06] <Pyhachek> or manc city
787: [08:33:39] <ocmnt> I've been in that imax in norwich
788: [08:33:43] <ocmnt> \o/
789: [08:33:53] <Pyhachek> Or there's Tyneside cinema, but the don't have it on.
790: [08:33:57] <Pyhachek> ocmnt: haha, any decent/
791: [08:33:59] <Pyhachek> ?
792: [08:34:06] <Pyhachek> I've never been to an imax, I dunno what to expect
793: [08:34:42] <ocmnt> any decent? is that a serious question?
794: [08:34:46] <ocmnt> after all, it is in norfolk :D
795: [08:34:56] <Pyhachek> no, norwich
796: [08:35:01] <ocmnt> norwich is in norfolk
797: [08:35:05] <Pyhachek> oh
798: [08:35:07] <Pyhachek> idek
799: [08:35:14] <Pyhachek> idk
800: [08:35:15] <Pyhachek> *
801: [08:35:23] <ocmnt> norfolk is the county, norwich is the capital there
802: [08:35:24] <ocmnt> I think
803: [08:35:30] <ocmnt> but it was decent enough for a cinema
804: [08:35:34] <Pyhachek> yep.
805: [08:35:39] <ocmnt> just a regular imax cinema
806: [08:35:40] <Pyhachek> google tells me you are correct.
807: [08:35:50] <ocmnt> hurray for google :D
808: [08:35:55] <Pyhachek> yeah but what even is imax? Just a big screen?
809: [08:36:05] <ocmnt> big screen. better screen filtering
810: [08:36:13] <Pyhachek> 'screen filtering'?
811: [08:36:18] <ocmnt> the screen is big, arched and full of little holes
812: [08:36:23] <ocmnt> providing better light reflecting
813: [08:36:27] <Pyhachek> ok
814: [08:36:31] <ocmnt> letting the movie 'pop out'
815: [08:36:44] <ocmnt> http://en.wikipedia.org/wiki/IMAX
816: [08:36:46] <micmania1> simon_w: by time it calls $fixtureFactory->getId() fixtures and blueprints are empty :( Do you know where abouts it loads the yaml file?
817: [08:37:07] <micmania1> Pyhachek: you up for T in the park? July 2015
818: [08:37:43] <Pyhachek> micmania1: eh what?
819: [08:37:53] <micmania1> T in the park - its a festival in Scotland.
820: [08:38:05] <Pyhachek> oic
821: [08:38:07] <Pyhachek> nfi tbh
822: [08:41:50] <micmania1> Pyhachek: http://www.tinthepark.com/home.aspx
823: [08:43:06] <ocmnt> tinth epark? :P
824: [08:43:31] * Colin[pi] has joined #silverstripe
825: [08:44:57] <micmania1> simon_w: doesn't matter ^^^ Found it :)
826: [08:47:37] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
827: [08:49:05] * Colin[pi] quit (Read error: Connection reset by peer)
828: [08:49:53] * Colin[pi] has joined #silverstripe
829: [08:49:55] <antmas_> bah
830: [08:49:57] <antmas_> back
831: [08:49:59] * antmas_ quit (Quit: Page closed)
832: [08:50:17] * antmas_ has joined #silverstripe
833: [08:50:28] <antmas_> Colin[pi]: back
834: [08:50:33] * veb quit (Quit: preprocessor-irc-cli)
835: [08:50:51] <simon_w> Yay, Doctor Who time
836: [08:50:52] <antmas_> always forget to sign out antmas
837: [08:50:55] * stephanvd quit (Remote host closed the connection)
838: [08:51:08] <antmas_> simon_w: you a fan of the new doc?
839: [08:51:17] <simon_w> antmas_, not so much
840: [08:51:23] <micmania1> SapphireTest->setUp() isn't being called :/
841: [08:51:26] <simon_w> Hopefully the companion change can fix that
842: [08:51:30] * stephanvd has joined #silverstripe
843: [08:51:46] <simon_w> micmania1, no parent::setUp() in your setUp()?
844: [08:51:52] * ss31noob has joined #silverstripe
845: [08:51:59] <ocmnt> doctor who??
846: [08:52:06] <ocmnt> I think capaldi is doin a graet job
847: [08:52:11] <ocmnt> the doctor became a maniac
848: [08:52:28] <micmania1> hahaha oh fuck. I'm a moron.
849: [08:52:56] <micmania1> I have failing tests so I commented them all out apart from the one i was working on. I commented out the content of setUp without noticing.
850: [08:53:36] <micmania1> In my defence they are placed randomly in the middle of tests.
851: [08:56:58] <Pyhachek> antmas_: simon_w I like the new doc.
852: [08:57:12] <Pyhachek> and I also feel like it's not HIS doc.
853: [08:57:38] <Pyhachek> ie. he plays how he's been told, as opposed to introducing a little flair like the past 3 have been able to do (to some extent).
854: [08:57:55] <Pyhachek> but he's getting back to the original cantakerous old man style.
855: [08:58:07] <Pyhachek> ocmnt: ^
856: [08:58:42] <ocmnt> I do enjoy his style
857: [08:58:50] <ocmnt> allmost losing himself
858: [08:58:57] <antmas_> yeah I've enjoyed it more than the last doc
859: [08:59:03] <Pyhachek> yeah, but on the other hand that's kinda depressing.
860: [08:59:03] <ocmnt> the doc got even more chaotic as before
861: [08:59:16] <ocmnt> Pyhachek, I think that is why I am such a fan
862: [08:59:26] <Pyhachek> The doctor, no matter his attitudes, has always been self confident.
863: [08:59:32] <ocmnt> depressing perhaps, though even more narsistic and lost to care too much
864: [08:59:43] <Pyhachek> mebbe.
865: [08:59:52] <Pyhachek> Interesting to see where this story arc goes though.
866: [09:00:03] <ocmnt> I wonder how they fit the story with pompei
867: [09:00:10] <Pyhachek> hmm?
868: [09:00:16] <ocmnt> the pompei episodes
869: [09:00:18] <ocmnt> episde*
870: [09:00:21] <Pyhachek> with Donna?
871: [09:00:21] <ocmnt> episode*
872: [09:00:26] <ocmnt> I guess?
873: [09:00:31] <ocmnt> capaldi was the major of the city back then
874: [09:00:35] <ocmnt> before it got flooded with lava
875: [09:00:37] <Pyhachek> The loud mouth older redhead woman
876: [09:00:45] <Pyhachek> oh, haha
877: [09:00:53] <simon_w> He recognised his face
878: [09:01:01] <Pyhachek> ?
879: [09:01:16] <Pyhachek> oh yeah, probably where he got the transformation face from.
880: [09:01:23] <Pyhachek> that's apparently a thing.
881: [09:01:27] <Pyhachek> idk
882: [09:02:40] <wmk> argh...
883: [09:03:30] <Pyhachek> kinglozzer: I hear the cops shot your missus... how are you holding up?
884: [09:03:48] <kinglozzer> lol Pyhachek
885: [09:04:01] <kinglozzer> Only in Norfolk
886: [09:04:13] <Pyhachek> It's ok though, it's for the best. She was a bit of a cow anyway.
887: [09:04:19] <kinglozzer> I don't get how it took 7 hours, fuck knows how many police and a helicopter to deal with 3 cows O.o
888: [09:04:24] <Pyhachek> You'll get over it :P
889: [09:04:43] <Pyhachek> kinglozzer: hahaha, I'm confused as to why it was a police matter in the first place really.
890: [09:05:07] <wmk> Pyhachek, /lang/ inside theme actually works
891: [09:05:10] <Pyhachek> I get if they're rampaging through town or something, but just to hunt them down... surely it should the the cockey who's cows they were's job.
892: [09:05:16] <Pyhachek> wmk: cool!
893: [09:05:23] <Pyhachek> It makes sense really.
894: [09:06:04] <Adesso> Cows, Police, Shooting... sounds like a really wild night ..
895: [09:06:20] <Pyhachek> Adesso: haha, yeh, sounds like it.
896: [09:06:26] <Pyhachek> snipers even apparently!
897: [09:06:49] <Pyhachek> and a third cow who was apparently "very angry" which they didn't specify how it died.
898: [09:07:08] * Adesso dreams of Ninja Cows being sniped by Special Forces Police...
899: [09:07:16] <Pyhachek> I'm assuming because of some kind of animal rights outcry if they do, like they ran it over or something.
900: [09:07:29] <wmk> Adesso, hmm, lego ninja cow?
901: [09:07:30] <Adesso> Grenade
902: [09:07:45] <Pyhachek> hahaha, I don't think the cops get grenades.
903: [09:07:46] * Robke_ has joined #silverstripe
904: [09:07:53] * Adesso knows the Animal lovers don't llike explosions
905: [09:07:54] <wmk> hey Robke
906: [09:07:55] <Pyhachek> maybe they chased it and it ran off a cliff or something :<
907: [09:08:55] <Pyhachek> LOL, found a gantt chart where everything on it should be done by this time a month ago. But only one of the things is done, and I did it only yesterday (err, Friday).
908: [09:09:13] <Pyhachek> This was started in early April.
909: [09:09:26] <Pyhachek> What got in the way? USERS, USERS FUCKED ALL THE THINGS UP
910: [09:09:32] <Robke_> hello one more time ;)
911: [09:09:45] <Pyhachek> what is hello in... Latvian?
912: [09:10:04] <Robke_> i thought that windows sucks and crashes alot.... but ubuntu really sucks... it crashes more than windows :D
913: [09:10:09] <Pyhachek> it's one of those L Baltic 2 countries next to each other right?
914: [09:10:16] <Robke_> Pyhachek: yes ;)
915: [09:10:30] <Robke_> Latvia is more in north
916: [09:10:33] <Pyhachek> it's one of those 2 Baltic L countries next to each other right?
917: [09:10:34] * Robke quit (Ping timeout: 246 seconds)
918: [09:10:38] <Robke_> they are above us in the map ;D
919: [09:10:45] * Robke_ is now known as Robke
920: [09:10:50] <Pyhachek> ah, got it wrong. Lithuanian
921: [09:10:58] <Robke> yeah nice joke :D
922: [09:11:06] <Robke> try once again :D
923: [09:11:14] <Pyhachek> o.0
924: [09:11:27] <Pyhachek> no, tehre's only 2!
925: [09:11:45] <Pyhachek> Poland, Russian, Lithuania, Latvia, Estonia, Russia, Finland
926: [09:11:50] <Pyhachek> south to north
927: [09:11:58] <Pyhachek> on the Baltic
928: [09:12:25] <Pyhachek> so you're Lithuanian right Robke? What is hello?
929: [09:12:48] <Pyhachek> Dolbre rano is Polish.
930: [09:12:50] <Robke> labas :)
931: [09:12:52] <Robke> sveiki
932: [09:12:59] <Robke> there are a lot of ways to say hello
933: [09:13:08] <Pyhachek> hmm, 'good morning' then?
934: [09:13:09] <Robke> in general it would be Laba diena
935: [09:13:10] <Pyhachek> :>
936: [09:13:13] <Robke> labas rytas
937: [09:13:17] <Pyhachek> Laba diena :>
938: [09:13:21] <Pyhachek> Labas rytas
939: [09:13:33] <Pyhachek> Labas rytas Robke :)
940: [09:13:37] <Robke> well its afternoon so it would be laba diena ;D
941: [09:13:43] * antmas_ quit (Ping timeout: 246 seconds)
942: [09:13:48] <Pyhachek> ... it's 11am!
943: [09:13:54] <Robke> depends where you are :D
944: [09:14:02] <Pyhachek> you're in more than 1 timezone?
945: [09:14:12] <Robke> here in Lithuania its now 12:14 am :)
946: [09:14:15] <Pyhachek> are you over east by Belorussia?
947: [09:14:21] <Pyhachek> oic
948: [09:14:30] <Robke> Warshawa Vilnius tallin
949: [09:14:35] <Robke> i think the same :)
950: [09:14:50] <Pyhachek> You crazy European types and your timezones not matching GMT deviation :/
951: [09:14:57] <Robke> http://www.timeanddate.com/worldclock/lithuania/vilnius
952: [09:15:20] <Pyhachek> like how france is due south of grenwich, but is 1 hour ahead of the UK
953: [09:15:28] <Pyhachek> just because fuck you, apparently :/
954: [09:15:31] <Robke> lol didnt knew it :D
955: [09:15:52] <Pyhachek> and spain, which is more WEST, is still an hour ahead.
956: [09:16:31] <Pyhachek> idk. Timezones are crazy man. The sun rises, and then after some time which is longer in summer and shorter in winter, it sets. That's all I know.
957: [09:16:36] <Pyhachek> and it's consistent. wherever you are.
958: [09:16:45] <Robke> yep its true
959: [09:16:54] <Robke> changing time is funcking bullshit
960: [09:17:03] <Robke> who cares then the sun risses or goes down... :D
961: [09:17:08] <Pyhachek> haha, yeh. All that changes is our measure of it.
962: [09:17:12] <Robke> the time still will be the same :d
963: [09:17:26] <Pyhachek> Here soon daylight savings will end, and we'll sink back an hour.
964: [09:17:38] <Robke> same here as i understand :)
965: [09:17:57] <Robke> anyway
966: [09:17:58] <Robke> http://maps.googleapis.com/maps/api/js?&sensor=false
967: [09:18:03] <Robke> i use this for google maps
968: [09:18:06] <Robke> without any api
969: [09:18:12] <Robke> because its not nessacery
970: [09:18:16] <Robke> but i still get error like
971: [09:18:27] <Robke> Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened.
972: [09:18:32] <Robke> any ideas of solving this?
973: [09:18:42] <micmania1> heh. Someone just sent me a valid link to ss.org :D
974: [09:19:23] <kinglozzer> Robke: You're loading the script wrong, basically
975: [09:19:39] <kinglozzer> How are you loading it?
976: [09:19:57] <Robke> kinglozzer: hm... well i use only this link and everything works until i resize my window to mobile device size :D
977: [09:20:31] <kinglozzer> Oh, so it works fine until you resize your browser?
978: [09:20:43] <kinglozzer> That's weird. Do you have any resize events that trigger reloads etc?
979: [09:21:30] <Robke> nope
980: [09:21:39] <Robke> well the situation is strange
981: [09:21:41] <kinglozzer> http://stackoverflow.com/questions/23354358/how-do-i-load-google-maps-external-javascript-after-page-loads
982: [09:21:48] <Robke> because in that page i do not use google map
983: [09:22:04] <Robke> but i use some slides(page type) which is loaded via
984: [09:22:06] <Robke> ajax loader
985: [09:22:20] <Robke> so the slides appears in full screen
986: [09:22:29] <Robke> but if i resize it to less than 767 px
987: [09:22:34] <Robke> it doesnt :D
988: [09:22:38] <Robke> mystics on monday
989: [09:23:07] <Robke> and thanks for the source i will try to figure it out ;)
990: [09:24:09] <Pyhachek> micmania1: eh?
991: [09:24:10] <Pyhachek> idgi
992: [09:24:32] <micmania1> what? the T in the park thing?
993: [09:24:39] <Pyhachek> no
994: [09:24:45] <Pyhachek> [10:18] <micmania1> heh. Someone just sent me a valid link to ss.org :D
995: [09:24:50] <Pyhachek> this ^
996: [09:25:06] <micmania1> Pyhachek: http://silverstripe.org/dfjknf%20kgjdfkgjfdgdfg
997: [09:25:23] <Pyhachek> lolwtf?
998: [09:25:45] <Pyhachek> 404, as expected.
999: [09:25:53] <micmania1> the seal gif.
1000: [09:26:07] <Pyhachek> yeah, that's pretty lols xD
1001: [09:26:07] <micmania1> I'd forgotten about that haha
1002: [09:26:26] <Pyhachek> oh, so valid you mean invalid, and then you lol'd?
1003: [09:26:33] * Tanger quit (Quit: Tanger)
1004: [09:26:34] <micmania1> it just popped up on my screen like OBLOBLOBLOB
1005: [09:26:49] <Pyhachek> haha
1006: [09:26:53] <micmania1> Or at least thats what noise i imagine it makes
1007: [09:27:23] <Pyhachek> yeh
1008: [09:27:39] <Pyhachek> it has that comic onomatopeic effect.
1009: [09:28:19] * Colin[pi] quit (Remote host closed the connection)
1010: [09:28:40] * Colin[pi] has joined #silverstripe
1011: [09:29:28] * guci0 quit (Ping timeout: 246 seconds)
1012: [09:31:39] * Adesso quit ()
1013: [09:34:27] * UncleCheese has joined #silverstripe
1014: [09:34:28] * Adesso has joined #silverstripe
1015: [09:44:31] * ss31noob quit (Ping timeout: 246 seconds)
1016: [09:54:11] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1017: [09:57:32] * ss31noob has joined #silverstripe
1018: [10:01:55] * Colin[pi] quit ()
1019: [10:09:15] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1020: [10:38:01] * Adesso starts his Live server...
1021: [10:41:26] <Pyhachek> oooh
1022: [10:41:34] <Pyhachek> *DUH DUH DAAAAAAA*
1023: [10:47:56] <micmania1> https://github.com/micmania1/silverstripe-framework/compare/silverstripe:master...filesystem-abstraction - making good progress :)
1024: [10:48:33] <micmania1> Still making sure tests pass atm and plenty to do but i'm getting there. Some day!
1025: [10:49:48] <Pyhachek> \me is bored as fuck :<
1026: [10:49:58] * Pyhachek is bored as fuck :<
1027: [10:50:34] <Pyhachek> what are you up to micmania1 ? is this to allow external filesystems ie cloud storage?
1028: [10:50:46] <micmania1> it certainly is.
1029: [10:51:37] <Pyhachek> cool
1030: [10:51:45] <micmania1> Doing little bits at a time. My first goal is to separate the db layer from the filesystem
1031: [10:51:47] <Pyhachek> app_categories:
1032: [10:52:01] <Pyhachek> archive:
1033: [10:52:05] <Pyhachek> - zip
1034: [10:52:09] <Pyhachek> - ace
1035: [10:52:12] <Pyhachek> - rar
1036: [10:52:26] <Pyhachek> - .r\d\d
1037: [10:53:16] <micmania1> https://github.com/micmania1/silverstripe-framework/compare/silverstripe:master...filesystem-abstraction#diff-8e70dea638f9f58d5afd42395d40aeb0L140
1038: [10:53:23] <Pyhachek> .sit , .7z, .tar, .gzip, .tar.gz, .tgz, .bzip, .tar.bz2 ...
1039: [10:54:01] <Pyhachek> yeah I saw, but didn't look like you had it in yml :<
1040: [10:54:34] <Pyhachek> still, that's intense bro, will be good when it's done!
1041: [10:54:41] <Pyhachek> becoming a very common request
1042: [10:55:07] <micmania1> where is archive?
1043: [10:55:17] <Pyhachek> hmm, called 'zip' in that array
1044: [10:55:24] <Pyhachek> which is a bit derp, but whatever
1045: [10:56:12] <micmania1> https://github.com/micmania1/silverstripe-framework/compare/silverstripe:master...filesystem-abstraction#diff-74ccff4bc8e874dfae77051ada623618R2
1046: [10:56:17] * Pyhachek looks again
1047: [10:56:20] <micmania1> That's where the filesystem stuff lies.
1048: [10:56:29] <Pyhachek> ah fuck, I missed it because derp naming :< you do have it in yml
1049: [10:56:43] * Pyhachek shrugs
1050: [10:57:01] <Pyhachek> oooh, namespaces
1051: [10:57:04] <micmania1> but still got plenty to do.
1052: [10:57:22] <micmania1> yeah, I haven't Namespaced the File/Folder stuff though, just the new stuff.
1053: [10:57:37] <Pyhachek> yeah, that would break everything, lol
1054: [10:57:54] <Pyhachek> cool man, cool :>
1055: [10:58:26] <micmania1> I'm trying to get rid of all the statics too. I have developed a dislike for static methods.
1056: [10:58:34] <micmania1> and config statics too.
1057: [10:58:48] <micmania1> although they make life easier.
1058: [10:59:38] * ThePeach has joined #silverstripe
1059: [10:59:40] <Pyhachek> yeh, they're just defaults.
1060: [10:59:48] <Pyhachek> I quite don't mind
1061: [11:00:37] <Pyhachek> but static methods... now that we have the config system, I think they only have place where it's actually sensible.
1062: [11:00:45] <micmania1> https://github.com/micmania1/silverstripe-framework/compare/silverstripe:master...filesystem-abstraction#diff-b3f90efc6f606e6a27b2310bf43c0c94R1
1063: [11:00:51] <micmania1> This is how you define filesystems.
1064: [11:00:53] <Pyhachek> ie, you need a static method. Not just static for static's sake to do with config, etc.
1065: [11:01:15] <micmania1> $filesystem = FilesystemManager::inst()->get('local') // The only static used so far.
1066: [11:01:31] <Pyhachek> mint
1067: [11:01:47] <micmania1> The first constructor param is the base path (relative to root) and the second is the URL mapped to the path.
1068: [11:01:55] <Pyhachek> so you use the same class for all filesystems (where appropriate) and just instantiate different injections of it via config?
1069: [11:02:05] <Pyhachek> oh yeh, cool.
1070: [11:02:09] <Pyhachek> why not - - though?
1071: [11:02:13] <Pyhachek> 0: 1: ?
1072: [11:02:17] <Pyhachek> same diff I guess.
1073: [11:02:34] <Pyhachek> techincally yml lets you blah, blah too.
1074: [11:02:37] <micmania1> Pyhachek: because that would make the webroot the default filesystem store
1075: [11:02:50] <Pyhachek> yeah I mean
1076: [11:02:59] <Pyhachek> + construct: + 0: 'assets/' + 1: 'assets/'
1077: [11:03:06] <Pyhachek> + construct: + - 'assets/' + - 'assets/'
1078: [11:03:12] <Pyhachek> ?
1079: [11:03:31] <micmania1> oh, because this means you can override things easier
1080: [11:03:34] <Pyhachek> Nothing wrong with how you've done it, I'm just curious if there's some complesity in yml I dunno about
1081: [11:03:46] <Pyhachek> true enough I guess, it is a bit more explict
1082: [11:03:56] <micmania1> construct: 0: 'different/place'
1083: [11:03:58] <Pyhachek> and gives you direct key I guess, more to the point
1084: [11:04:05] <micmania1> BUT
1085: [11:04:06] <Pyhachek> for merges :>
1086: [11:04:18] <micmania1> + Advise not to overwrite YAML blocks - instead create a new filesystem. Filesystems that are not used will not be initilaised.
1087: [11:05:03] <micmania1> so you can overwrite settings in YAML, but preferrably you'd just create a new filesystem and reference that instead
1088: [11:05:11] <micmania1> File.default_filesystem = 'myfilesystem'
1089: [11:05:40] <micmania1> And it just means creating a new yaml block
1090: [11:05:41] <Pyhachek> where 'myfilesystem' is an injector 'bean'
1091: [11:05:44] <Pyhachek> ?
1092: [11:05:56] <micmania1> myfilesystem is the name of the filesystem as defined here: (brb)
1093: [11:06:04] <micmania1> https://github.com/micmania1/silverstripe-framework/compare/silverstripe:master...filesystem-abstraction#diff-b3f90efc6f606e6a27b2310bf43c0c94R7
1094: [11:06:30] <micmania1> It can use exactly the same class, but store its files elsewhere.
1095: [11:06:36] <Pyhachek> yeh, cool.
1096: [11:06:42] <Pyhachek> like DMS, as example.
1097: [11:06:48] <micmania1> so if you have assets, but also have a private filestore outside the root folder, you can setup as two filesystems.
1098: [11:07:00] <Pyhachek> although I think that has some accessor magic around it, so may need it's own class
1099: [11:07:11] <micmania1> nah, it needs to be updated.
1100: [11:07:15] <Pyhachek> hmm, but how to define which one to save?
1101: [11:07:19] <Pyhachek> to*
1102: [11:07:23] <micmania1> I think it just uses symlinks anyway
1103: [11:07:37] <Pyhachek> dms module makes 'dmsassets' folder
1104: [11:07:42] <micmania1> what do you mean by save? They're just 2 instances of the same class.
1105: [11:07:45] <Pyhachek> stores stuff in there
1106: [11:08:08] <Pyhachek> yeah, but I mean, when you upload a file, which filesystem class will it save to?
1107: [11:08:09] <micmania1> My first aim is to separate the db from filesystem, so you can only have one filesystem related to the db.
1108: [11:08:26] <micmania1> but it would be pretty straight forward from that point to add a new db column which also stored the filesystem name.
1109: [11:08:28] <Pyhachek> hmm, only 1?
1110: [11:08:42] <Pyhachek> 1 at a time like?
1111: [11:09:01] <micmania1> yeah, so File.default_filesystem - no other.
1112: [11:09:02] <Pyhachek> as in, if you config with say... an aws store, that's what the DB will track?
1113: [11:09:11] <Pyhachek> hmm, I C. Makes sense.
1114: [11:09:48] <micmania1> but, there's no rule stating you need to track your files in the db. You can create a totally different file class if you wanted and run two db's
1115: [11:10:00] <micmania1> or you could subclass it and have different filesystems.
1116: [11:10:17] <Pyhachek> cool :D
1117: [11:10:25] <micmania1> They'd be hacks. The better way would be to implement it into core, but that's out of scope for what i'm aiming for now.
1118: [11:10:39] <Pyhachek> mm, I see.
1119: [11:10:46] <Pyhachek> stepping stones :)
1120: [11:10:59] <micmania1> exactly.
1121: [11:11:20] <micmania1> I originally had this masterplan but it was too much work and I ended up starting about 5 times before getting annoyed haha
1122: [11:11:24] <micmania1> and didn't get anything done.
1123: [11:11:26] <Pyhachek> ah fuck yes, 12:12, lunch time :D
1124: [11:11:35] <micmania1> bed time!
1125: [11:11:37] <Pyhachek> haha, masterplans
1126: [11:11:54] <Pyhachek> I know about them. I've had about 20 over the past 3 years, none of which have ever been started, hahaha
1127: [11:12:11] <micmania1> yeah, I've pretty much been thinking for 3 weeks without touching it
1128: [11:12:20] <micmania1> and came up with what i've got now
1129: [11:12:23] <Pyhachek> it's good though, you get a better picture
1130: [11:12:32] <Pyhachek> you think about holes in your own plans, etc.
1131: [11:12:32] <micmania1> which could even potentially still support backwards compatibility!
1132: [11:12:46] <Pyhachek> yep, cool. That's the important bit! :P
1133: [11:12:49] <Pyhachek> ... ish
1134: [11:13:03] <micmania1> Last start to this meant an upgrade to 5.4 min requirement
1135: [11:13:16] <micmania1> which nobody seemed too phased by actually.
1136: [11:13:27] <micmania1> PHP version btw ^^
1137: [11:13:40] <Pyhachek> yeah, irogue tells me that Hamish and Damien are considering making 3.2 5.4+
1138: [11:13:50] <Pyhachek> as opposed to current 5.3.2
1139: [11:14:02] <Pyhachek> which is a bit redonk.
1140: [11:14:02] <micmania1> yeah, there seems to be way too much going into 3.2 for my liking.
1141: [11:14:14] <Pyhachek> hmm, yesh and nosh.
1142: [11:14:24] <Pyhachek> I mean, if there's too much, it might just end up being 4.0
1143: [11:14:26] <Pyhachek> lulz
1144: [11:14:29] * Pyhachek shrugs
1145: [11:14:36] <micmania1> core devs seem to be able to merge what they want whilst everyone else struggles to get bug fixes merged.
1146: [11:15:03] <Pyhachek> hmm, this is true. One of the reasons simon_w got frustrated as I understand.
1147: [11:15:09] <micmania1> https://github.com/silverstripe/silverstripe-framework/pull/3179 - Exhibit A.
1148: [11:15:27] <micmania1> https://github.com/silverstripe/silverstripe-postgresql/pull/34 - Exhibit B
1149: [11:15:53] <simon_w> micmania1, not even core devs can. It's SS internal ones.
1150: [11:15:54] <micmania1> Both bug fixes, been ongoing for like 3 months.
1151: [11:16:02] <simon_w> Most of my PRs were left for some time.
1152: [11:16:48] <Pyhachek> simon_w: but with you gone, all the core devs ARE the internal ones! (no?)
1153: [11:16:57] <simon_w> Pyhachek, willr and ajshort
1154: [11:16:58] <micmania1> Will R isn't.
1155: [11:17:07] <Pyhachek> simon_w: isn't ajshort SSAU?
1156: [11:17:10] <Pyhachek> or did he leave?
1157: [11:17:11] <micmania1> ajshort is ss aus
1158: [11:17:15] <micmania1> i think
1159: [11:17:19] <simon_w> Yeah, but SS NZ doesn't like SS AU
1160: [11:17:25] <Pyhachek> ha.
1161: [11:17:37] <simon_w> Because SS AU actually does open source
1162: [11:17:43] <Pyhachek> respect the codes, but they don't work together as close as what you'd think.
1163: [11:17:49] <Pyhachek> from what I understand
1164: [11:19:00] <Pyhachek> but anyway, willr is ex-internal
1165: [11:19:14] <Pyhachek> afaik you're the only core dev that was never employed at SS
1166: [11:19:25] <micmania1> nah, they're basically a different company with the same name from what i've experienced, but we do share stuff internally and are on the same internal chat systems and stuff.
1167: [11:19:37] <Pyhachek> in this case the contraction would be 'we', not 'a'
1168: [11:19:47] <micmania1> so when we do our monthly show & tells and stuff like that they join in
1169: [11:20:02] <Pyhachek> micmania1: yeah, that's how sminnee explained it to me a couple of years back.
1170: [11:20:17] <Pyhachek> They're their own separate entity.
1171: [11:20:35] * jeroenem has joined #silverstripe
1172: [11:20:41] <Pyhachek> there's no central management as such. (ie Sam I guess now) overseeing the direction as a whole.
1173: [11:21:11] <Pyhachek> They make good code though, especially with AJShort
1174: [11:21:14] <simon_w> Pyhachek, have you noticed just how differently SS (Ltd mostly) is perceived outside of NZ?
1175: [11:21:28] <Pyhachek> simon_w: in which way?
1176: [11:21:59] <simon_w> Not seen as some super awesome company that only does good things
1177: [11:22:13] <simon_w> Like, its flaws are a lot more apparent outside of NZ
1178: [11:22:22] <Pyhachek> SS (org) is just an emerging thing over here, so there isn't much of an opinion going around tbh (that I've noticed)
1179: [11:22:28] <Pyhachek> simon_w: I guess so.
1180: [11:22:55] <Pyhachek> There was a big discussion on it at SSEU
1181: [11:23:15] <Pyhachek> but it was more 'how can we support you to get the customers' kinda thing.
1182: [11:23:27] <Pyhachek> ie, marketing materials, security check publications, etc.
1183: [11:23:44] <simon_w> So Cam wasn't involved then? :p
1184: [11:23:47] <Pyhachek> stuff that (potential) customers want to know, but no one really has access to atm.
1185: [11:23:51] <Pyhachek> simon_w: hahaah, nup!
1186: [11:27:11] <micmania1> Stuff that gets me is this: http://silverstripe.uservoice.com/forums/251266-new-features/status/1259527
1187: [11:27:36] <micmania1> Stuff with 1 vote is planned.
1188: [11:28:32] <Pyhachek> micmania1: actually sminnee talked a little on that at the post eu conference.
1189: [11:28:59] <Pyhachek> looking at perhaps melt the manifest (as it is currently at least) away and maybe going with something like psr-4 or whatever that thing is.
1190: [11:29:25] <Pyhachek> but it's only a preliminary look in atm. but I guess it's to let people know that it is in mind.
1191: [11:29:42] <micmania1> yeah, but that's a long way off. You'd pretty much need to break BC to make it work, which I think would need to be done at some point anyway
1192: [11:30:26] <Pyhachek> yeah.
1193: [11:30:36] <Pyhachek> it was musings, more than plans.
1194: [11:30:57] <micmania1> Damian started work on it on Friday
1195: [11:30:59] <Pyhachek> yeh, psr-4
1196: [11:31:00] <micmania1> it was hackday
1197: [11:31:09] <Pyhachek> lol, of course he did.
1198: [11:31:23] <micmania1> I think he thought it was a case of just moving classes around but then got a nasty surprise haha
1199: [11:31:37] <simon_w> Ugh, those autoloaders are a PITA
1200: [11:31:42] <micmania1> http://silverstripe.uservoice.com/forums/251266-new-features/suggestions/6425951-have-silverstripe-classes-be-in-namespaces - items in progress
1201: [11:32:30] <micmania1> He was aiming for 3.2 with it as well. If that goes in 3.2 then I want off this planet.
1202: [11:33:14] <simon_w> I've given up on trying to make SS care about version numbers
1203: [11:33:30] <kinglozzer> O.o
1204: [11:33:59] <micmania1> When Ingo was active it was tightly controlled.
1205: [11:34:17] <Pyhachek> Ingo isn't active anymore?
1206: [11:34:30] <kinglozzer> micmania1: What happened to him? D: haven't seen/heard anything of him in the community for months!
1207: [11:34:42] <micmania1> He's busy with other things. He used to have more time when he was in Germany.
1208: [11:34:52] <Pyhachek> yeah, the more Damien works on things, the further away 3.2 seems to be... and the less liekly it should be 3.2 also...
1209: [11:35:13] <Pyhachek> micmania1: hmm, this is true. A bit sad though, I liked his input.
1210: [11:35:22] <Pyhachek> Always clean, logical and to the point.
1211: [11:35:32] <Pyhachek> ie, both code and comments on commits
1212: [11:35:40] <Pyhachek> at least, in my experience.
1213: [11:36:02] <simon_w> Whereas now the two major contributors are Hamish and Hamish's pupil
1214: [11:36:06] <simon_w> That does not bode well
1215: [11:36:40] <Robke> simple question: what should i write inside <a href="#" >click</a> what page should load itself without adding # to address bar? orr its not possible?
1216: [11:36:54] <kinglozzer> Robke: event.preventDefault() in your click handler
1217: [11:37:01] <Robke> hm thanks
1218: [11:37:40] <kinglozzer> $('a.my-link').on('click', function(event) { doStuff(); event.preventDefault(); });
1219: [11:40:37] <Robke> a.my-link? whats that? sorry for stupid question
1220: [11:40:56] <Pyhachek> the selector for the anchor tag you're clicking.
1221: [11:40:58] <Pyhachek> whatever it is.
1222: [11:41:04] <Robke> ok thanks
1223: [11:47:21] <ss31noob> hi.. anyone encountered a problem that whenever they do a search by pagetype (ss3,1), the result doesnt return the exact pages as expected.. especially when it is under a subtree?
1224: [11:47:53] <Pyhachek> ss31noob: I think you need to define 'search by pagetype' a bit clearer so we can understand :)
1225: [11:48:49] <Pyhachek> I have a sneaky feeling if you mean blah extends Page, subblah extends blah, and you blah::get() it will return all blah AND subblah. although I'm not positive.
1226: [11:49:02] <Pyhachek> you should blah::get()->filter('ClassName' => 'blah')
1227: [11:49:04] <Pyhachek> perhaps.
1228: [11:49:06] <ss31noob> Pyhachek, what i mean is the Filtering of pages by pagetype in the CMS..
1229: [11:49:06] <Pyhachek> idk.
1230: [11:49:26] <Pyhachek> ss31noob: oh, I dunno sorry. I've not used that feature before.
1231: [11:50:57] <micmania1> i'm off to bed!
1232: [11:50:59] <micmania1> night!
1233: [11:51:07] <Pyhachek> ciao
1234: [11:57:34] <Adesso> How can I force all my Links in to use SSL ... not sure where to put Director::forceSSL()
1235: [11:57:43] <kinglozzer> Adesso: _config.php
1236: [11:57:53] <Adesso> I practically want the complete site to run on SSL only
1237: [11:58:31] <Pyhachek> if you load in ssl, the links should be in ssl.
1238: [11:58:40] <Adesso> sweet .. thanks
1239: [11:58:43] <Pyhachek> forcessl just redirects on load.
1240: [11:58:43] <wmk> if not director redirects to ssl
1241: [11:58:57] <Pyhachek> ie, 301 or whatever it is.
1242: [11:59:40] <Pyhachek> which can be a trap I've discovered in the past, eg. you have www or something like that, and things aren't set up properly it goes around in circles, or something. i can't remember.
1243: [11:59:57] <Pyhachek> I just remember I don't particularly... oh, actually it was forcewww, ha.
1244: [12:00:00] <Pyhachek> ah.
1245: [12:00:04] <Pyhachek> something like that
1246: [12:00:15] <wmk> ;)
1247: [12:00:18] <Pyhachek> I don't like static calls for things that should be DNS/webserver level stuff.
1248: [12:00:31] <Pyhachek> although I guess it provides extra protection to a point.
1249: [12:00:36] <wmk> well, forcessl can be handy if you want to disable it on isDev
1250: [12:00:54] <wmk> yup. configure it right on webserver and protect in SS
1251: [12:01:37] * Adesso breaks his dev server ...
1252: [12:01:50] <wmk> need some glue to fix it again?
1253: [12:02:02] <Adesso> I still have spare glue :P
1254: [12:02:20] <wmk> still have some sikaflex over from weekend....
1255: [12:02:25] * jeroenem quit (Ping timeout: 246 seconds)
1256: [12:10:43] * gelignite has joined #silverstripe
1257: [12:14:15] * DimiStripe has joined #silverstripe
1258: [12:16:21] <DimiStripe> HI guys, I have a Member-(has many)-AlbumObject . What i need is getting AlbumObjects filtering those by active member (where Member->Approved=1) . What would be the best way of doing this ?
1259: [12:17:41] <ocmnt> $Albums = AlbumObject::get()->filter( array(Approved => 1) );
1260: [12:17:44] <ocmnt> something like that?
1261: [12:18:16] <ocmnt> oh wait, the album is not approved, the member is
1262: [12:18:32] <ocmnt> in that case I would suggest to get all members who are approved first
1263: [12:18:40] <ocmnt> and from there get the albumobjects belonging to them
1264: [12:18:48] <DimiStripe> yep
1265: [12:18:59] <DimiStripe> the Member object holds apporve column
1266: [12:19:38] * lenix- quit (Read error: Connection reset by peer)
1267: [12:19:46] * lenix has joined #silverstripe
1268: [12:21:57] <wmk> ocmnt, can't we do something like where(array('Member.Approved' => 1)) ?? search on a has_one relation?
1269: [12:22:09] <ocmnt> hm not sure
1270: [12:22:40] <wmk> DimiStripe, you want all AlbumObjects of all active members?
1271: [12:22:58] <ocmnt> I would loop through my approved members and get their albums
1272: [12:23:26] <wmk> ocmnt, depending on how much members you have putting it in a db call could be more performant
1273: [12:23:29] <ocmnt> your solution gets albums first and checks approvement afterwards, might be more slow
1274: [12:23:51] <ocmnt> I think there are more albums as members
1275: [12:24:09] <ocmnt> so going to get the approved members first saves some lookups imho
1276: [12:24:14] <wmk> ocmnt, putting ->filter() to a DataList just modifies the query
1277: [12:24:40] <wmk> so you get all albums at once
1278: [12:24:56] <ocmnt> but you dont have to filter the albums
1279: [12:25:14] <wmk> but the join with member
1280: [12:25:45] <ocmnt> http://sspaste.com/paste/show/543bbf9fe87bb
1281: [12:25:50] <ocmnt> wouldn 't this do?
1282: [12:28:09] * ARNHOE_ has joined #silverstripe
1283: [12:30:15] <wmk> afaik filter works on relations...
1284: [12:31:04] * ARNHOE quit (Ping timeout: 260 seconds)
1285: [12:31:13] <DimiStripe> hmm, i'll try both of them, however loping is not an option - as out of 1000 users with 5000 Albums, i only need getting 3 , thus the cost for loop is quite high
1286: [12:31:33] <DimiStripe> wmk: How can i try filtering on relation ?
1287: [12:31:42] <wmk> DimiStripe, look for search filter modifiers
1288: [12:31:56] <ocmnt> dimistripe, perhaps it is an idea to approve an album aswell as the user self?
1289: [12:31:58] <DimiStripe> I assume i need adding a JOIN probably
1290: [12:32:09] * ARNHOE_ quit (Remote host closed the connection)
1291: [12:32:22] <ocmnt> if you want higher performance and no looping it would be best to get the DO's directly from db
1292: [12:32:40] * ARNHOE has joined #silverstripe
1293: [12:32:43] <DimiStripe> ocmnt: my example is just to explain you what I need , in fact theres much more option to filter from
1294: [12:33:06] <DimiStripe> so adding those otpions to ALbums is also not an option :(
1295: [12:33:23] <ocmnt> add lucene to index all albums for high performance :P
1296: [12:33:40] <wmk> afaik the join is done when filtering on a relation
1297: [12:34:03] <wmk> ocmnt, good idea. or elasticsearch ;)
1298: [12:34:27] <ocmnt> never worked with elasticsearch
1299: [12:36:27] <wmk> DimiStripe, afaik sth like ->filter(array('Relation.Field:ExactMatchFilter' => 1))
1300: [12:36:32] <ocmnt> what about neo4j? :P
1301: [12:36:39] <wmk> will add the join automatically.
1302: [12:37:10] <wmk> ocmnt, whatever. what about haskell?
1303: [12:37:20] <ocmnt> is haskell a graph DB aswell?
1304: [12:37:32] <wmk> hm, no. but a very fast functional language
1305: [12:37:36] <ocmnt> oh wait, haskell language
1306: [12:37:44] <DimiStripe> OK, guys, thanks will try to implement now, report back if all works (or not :D )
1307: [12:37:45] <ocmnt> aren't banks run on that?
1308: [12:37:52] <ocmnt> DimiStripe, sure do :D
1309: [12:37:58] <wmk> banks run? where?
1310: [12:38:12] <ocmnt> banking software
1311: [12:38:15] <ocmnt> their systems
1312: [12:38:35] <wmk> http://phpdebugbar.com/ looks neat
1313: [12:39:43] <ocmnt> oh wait, that was kobalt
1314: [12:44:07] <kinglozzer> DimiStripe: Album::get()->filter('Member.Approved', 1) as wmk suggested should work
1315: [12:51:06] * actioussan has joined #silverstripe
1316: [12:51:10] <ocmnt> kinglozzer, isnt that actually really slow?
1317: [12:51:15] <ocmnt> since it has to check _all_ albums?
1318: [12:51:24] <kinglozzer> ocmnt: No, it does a join
1319: [12:51:35] <kinglozzer> I *think*
1320: [12:51:36] <kinglozzer> :P
1321: [12:51:37] <ocmnt> haha
1322: [12:51:45] <kinglozzer> (at least, it does for many_many)
1323: [12:51:48] <ocmnt> so it does what I sugges by itself
1324: [12:51:48] <ocmnt> ?
1325: [12:51:56] <ocmnt> getting the approved members before finding the corresponding albums?
1326: [12:52:57] <kinglozzer> ocmnt: I dunno, I assume it just does it in one db query via a join
1327: [12:53:17] <kinglozzer> SELECT * FROM Albums WHERE Member.Approved = 1 LEFT JOIN Albums ON Albums.MemberID = Member.ID
1328: [12:53:18] <kinglozzer> Or something
1329: [12:54:31] <kinglozzer> *left join members
1330: [12:54:33] <kinglozzer> but whatever :P
1331: [12:54:50] <ocmnt> haha
1332: [12:55:21] <DimiStripe> Hmm, its is weird
1333: [12:55:48] <DimiStripe> but when doing filter('MyOwner.ProfileVisibility','Visible'), it tries to aplly join to another relation
1334: [12:56:00] <DimiStripe> http://sspaste.com/paste/show/543bc66fcbbbe
1335: [12:56:07] <DimiStripe> pasted all esential code, and error
1336: [12:57:10] <DimiStripe> is it a bug
1337: [12:57:18] <DimiStripe> or im i doing smth wrong ?
1338: [12:57:19] <DimiStripe> :)
1339: [12:58:55] <ocmnt> does photoobject has a table MyLikersID ?
1340: [13:01:06] * gelignite quit (Quit: http://bit.ly/nkczDT)
1341: [13:03:21] <DimiStripe> nope
1342: [13:03:22] <kinglozzer> DimiStripe: Looks like it _might_ be a bug, not sure. It looks like it's detecting the many_many before it detects the has_one (it should be the other way around).
1343: [13:03:26] <DimiStripe> this is many_many
1344: [13:03:33] <DimiStripe> so separate tables is created
1345: [13:03:34] <DimiStripe> PhotoObject_MyLikers
1346: [13:03:38] <kinglozzer> If you get desperate, you could just do $photos = Member::get()->filter('ProfileVisibility', 'Visible')->relation('MyPhotos');
1347: [13:03:42] <kinglozzer> Though I don't think it's as efficient
1348: [13:04:42] <kinglozzer> DimiStripe: Looks like it is a bug :(
1349: [13:05:29] <DimiStripe> kinglozzer: with "relation('MyPhotos');" still getting Unknown column 'PhotoObject.MyLikersID' in 'on clause'
1350: [13:05:42] <DimiStripe> indeed looks like a bug :(
1351: [13:06:07] <DimiStripe> OK, now where do I submit bugs for SS ?
1352: [13:06:08] <DimiStripe> :)
1353: [13:06:10] <kinglozzer> Darn. You could always to an SQLQuery manually ;)
1354: [13:06:22] <kinglozzer> DimiStripe: https://github.com/silverstripe/silverstripe-framework/issues
1355: [13:09:20] * Adesso quit (Ping timeout: 260 seconds)
1356: [13:11:09] <wmk> DimiStripe, what filter did you use for the quiery?
1357: [13:11:25] <wmk> can you paste the ->filter() please?
1358: [13:11:45] <DimiStripe> filter('MyOwner.ProfileVisibility','Visible')
1359: [13:11:51] <DimiStripe> also tried with array
1360: [13:12:03] <kinglozzer> wmk: It looks like a bug with DataQuery::applyRelation and DataObject::getReverseAssociation
1361: [13:12:27] <wmk> as MyLikes is a many_many you'll have to use ExactMatchFilter ???
1362: [13:12:52] <kinglozzer> wmk: ExactMatchFilter is the default
1363: [13:13:08] <wmk> hmm..
1364: [13:13:09] <DimiStripe> filter(array('MyOwner.ProfileVisibility:ExactMatch'=>'Matomas'))
1365: [13:13:32] <DimiStripe> I don't need MyLikes at all
1366: [13:13:38] <wmk> DimiStripe, something like that, yup.
1367: [13:13:46] <DimiStripe> doesnt work as well
1368: [13:13:47] <DimiStripe> :)
1369: [13:14:02] <wmk> hmm, filter many_many is a pita
1370: [13:14:27] * ThePeach quit (Ping timeout: 245 seconds)
1371: [13:14:34] <wmk> ehem...
1372: [13:14:45] <wmk> did you do belongs_many_many in Member???
1373: [13:14:56] <kinglozzer> DimiStripe: I'm certain it's a bug, I think the only way you'll be able to do it is loop over them yourself, or build your own query manualky
1374: [13:14:57] <wmk> the counterpart for MyLikers at the Member site
1375: [13:15:01] * Adesso has joined #silverstripe
1376: [13:15:04] <DimiStripe> yep
1377: [13:15:05] <DimiStripe> http://sspaste.com/paste/show/543bc66fcbbbe
1378: [13:15:09] <DimiStripe> heres all definitions
1379: [13:15:43] <DimiStripe> togetehr with line im trying to get those, and error
1380: [13:16:13] * ThePeach has joined #silverstripe
1381: [13:16:16] <wmk> it's cause you have a has_many and a belongs_many_many member ->photoobj
1382: [13:16:42] <kinglozzer> wmk: Yeah but that should be fine
1383: [13:17:05] <kinglozzer> One is to tie a member to which photos they own, the other is to track likes between any member and any photo
1384: [13:19:16] <DimiStripe> yep, but it looks like it reacts to many_many instead of has_one
1385: [13:19:22] <DimiStripe> grabs the other relation
1386: [13:20:10] <kinglozzer> DimiStripe: Yeah, that's what I think the bug is
1387: [13:20:41] <kinglozzer> DataQuery::applyRelation does has_one, then has_many, then many_many. But DataObject::getReverseAssociation does the opposite
1388: [13:21:13] <DimiStripe> So, no quick fix ? should i go into manual SQL ?
1389: [13:21:17] <DimiStripe> :)
1390: [13:21:19] * Error404NotFound has joined #silverstripe
1391: [13:21:20] <wmk> weird but sometimes you have to use FooID instead of Foo when doing queries. could you try ->filter (array('MyOwnerID.Profile....) ??
1392: [13:22:09] <DimiStripe> nope. didnt work
1393: [13:22:10] <DimiStripe> Unknown column 'MyOwnerID.ProfileVisibility' in 'where clause'
1394: [13:22:11] <DimiStripe> :)
1395: [13:22:15] <wmk> ok.
1396: [13:22:19] <wmk> was just a guess
1397: [13:22:43] <wmk> does it work when you disable the many_many part? so just a has_one ?
1398: [13:23:03] <wmk> i mean the general query, not the try with ID
1399: [13:23:07] <DimiStripe> its always like that ... in 2.4 I was alway using PLain SQL to get fater results , in 3.1 decided to stick to proper code... and getting errors :D
1400: [13:23:16] <DimiStripe> hold on will try
1401: [13:23:22] <wmk> i know how you feel.
1402: [13:23:30] <wmk> with 3.2 you should only use ORM
1403: [13:26:54] <DimiStripe> yep works fine without the other relation
1404: [13:27:28] <wmk> so a bug when having more relations to the same object, though they have different names
1405: [13:28:31] <DimiStripe> looks like it
1406: [13:28:38] <kinglozzer> DimiStripe: Report it on Github :)
1407: [13:28:50] <kinglozzer> The code behind it has been around since 2008 O.o
1408: [13:34:35] <wmk> hmm, stackoverflow has no "signup using github" ?? damn
1409: [13:34:42] * Azure quit (Quit: My MBP went to sleep.)
1410: [13:37:39] <Pyhachek> DimiStripe: Albums::get()->leftJoin('Member ON Member.ID = ...')->filter(['Approved' => true])
1411: [13:38:04] * NETim has joined #silverstripe
1412: [13:38:14] <Pyhachek> ... if kinglozzer's suggestion of Member.Approved = 1 does not work.
1413: [13:39:20] <NETim> morning. Anyone good with Sake?
1414: [13:39:47] <Pyhachek> mebbe
1415: [13:39:49] <kinglozzer> FFS
1416: [13:39:54] <kinglozzer> There ^^ pro ;)
1417: [13:39:57] <Pyhachek> also it's 20 to 3 in the afternoon
1418: [13:40:00] <NETim> well, perhaps I have a problem you might like.
1419: [13:40:05] <kinglozzer> Pyhachek: What time is it?
1420: [13:40:10] <Pyhachek> probably not, but shoot
1421: [13:40:11] <NETim> hammer time?
1422: [13:40:25] <kinglozzer> Nap time!
1423: [13:40:26] <Pyhachek> My name is not Mr. Wolfe, I shall not answer.
1424: [13:40:31] <Pyhachek> kinglozzer: OH, zzzz time!
1425: [13:40:36] <Pyhachek> bl2u
1426: [13:40:38] <DimiStripe> Pyhachek: Missing argument 2 for DataList::leftJoin()
1427: [13:40:45] <NETim> Pyhachek, sake seems to be getting redirected to admin/login when run from root cron,
1428: [13:40:46] <Pyhachek> DimiStripe: check api docs then
1429: [13:40:56] <Pyhachek> NETim: LOL
1430: [13:41:23] <NETim> laughing at my question or my clock reference?
1431: [13:41:37] <Pyhachek> well you didn't ask a question yet, but lol at your statement.
1432: [13:41:46] <NETim> Pyhachek, sake seems to be getting redirected to admin/login when run from root cron
1433: [13:41:53] <NETim> ^ a question (ish)^
1434: [13:42:01] <Pyhachek> I dunno how to break it to you... but no, it's not.
1435: [13:42:04] <Pyhachek> ;P
1436: [13:42:10] <NETim> shall I add a question mark?
1437: [13:42:18] <kinglozzer> "sake seems to be getting redirected to admin/login when run from root cron, how much does a cow weigh?"
1438: [13:42:22] <Pyhachek> well that won't fix it's phrasing.
1439: [13:42:37] <NETim> thanks, fair points.
1440: [13:42:40] <Pyhachek> "... , do you have any idea why this might be?"
1441: [13:42:41] <Pyhachek> is
1442: [13:42:47] <Pyhachek> but ini file
1443: [13:42:48] <Pyhachek> at a guess
1444: [13:42:50] <Pyhachek> idk
1445: [13:42:53] <Pyhachek> try it and see.
1446: [13:43:01] <DimiStripe> ha
1447: [13:43:04] <DimiStripe> it works !
1448: [13:43:05] <DimiStripe> :)
1449: [13:43:10] <NETim> Is there any reason that sake would need to log in? my understanding was that it shouldn't if it is run as root.
1450: [13:43:12] * abitran quit (Quit: Lost terminal)
1451: [13:43:16] <kinglozzer> (don't worry NETim, we're only joking) :P
1452: [13:43:16] <Pyhachek> also make sure it's not magicing up something stupid like curl localhost/lolwtf
1453: [13:43:19] <DimiStripe> return PhotoObject::get()->leftJoin('Member','Member.ID = PhotoObject.MyOwnerID')->filter(array('ProfileVisibility' => 'Visible'))->sort("LikeCount", 'DESC')->Limit($num);
1454: [13:43:33] <kinglozzer> NETim: Sake should need a login full stop. Regardless of root
1455: [13:43:36] <kinglozzer> shouldn't*
1456: [13:43:37] <Pyhachek> NETim: my understanding is that it shouldn't ever.
1457: [13:43:42] <NETim> Thought so.
1458: [13:43:43] <Pyhachek> being commandline and all
1459: [13:43:49] * muskie9 has joined #silverstripe
1460: [13:43:52] <DimiStripe> Pyhachek: Thanks mate, good solution :)
1461: [13:43:58] <NETim> cron is emailing me the URL it is redirecting to and it's definitely admin/login
1462: [13:44:17] <NETim> public_html/Security/login?BackURL=%2F%2Fpublic_html%2Fflush%3Dall
1463: [13:44:21] <kinglozzer> NETim: $_FILE_TO_URL_MAPPING set up?
1464: [13:44:25] <kinglozzer> What's the task you're trying to run?
1465: [13:44:28] <Pyhachek> NETim: does any of your own code redirect?
1466: [13:44:31] <NETim> yep.
1467: [13:44:37] <Pyhachek> DimiStripe: glad it works :)
1468: [13:44:37] <NETim> yep to 1, no to 2
1469: [13:44:50] <NETim> the task is just a flush.
1470: [13:44:53] <Pyhachek> DimiStripe: but that doesn't look like a many_many
1471: [13:44:57] <Pyhachek> NETim: hmm
1472: [13:45:03] <kinglozzer> NETim: So it's just a curl request to http://mysite.com?flush
1473: [13:45:03] <kinglozzer> ?
1474: [13:45:06] <Pyhachek> interesting, might be something to do with flush tokens
1475: [13:45:07] * jeroenem has joined #silverstripe
1476: [13:45:14] <Pyhachek> kinglozzer: well, shouldn't curl anything.
1477: [13:45:18] <NETim> We have an importer that changes images and the cron then runs flush=all (or should) but fails.
1478: [13:45:27] <kinglozzer> oshit yeah, you can just do sake flush=1
1479: [13:45:29] <Pyhachek> but I haven't looked at sake recently to see if it falls back to something stupid like that
1480: [13:45:29] <kinglozzer> forgot dat
1481: [13:46:01] <NETim> Don't think we have sake installed locally on the server, using cli_script.php (that might make a difference).
1482: [13:46:05] <jeroenem> hey guys, is there some standard module available for "page rating"? For the use on FAQ pages. Like: Was this page helpful? o Yes o No
1483: [13:46:23] <jeroenem> or does anyone have a best practice for some kind of form like this?
1484: [13:46:44] <DimiStripe> Pyhachek: it is NOT a many_many - i need a has_one . many_many is the relation that is getting automatically when trying to work with has_one
1485: [13:46:46] <NETim> kinglozzer, nope, not curl: public_html/framework/cli-script.php flush=all
1486: [13:47:41] * stephanvd_ has joined #silverstripe
1487: [13:48:04] <kinglozzer> NETim: Yeah that should be fine..
1488: [13:48:19] <kinglozzer> NETim: Wait, isn't it "sake dev flush=1"?
1489: [13:48:33] <kinglozzer> Try public_html/framework/cli-script.php dev flush=1
1490: [13:48:36] <Pyhachek> DimiStripe: ah. I thought you had a many_many - it's the same thing but with an extra join in it anyway :)
1491: [13:48:40] <Pyhachek> in case you ever need that.
1492: [13:48:58] <DimiStripe> ok, thanks again
1493: [13:49:13] * Error404NotFound quit (Ping timeout: 244 seconds)
1494: [13:49:20] <Pyhachek> NETim: sake sets up some variables before calling... it could be to do with it... although unlikely.
1495: [13:49:40] * Error404NotFound has joined #silverstripe
1496: [13:49:48] <Pyhachek> sake is basically an environment sanitiser
1497: [13:49:51] <Pyhachek> or something like that
1498: [13:49:56] <muskie9> jeroenem you could do something similar to the browser poll form in the tutorials: http://doc.silverstripe.org/framework/en/tutorials/3-forms
1499: [13:50:11] <NETim> hm, will try that. just going to set stuff on the cron and repeatedly be a few seconds behind real time. (I hate cron)
1500: [13:51:45] * stephanvd quit (Ping timeout: 272 seconds)
1501: [13:52:39] <Pyhachek> kinglozzer: so far as I understand the flush token checks token, dev, and cli
1502: [13:52:42] <Pyhachek> but could be wrong.
1503: [13:52:57] <kinglozzer> Pyhachek: Nah that should be skipped on cli
1504: [13:53:05] <Pyhachek> kinglozzer: yeah that's what I mean
1505: [13:53:13] <jeroenem> muskie9: yes, i guess i will just stick to a form on each page
1506: [13:53:20] <Pyhachek> auth passes through if token is set or correct, or is dev, or is cli
1507: [13:53:41] <Pyhachek> jeroenem: well, you only need 1 page type.
1508: [13:53:52] <Pyhachek> but yeh. You kinda need a form on each page, no matter the solution you use.
1509: [13:54:04] <kinglozzer> Pyhachek: The ParameterConfirmationToken stuff is never included for cli-script.php, only in main.php
1510: [13:54:09] <kinglozzer> So yeah, definitely skipped
1511: [13:54:21] <Pyhachek> kinglozzer: ah, I see what you're saying.
1512: [13:54:51] <muskie9> jeroenem, I've never used this module, but there is rateable: http://addons.silverstripe.org/add-ons/sheadawson/silverstripe-rateable
1513: [13:54:58] <kinglozzer> Damn that API is a mess :P
1514: [13:55:10] <jeroenem> Pyhachek: yes, or i could use some sort of a URL - but thats too easy to flood
1515: [13:56:02] <jeroenem> anyway, i will stick to a form on my FAQPage type which will do the job
1516: [13:56:23] <jeroenem> allows me to add a textarea field when a user hits No (not helpful)
1517: [13:56:33] <NETim> Right, kinglozzer and Pyhachek, that didn't work. Any more ideas?
1518: [13:57:12] <Pyhachek> NETim: tickle it's special place?
1519: [13:57:30] <NETim> um, I think I'll pass this time.
1520: [13:58:26] <NETim> The really weird thing is that it runs fine if I run it through the shell.
1521: [14:00:16] <Pyhachek> ha!
1522: [14:00:20] <Pyhachek> check your cron then.
1523: [14:00:56] <NETim> Am doing. Now playing with it's PHP call.
1524: [14:01:02] <Pyhachek> are you running the command as absolute path?
1525: [14:01:08] <NETim> yep.
1526: [14:01:12] <Pyhachek> odd.
1527: [14:01:20] <NETim> yep.
1528: [14:02:14] <Pyhachek> odd.
1529: [14:16:45] * DimiStripe quit (Quit: Page closed)
1530: [14:23:48] * actioussan quit (Quit: Verlassend)
1531: [14:32:56] * stephanvd_ quit (Remote host closed the connection)
1532: [14:33:32] * stephanvd_ has joined #silverstripe
1533: [14:46:44] <wmk> grunt + livereload is really cool
1534: [14:47:37] <NETim> Pyhachek, fastcgi. Fixed it.
1535: [14:53:29] * Adesso quit (Quit: EOD)
1536: [15:02:38] * Fuxo has joined #silverstripe
1537: [15:04:46] * Robke quit (Ping timeout: 246 seconds)
1538: [15:06:48] * Fuxo quit (Client Quit)
1539: [15:09:43] * Fuxo has joined #silverstripe
1540: [15:10:35] * Fuxo quit (Read error: Connection reset by peer)
1541: [15:11:53] <wmk> is there a way to include a template only in live mode?
1542: [15:12:37] * Fuxo has joined #silverstripe
1543: [15:23:02] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
1544: [15:23:48] <muskie9> wmk, custom getter to check Director::isLive()?
1545: [15:24:19] <wmk> hmm, a possibility...
1546: [15:25:25] * ss31noob quit (Ping timeout: 246 seconds)
1547: [15:27:40] * ARNHOE quit ()
1548: [15:33:01] * stephanvd_ quit (Quit: Computer has gone to sleep.)
1549: [15:36:16] <elgrodo> wmk: Code sample, it's pretty easy http://sspaste.com/paste/show/543bec398b7d9
1550: [15:36:24] <elgrodo> regarding live/dev
1551: [15:36:57] <wmk> elgrodo, i know...
1552: [15:37:28] <Pyhachek> NETim: so what caused it?
1553: [15:37:43] <wmk> i wanted to include my piwik log stuff only on live server. i guess i'll write a little controller extension, so i can config some stuff in config.yml
1554: [15:38:48] <Pyhachek> wmk: if it's a script include, use php for requirements
1555: [15:38:59] <Pyhachek> OR, see if there's a template exposed isDev or something
1556: [15:39:01] <Pyhachek> isLive
1557: [15:39:16] <wmk> i was looking for the latter, but didn't find it.
1558: [15:39:23] <Pyhachek> if not, you could easily add one with template_global_provider, if need be.
1559: [15:39:31] <Pyhachek> or whatever that thing is.
1560: [15:39:35] <Pyhachek> thing/interface
1561: [15:40:17] <wmk> jup. but thinking about it... a little php logic with grabbing some params from yml is a slightly better approach
1562: [15:41:49] <elgrodo> wmk: I use it to switch between original source dev javascript files and those combined and compressed with uglify
1563: [15:42:29] <wmk> elgrodo, sounds good. do you use grunt for the uglifying task?
1564: [15:42:29] <Pyhachek> elgrodo: but... combine files does that (minifying) for you, and switches back to uncombined when in dev.
1565: [15:42:58] <wmk> Pyhachek, true
1566: [15:43:01] <Pyhachek> elgrodo: I don't quite understand why people use external tools... I assume because they do a better job?
1567: [15:43:12] <Pyhachek> or provide some degree of freedom that combine files doesn't or something?
1568: [15:43:18] <wmk> well....
1569: [15:43:30] <Pyhachek> I was wondering this while we were talking about it on Saturday at SSEU wmk
1570: [15:43:30] <wmk> one thing i don't like: you cannot combine files in templates
1571: [15:43:42] <Pyhachek> wmk: hmm, this is true I guess.
1572: [15:43:55] <wmk> though i like combinedfiles i tend to define javascript requirements in templates now
1573: [15:44:03] <Pyhachek> as do I.
1574: [15:44:11] <wmk> so you can easily overwrite it in your theme withouth calling block
1575: [15:44:19] <wmk> just make a template in your theme
1576: [15:44:24] <Pyhachek> but admittedly ususally I do not have too many, and I don't care that there are 3 libraries instead of 1
1577: [15:44:35] <Pyhachek> I don't think it slows down load that much, never bothered to do anything else.
1578: [15:44:53] <wmk> maybe a js loader is a better approach if you have more files to load
1579: [15:45:30] <Pyhachek> wmk: interestingly, originally (although seldom used, especially in core) you could pass a name identifier to the requirements call, so instead of having to block a path, you could block('jquery') for example (although this never works in core as mentioned).
1580: [15:45:43] <Pyhachek> I find that it's nice to set things up that way so blocking/overriding becomes easier.
1581: [15:45:45] <Pyhachek> where possible.
1582: [15:46:03] <wmk> you can block in template, yes
1583: [15:46:10] <wmk> but it feels a bit hmm...
1584: [15:46:28] <Pyhachek> I _always_ include the second parameter (name) when using customScript() for this reason (otherwise I cannot block, not very extensible in the case I need to in future!)
1585: [15:46:39] <Pyhachek> which actually did come to aid at least once in my old job
1586: [15:47:02] <wmk> nice tip #for custom script
1587: [15:48:47] <Pyhachek> http://api.silverstripe.org/3.1/class-Requirements.html#_customScript
1588: [15:49:07] <Pyhachek> yes, seldom used but often needed (especially in the case of module authors!) little optional extra param
1589: [15:49:08] <elgrodo> Phyacheck: Last time I checked the combined javascript files were literally just joined together, not compressed in any kind of smart way
1590: [15:49:23] <Pyhachek> If you don't use it, the script itself becomes the key, which is horrible :<
1591: [15:49:34] <Pyhachek> elgrodo: no, they concatenate, then minify
1592: [15:49:41] <Pyhachek> or at least... should. Or did.
1593: [15:49:47] <wmk> Pyhachek, please add it to your list of "module author dos and don'ts"
1594: [15:49:51] <Pyhachek> cf. the entire requirements in 2.4 admin.
1595: [15:50:01] <Pyhachek> wmk: hmm, good idea!
1596: [15:50:11] <Pyhachek> wmk: perhaps I should write a blog post hmm?
1597: [15:51:02] <Pyhachek> It can go with my last one :> http://www.silverstripe.org/blog/seeking-support-in-silverstripes-social-sphere/
1598: [15:51:23] <Pyhachek> alliteration ftw xD
1599: [15:51:35] <elgrodo> the silverstripe demo does not appear to be using combined JS, http://demo.silverstripe.org/
1600: [15:51:49] <Pyhachek> hmm, is it the same word in German? http://de.wikipedia.org/wiki/Alliteration
1601: [15:52:16] <Pyhachek> elgrodo: idk. Maybe some fool (ss23) left it in dev mode :P
1602: [15:52:56] <elgrodo> Pyhachek: /dev/build is login protected, so I guess not
1603: [15:53:00] <Pyhachek> elgrodo: also, demo.ss.org.nz/ADMIN
1604: [15:53:09] <Pyhachek> theme does not combine, you'd be right there.
1605: [15:53:14] <elgrodo> will have a look tomorrow when fresh, almost 11pm my time (Thailand)
1606: [15:53:27] <Pyhachek> but that's in the domain of the author. And since it's a theme, it doesn't support combining
1607: [15:53:33] <Pyhachek> elgrodo: I know where you live ;)
1608: [15:53:53] <Pyhachek> and that you're from dunners.
1609: [15:53:57] <elgrodo> must stop publishing RunKeeper/MayMyRide bike rides
1610: [15:54:07] <Pyhachek> xD
1611: [15:54:12] <elgrodo> stalker!
1612: [15:54:16] <elgrodo> :-P
1613: [15:54:19] * Pyhachek things elgrodo may recoginse him as Pyromanik a bit better.
1614: [15:54:28] <elgrodo> ah that helps :)
1615: [15:54:35] <Pyhachek> I moved to the UK.
1616: [15:54:56] <elgrodo> so you will have about 5 hrs of daylight right now?
1617: [15:54:57] <Pyhachek> and I'm at work, and there was no ssl, so I didn't want to auth, so it's PysomethingsomethingsomethingwhateverIfeellikeonthedayk
1618: [15:55:00] <Pyhachek> now
1619: [15:55:13] <elgrodo> noted :)
1620: [15:55:22] <Pyhachek> always starts and ends the same ;)
1621: [15:55:30] * ocmnt quit (Quit: Ik ga weg)
1622: [15:56:19] <Pyhachek> elgrodo: http://demo.silverstripe.org/assets/_combinedfiles/lib.js?m=1413212485
1623: [15:56:33] <Pyhachek> is the /admin js include (libraries)
1624: [15:58:00] <Pyhachek> https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/controllers/CMSMain.php#L72
1625: [15:58:57] <Pyhachek> well, actually this one, but the same happens above for cms requirements https://github.com/silverstripe/silverstripe-framework/blob/3.1/admin/code/LeftAndMain.php#L307
1626: [15:59:36] <Pyhachek> although combine files (afaik, could be wrong) does not minify css.
1627: [15:59:54] <Pyhachek> but really... it's css. Whoopty woo :< If you're running sass then it should minfy in its own task anyway
1628: [16:00:48] <Pyhachek> then again, I dunno how good the minifier tool that SS uses is, so yeah.
1629: [16:00:51] * Pyhachek shrugs
1630: [16:01:01] <Pyhachek> was more one of those 'I wonder' and 'just saying' things
1631: [16:01:27] * jeroenem quit (Quit: Page closed)
1632: [16:02:14] <elgrodo> -rw-rw-r-- 1 gordon gordon 752K Oct 13 22:01 lib.js
1633: [16:02:15] <elgrodo> -rw-rw-r-- 1 gordon gordon 586K Oct 13 23:01 libug.js
1634: [16:02:58] <elgrodo> Phyachek: Latter is scrunched versin of the combined files link using a 2 year old version of uglifyjs. Maybe I should update that :)
1635: [16:12:09] <wmk> this javascriptTemplate stuff doesn't seem to be used
1636: [16:14:05] <kinglozzer> homey homey homey time
1637: [16:14:09] <kinglozzer> ciao
1638: [16:14:15] <kinglozzer> <3
1639: [16:14:17] * kinglozzer quit ()
1640: [16:17:17] * stnvh quit ()
1641: [16:17:22] <Pyhachek> elgrodo: interesting. I wonder if there are any other good PHP libs for minifying.
1642: [16:17:34] <Pyhachek> libsass would be good to integrate too I think.
1643: [16:18:04] <Pyhachek> since everyone and their dog goes all rabies mouth over it these days
1644: [16:18:15] <Pyhachek> but... eh 8shrug*
1645: [16:18:18] <Pyhachek> *
1646: [16:18:22] * Azure has joined #silverstripe
1647: [16:19:39] <elgrodo> I was using it likes of 4 or 5 years back
1648: [16:20:12] <elgrodo> PS I didn't actually test if the shrunken JS actually worked :) But it does suggest wiggleroom
1649: [16:21:54] * jenniferaslan has joined #silverstripe
1650: [16:22:33] <Pyhachek> no reason it wouldn't though, right?
1651: [16:23:09] <elgrodo> always a slight chance, but uglify has been 100% reliable for me
1652: [16:23:42] <elgrodo> previous one I used, I think yahoo based, had issues with some code wrt to odd but legal semicolon usage
1653: [16:24:51] <Pyhachek> hmm.
1654: [16:25:00] <Pyhachek> anyway, hometime!
1655: [16:25:01] * Pyhachek quit ()
1656: [16:29:40] * Otterpocket quit (Quit: WeeChat 0.4.1)
1657: [16:58:28] * wmk quit (Read error: Connection reset by peer)
1658: [17:01:29] * jrthomer quit (Quit: Leaving...)
1659: [17:04:42] * muskie9 is now known as _muskie9_
1660: [17:05:43] * jrthomer has joined #silverstripe
1661: [17:07:34] * catcher has joined #silverstripe
1662: [17:11:21] * stephanvd_ has joined #silverstripe
1663: [17:12:25] * stephanvd_ quit (Client Quit)
1664: [17:14:20] * stephanvd_ has joined #silverstripe
1665: [17:15:30] * stephanvd_ quit (Client Quit)
1666: [17:15:37] * ThePeach quit (Quit: leaving)
1667: [17:21:08] * Fuxo quit (Read error: Connection reset by peer)
1668: [17:46:44] * Fuxo has joined #silverstripe
1669: [17:47:28] * Fuxo quit (Client Quit)
1670: [17:48:02] * Fuxo has joined #silverstripe
1671: [18:03:55] * _muskie9_ is now known as muskie9
1672: [18:26:24] * Liongold has joined #silverstripe
1673: [18:26:43] <Liongold> Hi. Can someone help me with Weekly Tasks in Silverstripe, please?
1674: [18:29:21] <catcher> Liongold, your best bet will be to ask a specific question
1675: [18:30:33] <Liongold> catcher: I have done a class extending WeeklyTask. How can I run it as a cron job? There does not seem to be any documentation about this.
1676: [18:39:40] <catcher> Liongold, cron jobs are OS things, not SilverStripe things. You just need to add a cron entry to execute the WeeklyTask action once a week.
1677: [18:39:46] <catcher> http://api.silverstripe.org/3.0/class-ScheduledTask.html
1678: [18:44:57] <Liongold> catcher: Thanks for that link. So, if I want I can run my function only?
1679: [18:46:24] <catcher> Liongold, sure. If you create a cronjob to execute the WeeklyTask action, I'm guessing it'll run all WeeklyTask extensions.
1680: [18:46:51] <catcher> As long as there aren't others in your code base, it should only execute the one you created.
1681: [18:47:43] <Liongold> catcher: Thanks a lot.
1682: [18:48:01] <catcher> Liongold, np
1683: [18:48:53] <Liongold> catcher: Bye
1684: [18:49:58] * Liongold has left #silverstripe
1685: [19:03:47] * antmas quit (Quit: Page closed)
1686: [19:04:25] * Kingy[a] is now known as Kingy
1687: [19:11:11] * Stomach has joined #silverstripe
1688: [19:22:23] * Liongold has joined #silverstripe
1689: [19:22:34] <Liongold> catcher: Can you help me again, please?
1690: [19:23:03] <Liongold> I am getting errors in the terminal
1691: [19:25:42] * Liongold has left #silverstripe
1692: [19:29:24] * simon__w has joined #silverstripe
1693: [19:32:51] * simon_w quit (Ping timeout: 246 seconds)
1694: [19:54:54] * kinglozzer has joined #silverstripe
1695: [20:00:51] * Guits has joined #silverstripe
1696: [20:01:11] * timezone quit (Changing host)
1697: [20:01:11] * timezone has joined #silverstripe
1698: [20:02:07] <Guits> How can i create a Author role (someone who can create and edit content, but not publish) as mentioned here https://www.google.se/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCIQFjAA&url=http%3A%2F%2Fuserhelp.silverstripe.org%2Fframework%2Fen%2Ffor-website-administrators%2Fmanaging-roles-and-permissions&ei=VC88VN7KJIrWygOzqoGgCw&usg=AFQjCNFEn6pO-kHP5pYyLMiptDpul0AvkQ&sig2=cvGzaOWEkM8MjivN57vptg
1699: [20:02:29] <Guits> ..sorry : here http://userhelp.silverstripe.org/framework/en/for-website-administrators/managing-roles-and-permissions
1700: [20:10:01] <muskie9> you need to implement PermissionProvider on the class you want to apply a roll to... http://doc.silverstripe.org/framework/en/reference/permission#permissionprovider
1701: [20:10:24] * glenn-bautista has joined #silverstripe
1702: [20:10:35] <muskie9> PermissionProvider would add the checkbox to the Security section
1703: [20:12:09] <Fuxo> I need a google sitemap module and there are several to choose from, which one do you guys recommend?
1704: [20:12:42] <muskie9> https://github.com/silverstripe-labs/silverstripe-googlesitemaps
1705: [20:13:02] * UncleCheese has joined #silverstripe
1706: [20:13:14] * willr has joined #silverstripe
1707: [20:13:46] <Fuxo> muskie9, thanks
1708: [20:13:53] <muskie9> sure
1709: [20:14:59] * nickmolhoek has joined #silverstripe
1710: [20:15:01] <kinglozzer> Guits: The only way I know of allowing one user to save draft content and another user to approve it is the workflow module: https://github.com/silverstripe-australia/advancedworkflow
1711: [20:15:19] <kinglozzer> There may be an easier way, just not that I'm aware of!
1712: [20:15:53] <Kingy> Yep, workflow would be my suggestion
1713: [20:16:26] <Guits> Ok.. maybe it should be clarified in userdocs
1714: [20:16:37] <Guits> ..another thing on http://userhelp.silverstripe.org/framework/en/for-website-administrators/managing-roles-and-permissions
1715: [20:16:52] <Guits> .. Learn how to restrict access by IP address
1716: [20:17:07] <Guits> no word about that either
1717: [20:17:40] <Kingy> no reason why you can't create/extend a module to do that ;)
1718: [20:17:45] <willr> Guits restrict by IP is a module FYI https://github.com/dnadesign/silverstripe-adminlogin
1719: [20:17:58] <kinglozzer> Yeah, the docs are being overhauled Guits :)
1720: [20:17:58] <Kingy> or that..
1721: [20:18:10] <willr> part of that one. You can opt out of the custom login page if you want. I just use that for IP restriction
1722: [20:20:47] <Fuxo> is there anyone experienced with managing layouts in the cms htmlfield? my latest site uses bootstrap 3.2
1723: [20:21:09] <Fuxo> I just need basic stuff like 2 column layouts etc
1724: [20:21:48] <Fuxo> the client is not going to write html for that
1725: [20:22:33] * kinglozzer quit (Remote host closed the connection)
1726: [20:22:55] * kinglozzer has joined #silverstripe
1727: [20:23:28] * micmania1 has joined #silverstripe
1728: [20:28:11] * antmas has joined #silverstripe
1729: [20:28:15] * camfindlay has joined #silverstripe
1730: [20:28:33] <adrexia> Fuxo you can either supply a tinymce template, or have multiple htmlfields
1731: [20:29:45] <antmas> morning all
1732: [20:29:48] <adrexia> or you could use amodule like https://github.com/burnbright/silverstripe-gridstructuredcontent
1733: [20:29:59] <adrexia> though its likely a bit technical for most
1734: [20:32:49] <Kingy> hey antmas
1735: [20:40:19] <Fuxo> adrexia, thanks
1736: [20:42:03] <Fuxo> I will try to create one based on this: http://neokoenig.github.io/jQuery-gridmanager/docs/
1737: [20:43:13] <Fuxo> I don't really like the idea of using content "blocks", that is not suitable for clients
1738: [20:43:32] * adrexia nods
1739: [20:43:39] <Fuxo> and I don't think that it would play nicely with versioned content
1740: [20:44:00] <adrexia> that option might be overkill for a simple two column layout, but let us know how you get along.
1741: [20:44:17] <Fuxo> I would prefer something that would provide an "editor" and stored content normally as a html text
1742: [20:44:38] * adrexia nods
1743: [20:45:21] <adrexia> this does that too. only downside it that the user has to be a bit careful not to delete bits: http://www.tinymce.com/wiki.php/Configuration:templates
1744: [20:45:43] <adrexia> oh, and that it is display markup stored in the database
1745: [20:46:49] <Fuxo> adrexia, thanks I will check all the possibilities
1746: [20:46:51] <adrexia> Fuxo - if you are willing to invest the time in it, which it seems you are, you could probably use silverstripe-gridstructuredcontent and put a nice user interface overtop
1747: [20:47:18] <kinglozzer> lol simon__w
1748: [20:47:19] <adrexia> it has a good solid foundation on how to store and render grids
1749: [20:48:22] <simon__w> kinglozzer, is a very common problem with SilverStripe developers
1750: [20:48:38] * simon__w is now known as simon_w
1751: [20:48:46] <Fuxo> yes, will definitely check that one out
1752: [20:49:29] <Fuxo> the era of table layout is definitely gone
1753: [20:50:59] * simon_w slowly morphs into simon_w|work
1754: [20:51:13] <Fuxo> I mean I never used tables for layout in templates, but clients were 'forced' to do that in the cms
1755: [20:51:27] <Fuxo> and that does not play well with responsive layouts
1756: [20:52:53] <adrexia> agree
1757: [20:53:16] <adrexia> I have used the template solution before. It was surprisingly easy to implement.
1758: [20:53:46] <adrexia> The main thing was making the outlines of the grid visible in the cms soi that the user would know if they accidentally deleted something
1759: [20:54:45] <adrexia> it would be better if it worked a little more like how inserting tables worked. So not the perfect solution, but quick, easy to implement, and highly flexible
1760: [20:55:30] <Fuxo> agree
1761: [20:56:07] <Fuxo> oh, that googlesitemaps module doesn't understand versioned dataobjects
1762: [20:56:11] <kinglozzer> adrexia: Thanks for that link, I had no idea that existed!
1763: [20:57:07] <adrexia> kinglozzer, no problem. there's a world of very cool silverstripe modules out there. :)
1764: [20:59:12] <adrexia> Fuxo, maybe log an issue on that. There didn't seem to be one.
1765: [21:13:18] * Colin[pi] has joined #silverstripe
1766: [21:19:21] * camfindlay quit (Quit: camfindlay)
1767: [21:20:19] <Colin[pi]> simon_w: http://www.speedtest.net/result/3829718902.png
1768: [21:20:25] <Colin[pi]> JEALOUS?
1769: [21:21:09] <Stomach> 40ms ping!
1770: [21:21:13] <Stomach> time for some gaming
1771: [21:21:26] <Colin[pi]> my fucking internet
1772: [21:21:28] <Colin[pi]> so shit
1773: [21:26:13] * camfindlay has joined #silverstripe
1774: [21:28:01] * catcher quit (Quit: Leaving)
1775: [21:32:15] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1776: [21:34:35] <adrexia> http://blog.andrewray.me/reactjs-for-stupid-people/
1777: [21:35:13] <Colin[pi]> ooh ooh, I'm stupid people!
1778: [21:35:20] * adrexia lols
1779: [21:41:22] <Stomach> that article is pretty condescending at points :D
1780: [21:41:48] <ss23> Well it is written by someone who uses (and presumably likes on some levels) reactjs
1781: [21:41:53] <adrexia> depends how you are reading it
1782: [21:42:12] <adrexia> I didn't find it condescending at all
1783: [21:42:55] <adrexia> since its basically written for people like the author, who appears to be calling himself stupid
1784: [21:43:13] <adrexia> ss23 - it was nicely unbiased
1785: [21:43:44] <adrexia> I didn't cvome out of of it thinking reacvt was the best thing since sliced bread. I came out thinking that maybe in 2 years time it would be worth using
1786: [21:45:18] * Colin[pi]-2 has joined #silverstripe
1787: [21:46:08] * Colin[pi] quit (Ping timeout: 272 seconds)
1788: [21:49:31] * irogue_ has joined #silverstripe
1789: [21:50:50] * Kingy is now known as Kingy[a]
1790: [21:51:33] * muskie9 has joined #silverstripe
1791: [21:53:47] <ss23> adrexia: the joke is that people who use javascript are subhuman scum
1792: [21:55:44] <UncleCheese> it's Tuesday at 10:55AM, so you know what that means
1793: [21:55:51] <UncleCheese> it's time for our weekly community challenge!
1794: [21:55:55] <ss23> o.o
1795: [21:55:57] <ss23> Scary
1796: [21:56:06] <UncleCheese> please provide the worst use cases for the subsites module you can think of
1797: [21:56:15] <ss23> Is it going to be like "which silverstripe employee can be mean to the most people in #silverstripe"? cause I totally win
1798: [21:56:26] <UncleCheese> was there ever a question?
1799: [21:56:35] <ss23> I'd prefer an official reward for it...
1800: [21:56:44] <ss23> UncleCheese: For me, it's just shoving many wildly different sites into the same codebase
1801: [21:56:47] <UncleCheese> yes
1802: [21:56:55] <ss23> You end up having to do crazy hax in the code to make it support all the different sites that aren't even close to being related
1803: [21:56:58] <UncleCheese> like.. my gun store and my wife's pottery gallery
1804: [21:57:10] <ss23> well, it's not too bad with simple sites
1805: [21:57:12] <UncleCheese> i need concrete examples like this ^^
1806: [21:57:24] <ss23> I don't really have concrete examples :O
1807: [21:57:28] <UncleCheese> ok
1808: [21:57:32] <UncleCheese> then you lose
1809: [21:57:35] <irogue_> I'm sure spronk would answer that question
1810: [21:57:43] <madmatt> my wife's gun store and my pottery art gallery
1811: [21:57:57] <UncleCheese> adrexia what's the biggest abomination of subsites that you've seen?
1812: [21:59:45] <adrexia> subsites + static publisher + search
1813: [21:59:53] <UncleCheese> yikes
1814: [22:00:09] <adrexia> that hurt real bad
1815: [22:00:14] <UncleCheese> i reckon
1816: [22:01:31] * Kingy[a] is now known as Kingy
1817: [22:05:05] <adrexia> but really there is only one non abominational use of subsites and thats when its used for a conference or soemthing and administrated by the same people who use the rest of the cms. Where sharing a database makes sense, and security between subsites is not an issue
1818: [22:07:01] <Stomach> UncleCheese - we have some which different sites completely
1819: [22:07:06] <UncleCheese> yes
1820: [22:07:13] <UncleCheese> please tell me how big a pain in the ass it is
1821: [22:07:13] <Stomach> http://goodgroup.co.nz/ http://aikmans.co/ http://bardello.co.nz/ http://botswanabutchery.co.nz/ http://harbourside.co/
1822: [22:07:23] <Stomach> thats one CMS
1823: [22:07:55] <UncleCheese> so in the cms you have to choose whether you want a GoodGroupHomePage, AikmansHomePage, BardelloPage, BotswanaButcheryPage, etc.
1824: [22:08:10] <UncleCheese> botswana butchery rocks my world, btw
1825: [22:08:49] <UncleCheese> adrexia that's the point i'm trying to get across, but sig isn't keen on revealing that there are security issues in subsites
1826: [22:09:17] <UncleCheese> oooh
1827: [22:09:35] <UncleCheese> subsites 2.0, with namespaces.. pair a subsite with a namespace, so each one can just have HomePage
1828: [22:09:39] <UncleCheese> who's in?
1829: [22:11:21] <Stomach> UncleCheese - nah not like that
1830: [22:11:26] <Stomach> just different themes for each subsite
1831: [22:11:30] <Stomach> so only one homepage
1832: [22:11:35] * muskie9 is now known as _muskie9_
1833: [22:11:38] <UncleCheese> ohh
1834: [22:11:48] <UncleCheese> so each one doesn't have special features that only exist on its homepage?
1835: [22:11:56] <Stomach> dont think so
1836: [22:12:18] <UncleCheese> exciting
1837: [22:12:20] <Stomach> bahahaha
1838: [22:12:21] <adrexia> UncleCheese, the security issues are actually supposed to be features of subsites
1839: [22:12:26] <Stomach> bloody join form
1840: [22:12:27] <UncleCheese> lol
1841: [22:12:30] <adrexia> you are *supposed* to share information
1842: [22:12:30] <UncleCheese> you're right, adrexia
1843: [22:13:05] <adrexia> if and when I get the chance make reusable page types and implement everything in all themes
1844: [22:13:10] <simon_w|work> Colin[pi]-2, half mine!
1845: [22:13:29] <adrexia> that produces the best user experience. everything else is a compromise
1846: [22:14:45] * hailwood has joined #silverstripe
1847: [22:15:04] <adrexia> UncleCheese, are you supposed to be talking about that publicly? :P
1848: [22:15:26] * Colin[pi] has joined #silverstripe
1849: [22:15:53] <UncleCheese> crap, i always forget this is public
1850: [22:15:58] <simon_w|work> UncleCheese, best use case for subsites I've seen is getting around the massive overcharging for CWP :p
1851: [22:16:17] <UncleCheese> see, there's an appropriate public statement
1852: [22:16:21] * kinglozzer quit ()
1853: [22:16:21] * Colin[pi]-2 quit (Ping timeout: 260 seconds)
1854: [22:16:27] <adrexia> simon_w|work, which happens to be the worst use case for subsites
1855: [22:16:37] <UncleCheese> yeah, it's a cost issue
1856: [22:16:40] <adrexia> agree
1857: [22:17:16] <UncleCheese> a lot of people think the solution is a cheaper micro-instance option
1858: [22:17:28] <adrexia> not for everyone. There has been at least one cwp site using it how its supposed to be used
1859: [22:17:31] <simon_w|work> Colin[pi], aww, my speed's gone down http://www.speedtest.net/result/3829812873.png
1860: [22:18:45] <Colin[pi]> simon_w|work: http://i.imgur.com/H90q8k1.gif
1861: [22:21:21] <antmas> Colin[pi]: that gif is epic
1862: [22:21:37] <Colin[pi]> antmas: http://i.imgur.com/4FmTwg8.gif
1863: [22:22:15] <antmas> XD
1864: [22:22:17] <antmas> amazing
1865: [22:22:24] <Colin[pi]> bilbo fucking baggins
1866: [22:22:32] <Fuxo> lol
1867: [22:24:37] <antmas> can't stop listening to that song ss23
1868: [22:24:38] <antmas> :D
1869: [22:24:45] <ss23> lol
1870: [22:24:47] <ss23> I only heard it once
1871: [22:25:58] <antmas> pretty damn good for British metal
1872: [22:26:28] <Colin[pi]> simon_w|work: my downstream attentuation is 62db :\
1873: [22:26:37] <Colin[pi]> *attenuation
1874: [22:26:39] <simon_w|work> Colin[pi], I'm at work
1875: [22:26:43] <simon_w|work> We have NBN
1876: [22:26:46] <Colin[pi]> I know :P
1877: [22:26:56] <Colin[pi]> I'm just sharing how shit my connection is
1878: [22:27:05] <Colin[pi]> tin can and string would prolly be faster
1879: [22:27:13] <simon_w|work> I only get double what you get when at home. Is sad.
1880: [22:27:17] <antmas> can't be worse than mine
1881: [22:27:27] <antmas> 10up at the best, 0.7 down :|
1882: [22:27:37] * _muskie9_ is now known as muskie9
1883: [22:27:42] <ajmitch_> simon_w|work: I'm surprised that your speed is so low for NBN
1884: [22:28:08] <Colin[pi]> ;_; http://imgur.com/o0htEZG
1885: [22:28:19] * jedateach has joined #silverstripe
1886: [22:29:42] <antmas> http://www.speedtest.net/result/3829830052.png
1887: [22:29:59] * Colin[pi] cries
1888: [22:30:04] <antmas> :P
1889: [22:30:24] <antmas> ours improved recently, was down at 70 ish, 15 ish
1890: [22:30:33] <Colin[pi]> thankfully, we have a competent government in power that believes in the future of a fast internet
1891: [22:30:35] <Colin[pi]> OH WAIT
1892: [22:31:13] <simon_w|work> Don't worry, coal is the future!
1893: [22:31:27] <antmas> lol
1894: [22:31:28] <Colin[pi]> simon_w|work: oh jesus I saw that yesty and thought it was an Onion article
1895: [22:31:54] <Colin[pi]> ARGH ITS GETTING WORSE http://www.speedtest.net/result/3829832422.png
1896: [22:31:58] <ss23> ARGH
1897: [22:32:03] <ss23> Colin[pi]: You know you can get 200/200 in NZ?
1898: [22:32:03] <ss23> :)
1899: [22:32:13] <Stomach> just found a sweet bug in SS where if you name your page 'link' and have no allowed actions defined on the class or its ancestry it changes it to 'link-2'
1900: [22:32:17] <Stomach> same for all public methods
1901: [22:32:22] <Stomach> awesome.
1902: [22:32:31] <Stomach> the urlsegment that is
1903: [22:32:33] <Colin[pi]> ss23: meanwhile i think my connection is being affected by the rain or kangaroos farting on the cable or something
1904: [22:32:50] <Kingy> Colin[pi]: that's some speedy interwebs
1905: [22:32:58] <Colin[pi]> :(
1906: [22:32:59] <antmas> http://io9.com/the-anti-vaxxers-are-spreading-ebola-conspiracy-theori-1645815265
1907: [22:33:03] <antmas> these fucking people
1908: [22:34:00] <Colin[pi]> antmas: sigh....
1909: [22:34:26] <Kingy> Colin[pi]: meanwhile at home.. http://www.speedtest.net/result/3662720553.png
1910: [22:34:40] <simon_w|work> Kingy, slooow :p
1911: [22:34:45] <simon_w|work> I had 130 down before moving
1912: [22:34:47] <antmas> slingshot is only 3 stars?
1913: [22:34:54] <antmas> simon_w|work: not anymore
1914: [22:34:56] <Kingy> antmas: that looks like 2 1/2
1915: [22:34:57] <Fuxo> that search bug in modeladmin causing double left menu is pretty annoying, any news when it's gonna be fixed?
1916: [22:34:58] <antmas> simon_w|work: no YOU ARE SLOW
1917: [22:34:59] <antmas> :D
1918: [22:36:40] * Fuxo quit (Quit: Leaving)
1919: [22:37:37] <simon_w|work> antmas, not at work!
1920: [22:37:44] <simon_w|work> Well, compared to my cable I am
1921: [22:37:50] <simon_w|work> But compared to most of NZ, nope!
1922: [22:38:13] * muskie9 is now known as _muskie9_
1923: [22:38:46] <simon_w|work> Compared to most of Australia, my home internet's probably blazing
1924: [22:39:02] <antmas> my internet at home trolls me
1925: [22:39:45] <Colin[pi]> I was trolled by the location here, right next to the town centre
1926: [22:39:45] <simon_w|work> Oh man, I wasn't far off
1927: [22:39:56] <simon_w|work> "Faster than 51% of Australia"
1928: [22:39:57] * novaweb has joined #silverstripe
1929: [22:39:58] <simon_w|work> http://www.speedtest.net/result/3828069859.png
1930: [22:39:58] <Colin[pi]> I was like fuck YES, it's close to the town centre, super fast!
1931: [22:40:10] <Colin[pi]> "PSSST the exchange is in the next suburb"
1932: [22:40:14] <Colin[pi]> FFUUUUUUU
1933: [22:40:20] <simon_w|work> Colin[pi], I'm right next to a town centre too. Exchange is over by UC :(
1934: [22:40:26] <Colin[pi]> yep same dealio
1935: [22:40:41] <simon_w|work> Except I'm within 5km or whatever it is, so speeds are twice as fast
1936: [22:40:46] <Colin[pi]> right close to woden town centre, exchange is in fucking Deakin
1937: [22:40:50] <antmas> I'M ACROSS THE ROAD FROM UFB READY HOMES
1938: [22:40:55] <antmas> ;____________________;
1939: [22:41:12] <simon_w|work> antmas, my parents were about 5 houses too far away from CityLink
1940: [22:41:15] <novaweb> $defaults public or private??
1941: [22:41:21] <simon_w|work> novaweb, private
1942: [22:41:22] <Colin[pi]> private
1943: [22:41:27] <novaweb> DAMNNNN
1944: [22:41:29] <novaweb> hah
1945: [22:41:45] <novaweb> private static right?
1946: [22:41:59] <simon_w|work> yes
1947: [22:42:02] <ss23> with my finger on the trigger I run ./configure
1948: [22:42:10] <ss23> yo your package is big, but my package is bigger
1949: [22:42:12] <simon_w|work> Bleugh, autotools
1950: [22:42:42] <Kingy> ss23: continue
1951: [22:42:49] <Kingy> you have a good thing going
1952: [22:42:52] <Colin[pi]> go on...
1953: [22:43:33] <ss23> it's not my song
1954: [22:44:22] <antmas> 'Business Intellgence Development Studio'
1955: [22:44:24] * antmas sighs
1956: [22:44:58] <ss23> https://www.youtube.com/watch?v=IuGjtlsKo4s
1957: [22:47:55] <UncleCheese> NZ people, who do y'all use for contents insurance?
1958: [22:50:02] <antmas> UncleCheese: probably either my bank (ASB) or AA when I get it shortly
1959: [22:50:16] <UncleCheese> awesome.. i'm on asb.. i'll check it out
1960: [22:50:59] <novaweb> Colin[pi] @simon_w|work - my defaults weren't working because I had declared them in my Controller, not in my page class. Trying to push limitations like a cool kid.
1961: [22:51:15] <Colin[pi]> novaweb: lol whoops
1962: [22:51:36] <antmas> UncleCheese: lot's of people I know stick with their bank for ease mostly
1963: [22:51:51] <antmas> I'd rather do it just because of 'yet another company to deal with'
1964: [22:51:55] * novaweb commits and pushes his first story. BAM!
1965: [22:52:03] * SphereSilver has joined #silverstripe
1966: [22:52:25] <Colin[pi]> antmas: I shopped around for price
1967: [22:52:37] <antmas> Colin[pi]: yeah or that
1968: [22:52:46] <SphereSilver> \o
1969: [22:52:49] <simon_w|work> Oh right, I need to organise contents, renters and ambulance insurance
1970: [22:52:55] <Colin[pi]> antmas: had to make use of them too after a break in two years ago :(
1971: [22:53:10] <Colin[pi]> hai2y SphereSilver
1972: [22:53:13] <Colin[pi]> *hai2u
1973: [22:53:26] <antmas> yeah I need all the insurances :O
1974: [22:53:31] <antmas> I'm so shit at getting that sorted
1975: [22:53:32] <simon_w|work> Colin[pi], what's wrong with this state? Why do I need ambulance insurance?
1976: [22:53:41] <SphereSilver> Hey simon_w|work How're you? I understood you're married officially now? Congratulations!
1977: [22:53:59] <simon_w|work> SphereSilver, well, I don't have my band at the moment, but yup :)
1978: [22:54:06] <Colin[pi]> antmas: I had a car break in and then a house one within 6 months of each other :(
1979: [22:54:25] <simon_w|work> Colin[pi], that's what you get for owning stuff!
1980: [22:54:29] <antmas> Colin[pi]: I almost had a car break in a week ago while I was sick
1981: [22:54:42] <antmas> some drunk guy tried his hand at opening my car in the driveway
1982: [22:54:43] <Colin[pi]> antmas: shit yeah? why almost, they were spotted?
1983: [22:54:47] <Colin[pi]> ah
1984: [22:54:51] <simon_w|work> Colin[pi], also, do all insurance companies offer ambo insurance?
1985: [22:54:53] <antmas> Colin[pi]: I spotted him :)
1986: [22:55:00] <Colin[pi]> simon_w|work: not sure if all
1987: [22:55:05] <Colin[pi]> antmas: heh nice
1988: [22:55:16] <simon_w|work> Colin[pi], bah, don't want to have to get health insurance just yet
1989: [22:55:19] <Colin[pi]> antmas: I spotted mine in the stair well before I drove off for an hour :(
1990: [22:55:29] <SphereSilver> simon_w|work: I know you don't like being asked about it (from me :P ) , but anyway, enjoy your life in married prison! :P (that is sarcasm/joke, yes). Wish you and your wife all the best mate.
1991: [22:56:12] <antmas> Colin[pi]: I caught him and slammed his head into the side of the car roof a few times and he cried lol
1992: [22:56:19] <Colin[pi]> antmas: haha nice
1993: [22:56:22] <antmas> he was german I think
1994: [22:56:31] <SphereSilver> Just quick recapping the chat I've read so far... but... you guys don't have insurance for ambulance by default????
1995: [22:56:52] <Colin[pi]> antmas: NEIN NEIN, VAS IS DAS? SCHIZEN!
1996: [22:56:56] <simon_w|work> SphereSilver, Wellington has a free ambulance service. Most of Australia doesn't
1997: [22:57:00] <antmas> Colin[pi]: haha!
1998: [22:57:36] <Colin[pi]> simon_w|work: if you're pretty healthy you can get basic insurance which covers pretty much just that
1999: [22:57:53] <SphereSilver> wow, that's cold.... In the Netherlands, First Aid, personal docter, psychological/psychiatric help, ambulance, surgery, all insured.
2000: [22:58:07] <SphereSilver> Ok, admitted, the enforced insurance is about 90 euro's/month
2001: [22:58:12] <Colin[pi]> simon_w|work: otherwise you can get the standard which is like dental, chiro, optical etc... but I was paying about $100/month, and using it twice a year for glasses and a denist visit
2002: [22:58:22] <SphereSilver> but even uninsured, all is paid for.
2003: [22:58:44] <SphereSilver> You just have to jump through a lot of hoops to get that far.
2004: [22:58:53] <SphereSilver> And being uninsured is actually illegal here.
2005: [22:58:59] <simon_w|work> SphereSilver, public health care is (mostly) free, just getting there isn't. And the current government is trying to make it so that even public health has charges :(
2006: [22:59:22] <Colin[pi]> SphereSilver: basically our current govt is a pack of cunts
2007: [22:59:36] <SphereSilver> Colin[pi]: You haven't lived here yet :P
2008: [22:59:45] <SphereSilver> Best medical system I know, is Scotland
2009: [22:59:48] * camfindlay quit (Quit: camfindlay)
2010: [22:59:59] <SphereSilver> I was there some 10 years ago, hitchhiking with a friend
2011: [23:00:34] <SphereSilver> He got some sort of infection. And even cab-drivers in the UK/Scotland, are enforced to bring a patient to the First Aid without charging them.
2012: [23:00:47] <simon_w|work> Colin[pi], okay. Is it worth shopping around between all the different subsidiaries of the umbrella company? (So, checking with AAMI and GIO even though they're both Suncorp)
2013: [23:01:06] <Colin[pi]> simon_w|work: usually I do, but I don't know if there's a huge diff
2014: [23:01:14] <Colin[pi]> simon_w|work: there are those comparison sites too
2015: [23:01:17] * camfindlay has joined #silverstripe
2016: [23:01:23] <SphereSilver> But the medical/insurance in the Netherlands ain't that bad. It's just.... expensive and illegal to NOT have
2017: [23:01:28] <SphereSilver> Hey camfindlay !
2018: [23:01:33] <simon_w|work> Colin[pi], but they're not linked to on wikipedia :p
2019: [23:01:54] <camfindlay> SphereSilver hey man.
2020: [23:02:33] <SphereSilver> camfindlay: Will you be able to make it to a Skype talk anytime soon? Me, Anselm and Zauber need to talk some things through anyway. If you could chip in for a brief "debrieving" would be nice :)
2021: [23:03:21] <camfindlay> yeah I’m back in the office this week. Pick a time and let me know
2022: [23:03:34] <simon_w|work> Colin[pi], can you remember what any of comparison sites are?
2023: [23:04:06] <Colin[pi]> simon_w|work: http://www.iselect.com.au/
2024: [23:04:53] <SphereSilver> camfindlay: Keep an eye on Anselms projects-thingy ;) We'll be discussing time and date there. Keep in mind the time-diff! :)
2025: [23:05:28] <Colin[pi]> simon_w|work: also http://www.privatehealth.gov.au/dynamic/compare.aspx
2026: [23:05:40] <simon_w|work> Colin[pi], how about for contents?
2027: [23:06:05] <Colin[pi]> simon_w|work: try this one: http://www.privatehealth.gov.au/dynamic/compare.aspx
2028: [23:06:07] <Colin[pi]> oops
2029: [23:06:10] <Colin[pi]> http://www.canstar.com.au/home-insurance/
2030: [23:07:41] <simon_w|work> Colin[pi], that "Theft or attempted theft cover" is something you can filter by is kinda sad
2031: [23:08:33] <Colin[pi]> simon_w|work: heh yeah
2032: [23:09:42] <simon_w|work> Hmm, can't filter by renters insurance
2033: [23:09:54] <UncleCheese> had to call 111 lastnight
2034: [23:10:05] <UncleCheese> our home is being stalked by some meth head burglar
2035: [23:10:17] <simon_w|work> UncleCheese, you sure that's not ss23?
2036: [23:10:18] <irogue_> o_O
2037: [23:10:26] <Colin[pi]> UncleCheese: sounds pleasant
2038: [23:10:30] <Colin[pi]> simon_w|work: lol
2039: [23:10:31] <UncleCheese> when we caught her, she froze and asked if she could borrow a phonebook
2040: [23:10:39] <UncleCheese> to which, of course, i said, "what's a phone book?"
2041: [23:10:46] <antmas> lol
2042: [23:10:51] <UncleCheese> then she mumbled something incoherent and walked away
2043: [23:10:59] <UncleCheese> tried to climb the neighbours fence
2044: [23:11:01] <UncleCheese> failed
2045: [23:11:10] <UncleCheese> then went across the street to an unoccupied home and climbed that one
2046: [23:11:19] <UncleCheese> cops came and brought dogs
2047: [23:11:41] <UncleCheese> she's still at large
2048: [23:11:54] <irogue_> exciting
2049: [23:11:58] <ss23> Newtown, UncleCheese?
2050: [23:12:02] <UncleCheese> ha
2051: [23:12:07] <UncleCheese> JVille, dude!
2052: [23:13:14] <antmas> what if she's a time traveller?
2053: [23:13:22] <antmas> WHAT IF GUIS
2054: [23:16:29] * stojg has joined #silverstripe
2055: [23:18:54] * travis-ci has joined #silverstripe
2056: [23:18:55] <travis-ci> silverstripe/silverstripe-framework#3464 (3.1 - afaeda3 : Sean Harvey): The build passed.
2057: [23:18:55] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/f86b0bbca0a3...afaeda32a1f1
2058: [23:18:55] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/37879871
2059: [23:18:55] * travis-ci has left #silverstripe
2060: [23:19:28] <Stomach> does anyone know where 'index' is defined as an allowed action?
2061: [23:20:32] <spronk> ^^ people seem to have forgotten the other use case for subsites - a better translatable
2062: [23:21:17] * camfindlay has left #silverstripe
2063: [23:22:16] <Stomach> http://sspaste.com/paste/show/543c597ac7330
2064: [23:22:22] <Stomach> anyone ever run into the above?
2065: [23:22:45] <Stomach> can 'fix' it by defining $allowed_actions = array('index'); on the ProductHolder_Controller
2066: [23:23:39] <Stomach> request handler checks actions by looking at the config setting for $allowed_actions only in hasAction :\
2067: [23:24:14] * stojg quit (Quit: Textual IRC Client: www.textualapp.com)
2068: [23:26:09] <spronk> UncleCheese, hoiw do ss ltd do sites that have i.e. NZ, Aus, UK offices that share 90% of content but have certain parts that differ (i.e. product range changes for region) ?
2069: [23:26:25] <spronk> or yknow, different warranty information for a region
2070: [23:27:51] <adrexia> spronk - in the past translatable or subsites
2071: [23:28:25] * MrGuits has joined #silverstripe
2072: [23:28:32] <spronk> mm
2073: [23:28:40] <adrexia> you are right in that subsites is a more clean cut solution
2074: [23:28:40] <spronk> i had big problems with translatable
2075: [23:28:49] <spronk> mainly around the sharing of content
2076: [23:28:50] <adrexia> yeah, I've had huge issues with it too
2077: [23:28:52] <spronk> you can do fallback, but..
2078: [23:29:03] <spronk> thats only sometimes the behaviour you want
2079: [23:29:20] <adrexia> I actually think that scenario might be better served by personalisation
2080: [23:29:27] * camfindlay has joined #silverstripe
2081: [23:29:28] <spronk> hmm?
2082: [23:29:52] <adrexia> user targeting based on age, region, language, what they have looked at in the past, etc
2083: [23:29:57] <spronk> i see
2084: [23:30:03] <spronk> there's the editing side to consider as well thoug
2085: [23:30:04] <spronk> h
2086: [23:30:10] <adrexia> yep
2087: [23:31:08] <camfindlay> hey guys, looking to try get the bb code in the forum for links fixed. Apparently it is relying on a pull request… looks like it has a failed test in PHP5.6 - can any one help work out what’s broken and how we could fix? PR is https://github.com/silverstripe/silverstripe-framework/pull/3522
2088: [23:31:31] <camfindlay> if we can get that sorted I’ll see if we can get that fix out soon on silverstripe.org
2089: [23:31:54] * Guits quit (Ping timeout: 272 seconds)
2090: [23:33:51] <ss23> camfindlay: Random failure
2091: [23:33:55] <ss23> If someone re-triggers it it'll be fine
2092: [23:34:07] <camfindlay> ok good to know, thanks man
2093: [23:34:33] <ss23> probably easiest is to get UncleCheese to push again, then just throw it at ingo or someone
2094: [23:35:05] <SphereSilver> Don't throw stuff at Ingo!
2095: [23:35:24] <SphereSilver> Don't throw stuff at people at all! Throwing stuff hurts, you know?!
2096: [23:35:28] <simon_w|work> Needs tests
2097: [23:35:51] * veb has joined #silverstripe
2098: [23:35:53] * SphereSilver is going to throw stuff at simon_w|work now....
2099: [23:36:01] * SphereSilver is off to bed actually.
2100: [23:36:08] <SphereSilver> Sleep tight folks.
2101: [23:37:03] * antmas throws ingo at SphereSilver
2102: [23:37:05] <Colin[pi]> nn d00d
2103: [23:37:05] <antmas> o/
2104: [23:37:10] <antmas> haiiiiya!!!
2105: [23:37:50] <SphereSilver> There's an Ingo in my bed. Please send help.
2106: [23:37:56] * SphereSilver quit (Remote host closed the connection)
2107: [23:38:32] <antmas> I have butter chicken in the fridge that I really don't feel like eating
2108: [23:42:03] <Colin[pi]> antmas: I have green curry, but I do feel like that
2109: [23:42:19] * simon_w|work has access to a microwave at work
2110: [23:42:22] <simon_w|work> It's amazing
2111: [23:42:57] <antmas> Colin[pi]: mmmm mine is patak's and it's gross :|
2112: [23:43:13] <Colin[pi]> antmas: heh yeah I saw your rant on FB
2113: [23:43:43] <antmas> :P
2114: [23:44:04] <antmas> I had to add all this other stuff to it to get it to actually taste somewhat like butter chicken
2115: [23:44:52] <simon_w|work> Like a butter chicken sauce and some chicken?
2116: [23:46:01] <Colin[pi]> simon_w|work: he had to add butter chicken sauce to butter chicken sauce?
2117: [23:49:57] * _muskie9_ is now known as muskie9
2118: [23:51:37] * camfindlay quit (Quit: camfindlay)
2119: [23:52:09] <Colin[pi]> simon_w|work: transact FTTP... limited to 10Mbps and monthly cap of 40GB = LOLOLOLOL
2120: [23:52:28] <Colin[pi]> who the fuck would sign up for that?
2121: [23:53:14] <simon_w|work> Colin[pi], is still faster than what you get
2122: [23:53:48] <antmas> it was a butter chicken sauce
2123: [23:53:50] <Colin[pi]> simon_w|work: haha even with the limited speed... "OHOHO I'M FLYING.. SO FAST! LETS DOWNLOAD SOME VIDEOS AND... OH SHIT FINISHED MY CAP"
2124: [23:54:02] <antmas> but I added a whole bunch of tomatos, spices, cream etc
2125: [23:54:06] <simon_w|work> Colin[pi], also, is all done through iiNet now, so easy enough to change plan
2126: [23:54:23] <Colin[pi]> 40GB cap is so retarded though
2127: [23:54:41] <Colin[pi]> oh wait, there's a 200GB option
2128: [23:54:42] <Colin[pi]> ooh
2129: [23:59:02] * muskie9 quit (Ping timeout: 245 seconds)

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