#silverstripe IRC Log

IRC log for 30 May 2014

All timestamps are in UTC.

1: [00:04:25] <Stomach> jordanmk - any futher luck?
2: [00:07:46] <Colin[pi]> look out everyone, simon_w is on his way back over there
3: [00:09:27] <spronk> lol @ npm
4: [00:09:36] <spronk> it looks easy
5: [00:09:45] <spronk> then you quickly realise it has some serious design issues for real projects
6: [00:10:20] <Colin[pi]> such as?
7: [00:10:49] * jenniferaslan quit (Quit: jenniferaslan has left the room)
8: [00:12:33] <Stomach> spronk - when?
9: [00:12:34] <spronk> 1) dependencies downloaded separately for each package, which means you get into a different kind of dependency hell. 2) as a consequence this also means that path lengths in windows exceed the max allowed and things strangely break. 3) no ability to work on repositories as npm modules, which is exceedingly annoying given the way you need to write code to make it maintainable in node, 4) modules requiring native compilation are mixe
10: [00:12:34] <spronk> modules that are pure js or pure lang, so it isn't crossplatform at all
11: [00:12:38] <spronk> etc etc etc
12: [00:12:45] * spronk could go on
13: [00:13:21] <Stomach> never ran into any of these problems
14: [00:13:25] <spronk> then there's no general concensus about how to use npm with source repositories for deployment
15: [00:13:32] <spronk> npm say one way, node guys say to do the opposite
16: [00:13:41] <Colin[pi]> spronk: mm sounds a bit immature?
17: [00:13:47] <spronk> perhaps
18: [00:13:49] <spronk> it's been around for long enough
19: [00:13:50] <Colin[pi]> npm I mean, not your comment :)
20: [00:13:52] <Stomach> we use browserify and a build step to bundle all our code before / during deploy
21: [00:14:14] <spronk> composer is a lot younger and has solved most of these issues
22: [00:14:46] <Stomach> composer dependency resolving is a lot harder if you get someone who tags a require at "3.1.4" and another at "3.1.5" though
23: [00:14:57] <Stomach> another repo that is
24: [00:15:27] <spronk> yeah, though that's more a PHP issue
25: [00:15:55] <Stomach> well, thats why npm tries to include dependencies per-project rather than globally
26: [00:16:08] <spronk> yeah, but it's done in the worst way possible
27: [00:16:48] <Stomach> I mean, I've never worked on a large node project so I can totally see the issues popping up
28: [00:16:54] <Stomach> but our dependencies are all development
29: [00:17:00] * spronk is a bit more bitter about node/npm/javascript these days :P
30: [00:17:31] <Stomach> and its all usually for build stuff, so ends up like http://www.sspaste.com/paste/show/5387ca94ae61b
31: [00:18:11] <Stomach> although gonna spend this weekend moving to gulp probably
32: [00:18:40] <spronk> hmm
33: [00:18:57] <spronk> gulp lures you in with its sexy looking config
34: [00:19:48] <Stomach> haha, you dont rate it? grunt is just so slow when I have more than 10 js files / 1000 lines of js
35: [00:20:00] <Colin[pi]> so.. many.. alternatives
36: [00:20:06] <spronk> i didn't really find gulp any faster to process files than grunt
37: [00:20:17] <spronk> also found that grunt modules tend to be a lot easier to use
38: [00:20:36] <spronk> gulp is a lot more wiring if you do things that everyone else has already done for you
39: [00:20:38] * oddnoc has joined #silverstripe
40: [00:20:51] <spronk> but otherwise it's alright
41: [00:21:27] <Stomach> yeah I've been trying to move just to npm tasks, but it doesn't work so good for things like sprite generation etc because of the inability to chain commands without a really complicated cli-esque script
42: [00:22:03] <Stomach> but for building/watching js it is win
43: [00:22:30] <spronk> why just npm tasks?
44: [00:22:32] <Stomach> but I don't really wanna have to have a cli open for css/js/images/fonts each
45: [00:23:11] <Stomach> because they're a hell of a lot quicker, theres no real overhead to get the processes running
46: [00:23:47] <Stomach> like at the moment if i change a css file:
47: [00:23:50] <Stomach> "Completed in 4.973s"
48: [00:23:54] <Stomach> less file*
49: [00:23:57] <spronk> L|
50: [00:23:58] <spronk> :|
51: [00:23:58] <spronk> daaang
52: [00:24:05] <spronk> what on earth are you doing to it!? :P
53: [00:24:20] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
54: [00:24:21] <Stomach> running recess to output a style.css and editor.css
55: [00:24:26] <spronk> hmm
56: [00:24:36] <Stomach> + minification and etc
57: [00:24:56] <Stomach> like the watch task doesnt do the minification and stuff, but its still slow as fuck
58: [00:25:00] <spronk> im using a grunt workflow atm that takes a bunch of less files (>30), concats them, compiles to css, plus minifies etc
59: [00:25:06] <spronk> and it's <0.5s
60: [00:25:34] <spronk> on a reasonably fast ssd though which... shouldn't make too much of a difference
61: [00:25:43] <Stomach> what are you using to process, just grunt-contrib-less ?
62: [00:26:17] <spronk> yep
63: [00:26:31] <spronk> grunt-css, grunt-contrib-less, grunt-contrib-concat, grunt-contrib-uglify all get used
64: [00:26:38] <Stomach> yeah I might switch back to that, we were using recess but it seems to be dead now
65: [00:26:45] <Stomach> we are using it rather
66: [00:26:50] <spronk> hmm
67: [00:27:04] <spronk> recess lints as well yeah?
68: [00:27:08] <Stomach> yeah
69: [00:27:16] <irogue_> so much buzzword up in here
70: [00:27:27] <spronk> mm.. could be the slow part, dno
71: [00:27:43] <srikanth> is subsite module part of cwp-core?
72: [00:28:08] <spronk> it's ... supported for cwp
73: [00:28:10] <Stomach> srikanth - https://gitlab.cwp.govt.nz/cwp/cwp-core/blob/master/composer.json
74: [00:28:37] <Stomach> actually - sminnee should we be able to access that?
75: [00:28:58] <spronk> cwp is meant to be opensource isn't it?
76: [00:29:09] <Stomach> yeah but I can't access the root of the gitlab
77: [00:29:10] <spronk> well, the SS parts anyway
78: [00:29:17] <Stomach> i just googled for cwp-core and can get in there
79: [00:29:19] <spronk> ha
80: [00:29:21] <spronk> neither can i
81: [00:29:22] <sminnee> Stomach: there is some open-source stuff in that gitlab, i’m not sure what the intended acess rights are
82: [00:29:22] <srikanth> hey guys I need to update the subsites module
83: [00:29:48] <srikanth> Stomach, not part of cwp-core
84: [00:29:53] <Stomach> sminnee - okay cool, :)
85: [00:29:55] <Stomach> thanks
86: [00:29:58] * auto9 has joined #silverstripe
87: [00:30:04] <srikanth> I cant seem to fine one gitlab.cwp.govt.nz
88: [00:30:27] <srikanth> should I be upgrading it to the latest stable version on github?
89: [00:30:32] <Stomach> ah https://gitlab.cwp.govt.nz/public/projects :)
90: [00:30:54] <spronk> OH MY GOD PEOPLE ARE DUMB
91: [00:30:59] <sminnee> For the most part, CWP relies on stable CMS, Framework, etc, releases. It doesn’t have its own fork of things.
92: [00:31:46] <irogue_> srikanth: most of us in here don't really know anything about CWP - if you're a CWP user you might be better off asking the helpdesk?
93: [00:32:35] <Stomach> spronk - whats wrong buddy
94: [00:32:40] <srikanth> irogue_, ok
95: [00:33:42] <irogue_> srikanth: sorry we can't be more help
96: [00:33:59] <srikanth> no problem
97: [00:34:06] <srikanth> i'll figure it out
98: [00:34:48] <Stomach> but from what Sam just said, it sounds like you should be fine depending on a stable release from github
99: [00:35:02] <Ryan-Toast> Stomach: Reddit meetup on the 14th?
100: [00:35:11] <Stomach> ??
101: [00:35:17] <Ryan-Toast> http://www.reddit.com/r/auckland/comments/24542c/global_meet_up_day_saturday_14th_june_3pm_the/
102: [00:35:42] <spronk> Stomach: clients :)
103: [00:35:57] <spronk> or should i say, retarded idiots who occasionally want work done
104: [00:36:01] <Colin[pi]> Ryan-Toast: yay whole public places full of socially awkward penguins
105: [00:36:22] <Ryan-Toast> Could be fun :) It’s at a bar, at the worst you get drunk.
106: [00:36:31] <Stomach> I always hate those things
107: [00:36:42] <Ryan-Toast> This was the last meetup 2 months ago: http://i.imgur.com/UED3cH2.jpg
108: [00:36:45] <Ryan-Toast> they look fine
109: [00:36:49] <Colin[pi]> Ryan-Toast: I've been to a few before, they're not a bad bunch
110: [00:36:51] <Stomach> I don't really post on reddit auckland so have no real connection with anyone
111: [00:37:02] <irogue_> we need a ladder from the balcony
112: [00:37:12] <irogue_> it would be significantly quicker for going to food places
113: [00:38:10] <irogue_> balcony directly onto Fort St where all the noms are, vs having to take the lift down to Shortland St and walk around
114: [00:38:14] <spronk> irogue_: just install a pole
115: [00:38:37] <Stomach> I've been to multiple gameplanet meats before though, they were always fun (and sausage festivals)
116: [00:38:49] <irogue_> meats?
117: [00:38:54] <irogue_> sausagefest?
118: [00:39:12] <irogue_> sounds like my cup of tea
119: [00:39:20] <Stomach> meetup with a bbq usually
120: [00:39:25] <Stomach> thus "GP Meat"
121: [00:39:32] <jordanmk> Stomach, just saw your message. if you mean any further luck with the widgets on the staging site, nah, i can't figure it out :S
122: [00:39:53] <Colin[pi]> irogue_: dont get any ideas about WDCNZ
123: [00:39:59] <irogue_> :P
124: [00:41:21] <irogue_> i require noms
125: [00:41:23] <irogue_> quick noms
126: [00:41:27] <irogue_> maybe kebab?
127: [00:41:39] <irogue_> wonder if i could yell my order off the balcony and have them throw it up to me
128: [00:41:48] * babak has joined #silverstripe
129: [00:42:23] <spronk> :D
130: [00:43:07] <Stomach> irogue_ - they totally would
131: [00:43:42] <irogue_> man, if SS Akl was still at the old location
132: [00:43:45] <irogue_> such dangerous
133: [00:43:54] <irogue_> would be even fatter
134: [00:44:26] <Stomach> I always just get a sandwich from hollywood bakery
135: [00:44:28] <irogue_> om nom nom Sal's
136: [00:44:30] <Stomach> keeps me not as fat
137: [00:48:18] * checkcheck quit (Ping timeout: 240 seconds)
138: [00:48:53] <spronk> subway just opened down the road from me
139: [00:49:07] <spronk> its good, because you can pretty much eat as much of it as you want and it's still vaguely healthy
140: [00:50:12] <zippy__> Colin[pi]: simon_w what you mean?
141: [00:50:36] <Colin[pi]> zippy__: huh?
142: [00:50:49] <zippy__> Colin[pi]: look out everyone, simon_w is on his way back over there
143: [00:50:55] <Colin[pi]> he's on a plane to NZ
144: [00:51:10] <spronk> ruh roh
145: [00:51:19] <zippy__> misses ss23 too much eh
146: [00:51:59] * oddnoc quit (Quit: Textual IRC Client: www.textualapp.com)
147: [00:52:06] <ss23> http://abstrusegoose.com/283
148: [00:52:09] <ss23> WHAT!
149: [00:52:21] <ss23> zippy__: For the wedding or a visit or what? :O
150: [00:54:28] <Ryan-Toast> This is cool: http://airnauts.com/
151: [00:55:55] <zippy__> http://abstrusegoose.com/296
152: [00:56:05] <spronk> Ryan-Toast: but hideously annoying
153: [00:56:07] * auto9_ has joined #silverstripe
154: [00:56:17] <Ryan-Toast> spronk: shhhh, just let it be cool.
155: [00:56:46] <spronk> they could improve it 10fold
156: [00:56:50] <spronk> by just having the menu icon visible right from the top
157: [00:57:09] <spronk> aaand by speeding up the animations on the menu by a factor of.. 3-5
158: [00:57:12] <Kingy> oh ss23 you are around meow?
159: [00:57:22] <spronk> meow that's pretty funny
160: [00:57:24] * auto9 quit (Ping timeout: 240 seconds)
161: [01:00:08] <ss23> Kingy: Not at work yet :O
162: [01:00:15] <ss23> Feeling shit this morning, but I'll be in later
163: [01:01:40] * auto9_ quit (Quit: AndroidIrc Disconnecting)
164: [01:08:01] <Kingy> all good
165: [01:08:23] <antmas> ss23: feeling sick always sucks
166: [01:08:35] <antmas> I feel off today as well. BUt i'm just hungover
167: [01:08:37] <antmas> :P
168: [01:09:18] * sminnee quit (Quit: sminnee)
169: [01:13:25] <ss23> haha
170: [01:14:28] <ss23> Go to work now I guess
171: [01:14:35] <ss23> blargh
172: [01:14:39] <ss23> going to be good to have 2 weeks off
173: [01:16:38] <Kingy> jeez im stoked to get a long weekend haha
174: [01:16:58] <Kingy> It's typical though. Partner and I both got sick 2 days before we flew to europe
175: [01:17:06] <Kingy> having a cold while flying for 24 hours SUCKS!
176: [01:19:17] <ss23> XD
177: [01:19:22] <ss23> That does sound crap!
178: [01:19:28] <ss23> Luckily flights to JP are only like 11
179: [01:21:10] <irogue_> my first ever flight was 2x14 hours
180: [01:21:17] <Kingy> yeah we had a stopover in hong kong for 2 hours
181: [01:21:20] <irogue_> was very happy i didn't turn out to have airsickness problems
182: [01:21:27] <Kingy> that was hell because it was like 4am NZ time
183: [01:27:03] <Colin[pi]> total travel time for me was 26 hours or so to brazil
184: [01:32:28] <irogue_> anyone here use behat?
185: [01:32:57] <antmas> irogue_: I think UC does a bit
186: [01:33:04] <antmas> surely he'll be on again soon
187: [01:33:31] <Colin[pi]> let's just wait..
188: [01:33:38] <Colin[pi]> *skeleton pic*
189: [01:33:53] <irogue_> i've been tasked with investigating it for possible use here. it looks interesting but want to talk to someone who actually uses it to see if it's as good as the docs make it sound :P
190: [01:34:13] <Stomach> doesn't tractorcow do a lot of work with it?
191: [01:34:28] * Selay has joined #silverstripe
192: [01:35:10] <zippy__> antmas: was this you at the gym? http://i.imgur.com/TUPDUkA.gif
193: [01:35:26] <antmas> zippy__: YES
194: [01:35:28] <antmas> well spotted
195: [01:36:06] <irogue_> hahahahaha
196: [01:36:15] <Selay> Hi guys, what is the proper way to put filter or where in template without using "if" because I need to know the count as well. Say I want something like this <% loop Panels.filter('Left') %> Is it possible without using function in page?
197: [01:36:18] <irogue_> thats a bit like my logic
198: [01:36:23] <antmas> I love that
199: [01:36:36] <irogue_> "sure, i had a kebab for lunch, but i *walked* to get the kebab, so it's okay"
200: [01:36:45] <Colin[pi]> irogue_: lol I so do this also
201: [01:36:47] <antmas> zippy__: sees a fat black guy eating at the gym .gif and instantly thinks about me
202: [01:38:08] <zippy__> antmas: :)
203: [01:38:22] <zippy__> and who would of thought, given that I've never seen you, that it really was you!
204: [01:38:30] <antmas> lol
205: [01:38:37] <zippy__> and, I should point out I didn't say it was you, I asked if it was
206: [01:38:57] <antmas> XD
207: [01:39:26] <ss23> irogue_: talk to ingo about it
208: [01:39:27] <ss23> he is behat master
209: [01:39:50] <irogue_> ah yes
210: [01:40:38] <Selay> I found. You can use <% loop Panels.filter('Type', 'Left') %>
211: [01:42:01] <Stomach> Selay - oh thats handy
212: [01:45:00] <irogue_> if Ingo uses it, I can just assume that it's good
213: [01:46:42] <Stomach> wait, are you researching for whether silverstripe should use behat?
214: [01:46:45] <Stomach> wat?
215: [01:46:57] <Stomach> its all through cms/framework o_O
216: [01:47:57] <antmas> Stomach: no, whether irogue_ should take advantage of it/use it
217: [01:48:19] <Stomach> isn't he at silverstripe right now though? im confused
218: [01:48:26] <irogue_> Stomach: remember, there's multiple parts to silverstripe ;)
219: [01:49:01] <srikanth> does anyone has experience with userforms here
220: [01:49:12] <irogue_> platform team is obviously using it, but i'm not platform team. we have nothing to do with writing CMS/Framework, we make sites for customers
221: [01:49:23] <antmas> srikanth: partially, what's the problem?
222: [01:49:48] <srikanth> antmas, how do we set the default country to NZ?
223: [01:50:01] <srikanth> it is populated with UK
224: [01:50:05] <srikanth> by default
225: [01:51:44] <antmas> srikanth: is this the country drop down field?
226: [01:51:59] <srikanth> antmas, yes sorry
227: [01:52:08] <srikanth> I didn;t explain that quite right
228: [01:52:11] <Stomach> irogue_ - yeah but it seems weird that you don't just ask the platform team :P crazy business!
229: [01:52:25] <irogue_> Stomach: i didn't even know they used it!
230: [01:52:39] <antmas> srikanth: it's either set in the 3rd or 4th argument in the constructor for that field
231: [01:52:44] <antmas> I can't remember
232: [01:53:36] <Stomach> srikanth - you can set i18n::set_locale('en_NZ'); in _config.php or through the yml config
233: [01:53:47] <Stomach> the current locale determines the default for countrydropdown
234: [01:53:59] <antmas> Stomach: srikanth or that, yeah
235: [01:54:10] <antmas> oh wait, I'm thinking 2.4
236: [01:54:29] <Stomach> its userforms anyway, you have to set it elsewhere so it works :)
237: [01:54:38] <antmas> true
238: [01:54:52] <srikanth> thanks a lot Stomach
239: [01:54:55] <srikanth> that fixed it
240: [01:55:08] * antmas pats himself on the back
241: [01:55:25] * Stomach pats antmas on the face
242: [01:55:35] * antmas grins at Stomach
243: [01:55:41] * Stomach winks back
244: [01:56:35] <Stomach> irogue_ - oh I thought that everyone at silverstripe would be all up in the framework making edits and doing documentation and generally making it a better ecosystem just like ss23 does, hes such an inspiration
245: [01:56:42] <irogue_> lol
246: [01:56:55] <antmas> haha
247: [01:57:16] <irogue_> http://docs.behave.pro/jira/mapping.html
248: [01:57:20] <irogue_> goddamn it
249: [01:57:25] <irogue_> all the languages supported but php
250: [01:59:47] <antmas> hmmm
251: [01:59:51] <antmas> a 377 number
252: [01:59:53] <antmas> who is dis?
253: [02:00:12] <antmas> is that Auckland?
254: [02:00:19] <zippy__> aucks prolby
255: [02:00:50] <zippy__> masterton...
256: [02:01:03] <Kingy> damn masterton
257: [02:01:08] <Kingy> it's not me antmas
258: [02:01:20] <antmas> hmmmmmm
259: [02:01:26] <Kingy> i'm randomly 929 in masterton
260: [02:01:28] <antmas> probably some company
261: [02:01:52] <irogue_> many police...
262: [02:01:59] <Stomach> yeah i hear them!
263: [02:02:04] <Stomach> and fire engines
264: [02:02:04] <irogue_> they just hauled ass up fort st
265: [02:02:13] <irogue_> towards queen
266: [02:02:18] <Stomach> theres heaps going down queen
267: [02:02:22] <Stomach> and a helicopter
268: [02:02:22] <Stomach> wtf
269: [02:03:10] <Kingy> run Stomach run
270: [02:03:21] <Stomach> I haven't done anything illegal for like 3 weeks
271: [02:03:35] <irogue_> yeah i hear the heli now too
272: [02:03:46] <Kingy> no i mean
273: [02:03:47] <Kingy> go film it
274: [02:03:48] <Kingy> lol
275: [02:03:57] <Stomach> oh, lol
276: [02:04:03] <Stomach> I don't has a camera :(
277: [02:04:08] <antmas> oh, it's a software company who don't know how to respond to very clear emails
278: [02:04:11] <antmas> of course!
279: [02:04:27] <Kingy> you had one job Stomach
280: [02:04:34] <Kingy> irogue_: roll out
281: [02:04:49] <antmas> Stomach: wait, how did you take that pic of a scone?
282: [02:04:58] <Stomach> antmas - I already had that picture
283: [02:05:08] <Stomach> thats how much I love scones
284: [02:05:10] <antmas> Stomach: lol, for future use of course
285: [02:05:11] * zipp quit (Ping timeout: 255 seconds)
286: [02:05:17] * zippy__ quit (Ping timeout: 252 seconds)
287: [02:05:22] * zippy___ has joined #silverstripe
288: [02:05:52] <Stomach> nah posted it to facebook with this rant about a month ago
289: [02:05:53] <Stomach> "I went to town this morning (it's actually still morning, but whatever) to get some things and was surprised when nothing was open. When I worked out that it was only 8.30am, I was angry at everything being closed. So I came home and baked some (more) scones, one of which you see me eating below.
290: [02:05:53] <Stomach> I'm now a man who bake scones on Sunday mornings, irate at the world not being awake yet. A scone-life-crisis if you will.
291: [02:05:54] <Stomach> "
292: [02:06:37] <irogue_> omg
293: [02:06:39] <irogue_> wellington
294: [02:06:42] <irogue_> on a saturday at like 9am
295: [02:06:46] <irogue_> nothing is open, not even food places
296: [02:06:49] <irogue_> wtf is up with that shit
297: [02:07:10] <spronk> fucking hipsters
298: [02:07:14] <Stomach> its fucked, stuff should be open when I want it to be, not earlier or later!
299: [02:07:15] <antmas> hipsters don't eat until 10am
300: [02:07:18] <antmas> logic
301: [02:08:17] <Kingy> come to masterton.. its pumping at like 7
302: [02:08:54] <Stomach> masterton ftw
303: [02:09:00] <Stomach> queen park train
304: [02:09:04] <antmas> holy crap masterton looks smaller than Nelson
305: [02:09:21] <antmas> always thought it was bigger than that
306: [02:09:30] <Stomach> and the water park
307: [02:09:39] <Stomach> man i spent some time peeing in that pool as a youth
308: [02:09:43] <irogue_> nelson was mentioned in the office yesterday
309: [02:09:45] <ss23> Boom, at work!
310: [02:09:46] <irogue_> can't remember the context
311: [02:09:48] <irogue_> but it wasnt positive
312: [02:09:49] <irogue_> :P
313: [02:10:05] <Stomach> "antmas lives there" "horrible"
314: [02:10:10] <antmas> irogue_: were they like "there is this awesome dev down there we MUST hire" "goes by the name of antmas"?
315: [02:10:27] <antmas> Stomach: ;________________;
316: [02:10:31] <Stomach> ss23 I was talking you up earlier
317: [02:10:36] <Stomach> and you missed it :(
318: [02:10:37] <Kingy> ss23: Nice, only 6 hours late today?
319: [02:10:44] <antmas> ss23: DAMN IT
320: [02:10:57] <antmas> ss23: don't tell mah secretz!
321: [02:12:26] <antmas> http://vimeo.com/82920243
322: [02:12:31] * zippy___ quit (Quit: zippy___)
323: [02:12:33] <antmas> @@@@@.@@@@@@
324: [02:14:42] <Kingy> man you buy one thing from mighty ape and then you get 6 emails a day from them
325: [02:14:56] <Kingy> "Because you bought a video game you might like this..."
326: [02:15:07] <antmas> Kingy: yeah I hate that
327: [02:15:09] <Kingy> "Because you're into gaming you might this selection of PC gaming hardware"
328: [02:15:17] <antmas> but that's the same with any shop ever
329: [02:15:20] <Kingy> "ZOMG FREE SHIPPING FOR QUEENS BIRTHDAY"
330: [02:15:30] <Kingy> "64 daily deals added today"
331: [02:15:42] <Kingy> antmas: yeah
332: [02:15:52] <spronk> ugh
333: [02:15:55] <spronk> bloody mightyape
334: [02:16:13] <Kingy> thing is I'm interested in most of that stuff but i'd much prefer 1 long email I can quickly browse over and not 6 staggered across the day
335: [02:16:30] <Stomach> thats pretty much too much to ask
336: [02:17:08] <Kingy> I'm sure it is but still when is it acceptable to spam people with 6 emails a day
337: [02:18:01] <Stomach> email Matt and complain
338: [02:18:11] <Kingy> I've had 17 emails this week
339: [02:18:13] <Kingy> from them
340: [02:18:38] <Stomach> thats probably one too few really
341: [02:18:41] <Stomach> they should up their game
342: [02:18:46] <Kingy> haha
343: [02:19:04] <irogue_> Stomach: https://twitter.com/francescook/status/472199461725167617
344: [02:19:15] <irogue_> police chase ^_^
345: [02:19:24] <Stomach> oh wow, cool
346: [02:19:57] <irogue_> has to have done something pretty serious for them to let it go on for so long
347: [02:20:19] <Stomach> yeah
348: [02:20:20] <irogue_> they usually call them off pretty quick if there's much traffic around, and there's *always* much traffic on southern motorway
349: [02:20:23] <Stomach> and straight through the city too
350: [02:20:28] <Stomach> thats weird
351: [02:20:41] <Ryan-Toast> Oh yeee https://pbs.twimg.com/media/Bo1tlgYIEAA1_An.jpg
352: [02:20:46] <antmas> that dude that killed Blessie might have escpaed
353: [02:20:47] * UncleCheese has joined #silverstripe
354: [02:20:51] * UncleCheese quit (Client Quit)
355: [02:20:58] <antmas> :P
356: [02:22:51] <antmas> right coffee time
357: [02:23:16] <irogue_> eww
358: [02:23:33] <Stomach> you don't drink coffee either irogue_?
359: [02:23:40] <irogue_> no, it's gross
360: [02:24:30] <Stomach> high five!
361: [02:24:51] <Stomach> fuck github is so slow today
362: [02:25:00] <Stomach> tell Damian he isn't entertaining me enough today :P
363: [02:25:03] <irogue_> wouldn't know
364: [02:25:05] <irogue_> GITLAB!
365: [02:25:22] <antmas> coffee haters
366: [02:25:24] <antmas> pssh
367: [02:25:38] <Stomach> I used to drink a shitload of coffee and V
368: [02:25:57] <irogue_> i still drink a shitload of V :P
369: [02:26:06] <antmas> I have like 1-2 coffees a day
370: [02:26:29] <Colin[pi]> 2, sometimes 3 for me :o
371: [02:26:42] <antmas> Colin[pi]: still pretty low
372: [02:26:53] <Colin[pi]> double shot espresso though
373: [02:26:56] <antmas> some people here have like 5-6 errr day
374: [02:28:03] <Colin[pi]> I stop when my heart starts going "DANCE! EVERYBODY DAAAANCE! :D-\-<"
375: [02:28:41] <irogue_> you can dance if you want to
376: [02:28:47] <irogue_> you can leave your friends behind
377: [02:29:09] <Stomach> I used to drink a litre of v and 7 or 8 coffees a day
378: [02:29:11] <antmas> v does that to me
379: [02:29:26] <antmas> I can drink like 4-5 red bulls, but v is too much
380: [02:29:39] <Ryan-Toast> Stomach: I see you’ve read the mistborne series.
381: [02:29:47] <Ryan-Toast> Good times
382: [02:29:47] <Stomach> Ryan-Toast - yep
383: [02:29:57] <Ryan-Toast> Simple writing, fatastic fighting.
384: [02:29:58] <Stomach> im waiting for the next one to come out
385: [02:30:05] <Ryan-Toast> Fantastic**
386: [02:30:10] <Stomach> yeah the idea of burning metals is really cool too
387: [02:30:15] <Ryan-Toast> The enext on of the cowboyish one?
388: [02:30:29] <Stomach> really nice way to introduce magic into the world
389: [02:30:36] <Stomach> yeah, forgot what its called
390: [02:30:40] <Ryan-Toast> Very cool magic system.
391: [02:30:56] <Ryan-Toast> I read a sample, and I’m not a fan of guns in my fantasy.
392: [02:31:01] <Stomach> yeah Shadows of Self
393: [02:31:02] <Ryan-Toast> so didn’t read it.
394: [02:31:21] <Ryan-Toast> That and I like reading series that are finished. So I don’t have to wait.
395: [02:31:30] <Ryan-Toast> Fucking GRRM.
396: [02:31:32] <Ryan-Toast> you cunt.
397: [02:31:38] <irogue_> Ryan-Toast: you're just not american enough
398: [02:31:49] <irogue_> ALL THE GUN FANTASIES
399: [02:31:52] <Stomach> thats why I waited for wheel of time to be done
400: [02:31:59] <Stomach> The Dark Tower is the best gun fantasy
401: [02:32:04] <Ryan-Toast> irogue_: I don’t think I could ever be sexually arttracted to someone who says “Y’all”
402: [02:32:13] <irogue_> haha, truth
403: [02:32:22] <antmas> just started reading Dark Tower
404: [02:32:38] <Ryan-Toast> antmas: good?
405: [02:32:45] <irogue_> Ryan-Toast: it's up there with an aussie accent for me
406: [02:32:48] <Ryan-Toast> I just started reading the Malzan series.
407: [02:32:53] <Ryan-Toast> or however it’s spelt.
408: [02:33:02] <antmas> Ryan-Toast: hell yeah
409: [02:33:07] <Ryan-Toast> Malazan**
410: [02:33:09] <irogue_> OH SNAP THAT GUY IS HOT <he speaks> whoa nope nope nope
411: [02:33:23] <irogue_> which is unfortunate, because so many aussies are hot
412: [02:33:23] <Ryan-Toast> irogue_: Lol
413: [02:33:29] <antmas> Stephen King might have his short-comings but his famous stuff is amazing
414: [02:33:38] <Ryan-Toast> irogue_: At least they don’t Y'all
415: [02:34:00] <ss23> idk
416: [02:34:00] <Stomach> Ryan-Toast - silchas ruin is badass
417: [02:34:07] <ss23> I read It, it wasn't that good
418: [02:34:36] <Stomach> 13:47 or whatever the time title one that came out in the past ~3 years is really good
419: [02:34:41] <Ryan-Toast> Can’t wait for the next Robin Hobb trilogy to start. August get hype!
420: [02:35:18] <Stomach> never read any of his stuff
421: [02:35:22] * zippy__ has joined #silverstripe
422: [02:35:25] <Stomach> I just wish there was more of the belgariad
423: [02:35:33] * zippy__ quit (Client Quit)
424: [02:35:41] <Stomach> and halfmen of O
425: [02:35:47] <Stomach> fuck you maurice gee, should have written adult books
426: [02:35:48] <Ryan-Toast> Stomach: Her stuff?
427: [02:35:56] <Stomach> Ryan-Toast: exactly
428: [02:36:23] <Ryan-Toast> Stomach: You have a long weekend :) http://www.goodreads.com/book/show/45107.Assassin_s_Apprentice
429: [02:36:47] <Stomach> added to list
430: [02:36:54] <Stomach> gotta finish Cather in the Rye series first
431: [02:36:58] <Stomach> Catcher*
432: [02:37:03] <Ryan-Toast> I’ve read three of her trilogies, all set in the same world.
433: [02:37:14] <Ryan-Toast> Her characters are so well fleshed out.
434: [02:37:46] <antmas> I've been reading Ambrose Bierce. Some of the best horror stories ever
435: [02:38:58] <Stomach> hes pretty oldschool
436: [02:39:03] <antmas> actually want to read Del Toro's 'The Strain' series. Especially after the tv trailer.
437: [02:39:30] <Stomach> can you do <% if !$True %> in templates somehow?
438: [02:39:37] <Stomach> without an else
439: [02:40:40] <ss23> I watched Pan's Labyrinth, Del Toro
440: [02:40:42] <ss23> It was lame
441: [02:40:54] <Colin[pi]> Ryan-Toast: how are you at identifying fonts?
442: [02:40:58] <Stomach> yeah I didn't enjoy it either
443: [02:41:05] <Ryan-Toast> Colin[pi]: Meh
444: [02:41:06] <Stomach> ss23 - it was just a bit all over the place
445: [02:41:10] <Ryan-Toast> Colin[pi]: I can try
446: [02:41:12] <antmas> ss23 -_-
447: [02:41:17] <antmas> ss23: you're lame
448: [02:41:18] <Ryan-Toast> Colin[pi]: you could use whatthefont?
449: [02:41:26] <Colin[pi]> i tried, no dice
450: [02:41:37] <antmas> Colin[pi]: link to the font?
451: [02:41:41] <Ryan-Toast> Give us a smash then
452: [02:41:47] <Colin[pi]> http://i.imgur.com/8s0Ul2b.gif
453: [02:41:55] <Colin[pi]> kinda small, soz
454: [02:42:03] <antmas> looks very familiar
455: [02:42:10] <Ryan-Toast> open sans
456: [02:42:11] <Colin[pi]> I know.. but I can't seem to get a match
457: [02:42:14] <Colin[pi]> really?
458: [02:42:20] <antmas> yup
459: [02:42:23] <Stomach> Courier new
460: [02:42:28] <Ryan-Toast> windings
461: [02:42:29] <Colin[pi]> wingdings
462: [02:42:31] <Colin[pi]> LOL
463: [02:42:32] <Stomach> hahaha
464: [02:43:07] <antmas> I can't get enough of Segoe UI
465: [02:43:11] <antmas> <3
466: [02:43:13] <Colin[pi]> I don't think it's open sans :\
467: [02:43:37] <Ryan-Toast> Colin[pi]: No idea then, man. Fonts aren’t really my thing :P
468: [02:43:45] <spronk> IDENTIFONT!
469: [02:43:47] <Colin[pi]> k no worries
470: [02:43:48] <antmas> Colin[pi]: it does look similar
471: [02:44:09] <Colin[pi]> spronk: will try
472: [02:44:52] <antmas> font designers are very different people
473: [02:45:00] <ss23> typography!
474: [02:45:08] <irogue_> .css
475: [02:45:08] <ss23> I lost my copy of EoTS :(
476: [02:45:34] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
477: [02:46:04] <Ryan-Toast> Typography is something I need to study. It’s a massive flaw in my knowledge.
478: [02:46:15] <ss23> Get copy of EoTS
479: [02:46:16] <ss23> Read it
480: [02:46:19] <ss23> now you are typography master
481: [02:46:25] <antmas> EoTS?
482: [02:46:32] <ss23> Elements of Typographic Style!
483: [02:47:15] <antmas> hmmmm
484: [02:47:19] <Stomach> kerning
485: [02:47:21] <antmas> I bet that's an exciting read
486: [02:47:30] <Stomach> 
487: [02:47:50] <Kingy> ss23: did ya see my PM earlier
488: [02:48:02] <ss23> Yeah
489: [02:48:16] <ss23> Feel free to do that stuff, but send an eamil to igor + me
490: [02:48:48] <Kingy> sweet. Heres hoping I don't break anything :)
491: [02:49:13] <antmas> famous last words
492: [02:49:28] <antmas> that's what I say to myself every morning when I arrive at work
493: [02:49:43] <Kingy> haha yeah I don't have access to production
494: [02:49:44] <ss23> lol
495: [02:49:50] <Kingy> so it'll only be test that dies
496: [02:49:59] <antmas> Kingy: same here :P
497: [02:50:18] <antmas> our neckbeards have a wall of +10 strength on prod
498: [02:50:23] <ss23> hahah
499: [02:50:42] <Kingy> lolol
500: [02:58:10] <Stomach> really? they trust you to code the sites but not to deploy?
501: [02:59:17] <ss23> ^
502: [02:59:20] <ss23> always seemed weird to me
503: [02:59:33] <antmas> Stomach: not for SS stuff as once it's off to user agent testing - I move onto the next project
504: [02:59:36] <ss23> My normal process is to grant you test access, then once you know the deployment tools, give prod access too
505: [02:59:45] <antmas> but I deploy all my .net projects
506: [02:59:58] <Stomach> you can fuck up so much more stuff with code than with a deploy
507: [03:00:08] <Stomach> points to broken deployment processes for me
508: [03:00:23] <ss23> End of the day, I'm going to make you fix shit if you deploy broken code, so you can deploy it if you want
509: [03:00:26] <ss23> :D
510: [03:00:43] <Stomach> although one time I accidently a database
511: [03:00:52] <Stomach> good thing I always back up before deploys
512: [03:01:03] <Stomach> only ~5 mins outage and a 3 hour meeting about it...
513: [03:01:34] <ss23> lol
514: [03:01:39] <ss23> That's annoying XD
515: [03:01:50] <ss23> I had a coworker drop a prod database
516: [03:01:58] <antmas> or you know, don't deploy shit that can break
517: [03:02:01] <ss23> Took maybe ~3 hours to restore, since had to find backusp then replay binlog
518: [03:02:03] <antmas> that's what testing is for
519: [03:02:08] <ss23> antmas: All shit can break
520: [03:02:08] <ss23> :P
521: [03:02:15] <Stomach> replay binlog sounds like a horrible time
522: [03:02:28] <ss23> Stomach: yeah, but important, we were ecommerce
523: [03:02:33] <Stomach> mine was meetings about the error report we needed to send the client
524: [03:02:39] <Stomach> mine was ecommerce too :D
525: [03:02:44] <ss23> ah yep
526: [03:02:45] <ss23> :D
527: [03:02:49] <Stomach> put site into maintenance mode before doing anything though
528: [03:02:54] <Stomach> so all good :P
529: [03:03:04] <antmas> doing any restore of backups sucks
530: [03:03:10] <Stomach> 15 mins maintenance, drop sessions, drop database, oh shit
531: [03:03:50] <Stomach> the three hour meeting was mostly about what wed send to client
532: [03:04:01] <Stomach> apparently "Stevie fucked up real good" isn't a thing
533: [03:04:11] <antmas> lol
534: [03:04:31] <antmas> I get that as soon as something goes wrong, even when it's not my fault :P
535: [03:04:33] <Kingy> Stomach: it's my first time using deploynaut etc so I'd rather not be allowed to run wild on production lol
536: [03:04:38] <antmas> shit slides downhill reaaaal quick
537: [03:05:18] <Kingy> this is an awesome tool though
538: [03:05:54] <Stomach> beam ftw
539: [03:06:04] <Stomach> deploy to live: "beam up live"
540: [03:06:11] <Stomach> deploy to staging: "beam up staging"
541: [03:06:13] <Stomach> wooooo
542: [03:06:20] <Kingy> deploynaut.. click 'deploy'
543: [03:06:47] <antmas> that should really be beam me up
544: [03:07:09] * r_hector quit (Quit: Leaving.)
545: [03:07:12] <Kingy> ^
546: [03:08:06] * iamss has joined #silverstripe
547: [03:08:30] * r_hector has joined #silverstripe
548: [03:08:32] <iamss> has anyone tried extending the swipestripe receipt email to attach the invoice?
549: [03:08:51] <Stomach> yep
550: [03:09:17] <iamss> Stomach: you did?
551: [03:09:20] <Stomach> yeah
552: [03:09:26] <iamss> may I know how you’ve done that please?
553: [03:09:37] <Stomach> had to edit swipestripe core
554: [03:09:49] <iamss> or is there a module extension for that
555: [03:10:02] <Stomach> and the swipestripe-addresses template which gets sent instead of the usual one if you use that module
556: [03:10:19] <Stomach> theres no module that I'm aware of for that
557: [03:10:33] <ss23> more fresh bread~
558: [03:10:48] <Stomach> theres no invoice either that I'm aware of? or do you just mean the order information?
559: [03:11:01] <antmas> ss23: send this way please
560: [03:11:11] * antmas reaches toward ss23
561: [03:11:44] <iamss> actually it’s a pdf version of the order information attached to the email
562: [03:12:48] <Stomach> are you generating that using wkhtml or somesuch?
563: [03:13:01] <Stomach> (that would be cool to get the code for as a module btw)
564: [03:13:30] <Stomach> but yeah, at the moment the only way to edit the emails that are sent is through editing core files :\
565: [03:13:38] <ss23> antmas: Nope!
566: [03:13:42] <ss23> SilverStripe only!
567: [03:13:55] * Stomach is now known as SilverStripe
568: [03:13:56] <antmas> ss23: you have to take care of clients as well thank you
569: [03:13:58] <SilverStripe> bread please
570: [03:14:02] <antmas> lol
571: [03:14:04] <ss23> XD
572: [03:14:12] <ss23> Fine, get here within 10 minutes!
573: [03:14:44] <SilverStripe> fuck
574: [03:14:53] <SilverStripe> if I was still in Wellington I would be running right now
575: [03:15:04] * SilverStripe is now known as Stomach[needsbre
576: [03:15:10] * Stomach[needsbre is now known as Stomach
577: [03:15:49] <spronk> bleh
578: [03:16:08] <antmas> ss23: on my way http://meowgifs.com/wp-content/uploads/2013/02/a-cat-gif-flying_cat.gif
579: [03:16:18] <iamss> Stomach: yeah I’ll use pdfgeneration module to generate a pdf from ss template
580: [03:16:33] <ss23> XD
581: [03:17:04] <iamss> I’m looking at extending the OnAfterPayment and their Email sending class as it doesn’t have the attach file code
582: [03:17:09] <spronk> attempting to convert a carousel into an infinite carousel
583: [03:17:10] <spronk> hard.
584: [03:17:29] <Stomach> iamss - the problem with that is that then two emails would be sent
585: [03:17:39] <Stomach> on in afterPayment and then in the extension
586: [03:18:03] <iamss> yeah true because the email is already sent before the OnAfterPayment is declared
587: [03:18:08] <Stomach> yup
588: [03:18:13] <Stomach> thus core hacks :(
589: [03:18:40] <Kingy> ss23: I broked it lol
590: [03:18:51] <Kingy> 504 Gateway Time-out
591: [03:19:04] <Stomach> iamss - also have a look at this module for PDF generation, the other one seems way out of date? https://github.com/heyday/silverstripe-wkhtml
592: [03:19:33] <Kingy> oh never mind
593: [03:19:34] <Kingy> it works now
594: [03:19:39] <Kingy> glitch in the matrix
595: [03:19:47] <ss23> Kingy: Yeah, that's just cause its an overloaded server :P
596: [03:19:52] <ss23> If that happens, wait a min or two and try again
597: [03:20:15] <iamss> Stomach: thanks, I’l; give it a try
598: [03:20:43] <Stomach> you should open an issue on the swipestripe module about the email stuff too, its totally a legitimate thing to want to do
599: [03:20:57] <iamss> another solution is to override the OnAfterPayment function
600: [03:21:51] <ss23> Okay guys, now I'm just baffled
601: [03:22:10] <ss23> https://github.com/silverstripe/silverstripe-subsites/blob/0.4/code/extensions/ControllerSubsites.php
602: [03:22:16] <ss23> This is literally never called, right?
603: [03:22:25] <ss23> Like, "controllerAugmentInit" isn't referenced anywhere
604: [03:22:52] <iamss> yeah or I’ll create a module and pass it to the community,
605: [03:24:43] <ss23> Simple assumptions like "Oh someone write an entire extension, so it's probably used" don't seem to hold for subsites
606: [03:26:10] <Stomach> iamss - cool, either is good
607: [03:26:13] <Stomach> :D
608: [03:26:15] <Stomach> where are you based?
609: [03:27:04] <iamss> home’based’? hehe just kidding, I live here in the Philippines
610: [03:27:17] <Stomach> oh, cool !
611: [03:27:27] <Stomach> philipino batman ftw
612: [03:27:42] <Stomach> ss23 - could potentially be dead code from 2.4?
613: [03:28:08] <Stomach> ss23 - nope :S
614: [03:28:21] <ss23> Yeah, someone suggested that too, and I thought it sounded good, but then they were like "hmm no"
615: [03:28:27] <ss23> But since it's not used, I'm going to remove it >.>
616: [03:28:34] <Stomach> you'll break subsites
617: [03:28:38] <Stomach> the whole thing will break
618: [03:28:50] <Stomach> there will be a md5 on that filesize which relates to an id somewhere
619: [03:29:02] <Stomach> thats how subsites work, by magic
620: [03:30:34] * iamss has left #silverstripe
621: [03:32:23] <Kingy> do you suggest using subsites? People on this end are wanting me to set up some 'micro sites'
622: [03:32:34] <Kingy> I was thinking subsites sounds like the thing to use
623: [03:32:56] <ss23> Subsites is bad
624: [03:33:02] <ss23> In general, you should not use it
625: [03:33:09] <ss23> Unless you have a week to fix the bugs you find in it
626: [03:33:11] <Stomach> its good if you like headaches
627: [03:33:16] <ss23> ^^
628: [03:33:21] <ss23> Kingy: It's poorly maintened, buggy, etc
629: [03:33:23] <Kingy> haha duly noted
630: [03:33:50] <Kingy> so you reckon a completely separate instance of SS
631: [03:33:53] <Stomach> when clients say "microsites" they usually mean a bespoke website with different functionality from each other anyhow
632: [03:34:05] <ss23> Kingy: Depends on the use case
633: [03:34:18] <ss23> Many many many times, people will try use subsites/multisites/whatever when they *should* be a different instance
634: [03:35:05] <Kingy> hmm
635: [03:38:35] <Stomach> Kingy - I'm in the middle of writing a big international organisation website with multiple branch websites and a members area
636: [03:38:39] <Stomach> which sounds like subsites
637: [03:38:50] <Stomach> but we wrote all of our controllers for it, because it was more painless
638: [03:39:10] <Kingy> Yeah good thing is I've already got a base which sounds pretty similar
639: [03:39:24] <Kingy> So I'll probably expand off that and go that route
640: [03:42:51] * cloph has joined #silverstripe
641: [03:42:56] * cloph_away quit (Ping timeout: 252 seconds)
642: [03:52:42] <Stomach> man, there are pull requests from 2011 on the subsites module with no comments or anything on them :(
643: [03:52:46] <Stomach> poor guys who did that work
644: [03:52:56] <ss23> lol
645: [03:52:58] <ss23> Want to fix it?
646: [03:52:59] <ss23> :D
647: [03:53:16] <Stomach> I already have enough of a backlog for swipestripe
648: [03:53:38] <Stomach> + you know, client work
649: [03:53:42] <Stomach> fucking clients
650: [03:55:37] <Colin[pi]> ^
651: [03:55:47] <antmas> ^^
652: [03:56:19] * UncleCheese has joined #silverstripe
653: [03:59:54] <ss23> https://github.com/silverstripe/silverstripe-subsites/pull/142 https://github.com/silverstripe/silverstripe-subsites/pull/143
654: [04:00:01] <ss23> ss23 be fixin' subsites like there's no tomorrow
655: [04:00:43] <Colin[pi]> better be a tomorrow cause you'll need more than one day to fix it
656: [04:01:31] <ss23> XD
657: [04:01:32] <ss23> trudat
658: [04:01:46] <ss23> Still, those two together fix my immediate issue of locale not being set
659: [04:01:59] <Stomach> http://logs.simon.geek.nz/index.php?date=2014-05-30#log_1302428
660: [04:02:05] <Stomach> knew I was right
661: [04:02:18] <ss23> hahha
662: [04:02:42] <ss23> it sounds so sarcastic, Stomach!
663: [04:02:54] <Stomach> its just the way I lex
664: [04:03:04] <ss23> It wasn't sarcastic, right, right?
665: [04:03:36] <Stomach> not really - you actually are the only ss dev who talks to me
666: [04:03:39] <Stomach> so thus are the best
667: [04:03:49] <ss23> XD
668: [04:05:13] <Stomach> man, drank a V after our talk about coffee
669: [04:05:17] <Stomach> my legs are mental
670: [04:05:44] <ss23> hahah
671: [04:07:13] * Stomach pours whiskey into the rest of the V
672: [04:07:19] <Stomach> that'll sort it out, right?
673: [04:07:22] <Colin[pi]> anyone else get restless leg here?
674: [04:07:28] <Colin[pi]> drives me nuts
675: [04:07:39] <Stomach> Colin[pi] - I have restless lower half of my body right now
676: [04:07:43] <Stomach> i need to go for a walk
677: [04:07:45] <Stomach> bbs
678: [04:08:05] <ss23> I got into the habit of tapping my feet to music
679: [04:08:06] <Colin[pi]> Stomach: lol
680: [04:08:09] <ss23> It's horrible, I can't stop now
681: [04:10:09] <Colin[pi]> if I get overtired, when I go to bed my legs get restless and ache :(
682: [04:10:16] <Colin[pi]> and the only way to fix it is to sleep
683: [04:10:20] <Colin[pi]> but the legs keep you awake
684: [04:10:23] <Colin[pi]> FFFFUUUUU
685: [04:10:39] <antmas> Colin[pi]: dude yes
686: [04:10:46] <antmas> Colin[pi]: I'm a serial leg bouncer
687: [04:11:30] <Colin[pi]> it's soooo annoying
688: [04:11:33] <antmas> ss23: I get told off constantly for trying to tap my feet to double kicks when I'm listening to metal
689: [04:13:11] * ss23 headbangs
690: [04:13:17] <ss23> I AM YOUR ENDLESS PAIN
691: [04:13:19] <ss23> THE SURTUR IS MY NAME
692: [04:13:24] <Ryan-Toast> Cool: http://codepen.io/hugo/pen/zqHdp
693: [04:13:39] <ss23> SEE ME RISE, THE MIGHTY SURTUR, DESTROYER OF THE UNIVRSE
694: [04:13:57] <ss23> BRINGER OF FLAMES AND ENDLESS HURT, SCORTCHER, OF MEN AND DIRT
695: [04:14:32] <Colin[pi]> can't get into metal :\
696: [04:14:46] <ss23> Yeah, people like different things
697: [04:15:15] <ss23> flush=al
698: [04:15:17] <ss23> please al, go away.
699: [04:15:38] <Colin[pi]> all doesn't even do anything right?
700: [04:15:43] <antmas> Colin[pi]: takes a LONG time
701: [04:15:43] <Colin[pi]> flush=1 is enough
702: [04:15:51] <antmas> Colin[pi]: to get into metal*
703: [04:15:56] <ss23> It will do the same thing as flush=1, yeah
704: [04:16:05] <Colin[pi]> antmas: mm I like lots of different music, but not hip hop, rap or metal
705: [04:16:12] <ss23> https://www.youtube.com/watch?v=5aaOqUYG8Tw
706: [04:16:16] <Colin[pi]> well... rage against the machine I like
707: [04:16:18] <ss23> o/ o/ o/ o/
708: [04:16:20] <ss23> haha
709: [04:16:22] <ss23> Rage isn't metal though!
710: [04:16:24] <Colin[pi]> but that's not metal
711: [04:16:25] <Colin[pi]> no
712: [04:16:29] <Colin[pi]> more rap
713: [04:16:56] <ss23> Most people are okay with a little bit of rock though
714: [04:17:10] <ss23> Played A Perfect Circle on office speakers, people were okay with that
715: [04:17:15] <ss23> And System of a Down
716: [04:17:26] <Colin[pi]> System of a Down is ok
717: [04:20:11] <ss23> But it's so METAL
718: [04:20:41] <antmas> SoaD isn't metal to me
719: [04:21:09] <ss23> Hard Rock!
720: [04:21:13] <Colin[pi]> mm
721: [04:21:43] <Colin[pi]> at least I didn't publicly announce I like Nickelback... like our federal treasurer did
722: [04:21:47] <Colin[pi]> only adding to his ridicule
723: [04:22:23] <Kingy> ss23: ssh failed. Could not load .ssh/id_rsa as a RSA1 public key
724: [04:22:27] <Kingy> connection closed by remote host
725: [04:22:31] <Kingy> god dammit! lol
726: [04:22:57] <Stomach> saw japanese/chinese/somese triplets! cuuuuuuute
727: [04:23:03] <Ryan-Toast> Anyone ever made a previous/next page for items in sitetree?
728: [04:23:28] <Stomach> Ryan-Toast - yep
729: [04:23:28] <Ryan-Toast> Stomach: Got a snippet?
730: [04:23:40] <antmas> Colin[pi]: yea he should probably kill himself
731: [04:23:50] <Colin[pi]> antmas: lol
732: [04:24:21] <Stomach> Ryan-Toast - one sec
733: [04:25:35] <antmas> Colin[pi]: so this exists because of Nickleback https://www.youtube.com/watch?v=LiaYDPRedWQ
734: [04:25:42] <antmas> lead singer wrote the song for her
735: [04:26:31] <Ryan-Toast> I would hit that like a domestic violence case.
736: [04:27:29] * anselmdk has joined #silverstripe
737: [04:27:52] <Ryan-Toast> God those drops are awful.
738: [04:28:03] <antmas> the whole thing is just a mess
739: [04:28:18] * Guest19771 quit (Ping timeout: 240 seconds)
740: [04:31:51] <Colin[pi]> Ryan-Toast: hope you got protection
741: [04:32:02] <antmas> full body condom only
742: [04:32:06] <Colin[pi]> lol
743: [04:32:17] <Ryan-Toast> Colin[pi]: I have penicillin
744: [04:32:20] <Colin[pi]> mm yeah that song is pretty shit
745: [04:32:39] <Colin[pi]> nice dubstep
746: [04:32:46] <Colin[pi]> even her hair is like skrillex
747: [04:33:00] <antmas> gross^^
748: [04:33:06] <Ryan-Toast> Awful dubstep.
749: [04:33:15] <Colin[pi]> nope gotta stop it
750: [04:33:32] <Ryan-Toast> the audio would make for some good remixes though.
751: [04:33:54] <Stomach> Ryan-Toast - http://www.sspaste.com/paste/show/538806b5447df
752: [04:33:58] <Ryan-Toast> Having a listen to some of them, all bad so far.
753: [04:33:59] <ss23> 16:22:24 < Kingy> ss23: ssh failed. Could not load .ssh/id_rsa as a RSA1 public key
754: [04:34:03] <ss23> Looks like a problem on your end? :D
755: [04:34:06] <Stomach> obviously remove classname->wine etc
756: [04:34:15] <Ryan-Toast> Stomach: Cheers :)
757: [04:34:32] <ss23> 16:26:32 < Ryan-Toast> I would hit that like a domestic violence case.
758: [04:34:33] <Kingy> ss23: yeah I think it might be an issue with the keys
759: [04:34:34] <ss23> duuuuuuuuuuuuude
760: [04:35:07] <Ryan-Toast> ss23: :P
761: [04:36:07] * simon_w|air has joined #silverstripe
762: [04:36:18] <Colin[pi]> hey heeeey here's simon_w|air
763: [04:36:25] <Colin[pi]> welcome back to NZ
764: [04:36:45] <simon_w|air> I made it!
765: [04:36:47] <Colin[pi]> you see he had one lunch with me yesty and the next day he's on a plane to NZ
766: [04:36:54] <Colin[pi]> I'M THAT HIDEOUS
767: [04:37:18] * antmas quit (Ping timeout: 240 seconds)
768: [04:53:02] <ss23> simon_w|air: Wanna get burgerfuel?
769: [04:53:03] <ss23> :D
770: [04:53:13] <simon_w|air> ss23, at some point
771: [04:53:21] <Kingy> keen
772: [04:55:04] <Kingy> right I'm outta here. Enjoy the long weekend fellow NZers
773: [04:55:09] <Stomach> later buddy
774: [04:55:17] <simon_w|air> Woo, two long weekends in a row!
775: [04:55:25] <Kingy> wait simon_w|air I was just going to say
776: [04:55:29] <Kingy> you suck lol
777: [04:55:49] <Ryan-Toast> Stomach: changed it around a little if you were interested.
778: [04:55:50] <Ryan-Toast> http://pastebin.com/U7Zq79Sx
779: [04:56:21] <Stomach> calling a non-static function statically! :o
780: [04:56:42] * Kingy is now known as Kingy[a]
781: [04:56:48] * Ryan-Toast doesn’t know what he’s doing
782: [04:56:57] <Ryan-Toast> Stomach: how shoukld I change it?
783: [04:57:06] <Ryan-Toast> To make it dynamic?
784: [04:57:07] <Stomach> $this-> instead of self::
785: [04:57:11] <Ryan-Toast> Oh, right.
786: [04:57:30] * bridgetm quit ()
787: [04:57:40] <Ryan-Toast> what’s the difference?
788: [04:57:47] * Ryan-Toast <—— noob
789: [04:58:59] <Stomach> thats a bigger conversation than for IRC :P
790: [04:59:20] <Ryan-Toast> Ah, right :)
791: [04:59:25] <Stomach> basically static functions arent instance based, so they can't access stuff on an object
792: [04:59:39] <Ryan-Toast> Welp, 5pm. Later, lads. Have a good long weekend. LONG LIVE THE QUEEN
793: [04:59:45] <Stomach> in fact, its probably better to leave your self:: and change NavigationLink to public static function
794: [05:00:04] <Stomach> because it doesn't use any information from the current instance anyway :)
795: [05:00:15] <Stomach> oh wait no it does
796: [05:00:16] <Stomach> I take it back
797: [05:00:18] <Ryan-Toast> Instance of what?
798: [05:00:20] <Stomach> like in a static function there is no $this
799: [05:00:53] <Stomach> instance of the object - like when you have Page you can call $this to get the current Page
800: [05:01:00] <Stomach> in a static function it doesn't know what $this is
801: [05:01:17] <Stomach> simon_w|air help me out here
802: [05:01:51] <simon_w|air> With what?
803: [05:02:00] <Stomach> explaining static
804: [05:02:23] <jordanmk> hey guys, what would be the best way to create a sort of 'file browser' within the front-end of a website that allows you to browse through an actual folder structure (within the website's assets folder)?
805: [05:02:32] <simon_w|air> It's a class method instead of an object one
806: [05:02:50] <jordanmk> does anyone know if there is anything in SilverStripe (or any SS modules) for that sort of purpose?
807: [05:03:23] <jordanmk> or would i need to just manually write functions that inspect the file system and return names of folders etc.
808: [05:03:39] * Shrike_Finland has joined #silverstripe
809: [05:03:44] <Ryan-Toast> Stomach: Conversation for another day :) Bai
810: [05:03:47] * Ryan-Toast has left #silverstripe
811: [05:03:50] <Stomach> later buddy
812: [05:04:33] * Shrike_Finland quit (Client Quit)
813: [05:05:55] * mobiusnz quit (Quit: Leaving.)
814: [05:15:14] * Selay quit (Quit: Page closed)
815: [05:16:51] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
816: [05:17:09] * guci0 has joined #silverstripe
817: [05:17:12] <guci0> Hello World!
818: [05:17:35] <Stomach> Hello guci0!
819: [05:41:06] * travis-ci has joined #silverstripe
820: [05:41:06] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2648 (3.1 - 89333d5 : Damian Mooyman): The build passed.
821: [05:41:06] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/fda91b7f8cf2...89333d575daa
822: [05:41:06] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/26359236
823: [05:41:06] * travis-ci has left #silverstripe
824: [05:48:19] * srikanth quit (Ping timeout: 240 seconds)
825: [05:49:56] * Shrike_Finland has joined #silverstripe
826: [05:58:58] * simon_w|air quit (Quit: This computer has gone to sleep)
827: [05:59:54] * simon_w has joined #silverstripe
828: [06:02:44] * Shrike_Finland quit (Quit: Leaving.)
829: [06:03:17] <Colin[pi]> simon_w! what can I write about on my blog?
830: [06:03:26] * Shrike_Finland has joined #silverstripe
831: [06:03:30] <simon_w> Me!
832: [06:04:17] <Colin[pi]> hmm ok!
833: [06:12:14] <Colin[pi]> simon_w: what were the usually meetup times in NZ?
834: [06:12:18] <Colin[pi]> *usual
835: [06:13:18] * Shrike_Finland quit (Quit: Leaving.)
836: [06:13:29] <simon_w> 6.30-8.30 IIRC
837: [06:13:34] <Colin[pi]> k
838: [06:14:07] <Colin[pi]> I spoke with my contact at the hotel today, he wants me to send through some details and he'll get back to me
839: [06:14:48] * Shrike_Finland has joined #silverstripe
840: [06:16:51] <simon_w> I was going to email Shane to ask if he knows anything about the potential interest of a meet up
841: [06:17:29] <Colin[pi]> mm I was considering dropping him a line also
842: [06:18:12] <simon_w> Well, I'm on "holiday" until Tuesday
843: [06:24:09] * Shrike_Finland quit (Quit: Leaving.)
844: [06:48:46] * Shrike_Finland has joined #silverstripe
845: [06:50:42] * Shrike_Finland1 has joined #silverstripe
846: [06:54:32] * Shrike_Finland quit (Ping timeout: 255 seconds)
847: [07:12:26] * mobiusnz has joined #silverstripe
848: [07:19:44] * simon_w quit (Quit: This computer has gone to sleep)
849: [07:23:31] * mobiusnz quit (Quit: Leaving.)
850: [07:26:56] * gelignite has joined #silverstripe
851: [07:31:33] * anselmdk quit (Read error: Connection reset by peer)
852: [07:31:46] * anselmdk has joined #silverstripe
853: [07:32:19] * Shrike_Finland1 quit (Quit: Leaving.)
854: [07:36:01] * Shrike_Finland has joined #silverstripe
855: [07:42:14] * simon_w has joined #silverstripe
856: [07:45:22] * stnvh has joined #silverstripe
857: [07:52:29] * ARNHOE has joined #silverstripe
858: [07:54:55] * jrthomer_ has joined #silverstripe
859: [07:57:15] * kinglozzer has joined #silverstripe
860: [07:57:17] * jrthomer quit (Ping timeout: 264 seconds)
861: [07:57:18] * oetiker quit (Ping timeout: 252 seconds)
862: [07:57:19] * FrozenFire quit (Ping timeout: 252 seconds)
863: [07:59:40] * oetiker has joined #silverstripe
864: [08:02:36] * FrozenFire has joined #silverstripe
865: [08:16:14] * Pybembwk has joined #silverstripe
866: [08:20:03] * svandragt has joined #silverstripe
867: [08:21:14] <svandragt> Upated to 3.1.5 and there seems to be a problem with framework\model\Versioned.php:942 that calls a protected function Session::current_session() anyone seen this?
868: [08:22:16] <svandragt> https://github.com/silverstripe/silverstripe-framework/pull/3145 merged
869: [08:26:08] * mobiusnz has joined #silverstripe
870: [08:28:39] * babak quit (Quit: Connection closed for inactivity)
871: [08:34:13] * simon_w quit (Quit: This computer has gone to sleep)
872: [08:39:46] * simon_w has joined #silverstripe
873: [08:40:44] * micmania1 has joined #silverstripe
874: [08:44:49] <Pybembwk> Today I thought I was going to do work. What a silly idea that was!
875: [08:49:25] * Shrike_Finland quit (Quit: Leaving.)
876: [08:49:29] * richwest_ has joined #silverstripe
877: [08:51:44] * richwest_ is now known as richwestcoast
878: [09:03:05] <micmania1> Pybembwk: you coming to the pub tonight then or u out with work?
879: [09:03:28] <Pybembwk> micmania1: I might try to drop by for a quick pint.
880: [09:03:35] <Pybembwk> but yeh, out with work.
881: [09:03:38] <micmania1> cool
882: [09:03:38] <Pybembwk> in DHM
883: [09:03:57] <Pybembwk> micmania1: unless everyone bails of course (from the bridge) in which case I'll probably just go with the folks here
884: [09:04:05] <micmania1> yous just out on the drink?
885: [09:04:07] <Pybembwk> which, lets face it, is highly likely
886: [09:13:03] <Pybembwk> micmania1: drinks then dinner, yeh
887: [09:13:12] <Pybembwk> drinks at 7, dinner at 9
888: [09:13:41] * auto9 has joined #silverstripe
889: [09:13:44] <Pybembwk> micmania1: what's happening at the bridge? Your work getting on the sauce?
890: [09:14:03] <micmania1> Only some of us
891: [09:14:22] <micmania1> We're two companies who merged. its basically a few of the lads from the old company
892: [09:14:40] <micmania1> not a proper works do kind of thing.
893: [09:15:04] <micmania1> 1 of the lads got sacked not so long ago lol so we're being selective who we invite
894: [09:15:41] * thomas__ has joined #silverstripe
895: [09:16:44] * Alboes has joined #silverstripe
896: [09:17:59] <Alboes> good morning
897: [09:18:09] <micmania1> mornin'
898: [09:18:26] <Alboes> How can I make gridfields in the cms required fields?
899: [09:19:35] <micmania1> add a validate() method to your DataObject which checks for them
900: [09:19:55] <micmania1> http://api.silverstripe.org/3.1/class-DataObject.html#_validate - extend that
901: [09:20:28] * UncleCheese has joined #silverstripe
902: [09:20:34] <micmania1> $validationResult = parent::validate(); if($validationResult->valid()) { // do check }
903: [09:23:18] * thomas__ quit (Ping timeout: 240 seconds)
904: [09:23:43] <Alboes> okay, I'm gonna try, although often I mis just the simple examples instead of api docs
905: [09:23:55] <guci0> Hmm... How to load config yml stuff inside template? $SiteConfig.Company.Name won't work :(
906: [09:27:26] <Pybembwk> micmania1: haha, rude. sacked for what?
907: [09:27:47] <Pybembwk> disagreeing with shit business management?
908: [09:27:53] * spronk2 has joined #silverstripe
909: [09:28:14] <micmania1> Pybembwk: nar, too funny. He was arguing with some takeaway on Twitter
910: [09:28:24] <Pybembwk> Oh that's right, hahaha
911: [09:28:29] <Pybembwk> so rude :<
912: [09:28:36] <micmania1> Think he was pissed. Started getting abusive. Had his work in his profile
913: [09:28:45] <micmania1> People started tweeting work...
914: [09:29:13] <Pybembwk> Yeh, that's not cool eh.
915: [09:29:34] <Pybembwk> So yeah, might bustle up or 1 quick pint before jogging off to the station
916: [09:29:45] <Pybembwk> see how I feel at 4:30, lol
917: [09:35:06] <Alboes> why is just this not working? static $required_fields = array('Date');
918: [09:35:16] <Pybembwk> because static
919: [09:35:34] <Pybembwk> and no idea what context you're in, so maybe that too.
920: [09:38:14] <Alboes> i will switch to Wordpress. too bad documentation :(
921: [09:39:44] <micmania1> Alboes: Have you followed the tutorials?
922: [09:44:28] <Alboes> well, it's just this: function getCMSValidator() { return new RequiredFields('Date'); }
923: [09:45:07] <Alboes> I don't understand why nobody can tell this in just this simple way...
924: [09:45:38] <Pybembwk> FUCKING LOL
925: [09:46:12] <Pybembwk> 'i will switch to wordderp. too bad documentation' wordderp too bad EVERYTHING!!!
926: [09:46:51] <Pybembwk> Alboes: probably because the CMS doesn't use getCMSValidator (it's old code iirc). It's tricky.
927: [09:46:55] <Pybembwk> I'm not sure, sorry.
928: [09:47:28] <Pybembwk> perhaps a better thing to do would be to create a validate() function on the DataObject itself to check for a valid value in the field.
929: [09:47:40] <Pybembwk> if validate() returns false a write won't execute
930: [09:47:46] <Pybembwk> and an error is displayed.
931: [09:47:56] <Pybembwk> (return validationError iirc)
932: [09:48:20] <micmania1> [10:20:32] <micmania1> $validationResult = parent::validate(); if($validationResult->valid()) { // do check }
933: [09:48:32] <Pybembwk> yeah ^
934: [09:48:34] <Pybembwk> that
935: [09:48:36] <Pybembwk> exactly that.
936: [09:49:06] <Pybembwk> YourDataObject::validate() { // that^ ... }
937: [09:49:23] * worstcase has left #silverstripe
938: [09:50:43] <micmania1> Its in the "bad documentation" here: http://doc.silverstripe.com/framework/en/topics/datamodel#validation-and-constraints
939: [10:00:30] <Pybembwk> If you have to 'force' ZeroMQ to work as you expect, you are using it wrong.
940: [10:00:37] <Pybembwk> BEST DOC I EVER READ
941: [10:05:52] <Pybembwk> kinglozzer: concurr?
942: [10:06:41] <simon_w> Should try to find some version 1 man pages
943: [10:06:51] <kinglozzer> Pybembwk: I have no idea what ZeroMQ is, so I cannot concurr just yet
944: [10:07:13] <kinglozzer> But yeah on principle :P
945: [10:08:59] * simon_w quit (Quit: This computer has gone to sleep)
946: [10:21:18] * Colin[pi] quit (Ping timeout: 240 seconds)
947: [10:23:44] * Alboes quit (Remote host closed the connection)
948: [10:44:20] * kinglozzer quit ()
949: [10:54:47] <Pybembwk> It's an MQ like rabbit, I@d have thought that'd be obvious :<
950: [11:00:33] * Shrike_Finland has joined #silverstripe
951: [11:03:47] * richwestcoast quit (Ping timeout: 240 seconds)
952: [11:10:09] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
953: [11:14:36] * kinglozzer has joined #silverstripe
954: [11:19:22] * mobiusnz quit (Quit: Leaving.)
955: [11:23:07] * auto9 quit (Read error: Connection reset by peer)
956: [11:23:25] * auto9_ has joined #silverstripe
957: [11:24:38] * Colin[pi] has joined #silverstripe
958: [11:35:41] * mobiusnz has joined #silverstripe
959: [11:43:11] <Pybembwk> http://cdn.memegenerator.net/instances/400x/27804500.jpg
960: [11:45:11] * mobiusnz quit (Quit: Leaving.)
961: [11:45:48] * MiniZeka has joined #silverstripe
962: [11:46:00] <MiniZeka> hey, is it possible to extend TabSet class?
963: [11:47:09] <kinglozzer> Pybembwk: That's me with CSS
964: [11:48:02] <kinglozzer> MiniZeka: Of course, it's not a final class
965: [11:48:35] <MiniZeka> class TabSetExtended extends Extension, right?
966: [11:49:11] <MiniZeka> and then Object::add_extension('TabSet', 'ConnectedTabSet');
967: [11:49:19] <guci0> Have u got any solution for translate Boolean->Nice ?
968: [11:49:29] <MiniZeka> sorry, Object::add_extension('TabSet', 'TabSetExtended');
969: [11:49:35] <kinglozzer> Oh, you mean via a SilverStripe extension. Yeah you should be able to
970: [11:50:01] <kinglozzer> It extends Object so it should work
971: [11:50:16] <MiniZeka> yeah, via SS extension, since I should add functionality to some methods
972: [11:50:27] <MiniZeka> and I don't feel like I should edit core
973: [11:50:30] <kinglozzer> MiniZeka: It'll only work if those methods call ->extend()
974: [11:50:51] <MiniZeka> ah.. and ->push() doesn't...
975: [11:51:05] <MiniZeka> like insertBefore and insertAfter
976: [11:51:45] <kinglozzer> Not sure if you can use BeforeCallAspect / AfterCallAspect for that sorta stuff, I need to play around with that at some point
977: [11:52:07] * richwestcoast has joined #silverstripe
978: [11:52:18] * shellbackpacific has joined #silverstripe
979: [11:53:54] <MiniZeka> bummer
980: [11:54:12] <MiniZeka> what I'm trying to do is to make some kind of connected dropdowns
981: [11:54:32] <MiniZeka> something like Make -> Model dropdowns when you search for cars
982: [11:54:55] * gelignite quit (Quit: http://bit.ly/nkczDT)
983: [11:56:43] * anselmdk quit (Quit: anselmdk)
984: [12:00:02] <MiniZeka> did someone made that by chance?
985: [12:00:20] <ss23> MiniZeka: I've done stuff like that
986: [12:00:41] <ss23> Nothing built into SilverStripe, I did manual JavaScript that did like a Model::getModels($carid); that was accessible via AJAX
987: [12:01:30] <MiniZeka> well, ajax is not the problem :)
988: [12:01:47] <MiniZeka> problem is how to put two fields in cms but create only one?
989: [12:02:09] <ss23> Ummmm, like, you only want the second drop down to show up *after* you pick the make?
990: [12:02:24] <MiniZeka> no, that's easy also
991: [12:02:34] <MiniZeka> I want to create only one dropdown
992: [12:02:39] <ss23> Sorry, I am really tired not thinking right at hte moment sorry :O
993: [12:02:55] <kinglozzer> MiniZeka: Why? You'll need two dropdowns, can't you just hide one?
994: [12:03:01] <MiniZeka> and the code to take care of the rest (eg create second field and place it right after first one)
995: [12:04:04] <ss23> I am not sure I understand. Why not just use two dropdowns, and disable the second until you pick the first?
996: [12:04:27] <MiniZeka> ok, I'll go slowly :)
997: [12:04:32] <ss23> sorry! :(
998: [12:04:37] <MiniZeka> yes, I'll need two dropdowns
999: [12:04:51] <MiniZeka> in cms (ModelAdmin to be exact)
1000: [12:04:53] <MiniZeka> BUT
1001: [12:05:44] <kinglozzer> BUBBLE BUTT
1002: [12:05:46] <MiniZeka> I would like to make it this way - by creating only one field, eg ConnectedDropDownField()... whose code later kicks in and creates another field right below itself
1003: [12:05:47] <kinglozzer> :D
1004: [12:06:16] <MiniZeka> so in the end there are two fields, but you only initialize one, second is automaticaly added
1005: [12:06:20] <kinglozzer> MiniZeka: Any reason why you want to create it like that? It'd be a lot more effort for something you could do by just creating two fields and adding some JavaScript
1006: [12:07:17] <MiniZeka> because I think I'll need it in more than one place
1007: [12:08:21] <kinglozzer> Ah. I've not done anything like that (I've only done somthing similar to what ss23 said), but you should be able to extend DropdownField, add an extra parameter so you pass two field names, add extra javascript requirements etc
1008: [12:08:31] <MiniZeka> and by wrapping it up in new type of field I can reuse it by just creating new field
1009: [12:08:38] <ss23> 00:05:45 < kinglozzer> BUBBLE BUTT
1010: [12:08:41] <ss23> hahaha
1011: [12:08:54] <kinglozzer> Maybe add a callback which defines how it fetches the second dropdown list from the first, idk
1012: [12:08:57] <kinglozzer> ss23: ;)
1013: [12:09:00] * kinglozzer lunch bll
1014: [12:09:04] <kinglozzer> bbl*
1015: [12:09:41] <MiniZeka> kinglozzer: problem I'm experiencing is where should I put code which generates second field and puts it right after first one
1016: [12:09:53] <ss23> MiniZeka: Sorry, too complex for me. To make it reusable would probably erquire weird entwine stuff
1017: [12:10:27] <MiniZeka> ss23: it's PHP issue, why would I need entwine?
1018: [12:11:18] <ss23> To do the JavaScript callback to display/create the second dropdown? o.O
1019: [12:15:26] <Pybembwk> look it's ss23
1020: [12:17:18] * UndefinedOffset has joined #silverstripe
1021: [12:18:29] * alexwijn has joined #silverstripe
1022: [12:19:20] * alexwijn quit (Client Quit)
1023: [12:19:35] * alexwijn has joined #silverstripe
1024: [12:20:19] <alexwijn> Hi, does anyone know how to set a page as homepage?
1025: [12:20:36] <Pybembwk> make it #1 in site tree root
1026: [12:20:43] <Pybembwk> and make url segment 'home'
1027: [12:20:56] <alexwijn> why url segment home
1028: [12:21:33] <Pybembwk> because derp for the most part :<
1029: [12:21:50] <Pybembwk> There might be a better way, but I'm not sure of it.
1030: [12:21:56] <alexwijn> ah the url won't even get used :)
1031: [12:22:01] <Pybembwk> Maybe Zauberfish will know, since he deals with other languages.
1032: [12:22:13] <Pybembwk> alexwijn: yeah, if it is the homepage it gets redir'd to /
1033: [12:22:24] <alexwijn> well my homepage is an "about us" page
1034: [12:22:29] * Shrike_Finland quit (Quit: Leaving.)
1035: [12:23:03] <alexwijn> Alright, thanks
1036: [12:23:19] <Pybembwk> alexwijn: doesn't matter the type of page
1037: [12:23:37] <Pybembwk> that's just the easiest way I know of getting home to be home
1038: [12:23:48] <Pybembwk> if you rename it / will redirect to /whatever-you-put-in
1039: [12:23:57] <Pybembwk> kinda annoying.
1040: [12:23:57] <alexwijn> ok
1041: [12:24:04] <Pybembwk> well, should at least.
1042: [12:24:07] <Pybembwk> idk
1043: [12:24:20] <micmania1> alexwijn: RootURLController.default_home_link http://api.silverstripe.org/3.1/source-class-RootURLController.html#17
1044: [12:24:30] <Pybembwk> there we go.
1045: [12:24:35] <micmania1> set it in yaml
1046: [12:24:37] <Pybembwk> knew there must have been a better way :>
1047: [12:24:58] <Pybembwk> micmania1: still not that ideal though really is it?
1048: [12:25:19] <Pybembwk> if user wants to rename it for example...
1049: [12:25:24] <alexwijn> $host = str_replace('www.', null, $_SERVER['HTTP_HOST']);
1050: [12:25:25] <alexwijn> lol
1051: [12:25:36] <micmania1> Pybembwk: worked for me
1052: [12:25:36] * auto9_ quit (Read error: Connection reset by peer)
1053: [12:25:38] <alexwijn> You better not have a three w is your url :)
1054: [12:25:43] <alexwijn> in*
1055: [12:26:35] * auto9 has joined #silverstripe
1056: [12:27:22] <micmania1> MiniZeka: You can subclass a field and give it allowed_actions like a controller.
1057: [12:28:05] <alexwijn> The following url will get messed up I think: www.TheThreeWWW.com
1058: [12:31:35] <micmania1> That's pretty bad
1059: [12:31:42] <micmania1> it shouldn't even be there
1060: [12:31:53] <micmania1> //// TODO Move to 'homepagefordomain' module
1061: [12:33:08] <shellbackpacific> anybody here use vim and xdebug to debug ?
1062: [12:40:45] * Error404NotFound has joined #silverstripe
1063: [12:51:48] * auto9_ has joined #silverstripe
1064: [12:53:33] * Colin[pi] quit (Ping timeout: 252 seconds)
1065: [12:53:40] <alexwijn> I got xdebug
1066: [12:53:47] * auto9 quit (Ping timeout: 240 seconds)
1067: [12:53:52] <shellbackpacific> do you use it regularly?
1068: [12:53:56] <alexwijn> yes
1069: [12:54:01] <shellbackpacific> i had a hard time getting it working with vim..
1070: [12:54:15] <alexwijn> I do not use vim
1071: [12:54:22] <shellbackpacific> what editor do you use?
1072: [12:54:23] <alexwijn> I just use xdebug along with by IDE
1073: [12:54:31] <alexwijn> my*
1074: [12:54:34] <alexwijn> PHPStorm
1075: [12:55:10] <shellbackpacific> yeah i've got phpstorm…may try to get it going in vim one more time then just use phpstorm
1076: [12:55:49] <alexwijn> Why use VIM if you are working in a IDE that supports xdebug
1077: [12:56:12] <shellbackpacific> i'm not working in phpstorm :)
1078: [12:56:19] <shellbackpacific> i have it…prefer vim
1079: [12:56:30] <alexwijn> Well most real IDE works fine with xDebug
1080: [12:57:04] <alexwijn> Damn, VIM looks old
1081: [12:57:18] <alexwijn> its like notepad++ classic :)
1082: [12:57:23] <shellbackpacific> haha..just because it's old doesn't mean it's bad ;)
1083: [12:57:38] <alexwijn> Depends
1084: [12:57:48] <alexwijn> I dont think it supports the latest php syntax
1085: [12:58:02] <alexwijn> Does it even support autocomplete
1086: [12:58:16] <shellbackpacific> vim does have it's issues…plugin managment sucks. There's a refactor in progress though
1087: [12:58:17] <shellbackpacific> it does
1088: [12:58:41] <alexwijn> In progress lol
1089: [12:58:54] <alexwijn> Refactor is just standard other IDEs
1090: [12:59:11] <shellbackpacific> they just raised the money…i guess they were trying to raise 10K US…got like 30K US
1091: [12:59:19] <alexwijn> I see
1092: [12:59:28] <alexwijn> btw, PHPStorm got support for .SS files
1093: [13:01:18] <shellbackpacific> cool…just html syntax highlighting?
1094: [13:01:30] <alexwijn> No autocomplete
1095: [13:01:33] <shellbackpacific> ah ok
1096: [13:01:56] <alexwijn> if also give error when you dont have a end_if for example but you have a if statement
1097: [13:03:46] <shellbackpacific> i like phpstorm don't get me wrong…but i just don't like the idea of having an editor tailored just towards php. I use vim for pretty much anything and it's pretty widely available on all unix systems. plus the price and plugin system are hard to beat.
1098: [13:04:02] <alexwijn> You also got netbeans
1099: [13:04:22] <alexwijn> Beside Jetbrains (the creators of PHPStorm) also got IDE's for things like JAVA
1100: [13:04:39] <shellbackpacific> i used to be skeptical about vim and didn't want to take the time to learn it. I saw how productive some people can be with it and was blown away and decided to learn it
1101: [13:04:57] <alexwijn> I do not know anyone that use VIM
1102: [13:05:04] <shellbackpacific> yeah but i don't want 4 different IDEs open at once
1103: [13:05:35] * spronk2 quit (Quit: spronk2)
1104: [13:05:36] <alexwijn> You work in 4 different languages at the same time?
1105: [13:05:42] <shellbackpacific> sometimes
1106: [13:05:51] <alexwijn> Why?
1107: [13:06:07] <shellbackpacific> bc that's what's written/maintained/needed for the solution
1108: [13:06:09] <alexwijn> I understand maybe two, when developing a API for example for Android
1109: [13:06:41] <shellbackpacific> perl, python, php, javascript, css, html, markdown, ....
1110: [13:06:47] <shellbackpacific> shit pbly even more than that
1111: [13:07:05] <alexwijn> PHPStorm knows PHP, Javascript, css, html and markdown too
1112: [13:07:34] <shellbackpacific> perl and python?
1113: [13:07:44] <alexwijn> Not that
1114: [13:07:45] <shellbackpacific> can i ssh into any system and run phpstorm?
1115: [13:07:57] <alexwijn> yes
1116: [13:08:03] <alexwijn> wait
1117: [13:08:04] <alexwijn> ssh?
1118: [13:08:05] <alexwijn> lol
1119: [13:08:11] <shellbackpacific> haha
1120: [13:08:17] <alexwijn> So you want a terminal based IDE
1121: [13:08:21] <Pybembwk> no you shh
1122: [13:08:29] <shellbackpacific> correct…i want as much as possible in my terminal
1123: [13:08:33] <alexwijn> damn
1124: [13:08:34] <Pybembwk> vim
1125: [13:08:44] <alexwijn> I guess thats the only solution
1126: [13:08:52] <Pybembwk> well, emacs :£
1127: [13:09:07] <alexwijn> You dont work locally?
1128: [13:09:11] <shellbackpacific> different strokes…phpstorm is one of the best IDEs ive used though…jetbrains makes nice stuff
1129: [13:09:23] <Pybembwk> I use Notepad++
1130: [13:09:29] <shellbackpacific> local machine and remote machines
1131: [13:09:39] <alexwijn> I work locally and deploy to remote
1132: [13:09:42] * Colin[pi]_Mac has joined #silverstripe
1133: [13:09:50] <Pybembwk> if it syntax highlights and funciton collapses, I'm happy.
1134: [13:09:57] <Pybembwk> well, block collapses.
1135: [13:10:01] <alexwijn> Its bad practice if you edit files on the server
1136: [13:10:03] <kinglozzer> SUBLIME TEXT MASTER RACE
1137: [13:10:05] <Pybembwk> function collapse doesn't cut it anymore!
1138: [13:10:07] <shellbackpacific> yeah i deploy to remove and adminster remote linux systems/scripts
1139: [13:10:08] <alexwijn> in real time
1140: [13:10:09] <Pybembwk> kinglozzer: sif.
1141: [13:10:16] <shellbackpacific> haha sublime is good…
1142: [13:10:26] <Pybembwk> Notepad++, the sublime before there was a sublime... and open free.
1143: [13:10:27] <shellbackpacific> Atom is pretty nice...
1144: [13:10:44] <Pybembwk> I write code directly into Oprea.
1145: [13:10:47] <shellbackpacific> os x only (though you can compile on linux now i believe) but it's pretty nice
1146: [13:10:48] <Pybembwk> Opera*
1147: [13:11:06] <Pybembwk> cut out the middleman, just code directly into photoshop
1148: [13:11:07] <alexwijn> Do you use version control?
1149: [13:11:08] * anselmdk has joined #silverstripe
1150: [13:11:11] <alexwijn> lol
1151: [13:11:24] <shellbackpacific> i use vc…git
1152: [13:11:34] <Pybembwk> scm
1153: [13:11:42] <alexwijn> And you do not have a deployment script?
1154: [13:11:46] <Pybembwk> I did
1155: [13:11:47] <Pybembwk> once
1156: [13:11:49] <alexwijn> On the remote server when you release a version
1157: [13:11:51] <Pybembwk> I wrote it myself.
1158: [13:11:54] <shellbackpacific> sure
1159: [13:12:06] <Pybembwk> in BASH
1160: [13:12:22] <kinglozzer> Pybembwk: Photoshop > slice tool or w/e > save for web + devices > images + HTML
1161: [13:12:24] <shellbackpacific> i set up remotes to deploy to and use hooks to update the remote copy
1162: [13:12:25] <kinglozzer> So 2009
1163: [13:12:26] <kinglozzer> 6
1164: [13:12:27] <kinglozzer> 5
1165: [13:12:28] <kinglozzer> idk
1166: [13:12:39] <alexwijn> I'm still a little confused for why you need a terminal based IDE
1167: [13:12:47] <Pybembwk> kinglozzer: yeah, so pretty much dreamweaver->file->generatewebsiteandexit.
1168: [13:13:02] <kinglozzer> Ah dreamweaver <3
1169: [13:13:05] <Pybembwk> lol
1170: [13:13:24] <Pybembwk> Notepad++ & TortoiseGit
1171: [13:13:25] * shellbackpacific quit (Quit: Leaving.)
1172: [13:13:34] <Pybembwk> GIMP & Inkscape
1173: [13:13:36] <Pybembwk> jobdone
1174: [13:13:51] * shellbackpacific has joined #silverstripe
1175: [13:14:04] <alexwijn> Dreamweaver is huge
1176: [13:14:10] <kinglozzer> ST3, Tower, Photoshop - used to use Pixelmator cos free
1177: [13:14:12] <shellbackpacific> eww dreamweaver
1178: [13:14:17] <alexwijn> And i'm not talking about features
1179: [13:14:32] <Pybembwk> yeh, it's a behemoth and it's shit
1180: [13:14:37] <alexwijn> yup
1181: [13:15:04] <alexwijn> The only two products I use of Adobe is Photoshop and After Affects
1182: [13:15:12] <Pybembwk> I use none.
1183: [13:15:14] <shellbackpacific> we're using Adobe Reflow at work
1184: [13:15:16] <shellbackpacific> barf
1185: [13:15:28] <Pybembwk> Old job made me used Indesign and Photoshop
1186: [13:15:45] <kinglozzer> Indesign and Illustrator give me nightmares
1187: [13:15:48] <Pybembwk> but by 'use' I mean open, cut, export, open in GIMP, edit, export, use.
1188: [13:15:49] <alexwijn> Adobe Edge Reflow CC
1189: [13:15:55] <alexwijn> I just googled it, looks nice
1190: [13:16:05] <alexwijn> Its still in Beta
1191: [13:16:10] <Pybembwk> lol edge stuff
1192: [13:16:26] <shellbackpacific> reflow blows…it's a great marketing/design tool…generates garbage html/css
1193: [13:16:31] <Pybembwk> click button, get WWWWWWEEEEEEEEEBBBBBBBBBBSSSSSSSSSSIIIIIIIIIIITTTTTTTTTEEEEEEEEEEEEEEE
1194: [13:16:44] <alexwijn> oh
1195: [13:17:00] <shellbackpacific> of course the managers think we could save time by just plugging it's html/css right into development as-is…terrible
1196: [13:17:01] <alexwijn> Let me guess it generates html and css like Frontpage did back in the days?
1197: [13:17:04] <Pybembwk> "generates garbage html/css" this. Visual demonstration/joke ^^
1198: [13:17:06] <Pybembwk> :>
1199: [13:17:16] <Colin[pi]_Mac> eeuw frontpage
1200: [13:17:36] <kinglozzer> Lol, Frontpage was the shit when I was like 12 years old
1201: [13:17:41] <shellbackpacific> frontpage and dreamweaver (barfing)
1202: [13:17:41] <alexwijn> :)
1203: [13:17:57] <Pybembwk> alexwijn: nah, not that bad. It generates code like Dreamweavder did back when they made Edge, which is the same as it did 12 years ago.
1204: [13:18:39] <kinglozzer> I remember in IT lessons at school, everyone else built their websites in flash and just exported them as HTML with an SWF embedded
1205: [13:18:44] <Pybembwk> frontpage once put a separate <font colour="..."> tag around each individual character in a string when someone selected a single string and changed the colour.
1206: [13:18:58] <alexwijn> Damn....Flash
1207: [13:19:00] <Pybembwk> (I helped a chick do an assignment once)
1208: [13:19:05] <alexwijn> Who uses flash now a days
1209: [13:19:11] <Pybembwk> half the internet :(
1210: [13:19:23] <alexwijn> Even Adobe dropped support
1211: [13:19:41] <alexwijn> Not anymore
1212: [13:19:46] <alexwijn> The big companies does not use it
1213: [13:20:00] <Pybembwk> yeah, but sadly that still leaves half the internet ;)
1214: [13:22:31] <alexwijn> Does anyone of you know if there is somebody working something to have Silverstripe modules inside another folder?
1215: [13:22:39] <Pybembwk> no.
1216: [13:22:43] <Pybembwk> they ARE in a folder.
1217: [13:22:44] <alexwijn> oh
1218: [13:22:44] * anselmdk quit (Quit: anselmdk)
1219: [13:22:51] <alexwijn> in the root
1220: [13:22:53] <alexwijn> yes
1221: [13:22:55] <Pybembwk> yeh
1222: [13:22:59] <Pybembwk> dealwithit.jpg
1223: [13:23:00] <Pybembwk> :>
1224: [13:23:03] <alexwijn> but I like to have it in a folder called Modules or something
1225: [13:23:12] <Pybembwk> dealwithit.gif
1226: [13:23:13] <Pybembwk> :P
1227: [13:23:16] <alexwijn> And maybe categorize it inside it
1228: [13:23:21] <Pybembwk> nah
1229: [13:23:28] <alexwijn> I dont see your image
1230: [13:23:32] <Pybembwk> I know
1231: [13:23:44] <alexwijn> hm
1232: [13:23:49] <Pybembwk> it's the name that counts. there is no image, that's just ... some kind of internet trend or something.
1233: [13:23:57] <alexwijn> ah ok
1234: [13:24:24] <Pybembwk> referring to a meme by common name .format or something
1235: [13:37:26] <MiniZeka> kinglozzer: ss23 I found what I'm looking for - https://github.com/sheadawson/silverstripe-dependentdropdownfield
1236: [13:37:36] <kinglozzer> Is there any reason why moving modules into a subfolder wouldn't work? Besides paths (which module devs should fix with basename(dirname(__FILE__)) or w/e
1237: [13:38:05] * auto9 has joined #silverstripe
1238: [13:38:12] <kinglozzer> Oh and no composer obv
1239: [13:39:45] * auto9_ quit (Ping timeout: 265 seconds)
1240: [13:41:33] <shellbackpacific> trying to render a file upload field on the backend CMS UI….it's a has_one property in a DataObject. I'm trying to filter out filetypes by overriding 'allowed_extensions' in a class i'm extending 'File' in. Still shows all uploaded file types. Any ideas?
1241: [13:43:39] <Pybembwk> wrong field shellbackpacific
1242: [13:43:45] <Pybembwk> UploadField is what you want.
1243: [13:43:46] * DesignerX quit (Ping timeout: 258 seconds)
1244: [13:44:00] <kinglozzer> ->setAllowedExtensions(...
1245: [13:44:40] <Pybembwk> ^
1246: [13:44:48] <Pybembwk> you can't override private vars, you just make new ones.
1247: [13:45:12] <shellbackpacific> Pybembwk: ok let me check that out thanks
1248: [13:50:24] <shellbackpacific> Pybembwk: so i'd have to render the field i'm using in an upload field separately? For example, I'm using 'File' in a has_one here: http://pastebin.com/kErCzbz6. How would that become an Upload field?
1249: [13:51:00] <Pybembwk> Automatically
1250: [13:51:20] <Pybembwk> But that's only if you let it scaffold, and I'm also not 100% sure
1251: [13:51:37] <shellbackpacific> and it does render as a field…i just don't know how to filter the types at this point
1252: [13:52:20] <Pybembwk> $fields->fieldByName('DocumentID')->setAllowedExtensions(...)
1253: [13:52:32] <Pybembwk> also, you're using an old version of Silverstripe.
1254: [13:52:38] <Pybembwk> probably recommend updating.
1255: [13:52:46] <shellbackpacific> yeah that's pretty close to what i was trying so glad i'm on the right track there
1256: [13:56:05] * onejamesbrowne has joined #silverstripe
1257: [13:56:43] <shellbackpacific> yeah weird..'$fields->fieldByName('DocumentID')' and '$fields->fieldByName('Document') return nothing
1258: [13:57:12] <onejamesbrowne> Hello! Anyone having problems with Firefox crashing whilst using the Admin interface?
1259: [13:57:19] <onejamesbrowne> Or is it just me?
1260: [13:58:49] <Pybembwk> Just you
1261: [13:58:52] <Pybembwk> suggest out of memory
1262: [13:58:54] * catcher has joined #silverstripe
1263: [13:59:09] <Pybembwk> or some extension fiddling where it shouldn't
1264: [14:01:41] <onejamesbrowne> That's what I'm hoping. I did find this though; https://support.mozilla.org/en-US/questions/1002683
1265: [14:03:22] <Pybembwk> heh
1266: [14:03:44] <Pybembwk> there's a switch somewhere to disable all extensions right? just flip that and give it a go
1267: [14:04:00] <onejamesbrowne> Yeah. Will do.
1268: [14:04:00] <Pybembwk> keep process monitor open to see resource usage
1269: [14:04:01] <Pybembwk> etc
1270: [14:04:31] <Pybembwk> if you max out, probably that's the issue, although that usually causes system slow, not ff crash
1271: [14:09:03] <onejamesbrowne> It's a weird crash; I click a button in SS and the whole window just disappears. I'm not even offered a crash notification, and the browser hasn't recorded it's crashed. It's not sluggish beforehand either. I'm not super bothered, as it's actually Firefox Aurora, so it could be anything. I've got addons disabled now so hopefully that should fix it.
1272: [14:09:21] <onejamesbrowne> Thanks for the help.
1273: [14:09:25] * alexwijn quit (Quit: Leaving)
1274: [14:10:54] <Pybembwk> which button to you click onejamesbrowne?
1275: [14:11:47] <onejamesbrowne> It's not always the same button, but three times in a row it was the Settings tab in a page.
1276: [14:12:39] <onejamesbrowne> The only non standard SS thing I have is that it's using the silverstripe/dataobjectaspage package.
1277: [14:12:45] * Shrike_Finland has joined #silverstripe
1278: [14:13:45] <Pybembwk> yeh, sounds like js issue
1279: [14:13:59] <Pybembwk> ff js interpreter that is
1280: [14:14:13] * Error404NotFound quit (Read error: Connection reset by peer)
1281: [14:14:28] <micmania1> onejamesbrowne: What version of ss?
1282: [14:15:06] <onejamesbrowne> 3.15
1283: [14:15:09] <onejamesbrowne> 3.1.5
1284: [14:18:13] <micmania1> hmmmm. Thought you may have been using 2.4 - there was a problem with that. Never experienced anything in SS3
1285: [14:18:29] <shellbackpacific> err…have a file upload field on the CMS backend…stores 'assets' when no file is uploaded. Is there a way to prevent that from happening?
1286: [14:18:39] <micmania1> onejamesbrowne: you got a screenshot?
1287: [14:19:48] <onejamesbrowne> There's nothing to screenshot really, it's a normal SS interface, and then it just disappears. However, it's not crashed since I disabled addons ten minutes ago, so I might stop worrying about it for the moment.
1288: [14:21:17] <Pybembwk> yeh, probably an extension that's gone unstabe because of some ff changes
1289: [14:23:21] * joelpittet has joined #silverstripe
1290: [14:24:50] * Shrike_Finland quit (Quit: Leaving.)
1291: [14:26:39] * Shrike_Finland has joined #silverstripe
1292: [14:34:30] * scpi has joined #silverstripe
1293: [14:37:03] * richwestcoast quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1294: [14:37:38] <shellbackpacific> have a file upload field on the CMS backend…stores 'assets' when no file is uploaded. Is there a way to prevent that from happening?
1295: [14:38:20] <micmania1> shellbackpacific: can you elaborate please?
1296: [14:38:57] * richwestcoast has joined #silverstripe
1297: [14:39:18] * MiniZeka quit (Ping timeout: 240 seconds)
1298: [14:39:55] <shellbackpacific> micmania1: sure…i have this: http://pastebin.com/kErCzbz6 i used it to create a drawer item. when i don't select a file, "/assets/" appears to be stored
1299: [14:40:09] <shellbackpacific> all on the backend CMS UI
1300: [14:43:04] <Pybembwk> screenshot needed I think
1301: [14:43:13] <micmania1> I don't understand what you mean. assets/ is the default directory.
1302: [14:43:28] <micmania1> That's where the file will be uploaded to.
1303: [14:44:02] <shellbackpacific> right, but why i call 'Document.getURL' i'd like it to be empty when a document (File) wasn't uploaded..
1304: [14:44:15] <shellbackpacific> err…but *when i call ...
1305: [14:44:42] <Pybembwk> when you /what/?
1306: [14:45:17] <shellbackpacific> instead i get this: https://www.evernote.com/shard/s23/sh/eb9efc53-9dad-4f5a-b182-8d539e795889/8ae7462efada33dc72ae1ec2b3e4151f
1307: [14:45:20] <micmania1> if($document->exists()) { echo $document->getURL(); }
1308: [14:46:05] <Pybembwk> use ->exists()
1309: [14:46:20] <micmania1> Where is the code that builds your GridField?
1310: [14:46:22] <Pybembwk> that or check your permissions on the dir
1311: [14:46:41] <Pybembwk> micmania1: doesn't matter, the point is there's a data object being created/written when it there shoudln't be.
1312: [14:47:20] <micmania1> Nope, its not
1313: [14:47:31] <shellbackpacific> here's the gridfield code: http://pastebin.com/yc6smc9i
1314: [14:47:41] <Pybembwk> oh oh oh
1315: [14:47:48] <Pybembwk> don't tell me you're just getting all Files!
1316: [14:47:50] <Pybembwk> xD
1317: [14:47:53] <Pybembwk> folder is a file
1318: [14:47:54] <Pybembwk> iirc
1319: [14:48:00] <Pybembwk> that'd make it appear
1320: [14:48:28] <Pybembwk> check your list grabbing code
1321: [14:48:37] <shellbackpacific> you guys rock
1322: [14:48:57] <Pybembwk> YourFileSubclass::get() not just File::get()
1323: [14:49:04] <micmania1> shellbackpacific: can I see your Document code?
1324: [14:49:05] <shellbackpacific> best IRC room i've ever been in hands-down
1325: [14:49:14] <Pybembwk> or even better, $this->Documents()
1326: [14:49:33] <Pybembwk> errr, $this->Drawers()
1327: [14:49:51] * Shrike_Finland quit (Quit: Leaving.)
1328: [14:49:54] <Pybembwk> or something like that.
1329: [14:49:58] <shellbackpacific> DrawerLinks ?
1330: [14:50:02] <Pybembwk> not sure
1331: [14:50:06] <Pybembwk> well it depends
1332: [14:50:12] <Pybembwk> post some code and we might be able to help
1333: [14:50:40] <shellbackpacific> $this->DrawerLinks(), —> http://pastebin.com/kErCzbz6
1334: [14:50:56] <micmania1> oh wait, Document is a file.
1335: [14:51:01] <shellbackpacific> right
1336: [14:51:40] <micmania1> ok, change your last display field from Document.getURL to DocumentURL
1337: [14:51:57] <micmania1> Then in DrawLink create a method called DocumentURL.
1338: [14:52:17] <shellbackpacific> yep awesome that'll do it
1339: [14:52:19] <shellbackpacific> thanks!
1340: [14:52:20] <micmania1> public function DocumentURL() { return $this->Documetn()->exists() ? $this->Document()->getURL() : ''; }
1341: [14:52:23] <micmania1> WINNING!
1342: [14:52:28] <Pybembwk> shellbackpacific: or, use Document.Name
1343: [14:52:30] <Pybembwk> instead of getURL
1344: [14:52:45] <Pybembwk> Document.Filename might also be a winner. not sure
1345: [14:52:58] <Pybembwk> there's always micmania1's method which is sure fire. But you won't be able to filter on it.
1346: [14:53:30] <shellbackpacific> right on thanks
1347: [15:00:29] * joelpittet quit (Remote host closed the connection)
1348: [15:03:40] <kinglozzer> https://gist.github.com/kinglozzer/c5b6797389257e154c23 < boom. Quite a saving on Modernizr's 2.7k test...
1349: [15:04:13] <Pybembwk> heh
1350: [15:04:27] <Pybembwk> you optimisers and your overzealousness
1351: [15:04:37] <catcher> kinglozzer, I'll be sure to bug you for that link when I need it in 7 months
1352: [15:04:57] <kinglozzer> Pybembwk: I didn't like having a 2.7k script inlined :P
1353: [15:05:03] <Pybembwk> :P
1354: [15:05:05] <Pybembwk> catcher: logs!
1355: [15:05:19] <Pybembwk> css animation detection
1356: [15:05:26] <catcher> I'll search for "catcher bug kinglozzer"
1357: [15:05:36] <kinglozzer> :P
1358: [15:05:39] <Pybembwk> and/or css animation detection
1359: [15:05:43] <kinglozzer> css 3d transform
1360: [15:05:45] <kinglozzer> or something
1361: [15:05:49] <Pybembwk> TAG ALL THE LOGS
1362: [15:06:07] <kinglozzer> I'm just using 3d detection for /all/ the nice things. If it doesn't support 3d, it doesn't get shit
1363: [15:06:09] <kinglozzer> Seems fair
1364: [15:06:16] <Pybembwk> so legit
1365: [15:07:10] <Pybembwk> ffffffffffff
1366: [15:07:16] <Pybembwk> code doesn't show an entry
1367: [15:07:21] <Pybembwk> perform query manually
1368: [15:07:25] <Pybembwk> entry shows.
1369: [15:07:30] <Pybembwk> wtf I just don't even :<
1370: [15:16:48] <micmania1> anybody done anything with mailchimp api?
1371: [15:17:01] <micmania1> I'm getting "Please enable browser cookies in order to continue." when i tryo to subscribe with a list
1372: [15:17:12] <micmania1> using RestfulService in 3.0.11
1373: [15:17:27] <micmania1> I've got working examples in 3.1
1374: [15:17:34] <Pybembwk> could be worse
1375: [15:17:52] <Pybembwk> you could be getting 35 records in the front end, 46 in the database
1376: [15:18:45] <micmania1> TO THE DIFF MACHINE
1377: [15:18:56] * ARNHOE quit ()
1378: [15:22:06] <catcher> <- considers writing core code for $disallowed_children
1379: [15:22:36] <catcher> well, cms
1380: [15:22:47] <Pybembwk> ninja plz.
1381: [15:23:02] <Pybembwk> select your targets appropriately
1382: [15:23:54] <catcher> I'd have to list 30 page types in allowed_children as opposed to disallowing 4.
1383: [15:24:14] <catcher> Also, I'd have to remember to add to allowed_children any time I add a new type.
1384: [15:25:50] <kinglozzer> catcher: Do iiiiiit!
1385: [15:27:20] <Pybembwk> catcher: array_diff($AllPageTypes, array('dickfacePage'));
1386: [15:27:49] <Pybembwk> SiteTree::eatYourBiscuits()
1387: [15:29:22] * anselmdk has joined #silverstripe
1388: [15:39:43] <kinglozzer> http://www.jsfuck.com/
1389: [15:40:32] <Pybembwk> fucking turns out, JOIN instead of LEFT JOIN
1390: [15:40:42] <Pybembwk> JOIN becomes INNER JOIN in mysql
1391: [15:40:47] <Pybembwk> BRAIN FUCK OVER
1392: [15:40:52] <Pybembwk> thank fuck
1393: [15:42:27] <Pybembwk> It's like gawd, could we plz assume join is always left unless otherwise stipulated, plx thx bi
1394: [15:45:14] <kinglozzer> lol
1395: [15:45:29] <kinglozzer> LEFT JOIN like 80% of the time, y u no default
1396: [15:47:42] <Pybembwk> mmhmm
1397: [15:48:12] <Pybembwk> in this case issues were being logged, but if they didn't have the associated info to be relevant to a sales person, they didn't show because no inner join existed.
1398: [15:48:25] <Pybembwk> But that's ok, because if there's no sales person, it's pretty much guaranteed to be a test.
1399: [15:48:29] <micmania1> ha! Turns out I wasn't even getting as far as mailchimp
1400: [15:48:35] <Pybembwk> bummer
1401: [15:48:36] <micmania1> baseUrl = NULL
1402: [15:48:41] <Pybembwk> lol guts
1403: [15:49:03] <micmania1> Changed something from ApiKey to MailchimpApiKey and missed a var somewhere :(
1404: [15:50:12] * jenniferaslan has joined #silverstripe
1405: [15:53:58] * shellbackpacific quit (Quit: Leaving.)
1406: [15:54:27] * scpi quit (Ping timeout: 245 seconds)
1407: [16:00:28] <micmania1> kinglozzer: you coming for a pint?
1408: [16:00:54] <kinglozzer> micmania1: If I hop on the train I might make it, or drive like a loon :P
1409: [16:01:10] <micmania1> yeah, it'll only take 10 mins. 15 if the traffic is bad
1410: [16:02:21] <kinglozzer> on my way ^^
1411: [16:08:58] * kinglozzer quit ()
1412: [16:09:20] <catcher> I'm going to be adding a bunch of pages in php.. any trickery needed beyond ->ParentID=x, write, publish?
1413: [16:09:46] <Pybembwk> nope
1414: [16:14:41] * Pybembwk has left #silverstripe
1415: [16:16:17] * anselmdk quit (Quit: anselmdk)
1416: [16:17:58] * stnvh quit ()
1417: [16:29:36] * babak has joined #silverstripe
1418: [16:38:53] * auto9 quit (Read error: Connection reset by peer)
1419: [16:39:31] * auto9_ has joined #silverstripe
1420: [16:54:02] * srixon has joined #silverstripe
1421: [16:58:06] * richwestcoast quit (Quit: Textual IRC Client: www.textualapp.com)
1422: [16:58:24] <srixon> Hi to all, ive developped an SS site on a development server. Host copied files from one server to another. Trying to acces the CMS to no use. I know i shouldn copy /silverstripe-cache. Still i have errors.
1423: [16:59:28] <catcher> srixon, what are the errors?
1424: [17:01:15] <srixon> Hi Catcher, well the usual server error. But i cant place in dev mode, as site isnt running at all. To you suggest reinstall a fresh copy then place all files one by one? Funny thing is that i SEE the correct website (visually speaking) but cant access CMS
1425: [17:02:13] <catcher> srixon, try a /dev/build?flush=all for kicks, but your next step is finding the error in the log.
1426: [17:02:41] <srixon> The requested URL /dev/build/flush=all was not found on this server.
1427: [17:03:00] <srixon> http://www.acmq.qc.ca/dev/build/?flush=all
1428: [17:03:08] <srixon> not found
1429: [17:03:28] <catcher> srixon, yet the front-end of the site works fine?
1430: [17:04:08] <catcher> srixon, when I visit that URL, I get the installer.
1431: [17:04:18] <catcher> (without the /dev/build?flush)
1432: [17:05:09] <srixon> yet the front-end of the site works fine? ==> well it was.... such a mess.
1433: [17:05:24] <catcher> So you need to either delete the installer and manually correct .htaccess and mysite/_config.php
1434: [17:05:36] <catcher> Or you may be able to just use that installer, since it's sitting there :-P
1435: [17:05:40] <srixon> What about this? You need mod_rewrite to use friendly URLs with SilverStripe, but it is not enabled.
1436: [17:07:02] <srixon> When i try to reinstall it gives me this => Friendly URLs are not working. This is most likely because a rewrite module isn't configured correctly on your site. You may need to get your web host or server administrator to do this for you: mod_rewrite or other rewrite module is enabled on your web server AllowOverride All is set for the directory where SilverStripe is installed
1437: [17:07:26] <catcher> srixon, that message is generally very accurate.
1438: [17:08:19] <srixon> Well phpinfo shows no mod_rewrite. Does .htaccess can overwrite/install mod_rewite?
1439: [17:11:50] <srixon> FF console shows only Server Error.
1440: [17:12:06] * shellbackpacific has joined #silverstripe
1441: [17:12:08] <catcher> srixon, mod_rewrite needs to be provided by the host server.
1442: [17:12:45] <catcher> It's in the requirements here: http://doc.silverstripe.org/framework/en/installation/server-requirements
1443: [17:13:35] <srixon> I know not my first site. Well its not.... Will have to contact him. To recap, can one simply copy/paste SS files (from one server to another) or a reinstall is prefered?
1444: [17:14:59] <catcher> srixon, you can migrate without reinstalling, but you'll have to update the proper configs of course.
1445: [17:15:11] <catcher> DB connection, .htaccess rewritebase, etc.
1446: [17:15:45] <catcher> srixon, I never reinstall.
1447: [17:16:37] <srixon> Well the host copied SS files all over the places, in three different folders... The .htaccess files must scream.... But i mod_rewrite isnt there, no use to try? Right?
1448: [17:17:59] <catcher> srixon, definitely start with satisfying the requirements.
1449: [17:33:24] * UndefinedOffset quit (Quit: Leaving.)
1450: [18:05:04] * UndefinedOffset has joined #silverstripe
1451: [18:17:09] * onejamesbrowne quit (Remote host closed the connection)
1452: [18:30:15] * scpi has joined #silverstripe
1453: [18:34:14] * auto9 has joined #silverstripe
1454: [18:36:57] * auto9_ quit (Ping timeout: 245 seconds)
1455: [19:28:40] * auto9_ has joined #silverstripe
1456: [19:30:18] * auto9 quit (Ping timeout: 240 seconds)
1457: [19:34:13] * auto9_ quit (Read error: Connection reset by peer)
1458: [19:34:39] * auto9 has joined #silverstripe
1459: [19:40:38] * gelignite has joined #silverstripe
1460: [19:44:54] * srixon quit (Quit: Page closed)
1461: [20:00:51] * UndefinedOffset quit (Quit: Leaving.)
1462: [20:22:02] * anselmdk has joined #silverstripe
1463: [20:22:28] * anselmdk quit (Client Quit)
1464: [20:30:48] * shellbackpacific quit (Remote host closed the connection)
1465: [20:36:20] * auto9_ has joined #silverstripe
1466: [20:37:52] * auto9 quit (Ping timeout: 252 seconds)
1467: [20:45:39] * Colin[pi] has joined #silverstripe
1468: [20:47:11] * oddnoc has joined #silverstripe
1469: [20:53:26] * oddnoc quit (Quit: Textual IRC Client: www.textualapp.com)
1470: [21:03:07] * auto9 has joined #silverstripe
1471: [21:04:25] * auto9_ quit (Ping timeout: 265 seconds)
1472: [21:10:49] * anselmdk has joined #silverstripe
1473: [21:11:24] * srixon has joined #silverstripe
1474: [21:12:44] <srixon> Hi to all, i am using this in mysite/_config // DataObject::add_extension('SiteConfig', 'CustomSiteConfig'); // Its not picking it up in the Parameters panel?
1475: [21:19:58] <srixon> Update : its not picking up _config_php either. I ve noticed that FullSearch isnt applied...
1476: [21:23:19] * auto9 quit (Read error: Connection reset by peer)
1477: [21:24:29] * auto9 has joined #silverstripe
1478: [21:37:42] <catcher> srixon, do you have any DB credentials in there?
1479: [21:38:08] * scpi quit (Quit: scpi)
1480: [21:44:54] * catcher quit (Quit: Leaving)
1481: [21:47:45] * anselmdk quit (Quit: anselmdk)
1482: [21:49:18] * srixon quit (Ping timeout: 240 seconds)
1483: [22:08:31] * mobiusnz has joined #silverstripe
1484: [22:15:17] * mobiusnz quit (Quit: Leaving.)
1485: [22:16:18] * guci0 quit (Ping timeout: 240 seconds)
1486: [22:21:38] * gelignite quit (Quit: http://bit.ly/nkczDT)
1487: [22:24:03] * mobiusnz has joined #silverstripe
1488: [22:34:03] * DesignerX has joined #silverstripe
1489: [22:36:08] * mobiusnz quit (Quit: Leaving.)
1490: [22:45:48] * auto9 quit (Read error: Connection reset by peer)
1491: [22:47:36] * auto9_ has joined #silverstripe
1492: [22:51:41] * jenniferaslan quit (Ping timeout: 276 seconds)
1493: [22:52:48] * jenniferaslan has joined #silverstripe
1494: [23:12:46] * UncleCheese has joined #silverstripe
1495: [23:18:39] * babak quit (Quit: Connection closed for inactivity)
1496: [23:44:51] * spronk2 has joined #silverstripe
1497: [23:47:36] * Azure quit (Quit: Blue Sky Fish)
1498: [23:59:52] * auto9_ quit (Remote host closed the connection)

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