#silverstripe IRC Log

IRC log for 30 October 2014

All timestamps are in UTC.

1: [00:00:01] <spronk2> some of those wp themes are nice
2: [00:00:13] * markcl quit (Read error: No route to host)
3: [00:00:16] <spronk2> though, none of them are quite as insane as some of the bootstrap themes you can buy
4: [00:01:06] <Jakx> spronk2, true. But that's where the market is heading, designers have lost the race against sandbox themes, developers may be next.
5: [00:01:15] <spronk2> yeah
6: [00:01:25] <spronk2> we're considering themes for almost all our stuff now
7: [00:01:29] <Ryan-Toast> Jakx: I can make a theme like that pretty easily.
8: [00:01:29] <spronk2> $600 for a business licence
9: [00:01:44] <spronk2> do anything you want with it
10: [00:02:10] <Jakx> Ryan-Toast, I would readily commit any amount of time to assist you in building a theme like that for SS.
11: [00:02:35] <Ryan-Toast> Jakx: I have a really basic theme that I use for rapid dev: http://webdough.co.nz/~boilerpl/
12: [00:02:43] <spronk2> http://themeforest.net/item/avalon-bootstrap-admin-theme-and-frontend-template/9221164?WT.oss_phrase=&WT.oss_rank=16&WT.z_author=TheRedTeam&WT.trending=trending&WT.ac=search_list
13: [00:02:46] <spronk2> this sorta thing.... i mean look at it
14: [00:02:52] <Ryan-Toast> ugh, need to update that demo site. It’s a little old.
15: [00:04:20] <Ryan-Toast> spronk2: Admin templates are the esiest. It loks like a shit load of work, but it’s actually very few components with a lot of demo contnet.
16: [00:04:49] <JeremyRoundill> "Boilerplate Getting amongst it."
17: [00:05:25] <spronk2> hmm
18: [00:05:45] <spronk2> see what's happening to angular?
19: [00:05:46] <Jakx> Ryan-Toast, yeah dude, kit set themes are only a step away in the SS world, I reckon.
20: [00:06:03] <Ryan-Toast> Yarp.
21: [00:06:07] <simon_w|work> spronk2, can't trust google projects
22: [00:06:17] <Ryan-Toast> SS is perfect for theming too, because of how easy it is to add settings
23: [00:06:33] <spronk2> simon_w|work fucking ridiculous
24: [00:06:36] <Ryan-Toast> and render with different templates
25: [00:06:41] <Jakx> Ryan-Toast, and the user / permissions model etc.
26: [00:06:47] <Ryan-Toast> Jakx: yarp.
27: [00:06:47] <spronk2> change ALL THE THINGS! (for dubious benefit)
28: [00:06:47] <simon_w|work> spronk2, our frontend guy is pissed
29: [00:06:55] <spronk2> fair enough, fuuck
30: [00:07:00] <spronk2> i'd be pissed if i was using angular
31: [00:07:00] <simon_w|work> He's still getting his head around angular 1
32: [00:07:09] <Ryan-Toast> Jakx: the drag and drop javascript for sitetree needs to be changed before then though
33: [00:07:21] <spronk2> i mean
34: [00:07:29] <spronk2> angular 2.0 looks ... better, than angular 1, but still
35: [00:08:04] <simon_w|work> It's like what would happen with SS if Hamish always got his way
36: [00:08:08] <spronk2> hahaa
37: [00:08:22] <hailwood> Anyone have any luck putting placeholders in for silverstripe/userforms?
38: [00:08:23] <spronk2> im feeling more and more comfortable diving into react these days, tbh
39: [00:08:54] <simon_w|work> spronk2, and, since it's basically based on how FB do their PHP dev too, it's likely to stay for some time
40: [00:08:58] <spronk2> mm
41: [00:09:03] <spronk2> and it's fucktons simpler
42: [00:09:13] <spronk2> so less in need of massive overhaul
43: [00:09:41] * lerni_ quit (Remote host closed the connection)
44: [00:09:53] <simon_w|work> Eh, it's gone through a couple of overhauls. User facing code has barely changed though.
45: [00:10:01] <simon_w|work> Which is the right way of doing things
46: [00:10:26] * micmania1 has joined #silverstripe
47: [00:13:53] * simon_w|work tends to prefer the way FB handles open source over the way Google does
48: [00:15:00] <Ryan-Toast> yes, simon_w but everyone knows you’re a FB spy now.
49: [00:15:04] <spronk2> mm
50: [00:15:06] <spronk2> :P
51: [00:15:17] <simon_w|work> Ryan-Toast, don't need to spy. ss-log_ is here :p
52: [00:15:29] <simon_w|work> (Ignore the fact that I control ss-log_...)
53: [00:15:42] <Ryan-Toast> WHERE ARE THE TRIANGLES?
54: [00:17:06] <simon_w|work> By the meeting crane
55: [00:20:38] <simon_w|work> https://goo.gl/maps/lqsQC
56: [00:20:39] <simon_w|work> About there
57: [00:21:36] <JeremyRoundill> Hey guys, I'm getting "There seems to have been a technical problem..." when I try to submit one of my forms. What can I do to get a more verbose message?
58: [00:23:11] <simon_w|work> JeremyRoundill, dev mode
59: [00:23:54] <JeremyRoundill> simon_w|work: It is in dev mode.
60: [00:25:21] <Ryan-Toast> simon_w: I’M ON TO YOU!!!!!!!! http://i.imgur.com/fYzFiK3.jpg
61: [00:25:51] <JeremyRoundill> Illuminataaaaayyyyy!!!!
62: [00:26:26] <Ryan-Toast> he’s one of them! that proves it!!!!!
63: [00:31:55] <Stomach> JeremyRoundill - have you added the SecurityID to the form
64: [00:31:58] <Stomach> thats usually the problem
65: [00:32:06] <JeremyRoundill> Stomach: Yeah, that was the problem
66: [00:32:11] <Stomach> UncleCheese - loving your comment about concrete
67: [00:32:13] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
68: [00:32:16] <Stomach> I mean entwine
69: [00:32:20] <Stomach> I mean BYE
70: [00:32:30] <JeremyRoundill> Stomach: I just wanted a more descriptive error :D
71: [00:36:54] <Ryan-Toast> Need to start looking for contratc work fo next year in London :D
72: [00:37:56] <micmania1> Ryan-Toast: you’re going to London?
73: [00:38:10] <Ryan-Toast> micmania1: yarp. Just booked my flights. August 31st
74: [00:38:22] <Ryan-Toast> micmania1: Commence the anxiety.
75: [00:38:34] <micmania1> canny. How long you going for? You been before?
76: [00:39:51] <Ryan-Toast> Never been further than Australia. Probs 2 years.
77: [00:48:40] <Colin[pi]> wow big change Ryan-Toast
78: [00:49:18] <Ryan-Toast> Colin[pi]: yeah, man. I’m excited.
79: [00:50:49] * UncleCheese has joined #silverstripe
80: [00:50:52] <UncleCheese> Stomach concrete?
81: [00:51:06] <Stomach> aka entwine
82: [00:54:45] <adrexia> it's been entwine for quite some time now
83: [00:57:46] <UncleCheese> oh
84: [00:57:53] <UncleCheese> on the dev list, you mean
85: [01:01:23] <Stomach> yah
86: [01:04:32] * kinglozzer quit ()
87: [01:08:39] * adrexia quit (Ping timeout: 244 seconds)
88: [01:10:57] * adrexia has joined #silverstripe
89: [01:30:41] * markcl has joined #silverstripe
90: [01:31:20] <markcl> Any advantages to using config.yml over _config.php on configuration of class statics?
91: [01:31:44] <markcl> I find that _config.php changes apply faster
92: [01:32:09] <markcl> I am aware that _config.php configuration is deprecated though, but I am curious as to why since it feels superior
93: [01:32:20] * Jakx quit (Quit: ~ Trillian Astra - www.trillian.im ~)
94: [01:32:24] <markcl> * I feel it is superior
95: [01:34:10] <Ryan-Toast> the “when” method in templates uses a DataList, right?
96: [01:35:30] <UncleCheese> Stomach I created a PR for that actually :)
97: [01:35:37] <UncleCheese> do you think it should go against master or 3.1?
98: [01:35:38] <spronk2> haha
99: [01:35:45] <Stomach> 3.1
100: [01:35:47] <UncleCheese> k
101: [01:35:47] <spronk2> yet another question around why the fuck ss uses yaml config
102: [01:35:51] <spronk2> markcl blame Hamish
103: [01:35:52] <UncleCheese> works great
104: [01:36:34] <Stomach> yeah its a bugfix as far as I'm concerned
105: [01:37:11] <markcl> um… any technical reason for it?
106: [01:37:15] <adrexia> what is a bugfix?
107: [01:37:20] <markcl> is it faster or more stable or something?
108: [01:37:32] <adrexia> markcl it was supposed to be faster, but isn't
109: [01:37:52] <adrexia> but what it does give you is better control over when things load
110: [01:37:55] <spronk2> markcl there are a few logistical reasons why it could be better
111: [01:37:59] <Stomach> adrexia - making the page save/publish buttons update on keyup events instead of onchange
112: [01:37:59] <spronk2> mm
113: [01:38:03] <spronk2> and it's a bit more deployment friendly
114: [01:38:10] <markcl> well, i am given a SS project and I see it uses alot of deprecated config functions
115: [01:38:22] <Stomach> UncleCheese - doesn't that use some jquery plugin to detect the changes though? could be quite slow
116: [01:38:26] <markcl> Is it a good idea to convert them to config.yml?
117: [01:38:26] <adrexia> ahh, yeah, makes sense
118: [01:38:39] <UncleCheese> yeah, that was the joke, Stomach
119: [01:38:41] <adrexia> unless you don't usew the keyboard
120: [01:38:42] <UncleCheese> not entwine
121: [01:38:48] <adrexia> rigth click paste still work?
122: [01:38:59] <UncleCheese> it's some little library that hamish made
123: [01:39:02] * StefanLehmann has left #silverstripe
124: [01:39:09] <UncleCheese> adrexia is that for me?
125: [01:39:14] <adrexia> yeah
126: [01:39:18] <UncleCheese> ah, should check that
127: [01:39:24] <adrexia> yep ;)
128: [01:39:31] <UncleCheese> paste into tiny?
129: [01:39:34] <adrexia> it might need to be on onchange + key up
130: [01:39:38] <markcl> So, yeah, should i migrate the config functions to config.yml?
131: [01:39:39] <adrexia> yep
132: [01:39:59] <markcl> From an existing project with mountains of configs?
133: [01:40:34] <adrexia> might actually be worth writing a custom event trigger that just checks both.
134: [01:40:50] <Stomach> oh did he write that too
135: [01:40:51] <Stomach> lol
136: [01:40:56] <Stomach> it uses entwine too
137: [01:40:59] <Stomach> SO MUCH HAMISH
138: [01:41:08] <adrexia> write what too?
139: [01:41:39] <Stomach> markcl - thats recommended yes
140: [01:41:49] <Stomach> but perhaps not fast. ::P
141: [01:41:49] <adrexia> oh, the jquery plugin
142: [01:41:56] <markcl> ok
143: [01:42:01] <markcl> then
144: [01:42:32] <UncleCheese> ooh, what's TempIDHash?
145: [01:42:57] <UncleCheese> new to Member in 3.1.x-dev
146: [01:42:59] <simon_w|work> Horrible
147: [01:43:05] <simon_w|work> Should not have got into 3.1
148: [01:43:22] <spronk2> ???
149: [01:43:50] <UncleCheese> simon_w|work what is it?
150: [01:44:08] <simon_w|work> UncleCheese, used for the in-cms relogin popup
151: [01:44:10] <UncleCheese> i thougth minor releases weren't supposed to impact the db
152: [01:44:16] <UncleCheese> oh, right, right
153: [01:44:33] <UncleCheese> hey, does anyone have the ability to test in ie8?
154: [01:46:02] <Kingy> browserstack.com
155: [01:46:20] <Stomach> UncleCheese - I HAVE THE POWER
156: [01:46:21] <UncleCheese> umm
157: [01:46:29] <UncleCheese> well i want to test my pr
158: [01:46:43] <Stomach> gimme the link, I'll download it and test if for you
159: [01:46:43] <Stomach> <3
160: [01:46:50] <UncleCheese> adrexia paste works, at least in webkit, with just keyup
161: [01:47:12] <UncleCheese> ok, Stomach much appreciated
162: [01:47:15] <adrexia> pasting with the mouse?
163: [01:47:26] <Stomach> mouse paste
164: [01:47:26] <Stomach> go!
165: [01:47:28] <Stomach> mmmmm mouse
166: [01:47:52] <adrexia> or moving stuff my selecting and dragging?
167: [01:48:15] <UncleCheese> https://github.com/unclecheese/silverstripe-framework
168: [01:48:16] <adrexia> wow, someone volunteered for IE testing?
169: [01:48:18] <adrexia> gosh
170: [01:48:20] <UncleCheese> lol
171: [01:48:28] <UncleCheese> doh! mouse
172: [01:48:30] <UncleCheese> fuck
173: [01:48:47] <UncleCheese> shit, it fails
174: [01:48:49] <markcl> Can I switch the SapphireTest to test the actual database?
175: [01:48:51] <adrexia> yep
176: [01:48:57] <UncleCheese> fucking mouse people
177: [01:49:00] <adrexia> :P
178: [01:49:01] <markcl> Instead of the autogenerated from fixtures one?
179: [01:49:06] <markcl> How?
180: [01:49:19] <UncleCheese> Stomach can you test anyhoo?
181: [01:49:20] <adrexia> but that would liekly fail audio assistent devices too
182: [01:49:26] <Stomach> yeah
183: [01:50:12] <adrexia> UncleCheese, new js should use on rather than bind
184: [01:50:31] <UncleCheese> even though the rest of that script is using bind()?
185: [01:50:34] <adrexia> I know the cms uses bind, but someday soon they will have to upgrade jquery
186: [01:50:38] <adrexia> yep
187: [01:50:49] <UncleCheese> ok, i was aware of that, i just didn't want to introduce too many changes
188: [01:50:56] <adrexia> when jquery is updated everything will need replacving with on, may as well do it now
189: [01:51:03] <adrexia> yeah, that's fair
190: [01:51:05] <UncleCheese> so it's backward compatible then
191: [01:51:16] <simon_w|work> UncleCheese, also, NEW: not, ENHANCEMENT:
192: [01:51:26] <adrexia> the version the cms uses has deprecated bind - but not dropped suport yet
193: [01:51:27] <UncleCheese> thanks, simon_w|work
194: [01:51:31] <UncleCheese> never know what to use there
195: [01:51:31] <adrexia> technically its already out of date
196: [01:51:53] <UncleCheese> but bind() and on() coexist peacefully in the version of jq that cms is running
197: [01:52:28] <simon_w|work> Interestingly, when the idea of updating the CMS version of jQuery come up, users (not effected) were for it, people that work on the CMS all against it
198: [01:52:40] <Stomach> so.. the entire interface is fucked in ie8
199: [01:52:47] <UncleCheese> no!
200: [01:53:15] <adrexia> for in should wrap its bony in a hasOwnProperty if statement
201: [01:53:19] <adrexia> *body
202: [01:53:22] <Colin[pi]> simon_w|work: haha that's not surprising really
203: [01:53:38] <adrexia> simon_w|work, I work on the cms sometimes
204: [01:53:39] <Stomach> http://imgur.com/oiAxTPu
205: [01:53:41] <adrexia> I am for it
206: [01:54:03] <adrexia> at least before the next major version comes out
207: [01:54:14] <Colin[pi]> Stomach: oh... ohh.. that looks... peachy
208: [01:54:20] <simon_w|work> Whereas I'm for completely redoing the CMS
209: [01:54:26] <simon_w|work> It's a clusterfuck
210: [01:54:40] <Colin[pi]> simon_w|work's cms will look something like this: http://motherfuckingwebsite.com/
211: [01:54:48] <Stomach> Colin[pi] - yeah not sure if its UncleCheese fault
212: [01:54:50] <Stomach> or something else
213: [01:54:53] <adrexia> simon_w|work, me too actually
214: [01:55:00] <adrexia> but umm... practical
215: [01:55:08] <adrexia> it is not
216: [01:55:23] <simon_w|work> adrexia, if only the 3.0 redo actually stuck to its plan on being done well
217: [01:55:32] <adrexia> hahah
218: [01:56:25] <UncleCheese> adrexia looks like there's a jquery "paste" event?
219: [01:56:36] <adrexia> don't do it
220: [01:56:36] * Colin[pi] high fives Stomach for using .dev domains
221: [01:56:38] <Kingy> is 'Website down for maintenance' new?
222: [01:56:43] <adrexia> use on change and keyup
223: [01:56:50] <Kingy> ss23:
224: [01:56:59] <Stomach> Colin[pi]: \o
225: [01:57:02] <Ryan-Toast> How do you get the parent in a dataobject?
226: [01:57:09] <adrexia> paste still isn't the only way to change the input fields
227: [01:57:10] <Ryan-Toast> Tried $this->owner
228: [01:57:11] <simon_w|work> Ryan-Toast, depends how you define the parent
229: [01:57:13] <Stomach> Ryan-Toast - does it have a parent? o_O
230: [01:57:13] <Ryan-Toast> and parent
231: [01:57:22] <Ryan-Toast> Stomach: dataobjects owner
232: [01:57:30] <Ryan-Toast> Stomach: just trying to get the ID
233: [01:57:31] <Stomach> they dont have owner
234: [01:57:35] <simon_w|work> $this->ID?
235: [01:57:53] <UncleCheese> adrexia change doesn't fire on mouse paste
236: [01:58:10] <adrexia> ok, but don't remove on change
237: [01:58:15] <UncleCheese> no, no
238: [01:58:17] <ss23> Kingy: Yeah, and it's frustrating as fuck
239: [01:58:19] <adrexia> you can add paste, cut, et al
240: [01:58:19] <Ryan-Toast> Stomach: but they...do?
241: [01:58:25] <UncleCheese> i've got 'keyup change cut paste'
242: [01:58:27] <adrexia> but what fires when you drag an image?
243: [01:58:30] <ss23> Kingy: Basically a bunch of new featuers were made that increase the chance of a deployment fialing by 99999%
244: [01:58:32] <UncleCheese> 'drop'
245: [01:58:35] <Ryan-Toast> simon_w: wouldn’t that be the dataobeject’s ID?
246: [01:58:37] <adrexia> cool
247: [01:58:42] <UncleCheese> anyway, none of them work
248: [01:58:43] <UncleCheese> so
249: [01:58:44] <Kingy> ss23: apparently ours just did :P
250: [01:58:47] <adrexia> hahahah
251: [01:58:50] <simon_w|work> Ryan-Toast, yes, and you're not explaining what you want very well
252: [01:59:00] * Kingy waits for the complaints
253: [01:59:14] <Stomach> Ryan-Toast - so you've set up page $has_many = array('Children' => 'DO'); and do $has_one = array('Parent' => 'Page');
254: [01:59:15] <Stomach> ?
255: [01:59:19] <Ryan-Toast> simon_w|work: e.g page has_many dataobject. In the dataobject echo the Page’s ID
256: [01:59:29] <simon_w|work> $this->RelationNameID
257: [01:59:36] <simon_w|work> Or, $this->RelationName()->ID
258: [01:59:37] <Ryan-Toast> simon_w: churboi
259: [02:00:30] <ss23> Kingy: Uh, did you want someone to fix it?
260: [02:00:43] <Kingy> main man Igor is on it
261: [02:00:44] <ss23> Kingy: Oh, it's up? It didn't fail?
262: [02:00:47] <ss23> Ah kk
263: [02:00:52] <ss23> I wondered why he was busy :D
264: [02:00:56] <Kingy> rofl
265: [02:01:00] <Kingy> sweat dripping
266: [02:01:07] <Kingy> shitting bricks :P
267: [02:01:29] <ss23> lol https://github.com/IgorNadj/deploynaut/commit/6e008d1b357add544902b651a2c0102d6ef214a0
268: [02:02:05] <Ryan-Toast> Stomach: I realise I could have just queried the Page...
269: [02:02:11] <Ryan-Toast> since it’s a has_one
270: [02:02:47] <Kingy> ss23: ahahah
271: [02:05:59] <adrexia> ss23 that's great, but it should be translatable ;)
272: [02:06:01] <JeremyRoundill> ss23: http://api.silverstripe.org/3.0/source-class-Controller.html#487-487
273: [02:06:08] <JeremyRoundill> inappropraite.
274: [02:06:26] * adrexia wants to replace it with 'sorry bro, site's down'
275: [02:06:46] <Kingy> ^ keen
276: [02:07:48] <spronk2> haha
277: [02:07:51] <spronk2> yes
278: [02:08:18] <spronk2> the politically incorrect in me says that should be the Maori translation :P
279: [02:08:44] <UncleCheese> adrexia paste event is firing, but the "dirty" check fires before the input is updated, so it looks the same at the time of comparison
280: [02:08:50] <Kingy> ohhh no u diiiiint spronk2
281: [02:08:51] <UncleCheese> need a setTimeout on the paste event.. a bit shit
282: [02:08:56] * spronk2 went there
283: [02:08:57] <spronk2> it's ok though
284: [02:09:06] * spronk2 will go anywhere
285: [02:09:22] <adrexia> err
286: [02:09:35] * spronk2 possible misspoke
287: [02:09:50] <Kingy> insert dirty joke here
288: [02:09:51] <adrexia> if a problem needs to be solved with setTimeout you sort of have to debate whether its worth solving
289: [02:10:51] <adrexia> though the alternative solution usually takes ~ a days more effort
290: [02:13:18] <UncleCheese> nothign wrong with settimeout
291: [02:13:34] <UncleCheese> it's a really common technique to deal with deferred execution in js
292: [02:13:52] <UncleCheese> god knows there's enough of it already in the core :)
293: [02:14:00] <UncleCheese> yay for broken window theory
294: [02:14:59] <Colin[pi]> ugh, settimeout
295: [02:16:47] <ss23> 15:05:59 < adrexia> ss23 that's great, but it should be translatable ;)
296: [02:16:50] <ss23> No it shouldn't
297: [02:16:54] <adrexia> lol
298: [02:17:02] <ss23> It's designed to work in situations where all else fails!
299: [02:17:06] <ss23> Static HTML is the only way
300: [02:17:14] <ss23> It's translatable in a "you can replace it with something else" sense :P
301: [02:17:28] <adrexia> UncleCheese, there are _many_things wrong with setTimeout
302: [02:17:40] <adrexia> and itsa a lame solution for deferred execution
303: [02:17:45] <JeremyRoundill> If our users don't know how to use Google Translate we don't want them anyway.
304: [02:17:52] <adrexia> and causes many many issues down the track
305: [02:17:56] <UncleCheese> ok, i'll change it to setInterval
306: [02:17:59] <adrexia> :P
307: [02:18:02] <adrexia> find out why
308: [02:18:11] <UncleCheese> so
309: [02:18:14] <adrexia> fix it as source
310: [02:18:17] <adrexia> *at
311: [02:18:22] <UncleCheese> is it worth having a setTimeout JUST so we can support paste?
312: [02:18:32] <UncleCheese> from mouse, at that?
313: [02:18:37] <simon_w|work> Depends. Is it a chocolate paste?
314: [02:18:48] <adrexia> nope
315: [02:19:06] <adrexia> so long as the onchange still works, its fine
316: [02:19:20] <UncleCheese> ok
317: [02:19:40] <UncleCheese> other option is we apply a global event handler just for "paste" on text inputs that does setTimeout(.. this.onchange() )
318: [02:19:57] <adrexia> very few problems are actually time problems. Most are sequence problems
319: [02:24:43] <adrexia> interestingly, paste currently works well with tinymce and the publish button
320: [02:24:51] <adrexia> but not with the regualr text fields
321: [02:25:56] <adrexia> oh. any there seems to be an event that fires after a few seconds after typing (wityhout focus out)
322: [02:26:37] <adrexia> *and
323: [02:28:52] <Ryan-Toast> lol: http://i.imgur.com/o8bIvTx.gif
324: [02:32:13] <Colin[pi]> Ryan-Toast: I lol'ed so much at this one: http://i.imgur.com/60ZdzPG.jpg
325: [02:32:19] <Colin[pi]> "AVENGE MEEEE!"
326: [02:32:24] <Ryan-Toast> Colin[pi]: I love that one
327: [02:33:51] <UncleCheese> does this have a chance in hell? https://github.com/unclecheese/silverstripe-framework/commit/7b25dbef3219a6dca94a842faa99cd854bc2ad63
328: [02:33:53] <Colin[pi]> Ryan-Toast: this one is pretty epic too: http://i.imgur.com/N46OKP1.gif
329: [02:34:31] <Ryan-Toast> Colin[pi]: :D
330: [02:35:04] <adrexia> UncleCheese, custom change events are additive rather than a definitive list?
331: [02:35:22] <UncleCheese> they're exclusive
332: [02:35:44] <UncleCheese> if a selector has been defined has having custom change events, it doesn't get included in the boilerplate 'change.changetracker'
333: [02:36:11] <adrexia> ahh right, so things not defined use their current default values?
334: [02:36:22] <UncleCheese> yeah, i went back and forth on that
335: [02:36:36] <UncleCheese> whether you're augmenting the event handler or just overriding it
336: [02:36:50] <UncleCheese> but i think overriding it makes more sense, because you can always list multiple
337: [02:37:18] <adrexia> should definately be augmenting, I think. We can't tell the future (unfortunately)
338: [02:37:23] <adrexia> ;)
339: [02:37:31] <mahfuz> Can anyone tell me why this line is giving error when a new user registers - [Notice] Undefined index: FirstName -- ($name = $data['FirstName'] ?: $name = $data['Email']);
340: [02:37:43] <mahfuz> I am using Ryan's code for Registration
341: [02:37:53] <adrexia> wait, we might be using those terms oppositely
342: [02:37:53] <UncleCheese> because there's no FirstName field in your form
343: [02:38:11] <UncleCheese> by default all fields get 'change'
344: [02:38:22] * adrexia nods
345: [02:38:26] <UncleCheese> do you think the customEventHandlers should merge with that
346: [02:38:27] <mahfuz> I have taken the code from here given by Ryan - https://github.com/Rhym/ss_boilerplate/tree/master/boilerplate/code/Modules/Registration
347: [02:38:28] <UncleCheese> or override that
348: [02:38:46] <mahfuz> In there the registration form only has email and password
349: [02:39:13] <UncleCheese> yeah, if you don't have a FirstName field, it's not going to be in that array
350: [02:39:37] <mahfuz> In the Edit page all the other fields even some extra added through MemberDecorator are there
351: [02:39:39] <adrexia> for(var selector in options.customChangeEvents) { still needs a hasOwnProperty check I think
352: [02:39:46] <UncleCheese> good catch
353: [02:40:02] <UncleCheese> and what to you think about overriding vs merging?
354: [02:41:45] <mahfuz> So should I add the code for showing name in the registration form as well. It seemed from the code there were only those 2 fields to make the registration process easier.
355: [02:43:17] <UncleCheese> mahfuz if you're checking for a FirstName field, you need to have a FirstName field in your form, not just email and password
356: [02:44:02] <Ryan-Toast> mahfuz: just replace line 96 with: $name = $data['Email']
357: [02:44:15] <mahfuz> what does this condition mean - ?:
358: [02:44:17] <adrexia> UncleCheese can never be exhaustive, things change too fast, so best just to override what we know we want.
359: [02:44:23] <UncleCheese> mahfuz ternary operator
360: [02:44:26] <Ryan-Toast> mahfuz shorthand for if else
361: [02:44:33] <mahfuz> in here
362: [02:44:34] <mahfuz> ($name = $data['FirstName'] ?: $name = $data['Email']);
363: [02:44:35] <UncleCheese> $foo = $bar ? $bar : $baz
364: [02:44:38] <UncleCheese> is the same as
365: [02:44:38] <adrexia> though [type=text] might be too restrictive
366: [02:44:40] <adrexia> ?
367: [02:44:42] <UncleCheese> $foo $bar ?: $baz;
368: [02:44:47] <Ryan-Toast> mahfuz: yarp
369: [02:45:04] <JeremyRoundill> That new shorthand ternary is soooo nice.
370: [02:45:05] * oetiker_ quit (Ping timeout: 265 seconds)
371: [02:45:06] <Ryan-Toast> just change it to: $name = $data['Email’];
372: [02:45:08] <UncleCheese> input[type=text]?
373: [02:45:33] <adrexia> $data['FirstName'] ?: $name = $data['Email']
374: [02:45:38] <adrexia> erg I hate it
375: [02:45:58] <Ryan-Toast> adrexia: wai?
376: [02:46:10] <adrexia> at least put something after the question mark. Ternary operaters are hard enough to read as is
377: [02:46:15] <adrexia> ;)
378: [02:46:15] <Ryan-Toast> :P
379: [02:46:20] <Ryan-Toast> NO, ONLY CONFUSION
380: [02:46:21] <mahfuz> so what is the condition and what are the true and false part in there?
381: [02:46:39] <Ryan-Toast> basically if there’s a firstname in the data set name to be that
382: [02:46:44] <Ryan-Toast> otherwise use the email
383: [02:46:52] <Ryan-Toast> but I removed thr firstname from the form
384: [02:46:56] <Ryan-Toast> so it’s redundant.
385: [02:47:01] <Ryan-Toast> I’ll remve it from the rpo
386: [02:47:04] <Ryan-Toast> repo**
387: [02:47:40] <adrexia> lol
388: [02:47:47] <mahfuz> Ryan so I need to have the first name in the form or remove $data['FirstName'] from the statement
389: [02:48:04] <Ryan-Toast> just remove FirstName from the statment
390: [02:48:16] <mahfuz> ok
391: [02:48:35] <Ryan-Toast> Twhen a user registeres it redirects them to the edit use r form, which grabs the other dets
392: [02:48:59] <Ryan-Toast> Just makes it easy for someone to register with an email and password if they don’t want to fill in the other biz
393: [02:49:15] <UncleCheese> man, pull requesting is HARD
394: [02:49:29] <mahfuz> as the very short hand ?: is new to me, can any one tell me where to put the condtion and where to put the true and false part?
395: [02:49:40] <UncleCheese> adrexia I like the js approach to that
396: [02:49:44] <UncleCheese> and i wish php allowed it
397: [02:49:54] <UncleCheese> var thing = thing || otherThing;
398: [02:50:16] <Ryan-Toast> mahfuz: just do what I said above
399: [02:50:18] <JeremyRoundill> $somestringthatcouldbeempth ?: $alternativestring
400: [02:50:33] <JeremyRoundill> ** $somestringthatcouldbeempty ?: $alternativestring
401: [02:50:55] <mahfuz> ok
402: [02:51:14] <Stomach> adrexia is right, you should put a space after your ?
403: [02:51:21] <Stomach> true ? : false;
404: [02:52:03] <adrexia> unclecheese me too this || that is easier to read
405: [02:52:34] <Ryan-Toast> Stomach: I’ll be getting rid of the whole line
406: [02:52:46] <adrexia> but nothing wrong with actual if else statements either
407: [02:52:51] <Ryan-Toast> Stomach: it’s just technical debt.
408: [02:53:01] <adrexia> would ratehr have more lines of code and have it be readable
409: [02:53:28] <Stomach> depends on your concept of readability
410: [02:53:34] <simon_w|work> Stomach, adrexia, ? : looks horrible. Just use ?:
411: [02:53:39] <Stomach> I'd expect any PHP developer to be able to handle a ternery
412: [02:53:46] <Ryan-Toast> adrexia: Captains log day 1267: “I have begun on the quest to confuse and infuriate adrexia, everything is going according to plan…”
413: [02:53:58] <Stomach> its when you get nested terneries that you want to kill tractorcow
414: [02:54:02] <adrexia> Stomach how many people mentally change it into an if else to read it ? :P
415: [02:54:15] <Ryan-Toast> Stomach: I never nest terneries
416: [02:54:18] <adrexia> the complexity of a sytem shouldn't be in a line of code
417: [02:54:21] <Ryan-Toast> I’m not satan
418: [02:54:37] <Stomach> of course you read it as an if else
419: [02:54:47] <adrexia> Ryan-Toast, you don't infuriate me.
420: [02:54:52] <adrexia> fail ;)
421: [02:54:54] <Stomach> I personally if $var = this ? this : otherwise that;
422: [02:55:25] <simon_w|work> So what are you going to read this ?? that as?
423: [02:55:30] <JeremyRoundill> I don't use if any more, it's all ternaries.
424: [02:55:35] <adrexia> Stomach that syntax is nicer
425: [02:55:52] <adrexia> any abstract at that level is just obscuring reability
426: [02:56:03] <Stomach> simon_w|work - "fuck I hate nested terneries"
427: [02:56:07] <Stomach> thats how I read that
428: [02:56:17] <adrexia> and, well, code should be super easy to read
429: [02:56:30] <simon_w|work> this ?? that isn't nested or a ternary
430: [02:56:55] <Ryan-Toast> adrexia: soon… http://i.imgur.com/3a1BEwv.gif
431: [02:57:08] <adrexia> hahahaha
432: [02:57:11] <simon_w|work> https://wiki.php.net/rfc/isset_ternary
433: [02:57:50] <Stomach> ooo didnt know that one simon_w|work
434: [02:58:01] <simon_w|work> That's because PHP 7 isn't out yet :p
435: [02:58:02] <adrexia> simon_w|work, that's the same as js doing var = this || that
436: [02:58:03] <Stomach> oh no wonder its not even out yet
437: [02:58:08] <Stomach> haha :D
438: [02:58:17] <spronk2> god
439: [02:58:18] <Stomach> thats pretty handy though
440: [02:58:18] <simon_w|work> adrexia, nope
441: [02:58:22] <spronk2> php needs NCO hard
442: [02:58:22] <adrexia> no?
443: [02:58:24] <simon_w|work> js || is the php ?:
444: [02:58:41] <spronk2> js' || has some interesting semantics though, based on javascript's fucked upness
445: [02:58:48] <simon_w|work> a ?? b ==> (a === null) ? b : a
446: [02:59:31] <spronk2> tbh
447: [02:59:41] <Colin[pi]> simon_w|work: my head asplode
448: [02:59:43] <spronk2> ?? should work as a boolean too
449: [03:00:00] <simon_w|work> spronk2, so, exactly like how ?: works?
450: [03:00:10] <spronk2> no?
451: [03:00:13] <spronk2> like
452: [03:00:16] <spronk2> if($v??)
453: [03:00:31] <spronk2> for much nicer
454: [03:01:04] <simon_w|work> Heh, Josh is going and submitting RFCs for Hack features: https://wiki.php.net/rfc/nullsafe_calls
455: [03:01:41] <simon_w|work> spronk2, Hmm, not sure I like the idea of that, though I can definitely see people finding it useful
456: [03:01:46] <spronk2> well
457: [03:01:47] <spronk2> i dno
458: [03:01:51] <spronk2> === null and isset() are horrible
459: [03:01:59] <simon_w|work> is_null! :p
460: [03:02:05] <spronk2> is also horrible
461: [03:02:21] <spronk2> i quite like that proposal
462: [03:02:48] <simon_w|work> Yeah, it's a rather useful thing
463: [03:03:02] <simon_w|work> Unless you need error handling, but then you have to do weird shit anyway
464: [03:03:07] <spronk2> yeah
465: [03:05:26] <simon_w|work> Reason why I don't see if ($var??) being that useful, is because it'll usually be a longform of $var = $var ?? default
466: [03:06:31] <simon_w|work> Also, cause of things like if (!$var??) looks too much like Perl :p
467: [03:07:24] <Stomach> write the entire system in regex!
468: [03:07:26] <Stomach> >_<
469: [03:07:37] <simon_w|work> Stomach, now now, we've moved on from 2.4 :p
470: [03:07:52] <Stomach> write a parser that generates regex!
471: [03:07:58] <Stomach> >_<
472: [03:10:52] <Stomach> whats the call for inDB()?
473: [03:11:06] <Stomach> isInDB
474: [03:11:07] <Stomach> thanks
475: [03:15:26] <mudmonth> can i disable split view entirely? it doesn't work well with the multisites module i'm using because it generates cross domain issues
476: [03:16:34] <adrexia> mudmonth theres a method somewhere that checks if preview should ahppen., I suppose you just have to override that
477: [03:16:56] <adrexia> not sure how easy that is though
478: [03:19:57] <markcl> This does not work for me:
479: [03:19:57] <markcl> MySQLDatabase:
480: [03:19:58] <markcl> connection_charset: 'utf-8'
481: [03:20:04] <markcl> But the deprecated one does:
482: [03:20:11] <markcl> MySQLDatabase::set_connection_charset('utf8');
483: [03:20:13] <mahfuz> Ryan: are you there? Now another error with this line - $this->setFlash(_t('RegistrationPage.RegisteredSuccessText', 'Welcome ' .$name.', your account has been created!'), 'success');
484: [03:20:21] <mahfuz> [User Error] Uncaught Exception: Object->__call(): the method 'setflash' does not exist on 'RegistrationPage_Controller'
485: [03:20:28] <markcl> Config::inst()->update('MySQLDatabase', 'connection_charset', 'utf-8'); does not work either
486: [03:20:33] <markcl> so deprecated functions for the win
487: [03:22:54] * AdriAn_s has joined #silverstripe
488: [03:23:27] <AdriAn_s> hey is it possible to use a different theme to the main theme the rest of my site is using for a certain page type?
489: [03:26:58] <AdriAn_s> anyone??
490: [03:28:08] <Ryan-Toast> AdriAn_s: Not by default
491: [03:29:10] <AdriAn_s> can I harddice a theme for a set page in teh controller or anything??
492: [03:29:15] <AdriAn_s> *hardcode
493: [03:30:08] <mahfuz> Ryan could you please look at above?
494: [03:31:12] <mahfuz> setFlash is giving error - [User Error] Uncaught Exception: Object->__call(): the method 'setflash' does not exist on 'EditProfilePage_Controller'
495: [03:31:20] <Ryan-Toast> mahfuz: It’s using my flash message module.
496: [03:31:25] <Ryan-Toast> You can include it, or omit it.
497: [03:32:12] <mahfuz> what does it do?
498: [03:32:37] <mahfuz> show a modal message or something
499: [03:33:25] <Ryan-Toast> shows an alert in the frontend.
500: [03:33:41] <Ryan-Toast> you’ll need to add $FlashMessage to your template too.
501: [03:33:53] <Ryan-Toast> if you choose to use it.
502: [03:33:55] <Ryan-Toast> that sis
503: [03:34:01] <Ryan-Toast> is**
504: [03:37:22] <AdriAn_s> so ryan are there any docs on how to change the theme for a template then?
505: [03:39:31] <Ryan-Toast> AdriAn_s: You would make a root level template in the template files for your class name, and just include the csss.
506: [03:40:08] * Zopiclone has joined #silverstripe
507: [03:42:14] <micmania1> or, you could just change the theme in your controller init function.
508: [03:42:31] <Zopiclone> Lol I submitted a form on a website and it sent it with the email template from another website!?
509: [03:43:07] <AdriAn_s> what just do SSViewer::set_theme('package'); in the init of the page controller??
510: [03:44:10] <micmania1> SSViewer::config()->update(‘theme’, ‘mytheme’); // Same thing, but the other is deprecated (in 3.2).
511: [03:44:45] * zippy has joined #silverstripe
512: [03:45:00] <AdriAn_s> ah cool. that would do what i need then :) thanks
513: [03:45:03] <zippy> ss23: Dude...
514: [03:45:42] <ss23> zippy: ?
515: [03:45:47] <zippy> ...
516: [03:46:06] <ss23> MAKING ME NERVOUS MAN
517: [03:46:24] <ss23> ;_;
518: [03:46:25] <ss23> WHAT
519: [03:46:27] <ss23> OH GOD WHAT
520: [03:46:50] <zippy> Ò_Ó
521: [03:48:10] * zippy wonders if it's worth fixing a namespace bug if nacespace is going to be added / borked in ss...
522: [03:49:12] <zippy> I wonder when the best time to book a taxi is
523: [03:49:27] <zippy> I feel close to 5 is bad as they could be rushed and might fuck up the booking...
524: [03:52:02] <UncleCheese> adrexia are you anti-debounce then?
525: [03:52:17] <zippy> UncleCheese: still quite nights, nothing on camera?
526: [03:52:23] <Ryan-Toast> micmania1: That’s a much better solution :P
527: [03:52:26] <UncleCheese> hmm.. let me check the FTP server :)
528: [03:52:33] <zippy> lol
529: [03:52:39] <zippy> but nights have been fine?
530: [03:52:43] <UncleCheese> yeah, afaik
531: [03:52:45] * Stomach quit (Ping timeout: 265 seconds)
532: [03:52:50] <UncleCheese> i really want them to come back..
533: [03:52:52] <Ryan-Toast> Bank account is sad and empty now.
534: [03:52:52] <UncleCheese> nail those fuckers
535: [03:52:57] <spronk2> woohooooooo vagrant provisioning script working!
536: [03:53:04] <UncleCheese> i'll turn it into a web development project somehow
537: [03:53:10] <UncleCheese> set up my ftp server to send push notifications
538: [03:53:12] <UncleCheese> ooooooh
539: [03:53:16] <UncleCheese> i can taste it now
540: [03:53:43] <spronk2> face detection --> wanted poster portraits
541: [03:53:44] <micmania1> spronk2: vagrant package
542: [03:53:47] <spronk2> social login obviously
543: [03:53:57] <spronk2> UncleCheese sounds like a plan
544: [03:54:10] <UncleCheese> yus!!!!!!!!
545: [03:54:48] <zippy> spronk2: you get a new computer?
546: [03:54:54] <spronk2> zippy ja
547: [03:55:00] <zippy> macbook pro?
548: [03:55:11] <spronk2> ja
549: [03:55:19] <spronk2> System Information: Model: MacBook Pro (Retina, 15-inch, Late 2013) • CPU: Intel Core i7-4750HQ (8 Threads, 4 Cores) @ 2.00 GHz • Memory: 8.00 GB • Uptime: 19 hours • Disk Space: Total: 249.78 GB; Free: 191.20 GB • Graphics: Intel Iris Pro • Screen Resolution: 1440 x 900 (HiDPI Mode) • Load: 17% • OS: Mac OS X 10.10 (Yosemite) (Build 14A389)
550: [03:55:21] <zippy> much happyness?
551: [03:55:25] <spronk2> :)
552: [03:55:41] <zippy> damn did you drop in a 512gb ssd?
553: [03:55:49] <spronk2> naw just 256
554: [03:55:54] <zippy> oh, total :)
555: [03:55:57] <zippy> I was adding together
556: [03:56:00] <spronk2> :D
557: [03:56:17] <spronk2> was considering the 16/512, but boss said it was a bit excessive on the budget :P
558: [03:56:25] <zippy> left the screen scaling default I see. Did you experiment?
559: [03:56:28] <Colin[pi]> spronk2: sounds the same as mine except I have the 13"
560: [03:56:35] <spronk2> zippy yeah
561: [03:56:42] <zippy> Colin[pi]: you not quad core
562: [03:56:51] <Colin[pi]> oh is that in the 15 only?
563: [03:56:51] <spronk2> i might move it to the 1680x equiv
564: [03:56:55] <spronk2> Colin[pi] mm
565: [03:56:57] <Colin[pi]> ah k
566: [03:56:59] <spronk2> man
567: [03:57:02] <spronk2> retina display is niiice
568: [03:57:08] <Colin[pi]> sure is
569: [03:57:09] <zippy> spronk2: is it honkin?
570: [03:57:14] <spronk2> its baller.
571: [03:57:15] <spronk2> though
572: [03:57:23] * Zopiclone quit (Read error: Connection reset by peer)
573: [03:57:36] <spronk2> i found out today that the iris pro-only model (and possibly the post-2012 nvidia models) can't support three external displays
574: [03:57:44] <spronk2> which is exceedingly annoying
575: [03:57:58] <zippy> I think when the new chips come out early next year I will sell one of the kids and upgrade
576: [03:58:00] <spronk2> it has two tbolts and an hdmi, but it disables one if you plug all 3 in :(
577: [03:58:03] <spronk2> :D
578: [03:58:20] <spronk2> they are pretty nice machines
579: [03:58:22] * zippy goes and checks for a TradeMe category for children
580: [03:58:27] <spronk2> hmm
581: [03:58:28] <spronk2> pets?
582: [03:58:34] <spronk2> no
583: [03:58:59] <spronk2> Sports > Other, or possibly Farming > Livestock
584: [03:59:00] <spronk2> :D
585: [03:59:46] <superspring> UncleCheese: hey, are the screenshots for this module still available? http://addons.silverstripe.org/add-ons/silverstripe/dashboard
586: [03:59:56] <zippy> you could always drive a display over usb couldn't you? as long as it's not doing anything intensive (ike email program)
587: [03:59:57] <UncleCheese> somewhere
588: [04:01:16] <superspring> UncleCheese: did you not pay your DigitalOcean bill? :p
589: [04:01:26] <UncleCheese> uh oh
590: [04:01:38] <UncleCheese> why?
591: [04:01:53] <spronk2> zippy yeah, its a bit slow though, everything OSX is 3dified
592: [04:02:06] <spronk2> its ok, i might just get rid of my 24-27-24 setup and change to 27-27\
593: [04:02:19] * micmania1 has left #silverstripe
594: [04:02:22] <UncleCheese> ugh
595: [04:02:31] <UncleCheese> i wish github would just host the damn images
596: [04:02:33] <mahfuz> How to redirect to a certain page after login from the /security/login page?
597: [04:02:53] <spronk2> yerp
598: [04:03:37] <mahfuz> and how to redirect to home page after logout through /security/logout
599: [04:03:42] <zippy> mahfuz: there is a config for that
600: [04:04:14] <mahfuz> can you give me an example?
601: [04:04:45] <zippy> Security::config()->default_login_dest = '/mars';
602: [04:04:47] * hailwood quit (Quit: Leaving.)
603: [04:06:23] <zippy> Ryan-Toast: new bootstrap css out eh, when you upgrading your boiler plate?
604: [04:07:40] <ss23> zippy: WHAT DID YOU WANT OH GOD
605: [04:07:49] <mahfuz> zippy: where to write this config.yml ?
606: [04:08:05] <zippy> mahfuz: can just drop it in your mysite/_config.php
607: [04:08:33] <mahfuz> ok
608: [04:08:44] <Ryan-Toast> zippy: zippy tomorrow probs
609: [04:09:25] <mahfuz> is there any default_logout_dest ?
610: [04:09:47] <Ryan-Toast> zippy: looks like a bugfix release
611: [04:10:19] <Ryan-Toast> bootrap 4: Switch all pixel values over to rems and ems for easier and better type and component sizing.
612: [04:10:22] <Ryan-Toast> good. About time
613: [04:11:01] <zippy> god damn it I need my px!
614: [04:11:23] <Ryan-Toast> zippy: just make a mixin that converts your px to rems
615: [04:11:37] <Ryan-Toast> so you can keep using px, but your stylesheets will be scalable
616: [04:11:52] <zippy> I see your words, but all I hear is sass jibber jabber
617: [04:12:00] <Ryan-Toast> :P
618: [04:12:00] <zippy> :P
619: [04:12:03] * Phlunk3 quit (Remote host closed the connection)
620: [04:12:56] * novaweb leaves
621: [04:12:58] <novaweb> Peace
622: [04:13:00] * novaweb quit (Quit: Leaving)
623: [04:16:20] <mahfuz> how to redirect to the home page after someone logout using security/logout ?
624: [04:17:09] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
625: [04:19:36] <mahfuz> anyone there?
626: [04:20:54] <adrexia> probably something to do with setting the backurl
627: [04:21:13] <adrexia> but it will depend how they are looggin out
628: [04:21:21] <adrexia> *logging
629: [04:23:01] <zippy> mahfuz: you can create your own logout link. in your page_controller create a function called logout - which does Security::logout(true); return $this->redirect('/somewhere'); - and make sure to add that logout link to your allowed actions
630: [04:23:43] * zippy is out
631: [04:23:47] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
632: [04:25:28] <mahfuz> thanks zippy
633: [04:30:38] <adrexia> mahfuz you could also just make the logout link point to something like security/logout?BackURL=/ instead
634: [04:31:58] * Ryan-Toast quit (Quit: Ryan-Toast)
635: [04:34:34] <mahfuz> thanks adrexia
636: [04:38:15] * mahfuz quit (Quit: Page closed)
637: [04:47:20] * cloph has joined #silverstripe
638: [04:47:40] * cloph_away quit (Ping timeout: 255 seconds)
639: [04:48:23] * Kingy is now known as Kingy[a]
640: [05:03:02] <AdriAn_s> hey im using SSViewer::set_theme('main'); in a custom page type to change the theme for onepage type but it doesnt show the theme it just shwows a page with the content and Generated with the default ContentController.ss template any ideas why??
641: [05:08:05] * Colin[pi] quit (Read error: Connection reset by peer)
642: [05:08:26] * Colin[pi] has joined #silverstripe
643: [05:09:32] <AdriAn_s> dont worry I have it . my custom page type was extending teh wrong class
644: [05:16:58] * spekulatius quit (Quit: Leaving)
645: [05:46:16] * oetiker has joined #silverstripe
646: [05:48:26] * spronk2 quit (Quit: I may need a longer sleep timer...)
647: [06:37:10] * Shrike_Finland has joined #silverstripe
648: [06:41:53] * r_hector has joined #silverstripe
649: [07:06:01] * wmk has joined #silverstripe
650: [07:15:41] <wmk> OMFG.... this drupal security thingie sounds totally awful
651: [07:15:57] <wmk> on single post request without auth and you own the installation
652: [07:16:14] <wmk> WTF????
653: [07:17:39] * pippy has joined #silverstripe
654: [07:20:55] * pipp2 has joined #silverstripe
655: [07:25:37] * pipp2 quit (Ping timeout: 246 seconds)
656: [07:31:06] * pippy quit (Quit: WeeChat 0.3.8)
657: [07:33:42] * Guits has joined #silverstripe
658: [07:33:47] * MrGuits has joined #silverstripe
659: [07:43:00] * Eliseth has joined #silverstripe
660: [07:44:05] * irogue quit ()
661: [07:48:05] * spronk2 has joined #silverstripe
662: [07:53:01] * Shrike_Finland quit (Quit: Leaving.)
663: [07:58:09] * spronk2 quit (Quit: I may need a longer sleep timer...)
664: [08:01:00] * lenix- has joined #silverstripe
665: [08:01:03] * lenix quit (Read error: Connection reset by peer)
666: [08:02:05] * Guits quit (Quit: Leaving)
667: [08:03:03] * MrGuits quit (Read error: Connection reset by peer)
668: [08:03:18] * lerni has joined #silverstripe
669: [08:06:33] * micmania1 has joined #silverstripe
670: [08:09:12] * veb has joined #silverstripe
671: [08:29:46] * qlex has joined #silverstripe
672: [08:29:53] * qlex says hi
673: [08:31:12] <qlex> guys, im running 3.1.2 with googleanalytics-module (Julian Seidenberg's)
674: [08:31:40] <qlex> GA says that tracking code is installed, that everything is fine, but GA constantly shows 0 for all data - seems like its not receiving anythign from the site
675: [08:31:46] * arnhoe has joined #silverstripe
676: [08:31:57] <qlex> using the same ss+Ga module somwhere else, and no problems reported ?
677: [08:32:00] <qlex> what could be the reason ?
678: [08:36:50] <simon_w> Does the tracking stuff show up in the generated pages?
679: [08:40:59] <Zauberfisch> qlex: doesn't it take a couple of hours until google analytics starts to display statistics?
680: [08:42:31] <qlex> days has gone since that time
681: [08:43:04] <qlex> simon_w: yep, www.buswifi.pl
682: [08:44:04] * g4b0_ has joined #silverstripe
683: [08:44:10] <qlex> i hardcoded now the credentials into the config file, rather than using site config
684: [08:44:43] * g4b0_ quit (Client Quit)
685: [08:45:57] * g4b0_ has joined #silverstripe
686: [08:51:01] <qlex> would you suggest to copy and paste the tracking code directly into the ss template and wait for day to see if that helps ?
687: [08:51:30] <qlex> or, since the code appears in the page source, it wouldnt make any difference, and problem might lay somewhere else ?
688: [08:53:30] * bikeydz has joined #silverstripe
689: [08:53:36] <simon_w> [Error] ReferenceError: Can't find variable: _gaq
690: [08:53:36] <simon_w> global code (www.buswifi.pl, line 324)
691: [08:53:55] <simon_w> You want to turn off template location comments
692: [08:55:04] <Zauberfisch> qlex: couldn't be bothered to check your javascript console for errors? :P
693: [08:56:14] <Zauberfisch> google analaytics isn't working because you have errors in your javascript, and execution of the javascript stops before it loads the google analaytics
694: [08:56:20] <Zauberfisch> script
695: [08:58:27] * veb has joined #silverstripe
696: [08:58:33] <Zauberfisch> reason for the javascript errors is that you have SSViewer.source_file_comments: true and that puts those <!-- Template: _______.ss --> comments into anything that gets rendered with SSViewer. and it seems that the google analytics module uses SSViewer to render the javascript
697: [08:58:47] * Stomach has joined #silverstripe
698: [08:58:51] <Zauberfisch> qlex: so, quick fix is to set source_file_comments: false
699: [08:59:07] <Zauberfisch> qlex: but you should also report that bug to the module
700: [09:01:55] <qlex> Zauberfisch: DesignerX was doing the buswifi template - is the error in the tempalte or in the google analytics module ?
701: [09:02:02] <qlex> sorry, was on the phone there and reading it now
702: [09:02:25] * stnvh has joined #silverstripe
703: [09:03:30] <qlex> im adding SSViewer::set_source_file_comments(false); to config and see what happens
704: [09:04:03] <bikeydz> Hi, I am wondering how to remove cms validator when unpublishing or deleting a page
705: [09:08:24] * Pyletsdancek has joined #silverstripe
706: [09:08:31] <Pyletsdancek> put on your red shoes
707: [09:09:12] <wmk> Pyletsdancek, why? tomato sauce to the scrumbled eggs?
708: [09:09:30] <wmk> or are you responsible for the drupal hack?
709: [09:09:46] <simon_w> That's a hilarious bug
710: [09:09:51] <simon_w> One line change
711: [09:09:51] <Pyletsdancek> to the song they're playing on the radio
712: [09:10:09] <Pyletsdancek> www.youtube.com/watch?v=N4d7Wp9kKjA
713: [09:10:31] <wmk> i just wonder... why don't you sanitize everything before you put it to db?
714: [09:11:17] <Pyletsdancek> wmk: no, today I didn't feel like spending £3 in the cafe this morning, so instead I went to the supermarket and spent £7.60 on breakfast.
715: [09:11:26] <Pyletsdancek> doh :<
716: [09:11:29] <Pyletsdancek> oh well.
717: [09:11:35] <wmk> makes sense Pyletsdancek
718: [09:11:51] <Pyletsdancek> fruits & smoothies instead of bacon
719: [09:11:56] <qlex> hmmm, template comments are still shown, even if i added SSViewer::set_source_file_comments(false);
720: [09:12:00] <qlex> to config.ph
721: [09:12:02] <qlex> p
722: [09:12:10] <Pyletsdancek> wmk: simon_w, what is this drupal business?
723: [09:12:31] <simon_w> Pyletsdancek, https://www.drupal.org/SA-CORE-2014-005
724: [09:12:44] <simon_w> Basically, you can own any Drupal 7 site
725: [09:12:59] <wmk> at least the non updated ones.
726: [09:13:11] * Robke has joined #silverstripe
727: [09:13:12] <wmk> and it seems hacked sites updated themselves
728: [09:13:20] <Robke> hello :)
729: [09:13:52] <wmk> simon_w, could this be possible with silverstripe also?
730: [09:14:05] * veb quit (Read error: Connection reset by peer)
731: [09:14:09] <Pyletsdancek> simon_w: LOL, THAT FIX!!!!! HAHAHAHAHAHA
732: [09:14:09] <Pyletsdancek> https://www.drupal.org/files/issues/SA-CORE-2014-005-D7.patch
733: [09:14:10] <simon_w> wmk, if someone does something stupid like that, yes
734: [09:14:14] <simon_w> Pyletsdancek, I know
735: [09:14:19] <wmk> afaik if you use request object it shouldn't?
736: [09:14:29] * veb has joined #silverstripe
737: [09:14:55] <Pyletsdancek> wmk: it's possible if someone writes their own db abstraction like that, yeah.
738: [09:15:11] <Pyletsdancek> ie, and takes input like that straight into the db
739: [09:15:30] <simon_w> wmk, if you don't pass user input to raw SQL segments (mostly, DataList::where)
740: [09:15:37] <Pyletsdancek> omg, the most anemic looking kiwifruit I've ever seen :<
741: [09:15:41] <Pyletsdancek> It's pretty much f'n white!
742: [09:15:46] <Pyletsdancek> D:
743: [09:16:05] <Pyletsdancek> urgh, tastes bland and crap too :(
744: [09:16:24] <Pyletsdancek> zespri hayward, where are you?
745: [09:16:41] <wmk> just array_values($data) instead of $data ??? WTF!
746: [09:16:54] <Pyletsdancek> wmk: basically if you pass keys in...
747: [09:17:05] <Pyletsdancek> they were relying on input being numeric arrayed
748: [09:17:26] <wmk> http://ptrace.fefe.de/fpalm30c3.jpg
749: [09:17:34] <Pyletsdancek> mmhmm
750: [09:17:52] * Eliseth quit (Quit: Textual IRC Client: www.textualapp.com)
751: [09:17:54] <Pyletsdancek> oh wow lol, nice pic!
752: [09:20:16] <g4b0_> does framework/dev and framework/tests are needed for a production site?
753: [09:20:24] <Pyletsdancek> yes
754: [09:20:27] <Pyletsdancek> first one yes
755: [09:20:32] <Pyletsdancek> HOW WILL YOU BUILD OTHERWISE?
756: [09:20:59] <wmk> g4b0_, not enough space???
757: [09:21:08] <g4b0_> nope
758: [09:21:17] <g4b0_> I'm getting this: ERROR [Strict Notice]: Declaration of SapphireTest::assertNotContains() should be compatible with PHPUnit_Framework_Assert::assertNotContains($needle, $haystack, $message = '', $ignoreCase = false, $checkForObjectIdentity = true, $checkForNonObjectIdentity = false)
759: [09:21:36] <simon_w> g4b0_, upgrade
760: [09:21:38] <g4b0_> Line 12 in /wheezy-chroot/home/g4b0/Develop/EdilClima/framework/dev/SapphireTest.php
761: [09:21:40] <Pyletsdancek> ^
762: [09:21:44] <wmk> you have the wrong phpunit version (a too new version) installed?
763: [09:21:54] <g4b0_> mmm
764: [09:22:04] <wmk> phpunit -v
765: [09:22:34] <g4b0_> version 4.2.6
766: [09:22:55] <simon_w> g4b0_, upgrade. That has been fixed for some time now.
767: [09:23:17] <g4b0_> simon_w: I'm tacking a backup copy before upgrading :)
768: [09:23:59] <g4b0_> I'm running version 3.1.5
769: [09:24:07] <g4b0_> do I need to upgrade to 3.1.6?
770: [09:24:43] * spronk2 has joined #silverstripe
771: [09:26:46] * spronk2 quit (Client Quit)
772: [09:27:48] * spronk2 has joined #silverstripe
773: [09:32:25] <Pyletsdancek> yes
774: [09:32:47] * Stomach quit (Quit: zzz)
775: [09:36:53] <simon_w> Oh for fucks sake
776: [09:37:17] <simon_w> if($this->request->getVar('flush')) $cache->clean(Zend_Cache::CLEANING_MODE_ALL);
777: [09:37:29] <simon_w> Only way to update allowed_children, flush=1 on the add page
778: [09:37:38] <simon_w> Not just ?flush, like everywhere else
779: [09:37:53] <Pyletsdancek> consistencey!
780: [09:38:05] <Pyletsdancek> I always param, because I notice inconsistencys too :<
781: [09:38:56] <Pyletsdancek> so NG people seem to reckon
782: [09:38:59] <Pyletsdancek> hmm
783: [09:39:01] <Pyletsdancek> idk
784: [09:39:06] <Pyletsdancek> to ng or not to ng
785: [09:41:44] <Pyletsdancek> wait no way, when the fuck did irssi change logo?! D:
786: [09:44:12] * kinglozzer has joined #silverstripe
787: [09:44:27] <kinglozzer> [22:37:38] <simon_w> Not just ?flush, like everywhere else
788: [09:44:34] <kinglozzer> simon_w: FYI that's changing as of 3.1.7
789: [09:44:42] <kinglozzer> You'll love it ;)
790: [09:44:47] <simon_w> kinglozzer, what, you're forcing flush=1?
791: [09:44:53] <kinglozzer> ME?! D:
792: [09:45:20] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/pull/3393#issuecomment-57182792
793: [09:47:49] * simon_w goes and fixes that
794: [09:48:07] * jcwacky has left #silverstripe
795: [09:49:14] <Pyletsdancek> D: google can't find me the old logo
796: [09:52:06] <Pyletsdancek> kinglozzer: " I appreciate the docs have never explicitly said that this will work" - change the docs!
797: [09:53:40] <kinglozzer> Pyletsdancek: NO U!
798: [09:56:02] <g4b0_> I've got an issue about versioning
799: [09:56:10] <g4b0_> http://pastebin.com/kicZCygn
800: [09:56:37] <g4b0_> the problem is all that "*"
801: [09:56:45] <g4b0_> if I proceed with a
802: [09:56:49] <g4b0_> composer update
803: [09:56:58] <g4b0_> everithing will be updated
804: [09:57:05] <g4b0_> *everything
805: [09:57:17] <simon_w> g4b0_, shouldn't use *, ever
806: [09:57:25] <g4b0_> I know...
807: [09:57:33] <g4b0_> but now I have to fix
808: [09:58:09] <g4b0_> how can I know which version of each module is actually running?
809: [09:58:12] <Pyletsdancek> g4b0_: this is why we composer.lock?
810: [09:58:29] <g4b0_> ??
811: [09:58:34] * bikeydz quit (Ping timeout: 246 seconds)
812: [09:58:57] <Pyletsdancek> when you composer install a project (reading from your composer.json) it generates a composer.lock - exactly for this reason.
813: [09:59:07] <Pyletsdancek> you're not supposed to composer update in live.
814: [09:59:17] <Pyletsdancek> you composer install, or something like that
815: [09:59:31] <Pyletsdancek> (i forget actual terms because I don't composer because I'm a heretic or something)
816: [10:00:27] <Pyletsdancek> the idea is kinda the same behind vagrant.
817: [10:00:39] * lerni quit ()
818: [10:00:40] <Pyletsdancek> prod. matches dev. Same versions of all the things
819: [10:01:47] <Pyletsdancek> ffffffffffffff virtualbox crashed and now it's fucked
820: [10:02:19] * Pyletsdancek quit (Quit: ffffffffffffffff)
821: [10:12:17] * markcl1 has joined #silverstripe
822: [10:13:33] <simon_w> kinglozzer, oh good, tests passed
823: [10:15:17] * markcl quit (Ping timeout: 245 seconds)
824: [10:18:20] <kinglozzer> simon_w: ty for that, I'd forgotten about it - should've made it a separate issue!
825: [10:20:55] * UncleCheese has joined #silverstripe
826: [10:21:08] * Eliseth has joined #silverstripe
827: [10:30:51] * Liquide has joined #silverstripe
828: [10:32:20] <g4b0_> why does silverstripe/widgets module does not have a versioning?
829: [10:33:28] * Otterpocket has joined #silverstripe
830: [10:33:28] * kinglozzer quit ()
831: [10:34:25] <Otterpocket> What is the best way to add a custom class to the class attribute in a TextField?
832: [10:35:01] <Colin[pi]> Otterpocket: $field->addExtraClass('foobar')
833: [10:38:40] <Otterpocket> So I guess I will have to save my new DropdownField() first then
834: [10:40:46] * Alboes has joined #silverstripe
835: [10:41:35] <Alboes> hi. I want to get pages bij parentID, this works: $pages = DataObject::get('Page', "parentID=46"); but...
836: [10:42:58] <Alboes> id 46 is a parent with the default language (de_DE), but if I ask for parentID 47 which has the language en_US it doesn't work
837: [10:43:05] <Alboes> any idea?
838: [10:46:33] * Pylsk has joined #silverstripe
839: [10:46:59] * spronk2 quit (Quit: I may need a longer sleep timer...)
840: [10:47:17] * spronk2 has joined #silverstripe
841: [10:50:37] * micmania1 quit (Read error: Connection reset by peer)
842: [10:52:29] * r_hector quit (Quit: Leaving.)
843: [10:52:53] * simon_w|air has joined #silverstripe
844: [10:54:26] <Alboes> nobody here knows the answer to my question?
845: [10:56:56] <Pylsk> I might, if I know what your question is
846: [10:58:16] <Pylsk> http://logs.simon.geek.nz/index.php?date=2014-10-30#log_1476390
847: [10:58:19] <Pylsk> this is wrong.
848: [10:58:27] <Pylsk> Never do this.
849: [10:59:17] <Pylsk> Page::get()->filter('ParentID', $id)
850: [11:00:58] <Pylsk> Translatable::set_get_langauge (or something like that) can change your query to en_us rather than de_de
851: [11:02:29] <Pylsk> Alboes: https://github.com/silverstripe/silverstripe-translatable/blob/master/docs/en/index.md#usage-1
852: [11:03:22] * spronk2 quit (Quit: I may need a longer sleep timer...)
853: [11:05:58] <Alboes> Thanks. Now I try: Page::get()->filter('ParentID', 46)->getTranslation('de_DE'); but still doesn't work
854: [11:06:19] <Alboes> Page::get()->filter('ParentID', 46)->getTranslation('en_US'); i mean
855: [11:06:41] <Pylsk> because you're getting a list, not a single page.
856: [11:06:56] <Pylsk> maybe
857: [11:06:59] <Pylsk> idk.
858: [11:09:42] <Pylsk> depends on how getTranslation works, and what it's applied to
859: [11:10:32] <Alboes> well, I don't understand why I can't get the list direct by parent id
860: [11:11:56] * simon_w|air quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
861: [11:12:39] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
862: [11:14:16] <Pylsk> FULL MAD
863: [11:14:17] <Pylsk> https://pbs.twimg.com/media/B1K_0kVCAAA3PuI.png:large
864: [11:14:33] * Werner_2_ has joined #silverstripe
865: [11:14:36] <Pylsk> Alboes: are you ON the parent page, by chance?
866: [11:14:49] * wmk quit (Read error: No route to host)
867: [11:14:59] <Pylsk> because just ->Children()->getTranslation()
868: [11:15:00] <Alboes> no
869: [11:15:04] <Pylsk> ok
870: [11:15:05] <Pylsk> well
871: [11:15:16] <Pylsk> it also probably depends on how you've created your translation site
872: [11:15:27] <Alboes> okay
873: [11:15:39] <Pylsk> if you translated each page in the default language site tree, then they'll have links linking them to translated pages.
874: [11:16:17] <Pylsk> if you did one (like the home page) then created new pages once editing the new language site tree, then they'll all be separate pages, despite being laid out in the same structure.
875: [11:16:35] <Pylsk> different langauge sites don't have to be 1:1 copies.
876: [11:17:12] <Pylsk> does that make sense?
877: [11:17:23] <Pylsk> Werner_2_: does this sound right?
878: [11:17:25] <Pylsk> I am unsure.
879: [11:17:31] <Pylsk> seems logical to me though
880: [11:17:49] <Alboes> well, I will try and find out. I'm a beginner, so I have to learn :)
881: [11:18:17] <Pylsk> yes, I think you need to edit the default site tree, right click the pages (or go into them) and then see the translations tab.
882: [11:18:38] <Pylsk> if you create a translated copy of a page from there, then it should have associations to make getTranslation() work.
883: [11:19:21] <Pylsk> but if you rebuild the site structure once you've got say a US tree, then those US pages will be all separate and no link will exist between them and their corresponding Deutsch pages.
884: [11:20:07] <Alboes> yes, that's clear
885: [11:21:01] <Alboes> but it's already build, it's a lot of work to rebuild
886: [11:21:45] <Pylsk> Alboes: well, you could edit the db directly
887: [11:21:53] <Pylsk> or there may be a tool in the cms to link them up
888: [11:22:07] <Pylsk> but I don't think so (but I never use Translatable, so am unsure - best check first)
889: [11:22:22] <Pylsk> editing the db directly is probably the best idea
890: [11:22:33] <Pylsk> the SiteTree table. :)
891: [11:26:11] <Pylsk> it'll take a bit of doing, but far less work than re-building your site Alboes
892: [11:28:32] <Alboes> Pylsk: thanks a lot! But now I found an other solution: direct by a sql query... DB::query
893: [11:30:38] <Pylsk> worst solution ever :(
894: [11:31:01] * qlex1 has joined #silverstripe
895: [11:31:16] <Pylsk> I think the way you have your site set up will make that hard if things get edited.
896: [11:31:27] <Pylsk> but if it works it works for now.
897: [11:33:34] <Alboes> yes you are right, but for now I have to make it work.
898: [11:33:59] * qlex quit (Ping timeout: 245 seconds)
899: [11:34:53] * g4b0_ quit (Ping timeout: 265 seconds)
900: [11:58:00] * spronk2 has joined #silverstripe
901: [12:00:30] * Colin[pi] quit (Ping timeout: 265 seconds)
902: [12:06:17] * spronk2 quit (Quit: I may need a longer sleep timer...)
903: [12:06:36] * spronk2 has joined #silverstripe
904: [12:08:25] * UndefinedOffset has joined #silverstripe
905: [12:13:53] * spronk2 quit (Quit: I may need a longer sleep timer...)
906: [12:14:12] * spronk2 has joined #silverstripe
907: [12:20:31] * qlex1 quit (Quit: Leaving.)
908: [12:20:49] * spronk2 quit (Quit: I may need a longer sleep timer...)
909: [12:25:08] <Werner_2_> Pylsk, ?
910: [12:25:10] * Werner_2_ is now known as wmk
911: [12:26:47] * LoveDuckie has joined #silverstripe
912: [12:38:41] * CodeTrap has joined #silverstripe
913: [12:38:56] <Pylsk> wmk: ah, just asking if it's possible to retrofit translated pages with a 'parent' page (the 'non' translated version)
914: [12:39:31] <wmk> manually, yes
915: [12:39:46] <wmk> but you should translate the parent first
916: [12:39:53] <wmk> it's easier and less headache
917: [12:39:56] <Pylsk> wmk: yeah, but it was an existing site.
918: [12:40:11] <Pylsk> chappy went to DB::query() in the end :<
919: [12:40:14] <wmk> translate parent page, goto english section, move page
920: [12:40:30] <wmk> chappy is a kind of dog food over here
921: [12:41:23] <Pylsk> haha
922: [12:41:32] <Pylsk> 'chap' is a generic term for 'fella'
923: [12:41:43] <Pylsk> xP
924: [12:41:46] <Pylsk> (man)
925: [12:42:18] <Pylsk> not so commonly used though.
926: [12:42:49] <wmk> well, the dog is men's best chap, so it makes sense
927: [12:43:04] <Pylsk> haha
928: [12:43:06] <wmk> Pylsk, https://www.youtube.com/watch?v=gP_S-1-bf_c (if you also have too much phantasy)
929: [12:43:16] <Pylsk> maybe it's just full of old chaps, cheap meat!
930: [12:43:23] * Azure quit (Ping timeout: 240 seconds)
931: [12:44:22] <Pylsk> hahaha, wtf.
932: [12:44:32] <Pylsk> I'm sure it'd be much funnier if I understood :<
933: [12:44:36] <Pylsk> but it was still pretty good
934: [12:44:38] <Pylsk> :D
935: [12:44:44] <wmk> well, some figures are a bit german only
936: [12:45:10] <wmk> diddl mouse, https://www.google.at/search?q=diddl+maus&client=firefox-a&hs=lwq&rls=org.mozilla:de:official&channel=sb&tbm=isch&tbo=u&source=univ&sa=X&ei=yjJSVLelEtHpaJHTgugP&ved=0CDEQsAQ&biw=1600&bih=775
937: [12:45:11] <Pylsk> mm
938: [12:45:16] <Pylsk> LOL
939: [12:45:28] <wmk> rainer kalmund https://www.google.at/search?q=diddl+maus&client=firefox-a&hs=lwq&rls=org.mozilla:de:official&channel=sb&tbm=isch&tbo=u&source=univ&sa=X&ei=yjJSVLelEtHpaJHTgugP&ved=0CDEQsAQ&biw=1600&bih=775#rls=org.mozilla:de:official&channel=sb&tbm=isch&q=rainer+kalmund
940: [12:45:36] <Pylsk> diddle is a child's term for...
941: [12:45:39] <Pylsk> well, penis.
942: [12:45:45] <wmk> OMFG
943: [12:46:59] <Pylsk> it can also be a sly way of describing inappropriate antics between adults (still not a good term though I guess), eg "Turns out the boss is diddling his secretary"
944: [12:47:20] <wmk> well, i guess THAT is the big arrow in the clip... first and last...
945: [12:47:49] * wmk diddls the mouse
946: [12:48:07] <Pylsk> lol
947: [12:48:17] <Pylsk> (that would mean to have sex with the mouse)
948: [12:49:09] * Azure has joined #silverstripe
949: [12:49:31] <wmk> dictionary translates in a way like to cheat, swindle, betray someone
950: [12:49:36] <wmk> which is kind the same
951: [12:54:43] * Alboes quit (Remote host closed the connection)
952: [12:57:12] * Fuxo has joined #silverstripe
953: [13:06:12] * hailwood has joined #silverstripe
954: [13:22:17] * g4b0_ has joined #silverstripe
955: [13:31:04] * CodeTrap1 has joined #silverstripe
956: [13:31:31] * CodeTrap quit (Remote host closed the connection)
957: [13:34:12] * catcher has joined #silverstripe
958: [13:35:55] * cupcake has joined #silverstripe
959: [13:38:16] <cupcake> any modeladmin expert??
960: [13:40:29] <cupcake> how do u order tabs in modeladmin?
961: [13:40:43] <cupcake> how can i removecomponents from the gridfields within each tab?
962: [13:41:54] <catcher> cupcake, you can configure your gridfields by overriding getEditForm in the admin class
963: [13:42:51] <catcher> $form = parent::getEditForm($id, $fields); then $form->Fields()->fieldByName('yourGF') or whatever
964: [13:43:35] <catcher> If you're managing multiple models in 1 admin, you may need to wrap the field getter in a conditional to prevent errors on the other model.
965: [13:54:12] <cupcake> catcher: what do you mean wrap the field getter in a conditional
966: [13:55:57] <catcher> if($myField = $form->Fields()->fieldByName('yourField'){
967: [13:56:36] <catcher> The getter will fail if another managed model doesn't have the field.
968: [14:01:56] <cupcake> cheers mate
969: [14:02:10] <cupcake> ordering can be done in the geteditform function too?
970: [14:08:16] <catcher> cupcake, just change the order of the managed_models.
971: [14:14:58] <cupcake> they are in a specific order
972: [14:15:05] <cupcake> but its ordering as he wishes :)
973: [14:15:51] <catcher> cupcake, /dev/build
974: [14:16:03] <Pylsk> cupcake: you order the tabs by defining them in the order you want them.
975: [14:16:06] <Pylsk> that's easiest
976: [14:17:59] * muskie9 has joined #silverstripe
977: [14:22:14] <wmk> "what's the dragon doing here?" -- "it's an elephant"
978: [14:36:41] <Marvanni> How do you check inside a Controller::MyFormMethod if the method is called from a template or if its is called in a form submission?
979: [14:38:16] <wmk> Marvanni, a form submission sends data.
980: [14:38:31] <wmk> why should you want the same method from template or form submission?
981: [14:38:35] <Pylsk> check params
982: [14:38:38] <Marvanni> no
983: [14:38:50] <Pylsk> public function Form($request=null)
984: [14:38:56] <Marvanni> before the submitMyForm is called, first MyForm is calles
985: [14:39:00] <Pylsk> if($request) // came from submission
986: [14:39:32] <Marvanni> ah, yest that might work... forgot you can put request nog only in controller actions...
987: [14:39:33] <Pylsk> I've done it a few times, it gets a bit messy though. I'm not sure if I'd recommend it :<
988: [14:39:34] <Marvanni> theans.
989: [14:39:51] <Marvanni> it looks better then count($_POST)
990: [14:40:14] <Pylsk> quite.
991: [14:40:30] <Pylsk> could be posting to a second unrelated form if that's the case :P
992: [14:42:28] <Marvanni> nah... I think this should do the trick :
993: [14:42:30] <Marvanni> if($this->request->isGET())
994: [14:45:17] * wmk quit (Ping timeout: 245 seconds)
995: [14:50:20] * jcwacky has joined #silverstripe
996: [14:50:56] <jcwacky> Best solution for a basic website search facility in SilverStripe these days? Fulltext? Lucene?
997: [14:52:45] <catcher> jcwacky, google cse :-P
998: [14:52:47] <Pylsk> basic? fulltext. It'll be shit, but it's a search.
999: [14:52:57] <Pylsk> well, it'll be shit if you're using mysql
1000: [14:53:25] <jcwacky> Thoughts on Lucene?
1001: [14:53:41] <jcwacky> I used it a couple of years ago, seemed as easy to setup as Fulltext but more relevant results.
1002: [14:54:09] <jcwacky> Should I be considering Goolge CSE?
1003: [15:00:39] * g4b0_ quit (Ping timeout: 245 seconds)
1004: [15:01:58] <catcher> jcwacky, google's pretty good at searching. My clients are happy with it.
1005: [15:02:32] <jcwacky> catcher: Are you using the Free or Paid version? Got a URL I can take a look at?
1006: [15:02:35] <catcher> It can get expensive for bigger sites, that's about the only drawback. Free for small ones though.
1007: [15:04:40] * Fuxo quit (Quit: Leaving)
1008: [15:11:46] <catcher> jcwacky, it's just a search box in the header, and a results page generated by google w/ ajax
1009: [15:12:15] * ThePeach has joined #silverstripe
1010: [15:12:31] <catcher> jcwacky, the free version provides enough searches for most of my clients. I have a couple that need paid versions, all the way up to the top tier.
1011: [15:12:42] <catcher> It just supports more searches per period though.
1012: [15:15:20] <jcwacky> Ok thanks, I’ll have anaother play with it!
1013: [15:16:39] <cupcake> catcher: dev build didnt work
1014: [15:16:43] * Robke quit (Ping timeout: 246 seconds)
1015: [15:16:46] <cupcake> i still see them in a haphazard order
1016: [15:20:32] <catcher> cupcake, please post the admin code
1017: [15:26:07] <Pylsk> rearrange your definitions
1018: [15:26:12] * Pylsk shrugs
1019: [15:30:01] * g4b0_ has joined #silverstripe
1020: [15:30:16] <catcher> Who does sspaste.com belong to again?
1021: [15:30:36] <cupcake> ok figured it out
1022: [15:31:08] <catcher> Was it something other than reordering $managed_models?
1023: [15:31:45] <cupcake> i had 6 models
1024: [15:31:56] <cupcake> and 4 of them had a custom title
1025: [15:32:06] <cupcake> the other two hadnt
1026: [15:32:12] <cupcake> and they were the first
1027: [15:32:21] <cupcake> so they were being placed last
1028: [15:32:35] <cupcake> since priority was given to those which had a custom title set
1029: [15:35:12] <cupcake> but i have another question on gridfields
1030: [15:35:17] <cupcake> in the model admin
1031: [15:36:51] <cupcake> i have a gridfield which i want to show the view button... thats fine i managed... i removed editbutton,deletebutton and added the view button... the dataobject being displayed in this gridfield has many_many relationship... but i want to allow view edit delete actions on this many_many relationship... but with the viewbutton i dont even get to see the many_many relationship gridfield... any workaround?
1032: [15:40:39] * jenniferaslan has joined #silverstripe
1033: [15:42:40] * arnhoe quit ()
1034: [15:43:06] <catcher> cupcake, if you keep the edit button, you'll be able to edit the relationships.
1035: [15:43:11] <catcher> unless I'm misunderstanding the question.
1036: [15:43:37] <cupcake> its a bit complex to explain hehe
1037: [15:43:49] <cupcake> i have a dataobject which i want users to view its content
1038: [15:44:05] <cupcake> and be able to edit the contents of its relationship
1039: [15:44:09] <cupcake> and not its content
1040: [15:44:14] <cupcake> maybe that is simplete
1041: [15:44:17] <cupcake> *simpler
1042: [15:45:24] <catcher> cupcake, override canEdit on the first class to return false accordingly
1043: [15:45:29] <catcher> and keep the edit button
1044: [15:45:54] <catcher> I haven't tried that, but I think it'd work.
1045: [15:46:51] <cupcake> hmm
1046: [15:46:55] <cupcake> i will try that thanks ;)
1047: [15:53:47] * Eliseth quit (Quit: Textual IRC Client: www.textualapp.com)
1048: [15:59:55] * Colin[pi] has joined #silverstripe
1049: [16:08:08] <Pylsk> cupcake: I'm not convinced you understand modeladmin properly :(
1050: [16:09:19] <Pylsk> hmm, although reading your reword it doesn't sound quite so bad.
1051: [16:31:00] <Pylsk> aww fuckit
1052: [16:31:02] * Pylsk quit ()
1053: [16:57:00] * stnvh quit (Quit: sleepy)
1054: [16:57:19] * g4b0_ quit (Quit: Sto andando via)
1055: [17:00:48] * Guits has joined #silverstripe
1056: [17:05:18] * Guits quit (Ping timeout: 272 seconds)
1057: [17:11:06] * muskie9 is now known as _muskie9_
1058: [17:11:10] * cupcake quit (Ping timeout: 246 seconds)
1059: [17:28:46] * Otterpocket quit (Quit: WeeChat 0.4.1)
1060: [17:41:36] * _muskie9_ is now known as muskie9
1061: [17:53:25] * muskie9 is now known as _muskie9_
1062: [17:56:32] * CodeTrap1 quit (Remote host closed the connection)
1063: [18:03:45] * veb has joined #silverstripe
1064: [18:05:28] * _muskie9_ is now known as muskie9
1065: [18:17:54] * PapaBearNZ quit (Read error: Connection reset by peer)
1066: [18:20:05] * PapaBearNZ has joined #silverstripe
1067: [18:23:45] * ThePeach quit (Quit: leaving)
1068: [18:52:39] * gelignite has joined #silverstripe
1069: [19:03:49] * Stomach has joined #silverstripe
1070: [19:04:38] * Kingy[a] is now known as Kingy
1071: [19:04:45] <Kingy> moin moin
1072: [19:04:49] * muskie9_ has joined #silverstripe
1073: [19:06:20] * muskie9 quit (Ping timeout: 256 seconds)
1074: [19:14:05] <Stomach> hey Kingy
1075: [19:15:09] <Kingy> tis friday Stomach :)
1076: [19:15:16] <Stomach> awwww yisss
1077: [19:19:32] <Kingy> well this bahrain thing is really happening
1078: [19:19:43] <Kingy> formal offer of job has come through lol
1079: [19:19:56] * muskie9_ quit (Quit: Textual IRC Client: www.textualapp.com)
1080: [19:20:07] * antmas has joined #silverstripe
1081: [19:20:18] <Kingy> pretty hundy
1082: [19:20:25] <antmas> mernin
1083: [19:20:38] <Kingy> salary + housing allowance + flights over + flights back + 1 return flight per year
1084: [19:21:02] <Kingy> hey antmas
1085: [19:21:18] <antmas> Kingy: what's that for? &^^^^
1086: [19:21:30] <Kingy> gf got formal offer for bahrain
1087: [19:21:55] * muskie9 has joined #silverstripe
1088: [19:21:55] <antmas> that's a pretty good offer
1089: [19:22:01] <Kingy> yeah
1090: [19:22:06] <Kingy> salary is a little low
1091: [19:22:21] <Kingy> 45k NZD but is 100% tax free
1092: [19:22:32] <Kingy> so it works out to be like 60k
1093: [19:23:04] <Kingy> and the equivalent of $400NZD weekly housing allowance
1094: [19:26:57] * Stomach_ has joined #silverstripe
1095: [19:29:45] * Stomach quit (Ping timeout: 255 seconds)
1096: [19:32:13] * tsbdeveloperadmi quit (Quit: leaving)
1097: [19:32:29] * jedateach has joined #silverstripe
1098: [19:34:16] <antmas> Kingy: that's pretty good, I mean. You could save a LOT given the housing allowance
1099: [19:34:45] <Kingy> antmas: yeah exactly. and if I get a job and match that income we'll be away laughing
1100: [19:35:36] <antmas> Pretty much!
1101: [19:35:45] <antmas> it would be like military savings :P
1102: [19:37:30] <antmas> oh god steam sales
1103: [19:37:39] <Kingy> oh shit
1104: [19:38:49] <Kingy> antmas: any of those games good?
1105: [19:39:14] <antmas> yeah
1106: [19:39:31] <antmas> lol New Vegas for like $6
1107: [19:40:19] <Kingy> k ill get that
1108: [19:40:46] <antmas> Amnesia is good but heart attack material
1109: [19:40:56] <antmas> same with Outlast
1110: [19:42:19] <Kingy> alan wake wasn't bad
1111: [19:45:48] <antmas> must... not... purchase... games
1112: [19:47:14] <antmas> Kingy: when would you leave for bahrain?
1113: [19:47:25] <Kingy> school term starts jan 5th lol
1114: [19:47:35] <Kingy> got a holiday in aus over xmas too
1115: [19:47:49] <mudmonth> is there a silverstripe security mailing list
1116: [19:47:57] <mudmonth> just so i get updates if i need to patch
1117: [19:48:02] <Kingy> i'll more than likely be here until early feb though
1118: [19:48:07] <Kingy> can't lose out on dat bonus
1119: [19:48:25] <antmas> awww yeah bonuses
1120: [19:48:32] <antmas> we get ours in Dec :D
1121: [19:48:57] <Kingy> yeah we're just about to start doing reviews now
1122: [19:49:07] <antmas> our review sheets are so dumb
1123: [19:49:08] <Kingy> i mean it could come dec pay but usually jab
1124: [19:49:10] <Kingy> jan*
1125: [19:49:27] <Kingy> antmas: we've just gone into the 'cloud' with ours
1126: [19:49:41] <antmas> like we have a performance grading on how well we did with 'Health and Safety'
1127: [19:49:49] <Kingy> rofl
1128: [19:49:56] * antmas put he did 'Exceptionally Well and was super healthy'
1129: [19:50:02] <antmas> no joke
1130: [19:50:20] <Kingy> ours are done like 20% on company values and 80% on development goals
1131: [19:50:27] <Kingy> yay values
1132: [19:51:46] <Stomach_> ours are all on how awesome I am
1133: [19:52:02] <Stomach_> I usually don't get a pay rise :(
1134: [19:52:23] <Kingy> yeah we get a grade of 1-5
1135: [19:52:29] <Kingy> company gets graded 1-5
1136: [19:52:38] <Kingy> add those 2 together and that's the % of the bonus we get
1137: [19:52:53] <Kingy> so basically get 100% is impossible
1138: [19:56:45] <antmas> yeah ours is weird
1139: [19:56:55] <antmas> we all start on 90% of our salary band
1140: [19:57:10] <antmas> a good payrise would be like 3% extra each year
1141: [19:57:16] <antmas> and you can go as high as 130%
1142: [19:57:23] <antmas> "logic"
1143: [19:57:52] <Kingy> :S
1144: [19:58:10] <Kingy> I should just ask for an outrageous pay rise
1145: [19:58:17] <Kingy> if they say no hand in my resignation
1146: [19:58:25] <antmas> BOOM
1147: [19:58:37] * UncleCheese has joined #silverstripe
1148: [19:58:42] <Kingy> if they say yes, then i guess gf and i will need to have a conversation
1149: [19:58:43] <Kingy> lol
1150: [19:58:46] <antmas> I had a friend do that and lied saying he had an offer at a rediculous pay rate
1151: [19:58:52] <Kingy> rofl
1152: [19:59:09] <antmas> his employer freaked out and matched it
1153: [19:59:12] <antmas> score!
1154: [19:59:23] <Kingy> oh god lo
1155: [19:59:36] <Kingy> if i stayed in this job for another 18 months i could probably do that
1156: [19:59:40] <Kingy> power of being a sole dev i guess
1157: [19:59:59] <antmas> yeah same here kinda
1158: [20:03:21] <antmas> anyone doing movember?
1159: [20:03:33] <Kingy> would if i could
1160: [20:03:33] <Kingy> :P
1161: [20:03:48] <Stomach_> nope
1162: [20:03:58] <Stomach_> no way am i shaving off my beard
1163: [20:04:03] * UndefinedOffset quit (Quit: Leaving.)
1164: [20:04:21] <antmas> I can grow a mean cop slug, but I do look super pedo
1165: [20:05:06] * Pyromanik has joined #silverstripe
1166: [20:05:24] <Kingy> I've never left it for a month to find out what happens
1167: [20:05:38] <Kingy> a week to 10 days i've just got random fuzz
1168: [20:05:41] <Kingy> gf gets pissed so i shave lol
1169: [20:05:49] <antmas> just don't feed it after midnight
1170: [20:05:57] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1171: [20:06:51] <antmas> anyone know if it's possible to ban comicsans from peoples machines using AD?
1172: [20:07:23] <Kingy> dude why would u ban that
1173: [20:07:23] <Kingy> lol
1174: [20:09:25] <Stomach_> cant you just delete it from the font directory?
1175: [20:13:24] <Kingy> I say encourage the use
1176: [20:25:25] * Ryan-Toast has joined #silverstripe
1177: [20:25:35] * hailwood quit (Ping timeout: 265 seconds)
1178: [20:29:48] <Ryan-Toast> simon_w: the irc log is being trawled by spammers
1179: [20:30:37] <antmas> Stomach_: at AD level?
1180: [20:30:44] <Ryan-Toast> Also, any of you Auckland kids want my Job next year? Will be hiring resonably early.
1181: [20:31:07] <antmas> Kingy: :P don't really care if I see it, but I've noticed some users using it in email sigs that go to the public :|
1182: [20:31:29] <antmas> Ryan-Toast: I know someone looking
1183: [20:31:39] <Ryan-Toast> antmas: do they have a website?
1184: [20:31:39] <antmas> Ryan-Toast: pm me pay rate ?
1185: [20:31:50] <Ryan-Toast> antmas: lemme see dat portfolio first :P
1186: [20:32:03] <antmas> Ryan-Toast: Pretty sure he does - lemme check
1187: [20:34:22] <antmas> ah wait, he just go hired
1188: [20:34:26] <antmas> Ryan-Toast: nvm
1189: [20:35:08] * novaweb has joined #silverstripe
1190: [20:35:30] <Ryan-Toast> antmas: lol, kk
1191: [20:35:39] <Ryan-Toast> antmas: pay is good. Like real good.
1192: [20:35:46] <antmas> Ryan-Toast: nice
1193: [20:36:01] <Ryan-Toast> antmas: maybe you should move to a real city.
1194: [20:36:16] <antmas> if I had my shit together I'd apply, but I'm likely to head to zero and do the .nets
1195: [20:36:21] <antmas> xero*
1196: [20:36:53] <Ryan-Toast> antmas: I know a few people there if you’d like me to give thema buzz.
1197: [20:37:19] <antmas> Ryan-Toast: aucks?
1198: [20:37:26] <Ryan-Toast> antmas: Welly
1199: [20:37:29] <antmas> won't be till late next year either way
1200: [20:37:32] <antmas> Ryan-Toast: nice
1201: [20:37:35] * hailwood has joined #silverstripe
1202: [20:37:38] * spekulatius has joined #silverstripe
1203: [20:37:49] <Ryan-Toast> antmas: And Auckland. I used to work for a giant .NET company.
1204: [20:37:57] <Ryan-Toast> Well C# company.
1205: [20:38:10] * LoveDuckie quit (Remote host closed the connection)
1206: [20:38:19] <Kingy> Ryan-Toast: I'll work remote from bahrain?
1207: [20:38:20] <Kingy> :P
1208: [20:38:25] <Ryan-Toast> Kingy: :P
1209: [20:38:42] <antmas> Ryan-Toast: you did .Net?!
1210: [20:38:43] <Ryan-Toast> Kingy: I want them to hire no-one and let me work contract from London :P
1211: [20:38:49] <antmas> aka c#
1212: [20:38:57] <Ryan-Toast> antmas: A little bit, not much. I did al the front-end biz
1213: [20:39:03] <antmas> oh nice
1214: [20:39:06] <Kingy> right im going to hide in the corner
1215: [20:39:06] <Kingy> brb
1216: [20:40:37] <antmas> Ryan-Toast: you're the only dev at Toast?
1217: [20:41:01] <Ryan-Toast> antmas: There’s another guy, but I work on new sites, he works on our software stuff.
1218: [20:41:25] <Ryan-Toast> 2 devs, two designers, two print people.
1219: [20:41:32] <Ryan-Toast> happy family
1220: [20:41:39] <Ryan-Toast> mucho beers
1221: [20:41:43] <Kingy> lol
1222: [20:42:18] <simon_w> Ryan-Toast, so? :p
1223: [20:42:35] <antmas> Ryan-Toast: what kind of software stuff?
1224: [20:42:41] <antmas> you guys have in house biz?
1225: [20:42:46] <Ryan-Toast> simon_w: Getting emails from hot chinese locals from my area :P
1226: [20:43:01] <antmas> Ryan-Toast: simon_w haha I got those too
1227: [20:43:01] <simon_w> Ryan-Toast, well, take them up on it!
1228: [20:43:04] <Ryan-Toast> antmas: http://www.webdough.co.nz/
1229: [20:43:27] * simon_w should put some clothes on and turn into simon_w|work
1230: [20:43:40] <Ryan-Toast> antmas: that’s for the little websites, mechanics and mom and pops etc
1231: [20:43:44] <Ryan-Toast> I do the larger sites
1232: [20:43:54] <antmas> Ryan-Toast: ah right
1233: [20:44:01] <antmas> I wondered what webdough really was
1234: [20:44:28] <Ryan-Toast> antmas: It’s like what boilerplate is becoming, but old.
1235: [20:45:08] <antmas> yeah
1236: [20:45:11] <antmas> looks like it
1237: [20:45:56] * muskie9 is now known as _muskie9_
1238: [20:46:02] <Pyromanik> [09:30] <Ryan-Toast> Also, any of you Auckland kids want my Job next year? Will be hiring resonably early.
1239: [20:46:05] <Pyromanik> what are you doing?
1240: [20:46:24] <antmas> Ryan-Toast: what does the designer look like?
1241: [20:46:26] <Ryan-Toast> Pyromanik: Going on my OE
1242: [20:46:42] <Kingy> Ryan-Toast: going to be working or just travelling?
1243: [20:46:46] <Ryan-Toast> antmas: 50 year old Eastern european man.
1244: [20:46:49] <Ryan-Toast> Kingy: Both :)
1245: [20:46:51] <antmas> Ryan-Toast: Pyromanik you guys could meat up and fight to the death over css frameworks
1246: [20:46:58] <antmas> Ryan-Toast: :|
1247: [20:47:11] <Ryan-Toast> antmas: and a 23 year old woman.
1248: [20:47:21] <antmas> Ryan-Toast: lol I meant the site designer!
1249: [20:47:27] <Ryan-Toast> antmas: oh.
1250: [20:47:29] <Ryan-Toast> lol
1251: [20:47:29] <Pyromanik> Ryan-Toast,wait, you're in welly? I thought you were an akl tosser!
1252: [20:47:37] <Ryan-Toast> Pyromanik: I’m Auckland :P
1253: [20:47:45] <Ryan-Toast> tosser reporting in.
1254: [20:48:03] <Ryan-Toast> antmas: not sure if I’m allowed to screenshot it.
1255: [20:48:14] <Pyromanik> oic, lucky you
1256: [20:48:14] <Pyromanik> [09:38] <Ryan-Toast> Kingy: I want them to hire no-one and let me work contract from London :P
1257: [20:48:25] <antmas> Ryan-Toast: what is is most like? as in compared to other tools
1258: [20:48:36] <Ryan-Toast> antmas: Mmm, I’d rather not say.
1259: [20:48:43] <Ryan-Toast> fuck you irc-log
1260: [20:48:43] <antmas> Ryan-Toast: pm me :P
1261: [20:49:21] * _muskie9_ is now known as muskie9
1262: [20:49:31] * UncleCheese has joined #silverstripe
1263: [20:50:28] <Pyromanik> antmas, so srs, what is pay rate?
1264: [20:50:37] <Pyromanik> do the /msg brah
1265: [20:50:38] <antmas> Pyromanik: hmmm?
1266: [20:50:52] <Pyromanik> antmas, well my OE is coming to an end
1267: [20:50:52] <antmas> my pay rate?
1268: [20:50:58] <Pyromanik> oh, fuck, Ryan-Toast ^^^
1269: [20:51:07] <antmas> Pyromanik: I think you mean.... yes
1270: [20:51:49] <Pyromanik> I'm wondering what constitutes 'good pay' in NZ these days
1271: [20:51:54] * micmania1 has joined #silverstripe
1272: [20:52:00] <antmas> Pyromanik: senior?
1273: [20:52:14] <Pyromanik> like, if 'good' is still $40k pa, AND FEEL FUCKING LUCKY FOR IT, THERE ARE HEAPS OF PEOPLE WHO WANT YOUR JOB
1274: [20:52:15] <Pyromanik> etc
1275: [20:52:24] <Ryan-Toast> lol, fuck that
1276: [20:52:26] <Pyromanik> ie, cunts, cunts everywhere
1277: [20:52:36] <Pyromanik> @phpceo
1278: [20:52:37] <Pyromanik> etc
1279: [20:52:39] <Pyromanik> xD
1280: [20:53:03] <antmas> I don't even earn 40k and I'm a junior :P
1281: [20:53:18] <Ryan-Toast> antmas: say what.
1282: [20:53:48] <antmas> Ryan-Toast: as in I earn more
1283: [20:53:54] <Ryan-Toast> antmas: oh, right. haha
1284: [20:58:12] <antmas> Pyromanik: when's your OE up?
1285: [20:58:33] <Kingy> $('input[type=radio][name=ptype]').entwine({
1286: [20:58:34] <Kingy> onchange: function() {
1287: [20:58:34] <Kingy> alert(this.value);
1288: [20:58:34] <Kingy> }
1289: [20:58:34] <Kingy> });
1290: [20:58:39] <Kingy> why is that giving me undefined
1291: [20:59:05] <antmas> Kingy: which is undefined?
1292: [20:59:17] <antmas> lol is entwine undefined?
1293: [20:59:19] <Ryan-Toast> Kingy: you need to use “this"
1294: [20:59:19] * antmas hates that
1295: [20:59:25] <Kingy> the alert is coming back undefined
1296: [20:59:38] <Pyromanik> antmas, in a year.
1297: [20:59:41] <Ryan-Toast> alert($(this).value)
1298: [20:59:46] <Kingy> hmm
1299: [21:00:12] <Pyromanik> lolwut Ryan-Toast?
1300: [21:00:22] <Pyromanik> this.value, $(this).val()
1301: [21:00:26] <Pyromanik> choose one.
1302: [21:00:29] <Ryan-Toast> NO
1303: [21:00:32] <Ryan-Toast> BOTH
1304: [21:00:34] <Ryan-Toast> :P
1305: [21:00:58] <Kingy> thanks Pyromanik worked :P
1306: [21:00:58] <Ryan-Toast> Can we meet halfway and $(this).val ?
1307: [21:00:58] <antmas> man
1308: [21:01:01] <Kingy> yours didn't Ryan-Toast lol
1309: [21:01:02] <antmas> I need to up my js game
1310: [21:01:12] <Ryan-Toast> I typed .value instead of .val()
1311: [21:01:13] <Ryan-Toast> :(
1312: [21:01:15] <Kingy> i have no idea wtf this entwine shit is lol
1313: [21:01:23] <Pyromanik> entwine is good and bad
1314: [21:01:24] <Ryan-Toast> Kingy: no one does.
1315: [21:01:25] <Pyromanik> at the same time
1316: [21:01:30] <Pyromanik> I know what it is.
1317: [21:01:32] <Kingy> rofl
1318: [21:01:46] <antmas> I still call it 'ent wine'
1319: [21:01:48] <Kingy> im just reading hamishs github on it
1320: [21:01:49] <antmas> the wine of trees
1321: [21:01:50] <Pyromanik> it's a poorly used inheritable obfuscation layer :P
1322: [21:01:53] <Kingy> seems overkill
1323: [21:02:00] <Pyromanik> Kingy, kinda is, kinda isn't.
1324: [21:02:08] <Pyromanik> is because monkeypatching anything is kinda crap
1325: [21:02:08] <Kingy> but most of the jquery on the site uses it
1326: [21:02:11] <Kingy> so i may as well stick to it
1327: [21:02:16] <antmas> what's a good place to up your js foo?
1328: [21:02:25] <Kingy> antmas: google
1329: [21:02:27] <Kingy> :P
1330: [21:02:35] <antmas> Kingy: helpful!
1331: [21:02:39] <antmas> ;)
1332: [21:02:40] <Ryan-Toast> antmas: make stuff.
1333: [21:02:44] <Kingy> +1
1334: [21:03:05] <antmas> Ryan-Toast: yeah, pros should
1335: [21:03:14] <antmas> too reliant on jquery these days
1336: [21:03:17] <Pyromanik> Kingy, you talking cms, or site?
1337: [21:03:17] <antmas> need to detach for a bit
1338: [21:03:25] <Ryan-Toast> antmas: make this: http://redditplayer.phoenixforgotten.com/
1339: [21:03:27] <Kingy> Pyromanik: site
1340: [21:03:36] <Pyromanik> hmm, rare but cool'
1341: [21:03:58] <Kingy> Pyromanik: it was made by SS so it makes sense I guess
1342: [21:04:00] <Pyromanik> think of jquery selectors that do .entwine more like object classes than DOM selections
1343: [21:04:08] <Pyromanik> after that, it all kinda falls in place.
1344: [21:04:19] <antmas> Ryan-Toast: I use that heaps :D
1345: [21:04:25] <Ryan-Toast> antmas: I made one
1346: [21:04:29] <Ryan-Toast> was a fun project
1347: [21:05:41] <Ryan-Toast> antmas: I realise now I never put it on github, and I reformatted that drive ><
1348: [21:06:02] <Kingy> wow it's getting dark here
1349: [21:06:10] <Kingy> swear the light level has just dropped all of a sudden
1350: [21:06:18] <Kingy> can't see hills anymore
1351: [21:06:21] <Kingy> weather inbound
1352: [21:07:13] <Pyromanik> fuckit, moar module time
1353: [21:08:35] <Ryan-Toast> I wish people would pay me to make random things that I want to make.
1354: [21:09:10] * kinglozzer has joined #silverstripe
1355: [21:14:51] <micmania1> Kingy: RUN!
1356: [21:15:10] <Kingy> micmania1: im more concerend about getting lunch if it's raining
1357: [21:15:22] <Kingy> unlike you bastards i have no cover into town
1358: [21:15:29] <micmania1> haha
1359: [21:15:33] <micmania1> I have no coat today :(
1360: [21:15:38] * mahfuz has joined #silverstripe
1361: [21:15:56] <mahfuz> Good Morning All
1362: [21:16:34] <adrexia> <Ryan-Toast> I wish people would pay me to make random things that I want to make.
1363: [21:16:36] <Pyromanik> Ryan-Toast, yeh me too like
1364: [21:16:37] <adrexia> don't we all?
1365: [21:16:40] <Pyromanik> but then again...
1366: [21:16:41] <Pyromanik> totally
1367: [21:16:45] <Pyromanik> what adrexia said
1368: [21:17:03] <adrexia> sometimes they do, to be fair
1369: [21:17:08] <Ryan-Toast> Maybe a company that had 4 days work and one day R&D day
1370: [21:17:13] * catcher quit (Quit: Leaving)
1371: [21:17:18] <Ryan-Toast> god that would be fun.
1372: [21:17:22] <adrexia> yeah, that would be nice
1373: [21:17:35] <adrexia> I could make so much stuff!
1374: [21:17:41] <Ryan-Toast> ALL THE THINGS
1375: [21:17:49] <adrexia> ALL OF THEM!
1376: [21:20:21] <Kingy> google had something like that didn't they, but then got rid of it
1377: [21:20:36] <Ryan-Toast> People woulkd probs abuse it.
1378: [21:20:51] <Ryan-Toast> Work on their own projects.
1379: [21:21:12] <micmania1> We have a hack day every month. Got to work on something related to ss.
1380: [21:21:32] <Kingy> micmania1: we have one a year
1381: [21:21:32] <Ryan-Toast> micmania1: Is there a cms team?
1382: [21:21:45] <adrexia> micmania1, it barely happened for project teams though
1383: [21:22:07] <micmania1> Ryan-Toast: nope, people form teams to work on what they want.
1384: [21:22:12] <adrexia> ...and was mostly about bug fixing or module maintenance
1385: [21:22:20] <Ryan-Toast> micmania1: icic
1386: [21:22:24] <micmania1> adrexia: there’s been good uptake in the last couple of months. Pretty much everyone has been involved.
1387: [21:22:37] <adrexia> good
1388: [21:23:02] <adrexia> <micmania1> Ryan-Toast: nope, people form teams to work on what they want.
1389: [21:23:07] <adrexia> ^ that is new too
1390: [21:23:25] <Ryan-Toast> Do you have an R&D person?
1391: [21:24:01] <micmania1> Ryan-Toast: nope.
1392: [21:24:15] <adrexia> damn it would be fun to be that person
1393: [21:24:19] <adrexia> R&D as a job
1394: [21:24:23] <adrexia> I'm in
1395: [21:26:15] <micmania1> Totally forgot it was Halloween today
1396: [21:28:11] <mahfuz> Hi guys. Need your expert suggestion on this.
1397: [21:29:13] <Kingy> micmania1: that's because it's a stupid day and nz doesn't much care for it.. even though some try
1398: [21:30:13] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1399: [21:30:45] <adrexia> yeah its not a big deal here
1400: [21:30:51] <adrexia> a few parties
1401: [21:30:55] <mahfuz> I am showing all my photo in a page and there is a link with all the photo saying 'add to lightbox' (you can think of the lightbox as a cart). All I want is to be able to call a function which will write the Photo ID in Session. I can this part without Ajax but I want to do it in the background with ajax and then show a message to the user.
1402: [21:31:06] <adrexia> because even though we don't care for halloween, we like excuses
1403: [21:31:21] <micmania1> Kingy: https://www.youtube.com/watch?v=_b_xaMaC0ho - Happy Hollween!
1404: [21:31:55] * lerni_ has joined #silverstripe
1405: [21:32:57] <Kingy> micmania1: are they out of the bottom 3 yet
1406: [21:33:10] <Kingy> oh they are look at that
1407: [21:33:18] <micmania1> us? aye. We put the mackems there instea
1408: [21:33:21] <micmania1> instead*
1409: [21:33:32] <micmania1> Beat Man City yesterday as well int he cup :)
1410: [21:33:32] <Kingy> lol
1411: [21:33:38] <Kingy> ya saw that!!!
1412: [21:33:51] <Kingy> although that'll mean citeh will thrash utd now :(
1413: [21:34:12] <micmania1> Sahem they can’t both lose.
1414: [21:34:14] <micmania1> shame
1415: [21:34:20] <Kingy> pfft
1416: [21:34:25] <Kingy> i'll take a draw :P
1417: [21:36:38] * muskie9 has joined #silverstripe
1418: [21:40:52] * jedateach quit (Quit: jedateach)
1419: [21:41:02] * adrexia quit (Quit: Ex-Chat)
1420: [21:41:51] * adrexia has joined #silverstripe
1421: [21:44:20] * jedateach has joined #silverstripe
1422: [21:45:52] <mahfuz> How to call a function without loading the page and then show the message sent by the function in a dialogue box ? It is ajax, but can any one give me an example?
1423: [21:49:49] <UncleCheese> mahfuz alert(response) ?
1424: [21:51:11] <antmas> Ryan-Toast: would a github account count as a portfolio?
1425: [21:51:19] <UncleCheese> yes
1426: [21:51:49] <antmas> even if you were a front end-dev?
1427: [21:52:02] <antmas> I guess demos via github would work too
1428: [21:53:05] <willr> antmas if you’re a front end dev and I don’t see any websites you’ve done I get worried.
1429: [21:53:19] <willr> If I get a portfolio as a doc word file, I get worried.
1430: [21:53:24] <Kingy> lol
1431: [21:53:30] <antmas> willr: lol yes
1432: [21:53:32] <mahfuz> Yes UC i just want to show message in alert
1433: [21:54:26] <Ryan-Toast> antmas: narp
1434: [21:54:26] <antmas> sucks for me because I can't really add our internal stuff to my portfolio :/
1435: [21:55:16] <Ryan-Toast> Sucks
1436: [21:55:26] <Ryan-Toast> mahfuz: ajax
1437: [21:55:28] <antmas> which is like 99% of my work
1438: [21:55:47] <Ryan-Toast> do what everyone else does and change the images and color of the internal stuff.
1439: [21:56:02] <mahfuz> can anyone give me an example of calling ajax function through link\
1440: [21:56:23] <antmas> Ryan-Toast: it's software though, so a lot of it is behind scenes
1441: [21:56:38] <antmas> and I would never inlude screenies of webforms from any kind of software :P
1442: [21:56:42] <adrexia> antmas, why can't you?
1443: [21:57:07] <Ryan-Toast> antmas: yeah, well we’re looking for a php web person, so preferably they would have a porfolio of web work :P
1444: [21:57:15] <antmas> adrexia: not 100% sure why - it's all related to customer stuff
1445: [21:57:22] <adrexia> ahh right
1446: [21:57:24] <antmas> I should check again really
1447: [21:57:34] <antmas> Ryan-Toast: indeed :P
1448: [21:58:23] <adrexia> Personally I care less for example websites (where you can't see who did what), and more for actual code. So github is good
1449: [21:58:41] <antmas> adrexia: same here
1450: [21:58:55] <antmas> you can make anything look pretty as a dev, but they code might be terribad
1451: [21:58:56] <willr> users use the websites more than the code.
1452: [21:58:59] <micmania1> Anyone seen that CV website that’s like a little character in a game and you control it with the arrow keys?
1453: [21:59:14] <antmas> willr: yeah, so it depends on what you're applying for really
1454: [21:59:30] <adrexia> willr yes - but just because someone was involved in a project doesn't mean they can claim a whole website ;)
1455: [21:59:47] <Ryan-Toast> micmania1: yarp, was cool :)
1456: [21:59:47] <antmas> adrexia: exactly - aka me and our public site
1457: [22:00:03] <adrexia> ...and that goes both ways. Soemtimes you never get a chance to make pretrty stuff, but the code you used to make the boring stuff was good
1458: [22:00:11] <micmania1> antmas: just make this: http://www.rleonardi.com/interactive-resume/ :p
1459: [22:00:13] * adrexia shrugs
1460: [22:00:26] * AdriAn_s has joined #silverstripe
1461: [22:00:44] <adrexia> Dvelopers are users too
1462: [22:00:48] <adrexia> *Developers
1463: [22:01:21] <adrexia> and you can make the best website out there, but if the code isn't maintainable, it'll just cost money
1464: [22:01:59] <antmas> adrexia: totes agrees
1465: [22:02:07] <antmas> micmania1: I'll do it on my lunch break!
1466: [22:02:18] <micmania1> yeah, should only take a few minutes.
1467: [22:02:46] <simon_w|work> Woo, transformation complete
1468: [22:02:59] <antmas> micmania1: his grading is hilarious
1469: [22:03:09] <antmas> how many fishes are you in graphic design?
1470: [22:03:09] <Pyromanik> dun gone fucked a moose https://github.com/NightJar/ssrigging-splitmenu
1471: [22:03:13] <antmas> 8/10 fishes
1472: [22:03:54] <micmania1> haha
1473: [22:04:45] <Ryan-Toast> I’m 78% of Javascript
1474: [22:04:50] <Ryan-Toast> I hope that’s helpful.
1475: [22:05:02] <Pyromanik> lulz, ok @iamdeveloper.
1476: [22:05:21] <Pyromanik> I'm 79% of the jQuery langwich.
1477: [22:05:29] <antmas> Ryan-Toast: I probably have more HTML endorsements on linkedin that you though, so I'd get hired way fasterere
1478: [22:05:45] <Pyromanik> lol linked in. I should update that!
1479: [22:05:47] <Ryan-Toast> antmas: I have shit on linkedin that I’ve enever done
1480: [22:05:54] <antmas> Ryan-Toast: same here
1481: [22:05:58] <Pyromanik> been employed nearly a year :<
1482: [22:06:02] <antmas> apparently I'm a wordderp god
1483: [22:06:13] <mahfuz> can anyone give me an example of calling a function through ajax that is fired clicking a ling please?
1484: [22:06:35] <Pyromanik> antmas, pretty sure that just means 'can fix muckle php messes: tick.'
1485: [22:06:45] <micmania1> mahfuz: http://www.w3schools.com/ajax/
1486: [22:06:51] <antmas> Pyromanik: rofl
1487: [22:06:57] <Pyromanik> although mebbe it just means 'can website.'
1488: [22:06:57] <antmas> micmania1: you bastard :P
1489: [22:07:02] <Ryan-Toast> mahfuz: make a methoid in your controller, then use ajax to call it. Make sure it’s in the $allowed_actions
1490: [22:07:04] <micmania1> heh.
1491: [22:07:26] <antmas> METHOID
1492: [22:07:45] <Ryan-Toast> I’m redesigning my website atm. I think my tagline may just be “I can website"
1493: [22:07:56] <UncleCheese> man, i have truly found the best client in the world
1494: [22:08:08] <Ryan-Toast> antmas: It’s a method that fights aliens
1495: [22:08:27] <antmas> METHOID PRIME
1496: [22:08:30] <antmas> beep boop
1497: [22:08:39] <Ryan-Toast> UncleCheese: Do they pay you to do nothing?
1498: [22:08:44] <Ryan-Toast> #livingthedream?
1499: [22:08:50] <UncleCheese> ha
1500: [22:08:54] <UncleCheese> sometimes, yeah
1501: [22:08:55] <antmas> Ryan-Toast: you mean making a shopify site?
1502: [22:09:04] <Ryan-Toast> antmas: lol
1503: [22:09:18] <UncleCheese> and the work i do is however i want to do it
1504: [22:09:22] <UncleCheese> whatever tools, process etc
1505: [22:09:30] <UncleCheese> and when i finish it, there's no feedback
1506: [22:09:31] <mahfuz> Ryan: I understand you completely. But what is the syntax to make ajax call to that function from a link. I know how to call a function normally through link.
1507: [22:10:11] <antmas> Ryan-Toast: I can't visualize how that split menu would look :O
1508: [22:10:18] <UncleCheese> mahfuz $.ajax({url: , success: ...});
1509: [22:10:28] <Ryan-Toast> mahfuz: There are lots of ways. I’d give your button a class, and a data-id=“my-id” then on click of that class send that data-id to your method
1510: [22:11:03] <UncleCheese> ideally, the url for the ajax request is in the href attribute for graceful degradation purposes
1511: [22:11:18] <adrexia> mahfuz - using jquery?
1512: [22:11:38] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1513: [22:11:42] <Pyromanik> mahfuz, sure. Array.Prototype.forEach.call(document.getElementsByTagName('a'), function(v,i,a){v.addEventListener('click', function(){alert('ajax time!');var xhr = new XMLHttpRequest; xhr.onload = function(){alert(this.responseText)}; xhr.open('get', v.href, true)})})
1514: [22:11:55] <adrexia> lol
1515: [22:12:15] <micmania1> Pyromanik: Good effort, sir.
1516: [22:12:37] <adrexia> mahfuz if you are using jquery then http://api.jquery.com/jquery.ajax/
1517: [22:12:39] <Ryan-Toast> I like using jQuery for ajax, so I don’t have to handle all the bs
1518: [22:13:03] <adrexia> yeah, I wouldn't recommend doing it from scratch more than the once
1519: [22:13:24] <adrexia> but doing it the long way once is worth it, to learn what it is actually doing
1520: [22:13:32] <Pyromanik> Ryan-Toast, all the bs?
1521: [22:13:32] <Ryan-Toast> I can’t even remember how to do iut without jQuery anymore
1522: [22:13:37] <Ryan-Toast> Pyromanik: allll the bs
1523: [22:13:42] <adrexia> Ryan-Toast, but Jquery is by no means the only ajax shortcut
1524: [22:13:47] <Pyromanik> Ryan-Toast, neither can I, but MDN can!
1525: [22:14:07] <adrexia> lol
1526: [22:14:16] <antmas> anyone ever recommend code academy to anyone before?
1527: [22:14:24] <adrexia> yes
1528: [22:14:33] <adrexia> code academy is good
1529: [22:14:34] <Ryan-Toast> adrexia: I’m not saying it is.
1530: [22:14:35] <Pyromanik> actually I lie, I type out true xmlhttprequests every now and then to keep my hand in. but I never remember exactly.
1531: [22:14:42] <Pyromanik> because fuck jquery if you don't need it
1532: [22:14:43] <mahfuz> Thanks all for shedding some light. I will get back if I face problems.
1533: [22:14:52] <Ryan-Toast> adrexia: I have jQuery in most of my projects though, so why not use it.
1534: [22:14:57] <adrexia> yep ;)
1535: [22:15:14] <ss23> For haloween, ircds should enforce -n cmodes
1536: [22:15:16] <Pyromanik> Ryan-Toast,this is much more the relevant point :>
1537: [22:15:34] <antmas> adrexia: it's free right?
1538: [22:15:48] <adrexia> mahfuz - its worth actually taking the time to learn about ajax and how it works
1539: [22:15:53] <antmas> adrexia: I know some yougn guns that could use it I think
1540: [22:16:10] <adrexia> antams - yep free
1541: [22:16:18] <UncleCheese> frontenders: what do y'all think about display-table?
1542: [22:16:23] <Pyromanik> [11:10] <antmas> Ryan-Toast: I can't visualize how that split menu would look :O
1543: [22:16:30] <Pyromanik> U WOT M8?
1544: [22:16:30] <adrexia> ...its a css thing that is useful
1545: [22:16:31] <UncleCheese> evil hack, or appropriate response to a shortcoming in CSS?
1546: [22:16:36] <UncleCheese> yay
1547: [22:16:37] <adrexia> much like other css thigns
1548: [22:16:38] <adrexia> err
1549: [22:16:40] <Ryan-Toast> antmas: lol, noooob
1550: [22:16:45] <antmas> Pyromanik: I mean, with brand logo in it
1551: [22:16:47] <UncleCheese> keep in mind, i haven't looked at css since 2009, so
1552: [22:16:52] <adrexia> might as weell ask what wee think about font-weight: bold ;)
1553: [22:16:57] <Ryan-Toast> menu item 1 menu item 2 LOGO menu item 3 menu item 4
1554: [22:17:01] <Pyromanik> antmas, think back to about any website around 2004
1555: [22:17:06] <UncleCheese> i dunno.. it just seems so wrong
1556: [22:17:10] <adrexia> nah
1557: [22:17:12] <antmas> Pyromanik: OH
1558: [22:17:14] <antmas> OH GOD
1559: [22:17:14] <adrexia> its a dispaly format
1560: [22:17:20] <Ryan-Toast> lolololol
1561: [22:17:24] <Pyromanik> lol antmas
1562: [22:17:27] <adrexia> valid as any of the otehrs
1563: [22:17:53] <antmas> Ryan-Toast: pass the eye bleach
1564: [22:18:00] <adrexia> I suppose they caaould have called it somethign else
1565: [22:18:11] <adrexia> but it is, in itself, not a hack
1566: [22:18:57] <UncleCheese> I just want a block element to have a bunch of inline elements in it that all vertically align in the middle
1567: [22:18:58] <Ryan-Toast> antmas: they can look nice.
1568: [22:19:13] <adrexia> yep
1569: [22:19:19] <UncleCheese> display-table seems to be the best candidate
1570: [22:19:23] <adrexia> if it solves your problem, use it :)
1571: [22:19:32] <antmas> Ryan-Toast: example?
1572: [22:19:40] <UncleCheese> adrexia that's what i used to say about setTimeout() :)
1573: [22:19:50] * jcwacky quit (Quit: jcwacky)
1574: [22:20:14] <Ryan-Toast> antmas: http://pacific-demo.squarespace.com/?nochrome=true
1575: [22:20:21] <Pyromanik> antmas, http://www.webtechelp.com/wp-content/uploads/2014/04/SportDigga.jpg
1576: [22:20:22] <Pyromanik> like that
1577: [22:20:26] <adrexia> if you have a boonified timing issue, use setTimeout. If you actually have a sequence issue, don't :P
1578: [22:20:27] <kinglozzer> Ugh, Laravel.. I just can't get used to the migrations stuff for databases, GIMME /DEV/BUILD
1579: [22:20:37] <Pyromanik> kinglozzer, BOOM
1580: [22:20:45] <Pyromanik> +1up!
1581: [22:21:04] <kinglozzer> Apart from that I find it fine :P
1582: [22:21:13] <antmas> Pyromanik: Ryan-Toast hmmm I guess it can look ok
1583: [22:21:21] <adrexia> css is dumb. Use the things it gives you in any way you like. Just make sure your architecture is solid, understandable, and maintainable
1584: [22:21:24] <Pyromanik> antmas, or http://i.stack.imgur.com/nG5zF.png
1585: [22:21:25] <adrexia> ;)
1586: [22:21:29] <antmas> really makes the menu difficult to align though
1587: [22:22:10] <Ryan-Toast> antmas: it’s a good usecase to seperate your menus into different sections, which is why restaurants utilise it well without having a primary, and secondary menu
1588: [22:22:16] <Pyromanik> antmas, well, yes and no. NOT MY PROBLEM ANYMORE
1589: [22:22:38] <antmas> Ryan-Toast: yeah true
1590: [22:22:43] <antmas> Pyromanik: lol XD
1591: [22:22:44] <Pyromanik> yeh, I think it was a cafe or something like that that caused the module.
1592: [22:23:25] <Pyromanik> becuase I was supremely unimpressed with people thanking UncleCheese like he was the messiah for <% loop $Menu.Limit(0,3) %> ...
1593: [22:23:43] <UncleCheese> uh?
1594: [22:23:47] <Pyromanik> <% loop $Menu.Limit(3,3) %>
1595: [22:24:15] <Pyromanik> UncleCheese, lol. You gave a quick off the cuff thought for getting around an issue in the forum or something once.
1596: [22:24:17] <UncleCheese> what are you talking about?
1597: [22:24:25] <UncleCheese> oh
1598: [22:24:32] <Pyromanik> newbies latched onto it like it was the mother mary's divine milk or something.
1599: [22:24:49] <Pyromanik> as they tend to do.
1600: [22:24:58] <Pyromanik> I was all NOPE
1601: [22:25:00] <mudmonth> hej ss23
1602: [22:25:02] <mudmonth> plz
1603: [22:25:04] <mudmonth> hi2u
1604: [22:25:04] <ss23> hej
1605: [22:25:06] * ss23 hej's
1606: [22:25:19] <mudmonth> does silverstripe have a critical vuln email list
1607: [22:25:26] <mudmonth> i asked before but you were asleep and these guys were busy posting gifs
1608: [22:25:30] <mudmonth> IT WAS VERY HARD
1609: [22:25:31] <ss23> lol
1610: [22:25:34] <Pyromanik> (one of these folks that worked under me when I was senior pointed this out and went 'this is cool' and I went @FUCK NO@ and made module)
1611: [22:25:42] <Kingy> pfft mudmonth 2pm is gif time
1612: [22:25:50] <mudmonth> it was like 6-7am NZ
1613: [22:25:51] <ss23> mudmonth: We announce vulns + releases on standard release list, but there is a pre-announce list. Not sure how well maintened it is
1614: [22:25:54] * Kingy waits in anticipation
1615: [22:25:56] <Pyromanik> mudmonth, security@silverstripe.com
1616: [22:26:15] <Kingy> Ryan-Toast: best not let us down today you sly dog
1617: [22:26:34] <antmas> yes to pls have the jofs
1618: [22:26:36] <simon_w|work> kinglozzer, do you know if you new core people get the security emails?
1619: [22:26:37] <antmas> jifs8
1620: [22:26:39] <Kingy> lolol
1621: [22:26:42] <Kingy> jofs
1622: [22:26:43] <mudmonth> joffs
1623: [22:26:53] <antmas> :P
1624: [22:27:00] <kinglozzer> simon_w|work: I've no idea, I doubt it though
1625: [22:27:00] <mudmonth> so how do i sign up
1626: [22:27:01] <Kingy> is that the poncy nelson way to speak?
1627: [22:27:07] <antmas> hahahaha
1628: [22:27:13] <Ryan-Toast> Kingy: hmm?
1629: [22:27:14] <antmas> 'poncy'
1630: [22:27:30] <Ryan-Toast> oh, 2pm?
1631: [22:27:30] <Kingy> Ryan-Toast: it's jof friday
1632: [22:27:44] <mudmonth> since i have more and more people wanting SS crap i don't really want something to go wildly wrong
1633: [22:27:49] <mudmonth> (reads: drupal 7)
1634: [22:28:23] <mudmonth> https://www.drupal.org/PSA-2014-003 if this was missed
1635: [22:28:30] <simon_w|work> mudmonth, https://groups.google.com/d/topic/silverstripe-dev/0mjNBaSP8vE/discussion
1636: [22:29:28] <ss23> mudmonth: SilverStripe isn't popular enough to get wormed :P
1637: [22:29:28] <mudmonth> thanks simon_w|work
1638: [22:30:10] <antmas> derpal got pwned
1639: [22:30:12] <antmas> lol
1640: [22:30:22] * gelignite quit (Quit: http://bit.ly/nkczDT)
1641: [22:30:29] <Pyromanik> yeah, but honestly though, you guys take a look at that patch
1642: [22:30:36] <mudmonth> as a thank you, here is a gif http://i.imgur.com/YPL8dgM.gif
1643: [22:30:36] <Pyromanik> fuck'n LOL
1644: [22:30:47] <antmas> lol
1645: [22:31:29] <kinglozzer> Pyromanik: https://www.drupal.org/files/issues/SA-CORE-2014-005-D7.patch that? :P
1646: [22:31:33] <Pyromanik> yes
1647: [22:31:36] <Pyromanik> the fix
1648: [22:31:39] <Pyromanik> oh gawd the fix
1649: [22:31:42] <Pyromanik> omg hahah
1650: [22:31:44] <ss23> What about the fix? :S
1651: [22:31:45] <Pyromanik> aaaaahahahahaha
1652: [22:32:01] <ss23> I mean, it's a good bug. One of those cases where people just don't think about where data is coming from properly
1653: [22:32:01] <Pyromanik> ss23, srsly?
1654: [22:32:04] <Pyromanik> just f'n read it.
1655: [22:32:08] <ss23> Pyromanik: I've read it
1656: [22:32:11] <ss23> Pyromanik: I mean what do you find funny about it
1657: [22:32:13] <Pyromanik> yeah, what you just said.
1658: [22:32:22] <ss23> I don't understand at all >.<
1659: [22:32:29] <Pyromanik> assume that all incoming values are indexed, not keyed
1660: [22:32:58] <Pyromanik> [11:32] <@ss23> I mean, it's a good bug. One of those cases where people just don't think about where data is coming from properly
1661: [22:33:15] <Pyromanik> the fix, literally 14 chars.
1662: [22:34:10] <ss23> :S
1663: [22:34:35] <ss23> I guess we just have a different sense of humour
1664: [22:35:28] <Pyromanik> it's a kinda irony/underdog humour
1665: [22:35:46] <Pyromanik> not like real laugh out loud kinda stuff, but amusing all the same.
1666: [22:36:10] <antmas> Pyromanik: I duno dude, you seemed pretty lol about it :P
1667: [22:36:22] <adrexia> I also think its a bit funny
1668: [22:36:29] <simon_w|work> Cause it is pretty lol
1669: [22:37:36] * lerni_ quit ()
1670: [22:38:37] * SphereSilver has joined #silverstripe
1671: [22:39:48] <adrexia> erg. Ok. time for IE8
1672: [22:39:59] <simon_w|work> We're dropping support for that today :D
1673: [22:40:00] * SphereSilver holds up a cross
1674: [22:40:05] <SphereSilver> DIE! DIE! DIE!
1675: [22:40:39] <Stomach_> we just have a blanket ie8 page now
1676: [22:40:40] <simon_w|work> Also, I've got two things assigned to me I can do today. I have to somehow make them take 7 hours.
1677: [22:41:22] <Stomach_> http://www.nzms.com - check that out in ie8
1678: [22:41:33] <Stomach_> makes me happy
1679: [22:41:33] <Pyromanik> simon_w, nah, aim for 5 and something will roll in
1680: [22:41:40] <Pyromanik> it always does
1681: [22:41:40] <mahfuz> Can anyone tell me where is this doc - http://doc.silverstripe.com/doku.php?id=recipes:ajax_basics
1682: [22:41:53] <simon_w|work> Pyromanik, nope. Manager is away.
1683: [22:41:54] <Pyromanik> lol, deads
1684: [22:42:07] <Pyromanik> mahfuz, long deads.
1685: [22:42:25] <Pyromanik> simon_w|work, and only manager can give you tasks? you don't have clients? or users?
1686: [22:42:55] <simon_w|work> Pyromanik, tickets come in through the help desk. Help desk only assigns me performance tasks, manager has to do the rest
1687: [22:43:02] <Pyromanik> also simon_w|work, manager away... aim for 3 hours, 'look busy' for other 3, go home early, PROBLEM SOLVED :D
1688: [22:43:13] <Pyromanik> dat browsing and reading and general interesting things
1689: [22:43:17] <Pyromanik> 'research time'
1690: [22:43:20] <Pyromanik> :D
1691: [22:43:21] <simon_w|work> What do you think I'm doing? :p
1692: [22:43:29] <Pyromanik> :D
1693: [22:43:44] <Pyromanik> simon_w|work, I dunno, but it sounds like winning
1694: [22:45:22] <Pyromanik> simon_w|work, this sounds like you: http://devopsreactions.tumblr.com/post/100817988197/senior-in-action
1695: [22:45:40] <simon_w|work> Haha, that driver is awesome
1696: [22:45:46] <simon_w|work> Did you see the new one this morning?
1697: [22:45:46] <Pyromanik> indeed!
1698: [22:46:01] <simon_w|work> http://devopsreactions.tumblr.com/post/101328946778/senior-checking-new-framework
1699: [22:47:18] <Pyromanik> I saw it just now but chrome is a bitch so it didn't load well, so I scrolled down to not ruin the joke/surprise
1700: [22:47:53] <Pyromanik> lol WINNING, that guy is pretty much a king
1701: [22:48:10] <adrexia> <Stomach_> http://www.nzms.com - check that out in ie8
1702: [22:48:12] <adrexia> nice!
1703: [22:48:13] <adrexia> :D
1704: [22:48:20] <antmas> adrexia: Stomach_ love it
1705: [22:48:37] <Pyromanik> screeny's for those of us who don't do shit browsers?
1706: [22:48:39] <simon_w|work> Pyromanik, I first saw it in slowmo (while waiting for it to load). Was amazeballs.
1707: [22:49:06] <Pyromanik> yeah, but my underpowered computer is more like jerkmo than slomo
1708: [22:49:18] <SphereSilver> hey folks
1709: [22:49:36] <adrexia> Pyromanik, getting a scrteenshot from windows back to linux to share sounds like too much effort
1710: [22:49:49] <adrexia> basically its a really elegant IE not supported message
1711: [22:50:01] <adrexia> (sorry IE8 )
1712: [22:50:10] <Pyromanik> this one also quite bossmodehttp://devopsreactions.tumblr.com/post/100228656335/friday-3-55-pm
1713: [22:50:49] * Pyromanik wonders if ie9 with derp derp mode enabled will suffice
1714: [22:50:58] * Stomach_ is now known as Stomach
1715: [22:51:34] <Stomach> antmas, adrexia - its great - we just charge excessive amounts for ie8 support if people want it
1716: [22:51:36] <SphereSilver> Is Zauberfisch awake?
1717: [22:51:38] <Stomach> turns out they usually dont want it
1718: [22:52:29] <Pyromanik> WHOLEY HELL FUCK YOU STOMACH
1719: [22:52:44] <Pyromanik> turns out I've NEVER EVEN OPENED IE ON THIS COMPUTER (3 years old)
1720: [22:52:48] <Pyromanik> 3.5
1721: [22:52:49] <Stomach> woah baby
1722: [22:52:52] <Pyromanik> and it's fuck'n ie8
1723: [22:52:55] <SphereSilver> What??
1724: [22:53:00] <SphereSilver> You have IE8?
1725: [22:53:10] * SphereSilver opens his VM
1726: [22:53:40] <antmas> I have IE11
1727: [22:53:53] <antmas> document mode for IE8 is dubios at best
1728: [22:54:13] * jedateach quit (Quit: jedateach)
1729: [22:54:14] <adrexia> I have a bunch of VMs with various IEs
1730: [22:54:15] <Pyromanik> had to search for it because it wasn't on the menu, and opened it, it popped up with one of those first run welcome dialog box bullshit things that peopel seem to think are still a good idea despite it not being 1995 anymore
1731: [22:54:19] <SphereSilver> Try IE7 mode. Every SysAdmin nowadays does that :(
1732: [22:54:44] <SphereSilver> I have IE8 functional and running on my MacBook....
1733: [22:54:55] <adrexia> Pyromanik, in IE8's defence, it was made a very long time ago now
1734: [22:54:56] <SphereSilver> In OSX Yosemite
1735: [22:55:08] <adrexia> WHY
1736: [22:55:14] * jedateach has joined #silverstripe
1737: [22:55:16] <adrexia> that sounds horrible
1738: [22:55:24] <Ryan-Toast> Stomach: looks really good, man :) the featured contact at the bottom needs a background-size.
1739: [22:55:33] <SphereSilver> So, it's still a browser to keep in mind :P
1740: [22:55:33] <Pyromanik> adrexia, yeah, this computer 3.5 years old. Netbook I bought and never redid the OS because windows had best drivers at the time
1741: [22:55:54] <SphereSilver> adrexia: I was not so very young and had a customer complaining about html5 not working, so I installed it.
1742: [22:56:01] <Pyromanik> ie, i'm still running win 7 home edition because lazy
1743: [22:56:08] <Pyromanik> and cbf reinstalling, finding drivers, etc.
1744: [22:56:13] <Pyromanik> and games.
1745: [22:56:20] <SphereSilver> Win7 Ultimate here. Works, but needs a format
1746: [22:56:24] <Ryan-Toast> I actually kinda like win8.1 *braces for impact*
1747: [22:56:32] <SphereSilver> Me too
1748: [22:56:35] <micmania1> Ryan-Toast: me too!
1749: [22:56:39] <Pyromanik> I'm going to buy a usb thing and install manjaro on it
1750: [22:56:46] <Pyromanik> might be a bit on the slow side
1751: [22:56:50] <Pyromanik> but we'll see
1752: [22:56:51] <Stomach> Ryan-Toast - why?
1753: [22:56:56] <mudmonth> since i started telling clients i didn't do html or browser compatibility, and just did javascript and back end, my life has been a lot better
1754: [22:57:08] <Ryan-Toast> I have The latest mac OS here, whatever that’s called, and it nice too. Finder is stil a piece of shit though
1755: [22:57:16] <adrexia> SphereSilver, yeah, html5 needs js to work in IE8
1756: [22:57:18] <Pyromanik> lol finder
1757: [22:57:25] <Ryan-Toast> Stomach: I have a big screen, and it cuts off.
1758: [22:57:27] <simon_w|work> https://github.com/facebook/hhvm/search?utf8=%E2%9C%93&q=hphp_array_idx
1759: [22:57:29] <simon_w|work> 404.
1760: [22:57:33] <simon_w|work> Good job github!
1761: [22:57:36] <Stomach> Ryan-Toast - sweeeeet thanks
1762: [22:57:40] <Ryan-Toast> Stomach: np :)
1763: [22:57:42] <SphereSilver> adrexia: No, it doesn't. HTML5 should work in a browser, not in a kitten.
1764: [22:57:53] <SphereSilver> No, wait, IE8 is not a kitten.
1765: [22:58:01] <Colin[pi]> moin moin
1766: [22:58:08] <adrexia> lol
1767: [22:58:12] <Ryan-Toast> Stomach: I like your designers. I wish I had those designers.
1768: [22:58:18] <adrexia> not in a toilet, perhaps?
1769: [22:58:33] <Stomach> Ryan-Toast - come work for :D
1770: [22:58:38] <adrexia> html5 works fine
1771: [22:58:40] <SphereSilver> IE8 is more like... ehm... that bad sweater your grandma gave you. You don't want to wear it, but it's your grandma's sweat and blood that makes you wear it.
1772: [22:58:41] <Ryan-Toast> Stomach: Going overseas :D
1773: [22:58:43] <antmas> Ryan-Toast: win 8.1 is awesome
1774: [22:58:45] <adrexia> IE8 does not
1775: [22:58:47] <SphereSilver> Or your annoying customers demand ofcourse.
1776: [22:59:08] <adrexia> SphereSilver, IE8 is like a parking fine
1777: [22:59:27] <adrexia> you don't want to pay it, but you'll have more problems if you don't
1778: [22:59:30] <Ryan-Toast> Stomach: you guys ahave been advertising for that PHP dev forever
1779: [23:01:04] <adrexia> though, more and more people are going to IE10 or 11 now
1780: [23:01:34] <adrexia> really we're just supporting the people using the internet at work
1781: [23:01:34] <antmas> adrexia: we still have some PCs using IE8
1782: [23:01:43] <adrexia> yeah
1783: [23:01:46] <Ryan-Toast> antmas: I just use VMWare
1784: [23:01:53] <antmas> Ryan-Toast: same
1785: [23:01:56] <Stomach> Ryan-Toast - yeah its really hard to find anyone
1786: [23:02:03] <antmas> Stomach: anyone good*
1787: [23:02:11] <Ryan-Toast> Stomach: Is it senior, or what?
1788: [23:02:15] <Pyromanik> lololol http://devopsreactions.tumblr.com/post/98215886037/pair-programming
1789: [23:02:32] <Stomach> haha yeah thats right antmas
1790: [23:02:37] <Stomach> yeah Ryan-Toast looking for a senior
1791: [23:03:49] <adrexia> Pyromanik, lol
1792: [23:04:09] <Stomach> how to prevent a controller action call being cached
1793: [23:04:10] <Stomach> >_<
1794: [23:04:13] <Stomach> fucking browsers
1795: [23:04:35] <SphereSilver> Ehhhhh, you're fucking browsers?
1796: [23:04:40] <SphereSilver> Well, ok...
1797: [23:04:42] <SphereSilver> Ehm...
1798: [23:04:48] <SphereSilver> To each their own I guess.
1799: [23:04:50] <Pyromanik> omg this is my job :(
1800: [23:04:50] <Pyromanik> http://devopsreactions.tumblr.com/post/97877134279/fixing-bugs-in-our-spaghetti-code
1801: [23:05:03] <Pyromanik> fulltime employment D:
1802: [23:05:26] <antmas> Pyromanik: same :(
1803: [23:05:40] <Pyromanik> and this: http://devopsreactions.tumblr.com/post/97720073225/being-the-single-developer
1804: [23:05:41] <Pyromanik> D:
1805: [23:06:19] <Pyromanik> I mean, there's 4 of us, but we all work on different things. Same as my last job.
1806: [23:07:01] <SphereSilver> Everybody wants a better job mate. Everybody wants one.
1807: [23:07:11] <antmas> this^^
1808: [23:07:31] <SphereSilver> That VV
1809: [23:07:34] <antmas> I don't mind working on my own, but it's good if you have a mentor
1810: [23:07:48] <SphereSilver> I can be your mentor!
1811: [23:07:52] <Colin[pi]> antmas: yes I miss having a mentor
1812: [23:08:03] <SphereSilver> I don't know if I'm any good at it, or if you will learn anything from it
1813: [23:08:09] <Colin[pi]> antmas: it means when I do something retarded, there's no one to smack me over the head
1814: [23:08:11] <SphereSilver> BUT I know my beers!
1815: [23:08:35] <SphereSilver> And, I can smack you on the head. I'm really good at smacking people on the head.
1816: [23:08:52] <mudmonth> in the dick head?
1817: [23:09:04] <antmas> LOL
1818: [23:09:08] <antmas> I have a mentor
1819: [23:09:12] <antmas> but he is old spice
1820: [23:09:42] <SphereSilver> He probably smells good, I guess.
1821: [23:09:43] <Colin[pi]> P P P P P POWER old spice?
1822: [23:09:57] <Colin[pi]> https://www.youtube.com/watch?v=Hq2SlCja3zo
1823: [23:11:42] <Ryan-Toast> I miss having a mentor too.
1824: [23:11:48] <mudmonth> i haven't had a mentor for a few years :<
1825: [23:11:50] <mudmonth> it sucks
1826: [23:11:53] <Ryan-Toast> need senior devs to feed off of.
1827: [23:11:54] * simon_w|work is the mentor
1828: [23:12:03] <SphereSilver> BEING a mentor is way worse.
1829: [23:12:12] <antmas> yeah I can imagine
1830: [23:12:18] <SphereSilver> Since the juniors all look up to you, like "ow man, you know everything"
1831: [23:12:29] <Ryan-Toast> DON’T TRUST SIMON’S LIES! http://i.imgur.com/fYzFiK3.jpg
1832: [23:12:34] <antmas> being mentor shouldn't be hand holding htouhg
1833: [23:12:37] <antmas> though*
1834: [23:12:41] <mudmonth> in my 5-6 years of self employment i've basically just delt with idiots
1835: [23:12:45] <Colin[pi]> Ryan-Toast: it's the smirk that sells it
1836: [23:12:48] <mudmonth> need to go work for a serious nerdy startup
1837: [23:12:50] <SphereSilver> And you're just sitting there, like http://i2.kym-cdn.com/photos/images/original/000/234/739/fa5.jpg
1838: [23:12:52] <simon_w|work> Ryan-Toast, NOT A GIF
1839: [23:13:03] <Ryan-Toast> simon_w|work: http://i.imgur.com/fYzFiK3.gif
1840: [23:13:12] <SphereSilver> simon_w is the illuminati??
1841: [23:13:13] <simon_w|work> Ryan-Toast, STILL NOT A GIF
1842: [23:13:17] <SphereSilver> We're doomed.
1843: [23:13:24] <Ryan-Toast> simon_w|work: :D
1844: [23:13:36] <simon_w|work> Ryan-Toast, ANIMATE BY FACE, BITCH
1845: [23:13:45] <Ryan-Toast> simon_w|work: I only have CS5 on this mac, and I hate the timeline on CS5
1846: [23:13:46] <simon_w|work> Ryan-Toast, ANIMATE MY FACE TOO
1847: [23:13:54] <adrexia> You don't need a mentor to slap you when you do something stupid. You just need a peer
1848: [23:13:56] <SphereSilver> simon_w|work: You have some red on you on that photo
1849: [23:13:57] <Ryan-Toast> Can do at home
1850: [23:14:02] <Colin[pi]> adrexia: I do
1851: [23:14:09] <Colin[pi]> well anyone really
1852: [23:14:18] <adrexia> what I mean is - they can be the same level you are
1853: [23:14:21] <Ryan-Toast> Aww yiss burgerfuel has arrived
1854: [23:14:36] <adrexia> and I think it works better when they are
1855: [23:14:43] <antmas> Ryan-Toast: ;____________________________________________________________;
1856: [23:14:51] <Colin[pi]> adrexia: I think the same level warrants a slap, where as a mentor warrants a slap and a lecture
1857: [23:14:54] <Ryan-Toast> antmas: http://www.gfycat.com/BabyishShinyHarrier
1858: [23:14:58] <adrexia> hahaha
1859: [23:15:07] <antmas> Ryan-Toast: fffffffffffffffff
1860: [23:15:09] * adrexia could do without the lecture
1861: [23:15:10] <antmas> not like this
1862: [23:15:11] <adrexia> ;)
1863: [23:15:47] <Colin[pi]> I like the stories I've heard of hamish standing behind you and looking at your code and just going "that's not how I would have done it"
1864: [23:15:50] <Colin[pi]> and walking off
1865: [23:15:56] <Colin[pi]> dunno if I could work like that lol
1866: [23:15:59] <simon_w|work> Oh man, our QA server is way behind
1867: [23:16:00] <Ryan-Toast> Colin[pi]: ROFL
1868: [23:16:04] <simon_w|work> It doesn't even have HHVM on it
1869: [23:16:38] <SphereSilver> simon_w|work: Please don't tell me that's the buildserver?
1870: [23:16:52] <simon_w|work> Colin[pi], to which you reply "That's because I don't have to over-engineer things"
1871: [23:16:54] <adrexia> Colin[pi], "Oh awesome, I was afraid for a second I wrote Hamish code"
1872: [23:17:02] <simon_w|work> Ooh, adrexia's is better
1873: [23:17:06] <Colin[pi]> adrexia: hahaha
1874: [23:17:23] <SphereSilver> What's wrong with Hamish code?
1875: [23:17:24] <simon_w|work> SphereSilver, no, it's the QA server
1876: [23:17:30] * adrexia laughs
1877: [23:17:45] <Colin[pi]> SphereSilver: generally regarded as skilled but overengineered
1878: [23:18:00] <Colin[pi]> like, the only person who understands his code is him, apparently
1879: [23:18:14] <SphereSilver> Colin[pi]: Well, you should see the code of one of my colleagues. I understand Hamish' code perfectly fine.
1880: [23:18:19] <antmas> sounds like my code but in a much worse way
1881: [23:18:25] <Colin[pi]> antmas: lol
1882: [23:18:34] <SphereSilver> But my colleagues code? It's like understanding women
1883: [23:18:56] <antmas> Colin[pi]: private void mynewFunction(//will need to stack overlflow this brb)
1884: [23:18:59] <adrexia> for the record, that would likely be my response to anyone who made a comment like that to me ;)
1885: [23:19:23] <SphereSilver> A comment like what, about what, to you about who?
1886: [23:19:29] <Colin[pi]> I like this example of over engineering gone mad: http://taskinoor.wordpress.com/2011/09/21/the-abuse-of-design-patterns-in-writing-a-hello-world-program/
1887: [23:19:34] <adrexia> <Colin[pi]> I like the stories I've heard of hamish standing behind you and looking at your code and just going "that's not how I would have done it"
1888: [23:20:43] <adrexia> it's not the worst comment to make, but it's not overly constructive either. ;)
1889: [23:20:47] <adrexia> it'
1890: [23:20:58] <SphereSilver> adrexia: just do this:
1891: [23:21:00] <SphereSilver> http://www.gifbin.com/bin/300g667434.gif
1892: [23:21:02] <adrexia> it's a nice way of saying "I think your code sucks"
1893: [23:21:08] <Colin[pi]> adrexia: or the other one I've heard is just shaking his head and going "tsk tsk tsk" and walking off LOL
1894: [23:21:11] <Colin[pi]> I think that ones worse
1895: [23:21:18] <adrexia> but at least its a *nice* way of saying it
1896: [23:21:26] * markcl1 has left #silverstripe
1897: [23:21:30] <simon_w|work> Colin[pi], and that's when you pull up goatse
1898: [23:21:35] <adrexia> hahaha, nice gif
1899: [23:21:54] <SphereSilver> simon_w|work: I'd go for lemonparty (DO NOT VISIT THAT PAGE!)
1900: [23:22:00] <Colin[pi]> simon_w|work: god dammit that image is seared into my brain, I CAN SEE IT IN MY HEAD
1901: [23:22:08] <adrexia> oh look for a really poor example of Hamish's code and get out a red marker
1902: [23:22:18] <SphereSilver> You did that wrong
1903: [23:22:22] <SphereSilver> AND that
1904: [23:22:23] <SphereSilver> AND that
1905: [23:22:31] <SphereSilver> AND that (and so forth :D )
1906: [23:22:34] <Colin[pi]> simon_w would do that I'm sure
1907: [23:22:35] <Colin[pi]> lol
1908: [23:23:14] <SphereSilver> I'm imagining simon_w now, looking at hamish like that :/
1909: [23:23:21] <antmas> lol
1910: [23:23:25] <SphereSilver> Bad picture. Bad one
1911: [23:23:27] <adrexia> ...
1912: [23:23:32] <adrexia> I can see that
1913: [23:23:37] <simon_w|work> Hamish can not handle that well at all
1914: [23:23:42] <simon_w|work> Would be hilarious :D
1915: [23:23:44] <Colin[pi]> haha
1916: [23:23:52] <Colin[pi]> hamish would go the same colour as the red marker
1917: [23:23:53] <Colin[pi]> :D
1918: [23:23:59] <SphereSilver> simon_w|work: Please record the moment?
1919: [23:26:02] <Colin[pi]> I think it's important as a dev, at ANY level, to be open to criticism of your code
1920: [23:26:21] <adrexia> agree
1921: [23:26:21] <Colin[pi]> no one creates anything that is perfect
1922: [23:26:26] <Colin[pi]> all software is flawed
1923: [23:26:27] <adrexia> also agree
1924: [23:26:27] <antmas> just give him some C# code and say he wrote it and tell him his PHP is wrong
1925: [23:26:40] <SphereSilver> Ow, absolutely, but some people have made critizising a sport instead of a construct
1926: [23:26:49] <Colin[pi]> yeah SphereSilver
1927: [23:26:54] <Colin[pi]> you need to follow the "dont be a dick" principle
1928: [23:27:09] <SphereSilver> I would fail at that principle.
1929: [23:27:11] <Colin[pi]> healthy criticism, not one that will destroy the poor soul
1930: [23:27:16] <adrexia> I like the ask a lot of questions approach
1931: [23:27:23] <Colin[pi]> the only way you can learn is by first failing
1932: [23:27:50] <adrexia> Colin[pi], its not even about failing sometimes
1933: [23:28:00] <adrexia> It's just about making the best thing you can make
1934: [23:28:21] <adrexia> but taking criticism and using it is a skill
1935: [23:28:30] <adrexia> and not everyone has a very thick skin
1936: [23:28:39] <SphereSilver> Always write your code, as if the person who will be maintaining your code is a psychopath maniac who knows where you live.
1937: [23:28:47] <SphereSilver> I'm said psychopath btw.
1938: [23:28:53] <UncleCheese> whoa
1939: [23:28:56] <UncleCheese> burkina faso
1940: [23:28:57] <adrexia> lolk
1941: [23:29:08] <simon_w|work> UncleCheese, what about it?
1942: [23:29:09] <SphereSilver> UncleCheese: What's with Burkina Faso?
1943: [23:29:16] <UncleCheese> the military just dissolved the government
1944: [23:29:19] <Colin[pi]> adrexia: I used to work with a designer who couldn't handle criticism of any form
1945: [23:29:30] <Colin[pi]> adrexia: she did good work, to be fair, but would go to ask for opinions of it
1946: [23:29:32] <adrexia> to be fair, its even more personal for deisgners
1947: [23:29:39] <Colin[pi]> adrexia: and if anyone said "well I like it BUT..."
1948: [23:29:44] <Colin[pi]> adrexia: she would just storm out
1949: [23:29:54] <antmas> Colin[pi]: did they go all Howard Moon on it?
1950: [23:29:55] <SphereSilver> UncleCheese: Literally dissolved? Because.... that would be weird
1951: [23:29:57] <adrexia> you're putting something out there that you put a lot of yourself into.
1952: [23:30:03] <UncleCheese> crazy
1953: [23:30:05] <adrexia> Designers need even thicker skins
1954: [23:30:12] <Colin[pi]> antmas: haha I love the Boosh
1955: [23:30:24] <antmas> why no new season :(
1956: [23:30:26] <SphereSilver> adrexia: NO! Designers need to get in touch with reality.
1957: [23:30:27] <UncleCheese> says here by next week, the country will be renamed "Pepsi presents the country formerly known as Burkina Faso"
1958: [23:30:30] <Colin[pi]> ikr? :(
1959: [23:30:52] <adrexia> SphereSilver, that's harsh
1960: [23:30:59] <SphereSilver> Ehhh, I don't think Pepsi would by a country....
1961: [23:31:02] <adrexia> could say the same for people in genera;
1962: [23:31:10] <Colin[pi]> adrexia: yeah it's not just designers
1963: [23:31:30] <Colin[pi]> I mean for designers its particularly personal because their pour their heart and soul into a design
1964: [23:31:32] <SphereSilver> Designers are like managers. You don't need them, but somehow, they are there.
1965: [23:31:39] <adrexia> look, making stuff is hard. It's not hard to understand that people will be defensive
1966: [23:31:47] <adrexia> ...
1967: [23:31:49] <antmas> SphereSilver: well, good luck designing as a developer
1968: [23:31:54] <adrexia> SphereSilver, you are very very wrong
1969: [23:31:56] <antmas> WHICH SHOULD NEVER HAPPEN
1970: [23:32:02] <Colin[pi]> http://motherfuckingwebsite.com/
1971: [23:32:03] <adrexia> A good deesigner will make or break a product
1972: [23:32:08] <Colin[pi]> ^ that's without a designer :D
1973: [23:32:10] <antmas> Colin[pi]: lol A+
1974: [23:32:16] <SphereSilver> antmas: I don't design, why should I?
1975: [23:32:26] <antmas> SphereSilver: who should?
1976: [23:32:32] <Colin[pi]> adrexia: very true
1977: [23:32:46] <Colin[pi]> it plays a BIG part in the success of the product
1978: [23:32:55] <Colin[pi]> people do judge books by covers, it's true
1979: [23:33:00] <Colin[pi]> I do, for one
1980: [23:33:01] <SphereSilver> adrexia: Yes, they are useless. Designing is like "let's make logical stuff as illogical but estethical as possible"
1981: [23:33:11] <adrexia> its not just a cover though. it's the entire UX
1982: [23:33:23] <Colin[pi]> mm simple analogy
1983: [23:33:33] <SphereSilver> I have yet to meet a designer who actually knows shit about interaction, user-driven-design etc.
1984: [23:33:36] <adrexia> If you build a bunch of features it doesn't matter if I don't know how to find them
1985: [23:33:45] <antmas> SphereSilver: so who should design a product you develop?
1986: [23:33:49] <adrexia> SphereSilver, see that's your problem
1987: [23:33:52] <Colin[pi]> SphereSilver: that might be your experience, there are some really talented ones around for UX
1988: [23:34:01] <kinglozzer> Oh gawd, if I see another website with the tagline "Large enough to X, small enough to Y" I think I'll have some sort of breakdown
1989: [23:34:08] <adrexia> you haven't met any designers
1990: [23:34:11] <adrexia> turns out
1991: [23:34:18] <SphereSilver> antmas, adrexia Nobody. It should be FUNCTIONAL, not "OOOOOHHHHH!!!! LOOK AT THE COLORING!"
1992: [23:34:32] <antmas> SphereSilver: a good designer will make it functional
1993: [23:34:42] <SphereSilver> That's not a designer
1994: [23:34:44] <simon_w|work> SphereSilver, you know you can have form and function, right?
1995: [23:34:56] <adrexia> afraid it is
1996: [23:35:08] * antmas grabs popcorn
1997: [23:35:08] <adrexia> those otehrs, they might be artists, but they are not designers
1998: [23:35:23] <SphereSilver> simon_w|work: I know, but I have yet to meet the first "designer" to even understand the basic difference between input and textarea
1999: [23:35:38] <adrexia> how is that even possible?
2000: [23:35:43] <Colin[pi]> SphereSilver: again, your experience.. you can't lump them all into the same basket
2001: [23:35:48] <adrexia> do you work with *web* designers?
2002: [23:35:50] <Colin[pi]> some are shit, others are great
2003: [23:35:50] <SphereSilver> Don't even try going on radio vs. checkbox.
2004: [23:35:53] <simon_w|work> SphereSilver, so stop getting people who know nothing about the web to do web design
2005: [23:36:05] <adrexia> that ^
2006: [23:36:06] <SphereSilver> adrexia: I write applications, no frontend needed.
2007: [23:36:15] <adrexia> you write sql queries?
2008: [23:36:22] * kinglozzer wonders if antmas has enough popcorn to share
2009: [23:36:25] <SphereSilver> Half of the day, sometimes, yes.
2010: [23:36:34] <adrexia> if there is a user there is a frontend of soem sort
2011: [23:36:45] * Ryan-Toast quit (Quit: Ryan-Toast)
2012: [23:36:51] <SphereSilver> no frontend user would use any application I write....
2013: [23:36:55] <SphereSilver> that would actually be weird
2014: [23:36:59] <adrexia> though obviously you'd need different skillsets depending on the frontend
2015: [23:37:02] <SphereSilver> I make API's
2016: [23:37:19] <adrexia> Well designed APIs also make life easier
2017: [23:37:21] <SphereSilver> Interfaces, Endpoints, that kind of stuff.
2018: [23:37:32] <Colin[pi]> adrexia: god yes, wow I've used some shit apis
2019: [23:37:34] <mahfuz> how to check whether an array is already created in Session?
2020: [23:37:35] <adrexia> I suppose the UX of APIs doesn't need webdesigners as such
2021: [23:37:54] <SphereSilver> The UX is defined in the docs
2022: [23:37:57] <adrexia> but it does need a high understanding of the users needs
2023: [23:37:58] <mudmonth> http://i.imgur.com/mnBhJcj.gif
2024: [23:38:01] <adrexia> yeah
2025: [23:38:36] <SphereSilver> The user's needs, are of no interest to me, that's up to the people talking to the API
2026: [23:38:58] <simon_w|work> SphereSilver, the people talking to the API are users
2027: [23:39:14] <adrexia> that ^%
2028: [23:39:42] <adrexia> Developers are users too. Their needs also matter
2029: [23:39:43] <SphereSilver> simon_w|work: No, not really, it's the endpoint application. The API just has to deliver
2030: [23:40:34] <SphereSilver> It just has to say "You want this? Ok, here's your data" or "You can't request that data, you're not logged on"
2031: [23:40:57] <simon_w|work> SphereSilver, so no one uses your API? Then what's the point of making it?
2032: [23:41:18] <adrexia> simon_w|work, I think its a terminology thing.
2033: [23:41:24] <SphereSilver> Where did you get the "no-one" part?
2034: [23:41:35] <simon_w|work> SphereSilver, from your API having no users
2035: [23:41:52] <SphereSilver> No, it does not have users indeed.
2036: [23:42:01] <simon_w|work> So no one uses it
2037: [23:42:07] <SphereSilver> But it does have other applications (developers) talking to it.
2038: [23:42:07] <adrexia> users = people who work with your api
2039: [23:42:15] <kinglozzer> http://i.imgur.com/6JMkARB.gif
2040: [23:42:20] <adrexia> <SphereSilver> But it does have other applications (developers) talking to it
2041: [23:42:31] <SphereSilver> I don't see developers who can talk to an API users, but intermediates.
2042: [23:42:32] <adrexia> those people - they are your *users*
2043: [23:42:52] <adrexia> the users on API's are developers
2044: [23:42:54] <adrexia> *of
2045: [23:43:00] <SphereSilver> You could see it that way indeed.
2046: [23:43:13] <SphereSilver> If you do... in that case, I'm indeed completely wrong.
2047: [23:43:24] <simon_w|work> That's kinda the definition of users
2048: [23:44:37] <SphereSilver> I see "users" as endpoint users. For example, frontend users, or visitors of a website.
2049: [23:45:04] <SphereSilver> I see "interfacing developers" as the link between my work and the user.
2050: [23:45:26] <mahfuz> I want to create an array in Session only once and add to it next onwards. How to check that?
2051: [23:45:28] <SphereSilver> True, they use my interface and such,.
2052: [23:45:50] <simon_w|work> mahfuz, get, see if it's an array
2053: [23:46:14] <SphereSilver> if(is_array($thingy)) {}
2054: [23:46:44] <mahfuz> thanks
2055: [23:46:45] <SphereSilver> and $thingy = Session::get('myData');
2056: [23:48:38] <adrexia> SphereSilver, yeah its sort of a terminology thing, but its helpful to understand that they are your users. what they do with the api isn't really your concern, but their experience with your API is.
2057: [23:49:00] <adrexia> they are you're immediate users, and your primary audience
2058: [23:49:05] <adrexia> *your
2059: [23:49:27] <SphereSilver> Yeah. I consider users as "the viewers of the data"
2060: [23:49:42] * adrexia nods
2061: [23:50:04] <SphereSilver> Not as "the interfacers" of the data
2062: [23:50:36] <SphereSilver> Although.... admitted
2063: [23:50:37] <adrexia> how you design, structure, and document your API has a direct impact on their experience
2064: [23:51:13] <SphereSilver> between the frontend and the users, is ofcourse also an interface.
2065: [23:51:55] <adrexia> yep
2066: [23:51:56] <SphereSilver> frontend and the interfaces*
2067: [23:52:11] * antmas quit (Quit: Page closed)
2068: [23:52:25] <adrexia> also, the term frontend is a bit ambigious
2069: [23:52:34] <SphereSilver> As I said, I see them differently, but you have a point :)
2070: [23:52:42] <adrexia> hmm, lunch time
2071: [23:52:53] <SphereSilver> Lunch time?
2072: [23:52:57] <SphereSilver> Bed time!
2073: [23:53:13] <SphereSilver> It's almost 1AM, I'm off to bed I guess.
2074: [23:54:06] <SphereSilver> First, let's clear the bedroom. Too many kittens.
2075: [23:54:23] <Colin[pi]> nn SphereSilver
2076: [23:55:58] * Ryan-Toast has joined #silverstripe
2077: [23:57:21] * kinglozzer quit ()
2078: [23:59:36] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
2079: [23:59:49] <Ryan-Toast> antmas: I’M SO FULL!

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