#silverstripe IRC Log

IRC log for 14 November 2014

All timestamps are in UTC.

1: [00:05:17] <antmas> 2.30 approacheth
2: [00:08:52] <JeremyRoundill> Beer o'clock is 2.30 for you?
3: [00:08:53] <JeremyRoundill> :O
4: [00:08:56] <JeremyRoundill> It's 3.30 here
5: [00:09:14] <antmas> naw, gif time :D
6: [00:09:24] <JeremyRoundill> :D
7: [00:09:30] * Guest5978 quit (Quit: Page closed)
8: [00:09:43] <antmas> Ryan-Toast isn't here though
9: [00:09:47] <antmas> this is troubling
10: [00:11:50] * veb has joined #silverstripe
11: [00:12:32] <JeremyRoundill> I need him to suggest more music :O
12: [00:12:51] <JeremyRoundill> Kavinsky was a good recommendation, I want to see if he's consistent.
13: [00:19:48] <antmas> yeah he's onto it with Elec stuff
14: [00:20:04] <antmas> he has a massive youtube playlist, I'll try find it
15: [00:21:07] <antmas> :O
16: [00:21:14] <antmas> I forgot, he's off today for WoW :P
17: [00:21:26] * antmas nominates Colinglebells for gif duty
18: [00:23:44] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
19: [00:25:47] <Snowman23> 13:21:14 < antmas> I forgot, he's off today for WoW :P
20: [00:25:52] <Snowman23> most people can IRC and play wow at the same time
21: [00:26:19] <antmas> JeremyRoundill: from Ryan https://www.youtube.com/playlist?list=PL016DF490B141ECBD
22: [00:26:20] * simon_w|work doubts that
23: [00:26:51] <Snowman23> AVICII & RICK ASTLEY 2014 - Never Gonna Wake You Up (Nils Mashup)
24: [00:27:05] <Snowman23> what even
25: [00:27:41] <antmas> lol
26: [00:27:45] * simon_w|work changes from S Club to Weird Al
27: [00:28:03] <antmas> wtf
28: [00:28:10] <antmas> we have a shared sick leave bank at work
29: [00:28:17] <antmas> people donate sick leave
30: [00:28:19] <antmas> lol
31: [00:28:20] <antmas> ewird
32: [00:28:22] <antmas> werid*
33: [00:28:22] <Snowman23> I...
34: [00:28:24] <antmas> fuck
35: [00:28:24] <Snowman23> I don't think that's legal
36: [00:28:26] <antmas> weird*
37: [00:28:51] <antmas> Snowman23: it's if you go over your alotted sick leave amount
38: [00:28:55] <antmas> it gets auto donated
39: [00:29:01] <antmas> still, seems grey to me
40: [00:29:34] <simon_w|work> So long as you can still always take your legally required number of sick days, I don't see a problem with it
41: [00:29:50] <Snowman23> I thought it was like... if other people were sick, you lost your right to take your own days
42: [00:31:06] <antmas> that would be pretty bad
43: [00:31:11] * Hailwood quit (Remote host closed the connection)
44: [00:31:12] <antmas> if a company did that
45: [00:32:53] <simon_w|work> Hire everyone as casuals and you're fine! :p
46: [00:33:23] <antmas> lol
47: [00:35:58] * willr has joined #silverstripe
48: [00:37:16] * jenniferaslan quit (Quit: jenniferaslan has left the room)
49: [00:42:37] <JeremyRoundill> antmas: So many things in that playlist :D
50: [00:42:57] <antmas> JeremyRoundill: yeah it's pretty good
51: [00:43:06] * jenniferaslan has joined #silverstripe
52: [00:43:10] <antmas> don't tell Ryan or his head will grow
53: [00:43:11] <antmas> ;)
54: [00:43:34] <JeremyRoundill> :D
55: [00:51:46] <Kingy> Colinglebells: you have 9mins to man the fuck up
56: [00:51:48] <Kingy> GIF TIME BABY
57: [00:52:54] <Colinglebells> Kingy: did someone say.... gifs? http://i.imgur.com/Q9t4HnM.gif
58: [00:54:56] <Kingy> little bit early but i'll allow it
59: [00:55:14] <antmas> we're running on Canbera time now for gis :D
60: [00:55:16] <antmas> gifs:
61: [00:55:35] <Kingy> Colinglebells: CS:GO tonight?
62: [00:55:54] <Colinglebells> Kingy: might be able to
63: [00:56:51] <JeremyRoundill> I'll be keen.
64: [00:57:15] <simon_w|work> Colinglebells, less playing, more doing my dishes
65: [00:57:21] <Kingy> good man
66: [00:57:24] <Kingy> + antmas ??
67: [00:58:07] <Colinglebells> http://i.imgur.com/mnBhJcj.gif
68: [00:58:37] <Stomach> http://i.imgur.com/bEqQYsk.gifv
69: [00:58:43] * jenniferaslan quit (Quit: jenniferaslan has left the room)
70: [00:58:44] <Stomach> oh hi
71: [00:58:51] <Colinglebells> haha
72: [00:59:24] <Kingy> wow that is smooth
73: [01:00:50] <Colinglebells> oh that is terrifying: http://i.imgur.com/tvjt500.gif
74: [01:03:00] <simon_w|work> http://i.imgur.com/NWv1HSW.gif
75: [01:03:18] * micmania1 quit (Quit: micmania1)
76: [01:03:49] <Colinglebells> cute
77: [01:04:11] <Colinglebells> http://i.imgur.com/owIstTa.gif
78: [01:04:51] <Colinglebells> my gf sent this to me, price of iPhone 6 in Brazil:
79: [01:04:52] <Colinglebells> http://veja.abril.com.br/blog/impavido-colosso/e-o-premio-de-iphone-6-mais-caro-do-mundo-vai-para-brasil-e-claro/
80: [01:04:58] <simon_w|work> Should've brought in the wedding photos. God son is being super cute
81: [01:05:23] <Colinglebells> (cheapest iphone 6 in brazil is $1566 NZD)
82: [01:05:44] <Kingy> woah
83: [01:05:47] <Kingy> Nova Zealandia
84: [01:05:49] <Kingy> like it
85: [01:05:58] <Kingy> Zelandia even
86: [01:06:08] <Kingy> but still... sounds cool
87: [01:06:28] <simon_w|work> Still haven't been to Zealandia
88: [01:06:42] <simon_w|work> Was on my way home for three years and everything
89: [01:06:45] <Kingy> Colinglebells: doesn't all electronics cost a crazy amount. Xbones etc are crazy expensive aren't they?
90: [01:06:56] <Colinglebells> Kingy: in brazil? yes, it's nuts
91: [01:07:00] <Kingy> ya
92: [01:07:16] <antmas> Kingy: still not sure yet - I'm under immense pressure as to what of 3 games I'm required to play tonight :D
93: [01:07:17] <simon_w|work> Bah, should be working
94: [01:07:18] <simon_w|work> http://i.imgur.com/T8VhmuX.gif
95: [01:07:19] <Kingy> from what I've gathered electronics in Bahrain are about the same as here
96: [01:07:22] <Kingy> so that's not bad
97: [01:07:26] <simon_w|work> antmas, Tropico!
98: [01:07:28] <Kingy> CSGO antmas
99: [01:07:28] <Colinglebells> basically anything electronic, fancy brands, luxury stuff, and makeup/perfumes etc... SOOOPER expensive
100: [01:07:29] <Kingy> CSGO
101: [01:07:30] * simon_w|work is so whipped :p
102: [01:07:41] <Kingy> JeremyRoundill: tell him
103: [01:08:09] <Colinglebells> I'd be up for CS:GO if I have the time
104: [01:08:20] <Colinglebells> I need to proof read my gf's uni assignment though :(
105: [01:08:23] <Kingy> which you'll have :P
106: [01:08:23] * Colinglebells is also whipped
107: [01:08:26] <antmas> I'm on for tomorrow for sure though
108: [01:08:34] <madmatt> me too, it's way better playing with jerks you know than random internet jerks :D
109: [01:08:48] <Kingy> WE COULD HAVE A WHOLE TEAM :P
110: [01:08:59] <Kingy> madmatt: are you crazy good as well?
111: [01:09:17] <Kingy> Snowman23 can be benchwarmer :P
112: [01:09:21] <Colinglebells> Kingy: what's your fav map?
113: [01:09:24] * micmania1 has joined #silverstripe
114: [01:09:42] <Kingy> Colinglebells: can I be noob and say D2 :P
115: [01:09:52] <Colinglebells> Kingy: you can lol
116: [01:09:56] <Kingy> always love assault as well
117: [01:10:07] <antmas> dude I have emails coming in every 10 mins from my mates talking about tonight's BF4 match
118: [01:10:11] <antmas> :|
119: [01:10:21] <Kingy> antmas: bf4 pc?
120: [01:10:34] <madmatt> Kingy: Haha, no. I was gold ak at one point, now I think 3-star, because as you go backwards you get paired with people from your old levels haha, so I keep losing
121: [01:10:38] <Colinglebells> Kingy: assault is good, if a bit one sided
122: [01:10:56] <madmatt> antmas: Add me on Origin, Madmanisallin
123: [01:10:56] <antmas> Kingy: yep
124: [01:11:06] <Kingy> hmm I should buy than then
125: [01:11:10] <antmas> madmatt: will do
126: [01:11:11] <Colinglebells> Kingy: I have a few custom ones as well, check out this ME-inspired one, it's sweet: http://csgo.gamebanana.com/maps/176239
127: [01:11:12] <madmatt> I enjoy BF4 atm too, I'm bad at it though :D
128: [01:11:29] <Kingy> woah gamesbanana is still going
129: [01:11:48] <Kingy> Colinglebells: looks like prodigy a bit
130: [01:11:55] <Colinglebells> it's a great map
131: [01:12:07] <JeremyRoundill> So
132: [01:12:16] <JeremyRoundill> I need to know the correct wording for this problem.
133: [01:12:24] <Colinglebells> Kingy: did you ever play one of those glass maps? they were fun as fuck
134: [01:12:28] <antmas> I lvoe that map
135: [01:13:00] <antmas> just told our neckbeard to yolo
136: [01:13:00] <JeremyRoundill> In older versions of php, you can't reference an object from an array returned by a function.
137: [01:13:04] <antmas> push my code up NOW
138: [01:13:05] <Kingy> http://www.cjs-cdkeys.com/products/Battlefield-4-CD-Key-for-Origin.html?setCurrencyId=4
139: [01:13:07] <antmas> live the dream
140: [01:13:14] <JeremyRoundill> For instance returnAnArray()[0] will throw an error.
141: [01:13:17] <Colinglebells> aww yeah, cjs
142: [01:13:24] <Kingy> $24 decent
143: [01:13:35] <JeremyRoundill> What is the problem called?
144: [01:13:36] <antmas> Kingy: ya'll need the premium pack too though
145: [01:13:48] <JeremyRoundill> I think the word is disassociate.
146: [01:13:55] <Kingy> antmas: :|
147: [01:13:58] <JeremyRoundill> You need to disassociate the array?
148: [01:14:26] <antmas> Kingy: very worth it though, all the DLCs and free battlepacks
149: [01:14:28] <Kingy> antmas: adds another 12GBP
150: [01:14:30] <antmas> 2x XP weekends etc
151: [01:14:44] <Kingy> wait shit no it doesn;t
152: [01:14:46] <Kingy> adds like 20
153: [01:15:32] * Tanger has joined #silverstripe
154: [01:17:02] <Snowman23> 14:08:09 < Colinglebells> I'd be up for CS:GO if I have the time
155: [01:17:11] <Snowman23> I was so bad at CS:S, I'd lose at GO
156: [01:17:25] <Kingy> Snowman23: JeremyRoundill will carry you :)
157: [01:17:28] <antmas> Snowman23: yeah but it's just us
158: [01:17:40] <antmas> we need cannon fodder
159: [01:17:43] <Colinglebells> Snowman23: it's basically Source with pimped out maps and gay guns
160: [01:17:47] <Snowman23> lol
161: [01:18:06] <Kingy> antmas: only problem is when you play with JeremyRoundill you tend to be put in games with people way better than you
162: [01:18:12] <antmas> just jump around heaps and side step next to door ways and you'll look pro as
163: [01:18:15] <Kingy> makes it interesting to say the least
164: [01:18:23] <Colinglebells> Snowman23: like, srsly, imagine if you turned up to the armed forces IRL with this: http://cloud-2.steampowered.com/ugc/576752170254285051/6790C53C496DF1F77CBA5633D1B5A1412FE4DAA9/
165: [01:18:24] <Kingy> antmas: and throw lots of nades
166: [01:18:35] <antmas> Kingy: yes. Nades are for pros.
167: [01:18:40] <Snowman23> Colinglebells: OMG SO KAWAII
168: [01:18:41] <antmas> Random nades
169: [01:18:51] * Kingy throws smoke
170: [01:19:01] * Kingy throws flashbang
171: [01:19:08] <Kingy> "shit sorry for team flash
172: [01:19:09] <Kingy> "
173: [01:19:16] * antmas flcisk between knife and gun, knife and gun
174: [01:19:26] * adrexia quit (Quit: Ex-Chat)
175: [01:19:26] <Colinglebells> knife kills are always priceless
176: [01:19:31] <JeremyRoundill> The cool thing is, you lot don't rank down if you lose but I do.
177: [01:19:42] <Colinglebells> or the taser... that little "argh!"
178: [01:19:45] <JeremyRoundill> And I need that account to rank down a bit :)
179: [01:19:45] <Kingy> JeremyRoundill: all the more reason to carry us :P
180: [01:19:54] <JeremyRoundill> It's win-win!
181: [01:19:55] <JeremyRoundill> :D
182: [01:19:59] * Kingy wants gold
183: [01:20:01] * adrexia has joined #silverstripe
184: [01:20:06] <antmas> :P
185: [01:20:52] <JeremyRoundill> Haha, you're only 2 ranks off.
186: [01:21:02] <Kingy> yeah exactly
187: [01:21:08] <JeremyRoundill> You just have to play with 5-man stacks to get Nova :D
188: [01:21:14] <Kingy> few dozen more wins and i'll be sweet
189: [01:21:27] <JeremyRoundill> Maybe like 4 or 5 wins.
190: [01:21:38] <Kingy> tonight then haha
191: [01:21:45] <antmas> don't look at my rank guys
192: [01:22:19] <Kingy> antmas: silver nothing?
193: [01:22:50] <antmas> nothing nothing I'd say
194: [01:22:58] <antmas> never got competitive in CS:GO
195: [01:26:40] <JeremyRoundill> You have to have had >10 wins in CS:GO competitive to get a rank.
196: [01:27:06] <JeremyRoundill> When I got my 10 wins on my new account (after playing with my Nova-1 friends) it gave me MG1. :P
197: [01:27:23] <Kingy> JeremyRoundill: when do you get the last pisto
198: [01:27:24] <Kingy> l
199: [01:27:27] <UncleCheese> is there any way to get the plain DOM element off a jQuery object?
200: [01:27:35] <Stomach> [0]
201: [01:27:43] <JeremyRoundill> Last pistol?
202: [01:27:45] <UncleCheese> [X]
203: [01:27:50] <Stomach> $('.element')[0]
204: [01:27:54] <UncleCheese> oh!
205: [01:27:55] * auto9 has joined #silverstripe
206: [01:27:56] <UncleCheese> really?
207: [01:27:58] <Kingy> yeah umm i'll find it hold on
208: [01:27:59] <Stomach> I think so
209: [01:28:01] <UncleCheese> never knew that
210: [01:28:17] <antmas> JeremyRoundill: yeah I should knuckle down
211: [01:28:21] <antmas> just don't have the time h
212: [01:28:21] <Kingy> JeremyRoundill: Tec-9
213: [01:28:22] <antmas> eh*
214: [01:28:28] <Kingy> http://counterstrike.wikia.com/wiki/Tec-9
215: [01:28:56] <JeremyRoundill> Hahaha.
216: [01:28:59] <JeremyRoundill> You don't :P
217: [01:29:52] <Kingy> buy it right?
218: [01:29:55] <JeremyRoundill> http://i.ytimg.com/vi/2FeBwIYHFzw/hqdefault.jpg
219: [01:30:07] <JeremyRoundill> Wait
220: [01:30:10] <JeremyRoundill> That's a joke one.
221: [01:30:11] <JeremyRoundill> :P
222: [01:30:22] <Kingy> aw im BOT HARVEY!
223: [01:30:24] <JeremyRoundill> http://x3.cdn03.imgwykop.pl/c3201142/comment_2vfN4NzHzQBVO208wqBirOyvr0hiGeij.jpg
224: [01:30:27] <Stomach> just got some weird spam
225: [01:30:28] <oddnoc> Turns out I’m less insane than I thought: https://github.com/silverstripe/addons.silverstripe.org/issues/84
226: [01:30:32] <JeremyRoundill> Haha I was Agriculturalist :D
227: [01:30:52] <Stomach> http://sspaste.com/paste/show/546556400c465
228: [01:30:53] <Kingy> jesus im miles away
229: [01:31:00] <Stomach> ^ wtf sslog spamming me
230: [01:32:18] <Stomach> oddnoc - slightly less... :P
231: [01:32:35] <oddnoc> minimally
232: [01:33:06] <UncleCheese> that worked a treat
233: [01:33:42] <Stomach> UncleCheese - sweet :)
234: [01:34:02] <UncleCheese> i reckon it's similar to arrayAccess in PHP?
235: [01:34:22] <madmatt> Stomach: Let simon_w|work know?
236: [01:34:59] <Stomach> madmatt - it was to our works webmaster account, which is odd too :)
237: [01:35:22] <Stomach> UncleCheese - yeah they are just javascript objects at the end of the day right?
238: [01:35:42] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
239: [01:36:26] <simon_w|work> Stomach, wasn't me!
240: [01:36:37] <Stomach> yeah it was 'Anny'
241: [01:36:38] <Stomach> :D
242: [01:37:06] <simon_w|work> That looks like the old header string to
243: [01:37:13] <simon_w|work> Like, back when madmatt was in charge of it old
244: [01:37:44] <simon_w|work> *too
245: [01:38:59] <madmatt> Ah, the good ol' days of stupid java irc bots
246: [01:39:06] <madmatt> Stomach: Where'd you get it? Email?
247: [01:39:22] <madmatt> What are the headers?
248: [01:39:31] <Stomach> webmaster at littlegiant dot co dot nz
249: [01:40:15] * KF5WYX has joined #silverstripe
250: [01:40:24] <KF5WYX> Hi again all.
251: [01:41:10] <simon_w|work> http://logs.simon.geek.nz/search.php?q=webmaster%40littlegiant.co.nz
252: [01:41:15] <simon_w|work> Well, that's where they got it from :p
253: [01:41:51] <Stomach> haha
254: [01:42:16] <Stomach> and then used the first line of the webpage to give me a name
255: [01:42:18] <Stomach> ! :D
256: [01:42:24] <KF5WYX> "Article extends Page { populateDefaults() { $this->Author = " <-- how can I complete this with the name of the person editing the page?
257: [01:42:46] <simon_w|work> KF5WYX, Member::currentUser()->Name
258: [01:42:57] <KF5WYX> Thanks simon_w|work
259: [01:47:41] * shorty has joined #silverstripe
260: [01:48:22] <shorty> hi guys can anyone help me understand the difference between datalists and arraylists. Newbie so be gentle
261: [01:48:37] * Azure quit (Quit: restarting)
262: [01:48:47] <simon_w|work> shorty, a DataList is a list backed directly by the database. An ArrayList is a list backed by an array
263: [01:49:47] <simon_w|work> Pyqwehk, got a bit of a problem? :p http://logs.simon.geek.nz/stats.php#wordderp http://logs.simon.geek.nz/stats.php#wordpress
264: [01:49:53] <shorty> So a datalist contains many data objects from the DB?
265: [01:50:10] <simon_w|work> shorty, yes, though it doesn't load them until needed
266: [01:50:27] <shorty> OK cool I was getting a bit tangled up
267: [01:51:15] * UncleCheese has joined #silverstripe
268: [01:52:14] <JeremyRoundill> Damnit, I made it onto the penis list.
269: [01:52:15] <JeremyRoundill> http://logs.simon.geek.nz/stats.php#penis
270: [01:52:37] <simon_w|work> JeremyRoundill, and now you have two more!
271: [01:52:49] <JeremyRoundill> :P
272: [01:52:56] <JeremyRoundill> Why don't you monitor Web 2.0?
273: [01:53:02] <JeremyRoundill> And cloud?
274: [01:53:43] <JeremyRoundill> So you can monitor how cool my new Web 2.0 cloud-based SEO app is.
275: [01:54:04] <simon_w|work> Because they're not on the list?
276: [01:54:25] * Azure has joined #silverstripe
277: [01:54:30] <JeremyRoundill> I was suggesting adding them. :P
278: [01:54:33] <simon_w|work> The list being http://logs.simon.geek.nz/source/swears.txt
279: [01:54:39] <simon_w|work> Can't from work :p
280: [01:54:47] <JeremyRoundill> :D
281: [01:55:05] <JeremyRoundill> ss23 - simon_w 1416
282: [01:55:11] <JeremyRoundill> That's a lot of ss23s.
283: [01:55:24] <simon_w|work> ss23 529
284: [01:55:43] <JeremyRoundill> Bahaha
285: [01:56:20] <simon_w|work> Bah, he took bitch
286: [01:56:23] <simon_w|work> What a bitch
287: [01:56:29] <JeremyRoundill> Haha
288: [01:56:32] <JeremyRoundill> Now you're equal :O
289: [01:56:43] <JeremyRoundill> Well
290: [01:56:47] <simon_w|work> bitch!
291: [01:56:49] * simon_w|work wins!
292: [01:56:50] <Kingy> I only have to say Joomla 25 times to win
293: [01:56:54] <JeremyRoundill> If you weren't at work :D
294: [01:57:03] <Kingy> Joomla is cool
295: [01:57:06] <Kingy> Jooma is fun
296: [01:57:20] <Kingy> Colinglebells: you say Joomla far too often
297: [01:57:23] <simon_w|work> JeremyRoundill, page refreshes every hour (well, that's how long the cache is)
298: [01:57:38] <JeremyRoundill> Yeah, but you're simon_w|work at the moment
299: [01:57:41] <JeremyRoundill> not simon_w
300: [01:57:42] <JeremyRoundill> :D
301: [01:57:45] <simon_w|work> Oh right
302: [01:57:48] <simon_w|work> Dammit
303: [01:58:04] <Kingy> ohh i'm second on deploynaut
304: [01:58:16] * simon_w|work should get around to adding alias handling
305: [01:58:51] * Hailwood has joined #silverstripe
306: [01:58:59] <simon_w|work> Also, Hamish
307: [01:59:02] <simon_w|work> Need to add that.
308: [01:59:10] <Kingy> not many people say gecko either
309: [01:59:24] <Kingy> or presto
310: [01:59:35] <simon_w|work> Well, presto is dead
311: [01:59:41] <Kingy> slut
312: [01:59:45] <Hailwood> Hey guys, any idea what would make $Image.setSize(300,300).URL return a link successfully but $Image.setSize(300,300).URL returns blank?
313: [01:59:46] <Kingy> that's quite low
314: [01:59:47] <Kingy> slut
315: [01:59:50] <Kingy> slut
316: [01:59:51] <Kingy> slut
317: [01:59:51] <Kingy> slut
318: [01:59:53] <Kingy> yay im top
319: [02:00:06] <simon_w|work> Hailwood, those are exactly the same
320: [02:00:34] <JeremyRoundill> Hahaha
321: [02:00:45] <Hailwood> Whoops! ah, $Image.URL is working, $Image.setSize(300,300).URL isn't
322: [02:00:49] * Stomach_ has joined #silverstripe
323: [02:01:16] <simon_w|work> Hailwood, resizing is failing. Lack of GD or permissions to create _resampled would do it
324: [02:01:40] <JeremyRoundill> My first guess is permissions :D
325: [02:01:51] <Hailwood> Hmm, well I chmodded the assets directory (-R) to 777 so it's not permissions!
326: [02:01:55] <JeremyRoundill> Haha
327: [02:01:57] <JeremyRoundill> dag, yo.
328: [02:02:31] <oddnoc> set all the permissions!
329: [02:02:45] <Hailwood> Pretty much ha. I'd never do that in prod obviously.
330: [02:02:56] <Hailwood> Is there any way to make the resizing a bit more verbose?
331: [02:03:00] <oddnoc> Anything in the error log?
332: [02:03:12] * Stomach quit (Ping timeout: 265 seconds)
333: [02:04:24] <JeremyRoundill> I'm guessing simon_w|work is right, yo.
334: [02:05:17] * Stomach_ quit (Ping timeout: 240 seconds)
335: [02:08:21] * Stomach has joined #silverstripe
336: [02:10:01] <Hailwood> Doesn't appear to be, I just cleared out my _resampled directories to force all images to regenerate, most of them are working I realized it's just some images that I create at runtime that aren't working
337: [02:10:07] <antmas> lol ss23 is on the swear list?
338: [02:10:33] <JeremyRoundill> Wiggity-wack, yo
339: [02:10:34] * kerosene_ has joined #silverstripe
340: [02:11:05] <Snowman23> antmas: :(
341: [02:11:54] * kerosene quit (Ping timeout: 265 seconds)
342: [02:12:10] * kerosene_ is now known as kerosene
343: [02:12:12] <oddnoc> Hailwood: You shouldn’t just mess around with the filesystem under assets/ (in general)
344: [02:13:23] * Stomach quit (Ping timeout: 272 seconds)
345: [02:13:31] <antmas> fuck
346: [02:14:01] <Hailwood> oddnoc: Care to elaborate?
347: [02:14:05] <antmas> my mate in AUS just popped the cap on his new IPA, sitting in 35 temps, playing BF4
348: [02:14:33] <oddnoc> Hailwood: SilverStripe tracks the assets in the database, so if you just delete the resampled items, SilverStripe won’t know that.
349: [02:15:02] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
350: [02:15:23] * capabilities quit (Changing host)
351: [02:15:23] * capabilities has joined #silverstripe
352: [02:15:29] <Hailwood> really? I knew it tracked the standard assets, didn't know it tracked resampled ones..
353: [02:16:01] <oddnoc> It tracks all the generated images
354: [02:16:24] <JeremyRoundill> antmas: That dude is living the life.
355: [02:16:30] <JeremyRoundill> antmas: did he brew it himself?
356: [02:17:18] <Hailwood> oddnoc: Which table? I can't see anything in the database for it.
357: [02:17:27] <Hailwood> JeremyRoundill: simon_w|work: Any ideas why an image created like this: https://gist.github.com/anonymous/6a7043126f9bd4748462 would be failing to resize? (note that the thumbnail image is downloaded successfully)
358: [02:17:47] <antmas> JeremyRoundill: yeah he's big on it
359: [02:18:00] <JeremyRoundill> Sick
360: [02:18:03] <JeremyRoundill> All-grain?
361: [02:18:26] <oddnoc> I’m oversimplifying - but if you delete a resized image that’s been placed in the rich text editor, it won’t come back without saving the page again, as a forinstance.
362: [02:18:39] <oddnoc> In your case, you might get away with running the FlushGeneratedImagesTask
363: [02:18:47] <JeremyRoundill> oddnoc sounds like he's on to it :)
364: [02:18:49] <antmas> JeremyRoundill: dunno dude
365: [02:18:59] <antmas> does cider, mostly IPAs and dark beers
366: [02:19:03] <JeremyRoundill> I made an extract IPA a while back.
367: [02:19:12] <JeremyRoundill> Not hoppy enough for me though :P
368: [02:19:14] <antmas> IPAs are real pick and mix eh
369: [02:19:18] <JeremyRoundill> More hops next time. :D
370: [02:19:24] <antmas> evern expensive ones can taste like hot trash
371: [02:19:29] <JeremyRoundill> Yeah, I like IPAs and dark beers.
372: [02:19:35] <JeremyRoundill> Yeah, depends what you like.
373: [02:19:40] <antmas> I like my pilserns
374: [02:19:44] <JeremyRoundill> And how hoppy your companion beers are.
375: [02:19:46] * antmas can't type
376: [02:19:49] <JeremyRoundill> Pilsners are good too. :D
377: [02:19:54] <antmas> Wheat beer is my favourite
378: [02:19:58] <JeremyRoundill> You can hop them up a fair bit.
379: [02:20:00] <antmas> dat banana taste
380: [02:20:06] <JeremyRoundill> And bubblegum.
381: [02:20:20] <JeremyRoundill> Sheesh, the first time I found out you can get beer that tastes like bubblegum.. :O
382: [02:20:31] <antmas> yeah I did the same hahaha!
383: [02:20:36] <JeremyRoundill> I like the Flensburger weisen.
384: [02:20:47] <JeremyRoundill> Dude, have you tried the Tuatara hefe weisen?
385: [02:20:57] <JeremyRoundill> Tastes like it's got tomato sauce in it. :P
386: [02:20:58] <antmas> yeah I tried it
387: [02:21:04] <antmas> it's pretty weird
388: [02:21:19] <antmas> Sprig and Fern do a good seasonal hefe weisen
389: [02:21:30] <irogue_> omg
390: [02:21:36] <irogue_> so many polices around auckland uni
391: [02:21:41] <irogue_> full lockdown, armed cops at every entrance
392: [02:21:43] <JeremyRoundill> I'll try it
393: [02:21:51] <irogue_> searching cars as they drive past
394: [02:21:54] <irogue_> helicopter looping overhead
395: [02:21:59] <JeremyRoundill> Did you bring a gun to school, irogue_?
396: [02:22:03] <irogue_> got back to work, quickly searched twittersr
397: [02:22:10] <irogue_> turns out Angela Merkel is speaking there at the moment
398: [02:22:19] <antmas> lol
399: [02:22:22] <antmas> prolly ebola
400: [02:23:30] <Kingy> so we have a weekly restrospetive meeting type thing
401: [02:23:35] <Kingy> important notes that came out
402: [02:23:47] <Kingy> next week we're calling it beertrospectives
403: [02:23:57] <Kingy> we're going to have a gaming night one night in the next couple of weeks
404: [02:24:07] <antmas> as in pc gaming?
405: [02:24:08] <Kingy> and we're now discussing how many beers you need to drink per day to finish a keg
406: [02:24:11] <antmas> or poker night?
407: [02:24:12] <Kingy> nah xbox
408: [02:24:36] <Kingy> and I made those rails noobs put #PHPMasterRace in bold
409: [02:25:27] <JeremyRoundill> 50L keg? That's 150 beers.
410: [02:25:38] <JeremyRoundill> #math
411: [02:25:39] <antmas> if pints are 500ml
412: [02:25:40] <Kingy> yes lol
413: [02:25:44] <JeremyRoundill> 100 beers
414: [02:25:49] <JeremyRoundill> Imperial pint
415: [02:25:52] <antmas> are pints 500ml in nz?
416: [02:25:53] <JeremyRoundill> 586ml
417: [02:25:56] <antmas> ah right
418: [02:26:02] <Kingy> someone just said 25 beers per day
419: [02:26:05] <JeremyRoundill> *568
420: [02:26:26] <antmas> sounds like a challenge
421: [02:26:39] <Kingy> im a light weight these days
422: [02:26:57] <antmas> I'm the opposite :(
423: [02:27:04] <antmas> too many beersies lately
424: [02:28:09] <Kingy> lol
425: [02:29:08] <antmas> had some Founder's beer last night
426: [02:29:11] <antmas> was yuck :/
427: [02:29:23] <JeremyRoundill> Founders is pretty good.
428: [02:29:26] <JeremyRoundill> What did you drink?
429: [02:29:30] <antmas> IPA
430: [02:29:38] <JeremyRoundill> Not a hoppy hop fan?
431: [02:29:53] <antmas> usually yeah, but there's is too bitter
432: [02:30:04] <JeremyRoundill> It gets more bitter than that :)
433: [02:30:09] <antmas> :P
434: [02:30:26] <antmas> pro-tip: don't drink Tasman Reserve Lager from Sprig :P
435: [02:30:32] <antmas> that shit has something weird in it
436: [02:30:38] <antmas> turns people into cunts
437: [02:31:51] <Kingy> export citrus is where it's at
438: [02:32:45] <antmas> yeah that isn't too bad
439: [02:32:50] <antmas> light as well isn't it?
440: [02:33:09] <Kingy> yeah
441: [02:33:18] <Kingy> which is good for those nights where you have to drive
442: [02:34:09] <Colinglebells> just had a client rename the site and change it's theme to default... while adding an event page...
443: [02:34:14] <Colinglebells> just... how
444: [02:34:19] <Colinglebells> how do they do it?
445: [02:34:50] <adrexia> perhaps they are lonely?
446: [02:35:12] <adrexia> or drunk
447: [02:35:20] <irogue_> 15:33:18] <Kingy> which is good for those nights where you have to drive
448: [02:35:27] * KF5WYX quit (Quit: Page closed)
449: [02:35:43] <irogue_> PSA: alcohol limit lowered
450: [02:35:53] * capabilities is now known as slug------------
451: [02:35:56] <Kingy> dec 1 isn't it?
452: [02:36:11] <Kingy> also 3-4 light beers over 2-3 hours still won't cross the limit
453: [02:36:12] <Kingy> :P
454: [02:36:17] <antmas> hmmmm awesome
455: [02:36:20] <antmas> bad class error
456: [02:36:20] <Kingy> hell 3-4 normal beers over than timeframe would be fine lol
457: [02:36:22] <irogue_> Kingy: yep
458: [02:36:38] <irogue_> seems like a logical way theyve done it too
459: [02:36:51] <irogue_> the new limit (250) isn't insta conviction, but fine and 50 demerits
460: [02:36:56] <willr> Kingy Amstel Lights for everyone then.
461: [02:36:59] <Kingy> if you get caught between the new and old limit it's not bad
462: [02:37:08] <Kingy> yeah
463: [02:37:26] <Kingy> aussie is a bit like that isn't it, if you're just over you get bugger all
464: [02:37:30] <irogue_> 50 demerits means if you get snapped twice at that limit, you're fucked. so you basically get a warning shot (unless youve already been a naughty boy and have demerits)
465: [02:37:34] <Kingy> willr: export citrus!!
466: [02:37:43] <Kingy> irogue_: I'm down 20 :(
467: [02:38:06] * veb has joined #silverstripe
468: [02:38:14] <irogue_> mine will be expired by now
469: [02:39:15] <Kingy> i'm leaving the country soon
470: [02:41:49] * antmas has 30 :(
471: [02:41:52] * slug------------ is now known as capabilities
472: [02:41:56] <antmas> is it 2 years to get them back?
473: [02:42:13] * capabilities is now known as hamror
474: [02:42:15] <oddnoc> In a controller, do I have to $form->saveInto($this) or $form->saveInto($this->dataRecord)?
475: [02:43:43] <antmas> I wonder how many people get caught drink driving on the 30th :P
476: [02:45:14] <Kingy> ok prrpd
477: [02:45:16] <Kingy> peeps
478: [02:45:20] <Kingy> i'm outta here
479: [02:45:29] <Kingy> antmas: JeremyRoundill Colinglebells i'll be coming for you tonight
480: [02:45:30] <JeremyRoundill> Adios
481: [02:45:31] <Kingy> or tomrorow
482: [02:45:32] <JeremyRoundill> Haha
483: [02:45:33] <Kingy> madmatt also
484: [02:45:39] <JeremyRoundill> I'll see you on the internet then!
485: [02:45:44] <Kingy> huzzah!
486: [02:45:56] <antmas> ciao
487: [02:46:17] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
488: [02:49:48] <antmas> remind me not to push code on a friday
489: [02:49:50] <antmas> :|
490: [02:49:56] <JeremyRoundill> Haha
491: [02:50:00] <JeremyRoundill> You're a manus.
492: [02:50:11] <JeremyRoundill> Weekend support is just silly.
493: [02:50:54] <antmas> well, it's not a friday/weekend dealio
494: [02:51:11] <antmas> just no one told me the customer service people were doing late forms work in there when I pushed
495: [02:51:14] * travis-ci has joined #silverstripe
496: [02:51:15] <travis-ci> silverstripe/silverstripe-framework#3621 (3.1.7 - 4ece737 : Damian Mooyman): The build was broken.
497: [02:51:15] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/f035e2b9d44a...4ece73722063
498: [02:51:15] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/40957990
499: [02:51:15] * travis-ci has left #silverstripe
500: [02:51:21] <antmas> and then boom, cms bad class error
501: [02:53:18] * veb has joined #silverstripe
502: [02:55:05] <antmas> wholy shit, this the approx size to scale of the comet rosetta was involved with http://io9.com/now-you-can-truly-appreciate-the-size-of-comet-churymov-1623548762
503: [02:55:28] * kerosene quit (Ping timeout: 265 seconds)
504: [02:55:33] <antmas> that's downtown LA
505: [02:56:27] <simon_w|work> If you didn't thinking intercepting some other space object 10 years away
506: [02:56:30] <simon_w|work> was hard enough
507: [02:57:07] <irogue_> [15:49:48] <antmas> remind me not to push code on a friday
508: [02:57:24] <irogue_> client wanted us to do a friday night deployment of a fairly major release
509: [02:57:24] <irogue_> NOPE NOPE NOPE NOPE
510: [02:57:45] <antmas> lol
511: [03:00:45] * Stomach has joined #silverstripe
512: [03:01:45] * abitran quit (Read error: Connection reset by peer)
513: [03:02:19] * abitran has joined #silverstripe
514: [03:02:58] * willr quit (Quit: willr)
515: [03:06:45] * antmas_ has joined #silverstripe
516: [03:08:05] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
517: [03:08:08] * Tanger quit (Quit: Tanger)
518: [03:08:16] * antmas quit (Ping timeout: 246 seconds)
519: [03:09:51] * veb has joined #silverstripe
520: [03:10:38] * antmas_ is now known as antmas
521: [03:12:12] * oddnoc quit (Quit: beer:30)
522: [03:12:28] * veb quit (Client Quit)
523: [03:13:33] <Kingy> miss me
524: [03:13:38] * travis-ci has joined #silverstripe
525: [03:13:39] <travis-ci> silverstripe/silverstripe-framework#3622 (3.1.7 - 4ece737 : Damian Mooyman): The build is still failing.
526: [03:13:39] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.7
527: [03:13:39] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/40959248
528: [03:13:39] * travis-ci has left #silverstripe
529: [03:13:54] <antmas> Kingy: terribly
530: [03:14:08] <Kingy> that's what I like to hear
531: [03:15:53] <madmatt> Kingy: bring it
532: [03:16:05] <Kingy> ohh it's brung
533: [03:17:09] * pippy quit (Quit: Page closed)
534: [03:21:35] <Kingy> JeremyRoundill is the cs map with the house and massive sewers in cs:go
535: [03:21:38] <Kingy> I can't even remember the name
536: [03:21:45] <Kingy> oh militia
537: [03:24:52] <Stomach> miltia is awesome
538: [03:25:05] <Stomach> best cswc3 map
539: [03:25:13] <Colinglebells> bit one sided for the T's though
540: [03:25:14] * Azure quit (Ping timeout: 245 seconds)
541: [03:26:11] <Stomach> yeah if you breach sewers you are sweet though
542: [03:26:15] <Stomach> flashbangs
543: [03:26:16] <Stomach> boom
544: [03:26:17] <Stomach> headshot!
545: [03:26:41] <Colinglebells> I am so over Office
546: [03:26:43] <Stomach> this is what I miss
547: [03:26:44] <Stomach> http://www.counterzone.com.br/imagens/mapas/awp_/awp_map.jpg
548: [03:26:47] * mirrors has joined #silverstripe
549: [03:26:54] <Colinglebells> when I was playing, it would be the map eveyone would vote for... every single tiem
550: [03:27:26] <Colinglebells> Stomach: you ever play this? http://jday.in.ua/uploads/map/img/5037f95132ffe.jpg
551: [03:27:50] <antmas> I like dust
552: [03:27:52] <antmas> :P
553: [03:27:57] <Colinglebells> antmas: N00b
554: [03:27:59] <Colinglebells> ;D
555: [03:28:08] <antmas> haha dat contoversy
556: [03:28:49] <mirrors> Hey there everyone....Has anyone ever used advanced workflow on sitetree objects that are managed in a model admin
557: [03:29:07] <Colinglebells> mirrors: urg that sounds painful
558: [03:29:47] <adrexia> was anyone here still wanting a google inbox invite?
559: [03:29:48] * travis-ci has joined #silverstripe
560: [03:29:48] <travis-ci> silverstripe/silverstripe-cms#1082 (3.1.7 - 708e706 : Damian Mooyman): The build has errored.
561: [03:29:48] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.7
562: [03:29:48] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/40959263
563: [03:29:48] * travis-ci has left #silverstripe
564: [03:29:51] <Kingy> holy shit Stomach AWP_MAP YES
565: [03:30:29] <antmas> adrexia: got mine the day I asked for it
566: [03:30:36] <adrexia> sweet :)
567: [03:30:44] <adrexia> they have given me 5 more invites
568: [03:30:53] <antmas> yeah same here
569: [03:30:54] <adrexia> which is up fromn the usual 3
570: [03:31:21] <antmas> tbh the people I have given them too have all said inbox is crazy confusing
571: [03:31:27] <antmas> I'm slightly inclined to agree
572: [03:31:28] <Kingy> adrexia I got mine, but can't use it coz my email is linked to org :(
573: [03:31:46] <adrexia> I think they are ramping up to unlimited invites
574: [03:32:04] <Kingy> can send one to my non org gmail if you're that way inclined :D
575: [03:32:13] <adrexia> antmas, I like it a lot
576: [03:32:32] <adrexia> but I was already using other products that did the same thing
577: [03:32:42] <antmas> adrexia: I accidentaly tried the swipe thing and deleted like 50 emails :(
578: [03:33:01] <adrexia> I bet they aren't actually deleted
579: [03:33:11] <antmas> yeah I know, they're probably archived
580: [03:33:16] <adrexia> yep
581: [03:33:27] <adrexia> or in "Done"
582: [03:33:55] <adrexia> it's a zero inbox sort of tool
583: [03:34:13] <adrexia> to be honest I just like that snooze is a native feature now
584: [03:34:57] <adrexia> Kingy yep, I could. what's your address?
585: [03:35:15] <Kingy> pm'd
586: [03:35:20] <adrexia> sweet
587: [03:35:53] <adrexia> done
588: [03:36:04] <Kingy> thanks :D
589: [03:36:08] <antmas> later all, have a good weekend :D
590: [03:36:21] <antmas> Kingy: see you guys online at some point too :P
591: [03:36:39] <Kingy> hells yes you will
592: [03:36:55] <Colinglebells> cya antmas
593: [03:37:14] <Colinglebells> I'll try and stop by from CS:GO over the weekend, prolly at night
594: [03:37:19] <Colinglebells> *for
595: [03:38:17] <Kingy> sweet
596: [03:38:23] <Kingy> i doubt i'll be up late tonight
597: [03:38:26] <Kingy> but tomorrow night i will
598: [03:38:31] <Colinglebells> yay
599: [03:38:44] <Kingy> so I could manage your 8pm haha
600: [03:38:50] * Colinglebells is now known as Colin[pi]
601: [03:38:59] <Colin[pi]> xmas fad wore off?
602: [03:39:57] <Kingy> yeah that and my BNC tends to just keep me at Kingy lol
603: [03:40:07] <Kingy> Snowman23 is keeping the spirit alive
604: [03:40:28] * antmas quit (Ping timeout: 246 seconds)
605: [03:41:35] <Stomach> Colin[pi] - nope havent played that much
606: [03:41:57] * Stomach is now known as StomachFullOfTur
607: [03:41:59] <Colin[pi]> Stomach: glass maps are the best, shoot out the glass under players and they fall into a massive funnel lol
608: [03:42:02] * StomachFullOfTur is now known as Stomach
609: [03:42:11] <Stomach> yeah, surf map :D
610: [03:43:27] * travis-ci has joined #silverstripe
611: [03:43:27] <travis-ci> silverstripe/silverstripe-framework#3623 (3.1 - 7b89c17 : Damian Mooyman): The build passed.
612: [03:43:27] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/8aee968ab183...7b89c1734901
613: [03:43:27] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/40960685
614: [03:43:27] * travis-ci has left #silverstripe
615: [03:43:40] <mirrors> Colin[pi]: I dont see why. The installation document mentions it https://github.com/silverstripe-australia/advancedworkflow/#installation
616: [03:43:45] <mirrors> but that isnt working
617: [03:44:15] <adrexia> it's november. Xmas is over a month away!
618: [03:44:24] <Colin[pi]> adrexia: yes, yes it is
619: [03:44:39] <irogue_> I resist anything relating to xmas until december
620: [03:45:32] <Colin[pi]> I get very bah humbug at xmas these days
621: [03:47:44] <Stomach> ikr
622: [03:47:49] <Stomach> i dont even get a super soaker
623: [03:47:54] <Stomach> wheres the fucking super soaker
624: [03:48:54] <simon_w|work> It was already hotter outside than inside when I got to work (so, >21 degrees). Fuck December-February.
625: [03:49:00] <Stomach> https://www.youtube.com/watch?v=lWWJpQugo-Y
626: [03:50:05] <Colin[pi]> simon_w|work: I'M MELTING
627: [03:55:05] * hamror is now known as uralsugs
628: [03:55:29] * spekulatius quit (Quit: Leaving)
629: [03:58:32] <Colin[pi]> Stomach: AWESOME
630: [04:00:28] * Phlunk3 quit (Remote host closed the connection)
631: [04:01:34] * veb has joined #silverstripe
632: [04:02:52] * shorty quit (Ping timeout: 246 seconds)
633: [04:03:28] <Stomach> Colin[pi] - until it blows up in your hands of course :P
634: [04:03:41] <Colin[pi]> Stomach: well there is *that*...
635: [04:04:32] <Colin[pi]> Stomach: see this one before? https://www.youtube.com/watch?v=TWeJsaCiGQ0
636: [04:05:27] <Stomach> railgun!
637: [04:05:31] * Azure has joined #silverstripe
638: [04:05:33] <Colin[pi]> so sweet
639: [04:05:44] <Stomach> one of my friends built one in dunedin a few years ago
640: [04:05:48] <Stomach> it was dangerous as fuck
641: [04:06:04] * Colin[pi] nods
642: [04:06:17] * Hailwood quit (Remote host closed the connection)
643: [04:06:26] <Stomach> mostly because of the metal he used for the rods
644: [04:06:41] <Stomach> kept on demagnetizing and switching polarity
645: [04:06:46] <Stomach> so suddenly nail in the roof etc
646: [04:06:50] <Stomach> :S
647: [04:07:08] <Colin[pi]> damn...
648: [04:09:44] <Colin[pi]> Stomach: https://www.youtube.com/watch?v=Op9THNIVG0I
649: [04:09:58] <Colin[pi]> listen to what he says at 1:00 about the range
650: [04:11:11] * Tanger has joined #silverstripe
651: [04:15:28] * Olliepop quit (Ping timeout: 246 seconds)
652: [04:16:32] <simon_w|work> http://i.imgur.com/6maXBbe.jpg
653: [04:21:19] <Colin[pi]> simon_w|work: ?
654: [04:22:59] <Stomach> 7k?
655: [04:23:01] <Stomach> holy balls
656: [04:23:17] <Stomach> simon_w|work o_O
657: [04:25:20] * irogue_ quit (Quit: Textual IRC Client: www.textualapp.com)
658: [04:37:06] <Colin[pi]> simon_w|work: how familiar are you with the demonic workings of SSTemplateParser?
659: [04:37:28] <simon_w|work> Colin[pi], Hamish wrote it
660: [04:37:31] <Colin[pi]> oh
661: [04:37:33] <Colin[pi]> oh god
662: [04:37:35] <Colin[pi]> oh no
663: [04:37:41] <simon_w|work> And he wrote the program for turning the grammar into the parser
664: [04:37:44] <Colin[pi]> that explains it then
665: [04:37:53] * jedateach quit (Ping timeout: 244 seconds)
666: [04:38:23] <Colin[pi]> well, you know that bug I get post-install of ss3? the infinite loop of flushing?
667: [04:39:36] <Colin[pi]> simon_w|work: did I ever discuss that with you before?
668: [04:39:48] <simon_w|work> Yeah
669: [04:40:00] <Colin[pi]> well the bug is still there lol
670: [04:40:04] <Colin[pi]> it has been for 2 years
671: [04:40:14] <Colin[pi]> and it drives me nuts, if such a little thing
672: [04:40:22] <Colin[pi]> so I did some digging today
673: [04:40:29] <Colin[pi]> template parser is dying
674: [04:40:44] <Colin[pi]> and it's all caused by line 19 here: https://github.com/silverstripe/silverstripe-cms/blob/3.1/templates/Includes/Install_successfullyinstalled.ss
675: [04:40:48] * clairef quit (Quit: Leaving.)
676: [04:40:53] <Colin[pi]> what is weird about that line? just the length?
677: [04:41:00] <Colin[pi]> because if I shorten it, it fixes the bug
678: [04:41:51] <simon_w|work> Strings inside strings? Does it handle that fine?
679: [04:42:50] <Colin[pi]> simon_w|work: seems to be just length.. if I shorten that line, it works, if I go with the default length, I get a 302
680: [04:42:59] <Colin[pi]> every time
681: [04:43:07] <simon_w|work> How do you shorten it?
682: [04:43:09] <Colin[pi]> which causes it to go into an infinite flush loop
683: [04:43:35] <Colin[pi]> just removed some of the text from the alternative string after InstallSecurityWarning
684: [04:48:25] * Kingy is now known as Kingy[a]
685: [04:50:07] * cloph_away has joined #silverstripe
686: [04:50:14] <Colin[pi]> simon_w|work: pass in a string of 324 chars, it works, 325, it dies
687: [04:50:17] <Colin[pi]> wtf
688: [04:50:31] <simon_w|work> Colin[pi], haha
689: [04:50:39] <simon_w|work> Isn't Hamish's generated code great? :p
690: [04:50:42] <Colin[pi]> like what in the actual...
691: [04:50:45] <Colin[pi]> how.. just how
692: [04:51:05] * cloph quit (Ping timeout: 272 seconds)
693: [04:52:25] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
694: [04:53:10] <Colin[pi]> fuck it, I'll dig more later
695: [05:05:00] * clairef has joined #silverstripe
696: [05:05:35] * clairef has left #silverstripe
697: [05:06:25] <Stomach> Colin[pi] - :D
698: [05:06:28] <Stomach> thats an amazing bug
699: [05:12:27] * travis-ci has joined #silverstripe
700: [05:12:28] <travis-ci> silverstripe/silverstripe-cms#1082 (3.1.7 - 708e706 : Damian Mooyman): The build passed.
701: [05:12:28] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.7
702: [05:12:28] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/40959263
703: [05:12:28] * travis-ci has left #silverstripe
704: [05:31:04] * mirrors quit (Ping timeout: 246 seconds)
705: [05:35:28] * Stomach quit (Quit: zzz)
706: [05:49:41] * Shrike_Finland has joined #silverstripe
707: [05:53:30] <uralsugs> whats the best way to generate a css file with some color codes from a DO for teh front end
708: [05:53:34] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
709: [05:55:17] <MichalKleiner> uralsugs: does it have to be a file?
710: [05:55:28] <MichalKleiner> is it heaps of css?
711: [05:55:43] <MichalKleiner> for really specific use cases I wouldn't mind inline
712: [05:55:53] <uralsugs> i was thinking i could just inject it in, but if it's a file it's more useful long term because it's kind of a brand-theme template
713: [05:56:33] <MichalKleiner> if it's actually not generated based on some dynamic properties, why not to have it as a themeCSS?
714: [05:57:44] <uralsugs> because each site (multisite module) has its own theme object already and i would prefer to have a dynamic css file that gets loaded in so it's still based on a template that's easy to edit and in a logical place
715: [05:58:03] <uralsugs> but the actual core 'theme' i've built to handle the variations between brands
716: [06:01:19] * Shrike_Finland quit (Quit: Leaving.)
717: [06:08:01] <MichalKleiner> you can load existing css based on subsiteID or domain or anything..
718: [06:08:02] * micmania1 quit (Quit: micmania1)
719: [06:08:24] <MichalKleiner> I though it was about generating a css file based on some dynamic properties and including that one
720: [06:08:34] <uralsugs> yeah i've just never used templating variables in css before
721: [06:08:44] <uralsugs> it is
722: [06:08:47] <MichalKleiner> you don't have to
723: [06:09:03] <uralsugs> point is, because it's 90% static, i'd rather it feel like a normal css file for anyone making changes
724: [06:09:11] <uralsugs> but i want to (specifically) inject color codes into it
725: [06:09:43] <MichalKleiner> you can have general.css, whatever1.css etc for each site and then based on a subsiteID do Requirements::css("/css/whatever1.css", "screen,projection");
726: [06:10:09] <MichalKleiner> you can probably get SASS or LESS compiled as well..
727: [06:10:30] <MichalKleiner> or... get CSS generated by a Controller provided with proper headers etc.
728: [06:11:08] <MichalKleiner> and link that as usual css but it will be something like css_generator.php instead of style.css and return generated file
729: [06:11:17] <MichalKleiner> heaps of options
730: [06:11:26] <uralsugs> okay sounds like i need to do some reading
731: [06:12:35] * simon_w|work quit (Quit: Ping timeout: your mum)
732: [06:12:36] <MichalKleiner> I don't really get the use case now and structure of the sytstem so can't point out a solution that would fit best..
733: [06:13:48] <uralsugs> do you know if there is a pretty printer in the CMS for CMS / SS specific data structures? I just want to get something with a bit of information in my log file now and again
734: [06:15:23] <MichalKleiner> not sure.. is that more about who and how processes the log?
735: [06:15:54] <MichalKleiner> but I'm not aware of such thing.. not related to SS that much though, just a user/backender :-)
736: [06:16:03] <uralsugs> i have a logger i use for a few projects that i want to feed my SS sites into as well
737: [06:16:07] <uralsugs> ok
738: [06:16:29] <MichalKleiner> there should be a hook to get that working I reckon
739: [06:17:37] * kerosene has joined #silverstripe
740: [06:17:38] <MichalKleiner> have a look at extending and registering your custom logger - http://api.silverstripe.org/3.1/class-SS_Log.html
741: [06:18:17] <MichalKleiner> if it's a kind of thing you're after
742: [06:18:52] * micmania1 has joined #silverstripe
743: [06:19:52] * r_hector has joined #silverstripe
744: [06:24:33] * veb has joined #silverstripe
745: [06:30:25] * Shrike_Finland has joined #silverstripe
746: [06:47:21] * Kingy[a] is now known as Kingy
747: [06:47:39] <Kingy> Colin[pi] be coming to play??? :D
748: [06:47:45] <uralsugs> something like compass would be best aye
749: [06:57:59] * UncleCheese has joined #silverstripe
750: [06:59:38] * Shrike_Finland quit (Quit: Leaving.)
751: [07:10:35] <MichalKleiner> uralsugs: https://github.com/silverstripe-labs/silverstripe-compass
752: [07:10:52] <MichalKleiner> I
753: [07:11:29] <MichalKleiner> sorry.. I'd say generated stylesheet could work for this use case based on the little I understood
754: [07:13:10] <uralsugs> if they'd only added constants to style sheets when they first came up with them :)
755: [07:17:31] * micmania1 quit (Quit: micmania1)
756: [07:20:42] <MichalKleiner> there is heaps of things in development and life that would make other things significantly easier if they happened... sorry :-DD
757: [07:24:49] <veb> Kingy: ur fugly
758: [07:31:29] * Shrike_Finland has joined #silverstripe
759: [07:43:39] * wmk has joined #silverstripe
760: [07:44:44] <simon_w> Ah, back in the land of air-conditioning
761: [07:45:10] <simon_w> Kingy, what was the thing you wanted added?
762: [07:48:10] <simon_w> Oh, was JeremyRoundill
763: [07:51:00] * Eliseth quit (Remote host closed the connection)
764: [07:51:44] * stefanh_ has joined #silverstripe
765: [07:52:03] * Eliseth has joined #silverstripe
766: [07:52:21] * MichalKleiner is now known as MK_Toast
767: [07:52:33] * MK_Toast is now known as MK_ToastMartinbo
768: [07:52:44] * MK_ToastMartinbo is now known as MK_ToastMrtnbrgh
769: [07:56:29] <Kingy> madmatt accept and play :D
770: [07:59:00] <simon_w> http://logs.simon.geek.nz/stats.php#hamish
771: [07:59:06] <simon_w> Haha, not surprised
772: [07:59:11] * lerni_ has joined #silverstripe
773: [08:03:26] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
774: [08:16:52] * r_hector quit (Quit: Leaving.)
775: [08:20:16] <veb> Kingy: fuggggly
776: [08:22:12] * arnhoe has joined #silverstripe
777: [08:27:17] <Tanger> Hey guys, is it significantly faster to use DataObjects instead of pages? Let's say I was pulling in multiple objects, each having a Title, Content and an image.
778: [08:34:25] * Kingy is now known as Kingy[a]
779: [08:44:13] <wmk> pulling in -> import from somewhere?
780: [08:44:23] <wmk> or just in terms of "grab from DB" ?
781: [08:47:40] <Tanger> Sorry, grab from db
782: [08:47:49] <Tanger> A page would display all the objects inline
783: [08:48:21] <Tanger> ie it would take the title and content from each object and display it on the holding page
784: [08:48:25] <wmk> make sure you cache the result ;)
785: [08:48:44] <wmk> it shouldn't matter if you take pages or plain DOs
786: [08:51:51] * stefanh has joined #silverstripe
787: [08:51:52] * stefanh_ quit (Read error: Connection reset by peer)
788: [08:52:16] <Tanger> wmk: Thanks mate. Will definitly do so.
789: [08:56:18] * Otterpocket has joined #silverstripe
790: [08:58:00] * kerosene_ has joined #silverstripe
791: [08:59:53] * kerosene quit (Ping timeout: 264 seconds)
792: [09:01:53] * Stomach has joined #silverstripe
793: [09:03:48] * Shrike_Finland quit (Quit: Leaving.)
794: [09:06:34] * ss31noob has joined #silverstripe
795: [09:06:44] * Shrike_Finland has joined #silverstripe
796: [09:07:14] <ss31noob> hi.. anyone knows if silverstripe 3 has a way to get all the obsolete pagetypes?
797: [09:11:04] * stefanh quit (Quit: This computer has gone to sleep)
798: [09:12:16] * Varis has joined #silverstripe
799: [09:12:54] <Eliseth> Ok, another stupid beginner-question incoming...
800: [09:14:03] <Eliseth> In my .php file I have a public function RenderList($str) in my extended Page_Controller that returns a string.
801: [09:14:28] <Eliseth> I expect to see that string as output on my page when calling $RenderList from my page template
802: [09:14:33] <Eliseth> But I get nothing
803: [09:14:49] <wmk> does it have a param?
804: [09:14:58] <wmk> RenderList($foo) ??
805: [09:15:04] <wmk> if not try getRenderList()
806: [09:15:24] <wmk> (but getters don't expect params...)
807: [09:15:28] <Eliseth> Not yet, trying to get it to work without putting something in first :)
808: [09:15:42] <wmk> getRenderList()
809: [09:17:16] <Eliseth> Still nothing ><
810: [09:17:45] <wmk> xdebug or code paste ;)
811: [09:17:54] <Eliseth> What's that?
812: [09:18:08] <wmk> xdebug is a php debugger for your favourite IDE
813: [09:18:28] <wmk> code paste: paste your example code at sspaste.org so we can have a look at it and maybe find the error
814: [09:20:26] <Pyqwehk> ovaneet coconut
815: [09:20:30] <Pyqwehk> SWEATS
816: [09:20:40] <Pyqwehk> which smells as bad as it sounds
817: [09:21:21] * spronk2 has joined #silverstripe
818: [09:21:21] <Eliseth> http://www.sspaste.com/paste/show/5465c475efc83
819: [09:21:25] <Eliseth> Like that then
820: [09:22:09] <wmk> no, vice versa
821: [09:22:24] <wmk> if you don't have a param in your Template you need getRenderList() in your controller
822: [09:22:44] <wmk> and $RenderList() in the template
823: [09:22:47] <wmk> ---
824: [09:23:05] <Eliseth> And once I do want to parse my multiline text to it? It changes?
825: [09:23:13] <wmk> if you want a param in your method you need $RenderList('Foo') in you template and RenderList($param) in your controller
826: [09:24:01] <simon_w> Eliseth, are you inside a <% with %> or <% loop %>?
827: [09:24:04] <wmk> where does that string come from?
828: [09:24:18] <Eliseth> @simon_w Yes
829: [09:24:24] <wmk> simon_w, right
830: [09:24:25] <simon_w> Eliseth, use $Top.RenderList
831: [09:24:37] <wmk> scope issue
832: [09:24:42] <Pyqwehk> scope, just like any other lang
833: [09:24:51] <wmk> Eliseth, you didn't paste the template
834: [09:26:04] <ss31noob> hi.. anyone knows if silverstripe 3 has a way to get all the obsolete pagetypes?
835: [09:26:21] <wmk> obsolete pagetypes?
836: [09:26:21] <simon_w> ss31noob, it doesn't
837: [09:26:55] * simon_w supposes he should cook dinners
838: [09:27:00] <Eliseth> wmk I'm sorry, I didn't. Didn't realise the loop was important... So much to learn...
839: [09:27:13] <wmk> Eliseth, yup. every day. for everyone of us
840: [09:27:20] <wmk> maybe except simon_w ;)
841: [09:28:30] <Eliseth> Yes! It works! Thanks wmk & @simon_w :)
842: [09:30:07] <wmk> cool
843: [09:30:33] <Tanger> Have a good weekend guys!
844: [09:30:37] * Tanger has left #silverstripe
845: [09:31:14] <ss31noob> hmm okie.. so i need to check it by creating my own method then
846: [09:31:44] <Eliseth> "<Pyqwehk> scope, just like any other lang" - I don't know any language or programming prior to starting this adventure, so getting there step by step... Googling "scope" now :P
847: [09:35:51] <wmk> ss31noob, select distinct ClassName from SiteTree where ClassName is not in (list, of, pagetypes)
848: [09:36:50] * spronk2 quit (Quit: I may need a longer sleep timer...)
849: [09:37:03] <wmk> to version page blocks or not to version them
850: [09:37:37] <wmk> Zauberfisch, how did you manage responsivenes with your page blocks module?
851: [09:41:00] * Stomach quit (Quit: zzz)
852: [09:47:38] <ss31noob> wmk, will do distinct ClassName and check if that Class exists in the code.. since its gonna be difficult for me to find all those pagetypes that we are not using anymore
853: [09:55:32] <wmk> yup
854: [09:55:36] <wmk> something like that
855: [09:55:46] <wmk> make a task or report and release the code
856: [09:55:51] <wmk> could be useful for others
857: [10:00:54] <ss31noob> will do.. but btw can we republish a page and change the pagetype using its SiteTree ID?
858: [10:01:03] <wmk> yup
859: [10:01:18] <wmk> $page->ClassName = 'MyPageType'
860: [10:01:31] <wmk> $page->write(); //stage
861: [10:01:46] <ss31noob> since i have the data of those obsolete pages in my database.. i wanted to change them to a simple Page..
862: [10:02:26] <wmk> $page->doPublish()
863: [10:02:32] <ss31noob> but it seems like that updating their ClassName in the SiteTree will not work unless you save and Publish them
864: [10:03:02] <wmk> of course you need to save and publish them
865: [10:03:09] <ss31noob> but $page will not exist.. because the class was removed already
866: [10:03:22] <wmk> you can still get the page by ID
867: [10:03:28] <wmk> will be treated as page
868: [10:03:39] <ss31noob> so all i have is to get the data manually by an SQL command..
869: [10:03:39] <wmk> afaik
870: [10:03:54] <wmk> 1) get the obsolete page types
871: [10:04:17] <wmk> 2) SiteTree::get()->filter(array('ClassName' => 'OldPage');
872: [10:04:26] <wmk> 3) change page type, save, publish
873: [10:04:43] <wmk> 4) make a task for it and release
874: [10:05:11] <ss31noob> ahaaa okie let me try it
875: [10:09:31] * stefanh has joined #silverstripe
876: [10:16:33] * caamic30 has joined #silverstripe
877: [10:19:11] <Zauberfisch> wmk: not sure what you mean
878: [10:19:11] * Varis is now known as Copperis
879: [10:19:42] <Zauberfisch> both of my implementations are CMS specific. if I where to open source them, they would only contain the CMS parts, no frontend
880: [10:20:32] <wmk> but how did you specify the responsive stuff?
881: [10:20:44] <Pyqwehk> css I suppose :P
882: [10:20:49] <wmk> e.g. if it's a 2 col
883: [10:23:12] <wmk> did you wrap some blocks in a container to build a kind of "row" or susy container?
884: [10:25:32] <Pyqwehk> lol, find a comment block. It opens with: //MUCH INTENSIVE lots slow, wow.
885: [10:26:36] <Pyqwehk> <3 past me :D
886: [10:29:48] <Colin[pi]> now why would SSTemplateParser be dying on a _t call receiving a string of 325 chars vs a string of 324 chars?
887: [10:30:03] <Colin[pi]> what's so special about that extra char -_-
888: [10:31:15] <Pyqwehk> Colin[pi]: overflow!
889: [10:31:30] <Pyqwehk> just save time and write to 0x000000 instead.
890: [10:31:33] <Pyqwehk> that'll work.
891: [10:31:45] <Colin[pi]> Pyqwehk: trying to wade through the template parser is like hammering nails through my dick doe :(
892: [10:31:52] <Pyqwehk> doe?
893: [10:31:57] <Colin[pi]> though
894: [10:32:02] <Pyqwehk> a deer!
895: [10:32:07] <Pyqwehk> A female deer.
896: [10:32:11] <Colin[pi]> :P
897: [10:32:21] <Pyqwehk> raeeeeeee, a drop of golden sun!
898: [10:32:40] <Pyqwehk> The hills are alive motherfucker, WHAT HAVE YOU DONE
899: [10:32:47] <Colin[pi]> :D
900: [10:33:47] <Colin[pi]> let's look at SSTemplateParser... hmm nope, that doesn't make sense... lets look at the non-compiled version... well fuck that doesn't make sense either
901: [10:33:59] * Colin[pi] shakes fist at Hamish
902: [10:34:50] <Pyqwehk> give it all the chars.
903: [10:35:08] <Pyqwehk> Colin[pi]: translate it in controller, call it from template.
904: [10:35:19] <Pyqwehk> Not ideal, but I'm wondering if it'll work.
905: [10:35:32] <Pyqwehk> ie, is it issue with template, or is it issue with _t
906: [10:35:47] <Colin[pi]> Pyqwehk: will explain
907: [10:36:16] <Colin[pi]> the SS3 installer for me on windows has got itself stuck in an infinite flush loop post install for 2 years, every single version
908: [10:36:32] <Colin[pi]> not a huge biggie, but it still makes my eyebrow twitch
909: [10:36:41] <Colin[pi]> so today I said fuck it, gonna figure out why it does that
910: [10:36:45] * caamic30 quit (Quit: caamic30)
911: [10:36:51] <Colin[pi]> traced it to this line, line 19 here: https://github.com/silverstripe/silverstripe-cms/blob/3.1/templates/Includes/Install_successfullyinstalled.ss
912: [10:37:10] <Colin[pi]> that string 'For security reasons...'
913: [10:37:23] <guzzlefry> 0.o
914: [10:37:25] <Colin[pi]> if it's 324 chars or less, works, if it's more, it fucks up
915: [10:37:33] <Pyqwehk> Colin[pi]: fix your fucking webserver, gosh.
916: [10:37:40] <Colin[pi]> nu uh
917: [10:37:41] <Pyqwehk> then join us in the future.
918: [10:37:54] <Colin[pi]> so what, the problem is related to the server itself?
919: [10:38:27] <Pyqwehk> obviously!
920: [10:38:37] <Pyqwehk> You're the only person in the universe to have this issue. YOU ARE THE CHOSEN ONE
921: [10:38:43] <Colin[pi]> SWEET
922: [10:39:57] <Colin[pi]> Pyqwehk: well there you go, NOW I check my apache log
923: [10:40:13] <Pyqwehk> Colin[pi]: how has it taken you three years to get this ar?
924: [10:40:31] <Colin[pi]> I haven't been concerned about it too much :P
925: [10:40:44] <Pyqwehk> living in the past man!
926: [10:40:51] <Colin[pi]> I LIKE IT HERE
927: [10:40:53] <Pyqwehk> so anyway... what is the error?
928: [10:41:03] <Pyqwehk> seems, intruguing
929: [10:41:04] <Colin[pi]> Parent: child process 7372 exited with status 3221225725 -- Restarting.
930: [10:41:07] <Pyqwehk> eguiagn
931: [10:41:12] <Pyqwehk> inealsrt.gg.
932: [10:41:18] <Pyqwehk> however that goes.
933: [10:41:35] <Pyqwehk> Colin[pi]: so it sounds like a redirect loop.
934: [10:46:56] <Colin[pi]> Pyqwehk: fixed it!
935: [10:46:58] <Colin[pi]> yay
936: [10:47:00] <Colin[pi]> go me
937: [10:48:09] <Copperis> Colin[pi], are you maybe going around fixing templateparser bugs?
938: [10:48:21] <Colin[pi]> Copperis: naw I was looking in the wrong place
939: [10:48:25] <Colin[pi]> but it makes sense now
940: [10:48:30] <Copperis> aw, ok
941: [10:48:40] <Colin[pi]> it was a stack problem that was killing the server
942: [10:49:12] <Copperis> I've got a seemingly obscure bug found recently
943: [10:50:32] <Copperis> The case when a template gets rendered customised with a variable and there is a function with the same name as the variable. If they both return datalists, then looping the variable with template's .limit discards the customised variable and uses the function. If you don't use .limit in the template, then the customised variable is used. Oh and if the variable is customised with an arraylist, then the discarding of the customised va
944: [10:50:32] <Copperis> riable does not occur.
945: [10:51:10] <Colin[pi]> urg
946: [10:51:27] * wmk quit (Ping timeout: 272 seconds)
947: [10:51:36] <Copperis> could be worded better at places
948: [10:57:29] <Pyqwehk> Good morning Varis
949: [10:58:42] <Copperis> morning
950: [10:59:49] * stefanh quit (Quit: This computer has gone to sleep)
951: [11:00:22] <Pyqwehk> Copperis: that certainly is interesting.
952: [11:00:43] <Pyqwehk> Are you certain?
953: [11:00:51] <Copperis> i'm making a test case
954: [11:00:57] <Copperis> and now it seems to work
955: [11:01:08] <Copperis> something's different
956: [11:01:20] <Pyqwehk> I imagine it should. The scope should go to the customised, then into that object's limit function.
957: [11:01:22] <Copperis> so not certain yet
958: [11:01:49] * ss31noob quit (Ping timeout: 246 seconds)
959: [11:02:05] <Pyqwehk> The easiest way to tell would probably be to have a datalist that gets something you know the contents of, and the customised to use an arraylist of things completely different
960: [11:02:38] <Copperis> when an arraylist is passed, it gets used in that situation
961: [11:03:09] <Pyqwehk> I guess I'm saying: could it be that your lists are so similar that it's confusing as to which is which?
962: [11:03:10] <Copperis> but when a datalist, then which one gets used depends on there being a .limit in the template
963: [11:03:21] <Pyqwehk> Copperis: specificly limit?
964: [11:03:30] <Pyqwehk> or say .sort also?
965: [11:03:51] <Copperis> can't say specifically, just that I only tested with it
966: [11:04:24] * kinglozzer has joined #silverstripe
967: [11:04:51] <kinglozzer> Fuck, installing the new Assassin’s Creed
968: [11:04:55] <kinglozzer> 900mb day 1 patch
969: [11:04:57] <kinglozzer> GJ UBISOFT
970: [11:09:43] * kinglozzer quit (Remote host closed the connection)
971: [11:09:52] <Copperis> ok, that's no bug. The datalist, before being passed had a limit and offset set. Called with a limit in the template, the offset got removed, after which I assumed the method is being used. So I made a mistake, there's no bug
972: [11:12:36] <Copperis> unless you regard the removal of the offset not functioning as intended
973: [11:14:36] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
974: [11:16:42] * Shrike_Finland quit (Quit: Leaving.)
975: [11:18:09] * ss31noob has joined #silverstripe
976: [11:19:11] <ss31noob> can anyone confirm that when i do a SiteTree::get() for example.. it just get the published data? if yes, is there other way in getting data from the draft?
977: [11:21:57] * Colin[pi] quit (Ping timeout: 255 seconds)
978: [11:22:19] * Shrike_Finland has joined #silverstripe
979: [11:28:37] <simon_w> ss31noob, it gets the data for whatever stage you're currently in. If you want to get a specific stage, you can use Versioned::get_by_stage
980: [11:43:28] * lerni_ quit (Remote host closed the connection)
981: [11:46:22] * stefanh has joined #silverstripe
982: [12:02:10] * lerni has joined #silverstripe
983: [12:04:12] * Copperis quit (Quit: Leaving)
984: [12:06:57] * lerni quit (Ping timeout: 265 seconds)
985: [12:12:09] * Shrike_Finland quit (Quit: Leaving.)
986: [12:14:11] * lerni has joined #silverstripe
987: [12:17:57] * lerni_ has joined #silverstripe
988: [12:18:39] * lerni quit (Ping timeout: 255 seconds)
989: [12:22:35] <ss31noob> @simon_w, i tried to do the changing of pagetypes for obsolete pages.. but when i did a publish.. doesnt seem to change anything in the database
990: [12:23:07] * lerni_ quit (Ping timeout: 250 seconds)
991: [12:42:02] * lerni has joined #silverstripe
992: [12:46:57] <Eliseth> This is true? http://stackoverflow.com/questions/25197661/silverstripe-3-1-5-upload-error-syntaxerror-unexpected-token
993: [12:47:16] <Eliseth> I'm forced to recode all my image uploaders to file uploaders because I need to support SVG?
994: [12:55:12] * Shrike_Finland has joined #silverstripe
995: [12:57:01] * stefanh quit (Quit: This computer has gone to sleep)
996: [13:27:16] * Shrike_Finland quit (Quit: Leaving.)
997: [13:27:58] * lerni quit (Remote host closed the connection)
998: [13:28:25] * Shrike_Finland has joined #silverstripe
999: [13:28:26] * lerni has joined #silverstripe
1000: [13:33:35] * lerni quit (Ping timeout: 272 seconds)
1001: [13:39:43] * lerni_ has joined #silverstripe
1002: [13:45:24] * stefanh has joined #silverstripe
1003: [13:55:50] * abitran quit (Quit: Lost terminal)
1004: [14:03:28] * ss31noob quit (Ping timeout: 246 seconds)
1005: [14:07:38] * stefanh quit (Quit: This computer has gone to sleep)
1006: [14:14:04] * Shrike_Finland quit (Quit: Leaving.)
1007: [14:16:16] <Pyqwehk> Eliseth: no
1008: [14:16:29] <Pyqwehk> Not unless that answer is from Zauberfisch
1009: [14:17:18] <Pyqwehk> Hmm, actually perhaps yes.
1010: [14:17:55] <Eliseth> :(
1011: [14:20:01] <Pyqwehk> I dunno. It seems stupid but it could be to do with the thumbnail or something
1012: [14:24:07] <Eliseth> Guess so, the Image functions don't work on SVG either, probably due to GD limitations as said
1013: [14:25:10] <Eliseth> I think Imagick has SVG support though, but enabling it doesn't fix the error. (And introduces a lot of other problems)
1014: [14:30:48] * Shrike_Finland has joined #silverstripe
1015: [14:30:52] * Shrike_Finland quit (Client Quit)
1016: [14:31:36] <lerni_> Eliseth - As File works but the question is how to get PNGs as fallback?
1017: [14:32:12] <lerni_> magick has somthink called convert
1018: [14:32:42] <lerni_> if you do this after upload?
1019: [14:35:11] <Eliseth> I'm using file now. But yes, since I used to resize images in my template I'm now figuring out how to make a function that checks whether it's SVG or not. If yes just return the image (since no action is needed), but if png/jpg/etc it should do some resizing in PHP and return the resized image I guess
1020: [14:37:12] <Eliseth> How do I get the image object in my php file so I can use $image->resize(width,height);
1021: [14:40:39] <lerni_> mhh don't know how to make it work with pixel- & vector-files in the same field/class
1022: [14:44:41] <Pyqwehk> http://vimeo.com/111593305
1023: [14:45:26] <Eliseth> http://www.sspaste.com/paste/show/5466107651013
1024: [14:45:28] <Pyqwehk> Eliseth: if $thing.extension == 'svg'
1025: [14:45:29] <Pyqwehk> perhaps
1026: [14:46:01] <Pyqwehk> Eliseth: the extension info is stored on the File object iirc.
1027: [14:46:21] <Pyqwehk> you shouldn't need to query the path directly, although that works just as well :>
1028: [14:47:01] <Eliseth> Yes, it works. SVG gets returned fine. But it generates error if not SVG because the resize is taking place on a string instead of an object
1029: [14:47:10] <Eliseth> I don't know hoe to retrieve the image object
1030: [14:47:15] <Eliseth> *how
1031: [14:51:45] <Pyqwehk> Eliseth: what are you passing into it?
1032: [14:52:04] <Pyqwehk> ah, the url.
1033: [14:52:08] <Eliseth> Yeah
1034: [14:53:01] <Pyqwehk> yeah so $img is always a string, it should always error
1035: [14:53:49] * wmk has joined #silverstripe
1036: [14:54:05] * Copperis has joined #silverstripe
1037: [14:54:12] <Pyqwehk> Anselm: how are the videos coming along of the conference talks?
1038: [14:58:39] <Eliseth> Yes, the fact that it errors is logical. I just can't seem to figure out how to send the $img to the function as an object instead of a string.
1039: [14:58:56] <Eliseth> Using just $img doesn't work either because it's a string as well
1040: [14:59:19] <Pyqwehk> Eliseth: you cannot.
1041: [14:59:24] <Pyqwehk> (send the image object)
1042: [15:00:00] <Eliseth> That's what I was afraid of... Is there any way of retrieving the image object within the function based on the url?
1043: [15:00:05] <Pyqwehk> $img will output an image tag in the template, and thus is what is sent in to the render function
1044: [15:00:14] <Pyqwehk> Maybe.
1045: [15:00:20] <Pyqwehk> I don't recommend it though.
1046: [15:00:34] * muskie9 has joined #silverstripe
1047: [15:01:14] <Eliseth> Then how would you solve this?
1048: [15:01:35] <Pyqwehk> <% if $Image.Extension == 'svg' %>$RenderSVG<% end_if %>
1049: [15:02:15] <Eliseth> That's almost too easy to be true.... ><
1050: [15:02:41] * ss31noob has joined #silverstripe
1051: [15:02:42] <Pyqwehk> Eliseth: personally I would have applied a function that does something like that on Image (class) itself via DataExtension
1052: [15:03:20] <Eliseth> That goes far beyons my understanding of programming/php/silverstripe at this point I'm afraid
1053: [15:03:23] <Pyqwehk> D: someone's fucked the api docs :<
1054: [15:03:38] <Pyqwehk> Eliseth: yeah just stick with the template call for now, should do fine :)
1055: [15:06:01] <Pyqwehk> Eliseth: although I can talk you through extensions also, it's very simple
1056: [15:06:42] <Eliseth> It sounds complicated...
1057: [15:06:46] <Pyqwehk> It's not :>
1058: [15:07:18] <Pyqwehk> for example: https://github.com/NightJar/ssrigging-greyscaleimages
1059: [15:08:24] <Pyqwehk> Although instead of greyscale you'd have something that renders and svg.
1060: [15:08:41] * Colin[pi] has joined #silverstripe
1061: [15:08:57] <Pyqwehk> Eliseth: do you use SASS or suchlike when coding CSS?
1062: [15:09:04] <Eliseth> SASS yes
1063: [15:09:30] <Pyqwehk> right, well DataExtension is basically a mixin for DataObjects. This way you can add functionality to core components without hacking their source code.
1064: [15:09:44] <Eliseth> Right
1065: [15:09:49] <Eliseth> Sounds logical
1066: [15:10:13] <Pyqwehk> using the config system you just tell Silverstripe to add that mixin on that class. Then you can call the functions as if they were native.
1067: [15:12:39] <Eliseth> So far I can follow :)
1068: [15:13:01] <Eliseth> And, in case of the example you send for Greyscaling an image.. it seems logical
1069: [15:13:07] <Pyqwehk> Yeah, well that's it.
1070: [15:13:28] <Eliseth> I'm failing to see how it would benefit me in this case though
1071: [15:13:41] <Pyqwehk> the github link above is a very simple example (that leverages an existing function in GD backend - you won't do that, but it shouldn't be much more difficult)
1072: [15:14:01] <Pyqwehk> Eliseth: well when rendering the SVG you still need the image object I assume.
1073: [15:14:40] <Pyqwehk> if so then having the function as a method 'on' the Image class would give you access, rather than having to hack around.
1074: [15:14:49] <Pyqwehk> $Image.DrawMeARiver
1075: [15:14:57] <Pyqwehk> or somethign.
1076: [15:15:49] <Pyqwehk> Looks a bit more intuitive, and if you package it as a module is far easier to reuse in new projects :)
1077: [15:16:49] <Eliseth> I get that
1078: [15:17:37] <Eliseth> But, like now: when calling $MyImage.SetSize(293,100).URL in my template I get a nice image, IF it's NOT an SVG
1079: [15:18:36] <Eliseth> How would that translate to a DataExtension that automagically detects and returns the SVG without modification (because, GD can't handle) and if it's NOT SVG the SetSize is executed and the resized image returned?
1080: [15:19:06] <Eliseth> (sorry for the questions if it's bothersome... I really am trying to understand :))
1081: [15:22:25] <Pyqwehk> Eliseth: you'd still need <% if $MyImage.Extension == 'svg' %>
1082: [15:22:43] <Pyqwehk> well, perhaps not.
1083: [15:22:48] <Pyqwehk> you could have eg.
1084: [15:23:20] <Pyqwehk> public function TollerantSetSize($width, $height) {
1085: [15:24:25] <Pyqwehk> if($this->owner->Extension == 'svg') {all the svg resize code} else $this->owner->SetSize($width, $height);
1086: [15:24:38] <Pyqwehk> in semi-pseudocode
1087: [15:25:56] <Eliseth> I understand
1088: [15:26:20] <Eliseth> So in this case it's not relevant since if it's SVG I don't want anything done to it anyway
1089: [15:27:20] * kerosene_ is now known as kerosene__
1090: [15:27:29] <Pyqwehk> Eliseth: ah, I see.
1091: [15:27:54] <Pyqwehk> well then yeah, the simple <% if .. 'svg' %> is fine! :)
1092: [15:28:15] <Eliseth> Thanks for the clear explanation on DataExtensions though, I'm sure I'll be needing that soon as well... :/
1093: [15:28:33] <Pyqwehk> They are very handy, and very powerful.
1094: [15:35:42] <ss31noob> can anyone confirm this.. i am trying this $pages = Versioned::get_by_stage('Page', 'Stage')->filter(array('ID' => 745)); but it doesnt return anything
1095: [15:35:50] <ss31noob> though i have a data in the database
1096: [15:36:39] <Pyqwehk> Probably because nothing is staged.
1097: [15:40:26] <ss31noob> Pyqwehk, what do you mean? it's in the database..
1098: [15:40:32] <ss31noob> in the Page table
1099: [15:42:00] <ss31noob> the page is obsolete already actually
1100: [15:42:23] <ss31noob> but i wanted to move them to a simple page type
1101: [16:09:04] * auto9 quit (Read error: Connection reset by peer)
1102: [16:09:43] * toddvalentine has joined #silverstripe
1103: [16:10:15] * auto9_ has joined #silverstripe
1104: [16:10:37] * arnhoe quit ()
1105: [16:18:13] * ss31noob quit (Ping timeout: 246 seconds)
1106: [16:18:54] * Shrike_Finland has joined #silverstripe
1107: [16:21:36] <Pyqwehk> well i'm not sure but I think that maybe if it's not showing up that there needs to be data actively in the staged environment (ie. Changed but not published from the live object)
1108: [16:21:42] <Pyqwehk> but you've quit now so idk.
1109: [16:26:43] <Eliseth> Have a good weekend all, and thanks for the help again :)
1110: [16:30:53] * Eliseth quit (Ping timeout: 244 seconds)
1111: [16:37:10] <Pyqwehk> eyp, must be the weekend
1112: [16:37:13] * Pyqwehk quit (Quit: weekend)
1113: [16:44:02] * jenniferaslan has joined #silverstripe
1114: [16:54:54] * wmk quit (Ping timeout: 250 seconds)
1115: [16:57:33] * muskie9 is now known as _muskie9_
1116: [16:58:21] * jrthomer quit (Quit: Leaving...)
1117: [16:59:17] * _muskie9_ is now known as muskie9
1118: [17:01:11] * lerni_ quit (Remote host closed the connection)
1119: [17:04:14] * lerni_ has joined #silverstripe
1120: [17:05:58] * muskie9 is now known as _muskie9_
1121: [17:06:06] * Shrike_Finland quit (Quit: Leaving.)
1122: [17:06:50] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1123: [17:08:46] * lerni_ quit (Ping timeout: 250 seconds)
1124: [17:15:29] * muskie9 has joined #silverstripe
1125: [17:26:37] * DimiStripe has joined #silverstripe
1126: [17:27:53] * Otterpocket quit (Quit: Otterpocket)
1127: [17:28:09] * muskie9 is now known as _muskie9_
1128: [17:29:38] * _muskie9_ is now known as muskie9
1129: [17:33:45] * Shrike_Finland has joined #silverstripe
1130: [17:39:53] * Shrike_Finland quit (Quit: Leaving.)
1131: [17:40:46] * Shrike_Finland has joined #silverstripe
1132: [17:51:12] * stefanh has joined #silverstripe
1133: [17:52:49] * stefanh quit (Client Quit)
1134: [17:57:15] * jrthomer has joined #silverstripe
1135: [18:19:34] * gelignite has joined #silverstripe
1136: [18:23:00] * Copperis quit (Remote host closed the connection)
1137: [18:33:02] <muskie9> anyone know how to disable a dropdown in a model admin filter... would I do $('#myDropdown').attr('disabled', true).trigger('chosen:updated'); been searching for how to disable Chosen jquery and haven't had much success
1138: [18:39:00] * EasyCo quit (Quit: Connection closed for inactivity)
1139: [18:39:03] <muskie9> figured it out... instead of .trigger('chosen:updated') it's .trigger("liszt:updated")
1140: [18:42:43] * Shrike_Finland quit (Quit: Leaving.)
1141: [18:52:09] * DimiStripe quit (Quit: DimiStripe)
1142: [18:52:36] * DimiStripe has joined #silverstripe
1143: [19:10:17] * oetiker quit (Ping timeout: 245 seconds)
1144: [19:23:21] * Blacklite quit (Ping timeout: 258 seconds)
1145: [19:28:25] * Blacklite has joined #silverstripe
1146: [19:28:52] * lerni has joined #silverstripe
1147: [19:36:02] * Stomach has joined #silverstripe
1148: [19:56:47] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1149: [20:01:03] * muskie9 has joined #silverstripe
1150: [20:01:17] * lerni_ has joined #silverstripe
1151: [20:03:01] * lerni quit (Ping timeout: 244 seconds)
1152: [20:34:49] * DimiStripe quit (Quit: DimiStripe)
1153: [20:53:27] * oetiker has joined #silverstripe
1154: [21:04:03] * lerni_ quit ()
1155: [21:13:58] * willr has joined #silverstripe
1156: [21:14:39] * veb has joined #silverstripe
1157: [21:14:52] * UncleCheese has joined #silverstripe
1158: [21:14:53] <UncleCheese> hackfest!!!!!!
1159: [21:18:13] * UncleCheese quit (Client Quit)
1160: [21:18:22] * camfindlay has joined #silverstripe
1161: [21:18:56] <willr> YEOW
1162: [21:37:21] * DimiStripe has joined #silverstripe
1163: [21:56:48] <willr> simon_w not the same without you :(
1164: [21:57:13] <Zauberfisch> so, DataObject write updates LastEdited
1165: [21:57:38] <willr> Zauberfisch Course.
1166: [21:57:41] <Zauberfisch> but I see no code that saves LastEdited to the database if there is no change to member properties
1167: [21:57:46] <Zauberfisch> or am i missing something
1168: [21:58:52] <Zauberfisch> so basically $foo = Foo::get()->first(); $foo->write(); $foo->LastEdited will be now() but will the database change?
1169: [22:00:38] <Zauberfisch> jop
1170: [22:00:46] <Zauberfisch> bug
1171: [22:03:17] <Zauberfisch> http://paste.debian.net/hidden/e9afd4c2/
1172: [22:03:26] <Zauberfisch> this is not suppose to happen, is it?
1173: [22:06:11] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1174: [22:15:10] <simon_w> willr, I wasn't at the last one either :p
1175: [22:31:56] * auto9_ quit (Read error: Connection reset by peer)
1176: [22:33:00] * auto9 has joined #silverstripe
1177: [22:40:08] * Kingy[a] is now known as Kingy
1178: [22:52:00] <simon_w> willr, so, what you lot up to this time?
1179: [22:52:08] * micmania1 has joined #silverstripe
1180: [22:52:16] <willr> Me and cam are doing the new docs site work
1181: [22:52:58] <willr> People with install issues. Only a small turnout. Smallest for a couple years
1182: [22:53:11] <willr> Oh well. Can actually get work done
1183: [22:54:55] <simon_w> willr, well, is the first I've heard that there's a hackfest on
1184: [22:56:03] <willr> Yeah but you’re in the middle of nowhere :P
1185: [22:56:46] <simon_w> Only thing that's changed is I've removed myself from the ss-wgtn meetup group :p
1186: [23:02:21] <simon_w> Maybe I could move logs over to gitlab so people can submit new swear MRs
1187: [23:08:16] * toddvalentine quit ()
1188: [23:32:21] * micmania2 has joined #silverstripe
1189: [23:36:57] <micmania1> willr: come checkout my fort!
1190: [23:41:15] <Stomach> no auckland hackfest = :(
1191: [23:41:24] <Stomach> guess I'll just play games instead
1192: [23:41:56] <Kingy> :D
1193: [23:43:15] <willr> I’m in the FORT!
1194: [23:50:05] <simon_w> I AM the fort!
1195: [23:52:05] <Stomach> willr is in simon_w
1196: [23:52:06] <Stomach> o_O
1197: [23:52:14] * ocmnt has joined #silverstripe
1198: [23:52:26] * muskie9 has joined #silverstripe
1199: [23:52:38] <ocmnt> howdy ho
1200: [23:56:43] * UncleCheese has joined #silverstripe
1201: [23:56:52] <UncleCheese> hack, hack, hack

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