#silverstripe IRC Log

IRC log for 15 May 2015

All timestamps are in UTC.

1: [00:10:43] * travis-ci has joined #silverstripe
2: [00:10:44] <travis-ci> tractorcow/silverstripe-cms#52 (pulls/3.2/archive-actions - 3a1462f : Damian Mooyman): The build failed.
3: [00:10:44] <travis-ci> Change view : https://github.com/tractorcow/silverstripe-cms/compare/9d7a64020519^...3a1462f19099
4: [00:10:44] <travis-ci> Build details : http://travis-ci.org/tractorcow/silverstripe-cms/builds/62633271
5: [00:10:44] * travis-ci has left #silverstripe
6: [00:11:44] <simon_w|air> Should just use the one, true editor
7: [00:11:51] <simon_w|air> vim fo lyfe
8: [00:14:30] <DanaeNZ> someone, somewhere in the world has build an entire PHP application using only VIM
9: [00:14:56] <Colin[pi]> DanaeNZ: and his name would be simon
10: [00:18:34] <Fishmancer> i've built so many large projects in only vim
11: [00:18:43] <Ryan-Toast> Why?
12: [00:18:51] <Ryan-Toast> Why would you do that to yourself?
13: [00:18:55] <Fishmancer> because it's my cross language editor of choice
14: [00:19:08] <Fishmancer> for 16 years i guess
15: [00:19:22] <Ryan-Toast> I have a post-it noteon my computer so I remeber how to exit VIM.
16: [00:19:35] <Fishmancer> linux can be an excellent ide if you know it well, all the forensic tools are there
17: [00:19:41] <Fishmancer> and more flexible than a monolithic ide
18: [00:20:01] <Fishmancer> yeah vim requries a leap of faith for the first 6 months
19: [00:20:31] <DanaeNZ> *conspicuously stays out of argument*
20: [00:23:05] * veb quit (Quit: veb-irc: &)
21: [00:23:36] <Cheddam> I use it when I'm on the CLI but haven't taken the leap to using it full time. Think I'd spend too much time getting it to work more like Sublime Text
22: [00:27:49] * chrisrio has joined #silverstripe
23: [00:28:14] <simon_w|air> Ryan-Toast, crtl-c tells you how
24: [00:36:40] <antmas> o/ to whoever I missed
25: [00:36:46] * antmas has been stuck in meetings
26: [00:46:46] * veb has joined #silverstripe
27: [00:46:53] <Ryan-Toast> antmas: guess what I’m having for lunch.
28: [00:46:59] <Colin[pi]> antmas: o/
29: [00:48:40] <adrexia> burgerfuel?
30: [00:48:43] * Stomach quit (Quit: zzz)
31: [00:49:46] * Stomach has joined #silverstripe
32: [00:50:20] <Ryan-Toast> adrexia: yeeessss
33: [00:50:29] <DanaeNZ> :D
34: [00:50:32] <DanaeNZ> It’s here
35: [00:50:37] <adrexia> that's just a bit mean, inn'it?
36: [00:50:44] <adrexia> to rub it in like that?
37: [00:50:48] <adrexia> :D
38: [00:50:54] <Colin[pi]> Ryan-Toast knows this, Ryan-Toast doesn't care
39: [00:50:59] <adrexia> lols
40: [00:51:10] <Colin[pi]> http://www.gfycat.com/BabyishShinyHarrier
41: [00:55:02] <simon_w|air> 3 weeks until BurgerFuel :D
42: [00:57:50] <Colin[pi]> simon_w|air: go and get it in Sydney
43: [00:57:55] <Colin[pi]> or is that where you're going?
44: [00:58:08] <simon_w|air> Colin[pi], that's why it's 3 weeks instead of 3 weeks and a day :p
45: [00:59:07] <Colin[pi]> lel
46: [01:01:49] <simon_w|air> Train to Sydney, go to BurgerFuel, fly to Wellington, sleep, go to BurgerFuel
47: [01:02:14] <simon_w|air> Ooh, my package is in Fyshwick
48: [01:02:36] <Colin[pi]> simon_w|air: plenty of package action to be had in Fyshwick ;)
49: [01:03:22] <simon_w|air> Still have no idea what it is though
50: [01:03:43] <antmas> Ryan-Toast: :|
51: [01:04:07] <antmas> I'm having last night's spag bol
52: [01:04:16] <antmas> fucking yyyyyyyyyyyyyay \o/
53: [01:04:51] <spronk2> anyone tried burgerfuels teenage mushroom pizzxa thing?
54: [01:06:14] * DanaeNZ quit (Quit: DanaeNZ)
55: [01:09:39] <simon_w|air> I'm going to
56: [01:10:45] * Ryan-Toast quit (Quit: Ryan-Toast)
57: [01:13:23] * DanaeNZ has joined #silverstripe
58: [01:14:03] <DanaeNZ> mmmmmm that was a pretty nice peanut piston
59: [01:14:07] * Stomach quit (Quit: zzz)
60: [01:14:09] <DanaeNZ> too bad the smash browns were undercooked
61: [01:14:19] * Ryan-Toast has joined #silverstripe
62: [01:17:02] * Tanger has joined #silverstripe
63: [01:17:59] <zippy> client brought me pizza
64: [01:18:00] <zippy> was nom
65: [01:18:29] <Colin[pi]> :o
66: [01:18:32] <Colin[pi]> nice
67: [01:31:40] <Colin[pi]> UncleCheese: what was the consensus on the Lessons naming?
68: [01:31:49] <UncleCheese> haha
69: [01:31:58] <UncleCheese> we ended up tabling it
70: [01:32:05] <Colin[pi]> :D
71: [01:32:11] <UncleCheese> after the IRC firing squad
72: [01:34:28] * mahfuz quit (Ping timeout: 246 seconds)
73: [01:36:06] <antmas> IRCSquad
74: [01:38:14] <simon_w|air> UncleCheese, good choice :p
75: [01:38:51] <UncleCheese> simon_w|air now wonders how many other things he can shoot down in IRC and alter the course of SilverStripe
76: [01:39:17] <antmas> one day ss will be .net
77: [01:39:21] <UncleCheese> it started with me mentioning the IRCSquad, but that started a wholle conversation about.. what are we really trying to do here
78: [01:39:21] <simon_w|air> UncleCheese, if I believed I could actually influence the code side of things, I would still be a core member :p
79: [01:39:25] <antmas> it will happen
80: [01:40:18] <zippy> simon_w|air: sure you can
81: [01:40:41] * Azure quit (Quit: My Mac has gone to sleep. ZZZzzz…)
82: [01:40:59] <antmas> I wish I could influence my OWN code
83: [01:41:04] <zippy> my god, I ripped out that whole Error chain thingie put in with the new flush system. That felt soo liberating
84: [01:41:24] * joelpittet quit (Remote host closed the connection)
85: [01:41:41] <zippy> and proof of concept to use composers autoloader
86: [01:42:03] <DanaeNZ> (ノಠ益ಠ)ノ彡ʇdıɹɔsɐʌɐɾ
87: [01:42:14] <zippy> not enough ruby
88: [01:42:17] <antmas> zippy: you know what else is liberating?
89: [01:42:25] <zippy> no pants fridays?
90: [01:42:31] * Azure has joined #silverstripe
91: [01:42:31] <Colin[pi]> just Fridays?
92: [01:42:46] <antmas> close
93: [01:42:49] <Colin[pi]> zippy: can you also fix how composer takes 603 years to do anything?
94: [01:42:57] <antmas> rivet trackpants form the warehouse
95: [01:43:12] <simon_w|air> Colin[pi], minimum-stability: stable
96: [01:43:42] <Colin[pi]> simon_w|air: is that it? man, the wait drives me nuts
97: [01:44:08] <simon_w|air> Colin[pi], main slowness if from the git clone. That changes it to grabbing tarballs instead
98: [01:44:11] <spronk2> ugh
99: [01:44:13] <spronk2> getting so annoyed with composer slowing
100: [01:44:16] <helenclarko> Ahhh, Liberating people with no pants friday... great.
101: [01:44:19] <simon_w|air> Doesn't work with all things, but does with framework/cms
102: [01:44:30] <simon_w|air> Can also do silverstripe-framework: 3.1.*@stable
103: [01:44:31] <spronk2> npm is fast as fuck
104: [01:44:47] * Stomach has joined #silverstripe
105: [01:45:02] <antmas> npm is fast as
106: [01:45:13] <antmas> but it downloads the whole fucking internet at the same time
107: [01:45:15] <Colin[pi]> spronk2: all I did yesty was require tractorcow's colorfield, it took 5 minutes to complete
108: [01:45:20] <spronk2> yeah
109: [01:45:26] <spronk2> Colin[pi] might be worth removing and reinstalling composer
110: [01:45:30] <simon_w|air> Colin[pi], that's because you're in Australia :p
111: [01:45:35] <Colin[pi]> ^
112: [01:45:35] <spronk2> i did that a while back and it sped things up massively
113: [01:45:43] <Colin[pi]> I assumed it was just "lol AU internet"
114: [01:45:50] <simon_w|air> Seriously though, github is shit slow outside of the US
115: [01:45:59] <antmas> Colin[pi]: I created a new project using it a few days ago and it took roughly 2-3 mins
116: [01:46:14] <Ryan-Toast> IRCSquad!!! Uh oh here come that bullshit, Beat a nigga ass til the Pull request is merged. They say they want that wild shit, mosh pit, jump up in the repo bitch. I’m so mother fucking violent. Yeah bitch yeah bitch I’m with Steve-o. We bustin UX with bad bitches, blowing server smoke. Yeah bitch, yeah bitch I’m with Steve-o. Royal rumble in the club, John Ceno.
117: [01:46:23] <Colin[pi]> antmas: ikr? even with cached stuff :\
118: [01:46:51] <antmas> wher eis that gif again....
119: [01:47:19] <spronk2> :|
120: [01:47:23] <spronk2> word.
121: [01:47:45] <Colin[pi]> antmas: http://i.imgur.com/nCZoEXs.gif ?
122: [01:47:50] <Colin[pi]> he's still in my quick dial
123: [01:47:51] <Colin[pi]> lol
124: [01:48:15] <antmas> Ryan-Toast: I was reading that in a 'Terror Squad - Lean Back' tone
125: [01:49:28] <Ryan-Toast> antmas: https://www.youtube.com/watch?v=A_J7kEhY9sM&t=165
126: [01:50:44] <antmas> Ryan-Toast: everything about it is glorious
127: [01:52:16] * micmania1 quit (Quit: micmania1)
128: [01:53:32] <Ryan-Toast> antmas: I don’t mind MGK
129: [01:57:29] * Stomach quit (Quit: zzz)
130: [02:15:53] * Stomach has joined #silverstripe
131: [02:18:31] <Ryan-Toast> Thoughts on new Supergirl trailer?
132: [02:19:15] <Colin[pi]> Ryan-Toast: first I've heard of it
133: [02:19:25] <Ryan-Toast> https://www.youtube.com/watch?v=Lm46-envrHo
134: [02:20:07] * micmania1 has joined #silverstripe
135: [02:24:50] <adrexia> it looks like it might make a better go of it than Superman did
136: [02:26:42] <adrexia> a bit cheesy, but I dunno, more human?
137: [02:39:31] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
138: [02:41:41] <ss-helper> How to tell SilverStripe that a folder of code (containing a _config subfolder) is not a SilverStripe module? - http://stackoverflow.com/questions/30250578/how-to-tell-silverstripe-that-a-folder-of-code-containing-a-config-subfolder
139: [02:42:40] <Stomach> UncleCheese - ever find a method to do this by default - http://www.silverstripe.org/community/forums/general-questions/show/13930
140: [02:43:36] <UncleCheese> no... still surprised!
141: [02:43:53] <Stomach> silly silverstripe
142: [02:44:30] <adrexia> It's a bit strange yeah
143: [02:44:44] <adrexia> given you can use Level(1) etc to get levels
144: [02:44:57] <Stomach> I want to do a conditional menu which is sometimes siblings, and sometimes children
145: [02:45:13] <Stomach> by doing $Menu($Level) if its set to siblings in the settings of the page
146: [02:45:18] <Stomach> and thought that would be easy
147: [02:45:24] <Stomach> in fact thought I had done it before
148: [02:45:28] <Stomach> WRONG STEVIE, GO HOME
149: [02:45:30] <Stomach> :(
150: [02:45:50] <adrexia> where $Level is ... the current level?
151: [02:45:51] * Sticks has joined #silverstripe
152: [02:46:22] <Ryan-Toast> adrexia: Smallville will always have a special place in my heart.
153: [02:46:25] <Stomach> yah
154: [02:46:35] <Ryan-Toast> Superman/woman is like the worst heroes for me though.
155: [02:46:40] <Ryan-Toast> are**
156: [02:46:45] <Ryan-Toast> Oh hey, we have all the powers.
157: [02:46:57] <Ryan-Toast> No weaknesses except this green rock.
158: [02:46:58] <adrexia> Ryan-Toast, agree
159: [02:47:01] <Ryan-Toast> what a fucking cop-out.
160: [02:47:07] <adrexia> I like superheros that aren't perfect
161: [02:47:13] <adrexia> much prefer Marvel actually
162: [02:47:15] <Ryan-Toast> Same
163: [02:47:27] <Ryan-Toast> I love X-men.
164: [02:47:34] * adrexia nods
165: [02:47:38] <Ryan-Toast> Everyone’s so messed up :P
166: [02:47:40] <adrexia> Daredevil has been good
167: [02:47:48] <Ryan-Toast> The TV show was meh for me.
168: [02:47:52] <adrexia> didn't know there was a blind superhero
169: [02:47:54] <Ryan-Toast> Too many plot devices.
170: [02:47:59] <spronk2> no.
171: [02:48:00] <Ryan-Toast> “blind"
172: [02:48:01] <adrexia> ahh, I liked it :)
173: [02:48:11] <spronk2> the only superhero worth mentioning
174: [02:48:11] <spronk2> is
175: [02:48:13] <spronk2> THE TICK
176: [02:48:15] <Ryan-Toast> A blind guy who can see… cool story, bro.
177: [02:48:21] <adrexia> Ryan-Toast, well, as far as his vision is concerned, it's true
178: [02:48:23] <adrexia> legally blind
179: [02:48:39] <Ryan-Toast> adrexia: everything on fire, doe
180: [02:48:45] <adrexia> which is different to total blindness
181: [02:49:03] <simon_w|air> Ugh, Linux's terminal is horrible
182: [02:49:08] <adrexia> Ryan-Toast, yes but it impacts his ability to actually see
183: [02:49:13] <Ryan-Toast> “I have heightened senses, therefore I can jump off buildings and dodge bullts“
184: [02:49:16] <Ryan-Toast> bullets
185: [02:49:29] <adrexia> yep :D
186: [02:49:32] <spronk2> simon_w|air ??
187: [02:49:35] <Ryan-Toast> I want a universe where there are only hand guns
188: [02:49:43] <adrexia> It's like super echo location
189: [02:49:43] * antmas quit (Ping timeout: 246 seconds)
190: [02:49:45] <simon_w|air> spronk2, guess what page up does
191: [02:49:49] <spronk2> oh
192: [02:49:49] <spronk2> lol
193: [02:49:54] <Ryan-Toast> So it’s a bit more realistic that people can unload a clip and miss the hero every. damn. episode
194: [02:49:57] <simon_w|air> fucking nothing
195: [02:49:58] <spronk2> i like that :P
196: [02:50:11] <spronk2> os x has the broken terminal by default
197: [02:50:19] <Ryan-Toast> John Wick did a good job of the gun fights
198: [02:50:25] <spronk2> john wick was fucking amazing
199: [02:50:25] <Ryan-Toast> Peoplke taking proper cover etc
200: [02:50:32] <spronk2> for a movie with basically zero plot
201: [02:50:34] <spronk2> it was fantastic
202: [02:50:37] <adrexia> <simon_w|air> spronk2, guess what page up does
203: [02:50:39] <adrexia> ...nothing for e?
204: [02:50:42] <adrexia> *me
205: [02:50:47] <adrexia> ahh right
206: [02:50:48] <adrexia> yteah,
207: [02:50:49] <simon_w|air> adrexia, exactly :(
208: [02:50:50] <adrexia> nothign
209: [02:51:07] <Ryan-Toast> spronk2: they are amaking a second one.
210: [02:51:09] <adrexia> OSX terminal is _much_ nicer
211: [02:51:14] <spronk2> eh
212: [02:51:20] <adrexia> can even copy/paste like normal people
213: [02:51:27] <spronk2> you can copy paste in gnome terminal
214: [02:51:30] <spronk2> and tabs
215: [02:51:32] <adrexia> and restarting opens your tabs
216: [02:51:41] <spronk2> and better buffer control than osxterm
217: [02:51:41] <spronk2> wtffff
218: [02:51:51] <adrexia> osx tabs are better
219: [02:51:58] <spronk2> tbh i dont use tabs
220: [02:52:06] <adrexia> :)
221: [02:52:11] <adrexia> I have like 20 of them
222: [02:52:21] <adrexia> so umm, restarting is really damn annoying
223: [02:52:30] <spronk2> why so many tabs!?
224: [02:53:04] <adrexia> killing the process is fine, but having to reopen everything in the location I want and then run all the commands i need it pretty annoying
225: [02:53:12] <adrexia> spronk2, all the things
226: [02:53:19] <spronk2> o_O
227: [02:53:25] <adrexia> multiple projects, multiple locations, multiple things
228: [02:53:44] <adrexia> I tend to have either grunt or compass running
229: [02:53:52] <adrexia> and I like a different tab for git
230: [02:53:52] <simon_w|air> I've only got 10 and that's annoying enough
231: [02:54:00] <adrexia> and then deployment stuff
232: [02:54:17] <adrexia> deployment takes two tabs
233: [02:54:27] <adrexia> one to retrieve a password, and one to deploy
234: [02:54:33] <simon_w|air> (4 monitoring servers, grunt, two for vagrant, one for dev scripts, two for dev folder)
235: [02:54:54] <spronk2> monitoring servers? O_o
236: [02:55:05] <spronk2> i guess if you have to do deployments and stuff all the time then yeh
237: [02:55:12] <adrexia> mine varies depending on how many things I'm trying to do at once
238: [02:55:15] <adrexia> ;)
239: [02:55:27] <spronk2> i typically just have my grunt/gulp watcher, which does basically everything i need it to do on any file save...
240: [02:55:33] <spronk2> and perhaps an ssh into a vm
241: [02:55:43] <adrexia> yeah, grunt/gulp is good like that
242: [02:55:46] <spronk2> git i use ide and/or sourcetree
243: [02:55:51] <spronk2> deployments are backed off git
244: [02:56:06] <adrexia> on mac I use commandline + the github app
245: [02:56:22] <adrexia> but on linux... all apps suck
246: [02:56:25] <adrexia> ;)
247: [02:56:32] <spronk2> hmm
248: [02:56:33] <spronk2> most*
249: [02:56:35] <simon_w|air> Eh, VIM's basically the same
250: [02:56:45] <adrexia> lol
251: [02:56:50] <adrexia> yeah, most
252: [02:57:09] * SticksM has joined #silverstripe
253: [02:57:19] <adrexia> and I would say all are of a lower quality than OSX equivalents
254: [02:57:25] <ss-helper> getIDList returns random sort order IDs? - https://groups.google.com/d/msg/silverstripe-dev/zF8hI_NuuDQ/V0nxIaKJ87IJ
255: [02:57:25] <spronk2> hmm
256: [02:57:27] <spronk2> dno
257: [02:57:32] <spronk2> sublime is about the same on both
258: [02:57:43] <simon_w|air> That's because it's a linux port
259: [02:57:46] <spronk2> jetbrains ides are about the same on both
260: [02:57:46] <adrexia> but some of that can be blamed on the OS's being a bit ugly and it flowing through
261: [02:58:22] <adrexia> eh, I like sublime more on my mac, but... it is tiny littel thigns, so yeah., mostly the same
262: [02:58:36] <adrexia> my linux os likes opening ssublijme at tiny sizes
263: [02:58:43] <adrexia> which is really annoying
264: [02:58:45] <spronk2> hmm
265: [02:58:53] <spronk2> my mac keeps opening my IDE in the middle of two screens
266: [02:59:00] <adrexia> It doesn't remmeber the last size I had it at
267: [02:59:00] <spronk2> and OSX's multiscreen handling sucks balls, so it cuts off half of it
268: [02:59:22] <spronk2> and then there's the way it fucks up every time it sleeps, because apparently the displays "disappear"
269: [02:59:24] <adrexia> yeah, they did that recently. It's a "fix" apaprently
270: [02:59:27] <spronk2> so i ahve to rearrange all my windows :@
271: [02:59:59] <adrexia> spronk2, that's a bit odd
272: [03:00:02] <adrexia> sounds liek a bug
273: [03:00:12] <spronk2> i think its intended behaviour
274: [03:00:19] <spronk2> because it resizes the windows down to fit on laptop panel
275: [03:00:26] <adrexia> really? mine doesn't do that...
276: [03:00:30] <spronk2> hmm
277: [03:00:33] * Sticks quit (Ping timeout: 256 seconds)
278: [03:00:33] <spronk2> laptop?
279: [03:00:39] <adrexia> yeah
280: [03:00:41] <spronk2> how are your displays connected?
281: [03:00:43] <adrexia> macbook air
282: [03:00:47] <adrexia> hdmi
283: [03:00:52] <spronk2> tbolt->hdmi?
284: [03:00:56] <adrexia> yep
285: [03:00:58] <spronk2> hmm
286: [03:01:02] <spronk2> i'm tbolt->displayport on both
287: [03:01:06] <DanaeNZ> hey does something normally happen at 3pm
288: [03:01:11] * spronk2 shrugs
289: [03:01:11] <DanaeNZ> something involving gifs
290: [03:01:13] <adrexia> gifs?
291: [03:01:15] <adrexia> yes
292: [03:01:30] <simon_w|air> It's gif time?
293: [03:01:38] <simon_w|air> I should probably have lunch
294: [03:01:44] <spronk2> really what i want is something that saves positions of all my windows for each screen configuration i have
295: [03:01:48] <adrexia> http://media.giphy.com/media/oiWtiI43DkEc8/giphy.gif
296: [03:01:51] <spronk2> and ... rearranges them automatically to that screen configuration
297: [03:01:52] * Cheddam_ has joined #silverstripe
298: [03:02:14] <Colin[pi]> spronk2: that would be awesomeballs
299: [03:02:21] <spronk2> displayfusion does it on windows
300: [03:03:24] * Cheddam quit (Ping timeout: 256 seconds)
301: [03:03:25] <ss23> guis
302: [03:03:26] <ss23> I need halp
303: [03:03:32] <ss23> function getSuggestions($request) {
304: [03:03:32] <ss23> die('KITTY');
305: [03:03:33] <ss23> }
306: [03:03:38] <Colin[pi]> poor kitty
307: [03:03:40] <zippy> ?
308: [03:03:43] <ss23> Director:
309: [03:03:43] <ss23> rules:
310: [03:03:44] <ss23> 'googleapi/$Action/$ID/$OtherID/$ExtraID': 'GoogleAPI_Controller'
311: [03:03:59] <ss23> Yet when I go to mysite/googleapi/getSuggestions it doesnt' work
312: [03:04:00] <ss23> how2fix?
313: [03:04:00] <Ryan-Toast> !help ss23
314: [03:04:00] <ss-helper> ss23: Please provide the version, full error message and relevant code. You can put the code in http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and paste the link here.
315: [03:04:01] <DanaeNZ> oh gods routing
316: [03:04:08] <simon_w|air> ss23, You just want googleapi in the rules and then $url_handlers on the class
317: [03:04:25] <ss23> Ah, simon_w|air, I saw the docs about that, but it said you could just pick one or the other :O
318: [03:04:33] <simon_w|air> ss23, not since 3.1
319: [03:04:38] <DanaeNZ> also allowed_actions, right?
320: [03:04:45] <ss23> http://doc.silverstripe.org/en/developer_guides/controllers/routing/
321: [03:04:48] <ss23> >.<
322: [03:04:49] <DanaeNZ> to allow getSuggestions
323: [03:04:51] <ss23> http://doc.silverstripe.org/en/developer_guides/controllers/routing/
324: [03:04:52] <ss23> bah
325: [03:04:58] <ss23> You must use the $url_handlers static array described here if your URL pattern does not use the Controller class's default pattern of $Action//$ID/$OtherID
326: [03:05:03] <ss23> Someone should fix those docs!
327: [03:05:04] <ss23> Thanks simon_w|air
328: [03:05:15] <zippy> spronk2: http://autumnapps.com/breeze/ ?
329: [03:05:20] <Colin[pi]> @ss23: Someone should fix those docs!
330: [03:05:24] * Colin[pi] looks at ss23
331: [03:05:27] <zippy> ss23: isn' that you? or you still doing subsites
332: [03:05:30] * antmas has joined #silverstripe
333: [03:05:41] <spronk2> hmm
334: [03:05:43] <spronk2> looks interesting
335: [03:05:45] <spronk2> i think ive tried this
336: [03:05:47] <simon_w|air> zippy, why can't it be both?
337: [03:05:59] <ss23> zippy: :(
338: [03:06:03] <zippy> simon_w|air: there is only so much pain one can handle..
339: [03:06:17] <zippy> he has trouble updating the topic..
340: [03:06:20] <simon_w|air> zippy, well, someone has to write docs for subsites too
341: [03:06:23] * simon_w|air looks at ss23
342: [03:06:26] <ss23> zippy: The topic has no version specified!
343: [03:06:27] <ss23> ;___;
344: [03:06:31] <ss23> LEAVE ME ALONG OMG
345: [03:06:33] <zippy> yea cos, lazy
346: [03:06:43] <zippy> omg updating it once every few months so hard
347: [03:07:48] <zippy> *cough* https://youtu.be/8oJ8tXeUDP8?t=23
348: [03:08:42] <ss23> there's just not much use in having the version in the topic
349: [03:08:43] <ss23> :O
350: [03:08:46] <ss23> It's work for little value
351: [03:09:28] <spronk2> "I'm just going to add that I was the one who suggested @A7DC add this RFC. We want to make sure that the community is as involved in the discussion as anyone. :D"
352: [03:09:31] <spronk2> fuuuckiing mooyman
353: [03:09:54] <Colin[pi]> *mooyman* (in voice of Seinfeld's "newman")
354: [03:13:12] <Stomach> spronk2 - he added that because of me
355: [03:13:19] <spronk2> wtfffff
356: [03:13:29] <Stomach> I complained to him that that "RFC" didn't follow any convention
357: [03:13:37] <Stomach> and once again looked like SS just doing what they want
358: [03:13:44] <spronk2> haha
359: [03:13:45] <spronk2> yeah
360: [03:13:55] <spronk2> but doesn't need to spouting "OH IT WAS ME THAT DID THIS!"
361: [03:14:10] <Stomach> nah he is claiming responsibility for how shit it is :P
362: [03:14:11] <spronk2> "Great work, here's my opinion" works just as well
363: [03:14:11] * spronk2 le sighs
364: [03:14:30] <ss23> I found a solution to getting annoyed about SS opensource stuff
365: [03:14:33] <ss23> It's actually worked amazingly well
366: [03:14:39] <spronk2> use laravel?
367: [03:14:43] <ss23> I've stopped doing any and all opensource SilverStripe
368: [03:14:49] <simon_w|air> spronk2, that's one of my solutions!
369: [03:14:54] <spronk2> though
370: [03:14:59] <simon_w|air> ss23, and that's another
371: [03:15:00] <spronk2> lara has its own problem - the BDFL isn't quite as benevolent
372: [03:15:19] <Colin[pi]> spronk2: use laravel? <- pmsl
373: [03:15:23] <spronk2> hopefully it'll settle down a bit soon though, l5 is definitely architectually nicer
374: [03:15:24] <Colin[pi]> dat burn
375: [03:20:49] <spronk2> and
376: [03:20:52] <spronk2> lumen is a big win
377: [03:21:51] * Cheddam_ quit (Quit: My Mac has gone to sleep. ZZZzzz…)
378: [03:28:38] <simon_w|air> spronk2, BDFL?
379: [03:28:43] <spronk2> taylor
380: [03:29:12] <spronk2> suffers in general from the same problem as SS, no visibility into direction of the product
381: [03:30:00] <antmas> anyone know what an .mjo file is?
382: [03:30:08] <zippy> mo jo
383: [03:30:09] <simon_w|air> Your mojo?
384: [03:30:44] <antmas> lol
385: [03:30:52] <antmas> must be some proprietary thing
386: [03:30:58] * Cheddam has joined #silverstripe
387: [03:30:59] <simon_w|air> antmas, mjograph file
388: [03:31:56] <antmas> simon_w|air: oooooh
389: [03:32:04] <antmas> pretty sure it is related to mapping somehow
390: [03:39:53] * Stomach quit (Quit: zzz)
391: [03:41:35] * chrisrio quit (Quit: Page closed)
392: [03:41:51] <antmas> omg so gross http://www.stuff.co.nz/national/68578854/police-stop-dive-bombers-at-flooded-porirua-train-station
393: [03:42:11] <antmas> think of the chewing gum, pee and who knows what else in that water :<
394: [03:42:50] <ss23> yeah
395: [03:42:52] <ss23> Bit gross aye
396: [03:43:01] <spronk2> yeesh
397: [03:43:21] <antmas> probably poop from sewege system
398: [03:43:30] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
399: [03:43:52] * Stomach has joined #silverstripe
400: [03:55:27] * Cheddam has joined #silverstripe
401: [04:10:22] <zippy> any idea why there is blue under my cat? http://codepen.io/anon/pen/eNZxoL
402: [04:10:52] <Stomach> .holder {
403: [04:10:52] <Stomach> background-color: blue;
404: [04:10:54] <Stomach> ?
405: [04:11:00] <simon_w|air> Cause it's a link?
406: [04:11:22] <simon_w|air> Nope, it's the .holder
407: [04:11:26] <Colin[pi]> no he means at the bottom
408: [04:11:51] <Colin[pi]> because of whitespace?
409: [04:12:02] <zippy> the height of the holder is done by the image I thought
410: [04:12:18] <zippy> so if the image is x then the holder would be x, no padding or anything
411: [04:12:21] <zippy> maybe is whitespace...
412: [04:12:24] <Colin[pi]> zippy: make the image display: block
413: [04:12:27] <Colin[pi]> will be fixed
414: [04:12:42] <zippy> guru
415: [04:12:44] <zippy> but wgy
416: [04:12:45] <zippy> *why
417: [04:12:49] <zippy> because css?
418: [04:13:38] <simon_w|air> Because of trailers, or whatever the bottom bit of a g/j is
419: [04:14:01] <Colin[pi]> zippy: default image alignment is inline, so you get whitespace issues I think
420: [04:14:44] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
421: [04:14:53] <zippy> Colin[pi]: thanks :)
422: [04:15:01] <simon_w|air> zippy, drop the width of the image to 50%, then stick some gs and js after
423: [04:15:11] <simon_w|air> You'll see why there's space
424: [04:15:26] <zippy> gs?
425: [04:15:30] <simon_w|air> The letter
426: [04:16:37] <Colin[pi]> yeah the image is aligned to the baseline of the character or whatever it's called
427: [04:16:39] * Cheddam has joined #silverstripe
428: [04:16:44] <Colin[pi]> so the g and j stuff drops down below it
429: [04:16:53] <zippy> ah, I c
430: [04:16:57] <adrexia> <Colin[pi]> zippy: default image alignment is inline, so you get whitespace issues I think
431: [04:17:05] <adrexia> yep - line height effects
432: [04:17:17] * wmk has joined #silverstripe
433: [04:17:54] <adrexia> hence, line-height:0 also works
434: [04:18:26] <adrexia> though, I usually just display block too
435: [04:18:38] * simon_w|air is still trying to remember what those bits of letters are called
436: [04:19:09] <adrexia> the dangly bits?
437: [04:19:21] <simon_w|air> Yeah
438: [04:19:35] <adrexia> descender?
439: [04:20:21] <simon_w|air> Sounds right
440: [04:20:47] <simon_w|air> "The line that descenders reach down to is known as the beard line"
441: [04:20:56] <adrexia> lol
442: [04:21:17] <antmas> the dangly bits
443: [04:21:19] <antmas> XD
444: [04:21:22] <zippy> :)
445: [04:21:30] <adrexia> anyway the reason is that all inline elements inherit line-height
446: [04:22:00] <adrexia> antmas, it's the scientific term
447: [04:22:03] <ss23> I hate it when my dangly bits make my cat blue :(
448: [04:22:09] <adrexia> lol
449: [04:22:40] <antmas> hahahah
450: [04:23:19] <Ryan-Toast> I hate it when my dangly bits make my cat blue /r/nocontext
451: [04:23:51] <simon_w|air> But do your dangly bits reach the beard line?
452: [04:24:08] <antmas> simon_w|air: http://i.imgur.com/nCZoEXs.gif
453: [04:24:35] * helenclarko is not sure what he's walked in on.
454: [04:24:46] <ss23> Shhh
455: [04:24:48] <ss23> No questions, helenclarko
456: [04:24:54] <ss23> Only dangly bits.
457: [04:25:10] <antmas> Aunty Helen should know about dangly bits
458: [04:25:11] * helenclarko backs out slowly.
459: [04:25:44] <antmas> why am I still at work?
460: [04:25:59] <zippy> why havn't I reactived eve yet
461: [04:26:11] <zippy> why did I have kids
462: [04:26:18] <antmas> zippy: because you value your family?
463: [04:26:23] <antmas> lol
464: [04:26:47] <antmas> Regrets Friday
465: [04:27:41] <simon_w|air> zippy, because you had unprotected sex?
466: [04:27:41] <Ryan-Toast> No ragrats
467: [04:28:09] <zippy> simon_w|air: sounds plausible
468: [04:28:10] <helenclarko> she said yes?
469: [04:28:28] <Ryan-Toast> zippy: hey… hey zippy. Guess what? Hey.. guess… Guess what I’m going to do this weekened?
470: [04:28:36] <zippy> fuck all?
471: [04:28:39] <zippy> ... :( bastard
472: [04:28:40] <Ryan-Toast> WHATEVER I WANT, SON
473: [04:28:43] <Ryan-Toast> MUHAHAHAHAHA
474: [04:28:59] <antmas> Ryan-Toast: drink booze and watch anime?
475: [04:29:02] * simon_w|air was going to guess "masturbate while eating a tub of ice-cream"
476: [04:29:02] <zippy> guess what I am doing? waking up at 7am if not before, yea bitch!
477: [04:29:05] <Ryan-Toast> antmas: Tonight, maybe
478: [04:29:08] <antmas> what do i win?
479: [04:29:24] <Ryan-Toast> antmas: what is 7am?
480: [04:29:30] <Ryan-Toast> zippy: ^
481: [04:29:33] <antmas> fiik
482: [04:29:55] <antmas> time doesn't start for me until at least 8am
483: [04:30:24] <helenclarko> you mean there is time before 8am?
484: [04:30:26] <Ryan-Toast> Saturday night is going to be big.
485: [04:30:36] * Ryan-Toast crosses fingers for only one day hangover
486: [04:30:53] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
487: [04:30:53] <antmas> Ryan-Toast: berocca and water
488: [04:30:55] * zippy keeps trying to refresh the psd file
489: [04:31:00] <Ryan-Toast> antmas: Just water.
490: [04:31:05] <zippy> I edited the css, apply the change!
491: [04:31:09] <Ryan-Toast> Berocca can go die in ahole.
492: [04:31:16] <antmas> pffft
493: [04:31:37] <antmas> only power drinkers know the benefits of berocca
494: [04:31:50] <helenclarko> and coffee.
495: [04:31:55] * antmas puts head in hands
496: [04:32:03] <helenclarko> berocca in a coffee!
497: [04:32:22] <helenclarko> ARRRGGH BITCH.... I', ALIVE!
498: [04:34:51] <zippy> lol
499: [04:34:59] <helenclarko> I didnt actually do it, that sounds like a really silly idea.
500: [04:35:09] <helenclarko> sorry.
501: [04:35:15] <antmas> coffee on a hangover is the worst
502: [04:35:39] <antmas> speaking of drinking
503: [04:35:45] <antmas> have a good weekend all o/
504: [04:35:48] <antmas> XD
505: [04:35:50] <zippy> antmas: chow
506: [04:35:55] <helenclarko> \o
507: [04:36:47] * Stomach quit (Quit: zzz)
508: [04:40:17] * wmk quit (Ping timeout: 256 seconds)
509: [04:40:19] * antmas quit (Ping timeout: 246 seconds)
510: [04:40:43] * Cheddam has joined #silverstripe
511: [04:41:41] * travis-ci has joined #silverstripe
512: [04:41:42] <travis-ci> tractorcow/silverstripe-cms#55 (pulls/3.2/archive-actions - 5e36b46 : Damian Mooyman): The build is still failing.
513: [04:41:42] <travis-ci> Change view : https://github.com/tractorcow/silverstripe-cms/compare/3a1462f19099...5e36b46ebc95
514: [04:41:42] <travis-ci> Build details : http://travis-ci.org/tractorcow/silverstripe-cms/builds/62651940
515: [04:41:42] * travis-ci has left #silverstripe
516: [04:43:57] * Stomach has joined #silverstripe
517: [04:47:24] <zippy> whats a tool like codekit but for winblows?
518: [04:49:43] * helenclarko quit (Quit: Page closed)
519: [04:53:06] <zippy> https://prepros.io/
520: [04:53:39] * travis-ci has joined #silverstripe
521: [04:53:39] <travis-ci> tractorcow/silverstripe-cms#56 (pulls/3.2/archive-actions - 5be4d3c : Damian Mooyman): The build is still failing.
522: [04:53:40] <travis-ci> Change view : https://github.com/tractorcow/silverstripe-cms/compare/5e36b46ebc95...5be4d3c42cfa
523: [04:53:40] <travis-ci> Build details : http://travis-ci.org/tractorcow/silverstripe-cms/builds/62652030
524: [04:53:40] * travis-ci has left #silverstripe
525: [04:57:22] * Stomach quit (Quit: zzz)
526: [04:58:21] * wmk has joined #silverstripe
527: [04:58:52] * DanaeNZ quit (Quit: DanaeNZ)
528: [04:59:53] * Hailwood quit (Remote host closed the connection)
529: [05:00:22] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
530: [05:03:11] * Ryan-Toast quit (Quit: Ryan-Toast)
531: [05:05:10] * Stomach has joined #silverstripe
532: [05:12:46] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
533: [05:17:31] * simon_w|air quit (Quit: My Mac has gone to sleep. ZZZzzz…)
534: [05:29:01] * Cheddam has joined #silverstripe
535: [05:31:44] * Stomach quit (Quit: zzz)
536: [05:34:37] * travis-ci has joined #silverstripe
537: [05:34:38] <travis-ci> tractorcow/silverstripe-cms#57 (pulls/3.2/archive-actions - d6be8e5 : Damian Mooyman): The build is still failing.
538: [05:34:38] <travis-ci> Change view : https://github.com/tractorcow/silverstripe-cms/compare/5be4d3c42cfa...d6be8e5f227e
539: [05:34:38] <travis-ci> Build details : http://travis-ci.org/tractorcow/silverstripe-cms/builds/62654676
540: [05:34:38] * travis-ci has left #silverstripe
541: [05:35:39] * Ryan-Toast has joined #silverstripe
542: [05:37:56] * Ryan-Toast quit (Client Quit)
543: [05:41:49] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
544: [05:47:19] * Arcax has joined #silverstripe
545: [05:47:28] <Arcax> Hi, good morning
546: [06:00:52] * Colin[pi] quit (Ping timeout: 272 seconds)
547: [06:13:04] * wmk quit (Ping timeout: 256 seconds)
548: [06:20:13] * spronk2 quit (Quit: I may need a longer sleep timer...)
549: [06:36:54] * micmania1 quit (Quit: micmania1)
550: [06:38:11] * wmk has joined #silverstripe
551: [06:39:35] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
552: [06:41:53] * Stomach has joined #silverstripe
553: [06:48:02] * Stomach quit (Quit: zzz)
554: [06:51:44] * Eliseth has joined #silverstripe
555: [07:14:26] * veb quit (Quit: veb-irc: &)
556: [07:15:17] * praveen-l has joined #silverstripe
557: [07:16:06] <praveen-l> Hello, How do I set Sqlquery 'OR' Where condition
558: [07:18:15] <praveen-l> where , whereAny, addWhere and addWhereAny
559: [07:19:10] <praveen-l> I am using $sqlQuery->addWhereAny('"'.$version_table.'"."RecordID" IN (10,12,30));
560: [07:20:51] <praveen-l> I am using $sqlQuery->addWhereAny('"Sitetree'"."RecordID" IN (10,12,30)');
561: [07:21:12] * swaiba has joined #silverstripe
562: [07:21:26] * veb has joined #silverstripe
563: [07:21:41] <swaiba> morning all
564: [07:24:49] <swaiba> praveen-l if you are using "where" at all why not just add the OR in directly?
565: [07:25:49] <praveen-l> swaiba: dont know if it is right. I will try
566: [07:26:46] <praveen-l> swaiba: I have many where condition . I have not added Logical Operators to any
567: [07:27:08] <swaiba> ok, then don't follow my suggestion
568: [07:27:41] <praveen-l> swaiba:
569: [07:27:45] <praveen-l> I will try
570: [07:28:35] <praveen-l> swaiba: I got error AND (OR "SiteTree_versions"."RecordID" IN ( '8425'))
571: [07:28:48] <praveen-l> Logical Operators repeated
572: [07:28:50] <swaiba> (facepalm)
573: [07:29:05] <swaiba> $list->where('X=1 OR y=1')
574: [07:29:28] <swaiba> not $list->where('OR x=1'); $list->where('OR y=1')
575: [07:29:39] <ss-helper> Which field type to use for a single dataobject relation? - http://www.silverstripe.org/community/forums/general-questions/show/101751
576: [07:30:03] <elgabbu> swaiba ... filterAny
577: [07:30:06] <praveen-l> No I have where condition based some logic
578: [07:30:23] <praveen-l> I cannot include all the coditions in one where function
579: [07:30:40] <swaiba> I'm sure you could, but I understand you don't want to
580: [07:30:50] <swaiba> this is a case of I shouldn't have got involved, I'm sorry
581: [07:30:59] <elgabbu> $conditions = array(); {logic that builds the conditions update the array ... $list->filterAny($conditions);
582: [07:34:00] * eric__ has joined #silverstripe
583: [07:34:11] <eric__> hello plz help me urgent
584: [07:35:34] <eric__> i have three files blogcategory.php, tags.php and blogpost.php i cant use gridfield to make tags list in blog page how?
585: [07:35:50] <eric__> <?php class BlogCategory extends Page { private static $has_many = array( 'BlogPosts' => 'BlogPost' ); public static $belongs_many_many = array( 'Tagss' => 'Tags' ); public function getCMSFields() { $fields = parent::getCMSFields(); $config = GridFieldConfig_RelationEditor::create(); $config->getComponentByType('GridFieldDataColumns')->setDisplayFields(array( 'Name'
586: [07:36:05] <eric__> <?php class BlogPost extends DataObject { private static $db = array( 'Title' => 'Text', 'Name' => 'Varchar', 'Details' => 'Text', ); private static $many_many = array( 'Tags' => 'Tags' ); private static $has_one = array( 'BlogCategory' => 'BlogCategory' ); }
587: [07:36:15] <eric__> <?php class Tags extends DataObject { private static $db = array( 'Name' => 'Varchar' ); public static $summary_fields = array( 'Name' => 'Name' ); private static $belongs_many_many = array( 'BlogPosts' => 'BlogPost' ); public function getCMSFields_forPopup() { return new FieldList( new TextField('Title', 'Title'), new HTMLEditorField('Summary', 'Brief Summary')
588: [07:37:38] <swaiba> eric__ !paste
589: [07:37:42] <swaiba> !paste
590: [07:37:42] <ss-helper> Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
591: [07:41:26] <eric__> http://www.sspaste.com/paste/show/5555a2f680ad8
592: [07:41:47] <eric__> http://www.sspaste.com/paste/show/5555a332bd9d6
593: [07:42:46] <eric__> http://www.sspaste.com/paste/show/5555a36c7d682
594: [07:45:35] <eric__> help plz
595: [07:46:03] * SticksM quit (Quit: Leaving)
596: [07:49:22] * Sticks has joined #silverstripe
597: [07:50:45] * Sticks quit (Client Quit)
598: [07:52:02] <praveen-l> elgabbu: addWhereAny combines filters with OR only after the first array element . Anyway thanks it helps
599: [07:52:57] * praveen-l quit (Quit: Page closed)
600: [07:54:09] * eric__ quit (Quit: Page closed)
601: [07:56:06] * adi__ has joined #silverstripe
602: [07:56:49] <adi__> help plz i have three pages blogcategory,blogpost and tags but i dont know how to use tags with gridfield
603: [07:57:02] <adi__> http://www.sspaste.com/paste/show/5555a36c7d682
604: [07:57:21] <adi__> <?php 02 class Tags extends DataObject { 03 private static $db = array( 04 'Name' => 'Varchar' 05 ); 06 07 08 09 private static $belongs_many_many = array( 10 'BlogPosts' => 'BlogPost' 11 ); 12 public function getCMSFields_forPopup() { 13 return new FieldList( 14 new TextField('Name', 'Name') 15 16 ); 17 } 18 19 20 }
605: [07:57:33] <adi__> http://www.sspaste.com/paste/show/5555a362c19e2
606: [07:57:43] <adi__> http://www.sspaste.com/paste/show/5555a2f680ad8
607: [07:59:00] * kinglozzer has joined #silverstripe
608: [07:59:44] <ss-helper> Re: Accessing Userdata - http://www.silverstripe.org/community/forums/customising-the-cms/show/101694#post401581
609: [08:04:16] * sealan has joined #silverstripe
610: [08:04:53] * GioVdK has joined #silverstripe
611: [08:07:05] <adi__> help me on gridfeild how to use
612: [08:14:12] <swaiba> hi adi__, you wouldn't know anyone called eric__ would you?
613: [08:14:31] <swaiba> In all seriousness I understand that you need help
614: [08:14:46] <ss-helper> Silverstripe 3.1.2 trying to use deprecated functions in 5.5 and websites goes down - http://www.silverstripe.org/community/forums/hosting-requirements/show/101752
615: [08:14:58] <swaiba> but sometimes, you have to accept that it doesn't come straight away
616: [08:15:07] <swaiba> if no one answers here please use the forum
617: [08:16:10] <adi__> i dont care plz help me i have three files for blogging page
618: [08:16:33] * wmk quit (Ping timeout: 272 seconds)
619: [08:25:59] * gelignite has joined #silverstripe
620: [08:36:59] * jcwacky has joined #silverstripe
621: [08:40:09] <jcwacky> Just upgrading a 2.4 site to 3.1, but struggling to get multiple GroupedBy layers to work. Looking for a point in the right direction.
622: [08:40:20] <jcwacky> Here’s the actual page on 2.4: http://spdr.me/1bX51
623: [08:41:01] <jcwacky> And my 2.4 code: http://www.sspaste.com/paste/show/5555b115d601a
624: [08:44:16] * adi__ quit (Ping timeout: 246 seconds)
625: [08:46:20] * veb quit (Quit: veb-irc: &)
626: [08:48:06] * UncleCheese has joined #silverstripe
627: [08:48:23] * NobrainerWeb has joined #silverstripe
628: [08:50:17] <NobrainerWeb> Hi - i need to modify the ShopAdmin of SwipeStripe, adding a component to the order gridfield. How can i in my extension, get the config of the gridfield created in ShopAdmin?
629: [08:50:29] * bemusedrat has joined #silverstripe
630: [08:55:28] * Mike123 has joined #silverstripe
631: [09:09:22] * SH__ has joined #silverstripe
632: [09:09:49] <SH__> Does anyone know if rewrite_hash_links: false has been changed in the latest version or something? It still rewrites haslinks at the moment
633: [09:12:24] * slievr has joined #silverstripe
634: [09:14:46] * Tanger quit (Quit: exit())
635: [09:29:06] * babak quit (Quit: Connection closed for inactivity)
636: [09:41:10] <NobrainerWeb> found the answer for my question with help from Anselm: $fieldConfig = $form->Fields()->fieldByName(“fieldname”)->getConfig()
637: [09:44:18] * Shrike_Finland has joined #silverstripe
638: [09:46:21] * BPower has joined #silverstripe
639: [09:46:29] * Liquide quit ()
640: [09:47:42] <BPower> Hey all :) How do I get SS to route ALL requests to a specific controller except admin & dev
641: [09:47:44] <BPower> ?*
642: [09:48:19] * Stomach has joined #silverstripe
643: [09:51:21] <kinglozzer> BPower: this? https://gist.github.com/kinglozzer/5122492b3d1483946015
644: [09:51:36] <kinglozzer> The Name: rootroutes is important
645: [09:51:48] <kinglozzer> If it's named anything else it messes up /dev IIRC
646: [09:52:06] <BPower> kinglozzer: thanks, I had exactly that but not `rootroutes` -- let me try that out.
647: [09:53:15] <BPower> Hm. With rootroutes, it doesn't work at all now.
648: [09:53:48] <kinglozzer> Really? I'm using that exact yaml configuration on a live site and it works fine :/
649: [09:53:55] * SH__ quit (Ping timeout: 246 seconds)
650: [09:53:57] <kinglozzer> Yaml syntax error or something?
651: [09:54:20] <BPower> kinglozzer: it bypasses my routes and loads the homepage for / and 404 for /something and /something/else
652: [09:54:55] <BPower> I can actually remove the CMS if that helps, but not entirely sure how to do that correctly with composer.
653: [09:55:08] <BPower> ...go framework-only.
654: [09:55:08] * Stomach quit (Quit: zzz)
655: [09:58:42] <kinglozzer> BPower: Oh yeah the cms/ module might affect that, I've not tried it with the CMS installed
656: [10:00:51] * cloph_away is now known as cloph
657: [10:02:49] <BPower> I just ran `composer remove silverstripe/cms` and `composer remove silverstripe-themes/simple` -- seems to be a step in the right direction.
658: [10:04:46] * Mike123 quit (Ping timeout: 246 seconds)
659: [10:04:47] <BPower> Any way to force "index" to be the "Action" every time? e.g. I don't want /some/page to attempt to use Controller::page
660: [10:09:45] * Shrike_Finland quit (Ping timeout: 276 seconds)
661: [10:11:15] * Pyotabsk has joined #silverstripe
662: [10:11:17] <NobrainerWeb> Doing new GridFieldApplyToMultipleRows('capture','Capture payment',function($record, $index){ $record->capture();}) works in a gridfield, but what do record need to be when the above is added via a DataExtension?
663: [10:11:21] <NobrainerWeb> $record is null
664: [10:11:39] <Pyotabsk> $this->owner->record?
665: [10:11:42] * Pyotabsk shrugs
666: [10:14:15] <NobrainerWeb> Pyotabsk: gives Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting ')'
667: [10:19:37] * Shrike_Finland has joined #silverstripe
668: [10:19:46] * Mike123 has joined #silverstripe
669: [10:19:57] * Mike123 quit (Client Quit)
670: [10:26:06] <NobrainerWeb> Figured it out, it was actually not $record that was a problem -> it was in the function capture
671: [10:28:07] <jcwacky> Just upgrading a 2.4 site to 3.1, but struggling to get multiple GroupedBy layers to work in 3.1. Looking for a nudge in the right direction.
672: [10:28:16] <jcwacky> Here’s the actual page on 2.4: http://spdr.me/1bX51
673: [10:28:21] <jcwacky> And my 2.4 code: http://www.sspaste.com/paste/show/5555b115d601a
674: [10:29:06] <Pyotabsk> jcwacky: GroupedList or something like that
675: [10:29:16] <Pyotabsk> iirc there's a wrapper you put over your DataList
676: [10:29:18] <jcwacky> I’ve wrapped my DO get in a GroupedList::create and it works but only for 1 layer.
677: [10:29:42] <Pyotabsk> jcwacky: you must also call the correct function. From memory there are now 2.
678: [10:30:37] <Pyotabsk> one does what happened in 2.4 (groups output, requiring an inner <% loop children %> to actually get at the results) and the other simply affixes an SQL 'GROUP BY' to the query (doesn't actually magic the results from memory)
679: [10:30:53] <Pyotabsk> I forget which is which, but they're also confusingly named from memory (ie, as to which is which)
680: [10:31:05] <Pyotabsk> groupby vs groupedby or something like that
681: [10:31:19] <jcwacky> Ah, and so in order for nested groupedby’s to work, I need to use the one that works like 2.4?
682: [10:31:40] <Pyotabsk> yep
683: [10:31:43] <Pyotabsk> same thing
684: [10:32:14] <Pyotabsk> so you do GroupedList::create(YourThings::get()->filter('ETC'=>'whatever'))->GroupedBy('FieldName')
685: [10:32:31] <Pyotabsk> and that gives you the list you're expected (same as what was in 2.4)
686: [10:32:51] <Pyotabsk> at least, to my memory. You'll of course need to also change <% control %> to <% loop %>, etc.
687: [10:32:54] <jcwacky> Ah, ok. Thanks, I’ll have a play with that.
688: [10:41:19] <jcwacky> Right, got it working (almost)!
689: [10:41:51] <jcwacky> I’m using GroupedBy(MonthDigit) so the months are in the correct order. But I want to display the MonthName, not MonthDigit as the group title in the template.
690: [10:43:13] <jcwacky> ah, hold on, I can just do GroupedBy(MonthName), as it’s already sorted by date!
691: [10:49:11] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
692: [11:10:19] * UncleCheese has joined #silverstripe
693: [11:12:32] * BPower quit (Remote host closed the connection)
694: [11:21:16] <kinglozzer> https://github.com/nvbn/thefuck
695: [11:21:19] <kinglozzer> winning
696: [11:26:32] <Pyotabsk> haha kinglozzer
697: [11:26:40] <Pyotabsk> sl
698: [11:26:41] <Pyotabsk> fuck
699: [11:26:45] <Pyotabsk> ls -la
700: [11:26:52] <Pyotabsk> xD
701: [11:29:36] <kinglozzer> :P
702: [11:38:20] <swaiba> bit rude, can you configure the "keyword" lol
703: [11:40:17] <UncleCheese> love it
704: [11:42:04] * Pyotabsk quit (Ping timeout: 246 seconds)
705: [11:47:40] <ss23> UncleCheese: u pay me for united frequent flier points?
706: [11:47:50] <UncleCheese> what is it now?
707: [11:48:04] <ss23> they have a bug bounty
708: [11:48:10] <ss23> find bugs in their site == free flyer points
709: [11:48:11] <UncleCheese> thefuck?
710: [11:48:13] <ss23> I won't use them often
711: [11:48:19] <ss23> (Since you know, I don't go to the US)
712: [11:48:29] <UncleCheese> ohhh
713: [11:48:31] <ss23> Probably ~250k of them, or so, depending on how long I hammer away at this
714: [11:48:44] <ss23> UncleCheese: You fly united? You want them for cheap?
715: [11:48:49] <UncleCheese> can you find bugs on their airplanes? or their customer service?
716: [11:48:57] <ss23> lol
717: [11:49:01] <UncleCheese> You probably can't apply them to partners aye
718: [11:49:02] <ss23> Those two things are out of scope ;)
719: [11:49:07] <UncleCheese> otherwise you'd be doing that
720: [11:49:10] <ss23> Hmm
721: [11:49:13] <ss23> I didn't check, good point
722: [11:49:35] <ss23> Wah
723: [11:49:36] <ss23> You can
724: [11:49:36] <ss23> :O
725: [11:49:37] <UncleCheese> but yeah, we usually United from LAX
726: [11:49:39] <ss23> I can use them with AirNZ
727: [11:49:39] <UncleCheese> !!!!!!!!!!
728: [11:49:43] <UncleCheese> yeah, figured
729: [11:50:15] <ss23> <title>United Cargo What's New Admin</title>
730: [11:50:16] <ss23> :3
731: [11:50:24] <UncleCheese> shut up
732: [11:50:26] <ss23> pretty sure that isn't meant to be public
733: [11:50:36] <UncleCheese> wow
734: [11:50:43] <ss23> UncleCheese: For people who complain about SilverStripe looks, you should see some of their internal sites
735: [11:50:46] <ss23> :O
736: [11:51:15] <UncleCheese> <script>window.delayAllFlights = function () { ... }</script>
737: [11:51:28] <ss23> XD
738: [11:51:34] <ss23> that one gets called daily for them!
739: [11:51:46] <UncleCheese> yeah, it needs some submission throttling
740: [11:51:52] <UncleCheese> debounce that shit
741: [11:53:03] <UncleCheese> United is just a hollow shell of a company.. they've fired every single person they can whilst still retaining enough shape for the public to say, "technically, it's an airline.."
742: [11:53:39] <UncleCheese> i wouldn't be surprised if some of that code hasn't been touched since Bill Clinton was in office
743: [11:54:32] * Shrike_Finland quit (Quit: Leaving.)
744: [11:54:59] * darjus01 has joined #silverstripe
745: [11:55:08] <darjus01> Hi all
746: [11:55:43] * jcwacky has left #silverstripe
747: [11:56:11] <darjus01> I have array whitch I am geting by this DB::query , how to make DB::query results to objects to pass them to template
748: [11:56:12] <darjus01> ?
749: [12:02:44] <UncleCheese> typically you just use ArrayData
750: [12:06:32] * BPower has joined #silverstripe
751: [12:06:58] <darjus01> $result = new ArrayData(array('firsts' => $rows)); return $this->customize($result)->renderWith(array("FindRetailerLoad"));
752: [12:07:06] <darjus01> isthis be valid?
753: [12:13:30] * UndefinedOffset has joined #silverstripe
754: [12:16:30] * Pyptelek has joined #silverstripe
755: [12:19:33] <Pyptelek> darjus01: nope.
756: [12:19:45] <Pyptelek> customise takes an array.
757: [12:19:56] <Pyptelek> of variable names as keys, and variable values as values.
758: [12:20:43] <Pyptelek> converting DB::query to objects is... annoying.
759: [12:21:00] <Pyptelek> Perhaps SQLQuery might be better for your needs? I believe it is easier to convert.
760: [12:21:33] <darjus01> can it make sQL like this? $rows = DB::query('SELECT *, ACOS(SIN(RADIANS("GoogleMapX")) * SIN('.$lat.') + COS(RADIANS("GoogleMapX")) * COS('.$lat.') * COS('.$log.' - "GoogleMapY")) * 6371 AS distance FROM "Retailer" ORDER BY distance ASC LIMIT 1');
761: [12:22:15] <Pyptelek> probably, yes
762: [12:22:47] <darjus01> ok i wil try thx for tips
763: [12:26:15] <UncleCheese> darjus01 http://paste2.org/IsFyw09E
764: [12:32:24] * NobrainerWeb quit (Quit: NobrainerWeb)
765: [12:32:36] * wmk has joined #silverstripe
766: [12:33:15] <darjus01> UncleCheese tnx
767: [12:34:55] * slievr quit (Quit: Page closed)
768: [12:41:32] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
769: [12:41:43] * Error404NotFound has joined #silverstripe
770: [12:51:51] * mike123 has joined #silverstripe
771: [13:26:10] * BPower quit (Remote host closed the connection)
772: [13:32:33] * arnhoe has joined #silverstripe
773: [13:40:08] * cloph_away has joined #silverstripe
774: [13:40:53] * cloph quit (Ping timeout: 256 seconds)
775: [13:41:56] <kinglozzer> Just had a weird issue... a stylesheet had an unclosed quote at the start, i.e. background-image: url("../images/foo.jpg);
776: [13:42:22] <kinglozzer> Worked fine in Chrome (except the missing bg image), Firefox refused to parse any of the rest of the stylesheet ><
777: [13:43:36] <kinglozzer> Syntax errors are syntax errors, but still...
778: [13:47:46] <wmk> yup. it sucks if your favourite browser doesn't throw an error when it should
779: [13:48:21] <kinglozzer> Preprocessors ftw, right Pyptelek?
780: [13:48:22] <kinglozzer> ;)
781: [13:50:30] <wmk> well, your favourite IDE should also check for syntax errors
782: [13:50:54] <wmk> most of the time when stumble over that i see my IDE knew it before me
783: [13:53:22] <kinglozzer> In my defence it wasn't me :P
784: [13:53:45] <kinglozzer> One of those saas ecommerce things, where everything's edited in-browser too
785: [13:57:10] <wmk> ouch
786: [13:57:32] <wmk> editing css in browser....
787: [14:09:20] <Pyptelek> kinglozzer: You wouldn't like me when I'm angry...
788: [14:09:46] * darjus01 quit (Ping timeout: 246 seconds)
789: [14:13:20] <Pyptelek> https://www.youtube.com/watch?v=_1jXUPVHToY
790: [14:23:07] * cloph_away is now known as cloph
791: [14:24:46] <kinglozzer> https://github.com/php-fig/fig-standards/blob/master/proposed/psr-8-hug/psr-8-hug.md
792: [14:24:48] <kinglozzer> Is this a joke?
793: [14:24:56] <kinglozzer> :P
794: [14:25:41] <kinglozzer> April 1st commit date says yes :P
795: [14:45:36] * bemusedrat quit (Quit: Leaving)
796: [14:46:03] <Pyptelek> ss23: had a hair cut since I last saw you?
797: [14:46:18] <Pyptelek> Or are you pretty much bropunzel now?
798: [14:47:35] <wmk> bro punzel?
799: [14:48:34] <Pyptelek> like Rapunzel
800: [14:48:37] <Pyptelek> only... a dude.
801: [14:48:53] <wmk> ;)
802: [14:48:57] <Pyptelek> And probably not lonely in a high tower waiting for his prince.
803: [14:49:08] <Pyptelek> But ya never know.
804: [14:50:27] * wmk saw this tale on tv some weeks ago
805: [14:52:45] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
806: [14:55:06] * Eliseth has joined #silverstripe
807: [14:57:10] * muskie9 has joined #silverstripe
808: [15:04:39] <Pyptelek> That recent Disney movie?
809: [15:10:31] <wmk> nope, a german production
810: [15:10:39] <wmk> but that disney movie is quite funny
811: [15:14:39] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
812: [15:18:22] * mike123 quit (Ping timeout: 246 seconds)
813: [15:29:34] * Pyptelek quit (Ping timeout: 246 seconds)
814: [15:31:04] <ss-helper> Filter Records by a function on the model. - http://www.silverstripe.org/community/forums/data-model-questions/show/101753
815: [15:42:16] * swaiba quit (Remote host closed the connection)
816: [15:43:35] <ss-helper> Re: Requiring Composer in 4.0 - https://groups.google.com/d/msg/silverstripe-dev/hcb3HM5oWRg/EiL0DfYHvdoJ
817: [15:44:35] * arnhoe quit ()
818: [15:46:06] <ss-helper> Re: Filter Records by a function on the model. - http://www.silverstripe.org/community/forums/data-model-questions/show/101753#post401585
819: [15:46:06] <ss-helper> Re: Filter Records by a function on the model. - http://www.silverstripe.org/community/forums/data-model-questions/show/101753#post401584
820: [15:46:38] <muskie9> kinglozzer did ->filter() used to take functions as params?
821: [15:46:55] * CodeTrap has joined #silverstripe
822: [15:47:19] <kinglozzer> muskie9: I'm not sure, I've never tried it!
823: [15:48:22] <muskie9> I tracked the datalist filter to this: http://api.silverstripe.org/3.1/source-class-DataList.html#117 and it mentions callbacks
824: [15:49:01] <muskie9> nice to know the filterByCallback exists though, I'm sure I'll start using that now ;)
825: [15:50:41] <kinglozzer> muskie9: IIRC filter() uses alterDataQuery() to apply SearchFilters
826: [15:51:02] <kinglozzer> I don't remember ever seeing anything about passing method names to filter(), I might be wrong though!
827: [15:51:57] <wmk> well, if it's a sql method you should be able to filter it
828: [15:52:25] <wmk> though "used to work" could also be: was never called in real world
829: [16:01:19] * kinglozzer weekend!
830: [16:01:25] <kinglozzer> cya'll
831: [16:01:25] * kinglozzer quit ()
832: [16:16:12] <ss-helper> Re: Filter Records by a function on the model. [solved] - http://www.silverstripe.org/community/forums/data-model-questions/show/101753#post401586
833: [16:18:39] * joelpittet has joined #silverstripe
834: [16:42:35] * sealan quit (Remote host closed the connection)
835: [16:45:48] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
836: [16:48:33] * Error404NotFound has joined #silverstripe
837: [16:48:38] * Error404NotFound quit (Changing host)
838: [16:48:39] * Error404NotFound has joined #silverstripe
839: [16:53:13] * Error404NotFound quit (Max SendQ exceeded)
840: [16:53:49] * Error404NotFound has joined #silverstripe
841: [17:20:31] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
842: [17:21:49] * Error404NotFound has joined #silverstripe
843: [17:22:14] * Error404NotFound quit (Remote host closed the connection)
844: [17:22:45] * Error404NotFound has joined #silverstripe
845: [17:22:57] * Error404NotFound quit (Remote host closed the connection)
846: [17:23:55] * Error404NotFound has joined #silverstripe
847: [17:24:08] * Error404NotFound quit (Remote host closed the connection)
848: [17:24:35] * Error404NotFound has joined #silverstripe
849: [17:26:39] * Error404NotFound quit (Client Quit)
850: [17:28:44] * Error404NotFound has joined #silverstripe
851: [17:29:48] * Error404NotFound quit (Max SendQ exceeded)
852: [17:30:42] * Error404NotFound has joined #silverstripe
853: [17:33:32] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
854: [17:48:04] * CodeTrap quit (Ping timeout: 252 seconds)
855: [17:51:49] * Liquide has joined #silverstripe
856: [18:11:17] * DimiStripe quit (Quit: DimiStripe)
857: [19:25:06] * wmk quit (Ping timeout: 265 seconds)
858: [19:29:50] * Stomach has joined #silverstripe
859: [19:33:16] * GioVdK quit (Ping timeout: 255 seconds)
860: [19:40:27] * Stomach quit (Quit: zzz)
861: [19:41:45] * Stomach has joined #silverstripe
862: [19:43:31] * sealan has joined #silverstripe
863: [19:48:15] * sealan quit (Ping timeout: 276 seconds)
864: [19:51:21] * Stomach quit (Quit: zzz)
865: [19:51:52] * Stomach has joined #silverstripe
866: [19:58:46] * Stomach quit (Quit: zzz)
867: [20:01:51] <ss-helper> he seriousness of the offences to which he has - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101754
868: [20:16:00] * UndefinedOffset quit (Quit: Leaving.)
869: [20:22:07] * babak has joined #silverstripe
870: [20:29:08] * muskie9 is now known as muskie9_afk
871: [20:33:15] * muskie9_afk is now known as muskie9
872: [20:33:47] * UncleCheese has joined #silverstripe
873: [20:50:05] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
874: [20:51:18] * Stomach has joined #silverstripe
875: [20:51:49] * Stomach quit (Client Quit)
876: [20:54:04] * Stomach has joined #silverstripe
877: [21:11:07] * Stomach quit (Quit: zzz)
878: [21:55:01] * UncleCheese has joined #silverstripe
879: [21:58:21] * Stomach has joined #silverstripe
880: [21:59:13] * joelpittet quit (Read error: Connection reset by peer)
881: [21:59:22] * joelpittet has joined #silverstripe
882: [22:07:46] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
883: [22:09:33] * Stomach quit (Quit: zzz)
884: [22:10:05] * muskie9 is now known as muskie9_afk
885: [22:10:51] * muskie9_afk is now known as muskie9
886: [22:21:04] * muskie9 is now known as muskie9_afk
887: [22:38:12] * muskie9_afk is now known as muskie9
888: [22:56:31] * muskie9 is now known as muskie9_afk
889: [22:59:06] * babak quit (Quit: Connection closed for inactivity)
890: [23:27:03] * Stomach has joined #silverstripe
891: [23:38:09] * Stomach quit (Quit: zzz)
892: [23:40:13] * Kutten has joined #silverstripe
893: [23:59:42] * Stomach has joined #silverstripe

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