#silverstripe IRC Log

IRC log for 21 August 2014

All timestamps are in UTC.

1: [00:02:04] <Kingy> I mean I could possibly understand a 'why haven't you done anything' a week after signing up
2: [00:02:21] <Kingy> but 3 emails in less than an hour for only putting in an email address. slightly spammy
3: [00:03:36] <Colin[pi]> Kingy: some places think the more emails the better for some reason
4: [00:03:50] * giarc has joined #silverstripe
5: [00:06:09] * joelpittet has joined #silverstripe
6: [00:08:01] <Ryan-Toast> How can I filter a dataobject if it has more than 1 many_many relations?
7: [00:08:32] <Kingy> Ryan-Toast: explain more
8: [00:08:53] * micmania1 quit (Quit: micmania1)
9: [00:08:53] <Ryan-Toast> Kingy: Need to display dataobjects that belong to more than one parent
10: [00:15:00] <Ryan-Toast> Kingy: Any ideas?
11: [00:15:38] <Kingy> not really sorry
12: [00:15:55] * Azure has joined #silverstripe
13: [00:17:50] * [1]firefox2kx has joined #silverstripe
14: [00:18:38] <Ryan-Toast> Hmm
15: [00:20:17] * firefox2kx quit (Ping timeout: 260 seconds)
16: [00:20:34] <Colin[pi]> Ryan-Toast: sounds like a simon_w|work question
17: [00:20:45] * micmania1 has joined #silverstripe
18: [00:20:53] <Ryan-Toast> Colin[pi]: Probs something simple as fuck that makes me feel like a retard.
19: [00:21:03] <simon_w|work> Ryan-Toast, with difficulty
20: [00:21:05] <Colin[pi]> Ryan-Toast: I have many of those moments each day ;)
21: [00:21:14] <Ryan-Toast> simon_w: orly?
22: [00:21:20] <simon_w|work> yes
23: [00:21:27] <Ryan-Toast> simon_w: lame
24: [00:22:31] <Ryan-Toast> Going to have some lunch and think on it.
25: [00:22:58] * Azure quit (Quit: Blue Sky Fish)
26: [00:23:34] * j3st3r has joined #silverstripe
27: [00:23:51] <simon_w|work> Ryan-Toast, easiest option within the DataList ORM is a subquery inside a where()
28: [00:25:54] <spronk> https://nzelection.askaway.org.nz/ upvote my question bitches
29: [00:26:33] <Kingy> done
30: [00:26:48] <spronk> kingy wins
31: [00:27:03] <spronk> some decent questions on here, really
32: [00:27:36] <Kingy> yeah and some pretty high up people answering
33: [00:27:53] <simon_w|work> Huh, it appears to be cookie based
34: [00:27:56] <simon_w|work> Easy enough to game :p
35: [00:28:07] <Kingy> lolol
36: [00:28:33] <Kingy> wait there is someone other than Peter Dunne in UF?
37: [00:28:50] <spronk> haha, IKR
38: [00:29:00] <spronk> apparently there's a whole list of them
39: [00:29:01] * jenniferaslan quit (Quit: jenniferaslan has left the room)
40: [00:30:41] <simon_w|work> They used to get in as well
41: [00:30:52] <spronk> scary thought
42: [00:31:08] <Colin[pi]> spronk: so... based on your question, you're tired of politics?
43: [00:31:11] * giarc quit (Quit: Leaving.)
44: [00:31:21] <spronk> yussss
45: [00:31:22] <spronk> :P
46: [00:31:25] <Colin[pi]> lol
47: [00:32:12] <Colin[pi]> wasn't it billy connolly who said... "anyone who wants to become a politician should immediately be banned from becoming one"
48: [00:33:03] <spronk> :D
49: [00:33:17] <spronk> good quote regardless
50: [00:33:26] <spronk> hmm
51: [00:33:29] <spronk> where did my biscuit go? :(*
52: [00:34:41] <simon_w|work> You ate them?
53: [00:34:55] <spronk> ... that may be the case
54: [00:35:21] <spronk> i don't remember doing that though, so... :(
55: [00:39:30] <simon_w|work> Where they hash cookies?
56: [00:39:32] <Kingy> spronk: I think you may have a problem
57: [00:39:36] <Colin[pi]> simon_w|work: haha
58: [00:41:04] * Azure has joined #silverstripe
59: [00:42:57] <spronk> D:
60: [00:47:18] * micmania1 quit (Quit: micmania1)
61: [00:53:16] * babak has joined #silverstripe
62: [00:53:53] <Kingy> fuck it's cold outside
63: [00:54:25] <Colin[pi]> Kingy: sounds like simon_w|work weather
64: [00:54:28] <Colin[pi]> :D
65: [00:54:49] <simon_w|work> Everything's coming up simon_w|work?
66: [00:55:01] <Colin[pi]> lol
67: [01:03:09] * joelpittet quit ()
68: [01:07:02] * Stomach quit (Quit: zzz)
69: [01:15:10] * oddnoc quit (Quit: oddnoc)
70: [01:19:19] * kerosene quit (Ping timeout: 255 seconds)
71: [01:20:00] <spronk> oh wow
72: [01:20:02] <spronk> www.bnz.co.nz
73: [01:20:06] * giarc has joined #silverstripe
74: [01:20:18] <ss23> ?
75: [01:20:20] <ss23> What about it?
76: [01:20:22] <spronk> specifically
77: [01:20:22] <ss23> The weird loading
78: [01:20:22] <Kingy> spronk:?
79: [01:20:22] <spronk> https://www.bnz.co.nz/personal-banking/credit-cards
80: [01:20:23] <ss23> woah
81: [01:20:24] <ss23> this is weird
82: [01:20:31] <spronk> new site
83: [01:20:32] <spronk> sorta
84: [01:20:44] <ss23> woah
85: [01:20:46] <ss23> that's fancy
86: [01:20:46] <ss23> :O
87: [01:20:51] <Kingy> why is there a gap between nav bars
88: [01:20:54] <Kingy> looks funky
89: [01:21:00] <spronk> its SS too, i think
90: [01:21:10] <spronk> but
91: [01:21:11] <spronk> its kinda lol
92: [01:21:18] <spronk> because that is the only section of the site in that new look...
93: [01:21:23] <Kingy> lol
94: [01:21:28] <Olliepop> it looks retarded because they're so close together yet seperated
95: [01:22:02] <Olliepop> would be better if it was at the bottom of hero until scroll imo
96: [01:22:26] <spronk> the old design looks a bit better still, IMO
97: [01:23:30] <Olliepop> I'm a big fan of the bnz homepage
98: [01:23:53] * kerosene has joined #silverstripe
99: [01:24:00] <spronk> bleh :P
100: [01:27:32] * ^pH has joined #silverstripe
101: [01:30:49] * Stomach has joined #silverstripe
102: [01:45:00] * Stomach quit (Quit: zzz)
103: [01:46:41] * giarc quit (Quit: Leaving.)
104: [01:48:30] * micmania1 has joined #silverstripe
105: [01:48:56] * Stomach has joined #silverstripe
106: [01:55:27] * giarc has joined #silverstripe
107: [02:01:12] <pippy> spronk: +1
108: [02:01:30] <pippy> better but still average
109: [02:01:35] <spronk> mm..
110: [02:02:38] * Jakx has joined #silverstripe
111: [02:03:35] <Jakx> Is it possible to select which DataObjectDecorator, class I'd like to initialise, depending on a variable?
112: [02:04:34] <Jakx> Specifically, so that only methods defined in that decorator, are initialised when necessary?
113: [02:05:28] <j3st3r> elo
114: [02:05:31] <j3st3r> whats this channel about
115: [02:05:32] <j3st3r> ?
116: [02:06:17] <Jakx> j3st3r, an opensource framework, and CMS, developed by a company in NZ with the same name.
117: [02:06:24] <willr> Jakx when do you know the variable? You should really have the extension added via the config pretty early on
118: [02:06:39] <j3st3r> ah
119: [02:06:41] <j3st3r> I see
120: [02:07:05] <Jakx> @willr, the variable is known via an http header, passed by an API call.
121: [02:07:23] <j3st3r> well I'm in nz so I guess thats a start :p
122: [02:07:39] <j3st3r> just looking for good dev channels in nz - any good nz channels on freenode ?
123: [02:08:12] <j3st3r> web development mainly
124: [02:09:05] <spronk> this one
125: [02:09:08] <spronk> we am da best
126: [02:09:16] <spronk> amirite guys?
127: [02:09:44] <Jakx> _b
128: [02:10:01] <Kingy> spot on spronk
129: [02:10:18] <Kingy> j3st3r: what kind of dev work do you do
130: [02:10:31] <j3st3r> product development
131: [02:10:38] <j3st3r> I've got my own product since years
132: [02:10:50] <j3st3r> prefer to not say which product
133: [02:11:07] <Kingy> web based?
134: [02:11:10] <j3st3r> yse
135: [02:11:10] <j3st3r> yes
136: [02:11:28] <Kingy> nice
137: [02:11:29] <j3st3r> html5
138: [02:11:32] <Kingy> php?
139: [02:12:03] <j3st3r> no only clientside
140: [02:12:21] * ajmitch wonders what other nz irc channels there are
141: [02:12:22] <Kingy> interesting
142: [02:12:50] <Kingy> ajmitch: I'm sure there are plenty. Probably not related to dev though
143: [02:13:17] <j3st3r> right now doing a lot of node-webkit dev
144: [02:13:23] <Kingy> quite a lot actually
145: [02:13:36] <Kingy> #nodejs-nz
146: [02:13:47] <Kingy> maybe not lol
147: [02:13:56] <j3st3r> hehe
148: [02:14:21] <j3st3r> so what do you guys think of the drama on herald re:whaledump
149: [02:14:29] <Kingy> ajmitch: you found ubuntu-nz :P
150: [02:14:33] <j3st3r> (offtopic I know)
151: [02:14:34] <ajmitch> #dunedintech has a few people, but that's mostly just dunedin
152: [02:15:02] <Kingy> j3st3r: whaledump sounds/acts like the /b/tard douche that he is
153: [02:15:12] <Kingy> the actual data though is pretty messed up
154: [02:15:15] <j3st3r> I got a suspect actually
155: [02:15:28] <j3st3r> He left some signatures in a picture he posted
156: [02:15:47] <j3st3r> that I found in a account by a hacker in christchurch
157: [02:15:51] <j3st3r> a flickr account
158: [02:16:00] <j3st3r> no smoking gun yet but quite telling
159: [02:16:10] <j3st3r> could be coincidence
160: [02:16:27] <Kingy> well if he got outed i'd laugh
161: [02:16:42] <j3st3r> Im monitoring him
162: [02:16:44] <j3st3r> and his accounts
163: [02:16:45] <j3st3r> at the mo
164: [02:17:25] <j3st3r> will probably release to the police if enough evidence
165: [02:17:41] <j3st3r> im mainly annoyed by the one-sidedness in the attacks
166: [02:18:04] <Kingy> meh that's politics
167: [02:18:12] <Kingy> one team has the power
168: [02:18:14] <Kingy> all the rest want it
169: [02:18:22] <spronk> node. eugh
170: [02:18:28] <j3st3r> whats wrong with node?
171: [02:18:40] <j3st3r> node-webkit works pretty well
172: [02:18:48] <j3st3r> and its my only option actually for what im doing
173: [02:18:57] <spronk> been working on a node.js product for the last few months
174: [02:19:04] <spronk> its such an unreliable stack
175: [02:19:16] <j3st3r> yep but still
176: [02:19:19] <j3st3r> not alot of good options
177: [02:19:25] <j3st3r> pure/js wize
178: [02:19:34] * spronk isn't a big js fan :P
179: [02:19:43] <j3st3r> i'm not religious
180: [02:19:49] <j3st3r> I use whatever I need to use for the purpose
181: [02:23:12] <Stomach> does anyone know if there is a hook for after a user has logged in?
182: [02:24:20] <adrexia_> I liked this account of the situation http://theunderturenz.wordpress.com/2014/08/18/the-hager-they-come/
183: [02:24:46] <Stomach> found it: memberLoggedIn
184: [02:25:13] <j3st3r> happy as long as they extradite kimdotcom
185: [02:25:25] <j3st3r> at the end of the day
186: [02:25:29] <j3st3r> so sick of him
187: [02:25:33] <adrexia_> particulary the "if you have evidence of a murder, do you have to find evidence of other murders in order to put the evcidence forward" argument
188: [02:25:54] <adrexia_> meh.
189: [02:26:01] <adrexia_> I barely notice him
190: [02:26:04] <spronk> heh
191: [02:26:06] <spronk> he's a dbag
192: [02:26:46] <ss23> Sure he is, but that doesn't make it okay to break a fuckton of laws
193: [02:27:08] <j3st3r> which laws were actually broken tho? more than spying on him
194: [02:27:10] <ss23> It's like, if you don't care about how a bunch of people broke the law jus because you don't *like* someone, that's a scary stance to have
195: [02:27:26] <adrexia_> true
196: [02:27:32] <j3st3r> and that law was unintentionally broken
197: [02:27:39] <ss23> lol
198: [02:27:54] <j3st3r> well do you have proof of something showing it wasnt"
199: [02:27:57] <Kingy> j3st3r: I'm a nat supporter (generally) and even I can't really argue this shit
200: [02:27:58] <adrexia_> the most disappointing thing is that he was made into some sort of super hero fighting ofr justice
201: [02:28:03] <ss23> No, not at all, j3st3r :)
202: [02:28:10] <ss23> adrexia_: Yeah
203: [02:28:15] <j3st3r> so then it was
204: [02:28:16] <adrexia_> ...which would never have happened if the laws hadn't been broken
205: [02:28:20] <j3st3r> unless you want to prejudge
206: [02:28:20] <ss23> ^^
207: [02:28:27] <Kingy> adrexia_: coz he's so hip to the students.. fuck john key right
208: [02:28:54] <adrexia_> breaking the law by accident isn't actually a legal defense
209: [02:29:02] <j3st3r> thats correct
210: [02:29:07] <adrexia_> "Sorry officer, I didn't know it was illegal" doesn't work
211: [02:29:14] <ss23> Laws piss me off in general
212: [02:29:16] <j3st3r> but there isn't any conspiracy contrary to what he wants everybody wants to believe
213: [02:29:26] <adrexia_> you don't have proof of that
214: [02:29:27] <ss23> Litearlly impossible not to break the law, because the law isn't knowable by the average person
215: [02:29:39] <spronk> also fuels the legal profession
216: [02:29:41] <j3st3r> well you don't have proof that there isn't a fling spaghetti monster
217: [02:29:44] <ss23> j3st3r: Well, depends how you define conspiracy
218: [02:29:45] <j3st3r> flying even
219: [02:29:48] <adrexia_> true
220: [02:29:56] <adrexia_> but that it a sdtarwman
221: [02:29:57] <j3st3r> so if you want to prove something different from fact then its up to you
222: [02:29:59] <ss23> I think there was quite obviously a massive amount of question co-operation between US and NZ enforcement
223: [02:30:00] <adrexia_> *strawman
224: [02:30:14] <ss23> I think generally, that counts as a conspiracy
225: [02:30:20] <adrexia_> you can't say it was or wasn't a conspiracvy
226: [02:30:22] <ss23> Not a criminal one, but still, a conspiracy
227: [02:30:27] <Kingy> ss23: I don't think you can argue that.. NZ wouldn't have even looked at him twice
228: [02:30:36] <j3st3r> I can say there isn't any proof of any conspiracy
229: [02:30:37] <ss23> Kingy: What do you mean?
230: [02:30:49] <Kingy> comms between US -> NZ
231: [02:30:54] <adrexia_> yes - you can say that
232: [02:31:02] <ss23> I'm getting confused, sorry :O
233: [02:31:06] <ss23> I think I'll go get lunch now
234: [02:31:06] <j3st3r> and so if you want to prove differently then its up to you
235: [02:31:06] <ss23> :D
236: [02:31:09] <Kingy> if the US didn't say anything to us I imagine we would've have done shit lol
237: [02:31:14] <ss23> Yeah, kr
238: [02:31:15] <ss23> Kingy
239: [02:31:21] <Kingy> woah bad grammar
240: [02:31:30] <ss23> US had a massive grudge, and didn't want the extent of their co-operation and shit to be known
241: [02:31:33] <ss23> I think that counts as conspiracy
242: [02:31:34] <ss23> :D
243: [02:31:37] <Kingy> haha
244: [02:31:54] <j3st3r> personally I think the biggest mistake which we are experiencing now is letting him in first place
245: [02:32:03] <ss23> I think most sane people can agree that what went on was morally wrong
246: [02:32:26] <j3st3r> you mean spying on him?
247: [02:32:29] <ss23> (That is, unless you believe that it's okay to fuck with people you don't like, in which case we're back at the "You are literally hiter" point)
248: [02:32:40] <ss23> j3st3r: Not just that, how the raids happened, evidence and things were handled
249: [02:32:48] <ss23> The massive unnessecary show of force
250: [02:32:49] <j3st3r> what things specificaclly
251: [02:32:58] <ss23> How the raids happened was a good one
252: [02:32:59] <j3st3r> you know his body guard is going to court over illegal firearms
253: [02:33:04] <ss23> Irrelevant?
254: [02:33:06] <j3st3r> that they held in his house
255: [02:33:12] <j3st3r> not irrelevant
256: [02:33:15] <ss23> Disagree
257: [02:33:18] <ss23> *shrug*
258: [02:33:20] <j3st3r> if you know someone has illegal guns
259: [02:33:35] <j3st3r> then of course you raise level of how you conduct a raid
260: [02:33:35] * nickmolhoek quit (Quit: nickmolhoek)
261: [02:33:53] <j3st3r> in saying that
262: [02:34:00] <j3st3r> I also think the raid was silly
263: [02:34:03] <Kingy> that's a good point
264: [02:34:23] <j3st3r> but police often show force to deter people
265: [02:34:27] <ss23> j3st3r: So I haven't looked into it much, but it looks like they were discovered *because* of the raid, not from it?
266: [02:34:28] <j3st3r> nothing new
267: [02:34:30] <Kingy> although even then the raid was OTT
268: [02:34:31] <ss23> holy shit what
269: [02:34:54] <ss23> You think it's morally okay to do a "show of power" including doing full SWAT style when your fucking wife and kids are there, when you have no violent history or anything, because it'll deter people?
270: [02:34:58] <ss23> How the fuck can you say that?
271: [02:35:09] <j3st3r> he was posing with those firearms on photos
272: [02:35:11] <j3st3r> prior to the raid
273: [02:35:11] <ss23> "It's okay to scare the shit out of innocent people, because it'll stop the nexy guy from piracy"
274: [02:35:21] <ss23> AND?!
275: [02:35:28] <j3st3r> so they knew about those guns
276: [02:35:30] <j3st3r> prior to raid
277: [02:35:33] <ss23> Oh, Waynes guns
278: [02:35:37] <j3st3r> yes
279: [02:35:43] <ss23> As I said, I don't have good sources for it
280: [02:35:50] <ss23> (And court documents are dry reading that I don't enjoy)
281: [02:35:56] <j3st3r> :)
282: [02:36:02] <adrexia_> 1983
283: [02:36:06] <ss23> Still, the show of force to deter argument is about 10/10 on the "go fuck yourself you peice of shit if you actually believe that" scale
284: [02:36:07] <adrexia_> wohoo! police states
285: [02:36:16] <j3st3r> all im saying is that the raid has actually been appealed to be legal
286: [02:36:16] <ss23> 1984?
287: [02:36:17] <ss23> :P
288: [02:36:18] <j3st3r> it was over the top
289: [02:36:24] <adrexia_> yeah, sorry typo ;)
290: [02:36:27] <j3st3r> but partially because he had illegal firearms
291: [02:36:30] <j3st3r> in the house
292: [02:36:48] <j3st3r> and
293: [02:36:53] <adrexia_> that evidence should be 'fruit of the poisoned tree'
294: [02:36:55] <j3st3r> people seem to keep forgetting
295: [02:36:57] <adrexia_> and inadmissable
296: [02:36:58] <j3st3r> its not just piracy
297: [02:37:01] <j3st3r> that he is charged for
298: [02:37:13] <ss23> The spying was illegal, the search warrant was illegal, the search was morally reprehensible, the "co-operation" between the US and NZ before and after has strong signs of conspiracy (not illegally so) and a grudge rather than a real case
299: [02:37:18] <j3st3r> its racketeering, money laundering etc
300: [02:37:27] <Jakx> j3st3r, seems to me that something like illegal firearms being on the property, is something you'd discover AFTER a raid?
301: [02:37:28] <adrexia_> look - we have laws around how evidence is gained for a reason
302: [02:37:45] <j3st3r> Jakx they knew of them prior
303: [02:37:52] <ss23> j3st3r: Got sources?
304: [02:37:58] <Jakx> ^
305: [02:37:59] <ss23> Because the only ones I could find indicated it was discovered in the raid
306: [02:37:59] <j3st3r> photos of kim posing with them
307: [02:38:03] <j3st3r> for example
308: [02:38:06] <ss23> I know he had a lot of legal weapons
309: [02:38:09] <j3st3r> on his property
310: [02:38:12] <ss23> I'm talking about evidence of them knowing that they had illegal weapons
311: [02:38:32] <ss23> And also, we know he had legal weapons, so the argument of "But he had illegal weapons so it's okay to use force" seems weak
312: [02:38:44] <adrexia_> no amount of "but he's a bad guy" excuses illegally gained evidence
313: [02:38:45] <j3st3r> I already said I agree it was over the top :)
314: [02:38:46] <j3st3r> but
315: [02:38:52] <j3st3r> I don't have a huge problem with the raid
316: [02:38:59] <j3st3r> it was just over the top
317: [02:39:13] <ss23> adrexia_: ++
318: [02:39:22] <Jakx> j3st3r, I do. It isn't civil man, this is NZ, the destination! The DREAM! WHY RAID THE DREAM MAN, WHY!?
319: [02:39:25] <j3st3r> what I have a bigger problem with is letting a triple convicted fraudster in and letting him buy himself into politics with money that he may owe to people that are suing him
320: [02:40:12] <ss23> j3st3r: Sure, there are problems, but just by bringing that up now it makes out like you think it's justifiable to do all that BS because of that
321: [02:40:20] <ss23> Being a convicted criminal doesn't mean you can then fuck someoen over
322: [02:40:37] <ss23> And I know you'll say "I know that", but the way you're bringing it up, like "OH BUT LOOK HE'S A CUNT" really makes out like you think it
323: [02:40:49] <j3st3r> :)
324: [02:41:00] <j3st3r> I think he deserves his fair trial
325: [02:41:01] <j3st3r> in the US
326: [02:41:14] <j3st3r> and that he should stay the fuck out of politics until his case is cleared
327: [02:41:18] <ss23> I think he won't get a fair trial in the US
328: [02:41:32] <Kingy> which is his argument
329: [02:41:44] <j3st3r> yeah which is the whole conspiracy theory argument
330: [02:41:49] <j3st3r> I dont trust the US bla bla
331: [02:41:52] <j3st3r> but without proof
332: [02:41:57] <ss23> >.>
333: [02:41:59] <Kingy> lol
334: [02:42:08] <ss23> I think we have reasonable suspicion that the US won't give him a fair trial
335: [02:42:18] <j3st3r> why so
336: [02:42:25] <j3st3r> and even if you dont like the US justice system
337: [02:42:36] <j3st3r> what gives you the right to overrule it
338: [02:42:38] <ss23> We can look at previous similiar court cases in the US, e.g. Aaron Swartz to see that they're cunty about things like Piracy, even more so i f you've pissed off big players
339: [02:42:42] <ss23> BECAUSE WE CAN DO THAT
340: [02:42:46] <j3st3r> we got agreements with the US we need to respect
341: [02:42:51] <ss23> WE don't like the idea of murdering the shit out of Christians either, right?
342: [02:42:59] <ss23> So we don't send Christians to fucked up placfes that do that if they ask
343: [02:43:04] <ss23> We do *not* need to respect fuck all
344: [02:43:10] <j3st3r> haha
345: [02:43:12] <j3st3r> you're an anarchisst
346: [02:43:14] <Jakx> j3st3r, if we see a rise in young voters this year, because Dotcom felt compelled to join NZ politics, and make a video with kids chanting "Fuck John Key". Hey, I think it was worth it. I'm sure the govt would be prepared to spend more on marketing to accomplish that result, than the cost of all the bs around Dotcom.
347: [02:43:15] <ss23> That's a completely bullshit idea
348: [02:43:30] <adrexia_> the thing about 'conspiracy' is it isn't actually a synonym for 'nutjob'
349: [02:43:30] <ss23> j3st3r: I'm just not in favour of "Oh it's not our responsibility if bad things happen, lets just send him away and hope for the best"
350: [02:43:43] <adrexia_> its a word that implies bias
351: [02:43:46] <j3st3r> ss23 thats nto what im saying
352: [02:43:52] <j3st3r> im saying we have a agreement with the us
353: [02:43:52] <ss23> Well it is what you typed
354: [02:43:53] <adrexia_> and planning to inact some action
355: [02:43:55] <j3st3r> and should uphold it
356: [02:44:16] <ss23> j3st3r: I disagree, in the same way if we had reasonable suspicion that they would kill someone we sent over without good reason, we also shouldn't uphold it
357: [02:44:24] <Kingy> j3st3r: an agreement isn't a 'yes sir, right away sir'
358: [02:44:39] <j3st3r> well have you looked at the doj documents on his case
359: [02:44:41] <ss23> ;_;
360: [02:44:51] <ss23> You're lacking and and all moral integrity, j3st3r
361: [02:44:53] <j3st3r> what he is actually charged on
362: [02:45:00] <Kingy> extradition laws don't say "you must extradite this person if we say so"
363: [02:45:02] <adrexia_> we have agreemnents with China. But we don't agree with their laws all the time
364: [02:45:08] <ss23> I am literally dumbfounded that you're so willing to say "Fuck you I dont' like you" and ignore any responsibility for it
365: [02:45:11] <ss23> goddam it
366: [02:45:13] <ss23> NOW I'M ALL MAD
367: [02:45:16] <ss23> BBL GOING TO GET LUNCH
368: [02:45:18] <j3st3r> haha
369: [02:45:18] <Kingy> lol
370: [02:45:21] <adrexia_> <ss23> You're lacking and and all moral integrity, j3st3r
371: [02:45:26] <Jakx> ss23, haha
372: [02:45:30] <adrexia_> lols. coming form ss3, that's super harsh
373: [02:45:32] <adrexia_> :D
374: [02:45:39] <adrexia_> *ss23
375: [02:46:16] <j3st3r> bloody surf is looking rubbish today too :/
376: [02:46:39] <adrexia_> on tuesaday he was arguing that the distruction of the rainforests was a good thing ;)
377: [02:46:42] <Kingy> where do you live that u would want to surf today
378: [02:46:53] <Kingy> it's so fucking cold here today
379: [02:46:55] <j3st3r> close to akl
380: [02:46:59] <j3st3r> but not in akl
381: [02:48:11] <spronk> ..orewa?
382: [02:48:17] <j3st3r> naw
383: [02:48:21] <j3st3r> i ususally surf out west
384: [02:48:29] <spronk> ah
385: [02:48:34] <j3st3r> but its been too big for quite a while
386: [02:48:39] <j3st3r> today messy
387: [02:49:15] <j3st3r> u surf?
388: [02:50:27] <Ryan-Toast> simon_w: Such hacks. Wow. Much bad.
389: [02:51:06] <Ryan-Toast> It’s a fucking terrible solution, but it’s a solution I guess: http://www.sspaste.com/paste/show/53f55a0e546be
390: [02:55:51] <Jakx> willr, I just ended up using singleton($extensionClass)->method(), and added some extra classes into the manifest.
391: [02:55:58] <Kingy> apparently it started snowing at home
392: [02:55:59] <Kingy> fantastic
393: [02:56:24] <j3st3r> wheres home
394: [02:57:05] <Kingy> masterton
395: [02:59:59] <spronk> dabbled years ago, j3st3r
396: [03:00:04] <simon_w|work> Kingy, no crashing my wedding! :p
397: [03:00:18] <Kingy> you're getting married in masterton?
398: [03:00:21] * j3st3r_ has joined #silverstripe
399: [03:00:21] <Kingy> dafuq
400: [03:00:29] <simon_w|work> Mikimiki
401: [03:01:03] <Kingy> sounds too far away or me to care about lol
402: [03:02:25] * j3st3r_ quit (Client Quit)
403: [03:02:45] * j3st3r quit (Ping timeout: 240 seconds)
404: [03:08:41] * travis-ci has joined #silverstripe
405: [03:08:42] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3175 (3.1 - c4ea64e : Simon Welsh): The build passed.
406: [03:08:42] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/04cbd4dd465d...c4ea64e74306
407: [03:08:42] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33134537
408: [03:08:42] * travis-ci has left #silverstripe
409: [03:14:02] * Stomach quit (Quit: zzz)
410: [03:16:13] * Stomach has joined #silverstripe
411: [03:39:02] <Ryan-Toast> Sick of this week.
412: [03:39:05] <Ryan-Toast> Weekend plz
413: [03:39:09] <Colin[pi]> ^
414: [03:39:26] <Ryan-Toast> Going to tech my friend how to ride motorcycles. Should be fun.
415: [03:39:27] <ss23> lol
416: [03:39:30] <ss23> Only Thursday!
417: [03:39:32] <ss23> woah
418: [03:39:34] <ss23> It's Thursday
419: [03:39:35] <ss23> that's cool
420: [03:39:36] <ss23> :O
421: [03:39:40] <ss23> Almost Friday! :D
422: [03:39:46] <Ryan-Toast> Netball tonight, time to wreck some scrubs
423: [03:40:48] <Ryan-Toast> Social netball at 6’5” is pretty fun.
424: [03:44:35] <ss23> netball is way too brutal for me
425: [03:44:36] <ss23> :S
426: [03:46:19] <ss23> fuck, almost just took down one of our busyiest sites
427: [03:46:23] <ss23> "Okay deploying now!"
428: [03:46:29] <ss23> "... dude, it's a UAT deploy, not prod"
429: [03:46:31] <ss23> "OH GODDDDDDDDD"
430: [03:46:43] <ss23> I'm so glad I haven't fucked up enough to get fired :D
431: [03:46:44] <Kingy> never mind
432: [03:46:45] <Kingy> lol
433: [03:47:44] * Jakx quit (Quit: ~ Trillian Astra - www.trillian.im ~)
434: [03:48:28] * cloph has joined #silverstripe
435: [03:49:03] * cloph_away quit (Ping timeout: 255 seconds)
436: [03:51:23] <Ryan-Toast> ss23: lol
437: [03:53:48] * SightUnseen has joined #silverstripe
438: [03:54:57] <novaweb> isitbeeroclockyet at silverstripe tomorrow for DIA CWP devs? :D
439: [03:55:33] * Kingy is now known as Kingy[a]
440: [03:55:38] * giarc quit (Quit: Leaving.)
441: [03:59:15] <Ryan-Toast> “that javascript code I got you to paste in isn’t working"
442: [03:59:45] <Ryan-Toast> Well it’s not very clean code, and it doesn’t seem to do anything
443: [03:59:55] <Ryan-Toast> “Can you make it work without charrging us?”
444: [04:00:00] <simon_w|work> Oops, finished my assigned work
445: [04:00:02] <Ryan-Toast> lol, no.
446: [04:01:22] <Colin[pi]> Ryan-Toast: lol incredible
447: [04:02:49] <novaweb> Aghhh!! Where has ImageFormAction gone?
448: [04:03:04] <simon_w|work> novaweb, it be dead, yo
449: [04:03:11] <novaweb> haha what do now?
450: [04:03:39] <novaweb> FormAction has been extended to accommodate?
451: [04:04:00] <ss23> novaweb: whats this about drinks tomorrow at silverstripe dia? :O
452: [04:04:12] <ss23> Ohhh novaweb, are you one of the DIA developers?
453: [04:04:25] <novaweb> ss23, I am the new dev here. Trying to get the boys motivated to be closer to the core team
454: [04:04:36] <novaweb> ran in to Tim the other day, said I would bring them down...
455: [04:04:41] <ss23> Oh, are you set up on service desk? Have you done tickets yet? :O
456: [04:04:45] <ss23> s/done/made/
457: [04:04:51] <simon_w|work> novaweb, FormAction->setAttribute('src', 'blah.png')
458: [04:05:04] <novaweb> simon_w "Chur"
459: [04:05:15] <ss23> Youre Josh?!
460: [04:05:26] <novaweb> Yeah....? Who is ss23 haha
461: [04:05:35] <ss23> :D
462: [04:05:38] <ss23> I work at SS
463: [04:05:42] <ss23> If you come here, you'll see me probably
464: [04:05:43] <novaweb> Or is there some running joke about me there lol
465: [04:05:57] <ss23> haha, no no, I just looked up people to see who was new on the DIA stuff :P
466: [04:06:06] <ss23> I'm the one with a bandage on my hand cause I injected an NFc microchip
467: [04:06:06] <ss23> :D
468: [04:06:17] <novaweb> haha
469: [04:06:55] <Ryan-Toast> ss23: wut
470: [04:07:07] <Ryan-Toast> http://i.imgur.com/sXQlEOv.gif
471: [04:07:14] <ss23> Ryan-Toast: You didn't see?!
472: [04:07:20] <Ryan-Toast> Naw
473: [04:07:27] <ss23> https://pbs.twimg.com/media/BvZgu4tCMAEQGnD.jpg
474: [04:07:28] <ss23> dude.
475: [04:07:29] <ss23> SCAN ME
476: [04:07:30] <ss23> SCAN ME
477: [04:07:31] <ss23> :D
478: [04:07:42] <ss23> everyone in the office has been pestered to scan me :D
479: [04:08:04] <ss23> https://dangerousthings.com/shop/xnt-ntag216-2x12mm-glass-tag/ is the one I got
480: [04:08:15] <Ryan-Toast> ss23: can I rob you with a Paywave machine?
481: [04:09:48] <ss23> hahaha
482: [04:09:52] <ss23> I haven't got anything like that on it
483: [04:09:52] <ss23> :P
484: [04:09:58] <Ryan-Toast> what does it do?
485: [04:10:20] <ss23> It's just NFC, write data on it, retrive it
486: [04:10:22] <spronk> thats sick, ss23
487: [04:10:30] <ss23> Think of it more like a tattoo or peircing than useful thing, Ryan-Toast
488: [04:10:37] <Ryan-Toast> sounds prety HANDY
489: [04:10:41] <spronk> BA DUM
490: [04:10:42] <ss23> hahaha
491: [04:10:45] <spronk> CLANNNGGGGGG
492: [04:10:53] <ss23> I can use it to do things like unlock my phone when I pick it up, or computer, etc
493: [04:11:25] <simon_w|work> Does it have a processor, or is it a straight read/write chip?
494: [04:11:42] <ss23> read/write
495: [04:11:46] <ss23> hence the emulation part is 0
496: [04:11:52] <Ryan-Toast> Someone could build a new age chastity belt with NFC access.
497: [04:11:56] <simon_w|work> So you probably shouldn't use it to unlock things
498: [04:11:57] <spronk> loool
499: [04:11:59] <ss23> And annoyingly, you can't even clone other ones properly, because the UUID is hard-coded
500: [04:12:07] <spronk> so, ss23, how do you get it *out* ?
501: [04:12:08] <ss23> simon_w|work: Well not important things, sure :P
502: [04:12:16] <ss23> spronk: Painkillers/alchohol and a scalpel
503: [04:12:19] <Ryan-Toast> spronk: Knife
504: [04:12:37] <ss23> Doesn't have any coating to get it stuck in, it'll only be held in by the surrounding flesh, so you litearlly just cut open your hand and slide it out
505: [04:13:06] <ss23> Annoying thing is if you want one that has writable UUID, you basically have to go to dodgy china...
506: [04:13:08] <Ryan-Toast> Oh god, just got a couple emails full of hosting details, and email passwords with the text “Client will contact you” NOOOOOO
507: [04:13:13] <ss23> And injecting cheap crap from china seems like a bad idea.
508: [04:13:20] <novaweb> simon_w any idea why setAttribute('src', 'path/to/file.img') would be displaying the FormAction button twice?
509: [04:13:28] <spronk> its gonna be funny
510: [04:13:30] <spronk> when you get like
511: [04:13:31] <spronk> MRSA
512: [04:13:38] <simon_w|work> novaweb, because you're adding it twice?
513: [04:14:45] <novaweb> http://www.sspaste.com/paste/show/53f56daa82fe4 ... am i? :/
514: [04:15:00] <simon_w|work> novaweb, yes.
515: [04:15:13] <simon_w|work> setAttribute() call goes outside the FieldList construction
516: [04:15:22] <novaweb> aite.
517: [04:15:45] <novaweb> Makes sense...
518: [04:15:45] <ss23> spronk: That's not how MRSA works! :P
519: [04:16:07] <spronk> WHATEVER
520: [04:16:11] <spronk> substitute with something equally nasty
521: [04:16:15] <ss23> XD
522: [04:16:19] <ss23> Blood poisining os pretty bad
523: [04:16:35] <ss23> I really want to embed a proper MCU and battery + electrodes
524: [04:16:43] <ss23> Problem is that having a battery corroding inside of you pretty much means death
525: [04:16:48] <simon_w|work> ss23, you're going to give yourself ebola!
526: [04:16:56] <ss23> simon_w|work: hahaha A+ A+ XD
527: [04:17:10] <ss23> "guys I ate some pork will I get swine flu?!"
528: [04:17:28] <Ryan-Toast> simon_w: https://www.youtube.com/watch?v=1_WOR22-SnY
529: [04:17:43] <simon_w|work> Ryan-Toast, can't watch at work
530: [04:17:51] <Ryan-Toast> simon_w|work: Lame
531: [04:17:55] <Ryan-Toast> It’s the Ebola song
532: [04:18:08] <Ryan-Toast> “Ebola in town, don’t touch yo’ friend
533: [04:19:30] <ss23> wut
534: [04:19:34] <ss23> simon_w|work: can't watch youtube at work? :S
535: [04:19:48] <simon_w|work> ss23, no sound
536: [04:20:05] <simon_w|work> can't be bothered finding my other headphones
537: [04:22:37] <Ryan-Toast> I always seem to have this issue. I have a many_many relationship. Country many_many Pass, now I’m filtering it in the Country class but I get a SQL error for this: 'Passes' => PassAsia::get()->filter(array('Countries.ID' => $this->ID))
538: [04:22:59] <ss23> oic
539: [04:23:00] <ss23> lamer
540: [04:24:21] <Ryan-Toast> simon_w: since you finished all your work today, any ideas?
541: [04:26:52] <simon_w|work> Ryan-Toast, what's the error?
542: [04:27:05] <simon_w|work> Also, does PassAsia many_many Country?
543: [04:27:05] <Ryan-Toast> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LEFT JOIN "SiteTree_Live" ON "Country_Passes"."CountryID" = "SiteTree_Live"."ID"' at line 1
544: [04:27:17] <Ryan-Toast> belongs_many_many
545: [04:27:33] <simon_w|work> So, in the SQL, what shows up just before that left join?
546: [04:28:25] <Ryan-Toast> simon_w|work: http://pastebin.com/ADETLnmF
547: [04:28:52] <simon_w|work> Haha, there's no from table
548: [04:29:04] <simon_w|work> Ryan-Toast, does PassAsia have any fields of its own?
549: [04:29:18] <Ryan-Toast> simon_w|work: narp, it’s an extension
550: [04:29:23] <Ryan-Toast> well extends PAss
551: [04:29:24] <Ryan-Toast> class
552: [04:29:32] <simon_w|work> Ryan-Toast, well, that's what's causing the bug
553: [04:29:36] <Ryan-Toast> Orly?
554: [04:29:39] <simon_w|work> (It is a bug, it shouldn't be doing this)
555: [04:29:39] <Ryan-Toast> RABBLE RABBLE
556: [04:30:24] <Ryan-Toast> simon_w|work: So just add a field to the $db?
557: [04:30:34] <simon_w|work> Ryan-Toast, should do it
558: [04:30:49] <simon_w|work> And someone should open an issue :p
559: [04:31:36] <Ryan-Toast> simon_w|work: http://pastebin.com/nv75auJE
560: [04:31:40] * wracu quit (Ping timeout: 246 seconds)
561: [04:32:19] <simon_w|work> Ryan-Toast, why you shout?
562: [04:32:45] <Ryan-Toast> Dunno why this site has messages displayed as uppercase.
563: [04:32:59] <Ryan-Toast> someone must have text-transformed it for some reason
564: [04:33:07] <simon_w|work> Did you flush and dev/build?
565: [04:33:22] <Ryan-Toast> I did
566: [04:33:38] <simon_w|work> And did it create a PassAsia table?
567: [04:33:46] <Ryan-Toast> Yes
568: [04:35:22] <Ryan-Toast> I’ll delete the records, and add new ones
569: [04:36:51] <Ryan-Toast> simon_w|work: Still doesn’t like the query
570: [04:41:01] * Phlunk3 quit (Remote host closed the connection)
571: [04:57:42] * nickmolhoek has joined #silverstripe
572: [05:04:07] * nickmolhoek quit (Quit: nickmolhoek)
573: [05:14:13] * DigNZ quit (Quit: Lost terminal)
574: [05:16:55] * spronk quit (Ping timeout: 255 seconds)
575: [05:17:45] * Ryan-Toast quit (Quit: Ryan-Toast)
576: [05:38:02] * micmania1 has left #silverstripe
577: [05:38:57] * mirrors has joined #silverstripe
578: [05:42:34] * ^pH quit (Ping timeout: 255 seconds)
579: [05:44:41] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
580: [05:48:19] * Olliepop quit (Ping timeout: 246 seconds)
581: [05:54:20] * Shrike_Finland has joined #silverstripe
582: [05:54:24] * Shrike_Finland quit (Client Quit)
583: [06:08:21] * Guest3207 quit (Ping timeout: 240 seconds)
584: [06:16:12] * Stomach quit (Quit: zzz)
585: [06:22:42] * joelpittet has joined #silverstripe
586: [06:53:46] * r_hector1 has joined #silverstripe
587: [06:54:40] * Shrike_Finland has joined #silverstripe
588: [07:01:01] * ARNHOE has joined #silverstripe
589: [07:17:31] * spronk has joined #silverstripe
590: [07:20:01] * simon_w|work quit (Quit: Ping timeout: your mum)
591: [07:21:59] * Guits has joined #silverstripe
592: [07:24:22] * MrGuits quit (Ping timeout: 240 seconds)
593: [07:36:17] * SightUnseen quit (Quit: Leaving.)
594: [07:37:32] * mirrors quit (Quit: Page closed)
595: [07:45:06] * stnvh has joined #silverstripe
596: [07:48:49] * wmk has joined #silverstripe
597: [07:49:00] <wmk> gmorning
598: [07:58:48] * wmk quit (Quit: nice to meet you ;))
599: [08:02:23] * kinglozzer has joined #silverstripe
600: [08:14:37] * Fisix_AIX has joined #silverstripe
601: [08:17:43] <Fisix_AIX> Good Morning, How can I access the actual data of a file in a File object?
602: [08:18:05] * kinglozzer quit ()
603: [08:19:33] * Guits quit (Ping timeout: 240 seconds)
604: [08:20:24] <Fisix_AIX> ->Content returns nothing
605: [08:21:29] * Guits has joined #silverstripe
606: [08:22:54] * kinglozzer has joined #silverstripe
607: [08:26:43] * Shrike_Finland quit (Quit: Leaving.)
608: [08:27:09] * kerosene quit (Ping timeout: 240 seconds)
609: [08:27:51] * wmk has joined #silverstripe
610: [08:32:59] * kerosene has joined #silverstripe
611: [08:35:14] * wmk quit (Quit: nice to meet you ;))
612: [08:35:16] * mento has joined #silverstripe
613: [08:36:32] * wmk has joined #silverstripe
614: [08:37:37] * Liquide has joined #silverstripe
615: [08:38:17] * mento quit (Client Quit)
616: [08:39:57] * macan has joined #silverstripe
617: [08:42:39] <Colin[pi]> Fisix_AIX: did you try: $Data = file_get_contents($File->getFullPath()); ?
618: [08:42:52] <Colin[pi]> I don't think there's a method for it on the File class
619: [08:43:23] <Fisix_AIX> Colin[pi], Ill give it a try, Thanks
620: [08:49:22] * Colin[pi] quit (Ping timeout: 250 seconds)
621: [08:51:02] <macan> is there anyone known with group role issues using userforms?
622: [08:51:50] <macan> i have a user group with limited access to the CMS - they are allowed to edit pages, access files and are able to edit the site structure for their partical part of the sitetree
623: [08:52:43] <macan> when they try to add an email recipient and save the dataobject, they get a Forbidden error. When i'm inspecting the error in chrome, i can't see any more response than a 403 forbidden error
624: [08:59:35] * Pydelayedk has joined #silverstripe
625: [08:59:42] <Pydelayedk> Made it to work, 1hr late :>
626: [08:59:47] <Pydelayedk> all trains cancelled.
627: [08:59:56] <Pydelayedk> it rained. I guess that breaks the rail system here.
628: [08:59:59] <Pydelayedk> eh kinglozzer
629: [09:00:22] <kinglozzer> lol Pydelayedk, seems about right
630: [09:00:33] <kinglozzer> Or maybe they're on strike because they don't like working in the rain?
631: [09:00:37] <Pydelayedk> signals broke
632: [09:00:53] <Pydelayedk> not just a little bit like normal, but enough to stop ALL traffic up and down the east coast main line
633: [09:01:03] <Pydelayedk> so like... the main route into scotland
634: [09:01:04] * Otterpocket has joined #silverstripe
635: [09:01:14] <Pydelayedk> kinglozzer: nah, there were chaps on the tracks.
636: [09:01:19] <Pydelayedk> they let one train though.
637: [09:01:21] <wmk> hi Pydelayedk
638: [09:01:32] <Pydelayedk> hello wmk
639: [09:02:08] <Pydelayedk> kinglozzer: they let through a northern rail service: http://www.rmt.org.uk/public/news/northern-rail-castleton-east-jcn.jpg
640: [09:02:11] <wmk> Pydelayedk, you said "capistrano is doing it wrong" yesterday just before leaving
641: [09:02:22] <wmk> so... what's doing it better?
642: [09:02:41] * Otterpocket quit (Remote host closed the connection)
643: [09:03:16] * SightUnseen has joined #silverstripe
644: [09:04:43] * Shrike_Finland has joined #silverstripe
645: [09:04:49] <Pydelayedk> which held everyone that usually goes on that, and the transpennine 185, and the east coast type 91, and the cross country 221 super voyager...
646: [09:05:45] * SightUnseen quit (Client Quit)
647: [09:07:23] * UncleCheese has joined #silverstripe
648: [09:10:06] <kinglozzer> Pydelayedk: I have no idea what any of those are, hardly ever use the train :P
649: [09:12:42] * Fisix_AIX quit (Quit: Leaving)
650: [09:13:45] * Otterpocket has joined #silverstripe
651: [09:19:15] * Otterpocket has left #silverstripe
652: [09:21:11] <Pydelayedk> kinglozzer: well...
653: [09:21:28] <Pydelayedk> 9 cars, 5 cars and 3 cars, plus people already on a 2 car train...
654: [09:22:00] <Pydelayedk> of course, people waiting wouldn't fill each of those trains, but point is that there were a lot of people.
655: [09:23:52] * zippy has joined #silverstripe
656: [09:27:23] * todamoon_ has joined #silverstripe
657: [09:28:53] * ThePeach has joined #silverstripe
658: [09:29:58] * SightUnseen has joined #silverstripe
659: [09:34:57] * spronk2 has joined #silverstripe
660: [09:41:42] <zippy> hi spronk Pydelayedk
661: [09:44:06] <Pydelayedk> ni zippy
662: [09:44:15] <Pydelayedk> hi*
663: [09:44:24] <Pydelayedk> guys, tell me what plz
664: [09:44:54] <Pydelayedk> http://logs.simon.geek.nz/index.php?date=2014-08-21#log_1378602
665: [09:45:01] <Pydelayedk> kinglozzer: zippy plzwut ^
666: [09:45:36] * SightUnseen quit (Quit: Leaving.)
667: [09:47:06] * Shrike_Finland quit (Quit: Leaving.)
668: [09:47:56] <kinglozzer> Pydelayedk: Errr
669: [09:48:27] <kinglozzer> I'm confused
670: [09:48:46] <kinglozzer> So, trim off the framework dir and add framework?
671: [09:49:19] <kinglozzer> O.o
672: [09:50:41] <zippy> I would think it does nothing
673: [09:51:13] <zippy> actually, depends what getCurrentRelativePath returns
674: [09:52:10] <zippy> I thik it just trims it off
675: [09:53:44] * novaweb quit (Remote host closed the connection)
676: [10:00:49] * adrexia has joined #silverstripe
677: [10:00:51] * Otterpocket has joined #silverstripe
678: [10:01:01] * r_hector1 quit (Quit: Leaving.)
679: [10:01:26] * Otterpocket has left #silverstripe
680: [10:02:10] * Otterpocket has joined #silverstripe
681: [10:05:35] * vebb has joined #silverstripe
682: [10:06:58] <zippy> hm I thought the renderWIth() return html, but it seems to return a HTMLText
683: [10:08:41] * Shrike_Finland has joined #silverstripe
684: [10:09:58] * novaweb has joined #silverstripe
685: [10:10:14] <Pydelayedk> zippy: hmm yeah, thoguht it just returned a string too.
686: [10:10:25] <zippy> somethings being a bit fucky
687: [10:13:49] <Pydelayedk> somethings something's ?
688: [10:16:56] * novaweb quit (Remote host closed the connection)
689: [10:17:17] * Azure quit (Remote host closed the connection)
690: [10:19:10] <Pydelayedk> kinglozzer: basically yeah, i'm confused too.
691: [10:19:25] <Pydelayedk> also, hardcodes framework, where it's supposed to be changeable (and is).
692: [10:26:33] * Azure has joined #silverstripe
693: [10:32:09] * novaweb has joined #silverstripe
694: [10:32:49] <Pydelayedk> kinglozzer: zippy i'm confused
695: [10:32:50] <Pydelayedk> https://github.com/silverstripe/silverstripe-framework/blob/3.1/dev/SapphireTest.php#L464
696: [10:32:57] * novaweb quit (Remote host closed the connection)
697: [10:33:11] <zippy> the madeness continues eh
698: [10:35:04] <zippy> if the $path starts with $base then remove base
699: [10:35:25] <zippy> through the remove could really just use /^$base
700: [10:36:18] <Pydelayedk> yeh, ikr
701: [10:36:29] <Pydelayedk> I don't understand what even.
702: [10:37:10] <Pydelayedk> I keep looking at it thinking it's simple and mostly redundant, but then because of that I keep thinking there must be some sneaky edge usecase that I can't think of...
703: [10:37:26] <Pydelayedk> what say you willr ?
704: [10:37:59] <kinglozzer> Pydelayedk: The more I look at that line the less I understand
705: [10:38:01] <kinglozzer> :P
706: [10:38:09] <Pydelayedk> yeh, ikr
707: [10:38:19] <Pydelayedk> You're all 'oh yeah... oh wait... no what... ah fuck'
708: [10:39:52] <kinglozzer> So, if the current "absolute" path starts with the base folder, strip the base and preg out leading slashes from the path? I think?
709: [10:40:43] <kinglozzer> It could be worse, Pydelayedk, you could be using Lemonstand :|
710: [10:40:55] <zippy> I was thinking it was stripping the base, but the preg_replace is going to get substr($path,strlen($base)) which isn't the full path...
711: [10:41:12] <zippy> need some var_dump on that
712: [10:41:56] <kinglozzer> need some comments on that :P
713: [10:42:20] <zippy> needs a refactor
714: [10:42:54] <zippy> http://geekshumor.com/wp-content/uploads/2013/09/Code-Refactoring.gif
715: [10:43:13] <zippy> refactor the tests, I hope the tests have tests
716: [10:45:04] <zippy> is it possible to order by a relationship
717: [10:45:17] <zippy> ItemA has_one ItemB. I want to order by ItemB.Name
718: [10:54:47] * Liquide quit ()
719: [10:55:33] * novaweb has joined #silverstripe
720: [10:57:45] * Otterpocket quit (Quit: WeeChat 0.4.1)
721: [10:57:59] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
722: [10:58:46] * Otterpocket has joined #silverstripe
723: [11:06:50] * novaweb quit (Remote host closed the connection)
724: [11:09:41] * novaweb has joined #silverstripe
725: [11:16:27] * Guits quit (Ping timeout: 245 seconds)
726: [11:17:48] * novaweb quit (Remote host closed the connection)
727: [11:22:29] * novaweb has joined #silverstripe
728: [11:24:40] * joelpittet quit (Remote host closed the connection)
729: [11:25:52] * novaweb quit (Remote host closed the connection)
730: [11:31:27] * novaweb has joined #silverstripe
731: [11:32:07] * novaweb quit (Remote host closed the connection)
732: [11:40:42] * novaweb has joined #silverstripe
733: [11:40:48] * novaweb quit (Remote host closed the connection)
734: [12:00:09] * novaweb has joined #silverstripe
735: [12:02:32] * novaweb quit (Remote host closed the connection)
736: [12:05:34] * muskie9 quit (Ping timeout: 250 seconds)
737: [12:07:45] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
738: [12:12:59] * UndefinedOffset has joined #silverstripe
739: [12:23:58] * vebb quit (Ping timeout: 264 seconds)
740: [12:24:29] * novaweb has joined #silverstripe
741: [12:35:03] * novaweb quit (Remote host closed the connection)
742: [12:37:01] * Alboes has joined #silverstripe
743: [12:41:52] <Alboes> hi
744: [12:43:33] <wmk> ho
745: [12:43:33] <Alboes> what is better/usual: include javascript and css in the template or in the controller? Both is possible...
746: [12:43:59] <wmk> in the controller you can combine javascript
747: [12:44:08] <wmk> in the theme it's inside the theme
748: [12:45:17] <wmk> depends on what you want to do ;)
749: [12:45:48] <wmk> i normally put it inside the theme first and later when optimizing the site i combine all js in the controller
750: [12:46:49] * Guits has joined #silverstripe
751: [12:50:41] <Alboes> I ask because this comment I found in the controller: Note: you should use SS template require tags inside your templates instead of putting Requirements calls here. However these are included so that our older themes still work
752: [12:51:08] <Alboes> sounds like that in the controller it's an old way...
753: [12:51:10] * novaweb has joined #silverstripe
754: [12:51:12] <wmk> i require them in the template and combine them later in controller
755: [12:51:22] <wmk> in 2.x times they were required in controller
756: [12:52:05] <wmk> though it doesn't really matter, it's more some kind of taste ;) requiring in template (and putting the js files in your themes) makes you able to share you theme more easily
757: [12:52:42] <Alboes> okay :)
758: [12:53:16] <wmk> both call the same method to include the javascript later on
759: [12:54:17] * novaweb quit (Remote host closed the connection)
760: [12:57:03] * novaweb has joined #silverstripe
761: [12:58:03] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
762: [13:08:10] * macan quit (Quit: Page closed)
763: [13:10:31] <Alboes> Bingo!
764: [13:12:41] * Shrike_Finland quit (Quit: Leaving.)
765: [13:12:57] * novaweb quit (Remote host closed the connection)
766: [13:19:59] * novaweb has joined #silverstripe
767: [13:23:05] * novaweb quit (Remote host closed the connection)
768: [13:24:04] <Pydelayedk> Alboes: it's a bunch of rubbish. don't listen to it.
769: [13:24:09] <Pydelayedk> it's just ONE developers thoughts on it.
770: [13:24:12] <Pydelayedk> do as you will.
771: [13:24:36] <Pydelayedk> wmk: in 2.4 they could go in the theme too.
772: [13:24:58] <Pydelayedk> but yeah Alboes, it's all a matter of opinion.
773: [13:25:12] <wmk> Pydelayedk, in 2.3 also?
774: [13:25:30] * wmk 'd love to combine all the files in the templates also
775: [13:25:34] <Alboes> @Pydelayedk: what you mean? wmk only gave advice, why don't listen to it?
776: [13:25:36] <Pydelayedk> It's just the dev that won the competition for the default theme thinks they should be in the controller. They don't have to be, nor should you if you don't like it.
777: [13:25:44] <Pydelayedk> wmk: no, in 2.3 it was controller only.
778: [13:26:01] <wmk> i thought...
779: [13:26:26] <Pydelayedk> Alboes: no I'm answering the same question wmk did, I don't mean don't listen to wmk, I mean don't listen to the comments in the default theme.
780: [13:26:37] <wmk> ;)
781: [13:26:54] * Shrike_Finland has joined #silverstripe
782: [13:27:10] <Pydelayedk> wmk: it was enabled in controller at 2.4 I think. basically meaning you could keep all your view logic in one place (template).
783: [13:27:23] * Shrike_Finland quit (Client Quit)
784: [13:27:39] * Shrike_Finland has joined #silverstripe
785: [13:27:40] * Shrike_Finland quit (Client Quit)
786: [13:27:47] <Pydelayedk> but yeah, it depends on what you're doing. If it's compulsory for whatever is going on the page in order for it to work, then yeah, I'd put that in the controller. If it's not necessary but just the way the page displays that info, then I'd put it in the controller.
787: [13:28:05] <Pydelayedk> err, put it in the template**
788: [13:28:45] <Alboes> oh, now I understand :) :) sorry...
789: [13:28:50] <Pydelayedk> but it's entirely up to the dev. I hate people that enforce nonsense 'best practice' crap on others.
790: [13:29:31] <Pydelayedk> I mean, there's good code and bad, but 'best practice' is usually a way of keeping code good. Not just doing things because someone thinks that's how it should be done.
791: [13:30:01] <Pydelayedk> which the majority of 'best practice' things around these days seem to be more about. Doing things a certain way just because everyone else is (which may not necessarially be good).
792: [13:31:17] * Guits quit (Ping timeout: 260 seconds)
793: [13:31:38] <Alboes> thanks for the explenations
794: [13:33:20] * spronk2 quit (Quit: spronk2)
795: [13:36:03] * todamoon_ quit (Ping timeout: 240 seconds)
796: [13:37:02] * giarc has joined #silverstripe
797: [13:37:21] * todamoon_ has joined #silverstripe
798: [13:43:33] * apuckey quit (Ping timeout: 240 seconds)
799: [13:50:23] * novaweb has joined #silverstripe
800: [13:58:06] * scpi has joined #silverstripe
801: [13:59:32] * novaweb quit (Remote host closed the connection)
802: [14:11:40] * Shrike_Finland has joined #silverstripe
803: [14:15:42] * giarc quit (Quit: Leaving.)
804: [14:18:59] * Otterpocket quit (Quit: WeeChat 0.4.1)
805: [14:20:09] * novaweb has joined #silverstripe
806: [14:25:11] * novaweb quit (Remote host closed the connection)
807: [14:26:39] * novaweb has joined #silverstripe
808: [14:26:46] * novaweb quit (Remote host closed the connection)
809: [14:27:45] * novaweb has joined #silverstripe
810: [14:31:39] <Pydelayedk> kinglozzer: do me a favour and change the name of framework to something else, the run phpunit and tell me what fails? I would but yours runs much faster than mine.
811: [14:31:40] * Otterpocket has joined #silverstripe
812: [14:33:00] <kinglozzer> Pydelayedk: Can't find ./framework/cli-script.php or ./cli-script.php
813: [14:33:01] <kinglozzer> ;)
814: [14:33:02] <Pydelayedk> I've fixed one failure, but need to remember the other... it's one up past my buffer point :<
815: [14:33:06] <kinglozzer> I'll try the old fashioned way, sec
816: [14:33:21] <Pydelayedk> kinglozzer: cd ssroot
817: [14:33:24] <Pydelayedk> phpunit
818: [14:33:25] <Pydelayedk> done
819: [14:33:57] <Pydelayedk> also if it can't find cli-script.php... :< it should work from FRAMEWORK_DIR, not 'framework' :/
820: [14:34:13] <Pydelayedk> oh actually I think it's view...
821: [14:34:16] <Pydelayedk> yeah, view.
822: [14:34:21] * novaweb quit (Remote host closed the connection)
823: [14:34:37] <kinglozzer> Oh, forgot you gotta update phpunit.xml to tell it not to look for 'framework'
824: [14:34:50] <Pydelayedk> wtf
825: [14:34:51] <kinglozzer> k running
826: [14:35:23] <Pydelayedk> I had 2 errors before (failures) - one RequirementsTest::testSuffix
827: [14:35:30] <Pydelayedk> and one from SSViewerTest iirc
828: [14:35:41] <kinglozzer> Haven't reached tests/view/ yet
829: [14:35:43] <Pydelayedk> but now I run phpunit test/view and it's all wtf balls.
830: [14:35:50] <Pydelayedk> 2 failures
831: [14:35:56] <Pydelayedk> I'm all WHAAAAAT
832: [14:36:01] <Pydelayedk> idgi :<
833: [14:36:27] <kinglozzer> Pydelayedk: RequirementsTest::testSuffix, SSViewerTest::testRequireCallInTemplateInclude
834: [14:36:30] * Otterpocket quit (Quit: WeeChat 0.4.1)
835: [14:36:58] <kinglozzer> 3.1 btw
836: [14:37:02] <Pydelayedk> ah good, so that explains 1.
837: [14:37:21] <Pydelayedk> kinglozzer: can you try phpunit blahface/tests/view ?
838: [14:37:49] <kinglozzer> Pydelayedk: Yeah, just the SSViewerTest failed
839: [14:37:53] <Pydelayedk> because I got those same 2, I fixed testSuffix, but after testing view explicitly I get 2 errors
840: [14:37:58] <kinglozzer> phpunit notframework/tests/view '' db=sqlite3
841: [14:38:02] <Pydelayedk> testRenderWithSourceFileComments
842: [14:38:14] <Pydelayedk> bizarre
843: [14:38:23] <Pydelayedk> and yeh, i'm on master
844: [14:39:31] <kinglozzer> Strange :/
845: [14:40:49] <Pydelayedk> very
846: [14:40:52] <Pydelayedk> a little alarming even
847: [14:42:27] <kinglozzer> Looking at that test I have NFI why it would fail
848: [14:42:45] <kinglozzer> Tried $ phpunit notframework/tests/view '' flush=1?
849: [14:43:04] * Otterpocket has joined #silverstripe
850: [14:43:43] <Pydelayedk> '' is a nothing though, no need for it
851: [14:43:54] <Pydelayedk> kinglozzer: did you get more than one failure?
852: [14:44:35] * Otterpocket has left #silverstripe
853: [14:44:43] <kinglozzer> Pydelayedk: If I don't include '', I get "Cannot open file "flush=1""
854: [14:44:49] <kinglozzer> Pydelayedk: Nope, one failure
855: [14:45:05] <kinglozzer> 1) SSViewerTest::testRequireCallInTemplateInclude - Failed asserting that 0 matches expected 1.
856: [14:46:34] <Pydelayedk> yeah that's wierd
857: [14:46:41] <Pydelayedk> fuck this, I'll do it at home I think
858: [14:46:53] <Pydelayedk> it's about time to go
859: [14:47:28] * Otterpocket has joined #silverstripe
860: [14:47:55] <Pydelayedk> kinglozzer: ha! yeah that's fucked up. I switched backed to master, and tested view directly, 2 failures.
861: [14:47:58] <Pydelayedk> bizarre.
862: [14:48:07] <Pydelayedk> time to check if trains are running
863: [14:52:30] <Pydelayedk> bye
864: [14:52:32] * Pydelayedk quit ()
865: [14:53:35] * novaweb has joined #silverstripe
866: [14:55:52] * novaweb quit (Remote host closed the connection)
867: [14:56:19] * novaweb has joined #silverstripe
868: [14:59:31] * novaweb quit (Remote host closed the connection)
869: [15:03:08] * novaweb has joined #silverstripe
870: [15:05:54] * novaweb quit (Remote host closed the connection)
871: [15:09:24] * novaweb has joined #silverstripe
872: [15:11:35] * novaweb quit (Remote host closed the connection)
873: [15:13:13] * joelpittet has joined #silverstripe
874: [15:14:28] * Shrike_Finland quit (Quit: Leaving.)
875: [15:18:12] * ARNHOE quit ()
876: [15:22:17] * novaweb has joined #silverstripe
877: [15:24:01] * giarc has joined #silverstripe
878: [15:26:01] * giarc quit (Client Quit)
879: [15:34:41] * novaweb quit (Remote host closed the connection)
880: [15:37:45] * giarc has joined #silverstripe
881: [15:39:32] * jenniferaslan has joined #silverstripe
882: [15:43:46] * joelpittet quit ()
883: [15:46:17] * spronk2 has joined #silverstripe
884: [15:50:21] * spronk2 quit (Ping timeout: 240 seconds)
885: [15:54:38] * jenniferaslan quit (Quit: jenniferaslan has left the room)
886: [15:54:58] * novaweb has joined #silverstripe
887: [15:55:33] * Alboes quit (Remote host closed the connection)
888: [15:57:44] * jenniferaslan has joined #silverstripe
889: [15:57:55] * novaweb quit (Remote host closed the connection)
890: [15:58:53] * todamoon_ quit (Ping timeout: 240 seconds)
891: [15:58:58] * novaweb has joined #silverstripe
892: [15:59:32] * todamoon_ has joined #silverstripe
893: [15:59:37] * giarc quit (Quit: Leaving.)
894: [16:04:29] * novaweb quit (Remote host closed the connection)
895: [16:06:24] * novaweb has joined #silverstripe
896: [16:07:30] * giarc has joined #silverstripe
897: [16:13:23] * novaweb quit (Remote host closed the connection)
898: [16:14:38] * kinglozzer quit ()
899: [16:25:50] * novaweb has joined #silverstripe
900: [16:25:57] * novaweb quit (Remote host closed the connection)
901: [16:29:05] * giarc has left #silverstripe
902: [16:29:41] * stnvh quit ()
903: [16:33:54] * Otterpocket quit (Quit: WeeChat 0.4.1)
904: [16:35:33] * novaweb has joined #silverstripe
905: [16:40:10] * todamoon_ quit (Ping timeout: 264 seconds)
906: [16:43:34] * novaweb quit (Remote host closed the connection)
907: [16:46:41] * novaweb has joined #silverstripe
908: [16:51:34] * wmk quit (Quit: nice to meet you ;))
909: [16:54:09] * novaweb quit (Remote host closed the connection)
910: [17:11:15] * ThePeach quit (Quit: leaving)
911: [17:13:59] * novaweb has joined #silverstripe
912: [17:16:33] * scpi quit (Quit: naptime)
913: [17:18:34] * novaweb quit (Remote host closed the connection)
914: [17:28:54] * gelignite has joined #silverstripe
915: [17:46:22] * novaweb has joined #silverstripe
916: [17:49:34] * novaweb quit (Remote host closed the connection)
917: [17:58:04] * Guits has joined #silverstripe
918: [18:05:26] * novaweb has joined #silverstripe
919: [18:10:00] * scpi has joined #silverstripe
920: [18:15:33] * Guits quit (Ping timeout: 246 seconds)
921: [18:17:01] * muskie9 has joined #silverstripe
922: [19:04:05] * auto9 has joined #silverstripe
923: [19:14:47] * Shrike_Finland has joined #silverstripe
924: [19:21:38] * novaweb quit (Remote host closed the connection)
925: [19:24:47] * SightUnseen has joined #silverstripe
926: [19:28:25] * SightUnseen has left #silverstripe
927: [19:35:28] * novaweb has joined #silverstripe
928: [19:44:45] * SightUnseen has joined #silverstripe
929: [19:45:00] * SightUnseen has left #silverstripe
930: [19:45:02] * novaweb quit (Remote host closed the connection)
931: [19:45:49] * novaweb has joined #silverstripe
932: [19:50:00] * novaweb quit (Remote host closed the connection)
933: [19:53:05] * Kingy[a] is now known as Kingy
934: [20:00:00] * Stomach has joined #silverstripe
935: [20:07:44] <Kingy> good friday morning people
936: [20:07:51] * vebb has joined #silverstripe
937: [20:08:43] * vebb quit (Client Quit)
938: [20:08:43] * auto9 quit (Read error: Connection reset by peer)
939: [20:09:58] * auto9 has joined #silverstripe
940: [20:15:39] * oddnoc has joined #silverstripe
941: [20:27:12] * UndefinedOffset quit (Quit: Leaving.)
942: [20:27:25] <Stomach> good morning kingy :D
943: [20:27:31] * novaweb has joined #silverstripe
944: [20:34:57] * novaweb quit (Remote host closed the connection)
945: [20:36:14] * SightUnseen has joined #silverstripe
946: [20:37:35] * novaweb has joined #silverstripe
947: [20:37:43] * novaweb quit (Remote host closed the connection)
948: [20:37:55] * SightUnseen has left #silverstripe
949: [20:39:34] * zippy has joined #silverstripe
950: [20:40:11] <zippy> mornings
951: [20:40:12] * novaweb has joined #silverstripe
952: [20:40:35] * Stomach quit (Quit: zzz)
953: [20:40:36] <Kingy> hey zippy
954: [20:40:40] * novaweb quit (Remote host closed the connection)
955: [20:40:56] * Ryan-Toast has joined #silverstripe
956: [20:40:59] <zippy> Ryan-Toast: hi
957: [20:41:42] <Ryan-Toast> zippy: hai
958: [20:41:48] <Ryan-Toast> friday, aww yiss
959: [20:42:06] <Kingy> :)
960: [20:42:32] <Kingy> zippy: first timelapse from my pi
961: [20:42:32] <Kingy> https://www.youtube.com/watch?v=36HR7MORF9g
962: [20:43:28] <zippy> Kingy: cool :) I still got mine just logging the temps to a graph
963: [20:43:41] <Ryan-Toast> Kingy: Was expecting your face in the last frame. 3/10 was dissapoint.
964: [20:43:42] <Kingy> nice
965: [20:43:46] <zippy> I just brought a web cam and going to hook that up this weekend
966: [20:43:47] <Kingy> Ryan-Toast: hahaha
967: [20:44:01] <Kingy> yeah only thing I've noticed
968: [20:44:08] <Kingy> if I hit the wireless too hard during the day
969: [20:44:18] <Kingy> it uses too much power and the wireless dies
970: [20:44:21] <Kingy> until reboot
971: [20:44:45] <zippy> ahh :)
972: [20:45:01] <Kingy> so got to be careful with that
973: [20:45:03] <zippy> this is my graph, https://www.dropbox.com/s/8bqde4s88u387l5/Graph.png using high charts so you can zoom in, and done at 2 minute intervals
974: [20:45:09] <Kingy> I've read that it happens with webcams as well
975: [20:45:47] <zippy> https://www.dropbox.com/s/v6sc7z7t2hbj52x/MouseOver.png - easy to do nice graphs with high charts eh
976: [20:45:47] * novaweb has joined #silverstripe
977: [20:46:39] <Kingy> nice
978: [20:46:39] <Kingy> I might need to do the same
979: [20:46:40] <Kingy> I've just my temps sitting in text files lol
980: [20:46:41] <Kingy> what db you using?
981: [20:46:42] <Kingy> yeah I used highcharts a couple months back to log some weather station temps
982: [20:46:42] <Kingy> and rainfall
983: [20:46:42] <Kingy> was pretty decent piece of software
984: [20:46:47] * novaweb quit (Remote host closed the connection)
985: [20:47:13] <Ryan-Toast> Kingy: I should set one up that takes a picture of me every so often at my computer.
986: [20:47:20] <Ryan-Toast> Maybe be careful with that though.
987: [20:47:28] <zippy> Kingy: well i've got a public domain, so I can just flick you a url and you can just post your temp to it and draw the graph for you if you like
988: [20:47:47] <Kingy> Ryan-Toast: rofl, yeah whip ya dick out without thinking
989: [20:48:02] <Ryan-Toast> Kingy: 60% of the time, all the time
990: [20:48:02] <Kingy> zippy: oooh yes sounds good
991: [20:50:50] * catcher has joined #silverstripe
992: [20:52:40] <zippy> Ryan-Toast: just set up a git commit hook to take a picture :) like these chaps; https://www.youtube.com/watch?v=5F0ZWzD7HWk https://www.youtube.com/watch?v=eOGV5gPBtGw
993: [20:53:07] <zippy> I think this was the first one I saw http://vimeo.com/45151489
994: [20:53:29] <Ryan-Toast> zippy: Would take one picture a week, haha.
995: [20:54:47] <Kingy> pretty funny
996: [20:55:23] * novaweb has joined #silverstripe
997: [21:03:22] * micmania1 has joined #silverstripe
998: [21:04:35] * Phlunk3 has joined #silverstripe
999: [21:07:43] * novaweb quit (Remote host closed the connection)
1000: [21:08:16] * antmas has joined #silverstripe
1001: [21:08:22] <antmas> morning all
1002: [21:08:29] <zippy> morning
1003: [21:08:37] * Stomach has joined #silverstripe
1004: [21:08:45] * Shrike_Finland quit (Quit: Leaving.)
1005: [21:12:26] <Ryan-Toast> hey
1006: [21:13:16] * travis-ci has joined #silverstripe
1007: [21:13:17] <travis-ci> [travis-ci] chillu/silverstripe-framework#146 (pulls/2796-form-escape - 0bae182 : Ingo Schommer): The build is still failing.
1008: [21:13:17] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/2fca4dc71364...0bae1826bbf1
1009: [21:13:17] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/33219445
1010: [21:13:17] * travis-ci has left #silverstripe
1011: [21:13:36] * novaweb has joined #silverstripe
1012: [21:16:13] * catcher quit (Quit: Leaving)
1013: [21:18:30] <antmas> zippy: went to a tech talk at the Bridge St Collective last night
1014: [21:18:41] <zippy> many ppl?
1015: [21:18:43] <antmas> about javascript animations / page painting
1016: [21:18:48] <antmas> zippy: yeah about 20-25
1017: [21:19:02] <zippy> wow.... half of nelson showed up!
1018: [21:19:03] <zippy> good?
1019: [21:19:04] <Kingy> was it interesting antmas?
1020: [21:19:28] <antmas> zippy: Kingy yeah they guy was pretty nervous, but it was pretty good
1021: [21:19:39] <antmas> designer focused
1022: [21:19:56] * novaweb quit (Remote host closed the connection)
1023: [21:20:09] <antmas> I'm going to do a talk on tooling in november or maybe october
1024: [21:20:51] <antmas> lots of hipsters and vegan weirdos
1025: [21:21:11] <Kingy> :P
1026: [21:21:18] * Kingy flies down to watch
1027: [21:21:27] <antmas> I miss anything good on here yesterday? :P
1028: [21:22:17] <zippy> just the usual, people talking about burger fuel... ss23 rewrite subsites and the docs...
1029: [21:22:52] <zippy> antmas: did they say when the next one way
1030: [21:22:55] <zippy> *was
1031: [21:23:27] <antmas> zippy: yeah monthy
1032: [21:23:31] <antmas> monthly*
1033: [21:23:36] <zippy> will pencil that in
1034: [21:23:57] <antmas> zippy: http://www.meetup.com/bridgestreetcollective/ check that every now and then
1035: [21:24:08] <antmas> zippy: it's not the 'web meetup' though
1036: [21:24:42] <Kingy> ss23 rage quit
1037: [21:25:01] <antmas> so typically day at the SSIRC office then?
1038: [21:26:00] <Kingy> pmuch
1039: [21:27:32] <Kingy> right i guess I should write some tests
1040: [21:29:14] <zippy> Tests: 91, Assertions: 266, Failures: 0
1041: [21:30:08] <Ryan-Toast> Youtube says you can only have 200 videos in a playlist, but I can keep adding them ¯\_(ツ)_/¯
1042: [21:30:36] * vebb has joined #silverstripe
1043: [21:30:44] <Kingy> Ryan-Toast: if you save and refresh are they still there?
1044: [21:30:52] <Ryan-Toast> Kingy: yarp
1045: [21:31:06] <Ryan-Toast> Kingy: https://www.youtube.com/playlist?list=PL016DF490B141ECBD
1046: [21:31:40] <Kingy> zippy: FAILURES!
1047: [21:31:40] <Kingy> Tests: 20, Assertions: 64, Errors: 3, Incomplete: 1.
1048: [21:31:49] <zippy> :O
1049: [21:32:00] <Kingy> SS screwed me over with their testing :P
1050: [21:33:02] <Kingy> Director::protocolAndHost() lacks sufficient information - HTTP_HOST not set.
1051: [21:33:02] * gelignite quit (Quit: http://bit.ly/nkczDT)
1052: [21:33:12] * scpi quit (Quit: be excellent to each other)
1053: [21:38:36] * auto9 quit (Read error: Connection reset by peer)
1054: [21:44:09] * simon_w|air has joined #silverstripe
1055: [21:47:03] * anselmdk has joined #silverstripe
1056: [21:48:01] * antmas quit (Ping timeout: 246 seconds)
1057: [21:49:34] * r_hector1 has joined #silverstripe
1058: [21:50:48] <Ryan-Toast> is there a way to see email templates as static html?
1059: [21:51:05] <Ryan-Toast> without actually sending the email to test it?
1060: [21:51:57] * Pyromanik has joined #silverstripe
1061: [21:54:15] <Stomach> Ryan-Toast, you could just render it out instead of sending the email?
1062: [21:54:41] <Stomach> $form->getController()->customise($data)->renderWith('EmailTemplate'); ?
1063: [21:54:47] <Ryan-Toast> Stomach: Chur
1064: [21:54:54] <Stomach> dunno if that will work
1065: [21:57:07] * r_hector1 quit (Quit: Leaving.)
1066: [21:57:51] * antmas has joined #silverstripe
1067: [22:06:53] <Ryan-Toast> Stomach: Can you send $SiteConfig values to an email template?
1068: [22:07:00] <Stomach> yup
1069: [22:07:11] <Ryan-Toast> Stomach: From the controller, or directly in the template?
1070: [22:07:23] <Stomach> in the template
1071: [22:07:34] <Ryan-Toast> I tried with my logo, no dice
1072: [22:09:10] <Stomach> $siteConfig = SiteConfig::current_site_config(); $email = new Email(); $email->setTemplate('EmailTemplate'); $email->customise(array('Config' => $siteConfig));
1073: [22:09:23] <Stomach> then in email template: 'Config.MyImage'
1074: [22:10:14] <Ryan-Toast> Chur
1075: [22:14:18] <Ryan-Toast> Stomach: Hmm, no dice. Is it because I’m using populateTemplate($data) ?
1076: [22:14:36] <Stomach> yeah, just add the image to data then
1077: [22:14:52] <Stomach> $data['MyImage'] = $siteConfig->MyImage()->URL;
1078: [22:15:14] <Stomach> then just $MyImage in the template
1079: [22:17:23] * Guest3207 has joined #silverstripe
1080: [22:21:06] * todamoon_ has joined #silverstripe
1081: [22:21:25] * novaweb has joined #silverstripe
1082: [22:22:21] * hailwood has joined #silverstripe
1083: [22:22:22] <novaweb> Oh Hai! http://1.bp.blogspot.com/-pPwzSrRNCAU/UUuDeZTID4I/AAAAAAAAFYE/jPl22mbmnqk/s640/IMG_0030.jpg
1084: [22:22:54] <Kingy> yeah it is!
1085: [22:23:04] <novaweb> :D
1086: [22:24:48] <hailwood> Hi guys, can anyone enlighten me to any required folder structure for mysite? e.g. can I have mysite/code/blog/BlogPage.php mysite/code/dataObjects/GalleryImage.php? or does everything have to be in the code/ root directory? (ideally a link to the correct doc page would be awesome)
1087: [22:25:42] <simon_w|air> hailwood, you can use whatever structure you want
1088: [22:25:49] <simon_w|air> Don't even need a code directory
1089: [22:27:35] * Pyromanik quit (Quit: Leaving)
1090: [22:31:04] <willr> hailwood, pretty much all personal preference. We have a standard for our projects of (laying out app like https://github.com/fullscreeninteractive/silverstripe-boilerplate/tree/cms/app/code)
1091: [22:31:26] <hailwood> and it will just load it from wherever it is without needing namespaces or anything? does SS just load in everything in mysite?
1092: [22:32:04] <willr> It loads anything in any folder. As long as the root folder has a _config/ dir or _config.php file
1093: [22:32:29] * mirrors has joined #silverstripe
1094: [22:32:44] <hailwood> sweet, that works. Is the "autoloading" behavior documented anywhere?
1095: [22:35:14] <willr> AFAIK no clear doc but hard to tell
1096: [22:35:37] <willr> New docs will have a section on it.
1097: [22:38:30] <Kingy> shit what have I done
1098: [22:38:35] * travis-ci has joined #silverstripe
1099: [22:38:35] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3184 (2.4 - 55ed5a6 : Joel Marcey): The build passed.
1100: [22:38:35] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/4b757ea912d5...55ed5a6495a6
1101: [22:38:35] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33226596
1102: [22:38:35] * travis-ci has left #silverstripe
1103: [22:38:53] <Kingy> I've broken all my links, they now go to http://localhost/blah instead of localhost:8888/blah
1104: [22:39:08] <Kingy> is that setBaseURL?
1105: [22:39:47] * travis-ci has joined #silverstripe
1106: [22:39:47] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3183 (3.1 - 64fbb51 : Sean Harvey): The build passed.
1107: [22:39:47] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c4ea64e74306...64fbb512da10
1108: [22:39:47] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33222854
1109: [22:39:47] * travis-ci has left #silverstripe
1110: [22:40:02] <mirrors> Hi antmas I am not sure if you remember but a couple of days ago you were giving me some help with setting the permissions in advanced workflow so that publishers can skip the "request to edit" and the "request to publish" steps of the workflow. Did you get a chance to see how you had it set up?
1111: [22:41:37] <mirrors> antmas: the last thing you ask for was what other permission my publishers group had set...i took a screenshot http://pasteboard.co/2obY6aaT.png
1112: [22:44:33] <antmas> mirrors: yes I remember, sorry that was a busy afternoon for me :(
1113: [22:45:21] <antmas> mirrors: yeah so in 'Other', we have a persmission for 'CMS Workflow ADMIN'
1114: [22:45:45] <antmas> which if enabled for a group, allows the save and publish button to appear regardless of if a workflow is applied
1115: [22:48:26] <Kingy> is there anyway to easily import blog posts into the SS blog?
1116: [22:48:32] <Kingy> json preferably
1117: [22:49:10] <willr> blog posts from what?
1118: [22:49:30] <willr> There are wordpress and drupal importers
1119: [22:49:59] <Kingy> vebb: ?
1120: [22:50:16] <vebb> ?
1121: [22:50:19] <vebb> static?
1122: [22:50:54] <Kingy> did the blog not use some other CMS previously? WP or whatever
1123: [22:50:59] <vebb> no
1124: [22:51:01] <vebb> it did not
1125: [22:51:12] <Kingy> doing it the hard way lol
1126: [22:51:37] <Kingy> willr: custom POS it seems :P
1127: [22:53:50] * todamoon_ quit (Ping timeout: 250 seconds)
1128: [22:53:54] * Stomach quit (Quit: zzz)
1129: [22:55:20] <simon_w|air> Kingy, sounds like you get to write an importer!
1130: [22:55:21] <mirrors> antmas: no worries at. Thanks for trying to help regardles. Did you add that "Other" permission yourself...or was that something available in the older versions of advancedworkflow
1131: [22:55:50] <Kingy> simon_w|air: huzzzzah!
1132: [22:57:25] <antmas> mirrors: I believe it was part of the old version
1133: [22:57:41] <antmas> mirrors: making custom permissions is nto difficult though
1134: [22:57:44] <antmas> not*
1135: [22:57:45] * simon_w|air quit (Quit: Textual IRC Client: www.textualapp.com)
1136: [22:59:06] * anselmdk quit (Quit: anselmdk)
1137: [22:59:37] * Azure quit (Quit: Blue Sky Fish)
1138: [23:03:12] * simon_w has joined #silverstripe
1139: [23:03:16] <mirrors> antmas: do you know what version you had...if so i'll have a look at version. Thanks for your help
1140: [23:06:23] * apuckey has joined #silverstripe
1141: [23:11:25] * travis-ci has joined #silverstripe
1142: [23:11:26] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3186 (3.1 - aec8430 : Damian Mooyman): The build passed.
1143: [23:11:26] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/64fbb512da10...aec84303956d
1144: [23:11:26] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33227626
1145: [23:11:26] * travis-ci has left #silverstripe
1146: [23:22:52] <antmas> mirrors: looks like it might be 0.2 but am still looking
1147: [23:23:06] <antmas> mirrors: it was very new when I got it - aroundMay 2013
1148: [23:23:16] <antmas> so... I should probably update that :P
1149: [23:29:04] <zippy> My object has a has_many, and on that has_many there is a has one.
1150: [23:29:23] <zippy> Object -> has_many ItemA's -> has_one ItemB
1151: [23:29:55] <zippy> I can do loop Sort('ItemA.Name') which is cool, but I really want to order ItemA by ItemB's name....
1152: [23:30:26] <zippy> so when fetching ItemA, order by ItemB.Name - is that possible without a custom query
1153: [23:31:53] * Colin[pi] has joined #silverstripe
1154: [23:32:36] <zippy> A use case would be on the blog holder page, order blog posts by author name
1155: [23:32:58] <zippy> Sort(Blog.Author.Name) but that blows up..
1156: [23:33:32] <novaweb> Kingy did you fix 8888
1157: [23:34:00] <Kingy> novaweb: Yeah setBaseURL
1158: [23:34:32] <simon_w> "Receiving objects: 19% (4346/22818), 1.14 MiB | 13.00 KiB/s"
1159: [23:34:35] <simon_w> Yay, github!
1160: [23:34:45] <zippy> need for speed huh
1161: [23:37:20] <zippy> fuck it, custom fucntion it
1162: [23:38:21] <Ryan-Toast> SEO people think they’re developers, how cute.
1163: [23:38:43] <simon_w> So do web designers
1164: [23:38:47] <simon_w> Is hilarious!
1165: [23:39:23] <Ryan-Toast> I run google tag manager, that makes me a senior dev.
1166: [23:39:51] <simon_w> Oh man, this is only the first submodule that needs downloading
1167: [23:39:55] * simon_w weeps a little
1168: [23:40:15] <simon_w> Oh, the second one is 84 objects. That's fine!
1169: [23:41:14] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1170: [23:46:29] * Olliepop has joined #silverstripe
1171: [23:50:14] * Azure has joined #silverstripe
1172: [23:56:11] <novaweb> I have cool commit comments (seconded simon_w on the yay github) Josh Kosmala pushed to branch develop at DIA / diaarchives
1173: [23:56:12] <novaweb> b4865a3ad "Header with SWAG"
1174: [23:56:45] <novaweb> 92d3deb05 "Just kicking arse in general"
1175: [23:57:14] <novaweb> We need to lighten out day somehow, right...?

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