#silverstripe IRC Log

IRC log for 21 April 2014

All timestamps are in UTC.

1: [00:40:03] * pippy_ quit (Ping timeout: 240 seconds)
2: [00:41:58] * pippy has joined #silverstripe
3: [01:12:17] * SphereSilverNL quit (Quit: bye)
4: [01:16:44] * SphereSilverNL has joined #silverstripe
5: [01:17:38] <SphereSilverNL> https://www.youtube.com/watch?v=-kcOpyM9cBg
6: [01:18:11] <SphereSilverNL> Ode to joy.
7: [01:31:16] * SphereSilverNL quit (Quit: bye)
8: [02:01:29] * gelignite quit (Quit: http://bit.ly/nkczDT)
9: [02:12:09] <Colin[pi]> aw yiss, I'm going to Welly for WDCNZ
10: [02:32:10] <ss23> Yusss!
11: [02:32:38] <ss23> oh fuck, headphones on full when playing a song
12: [02:32:44] <ss23> oh man
13: [02:33:00] <ss23> not a song that started slowly either :(
14: [02:34:44] <Colin[pi]> hey man
15: [02:34:46] <simon_w|air> Was it 4'33"?
16: [02:42:08] <ss23> I don't understand the question
17: [02:42:08] <ss23> :O
18: [02:44:44] <Colin[pi]> ss23, I'll be in Welly 30 Jul, and leave in the arvo on 03 Aug
19: [02:45:31] <ss23> I should also be in Wellington then!
20: [02:45:31] <ss23> :D
21: [02:45:42] <ss23> Colin[pi]: Hit me up closer to the date. I presume some other people will come too
22: [02:46:55] <Colin[pi]> antmas will be there from 30-01
23: [02:47:28] * LoveDuckie_ quit (Read error: Connection reset by peer)
24: [02:47:46] <Colin[pi]> if I can i'd like to stop by and say hi at SS on Fri 1 Aug :D
25: [02:49:24] <ss23> well, I was more thikning going to a bar or something
26: [02:49:24] <ss23> :D
27: [02:49:52] <Colin[pi]> that too, but I'm there for official business, remember? ;)
28: [02:49:58] <Colin[pi]> for tax purposes lol
29: [02:50:39] <ss23> Pish posh!
30: [02:50:51] <ss23> Strengenthing business relations with SilverStripe Ltd!
31: [02:50:53] <ss23> By going out drinking
32: [02:50:54] <ss23> :D
33: [02:51:00] <Colin[pi]> yep :) send me an invitation lol
34: [02:51:28] * anselmdk has joined #silverstripe
35: [02:51:34] <Colin[pi]> I'll be staying on Dixon St
36: [02:51:38] <Colin[pi]> super closeby
37: [02:54:11] * Azure quit (Quit: My MBP went to sleep.)
38: [02:55:45] * Azure has joined #silverstripe
39: [02:58:07] <ss23> Pressure is mounting on Australian pharmacists to stop selling homeopathic products after a major review found there was no credible scientific evidence to support the alternative medicine.
40: [02:58:11] <ss23> hahahahahahahaha
41: [02:58:35] <ss23> I like that, it's like someone in Australia spent a good few million dollars doing a "study" once again to prove it has no benifit
42: [02:58:39] <ss23> :P
43: [03:00:36] <Colin[pi]> yeah that's kinda embarrassing :(
44: [03:00:45] <Colin[pi]> like you needed a fucking study to tell it's bullshit
45: [03:01:29] <ss23> Well I'm all for studies, just not for one on something that's been studied like fuck already :P
46: [03:06:07] <Colin[pi]> ss23 you'll have to burgerfuel me while I'm there
47: [03:08:57] <ss23> :D
48: [03:08:58] <ss23> Can do!
49: [03:09:01] <ss23> Speaking of... I'm hungry
50: [03:09:02] <ss23> :O
51: [03:14:21] <simon_w|air> <Colin[pi]> I'll be staying on Dixon St
52: [03:14:21] * simon_w|air knows why ;)
53: [03:14:31] <Colin[pi]> why?
54: [03:14:53] <simon_w|air> Strip club, Subway, cafe, pub, strip club, strip club
55: [03:14:59] <Colin[pi]> oh really? sweet!
56: [03:15:19] * Colin[pi] goes to look at street view
57: [03:20:36] <Colin[pi]> I literally have no idea about Wellington, complete n00b
58: [03:22:05] * cloph has joined #silverstripe
59: [03:22:06] * UncleCheese_ quit (Quit: UncleCheese_)
60: [03:22:21] * cloph_away quit (Ping timeout: 250 seconds)
61: [03:22:28] <simon_w|air> Don't worry, nor does ss23 :p
62: [03:24:04] <ss23> lol
63: [03:24:06] <ss23> I KNOW SOME THINGS
64: [03:37:19] <Colin[pi]> weta cave worth going to?
65: [03:41:51] <ss23> Is that the random building, ro something else?
66: [03:41:59] <ss23> cause I went to the weta something, which was just basically a store
67: [03:42:01] <ss23> It was lame.
68: [03:42:04] <Colin[pi]> http://www.wetanz.com/cave/
69: [03:42:48] <ss23> Entry to the Weta Cave Shop with its film screening is FREE!
70: [03:42:50] <ss23> this one is lame
71: [03:43:52] <Colin[pi]> that's just the gift shop isn't it?
72: [03:47:23] <ss23> yeah
73: [03:57:53] <Avroceptyr> yeah, it's a gift shop with some cool statues / merch
74: [03:58:13] <Avroceptyr> plus there's a 20 minute free watching room + a 45minute paid tour of one of the workshops
75: [03:58:44] <Avroceptyr> I really enjoyed walking around the cave looking at the stuff, but it's no museum by any stretch
76: [03:59:09] <Avroceptyr> The cafe up the road from it has really good food - that was my highlight! :D
77: [03:59:11] * CodeTrap quit (Ping timeout: 252 seconds)
78: [03:59:50] <Avroceptyr> ss23: I'm leaving Wellington and we never saw each other in real lives
79: [04:00:03] * CodeTrap has joined #silverstripe
80: [04:07:07] <simon_w|air> Avroceptyr, I'm leaving first!
81: [04:07:16] <Avroceptyr> simon_w|air: when are you leaving?!
82: [04:07:20] <simon_w|air> Friday
83: [04:07:26] <Avroceptyr> Wednesday!
84: [04:07:49] <Colin[pi]> y'all leaving and I'm visiting!
85: [04:07:54] <Colin[pi]> that's why
86: [04:07:55] <Colin[pi]> ;D
87: [04:08:01] <Avroceptyr> what's the common thread here...? :P
88: [04:08:48] <Colin[pi]> this is the worst 'map' I've ever seen: http://i.imgur.com/4X0KvNP.png
89: [04:11:52] <simon_w|air> It's fairly accurate?
90: [04:12:22] <Colin[pi]> just doesn't give a lot of info.. guess I'm fine if I reach the domestic baggage ;)
91: [04:12:36] <simon_w|air> International arrivals is on the right
92: [04:12:42] <simon_w|air> Well, left
93: [04:13:04] <Colin[pi]> so it's basically out the front doors?
94: [04:13:10] <simon_w|air> Yup
95: [04:13:14] <Colin[pi]> ah k :)
96: [04:13:54] * babak has joined #silverstripe
97: [04:17:42] <simon_w|air> Engagement party time!
98: [04:17:48] <Colin[pi]> ohh!
99: [04:17:48] <simon_w|air> People should give me stuff :D
100: [04:18:08] * simon_w|air quit (Quit: Leaving)
101: [05:27:08] * henkpoley has joined #silverstripe
102: [05:27:15] * henkpoley quit (Client Quit)
103: [07:10:06] * anselmdk quit (Quit: anselmdk)
104: [08:15:37] * svandragt has joined #silverstripe
105: [08:17:07] <svandragt> Somewhere between 3.0.10 and 3.1.4 ArrayList started to discard indexes from the array passed into it :( anyone else noticed?
106: [08:18:14] <svandragt> I pass in 10 -> test and I get back 0 -> test this breaks things :(
107: [08:22:24] * anselmdk has joined #silverstripe
108: [08:23:20] <svandragt> ffr https://github.com/silverstripe/silverstripe-framework/commit/9d74c99e085f6940225fae959746930a6ceadc28
109: [08:43:42] * UncleCheese has joined #silverstripe
110: [08:46:02] * VRoxane quit (Quit: Page closed)
111: [09:37:30] * anselmdk quit (Quit: anselmdk)
112: [10:36:27] * UncleCheese quit (Quit: UncleCheese)
113: [10:39:17] * Colin[pi]-2 has joined #silverstripe
114: [10:41:20] * Colin[pi] quit (Ping timeout: 276 seconds)
115: [11:16:38] * anselmdk has joined #silverstripe
116: [11:47:55] * anselmdk quit (Quit: anselmdk)
117: [13:13:28] * gelignite has joined #silverstripe
118: [13:15:47] * Colin[pi]-2 quit (Ping timeout: 245 seconds)
119: [13:24:56] * LoveDuckie_ has joined #silverstripe
120: [13:25:01] * LoveDuckie_ quit (Remote host closed the connection)
121: [13:34:00] * anselmdk has joined #silverstripe
122: [13:49:10] * VRoxane has joined #silverstripe
123: [14:02:42] <VRoxane> Hello everyone ! Is there a new way of adding fields to Page class in 3.1 ? It doesn't appear in the backoffice. The field exists in the database though... and I have no pb adding fields to other class extending Page.
124: [14:11:39] * anselmdk quit (Quit: anselmdk)
125: [14:17:12] <VRoxane> Found my mistake, nevermind.
126: [14:53:39] * catcher has joined #silverstripe
127: [15:20:36] * anselmdk has joined #silverstripe
128: [15:23:46] * muskie9 has joined #silverstripe
129: [16:10:40] * DesignerX quit (Quit: Konversation terminated!)
130: [16:20:41] * muskie9 quit (Ping timeout: 264 seconds)
131: [16:39:28] * bti has joined #silverstripe
132: [16:39:36] * muskie9 has joined #silverstripe
133: [16:40:05] <bti> hello. given a fieldlist with many fieldgroups, is there a way i can get a fieldgroup by its title?
134: [16:45:03] <catcher> bti, have you tried $fields->fieldByName('name')?
135: [16:53:30] * anselmdk quit (Quit: anselmdk)
136: [16:55:39] <bti> catcher, yeah it returns NULL
137: [17:18:50] * Maarten has joined #silverstripe
138: [17:26:09] <Maarten> I'm changing the itemtexts from a dropdownlist in the CMS-page with jQuery/Entwine. But what's the right way to do this with Entwine? Reason for asking is that the component exists the original select tag (hidden) and a layout overlay, so double data. I wonder if there is some special method to change the itemtexts/selected item with Entwine. Anybody?
139: [17:26:51] * danfo has joined #silverstripe
140: [17:36:38] * LoveDuckie_ has joined #silverstripe
141: [17:39:27] <Maarten> anybody knows how to set the itemtexts of a dropdownlist by using Entwine?
142: [17:41:39] * danfo quit (Quit: danfo)
143: [17:54:40] <catcher> Maarten, should be pretty straight forward once you get the match selection right
144: [17:55:36] <catcher> Is the issue getting the entwine match? Or changing the itemtexts?
145: [17:55:38] * muskie9 quit ()
146: [17:56:24] <Maarten> catcher yes, that's true, but to change the itemtext it's got to change on two places. One in the hidden option itself, and one in the layout overlay. And if that option is selected, it also needs to be updated in the selected item-text you see when the dropdownField is closed.
147: [17:57:01] <Maarten> No problem to do it myself, but it seems like there should be some code somewhere around in SS3 that already handles this
148: [17:58:09] <Maarten> I'm still looking where the javascript logic is for the dropdownlist in the Silverstripe framework. Seems like it's a jquery.UI component? anyway, haven't found the js-code of the dropdownlist yet
149: [17:58:28] * danfo has joined #silverstripe
150: [17:58:35] <Maarten> framework = cms
151: [17:58:51] <catcher> Maarten, are you wanting to patch the core and submit it? Or just work around it for your case?
152: [18:00:16] <Maarten> catcher No, I don't change the core. I've added additional js to my page to directly update the dropdownlist, when the user changes texts in other fields
153: [18:01:10] <Maarten> so what I want is making the texts of the dropdownlist the same as the entered text in the textfields
154: [18:01:31] <catcher> Maarten, are you asking how to use entwine? Or how to write the js to modify the text?
155: [18:05:15] * bti quit (Quit: Textual IRC Client: www.textualapp.com)
156: [18:07:37] <Maarten> catcher I want to change the itemtexts inside the styled (combined) dropdownlist component. I can do this with jQuery, but it seems like texts have to be changed on more than one place and I need to check if the text is not selected to change the selected text when the list is closed. This feels to much as a hack so I wonder whats the right way. is there is some higher method to do this in entwine / jquery ui?
157: [18:09:30] <Maarten> catcher ...or do you know where I can find the ss javascript logic for dropdownlists? 'cause so far I didn't find the javascript file responsable for handling dropdownFields
158: [18:11:27] * danfo quit (Quit: danfo)
159: [18:12:24] <catcher> Maarten, why can't you change them in more than one place with jQuery?
160: [18:14:06] <catcher> Maarten, I suspect trying to override the DropdownField's js will be more problematic than writing some custom entwined jquery to handle your case.
161: [18:14:48] <Maarten> catcher I can. But it seems to be too much redundant code for something that's cms build in functionality. I don't want to override the dropdownfields js, but I want to look how ss does it
162: [18:15:47] <Maarten> but if there is no easier way to do it, no problem
163: [18:16:14] <Maarten> I just/rather like to use the system how it's meant to be
164: [18:18:28] <Maarten> and the thing is... the texts aren't changing if I do it in jQuery, so it looks like some logic is preventing it
165: [18:22:09] <Maarten> catcher and i see now that's the case: if the dropdownlists opens the texts are changed back by some javascript
166: [18:23:00] <catcher> Maarten, is your jquery entwined?
167: [18:23:26] <Maarten> catcher what do you mean?
168: [18:24:22] <catcher> Maarten, entwine does things helping your code persist across cms ajax loads.
169: [18:24:48] <catcher> there's some info on it here: http://doc.silverstripe.com/framework/en/topics/javascript
170: [18:25:01] <Maarten> catcher You mean the dropdownlist loads it's data by ajax while opening?
171: [18:25:29] <Maarten> catcher thanks, I'll look at i
172: [18:25:31] <Maarten> t
173: [18:32:56] <Maarten> no, the dropdownlist doesn't use ajax calls, so the itemtexts must be stored somewhere inside some javascript, 'cause I changed all texts I could find in html
174: [18:35:35] <catcher> Maarten, when I mention ajax calls, I'm talking about your code persisting when people navigate around the CMS.
175: [18:35:59] <catcher> Without entwine (or targeting a persistent parent), your code will stop working. But the part you're talking about so far doesn't have anything to do with entwine.
176: [18:38:02] <Maarten> catcher You're right. And at the moment I stopped testing with Javascript and do it directly into chromeelements-tab. If I change all itemtexts in the dropdownlist, they're changed back when I open the dropdownlist. It's done by javascript somewhere, but I can't find that file to look how I can change the data by javascript.
177: [18:38:43] <Maarten> I'm sure it's got to be some stupid thing, but it's starting to drive me nuts
178: [18:44:34] <catcher> Maarten, just to be sure I understand, you need the text to change based on some other CMS actions?
179: [18:44:53] <catcher> Or do you just need to set the item labels once?
180: [18:46:02] * violetina has joined #silverstripe
181: [18:46:51] <Maarten> catcher I need to change the labels inside the dropdownfield when on the same CMS editPage the user changes text in a TextField
182: [18:48:32] <Maarten> catcher maybe this helps to understand. it's a quiz program with multiple choice. there are 4 answerfields and one dropdownlist to select the true answer. so if the user changes one of the answerfields, the dropdownlist should change the answers in the list too
183: [18:50:01] <Maarten> catcher I don't want the CMS-user to press SAVE everytime, so I want the dropdownField to change directly after chaning an answer
184: [18:50:16] <Maarten> changing
185: [18:51:18] <Maarten> catcher To be complete: the other way around is already working: when selecting an answer from the dropdownField that answers TextField got the 'trueanswer' class
186: [18:52:43] <Maarten> (so that it gets green to indicate the right answer). So now I want the other live-update to work: changing the answers --> the trueanswer dropDownlists gets updated
187: [18:54:25] <catcher> Maarten, I'd suggest trying entwine, which may or may not help. If not, I'm not sure how to make your rules load after the others.
188: [18:54:47] <Maarten> ah, I get you
189: [18:58:20] * Ryan-Toast has joined #silverstripe
190: [18:58:58] <catcher> Maarten, I haven't used this, but it may be helpful for you: https://github.com/sheadawson/silverstripe-dependentdropdownfield/tree/master/code
191: [19:18:02] * r3v3rb has joined #silverstripe
192: [19:19:01] <Maarten> catcher thanks, I looked at it and it's a nice tool to have, but unfortunately no answer, 'cause I don't need to get the data from the server (already have it in the form). Just figured out the code for the dropdownlist is thirdparty chosen.jquery.js and that's used inside LeftAndMain.js... getting a little closer
193: [19:19:12] <r3v3rb> simon_w - I am trying to work out your gridfieldrelation handler ;) do you have two seconds?
194: [19:22:21] <r3v3rb> I have this: http://pastie.org/private/lnv827rj1pmzse4kakna but the gridfield shows only the records I have manually assigned when changing relation status - I need it to show all the 'MailRecipient' items and then allow me to choose which are actively attached so to speak
195: [19:24:14] <r3v3rb> should I be trying to use a 'UnsavedRelationList' in the first instance of a new 'Message'
196: [19:31:09] <r3v3rb> anyone?
197: [19:36:06] * LoveDuckie_ quit (Read error: Connection reset by peer)
198: [19:36:42] * Ryan-Toast quit (Quit: Ryan-Toast)
199: [19:37:29] * Ryan-Toast has joined #silverstripe
200: [19:43:02] * travis-ci has joined #silverstripe
201: [19:43:02] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2363 (master - 99c4b58 : Damian Mooyman): The build passed.
202: [19:43:02] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/1005593dbac4...99c4b586810d
203: [19:43:02] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/23453000
204: [19:43:02] * travis-ci has left #silverstripe
205: [19:57:14] <Maarten> catcher Yess!! I finally got it!!!!! What a pain in the ass for such a simple wish... That jquery.chosen plugin got it's own life. It's got its own methods to edit/add and change listitems and a refreshmethod to update the layout. Finally found what I was looking for. I bet there was some higher logic to it. Damn
206: [19:57:23] <Maarten> catcher So now it's working!!
207: [19:58:54] <Maarten> catcher btw Entwine unused. (I tried the changed event, but when an answer changes twice the event only got raised once, because the changed-class was already there). Anyway, I'm happy now :)
208: [19:59:46] * r3v3rb quit (Quit: Textual IRC Client: www.textualapp.com)
209: [20:00:21] * Azure quit (Quit: Blue Sky Fish)
210: [20:01:08] * Azure has joined #silverstripe
211: [20:05:20] <catcher> Maarten, awesome, glad you got it working. Just make sure it still works after navigating around your CMS (without a page refresh)
212: [20:08:30] <Maarten> catcher f*ck, thanks man :p you're right, it's only working before I start navigating... damn
213: [20:09:08] <catcher> Maarten, np, this is where entwine comes in
214: [20:09:26] <catcher> Maarten, or, you can target something high enough in the DOM that doesn't get reloaded.
215: [20:11:23] <Maarten> catcher Now I have the functions inside jquery ready. what's the way to do it with entwine? is there some event to put it into?
216: [20:14:02] <catcher> Maarten, sort of, you basically match the entwine to an element. This example should help: http://doc.silverstripe.com/framework/en/topics/javascript
217: [20:20:31] * danfo has joined #silverstripe
218: [20:21:49] * SightUnseen has joined #silverstripe
219: [20:21:57] * SightUnseen has left #silverstripe
220: [20:24:57] * Ryan-Toast quit (Quit: Ryan-Toast)
221: [20:28:44] <Maarten> catcher I looked at your Entwine link again, but I don't know how to get a change event everytime something changes. After a change happens the changed-class is added to the changed element and if it changes again, the class is still there, so the event don't raise anymore.
222: [20:29:20] <Maarten> catcher I could ofcoarse remove the class after a change event, but I'm not sure if that disturbs some other thing, like updating the database on SAVE or something
223: [20:30:48] <Maarten> cacher But on jQuery I found the solution: instead of using .on() for binding the change-events, I now use .live(). That's also working for elements added to the DOM at later time. Never new the difference between on() and live(), so this was a learning experience :)
224: [20:31:52] <Maarten> catcher Hopefully the garbage collector removes the old events, but that's for worriing later. I call it a day
225: [20:32:22] <Maarten> catcher Thanks a lot for all your great help! You really pointed me in the right directions. Thanks!!
226: [20:36:58] * an_Eskimo has joined #silverstripe
227: [20:37:09] * Stomach has joined #silverstripe
228: [20:39:22] <catcher> Maarten, live() is deprecated, you may want to figure out the problem to get it working with on()
229: [20:39:36] <catcher> Maarten, np!
230: [21:03:40] <VRoxane> Anyone has already delt with this error : "[User Error] Couldn't find field Pieces in any of Lot's tables" ? Pieces is a field of Lot but the search engine can't deal with it.
231: [21:04:10] <VRoxane> Of course I dev/built and tried with another DO - works perfectly
232: [21:09:25] * Maarten quit (Quit: Page closed)
233: [21:10:11] * UncleCheese_ has joined #silverstripe
234: [21:35:51] * Ryan-Toast has joined #silverstripe
235: [21:38:17] * VRoxane quit (Quit: Page closed)
236: [21:40:11] * Colin[pi] has joined #silverstripe
237: [21:40:18] <Stomach> morning
238: [21:40:26] <Ryan-Toast> Yo, dawg.
239: [21:41:18] <Stomach> happy 3 day week!
240: [21:42:09] <Ryan-Toast> If I didn’t have so much work to do I would have taken them off. Sigh.
241: [21:42:30] <Stomach> yeah me too
242: [21:42:42] <Ryan-Toast> but my motivation, I left it in my bed.
243: [21:42:42] <Stomach> that would have been nice
244: [21:42:48] <Stomach> haha
245: [21:42:51] <Ryan-Toast> that sounded wrong/
246: [21:43:03] <Stomach> splurged it all over your bed wrong?
247: [21:43:14] <Ryan-Toast> Nah, she took the day off.
248: [21:43:30] <Stomach> Probably for the best then
249: [21:45:06] <Ryan-Toast> yup.
250: [21:45:08] <Ryan-Toast> sigh.
251: [21:45:13] <Ryan-Toast> need to block reddit.
252: [21:50:58] <lrniningine> if i want to test if a dataobject query has zero items do i use count()?
253: [21:51:06] <lrniningine> what's the normal convention
254: [21:53:17] <Stomach> at work I don't reddit or facebook
255: [21:53:22] <Stomach> so I just follow repos on github
256: [21:53:32] <Stomach> and read peoples conversations in pull requests and pretend its work
257: [21:55:54] * danfo quit (Quit: danfo)
258: [21:56:35] * robert_ quit (Quit: brb, reboot..!)
259: [21:59:22] <UncleCheese_> lrniningine: use ->exists()
260: [22:05:11] <Ryan-Toast> Stomach:I stare at my kindle and wonder if I could just read all day and get away with it.
261: [22:05:33] <Stomach> I bet you could
262: [22:05:54] <Colin[pi]> morning all!
263: [22:05:55] <Stomach> I haven't been reading much lately, started Forge of Darkness like 2 weeks ago and still haven't finished it
264: [22:05:59] <Stomach> yo Colin
265: [22:06:17] * danfo has joined #silverstripe
266: [22:07:34] <Stomach> man I really hate that I can't merge a DataList with another ArrayList sometimes.
267: [22:11:13] <Colin[pi]> Stomach: can you use: $List = $DataList->records(); $List->merge($ArrayList); ?
268: [22:12:05] <Ryan-Toast> Stomach: I read three books over the weekend. Good times. Bad hangovers.
269: [22:12:10] <Stomach> the method 'records' does not exist on 'DataList'
270: [22:12:53] <Colin[pi]> oh shit nm
271: [22:12:58] <Colin[pi]> I was looking at the wrong class
272: [22:12:58] <Colin[pi]> lol
273: [22:13:05] <Stomach> haha :D
274: [22:22:30] <Colin[pi]> simon_w: how was the party?
275: [22:27:29] * violetina quit (Remote host closed the connection)
276: [22:33:16] * boytikz1 has joined #silverstripe
277: [22:34:42] * catcher quit (Quit: Leaving)
278: [22:35:38] * gelignite quit (Quit: http://bit.ly/nkczDT)
279: [22:47:24] * robert_ has joined #silverstripe
280: [22:47:25] * robert_ quit (Changing host)
281: [22:47:25] * robert_ has joined #silverstripe
282: [22:58:08] * UncleCheese_ quit (Quit: UncleCheese_)
283: [22:58:27] * jordanmk has joined #silverstripe
284: [23:03:11] * jedateach has joined #silverstripe
285: [23:09:53] * robert_ quit (Ping timeout: 255 seconds)
286: [23:15:14] * boytikz1 quit (Ping timeout: 240 seconds)
287: [23:19:45] * Bollig|DesignCty has joined #silverstripe
288: [23:35:11] * boytikz has joined #silverstripe
289: [23:41:28] <ss23> http://codepad.viper-7.com/yNdIGF
290: [23:43:38] <Colin[pi]> wut
291: [23:43:52] <Colin[pi]> shouldn't the last one be null?
292: [23:43:53] <ss23> yeah.
293: [23:44:16] <spronk> lul
294: [23:44:23] <Colin[pi]> "NULL if the constant is not defined."
295: [23:44:23] <ss23> naw, because 'true' is a constant too
296: [23:44:27] <Colin[pi]> oh
297: [23:44:27] <Colin[pi]> OH
298: [23:44:32] <Colin[pi]> yeah that's right
299: [23:45:01] <Colin[pi]> I don't think php has anything on JS though
300: [23:45:27] <spronk> ugh
301: [23:45:27] <ss23> lol
302: [23:45:31] <ss23> for sure
303: [23:45:33] <spronk> js is a fucking clusterfuck
304: [23:45:34] <spronk> of shit
305: [23:45:37] <spronk> you can't do anything with it
306: [23:46:03] <ss23> simon_w: does HHVM replicate this behavior BTW? http://codepad.viper-7.com/yNdIGF :D
307: [23:46:08] <spronk> though tbh sometimes i lump all dynamic languages into the same boat.. want my refactoring tools :(
308: [23:46:22] <Colin[pi]> if anyone hasn't seen it, I love this presentation on the topic: https://www.destroyallsoftware.com/talks/wat
309: [23:46:25] <ss23> Someone wrote a compiler for PHP that did PHP -> LLVM Bytecode
310: [23:46:31] <ss23> So you can use all your refactoring tools probably
311: [23:46:35] <ss23> Colin[pi]: ya, is lulz
312: [23:47:40] <spronk> eh?
313: [23:47:50] * boytikz quit (Ping timeout: 276 seconds)
314: [23:47:51] <spronk> why would llvm bytecode help with refactoring tools?
315: [23:49:31] <ss23> spronk: because you can use the entire range of shit already built!
316: [23:49:39] <spronk> o_O
317: [23:49:53] <spronk> there are refactoring tools that use llvm bytecode?
318: [23:49:57] <ss23> idk
319: [23:50:03] <ss23> There are llvm refactoring toolchain shit thingies
320: [23:50:13] <ss23> Major part of building LLVM was so you could easily do refacotring and crap on code
321: [23:50:19] <spronk> o_O
322: [23:51:29] <Colin[pi]> ಠ_ಠ
323: [23:52:16] <spronk> man, you watch uncle bob's screencasts where he's using java and all the crazy refactoring tools in IDEA
324: [23:52:29] <spronk> makes me feel sad using dynamic languages
325: [23:55:08] <Colin[pi]> lol: http://i.imgur.com/JOiXFT1.jpg
326: [23:55:14] <Colin[pi]> (very topical)

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