#silverstripe IRC Log

IRC log for 21 October 2013

All timestamps are in UTC.

1: [00:00:37] * toddmorey quit (Ping timeout: 248 seconds)
2: [00:00:38] <simon_w> ss23, 4 minutes
3: [00:00:42] <ss23> mmk
4: [00:00:46] <ss23> :D
5: [00:03:29] * toddmorey has joined #silverstripe
6: [00:04:00] * EasyCo has joined #silverstripe
7: [00:05:20] <EasyCo> What are you guys running for as a PHP cache for you SS instances? I've got a really bad response time of 1.3s, thinking I might just go APC. Any experience?
8: [00:07:26] <spronk> tbh apc didn't speed me up that much
9: [00:07:35] <spronk> shaved maybe 15%-20%
10: [00:08:07] <EasyCo> Anything to help drop the 1.3s
11: [00:08:18] <spronk> static cache?
12: [00:08:35] <EasyCo> Qué?
13: [00:09:04] <shakesoda> argh, routing problems :(
14: [00:11:55] <shakesoda> I'm trying to make it so that if you go to a page under my wiki that doesn't exist it'll ask if you want to create one
15: [00:12:19] <shakesoda> and I haven't got a clue how to set up a rule like that.
16: [00:14:14] * swordsmanz has joined #silverstripe
17: [00:15:29] * toddmorey quit (Quit: Leaving.)
18: [00:18:02] <spronk> EasyCo: do you need database trips each page load? or can you do cachine
19: [00:18:03] <spronk> caching*
20: [00:18:06] <spronk> like
21: [00:18:08] <spronk> output static html
22: [00:18:26] <EasyCo> Ehm....
23: [00:18:28] * guzzlefry has joined #silverstripe
24: [00:18:30] <EasyCo> I guess it depends
25: [00:19:21] <EasyCo> What about the situation where you use ajax to hit an action that queries the DB?
26: [00:19:35] <EasyCo> I mean each page not he site is pretty static as far as its initial load goes
27: [00:20:19] <guzzlefry> hm
28: [00:20:22] <EasyCo> But the user can 'customise' the page, so to-speak, by clicking on buttons which loads up data via ajax/action.
29: [00:20:31] <guzzlefry> Has anyone implemented their own captcha module for SilverStripe?
30: [00:21:10] * toddmorey has joined #silverstripe
31: [00:21:13] <antmas> HOLY.SHIT. o.O http://www.gizmodo.com.au/2013/10/heres-how-terrifying-it-is-to-be-a-nsw-firefighter-right-now/
32: [00:23:33] <Colin[pi]> yeah those guys are amazing
33: [00:23:59] <EasyCo> Fucking nuts
34: [00:24:38] <EasyCo> Those fires travel so fast with the winds we've been getting
35: [00:25:24] <Colin[pi]> yeah when we had the canberra bushfires it was REALLY hot and REALLY windy
36: [00:25:32] <Colin[pi]> the fires were spreading at about 1m per second
37: [00:25:53] <EasyCo> The next 3 days are gonna be crazy
38: [00:26:01] <EasyCo> I wish them luck
39: [00:26:51] <antmas> is it dying down/coming under control yet?
40: [00:27:28] <EasyCo> No
41: [00:27:44] <EasyCo> They're back burning a lot to prepare for the next 3 days of intense heat and wind
42: [00:28:34] <antmas> oh so, burning off areas so it wont spread naturally?
43: [00:28:55] <EasyCo> Yep
44: [00:29:02] <EasyCo> No fuel, no fire.
45: [00:30:39] <antmas> true
46: [00:30:57] <antmas> TAKES FIGHTING FIRE WITH FIRE TO A WHOLE NEW LEVEL HUUUUH?
47: [00:32:24] * toddmorey quit (Quit: Leaving.)
48: [00:34:57] * toddmorey has joined #silverstripe
49: [00:35:03] <guzzlefry> :P
50: [00:40:01] * UncleCheese quit (Quit: UncleCheese)
51: [00:44:59] <irogue23> http://www.stuff.co.nz/waikato-times/news/9307885/Chemical-spill-shuts-Te-Rapa-Rd
52: [00:45:00] * funkygibbon has joined #silverstripe
53: [00:45:02] <irogue23> PVA glue
54: [00:45:04] <irogue23> some srs danger right there
55: [00:45:15] <irogue23> imagine the amount of pretending to peel your skin off!
56: [00:45:30] <ss23> hahhaha
57: [00:45:33] <ss23> roll in it!
58: [00:47:34] <simon_w> Woo, new database planning time!
59: [00:47:40] <ss23> yay!
60: [00:47:58] <simon_w> Time to switch back to the WORK end of my handy-dandy notebook
61: [00:50:16] <antmas> ahhh database planning
62: [00:50:25] <antmas> endless diagrams
63: [00:50:35] <shakesoda> blah
64: [00:50:42] <antmas> so many forgotten foreign keys
65: [00:51:21] <shakesoda> simon_w: do you know how I might respond to a 404 under a given page with something (say, a form)
66: [00:51:23] <guzzlefry> hrm
67: [00:51:31] <guzzlefry> New lines in text email, \r\n right?
68: [00:52:06] * UncleCheese has joined #silverstripe
69: [00:52:26] <antmas> shakesoda: so a section of content is 404ing?
70: [00:52:41] <shakesoda> antmas: I'm trying to make adding pages to this wiki not suck.
71: [00:53:04] <shakesoda> I want it to ask to create a page if you followed a link to something that isn't there.
72: [00:53:19] <antmas> shakesoda: ahhh ok
73: [00:53:40] <shakesoda> pretty standard wiki behavior, I just haven't got a clue how to do it here.
74: [00:53:49] <antmas> shakesoda: funny you should mention that, I built that into sharepoint last week :D
75: [00:53:58] * shakesoda cringes
76: [00:54:07] * antmas nods head
77: [00:55:58] <antmas> so, obviously you'd be checking for an ID, and redirecting BEFORE the 404
78: [00:56:04] <antmas> hmmmm
79: [00:56:06] <EasyCo> Anybody ever try Varnish for Cpanel?
80: [01:00:38] <antmas> EasyCo: nope, but hear good things
81: [01:00:48] <EasyCo> Might give it a go
82: [01:00:59] <EasyCo> I need to speed this bitch up
83: [01:01:11] <shakesoda> at the least I know that the request is making its way through my controller, that is a start.
84: [01:04:23] <mobiusnz> anyone worked with event_calendar module in ss3?
85: [01:05:14] <guzzlefry> Has anyone successfully themed the Recaptcha module's field?
86: [01:07:41] <shakesoda> figured out something that works for this, cool.
87: [01:08:23] <Zauberfisch23> good morning gent
88: [01:08:25] <Zauberfisch23> s
89: [01:09:14] <antmas> shakesoda: does it still 404? or are you catching before the response?
90: [01:09:24] <antmas> guten argen!
91: [01:09:34] * toddmorey quit (Quit: Leaving.)
92: [01:09:37] <Zauberfisch23> mobiusnz: UncleCheese made the module
93: [01:09:49] <Zauberfisch23> antmas: argen? :O
94: [01:10:05] <antmas> Zauberfisch23: is that not afternoon?
95: [01:10:22] <Zauberfisch23> I have never heared that word
96: [01:10:25] <Zauberfisch23> Abend?
97: [01:10:32] <Zauberfisch23> Abend == evening
98: [01:10:36] <Zauberfisch23> Morgen == morning
99: [01:10:37] <antmas> oh
100: [01:10:46] <Zauberfisch23> Nachmittag == Afternoon
101: [01:10:47] <antmas> Guten Tag is good afternoon
102: [01:11:00] <antmas> hmmm
103: [01:11:05] <Zauberfisch23> but yes, you would say "Guten Tag" during the day
104: [01:11:22] <Zauberfisch23> including afternoon
105: [01:11:36] <antmas> where are you situated?
106: [01:12:07] <Zauberfisch23> the internet :P
107: [01:12:15] <antmas> har
108: [01:12:19] <Zauberfisch23> but my phisical location is austria
109: [01:12:58] <antmas> nice
110: [01:13:07] <antmas> fffffff
111: [01:13:10] <antmas> "I can
112: [01:13:12] <Zauberfisch23> s/phi/phy
113: [01:13:27] <antmas> "I can't reproduce your error"
114: [01:13:42] <antmas> "I'm considering it fixed"
115: [01:13:44] <antmas> -_-
116: [01:14:17] <Zauberfisch23> someone beeing lazy :D
117: [01:14:29] <ss23> lol antmas
118: [01:14:39] <ss23> I WOULD NEVER DO THAT
119: [01:14:41] <ss23> Ha. HA. HA.
120: [01:14:43] <Zauberfisch23> :D
121: [01:14:48] <antmas> antmas: :D
122: [01:15:01] <ss23> ss23: :D
123: [01:15:04] <antmas> funnily enough, I'm going through that right now with a null reference error
124: [01:15:16] <antmas> I don't see it ;___;
125: [01:17:17] <antmas> my stack trace is like "yeah shit's happenin down in on line 'fuck you specificity' - good luck "
126: [01:18:40] * UncleCheese quit (Quit: UncleCheese)
127: [01:20:45] <shakesoda> antmas: catching before, I guess
128: [01:21:07] <shakesoda> I can get it to spit out my form and all, the only problem is figuring out when it's the right time.
129: [01:22:23] <antmas> shakesoda: right after checking for the ID
130: [01:23:49] <antmas> shakesoda: if ID exists, go to page, else create new page
131: [01:24:50] <shakesoda> well, duh.
132: [01:25:16] <antmas> shakesoda: well, that is the right time :P
133: [01:28:56] <antmas> guzzlefry: did you ever get that payment mod working?
134: [01:29:05] * UncleCheese has joined #silverstripe
135: [01:35:02] * DigNZ quit (Quit: DigNZ)
136: [01:35:57] <ss23> 30 seconds response times aren't normal
137: [01:36:01] <ss23> but when you're a stupid client they are!
138: [01:36:45] <antmas> ss23: yuck
139: [01:37:18] <mobiusnz> hey UncleCheese, you about?
140: [01:37:25] <UncleCheese> hi
141: [01:37:42] <mobiusnz> I'm having some fun with a couple of your modules post upgrade to 3.1
142: [01:38:08] <mobiusnz> event calendar and image gallery...
143: [01:38:11] <UncleCheese> ok
144: [01:38:34] <UncleCheese> image gallery?
145: [01:38:37] <UncleCheese> are you mad?
146: [01:38:42] <mobiusnz> probably
147: [01:38:51] <UncleCheese> i don't think that was ever adopted for 3.0
148: [01:38:53] <mobiusnz> I think this was an ss2.1 site
149: [01:39:03] <antmas> woah
150: [01:39:05] <mobiusnz> yeah, I'm thinking that maybe as well.
151: [01:39:07] <antmas> 2.1?
152: [01:39:14] <UncleCheese> yeah, pour yourself a tall one
153: [01:39:34] <UncleCheese> the WTFs per minute are about to break records
154: [01:39:39] <mobiusnz> haha
155: [01:39:58] <mobiusnz> actually looking now it is currently running 2.3.3, so I must've hacked together enough changes
156: [01:40:18] <mobiusnz> but year, event calendar has been updated to 3.0, right?
157: [01:40:24] <UncleCheese> yes
158: [01:40:37] <mobiusnz> I get [Error] Couldn't run query: SELECT DISTINCT count(DISTINCT "CalendarDateTime"."ID") AS "0" FROM "CalendarDateTime" LEFT JOIN "CalendarAnnouncement" ON "CalendarAnnouncement"."ID" = "CalendarDateTime"."ID" WHERE ("CalendarID" = '98') AND ("CalendarDateTime"."ClassName" IN ('CalendarAnnouncement')) Column 'CalendarID' in where clause is ambiguous
159: [01:40:46] <mobiusnz> when I try and view the calendar in admin
160: [01:40:57] <UncleCheese> if you upgraded, you need to delete that obsolete column from the 2.4 version
161: [01:41:47] <mobiusnz> erm, which column is now obsolete?
162: [01:42:05] <UncleCheese> CalendarDateTime.CalendarID, i believe
163: [01:42:06] <UncleCheese> check the model
164: [01:44:00] <mobiusnz> ok, that gets rid of the error
165: [01:44:09] <mobiusnz> but all the data seems to be missing
166: [01:44:15] <UncleCheese> yeah, you'll have to migrate that
167: [01:45:04] <mobiusnz> is there a guide somewhere?
168: [01:45:56] <antmas> mobiusnz: your site have a lot of events?
169: [01:45:58] <antmas> stored?
170: [01:46:13] <mobiusnz> ~246
171: [01:46:25] <antmas> damn
172: [01:47:00] <UncleCheese> i think he data model is commensurate for the most part
173: [01:47:16] <UncleCheese> the only major change i remember is that the calendarID field moved form CalendarDateTime to CalendarAnnouncement
174: [01:47:42] <UncleCheese> so if you have a lot of announcements, then you'll need to manually migrate those rows with a sql query
175: [01:47:43] <mobiusnz> ok my calendarannouncement table is empty
176: [01:47:50] <UncleCheese> right
177: [01:47:58] <UncleCheese> so you can do something like:
178: [01:48:01] <EasyCo> Commensurate… word of the day
179: [01:48:15] <antmas> you're datetime should have all the old records
180: [01:48:22] <mobiusnz> yeah it does
181: [01:48:40] <UncleCheese> you only have one calendar, right/
182: [01:48:44] <mobiusnz> yep
183: [01:48:49] <UncleCheese> so just do this
184: [01:48:54] <antmas> then yeh, sql query to update/insert those records across to the announcement table
185: [01:49:19] <UncleCheese> INSERT INTO CalendarAnnouncement ID, Calendar ID (SELECT ID, '98' FROM CalendarDateTime)
186: [01:49:52] <UncleCheese> oh shit
187: [01:49:52] <UncleCheese> wait
188: [01:49:55] <UncleCheese> let me look at it
189: [01:50:20] <UncleCheese> yeah, that's right
190: [01:50:34] <UncleCheese> I suppose you can select Title and Content from the CAlendarDateTime table, too
191: [01:50:46] <UncleCheese> those might have different names on the old version, but you see what i'm getting at
192: [01:50:56] <mobiusnz> yep
193: [01:51:12] * toddmorey has joined #silverstripe
194: [01:51:30] <UncleCheese> and then 86 the old columns from CalendarDateTimew
195: [01:52:11] <antmas> 86ing must be an american thing
196: [01:52:23] <UncleCheese> ah, i suppose it is
197: [01:52:29] <UncleCheese> "chuck it in the rubbish bin"
198: [01:52:55] <antmas> I remember "86 the fries, Jerry"
199: [01:53:07] <UncleCheese> yeah, it's common in restaurant settings
200: [01:53:08] <UncleCheese> http://www.urbandictionary.com/define.php?term=86
201: [01:53:48] <guzzlefry> 86 means we're out of that :P
202: [01:54:24] <guzzlefry> It's also what prep cook would say when he was being lazy and didn't want to make more. :)
203: [01:54:35] <guzzlefry> Also, why isn't there a URLField? :(
204: [01:55:18] * toddmorey quit (Ping timeout: 240 seconds)
205: [01:56:32] <simon_w> Why should there be?
206: [01:56:53] <mobiusnz> UncleCheese: hmm, ok the data is now in CalendarAnnouncement, but still not showing anywhere
207: [01:56:54] <simon_w> Also, it'd be worse than the Zend_Date stuff in DateField
208: [01:57:28] <UncleCheese> are the events editable in the cms?
209: [01:57:56] <mobiusnz> UncleCheese: they're announcements without events as far as I can see
210: [01:57:58] <mobiusnz> and no
211: [01:58:25] <UncleCheese> do you have a calendar with an ID of 98?
212: [01:58:44] <mobiusnz> yep
213: [01:58:50] * DigNZ has joined #silverstripe
214: [01:58:56] <UncleCheese> so in the CMS, you url is /edit/show/98
215: [01:59:03] <UncleCheese> and you have no announcements in the grid?
216: [01:59:13] <mobiusnz> yes, that shows fine, but the announcements are blank
217: [01:59:37] <UncleCheese> and all your announcement records have CalendarID = 98
218: [01:59:40] <simon_w> FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT
219: [01:59:45] <UncleCheese> oh here we go
220: [01:59:48] <mobiusnz> yes
221: [02:00:00] <UncleCheese> ignore the peanut gallery
222: [02:00:22] <mobiusnz> heh
223: [02:00:34] <UncleCheese> simon_w just has this radical belief that open source is about multiple contributors working together to solve problems
224: [02:00:54] <mobiusnz> weird, right?
225: [02:01:10] <simon_w> Pfft, that's BS
226: [02:02:07] <simon_w> Especially for web-related OSS projects
227: [02:02:15] <UncleCheese> exactly
228: [02:03:12] <UncleCheese> The projects to try that approach have been total failures.. SilverStripe, symfony, Wikipedia, Linux
229: [02:03:42] <antmas> man, screw those guys
230: [02:09:12] <antmas> mobiusnz: any luck?
231: [02:09:32] <mobiusnz> no, the announcements aren't showing
232: [02:11:06] <antmas> lol speaking of 86 http://www.stuff.co.nz/business/farming/sheep/9308401/Fellmongery-workers-laid-off
233: [02:11:08] <guzzlefry> Let's not forget those crazy PostgreSQL guys! :P
234: [02:11:27] * peter_ss quit (Ping timeout: 272 seconds)
235: [02:12:25] <mobiusnz> ah
236: [02:13:26] <mobiusnz> UPDATE `CalendarDateTime` SET `ClassName`="CalendarAnnouncement" WHERE `is_announcement` = 1
237: [02:14:42] * UncleCheese quit (Quit: UncleCheese)
238: [02:17:03] * toddmorey has joined #silverstripe
239: [02:19:06] * peter_ss has joined #silverstripe
240: [02:37:09] * antmas quit (Quit: Page closed)
241: [02:43:00] <guzzlefry> What's a good method for linking to random pages?
242: [02:43:16] <guzzlefry> Well, not so much random as pages placed individually.
243: [02:43:28] <guzzlefry> Like the privacy policy that stands alone in the footer.
244: [02:43:56] <guzzlefry> Guess I could assume that the user will never change the URLSegment.
245: [02:44:13] * atmos has joined #silverstripe
246: [02:44:30] <guzzlefry> Or add the page as a relation to something in SiteConfig...
247: [02:46:13] <irogue23> i generally do the former, and if the user does break it, it's their fault for fucking with things they shouldn't be
248: [02:46:37] <irogue23> the latter is a good idea, but you really don't want people to be changing URLSegments willy nilly anyway
249: [02:49:51] <guzzlefry> ah, thanks for input :)
250: [02:52:07] <atmos> oh god, luke warm instant coffee :(
251: [02:52:20] <guzzlefry> why in the hell
252: [02:52:32] <guzzlefry> is this html editor removing my line spacing?
253: [02:52:34] <simon_w> I see your problem. Coffee.
254: [02:53:32] <guzzlefry> ...works if I add a space on the blank line.
255: [02:54:08] * toddmorey quit (Quit: Leaving.)
256: [02:56:50] * toddmorey has joined #silverstripe
257: [02:56:56] <atmos> that's TinyMCE for you
258: [02:57:32] * atmos is now known as antmas
259: [03:04:10] * peter_ss quit (Ping timeout: 256 seconds)
260: [03:05:30] <Zauberfisch23> antmas: lol
261: [03:05:46] <guzzlefry> hm
262: [03:05:55] <guzzlefry> I wonder how hard it would be to code up an alternative.
263: [03:06:11] <guzzlefry> or maybe...wiki syntax?
264: [03:06:15] <guzzlefry> Not sure how robust that is.
265: [03:06:45] <Zauberfisch23> guzzlefry: I often have a "ShowInFooter" checkbox on the page class
266: [03:06:57] <Zauberfisch23> which is located in the settings tab, next to the show in menu
267: [03:07:27] <Zauberfisch23> so if the user wants the privacy policy in the footer but not in the mneu, he creates that page, checks the box on show in footer and unchecks show in menus
268: [03:07:52] <Zauberfisch23> and the footer just looks $FooterMenu
269: [03:08:15] <Zauberfisch23> function getFooterMenu() { return Page::get()->filter('ShowInFooter', 1); }
270: [03:10:17] <simon_w> Though try explaining the ordering that gives you ;)
271: [03:11:26] * DigNZ quit (Quit: DigNZ)
272: [03:12:31] * toddmorey quit (Quit: Leaving.)
273: [03:12:53] <guzzlefry> ah yeah...ordering
274: [03:13:33] <guzzlefry> I guess you'd have to do a ModelAdmin on Pages and filtered by "ShowInFooter" for real ordering?
275: [03:14:51] <irogue23> ugh
276: [03:16:06] <irogue23> 03:10 < kamuela> When I was going through the django tutorial
277: [03:16:06] <irogue23> 03:11 < kamuela> to be honest the first thing that lost me in terms of "damn, this is something i really have to learn" was the templates
278: [03:16:09] <irogue23> 03:12 < irogue23> kamuela: never used a templating system at all?
279: [03:16:11] <irogue23> 03:12 < kamuela> irogue23, not sure if wordpress counts
280: [03:16:21] * irogue23 vomits a little
281: [03:18:07] * UncleCheese has joined #silverstripe
282: [03:18:56] <antmas> Django is on my list of things to learn
283: [03:19:12] <irogue23> i'm doing so now
284: [03:19:26] <irogue23> fairly easy if you've SSed
285: [03:19:40] <antmas> that, RoR and Shopify
286: [03:19:42] * guzzlefry ponders Django.
287: [03:20:01] <guzzlefry> I tried using Python for web once, I got stuck at configuring the webserver.
288: [03:20:03] <guzzlefry> :P
289: [03:20:06] <Zauberfisch23> guzzlefry: alternative, sometimes if the footer menu gets more complex. I make a gridfield with a relation editor, with a many_many_extraFields for sorting the grid of pages
290: [03:20:18] <irogue23> guzzlefry: haha yeah
291: [03:20:55] <UncleCheese> python rules
292: [03:21:01] <UncleCheese> but it definitely needs more PHP
293: [03:21:03] <antmas> I remember during my first week and my internship, I got stuck configuring a webserver for php :P
294: [03:21:10] <antmas> NERVOUS
295: [03:21:37] <antmas> that was a bad day :(
296: [03:21:51] <guzzlefry> I find myself thinking "I'm not a server admin!" or "I'm not a mail admin!" most of the time. :P
297: [03:22:08] <antmas> guzzlefry: we all do, my friend
298: [03:22:11] <guzzlefry> Also
299: [03:22:19] <guzzlefry> My first day on this job was pretty bad. :P
300: [03:22:32] <antmas> or, "I'm not a DB architect"
301: [03:22:37] <guzzlefry> Coming from a restaurant job which was basically "Do this now and fast or find another job" :P
302: [03:22:44] * Colin[pi] wears a lot of different hats
303: [03:22:49] * irogue23 too
304: [03:23:04] <guzzlefry> If I could do something specific it would be DB architect stuff.
305: [03:23:10] * antmas hates the sysadmin hat
306: [03:23:21] <guzzlefry> I'm getting better at that.
307: [03:23:34] <guzzlefry> But, I'm horrible at diagnosing E-mail issues.
308: [03:23:56] <guzzlefry> Took me a while to realize that my ISP blocks outbound SMTP on port 25 for instance. >_>
309: [03:23:57] <antmas> I'm just horrible at PHP....
310: [03:24:02] <irogue23> at my previous job i'd do, in the space of a day, telephone tech support, server admin, web (ss) dev, software (c#) dev, returned product testing, and maybe a bit of face-to-face sales
311: [03:24:02] * antmas wonders why he'
312: [03:24:04] <antmas> s here
313: [03:24:11] <guzzlefry> Cuz we friends!
314: [03:24:22] <antmas> :O
315: [03:24:23] <guzzlefry> and talk random slang
316: [03:24:31] <antmas> irogue23: you do c#?
317: [03:24:37] <antmas> SOMEONE ELSE?!
318: [03:24:55] <irogue23> antmas: only cos i had to, i've never properly learnt it
319: [03:25:11] <guzzlefry> I couldn't get anything done with all of those things...
320: [03:25:30] <antmas> irogue23: suck, it's not the easiest to pick up I think
321: [03:25:37] <irogue23> had to write a system to pull from our accounting system's .NET SDK and update the data in our SS website
322: [03:25:51] <irogue23> i.e. keep pricing, stock levels etc. in sync
323: [03:26:06] <antmas> irogue23: so a webservice type deal?
324: [03:26:12] <antmas> service*
325: [03:26:37] <irogue23> antmas: yeah, pushing up to a webservice
326: [03:26:44] <antmas> right
327: [03:27:05] <irogue23> c# is a breeze compared to c++, which i'm doing some of at the moment =/
328: [03:27:14] <guzzlefry> oh god C++
329: [03:27:17] <Colin[pi]> lol world of difference there
330: [03:27:30] <antmas> I almost exclusively work in c#, but also SS, reporting services, SQL
331: [03:27:35] <irogue23> ah yep
332: [03:27:35] * peter_ss has joined #silverstripe
333: [03:27:37] <guzzlefry> My first language was C, so everything was uphill after that. :P
334: [03:27:46] <irogue23> up until i had to do that stuff in c#, i was pretty exclusively PHP
335: [03:27:47] <antmas> VB here
336: [03:27:56] <Colin[pi]> AMOS here
337: [03:27:57] <Colin[pi]> :D
338: [03:28:01] <guzzlefry> VB.NET isn't bad.
339: [03:28:09] <guzzlefry> just an odd syntax.
340: [03:28:20] <irogue23> i'd done some VB6 and Perl back in high school, but PHP my whole working life
341: [03:28:42] <irogue23> but sticking with one language creates some bad habits and means you never really learn the background programming concepts
342: [03:28:55] <antmas> after doing mostly c# at tech, when I first started with PHP I HATED it so bad
343: [03:29:14] <guzzlefry> tech?
344: [03:29:32] <antmas> ?polytech aka poor mans college
345: [03:29:36] <guzzlefry> oh
346: [03:29:39] <guzzlefry> well
347: [03:29:43] <Zauberfisch23> irogue23: well, I am mostly PHP as well, or in fact PHP only at work, but I learned other languages at school and tought them myself
348: [03:29:49] <guzzlefry> college for programming never made sense to me
349: [03:29:55] <antmas> totally
350: [03:29:59] <guzzlefry> I wish the U.S. would lean more toward tech school for that. :P
351: [03:30:16] <Zauberfisch23> I agree, php can be dangerous because if you don't know it better you start doing things that any realy software developer would consider you an idiot for
352: [03:30:19] * toddmorey has joined #silverstripe
353: [03:30:30] <irogue23> Zauberfisch23: yep
354: [03:30:56] <Zauberfisch23> but if you learned coding with another language, or if you at least know other languages and a bit of background on software developement and systems then I'd say php is just fine
355: [03:30:59] <Colin[pi]> php gives you the tools to do some great programming, but it also makes it easy for some truly shit programming to be had also
356: [03:31:03] <antmas> probably because most people that jump straight into PHP, don't learn OO first
357: [03:31:14] <Colin[pi]> yep
358: [03:31:19] <simon_w> Pfft, OO
359: [03:31:21] <Zauberfisch23> unless of course you choose to ignore your lessons and decide to be an idiot anyway, but then there is no hope anyway
360: [03:31:25] <irogue23> antmas: exactly what i was typing, lol
361: [03:32:01] <antmas> anyone here know java?
362: [03:32:06] <Colin[pi]> lot of folks think "ima make a web page that shows some stuff from teh database lololo" and use php; these are the "developers" that are truly scary
363: [03:32:07] <EasyCo> 592ms for obj.Children!!
364: [03:32:22] <simon_w> Children is slow
365: [03:32:32] <Zauberfisch23> haha, that reminds me of a developer we once had in the company
366: [03:32:33] <EasyCo> Tell me about it
367: [03:32:45] <irogue23> Colin[pi]: i used to love SSI for basic shit like that
368: [03:32:47] <EasyCo> 1.6s to load homepage
369: [03:33:00] <simon_w> Loops over all the children, building up an ArrayList, running permission checks
370: [03:33:09] <guzzlefry> antmas: I know a bit.
371: [03:33:15] <simon_w> EasyCo, assuming this is for menus?
372: [03:33:25] <guzzlefry> Did some contest for it years back in highschool and taking a college class on it now.
373: [03:33:35] <EasyCo> Yah, unless it's used somewhere else.
374: [03:33:37] <guzzlefry> Never really got into it though.
375: [03:33:40] <antmas> guzzlefry: I need to learn that too, my friend just made $10k for a relatively shitty android app :/
376: [03:33:43] <irogue23> oh man, i've had this tab open for days now, cos every time i end up switching to it i laugh again
377: [03:33:46] <irogue23> http://i.imgur.com/TY4fOYe.gif
378: [03:33:46] <guzzlefry> heh
379: [03:33:53] <EasyCo> I'm just trying to improve the response  time of 1.2s on live server
380: [03:33:55] <simon_w> EasyCo, <% cached List(SiteTree).max(LastEdited) %> menu goes here <% end_cached %>
381: [03:34:04] <guzzlefry> antmas: I've been wanting to do that. Just simple "utility" apps with ads.
382: [03:34:14] <EasyCo> simon_w: 3.0.8 friendly?
383: [03:34:15] <Zauberfisch23> he did something like that on Page: function isMarkedAsHighlight() { $foo = DataObject::get('Page', "ID = {$this->ID}"); foreach($foo as $bar) { return $bar->MarkedAsHighlight; } }
384: [03:34:23] <simon_w> EasyCo, yes
385: [03:34:28] <guzzlefry> anyway
386: [03:34:39] <guzzlefry> if you know C# already Java should be a piece of cake.
387: [03:34:57] <antmas> guzzlefry: yeah my brief scan of it made me think that
388: [03:35:13] <irogue23> the dev tools will make you feel dirty tho
389: [03:35:31] <irogue23> java's IDEs make Visual Studio seem perfect :P
390: [03:35:35] <guzzlefry> huh
391: [03:35:40] <guzzlefry> IntelliJ is amazing. :P
392: [03:35:43] <antmas> irogue23: I'm waiting for the proper release of Android Studio or whatever
393: [03:35:47] <guzzlefry> The others are horrid though. :/
394: [03:36:05] <antmas> I love VS :P
395: [03:36:07] <guzzlefry> But it's also $200. :/
396: [03:36:14] <simon_w> Xcode's amazing
397: [03:36:16] <EasyCo> simon_w: What's it do exactly? Where will I find info about 'cached' and 'List'
398: [03:36:19] <simon_w> Just use Xcode
399: [03:36:20] <irogue23> guzzlefry: is it written in java?
400: [03:36:25] <guzzlefry> ...yes
401: [03:36:26] <irogue23> cos that seems to be my issue with java IDEs
402: [03:36:28] <irogue23> :P
403: [03:36:31] <guzzlefry> meh
404: [03:36:33] <guzzlefry> I use PHPStorm as well.
405: [03:36:37] <irogue23> need 16GB RAM
406: [03:36:38] <irogue23> lol
407: [03:36:40] <guzzlefry> not really
408: [03:36:51] <simon_w> EasyCo, http://doc.silverstripe.org/framework/en/reference/partial-caching
409: [03:36:59] <irogue23> overexaggeration of course, but still ;)
410: [03:37:00] <guzzlefry> 500MB on average, and that's just because Java seems to allocate a blocks of memory.
411: [03:37:03] <guzzlefry> For whtaever reason.
412: [03:37:08] <EasyCo> simon_w: Nice, thanks..
413: [03:37:33] <antmas> friggen guy who sat next to me for most classes just got hired as a DB architect for Trademe :|
414: [03:37:37] <Zauberfisch23> agreed, Intellij/PHPStorm is bloody great
415: [03:37:51] <irogue23> guzzlefry: Visual Studio's currently using 28MB, and Sublime's using 36MB :P
416: [03:38:18] <guzzlefry> Sublime is a text editor :P
417: [03:38:30] <antmas> 6 figure salary
418: [03:38:32] <irogue23> not once you have like 30 plugins :P
419: [03:38:43] <antmas> gets bonuses for hiring OTHER developers :|
420: [03:38:52] <Colin[pi]> antmas: aye dbas get paid a lot
421: [03:39:16] <guzzlefry> DBA with which database system?
422: [03:39:23] <simon_w> MSSQL
423: [03:39:30] <irogue23> guzzlefry: i know what you mean about the chunks thing tho
424: [03:39:35] <guzzlefry> Those Oracle DBAs make a ton.
425: [03:39:40] <antmas> Oracle pays the most
426: [03:39:41] <antmas> yeh
427: [03:39:45] <guzzlefry> Not sure about MySQL/Postgres types.
428: [03:39:49] <Colin[pi]> yep I used to work with one, he was on 160K I think
429: [03:40:03] <irogue23> i'm using Fire.app, which is in Java... it's essentially a webserver with built-in compass
430: [03:40:05] * guzzlefry suspects they pay you extra to compensate for the pain.
431: [03:40:13] <Colin[pi]> he was bloody good at what he did though
432: [03:40:24] * simon_w has a feeling Xero has decided to not approve his question
433: [03:40:25] <irogue23> uses 500MB idle, jumps to like 700MB under load
434: [03:40:48] <irogue23> like, the same two numbers all the time
435: [03:41:04] <antmas> lots of nz graduate devs get fooled into thinking Xero is a good place to start :P
436: [03:41:11] <EasyCo> simon_w: What question? I sent them a question about profitability and got nothing back:)
437: [03:41:30] <EasyCo> simon_w: Any way to optimise SSViewer::process?
438: [03:41:36] * irogue23 becomes a DBA :P
439: [03:41:46] <simon_w> Why should I host my files with them and make them suddenly under US jurisdiction?
440: [03:41:59] <guzzlefry> Does the default login form use an Include template?
441: [03:42:01] <simon_w> EasyCo, make everything you call from your template suck less :p
442: [03:42:03] <EasyCo> simon_w: Valid question.
443: [03:42:08] * antmas quit (Quit: Page closed)
444: [03:42:33] <EasyCo> simon_w: Damnit, I knew you'd say that.
445: [03:42:55] <guzzlefry> oh, I see what's going on.
446: [03:43:41] <irogue23> simon_w: thanks for reminding me, i need to do my accounts :P
447: [03:43:51] <irogue23> (yay, another way to procrastinate writing more c++!)
448: [03:44:20] <simon_w> irogue23, if you want more to do, get Xero to make their API not suck for people who do more than invoices and contacts :p
449: [03:46:00] * toddmorey quit (Quit: Leaving.)
450: [03:47:33] <irogue23> simon_w: lol
451: [03:47:49] <irogue23> simon_w: i put in a request for something to be added to their API about 4 years back
452: [03:48:04] <irogue23> and got an email earlier this year telling me that my request had been accepted and implemetned
453: [03:48:16] <guzzlefry> yay
454: [03:49:08] * cloph_away has joined #silverstripe
455: [03:49:30] * cloph quit (Ping timeout: 256 seconds)
456: [03:49:34] <simon_w> Home time!
457: [03:49:46] <irogue23> oh snap
458: [03:49:49] <irogue23> that means it's time to start drinking
459: [03:49:51] <irogue23> right?
460: [03:51:10] <guzzlefry> hrm
461: [03:51:39] <EasyCo> Wooh! .7s shaved off load time. Tx simon_w
462: [03:52:00] <guzzlefry> Having "Show to users not logged in" in the "Who can view this page?" part of the Page Settings would be useful.
463: [03:52:12] <irogue23> http://deadspin.com/we-have-an-nhl-goalie-goal-1448559730 <-- epic
464: [03:54:08] * Error404NotFound has joined #silverstripe
465: [03:57:46] <ss23> 16:42:07 <@simon_w> Why should I host my files with them and make them suddenly under US jurisdiction?
466: [03:57:51] <guzzlefry> Any reason not to use the default login form for users?
467: [03:57:54] <ss23> As opposed to keeing them in other 5eyes countries
468: [03:58:01] <ss23> Because the US *really* matters, no other country does spying etc
469: [03:59:00] <UncleCheese> guzzlefry: you might opt out if you want different fields than username/password, or if you have a custom authenticator
470: [03:59:09] <UncleCheese> but either of those problems can be solved with the aPI
471: [03:59:15] <guzzlefry> ah okay, so no reason for me.
472: [03:59:24] <guzzlefry> Trying to remember how to get it on another page though. :P
473: [03:59:30] <UncleCheese> $LoginForm
474: [03:59:39] * guzzlefry wonders why that isn't working.
475: [03:59:51] <UncleCheese> in 3.1, you have to write the function yourself
476: [03:59:54] <guzzlefry> oh, I gotta flush.
477: [03:59:55] <UncleCheese> just like $CurrentMember
478: [04:00:15] <guzzlefry> 0.o
479: [04:00:18] <guzzlefry> I haven't had to do that yet.
480: [04:00:30] <UncleCheese> oh i guess LoginForm still eists
481: [04:00:39] <guzzlefry> And $CurrentMember so far.
482: [04:00:53] <UncleCheese> if you're using bootstrap, you might boostrapify it before returning it
483: [04:01:00] <UncleCheese> that's the only time i've ever had to mod the core login form
484: [04:03:45] * Error404NotFound quit (Ping timeout: 245 seconds)
485: [04:05:24] <madmatt> UncleCheese: Would you accept a simple patch to the SimpleHtmlEditorField that lets you set valid_attributes to lock down what HTML can be added into the field?
486: [04:05:47] <madmatt> also - what's the best place to give that to you? As a PR on bootstrap_forms, or is there another canocial version of the file somewhere?
487: [04:06:07] <UncleCheese> yeah, sent it through to github
488: [04:06:16] <UncleCheese> send*
489: [04:06:48] <madmatt> cool, as a PR on bootsrap_forms?
490: [04:07:01] <UncleCheese> is that the module that uses simplehtmleditorfireld?
491: [04:07:11] <madmatt> yeah
492: [04:07:15] <UncleCheese> yeah, send it over
493: [04:07:28] <madmatt> well, that's where we've modified it - but I think it might be included elsewhere as well? I'm unsure
494: [04:07:34] <madmatt> cool, will PR it today/tomorrow
495: [04:09:01] <Shrike_Finland> UncleCheese: is there any sample, how to bootstrapify UserDefinedForms?
496: [04:09:18] <UncleCheese> yeah, bootstrap forms should do it by default, i think
497: [04:09:46] <Shrike_Finland> oh, really? Great!
498: [04:10:05] <UncleCheese> https://github.com/unclecheese/silverstripe-bootstrap-forms/commit/a21d1da31224c073912ab0e4ba63a8be971e6c53
499: [04:11:10] * nickmolhoek quit (Quit: nickmolhoek)
500: [04:11:11] <Shrike_Finland> nice
501: [04:12:14] <Shrike_Finland> Off to works -> −7 degrees and summer tyres, this gonna be fun
502: [04:12:32] <UncleCheese> you're in Finland?
503: [04:12:37] <Shrike_Finland> yep
504: [04:12:49] <UncleCheese> that's like.. the best place to live in the world, right?
505: [04:13:04] <UncleCheese> you guys are like #1 in everything
506: [04:13:45] <Shrike_Finland> We have been quite good on the charts, but dunno does it count in every area.
507: [04:14:09] <UncleCheese> All of scandanavia seems to have it figured out
508: [04:14:20] <UncleCheese> but -7 in october
509: [04:14:25] <UncleCheese> no thanks
510: [04:14:34] <UncleCheese> what does it get dark at like 14:00?
511: [04:14:39] <Shrike_Finland> lol
512: [04:14:45] * Error404NotFound has joined #silverstripe
513: [04:15:57] <UncleCheese> the language is in a class of its own, though. never heard anything quite like Finnish
514: [04:16:14] <UncleCheese> when i was in sweden, there was a lot of Finnish music on the local radio stations.
515: [04:16:19] <Shrike_Finland> not yet, somewhere in 19:00 at the moment. But in December… I think at 16:00 it's darks already and sun goes up in 8:30...
516: [04:17:31] <guzzlefry> night folks
517: [04:17:33] <Shrike_Finland> And if you live in Northern part of Finland, sun goes newer up.
518: [04:17:46] <UncleCheese> or always goes up :)
519: [04:17:47] <Shrike_Finland> in longest day of the year, I mean
520: [04:17:57] <UncleCheese> right
521: [04:18:18] <UncleCheese> and it's like 5AM there right now..
522: [04:18:20] <UncleCheese> -7
523: [04:18:27] <UncleCheese> yeah, i'm glad i moved to NZ now
524: [04:18:31] <Shrike_Finland> :D
525: [04:18:38] * Shrike_Finland quit (Quit: Leaving.)
526: [04:27:05] * Error404NotFound quit (Ping timeout: 272 seconds)
527: [04:36:57] <EasyCo> If $Something returns false to a template <% loop $Something %>. Will the loop simply not run?
528: [04:39:11] * Error404NotFound has joined #silverstripe
529: [04:39:36] * stecman quit (Quit: This computer has gone to sleep)
530: [04:43:31] * simon_w|air has joined #silverstripe
531: [04:44:46] <simon_w|air> Isn't it cute when ss23 tries to scaremonger?
532: [04:45:39] * heisenberg has joined #silverstripe
533: [04:46:00] <heisenberg> hi all
534: [04:46:03] * heisenberg is now known as Guest73472
535: [04:46:16] <Guest73472> have nearly completed upgrading from SS 3.0.5 to 3.1.1
536: [04:46:50] * toddmorey has joined #silverstripe
537: [04:47:01] <Zauberfisch23> EasyCo: not sure about loop to be honest, but <% control false %> did run once as it fails to loop and then considers it a <% with %>
538: [04:47:13] <Guest73472> but am having a bit of an issue with public static $db = array( ); VS private static $db = array();
539: [04:47:17] * UncleCheese quit (Quit: UncleCheese)
540: [04:47:27] <EasyCo> simon_w|air: When you use List() in a template, where's the method come from?
541: [04:47:32] <EasyCo> As in which class?
542: [04:47:49] <EasyCo> Zauberfisch23: I suppose I should just try. Just wondering if I can do without the wrapping conditional
543: [04:47:56] <ss23> 17:45:06 <@simon_w|air> Isn't it cute when ss23 tries to scaremonger?
544: [04:47:59] <ss23> I'm not scaremongering
545: [04:48:09] <simon_w|air> EasyCo, GenericTemplateGlobalProvider
546: [04:48:13] <ss23> I'm just confused as to how you're uncomfortable with US hosting, but not other 5eyes
547: [04:48:35] <simon_w|air> ss23, go and read what I said again
548: [04:48:50] <ss23> Refuse.
549: [04:49:28] <EasyCo> Ahhhh, that's why I couldn't' find it.
550: [04:49:38] <ss23> I just said it in pasing, since I know you've said similar before (e.g. the "I don't want to host in NZ since we passed that law, so I'll host in AU instead" etc)
551: [04:49:41] <Guest73472> in my mysite/code/Page.php file in a public function in my PageController class... SS chokes on the line: $Group = DataObject::get_one('Group', "\"Title\" = 'Administrators'");
552: [04:49:47] <Zauberfisch23> EasyCo: just tried, <% loop false %> does run once
553: [04:49:57] <EasyCo> Bastard!
554: [04:50:02] <Zauberfisch23> indeed
555: [04:50:09] <Guest73472> any ideas?
556: [04:50:24] <simon_w|air> Guest73472, $Group = Group::get()->filter('Title', 'Administrators')->First();
557: [04:50:46] <Guest73472> thanks simon_w|air will try that
558: [04:51:15] * toddmorey quit (Ping timeout: 245 seconds)
559: [04:51:43] <Zauberfisch23> Guest73472: what version are you using? ss23, ss24 or ss3?
560: [04:52:18] <Guest73472> ss 3.1.1
561: [04:52:24] <Guest73472> no it still chokes
562: [04:52:31] <Guest73472> the next line I have is if(Member::currentUser()->inGroup($Group->ID)) {
563: [04:52:40] <simon_w|air> And that's the problem
564: [04:52:54] <Guest73472> I was using 3.0.5
565: [04:53:07] <Guest73472> works in 3.0.5
566: [04:53:10] <simon_w|air> Guest73472, what's the error message you're getting?
567: [04:53:16] <Guest73472> just a blank page
568: [04:53:41] <simon_w|air> http://doc.silverstripe.org/framework/en/topics/debugging
569: [04:53:42] <Guest73472> dont think I have any error reporting set up yet
570: [04:54:09] <Guest73472> thanks
571: [04:54:22] <Guest73472> I'm pretty new at this :)
572: [04:55:31] <Guest73472> where is the config.yml file?
573: [04:55:56] <Zauberfisch23> Guest73472: mysite/_config/config.yml
574: [04:57:58] <Guest73472> thanks
575: [04:58:36] <Guest73472> I added Director: environment_type: 'dev' to the config.yml file, did a dev/build?refresh=all but it still serves just a blank page
576: [04:58:59] <Zauberfisch23> Guest73472: make sure you have display_errors set to 1
577: [04:59:13] <Zauberfisch23> thats a php ini value
578: [04:59:18] <Zauberfisch23> 3 ways to set it:
579: [04:59:26] <Zauberfisch23> 1) php.ini file
580: [04:59:36] <Zauberfisch23> 2) .htaccess file (probably the easies for you)
581: [05:00:13] <Zauberfisch23> 3) ini_set('display_errors', 1); in _ss_environment.php (not possible if you don't use _ss_environment.php, which you probably don't)
582: [05:01:12] <Guest73472> I turned display_errors on in the php.ini file just now but still get the blank page
583: [05:01:16] <Guest73472> do I need to reset Apache?
584: [05:01:37] <Zauberfisch23> probably
585: [05:02:06] <Guest73472> no I still get the blank page
586: [05:02:09] <Zauberfisch23> hmmm
587: [05:02:21] <Zauberfisch23> then check the error logs
588: [05:02:45] <Guest73472> wait
589: [05:02:48] <Guest73472> its working :)
590: [05:03:50] <Guest73472> I just added ?x=y to folol the cache
591: [05:03:53] <Guest73472> fool
592: [05:04:26] <Zauberfisch23> so your browser cached the blank page? :O
593: [05:04:31] <Guest73472> that line of code simon gave me seems to work
594: [05:05:01] <Guest73472> it shouldn't be caching but I dont trust it
595: [05:05:50] <Guest73472> no errors, the page is loading fine now with admin only content
596: [05:05:56] <Guest73472> thanks :)
597: [05:13:41] * Shrike_Finland has joined #silverstripe
598: [05:14:26] <Guest73472> my footer links have disappeared :(
599: [05:14:43] <Guest73472> I get the section titles but the page children are gone
600: [05:14:56] <Guest73472> child pages rather
601: [05:17:00] * toddmorey has joined #silverstripe
602: [05:20:37] * Error404NotFound quit (Ping timeout: 248 seconds)
603: [05:32:26] * Error404NotFound has joined #silverstripe
604: [05:32:43] * toddmorey quit (Quit: Leaving.)
605: [05:37:08] * Error404NotFound quit (Ping timeout: 240 seconds)
606: [05:40:02] <Colin[pi]> lol my firefox is using 1.5GB of ram
607: [05:41:30] <simon_w|air> So, turns out backup location for this wedding's just outside of Melbourne
608: [05:41:54] <simon_w|air> Currently a minimum of $800 for return flights, and only going to get worse before we know if it's been moved
609: [05:42:12] <ss23> Moving because of the fires, I presume? :O
610: [05:42:20] <Colin[pi]> ooh that's ouchy :(
611: [05:42:24] <simon_w|air> Yes
612: [05:42:33] <Colin[pi]> but
613: [05:42:39] <Colin[pi]> melbourne, wtf
614: [05:42:40] <ss23> I prefer not getting married, tbh
615: [05:42:46] <ss23> :D
616: [05:42:46] <Colin[pi]> couldn't like move to wollongong?
617: [05:42:51] <simon_w|air> They're from Melbourne
618: [05:42:55] <ss23> Colin[pi]: Fires are close there, too, right...?
619: [05:43:00] <Colin[pi]> ss23: did that already, did not go well
620: [05:43:01] <ss23> Friend in wollongong said they were getting closer :O
621: [05:43:07] <ss23> Colin[pi]: What, not get married?
622: [05:43:08] <simon_w|air> But then they'll have the shame of being married in wollongong
623: [05:43:15] <ss23> ^^^
624: [05:43:15] <Colin[pi]> ss23: I was, now not
625: [05:43:16] <ss23> true dis
626: [05:43:21] <ss23> oic
627: [05:43:31] <ss23> Yeah, marraige seems like it only imposes restrictions, doesn't help anything!
628: [05:43:47] <Colin[pi]> ss23: ppl say is just a piece of paper, but it DOES change things, believe me
629: [05:44:01] <ss23> I don't believe you!
630: [05:44:05] <Colin[pi]> ;C
631: [05:44:09] <ss23> :D
632: [05:44:15] * Colin[pi] uses his powers of thought control
633: [05:44:18] <Colin[pi]> AND NOW?
634: [05:44:38] <ss23> EWWWWW
635: [05:44:41] <ss23> You would think about *that*?
636: [05:44:45] <ss23> Sicko, pervert, Colin[pi]!
637: [05:44:48] * ss23 blushes and runs away
638: [05:44:55] <Colin[pi]> yes but only if simon_w can join us
639: [05:44:58] <ss23> XD
640: [05:45:46] <ss23> SANATARIUM, LEAVE MY CORNFLAKES BE
641: [05:45:49] <ss23> JUST LEAVE US ALONE
642: [05:45:53] * ss23 shreds some guitars on Colin[pi]
643: [05:46:00] <Colin[pi]> read that as SANTORUM
644: [05:46:05] <ss23> XD
645: [05:46:34] <Guest73472> I can't get an include file to include
646: [05:46:35] <Guest73472> <% include FooterMenu %>
647: [05:46:46] <Zauberfisch23> Guest73472: ?flush=all
648: [05:46:48] <Guest73472> other files include
649: [05:46:52] <Guest73472> ok thanks
650: [05:47:04] <Zauberfisch23> if you added the file you need to flush
651: [05:47:14] <Zauberfisch23> otherwise it wont find the file
652: [05:49:00] * Error404NotFound has joined #silverstripe
653: [05:50:00] <Guest73472> flushing doesnt help
654: [05:50:50] <Guest73472> it won't process anything in the include
655: [05:51:00] <Guest73472> it seems to just skip over it
656: [05:55:10] <simon_w|air> Ooh, we could train to Melbourne. That's lots more exciting :D
657: [05:59:01] * toddmorey has joined #silverstripe
658: [06:03:21] <EasyCo> Today was a good day. 1.6s response time down to 300ms. Thanks for coming.
659: [06:03:48] <Zauberfisch23> EasyCo: sweet
660: [06:03:50] <Zauberfisch23> ss site?
661: [06:03:55] <EasyCo> Yip
662: [06:04:01] <EasyCo> A bit of partial caching here and there
663: [06:04:05] <EasyCo> a bit of APC
664: [06:04:12] <EasyCo> job done
665: [06:04:19] <Zauberfisch23> write a blog post about it!
666: [06:04:36] <Zauberfisch23> or post a gist or whatever
667: [06:05:10] <EasyCo> I suppose I could
668: [06:05:47] <Zauberfisch23> or sign a poem about it and record it
669: [06:06:03] <Zauberfisch23> *sing
670: [06:06:08] * guci0 has joined #silverstripe
671: [06:06:16] <guci0> Hello Moto...
672: [06:06:18] <Zauberfisch23> I'd love that
673: [06:06:30] <EasyCo> Nah, it's bad subject matter for a song.
674: [06:06:35] <EasyCo> Not enough bitches and hoes
675: [06:06:52] * Colin[pi] found a divide by zero in his code, n00b
676: [06:07:21] <EasyCo> noob
677: [06:07:54] <EasyCo> if(0/0 == false) ?
678: [06:08:21] <Guest73472> ss 3.1.1 killed my iframes :(
679: [06:08:42] <Colin[pi]> EasyCo: just a value that wasn't being checked before division :)
680: [06:08:45] <Guest73472> I know iframes are evil but
681: [06:08:48] <guci0> Zauberfisch23: Have u got 3.1.1 by hand? Pleas check, if u create sub new page, does checked parent node? Or someone else. Please, in by build dosen't checked parent, and new page is at the bottom.
682: [06:09:15] <Zauberfisch23> guci0: what?
683: [06:09:41] * peter_ss quit (Quit: Leaving.)
684: [06:09:43] <Zauberfisch23> fatal parsing error, this does not appear to be valid englisch
685: [06:09:48] <Zauberfisch23> *english
686: [06:09:56] <guci0> :P
687: [06:10:01] <EasyCo> You need to try catch that
688: [06:10:08] <simon_w|air> Colin[pi], that's what you get for using partial functions! :p
689: [06:10:47] <Colin[pi]> ;P
690: [06:11:20] <guci0> Please create new page, sub page. Click via SiteTree np Contact, and green button – check where new page are created
691: [06:12:27] <guci0> |-Contact
692: [06:12:27] <Zauberfisch23> guci0: still struggling
693: [06:12:56] <guci0> |-- New page
694: [06:13:49] <Colin[pi]> simon_w halp
695: [06:13:51] <Colin[pi]> I have a qn
696: [06:13:55] <EasyCo> Bubye
697: [06:13:58] * EasyCo quit (Quit: EasyCo)
698: [06:14:06] <Zauberfisch23> :D
699: [06:14:16] <simon_w|air> guci0, see if https://github.com/silverstripe/silverstripe-framework/pull/2525 helps
700: [06:14:34] <simon_w|air> Colin[pi], where's Goulburn and how long to drive there? :p
701: [06:14:43] * peter_ss has joined #silverstripe
702: [06:14:44] <Zauberfisch23> Why is it that internet scam websites always look so obiously, almost purposly bad made?
703: [06:15:03] <peter_ss> do you guys encounter in ss 3.1.1 the cms admin is kinda messed up?
704: [06:15:12] <Zauberfisch23> its like they don't actually want people to give them their credit card
705: [06:15:15] <Zauberfisch23> http://web-spar-erstweb.freeserver.me/
706: [06:15:17] <Zauberfisch23> like this
707: [06:15:43] <Colin[pi]> simon_w: just north-east of canberra
708: [06:15:44] * toddmorey quit (Quit: Leaving.)
709: [06:15:46] <Colin[pi]> 1 hour to drive
710: [06:15:49] <Zauberfisch23> my grandmother could make a better fake site with frontpage
711: [06:15:55] <Colin[pi]> from here
712: [06:15:56] <simon_w|air> Colin[pi], okay, your turn
713: [06:15:59] <Colin[pi]> 2 hours from syd
714: [06:16:19] <Colin[pi]> any ideas why the whole cms interface would refresh after rendering an svg graph using jquery?
715: [06:16:33] <Colin[pi]> as in, I push the button to render another, and it refreshes
716: [06:16:43] <Colin[pi]> instead of submitting the form
717: [06:16:45] <peter_ss> i got this weird issue in the cmd admin when I've updated to ss 3.1.1
718: [06:16:46] <peter_ss> https://www.evernote.com/shard/s44/sh/640ceddd-8ed9-44fc-b592-0aa980deff4f/8e4819c75b78de8a47c87adade563523
719: [06:16:50] <peter_ss> cms*
720: [06:16:51] <Colin[pi]> messed up event handler?
721: [06:16:53] <simon_w|air> Colin[pi], click handler's not working?
722: [06:16:56] <peter_ss> any ideas?
723: [06:17:02] <Colin[pi]> mm investigating now
724: [06:17:27] <simon_w|air> peter_ss, looks like whitespace (or something else, look at the page sauce) being outputted before the <html>
725: [06:18:23] <peter_ss> simon_w page source you mean? but that's in the cms admin
726: [06:18:32] <simon_w|air> peter_ss, yes
727: [06:19:18] <peter_ss> eveything is ok in the page source
728: [06:21:02] <simon_w|air> Try inspecting that big blank spot and see if there's something actually causing it
729: [06:22:05] <Zauberfisch23> guci0: http://mars.zauberfisch.at/share/1.png
730: [06:22:14] <Zauberfisch23> then pressing "add new"
731: [06:22:18] <Zauberfisch23> http://mars.zauberfisch.at/share/2.png
732: [06:23:01] <Zauberfisch23> opened that dropdown to shouw you what is selected, I did not change the selected thing
733: [06:23:09] * violetina has joined #silverstripe
734: [06:23:22] <Zauberfisch23> afk
735: [06:27:41] <peter_ss> simon_w it's the assets folders
736: [06:27:49] <peter_ss> it has the old combined cms.css
737: [06:27:55] <simon_w|air> Delete it
738: [06:28:15] <Colin[pi]> simon_w: hmm that's weird, it's triggering a redirect in the form response class
739: [06:29:10] <guci0> Zauberfisch23: thx!
740: [06:31:04] <peter_ss> yeah but the other cms admin is still having those \n\n issue
741: [06:31:09] <peter_ss> need to refresh everytime
742: [06:32:09] <simon_w|air> That really sounds like an extra whitespace issue
743: [06:32:17] * toddmorey has joined #silverstripe
744: [06:33:54] <peter_ss> https://www.evernote.com/shard/s44/sh/1b300fa6-9dae-4df1-8c57-1986a7e6004c/1fea56d81f53ae9d8d5963441ac1f35c
745: [06:34:35] <peter_ss> but if you refresh it going back to normal. but clicking on the modeladmin menu back to the same issue again
746: [06:34:40] <peter_ss> i did delete the assets folder
747: [06:34:45] <simon_w|air> Yeah, that's a whitespace issue
748: [06:36:48] <peter_ss> simon_w is with my php.ini?
749: [06:37:01] <simon_w|air> No, is with your actual PHP files
750: [06:37:15] <simon_w|air> You've either got leading or trailing whitespace that you shouldn't have
751: [06:37:33] <peter_ss> hmm ok thanks
752: [06:42:11] <Guest73472> how do I embed an iframe in a page with SS 3.1.1
753: [06:42:12] <Guest73472> ?
754: [06:42:36] <Guest73472> SS just deltes my code
755: [06:43:49] * gordon has joined #silverstripe
756: [06:44:13] * gordon is now known as Guest79648
757: [06:44:40] * Guest79648 is now known as elgrodo
758: [06:44:44] * NobrainerWeb has joined #silverstripe
759: [06:46:52] <Colin[pi]> rofl, look at the web site 'language': http://i.imgur.com/laCS5tA.jpg
760: [06:48:01] * toddmorey quit (Quit: Leaving.)
761: [06:48:24] <NobrainerWeb> Hey guys, doing $articles = NewsArticle::get()->filter(array('ParentID' => $this->ID))->sort('Created','DESC'); gives me bot published and non published pages - i thought i should only get the published ones?
762: [06:48:33] <NobrainerWeb> *both
763: [06:49:25] <simon_w|air> NobrainerWeb, are you in Stage or Live mode?
764: [06:49:32] <elgrodo> does NewsArticle extend site tree or DataObject?
765: [06:49:56] * lerni has joined #silverstripe
766: [06:50:13] <NobrainerWeb> ehmmm simon i just have a function LatestNews in my NewsPage_Controller
767: [06:50:26] <simon_w|air> ?stage=Live
768: [06:50:28] <NobrainerWeb> it's extending sitetree
769: [06:51:21] <NobrainerWeb> ?stage=Live and the article not published disappears - what am i missing?
770: [06:51:47] <simon_w|air> You were in Stage (draft) mode
771: [06:52:35] <NobrainerWeb> Is that because I'm logged in (i see it says draft in bottom right corner)
772: [06:54:07] <simon_w|air> That's because you opened some page in draft mode before
773: [06:54:15] <NobrainerWeb> Ok i think i get it, if i'm on a non published page, site goes into draft mode to show me what i'm doing. If i go to a published page i can choose if i want to see it in draft or published mode
774: [06:54:16] <simon_w|air> (the preview view in the CMS does this)
775: [06:54:22] <NobrainerWeb> yes ok thanks
776: [06:54:30] <NobrainerWeb> that explains it all
777: [06:54:36] <NobrainerWeb> Thank simon :-)
778: [06:54:43] <peter_ss> is it possile to customize an existing controller form?
779: [06:55:03] <peter_ss> like the newsletter-subscription module form
780: [06:57:06] * skorp has joined #silverstripe
781: [06:57:42] <guci0> wrrr...
782: [06:59:12] * SightUnseen has joined #silverstripe
783: [06:59:24] * toddmorey has joined #silverstripe
784: [07:00:25] * SightUnseen has left #silverstripe
785: [07:04:12] * swordsmanz quit (Quit: swordsmanz)
786: [07:15:07] * toddmorey quit (Quit: Leaving.)
787: [07:16:31] * Nightjar has joined #silverstripe
788: [07:23:43] * chillu has joined #silverstripe
789: [07:27:50] * gordon__ has joined #silverstripe
790: [07:30:03] * elgrodo quit (Ping timeout: 248 seconds)
791: [07:32:34] * toddmorey has joined #silverstripe
792: [07:33:53] <gordon__> I've run into the blank cms issue - http://www.silverstripe.org/general-questions/show/21559
793: [07:35:08] <gordon__> suggested problem is blank prefix or suffix whitespace in PHP files
794: [07:38:13] <Colin[pi]> ffffuuuuuuu javascript
795: [07:38:18] <Colin[pi]> worst. language. evar.
796: [07:39:51] * travis-ci has joined #silverstripe
797: [07:39:51] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#618 (3.1 - c645d76 : Ingo Schommer): The build passed.
798: [07:39:51] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/b884671bfba7...c645d76b1fff
799: [07:39:51] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12813717
800: [07:39:51] * travis-ci has left #silverstripe
801: [07:40:21] <Nightjar> Colin[pi]: I assume by Javascript you actually mean the DOM API, as most people do.
802: [07:41:23] <Nightjar> gordon__: check your files, or check the console for an error
803: [07:41:53] <Colin[pi]> Nightjar: actually I blame my n00b js skillz
804: [07:42:17] <Colin[pi]> Nightjar: but yeah I had some conflicting code and it took me about 2 hours of trial and error to fix :(
805: [07:48:19] * toddmorey quit (Quit: Leaving.)
806: [07:49:32] * travis-ci has joined #silverstripe
807: [07:49:33] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#619 (master - da1a875 : Ingo Schommer): The build has errored.
808: [07:49:33] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/50a48aa25dfd...da1a875c4fbf
809: [07:49:33] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12813957
810: [07:49:33] * travis-ci has left #silverstripe
811: [07:50:55] <gordon__> no errors in the console, have checked for trailing and prefix blank space, in PHP files - nope
812: [07:55:46] <Nightjar> gordon__: it can be non visible
813: [07:55:53] <Nightjar> such as UTF-8 BOM
814: [07:59:00] <gordon__> oh joy
815: [08:03:22] * Sjohn has joined #silverstripe
816: [08:06:49] * kinglozzer has joined #silverstripe
817: [08:08:54] * svandragt has joined #silverstripe
818: [08:11:09] * Jape has joined #silverstripe
819: [08:12:21] * micmania1 has joined #silverstripe
820: [08:14:48] <Jape> hello everbody!
821: [08:15:12] <Jape> I have a question about forms and emails
822: [08:16:31] <Nightjar> Jape: please see the topic: "Ask your question, don't ask about asking your question"
823: [08:16:36] <Jape> Does anyone want to help me? Probably its very easy, :D but i dont know how to do it :D
824: [08:16:46] <Nightjar> Jape: please see the topic: "Ask your question, don't ask about asking your question"
825: [08:17:02] <Nightjar> I can't help you if you don't tell me the issue.
826: [08:17:57] <Nightjar> ;)
827: [08:19:27] * spronk2 has joined #silverstripe
828: [08:19:53] <Jape> hahha ok
829: [08:20:11] <Jape> see http://goo.gl/Jn42u5
830: [08:21:20] <Jape> i have a databject "nabestelblad", which has to be included as checkboxsetfield in a form
831: [08:21:35] <Zauberfisch23> Jape: source is the 4th parameter
832: [08:21:37] <Zauberfisch23> not the 3rd
833: [08:22:30] <Zauberfisch23> oh, no
834: [08:22:33] <Zauberfisch23> I was wrong
835: [08:22:35] <Zauberfisch23> its correct
836: [08:22:58] <Jape> haha ok
837: [08:23:03] <Zauberfisch23> ok, then you probably just need to turn it into an array
838: [08:23:09] <Zauberfisch23> $list->map()
839: [08:23:16] <Jape> well the form is working fine
840: [08:23:49] <Jape> but if the email is sent, it only shows the id of the databojects
841: [08:24:01] <Zauberfisch23> ah, so you have it working already
842: [08:24:08] <Zauberfisch23> nevermind then
843: [08:24:10] <Nightjar> Jape: map takes 2 parameters
844: [08:24:17] <Zauberfisch23> you can do 2 things
845: [08:24:18] <Nightjar> $key, $value
846: [08:24:21] <Jape> what i need is the Title of the Dataobject in the emailtemplate
847: [08:24:32] <Zauberfisch23> either use as Nightjar is about to point out map('Title', 'Title')
848: [08:24:49] <Nightjar> ^
849: [08:24:51] <Zauberfisch23> or load the titles for the IDs in the submission part
850: [08:25:08] <Zauberfisch23> for your case, map('Title', 'Title') is probably easier
851: [08:25:17] <Nightjar> if you're just emailing the form, not saving to the database, then mapping would be e... yes
852: [08:25:24] <Nightjar> easier.
853: [08:25:30] <Jape> ok i see
854: [08:26:14] <Jape> and how i have to do that? :) lol
855: [08:26:26] <Nightjar> $nabestellijst= DataObject::get('NabestelBlad')->map('Title', 'Title');
856: [08:27:35] <guci0> setFolderName / UploadField works fine?
857: [08:28:13] <Nightjar> probably
858: [08:28:41] <guci0> _resampled saved inside, but orginals to /assets :(
859: [08:29:16] <Jape> mmm
860: [08:30:46] <guci0> ok, works probably – but strange
861: [08:30:52] <Jape> well the form on the frontend displays "No options available"
862: [08:30:59] <Jape> :(
863: [08:31:21] <Nightjar> Jape: var_dump($nabestellijst);
864: [08:32:10] <Nightjar> you have to use a field that actually exists on your object, not just copying 'Title'.
865: [08:34:21] <Jape> well let me show the code of the dataobject
866: [08:34:24] <Jape> http://goo.gl/CLKR05
867: [08:34:42] <Jape> I have Title as a field in the dataobject
868: [08:35:18] <Nightjar> ok, so does anything get output from the var dump?
869: [08:35:25] <guci0> didn't work :(
870: [08:38:16] <Jape> The resullt of the var dump is http://goo.gl/PXQ1Qy
871: [08:39:25] * toddmorey has joined #silverstripe
872: [08:39:37] * kerosene quit (Ping timeout: 256 seconds)
873: [08:39:56] <gordon__> oh it's something in the config dir that's causing the problem
874: [08:39:58] <gordon__> code is ok
875: [08:40:00] <gordon__> in my module that is
876: [08:40:14] <Nightjar> Jape: try using ->map('Title', 'Title')->toArray()
877: [08:40:23] <Nightjar> good to hear gordon__
878: [08:41:54] <gordon__> nope, if I just create an empty directory that breaks it :(
879: [08:42:21] <gordon__> mmm, this is weird
880: [08:42:56] <Jape> Nightjar: mmmm still the same result : "No options available"
881: [08:45:04] * spronk2 quit (Quit: spronk2)
882: [08:45:57] <Jape> Nightjar: i fugured it out i think
883: [08:46:05] * spronk2 has joined #silverstripe
884: [08:46:22] <Jape> i have changed the line new CheckboxSetField('NabestelBlad', 'Kies een uitgave', '', $source = $nabestellijst ),
885: [08:46:30] <Jape> to new CheckboxSetField('NabestelBlad', 'Kies een uitgave', $nabestellijst ),
886: [08:46:57] <gordon__> wiped silverstripe cache dir, did a dev/build - no difference
887: [08:47:07] <gordon__> ditto but with dev/build?flush=1 and I can edit again
888: [08:47:10] <gordon__> this is without the module
889: [08:47:34] <Jape> Nightjar: Its Working now!
890: [08:47:44] <Nightjar> Jape: congratulations
891: [08:48:00] <Jape> thanks for your support on this one! Thank you very much!
892: [08:48:17] <Jape> yippie!
893: [08:55:06] * toddmorey quit (Quit: Leaving.)
894: [08:55:21] <peter_ss> guy do you know what's the issue here ERROR [User Error]: Uncaught InvalidArgumentException: ManyManyList::add() expecting a Group object, or ID value on ManyManyList.php of framework/
895: [08:55:31] <peter_ss> framework/model/ManyManyList.php
896: [08:55:49] * openbees has joined #silverstripe
897: [08:56:55] <Nightjar> peter_ss: pretty much exactly what it says
898: [08:57:08] <Nightjar> you're passing the wrong type of thing in to add to a list
899: [08:57:41] * toddmorey has joined #silverstripe
900: [09:07:12] <openbees> something changed with upload field .. usually for uploading big files on server .. I was doing an ftp upload and then file sync from cms .. this process works fine but when I am trying to link an existing file it gives me "Filesize exceeds maxuploadsize" .. I am using ss 3.1.1 .. any ideas ? :(
901: [09:07:40] <Nightjar> increase maxuploadsize
902: [09:08:47] <openbees> Nightjar : thanks :P I was wondering why upload field checks filesize when trying to add existing file :/
903: [09:10:01] * Jape quit (Ping timeout: 250 seconds)
904: [09:11:21] <Nightjar> I think it checks the size of the file, not necessarily an uploaded one
905: [09:11:28] <Zauberfisch23> ere is this pull request that denies files (images) based on the pixels (to much pixels means that the resize will use to mich memory), not sure what the merge status of that is
906: [09:11:45] <Zauberfisch23> but if its merged alredy, maybe thats the reason
907: [09:12:10] <Zauberfisch23> i mean the cause of the error, not the reason
908: [09:12:59] * Error404NotFound quit (Ping timeout: 248 seconds)
909: [09:13:00] <kinglozzer> It hasn't been merged
910: [09:13:22] * toddmorey quit (Quit: Leaving.)
911: [09:15:22] * Jape has joined #silverstripe
912: [09:21:11] <Zauberfisch23> can someone confirm that the insert link feature of the htmleditor is curently broken (step2 never displays a field)
913: [09:21:25] <Zauberfisch23> latest master
914: [09:22:07] * funkygibbon quit (Ping timeout: 256 seconds)
915: [09:24:59] * Error404NotFound has joined #silverstripe
916: [09:27:06] * ARNHOE has joined #silverstripe
917: [09:36:30] * peter_ss1 has joined #silverstripe
918: [09:37:30] * peter_ss quit (Ping timeout: 245 seconds)
919: [09:47:54] <micmania1> anybody use bamboo?
920: [09:49:36] <Nightjar> ?
921: [09:50:11] <micmania1> its a continuous integration server. Just wondering if anybody has experience configuring it?
922: [09:59:50] * kerosene has joined #silverstripe
923: [10:04:28] <gordon__> does flush=1 and flush=all now behave different with ss 3.1?
924: [10:05:02] * Colin[pi] quit (Ping timeout: 265 seconds)
925: [10:05:02] * Plop has joined #silverstripe
926: [10:05:09] <Plop> hi guys
927: [10:05:15] <kinglozzer> gordon__: https://groups.google.com/d/msg/silverstripe-dev/RNWCiFAnRI0/QaUuI35wXUEJ
928: [10:05:39] * openbees quit (Quit: Leaving)
929: [10:06:23] <Plop> I have a question regarding DateField and userform in 2.4
930: [10:07:49] * Sjohn quit (Ping timeout: 272 seconds)
931: [10:07:51] <Plop> i created a datefield like that :
932: [10:07:57] <Plop> $dateC = new DateField('DateChirurgie','Date de la Chirurgie');
933: [10:08:02] <Plop> $dateC->setConfig('showcalendar', true);
934: [10:08:07] <Plop> $dateC->setConfig('dateformat', 'dd.MM.YYYY');
935: [10:08:18] <Plop> and it works great
936: [10:08:58] <Plop> but if i wanna add something like that : $dateC->setConfig('changeYears', true);
937: [10:09:12] <Plop> it doesn't apply
938: [10:09:56] <Plop> i read that there was a bug with the keys that are passed in lowercase
939: [10:12:39] <Plop> i can't figure it out ... anyone has an idea ?
940: [10:14:10] * toddmorey has joined #silverstripe
941: [10:14:45] <Nightjar> Plop: I think there's probably no config setting for that. It's not a direct map to jquery's date picker or anything.
942: [10:15:04] <Nightjar> It's specifically for configuring the datefield.
943: [10:15:22] * Nightjar has left #silverstripe
944: [10:15:24] * Nightjar has joined #silverstripe
945: [10:17:28] <Zauberfisch23> micmania1: if you figure out how to do it, write a blog post about it, I am considering using the atlassian stack myself
946: [10:17:55] <Zauberfisch23> and I'd love to hear about your setup once you are done
947: [10:17:59] <micmania1> Zauberfisch23, will do
948: [10:18:28] * toddmorey quit (Ping timeout: 240 seconds)
949: [10:20:27] * Colin[pi] has joined #silverstripe
950: [10:29:44] * toddmorey has joined #silverstripe
951: [10:33:21] * ajshort has joined #silverstripe
952: [10:41:36] * spronk2 quit (Quit: spronk2)
953: [10:45:24] * toddmorey quit (Quit: Leaving.)
954: [10:48:33] * skorp has left #silverstripe
955: [10:50:15] * spronk2 has joined #silverstripe
956: [11:00:17] * Nightjar has left #silverstripe
957: [11:02:33] * Colin[pi] quit (Ping timeout: 265 seconds)
958: [11:24:43] * svandragt quit (Ping timeout: 272 seconds)
959: [11:28:51] * chillu quit (Quit: chillu)
960: [11:30:46] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
961: [11:44:28] * Zri has joined #silverstripe
962: [11:44:32] <Zri> Hi gys
963: [11:44:37] <Zri> guys
964: [11:45:01] <Zri> I am wondering how can I ajax call a method on my custom field I created
965: [11:45:20] * travis-ci has joined #silverstripe
966: [11:45:21] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1338 (3.1 - 8ef14d2 : Ingo Schommer): The build passed.
967: [11:45:21] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/5c1a9d9da5a6...8ef14d2df4ea
968: [11:45:21] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12821086
969: [11:45:21] * travis-ci has left #silverstripe
970: [11:45:36] <Zri> I want to create a new type of field for backend
971: [11:46:01] <Zri> but I am having troubles making ajax call, because I dont know what is the url to call to get to my field methods
972: [11:46:13] * toddmorey has joined #silverstripe
973: [11:46:35] <Zri> I hope I explained it well enough for someone to point me
974: [11:50:10] <Zri> my field extends dropdown field
975: [11:51:56] * toddmorey quit (Ping timeout: 240 seconds)
976: [11:54:10] * jrthomer has joined #silverstripe
977: [12:01:28] * spronk2 quit (Quit: spronk2)
978: [12:05:44] * svandragt has joined #silverstripe
979: [12:10:11] <ARNHOE> Is it possible to sent the page title with a contact form?
980: [12:17:10] * gordon has joined #silverstripe
981: [12:17:34] * gordon is now known as Guest16690
982: [12:19:49] * gordon__ quit (Ping timeout: 272 seconds)
983: [12:25:05] * toddmorey has joined #silverstripe
984: [12:25:28] <Zri> Is it even possible to call a method on a field?
985: [12:25:30] * UndefinedOffset has joined #silverstripe
986: [12:28:20] <ajshort> Zri: yes, fields are controllers, you can use $myField->Link() to get a link
987: [12:29:37] * jrthomer_ has joined #silverstripe
988: [12:29:37] * jrthomer quit (Remote host closed the connection)
989: [12:38:30] * toddmorey quit (Quit: Leaving.)
990: [12:38:53] <Zri> ajshort, thanks will give it a try now
991: [12:39:12] * ajshort quit (Read error: Connection reset by peer)
992: [12:40:01] * ajshort has joined #silverstripe
993: [12:45:02] * jrthomer_ quit (Remote host closed the connection)
994: [12:49:31] * Guest16690 is now known as elgrodo
995: [13:04:27] * Guest73472 quit (Ping timeout: 250 seconds)
996: [13:04:38] * peter_ss1 quit (Ping timeout: 240 seconds)
997: [13:09:24] * peter_ss has joined #silverstripe
998: [13:13:44] * skorp has joined #silverstripe
999: [13:15:42] * jrthomer has joined #silverstripe
1000: [13:22:15] * peter_ss quit (Ping timeout: 272 seconds)
1001: [13:24:08] * jrthomer_ has joined #silverstripe
1002: [13:24:09] * jrthomer quit (Remote host closed the connection)
1003: [13:27:36] * catcher has joined #silverstripe
1004: [13:34:24] * toddmorey has joined #silverstripe
1005: [13:42:24] * Shrike_Finland quit (Quit: Leaving.)
1006: [14:02:56] * Alexw has joined #silverstripe
1007: [14:09:41] * NobrainerWeb quit (Quit: NobrainerWeb)
1008: [14:12:03] * lerni quit (Quit: lerni)
1009: [14:18:00] * elgrodo quit (Read error: No route to host)
1010: [14:20:22] * Alexw quit ()
1011: [14:26:12] * Plop quit ()
1012: [14:35:05] * toddmorey quit (Quit: Leaving.)
1013: [14:49:17] * toddmorey has joined #silverstripe
1014: [14:50:54] * ARNHOE quit (Remote host closed the connection)
1015: [14:52:08] * DesignerX quit (Ping timeout: 240 seconds)
1016: [15:10:33] * Jape quit (Ping timeout: 250 seconds)
1017: [15:22:27] * lerni has joined #silverstripe
1018: [15:38:43] * Zri quit (Ping timeout: 250 seconds)
1019: [16:00:07] * Colin[pi] has joined #silverstripe
1020: [16:10:21] * toddmorey quit (Quit: Leaving.)
1021: [16:20:34] * kinglozzer quit (Remote host closed the connection)
1022: [16:31:02] * springtheory quit (Remote host closed the connection)
1023: [16:31:15] * svandragt quit (Ping timeout: 272 seconds)
1024: [16:43:48] * lerni quit (Ping timeout: 240 seconds)
1025: [16:47:38] * toddmorey has joined #silverstripe
1026: [16:47:43] * abitran quit (Ping timeout: 272 seconds)
1027: [17:03:22] * toddmorey quit (Quit: Leaving.)
1028: [17:15:22] * gelignite has joined #silverstripe
1029: [17:17:40] * chillu has joined #silverstripe
1030: [17:42:37] * skorp has left #silverstripe
1031: [17:51:47] * SightUnseen has joined #silverstripe
1032: [17:52:22] * SightUnseen has left #silverstripe
1033: [18:04:11] * toddmorey has joined #silverstripe
1034: [18:08:14] * toddmorey quit (Ping timeout: 240 seconds)
1035: [18:17:43] * toddmorey has joined #silverstripe
1036: [18:26:51] * skorp has joined #silverstripe
1037: [18:36:19] * lerni has joined #silverstripe
1038: [18:41:05] * CodeTrap has joined #silverstripe
1039: [18:46:03] <catcher> I'm converting a site that previously landed at /index.php. I'm trying a 301 redirect on 'index.php to '', and it seems to be fine. Am I not thinking of issues that will cause?
1040: [18:50:13] * jrthomer has joined #silverstripe
1041: [18:50:13] * jrthomer_ quit (Remote host closed the connection)
1042: [18:57:54] * Shrike_Finland has joined #silverstripe
1043: [18:59:28] * jrthomer quit (Remote host closed the connection)
1044: [19:00:00] * jrthomer has joined #silverstripe
1045: [19:01:24] * jrthomer_ has joined #silverstripe
1046: [19:01:25] * jrthomer quit (Remote host closed the connection)
1047: [19:01:27] <guzzlefry> catcher: search the code/database for any references to index.php to ensure no hard linking?
1048: [19:14:06] * antmas has joined #silverstripe
1049: [19:15:21] * Shrike_Finland quit (Quit: Leaving.)
1050: [19:19:27] <catcher> guzzlefry, I'm more worried about the index.php at doc root. The redirect seems like a bad idea, but doesn't seem to be :)
1051: [19:24:50] * toddmorey quit (Quit: Leaving.)
1052: [19:25:49] * toddmorey has joined #silverstripe
1053: [19:26:12] * toddmorey quit (Client Quit)
1054: [19:28:17] * micmania1 has joined #silverstripe
1055: [19:41:20] * Pyromanik has joined #silverstripe
1056: [19:43:18] <Pyromanik> so
1057: [19:43:24] <Pyromanik> validation issues in the CMS
1058: [19:43:43] <Pyromanik> usually show a "blah blah should match the email regex" right?
1059: [19:44:39] <Pyromanik> Mine doesn't, but I don't have CMS installed so I'm a bit mad about it.
1060: [19:44:51] <Pyromanik> because I don't want to install cms
1061: [19:45:15] * DigNZ has joined #silverstripe
1062: [19:47:37] * UncleCheese has joined #silverstripe
1063: [19:50:38] <Pyromanik> ok so it's just a 3.1 thing
1064: [19:50:38] <Pyromanik> ffs
1065: [19:51:27] <Pyromanik> just tested it with a CMS install
1066: [19:51:33] * jrthomer_ quit (Remote host closed the connection)
1067: [19:52:28] <Pyromanik> site config, have email field, don't put email in it, hit save, form reloads, no form message, no popup message, no field message, value just reset to previous (valid) entry.
1068: [19:54:33] * stecman has joined #silverstripe
1069: [19:56:36] * wilr_ has joined #silverstripe
1070: [19:59:29] * jrthomer has joined #silverstripe
1071: [20:01:56] * lerni quit (Quit: lerni)
1072: [20:02:05] <Pyromanik> also, I was under the impression that it did: https://github.com/silverstripe-labs/silverstripe-geoip/commit/bba3f606f3d0f901a6c805c04eea7b439cdef3a6
1073: [20:02:55] <simon_w> Nope, just needs to exist
1074: [20:03:13] <simon_w> Assuming there's an ending newline, that commit's rather pointless though
1075: [20:03:16] <Pyromanik> hmm, I thought it had to exist and have <?php\n at least
1076: [20:03:31] <Pyromanik> yeah
1077: [20:03:34] <Pyromanik> ikr, but hey
1078: [20:03:59] <Pyromanik> wouldn't an endline cause white space output though?
1079: [20:04:07] <simon_w> Nope
1080: [20:04:17] <simon_w> Well, not a single one
1081: [20:04:26] <Pyromanik> heh, ok.
1082: [20:04:30] <Pyromanik> randomish
1083: [20:04:38] <simon_w> Though, in this case, the file ends up with 0 lines
1084: [20:07:07] <Pyromanik> so simon_w, how would I go about sticking some validation messages back into SiteConfig
1085: [20:07:10] <Pyromanik> ?
1086: [20:07:57] * UndefinedOffset quit (Quit: Leaving.)
1087: [20:08:12] <Pyromanik> because from what I can see CMSSettingsController builds the form and populates the fields, but doesn't handle the submission
1088: [20:08:15] <simon_w> Throw a ValidationException from in validate()
1089: [20:09:07] <Pyromanik> simon_w: yeah I'm not validating though, it's just an EmailField doing it's thing when it's contents aren't an email.
1090: [20:09:38] <Pyromanik> so SiteConfig::validate() never gets called
1091: [20:10:02] <simon_w> Then you need to set a validator on the form object
1092: [20:10:23] <Pyromanik> I thought by default all forms used RequiredFields
1093: [20:11:11] <guzzlefry> nope
1094: [20:11:14] <guzzlefry> well, maybe
1095: [20:12:57] <Pyromanik> CMSForm inherits __construct from Form, which contains the line: $this->validator = ($validator) ? $validator : new RequiredFields();
1096: [20:13:19] <Pyromanik> It's working, because otherwise the form would save.
1097: [20:13:31] <Pyromanik> because no field would be sanitised.
1098: [20:14:12] <Pyromanik> but clearly the form doesn't save, but it give me back the default state, rather than the submitted values with validation messages on the fields
1099: [20:15:07] <Pyromanik> same deal if I tell it I require a field.
1100: [20:16:33] <Pyromanik> could the pjaxresponsenegotiator be f'n things up?
1101: [20:19:10] <guzzlefry> Does Controller::init() return anything, or rather, should it?
1102: [20:19:16] <guzzlefry> When overriding.
1103: [20:19:22] <Pyromanik> no
1104: [20:19:28] <Pyromanik> but you must call parent::init()
1105: [20:19:55] <guzzlefry> ...whoops
1106: [20:20:58] <Colin[pi]> morning all
1107: [20:21:04] <Pyromanik> hi
1108: [20:21:17] <Pyromanik> die in a fire yet?
1109: [20:21:35] <Colin[pi]> today if I'm lucky!
1110: [20:21:39] <Pyromanik> rofl
1111: [20:21:43] <Pyromanik> are they close to you?
1112: [20:21:56] <Colin[pi]> mm not really, well, in NSW... which surrounds us...
1113: [20:22:03] <Colin[pi]> pretty shitty near sydney
1114: [20:22:28] <Colin[pi]> Pyromanik: http://www.rfs.nsw.gov.au/dsp_content.cfm?cat_id=683
1115: [20:22:46] <Colin[pi]> so pretty much the whole east coast yes
1116: [20:23:11] <Colin[pi]> see that red one? some 15 year old and his mate lit it
1117: [20:24:32] <guzzlefry> Does it hurt to return null in myController::init()?
1118: [20:24:39] <Pyromanik> yeah, heard that on the news Colin[pi]
1119: [20:24:46] <Colin[pi]> little fucking shits
1120: [20:24:53] <Colin[pi]> in jail and throw away the key
1121: [20:24:55] <Pyromanik> cops looking to press charges I heard, they're just trying to figure out a way to do it because they're minors.
1122: [20:24:58] <Pyromanik> D BAG MINORS
1123: [20:25:16] <Colin[pi]> HEY GUISE LETS LIGHT A FIRE HUR DURR SO FUNNY
1124: [20:25:36] <Colin[pi]> fucking people man, people suck
1125: [20:25:37] <Pyromanik> Typical Aussies then?
1126: [20:25:41] <Pyromanik> :P
1127: [20:25:43] <Colin[pi]> yeah pretty much
1128: [20:27:45] * nickmolhoek has joined #silverstripe
1129: [20:28:19] * guzzlefry wonders if SIlverStripe top brass would be opposed to adding "Users not logged in." to the "Who can view this page?" logic for Pages.
1130: [20:29:33] <Pyromanik> guzzlefry: you mean, so Members can't see it?
1131: [20:29:38] <guzzlefry> yes
1132: [20:29:45] <Pyromanik> o.0
1133: [20:29:49] <guzzlefry> Like registration or login links.
1134: [20:30:04] <guzzlefry> It just seems more convenient.
1135: [20:30:06] <Pyromanik> just test in init, redirect if Member::currentUserID()
1136: [20:30:21] <guzzlefry> Well, for the menu loops.
1137: [20:30:24] <Pyromanik> they shoudn't get a 404 just because they're a member
1138: [20:30:33] <Pyromanik> guzzlefry: well then do it in canView
1139: [20:30:45] <guzzlefry> oh, didn't know about that.
1140: [20:30:49] <guzzlefry> Will look into it, thanks.
1141: [20:30:59] <simon_w> So they're the jerks that are making me fly Jetstar? Send them to Guantanamo!
1142: [20:31:07] <Colin[pi]> lol
1143: [20:31:19] <Colin[pi]> so wait.. what have you had to change?
1144: [20:31:20] <Pyromanik> agreed. No one should ever be subjected to JetStar.
1145: [20:31:25] <Colin[pi]> you need to go to Melb now?
1146: [20:31:36] <simon_w> Yeah, venue canceled last night
1147: [20:31:51] <Colin[pi]> :(
1148: [20:32:31] <Colin[pi]> melb sucks too
1149: [20:32:37] <Colin[pi]> well
1150: [20:32:40] <Colin[pi]> it depends
1151: [20:32:45] <Colin[pi]> but I think it's boring as hell
1152: [20:32:48] <Colin[pi]> and I'm from Canberra!
1153: [20:33:22] <simon_w> Yeah, we basically just met people while there
1154: [20:34:51] * wilr_ quit (Quit: wilr_)
1155: [20:36:27] <Pyromanik> it is
1156: [20:36:29] <Pyromanik> IT FUCKING IS
1157: [20:36:38] <Pyromanik> PjaxResponseNegotiator
1158: [20:36:50] <simon_w> Blame madmatt
1159: [20:37:02] <Pyromanik> don't set it, calls parent::getValidationErrorResponse, everything shows up sweet.
1160: [20:37:21] <Pyromanik> yet, last night I had an error where it was whinging about not having a response validator, so I thought I needed it.
1161: [20:37:24] <Pyromanik> I DON'T
1162: [20:37:37] * Pyromanik mads all around the place
1163: [20:37:44] <Pyromanik> simon_w: madmatt?
1164: [20:37:49] <simon_w> MattSS
1165: [20:37:50] <Pyromanik> ss?
1166: [20:37:53] <Pyromanik> yeh right
1167: [20:37:58] <Pyromanik> should stick to managing eh
1168: [20:38:00] <Pyromanik> :P
1169: [20:39:33] <Pyromanik> it never sets up the form errors.
1170: [20:40:34] <simon_w> Well, I guess I could make these relationship tables while waiting for someone in #hhvm to help me debug
1171: [20:44:12] <simon_w> Ooh, we're going first class down to Melbourne
1172: [20:44:22] <Pyromanik> "Caution: Volatile API"
1173: [20:44:26] <Pyromanik> yeah, no kidding!
1174: [20:45:13] <guzzlefry> If I need extra fields/methods for a certain group of users does a dataextension on member make the most sense?
1175: [20:45:24] <Pyromanik> There we are, LefAndMain.php:L576
1176: [20:45:26] <simon_w> Yes
1177: [20:45:31] * skorp has left #silverstripe
1178: [20:45:47] <Pyromanik> return $controller->getEditForm()->forTemplate()
1179: [20:47:08] <Pyromanik> urgh, Form::setupFormErrors() doesn't return $this
1180: [20:47:26] * jrthomer quit (Remote host closed the connection)
1181: [20:47:53] <simon_w> Isn't that called by the constructor already?
1182: [20:48:33] <Pyromanik> right you are
1183: [20:49:14] <Pyromanik> but that happens before errors are created
1184: [20:49:19] <Pyromanik> or does it
1185: [20:49:24] <Pyromanik> ffffff
1186: [20:50:34] <Pyromanik> form requested, set up, data loaded from request, validators set errors, form fails validation, response builds new form, it should load the errors from the old one right?
1187: [20:51:05] <simon_w> In theory
1188: [20:52:15] <Pyromanik> does loaddatafrom clear errors?
1189: [20:53:02] <Pyromanik> doesn't seem to
1190: [20:55:19] <Pyromanik> ok, so bugs found during this project: PjaxResponseNegotiator doesn't return form with errors and submitted values, <% if ID %> always fails.
1191: [20:55:32] <Pyromanik> I'll look into that later, I'm wasting daylight!
1192: [20:55:33] <ss23> :<
1193: [20:55:34] <ss23> missed bus
1194: [20:55:49] <simon_w> So did I!
1195: [20:55:57] <simon_w> Then I waited 5 minutes and caught the next one.
1196: [20:56:00] <Pyromanik> OH!
1197: [20:56:04] <ss23> lol
1198: [20:56:06] <ss23> lucky for some
1199: [20:56:30] <simon_w> No one sat next to me the entire time too
1200: [20:56:52] <Pyromanik> and also <% if $Top.Func($Up.ID) = $ID %> fails, but <% if $Top.Func($Up.ID) = $Me.ID %> succeeds.
1201: [20:57:06] <Pyromanik> THREE bugs! HA HA HA hAAAAAAA
1202: [20:57:07] <ss23> Ah, I get that almost every day, simon_w :D
1203: [20:57:27] <ss23> Imagine how many bugs would be fixed if SilverStripe didn't use a templating language and used PHP instead :D
1204: [20:57:41] <simon_w> Well yes, if I left at 0930 I'd always have that too
1205: [20:58:08] <simon_w> And imagine how many more would be created :p
1206: [20:59:14] <Colin[pi]> ss23: if you're hoping to maintain mvc/sep of concerns, raw php as templating language is a very, very bad idea
1207: [20:59:47] <Colin[pi]> a more restrictive template system is a good thing overall ;)
1208: [20:59:51] <ss23> Disagree
1209: [20:59:55] <Colin[pi]> :o
1210: [21:00:03] <simon_w> Raw PHP as a templating language is just a bad idea, even without having to maintain separation
1211: [21:00:10] <ss23> Disagree
1212: [21:00:19] <ss23> NO
1213: [21:00:21] <Colin[pi]> so you want an environment where anyone can write anything in the template?
1214: [21:00:22] <ss23> I can't have this converasion again
1215: [21:00:24] <ss23> I've had it too many times
1216: [21:00:25] <Colin[pi]> lol
1217: [21:00:25] <ss23> :O
1218: [21:00:35] * wilr_ has joined #silverstripe
1219: [21:00:38] <ss23> We'll discuss it at a hackfest one day when there's beer and pizza.
1220: [21:01:02] <Colin[pi]> but I am le far
1221: [21:01:35] * antmas quit (Quit: Page closed)
1222: [21:02:38] <ss23> Colin[pi]: Don't care!
1223: [21:02:38] <ss23> :D
1224: [21:02:46] <Colin[pi]> ;C
1225: [21:02:46] <ss23> No templating discussions 4 u!
1226: [21:02:53] * Colin[pi] cries
1227: [21:03:06] * wilr_ quit (Client Quit)
1228: [21:03:10] <simon_w> Colin[pi], don't worry, everyone except WordPress and ss23 agree with you
1229: [21:03:17] <Colin[pi]> lol
1230: [21:03:34] <Colin[pi]> look at first I hated the SS templating, HATED it
1231: [21:03:45] <Colin[pi]> then suddenly one day it clicked.. "OH that's why"
1232: [21:03:55] <Colin[pi]> now I think it's the right way ;)
1233: [21:04:18] <ss23> Colin[pi]: That's fine, you're allowed to be wrong :)
1234: [21:04:22] <Colin[pi]> plus my old framework used raw php and it was a piece of crap
1235: [21:05:00] * wilr_ has joined #silverstripe
1236: [21:05:03] <Colin[pi]> lol you're in the minority on this one ss23 of that I'm sure :D
1237: [21:05:36] * mobiusnz1 has joined #silverstripe
1238: [21:07:07] * mobiusnz quit (Ping timeout: 272 seconds)
1239: [21:07:35] <AlphaCactus> I like being forced to use a limited set of commands in templates cause otherwise wayyy to much crap would find its way into the "template" files.
1240: [21:07:56] <ss23> Colin[pi]: That's how global mind-shifts start, a small incredibly smart minority, then slowly the lowly masses learn to accept the Truth
1241: [21:07:57] * swordsmanz has joined #silverstripe
1242: [21:07:59] <ss23> :3
1243: [21:08:36] <Colin[pi]> ss23: what, learn to go back in time to a worse habit?
1244: [21:09:29] <ss23> No, learn to ignore fads perpetuated by the inferior
1245: [21:17:42] <DryerLintPurple> raw php templates are a great idea for those who aren't dumb enough to put shit like database queries in their templates. I mean, templating languages inevitably amount to writing implementing another scripting language on top of PHP, which is pretty facepalm if you think about it.
1246: [21:17:43] <DryerLintPurple> but unfortunately, most sufficiently large organizations do have at least one guy that's dumb enough to put a db query in a template, so restricted template languages it is. -_-;
1247: [21:18:35] <DryerLintPurple> (writing/implementing)
1248: [21:19:06] <simon_w> XSS. Very few people will get it right when writing pure PHP.
1249: [21:19:23] * UncleCheese quit (Quit: UncleCheese)
1250: [21:23:18] <Pyromanik> 09:59 < Colin[pi]> ss23: if you're hoping to maintain mvc/sep of concerns, raw php as templating language is a very, very bad idea
1251: [21:23:21] <Pyromanik> do go on
1252: [21:23:41] * gelignite quit (Quit: http://bit.ly/nkczDT)
1253: [21:23:49] <Pyromanik> 10:03 <@simon_w> Colin[pi], don't worry, everyone except WordPress and ss23 agree with you
1254: [21:24:00] <Pyromanik> and opencart, and modx
1255: [21:24:06] <Pyromanik> and a whole raft of systems.
1256: [21:24:56] <Colin[pi]> Pyromanik: by allowing raw php in the template, it increases the likelihood of code that belongs in the other layers appearing in the template
1257: [21:25:14] <Colin[pi]> a good dev shouldn't, but there are plenty of shitty ones that probably would if given the freedom
1258: [21:25:48] <Pyromanik> Colin[pi]: you mean all of them.
1259: [21:25:52] <Pyromanik> they're all fucking retards.
1260: [21:26:14] <Colin[pi]> who, all php devs?
1261: [21:26:23] <Pyromanik> yes.
1262: [21:26:29] <Pyromanik> all 'php' 'devs'
1263: [21:26:36] <Colin[pi]> well the low entry bar for php doesn't help
1264: [21:26:49] <guzzlefry> good thing I'm a software engineer >_>
1265: [21:26:58] <Pyromanik> The popularity of wordderp is testamount
1266: [21:27:04] <simon_w> Lol, software engineers
1267: [21:27:11] <guzzlefry> don't hate simon_w :P
1268: [21:27:32] * guzzlefry shows some UML to simon_w then dies a little inside.
1269: [21:27:34] * wilr_ quit (Quit: wilr_)
1270: [21:27:54] <simon_w> All about the process, less about the actual outcome
1271: [21:27:59] <Pyromanik> and the fact that these goofballs roll around the internet discovering design patterns that have been around since 1970 and 'pioneering' them because they think they invented them.
1272: [21:28:35] <Pyromanik> and then getting famous for it because it blows all the other "dev's" minds.
1273: [21:28:39] <Pyromanik> err devs
1274: [21:28:52] <simon_w> chillu, wanna take a screenshot for me? :p
1275: [21:28:54] <guzzlefry> hey...isn't 1970 around the time the Gang of Four book was written? :P
1276: [21:28:56] <Pyromanik> devs'?
1277: [21:28:59] <Pyromanik> idek
1278: [21:29:05] <Pyromanik> guzzlefry: boom.
1279: [21:29:13] <Pyromanik> high five.
1280: [21:29:20] <chillu> simon_w: NEIN! ;)
1281: [21:29:24] <Colin[pi]> martin fowler's stuff is good
1282: [21:29:33] <Colin[pi]> he extended on from GOF
1283: [21:29:33] <guzzlefry> oh
1284: [21:29:35] <guzzlefry> 1994
1285: [21:29:36] <guzzlefry> close enough
1286: [21:29:39] <Pyromanik> rofl
1287: [21:29:45] <simon_w> I also then have to go host it somewhere. All the efforts! :p
1288: [21:29:47] <Pyromanik> still older tahn most of these derpderps
1289: [21:29:52] <ss23> imgur!
1290: [21:29:58] <guzzlefry> damn millenials
1291: [21:29:59] <simon_w> App.net!
1292: [21:30:06] <Pyromanik> millenials!
1293: [21:30:14] <Pyromanik> 1990 isn't millenial.
1294: [21:30:21] <Pyromanik> although I do like the term
1295: [21:30:22] <guzzlefry> again
1296: [21:30:24] <guzzlefry> close enough!
1297: [21:30:53] <Pyromanik> besides, GOF weren't the first to discover patterns, they just wrote the best book.
1298: [21:35:32] * CodeTrap quit (Quit: CodeTrap)
1299: [21:37:58] <simon_w> Markdown syntax for images?
1300: [21:40:07] * catcher quit (Quit: Leaving)
1301: [21:41:50] <simon_w> ![](url)
1302: [21:42:45] <spronk> lol @ people who think software engineering hasn't changed the world
1303: [21:57:26] <Pyromanik> spronk: ?
1304: [21:57:32] <Pyromanik> Do go on.
1305: [22:03:16] <spronk> 10 years ago
1306: [22:03:19] <spronk> well
1307: [22:03:20] <spronk> 20 years ago
1308: [22:03:26] <spronk> >50% of large software developments failed
1309: [22:03:29] <spronk> now it's a much smaller number
1310: [22:17:39] * UncleCheese has joined #silverstripe
1311: [22:20:27] <Pyromanik> but there are more of them now spronk
1312: [22:21:25] * micmania1 quit (Ping timeout: 248 seconds)
1313: [22:24:27] <Pyromanik> but I meant more 'how has it changed the world?'
1314: [22:26:55] <DryerLintPurple> simon_w: there's some areas where markdown is an elegant, natural syntax. others, not so much.
1315: [22:27:23] <simon_w> So, headings versus everything else? :p
1316: [22:29:11] * EasyCo has joined #silverstripe
1317: [22:29:20] <EasyCo> Morning
1318: [22:32:49] <DryerLintPurple> I've sometimes wondered if Markdown could be used as a replacement for BBCode. the way Markdown uses > for blockquotes is pretty straightforward, since that's the norm for email and such. but what happens if you want to do a quote the way a lot of forums do, with a citation on top?
1319: [22:34:30] <Pyromanik> So it turns out that when you write an object it dosen't update with DB values.
1320: [22:34:34] <Pyromanik> excepting ID
1321: [22:35:43] <spronk> Pyromanik: software eng has given us basically all the tools we need to build the shit we work on now
1322: [22:35:50] <spronk> OO, for example
1323: [22:35:51] <Pyromanik> I kinow
1324: [22:36:07] <Pyromanik> paradigms
1325: [22:38:28] <EasyCo> Capistrano 3 <3!
1326: [22:39:39] * travis-ci has joined #silverstripe
1327: [22:39:39] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1344 (3.1 - 56d7c1f : mandrew): The build was broken.
1328: [22:39:39] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/8ef14d2df4ea...56d7c1fde2f6
1329: [22:39:39] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12851445
1330: [22:39:39] * travis-ci has left #silverstripe
1331: [22:41:30] <ss23> dammit, mandrew broke the build!
1332: [22:42:31] <simon_w> FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT
1333: [22:43:47] <EasyCo> eztiger
1334: [22:47:48] * antmas has joined #silverstripe
1335: [22:49:06] * DigNZ quit (Quit: DigNZ)
1336: [22:49:32] <antmas> mornin
1337: [22:49:56] <EasyCo> Morning
1338: [22:52:40] * DigNZ has joined #silverstripe
1339: [22:57:33] * kerosene quit (Ping timeout: 256 seconds)
1340: [22:57:49] <ss23> Did you mean: recyclinther?
1341: [22:57:53] <ss23> Did you mean: exercis?
1342: [22:58:20] <antmas> ss23: XD
1343: [22:58:32] <ss23> antmas: Speaking of, main page of tasman redirects to /framework/main.php?url=/
1344: [22:58:35] <ss23> And it's really ugly!
1345: [22:58:50] <antmas> ss23: hmmm
1346: [22:58:57] <antmas> redirecting from what?
1347: [22:59:13] <ss23> Not sure
1348: [22:59:16] <ss23> Let me check, one sec!
1349: [23:00:56] <ss23> antmas: http://i.imgur.com/1m1oJ36.png
1350: [23:01:12] <ss23> antmas: I'm too noob to figure out why it does it, think it's to do with the .hataccess
1351: [23:01:22] <ss23> I mean, I'm too noob to figure it out, unless you pay us more money :P
1352: [23:01:39] <simon_w> Broken www. redirect
1353: [23:01:45] * simon_w tests his new command
1354: [23:01:46] <simon_w> FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT
1355: [23:01:49] <simon_w> Woo!
1356: [23:01:50] <ss23> lol
1357: [23:02:04] <ss23> Oh yes, that would be it I guess
1358: [23:02:04] <ss23> :D
1359: [23:02:10] <simon_w> antmas, you're probably missing a [L] flag
1360: [23:02:39] <antmas> simon_w: hmmmmmm
1361: [23:02:44] <guzzlefry> What did s23 break?
1362: [23:02:47] <ss23> Nothing
1363: [23:02:48] <ss23> :O
1364: [23:02:49] <simon_w> Everything
1365: [23:02:53] <ss23> I'm just letting antmas know it's weird
1366: [23:02:54] <ss23> :<
1367: [23:03:13] <antmas> weird that it is doing it now, I can't replicate it...
1368: [23:03:33] <simon_w> Yogurt:~/Sites/pro/trunk simon$ curl -I tasman.govt.nz
1369: [23:03:33] <simon_w> Location: http://www.tasman.govt.nz/framework/main.php?url=/
1370: [23:05:32] * antmas_ has joined #silverstripe
1371: [23:05:42] * DesignerX has joined #silverstripe
1372: [23:06:01] <simon_w> antmas_, fixed it yet? :p
1373: [23:06:10] <antmas_> simon_w: ss23 borked it
1374: [23:06:12] <antmas_> :P
1375: [23:06:17] <simon_w> Well, that's a given
1376: [23:06:41] <antmas_> ss23: are you working on the search results that Jean was doing?
1377: [23:07:01] * violetina quit (Remote host closed the connection)
1378: [23:07:39] * antmas quit (Ping timeout: 250 seconds)
1379: [23:07:44] <ss23> wow he left!
1380: [23:07:45] <ss23> :<
1381: [23:08:03] <simon_w> Looks again
1382: [23:08:20] <antmas_> wait
1383: [23:08:27] <antmas_> am I a ghost?
1384: [23:08:31] <guzzlefry> oh
1385: [23:08:33] <guzzlefry> a spy
1386: [23:08:41] <antmas_> I don't even
1387: [23:08:41] <simon_w> You're an underscore
1388: [23:08:49] <ss23> wow he's still here! :O
1389: [23:08:53] <ss23> antmas_: I'm not working on it right now
1390: [23:09:13] <guzzlefry> Probably trying to catch you slacking. :P
1391: [23:09:26] <antmas_> ss23: hmmmm, I got an email from Jean saying I need to accept a pull request, but I ain't seen nuttin!
1392: [23:09:29] <antmas_> :D
1393: [23:10:09] <ss23> for The Prow, I think that was
1394: [23:10:16] <ss23> Not sure where The Prow is, uh
1395: [23:10:38] <simon_w> Usually, at the front
1396: [23:10:50] <antmas_> the prow?
1397: [23:10:53] * antmas_ runs away
1398: [23:10:56] <ss23> XD
1399: [23:11:01] <ss23> I don't kno where it is either...
1400: [23:11:40] <antmas_> ss23: no, it was regarding the search suggestions, and a commit has been pushed, but the last one was from me for unrelated commits?
1401: [23:11:43] <antmas_> I dunno
1402: [23:11:57] <antmas_> OH
1403: [23:12:06] <antmas_> wait, nvm
1404: [23:12:09] <ss23> I haven't talked about it with him sorry :O
1405: [23:12:44] <antmas_> ss23: weird, he said he has fixed the issue - maybe talk with him?
1406: [23:12:55] <ss23> He finishes at 12, but I'm happy to talk to him tomorrow about it
1407: [23:13:06] <ss23> I'm actually looking at fixing some search issues today too :D
1408: [23:13:06] <antmas_> oh, no problems
1409: [23:13:21] <ss23> Turns out your not the only people with the recyclinther issues :D
1410: [23:13:30] <antmas_> ss23: XD
1411: [23:14:31] <antmas_> ss23: you could be wasting your time is all
1412: [23:14:51] <simon_w> "fixing some search issues"
1413: [23:14:51] <simon_w> I guess he's gone then
1414: [23:15:12] <ss23> antmas_: Well we have other issues
1415: [23:15:46] <antmas_> ss23: yeh - he only told me vaugely that it was a minor change to the Solr config
1416: [23:16:05] <antmas_> mmmm Team Foundation Server
1417: [23:20:38] * kerosene has joined #silverstripe
1418: [23:23:38] * chillu quit (Quit: chillu)
1419: [23:24:53] <guci0> Ah!
1420: [23:26:35] <guci0> https://github.com/silverstripe/silverstripe-framework/commit/5b3f8bc04da5e790d07293f25db1a8c55d894a9a - because the parent did not work
1421: [23:40:15] * Jakx has joined #silverstripe
1422: [23:41:07] <Jakx> yo
1423: [23:41:13] <simon_w> ho ho
1424: [23:43:07] <ss23> Does the file system sync task pick up files that have been put in assets/ but not added via the CMS?
1425: [23:43:28] <ss23> I have like 200 files in a zip that I want to let the CMS know about, can I just unzip it in assets and run the sync task?
1426: [23:43:36] <simon_w> yes
1427: [23:44:05] <ss23> cool beans!
1428: [23:45:04] <Jakx> is there a good trick to hide a class (that extends page) from the site tree? I'm hoping to manage this page type from a separate LeftAndMain
1429: [23:45:25] <simon_w> Haha, there's a guy at the bus stop using his MacBook as an iPod
1430: [23:46:24] <simon_w> Jakx, private static $hide_ancestor = 'MyClassName';
1431: [23:49:10] <ss23> ... nice
1432: [23:49:18] <ss23> office connection is like 200kB/s
1433: [23:49:23] <ss23> server 18mB/s
1434: [23:49:23] <ss23> :D
1435: [23:49:25] <ss23> Much faster
1436: [23:50:18] <Jakx> simon_w, which class do I add this to? I've tried both Page and the extension of Page, neither hides the pages from the site tree?
1437: [23:50:38] <simon_w> Jakx, whatever, and have you flushed?
1438: [23:51:40] <simon_w> Hmm, lunch
1439: [23:51:43] <simon_w> Do I want BF again?
1440: [23:51:49] <ss23> Again?!
1441: [23:51:50] <ss23> :O
1442: [23:51:58] <simon_w> I had it yesterday!
1443: [23:52:05] <ss23> Me too
1444: [23:52:07] <spronk> you know
1445: [23:52:10] <spronk> you're asking the wrong question
1446: [23:52:13] <Jakx> simon_w, I'll do that. I see that the page type has been hidden from the Add new page section. But when I add it via my custom LeftAndMain is just adds it to the main site tree also
1447: [23:52:14] <spronk> what you should be asking is
1448: [23:52:20] <spronk> "why has it beena day since I last had burgerfuel?"
1449: [23:52:31] <Colin[pi]> burgercrack
1450: [23:52:32] <simon_w> Wasn't UncleCheese supposed to join us yesterday?
1451: [23:52:50] <ss23> ^^
1452: [23:52:55] <UncleCheese> was he?
1453: [23:52:56] <ss23> UncleCheese: Yesterday was next time, you didn't join us
1454: [23:54:56] <Jakx> ah fuck it, I'm just not gonna extend that Page class... so much frustration for the sake of trying to avoid redundancy.
1455: [23:55:48] <ss23> DRY DRY!
1456: [23:56:18] <simon_w> spronk, so, why has it been a day since you last had BurgerFuel?
1457: [23:56:33] <UncleCheese> don't you mean for the framework/sake of redundancy?
1458: [23:56:47] <ss23> simon_w: Did you wanna get lunch then?
1459: [23:57:01] <simon_w> UncleCheese, seriously? You run it from inside the framework folder?
1460: [23:57:06] <UncleCheese> yes
1461: [23:57:08] <simon_w> ss23, yeah, just not sure what to get :p
1462: [23:57:14] <simon_w> UncleCheese, sake installsake
1463: [23:57:27] <UncleCheese> i like to make things as complicated as possible
1464: [23:59:14] <simon_w> ss23, four minutes
1465: [23:59:49] <ss23> mmk

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