#silverstripe IRC Log

IRC log for 6 March 2015

All timestamps are in UTC.

1: [00:08:04] * travis-ci has joined #silverstripe
2: [00:08:05] <travis-ci> silverstripe/silverstripe-framework#4325 (3.1 - 0898487 : Daniel Hensby): The build passed.
3: [00:08:05] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/ba2de450d69a...0898487ad21c
4: [00:08:05] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53273445
5: [00:08:05] * travis-ci has left #silverstripe
6: [00:17:37] * oddnoc quit (Quit: beer:30)
7: [00:19:04] * benjhocking has joined #silverstripe
8: [00:28:44] * benjhocking quit (Read error: Connection reset by peer)
9: [00:31:40] <Ryan-Toast> I get to give a whole bunch of applicants the FizzBuzz test next week, can’t wait to see how many people can actually do it...
10: [00:32:30] <antmas> fizzbuzz?
11: [00:33:07] <Ryan-Toast> antmas: http://en.wikipedia.org/wiki/Fizz_buzz
12: [00:33:42] <ss23> It's fucking amazing, Ryan-Toast
13: [00:33:44] <ss23> Most people can't
14: [00:33:49] <ss23> It's like... HWO CAN YOU IDEK WHAT ASDFINASDFINASDFIN
15: [00:34:49] <Ryan-Toast> ss23: I usually just ask them to pseudo code, just to see how their logic is.
16: [00:35:04] <Ryan-Toast> WHAT? YOU EXPECT ME TO KNOW THE BASICS OF AN IF/ELSE STATEMENT?
17: [00:35:49] <ss23> That's the thing
18: [00:36:01] <ss23> It's crazy how many people like... just don't know how to approach the problem
19: [00:36:26] <ss23> I'd bet $50 that 50% of university compsci graduates couldn't do fizzbuz in any language in less than 20 minutes
20: [00:36:47] <antmas> Ryan-Toast: that's a really neat test
21: [00:37:19] <antmas> I was asked about if/else in certain contexts in a similar way
22: [00:37:23] <ss23> antmas: Be careful using it, it's super well known. Anyone who goes through a recruiter will have "learned" the answer already
23: [00:37:33] <Ryan-Toast> ss23: My old job they asked me to reverse a string, and I just got on the whiteboard and wrote “return strrev(‘String’);”
24: [00:37:38] <ss23> hahaha
25: [00:37:38] <antmas> ss23: I would assume so yeah
26: [00:37:41] <ss23> A+, Ryan-Toast
27: [00:37:42] <ss23> I'd accept that
28: [00:37:44] * greenma__ has joined #silverstripe
29: [00:37:55] <Ryan-Toast> ss23: I usually ask them why they did what they did.
30: [00:38:17] <Ryan-Toast> Pretty easy to figure out if they actually know what’s going on.
31: [00:41:10] <antmas> it's a good metric test
32: [00:41:23] <antmas> at least it stops the fakeittillyoumakeit applicants
33: [00:42:09] * greenma__ quit (Ping timeout: 246 seconds)
34: [00:46:06] <antmas> Ryan-Toast: are the applicants applying for your role?
35: [00:46:11] <Ryan-Toast> antmas: yarp
36: [00:46:19] <antmas> Ryan-Toast: how many did you get?
37: [00:46:29] <Ryan-Toast> antmas: Putting the thing up tonight.
38: [00:46:47] <antmas> oh haven't got them YET
39: [00:49:23] <Ryan-Toast> Narp, but we usually get people in pretty quickly.
40: [00:49:30] <Ryan-Toast> I feel sorry for them
41: [00:49:39] <Ryan-Toast> I’m so critical.
42: [00:50:13] <Colin[pi]> Ryan-Toast: we noticed
43: [00:50:18] <Colin[pi]> ^_^
44: [00:50:21] <Ryan-Toast> Colin[pi]: :D
45: [00:50:31] <Ryan-Toast> I think my designers are plotting to kill me.
46: [00:50:52] <antmas> well it'd be kinda depressing to have someone replace you who was aweful at the job - especially if you respec the team
47: [00:50:59] <antmas> so it's worth being critical
48: [00:51:09] <Colin[pi]> being critical is helpful though, but you need to toe the line between criticism and being a douchecanoe
49: [00:51:30] * antmas adds douchecanoe to his douche concats list
50: [00:51:54] <Ryan-Toast> I think it’s going to be interesting to see how my boss reacts when he realises how hard it is to find someone who does back-end, front-end and design.
51: [00:52:01] <Colin[pi]> mm
52: [00:52:27] <simon_w|air> Ryan-Toast, I do all of those!
53: [00:52:30] <antmas> Ryan-Toast: it's easy to find them, just incredihard to find people who do all 3, well
54: [00:52:33] <simon_w|air> I don't do design well, but I can do it :p
55: [00:53:00] <Ryan-Toast> simon_w: I bet you’re a great designer, Simon. Don’t elet anyone tell you otherwise.
56: [00:53:19] <simon_w|air> Ryan-Toast, http://wma.org.nz :p
57: [00:53:48] <antmas> my fucking christ wat simon_w|air
58: [00:53:56] * antmas looks for eye bleach
59: [00:54:01] <Ryan-Toast> simon_w|air: dat left and right scrolling
60: [00:54:17] <simon_w|air> Ryan-Toast, your screen is small than 1000px? Sucker :p
61: [00:54:30] <Ryan-Toast> simon_w|air: I’m on a massive screen :P
62: [00:54:38] <Ryan-Toast> I mean your latest news
63: [00:54:48] <simon_w|air> Oh right
64: [00:54:50] <simon_w|air> Get a mac :p
65: [00:54:53] <Colin[pi]> on the div overflow
66: [00:54:57] * Ryan-Toast is on a mac
67: [00:55:06] * Ryan-Toast literally the latest mac
68: [00:55:17] <simon_w|air> So turn off scrollbars
69: [00:55:23] <Ryan-Toast> lol, no thanks :P
70: [00:55:36] <Colin[pi]> simon_w|air: just put overflow-x: hidden
71: [00:55:42] <Colin[pi]> overflow-y: auto
72: [00:55:57] <antmas> simon_w|air: where did you even find that font?
73: [00:56:08] <antmas> they're like readable wingdings
74: [00:56:11] <simon_w|air> antmas, google font library thing
75: [00:56:18] <Colin[pi]> antmas: looks like a 1984 Macintosh font
76: [00:56:24] <simon_w|air> I didn't pick the fonts :p
77: [00:56:34] <adrexia> Super impossible
78: [00:56:39] <adrexia> you might be able to get 2/3
79: [00:56:57] * Colin[pi] raises hand as someone who does all 3
80: [00:56:58] <Ryan-Toast> adrexia: I said it may be a good idea to get a desing Jr, and an intermediate dev instead of one person.
81: [00:57:44] <adrexia> Get a strong frontend dev and you could get passable design and passable backend
82: [00:58:01] <adrexia> it won't be super amazing - but it's your best shot I think
83: [00:58:29] <Ryan-Toast> That may be a good plan.
84: [00:58:38] <antmas> simon_w|air: did you also do this? http://welsh.co.nz/arch/
85: [00:58:42] <adrexia> teaching frontend to designers tends to work out with more success than teaching frontend to backend devs, imo
86: [00:58:56] * Tanger has joined #silverstripe
87: [00:58:57] <adrexia> but teaching designers backend dev is super hard
88: [00:59:10] <Colin[pi]> adrexia: yep agree
89: [00:59:28] <antmas> I do all 3, but not really web design
90: [00:59:32] <antmas> graphics
91: [00:59:36] * adrexia nods
92: [00:59:45] <simon_w|air> antmas, nah, didn't design that one
93: [00:59:53] <adrexia> I do... interaction design. But prefer not to go near graphic design
94: [01:00:14] <Colin[pi]> antmas: yeah design would be my weakest part.. I start from some sort of foundation and modify it
95: [01:00:17] <antmas> interaction design? is that a derivative? ;)
96: [01:00:26] <Colin[pi]> antmas: have done some from scratch, but it's haaaard
97: [01:00:50] <adrexia> antmas - its the interactive wireframing type stuff
98: [01:01:11] <antmas> adrexia: hmmm, example?
99: [01:01:22] <antmas> you mean like creating design frameworks?
100: [01:01:27] <adrexia> the internet sans any branding ;)
101: [01:01:37] <antmas> oh right :P
102: [01:01:39] <antmas> I get ya
103: [01:01:51] * veb quit (Quit: veb-irc: &)
104: [01:02:14] <antmas> I think I'd prefer that over making this look 'pretty'
105: [01:02:40] <adrexia> I love making pretty things though
106: [01:02:52] <adrexia> so I like working with proper designers ;)
107: [01:02:55] <antmas> I do, but only in photoshop or after effects :P
108: [01:02:58] <Tanger> Morning guys
109: [01:03:03] <antmas> I can't translate that at all into web
110: [01:03:08] <antmas> Tanger: o/
111: [01:04:12] <Colin[pi]> adrexia: used to work with a good designer in Sydney, she did some amazing stuff, but the catch? Couldn't handle any criticism :\
112: [01:04:28] <mahfuz> Can anyone tell me how to enforce min 8 character for ConfirmedPasswordField in a form?
113: [01:04:31] <adrexia> that's... rare
114: [01:04:34] <Colin[pi]> adrexia: lol
115: [01:04:57] <Ryan-Toast> adrexia: mmm when you work with really good designers it just feels right.
116: [01:05:05] <Colin[pi]> adrexia: like... none at all. She'd come and show off her design, and as soon as someone said "I like it, BUT..." she'd just walk out
117: [01:05:06] <Ryan-Toast> Wish I still had one :(
118: [01:05:20] <adrexia> Colin[pi], how did she ever get good?
119: [01:05:32] <Colin[pi]> adrexia: dunno, she had a naturally good design sense
120: [01:05:36] <Ryan-Toast> Designers who focus on UX, omnomnomnom
121: [01:05:43] <adrexia> I mean - criticism is hard, but its how people learn
122: [01:05:44] <Tanger> So I was playing around with Injections last night at some ungodly hour and I found that injecting a custom class instead of Page breaks the CMS
123: [01:05:56] <Colin[pi]> adrexia: bit of a perfectionist I think, but yeah, she got super pissed with criticism :\
124: [01:06:13] <adrexia> Ryan-Toast, did you just omnomnom of UX designers?
125: [01:06:14] <adrexia> lol
126: [01:06:21] <Ryan-Toast> adrexia: I did.
127: [01:06:23] <Tanger> But I want to add a single function to the base Page class because some modules check method_exists() and that doesn't detect methods added via Extensions
128: [01:06:24] <Ryan-Toast> I want to eat them
129: [01:06:30] <Ryan-Toast> Because they’re so delicious.
130: [01:06:56] <adrexia> hahaha
131: [01:08:32] <Ryan-Toast> I’m looking forward to picking my next company for that reason. Going to find one with lots of talented designers.
132: [01:08:52] * jedateach_ has joined #silverstripe
133: [01:08:54] <Ryan-Toast> so I don’t have to keep putting up my hand and asking “Why is that like that, it makes no sense"
134: [01:09:47] * adrexia nods
135: [01:10:06] <adrexia> I mean - that still might happen, but having it be the exception would be super nice :)
136: [01:10:07] <Colin[pi]> Ryan-Toast: you can find plenty of "good" designers, but ones that are also good at *UX*... that's the clincher
137: [01:10:29] <adrexia> Colin[pi], "Good designer" to me includes UX
138: [01:10:31] <Ryan-Toast> adrexia: yes, that would be nice.
139: [01:10:47] <Colin[pi]> adrexia: well yeah
140: [01:10:52] <adrexia> though, missing some finer points of interaction is ok
141: [01:11:23] <adrexia> design needs to be semi-collaborative anyway
142: [01:11:58] <Colin[pi]> mm
143: [01:12:11] * antmas gives fizzbuzz test to senior dev
144: [01:12:18] <antmas> he's so excited!
145: [01:13:26] <antmas> "I can do that in 1 line"
146: [01:13:54] * Hailwood quit (Quit: Leaving)
147: [01:17:35] * Olliepop has joined #silverstripe
148: [01:19:42] <MichalKleiner> with a bunch of ternary operators :-D
149: [01:22:06] <antmas> MichalKleiner: it will be :P
150: [01:22:16] * joelpittet quit (Remote host closed the connection)
151: [01:28:15] <simon_w|air> fizz buzz?
152: [01:33:30] <Ryan-Toast> antmas: while($i++<100)echo(($i%3?'':'fizz').($i%5?'':'buzz')?:$i)."\n";
153: [01:34:12] * UncleCheese has joined #silverstripe
154: [01:34:52] <simon_w|air> Ryan-Toast, wrong
155: [01:35:35] <adrexia> that's... quite unreadable ;)
156: [01:35:46] <Ryan-Toast> it’s on one line though :P
157: [01:35:53] <adrexia> I think I'd fail someone who wrote the answer like that on principal ;)
158: [01:35:54] <simon_w|air> Ryan-Toast, it's also wrong
159: [01:36:02] <adrexia> lol
160: [01:36:19] <antmas> that don't work
161: [01:36:23] <simon_w|air> Output: fizzbuzz fizzbuzz buzz fizzbuzz fizz buzz...
162: [01:36:25] <antmas> IT DONE DONT WORK, LARRY
163: [01:36:36] <Ryan-Toast> FINE: $i=0;while($i++<100)echo(($i%3?'':'fizz').($i%5?'':'buzz')?:$i)."\n";
164: [01:36:43] <adrexia> what is it supposed to output?
165: [01:36:58] <simon_w|air> Ryan-Toast, still doesn't work
166: [01:37:04] <Ryan-Toast> YOU’RE A LIER
167: [01:37:45] * adrexia laughs
168: [01:37:50] <Ryan-Toast> simon_w|air: http://i.imgur.com/eRxur38.jpg
169: [01:38:04] <adrexia> bwhahahahaha
170: [01:38:10] <Ryan-Toast> SMD Simon.
171: [01:38:14] <Ryan-Toast> :D
172: [01:38:20] <adrexia> literally cracking up at that
173: [01:39:02] <antmas> lol
174: [01:39:05] <Olliepop> lol
175: [01:40:01] <simon_w|air> Ryan-Toast, notice how there's no Fizz, Buzz or FizzBuzz? :p
176: [01:40:17] * Azure quit (Ping timeout: 256 seconds)
177: [01:40:24] <Ryan-Toast> simon_w|air: what’re you talking about?
178: [01:40:32] <adrexia> capital letters?
179: [01:40:33] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
180: [01:40:34] <Ryan-Toast> Oh, you fuck
181: [01:40:35] <simon_w|air> Ryan-Toast, capitalisation matters!
182: [01:40:38] <Ryan-Toast> :P
183: [01:40:38] <simon_w|air> :D
184: [01:40:38] <adrexia> lol
185: [01:40:47] <adrexia> https://gist.github.com/jaysonrowe/1592432
186: [01:40:54] <adrexia> ...and not in js!
187: [01:40:57] <adrexia> *now
188: [01:41:32] <Ryan-Toast> I just spent the entire day adding notes to a CMS. It’s beautiful.
189: [01:41:39] <adrexia> +1
190: [01:41:56] <simon_w|air> Lunch break over, back to making shit fast :D
191: [01:42:12] <Ryan-Toast> simon_w: Who’re you making shit fast?
192: [01:42:19] <adrexia> lol
193: [01:42:32] <simon_w|air> Ryan-Toast, your mum. She said she was having problems last night.
194: [01:42:41] <Colin[pi]> OH NO HE DEENT
195: [01:42:50] <Ryan-Toast> simon_w|air: I hear she’s tired from fucking my father too.
196: [01:43:24] <antmas> Ryan-Toast: :|
197: [01:43:26] <adrexia> *of ?
198: [01:43:45] <Ryan-Toast> adrexia: defs, around 24 years ago :P
199: [01:43:52] <adrexia> hahaha
200: [01:47:39] <simon_w|air> Oops, GHCi doesn't stop you printing infinite sets
201: [01:49:27] * Phlunk3 has joined #silverstripe
202: [01:58:25] * veb has joined #silverstripe
203: [01:59:00] <antmas> where da gifs at
204: [02:01:21] <Ryan-Toast> antmas: soz, busy.
205: [02:04:05] * UncleCheese has joined #silverstripe
206: [02:06:09] * antmas votes Colin[pi] provide the lulz
207: [02:06:50] <Ryan-Toast> antmas: http://i.imgur.com/MybfMON.gif
208: [02:07:37] <antmas> I kinda wanna know the context of that
209: [02:07:49] <Tanger> simon_w|air: Hey simon, do you know of a way to make method_exists() work with extensions?
210: [02:08:42] <Ryan-Toast> antmas: Ygritte dies.
211: [02:08:45] <simon_w|air> Tanger, $object->hasMethod('blah')
212: [02:10:56] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
213: [02:11:42] <Tanger> What if a module uses method_exists? Would there be a way to inject a method onto the extended class so it does register?
214: [02:11:58] <simon_w|air> Nope
215: [02:14:33] <antmas> Ryan-Toast: ;__________________________;
216: [02:14:50] <Ryan-Toast> antmas: Literally stoppped reading for a week.
217: [02:14:59] <ss-helper> Re: Is there a link form field? - http://www.silverstripe.org/community/forums/general-questions/show/17939?start=8#post400597
218: [02:15:01] <Ryan-Toast> antmas: Red wedding, meh. Ygritte…WHYYYYYY
219: [02:15:09] <Tanger> Cool, thanks
220: [02:15:28] <antmas> Ryan-Toast: yeah I had to reread the page many times
221: [02:15:32] <antmas> I was in HELL
222: [02:15:58] <Ryan-Toast> antmas: Fucking George, man.
223: [02:16:13] <antmas> there is a small dent in the wall in our bedroom from where the book hit
224: [02:16:55] <Ryan-Toast> antmas: I can’t throw my kindle. I was just sad.
225: [02:17:27] <antmas> I read the red wedding scene while on the toilet
226: [02:17:34] <antmas> I was glad
227: [02:18:20] <Ryan-Toast> tar -czvf firewood.tar.gz .
228: [02:18:23] <Ryan-Toast> flgjbdfgjldfgkj;df
229: [02:19:55] <antmas> ok yip I've had 5 coffees today
230: [02:20:04] * antmas IS READY TO PARTY
231: [02:20:23] <Ryan-Toast> I’m drinking a bottle of vodka and watching old kung fu movies.
232: [02:20:40] * joelpittet has joined #silverstripe
233: [02:21:13] <antmas> Ryan-Toast: you know a good fight movie
234: [02:21:18] <Ryan-Toast> antmas: yes.
235: [02:21:20] <Ryan-Toast> antmas: I do.
236: [02:21:22] <antmas> The Raid 1 and 2
237: [02:21:29] <Ryan-Toast> antmas: Raid 2 blows.
238: [02:21:34] <antmas> :O
239: [02:21:36] <antmas> NO
240: [02:21:41] <antmas> LIES
241: [02:21:43] <Ryan-Toast> First one is fantastic.
242: [02:21:51] <antmas> OMG NO
243: [02:22:11] <antmas> why
244: [02:22:14] <antmas> why do you not like 2?
245: [02:22:16] * Azure has joined #silverstripe
246: [02:22:19] <Ryan-Toast> Second one just rode on the success of the first.
247: [02:22:42] <antmas> what else were they to do?
248: [02:22:49] <antmas> advance the 'plot'?
249: [02:23:15] <Ryan-Toast> first one you actually cared about the characters, second one is just like: Why’re they fighting? And whom?
250: [02:23:41] <antmas> mmm
251: [02:23:55] <antmas> tbh following what was actually 'happening' in the 2nd was tough
252: [02:24:06] <antmas> but who cares, the FIGHTS
253: [02:25:36] <Ryan-Toast> Meh
254: [02:26:01] * greenma__ has joined #silverstripe
255: [02:30:06] <antmas> http://giphy.com/gifs/13nWrvAJ8ASUdG
256: [02:30:14] * greenma__ quit (Ping timeout: 245 seconds)
257: [02:32:24] <mahfuz> a silly question how to get the length of the element $data['Name'] for form field ?
258: [02:33:56] <antmas> Ryan-Toast: Rama and 3 others are in the new Star Wars too :D
259: [02:34:00] <antmas> 2 others*
260: [02:35:57] * veb quit (Quit: veb-irc: &)
261: [02:41:23] * Stomach has joined #silverstripe
262: [02:42:47] * veb has joined #silverstripe
263: [02:51:04] * UncleCheese has joined #silverstripe
264: [02:51:50] <antmas> 39 mins
265: [02:52:08] <mahfuz> I am confused because strlen($data['Name']) gives an error
266: [02:52:44] <antmas> what's the error?
267: [02:52:47] <mahfuz> stderr: PHP Fatal error: Call to a member function length() on a non-object
268: [02:52:48] * novaweb quit (Quit: Leaving)
269: [02:53:33] <mahfuz> The code is inside a form data processing function
270: [02:53:49] <mahfuz> Just trying to access a field and its length
271: [02:57:42] <antmas> can you not just get the length from the field, rather than $data?
272: [02:59:28] <antmas> like $blah = $data['Name'];
273: [02:59:43] <antmas> then strlen($blah)
274: [03:00:09] <ss-helper> Adding custom settings to userforms module - Only saves the first? - http://www.silverstripe.org/community/forums/all-other-modules/show/101307
275: [03:00:36] <antmas> 100% not sure if that is right, I've had too many coffees
276: [03:01:30] * jedateach_ quit (Quit: jedateach_)
277: [03:04:10] <antmas> mahfuz: ^^^ work?
278: [03:04:35] * Ryan-Toast quit (Quit: Ryan-Toast)
279: [03:05:02] * Stomach quit (Quit: zzz)
280: [03:10:32] * veb quit (Quit: veb-irc: &)
281: [03:10:32] <mahfuz> antmas: not working. this error comes up -- strlen() expects parameter 1 to be string, array given
282: [03:15:12] <ss-helper> Re: Shop and error when editing catalog - http://www.silverstripe.org/community/forums/e-commerce-modules/show/101163#post400599
283: [03:17:05] * Stomach has joined #silverstripe
284: [03:18:32] <antmas> wat
285: [03:18:37] <antmas> why is getting an array?
286: [03:19:02] <antmas> mahfuz: can I see your code?
287: [03:19:34] <Colin[pi]> bbl guis o/
288: [03:19:41] * Colin[pi] is now known as Colin[pi][a]
289: [03:22:08] <ss-helper> Silverstripe userform module, adding custom fields - http://stackoverflow.com/questions/28891811/silverstripe-userform-module-adding-custom-fields
290: [03:22:41] * gordon has joined #silverstripe
291: [03:23:02] * gordon is now known as Guest53030
292: [03:25:25] * jedateach has joined #silverstripe
293: [03:28:37] * r_hector has joined #silverstripe
294: [03:31:52] * jedateach quit (Quit: jedateach)
295: [03:34:26] * Guest53030 is now known as nontgor
296: [03:37:12] * antmas quit (Quit: Page closed)
297: [03:37:35] * jedateach has joined #silverstripe
298: [03:38:31] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
299: [03:43:35] * nontgor quit (Quit: Leaving)
300: [03:45:11] * gordon has joined #silverstripe
301: [03:45:25] * gordon is now known as nontgor
302: [03:48:28] * Phlunk3 quit (Quit: Leaving)
303: [03:59:49] * mobiusnz quit (Quit: Leaving.)
304: [04:01:08] * Ryan-Toast has joined #silverstripe
305: [04:01:31] * Ryan-Toast quit (Client Quit)
306: [04:09:42] * wmk has joined #silverstripe
307: [04:12:55] * joelpittet quit ()
308: [04:14:14] * greenma__ has joined #silverstripe
309: [04:15:04] * r_hector quit (Quit: Leaving.)
310: [04:17:32] * jedateach quit (Quit: jedateach)
311: [04:18:24] * greenma__ quit (Ping timeout: 246 seconds)
312: [04:18:57] * mobiusnz has joined #silverstripe
313: [04:19:25] * mobiusnz quit (Client Quit)
314: [04:20:51] * spronk2 has joined #silverstripe
315: [04:25:49] * veb has joined #silverstripe
316: [04:26:44] * veb quit (Client Quit)
317: [04:27:09] <nontgor> I've added a Google Street View ShortCode to my version of the Mappable module, see https://github.com/gordonbanderson/Mappable for details
318: [04:27:30] <wmk> nontgor, sounds sexy
319: [04:28:05] * veb has joined #silverstripe
320: [04:32:00] * cloph has joined #silverstripe
321: [04:32:46] * cloph_away quit (Ping timeout: 272 seconds)
322: [04:33:01] <nontgor> wmk: See https://www.jakayanrides.com/cyclingshorts/nonthaburi/klong-som-poi/ , personal site I am creating showing cycling routes in Bangkok and nearby provinces
323: [04:34:34] <wmk> how did you add the route?
324: [04:34:38] <wmk> as kml file?
325: [04:34:54] <nontgor> correct, added that functionality to the module as an extension
326: [04:35:21] <nontgor> read the section 'Map Layers'
327: [04:35:54] * wmk doesn't see any streetview images in latest firefox
328: [04:36:02] <wmk> disabled even noscript for this page
329: [04:36:20] <nontgor> wmk: Using Chrome, let me check on FF
330: [04:37:15] <wmk> i see the arrows and the street names
331: [04:38:09] <nontgor> same, wonder if it's a z-index thing as I did add a background
332: [04:38:27] <nontgor> ie show grey until the streetview is actually rendered
333: [04:39:44] <nontgor> nope, not that. Thanks for the heads up, will look into it
334: [04:40:25] * glenn-bautista quit (Quit: Leaving.)
335: [04:40:35] * Shrike_Finland has joined #silverstripe
336: [04:54:36] * Stomach quit (Quit: zzz)
337: [04:55:01] <nontgor> wmk: Fix here, propogating http://stackoverflow.com/questions/11340468/street-view-not-working-in-firefox
338: [04:56:25] * Olliepop quit (Ping timeout: 246 seconds)
339: [04:59:46] <nontgor> wmk: Firefox fixed now, https://www.jakayanrides.com/cyclingshorts/nonthaburi/klong-som-poi/
340: [05:05:00] <wmk> yeah, works
341: [05:05:37] * jedateach has joined #silverstripe
342: [05:06:13] * mahfuz quit (Ping timeout: 246 seconds)
343: [05:19:26] * Jakx has joined #silverstripe
344: [05:19:32] <EasyCo> How would you check if a has_one File has been uploaded/exists?
345: [05:21:02] <wmk> there is an ID for this file?
346: [05:21:39] <Jakx> Yo. I just moved a new SS site to a server. The server has another working SS site on it already. I've updated the .htaccess and config files. But /dev/build?flush still gives me a 404. What should I check to try and find what's going wrong?
347: [05:21:58] <wmk> error log Jakx
348: [05:22:05] <wmk> dev mode
349: [05:24:22] <EasyCo> wmk, yah that could work, it returns and ID of 0 which is odd but I guess I can still use that
350: [05:24:36] <wmk> then the relation isn't set.
351: [05:24:40] <wmk> more like no file
352: [05:24:48] <Jakx> wmk, I'm getting File does not exist: /var/www/vhosts/thymeoutcafe.co.nz/httpdocs/dev in the log
353: [05:24:58] <wmk> if there is an ID you can do $this->MyFileRelation() and check if the file exists
354: [05:25:22] <wmk> Jakx, is mod_rewrite enabled (if it's an apache)
355: [05:26:13] <Jakx> It is indeed apache, phpinfo() tells me mod_rewrite is loaded
356: [05:26:53] <wmk> EasyCo, you could do a file_exists($this->MyFileRelation()->getFullPath())
357: [05:27:33] <EasyCo> wmk, ahh, yah I like that
358: [05:27:47] <EasyCo> Thanks
359: [05:27:54] <wmk> though i wonder why File class doesn't have a wrapper for that
360: [05:27:57] <EasyCo> I suppose Just checking for ID=0 is probably faster though
361: [05:28:10] <wmk> no ID -> no related file
362: [05:28:15] <EasyCo> The DataObject has exists() but it's not the same type of check
363: [05:28:25] <wmk> could be deleted ...
364: [05:28:27] <EasyCo> Yah, gotcha, that's sufficient
365: [05:28:32] <wmk> exists on Dataobject is something else
366: [05:29:53] <EasyCo> Saw that, was hoping since File inherited from DO that DO would have some time of method that I could use but indeed checking the ID is fine for this purpose.
367: [05:30:05] <EasyCo> time/type
368: [05:30:38] <ss-helper> Problem with ColorPicker Module within Setting SiteConfig Tab - http://www.silverstripe.org/community/forums/customising-the-cms/show/101308
369: [05:39:09] <wmk> nontgor, i just see a news message from last august, that austrin gov only allowes streetview with strong privacy protection
370: [05:39:14] <wmk> so - no street view yet
371: [05:43:44] * Shrike_Finland quit (Quit: Leaving.)
372: [05:46:40] <nontgor> wmk: Not an issue in Thailand.... usually within an hour of someone dying their ID card or passport pic is on the web
373: [05:47:34] * spronk2 quit (Quit: I may need a longer sleep timer...)
374: [06:01:53] <Jakx> wmk, there was something fucked in my vhost configuration. Not sure what. Thanks for your help!
375: [06:02:32] * greenma__ has joined #silverstripe
376: [06:04:14] <wmk> Jakx, the question is not what but who...
377: [06:04:20] <wmk> however, bbl
378: [06:06:50] * greenma__ quit (Ping timeout: 244 seconds)
379: [06:07:13] * Stomach has joined #silverstripe
380: [06:07:58] * Jakx has left #silverstripe
381: [06:14:56] * Colin[pi][a] quit (Ping timeout: 246 seconds)
382: [06:16:00] * wmk quit (Ping timeout: 272 seconds)
383: [06:23:03] * Stomach quit (Quit: zzz)
384: [06:23:37] * Stomach has joined #silverstripe
385: [06:24:08] * Shrike_Finland has joined #silverstripe
386: [06:25:11] * simon_w|air quit (Quit: Ping timeout: your mum)
387: [06:49:06] * Stomach quit (Quit: zzz)
388: [06:51:12] * Colin[pi][a] has joined #silverstripe
389: [07:13:00] * Colin[pi][a] quit (Ping timeout: 272 seconds)
390: [07:14:12] * willr has joined #silverstripe
391: [07:25:04] * elgabbu has joined #silverstripe
392: [07:25:16] * wmk has joined #silverstripe
393: [07:29:05] * MichalKleiner is now known as MichalKleiner|aw
394: [07:34:45] * Eliseth has joined #silverstripe
395: [07:50:46] * greenma__ has joined #silverstripe
396: [07:53:17] <wmk> anyone knows a service where i can grab a domain when it's not registered anymore?
397: [07:55:12] * greenma__ quit (Ping timeout: 252 seconds)
398: [07:55:26] * MichalKl_ has joined #silverstripe
399: [07:57:58] * MichalKleiner|aw quit (Ping timeout: 272 seconds)
400: [07:58:26] * Guits quit (Ping timeout: 244 seconds)
401: [07:59:52] * nontgor quit (Ping timeout: 245 seconds)
402: [08:00:00] <Eliseth> morning: you mean just register a domain or..?
403: [08:05:42] * oetiker_ has joined #silverstripe
404: [08:06:01] * oetiker_ quit (Remote host closed the connection)
405: [08:06:05] * oetiker quit (Remote host closed the connection)
406: [08:06:25] * oetiker has joined #silverstripe
407: [08:07:30] * jedateach quit (Quit: jedateach)
408: [08:12:15] * nontgor has joined #silverstripe
409: [08:13:16] <wmk> Eliseth, well, registering a domain someone else is using right now when he wants doesn't extend registration
410: [08:13:23] <wmk> the page is dead but still online
411: [08:14:22] <Eliseth> Ahh, so more of a notification when the domain becomes available again
412: [08:14:28] <Eliseth> when/if
413: [08:16:47] <wmk> yup
414: [08:16:55] <wmk> and if register asap
415: [08:17:06] <wmk> or some other domain grabber will do it for me :(
416: [08:18:56] <Eliseth> I don't have experience using any service that provides that :(
417: [08:19:18] <Eliseth> What I do know is that the best bet of getting a specific domain is trying to get hold of the owner
418: [08:21:01] <Eliseth> Since even though the company might not exists/domain name doesn't seem like being used/all appears dead... My experience is that domains like that gets renewed year after year even in those cases.
419: [08:21:39] <wmk> seems like that, depending on the hosting costs
420: [08:30:43] * Guits has joined #silverstripe
421: [08:32:28] * EasyCo quit (Quit: Connection closed for inactivity)
422: [08:45:38] * Copperis has joined #silverstripe
423: [08:47:03] * ss31noob has joined #silverstripe
424: [08:49:47] <ss31noob> hi guys.. i have an issue that is recurrent in happening about Gridfield.. that it returns an error and when you clear the cache, it will works fine again.. i read that it has something to do with the session, and its not only me who encountered it.. do you know if someone made a fix for this issue already? i am using 3.1.6
425: [08:53:02] <wmk> ss31noob, search github issues?
426: [08:53:19] <wmk> maybe kinglozzer knows when he comes in
427: [08:57:03] <Guits> suddenly my forms stopped working unless i add $form->disableSecurityToken(); This has happened once before.. Can someone explain?
428: [09:00:01] * kinglozzer has joined #silverstripe
429: [09:00:04] <wmk> why is it called GridFieldDeleteAction but GridFieldEditButton?
430: [09:00:32] <wmk> hey kinglozzer
431: [09:00:38] <kinglozzer> hey wmk
432: [09:00:53] <wmk> Guits, are you using static page module?
433: [09:00:59] <Guits> nope
434: [09:01:08] <wmk> did you cache the form somewhere?
435: [09:01:17] <Guits> no
436: [09:01:52] <Guits> I have the multilingual module on both sites who had this issue
437: [09:02:01] <Guits> and memberprofiles
438: [09:02:13] <ss31noob> hey kinglozzer, wmk said you might have an idea with the issue i am encountering
439: [09:02:26] <ss31noob> i have an issue that is recurrent in happening about Gridfield.. that it returns an error and when you clear the cache, it will works fine again.. i read that it has something to do with the session, and its not only me who encountered it.. do you know if someone made a fix for this issue already? i am using 3.1.6
440: [09:03:00] * Copperis quit (Ping timeout: 246 seconds)
441: [09:05:14] <kinglozzer> ss31noob: What's the error?
442: [09:05:27] * Copperis has joined #silverstripe
443: [09:06:13] * GioVdK has joined #silverstripe
444: [09:09:17] <wmk> kinglozzer, i just encountered some inconsistent naming with gridfield actions
445: [09:09:40] <wmk> do you think it's worth an issue?
446: [09:09:55] <ss31noob> hmm.. first one is that, if i am in a GridField.. then i clicked the next page.. it will just return an empty data (actual gridfield is missing).. then if i use another browser, it will be fine.
447: [09:10:10] <wmk> the edit action in a row is called "GridFieldEditButton", the delete action "GridFieldDeleteAction"
448: [09:10:53] <wmk> ss31noob, any chance to update silverstripe in a testing environment to see if the error still occurs?
449: [09:11:11] <wmk> and could you check if you have suhosin enabled?
450: [09:11:25] <wmk> this drove me crazy yesterday, had to adjust some settings there
451: [09:11:39] <wmk> but it didn't work in any browser on my live setup
452: [09:11:45] <kinglozzer> wmk: Hmm, I'm not sure. You could argue that the edit button isn't really an action - clicking it doesn't perform anything (until you submit the form), whereas the delete button performs an action immediately
453: [09:12:06] <wmk> ok
454: [09:12:24] <wmk> i was just adding another action before and had a hard time to find the name of that edit button
455: [09:12:40] <kinglozzer> That said... everything else is 'button'
456: [09:12:40] <wmk> cause i thought it's also called action near the deleteaction
457: [09:12:48] * Guits quit (Read error: Connection reset by peer)
458: [09:12:59] <wmk> ok, thanks for the explanation
459: [09:14:13] <kinglozzer> wmk: That was my guess at why it was named like that anyway. I'm not 100% sure though - the 'export' button performs an action, yet it's still named 'GridFieldExportButton'
460: [09:14:23] <kinglozzer> So perhaps the delete "action" should be renamed to button?
461: [09:14:30] <wmk> but that's a BUTTON on top of the field
462: [09:14:38] <wmk> the delete action is in every row
463: [09:14:58] <wmk> just an icon, not a big button
464: [09:15:21] <wmk> and docs teach to create a new action nearby
465: [09:15:34] <ss31noob> wmk, suhosin?
466: [09:15:41] <wmk> suhosin
467: [09:15:58] <wmk> a php extension that will secure your server
468: [09:16:19] <wmk> e.g. against too long post requests or too long request variable names
469: [09:16:24] <kinglozzer> ss31noob: You might need this patch: https://github.com/silverstripe/silverstripe-framework/pull/3716. Try upgrading to at least 3.1.9 (preferably 3.1.10)
470: [09:16:25] <wmk> which can lead to trouble
471: [09:17:47] * stnvh has joined #silverstripe
472: [09:21:30] * Tanger quit (Quit: Tanger)
473: [09:28:33] * veb quit (Quit: veb-irc: &)
474: [09:30:10] <ss31noob> yeah, i think i will update to 3.1.10 then :)
475: [09:32:31] * slievr has joined #silverstripe
476: [09:33:05] <wmk> so i have a scaffolded dropdown for a has_one relation
477: [09:33:18] <wmk> how can i tell it to not use just $Title?
478: [09:36:19] * jedateach has joined #silverstripe
479: [09:39:14] * greenma__ has joined #silverstripe
480: [09:41:35] <wmk> guess not so easy
481: [09:42:25] <slievr> wmk could you not pass a map or am I being stupid?
482: [09:43:44] * greenma__ quit (Ping timeout: 252 seconds)
483: [09:47:06] * Shrike_Finland quit (Quit: Leaving.)
484: [09:48:19] <kinglozzer> Yep, sorry wmk no way around that
485: [09:48:39] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/blob/3.1/model/fieldtypes/ForeignKey.php#L39
486: [09:49:16] <kinglozzer> My favourite thing is when I forget that it's scaffolded, and a few months after launch it gets replaced with a numeric field :P
487: [09:49:16] * Py100k has joined #silverstripe
488: [09:49:47] <kinglozzer> Sup Py100k
489: [09:49:52] <kinglozzer> You win your appraisal?
490: [09:50:23] <Py100k> kinglozzer: mostly, yeh. boss didn't even attend
491: [09:50:59] <Py100k> Just my line manager, who's a good cunt, so it was all sweet.
492: [09:51:26] * UncleCheese has joined #silverstripe
493: [09:56:12] <kinglozzer> Py100k: Ah cool. Did you get quizzed about your amibitions? :P
494: [09:56:53] <Py100k> kinda.
495: [09:56:59] <Py100k> glossed over them because I've got no future here.
496: [09:57:02] <Py100k> and they know it
497: [09:57:12] <Py100k> not to say this is a dead end job
498: [09:57:20] <Py100k> visa's up at the end of the year!
499: [09:59:23] <kinglozzer> Py100k: Take it you're not looking to stay then?
500: [09:59:39] <Py100k> kinglozzer: canna'
501: [09:59:49] <Py100k> it's the rules.
502: [09:59:53] <kinglozzer> Py100k: No extensions?
503: [09:59:56] <Py100k> nope
504: [10:00:00] <Py100k> no change type either.
505: [10:00:20] <Py100k> 2 years, that's it, fuck off. Thanks for your taxes.
506: [10:01:34] <kinglozzer> :(
507: [10:01:49] * jedateach quit (Quit: jedateach)
508: [10:05:15] <slievr> any way I can set a custom sort order as I have a Day field that is saved as text
509: [10:06:59] <zauberfisch> oh wow
510: [10:07:02] <zauberfisch> https://github.com/wellington/wellington
511: [10:07:18] <zauberfisch> looks like there already is something similar to compass that runs on libsass
512: [10:13:38] <wmk> slievr, no, i use a scaffolded field
513: [10:13:47] <wmk> though...
514: [10:14:32] <wmk> i can pass the new map later on
515: [10:14:52] <wmk> zauberfisch, wellington? how silverstripe like
516: [10:18:00] <wmk> slievr, $fields->dataFieldByName('FooID')->setSource() did the trick.
517: [10:20:08] <Py100k> zauberfisch: and it's called wellington!
518: [10:20:12] <wmk> slievr, day field that is saved by text?
519: [10:20:19] <Py100k> I wonder if it's because it thinks it's some kind of naval commander?
520: [10:20:38] <wmk> slievr, you mean Monday, Tuesday ... ?
521: [10:21:09] <Py100k> dividing up images
522: [10:21:28] <wmk> slievr, simplest for that would be to change the text field to a relation has_one Weekday
523: [10:21:39] <wmk> and Weekday has a Title and a SortOrder column
524: [10:21:50] <wmk> then sort by Weekdayrelationname.SortOrder
525: [10:33:43] <Py100k> wmk: Wellington was actually a Duke prominent in English history.
526: [10:34:04] <Py100k> specifically the 1st Duke, aka 'The Iron Duke'.
527: [10:34:27] <Py100k> I assume Wellington (NZ) is named after him. Who in turn takes his title from Wellington, Sommerset (UK)
528: [10:34:44] <wmk> good to know
529: [10:35:08] <Py100k> He was apparently pretty central to defeating Napolean
530: [10:35:14] <Py100k> at Waterloo, or something.
531: [10:35:26] * Py100k shrugs
532: [10:35:33] <wmk> Waterloo, a good ABBA song
533: [10:35:38] <Py100k> idk, maybe Wellington NZ is just named after Wellington UK.
534: [10:36:03] <wmk> though "The winner takes it all" rocks a bit more
535: [10:36:20] <Py100k> kinglozzer: furthermore, I cannot go to an NZ embassy in another country to apply for a visa.
536: [10:36:41] <Py100k> Any future application to return (to stay/work) must originate from NZ (the applicant's home country)
537: [10:37:08] <Py100k> Thems the rules.
538: [10:37:16] <Py100k> But it's all outlined before you apply.
539: [10:37:17] <wmk> Py100k, and i thought germans have a weird bureaucraty
540: [10:37:52] <Py100k> wmk: ha. Perhaps. I've heard bad things. But I've certainly never had such shit experiences with 'the system' (bureaucracy) as I have here.
541: [10:38:03] <Py100k> Even with Russia.
542: [10:38:33] <Py100k> Of course they were pretty crap, but it's kinda expected.
543: [10:43:24] <Py100k> But I've not had to deal with German govt. I've only had good experiences in Germany :>
544: [10:46:50] <wmk> hehe
545: [10:47:04] <wmk> if you don't want to go back... germans are always looking for qualified workers.
546: [10:47:12] <wmk> at least that's what we hear all the time in news
547: [10:47:32] <wmk> germany is great in sucking the good and qualified workers out of other countries
548: [10:47:38] <wmk> like spain and greece
549: [10:54:53] * wmk quit (Ping timeout: 250 seconds)
550: [11:04:47] <kinglozzer> Py100k: Kinda ironic given how the vocal minority always moan about how "easy" it is for people to move here from abroad
551: [11:05:43] * Shrike_Finland has joined #silverstripe
552: [11:09:03] <elgabbu> hi guys
553: [11:09:22] <elgabbu> so say I have a class a class Article that extends Page
554: [11:10:39] * Shrike_Finland quit (Quit: Leaving.)
555: [11:10:43] <elgabbu> doing something like Article::get('Article')->limit(6,3);
556: [11:11:01] <Py100k> kinglozzer: yeah, unless you're a colonist.
557: [11:11:19] <elgabbu> those that call respect stuff like published pages
558: [11:11:29] <Py100k> In EU? fine. Part of the Bristih Empire? NAH FUCKOFF
559: [11:12:16] * Shrike_Finland has joined #silverstripe
560: [11:12:27] <Py100k> To be fair it was quite easy, the visa type I have is intended as 'working holiday' thing. You gotta be young, and you can only get it once.
561: [11:12:54] <Py100k> where 'young' is somewhat strangely defined as 'Under 31 at time of application' (as in, I can be over 31 by the time I get here, that's fine).
562: [11:13:14] <kinglozzer> elgabbu: Yes, that does respect whether the page is published. If you're logged into the CMS, you might see unpublished ones (as you're viewing the "draft" version of the site), so you might want to log out for testing
563: [11:13:41] <kinglozzer> Py100k: Can you put any start date? Apply when you're 30 to come over when you're 45 :P
564: [11:14:59] <Py100k> hahahaha, nah I think you'd be turned down :P
565: [11:15:14] <Py100k> (ie, application rejected)
566: [11:15:36] <Py100k> which you then have to declare with any other visa application
567: [11:16:30] <elgabbu> so you're saying that if i am logged to the admin and I refresh the frontend page and would see also unpublished pages?
568: [11:16:50] <ss-helper> Re: Changing Content Editors default upload folder. - http://www.silverstripe.org/community/forums/general-questions/show/101306#post400601
569: [11:17:49] <kinglozzer> elgabbu: Possibly, yes - it depends if you're viewing the stage version of the site
570: [11:18:11] <kinglozzer> http://mysite.com?stage=Live should disable it if you really don't want to log out
571: [11:18:24] <kinglozzer> But as soon as you view a draft page again, they'll re-appear
572: [11:20:41] * Shrike_Finland quit (Quit: Leaving.)
573: [11:20:42] * r_hector has joined #silverstripe
574: [11:23:34] <Eliseth> How do I link to a specific page from my template?
575: [11:24:02] <Eliseth> I have a pagetype "customPage" of which only 1 can exists, and always will exist. How do I link to that page I mean.
576: [11:24:23] <kinglozzer> Eliseth: <% with List('CustomPage').First %>$Link<% end_with %>
577: [11:25:30] <Eliseth> right
578: [11:27:24] * greenma__ has joined #silverstripe
579: [11:27:58] * Shrike_Finland has joined #silverstripe
580: [11:29:12] * willr quit (Quit: willr)
581: [11:31:54] * greenma__ quit (Ping timeout: 245 seconds)
582: [11:47:10] <Py100k> Eliseth: $Page('url-segment').Link may also work.
583: [11:47:18] <Py100k> if it's a SiteTree object
584: [11:53:59] * Shrike_Finland quit (Quit: Leaving.)
585: [12:08:33] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
586: [12:13:02] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
587: [12:15:06] * Shrike_Finland has joined #silverstripe
588: [12:15:54] * Shrike_Finland1 has joined #silverstripe
589: [12:19:02] * Colin[pi][a] has joined #silverstripe
590: [12:19:27] * Shrike_Finland quit (Ping timeout: 245 seconds)
591: [12:32:22] * Eliseth has joined #silverstripe
592: [12:39:43] * Colin[pi][a] quit (Ping timeout: 255 seconds)
593: [12:44:55] * Copperis quit (Remote host closed the connection)
594: [13:00:03] * wmk has joined #silverstripe
595: [13:15:49] * greenma__ has joined #silverstripe
596: [13:19:17] * UndefinedOffset has joined #silverstripe
597: [13:19:32] * greenm___ has joined #silverstripe
598: [13:19:41] * greenma__ quit (Read error: Connection reset by peer)
599: [13:36:05] <Eliseth> spotify:album:0dpCdm9wBQpehMIWTj4MDO
600: [13:36:17] <Eliseth> Woooops, wrong window >.<
601: [13:36:46] <Eliseth> Good thing I wasn't trying to send "other stuff" to my wife then...
602: [13:40:02] * greenm___ quit (Remote host closed the connection)
603: [13:41:29] * greenma__ has joined #silverstripe
604: [13:47:48] * Shrike_Finland1 quit (Quit: Leaving.)
605: [13:48:04] * Shrike_Finland has joined #silverstripe
606: [13:48:49] <kinglozzer> rofl Eliseth
607: [13:49:53] <Eliseth> ^^ Well, now that it's out there, feel free to enjoy :P
608: [13:57:01] <Py100k> spotiNOPE
609: [13:57:04] <Py100k> :>
610: [14:24:41] <Eliseth> ?
611: [14:31:18] * Azure quit (Excess Flood)
612: [14:41:54] * dhensby has joined #silverstripe
613: [14:42:59] * badu has joined #silverstripe
614: [14:44:58] <badu> Hello, could you please help me: how to rename file when uploading it, i have searched for this for several hours without significant results. I'm using UploadField for upload
615: [14:45:41] * muskie9 has joined #silverstripe
616: [14:46:05] * wmk quit (Ping timeout: 265 seconds)
617: [14:50:30] * Shrike_Finland quit (Quit: Leaving.)
618: [14:54:05] * catcher has joined #silverstripe
619: [14:54:49] * Azure has joined #silverstripe
620: [15:00:47] * NETim has joined #silverstripe
621: [15:01:33] <NETim> Morning, any way to provide font/colour control for a TextField in the CMS?
622: [15:03:47] <kinglozzer> NETim: Depends on how much control you want to give the CMS user
623: [15:04:03] <kinglozzer> Can do a dropdown with a pre-set list, or https://github.com/tractorcow/silverstripe-colorpicker
624: [15:04:17] <NETim> That might work.
625: [15:04:37] <NETim> He's a client that believes we just tick boxes to enable things...
626: [15:06:39] * dhensby quit (Ping timeout: 246 seconds)
627: [15:07:53] <kinglozzer> NETim: Ah, yes. Did he used to have a Wordpress website by any chance? :P
628: [15:08:18] <NETim> Nope. He just has absolutely no idea how things are done. Everything is 'simple' to him.
629: [15:08:18] <kinglozzer> Those are usually the "just tick the box" ones
630: [15:10:57] <catcher> I turn those clients away whenever possible. Budgeting is almost always impossible with them.
631: [15:11:57] <catcher> And they often come back months later when the one size doesn't fit all.
632: [15:12:23] <NETim> He had a pretty simple, plain spec. But now keeps coming back for more.
633: [15:14:16] * Err404NotFound quit (Quit: User guilty of hitting the Big Red X...)
634: [15:17:05] <catcher> "Will you add a little box that lets me apply filters to photos after I upload them? What do you mean more than an hour?"
635: [15:17:18] * dhensby has joined #silverstripe
636: [15:17:52] <NETim> Sounds strangely familiar.
637: [15:18:08] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
638: [15:18:09] <muskie9> catcher "but instagram lets me do it, and that app's free"
639: [15:18:16] <Py100k> no kinglozzer, no!
640: [15:18:45] <Py100k> the correct answer is: https://github.com/NightJar/ssrigging-colourpickerfield
641: [15:19:09] <NETim> That might work to.
642: [15:19:14] <Py100k> too.
643: [15:20:14] * DimiStripe has joined #silverstripe
644: [15:20:23] <Py100k> ps, read github repository intro text
645: [15:20:24] * Eliseth has joined #silverstripe
646: [15:20:34] <NETim> tooo.
647: [15:20:36] <NETim> ok.
648: [15:20:49] * badu quit (Ping timeout: 246 seconds)
649: [15:21:35] * Error404NotFound has joined #silverstripe
650: [15:23:44] <Py100k> kinglozzer: also, the NightJar version gives credit where credit is due. To the original author (note in readme)
651: [15:26:52] * dhensby quit ()
652: [15:32:07] <nontgor> I've updated my version of Mappable to include Google Street View as a short code, see https://github.com/gordonbanderson/Mappable
653: [15:32:51] <nontgor> still need to document Points Of Interest, but this is an import of Seven Eleven shops clustered on a Google Map http://i.imgur.com/QDiu0Xq.png
654: [15:32:56] <nontgor> ignore the debug :)
655: [15:35:42] <catcher> nontgor, very cool, I may need that shortly.
656: [15:36:12] <Py100k> cool Gordon!
657: [15:42:14] <nontgor> catcher / Py100k :)
658: [15:50:14] <kinglozzer> Oooo I think I have an alternative to https://github.com/silverstripe/silverstripe-framework/pull/3934
659: [15:51:29] <catcher> kinglozzer, is that an issue for testing, or for SS in general?
660: [15:51:41] <kinglozzer> catcher: Both really
661: [15:54:37] * rista has joined #silverstripe
662: [15:57:06] <rista> Hi guys, I have one question about yaml priority order. Module have yaml file called "test.yml", with some configuration in it. I made "test.yml" file inside my project config folder and overwrite module configuration. However, values that I get later in the code are the one from the module, not the one I overwritten.
663: [15:58:04] * Shrike_Finland has joined #silverstripe
664: [15:58:24] * fabiochi has joined #silverstripe
665: [15:59:27] * fabiochi quit (Client Quit)
666: [16:09:54] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
667: [16:14:01] * rista quit (Ping timeout: 246 seconds)
668: [16:17:28] <Py100k> ri... fuuuuuuu why do they never hang around long enough! ><
669: [16:17:39] <Py100k> just 5 mins too late
670: [16:17:55] * henkpoley has joined #silverstripe
671: [16:18:28] <Py100k> waited for answer for a little over 10 mins. Leaving a tab open is such an onerous task :<
672: [16:18:43] * Shrike_Finland quit (Quit: Leaving.)
673: [16:18:46] <catcher> Py100k, chewing up bytes upon bytes of bandwidth per minute
674: [16:19:09] <Py100k> Then again, apparently from Serbia, so might actually be a thing :<
675: [16:19:38] <Py100k> anyway, the yaml header before: and after: keys are the answer.
676: [16:19:53] <Py100k> just in case it's ever searched for by logs or something
677: [16:25:55] * ss31noob quit (Ping timeout: 246 seconds)
678: [16:33:15] * henkpoley_ has joined #silverstripe
679: [16:34:37] * henkpoley quit (Ping timeout: 255 seconds)
680: [16:34:37] * henkpoley_ is now known as henkpoley
681: [16:37:35] * Shrike_Finland has joined #silverstripe
682: [16:40:35] * henkpoley quit (Quit: henkpoley)
683: [17:12:25] <kinglozzer> Py100k: I hate before and after..
684: [17:12:32] <kinglozzer> They always seem to end up backwards ><
685: [17:13:00] <Py100k> It's pretty simple concepts. But they're a fuck'n PITA when they don't work, for sure!
686: [17:13:09] <Py100k> or at least, don't seem to work as expected.
687: [17:13:59] <Py100k> I'm sure it was pretty much just an excuse for hamish to build and fiddle with DAGs :P
688: [17:14:00] <Py100k> haha
689: [17:14:17] <Py100k> Can't say I blame him
690: [17:15:32] * Shrike_Finland quit (Quit: Leaving.)
691: [17:15:34] <catcher> Py100k, DAG?
692: [17:16:19] * Shrike_Finland has joined #silverstripe
693: [17:16:30] <Py100k> Directional Acyclic Graph.
694: [17:17:07] <catcher> Py100k, gesundheit
695: [17:17:13] <Py100k> catcher: or, the shit that gets stuck on a sheep's rear end, in it's wool.
696: [17:17:20] <catcher> ha
697: [17:17:31] <Py100k> "Rattle your dags" == "hurry the fuck up" in NZ
698: [17:17:51] <Py100k> well, maybe --"fuck", but yeh.
699: [17:18:08] <catcher> hurry the up?
700: [17:18:11] <Py100k> yes.
701: [17:18:17] <Py100k> but with a double space.
702: [17:18:21] <catcher> haha, exactly
703: [17:18:21] <Py100k> hurry the up
704: [17:18:32] <Py100k> because I'm bad at logic.
705: [17:18:46] <catcher> it's overrated.
706: [17:19:12] <Py100k> It's only what we do for a living. I mean, if we were all good at it, we'd put ourselves out of work.
707: [17:22:20] <Py100k> because as you know catcher, when sheep run, the dags hit each other/the sheep making a noise.
708: [17:22:25] <Py100k> Like a person with dredlocks I guess.
709: [17:22:33] <Py100k> that aren't tied back.
710: [17:22:57] * kinglozzer skips merrily home for the weekend
711: [17:23:04] <Py100k> BAI
712: [17:23:10] <Py100k> oh fuck, it's like half 5.
713: [17:23:10] <kinglozzer> ciao!
714: [17:23:13] <Py100k> when the fuck did that happen
715: [17:23:21] <kinglozzer> Py100k: Ano, surprised me too
716: [17:23:29] <kinglozzer> <3
717: [17:23:29] * kinglozzer quit ()
718: [17:25:08] <Py100k> baibai
719: [17:25:09] * Py100k quit ()
720: [17:35:13] * NETim quit (Ping timeout: 246 seconds)
721: [17:55:00] * muskie9 is now known as muskie9_afk
722: [17:55:27] * Err404NotFound has joined #silverstripe
723: [17:55:27] * Error404NotFound quit (Disconnected by services)
724: [17:55:58] * muskie9_afk is now known as muskie9
725: [17:56:39] * GioVdK quit (Ping timeout: 256 seconds)
726: [17:58:31] <ss-helper> Re: [silverstripe-dev] New SS documentation site - https://groups.google.com/d/msg/silverstripe-dev/UuSYxoRqlFQ/1g4i9-dWGdoJ
727: [18:07:41] * r_hector quit (Quit: Leaving.)
728: [18:13:33] <ss-helper> Re: [silverstripe-dev] Re: Ensuring open collaboration on the SilverStripe project - https://groups.google.com/d/msg/silverstripe-dev/IZz_1tmaV2M/jP1QEV-kw8QJ
729: [18:18:50] * greenma__ quit (Remote host closed the connection)
730: [18:21:33] * greenman_ has joined #silverstripe
731: [18:27:20] * muskie9 is now known as muskie9_afk
732: [18:57:08] * muskie9_afk is now known as muskie9
733: [19:09:46] * Shrike_Finland quit (Quit: Leaving.)
734: [19:12:13] * Shrike_Finland has joined #silverstripe
735: [19:19:21] * muskie9 is now known as muskie9_afk
736: [19:21:56] * muskie9_afk is now known as muskie9
737: [19:23:52] * Shrike_Finland quit (Quit: Leaving.)
738: [19:26:08] * catcher quit (Quit: Leaving)
739: [19:26:33] * Shrike_Finland has joined #silverstripe
740: [19:35:36] * Shrike_Finland quit (Quit: Leaving.)
741: [19:38:55] * Shrike_Finland has joined #silverstripe
742: [19:39:47] * cloph is now known as cloph_away
743: [19:39:55] * cloph_away quit (Remote host closed the connection)
744: [19:45:25] * nontgor quit (Ping timeout: 255 seconds)
745: [19:47:13] * gelignite has joined #silverstripe
746: [19:57:32] * nontgor has joined #silverstripe
747: [20:25:54] * willr has joined #silverstripe
748: [20:52:21] * Shrike_Finland quit (Quit: Leaving.)
749: [20:56:21] <discorpia> anyone know if it's possible to change the default sort order of blog posts in the sitetree? i have a blogholder page and the posts under it as children, is there a way for a page to control the sorting of it's children in the cms?
750: [20:56:53] * mobiusnz has joined #silverstripe
751: [20:57:24] * mobiusnz quit (Client Quit)
752: [20:58:20] <muskie9> discorpia this is from way back when (probably 2.4.x) but might be a good starting point http://www.silverstripe.org/community/forums/customising-the-cms/show/13672
753: [20:58:27] <muskie9> never done it myself
754: [20:58:38] * veb has joined #silverstripe
755: [20:59:53] <discorpia> muskie9: Oh, I only encountered examples like the first post but the second post seems to be what I essentially want to do, thanks!
756: [21:02:25] * greenman_ quit (Remote host closed the connection)
757: [21:04:58] <discorpia> Well, it's a private property nowadays it turns out, but maybe SiteTree has another interface for it in 3.x
758: [21:05:15] * willr quit (Quit: willr)
759: [21:06:40] * willr has joined #silverstripe
760: [21:06:41] * willr quit (Client Quit)
761: [21:07:00] * Shrike_Finland has joined #silverstripe
762: [21:08:41] <muskie9> discorpia I wonder if you could do a DataExtension for SiteTree and do a setter function to override that private static var
763: [21:09:04] <muskie9> not sure if/how that would work
764: [21:10:14] * travis-ci has joined #silverstripe
765: [21:10:15] <travis-ci> dhensby/silverstripe-framework#240 (pulls/varchar-param - 7dcfe7d : Daniel Hensby): The build has errored.
766: [21:10:15] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/commit/7dcfe7df41cb
767: [21:10:15] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53395904
768: [21:10:15] * travis-ci has left #silverstripe
769: [21:11:46] <discorpia> That's a good idea though, not sure if it's possible to do when the static is used directly like that but maybe. If that fails I could always edit core, because our client has a couple of hundred posts and it's madness to need to scroll down the entire list to find the latest. But I'll check to see how it's being used.
770: [21:27:05] * Shrike_Finland quit (Quit: Leaving.)
771: [21:40:32] * UndefinedOffset quit (Quit: Leaving.)
772: [21:55:11] <discorpia> Well, it doesn't even seem like SiteTree::$default_sort is used anywhere/by anything
773: [21:55:30] <muskie9> discorpia I was looking too and couldn't find it
774: [21:55:48] <discorpia> I completely removed the line and nothing breaks ;P
775: [21:56:00] <muskie9> weird
776: [21:56:13] <discorpia> After fiddling around for a while getting no results. Might be that all of that is in yml files nowadays?
777: [21:56:49] <muskie9> could be
778: [22:06:33] * benjhocking has joined #silverstripe
779: [22:13:14] * Colin[pi][a] has joined #silverstripe
780: [22:14:17] * greenman_ has joined #silverstripe
781: [22:16:23] <zauberfisch> discorpia: what are you trying to do?
782: [22:16:56] <muskie9> zauberfisch http://www.silverstripe.org/community/forums/customising-the-cms/show/13672 second post
783: [22:17:01] <muskie9> but in 3.1
784: [22:17:59] <zauberfisch> have you tried just puting that in a yml file?
785: [22:18:20] <zauberfisch> private static are variables used by the config system
786: [22:18:50] <zauberfisch> the config system collects settings in the following order: private statics, yml files, Config::inst()->update() calls
787: [22:18:52] * greenman_ quit (Ping timeout: 255 seconds)
788: [22:19:00] <zauberfisch> so you can always overwrite a private static with yml
789: [22:19:18] <zauberfisch> so if you have class SiteTree { private static $default_sort = 'Sort'; }
790: [22:19:26] <zauberfisch> the yml version would be:
791: [22:19:28] <zauberfisch> SiteTree:
792: [22:19:34] <zauberfisch> default_sort: 'Title'
793: [22:27:03] * Azure quit (Excess Flood)
794: [22:27:50] * Azure has joined #silverstripe
795: [22:28:25] * Azure quit (Read error: Connection reset by peer)
796: [22:38:06] * cloph_away has joined #silverstripe
797: [22:41:41] * nontgor quit (Ping timeout: 256 seconds)
798: [22:49:26] * travis-ci has joined #silverstripe
799: [22:49:27] <travis-ci> dhensby/silverstripe-framework#241 (3.1 - 0898487 : Daniel Hensby): The build passed.
800: [22:49:27] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/7cd998d247f6...0898487ad21c
801: [22:49:27] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53406673
802: [22:49:27] * travis-ci has left #silverstripe
803: [22:54:01] * nontgor has joined #silverstripe
804: [23:04:18] * travis-ci has joined #silverstripe
805: [23:04:19] <travis-ci> dhensby/silverstripe-framework#244 (pulls/test-nest - c32cc3e : Daniel Hensby): The build has errored.
806: [23:04:19] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/9352eb23b465...c32cc3ee79ae
807: [23:04:19] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53407936
808: [23:04:19] * travis-ci has left #silverstripe
809: [23:13:37] * Azure has joined #silverstripe
810: [23:27:07] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
811: [23:30:25] * Blacklite quit (Ping timeout: 264 seconds)
812: [23:55:49] * mobiusnz has joined #silverstripe

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