#silverstripe IRC Log

IRC log for 25 March 2014

All timestamps are in UTC.

1: [00:02:51] * UncleCheese has joined #silverstripe
2: [00:08:03] * Azure quit (Quit: Blue Sky Fish)
3: [00:12:56] <zippy____> quite cool, learning some css selectors; http://flukeout.github.io/
4: [00:14:12] * Liquide quit ()
5: [00:15:13] * antmas quit (Quit: Page closed)
6: [00:22:03] * Azure has joined #silverstripe
7: [00:26:16] * Ryan-Toast quit (Quit: Ryan-Toast)
8: [00:28:29] * Ryan-Toast has joined #silverstripe
9: [00:36:29] * jimcrib has joined #silverstripe
10: [00:40:02] * Ryan-Toast quit (Quit: Ryan-Toast)
11: [00:41:21] * Ryan-Toast has joined #silverstripe
12: [00:52:37] * antmas has joined #silverstripe
13: [00:58:40] <jimcrib> just wondering why is $_REQUEST used in the framework?
14: [00:59:18] <Colin[pi]> I think as a shortcut instead of accessing a $request object directly
15: [01:03:04] <jimcrib> interesting
16: [01:14:20] * Ryan-Toast quit (Quit: Ryan-Toast)
17: [01:14:34] <jimcrib> Colin[pi]: $_REQUEST is a PHP global var like $_GET or $_SESSION, http://nz1.php.net/manual/en/reserved.variables.request.php
18: [01:21:37] * Ryan-Toast has joined #silverstripe
19: [01:22:09] * simon_w|air has joined #silverstripe
20: [01:30:25] * abitran quit (Ping timeout: 268 seconds)
21: [01:31:03] * wracu quit (Ping timeout: 245 seconds)
22: [01:32:00] * azureknight has joined #silverstripe
23: [01:32:10] * abitran has joined #silverstripe
24: [01:35:24] * Ryan-Toast quit (Quit: Ryan-Toast)
25: [01:37:01] * Ryan-Toast has joined #silverstripe
26: [01:37:54] <Ryan-Toast> God forbid macs work for once.
27: [01:39:53] <simon_w|air> You're holding it wrong
28: [01:40:10] <Ryan-Toast> Oh you want to use an external screen? Fuck you.
29: [01:40:37] * muskie9_ has joined #silverstripe
30: [01:40:58] <Colin[pi]> jimcrib: yeah I know what $_REQUEST is ;P
31: [01:43:02] <simon_w|air> Yay! My Arduino kits are getting posted tomorrow :)
32: [01:43:19] <Ryan-Toast> simon_w|air: what version?
33: [01:43:21] <antmas> simon_w|air: what you gonna build?
34: [01:43:43] <simon_w|air> http://www.mindkits.co.nz/store/kits/arduino-tutorial-kits
35: [01:43:45] <simon_w|air> Kit 0 and 1
36: [01:44:17] * muskie9 quit (Ping timeout: 252 seconds)
37: [01:44:39] <Ryan-Toast> simon_w|air: get the LED kit too.
38: [01:44:53] <Ryan-Toast> it’s handy for learning
39: [01:44:55] <antmas> eventually I'd love to build a simple shower/water temp monitor
40: [01:45:01] <simon_w|air> Ryan-Toast, I'm going to go through the tutorials in order
41: [01:45:24] <Ryan-Toast> simon_w|air: Ah, cool :)
42: [01:45:27] <Ryan-Toast> It’s good fun.
43: [01:45:41] <Ryan-Toast> be sure to join us on reddit.com/r/Arduino
44: [01:45:51] <simon_w|air> Eww, reddit :p
45: [01:45:58] <antmas> with some kind of actuator to control water flow and temperature :D
46: [01:46:09] <antmas> consistent shower and temp FTW lol
47: [01:47:02] <Ryan-Toast> simon_w|air: You don’t like Reddit?
48: [01:47:27] <antmas> Ryan-Toast: I think you might be the only one who does on here :O
49: [01:47:38] <Ryan-Toast> antmas: What do you guys prefer?
50: [01:47:58] <antmas> I don't have a pref - but I'd take suggestions
51: [01:49:04] <antmas> reddit to me just seems so... unclean
52: [01:49:08] <antmas> I don't know what it is
53: [01:49:11] <antmas> probably the layout
54: [01:49:13] <spronk> reddit is AWESOME
55: [01:49:15] <simon_w|air> And the comments
56: [01:49:16] <Ryan-Toast> ^
57: [01:49:19] <simon_w|air> Internet comments
58: [01:49:20] <simon_w|air> Uck
59: [01:49:25] <spronk> lol
60: [01:49:33] <Ryan-Toast> I love reddit.
61: [01:49:34] <antmas> I don't mind commets
62: [01:49:35] <spronk> reddit comments are the source of some of the *best* humor on the planet
63: [01:49:41] <antmas> but what's wrong with regular forums?
64: [01:49:45] * oddnoc quit (Quit: bye!)
65: [01:49:51] <Ryan-Toast> antmas: everything together at once.
66: [01:49:56] <Ryan-Toast> and more content
67: [01:50:02] <antmas> I guess
68: [01:50:31] <Ryan-Toast> and shit like http://www.reddit.com/r/birdswitharms
69: [01:51:00] <antmas> can it be moderated? usually it looks/reads like a clusterfuck of 14 y/os who spam comment
70: [01:51:23] <spronk> the up/downvote system works quite well for that sorta thing
71: [01:51:58] <spronk> http://imgur.com/KSlb2gU
72: [01:52:03] <spronk> definitely lifts.
73: [01:52:20] <Colin[pi]> ss23: lol they sure got some good footage of you on those videos
74: [01:52:37] <antmas> spronk: XD
75: [01:52:47] <ss23> ;_;
76: [01:52:48] <ss23> please Colin[pi]
77: [01:52:49] <ss23> pls.
78: [01:53:07] <Colin[pi]> tell them next time to get a good shot!
79: [01:53:18] <Colin[pi]> pls guise not while we're eating
80: [01:53:32] <ss23> ;___________;
81: [01:53:41] <antmas> I should probably watch those videos in their entirety
82: [01:53:48] <Colin[pi]> I finished ingo's, pretty good
83: [01:53:49] <antmas> instead of just looking for shots of ss23
84: [01:54:01] <ss23> Sometimes I doubt your commitment to Sparkle Motion.
85: [01:54:14] <Ryan-Toast> ss23: Chut up
86: [01:54:25] <antmas> I want Ingo's jacket
87: [01:54:43] <ss23> lol
88: [01:54:45] <Ryan-Toast> ss23: Go back to China, bitch.
89: [01:54:46] <ss23> Ryan-Toast: XD
90: [01:54:49] <antmas> Ryan-Toast: you're so hip!
91: [01:54:50] <antmas> :P
92: [01:54:56] <ss23> CHUT UP
93: [01:55:09] <Ryan-Toast> We need a smurfette in here.
94: [01:55:27] * antmas votes Stomach
95: [01:56:11] <Colin[pi]> fuck everything about this: http://www.reddit.com/r/WTF/comments/219qk8/this_happened_at_a_playground_in_my_area/
96: [01:56:13] <antmas> what's that sticker on Ingo's mac?
97: [01:56:44] <Ryan-Toast> Colin[pi]: they were testing a new system where you don’t have to cut your finger nails.
98: [01:57:08] <antmas> Colin[pi]: lol, kids
99: [01:57:19] <ss23> what the fuck, Colin[pi]
100: [01:57:28] <Colin[pi]> yeah... exactly
101: [01:57:37] <Colin[pi]> who the fuck does that, seriously
102: [01:57:47] <antmas> reminds of kids that used to put razor blades in the connecting joins on hydroslides
103: [01:59:12] <antmas> eff all of that
104: [01:59:17] * Ryan-Toast quit (Quit: Ryan-Toast)
105: [02:02:05] <spronk> take them out back
106: [02:02:08] <spronk> start shootin
107: [02:02:20] <spronk> feet first, working upwards.
108: [02:02:28] <spronk> then stab them in the face.
109: [02:02:33] <antmas> lol spronk
110: [02:02:43] <spronk> that'll teach em
111: [02:03:26] * Ryan-Toast has joined #silverstripe
112: [02:03:32] <Ryan-Toast> rrraaaarrrr
113: [02:03:35] <antmas> Ingo's vide is really good
114: [02:03:38] <antmas> video*
115: [02:03:41] <Ryan-Toast> IT JUST WORKS THEY SAID
116: [02:03:51] <Ryan-Toast> MACS ARE SO GOOD THEY SAID
117: [02:03:55] <Colin[pi]> antmas: yep it's pretty good isnt it?
118: [02:04:09] <simon_w|air> Ryan-Toast, YOU'RE HOLDING IT WRONG THEY SAID
119: [02:04:24] <simon_w|air> Seriously though, screens are just plug in and they work
120: [02:04:30] <antmas> Colin[pi]: yeah, I mean, it all SHOULD be common knowledge, but he opens it up a bit more
121: [02:05:12] <Ryan-Toast> simon_w|air: It says the screen is there, but it’s getting no signal. Tred all of the resolution options, switched to 1080i,p and all the other fucking ones.
122: [02:05:48] <antmas> Ryan-Toast: have you tried restarting your computer?
123: [02:05:48] <simon_w|air> Perhaps you should try normal resolutions instead of fucking ones?
124: [02:06:01] <Ryan-Toast> antmas: About 5 times.
125: [02:06:03] <Colin[pi]> fucking ones?
126: [02:06:09] <antmas> :D
127: [02:06:45] <antmas> Ryan-Toast: some kind of driver maybe?
128: [02:06:45] <simon_w|air> Ryan-Toast, no signal going through usually means a dodgy cable
129: [02:06:59] <antmas> doge cable
130: [02:07:04] <Ryan-Toast> It’s literally brand new.
131: [02:07:06] <simon_w|air> Or the screen's on the wrong input
132: [02:07:18] <Ryan-Toast> I brought it three hours ago.
133: [02:07:28] <Ryan-Toast> they’re both set to HDMI1
134: [02:08:02] <antmas> Ryan-Toast: maybe this is why the screen was put in storage? :P
135: [02:08:14] <Ryan-Toast> Screen works fine with the linux box.
136: [02:08:19] <Ryan-Toast> It’s brand new.
137: [02:08:23] <antmas> weird
138: [02:08:37] <Ryan-Toast> Not weird, just fucking stupid.
139: [02:09:01] <antmas> Ryan-Toast: is there some setting on macs to enable dual screens?
140: [02:09:05] <Ryan-Toast> I want to check the drivers, but noooo
141: [02:09:19] <Ryan-Toast> antmas: yes. unticking mirror screens in the display settings.
142: [02:10:53] <antmas> I dunno
143: [02:11:08] <antmas> what screen is it?
144: [02:11:56] <Ryan-Toast> Panasonic TH-L24XM6Z
145: [02:12:39] <antmas> Ryan-Toast: try it on another computer?
146: [02:12:47] <antmas> might have some issue with macs
147: [02:12:47] <Ryan-Toast> I did.
148: [02:12:50] <Ryan-Toast> On the linux box
149: [02:12:59] <antmas> Ryan-Toast: another mac?
150: [02:13:29] <antmas> Ryan-Toast: does it say no signal?
151: [02:13:41] <Ryan-Toast> All our macs are the same.
152: [02:14:15] <antmas> last time I tried setting up dual screens, I just saw black until I dragged a window over to it XD
153: [02:14:22] <antmas> herpderp
154: [02:14:35] <Colin[pi]> windows 8 for dual screens is so shit
155: [02:14:47] <antmas> Colin[pi]: I think it's awesome :D
156: [02:14:52] <antmas> 8.1 anyway
157: [02:14:54] <Colin[pi]> well, the metro stuff is useless for multitasking
158: [02:14:58] <Ryan-Toast> Colin[pi]: Why? Mine works fine
159: [02:15:07] <antmas> don't use metro
160: [02:15:13] <antmas> problem solved
161: [02:15:13] <Ryan-Toast> Never use metro.
162: [02:15:14] <Colin[pi]> lol
163: [02:15:20] <Ryan-Toast> You can turn it off.
164: [02:15:29] <antmas> we've been over this :P
165: [02:18:08] * Ryan-Toast quit (Quit: Ryan-Toast)
166: [02:21:54] <Colin[pi]> mmm my office smells like fresh bread
167: [02:22:44] <simon_w|air> I'm not even at work today
168: [02:22:44] <Colin[pi]> :o
169: [02:22:44] <Colin[pi]> why?
170: [02:22:59] <simon_w|air> Making out with the fiancee ;)
171: [02:23:07] <antmas> gross
172: [02:23:09] <antmas> :P
173: [02:23:18] <Colin[pi]> eeuw
174: [02:23:28] <antmas> while talking on IRC?
175: [02:23:32] <Colin[pi]> I don't want to know.. I don't want to know..
176: [02:24:23] <simon_w|air> Well, today we met with the celebrant
177: [02:24:48] <Colin[pi]> you're making out with him too???
178: [02:25:00] <simon_w|air> Who wouldn't?
179: [02:25:20] <antmas> LOL
180: [02:25:37] <antmas> is Stig a core dev?
181: [02:25:39] * Ryan-Toast has joined #silverstripe
182: [02:25:48] * Ryan-Toast has left #silverstripe
183: [02:26:49] * Ryan-Toast has joined #silverstripe
184: [02:27:02] <Colin[pi]> http://www.silverstripe.com/about-us/team/development/stig-lindqvist/
185: [02:27:45] <antmas> oh
186: [02:27:49] <antmas> so, yes.
187: [02:27:58] <antmas> he writes SciFi novels?
188: [02:28:02] <antmas> HE IS GOD
189: [02:28:58] <Colin[pi]> where does it say that?
190: [02:30:09] <ss23> lol
191: [02:30:51] <ss23> I know he reads them, didn't know he wrote them!
192: [02:32:09] <Colin[pi]> I see you've been messing with newsletter, ss23
193: [02:32:26] <ss23> I merged a change from someone, it looked good
194: [02:32:28] <ss23> green = shipit!
195: [02:32:34] <Colin[pi]> hehe
196: [02:34:09] <antmas> https://stojg.se/
197: [02:36:34] <Colin[pi]> his site doesn't run SS! :o
198: [02:36:43] <Colin[pi]> quick, prepare the stake and fire
199: [02:36:58] <ss23> XD
200: [02:37:15] <ss23> antmas: That only says he reads, not writes? :O
201: [02:37:44] <ss23> wtf
202: [02:37:48] <ss23> stig rated Hydrogen Sonata 4/5
203: [02:37:49] <ss23> :/
204: [02:37:58] <ss23> not even close to one of Banks' best in the series
205: [02:39:15] <Colin[pi]> does the newsletter module honestly not have a subscription widget? :o
206: [02:39:42] <ss23> Matter is best!
207: [02:41:33] <antmas> oh wait
208: [02:41:35] <antmas> DAMN
209: [02:41:40] <antmas> it is *reads*
210: [02:41:59] <Colin[pi]> antmas: stop masturbating, it's affection your vision
211: [02:42:04] <Colin[pi]> *affecting
212: [02:42:06] <Colin[pi]> LOL
213: [02:42:15] * antmas considers Stiq to be nothing more than a regular man
214: [02:42:26] <antmas> Colin[pi]: XD
215: [02:42:39] <antmas> I didn't have my glasses on ;__;
216: [02:43:03] <Colin[pi]> a likely story -_-
217: [02:43:38] <ss23> lol
218: [02:43:49] <ss23> Stig didn't put Matter on his list
219: [02:43:51] <ss23> sux2behim
220: [02:45:17] <zippy____> Colin[pi]: using the newsletter module over mailchimp?
221: [02:45:34] <Colin[pi]> considering it, small project
222: [02:46:50] <ss23> That will probably work out bad
223: [02:47:02] <Colin[pi]> why? :o
224: [02:47:03] <ss23> If you have time to work on the module it's fine, but it will take tweaks etc I think
225: [02:47:07] <ss23> It's just nice a well polished module
226: [02:47:09] <ss23> It "works"
227: [02:47:24] <Colin[pi]> I have a version I've pre-polished
228: [02:47:33] * simon_w|air quit (Quit: This computer has gone to sleep)
229: [02:47:38] <Colin[pi]> as I noticed that it was a bit broken
230: [02:47:55] <antmas> Ryan-Toast: has a mailchimp module I think
231: [02:47:59] <antmas> Ryan-Toast: right? a basic one?
232: [02:48:58] <Colin[pi]> I rolled a mailchimp signup widget the other week too :o
233: [02:49:09] <zippy____> Colin[pi]: boom problem solved
234: [02:49:13] <ss23> What is your obsession with "widgets"?!
235: [02:49:14] <ss23> WEIRDO
236: [02:49:21] <Colin[pi]> NU UH
237: [02:49:34] <ss23> idek what it means
238: [02:49:35] <ss23> o.o
239: [02:49:40] <ss23> I mean, I've heard the word, and it just means "thing"
240: [02:49:42] <Colin[pi]> it's because my standard install has a series of widget areas per page
241: [02:49:42] <ss23> so idk
242: [02:49:52] <antmas> widgets is so WP
243: [02:49:57] <Colin[pi]> yes, exactly
244: [02:50:02] <Colin[pi]> it helps to convert them :P
245: [02:50:10] <antmas> Colin[pi]: so staaaaaahhhp
246: [02:50:13] <antmas> :P
247: [02:50:39] * muskie9 has joined #silverstripe
248: [02:50:47] * muskie9_ quit (Read error: Connection reset by peer)
249: [02:51:56] <Colin[pi]> so.. I should convince them to use a CMS that provides less than WP?
250: [02:52:10] <antmas> blaspehmer!
251: [02:52:14] <antmas> fuck
252: [02:52:18] <antmas> blasphemer*
253: [02:52:20] <antmas> :P
254: [02:52:23] <Colin[pi]> because believe me, it takes some convincing of folks here
255: [02:52:29] <Colin[pi]> they are all hell bent on WP
256: [02:52:32] <Colin[pi]> WP WP WP WP
257: [02:52:34] <Colin[pi]> OMG SO GOOD
258: [02:52:37] <Colin[pi]> ;_;
259: [02:53:42] <Colin[pi]> the reason I believe is because of the "off the shelf" stuff they can download and plugin
260: [02:53:45] <ss23> Colin[pi]: I think that they are convinced their needs require widgets, then you are never going to "convince" them to like SilverStripe. Instead, you'll have to go back to those base assumptions and explain them properly :)
261: [02:54:27] <Colin[pi]> ss23: so you think users shouldn't have the option to add/remove little bits of page functionality in SS?
262: [02:54:45] <Colin[pi]> I know there are other methods, but that approach is basically widgets
263: [02:55:14] <ss23> Colin[pi]: I think you need to go back further and think about they're trying to acomplish :)
264: [02:56:59] <Colin[pi]> ss23: care to elaborate?
265: [02:57:10] <ss23> Colin[pi]: I mean, what do they need that functionality for?
266: [02:57:23] <ss23> Is it to make up for inaduaquate support from the developer originally?
267: [02:57:48] <ss23> I understand websites aren't static, but if the users requirements are met originally, they shouldn't require swapping out entire parts of fucntionality
268: [02:58:00] * muskie9 quit ()
269: [02:58:00] <ss23> Colin[pi]: That is, widgets seem like a stopgap solution to a bigger problem somewhere. I'm not sure what it is
270: [02:58:16] <Colin[pi]> no, hence why widgets are things you see in the sidebar or footer, and not entire pages ;P
271: [02:58:47] <Colin[pi]> I've found that to feel like they have ownership of the site, they like some flexibility in terms of crafting certain pages as they see fit
272: [02:59:06] <Colin[pi]> we want a subscribe form there, we want our latest tweets there and our facebook like box over there
273: [02:59:12] <ss23> lol
274: [02:59:24] <ss23> If it's about them just wanting to feel "in control", then I think widgets are a poor solution for that too ;)
275: [02:59:28] <Colin[pi]> now say they want to move that, rearrange etc.. why not allow them to do it themselves and not come running to me?
276: [03:00:10] <Colin[pi]> oh I don't argue that the widget approach is flawless, or truly flexible.. but I've found it gives them enough control to be happy
277: [03:00:41] <ss23> I've found that stopgap measures of "If I include this, it will make the client feel in control" instead of addressing the core issue (a feeling of not being in control) is a poor solution!
278: [03:01:01] <Colin[pi]> if it's working, how is it a stopgap solution?
279: [03:01:21] <ss23> Because giving them control of editing .php files would also "work"
280: [03:01:31] <ss23> It's just not what I would call a real solution
281: [03:01:49] <antmas> ss23: you make a good point
282: [03:01:56] <antmas> but I see Colin[pi] 's problem
283: [03:01:59] <Colin[pi]> yeah but adding widgets in the CMS and entering a few parameters is a far cry from editing PHP
284: [03:02:43] <ss23> I'm not saying they're eqiv, I'm saying there are lots of "solutions" that make the user feel in control, like editing PHP, or widgets, but neither of those solve the problem of the user not feeling in control *properly*
285: [03:02:50] <ss23> You have to address those concerns earlier etc
286: [03:03:29] <Colin[pi]> you're being very esoteric ;) I'm being pragmatic, at least that's how I feel lol
287: [03:04:19] <antmas> ss23: that's almost impossible to achieve
288: [03:04:22] <antmas> imo
289: [03:04:42] <antmas> and the definition of it is pretty subjective
290: [03:05:09] <Colin[pi]> I guess when you're like me and you have limited time and resources, leveraging something like widgets helps
291: [03:05:30] <Colin[pi]> if you're a bigger dev, bigger clients, prolly not as much of an issue
292: [03:06:25] <ss23> Charge more money, yo!
293: [03:07:11] <Colin[pi]> I am! When I started out I was undercharging a lot
294: [03:07:19] <Colin[pi]> I've learned from that now ;)
295: [03:08:26] <Colin[pi]> I had heard that SS don't use widgets, is that right ss23?
296: [03:08:41] <Colin[pi]> they do like custom has_many's with gridfields etc.?
297: [03:09:07] <Colin[pi]> I know the widgets module/base is a bit flaky :o
298: [03:09:36] * Ryan-Toast quit (Quit: Ryan-Toast)
299: [03:10:08] <ss23> I don't use them
300: [03:10:09] <ss23> :O
301: [03:10:18] <Colin[pi]> I figured ;)
302: [03:12:26] * mobiusnz has joined #silverstripe
303: [03:13:13] <ss23> I prefer a real solution
304: [03:13:14] <ss23> :3
305: [03:13:22] <Colin[pi]> which is?
306: [03:13:40] <ss23> Having a well managed project that lets the client feel in control
307: [03:13:41] * Ryan-Toast has joined #silverstripe
308: [03:13:43] <ss23> ^.^
309: [03:13:53] <Ryan-Toast> antmas: I do, but it’s pretty bad.
310: [03:13:53] <Colin[pi]> -_-
311: [03:13:59] <Ryan-Toast> I wouldn’t use it.
312: [03:14:07] <Ryan-Toast> It works, but the code…oh god the code.
313: [03:14:24] <zippy____> Ryan-Toast: Is this in your boiler plate?
314: [03:14:29] <Ryan-Toast> ye
315: [03:14:36] <Ryan-Toast> it’s the only module I havenm’t worked on.
316: [03:14:48] <zippy____> third party?
317: [03:15:30] <Ryan-Toast> zippy____: just uses the default mailchimp php class.
318: [03:15:56] <zippy____> and that code is bad, or the code you wrote to implment it is?
319: [03:16:04] <Ryan-Toast> the code I wrote.
320: [03:16:11] <Ryan-Toast> this code is bad: https://github.com/Rhym/ss_boilerplate/blob/master/Boilerplate/code/Modules/Newsletter/code/NewsletterPage.php
321: [03:16:21] * overburden has joined #silverstripe
322: [03:16:26] <overburden> yo
323: [03:16:51] <zippy____> Don\'t haver an API key?
324: [03:17:22] <Ryan-Toast> zippy____: 'MailChimpAPI' => 'Varchar(255)',
325: [03:17:26] <overburden> last time i used silverstripe it was a 3.0.x stable but kept getting advised in here to move to 3.1, just about to do a new site and am wondering what the current advice is regarding the version
326: [03:17:33] <zippy____> Ryan-Toast: zee typo
327: [03:17:46] <zippy____> overburden: 3.1
328: [03:17:50] <antmas> overburden: use 3.1
329: [03:17:56] <antmas> MUCH better
330: [03:18:07] <mobiusnz> hey, is there an easy way now to have variables inside content blocks?
331: [03:18:12] <overburden> yeah 3.1 is the current stable version - that was my point
332: [03:18:15] <Ryan-Toast> zippy____: It all works, I just need to refactor it not to be hacky.
333: [03:18:32] <overburden> since we've got 3.1.3-rc2 avaliable i see
334: [03:18:53] <zippy____> ss23: did you get all those patches in for 3.1.4?
335: [03:19:21] <ss23> Not yet!
336: [03:19:22] <ss23> :D
337: [03:19:26] <ss23> Maybe this Friday, aye? :P
338: [03:19:30] <ss23> I am almost done though
339: [03:19:35] <ss23> 50% done the last patch of 4-5
340: [03:19:45] <zippy____> ss23: "drop everything" aye
341: [03:19:58] <ss23> I did!
342: [03:20:00] <ss23> I still didn't get it done
343: [03:20:01] <ss23> :P
344: [03:21:30] * overburden is now known as tinyzygote
345: [03:23:07] <zippy____> mmm write a contact form, or use the userforms… mmm
346: [03:23:09] <zippy____> in two minds
347: [03:23:21] <Ryan-Toast> zippy____: copy paste mine :)
348: [03:25:08] <zippy____> 3 &plus; 7 &equals; ?
349: [03:25:14] <zippy____> Ryan-Toast: you know there is a math spam plugin eh
350: [03:25:34] <Ryan-Toast> don’t like plugins.
351: [03:25:45] * jimcrib is now known as jimcrib|away
352: [03:25:55] <Ryan-Toast> there are modules for pretty much everything I’ve made, but that isn’t the point :P
353: [03:26:06] <zippy____> what if I write ten
354: [03:26:20] <Ryan-Toast> :O
355: [03:26:31] <Ryan-Toast> easy change
356: [03:26:53] <Ryan-Toast> I can just chanwge the input type to number
357: [03:27:27] <zippy____> chur
358: [03:27:35] <zippy____> btw, I like saving the form submission on the server
359: [03:27:59] <Ryan-Toast> then save it on the server :P
360: [03:28:05] <zippy____> I will, and it will love it
361: [03:28:08] <Ryan-Toast> GOOD
362: [03:28:12] <Ryan-Toast> I’M HAPPY FOR YOU
363: [03:28:38] <Ryan-Toast> I’m buying a gun cleaning mat for a mousepad :D
364: [03:31:40] <antmas> Razer Goliathas FTW
365: [03:32:00] <Ryan-Toast> antmas: http://www.reddit.com/r/battlestations/comments/1v80hw/gun_cleaning_mats_make_for_great_mouse_pads/
366: [03:33:03] <antmas> why?
367: [03:33:08] <Ryan-Toast> because awesome
368: [03:33:47] <antmas> :P
369: [03:33:59] <antmas> I have an XXL goliathus and it is god-tier
370: [03:34:19] <Ryan-Toast> I have a steelseries massive one.
371: [03:34:20] <antmas> even though I use about this much space on it |---------------------------------------------------------------------------------|
372: [03:35:13] <antmas> and.... I'm outa here
373: [03:35:17] <antmas> see ya'll tomorrow
374: [03:35:52] <Ryan-Toast> Playing titanfall tonight?
375: [03:36:46] <antmas> Ryan-Toast: I will be
376: [03:36:50] <antmas> hurry up and add me :P
377: [03:36:55] <antmas> pending fookin invite
378: [03:36:59] <Ryan-Toast> antmas: I may be on depending if I go pub quiz or not.
379: [03:37:09] <antmas> schweet
380: [03:37:17] <Ryan-Toast> I’ll be on before I go anyway
381: [03:37:34] * antmas quit (Quit: Page closed)
382: [03:43:52] * an_Eskimo quit (Quit: Page closed)
383: [03:46:32] * simon_w|air has joined #silverstripe
384: [03:48:41] <mobiusnz> what's the best way to make an ArrayList with formattable numbers objects?
385: [03:48:56] <mobiusnz> or is it possible to format raw numbers within the SS template?
386: [03:55:07] <UncleCheese> Instead of passing scalar values to the members of the array, pass a DBField object
387: [03:55:36] <UncleCheese> new ArrayList(array(new ArrayData(array('SomeField' => new Int(4)))))
388: [03:56:23] <UncleCheese> if the value comes from a property or method from the class, you can take advantage of $casting, too
389: [03:57:28] <simon_w|air> Gosh, at least give out code that works :p
390: [03:57:35] <simon_w|air> DBField::create_field('Int', 4)
391: [03:59:42] <mobiusnz> so something like $results->push(array('Item' => 'Platinum Sponsorship Package', 'Cost' => Money::create()->setAmount(34500)));
392: [04:08:58] <mobiusnz> hmm
393: [04:09:02] <mobiusnz> well that doesn't seem to work
394: [04:14:15] <simon_w|air> ss23, WHERE'S 3.1.4?
395: [04:16:33] <ss23> simon_w|air: ON THE TODO LIST
396: [04:16:47] <simon_w|air> ss23, SO MUCH FOR OUT BEFORE MY POST
397: [04:16:51] <ss23> XD
398: [04:16:55] <ss23> SORRY! :P
399: [04:17:49] <simon_w|air> You should be! :p
400: [04:17:57] <zippy____> ss23: less sorry more release
401: [04:18:49] * CodeTrap quit (Ping timeout: 240 seconds)
402: [04:19:44] <ss23> It's on my todo list!
403: [04:19:45] * CodeTrap has joined #silverstripe
404: [04:20:57] * Ryan-Toast quit (Quit: Ryan-Toast)
405: [04:22:52] * nbezzala quit (Remote host closed the connection)
406: [04:41:35] * zippy____ quit (Ping timeout: 268 seconds)
407: [04:42:38] * UncleCheese quit (Quit: UncleCheese)
408: [04:43:40] * UncleCheese has joined #silverstripe
409: [04:45:14] * Stomach quit (Read error: Connection reset by peer)
410: [04:51:58] * cloph_away quit (Ping timeout: 240 seconds)
411: [04:54:48] * UncleCheese quit (Quit: UncleCheese)
412: [04:56:47] * cloph_away has joined #silverstripe
413: [05:10:27] <jordanmk> hey guys
414: [05:10:35] <jordanmk> how would i use a PHP plugin on my SilverStripe site?
415: [05:10:49] <ss23> What is a "PHP plugin"?
416: [05:10:51] <jordanmk> i'm trying to use https://code.google.com/p/parsecsv-for-php
417: [05:11:02] <jordanmk> plugin is probably not the right word
418: [05:11:14] <ss23> Just add the code, require_once it, and use it :)
419: [05:11:40] <jordanmk> i put the file in the same directory that my controller is in
420: [05:11:51] <ss23> Probably better to put it in a seperate folder
421: [05:11:55] <jordanmk> is that the right place, and would i then just do "require_once(parseCSV);"?
422: [05:11:59] <ss23> Yeah, that would work
423: [05:12:14] <ss23> Better place is probably in vendor/parsecsv-for-php or something
424: [05:12:35] <jordanmk> it says "ERROR [Notice]: Use of undefined constant parseCSV - assumed 'parseCSV'"
425: [05:13:44] * DesignerX has joined #silverstripe
426: [05:13:48] <ss23> lol
427: [05:13:54] <ss23> jordanmk: Do you know PHP?
428: [05:14:30] <jordanmk> not very well lol
429: [05:14:43] <ss23> jordanmk: you need to include the actual file(s)
430: [05:15:45] <jordanmk> yeah cheers, figured it out :P
431: [05:23:10] <azureknight> Anybody using the google site search module?
432: [05:28:03] * babak has joined #silverstripe
433: [05:29:20] <Colin[pi]> <+ss23> jordanmk: Do you know PHP? <-- I think even the people at PHP don't know PHP
434: [05:29:57] <ss23> lol
435: [05:30:02] <ss23> I was looking at some PHP source last night...
436: [05:30:07] <ss23> A bunch of functions were defined in .h files
437: [05:30:07] <ss23> :(
438: [05:30:09] <ss23> I was like "PLS"
439: [05:30:25] <simon_w|air> That's fairly common for real projects :p
440: [05:30:34] <ss23> Not the real projects I've written myself! :(
441: [05:30:35] <simon_w|air> Inline-able ones go in header files
442: [05:30:40] <ss23> I got told ".h is for function definitions!"
443: [05:30:44] <ss23> simon_w|air: Why not just use llvm with LTO?
444: [05:30:46] <ss23> :D
445: [05:31:13] <ss23> I preusme that is why you would want it in a .h, so when you're linking, you can inline it because you have the entire file in the .h you're linking with or something
446: [05:31:23] <ss23> (As you can tell, I don't know C or linking or iniling or header files! :D)
447: [05:32:05] <simon_w|air> No, it's a pre-linking step
448: [05:32:21] <ss23> Why does it need to be in an .h to inline then?
449: [05:32:37] <simon_w|air> So the compiler knows what the actual code is
450: [05:33:03] <simon_w|air> Files get compiled one at a time and in isolation
451: [05:34:03] <ss23> So the idea is that when you normally compile foo.c and it references functions from bar.c, but you can't inline cause you only read bar.h
452: [05:34:10] <simon_w|air> Yup
453: [05:34:39] <ss23> But foo.c still has to call the code from bar.c eventually, so isn't that part of the "linking" process, where it points all those to hte right place? You could inline stuff then, couldn't you?
454: [05:35:19] <simon_w|air> Well, no. You're linking machine code which has already been optimised and is expecting the stack to be in a certain way and stuff
455: [05:35:58] <simon_w|air> It's a lot easier to rewrite C code (which has function isolation) than Assembler/machine code (which doesn't)
456: [05:38:10] <ss23> Yeah, I figured that might be an issue
457: [05:42:21] <simon_w|air> Though, it wouldn't surprise me if PHP has functions in header files that really shouldn't be there
458: [05:42:42] <simon_w|air> Their code base is not a good example of how to write large projects
459: [05:43:14] <ss23> mm
460: [05:43:14] <ss23> :D
461: [05:57:43] <ss23> I looked outside and saw the rain and the tops of buildings which makes it seem like I'm in a highrise and it's really dark in here OH GOD THIS IS CYBERPUNK
462: [06:01:48] * azureknight quit (Quit: Textual IRC Client: www.textualapp.com)
463: [06:02:14] <Colin[pi]> ss23: wouldn't be true cyberpunk unless you did this and safely landed: http://wallpoper.com/images/00/40/90/74/motoko-kusanagi_00409074.jpg
464: [06:02:25] <ss23> lol
465: [06:02:28] <ss23> But they're military
466: [06:02:29] <ss23> :(
467: [06:02:33] <ss23> I don't have access to their tech!
468: [06:02:37] <ss23> Colin[pi]: Are you watching Arise?
469: [06:02:41] <Colin[pi]> I am :)
470: [06:02:47] <ss23> :D
471: [06:02:49] <ss23> It's good, I like it
472: [06:02:55] <Colin[pi]> I'll lap up anything GITS
473: [06:02:57] <Colin[pi]> ANYTHING
474: [06:03:01] <ss23> XD
475: [06:03:03] <Colin[pi]> so I'll take whatever they give me
476: [06:03:04] <ss23> I prefer the series to the movies
477: [06:03:13] <Colin[pi]> GITS:SAC was freakin amazing
478: [06:03:16] <ss23> Yeah
479: [06:03:18] <ss23> I <3 it
480: [06:03:33] <ss23> It's also one of those shows I don't think about for ages, then be like "oh yeah that was good :O"
481: [06:03:40] <ss23> To be honest, probably fucking realistic, too
482: [06:03:47] <Colin[pi]> some episodes were very deep
483: [06:03:48] <ss23> Especially given when GitS first was made
484: [06:04:03] <Colin[pi]> it's definitely not an anime where you can turn off your brain
485: [06:04:13] <ss23> 1989 was when it first came out
486: [06:04:14] <Colin[pi]> which is why I think perhaps it doesn't get as much attention
487: [06:04:23] <Colin[pi]> oh yeah it was far before it's time
488: [06:04:40] <Colin[pi]> the matrix was basically because of GITS
489: [06:05:00] <Colin[pi]> the wachowskis went to hollywood, showed them GITS, and said "We want to do pretty much that"
490: [06:05:02] <ss23> Lain is also really good
491: [06:05:08] <ss23> Rewatched it recently
492: [06:05:18] <Colin[pi]> ooh haven't seen that one
493: [06:05:57] <Colin[pi]> I love how in GITS there are people jumping off the top of high buildings seemingly all the time, like it's no biggie
494: [06:06:08] <Colin[pi]> "Ok, i'm off home... cya!" *jump*
495: [06:07:04] <Colin[pi]> ss23: did you play DX:HR?
496: [06:07:52] <ss23> Nope, only played original :O
497: [06:07:56] <Colin[pi]> omg
498: [06:07:58] <Colin[pi]> omg
499: [06:08:02] <Colin[pi]> you need to get it dude
500: [06:08:11] <ss23> Colin[pi]: But they're mega high military with newest tech. I would hope falling is a solved probelm in the future!
501: [06:08:15] <ss23> Oh I think I own it
502: [06:08:17] <ss23> :P
503: [06:08:20] <Colin[pi]> lol
504: [06:08:39] <Colin[pi]> if you can get past the "omg everything is so orange/yellow" design, it's amazing
505: [06:08:57] <ss23> tbh, original was quite good
506: [06:08:58] <ss23> I liked it
507: [06:09:10] <Colin[pi]> the original was my favourite all time title
508: [06:09:22] <Colin[pi]> I remember it kept going.. and going.. and going.. and going.. and going
509: [06:09:30] <ss23> http://steamdb.info/calculator/?player=ss23&currency=us
510: [06:09:37] <Colin[pi]> and when it finished it was the first time I was really disappointed because a game ended
511: [06:09:38] <ss23> hey, look, Deus Ex: HR
512: [06:09:39] <ss23> :D
513: [06:09:44] <Colin[pi]> lol
514: [06:09:52] <Colin[pi]> it's been on sale like a zillion times
515: [06:09:56] <ss23> woah I won RE:6 too
516: [06:09:57] <ss23> :O
517: [06:09:58] <ss23> I should play that
518: [06:10:07] <ss23> shit, I own bioshock infinite too!
519: [06:10:10] <ss23> That's meant to be really good
520: [06:10:11] <ss23> :O
521: [06:10:13] <ss23> man
522: [06:10:19] <ss23> I really needa play some fo the games I own
523: [06:10:21] <Colin[pi]> I was tempted to get that, but I never finished the first bioshock
524: [06:10:27] <ss23> hahaha neither
525: [06:10:27] <ss23> xD
526: [06:10:32] <Colin[pi]> I got bored :(
527: [06:10:32] <ss23> I got through one of the levels but it didn't save
528: [06:10:37] <ss23> so I was like "FUCKFKSDAFNKASDFNSKADFNSDAKFNSDFAF" and stopped
529: [06:10:40] <Colin[pi]> lool
530: [06:10:58] <Colin[pi]> no I seriously got bored... just got to a point of "ah fuck it" and stopped
531: [06:11:13] <ss23> Hey llok, 42.6 hours on original deus ex :D
532: [06:12:21] <ss23> weird, only 2 hours on Amensia the Dark Descent
533: [06:12:23] <ss23> Must've bugged out
534: [06:12:28] <Colin[pi]> mine's not recorded as I did it pre-Steam :o
535: [06:13:49] <Colin[pi]> there was supposed to be a GITS MMORPG coming out
536: [06:14:44] <ss23> Eh, I presume it'll flop
537: [06:15:02] <Colin[pi]> http://press.nexon.net/press-release/ghost/nexon-announces-ghost-shell-stand-alone-complex
538: [06:15:07] * stripee has joined #silverstripe
539: [06:15:16] <Colin[pi]> not seeing anything else about it
540: [06:15:31] <jordanmk> hey guys, for my site i'm using a CountryDropdownField (http://api.silverstripe.org/master/class-CountryDropdownField.html)
541: [06:16:13] <jordanmk> if i have the country code (e.g. "AU" or "NZ") stored for a DataObject, does anyone know of a way to display the actual country name on the front-end ("Australia")?
542: [06:16:27] <Colin[pi]> you need to use Geoip or something
543: [06:16:32] <Colin[pi]> or was that just 2.4?
544: [06:20:47] <jordanmk> there seems to be a Geoip::countryCode2name() in SS 2.4
545: [06:20:57] <jordanmk> which seems like it would do what i want
546: [06:21:04] <jordanmk> trying to figure out if 3.0 has anything like that
547: [06:21:28] <Colin[pi]> jordanmk: https://github.com/silverstripe-labs/silverstripe-geoip ?
548: [06:25:30] <jordanmk> that works! cheers mate :)
549: [06:25:34] * Bollig|DesignCty has joined #silverstripe
550: [06:25:35] <Colin[pi]> np
551: [06:25:51] <Bollig|DesignCty> anyone used imagick backend? it seems… bad.
552: [06:25:52] <Bollig|DesignCty> :)
553: [06:26:28] <ss23> Does it work? :D
554: [06:28:52] <Bollig|DesignCty> yeah. sometimes.
555: [06:30:57] <Bollig|DesignCty> clearly untested. randomly introduces variables… for example… https://github.com/silverstripe/silverstripe-framework/blob/3.1/filesystem/ImagickBackend.php#L250
556: [06:32:00] <Bollig|DesignCty> oh, hey. $backgroundColor. Cool.
557: [06:33:11] <stripee> hello !!
558: [06:33:24] <Colin[pi]> howdy
559: [06:34:48] <stripee> Bollig|DesignCty how can the treeview be totally replaced by gridview in CMS?
560: [06:35:28] <stripee> I dont want default treeview ,i juss wanna see the grid view..........is the any way ?
561: [06:38:48] * violetina has joined #silverstripe
562: [06:45:56] <stripee> does anyone know what smartadserver does?
563: [06:51:17] <Bollig|DesignCty> stripee: my guess is serve ads...
564: [06:51:48] <Bollig|DesignCty> and replacing tree view—absolutely no idea. I'm not the right person to ask, see if one of the devs or simon_w|air knows...
565: [07:02:27] * violetina quit (Remote host closed the connection)
566: [07:08:46] * Shrike_Finland has joined #silverstripe
567: [07:13:00] * simon_w|air quit (Quit: This computer has gone to sleep)
568: [07:28:13] * zippy____ has joined #silverstripe
569: [07:28:49] <stripee> ohk
570: [07:29:33] <stripee> Bollig|DesignCty i expect an answer to mi previous question .plz do look at it......
571: [07:30:20] <Bollig|DesignCty> I expect correct spelling and punctuation, but what can you do.
572: [07:30:27] <Bollig|DesignCty> stripee: which question?
573: [07:30:53] <stripee> Bollig|DesignCty how can the treeview be totally replaced by gridview in CMS?
574: [07:31:10] <stripee> I dont want default treeview ,i just wanna see the grid view..........is the any way ?
575: [07:31:29] <Bollig|DesignCty> stripee: as I mentioned previously, I have absolutely no idea. Scroll up. :)
576: [07:32:11] * lewellyn quit (Ping timeout: 246 seconds)
577: [07:32:27] <stripee> Bollig|DesignCty got it.
578: [07:32:28] * lewellyn has joined #silverstripe
579: [07:41:35] * UncleCheese has joined #silverstripe
580: [07:47:01] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
581: [07:47:41] * mobiusnz quit (Remote host closed the connection)
582: [07:48:02] * mobiusnz has joined #silverstripe
583: [07:56:32] * simon_w|air has joined #silverstripe
584: [08:08:28] * ARNHOE has joined #silverstripe
585: [08:16:33] * Shrike_Finland quit (Quit: Leaving.)
586: [08:21:15] * desperate quit (Quit: Page closed)
587: [08:38:21] * wmk has joined #silverstripe
588: [08:42:33] * Shrike_Finland has joined #silverstripe
589: [08:42:39] * simon_w|air quit (Quit: This computer has gone to sleep)
590: [08:54:49] * spronk2 has joined #silverstripe
591: [08:58:14] * kinglozzer has joined #silverstripe
592: [09:03:13] * Shrike_Finland quit (Quit: Leaving.)
593: [09:08:35] * Sj0hn has joined #silverstripe
594: [09:09:56] * UncleCheese quit (Quit: UncleCheese)
595: [09:13:33] * stripee quit (Ping timeout: 245 seconds)
596: [09:16:30] * ocm has joined #silverstripe
597: [09:16:32] <ocm> howdy
598: [09:16:41] <wmk> hi
599: [09:18:47] * micmania1 has joined #silverstripe
600: [09:20:45] <Sj0hn> hey
601: [09:24:33] <wmk> hmm, old ss2.3.6 site with userforms has a spam problem
602: [09:26:23] <zippy____> wmk: use the spamprotection module?
603: [09:26:54] <wmk> well, a honeypot i could put in old userform would be great.
604: [09:27:07] <wmk> if a captcha can be avoided it would be great
605: [09:27:51] <wmk> it's ss 2.3 :(
606: [09:32:18] * Tanger quit (Quit: Tanger)
607: [09:33:38] * Pyamumk has joined #silverstripe
608: [09:34:36] <micmania1> Pyamumk: breakfast of champions this morning. Peanut butter kitkat chunky. Yee knah!
609: [09:35:04] <Pyamumk> vas ist das? Jordy take on Kiwi phrases?
610: [09:35:20] <Pyamumk> Yeah nah, Kitkat chunky probably not my breakfast of choice.
611: [09:35:43] <Pyamumk> I had some kind of cereal thing, with yogurt and jam.
612: [09:35:44] <micmania1> it should be the only choice.
613: [09:35:54] <Pyamumk> and some kind of fruit smoothy.
614: [09:36:05] <Pyamumk> micmania1: you love it.
615: [09:36:18] <Pyamumk> Today I got the Little Italy for lunch.
616: [09:39:04] * striper has joined #silverstripe
617: [09:39:10] <striper> simon_w how can treeview be totally replaced by gridview?
618: [09:39:29] <Pyamumk> Wow. This guy.
619: [09:39:36] <striper> i dont want the treeview of sitetree.....
620: [09:39:56] <Pyamumk> so click the button
621: [09:40:00] <wmk> argh, old linked docs are not found anymore
622: [09:40:16] <Pyamumk> wmk: suprise factor: 0%.
623: [09:40:37] <wmk> Pyamumk, well, maintaining an old site made in 2010 using ss2.3
624: [09:41:31] <Pyamumk> wmk: ah. bl2u.
625: [09:41:45] <wmk> bl2u???
626: [09:41:54] <Pyamumk> bad luck to you.
627: [09:42:03] <wmk> ehem, thanks???
628: [09:42:22] <Pyamumk> 2.3. Easiest way out of that is upgrade to 2.4. Read changelogs for any caveats.
629: [09:42:49] <wmk> hmm
630: [09:43:38] <striper> @simon_w can we do so?
631: [09:44:00] <wmk> damn, update 2.3 to 2.4 there was a problem with utf8
632: [09:44:26] <Pyamumk> striper: don't ask a specific person.
633: [09:44:56] <striper> anyone who knows can answer it....
634: [09:45:01] <Pyamumk> it can be annoying for that person if they're busy
635: [09:45:04] <striper> i need the answer
636: [09:45:05] <micmania1> striper: my advice would be not to do it.
637: [09:45:11] <Pyamumk> striper: the answer is click the button.
638: [09:45:26] <Pyamumk> and read the code if you want to block it. But you probably can't. It's ingrained to the cms.
639: [09:45:38] <Pyamumk> well, can't without hacking core code, probably.
640: [09:45:53] <striper> click the button??
641: [09:46:05] <striper> i want it to be hidden totally
642: [09:46:34] <striper> cant the code be overridden?
643: [09:47:40] * Shrike_Finland has joined #silverstripe
644: [09:48:09] <micmania1> striper: yes, probably. A lot of javascript will be dependant on it though, so I wouldn't even try. Its not something i've heard done by anybody before.
645: [09:48:29] <micmania1> You'd pretty much have to go and look through the code and figure out how to do it.
646: [09:48:43] <micmania1> Its not something people would know off the top of their head.
647: [09:49:16] <micmania1> http://api.silverstripe.org/3.1/source-class-CMSMain.html - That's probably the place to start.
648: [09:50:13] <Pyamumk> striper: unless you're a very compentent developer with both PHP and javascript, I wouldn't give it a go.
649: [09:50:16] <striper> isnt there nay other way?
650: [09:50:21] <Pyamumk> oh, and prepared to spend HOURS on it.
651: [09:50:28] <Pyamumk> days probably.
652: [09:59:19] <Pyamumk> being that you'll probably have to learn the ins and outs of entwine first.
653: [10:00:49] <micmania1> that's probably the easy part.
654: [10:03:19] <Pyamumk> mmm
655: [10:03:46] <Sj0hn> Anybody knows why my form doesnt render
656: [10:03:48] <Sj0hn> http://paste2.org/yIAKGXK7
657: [10:04:34] <Sj0hn> http://paste2.org/tx7P3wcU
658: [10:05:56] <micmania1> Sj0hn: you shouldn't need the forTemplate method. Have you flushed?
659: [10:06:24] <Sj0hn> yes..many times :p
660: [10:06:36] <Sj0hn> it's an multilangual site for the sidenote
661: [10:06:49] <Pyamumk> why subclass form?
662: [10:06:50] <micmania1> ok, where have you put your ApplicationForm.ss template?
663: [10:06:55] <Sj0hn> Includes
664: [10:07:15] <Pyamumk> why subclass form?
665: [10:07:22] <Pyamumk> why have a template?
666: [10:07:30] <Pyamumk> DRY!
667: [10:07:44] <Sj0hn> Im have 2 create like 5 more like this.. i thought this would be easiest
668: [10:07:56] <Pyamumk> put it in a method?
669: [10:08:03] * Shrike_Finland quit (Quit: Leaving.)
670: [10:08:05] <Pyamumk> that's kinda what they're for.
671: [10:08:12] <micmania1> looking at your template, Pyamumk is right. You could just use the normal Form.ss template.
672: [10:08:30] <Sj0hn> ..so delete fortemplate basicly
673: [10:08:39] <Sj0hn> or just not subclass?
674: [10:08:55] <micmania1> You should build the form up in a Controller. No need for subclassing or custom templates in this case.
675: [10:09:41] <Sj0hn> alright, ill do that then
676: [10:09:48] <Pyamumk> return Form::create($this, __FUNCTION__, $this->getFieldsFor('case'), $this->getActionsFor('case'), $this->getValidatorFor('case'))
677: [10:10:15] <Pyamumk> if you want to abstract out some stuff to have different things between a few forms on a common base.
678: [10:10:37] <Pyamumk> short answer: structure code better.
679: [10:11:29] <Sj0hn> Im more of a beginner at programming
680: [10:11:31] <Pyamumk> go SOLID (despite active record violating the SRP)
681: [10:11:36] <Pyamumk> Sj0hn: that's fine :>
682: [10:12:00] <Sj0hn> ill just go with the function method
683: [10:12:09] <Pyamumk> just remember, the point of having functions and things is to stop you repeating yourself. Same reason we have PHP instead of a crapload of HTML files that all start and end the same way :>
684: [10:13:08] * striper quit (Ping timeout: 245 seconds)
685: [10:13:21] <Sj0hn> Thnx for the help =)
686: [10:14:25] * Colin[pi]-2 has joined #silverstripe
687: [10:14:55] * Colin[pi] quit (Ping timeout: 264 seconds)
688: [10:16:25] <Pyamumk> Sj0hn: you're welcome :) We're here to help, so long as you're not annoying when you ask, and actually listen to advice given (at least to consider, if not used) :P
689: [10:17:13] <Pyamumk> by annoying I mean we're not here to do the job for you, we'll give pointers to steer you onto the right track in terms of either finding the solution yourself or building one from suggestions.
690: [10:18:10] <Pyamumk> That's bascially the rules of IRC. Along with never asking "can I ask a question?" or "Anyone here?", and being wary of the X=>Y problem.
691: [10:19:14] <Pyamumk> a mild example of the X Y issue being what you've just done. Not bad in itself, but sometimes you have to be careful of it. Eg. You have a problem X, and you've tried to do Y to solve it, and want help with Y. When really you need help with X to solve Y.
692: [10:19:50] <Pyamumk> eg. Structuring form code better is a solution to X that solves Y, instead of "why for no render" which is Y, a symptom of X.
693: [10:20:12] <Pyamumk> In medical terms I guess the analogy would be "cure the ailment, not the symptoms".
694: [10:20:17] <Pyamumk> :>
695: [10:20:26] <Sj0hn> Point taken :p
696: [10:20:38] <Pyamumk> Yeah, we all do the X Y thing though.
697: [10:21:20] <Pyamumk> the issue being if you go too far back up trying to explain X it can run into the whole "solve my problem for me" thing. As you learn more you'll understand.
698: [10:21:22] <Pyamumk> :)
699: [10:22:39] <Pyamumk> But generally a reply to something like "it would be better if you restructure your form code" should never be "nah." (at least not without reason).
700: [10:23:32] <Pyamumk> And that's about it. Basically: keep an open mind, don't be a dick, don't be demanding, and understand that everything here is voluntary. :)
701: [10:23:42] <Sj0hn> The thing is though i don't always have the knowledge to structure my code better.. since i don't program that much
702: [10:23:48] <Sj0hn> Yeh ofcourse
703: [10:24:08] <Pyamumk> Yeah, and that's fine. Just sometimes it's better to let people know this beforehand so they can structure their answers better :>
704: [10:24:17] <Sj0hn> haha
705: [10:24:18] <Sj0hn> will do
706: [10:24:30] * travis-ci has joined #silverstripe
707: [10:24:30] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2202 (3.1 - 023641e : Ingo Schommer): The build passed.
708: [10:24:30] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/7ecc563783e7...023641e2635b
709: [10:24:30] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/21496299
710: [10:24:30] * travis-ci has left #silverstripe
711: [10:25:24] <Pyamumk> Rather than running into the "do my job for me" territory by asking "what do", "need example", "give me code", "where put code", "code doesn't work", "how fix your code", etc. :P
712: [10:25:38] <Pyamumk> We seem to have run into this a bit lately :(
713: [10:25:43] <Pyamumk> (not from you though)
714: [10:26:41] <Sj0hn> I can understand the anoyance by that
715: [10:27:58] <Sj0hn> I think it's great there so much support from the IRC channel.. saved my day quite a few times.
716: [10:29:02] <micmania1> its nice to be nice :)
717: [10:29:55] <zippy____> indeed :)
718: [10:30:08] <zippy____> and to stick around after someone has helped you, as you might be able to help someone else
719: [10:30:24] <zippy____> (just say, did you flush?, it fixes most things)
720: [10:30:58] <micmania1> ha! Its the ss equivelant to askign if you've tried restarting your computer.
721: [10:31:07] * Colin[pi]-2 quit (Ping timeout: 264 seconds)
722: [10:32:11] <zippy____> have you turned it off and on again
723: [10:32:58] <Sj0hn> best solution for everything.. did you turn it on and off :p
724: [10:33:05] <zippy____> http://www.youtube.com/watch?feature=player_detailpage&v=nn2FB1P_Mn8#t=10
725: [10:34:07] <Sj0hn> micmania1 your blogger module works great btw :)
726: [10:34:11] <micmania1> I love the IT crowd
727: [10:34:17] <micmania1> Sj0hn: good to hear :)
728: [10:37:12] <Pyamumk> "Hello, IT, have you tried turning it off and on again?"
729: [10:38:28] * NobrainerWeb has joined #silverstripe
730: [10:39:29] <micmania1> https://www.youtube.com/watch?v=5Jp5OCV3E28 - "I came here to drink milk and kick ass, and i've just finished my milk."
731: [10:40:22] <NobrainerWeb> Hi guys, in my module i have many_many Blocks on a Page. A block is rendered using forTemplate() {$this->renderWith(‘Block’);} question is, how can i output the Page title from my Block template?
732: [10:41:39] <Pyamumk> $Me.ParentPage.Title
733: [10:42:06] <Pyamumk> or just $ParentPageRelationName.Title
734: [10:42:19] <Pyamumk> oh... many_many. Well shit, you might be a bit hard pushed.
735: [10:42:59] <zippy____> You could call customise first, and pass the Page there
736: [10:43:16] <Pyamumk> yeah nah, because scope.
737: [10:43:20] <zippy____> $this->customize(array('Page' => $Page))->renderWith('Block')
738: [10:43:32] <zippy____> I thought the renderWith was in the scope of the page
739: [10:43:35] <Pyamumk> zippy____: how to grab reverse on a specific instance?
740: [10:43:39] * wmk quit (Quit: nice to meet you ;))
741: [10:43:50] <NobrainerWeb> Was just looking into the customise stuff
742: [10:43:51] <Pyamumk> zippy____: hmm, could be. I must admit I dunno.
743: [10:43:54] <zippy____> he's on the page, to display the blocks, so it would be the current controller
744: [10:44:02] <Pyamumk> zippy____: not necessarily.
745: [10:44:05] <NobrainerWeb> thanks guys, will try it out
746: [10:44:08] <Pyamumk> but common case, yes
747: [10:44:19] <zippy____> NobrainerWeb: would need to see more of the code you have
748: [10:44:25] <zippy____> but, it's 11:44pm, and I am out
749: [10:44:30] <Pyamumk> laters.
750: [10:44:38] <NobrainerWeb> cya
751: [10:45:35] <zippy____> NobrainerWeb: In this code block, you can see customise can take an array of data, so could pass in $this / $Page - http://doc.silverstripe.org/framework/en/tutorials/4-site-search#showing-the-results
752: [10:45:43] <zippy____> but depends on context / scope
753: [10:45:43] <zippy____> im out
754: [10:45:49] * zippy____ quit (Quit: zippy____)
755: [10:46:16] <NobrainerWeb> Oh what’s the best way to get the current page a block is on? - it’s a many many relation
756: [10:47:56] <Pyamumk> Controller::curr()
757: [10:48:22] <Pyamumk> but that will only get the top level page. If you <% with AnotherPage %> or <% loop Children %> for example, you'll be buggered.
758: [10:50:38] <Zauberfisch> good morning
759: [10:50:56] <NobrainerWeb> Pyamumk: Ok thank you - think i only need the top level page - so it will do for now
760: [10:56:03] * Shrike_Finland has joined #silverstripe
761: [11:04:30] * Shrike_Finland quit (Quit: Leaving.)
762: [11:29:05] * desperate has joined #silverstripe
763: [11:36:39] * NobrainerWeb quit (Quit: NobrainerWeb)
764: [11:48:01] <desperate> hi everyone
765: [11:48:18] <desperate> I've asked this question before but I haven't followed it up....
766: [11:48:29] <desperate> i need to process an aspx request to a third party
767: [11:48:34] * babak quit (Quit: Connection closed for inactivity)
768: [11:49:36] <micmania1> Can you give more info? Basics would be do you want to send or receive the request?
769: [11:53:26] * spronk2 quit (Quit: spronk2)
770: [11:55:44] * NobrainerWeb has joined #silverstripe
771: [12:02:26] <desperate> sorry i got distracted
772: [12:02:45] <desperate> I have to send some data... a name and an email and a return url
773: [12:03:02] <desperate> the 3rd party processes the data and sends a reply to the url I supply in the returnurl
774: [12:03:27] <desperate> I want to use an ajax request but the 3rd party is not set up to allow this as I get a 200 request reply
775: [12:04:47] <Zauberfisch> I only read the last 4 messages you sent
776: [12:04:54] <Zauberfisch> but that makes absolutely no sense to me
777: [12:04:56] * qlex has joined #silverstripe
778: [12:05:17] <Zauberfisch> what makes you assume that they are not setup to accept ajax?
779: [12:05:31] <Zauberfisch> (usually 200 is the best possible response you can get)
780: [12:05:50] <desperate> sorry Zuaberfisch... i need to send an aspx request via a form
781: [12:06:00] <Zauberfisch> ohai qlex. damn it, I forgot the pull request. that happens if you don't poke me hard and often enough :P
782: [12:06:08] <desperate> I tired it using AJax but a failure always returns
783: [12:06:12] <desperate> 200 request
784: [12:06:25] <Zauberfisch> qlex: if you want to get it merged, poke me on friday,then I'll take care of it
785: [12:07:06] <Zauberfisch> desperate: 1.) what is this aspx you are talking about? 2.) what is 200 request? to be 200 means: all is good, 200 is a success message, not an error message
786: [12:07:22] <Zauberfisch> (success status code actually, not a message)
787: [12:10:13] <desperate> Apologies, it throws a 302 in response
788: [12:10:33] <desperate> which is a redirection right
789: [12:11:04] <desperate> but in my ajax no matter what I try the failure rather than the success clause is found
790: [12:12:13] <desperate> it's a basic form in which I send to the 3rd party a name and address to be added to a mailing list, I provide a url which is the page the user should be redirected to
791: [12:12:59] <desperate> but it's not good pratice to redirect my users away form the page form where they submitted data
792: [12:13:12] <Zauberfisch> how do you submit the form?
793: [12:13:25] <Zauberfisch> a 302 should not break the ajax either
794: [12:14:55] <kinglozzer> desperate: I'd guess it 302 redirects to your return URL
795: [12:15:05] <desperate> POST data via ajax
796: [12:15:13] <desperate> yes
797: [12:15:20] <kinglozzer> Well, that's good, not an error
798: [12:15:28] <kinglozzer> Seems like your JS is set up wrong
799: [12:15:54] <desperate> I think it would be neater to receive the response and use jquery to dispaly a success/failure message
800: [12:15:58] <Zauberfisch> desperate: show us your code
801: [12:16:01] <desperate> rather than reloading the page
802: [12:17:07] <desperate> i'll create a paste one moment
803: [12:24:32] <desperate> http://paste2.org/K2Aeftww
804: [12:25:30] <Zauberfisch> and it does an alert failure?
805: [12:27:39] <desperate> yes, the success part doesn't ever trigger
806: [12:28:01] <desperate> i think it is because the 3rd party isn't sending XHR headers, I did some researhc on this
807: [12:28:03] <Zauberfisch> first guess: same origin policy
808: [12:28:35] <Zauberfisch> hmmm, XHR headers? no idea what that is.
809: [12:29:54] <Zauberfisch> my guess is thats a same origin policy issues, and that the server needs to send a Access-Control-Allow-Origin header
810: [12:31:14] <desperate> yes that's what I read when I looked into this a while back
811: [12:31:45] <desperate> is there no other way of catching the 302 and displaying my confirmation
812: [12:31:52] * qlex1 has joined #silverstripe
813: [12:32:03] <kinglozzer> use complete: instead of success: ?
814: [12:32:06] * Sj0hn quit (Ping timeout: 268 seconds)
815: [12:32:16] <Zauberfisch> its not about what type of response it is
816: [12:32:22] <Zauberfisch> in fact you are never getting the response
817: [12:33:02] <Zauberfisch> you see the response in firebug, but your code never gets the response, because the browser decides that the response is not allowed
818: [12:34:00] * qlex quit (Ping timeout: 252 seconds)
819: [12:34:43] * Sj0hn has joined #silverstripe
820: [12:35:10] * Shrike_Finland has joined #silverstripe
821: [12:36:18] <desperate> I'll try that kinglozzer
822: [12:36:30] <Zauberfisch> its not gonna work
823: [12:36:43] <kinglozzer> Wait, Zauberfisch 302s are treated as errors anyay
824: [12:36:52] <kinglozzer> anyway* buy jQuery
825: [12:36:53] <Zauberfisch> kinglozzer: I doubt that
826: [12:36:56] <kinglozzer> by*
827: [12:37:03] <Zauberfisch> are you sure?
828: [12:37:03] <kinglozzer> https://github.com/jquery/jquery/blob/0d68b7877f761264bfe4950e4df156b854925a6b/src/ajax.js#L683
829: [12:37:50] <Zauberfisch> hmmm
830: [12:37:54] <Zauberfisch> good catch
831: [12:38:04] <kinglozzer> Strange, it's not really an error at all
832: [12:38:08] <desperate> ohhhh I think that works
833: [12:38:32] <Zauberfisch> yeah, odd that jquery only allows 304
834: [12:38:49] <kinglozzer> I always thought generally <400 was treated as a success :/
835: [12:39:56] <desperate> sooo..... should I be able to pick up the response code
836: [12:40:01] <Zauberfisch> perhaps this would work:
837: [12:40:02] <Zauberfisch> http://stackoverflow.com/a/13133010/1119263
838: [12:40:11] <Zauberfisch> or did you already get it working desperate ?
839: [12:41:11] <desperate> response.status gave me '0'
840: [12:41:30] <desperate> i'll try that stackover flow solutino
841: [12:41:33] <kinglozzer> A 302 is automatically followed by the browser anyway apparently: http://stackoverflow.com/questions/282429/returning-redirect-as-response-to-xhr-request/2573589#2573589
842: [12:42:43] <Zauberfisch> I thought jquery did that, but good to know. so could it be that the error doesn't actually come from the 302?
843: [12:43:29] <Zauberfisch> lets assume for a moment that the 302 performs a redirect and that means the done callback does not get called yet, instead the request continues to load
844: [12:44:23] <kinglozzer> From what I've read, if it gets a 302 it'll automatically follow it, then return whatever response it gets from that second request
845: [12:44:28] <Zauberfisch> then we would be back to same origin policy or the posibility that the status code of the page that it redirected to is != 2xx
846: [12:44:40] * qlex1 quit (Quit: Leaving.)
847: [12:45:13] <desperate> hmm the Stackoverlfow doesn't seem to work
848: [12:45:26] * qlex has joined #silverstripe
849: [12:45:28] <kinglozzer> In that stackoverflow thread I just linked, one of the comments is: "Interestingly, I arrived at this because I am experiencing a situation where the redirect is apparently not being followed... this happens when the redirect violates same origin policy."
850: [12:45:44] <Zauberfisch> there we go
851: [12:45:52] <kinglozzer> So you were right after all Zauberfisch :P
852: [12:45:52] <Zauberfisch> love it when I am right
853: [12:46:01] <Zauberfisch> ;)
854: [12:51:19] <desperate> so it looks like thereis no way of getting at the response code?
855: [12:51:20] <Zauberfisch> it looks like there is no way of getting a response at all
856: [12:51:20] <Zauberfisch> as long as the other origin is not permitted
857: [12:51:20] <Zauberfisch> what I would do:
858: [12:51:20] <desperate> in my case the 3rd party returns the url with some data in the url that helps me to define success or failure
859: [12:51:20] <Zauberfisch> 1) try to get the company that handles the form to add a allow origin header
860: [12:51:20] <desperate> could i write a SS class to deal with the request?
861: [12:51:20] <desperate> the reply I mean
862: [12:51:20] <Zauberfisch> 2) if they don't like it or can't do it: make a controller that uses curl to post to that form. and then use ajax to acces my own controller, and the controller then sends the request to that other company
863: [12:51:20] <desperate> I've alreasdy been told that getting them to apply any changes is out of the question
864: [12:51:20] <Pyamumk> then you've no choice. You can either get the data you need, or you can't.
865: [12:53:04] <Zauberfisch> well, it leaves you with option 2
866: [12:53:17] <Zauberfisch> submit the form to your own server, and use curl to submit server to server
867: [12:53:55] <Pyamumk> RestfulService
868: [12:57:54] * Shrike_Finland quit (Quit: Leaving.)
869: [12:58:19] <Zauberfisch> not sure if RestfulService is the best choice here, it caches by default, and not sure if the post handler is that good. also no idea how it plays with redirects
870: [12:58:22] <desperate> I think I am just going to do a regular html form submit in order to get it working then apply some pressure to the 3rd party and ask for them to allow an origin header
871: [12:58:59] <Zauberfisch> desperate: just to be save, before you preassure them to add the header, try if that is really the reason
872: [12:59:00] <Pyamumk> Zauberfisch: you can disable caching
873: [12:59:45] <Zauberfisch> Pyamumk: even if you dissable it, it still writes the cache file
874: [13:00:20] <Zauberfisch> but yeah I would probably try it using RestfulService first as well, because I am lazy
875: [13:00:38] <Zauberfisch> was just voicing my concerns about potential problems
876: [13:01:20] * NobrainerWeb quit (Quit: NobrainerWeb)
877: [13:01:22] <desperate> can I get the current URL in a SS template
878: [13:01:45] <kinglozzer> $Link
879: [13:02:53] <Zauberfisch> yes, $Link, but note 2 things
880: [13:02:58] <Zauberfisch> 1) it is relative
881: [13:03:04] <kinglozzer> $AbsoluteLink ^^
882: [13:03:06] <kinglozzer> :P
883: [13:03:07] <Zauberfisch> 2) it does not contain actions or get parameters
884: [13:04:10] * kinglozzer lunch
885: [13:04:43] <Zauberfisch> I wish
886: [13:04:43] <Pyamumk> mmm
887: [13:04:52] <Zauberfisch> my coworker refuses to cook for me D:
888: [13:05:05] * NobrainerWeb has joined #silverstripe
889: [13:05:19] <Pyamumk> Zauberfisch: because your cat can't cook?
890: [13:05:33] <Zauberfisch> I don't have a cat
891: [13:05:38] <Pyamumk> wait, I'm confused with Sphere sorry
892: [13:05:44] <desperate> this kills my page
893: [13:05:46] <desperate> <% $AbsoluteLink %>
894: [13:05:50] <Pyamumk> good.
895: [13:05:54] <Pyamumk> it should.
896: [13:06:03] <Zauberfisch> desperate: variabels don't go inside <%
897: [13:06:05] <Pyamumk> take off the <% %>
898: [13:06:21] <desperate> lol.. that's what working 14 hours yesterdya does
899: [13:07:35] <Pyamumk> kinglozzer: I think SS might be too bleeding edge for this guy.
900: [13:08:12] <Pyamumk> Zauberfisch: anyway, how hard is it to microwave noodles?
901: [13:13:21] <Pyamumk> :P
902: [13:21:21] * Shrike_Finland has joined #silverstripe
903: [13:23:56] <Zauberfisch> Pyamumk: I was promissed a proper meal! I should not have to eat instant noodles today
904: [13:24:09] <Zauberfisch> but she just started cooking, good.
905: [13:24:30] <micmania1> What's for dinner?
906: [13:34:54] <Pyamumk> winner winner chicken!
907: [13:38:15] <desperate> can I add a php snippet in my template
908: [13:38:16] * marvanni has joined #silverstripe
909: [13:38:21] <micmania1> desperate: no
910: [13:39:18] <desperate> i know.. it's agains the mvc model
911: [13:39:18] <Pyamumk> that's a clear violation of the laws of maintainability.
912: [13:39:21] <desperate> i need a hack
913: [13:39:29] <Pyamumk> No you don't, you need a controller method.
914: [13:39:39] <Pyamumk> or a model method. One of the two.
915: [13:40:23] <marvanni> has anyone experience with SS & BounceHandling?
916: [13:40:35] <Pyamumk> marvanni: as in emails?
917: [13:40:43] <marvanni> yeah
918: [13:41:01] <desperate> where is NightJar I want to update him regarding my question yesterday
919: [13:41:04] <desperate> I have the answer
920: [13:41:07] <desperate> :0)
921: [13:41:57] <Pyamumk> hasn't been in today.
922: [13:42:09] <desperate> i can't believe I asked aobut ph in template
923: [13:42:30] <desperate> I'm still in transition
924: [13:42:34] <desperate> I've seen the light
925: [13:42:41] <desperate> but old habits die hard
926: [13:42:50] <marvanni> I have a bounce@domain.com and if I send an Email to that address, the forwarder in Cpanel forwards the Email to cli-scipt.php /Email_BounceHandler
927: [13:43:12] <marvanni> but no data of the Email is forwarded, neither email bounces...
928: [13:44:01] <kinglozzer> Hmm, Pyamumk do you know when Nighjar will be back? :/
929: [13:44:16] <Pyamumk> kinglozzer: dunno. He usually pops in around mid arvo if he does right?
930: [13:44:25] <kinglozzer> Yeah think so
931: [13:44:46] <Pyamumk> desperate: why don't you just leave a message and we'll tell Nightjar to look it up in the logs when he comes in next?
932: [13:51:30] <desperate> i will do if he isn't in before i go today
933: [14:01:01] * qlex has left #silverstripe
934: [14:19:51] <desperate> what is the Syntax if I want to prefix my variable to some hmtl
935: [14:19:54] <desperate> for example
936: [14:20:09] <desperate> $MyVar.this is not a var
937: [14:21:47] <Pyamumk> {$Var} ?
938: [14:21:52] <desperate> curly brackets"
939: [14:21:57] <desperate> yeah i found it thnaks
940: [14:29:10] * muskie9 has joined #silverstripe
941: [14:46:25] * babak has joined #silverstripe
942: [14:52:46] <desperate> in my controller do I have to return values as objects?
943: [14:52:54] <Pyamumk> no
944: [14:53:02] <desperate> for example I just wanr a simple true/false reply to be thrown
945: [14:53:50] <desperate> so if I am using $res==true; return $res
946: [14:54:01] <desperate> how do I get th evalue in my template, is it just $res?
947: [14:54:04] <desperate> or $Res?
948: [14:54:14] <Pyamumk> <% if Res %>
949: [14:54:15] <desperate> or am i missing a step?>
950: [14:54:24] <Pyamumk> no, just thinking too much.
951: [14:54:59] <Pyamumk> or, yeah. Just $Res if you want the value to output.
952: [14:55:23] <Pyamumk> although if anything is displayed it'll probably come back as "1"
953: [14:55:46] <Pyamumk> You might want return $res ? 'true' : 'false';
954: [15:03:02] <muskie9> would $Res.Nice show true/false?
955: [15:03:15] <muskie9> in template
956: [15:04:22] <Pyamumk> Not unless there is some kind of casting set up.
957: [15:04:55] <Pyamumk> private static $casting = array('booleanfunction' => 'Boolean');
958: [15:04:59] <Pyamumk> iirc
959: [15:05:58] <Pyamumk> Otherwise yeah, return DBField::create_field('Boolean', $res); would be the way to go (from the top of my head).
960: [15:07:18] * desperate quit (Ping timeout: 245 seconds)
961: [15:08:28] * Nightjar has joined #silverstripe
962: [15:08:48] * catcher has joined #silverstripe
963: [15:09:09] <Nightjar> catcher in the rye, or the wheat, or whatever.
964: [15:09:21] <Nightjar> I had a great lunch.
965: [15:09:27] <muskie9> makes sense
966: [15:09:31] <catcher> you rang?
967: [15:09:36] <Nightjar> yeah gidday.
968: [15:13:02] <catcher> hey hey
969: [15:13:20] <Nightjar> It's not Saturday
970: [15:13:42] <Pyamumk> Chuzdae, worst day of the week.
971: [15:13:53] <Pyamumk> Although it's going better than Moday did for me.
972: [15:16:03] <Pyamumk> hey catcher
973: [15:16:07] <Pyamumk> catcher
974: [15:16:12] <Pyamumk> oi catcher
975: [15:21:07] <Pyamumk> YA MUM
976: [15:25:52] <catcher> Mine??
977: [15:34:36] * alexyoungs has joined #silverstripe
978: [15:37:14] <Pyamumk> aye son, yours.
979: [15:37:23] <Pyamumk> yas.
980: [15:37:31] * Pyamumk is now known as Pyasmumsk
981: [15:38:29] * Pyasmumsk is now known as Py^roik
982: [15:38:43] * Py^roik is now known as Pyafasek
983: [15:38:59] * Pyafasek is now known as Pyamumk
984: [15:41:03] * alexyoungs quit (Ping timeout: 245 seconds)
985: [15:49:19] <SMaction> on a translated page one learn more link came out in English. What could be the cause? Silverstripe 2.4.5 http://imgur.com/7rLV3K5
986: [15:52:59] <catcher> Pyamumk, I just checked out, turns out yours.
987: [16:02:44] * desperate has joined #silverstripe
988: [16:02:49] <Pyamumk> catcher: :D
989: [16:03:04] <desperate> I can't access the $res value in my template
990: [16:03:06] <desperate> http://paste2.org/MZdvzZg5
991: [16:03:07] <Pyamumk> SMaction: lack of _t function
992: [16:03:24] <desperate> <% loop $NewsletterReply %> $Res xx $res <% end_loop %>
993: [16:03:26] <Pyamumk> desperate: 1) don't use $_get
994: [16:03:57] <Pyamumk> 2) you need to cast, as I said before.
995: [16:04:16] <Pyamumk> everything is cast as a string otherwise, from memory.
996: [16:04:22] <desperate> it is coming from a 3rd party so I have to use whatever they send me so I guess I have no choice?
997: [16:04:28] <Nightjar> wrong.
998: [16:04:55] <desperate> Hi Nightjar...... remember my problem yesterday with the menus
999: [16:04:55] <Nightjar> a third party only supplies data. What you do with it is entirely up to you.
1000: [16:05:06] <Nightjar> urgh... unfortunately, yes.
1001: [16:05:20] <desperate> would you like to wager some of your kudos on the solution
1002: [16:05:45] <Nightjar> Not really. I'm a busy guy.
1003: [16:05:56] <desperate> very tactical
1004: [16:06:10] <Pyamumk> that was your message?
1005: [16:06:22] * Shrike_Finland quit (Quit: Leaving.)
1006: [16:06:25] <desperate> I seem to remember your advice was that I don't know how menus work and I was telling lies
1007: [16:07:17] <SMaction> Pyamumk I don't understand what you mean.
1008: [16:07:18] <desperate> the problem was being caused by the dev server bring a windows based machine
1009: [16:07:32] <desperate> the database table names were all lower case
1010: [16:07:51] <desperate> and were imported as such
1011: [16:08:09] <desperate> the live server was linux and so was looking for Camelcase?
1012: [16:08:36] <Pyamumk> SMaction: look up the <% _t('KEY', 'default value') %> or something like that.
1013: [16:08:39] <desperate> I dumoped the DB converted it to Camelcase and everything fell into place
1014: [16:09:04] <Nightjar> yes desperate, that is exactly the VERY first thing we told you.
1015: [16:09:32] <Sj0hn> Bye all :)
1016: [16:09:48] <Nightjar> we also said dev build should take care of it, but you should check. You obviously didn't, because you ignored about everything we told you.
1017: [16:10:02] * Sj0hn quit ()
1018: [16:11:33] <Nightjar> Not even lying. http://logs.simon.geek.nz/index.php?date=2014-03-25#log_1228388
1019: [16:12:20] <desperate> I owuld have thought the dev build would have fixed it... it didn't
1020: [16:12:35] <NobrainerWeb> bye all
1021: [16:12:43] <desperate> would a dev build rename a table to Camelcase?
1022: [16:12:44] * NobrainerWeb quit (Quit: NobrainerWeb)
1023: [16:13:18] <Nightjar> sometimes it does, but sometimes not obviously. I'm not sure what cases it works and in which it doesn't, but in either case you should check that.
1024: [16:14:52] <SMaction> desperate I don't thing there is a way via dev/build to fix this you have to write a SQL statement to change them all to camelcase. At least that has been my expereience when you get dev stuff from windows that is all lower case.
1025: [16:15:17] <Pyamumk> in any case after importing and building you should check to make sure it all happened as planned desperate. It's just good practice.
1026: [16:15:37] <Pyamumk> I've seen build log come up with "renamed from lower case" before.
1027: [16:20:59] <desperate> in my case it didn't.... I learned a lesson anyway
1028: [16:21:28] <desperate> I'm having issues casting this reply
1029: [16:21:30] <Nightjar> https://github.com/silverstripe/silverstripe-framework/blob/3.1/model/MySQLDatabase.php#L342
1030: [16:21:36] * ARNHOE quit ()
1031: [16:21:37] <Nightjar> and it's learnt.
1032: [16:21:46] <Nightjar> unless you're American.
1033: [16:22:03] <desperate> are you sure Nightjar?
1034: [16:22:14] <Nightjar> always.
1035: [16:22:31] <Nightjar> casting only works for calls coming from templates.
1036: [16:22:57] <desperate> cool thaaks for the link
1037: [16:23:24] <Nightjar> seems it needs to be already in the manifest, so a fresh build won't change the case.
1038: [16:23:40] <Nightjar> building, then dropping all tables, importing, then building again might work.
1039: [16:23:46] <desperate> I've gotten myself some useful advice there ;0)
1040: [16:24:11] <desperate> yes that would have worked
1041: [16:24:28] <desperate> i was avoiding that approach because I didn't want to spend an hour recreating the pages....
1042: [16:24:44] <desperate> in the end I spent 6 anyway!
1043: [16:30:13] <Nightjar> Busy, check'n out!
1044: [16:30:16] * Nightjar has left #silverstripe
1045: [16:30:26] <desperate> Pyamumk: is this the correct way to cast my reply
1046: [16:30:31] <desperate> http://paste2.org/t0xdpapK
1047: [16:31:21] <Pyamumk> no.
1048: [16:31:44] <Pyamumk> http://logs.simon.geek.nz/index.php?date=2014-03-26#log_1230049
1049: [16:32:36] <desperate> I went back and found that in the logs myself. How does that apply to my case
1050: [16:33:20] <desperate> $res = array('reply' => 'Boolean');
1051: [16:33:49] <Pyamumk> No idea.
1052: [16:34:15] * Shrike_Finland has joined #silverstripe
1053: [16:41:30] <Pyamumk> https://github.com/silverstripe/silverstripe-framework/blob/ff1b0e3a0882075d639147c1ee040ae206432390/model/fieldtypes/Varchar.php#L14
1054: [16:41:55] <Pyamumk> I'm sure you can figure it out.
1055: [16:42:17] <muskie9> anyone use this in the past: https://github.com/hamishcampbell/silverstripe-securefiles
1056: [16:42:25] <Pyamumk> don't do it.
1057: [16:42:35] <Pyamumk> use dms instead, probably more ideal
1058: [16:42:52] <Pyamumk> I mean, it should work pretty fine, if it's updated for 3.1
1059: [16:43:01] <Pyamumk> but there is probably also a better solution.
1060: [16:43:02] * OxFF1 has joined #silverstripe
1061: [16:43:12] <muskie9> need it for 2.4
1062: [16:43:43] * OxFF1 has left #silverstripe
1063: [16:44:48] <muskie9> had a user wipe a site's assets yesterday, site manager requested restricting their access to just one or two asset folders so looking for a quick solution... they don't like seeing custom dev cost
1064: [16:44:49] <micmania1> muskie9: probably best to just try it. Looks okay.
1065: [16:49:17] <Pyamumk> muskie9: dms doesn't use the assets directory.
1066: [16:49:34] <muskie9> Pyamumk, just noticed that
1067: [16:49:37] <Pyamumk> it associates assets with the page, there's no 'pool' of assets.
1068: [16:49:59] <Pyamumk> I think it has more fine grained user control, I'm not sure the other does.
1069: [16:50:12] <desperate> Pyamumk: I got it... return new ArrayData(array("Reply" => $res));
1070: [16:50:13] <desperate> thnaks!
1071: [16:50:52] <Pyamumk> that's... not it at all. But if it works then good on you.
1072: [16:51:42] <micmania1> desperate: just return $res
1073: [16:52:10] <micmania1> Then use <% if NewsletterReply %><% end_if %>
1074: [16:52:38] <Pyamumk> easiest way ^
1075: [16:53:38] <Pyamumk> public function NewsletterReply(){return $some->var ? 'true' : 'false';} would also work
1076: [16:54:11] <Pyamumk> private static $casting = array('NewsletterReply' => 'Boolean');
1077: [16:54:20] <Pyamumk> $NewsletterReply.Nice would also
1078: [16:55:50] * ocm quit (Quit: Try HydraIRC -> http://www.hydrairc.com <-)
1079: [16:59:52] <desperate> where does Nice come from?
1080: [17:01:42] <kinglozzer> http://api.silverstripe.org/3.1/class-Boolean.html#_Nice
1081: [17:02:21] <muskie9> http://doc.silverstripe.org/framework/en/reference/templates#formatting-and-casting
1082: [17:02:23] <Pyamumk> desperate: ... honestly, read the docs.
1083: [17:02:28] <Pyamumk> and the tutorials.
1084: [17:02:45] <SMaction> Pyamumk searching for <% _T(KEY .... did not help. (of course I am still really confused). Also, why would it happen on only one link on the page http://imgur.com/7rLV3K5
1085: [17:02:55] <Pyamumk> lower case t, but yeh.
1086: [17:03:29] <Pyamumk> SMaction: probably because it's missing the translation for that particular one.
1087: [17:03:37] <Pyamumk> if it's set in the DB
1088: [17:03:43] <Pyamumk> if not, then yeah... that's real odd.
1089: [17:05:33] * Shrike_Finland quit (Quit: Leaving.)
1090: [17:07:40] <Pyamumk> SMaction: that "read more" link should be defined in the template.
1091: [17:07:56] <Pyamumk> in 2.4 that was via <% _t('....
1092: [17:08:10] <Pyamumk> eg if you look at the blog module at that stage.
1093: [17:08:21] <Pyamumk> (2.4 compatable)
1094: [17:16:16] * kinglozzer home time
1095: [17:16:18] * kinglozzer quit ()
1096: [17:16:41] * muskie9 quit (Remote host closed the connection)
1097: [17:21:16] <SMaction> Pyamumk all the of my entries are subpages and they all work except that one. Notice the text of the page is translated: just not that one learn more link. Subpage.ss has not %_t in it. Any other ideas are appreciated but I think we are in the weird category of issues.
1098: [17:22:30] * jrthomer_ is now known as jrthomer
1099: [17:25:16] <Pyamumk> SMaction: it won't be on the subpage ss, it will be on the parent list page where the <% control Children %> is
1100: [17:25:44] <Pyamumk> ie, where that actual link is generated.
1101: [17:25:57] <Pyamumk> Find the code that's causing that to come up, then figure out what's going on to make it not work.
1102: [17:26:00] <Pyamumk> it's the only way.
1103: [17:29:08] <Pyamumk> outta here!
1104: [17:29:10] * Pyamumk quit ()
1105: [17:30:08] * SightUnseen has joined #silverstripe
1106: [17:30:15] * SightUnseen has left #silverstripe
1107: [17:31:04] * UncleCheese has joined #silverstripe
1108: [17:31:55] * UncleCheese quit (Client Quit)
1109: [17:33:08] * DesignerX quit (Ping timeout: 246 seconds)
1110: [17:38:44] * UncleCheese has joined #silverstripe
1111: [17:43:33] * UncleCheese quit (Ping timeout: 265 seconds)
1112: [17:47:33] * muskie9 has joined #silverstripe
1113: [17:51:53] * muskie9 quit (Ping timeout: 252 seconds)
1114: [17:54:48] * desperate quit (Ping timeout: 245 seconds)
1115: [17:55:06] * muskie9 has joined #silverstripe
1116: [18:09:21] * gelignite has joined #silverstripe
1117: [18:11:12] * muskie9_ has joined #silverstripe
1118: [18:11:14] * muskie9 quit (Read error: Connection reset by peer)
1119: [18:32:04] * headtrip has joined #silverstripe
1120: [18:32:15] <headtrip> hey guys, is there any error in the files module?
1121: [18:32:34] <headtrip> everytime i try to use the upload form of the files module i get this error:
1122: [18:32:50] <headtrip> PHP Fatal error: Call to a member function getFilename() on a non-object in /is/htdocs/wp11704129_282KX4EW9E/www/lobenwein/framework/forms/UploadField.php on line 1279
1123: [18:36:45] * mobiusnz quit (Quit: Leaving.)
1124: [18:37:15] <muskie9_> what version of SS?
1125: [18:37:46] <muskie9_> 3.1.3 had upload issues but there's a fix in the 3.1 branch of framework
1126: [18:37:50] * Shrike_Finland has joined #silverstripe
1127: [18:38:47] <muskie9_> https://github.com/silverstripe/silverstripe-framework/pull/2903
1128: [18:44:05] <muskie9_> https://github.com/silverstripe/silverstripe-framework/commit/279b927df1c0bb291c7d57e0e8836c27b3694364
1129: [18:45:44] <headtrip> thank you very much. applied the commit => works
1130: [18:46:29] <muskie9_> I had a few people freak out over that bug, glad it was fixed so fast
1131: [18:48:42] * Shrike_Finland quit (Quit: Leaving.)
1132: [19:00:26] * Shrike_Finland has joined #silverstripe
1133: [19:03:25] * antmas has joined #silverstripe
1134: [19:04:44] * mobiusnz has joined #silverstripe
1135: [19:06:48] * Stomach[Ache] has joined #silverstripe
1136: [19:06:53] * Stomach[Ache] is now known as Stomach
1137: [19:14:00] * mobiusnz quit (Quit: Leaving.)
1138: [19:16:53] * mobiusnz has joined #silverstripe
1139: [19:18:08] * antmas quit (Ping timeout: 245 seconds)
1140: [19:26:08] <Stomach> oh damnit
1141: [19:26:09] <Stomach> <!--?php<!DOCTYPE html-->
1142: [19:26:10] <Stomach> :(
1143: [19:26:15] <Stomach> where are you stray php tag!
1144: [19:27:03] <Stomach> blasted empty _config.php files
1145: [19:28:22] * travis-ci has joined #silverstripe
1146: [19:28:22] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2205 (3.1 - 181d8e5 : Ingo Schommer): The build has errored.
1147: [19:28:22] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/023641e2635b...181d8e549af6
1148: [19:28:22] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/21533227
1149: [19:28:22] * travis-ci has left #silverstripe
1150: [19:29:27] * jimcrib|away is now known as jimcrib
1151: [19:29:46] * an_Eskimo has joined #silverstripe
1152: [19:37:08] * nickmolhoek has joined #silverstripe
1153: [19:50:05] * Ryan-Toast has joined #silverstripe
1154: [19:58:55] * travis-ci has joined #silverstripe
1155: [19:58:55] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2205 (3.1 - 181d8e5 : Ingo Schommer): The build passed.
1156: [19:58:55] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/023641e2635b...181d8e549af6
1157: [19:58:55] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/21533227
1158: [19:58:55] * travis-ci has left #silverstripe
1159: [20:00:26] <Ryan-Toast> http://shouldiuseacarousel.com/
1160: [20:02:18] * zippy__ has joined #silverstripe
1161: [20:02:29] <zippy__> morning
1162: [20:02:33] <Ryan-Toast> Morning
1163: [20:02:59] <zippy__> one day, I will get zippy
1164: [20:03:43] <Stomach> lol
1165: [20:04:15] * zippy__ is working his way up the _
1166: [20:04:37] <zippy__> I guess i could go for something else..
1167: [20:05:01] <Ryan-Toast> Zappy
1168: [20:06:29] <zippy__> ha :)
1169: [20:13:09] * UncleCheese has joined #silverstripe
1170: [20:13:47] <zippy__> ah, phpstorm so sexy
1171: [20:13:55] * zippy__ has some live template action...
1172: [20:19:18] <simon_w> Whoa, I finally caught up with the block chain again
1173: [20:22:14] <zippy__> :)
1174: [20:22:45] <zippy__> It's a pain when you try and have a different MenuTitle from the page Title. when you change the title it gets all up in the face of the menu title
1175: [20:23:32] <Stomach> lol
1176: [20:29:26] * antmas has joined #silverstripe
1177: [20:29:33] <antmas> mornin
1178: [20:30:56] <zippy__> woah, it doesn't now in 3.1.3 - it seems to play nice
1179: [20:31:03] <zippy__> antmas: morning
1180: [20:37:00] * Shrike_Finland quit (Quit: Leaving.)
1181: [20:37:28] * Shrike_Finland has joined #silverstripe
1182: [20:39:48] <Ryan-Toast> antmas: Went to pub quiz last night, but I’ll be on tonight.
1183: [20:41:54] * UncleCheese quit (Quit: UncleCheese)
1184: [20:45:56] <simon_w> First disclosure post! http://coding.simon.geek.nz/2014/03/26/silverstripe-privileged-user-arbitrary-class-creation/
1185: [20:46:14] * Shrike_Finland quit (Quit: Leaving.)
1186: [20:46:48] <simon_w> And still no 3.1.4 from ss23
1187: [20:48:10] <zippy__> simon_w: nope… so you need to release some more :)
1188: [20:48:21] <simon_w> zippy__, next one's on Friday
1189: [20:48:29] <zippy__> cool
1190: [20:49:22] <Ryan-Toast> simon_w: did you use wp for your blog just because SS has no themes, and you would have to make one?
1191: [20:49:32] <simon_w> Ryan-Toast, yes
1192: [20:49:37] <Ryan-Toast> kk
1193: [20:49:54] <simon_w> Is a horrible experience. Do not recommend.
1194: [20:49:58] <Ryan-Toast> Lol
1195: [20:50:00] <Ryan-Toast> I know.
1196: [20:50:03] <simon_w> Also, because Ghost is missing some features I need
1197: [20:50:10] <Ryan-Toast> Ghost?
1198: [20:50:22] <zippy__> simon_w: Wasn't there also some features of wp that ss blog didn't have?
1199: [20:50:47] <simon_w> zippy__, Apart from the theme/plugin editor, I don't use those
1200: [20:50:50] <simon_w> Ryan-Toast, ghost.io
1201: [20:51:30] <Ryan-Toast> I quite like Medium
1202: [20:54:29] <antmas> Ryan-Toast: no worries, I need to lvl up anyway
1203: [20:55:36] <zippy__> simon_w: notified a month ago even
1204: [20:55:52] <simon_w> zippy__, yup. 4 weeks between notification and disclosure.
1205: [20:57:20] <antmas> was Balsamiq always a paid app?
1206: [21:01:10] <Ryan-Toast> Girl on my facebook: “Imagine if the Malaysia plane actually ran into a portal to another dimension and all passengers are still alive but we cant see them because they are no longer in the 3D they are in 5D being looked after by loving beings who reside there?? Imagine that! And also imagine that the governments have come up with a cover story because they can't explain to the public what really happened nor would they want the public to know tha
1207: [21:01:10] <Ryan-Toast> there is more out there that what they have you believe? Imagine that!”
1208: [21:01:17] <Ryan-Toast> lol, okay bro.
1209: [21:03:07] * UncleCheese has joined #silverstripe
1210: [21:05:59] <Ryan-Toast> How do you allow svgs to be uploaded?
1211: [21:13:44] <ss23> simon_w: IT'S ON MY TODO LISTTTTTTTT
1212: [21:17:03] * Sj0hn has joined #silverstripe
1213: [21:17:41] <Sj0hn> Hi all
1214: [21:19:14] <Sj0hn> Is there a way to add a class to the li element of an optionsetfield?
1215: [21:19:44] <Sj0hn> not using jquery of javascript
1216: [21:19:50] <Sj0hn> or*
1217: [21:20:29] <mobiusnz> Sj0hn: you can add a class to the container div
1218: [21:20:47] <mobiusnz> which is more-or-less the same thing
1219: [21:21:35] <Sj0hn> well i want inline checkboxes
1220: [21:21:43] <Sj0hn> using bootstrap
1221: [21:22:31] <Sj0hn> i was just wondering if there's a way to do it
1222: [21:24:12] <muskie9_> Ryan-Toast, adding it to assets/.htaccess is one part of it if it's not in the list, then I think adding it as an allowed_extension
1223: [21:24:28] <Ryan-Toast> muskie9_: chur
1224: [21:25:08] <muskie9_> just noticed I don't have an htaccess in my assets for some reason
1225: [21:25:10] * UncleCheese quit (Quit: UncleCheese)
1226: [21:32:56] * simon_w|air has joined #silverstripe
1227: [21:39:48] <simon_w|air> ss23, I see things are happening now
1228: [21:39:48] <simon_w|air> !
1229: [21:41:03] * headtrip quit (Ping timeout: 245 seconds)
1230: [21:45:28] <simon_w|air> Sj0hn, you can add an OptionsetField.ss to your theme to change all of them, or call setTemplate('MyTemplateName') for a custom one-off
1231: [21:45:38] <ss23> simon_w|air: :P
1232: [21:45:38] <ss23> You can!
1233: [21:51:04] <Ryan-Toast> “Facebook to Acquire Oculus” oh god, no!
1234: [21:51:19] <Stomach> what really?
1235: [21:51:41] <Ryan-Toast> http://kotaku.com/facebook-buys-oculus-rift-for-2-billion-1551487939
1236: [21:52:57] <Stomach> awesome
1237: [21:53:22] <Stomach> i have a dev 2 kit ordered :D
1238: [21:53:30] <zippy__> :(
1239: [21:53:54] <zippy__> "most social platform ever" god, just want to play games not have all sorts of notifications, hoops to jump through and bull shit
1240: [21:54:22] <Ryan-Toast> zippy__: YOU WANT SOME MICRO TRANSACTIONS, MOTHER FUCKER?
1241: [21:54:56] <zippy__> good god!
1242: [21:55:55] <Ryan-Toast> http://i.imgur.com/xgL4eSV.gif
1243: [21:58:44] <Stomach> lol
1244: [21:59:19] * simon_w|air quit (Quit: This computer has gone to sleep)
1245: [22:02:03] * UncleCheese has joined #silverstripe
1246: [22:07:39] <antmas> Ryan-Toast: holy shit
1247: [22:07:44] <antmas> for realsies
1248: [22:08:00] <antmas> Why doul they buy that?
1249: [22:08:02] <antmas> would*
1250: [22:08:13] <antmas> to have Facebook on your face>
1251: [22:08:13] <ss23> mo money, mo market share, mo dataz
1252: [22:09:18] <antmas> WhatsApp = 19 billion, Oculus Rift = 2 billion
1253: [22:09:25] <antmas> SEEMS FAIR
1254: [22:09:29] <Stomach> hahaha
1255: [22:10:11] <ss23> WhatsApp already has market penetration, and in general, is used by a *lot* more poeple than the Rift ever will be
1256: [22:10:19] <antmas> I know :P
1257: [22:10:31] <Stomach> I have used a Rift and never used Whats App
1258: [22:10:39] <Stomach> take that consumer marketing
1259: [22:10:46] <ss23> lol
1260: [22:10:48] <ss23> You don't count!
1261: [22:10:53] <ss23> Take that, Stomach :D
1262: [22:11:04] <Stomach> I count where it matters
1263: [22:11:13] <antmas> I can't wait to have selfies all over my face
1264: [22:11:20] <antmas> in 3DDDDDDDDDDDDDDDDDD!
1265: [22:11:39] <antmas> TECHNOLOGY
1266: [22:11:55] <Stomach> I can't wait for rift + http://emotiv.co/
1267: [22:12:57] <antmas> Stomach: sooooooo, ads that match brainwaves?
1268: [22:13:04] <Stomach> no
1269: [22:13:07] <antmas> 100 BILLION DORAAR!
1270: [22:13:12] <Stomach> so im flying a dragon controlled with my mind
1271: [22:13:36] <Stomach> flying dragon with inbuilt mind ads < 1 year off :D
1272: [22:14:18] <antmas> all while "I'm lovin it!" plays subtly in the bg
1273: [22:14:32] <Stomach> naturally
1274: [22:15:15] <antmas> that thing kinda looks like a bone crown
1275: [22:15:18] <antmas> badass
1276: [22:16:25] <Stomach> https://www.youtube.com/watch?feature=player_detailpage&v=50FXjlqd5-8#t=181
1277: [22:18:29] <antmas> Stomach: I don't think that is mind-controlled
1278: [22:18:35] <antmas> you can see him use the controls to move
1279: [22:18:44] <antmas> plus, where is the headset? I only see an OR
1280: [22:19:05] <Stomach> its the old version, its black
1281: [22:19:13] <antmas> oh
1282: [22:20:03] <antmas> well then, I'm sold
1283: [22:20:07] <antmas> take my money
1284: [22:22:14] <Stomach> they won't take my money yet
1285: [22:22:19] <Stomach> im on the waiting list for it
1286: [22:22:24] <Stomach> bastards
1287: [22:22:52] <antmas> they probably still don't have any parts
1288: [22:23:12] <Stomach> 3D print them!
1289: [22:23:37] <Stomach> but all 3D printing is linked to the arms and gun trades so thats no good
1290: [22:27:08] * muskie9_ quit (Remote host closed the connection)
1291: [22:27:45] * muskie9 has joined #silverstripe
1292: [22:32:14] * muskie9 quit (Ping timeout: 252 seconds)
1293: [22:38:12] * catcher quit (Quit: Leaving)
1294: [22:45:22] <antmas> lol I just got a text saying I won $500,000
1295: [22:45:29] <antmas> A TXT MESSAGE
1296: [22:45:43] <spronk> sounds legit
1297: [22:46:04] <antmas> it came from truemovethai.irg
1298: [22:47:18] * Sj0hn quit ()
1299: [22:48:11] * antmas_ has joined #silverstripe
1300: [22:49:34] <antmas_> boom http://www.dia.govt.nz/diawebsite.nsf/wpg_URL/Services-Anti-Spam-TXT-Scams
1301: [22:49:39] <antmas_> prolly lots of people getting this
1302: [22:50:13] * antmas quit (Ping timeout: 245 seconds)
1303: [22:51:12] * antmas_ is now known as antmas
1304: [23:00:20] * gelignite quit (Quit: http://bit.ly/nkczDT)
1305: [23:03:41] * muskie9 has joined #silverstripe
1306: [23:06:51] * Colin[pi] has joined #silverstripe
1307: [23:07:31] * Liquide has joined #silverstripe
1308: [23:07:58] * muskie9 quit (Ping timeout: 240 seconds)
1309: [23:09:14] <Colin[pi]> g'moin
1310: [23:09:31] <Ryan-Toast> This site is so fucking cool.
1311: [23:09:32] <Ryan-Toast> http://www.patatap.com/
1312: [23:10:07] * DesignerX has joined #silverstripe
1313: [23:10:31] <antmas> Ryan-Toast: I'm stuck at 0/156 :P
1314: [23:10:50] <Ryan-Toast> antmas: chrome?
1315: [23:10:59] <Colin[pi]> Ryan-Toast: I found the cable you need for your dual-monitor setup: http://i.imgur.com/gn8XwjC.jpg
1316: [23:11:08] <antmas> Ryan-Toast: ah, only works in Chrome :P
1317: [23:11:16] <Ryan-Toast> Colin[pi]: lol.
1318: [23:11:19] <Ryan-Toast> antmas: ye
1319: [23:11:49] <antmas> Ryan-Toast: jesus, this is seizure inducing!
1320: [23:12:02] <Ryan-Toast> antmas make sure you have sound
1321: [23:12:11] <antmas> Ryan-Toast: yeah :D
1322: [23:12:20] <antmas> cool though
1323: [23:12:29] <antmas> chrome experiments are awesome
1324: [23:12:30] <Colin[pi]> ok it's loading for me now
1325: [23:12:47] <Ryan-Toast> the way it’s made is cool too. All svgs.
1326: [23:13:04] <Ryan-Toast> Okay, lunch time.
1327: [23:15:07] <zippy__> Ryan-Toast: Thats the sounds I hear in my head when I write code
1328: [23:16:06] <Colin[pi]> this site makes me feel capable of producing music lol
1329: [23:18:02] <zippy__> Colin[pi]: http://www.incredibox.com/v2/# I like this one better
1330: [23:18:27] <Colin[pi]> I've dicked about with FL Studio a few times, love it, but nothing serious
1331: [23:19:12] <zippy__> woooo
1332: [23:20:40] <zippy__> DNCL officially advises that changes to the 2LD will come into effect on Monday 28 April 2014.
1333: [23:20:54] <zippy__> zippy.nz here we come!
1334: [23:22:43] <antmas> ooooh
1335: [23:22:44] <antmas> nice
1336: [23:22:59] <antmas> so, no more .co.nz?
1337: [23:25:20] <Colin[pi]> <zippy__> zippy.nz here we come! <-- not if I register it first
1338: [23:25:24] <Colin[pi]> ;P
1339: [23:26:34] <zippy__> antmas: I am pretty sure you still can, as they are taking final applications for
1340: [23:26:41] <zippy__> ignore after the ,
1341: [23:26:57] <antmas> well, I'd doubt that .co.nz would just vanish :P or even redirect
1342: [23:27:06] <ss23> lol
1343: [23:28:00] * mojo5000 has joined #silverstripe
1344: [23:28:00] <mojo5000> howdy folk
1345: [23:28:15] <mojo5000> question of the day: best restful api lib for SS
1346: [23:28:26] <mojo5000> any recommendations?
1347: [23:28:50] <mojo5000> trying - http://addons.silverstripe.org/add-ons/silverstripe/restfulserver
1348: [23:29:04] <mojo5000> but i don't know that it supports relations properly
1349: [23:29:54] <antmas> wholey crap
1350: [23:30:00] <antmas> I have geolocation working in sharepoint
1351: [23:30:04] <antmas> I AM A GENIUS!
1352: [23:30:17] * Colin[pi] bows down to antmas' brilliance
1353: [23:30:21] <antmas> who can't spell!
1354: [23:30:31] * antmas allows Colin[pi] to kiss his boot
1355: [23:30:40] <ss23> lol
1356: [23:30:41] <Colin[pi]> smooch smooch
1357: [23:30:45] <ss23> gaaaay
1358: [23:31:02] <Colin[pi]> u jelly?
1359: [23:31:07] * ss23 blushes
1360: [23:31:09] <ss23> n-no!
1361: [23:31:10] <Colin[pi]> UGUU
1362: [23:31:10] * ss23 runs away
1363: [23:31:11] * antmas casts +24 dmg on ss23 for treason
1364: [23:31:13] <ss23> UGUU~
1365: [23:32:52] * antmas looks up UGUU
1366: [23:32:54] <antmas> o.O
1367: [23:33:00] <Colin[pi]> ^_________^
1368: [23:33:05] * Ryan-Toast quit (Quit: Ryan-Toast)
1369: [23:33:40] <antmas> hurry up and reopen Rob Roy's ;__;
1370: [23:34:19] <Colin[pi]> antmas: uguu reminds me of this classic: http://d24w6bsrhbeh9d.cloudfront.net/photo/3656201_700b.jpg
1371: [23:34:41] <ss23> lol
1372: [23:34:42] <ss23> is this
1373: [23:35:13] <antmas> haha
1374: [23:35:19] <antmas> super kawaii
1375: [23:35:33] <ss23> かわいいお兄ちゃん~~~
1376: [23:35:39] <antmas> lol girl's cartoons
1377: [23:36:10] <antmas> http://imgur.com/gallery/5bgYK9Y
1378: [23:37:50] <Colin[pi]> antmas: I KNEW IT, THAT'S HOW
1379: [23:37:54] <ss23> lol
1380: [23:38:18] <ss23> バカ
1381: [23:38:31] <Colin[pi]> I lost it one time my gf, who is japanese brazilian, was making fun of a japanese girl's voice
1382: [23:38:46] <Colin[pi]> she started speaking in this high pitched squeaky voice
1383: [23:38:46] <ss23> Japanese Brazilian?!
1384: [23:38:48] <ss23> That's a thing? :O
1385: [23:38:55] <Colin[pi]> yes, it's a very big thing
1386: [23:39:12] <Colin[pi]> biggest japanese population outside of japan is in brazil
1387: [23:39:12] <antmas> Japanilian
1388: [23:39:30] <ss23> oh cool
1389: [23:39:31] <ss23> x
1390: [23:39:32] <ss23> XD
1391: [23:39:40] <Colin[pi]> which I didnt know until I met her :)
1392: [23:40:05] <antmas> I wonder why
1393: [23:40:14] <antmas> it's all the big butts
1394: [23:40:15] <antmas> I bet
1395: [23:40:17] <Colin[pi]> lol
1396: [23:40:20] <ss23> XD
1397: [23:40:38] <Colin[pi]> after WWII there was a huge propaganda drive to convince japanese to move there for a better life
1398: [23:40:54] <Colin[pi]> so they went there, and um, worked in the farms and plantations for 12H a day
1399: [23:41:06] <Colin[pi]> with no weekends
1400: [23:41:09] <Colin[pi]> yey!
1401: [23:41:46] <antmas> how many per capita?
1402: [23:42:11] <Colin[pi]> http://en.wikipedia.org/wiki/Japanese_Brazilian
1403: [23:42:26] <Colin[pi]> 1.4-1.5 million in brazil
1404: [23:42:32] <Colin[pi]> 1% of the population
1405: [23:43:02] <antmas> tis a lot
1406: [23:43:36] <Colin[pi]> my gf's grandma is the only one from japan itself, she arrived on a boat
1407: [23:43:44] <Colin[pi]> all of her other family members were born there
1408: [23:44:14] * Bollig|DesignCty has joined #silverstripe
1409: [23:48:56] <Colin[pi]> <antmas> it's all the big butts
1410: [23:49:03] <Colin[pi]> ^ btw that is so true lol
1411: [23:49:12] <antmas> XD
1412: [23:49:17] <Colin[pi]> never seen so many in my life
1413: [23:50:22] <Colin[pi]> hot damn may have just snagged a project with an impressive fee
1414: [23:50:26] <Colin[pi]> aw yiss

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