#silverstripe IRC Log

IRC log for 13 January 2014

All timestamps are in UTC.

1: [00:00:36] * goesta quit (Ping timeout: 260 seconds)
2: [00:01:21] * mobiusnz quit (Quit: Leaving.)
3: [00:03:17] * goesta has joined #silverstripe
4: [00:03:46] * OxFF1 has joined #silverstripe
5: [00:15:57] <antmas> mmmm le burger
6: [00:27:57] <ss23> le burger
7: [00:28:07] <ss23> Might go get Burger Fuel now
8: [00:28:08] <ss23> eh
9: [00:29:33] <simon_w> I had burger fuel for dinner yesterday
10: [00:31:51] <ss23> simon_w: DID YOU HAVE LUNCH YET?
11: [00:31:53] <ss23> DO YOU WANT LUNCH?
12: [00:33:44] <ss23> Going to assume that's a NO
13: [00:57:15] * DigNZ has joined #silverstripe
14: [00:59:01] <madmatt_> That's a big fat no
15: [01:00:22] * nimeso has joined #silverstripe
16: [01:14:15] <antmas> I wish they'd open a Burger Fuel in Nelson
17: [01:15:04] * variable_office has joined #silverstripe
18: [01:15:33] <variable_office> What should I use in the template to link to the log in form?
19: [01:17:20] <willr> variable_office - Security/login is the login url
20: [01:24:21] <ss23> madmatt_: :(
21: [01:24:26] <ss23> I had to get it ALONE
22: [01:24:45] * Jayden90 has joined #silverstripe
23: [01:29:10] * Jayden90 quit (Ping timeout: 245 seconds)
24: [01:29:54] <antmas> hmmm anyone play DayZ here?
25: [01:35:04] * UncleCheese quit (Quit: UncleCheese)
26: [01:36:51] * jedateach quit (Quit: jedateach)
27: [01:37:20] * mobiusnz has joined #silverstripe
28: [01:42:25] <Ryan-Toast> I do
29: [01:42:42] <Ryan-Toast> antmas: Mod, or standalone?
30: [01:43:05] <antmas> Ryan-Toast: SA
31: [01:43:12] <Ryan-Toast> antmas: Same
32: [01:43:31] <antmas> nice
33: [01:44:22] <Ryan-Toast> antmas: http://steamcommunity.com/id/Rhym_
34: [01:45:23] <antmas> Ryan-Toast: I'll add you later
35: [01:45:26] <antmas> tis a great game
36: [01:46:03] * metanat has joined #silverstripe
37: [01:46:24] <Ryan-Toast> antmas: Pretty fun.
38: [01:48:14] * barrythebadger has joined #silverstripe
39: [01:49:16] <Ryan-Toast> If I wanted to add sortablegridfield to my composer, how would I do that? Just: "undefinedoffset/sortablegridfield": "*" under requirements?
40: [01:53:01] * OxFF1 quit (Ping timeout: 246 seconds)
41: [01:53:27] <Ryan-Toast> antmas: Any ideas?
42: [01:53:47] <antmas> Ryan-Toast: hmmm ^^^ is what I would have thought
43: [01:53:58] <Ryan-Toast> I'll give it a go :)
44: [01:54:58] <Stomach> yeah
45: [01:55:06] <Stomach> or : "dev-master" if you want the latest
46: [01:55:24] <Stomach> https://packagist.org/packages/undefinedoffset/sortablegridfield
47: [01:56:00] <Ryan-Toast> Stomach: Cheers :)
48: [01:56:30] <Ryan-Toast> I've never used composer before, but I've heard really good things about it.
49: [01:56:41] <antmas> Ryan-Toast: it's great when it works
50: [01:56:47] <ss23> help I forgot what doctors clinic I went to
51: [01:56:49] <Stomach> antmas - it always works
52: [01:56:57] <antmas> Stomach: HA!
53: [01:57:10] <Stomach> but the ss community is pretty bad at tagging releases - its usually just dev-master and hope for the best
54: [01:57:22] <Ryan-Toast> lol
55: [01:57:55] <Ryan-Toast> I added this to my thing, does it look alright? https://github.com/Rhym/ss_boilerplate/blob/master/composer.json
56: [01:58:28] <Stomach> yeah thats cool
57: [01:58:43] <Stomach> you dont need the installer-name
58: [01:58:51] <antmas> +1 ^
59: [01:58:52] <Stomach> because its the same as the name
60: [01:58:53] <Ryan-Toast> So when I run composer on a fresh install it will download those packages?
61: [01:59:30] <Stomach> yeah
62: [01:59:33] <Stomach> framework and installers
63: [01:59:41] <Ryan-Toast> I have to admit, that's pretty ballin'
64: [02:00:08] <Stomach> another way would be to do this
65: [02:00:54] <antmas> Ryan-Toast: yeah I like it
66: [02:01:05] * mobiusnz quit (Quit: Leaving.)
67: [02:01:08] <ss23> 12:28 <+Snowman23> simon_w: I picked a place with a good name!
68: [02:01:12] <antmas> saves a shit load of time
69: [02:01:14] <ss23> DAMMIT THIS DOESN'T TELL ME WHAT ITS NAME WAS
70: [02:01:16] <Stomach> composer create-project ryanpotter/ss_boilerplate PATH_TO_INSTALL dev-master https://github.com/Rhym/ss_boilerplate#
71: [02:01:23] <Stomach> without the hash
72: [02:01:25] <ss23> simon_w: what was it called ;_;
73: [02:01:26] <Stomach> that should work
74: [02:01:31] <simon_w> What?
75: [02:01:36] <Stomach> if not, submit it to packagist
76: [02:01:40] <Stomach> or run a local satis install
77: [02:01:43] <Ryan-Toast> Stomach: In a cmd?
78: [02:01:45] <ss23> simon_w: The doctors I went to
79: [02:01:48] <Stomach> https://github.com/composer/satis
80: [02:01:52] <Stomach> yeah, in the cmd
81: [02:01:54] <ss23> simon_w: I remembe rit was in lampton area...
82: [02:02:02] <simon_w> ss23, why would I know?
83: [02:02:14] <antmas> simon_w: Lampton Docs?
84: [02:02:15] <ss23> simon_w: Because you told me that I was silly for getting one so far away
85: [02:02:20] <ss23> I know we talkd about it in here
86: [02:02:22] <antmas> Doctors On Lampton
87: [02:02:24] <Stomach> I have a base installer set up which we use, with all the modules we usually use, our base them and dev tools
88: [02:02:30] <Stomach> all installed by a command like that
89: [02:03:09] <Ryan-Toast> Stomach: What kind of installer?
90: [02:03:13] <antmas> GP's on Lampton Quays
91: [02:03:25] <Stomach> just the silverstripe one, plus other stuff
92: [02:03:36] <ss23> antmas: Doesn't sound like it
93: [02:03:40] <Ryan-Toast> Stomach: What did you make it in?
94: [02:03:40] <ss23> It was like
95: [02:03:45] <antmas> XD
96: [02:03:47] <ss23> something something cool sounding name that probalby had medical in it
97: [02:03:49] <Stomach> its a composer file
98: [02:03:51] <Stomach> lol
99: [02:03:58] <Stomach> like the one you just made
100: [02:04:07] <Ryan-Toast> Stomach: Oh, haha. That makes sense
101: [02:04:52] <ss23> goddam it this is frustrating
102: [02:04:57] <ss23> how can oyu like, not know what doctor you went to
103: [02:05:03] <ss23> Why is this not recorded in writing *anywhere*
104: [02:05:11] <ss23> oh, my bank statement might have it
105: [02:05:11] <ss23> :O
106: [02:05:13] <antmas> ss23: yellow page search in Lampton area for doctors
107: [02:06:02] <ss23> oh, this one sounds like it could be it
108: [02:06:04] <ss23> "city medical center"
109: [02:06:08] <ss23> kick-ass name...
110: [02:06:39] <ss23> oh yeah totally this one
111: [02:06:58] <Ryan-Toast> Stomach: Do you have an example of the installer composer file you have?
112: [02:07:02] <Stomach> sure
113: [02:07:15] <ss23> A+ antmas
114: [02:07:21] <antmas> I win!
115: [02:07:26] <antmas> \o/
116: [02:07:31] * simon_w still doesn't care :p
117: [02:07:44] <ss23> I DIE WITHOUT IT OKAY
118: [02:07:44] <ss23> :O
119: [02:07:46] <ss23> DO YOU WANT ME TO DIE?
120: [02:08:03] <simon_w> It's going to happen, wether I want it to or not
121: [02:08:19] <antmas> the fuck is this folk music crap in my spotify playlist for?
122: [02:08:27] <antmas> stahp
123: [02:08:28] <ss23> holy shit
124: [02:08:35] <ss23> The number is.. the number I just got in a voicemail
125: [02:08:36] <ss23> like
126: [02:08:41] <Stomach> http://pastebin.com/0TtMZSfy
127: [02:08:44] <ss23> I got a call being all "Hi u have diabetes we need to make sure you don't die"
128: [02:08:51] <Ryan-Toast> Stomach: Cheers :)
129: [02:08:53] <ss23> but I thought it was from somewhere else but it turns out it was literally from this city medical place
130: [02:08:56] <ss23> :(
131: [02:09:21] <Ryan-Toast> Stomach: Lol, nice: stevie.co.nz
132: [02:09:42] <antmas> Phtevie!
133: [02:09:58] <Azure> regarding generating images and such: After an image is generated using a specific generate*() function, does the image get regenerated every so often? (i.e. on certain page loads, etc.)
134: [02:10:13] <simon_w> Azure, if you flush
135: [02:10:19] <simon_w> As in, flush that page
136: [02:10:21] * ss23 cries
137: [02:10:23] <simon_w> Not flushing in general
138: [02:10:35] <Azure> Aha
139: [02:10:38] <simon_w> ss23, should've answered the phone!
140: [02:11:00] <ss23> simon_w: I didn't hear it go off
141: [02:11:04] <ss23> I think something is wrong with the funcitnoality
142: [02:11:07] <ss23> txt message == noises
143: [02:11:10] <ss23> phone call == silent
144: [02:11:15] <ss23> Or I had my music on
145: [02:11:17] <ss23> Either is an option
146: [02:11:33] <ss23> anyway, should go call now before I die, I'm almost out of insulin again
147: [02:11:37] <antmas> ss23: is your phone like RetardOS2.0?
148: [02:11:40] <ss23> lol
149: [02:11:43] <ss23> It's not a smart phone
150: [02:11:47] <ss23> antmas: I probably just configured it wrong
151: [02:11:48] <ss23> :P
152: [02:11:58] <ss23> BRBIZZLE WISH ME LUCK ON THE PHONE YO
153: [02:12:49] <simon_w> I'm going to have lots of phone calls to do in March. Sigh.
154: [02:13:21] <simon_w> Also, see if Facebook will let me work remote
155: [02:13:33] <antmas> I'll have 9000 in May, July and December
156: [02:14:07] <antmas> simon_w: Facebook?
157: [02:14:14] <simon_w> Yes
158: [02:14:49] <simon_w> <sgolemon> simon_w: Why haven't we tried to hire you yet, btw?
159: [02:14:55] <simon_w> Good signs :p
160: [02:15:16] <antmas> simon_w: you're leaving PR?
161: [02:15:27] <simon_w> I'm leaving the country
162: [02:15:33] <simon_w> DON'T YOU READ MY BLOG?
163: [02:15:46] <antmas> tldr
164: [02:15:49] <antmas> :P
165: [02:16:03] * nimeso quit (Ping timeout: 272 seconds)
166: [02:16:25] <simon_w> http://brainchemicals.geek.nz/2014/01/10/the-future?sauce=irc
167: [02:18:07] <antmas> :O
168: [02:18:10] <antmas> well
169: [02:18:22] <antmas> at least you reminded me that I haven't taken my pills yet :P
170: [02:18:37] <simon_w> I took mine today!
171: [02:20:49] * UncleCheese has joined #silverstripe
172: [02:22:27] <antmas> damn pills
173: [02:22:30] <antmas> oh shit
174: [02:22:40] <antmas> I go in for surgery soon :<
175: [02:22:59] <simon_w> On your face?
176: [02:23:23] <antmas> indeed
177: [02:25:36] <ss23> lol
178: [02:25:41] <ss23> antmas: Are you looking forward to it?
179: [02:25:48] <ss23> antmas: Will you be concious through it? I presume you will, right?
180: [02:26:02] <simon_w> antmas, we want photos
181: [02:26:15] <ss23> Even better, we want you to IRC while under influence of laughing gas
182: [02:26:32] <ss23> And when that wears off, we want Skype / video of you trying to do basic human things like talking and not drooling
183: [02:26:43] <simon_w> It's a bit hard to give someone laughing gas for an oral operation
184: [02:26:54] <ss23> I thought they all did that?
185: [02:26:56] <ss23> David after dentist/
186: [02:27:00] <antmas> simon_w: ss23 pretty sure I go under general for this
187: [02:27:08] <ss23> oh fun :O
188: [02:27:16] <ss23> antmas: Oh, you get to imagine what it would be like to wake up
189: [02:27:16] * mobiusnz has joined #silverstripe
190: [02:27:16] <ss23> :D
191: [02:27:18] <antmas> :(
192: [02:27:21] <ss23> And feel them crunching away at your teeth
193: [02:27:33] <ss23> lucky~
194: [02:27:44] <antmas> it's not the tooth that is my concern, that motherfucker can go
195: [02:27:50] <antmas> it's my jaw bone :(
196: [02:27:59] <simon_w> Yay! The Facebook guy doesn't have the most commits to beatbox any more!
197: [02:28:26] <antmas> http://25.media.tumblr.com/tumblr_mb8k8o8NW51r71p9so1_500.jpg
198: [02:28:51] <ss23> haha antmas
199: [02:29:33] <antmas> yeah they use laughing gas as it relaxes the jaw
200: [02:31:11] <simon_w> CRC would do the job
201: [02:31:15] <ss23> hahah
202: [02:31:44] <antmas> laughing gas also relaxes... other things
203: [02:31:46] <Ryan-Toast> Okay, so my composer install installed everything but the actual repositry.
204: [02:31:48] <antmas> :O
205: [02:31:49] <ss23> So you know, when I rang up the doctors, they were like "Ohhhh, he's really booked out... how about Wednesday the 15th?" "Is that Wednesday this week?" "Yeah"
206: [02:32:06] <simon_w> Ryan-Toast, did you want create-project instead?
207: [02:32:07] <ss23> Does "booked out" really mean "He's booked for the next day and that's it"? Do people really ring up and expect an apppointment in 24 hours?
208: [02:32:13] <antmas> ss23: good job!
209: [02:32:14] <ss23> antmas: Like pensis?
210: [02:32:23] <Ryan-Toast> simon_w: Do I do that over install?
211: [02:32:25] <simon_w> ss23, yes
212: [02:32:27] <ss23> What about if you combine viagra and pensis?
213: [02:32:36] <ss23> simon_w: re penises, or appointment times?
214: [02:32:40] <antmas> ss23: like das sphincter
215: [02:32:45] <ss23> antmas: ohhhhhhhhhhhhhhhhh
216: [02:32:47] <ss23> ...
217: [02:32:54] <simon_w> Ryan-Toast, well, create-project silverstripe/installer will also include the silverstripe/installer repository
218: [02:32:58] <simon_w> ss23, appointment times
219: [02:33:03] <ss23> simon_w: Hmm, okay :O
220: [02:33:08] <antmas> it's the 'love drug'
221: [02:33:14] <Ryan-Toast> simon_w: Can I put that in my composer.json file
222: [02:33:28] <ss23> antmas: ah, yes, I have heard of it, friends have done it
223: [02:33:35] <ss23> Under the street name 'rush' though
224: [02:33:40] <antmas> that's it
225: [02:33:48] <simon_w> Ryan-Toast, no
226: [02:33:56] <ss23> lol, dammit antmas
227: [02:34:04] <ss23> Now *I'm* nervous about the dentist
228: [02:34:13] <ss23> I DON'T WANT MY ANUS RELAXED, ESPECIALLY WHILE ALL DRUGGED UP
229: [02:34:14] <antmas> XD
230: [02:34:20] <antmas> hahaha
231: [02:34:37] <unsignedint> itll hurt more if your anus is not relaxed ss23
232: [02:34:38] <antmas> my cousin recently had the same op and pooped himself on the detist chair
233: [02:34:39] <Ryan-Toast> simon_w: Is there a way I can just have my composer.json in a folder then I just run create or whatever and it grabs all the files for SS?
234: [02:34:57] <Ryan-Toast> simon_w: I'm grabbing cms/framework atm.
235: [02:35:16] <ss23> "What the hell is this client tlaking aobut? Adverts on his site look weird? THERE ARE NO--oh, I have adblock turned on..."
236: [02:35:18] <simon_w> Ryan-Toast, no. You have it in a repository with all the msyite and htaccess and stuff then composer install to pull in cms/framework/simple/etc
237: [02:35:20] <ss23> antmas: ew.
238: [02:35:37] <Ryan-Toast> simon_w: Ah, okay.
239: [02:35:43] <ss23> antmas: stop talking, you're seriously going to give me a phobia of going to the dentist >.<
240: [02:35:55] <antmas> lol
241: [02:35:58] <simon_w> ss23, it's not the dentist that does this
242: [02:36:11] <simon_w> Dentist just gives you local
243: [02:36:19] <antmas> its the anaesthesiaaisjaojsiojs guy
244: [02:36:20] <simon_w> Dental surgeons on the other hand...
245: [02:36:23] <ss23> Oh, okay
246: [02:36:31] <ss23> I don't know hte difference between all these dental peoples :O
247: [02:36:36] <ss23> anastheesiologist
248: [02:36:44] <simon_w> ss23, difference between a doctor and a surgeon
249: [02:36:45] <antmas> yeah that man
250: [02:36:45] <unsignedint> dental surgeon does things like take out wisdom teeth
251: [02:36:45] <ss23> antmas: you're right, that's hardto spell :O
252: [02:36:52] <ss23> wisdom tooth
253: [02:36:54] <ss23> wat r u doin
254: [02:36:55] <ss23> pls
255: [02:36:59] <ss23> wisdom tooth
256: [02:37:00] <ss23> stahp
257: [02:37:07] <antmas> XD
258: [02:37:17] <simon_w> Suckers, my wisdom teeth are fine and haven't even started hurting
259: [02:37:22] <unsignedint> lucky bugger
260: [02:37:27] <unsignedint> I spend 4 grand getting mine removed
261: [02:37:33] <simon_w> Mine fit :D
262: [02:37:40] <antmas> unsignedint: some regular dentists take out wisdome teeth as well, just not impacted ones
263: [02:37:41] <unsignedint> they were screwing up my orthodontic work
264: [02:37:43] <ss23> unsignedint: For that price, why not just fly to Thailand or something and have a holiday at the same time?
265: [02:37:59] <ss23> Though now probably isn't a great time, I hear...
266: [02:38:14] <simon_w> YOU KNOW THE RULES AND SO DO I
267: [02:38:16] <ss23> Seems weird to think of countries having military coups and shit in this day and age
268: [02:38:29] <unsignedint> wait Thailand is having a military coup?
269: [02:38:30] <antmas> I'm heading to Thailand for our honeymoon... but in a year's time
270: [02:38:45] <ss23> unsignedint: Something like that, I see a lot on twitter
271: [02:38:52] <ss23> lots of protests, military invaded some city or something
272: [02:38:57] <ss23> 'invaded'
273: [02:39:05] <simon_w> Cambodia?
274: [02:39:13] <simon_w> Syria?
275: [02:39:18] <ss23> Thailand.
276: [02:39:28] <ss23> http://www.bbc.co.uk/news/world-asia-25708092
277: [02:39:34] <ss23> Thailand crisis: Protesters move to shut down Bangkok
278: [02:39:37] <ss23> It is part of their campaign to overthrow the government before snap elections due on 2 February.
279: [02:39:40] <ss23> etc
280: [02:39:54] <simon_w> Yeah, that's not a coup
281: [02:39:57] <ss23> I haven't been following, just been seeing lots of tweets
282: [02:40:17] * mobiusnz quit (Quit: Leaving.)
283: [02:40:22] <unsignedint> fucking politics man
284: [02:40:23] <ss23> I only hear bias sources, simon_w :P
285: [02:40:39] <ss23> (Not that BBC isn't bias)
286: [02:40:46] <unsignedint> they start out with good intentions but then become corrupt motherfuckers
287: [02:41:04] <antmas> http://www.youtube.com/watch?v=gSg_gJkU7ko&feature=youtu.be
288: [02:42:11] * mobiusnz has joined #silverstripe
289: [02:44:36] <antmas> so it's like a soft coup?
290: [02:48:33] * antmas quit (Quit: Page closed)
291: [02:48:55] * antmas has joined #silverstripe
292: [02:48:55] * DigNZ quit (Quit: DigNZ)
293: [02:49:18] <Ryan-Toast> Composer is getting a runtime exception, because it can't find the following folder: framework/tests/behat
294: [02:49:49] <Ryan-Toast> I saw you had this problem at one stage UncleCheese, did you ever figure out the issue?
295: [02:50:10] <UncleCheese> rm -rf framework
296: [02:50:12] <UncleCheese> composer install
297: [02:50:36] <Ryan-Toast> UncleCheese: Cheers.
298: [02:53:10] * mobiusnz quit (Quit: Leaving.)
299: [02:54:14] * mobiusnz has joined #silverstripe
300: [02:56:51] * mobiusnz quit (Read error: Connection reset by peer)
301: [03:01:24] * DigNZ has joined #silverstripe
302: [03:01:57] <antmas> simon_w: Citalopram eh?
303: [03:02:06] <simon_w> yes
304: [03:02:14] <antmas> That's what I take, but just for anxiety
305: [03:03:19] <antmas> shit messed me up for 2 weeks straight
306: [03:04:17] <simon_w> Yeah, was somewhat unstable when I first started
307: [03:05:37] <antmas> it made movies super hard to watch I remember
308: [03:06:15] * OxFF1 has joined #silverstripe
309: [03:06:35] <antmas> huh, you started exactly 1 month before me :O
310: [03:06:42] <antmas> cray
311: [03:11:50] <simon_w> I win!
312: [03:12:37] <ss23> Hmm
313: [03:12:41] <ss23> Citalopram...
314: [03:12:58] <ss23> Trying to remember which pills I've heard about. Is that the one that can give you... uh... trouble... with... yeah?
315: [03:13:17] <antmas> 20mg is basically a placebo after ~90 pills
316: [03:13:33] <ss23> Yeah, till you stop cold turkey and have withdrawlarlarls!
317: [03:13:48] <antmas> true
318: [03:14:05] <antmas> but to get the 'happy' feeling, most people go up to 40
319: [03:14:26] <ss23> I was doing tiny amounts of amitrip for a while, for headaches
320: [03:14:32] <ss23> nowhere near enough to have an effect on my mood though
321: [03:14:39] <ss23> But those pills are crazy fun, for the numbing effect in your mouth
322: [03:14:39] <ss23> :D
323: [03:14:40] <antmas> yeah I had that too
324: [03:14:48] <ss23> Did you do the numb thing?!
325: [03:14:50] <ss23> DID YOU? :D
326: [03:14:51] <antmas> yeah
327: [03:14:54] <ss23> XD
328: [03:15:00] <antmas> it made my teeth feel weird
329: [03:15:06] <ss23> I didn't know for ages till a friend told me you could do it
330: [03:15:21] <antmas> also, I got Temazapam which is basically crack without the fun
331: [03:15:31] <ss23> hahah
332: [03:15:45] <ss23> Man, lots of nerds get fun pills, and all I get is diabetes :(
333: [03:16:05] <antmas> brain = "oh, you just want one pill"? HOW ABOUT 5000 or NO MORE SLEEP EVER
334: [03:16:45] <antmas> i hate pills
335: [03:16:59] <simon_w> It's really annoying when I forget to take mine
336: [03:17:26] <antmas> simon_w: do you get mad frustrated at everything if you don't?
337: [03:17:42] <antmas> don't take them*
338: [03:18:04] <simon_w> Nah, I get rather lethargic
339: [03:18:12] <antmas> yeah that too
340: [03:18:58] <antmas> oh god
341: [03:19:03] <UncleCheese> yay we're all doped up on meds
342: [03:19:06] <antmas> first monday at work is taking forevers!
343: [03:19:35] <simon_w> /kbased/trunk/src/php/classes/DocumentLink.php:14:12,15: Undefined variable: $tis
344: [03:19:40] <simon_w> Yay, good automated tools!
345: [03:23:03] <Ryan-Toast> Rabble rabble, composer keeps saying my github build is unstable
346: [03:23:28] <antmas> Ryan-Toast: yeah, when it works, its *great*
347: [03:23:29] <antmas> :P
348: [03:23:44] <Ryan-Toast> I don't know what it wants from me.
349: [03:24:07] <Ryan-Toast> I set my minimum stablity settings to dev.
350: [03:31:09] <antmas> halp, can't stop watching gif http://img.gawkerassets.com/img/19c8roqkte1ubgif/ku-xlarge.gif
351: [03:33:58] <Ryan-Toast> antmas: http://i.imgur.com/Kh2Osoy.jpg
352: [03:34:22] <antmas> ah
353: [03:34:25] <antmas> AH
354: [03:34:28] <antmas> THE BLOCKS
355: [03:34:32] <antmas> THEY KEEP GOING!
356: [03:34:44] <Ryan-Toast> antmas: http://i.imgur.com/eIiYS53.gif
357: [03:35:01] <antmas> hehe
358: [03:35:07] <antmas> is that the NO guy?
359: [03:35:08] <Ryan-Toast> antmas: http://i.imgur.com/HUD1Ucn.gif
360: [03:35:58] <Ryan-Toast> http://i.imgur.com/XUNs4Ke.gif
361: [03:36:25] <ss23> Tides go in, tides go out
362: [03:36:27] <ss23> You can't explain that
363: [03:40:11] * antmas quit (Quit: Page closed)
364: [03:42:47] * JP has joined #silverstripe
365: [03:45:50] <JP> When 2.4 cmsFields are scaffolded do relations get ComplexTableField's or do they get the appropriate [relation]ComplexTableField?
366: [03:51:33] * OxFF1 quit (Quit: Hasta la proxima)
367: [03:53:01] * nickmolhoek quit (Quit: nickmolhoek)
368: [03:55:41] <Ryan-Toast> Anyone know how I can exclude the containing repo folder on a composer install?
369: [04:02:14] * nickmolhoek has joined #silverstripe
370: [04:07:47] <metanat> Ryan-Toast: Not sure what you mean exactly
371: [04:08:02] <metanat> Ryan-Toast: "containing repo folder"?
372: [04:09:31] * nickmolhoek quit (Quit: nickmolhoek)
373: [04:09:55] * cloph has joined #silverstripe
374: [04:10:03] * barrythebadger quit (Ping timeout: 272 seconds)
375: [04:10:35] * cloph_away quit (Ping timeout: 272 seconds)
376: [04:13:44] <variable_office> Is there a way to change the behaviour of the save and add button in the cms so that it goes save/add/back to previous level?
377: [04:19:47] * Ryan-Toast quit (Quit: Ryan-Toast)
378: [04:20:45] * DigNZ quit (Quit: DigNZ)
379: [04:21:16] * joelpittet has joined #silverstripe
380: [04:22:22] * willr quit (Quit: willr)
381: [04:33:14] * metanat quit (Quit: Leaving.)
382: [04:56:30] * UncleCheese quit (Quit: UncleCheese)
383: [05:02:25] * willr has joined #silverstripe
384: [05:03:00] * guzzlefry has joined #silverstripe
385: [05:03:16] <guzzlefry> Is there any good reason not to do payment processing in a form validator? >_>
386: [05:03:34] <ss23> In the *validator*?
387: [05:03:53] <guzzlefry> php()
388: [05:04:31] <guzzlefry> PaymentFormValidator extends RequiredFields { function php() { // do payment stuff, return errors to form } }
389: [05:04:56] <guzzlefry> It seems like a convenient spot to do it, but I'm suspicious of convenient things. :P
390: [05:07:14] <guzzlefry> So yeah, any input is appreciated.
391: [05:07:24] <ss23> I will defer to people who know things (aka not me)
392: [05:08:11] <guzzlefry> You're the security guy! :P
393: [05:09:07] <ss23> XD
394: [05:09:37] <ss23> Damn right, I'm that guy because when someone says "is this secure" and I don't know, I don't say I do!
395: [05:11:01] <guzzlefry> yay :P
396: [05:11:17] <guzzlefry> I think I'm using my first proper constant in PHP.
397: [05:11:28] <ss23> Proper constant?
398: [05:12:44] <guzzlefry> const PI = 3.1456;
399: [05:12:49] <ss23> lol
400: [05:12:56] <guzzlefry> define() doesn't count. :P
401: [05:13:25] <guzzlefry> I'm using them for error messages and any other out of place strings from now on.
402: [05:14:45] * DigNZ has joined #silverstripe
403: [05:17:23] <Azure> Oh boy.
404: [05:17:32] <Azure> Client is using Netfirms for hosting.
405: [05:17:43] <JP> so does 3 smash 2.4?
406: [05:18:14] <Azure> And of course mod_rewrite apparently doesn't work (apparently because of AllowOverride?)
407: [05:18:43] <guzzlefry> JP: define smash
408: [05:18:56] <JP> kicks it out of the park
409: [05:21:08] <JP> Anyway,... When 2.4 cmsFields are (auto) scaffolded do all relations get ComplexTableField's or do they get the appropriate [relation]ComplexTableField?
410: [05:23:34] <guzzlefry> so, I'm displaying a form on the checkout action, but whenever the form action finishes executing, the controller action changes to the form's method instead. Any way to keep it on the checkout action?
411: [05:23:52] <JP> Talk of complexTablesFields prompted UncleCheese to leave :<
412: [05:24:10] <guzzlefry> 0.o
413: [05:24:26] <guzzlefry> are we short around 10 people?
414: [05:24:46] * DigNZ quit (Quit: DigNZ)
415: [05:25:18] * DigNZ has joined #silverstripe
416: [05:27:16] <JP> What does your action in the html point to?
417: [05:28:06] <guzzlefry> ah
418: [05:28:09] <guzzlefry> /controller/form
419: [05:28:36] <Azure> Oh boy. Can't even log into Silverstripe.
420: [05:28:54] <Azure> Going to email my client and tell them to switch hosting later on.
421: [05:29:00] <Azure> Not even going to waste my time.
422: [05:29:24] <guzzlefry> We just do rackspace instances now.
423: [05:31:16] <Azure> ... and look, it actually works when I copy over my local .htaccess to the server.
424: [05:33:32] <Azure> (But still cannot login for some reason)
425: [05:35:51] <guzzlefry> derp, validators only work when you pass them in with the form :P
426: [05:36:52] * barryThe_badger has joined #silverstripe
427: [05:37:16] * will has joined #silverstripe
428: [05:37:28] <JP> Rick Hicky was right!
429: [05:37:39] * will is now known as Guest40647
430: [05:38:11] <Azure> ...
431: [05:38:20] <Azure> PHP Warning: Unknown: open(/var/php_sessions/sess_0763ccb8ce11eb71db6da6a7f3bf10ea, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
432: [05:38:20] <Azure> PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
433: [05:38:28] <Azure> I don't ... what.
434: [05:38:34] <ss23> talk to your sysadmin, Azure :O
435: [05:38:49] <Azure> It would be Netfirms in this case.
436: [05:39:23] <Azure> I'm going to have to ask my clients to switch hosts (right after I got their hosting fixed not that long ago too)
437: [05:39:31] <Azure> client*
438: [05:41:53] * barryThe_badger quit (Ping timeout: 272 seconds)
439: [05:43:55] * willr quit (Quit: willr)
440: [05:45:35] * new_learner has joined #silverstripe
441: [05:46:57] * Guest40647 quit (Ping timeout: 272 seconds)
442: [05:52:39] * new_learner quit (Ping timeout: 272 seconds)
443: [05:53:36] * willr has joined #silverstripe
444: [06:00:36] * xini has joined #silverstripe
445: [06:00:52] <guzzlefry> Is there a quick way to pass all fields in a fieldlist to RequiredFields::__construct()?
446: [06:03:22] <guzzlefry> oh wait, you can already do that... :P
447: [06:04:08] <xini> I am writing an email obfuscater at the moment, but I'm stuck with rewriting the adresses in 3.1. I have put it up to http://www.silverstripe.org/template-questions/show/35225. can anyone help please?
448: [06:10:54] * travis-ci has joined #silverstripe
449: [06:10:54] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1780 (3.1 - e302793 : Will Rossiter): The build passed.
450: [06:10:54] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/0b22ca6c5914...e302793bda6b
451: [06:10:54] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/16849627
452: [06:10:54] * travis-ci has left #silverstripe
453: [06:11:23] * DigNZ quit (Quit: DigNZ)
454: [06:20:54] * willr quit (Quit: willr)
455: [06:31:15] * willr has joined #silverstripe
456: [06:37:40] * simon_w|air has joined #silverstripe
457: [06:37:56] <simon_w|air> <guzzlefry> const PI = 3.1456;
458: [06:38:04] <simon_w|air> First, that's way off
459: [06:38:08] <simon_w|air> Second, why not just M_PI?
460: [06:39:31] * simon_w|air is now known as simon__w|air
461: [06:40:20] * simon__w|air is now known as simon_w|air
462: [06:40:41] * joelpittet quit ()
463: [06:40:49] * iamss has joined #silverstripe
464: [06:41:15] * simon_w|air fixed the logs and goes back to not being in here at home during the week
465: [06:41:16] * simon_w|air quit (Client Quit)
466: [06:42:30] <iamss> Help guys! our ubuntu server updated to 13.10 and suddenly the index.php on the urls are again appearing
467: [06:42:57] <iamss> I checked my mod_rewrite and it is turned on
468: [06:43:11] <iamss> what is the problem? any ideas guys
469: [06:43:13] <iamss> ??
470: [06:55:43] <xini> iamss: if rewrite is on, just delete the index.php.
471: [06:57:00] <xini> the new apache treats index.php before rewrite. was the other way round with the old version.
472: [06:58:17] <iamss> xini: I will try to rename it first, I'm a bit hesistant to delete the index.php
473: [06:59:04] <iamss> by the way I am running ss 2.4.13
474: [07:03:31] <xini> no worries...
475: [07:04:20] <xini> the main script of ss is main.php in the saphire/framework folder. index.php is just a fallback if rewrite doesnt work.
476: [07:07:16] * new_learner has joined #silverstripe
477: [07:09:16] <iamss> xini: it is working now! thanks Xini
478: [07:12:00] <xini> no worries!
479: [07:17:26] * Vik has joined #silverstripe
480: [07:21:57] * new_learner quit (Ping timeout: 272 seconds)
481: [07:24:29] * iamss quit (Ping timeout: 272 seconds)
482: [07:31:33] <Vik> Hi all. I've got a page problem, not sure what it could be. When I create a new page or even select a page from the site tree view in the cms I get this http://tinypic.com/r/25iohm1/5 Not sure what's causing it but if anyone could help me I'd really appreciate it. Also, when I create a new page type, the page doesn't save immediately as in http://tinypic.com/r/2d7dni1/5 but when I reload
483: [07:31:33] <Vik> the CMS the new page is there in the site tree and I can make changes to it.
484: [07:33:00] <willr> Doesn't look too good. Haven't see that before. Done a /dev/build after adding your page type and a ?flush=1
485: [07:33:30] <Vik> yeah I have. It still does that
486: [07:35:41] <Vik> I'm running dev mode on my local machine and it doesn't throw any errors
487: [07:36:02] <Vik> I'm also running live mode on my server but it still does this
488: [07:48:17] <Vik> please help it's super urgent and I don't know what's going on here
489: [07:48:58] * Stomach quit (Ping timeout: 246 seconds)
490: [07:50:42] <Vik> *not 'here' as in the IRC chat but, 'here' as in the silverstripe CMS :)
491: [07:58:02] <zippy__> Vik: I've seen that, but fixed it just by logging outand in again (or close the page and open it again)
492: [07:58:51] * Shrike_Finland has joined #silverstripe
493: [08:18:16] * ARNHOE has joined #silverstripe
494: [08:22:02] * Sj0hn has joined #silverstripe
495: [08:23:50] * violetina has joined #silverstripe
496: [08:28:43] <Vik> <zippy___> Thanks for the suggestion :) Unfortunately I've tried that and it didn't solve anything.
497: [08:30:52] * willr quit (Quit: willr)
498: [08:36:10] * mobiusnz`home has joined #silverstripe
499: [08:36:22] <mobiusnz`home> hey. is there an easy way to redirect to the homepage?
500: [08:36:54] * Warlord has joined #silverstripe
501: [08:37:01] * Warlord has left #silverstripe
502: [08:39:29] <Zauberfisch> mobiusnz`home: yes there is
503: [08:39:38] <Zauberfisch> $this->redirect('/');
504: [08:39:43] <Zauberfisch> where $this is a controller
505: [08:39:59] <Zauberfisch> so you have to use this line of code in your Page_Controller or subclass
506: [08:40:09] <mobiusnz`home> Zauberfisch: no, that returns me to the site root
507: [08:40:20] <Zauberfisch> well, isn't that the home?
508: [08:40:36] <mobiusnz`home> eg http://localhost. I want to go to eg http://localhost/example.com
509: [08:40:48] <mobiusnz`home> where my site is set up in example.com
510: [08:40:57] <Zauberfisch> $page = SiteTree::get_by_link('home');
511: [08:41:11] <Zauberfisch> if ($page) $this->redirect($page->Link());
512: [08:41:18] <Zauberfisch> this way you can redirect to a specific page
513: [08:41:27] <Zauberfisch> but in your case I probably would do:
514: [08:42:08] <mobiusnz`home> return $this->redirect(SiteTree::get_by_link('home')->Link()); works fine
515: [08:42:23] <mobiusnz`home> cheers
516: [08:44:24] <Zauberfisch> $this->redirect(Director::baseURL());
517: [08:44:28] <Zauberfisch> this is what I would do
518: [08:44:41] <mobiusnz`home> oh yeah, that's tidier
519: [08:45:08] <Zauberfisch> using get_by_link you have to do a check if the page actually exists, because if the admin deletes the home page or changes the url, your site will error
520: [08:46:05] <mobiusnz`home> yeah
521: [08:46:23] <mobiusnz`home> i'd imagine baseurl is an order of magnitude quicker too
522: [08:47:17] <Zauberfisch> yep, no DB query
523: [08:53:00] <ss23> Goodwill Hunting -- a prodigy shopper aspires to find the best deals in the entire country
524: [09:07:41] * kinglozzer has joined #silverstripe
525: [09:09:42] <Zauberfisch> how does one call a mobile phone in NZ/AU?
526: [09:09:58] <ss23> Um
527: [09:10:01] <ss23> *from* NZ?
528: [09:10:14] <ss23> Like, from a landline in NZ, to call a mobile phone in NZ, what numbers do you press?
529: [09:10:18] <ss23> Or what do you mean? :O
530: [09:10:21] <Zauberfisch> oh, haha
531: [09:10:28] <Zauberfisch> no, not as in making a phone call
532: [09:10:33] <Zauberfisch> I mean in terms of language
533: [09:10:35] <ss23> Oh
534: [09:10:37] <ss23> Mobile phone is fine
535: [09:10:40] <Zauberfisch> like british say mobile phone
536: [09:10:45] <Zauberfisch> others say cell
537: [09:10:47] <ss23> Cell phone is also said in conversation, but mobile phone works perfectly fine :)
538: [09:10:56] <ss23> I think mobile is what most websites would use
539: [09:41:21] * Sj0hn quit (Ping timeout: 252 seconds)
540: [09:53:04] <spronk> ss23:
541: [09:53:08] <spronk> http://beta.govt.nz
542: [09:53:09] <spronk> vs
543: [09:53:16] <spronk> https://www.gov.uk/
544: [09:53:17] <spronk> what is this shit?
545: [09:53:18] <ss23> lol
546: [09:53:33] <ss23> At this rate, anyone would think that beta.govt.nz was literally modelled after the UK one!
547: [09:53:53] <ss23> but yes, is intentional, spronk
548: [09:54:05] <ss23> I'm not a big fan of the design, tbh
549: [09:56:57] * Sj0hn has joined #silverstripe
550: [09:57:00] <spronk> is intentional?
551: [09:57:01] <spronk> wow
552: [09:57:02] <spronk> you mean
553: [09:57:14] <spronk> is a blatant rip off and should be submitted to somewhere like ripperhunting? :P
554: [09:57:34] <ss23> lol
555: [09:57:58] <ss23> I jus found two sites that SilverStripe made that look the same! made by same designer too!
556: [09:58:01] <ss23> Should I submit to ripperhunting?
557: [10:06:48] * micmania1 has joined #silverstripe
558: [10:11:49] <spronk> yes
559: [10:11:56] <spronk> unless they belong to the same entity
560: [10:12:01] <spronk> or closely related entities
561: [10:12:09] <ss23> lol
562: [10:12:13] <spronk> fucking HATE designers copying other people's shit blatantly
563: [10:12:18] <spronk> it looks so cheap
564: [10:12:32] <ss23> Yeah, I hate sharing too
565: [10:12:35] <ss23> That's why I only use Windows
566: [10:12:38] <ss23> Fuck Linux and shit
567: [10:21:39] <spronk> sigh
568: [10:21:45] <spronk> its not sharing
569: [10:21:53] <spronk> also
570: [10:21:58] <spronk> burgerfuel <3
571: [10:22:14] <ss23> boogerfuels
572: [10:22:14] <ss23> :D
573: [10:24:45] <spronk> peanut piston
574: [10:24:46] <spronk> tasty idea
575: [10:24:54] <spronk> probably more peanut sauce than i would like
576: [10:40:02] * guci0 has joined #silverstripe
577: [10:40:07] <guci0> Hello World!
578: [10:43:13] <Zauberfisch> blubb
579: [10:46:24] * unculture has joined #silverstripe
580: [10:48:26] <guci0> :)
581: [10:49:49] * Kolin quit (Remote host closed the connection)
582: [11:06:14] <ARNHOE> Zauberfisch: seeing you are busy with userforms. Perhaps you could check out, https://github.com/silverstripe/silverstripe-userforms/issues/184 seems kinda urgent eventhough its still sending the form
583: [11:12:21] * r3v3rb has joined #silverstripe
584: [11:12:31] <r3v3rb> morning all
585: [11:12:47] <r3v3rb> anyone awake yet?
586: [11:18:34] <kinglozzer> Just
587: [11:18:35] <kinglozzer> :P
588: [11:21:44] * mobiusnz`home quit (Quit: Leaving.)
589: [11:23:40] <r3v3rb> :)
590: [11:24:47] <r3v3rb> what do you reckon - competition entry website, four pages plus backend with automatic email delivery and followup delivery of prompts, website to check duplication and rpovide framework to upload unique codes etc etc £3300
591: [11:25:06] <r3v3rb> I reckon its about a week - a week and a halfs work
592: [11:25:27] <r3v3rb> based on the clients previous painful photoshop designs... :D
593: [11:31:17] <kinglozzer> r3v3rb: Sounds fine to me, always quote more for clients with painful photoshop skills :P
594: [11:31:51] <r3v3rb> lol, they just always design as if its a print job... yucky with no regard to actual positional placement etc
595: [11:32:12] <kinglozzer> My favourite are the ones with ~500 layers, all named "Layer xxx", no folders etc
596: [11:32:28] <r3v3rb> you get anything any different?
597: [11:32:34] <kinglozzer> Do they fill every single piece of whitespace? :P
598: [11:32:40] <r3v3rb> usually
599: [11:32:54] <r3v3rb> and use a zillion different typefaces
600: [11:33:00] <kinglozzer> None of which are webfonts
601: [11:33:08] <kinglozzer> Ahhh print designers
602: [11:33:22] <r3v3rb> unless of course they are doing the coding (lol - which amounts to buying a wordpress template and uploading it)
603: [11:33:44] <ARNHOE> or "designers" who rasterize every layer, gl finding the shadow or gradient
604: [11:33:56] <r3v3rb> ARNHOE: so true
605: [11:34:54] <r3v3rb> now shall I buy MAMP Pro or just stick with MAMP and route my email stuff using the email-helper in SS for local development :)
606: [11:35:35] <ARNHOE> r3v3rb: dunno if its worth the investment. I bought it when I was still a "dummy" (or still am) but don't really have the feeling they maintain the software
607: [11:36:02] <r3v3rb> okay so updates are few and far between then?
608: [11:36:42] <r3v3rb> I have my own server in the Netherlands that I use for clients so I could just use that but it's easier to rush out a job locally and doesn't require a network either which is a bonus at times
609: [11:37:02] <ARNHOE> yeah, but nonetheless I am happy with the money I spend on it. It works
610: [11:38:47] <r3v3rb> does it work okay on Mavericks?
611: [11:39:42] * r3v3rb_ has joined #silverstripe
612: [11:39:42] * r3v3rb quit (Read error: Connection reset by peer)
613: [11:39:43] * r3v3rb_ is now known as r3v3rb
614: [11:39:52] <r3v3rb> back again, not sure what happened then...
615: [11:40:09] * lewellyn quit (Ping timeout: 253 seconds)
616: [11:41:29] <ARNHOE> yeah works good on mavericks
617: [11:43:01] <r3v3rb> okay, i'm in for £39
618: [11:44:13] * lewellyn has joined #silverstripe
619: [12:04:25] * guci0 quit (Ping timeout: 272 seconds)
620: [12:12:24] * Pyromanik has joined #silverstripe
621: [12:13:03] <Zauberfisch> r3v3rb: what is the benefit of mampPRO here?
622: [12:17:41] <Pyromanik> omfg, a job listing looking for a PHP4 developer
623: [12:17:42] <Pyromanik> WTF
624: [12:18:05] <Pyromanik> WTactualF
625: [12:18:19] <Pyromanik> r3v3rb, why mamp?
626: [12:18:22] <Pyromanik> :<
627: [12:19:26] * violet- has joined #silverstripe
628: [12:19:40] * violetina quit (Read error: Connection reset by peer)
629: [12:23:26] * zippy__ quit (Quit: zippy__)
630: [12:33:33] * xini quit (Ping timeout: 272 seconds)
631: [12:44:23] * ARNHOE quit ()
632: [12:44:48] * ARNHOE has joined #silverstripe
633: [12:44:49] * ARNHOE quit (Client Quit)
634: [12:48:40] <r3v3rb> Pyromanik: why not, I have used a virtual machine locally before but it was a hassle
635: [12:49:55] <r3v3rb> just lost a customer who gives me a whole 1 job a year because I changed my hourly rate for the first time in 3 years...
636: [12:49:59] * r3v3rb = not bothered
637: [12:50:02] <kinglozzer> r3v3rb: Use OS X's bundled apache :)
638: [12:50:23] <r3v3rb> kinglozzer: no issues then with php versions etc and switching?
639: [12:50:40] <kinglozzer> I've no idea, I don't switch PHP versions :P
640: [12:51:02] <r3v3rb> "I understand - thanks for clarifying your position.
641: [12:51:03] <r3v3rb> Unfortunately it's above the hourly rate we charge out to our clients" - charge your clients the correct rate then... lmao
642: [12:51:18] * ARNHOE has joined #silverstripe
643: [12:51:45] <r3v3rb> they wanted that competition site for under 1k including their markup and work
644: [12:52:14] <r3v3rb> oh and it had to be fully responsive too
645: [12:53:01] * r3v3rb fires up codekit and wonders how many updates he's missed
646: [12:53:21] <r3v3rb> Woot! I am up-to-date still :D
647: [12:56:08] <kinglozzer> I usually have a few :P it only gets opened once every few weeks at most
648: [12:56:25] <kinglozzer> We've switched to grunt now :)
649: [12:56:39] <r3v3rb> is it better then?
650: [12:59:07] <kinglozzer> It's command line, OF COURSE IT'S BETTER :D
651: [12:59:57] <Pyromanik> [01:49] <r3v3rb> just lost a customer who gives me a whole 1 job a year because I changed my hourly rate for the first time in 3 years...
652: [13:00:01] <kinglozzer> Not really, they both do pretty-much the same thing
653: [13:00:01] <Pyromanik> did you thank them for leaving? xD
654: [13:00:49] <Pyromanik> grunt
655: [13:00:52] <Pyromanik> not sure I get it
656: [13:01:55] <kinglozzer> ?
657: [13:02:39] <Pyromanik> Grunt, in general
658: [13:02:43] <Pyromanik> what it's for, etc.
659: [13:03:13] <kinglozzer> It's a task runner
660: [13:03:22] <kinglozzer> Most common tasks are SCSS > CSS, minifying JS etc
661: [13:03:30] <r3v3rb> Pyromanik: not yet, but will be ;)
662: [13:04:13] <Pyromanik> kinglozzer, so basically just a command line on a clock in a command line
663: [13:04:13] <kinglozzer> For example you can set it up to watch .scss & .js files, when changes are detected it'll minify/compile etc
664: [13:04:38] <Pyromanik> for compiling semi redundnat technologies becaue the internet derpery bureau thinks it's amazebalsl
665: [13:05:15] <kinglozzer> Pyromanik: Yeah that's about right
666: [13:05:20] <Pyromanik> :P
667: [13:05:20] <kinglozzer> :P
668: [13:05:47] <kinglozzer> Apparently it's useful for JavaScript unit testing as well
669: [13:05:49] * kinglozzer shudders
670: [13:06:20] <Pyromanik> yeah, but surely just manually running the test would be better than manually starting the task to start the tests would be better
671: [13:06:32] <Pyromanik> err
672: [13:06:36] <Pyromanik> would be better.
673: [13:06:43] <Pyromanik> Inception, n' all that
674: [13:06:58] <r3v3rb> hmm, NoFlo = flow-based programming (FBP) is a programming paradigm that defines applications as networks of "black box" processes, which exchange data across predefined connections by message passing, where the connections are specified externally to the processes = OOP to me?!
675: [13:07:13] <kinglozzer> Pyromanik: You'd simply do 'grunt' and it'd run a load of different tasks
676: [13:07:20] <Pyromanik> r3v3rb, nope.
677: [13:07:22] <r3v3rb> or am I missing something in that statement
678: [13:07:22] <kinglozzer> That's the general idea
679: [13:07:40] <Pyromanik> you're missing the word network, and the paradigm is missing the the work programming.
680: [13:07:42] <r3v3rb> http://noflojs.org/
681: [13:09:50] <Pyromanik> urgh, 'written in coffee script for simplicity'
682: [13:10:07] <Pyromanik> nothing more simple than complicating a simple language in the name of simplicity.
683: [13:10:23] <Pyromanik> to make it compile into said language.
684: [13:10:41] <Zauberfisch> Pyromanik: :D
685: [13:13:26] <r3v3rb> bbiab
686: [13:13:30] * r3v3rb quit (Quit: r3v3rb)
687: [13:17:23] <Pyromanik> noflo looks more like UML and a cross between a semi-realtime visual object library, and BlueJ.
688: [13:18:13] <Pyromanik> ie, nothing special in itself, just a new way of 'visualising' the structure of a program, rather than being a new paradigm
689: [13:32:48] * r3v3rb has joined #silverstripe
690: [13:33:05] <r3v3rb> oh, quick question about %t translations
691: [13:34:47] * qlex has joined #silverstripe
692: [13:34:54] * qlex says hi
693: [13:35:17] <qlex> Zauberfisch: hi,havent heard from you alter on, any luyck with user forms fix ?
694: [13:35:43] <Zauberfisch> qlex: greetings
695: [13:36:01] <Zauberfisch> https://github.com/silverstripe/silverstripe-userforms/pull/186
696: [13:36:20] <Zauberfisch> oh noez, I just saw travis failed :O
697: [13:36:21] <Pyromanik> [02:33] <r3v3rb> oh, quick question about %t translations
698: [13:36:31] <Pyromanik> this 'quick' question is sure taking a long time!
699: [13:37:16] <Zauberfisch> ah, makes sence, just weird that the tests passed locally
700: [13:37:20] <r3v3rb> in my courses controller I output a page of course items and in my template I have <%t Courses.Welcome "Hi" %> in my lang yaml file I have Courses.Welcome yet the translation doesn;t appear the $ContentLocale shows the correct locale for the translation though
701: [13:37:56] <r3v3rb> any ideas?
702: [13:38:10] <Pyromanik> is that how you do it these days?
703: [13:38:13] <r3v3rb> I have dev/build?flush=all too
704: [13:38:21] <Zauberfisch> r3v3rb: did you flush after changing the language file?
705: [13:38:23] <r3v3rb> Pyromanik: afaik
706: [13:38:39] <Zauberfisch> yes, the syntax is correct
707: [13:38:46] <Zauberfisch> r3v3rb: whats the filename?
708: [13:38:50] <Pyromanik> r3v3rb, I think it changed, but I'm not sure. Used to be <% _t(blah, blah) %>
709: [13:38:55] <r3v3rb> it.yml
710: [13:39:12] <Pyromanik> yeah nah, but also what's the header in the yml, it's gotta be the template name or something like that
711: [13:39:17] <Zauberfisch> Pyromanik: its <%t Class.Key 'String' %> now
712: [13:39:31] <Pyromanik> Zauberfisch, ah yeah, thought it changed :> thanks
713: [13:39:42] <Zauberfisch> r3v3rb: does the yml start with it:?
714: [13:39:49] <r3v3rb> The locale stuff works in the contact form which is driving by the ContactForm.php class so I know locales are working
715: [13:39:58] <r3v3rb> Zauberfisch: yes it does
716: [13:40:29] <Pyromanik> r3v3rb, but iirc it needs to be it: 'ContactForm.ss': si (or osmething like that)
717: [13:40:32] <r3v3rb> as I say they work when being driven by the ContactForm class via _t in the class - but when I try in the template
718: [13:40:35] <qlex> Zauberfisch: great,will i monitor this PR to see when its picked up by master ?
719: [13:40:46] <Zauberfisch> r3v3rb: I am assuming you are using the translatable module?
720: [13:40:53] <r3v3rb> Zauberfisch: yes ;)
721: [13:41:14] <Zauberfisch> qlex: I will do one more fix today, after that I am pretty sure it is good for merging
722: [13:41:17] <r3v3rb> language switch works for the main site and the form variables in the contact form
723: [13:41:41] <Zauberfisch> r3v3rb: have you also set i18n to the correct language? thats a common thing to forget.
724: [13:41:51] <r3v3rb> ok
725: [13:41:52] <Zauberfisch> i18n does not automaticly pick up the language from the translatable module
726: [13:42:03] <r3v3rb> googles that one
727: [13:42:08] <Zauberfisch> r3v3rb: standby
728: [13:42:20] <qlex> k
729: [13:42:55] * UndefinedOffset has joined #silverstripe
730: [13:44:32] <Zauberfisch> r3v3rb: http://paste2.org/MmGaxELK
731: [13:45:22] <Pyromanik> interesting Zauberfisch :< I thought it worked via a config setting thing
732: [13:45:23] <Pyromanik> :<
733: [13:45:49] <Zauberfisch> r3v3rb:
734: [13:45:49] * r3v3rb tries
735: [13:45:59] <Zauberfisch> also, a snippet you might find interesting:
736: [13:46:01] <Zauberfisch> http://paste2.org/1w8dZx8B
737: [13:46:06] <Zauberfisch> getAvailableLocales()
738: [13:46:18] <Zauberfisch> to get a list of languages that have content
739: [13:46:40] <Zauberfisch> thats usefull to loop all languages that this site is translated in
740: [13:47:58] <Zauberfisch> a template for this could look like this: http://paste2.org/wdU4m0YC
741: [13:48:05] * qlex has left #silverstripe
742: [13:48:21] <r3v3rb> Zauberfisch: I wonder if this is not working as the class extends Controller not Page_Controller - maybe I need to specify that this class is also translatable too in the config somewhere
743: [13:48:31] <Zauberfisch> which will also display a flag, eg $ThemeDir/images/flags/en.png
744: [13:48:52] <Zauberfisch> r3v3rb: Oo
745: [13:49:01] <Zauberfisch> r3v3rb: may I see your code?
746: [13:49:20] <r3v3rb> all of it?
747: [13:49:28] <Zauberfisch> the relevant part
748: [14:00:18] * ARNHOE quit ()
749: [14:07:05] <r3v3rb> fixed thanks Zauberfisch for the hints and help
750: [14:07:28] <Zauberfisch> you're welcome
751: [14:07:39] <r3v3rb> i18n::set_locale($member->Locale); in the code sets up the controller perfectly
752: [14:08:06] <r3v3rb> <%t Class.Value "Original String %> works perfectly now
753: [14:15:15] <Pyromanik> :D
754: [14:15:50] <Pyromanik> If there's one thing SS could do better it's probably translation.
755: [14:16:26] <Pyromanik> well, not so much translation, but the application of it. It's pretty winner as is with the t function, but the set_locale etc and translatable module are a bit... lacking :<
756: [14:19:58] <Vik> Hi all. I've asked this before but haven't been able to solve it... I've got a page problem, not sure what it could be. When I create a new page or even select a page from the site tree view in the cms I get this http://tinypic.com/r/25iohm1/5 Not sure what's causing it but if anyone could help me I'd really appreciate it. Also, when I create a new page type, the page doesn't save
757: [14:19:58] <Vik> immediately as in http://tinypic.com/r/2d7dni1/5 but when I reload the CMS the new page is there in the site tree and I can make changes to it.
758: [14:20:59] <r3v3rb> Pyromanik: they complicate the system by producing similar code for different applications of the _t <%t systems
759: [14:22:40] <r3v3rb> still it works and the deadline for this is still 5 days away! :)
760: [14:22:52] * r3v3rb settles back in his comfy chair a bit
761: [14:24:16] * ARNHOE has joined #silverstripe
762: [14:31:50] * OxFF1 has joined #silverstripe
763: [14:42:49] * r3v3rb quit (Quit: r3v3rb)
764: [14:43:22] * r3v3rb has joined #silverstripe
765: [14:43:45] * r3v3rb quit (Client Quit)
766: [14:49:02] <Pyromanik> Vik, tinypic is 100% rubbish.
767: [14:49:05] <Pyromanik> I see nothing.
768: [14:50:54] <kinglozzer> Pyromanik: He's seeing loads of \n\t\r\\t\n\t\t etc in the CMS
769: [14:50:54] <Pyromanik> Vik, also, which version are you using?
770: [14:51:04] <kinglozzer> Vik: Do you have any white space before your opening <?php tag?
771: [14:51:06] <Pyromanik> yeah, old version, update. Problem solved.
772: [14:51:20] <kinglozzer> Oh
773: [14:51:20] <Pyromanik> or poor code, yeh.
774: [14:51:27] <Pyromanik> can be a few reasons.
775: [14:51:35] <kinglozzer> It's 3.1.something
776: [14:51:38] <Pyromanik> hence the question "what version?" ;)
777: [14:51:43] <Pyromanik> oh yh
778: [14:51:52] <Pyromanik> shouldn't have that issue then. Most likely bad code yeh
779: [14:51:56] <Pyromanik> >?
780: [14:51:59] <Pyromanik> err
781: [14:52:00] <Pyromanik> ?>
782: [14:52:03] <Pyromanik> bads
783: [14:52:12] <kinglozzer> Evil
784: [14:52:13] <Pyromanik> or saf <?php yeh
785: [14:52:33] <Zauberfisch> I also had an issue like that once, but was localized to one paticular server
786: [14:52:47] <Zauberfisch> I spent weeks trying to solve it
787: [14:52:55] <Pyromanik> yeh, it seems to crop up from time to time, but I've never seen what a sure fire answer to it is.
788: [14:53:04] <Zauberfisch> ended up nuking that server and relocating sites to another one
789: [14:53:10] <Pyromanik> other than pjaxNegotiator I assume.
790: [14:53:24] <Pyromanik> making all the \n\t etc
791: [14:53:42] * Pyromanik *shrugs*
792: [14:53:55] <Zauberfisch> oh, wait, we are not talking about whitespace in ajax response problem?
793: [14:55:05] <Pyromanik> Zauberfisch, [03:50] <kinglozzer> Pyromanik: He's seeing loads of \n\t\r\\t\n\t\t
794: [14:55:14] <Zauberfisch> ah, sorry, missed that
795: [14:55:14] <Pyromanik> http://tinypic.com/r/25iohm1/5
796: [14:55:30] <Pyromanik> yeah, so did I because tinypic is terrible.
797: [14:55:46] <Pyromanik> at achieving it's own purpose for existence.
798: [14:55:59] <Zauberfisch> haha, agreed
799: [14:56:07] <Zauberfisch> I didn't even open that :P
800: [14:56:40] <Pyromanik> No javascript? no image. so then there's a link that says "for embed in email, etc" so I click that and it redirects straight back to the frame view with no image.
801: [14:56:41] <Pyromanik> DERP
802: [14:56:56] <Pyromanik> how does one even view an image? NOT WITH AMERICAN WEBSITES
803: [14:57:03] <Zauberfisch> ^^
804: [14:57:34] <Pyromanik> for american websites require JS in order to spam you with ten billion ads, track your whereabouts, and all kinds of rubbish
805: [14:58:12] <kinglozzer> FUCK YEAH
806: [14:58:24] <kinglozzer> Anyone seen Team America?
807: [14:58:46] <Vik> Hi guys, thanks for the reply. I'm using version 3.1.2. no whitespace in front of the php tags etc... sorry for the late reply. Working on a deadline :)
808: [14:59:51] <Pyromanik> Vik, what about ?> anywhere?
809: [15:00:06] <Pyromanik> kinglozzer, yeh, once, ages ago.
810: [15:00:16] <Vik> I'll check quick Thanks
811: [15:00:19] <Pyromanik> ss23 and I had this big conversation about it once.
812: [15:00:31] <kinglozzer> Heh, terrible film, but hilarious anyway
813: [15:00:39] <Pyromanik> I think it's a rubbish movie, but he loves it because it's so bad.
814: [15:00:46] <kinglozzer> Exactly ^^ :P
815: [15:00:57] <Pyromanik> kinglozzer, sounds like you have a similar position :P
816: [15:01:00] <Pyromanik> yeh
817: [15:01:15] <Pyromanik> and por ol' Matt Damon.
818: [15:01:32] <kinglozzer> Haha yeah
819: [15:01:39] <Pyromanik> like, no one ever thought about him before that, then suddenly he was this outcast of popular culture
820: [15:01:46] <Pyromanik> and it was very o.0 to me.
821: [15:02:05] <Pyromanik> poeple didn't like him and didn't even know why. But then people so stupid it hardly surprises me :<
822: [15:03:00] <Pyromanik> urgh cover letter writing :<
823: [15:04:38] <Pyromanik> how does one even do this?
824: [15:04:53] <Pyromanik> It's like writing an essay, only extremely uninteresting.
825: [15:04:57] <Pyromanik> (er)
826: [15:05:02] <kinglozzer> Inb4 the word 'passionate'
827: [15:05:12] <kinglozzer> Every covering letter has that :D
828: [15:05:12] <Pyromanik> ha, I used passion.
829: [15:05:15] <kinglozzer> :P
830: [15:05:26] * Pyromanik goes and doctors it
831: [15:05:28] <Pyromanik> :P
832: [15:05:35] <kinglozzer> Don't worry about it, people only skim read them :P
833: [15:05:49] <Pyromanik> oh actually I already don't have it.
834: [15:05:53] <Pyromanik> champion I am.
835: [15:06:12] <Pyromanik> kinglozzer, yeh, unless you make an impression. But I dunno what the deal is like with that here
836: [15:06:24] <Pyromanik> fuck'n recruiters standing in the way :<
837: [15:08:45] <Vik> Well what d'ya know... There was a ?> in a file (ide must have added it in!) Thanks Pyromanik
838: [15:09:03] <Vik> And the solution made sense :)
839: [15:12:23] * ObiWanShanobi has joined #silverstripe
840: [15:13:42] * ObiWanS__ has joined #silverstripe
841: [15:13:43] * ObiWanShanobi quit (Read error: Connection reset by peer)
842: [15:16:20] * ObiWanS__ quit (Remote host closed the connection)
843: [15:16:53] * ObiWanShanobi has joined #silverstripe
844: [15:19:50] <Pyromanik> Vik, and that solved the issue?
845: [15:22:36] * ObiWanS__ has joined #silverstripe
846: [15:22:37] * ObiWanShanobi quit (Read error: Connection reset by peer)
847: [15:24:24] * ObiWanShanobi has joined #silverstripe
848: [15:24:26] * ObiWanS__ quit (Read error: Connection reset by peer)
849: [15:31:27] * nhorstmeier has joined #silverstripe
850: [15:31:38] * nhorstmeier quit (Client Quit)
851: [15:39:57] * rrymrrsn has joined #silverstripe
852: [15:40:19] * jrthomer has joined #silverstripe
853: [15:40:46] * rrymrrsn has left #silverstripe
854: [15:54:44] * Shrike_Finland quit (Quit: Leaving.)
855: [15:57:41] * r3v3rb has joined #silverstripe
856: [16:07:26] <kinglozzer> Anyone know if using $('.selector').attr('data-stuff'); is faster than $('.selector').data('stuff'); or $
857: [16:07:41] <kinglozzer> $.data('.selector', 'stuff'); or whatever
858: [16:07:58] * Sj0hn quit (Read error: Connection reset by peer)
859: [16:08:49] * r3v3rb quit (Quit: r3v3rb)
860: [16:08:58] * Liquide has joined #silverstripe
861: [16:09:03] <Zauberfisch> I can only guess
862: [16:09:05] <Zauberfisch> but .data(
863: [16:09:09] <Zauberfisch> 'stuff') does caching
864: [16:09:15] <Zauberfisch> so it might be faster
865: [16:09:59] <Zauberfisch> kinglozzer: http://jsperf.com/jquery-data-vs-attr/22
866: [16:10:52] <Zauberfisch> theInput.attr('someAttr'); seems to be faster than theInput.data('someData');
867: [16:11:11] <Zauberfisch> not sure if its fair to also compare
868: [16:11:12] <Zauberfisch> $.data(theInput, 'someData'); here
869: [16:11:19] <kinglozzer> Ah awesome, thanks Zauberfisch
870: [16:11:39] <kinglozzer> I'm only using .data() to access an attribute in this case, just wondered if attributes were cached somehow or something
871: [16:11:41] <Zauberfisch> but one should also note that .data() does some extra stuff like parsing json
872: [16:11:54] <kinglozzer> Not sure if .data() is just a "proxy" for .attr('data-
873: [16:12:08] <kinglozzer> As you can use .data() to access data- attributes
874: [16:12:49] <Zauberfisch> interesting: http://lookfirst.com/2011/12/dont-use-jquery-data-method-use-attr.html
875: [16:13:23] <Zauberfisch> so that confirms that .data() does all kind of fancy stuff: convert data types, parse json
876: [16:13:36] <Zauberfisch> so it makese sense that .data() is slower than direct access to the attribute
877: [16:13:40] <kinglozzer> Ah, cool
878: [16:14:04] <Zauberfisch> then again, if you have json in the html attribute, then .data() is pretty handy
879: [16:16:24] <kinglozzer> Not in this case, data-target="selector", nice and simple :P
880: [16:24:27] * ARNHOE quit ()
881: [16:30:11] <Pyromanik> Urgh "get qualified in SEO"
882: [16:30:38] <Pyromanik> there isn't a qualification for "tell someone to write good copy and not spam the shit out of people"
883: [16:31:28] <Pyromanik> kinglozzer, $(sel).data() uses data- attributes.
884: [16:31:43] <Pyromanik> if there isn't internal doodackies set.
885: [16:31:53] <kinglozzer> Pyromanik: Yeah I know, I just wondered if it was slower or faster
886: [16:32:02] <Pyromanik> (ie, it'll look up data attributes or fall back to the old way)
887: [16:32:30] <Pyromanik> kinglozzer, ah. Well I doubt it. Maybe slightly on first read, but from then on I imagine it to be using the old system.
888: [16:32:38] <Pyromanik> ie, just populates defaults.
889: [16:32:57] <Pyromanik> but then I've not tested, it may update data attribute if you set .data(blah, something)
890: [16:33:43] <kinglozzer> I think it just updates its 'internal' data rather than the attribute
891: [16:34:01] <kinglozzer> Then the next time you try and read it, it'll use that instead of the attribute I guess
892: [16:34:14] <Pyromanik> yeh
893: [16:34:23] <Pyromanik> if that's what happens I bet that'll be the case.
894: [16:35:30] <Pyromanik> isn't that the way.
895: [16:35:43] <Pyromanik> found what sounds like the perfect job, already have interview for another one.
896: [16:35:47] <Pyromanik> heh
897: [16:36:41] <kinglozzer> Nice, go for both :P
898: [16:36:54] <Pyromanik> Yeh probably will. Depends on cycle of other recruitment though.
899: [16:37:14] <Pyromanik> Sounds like this first company is keen, could already be at work before the other reads my CV
900: [17:12:28] <kinglozzer> Pyromanik: GL :)
901: [17:17:48] <kinglozzer> FYI Pyromanik / Zauberfisch: http://jsperf.com/jquery-data-x-vs-attr-data-x-performance
902: [17:22:55] * kinglozzer quit ()
903: [17:30:50] <Pyromanik> oh yup
904: [17:30:51] <Pyromanik> tak
905: [17:30:53] <Pyromanik> ta*
906: [17:33:41] <Pyromanik> hmm, interesting!
907: [17:33:45] <Pyromanik> still, carefactor 0
908: [17:34:03] <Pyromanik> I write things to work. I more often than not don't care about speed.
909: [17:34:25] <Pyromanik> Unless it's a specific requirement, in which case then this is all very interesting :>
910: [17:37:28] * Vik quit (Ping timeout: 272 seconds)
911: [17:41:09] <Pyromanik> theDiv.attr('data-value');
912: [17:41:10] <Pyromanik> 55,787
913: [17:41:15] <Pyromanik> (ops/sec)
914: [17:41:30] <Pyromanik> theDiv.data('value');
915: [17:41:31] <Pyromanik> 90,206
916: [17:41:35] <Pyromanik> (ops/sec)
917: [17:41:47] <Pyromanik> $.data(theDiv, 'value');
918: [17:41:48] <Pyromanik> 6,983,265
919: [17:41:52] <Pyromanik> (ops/sec)
920: [17:42:01] <Pyromanik> for those interested & not wanting to click.
921: [17:42:19] <Pyromanik> the results from my netbook are interesting
922: [17:42:48] <Pyromanik> (firefox 26)
923: [18:03:49] * mobiusnz`home has joined #silverstripe
924: [18:11:07] * unculture quit (Ping timeout: 265 seconds)
925: [18:25:49] * mobiusnz`home quit (Quit: Leaving.)
926: [18:29:05] * JP quit (Quit: Page closed)
927: [18:44:49] <Zauberfisch> prefered branch to pull request to is currently 3.1
928: [18:44:50] <Zauberfisch> right?
929: [18:44:52] <Zauberfisch> cc simon_w
930: [18:45:50] <Pyromanik> nfi sorry Zauberfisch
931: [18:45:58] <Pyromanik> I'd guess 3.1.2 though, yeh
932: [18:46:50] <Zauberfisch> there is no such branch
933: [18:49:19] <Pyromanik> tag Zauberfisch?
934: [18:54:50] * Stomach has joined #silverstripe
935: [18:59:47] * gelignite has joined #silverstripe
936: [19:04:01] * SphereSilverNL has joined #silverstripe
937: [19:05:38] <SphereSilverNL> \☺
938: [19:18:50] <Stomach> exactly
939: [19:25:52] <simon_w> Zauberfisch, depends
940: [19:32:55] <SphereSilverNL> Getting PEAR up and running on Windows is a hell :(
941: [19:34:41] * Ryan-Toast has joined #silverstripe
942: [19:39:54] <Zauberfisch> simon_w:
943: [19:40:01] <Zauberfisch> 3.1 no API
944: [19:40:06] <Zauberfisch> master API changing
945: [19:40:27] <simon_w> Basically
946: [19:42:58] * nickmolhoek has joined #silverstripe
947: [19:43:49] * DigNZ has joined #silverstripe
948: [19:48:17] <SphereSilverNL> Yay! Pear and PHPUnit are working again.
949: [19:48:27] <SphereSilverNL> Why is it such a hell to get those things working?
950: [19:51:39] <simon_w> Because you're doing it wrong?
951: [19:51:39] <SphereSilverNL> simon_w: on Windows, it's quite a hassle.
952: [19:51:39] <SphereSilverNL> On Linux and OSX, it's easy
953: [19:51:46] * willr has joined #silverstripe
954: [19:53:20] <SphereSilverNL> Hello Sir William :P
955: [19:55:29] <willr> howdey
956: [19:56:30] <willr> Everyone doing well I hope
957: [19:57:02] <SphereSilverNL> I'd prefer better, but it could be worse :D
958: [19:57:19] <willr> Every day above ground is a good one
959: [19:57:42] <SphereSilverNL> That's a winning point :D
960: [20:03:41] <Pyromanik> SphereSilverNL, it is?
961: [20:03:44] * zippy__ has joined #silverstripe
962: [20:04:02] <Pyromanik> ref: err, pear, windows, hell
963: [20:04:58] <Pyromanik> willr, going well.
964: [20:05:02] <Pyromanik> except
965: [20:05:05] <Pyromanik> MSSQL
966: [20:05:07] <Pyromanik> D:
967: [20:05:12] <Pyromanik> have looming interview
968: [20:05:13] <Pyromanik> lol
969: [20:05:24] <willr> exciting
970: [20:05:26] <Pyromanik> haircut tomorrow D:
971: [20:06:09] <Pyromanik> I lose my undercut :<
972: [20:06:21] <Pyromanik> I guess.
973: [20:08:32] <SphereSilverNL> You have to work with MSSQL?
974: [20:08:58] <SphereSilverNL> you poor soul.... I did that for more than 3 years. I'm so happy I don't have to work with it anymore!
975: [20:10:52] <Pyromanik> SphereSilverNL, well, maybe.
976: [20:11:00] <Pyromanik> if I get the job I'll be part of a small team
977: [20:11:19] <Pyromanik> Dev'n internal tools as well as looking after website, etc.
978: [20:11:39] <Pyromanik> seems like they use mysql and MSSQL, presumably the later is legacy internal stuffs.
979: [20:11:57] <Pyromanik> I'll know more after Wednesday!
980: [20:12:28] <SphereSilverNL> I recently started working with PostgreSQL. I think I'm in love with it....
981: [20:12:48] <Pyromanik> I always want to, but mysql is so ubiqutious...
982: [20:13:12] <Ryan-Toast> SphereSilverNL: Can you use PostgreSQL with SS?
983: [20:13:15] <SphereSilverNL> You're using complex words :(
984: [20:13:19] <simon_w> Ryan-Toast, yes
985: [20:13:20] <Pyromanik> ubiquitous*
986: [20:13:22] <SphereSilverNL> Ryan-Toast: Yup, works fine
987: [20:13:25] <simon_w> All my sites do :)
988: [20:13:37] <Ryan-Toast> define: ubiqutious, ah yes...I knew that/
989: [20:13:40] <Pyromanik> Ryan-Toast, and MSSQL too, if you really have to, apparently :<
990: [20:14:00] <simon_w> Can basically only use the features that overlap with MySQL, but it's there
991: [20:14:04] <Ryan-Toast> simon_w: What would you say the benifits of using Post is over mysql?
992: [20:14:06] <Pyromanik> SphereSilverNL, ubiquitous
993: [20:14:06] <Pyromanik> ju??b?kw?t?s/
994: [20:14:06] <Pyromanik> adjective
995: [20:14:06] <Pyromanik> adjective: ubiquitous
996: [20:14:06] <Pyromanik> 1.
997: [20:14:06] <Pyromanik> present, appearing, or found everywhere.
998: [20:14:07] <Pyromanik> "his ubiquitous influence was felt by all the family"
999: [20:14:07] <Pyromanik> synonyms: omnipresent, ever-present, present everywhere, everywhere, all-over, all over the place, pervasive, all-pervasive, universal, worldwide, global; More
1000: [20:14:08] <Pyromanik> rife, prevalent, predominant, very common, popular, extensive, wide-ranging, far-reaching, inescapable
1001: [20:14:08] <Pyromanik> "tracking stray dogs may soon be easier thanks to the ubiquitous microchip"
1002: [20:14:11] <SphereSilverNL> Test is running for about 15 minutes now :(
1003: [20:14:40] <Pyromanik> tl/dr, basically: present, appearing, or found everywhere.
1004: [20:14:52] <SphereSilverNL> True
1005: [20:14:59] * UncleCheese has joined #silverstripe
1006: [20:15:07] <simon_w> Ryan-Toast, stability, things make sense, you keep breaking willr's custom queries, a lot more powerful if you don't use SilverStripe
1007: [20:15:15] <Pyromanik> postgres supposed to have superior storage and all kinds of stuff
1008: [20:15:22] <SphereSilverNL> Whereas Postgres is actually better, MySQL has conquered the world.
1009: [20:15:27] <Ryan-Toast> simon_w: Would you say it's faster?
1010: [20:15:28] <Pyromanik> that results in things like less corruption and stuff
1011: [20:15:39] <SphereSilverNL> Locally, all my MySQL runs on MariaDB tbh
1012: [20:15:48] <simon_w> Ryan-Toast, at times
1013: [20:15:51] <SphereSilverNL> but that's quite completely compatible with MySQL
1014: [20:16:03] <Ryan-Toast> Just easier to work with?
1015: [20:16:04] <Pyromanik> SphereSilverNL, mariaDB IS mysql, only still open source (as opposed to owned by oracle)
1016: [20:16:13] <Pyromanik> owned and neglected* by oracle
1017: [20:16:13] <willr> Really SS doesn't make use of the cool Postgres stuff.. Stored Procedures! Constraints.
1018: [20:16:32] <simon_w> Ryan-Toast, nope. The permissions model is noticeably more complex
1019: [20:16:39] <Ryan-Toast> So many things to learn, sometimes I think I'll die before I become a senior dev.
1020: [20:16:40] <Pyromanik> the worst part I think is that postgres is so superior and actually older too.
1021: [20:16:45] <simon_w> willr, array column types!
1022: [20:16:47] <Pyromanik> just that mysql had more adoption.
1023: [20:16:52] <Pyromanik> when it got going
1024: [20:16:58] <simon_w> Pyromanik, also, postgres used to be shit
1025: [20:17:02] <Pyromanik> yeh
1026: [20:17:04] <simon_w> back when it was purely academic
1027: [20:17:05] <Pyromanik> but so did everyhting
1028: [20:17:26] <simon_w> 8.3's the first version that actually started competing with MySQL
1029: [20:17:28] <Pyromanik> mysql used to be plain text for the most part
1030: [20:17:41] <Pyromanik> I read some history somewhere once
1031: [20:17:53] <Pyromanik> was interesting, but I can't remember most of it now
1032: [20:18:26] <Pyromanik> simon_w, when was 8.3 released though?
1033: [20:18:32] <SphereSilverNL> Ok, this is just stupid. running "mymod.vcap.me/dev/tests/DataObjectTest?flush=all" takes over 30 minutes already :(
1034: [20:18:46] * antmas has joined #silverstripe
1035: [20:18:55] <antmas> mernin
1036: [20:18:59] <Ryan-Toast> Is there anyone marketing SS for the worldwide market atm?
1037: [20:19:02] <Pyromanik> mook'n
1038: [20:19:34] <Pyromanik> Ryan-Toast, freelancers.
1039: [20:19:44] <simon_w> Pyromanik, 2008
1040: [20:19:48] <Ryan-Toast> Pyromanik: And us :P
1041: [20:19:50] <Pyromanik> simon_w, ah.
1042: [20:20:00] <simon_w> So Postgres being good is fairly recent
1043: [20:20:14] <Pyromanik> Ryan-Toast, well, I dunno if I'm 'marketing' it... I guess it depends on your definition
1044: [20:20:23] <Pyromanik> simon_w, yeh. So I see.
1045: [20:20:34] <Pyromanik> I heard it was always 'good', as in stable and robust.
1046: [20:20:48] <Pyromanik> maybe not so much with speed and ease of use though. I dunno.
1047: [20:20:50] <simon_w> Yeah, but lacking features people actually used
1048: [20:21:00] <SphereSilverNL> Is there a way to merge issues on Github?
1049: [20:21:04] <Pyromanik> I knew of it back then as "the nazi database"
1050: [20:21:18] <Ryan-Toast> Pyromanik: I'm always reading smashing magazine, paul irish blogs etc wherte they have 'top cms of xxxx', and I really thing SS is better than a lot of them. I just didn't know if you guys had a marketing manager or someone.
1051: [20:21:24] <Pyromanik> simon_w, mm, I guess that's a different way of saying the same thing :P
1052: [20:21:54] <simon_w> SphereSilverNL, no
1053: [20:22:02] <antmas> Ryan-Toast: I think they do, but the focus seems to be primarily on domestic markets
1054: [20:22:05] <antmas> atm
1055: [20:22:10] <SphereSilverNL> Ok, closing the original question than :)
1056: [20:22:30] <Ryan-Toast> antmas: I think that's a mistake.
1057: [20:22:45] <antmas> Ryan-Toast: it's worked well so far
1058: [20:23:13] <antmas> not agreeing that it's the right move however
1059: [20:23:24] <simon_w> antmas, eh, it means they're focusing on supporting what the government wants rather than the community
1060: [20:23:24] <Ryan-Toast> I get a few people asking me what silverstripe is through miy site, so there's interest.
1061: [20:23:48] <Pyromanik> Ryan-Toast, yeah but that's because 98% of the internet is buttface retarded.
1062: [20:23:56] <antmas> simon_w: well yeah, they are a business after all
1063: [20:24:08] <antmas> Ryan-Toast: yeah I get a few people ask after it
1064: [20:24:35] <Ryan-Toast> Working in SS makes me sad when I have to go back and update WP sites.
1065: [20:24:37] <simon_w> antmas, it's fine to do that internally, but it's also showing up in the open source stuff
1066: [20:24:47] <Pyromanik> Ryan-Toast, you just simply say SilverStripe is better than 98% of the internet, and the last 2% is a matter of personal preference.
1067: [20:25:02] <antmas> simon_w: totally
1068: [20:25:05] <simon_w> Remember when 3.0 didn't have a tree in the edit thing because SS Ltd's clients are basically the only ones where the site's too big for it to be useful?
1069: [20:25:48] <Ryan-Toast> simon_w: The tree editor needs a serious look at, when you have 100+ pages it becomes a fucking nightmare to move things around.
1070: [20:26:13] <simon_w> Ryan-Toast, oh, the drag+drop stuff has always been borked
1071: [20:26:20] <SphereSilverNL> simon_w: Semantically/Codebase/Technically, should it be "testGetNextGetPrev()" or should they be two separate functions?
1072: [20:26:39] <simon_w> SphereSilverNL, are they different methods on the class?
1073: [20:26:44] <Ryan-Toast> simon_w: Wordderp may be horrible, but their menu drag and drop sis beautiful in regards to UX
1074: [20:26:58] <Ryan-Toast> simon_w: I'm thinking of making one, and attempting a pull request.
1075: [20:27:02] <SphereSilverNL> They are different functions, yes, but very closely related
1076: [20:27:16] <simon_w> SphereSilverNL, then test them separately
1077: [20:27:26] <SphereSilverNL> ok
1078: [20:28:21] <antmas> mmmm
1079: [20:28:27] <antmas> wireless headphones are the best
1080: [20:29:47] * xini has joined #silverstripe
1081: [20:29:47] <Pyromanik> nuh uh
1082: [20:30:03] <Pyromanik> well, depneds on your use I guess.
1083: [20:30:11] <Pyromanik> and where the battery is
1084: [20:30:59] <simon_w> Oh right, I'm supposed to be writing the comments interface and stuff
1085: [20:31:04] <Pyromanik> Ryan-Toast, there is a list view instead of a tree view, you know that right?
1086: [20:31:26] <Ryan-Toast> Pyromanik: Yeah, it's still shit though.
1087: [20:31:28] <Pyromanik> simon_w, comments interface?
1088: [20:31:37] <simon_w> Pyromanik, so you can see and write comments
1089: [20:31:38] <Pyromanik> Ryan-Toast, yeh I never use it. Always just made small sites or apps.
1090: [20:31:52] <Pyromanik> simon_w, isn't that what the comments module does?
1091: [20:31:59] <Pyromanik> simon_w, or you mean for pocket rent?
1092: [20:32:00] <simon_w> Pyromanik, not using SilverStripe
1093: [20:32:13] <Pyromanik> simon_w, ah, so yes.
1094: [20:33:01] <simon_w> We even have file uploads working!
1095: [20:33:15] <simon_w> And things that this NDA with Facebook says I can't tell you about!
1096: [20:33:41] <SphereSilverNL> FB NDA is a pain in the ass indeed :/
1097: [20:34:17] <antmas> ^^^ this
1098: [20:35:08] <simon_w> Yeah, since some of the stuff in it we learnt that's covered by it we learnt beforehand so we're not sure what we can talk about
1099: [20:36:06] <Pyromanik> I learnt to never facebook
1100: [20:36:07] <antmas> Pyromanik: mostly work use - it's a headset, but it's good for light gaming :/
1101: [20:36:26] <antmas> :)*
1102: [20:36:34] <Pyromanik> antmas, my rule of thumb is that if it doesn't have a cord, it's crap.
1103: [20:36:42] <simon_w> Eh, I just deal with the HHVM team
1104: [20:37:13] <simon_w> And the hack team
1105: [20:37:14] <Pyromanik> excepting wifi for datas. I like being able to walk around with my laptop (which ironically also doesn't have a cord, but it's not the best for games and stuff either)
1106: [20:37:18] <SphereSilverNL> Pyromanik: My theory: If it doesn't have a cord, I can get a new beer.
1107: [20:37:34] <Pyromanik> SphereSilverNL, hehehe :P
1108: [20:37:51] <antmas> yeah it makes fetching sandwiches and beer much better
1109: [20:38:14] <antmas> plus for some reason our discount is higher on wireless stuffs
1110: [20:38:36] <simon_w> Because they're crap? :p
1111: [20:38:52] <antmas> probably
1112: [20:39:34] <antmas> the markup is insane
1113: [20:42:01] <antmas> next time zippy__ is in Noel Leeming's, he could probably get it too :P
1114: [20:42:36] <simon_w> Last day of work for the week :)
1115: [20:43:00] <zippy__> antmas: get wot?
1116: [20:43:13] <simon_w> zippy__, p0rns
1117: [20:43:31] <zippy__> got that :)
1118: [20:44:35] <antmas> zippy__: anything besides Apple :)
1119: [20:45:06] <antmas> store discount
1120: [20:46:20] * micmania1 has joined #silverstripe
1121: [20:46:56] <zippy__> ah, I need some new running headphones...
1122: [20:47:36] <simon_w> Headphones aren't supposed to run!
1123: [20:49:19] <antmas> zippy__: at the richmond store, just ask for TDC discount. No need for ID :)
1124: [20:50:20] <simon_w> Hear that everyone?
1125: [20:51:02] <Pyromanik> Sure did, next time I'm in the middle of nowhere I could make use of it too!
1126: [20:51:03] <unsignedint> whats TDC discount?
1127: [20:51:11] <Pyromanik> Tasman District Council
1128: [20:51:15] <unsignedint> oh
1129: [20:51:21] <unsignedint> my dad works for them
1130: [20:51:31] <Pyromanik> your dad is antmas?
1131: [20:51:41] <unsignedint> nah my dad wouldnt understand IRC
1132: [20:51:43] <Pyromanik> Surprise antmas!
1133: [20:51:51] <antmas> lol :D
1134: [20:51:58] <unsignedint> what antmas do you work for the council?
1135: [20:52:06] <antmas> yeh
1136: [20:52:24] <unsignedint> haha do you know Mike Drummond?
1137: [20:52:28] <Pyromanik> hey, isn't st antmas' coming up?
1138: [20:52:42] <antmas> unsignedint: he's in the same room as me right now :P
1139: [20:52:51] <Pyromanik> lol
1140: [20:52:57] <simon_w> antmas, OMG! HE'S YOU!
1141: [20:52:59] <Pyromanik> tell him his son is misbehaving
1142: [20:53:12] <unsignedint> tell him he's a stingy accountant
1143: [20:53:14] <Pyromanik> misappropriating workplace resources
1144: [20:53:18] <antmas> hahahahahahah
1145: [20:53:27] <Ryan-Toast> Silent classes in sass is a pretty good idea: http://csswizardry.com/2014/01/extending-silent-classes-in-sass/
1146: [20:54:04] <antmas> I have no idea how NL in Richmond make any money, just about every business gets this discount
1147: [20:54:32] <simon_w> Probably why they let The Warehouse buy them
1148: [20:54:43] <antmas> haha yeh
1149: [20:54:48] <SphereSilverNL> Goodnight folks. I'm off to bed.
1150: [20:54:53] <Pyromanik> g'nite
1151: [20:54:59] * SphereSilverNL quit (Remote host closed the connection)
1152: [20:55:02] <Pyromanik> Ryan-Toast, a better idea is writing shit loud.
1153: [20:55:08] <Pyromanik> AS LOUD AS IT CAN BE
1154: [20:55:15] <Ryan-Toast> EXTEND THE CLASS, MAN!
1155: [20:55:39] <Pyromanik> THERE IS NO INHERITANCE IN CSS, THAT'S THAT THE C AT THE FRONT IS FOR.
1156: [20:56:03] <Pyromanik> what*
1157: [20:56:25] <Ryan-Toast> THAT'S WHY I LOVE SASS
1158: [20:56:31] <Pyromanik> NOPE.JPG
1159: [20:56:51] <Ryan-Toast> You don't like sass?
1160: [20:57:16] <Pyromanik> http://iforce.co.nz/i/1c2bbkwt.xvi.png
1161: [20:57:25] <Ryan-Toast> http://i.imgur.com/PaGwFJk.jpg
1162: [20:58:27] <simon_w> Well, fuck?
1163: [20:58:29] <Pyromanik> Everyone all "OMG SASS AMAZING" and I'm all "PHP HAS DONE THAT FOR YEARS"
1164: [20:58:41] <Pyromanik> and 2) THE FUCK META LANGUAGES CAN DIE IN A HOLE.
1165: [20:58:51] <Ryan-Toast> Pyromanik: Except sass is a PREcomposer
1166: [20:59:00] <Pyromanik> pre processor.
1167: [20:59:09] <Ryan-Toast> that too :P
1168: [20:59:16] <Pyromanik> so is php if you tell it to write to a file.
1169: [20:59:38] <antmas> thath
1170: [20:59:40] <Pyromanik> PHP: Hypertxt PREPROCESSOR
1171: [20:59:50] <Pyromanik> Just so y'know
1172: [21:00:00] <Ryan-Toast> I like being able to use methods, and variables from frameworks i.e bootstrap, or inuit
1173: [21:00:17] <Pyromanik> Yeh, I get that some people like to use it.
1174: [21:00:35] <Pyromanik> But fucked if I'm installing ruby just to generate something I'm far more adept at writing by hand.
1175: [21:00:58] <Ryan-Toast> I used to use phpcss files, but I find sass a lot less hassle.
1176: [21:01:14] <Pyromanik> phpcss?
1177: [21:01:27] <Ryan-Toast> css files geenrated by php
1178: [21:01:32] <Pyromanik> is that a tool or you mean you ran css files through PHP to populate variable
1179: [21:01:32] <Pyromanik> w
1180: [21:01:35] <Pyromanik> s*
1181: [21:01:54] <Ryan-Toast> either that or a php file with a css header.
1182: [21:01:59] <guzzlefry> meta langauge?
1183: [21:02:01] <guzzlefry> language*
1184: [21:02:40] <Pyromanik> yes.
1185: [21:02:42] <Ryan-Toast> meta language?
1186: [21:02:43] <Pyromanik> aka, bullshit.
1187: [21:02:45] <guzzlefry> What that is.
1188: [21:03:11] <Pyromanik> guzzlefry, pretty much inception, for convolution and extra dependencies sake
1189: [21:03:29] <Pyromanik> to give recruiters extra buzzwords to throw at candidates wihtout really knowing what they are
1190: [21:03:36] <guzzlefry> so like
1191: [21:03:38] <guzzlefry> coffeescript?
1192: [21:03:44] <Pyromanik> yes.
1193: [21:04:25] <Ryan-Toast> I just like navigating to my project, running grunt then everything's handled.
1194: [21:04:33] * guzzlefry wonders if C counts since it normally compiles down to ASM.
1195: [21:04:55] <Pyromanik> last I heard it makes machine code.
1196: [21:05:02] <Pyromanik> so does asm.
1197: [21:05:43] <guzzlefry> right, but coffeescript makes javascript which makes machine code...eventually. >_>
1198: [21:06:41] <Ryan-Toast> Can you make SS use different css files if it's in dev mode?
1199: [21:06:48] <Pyromanik> guzzlefry, everything is machine code.
1200: [21:07:06] * guzzlefry gets paranoid and looks around.
1201: [21:07:24] <Pyromanik> Ryan-Toast, umm, yes.
1202: [21:07:32] <Pyromanik> <% if isDev %> perhaps
1203: [21:07:38] <Ryan-Toast> chur
1204: [21:07:46] <Pyromanik> not 100%
1205: [21:08:07] <Pyromanik> but if not you could easily make either template globals or controller getters for them.
1206: [21:08:26] <ss23> 10:05:43 < guzzlefry> right, but coffeescript makes javascript which makes machine code...eventually. >_>
1207: [21:08:30] <ss23> naw
1208: [21:08:33] <ss23> Normally JS is interpreted, virtualmachine
1209: [21:08:40] <ss23> So like PHP, doesn't go down to machine code
1210: [21:08:46] <ss23> Bytecode/opcodes, yes, machine code, no
1211: [21:08:52] <guzzlefry> well, it does in a sense.
1212: [21:08:54] <Pyromanik> JIT compiler uses LLVM to dynamically recompile instructions to machine code.
1213: [21:08:56] <Pyromanik> HA
1214: [21:09:09] <Ryan-Toast> ss23: *blank stare*
1215: [21:09:21] <ss23> Ryan-Toast: Like java
1216: [21:09:23] <ss23> runs in the JVM
1217: [21:09:30] <ss23> p.s. I don't know anything about coffeescript
1218: [21:09:32] <guzzlefry> bytecode is turned into machine codes
1219: [21:09:42] <ss23> Well...
1220: [21:09:42] <Pyromanik> java makes byte code, JVM dynarec's it into machine code.
1221: [21:09:48] <Ryan-Toast> ss23: I really need to go to uni, or something.
1222: [21:09:54] <Pyromanik> just so y'know
1223: [21:10:01] <ss23> That seems like a streched definition
1224: [21:10:11] <guzzlefry> unless you have a magical Sparc CPU, then you can run java's bytecode directly.
1225: [21:10:12] <Pyromanik> PHP, python etc don't, because they don't use JIT.
1226: [21:10:15] <Pyromanik> they're interpreted.
1227: [21:10:16] <ss23> If you're just saying "everyhting ends up running at some point", etc...
1228: [21:10:35] <ss23> Pyromanik: But they're interprted and then the VM runs machine code, right?
1229: [21:10:47] <Pyromanik> ss23, depends.
1230: [21:10:53] <Pyromanik> JIT has dynarec
1231: [21:10:55] <ss23> Well if it's not running anything on the CPU, it's not doing much!
1232: [21:11:00] <Pyromanik> hence term JIT
1233: [21:11:04] <Pyromanik> just in time COMPILATION
1234: [21:11:15] <Pyromanik> where as interpreted language is pure software.
1235: [21:11:26] <Pyromanik> JIT takes byte code and generates asm
1236: [21:11:38] <Pyromanik> and caches, calls asm cached bits as needed.
1237: [21:12:05] <Pyromanik> interpreted reads instruction every time, passes through software emulation.
1238: [21:12:17] <guzzlefry> ah
1239: [21:12:41] <Pyromanik> ss23, but yeh, everything runs.
1240: [21:12:46] <Pyromanik> eventually
1241: [21:13:01] <Pyromanik> interpreted slow. JIT has initial overhead but fst.
1242: [21:13:40] <Pyromanik> hence chome doing what they did with V8
1243: [21:13:52] <Pyromanik> and other companies following suit.
1244: [21:18:30] * mojo5000 has joined #silverstripe
1245: [21:18:31] <mojo5000> howdy yall
1246: [21:18:35] <Pyromanik> hi
1247: [21:18:42] <mojo5000> hey pyro
1248: [21:18:45] <Pyromanik> hi
1249: [21:18:46] <mojo5000> Q of the day:
1250: [21:19:06] <mojo5000> Silverstripe justification and articulating downsides
1251: [21:19:20] <mojo5000> i love the framework
1252: [21:19:31] <mojo5000> ...but have never implemented for scale
1253: [21:19:43] <mojo5000> know of any links that either speak to this
1254: [21:19:56] * UndefinedOffset quit (Quit: Leaving.)
1255: [21:20:16] <mojo5000> or have experience scaling SS from both a performance perspective as well as content perspective? (i.e. - breadth and depth)
1256: [21:20:51] <Pyromanik> scales well, but site tree in CMS can get... mighty complicated if you don't take precautions as the dev.
1257: [21:21:07] <Pyromanik> scales well in terms of bandwidth because caching and stuff.
1258: [21:21:24] <Pyromanik> APC or some opcode cache will benefit you though if you're looking for more oomph
1259: [21:21:45] <Pyromanik> mojo5000, where you from?
1260: [21:22:03] <mojo5000> los angeles
1261: [21:22:16] <mojo5000> so opcache i get
1262: [21:22:26] <Pyromanik> and you're asking to present this to manager or something?
1263: [21:22:33] <mojo5000> but that will not cache the entire page and not hit the db like something like varnish
1264: [21:22:38] <mojo5000> potential client
1265: [21:22:46] <Pyromanik> well you can use varnish too, but SS does it's own caching.
1266: [21:22:49] <mojo5000> with some technies in the room
1267: [21:22:51] <Pyromanik> is what I'm saying.
1268: [21:22:56] <mojo5000> its not the same though, yes?
1269: [21:23:02] <Pyromanik> no, not the same.
1270: [21:23:15] <mojo5000> there are a shitton of queries that SS does
1271: [21:23:35] <Pyromanik> you can also make use of partial caching if you choose.
1272: [21:23:44] <Pyromanik> which is functionality built into ss
1273: [21:24:16] <mojo5000> but that is something that you need to do with every page, yes?
1274: [21:24:30] <Pyromanik> well you should use templates, but yeh, it's a template thing
1275: [21:24:37] <mojo5000> i.e. - its not an inherent part of using the cms and you have to do some acrobatics
1276: [21:24:58] <Pyromanik> it's a dev determined thing, done through templates from what I understand, to clarify.
1277: [21:26:05] <Pyromanik> http://doc.silverstripe.org/framework/en/reference/partial-caching
1278: [21:26:30] <Pyromanik> it's not a user thing.
1279: [21:27:22] <Pyromanik> mojo5000, another point to make is that if you host SS on a shared host, you're doing it wrong.
1280: [21:27:44] <mojo5000> nope
1281: [21:27:47] <Pyromanik> not to say you can't have multiple installs on a system, just that that entire system should be yours.
1282: [21:28:09] <Pyromanik> the higher the traffic, the less shites should share the system, as usually goes.
1283: [21:28:14] <mojo5000> yes
1284: [21:28:23] <mojo5000> i've just never deployed it under scale
1285: [21:28:36] <Pyromanik> and yes SS can make a few queries, but that's also kinda the point of a database servder.
1286: [21:28:37] <willr> SilverStripe is a framework after all so with frameworks you do get a trade off in performance vs ease so there is an overhead to using it. Saying that, using partial caching / static caching does give you options for best performance.
1287: [21:28:39] <Pyromanik> server*
1288: [21:29:15] <Pyromanik> mojo5000, many large NZ sites use SS.
1289: [21:29:23] <mojo5000> Pyromanik - but once 'published' - i.e. - a piece of static content is published out
1290: [21:29:32] <mojo5000> ideally it shouldn't have to hit the database
1291: [21:29:46] <Pyromanik> mojo5000, if you use static caching, yes. Until it's saved again.
1292: [21:29:53] <Pyromanik> (at which point it's updated)
1293: [21:29:56] <Pyromanik> afaik
1294: [21:29:59] <mojo5000> yes
1295: [21:30:07] <mojo5000> so when you say static caching
1296: [21:30:21] <mojo5000> do you mean SS inherent or w/ something like varnish?
1297: [21:30:23] <Pyromanik> partial caching and static caching are different things I think
1298: [21:30:31] <spronk> SS inherent
1299: [21:30:34] <Pyromanik> I mean in ^
1300: [21:30:43] <Pyromanik> inherent.
1301: [21:31:07] <Pyromanik> spronk you cunt, I seen the photos :< I WANNA TRY THE BURGERFUEL
1302: [21:31:16] <Pyromanik> lol
1303: [21:31:43] <ss23> lol
1304: [21:31:47] <ss23> But you had Wellington burgerfuel!
1305: [21:31:48] <ss23> :D
1306: [21:31:49] <Pyromanik> actually not that missing the burgers tbh. Dunno why.
1307: [21:31:56] <Pyromanik> ss23, I had many of those!
1308: [21:32:07] <simon_w> Pyromanik, because you can have tea instead
1309: [21:32:27] <Pyromanik> simon_w, yeh, that's true. Got some nice Russian Caravan tea atm.
1310: [21:32:44] <willr> mojo5000 you can also try https://github.com/tractorcow/silverstripe-dynamiccache
1311: [21:32:58] <spronk> kekekekekek
1312: [21:33:04] <spronk> i've had it thrice already
1313: [21:33:04] <ss23> mojo5000: Partial caching will hit the database, is reasonably expensive still (it's more for minimizing the expensive of added functionality. You still have to spin up all of SS etc), static caching will public a static version of the site, like generate .html files, and you just serve those
1314: [21:33:18] <Pyromanik> mojo5000, there are lots of methods you can use to speed up silverstripe, but generally it's not too bad. Depends on the scale you're talking about.
1315: [21:33:30] <spronk> i still have to try.... biofuel, bastard, ringburner, the vege ones, and one of the chicken ones
1316: [21:33:46] <simon_w> spronk, disappoint. Why haven't you had them all yet?
1317: [21:33:50] <Pyromanik> spronk, biofuel best :D
1318: [21:33:52] <ss23> Woah
1319: [21:33:59] <Pyromanik> and what do you mean you didn't have a bastard in you yet?
1320: [21:34:00] <ss23> You haven't had the ringburner or the bastard, spronk?
1321: [21:34:00] <spronk> i know
1322: [21:34:00] <Pyromanik> :P
1323: [21:34:04] <spronk> nope
1324: [21:34:09] <ss23> tbh I've had hardly any
1325: [21:34:15] <mojo5000> ss23 - so static caching
1326: [21:34:18] <spronk> part of it is that i've had some of the other ones multiple times instead of actually trying the others
1327: [21:34:19] <simon_w> I just haven't had the minis
1328: [21:34:23] <spronk> but i forget this because they have mad names
1329: [21:34:27] <mojo5000> how is that enabled in SS
1330: [21:34:29] <ss23> XD
1331: [21:34:30] * spronk likes the bambina
1332: [21:34:53] <spronk> and basic chick though we dont seem to have that in chch only the chook royale
1333: [21:34:54] <ss23> mojo5000: Normally by playing around with things like https://github.com/silverstripe-labs/silverstripe-staticpublishqueue
1334: [21:34:57] <mojo5000> or that is what you were pointing to w/ dynamic cache?
1335: [21:35:44] <ss23> mojo5000: I've not used dynamic cache, so can't speak on it :O
1336: [21:35:50] <ss23> mojo5000: You can click it and find out though probably :D
1337: [21:36:26] <Pyromanik> mojo5000, it was willr that mentioned the dynamiccache module
1338: [21:38:04] <Pyromanik> he may have used it
1339: [21:38:25] <mojo5000> willr - you used dynamiccache?
1340: [21:38:39] <mojo5000> ss23 - looking at staticpublishqueue
1341: [21:38:55] <mojo5000> 2. next subject re: performance - CDNs
1342: [21:39:16] <ss23> mojo5000: could look at https://github.com/silverstripe-labs/silverstripe-staticpublisher too
1343: [21:39:22] <ss23> I'm not sure waht the "proper" method of generating a static site is atm
1344: [21:39:34] <mojo5000> know of stable add-ons that will publish out to S3 instead of local?
1345: [21:39:34] <ss23> mojo5000: also, if you want non built into SS, you can probably just throw varnish etc in front of it and let it do it for you :P
1346: [21:39:48] <mojo5000> that is generally what i am thinking
1347: [21:39:50] <ss23> mojo5000: Not off hand, but I remember someone was doing something like that at some point, google might bring things up
1348: [21:40:10] <mojo5000> http://addons.silverstripe.org/add-ons/silverstripe/cdncontent
1349: [21:40:28] <Pyromanik> mojo5000, no, assets don't publish out so far as I know. All previous efforts to do such have resulted in... misery.
1350: [21:40:41] <Pyromanik> ask FrozenFire about that :P
1351: [21:41:01] <Pyromanik> but then I've never seen the cdncontent module before, and these experiences are about a year old, so could have changed.
1352: [21:41:42] <Pyromanik> cdn content module is from SilverStripe AU, so should be pretty solid.
1353: [21:41:57] <Pyromanik> if in doubt you could always contract them to make it better :P
1354: [21:42:15] <mojo5000> hey if that's what it takes can do
1355: [21:42:32] <mojo5000> know who i should talk to?
1356: [21:42:35] <Pyromanik> mojo5000, best way to find out is to spend a bit of time and test these module you're finding.
1357: [21:42:42] <Pyromanik> mojo5000, well yeah, the module author.
1358: [21:42:49] <mojo5000> yes, have limited time
1359: [21:42:53] <Pyromanik> says right there. Marcus Neyholt
1360: [21:43:00] <mojo5000> did some poking around
1361: [21:43:03] <Pyromanik> iirc he's the director
1362: [21:43:17] <mojo5000> but as you know these eat up cycles
1363: [21:43:27] <ss23> Fun things to do at work - make sounds effect for things you do IRL, e.g. make a "boop" noise when you sit down, or tap someone on your hsoulder
1364: [21:43:35] <mojo5000> and sometimes a quick hint can point you in the right direction. :)
1365: [21:43:48] * UncleCheese quit (Quit: UncleCheese)
1366: [21:43:58] <Pyromanik> true
1367: [21:44:58] <Pyromanik> SS is solid, but young comparitively. So not often people are able to help with all issues. None of us in here actually work for SS the company.
1368: [21:45:05] <ss23> ...
1369: [21:45:07] * ss23 looks at Pyromanik
1370: [21:45:10] * UncleCheese has joined #silverstripe
1371: [21:45:19] <Pyromanik> But if you don't ask you don't find out!
1372: [21:45:25] <simon_w> ss23, shuddup and write some docs already
1373: [21:45:26] <Pyromanik> ss23, shh.
1374: [21:45:36] <ss23> simon_w: NO
1375: [21:45:37] <Pyromanik> generalisation. whatever.
1376: [21:45:38] <ss23> NEVER WRITE DOCS
1377: [21:45:39] <unsignedint> yeah ss23 the docs need to be fixed
1378: [21:45:49] <Pyromanik> yeah ss23, you broke the demo site.
1379: [21:45:54] <ss23> oh shit yeah
1380: [21:45:58] <ss23> meh
1381: [21:46:02] <Pyromanik> RUDE
1382: [21:46:02] <ss23> I think we can wait till ingo gets back
1383: [21:46:03] <unsignedint> gosh ss23 I dont even know how you are employed
1384: [21:46:07] <ss23> :O
1385: [21:46:08] <unsignedint> you break demo sites and dont write docs
1386: [21:46:09] <ss23> WHAT DO YOU MEAN
1387: [21:46:10] <ss23> ;_;
1388: [21:46:16] <Pyromanik> ss23, ingo already moved to NZ?
1389: [21:46:21] <ss23> Technically my job description doesn't say "don't break the demo site"...
1390: [21:46:28] <unsignedint> haha touche
1391: [21:46:29] <ss23> Pyromanik: Believe so, he's meant to be starting tomorrow
1392: [21:46:30] <ss23> :D
1393: [21:46:34] <Pyromanik> unsignedint, yeah hehe, like what does he even do?
1394: [21:46:45] <Pyromanik> ss23, ah I see :D
1395: [21:46:55] <ss23> Should I buy him a present?
1396: [21:46:57] <unsignedint> I think he just helps the IRC channel seem more active or something
1397: [21:46:59] <Pyromanik> Yes.
1398: [21:47:09] <unsignedint> "Silverstripe Evangelist" or something
1399: [21:47:12] <Pyromanik> Get him a frame and put that photo of you in a dress in it.
1400: [21:47:41] <Pyromanik> ss23, I have to get a haircut tomorrow D:
1401: [21:47:42] <Pyromanik> what do?
1402: [21:47:56] <unsignedint> get cancer, problem solved
1403: [21:47:59] <mojo5000> 3. lastly on perf - site breadth and depth
1404: [21:48:02] <Pyromanik> nope.
1405: [21:48:05] <ss23> Pyromanik: DON'T GET HAIRCUT
1406: [21:48:05] <ss23> :D
1407: [21:48:15] <ss23> mojo5000: Elaborate?
1408: [21:48:16] <mojo5000> page tree can get gnarly quick
1409: [21:48:17] <Pyromanik> ss23, but job interviews :<
1410: [21:48:20] <mojo5000> site tree
1411: [21:48:28] <Pyromanik> mojo5000, there is a list view button top right
1412: [21:48:32] <Pyromanik> but it's also pretty limited.
1413: [21:48:33] <ss23> mojo5000: In terms of UI, yeah, but the code normally handles it not badly
1414: [21:48:39] <mojo5000> is that the main way to workaround? :)
1415: [21:48:39] <ss23> mojo5000: (Indexes in the right places on the DB etc)
1416: [21:49:01] <mojo5000> does SS auto put in the proper indices? ;)
1417: [21:49:03] <unsignedint> SS handles indexes automatically right?
1418: [21:49:05] <Pyromanik> mojo5000, depending on the site, there are various things you can do to mitigate the issues.
1419: [21:49:07] <Pyromanik> for users.
1420: [21:49:07] <ss23> Yeah, unsignedint
1421: [21:49:10] * unsignedint doesnt actually know
1422: [21:49:21] <unsignedint> our sites are tiny and get no traffic anyway so it doesnt matter
1423: [21:49:23] <ss23> unsignedint: It automatically indexes IDs and thigns it'll use for joins, and you can add things if you want
1424: [21:49:24] <Pyromanik> like, rolling a blog that doesn't use pages as articles, etc.
1425: [21:49:31] <ss23> mojo5000: ^^
1426: [21:49:40] <Pyromanik> and things like that.
1427: [21:49:52] <ss23> If you have custom logic that needs an index on another field, you can just set it easily too
1428: [21:49:58] <Pyromanik> use DataObjects instead of pages where it's a tight category.
1429: [21:50:11] <mojo5000> yeah, i've already run into that
1430: [21:50:23] <mojo5000> but some items are inherently good as pages
1431: [21:50:31] <Pyromanik> but also just plan the site well and you can have a well laid out menu that doesn't mess so badly
1432: [21:50:37] <mojo5000> and it is nice to take advantage of some of the nice features of pages
1433: [21:50:41] <zippy__> Sorry, there was a problem with handling your request.
1434: [21:50:42] <zippy__> Visit www.silverstripe.com to download the CMS
1435: [21:50:45] <zippy__> awesome error message!
1436: [21:50:51] <ss23> lol, where did you get that, zippy__?
1437: [21:50:58] <Pyromanik> mojo5000, agree. But yeh. That's one of the limitations, not much to be done there sorry.
1438: [21:51:02] <mojo5000> so for example, if i have 100s of pages
1439: [21:51:09] <zippy__> just checked out a site from svn, pulled in the database and tried to load it up
1440: [21:51:14] <mojo5000> and they are of different categories
1441: [21:51:14] <ss23> zippy__: From SVN?
1442: [21:51:23] <zippy__> yea like, before git times
1443: [21:51:26] <ss23> lol
1444: [21:51:27] <zippy__> an existing site ;-)
1445: [21:51:29] <Pyromanik> o.0
1446: [21:51:29] <mojo5000> it's almost as if it is better to do them as dataobjs
1447: [21:51:30] <ss23> oic oic
1448: [21:51:31] <Pyromanik> oh
1449: [21:51:36] <ss23> There are some weird error pages hidden around, zippy__ :O
1450: [21:51:38] <mojo5000> but then there are acrobatics with the url
1451: [21:51:45] <ss23> Personally I hate error handling in SS
1452: [21:51:50] <ss23> And it's even worse with 3.1
1453: [21:52:08] <unsignedint> I just bypass it entirely and use die()
1454: [21:52:11] <unsignedint> fuck the user
1455: [21:52:23] <Pyromanik> mojo5000, you can hide page types from the menu... through things like disabling creation through the 'add a page' button, and using manual control from a parent holder type page to create them.
1456: [21:52:28] <ss23> XD
1457: [21:52:29] <Pyromanik> stuff like that
1458: [21:52:36] <Pyromanik> but it can be a bit convoluted.
1459: [21:53:06] <Pyromanik> ss23, just kill the error handling and use a response negotiator like I did :P
1460: [21:59:34] <Pyromanik> ss23, err sorry, not negotiator, RequestProcessor::postRequest()
1461: [22:00:08] <ss23> 2hard4me
1462: [22:00:15] <Pyromanik> dealwithit
1463: [22:00:35] <Pyromanik> works a treat :P
1464: [22:00:48] <ss23> My eyes feel all weird today
1465: [22:00:52] <ss23> Not migraine weird, thankfully
1466: [22:02:08] <guzzlefry> aw
1467: [22:02:17] <guzzlefry> duckduckgo.com's logo is cute
1468: [22:02:21] <Pyromanik> if($response->getStatusCode() > 399) $response->setBody('You fucked up.') else $response->setBody('We fucked up D:')
1469: [22:02:33] <ss23> guzzlefry: XD
1470: [22:02:39] <Pyromanik> ss23, ^ ezi
1471: [22:03:04] <ss23> lol
1472: [22:03:06] <Pyromanik> bow tie ducky
1473: [22:03:13] <ss23> Pyromanik: That doesn't get anywhere the part of error reporting I hate :P
1474: [22:03:37] <Pyromanik> ss23, what is it you hate?
1475: [22:03:55] <Pyromanik> oh shit 10pm bedtime
1476: [22:04:32] <ss23> ALL. OF. IT
1477: [22:04:33] <ss23> :O
1478: [22:04:49] <ss23> nn Pyromanik
1479: [22:07:10] <antmas> SQL time :/
1480: [22:07:11] <antmas> yay
1481: [22:07:16] <ss23> I LOVE SQL
1482: [22:07:17] <ss23> :D
1483: [22:07:33] <antmas> :(
1484: [22:07:38] <antmas> this one is complicated
1485: [22:07:50] <ss23> channel the google
1486: [22:07:54] <guzzlefry> SQL is your friend
1487: [22:08:02] <ss23> antmas: p.s. your site still does it's silly thing
1488: [22:08:13] <antmas> ss23: hmmm?
1489: [22:08:15] <ss23> http://www.tasman.govt.nz/home/SearchForm?Search=recycling&action_results=Search
1490: [22:08:19] <ss23> Did you mean recyclingther?
1491: [22:08:23] <ss23> WHY YES, YES I DID
1492: [22:08:25] <ss23> :P
1493: [22:08:33] <antmas> oh snap
1494: [22:08:44] <antmas> y u no fix?
1495: [22:08:49] <ss23> y u no ask and pay
1496: [22:08:49] <ss23> :D
1497: [22:08:53] <ss23> pls gief $10k
1498: [22:08:54] <ss23> i fix
1499: [22:10:23] <antmas> huh, weird
1500: [22:11:41] <antmas> did we submit a ticket for that?
1501: [22:12:09] <ss23> Kind of
1502: [22:12:17] <ss23> There were a few tcikets iwth a *lot* of issues on them
1503: [22:12:33] <ss23> Looks like a few got mixed up, and some got closed with a "We'll reopen individual tickets for the issues" then stopped
1504: [22:12:36] <ss23> or something
1505: [22:12:37] <ss23> I haven't looked into it much
1506: [22:15:27] * antmas_ has joined #silverstripe
1507: [22:15:40] <antmas_> huh, we did
1508: [22:15:47] <antmas_> can't have pushed it up yet
1509: [22:16:51] * antmas quit (Ping timeout: 272 seconds)
1510: [22:17:03] <ss23> HE LEFT
1511: [22:17:05] <ss23> wait
1512: [22:17:07] <ss23> ignore
1513: [22:17:09] <ss23> :D
1514: [22:17:28] <guzzlefry> :(
1515: [22:17:46] <antmas_> yeah, stoopid web portal
1516: [22:17:53] * spronk has left #silverstripe
1517: [22:17:55] <guzzlefry> I need best practices for when to throw exceptions. >_>
1518: [22:18:10] <ss23> throw them all 100% of time
1519: [22:18:30] * spronk has joined #silverstripe
1520: [22:18:43] <antmas_> guzzlefry: Button.OnClick
1521: [22:18:50] <ss23> So, last night I found out that our internet is being switched to VDSL today
1522: [22:18:54] <ss23> (home internet)
1523: [22:18:56] <ss23> And we don't have our VDSL router yet.
1524: [22:18:59] <ss23> what do.
1525: [22:21:22] <Pyromanik> complain!
1526: [22:21:28] <Pyromanik> go snap?
1527: [22:21:44] <guzzlefry> panic!
1528: [22:22:00] <simon_w> ss23, get cable
1529: [22:22:18] <zippy__> ss23: stop!
1530: [22:22:26] <zippy__> it's hammer time
1531: [22:22:54] <antmas_> ss23: :< now I have to go into Solr again
1532: [22:24:47] <ss23> simon_w: VDSL is free internet for... some amount of time, I forget
1533: [22:24:50] <ss23> Pyromanik: Complain to who?! :O
1534: [22:25:05] <ss23> We got the router from ascent, but didnt' ship till Monday, and didn't get there on Monday...
1535: [22:25:12] <simon_w> Xero lets you have apostrophes in your bank account number
1536: [22:25:16] <ss23> So presume it'll come today, while no one is home, so we'll have to wait till tomorrow to get it :(
1537: [22:25:29] <ss23> antmas_: :3
1538: [22:25:32] <ss23> antmas_: Fell my pain! :D
1539: [22:26:57] <simon_w> Also, a router's not going to help you :p
1540: [22:27:10] <ss23> modem
1541: [22:27:13] <ss23> YOU KNOW WHAT I MEANT
1542: [22:27:28] <ss23> :O
1543: [22:27:33] <simon_w> My modem came from Cisco!
1544: [22:27:35] <ss23> simon_w: r we going to lunch 2day?
1545: [22:27:45] <simon_w> No
1546: [22:27:47] <ss23> :(
1547: [22:27:50] <ss23> pls
1548: [22:28:04] <ss23> You're making me decide what to have for lunch *every* day
1549: [22:28:06] <ss23> it's killing me :(
1550: [22:28:16] <simon_w> Aww, poor you
1551: [22:28:21] <ss23> I know!
1552: [22:28:22] * ss23 sobs
1553: [22:28:57] <Pyromanik> sandwiches.
1554: [22:29:12] <ss23> $bannerData = DataObject::get_one("BannerImages",'',true,"RAND()");
1555: [22:29:18] <ss23> Hope they're not planning on having a lot of these images :O
1556: [22:41:23] * mojo5000 quit (Remote host closed the connection)
1557: [22:41:27] <antmas_> who can help me with some sql?
1558: [22:41:57] <ss23> Us!
1559: [22:41:59] <ss23> Maybe
1560: [22:42:00] <ss23> what is problme?
1561: [22:42:03] <antmas_> :D
1562: [22:43:19] <antmas_> I want to be able to specify a month but only show records that are older than 14 days within that month
1563: [22:43:20] * FrozenFire quit (Read error: Connection reset by peer)
1564: [22:43:38] <antmas_> I'm ok with getting records 14 days older than TODAY
1565: [22:44:03] <guzzlefry> hrm
1566: [22:44:04] <guzzlefry> mysql?
1567: [22:44:22] <antmas_> MSSQL, but just need the basic gist
1568: [22:45:25] * FrozenFire has joined #silverstripe
1569: [22:46:28] <simon_w> antmas_, CURDATE() INTERVAL -14 DAY
1570: [22:46:32] <guzzlefry> hrm
1571: [22:46:36] <simon_w> or something like that, is the MySQL syntax
1572: [22:46:48] <antmas_> hmmm
1573: [22:46:56] <simon_w> Doing it from PHP, date('Y-m-d', strtotime('14 days ago'))
1574: [22:47:09] <antmas_> close
1575: [22:47:16] <guzzlefry> He has to specify month though.
1576: [22:47:27] <antmas_> Enquiry_Time =< dateadd(week,-2,getdate()); is the MSSQL
1577: [22:47:39] <simon_w> MONTH("Field") = 3 AND YEAR("Field") = 2013
1578: [22:47:55] <antmas_> so I'd need something like Enquiry_Time = (specified month here ) AND < dateadd(week,-2,getdate());
1579: [22:48:09] * guzzlefry 's brain explodes.
1580: [22:48:13] <antmas_> lol
1581: [22:49:16] <Ryan-Toast> I keep forgetting css animations don't work on items that have display:block ><
1582: [22:49:36] <Ryan-Toast> display:none**
1583: [22:49:40] <guzzlefry> :P
1584: [22:49:52] <Ryan-Toast> Spent tewn minutes getting angry at the screen.
1585: [22:50:11] <guzzlefry> CSS does that to me too.
1586: [22:51:07] <guzzlefry> ohohoh
1587: [22:53:18] <guzzlefry> SELECT * FROM yadda WHERE Created NOT BETWEEN '2012-02-01' AND '2012-02-14';
1588: [22:53:21] <guzzlefry> maybe..?
1589: [22:53:59] <simon_w> antmas_, there should be some function that can pull the year/month out of a date
1590: [22:55:20] * mojo5000 has joined #silverstripe
1591: [22:56:37] <antmas_> got it
1592: [22:56:44] <antmas_> need a scalar value
1593: [22:56:50] <antmas_> Enquiry_Time < dateadd(week,-2,@Enquiry_Time);
1594: [22:57:08] <antmas_> needed*
1595: [22:57:09] <simon_w> That looks like it's a contradiction?
1596: [22:57:38] <antmas_> nope
1597: [22:57:44] <antmas_> it does LOOK that way though :/
1598: [22:57:54] <simon_w> @Enquiry_Time isn't Enquiry_Time?
1599: [22:59:04] <antmas_> it is, but that statement takes a selected date (@Enquiry_Time) and then shows all Enquiry_Time's plus 14 days
1600: [23:01:56] * Kolin has joined #silverstripe
1601: [23:03:08] <simon_w> ss23, Why isn't camfindlay in here?
1602: [23:03:11] * gelignite quit (Quit: http://bit.ly/nkczDT)
1603: [23:03:27] <ss23> idk, do you want me to tell him to come on?
1604: [23:03:42] <ss23> looks like he just logged into something, I can't see what it is
1605: [23:03:51] <ss23> wow
1606: [23:03:57] <ss23> a coworker just was like "WHAT?!"
1607: [23:04:05] <guzzlefry> 0.o
1608: [23:04:07] <ss23> cause cams screen is behind her and she thought I was staring at her
1609: [23:04:18] <guzzlefry> haha
1610: [23:04:42] <guzzlefry> Do you get in trouble a lot there? :P
1611: [23:04:48] <ss23> I didn't get into trouble! :O
1612: [23:04:49] <simon_w> Well, I have a link that he might be intrested in
1613: [23:05:10] <simon_w> How to pay people for solving issues!
1614: [23:05:12] <ss23> The only thing I really get "in trouble" for is being late
1615: [23:05:15] <ss23> k he's coming on now!
1616: [23:06:28] * camfindlay has joined #silverstripe
1617: [23:06:32] <ss23> he said "oh god I hate that simon_w kid I wish he would just leave me alone..."
1618: [23:06:35] <ss23> ohshi-
1619: [23:06:40] <simon_w> camfindlay, https://www.bountysource.com
1620: [23:06:54] <camfindlay> ss23 is talking sh&t :P
1621: [23:07:08] <simon_w> Grabs issues from GitHub, allows people to stick bounties on them that the person that solves them get
1622: [23:07:22] <ss23> :P
1623: [23:08:11] <camfindlay> nice, there would be an interesting cultural conversation around this. By adding monetary extrinsic motivation could we perhaps end up damaging the intrinsic motivators of our community?
1624: [23:08:31] <camfindlay> or do we just care about phat stacks of dollar bills yo?
1625: [23:08:57] <simon_w> I know that there are people that would pay to have issues they think of as important fixed
1626: [23:09:08] <guzzlefry> Expect numerous poorly coded but working fixes. :P
1627: [23:09:21] <simon_w> guzzlefry, we still have to merge them :p
1628: [23:10:08] <camfindlay> why don't businesses that offer SilverStripe work fix these wanted issues as part of their clients projects?
1629: [23:10:09] <ss23> Could get into issues of "Oh they won't merge it because they don't want me to get paid, they always merge simon_w's though, and he gets paid, this is fraud"
1630: [23:10:15] <guzzlefry> controversy!
1631: [23:10:45] <simon_w> camfindlay, because most agencies aren't good enough to do so
1632: [23:11:22] <simon_w> Also, would be useful for wanted features for modules we can submit feature requests against
1633: [23:11:30] <camfindlay> why are they not good enough? what do we as a community define as being the necessary skills to do this kind of work?
1634: [23:12:45] <ss23> camfindlay: "Code that is not crap" is the standard for whether code gets merged :P
1635: [23:12:57] <ss23> Hard to formalize something like that
1636: [23:12:58] <simon_w> Also, follows coding standards and has tests
1637: [23:13:01] <ss23> mm
1638: [23:13:02] <camfindlay> define crap
1639: [23:13:08] <ss23> camfindlay: How do you define whether code is crap?
1640: [23:13:09] <ss23> I odn't know a way to
1641: [23:13:39] <spronk> camfindlay: most agencies are too busy needing shit to work
1642: [23:13:48] <camfindlay> define the flip side... what does good code look like?
1643: [23:13:55] <ss23> camfindlay: I don't know how to define it
1644: [23:14:00] <ss23> I think if anyone could, they would be famous
1645: [23:14:13] <spronk> often easier to just leave something with a bug and mvoe on to next client project to make some actual money
1646: [23:14:19] <ss23> Best we can get is vauge abstract things like "don't use goto, unless you need to" and "make the code 'simple'" whatever that means :P
1647: [23:14:31] <camfindlay> rephrase... what does good code look like to you?
1648: [23:14:45] <ss23> camfindlay: I don't know how to define it :S
1649: [23:15:11] <ss23> If we could define it, we could just have automated tests for it
1650: [23:15:16] <ss23> Boom, all problems solved!
1651: [23:15:17] <ss23> :D
1652: [23:15:29] <simon_w> camfindlay, it's a feel. Like, following best practices, easy to follow/understand, actually does what it's supposed to
1653: [23:15:39] <camfindlay> there is some related conversation going on over here https://groups.google.com/forum/?fromgroups#!topic/silverstripe-dev/wZM23FbOb2w for a mini-project I'm heading towards.
1654: [23:16:00] <camfindlay> please feel free to leave your thoughts :)
1655: [23:16:40] <camfindlay> I'll be collating and creating a discussion doc + recommendations to sminee in Feb sometime
1656: [23:16:41] <simon_w> Eh, all the automated metrics I've seen are crap :p
1657: [23:16:52] <simon_w> *suggested metrics
1658: [23:16:58] <camfindlay> define crap ;)
1659: [23:17:03] <simon_w> Bad
1660: [23:17:07] <simon_w> Inaccurate
1661: [23:17:18] <simon_w> Promotes buggy code
1662: [23:17:20] <ss23> Useless
1663: [23:17:28] <camfindlay> not measuring the thing that matters to you?
1664: [23:17:52] <simon_w> Quick overview:
1665: [23:17:52] <simon_w> Commit history/number: just means they have more bugs to fix
1666: [23:18:13] <simon_w> Number of downloads: Massively favours incumbents
1667: [23:18:51] <simon_w> Same with number of stars
1668: [23:19:05] <simon_w> This should probably go in an email
1669: [23:19:15] <zippy__> I thought, if i had a has many relation in my class, in my template doing loop XXXX more than once wouldnt' call the db, I thought it was cached?
1670: [23:19:28] <zippy__> or, is that because I am in dev mode its doing it more than once or something
1671: [23:19:52] <camfindlay> yeah please :) - what would you suggest might be of use rather than what isnt?
1672: [23:20:09] <simon_w> You can't automate detecting good things :p
1673: [23:20:18] <ss23> well, you could one day
1674: [23:20:22] <ss23> Just simulate a human brain
1675: [23:20:22] <ss23> :D
1676: [23:20:46] <ss23> simon_w: change in stars over time, change in downloads over time
1677: [23:26:00] <simon_w> Ooh, I'm going to go game the download numbers of a horrible module!
1678: [23:26:10] <ss23> XD
1679: [23:26:21] <ss23> I agree, abuse is one of my main concerns too
1680: [23:26:26] <ss23> All these metrics are easily abusable
1681: [23:26:34] <ss23> Even "passes tests" is abusable, just add lots of faux tests
1682: [23:26:38] <ss23> etc etc
1683: [23:27:14] <simon_w> Heck, I'm fairly sure downloads is just a POST endpoint on packagist that composer sends a thing to once it's finished downloading
1684: [23:30:48] * ObiWanShanobi quit (Quit: Leaving...)
1685: [23:32:11] <camfindlay> ultimately I would like to do something here, if you think it could be abused, do you have suggestions of something more suitable?
1686: [23:32:32] * Azure quit (Quit: My MBP went to sleep.)
1687: [23:33:19] <micmania1> I'd find a module review site really useful. Just seeing screenshots and hearing some practical experiences of others helps.
1688: [23:33:48] <micmania1> Nowt worse than installing a modulet o find its broken :|
1689: [23:34:38] * chrisrio has joined #silverstripe
1690: [23:35:52] <chrisrio> anyone seen SS3 start adding a ?url param to URLs on load?
1691: [23:35:53] <Ryan-Toast> This is pretty cool: http://codepen.io/lbebber/pen/ypgql
1692: [23:36:02] <chrisrio> mysiteistehbest.com/banana?url=banana
1693: [23:36:18] <ss23> chrisrio: Never seen it on the front end, but that's how SilverStripe does its rewrites etc
1694: [23:36:21] <ss23> (the URL param)
1695: [23:36:29] * ObiWanShanobi has joined #silverstripe
1696: [23:36:31] <ss23> suspicion would be some strange webserver setup
1697: [23:36:41] <ss23> Just vanilla apache? Nothing else involved? Unmodified .htaccess?
1698: [23:36:55] <chrisrio> yeah its bog standard eh
1699: [23:37:10] <chrisrio> ill just restart 3 times.
1700: [23:37:31] <chrisrio> http://www.thewebsiteisdown.com/ etc
1701: [23:37:48] * ObiWanShanobi quit (Client Quit)
1702: [23:38:02] * violet- quit (Remote host closed the connection)
1703: [23:41:32] * Colin[pi] has joined #silverstripe
1704: [23:42:28] <Colin[pi]> HAI 2 all
1705: [23:42:39] <ss23> HAI2U
1706: [23:42:45] <Colin[pi]> ^________^
1707: [23:43:15] <ss23> hru?
1708: [23:43:28] * mojo5000 quit (Remote host closed the connection)
1709: [23:43:29] <Colin[pi]> stressed! u?
1710: [23:43:34] <ss23> XD
1711: [23:43:39] <ss23> Not bad, relaxing day of
1712: [23:43:40] <ss23> fuck
1713: [23:43:44] <ss23> I just realised I forgot to send an email
1714: [23:43:47] <ss23> :(
1715: [23:43:52] <ss23> Relaxing day of just pgrading old sites
1716: [23:43:56] <ss23> Boring, annoying, but not hard
1717: [23:44:01] <Colin[pi]> wat? holiday today?
1718: [23:44:15] <ss23> No? :(
1719: [23:44:24] <ss23> Just finally have time to upgrade old sites
1720: [23:44:31] <ss23> Unbillable too, which means I can do it properly o/
1721: [23:44:36] <Colin[pi]> oh I read it as "relaxing day off" ;P
1722: [23:44:53] <ss23> lol
1723: [23:44:58] <ss23> I wish
1724: [23:45:08] <Colin[pi]> upgrading from 2.4 to 3.x?
1725: [23:45:10] <ss23> I'm meant to be getting a delivery today but no one will be home to collect it
1726: [23:45:15] <ss23> Colin[pi]: ahahah, no :P
1727: [23:45:23] <Colin[pi]> lol
1728: [23:45:26] <ss23> I doubt anyone can sink the weeks required for those kinds of upgrades at cost
1729: [23:45:29] <ss23> To latest 2.4
1730: [23:45:51] <Colin[pi]> ya :\
1731: [23:45:51] <ss23> (and put on gitorous instead of svn, and deploynaut, etc)
1732: [23:45:52] <simon_w> 6 day weekend starts tomorrow!
1733: [23:45:56] <ss23> simon_w: LUCKY FOR SOME
1734: [23:45:58] <ss23> oh shit
1735: [23:46:01] <ss23> I have another email to send about time off too
1736: [23:46:07] <simon_w> 3 day weekend for you :p
1737: [23:46:08] * nimeso has joined #silverstripe
1738: [23:46:08] <Colin[pi]> simon_w: that's closer to a week than a weekend :P
1739: [23:46:31] <ss23> simon_w: oh?
1740: [23:46:34] <simon_w> Colin[pi], I'm back at work next Tuesday
1741: [23:46:34] <ss23> Is there a public holiday coming up? :O
1742: [23:46:39] <simon_w> ss23, Wellington Anniversary
1743: [23:46:45] <ss23> col
1744: [23:46:45] <ss23> :D
1745: [23:46:50] <ss23> Monday I presume?
1746: [23:46:57] <simon_w> yes
1747: [23:48:03] <nimeso> How do I send a log/debug to my email address... I have SS_Log::add_writer(new SS_LogEmailWriter('myemail@gmail.com'), SS_Log::ERR); in config... but doing a Debug::log("my msg") does not work... I've also tried SS_Log::log('my msg', SS_Log::ERR); any help would be awesome :)
1748: [23:48:07] <simon_w> Aww, BurgerFuel probably won't have a Canberra store by the time I move :(
1749: [23:48:33] <Colin[pi]> sucks 2bu :P
1750: [23:48:50] <simon_w> Colin[pi], says the guy in a heatwave :p
1751: [23:49:35] <Colin[pi]> I've got a fan in my pants, I'm all set
1752: [23:49:41] <ss23> lol
1753: [23:49:52] <ss23> So you can blow hot air onto you?
1754: [23:49:53] <ss23> :P
1755: [23:49:57] <Colin[pi]> 42C in adelaide today :(
1756: [23:49:58] <ss23> I'd rather go for the wet clothes approach
1757: [23:50:10] <Colin[pi]> and we usually get Adelaide's weather the next day ;(
1758: [23:50:23] <simon_w> 43 in Melbourne
1759: [23:50:27] <ss23> Fuck those temperatures
1760: [23:50:28] <Colin[pi]> ss23: u think my gf would go for that approach? ;)
1761: [23:50:42] <ss23> We hit 40c while I was in Sydney, was so horrible
1762: [23:50:43] <ss23> :(
1763: [23:50:54] <Colin[pi]> last summer it got to 47 one day in sydney
1764: [23:50:59] <Colin[pi]> hottest on record
1765: [23:51:03] <ss23> Walking home during summer I would get my shirt wet (by literally like... soaking it completely in cold water) and walk home like that
1766: [23:51:07] <ss23> fuck
1767: [23:51:10] <nimeso> All g! sorted :) it was working... just the email took awhile
1768: [23:51:11] <ss23> Glad I was out of it for that I guess
1769: [23:51:16] <ss23> nimeso: Cool :D
1770: [23:51:24] <ss23> Problem wtih the wet shirt thing is it wouldn't last me 5 minutes
1771: [23:51:25] <ss23> :(
1772: [23:51:29] <nimeso> Rock on people!
1773: [23:51:40] <ss23> So it's like 5 mins of bearable "It's okay, it's okay", followed by 15+ mins of "FUCK SUMMER"
1774: [23:52:14] <Colin[pi]> 11am now and it's already 30C outside
1775: [23:52:27] <variable_office> if /Security/login/ is the login URL, is the logout /Security/logout/ ? Also, what would the user register page be?
1776: [23:52:43] <simon_w> variable_office, yes and there isn't one
1777: [23:53:40] <variable_office> ah, so make my own form/page? Is there a list of what the available pre-configured actions there are regarding user accounts? IE. /Security/login/ and /Security/logout/ just want to make sure I'm not reinventing any more wheels than I have too.
1778: [23:54:04] <simon_w> And there's a forgotten password feature too
1779: [23:56:55] * nimeso quit (Quit: Page closed)
1780: [23:58:41] * UncleCheese quit (Quit: UncleCheese)
1781: [23:59:10] <Colin[pi]> has anyone ever made a "ticket reservation" system before?
1782: [23:59:18] <ss23> Kind of
1783: [23:59:22] <ss23> Elaborate?
1784: [23:59:34] <Colin[pi]> i.e. certain number available per slot; user requests a certain number; system holds for like 5-10 mins until reg and payment
1785: [23:59:50] <ss23> Yeah, I built a system like that
1786: [23:59:55] <Colin[pi]> in SS?

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