#silverstripe IRC Log

IRC log for 7 January 2015

All timestamps are in UTC.

1: [00:10:48] <zippy> 128gb hdd... never again
2: [00:11:52] <simon_w|work> Wanna swap with my 64 gb one? :p
3: [00:12:06] <zippy> yea nnaaa...
4: [00:13:20] <zippy> soon will have to toss up between an air or mbp... hmm..
5: [00:15:45] <zippy> simon_w|work: hows the hosting going?
6: [00:16:13] <simon_w|work> zippy, slowly. Got the base of what has to be done planned, but not much more than that
7: [00:17:08] * veb is now known as vebb
8: [00:18:05] <Stomach> I bought an 8GB ssd when they first came out
9: [00:18:12] <Stomach> that was an expensive mistake for future me
10: [00:19:15] <zippy> I bet!
11: [00:19:30] <zippy> getting cheaper and cheaper
12: [00:20:15] <zippy> Kingy: derka derka?
13: [00:25:39] * jenniferaslan1 has joined #silverstripe
14: [00:25:54] * vebb is now known as veb
15: [00:27:03] * wmk quit (Ping timeout: 264 seconds)
16: [00:27:07] * jenniferaslan quit (Ping timeout: 255 seconds)
17: [00:55:20] * UncleCheese has joined #silverstripe
18: [00:59:34] * Phlunk3 quit (Quit: Leaving)
19: [01:02:47] * oddnoc quit (Quit: beer:30)
20: [01:13:02] * veb quit (Quit: veb-irc: &)
21: [01:31:58] * camfindlay quit (Quit: camfindlay)
22: [01:33:03] * travis-ci has joined #silverstripe
23: [01:33:03] <travis-ci> silverstripe/silverstripe-framework#3821 (3.1 - 0b6f89b : Will Rossiter): The build has errored.
24: [01:33:03] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/97a9e499a0e1...0b6f89b5805c
25: [01:33:03] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/46146229
26: [01:33:03] * travis-ci has left #silverstripe
27: [01:37:13] <adrexia> finally merged! https://github.com/silverstripe/silverstripe-framework/pull/2397#issuecomment-68964921
28: [01:38:31] * camfindlay has joined #silverstripe
29: [01:38:36] <simon_w|work> Yay!
30: [01:40:23] <adrexia> pull request made 10 Sep 2013, merged 7 Jan 2015
31: [01:40:24] <adrexia> lol
32: [01:40:55] <adrexia> I suppose 5% of it was actually taken by ajshort and merged seperately
33: [01:41:56] <Stomach> yaaaaaay adrexia !
34: [01:42:04] <Stomach> complain enough and something happens
35: [01:42:18] * travis-ci has joined #silverstripe
36: [01:42:18] <travis-ci> silverstripe/silverstripe-framework#3823 (3 - 218ef0b : Will Rossiter): The build has errored.
37: [01:42:18] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/348262f88f45...218ef0b599e9
38: [01:42:18] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/46146446
39: [01:42:18] * travis-ci has left #silverstripe
40: [01:42:18] <adrexia> I guess I can fix other things now
41: [01:42:23] <simon_w|work> camfindlay, why has SS killed all of chillu's opensource time?
42: [01:42:33] * travis-ci has joined #silverstripe
43: [01:42:33] <travis-ci> silverstripe/silverstripe-framework#3822 (3.1 - 97a9e49 : Daniel Hensby): The build is still failing.
44: [01:42:33] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/0b6f89b5805c...97a9e499a0e1
45: [01:42:33] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/46146379
46: [01:42:33] * travis-ci has left #silverstripe
47: [01:47:22] * mobiusnz quit (Quit: Leaving.)
48: [01:50:35] * mobiusnz has joined #silverstripe
49: [01:56:43] * markcl1 has joined #silverstripe
50: [01:56:43] * markcl quit (Read error: Connection reset by peer)
51: [02:01:50] * jenniferaslan1 quit (Quit: jenniferaslan has left the room)
52: [02:04:44] * veb has joined #silverstripe
53: [02:08:48] <zippy> camfindlay: heading down to the basin?
54: [02:19:19] <Stomach> 2 wickets left!
55: [02:19:26] <Stomach> when did we get good at cricket again
56: [02:19:32] * mobiusnz quit (Quit: Leaving.)
57: [02:19:34] <Blacklite> man i wish i could just skive off and go to the basin
58: [02:21:08] * veb is now known as vebb
59: [02:29:46] * vebb is now known as veb
60: [02:32:20] <Stomach> life is about action Blacklite
61: [02:34:03] <zippy> Stomach: for the past year and a bit we have
62: [02:34:36] <Blacklite> i'm leaving this job in 2 weeks
63: [02:34:48] <Blacklite> should just leave now and go to the basin haha
64: [02:35:47] <Stomach> one wicket left
65: [02:35:51] <Stomach> you wont make it in time
66: [02:36:20] <Blacklite> yea ik
67: [02:44:02] <zippy> and done
68: [02:50:44] * chillu_23 quit (Quit: chillu_23)
69: [02:56:12] <Blacklite> any php / ss devs want a job in welly?
70: [02:56:32] * chillu_23 has joined #silverstripe
71: [03:03:07] <zippy> Is there any flush hooks? the caching thing is pretty crazzzzyy
72: [03:05:56] <ss23> zippy: I think halykyon added that feature, flush hooks
73: [03:06:00] <ss23> in master I think
74: [03:06:45] * veb is now known as vebb
75: [03:08:53] <zippy> was it pretty recent?
76: [03:09:11] <ss23> Yeah
77: [03:09:15] <ss23> Maybe November or December
78: [03:09:35] * vebb is now known as veb
79: [03:10:22] * veb quit (Quit: veb-irc: quit)
80: [03:10:44] * veb has joined #silverstripe
81: [03:10:45] * veb quit (Changing host)
82: [03:10:45] * veb has joined #silverstripe
83: [03:12:47] <zippy> ss23: nop....
84: [03:12:52] <zippy> there was a hook added for getIsModifiedOnStage
85: [03:13:31] <Stomach> how do you remove the search form from a model admin
86: [03:13:34] * Stomach blanks
87: [03:14:33] * veb is now known as vebb
88: [03:14:34] <zippy> Stomach: set a empty searchable fields I think
89: [03:15:09] <zippy> >> To remove, add or modify searchable fields, define a new DataObject::$searchable_fields static on your model class (see SearchContext docs for details).
90: [03:16:41] <Stomach> hmmm I want there to be a searchable fields in one modeladmin instance but not another though
91: [03:16:47] * nathanz has joined #silverstripe
92: [03:17:13] <Stomach> making a SearchForm() function return false removes the form but keeps the "filter" title
93: [03:18:00] <Stomach> and adding
94: [03:18:00] <Stomach> private static $searchable_fields = false;
95: [03:18:15] <Stomach> to my class actually just makes it fall back to the summary fields
96: [03:18:19] <Stomach> bloody merge_high_to_low
97: [03:18:51] <Stomach> an empty array keeps the filter title and the "apply filter" and "reset" buttons
98: [03:18:51] <Stomach> wtf
99: [03:19:00] <Stomach> PR / rageout time
100: [03:19:53] * riddler7 has joined #silverstripe
101: [03:21:57] * vebb is now known as veb
102: [03:22:30] <Stomach> https://github.com/silverstripe/silverstripe-framework/pull/3758
103: [03:22:33] <Stomach> ss23
104: [03:22:39] <Stomach> get core committers access please
105: [03:24:45] <ss23> lol
106: [03:24:50] <ss23> I'm not a core don't ask me!
107: [03:24:57] <ss23> Dont' ask me, don't dont dont dont dont dont on dont ask me
108: [03:24:59] <ss23> ASK ME TO COMMIT
109: [03:25:13] <ss23> Stomach: https://www.youtube.com/watch?v=GwpCb0qW-6Y
110: [03:25:27] <Stomach> yeah I know
111: [03:25:34] <Stomach> THATS WHY I ASKED YOU TO GET ACCESS FIRST
112: [03:25:41] <ss23> Don't flash that stupid smile!
113: [03:25:41] <Stomach> then I can be pesky
114: [03:25:44] <ss23> Don't ask me!
115: [03:26:25] <Stomach> :D
116: [03:26:29] <Stomach> you're fun
117: [03:26:53] <ss23> :D
118: [03:26:54] * ss23 spins
119: [03:27:18] * spekulatius quit (Quit: Leaving)
120: [03:28:12] <ss23> Stomach: If you're lucky it might be merged once the tests pass...
121: [03:28:15] * ss23 waves his hands magically
122: [03:28:27] <Stomach> if that breaks tests, you have a larger problem
123: [03:29:04] <ss23> lol
124: [03:29:08] <ss23> It's more about "green means merge!"
125: [03:29:25] <Stomach> I did edit it online
126: [03:29:32] <Stomach> so fuck knows what github does in that situation
127: [03:29:37] <Stomach> no squirrels to be had
128: [03:29:38] <Stomach> :(
129: [03:29:48] <ss23> Edit online rules! :D
130: [03:33:31] * veb is now known as vebb
131: [03:34:49] * Cramb quit (Quit: Cramb)
132: [03:35:04] * Cramb has joined #silverstripe
133: [03:35:19] * riddler7 quit (Quit: Leaving)
134: [03:37:10] * Olliepop quit (Ping timeout: 246 seconds)
135: [03:37:11] * vebb is now known as veb
136: [03:37:43] * camfindlay quit (Quit: camfindlay)
137: [03:37:59] * Cramb quit (Client Quit)
138: [03:38:09] * Cramb has joined #silverstripe
139: [03:40:25] * Stomach quit (Ping timeout: 244 seconds)
140: [03:42:48] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
141: [03:43:27] <ss23> haha
142: [03:43:28] <ss23> The Travis CI build failed
143: [03:44:18] <ss23> Poor stomach
144: [03:50:41] * micmania1 quit (Quit: micmania1)
145: [04:00:56] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
146: [04:04:15] * nathanz quit (Quit: Leaving.)
147: [04:09:31] * Stomach has joined #silverstripe
148: [04:11:29] * Cramb quit (Ping timeout: 245 seconds)
149: [04:12:30] <Stomach> ss23 wtf
150: [04:12:49] <ss23> Stomach: :P
151: [04:12:55] <ss23> I presume some of the behat tests just rely on it
152: [04:13:05] <ss23> It should be as simple as finding the failing test(s) and removing that dependence
153: [04:13:11] <ss23> But good luck with that, that output was *crazy*
154: [04:13:19] <Stomach> so much for edit online! :D
155: [04:13:49] <ss23> Now you have to do a git checkout of that branch and mess with it manually! :D
156: [04:14:02] <Stomach> I know right :\
157: [04:14:17] <Stomach> its a deprecated method
158: [04:15:42] <simon_w|air> Where's that Colin[pi] when you need someone to bring me foods?
159: [04:18:14] <Stomach> trigger_error start of call stack in a dependency injection definition
160: [04:18:15] <Stomach> what the fudge
161: [04:18:19] * Stomach cries
162: [04:20:40] <Stomach> is there a more smarter way to do csv import/export than using a model admin?
163: [04:25:37] * Stomach quit (Ping timeout: 264 seconds)
164: [04:45:22] * Cramb has joined #silverstripe
165: [04:45:52] <Cramb> Can anyone explain the link() function to me within controllers and routing, I am reading the documentation but I just dont get it
166: [04:46:22] <Cramb> "Each controller has a built-in Link() method, which can be used to avoid hardcoding your routing in views etc. The method should return a value that makes sense with your custom route "
167: [05:05:24] * Cramb quit (Quit: Cramb)
168: [05:10:54] * veb quit (Quit: veb-irc: &)
169: [05:26:02] * veb has joined #silverstripe
170: [05:55:30] * Kingy is now known as Kingy[a]
171: [05:58:37] * Stomach has joined #silverstripe
172: [06:02:31] * Error404NotFound has joined #silverstripe
173: [06:21:27] <simon_w|work> This person is wrong: https://connect.microsoft.com/VisualStudio/feedback/details/1036338/roboto-link-tag-makes-browserlink-submit-hundreds-of-polling-requests-per-second
174: [06:21:31] <simon_w|work> The bug isn't in VS
175: [06:21:34] <simon_w|work> It's in Chrome
176: [06:21:39] <simon_w|work> Fucking Chrome
177: [06:33:39] * r_hector has joined #silverstripe
178: [06:48:25] * zippy has joined #silverstripe
179: [06:51:00] * zippy quit (Client Quit)
180: [06:55:08] * Kingy[a] is now known as Kingy
181: [06:55:28] <Kingy> so playing CS:GO the best ping I can get is 180ms
182: [06:55:33] <Kingy> \o/
183: [06:58:00] * azureRaven has joined #silverstripe
184: [07:01:38] * ozfiddler has joined #silverstripe
185: [07:03:11] * ozfiddler has left #silverstripe
186: [07:08:26] * markcl1 quit (Quit: Leaving.)
187: [07:21:23] * zippy has joined #silverstripe
188: [07:24:48] * wmk has joined #silverstripe
189: [07:32:19] * glenn-bautista quit (Quit: Leaving.)
190: [07:43:26] * Stomach quit (Quit: zzz)
191: [07:53:44] * Stomach has joined #silverstripe
192: [08:06:40] * Kingy is now known as Kingy[a]
193: [08:23:28] * elgabbu quit (Ping timeout: 246 seconds)
194: [08:44:10] * elgabbu has joined #silverstripe
195: [09:00:25] * kinglozzer has joined #silverstripe
196: [09:02:07] * cloph_away has joined #silverstripe
197: [09:05:03] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
198: [09:05:38] * cloph_away is now known as cloph
199: [09:08:44] * Sj0hn has joined #silverstripe
200: [09:09:56] * Pywindyk has joined #silverstripe
201: [09:11:29] * Blacklite quit (Ping timeout: 256 seconds)
202: [09:13:10] * Blacklite has joined #silverstripe
203: [09:20:28] <Eliseth> Morning
204: [09:21:02] <Sj0hn> Morning
205: [09:22:02] <Sj0hn> So I have a fresh installation of SS using zauberfisch's boilerplate.
206: [09:22:31] <Sj0hn> But it's showing "Index of /" instead of creating an SS site
207: [09:22:46] <Sj0hn> now the framework and cms are not visible but all other folders are..
208: [09:23:30] * gelignite has joined #silverstripe
209: [09:23:47] <simon_w> Sj0hn, sounds like you don't have mod_rewrite enabled
210: [09:23:57] <simon_w> Or are missing the .htaccess
211: [09:25:44] * Stomach quit (Quit: zzz)
212: [09:25:48] <Sj0hn> seemed to be the last one, Thanks :)
213: [09:36:39] * markcl has joined #silverstripe
214: [09:42:25] * UncleCheese has joined #silverstripe
215: [09:47:58] * dendeffe has joined #silverstripe
216: [09:50:53] * Kingy[a] quit (Ping timeout: 240 seconds)
217: [09:51:25] * Kingy[a] has joined #silverstripe
218: [10:00:17] <Pywindyk> Morena Eliseth Sj0hn
219: [10:01:21] * lerni has joined #silverstripe
220: [10:04:05] * markcl quit (Quit: Leaving.)
221: [10:08:52] * markcl has joined #silverstripe
222: [10:08:59] * markcl quit (Client Quit)
223: [10:09:17] * travis-ci has joined #silverstripe
224: [10:09:17] <travis-ci> silverstripe/silverstripe-framework#3825 (3.1 - 5b1c877 : Loz Calver): The build was fixed.
225: [10:09:17] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/97a9e499a0e1...5b1c8771c4d0
226: [10:09:17] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/46174001
227: [10:09:17] * travis-ci has left #silverstripe
228: [10:09:37] <kinglozzer> FIXT
229: [10:12:39] * markcl has joined #silverstripe
230: [10:13:54] * markcl quit (Client Quit)
231: [10:15:10] * markcl has joined #silverstripe
232: [10:15:11] <Pywindyk> kinglozzer: wachoodu?
233: [10:15:26] <kinglozzer> Pywindyk: Something super complicated and difficult
234: [10:15:30] <kinglozzer> (restarted the build)
235: [10:15:34] <kinglozzer> ;)
236: [10:15:44] <Pywindyk> coz it beroked?
237: [10:16:34] <kinglozzer> Yeah, Symfony broke behat
238: [10:17:27] <Pywindyk> symfony?
239: [10:17:30] <Pywindyk> idgi
240: [10:18:51] * Liquide quit ()
241: [10:19:13] * Liquide has joined #silverstripe
242: [10:20:14] <simon_w> Pywindyk, one of the popular Java frameworks written in PHP
243: [10:21:56] <Pywindyk> Java framework?
244: [10:22:01] <Pywindyk> You hav'n a dig?
245: [10:22:54] <simon_w> You haven't noticed? Most of the popular frameworks written in PHP are basically copying Java
246: [10:23:37] <Pywindyk> Oh yeah I have, I just wasn't sure that's what you meant.
247: [10:24:00] * r_hector quit (Quit: Leaving.)
248: [10:24:01] <Pywindyk> Not that I've touched Java since v5 iirc.
249: [10:24:03] <Pywindyk> but yeh.
250: [10:24:54] <Pywindyk> But then most things over most frameworks mirror each other in some way. The concepts underneath about tidy code and abstraction are generally the same.
251: [10:25:28] <Pywindyk> but yeh a lot of php goes even explicitly out there going "php implementation of basically what this part of spring does for java"
252: [10:25:41] <Pywindyk> iirc Injector is the same.
253: [10:27:37] * markcl quit (Quit: Leaving.)
254: [10:31:40] * ocmnt has joined #silverstripe
255: [10:31:55] <ocmnt> howdy
256: [10:31:59] <ocmnt> all the best for 2015!
257: [10:32:25] * azureRaven quit (Quit: Textual IRC Client: www.textualapp.com)
258: [10:33:02] * wmk quit (Ping timeout: 244 seconds)
259: [10:38:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
260: [10:46:59] <Pywindyk> Welcome to the new year ocmnt :)
261: [10:47:08] <ocmnt> yes, thank you
262: [10:47:20] <ocmnt> I needed that, was kinda lost for allmost a week after the nye-party
263: [10:47:27] <ocmnt> but I found the year back
264: [10:47:34] <Pywindyk> Yup, good work :)
265: [10:47:49] <Pywindyk> I woke up upside down in my bed on new years day
266: [10:48:13] <Pywindyk> feet on the pillows, head off the end, half under the blanket, killer headache.
267: [10:48:15] <Pywindyk> haha
268: [10:48:26] <Pywindyk> mud all over my clothes
269: [10:48:33] <Pywindyk> I must have had a good night.
270: [10:48:48] <Pywindyk> kebap wrapper on the floor.
271: [10:48:57] <Pywindyk> haha
272: [10:49:37] <Pywindyk> I had a friend tell me "it's like you took an exam on how to be a stereotypical drunk person 101"
273: [10:50:08] <Pywindyk> But I thought that was a bit rough. I was partying on at least a second year level, hehe
274: [10:50:49] * mahfuz quit (Ping timeout: 246 seconds)
275: [10:50:52] <ocmnt> hahaha
276: [10:51:34] <ocmnt> I remember at one point celebrating the new year with the toiletseat, hugging it tightly while getting it drunk from my preprocessed alcohol
277: [10:51:41] <Pywindyk> It even included dancing in the street. Although it was to something else, the guy wasn't singing David Bowie.
278: [10:52:00] <ocmnt> for a small hour or so, before getting back to the party and refill my stomic with more alcoholic beverages
279: [10:52:18] <ocmnt> hahaha, did you atleast wear a fancy trenchcoat?
280: [10:52:19] <Pywindyk> ha, intense. I've never partied like that thankfully.
281: [10:52:25] <Pywindyk> ocmnt: nup :<
282: [10:53:13] <Pywindyk> https://www.youtube.com/watch?v=9G4jnaznUoQ
283: [10:53:46] <Pywindyk> Wow, it was probably that bad, too. haha
284: [10:55:15] <ocmnt> I know the video Pywindyk
285: [10:55:19] <ocmnt> though thanks for looking it up
286: [10:55:19] <ocmnt> :D
287: [10:55:42] <ocmnt> the party I threw with friends included music like that, and a lot of discofunk
288: [10:55:44] <ocmnt> acidhouse
289: [10:55:49] <ocmnt> and eventualy tekno
290: [10:55:54] <Pywindyk> I've not seen the video, haha
291: [10:55:59] <ocmnt> hahaha, you have not?
292: [10:56:16] <ocmnt> atleast now you understand my trenchcoat reference :P
293: [10:56:22] <Pywindyk> well, probably. More accurately, I could not remember the video.
294: [10:56:26] <ocmnt> haha
295: [10:56:31] <Pywindyk> yeah, a white trenchcoat.
296: [10:56:38] <ocmnt> and a lot of gay attitude
297: [10:56:55] <Pywindyk> eh, 80's.
298: [10:57:29] <Pywindyk> Queen are coming to play here soon. I'm trying to decide if I should go.
299: [10:57:52] <Pywindyk> Tickets not all that cheap, expectedly.
300: [10:57:57] <ocmnt> queen?
301: [10:58:03] <ocmnt> I thought mercury was dead
302: [10:58:04] <Pywindyk> Yeh.
303: [10:58:04] <ocmnt> :P
304: [10:58:12] <Pywindyk> Yeh, he is. Adam Lambert now.
305: [10:58:21] <Pywindyk> Queen with Adam Lambert is the billing.
306: [10:58:59] <Pywindyk> Which I think is cool. Gives the distinction like "we didn't try to replace Freddy", etc.
307: [10:59:04] <Pywindyk> although some people still get all upset about it.
308: [10:59:15] <Pywindyk> And I'm all "He died in 1991 man, get over it."
309: [10:59:20] <ocmnt> I think robbie williams should have gotten the job
310: [10:59:28] <ocmnt> or even mika would suit the bill
311: [10:59:32] <Pywindyk> mika?
312: [10:59:40] <ocmnt> Pywindyk, about bad videoclips, have you ever seen this one?
313: [10:59:40] <ocmnt> https://www.youtube.com/watch?v=Ug8WeZyTxXg
314: [11:00:20] <Pywindyk> I think the missus might have shown me that one at some point, but I don't particularly remember it. Nor am I going to commit it to memory, while at work,.
315: [11:00:22] <ocmnt> this is mika: https://www.youtube.com/watch?v=EaEPCsQ4608
316: [11:00:36] <ocmnt> the missus??
317: [11:00:42] <Pywindyk> GF
318: [11:01:03] <Pywindyk> Ah yeah, the Grace Kelly chap. I thought that's who you probably meant.
319: [11:01:11] <ocmnt> I did
320: [11:01:14] <Pywindyk> Has he sung anything other than that?
321: [11:01:16] <Pywindyk> lol
322: [11:01:21] <ocmnt> probably
323: [11:01:21] <ocmnt> haha
324: [11:05:32] <Pywindyk> Apparently it's a really good show though.
325: [11:05:54] <ocmnt> I have seen queen once
326: [11:06:01] <Pywindyk> Oh yeh?
327: [11:06:03] <ocmnt> they gave a surprise apperance on our infamous queensday in amsterdam
328: [11:06:09] <ocmnt> about 10 years ago or so
329: [11:06:11] <Pywindyk> With who?
330: [11:06:15] <ocmnt> roger waters?
331: [11:06:19] <ocmnt> or what is the lads name
332: [11:06:22] <Pywindyk> Singing I mean.
333: [11:06:32] <ocmnt> ah paul rodgers
334: [11:06:32] <Pywindyk> Roger Waters is a Pink Floyd chap.
335: [11:06:49] <ocmnt> and not with the who
336: [11:06:55] <ocmnt> though I have seen the who too
337: [11:08:00] <Pywindyk> Oh yeh? The Who are going on tour soon to I think.
338: [11:08:05] <Pywindyk> too*
339: [11:13:45] * zippy has joined #silverstripe
340: [11:18:56] * veb quit (Quit: veb-irc: &)
341: [11:19:08] * veb has joined #silverstripe
342: [11:19:11] <Pywindyk> wholey fuck, nostalgia http://inpics.net/tutorials/mysql/started14.html
343: [11:19:16] <Pywindyk> KDE 3
344: [11:20:45] <ocmnt> haha
345: [11:23:24] * veb quit (Client Quit)
346: [11:24:17] * wmk has joined #silverstripe
347: [11:27:41] <Pywindyk> Morgen wmk :)
348: [11:28:30] <ocmnt> guten morgen
349: [11:31:27] <wmk> hi all
350: [11:31:43] <wmk> hmm customer complained the site doesn't work in IE8
351: [11:31:50] <Sj0hn> Morning
352: [11:31:53] <wmk> foundation5....
353: [11:31:59] <ocmnt> wmk, tell em to upgrade their browser
354: [11:32:00] <ocmnt> :D
355: [11:32:09] <ocmnt> or yell at them
356: [11:32:13] <ocmnt> ¨THIS IS SPARTA¨
357: [11:32:17] <wmk> ocmnt, well, it's some clients of my customer that cannot register
358: [11:32:19] <ocmnt> since sparta will be the new IE
359: [11:32:35] <wmk> maybe elder ppl with old computers
360: [11:32:40] * Sj0hn quit ()
361: [11:32:44] <wmk> xp or vista :(
362: [11:33:11] <ocmnt> my terms and condition states that unsupported OS´s and browsers will not be supported by default
363: [11:33:14] <ocmnt> I am so happy with that
364: [11:33:26] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
365: [11:33:40] <wmk> i think if it works at least it should be ok, even if it looks ugly. but the navigation is broken atm
366: [11:33:51] <wmk> css issue
367: [11:33:57] <ocmnt> pseudoclasses?
368: [11:34:00] <wmk> found a fix for that....
369: [11:34:08] <ocmnt> or try using html5shiv
370: [11:34:13] <ocmnt> that solves most of the problems
371: [11:34:18] <wmk> ah, <nav>
372: [11:34:21] <ocmnt> if html5 related
373: [11:34:25] <wmk> hmmm...
374: [11:34:33] <ocmnt> https://github.com/aFarkas/html5shiv
375: [11:34:37] <ocmnt> apply that, see if it is fixxed
376: [11:35:12] <wmk> ocmnt, 10x
377: [11:35:29] <ocmnt> 10x what?
378: [11:36:22] <wmk> 10x = ten-x = thanks
379: [11:36:35] <ocmnt> ah :) 10x for that
380: [11:36:43] <ocmnt> yay, I learned something new today \o/
381: [11:36:43] <wmk> you know, therer are 10 kinds of ppl
382: [11:36:59] <wmk> those who understand binary notation and those who don't
383: [11:37:06] <ocmnt> :D
384: [11:37:32] <ocmnt> but I use 64bit
385: [11:37:38] <Pywindyk> [11:32] <ocmnt> ¨THIS IS SPARTA¨
386: [11:37:39] <Pywindyk> hahahaha
387: [11:37:56] <wmk> Pywindyk, i didn't understand that sparta thingie
388: [11:38:12] <ocmnt> wmk, IE will be dropped, sparta is its successor
389: [11:38:23] <Pywindyk> I think my favourite part is how they're all "new browser!" but then they're all "but still Trident and Chakra"
390: [11:38:25] <wmk> the new browser by ms?
391: [11:38:31] <Pywindyk> wmk: yeh
392: [11:38:37] <wmk> aaahhh
393: [11:38:42] <ocmnt> ¨new¨ browser, haha
394: [11:38:46] <Pywindyk> it's just a marketing ploy. It's as much a new browser as Opera is not Chrome.
395: [11:38:53] <ocmnt> just like they used an all ¨new¨ codebase for win 8
396: [11:39:02] <wmk> other name for it, yup
397: [11:39:07] <Pywindyk> It's a new _application_ sure, but same shit behind it all.
398: [11:39:27] <Pywindyk> So it's a new interface. Still, we can cross our fingers and hope for some better dev tools in it I guess.
399: [11:39:30] <ocmnt> though I must say, IE11 has become a lot better
400: [11:39:33] * Pywindyk shrugs
401: [11:39:36] <ocmnt> still not using it, but it does it works properly
402: [11:39:43] <wmk> had to set up a new laptop with win 8.1... built in skype doesn't accept old skype accounds, only new ms account
403: [11:39:51] <wmk> had to download skype for desktop
404: [11:39:56] <ocmnt> wmk, you should get the desktop version
405: [11:40:05] <ocmnt> all the apps are rubbish on win 8
406: [11:40:09] <wmk> ocmnt, yup, but it just feels so wrong
407: [11:40:12] <ocmnt> networking sucks too, with non win 8 machines
408: [11:40:46] <wmk> well, working on win8.1 is quite cool, new windows explorer rocks with new menu
409: [11:40:51] <Pywindyk> [11:36] <wmk> you know, therer are 10 kinds of ppl [11:36] <wmk> those who understand binary notation and those who don't
410: [11:40:57] <wmk> much easier than before (at least for beginners)
411: [11:40:57] <Pywindyk> 1010 points.
412: [11:41:31] <wmk> Pywindyk, so 1010x would be binary thanks?
413: [11:42:07] <Pywindyk> wmk: nope! That'd be hex! well... almost :P
414: [11:42:16] <Pywindyk> x10x points
415: [11:42:24] <Pywindyk> wait, derp
416: [11:42:29] <Pywindyk> xa points
417: [11:42:39] <ocmnt> NERDALERT!
418: [11:42:48] <ocmnt> oh wait.. we all are here :´)
419: [11:42:51] <Pywindyk> :P
420: [11:43:01] <ocmnt> haha, makes me think back at the NYE party
421: [11:43:08] <ocmnt> was a big discussion I overwatched about the new starwars
422: [11:43:10] <Pywindyk> I can hear the nerd siren wailing
423: [11:43:16] <ocmnt> a drunk chick came to me, lets talk they are talking about the new starwars
424: [11:43:22] <ocmnt> and I was, wait wut? I can disccuss about that too!
425: [11:43:24] <wmk> hex(e) is witch in german
426: [11:43:46] <Pywindyk> mmm, a hex is a spell in English.
427: [11:43:53] <Pywindyk> well, spell/curse
428: [11:44:00] <ocmnt> hex is a transformatinospell
429: [11:44:02] <ocmnt> is it not?
430: [11:44:14] <Pywindyk> http://en.wikipedia.org/wiki/Hex
431: [11:44:55] <ocmnt> http://www.wowhead.com/spell=51514/hex
432: [11:45:07] <Pywindyk> heh, "Pennsylvania Dutch" - sounds like a politically correct term for Amish.
433: [11:45:19] <ocmnt> and Dutch is not the right word
434: [11:45:21] <ocmnt> it are germans
435: [11:45:24] <ocmnt> not dutchies
436: [11:45:40] <wmk> Pywindyk, How many people can read hex if only you and dead people can read hex?
437: [11:45:43] * guzzlefry has left #silverstripe
438: [11:45:57] <ocmnt> reading hex is not that difficult
439: [11:46:19] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
440: [11:46:21] <ocmnt> but why waste time on it if you have converters?
441: [11:46:44] <Pywindyk> wmk: 10 I guess. well, 10 types of people :p
442: [11:46:54] <Pywindyk> alive and ghosty kinds!
443: [11:46:55] <wmk> Pywindyk, hmm, no
444: [11:47:02] <Pywindyk> xD
445: [11:47:08] <ocmnt> Pywindyk, 02 people, is it not?
446: [11:47:13] <Pywindyk> hehe
447: [11:49:17] <Pywindyk> lets not go too far with this joke. I never was any good at octal :P
448: [11:50:02] <Pywindyk> finally my dns updated
449: [11:50:10] <Pywindyk> That wasn't as quick as expected :<
450: [11:50:17] <Pywindyk> (for a local domain)
451: [11:51:15] * markcl has joined #silverstripe
452: [11:51:34] <Pywindyk> oh sweet, firebug now tells you the remote IP of the request too, but inbuilt dev tools do not.
453: [11:51:44] <Pywindyk> still, inbuilt tools are much better than they used to be!
454: [11:52:57] * markcl quit (Client Quit)
455: [11:53:20] * markcl has joined #silverstripe
456: [11:53:42] <Pywindyk> Hmm chrome does too, but only if you inspect the request
457: [11:54:57] * lerni quit (Remote host closed the connection)
458: [11:55:14] <ocmnt> oh does it?
459: [11:55:45] <ocmnt> I dont see it in chrome :o
460: [11:56:23] <ocmnt> ah, rightclick -> remote address
461: [11:56:25] <Pywindyk> Yeah, gotta click on the request in the network tab, then at the very top the first line is IP
462: [11:57:08] <ocmnt> I added it to the network overview just now
463: [12:00:58] * openbees has joined #silverstripe
464: [12:01:23] <wmk> wtf happend in paris?
465: [12:02:17] <wmk> Pywindyk, octal sounds like a toothbrush creme
466: [12:02:48] <ocmnt> wmk, something we call terrorism these days
467: [12:03:07] <ocmnt> https://www.youtube.com/watch?v=BFwedk4dBCc for liveupdates
468: [12:03:18] <wmk> ocmnt, shit. that's where we are in EU. we have to import even terrorism
469: [12:03:34] <Pywindyk> wmk: if you place PR in front of it, it sounds like something to do with anuses.
470: [12:03:57] <Pywindyk> (eg proctologist)
471: [12:04:05] * Shrike_Finland has joined #silverstripe
472: [12:04:07] <wmk> Pywindyk !!!
473: [12:04:12] <Pywindyk> keke
474: [12:04:16] <ocmnt> haha
475: [12:04:22] <Pywindyk> wait what, paris huh?
476: [12:04:37] <ocmnt> Pywindyk, 11 deaths, 10 wounded
477: [12:04:45] <ocmnt> at an the onion kind of newspaper in paris
478: [12:04:50] <wmk> you know what a digital examination is, Pywindyk ?
479: [12:04:53] <ocmnt> 3 shooters
480: [12:04:59] <Pywindyk> oh wow.
481: [12:05:04] <ocmnt> check that yt link for more info about it
482: [12:05:28] <Pywindyk> Yeah, it's a live feed where they don't cover what happened though, just what's going on now
483: [12:05:46] <ocmnt> http://rt.com/news/220523-deadly-attack-french-newspaper/
484: [12:05:48] <openbees> wmk lucky you ! We have Pakistan as our neighbor !
485: [12:05:50] <Pywindyk> so a single location? just a newspaper?
486: [12:05:53] <ocmnt> Pywindyk ^
487: [12:06:02] <Pywindyk> thanks ocmnt
488: [12:06:21] <ocmnt> rt be choice here, I think they supply the most ´objective´ news on this topic
489: [12:06:22] <wmk> openbees, ?? sounds like good food in neighbourhood
490: [12:06:46] <ocmnt> hahaha
491: [12:06:58] <Pywindyk> lol "president is saying that it's a terrorist attack; what evidence does he have of this?" Perhaps the fact that it's FUCKING TERRIFYING
492: [12:07:01] <Pywindyk> DUR
493: [12:07:22] * Otterpocket has joined #silverstripe
494: [12:07:30] <ocmnt> it seems clear to me it is terrorism, any act of voilence to scare people is terrorism
495: [12:07:40] <Pywindyk> exactly
496: [12:08:06] <Pywindyk> then immediately afterwards some guy comes on going "AK's are not heavy weapons, but we can finess that point later"
497: [12:08:10] <ocmnt> we just had this last night in the netherlands: https://scontent-a-ams.xx.fbcdn.net/hphotos-xap1/v/t1.0-9/10891995_10152582566972197_3483289228109313955_n.jpg?oh=7a00da8a2ffb4b540e12941fb8628277&oe=55305B2E
498: [12:08:19] <ocmnt> there _was_ an ATM earlier that night
499: [12:08:22] <Pywindyk> uhh - be pedantic or don't. You can't choose a middleground :<
500: [12:08:51] <Pywindyk> what is that ocmnt? A ram raid?
501: [12:08:56] <Pywindyk> ah, haha
502: [12:08:57] <openbees> wmk yes they send to us .. most of the time wrapped with terrorism !
503: [12:09:04] <ocmnt> Pywindyk, not a ram raid
504: [12:09:19] <ocmnt> a bomb was attached to the facade
505: [12:09:19] <Pywindyk> ocmnt: close enough if they took a whole atm.
506: [12:09:25] <Pywindyk> oh? hmm.
507: [12:09:30] <ocmnt> I dunno if they were able to retrieve the ATM
508: [12:09:43] <ocmnt> a friend of mine lives right across that building and shoot that picture
509: [12:09:58] <Pywindyk> ocmnt: I find RT good for most kinds of news.
510: [12:09:59] <ocmnt> just a lot of mess, guess the atm and it contents blew up on the explosion
511: [12:10:07] <ocmnt> Pywindyk, agree on that
512: [12:10:12] <ocmnt> not on russian topics though
513: [12:10:12] <wmk> openbees, so bad over there? quite peaceful on austrian landside
514: [12:10:30] <ocmnt> every news network has its own objectivity and subjectivity on topics
515: [12:10:34] <Pywindyk> ocmnt: well... when it comes to Russian topics I believe the truth lies far more in the middle
516: [12:10:42] <ocmnt> hear hear
517: [12:10:44] <Pywindyk> between the likes of RT reports and western reports.
518: [12:11:03] <openbees> M in India .. rest you can guess :D
519: [12:11:06] <Pywindyk> but I like to hear what RT have to say, because often it's stuff COMPLETELY ignored by western media
520: [12:11:17] <ocmnt> Pywindyk, I know what you are talking about
521: [12:11:24] <ocmnt> during the attack on the dutch plane in the ukraine
522: [12:11:26] <wmk> openbees, oh, i thought you're in netherlands, sorry
523: [12:11:45] <ocmnt> there was this topic about putin on the national news, on which they showed and told on the report putin was asked a severe question, and shown (and told) he walked off without an answer
524: [12:11:55] <Pywindyk> ocmnt: wasn't it Malaysian Air? It came from schiphol though and was mostly Dutch folk on board :<
525: [12:11:59] <ocmnt> in fact it was an RT reporter asking the question, and putin stood still and give an answer for over 5 minutes!!
526: [12:12:17] <ocmnt> it was malaysian air, in my opinion it was the same plane that ´disappeared´ earlier last year
527: [12:12:22] * gelignite has joined #silverstripe
528: [12:12:26] <Pywindyk> ocmnt: huh?
529: [12:12:35] <ocmnt> long story, rather not discuss :P
530: [12:12:46] <Pywindyk> yeah but I mean huh about the putin thing
531: [12:12:47] <openbees> What happened to notice messages
532: [12:12:52] <Pywindyk> openbees: eh?
533: [12:13:00] <openbees> in cms after publishing pages.
534: [12:13:53] <Pywindyk> oh, I dunno. I haven't used the cms in over a year
535: [12:14:05] <Pywindyk> I would have thought they'd still be there though.
536: [12:14:13] <Pywindyk> what version are you on?
537: [12:14:31] <openbees> I am using 3.1.8 and those messages appears when saving DataObjects but nothing when publishing Page types.
538: [12:16:35] <Otterpocket> Ok, I have a problem, and for now only a vague description. Sometimes when submitting in the CMS it just goes into a state where left nav is there but the main part is blank with no forms etc. This has only happened since pushing to another server. Any idea's appreciated
539: [12:17:10] <Otterpocket> I don't have access to the logs etc
540: [12:17:11] <wmk> Otterpocket, any error in the logs?
541: [12:17:18] <Pywindyk> openbees: ah, last thing I installed was 3.1.6
542: [12:17:22] <wmk> Otterpocket, that's bad
543: [12:17:27] <Otterpocket> wmk: yes
544: [12:17:29] <wmk> you can somehow email errors to you
545: [12:17:42] <wmk> or switch to dev mode to see what's happening
546: [12:17:46] <Pywindyk> Otterpocket: JS error?
547: [12:17:51] <Pywindyk> CMS works mostly on JS
548: [12:18:05] <wmk> Pywindyk, Otterpocket mostly php error crashing ajax answer
549: [12:18:07] <Otterpocket> wmk: Its on some shared server and I am waiting for credentials from the client
550: [12:18:15] <Otterpocket> Pywindyk: Nothing in the JS console
551: [12:18:21] <wmk> try ?isDev=1
552: [12:18:52] <wmk> and of course networking console. watch the request and analyze the answer
553: [12:19:29] <Otterpocket> Yea I did that too
554: [12:19:40] <Otterpocket> Ill got back and re-check
555: [12:20:24] <kinglozzer> Otterpocket: MySQL failure
556: [12:20:33] <kinglozzer> I'm 95% sure that'll be what it us
557: [12:20:35] <kinglozzer> is*
558: [12:20:40] <kinglozzer> (because it happens to me)
559: [12:20:55] <Otterpocket> kinglozzer: I have been thinking this too
560: [12:21:33] <Otterpocket> what are the common problems that cause this?
561: [12:21:35] <Pywindyk> yeah, inspect responses
562: [12:21:42] <Pywindyk> you'll find something there I think
563: [12:21:55] <Otterpocket> k ill let you know what I find, if anything
564: [12:23:26] <Otterpocket> Also it is worth noting that it seems intermittent
565: [12:23:27] * lerni_ has joined #silverstripe
566: [12:24:36] <kinglozzer> "MySQL server has gone away"
567: [12:24:36] <Pywindyk> Otterpocket: yeah but also dev mode of course.
568: [12:24:40] <kinglozzer> My favourite <3
569: [12:25:49] <wmk> hi lerni_
570: [12:26:16] <wmk> Otterpocket, but server without credentials is hardcore to work with
571: [12:27:31] <Otterpocket> Not sure if connected but it seems to have strange sessions, like loggin me out at random times
572: [12:27:31] <lerni_> heho wmk - ferienstop happy 2015
573: [12:27:41] <wmk> lerni_, yup. happy new year
574: [12:27:48] <wmk> first real workday for me today
575: [12:30:14] <lerni_> it was quiet in the last weeks here and I also tend to send silence to this channel :)
576: [12:31:32] * markcl quit (Quit: Leaving.)
577: [12:34:27] * openbees quit (Ping timeout: 244 seconds)
578: [12:40:37] <dendeffe> I have an installation of 3.1. I often get this error if I visit the site after a day or so: [Warning] session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,'
579: [12:41:04] <dendeffe> If I empty PHPSESSID, it works again
580: [12:42:02] <Pywindyk> sounds like an issue with PHP configuration or something
581: [12:42:08] <Pywindyk> very strange dendeffe!
582: [12:43:07] <dendeffe> It’s on my local MAMP Pro. Don’t see anything similar on Wordpress and other sites on that server.
583: [12:43:30] <Pywindyk> what is the illegal character in the hash?
584: [12:43:40] <Pywindyk> before you clear it, what is it?
585: [12:44:13] <Pywindyk> also dendeffe, is there a trace to go with that warning?
586: [12:44:47] * Shrike_Finland quit (Quit: Leaving.)
587: [12:45:55] <dendeffe> Pywindyk - I actually think it was empty just now - deleted it to get the site working again
588: [12:46:05] <dendeffe> Therte was a trace as it is in dev mode
589: [12:46:51] <dendeffe> Pointed to line 380 in framework/control/Session.php if I remember correct
590: [12:47:02] <dendeffe> A PHP session_start();
591: [12:47:28] <dendeffe> Not a big issue, as it is on my local development machine at the moment
592: [12:47:48] <dendeffe> Just thought there might be a known issue somewhere
593: [12:47:49] <wmk> dendeffe, maybe some strange utf-8 char disturbing, or the BOM
594: [12:51:44] * Werner_2_ has joined #silverstripe
595: [12:51:44] * wmk quit (Read error: Connection reset by peer)
596: [12:51:49] * Werner_2_ is now known as wmk
597: [12:51:53] <elgabbu> hi all i am having my first go at creating a widget
598: [12:51:55] * openbees has joined #silverstripe
599: [12:52:22] <elgabbu> i want to add this widget to the homepage and list the latest number of articles
600: [12:52:34] <dendeffe> Ok, thanks. Will keep an eye on it. As I said, not an issue at the moment.
601: [12:53:04] <elgabbu> So far I have created the widget class
602: [12:53:11] <elgabbu> and its template
603: [12:53:31] <elgabbu> in HomePage.php i have set the relationship
604: [12:53:38] <elgabbu> public static $has_one = array( 'widgets' => 'WidgetArea' );
605: [12:53:58] <elgabbu> and the get CMS fields
606: [12:54:00] <elgabbu> public function getCMSFields() { $fields = parent::getCMSFields(); $fields->addFieldToTab("Root.Widgets", new WidgetAreaEditor("widgets")); return $fields; }
607: [12:54:01] * Werner_2_ has joined #silverstripe
608: [12:54:33] <elgabbu> run the dev build and I can see that the homepage in the CMS has a tab widgets
609: [12:54:40] * wmk quit (Read error: No route to host)
610: [12:55:00] <elgabbu> but its empty
611: [12:55:30] * Werner_2_ is now known as wmk
612: [12:55:35] <wmk> elgabbu, did you flush?
613: [12:57:23] * openbees quit (Ping timeout: 240 seconds)
614: [12:59:39] <Otterpocket> ahhh, Uncaught Exception: Object->__call(): the method 'redirectback' does not exist on 'GridFieldDetailForm_ItemRequest'
615: [13:00:30] * Sander has joined #silverstripe
616: [13:00:52] <Otterpocket> Any idea what is causing this?
617: [13:06:13] <Sander> Hello guys. I have a dataextension called MapExtension, which is used by a pagetype called ProjectPage. Now I want to get the name of the class using the extension (ProjectPage) on another dataextension. How can this be done? I can not use MapExtension::getOwner() anywhere else
618: [13:09:45] * Shrike_Finland has joined #silverstripe
619: [13:11:26] <wmk> Otterpocket, see the trace...
620: [13:12:05] <wmk> Sander, inside you Extension you can use $this->owner to get the owning page / dataobject
621: [13:12:19] <wmk> so $this->owner->ClassName should be fine
622: [13:12:50] <Otterpocket> wmk: now I cant log in, just stuck in a loop of asking me to enter creds and then saying I'm logged in when I try to go to /admin
623: [13:12:54] <Sander> Indeed, but I need to get the owner of another Extension, not the current one. $this->owner returns the owner of the current extension
624: [13:13:18] <Sander> Basicly, I need to get the owner of ExtensionA, on ExtensionB
625: [13:13:25] <Pywindyk> dendeffe: I can't see anything in the Session start part of the class that could cause that - thus my thinking it might be something to do with php configuration http://api.silverstripe.org/3.1/source-class-Session.html#357
626: [13:14:02] <wmk> Sander, why? Sounds like strange programming...
627: [13:14:27] <wmk> on the other extension you can get pages and check if it has the searched extension.
628: [13:14:28] <Pywindyk> Sander: to get the owner of another extension, you'd need that extionsion's INSTANCE, you can't just go 'get me the parent class' without an instance.
629: [13:14:45] <Pywindyk> it sounds like poor design to me.
630: [13:15:00] <Pywindyk> perhaps if you explained the usecase we could think of a better way to achieve what you're after?
631: [13:15:22] <Sander> Yes it might not be the correct sulotion, let me just type out the use case, one sec
632: [13:15:41] <wmk> you can check if an instance has an extension with hasExtension()
633: [13:16:13] <Pywindyk> mm, $this->owner->hasExtension('OtherExtension')
634: [13:17:00] <Pywindyk> but that's all, you can't _get_ that extension's instance, so far as I'm aware.... well not easily. You can probably iterate through the list of all extensions matching getClass or something, but again that's nasty coupling.
635: [13:17:23] <Sander> I have two pagetypes: "ProjectHolder" and "ProjectPage" . ProjectPages are child pages to a projectholder. Projectpages use an extension to show a location on a google map. The projectholder has en extension, which gathers all the locations from the projectpages google maps, and places them all inside ONE google map. If this makes any sense
636: [13:17:57] <Pywindyk> Sander: and so why do you need the extension instance?
637: [13:18:31] <Pywindyk> CombinedMap doesn't need to know about any of the IndividualMap extensions at all.
638: [13:19:02] <Sander> Well right now this combined map is created by using ProjectPage::get(), to get the coords for the combinedmap
639: [13:20:33] <Sander> Instead of manually writing "ProjectPage::get()" I just wondered if i can automaticly get the pagetype
640: [13:21:48] <wmk> Sander, did you see mappable module?
641: [13:21:58] <wmk> you can output a map on a datalist
642: [13:22:17] <wmk> so: just grab your pages from db and show map
643: [13:23:08] * UndefinedOffset has joined #silverstripe
644: [13:24:22] <Sander> Hmm I thought I had look at Mappable. Can Mappable have individual maps on child pages, and then display all of these child page locations in a map on a holder page?
645: [13:26:26] <wmk> well, mappable is for ONE point on a map
646: [13:26:28] <wmk> e.g. location
647: [13:26:34] <wmk> not for a map with many points
648: [13:26:57] <Sander> Exactly. I would like to have a map on the holder page, which has many points ( each point being the location of a child page)
649: [13:27:16] <wmk> Sander, see http://www.hallstatt.net/accommodation/
650: [13:27:33] <wmk> done with mappable on 2.4, but it's the same on 3.1
651: [13:29:01] <Pywindyk> Do you use a ferry to go to work wmk?
652: [13:29:03] <Pywindyk> :D
653: [13:29:54] <Sander> Alright, looks like thats what im after. Ill take a look. Thanks alot guys!
654: [13:30:01] <Pywindyk> :)
655: [13:30:20] <elgabbu> wmk, yh need to flush
656: [13:30:31] <wmk> Pywindyk, well, i need ferry for train statoin
657: [13:30:38] <wmk> so i try to take the bus or car when possible
658: [13:30:52] <wmk> Sander, you're welcome
659: [13:32:19] <wmk> Sander, current mappable 3.1 is limited to DataList, i made a local fix so it can also use ArrayLists for generating maps
660: [13:33:19] <Pywindyk> sounds like it's PR time!
661: [13:33:29] <wmk> octal PR time?
662: [13:34:05] <wmk> Sander, the initial blog post for mapable module is also very readable for a deeper understanding: http://www.leftandmain.com/silverstripe-tutorials/2011/06/14/new-mappable-module-and-some-unsolicited-programming-pedagogy/
663: [13:34:26] <wmk> though code is outdated, you get the idea and concept behind it
664: [13:34:43] <Sander> Thanks for that link! Seemed a little difficult to get going with mappable when there were no instructions on unclecheese' github
665: [13:35:21] <wmk> oh, yes
666: [13:37:03] <wmk> Sander, https://github.com/gordonbanderson/Mappable is a more actual fork
667: [13:37:12] * cloph is now known as cloph_away
668: [13:37:43] <Sander> Yeah was looking at that one as well
669: [13:41:27] <wmk> using this for a current project
670: [13:41:32] <wmk> Pywindyk, yup, PR time
671: [13:41:43] <wmk> just PR'd to the mappable fork
672: [13:42:03] <elgabbu> if I get a server error ... are there any log files I can check?
673: [13:42:04] <Pywindyk> :)
674: [13:42:12] <wmk> elgabbu, of course
675: [13:42:27] <wmk> either webserver error log or if you set up SS logging over there
676: [13:42:40] <Pywindyk> elgabbu: of course, your server's log.
677: [13:42:47] <wmk> but you have to set up SS logging manually
678: [13:42:52] <Pywindyk> depends on the type of error. but a server error means check the server log.
679: [13:43:02] <Pywindyk> a silverstripe error means check the silverstripe log.
680: [13:43:09] <wmk> ah, that kind of "php crashes before ss can log anything" error
681: [13:43:17] <wmk> -> webserver error log
682: [13:43:23] <Pywindyk> a php error means check the vhost's error log, or the server's error log.
683: [13:43:57] <wmk> Pywindyk, i assume vhost ...
684: [13:44:05] <Pywindyk> yeh, depends on setup.
685: [13:44:13] <wmk> or set up vhost error log to see it
686: [13:58:47] <elgabbu> basically I am getting the error 500 html page
687: [13:59:00] <elgabbu> i have tried checking in /var/log/messages
688: [13:59:05] <elgabbu> but nothing in there
689: [14:00:03] <elgabbu> error_log is empty too
690: [14:00:17] <elgabbu> i don't have error document setup in my vhost
691: [14:02:17] <wmk> elgabbu, which os, which webserver?
692: [14:02:51] <wmk> on debian i have to look at /var/log/apache2/www.foo.bar/error.log
693: [14:03:14] <wmk> see your vhost config on e.g. /etc/apache2/sites-enabled/www.foo.bar
694: [14:10:58] <wmk> guys, what tools do you use or give to your customers to resize pics before uploading to a gallery?
695: [14:11:47] <ocmnt> common sense
696: [14:12:02] <wmk> ocmnt, we talk of end user
697: [14:12:14] <ocmnt> ahh, those who lack that
698: [14:12:15] <ocmnt> haha
699: [14:12:49] <wmk> well, that little step between "take photos of dslr" and "upload to website"
700: [14:12:49] <ocmnt> resize in filesize I assume?
701: [14:13:07] <wmk> resize in image size, e.g. 1600 width or height
702: [14:13:27] <wmk> so it doesn't crash memory when resizing with GD
703: [14:14:00] <ocmnt> doesnt imagesmagick that for you?
704: [14:14:25] <wmk> of course... for me it does
705: [14:14:54] <wmk> but for the client...?
706: [14:15:16] <ocmnt> for SS just use the uploadfield, it can crop the image for you
707: [14:15:20] <ocmnt> and for the client
708: [14:15:52] <ocmnt> https://github.com/jonom/silverstripe-focuspoint
709: [14:15:56] <ocmnt> I use it with that
710: [14:16:08] <kinglozzer> wmk: php.ini > memory_limit 0
711: [14:16:08] <kinglozzer> ;)
712: [14:16:23] <ocmnt> hahaha
713: [14:16:36] <wmk> ocmnt, so you upload 24 megapixel images?
714: [14:16:59] <ocmnt> people who want to try that shouldnt be allowed on the interwebz
715: [14:17:05] <ocmnt> nor get children or vote, imho
716: [14:17:14] <ocmnt> but I guess that is not the answer you are looking for
717: [14:17:40] * Sander quit (Ping timeout: 246 seconds)
718: [14:17:51] <wmk> ocmnt, well, i wasn't looking for a philosophical answer but for a little programm i can give to a customer
719: [14:17:53] <ocmnt> I have been using this in the past for bulkresizing images: https://imageresizer.codeplex.com/
720: [14:18:09] <wmk> my "use imagemagic with right mouse click"-tool is a bit hard to install
721: [14:18:23] <wmk> ocmnt, found that just the moment, looks neat
722: [14:18:35] <ocmnt> or, if you have the server for it, you could build a little app ¨in the cloud¨ for a monthly fee for your client to use
723: [14:18:46] <wmk> haha
724: [14:18:47] <ocmnt> I think I would do that, takes up about 1 hour to build, and you get a monthly fee in return for it
725: [14:18:56] <ocmnt> if you want it, I can make you something
726: [14:19:00] <ocmnt> just 9
727: [14:19:04] <ocmnt> 9.99 a month
728: [14:19:08] <ocmnt> but for you, 5 euros :P
729: [14:19:12] <ocmnt> or 2 beers
730: [14:19:16] <wmk> ocmnt, good idea ;)
731: [14:19:33] <Otterpocket> I think this is the same error as I have: http://www.silverstripe.org/community/forums/data-model-questions/show/95025
732: [14:19:33] <ocmnt> hang on
733: [14:19:36] <ocmnt> let me build you something :P
734: [14:19:38] <Otterpocket> any ideas?
735: [14:20:01] <ocmnt> Otterpocket, do you have $BaseHref in your Page.ss template?
736: [14:20:18] <wmk> ocmnt, the codeplex tool doesn't batch-rename?
737: [14:20:19] <ocmnt> Or isnt it about the login problem?
738: [14:20:20] <elgabbu> wmk, Centos 6 , apache
739: [14:20:27] <ocmnt> hm, perhaps it was another tool
740: [14:21:02] <ocmnt> ah this one it was: http://batch-image-resizer.en.softonic.com/
741: [14:21:11] <ocmnt> though now seeing it again I remember it might contain some malware / bloatware
742: [14:21:13] <ocmnt> so be aware
743: [14:21:26] <wmk> omg
744: [14:21:29] <Otterpocket> I do not have $BaseHref in my Page.ss template
745: [14:21:55] <ocmnt> Otterpocket, what about
746: [14:21:55] <ocmnt> <% base_tag %> ?
747: [14:22:00] <ocmnt> I was looking for that one, sorry about that
748: [14:22:04] <wmk> i guess i have to look into how to build a windows installer and code it myself. have a little .net tool running, but installation is a bit complicated by hand
749: [14:22:09] * Shrike_Finland quit (Quit: Leaving.)
750: [14:22:21] <ocmnt> wmk, why not just a cloudsolution?
751: [14:22:31] <ocmnt> you don´t need massstorage for it
752: [14:22:33] <Otterpocket> CMS not saving/posting
753: [14:22:51] <ocmnt> what is in your errorlog?
754: [14:22:56] <wmk> well, it's just traffic...
755: [14:22:57] <Otterpocket> ocmnt: yes I have base_tag
756: [14:23:07] <wmk> when you don't have good upload speed it takes forever
757: [14:23:28] <Otterpocket> line 10 is just <% base_tag %>
758: [14:23:28] <ocmnt> traffic is cheap, if you use an aws server you could pass the trafficbill to your client too
759: [14:23:34] <wmk> in a decent browser you could resize it on client side
760: [14:23:38] <ocmnt> or just have a fairuse policy and a monthly cost that covers the fee
761: [14:24:52] <elgabbu> by any chance are you aware of any issues why using multiple HTML Editors in the same page?
762: [14:25:18] <wmk> elgabbu, works like a charm
763: [14:25:26] <ocmnt> elgabbu, be aware for notepad++ though
764: [14:25:38] <ocmnt> with the wrong utf-8 encoding it adds a BOM
765: [14:25:48] <wmk> ocmnt, omfg, not the BOM!
766: [14:25:59] <ocmnt> hahaha
767: [14:26:08] <ocmnt> it is rediculous, gaven me headaches before
768: [14:26:18] <ocmnt> but now, when I run into weird unexplanable problems
769: [14:27:00] <ocmnt> I preg replace the whole dir on possible BOMs
770: [14:27:19] <elgabbu> i dont think i explained myself correclty
771: [14:27:43] <elgabbu> by default a page has the RichTextEditor for the content field
772: [14:27:59] <elgabbu> i added another field in my model called Introduction
773: [14:28:12] <wmk> elgabbu, that's sounds good
774: [14:28:13] <elgabbu> and in the getCMSFields
775: [14:28:14] <elgabbu> $fields->addFieldToTab('Root.Main', new HtmlEditorField('Introduction', 'Intro'), 'Content');
776: [14:28:39] <wmk> so you did dev/build and flush?
777: [14:28:42] * Shrike_Finland has joined #silverstripe
778: [14:28:54] <elgabbu> so now when I add/edit an article page i have two rich text editors right?
779: [14:29:01] <ocmnt> yes, which won
780: [14:29:05] <ocmnt> wont yield any problems
781: [14:29:21] <ocmnt> just make sure $Introduction is in your template aswell, so the content gets displayed
782: [14:29:37] <elgabbu> yes I did the build and flush and the form shows up with two RTEs
783: [14:29:50] <elgabbu> when I try to publish it doesn't work
784: [14:30:06] <elgabbu> if I change to a simple TextField it works fine
785: [14:30:11] <kinglozzer> elgabbu: "It doesn't work"?
786: [14:30:17] <kinglozzer> elgabbu: What data type does the field have?
787: [14:30:24] <kinglozzer> It should be HTMLText
788: [14:30:26] <kinglozzer> Not Text
789: [14:30:32] <wmk> ^^^^
790: [14:31:03] <elgabbu> ocmnt saving the page is not working so there isn't anything to display
791: [14:31:39] <elgabbu> ohhh let me try to change that
792: [14:31:54] <ocmnt> don´t forget /dev/build after you changed it before trying to save it again
793: [14:33:19] * catcher has joined #silverstripe
794: [14:34:11] <Otterpocket> wmk, ocmnt: This is the trace for my cms problem http://www.sspaste.com/paste/show/54ad43a54f036
795: [14:35:38] <elgabbu> ok the datatype was to blame ... thank you for your help guys
796: [14:38:00] <wmk> Otterpocket, have to run, good luck ;)
797: [14:38:10] <Otterpocket> wmk: Thanks for your help
798: [14:38:29] <ocmnt> Otterpocket, when does the error occur? On saving a gridfielditem? or on any cms save?
799: [14:39:28] <Otterpocket> Looks like just the gridfield item
800: [14:40:02] <ocmnt> using any extentions on gridfield?
801: [14:40:32] <Otterpocket> nope
802: [14:42:45] <Otterpocket> Its just a dataobject controlled by ModelAdmin
803: [14:42:50] <ocmnt> in getCMSFields, do you call $fields = parent::getCMSFields(); ?
804: [14:43:11] <Otterpocket> Yes
805: [14:43:54] <Otterpocket> I have 2 removeFieldFromTab's
806: [14:44:34] <ocmnt> no clue why it wont save
807: [14:45:00] * Shrike_Finland quit (Quit: Leaving.)
808: [14:45:41] <Otterpocket> now it has logged me out and I can't log back in
809: [14:46:13] <ocmnt> robotic anarchy I tell you
810: [14:46:52] <Otterpocket> Yea its mad, I think kinglozzer was right and it is something to do with DB
811: [14:47:02] <kinglozzer> Otterpocket: Are you _sure_ you're not doing anything to modify the GridField? In ModelAdmin or anything? Doesn't look like a DB issue to me
812: [14:47:42] <kinglozzer> Just running back up through it, when it's processing the form submission it should call GridFieldDetailForm_ItemRequest::handleRequest instead of RequestHandler::handleRequest
813: [14:47:45] <Otterpocket> Ill paste the object one sec
814: [14:48:38] <kinglozzer> Unless...
815: [14:48:40] <kinglozzer> No, ignore me
816: [14:48:53] <kinglozzer> It's inheriting that method, which is why it's showing the wrong class
817: [14:50:27] <Otterpocket> This might be messing it up, this is on the Object that the ModelAdmin is using: http://www.sspaste.com/paste/show/54ad4773d5b2c
818: [14:50:28] <kinglozzer> Otterpocket: Okay, it's calling redirectBack() on line 292 of Form.php. Looking at Form.php, it seems your security token isn't valid
819: [14:50:56] <Otterpocket> kinglozzer: Which would explain the random logouts etc?
820: [14:51:06] <kinglozzer> Possibly, yeah
821: [14:51:54] <Otterpocket> kinglozzer: So its a harder problem now
822: [14:51:57] <Otterpocket> lol
823: [14:55:01] <Otterpocket> All of this works on my staging server, it is just since I moved it to this Shared server
824: [14:56:00] <kinglozzer> Hmmm
825: [14:56:34] <kinglozzer> Looks like a sessions issue then
826: [14:57:52] <Otterpocket> could it be the "AddType x-httpd-php54 .php" in the htaccess ?
827: [15:01:33] * dendeffe quit (Quit: dendeffe)
828: [15:02:31] <kinglozzer> ¯\_(ツ)_/¯
829: [15:02:32] * muskie9 has joined #silverstripe
830: [15:02:47] <kinglozzer> I doubt it though, you could try it
831: [15:03:52] <Otterpocket> Im going to just quit and be a tree surgeon
832: [15:04:24] <kinglozzer> Otterpocket: I'd contact whoever is responsible for the server and ask them, tell them that you keep losing PHP session data
833: [15:04:32] <kinglozzer> Pass the buck :D
834: [15:05:00] <Otterpocket> kinglozzer: Yea, I'm waiting to here from the client to get the credentials
835: [15:05:14] <Otterpocket> hear*
836: [15:05:57] <kinglozzer> The problem is made worse by the fact that Form expects $this->controller to actually be a Controller... whereas GridField doesn't give it one >.<
837: [15:33:40] * cloph_away is now known as cloph
838: [15:45:50] <ocmnt> can I extend the uploadform using extends DataExtension{} ?
839: [15:45:59] <ocmnt> I want some extrafields for imageuploads
840: [15:46:53] <kinglozzer> ocmnt: You mean the edit form for UploadField?
841: [15:47:06] <ocmnt> yes
842: [15:47:12] <ocmnt> but I think getCustomFields() does the trick
843: [15:47:19] <kinglozzer> Yeah you should be able to, updateCMSFields
844: [15:48:08] * r3v3rb has joined #silverstripe
845: [15:48:36] <kinglozzer> Ohh I see! I had no idea that method existed
846: [15:48:55] <r3v3rb> how can I setup a has_many<>has_one in code? So I have two objects and I wish to define the relationship between them?
847: [15:49:22] <kinglozzer> r3v3rb: Huh? Do you mean how do you manually assign the relationship?
848: [15:49:31] <r3v3rb> kinglozzer: yep
849: [15:49:39] <kinglozzer> $object->HasOneID = $id
850: [15:49:58] <r3v3rb> do I go from the has_one and assign the ID of the has_many or vice-versa
851: [15:50:35] <r3v3rb> so i need the object that has_one rather than the object that has_many :D got it
852: [15:51:15] <kinglozzer> r3v3rb: Depends on what you've got I guess... e.g. car has_many parts, part has_one car -- $part->CarID = $car->ID; or $car->Parts()->add($part);
853: [15:51:38] <r3v3rb> ok, yep
854: [15:51:52] <kinglozzer> Or $car->Parts()->addMany($parts)
855: [15:52:17] <kinglozzer> r3v3rb: If you use the first method (setting ID) you'll need to write
856: [15:52:28] <kinglozzer> The second method (->add()) will trigger a write automatically
857: [15:52:51] <r3v3rb> got to write anyway so… for other data being stored
858: [15:53:07] <r3v3rb> i’ll write the rest first then ->add
859: [15:54:54] <Pywindyk> guys, guys
860: [15:55:00] <Pywindyk> wmk: ocmnt kinglozzer r3v3rb http://logs.simon.geek.nz/index.php?date=2015-01-07#log_1536623
861: [15:55:01] <r3v3rb> hmm, shouldn’t a has_many<>has_one have a join table in the db?
862: [15:55:08] <r3v3rb> Pywindyk: howdy fella
863: [15:55:18] <Pywindyk> hurro chap
864: [15:55:42] <ocmnt> haha, a bit over time
865: [15:57:10] <kinglozzer> Pywindyk: Hahaha. How not to SSL
866: [16:00:12] <Pywindyk> how not to internet: godaddy.
867: [16:00:15] <Pywindyk> https://twitter.com/NightJarNZ/status/552558766399684611
868: [16:00:22] <Pywindyk> no response, who whould have thought?
869: [16:02:22] * DimiStripe quit (Quit: DimiStripe)
870: [16:04:21] <ocmnt> Pywindyk, I think they are figuring out what it all means Nightjar has to say
871: [16:04:22] <ocmnt> :P
872: [16:04:34] <Pywindyk> hurr durr
873: [16:17:38] * EasyCo quit (Quit: Connection closed for inactivity)
874: [16:18:49] <r3v3rb> Pywindyk: followed
875: [16:19:07] <r3v3rb> not @asus either
876: [16:19:26] <Pywindyk> hehe
877: [16:19:38] <Pywindyk> I want a battery :(
878: [16:19:45] <r3v3rb> Page has_one Object, Object has_many Page - should there be a lookup table in the db or not?
879: [16:20:01] <Pywindyk> I can get one from sweden, but it says 'remote stock' so I assume it comes from the us anyway, and I can get it from there for about £30 less.
880: [16:20:07] <r3v3rb> ;) Object is not the real class name
881: [16:20:51] <Pywindyk> r3v3rb: no.
882: [16:21:04] <Pywindyk> many_many gives an extra table.
883: [16:21:32] <Pywindyk> anything else does not.
884: [16:21:36] <Pywindyk> well...
885: [16:21:40] <r3v3rb> ahh ok
886: [16:21:45] <Pywindyk> has_many the look up table IS the other object's table.
887: [16:21:52] <Pywindyk> PageID
888: [16:21:55] <r3v3rb> gotcha
889: [16:21:58] <Pywindyk> which is created by the reverse has_one
890: [16:22:42] <r3v3rb> so the has_one has nothing ;)
891: [16:22:51] * lerni_ quit ()
892: [16:23:05] <Pywindyk> similarly has_one sits on its own table.
893: [16:23:13] <Pywindyk> err, the owning table.
894: [16:26:20] <Pywindyk> MyDooferPage has_one Thing ==> ThingID column in MyDooferPage table.
895: [16:26:49] <Pywindyk> MyDooferPage has_many Thing :: Thing has_one MyDooferPage ==> MyDooferPageID in Thing table.
896: [16:27:59] <Pywindyk> MyDooferPage many_many 'things' => Thing ==> MyDooferPage_things table created
897: [16:28:11] <Pywindyk> k r3v3rb ?
898: [16:28:34] <Pywindyk> ... ish.
899: [16:28:45] <Pywindyk> relationship names are used, not classnames, but you get the gist.
900: [16:29:13] <r3v3rb> yeh, thats what I expected
901: [16:29:51] <r3v3rb> so no column in the has one class for the has_many relation - only a relation in the has_many class for the has_oneID
902: [16:30:08] <Pywindyk> what?
903: [16:30:10] <r3v3rb> lmao
904: [16:30:17] <r3v3rb> i know what i mean ;)
905: [16:30:18] <Pywindyk> no, you got it backwards.
906: [16:30:29] <r3v3rb> aways
907: [16:30:33] <r3v3rb> always*
908: [16:30:36] <Pywindyk> has_many => things == no change to db at all.l
909: [16:30:59] <Pywindyk> doing $instance->things() gives you the equivalent of thing::get()
910: [16:31:20] <Pywindyk> you _need_ to define the reverse relation.
911: [16:31:54] <Pywindyk> has_many => things && thing has_one ...
912: [16:32:36] <Pywindyk> then db altered so thing table "<relname>ID" column
913: [16:36:59] <r3v3rb> wtf! lol
914: [16:37:28] <r3v3rb> i found my mistook anyway - i was looking at xyz table in PHPStorm not xyz_Live table !
915: [16:37:46] <r3v3rb> the update was being applied but not in the table I was looking at!
916: [16:37:50] <r3v3rb> doh!
917: [16:37:51] <Pywindyk> dat Versioned extension ><
918: [16:39:21] <r3v3rb> humpf
919: [16:39:41] * jenniferaslan has joined #silverstripe
920: [16:40:34] <r3v3rb> that was fun! Now I have purchaseable items, dynamically generate certificate of ownership pdf’s being generated and stored and links between item and purchaser all working nicely now
921: [16:41:54] <r3v3rb> should have taken 10 minutes but I arsed about for a day instead… tch tch
922: [16:42:02] <r3v3rb> well 20 minutes ;)
923: [17:28:30] * kinglozzer quit ()
924: [17:34:29] <Pywindyk> wut
925: [17:35:22] * Otterpocket quit (Quit: Otterpocket)
926: [17:42:07] * ocmnt quit (Ping timeout: 255 seconds)
927: [17:54:41] * CodeTrap has joined #silverstripe
928: [18:06:00] * muskie9 quit (Read error: Connection reset by peer)
929: [18:06:29] * muskie9 has joined #silverstripe
930: [18:25:14] * CodeTrap quit (Quit: CodeTrap)
931: [18:34:49] * r3v3rb quit (Quit: r3v3rb)
932: [18:46:10] * Stomach has joined #silverstripe
933: [18:46:20] * mobiusnz has joined #silverstripe
934: [18:55:29] * Pywindyk quit ()
935: [18:56:12] * veb has joined #silverstripe
936: [18:56:34] * mobiusnz quit (Quit: Leaving.)
937: [19:10:28] * dendeffe has joined #silverstripe
938: [19:16:15] * veb quit (Quit: veb-irc: &)
939: [19:31:00] * Phlunk3 has joined #silverstripe
940: [19:39:42] * UncleCheese has joined #silverstripe
941: [19:40:01] * Cramb has joined #silverstripe
942: [19:40:17] * zippy has joined #silverstripe
943: [19:43:22] <Stomach> good morning team
944: [19:46:39] * kinglozzer has joined #silverstripe
945: [19:47:46] <catcher> 'afternoon
946: [19:48:29] * spekulatius has joined #silverstripe
947: [19:48:55] <Stomach> ooo where in the world are you for afternoon
948: [19:48:58] <Stomach> states somewhere?
949: [19:49:05] <catcher> Stomach, indeed
950: [19:49:13] <Stomach> kinglozzer - I'm sorry I broke travis last night :P
951: [19:54:15] <kinglozzer> Stomach: Haha, I just had to do the open-source version of "turn it off and on": restart the build :P
952: [19:54:17] * glenn-bautista has joined #silverstripe
953: [19:54:20] * willr has joined #silverstripe
954: [19:54:34] * willr quit (Changing host)
955: [19:54:34] * willr has joined #silverstripe
956: [19:56:29] <Stomach> yeah I thought about force pushing but thought it was probably just going to do the same thing. So many deprecation notices O_O
957: [20:00:20] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
958: [20:01:05] * UncleCheese has joined #silverstripe
959: [20:03:14] <zippy> mmm css...
960: [20:03:23] <ss23> ew!
961: [20:03:29] <ss23> Stomach: your thing got merged, yay!
962: [20:03:30] <ss23> :D
963: [20:03:47] <Stomach> ss23 - I should have put it as a easy tag for you
964: [20:03:49] <Stomach> I'm sorry
965: [20:04:39] * UncleCheese quit (Client Quit)
966: [20:06:15] <ss23> XD
967: [20:06:16] <ss23> It's fine
968: [20:06:22] <ss23> Just don't solve any more bugs! :P
969: [20:09:28] <Stomach> haha
970: [20:09:31] <Stomach> thats the spirit!
971: [20:09:46] <Stomach> I want to get some more time to work on form scaffolding
972: [20:09:57] <Stomach> just need to find a bug in an internal project to blame it on....
973: [20:10:02] <ss23> haha
974: [20:18:08] * micmania1 has joined #silverstripe
975: [20:22:53] * Olliepop has joined #silverstripe
976: [20:23:26] <zippy> where is Ryan!!!
977: [20:23:41] <zippy> jezus.. people still think it's holidays or something
978: [20:23:43] * zippy has questions!
979: [20:23:55] * simon_w has answers, but not for those questions!
980: [20:24:00] <ss23> lol
981: [20:24:47] <Stomach> ask the questions zippy
982: [20:24:56] <Stomach> let us work together towards an outcome for you
983: [20:25:28] <zippy> create good synergy and what not?
984: [20:25:28] <ss23> I pestered antmas on twitter till he came on IRC for work related stuff
985: [20:25:28] <ss23> :D
986: [20:25:33] <ss23> ss23 master of interupting peoples holidays!
987: [20:25:58] <zippy> ss23: he was on steam last night, could of joined the game and asked him questions over the mic
988: [20:26:03] <zippy> ok ok
989: [20:26:19] <zippy> spacing on elements
990: [20:26:28] <Stomach> padding: more;
991: [20:26:30] <ss23> :O
992: [20:26:32] <zippy> lol
993: [20:26:32] <ss23> What game/stream?
994: [20:26:39] <zippy> CS
995: [20:26:43] <zippy> what do you think lol
996: [20:26:54] <simon_w> x^2+y^2=r^2
997: [20:27:00] <zippy> anyway
998: [20:27:20] <zippy> so taking over this site, and it's got a problem which I have actually been pondering when I been doing some css for new sites
999: [20:27:37] <zippy> spacing between elements. lets say you have div A, div B, div C on a page in a row
1000: [20:28:38] <zippy> is it better to apply margins/padding on each div with half the size (eg margin: 10px 0px; so the gap is the same and the divs can be moved)
1001: [20:28:45] <ss23> zippy: I played a single game last night, it was okay
1002: [20:28:49] <ss23> Lost though :(
1003: [20:29:11] <zippy> or, create two seperate css classes - eg spacing-top which has the margin and spacing-bottom: so they can be added/removed as needed
1004: [20:29:41] <zippy> basically, this site the guy has all sorts of margins and paddings, and then the site owner has moved divs around and the spacing is all fucked
1005: [20:30:20] <zippy> and you can't just adjust the margin on say, div - product-list because it's in different positions to other elements so on some pages it looks fine because the next element has a margin on the top, but on others the next element has no margin so it's too close
1006: [20:30:53] <adrexia> ahh, this is why grid systems were invented
1007: [20:31:11] <adrexia> (or even just the idea of having component divs within layout divs)
1008: [20:31:33] * riddler7 has joined #silverstripe
1009: [20:32:02] <zippy> the designer has setup row1, row2, row3 with consistant spacing, but then elements inside that have margins on the bottom - so row1 margin + on child element blows it all out
1010: [20:32:29] <adrexia> I see - so vertical spacing is messed up?
1011: [20:32:39] <zippy> yeap
1012: [20:33:34] <adrexia> well, the easiest to understand way is having padding-top-small and the like (often shortened), But I'm still resisting that apprtoach, even if I do usually end up using it
1013: [20:34:31] <zippy> mmm I feel.. that is what needs to happen
1014: [20:34:38] <adrexia> if they all need the same padding at the bottom then a generic .item, or .component class with padding would likely do it
1015: [20:35:15] <adrexia> but it sounds like they are different depending on where they arE?
1016: [20:36:04] <zippy> an edge case would be a list of items in a grid (eg row of products) and these have 10px margin around them, so that gives that div an extra 10px margin on the bottom + the 20px of margin on the bottom already there - blows it out
1017: [20:36:11] * chillu_23 quit (Read error: Connection reset by peer)
1018: [20:36:22] <zippy> so giving the row a class of margin-bottom-small of 10 px would eliminate that
1019: [20:36:42] <zippy> but not sure if I like it
1020: [20:37:07] <zippy> adrexia: yea, the rows are pretty consistant, but just the contents inside them screw things up
1021: [20:37:55] <adrexia> why do the items themselves need padding?
1022: [20:38:05] * chillu_23 has joined #silverstripe
1023: [20:39:02] <adrexia> (sorry, margin)
1024: [20:39:28] <adrexia> are they also used outside the row context?
1025: [20:39:33] <zippy> 9 items in a 3 x 3 grid
1026: [20:39:40] <zippy> margin between them
1027: [20:39:56] <adrexia> but rows dealing with margin?
1028: [20:40:08] <zippy> the row is more of a container
1029: [20:40:12] <adrexia> or... more than one vertical item in a row?
1030: [20:40:14] <adrexia> right
1031: [20:40:15] <adrexia> yep
1032: [20:40:21] <adrexia> that would confuse things
1033: [20:41:01] <zippy> certainly makes things interesting
1034: [20:41:03] <adrexia> could you apply a class to the final line of items like .last, and negate the padding there?
1035: [20:41:31] <adrexia> ...do you know what will be in the final line?
1036: [20:41:48] <zippy> could be possible, but quite hackish
1037: [20:42:00] <adrexia> nah - its the old fashioned way
1038: [20:42:03] <zippy> I think the margin classes would be ideal
1039: [20:42:10] <zippy> *more ideal
1040: [20:42:25] <adrexia> if the contect requires different styling, then it makes total sense to style it differently based on a context class
1041: [20:42:36] <adrexia> *context
1042: [20:43:10] <adrexia> the margin approach is very bootstrap-esque (ie add and remove classes to fix a *specific probelm)
1043: [20:43:30] <zippy> yea probably why I been thinking about it
1044: [20:43:42] <adrexia> rather than semantic classes that make sense for the element itself
1045: [20:43:55] <zippy> I always thought the element should take care of it's own padding/margins
1046: [20:44:00] <adrexia> they both have their advantages and disadvantages
1047: [20:44:13] <zippy> but when they interact with other elements is when problems come up
1048: [20:44:15] <adrexia> zippy - padding yes - margin maybe not
1049: [20:44:26] <adrexia> margin depends on the context of an element
1050: [20:44:35] <adrexia> which with a lot of apps can change a lot
1051: [20:45:09] <adrexia> so keeping grids serparet to elements within makes life a lot easier
1052: [20:45:13] <adrexia> *seperate
1053: [20:46:52] <zippy> mmm
1054: [20:46:59] <zippy> it's a happy fun times project for sure
1055: [20:47:12] <zippy> adrexia: so what do you normally do with your spacing, got some git hub code?
1056: [20:49:03] <adrexia> lol
1057: [20:49:11] * willr_ has joined #silverstripe
1058: [20:49:20] <adrexia> I usually try t5o make context seperate elements
1059: [20:49:33] * willr_ quit (Changing host)
1060: [20:49:34] * willr_ has joined #silverstripe
1061: [20:49:39] <adrexia> but if I had something like that I might use padding and margin classes to. depends ;)
1062: [20:49:45] * willr quit (Ping timeout: 252 seconds)
1063: [20:49:45] * willr_ is now known as willr
1064: [20:49:51] <adrexia> sometiems I use .last-row
1065: [20:50:16] <adrexia> there's not really a right way, just a bunch of different ways
1066: [20:50:28] <adrexia> or umm, use masonry
1067: [20:50:29] * veb has joined #silverstripe
1068: [20:50:31] <adrexia> et al
1069: [20:50:46] <adrexia> like http://hydra-larps.nz/games/
1070: [20:51:20] <adrexia> (that uses the adding classes + masonry actually)
1071: [20:53:09] <zippy> adrexia: so you have content seperate elements, how do you deal with spacing? example?
1072: [20:53:14] <zippy> coffeee time
1073: [20:53:22] <adrexia> I think I used padding vertical, padding horizontal for that (pvm = padding-vertical-medium)
1074: [20:55:15] <adrexia> in the end ideals always give way to lazy-ness, and classes that handle padding and margins keep things consistent and make it easy to change the context of a specific rendering of an element
1075: [20:58:06] <adrexia> but I'm not sure I'd implement a solution like that if I don't have control from the start of the project. Its true value comes from consistency
1076: [21:00:14] <adrexia> another example where I used padding margin variables: http://www.esr.cri.nz/forensic-science/our-work/ Those blocks have about 3 different contexts they can appear in, so it was just easier
1077: [21:00:44] <Stomach> that site is slow as a dog adrexia
1078: [21:00:50] <adrexia> not my problem ;)
1079: [21:00:54] <adrexia> the esr site?
1080: [21:01:03] <Stomach> yeah
1081: [21:01:19] <adrexia> interesting
1082: [21:01:24] <adrexia> it loads fine here
1083: [21:01:35] <adrexia> oh wait
1084: [21:01:49] <adrexia> yep, they've done something interesting
1085: [21:02:13] <adrexia> it depends on page I thinkl :-/
1086: [21:02:35] <Stomach> yeah seems like something is doing a call somewhere and its a bit variable before you start getting a response
1087: [21:02:44] <Stomach> between like 1-3 seconds for server to respond
1088: [21:02:44] <Stomach> :(
1089: [21:02:51] <adrexia> its not exactly complicated code
1090: [21:03:06] <adrexia> its literally just getting and returning associated items
1091: [21:03:32] <adrexia> pretty sure its just a strait has many
1092: [21:03:48] <adrexia> no wait, it might actually just literally use siteheriachy
1093: [21:03:54] <adrexia> meh
1094: [21:03:57] <adrexia> I blame cwp ;)
1095: [21:04:04] <Stomach> yeah thats fair
1096: [21:04:12] <Stomach> the ss.org site has the same issue
1097: [21:04:30] <adrexia> yeah - but that ones doing some crazy shit ;)
1098: [21:04:40] <adrexia> this one isn't even remotely complex
1099: [21:05:45] <Stomach> yeah its probably just the server is shit
1100: [21:06:25] * willr quit (Ping timeout: 264 seconds)
1101: [21:06:34] <adrexia> I think its still faster than their old site ;)
1102: [21:07:27] <adrexia> hahaha yep - no custom code in that page type except to define a sitetree icon and description
1103: [21:09:09] <adrexia> and no mega menus or anything liek that
1104: [21:10:27] * veb quit (Quit: veb-irc: &)
1105: [21:10:33] <adrexia> I think 90% of the site could be statically published. that would speed things up significantly. :D
1106: [21:11:56] <Stomach> slightly ;)
1107: [21:12:01] <zippy> thanks for the example :)
1108: [21:12:39] * travis-ci has joined #silverstripe
1109: [21:12:39] <travis-ci> silverstripe/silverstripe-framework#3827 (3.1 - 5637431 : Elvinas L): The build passed.
1110: [21:12:39] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/5b1c8771c4d0...5637431a3fd8
1111: [21:12:39] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/46241793
1112: [21:12:39] * travis-ci has left #silverstripe
1113: [21:12:55] <adrexia> Stomach, the sites I've made that are statically published are inhumanly fast
1114: [21:12:57] <adrexia> :D
1115: [21:13:30] <adrexia> the best bit is ajax calls to plain html pages
1116: [21:13:48] * UncleCheese has joined #silverstripe
1117: [21:13:51] <adrexia> blink and you miss it
1118: [21:14:04] <UncleCheese> micmania1 Lumberack? Fucking brilliant.
1119: [21:14:14] <micmania1> Thank you sir :)
1120: [21:14:16] * dendeffe quit (Quit: dendeffe)
1121: [21:14:23] <adrexia> static publisher, might be a dog, but the result is pretty cool
1122: [21:14:34] <ss23> omfg
1123: [21:14:35] <ss23> so lame
1124: [21:14:39] <ss23> @ lumberjack
1125: [21:14:43] <micmania1> hahaha
1126: [21:14:46] <adrexia> lumberjack?
1127: [21:18:24] <zippy> Civilization is a dangerious game
1128: [21:20:02] * camfindlay has joined #silverstripe
1129: [21:20:38] <Stomach> adrexia - gridfield page management
1130: [21:21:57] <adrexia> gridfield page management is lumberjack?
1131: [21:22:10] <adrexia> are you on acid?
1132: [21:23:41] <adrexia> oh, I have github notifications
1133: [21:23:51] <Stomach> nope, not on acid
1134: [21:23:55] <adrexia> ;)
1135: [21:24:00] <Stomach> just mdma today
1136: [21:26:30] * travis-ci has joined #silverstripe
1137: [21:26:30] <travis-ci> silverstripe/silverstripe-framework#3830 (3.0 - d633687 : Will Rossiter): The build passed.
1138: [21:26:30] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/28760e051d32...d6336873d436
1139: [21:26:30] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/46244517
1140: [21:26:30] * travis-ci has left #silverstripe
1141: [21:41:11] * mobiusnz has joined #silverstripe
1142: [21:43:00] <muskie9> anyone use TranslatableDataObject by Uncle Cheese?
1143: [21:43:26] <muskie9> doing translations for the first time on a site and deciding which would work best... pretty much just translating DataObjects
1144: [21:46:15] <Stomach> UncleCheese has probably used it
1145: [21:46:34] <UncleCheese> i gotta plead the fifth on this one
1146: [21:49:32] <zippy> not sure if they are the same..
1147: [21:49:35] <muskie9> if I just needed to do DO's would ur's be quicker UncleCheese
1148: [21:49:49] <UncleCheese> yes
1149: [21:49:57] <muskie9> I'll start there, thanks
1150: [21:50:00] <UncleCheese> if your translation needs are simple, TDO is a good option
1151: [21:52:01] * mobiusnz quit (Quit: Leaving.)
1152: [21:53:44] * kinglozzer quit ()
1153: [21:53:48] <UncleCheese> adrexia the name is what is fucking brilliant.. lumberjack.. chopping the branches off the tree
1154: [21:55:11] <adrexia> muskie9, there's also https://github.com/tractorcow/silverstripe-fluent
1155: [21:55:30] <adrexia> UncleCheese, but whats the context?
1156: [21:55:46] <UncleCheese> taking pages out of the tree, like blogentries
1157: [21:56:02] <muskie9> adrexia, saw that too, gonna play with each at some point... gotta figure out which one will work best for the need
1158: [21:56:05] <UncleCheese> so a blog holder just has a gridfield of child pages instead of sitetree madness
1159: [21:56:34] <adrexia> oh!
1160: [21:56:39] <adrexia> right, that's cooll :)
1161: [21:56:40] <UncleCheese> adrexia you may not be familiar with my opinions on site tree... should i start a rant?
1162: [21:56:46] <UncleCheese> ;-)
1163: [21:56:50] <adrexia> I think the world is familar
1164: [21:56:53] <UncleCheese> lol
1165: [21:57:18] <UncleCheese> i just got a text from the international space station saying, "pleeeeeease... stfu already"
1166: [21:58:23] <adrexia> I think I always thought of pages as leaves on a tree, ratehr than branches
1167: [21:58:43] <adrexia> so, following a similar thought pattern, would probably have called it Autumn ;)
1168: [22:05:45] <zippy> UncleCheese: excuse my ignorance, but with a system like that how do you handle say bread crumbs? If there is no real 'parent' do you just have them as /whatever - straight off the root
1169: [22:06:03] <zippy> or you allow many 'parents' and just deal with duplicate content
1170: [22:06:20] <UncleCheese> zippy there's still a parent
1171: [22:06:40] <UncleCheese> it's just taking all the children and putting them in a grid field instead of the tree
1172: [22:06:47] <UncleCheese> it's a UI change, not a hierarchy change
1173: [22:07:00] <UncleCheese> so, yeah, maybe "autumn"
1174: [22:08:54] * UndefinedOffset quit (Quit: Leaving.)
1175: [22:09:54] <zippy> so... a bit like ftp then
1176: [22:10:01] <zippy> no so much ftp
1177: [22:10:08] <zippy> but like browsing the file ssytem
1178: [22:10:15] <zippy> go into a folder, and see all the folders in a grid
1179: [22:10:22] <zippy> got into another folder, and those folders are in a grid
1180: [22:10:41] <zippy> would that just be as much clicking?
1181: [22:11:03] <zippy> or is it not a replacement, just specific use (eg blog posts) where there is no children
1182: [22:14:06] * mobiusnz has joined #silverstripe
1183: [22:18:23] * ss23 quit (Ping timeout: 240 seconds)
1184: [22:18:37] <muskie9> UncleCheese, I might be missing something... but if TranslatableDataObject extends DataExtension you can't call ::set_langs() or ::register() can you?
1185: [22:18:52] <UncleCheese> why not?
1186: [22:19:21] * ss23 has joined #silverstripe
1187: [22:19:37] <muskie9> thought it would be called as ObjectItsAttachedTo::set_langs()
1188: [22:19:55] <muskie9> unless static methods are different
1189: [22:21:33] * mobiusnz quit (Quit: Leaving.)
1190: [22:22:42] * m1nd has joined #silverstripe
1191: [22:23:07] <UncleCheese> nope.. the languages are global
1192: [22:23:28] <UncleCheese> you can't say that one record is translatable only in spanish and another is only in french
1193: [22:23:43] <UncleCheese> both would have spanish and french translations and would just leave one translation empty
1194: [22:24:24] <muskie9> realized what was going on... no _config.php file in the dir
1195: [22:26:02] * mobiusnz has joined #silverstripe
1196: [22:26:25] * gelignite quit (Quit: http://bit.ly/nkczDT)
1197: [22:27:56] <adrexia> zippy yeah - that's where it works best. When you have one parent with a lot of children, but not a lot of depth
1198: [22:28:18] <adrexia> it breaks down when you have nested children
1199: [22:28:27] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1200: [22:28:37] * mobiusnz quit (Read error: Connection reset by peer)
1201: [22:29:11] <Cramb> HI I am adding a join to a data object but do not know how to get the additional fields.
1202: [22:30:44] <Cramb> $Events = Event::get()
1203: [22:30:46] <Cramb> ->innerJoin("Event_EventTags", "\"Event\".\"ID\" = \"Event_EventTags\".\"EventID\"");
1204: [22:30:48] <Cramb> ....... return $Event; Looping the event only returns the dataobject
1205: [22:31:30] * simon_w|air quit (Quit: Ping timeout: your mum)
1206: [22:32:06] * simon_w|air has joined #silverstripe
1207: [22:32:09] <simon_w|air> Cramb, they're not added to the SELECT part, and it's rather difficult to add additional columns to a DataList
1208: [22:32:49] <Cramb> Would you advise that I write a custom query?
1209: [22:32:52] * muskie9 has joined #silverstripe
1210: [22:33:19] <simon_w|air> If you want to avoid the N+1 queries, you'll need to
1211: [22:34:41] <Cramb> OK Cheers :(
1212: [22:35:24] * zippy is getting hungry
1213: [22:35:26] <zippy> and can smell cake
1214: [22:37:34] * simon_w|air had breakfast today
1215: [22:37:53] <ss23> Me too, a pie
1216: [22:37:53] <ss23> :D
1217: [22:39:34] * simon_w|air is currently overheating
1218: [22:39:41] <ss23> Australia sux!
1219: [22:39:51] <simon_w|air> Indeed
1220: [22:40:04] <ss23> simon_w|air: When're you moving back to NZ?
1221: [22:43:50] <simon_w|air> Not likely to
1222: [22:50:29] <ss23> sux2bu
1223: [22:51:03] <Cramb> Hey Simon looking at my issue another way, I have a many_many relationship in my dataobject, is there an easy way to access this as it is not returned in the $record
1224: [22:57:14] * mahfuz has joined #silverstripe
1225: [23:08:33] <Cramb> OK to put it another way, is it possible to access a many_many relationship from a dataobject. I know it is possible in the template but would ideally like to be able to do this within the controller? Sorry for the noob Q's but trying to get to a standard in SS.
1226: [23:09:30] <catcher> Cramb, is there a reason you're not using the ORM?
1227: [23:11:18] <muskie9> Cramb, in this example, if you have a project as $project then it would be $project->Mentors() :http://doc.silverstripe.org/framework/en/tutorials/5-dataobject-relationship-management#many-many-relationships-mentor
1228: [23:12:01] <muskie9> if you were in Project_Controller of that example it would be $this->data()->Mentors()
1229: [23:12:02] <muskie9> iirc
1230: [23:12:27] * Phlunk3 quit (Remote host closed the connection)
1231: [23:13:01] * travis-ci has joined #silverstripe
1232: [23:13:01] <travis-ci> silverstripe/silverstripe-framework#3831 (2.4 - 7e3be7d : Will Rossiter): The build passed.
1233: [23:13:01] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/ba73b03e6c70...7e3be7d71f7c
1234: [23:13:01] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/46256657
1235: [23:13:01] * travis-ci has left #silverstripe
1236: [23:13:56] <Cramb> Thanks muskie9 Ill read through this
1237: [23:15:08] * markcl has joined #silverstripe
1238: [23:15:09] <Cramb> catcher I'm not sure how using ORM will help access many_many, any pointers gratefully received
1239: [23:16:05] <catcher> Cramb, muskie9 gave you an example that uses the ORM.
1240: [23:16:20] <muskie9> ^
1241: [23:19:36] <Cramb> Thanks muskie nailed it
1242: [23:22:16] <Cramb> I was calling it as a property not a method
1243: [23:35:57] * catcher quit (Quit: Leaving)
1244: [23:48:26] * spronk2 has joined #silverstripe

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