#silverstripe IRC Log

IRC log for 30 June 2014

All timestamps are in UTC.

1: [00:03:19] <Zauberfisch> anway, bed time
2: [00:03:22] <Zauberfisch> good night gents
3: [00:06:40] <Colin[pi]> nn Zauberfisch
4: [00:06:47] * gelignite quit (Quit: http://bit.ly/nkczDT)
5: [00:10:35] <Ryan-Toast> Colin[pi]: Write about caching nested loops, and why it’s annoying.
6: [00:11:02] <Colin[pi]> "Caching Nested Loops and You: How to Cope"
7: [00:11:23] <Ryan-Toast> Colin[pi]: a”and why you’ll stop doing it"
8: [00:50:26] * UncleChe_ has joined #silverstripe
9: [00:54:20] * UncleChe_ quit (Client Quit)
10: [01:39:55] * Azure_ has joined #silverstripe
11: [01:43:20] * Azure quit (Ping timeout: 248 seconds)
12: [01:47:29] * trent001 has joined #silverstripe
13: [02:08:06] <spronk> guys, config - should the mysite/_config folder take precedence over values present in say... mymodule/_config ?
14: [02:08:23] <UncleCheese> depends
15: [02:08:36] <UncleCheese> if you don't specify the priority, it's just alphabetical
16: [02:08:41] <spronk> hmm
17: [02:08:52] <UncleCheese> but each config file should have a Before/After specification
18: [02:08:53] * cheddam quit (Read error: Connection reset by peer)
19: [02:09:11] <spronk> ahh
20: [02:10:48] <spronk> hmm
21: [02:10:53] <spronk> so if i have my config file say
22: [02:11:00] <spronk> mysite/_config/site.yml
23: [02:11:06] <spronk> with After: 'mymodule/*'
24: [02:11:40] <spronk> and i have some code in my module that goes.. Config::inst()->get($this->class(), 'myparam')... why would it not be getting that param?
25: [02:12:01] <spronk> myparam is present in the yml
26: [02:15:36] <spronk> oh
27: [02:15:39] * spronk is dumbkofp
28: [02:15:52] <spronk> $this->class() lolol
29: [02:16:31] <Colin[pi]> ^.^
30: [02:19:43] * Azure_ is now known as Azure
31: [02:21:30] * ersatzbeardr has joined #silverstripe
32: [02:22:17] <ersatzbeardr> i need to change a varchar into a text type as the client wants more than 255 chars, can i do this in a way that will migrate content from the varchar into the text type?
33: [02:22:57] <willr> ersatzbeardr pretty sure you won’t lose anything as it stands
34: [02:31:05] <simon_w> ersatzbeardr, why not just make the varchar more than 255 long?
35: [02:32:03] <trent001> Hey guys. I am using DataObjects as pages to manage post's for a blog section. I works well except I want these data objects to show up in the LinkForm under "Page on the site". The Link form uses the TreeDropdownField to generate this list could anyone think of any way I could add my data object to this field without it been in the siteTree.
36: [02:32:17] <ersatzbeardr> i didn't know it had the ability to be longer than 255 simon_w http://doc.silverstripe.com/framework/en/topics/data-types
37: [02:32:34] <ersatzbeardr> i know your guys documentation is all over the place - but i generally try and follow it :p
38: [02:32:50] <ersatzbeardr> anyway made it' Text, it's all good
39: [02:42:45] * novaweb has joined #silverstripe
40: [02:43:12] <novaweb> Why $has_one Image no worky in SiteConfig? http://sspaste.com/paste/show/53b0caad7b2d9
41: [02:43:58] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
42: [02:44:14] <novaweb> Each time Upload field loses associated File in database and I can’t get any usual output in the template using $SiteConfig.Banner or <$ loop SiteConfig
43: [02:47:21] <Stomach> novaweb, the name of the file you have there is "Image"
44: [02:47:27] <Stomach> and its type is "Banner"
45: [02:47:33] <novaweb> Duh
46: [02:47:33] <Stomach> perhaps they are the wrong way around?
47: [02:47:48] <novaweb> why do I even try
48: [02:47:49] <novaweb> haha
49: [02:47:54] <novaweb> yep you’re right. shot.
50: [02:48:28] <Stomach> :)
51: [02:56:48] <Colin[pi]> novaweb: ah these types of probs are like 80% of my day :D
52: [02:56:57] <Colin[pi]> or missing semicolon or comma
53: [03:02:39] <spronk> you know
54: [03:02:53] <spronk> i get the feeling that nobody outside the core ss dev team knows howtf to use entwine
55: [03:03:33] <Stomach> I know how
56: [03:03:36] <Stomach> you copy someone elses code
57: [03:03:40] <Stomach> and edit it until it works
58: [03:03:43] <Colin[pi]> ^
59: [03:03:45] <Stomach> then never touch it again
60: [03:03:55] <Colin[pi]> MAGIC
61: [03:04:13] <spronk> heh
62: [03:05:05] <spronk> for example, almost never see onunmatch
63: [03:12:19] * Stomach quit (Read error: Connection reset by peer)
64: [03:12:42] * Stomach has joined #silverstripe
65: [03:24:52] <Ryan-Toast> spronk: is it because there’s no reason outside of SS to know it?
66: [03:25:00] <spronk> maybe
67: [03:25:09] <Ryan-Toast> You google it, and the first result is a band.
68: [03:26:58] <spronk> yeah..
69: [03:27:03] <spronk> working through a code review by ss
70: [03:27:12] <spronk> one of the recommendations is to fix up some onmatch stuff
71: [03:27:22] <spronk> apparently you should always pair it with onunmatch
72: [03:27:36] <spronk> .... but documentation around a) why that is, and b) how exactly that should work is impossible to find, seemingly
73: [03:27:41] * ss23 finds
74: [03:27:49] <ss23> 15:02:54 < spronk> i get the feeling that nobody outside the core ss dev team knows howtf to use entwine
75: [03:27:54] <ss23> don't worry man, no one in core team knows either
76: [03:28:01] <ss23> "hamish code" amirite?
77: [03:28:07] <spronk> lolwtf
78: [03:28:16] <Colin[pi]> what would happen if Hamish left SS tomorrow?
79: [03:30:36] <ss23> We could clean up the bad code and life would be good
80: [03:30:40] <Colin[pi]> lol
81: [03:30:57] <ss23> "bad" isn't right
82: [03:31:01] <ss23> it's decent code, kind of
83: [03:31:04] <ss23> I dunno how to describe it
84: [03:31:07] <Colin[pi]> the esoteric code?
85: [03:31:12] <ss23> Maybe
86: [03:31:25] <ss23> It's code that I look at and think is amazingly pretty, but hate that it's there because no one is actually able to deal with it
87: [03:31:30] <Stomach> hamishes code is just extra terse
88: [03:31:30] <ss23> It's incredibly complex, in the most beautiful way
89: [03:31:40] <ss23> no homo
90: [03:32:39] <Ryan-Toast> ss23: https://www.youtube.com/watch?v=nB2sXuYSH7k
91: [03:34:54] <ss23> hahahahahahaha
92: [03:35:34] * Kingy[a] is now known as Kingy
93: [03:36:02] <Ryan-Toast> ss23: good show if you haven’t seen it.
94: [03:36:29] * Kingy is now known as Kingy[a]
95: [03:38:21] <Stomach> does anyone have a working test suite going on their machine?
96: [03:38:33] <Stomach> I can't get the new phpunit to run on this machine or my home computer
97: [03:38:34] <Stomach> >_<
98: [03:38:42] <Stomach> this is the composer version
99: [03:39:13] <willr> Tests fail or phpunit isn’t found?
100: [03:39:24] <Stomach> phpunit fucks out
101: [03:39:55] <ss23> Ryan-Toast: I hear it's really generic comedy
102: [03:39:59] <ss23> That just has nerd references
103: [03:40:00] <ss23> but idk
104: [03:40:09] <ss23> I still have x-files and the wire to finish
105: [03:40:15] <Ryan-Toast> ss23: yeah, it is. Good for a one night binge session though.
106: [03:40:15] <ss23> and that's not including all my super kawaii anime serieses!
107: [03:40:35] <Ryan-Toast> ss23: reminds me I need to download Code Geauss
108: [03:40:40] <ss23> Morel ike
109: [03:40:40] <Ryan-Toast> or however it’s spelt.
110: [03:40:41] <ss23> Code Gayass
111: [03:40:42] <ss23> HAHA
112: [03:40:44] <ss23> Geass
113: [03:40:50] <ss23> :P
114: [03:40:53] <ss23> It's pretty good, probably
115: [03:40:55] <Stomach> willr, one sec I'll do a run and give you the error
116: [03:41:01] <ss23> I rewatched it recently
117: [03:41:02] <Ryan-Toast> ss23: Oh wait, I’ve watched that
118: [03:41:06] <ss23> But you know... doesn't compare to...
119: [03:41:08] <Ryan-Toast> I mean’t sword art online
120: [03:41:09] <ss23> SERIAL EXPERIMENTS LAIN
121: [03:41:12] <ss23> or GHOST IN TEH SHELL
122: [03:41:13] <ss23> :D
123: [03:41:14] <ss23> Such good shows
124: [03:41:18] <ss23> Ryan-Toast: omg sao was bad :/
125: [03:41:21] <Ryan-Toast> Ghost in the shell is a classic.
126: [03:41:25] <ss23> Lots of people liked it, it was popular, but I didn't.
127: [03:41:36] <ss23> Ryan-Toast: Have you seen SEL?
128: [03:41:40] <Ryan-Toast> SEL?
129: [03:41:41] <ss23> Lain is seriously one of my favorite shows ever :D
130: [03:41:58] <Ryan-Toast> Narm
131: [03:42:01] <Ryan-Toast> narp**
132: [03:42:03] <Ryan-Toast> haven’t seen.
133: [03:42:09] <ss23> Watch it before SAO!
134: [03:42:12] <Ryan-Toast> Rewatching Cowboy bebop atm
135: [03:42:14] <ss23> SAO was just like this kiddie shit yo
136: [03:42:15] <Stomach> willr: http://pastebin.com/fzaJrTDd
137: [03:42:17] <spronk> hmm, so, how do i write one of these netwine unmatch things?
138: [03:42:24] <ss23> "look at this edgy boy! He gets to save the world!" or some shit
139: [03:42:27] <ss23> seriously most generic thing ever
140: [03:42:49] <Ryan-Toast> ss23: you mean 80% of anime?/
141: [03:42:58] <ss23> Yeah, for sure
142: [03:43:02] <Ryan-Toast> if you cut out all the harem shit
143: [03:43:03] <ss23> Started watching one :/
144: [03:43:10] <ss23> kami-sama no memochou
145: [03:43:11] <ss23> so bad
146: [03:43:23] <ss23> "Lets be detectives to save people! Even though we're 16 we can still save people!"
147: [03:43:26] <ss23> like
148: [03:43:29] <ss23> idk
149: [03:43:31] <Ryan-Toast> I ahave a japanese mate, and she keeps giving me all these shwows.
150: [03:43:36] <ss23> Such annoying ideas of like... catering to kids who want to BAH
151: [03:43:37] <ss23> so mad
152: [03:43:38] <Ryan-Toast> shows**
153: [03:43:45] <ss23> Still, at least, I can just watch good stuff instead ^.^
154: [03:44:04] <Ryan-Toast> Wish they would make more adult themed ones.
155: [03:44:21] <Ryan-Toast> sick of schoolkid X has aquired power X and must save X
156: [03:44:29] <ss23> lol
157: [03:44:32] <ss23> So watch Lain
158: [03:44:32] <ss23> :D
159: [03:44:59] <Ryan-Toast> Code Geass reminded me a lot of Death not
160: [03:45:01] <Ryan-Toast> note**
161: [03:56:13] <ss23> So yeah
162: [03:56:17] <ss23> Ryan-Toast: You downloading Lain? ^.^
163: [03:56:25] <Ryan-Toast> ss23: I’m at work :)
164: [03:57:55] <willr> and?
165: [03:58:05] <willr> Remote Desktop yo
166: [03:58:13] <simon_w> My boss was torrenting while doing a demonstration from his laptop
167: [03:58:25] <simon_w> The uTorrent completion notification popped up
168: [03:59:05] <ss23> Ryan-Toast: Fine fine, download it when you get home, right?
169: [03:59:10] <simon_w> Apparently he watches Person of Interest
170: [03:59:11] <Ryan-Toast> ss23: yarp
171: [03:59:11] <ss23> Ryan-Toast: MAKE IT THE NEXT SHOW YOU WATCH IS WHAT I'M SAYING
172: [03:59:16] <ss23> simon_w: jesus, you need a new boss
173: [03:59:18] <Ryan-Toast> ss23: OKAY
174: [03:59:20] <ss23> cause that show just isn't that good, simon_w
175: [03:59:30] <Phlunk3> lol
176: [03:59:32] <Ryan-Toast> Trying to get my MMR up in dota though.
177: [03:59:32] <simon_w> ss23, he's Australian
178: [03:59:46] <ss23> Ryan-Toast: Set it downloading and play while dling, then unwind with it when it's done
179: [03:59:50] <ss23> lol simon_w
180: [04:00:40] <Stomach> Ryan-Toast, I bought a compendium
181: [04:00:42] <Stomach> I caved
182: [04:00:44] <Stomach> before the 10 mil
183: [04:01:02] <Ryan-Toast> Stomach: good man :D
184: [04:01:13] <Ryan-Toast> Stomach: have you done your ranked calibration matches?
185: [04:01:50] * cloph_away has joined #silverstripe
186: [04:01:52] * cloph quit (Ping timeout: 245 seconds)
187: [04:02:15] <simon_w> ss23, he's also head of sales and the sysadmin. So is weird to start with :p
188: [04:05:05] * ersatzbeardr has left #silverstripe
189: [04:06:14] <Ryan-Toast> Stomach: ?
190: [04:19:33] <Stomach> Ryan-Toast, nope
191: [04:19:37] <Ryan-Toast> Stomach: Do eet
192: [04:20:14] <Stomach> Ryan-Toast, nah probably wont
193: [04:20:19] <Ryan-Toast> Stomach: How come?
194: [04:20:30] <Stomach> dont feel like gaming ever
195: [04:20:37] <Stomach> i feel like puking more often than gaming
196: [04:20:48] <Ryan-Toast> Stomach: You should stop drinking so much
197: [04:20:54] <Colin[pi]> well, you ARE a stomach after all
198: [04:21:12] <Stomach> I dont drink that much
199: [04:21:32] <Stomach> I think I'm lactose intolerant and since stopping drinking coffee now when i have one i feel really bad
200: [04:21:37] <Stomach> who knows
201: [04:21:57] <Colin[pi]> I stopped coffee for three years, now I'm addicted as ever
202: [04:22:08] * novaweb quit (Quit: novaweb)
203: [04:22:20] <Ryan-Toast> Stomach: My mate was drunk and bet me that his MMR would be higher than mine. Easiest $100 I’ve ever made
204: [04:24:10] <Stomach> my mmr is not shown
205: [04:24:13] <Stomach> thus infinity
206: [04:24:21] * UncleCheese has joined #silverstripe
207: [04:31:55] <spronk> bleh
208: [04:31:59] <spronk> entwine is a maze
209: [04:32:04] <Stomach> its... entwined
210: [04:32:10] <Stomach> lolololol
211: [04:32:32] <ss23> XD
212: [04:33:11] <spronk> its a pretty apt name
213: [04:34:01] <Stomach> a concrete one if you will
214: [04:34:11] * Stomach should just go away
215: [04:34:48] <spronk> haha
216: [04:34:49] <spronk> hahaha
217: [04:34:51] <spronk> hahahaha
218: [04:34:52] <spronk> *BANG*
219: [04:35:03] <spronk> in case there was any confusion, that was the sound of me shooting you :)
220: [04:35:36] <ss23> lol
221: [04:36:54] * wracu has joined #silverstripe
222: [04:37:25] * simon_w quit (Quit: This computer has gone to sleep)
223: [04:39:45] * Stomach dies
224: [04:39:52] <Stomach> ;(
225: [04:40:08] <spronk> oh sorry
226: [04:40:10] <spronk> i shot you in the foot
227: [04:40:11] <spronk> you know
228: [04:40:19] <spronk> to inflict pain without killing you :P
229: [04:40:26] <spronk> ... that part comes later ';..;'
230: [04:40:32] <Stomach> lol
231: [04:42:39] <spronk> hrmm
232: [04:45:16] * wracu quit (Ping timeout: 246 seconds)
233: [04:46:11] <Ryan-Toast> Stomach: you only get MMR after you do your ten ranked calibration matches.
234: [04:46:31] <Stomach> guess I'll be forever infinity
235: [04:46:36] <Ryan-Toast> Stomach: :P
236: [04:46:52] <Ryan-Toast> I went ~700 games without, but now I want mnore.
237: [04:57:09] * trent001 quit ()
238: [04:59:42] * Phlunk3 quit (Quit: Leaving)
239: [05:01:21] * mobiusnz quit (Quit: Leaving.)
240: [05:01:46] * nickmolhoek quit (Quit: nickmolhoek)
241: [05:12:57] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
242: [05:16:00] * Shrike_Finland has joined #silverstripe
243: [05:25:13] <Colin[pi]> CLIENTS GONNA CLIENT
244: [05:25:35] <spronk> lawl
245: [05:25:37] <Colin[pi]> "hi colin our latest news and events calendar is completely empty, HALP"
246: [05:25:41] <Colin[pi]> they'd deleted it all
247: [05:25:49] <Colin[pi]> and changed the Calendar page to something else
248: [05:25:54] <spronk> :|
249: [05:25:55] <Colin[pi]> and the News page to something else as well
250: [05:26:01] <spronk> loooooool
251: [05:26:06] <spronk> GREAT CLIENTING!
252: [05:26:08] <Colin[pi]> WHY IT NOT WORK
253: [05:26:21] <spronk> now tell me how entwine works :(
254: [05:26:38] <spronk> and by works, i mean, why onmatch needs onunmatch and _super() call
255: [05:26:44] <spronk> and wtf _super() does
256: [05:26:46] <Colin[pi]> lol not even the great FSM in the sky knows that
257: [05:27:00] <spronk> god damnit
258: [05:28:56] <willr> spronk because you do.
259: [05:29:07] <spronk> willr: but why!?
260: [05:29:59] <willr> well you don’t need it but good citizens clean up after themselves
261: [05:30:32] <spronk> won't most of it get gc'd anyway?
262: [05:31:00] <spronk> i.e. if you're creating something, or adding event handlers in an onmatch
263: [05:32:53] * Ryan-Toast quit (Quit: Ryan-Toast)
264: [05:32:54] <spronk> more to the point, why in almost all implementations of onunmatch does _super() get called as the only thing
265: [05:34:04] <willr> the js objects for shure but what if you wanted to run operations on the DOM, other parts of the application. Say you remove the last item in the list and you want to show a message that no items match that criteria
266: [05:35:19] * an_Eskimo quit (Ping timeout: 246 seconds)
267: [05:38:43] <willr> Haven’t used entwine enough to know why it can’t work out to call _super itself.
268: [05:40:15] <spronk> hmm
269: [05:43:46] <spronk> the docs on _super say it calls the next most specific version of the current entwine method.. but, what exactly is that?
270: [05:43:55] <spronk> the next most specific selector?
271: [05:51:14] <spronk> the code for _super() is the most cryptic method i'v seen in a long time
272: [05:51:30] <willr> I would say that it’s agnostic to parent:: in PHP
273: [05:51:34] * willr quit (Quit: willr)
274: [05:55:28] * nicob has joined #silverstripe
275: [06:00:19] * guci0 has joined #silverstripe
276: [06:00:28] <guci0> Hello World!
277: [06:01:29] <Colin[pi]> hi guci0!
278: [06:02:59] <guci0> Yo Colin[pi]!
279: [06:07:00] * simon_w has joined #silverstripe
280: [06:07:36] <simon_w> ss23, I need an ultrasound too! We can be pregnancy buddies!
281: [06:07:49] <ss23> :O
282: [06:07:54] <ss23> I SWEAR IT'S MY LIVER
283: [06:07:56] <ss23> Wait
284: [06:07:59] <ss23> Did... did I mention ultrasound?
285: [06:08:22] <ss23> I totally did, they're like "wtfm an you missed your appointment" and I was like "fuckkkk I thought it was July..."
286: [06:23:42] <Colin[pi]> ss23: bro do you even reminder?
287: [06:23:53] * willr has joined #silverstripe
288: [06:25:20] <ss23> :(
289: [06:25:23] <ss23> I lost the letter
290: [06:25:24] <ss23> ;_;
291: [06:28:32] <Colin[pi]> lol dude
292: [06:29:17] <Colin[pi]> I'm pretty bad at remembering things... if I didn't use my iPhone calendar I'd be screwed
293: [06:29:59] <Colin[pi]> I used to work with a woman back in the day whose entire life was in her Palm PDA... one day something fucked up in the sync and she lost the lot
294: [06:30:02] <Colin[pi]> she was in tears
295: [06:30:23] <simon_w> Lol, Palm
296: [06:30:43] <Colin[pi]> simon_w: still a better PDA than Newton
297: [06:30:45] <simon_w> Though WebOS looked exciting
298: [06:30:55] <simon_w> Colin[pi], not hard :p
299: [06:31:32] <Colin[pi]> I still have one of these somewhere, it was frickin awesome pre-smartphone: http://upload.wikimedia.org/wikipedia/commons/thumb/7/72/LifeDrive.jpg/281px-LifeDrive.jpg
300: [06:31:47] <ss23> simon_w: Wait so how did you know about the ultrasound?
301: [06:31:50] <ss23> I must've talked about it
302: [06:31:52] <ss23> But I dont' see it in logs :(
303: [06:31:59] <simon_w> ss23, you told us
304: [06:32:01] <Colin[pi]> ss23: rofl you can't even remember what you've talked about?
305: [06:32:15] <ss23> okay
306: [06:32:16] <ss23> ;_;
307: [06:32:19] <ss23> fuck
308: [06:32:21] <Colin[pi]> ss23 needs to install RAM doubler in his brain
309: [06:32:23] <ss23> I thought I had but I couldn't see it in logs
310: [06:32:24] <ss23> :(
311: [06:32:36] <ss23> Seriously, I rely on logs a lot
312: [06:32:47] <ss23> If someone wanted to mess with me, they could just modify my IRC logs and I would have no choice but to believe it
313: [06:32:58] <ss23> simon_w: NOTE I SAID MY LOGS, NOT YOURS
314: [06:32:58] * QuestionGuy has joined #silverstripe
315: [06:33:05] <QuestionGuy> hey all, hope you all have had a great Monday!
316: [06:33:15] <ss23> QuestionGuy: And I hope you did too! :)
317: [06:36:23] <QuestionGuy> I have a question regarding SilverStripe - is there a module that will allow live chat in the browser with signed in members?
318: [06:36:27] <simon_w> Also, the Phillip drop in centre is a lot faster before people finish work
319: [06:36:30] <QuestionGuy> like what they have on forum websites
320: [06:37:09] <ss23> QuestionGuy: Not that I'm aware of
321: [06:37:44] <QuestionGuy> hmmm ... i have tried and found this - http://www.silverstripe.org/chat-module/
322: [06:37:52] <QuestionGuy> but that will need to be modified to work on 3.1
323: [06:39:10] <Colin[pi]> yeah that module is pretty old
324: [06:40:58] * caamic30 has joined #silverstripe
325: [06:43:08] <spronk> yeah
326: [06:43:14] <spronk> i'd probably suggest snap engage or whatever it's called
327: [06:47:30] <caamic30> Hi SS! how do we add a searchable_fields dropdown to a has_one relationship in SS3. The GroupID => array(‘title’ => ‘Groups’ => ‘field’ => ‘DropdownField’); doesn’t work anymore
328: [06:49:33] <caamic30> got it, have to remove the field => ‘DropdownField’
329: [06:54:28] * ARNHOE has joined #silverstripe
330: [07:00:10] <QuestionGuy> +ss23 thank you for your help! I will try and modify the code to suit 3.1
331: [07:04:34] * QuestionGuy quit (Ping timeout: 246 seconds)
332: [07:08:55] * ocm has joined #silverstripe
333: [07:10:07] <ocm> howdy
334: [07:15:35] * Robke has joined #silverstripe
335: [07:17:15] <Robke> good morning from northern europe :)
336: [07:17:23] <ss23> And goodnight from New Zealand
337: [07:17:25] <ss23> :D
338: [07:17:34] <ss23> Staying up late is way over rated, 7am is a good time to sleep for me o/
339: [07:17:51] <ocm> sleep?
340: [07:17:52] <Robke> lucky you ;D
341: [07:17:53] <ocm> waht is sleep?!
342: [07:18:01] <Robke> ocm lol :D
343: [07:18:23] <Robke> if you dont know a meaning of sleep, i can image you didnt hear what the food is? :D
344: [07:20:19] <simon_w> Mmm,food
345: [07:20:27] <simon_w> I now have medical reasons to eat 4 times a day!
346: [07:20:44] <Robke> what happned?
347: [07:21:12] <simon_w> I have drugs to take with food
348: [07:21:19] <Robke> oh
349: [07:21:44] <Robke> for this reason is good that you are on drugs :D you cant forget to eat something :)
350: [07:22:56] <simon_w> Oh, I couldn't forget before. I'm just now required to eat 4 times a day, instead of my normal three
351: [07:30:56] <ocm> why you need the drugs?
352: [07:31:09] <ocm> you lack obesity? :P
353: [07:31:46] <willr> why not
354: [07:39:52] * Shrike_Finland quit (Quit: Leaving.)
355: [07:44:58] * stnvh has joined #silverstripe
356: [07:53:12] * wmk has joined #silverstripe
357: [07:54:02] * kinglozzer has joined #silverstripe
358: [07:56:50] * UncleCheese has joined #silverstripe
359: [07:59:40] * Shrike_Finland has joined #silverstripe
360: [08:00:39] * UncleCheese quit (Client Quit)
361: [08:01:35] * ARNHOE_ has joined #silverstripe
362: [08:02:08] * ARNHOE__ has joined #silverstripe
363: [08:03:23] * Shrike_Finland quit (Client Quit)
364: [08:03:49] * ARNHOE__ quit (Remote host closed the connection)
365: [08:03:52] * ARNHOE quit (Read error: Connection reset by peer)
366: [08:04:23] * ARNHOE has joined #silverstripe
367: [08:05:47] * Colin[pi] quit (Ping timeout: 264 seconds)
368: [08:06:00] * ARNHOE_ quit (Ping timeout: 255 seconds)
369: [08:08:19] * wmk quit (Quit: nice to meet you ;))
370: [08:14:58] * wmk has joined #silverstripe
371: [08:18:59] * caamic30 quit (Quit: caamic30)
372: [08:20:31] * Robke quit (Ping timeout: 246 seconds)
373: [08:30:39] * caamic30 has joined #silverstripe
374: [08:37:06] * Werner_2_ has joined #silverstripe
375: [08:40:24] * wmk quit (Ping timeout: 248 seconds)
376: [08:40:37] * Werner_2_ is now known as wmk
377: [08:44:55] * micmania1 has joined #silverstripe
378: [08:50:05] * Pyactionk has joined #silverstripe
379: [08:50:22] <Pyactionk> lusterous light grey line!
380: [08:50:44] <Pyactionk> #shineylightgreyline
381: [08:50:57] <Pyactionk> looking forward to tonight micmania1 ?
382: [08:51:31] * R\w\C has joined #silverstripe
383: [08:51:32] * R\w\C quit (Changing host)
384: [08:51:32] * R\w\C has joined #silverstripe
385: [08:56:38] <willr> ooh I have an identifer..
386: [08:58:00] <simon_w> Congratulations?
387: [08:58:15] <Pyactionk> A what?
388: [08:58:59] <kinglozzer> What sort of evil bastard would add mint jellybeans?
389: [08:59:06] <kinglozzer> Mint?! Who the hell wants mint?!
390: [08:59:15] <simon_w> kinglozzer, delicious!
391: [08:59:45] <kinglozzer> I just found a worse one... I have no idea what it was
392: [08:59:50] * kinglozzer looks at packet
393: [09:00:26] <Pyactionk> lulz2u
394: [09:00:29] <kinglozzer> Cinnamon aka the devil's jellybean
395: [09:00:30] <Pyactionk> lulz@u
396: [09:00:47] <Pyactionk> could have been worse kinglozzer
397: [09:00:50] <Pyactionk> could have been snot.
398: [09:00:54] <Pyactionk> or centipede
399: [09:01:35] <kinglozzer> Pyactionk: Five minutes ago I'd have laughed and said there's no way those flavours exist... but now... I'm not so sure
400: [09:01:57] <Pyactionk> kinglozzer: http://www.jellybelly-uk.com/flavours/beanboozled/
401: [09:02:22] <kinglozzer> Hahaha, awesome
402: [09:02:51] <Pyactionk> comes with a spinner and everything.
403: [09:02:59] <Pyactionk> spin the pointer, eat the colour it lands on.
404: [09:03:12] <Pyactionk> you get the good or the bad.
405: [09:03:34] <Pyactionk> Centipede is legit though.
406: [09:04:09] <kinglozzer> I'm sure it can't be any worse than cinnamon
407: [09:04:15] <kinglozzer> :P
408: [09:07:47] <Pyactionk> centipede perhaps not. I always went for it because that way I don't have to eat the baby shit flavoured one.
409: [09:08:25] <Pyactionk> centipede you can kinda shrug and go 'tastes earthy'.
410: [09:08:32] <Pyactionk> but the others... dunno didn't try. Thankfully.
411: [09:08:42] <Pyactionk> but apparently they're exteremely rancid
412: [09:12:42] <micmania1> Pyactionk: yes!
413: [09:18:23] <firefox2kx> Question: I'd like to create an object (has_many) for "Page" defined as article. An article can have a subtitle, one or two columns and a selector that defines some pre-defined column-sizes. How would I do this?
414: [09:19:19] <firefox2kx> oh in addition: in a column can be either text or a picture
415: [09:23:00] * Robke has joined #silverstripe
416: [09:23:46] <firefox2kx> 1. would that object get its own controller/view or would it get implemented in the controller/view of Page; 2. Own Class or in Page; 3. Is there somewhere an example how such is done
417: [09:24:16] <kinglozzer> Not sure what "selector that defines some pre-defined column-sizes" means, but as the articles can be so different, I'd create an Article class, then subclasses of Article for each type/layout. Then manage them in a GridField and use the GridFieldAddNewMultiClass from here https://github.com/ajshort/silverstripe-gridfieldextensions
418: [09:25:31] <firefox2kx> the selector just saves a state (1, 2, 3, 4 or 5) and in the view it is interpreted as "half : half" "1 third : 2 third" or similar
419: [09:25:46] <Pyactionk> 2010 eh
420: [09:25:49] <Pyactionk> that's an old version.
421: [09:26:34] <Pyactionk> firefox2kx: I suggest you read the tutorials.
422: [09:26:41] <Pyactionk> they answer most of your questions
423: [09:28:13] <Pyactionk> for instance, you cannot do this in class alone, you MUST subclass.
424: [09:28:42] <firefox2kx> okay
425: [09:28:49] <Pyactionk> besides the fact that doing this in class would be extremely poor application design, you also would have a very messy template.
426: [09:32:13] * Azure quit (Read error: Connection reset by peer)
427: [09:32:48] * Azure has joined #silverstripe
428: [09:43:06] * oceanmountain has joined #silverstripe
429: [09:43:06] * ocm quit (Ping timeout: 244 seconds)
430: [09:43:07] * oceanmountain is now known as ocm
431: [09:49:26] * R\w\C quit (Quit: My iMac has gone to sleep. ZZZzzz…)
432: [09:49:51] * cloph_away is now known as cloph
433: [09:59:47] * ARNHOE quit ()
434: [10:00:04] * ARNHOE has joined #silverstripe
435: [10:01:57] * anselmdk has joined #silverstripe
436: [10:02:19] * anselmdk quit (Client Quit)
437: [10:07:59] * simon_w quit (Quit: This computer has gone to sleep)
438: [10:12:57] * R\w\C has joined #silverstripe
439: [10:12:57] * R\w\C quit (Changing host)
440: [10:12:57] * R\w\C has joined #silverstripe
441: [10:18:58] * willr quit (Ping timeout: 240 seconds)
442: [10:19:37] <Pyactionk> micmania1: so do you know where you're of to yet?
443: [10:19:43] <Pyactionk> didja figure it out?
444: [10:19:52] * ARNHOE quit ()
445: [10:19:54] <micmania1> nope. Got no idea.
446: [10:20:00] <Pyactionk> got to haymarket
447: [10:20:05] <Pyactionk> go to*
448: [10:20:09] * ARNHOE has joined #silverstripe
449: [10:20:11] <micmania1> THERE TOO MANYT THINGS GOING ON IN MY HEAD :(
450: [10:20:27] <Pyactionk> face north, turn left, through uni, turn right and go around the building, looks like a snail, that one.
451: [10:21:01] <micmania1> I'm going to hire another Michael to do stuff i don't have time for
452: [10:22:15] <micmania1> My car tax runs out today
453: [10:22:18] * Robke quit (Quit: Page closed)
454: [10:22:22] <micmania1> I need someone to take my car away :(
455: [10:22:40] <micmania1> Do you want it?
456: [10:22:56] <micmania1> Have it. please.
457: [10:23:30] * superspring_ has joined #silverstripe
458: [10:24:46] * Pyactionk quit (Ping timeout: 246 seconds)
459: [10:24:57] <micmania1> I was only joking :(
460: [10:25:07] <guzzlefry> what's a car tax?
461: [10:25:21] <guzzlefry> oh wait
462: [10:25:28] <micmania1> The thing you pay to allow you to drive it on public roads
463: [10:25:33] <guzzlefry> we call those registration fees here. :P
464: [10:25:43] <guzzlefry> and we get a magical sticker in return
465: [10:25:56] <micmania1> yeah, sounds pretty similar :p
466: [10:25:59] * superspring quit (Ping timeout: 252 seconds)
467: [10:26:06] <micmania1> I don't want my car anymore though.
468: [10:26:36] <micmania1> I might just leave the keys on the roof with a note saying "PLEASE STEAL ME"
469: [10:27:27] <guzzlefry> make sure you leave it in the bad part of town
470: [10:27:36] <micmania1> yeah, outside my house haha
471: [10:27:47] * Pyactionk has joined #silverstripe
472: [10:27:51] <Pyactionk> micmania1: ha, so they didn't have an event in April, said they'd be back in May, but there's no blog post for that. So maybe we've missed a grand total of only 1, heh. Because the other one was a maker yarn about building stuff and 3d printing.
473: [10:28:01] <Pyactionk> and that 1 was the CMS one
474: [10:28:15] <Pyactionk> yarns about droopyal
475: [10:28:21] <Pyactionk> or whatever
476: [10:34:42] * caamic30 quit (Quit: caamic30)
477: [10:50:43] <kinglozzer> If I've a boolean field I want to be 1 by default, private static $defaults = array('BoolField' => 1); right?
478: [10:51:24] <wmk> hmm, i cannot sort a datalist on a relation's title?
479: [10:51:40] * spronk has left #silverstripe
480: [10:53:49] <wmk> ah, have to add ID to the sort.... like ->sort(array('CountryID.Title' => 'ASC'))
481: [10:55:00] * simon_w has joined #silverstripe
482: [10:57:44] * spronk has joined #silverstripe
483: [10:57:49] <Pyactionk> kinglozzer: default => true should work too
484: [10:58:07] <kinglozzer> Pyactionk: Cool ty
485: [10:58:13] <Pyactionk> wmk: hmm, interesting. Probably should have to :<
486: [11:00:34] <kinglozzer> Ffs, $obj->MyBooleanField is either null or a string '1'
487: [11:00:47] <kinglozzer> 10 minutes wondering why !== 1 wasn't working
488: [11:00:54] <Pyactionk> kinglozzer: is SS property?
489: [11:01:08] <kinglozzer> Pyactionk: Yeah
490: [11:01:13] <Pyactionk> and is coming from DB?
491: [11:01:15] <kinglozzer> Yeah
492: [11:01:22] <Pyactionk> and you put true in there?
493: [11:01:26] <Pyactionk> or '1'?
494: [11:01:40] <kinglozzer> Pyactionk: idk, whatever checkboxfield puts in there :p
495: [11:01:48] <Pyactionk> '1'
496: [11:01:57] <kinglozzer> Mm, figured
497: [11:02:04] <kinglozzer> But data type 'Boolean' suggests boolean
498: [11:02:05] <Pyactionk> dataValue on field.
499: [11:02:17] <Pyactionk> YourFaceField::dataValue
500: [11:02:50] <Pyactionk> kinglozzer: Boolean data type should probably convert it, yeh. but CheckboxField shoudn't know about that.
501: [11:03:39] <kinglozzer> $obj->dbObject('Foo')->dataValue is null ><
502: [11:03:43] <Pyactionk> I just stumbled across/rediscovered that SS doesn't let you modify shit further down the heirarchy
503: [11:03:47] <kinglozzer> Method dataValue() doesn't exist
504: [11:04:08] <kinglozzer> ohshit it's a method on the field
505: [11:04:10] <kinglozzer> my bad
506: [11:04:26] <Pyactionk> eg, blahClass::hurgh() allowed_actions [], blahSubClass::allowed_actions['hurgh'] NOPE
507: [11:06:21] <Pyactionk> kinglozzer: ha, yeah, formfield, not dbfield, sorry.
508: [11:19:02] * simon_w quit (Quit: This computer has gone to sleep)
509: [11:29:25] <wmk> can't you tell composer to flush silverstripe when installing a module?
510: [11:33:49] <guzzlefry> Not as it stands.
511: [11:34:19] <guzzlefry> The only thing the SilverStripe composer installer does at the moment is set the install path.
512: [11:35:04] * micmania1 quit (Ping timeout: 260 seconds)
513: [11:38:35] * micmania1 has joined #silverstripe
514: [11:40:02] <firefox2kx> Shouldn't this work? There is shown no additional tab or field in CMS: http://pastebin.com/u98ZLtGh
515: [11:42:11] <firefox2kx> outch... the getcmsfields is in the wrong class i'm afraid xD
516: [11:44:17] <micmania1> wmk: guzzlefry: you can flush
517: [11:44:19] <micmania1> 2 secs
518: [11:44:49] <wmk> micmania1, i should also tell git to do a composer install after pulling new data
519: [11:45:22] <micmania1> http://www.sspaste.com/paste/show/53b149ebce920
520: [11:47:46] <wmk> micmania1, do you think it's possible to run this only on the server, not on the dev machine?
521: [11:54:20] <Pyactionk> firefox2kx: use $fields = parent::getCMSFields()
522: [11:54:36] <Pyactionk> otherwise you'll make a bit of a mess in the CMS I'm afraid.
523: [11:57:27] <micmania1> wmk: If you only keep the post-install stuff that should do I think
524: [11:57:58] <micmania1> You'd update on dev and install on live, normally
525: [11:58:20] <wmk> micmania1, locally i run windows shell and develop in a vm, so running framework/sake on windows doesn't work (no access to db, as it's in a vm)
526: [12:00:59] <firefox2kx> Pyactionk: I've pulled the getcms in the other class, added the relation has_one back to Page and get Object->__call(): the method 'getcmsfields' does not exist on 'HasManyList'
527: [12:01:34] <firefox2kx> and as you said, I now use what you wrote and uncommented the other code
528: [12:03:58] <firefox2kx> here it is: http://pastebin.com/hS9r04Ri
529: [12:07:40] <firefox2kx> ok as I do this, it is for sure wrong... mh
530: [12:10:07] <firefox2kx> replacing $this->PageArticle()->getCMSFields() with $this->PageArticle() at least brings up the new tab. by now it's still empty
531: [12:13:28] * R\w\C quit (Quit: My iMac has gone to sleep. ZZZzzz…)
532: [12:22:25] <Pyactionk> firefox2kx: you're doing it wrong :<
533: [12:23:00] <Pyactionk> if you're getting this: Object->__call(): the method 'getcmsfields' does not exist on 'HasManyList'
534: [12:23:51] <Pyactionk> $fields->addFieldsToTab("Root.Artikel", $this->PageArticle()->getCMSFields());
535: [12:23:54] <Pyactionk> that
536: [12:23:56] <Pyactionk> that is your problem.
537: [12:24:53] <Pyactionk> firefox2kx: a relation getter ($this->PageArticle()) ALWAYS returns a list for many relations.
538: [12:24:58] <Pyactionk> even if there's none.
539: [12:25:05] <Pyactionk> it's just an empty list.
540: [12:25:21] <Zauberfisch> ever used contao?
541: [12:25:31] <Pyactionk> also, again that's extremely poor application design :<
542: [12:25:40] <Zauberfisch> is it just me, or does their usage of composer feel wrong?
543: [12:25:41] <Pyactionk> a parent class should never know anything about children.
544: [12:25:55] <Pyactionk> Zauberfisch: some people would probably same the same about SS
545: [12:26:21] <Zauberfisch> perhaps
546: [12:26:22] <Pyactionk> but to answer your question, no. I don't think I've ever even heard of contao before now
547: [12:26:26] <Zauberfisch> or actually
548: [12:26:35] <Zauberfisch> their whole setup feels wrong
549: [12:26:40] <Pyactionk> Zauberfisch: yeah, but some people get _really_ precious about their vendor/ folder
550: [12:26:46] <Zauberfisch> they want you to clone the core repo
551: [12:27:08] <Zauberfisch> Pyactionk: ok, on that I actually agree. I like vendor/
552: [12:27:34] <Pyactionk> haha, it looks like a wordderp install, only with an actual tree to demonstrate structure
553: [12:28:01] <Zauberfisch> anyway, contao's readme say: just run "git clone https://github.com/contao/core.git and then composer install"
554: [12:28:28] <Zauberfisch> Pyactionk: haha, yeah, but we all knew that wordpress sucks
555: [12:29:18] <Zauberfisch> anyway, so is it just me or is cloning their repo a bad idea?
556: [12:29:40] <Zauberfisch> I mean how do they expect people to put their own code into git and manage all that?
557: [12:29:46] <Zauberfisch> this just feels stupid
558: [12:33:23] * caamic30 has joined #silverstripe
559: [12:35:31] * R\w\C has joined #silverstripe
560: [12:35:31] * R\w\C quit (Changing host)
561: [12:35:31] * R\w\C has joined #silverstripe
562: [12:42:25] <Zauberfisch> this is just stupid ...
563: [12:42:41] <Zauberfisch> time to go flame the people in what ever contao irc channel I find
564: [12:42:50] <Pyactionk> hahahah
565: [12:43:08] <Pyactionk> go on then Zauberfisch :>
566: [12:43:43] <Pyactionk> EN only - for German please join #contao.de]
567: [12:43:43] <Pyactionk> split the community!
568: [12:45:09] <Pyactionk> hahaha, Zauberfisch champ, just straight out with it xD
569: [12:48:51] <wmk> micmania1, i try to solve the composer install and dev/build with a git hook
570: [12:51:48] <Pyactionk> Boom, and so there we go Zauberfisch. You can use composer with contao, except for the fact that you can't.
571: [12:52:13] <Pyactionk> but to be fair, it sounds about exactly the same as silverstripe-installer
572: [12:52:33] <Pyactionk> that confuses the shit biscuits out of me, and is one of the major reasons I don't use composer.
573: [12:53:29] <Pyactionk> and so he just comes out and says "use a better system"!
574: [12:53:31] <Pyactionk> brilliant.
575: [12:55:26] <micmania1> "In typolight its important to realise that websites are made up of pages, and pages are made up of articles and articles are made up of 1 or more content elements." - WOW.
576: [12:55:45] <Pyactionk> LOL
577: [12:55:47] <micmania1> So websites are made up of a fuck load of content elements
578: [12:55:56] <Pyactionk> many usefuls, very website, wow!
579: [13:00:38] <Zauberfisch> Pyactionk: haha, thank you, that was what I was waiting to hear
580: [13:06:37] <Pyactionk> Zauberfisch: ??
581: [13:07:13] <Zauberfisch> Pyactionk: the "download zip, replace some folders and pay attenion to not overwrite your own folders"
582: [13:07:23] <Zauberfisch> that is sort of the answer I expected them to give me
583: [13:09:11] <wmk> ;)
584: [13:09:29] <wmk> anyone can help me a bit with git hooks?
585: [13:11:02] <Pyactionk> Zauberfisch: to be completely fair though... that's exactly how I manage SS :P
586: [13:11:14] <Pyactionk> wmk: sure
587: [13:11:18] <Pyactionk> man git hook
588: [13:11:20] <Pyactionk> :P
589: [13:11:30] <Pyactionk> there are examples in .git/config/hoks
590: [13:11:31] <Pyactionk> or something
591: [13:12:01] <wmk> is post-receive the right hook to run when pulling?
592: [13:12:07] * Zauberfisch slaps Pyactionk around a bit with a large trout
593: [13:14:31] <Pyactionk> :O
594: [13:14:36] <Zauberfisch> Pyactionk: ok, the ss installer in composer is a bit weird, and I disslike that modules are not in vendor/
595: [13:14:41] <Zauberfisch> but its not that bad
596: [13:14:59] <wmk> to vendor or not to vendor, that's the question
597: [13:15:23] <Pyactionk> yeh, I don't like that everything goes in vendor.
598: [13:15:42] <Pyactionk> I mean, I can see WHY, but at the same time any tool that enforces a particular type of setup is shit IMO
599: [13:17:00] <wmk> well, having all ss modules in / is ok for me. a bit better than /vendor/zauberfisch/zauberfischs-great-module.
600: [13:17:27] <Pyactionk> mm, can give overview of what is what in a single glance.
601: [13:17:46] <wmk> though with a decent IDE it's pretty regardless where a file lives.
602: [13:17:54] <wmk> ehem, is located
603: [13:18:19] <Pyactionk> the main issue with SS and compser is that composer wants to provide some shit for you, where as SS manages the majority of it's ecosystem itself
604: [13:18:34] <Pyactionk> manifest, autoloader, etc
605: [13:18:34] <wmk> ok
606: [13:18:52] <wmk> is ss manifest better than composers?
607: [13:19:13] <wmk> or anything special about that? why not use composers manifest one day?
608: [13:20:02] <Pyactionk> wmk: because SS preceeds composer by about 6 years
609: [13:20:32] <wmk> was just a question ;)
610: [13:20:57] <Zauberfisch> Pyactionk: looking into your composer file gives you that overview already
611: [13:21:08] <wmk> Zauberfisch, hmm, no
612: [13:21:11] <Pyactionk> wmk: no real reason it coudln't one day.
613: [13:21:25] <Pyactionk> just for now SS would need a hell of a lot of abstraction, etc.
614: [13:21:26] <Zauberfisch> wmk: uhm, yes :P
615: [13:21:28] <Pyactionk> encapsulation
616: [13:21:45] <Pyactionk> wmk: and yeah, by definition what's in your composer.json is what is in your vendor.
617: [13:21:47] <wmk> if you install every requirement manually, yes. if a module requires something it's in the modules composer.json, not in your project composer.json
618: [13:21:52] <Pyactionk> give or take a few dependencies.
619: [13:22:17] <wmk> Zauberfisch, OOOHHHH!
620: [13:22:18] <Pyactionk> wmk: yeah, but the same could be said for about anything
621: [13:22:46] <Pyactionk> for example I dont' really give a shit that I need libiconv in order to use about most of the CLI apps around for linux
622: [13:22:48] <wmk> Pyactionk, of course. Seems like composer is one of the better packet managers, or why would we use it...?
623: [13:22:59] <Pyactionk> wmk: it's about the only.
624: [13:23:00] <Pyactionk> is why.
625: [13:23:09] <Pyactionk> I mean, there's PEAR, but that's also not really the same thing.
626: [13:23:24] <wmk> hmm, no. pear is dead, isn't it?
627: [13:23:30] <Pyactionk> and that.
628: [13:23:42] <Pyactionk> but it was the same idea, essentially
629: [13:23:48] <wmk> yup.
630: [13:24:00] <wmk> best on composer / packagist is the seamless integration with github.
631: [13:25:21] <wmk> argh. the worst on composer is the quite similar name with compass
632: [13:25:34] <wmk> composer watch just doesn't work!
633: [13:25:55] <Pyactionk> haha
634: [13:26:01] <Pyactionk> should be composer listen
635: [13:26:03] <Pyactionk> really shouldn't it :P
636: [13:28:47] <wmk> yeah. as a fallback calling the compass command ;)
637: [13:29:23] <Pyactionk> ha
638: [13:29:29] <Pyactionk> but listen != watch
639: [13:31:10] * R\w\C quit (Quit: My iMac has gone to sleep. ZZZzzz…)
640: [13:32:33] <wmk> Pyactionk, well, pretty much the same
641: [13:32:58] <wmk> kind of 'be aware of new input than can occur any time'
642: [13:39:18] <Pyactionk> yeh
643: [13:42:06] <firefox2kx> Pyactionk: Sorry. 've really no clue. What we've had about 14:00 'o clock - it works (now) fine with has_one. As said, I want has_many: The user shall be able to add more than one dataobject consisting of several textfields for instance. I also don't find an example where this is done correctly... :-/
644: [13:44:27] <Pyactionk> firefox2kx: I explained it, but basically you're probably looking for singleton('ArticlePage')->getCMSFields()
645: [13:45:25] <wmk> Pyactionk, singleton doesn't invoke extensions afail
646: [13:45:41] <wmk> firefox2kx, how about a gridfield for managing has_many articles?
647: [13:46:14] <Pyactionk> wmk: don't confuse the poor lad
648: [13:46:27] <Pyactionk> wmk: hmm, thought it did.
649: [13:46:41] <wmk> Pyactionk, i'd just go with the most simple solution.
650: [13:46:53] <Pyactionk> I thought these days it was just backward compatibility to Injector::get
651: [13:47:04] <Pyactionk> wmk: this is.
652: [13:47:12] <Pyactionk> there's a whole tutorial on it.
653: [13:47:29] <Pyactionk> the trouble is that he's not too good with code :<
654: [13:47:38] <wmk> note to myself: git post-merge hook is called after merge, which will be done on a pull
655: [13:48:04] <wmk> hehe, just call 0800-Zauberfisch
656: [14:00:21] <firefox2kx> wmk: I think the gridfield is indeed more likely what I'm looking for
657: [14:00:41] * Fisix_AIX has joined #silverstripe
658: [14:01:43] <Fisix_AIX> Hello, In template how do I do "if top level page" I have tried Level(1) it does not seem to work?
659: [14:03:32] <kinglozzer> wmk: Here's a neat example I found online: https://gist.github.com/kinglozzer/9374054919f1dcd68685
660: [14:03:52] <kinglozzer> You give it something to grep, if a file/folder that matches has changed it'll run the command
661: [14:04:04] <kinglozzer> e.g. check_run composer "composer install"
662: [14:08:30] <Pyactionk> firefox2kx: well as I said, read the tutorials, gridfield and relations are #5
663: [14:08:34] * Robke has joined #silverstripe
664: [14:08:44] <Robke> hello once again :) i have a small issue
665: [14:08:54] <Pyactionk> Fisix_AIX: it does work.
666: [14:09:03] <Robke> i have upload field in CMS (setting logo uplaod)
667: [14:09:26] <Pyactionk> Fisix_AIX: it just doesn't do what you think it does I think.
668: [14:09:35] <Robke> is it possible to write something in css like( .logo{background: url($LogoUplaod);})?
669: [14:09:43] <Pyactionk> Robke: no.
670: [14:09:47] <Robke> thanks :)
671: [14:09:48] <Pyactionk> well, yes in your template.
672: [14:09:56] <Pyactionk> style="inline style stuff"
673: [14:10:10] <Pyactionk> but a css sheet is just a css sheet, always.
674: [14:10:20] <Robke> ok thanks for info ;)
675: [14:10:39] <Pyactionk> all assets are.
676: [14:11:00] <Pyactionk> css, js, video files, music, flash, images, etc.
677: [14:11:11] <kinglozzer> Except Requirements::javascriptTemplate() :P but that's the work of satan
678: [14:11:16] <Pyactionk> if the file exists, the webserver just loads them.
679: [14:11:22] <Pyactionk> kinglozzer: yes it is.
680: [14:11:25] <Pyactionk> for 2 reasons.
681: [14:11:50] <Pyactionk> not only is it putting view logic in the controller, it's a simple derpy preg_replace
682: [14:11:52] <Pyactionk> iirc
683: [14:11:57] <Pyactionk> that or str_replace
684: [14:12:28] <kinglozzer> Pyactionk: str_replace :P
685: [14:12:32] <Pyactionk> yeh
686: [14:12:33] <Pyactionk> hehe
687: [14:16:21] <Fisix_AIX> Pyactionk, Ahhh, I see the error of my ways, the level2's also have a level 1, so How do I say if is a top level page?
688: [14:18:16] <wmk> kinglozzer, thanks.
689: [14:18:35] <wmk> well, running composer install and a dev/build on every pull on the testing machine is ok i guess
690: [14:18:39] <wmk> it's not that often ;)
691: [14:18:49] <wmk> but the check_run() function is cool.
692: [14:18:55] <Pyactionk> Fisix_AIX: easiest way is generally if not Parent
693: [14:19:09] <Pyactionk> or ParentID to save a lookup
694: [14:19:11] <wmk> firefox2kx, any progress on the grid?
695: [14:24:52] <Fisix_AIX> Pyactionk, Thanks
696: [14:25:28] <Pyactionk> Fisix_AIX: depending on your version, perhaps if ParentID != 0
697: [14:25:51] <Pyactionk> or even <% if ParentID %><% else %> ...
698: [14:26:27] <Pyactionk> although that's extreemely old, shouldn' tneed any hacks like that now
699: [14:27:52] <wmk> <% if not ParentID %>
700: [14:28:25] <Pyactionk> mmhmm
701: [14:28:45] <Fisix_AIX> Yea, I just used <% if not ParentID %>
702: [14:29:10] <Pyactionk> almost always more than 1 way to skin a cat ;)
703: [14:37:35] <wmk> Pyactionk, how can you make a dog miow like a cat?
704: [14:48:19] * Robke quit (Ping timeout: 246 seconds)
705: [14:50:29] * spronk2 has joined #silverstripe
706: [14:55:39] <Pyactionk> wmk: I dunno, how do you make a dog meow like a cat?
707: [14:56:23] * Fisix_AIX quit (Quit: Leaving)
708: [14:57:00] <wmk> Pyactionk, put it deep frozen through a circular saw
709: [14:57:08] <wmk> meeeeeooooowwww
710: [14:58:34] <Pyactionk> wmk: how do you make a cat woof?
711: [14:58:59] <wmk> put petrol over it and light the fire
712: [14:59:05] <Pyactionk> :( You know it :/
713: [14:59:07] <Pyactionk> lol
714: [14:59:36] <wmk> yes
715: [14:59:40] * catcher has joined #silverstripe
716: [14:59:59] <wmk> Pyactionk, how can you put an elephant into a refridgerator?
717: [15:00:38] <Pyactionk> dunno..
718: [15:00:47] <catcher> one bite at a time?
719: [15:00:53] <wmk> open the door, put the elephant in, close the door
720: [15:00:57] <catcher> wait, that's the wrong elephant thing.
721: [15:01:15] <wmk> Pyactionk, how do you put 4 elephants into a beetle?
722: [15:01:35] <Pyactionk> dunno
723: [15:01:40] <wmk> 2 front, 2 rear
724: [15:01:41] <Pyactionk> get the beetle really drunk first?
725: [15:01:45] <Pyactionk> xD
726: [15:02:08] <wmk> ok, the next is easy: how do you put a rhino into a fridge?
727: [15:02:20] <Pyactionk> Dunno.
728: [15:02:24] <wmk> cmon
729: [15:02:27] <Pyactionk> why did the girl fall off the swing?
730: [15:02:35] <wmk> take a guess ;)
731: [15:02:41] <Pyactionk> she had no arms.
732: [15:02:54] <Pyactionk> wmk: uhh, open the fridge, put it in?
733: [15:03:03] <wmk> Pyactionk, nearly. but wrong
734: [15:03:16] <wmk> open the fridge, put the elephant out, put rhino in, close fridge
735: [15:03:26] <Pyactionk> haha :D
736: [15:03:45] <wmk> but why did the girl have no arms?
737: [15:03:54] * caamic30 has left #silverstripe
738: [15:03:56] <Pyactionk> Why should you never play cards with leopards?
739: [15:04:03] <wmk> swing in term of playground ?
740: [15:04:07] <Pyactionk> Some of them might be cheetahs
741: [15:04:12] <Pyactionk> wmk: yes.
742: [15:04:37] <wmk> lol, cheetah....
743: [15:04:51] <Pyactionk> wmk: have you heard the one about the magical tractor?
744: [15:05:06] <wmk> no. the bulldog?
745: [15:05:17] <Pyactionk> it was driving down the road, then it turned into a field.
746: [15:05:28] <wmk> wow...
747: [15:06:31] <wmk> real magic. like silverstripe sometimes...
748: [15:06:31] <Pyactionk> wmk: the bulldog's in the freezer, below the rhino, preparing for the saw?
749: [15:06:39] * spronk2 quit (Quit: spronk2)
750: [15:06:53] <Pyactionk> wmk: pretty much. when you think about it, all SS's fields are magic.
751: [15:07:06] <Pyactionk> They're not actually proper fields.
752: [15:07:14] <Pyactionk> $record
753: [15:11:04] <wmk> bulldog is an old bavarian trademark for a tractor
754: [15:11:22] <Pyactionk> ah
755: [15:11:26] <Pyactionk> brand :>
756: [15:11:35] <Pyactionk> wmk: you're in bavaria?
757: [15:11:46] <wmk> near.
758: [15:11:53] <wmk> born in bavaria, now south of it in austria
759: [15:12:01] <Pyactionk> oic
760: [15:12:21] <wmk> somewhere in the middle of my home and Zauberfisch
761: [15:13:28] <ss23> "I love using Virtual Box to try out Hannah Montana Linux. You get the best of both worlds."
762: [15:13:43] <ocm> slice and dice it!
763: [15:13:52] <ocm> oh wrong channel
764: [15:13:54] <ocm> sorry :D
765: [15:19:53] <guzzlefry> ss23: I'm worried about you.
766: [15:19:58] <ss23> XD
767: [15:20:04] * guzzlefry blames Japan.
768: [15:20:04] <ss23> Because I'm up at 3am, or because... of that
769: [15:20:30] <Pyactionk> can't it be both ss23?
770: [15:20:38] <ss23> I guess :O
771: [15:20:41] <Pyactionk> ss23: are you ready for micmania1 to come and sleep on your floor?
772: [15:20:46] <guzzlefry> I know of no other timezone besides Eastern Time.
773: [15:20:47] <ss23> I'm a bit hungry but I have no food, I don't know what I should do
774: [15:21:00] <Pyactionk> ss23: sleep. That way you can work.
775: [15:21:01] <ss23> Pyactionk: XD
776: [15:21:04] <ss23> I'm stil waiting for him!
777: [15:21:07] <Pyactionk> sleeping solves hunger.
778: [15:21:09] <ss23> micmania1: WHEN ARE YOU GETTING HERE?
779: [15:21:16] <micmania1> I DON'T KNOW
780: [15:21:19] <micmania1> soon
781: [15:21:26] <micmania1> I got an email fromm immigration today.
782: [15:21:27] <Pyactionk> ss23: it's assured to be less than a month, at least one hopes.
783: [15:21:30] <Pyactionk> oh win
784: [15:21:32] <ss23> lol
785: [15:21:38] <ss23> "it's definitly less than a month. probably."
786: [15:21:40] <micmania1> Apparently ss never filled out a form properly :(
787: [15:21:47] <Pyactionk> oh dark :<
788: [15:21:52] <micmania1> BUT
789: [15:21:59] <micmania1> Its moving faster than I thought
790: [15:22:08] <ss23> micmania1: :O
791: [15:22:08] <Pyactionk> mmm :> good news everybody!
792: [15:22:09] <micmania1> its supposed to take 20-25 days and its only been about 5
793: [15:22:14] <ss23> Pyactionk: YOU'RE PREGNANT?!
794: [15:22:18] <micmania1> and they're already dealing with it
795: [15:22:23] <Pyactionk> ss23: nup.
796: [15:22:25] <ss23> micmania1: That seems good :D
797: [15:22:58] <micmania1> yeah, ss have to provide proof that they looked for someone in nz before they offered the job to me :(
798: [15:23:06] * firefox2kx renames #silverstripe to #pregnancy
799: [15:23:18] <ss23> micmania1: What! That seems dumb :O
800: [15:23:27] * ARNHOE quit ()
801: [15:23:31] <micmania1> but the form clearly states you don't need to provide proof if you can provide proof of work experience!
802: [15:23:33] <micmania1> which I did
803: [15:23:51] <micmania1> I think I just need to give the immigration officer more context
804: [15:23:58] <micmania1> ie. all the open source stuff
805: [15:24:53] <Pyactionk> SS is basically a govt. dept. now, you'll be fine :P
806: [15:25:06] * R\w\C has joined #silverstripe
807: [15:25:07] * R\w\C quit (Changing host)
808: [15:25:07] * R\w\C has joined #silverstripe
809: [15:25:13] <Pyactionk> 1.5 hr until supermonday :>
810: [15:25:36] <micmania1> how u getting there? U going straight there?
811: [15:25:43] <Pyactionk> Yeh, likely.
812: [15:25:43] <micmania1> James is coming but Chris isn't
813: [15:25:52] <micmania1> Says he can't be arsed to sit in the room with those people any longer haha
814: [15:25:57] <Pyactionk> I'll be getting a lift since my work colleague is coming too
815: [15:26:00] <micmania1> He sounded articularly depressed today.
816: [15:26:09] <Pyactionk> oh chris.
817: [15:26:20] <Pyactionk> James is... the new old dev?
818: [15:26:27] <micmania1> The one who done a runner last time lol
819: [15:26:35] <Pyactionk> Oh, hahaha!
820: [15:27:17] <micmania1> ss23: do you need a flatmate? I can pay you in popcorn chicken.
821: [15:27:38] <ss23> haha
822: [15:27:51] <ss23> micmania1: No sorry, but if you need a couch to stay on for an indefinite amount of time, I'm cool with that :D
823: [15:28:03] <ss23> I live ~10-15 mins walk from work, so it's close and all that
824: [15:28:17] <Pyactionk> ss23: walking is legit.
825: [15:28:18] <ss23> But uh, the house is not tidy, smells of weed 24/7, and my flatmate has people over on weekends etc
826: [15:28:26] <micmania1> cool, I might actually take you up on that for a week or two
827: [15:28:34] <micmania1> also ^^ I'm cool with that haha
828: [15:28:35] <Pyactionk> ss23: is that your fault or your flatmates, or JOINT effort? xD
829: [15:29:04] <Pyactionk> micmania1: no one spliffs in NZ though. be prepared if that's your bag.
830: [15:29:42] <ss23> lol
831: [15:29:50] <ss23> wait, spliff is just tobacco and pot right?
832: [15:29:54] <ss23> cause lots of people do that here, and in AU
833: [15:29:54] <Pyactionk> yup
834: [15:30:12] <Pyactionk> really? I've heard it pretty much unanimously as "What a fucking waste of good weed"
835: [15:30:15] <ss23> Pyactionk: well the not tidy is joint, the weed smell is mainly my flatmate, and having people over is him too
836: [15:30:25] <ss23> Maybe depends how rich you are, I heard it as "makes your weed last longer"
837: [15:30:28] <ss23> :P
838: [15:30:38] <Pyactionk> ss23: hahaha, yeah well... hamilton I suppose.
839: [15:31:05] <Pyactionk> But in my experience you can pick out if someone is English almost straight away if you smell a misture.
840: [15:31:07] <Pyactionk> mixture*
841: [15:32:11] <Pyactionk> micmania1: you finish at 5 right?
842: [15:32:18] <micmania1> well supposed to
843: [15:32:25] <micmania1> but I was late this morning.
844: [15:32:29] <Pyactionk> you'll make it on foot easily if you just leave.
845: [15:32:32] <Pyactionk> haha, fuck that just leave.
846: [15:32:34] <micmania1> however, I was working at midnight last night so fuck it
847: [15:32:42] <Pyactionk> make it up tomorrow :P and also that.
848: [15:33:08] <Pyactionk> I was a bit late, but I just take a bit of a shorter lunch
849: [15:33:19] <Pyactionk> since I have the luxary of a proper hour again.
850: [15:33:20] <micmania1> oh yeah, I took longer for lunch too
851: [15:33:24] <Pyactionk> hahahaha
852: [15:33:27] <Pyactionk> classic
853: [15:33:43] <micmania1> They made me do shit jobs today.
854: [15:33:49] <Pyactionk> The best one is when you go out and have a nap at lunch.
855: [15:34:00] <micmania1> I'm supposed to be on this big project til i leave. nobody else even knows how it works.
856: [15:34:16] <micmania1> but they keep giving me crap little jobs to do
857: [15:34:20] <wmk> argh. db build crashed before and i cannot get the dev vm to update the model
858: [15:34:25] <micmania1> Then ask how i'm getting on with said project...
859: [15:34:32] <Pyactionk> micmania1: just spend all your time writing docs
860: [15:34:35] <wmk> i only have the 4 standard dataobject fields on some objects
861: [15:34:35] <Pyactionk> for the next guy :P
862: [15:34:51] <micmania1> I have been, buts its pretty complex
863: [15:35:23] <micmania1> Also, its requires knowledge of SilverStripe and you're probably the only person in the NE that's even heard of it
864: [15:35:52] <micmania1> I know for a fact they're going to give it to some random dev who's going to undo all my good work.
865: [15:36:23] * wmk has an undo command in his IDE
866: [15:36:38] <Pyactionk> micmania1: nope
867: [15:36:39] <Pyactionk> well
868: [15:37:09] <Pyactionk> people at PHPNE had heard of it, but at least the one person who had that I was talking to was from NW
869: [15:37:12] <Pyactionk> I think
870: [15:37:30] <Pyactionk> lestistististisitsit sheer
871: [15:37:35] <micmania1> yeah, but nobody sticks with it long enough to understand it
872: [15:37:36] <Pyactionk> or whatever
873: [15:37:39] <Pyactionk> true
874: [15:37:52] <Pyactionk> web agencies are notoriously shit at jumping ship all the time.
875: [15:38:01] <micmania1> "This doesn't work as I expect. It must be awful."
876: [15:38:12] <Pyactionk> Pretty much.
877: [15:39:41] <Pyactionk> "this does exactly what I want, but I'm in a hurry so... "
878: [15:40:11] * wmk quit (Quit: nice to meet you ;))
879: [15:46:58] * zfmf has joined #silverstripe
880: [16:03:23] <kinglozzer> "s0 d4Mn l33t |t'z 5c4rY"
881: [16:03:26] <kinglozzer> mm...
882: [16:04:02] <catcher> kinglozzer, how did you know my password??
883: [16:04:43] <kinglozzer> :P
884: [16:06:05] <catcher> And my 2-character password!
885: [16:11:57] <firefox2kx> Have I something to do to get getCMSFields_forPopup() fired? Everything is working but that function isn't triggered to show up the correct field names..
886: [16:12:29] <micmania1> firefox2kx: What version of SilverStripe are you using?
887: [16:14:33] <Pyactionk> firefox2kx: it's not a function, never has been, never will be.
888: [16:14:40] <firefox2kx> 3.1
889: [16:14:57] <Pyactionk> firefox2kx: did you read the tutorials yet?
890: [16:15:07] <Pyactionk> if so: http://doc.silverstripe.org/framework/en/reference/grid-field
891: [16:15:10] <Pyactionk> if not, go read them.
892: [16:15:24] <Pyactionk> http://doc.silverstripe.org/framework/en/tutorials/
893: [16:16:46] <Pyactionk> time to go!
894: [16:16:48] * Pyactionk quit ()
895: [16:16:50] <firefox2kx> I used this: http://www.inforbiro.com/blog-eng/silverstripe-gridfield-tutorial/
896: [16:17:25] <firefox2kx> and even in this tut this part does not work
897: [16:19:52] <kinglozzer> firefox2kx: getCMSFields_forPopup should just be getCMSFields()
898: [16:20:06] <kinglozzer> I'm guessing the guy who wrote that made a mistake, or missed it when updating it
899: [16:20:07] * kinglozzer quit ()
900: [16:21:35] <firefox2kx> I would have sworn it's something different ^^ but it works fine without _forPopup.
901: [16:28:42] * babak quit (Quit: Connection closed for inactivity)
902: [16:40:56] * willmorgan has joined #silverstripe
903: [16:41:14] <willmorgan> any core devs around?
904: [16:41:54] <willmorgan> Zauberfisch: did you ever get anywhere with this issue? https://github.com/silverstripe/silverstripe-framework/issues/2617
905: [16:43:24] <Zauberfisch> puh
906: [16:43:33] <Zauberfisch> all I can remeber is that it was a major pain in the arse
907: [16:43:51] <Zauberfisch> I don't think I ever really fixed it
908: [16:44:15] <willmorgan> yep, pain in the arse is an understatement
909: [16:44:20] <Zauberfisch> I only can remember fiddling around with passing things around in different formats
910: [16:44:42] <Zauberfisch> eg passing $Foo.Raw to it, or $Foo.XML or something
911: [16:44:58] <Zauberfisch> or was it the other way around, using $Foo.Raw / $Foo.XML in the template then
912: [16:45:06] <Zauberfisch> or something like that
913: [16:45:14] <Zauberfisch> some things had some down sides
914: [16:45:21] <Zauberfisch> but sorry, can't really remember
915: [16:45:26] <Zauberfisch> and have to go now
916: [16:45:32] <Zauberfisch> back in an hour or two
917: [16:47:13] <willmorgan> no worries
918: [16:47:21] <willmorgan> I've hacked it using Controller::curr() -_-
919: [16:53:28] * babak has joined #silverstripe
920: [16:53:43] * R\w\C quit (Quit: Textual IRC Client: www.textualapp.com)
921: [16:59:46] * cloph is now known as cloph_away
922: [17:17:08] * willmorgan quit (Quit: l8rz)
923: [17:17:26] <firefox2kx> another one: Is it still possible to call a Method from template in 3.1 by using $methodname($var)
924: [17:18:15] <firefox2kx> (in template from controller)
925: [17:21:28] <guzzlefry> try and see
926: [17:22:02] <firefox2kx> and if so. why would it not fire? xD
927: [17:25:57] <firefox2kx> anyway, I'll solve it other way
928: [17:39:29] * hubertus_ has joined #silverstripe
929: [17:40:31] * hubertus_ quit (Client Quit)
930: [17:43:54] * zfmf quit ()
931: [17:45:22] * cloph_away is now known as cloph
932: [17:46:00] * ARNHOE has joined #silverstripe
933: [17:57:27] * ARNHOE quit ()
934: [17:59:04] * guci0 quit (Ping timeout: 246 seconds)
935: [18:05:55] * Shrike_Finland has joined #silverstripe
936: [18:17:57] * gelignite has joined #silverstripe
937: [19:03:03] * joelpittet has joined #silverstripe
938: [19:29:14] * willmorgan has joined #silverstripe
939: [19:52:23] * antmas has joined #silverstripe
940: [20:23:14] * mobiusnz has joined #silverstripe
941: [20:37:16] * antmas quit (Ping timeout: 246 seconds)
942: [20:43:40] * antmas has joined #silverstripe
943: [20:45:27] * an_Eskimo has joined #silverstripe
944: [20:48:40] * Ryan-Toast has joined #silverstripe
945: [20:54:04] * antmas quit (Ping timeout: 246 seconds)
946: [21:02:29] * nickmolhoek has joined #silverstripe
947: [21:15:26] * antmas has joined #silverstripe
948: [21:15:37] <antmas> morning all
949: [21:15:49] <Ryan-Toast> Morning
950: [21:17:00] * UncleCheese has joined #silverstripe
951: [21:17:08] <Stomach> how do
952: [21:17:43] <antmas> mad busy :(
953: [21:17:58] <Stomach> me too, so instead of doing work I'm not
954: [21:18:00] <Stomach> stupid brain
955: [21:19:22] <antmas> ss23: you around?
956: [21:19:35] <Ryan-Toast> Stomach: My brain is tired, and it’s only Tuesday.
957: [21:20:01] <Stomach> Ryan-Toast, how come? payments getting you down still?
958: [21:20:13] <Ryan-Toast> Stomach: Nah, just need to sleep more.
959: [21:20:20] <antmas> ^^^ this
960: [21:20:22] <antmas> me too
961: [21:20:36] <Stomach> I went to bed at 8.30 last night and I'm still tired, keep having night terrors :\
962: [21:20:47] <Stomach> making my girlfriends life shit for the last 4 days too
963: [21:20:55] <antmas> I haven't had one of those in MONTHs
964: [21:22:07] <Stomach> I get them when I stress
965: [21:22:15] <Stomach> and apparently I'm really stressed at the moment
966: [21:22:54] <Ryan-Toast> Take a day off.
967: [21:23:02] <antmas> I need to do this ^^^
968: [21:23:09] <antmas> or go on a holiday or something
969: [21:23:21] <Ryan-Toast> Go drive a car really fast round and round in a circle.
970: [21:24:45] <antmas> trying to decide on an island for the mrs and I
971: [21:24:52] <antmas> vanuatu maybe
972: [21:25:50] <Ryan-Toast> antmas: Waiheke, cheap.
973: [21:26:03] <antmas> Ryan-Toast: need a warm beach
974: [21:26:16] <Ryan-Toast> Waiheke with a sleeping bag
975: [21:26:22] <antmas> lol
976: [21:26:22] <Stomach> pee yourself. cheap and problem solved
977: [21:26:29] <antmas> naw, been there
978: [21:26:29] <Ryan-Toast> Stomach: ^
979: [21:26:37] <Stomach> pee yourself in a sleeping bag
980: [21:26:41] <Stomach> all the best bits
981: [21:26:47] <Stomach> like a cornetto but not
982: [21:26:52] <Ryan-Toast> lol
983: [21:27:13] * stnvh_ has joined #silverstripe
984: [21:27:19] <Ryan-Toast> I put on all my snow gear and walked around the house yesterday.
985: [21:27:33] <Ryan-Toast> Don’t know what I was thinking.
986: [21:27:36] <Ryan-Toast> It was hot as balls.
987: [21:27:59] <antmas> holy shit flights to vanuatu are cheap
988: [21:28:08] <Ryan-Toast> It’s winter.
989: [21:28:11] * nickmolhoek1 has joined #silverstripe
990: [21:28:18] <antmas> Ryan-Toast: October
991: [21:28:25] <Ryan-Toast> Oh, right.
992: [21:28:31] <Stomach> how much is cheap
993: [21:28:40] <Stomach> #silverstripe meet in vanuatu go
994: [21:28:46] <antmas> $720pp return from nelson
995: [21:29:45] <antmas> bugger, that's without a bag
996: [21:29:47] <antmas> :(
997: [21:29:52] * azureknight has joined #silverstripe
998: [21:30:07] <Stomach> you dont need a bag
999: [21:30:14] <Stomach> unless you are going for weeks and weeks
1000: [21:30:22] <antmas> true I guess not
1001: [21:30:29] <antmas> it'd be like 7-8 days
1002: [21:30:54] <Ryan-Toast> Clash of clans keeps crashing my phone :(
1003: [21:31:03] <Ryan-Toast> Also, who needs bags?
1004: [21:31:07] <Stomach> togs, towel, 2 shirts, 2 undies, jandels, jacket, pants
1005: [21:31:15] <Stomach> easy
1006: [21:31:18] <Ryan-Toast> Just make a grass skirt or something when you land
1007: [21:31:37] <antmas> lol
1008: [21:31:47] <antmas> Ryan-Toast: you should uninstall that game
1009: [21:31:52] <antmas> it's the best way to fix the crashing
1010: [21:32:24] <Ryan-Toast> antmas: :)
1011: [21:32:29] <Ryan-Toast> I like it, it’s fun.
1012: [21:32:43] <antmas> the advertising is insane
1013: [21:32:49] <antmas> massive push for that game
1014: [21:32:52] <Ryan-Toast> Neever seen advertising for it.
1015: [21:33:05] <antmas> it's errrrwhere
1016: [21:33:22] <Stomach> i just get beauty product and girl pants advertising now
1017: [21:33:32] <Stomach> stupid beauty product and girl pants websites
1018: [21:33:35] <Ryan-Toast> antmas: I have adblock, guess it mitigates it.
1019: [21:33:52] <antmas> Ryan-Toast: prolly
1020: [21:34:02] <antmas> Stomach: yoga pants?
1021: [21:34:09] <Stomach> girl pants
1022: [21:34:25] <antmas> what r dis?
1023: [21:34:48] * stnvh quit (Ping timeout: 240 seconds)
1024: [21:35:56] * nickmolhoek quit (Ping timeout: 240 seconds)
1025: [21:35:59] * catcher quit (Ping timeout: 240 seconds)
1026: [21:36:15] <antmas> I have 7 tablets at my desk
1027: [21:36:36] <antmas> and I still can't get bluetooth to work properly
1028: [21:38:38] <antmas> Ryan-Toast: you listened to Colleen D'agostino before?
1029: [21:39:08] <Ryan-Toast> antmas: NArp
1030: [21:39:31] <antmas> Ryan-Toast: stumbled on a track with her and deadmau5
1031: [21:40:06] <Ryan-Toast> link
1032: [21:40:18] <antmas> Ryan-Toast: https://www.youtube.com/watch?v=8jL2DPylmhE
1033: [21:40:59] <antmas> blegh, youtube quality
1034: [21:42:28] * catcher has joined #silverstripe
1035: [21:47:44] <Ryan-Toast> That was nice.
1036: [21:47:53] <antmas> Ryan-Toast: you likey?
1037: [21:48:37] <Ryan-Toast> I do. More plz
1038: [21:49:52] <antmas> can't find anything else with her :(
1039: [21:50:01] <Ryan-Toast> Boo
1040: [21:50:26] <Ryan-Toast> It’s like all Deadmau5 does is make sick tunes, and hate everything.
1041: [21:50:41] <antmas> and buy cars
1042: [22:01:33] * Kingy[a] is now known as Kingy
1043: [22:02:07] * Kingy is now known as Kingy[a]
1044: [22:08:11] * catcher quit (Quit: Leaving)
1045: [22:10:21] * willr has joined #silverstripe
1046: [22:10:38] <willr> Damnit where is simon_w when I need him
1047: [22:11:04] <antmas> I expect to see this sentence a lot from now on ^^^
1048: [22:13:30] <Zauberfisch> willr: haha, was saying the same thing just the other day :D
1049: [22:16:46] <willr> So question to the group then, Everyone seen the “popCurrent called on ModelAsController controller” error that comes up if you access a url on an action. My view is that it shouldn’t through a warning but a notice so it doesn’t spam up the warning logs when people try and hit urls that don’t exist. Thoughts from the group?
1050: [22:18:10] <Zauberfisch> uhm, doesn't that only happen if you have some messed up routing?
1051: [22:18:32] <Zauberfisch> its bn a while since I last seen that error
1052: [22:18:57] <Zauberfisch> actully, the only time I remember hitting that error, was when I fiddled around with custom request handling
1053: [22:20:10] <Ryan-Toast> Sigh. My TreeDropDownField just tries to load children forever.
1054: [22:20:20] * azureknight quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1055: [22:20:50] <willr> Zauberfisch try hitting controller/action/something/foo you get it all too easy
1056: [22:21:11] <Ryan-Toast> Oh good, such informative message: “There has been an error"
1057: [22:22:17] <Zauberfisch> willr: either I am doing something wrong, or its it not
1058: [22:23:23] <willmorgan> always a fan of not spamming up the logs
1059: [22:25:04] <Zauberfisch> willr: easy: try {} catch in framework/main.php
1060: [22:25:12] <Zauberfisch> actually, willmorgan
1061: [22:25:35] <willr> Zauberfisch user_error() not like we use Exceptions anywhere that counts :)
1062: [22:26:08] <Zauberfisch> ahhh
1063: [22:26:57] <Zauberfisch> well, willr I am not getting that error on a test env I have currently running
1064: [22:31:41] <willr> Yeah just testing it, looks like it has to be url/action/foo/bar/baz
1065: [22:31:56] <willr> i.e extends beyond the routes.yml
1066: [22:32:11] <willr> should really just throw a 404 and be done with it
1067: [22:34:11] <Zauberfisch> so 3 params?
1068: [22:34:14] <Zauberfisch> I will try again
1069: [22:34:44] <Zauberfisch> you are correct. the 3rd param after action does cause the error
1070: [22:34:50] <Zauberfisch> getting it to now
1071: [22:35:25] <Zauberfisch> and it sounds like a bug actually
1072: [22:35:36] <Zauberfisch> because it is actually attempting to send a 404 error
1073: [22:35:56] <Zauberfisch> getting 2 warnings:
1074: [22:35:57] <Zauberfisch> [User Warning] popCurrent called on ModelAsController controller, but it wasn't at the top of the stack
1075: [22:36:05] <willr> well it does throw the 404 successfully, just along with a warning. Which I don’t like
1076: [22:36:06] <Zauberfisch> [User Warning] Couldn't set response type to 404 because of output on line 110 of /usr/www/users/dorisjp/framework/dev/DebugView.php
1077: [22:36:22] <Zauberfisch> since this seems like a bug, I do agree
1078: [22:36:56] * gelignite quit (Quit: http://bit.ly/nkczDT)
1079: [22:38:46] * Shrike_Finland quit (Quit: Leaving.)
1080: [22:39:00] * azureknight has joined #silverstripe
1081: [22:40:46] * azureknight quit (Read error: Connection reset by peer)
1082: [22:47:27] <antmas> holy crap it's july
1083: [22:50:13] <willr> crazy
1084: [22:52:42] * azureknight has joined #silverstripe
1085: [22:58:20] * willmorgan quit (Ping timeout: 240 seconds)
1086: [23:02:45] * Colin[pi] has joined #silverstripe
1087: [23:06:12] <Ryan-Toast> Going to brizzy at the end of the month. Will be nice to have a little break.
1088: [23:06:53] <antmas> a break in brizzy?
1089: [23:06:59] <Ryan-Toast> ye
1090: [23:07:18] <antmas> I couldn't think of a worse place for a break :P
1091: [23:08:06] <antmas> then again, only been there once
1092: [23:10:28] * simon_w|work has joined #silverstripe
1093: [23:12:55] <ss23> antmas: am now, but not quite at work yety
1094: [23:12:57] <ss23> will be in soon though
1095: [23:13:17] <antmas> ss23: no worries :P just wondering if you needed anything from me (re gitlab)
1096: [23:13:28] <simon_w|work> ss23, slack!
1097: [23:13:34] <ss23> I had a 6am release! :O
1098: [23:13:41] <simon_w|work> So?
1099: [23:13:45] <Ryan-Toast> OH GOD I WANT IT SO BAD http://www.trademe.co.nz/motors/used-cars/mitsubishi/auction-742596373.htm
1100: [23:14:46] <antmas> Ryan-Toast: everything but the cragers
1101: [23:14:54] <Ryan-Toast> antmas: and the number plate
1102: [23:15:00] <antmas> yes
1103: [23:15:01] <antmas> this too
1104: [23:15:17] <antmas> should have whitewalls as well
1105: [23:15:22] <Ryan-Toast> u no liek cragers?
1106: [23:16:09] <Ryan-Toast> wat would you put on instead? Maybe some rimmed hotwires.
1107: [23:17:19] <Ryan-Toast> Oh god, I can’t stop looking at it.
1108: [23:17:41] <Ryan-Toast> Almost worth abandoning my overseas plans and just bying that instead.
1109: [23:17:55] * eagles0513875 quit (Quit: ZNC @ TrekWeb - https://trekweb.org)
1110: [23:18:33] <antmas> yeah hotwires would do it
1111: [23:18:46] <ss23> simon_w|work: So I slept in ^.^
1112: [23:19:14] * eagles0513875 has joined #silverstripe
1113: [23:19:15] <simon_w|work> ss23, slack!
1114: [23:19:16] * krofek_ quit (Ping timeout: 260 seconds)
1115: [23:19:26] <Stomach> ss23, you never seem to go to work at work starting time :P
1116: [23:19:26] <antmas> Ryan-Toast: anything by bbs would look good on that
1117: [23:19:50] <simon_w|work> ss23, releases here happen between 3 and 4 am and the person that did them is still in by 9
1118: [23:20:01] <ss23> antmas: ... >.>
1119: [23:20:09] <ss23> antmas: "To do this though, you will need to have your IP whitelisted. Can you provide it? We're happy to do more than one office, give you access from home etc, if you would like."
1120: [23:20:18] <ss23> antmas: "I just tried a login and got a 403 nginx error."
1121: [23:20:20] <Ryan-Toast> antmas: I would go full frankenstein and chuck a sr20DET in it.
1122: [23:20:22] <ss23> THATS CAUSE YOU NEVER GAVE ME THE IP :O
1123: [23:20:28] <antmas> ss23: yer I did
1124: [23:20:53] <ss23> Where? :O
1125: [23:20:59] <antmas> ss23: on the ticket :P
1126: [23:20:59] <simon_w|work> Looks like 202.50.104.251 to me
1127: [23:21:06] <ss23> oic lol
1128: [23:21:10] <ss23> Well I haven't done it yet then! :P
1129: [23:21:18] <antmas> ss23: work FASTER!
1130: [23:21:26] * antmas pokes ss23
1131: [23:21:43] <antmas> simon_w|work: that's not it
1132: [23:22:02] <simon_w|work> antmas, have it added anyway
1133: [23:22:15] <ss23> :O
1134: [23:22:15] <antmas> simon_w|work: yeah probably should
1135: [23:22:30] <simon_w|work> Given that it's your IP and everything
1136: [23:22:43] <antmas> simon_w|work: -_-
1137: [23:23:08] <antmas> nothing reports that bar IRC
1138: [23:23:56] <simon_w|work> Maybe everything else is lying!
1139: [23:24:16] <simon_w|work> Hmm, I wonder if I can uninstall the ubuntu software updater thingy
1140: [23:24:17] <antmas> simon_w|work: you're lying!
1141: [23:25:39] <antmas> oh no the neckbeards have left again
1142: [23:25:42] <antmas> :(
1143: [23:27:35] <antmas> weird
1144: [23:29:03] <Stomach> nah you
1145: [23:30:09] <antmas> fucken nubcakes sending emails with the whole message in the subject
1146: [23:31:30] * krofek_ has joined #silverstripe
1147: [23:32:02] <antmas> simon_w|work: how's the new job?
1148: [23:32:14] <simon_w|work> antmas, good
1149: [23:32:40] <antmas> simon_w|work: where is it again?
1150: [23:34:10] <antmas> hmmm I need a new RDP app
1151: [23:34:26] <simon_w|work> Here!
1152: [23:43:37] <Stomach> hows the test coverage going simon_w|work
1153: [23:44:15] <simon_w|work> For what?
1154: [23:49:06] <MickRip> so hard to be motivated when your garage-based office is the same temp as the outside temp
1155: [23:50:03] <Colin[pi]> MickRip: I sit with one of these on my lap like an old woman: http://cdn.dealsdirect.net/m/products/154/97154/9/grid_97154.jpg
1156: [23:50:28] <MickRip> Colin[pi]: I don't care how gay I look - that looks awesome
1157: [23:50:28] <simon_w|work> Whereas I sit here and overheat
1158: [23:50:38] <Colin[pi]> MickRip: it's SOOO good
1159: [23:51:03] <Colin[pi]> and it uses about the same energy as a lightbulb vs 2000w like my room heater
1160: [23:51:20] <antmas> I should really get a line tester
1161: [23:53:19] <MickRip> it's just a cold hard environment, but I actually get more work done that way
1162: [23:53:28] <MickRip> (except when it's TOO cold)
1163: [23:53:53] <Colin[pi]> MickRip: if I dont use this thing, my hands get really cold and I can't type well :(
1164: [23:54:10] <Colin[pi]> summer is fine, just bastard Canberra winter
1165: [23:55:10] <simon_w|work> Colin[pi], there's a high of 12 today and you still need that?
1166: [23:55:20] <Colin[pi]> simon_w|work: yes!
1167: [23:55:49] <MickRip> Colin[pi]: I went to a dragon boating thing in Canberra once, about this time of the year. Slept on the ground outside, and then rode my bike into the city where the water is (I don't know Canberra well) - it was the coldest I've ever been
1168: [23:55:51] <antmas> not looking forward to tomorrow, cold snap on the way
1169: [23:55:52] <simon_w|work> Pathetic!
1170: [23:56:41] <MickRip> Colin[pi]: 15km ride at 6am .. my eyeballs were frozen open, haha
1171: [23:56:41] <Colin[pi]> MickRip: lol it's a wonder you weren't frozen solid sleeping outside on the ground!
1172: [23:56:55] <Colin[pi]> MickRip: mm I ride a lot here, but it sucks balls in winter time
1173: [23:57:11] <antmas> wil have a high of 10 here tomorrow
1174: [23:57:14] <antmas> yey
1175: [23:57:17] <MickRip> Colin[pi]: that's because Canberra is awesome for riding. I don't think I encountered a single hill
1176: [23:58:01] <simon_w|work> MickRip, you could ride up one of the "mountains"
1177: [23:58:11] <Colin[pi]> lol funny cause it's true
1178: [23:58:12] <simon_w|work> It's like biking to the valley in Karori
1179: [23:58:35] <Colin[pi]> simon_w|work: my ride back up Hindmarsh Drive is the toughest part of my regular route... it's like a 20m elevation
1180: [23:58:46] <MickRip> I ended up popping my shoulder on the first race of the day (after all that) .. and I basically abandonned the event and spend the day exploring Canberra on my bike!
1181: [23:59:44] <MickRip> Canberra's map is like ascii .. like --+--+---+---+

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