#silverstripe IRC Log

IRC log for 12 February 2014

All timestamps are in UTC.

1: [00:00:07] <spronk> silverstripe should be handling this a bit nicer though :S
2: [00:03:15] * maknz has joined #silverstripe
3: [00:03:15] * maknz quit (Changing host)
4: [00:03:15] * maknz has joined #silverstripe
5: [00:03:49] <zippy__> can composer be used to upgrade silverstripe and modules? or can you really only use it to install ss. And modules are left in the cold given that they don't live under vendors?
6: [00:07:46] <zippy__> aparently it can be done, http://doc.silverstripe.org/framework/en/installation/composer but do people actually do it?
7: [00:09:16] * jrthomer has joined #silverstripe
8: [00:11:45] * Nimle has joined #silverstripe
9: [00:11:49] * micmania1 quit (Ping timeout: 248 seconds)
10: [00:12:50] <Nimle> Hi guys, the email sending ignores cc and bcc
11: [00:12:58] <Nimle> I also use smpt module
12: [00:13:03] <Nimle> not sure if it affects
13: [00:13:09] <Nimle> or it is a SS bug
14: [00:13:28] <zippy__> simon_w: I see digital ocean have a new sigapore dc
15: [00:14:31] <Colin[pi]> holy shit recaptcha is awful now
16: [00:14:41] <spronk> lolmm
17: [00:14:43] <spronk> GG google
18: [00:19:22] <Colin[pi]> lol google apps, "it seems your site is hosted with linode, go to the dns, enter a txt record with '@' as the name and verification code as the value"
19: [00:19:25] <Colin[pi]> I go to linode
20: [00:19:31] <Colin[pi]> "@ is an invalid name"
21: [00:19:33] <Colin[pi]> fffuuuu
22: [00:19:56] <Colin[pi]> i'll do it the other way ;P
23: [00:20:49] <azureknight> Hmm... Loop the Genre's or Loop the Articles with Pagination... Hrmm...
24: [00:27:22] <zippy__> simon_w: thou there is no difference in ping between sigapore and california… I think still working on their routing/peering
25: [00:30:21] * UncleCheese_ quit (Quit: UncleCheese_)
26: [00:30:31] <spronk> calif should be better tbh
27: [00:30:35] <spronk> because more direct cabling
28: [00:32:28] * Jakx has joined #silverstripe
29: [00:32:37] <Jakx> sup
30: [00:34:12] <Jakx> is there any reason why there isn't a fallback for how SS chooses it's home page?
31: [00:36:30] <Ryan-Toast> just finished making my misses card.
32: [00:37:25] <Ryan-Toast> it's pretty boss
33: [00:37:28] <Colin[pi]> show off
34: [00:37:45] <Ryan-Toast> I'll take a photo
35: [00:39:53] <Ryan-Toast> http://imgur.com/a/VEkJu
36: [00:40:31] <spronk> ss homepage is pretty crappily implemented
37: [00:40:35] <Colin[pi]> Ryan-Toast gonna get some
38: [00:40:53] <Ryan-Toast> Colin[pi]: yeah, boiiii
39: [00:40:56] <Colin[pi]> spronk: yeah you tell em spronk
40: [00:42:14] <Colin[pi]> wow one would think in this day and age that setting up an commercial SSL cert would be a more simple process
41: [00:42:27] <zippy__> Jakx: how you mean / what you trying to do?
42: [00:42:44] * Err404NotFound quit (Ping timeout: 250 seconds)
43: [00:43:14] <Jakx> zippy__, just had one of my clients rename there home url segment for 12 subsites...
44: [00:43:40] <Jakx> "There seems to be a bug with all of the sites now..."
45: [00:44:08] <Stomach> oh dear
46: [00:44:25] * maknz quit (Quit: My iMac has gone to sleep. ZZZzzz…)
47: [00:44:33] <Colin[pi]> lol subsites
48: [00:45:03] <Jakx> ^
49: [00:45:06] <Colin[pi]> how'd they get a pic of simon_w walking home? http://images.coolcoder.in/image/programmer-life.jpg
50: [00:46:26] <zippy__> spronk: maybe, but the distance… you should be able to get 100ms pings I would think
51: [00:46:45] * SightUnseen has joined #silverstripe
52: [00:48:05] <spronk> o_O
53: [00:48:22] <spronk> oh
54: [00:48:25] <spronk> calif
55: [00:48:30] <spronk> vs singy pore
56: [00:49:36] * SightUnseen1 has joined #silverstripe
57: [00:49:51] * SightUnseen quit (Read error: Connection reset by peer)
58: [00:54:51] * SightUnseen1 has left #silverstripe
59: [00:58:00] * maknz has joined #silverstripe
60: [00:58:01] * maknz quit (Changing host)
61: [00:58:01] * maknz has joined #silverstripe
62: [00:59:34] * Audlex has joined #silverstripe
63: [01:00:27] <antmas> mmmm teh sushi
64: [01:02:55] <Ryan-Toast> what did you get?
65: [01:03:56] <antmas> ummm
66: [01:04:01] <antmas> well, not actually sushi
67: [01:04:09] <antmas> lemme check the name
68: [01:04:17] <antmas> bento?
69: [01:04:28] <terryapodaca> sashimi
70: [01:04:49] <antmas> chicken, rice, salad bento thing
71: [01:07:48] <simon_w> Colin[pi], see those shoes? Not me :p
72: [01:08:51] * travis-ci has joined #silverstripe
73: [01:08:52] <travis-ci> [travis-ci] chillu/silverstripe-framework#136 (pulls/security-mailinglist-docs - 6052c53 : Ingo Schommer): The build has errored.
74: [01:08:52] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/commit/6052c53c5614
75: [01:08:52] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/18696359
76: [01:08:52] * travis-ci has left #silverstripe
77: [01:10:16] * Jakx has left #silverstripe
78: [01:14:31] <Ryan-Toast> antmas:Lame.
79: [01:14:43] <Ryan-Toast> You need some double crispy chicken avocado up in that bitch.
80: [01:17:43] * Nimle quit (Ping timeout: 245 seconds)
81: [01:18:28] <antmas> Ryan-Toast: I normally get that ;__; they were all out
82: [01:19:05] <Ryan-Toast> Got to call ahead and get them to make it fresh, son.
83: [01:20:16] <Ryan-Toast> antmas: I finished my card.
84: [01:23:14] * ccburns has joined #silverstripe
85: [01:23:15] * ccburns quit (Client Quit)
86: [01:23:19] * Bollig|DesignCty quit (Ping timeout: 272 seconds)
87: [01:24:46] * ccburns has joined #silverstripe
88: [01:27:00] * Bollig|DesignCty has joined #silverstripe
89: [01:28:30] * OxFF1 has left #silverstripe
90: [01:36:24] * srizzling has joined #silverstripe
91: [01:36:28] <zippy__> hmmmmmm....
92: [01:36:34] <zippy__> yaml configs....
93: [01:36:41] <ss23> hell
94: [01:37:07] <zippy__> I try and add my extension in the yml, fails to pull it up… but if I do DataObject::add_extension('SiteConfig', 'CustomSiteConfig'); in my _config.php - boom it works
95: [01:37:08] <simon_w> mmmmm, free lunch
96: [01:37:30] <ss23> :D
97: [01:37:35] <ss23> I've had free lunch the past two days in a row
98: [01:37:37] <ss23> SHIT IS CASH
99: [01:37:39] * ss23 spins
100: [01:38:50] <zippy__> dev/build and flush, and stand on one foot… this shit is fucked
101: [01:40:14] <antmas> ss23: pffft, I got free Belvita biscuits
102: [01:40:23] <ss23> idk what that is :O
103: [01:40:44] <antmas> ss23: lol http://image.motortrend.com/f/roadtests/coupes/1209_2013_honda_accord_first_look/43337829/2013-Honda-Accord-Sport-Sedan-front-three-quarters.jpg
104: [01:40:49] <antmas> whoops
105: [01:41:01] <antmas> http://www.belvitabreakfast.com/
106: [01:41:43] <zippy__> antmas: soo…. i pay my rates for you to look at cars at work eh!
107: [01:41:55] <antmas> zippy__: boom!
108: [01:42:22] <ss23> antmas: holy shit that website has to be the fucking worst thing I've seen in a long time
109: [01:42:46] <antmas> ss23: heh, the Belvita one?
110: [01:42:53] <ccburns> Hey guys - I've just upgraded a site from 3.0.x to 3.1.2 and some of the data isn't rendering correctly... I'm trying $g->renderWith('GoalDatatablesDetails') and I get {class:HTMLText}... - suggestions of where to look
111: [01:42:57] <ss23> yeah antmas
112: [01:43:17] <antmas> it's like the whole site is just a menu with massive images
113: [01:45:42] <antmas> I have a bone to pick with whoever made this http://www.localgovt.co.nz/site/whatsnew/
114: [01:45:46] <zippy__> right fixed, so, aparently --- is not a comment block
115: [01:45:59] <antmas> stupid ezines
116: [01:46:00] <ss23> hmm
117: [01:46:08] <ss23> I hat ethat localgov site
118: [01:46:13] <ss23> We made a site that parses shit from the front page
119: [01:46:17] <ss23> Like, manually, regex's it
120: [01:46:20] <ss23> Because they have no proper API
121: [01:46:34] <ss23> And their content isn't even entered properly, they enter more than one article in a single <div class="article"> style
122: [01:46:35] <antmas> all I need is a goddamn RSS feed
123: [01:46:37] <ss23> it's so bullshit
124: [01:46:43] <antmas> not a WALL OF WHOLEY SHIT
125: [01:48:50] <antmas> ss23: you know who made it?
126: [01:53:57] <ss23> Nope
127: [01:54:10] <ss23> <meta name="generator" content="MoST Content Management V3.0.3463">
128: [01:54:15] <ss23> how many people can use that, whatever it is?
129: [01:54:28] <Stomach> only people with firefox and internet explorer
130: [01:54:32] <ss23> MoST(TM) content management system was privately developed by Wellington web design and development company e-Xpert Developments Ltd.
131: [01:54:40] <ss23> Answer! :D
132: [01:58:43] * nickmolhoek quit (Quit: nickmolhoek)
133: [02:04:27] * ccburns quit (Quit: ccburns)
134: [02:04:58] * travis-ci has joined #silverstripe
135: [02:04:58] <travis-ci> [travis-ci] chillu/silverstripe-framework#137 (pulls/security-mailinglist-docs - 1121603 : Ingo Schommer): The build has errored.
136: [02:04:58] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/6052c53c5614...1121603da90d
137: [02:04:58] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/18698898
138: [02:04:58] * travis-ci has left #silverstripe
139: [02:05:56] <Stomach> http://www.getmost.info/
140: [02:06:28] <ss23> You need Java Script on your computer to build a site in MoST
141: [02:06:28] * noobie has joined #silverstripe
142: [02:06:31] <ss23> Misread that as "Java"
143: [02:06:38] <ss23> (Though who the hell writes "Java script" with a space?
144: [02:06:56] * noobie quit (Client Quit)
145: [02:07:17] <Ryan-Toast> People on drugs.
146: [02:07:29] <ss23> lol
147: [02:07:33] * Duh has joined #silverstripe
148: [02:07:57] * Duh is now known as Guest27742
149: [02:09:48] <Guest27742> quick question for all you silverstripers out there. I'm trying to write a cron job that goes and populates a dataobject. I'm using $listing = new ListingsObject(); with ListingsObject being the dataobject, but I cannot seem to set the attributes of the listing eg $listing->Title="Bob the builder". Can anyone point me in the right direction here.
150: [02:10:05] <ss23> You can't set them? Why not?
151: [02:10:10] * travis-ci has joined #silverstripe
152: [02:10:11] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1916 (3.0 - 82f65fd : Hamish Friedlander): The build has errored.
153: [02:10:11] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ed4d32581d1d...82f65fded492
154: [02:10:11] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/18699481
155: [02:10:11] * travis-ci has left #silverstripe
156: [02:10:50] <ss23> Guest27742: (As in, error, or just doesn't seem to take effect, or what? :O)
157: [02:11:39] <Guest27742> I'' just grab the error...
158: [02:12:23] * terryapodaca has left #silverstripe
159: [02:12:26] <Guest27742> Starting process PHP Fatal error: Class 'ListingsData' not found in /Users/gregormunro/Sites/mymove.dev/mysite/code/UpdateListings.php on line 54 PHP Stack trace:
160: [02:13:27] <ss23> How are you running the cron?
161: [02:14:14] <simon_w> Guest27742, flush!
162: [02:14:16] <Guest27742> php framework/cli-script.php UpdateListings.php
163: [02:14:48] <simon_w> Guest27742, php framework/cli-script.php UpdateListings flush=1
164: [02:16:37] <Guest27742> Thanx but flushing didnt help
165: [02:17:02] * ccburns has joined #silverstripe
166: [02:18:23] <Ryan-Toast> Try flush=all
167: [02:19:11] <simon_w> Guest27742, do you actually have a ListingsData class?
168: [02:20:16] <Guest27742> class ListingsData extends DataObject { private static $db = array( 'Title'=> 'Text', 'Region' => 'Text', etc....
169: [02:23:57] <Guest27742> btw flush=all didnt work either
170: [02:24:34] <simon_w> Guest27742, what file is that in?
171: [02:26:13] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
172: [02:26:19] <PapaBearNZ> Has anyone got a plugin or code sample for gridfield to allow tabulation? I have a requirement to have tabs on a gridfield table in ModelAdmin - each tab having it's own standard searchfilter applied.
173: [02:26:56] <Guest27742> in mysite/code/UpdateListings.php
174: [02:27:17] <simon_w> Guest27742, so it's in the same file as the task you're trying to run?
175: [02:27:25] <Guest27742> no seperate file
176: [02:27:32] <Guest27742> sorry that was the task file
177: [02:27:46] <Guest27742> the class itself is in ListingsData.php
178: [02:28:48] <simon_w> Okay, can you pastie both files?
179: [02:33:31] * travis-ci has joined #silverstripe
180: [02:33:32] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1917 (3.0 - 3f9bd38 : Ingo Schommer): The build has errored.
181: [02:33:32] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/82f65fded492...3f9bd383d49c
182: [02:33:32] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/18700182
183: [02:33:32] * travis-ci has left #silverstripe
184: [02:33:46] * ccburns quit (Quit: ccburns)
185: [02:38:21] * Bollig|DesignCty has joined #silverstripe
186: [02:41:14] * antmas quit (Quit: Page closed)
187: [02:41:41] * azureknight quit (Ping timeout: 248 seconds)
188: [02:44:45] * travis-ci has joined #silverstripe
189: [02:44:45] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1918 (3.1 - 5e29249 : Ingo Schommer): The build passed.
190: [02:44:45] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/5e38ef9e5537...5e292495932c
191: [02:44:45] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/18700806
192: [02:44:45] * travis-ci has left #silverstripe
193: [02:45:15] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
194: [02:45:32] <Guest27742> OK, the pastie is here : http://pastie.org/8724434
195: [02:46:14] * travis-ci has joined #silverstripe
196: [02:46:14] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#718 (3.1 - 0d34b68 : Ingo Schommer): The build is still failing.
197: [02:46:14] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/14352f56a8bd...0d34b6806183
198: [02:46:14] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/18700816
199: [02:46:14] * travis-ci has left #silverstripe
200: [02:50:21] <Guest27742> Hi Simon I pastied both files as one pastie http://pastie.org/8724434
201: [02:51:09] * variable_office quit (Quit: Leaving)
202: [02:51:32] <simon_w> Guest27742, if that comment really is where it fails (the error message suggests otherwise) then it's because you're creating a new ListingsObject rather than a new ListingsData
203: [02:52:30] * Bollig|DesignCty has joined #silverstripe
204: [02:52:37] <zippy__> Is there a way to get hostname in a template, or must I create a function
205: [02:53:38] <simon_w> zippy__, you've got $AbsoluteBaseURL and $BaseURL, otherwise you'd need to create a function
206: [02:53:44] <Guest27742> @simon_w Gah Dufus. I renamed it....
207: [02:53:46] <Guest27742> Now I get DataObject::setField: passed an object that is not a DBField in /Users/gregormunro/Sites/mymove.dev/framework/model/DataObject.php on line 2309
208: [02:54:18] <simon_w> Guest27742, when setting something from SimpleXML, you need to cast it to a string (so ->Title = (string)$response->Title;)
209: [02:55:47] <Guest27742> Ah ok casting. Should have thought of that one too.
210: [02:56:04] <Guest27742> That appears to have sorted my issue. you are a star :)
211: [02:57:43] * travis-ci has joined #silverstripe
212: [02:57:43] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1919 (master - a0b21d7 : Hamish Friedlander): The build was broken.
213: [02:57:43] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/9048eab4a2b5...a0b21d7433b8
214: [02:57:43] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/18701069
215: [02:57:43] * travis-ci has left #silverstripe
216: [03:01:34] * mateuszsz_ has joined #silverstripe
217: [03:03:00] * Jakx has joined #silverstripe
218: [03:03:42] <Jakx> will $Page->writeToStage("Stage"); $Page->publish("Stage", "Live"); save changes like a new ImageID?
219: [03:04:39] * mateuszsz quit (Ping timeout: 272 seconds)
220: [03:05:33] <Jakx> or is there something extra I need to do? Atm I can see the relationship has been created in the CMS, but I still have the click [tick] Published before it will take effect in the front end?
221: [03:05:50] <Jakx> have to click*
222: [03:06:11] * mateuszsz_ quit (Ping timeout: 260 seconds)
223: [03:09:11] * lab-notes quit (Ping timeout: 272 seconds)
224: [03:09:16] * jedateach has joined #silverstripe
225: [03:09:32] * Guest27742 has left #silverstripe
226: [03:10:48] * lab-notes has joined #silverstripe
227: [03:14:37] <Stomach> does anyone here use gulp > grunt?
228: [03:15:54] * Jakx has left #silverstripe
229: [03:17:57] * zippy__ quit (Ping timeout: 272 seconds)
230: [03:18:12] <Ryan-Toast> Stomach: Gruntboys4lyf
231: [03:18:39] <Stomach> yeah, I'm just curious if there is reasoning for using one over the other
232: [03:18:44] <Stomach> they seem to be the same thing
233: [03:18:53] <Stomach> (without using gulp, and with using grunt extensively)
234: [03:19:26] <Ryan-Toast> Shrug.
235: [03:19:41] <Ryan-Toast> I think Guzzlefry uses yelp
236: [03:19:43] <Stomach> ive spent far too long today reading API documentation
237: [03:19:46] <Ryan-Toast> gulp**
238: [03:26:20] * jedateach quit (Quit: jedateach)
239: [03:33:04] <Ryan-Toast> How do I do a DataObject::get()->Count(); of the current page?
240: [03:45:32] <Ryan-Toast> nvm, Iwas being dumb.
241: [03:46:03] * srizzling quit (Ping timeout: 245 seconds)
242: [03:54:40] * dclelland has joined #silverstripe
243: [03:55:32] <dclelland> hi all, i take it this is the place for dumb silverstripe questions?
244: [03:55:53] <dclelland> i'm trying to render a page using renderWith, and my forms totally just aren't showing up
245: [03:59:43] <Ryan-Toast> dclelland: Do you have the $Form thing in your template?
246: [03:59:54] <dclelland> sure do
247: [04:00:12] <Ryan-Toast> Sorry, 5pm :P
248: [04:00:16] <Ryan-Toast> time to leave.
249: [04:00:32] <dclelland> lol, okay
250: [04:00:50] <simon_w> Ryan-Toast, slacker!
251: [04:01:04] <simon_w> dclelland, are you calling $this->renderWith() from inside the Page class or Page_Controller?
252: [04:01:28] <dclelland> on the Page class
253: [04:01:35] <dclelland> (well, a subclass thereof)
254: [04:01:48] <simon_w> And your forms are in the controller, right?
255: [04:02:13] <dclelland> yeap
256: [04:02:35] <simon_w> There's your problem. You don't get the controller stuff when rendering the model
257: [04:02:57] <dclelland> okay, is there an easy/shitty way of getting that stuff?
258: [04:03:30] <simon_w> Call renderWith() on the controller instead
259: [04:03:37] <dclelland> i tried passing it in through $this->customise(array(/* */))->renderWith('SectionContactForm');
260: [04:04:23] <dclelland> i miss ruby on rails :(
261: [04:05:05] <UncleCheese> if you're doing this: $obj.next().next().next().next()
262: [04:05:09] <UncleCheese> you shouldn't be writing jQuery
263: [04:06:00] <dclelland> hrm when i do that it doesn't render with my custom template
264: [04:07:47] <dclelland> and as such i don't get the form
265: [04:07:49] <simon_w> dclelland, which folder is your template in?
266: [04:08:07] <dclelland> Layout
267: [04:08:12] <dclelland> and the form is on an include
268: [04:08:19] <simon_w> and do you want all the standard Page stuff around it?
269: [04:08:39] <dclelland> yeap
270: [04:09:05] <simon_w> so return $this->renderWith((array('SectionContactForm', 'Page'))
271: [04:09:16] <simon_w> (with balanced brackets)
272: [04:09:54] <dclelland> on the controller or on the model?
273: [04:10:01] <simon_w> The controller
274: [04:10:52] <dclelland> doesn't seem to work
275: [04:11:01] <dclelland> what does the second object in the tuple represent?
276: [04:11:04] <dclelland> the 'Page'?
277: [04:11:11] <simon_w> The parent template to use
278: [04:11:23] <simon_w> Does your templates/Page.ss contain a $Layout?
279: [04:11:28] <dclelland> so it should be 'SectionContactForm'?
280: [04:11:43] <dclelland> nah, i have a bunch of pages with different templates all rendering on one page
281: [04:11:54] <dclelland> and so i have a getLayout function
282: [04:13:10] <dclelland> i have ContentPage and a bunch of Section pages (of which 'SectionContactForm' is one of many subclasses) and my ContentPage template renders them all in a loop
283: [04:14:32] <simon_w> So you're not going through the SectionContentForm controller at all?
284: [04:14:47] <dclelland> i don't even know lol
285: [04:15:38] * PapaBearNZ quit (Ping timeout: 245 seconds)
286: [04:15:42] <dclelland> i think so. my form is on the PageController class which everything inherits from
287: [04:15:49] <dclelland> so it shouldn't really matter?
288: [04:16:24] <simon_w> So why do you even need the subclasses?
289: [04:17:00] * cloph quit (Read error: Operation timed out)
290: [04:17:13] <dclelland> the subclasses weren't rendering with their layouts so is just copied and pasted a zillion different subclasses
291: [04:17:22] <dclelland> also a couple of them have different properties etc
292: [04:17:30] * jedateach has joined #silverstripe
293: [04:17:46] * cloph_away has joined #silverstripe
294: [04:17:46] <dclelland> and so i added a getLayout function to each model
295: [04:18:54] <dclelland> basically i've made a big ball of mud
296: [04:19:44] <simon_w> Yes. Just move your forms into your model, add wrappers in the controller so posting still works (return $this->data()->Whatever()) and make it bigger :p
297: [04:20:14] <dclelland> i thought the forms were supposed to go on the controller though?
298: [04:20:25] <dclelland> oh well, let's give it a shot
299: [04:21:27] <dclelland> yay my page went totally blank
300: [04:24:18] <dclelland> hurrah! that worked!
301: [04:25:20] <dclelland> oh wait no now posting doesn't work
302: [04:27:05] <dclelland> I'm getting "[User Error] Uncaught Exception: Object->__call(): the method 'redirectback' does not exist on 'SectionContactForm'"
303: [04:27:21] <simon_w> redirectBack only exists on the controller
304: [04:27:31] <simon_w> Controller::curr()->redirectBack()
305: [04:27:46] <dclelland> as SubmitContactForm() (which is on the controller) returns $this->redirectBack();
306: [04:27:51] * jedateach quit (Quit: jedateach)
307: [04:31:41] * Spazart has joined #silverstripe
308: [04:31:53] * an_Eskimo quit (Ping timeout: 245 seconds)
309: [04:32:26] <dclelland> oh, rightoh
310: [04:32:47] <dclelland> so i should move those actions onto the model, too?
311: [04:34:18] <dclelland> now I just get "[User Error] Uncaught Exception: Object->__call(): the method 'checkaccessaction' does not exist on 'SectionContactForm'"
312: [04:40:27] * Spazart quit (Quit: Page closed)
313: [04:44:55] <dclelland> simon_w, could I ask what 'wrappers in the controller so posting still works (return $this->data()->Whatever())' means, exactly?
314: [04:48:37] * UncleCheese quit (Quit: UncleCheese)
315: [05:04:38] * dclelland quit (Quit: Page closed)
316: [05:06:28] * liam___ has joined #silverstripe
317: [05:07:07] <liam___> hi guys. I am trying to create an rss feed as outlined here http://doc.silverstripe.com/framework/en/reference/rssfeed however when I call the url on my local site it just asks me to download an empty xml document… any ideas why?
318: [05:07:12] * jedateach has joined #silverstripe
319: [05:07:33] <liam___> is this something to do with ss 3.1?
320: [05:08:07] * Error404NotFound has joined #silverstripe
321: [05:08:45] * maknz quit (Quit: My iMac has gone to sleep. ZZZzzz…)
322: [05:09:57] * Stomach quit (Ping timeout: 248 seconds)
323: [05:11:12] * liam___ quit (Client Quit)
324: [05:24:02] * jedateach quit (Quit: jedateach)
325: [05:43:45] * Error404NotFound quit (Disconnected by services)
326: [05:43:46] * Err404NotFound has joined #silverstripe
327: [05:45:42] * jedateach has joined #silverstripe
328: [05:56:31] * jedateach quit (Quit: jedateach)
329: [06:00:24] <ss23> Is there any (easy) way to override the TableField style "Are you sure you want to delete this record?" messages to say something else?
330: [06:16:22] * violetina has joined #silverstripe
331: [07:09:33] <simon_w|air> mmm, dinner. Good idea Simon!
332: [07:15:30] <Bollig|DesignCty> ss23: I'm guessing the language file dude...
333: [07:16:20] <simon_w|air> Colin[pi], Why does Woden not get 4G coverage?
334: [07:16:25] <simon_w|air> I am disappoint!
335: [07:18:00] <simon_w|air> Canberra only gets 4G+ coverage! Bah!
336: [07:20:56] * simon_w|air blames Colin[pi]
337: [07:21:24] * SightUnseen has joined #silverstripe
338: [07:22:06] * SightUnseen has left #silverstripe
339: [07:24:04] * Shrike_Finland has joined #silverstripe
340: [07:28:28] <ss23> Bollig|DesignCty: Ah, misleading, sorry
341: [07:28:32] <ss23> I meant for a very specific page
342: [07:28:47] <ss23> e.g. "Are you sure you want to delete a newsletter mailing list?! you totally shouldn't"
343: [07:29:42] <Bollig|DesignCty> yer. And you're talking 2.4 language, yeah?
344: [07:29:46] * Bollig|DesignCty has no idea
345: [07:32:25] <simon_w|air> Well, I made TableField not work when the directory's called framework
346: [07:32:37] <simon_w|air> (more, I didn't make it start working)
347: [07:39:49] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
348: [07:42:28] * openbees has joined #silverstripe
349: [07:48:32] <ss23> babak: Naw, 3.0
350: [07:48:41] <ss23> ah he left
351: [07:56:25] <simon_w|air> ss23, I asked about when 3.0.9/3.1.3 are going to be released. Let's see if I get to raise a stink about their plans
352: [08:02:46] * openbees quit (Ping timeout: 245 seconds)
353: [08:04:36] * Shrike_Finland quit (Quit: Leaving.)
354: [08:07:10] * Shrike_Finland has joined #silverstripe
355: [08:15:09] <ss23> lol
356: [08:29:31] * UncleCheese_ has joined #silverstripe
357: [08:40:01] <Colin[pi]> simon_w: no idea, but reception in this area in general is a bit shitty
358: [08:41:21] <simon_w|air> Colin[pi], eh, I've had no problems roaming :p
359: [08:41:31] <simon_w|air> But I'm not going to get 4Gs with my Optus :(
360: [09:01:25] * kinglozzer has joined #silverstripe
361: [09:04:44] <Colin[pi]> we have 4G with Telstra only afaik
362: [09:16:21] * micmania1 has joined #silverstripe
363: [09:28:45] * zippy__ has joined #silverstripe
364: [09:28:49] <zippy__> Stomach: sorted out gulp?
365: [09:31:41] * Err404NotFound quit (Read error: Connection reset by peer)
366: [09:39:18] <ss23> simon_w|air: Are we having lunch tomorrow? :O
367: [09:41:57] * SightUnseen has joined #silverstripe
368: [09:42:09] * SightUnseen quit (Client Quit)
369: [09:47:43] * Err404NotFound has joined #silverstripe
370: [10:02:59] * OzziNL has joined #silverstripe
371: [10:22:41] * zippy__ quit (Quit: zippy__)
372: [10:33:18] * r3v3rb has joined #silverstripe
373: [10:34:16] <r3v3rb> morning all
374: [10:34:32] <kinglozzer> Morning r3v3rb
375: [10:35:08] <r3v3rb> kinglozzer: you'll love this... finished the grid for this http://77.235.62.130/~riftuk yesterday and submitted to client for testing
376: [10:35:47] <r3v3rb> got an email from marketing manager at 11pm last night to mention that they have since changed designers and will be resubmitting new designs for the entire site today...
377: [10:35:56] <kinglozzer> Hahahaha
378: [10:36:01] <r3v3rb> Double the money!
379: [10:36:26] <kinglozzer> r3v3rb: That's awfully familiar. We've got a site still being built that was supposed to go live LAST JUNE and have just this week had a completely redesigned homepage sent over..
380: [10:36:38] <r3v3rb> kinglozzer: last JUNE!!
381: [10:36:51] <kinglozzer> Yep.
382: [10:36:58] <r3v3rb> hang on, it wasn't for a tax refund company was it kinglozzer ?
383: [10:36:59] <kinglozzer> I cry every time I get an email about it
384: [10:37:12] <kinglozzer> Nope :P car retailer
385: [10:37:25] <r3v3rb> fun fun fun
386: [10:37:35] <r3v3rb> they want this site live by March 17th
387: [10:37:57] * r3v3rb thinks they might be pushing it a bit now
388: [10:40:21] <kinglozzer> I usually don't mind tight deadlines if it means I can do overtime, but there's a limit :P
389: [10:40:58] <r3v3rb> kinglozzer: i've been working from 9am until 10pm lately as it is... not sure I can add anymore hours to be honest
390: [10:42:15] <r3v3rb> oooh, lovely new designs just dropped into my inbox - completely different to existing ones... ho hum
391: [10:42:21] <r3v3rb> start again time
392: [10:43:07] <kinglozzer> Enjoy!
393: [10:43:11] * Colin[pi] quit (Ping timeout: 245 seconds)
394: [10:43:35] <r3v3rb> do designers not understand 'boxes don't eveer line up in the real world' once clients add text!
395: [10:44:42] <r3v3rb> why show mockups with perfectly aligned boxes where content is editable by client - first response is to be, "you do realise this grid won't work when added to the site... and you start altering text"
396: [10:47:04] <r3v3rb> kinglozzer: do you do frontend dev too?
397: [10:47:43] <kinglozzer> r3v3rb: Yeah
398: [10:48:01] <r3v3rb> ok, I'm going to ask a question in a minute ;)
399: [11:00:05] * UncleCheese_ quit (Quit: UncleCheese_)
400: [11:03:52] * r3v3rb_ has joined #silverstripe
401: [11:04:43] * r3v3rb quit (Ping timeout: 272 seconds)
402: [11:04:44] * r3v3rb_ is now known as r3v3rb
403: [11:08:11] * Err404NotFound quit (Ping timeout: 245 seconds)
404: [11:41:08] * Err404NotFound has joined #silverstripe
405: [11:41:11] * Shrike_Finland quit (Quit: Leaving.)
406: [11:48:56] * Shrike_Finland has joined #silverstripe
407: [12:09:00] * Shrike_Finland quit (Quit: Leaving.)
408: [12:10:49] * Shrike_Finland has joined #silverstripe
409: [13:13:45] * Shrike_Finland quit (Quit: Leaving.)
410: [13:20:43] * UndefinedOffset has joined #silverstripe
411: [13:28:00] * plolk has joined #silverstripe
412: [13:30:22] <plolk> It's lunch time, tell me a funny story
413: [13:31:12] <plolk> still awake irogue? or finally sleeping like a human?
414: [13:31:16] <irogue> HELLO
415: [13:31:36] <irogue> plolk is hard to say out loud
416: [13:31:37] <plolk> So that's a negative.
417: [13:31:39] <plolk> xD
418: [13:31:51] <irogue> https://twitter.com/iRogue/status/433592848743534592
419: [13:31:58] <irogue> the giggling was intense
420: [13:32:26] <plolk> kehehehe
421: [13:32:33] <plolk> great story irogue :D
422: [13:32:42] <irogue> you're welcome :)
423: [13:33:32] <plolk> urgh, lunch wasn't filling :(
424: [13:34:20] <irogue> i had crumbed fish nuggets for dinner
425: [13:34:26] <irogue> they were surprisingly delicious
426: [13:34:29] <plolk> But I didn't want to break a fiver for the extra 5p I needed :<
427: [13:34:42] <irogue> then i had a bag of microwave popcorn when i got home
428: [13:34:42] <plolk> irogue: but why wouldn't they be?
429: [13:34:53] <irogue> and about an hour ago i had a bowl of cornflakes
430: [13:34:56] <irogue> alas, i am hungry again
431: [13:35:01] <plolk> nom nom nom
432: [13:35:07] <plolk> soup!
433: [13:35:14] <plolk> oh wait, it's summer.
434: [13:35:19] <plolk> Soup!
435: [13:35:22] <irogue> if the walk to mcds wasnt so likely to get me stabbed
436: [13:35:28] <plolk> ROFL
437: [13:35:30] <irogue> i'd totes go buy a couple of $3 double cheezburgers
438: [13:35:35] <plolk> it's true because it actually happened.
439: [13:35:50] <plolk> omg, sounds prtty good
440: [13:35:56] <plolk> NZ beef 'n all
441: [13:36:01] <irogue> mmmm
442: [13:36:02] <irogue> beef
443: [13:36:07] <plolk> cock
444: [13:36:11] <irogue> mmmm
445: [13:36:12] <irogue> cock
446: [13:36:26] <plolk> don't t... rofl should have seen that coming... don't tease!
447: [13:36:44] * plolk spies another open door :<
448: [13:37:19] <irogue> is that innudendo?
449: [13:37:24] <irogue> INNUDENDO
450: [13:37:27] <irogue> iam good at type
451: [13:38:22] <plolk> in YOUR end-Oh!
452: [13:38:57] <plolk> so haven't seen Milo here yet. Not sure I'm ok with this.
453: [13:39:27] <plolk> they have the 'just add water' pre milked pre sugared hot chocolate stuff though.
454: [13:39:47] <plolk> they've even got one that has pop rocks in it to add the froth on top automagically
455: [13:40:04] <plolk> except that in about an hours time it gives you froth out your end-oh.
456: [13:40:10] <plolk> so many chemicals
457: [13:40:12] <plolk> not good
458: [13:40:34] <plolk> how is it micmania1? how is your quest to fell the beastly wordderp?
459: [13:40:59] <plolk> kinglozzer: nap time?
460: [13:41:18] <micmania1> plolk: Boss said this morning he never want to use it again...
461: [13:41:28] <plolk> micmania1: WINNING!
462: [13:41:29] <irogue> YUS
463: [13:41:32] <irogue> great success
464: [13:41:50] <plolk> now if only 100% of the rest of the internet would wake up.
465: [13:41:51] <micmania1> Guarenteed we will though...
466: [13:41:59] <plolk> micmania1: yeh, that's always the issue.
467: [13:42:10] <micmania1> I'll just keep moaning though too
468: [13:42:13] <plolk> the ol' "we'll just sneak this one through" etc
469: [13:42:42] <irogue> https://twitter.com/iRogue/status/433596651593150464
470: [13:42:52] <plolk> so we were talking about data, storage, reports and presentation, entry, and stuff.
471: [13:43:22] <plolk> and I just looked at it and was all "gridfield, ajshort's inline editing, sorting headers... done?"
472: [13:43:33] <plolk> oh, and searchcontest
473: [13:43:35] <plolk> text*
474: [13:44:02] <plolk> but nah :< gotta use the ONE CONTROLLER PER PAGE code ignite :<
475: [13:44:04] <micmania1> plolk: You using Silverstripe yet?
476: [13:44:24] <plolk> plolk: have begun dropping hints
477: [13:44:30] <plolk> it's a process.
478: [13:44:55] <plolk> gotta get shit done, but can gradually ramp up the hints to unsubtle demands as we move toward v2 development :P
479: [13:47:08] <plolk> irogue: halp, what do? I almost feel tempted to read herald :<
480: [13:47:19] <irogue> plolk: are you that bored?
481: [13:47:24] <plolk> just tell me what happen in nz recently.
482: [13:48:29] <plolk> I imagine someething like... john key being a sped again. Greens suddenly become active as election looms. Someone had a whinge about some auckland transit worker not using a hankerchief when they sneezed.
483: [13:48:46] <plolk> (which was obviously the front page story0
484: [13:48:47] <plolk> )
485: [13:50:10] <irogue> plolk: media tried to make a big deal of john key playing beer pong (with beer) at Big Gay Out
486: [13:51:54] <plolk> rofl
487: [13:52:16] <plolk> yeh don't give a shit about the pacific rim agreement of 'fuck everyone over'.
488: [13:52:21] <plolk> yet*
489: [13:52:22] <irogue> everyone expecting opposition to join in the harassing
490: [13:52:33] <irogue> cunliffe just said "I could drink John Key under the table"
491: [13:52:40] <irogue> it epitomised NZ perfoectly
492: [13:52:41] <plolk> classic
493: [13:55:16] <plolk> omg
494: [13:55:28] <plolk> some twat thought it was a good idea to make headligths out of lasers.
495: [13:55:33] <plolk> FRICKN LASERS
496: [13:55:42] <irogue> o_O
497: [13:55:50] * r3v3rb quit (Quit: r3v3rb)
498: [13:56:14] <plolk> scroll down the page a bit, suddenly unrelated article about FBI $10,000 reward for info on folks pointing lasers at aircraft.
499: [13:57:35] <plolk> irogue: by some twat, I obviously mean BMW
500: [13:57:58] <plolk> Maybe just Germans in general, as Audi apparently also planning them
501: [13:58:47] <plolk> but really, as if current lights aren't wankish enough when coming toward you or are behind you and on a bumpy road or are a little out of adjustment... or just being driven by a twat who doesn't know what dipswitch is for
502: [13:59:08] <irogue> yeah the xenons can be real evil when they're on fulls in your face
503: [13:59:29] <plolk> they annoy me how they flicker as they alter direction in the most minute way
504: [13:59:33] <plolk> eg bumpy road.
505: [13:59:53] <plolk> even on dim they can be nasty/destracting/too bright (especially in the rain)
506: [14:01:56] * r3v3rb has joined #silverstripe
507: [14:02:29] <plolk> hi r3v3rb
508: [14:02:39] <plolk> why does no one make a decent sandwich in this country?
509: [14:03:17] <plolk> yeh, sandwich, not shandy-witch
510: [14:03:20] <irogue> o_O
511: [14:03:32] * Guits has joined #silverstripe
512: [14:03:34] <irogue> SANDWICHES CAN BE DIFFERENT?
513: [14:03:36] <r3v3rb> plolk: who knows, I always find good ones in the pubs ;)
514: [14:03:37] <irogue> this blows my mind
515: [14:04:21] <plolk> irogue: yeh.
516: [14:04:30] <r3v3rb> plolk: spent three days building that responsive design/cms integration for the accounts company...
517: [14:04:43] <kinglozzer> plolk: Yeah just woke up
518: [14:04:46] <r3v3rb> today they started with a new designer who has redesigned it...
519: [14:04:52] <plolk> You're like "Ham sandwich please" and so you get given this nice big bit of bread and you're like "Yum" then you bite into it
520: [14:04:57] <plolk> what's inside?
521: [14:05:03] <r3v3rb> nothing
522: [14:05:04] <plolk> a SINGLE slice of ham.
523: [14:05:18] <r3v3rb> go find a smelly subway plolk
524: [14:05:18] <irogue> bahaha
525: [14:05:30] <irogue> very literal i guess
526: [14:05:36] <plolk> nothing else, just a pittance of ham, no salad, no dressing, no spreads.
527: [14:05:53] <plolk> irogue: yeh even if it was literal I'd be ok if there was a decent amount of ham in there.
528: [14:06:05] <plolk> I'd be all "well now I know"
529: [14:06:08] <irogue> try asking for a triple ham sandwich
530: [14:06:58] <plolk> but a 'big sandwich' is pretty much a big burger bun (like big), with about as much salad as you'd expect on the side of a "steak and chips" at your local forestry worker's pub.
531: [14:07:29] <plolk> perhaps even half as much. Certainly far less lettuce than you'd get on the average big mac in NZ
532: [14:07:49] <plolk> certainly no more at least, just spread over a greater area too.
533: [14:08:04] <plolk> if that. Gotta eat bread before getting down to the sandwich
534: [14:08:05] <plolk> :<
535: [14:08:32] <plolk> r3v3rb: yeah I could do... if I could be bothered walking 30mins into town
536: [14:08:54] <plolk> at this rate I'm gonna have to make my own D:
537: [14:10:10] <r3v3rb> get a pizza delivered ;)
538: [14:10:57] <plolk> r3v3rb: about right, but that costs too much.
539: [14:12:59] <plolk> although, actually looking forward to trying pizza hut for some reason.
540: [14:13:18] <plolk> looks about 80* better than NZ's bollocks offering.
541: [14:13:31] <irogue> nz pizza hut so cheap now
542: [14:13:34] <irogue> no wonder its so crap
543: [14:13:47] <irogue> luckily if you dont mind paying real prices there's places like Sal's
544: [14:14:14] <plolk> irogue: but they almost give you 3 shreds of cheese and a single ham cube in the middle of a 7" diameter pizza...
545: [14:14:28] <plolk> pineapple chunk if you're LUCKY.
546: [14:14:36] <plolk> that's a hawaiian.
547: [14:14:40] <plolk> TRUE STORY
548: [14:14:47] <irogue> your pizza maker hates you :P
549: [14:14:55] <plolk> pizza hut in general, nz
550: [14:14:59] <irogue> bought $80 of $5 large pizzas the other day
551: [14:15:07] <irogue> was actually kinda surprised at the quality
552: [14:15:26] <irogue> bit light on toppigs around the outside but overall pretty good
553: [14:15:34] <irogue> wasn't overloaded with sauce, had lots of meat
554: [14:15:38] <irogue> a++ would buy again
555: [14:16:24] <irogue> obv not Hell or Sals quality, but 1/3rd or 1/4 the price so yeah
556: [14:18:52] <r3v3rb> plolk: I know you don't like grids but have you seen gridpak.com
557: [14:19:40] <irogue> i love grids
558: [14:19:54] <r3v3rb> irogue: you'll love gridpak.com then
559: [14:20:29] <irogue> yesssssssss
560: [14:20:42] <r3v3rb> nice isn't it
561: [14:21:38] <irogue> quite
562: [14:21:44] <irogue> i'll have to give it a go on the next site
563: [14:21:57] <irogue> used Pure for one i just did
564: [14:21:57] <r3v3rb> even gives you sass/less grids to work with too
565: [14:22:05] <r3v3rb> Pure?? linkage please
566: [14:22:15] <irogue> http://purecss.io
567: [14:23:00] <plolk> hahahaha, fuck'n brilliant
568: [14:24:57] <irogue> to bed!
569: [14:27:18] * plolk quit (Ping timeout: 245 seconds)
570: [14:28:28] * OzziNL quit (Ping timeout: 260 seconds)
571: [14:34:39] <r3v3rb> irogue: would you recommend Pure?
572: [14:36:31] * catcher has joined #silverstripe
573: [14:37:00] <Guits> Anyone here good with explaining performance issues..
574: [14:38:57] <catcher> Guits, depends on the issues
575: [14:39:43] <Guits> It is weird.. I have a site that "hangs" when loading Cpu-heavy parts
576: [14:40:01] <Zauberfisch> define CPU heavy parts
577: [14:40:04] <r3v3rb> Guits: make it less cpu heavy ;)
578: [14:40:32] <Guits> For example: When I do i dev/build (without any new code) any other pages on the site is unavailable
579: [14:40:48] <catcher> Guits, what kind of server is the site running on?
580: [14:40:51] <Guits> The site was firs located on a shared host
581: [14:40:54] <r3v3rb> is this on shared hosting
582: [14:41:00] <Guits> Now I run it on a Ubuntu VPS
583: [14:41:05] <r3v3rb> ok
584: [14:41:06] * Shrike_Finland has joined #silverstripe
585: [14:41:11] <catcher> Guits, is the DB huge?
586: [14:41:20] <Guits> It is rather huge yes
587: [14:41:38] <catcher> Guits, how large is an uncompressed mysqldump?
588: [14:42:41] <Guits> About 15 Mb i think (just checkin)
589: [14:43:48] <Guits> sorry, my bad ..over 200Mb
590: [14:44:04] <catcher> yep, that's huge
591: [14:44:27] <catcher> by my standards anyway, and I thought I had big DBs.
592: [14:45:19] * NobrainerWeb has joined #silverstripe
593: [14:45:26] <NobrainerWeb> Hi
594: [14:46:11] <Guits> But still...
595: [14:46:17] <NobrainerWeb> What is the right/best way to get the current theme? i'm using $theme = SSViewer::current_theme(); but this seems to only pick up what is set via config.yml SSViewer: theme: 'example'
596: [14:46:19] <catcher> Guits, how long does your /dev/build take?
597: [14:46:21] <Guits> Should a huge DB be a problem
598: [14:50:33] <Guits> on the VPS about 5 sec much longer on the shared :S
599: [14:51:10] <Guits> ..about 40 secs !!!
600: [14:51:27] <catcher> yeah, wow.
601: [14:52:27] <catcher> Guits, have you verified the CPU maxes out during the /dev/build?
602: [14:52:49] <Guits> As far as i can tell it does not
603: [14:54:42] <catcher> Guits, then your front-end delay is likely because the client is regenerating the template cache.
604: [14:55:38] <Guits> I have a lot of partial caching.. which if i turn off everything is really sluggisly slow
605: [14:56:20] <Guits> So what happens now page load is usually about 2-4 secs.. which is ok i guess
606: [14:57:06] <Guits> but since the cache have to be regenerated every now and then page loads average on a day between 6 to 9 secs
607: [14:57:08] <catcher> Guits, after the cache is filled?
608: [14:57:31] <Guits> Yes ..when things are cached thats the response time
609: [14:57:55] <catcher> Guits, are you running an opcode cache?
610: [14:58:13] <Guits> sorry don know what it is
611: [14:58:31] <catcher> Guits, lifechanging is what it is
612: [14:58:49] <catcher> Guits, http://www.silverstripe.org/improving-silverstripe-performance/
613: [14:59:10] <catcher> Guits, (though many of these aren't SS-specific, just good PHP practices)
614: [14:59:48] <Guits> Cool - thanx.. you have any opinions on what to use
615: [15:00:38] <catcher> Zend OpCache is packaged with newer PHP, so it's a good choice.
616: [15:02:13] <Guits> Got any info on that and SS?
617: [15:02:28] <Guits> ..reading about "Non-blocking sessions" .. that might be my problem
618: [15:02:51] <catcher> Guits, OpCache isn't SS-specific, just runs on the server
619: [15:03:23] <catcher> Guits, I suspect not, if the time is really being spent filling caches.
620: [15:04:18] <Guits> So would opcache help with that?
621: [15:07:28] <catcher> Guits, yes, at least a little.
622: [15:08:36] <catcher> Guits, it's not going to speed up your DB interactions, but it'll get you to them faster.
623: [15:08:57] <Guits> Thanx catcher.. you are great help..
624: [15:09:14] <Guits> :) Will look at the DB also and see if something is messed up
625: [15:09:22] <Guits> maybe clear old versions and such
626: [15:09:32] * Shrike_Finland quit (Quit: Leaving.)
627: [15:11:24] <catcher> Guits, trimming down your DB will definitely help. Remember that ORMs aren't built with efficiency as a top priority.
628: [15:32:33] * pyomk has joined #silverstripe
629: [15:32:43] <pyomk> internet death :<
630: [15:34:49] * OxFF1 has joined #silverstripe
631: [15:39:06] * ObiWanShanobi has joined #silverstripe
632: [15:47:02] * MrGuits has joined #silverstripe
633: [15:48:25] * Liquide has joined #silverstripe
634: [15:48:43] * Motoservo_ has joined #silverstripe
635: [15:54:38] * ObiWanShanobi quit (Remote host closed the connection)
636: [15:56:40] * Guits quit (*.net *.split)
637: [15:56:40] * Err404NotFound quit (*.net *.split)
638: [15:56:42] * Motoservo quit (*.net *.split)
639: [15:56:44] * Motoservo_ is now known as Motoservo
640: [15:58:51] * NobrainerWeb quit (Quit: NobrainerWeb)
641: [16:03:04] * Err404NotFound has joined #silverstripe
642: [16:12:04] <Zauberfisch> MrGuits: if you db is the problem, you mit also improve the website speed by using raw sql queries for databse heavy queires. as catcher pointed out, ORMs are not the best for performance. however this will only bring benefits for heavy queries, and it will not fix your devbuild problem
643: [16:21:02] * ObiWanShanobi has joined #silverstripe
644: [16:21:27] * OxFF1 has left #silverstripe
645: [16:24:53] * Shrike_Finland has joined #silverstripe
646: [16:45:05] * pyomk quit (Quit: Page closed)
647: [16:48:46] <MrGuits> Thanx you Zauberfisch, the Dev/build problem is not really a problem (since it is used rarely) ..rather a symptom. Do you have any other aspects on the issue?
648: [16:55:07] * Err404NotFound quit (Read error: Connection reset by peer)
649: [16:55:53] * ObiWanShanobi quit (Remote host closed the connection)
650: [17:01:02] * ObiWanShanobi has joined #silverstripe
651: [17:01:49] * Shrike_Finland quit (Quit: Leaving.)
652: [17:11:26] * Err404NotFound has joined #silverstripe
653: [17:18:26] * kinglozzer quit ()
654: [17:19:26] * Err404NotFound quit (Quit: User guilty of hitting the Big Red X...)
655: [17:24:33] * CodeTrap has joined #silverstripe
656: [17:28:53] * r3v3rb quit (Quit: r3v3rb)
657: [17:45:29] * ObiWanShanobi quit (Remote host closed the connection)
658: [17:46:06] * ObiWanShanobi has joined #silverstripe
659: [18:00:21] * Shrike_Finland has joined #silverstripe
660: [18:18:10] * Shrike_Finland1 has joined #silverstripe
661: [18:19:27] * Shrike_Finland quit (Ping timeout: 260 seconds)
662: [18:19:52] * Shrike_Finland has joined #silverstripe
663: [18:22:21] * Shrike_Finland1 quit (Ping timeout: 245 seconds)
664: [18:23:32] * SphereSilverNL has joined #silverstripe
665: [18:24:43] <SphereSilverNL> evening
666: [18:25:36] * jedateach has joined #silverstripe
667: [18:31:06] * SightUnseen has joined #silverstripe
668: [18:31:30] * SightUnseen has left #silverstripe
669: [18:34:47] <catcher> 'afternoon
670: [18:35:23] * jedateach quit (Quit: jedateach)
671: [18:40:30] * Shrike_Finland quit (Quit: Leaving.)
672: [18:43:48] * UndefinedOffset quit (Quit: Leaving.)
673: [18:55:55] * Shrike_Finland has joined #silverstripe
674: [19:03:40] * UndefinedOffset has joined #silverstripe
675: [19:06:55] * ObiWanShanobi quit (Remote host closed the connection)
676: [19:08:34] * ObiWanShanobi has joined #silverstripe
677: [19:10:34] * jedateach has joined #silverstripe
678: [19:13:29] * SphereSilverNL quit (Remote host closed the connection)
679: [19:14:13] * Shrike_Finland quit (Quit: Leaving.)
680: [19:14:51] * Shrike_Finland has joined #silverstripe
681: [19:19:12] * maknz has joined #silverstripe
682: [19:19:13] * maknz quit (Changing host)
683: [19:19:13] * maknz has joined #silverstripe
684: [19:23:04] * Shrike_Finland1 has joined #silverstripe
685: [19:23:05] * Shrike_Finland quit (Read error: Connection reset by peer)
686: [19:24:20] * SphereSilverNL has joined #silverstripe
687: [19:26:58] * zippy__ has joined #silverstripe
688: [19:27:10] <SphereSilverNL> Ok, I'm back. Stupid Firefox
689: [19:44:00] <Ryan-Toast> Is IRC getting DDoSed again, or have heaps of people just left/joined?
690: [19:44:16] * Ryan-Toast has left #silverstripe
691: [19:44:44] * Shrike_Finland1 quit (Quit: Leaving.)
692: [19:45:23] * nickmolhoek has joined #silverstripe
693: [19:46:31] * atmas has joined #silverstripe
694: [19:47:40] <atmas> moin moin all
695: [19:48:09] <atmas> is Webstock on today?
696: [19:48:16] <simon_w> Yes
697: [19:49:58] <simon_w> Right next door (well, two doors down) to ss23
698: [19:50:22] <atmas> are they live feeding it or anything?
699: [19:50:29] <simon_w> Doubt it
700: [19:55:26] <atmas> huzzah, got out of 1 of 3 meetings
701: [20:02:18] * atmas quit (Ping timeout: 245 seconds)
702: [20:05:05] * UncleCheese has joined #silverstripe
703: [20:05:49] * antmas has joined #silverstripe
704: [20:06:10] <antmas> Titanfall betas are live if anyone is interested
705: [20:07:15] <zippy__> herm...
706: [20:07:32] <zippy__> antmas: dont' think so, given the fees they charge
707: [20:08:02] <zippy__> got a wierd issue. I got a site which I can login to find, but if I dump the database and move hosts, the login fails...
708: [20:08:13] <zippy__> logins are not hashed/blended with the domain are they?
709: [20:10:36] * kinglozzer has joined #silverstripe
710: [20:11:22] <simon_w> Nope
711: [20:11:44] <zippy__> hmmm pixies
712: [20:11:55] <zippy__> I've checked and the hashs are the same
713: [20:11:56] <kinglozzer> Anyone experienced requests to tiny_mce_gzip.php taking ages and know a cause/solution?
714: [20:12:05] * b00mtastik has joined #silverstripe
715: [20:12:37] <b00mtastik> Anyone able to help me with the storage of dates? I've been scouring the documentation but I'm not seeing anything, that isn't to say its not there :/
716: [20:12:57] <zippy__> b00mtastik: date fields?
717: [20:13:02] <b00mtastik> I want to be able to store a date as ISO8601 - YYYYMMDD
718: [20:13:19] <b00mtastik> Using SS 3.1.2
719: [20:13:23] <simon_w> b00mtastik, why?
720: [20:13:47] <b00mtastik> The company I'm working for currently, I'm importing data from an oracle database to allow people to search through it.
721: [20:14:04] <b00mtastik> And the dates on that system is stored as ISO8601 no hyphens, and I can't change that.
722: [20:14:36] <simon_w> Use a varchar field with a setter
723: [20:15:13] <b00mtastik> So either I create the object to store dates in the same format so it doesn't get changed, or I stored the dates as integers and run through them.
724: [20:15:38] <b00mtastik> Varchat field with setter, right, guess its time to learn something new =)
725: [20:18:35] <kinglozzer> Request to tiny_mce_gzip.php takes 40 seconds -.-
726: [20:18:45] <b00mtastik> Thanks for the help guys. I was so sure I had this working previously, but that was a while ago and I can't remember now. I think I might have stored as int and then converted the date from datepicker back to int to run through the datefield.
727: [20:23:23] <antmas> what's the export csv override function called?
728: [20:26:50] <kinglozzer> Okay, tracked my tinymce issue down to readfile(). Any ideas anyone?
729: [20:27:27] <catcher> kinglozzer, permissions timing out?
730: [20:27:33] <kinglozzer> Wait, no, that's taking no time at all. Just taking forever to get to my browser
731: [20:27:33] * Ryan-Toast has joined #silverstripe
732: [20:30:00] <catcher> kinglozzer, I'd look into your cache/tmp dirs
733: [20:30:49] <UncleCheese> Morning, folks
734: [20:30:59] <antmas> UncleCheese: le morn
735: [20:31:07] <UncleCheese> quick poll.. how do you pronounce this: /etc/
736: [20:31:21] <antmas> etcetera?
737: [20:31:24] <UncleCheese> ooooh
738: [20:31:43] <antmas> how else is it prononced? o.O
739: [20:31:45] <UncleCheese> am i the only one who says "etcee?"
740: [20:31:45] <simon_w> Unless it's the folder, then e t c
741: [20:31:52] <UncleCheese> i'm talking about the directory
742: [20:31:54] <UncleCheese> sorry
743: [20:31:57] <UncleCheese> hence the / /
744: [20:31:59] <antmas> OH
745: [20:32:01] <antmas> ofc
746: [20:32:17] <antmas> then yeah, ee tee cee
747: [20:32:27] <UncleCheese> so simon_w says each letter individually
748: [20:32:29] <UncleCheese> as does antmas
749: [20:32:39] <antmas> UncleCheese: why do you ask?
750: [20:32:45] <UncleCheese> because it's really interesting
751: [20:32:52] <UncleCheese> there's no lexicon for words that are only typed
752: [20:33:04] <UncleCheese> so we just invent it in our own heads
753: [20:33:12] <UncleCheese> how do you pronounce this: chmod
754: [20:33:24] <antmas> also, anyone for my csv export? I can't find (remember) what the function is to override what fields from GridField are exported
755: [20:33:37] <simon_w> ch-mod
756: [20:33:44] <antmas> UncleCheese: "Ch Mod"
757: [20:34:03] <antmas> acutally no, more like "shmod"
758: [20:34:10] <UncleCheese> do you say "cee" "aich" mod?
759: [20:34:16] <simon_w> no
760: [20:34:16] <UncleCheese> or ch mod?
761: [20:34:21] <UncleCheese> oh, ow
762: [20:34:24] <UncleCheese> that's a mouthful
763: [20:34:27] <simon_w> ch, as in change
764: [20:34:30] <UncleCheese> right
765: [20:34:39] <antmas> I say it more with a 'sh'
766: [20:34:44] <UncleCheese> it's too hard for me to connect a "ch" sound to an "m"
767: [20:34:55] <antmas> UncleCheese: ^^^^ that's why
768: [20:35:04] <UncleCheese> so I say "cee" "aich" mod
769: [20:35:12] <UncleCheese> nice
770: [20:35:17] <UndefinedOffset> antmas it's setExportColumns() on GridFieldExportButton http://api.silverstripe.org/3.1/source-class-GridFieldExportButton.html#159-164
771: [20:35:18] <UncleCheese> this is so fascinating!
772: [20:35:19] <simon_w> antmas, either summary_fields to setExportColumns on the GridFieldExportButton component
773: [20:35:29] <antmas> UncleCheese: that still has the same problem as saying ch-mod
774: [20:35:29] <UndefinedOffset> lol...
775: [20:35:33] <UncleCheese> i thought it could be defined at the DO level, too
776: [20:35:34] <antmas> still connects ch to m
777: [20:35:53] <UncleCheese> antmas: you just blew my mind
778: [20:35:54] <antmas> UndefinedOffset: simon_w thanks
779: [20:36:21] <antmas> UncleCheese: I have that effect on people :D
780: [20:37:41] * antmas can't stop whispering "shmod" to himself
781: [20:37:41] <simon_w> UncleCheese, and then there's ch-group, ch-own too
782: [20:37:51] <UncleCheese> chown is an easy one
783: [20:37:56] <UncleCheese> what about
784: [20:38:22] <UndefinedOffset> antmas UncleCheese didn't there used to be a $csv_fields or something like that in 2.x? I think in some ways it would be better served to be on the DO level by default instead of looking just to summary_fields by default, i know there's many times were I want to export more than i want to show in the columns
785: [20:38:59] <UncleCheese> Nah, I can see why they left that out
786: [20:39:01] <antmas> UndefinedOffset: yeah, I'm now using summary_fields, but I do want separation here
787: [20:39:14] <UncleCheese> otherwise it would be coupled with some random GridFieldCompoenent
788: [20:39:15] <UncleCheese> that's bad design
789: [20:39:22] <UncleCheese> a data object shouldn't know anything about CSV
790: [20:39:30] <antmas> ^^^ this
791: [20:39:48] <UncleCheese> to be fair, it shouldn't know anything about summaries, either, but you pick your battles
792: [20:40:05] <UndefinedOffset> ya true
793: [20:40:31] <antmas> so, no webstock for anyone here?
794: [20:40:38] <UncleCheese> although, UndefinedOffset i recently got something merged into the SS core that makes grid field configs first class objects
795: [20:40:43] <UncleCheese> which means they can be decorated
796: [20:40:55] <UncleCheese> which means you can now define something like "sortable: true"
797: [20:41:09] <UncleCheese> that would automatically bundle your SortableGridField component into its default config
798: [20:41:11] <UncleCheese> :D
799: [20:41:28] <UndefinedOffset> that's very cool, I could see that being used allot
800: [20:41:33] <UncleCheese> yeah, totally
801: [20:41:55] <UncleCheese> i made a shortcut for it in my ZenFields module.. where you just say ->addDragAndDrop()
802: [20:42:02] <UncleCheese> quite handy..
803: [20:42:04] <antmas> UncleCheese: AHHH! I've been waiting for this!
804: [20:42:09] <antmas> yay :D
805: [20:42:20] <UncleCheese> yeah, man, it may even be in 3.1.2
806: [20:42:36] <UncleCheese> i know i use it in my mock_dataobejcts module
807: [20:42:48] <UncleCheese> which automatically adds an "add mock data" button to your grids
808: [20:43:28] <antmas> UncleCheese: mock data, I could totally use that in this 36 field form I'm building :O
809: [20:44:18] <UncleCheese> yeah, it's a badass module
810: [20:44:22] <UncleCheese> i love it
811: [20:44:38] <UncleCheese> http://www.leftandmain.com/silverstripe-screencasts/2013/11/07/just-fake-it-the-mockdataobjects-module/
812: [20:45:30] <antmas> UncleCheese: 3.0?
813: [20:45:37] <UncleCheese> only
814: [20:45:56] * antmas downloads
815: [20:46:19] <UncleCheese> :D
816: [20:46:52] <kinglozzer> 110 second response time according to apache logs
817: [20:46:54] <kinglozzer> Ugh
818: [20:46:59] <antmas> http://www.titanfall.com/1/beta/pc is borked :( must be pretty popular
819: [20:47:20] <Ryan-Toast> Man, that website is amateur.
820: [20:47:53] <Ryan-Toast> ugh, masonry social wall. Really?
821: [20:48:36] <antmas> Ryan-Toast: titanfall site?
822: [20:48:40] <Ryan-Toast> yes.
823: [20:48:50] * SphereSilverNL quit (Remote host closed the connection)
824: [20:49:34] <antmas> yeah I haven't seen masonry used in a while actually
825: [20:50:41] <Ryan-Toast> I'm not a fan.
826: [20:51:03] <UncleCheese> speaking of CSV export, it only exports the current page?
827: [20:51:17] <UncleCheese> how do you export the whole result set?
828: [20:51:27] <UndefinedOffset> 0_O well... thats a pain
829: [20:52:17] <UncleCheese> it is?!
830: [20:53:28] <UndefinedOffset> UncleCheese I would guess the only way would be to remove pagination like I did for awhile with SortableGridField :S which is ugly, interesting limitation to csv exporting :S
831: [20:53:45] <UncleCheese> !!!!!!!!!
832: [20:54:01] <UncleCheese> why wouldn't the grid field export button just look at the unlimited set?
833: [20:54:08] <UncleCheese> what is the use case for just exporting a page?
834: [20:54:09] <UncleCheese> so odd
835: [20:54:41] <simon_w> UncleCheese, a GridField showing a limited set of items without pagination
836: [20:54:47] <UncleCheese> no
837: [20:54:52] <UncleCheese> just on the export action
838: [20:54:57] <simon_w> Yes
839: [20:55:20] <UncleCheese> when i have 1,000 records, why would i only want to export 15?
840: [20:55:53] <simon_w> How does it know the difference between passing $list->limit(15) to the GridField or some other component adding the limit?
841: [20:56:44] <UncleCheese> i guess i need to look at it, but i assume the export action could just say $list = $list->limit(null);
842: [20:57:13] <simon_w> How does it know the difference between passing $list->limit(15) to the GridField or some other component adding the limit?
843: [20:57:19] <kinglozzer> I'm desperate, anyone have any ideas why apache is slow at outputting tinymce? Apache is saying the requests are done after 0.005 seconds, but the script is still being downloaded after around 30 seconds
844: [20:57:42] <UncleCheese> well the grid field is never rendering an unlimited set.. it's just happening on that export action, and when the grid renders it uses the previous state
845: [20:58:26] <simon_w> UncleCheese, here, I'll make it more explicit: GridFIeld::create('TopPosts', 'Top Posts' $this->Posts()->sort('Top')->limit(15))
846: [20:58:32] <UncleCheese> never mind
847: [20:58:35] <simon_w> The export button show not remove the limit
848: [20:58:39] <simon_w> *should
849: [20:58:40] <UncleCheese> ohhh
850: [20:58:59] <simon_w> kinglozzer, how long does curl take?
851: [20:59:03] <UncleCheese> here's something interesting, though… gridfieldexportbutton line 131
852: [20:59:04] <UncleCheese> foreach($items->limit(null) as $item) {
853: [20:59:08] <UncleCheese> who knows
854: [21:00:28] <kinglozzer> simon_w: No idea, should i test curling a file on my hard disk?
855: [21:00:41] <simon_w> kinglozzer, you curl the URL
856: [21:00:53] <kinglozzer> Ah 1 sec
857: [21:01:46] <kinglozzer> I think it's stuck
858: [21:02:27] <kinglozzer> Yep, it keeps getting stuck for ~10 seconds, then loading the next chunk
859: [21:05:22] <antmas> is there anyway to format an exported .csv?
860: [21:06:58] <kinglozzer> simon_w: It keeps stopping at the exact same point, _exactly_ 191321 bytes in
861: [21:07:26] <UncleCheese> simon_w: https://github.com/silverstripe/silverstripe-framework/commit/65d96e8d7ceb3a38af67b8dc6722e6dfd2a86643
862: [21:08:09] <UncleCheese> i suppose willr hadn't considered your scenario of passing an already limited list
863: [21:08:18] <simon_w> UncleCheese, yes, I'm the only one that thinks of edge cases
864: [21:08:32] <UncleCheese> and we're losing you to Oz
865: [21:14:09] <zippy__> but… but… simon_w will still hang out in here… surley...!
866: [21:14:34] * zippy__ gets his prayer beads out
867: [21:15:08] * antmas looks around >.>
868: [21:16:07] * UncleCheese_ has joined #silverstripe
869: [21:16:18] <kinglozzer> Fixed. I need to add my local hostname (lozmbp.local) to my /etc/hosts. I've got absolutely no idea why on earth that would cause such incredibly slow output, but it's fixed it.
870: [21:17:30] <antmas> man, nz tax rates are so confusing to me :<
871: [21:18:17] <Ryan-Toast> antmas: what part?
872: [21:18:33] <antmas> Ryan-Toast: all of it :P
873: [21:18:36] <antmas> https://www.ird.govt.nz/how-to/taxrates-codes/itaxsalaryandwage-incometaxrates.html
874: [21:18:37] <Ryan-Toast> lol.
875: [21:18:39] <antmas> so
876: [21:18:41] <antmas> with this
877: [21:18:54] <Ryan-Toast> yes.
878: [21:19:02] <antmas> if you earn less than 14k p/a, your tax is 12.2%?
879: [21:19:16] <Ryan-Toast> no.
880: [21:19:19] <Ryan-Toast> well, yes.
881: [21:19:34] <antmas> is it? or isn't it?
882: [21:19:36] <Ryan-Toast> The first 14,000 you make a year is taxed at 12.2%
883: [21:20:03] <antmas> so that's UP TO 14k right?
884: [21:20:08] <Ryan-Toast> Yes.
885: [21:20:13] <antmas> ok
886: [21:20:43] * UndefinedOffset quit (Quit: Leaving.)
887: [21:20:46] <Ryan-Toast> So I'm in the last tax bracket, but I only don't pay 33 cents for everything I earn, only what I earn over 70,000
888: [21:20:50] <Ryan-Toast> if that makes sense.
889: [21:21:41] <antmas> Ryan-Toast: yeah, so your normal tax rate is 30c?
890: [21:21:54] <Ryan-Toast> Only what I earn over 70,000
891: [21:22:01] <Ryan-Toast> is taxed at 33 cents
892: [21:22:07] * kinglozzer quit ()
893: [21:22:08] <antmas> ah right
894: [21:23:07] <Ryan-Toast> If it didn't work like that you'd get more money earning like 65,000 than earning 71,000
895: [21:23:15] <Ryan-Toast> Which would be bs
896: [21:23:28] <antmas> I get it now
897: [21:23:44] <antmas> it's the over the bracket amounts I wasn't getting
898: [21:24:12] <Ryan-Toast> Normally your work will do your PAYE as an average of what they expect you to earn.
899: [21:24:34] <zippy__> There is a PAYE calculator on the ird website as well
900: [21:24:34] <antmas> Ryan-Toast: hence tax refunds
901: [21:24:41] <Ryan-Toast> Which is why you have tax returns, if they messed up the estimate
902: [21:25:52] <Ryan-Toast> So for example, I got a pay rise this year which means the tax I was paying at the beginning of the year would have been less than what my total average would have been.
903: [21:26:13] <Ryan-Toast> But that's where I leave that shit to the accountants.
904: [21:26:55] <antmas> Ryan-Toast: this is exactly why I was getting confused - payrise last year and 2 more due this year
905: [21:27:00] <antmas> so my brackets are going to change
906: [21:27:04] <Ryan-Toast> antmas: nice.
907: [21:28:41] <Ryan-Toast> I just don't worry about it.
908: [21:29:37] <antmas> Ryan-Toast: I wouldn't normally either, but we're due for a personal budget adjustment so am trying to get it sorted before we buy things
909: [21:29:51] <Ryan-Toast> Personal budget adjustment?
910: [21:30:13] <antmas> Ryan-Toast: me and gf
911: [21:30:33] <Ryan-Toast> I still don't understand./
912: [21:30:37] <zippy__> something you to just do together?
913: [21:30:42] <zippy__> you two*
914: [21:30:46] <antmas> Ryan-Toast: joint accounts etc
915: [21:30:48] <antmas> zippy__: yeah
916: [21:30:53] <ss23> Our district is very dry, the fire danger is very high. !
917: [21:31:15] <zippy__> antmas: so a, I earn more so I should be allows a new computer? :)
918: [21:31:17] <Ryan-Toast> antmas: Fuck that :P
919: [21:31:27] <antmas> zippy__: haha YES!
920: [21:31:42] <antmas> Ryan-Toast: it's kinda good though, makes saving way easier
921: [21:32:24] <Ryan-Toast> antmas: Saaaaving?
922: [21:32:38] <Ryan-Toast> I got a spending app on monday...it's not good.
923: [21:32:55] <catcher> Ryan-Toast, did you spend money on the app?
924: [21:33:03] <Ryan-Toast> lol, yes.
925: [21:33:06] <antmas> hahaha
926: [21:33:23] <catcher> :)
927: [21:33:34] <antmas> Ryan-Toast: the app isn't good? or your spending isnt?
928: [21:33:52] <Ryan-Toast> http://i.imgur.com/KHNFn1T.png
929: [21:34:29] <antmas> Ryan-Toast: does it rely on you entering the money data?
930: [21:34:34] <Ryan-Toast> yeah.
931: [21:34:37] <antmas> I'd rather one that pulls from my account
932: [21:34:50] <Ryan-Toast> but it sends you a notification if you haven't entered anything that day.
933: [21:35:07] <antmas> what's it called?
934: [21:35:12] <Ryan-Toast> I'd rather not have third party apps link to my bank account...
935: [21:35:22] <Ryan-Toast> Expense manager
936: [21:35:49] <antmas> no thirdparty, but an extension to a mobile banking app
937: [21:36:06] <Ryan-Toast> Ah, right.
938: [21:36:22] <Ryan-Toast> Asb does that with their money breakdown thing.
939: [21:36:35] <antmas> Ryan-Toast: expense manager is free though...
940: [21:36:52] <Ryan-Toast> Yeah, but I always get a paid version of things to support developers.
941: [21:37:17] <antmas> oh, I do to, but I only see a free version, or is it purchased in app?
942: [21:37:30] <Ryan-Toast> It's free, but you can unlock other shit you don't need.
943: [21:37:41] <Ryan-Toast> for $2 or something.
944: [21:42:00] <ss23> http://gdc.govt.nz/assets/Uploads/_resampled/croppedimage564254-Summer-sprinkler2.jpg Brazzers
945: [21:42:40] <antmas> lol
946: [21:45:29] <zippy__> lol
947: [21:46:36] <Ryan-Toast> Alt-tabbing to EDM music videos can be a dangerous thing sometimes.
948: [21:47:05] <ss23> Because... NSFW or what?
949: [21:47:07] <ss23> Seizures?
950: [21:47:07] <ss23> :D
951: [21:47:09] <Ryan-Toast> lol, yeah.
952: [21:47:16] <Ryan-Toast> Boobs. Boobs everywhere.
953: [21:47:21] <ss23> :D
954: [21:47:22] <ss23> do it
955: [21:47:34] <Ryan-Toast> did, my boss was just like: "......nice"
956: [21:50:17] <antmas> that's about as interesting as me forgetting to switch audio output to headphones when my black metal plays on spotify
957: [21:50:23] <Ryan-Toast> heh
958: [21:50:32] <antmas> gets some funny looks
959: [21:50:58] <antmas> "screaming isn't really singing"? "how can you listen to that?"
960: [21:51:25] <Ryan-Toast> "It's all just beeps and hoops, how can you listen to that?"
961: [21:51:33] <Ryan-Toast> boops**
962: [21:52:05] <ss23> lol
963: [21:52:16] <ss23> it's all just people blowing air into pipes, how can you listen to that?
964: [21:52:23] <ss23> it's all just people rubbing some strings, how can you listen to that?
965: [21:52:56] <Ryan-Toast> +1
966: [21:53:21] <Ryan-Toast> If anyone likes DnB this is a great mix of last years big tracks: https://www.youtube.com/watch?v=Xku73eTsGIQ&hd=1
967: [21:57:36] <antmas> I hate youtube playlists
968: [21:57:45] <Ryan-Toast> How come?
969: [21:57:55] <antmas> for music anyway
970: [21:57:59] <ss23> me too
971: [21:58:02] <antmas> just seems a bit redundant
972: [21:58:05] <ss23> they just seem so nonfucntionali
973: [21:58:06] <Ryan-Toast> Why?
974: [21:58:21] <antmas> why youtube for music? why not a music service?
975: [21:58:46] <Ryan-Toast> Sometimes I like to watch.
976: [21:58:58] <Ryan-Toast> /creepy voice
977: [21:59:01] <antmas> Ryan-Toast: I'm sure you do :P
978: [21:59:03] <antmas> lol
979: [21:59:29] <antmas> also, if no tracklist then it's hard to track the songs down
980: [21:59:50] <Ryan-Toast> I usually get all my music from Reddit.
981: [22:00:00] <ss23> torrents here
982: [22:00:10] <ss23> though using Google Music atm, because of the horrible CGN I'm on atm
983: [22:00:10] <ss23> :
984: [22:00:22] <Ryan-Toast> I use this to add a bunch of genres, and when I hear a song I like I add it to a playlist: http://redditplayer.phoenixforgotten.com/#populate
985: [22:02:10] <zippy__> youtube playlists work best with adblock installed...
986: [22:02:20] <Ryan-Toast> Which I have :P
987: [22:03:01] <zippy__> I used to torrent, now I use spotify… does that make me a sell out...
988: [22:06:51] <ss23> lol
989: [22:07:04] <ss23> My understanding is that spotify is missing a lot of unpopular music
990: [22:15:51] <ss23> It's seriously retarded how slow puppet is
991: [22:19:38] <catcher> Hmm, how is it possible to tell if an SS_DateTime's time is null vs midnight? It's written to the DB with time 00:00:00 regardless.
992: [22:30:26] <simon_w> catcher, you can only have the entire thing be null, not only the time
993: [22:32:38] <catcher> simon_w, is that an SS_DateTime thing, or a PHP->Mysql DateTime thing?
994: [22:32:50] <simon_w> catcher, that's an any sort of database thing
995: [22:32:55] <catcher> kk, thanks
996: [22:35:41] * babak quit (Ping timeout: 246 seconds)
997: [22:37:01] * babak has joined #silverstripe
998: [22:45:20] * willr has joined #silverstripe
999: [22:45:24] * terryapodaca has joined #silverstripe
1000: [22:46:38] <terryapodaca> I'm still making little modifications here and there, but thanks to everyone that helped me get this site sped up: http://www.dairymax.org/
1001: [22:47:34] <terryapodaca> It's still not perfect but I was able to get it down from ~20-24 seconds to roughly 2-4 seconds
1002: [22:48:44] <catcher> terryapodaca, what had the biggest effect?
1003: [22:50:02] <terryapodaca> catcher: simon_w showed me that my menus were causing way too much overhead (main menu and footer)
1004: [22:50:14] * nhorstmeier has joined #silverstripe
1005: [22:50:23] <ss23> So you static cache'd it, right?
1006: [22:50:27] <ss23> uh
1007: [22:50:29] <ss23> partial*
1008: [22:50:31] <terryapodaca> so I wrapped those in <% cached Aggregate(SiteTree).max(LastEdited) %><% end_cached %>
1009: [22:50:40] <ss23> terryapodaca: That's not enough
1010: [22:50:53] <terryapodaca> ss23?
1011: [22:51:00] <ss23> terryapodaca: Do you know how the cache keys work? for partial caches?
1012: [22:51:05] <catcher> boo
1013: [22:51:05] <ss23> (God, I sound mean right now, I don't mean to!)
1014: [22:51:08] <catcher> [30/01/2014 09:31:56] <catcher> terryapodaca, just start killing things that happen site-wide on your local copy & test the response. I'd suspect Nav, footer, etc.
1015: [22:51:28] <ss23> terryapodaca: Basically, that says "Just check if the maximum LastEdited value of any published page has changed"
1016: [22:51:44] <ss23> terryapodaca: but there is an issue in that if you ever *unpublish* a page, that value won't change, meaning that it'll be a broken/stale cache
1017: [22:52:25] <terryapodaca> catcher: you too...there's a hand full of people that I need to buy beers for
1018: [22:52:26] <ss23> terryapodaca: You want it to be like <% cached List(SiteTree).max(LastEdited), List(SiteTree).count() %> instead :
1019: [22:52:30] <ss23> :)
1020: [22:52:43] <zippy__> terryapodaca: 2.7 seconds still a bit high - and you have dev mode on still fyi :)
1021: [22:52:48] <zippy__> but big improvement
1022: [22:53:33] <catcher> I have some extremely silly pages that I cache infinitely and flush manually only, so I can spend the time regenerating it myself when it's convenient.
1023: [22:53:56] <terryapodaca> ss23: thanks for the tip...I did not know that. I read the documentation on partial caching before I made these changes. A little confusing at first but I am catching on
1024: [22:54:19] <ss23> terryapodaca: Yeah, no problems! We ran into it a lot, so I updated the docs to make note of it :)
1025: [22:54:23] * UncleCheese_ quit (Quit: UncleCheese_)
1026: [22:55:18] <zippy__> terryapodaca: on a shared dream host plan?
1027: [22:55:43] <Ryan-Toast> can you guess when I remade my site in Silverstripe :P http://i.imgur.com/1vA4JVf.jpg
1028: [22:56:23] <ss23> What is that graph? o.o
1029: [22:56:27] <catcher> Ryan-Toast, what was it on before?
1030: [22:56:30] <ss23> NOT VISITORS I HOPE?! ;_;
1031: [22:56:31] <Ryan-Toast> Google analytics traffic
1032: [22:56:34] <catcher> hahaha
1033: [22:56:44] <ss23> wah
1034: [22:56:49] <ss23> You lost visitors because you used SilverStripe what?1
1035: [22:56:51] <zippy__> O.o
1036: [22:56:53] <Ryan-Toast> May have to look at my seo
1037: [22:57:00] <catcher> oh, you're serious
1038: [22:57:12] <terryapodaca> zippy_: yeah, 2.7 is about the average right now...still working on some other things like image optimization and combining css/js files, etc
1039: [22:57:21] <ss23> Yeah, combined_files is a big one
1040: [22:57:26] <Ryan-Toast> lol, yeah. srs business.
1041: [22:57:31] <ss23> terryapodaca: But like someone said, turning off dev mode can make an *insane* speed up too :D
1042: [22:57:37] <ss23> terryapodaca: So do that for the testing etc :)
1043: [22:57:49] <zippy__> terryapodaca: that 2.7 is not taking into account css/js etc, it's the time of getting the html...
1044: [22:58:19] <terryapodaca> right...time to first byte, right zippy_?
1045: [22:58:36] <terryapodaca> and thanks for the heads up on the Dev mode...I forgot about that
1046: [22:58:50] <zippy__> right
1047: [22:59:07] <zippy__> http://www.silverstripe.org/improving-silverstripe-performance/
1048: [22:59:21] <ss23> lol
1049: [22:59:23] <zippy__> :D
1050: [22:59:46] <terryapodaca> zippy_: Ive done most of those
1051: [23:00:02] <terryapodaca> it is on Dreamhost but on a VPS
1052: [23:00:51] <spronk> terryapodaca: did you check out new relic?
1053: [23:01:34] <terryapodaca> I haven't yet...that's planned for tomorrow
1054: [23:02:43] <terryapodaca> Client was on the verge of scrapping the whole thing so I needed instant results...but now that it's manageable I can really dig deep to see what really needs to be fixed
1055: [23:03:53] * Nimle has joined #silverstripe
1056: [23:04:19] <Nimle> Hi guys, when you change the mode to live from dev, why this one is not disabled? Security::setDefaultAdmin('admin','pass');
1057: [23:04:45] <simon_w> Nimle, because it's not a dev-only feature
1058: [23:05:06] <terryapodaca> lol..I was in the process of saying that
1059: [23:07:55] <Nimle> but is a vulnerability if left there. Many hosting companies say you can not keep unencrypted password in any file. I think it is only needed in dev. even if live and you are locked out, you can still change dev to dev to access and change password. Is there any way to overwrite it to make only available in dev mode?
1060: [23:07:57] <ss23> lol
1061: [23:08:22] <ss23> Nimle: If you are in a position to change the code to disable it, you're also able to just not add that directive, right?
1062: [23:08:34] <spronk> terryapodaca: seriously, just stick new relic on
1063: [23:08:36] <spronk> takes a few minutes
1064: [23:08:38] <ss23> Nimle: It's not a feauture of SilverStripe to "turn it off" in production, just don't use it :P
1065: [23:08:42] <spronk> and should pretty much instantly give you some sort of visibility
1066: [23:08:46] <Nimle> the issue is many other developers in our different offices used my codebase
1067: [23:08:51] <Nimle> they copied the config
1068: [23:08:59] <Nimle> now everyone has the same passowrd
1069: [23:09:02] <ss23> lol
1070: [23:09:10] <antmas> Nimle: o.O
1071: [23:09:11] <simon_w> Nimle, if(Director::isDev()) { ... }
1072: [23:09:18] <ss23> Nimle: Make a point of never including it in the communal code base
1073: [23:09:26] <ss23> Nimle: Oh uh, you might find it handy that uh, like
1074: [23:09:27] <antmas> ^^^ this
1075: [23:09:30] <spronk> mm
1076: [23:09:44] <ss23> Nimle: Basically, we never ever put that kind of thing in the git or communal code base, *but* for development, in my _ss_environment.php file, I include it theree
1077: [23:10:00] <ss23> Nimle: Would that work for you? It means you can still use hard coded development creds, but you have 0 chance of anyone copying them, since they're not in git :)
1078: [23:10:10] <spronk> mm stick it in env file only and not in scm
1079: [23:11:05] <antmas> ugh /tmp in 2.4
1080: [23:11:10] <Nimle> Yeah, it works. I will send an email to everyone so that you add it.
1081: [23:11:13] <antmas> staahpp
1082: [23:11:28] <Nimle> but keep it because other developer can access changing the mode to dev when needed
1083: [23:11:41] <Nimle> thank you
1084: [23:12:28] <Nimle> Before I thought it would be disabled when it is in live mode. But my bad :)
1085: [23:14:10] * UncleCheese quit (Quit: UncleCheese)
1086: [23:14:35] <Nimle> Actually, we lost one client for that a few days ago. Because hosting company told them there is a non-encrypted password kept in a file. It is hard to explain to the client. :(
1087: [23:15:26] <zippy__> how do they get on with database details...
1088: [23:15:48] <ss23> Nimle: how do they expect it to connect to the database without having the database creds stored somewhere...?
1089: [23:15:58] <ss23> yeah, what zippy__ said
1090: [23:16:00] <antmas> bah
1091: [23:16:06] <Nimle> database only allows local connection
1092: [23:16:11] <antmas> wish there was a way to back check a phone number
1093: [23:16:15] <ss23> But the creds are in plaintext?
1094: [23:16:15] <antmas> ... or is there?
1095: [23:16:36] <Nimle> but if I tell you my database password, you can not do anything
1096: [23:16:53] <zippy__> umm..
1097: [23:17:01] <Nimle> but if you know my admin details, you can login and delete or post anything there
1098: [23:17:31] <zippy__> how will I get your admin details? from reading it from your php file? if so….. you have bigger problems
1099: [23:18:17] <Nimle> No, but hosting company says if php crashes or apache disables that module, people will see php files as text files
1100: [23:18:22] <Nimle> because php will not parse
1101: [23:18:31] <Nimle> it is an unlikely situation
1102: [23:18:36] <Nimle> but
1103: [23:18:48] <Nimle> if client knows it, you can not explain to the client that it means nothing
1104: [23:18:58] <Nimle> client just says non-encrypted password bla bla
1105: [23:19:00] <simon_w> And then they get your database details too.
1106: [23:19:10] <simon_w> Set up an account on the same server, database access
1107: [23:19:16] <Nimle> but database details can not do anything
1108: [23:19:19] <antmas> anyone know of a way to look up a phone number without a name?
1109: [23:19:30] <ss23> Call it and say "Hi, is this greg?"
1110: [23:19:31] <Nimle> say you know my my database user, password, database name etc.
1111: [23:19:33] <zippy__> antmas: ring them :)
1112: [23:19:57] <antmas> zippy__: :O I hate doing that incase it's something dumb that I missed
1113: [23:20:07] <ss23> Nimle: This really does seem worth changing hosting companies over, they seem very incompetent
1114: [23:20:37] <simon_w> Nimle, then, if the database is listening externally (most likely the case on shared hosting), you're screwed. Or, if it's shared hosting, someone can set up an account on the same server and you're screwed again
1115: [23:20:41] <ss23> Thursday? Must be time to go out and start drinking at lunch time! o/
1116: [23:20:44] <simon_w> If you control the server, this is a moot point
1117: [23:20:53] <antmas> zippy__: it's a 546 number, is that Nelson central?
1118: [23:21:02] <simon_w> antmas, google
1119: [23:21:08] <Nimle> no, all our db allows local connections only currently
1120: [23:21:13] <antmas> simon_w: shows nothing
1121: [23:21:15] <zippy__> antmas: dunno, numbering these days is a bit squiff
1122: [23:21:50] <zippy__> Nimle: what happens if someone changes the mysql config by mistake (just want to connect from home…) its as good as whatif as php module being disabled?
1123: [23:22:30] * Colin[pi] has joined #silverstripe
1124: [23:22:32] <Nimle> so, you mean db details also shouldn't be in config or? :)
1125: [23:22:38] <zippy__> ideally…. all these shouldn't be web accessable anyway (out of document root)
1126: [23:22:58] <simon_w> Also, you've got https://github.com/silverstripe/silverstripe-installer/blob/3.1/mysite/.htaccess so it really doesn't matter
1127: [23:23:59] <zippy__> indeed
1128: [23:25:37] <simon_w> Nimle, no, database details shouldn't be in your _config.php either, but that's beside the point
1129: [23:26:21] * Azure quit (Read error: Connection reset by peer)
1130: [23:26:38] * maknz quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1131: [23:26:47] * Azure has joined #silverstripe
1132: [23:26:58] <Colin[pi]> morning all
1133: [23:27:11] <antmas> EVERYONE STOP
1134: [23:27:17] <simon_w> HAMMER TIME
1135: [23:27:18] <antmas> Colin[pi]: IS HERE
1136: [23:27:23] <ss23> moin moin
1137: [23:27:39] <antmas> ss23: is webstock finished?
1138: [23:27:43] <antmas> for the day
1139: [23:27:55] <zippy__> Nimle: http://doc.silverstripe.org/framework/en/topics/environment-management there ya go
1140: [23:28:39] <ss23> antmas: I don't think so?
1141: [23:28:40] <ss23> idk though
1142: [23:28:58] <antmas> ss23: oh, you didn't go?
1143: [23:29:06] <antmas> http://www.youtube.com/watch?v=yNS7zzIzX-E also, LARL!
1144: [23:31:04] <terryapodaca> curious...why does the default SS install put the db info in the _config?
1145: [23:31:28] <ss23> antmas: lol, no way!
1146: [23:31:33] <ss23> terryapodaca: Where else could it put it? :O
1147: [23:32:32] <Colin[pi]> CAN'T TOUCH THIS
1148: [23:32:35] <Colin[pi]> STOP
1149: [23:32:37] <Colin[pi]> HAMMER TIME
1150: [23:32:49] <terryapodaca> back when I had a IIS host...there was a version of SS installation that created the environment file
1151: [23:33:12] <terryapodaca> I just figured SS should do all that by default instead.
1152: [23:33:22] <ss23> terryapodaca: You can put it in the _ss_enviornment.php file if you want, but I don't think it's done it by default ever
1153: [23:33:28] <ss23> terryapodaca: It's more like... if it exists, it won't install
1154: [23:34:22] <antmas> ah got the number
1155: [23:34:29] <antmas> was on like the 7th page of Google...
1156: [23:35:03] <simon_w> antmas, who was it?
1157: [23:35:20] <antmas> simon_w: a place that sells firewood lol
1158: [23:35:34] <simon_w> antmas, good target for burning down then? :p
1159: [23:35:41] <antmas> hahaha
1160: [23:35:56] <terryapodaca> ss23: the Microsoft Web Platform Installer had a version (still might) that did
1161: [23:36:12] <ss23> oic oic
1162: [23:36:45] * Bollig|DesignCty has joined #silverstripe
1163: [23:37:16] * catcher quit (Ping timeout: 250 seconds)
1164: [23:38:12] <terryapodaca> ss23: not a big deal, just thought if that could, then so should a default install on any web server
1165: [23:38:43] <zippy__> antmas: got my 2 cords of word ....
1166: [23:39:01] <zippy__> going to be good times stacking that with my nancy hands
1167: [23:39:01] * nhorstmeier quit ()
1168: [23:39:14] * muskie9 has joined #silverstripe
1169: [23:39:43] <Ryan-Toast> http://www.youtube.com/watch?feature=player_embedded&v=g-A0ftEgOs0
1170: [23:45:32] <simon_w> Hungry but don't want to deal with web stock crowds
1171: [23:49:13] <zippy__> 12.55pm - 1.55pm Lunch Eat all the food!
1172: [23:49:22] <zippy__> simon_w: you got 5 mintues before it's lunch for them! gooo
1173: [23:56:02] * jedateach quit (Quit: jedateach)

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