#silverstripe IRC Log

IRC log for 3 August 2014

All timestamps are in UTC.

1: [00:00:04] * muskie9 has joined #silverstripe
2: [00:25:00] * adrexia has joined #silverstripe
3: [00:33:28] * simon_w has joined #silverstripe
4: [01:09:28] * babak quit (Quit: Connection closed for inactivity)
5: [01:15:15] * simon_w quit (Quit: This computer has gone to sleep)
6: [01:40:47] * JasonFHarris has joined #silverstripe
7: [01:41:10] <JasonFHarris> Hey all i am having a problem getting jQuery to load in silverstripe 3.1.5.
8: [01:41:23] <JasonFHarris> I have some function like:
9: [01:41:33] <JasonFHarris> (function($) {        $(document).ready(function() { $('#faqList div.faqQuestion').click(function() { $(this).next('.answer').slideToggle(500); $(this).toggleClass('close'); });    }); }(jQuery));
10: [01:41:50] <JasonFHarris> In a file faqScript.js
11: [01:42:14] <JasonFHarris> I am including this via:<% require javascript("themes/simple/javascript/faqScript.js") %>
12: [01:42:33] <JasonFHarris> But when loading my site I am getting the error:ReferenceError: Can't find variable: jQuery
13: [01:42:41] * simon_w has joined #silverstripe
14: [01:42:47] <JasonFHarris> I tried including:<% require javascript("framework/thirdparty/jquery/jquerymin.js") %>
15: [01:43:01] <JasonFHarris> before that but it didn't help...
16: [01:43:05] <JasonFHarris> Any suggestions?
17: [01:43:10] <JasonFHarris> Anyone actually on?
18: [01:43:34] <Kingy> (jQuery));
19: [01:43:37] <Kingy> what is that doing...
20: [01:44:27] <simon_w> JasonFHarris, if that's the exact line you used, you're missing a period between jquery and min
21: [01:44:36] <JasonFHarris> ahhh...
22: [01:44:55] <JasonFHarris> Maybe that is it.... I tried a zillion other combinations but maybe stumbled there. Testing now...
23: [01:44:57] <JasonFHarris> Thanks!
24: [01:46:31] <JasonFHarris> Ok... Well at least the page loads without any errors. Is that the best way to include it through? (Or should I do this in my FaqHolder.php through something like:
25: [01:46:32] <JasonFHarris> function init() { parent::init(); Requirements::javascript('themes/' . SSViewer::current_theme() . '/faqScript.js'); }
26: [01:49:05] <simon_w> Well, you should probably use Requirements::combine_files
27: [01:50:44] <JasonFHarris> Actually although the page loads without errors but jQuery is not actually working... I can't actually seem to see the faqScript.js file inclusion in my sources. Checking again...
28: [01:50:49] * simon_w|air quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
29: [01:50:50] <JasonFHarris> Thanks simon
30: [01:51:57] <JasonFHarris> So one other question although I can see jQuery in the scripts on the page source, how come I need to include it earlier in the load process? Is there any way to do this automatically?
31: [01:55:47] <JasonFHarris> I downloaded the source for my page and I can't actually see faqScript.js anywhere in the sources... Any hints on how I should test this?
32: [02:01:36] * travis-ci has joined #silverstripe
33: [02:01:36] <travis-ci> [travis-ci] chillu/silverstripe-framework#144 (experiments/behat-3-upgrade - 441a0c0 : Ingo Schommer): The build passed.
34: [02:01:36] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/f11adcfe2e78^...441a0c03f70e
35: [02:01:36] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/31524964
36: [02:01:36] * travis-ci has left #silverstripe
37: [02:09:32] <JasonFHarris> So I have been looking around some more and I can't see any of my <% require javascript("themes/simple/javascript/faqScript.js") %> actually changing anything in the sources. I should be able to see these after just downloading all the sources right?
38: [02:10:03] * travis-ci has joined #silverstripe
39: [02:10:03] <travis-ci> [travis-ci] chillu/silverstripe-cms#60 (experiments/behat-3-upgrade - f766747 : Ingo Schommer): The build failed.
40: [02:10:03] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-cms/compare/b6194c304d56^...f766747945fb
41: [02:10:03] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-cms/builds/31524972
42: [02:10:03] * travis-ci has left #silverstripe
43: [02:10:15] <JasonFHarris> anyone?
44: [02:16:15] <adrexia> so it's not including your js at all?
45: [02:17:47] <JasonFHarris> It doesn't look like it...
46: [02:17:53] <adrexia> <% require javascript("themes/simple/javascript/faqScript.js") %> looks wrogn to me
47: [02:18:02] <adrexia> where does your template live?
48: [02:18:03] <JasonFHarris> I should be able to see it in the page sources right?
49: [02:18:07] <adrexia> yes
50: [02:18:17] <JasonFHarris> getting full path now..
51: [02:18:59] <JasonFHarris> themes/simple/javascript/faqScript.js
52: [02:19:15] <JasonFHarris> Should I be putting this somewhere else?
53: [02:20:40] <JasonFHarris> Nope. It is not getting included in the page at all...
54: [02:20:58] <adrexia> usually I'd include everything from the php, and use combine, rather than the template require. Though I've actually started ignoring require entirely and combining/minifying separately, and just linking from my templates normally.
55: [02:20:59] <adrexia> hmmm
56: [02:21:11] <adrexia> try putting the base url before the include
57: [02:21:28] <JasonFHarris> Sorry... the base url before the include?
58: [02:21:38] <JasonFHarris> You mean in the FaqHolder.ss?
59: [02:21:45] <JasonFHarris> or inf FaqHolder.php?
60: [02:21:57] <JasonFHarris> Or somewhere else?
61: [02:22:21] <adrexia> or $ThemeDir
62: [02:22:31] <adrexia> gimme a sec
63: [02:22:40] <JasonFHarris> Sure! :)
64: [02:22:47] <JasonFHarris> Thanks in any case...
65: [02:23:33] <adrexia> If I'm linking from within templates I usually just do this: <script src="$ThemeDir/javascript/faqScript.js"></script>
66: [02:24:04] <JasonFHarris> Ok... I will try that in my FaqHolder.ss right now hold on...
67: [02:24:11] <adrexia> I'm not sure what the template require actually gives you on top of that, but I've never noticed a difference
68: [02:25:46] <simon_w> Bad adrexia :p Should just combine_files everything
69: [02:25:56] <adrexia> not actually true
70: [02:26:03] <adrexia> shjould use grunt or gulp
71: [02:26:08] <adrexia> and just link to the file
72: [02:26:10] <adrexia> :P
73: [02:26:13] <JasonFHarris> Wait... I was looking at the admin site. I was just going to show you how it wasn't turing up in the live site and in the live site I can now see it in the resources...
74: [02:26:48] <JasonFHarris> So it isn't turing up on the admin site but it does seem to be appearing in the live site... Still checking and I am likely doing something wrong..
75: [02:27:04] <adrexia> though I did say to use combine files if using the silverstripe requirements at all ;)
76: [02:27:27] <adrexia> but first problem is to get it working :)
77: [02:27:44] <simon_w> adrexia, shouldn't hardcore the script tag either. No cache busting
78: [02:27:54] * babak has joined #silverstripe
79: [02:28:30] <adrexia> depends on your use case, and other practices
80: [02:28:44] <adrexia> you can get build tools to do that for you
81: [02:28:59] * chillu quit (Quit: chillu)
82: [02:29:16] <simon_w> But then the build tools need to modify your templates too
83: [02:29:21] <adrexia> yes
84: [02:29:35] <JasonFHarris> Still looking sorry...
85: [02:29:49] <adrexia> what did you mean by admin and live?
86: [02:31:06] <JasonFHarris> Ok
87: [02:31:27] <JasonFHarris> So on the normal site www.thesite.com/faqs the script turns up
88: [02:31:29] <Kingy> walk into the lounge and the gf is asleep. lazy sunday indeed
89: [02:31:47] <JasonFHarris> but on www.thesite.com/admin/pages/faqs the script doesn't seem to be there...
90: [02:32:15] <JasonFHarris> Actually if you want to look at the real site I am trying to get going it is clonesliver.trackabus.com
91: [02:32:17] <adrexia> are you trying to get it into the page editor?
92: [02:32:27] <adrexia> or just preview?
93: [02:32:58] <adrexia> if the former, you need to approach that a little differently
94: [02:33:06] <JasonFHarris> Well I was just playing with a number of pages and I started out making the admin stuff work before I always have a .ss page for it so
95: [02:33:32] <JasonFHarris> Ie I get the XYZPage.php doing what I want first and then the XYZ.ss pages
96: [02:33:36] <JasonFHarris> working
97: [02:34:18] <JasonFHarris> so I had sort of been testing these from within the www.site.com/admin/pages/edit/show/28
98: [02:34:21] <JasonFHarris> eg
99: [02:36:26] * simon_w quit (Quit: This computer has gone to sleep)
100: [02:37:08] * SightUnseen has joined #silverstripe
101: [02:37:24] <JasonFHarris> So still looking here... and the script is now present at the end of the sources but doesn't yet seem to be doing what I wanted... Still playing...
102: [02:39:02] * simon_w has joined #silverstripe
103: [02:39:37] <adrexia> hmm... well, you *should* probably move the includes into the php
104: [02:40:13] <adrexia> combine files is really useful, and not available in template includes
105: [02:40:26] <adrexia> Can do something like this in your page controller:
106: [02:40:34] <adrexia> public function init() {
107: [02:40:34] <adrexia> parent::init();
108: [02:40:34] <adrexia> Requirements::combine_files('script.js', $this->getJSRequirements());
109: [02:40:34] <adrexia> }
110: [02:40:34] <adrexia> public function getJSRequirements() {
111: [02:40:34] <adrexia> $themeDir = SSViewer::get_theme_folder();
112: [02:40:35] <adrexia> return array(
113: [02:40:35] <adrexia> THIRDPARTY_DIR .'/jquery/jquery.js',
114: [02:40:35] <adrexia> '$themeDir/javascript/faqScript.js'
115: [02:40:36] <adrexia> );
116: [02:40:36] <adrexia> }
117: [02:41:30] <JasonFHarris> Just as a note I got the js going! I had the wrong class name.
118: [02:41:36] <JasonFHarris> Now to do your optimisation steps...
119: [02:41:38] <adrexia> hahaha nice :)
120: [02:41:42] <JasonFHarris> Ok... reading now.
121: [02:43:32] <JasonFHarris> Ok I think I understand that code... Testing now...
122: [02:44:07] <JasonFHarris> BTW isn't $ThemeDir a variable that is floating around so do we need the $themeDir = SSViewer::get_theme_folder();
123: [02:44:35] * SightUnseen has left #silverstripe
124: [02:44:49] <adrexia> not in the php - only in the templates :)
125: [02:45:37] <JasonFHarris> Ahh... thanks!
126: [02:45:56] <JasonFHarris> Ok one other question the 'script.js' in combine_files('script.js', ...
127: [02:46:04] <JasonFHarris> there is another file script.js running around...
128: [02:46:07] <adrexia> you could obviously also just do it all the one function. I just like them seperate because I tend to wind up with a lot
129: [02:46:13] <JasonFHarris> Can I use a different name here?
130: [02:46:21] <adrexia> oh - call it csomething else then
131: [02:46:34] <adrexia> yep - you get to define the name
132: [02:46:42] <JasonFHarris> Cool...restesting now (it wasn't working like that...)
133: [02:47:47] <JasonFHarris> Darn... Nope that doesn't seem to be working... I am missing something maybe?
134: [02:47:54] <JasonFHarris> I will paste the fragment again:
135: [02:48:04] <JasonFHarris> public function getJSRequirements() { $themeDir = SSViewer::get_theme_folder(); return array( THIRDPARTY_DIR .'/jquery/jquery.js', '$themeDir/javascript/faqScript.js' ); } public function init() { parent::init(); Requirements::combine_files('combinedScript.js', $this->getJSRequirements()); }
136: [02:48:36] <JasonFHarris> I don't see that script in the scripts...
137: [02:49:11] <JasonFHarris> Hmmm...
138: [02:49:59] <adrexia> where did you put the code?
139: [02:51:27] <JasonFHarris> Is this thread relevant ? : http://www.silverstripe.org/customising-the-cms/show/6729
140: [02:51:32] <adrexia> It looks like it should be either in Page_Controller or FaqHolder_Controller
141: [02:51:38] <JasonFHarris> I put that code in FaqHolder.php
142: [02:51:45] <JasonFHarris> ohh hold on...
143: [02:51:53] <JasonFHarris> IN v
144: [02:51:55] <JasonFHarris> In class FaqHolder_Controller extends Page_Controller {
145: [02:51:57] <JasonFHarris> :)
146: [02:53:12] <adrexia> sweet. there are no other init functions already there?
147: [02:53:16] <JasonFHarris> Ahhh... I might still have development mode on? How do I check this?
148: [02:53:21] <adrexia> (I mean, I think it would error, but... )
149: [02:53:46] <adrexia> you should still see the files with dev mode on.
150: [02:53:58] <JasonFHarris> Nope... Litteraly the whole text is:class FaqHolder_Controller extends Page_Controller { // function init() { // parent::init(); // Requirements::javascript(THIRDPARTY_DIR . "/jquery/jquery.js"); // Requirements::javascript('themes/simple/javascript/faqScript.js'); // } public function getJSRequirements() { $themeDir = SSViewer::get_theme_folder(); return array( THIRDPARTY_DIR .'/jquery/jquery.js',
151: [02:54:11] <adrexia> try flushing though
152: [02:54:16] <JasonFHarris> I have the old code which did work commented out...
153: [02:54:35] <JasonFHarris> I'll try flushing again (I have it as a button on my browser and I hit it reflexively lot...)
154: [02:54:39] <JasonFHarris> But trying again...
155: [02:55:07] <adrexia> just make sure the init is being hit too. stick a die in there or something
156: [02:55:40] <JasonFHarris> Ok with the commented code removed it is: class FaqHolder_Controller extends Page_Controller { public function getJSRequirements() { $themeDir = SSViewer::get_theme_folder(); return array( THIRDPARTY_DIR .'/jquery/jquery.js', '$themeDir/javascript/faqScript.js' ); } public function init() { parent::init(); Requirements::combine_files('combinedScript.js', $this->getJSRequirements()); } }
157: [02:55:51] <JasonFHarris> A die?
158: [02:56:12] <JasonFHarris> If I change all of that code to:
159: [02:56:24] <JasonFHarris> function init() { parent::init(); Requirements::javascript(THIRDPARTY_DIR . "/jquery/jquery.js"); Requirements::javascript('themes/simple/javascript/faqScript.js'); }
160: [02:56:28] <JasonFHarris> Then it does work...
161: [02:56:47] <adrexia> oh, so combine files isn't working for you?
162: [02:56:50] <simon_w> JasonFHarris, $themeDir/javascript/faqScript.js needs to be in double quotes
163: [02:57:00] <adrexia> ahh, good spotting
164: [02:57:02] <JasonFHarris> Ahh... thanks!
165: [02:57:04] <JasonFHarris> Fixing now...
166: [02:57:24] * willr has joined #silverstripe
167: [02:58:00] <JasonFHarris> Actually I am not a php guru. I learnt it last week (I am normally a C++ person...)
168: [02:58:24] <JasonFHarris> what is the difference.... in quotes? I thought it might be like python and they were interchangeable...
169: [02:58:29] <JasonFHarris> looking at google now...
170: [02:58:43] <adrexia> they are, except that single quotes don't parse the variables
171: [02:59:26] <simon_w> JasonFHarris, http://nz1.php.net/manual/en/language.types.string.php#language.types.string.syntax.double
172: [02:59:33] <JasonFHarris> Ahhh. sort of some bash like thing which allows expansion...
173: [03:00:00] <JasonFHarris> Thanks!
174: [03:00:45] <adrexia> which means that normally single quotes are micro seconds faster.
175: [03:00:58] <JasonFHarris> That worked!! :)
176: [03:01:33] <simon_w> It's like the difference between puts() and printf() in C
177: [03:01:55] <JasonFHarris> So I can see still see both scripts in the list. How can I turn off dev mode to ensure that it is getting just the single combined file...
178: [03:02:45] <JasonFHarris> Ahh... I haven't called low level things like puts() in sooo long :) I mostly deal with high level stuff C++11 and stl sorts of things now... :)
179: [03:02:50] <adrexia> ?stage=Live I think
180: [03:03:00] <adrexia> appended to the url should work
181: [03:03:11] <JasonFHarris> And back to development is ?isDev=1
182: [03:03:11] <JasonFHarris> ?
183: [03:03:22] <adrexia> oh yeah opps
184: [03:03:35] <JasonFHarris> opps?
185: [03:03:47] <JasonFHarris> Does that mean I want ?isDev=0
186: [03:03:49] <JasonFHarris> ? :)
187: [03:03:59] <simon_w> JasonFHarris, you need to find where you've turned it on. It'll either by mysite/_config.php or _ss_environment.php
188: [03:04:04] <simon_w> Probably the former
189: [03:04:09] <JasonFHarris> Thanks! Looking now!
190: [03:04:11] <simon_w> Change 'dev' to 'live'
191: [03:04:43] <adrexia> that one
192: [03:05:10] <JasonFHarris> Hmmm not in mysite/_config.php
193: [03:05:19] <JasonFHarris> In fact how do I confirm if I am in one vs the other?
194: [03:05:28] <JasonFHarris> I might not be in dev mode at all?
195: [03:05:39] <JasonFHarris> also where is _ss_environment.php
196: [03:06:37] <JasonFHarris> I don't seem to have a _ss_environment.php in my tree
197: [03:06:49] <adrexia> usually one step out of the web root
198: [03:08:19] <JasonFHarris> Nope... I don't see to have it...
199: [03:09:23] * simon_w|air has joined #silverstripe
200: [03:09:34] <adrexia> you might need to make one then
201: [03:09:41] <JasonFHarris> ahhh...
202: [03:10:15] <JasonFHarris> I'll google this... But can I just put this in mysite/_config.php ?
203: [03:11:16] <JasonFHarris> It says here: http://doc.silverstripe.org/framework/en/topics/debugging
204: [03:11:19] <adrexia> here's my basic starter: https://gist.github.com/adrexia/9ad82ddb59d284855542
205: [03:11:53] <adrexia> yes - I think so, but it's still recommended that you have an ss environment file
206: [03:11:54] <JasonFHarris> to put this in mysite/_config/config.yml
207: [03:12:06] <JasonFHarris> Director: environment_type: 'dev'
208: [03:12:22] <adrexia> but then it's in your code repo and you could accidently commit it
209: [03:12:35] <JasonFHarris> Good point! :)
210: [03:16:24] <JasonFHarris> Ok... I have found: http://doc.silverstripe.org/framework/en/topics/environment-management
211: [03:16:43] <JasonFHarris> Thanks a lot for all your help! That saved me a lot of time!
212: [03:18:50] <adrexia> :)
213: [03:21:53] * muskie9 quit (Ping timeout: 240 seconds)
214: [03:28:24] <JasonFHarris> Bye! And thanks again!!
215: [03:28:25] <JasonFHarris> :)
216: [03:28:39] * JasonFHarris quit (Quit: Page closed)
217: [03:29:15] * cloph_away has joined #silverstripe
218: [03:29:34] * cloph quit (Ping timeout: 240 seconds)
219: [03:46:50] * adrexia quit (Read error: Connection reset by peer)
220: [03:48:29] * adrexia has joined #silverstripe
221: [03:59:50] * joelpittet has joined #silverstripe
222: [04:19:11] * mobiusnz has joined #silverstripe
223: [04:27:17] * adrexia quit (Quit: Textual IRC Client: www.textualapp.com)
224: [04:27:43] * adrexia has joined #silverstripe
225: [04:31:42] <abitran> hi
226: [04:33:17] <abitran> I'm testing my silvestripe site on a lighttpd server.. and for some reason I can't get the $Date.* variable to be displayed...
227: [04:33:29] <abitran> On Apache works fine.
228: [04:43:53] * mobiusnz quit (Quit: Leaving.)
229: [04:49:28] * babak quit (Quit: Connection closed for inactivity)
230: [04:58:52] * Liquide quit ()
231: [04:59:20] <willr> abitran, Odd the rest of the app works?
232: [04:59:26] <willr> database different?
233: [04:59:38] <abitran> hello willr .. all is the same
234: [04:59:52] <abitran> if I stop lighttp and start apache.. date appears
235: [05:00:20] <willr> cache would be different I’d assume you probably want to make sure you flush your caches
236: [05:00:41] <abitran> I flushed them with flush=1 and flush=all
237: [05:00:52] <abitran> everything else works fine..
238: [05:01:36] <abitran> I moved to lighttp cause apache was using so much memory that my mysql server was crashing...
239: [05:01:52] <abitran> is a tier server from amazon.. the basic one..
240: [05:01:53] <willr> And not nginx?
241: [05:02:00] <abitran> I could try..
242: [05:02:43] <willr> Never used lighttpd myself. I think nginx would be a better bet though that doesn’t solve the problem. Does your date function require something on the server?
243: [05:03:01] <abitran> nop..
244: [05:03:27] <abitran> is a simple $Date.ShortMonth inside a template
245: [05:19:34] * ajmitch quit (Ping timeout: 240 seconds)
246: [05:20:23] * ajmitch has joined #silverstripe
247: [05:21:39] * adrexia quit (Quit: Textual IRC Client: www.textualapp.com)
248: [05:21:53] * adrexia has joined #silverstripe
249: [05:26:11] <willr> adrexia enjoying the new job?
250: [05:26:27] <adrexia> So far.
251: [05:26:36] <adrexia> Miss using a mac though
252: [05:26:52] <adrexia> and all the good irc clients don't work on linux
253: [05:27:03] <adrexia> which is a little ironic
254: [05:28:10] <adrexia> tempted to bring my macbook air in just for comms
255: [05:28:19] <willr> Not allowed to use OSX?
256: [05:29:33] <adrexia> not sure on what the exact rules are, but as far as desktop goes, we had a choice of Windows or Linux.
257: [05:30:00] <adrexia> and, well, terminal's are important
258: [05:30:55] <willr> strange then to offer windows
259: [05:31:04] <adrexia> I thought so too
260: [05:31:21] <adrexia> perhaps its just a hardware cost thing
261: [05:32:35] <willr> Should’ve come to DNA then. You’d got one of our high spec’d 27’ macs :D
262: [05:32:59] <willr> mmm 16gb of RAM and SSDs.
263: [05:33:12] <adrexia> :D
264: [05:33:33] <abitran> ok willr
265: [05:33:43] <abitran> running ngingx now
266: [05:33:56] <abitran> haha.. and Date appears
267: [05:34:14] <abitran> On: 17 Dec 2013
268: [05:34:37] <abitran> really strange.. but.. well.. problem fixed.. mysql will not crash..
269: [05:35:47] <willr> Super odd abitran. I’m sure there is a logical explaination somewhere for it :)
270: [05:37:13] <simon_w|air> willr, 16 GB and it's high spec'd? Man, how bad are the low spec ones? :p
271: [05:37:29] <willr> 4gb out of the box when I bought the last round
272: [05:38:26] <willr> looks like 8gb out of the box these days.
273: [05:38:49] <simon_w|air> Or 32
274: [05:38:58] <willr> They haven’t announced the retina air’s yet have they? I’m waiting for those
275: [05:39:25] <simon_w|air> You know retina machines are crap without dedicated GPUs, right?
276: [05:39:58] <willr> Better than running my air at 2x DPI
277: [05:40:20] <willr> guess a retina iPad and use that as a secondary display would work.
278: [05:41:07] <simon_w|air> Or just a rMBP
279: [05:41:23] <simon_w|air> They get more RAM than those 27" iMacs you've got :p
280: [05:42:49] <willr> hmm more of a workout for all the travel with it
281: [05:42:54] <willr> save me going to the gym
282: [05:42:58] <willr> :P
283: [05:43:12] <simon_w|air> Well, they're insanely light too
284: [05:43:20] <simon_w|air> Caitlin's laptop just feels flimsy
285: [05:44:19] <willr> yeah only 200g heavier :P
286: [05:44:36] <adrexia> I just miss software where someone has put effort into making the ui nice.
287: [05:45:07] <simon_w|air> adrexia, that's why I've stopped using Sublime
288: [05:45:10] <adrexia> Whoever recommended this textual irc client was right. It's pretty awesome. Can even edit the stylesheets
289: [05:46:05] <simon_w|air> Only thing I miss on the linux box at work's Dash
290: [05:46:55] <simon_w|air> And autocomplete
291: [05:50:11] <abitran> irssi is quite good..
292: [05:51:35] <simon_w|air> Hehe, irssi
293: [05:51:44] <adrexia> really?
294: [05:53:13] <simon_w|air> adrexia, only from a features point of view, and that you can run it headless
295: [05:53:56] <simon_w|air> (which is its main feature)
296: [05:53:57] <adrexia> ahh, right. I need little in the way of features. Just need a nice interface for chatting across multiple channels
297: [05:54:14] <adrexia> which, it turns out, is hard to find
298: [05:54:23] <simon_w|air> Looked at xchat?
299: [05:54:27] <simon_w|air> Is my linux client
300: [05:54:41] <adrexia> Yeah, I looked at xchat and Konversation.
301: [05:55:03] <adrexia> went with Konversation because I couldn't seem to get xchat to work within the minute I gave it
302: [05:55:05] <abitran> BitchX was my first one..
303: [05:55:16] <adrexia> however, not having logs inline is a bit of a pain
304: [05:56:36] <adrexia> Textual is pretty much what I'm looking for. Pity it's OSX only
305: [05:56:53] * simon_w|air quit (Remote host closed the connection)
306: [05:57:25] <adrexia> checking out this though, as it looks promising: https://github.com/thedjpetersen/subway
307: [05:57:28] * simon_w|air has joined #silverstripe
308: [05:57:38] <simon_w|air> Textual isn't that stable in 10.10 DP4. Though it's also the most unstable DP so far...
309: [05:58:13] * adrexia_ has joined #silverstripe
310: [05:58:17] <simon_w|air> And it hides its style customisation.
311: [05:58:34] <simon_w|air> Apps that make style customiasation a main feature usually do so because they suck at design.
312: [05:58:56] <adrexia> It was pretty easy to find and edit the styles...
313: [05:59:29] <adrexia> but I went with this theme, and tweaked it only a little in the end: https://github.com/yyyc514/textual_bonfire_style
314: [05:59:45] <simon_w|air> I'm just using an inbuilt one
315: [06:01:04] <adrexia> I'm pretty fussy. I went to edit an inbuilt one then decided to look around. Tried a couple, and decided I actually wanted a lightish theme for this sort of thing
316: [06:01:09] <simon_w|air> Still haven't found the style files, though I'm not actively looking
317: [06:01:27] <simon_w|air> Heh, and yet you use a mac ;)
318: [06:01:44] <adrexia> preferences > styles > Browse style files
319: [06:02:08] <adrexia> I like the mac ui :P
320: [06:02:31] <adrexia> and I've used just about every OS I'm come across.
321: [06:02:36] <adrexia> *I've
322: [06:03:09] <abitran> I was forced to buy a mac myself.. the main reason was that I needed a robust notebook.. and searching in the pc side.. lenovo was an option.. but I read so many reviews of people against these lenovos, that I decided to go for the macbook
323: [06:03:15] <simon_w|air> All you need to learn is how to configure a windowing manager to suit your style :p
324: [06:03:41] <abitran> of course.. lenovo + linux
325: [06:03:50] <adrexia> turns out you also need to convince people that it's ok to make pretty things for Linux
326: [06:04:06] <adrexia> because you probably don't want to make a custom app for every task
327: [06:05:21] <abitran> macport was the solution..
328: [06:05:32] <simon_w|air> abitran, it really isn't
329: [06:05:33] <abitran> I run all my opensource stuff
330: [06:06:22] <adrexia> well, it's certainly *a* solution ;)
331: [06:06:37] <simon_w|air> adrexia, so's using telnet for IRC ;)
332: [06:06:47] <abitran> simon_w|air: was my first time with a mac.. imagine that I couldn't get how to get the sliders to work..
333: [06:07:14] <adrexia> I have to say, it's much easier to find the files you are after on Linux.
334: [06:07:30] <adrexia> Mac hide everything important away
335: [06:08:00] <simon_w|air> That's only in Finder
336: [06:08:09] <simon_w|air> Finder is much nicer to use than whatever Gnome gives me
337: [06:08:10] <adrexia> nah, terminal
338: [06:08:31] <simon_w|air> Really? What's hidden in termnal?
339: [06:08:42] <ss23> FIGHT FIGHT FIGHT
340: [06:08:46] * ss23 claps his hands
341: [06:08:47] <adrexia> nothing is hidden. things are just in odd places
342: [06:08:47] <ss23> FIGHT FIGHT FIGHT
343: [06:08:52] <adrexia> no
344: [06:09:08] * ss23 has joined #silverstripe
345: [06:09:09] * adrexia laughs
346: [06:09:10] <ss23> :(
347: [06:09:17] <simon_w|air> Ooh, Textual has an awesome default kick message
348: [06:09:22] <ss23> hahah
349: [06:09:25] <ss23> I thought you typed that XD
350: [06:09:39] <adrexia> I like it :D
351: [06:09:51] <simon_w|air> ss23, also, this is a conversation. It may be a foreign concept to you.
352: [06:09:58] <simon_w|air> It's rather different from a fight
353: [06:10:18] <adrexia> Yeah, fewer broken bottles
354: [06:10:22] <simon_w|air> adrexia, fair enough. I've grown up with BSD-based systems (home and uni), so know where things are
355: [06:10:42] <adrexia> It suprised me a little.
356: [06:10:53] <abitran> ok.. time to sleep.. bye guys!
357: [06:11:01] <adrexia> takes so much less time to, for example, set up vhosts on linux
358: [06:11:05] <adrexia> later
359: [06:11:35] <adrexia> the things that relate to each other all seem to live in the same place.
360: [06:12:37] <adrexia> So, this looks promising: https://github.com/thedjpetersen/subway
361: [06:12:57] <adrexia> set it up and ran it. Would be super easy to customize
362: [06:13:27] <adrexia> just got to get over the fact that I'd prefer an app to a browser client
363: [06:14:03] <simon_w|air> But then you don't get to deal with browser-specific bugs! Especially on Linux! :p
364: [06:15:01] <adrexia> I use chrome. It's pretty good ;)
365: [06:16:17] <simon_w|air> I still haven't gotten used to the Chrome dev tools, and the Firefox ones are just rubbish
366: [06:16:34] <simon_w|air> I wonder if there's a Linux Webkit browser...
367: [06:18:03] <adrexia> I passed that hurdle years ago. Though still use firebug for firefox
368: [06:18:14] <adrexia> the built in tools are... too different
369: [06:19:14] <simon_w|air> I like the new WebKit tools over the old (and Blink) ones
370: [06:23:59] * adrexia_ quit (Quit: node-irc says goodbye)
371: [06:24:22] * adrexia_ has joined #silverstripe
372: [06:25:43] * adrexia_ quit (Client Quit)
373: [06:26:29] * chillu has joined #silverstripe
374: [06:28:47] * chillu quit (Read error: Connection reset by peer)
375: [06:30:17] * willr quit (Quit: willr)
376: [06:31:19] * babak has joined #silverstripe
377: [06:41:44] * CodeTrap has joined #silverstripe
378: [06:52:02] * CodeTrap1 has joined #silverstripe
379: [06:54:29] * CodeTrap quit (Ping timeout: 256 seconds)
380: [06:57:03] * SightUnseen has joined #silverstripe
381: [06:57:19] * adrexia_ has joined #silverstripe
382: [06:57:20] * SightUnseen has left #silverstripe
383: [07:01:08] * CodeTrap has joined #silverstripe
384: [07:02:59] * CodeTrap1 quit (Ping timeout: 256 seconds)
385: [07:14:19] * CodeTrap1 has joined #silverstripe
386: [07:15:07] * adrexia_ quit (Remote host closed the connection)
387: [07:16:01] * CodeTrap quit (Ping timeout: 256 seconds)
388: [07:17:22] * SightUnseen has joined #silverstripe
389: [07:18:11] * SightUnseen has left #silverstripe
390: [07:20:55] * joelpittet quit (Remote host closed the connection)
391: [07:24:08] * willr has joined #silverstripe
392: [07:24:23] * adrexia_ has joined #silverstripe
393: [07:24:41] * adrexia_ quit (Client Quit)
394: [07:58:07] * Kingy is now known as Kingy[a]
395: [08:15:14] * adrexia quit (Quit: Textual IRC Client: www.textualapp.com)
396: [08:15:35] * adrexia has joined #silverstripe
397: [08:34:13] * zippy__ has joined #silverstripe
398: [08:37:05] * simon_w|air quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
399: [08:46:29] * Shrike_Finland has joined #silverstripe
400: [08:56:23] * SightUnseen has joined #silverstripe
401: [09:03:34] * zippy__ quit (Ping timeout: 240 seconds)
402: [09:07:08] * willr quit (Quit: willr)
403: [09:32:08] * adrexia quit (Read error: Connection reset by peer)
404: [09:34:18] * SightUnseen has left #silverstripe
405: [10:08:11] * adrexia has joined #silverstripe
406: [10:20:08] * adrexia quit (Read error: Connection reset by peer)
407: [10:46:55] * Shrike_Finland quit (Quit: Leaving.)
408: [10:56:00] * CodeTrap1 quit (Remote host closed the connection)
409: [10:56:18] * CodeTrap has joined #silverstripe
410: [11:03:57] * simon_w quit (Quit: This computer has gone to sleep)
411: [11:35:14] * gelignite has joined #silverstripe
412: [11:46:18] * r_hector quit (Quit: Leaving.)
413: [11:59:39] * oetiker quit (Remote host closed the connection)
414: [12:09:22] * CodeTrap quit (Ping timeout: 245 seconds)
415: [12:11:07] * CodeTrap has joined #silverstripe
416: [12:18:16] * simon_w has joined #silverstripe
417: [12:18:16] * simon_w quit (Client Quit)
418: [13:09:28] * babak quit (Quit: Connection closed for inactivity)
419: [13:35:44] * CodeTrap quit (Remote host closed the connection)
420: [13:36:05] * CodeTrap has joined #silverstripe
421: [15:25:32] * ezero quit (Ping timeout: 240 seconds)
422: [15:35:49] * CodeTrap quit (Remote host closed the connection)
423: [15:37:50] * ezero has joined #silverstripe
424: [15:48:46] * muskie9 has joined #silverstripe
425: [15:56:06] * Shrike_Finland has joined #silverstripe
426: [16:26:15] * Shrike_Finland1 has joined #silverstripe
427: [16:26:16] * Shrike_Finland quit (Read error: Connection reset by peer)
428: [16:37:32] * smash_ has joined #silverstripe
429: [16:41:49] * smash_ quit (Ping timeout: 246 seconds)
430: [17:48:48] * Shrike_Finland1 quit (Quit: Leaving.)
431: [18:24:23] * Shrike_Finland has joined #silverstripe
432: [18:32:08] * Shrike_Finland quit (Quit: Leaving.)
433: [18:44:09] * Shrike_Finland has joined #silverstripe
434: [19:11:17] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
435: [19:43:49] * Shrike_Finland quit (Quit: Leaving.)
436: [20:07:39] * Kingy[a] is now known as Kingy
437: [20:07:47] <Kingy> morning
438: [20:21:18] * oetiker has joined #silverstripe
439: [20:40:25] * nickmolhoek has joined #silverstripe
440: [20:41:38] * Olliepop has joined #silverstripe
441: [20:43:55] <Stomach> howdy
442: [20:44:23] <Kingy> how ya going Stomach
443: [20:44:32] <Stomach> pretty alrighty
444: [20:44:39] <Stomach> had a quiet weekend
445: [20:44:42] <Stomach> how about yourself?
446: [20:44:51] <Kingy> yeah much the same
447: [20:45:05] <Kingy> was about to mention the php conference to the boss
448: [20:45:17] <Kingy> and he just came over and said he's probably going to send me along
449: [20:45:18] <Kingy> hells yeah
450: [20:46:30] * mobiusnz has joined #silverstripe
451: [20:51:30] * Ryan-Toast has joined #silverstripe
452: [20:51:41] <Stomach> oh nice
453: [20:51:46] <Stomach> that sounds like it will be alright to go ot
454: [20:51:47] <Stomach> to*
455: [20:52:04] <Kingy> yeah hope so
456: [20:52:11] <Kingy> I think a number of people from here are going
457: [21:04:54] <Ryan-Toast> what are this?
458: [21:05:27] <Kingy> php conf
459: [21:05:40] <Ryan-Toast> Which one?
460: [21:05:41] <Kingy> http://www.phpconference.co.nz/
461: [21:18:30] * micmania1 has joined #silverstripe
462: [21:34:20] <Kingy> https://pbs.twimg.com/media/BuJOSeWCQAAWgDW.jpg:large
463: [21:40:48] * micmania1 quit (Quit: micmania1)
464: [21:45:01] * Colin[pi] has joined #silverstripe
465: [21:45:15] <Colin[pi]> moin moin
466: [21:45:30] <Kingy> hey colin
467: [21:45:35] <Kingy> good flight back?
468: [21:45:38] <Colin[pi]> hey man! how's it going?
469: [21:46:01] <Kingy> yeah not bad, quiet weekend
470: [21:46:09] * gelignite quit (Quit: http://bit.ly/nkczDT)
471: [21:46:36] <Colin[pi]> yeah flight was good, someone forget to turn on the fan in Welly on Sunday
472: [21:47:03] <Colin[pi]> Saturday was windy as hell, when I woke up on Sunday it was almost silent outside
473: [21:47:15] <Colin[pi]> which made me happy for my flight :)
474: [21:47:19] <Kingy> haha yeah it's beautiful day here today
475: [21:48:12] <Colin[pi]> nice
476: [21:48:13] * willr has joined #silverstripe
477: [21:48:32] <Kingy> so Colin[pi] you're not coming back for the php conference at the end of the month then? :P
478: [21:49:21] <Colin[pi]> Kingy: haha no, I've done too much travel over the past month already
479: [21:50:21] <Colin[pi]> was good though, you didn't get sick did you?
480: [21:50:45] <Kingy> nah I was good. Did you?
481: [21:51:21] <Colin[pi]> yeah my hangover on the friday morning continued and didn't really go away :(
482: [21:51:33] <Colin[pi]> I spent a lot of time in bed over the next two days :(
483: [21:51:50] <Colin[pi]> some sort of flu
484: [21:52:09] <Kingy> oh really, that's kinda shit
485: [21:52:15] <Kingy> ruins a decent mini-holiday
486: [21:52:27] <Colin[pi]> yeah I was pretty angry lol
487: [21:52:33] <Colin[pi]> but rh, what can you do...
488: [21:52:35] <Colin[pi]> *eh
489: [21:52:57] * micmania1 has joined #silverstripe
490: [21:53:02] <Kingy> yeah that's true
491: [21:53:42] <Colin[pi]> Kingy: thing is I got the cheap room thinking I wasn't going to spend much time in the hotel, FFFFUUUU
492: [21:54:02] <Kingy> ahaha oh yeah that's gotta suck
493: [21:54:16] <Kingy> if I was sick i probably would've just spent the extra money and gone to a nice place for the night
494: [21:54:29] <Colin[pi]> Kingy: I managed :D
495: [21:54:44] <Colin[pi]> I slept for 12 hours on the Friday night
496: [21:55:10] <Kingy> wow nice
497: [21:55:13] <Colin[pi]> irogue also got sick :(
498: [21:55:18] <Kingy> im surprised in that room
499: [21:55:25] <Kingy> jeez sounds like I was lucky
500: [21:55:30] <Kingy> antmas?
501: [21:55:38] <Colin[pi]> I think he's ok for now
502: [21:55:47] <Colin[pi]> there was a bad flu going around the SS offices for a bit
503: [21:55:53] <Colin[pi]> irogue thought maybe he got it from there
504: [22:10:09] * zippy__ has joined #silverstripe
505: [22:10:11] <zippy__> iz
506: [22:10:23] <zippy__> o/
507: [22:10:28] * zippy__ is now known as zippy
508: [22:16:23] * simon_w|air has joined #silverstripe
509: [22:17:39] <Colin[pi]> morning simon_w|air!
510: [22:18:15] * simon_w|air quit (Read error: Connection reset by peer)
511: [22:18:23] <Colin[pi]> :(
512: [22:18:29] * simon_w|air has joined #silverstripe
513: [22:18:34] <Kingy> he saw you and left
514: [22:18:35] <Kingy> lol
515: [22:18:35] <Colin[pi]> :)
516: [22:28:57] <zippy> lol
517: [22:29:08] <zippy> Colin[pi]: still over this way eh?
518: [22:29:19] <Colin[pi]> zippy: nope! back in Canberra
519: [22:29:27] <zippy> early start
520: [22:29:29] * pippy has joined #silverstripe
521: [22:29:43] <Colin[pi]> zippy: yeah I had 90 emails in my inbox to attend to ;C
522: [22:29:55] <simon_w|air> Colin[pi], BACK TO WORK
523: [22:30:08] <zippy> yes to all - havn't you seen Bruce Almighty!
524: [22:30:09] <Colin[pi]> simon_w|air: YES SIR ;_;
525: [22:30:13] <Kingy> fuck I hate that
526: [22:30:15] <Colin[pi]> zippy: lol
527: [22:30:33] <Colin[pi]> Kingy: yeah it's like... out of office message, who the fuck even listens to that any more? :(
528: [22:30:42] <Kingy> haha yeah
529: [22:30:55] <Kingy> "oh he's out of office and the country... better give him a call"
530: [22:33:00] <zippy> ofc...
531: [22:33:11] <zippy> that button needs to move 1px down and it urgent
532: [22:33:20] <Kingy> haha
533: [22:33:36] <Kingy> i'm glad that my 'clients' are all internal to the business
534: [22:33:42] <Kingy> so they know when i'm away and don't bother me
535: [22:33:43] <zippy> :)
536: [22:33:46] <ss23> Comes with advantages and disadvantages :O
537: [22:33:53] <ss23> Internal clients know your cellphone number ;)
538: [22:34:08] <zippy> They know where your desk is, you can't "hide" offline for a day
539: [22:34:10] <Kingy> well that's true
540: [22:34:23] <Kingy> ah but I work from home and in 2 different offices
541: [22:34:29] <Kingy> so I can lol
542: [22:34:47] <Kingy> ss23: you going to php conference ?
543: [22:35:12] <simon_w|air> ss23, not even sure if my boss knows my cellphone number
544: [22:35:14] <ss23> nope!
545: [22:35:30] <ss23> bbl optimitrist :O
546: [22:35:33] <zippy> Is it possible to get an ID from a pivot table? If my class has many_many children, how can I get the join ID of that perticular classroom and child? I am using a honky DB::query('SELECT to get it currently..
547: [22:35:49] <simon_w|air> zippy, what do you need it for?
548: [22:36:08] <Colin[pi]> <@ss23> Internal clients know your cellphone number
549: [22:36:10] <Colin[pi]> ^ lol
550: [22:36:14] <Colin[pi]> one asked me the other week
551: [22:36:26] <Colin[pi]> "why dont you have your cellphone number on your business card?"
552: [22:36:29] <Colin[pi]> i'm like
553: [22:36:35] <Colin[pi]> do I really need to answer that?
554: [22:36:48] <Kingy> lol
555: [22:36:58] <Kingy> here are my methods of communication.. use them and onlllly them
556: [22:37:12] <Kingy> thing is, work gave me a work phone
557: [22:37:17] <Kingy> so I can't really escape it
558: [22:37:51] <Colin[pi]> Kingy: I give my cellphone to clients I *trust*
559: [22:37:58] <Colin[pi]> i.e. the non annoying ones
560: [22:38:07] <simon_w|air> Work put my personal mobile on my business card and I only found out when I got the box of 500
561: [22:38:50] <Colin[pi]> simon_w|air: ooooh, that's gotta suck
562: [22:39:05] <simon_w|air> So, I got them back my moving country!
563: [22:39:09] <simon_w|air> Muahahaha!
564: [22:39:21] <Colin[pi]> lol
565: [22:39:37] <Colin[pi]> kinda drastic but I can understand XD
566: [22:39:55] <zippy> simon_w|air: can it be done, or custom query the best
567: [22:40:16] <simon_w|air> zippy, it can't be done, but you usually don't need it
568: [22:41:19] <simon_w|air> Go time!
569: [22:41:21] * simon_w|air quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
570: [22:43:40] <Colin[pi]> btw such a small world
571: [22:43:48] <Colin[pi]> I'm walking back into canberra through the airport
572: [22:44:02] <Colin[pi]> and who should come walking towards me from the other direction?
573: [22:44:07] <Colin[pi]> shane from SS australia
574: [22:44:44] <Colin[pi]> at least now he saw that my gf was real and not imaginary :D
575: [22:45:30] <Ryan-Toast> lol
576: [22:45:48] <zippy> Colin[pi]: you still carrying around that cardboard cut out and trying to pass it off as?
577: [22:45:50] <Kingy> well I was wondering Colin[pi] :P
578: [22:46:03] <Kingy> showed me a picture on his phone
579: [22:46:05] <Colin[pi]> lol
580: [22:46:06] <Kingy> must be legit.. right guys
581: [22:46:16] <Ryan-Toast> My girlfriend has the subway I go to everyday on her route for Coca Cola, so now I can’t flirt with them for free stuff :(
582: [22:46:21] <Colin[pi]> haha
583: [22:47:09] <Ryan-Toast> WHAT HAVE YOU DOE, WOMAN? FULL PRICE DANISHES?
584: [22:47:50] <Kingy> "Security... Ryan-Toast is stalking me again"
585: [22:48:36] <zippy> subway do danishes?
586: [22:48:46] <Ryan-Toast> Kingy: I have been conditioned by every romance movie I have been dragged to that if you’re good looking then stalking is endearing
587: [22:48:59] <Ryan-Toast> zippy: Yeah, man. Custard and apricot. Pretty good.
588: [22:49:23] <Kingy> zippy: yes they're awesome
589: [22:49:30] * muskie9 has joined #silverstripe
590: [22:49:59] <Colin[pi]> <Ryan-Toast>: ...if you’re good looking then stalking is endearing <-- wow, must be rough at the other end of the scale right?
591: [22:50:01] <Colin[pi]> ;P
592: [22:50:06] <Ryan-Toast> Colin[pi]: Defs
593: [22:50:12] <Ryan-Toast> Colin[pi]: Have to go to court all the time
594: [22:50:18] <Colin[pi]> lol
595: [22:50:24] <Ryan-Toast> Colin[pi]: the duct tape and rope was for a home project, I swear.
596: [22:50:34] <Kingy> Ryan-Toast: "dragged to" uh-huh
597: [22:50:47] <Colin[pi]> "It puts the lotion on it's skin..."
598: [22:50:48] <Ryan-Toast> Kingy: :3
599: [22:52:32] <zippy> man...
600: [22:52:50] <Colin[pi]> Ryan-Toast: you missed this, like, totally awesome talk on Haskell at the conference
601: [22:52:50] <zippy> someone has stuck their dick in this css and fucked it cos it's fucked!
602: [22:53:13] <Ryan-Toast> Colin[pi]: lol.
603: [22:53:23] <Colin[pi]> Ryan-Toast: I almost fell asleep three times
604: [22:53:35] <Ryan-Toast> Colin[pi]: haha, why the shit was there a Haskell presentation?
605: [22:53:41] <Colin[pi]> Ryan-Toast: ikr?
606: [22:53:54] <Colin[pi]> I think she was supposed to be showing functional programming fundamentals
607: [22:54:06] <Colin[pi]> but 5 mins in, as antmas said.. "I've made a HUGE mistake..."
608: [22:54:25] <Colin[pi]> (as there was another talk on and we chose this one)
609: [22:54:48] <Ryan-Toast> Colin[pi]: Leave get a beer, come back.
610: [22:55:01] <Colin[pi]> Ryan-Toast: she was from Red Hat, so that should have given us a clue
611: [22:55:06] <Kingy> omg yes
612: [22:55:26] <Kingy> we were like, meh it's comfy here and it has pictures
613: [22:55:27] <Kingy> 2 minutes late
614: [22:55:29] <Kingy> nope!
615: [22:55:32] <Colin[pi]> lool
616: [22:55:38] <Kingy> snails eating other snails, i mean wtf
617: [22:55:55] <Colin[pi]> lol even the friendly helpful pictures didn't make sense
618: [22:55:59] <Kingy> she's going to be at the php conference as well
619: [22:56:03] <Colin[pi]> oh dear god
620: [22:56:09] <Kingy> Colin[pi]: ikr... it was just weird
621: [22:56:20] <Colin[pi]> Kingy: btw remember how substack was kinda awkward when I said hi to him?
622: [22:56:24] <Kingy> if she'd used a better language and better pictures then i think it would've been better
623: [22:56:28] <Kingy> yea?
624: [22:56:35] <Colin[pi]> everyone I talked to said he was the same
625: [22:56:44] <Colin[pi]> which is weird because he's so confident on stage
626: [22:56:51] <Kingy> yeah he made a bee-line to that small group in the corner and chatted to them
627: [22:57:17] <Kingy> I felt quite bad when Silvia came and talked to us, and we were both like yeah we went to the SS talk
628: [22:57:26] <Colin[pi]> LOL yeah
629: [22:57:46] <Colin[pi]> she was the first to approach us, and I'm like "OH SHIT, that's the woman from the talk I *didn't* watch!"
630: [22:57:52] <Kingy> apparently that was surprisingly good as well
631: [22:58:00] <Kingy> aha I didn't even know she was a speaker
632: [22:58:10] <Kingy> I just thought it was a random coming to introduce themselves
633: [22:58:10] <Colin[pi]> Kingy: I remembered her face from the program
634: [22:58:20] <Kingy> glad you did haha
635: [22:58:29] <Colin[pi]> Kingy: she obviously thought we were hot stuff dude
636: [22:58:40] <Colin[pi]> XD
637: [22:58:47] <zippy> lol
638: [22:59:00] <Kingy> don't blame her really lol
639: [22:59:03] <Colin[pi]> ahaha
640: [22:59:05] <Kingy> chatted for ages as well
641: [22:59:10] <Colin[pi]> yeah she was quite nice
642: [23:02:19] * adrexia has joined #silverstripe
643: [23:02:46] <Kingy> facepalm!
644: [23:03:10] <Kingy> "so its not an option to add a box that just marks a 1 or tick or yes if they have shared it on the spreadsheet"
645: [23:04:59] <Colin[pi]> huh?
646: [23:05:48] <Kingy> I set up a competition type page on our website, where basically if you sign up to a newsletter you go into the draw to win a trip to bathurst
647: [23:07:07] <Kingy> anyway they said don't spend lots of time on it, so I didn't. Basically the only way to see who is entered is to see who is subscribed to the newsletter
648: [23:07:13] <Kingy> i'm not really storing any other info
649: [23:07:27] <Kingy> now she comes back with "I want to add fb/twitter share buttons which gives them another entry"
650: [23:08:16] <Colin[pi]> sigh
651: [23:09:16] <Kingy> and so my response was and where are we going to store this extra entry
652: [23:09:22] <Kingy> lol
653: [23:09:28] <Kingy> now she's pissed at me lol
654: [23:09:43] <Kingy> "nevermind will just forget it"
655: [23:09:44] <Kingy> haha
656: [23:09:54] <mobiusnz> http://nzbillboards.tumblr.com/image/93481528042
657: [23:09:58] <Colin[pi]> lol
658: [23:10:12] <zippy> lol
659: [23:11:29] <Colin[pi]> Kingy: it's a wonder you didn't get the "well, YOU'RE the EXPERT!" response
660: [23:11:44] <Kingy> well yeah
661: [23:12:16] <Kingy> but im just waiting so i can say.. well if you actually listened to me initally and let me spend a decent amount of time
662: [23:12:41] <Colin[pi]> and you'll get some bs excuse
663: [23:12:58] <Kingy> of course
664: [23:13:29] <Kingy> have a meeting this thursday where I basically have to plead the case to keep SS lol
665: [23:13:39] <zippy> http://37.media.tumblr.com/3d6a5df2fe33761651fe75f01efda0ab/tumblr_n9dfk7e5qH1ti79u7o1_500.png
666: [23:14:04] <Colin[pi]> zippy: oh wow that's creepy
667: [23:14:14] <Colin[pi]> Kingy: eek, good luck
668: [23:15:05] <Stomach> Kingy, just switch to joomla and join the master race already
669: [23:15:32] * Colin[pi] slaps Stomach with a giant halibut
670: [23:16:05] <Stomach> would you like to store that halibut under "fish" "sea creature" "white flesh" and "delicious"?
671: [23:16:08] <Kingy> Stomach: well I have a feeling my old boss used Drupal and ofc that did everything he ever wanted
672: [23:16:14] <Colin[pi]> Stomach: yes
673: [23:16:17] <Stomach> joomla has a taxonomy system to suit your need!
674: [23:16:24] * Phlunk3 has joined #silverstripe
675: [23:16:29] <Kingy> actually by the sounds it may have been joomla
676: [23:16:31] <Kingy> lol
677: [23:16:45] <Kingy> this document im reading mentions taxonomy a billion times
678: [23:16:49] <Kingy> and draggable widgets
679: [23:17:09] <Kingy> "We want the editors to be able create a new page and using draggable widgets..."
680: [23:17:11] <Kingy> just no
681: [23:18:58] <Olliepop> Kingy a guy I was working for a year ago wanted something like that and I swear to god linked a javascript drag and drop tutorial and suggested i copy that
682: [23:19:17] <Kingy> Olliepop: nice!
683: [23:19:26] <zippy> done in 2 mins
684: [23:19:47] <Olliepop> so helpful
685: [23:20:08] * Ryan-Toast quit (Quit: Ryan-Toast)
686: [23:20:32] <muskie9> does the Blog module support syntax highlighting i.e. what UC does in his blog
687: [23:20:40] <muskie9> by default
688: [23:21:24] <Phlunk3> have seen a few setups in TYPO3 with flexible content elements which were made draggable, actually quite nice for a user who can't understand ordering/position assignment, not that you'd really want those users having access to your cms ;)
689: [23:23:04] <Kingy> I really don't want them changing page layouts on a whim
690: [23:23:28] <Kingy> I'm all for creating a few different templates (2 or 3 column for example)
691: [23:23:46] <Kingy> but jesus I can imagine the clusterfuck that is a site that has 10 different editors creating their own layouts
692: [23:24:49] <Phlunk3> ahh, figured a layout would need to be created anyway and they just dragged the elements to the column they wanted them in or so. I really need to start playing with silverstripe more, thinking about trying to find a job working with this cms :)
693: [23:25:46] <Kingy> Phlunk3: that is kind of what he wants, but then he just wants a blank canvas
694: [23:26:13] <Phlunk3> got ya
695: [23:26:54] <Kingy> then again I really don't know what they want lol
696: [23:27:37] <Phlunk3> if you make a drag and drop interface, then add the ability to drag in say a column template which itself can have items dragged into it then you're all sorted ;) again I have done this in t3 but from what I've seen of ss it doesnt sound like a likely solution. Have you considered killing the clients technical lead and seeing if the next one has some easier requirements?
697: [23:28:45] <Kingy> well you nailed both points of view there
698: [23:28:46] <Kingy> his and mine haha
699: [23:30:10] * irogue_ has joined #silverstripe
700: [23:30:19] * AdriAn_s has joined #silverstripe
701: [23:33:05] <Kingy> morning irogue_
702: [23:35:48] <pippy> Phlunk3: ug, Typo3. Horrible CMS. who ever thought typoscript was a good idea?
703: [23:36:24] <Kingy> anyone seen/used this before? http://www.page-elements.com/
704: [23:36:25] <pippy> Phlunk3: the drag and drop content elements were great for a semi savvy user, but most people couldn't understand them
705: [23:36:47] <irogue_> Kingy: g'day
706: [23:37:12] <Kingy> irogue_: I hear you all got sick?
707: [23:37:26] <irogue_> Kingy: yeeeep
708: [23:37:38] <irogue_> Kingy: page-elements looks like it hasn't been updated for a while, requires ss 2.4
709: [23:38:01] <Kingy> yeah github updated 2 years ago lol
710: [23:38:21] <muskie9> Kingy, used in 2.4 with mixed results
711: [23:38:42] <muskie9> mainly for FB apps and such
712: [23:38:45] <Kingy> won't be using that then
713: [23:38:49] <Phlunk3> typo3 was actually very nice to work with back when I was using it. typoscript definitely an ugly tool though lol, took a while to learn but it did mean a lot could be done without touching files.
714: [23:39:09] <AdriAn_s> hey guys, have an include on a template but when it appears the scope of the include changes to the base class ( page.php) and not the class of the object that I an looping inside the page the include is on. how can i access the same scope inside the include?
715: [23:40:35] <Colin[pi]> heya irogue_
716: [23:40:39] <Colin[pi]> feeling any better?
717: [23:42:52] <pippy> Kingy: page elements looks like it would be great for large organisations with many different page designs. The ability to put in JS in a page looks great out the box
718: [23:43:56] <Phlunk3> can anyone point me to documentation regarding package creation?
719: [23:45:00] <pippy> Phlunk3: http://grossi.io/2013/creating-your-first-composer-packagist-package/ ?
720: [23:45:18] <Kingy> pippy: yeah which is what they want kind of. Will find out on thursday exactly what they want anyway
721: [23:46:03] <muskie9> Phlunk3 https://getcomposer.org/doc/02-libraries.md
722: [23:46:31] <Phlunk3> thanks, sorry thought it would be ss specific :) guess I better learn how to use composer finally.
723: [23:47:21] <muskie9> Phlunk3, I'm still pretty new to composer... finally got comfortable with git and now that's the next step ;)
724: [23:47:30] <Phlunk3> do we need to reserve names anywhere btw?
725: [23:48:19] <adrexia> there are some ss specific things
726: [23:49:23] <adrexia> basically if its a silverstripe module or theme your composer file needs to say so
727: [23:49:27] <adrexia> that's about it
728: [23:50:01] <irogue_> Colin[pi]: a little - I'm working today, albeit from home
729: [23:50:11] <Colin[pi]> :(
730: [23:50:15] <Colin[pi]> I'm still not 100%
731: [23:50:24] <irogue_> Colin[pi]: yesterday I was sweating out of every orifice in the middle of the night with no blankets
732: [23:50:27] <Colin[pi]> hi adrexia, nice to meet you over there
733: [23:50:33] <Phlunk3> okay, I am still pretty new to this just added a new container / child element classes. I guess that is what would be called a module?
734: [23:50:34] <muskie9> so if I found a syntax highlighter plugin for tinymce, what's the easiest way to implement it if I'm using git submodules for things like cms/framework... can't add it to the framework/thirdparty/tinymce/plugins/ dir with my setup
735: [23:50:38] <adrexia> modules need: "type": "silverstripe-module", (to avoid ending up in the vendor folder)
736: [23:50:48] <Colin[pi]> irogue_: did you get the shakes as well?
737: [23:51:01] <Phlunk3> everyone in our office is sick too, well except for me, roll on spring.
738: [23:51:02] <adrexia> themes need : "type": "silverstripe-theme",
739: [23:51:18] <irogue_> Colin[pi]: yep. and some minor chest pain
740: [23:51:28] <Colin[pi]> irogue_: sounds similar to mine, nasty :(
741: [23:51:30] <adrexia> I gopt sick too
742: [23:51:36] <adrexia> fever broke last night
743: [23:51:37] <Colin[pi]> adrexia: oh no :(
744: [23:51:56] <Phlunk3> thanks adrexia
745: [23:51:58] <Colin[pi]> adrexia: I never really recovered from my Friday handover LOL
746: [23:52:05] <Colin[pi]> *hangover
747: [23:52:52] <adrexia> I was suspecious Friday when I felt more drained than usual, but put it down to the night befoee
748: [23:53:34] <Kingy> I must be immune to shit
749: [23:53:38] <Kingy> I'm fine haha
750: [23:53:49] <Colin[pi]> Kingy: lucky because it was a pretty nasty one
751: [23:53:51] <Kingy> although I wasn't hanging around you all day friday
752: [23:53:58] <Colin[pi]> good for you lol
753: [23:54:03] <adrexia> or you were ground zero ;)
754: [23:54:07] <Colin[pi]> hehe
755: [23:54:39] <Colin[pi]> adrexia: yeah come to think of it, I feel AWFUL on friday morning, which surprised me because I had a bit to drink but not really that much overall
756: [23:54:39] <Kingy> I had a cold in May?
757: [23:54:46] <Kingy> holding on to it just for you
758: [23:55:12] <Kingy> Colin[pi]: that last beer we had at the conference was nasty
759: [23:55:23] <Colin[pi]> Kingy: ugh
760: [23:55:53] <Phlunk3> is there a standard way of handling scheduled tasks within ss?
761: [23:56:06] <Colin[pi]> Phlunk3: there sure is!
762: [23:56:06] <ss23> Phlunk3: Nope, because no matter what you do, you'll need a cron to actualyl do it
763: [23:56:10] <ss23> :O
764: [23:56:17] <ss23> I mean, depends how you define scheduling tasks!
765: [23:56:17] <Colin[pi]> ss23: semantics :P
766: [23:56:37] <Colin[pi]> he asked "standard within SS" - that's a yes :P
767: [23:56:41] <Kingy> do I say avoid Chronos?
768: [23:56:42] <Kingy> lol
769: [23:56:43] <ss23> wellllllllllll
770: [23:56:46] <ss23> haha Kingy
771: [23:56:58] <ss23> tbh that was built specifically to meet your needs as a client ;)
772: [23:57:08] <Kingy> serious?
773: [23:57:10] <ss23> Yes
774: [23:57:12] <ss23> We wanted to use cron
775: [23:57:16] <ss23> or anything else
776: [23:57:25] <ss23> But there was an explicit requirement that it have sub-second accuracy
777: [23:57:31] <ss23> So we had to build a new system from scratch to deal with it
778: [23:57:40] <Kingy> weird
779: [23:57:41] <Phlunk3> lol
780: [23:57:45] <Colin[pi]> sub-second accuracy? dafuq?
781: [23:57:53] <Kingy> I agree Colin[pi]
782: [23:57:54] <Kingy> lol
783: [23:57:55] <ss23> mm, one of those cases of business requirements being messed up and no one to be like "WHAT THE FUCK CLIENT?!"
784: [23:58:10] <Phlunk3> basically I mean, is there already a core ss cron which fires registered methods/how do I register one?
785: [23:58:11] <Kingy> yeah well they're paying for it now lol
786: [23:58:17] <Kingy> the thing is when it doesn't work they don't even complain much
787: [23:58:17] <Colin[pi]> struggling to think of many cases that would require that sort of accuracy
788: [23:58:19] <Kingy> just give me a heads up
789: [23:58:31] <Kingy> and I go nag igor
790: [23:58:33] <ss23> haha
791: [23:59:05] <Kingy> Colin[pi]: they mainly just use it for embargo functionality when publishing articles
792: [23:59:11] <Colin[pi]> mm
793: [23:59:14] <Kingy> and a few other things about updating certain tables/graphs
794: [23:59:26] <Kingy> none of it really requires sub-second accuracy though
795: [23:59:34] <Colin[pi]> yeah that's just.... overkill
796: [23:59:53] <irogue_> <Kingy> Colin[pi]: that last beer we had at the conference was nasty
797: [23:59:57] <irogue_> what beer was it?

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