#silverstripe IRC Log

IRC log for 19 June 2014

All timestamps are in UTC.

1: [00:00:07] <simon_w|work> Hehe, school
2: [00:00:13] <simon_w|work> There were school kiddies on the bus
3: [00:00:16] <simon_w|work> I was amused
4: [00:00:41] <Colin[pi]> were they little bastards like most of them these days?
5: [00:00:56] <simon_w|work> No idea
6: [00:04:07] <simon_w|work> My phone only decided to die once I got off the bus
7: [00:10:33] <Colin[pi]> RIP simon_w|work's phone
8: [00:10:51] <UncleCheese> question
9: [00:11:03] <UncleCheese> we want to have a download button for the latest version of the master branch
10: [00:11:08] <UncleCheese> what would be a good label for that?
11: [00:11:16] <UncleCheese> *for SS CMS/Frameowkr
12: [00:11:30] <UncleCheese> "unstable" ?
13: [00:11:37] <UncleCheese> "nightly build?"
14: [00:11:41] <UncleCheese> it's not really nightly, though
15: [00:13:43] <Stomach> "Master branch download"
16: [00:13:55] <Colin[pi]> dat length
17: [00:14:42] <Colin[pi]> "unstable" is kinda the most accurate, but I've never really be a fan of the word for software downloads
18: [00:14:46] <Colin[pi]> *been
19: [00:15:00] <simon_w|work> "Don't use this, it's broken as bro"
20: [00:15:13] <Colin[pi]> that's what "unstable" says to me ;)
21: [00:15:26] <simon_w|work> That pretty much describes master :p
22: [00:15:31] <Colin[pi]> lol
23: [00:16:26] <UncleCheese> second question: should said "unstable" release point to the head of 3.1 or to the master branch?
24: [00:16:49] <simon_w|work> UncleCheese, whatever the main branch is
25: [00:16:55] <UncleCheese> master?
26: [00:17:10] <simon_w|work> Currently it's 3.1
27: [00:17:15] <UncleCheese> yeah
28: [00:17:27] <UncleCheese> cause shipping master is like.. i'm not sure who would want that
29: [00:17:45] <simon_w|work> But it's whatever a straight git clone would get you. Don't hard code a branch.
30: [00:17:59] <UncleCheese> yeah, good point
31: [00:18:01] <UncleCheese> k, solved
32: [00:18:40] * babak quit (Quit: Connection closed for inactivity)
33: [00:21:15] <Colin[pi]> UncleCheese: this button for the current site or the new one?
34: [00:24:58] <ss23> 14:23:16 < irogue_> Stomach: cos meetup
35: [00:25:02] <ss23> fuck
36: [00:25:07] <ss23> did I miess a meetup or something?
37: [00:25:20] <Stomach> yeah, Auckland one
38: [00:25:21] <UncleCheese> new one
39: [00:25:23] <Stomach> you always miss them
40: [00:25:24] <Stomach> slacker
41: [00:25:38] <simon_w|work> Bah, the headphone and microphone jacks are round the wrong way
42: [00:25:46] <simon_w|work> Ah well, will fix when I get a new HDD
43: [00:26:39] <Stomach> simon_w|work, fix with little taped on signs instead :P
44: [00:27:20] <simon_w|work> Stomach, the port wired to the headphone thing isn't long enough
45: [00:27:37] <simon_w|work> Has three contacts, I need four
46: [00:34:34] <Stomach> whats the easiest way for force update the lastedited column on a dataobject?
47: [00:35:24] <simon_w|work> There's a force flag to write()
48: [00:35:49] <Stomach> sweet, thanks
49: [00:36:24] * caamic30 has joined #silverstripe
50: [00:36:28] <Stomach> third parameter, should be first IMHO
51: [00:36:30] <Stomach> :S
52: [00:36:42] * caamic30 quit (Client Quit)
53: [00:38:12] <Colin[pi]> Stomach: yeah but each of those params prolly don't get used too often
54: [00:39:05] <Stomach> yeah, probably not at all in core
55: [00:39:39] <Stomach> twice actually
56: [00:56:14] * Ryan-Toast quit (Quit: Ryan-Toast)
57: [01:04:01] <irogue_> [12:25:22] <Stomach> yeah, Auckland one
58: [01:04:15] <irogue_> but with a bajillion wellington people present, so it was kindof a hybrid :P
59: [01:05:40] <simon_w|work> "MySQL server has gone away"
60: [01:05:42] <simon_w|work> GAH
61: [01:10:22] * Ryan-Toast has joined #silverstripe
62: [01:17:27] * Kingy[a] is now known as Kingy
63: [01:17:40] <Kingy> afternoon
64: [01:17:49] <Colin[pi]> morning
65: [01:17:56] <irogue_> evening
66: [01:19:54] <Colin[pi]> so parallax has officially gone full retard: https://www.youtube.com/watch?v=iB75HJe8eiI
67: [01:20:11] <simon_w|work> Cause it hadn't already?
68: [01:20:20] <Colin[pi]> they had to go deeper
69: [01:20:33] <irogue_> lol
70: [01:20:48] <Colin[pi]> the sad part is that they installed four extra cameras just to do that
71: [01:25:55] <simon_w|work> Well, time to wipe and restore my phone
72: [01:25:58] <simon_w|work> Sigh
73: [01:26:02] <Colin[pi]> \o/
74: [01:26:09] * Tanger has joined #silverstripe
75: [01:37:41] <zippy__> o/
76: [01:37:51] <Colin[pi]> \o
77: [01:47:12] <zippy__> unreal
78: [01:47:51] <zippy__> my nice monitor got a fault on the left hand side (looks a bit blurred), so after a week I sent it off for repair under warrenty. Got it back this morning, all perfect but after lunch, the right hand side now has the fault!
79: [01:48:16] <simon_w|work> All three of my monitors are fine!
80: [01:48:49] <Kingy> that is some bad luck zippy__
81: [01:48:54] <Kingy> what sort of monitor is it/
82: [01:49:11] <zippy__> viewsonic
83: [01:49:27] <zippy__> simon_w|work: what size / resolutions you got there
84: [01:49:52] <Kingy> i too have a viewsonic
85: [01:49:54] <simon_w|work> 24" at 1200x1920
86: [01:52:55] <zippy__> simon_w|work: ah, rotatored...
87: [01:53:01] <zippy__> can never get into that myself
88: [01:53:24] <Kingy> simon_w|work: brand?
89: [01:54:11] <simon_w|work> Kingy, Samsung
90: [01:54:19] <irogue_> I rotate depending on what I'm doing at the time
91: [01:54:22] <Stomach> irogue_, yeah I guess kind of hybrid
92: [01:54:40] <Stomach> (still Auckland :P)
93: [01:54:50] <simon_w|work> irogue_, been fired yet?
94: [01:55:07] <irogue_> simon_w|work: nah, hired instead
95: [01:55:21] <simon_w|work> irogue_, well, that's boring :p
96: [01:55:22] * jedateach quit (Quit: jedateach)
97: [01:55:52] <Stomach> what, they hired you?
98: [01:56:00] <Stomach> you are gonna leave the tron?
99: [01:56:34] <irogue_> yep
100: [01:56:49] <Stomach> jafa
101: [01:56:55] <Kingy> haha
102: [01:57:00] <simon_w|work> Once a jafa always a jafa :p
103: [01:57:52] <irogue_> i was already a jafa then :P
104: [02:00:57] <Colin[pi]> dafuq is a jafa?
105: [02:01:03] <Stomach> just another fucking aucklander
106: [02:01:07] <Colin[pi]> oh lol
107: [02:02:04] * jedateach has joined #silverstripe
108: [02:03:47] <simon_w|work> jedateach, someone was asking about one of your modules
109: [02:04:11] <simon_w|work> Oh, I see you noticed
110: [02:04:16] <jedateach> @simon_w|work :)
111: [02:06:04] * babak has joined #silverstripe
112: [02:23:23] <Colin[pi]> ss23 has been quiet lately
113: [02:23:35] <Colin[pi]> must be actually working
114: [02:23:46] <Stomach> (hes on holiday)
115: [02:23:53] <Colin[pi]> oh he's still away?
116: [02:24:03] <Colin[pi]> ah k I thought he was back
117: [02:24:07] <Stomach> yeah I think so, otherwise somethings seriously wrong
118: [02:24:10] <Colin[pi]> lol
119: [02:24:13] <Stomach> and hes working o_O
120: [02:24:17] <Colin[pi]> hehe
121: [02:25:40] <Stomach> I don't like it when I end up writing methods with this kind of signature
122: [02:25:41] <Stomach> public function Last100Years()
123: [02:26:19] <Colin[pi]> LastCentury() ?
124: [02:27:16] <Stomach> it generates a list of the last100years
125: [02:27:29] <Stomach> but I always think "why can't I just do this in the template'
126: [02:27:37] <Stomach> and mismatch quotes in my brain
127: [02:29:26] <guzzlefry> Past100Years?
128: [02:29:31] * spronk quit (Ping timeout: 240 seconds)
129: [02:29:53] <guzzlefry> LastCentury kind of sounds like 1900-2000
130: [02:30:34] <guzzlefry> rather than (current year - 100) through current year
131: [02:30:55] <Kingy> GimmieAHundy()
132: [02:30:56] <Stomach> I should call it 'generateListOfPast100YearsBecauseTemplatingEngineIsntPowerfulEnough'
133: [02:31:14] <guzzlefry> 'generateListOfPast100YearsBecauseTemplatingEngineIsntPowerfulEnoughAbstractFactory'
134: [02:31:42] <Kingy> or just piss off the people who dev after you
135: [02:31:48] <Stomach> then I'd have to implement some factories
136: [02:31:55] <Kingy> aFunction()
137: [02:32:03] <Stomach> Kingy, if I wanted to do that I would call it 'getLatestForumPosts'
138: [02:32:17] <Kingy> HA
139: [02:32:17] <guzzlefry> I have a friend who actually names variables after mexican entrees...
140: [02:32:29] <Colin[pi]> guzzlefry: ...
141: [02:33:03] <Stomach> getTacos, getBurritos, getRefriedSick, getTopGearsInTroubleAgain
142: [02:33:10] <guzzlefry> it's okay, he's the only one touching the codebase. :P
143: [02:33:24] <guzzlefry> top gear got in trouble for something?
144: [02:33:39] <Stomach> yeah, a few mislaid mexican insults
145: [02:33:55] <guzzlefry> oh
146: [02:34:20] <guzzlefry> They offended the entire state of Alabama in that one special.
147: [02:34:27] * spronk has joined #silverstripe
148: [02:36:47] * Colin[pi]-2 has joined #silverstripe
149: [02:36:55] * Colin[pi] quit (Ping timeout: 240 seconds)
150: [02:37:01] * Colin[pi]-2 is now known as Colin[pi]
151: [02:49:24] * camfindlay quit (Quit: camfindlay)
152: [02:59:47] * LimRes has joined #silverstripe
153: [03:01:06] <LimRes> Hey SS peeps
154: [03:01:53] <Kingy> hi LimRes
155: [03:02:36] <LimRes> just hoping for some guidance on this, my first use of filterByCallback
156: [03:02:37] <LimRes> $Customers = Member::get()->filterByCallback(function($item, $list) { if ($item->HasApprovedJobs() && $item->AAFID == 0) { return true; } });
157: [03:02:59] <LimRes> yields Missing argument 2 for DashboardPage_Controller::{closure}()
158: [03:03:28] <LimRes> any ideas?
159: [03:04:12] <LimRes> nothing to do with the inner function call, because I can just remove that if statement and same error
160: [03:04:54] <LimRes> also, code actually works
161: [03:05:30] <LimRes> it is filtering properly, just shows that error once for each item returned by the ::get()
162: [03:05:35] <LimRes> !?
163: [03:06:13] <Ryan-Toast> Can you just add these 5 forms to our website? http://i.imgur.com/KBNcZ.gif
164: [03:06:14] <guzzlefry> not really familiar with it but
165: [03:06:30] <guzzlefry> LimRes: add return false at the very end of the callback?
166: [03:06:54] <Stomach> guzzlefry is right I think, it needs to return something
167: [03:07:12] <guzzlefry> I'm taking a shot in the dark here, I've never used a callback. >_>
168: [03:07:30] <LimRes> tried that
169: [03:07:59] <LimRes> i would expect if that was causing it, it would only show error for those items that didn't return true
170: [03:08:05] <LimRes> it's showing for each and every
171: [03:08:22] <guzzlefry> uhh
172: [03:08:27] <guzzlefry> if(call_user_func($callback, $item, $this)) $output->push($item);
173: [03:09:16] <guzzlefry> oh wait, nevermind
174: [03:09:33] <LimRes> It doesn't matter what I do within the callback
175: [03:09:38] <LimRes> even if I just always return true
176: [03:09:40] <LimRes> it does this
177: [03:10:00] <LimRes> most perplexing is that it actually works anyway
178: [03:10:15] <LimRes> but big ugly errors rendered first
179: [03:10:32] <guzzlefry> out of curiousity
180: [03:10:51] <guzzlefry> is $item defined in the function you call $Customer = ... in?
181: [03:11:07] <LimRes> no
182: [03:11:15] <LimRes> it should be passed automagically
183: [03:11:19] <LimRes> by filterByCallback
184: [03:11:25] <LimRes> that is what I thought the purpose of it was
185: [03:11:32] <LimRes> was to facilitate this
186: [03:11:33] <guzzlefry> it is
187: [03:11:45] <LimRes> oh you mean did I create a conflict
188: [03:11:46] <LimRes> with vars
189: [03:11:52] <LimRes> nope
190: [03:12:27] <guzzlefry> Try defining the function normally?
191: [03:13:33] <Stomach> what version of the cms and framework are you using LimRes ?
192: [03:16:20] <LimRes> hey stevie, I am running 3.1
193: [03:16:25] * cloph_away has joined #silverstripe
194: [03:16:26] <Stomach> .?
195: [03:16:33] * cloph quit (Ping timeout: 240 seconds)
196: [03:16:53] <Stomach> is it possible for you to upgrade to 3.1.5? I know for a fact that kind of thing works in 3.1.5
197: [03:17:13] <Stomach> your function doesn't throw and error for me when I run it on my current code base either
198: [03:17:19] <LimRes> 3.1.2
199: [03:17:31] <Stomach> it could be that the problem is in your hasApprovedJobs function
200: [03:17:37] <LimRes> nope, it's working fine
201: [03:17:43] <LimRes> and the code is working fine
202: [03:17:55] <LimRes> maybe I should just look into swallowing those big fat errors
203: [03:18:59] <LimRes> is 3.1.2 to 3.1.5 ezpz?
204: [03:20:44] <LimRes> ah wierd
205: [03:20:50] <LimRes> just for kicks I removed the $list
206: [03:20:53] <LimRes> and it is sweet
207: [03:20:54] <LimRes> ?!
208: [03:20:55] <Stomach> yeah 3.1.2 to 3.1.5 is ezpezy
209: [03:21:14] <Stomach> but that sounds event better :P
210: [03:21:36] <Stomach> even*
211: [03:21:38] <LimRes> does it work on 3.1.5
212: [03:21:46] <LimRes> maybe I should mention this since the docs are wrong
213: [03:21:56] <guzzlefry> well look at that
214: [03:22:25] <Stomach> it looks like you should only have one argument in the callback
215: [03:22:26] <LimRes> it makes sense that you should not have to deal with $list
216: [03:22:29] <LimRes> yeah
217: [03:22:34] <guzzlefry> https://github.com/silverstripe/silverstripe-framework/blob/054b35ded7674f13ccad4cec8fe38372e2a001df/model/DataList.php#L416
218: [03:22:36] <guzzlefry> LimRes: Stomach ^
219: [03:22:38] <guzzlefry> :)
220: [03:22:39] <LimRes> http://doc.silverstripe.com/framework/en/topics/datamodel
221: [03:22:43] <guzzlefry> That's the 3.1.2 tag
222: [03:23:11] <Stomach> http://api.silverstripe.org/master/source-class-DataList.html#411-429
223: [03:23:22] <guzzlefry> yeah so
224: [03:23:26] <guzzlefry> 3.1.2 is kinda broken
225: [03:23:26] <Stomach> only takes one argument, so docs are wrong
226: [03:23:36] <LimRes> yup anyone have edit rights?
227: [03:23:40] <guzzlefry> Stomach: 3.1.5 takes two arguments...
228: [03:23:45] <LimRes> ah ok
229: [03:24:01] <Stomach> guzzlefry, wheres the implementation of that?
230: [03:24:18] <Stomach> oh im on master, my bad
231: [03:24:22] <guzzlefry> Stomach: click the link, line 423
232: [03:25:02] <guzzlefry> so basically that confusing error means "whatever is calling the callback isn't passing argument 2" :)
233: [03:25:40] * nickmolhoek quit (Quit: nickmolhoek)
234: [03:25:48] <Stomach> line 423 for me is if($callback($item)) $output->push($item);
235: [03:26:18] <LimRes> cool, I posted a comment in the docs just in case it saves anyone the hassle
236: [03:26:28] <Stomach> so filterByCallback(function($item) { // stuff });
237: [03:26:52] <LimRes> yup
238: [03:27:12] <LimRes> just trying to imagine why you would want to access $list
239: [03:27:17] <LimRes> in that scope
240: [03:27:27] <LimRes> I guess it gives you access to count
241: [03:27:31] <LimRes> which might be handy
242: [03:27:33] <Stomach> yeah
243: [03:27:48] <LimRes> and first
244: [03:27:49] <LimRes> last
245: [03:27:50] <LimRes> etc
246: [03:27:52] <guzzlefry> that's going to break when he upgrades though.
247: [03:27:55] <LimRes> yup
248: [03:28:00] <LimRes> I'll remember :)
249: [03:28:07] <LimRes> I won't upgrade til next week
250: [03:28:19] <LimRes> can I just swap in new framework folder?
251: [03:28:44] <Stomach> and cms folder
252: [03:29:21] <Stomach> LimRes, documentation is here if you wanna edit and do a PR
253: [03:29:22] <Stomach> https://github.com/silverstripe/silverstripe-framework/blob/3.1/docs/en/topics/datamodel.md
254: [03:33:35] <LimRes> Done
255: [03:38:29] * DesignerX has joined #silverstripe
256: [03:45:23] * zippy__ has started humming to the music....
257: [03:45:41] * zippy__ is glade there is no-one else in his office…..pyscho..
258: [03:46:18] <Kingy> that's what i love about working at home
259: [03:46:28] <Kingy> middle of summer... boxers only
260: [03:46:35] <Kingy> middle of winter... sleeping bag
261: [03:50:58] <LimRes> Kingy: I took an office in town this year after 6 working at home, and the only perk is that I am slowly getting fitter biking here :)
262: [03:51:25] <LimRes> other than that, I miss the home office
263: [03:51:44] <Kingy> Yeah I only get one day a week at home
264: [03:51:51] <Kingy> but by god is it the best day of the week
265: [03:53:31] <LimRes> I hear ya
266: [03:53:40] <LimRes> ok all, thanks and have a great evening
267: [03:56:10] <Stomach> cya buddy
268: [03:56:45] * travis-ci has joined #silverstripe
269: [03:56:46] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2732 (3.1 - 86e91b5 : Stig Lindqvist): The build passed.
270: [03:56:46] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/11cc27f700a0...86e91b57bf14
271: [03:56:46] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/27924513
272: [03:56:46] * travis-ci has left #silverstripe
273: [03:58:04] * LimRes quit (Ping timeout: 246 seconds)
274: [04:02:35] * Kingy is now known as Kingy[a]
275: [04:07:20] * Kingy[a] is now known as Kingy
276: [04:17:03] * jedateach quit (Ping timeout: 240 seconds)
277: [04:17:24] * Kingy is now known as Kingy[a]
278: [04:27:02] <Colin[pi]> wow, I might get to redevelop a site that's been in place since 2002 :o
279: [04:27:52] <simon_w|work> Yay, it's looking like I fixed my phone without having to wipe it :)
280: [04:28:03] <Colin[pi]> simon_w|work: yay
281: [04:28:33] <zippy__> simon_w|work: punch it / throw it on the ground?
282: [04:28:49] <simon_w|work> zippy__, wiped iTunes Match then turned it back on
283: [04:29:04] <simon_w|work> Once it started failing to download songs, quit Music.app and opened it again
284: [04:35:20] <Colin[pi]> man it's amazing how much more productive I am with music on vs off
285: [04:35:26] <Ryan-Toast> Colin[pi]: link?
286: [04:35:47] <Colin[pi]> to the site?
287: [04:36:03] <Colin[pi]> can't show just yet, hush hush and all
288: [04:37:51] <simon_w|work> Colin[pi], what about now? :p
289: [04:38:02] <Colin[pi]> simon_w|work: yeah nah
290: [04:38:04] <Colin[pi]> ;P
291: [04:38:16] <Colin[pi]> I'm writing a proposal for them... BOOOORING
292: [04:38:22] <Colin[pi]> 15 pages of BS
293: [04:38:24] <Colin[pi]> ;D
294: [04:38:25] <Stomach> "I propose we change the site"
295: [04:38:29] <Colin[pi]> DONE!
296: [04:38:36] <simon_w|work> "I propose we get hitched"
297: [04:38:38] <Stomach> STRAIGHT TO THE POINT, I LIKE YOU, TAKE MY MONEY
298: [04:38:41] <simon_w|work> "Oops, wrong person"
299: [04:39:17] <Colin[pi]> Stomach: sadly it could be reduced to one page with "the site is old and sucks, you need a new one, that's where I come in"
300: [04:39:30] <Stomach> in really big type?
301: [04:39:36] <Colin[pi]> lol yeah
302: [04:39:41] <Colin[pi]> comic sans
303: [04:39:49] <simon_w|work> On their forehead
304: [04:45:11] <zippy__> if you use comic sans… it must be lime
305: [04:45:33] <irogue_> or fuchsia
306: [04:45:39] <Colin[pi]> worst part of writing a proposal is, no one will prolly read it, they want the dollar value... but it needs to look like it's WORTH that value,
307: [04:45:44] <Colin[pi]> so you need to write a BS document
308: [04:46:06] <Colin[pi]> so I'm prolly wasting my time, I know it, they know it, but you still need to do it :D
309: [04:46:09] <simon_w|work> Anyone else having problems getting to phpunit.de?
310: [04:47:22] <zippy__> Colin[pi]: write a cover page, then 10 pages of lorem ipsum, then a final page with $
311: [04:47:29] <Stomach> simon_w|work, http://www.downforeveryoneorjustme.com/http://phpunit.de/
312: [04:47:51] <Colin[pi]> dammit Stomach I was about to post the same link
313: [04:48:00] <simon_w|work> Stomach, damn. I don't know the syntax for skipping a test
314: [04:48:03] <Colin[pi]> zippy__: lol prolly would be ok
315: [04:49:12] <Stomach> simon_w|work, I think you need to add it to the xml declaration as an exclude
316: [04:49:36] <Stomach> dunno if there is a command
317: [04:49:45] <simon_w|work> Stomach, nope, that excludes it rather than marking it as a skipped (or incomplete) test
318: [04:50:18] <Stomach> can you throw a skip statement into the test at all? fun times
319: [04:50:25] <Stomach> i guess probably not
320: [04:50:49] <simon_w|work> https://github.com/sebastianbergmann/phpunit/blob/master/src/Framework/Assert.php#L2974-L2997
321: [04:50:51] <simon_w|work> there we go!
322: [04:50:55] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
323: [04:51:43] <Stomach> woooo
324: [04:51:52] * Stomach goes and marks all SS tests as incomplete
325: [04:52:11] <simon_w|work> Stomach, I knew there were methods for them, I just couldn't remember what they were called :p
326: [04:52:30] <Stomach> check the phpunit documen... oh :P
327: [04:53:06] <simon_w|work> Pretty much
328: [04:54:35] <zippy__> curse you interwebs!
329: [04:57:48] <Colin[pi]> they have doco on just one site?
330: [05:10:28] <simon_w|work> Yeah, it's fairly common
331: [05:10:46] <simon_w|work> And I don't have Dash here, so don't have a local copy
332: [05:11:01] <irogue_> <SSn00b> Hi, I'm trying to add categories to my blog. Can someone help?
333: [05:11:02] <irogue_> <SSguru> Your mom uses a blog.
334: [05:11:02] <irogue_> <simon_?> Use HHVM.
335: [05:11:04] <irogue_> such accurate
336: [05:11:15] <irogue_> :P
337: [05:11:52] <Stomach> I like that Aaron was the one to go "use traits" to that poor fellow a few days ago though
338: [05:12:02] <irogue_> lol yes
339: [05:12:29] <irogue_> he's absolutely right though, IRC is a terrible place for noobs to get help
340: [05:12:39] <irogue_> it is, however, an awesome place for us not-noobs to get help from each other :P
341: [05:12:52] <Stomach> yeah, its good for intermediates though
342: [05:12:55] <Stomach> exactly
343: [05:12:57] <simon_w|work> Especially now that I'm not basically in here full time? :p
344: [05:13:13] <Stomach> you are one of the most helpful
345: [05:13:25] <Stomach> for me at least
346: [05:14:29] <Colin[pi]> we <3 simon_w|work
347: [05:14:52] <simon_w|work> Though I don't have a SS checkout here, so I just tell you where to go look now :p
348: [05:15:07] <Stomach> yeah but thats usually better, I like to know why, not just how
349: [05:15:26] <Colin[pi]> IRC I use mainly for when I've exhausted myself on something, tried this this and this, didn't work, ok now to IRC
350: [05:15:41] <Colin[pi]> I try to at least figure out something myself first ;P
351: [05:16:18] <Colin[pi]> also there really is not a lot out on the web for SS, for the more specific topics anyway
352: [05:16:37] <simon_w|work> logs.simon.geek.nz! :p
353: [05:16:40] <Colin[pi]> there's a few old blog sites but they're pretty dated now
354: [05:16:46] <Colin[pi]> simon_w|work: yes we know ;P
355: [05:17:08] <simon_w|work> That's, sadly, likely to be the most complete documentation for SS
356: [05:17:33] <simon_w|work> Someone should mention that to Cam
357: [05:17:38] <simon_w|work> There's a mailing list thread about it!
358: [05:19:52] <Stomach> yeah but who wants to wade through 400 lines about burger fuel to find a code snippet for injector
359: [05:20:01] <Stomach> oh wait, code snippets for injector don't exist >_<
360: [05:20:32] <Colin[pi]> <Stomach> yeah but who wants to wade through 400 lines about burger fuel <-- lol, so trye
361: [05:20:33] <Colin[pi]> *true
362: [05:20:43] <simon_w|work> Which is why I added in search!
363: [05:21:05] <simon_w|work> Also, because I switched to Postgres, so the builtin one isn't anywhere near as shit as MySQL's
364: [05:21:09] <Stomach> wheres the bad word list thing
365: [05:21:16] <simon_w|work> stats.php
366: [05:22:00] <Colin[pi]> wow that page takes forever simon_w|work ;P
367: [05:22:07] <simon_w|work> Colin[pi], yup :p
368: [05:22:22] <Stomach> TERABYTES OF BURGERFUEL TO SORT THROUGH
369: [05:22:22] <simon_w|work> You can look at the sauce if you want to see how horrible the query it's running each time is :p
370: [05:22:26] <Colin[pi]> Stomach: rofl
371: [05:22:43] * zippy__ quit (Ping timeout: 240 seconds)
372: [05:22:49] <Colin[pi]> wow must be pushing a minute or more now
373: [05:23:05] <simon_w|work> Patches welcome :p
374: [05:23:16] <Stomach> yeah mines still loading too
375: [05:23:32] <Stomach> wheres the code simon_w|work
376: [05:23:36] <Colin[pi]> oh no we hit it with 2 users simulatenously! :O
377: [05:23:39] <Colin[pi]> FOOOM!
378: [05:23:43] <simon_w|work> Stomach, link's in the footer of each page
379: [05:23:57] <simon_w|work> Colin[pi], it generates almost no load. It's just slow
380: [05:23:59] <Colin[pi]> there we go!
381: [05:24:12] <Stomach> yeah im in!
382: [05:25:46] <Colin[pi]> I love how pyro is orders of magnitude higher on some things ;D
383: [05:26:28] <Stomach> like the word shit :D
384: [05:26:36] <Colin[pi]> Firefox: ajshort, 730 - pyromanik, 112 <--- dafuq is going on there?
385: [05:26:54] <simon_w|work> I don't like it, so I don't talk about it? :p
386: [05:27:08] <Stomach> I've never even said it, wooooo
387: [05:27:20] <Colin[pi]> yeah but 730 vs 112, quite a leap
388: [05:27:34] <simon_w|work> Maybe that ajshort guy really likes his firefox
389: [05:27:38] <Colin[pi]> must do
390: [05:28:09] <Colin[pi]> simon_w|work: does it match whole words only?
391: [05:29:49] <simon_w|work> $query = 'SELECT COUNT(*) AS "Number", "Nick" FROM "Log" WHERE "Text" ILIKE \'%%%s%%\' GROUP BY "Nick" ORDER BY "Number" DESC LIMIT 50;';
392: [05:30:16] <simon_w|work> The function at the bottom of http://logs.simon.geek.nz/source/funcs.php
393: [05:31:09] <Colin[pi]> ah case insensitive LIKE
394: [05:31:27] <Stomach> sHiT
395: [05:31:35] <simon_w|work> Yeah, it's why there's no IE stat
396: [05:32:01] <Stomach> you could have turned the character limit down to 2....
397: [05:32:01] <Colin[pi]> mmm yeah that would be kinda inaccurate ;P
398: [05:32:18] <Stomach> oh wait, i get it now
399: [05:32:20] * Stomach runs away
400: [05:32:23] <Colin[pi]> lol Stomach ;P
401: [05:32:34] <Colin[pi]> achieve <-- oops another IE mention
402: [05:33:44] <Colin[pi]> you could prolly set up one based on "fucking IE" or "I hate IE" or "IE sucks" though
403: [05:33:47] <Colin[pi]> ;D
404: [05:35:01] * an_Eskimo quit (Ping timeout: 246 seconds)
405: [05:37:49] <simon_w|work> Yay, I get to figure out why this test works when run by itself but fails when run as part of the suite
406: [05:38:01] * Ryan-Toast quit (Quit: Ryan-Toast)
407: [05:38:15] * simon_w|work blames ss23
408: [05:38:56] <Colin[pi]> ten bucks says ss23 comes back as a geisha
409: [05:39:36] <Stomach> lol
410: [05:43:19] <Stomach> now that I'd like to see
411: [05:54:17] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
412: [06:07:43] * Stomach has left #silverstripe
413: [06:07:51] * Stomach has joined #silverstripe
414: [06:07:54] <Stomach> ctrl+w ftl
415: [06:26:43] * srikanth quit (Ping timeout: 240 seconds)
416: [06:57:32] * Shrike_Finland has joined #silverstripe
417: [07:06:42] * ARNHOE has joined #silverstripe
418: [07:16:49] * simon_w|work quit (Quit: Ex-Chat)
419: [07:21:32] * mrzero_ has joined #silverstripe
420: [07:27:53] * mrzero quit (Remote host closed the connection)
421: [07:27:55] * mrzero_ is now known as mrzero
422: [07:36:32] * ocm has joined #silverstripe
423: [07:36:55] <ocm> howdy!
424: [07:44:25] * leighmcculloch has joined #silverstripe
425: [07:45:12] * stnvh has joined #silverstripe
426: [07:47:21] <leighmcculloch> Hey silverstripe, after seeing SilverStripe's policy on code contribution and seeing the state of play of most OS projects (inc my own), I've put together http://bsdcontrib.org, ideally an easy attachment to any permissive BSD/MIT like license that will make accepting contributions to open source projects friendly from a legal standpoint.
427: [07:47:40] <leighmcculloch> As I was inspired by SilverStripe's own contribution policy, I wanted to let you guys know first and I'd value any feedback you might have. I'll launch this publicly in the next day asking for feedback.
428: [07:49:35] * svandragt has joined #silverstripe
429: [07:50:34] <svandragt> Morning folks I'm using the DMS module but I can't figure out what permissions are required for members; currently the group members can add pages but not add documents to those pages?
430: [07:53:11] <svandragt> Answer: "Access to files section"
431: [08:03:12] * irogue_ has joined #silverstripe
432: [08:08:46] * daslicht has joined #silverstripe
433: [08:15:20] * UncleCheese has joined #silverstripe
434: [08:16:39] * Pyhotk has joined #silverstripe
435: [08:22:02] * kinglozzer has joined #silverstripe
436: [08:27:06] <daslicht> hi,
437: [08:27:22] <daslicht> in the tuturials there is a GridField used to map Relations
438: [08:27:28] <daslicht> Student Mentors etc ...
439: [08:28:02] <daslicht> is therer a way to display a Dropdown, or even better a searchable dropdown (like select2) instead of a text field ?
440: [08:29:03] <ss23> Colin[pi]: YOU LOSE $10 I CAME BACK AS A CUTE ANIME GIRL
441: [08:30:33] * simon_w|air has joined #silverstripe
442: [08:30:50] <Pyhotk> daslicht: what kind of config are you using?#
443: [08:31:02] <daslicht> just the tutorial
444: [08:31:15] <ocm> ss23 xD
445: [08:31:23] <daslicht> https://github.com/daslicht/SilverStripe-cms-v3.1.5/tree/master/mysite/code
446: [08:31:24] <ocm> konitucha!
447: [08:31:28] <irogue_> daslicht: you mean this: http://doc.silverstripe.org//src/framework_3.1/docs/en/tutorials/_images/tutorial5_module_selection.jpg ?
448: [08:31:39] <irogue_> ss23: OH GOD EVERYTHING BROKE IN YOUR ABSENCE
449: [08:31:40] <daslicht> exactly
450: [08:31:40] <Pyhotk> daslicht: so... GridFieldConfig_RelationEditor ?
451: [08:31:47] <daslicht> yeh
452: [08:31:59] <daslicht> maybe isthat Link to existing teh thing i am looking for
453: [08:32:02] <irogue_> Pyhotk: can't say I know off the top of my head
454: [08:32:11] <Pyhotk> irogue_: eh?
455: [08:32:18] <irogue_> uh
456: [08:32:20] <irogue_> daslicht:
457: [08:32:27] <Pyhotk> daslicht: what kind of config are you using?#
458: [08:32:31] <irogue_> by default it's a textbox that searches the existing entries, so kinda like a searchable dropdown
459: [08:32:32] <Pyhotk> daslicht: so... GridFieldConfig_RelationEditor ?
460: [08:32:42] <Pyhotk> it's an autocomplete thing.
461: [08:32:55] <daslicht> but you have to know the first letters ?
462: [08:33:04] <irogue_> yeah I can see how a dropdown could be more useful
463: [08:33:10] <daslicht> fair enough tho
464: [08:33:15] <Pyhotk> if you're not using GridFieldConfig_RelationEditor, either use that or add the addexistingautocomplete component to your current config.
465: [08:33:15] <irogue_> knowing gridfield there's probably an option to do swap it out
466: [08:33:21] <daslicht> a dynamic dropdown
467: [08:33:27] <Pyhotk> irogue_: well no, there's not.
468: [08:33:30] <daslicht> which do not load all relations :D
469: [08:33:33] <Pyhotk> daslicht: and what if you have 300 entries?
470: [08:33:35] <daslicht> this could be a mess
471: [08:33:35] <Pyhotk> in a dropdown?
472: [08:34:03] <Pyhotk> Generally if you're adding an existing, you're looking for something.
473: [08:34:06] <daslicht> yeah you are correct
474: [08:34:09] <Pyhotk> so a search makes sense.
475: [08:34:18] <daslicht> if you have 500 relations it might be bad :D
476: [08:34:21] <daslicht> yes
477: [08:34:25] <daslicht> you are correct
478: [08:34:39] <Pyhotk> Granted I agree that it's usually more input than users are willing to supply... but users are stupid.
479: [08:34:43] <Pyhotk> and above all, lazy
480: [08:34:47] <irogue_> so that is a GridFieldAddExistingAutocompleter
481: [08:34:53] <Pyhotk> mmhmm
482: [08:34:53] <ss23> ocm: wakatanyaa~!
483: [08:34:56] <daslicht> i used this in my projects so far:
484: [08:34:57] <daslicht> http://ivaynberg.github.io/select2/
485: [08:34:57] <ss23> irogue_: OH GOD
486: [08:34:59] <ss23> FIX IT
487: [08:35:11] <irogue_> ss23: i'm not even kidding
488: [08:35:11] <daslicht> i just noticed that you have to type one letter either heh
489: [08:35:15] <Pyhotk> daslicht: select2 is a shitty ripoff of Chozen
490: [08:35:21] <irogue_> ss23: been readin yo work emails by chance?
491: [08:35:24] <Pyhotk> which SS uses.
492: [08:35:44] <daslicht> Pyhotk: thank you, i didnt knew it
493: [08:35:48] <Pyhotk> and by shitty ripoff, I mean I discovered chozen about a year or more before suddenly select2 was everywhere :<
494: [08:35:51] <ss23> irogue_: going to read em today, didn't have the stomach for it after staying up for 30+ hours :P
495: [08:35:53] <irogue_> ss23: THE ENTIRETY OF SUPPORT WAS MISSING
496: [08:36:00] <ss23> OMG WHAT
497: [08:36:03] <irogue_> you away
498: [08:36:06] <irogue_> everyone else sick
499: [08:36:09] <Pyhotk> irogue_: hurro
500: [08:36:18] <irogue_> random other devs had to be support
501: [08:36:18] <Pyhotk> ss23: welcome back to ... wait.
502: [08:36:27] <Pyhotk> HAHA BACK TO WORK ss23
503: [08:36:45] <irogue_> I think it ended up being mostly Mateusz
504: [08:36:52] <ss23> haha XD
505: [08:37:01] <ss23> oh jesus
506: [08:37:05] <ss23> Inbox (233)
507: [08:37:06] <ss23> :(
508: [08:37:09] <Pyhotk> haha
509: [08:37:13] <ss23> I thought my normal one was bad at ~70
510: [08:37:22] <Pyhotk> wow, what a popular guy
511: [08:37:27] <ss23> Christmas Break (End Now)
512: [08:37:31] <ss23> I should've changed that message...
513: [08:37:46] <Pyhotk> My inbox is at about 20 after 2 weeks, and ~16 of those will be non relevant "BUY MORE THINGS!"
514: [08:38:03] <Pyhotk> ss23: midwinter christmas, whatever
515: [08:38:46] <Pyhotk> irogue_: so is there some kind of gay signal that I'm oblivious to?
516: [08:39:02] <simon_w|air> WORK OVER FOR THE WEEK
517: [08:39:11] <simon_w|air> Sexy Star Wars show tomorrow :D
518: [08:39:18] <Pyhotk> early simon_w|air ... oh
519: [08:39:21] <Pyhotk> sexy star wars?
520: [08:39:34] <simon_w|air> Pyhotk, http://www.empirestripsback.com
521: [08:39:36] <Pyhotk> is that a gold bikini cosplay competition?
522: [08:39:48] <Pyhotk> simon_w|air: gawd... not sure if I should click that link at work xD
523: [08:40:02] <simon_w|air> The site itself is mostly SFW
524: [08:40:07] <Pyhotk> still xD
525: [08:40:17] <Pyhotk> perhaps tonight
526: [08:40:21] <simon_w|air> "CAN YOU COME TO THE UNITED KINGDOM?
527: [08:40:21] <simon_w|air> Unfortunately the parody laws we rely on to stage the show aren't compatible with UK law."
528: [08:40:25] <simon_w|air> Sucks to be the UK :p
529: [08:40:32] <Pyhotk> hawhaah
530: [08:40:42] <Pyhotk> It actually does, tbh.
531: [08:40:56] * irogue_ quit (Ping timeout: 240 seconds)
532: [08:41:03] <Pyhotk> At least I found a place that makes decent sandwiches :>
533: [08:41:14] <simon_w|air> Pyhotk, http://webcache.googleusercontent.com/search?q=cache:http://www.empirestripsback.com&strip=1 is definitely SFW
534: [08:41:24] <Pyhotk> ahah
535: [08:41:54] <Pyhotk> Still, I'm busy trying to hack gridfield into actually rendering something for me.
536: [08:42:06] <simon_w|air> Gutted
537: [08:42:12] <Pyhotk> yup, a bit.
538: [08:42:36] <Pyhotk> dear gridfield, why you crush my dreams like this :<
539: [08:42:39] <Pyhotk> D:
540: [08:43:10] <Pyhotk> I forget, is form action $data, $form, $request, or $form, $data, $request?
541: [08:43:16] <Pyhotk> data first right?
542: [08:44:50] * irogue_ has joined #silverstripe
543: [08:45:29] <irogue_> [20:37:27] <ss23> Christmas Break (End Now)
544: [08:45:29] <Pyhotk> irogue_: you came back! How was your trip to timeoutland?
545: [08:45:40] <simon_w|air> Pyhotk, form first
546: [08:45:49] <Pyhotk> oh, thanks simon_w|air
547: [08:45:58] <irogue_> ss23: yes, Sam considered changing it for you but decided itd be more fun to have everyone laugh at you for it upon your return
548: [08:46:38] <irogue_> [20:38:46] <Pyhotk> irogue_: so is there some kind of gay signal that I'm oblivious to?
549: [08:46:42] <irogue_> I.. I don't know?
550: [08:46:45] <Pyhotk> neg simon_w|air, var_dump says data first!
551: [08:47:07] <simon_w|air> Pyhotk, not for a normal form action
552: [08:47:23] <simon_w|air> I think
553: [08:47:24] <irogue_> Pyhotk: was a good trip
554: [08:47:28] <Pyhotk> according to this yes
555: [08:47:30] <irogue_> Pyhotk: fucking 3G
556: [08:47:34] <Pyhotk> :<
557: [08:47:45] <Pyhotk> irogue_: ha, exactly as I thought then
558: [08:47:56] <Pyhotk> [09:38] <Pyhotk> irogue_: so is there some kind of gay signal that I'm oblivious to?
559: [08:48:12] <Pyhotk> Like masons and their secret handshake
560: [08:48:35] <irogue_> oh, there's a few, but I don't do any of them. I'm a proper sekretgay
561: [08:49:01] <simon_w|air> Pyhotk, ah yes, data's first.
562: [08:49:35] <irogue_> brb dairy tiem
563: [08:49:40] <irogue_> require chocolate
564: [08:49:44] <Pyhotk> irogue_: I was at this party right, having a good time, chatting with some bloke... then suddenly he was stroking the back of my neck... :<
565: [08:49:56] <Pyhotk> I think his gaydar needs adjusting
566: [08:49:57] <irogue_> fun
567: [08:50:06] <irogue_> i love a good neck-stroking
568: [08:50:10] <Pyhotk> lol
569: [08:50:17] <irogue_> it feels good
570: [08:50:20] <Pyhotk> the bit below which head are we talking about?
571: [08:50:31] * cloudseer has joined #silverstripe
572: [08:50:40] * svandragt quit (Quit: Page closed)
573: [08:50:45] * cloudseer is now known as svandragt
574: [08:51:03] <irogue_> Pyhotk: perhaps he's like me and prefers the challenge
575: [08:51:32] <Pyhotk> lol irogue_. Well he certainly fit more into your category of being gay because he likes dudes, rather than because he was a little bitch.
576: [08:51:39] <irogue_> lol
577: [08:51:43] <irogue_> damn bitches
578: [08:51:53] <Pyhotk> I was surprised.
579: [08:52:03] <Pyhotk> and awkward.
580: [08:52:16] <Pyhotk> I ran over to my gf (about 2m away).
581: [08:52:18] <Pyhotk> lol
582: [08:52:29] * svandragt quit (Client Quit)
583: [08:52:37] <Pyhotk> I dont' think he quite understood that we were together
584: [08:52:38] * cloudseer has joined #silverstripe
585: [08:52:44] * cloudseer is now known as svandragt
586: [08:53:05] <Pyhotk> just wondering if there's some kind of secret gay message I accidentally gave him without knowing it
587: [08:53:14] <svandragt> finally on a proper irc client
588: [08:53:28] <Pyhotk> Welcome to 1983
589: [08:54:16] <Pyhotk> xD
590: [08:54:33] <daslicht> :D
591: [08:54:47] <svandragt> Not impressed with 1983 but it's better than telnet bbs
592: [08:55:11] <Pyhotk> Indeed. Live real time chat!
593: [08:55:16] <Pyhotk> wows!
594: [08:56:24] <Pyhotk> much real! such time! very chat! wow!
595: [08:58:32] <svandragt> The venn diagram of IRC client developers and Interface designers is non-overlapping.
596: [09:00:06] * Shrike_Finland quit (Quit: Leaving.)
597: [09:00:37] * irogue_ is quite the fan of Textual
598: [09:01:18] <svandragt> "it's really essential to show a network meter in the default interface and lets give it 4 visualisation options"
599: [09:01:43] * svandragt has left #silverstripe
600: [09:01:56] * svandragt has joined #silverstripe
601: [09:02:22] <svandragt> let's make the close the tab button at the end of the tab bar so it looks like a close tab bar button :P
602: [09:03:23] <irogue_> I wish IRC was more like Flowdock
603: [09:03:41] <irogue_> with its threading concept
604: [09:04:49] <svandragt> I guess there are too many ways to use IRC for it to be good any one thing.
605: [09:08:10] <irogue_> https://d2cxspbh1aoie1.cloudfront.net/assets/nocturn/features/conversation-threads-72de28bb785d060a4800666b0419f539.png
606: [09:08:16] <irogue_> this shit right here is what i want IRC to have
607: [09:08:41] <svandragt> I'd click on the link but xchat requires you to click right click and then open it like an animal.
608: [09:09:08] <daslicht> I am fine with limechat
609: [09:09:44] <daslicht> https://www.dropbox.com/s/7pv7eqxfqdcrxqg/Screenshot%202014-06-19%2011.09.41.png
610: [09:09:47] <daslicht> :D
611: [09:10:09] <Pyhotk> dafuq is flowdeck?
612: [09:10:55] <svandragt> daslicht: That's to mac UI as xchat is to windows UI :P
613: [09:11:07] <svandragt> flowdeck looks like hipchat?
614: [09:11:27] <Pyhotk> looks like anything that had threads ever
615: [09:11:34] <Pyhotk> bbs
616: [09:11:35] <Pyhotk> forums
617: [09:11:42] <daslicht> xchat is also availabel for osx no?
618: [09:11:48] <ss23> irogue_: Look, it does
619: [09:11:48] <ss23> :D
620: [09:12:00] <ss23> irogue_: You know which comment I replied to, rite? ^.^
621: [09:12:14] <svandragt> daslicht: this is what I'm dealing with hehe http://www.makeuseof.com/tag/top-7-free-irc-clients-windows-7/
622: [09:12:19] <irogue_> daslicht: yeah, but there are far better options on osx
623: [09:12:35] <daslicht> ah i see
624: [09:12:38] <Pyhotk> svandragt: long story short, there are no good irc clients at all excepting xchat.
625: [09:12:38] <irogue_> using xchat on osx is like using safari on windows
626: [09:12:43] <daslicht> hehe
627: [09:12:50] <Pyhotk> but even then it's not so amazing
628: [09:12:59] <irogue_> ss23: wait what are you talking about? i'm list
629: [09:13:01] <irogue_> *lost
630: [09:13:06] <ss23> lol
631: [09:13:07] <ss23> liar!
632: [09:13:09] <svandragt> instantbird is reasonable from UI but it is not very good at IRC
633: [09:13:19] <Pyhotk> mirc is a lolfest
634: [09:13:36] <Pyhotk> xchat is payfor on windows and a pain in the arse to find a decent free compiled version
635: [09:13:42] <Pyhotk> hydrairc is lolwut
636: [09:13:49] <Pyhotk> bloat and no ssl support
637: [09:14:02] <Pyhotk> kvirc is horrible to use
638: [09:14:15] <Pyhotk> netchat I've not tried but looks rubbish
639: [09:14:32] <Pyhotk> quassel is the ultimate in OVERENGINEER ALL THE THINGS
640: [09:14:42] <Pyhotk> make it as confusing as possilbe to do the one thing it's built for
641: [09:14:56] <Pyhotk> thrash looks more shit than netchat
642: [09:15:51] <svandragt> Pyhotk: http://www.silverex.org/ xchat compiled for windows
643: [09:15:56] <Pyhotk> there is dxirc, it's simplistic and it works. But its UI is... basic and it doesn't save settings.
644: [09:16:14] <Pyhotk> so what it basically comes down to is use xchat or go home.
645: [09:16:20] <Pyhotk> irssi
646: [09:16:30] <svandragt> "Pidgin for IRC... HELL NO, Telnet is better for IRC client than Pidgin. " lol
647: [09:16:47] <Pyhotk> lol. I've used pidgin. Not ideal, but not super terrible.
648: [09:16:47] <irogue_> i bought an icecream
649: [09:16:50] <irogue_> and eated it
650: [09:16:52] <Pyhotk> nice!
651: [09:16:53] <irogue_> now i want more :(
652: [09:16:56] <Pyhotk> I want an ice cream :<
653: [09:16:59] <Pyhotk> but they're all shit here.
654: [09:17:09] <irogue_> i had a memphis meltdown big choc brownie
655: [09:17:10] <svandragt> aha CIRC
656: [09:18:54] <svandragt> that looks decent
657: [09:20:05] <svandragt> brb
658: [09:20:09] * svandragt quit (Quit: Leaving)
659: [09:21:21] * svandragt has joined #silverstripe
660: [09:22:01] <svandragt> wow an irc client without settings
661: [09:22:19] * irogue_ quit (Ping timeout: 272 seconds)
662: [09:23:08] * irogue_ has joined #silverstripe
663: [09:23:45] * UncleChe_ has joined #silverstripe
664: [09:27:13] <irogue_> TIL when plugged into computer USB port and in wireless hotspot mode, my phone can't charge fast enough to not go flat
665: [09:28:00] <simon_w|air> On Tuesday, I learn that plugging my phone into the USB hub my keyboard and mouse are in means my mouse and keyboard don't get enough power to work.
666: [09:28:13] <irogue_> lol
667: [09:28:19] <irogue_> non-powered USB hubs are shit
668: [09:28:48] * svandragt quit (Remote host closed the connection)
669: [09:29:22] * svandragt has joined #silverstripe
670: [09:32:14] * caamic30 has joined #silverstripe
671: [09:32:25] <svandragt> Pyhotk is right
672: [09:33:27] <caamic30> hello guys, how to get the gridfield of a certain dataobject in the model admin?
673: [09:34:05] * micmania1 has joined #silverstripe
674: [09:34:16] <caamic30> I need to override the default gridfield assigned by the modeladmin
675: [09:36:19] <micmania1> caamic30: Create an Extension for ModelAdmin and hook in to updateEditForm to replace the GridField.
676: [09:36:22] <micmania1> http://doc.silverstripe.org/framework/en/reference/dataextension
677: [09:38:00] <Pyhotk> svandragt: I'm right?
678: [09:38:45] <svandragt> Pyhotk, xchat or go home
679: [09:38:54] <Pyhotk> mmhmm
680: [09:39:20] <Pyhotk> and by home I obviously mean irssi, yaaic or webchat.freenode.net if you're really desparate
681: [09:39:44] <ss23> Woah, client emailed me being all "Hi, we are doing performance reviews, want to comment on my interactions with you?"
682: [09:39:53] <Pyhotk> hahaha
683: [09:39:59] <Pyhotk> YEAH YOU'RE SHIT
684: [09:40:01] <Pyhotk> xD
685: [09:40:06] <Pyhotk> fuck his review, just coz
686: [09:40:16] <ss23> XD
687: [09:43:33] <irogue_> ugh hotel wifi is always SO BAD
688: [09:43:33] <irogue_> honestly makes me want to run a hotel just so i could be the one hotel with fucking awesome wifi
689: [09:45:04] <simon_w|air> The hotel Facebook put us up in had fairly decent wifi
690: [09:46:31] * Tanger quit (Quit: Tanger)
691: [09:47:03] <ss23> what the fuck is a funny ordie
692: [09:47:06] <ss23> some kind of dog?
693: [09:47:23] * daslicht quit ()
694: [09:47:24] <irogue_> simon_w|air: what's the bet facebook run it for them :P
695: [09:47:36] <simon_w|air> irogue_, they don't :p
696: [09:49:41] <irogue_> fuuu
697: [09:49:50] <irogue_> i'm having difficulty browsing trademe on this wifi
698: [09:49:53] <Pyhotk> why are you on the bazillion dollar a meg wifis?
699: [09:50:32] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
700: [09:50:39] <Pyhotk> PHP Fatal error: Call to undefined method GridFieldDataColumns::setForm() in framework/forms/FieldList.php on line 436
701: [09:50:40] <irogue_> Pyhotk: get some free per week as i'm a 'corporate guest' or someshit
702: [09:50:41] <Pyhotk> rage.
703: [09:50:51] <Pyhotk> irogue_: hahahah, rude.
704: [09:51:01] * Shrike_Finland has joined #silverstripe
705: [09:51:22] <irogue_> Pyhotk: and my phone went flat while i was tethering
706: [09:51:22] <Pyhotk> dafuq is gridfield even trying to do, and why no on screen error with nice tracestack?
707: [09:51:26] * Shrike_Finland quit (Client Quit)
708: [09:51:34] <Pyhotk> you can't tether and charge irogue_ ?
709: [09:51:51] <irogue_> Pyhotk: apparently the tethering draws more powers than laptop gives out
710: [09:52:00] <irogue_> hmmm
711: [09:52:50] <Pyhotk> irogue_: but surely you can plug it in and charge and tether too?
712: [09:52:55] * irogue_ wonders if laptop puts usb in some kindof low power mode when laptop itself isn't plugged in
713: [09:52:57] <Pyhotk> or you only have usb charger/
714: [09:53:05] <Pyhotk> irogue_: is normal, yes.
715: [09:53:17] <Pyhotk> how much though, dunno.
716: [09:53:37] <simon_w|air> irogue_, turn the phone's screen off?
717: [09:54:05] <Pyhotk> can you not adhoc wifi point and do wireless tether?
718: [09:54:13] <irogue_> only got usb charger
719: [09:54:14] <irogue_> Pyhotk: it was
720: [09:54:18] <Pyhotk> o
721: [09:54:21] <Pyhotk> lol guts
722: [09:54:26] <Pyhotk> get a wall usb thing
723: [09:54:36] <Pyhotk> and/or powered hub
724: [09:54:49] <irogue_> simon_w|air: yep, it was off. but it was at 4% when i started, so even if the drain was just slightly more than the charge.....
725: [09:55:15] * irogue_ plugs in laptop to see if that makes a difference
726: [09:55:42] <Pyhotk> so I thought I'd give bootstrap a go
727: [09:55:46] <irogue_> "Charging, 0%"
728: [09:55:48] <Pyhotk> seems like ... idk.
729: [09:55:50] <irogue_> jesus it really did get flat
730: [09:55:57] <Pyhotk> foundation, bootstrap... not sure which is easier.
731: [09:56:02] <Pyhotk> bootstrap docs are shit.
732: [09:56:24] * phillprice has joined #silverstripe
733: [09:56:53] <ocm> irogue, don't you have a powered usb 3.0 port? those work mostly fine for me for charging/tethering
734: [09:57:07] <phillprice> Morning - I have object a which has a Has_one to object b b has a datetime, how do I sort a list of a by b's date?
735: [09:57:22] <Pyhotk> ocm: depends on how much phone is drawing though
736: [09:57:31] <Pyhotk> drawering
737: [09:57:38] <Pyhotk> drauering
738: [09:57:41] <irogue_> ocm: is macbook air. generally macs support 2A on USB, due to iPad being high-draw
739: [09:57:44] <Pyhotk> i dont even englands
740: [09:57:55] <irogue_> but i'm wondering if it dropped down the usual 500mA while on battery or something
741: [09:58:17] <Pyhotk> irogue_: seems likely. ipad only just breaks even when plugged into normal desktop
742: [09:59:05] <irogue_> yeah if i plug ipad into my desktop i just get the ol' "Not charging"
743: [09:59:10] <irogue_> even in the USB3 port
744: [09:59:58] <irogue_> hmm, hotel wifi seems better now, wonder if plugging it in also turned up the wifi juice
745: [10:00:08] <Pyhotk> seems likely
746: [10:00:25] <Pyhotk> irogue_: ours would charge, but only barely.
747: [10:00:39] <irogue_> yeah, my ipad 2 would *just* charge
748: [10:00:41] <Pyhotk> screen off not in use it would take most the day, if you were using it would only just not go flatter
749: [10:00:44] <ocm> pyhotk, ofcourse it depends on the phone. Though my powerslurping xperiaZ works fine
750: [10:01:02] <ocm> even while debugging mobile stuff through usb, tethering and charging
751: [10:01:24] <Pyhotk> so I found out that tunderbolt is actually just a mild deviation from the PCIe standard.
752: [10:01:45] <Pyhotk> that's kinda cool
753: [10:02:53] <Pyhotk> Fuck gridfield you're full of lies. "just requires an ss_list"
754: [10:02:53] <Pyhotk> LIES
755: [10:03:09] <ocm> is it normal for GridFieldBulkEditingTools to not work on a ModelAdmin extention?
756: [10:03:14] <Pyhotk> expects all objects in list to be dataobject, expects list to be datalist.
757: [10:03:53] <Pyhotk> ocm: probably.
758: [10:03:56] <Pyhotk> idk.
759: [10:04:31] <ocm> me neither
760: [10:04:40] <ocm> however, this is not the bulkeditintool I am looking for
761: [10:04:41] <irogue_> Pyhotk: yep, it's really just external pcie
762: [10:04:43] <ocm> since it shows none
763: [10:04:45] <irogue_> thats why so awesome
764: [10:04:53] <Pyhotk> irogue_: not really. but nearly.
765: [10:04:58] <irogue_> and, contrary to popular belief, its not an Apple thing
766: [10:05:08] <Pyhotk> it's awesome though yes, except that it's about 4x slower.
767: [10:05:15] <irogue_> its Intel, apple have just been the only people to implement it for some reason
768: [10:05:21] <Pyhotk> irogue_: yesh. just htose apple bastards stole it.
769: [10:05:29] <Pyhotk> almost literally. Intel sued.
770: [10:05:55] <Pyhotk> irogue_: I think they have some kind of rights agreement, and/or it's f'n expensive.
771: [10:06:08] <Pyhotk> apple were complicit in its development iirc
772: [10:06:19] <Pyhotk> they didn't really contribute, but gave feedback and tested, etc.
773: [10:06:20] <irogue_> Pyhotk: well its 1x PCI-e
774: [10:06:20] <irogue_> Pyhotk: that was just weird tho
775: [10:06:21] <Pyhotk> at end of dev cycle
776: [10:06:27] <Pyhotk> irogue_: 2x iirc
777: [10:06:28] <irogue_> intel had their own name for it
778: [10:06:31] <irogue_> wouldnt license it to apple
779: [10:06:39] <irogue_> so apple made up their own name, Thunderbolt
780: [10:06:44] <irogue_> and then intel got upset and demanded they hand it over
781: [10:07:01] <Pyhotk> well that's kinda like me saying I build silverstripe.
782: [10:07:12] <Pyhotk> it's bsd and all, but that's a bit shit.
783: [10:07:16] <Pyhotk> no credit, etc.
784: [10:07:26] <irogue_> but intel wouldn't *let* them use the correct name
785: [10:07:28] <irogue_> so no real choice
786: [10:07:32] <Pyhotk> meh
787: [10:07:39] <irogue_> weird IP bullshit
788: [10:07:40] <Pyhotk> apple shouldn't be such twats then
789: [10:07:41] <Pyhotk> :P
790: [10:07:48] <ss23> FUCK PATENTS
791: [10:07:54] <Pyhotk> maybe intel would have been all 'well ok then'
792: [10:07:57] <irogue_> either way, apple are using it and i wish everyone else would too
793: [10:07:58] <Pyhotk> but yes, what ss23 said.
794: [10:08:06] <Pyhotk> irogue_: me too.
795: [10:08:08] <irogue_> asus have just recently released a mobo with it
796: [10:08:11] <ss23> Everyone needs to get really high and relax and share food and stuff and ideas and never want things
797: [10:08:13] <irogue_> but its their super high end one
798: [10:08:18] <Pyhotk> wtb: firewire usb 3.2 hub
799: [10:08:27] <Pyhotk> err
800: [10:08:29] <Pyhotk> thunderbolt!
801: [10:08:31] <Pyhotk> usb hub
802: [10:08:32] <irogue_> lol
803: [10:08:33] <Pyhotk> xD
804: [10:08:36] <irogue_> a thunderbolt usb hub
805: [10:08:40] <Pyhotk> mmm
806: [10:08:41] <irogue_> could do SO MANY USBS
807: [10:08:43] <Pyhotk> ALL THE JUICES
808: [10:08:50] <ss23> speaking of, ima buy a new PC
809: [10:09:05] <irogue_> [22:08:11] <@ss23> Everyone needs to get really high and relax and share food and stuff and ideas and never want things
810: [10:09:06] <Pyhotk> fun fact: PCIe was originally fibreoptic.
811: [10:09:08] <Pyhotk> no power.
812: [10:09:32] <ss23> went to play The Witcher 2 the other day, came out 3 years ago and I can't play it on minimum graphics
813: [10:09:33] <Pyhotk> got changed to copper for power conveayances. THEN PERIPHERALS DEMAND OWN POWER ANYWAY
814: [10:09:37] <irogue_> ss23: if everyone in the IT world just got high all the time, there totally wouldnt be software patents
815: [10:09:50] <ss23> No way!
816: [10:09:55] <ss23> It's the lawyers who give the patents
817: [10:10:04] <irogue_> including IT company lawyers :P
818: [10:10:05] <Pyhotk> mmm.
819: [10:10:07] <Pyhotk> kill all the lawyers
820: [10:10:09] <ss23> lol
821: [10:10:18] <Pyhotk> that's what this world needs.
822: [10:10:19] <irogue_> ss23: wow that has got to be a badly written game
823: [10:10:20] <Pyhotk> less law.
824: [10:10:24] <irogue_> or your computer just really sucks
825: [10:10:29] <Pyhotk> not to the point of lawlessness.
826: [10:10:32] <Pyhotk> but... just less.
827: [10:10:39] <ss23> irogue_: You know I have a Pentium, right?
828: [10:10:42] <irogue_> law... less... ness
829: [10:10:57] <ss23> I only upgraded from my 2003 Athlon a year ago or so
830: [10:10:57] <Pyhotk> irogue_: lawlessness comes in an iron breastplate
831: [10:11:08] <ss23> Can you star messages in gmail now? I need to remind myself to reply to something later but idk how
832: [10:11:15] <irogue_> ss23: yes
833: [10:11:32] <Pyhotk> ss23: since about 2004, when gmail was first introduced, yes.
834: [10:11:37] <ss23> where do I do it
835: [10:11:39] <ss23> ;_;
836: [10:11:42] <ss23> I've got the email open
837: [10:11:45] <ss23> I see no stars
838: [10:11:48] <Pyhotk> WITH THE FUCKING GREAT STAR BUTTON
839: [10:11:49] <Pyhotk> top left
840: [10:11:52] * phillprice quit (Ping timeout: 246 seconds)
841: [10:11:54] <Pyhotk> err, other left.
842: [10:12:08] <irogue_> left in the inbox, topright in the message
843: [10:12:10] <irogue_> weirdly
844: [10:12:16] <Pyhotk> mmm. weirdly
845: [10:12:24] <Pyhotk> google UI devs again
846: [10:12:27] <Pyhotk> CONSISTENCY ++
847: [10:12:39] <Pyhotk> much usability, such testing! wow!
848: [10:12:52] <irogue_> oh thats right
849: [10:12:56] <irogue_> new tester starts on monday
850: [10:13:07] <Pyhotk> OMG I'm so excited.
851: [10:13:13] <Pyhotk> missus is going away this weekend
852: [10:13:30] <Pyhotk> I can finally get some time to sit down and code like I've been tryin gto get some time for for about 2 weeks now
853: [10:13:33] * R\w\C_ has joined #silverstripe
854: [10:13:53] <Pyhotk> omg, and finally got my own internets at home!
855: [10:13:56] <Pyhotk> unlimited! JOY
856: [10:14:03] <irogue_> lol
857: [10:15:12] * R\w\C_ is now known as R\w\C
858: [10:15:17] * R\w\C quit (Changing host)
859: [10:15:17] * R\w\C has joined #silverstripe
860: [10:17:02] <ss23> THERE IS NO FUCKING STAR
861: [10:17:06] <ss23> oh wait
862: [10:17:07] <ss23> I see it
863: [10:17:09] <ss23> ty guis
864: [10:17:32] <irogue_> ss23: so, was talking about you today
865: [10:18:01] <irogue_> with le sam
866: [10:18:20] <ss23> oh
867: [10:18:21] <ss23> :S
868: [10:18:24] <irogue_> lol
869: [10:18:50] <irogue_> he said you are "quite a character"
870: [10:19:04] <irogue_> but very good at what you do
871: [10:20:17] <irogue_> you came up in the context of how silverstripe seems to just be basically hiring out of IRC these days
872: [10:20:54] <ss23> haha
873: [10:20:58] <ss23> quite a character!
874: [10:21:02] <ss23> I'm choosing to interpret that positivly :P
875: [10:21:21] <irogue_> lol
876: [10:21:25] <ss23> http://imgur.com/a/ug5kq Pictures from Japan!
877: [10:21:30] <Pyhotk> irogue_: well that's basically my plan when I get back to NZ right... xD
878: [10:21:31] <irogue_> i interpreted it as "a weirdo"
879: [10:21:35] <ss23> XD
880: [10:21:38] <irogue_> :P
881: [10:21:52] <Pyhotk> "oi sam, you know how I wanted that job 2 years ago... well I'm back now and I want a different position, but still, can has?"
882: [10:21:58] <irogue_> lol
883: [10:22:10] <ss23> wait
884: [10:22:11] <Pyhotk> irogue_: I was defined as "A character" at my old job
885: [10:22:14] <ss23> You are coming back to NZ? :O
886: [10:22:22] <Pyhotk> ss23: yeh, I'm only here for 2 years
887: [10:22:24] <irogue_> Pyhotk: lets be honest, you are :P
888: [10:22:32] <Pyhotk> visa dictates it
889: [10:22:35] <Pyhotk> irogue_: rly?
890: [10:22:42] <ss23> ah cool :O
891: [10:22:49] <Pyhotk> I'm just a bloke trying to make his way in this world to me.
892: [10:22:58] <ss23> Chrome is doing a really really shitty job on this imgur page, it's taking like 5 seconds after I scroll down to load an image
893: [10:23:01] <Pyhotk> everyone seems to find the antics I get up to amusing though... so IDK.
894: [10:23:01] <ss23> stupid preloading not loading bs
895: [10:23:26] <irogue_> ss23: trust me its worse on hotel wifi
896: [10:23:40] <ss23> I bleieve it! :P
897: [10:24:05] <irogue_> managed to load 4 pics since you linked
898: [10:24:29] <Pyhotk> ss23: where in Nihon were you?
899: [10:24:42] <ss23> Tokyo, Osaka, Kyoto
900: [10:25:12] <Pyhotk> wow, all the places :>
901: [10:25:15] <Pyhotk> shinkansen?
902: [10:25:19] <irogue_> spose i should go move my laundry from washer to dryer
903: [10:25:32] <Pyhotk> irogue_: I don't have that issue.
904: [10:25:46] <Pyhotk> machines over here do both in 1.
905: [10:25:50] <Pyhotk> weird, but it works.
906: [10:25:56] <ss23> obv, Pyhotk :D
907: [10:26:06] <ss23> Also, my friend seems to know how to take... pictures
908: [10:26:12] <ss23> http://i.imgur.com/7C9HH3x.jpg
909: [10:26:19] <Pyhotk> ss23: I like the one where you're taking the piss out of generic Japanese tourist in any other country having their photo taken.
910: [10:26:44] <Pyhotk> ss23: idgi
911: [10:26:55] <Pyhotk> (what you're referring to in that pic)
912: [10:27:00] <ss23> NOFIN
913: [10:27:06] <ss23> haha Pyhotk, yeah XD
914: [10:27:09] <ss23> Wasn't my idea to take it, but is lulz
915: [10:27:57] <Pyhotk> but why?
916: [10:28:00] <Pyhotk> because your face?
917: [10:28:23] <Pyhotk> oh, we're talking about different pics now
918: [10:28:25] <Pyhotk> gawd
919: [10:28:30] <Pyhotk> WAY TO CONFUSE BRO
920: [10:29:05] <irogue_> Pyhotk: these are big commercial machines, i <3 them
921: [10:29:12] <irogue_> when i am rich i will buy some for my house
922: [10:29:43] <Pyhotk> oic
923: [10:30:04] <Pyhotk> and a man maid to wear french maid outfit to do your dirty laundry for you?
924: [10:30:21] <ss23> please, a buttler!
925: [10:30:27] <Pyhotk> cool ss23, looks like you had good times.
926: [10:30:39] <Pyhotk> ss23: yeah one of them too, but they don't do washing.
927: [10:30:47] <Pyhotk> gosh
928: [10:30:57] <Pyhotk> when you're rich you have at least 3 servants. golly.
929: [10:31:01] <Pyhotk> maybe even 4!
930: [10:31:51] <Pyhotk> laundry & maybe general cleaner (maid), cook, butler
931: [10:31:54] <Pyhotk> maybe driver
932: [10:32:00] <Pyhotk> depends on how rich you are I ugess.
933: [10:34:54] <irogue_> i'd only be interested in having a butler if he was like the one from Fresh Prince or the one from Soap
934: [10:34:58] <Pyhotk> but when you're rich you obviously need as many people as you can around to be spontaneously amourous with.
935: [10:38:00] <simon_w|air> ss23, http://www.empirestripsback.com
936: [10:38:09] <simon_w|air> Totally safe for work. Open it there on a projector tomorrow
937: [10:38:19] <ss23> hahahaha
938: [10:38:24] <ss23> dammit, I didn't even notice the URL! XD
939: [10:39:27] <simon_w|air> So yeah, totally going to that
940: [10:46:40] <Pyhotk> gawd, so close. I've got a gridfield displaying!
941: [10:47:06] <Pyhotk> It's reporting the correct number of records (total), it's got headers
942: [10:47:08] <Pyhotk> but no rows :<
943: [10:49:35] <irogue_> Pyhotk: in normal scenarios, that means the canView requirement on the DataObject isn't met
944: [10:50:40] <Pyhotk> irogue_: class Wholeyfuckwhattahack extends Extension {public function canView(){return true;}} ArrayData: extensions: - Wholeyfuckwhattahack
945: [10:50:53] <irogue_> lol
946: [10:50:58] <Pyhotk> if it wasn't met then the count would (or at least should) be out too.
947: [10:51:04] <irogue_> nope
948: [10:51:07] <irogue_> count shows anyway
949: [10:51:08] <irogue_> lol
950: [10:51:10] * caamic30 has left #silverstripe
951: [10:51:12] <irogue_> it's... weird
952: [10:51:14] <Pyhotk> ie, 0/0 rather than 1-15/28
953: [10:51:18] <irogue_> nope
954: [10:51:19] <Pyhotk> irogue_: it's... fucked.
955: [10:51:29] <irogue_> it shows the correct number of rows
956: [10:51:31] <Pyhotk> but anyway
957: [10:51:47] <Pyhotk> but count is bung, yeh I noticed that in the code a couple of days ago iirc
958: [10:52:07] <irogue_> trust me, i had exactly that happen, and was... intrigued... to find out it was because of no canView, as I assumed no canView would mean no row count
959: [10:52:27] <Pyhotk> nah, no canView means big fuckoff error.
960: [10:52:46] <Pyhotk> canView == false, then yeh, as you describe :>
961: [10:54:29] * simon_w|air quit (Quit: This computer has gone to sleep)
962: [10:54:52] <Pyhotk> almost almost almost
963: [10:55:34] <Pyhotk> if(!$record->canView()) { die('dead');
964: [10:55:36] <Pyhotk> no death
965: [10:56:57] <Pyhotk> oh oh oh
966: [10:57:05] <irogue_> Pyhotk: well, yes, presumably when extending DataObject it's inheriting a canView false, so that's what i meant :P
967: [10:57:06] <Pyhotk> because fields named different to titles
968: [10:57:24] <Pyhotk> irogue_: nothing extends dataobject here.
969: [10:57:29] <irogue_> i know
970: [10:57:29] <Pyhotk> I'm not even touching the SS db
971: [10:57:29] <irogue_> lol
972: [10:57:37] <irogue_> just saying, thats what i meant by no canView
973: [10:57:41] <Pyhotk> yeh
974: [10:57:42] <irogue_> no canView in *my* class :P
975: [10:57:56] * R\w\C quit (Ping timeout: 240 seconds)
976: [10:58:04] <Pyhotk> yeh I figured it out, now I need to rembmer the syntax for defining a field :<
977: [10:58:12] <Pyhotk> it's... uhh...
978: [10:58:21] <Pyhotk> name, title?
979: [10:58:24] <Pyhotk> title => name?
980: [10:58:34] <Pyhotk> name => title, yeh
981: [10:59:14] <Pyhotk> YUS, WINNING
982: [10:59:21] * Pyhotk wins at gridfield.
983: [10:59:38] <Pyhotk> take that, assumptions about CMS interface and dataobject derivitives!
984: [11:00:02] <Pyhotk> An error occured while fetching data from the server Please try again later.
985: [11:00:07] <Pyhotk> lol, next page button failure :<
986: [11:01:36] * R\w\C has joined #silverstripe
987: [11:16:12] <marvanni> Any idea to add a FormAction to the SecurityAdmin Member EditForm?
988: [11:16:19] * Alfirin has joined #silverstripe
989: [11:17:11] <marvanni> There is a updateItemEditForm hook in GridFieldDetailForm, but when I add an extension to that, it will add the Button to all DetailForms?
990: [11:17:28] <Alfirin> What's the easiest way to change the default text in the search form button?
991: [11:19:06] <Pyhotk> Alfirin: don't use the default search form.
992: [11:19:30] <Pyhotk> or subclass it and replace with injector
993: [11:20:22] <Alfirin> Why?
994: [11:21:07] <Pyhotk> because that's the easiest way.
995: [11:23:05] <Alfirin> Fantastic.
996: [11:28:14] <Pyhotk> yeh, it sucks.
997: [11:28:26] <Pyhotk> but so does the default search on MySQL anyway.
998: [11:28:44] * gelignite has joined #silverstripe
999: [11:28:56] <Pyhotk> irogue_: how to githubs?
1000: [11:29:35] <Pyhotk> I don't have composer, but I need to hack the shits
1001: [11:29:42] <Pyhotk> git
1002: [11:33:52] * simon_w|air has joined #silverstripe
1003: [11:35:56] <irogue_> Pyhotk: wat u mean?
1004: [11:35:56] * violet-rpi_ has joined #silverstripe
1005: [11:36:21] <Pyhotk> git clone failures behind firewalls
1006: [11:36:59] <irogue_> oh
1007: [11:37:12] <irogue_> can you git via https instead?
1008: [11:37:14] <Alfirin> Well, how do I get it to show the magnifying glass it shows on the basic tutorial? I have to be able to do at least that
1009: [11:37:24] <Pyhotk> irogue_: orly? h-owl?
1010: [11:38:00] <irogue_> Pyhotk: https://github.com/silverstripe/silverstripe-framework the URL it shows by default there is HTTPS
1011: [11:38:04] <Pyhotk> Alfirin: use a different FormAction
1012: [11:38:07] <Pyhotk> or something
1013: [11:38:16] <Pyhotk> oic irogue_
1014: [11:38:38] <Pyhotk> pretty sure that's what I've used :<
1015: [11:38:48] <irogue_> Alfirin: http://doc.silverstripe.org/framework/en/tutorials/4-site-search#adding-the-search-form
1016: [11:39:00] <irogue_> that example is adding the search icon via the span
1017: [11:39:09] <irogue_> using an icon font
1018: [11:39:19] * violet-rpi quit (Ping timeout: 252 seconds)
1019: [11:39:40] <Alfirin> irogue_ that's what I have now, but it changed diddly squat
1020: [11:39:45] <Pyhotk> irogue_: yeh git did not exit cleanly (exit code 128)
1021: [11:40:50] * ARNHOE quit ()
1022: [11:41:16] <irogue_> Alfirin: is this in the simple theme?
1023: [11:41:27] * Shrike_Finland has joined #silverstripe
1024: [11:42:01] <Alfirin> No, it's my own, built on top of the simple theme
1025: [11:42:33] <irogue_> does it have the simple css files? cos the css to add that icon will be in there
1026: [11:44:11] <Pyhotk> and teh font
1027: [11:44:28] <irogue_> yeah
1028: [11:45:03] <Alfirin> I get that, but why isn't the letter L showing either? Isn't that what the span is for?
1029: [11:45:52] <Colin[pi]> ss23: PICS OR GTFO
1030: [11:46:26] <irogue_> Alfirin: depends if there's CSS to position it somewhere
1031: [11:46:41] <Colin[pi]> I'm out
1032: [11:46:43] * Colin[pi] quit ()
1033: [11:47:15] <irogue_> I should probably sleep too soon, almost midnight and I have to get up early to pack all my stuff in the morning
1034: [11:49:56] * krofek quit (Ping timeout: 240 seconds)
1035: [11:50:02] <Pyhotk> irogue_: you're finished at SS?
1036: [11:50:26] <irogue_> Pyhotk: nah i just check out of the hotel every weekend while i go to the tron :P
1037: [11:54:18] <Pyhotk> oh i c irogue_
1038: [11:54:22] <Pyhotk> how much is hotel pw?
1039: [11:54:32] <Pyhotk> must be more expensive than getting flat, no?
1040: [11:55:08] * spronk2 has joined #silverstripe
1041: [11:56:30] * hubertusanton has joined #silverstripe
1042: [11:56:45] * stripee has joined #silverstripe
1043: [11:58:15] <stripee> i have done as per the documentationThough while running tests , this error msg shows in the terminal....PHP Fatal error: Class 'SapphireTest' not found in /var/www/sstesting/framework/tests/MemoryLimitTest.php on line 7
1044: [11:58:19] * r3v3rb has joined #silverstripe
1045: [11:58:31] <r3v3rb> afternoon
1046: [11:58:38] <Pyhotk> Gidday
1047: [11:58:57] <r3v3rb> is this a bug in translatable: Catchable fatal error: Argument 1 passed to Translatable_Transformation::transformCheckboxField() must be an instance of CheckboxField, instance of CheckboxField_Readonly given, called in /Users/Sites/translatable/code/model/Translatable.php on line 1775 and defined in /Users/Sites/translatable/code/model/Translatable.php on line 1786
1048: [11:59:18] <r3v3rb> when trying to switch to the page settings tab with comments turned on…
1049: [12:00:12] * Shrike_Finland quit (Quit: Leaving.)
1050: [12:03:06] * krofek has joined #silverstripe
1051: [12:07:41] * simon_w|air quit (Quit: This computer has gone to sleep)
1052: [12:09:41] * Shrike_Finland has joined #silverstripe
1053: [12:13:54] * UndefinedOffset has joined #silverstripe
1054: [12:15:48] <irogue_> Pyhotk: yup
1055: [12:15:52] <irogue_> $530/wk
1056: [12:16:05] <irogue_> but getting a flat for 6wks wouldve been hard
1057: [12:16:28] <irogue_> but now i gotta look
1058: [12:21:40] <Pyhotk> irogue_: become permenant?
1059: [12:21:51] <irogue_> yup
1060: [12:22:34] <Pyhotk> niiice
1061: [12:22:42] <Pyhotk> _b
1062: [12:23:02] <Pyhotk> swipe striping all the things?
1063: [12:23:33] <Pyhotk> irogue_: congratulations :>
1064: [12:37:14] <Pyhotk> so looks like DataModel is simply a cache.
1065: [12:37:26] <Pyhotk> I've looked at it before and come to the same conclusion.
1066: [12:37:32] <Pyhotk> what do you think, kinglozzer, micmania1 ?
1067: [12:42:56] * irogue_ quit (Quit: Textual IRC Client: www.textualapp.com)
1068: [12:47:24] * r3v3rb quit (Quit: r3v3rb)
1069: [12:47:33] <micmania1> I think so. I looked at it the other day. I think it *may* be what caches the queries.
1070: [12:47:34] <Pyhotk> totally just wtf'd: http://api.silverstripe.org/3.1/source-class-GridFieldSortableHeader.html#246
1071: [12:48:00] <Pyhotk> micmania1: seems to be. Kinda makes sense because datalist is immutable, etc.
1072: [12:52:19] <Alfirin> micmania1: sorry about the false alarm with the blogger widgets, they work now for some reason
1073: [12:54:56] <kinglozzer> Pyhotk: Guess who wrote that
1074: [12:55:00] <kinglozzer> :D
1075: [12:55:11] <kinglozzer> Hahaha
1076: [13:02:44] <micmania1> hahaha https://github.com/silverstripe/silverstripe-framework/commit/a1a402224f51befa9ec7e5d49826b89b4f1e6694#diff-1f698a7de426a0e2fd2b9725613d41aeR238
1077: [13:03:02] * Shrike_Finland quit (Quit: Leaving.)
1078: [13:04:37] * catcher has joined #silverstripe
1079: [13:06:34] <Pyhotk> kinglozzer: you cnutter!
1080: [13:06:58] <Pyhotk> my arraylist no sorts :<
1081: [13:07:59] * Shrike_Finland has joined #silverstripe
1082: [13:08:12] <Pyhotk> but then again... http://api.silverstripe.org/3.1/source-class-ArrayList.html#363
1083: [13:08:13] <Pyhotk> idk
1084: [13:10:14] <kinglozzer> Pyhotk: Oops, soz :(
1085: [13:16:25] * UncleChe_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1086: [13:17:08] <kinglozzer> Wait, Pyhotk, parseSortColumn should pick it up but it's not in 3.1.5
1087: [13:17:43] * Alfirin quit (Ping timeout: 246 seconds)
1088: [13:18:08] * Shrike_Finland quit (Quit: Leaving.)
1089: [13:20:08] * Shrike_Finland has joined #silverstripe
1090: [13:20:41] <Pyhotk> kinglozzer: parseSortColumn should, yeh. hence second link
1091: [13:20:42] <Pyhotk> but...
1092: [13:20:43] <Pyhotk> yeh
1093: [13:20:44] <Pyhotk> idk
1094: [13:23:16] <Pyhotk> kinglozzer: oh, you're right! My install doesn't have that function
1095: [13:24:22] * stripee quit (Ping timeout: 246 seconds)
1096: [13:25:36] <Pyhotk> But yeh. Open source right. ie. I like how instead of making the better judgement and taking away the quotes, someone hacked a down flow class to make it accomodate them.
1097: [13:25:55] * Sj0hn has joined #silverstripe
1098: [13:26:00] <ocm> is it possible to extend ModelAdmin and add some $db cmsfields on there?
1099: [13:26:12] <Pyhotk> No, modeladmin isn't a model.
1100: [13:26:16] <Sj0hn> Hey ya'll
1101: [13:26:24] <Pyhotk> Hi y'oo.
1102: [13:26:37] <Sj0hn> What's up yo?
1103: [13:26:47] <Pyhotk> GrudFuldz
1104: [13:27:04] <ocm> pyhotk, I thought so :)
1105: [13:27:09] <ocm> anyway to force some cmsfields in there?
1106: [13:27:23] <Pyhotk> ocm: yeh, modify the gridfield it uses.
1107: [13:27:53] <ocm> I might try that
1108: [13:28:35] <Pyhotk> hook the detailformprovider and define fields.
1109: [13:28:39] * Azure quit (Quit: My MBP went to sleep.)
1110: [13:28:46] <Pyhotk> by default it uses getcmsfields of the model
1111: [13:28:48] <Pyhotk> doesn't have to.
1112: [13:29:18] <ocm> thanks :) I will have a look at that
1113: [13:29:35] <ocm> just want two fields in there, for some description to be outputted in the template above the elements
1114: [13:29:45] <ocm> so all content is at one place
1115: [13:30:06] <Pyhotk> yeah, so get the models fieldlist, then inject two descriptions before the desired fields, return the fieldlist, job done.
1116: [13:30:18] <Pyhotk> ie, just like any other getCMSFields function you might right (eg on a Page)
1117: [13:30:28] <Sj0hn> I've installed the userform module. But when i try to add a field (under the "Form" tab) it does nothing. Any1 experienced this before?
1118: [13:30:39] <Pyhotk> yeh, ?flush
1119: [13:31:36] <Sj0hn> uhm..i thought i tried that
1120: [13:31:44] <Sj0hn> hold on it give me server errors now..
1121: [13:31:52] <Pyhotk> yup
1122: [13:31:54] <Pyhotk> fix them.
1123: [13:32:02] * Fisix_AIX has joined #silverstripe
1124: [13:32:15] <Pyhotk> Sometimes it's not about knowing what is wrong, it's about knowing where to look :>
1125: [13:35:35] <Sj0hn> Thats counts for like 80% of my solving :p
1126: [13:44:42] <svandragt> sounds like a stupid question but I can't find the solution in SiteTree, in a .ss template how do I list the name of the Creator of the page (author of the article)?
1127: [13:46:21] <svandragt> looks like I have to roll my own solution?
1128: [13:48:42] <Pyhotk> omg http://php.net/array_multisort does my headin
1129: [13:48:47] <Pyhotk> head in*
1130: [13:49:01] <Pyhotk> especially how interchangable the arguments are.
1131: [13:49:25] <Pyhotk> docs say array, direction or type, type or direction
1132: [13:49:44] <svandragt> Pyhotk: the array functions based on C use the argument order of C and the functions based on something else use something else can't fully remember :P
1133: [13:49:52] <Pyhotk> but SS is passing in columns, directions, array
1134: [13:50:09] <Pyhotk> yeh, php was originally a loose wrapper around C
1135: [13:50:18] <Pyhotk> like cgi I guess
1136: [13:51:03] <Pyhotk> but still
1137: [13:51:08] <Pyhotk> this function is mind boggling
1138: [13:52:27] <Pyhotk> and this helps none http://www.gnu.org/software/libc/manual/html_node/Search_002fSort-Example.html#Search_002fSort-Example
1139: [13:52:53] <svandragt> time for a php wrapper
1140: [13:53:40] <Pyhotk> nah, just go python and don't look back.
1141: [13:54:00] <Pyhotk> because fuck you ruby
1142: [13:54:00] <Pyhotk> xD
1143: [13:54:01] <svandragt> Pyhotk: please reimplement silverstripe
1144: [13:54:01] <svandragt> then hehe
1145: [13:54:07] <Pyhotk> svandragt: neg.
1146: [13:54:28] <Pyhotk> they call that Django. Sapphire (SS Framework) was modeled on it somewhat, along with ruby on rails
1147: [13:55:02] <svandragt> Pyhotk: I was looking at Django, I can't believe it doesn't change the database if you change the model
1148: [13:55:09] <Pyhotk> hence active record (anti*)pattern, etc (*depending on who you listen to)
1149: [13:55:21] <Pyhotk> svandragt: neither does SS. You have to build first.
1150: [13:55:39] <svandragt> Pyhotk: no build for django though, its a manual process? or am I mistaken
1151: [13:55:43] <Pyhotk> and Django does, but it's all run from command line from what I understand (I admit I've not actually used it myself)
1152: [13:55:52] <Pyhotk> yeh it's manual from what I've heard.
1153: [13:56:49] <Pyhotk> anyway, I think what you really said was "rebuild SS in C and run it as CGI"
1154: [13:56:50] <Pyhotk> xD
1155: [13:56:58] <Pyhotk> built it as a PHP module like that other weirdo cms
1156: [13:57:06] <Pyhotk> so you just install module, and boom.
1157: [13:57:52] <Pyhotk> just switch to a jit and jod done these days though if you're worried about speed.
1158: [13:58:00] <Pyhotk> HHVM or whatever.
1159: [13:58:12] <Pyhotk> Being about the only choice for php from what I kow.
1160: [13:58:14] <Pyhotk> know*
1161: [13:58:16] <svandragt> yeah should look at that
1162: [14:00:09] <Pyhotk> eh
1163: [14:01:12] <Pyhotk> I'm far more interested in application design than some chump having a whinge because it takes an extra 200ms to download a page on his ibone.
1164: [14:01:58] <Pyhotk> If people were really worried about that kinda shit then they should be looking at making sites look good and perform well with minimal RESOURCE usage, not minimal bandwidth usage.
1165: [14:02:11] <Sj0hn> @Pyhotk solved the server errors
1166: [14:02:18] <Pyhotk> about the entire modern web runs like absolute shit on my home computer, let alone the tablet.
1167: [14:02:18] <Sj0hn> but still gives me nothing
1168: [14:02:35] <Pyhotk> SOOOO much javascript doing all kinds of shit it bogs the memory and stalls all the things :<
1169: [14:02:42] <Pyhotk> but anyway.
1170: [14:02:49] <Pyhotk> Sj0hn: didn't solve them all then!
1171: [14:03:01] <Sj0hn> well it isnt a server error
1172: [14:03:07] <Sj0hn> that was just because i didnt dev build
1173: [14:03:09] <Pyhotk> also, perhaps if you got master, you could try a version more suited to your install version
1174: [14:03:12] <Sj0hn> some other stuff
1175: [14:03:26] <Pyhotk> Sj0hn: yeh, just because an error isn't showing doesn't necessarially mean there isn't one
1176: [14:03:27] <Pyhotk> :>
1177: [14:03:34] <Sj0hn> ok :p
1178: [14:03:43] <Sj0hn> ill gues ill try a different version
1179: [14:03:44] <Pyhotk> just that there's no compilation or runtime errors to throw out
1180: [14:03:48] <Pyhotk> probably easiest
1181: [14:06:25] <Pyhotk> kinglozzer: gawd, I feel so dirty hacking core :<
1182: [14:06:50] <kinglozzer> Pyhotk: Run 3.1.x@dev instead :D
1183: [14:07:04] <Pyhotk> no composer
1184: [14:07:11] <Pyhotk> I'm a tarballs kinda guy
1185: [14:07:14] <Pyhotk> that's how I roll.
1186: [14:07:57] <Pyhotk> I mean, yeah I could do that I suppose, but then I'd have to configure git to run over http, and the git version is old so it probably doesn't support it, so I'd have to update the server, and alllllll the gawd not worth it.
1187: [14:08:22] <Pyhotk> and I'm not running master without version control :<
1188: [14:08:33] <Pyhotk> 3.1.5 it is for now. le sigh.
1189: [14:08:46] <Pyhotk> although, problem will still be autosolved next update, so no issue I guess.
1190: [14:15:15] <catcher> Anyone know off-hand what happens on a SiteTree 'save' action?
1191: [14:15:34] <catcher> write & publish to 'staged' stage?
1192: [14:16:39] <Pyhotk> it's all unclear to me.
1193: [14:17:41] * Fisix_AIX quit (Quit: Leaving)
1194: [14:18:49] <catcher> I need to re-save all pages in my CMS in a task.
1195: [14:19:26] <catcher> And it appears there's not atomic 'save' action on SiteTree.
1196: [14:20:08] <Sj0hn> userforms 2.0.3 nothing 2.0.2 nothing -.-
1197: [14:20:15] <Pyhotk> yeh, it is confusing and sucks catcher
1198: [14:20:29] <catcher> looks like maybe $record->writeWithoutVersion()
1199: [14:20:55] <catcher> +write
1200: [14:21:34] <catcher> And yes.
1201: [14:22:52] <catcher> Nope, that didn't work.
1202: [14:23:22] * catcher resists temptation to click the 'save' button on 100 pages
1203: [14:26:26] <catcher> This also explains why my importer horribly broke things; A couple really important actions didn't happen on write & publish.
1204: [14:27:28] <ocm> Pyhotk, any chance you know how I can link the cmsfield in a ModelAdmin to the corresponding field? The field is set in siteconfig (since modeladmin doesnt provide static values)
1205: [14:28:22] <catcher> Ahh, it's because all the other data comes from the form
1206: [14:35:28] <Pyhotk> ocm: can you rephrase please? I dont' understand.
1207: [14:36:12] <Sj0hn> @Pyhotk if no other versions work aswell :p what would one suggest?
1208: [14:38:13] <Pyhotk> I would suggest that you broke something :<
1209: [14:38:30] <catcher> possible to /dev/build in a task?
1210: [14:38:31] <Pyhotk> or your version of SS is ... too bleeding edge ?
1211: [14:38:31] <Pyhotk> idk
1212: [14:38:41] <Pyhotk> catcher: yeh, course.
1213: [14:38:44] <Pyhotk> well, define 'task'?
1214: [14:38:52] <Pyhotk> via cli, sure.
1215: [14:39:10] <Pyhotk> from within other SS code... well probably.
1216: [14:39:10] <catcher> Pyhotk, exec sake?
1217: [14:39:17] <Pyhotk> sake dev build
1218: [14:39:20] <Pyhotk> mm
1219: [14:39:22] <catcher> from within run
1220: [14:39:27] <Pyhotk> or something like that
1221: [14:39:39] <Pyhotk> idk, I don't much server because carefactor minimal.
1222: [14:39:40] <ocm> I have 2 fields which I want to be available to edit inside my ModelAdmin, however these fields are setup in class CustomSiteConfig extends DataExtension { private static $db = array( 'field1' => 'varchar', 'field2' -> 'varchar'); };
1223: [14:39:46] <catcher> task -> run(){ DB:: drop tables; dev/build; do stuff }
1224: [14:40:11] <Pyhotk> ocm: and...?
1225: [14:40:16] <ocm> the fields in my modeladmin are there, though how to connect them with field 1 and field 2?
1226: [14:40:31] <Pyhotk> name them properly.
1227: [14:40:56] <Pyhotk> catcher: nfi, but probably
1228: [14:41:00] <ocm> like how?
1229: [14:41:11] <Pyhotk> ocm: like however you named them in your extension
1230: [14:41:18] <Pyhotk> exactly
1231: [14:41:27] <Pyhotk> ocm: what is your model admin managing?
1232: [14:41:35] <Pyhotk> because it sounds like it's not siteconfig.
1233: [14:42:11] <ocm> because it is not
1234: [14:42:13] <ocm> haha
1235: [14:42:23] <ocm> I just want 2 fields, from another class / extention
1236: [14:42:30] <ocm> to be available on the modeladmin
1237: [14:42:47] <catcher> maybe singleton DevelopmentAdmin & build()
1238: [14:43:02] <ocm> they are available on the settings page aswell (with the rest of the siteconfig fields)
1239: [14:43:32] <Pyhotk> ocm: oh, so they're not a part of the managed model.
1240: [14:43:40] <ocm> no, they are not
1241: [14:43:44] <Pyhotk> that's ... some kinda important info you've left out there.
1242: [14:43:52] <ocm> I thought I mentioned, sorry
1243: [14:44:04] <Pyhotk> You may have, I'm busy so just scanning.
1244: [14:44:20] * R\w\C quit (Quit: Textual IRC Client: www.textualapp.com)
1245: [14:44:35] <Pyhotk> uhh, unless you can get to the config through your object (Relation.Blah.Blah.SiteConfig.Field1)
1246: [14:44:47] <Pyhotk> then you'll have to manually inspect form in onbefroewrite
1247: [14:44:58] <Pyhotk> and gett fields, if changed, then update, write, etc.
1248: [14:46:10] <catcher> meh, lazy, `sake dev/build`; works
1249: [14:49:05] <ocm> getting to the config wont work, sadly
1250: [14:49:17] <ocm> though onBeforeWrite or a custom save function should work
1251: [14:49:20] <ocm> thnx for thinking along :)
1252: [14:59:56] <ss23> help, a random person I don't think I know emailed me on my work email being like "the sqlite module is weird"
1253: [14:59:59] <ss23> WHY DID THEY PICJ ME
1254: [15:00:00] <ss23> I NEVER TOUCH SQLITE
1255: [15:00:01] <ss23> ;_;
1256: [15:04:39] <Pyhotk> because you
1257: [15:04:46] <Pyhotk> 3am buddy, wtf
1258: [15:04:52] <Pyhotk> no work tomorrow yet?
1259: [15:06:50] <ss23> I dunno
1260: [15:06:53] <ss23> I'm going to go in I guess
1261: [15:06:56] <ss23> Probably late
1262: [15:06:59] <ss23> My sleeping is messed up
1263: [15:09:39] * muskie9 has joined #silverstripe
1264: [15:09:58] <Pyhotk> obviously!
1265: [15:18:41] * babak quit (Quit: Connection closed for inactivity)
1266: [15:36:05] * NETim has joined #silverstripe
1267: [15:36:30] <NETim> HI, anyone good with manipulating dataobjects in code in 2.4?
1268: [15:38:12] <catcher> NETim, you'll get better results if you ask the question
1269: [15:38:29] * spronk2 quit (Quit: spronk2)
1270: [15:39:38] <NETim> Thanks. Trying to get an existing page to update one of the fields in a script. At the moment, it either does nothing (the page shows as updated but no change made) or i get beck 'the method write() does not exist on dataobjectset'
1271: [15:40:22] * daslicht has joined #silverstripe
1272: [15:40:32] <kinglozzer> NETim: DataObjectSet is a list of objects, not a single object, so you can't call write() on that
1273: [15:40:52] <kinglozzer> In 3.x, I'd guess you want to do ->first()->write() instead of just write(), but I don't know if that works for 2.4
1274: [15:41:39] <NETim> kinglozzer, trying that now.
1275: [15:41:50] <catcher> NETim, DataObject::get_one() works
1276: [15:41:58] <Sj0hn> can you get only the month (in numbers) from a Date field in the template?
1277: [15:42:19] <kinglozzer> Sj0hn: Yeah
1278: [15:42:29] <NETim> catcher, get_one does get me the object, but the write doesn't seem to work.
1279: [15:42:35] <kinglozzer> $Date.Format('m')
1280: [15:42:46] <Sj0hn> ah thanks!
1281: [15:42:52] <catcher> NETim, You say it's a page, you probably need to publish it too
1282: [15:43:04] <kinglozzer> Sj0hn: FYI, .Format() supports whatever PHP's date() supports: http://www.php.net//manual/en/function.date.php
1283: [15:43:13] <kinglozzer> Pretty useful :)
1284: [15:43:18] <catcher> NETim, $page->write(); $page->doPublish();
1285: [15:43:29] <NETim> catcher, Would i be right in thinking that the data should still show in the CMS as unpublished?
1286: [15:43:39] <Sj0hn> Alright, thats usefull :)
1287: [15:43:52] <Sj0hn> i was looking in the docs but i completely missed .Format
1288: [15:43:53] <Sj0hn> -.-
1289: [15:43:59] <Sj0hn> thanks :)
1290: [15:44:14] <catcher> NETim, only if you publish it to the draft stage, iirc
1291: [15:46:15] <NETim> catcher, Ok.
1292: [15:48:02] <daslicht> how would you combine this form filed :
1293: [15:48:11] <daslicht> http://api.silverstripe.org/3.1/class-DropdownField.html with selkect2 ajax loading ?
1294: [15:48:33] <daslicht> or is there a ajax loading type available in silverstripe?
1295: [15:48:39] <daslicht> (frontend)
1296: [15:49:25] <daslicht> Zauberfisch created this example yesterday for me, but he hardcoded the options
1297: [15:49:26] <daslicht> https://gist.github.com/Zauberfisch/5ae254201dc8528fda53
1298: [15:49:37] <daslicht> I need options from teh database
1299: [15:51:04] <muskie9> daslicht, is what you need a dataobject or Enum field
1300: [15:51:47] <daslicht> i thing dataobject
1301: [15:51:55] <daslicht> i dont know enum jet
1302: [15:51:57] <daslicht> yet
1303: [15:52:59] <NETim> "$object->FieldName = $value" is the correct way to modify the value of a field on a dataobject in 2.4 isn't it?
1304: [15:54:34] <muskie9> instead of using the hard coded array you would assign the results of a YourObject::get()->map('ID','Title') to a variable and place the variable where the array goes
1305: [15:54:36] <muskie9> http://sspaste.com/paste/show/53a303fe003b4
1306: [15:54:39] <catcher> NETim, unless it has a setter
1307: [15:54:57] <daslicht> will this also work with dynamic ajax queries ?
1308: [15:55:19] <daslicht> shouldbe the same right
1309: [15:55:36] <NETim> not wanting to sound thick, but, setter?
1310: [15:56:37] <muskie9> similar I would think
1311: [15:57:05] <muskie9> so are you running searches or are you adding new records in the database and need them to live update
1312: [15:57:51] <daslicht> muskie9: http://sspaste.com/paste/show/53a303fe003b4 this will return a list will all entries of Height:: no ?
1313: [15:58:08] <catcher> NETim, some classes have special setter methods to handle extra logic, i.e. SiteTree::setParent()
1314: [15:58:17] <muskie9> if you have a Height DataObject set up, otherwise it won't do anything
1315: [15:58:56] <muskie9> daslicht: http://api.silverstripe.org/3.1/class-DropdownField.html
1316: [15:59:25] * leighmcculloch quit (Ping timeout: 246 seconds)
1317: [15:59:41] <daslicht> yeah i saw that , but i want to dynamically populate the dropdown and not with ALL entries at the beginning
1318: [15:59:55] <daslicht> essentiually like the relational map in teh backend
1319: [16:00:09] <daslicht> you type one or three chars and get results
1320: [16:00:13] <NETim> ah, Ok. No setters, it's just a standard page type, with some extra fields. The object is updated with the new data but after write() it is still set as the old value. Getting frustrating now as this is 5 minutes n SS3
1321: [16:00:14] <daslicht> this would be perfect
1322: [16:00:39] <muskie9> so similar to how the LinkExisting text box works on GridField
1323: [16:00:50] <muskie9> but more relation based
1324: [16:02:13] <daslicht> yeah
1325: [16:02:33] <daslicht> just curious if thi is possible
1326: [16:02:47] <daslicht> other case I just return all options at once
1327: [16:03:17] * kinglozzer quit ()
1328: [16:03:21] <muskie9> it should be, not sure if there's anything out of the box (yet)
1329: [16:04:36] <daslicht> essentiually what I am going to create is a database for ship models
1330: [16:04:40] * Shrike_Finland quit (Quit: Leaving.)
1331: [16:04:41] * stnvh quit ()
1332: [16:04:44] <NETim> catcher, there isn't any reason that dataobject::get_one followed by modifying a value and writing would fail is there?
1333: [16:04:48] <daslicht> a combination of this:
1334: [16:04:49] <daslicht> http://www.wiedling.de/modellsuche.html
1335: [16:04:53] <daslicht> and this:
1336: [16:05:02] <daslicht> http://www.taft.com/ModelWeb/ms-index.html
1337: [16:05:22] <daslicht> it will be around 5000 Ships listed there each ship with its own Gallery
1338: [16:05:52] <daslicht> and i need to display random images for each ship in a slideshow on teh homepage
1339: [16:06:27] <daslicht> is there a way to get random items fromteh db ?
1340: [16:06:33] <catcher> NETim, nah, check the DB manually, see what's being set (SiteTree/Page record vs versioned copies)
1341: [16:06:57] <NETim> digging now.
1342: [16:07:43] <muskie9> daslicht yes, i.e. $member = Member::get()->sort('RAND()')
1343: [16:07:49] <daslicht> cool
1344: [16:07:55] <daslicht> lovely
1345: [16:08:41] <muskie9> so if you had the ship images as a data object, let's say ShipImage then you could do ShipImage::get()->limit(15)->sort('RAND());
1346: [16:08:56] <daslicht> look great
1347: [16:09:02] * C10ne has joined #silverstripe
1348: [16:09:25] <daslicht> thank you very much !
1349: [16:10:01] <muskie9> very much welcome
1350: [16:10:45] <daslicht> some month ago i implemented such a database using Symfony2 and even at teh barebone functionality it was so much code
1351: [16:11:05] <daslicht> I even had im implement the doctrine random function hehe
1352: [16:11:17] <daslicht> this now looks promising :D
1353: [16:12:12] <NETim> catcher, looking in the DB, some of the older versions have the new price, it looks almost like it's updating one of them instead of the live version?!
1354: [16:12:31] <Pyhotk> gawd RAND() D:
1355: [16:12:55] * Shrike_Finland has joined #silverstripe
1356: [16:12:59] <Pyhotk> daslicht: how long are you here? I can come back tonight and post something for you
1357: [16:13:20] <Pyhotk> for uhh, splitting the menu that is.
1358: [16:13:28] <Pyhotk> if I get time tonight#
1359: [16:13:34] <daslicht> I will be dealing with SS for the next time trying to implement that shipdatabase :D
1360: [16:13:43] <daslicht> so whan ever you like
1361: [16:13:47] <Pyhotk> ok
1362: [16:13:51] <Pyhotk> well, i'm off
1363: [16:13:52] * Pyhotk quit ()
1364: [16:13:54] <daslicht> :D
1365: [16:13:56] <daslicht> lol
1366: [16:14:04] <muskie9> daslicht, not sure if this is the type of ajax dropdowns you were looking for, but this is a project I did a while back... I had to do quite a bit to get the dropdowns to adjust based on what the user first selected: http://kohlerglobalprojects.com/references/
1367: [16:14:49] <daslicht> http://ivaynberg.github.io/select2/
1368: [16:14:56] <C10ne> Just a quick question before I bang my head: I've got a string I get from some XML feed, which has html in it, how do I prevent it from being displayed as string in the template?
1369: [16:14:57] <daslicht> search for ajax on this page
1370: [16:15:33] <daslicht> its possible to return json with silverstripe ? no?
1371: [16:15:37] <muskie9> ah
1372: [16:15:57] <daslicht> if so it seams to be feasible quite simple
1373: [16:15:57] <muskie9> yes: http://api.silverstripe.org/3.1/class-JSONDataFormatter.html
1374: [16:16:30] <daslicht> Generate a JSON representation of the given DataObject.
1375: [16:16:32] <daslicht> ahhhh
1376: [16:16:42] <daslicht> sound very nice
1377: [16:16:54] <daslicht> looks like I joined the correct channel :D
1378: [16:17:20] <daslicht> 2 days ago i tried to realize the project using Joomla and K2 + JA K2 Filter
1379: [16:17:43] <daslicht> Result was that the generated urls went out of control :)
1380: [16:23:36] <catcher> NETim, sounds like you're not publishing it correctly, maybe paste your code?
1381: [16:24:22] <NETim> catcher, SSPaste?
1382: [16:25:44] <NETim> catcher, here you go: http://www.sspaste.com/paste/show/53a30b43e9a8d
1383: [16:30:26] * srixon has joined #silverstripe
1384: [16:30:34] * Alfirin has joined #silverstripe
1385: [16:30:57] <srixon> Hi to all, i am using a module that shows 30 members on the same page. How to modify to show more? module => gridfleid?
1386: [16:38:53] <daslicht> From the docs: Player::get()->byID(99);
1387: [16:39:10] <daslicht> with this magic function work on any properties?
1388: [16:39:16] <daslicht> byID
1389: [16:39:20] <daslicht> bYNAME?
1390: [16:39:30] <daslicht> byNAME
1391: [16:39:37] <daslicht> or how are those constructed?
1392: [16:39:39] <muskie9> daslicht, don't think so
1393: [16:41:22] <muskie9> http://api.silverstripe.org/3.1/source-class-ArrayList.html#519-527
1394: [16:41:26] <muskie9> http://api.silverstripe.org/3.1/source-class-DataList.html#830-839
1395: [16:41:41] <daslicht> ok so i would use a filter to get those
1396: [16:41:51] <daslicht> aha ok
1397: [16:41:52] <daslicht> cool
1398: [16:42:43] <muskie9> and yes, would use ->filter(array('Title' => 'TitleYoureLookingFor'))
1399: [16:42:44] <NETim> catcher, any ideas
1400: [16:43:07] <muskie9> daslicht, if you need only one by title then end with ->first()
1401: [16:43:34] <daslicht> yah
1402: [16:51:14] <Alfirin> Can _t function be used in widget titles?
1403: [16:52:00] <catcher> NETim, try this instead: $page->publish('Stage', 'Live');
1404: [16:52:16] <catcher> $h->publish('Stage', 'Live'); rather
1405: [16:55:23] <NETim> catcher, still no joy. Using a raw query instead now. Fed up of fighting with the SS ORM. Thanks thorugh
1406: [16:55:26] <NETim> though*
1407: [16:55:30] <NETim> Off now.
1408: [16:59:37] * NETim quit (Ping timeout: 246 seconds)
1409: [17:14:44] * Azure has joined #silverstripe
1410: [17:27:55] * Shrike_Finland quit (Quit: Leaving.)
1411: [17:35:05] * daslicht quit ()
1412: [17:43:43] * Shrike_Finland has joined #silverstripe
1413: [17:47:55] * Alfirin quit (Ping timeout: 246 seconds)
1414: [18:08:35] * Azure quit (*.net *.split)
1415: [18:08:35] * Sj0hn quit (*.net *.split)
1416: [18:08:36] * gelignite quit (*.net *.split)
1417: [18:08:36] * DesignerX quit (*.net *.split)
1418: [18:08:36] * spronk quit (*.net *.split)
1419: [18:08:36] * eagles0513875 quit (*.net *.split)
1420: [18:08:37] * hubertusanton quit (*.net *.split)
1421: [18:08:38] * ss23 quit (*.net *.split)
1422: [18:08:41] * ajmitch quit (*.net *.split)
1423: [18:10:46] * Azure has joined #silverstripe
1424: [18:10:46] * Sj0hn has joined #silverstripe
1425: [18:10:46] * hubertusanton has joined #silverstripe
1426: [18:10:46] * gelignite has joined #silverstripe
1427: [18:10:46] * DesignerX has joined #silverstripe
1428: [18:10:46] * spronk has joined #silverstripe
1429: [18:10:46] * eagles0513875 has joined #silverstripe
1430: [18:10:46] * ss23 has joined #silverstripe
1431: [18:10:46] * ajmitch has joined #silverstripe
1432: [18:14:51] * Azure quit (*.net *.split)
1433: [18:14:52] * Sj0hn quit (*.net *.split)
1434: [18:14:52] * gelignite quit (*.net *.split)
1435: [18:14:52] * DesignerX quit (*.net *.split)
1436: [18:14:52] * spronk quit (*.net *.split)
1437: [18:14:53] * eagles0513875 quit (*.net *.split)
1438: [18:14:54] * hubertusanton quit (*.net *.split)
1439: [18:14:54] * ss23 quit (*.net *.split)
1440: [18:14:57] * ajmitch quit (*.net *.split)
1441: [18:16:19] * Azure has joined #silverstripe
1442: [18:16:19] * Sj0hn has joined #silverstripe
1443: [18:16:19] * hubertusanton has joined #silverstripe
1444: [18:16:19] * gelignite has joined #silverstripe
1445: [18:16:19] * DesignerX has joined #silverstripe
1446: [18:16:19] * spronk has joined #silverstripe
1447: [18:16:19] * eagles0513875 has joined #silverstripe
1448: [18:16:19] * ss23 has joined #silverstripe
1449: [18:16:19] * ajmitch has joined #silverstripe
1450: [18:30:46] * jiraffe_ has joined #silverstripe
1451: [18:31:26] * Liongold has joined #silverstripe
1452: [18:31:40] <Liongold> Hi. Can soeone help me with UserFroms?
1453: [18:31:47] * jiraffe_ has left #silverstripe
1454: [18:31:58] <Liongold> someone
1455: [18:32:04] <Liongold> please?
1456: [18:32:17] <catcher> Liongold, you'll have better luck if you ask your question.
1457: [18:32:28] <Liongold> Ok, thanks.
1458: [18:33:08] * gelignite quit (Excess Flood)
1459: [18:33:08] * Azure quit (Excess Flood)
1460: [18:33:17] <Liongold> I am trying to set up a form but would like to send an email with the form data instead of saving on server only.
1461: [18:33:29] * eagles0513875 quit (Max SendQ exceeded)
1462: [18:33:38] <catcher> Liongold, that's built into userforms, no?
1463: [18:33:54] * eagles0513875 has joined #silverstripe
1464: [18:33:55] * Azure has joined #silverstripe
1465: [18:34:10] <Liongold> However, I would like to set the sender email address and the subject according to form data
1466: [18:34:20] * gelignite has joined #silverstripe
1467: [18:34:36] <Liongold> Do you understand my question?
1468: [18:37:10] <Liongold> ?
1469: [18:39:43] <Liongold> catcher: can you help?
1470: [18:40:20] <catcher> Liongold, most mail servers won't let you spoof the sender anyway, your better bet is to set the reply-to.
1471: [18:40:40] <Liongold> And the subject?
1472: [18:41:01] <catcher> Liongold, as far as I know, userforms doesn't support that behavior out of the box, so you'll want to extend it.
1473: [18:41:14] <catcher> I could be wrong, I always build custom forms for this very reason, more control
1474: [18:41:19] <Liongold> You mean through extension or changing the code?
1475: [18:41:33] <catcher> Liongold, never change the core code of a module or framework.
1476: [18:41:47] <Liongold> So how?
1477: [18:41:49] <catcher> Liongold, if you build a feature that you think the module should have, fork it on github and submit a pull request.
1478: [18:42:28] <Liongold> Or I can do the whole thing from scracth without UserFroms?
1479: [18:42:47] <Liongold> If I do that, is the code in PHP or what?
1480: [18:43:02] <catcher> Liongold, that is another option, especially if you don't need all the other features userforms provides.
1481: [18:43:23] <catcher> Liongold, but userforms probably has a couple hooks in it that you can use to extend it.
1482: [18:43:30] <catcher> This will get you started: http://doc.silverstripe.com/framework/en/topics/modules
1483: [18:43:30] <Liongold> So your suggestion would be code the form in PHP from scratch, right?
1484: [18:44:01] <catcher> Liongold, it depends entirely on your case, which I don't know.
1485: [18:44:15] <Liongold> Basically a contact form
1486: [18:44:29] <Liongold> with Spam Protection
1487: [18:44:35] * muskie9 quit (Read error: Connection reset by peer)
1488: [18:44:54] * muskie9 has joined #silverstripe
1489: [18:46:03] <Liongold> ?
1490: [18:46:43] <Liongold> catcher, what do you think?
1491: [18:47:10] <catcher> Liongold, UserDefinedForm.php has nice hooks, including one in process()
1492: [18:47:22] <Liongold> O'll check it out. Thanks. Bye.
1493: [18:47:26] <catcher> https://github.com/silverstripe/silverstripe-userforms/blob/master/code/model/UserDefinedForm.php#L957
1494: [18:47:26] <Liongold> I'll
1495: [18:47:58] <catcher> Write an extension & update that email data, looks like it'll be just a few lines of code for you.
1496: [18:48:08] <Liongold> Thanks.
1497: [18:48:13] * Liongold quit (Quit: Page closed)
1498: [19:12:06] * robert_ quit (Quit: brb)
1499: [19:36:46] * C10ne quit (Ping timeout: 246 seconds)
1500: [19:38:40] * Shrike_Finland quit (Quit: Leaving.)
1501: [19:42:17] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1502: [20:18:50] * willr has joined #silverstripe
1503: [20:20:22] * UndefinedOffset quit (Quit: Leaving.)
1504: [20:20:24] * oddnoc has joined #silverstripe
1505: [20:23:33] * willr quit (Ping timeout: 255 seconds)
1506: [20:31:31] * willr has joined #silverstripe
1507: [20:35:06] * nickmolhoek has joined #silverstripe
1508: [20:48:16] * Ryan-Toast has joined #silverstripe
1509: [20:54:26] * simon_w|air has joined #silverstripe
1510: [21:05:29] * babak has joined #silverstripe
1511: [21:07:20] * catcher quit (Quit: Leaving)
1512: [21:07:25] <willr> simon_w|air, it’s been a while. Have I missed anything exciting? apart from your fork
1513: [21:07:45] <simon_w|air> willr, you're back!
1514: [21:08:05] <simon_w|air> Started a new job this week, about to head down to Melbourne for a Star Wars burlesque
1515: [21:08:57] <willr> Congrats! What’s the role anything exciting?
1516: [21:09:16] <simon_w|air> "Developer"
1517: [21:09:27] <simon_w|air> Currently, it's looking like I'll be focusing on the performance of the app
1518: [21:10:11] <willr> PHP app?
1519: [21:11:15] <simon_w|air> yeah
1520: [21:11:20] <simon_w|air> HR type one
1521: [21:13:55] <simon_w|air> Well, I should get out of bed and head off to the airport
1522: [21:15:12] * simon_w|air quit (Quit: This computer has gone to sleep)
1523: [21:16:41] * scpi has joined #silverstripe
1524: [21:18:14] * srixon quit (Quit: Page closed)
1525: [21:24:05] * Kingy[a] is now known as Kingy
1526: [21:24:10] <Kingy> summer sale!!!
1527: [21:25:51] <Ryan-Toast> Kingy: http://i.imgur.com/ELO78Va.jpg
1528: [21:26:12] <Kingy> yes
1529: [21:26:14] <Kingy> and it's payday tonight
1530: [21:26:35] <Ryan-Toast> Remember don’t buy shit unless it’s a daily deal, or the last day.
1531: [21:26:46] <Kingy> rodger that
1532: [21:26:58] * camfindlay has joined #silverstripe
1533: [21:27:19] <Kingy> recommend any of todays deals?
1534: [21:27:40] <Ryan-Toast> Kingy: http://i.imgur.com/3jyJa87.jpg
1535: [21:28:04] <Kingy> haha
1536: [21:28:10] <Kingy> limited funds today
1537: [21:28:14] <Kingy> so that's not possible
1538: [21:28:17] <Ryan-Toast> Farcry 3 is a lot of fun if you like shooters.
1539: [21:28:31] <Ryan-Toast> Witcher 2 at $4 is a must!
1540: [21:28:37] <Ryan-Toast> if you don’t have it that is.
1541: [21:28:49] <Kingy> yeah I've got farcry/dayz/mirrors edge
1542: [21:29:04] <Ryan-Toast> Witcher is good fun.
1543: [21:29:16] <Ryan-Toast> And the new one comes out soonish, so good time to get into the series.
1544: [21:29:26] <Kingy> alrighty then
1545: [21:29:44] <Ryan-Toast> I’ve heard good things about don’t starve, but I haven’t played it myself.
1546: [21:30:57] <Stomach> dont starve is great
1547: [21:31:09] <Stomach> my missus has like 200 hours playtime on it
1548: [21:32:12] <Kingy> would it be good for a 10 year old?
1549: [21:32:32] <Stomach> yep, its kinda hard though
1550: [21:32:33] <Ryan-Toast> 10 year olds play anything besides Minecraft?
1551: [21:32:37] <Stomach> you starve, a lot
1552: [21:32:47] <Kingy> Ryan-Toast: yeah I'm trying to get him to play something other than minecraft
1553: [21:32:53] <Ryan-Toast> Kingy: FTL?
1554: [21:32:54] <Kingy> or lego games
1555: [21:33:21] <Ryan-Toast> FTL is great, and is pretty easy to get into.
1556: [21:33:25] <Ryan-Toast> + cheap
1557: [21:33:41] <Ryan-Toast> http://store.steampowered.com/app/212680/
1558: [21:34:09] <Kingy> might look into that
1559: [21:34:18] * Sj0hn quit ()
1560: [21:34:27] <Stomach> buy them a megadrive
1561: [21:36:44] * scpi quit (Quit: scpi)
1562: [21:37:08] <Ryan-Toast> Stomach: And become ancient peasants?
1563: [21:37:43] <Stomach> my children aren't getting any new technology until they are 35
1564: [21:38:23] <Ryan-Toast> Stomach: :P
1565: [21:38:34] <Ryan-Toast> Stomach: Do you have children?
1566: [21:38:44] <Stomach> I _hate_ seeing little kids in prams being pushed around with an ipad in front of their face
1567: [21:38:48] <Stomach> Ryan-Toast, not that I know of
1568: [21:38:54] <Ryan-Toast> Stomach: :P
1569: [21:40:10] <Ryan-Toast> did you know that chikens sometimes eat their own eggs?
1570: [21:42:37] <Stomach> nope
1571: [21:43:17] <Ryan-Toast> I googled animals that eat their young because I was going to make a joke about how my girlfriend keeps eating my kids, but I actually learnt something instead.
1572: [21:45:22] <Stomach> I hate it when that happens
1573: [21:45:45] <Ryan-Toast> Stomach: accidental learning?
1574: [21:45:50] <Ryan-Toast> The worst.
1575: [21:46:41] <Stomach> yeah, its like when you are reading and you don't know a word and you have to go and look it up because otherwise the crux of the whole situation doesnt make sense
1576: [21:47:06] <Stomach> fucking books
1577: [21:48:51] * srikanth has joined #silverstripe
1578: [21:50:52] <camfindlay> Anyone fancy looking into a bug in the category of “how the heck have we gone this long without anyone finding this one”? Checkout https://github.com/silverstripe/silverstripe-framework/issues/3212 :P
1579: [21:51:46] <camfindlay> Also, starting to plan the Wellington NZ hackfest over the next week - current thoughts are 4-5th July
1580: [21:52:38] <Kingy> ooo what's involved in that camfindlay?
1581: [21:52:53] <camfindlay> the bug fix or the hackfest ;)
1582: [21:52:56] <Stomach> camfindlay, I was looking at that last night, its a doozy
1583: [21:53:01] <Kingy> hackfest
1584: [21:53:18] <camfindlay> Stomach what did you find out about it? (bug)
1585: [21:53:40] <Stomach> camfindlay, that the way which the queries are built is complex and that I was tired
1586: [21:53:51] <camfindlay> Kingy - hackfest is usually us getting together in a room and hacking on SS core or any related modules/projects
1587: [21:54:02] <camfindlay> good for sharing knowldge
1588: [21:54:06] <oddnoc> Huh. No one has ever typed such a string into my search fields :)
1589: [21:54:09] <camfindlay> also good for consuming pizzas
1590: [21:55:04] <Stomach> camfindlay, it would be nice if we could have one up here in Auckland at the same time, even if its just the Saturday of the 5th
1591: [21:55:36] <camfindlay> that is what I’m starting to think - I might get Hamish or Damian to help run it.
1592: [21:56:14] <Stomach> I'd be happy to help out
1593: [21:56:20] <Stomach> (I'm Stevie btw)
1594: [21:56:26] <camfindlay> We also have our internal hackday on the 4th July so makes sense to extend it through until Sat too
1595: [21:56:54] <camfindlay> Stevie! makes sense now! lol
1596: [21:57:20] <camfindlay> yeah help would be good
1597: [21:58:06] <camfindlay> Please chime in over at http://www.meetup.com/SilverStripe-Wellington-Meetup-Group/events/189491772/ and leave your ideas
1598: [22:00:03] <Ryan-Toast> Stomach: I just tap the word on my kindle and it tells me. Best feature.
1599: [22:01:04] <Ryan-Toast> camfindlay: I’d go to an Auckland hackfest.
1600: [22:01:24] * Ryan-Toast does not know what he would do at a hackfest.
1601: [22:01:34] <Stomach> Ryan-Toast, you would learn and write and hack
1602: [22:01:38] <Stomach> and eat pizza
1603: [22:02:06] <Ryan-Toast> I’d just be like: hey, so you heard about Boilerplate? That author must be super cool.
1604: [22:02:40] * simon_w|air has joined #silverstripe
1605: [22:03:33] <simon_w|air> Yay for the Qantas lounge
1606: [22:03:39] * irogue_ has joined #silverstripe
1607: [22:03:54] <Stomach> Ryan-Toast, and we would be all like "no."
1608: [22:04:32] <Ryan-Toast> Stomach: “No….he’s ULTRA COOL”
1609: [22:05:43] <Stomach> thanks, now I have hey ya stuck in my head
1610: [22:05:54] <simon_w|air> camfindlay, you've got a hack day planned for WDC? That seems pointless
1611: [22:08:19] <Stomach> simon_w|air, thats on the 31st isnt it?
1612: [22:08:36] <simon_w|air> Yeah
1613: [22:09:34] <camfindlay> hackfest will be start/mid July
1614: [22:09:37] <camfindlay> date TBC
1615: [22:09:50] <camfindlay> but as mentioned the 5th July might be a goer
1616: [22:10:22] <Stomach> actually 5th july would be no good, I have a gameplanet meetup that night
1617: [22:10:29] <Stomach> but can still do the day I suppose
1618: [22:10:39] <camfindlay> yeah do both!
1619: [22:10:43] <camfindlay> DO IT
1620: [22:11:10] <Stomach> I'll just try and reach the balmer peak at the meetup then
1621: [22:12:16] * UncleCheese has joined #silverstripe
1622: [22:12:21] <irogue_> [09:55:04] <Stomach> camfindlay, it would be nice if we could have one up here in Auckland at the same time, even if its just the Saturday of the 5th
1623: [22:12:21] <irogue_> [09:55:36] <camfindlay> that is what I’m starting to think - I might get Hamish or Damian to help run it.
1624: [22:12:42] <irogue_> also me :P
1625: [22:13:49] <Stomach> irogue_ is all like 'Im a silverstriper now tooooooooo, guys, guys, guys!'
1626: [22:13:55] <camfindlay> yeah totally Ed, maybe we can do a short skype call next week to discuss>
1627: [22:14:15] <irogue_> Stomach: you know it :P
1628: [22:15:15] <irogue_> Stomach: i'm also the kinda guy who would be keen to do a all-nighter hackfest, unlike the last time Auckland joined in on a 24hr Wellington hackfest... for 4 hours
1629: [22:15:18] <camfindlay> As I say, please jump in and comment on the meetup.com listing so I can keep track of ideas :)
1630: [22:15:55] <Stomach> irogue_, I'd be more than happy to turn up pissed at 4am to keep the entertainment rolling
1631: [22:16:13] <simon_w|air> irogue_, build a fort!
1632: [22:16:50] <Ryan-Toast> Seconding fort construction.
1633: [22:20:07] * simon_w|air quit (Quit: This computer has gone to sleep)
1634: [22:20:41] <Stomach> human fort?
1635: [22:21:09] <irogue_> if we build a fort on the balcony we can make all the drunks on Fort St jealous
1636: [22:22:51] <Stomach> camfindlay seems to be taking over ss23's role as docsmaster
1637: [22:22:53] <Stomach> I like it
1638: [22:23:47] <camfindlay> I’m in between university semesters at the moment (the next 3 weeks) so I’m doing some investigation into what we can do to docs
1639: [22:24:01] <camfindlay> as a bit of a community objective
1640: [22:24:26] <Kingy> when does ss23 get back?
1641: [22:24:27] <Kingy> must be soon
1642: [22:24:30] <camfindlay> please drop your feedback over on the dev list, I really appreciate it
1643: [22:24:34] <irogue_> Kingy: he's back
1644: [22:24:40] <Kingy> just being lazy?
1645: [22:24:47] <camfindlay> yeah he’s back but not in the office as yet
1646: [22:24:55] <Stomach> is he a geisha now?
1647: [22:25:04] <Stomach> Colin[pi] has a $10 bet with himself
1648: [22:25:49] <camfindlay> I have yet to cite his geishaness
1649: [22:26:32] <camfindlay> if we have a japan theme hackfest I think this might become aparent
1650: [22:26:36] <camfindlay> :P
1651: [22:27:05] <irogue_> http://i.imgur.com/D6FYYuc.jpg
1652: [22:27:25] <camfindlay> do Geisha'
1653: [22:27:26] <camfindlay> s
1654: [22:27:30] <camfindlay> wear shorts?
1655: [22:27:41] <Stomach> I guess they must
1656: [22:28:52] <camfindlay> Oh, almost forgot, I had something to share re: experimenting with open source tools for maybe future community adoption
1657: [22:28:53] <camfindlay> https://www.loomio.org/d/mOhLCsDb/should-silverstripe-adopt-loomio-as-a-tool-for-community-decision-making
1658: [22:29:04] <camfindlay> please feel free to join, comment and vote
1659: [22:29:43] <camfindlay> have only just sent this out internally, so you guys get first community comments on this idea :)
1660: [22:29:51] <Stomach> camfindlay, yet another tool? I think one of the biggest problems already is that there are too many tools
1661: [22:30:23] <camfindlay> It might be a replacement but unsure for what
1662: [22:30:34] <camfindlay> at this stage just interesting in thinking about it
1663: [22:30:49] <Stomach> coolies
1664: [22:30:50] <willr> camfindlay, back in NZ now so anything you need a hand with docs/forum happy to get back to reviewing PR’s. The user docs sounds like the main focus. Should be easy to play around with the IA, after all just txt files
1665: [22:31:00] <camfindlay> also we like these guys coz they are local open source friends :)
1666: [22:31:34] <Stomach> yeah I've spent quite a bit of time working @ enspiral
1667: [22:31:36] <camfindlay> wilr that would be great, please jump into dev list and see the dialog going on there
1668: [22:32:16] <camfindlay> Stomach - awesome, yeah they are a great bunch of peeps. My good friend started Enspiral Accounting
1669: [22:32:27] <camfindlay> (yes I have accountant friends :P )
1670: [22:32:29] <UncleCheese> Stomach there are too many tools, but I think the idea with the SS.org refresh is a review and reboot of all the community fabric, and that includes finding not necessarily more tools or new tools, but the right tools
1671: [22:32:31] <willr> been following along, while I was in London also had dinner / lunchs with Aram and Dan/Wiill from better brief. Good to hear their feedback
1672: [22:32:56] <willr> I think would be good first step just to sit down and do a new IA structure. See how it gets laid out
1673: [22:33:04] <camfindlay> Sweet, yeah will be good to collate feedback from manyu places
1674: [22:33:04] <Stomach> UncleCheese, thats good - I didn't want to be a downer or anything but tis hard
1675: [22:33:31] <camfindlay> agree, IA first, UI fixes and then have a good process to plug the gaps in the docs
1676: [22:33:57] <Ryan-Toast> camfindlay: What kind of UI fixes?
1677: [22:34:04] <oddnoc> Mostly lurking here, but agreeing with what I’m seeing
1678: [22:34:55] <camfindlay> so far it has been mentioned that people often don’t know what version of the doc they are actually looking at
1679: [22:35:07] <camfindlay> especially if they came via a google search
1680: [22:36:18] <camfindlay> I need to sit down and summarise all the feedback I’m gathering and categorise into topics - might look into that this arvo (so please go add your comments to the dev list post asap if you can).
1681: [22:36:33] <camfindlay> willr are you back in Welly?
1682: [22:36:49] <willr> yep, landed yesterday pm
1683: [22:40:19] * Guest34934 has joined #silverstripe
1684: [22:40:19] <Guest34934> [travis-ci] silverstripe/silverstripe-framework#2737 (3.1 - f48cf98 : Will Rossiter): The build passed.
1685: [22:40:19] <Guest34934> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/86e91b57bf14...f48cf9892147
1686: [22:40:19] <Guest34934> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/27997014
1687: [22:40:19] * Guest34934 has left #silverstripe
1688: [22:40:35] * antmas has joined #silverstripe
1689: [22:40:41] <antmas> moin moin
1690: [22:41:01] <willr> Howdey
1691: [22:41:06] * irogue_ moins all over antmas
1692: [22:41:07] <Kingy> hey antmas
1693: [22:41:19] <camfindlay> you should pop up for friday drinks willr ;)
1694: [22:41:19] <Kingy> watch the game this morning antmas?
1695: [22:41:35] <willr> I don’t need to be invited twice.
1696: [22:42:10] <irogue_> DRINKS
1697: [22:43:44] <antmas> irogue_: herrow!
1698: [22:43:48] <antmas> Kingy: yeah the first half
1699: [22:44:44] <Kingy> Should see all the butthurt english in the office
1700: [22:44:46] <antmas> if I have new FileField('Name', 'Lable Title), in a form, to get that into the email -> $email->attachFile("What goes here?");
1701: [22:45:09] <Kingy> and then theres the one uruguayan haha
1702: [22:45:37] <antmas> yeah I work in a office that is full of poms
1703: [22:46:51] <antmas> if I want to attach what the user uploaded ^^^
1704: [22:47:36] <Stomach> antmas, check out https://github.com/silverstripe/silverstripe-userforms/blob/master/code/model/UserDefinedForm.php#L963
1705: [22:48:05] <antmas> Stomach: oh nice
1706: [22:48:09] <antmas> Stomach: thanks
1707: [22:48:22] <Stomach> antmas, np. thank willr, he wrote it :D
1708: [22:51:18] * antmas thanks willr
1709: [22:51:32] <antmas> and gives Stomach a hi5 o/
1710: [22:51:41] <Stomach> \o
1711: [22:53:20] <willr> Though that should be documented somewhere other than just the module :P
1712: [22:53:31] * antmas whispers a clapping sound
1713: [22:53:47] <irogue_> willr: blame the guy who wrote the module ;)
1714: [22:54:30] <antmas> can't just do $email->attachFile($data['FileFieldName']); :P
1715: [22:55:00] <Stomach> once the docs have all the information in them, how will I be of use to anyone!
1716: [22:55:12] <Stomach> all I have is trawling github and remembering code locations
1717: [22:55:27] <antmas> Stomach: who honestly believes that will happen?
1718: [22:55:36] <Stomach> I do
1719: [22:55:44] <antmas> that's a lot of work for ss23
1720: [22:55:47] <antmas> :)
1721: [22:56:05] <Stomach> its a lot of work for anyone, thats one of the problems at the moment is its just piecemeal
1722: [22:56:13] <Stomach> no real docsmaster
1723: [22:57:43] <willr> Thats why camfindlay is here
1724: [22:58:12] <camfindlay> yeah I don’t know how feasible a single person on docs works in an open source sense - but I’m happy to help improve quality of docs if ya’ll submit them
1725: [22:58:28] <camfindlay> and look into improvements to the way you actually interact with them
1726: [22:59:00] <Stomach> camfindlay - http://words.steveklabnik.com/rusts-documentation-is-about-to-drastically-improve
1727: [22:59:02] <willr> Well first step should be a framework / structure for them. I’m happy to give a first cut of that based on that email list
1728: [22:59:25] <camfindlay> yeah perhaps we can get a separate site going somehwere?
1729: [23:00:02] <willr> Well I was just going to do a branch on the main site, all the file moves can be tracked via git
1730: [23:00:50] <camfindlay> Stomach perhaps I can look to pitch for a dedicated docs person in the future… for now I will need to split my time between all the community things
1731: [23:01:16] <Stomach> camfindlay, its a pipe dream ;)
1732: [23:01:53] <camfindlay> willr - we could move all the files but I don’t think you get a sense of how it feels to use those IA changes until the source content is in the docsviewer
1733: [23:03:27] <camfindlay> I actually like some of the ideas around having more example code from both us at SS and also user submitted like the PHP manual does - obviously I would need to work out how feasible that is to do
1734: [23:03:34] <willr> can setup ss-docs.wilr or something which is CI updated with the docs-reorg branch.
1735: [23:03:44] <camfindlay> yeah I say go for it
1736: [23:04:19] <camfindlay> we can PR against your repo to start until it is all good and then do a PR to framework later
1737: [23:05:07] <camfindlay> what about the split between CMS and Framework docs? I note docviewer module seems to allow for docs from multiple “modules”
1738: [23:05:50] <willr> yep supports that, though the trouble is the ‘cms’ docs for something like http://doc.silverstripe.org/framework/en/reference/layout are actually for the admin module which is bundled in framework even though we’d call that the ‘cms'
1739: [23:05:51] <camfindlay> willr - do you think long term improving docviewer is advantagous or perhaps looking for some other container for our markdown source might be useful?
1740: [23:06:37] <willr> from my view docsviewer has been good. I knocked that up the last time we talked about rewriting docs and IMHO it’s been successful
1741: [23:06:41] <camfindlay> perhaps we need to change our thinking from funtional/technical split of docs to thinkig about how people work though and learn things?
1742: [23:08:55] <willr> that’s more a content / structure problem than a techinical implementation question isn’t it
1743: [23:09:58] <willr> The idea with docsviewer was so docs would be linked directly to a SS version, PR requests could review docs alongside the code changes. Moving it to a wiki or something would be going backwards
1744: [23:13:23] <Stomach> so its more of a high level IA problem about how the docs are actually being written?
1745: [23:15:57] <camfindlay> yeah I wouldn’t move to a wiki like we used to have but I think docs sometimes cover a larger concept than what people do code PRs for. Perhaps a lack of a higher level view of docs has go us into this problem?
1746: [23:17:33] <camfindlay> what I am trying to get to is, 1) fix that shit 2) ensure going forward there is some process that ensures we don’t head down the rabbit hole again and let docs atophy again.
1747: [23:18:21] <camfindlay> it’s point 2 that takes up most of my brain space and point 1 I’d like to try work with others to achieve :)
1748: [23:20:28] <Stomach> I think that there has to be some onus on the person who merges the pull request for a feature/fix to make sure that there are adequate docs for the system being implemented, but its one of the "more work for the team" problems
1749: [23:21:55] <Stomach> its a very hard problem
1750: [23:22:01] <Stomach> I hope your brain is bigger than mine
1751: [23:22:04] <willr> camfindlay I think the solution is much like Stomach said, it should be part of the acceptance criteria of any feature that docs are included. Not just included but they’re good and usable
1752: [23:23:13] <camfindlay> sure, there is still the matter of getting current docs into shape and plugging the missing bits too
1753: [23:23:27] <Stomach> maybe that can be a focus for hackfest?
1754: [23:23:31] <willr> That we can tackle at a workshop / hack
1755: [23:23:38] <camfindlay> we might need to work more closely with a commiter too to make sure they consider how teir docs fit into the bigger whole
1756: [23:24:05] <camfindlay> sometimes things get a bit tunnel vision perhaps?
1757: [23:24:24] <willr> It may help to have someone like yourself or someone outside the core core team that purely reviews PR’s for doc
1758: [23:24:27] <camfindlay> maybe that is where I can help
1759: [23:24:31] <Stomach> its extremely hard to accurately follow docs for experienced users
1760: [23:24:40] <Stomach> because we just go "oh yip, that seems reasonable"
1761: [23:25:07] <Stomach> like with the WAMP setup for example, I had to actually install windows and start from scratch otherwise what would the point be
1762: [23:25:09] <willr> The config system when that came in had docs so ‘passed’ the test but they are/were cryptic as shit and not written at all for users
1763: [23:25:19] <camfindlay> yeah I’d be happy to PR docs, though that would mean we agree to make doc related PR’s separate to code?
1764: [23:26:00] <willr> No, keep them together but just have a process that someone says ‘Good’ or ‘Fail’ in regards to docs
1765: [23:26:22] <camfindlay> while git is good for the final doc, I do find I like to work collaborately with people on the actual writing and editing process
1766: [23:26:37] <camfindlay> perhaps there is a beter way to do this before it gets into git md?
1767: [23:26:54] <willr> Google docs :P
1768: [23:27:02] * Colin[pi] has joined #silverstripe
1769: [23:27:06] <camfindlay> I often do collaborative google doc edits with communnity members in g docs
1770: [23:27:15] <camfindlay> do they have a mark down exporter from there?
1771: [23:27:57] <camfindlay> but then there is the problem of working on exiting docs?
1772: [23:28:13] <camfindlay> tricky stuff
1773: [23:28:41] * babak quit (Quit: Connection closed for inactivity)
1774: [23:29:30] <Colin[pi]> I was asked how SS compares to "Drubal" from an upper level manager, sounds about right
1775: [23:30:10] <Stomach> Drupal is much better, amirite?
1776: [23:31:12] <Colin[pi]> disappointed he didn't call SS "SilverLight" though
1777: [23:33:25] <willr> cam, I’d just copy the src doc to google make your edits collab then copy back to the text file
1778: [23:34:49] <oddnoc> I don’t think google docs play nicely with markdown
1779: [23:36:12] <Stomach> could always use something like http://codeshare.io/
1780: [23:37:14] <oddnoc> looks useful!
1781: [23:40:14] <camfindlay> Stomach, thanks for that link looks interesting
1782: [23:41:01] <Stomach> we use it internally quite a lot
1783: [23:41:20] <Colin[pi]> sounds painful
1784: [23:41:23] <Stomach> its great for pair programming without leaving your desk
1785: [23:42:20] <Stomach> UncleCheese, camfindlay - you know the thing you were showing the ss.org demo through on Wednesday, whats that called? the sweet little ipad thingy
1786: [23:42:31] <UncleCheese> invision
1787: [23:42:34] <Stomach> thanks
1788: [23:42:42] <UncleCheese> remember, i converted heyday to it
1789: [23:42:47] <Stomach> I wasnt there
1790: [23:42:49] <UncleCheese> because we loved those presentation sites so much
1791: [23:43:00] <Stomach> oh yeaaaah thats right
1792: [23:43:02] <UncleCheese> ha
1793: [23:43:19] <Stomach> that was just as I was leaving
1794: [23:43:25] <UncleCheese> so bad
1795: [23:43:46] <Stomach> i loved doing that so much
1796: [23:43:53] <Stomach> "stevie do this" "frazer HELP"
1797: [23:49:11] <antmas> Colin[pi]: !!!
1798: [23:49:17] <antmas> Colin[pi]: FEELING BETTER?
1799: [23:50:16] <camfindlay> UncleCheese for your meetup video, can you just do a screencast of your walkthrough (doesn’t have to match the meetup talk) and I’ll cut to that for the video production edit?
1800: [23:50:40] <camfindlay> do a 720p mp4 output for the editor :)
1801: [23:51:01] <UncleCheese> you don't want to try to sync it?
1802: [23:51:37] <camfindlay> na - I would cut to your demo at the point in your talk where your slide says “DEMO” ;)
1803: [23:51:53] <camfindlay> will make the turn around quicker
1804: [23:52:08] <camfindlay> and we can use that as a stand along video bite too
1805: [23:53:01] <camfindlay> it can be pretty informal I think rather than scripting
1806: [23:53:16] <antmas> Stomach: I found another way to do the attachment thing
1807: [23:53:32] <antmas> this works http://archive.ssbits.com/add-attachments-to-silverstripe-form-submissions/
1808: [23:53:45] <antmas> can anyone comment on whether this ^^^ is an OK practise?
1809: [23:54:01] <Stomach> antmas, thats the same thing basically :P
1810: [23:54:07] <Stomach> but you aren't saving the object
1811: [23:54:14] <Stomach> i mean arent saving the file
1812: [23:54:44] <antmas> Stomach: yeah it is submitted along with the form data
1813: [23:54:49] <antmas> and stored in the DO
1814: [23:55:17] <antmas> its just no pulling it out of the DO for the attachment
1815: [23:55:20] <antmas> etc etc
1816: [23:55:37] <Stomach> :)
1817: [23:55:56] * antmas feels dumb for stating the obvious
1818: [23:55:57] <antmas> :D
1819: [23:57:00] <Stomach> some guy in the comments really wants that guy to have a good day
1820: [23:57:06] <antmas> lol yeah
1821: [23:57:31] <Ryan-Toast> It’s a bot :P See it links to chanel.
1822: [23:58:29] <Stomach> of course its a bot lol
1823: [23:58:36] <Stomach> no humans are nice like that
1824: [23:58:57] <Ryan-Toast> Don’t even know why I said it was a bot, so obvious.
1825: [23:59:14] <Ryan-Toast> I actually had a really good bot add me on skype the other day.
1826: [23:59:29] <Ryan-Toast> They’re getting pretty good at holding a conversation.
1827: [23:59:31] <Stomach> did it want to show you its tits?
1828: [23:59:36] <Ryan-Toast> Itdid.
1829: [23:59:41] <Ryan-Toast> Camgirl bot

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