#silverstripe IRC Log

IRC log for 5 November 2014

All timestamps are in UTC.

1: [00:04:52] <DimiStripe> :)
2: [00:10:34] <mahfuz> Hi. I want to create a Dataobjectset / Resultset that I want to pass to a template for output using a loop in template. I want to create the Resultset and Pupulate using a loop but dont need to save it. Can I just make it for the purpose of sending to the template or do I need to create a Dataobject Class first?
3: [00:11:08] <adrexia> People who use unsupported css selectors for sites that run IE8 and don't test in IE8 have a special place in hell
4: [00:11:16] <spronk2> :)
5: [00:11:19] <adrexia> *need to run in*
6: [00:12:01] <spronk2> people that want their websites to run in ie8 reserve the place next to them :D
7: [00:12:03] <simon_w|work> mahfuz, an ArrayList of ArrayData objects?
8: [00:13:04] <mahfuz> Thanks simon. Can you just give me some example of imaginary array list being populated in a loop
9: [00:13:17] <simon_w|work> $list->push($blah)
10: [00:14:14] * DimiStripe quit (Quit: DimiStripe)
11: [00:14:38] * helenclarko has joined #silverstripe
12: [00:14:40] <mahfuz> simon: can $blah be an array?
13: [00:15:24] * joelpittet quit (Remote host closed the connection)
14: [00:16:08] <helenclarko> Can anyone help me with a container module for userforms?
15: [00:17:18] * wracu quit (Ping timeout: 255 seconds)
16: [00:17:24] <adrexia> container module?
17: [00:17:50] * wracu has joined #silverstripe
18: [00:20:54] <helenclarko> I had one in 2.4 and I'm working on updating it. Its just a container field
19: [00:21:01] <helenclarko> http://www.silverstripe.org/community/forums/all-other-modules/show/80990
20: [00:21:59] * spronk2 quit (Quit: I may need a longer sleep timer...)
21: [00:22:10] <adrexia> Oh yeah the ditable composite field
22: [00:22:15] <adrexia> I've seen that soemwhere
23: [00:24:07] <adrexia> helenclarko, statics ne3ed to be private in 3.1
24: [00:24:32] <adrexia> and those functions should be public
25: [00:24:32] * Colin[pi] has joined #silverstripe
26: [00:24:58] <helenclarko> Yea I cant find it for 3.1, I know I found it a long time ago.
27: [00:24:58] <adrexia> other than that, it looks like it should work
28: [00:25:16] <adrexia> you could probably update it without too much effort
29: [00:25:31] <adrexia> EditableFormField still exists in userforms
30: [00:25:35] <helenclarko> Yea, Ill let you now how it goes
31: [00:25:41] <adrexia> and other than that it's a fairly simple class
32: [00:25:43] <adrexia> :)
33: [00:26:13] <Colin[pi]> hai2all
34: [00:27:16] <antmas> Colin[pi]: tsk tsk
35: [00:27:18] <antmas> late again!
36: [00:27:21] <Colin[pi]> antmas: sorry boss
37: [00:27:23] <antmas> o-o
38: [00:27:42] <adrexia> helen SubFields also looks to be gone
39: [00:27:49] <adrexia> I'm not sure what replaces that
40: [00:28:30] * hailwood has joined #silverstripe
41: [00:31:09] <hailwood> Hey guys - I am using the silverstripe blog - on the default page controller I have a function defined (getGalleryImages()), but on the blog I need that function to do something a bit different so I've created an extension (class BlogEntry_ControllerExtension extends DataExtension) and I've set up the yaml so the extension is loaded. now my question is - in the extension how do I override that function? I tried just adding the function with the same
42: [00:31:59] <micmania1> hailwood: you can’t like that. You’d have to extend BlogEntry_Controller.
43: [00:33:56] * wracu quit (Ping timeout: 258 seconds)
44: [00:35:50] <adrexia> helenclarko, looks like you might be able to use FieldList instead
45: [00:36:07] <adrexia> maybe
46: [00:36:22] <helenclarko> $children = $this->FieldList(); ???
47: [00:36:53] <adrexia> I think there might be a step of so missing
48: [00:37:18] <adrexia> if you can find out where subfields was and what it did before it might help
49: [00:37:47] * veb has joined #silverstripe
50: [00:37:52] <helenclarko> Yea me too. I mean, its sitting there looking all pretty, but when I drag and drop over it it doesnt sit inside the container.
51: [00:38:36] <adrexia> I swear I have seen EditableCompositeFeild before, but google says it was a dream
52: [00:38:42] <hailwood> micmania1: I got it :) I just needed to add an extension hook into the original getGalleryImages
53: [00:41:05] * UncleCheese quit (Ping timeout: 260 seconds)
54: [00:42:58] * UncleCheese has joined #silverstripe
55: [00:52:28] <helenclarko> Adrexia: Subfields is just part of the $has_many
56: [00:52:40] <adrexia> oh, its a db field?
57: [00:52:53] <adrexia> well, a has many
58: [00:52:55] <adrexia> ok
59: [00:52:55] <helenclarko> Yea
60: [00:53:02] * muskie9 is now known as _muskie9_
61: [00:53:03] * _muskie9_ is now known as muskie9
62: [00:53:07] <helenclarko> Poining into "EditableFormField"
63: [00:53:11] <adrexia> but how do you add subfields?
64: [00:55:12] <helenclarko> No idea.
65: [00:55:31] <adrexia> is there extra javascrip[t?
66: [00:56:15] <adrexia> I'm not even sure oh the userforms module would deal with a has many relation on a formfield in 3.1
67: [00:56:34] <helenclarko> ooooo, you are right. Looks like javascript
68: [00:56:40] <adrexia> used to have popups and such
69: [00:56:44] <adrexia> oh cool
70: [00:57:12] <helenclarko> Okay, ill look into it a bit more
71: [00:57:26] <adrexia> sweet
72: [00:57:40] <adrexia> when you've done that, think about open sourcing it
73: [00:57:49] <adrexia> I can nsee a very good ude case for it
74: [00:57:56] <adrexia> accessibility for one
75: [00:58:00] <helenclarko> Sure,
76: [00:58:23] <helenclarko> If I can make it work, I'll share it.
77: [00:58:57] <adrexia> Awesome!
78: [01:00:08] <adrexia> "Doing nested fields could get quite tricky so I left it out. "
79: [01:00:12] <adrexia> http://www.silverstripe.org/community/forums/form-questions/show/17535
80: [01:00:14] <adrexia> :D
81: [01:01:06] <helenclarko> Oh.
82: [01:01:21] <adrexia> only problem with that is that the html is validated pre insertion, so you can't easily wrap things in html tags
83: [01:01:40] <adrexia> (that being the proposed html solution)
84: [01:01:49] * Kingy quit ()
85: [01:02:08] <adrexia> You *could* maybe create a couple of literal fields though
86: [01:02:19] * jenniferaslan quit (Quit: jenniferaslan has left the room)
87: [01:02:20] <adrexia> one for opening a fieldset, and one for closing
88: [01:03:06] * muskie9 is now known as _muskie9_
89: [01:06:21] * Kingy[a] is now known as Kingy
90: [01:08:02] <adrexia> hmm... you could do a lot of it by inserting some sort of shortcode and replacing it in the template
91: [01:10:24] <adrexia> then the user could basically add a line everytime they want to end and start a new fieldset For bonus points just keep a regular field where you can add and remove classes etc, and make sure when its rendered it closes an open fieldset before creating a new one
92: [01:11:35] <UncleCheese> anyone ever encounter crap like this?
93: [01:11:47] <UncleCheese> 141030 19:59:16 [ERROR] /usr/sbin/mysqld: Table './mysite_com/BlogEntry' is marked as crashed and should be repaired
94: [01:11:47] <adrexia> the composite field structure might be over complicating things
95: [01:12:01] <UncleCheese> ^ that goes on for every single table
96: [01:12:11] <adrexia> have you just upgraded?
97: [01:12:46] <UncleCheese> hmm
98: [01:13:11] <UncleCheese> nope
99: [01:14:09] <adrexia> just happened randomly?
100: [01:14:53] <adrexia> http://gentoovps.net/marked-as-crashed-and-should-be-repaired/
101: [01:15:33] <adrexia> no explainations thoguh
102: [01:17:53] <helenclarko> So close to working now I think
103: [01:19:26] <adrexia> +1
104: [01:19:48] <JeremyRoundill> Helenclarko, parliament are talking about you.
105: [01:20:10] <helenclarko> ooooooo, I love me a bit of politics!
106: [01:20:43] <JeremyRoundill> They're all issuing statements on their positions on military support in the fight against ISIS.
107: [01:23:57] <adrexia> JeremyRoundill, you are listening to parliment?
108: [01:24:04] <JeremyRoundill> Yes ma'am.
109: [01:24:09] <JeremyRoundill> http://www.parliament.nz/media/28439/house-384.asx
110: [01:24:16] <JeremyRoundill> Watching it too!
111: [01:24:44] <adrexia> that is true dedication to democracy
112: [01:25:09] <JeremyRoundill> Psh, representative democracy is barely democracy.
113: [01:25:42] <Colin[pi]> don't we live in a functioning plutocracy?
114: [01:26:00] <JeremyRoundill> Close to it.
115: [01:26:16] <JeremyRoundill> We live in an elected dictatorship.
116: [01:26:16] <Ryan-Toast> adrexia: we google now http://i.imgur.com/hs7Sp3F.jpg
117: [01:26:30] <Colin[pi]> 'democracy' gives the illusion that we have a 'choice'
118: [01:26:45] <Colin[pi]> but we always get a douche or turd, doesn't matter what we do :)
119: [01:27:32] <JeremyRoundill> I agree, but I'll shut up before completely de-railing the conversation. :)
120: [01:27:37] <Colin[pi]> hehe
121: [01:27:42] <Ryan-Toast> antmas: ^^
122: [01:27:47] <adrexia> democracy is flawed. Largely becausae it relies on people to be wholely rational and not swayed by sweet words
123: [01:27:54] <Colin[pi]> adrexia: this
124: [01:27:56] <adrexia> and highly educated to boot
125: [01:28:17] <adrexia> Ryan-Toast, that was quick!
126: [01:28:22] <JeremyRoundill> adrexia: We just need to brain-wash everyone :D
127: [01:28:23] <Ryan-Toast> adrexia: yarp
128: [01:28:27] <Colin[pi]> I think it was amusing how the voter correlation for the last AU election aligned greatly with education/geographical location
129: [01:28:34] <Ryan-Toast> adrexia: still working on it, but mostly done.
130: [01:28:51] <adrexia> Colin[pi], so does ours
131: [01:28:52] <Colin[pi]> big cities: labor, more progressive... country hicks: liberal, conservative douche bags
132: [01:29:25] <Colin[pi]> I pointed this out on FB and one of my country friends got pretty pissed off lol
133: [01:29:28] <adrexia> the more highly educated the population the less likely they are to vote National
134: [01:29:38] <Ryan-Toast> adrexia: only the annoying usecases left.
135: [01:29:43] * adrexia nods
136: [01:29:46] * Tanger has joined #silverstripe
137: [01:30:17] <adrexia> Colin[pi], also, the more rural you are, the more likely you are to rely on mainstream media sources
138: [01:30:44] <adrexia> and, quite likely, what your friends say (which we all do, to soem extent)
139: [01:30:47] <Colin[pi]> adrexia: mm, like Murdoch papers: https://pbs.twimg.com/media/BQ0xPLiCMAEshrV.jpg
140: [01:31:16] <Colin[pi]> some of the most biased newspapers in recent memory for the last election
141: [01:31:35] <Colin[pi]> and this: http://i.imgur.com/XscpFpK.jpg
142: [01:31:35] <adrexia> there are a bunch of gotcha that are primary school when it coems to recognising fallacy - like the trickle down effect. Its hard to convince sometone with an education taht that stuff works
143: [01:31:36] <Colin[pi]> ugh
144: [01:32:15] <adrexia> Colin[pi], are they comparing them to a mob because they are plebs?
145: [01:32:31] <Colin[pi]> adrexia: derogatory term I guess
146: [01:32:39] <Colin[pi]> "this mob" like "this bunch of idiots"
147: [01:33:04] <Colin[pi]> labor's worst problem is that they are "good at policy, bad at politics"
148: [01:33:04] <adrexia> ryna what is your analytics model admin?
149: [01:33:11] <adrexia> * Ryan-Toast
150: [01:33:13] <adrexia> ^
151: [01:33:16] <Ryan-Toast> adrexia: hmm?
152: [01:33:40] <adrexia> the screenshot you shared had analytics in the left and main menu
153: [01:33:58] <Ryan-Toast> adrexia: yarp
154: [01:34:00] <antmas> Ryan-Toast: :O
155: [01:34:01] <antmas> nice
156: [01:34:03] <Ryan-Toast> it’s a work in progress
157: [01:34:08] <antmas> although, kill that purple with fire pls
158: [01:34:09] <adrexia> Colin[pi], "Mob" also has connotations of the unwashed masses
159: [01:34:21] <Ryan-Toast> antmas: runs off two color vars in the theme
160: [01:34:30] <adrexia> Ryan-Toast, is it open source?
161: [01:34:39] <Ryan-Toast> adrexia: will be when I’ve finished it :)
162: [01:34:49] <antmas> Ryan-Toast: awww yisss
163: [01:34:50] <adrexia> :DE
164: [01:34:58] <adrexia> been looking fgor something like that
165: [01:34:59] <antmas> I will need to make my next one blue and orange :/
166: [01:35:05] <adrexia> because analytics are fun
167: [01:35:15] <Ryan-Toast> antmas: blue and orange?
168: [01:36:01] <adrexia> Ryan-Toast, I think the purple bar should go all the way across to be treulyl google
169: [01:36:24] <adrexia> and content settings and hisotry should be icons
170: [01:36:41] <antmas> where is irogue?
171: [01:36:48] <adrexia> oh oh oh! and the logged in user menu should be nbext to them
172: [01:36:53] <antmas> feels weird when the whole whanua aint here
173: [01:36:54] <Ryan-Toast> adrexia: :P
174: [01:37:00] <Ryan-Toast> adrexia: GIVE ME SOME TIME, WOMAN
175: [01:37:04] <adrexia> (preferably with a picture)
176: [01:37:07] <adrexia> lol
177: [01:37:20] <Ryan-Toast> adrexia: I’m going to grab all the svg icons google released last week
178: [01:37:30] <adrexia> (I'm comparing it with inbox as we speak)
179: [01:37:31] <adrexia> ;)
180: [01:37:51] <adrexia> you'd porobably also need to be able to specifiy a colour oin the icons
181: [01:38:10] <adrexia> so, another argument for replacing silverstripe iconogrpahy with a font set
182: [01:39:08] <adrexia> actually, this paradigm would translate really well to the cms
183: [01:39:17] <Ryan-Toast> antmas: orange? http://i.imgur.com/Yh45PxI.jpg
184: [01:39:27] <adrexia> bwhahahaha
185: [01:39:47] <antmas> Ryan-Toast: my next one will be blue and orange
186: [01:39:50] <Ryan-Toast> adrexia: been using the css filter to change theoir colurs atm, but will change them to the google svgs
187: [01:39:59] <Ryan-Toast> antmas: they clash pretty hard.
188: [01:39:59] * adrexia nods
189: [01:40:07] <antmas> Ryan-Toast: yeah, but speights :/
190: [01:40:11] <Ryan-Toast> antmas: oh, haha
191: [01:40:22] <JeremyRoundill> Good on ya, mate.
192: [01:40:28] <antmas> XD
193: [01:40:39] <adrexia> https://github.com/google/material-design-icons/issues/1
194: [01:41:18] <Ryan-Toast> adrexia: the only problem with fonts is the even/odd parent size issue with half pixels.
195: [01:41:26] <Ryan-Toast> which is why I prefer svgs for stuff like this
196: [01:41:32] <adrexia> what do you mean?
197: [01:41:58] <zippy> ''Others are Isil supporters who have tried to travel but been prevented by the cancellation of their passports.''
198: [01:42:07] <Ryan-Toast> adrexia: http://mir.aculo.us/2014/10/31/icon-fonts-vs-inline-svg/
199: [01:42:08] <zippy> what a great idea..
200: [01:42:34] <zippy> these guys want to go over there and join isis... nop, lets cancel there passports, piss them off and leave them in NZ
201: [01:42:43] <antmas> Ryan-Toast: ya'll wanna make the page settings and cms settings all uppercase?
202: [01:42:50] * antmas sips tea
203: [01:43:13] <Ryan-Toast> antmas: literally v.0.0.0.0.0.1
204: [01:43:28] <Colin[pi]> Ryan-Toast: so it's ready for release then
205: [01:43:36] <antmas> 'iterative'
206: [01:43:38] <Ryan-Toast> Colin[pi]: :P
207: [01:43:44] <antmas> SHIP IT
208: [01:43:58] <Ryan-Toast> no more progress screenshots for you cretins
209: [01:44:03] <adrexia> Ryan-Toast, I've never had any of those problems
210: [01:44:20] <Ryan-Toast> adrexia: mainly mobile
211: [01:44:28] <Ryan-Toast> adrexia: windows mobile :P
212: [01:44:36] <adrexia> I never use a single parent for multiple icons
213: [01:44:42] <adrexia> which probably helps
214: [01:45:52] <adrexia> oh IE being dumb again
215: [01:46:16] <Ryan-Toast> adrexia: yarp :)
216: [01:46:39] <adrexia> yeah, I m ostly like the speed of developing with them
217: [01:47:00] <adrexia> though you lose that completely if you don't start with a large predefined font set
218: [01:47:00] <Ryan-Toast> I can remember the first iteration of windows phoene, it detected font-families, but didn’t support it, so you couldn’t use font-icons
219: [01:47:08] <adrexia> lol
220: [01:47:15] <adrexia> I* had a windows phone
221: [01:47:26] <adrexia> turns out people don't make websites for windopws
222: [01:47:41] <adrexia> so it wouldn't be like your website was the only one that looked shit
223: [01:47:49] <Ryan-Toast> used to dread when QA got to windows phone. Not so bad now though.
224: [01:48:12] <adrexia> http://zavoloklom.github.io/material-design-iconic-font/icons.html
225: [01:48:39] <adrexia> not a bad font set actually
226: [01:48:41] <Ryan-Toast> adrexia: aww yiss
227: [01:48:44] <adrexia> large enough
228: [01:51:07] <adrexia> oh, also on icomoon https://icomoon.io/app/#/select/library
229: [01:52:09] <mudmonth> damn some of those are cute
230: [01:52:13] <Ryan-Toast> icomoon is fantastic.
231: [01:52:18] <adrexia> lol, I've even used it already. guess I didn't really pay attention to the fonht the icons came from
232: [01:52:21] <Ryan-Toast> again, will be using svgs though :P
233: [01:52:23] <adrexia> agree
234: [01:52:32] <adrexia> icomoon can do you the svgs too ;)
235: [01:52:40] <adrexia> and pngs
236: [01:52:49] <Ryan-Toast> I have a grunt task that puts them into sprites
237: [01:53:34] * UncleCheese quit (Ping timeout: 245 seconds)
238: [01:53:36] <adrexia> svg sprites?
239: [01:53:54] <adrexia> interesting
240: [01:54:05] * joelpittet has joined #silverstripe
241: [01:54:35] <adrexia> http://css-tricks.com/svg-sprites-use-better-icon-fonts/
242: [01:54:46] <adrexia> that one?
243: [01:55:21] <Ryan-Toast> adrexia: yarp :)
244: [01:55:32] <Ryan-Toast> well a slightly modified version
245: [01:55:34] <JeremyRoundill> Holy moley, this David Seymour is a rat.
246: [01:55:52] <adrexia> oh?
247: [01:55:59] <JeremyRoundill> Someone told me I look like him a few weeks ago :(
248: [01:56:40] <JeremyRoundill> David Seymour is the ACT dude.
249: [01:56:57] <JeremyRoundill> They're like the sell-out libertarians.
250: [01:57:07] <JeremyRoundill> All the bad bits of libertarianism with none of the good bits.
251: [01:59:52] <helenclarko> I think I'll need to contact Will and see if he can help. I'm pretty close. No errors to go on now, so I'm missing the final part.
252: [02:05:43] <adrexia> helenclarko, he's usually here, but not today
253: [02:05:48] <Kingy> https://www.dropbox.com/s/s48xjvxa42hjc5d/20141105_150025_Richtone%28HDR%29.jpg?dl=0
254: [02:05:52] <Kingy> anyone? $450 ono :D
255: [02:06:49] <zippy> $50
256: [02:07:16] <zippy> looks cool
257: [02:07:20] <Ryan-Toast> adrexia: TIL you can use svg in content
258: [02:07:26] <Kingy> lul $50
259: [02:07:35] <Ryan-Toast> content: url(foo.svg)
260: [02:07:38] <adrexia> Ryan-Toast, of course
261: [02:07:45] <Kingy> zippy: wouldn't even buy the transmitter
262: [02:07:53] <Ryan-Toast> adrexia: makes life pretty easy
263: [02:07:58] * adrexia nods
264: [02:13:05] <antmas> Kingy: I'll trade you a pack of Rothmans
265: [02:13:30] <micmania1> Kingy: ask ss23
266: [02:15:24] <ss23> oh god no
267: [02:15:28] <Ryan-Toast> adrexia: the icons aren’t square…so they don’t spin properly ....
268: [02:15:29] <Ryan-Toast> kfvbfkbsdf
269: [02:15:37] <ss23> eh
270: [02:15:43] <ss23> Not me, but I can ask a coworker
271: [02:16:47] <adrexia> Ryan-Toast, I have had that problem myself
272: [02:17:01] <Ryan-Toast> adrexia: Can set the width in the svg thoug
273: [02:17:05] <Ryan-Toast> hso should be fine
274: [02:18:13] <ss23> coworker says pass, sorry Kingy
275: [02:19:40] <Kingy> dammit
276: [02:20:27] <Kingy> antmas: no deal :P
277: [02:20:50] <antmas> :P
278: [02:21:07] <antmas> I would ask my mates, but like 99% of them literally just bought drones
279: [02:21:16] <Kingy> somuchfun
280: [02:21:24] <Kingy> quite gutted to be getting rid of it
281: [02:21:39] <antmas> Kingy: you could break it apart and take it with you?
282: [02:21:47] <antmas> would be fun to get footage in Bahrain :D
283: [02:21:51] <antmas> ala gopro
284: [02:22:11] <Kingy> yeah misses vetoed that idea :P
285: [02:22:23] <Kingy> already taking my PC/HTPC/Xbox etc etc lol
286: [02:24:36] <helenclarko> Thanks for your help today Adrexia
287: [02:27:01] <adrexia> no problem
288: [02:29:15] <antmas> Kingy: lol, the important stuff!
289: [02:29:17] * joelpittet quit ()
290: [02:29:40] <antmas> what are the electronics prices like in Bahrain I wonder?
291: [02:29:52] <Kingy> not actually too abd
292: [02:29:54] <Kingy> bad
293: [02:30:09] <antmas> yeah so it seems
294: [02:31:06] <antmas> maybe you could get UC an iPhone
295: [02:32:05] <novaweb> dudes... what word am a looking for... I'm taking a whole chuck of code and reducing it down to be as smart and efficent asf
296: [02:32:20] <antmas> refactoring
297: [02:32:21] <adrexia> refactoring
298: [02:32:33] <novaweb> i thought that already... but im sure there's another word
299: [02:32:33] <Kingy> antmas: doing a quick comparision. ASUS Rampage V Extreme is $818 here and $778NZD there
300: [02:32:36] <Kingy> so bit cheaper
301: [02:32:36] <novaweb> hmmpf
302: [02:32:44] <antmas> Kingy: nice!
303: [02:32:52] <adrexia> optimising?
304: [02:32:58] <novaweb> optimisation
305: [02:33:00] <novaweb> thank you
306: [02:33:01] <antmas> novaweb: Efficienterising
307: [02:33:02] <novaweb> duhhhh
308: [02:33:03] <adrexia> :)
309: [02:33:09] <novaweb> i've been in the dev zone all day
310: [02:33:12] <adrexia> Efficienterisin <---that
311: [02:33:15] <adrexia> hhehehe
312: [02:33:30] <adrexia> refactoring to optimize
313: [02:33:38] <adrexia> needs more words
314: [02:33:54] <antmas> Synergising?
315: [02:33:59] <adrexia> refactoring to optimize the polarization of the inherient synergy
316: [02:34:09] <antmas> OMG SO MUCH WANT http://jalopnik.com/ken-blocks-gymkhana-7-car-is-a-monstrous-845-hp-awd-196-1654509975
317: [02:35:01] <adrexia> ....and IE8 crashes again
318: [02:35:14] <adrexia> I *never* spend this much time in IE8 land with my own code
319: [02:35:21] <adrexia> so very unfair
320: [02:35:32] <adrexia> :P
321: [02:35:41] <antmas> weird
322: [02:35:50] <antmas> IE8 is crap and all, but it never really crashes for me
323: [02:35:57] <adrexia> virtual machine
324: [02:36:00] <antmas> like proper 'not responding' etc
325: [02:36:07] <adrexia> and js from hell
326: [02:36:11] <antmas> lel
327: [02:36:19] <adrexia> antmas it crwashes, and restarts itself
328: [02:36:26] <adrexia> sometimes it kills the virtual machine
329: [02:36:38] <antmas> and then asks you to tell MS about it?
330: [02:36:53] <adrexia> and reepons tabs and stuff
331: [02:38:58] <adrexia> Its funny how certain types of work are inheriently mnore draining
332: [02:39:32] <micmania1> adrexia: i’ve had that before :(
333: [02:39:42] <adrexia> I could work 12 hour days soimetimes. With IE I'm basically drained after ~4 hours
334: [02:39:44] <adrexia> :-/
335: [02:39:58] <micmania1> so I moved to the other side of the world as far away as possible.
336: [02:40:04] <micmania1> Seems to be working.
337: [02:40:13] <adrexia> hahahaha - that's onew way to avoid it
338: [02:41:05] <micmania1> Try commenting out loads of JS to see what’s crashing it.
339: [02:41:11] <Ryan-Toast> adrexia: I moved the header to the top and made it full width
340: [02:41:26] <micmania1> My issue was every time i tried to open dev tools, so probably slightly different.
341: [02:41:28] <adrexia> micmania1, it wouldn't even load without the js
342: [02:41:38] <adrexia> Ryan-Toast, +1
343: [02:42:50] <adrexia> I really feel like I'm trying to breatch life into someone who fell off a cliff and will never really have the quality of life you might hope for
344: [02:43:31] <adrexia> arg again IE
345: [02:48:04] <Ryan-Toast> adrexia: http://i.imgur.com/FBwB7oA.jpg
346: [02:48:29] <adrexia> Ryan-Toast, looks much nicer already
347: [02:48:48] <Ryan-Toast> adrexia: yarp. still plenty of sizing to change
348: [02:49:46] * UncleCheese has joined #silverstripe
349: [02:51:28] <Colin[pi]> Ryan-Toast: that looks somewhat like my CMS reskin :P
350: [02:51:59] <Ryan-Toast> Colin[pi]: following google material spec
351: [02:52:14] <Colin[pi]> looks pretty sweet... not sure about that yellow underline though
352: [02:52:32] <Ryan-Toast> Colin[pi]: just copying what they have here: http://www.google.com/design/spec/components/menus.html#menus-usage
353: [02:52:38] <adrexia> the yellow fits witrh googler
354: [02:53:17] <adrexia> I actually thought that was a nice touch
355: [02:53:26] <Colin[pi]> mmm fits, but dat yellow + neighbouring white combo
356: [02:53:28] <Colin[pi]> :\
357: [02:53:29] <Colin[pi]> not sure
358: [02:53:33] <Colin[pi]> rustles my jimmies
359: [02:53:44] <adrexia> technically a vrery light gray
360: [02:53:55] <Colin[pi]> neg, it's #FFFFFF
361: [02:53:59] <Colin[pi]> (on the google spec)
362: [02:54:23] <adrexia> oh, it also doesn't have to be a light background
363: [02:54:35] <Ryan-Toast> Colin[pi]: neg, it’s f0f0f0
364: [02:54:39] <adrexia> one of the obvious thingsa about google inbox is the background colour changes
365: [02:54:54] <Colin[pi]> Ryan-Toast: on yours? yeah, on the google one? no
366: [02:55:01] <Ryan-Toast> Colin[pi]: on their spec it is
367: [02:55:02] <adrexia> the main area is a slightly lighter version of the header
368: [02:55:09] <Ryan-Toast> Colin[pi]: well half of it
369: [02:55:12] <Colin[pi]> http://material-design.storage.googleapis.com/publish/v_1/quantumexternal/0Bx4BSt6jniD7dTZRR19tU0xmdm8/components_menus_usage3.png
370: [02:55:12] * spronk2 has joined #silverstripe
371: [02:55:23] <Colin[pi]> color pick under the yellow:
372: [02:55:25] <Colin[pi]> it's white :P
373: [02:55:37] <adrexia> that's an example not the spec ;)
374: [02:55:37] <Ryan-Toast> Colin[pi]: Ah, you’re right
375: [02:55:38] <antmas> yeah that is white
376: [02:55:40] <UncleCheese> is material like google's bootstrap?
377: [02:55:47] <antmas> UncleCheese: more or less yeah
378: [02:55:51] <UncleCheese> cool
379: [02:55:55] <Ryan-Toast> Unclecheese: no, it’s what people need to make their apps
380: [02:55:56] <adrexia> UncleCheese, but not really
381: [02:55:58] <Colin[pi]> UncleCheese: design language or paradigm
382: [02:55:58] <Ryan-Toast> look like
383: [02:56:09] <adrexia> it's googl;e's attempt at a new design wave
384: [02:56:12] <UncleCheese> what do you mean they need it?
385: [02:56:28] <Colin[pi]> it's analogous to Metro or... what was their old one called again?
386: [02:56:29] <adrexia> it's not a collection of tools
387: [02:56:29] <antmas> this^^
388: [02:56:41] <zippy> spronk2: ....!
389: [02:56:49] <spronk2> .....yes
390: [02:56:56] <spronk2> :)
391: [02:56:57] <zippy> :)
392: [02:57:05] <adrexia> it's like "Flat design" or 'skeuomorphic'
393: [02:57:06] <antmas> HAI spronk2 o/
394: [02:57:07] <zippy> don't tell pyro, or there be flames.... flammeesss!
395: [02:57:07] <antmas> !!!
396: [02:57:08] <UncleCheese> oh, so it's like Google Gears
397: [02:57:28] <antmas> it's basically flat design with some shadows, AKA what everyone is doing
398: [02:57:30] <Colin[pi]> UncleCheese: uh no.. I don't think so?
399: [02:57:31] <spronk2> i know lol
400: [02:57:38] <spronk2> pyro doesn't care :p
401: [02:57:51] <antmas> pyro is like the honey badger
402: [02:57:53] <spronk2> he <3 us anyway
403: [02:58:04] <UncleCheese> Oh, so it's like Google Dart
404: [02:58:15] <adrexia> it's impressionism, expressionism, classical, renaissance sort of classification
405: [02:58:26] <spronk2> o_O
406: [02:58:27] <spronk2> material is quite nice.
407: [02:58:31] <Colin[pi]> UncleCheese: Oh, you.
408: [02:58:54] * adrexia sighs
409: [02:58:54] <antmas> Google Dart eh?
410: [02:59:01] <adrexia> is it home time yet
411: [03:00:01] <antmas> I'd like to make something with Google Dart
412: [03:00:06] <antmas> looks fun
413: [03:00:13] <spronk2> dart is awesome
414: [03:00:17] <spronk2> its a language for pragmatists
415: [03:00:58] <antmas> It would be cool to use as like a proof of concept / mocking tool
416: [03:02:22] <antmas> wait, Dart has its own language?
417: [03:02:27] <UncleCheese> yeah
418: [03:02:42] <UncleCheese> https://www.dartlang.org/#code
419: [03:02:45] <antmas> kinda looks like C#
420: [03:02:48] <UncleCheese> well, meta language
421: [03:02:53] <mahfuz> Hey can anyone tell me how to make a zip file for the Image object and pass to template?
422: [03:02:56] <spronk2> its like somebody took javascript
423: [03:02:58] <UncleCheese> it all just boils down to JS in the end
424: [03:03:03] <spronk2> added all the good classical OO shit
425: [03:03:16] <spronk2> and some optional static typing for making tools better and analysis better
426: [03:03:20] <UncleCheese> mahfuz http://nz1.php.net/ZipArchive
427: [03:03:25] <spronk2> and fixed all the bullshit nonstandards
428: [03:03:40] <antmas> spronk2: so like, Jesus#?
429: [03:03:46] <UncleCheese> spronk2 you mean like ES6?
430: [03:03:49] <spronk2> ugh
431: [03:03:52] <spronk2> sorta like ES6
432: [03:03:54] <spronk2> but yknow
433: [03:03:58] <spronk2> actually in existence and usable.
434: [03:04:01] <UncleCheese> ha
435: [03:04:02] <spronk2> BURN
436: [03:04:41] <adrexia> it looks a lot like Actionscript
437: [03:04:44] <mahfuz> Thanks UC for the link. So I will use ZipArchive::addFile to make the file add the images in ther
438: [03:04:44] <spronk2> the sooner we get rid of js as the web language and move to something more akin to bytecode or MSIL VMs in browsers, the better
439: [03:04:53] <spronk2> AS3 was quite nice, tbh
440: [03:04:59] <adrexia> agree
441: [03:05:05] <adrexia> I really like AS3 as a language
442: [03:05:08] <spronk2> mm
443: [03:05:22] <antmas> actionscript at school was good fun
444: [03:06:39] <antmas> way back when I did a Flash class
445: [03:06:43] <antmas> o.O
446: [03:06:43] <novaweb> Yeow. Add @KosmalaBro to twitter if you retweet/tweet cool sh*t, particualarly SS/Open Source/Geeky tangs.
447: [03:07:28] <antmas> novaweb: is that you?
448: [03:07:32] <antmas> or someone else?
449: [03:07:42] <novaweb> moi
450: [03:07:59] <spronk2> wow
451: [03:08:02] <antmas> I should really change my background
452: [03:08:05] <antmas> in twitter
453: [03:08:09] <antmas> it done broke
454: [03:08:11] <adrexia> "Web Designing, Truth Seeking, Spaceship Pirate."
455: [03:08:13] <adrexia> hehehe
456: [03:08:15] <novaweb> With David Icke in my picture... if anyone's in to lizard alien dudes.
457: [03:08:17] <UncleCheese> mahfuz http://paste2.org/84h3eXgd
458: [03:08:20] <spronk2> having fibre really changes your workflow drastically..
459: [03:08:34] <spronk2> all those things that i previously would wait for..
460: [03:08:50] <UncleCheese> whoa, they have fibre in nelson?
461: [03:08:58] * spronk2 is not in nelson..
462: [03:09:00] <antmas> novaweb: followed
463: [03:09:03] <UncleCheese> god damn it
464: [03:09:06] <spronk2> :D
465: [03:09:13] <adrexia> neede to do an irc census
466: [03:09:17] <UncleCheese> there should be a map with everyone's screen name
467: [03:09:19] * spronk2 is in ur internetz stealing ur bandwidth
468: [03:09:49] <zippy> UncleCheese: but yes, I have fiber
469: [03:09:51] <antmas> UncleCheese: don't get me started on fibre in nelson
470: [03:10:01] <antmas> zippy: you're in Richmond, peasant!
471: [03:10:13] <zippy> I am a peasant? you has fiber?
472: [03:10:17] <adrexia> ...Nelson has the slowest internet I have found anywhere in years
473: [03:10:23] <zippy> adrexia: 200/200 ?
474: [03:10:24] <adrexia> even holkitika had faster internet
475: [03:10:46] <adrexia> my mum lives in Atawhai
476: [03:10:47] <Colin[pi]> adrexia: have you been to Australia?
477: [03:10:56] <adrexia> it's not even worth trying
478: [03:11:06] <zippy> yea well, Atawhai..
479: [03:11:15] <adrexia> tv reception is horrible too
480: [03:11:19] <antmas> atawhai would have shit internet yeah
481: [03:11:20] <zippy> thats just a couple of dudes with tin cups and some string making modem noises
482: [03:11:20] <adrexia> and phone reception
483: [03:11:25] <adrexia> lol
484: [03:11:33] <Colin[pi]> zippy: see also: Australian internet
485: [03:11:43] <UncleCheese> oh, shit
486: [03:11:53] <UncleCheese> is it that fucking Guy Fucks night tonight?
487: [03:11:59] <Colin[pi]> lol wat?
488: [03:12:07] <spronk2> you're such an old man, UncleCheese
489: [03:12:10] <adrexia> <zippy> thats just a couple of dudes with tin cups and some string making modem noises
490: [03:12:15] <adrexia> ^ pretty sure this is truew\
491: [03:12:16] <spronk2> Guy Fawesome
492: [03:12:18] <UncleCheese> Worst night of the fucking year
493: [03:12:37] <spronk2> .... saying that alound is a lot worse than it was intended
494: [03:12:41] <antmas> yeah and my GF is all like 'zomg we need to get fireworks!'
495: [03:12:48] <adrexia> I also think someone has convinced everyone out there that they are paying for broadband, and has actually sold them all the same dial up connection
496: [03:13:21] <Colin[pi]> adrexia: yes I feel inside my "ADSL" router, there's a 56k modem with the audio disabled
497: [03:13:27] <spronk2> :D
498: [03:13:32] <UncleCheese> awesome.. looking so forward to my son waking up 50 times tonight with explosions happing all around
499: [03:13:40] <antmas> Colin[pi]: ADSL-2
500: [03:13:52] <adrexia> in not very long it'll be one of his favourite nights
501: [03:13:59] <Colin[pi]> antmas: ok, ok, TWO 56k modems tied together with chewing gum and string
502: [03:14:08] <spronk2> :D
503: [03:14:31] <UncleCheese> doesn't it go on all week?
504: [03:14:59] <antmas> yeah it does
505: [03:15:04] <UncleCheese> fucking assclowns
506: [03:15:04] <antmas> it gets old REAL quick
507: [03:15:13] <Colin[pi]> UncleCheese: that's gonna be a fun filled week
508: [03:15:13] <UncleCheese> seriously, who came up with this shit
509: [03:15:17] <Colin[pi]> sadists
510: [03:15:37] <antmas> especially now that fireworks are all basically condensed sparklers in dodgy packaging
511: [03:15:41] <antmas> aka weaksauce
512: [03:15:41] <adrexia> every country on earth
513: [03:15:46] <adrexia> almost
514: [03:15:51] <spronk2> bring back the sky rockets
515: [03:15:54] <UncleCheese> i have no issue with fireworks
516: [03:15:56] <antmas> spronk2: +1
517: [03:15:59] <adrexia> not many wherre you can't buy fireworks at least once a year
518: [03:16:00] <antmas> and buzzy bees
519: [03:16:03] <UncleCheese> it's the unrestricted use of them that bugs me
520: [03:16:28] <Colin[pi]> UncleCheese: chin up, maybe some of them will seriously injure or maim themselves with them
521: [03:16:28] * adrexia shrugs
522: [03:16:30] <Colin[pi]> there's still hope
523: [03:16:31] <UncleCheese> if my neighbour wants to fire of 20 of them at 3AM, he's not breaking any rules
524: [03:16:38] <spronk2> yes he is
525: [03:16:45] <adrexia> oh yeah, taht's just bloody rude
526: [03:16:50] <adrexia> ...and noise control
527: [03:16:56] <UncleCheese> and i caleld the coucil last year
528: [03:17:08] <antmas> caleld!
529: [03:17:09] <UncleCheese> and they were like, "call someone who gives a shit. it's guy fucking hawkes day"
530: [03:17:09] <antmas> :D
531: [03:17:29] <adrexia> yeah, they were too busy putting out the fires
532: [03:18:11] <simon_w|work> Fuck Angular and its broken magic shit
533: [03:18:23] <antmas> sky rocket bazookas were a highlight of my childhood
534: [03:18:26] <micmania1> Here’s Simon.
535: [03:18:30] <micmania1> :p
536: [03:18:34] <adrexia> Fuck Silverstripe and its broken magic shit
537: [03:18:34] <antmas> lol
538: [03:18:36] <adrexia> :P
539: [03:18:50] <adrexia> (I don't mean that, by the way)
540: [03:19:09] <simon_w|work> If you're not building a CMS site, that applies too :p
541: [03:19:18] <adrexia> yep
542: [03:19:19] <adrexia> :D
543: [03:19:35] <antmas> burgerfuel
544: [03:19:52] <adrexia> oh look my virtual macine crashed again. I guerss that means its time to give up on ie for the day
545: [03:20:19] <UncleCheese> where's a good place to get healthy noodles
546: [03:20:30] <antmas> UncleCheese: what kind?
547: [03:20:33] <UncleCheese> like
548: [03:20:36] <UncleCheese> asian
549: [03:20:41] <antmas> LOL
550: [03:20:45] <antmas> 'specific'
551: [03:20:47] <simon_w|work> UncleCheese, noodle canteen
552: [03:20:54] <UncleCheese> yum
553: [03:21:01] <antmas> simon_w|work: he said healthy, not fucking disgusting
554: [03:21:11] <madmatt> hahahaha UncleCheese
555: [03:21:12] <spronk2> noodle canteen down here is pretty ok...?
556: [03:21:12] <simon_w|work> antmas, those things go together :p
557: [03:21:22] <madmatt> "guy fucking hawkes day"
558: [03:21:22] <antmas> simon_w|work: lol
559: [03:21:32] <simon_w|work> Also, yeah. The courtenay place noodle canteen is fairly decent
560: [03:21:37] <madmatt> freudian slip maybe?
561: [03:21:37] <spronk2> get the hot box
562: [03:21:44] <spronk2> or if you're into rice, they make a meaaaan nasi goreng
563: [03:22:05] <UncleCheese> johnsonville noodle canteen?
564: [03:22:29] <antmas> jville nothing bro
565: [03:22:33] <antmas> never jvile
566: [03:22:34] <madmatt> I wouldn't say they're too healthy UncleCheese
567: [03:22:39] <UncleCheese> hmm
568: [03:22:40] <madmatt> but maybe
569: [03:22:46] <UncleCheese> god damn i hate jville
570: [03:22:48] <UncleCheese> can't wait to leave
571: [03:22:57] <madmatt> Come to my side of Jville
572: [03:23:02] <madmatt> It's nicer, and you get a nice view of the city
573: [03:23:08] <zippy> UncleCheese: come to the other island. we have 200/200 fiber
574: [03:23:12] <UncleCheese> ha
575: [03:23:15] <antmas> lol someone just sent out an email asking if they know there whereabout of the 'council bike'
576: [03:23:18] <UncleCheese> you're in jville, madmatt ?
577: [03:23:20] <spronk2> lawl
578: [03:23:23] <antmas> they want to take it for a ride
579: [03:23:27] <antmas> rofl
580: [03:23:36] <antmas> the whereabouts*
581: [03:23:47] <spronk2> me points to ss23
582: [03:23:50] <spronk2> there it is antmas
583: [03:24:02] <antmas> lol not the ss bike spronk2
584: [03:24:11] <spronk2> oh my bad
585: [03:24:11] <simon_w|work> madmatt, left Churton Park then?
586: [03:24:12] <spronk2> :D
587: [03:25:08] <UncleCheese> churton park is nice
588: [03:25:18] <antmas> lol 'that office bike was basically unrideable - it had wobbly wheels'
589: [03:27:14] <antmas> haha 'I hope they get that bastard summer student back so we can make him ride it in town shouting 'hergy hergy, pay your rates!''
590: [03:29:48] <zippy> hmmm...
591: [03:29:55] <zippy> $10 more a month for unlimited interwebs
592: [03:30:48] <UncleCheese> zippy don't do it!
593: [03:30:51] * jedateach quit (Quit: jedateach)
594: [03:30:53] <spronk2> from snap?
595: [03:30:56] <UncleCheese> yeah
596: [03:31:01] <UncleCheese> have to sign a 24mo contract
597: [03:31:02] * spronk2 just signed up with snap
598: [03:31:06] <UncleCheese> ohhh
599: [03:31:12] <spronk2> because
600: [03:31:13] <spronk2> fuck vodafone
601: [03:31:16] <UncleCheese> torrent party at spronk2 's house
602: [03:31:21] <UncleCheese> yeah, i left VF for Snap, too
603: [03:31:22] <spronk2> HOO RAH
604: [03:31:33] <UncleCheese> vodafone was the WORST service i have ever seen
605: [03:31:44] <spronk2> the final straw for me, after a couple of years of pretty shit ADSL with regular outages and crap service, was them telling me they are retiring my mobile plan
606: [03:31:46] <Colin[pi]> vodafail
607: [03:31:47] <spronk2> and the only options are more expensive ones
608: [03:32:13] * jedateach has joined #silverstripe
609: [03:32:27] <antmas> UncleCheese: I got on that plan for a 12 month contract with $10 off what I pay now
610: [03:32:36] <UncleCheese> i'm on $85
611: [03:32:42] <mahfuz> UC: could you please have a look at my code here - http://www.sspaste.com/paste/show/54599544bfb4e
612: [03:32:43] <UncleCheese> for.... 150GB
613: [03:33:05] * spronk2 also got a fritzbox 7490 for $50
614: [03:33:22] <UncleCheese> mahfuz you're adding the URL, but the zip is created in the filesystem
615: [03:33:23] <antmas> UncleCheese: I'm on that now for unlimited
616: [03:34:28] <zippy> spronk2: so you went with the friz in the end eh
617: [03:34:31] <spronk2> ya
618: [03:34:38] <spronk2> 802.11ac was the main drawcard
619: [03:34:45] <spronk2> it syncs a little slower than my draytek though
620: [03:34:51] <spronk2> about 1mbit/sec lower, actually
621: [03:35:16] <zippy> fiber will fix that
622: [03:35:24] <spronk2> when they actually come to my house
623: [03:35:41] <spronk2> 300m away in one direction, 1.2km away in the other direction, but they stopped there D:
624: [03:36:00] <spronk2> fuck them and their overbuilding places who already ahve 100mbit service through voda
625: [03:36:08] <mahfuz> UC: so I won't be able to create the zip file in any subfolder under assets?
626: [03:36:14] <UncleCheese> huh?
627: [03:36:19] <antmas> spronk2: try 10m away :|
628: [03:36:24] <UncleCheese> You're trying to add a URL to a zip file
629: [03:36:25] <spronk2> D:
630: [03:36:37] <UncleCheese> you can only add files from the filesystem to a zip file
631: [03:37:04] <UncleCheese> you can use ->getFullPath() for that
632: [03:37:41] <mahfuz> ->getFullPath() on the Image object?
633: [03:38:41] * novaweb quit (Quit: Leaving)
634: [03:43:40] * wracu has joined #silverstripe
635: [03:44:11] <wracu> evening...
636: [03:45:03] <JeremyRoundill> mahfuz: check the docs
637: [03:45:12] <wracu> question. I want to populate a gridfield with a defined list of dataobjects. I've managed to get the list of DataObjects (all the same class) into an Array, but not sure how to get this into a gridfield
638: [03:45:21] <JeremyRoundill> mahfuz: http://api.silverstripe.org/3.1/class-File.html#_getFullPath
639: [03:46:05] <JeremyRoundill> wracu: http://api.silverstripe.org/3.1/class-GridField.html
640: [03:46:28] <JeremyRoundill> wracu: I'd suggest doing new ArrayList($yourArray); and passing that to a gridfield
641: [03:46:49] <JeremyRoundill> new GridField('ExampleGrid', 'Example grid', new ArrayList($array));
642: [03:47:38] <micmania1> wracu: You don’t need to put them into an array before putting them into a GridField.
643: [03:47:46] <mahfuz> Thanks Jeremy but how can I use that with an Image object?
644: [03:48:02] <JeremyRoundill> mahfuz: Image extends File.
645: [03:48:12] <micmania1> wracu: GirdField::create(‘MyGridField’, ‘My GridField’, MyDataObject::get()->filter(‘blah’, ‘blah’))
646: [03:48:41] <micmania1> wracu: http://doc.silverstripe.org/framework/en/reference/grid-field
647: [03:49:13] <zippy> https://www.youtube.com/watch?v=y8Uqqwr-wXA it's just a cringe watching that eh
648: [03:50:09] <wracu> micmania1 the filter is difficult. I'll try to explain...
649: [03:51:12] <wracu> I have a Group DataObject with a belongs_many_many to Position. I am showing a gridfield populated with Position (Positions belonging to the Group). Fine.
650: [03:51:13] <wracu> however
651: [03:52:05] <wracu> I also want to show a gridfield populated with the People who hold the Positions. The Position has_one Person.... so I need to show in the gridfield, all the people who belong to the Positions
652: [03:53:24] <JeremyRoundill> You should be able to chain those all together, wracu.
653: [03:53:45] <JeremyRoundill> $group->Positions()->People()
654: [03:53:48] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
655: [03:54:01] <JeremyRoundill> Regardless, my code above should work for you.
656: [03:54:17] <antmas> zippy: yeah and being a national support, JK was an uber asshole to Hughes
657: [03:54:24] <wracu> ok thanks. I'll have a go
658: [03:54:26] <antmas> supporter*
659: [03:54:45] <zippy> antmas: i used to support him, but not in the past year a a bit
660: [03:54:53] <JeremyRoundill> http://www.parliament.nz/media/28439/house-384.asx I've been watching this for 3 hours now.
661: [03:54:57] <JeremyRoundill> It's all painful.
662: [03:55:02] <spronk2> looooool
663: [03:55:03] <spronk2> mm
664: [03:55:07] <antmas> JeremyRoundill: it always is dude
665: [03:55:08] <zippy> just comes accross as such a prick
666: [03:56:02] <JeremyRoundill> Putting aside the errors National is making, it's really terrible the lies they're telling.
667: [03:56:11] * pippy quit (Quit: Page closed)
668: [03:56:42] <JeremyRoundill> They said they inherited terrible books from Labour. Actually, they've tripled our debt.
669: [03:57:07] <JeremyRoundill> They said they inherited unsustainable spending from Labour. Actually, they've kept spending at the same level.
670: [03:57:10] <spronk2> "if he wants I'll sign them and he can take them back after playtime"
671: [03:57:20] <spronk2> ^^ that shit should have an immediate dismissal from the house
672: [03:57:26] <antmas> exactly
673: [03:57:39] <antmas> it's early days, but I've been pretty dissappointed with JK
674: [03:57:41] <antmas> so far
675: [03:57:42] <JeremyRoundill> They said they had to sell off assets. Actually, they could have got a loan twice as large for free with the interest made off the assets.
676: [03:57:49] <spronk2> 3x in 6 months and they're ejected from their position.
677: [03:58:00] <JeremyRoundill> Yeah.
678: [03:58:04] <JeremyRoundill> Question time is a joke though.
679: [03:58:09] <spronk2> it's suuuuch a joke.
680: [03:58:29] <antmas> even down to the structure of how it is run is a joke
681: [03:58:33] <JeremyRoundill> It's character politics, the policy is forgotten.
682: [03:58:45] <antmas> let alone the idiots in parliament
683: [03:59:29] <JeremyRoundill> Yeah.
684: [03:59:37] <antmas> anyway
685: [03:59:41] <antmas> why am I still at work?
686: [03:59:46] <Colin[pi]> I can't last 5 minutes watching Question Time without turning it off in disgust
687: [03:59:52] <JeremyRoundill> Haha, I was just thinking that.
688: [03:59:55] * Olliepop quit (Ping timeout: 246 seconds)
689: [04:00:22] <JeremyRoundill> I was hoping to see Labour in government this year, so I could see if they're the same at Question Time.
690: [04:00:36] <JeremyRoundill> I suspect they would be relatively similar.
691: [04:00:38] <adrexia> I want to smash JKI in the face
692: [04:00:44] <antmas> I'd rather have sent my vote to Greens
693: [04:00:44] <JeremyRoundill> Yup.
694: [04:00:50] <antmas> fuck labour, but now also fuck national
695: [04:00:54] <JeremyRoundill> I voted Mana.
696: [04:00:54] <adrexia> I suspect he is a psychopath
697: [04:00:57] <spronk2> ohg od
698: [04:01:00] <spronk2> i hate them all
699: [04:01:05] <antmas> :P
700: [04:01:11] <spronk2> i want to vote no confidence in every single one of them
701: [04:01:19] <antmas> yeah that'd be nice
702: [04:01:23] <spronk2> clean them out completely
703: [04:01:24] <spronk2> find a new lot.
704: [04:01:38] <wracu> $group->Positions()->People() doesn't quiiiite work haha... Group $has_many Positions; Position $has_one Person
705: [04:01:41] <spronk2> i'd support laws that introduced a maximum public service term of ~5 years
706: [04:01:41] <wracu> so I get the method 'person' does not exist on 'HasManyList'
707: [04:01:48] * helenclarko quit (Quit: Page closed)
708: [04:01:58] <antmas> lol helen's had enough!
709: [04:02:00] <Colin[pi]> there is only one true candidate for our leader: http://i.imgur.com/wyYOP.gif
710: [04:02:03] <wracu> lawl
711: [04:02:08] <adrexia> spronk2, I's support at least having the same checks the US does on presidental terms
712: [04:02:12] <spronk2> mm
713: [04:02:37] <adrexia> o9r, if we could ostricize people like the Greeks did
714: [04:02:40] <JeremyRoundill> I don't like representative democracy at all.
715: [04:02:49] <antmas> I'd support no debates on fucking Campbell live or TV One
716: [04:02:50] <JeremyRoundill> Binding referenda!
717: [04:02:57] <JeremyRoundill> Ostracize Colin Craig!
718: [04:03:01] <antmas> lol
719: [04:03:22] <antmas> AUS couuld have hynotode and we could have the lizard (CC)
720: [04:03:30] <JeremyRoundill> Anyway
721: [04:03:30] <antmas> hynotoad*
722: [04:03:35] <JeremyRoundill> It's like 3 past 5.
723: [04:03:35] <antmas> fuck
724: [04:03:36] <JeremyRoundill> I'm off
725: [04:03:38] <antmas> can't computer anymore
726: [04:03:39] <JeremyRoundill> Adios!
727: [04:03:43] <antmas> l8rs
728: [04:03:45] <spronk2> :D
729: [04:03:47] <spronk2> ciao
730: [04:03:48] <Colin[pi]> cyas
731: [04:03:53] <antmas> chow
732: [04:03:58] * antmas is hungry
733: [04:05:23] <zippy> Colin[pi]: I thought that image was going to be the one true god..
734: [04:05:46] <Colin[pi]> haha
735: [04:07:49] * jedateach quit (Quit: jedateach)
736: [04:11:56] <antmas> later all!
737: [04:12:09] * antmas quit (Quit: Page closed)
738: [04:12:36] * wracu quit (Quit: Leaving)
739: [04:13:41] * abitran has joined #silverstripe
740: [04:19:49] * Ryan-Toast quit (Quit: Ryan-Toast)
741: [04:27:23] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
742: [04:30:07] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
743: [04:30:18] * Colin[pi] quit (Ping timeout: 250 seconds)
744: [04:36:52] * cloph_away has joined #silverstripe
745: [04:37:02] * cloph quit (Ping timeout: 256 seconds)
746: [04:42:24] * hailwood quit (Quit: Leaving.)
747: [04:57:40] <mudmonth> is there a good silverstripe backup / restore module
748: [05:14:12] * spronk2 quit (Quit: I may need a longer sleep timer...)
749: [05:21:40] <ss23> mudmonth: Not really, but sspak can work okay
750: [05:25:13] <mudmonth> was thinking of writing one for myself since this one i found is a fucking shitshow
751: [05:25:48] <mudmonth> oh that looks interesting ss23
752: [05:27:32] * muskie9 has joined #silverstripe
753: [05:28:48] * abitran quit (Ping timeout: 250 seconds)
754: [05:33:41] * Zopiclone has joined #silverstripe
755: [05:34:27] * abitran has joined #silverstripe
756: [05:35:45] <Zopiclone> hello, is there a way to add data to the posted $data array in a form?
757: [05:37:38] * micmania1 quit (Quit: micmania1)
758: [05:44:46] <ss23> Zopiclone: Like... a hidden field?
759: [05:52:53] <Zopiclone> nah i have a 3 fields that get filled out. I would like them to be combined after they are posted and then included in the email that gets sent
760: [05:54:54] <Zopiclone> maybe i should just do a hidden field with javascript?
761: [05:55:18] <ss23> In the PHP code do the combining
762: [05:55:26] <jordanmk> hey guys
763: [05:55:30] <ss23> $emailContent = 'hi there mr ' . $data['name']...
764: [05:55:55] <jordanmk> i'm trying to set up my $_FILE_TO_URL_MAPPING in _ss_environment.php so i can get SAKE working but i'm having issues :(
765: [05:56:13] <ss23> jordanmk: sake should work without the mapping deifned, but it'll give an error and not know the right URLs
766: [05:56:54] <jordanmk> @ss23 ah okay, well then i guess i'm trying to stop the errors. the site is on a server in the folder '/home/sl/public_html/'
767: [05:57:09] <jordanmk> i tried setting the $_FILE_TO_URL_MAPPING to that value, but i still get errors
768: [05:57:30] <jordanmk> specifically, "Notice: Undefined index: HTTP_HOST in /home/sl/public_html/framework/control/Director.php on line 880"
769: [05:58:10] <ss23> jordanmk: http://logs.simon.geek.nz/index.php?date=2013-03-11#log_929162
770: [05:59:05] <jordanmk> @ss23, hmm, i can't see anyone providing a solution for jcwacky?
771: [05:59:17] <ss23> jordanmk: Neither can I :O
772: [05:59:20] <ss23> But are you doing forcewww?
773: [05:59:29] <jordanmk> nope
774: [05:59:37] <jordanmk> i do for live websites but this is on a staging server
775: [05:59:44] <ss23> Hmmm
776: [05:59:49] <ss23> I don't know then sorry, and I have to head off
777: [05:59:54] <ss23> Good luck, and perhaps post int eh forums if you can't solve it
778: [05:59:57] <jordanmk> okay no worries, thanks anyway
779: [06:00:19] * mahfuz quit (Ping timeout: 246 seconds)
780: [06:00:45] <simon_w|work> jordanmk, what does your $_FILE_TO_URL_MAPPING look like?
781: [06:02:29] * muskie9 is now known as _muskie9_
782: [06:08:03] * __will has joined #silverstripe
783: [06:24:49] * __will quit (Ping timeout: 246 seconds)
784: [06:40:43] * lerni_ has joined #silverstripe
785: [06:44:59] * Shrike_Finland has joined #silverstripe
786: [06:49:06] * Shrike_Finland1 has joined #silverstripe
787: [06:52:22] * Shrike_Finland quit (Ping timeout: 245 seconds)
788: [06:55:21] * r_hector has joined #silverstripe
789: [07:01:13] * Stomach quit (Quit: bye)
790: [07:12:26] * Liquide has joined #silverstripe
791: [07:34:46] * Eliseth quit (Remote host closed the connection)
792: [07:35:30] * Eliseth has joined #silverstripe
793: [07:54:45] * Shrike_Finland1 quit (Quit: Leaving.)
794: [07:58:40] * wmk has joined #silverstripe
795: [08:00:00] * zippy has joined #silverstripe
796: [08:04:11] * Eliseth quit (Quit: Textual IRC Client: www.textualapp.com)
797: [08:07:12] * Eliseth has joined #silverstripe
798: [08:09:23] <Eliseth> Morning
799: [08:16:48] * Shrike_Finland has joined #silverstripe
800: [08:18:17] <wmk> hi Eliseth
801: [08:18:29] <wmk> got the resampled image problem fixed?
802: [08:20:46] <Eliseth> Well
803: [08:21:10] <Eliseth> As it turned out, just opening and saving the pages that had missing images was the fastest solution
804: [08:21:43] <wmk> did you have a chance to automate it?
805: [08:21:54] * Tanger quit (Read error: Connection reset by peer)
806: [08:22:10] <wmk> though saving is not so sexy... it adds another version to the page. but as long as it works
807: [08:22:16] * Tanger has joined #silverstripe
808: [08:22:42] <wmk> and - did you file an issue?
809: [08:23:53] <Eliseth> My technical skills are limited, I just started silverstripe (and programming in general) so no, I did not even try to automate it. :)
810: [08:24:10] <Eliseth> And yeah, not sexy but gets the job done and is the fastest solution in this case
811: [08:24:30] <Eliseth> There was already an open issue regarding this? Didn't you send me the link yesterday?
812: [08:25:01] <wmk> it was closed...
813: [08:25:28] <wmk> so if you encountered the problem you might open an issue.
814: [08:26:05] <wmk> i thought of a general task to rebuild the content images, but it'll be a bit harder to make it really general
815: [08:27:41] <Eliseth> Yeah, would be a nice feature to have in /dev/tasks
816: [08:28:44] * stefanh__ has joined #silverstripe
817: [08:37:28] <wmk> absolutely
818: [08:38:32] <Eliseth> Id oubt there's currently any practical way of doing it though, since there seems to be no external reference to the resampled images other than in the page record itself
819: [08:38:36] <Eliseth> *doubt
820: [08:50:14] * Colin[pi] has joined #silverstripe
821: [08:52:51] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
822: [08:54:29] <zippy> Colin[pi]: wb
823: [08:54:36] <Colin[pi]> hi!
824: [08:59:47] <jcwacky> jordanmk: Still around?
825: [09:01:53] <jcwacky> jordanmk: I worked around it like this: http://www.sspaste.com/paste/show/5459e25f9ee99
826: [09:02:13] * kinglozzer has joined #silverstripe
827: [09:02:44] <wmk> Eliseth, well, grab all DO with HTMLText and check if there is an image inside and if it has to be rebuild
828: [09:03:12] <wmk> should be somehow possible to get all registered Dataobjects.
829: [09:06:19] <kinglozzer> wmk, Eliseth: The logic happens in HtmlEditorField::saveInto(), which is probably why it doesn't work with the "batch actions" stuff
830: [09:06:48] <wmk> kinglozzer, well, a task could do it manually
831: [09:07:05] <wmk> but not only for SiteTree fields, for all DOs
832: [09:07:28] <Eliseth> DO = Database Object?
833: [09:07:38] <wmk> maybe one could just grab the field with Content and run saveInto()
834: [09:07:45] <wmk> without saving the DO again
835: [09:07:54] <wmk> Eliseth, yes, DO == DataObject
836: [09:08:10] <Eliseth> Thanks :)
837: [09:08:13] <kinglozzer> Yeah it could do, I was trying to work out if it's a "bug"
838: [09:08:45] <wmk> kinglozzer, it's a but that FlushImages Task kills HtmlEditor images
839: [09:08:50] <wmk> it is definitely
840: [09:08:52] <kinglozzer> I mean, should it always apply to all HTMLText / HTMLVarchar fields? Regardless of whether they're an HtmlEditorField in the form
841: [09:10:23] <wmk> should it ... what "it" ??
842: [09:10:49] <wmk> the task could just check if the images inside HTML* field exists and regenerate if possible, throw an error notice otherwise
843: [09:13:00] * NobrainerWeb has joined #silverstripe
844: [09:13:04] <kinglozzer> wmk: That's what I'm saying though, should that task always apply to _all_ HTMLText/HTMLVarchar fields? What if you're not using an HTMLEditorField to edit that field?
845: [09:13:16] <kinglozzer> (I don't think it would do any harm at all, just thinking aloud)
846: [09:13:30] <wmk> the task shouldn't alter the field value
847: [09:13:38] <wmk> cause it doesn't save anything
848: [09:13:44] <kinglozzer> Oh, shit, yeah you're right
849: [09:13:45] <kinglozzer> Doh ><
850: [09:13:51] <kinglozzer> More caffeine
851: [09:14:42] <wmk> kinglozzer, if you've'd been in Linz you'd had some coffee sponsored by my company ;)
852: [09:14:49] <wmk> at least on sat
853: [09:16:04] <kinglozzer> wmk: It seems I missed out on quite a few freebies :P
854: [09:16:22] <wmk> i got the last badge with "my code is elegant"
855: [09:16:30] <wmk> love it
856: [09:17:44] <NobrainerWeb> badges? you want badges? I give you motherfuckers badges! :-)
857: [09:17:45] * Shrike_Finland quit (Quit: Leaving.)
858: [09:18:13] <wmk> NobrainerWeb, ??
859: [09:18:24] <NobrainerWeb> haha just something from a movie
860: [09:18:30] <NobrainerWeb> think it’s bad boys
861: [09:18:46] <NobrainerWeb> must be said with chinese accent
862: [09:18:47] <wmk> NobrainerWeb, ok. didn't know it
863: [09:18:51] <NobrainerWeb> :-)
864: [09:18:59] <wmk> just wondered if Py** has another nick today
865: [09:19:00] <NobrainerWeb> Where did you get badges?
866: [09:19:04] <NobrainerWeb> lol
867: [09:19:21] <wmk> NobrainerWeb, there was a table with some github and ss stickers, there was one badge left
868: [09:20:06] <NobrainerWeb> Ahh, have 2 github stickers here and a few SS ones somewhere. SS ones are not from Linz though
869: [09:21:53] <zippy> kinglozzer: merged any code into core yet?
870: [09:22:13] <kinglozzer> zippy: A few things, yeah :)
871: [09:25:02] * Zopiclone quit (Read error: Connection reset by peer)
872: [09:26:05] * jeroenem has joined #silverstripe
873: [09:31:39] * Tanger quit (Quit: Tanger)
874: [09:33:52] <wmk> is there a "forTemplate" magic?
875: [09:34:36] * r_hector quit (Quit: Leaving.)
876: [09:34:45] * Kingy is now known as Kingy[a]
877: [09:36:02] * spronk2 has joined #silverstripe
878: [09:36:11] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
879: [09:36:41] <Colin[pi]> haha I just accidentally triggered this on the form page I've developing and nearly crappy myself: http://nthitz.github.io/turndownforwhatjs/
880: [09:36:44] * spronk2 quit (Read error: Connection reset by peer)
881: [09:36:47] <Colin[pi]> *crapped
882: [09:57:43] * UncleCheese has joined #silverstripe
883: [10:00:07] <wmk> in UploadField->setAllowedExtensions(): do i have to allow each extension manually or can i just use an app_category like "audio" ?
884: [10:01:17] <Colin[pi]> wmk: see UploadField->setAllowedFileCategories()
885: [10:01:27] <wmk> Colin[pi], 10x!
886: [10:01:30] <Colin[pi]> eg "image", "audio" etc.
887: [10:01:34] <wmk> yup
888: [10:01:39] <wmk> was searching for that
889: [10:01:54] <wmk> 10x a lot
890: [10:04:34] <Colin[pi]> np
891: [10:05:34] * Audlex has joined #silverstripe
892: [10:06:47] <Audlex> I am % with PageA % and then looping through a dataobject within the with, how can I get the $Link outside the dataobject? $Top. doesn't work as I thought it should?
893: [10:07:17] <simon_w> $Up.Link
894: [10:07:26] <simon_w> $Top takes you all the way to the top, not to PageA
895: [10:08:41] <kinglozzer> Man why don't people tag modules? D:
896: [10:08:53] <NobrainerWeb> Is there an easy way of doing $HomePage.Title in template - not having to create a method on page first? I just think i have actually seen it somewhere
897: [10:09:03] <kinglozzer> I mean, even random versioning numbers is better than dev-master
898: [10:09:39] <kinglozzer> NobrainerWeb: $List(HomePageType).First.Title
899: [10:09:47] <kinglozzer> That's quite dirty though
900: [10:09:47] <NobrainerWeb> kinglozzer: i haven’t simply because the git thingy and composer stuff is so new
901: [10:10:07] <NobrainerWeb> kinglozzer: Thx!
902: [10:10:12] <wmk> NobrainerWeb, so new? it feels it's around for ages
903: [10:10:30] <NobrainerWeb> new to me i mean sry
904: [10:10:34] <wmk> ;)
905: [10:10:38] <kinglozzer> NobrainerWeb: I think you can also do $Page('home').Title
906: [10:10:41] <kinglozzer> Maybe..
907: [10:10:43] <kinglozzer> Not sure on that one
908: [10:11:07] <kinglozzer> (assuming home page url is 'home' and will never change)
909: [10:11:08] <NobrainerWeb> kinglozzer: would not work in this case (multilingual), but the first one mig
910: [10:11:10] <NobrainerWeb> might
911: [10:11:13] <kinglozzer> Ah ^^
912: [10:12:01] <simon_w> NobrainerWeb, $Page(home).Title
913: [10:12:10] <simon_w> Though, $SiteConfig.Title is better :p
914: [10:12:37] <wmk> yup. save title of homepage to siteconfig
915: [10:12:51] <wmk> onAfterWrite
916: [10:12:54] <NobrainerWeb> kinglozzer: Would be nice to have this documented $List(HomePageType).First.Title
917: [10:13:06] <NobrainerWeb> well i need the link in breadcrumb
918: [10:13:17] <wmk> ah
919: [10:13:21] <Audlex> simon_w: could you please have a nosy at this? http://pastebin.com/Pq1Be2ZJ
920: [10:13:24] <wmk> does $List() work with translatable?
921: [10:13:29] <Audlex> seems to yeild the same result as before
922: [10:13:30] <NobrainerWeb> will check
923: [10:13:44] <simon_w> wmk, $List is just DataList::create
924: [10:13:49] <NobrainerWeb> Yep
925: [10:14:02] <wmk> ok, so tranlsatable augmentsql works with it.
926: [10:14:06] <wmk> cool stuff
927: [10:14:41] <NobrainerWeb> kinglozzer: why is $List(HomePageType).First.Title dirty? Is it slow. bad practice or what?
928: [10:14:54] <wmk> cache it!
929: [10:15:01] <NobrainerWeb> i will :-)
930: [10:15:02] <wmk> ;)
931: [10:15:20] <NobrainerWeb> do you mean partial or that SS_Cache i have never looked at?
932: [10:15:36] <Audlex> simon_w: FYI, it works when I remove the Limit(4)
933: [10:15:38] <wmk> go with partial.
934: [10:16:01] <wmk> though you can cache the whole breadcrumbs for each page
935: [10:16:07] <kinglozzer> There's nothing terribly wrong with it. It assumes you've got a page with that page type (what if someone deletes it?)
936: [10:16:11] * Pyrrrrrrk has joined #silverstripe
937: [10:16:23] <kinglozzer> That aside, it's just best to avoid anything more complex than that being in the view
938: [10:16:26] <NobrainerWeb> Then i simply kill them
939: [10:16:34] <Pyrrrrrrk> KILL!
940: [10:16:37] <Pyrrrrrrk> KILL!
941: [10:16:38] <Pyrrrrrrk> KILL!
942: [10:16:38] <NobrainerWeb> !!
943: [10:16:55] * Shrike_Finland has joined #silverstripe
944: [10:16:57] <kinglozzer> E.g. I've seen templates with <% loop List(Foo).Filter('Bar', 'Baz').Limit(3, 1).Sort('SomethingElse') %>
945: [10:17:02] <kinglozzer> Which no one wants :P
946: [10:17:06] <Pyrrrrrrk> yeah, that's so hack :(
947: [10:17:24] <kinglozzer> But yeah NobrainerWeb, that should be fine :)
948: [10:18:38] <NobrainerWeb> ok thx, just nice to not have to create these small “getters” when they are not needed
949: [10:19:45] <wmk> kinglozzer, this loop List.Filter.Limit.Sort is just another small getter avoided
950: [10:19:52] <wmk> ;)
951: [10:20:08] <Pyrrrrrrk> So this morning on the train: "When you learn IT, that's when you get to the point where you can reach up inside the computer, grab on and give it a bit of a knock about"
952: [10:20:09] <wmk> though it's hard to keep a modified template in track when this is used in a module
953: [10:20:17] <Pyrrrrrrk> *guy makes cavity search motion*
954: [10:20:38] <kinglozzer> wmk: But it's so horrible for people working on frontend :( it's much easier for someone to read <% loop UpcomingEvents %> than something like that ^^
955: [10:20:41] <Pyrrrrrrk> complete with thumb and finger around his other wrist, sliding up his arm
956: [10:21:00] <wmk> kinglozzer, absolutely
957: [10:21:02] <kinglozzer> lol Pyrrrrrrk
958: [10:21:34] <Pyrrrrrrk> 'give it a knock about, get it to do what you want'
959: [10:22:39] <Pyrrrrrrk> *shakes hand back and forth, in a mastabatory kind of motion*
960: [10:22:49] <Pyrrrrrrk> it should be noted though; he was being full serious.
961: [10:22:56] <Pyrrrrrrk> not even taking the piss
962: [10:25:23] <wmk> damn. module only availabe with svn???
963: [10:25:44] <Pyrrrrrrk> eh?
964: [10:25:51] * Audlex quit ()
965: [10:26:38] <wmk> a special module
966: [10:26:46] <wmk> listed in addons.
967: [10:26:57] <wmk> no svn on my win machine installed (why should i?)
968: [10:27:27] <Pyrrrrrrk> odd.
969: [10:27:31] <wmk> absolutely
970: [10:27:46] <wmk> simon_w, any chance to put http://addons.silverstripe.org/add-ons/simonwelsh/hasoneedit on git?
971: [10:28:51] <Pyrrrrrrk> oh, right.
972: [10:29:28] * stefanh__ quit (Quit: This computer has gone to sleep)
973: [10:29:36] <Pyrrrrrrk> wmk: doesn't github do svn imports?
974: [10:29:49] <wmk> dunno. you mean i should fork it?
975: [10:30:11] <simon_w> wmk, any chance you can install SVN?
976: [10:30:23] <wmk> *sigh*
977: [10:30:50] <wmk> simon_w, if you really want me to install it... only for one module
978: [10:31:00] * wmk was so happy to leave svn behind
979: [10:31:52] <Pyrrrrrrk> it's come some ways wmk, or so I hear :P
980: [10:32:03] <wmk> it's come some ways?
981: [10:32:11] <Pyrrrrrrk> no more .svn in every dir
982: [10:32:14] <Pyrrrrrrk> or something
983: [10:32:57] <kinglozzer> Great. My images are silently failing to resample
984: [10:33:09] <Pyrrrrrrk> rm -rf *
985: [10:33:16] <wmk> at least they don't make noise
986: [10:34:12] <simon_w> Pyrrrrrrk, And it's not named after the creator's personality type too :p
987: [10:34:29] <Pyrrrrrrk> hehe, there is that!
988: [10:35:08] <Pyrrrrrrk> I wanted to get some code the other day
989: [10:35:15] <Pyrrrrrrk> and it was all JUST INSTALL CVS
990: [10:35:24] <Pyrrrrrrk> lol, nope.
991: [10:35:34] <wmk> Pyrrrrrrk, yup, github importer grabs svn and imports to a new repo
992: [10:35:36] <kinglozzer> WARNING: Image::generateFormattedImage - Image CroppedFocusedImage public function not found
993: [10:35:43] <kinglozzer> Well, it's me being an idiot, which is good
994: [10:35:49] <kinglozzer> But why the hell is that only a warning?
995: [10:36:19] * Pyrrrrrrk shrugs
996: [10:36:35] <Pyrrrrrrk> coz those funcs are generally only called from tempalte? Idk
997: [10:37:01] <kinglozzer> Yeah I guess..
998: [10:37:16] <kinglozzer> More importantly, why are warnings surpressed on my dev env D:
999: [10:37:21] <Pyrrrrrrk> I need to track mergers
1000: [10:37:24] <Pyrrrrrrk> howdo
1001: [10:37:26] <Pyrrrrrrk> :<
1002: [10:38:56] <kinglozzer> Dafuq? Error reporting is E_ALL, but no warnings... wut
1003: [10:39:56] * simon_w sleeps
1004: [10:39:57] <wmk> simon_w, forked and problem solved.
1005: [10:40:37] <simon_w> wmk, until I go and update it
1006: [10:40:46] <Pyrrrrrrk> D:
1007: [10:41:23] <Eliseth> Soooo, has anyone extended the image resampler to make use of smushit by any chance? :)
1008: [10:41:31] <Pyrrrrrrk> who?
1009: [10:41:46] <Pyrrrrrrk> SadoMasochistic shit?
1010: [10:41:51] <Pyrrrrrrk> dafuq would do that!?
1011: [10:42:38] <Eliseth> smush-it, not smu-shit ^^
1012: [10:42:44] <Pyrrrrrrk> D:
1013: [10:42:48] <Pyrrrrrrk> therapistfinder.com
1014: [10:42:55] <Pyrrrrrrk> penisland.com
1015: [10:43:09] <Pyrrrrrrk> smushit .wtfever
1016: [10:43:27] * Pyrrrrrrk doesn't want to google this at work
1017: [10:44:25] <wmk> Eliseth, you mean png / jpg compression?
1018: [10:44:51] <wmk> make a grunt task that watches _resampled
1019: [10:44:52] <Pyrrrrrrk> Eliseth: sounds like you want to re-implement another image_backend
1020: [10:45:04] <Pyrrrrrrk> or that
1021: [10:45:12] <wmk> though jpg compression is fine in gd i guess
1022: [10:45:17] <Pyrrrrrrk> grunt and smu shit
1023: [10:45:20] <wmk> you can set default compression
1024: [10:45:26] <Pyrrrrrrk> OH HO HO, There's a joke in there!
1025: [10:45:28] <wmk> for uploaded png --
1026: [10:45:39] <wmk> Pyrrrrrrk, ;)
1027: [10:45:53] <Eliseth> I know there is
1028: [10:45:54] <Pyrrrrrrk> like that austin powers scene
1029: [10:46:05] <wmk> i enjoyed compressing png automatically in my last theme
1030: [10:46:21] <Eliseth> But smushit gets much smaller filesize with the same quality
1031: [10:46:39] <Pyrrrrrrk> http://www.youtube.com/watch?v=J-YVt4gfquA
1032: [10:47:07] <Pyrrrrrrk> grunty shits
1033: [10:47:23] <Eliseth> Ok.... never grunted
1034: [10:47:26] <Eliseth> I'll check it out
1035: [10:47:36] <Eliseth> As said, just starting out with any of this :)
1036: [10:47:55] <wmk> Eliseth, really never grunted???
1037: [10:48:17] <Eliseth> I thought maybe the smushit JSON output could be used easily somehow (and was hoping someone already did that, haha)
1038: [10:48:23] <Eliseth> (http://www.smushit.com/ysmush.it/ws.php?img=http://l.yimg.com/a/i/ydn/ydn-logo.gif)
1039: [10:48:44] <Pyrrrrrrk> yahoo
1040: [10:48:47] <Pyrrrrrrk> :<
1041: [10:48:53] <Eliseth> just an example :P
1042: [10:49:03] <Pyrrrrrrk> no, it's a yahoo tool.
1043: [10:49:05] <Pyrrrrrrk> yslow
1044: [10:50:57] * NobrainerWeb quit (Quit: NobrainerWeb)
1045: [10:54:07] <Eliseth> nvm
1046: [10:54:22] <Eliseth> I'll go with ngx_pagespeed
1047: [10:57:31] <Pyrrrrrrk> "combine_heads Combines multiple <head> elements into one. "
1048: [10:57:33] <Pyrrrrrrk> the fuck
1049: [10:57:38] <Pyrrrrrrk> who does that?
1050: [11:00:24] * NobrainerWeb has joined #silverstripe
1051: [11:03:37] * veb quit (Read error: Connection reset by peer)
1052: [11:11:37] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1053: [11:20:07] * Colin[pi] quit (Ping timeout: 264 seconds)
1054: [11:33:47] * lerni_ quit (Remote host closed the connection)
1055: [11:39:46] * stefanh__ has joined #silverstripe
1056: [11:55:35] * stefanh__ quit (Quit: This computer has gone to sleep)
1057: [12:01:35] <wmk> combine heads?
1058: [12:02:45] <wmk> Q: what do wa want? A: Coffee!
1059: [12:04:33] * lerni has joined #silverstripe
1060: [12:05:26] <NobrainerWeb> Hi Lukas
1061: [12:06:44] * lerni_ has joined #silverstripe
1062: [12:06:44] * lerni quit (Read error: Connection reset by peer)
1063: [12:08:14] * Guits quit (Ping timeout: 265 seconds)
1064: [12:17:26] * cloph_away is now known as cloph
1065: [12:18:06] <NobrainerWeb> Can someone explain the difference to what data a with and a loop in template requires?
1066: [12:18:34] <NobrainerWeb> I tried returning a DataList to my template and did “with” - which did not work
1067: [12:18:40] <NobrainerWeb> but loop did
1068: [12:22:17] * DimiStripe has joined #silverstripe
1069: [12:23:20] <wmk> NobrainerWeb, DataList / ArrayList => Loop over the list items
1070: [12:24:00] <wmk> DataObject / ArrayData: take the values out of that single thing
1071: [12:24:21] <wmk> loop is kinda foreach(DataList as Item) with Item ...
1072: [12:26:29] <NobrainerWeb> ok, so to use with in template i should return a DataObject?
1073: [12:26:34] <NobrainerWeb> or arraydata
1074: [12:26:43] <NobrainerWeb> one or the other
1075: [12:27:05] <NobrainerWeb> arghh i’m a master in confusing sentences
1076: [12:27:08] * Guits has joined #silverstripe
1077: [12:27:32] <NobrainerWeb> i mean i can return one of the two, it’s not important.
1078: [12:28:21] <NobrainerWeb> But i use TestimonialHolder::get()->First() which gives me a DataList, how would i then return that as a DataObject or ArrayData?
1079: [12:32:07] <Pyrrrrrrk> NobrainerWeb: with simply changes context (aka scope). loop is bascially the old <% control %>
1080: [12:32:20] <Pyrrrrrrk> where it basically equates to foreach as wmk said
1081: [12:32:35] <Pyrrrrrrk> so, if you have a list (Thing::get()) then <% loop %>
1082: [12:32:42] <wmk> NobrainerWeb, ->First() returns a single DO
1083: [12:32:50] <Pyrrrrrrk> if you have a singular object (Thing::get()->First()) then <% with %>
1084: [12:33:11] <wmk> Pyrrrrrrk, exactly
1085: [12:33:28] <Pyrrrrrrk> or for example if you're lazy (linking back to the earlier conversation), <% loop $Things.First %>
1086: [12:33:33] <Pyrrrrrrk> err.. fuck, lol.
1087: [12:33:40] <Pyrrrrrrk> <% with $Things.First %>
1088: [12:33:41] <NobrainerWeb> Pyrrrrrrk: … hey!
1089: [12:33:44] <NobrainerWeb> ;-)
1090: [12:33:52] <Pyrrrrrrk> <% loop $Things %>
1091: [12:33:56] <Pyrrrrrrk> hi NobrainerWeb :)
1092: [12:34:14] <NobrainerWeb> me lazy ...
1093: [12:34:19] <NobrainerWeb> no way
1094: [12:34:22] <Pyrrrrrrk> where Things might be a has_many or many_many
1095: [12:34:28] <wmk> norway? i thought denmark
1096: [12:34:35] <Pyrrrrrrk> NobrainerWeb: hahaha, 'lazy' used liberally :P
1097: [12:34:40] <Pyrrrrrrk> wmk: Denmark.
1098: [12:34:43] <wmk> ;)
1099: [12:34:49] <Pyrrrrrrk> OH, haha :P
1100: [12:34:50] * Pyrrrrrrk clickas
1101: [12:34:51] <NobrainerWeb> wmk: beeing funny huh ;-)
1102: [12:34:54] <Pyrrrrrrk> nice joke
1103: [12:35:04] <wmk> hey - there is a haskell plugin for intellij !!!
1104: [12:35:04] <Pyrrrrrrk> -a
1105: [12:35:29] <Pyrrrrrrk> wmk: functional programming all the things! rewrite SS in Haskell. I expect this by Monday.
1106: [12:35:30] <Pyrrrrrrk> thanks.
1107: [12:35:37] <Pyrrrrrrk> :P
1108: [12:35:43] * Pyrrrrrrk imitates the PM of doom
1109: [12:35:55] <wmk> Pyrrrrrrk, reading the haskell book the second time now.
1110: [12:36:07] <wmk> start to understand things and try to do some functional stuff in php
1111: [12:36:09] <Pyrrrrrrk> heh, keen!
1112: [12:36:10] <NobrainerWeb> TestimonialHolder::get()->First()->Testimonials()->sort('RAND()')->limit(1); this retruns a DataList, but using limit 1 i would have though a DO and that i could use with. There is the problem
1113: [12:36:24] <Pyrrrrrrk> wmk: I read a good brief intro from unclebob on that
1114: [12:36:47] <Pyrrrrrrk> NobrainerWeb: no, you want ->first() not limit(1)
1115: [12:36:51] <Pyrrrrrrk> limit returns a list
1116: [12:36:54] <NobrainerWeb> i know
1117: [12:36:56] <NobrainerWeb> now
1118: [12:37:00] <Pyrrrrrrk> as it can be an arbitrary number (eg, 50)
1119: [12:37:10] <wmk> e.g. shortcode that puts an array out of config, does some calculation on that with array_reduce() and a closure
1120: [12:37:23] <wmk> limit(1)->First()
1121: [12:37:34] <NobrainerWeb> thx for explaining this guys :-)
1122: [12:37:35] <wmk> or is this ambiguous?
1123: [12:37:38] <NobrainerWeb> yes
1124: [12:37:45] <Pyrrrrrrk> wmk: the crux of it all was 'Functional programming == programming WITHOUT assignment'
1125: [12:38:05] <wmk> Pyrrrrrrk, the book "learn yourself a haskell for a great good" is quite funny
1126: [12:38:12] <Pyrrrrrrk> hehe
1127: [12:38:17] <NobrainerWeb> i get it now, i was just confused as i thought limit(1) would give the same result as ->First() but i see why not
1128: [12:38:18] <Pyrrrrrrk> sounds like it with a title like that
1129: [12:38:20] <wmk> without assignment?
1130: [12:38:27] <Pyrrrrrrk> wmk: yes
1131: [12:38:35] <wmk> what does that mean?
1132: [12:38:37] <Pyrrrrrrk> assignment == side effect.
1133: [12:38:47] <Pyrrrrrrk> $thing = 'this is assignment';
1134: [12:38:51] <wmk> crux?
1135: [12:38:55] <wmk> it's the great benefit of that
1136: [12:39:12] <Pyrrrrrrk> wmk: crux... uhh... point, pinnicle, ultimate, apex... I think at least.
1137: [12:39:26] <wmk> ok. crux is something negative in german
1138: [12:39:44] <wmk> there is also a nice book "functional javascript"
1139: [12:39:48] <Pyrrrrrrk> 1. The basic, central, or critical point or feature: the crux of the matter; the crux of an argument.
1140: [12:39:51] <wmk> uses underscore.js most
1141: [12:39:57] <Pyrrrrrrk> thx freedictonary.com
1142: [12:40:28] <Pyrrrrrrk> wmk: underscore.js :<
1143: [12:40:35] <wmk> ok. i know that word in a more negative manner
1144: [12:40:48] <wmk> underscore? what's so bad about it?
1145: [12:40:56] * Pyrrrrrrk wonders what crux means in German
1146: [12:41:27] <Pyrrrrrrk> D: https://translate.google.com/#de/en/crux
1147: [12:41:39] <wmk> ;)
1148: [12:41:57] <Pyrrrrrrk> is it something to do with the tops of people's legs?
1149: [12:42:15] <wmk> spine?
1150: [12:42:24] * Pyrrrrrrk always though crux sounds quite like 'crotch'
1151: [12:42:25] <abitran> hello there
1152: [12:42:38] <Pyrrrrrrk> wmk: haha, diplomatic :P
1153: [12:42:43] <Pyrrrrrrk> abitran: hello there
1154: [12:43:17] <wmk> well, we use "Kreuz" also for spine or a part of it
1155: [12:43:32] <abitran> anybody running last version of google-analytics?
1156: [12:43:34] <Pyrrrrrrk> hmm
1157: [12:43:44] <Pyrrrrrrk> abitran: there are versions of google-analytics?
1158: [12:43:51] <Pyrrrrrrk> I thought you either used it or you didn't.
1159: [12:43:58] <wmk> however, functional php is cool ;)
1160: [12:44:12] <abitran> Pyrrrrrrk: you can update it using composer
1161: [12:44:20] <Pyrrrrrrk> abitran: oh, you mean the module.
1162: [12:44:24] <Pyrrrrrrk> the/a
1163: [12:44:26] <abitran> of course
1164: [12:44:45] <abitran> this a silverstripe channel.. :)
1165: [12:45:02] <wmk> Pyrrrrrrk, oh, we're not on the functional programming channel???
1166: [12:45:03] <Pyrrrrrrk> google analytics is relevant to website development in general, which silverstripe facilitates
1167: [12:45:25] <Pyrrrrrrk> wmk: when you think about it, functional programming is how it always should have been. But it's hard to think like that :<
1168: [12:45:42] <wmk> how it was already in the 60s
1169: [12:45:47] <wmk> lisp e.g.
1170: [12:45:59] <Pyrrrrrrk> and you basically end up doing what most people tell you not to do when you learn to code.
1171: [12:46:07] <Pyrrrrrrk> fantastic(one(liners()))
1172: [12:46:16] <wmk> yup.
1173: [12:46:35] <wmk> fantastic one liners
1174: [12:46:36] <Pyrrrrrrk> but when it comes down to it as you think about it...
1175: [12:46:44] <wmk> ^^^ same in other language
1176: [12:47:04] <Pyrrrrrrk> it's basically no assignement (so no internal states) and immutable all the things.
1177: [12:47:09] <Pyrrrrrrk> immutible.
1178: [12:47:12] <Pyrrrrrrk> immutable
1179: [12:47:16] <Pyrrrrrrk> one of them.
1180: [12:47:19] <wmk> Pyrrrrrrk, as i said before, the functional javascript book is more practical, at the end of the book i understood how it can work
1181: [12:47:20] <abitran> I think there is some sort of problem with the last version of the module... anyway.. I will post the error on their git page...
1182: [12:47:23] <Pyrrrrrrk> do like string in JS and DataList in SS :P
1183: [12:47:38] <wmk> abitran, what problem?
1184: [12:47:42] <Pyrrrrrrk> abitran: well you never said what the issue was!
1185: [12:47:49] <Pyrrrrrrk> you cannot help if you don't ask a question!
1186: [12:48:12] <Pyrrrrrrk> ("does anyone use" doesn't count, it's a meta-question!)
1187: [12:48:21] * Sj0hn has joined #silverstripe
1188: [12:48:28] <abitran> wait.. let me include the module once again...
1189: [12:48:36] <abitran> so I can get the error
1190: [12:48:59] <Sj0hn> Hi
1191: [12:49:10] <Pyrrrrrrk> Hi
1192: [12:50:08] <abitran> here...
1193: [12:50:12] <abitran> Unknown column 'SiteConfig.UseGoogleUniversalSnippet' in 'field list'
1194: [12:50:24] <Pyrrrrrrk> dev/build
1195: [12:50:41] <abitran> when I run dev/build.. thats the error
1196: [12:50:46] <abitran> also with flush=1
1197: [12:50:51] <abitran> and flush=all
1198: [12:50:57] <Pyrrrrrrk> gotta dev/build before you can *
1199: [12:51:32] * stefanh__ has joined #silverstripe
1200: [12:51:39] <Pyrrrrrrk> http://addons.silverstripe.org/add-ons/silverstripe-labs/googleanalytics
1201: [12:51:40] <Pyrrrrrrk> this one?
1202: [12:51:42] <wmk> abitran, you can check the code where the error occurs. there should be a trace with the error
1203: [12:51:58] <Pyrrrrrrk> I suspect it's a version mismatch.
1204: [12:52:08] <Pyrrrrrrk> eg ss3.0, ga for 3.1
1205: [12:52:09] <wmk> sounds like old code / old form
1206: [12:52:26] <abitran> I update it all using composer
1207: [12:52:44] <Pyrrrrrrk> then perhaps it's the other way around!
1208: [12:53:09] <abitran> "silverstripe/cms": "3.1.x-dev", "silverstripe/framework": "3.1.x-dev",
1209: [12:53:16] <abitran> "silverstripe-labs/googleanalytics": "*.*"
1210: [12:53:51] <abitran> wmk: the error says that a column is missing..
1211: [12:54:25] <abitran> Couldn't run query: SELECT DISTINCT .... blah blah... Unknown column 'SiteConfig.UseGoogleUniversalSnippet' in 'field list'
1212: [12:54:34] <Pyrrrrrrk> yes, I suspect the code is for 3.0, the version of ss is 3.1
1213: [12:54:49] <Pyrrrrrrk> perhaps
1214: [12:54:56] <Pyrrrrrrk> log an issue on github, yes.
1215: [12:55:05] <wmk> the error occurs when you try to /dev/build ?
1216: [12:55:08] <Pyrrrrrrk> then add to _config.yml
1217: [12:55:13] <Pyrrrrrrk> SiteConfig:
1218: [12:55:18] <Pyrrrrrrk> extensions:
1219: [12:55:23] <abitran> google-anlytics was running fine.. after the update.. I got the issue
1220: [12:55:26] <Pyrrrrrrk> - GoogleConfig
1221: [12:55:32] <Sj0hn> any1 expiernce with the _ss_enviroument.php? i get an error saying at line 1 in _ss_enviroument.php: Cookie 'alc_enc' can't be set.
1222: [12:55:33] <abitran> wmk: yes
1223: [12:55:52] <Pyrrrrrrk> make an issue on github.
1224: [12:55:58] <Pyrrrrrrk> then alter your config
1225: [12:56:02] <Pyrrrrrrk> see if it will work.
1226: [12:56:09] <wmk> Sj0hn, you have space somewhere before a <?php ???
1227: [12:56:11] <abitran> ok
1228: [12:56:28] <Pyrrrrrrk> Sj0hn: alc_enc idk what that even is.
1229: [12:56:51] <Pyrrrrrrk> but what wmk asks. It sounds like you're trying to send headers before ready.
1230: [12:56:56] <Sj0hn> @wmk Yes
1231: [12:56:59] <Sj0hn> lemme fix that
1232: [12:57:09] <wmk> no f*** space before <?php
1233: [12:57:11] <wmk> nowhere
1234: [12:57:14] <wmk> not even a BOM
1235: [12:57:36] <Sj0hn> @wmk Hero! :p
1236: [12:57:42] <Sj0hn> thanks
1237: [12:57:45] <wmk> or the BOM will slap you with a big trout
1238: [12:57:47] <Sj0hn> ill keep that in mind
1239: [12:58:43] <Sj0hn> why is it that there cant be a space before <?php ?
1240: [12:58:47] <Pyrrrrrrk> It's true. I've seen it.
1241: [12:58:52] <Pyrrrrrrk> Sj0hn: because PHP
1242: [12:58:54] <Pyrrrrrrk> think about it.
1243: [12:58:55] <wmk> Sj0hn, history of php
1244: [12:59:08] <wmk> in the good old days (tm) php was included in html files
1245: [12:59:22] <wmk> so everything outside <?php ?> was outputtet 1:1
1246: [12:59:33] <Pyrrrrrrk> Sj0hn: think: <?php do somethings ?> <div id="myPHPthing"><?php echo 'some php stuff'; ?> etc.
1247: [12:59:45] <wmk> yup
1248: [12:59:47] <Pyrrrrrrk> so, it's sending your space directly to the browser.
1249: [12:59:53] <Pyrrrrrrk> so it must send headers before it can do this
1250: [13:00:05] <Pyrrrrrrk> so you can't set a cookie, because that's a header thing.
1251: [13:00:15] <Pyrrrrrrk> and the header train has left the station!
1252: [13:00:22] <Sj0hn> Ah, alright makes sense
1253: [13:01:02] <kinglozzer> Pyrrrrrrk: Nice train analogy
1254: [13:01:07] <kinglozzer> :P
1255: [13:01:08] <wmk> where is the header train heading to?
1256: [13:01:20] <Pyrrrrrrk> Sj0hn: this is why modern days people should never ever ?> at the end of files.
1257: [13:01:21] <kinglozzer> browser-ville
1258: [13:01:42] <Pyrrrrrrk> because if git or somethnig goes and auto-appends say... \n to your file... suddenly output!
1259: [13:03:17] * Shrike_Finland quit (Quit: Leaving.)
1260: [13:03:17] <Pyrrrrrrk> rule of thumb: pure php? never ?>, ever.
1261: [13:03:32] <wmk> full ack
1262: [13:04:16] <Pyrrrrrrk> 0x06
1263: [13:04:19] * UndefinedOffset has joined #silverstripe
1264: [13:04:20] <wmk> Pyrrrrrrk, another train
1265: [13:04:22] <wmk> https://www.youtube.com/watch?v=-Gu3gDhESRY
1266: [13:05:48] <Pyrrrrrrk> wmk: money for nothing is currently playing
1267: [13:06:00] <wmk> yeah, wahwah
1268: [13:08:32] <Pyrrrrrrk> now it's don't fear the reaper
1269: [13:08:47] <wmk> nightrain
1270: [13:10:49] <Pyrrrrrrk> crikey my neck d:
1271: [13:10:51] <Pyrrrrrrk> D: *
1272: [13:11:26] <Pyrrrrrrk> moosta slept on it fooneh
1273: [13:11:43] * Sj0hn quit ()
1274: [13:11:49] * Pyrrrrrrk still curious to know how kinglozzer talks
1275: [13:12:33] <kinglozzer> Pyrrrrrrk: Uhhh, pretty Norfolk
1276: [13:12:33] <kinglozzer> :P
1277: [13:12:50] * Pyrrrrrrk doesn't even know what that is
1278: [13:13:08] <kinglozzer> https://www.youtube.com/watch?v=VJl5Vd_FK-M
1279: [13:13:25] <kinglozzer> (not as bad as that)
1280: [13:19:29] * Shrike_Finland has joined #silverstripe
1281: [13:26:16] * Pyrrrrrrk will put headphones in after lunch
1282: [13:26:58] <abitran> Pyrrrrrrk: same issue with the _config.yml entry
1283: [13:34:55] <Pyrrrrrrk> good thing you made a github issue then!
1284: [13:35:07] <Pyrrrrrrk> Just roll back to the version that worked.
1285: [13:42:44] * wmk quit (Ping timeout: 245 seconds)
1286: [13:43:10] * Guits quit (Ping timeout: 255 seconds)
1287: [13:44:03] * Shrike_Finland quit (Quit: Leaving.)
1288: [13:48:07] * muskie9 has joined #silverstripe
1289: [13:53:34] * Guits has joined #silverstripe
1290: [13:56:03] * Guits quit (Client Quit)
1291: [13:57:00] <Pyrrrrrrk> ok
1292: [13:57:38] <Pyrrrrrrk> I have a sore neck today
1293: [13:57:45] <Pyrrrrrrk> I'm eating lunch
1294: [13:57:59] <Pyrrrrrrk> and swallowing makes it sore D:
1295: [13:59:57] * qlex has joined #silverstripe
1296: [14:01:22] * thehacksaw has joined #silverstripe
1297: [14:02:38] <Pyrrrrrrk> hallo thehacksaw
1298: [14:04:03] <Pyrrrrrrk> dolbre deen qlex
1299: [14:04:43] <Pyrrrrrrk> y/n? I cannot remember day. rano is morning right?
1300: [14:08:32] * qlex quit (Quit: Leaving.)
1301: [14:10:15] * Otterpocket has joined #silverstripe
1302: [14:10:15] * Otterpocket is now known as Otterpocket__
1303: [14:11:03] * Otterpocket__ is now known as Otterpocket
1304: [14:11:53] * catcher has joined #silverstripe
1305: [14:14:16] <Pyrrrrrrk> ahahahaahha kinglozzer !
1306: [14:14:33] <Pyrrrrrrk> so you're pretty much the general from Commandos
1307: [14:14:54] * stefanh__ quit (Quit: This computer has gone to sleep)
1308: [14:15:04] <kinglozzer> Hahaha
1309: [14:16:01] <Pyrrrrrrk> kinglozzer: http://www.youtube.com/watch?v=ilUPgeDTMyo&t=0m08s
1310: [14:20:30] <kinglozzer> Pyrrrrrrk: Can't watch atm
1311: [14:20:45] <Pyrrrrrrk> :<
1312: [14:21:21] <Pyrrrrrrk> get sam damn headphones alreh'y
1313: [14:21:52] <Pyrrrrrrk> wholey shit, neck pain just getting worse and worse as the day goes on D:
1314: [14:25:50] * Michiel_ has joined #silverstripe
1315: [14:25:53] <catcher> kinglozzer, congrats on becoming a core dev!
1316: [14:26:14] * Michiel_ is now known as Guest34347
1317: [14:26:15] <kinglozzer> Thanks catcher :)
1318: [14:26:47] <catcher> kinglozzer, does this mean we can nag you about TinyMCE 4?
1319: [14:26:52] <Pyrrrrrrk> div.modal-dialog>.modal-content>.modal-header>h4.modal-title{Planned Mergers}^.modal-body+.modal-footer>button[type=button].btn.btn-default[data-dismiss=modal]
1320: [14:26:55] <catcher> :)
1321: [14:26:57] <Pyrrrrrrk> boom, take that bootstrap!
1322: [14:27:09] <catcher> Pyrrrrrrk, gross
1323: [14:27:17] <kinglozzer> catcher: It means you can do the work and I might click the green "merge" button if I'm in a good mood ;)
1324: [14:27:18] <Pyrrrrrrk> catcher: what?
1325: [14:27:36] <Pyrrrrrrk> that's glorious is what it is catcher
1326: [14:28:00] <catcher> Right, typo
1327: [14:28:17] <Pyrrrrrrk> right, yeah.
1328: [14:28:33] <Pyrrrrrrk> catcher: freudian slip I think more like it!
1329: [14:29:13] <kinglozzer> Pyrrrrrrk: The fuck is that selector?
1330: [14:29:14] <kinglozzer> D:
1331: [14:29:26] <Pyrrrrrrk> kinglozzer: look closer (about the middle)
1332: [14:29:30] * DimiStripe quit (Quit: DimiStripe)
1333: [14:29:41] <kinglozzer> {Planned Mergers} ?
1334: [14:29:48] <Pyrrrrrrk> and the ^
1335: [14:29:53] <kinglozzer> I don't get it ><
1336: [14:29:59] <Pyrrrrrrk> it's a bootstrap dialog.
1337: [14:30:02] <Pyrrrrrrk> almost in full.
1338: [14:30:12] <Pyrrrrrrk> http://emmet.io/
1339: [14:30:25] <Pyrrrrrrk> ctrl+alt+space = GLORIOUS
1340: [14:30:33] <Pyrrrrrrk> because fuck you, html. You're a dick to type out.
1341: [14:30:50] <kinglozzer> oic!
1342: [14:30:57] <kinglozzer> Yeah I tried emmet before, couldn't get used to it
1343: [14:31:00] <Pyrrrrrrk> been a while since I've been able to use emmet
1344: [14:31:15] <Pyrrrrrrk> kinglozzer: it's less about getting used to it, more about remembering to use it!
1345: [14:31:43] <Pyrrrrrrk> of course if you do something a lot (say like bootstrap modals) then things like sublime etc have snippits anyway
1346: [14:33:29] <Pyrrrrrrk> but back when I was a proper web dev, it was glorious. Although I admit forgetting to use it often (habbits hard to break, etc)
1347: [14:36:04] <Pyrrrrrrk> Only started using it a few months before I left.
1348: [14:39:15] <Pyrrrrrrk> y'see kinglozzer, that's a pre-processor I can agree with :P
1349: [14:39:43] <kinglozzer> :P
1350: [14:39:59] <kinglozzer> I'm slowly heading backwards out of pre-processor land
1351: [14:40:05] <Pyrrrrrrk> oh?
1352: [14:40:06] <Pyrrrrrrk> why?
1353: [14:40:11] <kinglozzer> (no longer nesting CSS rules etc)
1354: [14:40:13] <Pyrrrrrrk> blog post it!
1355: [14:40:22] <Pyrrrrrrk> no but serious, why?
1356: [14:40:29] <Pyrrrrrrk> (would you not nest css or something?)
1357: [14:40:37] <kinglozzer> Pyrrrrrrk: Using BEM
1358: [14:40:42] <kinglozzer> Nesting is fugly as shit with it
1359: [14:40:54] <kinglozzer> Plus you can't see the actual class name, so it's impossible to read
1360: [14:40:54] <Pyrrrrrrk> nesting could be useful with BEM
1361: [14:40:58] <Pyrrrrrrk> to be fair...
1362: [14:41:05] <Pyrrrrrrk> I've used BEM since day 1
1363: [14:41:17] <kinglozzer> You just end up with &--lighter { } and have to scroll up 400 lines to find out _what_ is lighter
1364: [14:41:22] <Pyrrrrrrk> because that's a natural way to think about things on a page (espeically when they directly relate to an object in SS)
1365: [14:41:27] <kinglozzer> So I find it better to not nest it
1366: [14:41:41] <kinglozzer> (well, not 400 lines, but yeah)
1367: [14:41:44] <Pyrrrrrrk> I just can't believe some cunt came along and was all BEM
1368: [14:41:49] <Pyrrrrrrk> IT'S REVOLUTIONARY
1369: [14:41:54] <Pyrrrrrrk> OMG EVERYONE NEEDS TO DO IT
1370: [14:41:56] <Pyrrrrrrk> NEW
1371: [14:42:00] <Pyrrrrrrk> AND WIN
1372: [14:42:43] <Pyrrrrrrk> and when you look at it you go "Oh, objects/encapsulation... that thing that's been around since FUCKING THE BEGINNING OF TIME (of programming)
1373: [14:43:20] <Pyrrrrrrk> just because you discover a 60 year old concept because you're too derp to learn about the field you work in, doesn't mean you should give it a new buzzword and claim you invented it:<
1374: [14:43:29] * Pyrrrrrrk is the oscar the grouch of the interwebs.
1375: [14:43:43] <Pyrrrrrrk> Although in essence, I like BEM
1376: [14:43:55] <Pyrrrrrrk> :>
1377: [14:45:06] * Pyrrrrrrk thinks about what he just said, notices the capitalisation...
1378: [14:45:20] <Pyrrrrrrk> how would one fuck the beginning of time, and why?
1379: [14:45:28] <Pyrrrrrrk> would that be like Dr Who with a granny fetish?
1380: [14:45:52] <Pyrrrrrrk> and some kind of weird anthropomorphism of time itself
1381: [14:46:15] * muskie9 is now known as _muskie9_
1382: [14:48:59] * _muskie9_ is now known as muskie9
1383: [14:51:37] <kinglozzer> Pyrrrrrrk: How did BEM end up at Doctor Who with a granny fetish?
1384: [14:51:46] <kinglozzer> :P
1385: [14:57:13] * Guest34347 quit (Ping timeout: 246 seconds)
1386: [15:00:22] * Colin[pi] has joined #silverstripe
1387: [15:06:52] * Shrike_Finland has joined #silverstripe
1388: [15:22:58] * jordank has joined #silverstripe
1389: [15:24:34] <Pyrrrrrrk> kinglozzer: 'fucking the beginning of time'
1390: [15:24:35] * NobrainerWeb quit (Quit: NobrainerWeb)
1391: [15:24:44] * jordanmk quit (Ping timeout: 256 seconds)
1392: [15:25:03] <Pyrrrrrrk> because I'm such a classy kent.
1393: [15:25:19] * Sj0hn has joined #silverstripe
1394: [15:27:26] * NobrainerWeb has joined #silverstripe
1395: [15:49:58] * Shrike_Finland quit (Quit: Leaving.)
1396: [15:50:32] <Eliseth> Google pagespeed is driving me insane
1397: [15:50:57] * Shrike_Finland has joined #silverstripe
1398: [15:51:05] <kinglozzer> Eliseth: Ignore it :P
1399: [15:52:06] <Eliseth> Don't wanna!
1400: [15:52:14] <Eliseth> Must... beat.... them...
1401: [15:52:54] <Eliseth> Currently stuck at 97/100 and 98/100 (mobile / desktop)
1402: [15:53:42] <Eliseth> But apparently implementing google analytics using the google tag manager is something they disapprove... >.<
1403: [16:00:27] * DimiStripe has joined #silverstripe
1404: [16:01:22] * muskie9 is now known as _muskie9_
1405: [16:01:49] * catcher quit (Ping timeout: 260 seconds)
1406: [16:03:11] * _muskie9_ is now known as muskie9
1407: [16:03:50] * catcher has joined #silverstripe
1408: [16:11:28] * Sj0hn quit ()
1409: [16:14:17] * muskie9 is now known as _muskie9_
1410: [16:16:35] * _muskie9_ is now known as muskie9
1411: [16:17:22] <Pyrrrrrrk> Eliseth: sounds standard tbh.
1412: [16:17:32] <Pyrrrrrrk> google can't even internets anymore.
1413: [16:17:36] <Pyrrrrrrk> I just don't even.
1414: [16:25:19] * thehacksaw quit (Ping timeout: 272 seconds)
1415: [16:26:00] <lerni_> Eliseth did you split up CSS "to be" above the fold? Just asking because i never did – I just combine
1416: [16:27:13] <Eliseth> lerni_: We did
1417: [16:27:16] <lerni_> and if you did could you make this work with Requirements?
1418: [16:28:15] <lerni_> is it a big deal to sort out?
1419: [16:28:56] <Eliseth> It is, and I wouldn't recommend this to anyone... As kinglozzer said: Ignore it :P
1420: [16:29:42] <Eliseth> We just wanted to see how far we had to go to get such high scores. It's not practical, fun, or efficient.
1421: [16:31:05] * jeroenem quit (Quit: Page closed)
1422: [16:33:17] <lerni_> Eliseth I'm happy about your answer - because I thought damn no way I won't do this :)
1423: [16:36:00] * jenniferaslan has joined #silverstripe
1424: [16:39:49] <Pyrrrrrrk> Eliseth: lerni_ what does 'to be' above the fold mean?
1425: [16:40:21] * Shrike_Finland1 has joined #silverstripe
1426: [16:40:21] <Eliseth> Content that's initially visible when opening the page
1427: [16:40:51] <Pyrrrrrrk> so...all of it?
1428: [16:40:55] * Shrike_Finland1 quit (Client Quit)
1429: [16:40:58] <Pyrrrrrrk> what's css got to do with it?
1430: [16:41:00] * Shrike_Finland2 has joined #silverstripe
1431: [16:41:06] <Eliseth> No, as in, visible without scrolling
1432: [16:41:10] <Pyrrrrrrk> are you talking about FOUC?
1433: [16:41:27] <Eliseth> what's FOUC?
1434: [16:41:35] <Pyrrrrrrk> flash of unstyled content
1435: [16:41:47] <lerni_> just style that part on top and later on load the rest - yeah to prevent Flash Of Unstyled Content
1436: [16:41:57] <Eliseth> Ah yes
1437: [16:42:46] <lerni_> ciao, ciao
1438: [16:43:01] <Eliseth> We generate inline CSS using gulp for "above the fold content" and load the combined css async
1439: [16:43:16] * lerni_ quit ()
1440: [16:43:20] <Pyrrrrrrk> lerni_: oh, so you ...
1441: [16:43:23] * Shrike_Finland quit (Ping timeout: 258 seconds)
1442: [16:43:34] <Pyrrrrrrk> Eliseth: oh, so you need 2 css files, one for the top of the page, and one for the rest of it?
1443: [16:44:03] <Pyrrrrrrk> or yeah, inline
1444: [16:44:11] <Pyrrrrrrk> that seems... overly stupid.
1445: [16:44:31] <Pyrrrrrrk> once the file loads, it caches!
1446: [16:45:01] <Pyrrrrrrk> inline stuff doesn't cache, so it actually has more risk of dealying a load
1447: [16:45:05] <Pyrrrrrrk> ... or smoething
1448: [16:48:19] <Eliseth> I never said it was logical
1449: [16:48:26] <Eliseth> It's just what google wants
1450: [16:50:09] <Eliseth> Well, time for beer
1451: [16:50:14] <Eliseth> Cya!
1452: [16:50:25] * jcwacky quit (Read error: Connection reset by peer)
1453: [16:51:14] * jcwacky has joined #silverstripe
1454: [16:56:43] <Pyrrrrrrk> ciao!
1455: [16:56:49] <Pyrrrrrrk> ps, indeed.
1456: [16:58:01] * Shrike_Finland2 quit (Quit: Leaving.)
1457: [17:16:31] * jcwacky quit (Quit: jcwacky)
1458: [17:16:52] * kinglozzer quit ()
1459: [17:22:55] * NobrainerWeb quit (Quit: NobrainerWeb)
1460: [17:24:03] <Otterpocket> Hi, how can I fix "use of iconv.internal_encoding is deprecated"?
1461: [17:25:29] <Otterpocket> Its some kind of time format error
1462: [17:25:57] * oetiker_ has joined #silverstripe
1463: [17:26:05] * oetiker quit (Remote host closed the connection)
1464: [17:26:24] * oetiker_ quit (Remote host closed the connection)
1465: [17:26:37] * oetiker has joined #silverstripe
1466: [17:28:33] * giarc has joined #silverstripe
1467: [17:29:16] * Shrike_Finland has joined #silverstripe
1468: [17:29:22] <giarc> hi there, i want to access a field from a DataObjects many_many_extra fields in a template? but cannot figure out the syntax?
1469: [17:30:30] <Pyrrrrrrk> giarc: from where?
1470: [17:30:55] <Pyrrrrrrk> <% loop ManyManyThings %>$ManyManyExtraName
1471: [17:31:05] <Pyrrrrrrk> only real way to do it
1472: [17:31:36] <Pyrrrrrrk> otherwise you need to get a specific record, use a controller method.
1473: [17:31:49] <Pyrrrrrrk> things accessed through the manymany relation have the extrafield added to the objects.
1474: [17:31:51] * Pyrrrrrrk quit ()
1475: [17:32:14] <giarc> "ManyManyThings" being the DataObject or the name of the $many_many relation?
1476: [17:34:23] * Otterpocket quit (Quit: Otterpocket)
1477: [17:34:56] * Shrike_Finland quit (Quit: Leaving.)
1478: [17:36:03] <giarc> maybe a snippet of my model will help me understand: https://dpaste.de/jvA5
1479: [17:38:10] * muskie9 is now known as _muskie9_
1480: [17:39:16] * _muskie9_ is now known as muskie9
1481: [18:25:23] * Shrike_Finland has joined #silverstripe
1482: [18:32:53] * muskie9 is now known as _muskie9_
1483: [18:38:47] * _muskie9_ is now known as muskie9
1484: [18:51:32] * muskie9 is now known as _muskie9_
1485: [19:04:26] * Kingy[a] is now known as Kingy
1486: [19:04:36] * DimiStripe quit (Quit: DimiStripe)
1487: [19:07:31] * _muskie9_ is now known as muskie9
1488: [19:08:31] * Shrike_Finland quit (Quit: Leaving.)
1489: [19:09:53] * Shrike_Finland has joined #silverstripe
1490: [19:14:51] * Stomach has joined #silverstripe
1491: [19:28:52] * joelpittet has joined #silverstripe
1492: [19:31:55] * joelpittet quit (Remote host closed the connection)
1493: [19:38:26] * Ryan-Toast has joined #silverstripe
1494: [19:38:36] * Shrike_Finland quit (Quit: Leaving.)
1495: [19:38:48] * Shrike_Finland has joined #silverstripe
1496: [19:49:02] * giarc quit (Quit: Leaving.)
1497: [19:49:10] * helenclarko has joined #silverstripe
1498: [19:49:13] * DimiStripe has joined #silverstripe
1499: [19:52:59] * joelpittet has joined #silverstripe
1500: [19:59:36] * giarc has joined #silverstripe
1501: [20:00:02] <Ryan-Toast> My chicken nuggets didn’t have sweet and sour sauce last night. I’m still cut up about it.
1502: [20:00:24] <Kingy> rofl
1503: [20:00:27] <Kingy> you poor poor man
1504: [20:00:53] <Ryan-Toast> Just put a raincloud over my whole week.
1505: [20:02:16] <Kingy> :(
1506: [20:03:40] <catcher> Ryan-Toast, I'm surprised the world decided to spin this morning.
1507: [20:03:56] <Ryan-Toast> catcher: We must re-build
1508: [20:06:57] * Shrike_Finland quit (Quit: Leaving.)
1509: [20:20:46] * micmania1 has joined #silverstripe
1510: [20:20:56] <Kingy> Ryan-Toast: you know what else put a rain cloud over my whole week?
1511: [20:21:05] <Kingy> the literal rain cloud this morning
1512: [20:21:10] <Kingy> got soaked walking to work
1513: [20:21:27] <Ryan-Toast> Kingy: Please don’t talk to me about rain.
1514: [20:21:37] <Ryan-Toast> I have gotten wet every day for two weeks.
1515: [20:21:40] <Ryan-Toast> Fucking over it.
1516: [20:21:45] <Kingy> ja
1517: [20:21:54] <Kingy> I only come to Wellington 2 days a week now
1518: [20:21:57] <Kingy> tends to rain every time
1519: [20:24:39] <simon_w> You know jackets exist, right? :p
1520: [20:24:53] <Kingy> you know they don't do shit right
1521: [20:25:17] <simon_w> Then you need a better jacket
1522: [20:25:50] <Ryan-Toast> simon_w: motorcycles.
1523: [20:26:00] <Kingy> ok well im not that stupid lol
1524: [20:26:02] <adrexia> Kingy, I avoided the rain.
1525: [20:26:04] <simon_w> Ryan-Toast, and?
1526: [20:26:09] <adrexia> ...by leaving the house at 9 ;)
1527: [20:26:14] <Kingy> adrexia: well la-de-da
1528: [20:26:19] * adrexia grins
1529: [20:26:22] <Ryan-Toast> simon_w: doesn’t matter how good your gear is, after a time water finds a way.
1530: [20:26:29] <Kingy> I can't leave the house at 9 :(
1531: [20:26:33] * novaweb has joined #silverstripe
1532: [20:26:36] <Kingy> 5:30 is my only option
1533: [20:26:42] <adrexia> ouch
1534: [20:26:49] <adrexia> I umnm... my sympathies
1535: [20:26:49] <simon_w> Ryan-Toast, sounds like bad gear to me :p
1536: [20:26:52] <Kingy> well it's not, but if i want to make it to work before mid-day it is
1537: [20:26:58] <Ryan-Toast> simon_w: It’s pretty good gear.
1538: [20:26:59] <Kingy> adrexia: only a month to go
1539: [20:27:06] <Kingy> then i'll be in bahrain i guess
1540: [20:27:11] <adrexia> I quite literally couldn't do a job that meant getting up at that time
1541: [20:27:24] <adrexia> well, that's something
1542: [20:27:37] <Kingy> simon_w: you'd love it there in summer
1543: [20:27:51] <simon_w> Kingy, I'm going to have enough problems here
1544: [20:28:00] <simon_w> It's already warmer than Wellington's summers
1545: [20:28:10] <Kingy> lol Wellington summer
1546: [20:28:12] <Kingy> such a thing?
1547: [20:28:29] <Kingy> it's quite good. The schools a closed in July over there
1548: [20:28:39] <Kingy> and the school gives us money for flights home
1549: [20:28:51] <Kingy> so at least we avoid the hottest month
1550: [20:28:53] <Kingy> ish
1551: [20:29:25] <simon_w> Ah, so you're there during dry season
1552: [20:29:56] <Kingy> i don't think there is anything other than dry
1553: [20:31:06] <Kingy> 70mm a year apparently
1554: [20:31:43] <Kingy> an average of 9.9 days per year when it rains
1555: [20:31:52] <JeremyRoundill> I used to live in Wellington.
1556: [20:32:01] <JeremyRoundill> You can't beat it on a good day.
1557: [20:32:11] <JeremyRoundill> It's the other 364 days of the year that got me.
1558: [20:42:33] * giarc quit (Quit: Leaving.)
1559: [20:45:40] * giarc has joined #silverstripe
1560: [20:46:31] * Olliepop has joined #silverstripe
1561: [20:46:37] * UncleCheese has joined #silverstripe
1562: [20:51:06] * mahfuz has joined #silverstripe
1563: [20:51:18] <mahfuz> Good Morning
1564: [20:52:20] * joelpittet quit (Remote host closed the connection)
1565: [20:52:44] * joelpittet has joined #silverstripe
1566: [20:52:46] * joelpittet quit (Remote host closed the connection)
1567: [20:54:10] * curbs has joined #silverstripe
1568: [21:02:37] * curbs quit (Ping timeout: 246 seconds)
1569: [21:03:09] <mahfuz> How to get the full path of an Image object after resizing - this is not working - $photo->StockPhoto()->resizeByWidth(500)->getFullPath()
1570: [21:04:32] <mahfuz> Gives this error - [User Error] Uncaught Exception: Object->__call(): the method 'resizebywidth' does not exist on 'StockPhotoImage'
1571: [21:06:51] <UncleCheese> mahfuz can i see your stockphotoimage class?
1572: [21:07:10] <UncleCheese> is it a subclass of Image?
1573: [21:08:42] <mahfuz> I am using watermark - class StockPhotoImage extends WatermarkImage {
1574: [21:09:25] <mahfuz> In my Photo Class i have - private static $has_one = array( 'StockPhoto' => 'StockPhotoImage',...
1575: [21:10:01] <mahfuz> In the code $photo->StockPhoto()->resizeByWidth(500)->getFullPath() $photo is an object of Photo Class
1576: [21:10:11] * spronk2 has joined #silverstripe
1577: [21:10:25] <spronk2> TOO EARLY
1578: [21:11:01] <JeremyRoundill> mahfuz, does WatermarkImage extend Image?
1579: [21:12:29] <mahfuz> Yes Jeremy. Its the watermarkable module
1580: [21:13:02] <mahfuz> I can resize the Image in templates
1581: [21:13:36] <adrexia> https://github.com/memdev/silverstripe-watermarkable/blob/master/code/WatermarkImage.php
1582: [21:15:06] <JeremyRoundill> mahfuz: Are you sure it's that line?
1583: [21:15:34] <JeremyRoundill> mahfuz: It looks like you've done ->resizebywidth(something) instead of the proper capitalisation.
1584: [21:15:47] <JeremyRoundill> Could be wrong.
1585: [21:16:12] <mahfuz> Yes off course, I have just copied the line here to show you what I have typed
1586: [21:16:23] * tankr has joined #silverstripe
1587: [21:17:05] <mahfuz> This is my StockPhotoImage classe derived from WatermarkImage - http://www.sspaste.com/paste/show/545a8e6f75664
1588: [21:17:19] <adrexia> tried using SetWidth instead?
1589: [21:17:35] <adrexia> $photo->StockPhoto()->SetWidth(500)->getFullPath()
1590: [21:17:46] <mahfuz> let me try
1591: [21:18:05] <JeremyRoundill> I think SetWidth is for templates.
1592: [21:18:35] <JeremyRoundill> The way he's chaining, it's surely in a controller.
1593: [21:19:23] <adrexia> apparently Imnage doesbn't have a resizeByWidth method
1594: [21:19:32] <adrexia> Image_Backend does
1595: [21:19:38] <adrexia> npot sure if that matters
1596: [21:19:40] <JeremyRoundill> Hmm
1597: [21:19:46] <JeremyRoundill> http://doc.silverstripe.org/framework/en/reference/image
1598: [21:19:48] <mahfuz> adrexia: thats working
1599: [21:19:54] <adrexia> JeremyRoundill, I know
1600: [21:19:55] <JeremyRoundill> $image->resizeByWidth(width) // Maximum width the image resizes to, keeps proportion
1601: [21:20:01] <adrexia> but I went looking in the code
1602: [21:20:09] <JeremyRoundill> adrexia: Reckon the docs are lying? :P
1603: [21:20:11] <adrexia> and... it's really not there
1604: [21:20:18] <adrexia> I thgink tehy are confusing people
1605: [21:20:29] <adrexia> it *is* used to resize
1606: [21:20:39] <adrexia> just not a;ways directly
1607: [21:20:50] <adrexia> mahfuz, good
1608: [21:20:51] <adrexia> :)
1609: [21:20:52] * UndefinedOffset quit (Quit: Leaving.)
1610: [21:21:08] <JeremyRoundill> That's wiggity-wack.
1611: [21:21:16] <JeremyRoundill> I'll keep it in mind.
1612: [21:21:56] <adrexia> these might be better docs ;)
1613: [21:22:01] <mahfuz> Thanks adrexia. One thing adrexia how to get the image without watermark in code? I can do that in template as per doc.
1614: [21:22:03] <adrexia> http://www.ssbits.com/snippets/2009/resizing-an-image-in-a-custom-img-tag/
1615: [21:22:20] <adrexia> mahfuz, sorry I've never used the watermark module
1616: [21:22:37] <mahfuz> thanks adrexia any way
1617: [21:23:25] <JeremyRoundill> mahfuz: look here - https://github.com/memdev/silverstripe-watermarkable/blob/master/code/WatermarkImage.php
1618: [21:23:52] <adrexia> function WithoutWatermark. handy! :D
1619: [21:24:18] <JeremyRoundill> Yeah! ;)
1620: [21:24:40] <JeremyRoundill> It's always a good idea to read the code you're trying to use, mahfuz.
1621: [21:24:48] <JeremyRoundill> Especially if you're having an issue with it.
1622: [21:24:50] <mahfuz> yes adrexia I found it like this - $photo->StockPhoto()->WithoutWatermark()->SetWidth(500)->getFullPath()
1623: [21:25:13] <mahfuz> Thanks adrexia and jeremy
1624: [21:25:19] <adrexia> no problem
1625: [21:25:39] <JeremyRoundill> Yeah, no problem.
1626: [21:25:42] <mahfuz> Another thing how can I get the full path of the assets folder using code?
1627: [21:25:55] <JeremyRoundill> mahfuz, do you have the docs open?
1628: [21:26:19] <JeremyRoundill> You should have 2 tabs open for docs
1629: [21:26:24] <JeremyRoundill> this: http://doc.silverstripe.org/framework/en/
1630: [21:26:31] <JeremyRoundill> And this: http://api.silverstripe.org/3.1/
1631: [21:27:26] <JeremyRoundill> mahfuz: http://lmgtfy.com/?q=get+asset+folder+path+silverstripe&l=1
1632: [21:27:31] <mahfuz> I have opened them
1633: [21:28:35] <UncleCheese> Anyone here use 1Password?
1634: [21:28:42] <adrexia> JeremyRoundill, not so patient today, huh? ;)
1635: [21:28:49] <spronk2> UncleCheese yep, i does
1636: [21:29:01] <UncleCheese> you like it?
1637: [21:29:03] <spronk2> ye
1638: [21:29:04] <spronk2> p
1639: [21:29:08] <UncleCheese> it's a little spendy, but it looks handy
1640: [21:29:08] <JeremyRoundill> adrexia: Haha, too wound up waiting for Friday :D
1641: [21:29:09] <spronk2> though its getting worse
1642: [21:29:29] <spronk2> they keep making it less usable for the 80% to add accessibility features or.. more platform standardisation or something
1643: [21:29:32] <spronk2> but yes, definitely worth buying
1644: [21:29:38] <spronk2> UncleCheese check retailmenot for discount code, i got mine 40% off
1645: [21:29:47] <UncleCheese> how does it work on mobile?
1646: [21:29:52] <spronk2> UncleCheese dropbox integration
1647: [21:30:00] <spronk2> can either copy/paste or use the inbuilt browser
1648: [21:30:14] <mahfuz> Thanks Jeremy for your suggestion. I google for most of the issues first. Thought you guys could give me a quick answer.
1649: [21:30:35] <spronk2> there's a 20% off code that seems to work well on retailmenot, UncleCheese
1650: [21:30:43] <UncleCheese> which one is that?
1651: [21:30:49] <spronk2> sec
1652: [21:30:49] <JeremyRoundill> mahfuz: The top link of Google had the answer. :P
1653: [21:31:11] <spronk2> UncleCheese http://www.retailmenot.com/view/agilebits.com top one
1654: [21:31:32] <UncleCheese> oh cool
1655: [21:31:37] <UncleCheese> i was looking at one thathad a 4% success rate
1656: [21:32:00] <spronk2> it's definitely the best password manager around for normal use cases
1657: [21:32:10] <spronk2> keepass is better for business use, IMO
1658: [21:32:24] <mudmonth> SPRONK
1659: [21:32:26] <JeremyRoundill> Does 1Password work on Ubuntu?
1660: [21:32:28] <mudmonth> TELL ME ABOUT TECHNOLOGY
1661: [21:32:36] <spronk2> mudmonth FIBRE CHANNEL GPON
1662: [21:32:54] <mudmonth> WEBSCALE YOUR 64bit FAVICONS
1663: [21:32:56] <spronk2> mudmonth ADSL BIT LOADING
1664: [21:33:10] <spronk2> mudmonth CRASH-ONLY SOFTWARE DESIGN!
1665: [21:33:15] <spronk2> enough for today?
1666: [21:33:19] <UncleCheese> ah, so you have to use their own browser on ios
1667: [21:33:29] <spronk2> UncleCheese you don't *have* to, you can copy/paste to safa
1668: [21:33:32] <mudmonth> data punching with tshark and a cullender
1669: [21:33:38] <UncleCheese> meh
1670: [21:33:53] <spronk2> if you were super paranoid, you'd probably copy/paste, but agilebits seem trustworthy
1671: [21:33:54] <spronk2> :P
1672: [21:34:17] <spronk2> JeremyRoundill you can read your pwords on linnux but AFAIK there's no full client yet
1673: [21:34:48] <spronk2> you could probably WINE the windows version..
1674: [21:34:49] <spronk2> maybe
1675: [21:35:31] <JeremyRoundill> spronk2: Looks like they've been considering a Linux version for a bit.
1676: [21:35:34] <spronk2> mm
1677: [21:35:43] <JeremyRoundill> Might read up on it and make a decision later today.
1678: [21:35:49] <JeremyRoundill> I do quite like the idea.
1679: [21:35:58] <spronk2> do you use anything atm JeremyRoundill ?
1680: [21:36:11] <spronk2> because if you don't use anything, i'd suggest getting keepass immediately
1681: [21:36:21] <JeremyRoundill> spronk2: Over the years I've honed my mind to remember really stupid passwords.
1682: [21:36:29] <JeremyRoundill> spronk2: No, I don't use anything
1683: [21:36:31] * spronk2 knows all about that :P
1684: [21:37:12] <JeremyRoundill> Is 1Password the current best of breed?
1685: [21:37:21] <spronk2> hard question.
1686: [21:37:23] <spronk2> i reckon overall yes
1687: [21:37:28] <JeremyRoundill> Sweet as.
1688: [21:37:31] <JeremyRoundill> I might get it then.
1689: [21:37:33] <spronk2> but it does have some limitations that keepass doesn't, and vice versa
1690: [21:37:37] <JeremyRoundill> I do usually use Windows at home.
1691: [21:37:51] <spronk2> keepass is free, and does pretty much everything 1pass does, but the browser integration etc isn't nearly as good
1692: [21:38:04] <spronk2> 1pass is just way slicker for real use
1693: [21:38:12] * stefanh__ has joined #silverstripe
1694: [21:38:28] <spronk2> keepass dbs can have multi-token encryption though, which is cool
1695: [21:38:33] <spronk2> key stored on flash drive + password
1696: [21:38:41] <UncleCheese> i used to have 1password, but the browser integration was just not what i was hoping for
1697: [21:38:45] <UncleCheese> looks like it's come a long way
1698: [21:38:50] <spronk2> UncleCheese really? it's pretty awesome now
1699: [21:39:14] <spronk2> i don't think i've had it fail yet to autodetect a username/password field, or fill them out correctly when they exist
1700: [21:39:55] * MickRip_ has left #silverstripe
1701: [21:40:37] * joelpittet has joined #silverstripe
1702: [21:41:12] * stefanh__ quit (Client Quit)
1703: [21:42:33] <Kingy> oh this is good
1704: [21:42:48] <Kingy> There once was a P.M. called John, Who said "your privacy's gone, Because of the hate
1705: [21:42:48] <Kingy> From the Islamic State",
1706: [21:42:48] <Kingy> Was it his plan all along?
1707: [21:42:59] <spronk2> ha haaa
1708: [21:43:31] <JeremyRoundill> Hahaha
1709: [21:43:53] <JeremyRoundill> The debates around the PM's statement were interesting.
1710: [21:44:05] <JeremyRoundill> Sending military against ISIS:
1711: [21:44:19] <JeremyRoundill> Labour, National, NZFirst, UF, ACT: For
1712: [21:44:22] <Kingy> well everyone is freaking out about 'wiretap everyone without warrant'
1713: [21:44:26] <JeremyRoundill> Greens, Māori: Against
1714: [21:44:29] <Kingy> which is totally not true
1715: [21:44:53] <spronk2> ugh
1716: [21:44:53] <JeremyRoundill> I haven't looked into it.
1717: [21:44:57] <spronk2> sending military against ISIS is futile
1718: [21:44:59] <spronk2> you can't kill an idea
1719: [21:45:04] <JeremyRoundill> Yup
1720: [21:45:06] <spronk2> by shooting at it
1721: [21:45:19] <spronk2> OH LOOK THERE'S AN IDEA
1722: [21:45:21] <spronk2> BANG BANG
1723: [21:45:23] <JeremyRoundill> But it does look like they're trying to extend the domestic spying capabilities under the guise of defense against terrorism
1724: [21:45:24] <spronk2> IT'S GONE NOW RIGHT?
1725: [21:45:30] <Kingy> JeremyRoundill: basically they can do emergency tapping for up to 48 hours by which time they must have a warrant
1726: [21:46:06] <spronk2> i wouldn't really ahve a problem with it, if there were no sharing between internal and external agencies, but there is..
1727: [21:46:21] <JeremyRoundill> ^ this
1728: [21:47:03] <JeremyRoundill> And really strict controls on the way ministers can use it.
1729: [21:47:30] <JeremyRoundill> The lack of strict controls leads to debacles like the manipulations of OIA requests.
1730: [21:47:38] <Kingy> My gf made a good point last night. She said she'd be ok with these bills getting rushed through IF there was a review of it in 2 years time...
1731: [21:47:41] <spronk2> yeah, exactly
1732: [21:47:50] <spronk2> hmm
1733: [21:47:57] <spronk2> once a bill is in it's hard to get rid of it
1734: [21:47:59] <JeremyRoundill> Kingy, have you seen how many bills National have put through under urgency?
1735: [21:48:14] <Kingy> oh shit IS is bad we need more terror laws... fine but 2 years down the line when they are no longer a threat, lets review it and have a re-think
1736: [21:48:29] <Kingy> yes I know it's not likely to happen
1737: [21:48:36] <Kingy> but i thought it was a good point
1738: [21:48:55] <JeremyRoundill> I don't think we need to rush into this whole IS thing.
1739: [21:49:22] <JeremyRoundill> It's the military-industrial complex really causing the problem to begin with.
1740: [21:49:49] <JeremyRoundill> Kingy: I think Labour had 9 bills under urgency in their 9 years. National had 17 bills in the first 2 years.
1741: [21:50:15] <spronk2> JeremyRoundill yeah
1742: [21:50:30] <adrexia> "Canada: it's okay guys, it was just one crazy person, be strong". "John Key: Holy crap guys we're under attack, panic!"
1743: [21:50:41] <spronk2> one wonders whether the terrorists would calm the fuck down if people weren't trying to shoot them all the time
1744: [21:50:46] * adrexia is disgusted
1745: [21:50:47] <spronk2> or whether they really are fucked in the head
1746: [21:50:53] <JeremyRoundill> " over 70% of bills passed in 2009 and 2010 had at least one of their stages passed under urgency"
1747: [21:51:04] <spronk2> lol
1748: [21:52:10] <adrexia> terrosim is a great excuse to remove the freedoms of a society with the compliance of that society
1749: [21:52:20] <JeremyRoundill> Yeah, for sure.
1750: [21:52:48] * giarc quit (Quit: Leaving.)
1751: [21:53:17] <spronk2> in saying that, aren't some of the terrorists rallying against said societal freedoms?
1752: [21:54:45] <JeremyRoundill> Probably.
1753: [21:55:12] <JeremyRoundill> But our freedoms are being taken away *here* in order to somehow stop them taking away the same freedoms *there*
1754: [22:00:41] <adrexia> yeah, basically, they win
1755: [22:01:12] <adrexia> I for one, am not keen on that being the result of their actions
1756: [22:02:43] <JeremyRoundill> Overthrow the government? :P
1757: [22:02:47] <adrexia> and I think it's wholely irresponsible to attempt to stroke up fear in the populace in order to pass laws without huge public disapproval
1758: [22:03:16] <adrexia> I don't want to live in a society whose instinct is to shoot first
1759: [22:03:18] <Kingy> JeremyRoundill: you're on some list now
1760: [22:03:21] <JeremyRoundill> That's how they get everything passed.
1761: [22:03:29] <JeremyRoundill> Kingy: I'm also a member of the Taliban.
1762: [22:03:36] <JeremyRoundill> Kingy: And the IRA
1763: [22:03:46] <Kingy> and now you're on that 48 hour emergency phone tap
1764: [22:03:47] <JeremyRoundill> Kingy: And Tuhoe.
1765: [22:03:50] <JeremyRoundill> Hahaha
1766: [22:04:07] <JeremyRoundill> They drum up public fear of stupid things all the time.
1767: [22:04:17] <JeremyRoundill> For some reason, we have this horrible aversion to beneficiaries.
1768: [22:04:28] <adrexia> oh yeah - that one pisses me off too
1769: [22:04:31] <JeremyRoundill> Society hasn't produced enough jobs for everyone, so we have people off work.
1770: [22:04:42] <adrexia> poor people aren't taking all your money folks. If they were, they wouldn't be poor
1771: [22:04:55] <JeremyRoundill> Great, it's society's fault they aren't in work. Isn't it society's responsibility to make sure they're ok?
1772: [22:05:02] <adrexia> yes
1773: [22:05:04] <JeremyRoundill> That's a nice one.
1774: [22:05:12] <JeremyRoundill> I'm stealing that. :P
1775: [22:05:53] <adrexia> but it seems that when you work yourself to the bone and still earn shit wages, its easier to scapoegoat those who don't work tahn it is to question your employers ethics
1776: [22:05:56] <adrexia> hahah
1777: [22:06:45] <JeremyRoundill> I'm not convinced it is.
1778: [22:06:57] <JeremyRoundill> It seems to me that the narrative has been twisted to be that way.
1779: [22:07:06] <Kingy> well to be fair
1780: [22:07:08] <adrexia> oh, I totally agree - it has
1781: [22:07:15] <Kingy> i'm jealous of people who don't work who get benefits
1782: [22:07:35] <JeremyRoundill> Kingy: Imagine this situation then.
1783: [22:07:43] <adrexia> Kingy, having been one of those people in my life, there' is nothing to be jealous off
1784: [22:07:47] <Kingy> I'd go back to studying and live on the $150 of student loan a week that I was getting
1785: [22:07:51] <JeremyRoundill> You can live a perfectly decent life on the benefit.
1786: [22:07:58] <adrexia> it rerally really sucks
1787: [22:08:02] * giarc has joined #silverstripe
1788: [22:08:16] <Kingy> my last year I have 5 hours of lectures/tuts on a monday
1789: [22:08:20] <JeremyRoundill> Wouldn't that force employers to compete against the benefit?
1790: [22:08:24] <Kingy> and a 1 hour tut on a thursday
1791: [22:08:28] <Kingy> rest of my time was free
1792: [22:08:30] <Kingy> was awesome
1793: [22:08:37] <JeremyRoundill> Bringing the concept of capitalism into the quality of the workplace.
1794: [22:08:41] <adrexia> studying is a bit different - there is a purpose
1795: [22:08:49] <Kingy> that's true
1796: [22:08:53] <adrexia> you are aimign for something other than just getting out of your current situation
1797: [22:08:56] <Kingy> but in terms of being poor, i was very much a poor student
1798: [22:09:04] <JeremyRoundill> So employers are forced to offer workers proper pay, proper breaks, proper work hours.
1799: [22:09:06] <Kingy> but yeah I guess benefit really is a dead end street
1800: [22:09:12] <adrexia> and the really sucky thing is it is much harder for unemployed people to find jobs
1801: [22:10:06] <JeremyRoundill> Yeah, I agree with both of you.
1802: [22:10:14] <JeremyRoundill> WINZ is forcing people off benefits now too.
1803: [22:10:28] <adrexia> Kingy, yep. the tricky thing is fighting the depression that tends to set in after a week or more
1804: [22:10:59] <adrexia> most people on a benefit do actually want employment (not all, but certainly most)
1805: [22:11:17] <adrexia> yeah, into what ?
1806: [22:11:26] <adrexia> there are so many homeless people now
1807: [22:11:31] <adrexia> I am ashamed
1808: [22:11:34] <JeremyRoundill> Yeah
1809: [22:11:41] <JeremyRoundill> I'm going to yell at our councillors on Monday.
1810: [22:11:46] <adrexia> there was a kid I passed the otehr day who looked about 15
1811: [22:11:54] <JeremyRoundill> They're trying to force our homeless off the street.
1812: [22:12:00] <adrexia> and a polite old woman
1813: [22:12:11] <adrexia> it's not just crazy people anymore
1814: [22:12:12] <JeremyRoundill> They're passing a "nuisance behaviour" bylaw
1815: [22:12:33] <Kingy> JeremyRoundill: yeah same here. They're trying to get us to donate money instead of giving it to beggers
1816: [22:12:43] <JeremyRoundill> Basically, they're kicking the homeless in the teeth.
1817: [22:12:45] <adrexia> because hiding the problem makes it go away
1818: [22:13:04] <JeremyRoundill> Kingy: Where are you?
1819: [22:13:09] <Kingy> wellywood
1820: [22:13:16] <JeremyRoundill> Oh yeah
1821: [22:13:18] <JeremyRoundill> I remember that.
1822: [22:13:20] <JeremyRoundill> So duuuumb.
1823: [22:13:25] <Kingy> http://codesnippet.research.microsoft.com/
1824: [22:13:30] <Kingy> off topic but that is cool
1825: [22:13:38] <adrexia> Kingy I can sort of see a logic to it - so long as the money is donated
1826: [22:13:55] <adrexia> the logic is having more money makes it easyier to organise stuff en mass
1827: [22:14:00] <adrexia> buy in bulk, basically
1828: [22:14:09] <Kingy> adrexia: well if I had coins in my pocket I'd be more likely to give it to a person on the st asking for it
1829: [22:14:17] <Kingy> I wouldn't remember/take the effort to sort out a donation
1830: [22:14:22] <adrexia> yeah - that's the flaw in the logiuc
1831: [22:14:24] <JeremyRoundill> Kingy: that is cool
1832: [22:14:34] <adrexia> you end up encouraging people not to donate at all
1833: [22:14:48] <Kingy> basically, although aren't there donation boxes on the st?
1834: [22:14:52] <JeremyRoundill> Didn't they already try that, and it was a huge failure?
1835: [22:14:59] <adrexia> maybe what they need is someone collecting for the beggers
1836: [22:16:47] * spronk2 quit (Quit: I may need a longer sleep timer...)
1837: [22:21:00] * lerni_ has joined #silverstripe
1838: [22:22:18] * wracu has joined #silverstripe
1839: [22:24:58] <wracu> Morning all... I have a question :B
1840: [22:25:39] <simon_w|work> <adrexia> there was a kid I passed the otehr day who looked about 15
1841: [22:26:00] <simon_w|work> Sadly, recent studies are showing most people like that aren't actually homeless but just after money
1842: [22:27:22] <simon_w|work> Which lead to the council's (failed) campaign to get people to donate to charities that help the homeless, rather than just giving money to beggars
1843: [22:28:01] <adrexia> not all poor people are homeless
1844: [22:28:02] <ss23> Funny how that campain actually made the situation worse
1845: [22:28:02] <ss23> :D
1846: [22:28:19] <adrexia> doesn't mean they couldn't still use the money
1847: [22:29:12] <adrexia> If there was something that kept people not homeless I'd probably donate to taht. Is thgere anything?
1848: [22:29:38] <wracu> I have a question that is a few lines. Bear with me if it looks spammy, it's hard to explain...
1849: [22:29:42] <Kingy> do we have shelters here?
1850: [22:29:43] <simon_w|work> adrexia, yeah, poorly worded on my part. They're opportunistic beggars, rather than need-driven
1851: [22:29:49] <wracu> I have a versioned DataObject (call it X). There are two other DataObjects that both have a $has_many relationship.
1852: [22:29:50] <adrexia> (well apart from places like the soup kitchen, who I already donate to)
1853: [22:29:50] <wracu> One of these other dataObjects is versioned, and the other is not.
1854: [22:29:54] <wracu> In the CMS, looking at X from the Versioned DataObject, I see the Publish Unpublish etc.
1855: [22:29:58] <wracu> Looking at X from the NON-versioned DataObject, it just shows Save and Delete.
1856: [22:30:01] <wracu> Changes made to X when viewing from the non-versioned DataObject are immediately published to the live site (must be editing X_Live)
1857: [22:30:02] <simon_w|work> adrexia, City Mission?
1858: [22:30:06] <wracu> Changes made to X when viewing from the versioned DataObject go through the Save+Publish before appearing on the live site
1859: [22:30:10] <wracu> How can I ensure that when looking at X from the non-versioned DataObject, that it presents the versioning buttons for X?
1860: [22:30:41] <simon_w|work> wracu, set the current stage to Stage in your ModelAdmin
1861: [22:30:51] * catcher quit (Quit: Leaving)
1862: [22:31:12] <adrexia> simon_w|work, I'd like to see the research there I think
1863: [22:31:31] <adrexia> I've seen these kids at 3am
1864: [22:31:32] <wracu> the modeladmin handles several models, including the versioned and non-versioned DataObjects... will this affect the Non-versinoed DO ?
1865: [22:31:43] * spronk2 has joined #silverstripe
1866: [22:31:44] <wracu> (diff tabs)
1867: [22:31:45] <adrexia> and they are sleeping in a doorway
1868: [22:31:49] <simon_w|work> wracu, nope
1869: [22:31:58] <wracu> cools thanks will try it out
1870: [22:33:43] * novaweb just told wracu that simon_w is almost god.. kind of
1871: [22:34:02] * simon_w|work now goes back to working on non-SS stuff
1872: [22:37:38] * SphereSilver has joined #silverstripe
1873: [22:46:21] * giarc quit (Quit: Leaving.)
1874: [22:47:26] * lerni_ quit ()
1875: [22:57:30] <Ryan-Toast> what’s athe parent of ArrayData? Is it a DataList?
1876: [22:57:40] <Ryan-Toast> or can ArrayLists hold ArrayLists?
1877: [22:57:46] <simon_w|work> ViewableData
1878: [22:57:55] <simon_w|work> Yes, though some things may not work very well
1879: [22:58:59] <Ryan-Toast> simon_w: so viewableData > Arraylist?
1880: [22:59:02] <Kingy> well that went better than expected
1881: [22:59:40] <simon_w|work> Ryan-Toast, if you can use it in a template, it subclasses ViewableData
1882: [23:00:08] <Ryan-Toast> simon_w|work: kk, will give that a go :)
1883: [23:04:18] <Kingy> you don't get sick leave paid out when you leave right>
1884: [23:04:18] <Kingy> ?
1885: [23:10:41] <Stomach> nope
1886: [23:10:44] <Stomach> you take it all
1887: [23:11:07] <Stomach> before you leave :P
1888: [23:12:49] <simon_w|work> Kingy, but you do get annual leave paid out
1889: [23:12:56] <simon_w|work> And days in the loo too
1890: [23:12:57] <Kingy> yeah
1891: [23:13:06] <Kingy> figured as much
1892: [23:13:49] <Kingy> I already used my loooo days
1893: [23:14:33] <simon_w|work> Turns out, my overtime accrues itself as time in lieu, which is nice of it
1894: [23:17:09] <UncleCheese> probably the coolest feature i've seen in a web app all year.. when adding a special character to a google doc, not only can you search for it by name, but you can draw it with your mouse, and it will find similar looking symbols
1895: [23:22:40] <Ryan-Toast> I feel like this is hacky as fuck, can someone give me some ideas on how to make it now shit? http://www.sspaste.com/paste/show/545aac2eede3a
1896: [23:22:46] <Ryan-Toast> not**
1897: [23:23:58] <simon_w|work> Ryan-Toast, http://docs.silverstripe.org/framework/en/howto/grouping-dataobjectsets#grouping-sets-by-month?
1898: [23:24:25] <Ryan-Toast> simon_w|work: you’ve got to be shitting me.
1899: [23:26:54] <simon_w|work> Ryan-Toast, did I just basically wipe out all the work you've done this morning?
1900: [23:27:09] <Ryan-Toast> simon_w|work: well the last twenty minutes
1901: [23:27:23] <simon_w|work> Aww, I was hoping for at least an hour :p
1902: [23:28:32] <Ryan-Toast> simon_w|work: fuck this, fuck that. IM GOING TO LUNCH
1903: [23:28:44] <Ryan-Toast> good to knwo that is there though :P
1904: [23:29:39] * muskie9 is now known as _muskie9_
1905: [23:31:16] <Ryan-Toast> simon_w|work: just for learning sake, how would I make that method better though?
1906: [23:32:48] <simon_w|work> Ryan-Toast, Only loop through $projects once (build up $years['2014] => array(of 2014 things))
1907: [23:33:58] * mirrors has joined #silverstripe
1908: [23:35:06] <mirrors> I have a module that adds an extension to SiteTree via the yml config...without editing the module code is there a way I can remove that extension and replace it with my slightly edited copy extension
1909: [23:36:18] <mirrors> because the extensions variable is an array..when I add my extension via the yml is just appends it to the array and does not replace
1910: [23:37:32] <Colin[pi]> morning all
1911: [23:37:55] * Kingy does his best frodo impression
1912: [23:37:58] <Kingy> You're late
1913: [23:39:28] <Colin[pi]> sorry mr frodo\
1914: [23:39:54] <Colin[pi]> actually I should say, a wizard is never late nor early, he arrives exactly when he is supposed to
1915: [23:40:01] <Colin[pi]> (or whatever he said)
1916: [23:43:00] <Kingy> eh good enough
1917: [23:43:53] * spronk2 quit (Quit: I may need a longer sleep timer...)
1918: [23:44:36] <Ryan-Toast> simon_w|work: Yeah I was thinking that, I just don’t know how to check the accociative array for the year aname
1919: [23:45:51] <simon_w|work> Ryan-Toast, and then you loop over $years, building your ArrayData object
1920: [23:46:11] <Ryan-Toast> ah, right
1921: [23:46:40] <UncleCheese> you know that effect when you hover over an image thumbnail and an overlay animates down over it?
1922: [23:46:52] <Colin[pi]> UncleCheese: yes
1923: [23:46:52] <Ryan-Toast> Unclecheese: yes
1924: [23:46:58] <UncleCheese> how do you do that?
1925: [23:47:02] <UncleCheese> maybe i just suck at searching
1926: [23:47:07] <Ryan-Toast> there are lots of ways
1927: [23:47:20] <Colin[pi]> css transition ?
1928: [23:47:34] <UncleCheese> yeah, that's what i'm doing, but i have no idea what i'm doing
1929: [23:47:35] <UncleCheese> need a tut
1930: [23:47:42] <Ryan-Toast> UC: http://tympanus.net/Development/HoverEffectIdeas/
1931: [23:47:46] <UncleCheese> do i need silverlight?
1932: [23:48:29] <Colin[pi]> UncleCheese: god no
1933: [23:48:53] <UncleCheese> always worth asking
1934: [23:48:56] <Colin[pi]> lots of good stuff in here: http://tympanus.net/codrops/
1935: [23:49:31] <Kingy> lolol
1936: [23:49:55] <Ryan-Toast> “Do I need silverlight” regardless of context the answer is always no.
1937: [23:50:08] * tankr quit (Quit: Textual IRC Client: www.textualapp.com)
1938: [23:50:23] <Colin[pi]> Ryan-Toast: unless your client thinks SilverStripe is called SilverLight, in which case, yes
1939: [23:50:30] <Ryan-Toast> Colin[pi]: still no
1940: [23:50:32] <Ryan-Toast> never
1941: [23:50:32] <Colin[pi]> (had that a few times with clients)
1942: [23:50:33] <Colin[pi]> :P
1943: [23:50:34] <Ryan-Toast> never ever
1944: [23:50:43] <Ryan-Toast> :P
1945: [23:50:57] <DimiStripe> Guys, SS 2.4 / PHP 5.2 - Remodel Admin with 140000 records showing only first 50 . Loads for ages, and most troubling apache process eats 1.5GB of RAM for one thread . Any suggestions ?
1946: [23:51:39] <Kingy> DimiStripe: it's saying.. upgrade me, upgrade meeeeeeee
1947: [23:52:11] <DimiStripe> :D
1948: [23:52:26] <DimiStripe> PHP or SS ?
1949: [23:52:47] <Kingy> both :P
1950: [23:52:56] <DimiStripe> As Im not willing to rewrite whole site to 3 :) Do you think going to 5.3 would help ?
1951: [23:54:07] <DimiStripe> or maybe theres a posisble tuneup for SS 2.4 which could help
1952: [23:54:07] <DimiStripe> ?
1953: [23:55:26] <Kingy> not sure sorry, never used 2.4
1954: [23:56:54] <Colin[pi]> DimiStripe: you'd have to look at the underlying code that's pulling out those 140k records.. I'm pretty sure though that model admin does a limit 50 on the DB, so it's not actually pulling out all of that data
1955: [23:56:58] * spronk2 has joined #silverstripe

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