#silverstripe IRC Log

IRC log for 21 November 2013

All timestamps are in UTC.

1: [00:02:16] * mattybalaam quit (Quit: mattybalaam)
2: [00:06:21] <Nimle> @Colin[pi], it fixed. I didnt have belongs_many_many. Thanks
3: [00:06:47] * chrisrio has joined #silverstripe
4: [00:06:50] * simon_w has joined #silverstripe
5: [00:06:54] <Colin[pi]> no worries
6: [00:07:03] <chrisrio> hey guys does anyone know if there is a patch kicking around that puts page duplicate back into SS3.0.*?
7: [00:07:08] * zippy__ has joined #silverstripe
8: [00:07:51] <ss23> chrisrio: I know a client *wants* it
9: [00:07:51] <ss23> :P
10: [00:08:06] <chrisrio> ss23: what client wouldn't want something that basic? :P
11: [00:08:12] <ss23> Yeah!
12: [00:08:21] <ss23> If we did end up writing it though, it would be in core
13: [00:09:00] <chrisrio> SS versions are now about as compatible as cats and dogs.
14: [00:09:01] <chrisrio> so like
15: [00:09:06] <chrisrio> core mods no longer really bother me
16: [00:09:15] <ss23> XD
17: [00:09:39] <chrisrio> "lets just blow this critical function away and it can be other peoples problems to adapt their massive codebases"
18: [00:09:39] <chrisrio> ;)
19: [00:10:17] <ss23> We don't do that in minor releases (anymore :P)
20: [00:11:17] <chrisrio> for now bro
21: [00:11:17] <chrisrio> for now
22: [00:11:18] <chrisrio> ;)
23: [00:11:27] <chrisrio> I'll be back next year in a mood 'cause it's happened again
24: [00:11:37] <chrisrio> in a batman suit
25: [00:11:56] <ss23> :P
26: [00:12:10] <ss23> spronk: B-B-BOOM
27: [00:14:47] <spronk> ss23: foobar is craop
28: [00:14:51] <spronk> it's got a good audio engine
29: [00:14:53] <spronk> but that's it.
30: [00:14:59] <ss23> So... why is it crap?
31: [00:15:00] <ss23> :)
32: [00:15:09] <ss23> Because you have crappy gfx taste and can't theme, or another reason?
33: [00:15:09] <ss23> :P
34: [00:15:50] <spronk> UI is awful. existing library of themes etc is crap. Plugin library is very basic. Doesn't work well with media players. Doesn't integrate with shell as well as winamp. Gets really fucking slow with a massive audio library
35: [00:15:57] <spronk> that enough reasons?
36: [00:16:26] <Pyromanik> 13:09 < chrisrio> core mods no longer really bother me
37: [00:16:45] <ss23> UI is awful by default, I agree, you can theme it. Agree library of themes is crap. Plugin library is perfect, it's not basic, it does everything I've ever needed. I don't know what "doesn't work well with media players" means given it is a media player
38: [00:16:54] <Colin[pi]> "core mods do not concern me, Admiral... I want that ship"
39: [00:16:55] <spronk> as in
40: [00:16:56] <spronk> ipods
41: [00:16:56] <Pyromanik> nah bro, backwards compatibility is a major concern for SS devs
42: [00:17:03] <ss23> I don't know what kind of shell intergration you expect (or what winamp has exactly, I don't think it had any when I was thre). Doesn't get slow iwth massive audio
43: [00:17:12] <ss23> spronk: Oh okay, yeah, will grant that
44: [00:17:25] <ss23> I don't know what kind of library you have. atm I'm rocking 800gb of music and have no issues
45: [00:17:35] <ss23> I struggle to imagine a library big enough to make fb2k go slow
46: [00:17:47] <spronk> the best thing about winamp is the way it separates its playlist from its library
47: [00:17:53] <spronk> yet the two are tightly integrated
48: [00:18:02] <ss23> fb2k can do all of htat kind of crap right out of the box
49: [00:18:04] <ss23> I just don't use playlists
50: [00:18:11] <ss23> Anyway, is that enough refuting of your "reasons"? :P
51: [00:18:16] <spronk> no, not really
52: [00:18:18] <Ryan-Toast> It's almost cookie time cookie season. I am excited.
53: [00:18:21] <ss23> spronk: But now I wanna know -- how big is the libraries you're talking about when it got "slow"?
54: [00:18:26] <Ryan-Toast> cookie bucket**
55: [00:18:27] <spronk> about 200gb of music
56: [00:18:28] <ss23> Ryan-Toast: We already had them come around and take our orders
57: [00:18:29] <ss23> Ryan-Toast: :P
58: [00:18:32] <ss23> spronk: ... no fucking way
59: [00:18:33] <spronk> mostly V0 mp3
60: [00:18:37] <spronk> it slows to a fucking crawl
61: [00:18:39] <ss23> spronk: I have 800gb, and it's not slow at all
62: [00:18:39] <spronk> it is a network share..
63: [00:18:40] <Ryan-Toast> ss23: When?
64: [00:18:41] <ss23> >.>
65: [00:18:45] <ss23> spronk: I also have mine on a network share
66: [00:18:46] <spronk> but its over 1gbit
67: [00:18:51] <ss23> spronk: In fact, mine is over wifi atm
68: [00:18:57] <spronk> how the fuck
69: [00:19:00] <ss23> Ryan-Toast: just this week! :D
70: [00:19:10] <spronk> i haven't tried foobar in about a year
71: [00:19:10] <spronk> but
72: [00:19:13] <Ryan-Toast> ss23: I need to call their reps, and get them to come around.
73: [00:19:15] <Pyromanik> 13:15 < spronk> UI is awful. existing library of themes etc is crap. Plugin library is very basic. Doesn't work well with media players. Doesn't integrate with shell as well as winamp. Gets really fucking slow with a massive audio library
74: [00:19:16] <ss23> I've used it for the past 4 years, spronk
75: [00:19:19] <Pyromanik> 13:15 < spronk> that enough reasons?
76: [00:19:20] <Pyromanik> itunes spronk ?
77: [00:19:23] <spronk> its always been slow as fuck for me
78: [00:19:27] <Ryan-Toast> ss23: Make for the best xmas gifts for friends.
79: [00:19:27] <ss23> spronk: Seriously, if its "going slow" for you, I suspect there's another issue
80: [00:19:32] <spronk> ugh
81: [00:19:35] <spronk> don't even mention itunes to me
82: [00:19:42] <Pyromanik> ikr
83: [00:19:42] <spronk> what a shitty piece of shitty crap it is
84: [00:19:45] <Pyromanik> such a bad.
85: [00:19:48] <ss23> Ryan-Toast: I don't give away gifts, so it's okay
86: [00:19:53] <Pyromanik> what are you talking about then spronk ?
87: [00:19:55] <Pyromanik> foobar?
88: [00:19:59] <ss23> Ryan-Toast: Not that I'm against it, I just don't bother cause I'm alzy and normally poor :P
89: [00:19:59] <spronk> ya
90: [00:20:03] <simon_w> ss23, you should get me some lunch and bring it down here for me
91: [00:20:04] <spronk> ss23 is all
92: [00:20:05] <spronk> FOOBAR > WINAMP
93: [00:20:11] <spronk> but its a big fat lie
94: [00:20:16] <Pyromanik> foobar supposed to be the bees knees when it comes to being an audiophile
95: [00:20:24] <ss23> spronk: Your "reasons" are crap
96: [00:20:25] <ss23> :P
97: [00:20:27] <spronk> ...
98: [00:20:28] <Pyromanik> personally I just stick with winamp.
99: [00:20:30] <Pyromanik> because...
100: [00:20:31] <spronk> the UI is awful
101: [00:20:33] <Pyromanik> winamp.
102: [00:20:37] <spronk> that's reason enough for me to not use foobar
103: [00:20:41] <Pyromanik> and also foobarui is aweful.
104: [00:20:44] <spronk> almost all the "good" themes try and make foobar like itunes
105: [00:20:47] <spronk> which is equally awful
106: [00:20:49] <ss23> spronk: Don't make me copy and paste what I already said
107: [00:20:49] <spronk> so... fail
108: [00:20:53] <ss23> spronk: Did you see my screenshot?
109: [00:20:58] <Pyromanik> ss23: I didn't.
110: [00:20:59] <spronk> yes
111: [00:21:00] <ss23> simon_w: I thought about it, but then I thought "hmm too lazy" so I didn't
112: [00:21:01] <ss23> :D
113: [00:21:02] <spronk> it looks like itunes sideways
114: [00:21:04] <spronk> and thus is shit
115: [00:21:08] <Ryan-Toast> ss23: Fair enough. I only have to buy for 3-4 people, so they get sweet gifts not that I have disposable income.
116: [00:21:08] <Pyromanik> hahahah
117: [00:21:10] <ss23> http://ss23.geek.nz/images/fb2k-revised.png @ Pyromanik
118: [00:21:13] <ss23> spronk: wtf?
119: [00:21:15] <ss23> spronk: It's not even a theme
120: [00:21:16] <Ryan-Toast> ss23: now**
121: [00:21:27] <spronk> where's my rated albums
122: [00:21:29] <spronk> my genre searches
123: [00:21:33] <spronk> my auto playlists
124: [00:21:36] <ss23> spronk: I don't use any of that junk
125: [00:21:40] <spronk> ITS NOT JUNKJ
126: [00:21:41] <ss23> spronk: Spoiler: YOU GET TO PICK WHAT IT LOOKS LIKE
127: [00:21:46] <spronk> ss23: i know
128: [00:21:47] <ss23> If you *want* to ruin your music player, you *can*
129: [00:21:55] <spronk> i spent the better part of 3 months trying to make foobar work for me earlier in the year
130: [00:22:00] <ss23> Stupid just to be like "aww out of the box it's not perfect for me!"
131: [00:22:05] <spronk> its just typical open source awful ui :P
132: [00:22:09] <ss23> >opensource
133: [00:22:11] <ss23> It's closed source
134: [00:22:19] <Pyromanik> ss23: in order to make foobar remotely useful one must spend no less than 63 hours setting it up.
135: [00:22:21] <ss23> spronk: I can't help but think there ewre other things going on, considering your 200gb + slow thing
136: [00:22:22] <spronk> even worse then
137: [00:22:25] <Pyromanik> so in short, fuck that.
138: [00:22:41] <ss23> spronk: It is in that style, yes, since it's "Make it look how you want it you lazy shit"
139: [00:22:51] <Pyromanik> I can make winamp go in less than 2 mins.
140: [00:23:03] <spronk> exactly
141: [00:23:05] <Pyromanik> I can make mplayer do things in less than 1 min.
142: [00:23:05] <ss23> Pyromanik: I can make fb2k go in 5, and it's better than winamp
143: [00:23:14] <spronk> how is it better than winamp?
144: [00:23:15] <ss23> anyway, going to get lunch
145: [00:23:18] <Pyromanik> I can install xmmp
146: [00:23:21] <ss23> doesn't look like shit
147: [00:23:21] <Pyromanik> just coz
148: [00:23:25] <Pyromanik> dat gtk1
149: [00:23:26] <ss23> easier to find plugisn I need
150: [00:23:33] <ss23> plays all the media I have by default without any issues
151: [00:23:35] <ss23> More light weight
152: [00:23:36] <ss23> Faster
153: [00:23:44] <Pyromanik> shitter.
154: [00:23:49] <ss23> Think those are the main things I prefer about fb2k
155: [00:24:06] <Pyromanik> "hard to set up" is almost synonymous to "power usage" when it comes to open source
156: [00:24:12] <Pyromanik> learning curve is massive.
157: [00:24:17] <Pyromanik> ie ^
158: [00:24:19] <spronk> o_O
159: [00:24:22] <spronk> all of those things are false :/
160: [00:24:28] <ss23> spronk: Disagree
161: [00:24:38] <ss23> spronk: "13:23:32 <+ss23> plays all the media I have by default without any issues"
162: [00:24:43] <ss23> spronk: You don't know what media I have, how can you know thats false?
163: [00:25:00] * UncleCheese quit (Quit: UncleCheese)
164: [00:25:04] <ss23> bbl noms
165: [00:25:44] <spronk> winamp plays everything, so, false
166: [00:26:09] <Colin[pi]> media player classic ftw
167: [00:28:00] <spronk> also
168: [00:28:10] <spronk> that whole thing about foobar having better sound qual was total bullshit
169: [00:28:13] <spronk> has been debunked many times
170: [00:28:44] <simon_w> 5165
171: [00:30:26] <spronk> so apparently foobar 1.3 focuses in improving performance when dealing with large libraries
172: [00:30:35] <spronk> so ss23, they obviously know about the issue :P
173: [00:31:37] <Pyromanik> 13:24 < spronk> all of those things are false :/
174: [00:31:41] <Pyromanik> me or ss23 ?
175: [00:31:42] <spronk> also, you can't even download foobar atm :/
176: [00:31:44] <spronk> ss23
177: [00:31:47] <Pyromanik> oic
178: [00:32:10] <Pyromanik> man I hate when people use 'faster' as a reason some piece of software is better than another.
179: [00:32:18] <spronk> esp when it's false
180: [00:32:19] <spronk> :P
181: [00:32:25] <spronk> though tbh, speed is an important consideration for me
182: [00:32:31] <Pyromanik> because it usually comes down to some kind of neglibible amount of milliseconds.
183: [00:32:43] <Pyromanik> today's processors are fast enough that speed isn't such a deal.
184: [00:32:49] <spronk> i disagree
185: [00:32:53] * antmas quit (Ping timeout: 250 seconds)
186: [00:32:53] <Pyromanik> unless you've got some kind of super duper intensive algorithm
187: [00:32:56] <spronk> itunes is frustratingly nonperformant with my music collection
188: [00:33:02] <Pyromanik> in which ase improving speed is important.
189: [00:33:26] <Pyromanik> spronk: well... there's always BAD, but what I mean is that good enough is usually just as good as "better"
190: [00:33:58] <Pyromanik> like
191: [00:34:14] <Pyromanik> loading FLAC through this program is 'faster' than that program.
192: [00:34:27] <spronk> lolmm
193: [00:34:30] <Pyromanik> usually fuckall difference, and not actually a reason to use one over the other.
194: [00:34:35] <Pyromanik> where as emulation
195: [00:34:56] <Pyromanik> dynarec always faster than interpreter and can be the difference between playable and non-playable.
196: [00:35:24] <Pyromanik> but then with the modern processor, emulating an 8bit system with a dynarec can have ZERO impact over just a plain interpreter.
197: [00:35:42] <Pyromanik> thus, 'faster' (dynarec) isn't actaully a persuasive argument to use one system over the other.
198: [00:36:09] <Pyromanik> because speed of modern tech makes the gap negligible.
199: [00:36:34] <Pyromanik> is what I'm getting at, in a more explained example, I guess.
200: [00:37:01] <Pyromanik> fuck'n stitches itchy :<
201: [00:37:20] <Pyromanik> also, what do when one of the stitches has had a scab form completely over it.
202: [00:37:24] <Pyromanik> how does one get it out?
203: [00:37:25] <Pyromanik> :<
204: [00:37:27] <Pyromanik> idek
205: [00:37:33] <Colin[pi]> dissovable stitches?
206: [00:37:34] <Pyromanik> doesn't seem like it will be pleasant.
207: [00:37:38] <Pyromanik> Colin[pi]: nylon.
208: [00:37:40] <Colin[pi]> hmm
209: [00:37:49] <Colin[pi]> the skin will push it out over time
210: [00:38:01] <Pyromanik> I like the idea of shit coming back out of me rather than disappearing into me.
211: [00:38:09] <Pyromanik> just say'n.
212: [00:38:24] <Pyromanik> I mean, it wasn't a factor in the type of stitch used, but that's just how it is.
213: [00:38:33] <Pyromanik> I asked for butterfly stitches actually.
214: [00:38:34] * UncleCheese has joined #silverstripe
215: [00:38:54] <Pyromanik> "Nope, I'm using surgical nylon sutures".
216: [00:38:57] <Colin[pi]> it wont dude, the skin layer growth should push it out instead of in
217: [00:38:58] <Pyromanik> "Oh ok."
218: [00:39:16] <Pyromanik> Colin[pi]: dissolvable stitches get pushed out?
219: [00:39:25] <Colin[pi]> no they dissolve
220: [00:39:34] <Pyromanik> yeah that's what I'm saying I don't like.
221: [00:39:41] <Colin[pi]> but that is quicker than the skin growth process iirc
222: [00:39:51] <Colin[pi]> the fuck do I know anyway?
223: [00:39:52] <Pyromanik> nylon on the other hand, comes out in a tangible quantity.
224: [00:39:52] <Colin[pi]> ;D
225: [00:40:04] <Pyromanik> which I like.
226: [00:40:07] * Colin[pi] may be talking out of his arse
227: [00:40:19] * camfindlay quit (Quit: camfindlay)
228: [00:40:31] <Pyromanik> what a party trick that must be Colin[pi] !
229: [00:40:41] <Pyromanik> you should jion some kind of rude circus!
230: [00:40:44] <Colin[pi]> EXCUSE ME, I'D LIKE TO... ARSE YOU A QUESTION.
231: [00:41:56] <Pyromanik> oh ho ho ho
232: [00:42:01] <Pyromanik> good one!
233: [00:42:10] <Colin[pi]> actually it was from Ace Ventura :P
234: [00:42:55] <Colin[pi]> dat feel when a site has an exploit but it's not your own code
235: [00:48:52] * camfindlay has joined #silverstripe
236: [00:49:58] <camfindlay> Just getting lunch. Bumped into simon_w burgers are a the food of champions ;)
237: [00:50:00] <Pyromanik> Ace!
238: [00:50:05] <Pyromanik> oh the memories.
239: [00:50:23] <Pyromanik> oh camfindlay
240: [00:56:51] * camfindlay quit (Quit: camfindlay)
241: [00:58:24] <Pyromanik> ss23: what does it mean when you have at lest 17 requests to <servername.notdomain> OPTIONS *
242: [00:58:56] <ss23> Pyromanik: Means you're using apache
243: [01:00:31] <ss23> Pyromanik: http://wiki.apache.org/httpd/InternalDummyConnection
244: [01:01:18] <Pyromanik> oh yup
245: [01:01:22] <Pyromanik> so nothing serious
246: [01:03:59] <ss23> yeah, it's fine
247: [01:06:25] * camfindlay has joined #silverstripe
248: [01:08:35] * camfindlay_ has joined #silverstripe
249: [01:08:36] <Pyromanik> ss23: even if it doesn't come from 127.0.0.1?
250: [01:08:53] <ss23> Pyromanik: Where does it come from? o.o
251: [01:09:05] <Pyromanik> oh wait I lied. It is from localhost.
252: [01:09:15] <Pyromanik> dat eye can row skip thing :<
253: [01:09:22] <Pyromanik> eye scan*
254: [01:10:09] <zippy__> you can filter those lines out so they're not logged
255: [01:10:14] * mobiusnz has joined #silverstripe
256: [01:11:01] * camfindlay quit (Ping timeout: 248 seconds)
257: [01:11:02] * camfindlay_ is now known as camfindlay
258: [01:11:26] * Pyromanik quit (Quit: Lost terminal)
259: [01:11:36] * camfindlay_ has joined #silverstripe
260: [01:12:34] * Pyromanik has joined #silverstripe
261: [01:12:59] <Pyromanik> zippy__: but not logs, links localhost/sever-status
262: [01:13:21] <zippy__> i c
263: [01:13:43] * camfindlay quit (Quit: camfindlay)
264: [01:13:43] * camfindlay_ is now known as camfindlay
265: [01:14:59] * camfindlay quit (Client Quit)
266: [01:15:14] * camfindlay has joined #silverstripe
267: [01:16:52] * mobiusnz quit (Quit: Leaving.)
268: [01:19:33] * antmas has joined #silverstripe
269: [01:22:48] <Pyromanik> wholey fuck it's not 3pm yet
270: [01:23:21] <spronk> i know
271: [01:23:24] <spronk> seems like it should be way later
272: [01:23:27] <antmas> today is going slooooooooow
273: [01:23:55] <guzzlefry> antmas: you've gotta
274: [01:24:01] <guzzlefry> push it to the limit!
275: [01:24:10] <antmas> XD
276: [01:28:36] * antmas reschedules Friday meetings for today
277: [01:29:35] <antmas> guzzlefry: thanks
278: [01:29:40] <antmas> now I have an earworm
279: [01:30:17] <Pyromanik> take it
280: [01:30:18] <guzzlefry> antmas: a what?
281: [01:30:18] <Pyromanik> to the limit
282: [01:30:19] <Pyromanik> one more
283: [01:30:23] <Pyromanik> tieeeeeeemmmmmmemeeeeeeeee
284: [01:30:25] <guzzlefry> dude no
285: [01:30:33] <guzzlefry> Pyromanik: wrong song
286: [01:30:41] <Pyromanik> your mum is the wrong song.
287: [01:30:44] <guzzlefry> Push it to the Limit, the song from Scareface.
288: [01:30:53] <antmas> guzzlefry: never heard of the term 'earworm'?
289: [01:31:02] <guzzlefry> antmas: nope
290: [01:31:14] <antmas> a song that gets stuck in your head
291: [01:31:18] <guzzlefry> that might not be something we say in the states.
292: [01:31:29] <Pyromanik> I've not heard that eitehr antmas, but I guessed what you meant correctly.
293: [01:31:41] <antmas> Pyromanik: GOOD JOB!
294: [01:31:43] <antmas> :P
295: [01:32:02] <Pyromanik> :D
296: [01:33:25] <Pyromanik> guzzlefry: this song is good, but it's got nothing on j5's
297: [01:33:38] <guzzlefry> no clue who j5 is
298: [01:33:46] * coldblooded01 quit (Quit: coldblooded01)
299: [01:37:12] <Pyromanik> guzzlefry: wait I lied, it's just bonnie tyler.
300: [01:37:22] <Pyromanik> Man, memories are often so much better than the fact.
301: [01:37:28] <antmas> J5? Jurassic 5?
302: [01:37:47] <Pyromanik> http://www.youtube.com/watch?v=POxMp61Ksbk
303: [01:38:03] <antmas> Pyromanik: ah
304: [01:38:05] <antmas> nice
305: [01:38:13] * antmas grooves
306: [01:38:57] * Pyromanik approves
307: [01:39:10] * Pyromanik approves of all things Johnny Five related, including Wall-E
308: [01:44:08] * antmas does not approve of anything TinyMCE related
309: [01:44:59] * Pyromanik concurrs.
310: [01:45:14] <Pyromanik> NO NO, NO DISASSEMBLE JOHNNY FIVE
311: [01:45:18] <Pyromanik> :'(
312: [01:48:35] <irogue23> < spronk> hey irogue23 is there a list of supported usb modem sticks for drayteks anywhere?
313: [01:48:52] <irogue23> http://www.draytek.net.nz/draytek/support/3g/
314: [01:48:58] <irogue23> but it looks like it hasn't been updated since i've been gone
315: [01:49:21] <Pyromanik> create_function
316: [01:49:28] <Pyromanik> wtf kind of voodoo is this bullshit
317: [01:50:03] <Pyromanik> string create_function ( string $args , string $code )
318: [01:50:03] <Pyromanik> Creates an anonymous function from the parameters passed, and returns a unique name for it.
319: [01:50:06] <Pyromanik> Caution
320: [01:50:09] <Pyromanik> This function internally performs an eval() and as such has the same security issues as eval(). Additionally it has bad performance and memory usage characteristics.
321: [01:50:12] <Pyromanik> If you are using PHP 5.3.0 or newer a native anonymous function should be used instead.
322: [01:50:15] <Pyromanik> The worst kind of voodoo!
323: [01:50:46] <Pyromanik> $andProcessor = create_function('$matches','return " +" . $matches[2] . " +" . $matches[4] . " ";');
324: [01:51:00] <Pyromanik> DOULBLEYA TEEEE EFFFF BRAH
325: [01:51:11] * mobiusnz has joined #silverstripe
326: [01:51:24] * peter_ss has joined #silverstripe
327: [01:51:46] <Pyromanik> FU SITE SEARCH, Y U SO BAD?
328: [01:51:51] <peter_ss> hi guys on my custom leftandmain admin how can i do a refresh of the page after a forum submission?
329: [01:52:24] <peter_ss> i tried this return $this->getResponseNegotiator()->respond($this->request);
330: [01:52:32] <peter_ss> didn't work :(
331: [01:53:43] <Pyromanik> that's not what that's for.
332: [01:53:46] <Pyromanik> or how it works.
333: [01:53:52] <Pyromanik> I think.
334: [01:53:56] <Pyromanik> I'm probably confused.
335: [01:54:02] <Pyromanik> similar named things and whatnot
336: [01:54:18] <Pyromanik> peter_ss: use entwine I'd say, hazarding a guess.
337: [01:54:43] <Pyromanik> https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/search/SearchForm.php#L125
338: [01:54:55] <Pyromanik> halp halp what does even idek. ss23 fix this.
339: [01:55:01] <ss23> um idk soz
340: [01:55:01] <ss23> ;_;
341: [01:55:15] <ss23> trying to track down why apche keeps dying atm
342: [01:55:15] <ss23> :/
343: [01:55:25] <ss23> idk though, Pyromanik, looks like some random parsing crap
344: [01:55:32] <Pyromanik> exactly
345: [01:55:34] <Pyromanik> it's site search
346: [01:55:35] <Pyromanik> :<
347: [01:56:57] <Pyromanik> I guess the biggest question I have right now is: where the hell does $matches even come from!?
348: [01:57:30] <Pyromanik> oh wait, it's a parameter for rando function I think maybe
349: [01:57:31] <Pyromanik> zomg
350: [01:57:36] <ss23> lol
351: [01:57:40] <ss23> USE THE MANUAL, Pyromanik :P
352: [01:58:42] * antmas copies identical code from one server to another
353: [01:58:45] <simon_w> Woo, time to fake row-level locks in code
354: [01:58:49] * antmas notices the fix didn't work
355: [01:58:53] * antmas cires
356: [01:59:00] <antmas> cries*
357: [01:59:02] <antmas> ;__;
358: [02:02:32] <Pyromanik> D:
359: [02:03:00] <Pyromanik> DB::getConn()->searchEngine(asgjasd;jgjjah;jagjJGWTGJ_PURE_HATRED)
360: [02:03:02] <unsignedint> simon_w: Woo, time to fake row-level locks in code <-- is this for the benefit of MyISAM?
361: [02:03:21] <Pyromanik> 303
362: [02:03:24] <unsignedint> php fatal error: search engine not found
363: [02:03:33] <simon_w> unsignedint, no, this is because you can't request row level locks
364: [02:04:27] <unsignedint> really? on .NET you can pass options to the connection constructor that sets the locking type. have never needed to do it on a PHP app though
365: [02:05:18] <simon_w> InnoDB uses row-level fine. I just can't request a row-level lock, only table level.
366: [02:07:03] * SightUnseen has joined #silverstripe
367: [02:07:10] * SightUnseen has left #silverstripe
368: [02:14:16] * iamss has joined #silverstripe
369: [02:14:37] * SightUnseen1 has joined #silverstripe
370: [02:14:43] <iamss> hi guys, I decorated the Page_Controller how to I connect to the Page object ??
371: [02:14:54] * SightUnseen1 has left #silverstripe
372: [02:14:56] <simon_w> $this->owner->data()
373: [02:17:53] <peter_ss> if it possible to force reload on entwine?
374: [02:18:14] <peter_ss> doing controller redirectback() on a form in leftandmain didn't work
375: [02:18:59] * chillu quit (Quit: chillu)
376: [02:19:25] <simon_w> Look at how GridFieldDetailForm does it
377: [02:22:15] <peter_ss> yeah simon_w did return Controller::curr()->redirect($this->Link());
378: [02:22:35] <peter_ss> but didn't refresh the form
379: [02:22:44] <peter_ss> i don't know what i miss
380: [02:24:50] <simon_w> return $this->edit(Controller::curr()->getRequest());
381: [02:25:02] <simon_w> The place it actually does a refresh
382: [02:25:24] <peter_ss> ok thanks I'll try that
383: [02:28:01] <peter_ss> but I don't have $this->edit
384: [02:28:06] <peter_ss> it's just a form
385: [02:30:45] <simon_w> It's the action
386: [02:30:48] <simon_w> You don't refresh
387: [02:32:29] <Pyromanik> wtf mysqldb
388: [02:32:45] <Pyromanik> DB::getConn()->searchEngine
389: [02:32:58] <irogue23> The drawing of the Taser requires a "use of force" report - one which cracked his boss up.
390: [02:33:02] <irogue23> "Taser deployed on horseback during encounter with naked axe-wielding man."
391: [02:33:05] <irogue23> hahahahaha
392: [02:33:09] <Pyromanik> but mysqldatabase only clas with "searchengine"
393: [02:33:17] <irogue23> #betterworkstories
394: [02:33:35] <Pyromanik> omg irogue23
395: [02:33:37] <Pyromanik> wtf
396: [02:34:00] <Pyromanik> link?
397: [02:34:13] * iamss quit (Ping timeout: 250 seconds)
398: [02:34:15] <irogue23> http://www.nzherald.co.nz/nz/news/article.cfm?c_id=1&objectid=11145579
399: [02:36:08] <peter_ss> simon_w ok i understand. so maybe I'll just do a refresh on entwine or js then?
400: [02:36:35] * chrisrio quit (Quit: Page closed)
401: [02:36:50] <peter_ss> because I have a gridfield below that table and the form fields data and gridfield is not refreshed after write();
402: [02:37:47] <antmas> bah, tl;dr
403: [02:38:33] <peter_ss> simone_w http://www.sspaste.com/paste/show/528d700857b01
404: [02:38:42] <peter_ss> oops simin_w http://www.sspaste.com/paste/show/528d700857b01
405: [02:40:03] <Pyromanik> dem name changes
406: [02:40:17] <Pyromanik> peter_ss: protip: si<now press tab>
407: [02:40:34] <Pyromanik> simon_w: no sex or name changes involved.
408: [02:40:40] <peter_ss> cool :P
409: [02:45:48] <Pyromanik> simon_w: what is mysql + ?
410: [02:46:07] <Pyromanik> eg http://api.silverstripe.org/3.1/source-class-MySQLDatabase.html#865
411: [02:46:38] <simon_w> Addition
412: [02:46:55] <antmas> -_- stupid _combinedfiles
413: [02:47:05] <antmas> not pulling latest version
414: [02:47:07] <antmas> fffff
415: [02:47:12] <Pyromanik> so both those queries return an int val?
416: [02:47:31] <unsignedint> antmas: I never use it because of issues like that
417: [02:48:44] <antmas> unsignedint: I get it
418: [02:48:49] <Pyromanik> simon_w: or is it a non-numeric addition (eg, set merge?)
419: [02:49:01] <simon_w> Pyromanik, boolean addition
420: [02:49:21] * Pyromanik googles boolean addition
421: [02:49:24] <Pyromanik> :<
422: [02:49:28] <Pyromanik> thanks simon_w
423: [02:49:30] <antmas> just sucks when you know the file it needs to have pulled code from works, but even manually deleting the files and having SS rebuild them on the fly doesn't take those changes
424: [02:49:33] <antmas> :<
425: [02:50:29] <ss23> You're on the wrong server!
426: [02:50:55] <antmas> lies!
427: [02:51:35] <simon_w> https://github.com/facebook/hhvm/commit/4a23fdc0dc804c9a5fa8bc84f9016c1d44597afb Yay!
428: [02:52:27] <Pyromanik> congrats simon_w :)
429: [02:55:44] <antmas> ^^^^ /me doesn't know what is
430: [02:55:47] <antmas> :(
431: [02:55:55] <antmas> what is simon_w thing?
432: [02:55:57] <ss23> It's blowfish support
433: [02:56:05] <antmas> oh
434: [02:56:08] <antmas> nice :)
435: [02:56:21] <ss23> The translation is "You can do more seucre password hashing with HHVM now"
436: [02:57:02] <antmas> hiphop vm?
437: [02:57:12] <simon_w> yes
438: [02:57:15] <antmas> nice
439: [02:58:18] <ss23> hmmmmmmmmm
440: [02:58:36] <ss23> I'm having some weird issues with cURL (in PHP) somehow causes apache to never close the ocnnection
441: [02:58:54] <ss23> rather, the client thinks it's closed, but apache keeps it in a "sending reply" state
442: [03:00:57] <antmas> bah
443: [03:01:13] <antmas> now my dtps in the CMS are resetting to AM instead of PM
444: [03:01:15] <antmas> o.O
445: [03:02:03] <ss23> antmas: There's a really weird bug in SilverStripe. I've only hit it once ever, and my coworker has only hit it once ever. If the date/time is fine in the DB, but comes out with an incorrect PM/AM setting, you can work around it by setting that field to be displayed as 24 hours
446: [03:02:18] <peter_ss> guys the force refresh works. but it shows 2 menu of the cms admin yay
447: [03:02:26] <ss23> In fact, if I remember rightly, we narrowed it down to something like... if you ever explicitly set the config/display stuff on it, it'll barf
448: [03:02:32] <ss23> Can't remember, has been months since I've hit it personally
449: [03:02:39] <antmas> ss23: hmmmm
450: [03:02:43] <antmas> sounds about right actually
451: [03:03:03] <ss23> antmas: If you find it, me and my coworker, aka the only two people I've ever heard of hitting this, will thank you! :D
452: [03:03:07] <antmas> how would I set this field?
453: [03:03:23] <ss23> in updateCMSFields, $thefiled->setConfig or something
454: [03:03:26] <ss23> however you change how its display
455: [03:03:34] <antmas> ah right
456: [03:03:35] <antmas> ofc
457: [03:04:30] <ss23> AHH
458: [03:04:37] <ss23> THE WAY THE PHP MANUAL LOOKS HAS INALLY BEEN UPDATED
459: [03:04:38] <Pyromanik> Well fuck. Google "mysql fulltext search" and instead get a story that makes you sad that you must exist in a world that also has people like this: http://news.yahoo.com/iowa-town-defends-bullying-of-autistic-teen-203249332.html
460: [03:04:54] <ss23> lol Pyromanik, sucks :(
461: [03:05:13] <Pyromanik> ss23: skim intro to article. It's a00% wtf material.
462: [03:05:20] <Pyromanik> 100% eveb,
463: [03:05:24] <Pyromanik> even
464: [03:05:34] <pippy> is there a standard way of bypassing the static cache after a HTTP POST submit?
465: [03:05:35] <Pyromanik> (arm IN sling, typing hard)
466: [03:05:50] <ss23> meh
467: [03:05:55] <Pyromanik> pippy: define ststic cache?
468: [03:05:55] * SightUnseen has joined #silverstripe
469: [03:06:00] * SightUnseen has left #silverstripe
470: [03:06:14] <ss23> pippy: A hacky way is to just add a get variable onto it...
471: [03:06:15] <pippy> Pyromanik: using .htaccess rules to point to html pages
472: [03:06:21] <ss23> uh
473: [03:06:24] <ss23> pippy: not sure about that
474: [03:06:24] <ss23> maybe
475: [03:06:27] <Colin[pi]> Pyromanik: thought you'd be accustomed to one-handed typing by now
476: [03:06:39] * peter_ss has left #silverstripe
477: [03:06:52] <pippy> ss23: i'm disabling it if it's a get or post
478: [03:07:10] <pippy> but POST in silverstripe uses 301's to redirect
479: [03:07:35] <pippy> i'm overriding the redirectBack() function with a Referer header
480: [03:07:39] <pippy> and it works
481: [03:07:53] <pippy> but i'm probally doing it in a non standard way
482: [03:08:23] <ss23> http://msdn.microsoft.com/en-us/library/ms819735.aspx
483: [03:08:28] <ss23> I do wanna rate this helpful too.
484: [03:09:46] <Colin[pi]> hey it's a pretty sweet underscore
485: [03:10:08] * zippy__ quit (Ping timeout: 245 seconds)
486: [03:11:33] <antmas> bah
487: [03:11:58] <antmas> what format should I be setting for this?
488: [03:12:45] * SightUnseen1 has joined #silverstripe
489: [03:13:15] * SightUnseen1 has left #silverstripe
490: [03:21:30] <antmas> what sucks is - this happens on one server and not the other :(
491: [03:23:09] * peter_ss has joined #silverstripe
492: [03:23:25] <ss23> A BILLION PROBLEMS! :(
493: [03:23:28] <ss23> No one to solve them for us
494: [03:24:14] <Colin[pi]> WE DIDNT START THE FIRE
495: [03:24:20] <ss23> lol
496: [03:24:29] <Colin[pi]> IT WAS ALWAYS BURNIN
497: [03:24:34] <Colin[pi]> SINCE THE WORLDS BEEN TURNIN
498: [03:25:50] <Colin[pi]> whoopsies
499: [03:25:53] <Colin[pi]> old site had a sploit
500: [03:25:56] <Colin[pi]> found a pron image
501: [03:25:57] <Colin[pi]> :o
502: [03:26:42] <spronk> :O
503: [03:26:43] <spronk> ???
504: [03:26:46] <spronk> SS?
505: [03:26:53] <Colin[pi]> nope custom CMS
506: [03:26:58] <Colin[pi]> really old and dodgy
507: [03:27:12] <Colin[pi]> trying to convince them to upgrade/remake their old pos site
508: [03:29:07] <antmas> Colin[pi]: lol
509: [03:29:33] <Colin[pi]> it's like 800px wide still :(
510: [03:29:37] <Colin[pi]> looks tiny
511: [03:30:10] <Pyromanik> acc phonecall
512: [03:30:58] <Pyromanik> :<
513: [03:31:07] <antmas> no monies for you?
514: [03:31:35] <Pyromanik> Colin[pi]: yes, accustomed but not fond of.
515: [03:31:40] <Colin[pi]> lol
516: [03:31:48] <Pyromanik> antmas: nah.
517: [03:32:30] <Pyromanik> antmas: "when did you resume work after the accident?" "1 day after being discharged from hospital"
518: [03:32:34] <Pyromanik> o.0
519: [03:32:41] <antmas> heh
520: [03:32:45] <Pyromanik> could almost hear those eyebrows raising over the phone.
521: [03:33:19] <Pyromanik> told jokes, made her laugh, felt like a bawss
522: [03:33:21] <Pyromanik> xD
523: [03:33:49] <Pyromanik> HA, cracked your tough government beuraucratic exterior! MUHAHAHA"
524: [03:33:54] <Pyromanik> etc
525: [03:34:11] <Pyromanik> 16:25 < Colin[pi]> old site had a sploit
526: [03:34:12] <Pyromanik> 16:25 < Colin[pi]> found a pron image
527: [03:34:12] <Pyromanik> 16:25 < Colin[pi]> :o
528: [03:34:13] <Pyromanik> o.0
529: [03:34:19] <Colin[pi]> ya
530: [03:34:28] <Colin[pi]> was in like the equiv of assets dir :(
531: [03:34:42] <Colin[pi]> file uploader in the richtext editor had a vulnerability
532: [03:35:08] <Pyromanik> so you already had to be logged in to 'sploit?
533: [03:35:42] <Colin[pi]> the part of the code that was handling file uploads was not checking for a valid admin login session :(
534: [03:35:59] <Colin[pi]> so if you knew where to look, you could upload stuff without logging in
535: [03:36:19] <Colin[pi]> should point out this is third-party code, not mine ;)
536: [03:36:51] <simon_w> Third party code? What's that?
537: [03:37:28] <Pyromanik> mah nah ma nah code.
538: [03:37:51] <Colin[pi]> simon_w now subscribes to NIH philosophy
539: [03:38:05] <Pyromanik> why does mysqldatabase know about cms constructs?
540: [03:38:17] <simon_w> simon_w now subscribes to home time!
541: [03:38:28] <Colin[pi]> pfft
542: [03:38:41] <antmas> I think it's almost hot enough to wear jandals to work
543: [03:40:57] * mojo5000 quit (Remote host closed the connection)
544: [03:41:18] <Pyromanik> antmas: I thought that today too. now suddenly grey & southerly
545: [03:41:24] * mojo5000 has joined #silverstripe
546: [03:44:23] <Nimle> Anyone aware of any persistent soap client extension for silverstripe?
547: [03:44:46] <Pyromanik> Nimle: you mean like the inbuilt soap functions?
548: [03:45:34] <Nimle> yeah. it was there in 2.4, I think
549: [03:45:54] <Pyromanik> yep
550: [03:46:07] * mojo5000 quit (Ping timeout: 265 seconds)
551: [03:46:38] <Pyromanik> dunno about client though.
552: [03:47:03] <Pyromanik> there is restfulservice if you have that available to you
553: [03:47:10] <Nimle> I saw a SS restful module which uses soap but it is not persistent and creates a new connection which is very slow.
554: [03:47:34] <Pyromanik> Nimle: this is php, NOTHING is persistent.
555: [03:48:17] <Nimle> php's soap client has setPersistent implementation. but it uses system level.
556: [03:48:24] <Nimle> but it needs to be impleemnted with user class
557: [03:48:36] <Nimle> it uses session, probably
558: [03:48:46] <Nimle> or something
559: [03:49:14] * Pyromanik shrugs
560: [03:49:21] * Pyromanik quit (Quit: leaving)
561: [03:50:00] <Nimle> http://php.net/manual/en/soapserver.setpersistence.php
562: [03:50:28] <Nimle> Soap connection is extremly slow thing. It takes up to 7-15 seconds
563: [03:51:27] <Nimle> you can't use easy ways to keep client object in session as it is not serializable.
564: [04:01:31] * nickmolhoek quit (Quit: nickmolhoek)
565: [04:07:03] <ss23> http://findtheinvisiblecow.com/
566: [04:10:11] <peter_ss> guys what should be the second paramenter when doing  $this->response->addHeader('X-Reload', '');
567: [04:13:29] <peter_ss> nvm it should be true
568: [04:17:21] * Nimle quit (Ping timeout: 250 seconds)
569: [04:19:23] * ajshort has joined #silverstripe
570: [04:28:59] * ajshort quit (Quit: Leaving)
571: [04:34:03] * DigNZ quit (Quit: DigNZ)
572: [04:34:12] * Ryan-Toast quit (Quit: Ryan-Toast)
573: [04:34:12] * cloph_away has joined #silverstripe
574: [04:34:12] * cloph quit (Ping timeout: 246 seconds)
575: [04:35:28] <ss23> Anyone know if OSX has a nice GUI for being able to renice processes? My music lags hard whenever I do anything
576: [04:37:29] * DigNZ has joined #silverstripe
577: [04:42:34] * DigNZ quit (Quit: DigNZ)
578: [04:45:46] <spronk> o_O
579: [04:46:08] * Nimle has joined #silverstripe
580: [04:46:30] <Nimle> Any hide how to rename /admin?
581: [04:46:36] <Nimle> hide=idea
582: [04:49:24] <ss23> Why would you want to?
583: [04:53:37] <Nimle> because too many attempts are made to login
584: [04:54:05] <Nimle> is it possible to enable recaptcha?
585: [04:55:05] <ss23> Why do you care about people trying to log in? o.o
586: [04:55:45] <Nimle> it is not people, but script
587: [04:55:57] <Nimle> someone attacking
588: [04:56:16] * will__ has joined #silverstripe
589: [04:56:50] <Nimle> Ip changes, apparently spoofing.
590: [05:01:27] <ss23> You can't spoof IP for TCP requests
591: [05:02:21] * camfindlay quit (Quit: camfindlay)
592: [05:06:29] <Nimle> just http floods to /admin
593: [05:06:50] * UncleCheese quit (Quit: UncleCheese)
594: [05:08:53] <will__> hello
595: [05:09:33] <will__> i have set up a new dev environment site with composer . ss installed correctly and now i want some modules...
596: [05:10:03] <will__> installing modules with composer dosn't seem to work for me. "The requested package silverstripe/cms 1.0.0 could not be found."
597: [05:10:27] <ss23> will__: 1.0.0 isn't the right module for silverstripe/cms
598: [05:10:28] <will__> whats the bog-standard way to set up SS / composer so i get stable production ready versions of everything?
599: [05:10:34] <ss23> will__: Paste your composer.json
600: [05:11:57] <will__> http://codepen.io/anon/pen/GrnIz
601: [05:12:27] <will__> which happened when i did this: composer create-project silverstripe/installer ~/Sites/BaptistCare/www 3.1.2
602: [05:12:27] <ss23> Ah, will__
603: [05:12:42] <ss23> will__: Is that all you did? That hsould work fine if thats all you did. If you mde your own git repo though, it won't
604: [05:12:53] <will__> thats all i did.
605: [05:13:10] <will__> haven't done git to it yet. still experimenting with getting modules working
606: [05:13:13] <ss23> will__: Eh, change "self.version" in all those places to be "3.0.*@stable" or "3.1.*@stable" depending on which you want :(
607: [05:13:16] <ss23> :)
608: [05:13:24] <will__> k
609: [05:13:27] <will__> thanks
610: [05:13:43] <will__> ill have 3.1 thank you : )
611: [05:13:52] <ss23> :D
612: [05:15:45] <will__> if i do this: composer require silverstripe/userforms dev-master
613: [05:15:52] <will__> ill get the edge version right?
614: [05:16:01] <ss23> yep
615: [05:16:02] <will__> whats the stable version command?
616: [05:16:05] <ss23> um
617: [05:16:11] <ss23> It kind of depends, but often it's "*"
618: [05:16:38] <will__> ok. that sounds a bit wild
619: [05:16:44] <ss23> * means "the latest version you can get", and if you have "minimum-stability": "dev", that'll mean dev version. But if you have "stable" instead of "dev", it'll mean the latest stable
620: [05:17:14] <ss23> will__: I started making this to help me out (cause I always forget and I think it's really confusing) -- https://gist.github.com/ss23/6161763
621: [05:20:04] <will__> ok. so module 1 installed ok. (dashboard) but now userforms dosn't want to play ball
622: [05:20:12] <will__> Could not parse version constraint cms: Invalid version string "cms"
623: [05:20:21] <ss23> Sounds like you put "cms" in the wrong place?
624: [05:20:32] <ss23> "cms" instead of "*" or somthing
625: [05:23:05] <will__> im doing "composer require silverstripe/userforms" in terminal and then it asks for the version constraint and I enter "*"
626: [05:23:41] <will__> updated the pen: http://codepen.io/anon/pen/GrnIz
627: [05:32:22] * Pyromanik has joined #silverstripe
628: [05:33:53] <will__> composer dosn't really work very well. How much trouble am i going to get into if i just download zips instead?
629: [05:48:53] * guci0 has joined #silverstripe
630: [05:48:58] <guci0> Morning!
631: [05:56:29] <Zauberfisch23> blubb
632: [05:57:04] <Zauberfisch23> will__: well, downloading zips works just fine
633: [05:57:16] <Zauberfisch23> the only thing is you won't be able to manage it with composer than
634: [05:57:57] <Zauberfisch23> so it makes your life in future harder because you have to download it again as zip if you need to set it up somewhere else or if you want to install updates
635: [05:59:14] <will__> ok, thanks zauberfische23. Ill keep trying and see if i can get it all to happen "properly"
636: [05:59:14] <Zauberfisch23> will__: I find lines 11 to 17 rather odd
637: [05:59:21] <Zauberfisch23> what are those lines for?
638: [05:59:34] <Zauberfisch23> (I am not an composer expert, but those look strange to me)
639: [06:00:10] <will__> i know next to nothing about composer and they looked bizzare to me too.
640: [06:00:31] <Zauberfisch23> is that your composer file in the document root?
641: [06:00:38] <will__> yep
642: [06:00:46] <will__> although i have updated it to this: http://codepen.io/anon/pen/zKIip
643: [06:01:12] <will__> and got userforms to work with a bit of flush=all to get rid of the usual template missing things
644: [06:01:19] <Zauberfisch23> change it to look like this: http://paste2.org/z2pFKPCj
645: [06:01:48] <Zauberfisch23> the template missing things are usual, there is nothing to worry about that. thats just how silverstripe works (caching)
646: [06:01:53] <will__> so maybe its working? just not the command line bit. I'm adding them in the json file and then doing composer update. which is ok i think?
647: [06:02:07] <Zauberfisch23> the updated version of yours looks fine
648: [06:02:20] <Zauberfisch23> yeah, its the way I do it
649: [06:02:33] <Zauberfisch23> I always edit the composer.json and then run composer update
650: [06:02:47] <Zauberfisch23> or if composer update fails because it times out, you can also try composer update --prefer-dist
651: [06:02:59] <will__> cool. thanks. Ill add some more and see how i go.
652: [06:03:22] <Zauberfisch23> prefer-dist will download a zip instead of a git clone if it finds a zip (eg from github it can also download zips)
653: [06:03:27] <Zauberfisch23> (zip downloads are much faster)
654: [06:05:44] <will__> ok
655: [06:08:10] <guzzlefry> Has anyone successfully implemented a modeladmin for the BlogEntrys in the blog module?
656: [06:10:12] <Zauberfisch23> guzzlefry: maybe have a look at https://github.com/icecaster/silverstripe-largeblog
657: [06:10:23] <Zauberfisch23> no idea how good it is
658: [06:10:36] <guzzlefry> Zauberfisch23: I'm looking to modify the already existing stuff. :/
659: [06:11:08] <guzzlefry> oh wait
660: [06:11:08] <Zauberfisch23> guzzlefry: thats what I thought, and I think this module would work on exisitng code base
661: [06:11:12] <Zauberfisch23> not sure though
662: [06:11:18] <guzzlefry> looks like it might, thanks
663: [06:16:40] * peter_ss quit (Quit: Leaving.)
664: [06:28:04] <will__> thinking about git.... what do people usually check in? the whole site root? or just mysite & the theme & composer file?
665: [06:28:22] <ss23> Anything managed by composer, add to your .gitignore
666: [06:28:37] <ss23> so, /cms, /sapphire, /vendor, /themes/simple
667: [06:28:46] <ss23> Keep your .htaccess, index.phpp, mysite, themes etc
668: [06:28:56] <ss23> Basically, anything that *doesn't* get added when you do "composr install", keep that :P
669: [06:44:35] <will__> ok, sounds good. ill go with that thanks
670: [06:46:48] * mattybalaam has joined #silverstripe
671: [06:54:15] * ajshort has joined #silverstripe
672: [06:56:56] * ajshort quit (Client Quit)
673: [07:04:45] <Zauberfisch23> will__: just mysite and theme foder (if you have a theme folder)
674: [07:04:52] <Zauberfisch23> everything else would just be insane
675: [07:05:54] <will__> thanks.
676: [07:06:01] * Liquide quit ()
677: [07:06:02] <Zauberfisch23> ss23: I disagree with saying "all that comes from composer", because there might be other things too, like assets. you wouldn't want to put your assets into git
678: [07:06:59] <will__> except maybe the 400 & 500 error files
679: [07:07:40] <Zauberfisch23> no, the error files also contain content specific stuff
680: [07:07:45] <Zauberfisch23> like the $SiteConfig.TItle
681: [07:08:13] <Zauberfisch23> so on a new setup those files should be overwritten anyway
682: [07:08:24] <ss23> Zauberfisch23: Hence the "basically"!
683: [07:08:24] <ss23> :(
684: [07:08:46] <Zauberfisch23> (and they will, as a dev/build runs requireDefaultRecords() of SiteTree which creates the error pages
685: [07:08:54] <will__> mhh, ok. so, how do i regnerate those? they are still based on the simple theme (but im using the foundation one)
686: [07:09:15] <Zauberfisch23> just open the error page in the CMS and press save
687: [07:09:26] <Zauberfisch23> on save those files will be overwritten
688: [07:10:15] * Nimle quit (Ping timeout: 250 seconds)
689: [07:11:15] <will__> ah yep. thanks
690: [07:17:34] * zippy__ has joined #silverstripe
691: [07:22:30] <zippy__> evening
692: [07:31:11] * Shrike_Finland quit (Quit: Leaving.)
693: [07:31:14] <Zauberfisch23> good morning
694: [07:46:57] <will__> looking into silversmith. seems like a good idea?
695: [07:50:38] <Zauberfisch23> well, it lost a part of its purpose in 3.x
696: [07:50:52] <Zauberfisch23> because you actually now can define database fields in yml configs if you want
697: [07:51:05] <Zauberfisch23> but for the other parts, I guess its worth to try it
698: [07:56:21] <will__> oh, i wondered why it went quite.
699: [07:58:26] * camfindlay has joined #silverstripe
700: [07:58:57] <will__> is the yaml database config documented?
701: [07:59:02] * ARNHOE has joined #silverstripe
702: [08:00:13] <Zauberfisch23> will__: no idea
703: [08:00:24] <Zauberfisch23> I don't use the documentation
704: [08:03:03] <camfindlay> Zauberfisch23: do you use the api.silverstripe.org to find what you need in framework? Just curious how people go about finding out about thing in ss.
705: [08:03:15] <Zauberfisch23> no
706: [08:03:19] <Zauberfisch23> I use the source
707: [08:03:54] <Pyromanik> camfindlay: I do.
708: [08:04:12] <Pyromanik> I use api for quick checks, github for on screen reviews, and code if I get really confused.
709: [08:04:33] <Pyromanik> (although I read code in all three applications)
710: [08:05:15] * Pyromanik has left #silverstripe
711: [08:05:24] <Zauberfisch23> I find using the code to be the only relyable source of information
712: [08:05:36] <Zauberfisch23> and I am usually faster finding what I am looking for in code
713: [08:05:44] <Zauberfisch23> because I have my editor open anyway.
714: [08:05:59] <Zauberfisch23> for using the docs I would need to switch to the browser, open a tab ...
715: [08:06:07] <Zauberfisch23> and docs are potentaly outdated
716: [08:06:32] * mattybalaam quit (Quit: mattybalaam)
717: [08:07:04] * camfindlay quit (Quit: camfindlay)
718: [08:08:55] * peter_ss has joined #silverstripe
719: [08:11:29] * peter_ss1 has joined #silverstripe
720: [08:13:32] * camfindlay has joined #silverstripe
721: [08:13:43] <ARNHOE> Any tips on how to combine javascript files and only load them when the actual module is "available"? For example, slideshow.js - how to only load this when a slideshow is on the page?
722: [08:14:57] <Zauberfisch23> ARNHOE: bad idea
723: [08:15:29] * peter_ss quit (Ping timeout: 272 seconds)
724: [08:15:41] <Zauberfisch23> if you use combined files, and then make the content of the combined file conditional, you loose the cache benefit of a combined file
725: [08:15:52] <Zauberfisch23> because the browser has to redownload the whole file
726: [08:16:00] <ARNHOE> ah I see
727: [08:16:16] <Zauberfisch23> so performance wise, the best thing to do is, combine all files to 1 and include it on all pages
728: [08:16:24] <Zauberfisch23> so no coditonal loading
729: [08:16:44] <Zauberfisch23> this statement is true for standard websites
730: [08:17:03] <Zauberfisch23> for bigger applications this statement might not apply
731: [08:17:21] <ARNHOE> but I wonder if I am doing it wrong with my javascript files. Like the rest of my js files break when for example the slideshow isn't implentend on the page (this is a rough example)
732: [08:17:31] <camfindlay> Fair call Zauberfisch23 do you think docs should be more focused on getting new people started in ss and explaining how you go about reading and understanding the code?
733: [08:18:17] * will__ quit (Ping timeout: 250 seconds)
734: [08:18:17] <Zauberfisch23> camfindlay: not sure, reading the code works for me because I am familiar with most of it, and because I am an experienced developer
735: [08:18:34] <camfindlay> Pyromanik: yeah I use api quite a bit to find what I'm looking for.
736: [08:18:51] <Zauberfisch23> someone with less experience might find it difficult to find his way around the source
737: [08:19:05] <Zauberfisch23> ARNHOE: then you are doing it wrong I guess :P
738: [08:19:39] <Zauberfisch23> ARNHOE: I usually build my JS that way that it still works if 1 element is missing (then the code for this 1 element is just not running)
739: [08:20:45] <Zauberfisch23> camfindlay: so you are the new guy? :P
740: [08:22:01] <camfindlay> Zauberfisch23: yeah man! Just in listening mode at present.
741: [08:22:15] <Zauberfisch23> community manager, right?
742: [08:22:17] * EasyCo quit (Quit: We can't stop here, this is bat country)
743: [08:22:32] <camfindlay> Correct
744: [08:23:13] <camfindlay> With a dev background. And actually hanging out on irc ;)
745: [08:23:58] <Zauberfisch23> dev background is good
746: [08:24:36] <camfindlay> Hey I remember you used to do the silver scoop show thing with Howard Gregg. Have you heard much from him lately?
747: [08:24:49] <ARNHOE> Zauberfisch23: How do you built your js that way? Is there a proper name for that I could google?
748: [08:25:13] <Zauberfisch23> ARNHOE: idk
749: [08:25:28] <camfindlay> Yeah I'm hoping with dev background I can be a good advocate for everyone inside the company
750: [08:25:34] <Zauberfisch23> camfindlay: well, we want to continue with it, just to busy at the moment
751: [08:25:43] <Zauberfisch23> camfindlay: but it will be continued eventually in future
752: [08:26:07] <Zauberfisch23> ARNHOE: I just check if an element exists before I do stuff with that element
753: [08:26:38] <peter_ss1> is it possible to add a textfield beside a dropdownlist in a fieldset?
754: [08:26:47] <camfindlay> Excellent. I was an avid listener, UncleCheese is here in NZ now too
755: [08:27:30] <Zauberfisch23> yeah, him moving to NZ was one of the reasons that we didn't do much lately
756: [08:27:54] <camfindlay> Zauberfisch23: drop me a line if there is anything I can help with getting the show some exposure and general awesomeness :)
757: [08:28:32] <camfindlay> Once things kick off again.
758: [08:28:40] * peter_ss1 is now known as peter_ss
759: [08:30:02] <camfindlay> Anyway. Good to chat. Have to head off. I'll be around on irc as often as possible or please do drop me a line cam@silverstripe.com
760: [08:30:11] <Zauberfisch23> thanks camfindlay
761: [08:30:34] <Zauberfisch23> camfindlay: also good to see more guys from SS here on IRC
762: [08:31:41] <ARNHOE> so Zauberfisch23 you would also recommend having jquery.min.js, jquery.insertsomethingrandom.min.js and slideshow.js in one array ?
763: [08:31:47] * camfindlay quit (Quit: camfindlay)
764: [08:52:58] * spronk2 has joined #silverstripe
765: [09:04:36] <Zauberfisch23> ARNHOE: I usually only have 1 file
766: [09:04:39] <Zauberfisch23> all JS in one
767: [09:04:59] <Zauberfisch23> https://github.com/Zauberfisch/silverstripe-boilerplate/blob/master/mysite/code/Page.php#L32
768: [09:09:04] * kinglozzer has joined #silverstripe
769: [09:12:35] * chillu has joined #silverstripe
770: [09:39:41] <marvanni> Hi, I have 2 gridfields in getCMSFields. They use the same $config settings I setup before the gridfields. But The AddNewButton of the second gridfield has the same name as the first gridfield?
771: [09:43:10] * peter_ss quit (Quit: Leaving.)
772: [09:46:06] <marvanni> hm. fixed by setup the config in a seperate method...
773: [09:52:37] <Zauberfisch23> marvanni: http://stackoverflow.com/questions/18867313/silverstripe-3-multiple-gridfields-on-one-page/18868322#18868322
774: [09:53:32] <irogue23> oh look, a subsites question on the ss-dev list
775: [09:53:38] <irogue23> better give them spronk2's email address
776: [09:53:39] <irogue23> :-P
777: [09:53:47] <spronk2> :O
778: [09:53:50] <spronk2> linky
779: [09:56:03] <irogue23> https://groups.google.com/forum/#!topic/silverstripe-dev/dpN6Dbmvc3s
780: [09:58:01] <marvanni> ah cloning. ty Zauberfisch
781: [10:02:31] <spronk2> loool
782: [10:07:04] <Zauberfisch23> irogue23: haha
783: [10:07:20] <Zauberfisch23> spronk2: you are missing a 3
784: [10:07:37] * spronk2 is now known as spronk23
785: [10:07:40] <spronk23> i don't have it in my auto man
786: [10:24:31] <Zauberfisch23> the you sould fix that
787: [10:38:38] * kerosene has joined #silverstripe
788: [10:41:15] * spronk23 quit (Quit: spronk23)
789: [10:42:51] * kerosene quit (Read error: Connection reset by peer)
790: [10:44:52] <Zauberfisch23> then
791: [10:48:03] * kerosene has joined #silverstripe
792: [10:52:33] * svandragt has joined #silverstripe
793: [10:53:38] * Shrike_Finland has joined #silverstripe
794: [10:54:52] <kinglozzer> Anyone know if you can have comment blocks in YAML?
795: [10:55:07] <kinglozzer> Starting lines with '#' only works for one line, any more and I get 'incorrect number of headers'
796: [10:55:40] <Zauberfisch23> I prefix each line with a #
797: [10:57:24] <kinglozzer> Wait, no I don't. Maybe it doesn't like multiple '#' on one line
798: [11:00:40] <kinglozzer> Yeah that's what I was doing, then I tried to make things pretty with whole blocks of #
799: [11:00:54] <kinglozzer> Perhaps it doesn't like comments before the first header block or something
800: [11:02:12] <kinglozzer> Yeah, that seems to be what was causing it
801: [11:02:47] * micmania1 has joined #silverstripe
802: [11:03:00] * irogue23 queues up tonight's downloads
803: [11:03:18] <irogue23> <3 snap's unmetered overnights
804: [11:03:23] <irogue23> especially on 100mbps...
805: [11:08:28] * kinglozzer 9mbps
806: [11:08:29] <kinglozzer> http://memeorama.com/wp-content/uploads/2012/01/Okay_guy.jpg
807: [11:12:22] <Zauberfisch23> in austria, they just started to offer 250mbit/s
808: [11:12:31] <Zauberfisch23> for general population
809: [11:12:36] <Zauberfisch23> its 150euro a month or so
810: [11:12:41] * violetina has joined #silverstripe
811: [11:15:35] * travis-ci has joined #silverstripe
812: [11:15:36] <travis-ci> [travis-ci] chillu/silverstripe-framework#120 (pulls/aggregate-zend - 3d08cd8 : Ingo Schommer): The build failed.
813: [11:15:36] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/5ef99bd32a17^...3d08cd8d1768
814: [11:15:36] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/14305238
815: [11:15:36] * travis-ci has left #silverstripe
816: [11:23:10] <Colin[pi]> in Australia we have the super fast NBN! oh wait.......
817: [11:27:27] <kerosene> too soon :/
818: [11:34:54] * Error404NotFound has joined #silverstripe
819: [11:36:30] * Error404NotFound quit (Read error: Connection reset by peer)
820: [11:36:57] * Error404NotFound has joined #silverstripe
821: [11:39:20] * Error404NotFound quit (Read error: Connection reset by peer)
822: [11:43:24] <marvanni> when adding a ShortCodeHandler, I can't use $this, any way of knowing the current Page in a ShortCodeHandler?
823: [11:45:55] * spronk quit (Ping timeout: 252 seconds)
824: [11:49:22] <marvanni> Controller::curr() as a workaround...
825: [12:02:20] * zfmf has joined #silverstripe
826: [12:06:04] <irogue23> Zauberfisch23: nice
827: [12:06:49] <irogue23> they've just started trialling 1gbps for residential here, though i expect it'll be a big price hike from the 100mbps
828: [12:07:27] <ss23> meanwhile, on this shitty ADSL >.>
829: [12:08:06] * Colin[pi] quit (Ping timeout: 240 seconds)
830: [12:09:03] <irogue23> ss23: meanwhile at your house in hamilton there's fibre available :P
831: [12:10:44] <ss23> ikr
832: [12:10:45] <ss23> like
833: [12:10:55] <ss23> When I first checked, I was in the very last rollout because I was on wrong side of street
834: [12:11:03] <ss23> Then I saw they updated to say I got it a while before I left
835: [12:11:03] <ss23> :(
836: [12:11:08] <ss23> IDEK
837: [12:11:51] <irogue23> lol
838: [12:12:08] <irogue23> they just run cables across the street as required
839: [12:12:13] <irogue23> thats what they did here
840: [12:13:15] <ss23> check out this map too
841: [12:13:23] <ss23> wait
842: [12:13:28] <ss23> idk if I can link from here
843: [12:13:34] <ss23> TO IMGUR
844: [12:15:06] <ss23> http://i.imgur.com/W23dTQg.png
845: [12:15:13] <ss23> Has new place and old place on it
846: [12:15:18] <ss23> The universe just has it out for me :(
847: [12:15:38] <irogue23> hahaha
848: [12:23:33] * guci0 quit (Ping timeout: 250 seconds)
849: [12:32:37] <Zauberfisch23> chillu: ping
850: [12:33:13] <Zauberfisch23> chillu: if my "ready to merge" pull request is idling, should I bug someone personally or bump the pull request via commentß
851: [12:33:16] <Zauberfisch23> ?
852: [12:35:50] <ss23> Zauberfisch23: What repo is it for?
853: [12:36:46] <Zauberfisch23> framework
854: [12:37:07] <Zauberfisch23> #2626 and #2650
855: [12:37:17] <Zauberfisch23> https://github.com/silverstripe/silverstripe-framework/pull/2626
856: [12:37:20] <Zauberfisch23> https://github.com/silverstripe/silverstripe-framework/pull/2650
857: [12:39:20] * svandragt quit (Ping timeout: 272 seconds)
858: [12:39:40] <ss23> Ah, sorry, I have no framework access!
859: [12:40:59] <ss23> And now for bed ^.^
860: [12:41:11] <chillu> Zauberfisch23: Ping via @mention of the latest reviewers on the pull request please
861: [12:42:43] * UndefinedOffset has joined #silverstripe
862: [12:43:10] <chillu> Zauberfisch23: https://github.com/silverstripe/silverstripe-framework/pull/2626 can you please squash?
863: [12:43:48] <Zauberfisch23> sure
864: [12:49:27] <kinglozzer> chillu: Yeah I'd noticed things have gone a little quiet, are you guys busy or just not much going on atm?
865: [12:49:41] * micmania1 quit (Ping timeout: 248 seconds)
866: [12:50:31] <chillu> Myself: busy :/ We're trying to get some SS Ltd. staff other than me contributing a bit more in the next weeks
867: [12:51:06] * mojo5000 has joined #silverstripe
868: [12:51:12] <kinglozzer> Cool, won't bug you with my PRs then - as they're not bugfixes :P
869: [12:52:31] * unculture has joined #silverstripe
870: [12:59:31] * travis-ci has joined #silverstripe
871: [12:59:31] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1571 (3.1 - c6cf023 : Ingo Schommer): The build passed.
872: [12:59:31] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/358fd7eb4b67...c6cf023b4210
873: [12:59:31] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/14308651
874: [12:59:31] * travis-ci has left #silverstripe
875: [13:00:37] * micmania1 has joined #silverstripe
876: [13:05:30] <Zauberfisch23> chillu: want me to rais a new pull request for squasched commit (from a new branch) or should I force push over the exisitng commits?
877: [13:05:50] <chillu> nah just forrce push
878: [13:05:57] <Zauberfisch23> (a reason I see for using a new branch would be to keep the history, not a 100% sure if that would be the case if I force push it)
879: [13:06:02] <unculture> Hi there. If I wanted to change the name of the mysite directory on a fresh install of 3.1, how would I go about doing that. I've tried changing the directory name, and the references to mysite in mysite/_config/config.yml and mysite/_config.php and then running sake /dev/build "flush=1". Should that work?
880: [13:06:04] * test_ has joined #silverstripe
881: [13:07:12] * test_ quit (Client Quit)
882: [13:07:13] * ajshort has joined #silverstripe
883: [13:07:25] <Zauberfisch23> chillu: done
884: [13:08:09] <chillu> ok let me know when the build passes?
885: [13:08:31] <Zauberfisch23> copy
886: [13:11:42] * svandragt has joined #silverstripe
887: [13:15:33] * ajshort quit (Quit: Leaving)
888: [13:16:12] * qlex has joined #silverstripe
889: [13:16:25] * qlex says hi
890: [13:16:48] <qlex> could somebody please help me understand this logic behind template code ?
891: [13:16:51] <qlex> <% if $TitleLink %>
892: [13:16:51] <qlex> <a href="$TitleLink" > <h2 class="Title">$Title</h2></a>
893: [13:16:51] <qlex> <% else_if $Link %>
894: [13:16:51] <qlex> <a href="$Link" > <h2 class="Title">$Title</h2></a>
895: [13:16:51] <qlex> <% else %>
896: [13:16:52] <qlex> <h2>$Title</h2>
897: [13:16:52] <qlex> <% end_if %>
898: [13:20:13] <svandragt> If the TitleLink field is filled in, use title link. If it's not use Link field if that is filled in. If both are empty, use Title
899: [13:20:29] <svandragt> without the link
900: [13:22:27] <qlex> where does the client enter those in CMS ?
901: [13:22:38] <qlex> i think i only used Title box to provide title of given page ??
902: [13:22:55] <qlex> i understand the logic of if else if and else
903: [13:23:05] <qlex> but dont know where are the given fields located in cms :)
904: [13:23:12] <Zauberfisch23> chillu: all green
905: [13:24:28] <svandragt> qlex: What version of SilverStripe? if 3.0: Link is the a link based on the URLSegment and is generated based on the Title by default. I've never seen TitleLink so this could be a method on the page type
906: [13:26:34] <qlex> 3.1
907: [13:34:41] <chillu> Zauberfisch23: merged
908: [13:35:06] * travis-ci has joined #silverstripe
909: [13:35:06] <travis-ci> [travis-ci] chillu/silverstripe-framework#121 (pulls/zend-aggregate - 3ed6715 : Ingo Schommer): The build passed.
910: [13:35:06] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/c8caeb8154b8^...3ed67150c242
911: [13:35:06] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/14309910
912: [13:35:06] * travis-ci has left #silverstripe
913: [13:36:42] <Zauberfisch23> chillu: yay
914: [13:41:51] * catcher has joined #silverstripe
915: [13:45:47] * travis-ci has joined #silverstripe
916: [13:45:47] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1574 (3.1 - 70207b0 : Ingo Schommer): The build passed.
917: [13:45:47] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c6cf023b4210...70207b0c9865
918: [13:45:48] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/14310811
919: [13:45:48] * travis-ci has left #silverstripe
920: [13:48:27] * qlex has left #silverstripe
921: [13:57:11] <ARNHOE> I got a form on almost every page and those pages all aren't the same pagetype. But do I need to put the form in allowed_actions on every pagetype or is there a easier solution? Also I am using memberprofiles and on the register page I need to allowed_actions aswell but that means I need to hack Security.php
922: [14:06:20] <kinglozzer> ARNHOE: Not sure about the memberprofiles stuff, but if you set $allowed_actions on Page_Controller, child classes will inherit it
923: [14:06:36] <ARNHOE> yeah, you would think that
924: [14:06:44] <ARNHOE> but thats not the case :o
925: [14:06:55] <ARNHOE> got the allowed_actions in class Page_Controller extends ContentController {
926: [14:08:09] <ARNHOE> or kinglozzer could it be that if I have a empty allowed_actions on class MembersPage_Controller extends Page_Controller { for example, then it wouldnt pick it up?
927: [14:08:39] <kinglozzer> ARNHOE: Yeah, if you set $allowed_actions = array(); that'll override it and allow nothing
928: [14:09:27] <ARNHOE> makes sense... but problems stays when I am on /Security/
929: [14:10:30] <kinglozzer> ARNHOE: Apply an extension to Security
930: [14:10:37] <kinglozzer> With the extra $allowed_actions
931: [14:11:08] <ARNHOE> also found the problem now with logging out. Once I logout on frontend I get a white page, once I logout on /Security/ then there are no problems
932: [14:12:18] <ARNHOE> kinglozzer: DataExtension right ?
933: [14:12:36] <kinglozzer> ARNHOE: Nah, just 'extends Extension' will do
934: [14:13:30] <kinglozzer> Might even be able to use Security: allowed_actions: - MyAllowedAction in config.yml, not sure though
935: [14:15:10] <ARNHOE> using the extension but I think that breaks Security, or shouldnt I just add SubscribeForm ? should I add all the actions that are already orginally there?
936: [14:19:15] <kinglozzer> ARNHOE: Just add SubscribeForm
937: [14:19:41] <kinglozzer> It should merge them IIRC
938: [14:20:33] * Shrike_Finland quit (Quit: Leaving.)
939: [14:27:04] <ARNHOE> kinglozzer: its allowing the action but something else breaks, ill just remove the newsletter subscribe from the security controller
940: [14:30:26] * mojo5000 quit (Remote host closed the connection)
941: [14:31:02] * mojo5000 has joined #silverstripe
942: [14:35:22] <svandragt> Anyone having any problems when adding new pages the request completes ok but the progress bar never finishes, then when I reload the page I have two new items?
943: [14:35:29] * mojo5000 quit (Ping timeout: 272 seconds)
944: [14:51:56] * Error404NotFound has joined #silverstripe
945: [14:52:27] * zippy__ quit (Quit: zippy__)
946: [15:02:58] * Error404NotFound quit (Read error: Connection reset by peer)
947: [15:03:19] <svandragt> Any angles on how I should investigate the problem?
948: [15:04:30] * Error404NotFound has joined #silverstripe
949: [15:12:08] * Error404NotFound quit (Read error: Connection reset by peer)
950: [15:33:53] <zfmf> is ss datamodel supporting mysql transactions??
951: [15:39:57] <Zauberfisch23> no
952: [15:44:16] * DesignerX quit (Ping timeout: 264 seconds)
953: [15:47:20] * Shrike_Finland has joined #silverstripe
954: [15:55:26] * travis-ci has joined #silverstripe
955: [15:55:26] <travis-ci> [travis-ci] chillu/silverstripe-framework#122 (pulls/composer-autoload - ca4a49c : Ingo Schommer): The build has errored.
956: [15:55:26] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/5ef99bd32a17^...ca4a49c4a8ab
957: [15:55:26] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/14317653
958: [15:55:26] * travis-ci has left #silverstripe
959: [15:55:35] * travis-ci has joined #silverstripe
960: [15:55:35] <travis-ci> [travis-ci] chillu/silverstripe-framework#123 (pulls/composer-autoload - 817ff87 : Ingo Schommer): The build failed.
961: [15:55:35] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/ca4a49c4a8ab...817ff877bda0
962: [15:55:35] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/14317709
963: [15:55:35] * travis-ci has left #silverstripe
964: [15:55:50] * violetina quit (Remote host closed the connection)
965: [15:57:24] * Shrike_Finland quit (Ping timeout: 246 seconds)
966: [15:59:11] * travis-ci has joined #silverstripe
967: [15:59:12] <travis-ci> [travis-ci] chillu/silverstripe-framework#124 (pulls/composer-autoload - 817ff87 : Ingo Schommer): The build is still failing.
968: [15:59:12] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/5ef99bd32a17^...817ff877bda0
969: [15:59:12] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/14317834
970: [15:59:12] * travis-ci has left #silverstripe
971: [16:01:13] <catcher> What's considered the best method for adding a CMS action to modeladmin?
972: [16:08:46] * mojo5000 has joined #silverstripe
973: [16:27:09] * ARNHOE quit (Remote host closed the connection)
974: [16:27:22] <micmania1> catcher, an extension is probably best.
975: [16:27:35] <micmania1> depends what you need to do though
976: [16:29:13] * ARNHOE has joined #silverstripe
977: [16:35:41] * Shrike_Finland has joined #silverstripe
978: [16:36:12] * ARNHOE quit (Ping timeout: 272 seconds)
979: [16:37:46] <catcher> subclassing ItemRequest is less painful than expected.
980: [16:38:37] <catcher> Any ideas off-hand on getting the ajax progress spinny circle to show on the button?
981: [16:38:47] <catcher> It'd be rad if it were just an extra class
982: [16:42:41] * kerosene quit (Quit: gn)
983: [16:44:09] <kinglozzer> catcher: It is an extra class, 'loading'
984: [16:44:45] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/blob/3.1/admin/javascript/LeftAndMain.js#L357
985: [16:47:03] <catcher> kinglozzer, great, thanks. Turns out it's being applied as it should.. my button must be lacking the ui-button-icon-primary.
986: [16:47:59] <kinglozzer> Yeah I'm not sure which CSS rule applies it, looking at the scss: button.loading .ui-icon { } should be one of the selectors that triggers it
987: [16:49:08] <catcher> ah, ->setUseButtonTag(true) handles it
988: [16:49:39] <catcher> along with ->setAttribute
989: [16:50:45] <catcher> Any slick way to get the ID in a modeladmin edit form? HiddenField or URL parsing my best 2 options?
990: [16:51:32] <catcher> Hrm, need the classname too
991: [17:18:02] <micmania1> kinglozzer, your PR which means you don't have to create a Controller - did that make it into 3.1.2?
992: [17:19:17] <micmania1> I think I just find a problem :(
993: [17:19:41] <micmania1> If I extend HomePage with no controller, it won't find my HomePage template
994: [17:34:28] * svandragt quit (Ping timeout: 272 seconds)
995: [17:36:27] <kinglozzer> https://github.com/silverstripe/silverstripe-cms/issues/900
996: [17:36:28] * kinglozzer quit ()
997: [18:06:11] * mattybalaam has joined #silverstripe
998: [18:09:58] * gelignite has joined #silverstripe
999: [18:12:38] * mattybalaam quit (Quit: mattybalaam)
1000: [18:13:36] * SightUnseen has joined #silverstripe
1001: [18:13:41] * SightUnseen has left #silverstripe
1002: [18:32:53] * chillu quit (Quit: chillu)
1003: [19:02:17] * zippy__ has joined #silverstripe
1004: [19:05:02] * antmas quit (Quit: Page closed)
1005: [19:06:36] * antmas has joined #silverstripe
1006: [19:06:50] <antmas> mornin
1007: [19:12:08] * Shrike_Finland quit (Quit: Leaving.)
1008: [19:12:37] <guzzlefry> morning sir
1009: [19:14:54] <antmas> so, I'm still a bit miffed on where to use this page creation code
1010: [19:16:08] * chillu has joined #silverstripe
1011: [19:16:28] <antmas> I'm following this principle, http://www.silverstripe.org/general-questions/show/18017, but where exactly is this being run from?
1012: [19:18:00] <antmas> is it a task?
1013: [19:21:13] <antmas> or, am I simply creating a controller?
1014: [19:22:16] * joelpittet has joined #silverstripe
1015: [19:22:58] * oddnoc has joined #silverstripe
1016: [19:29:37] * tankr has joined #silverstripe
1017: [19:33:27] * Ryan-Toast has joined #silverstripe
1018: [19:33:36] <antmas> no one? ;__-
1019: [19:34:28] <guzzlefry> Everyone is still sleeping.
1020: [19:34:29] <guzzlefry> oh wait
1021: [19:34:30] <guzzlefry> Friday
1022: [19:34:36] <antmas> :P
1023: [19:34:41] <antmas> guzzlefry: any ideas?
1024: [19:34:49] * zfmf has left #silverstripe
1025: [19:34:50] <Ryan-Toast> What's going on?
1026: [19:35:32] <simon_w> antmas, if you're using ->write(); ->publish('Stage', 'Live); it's a build task. It should probably be a build task anyway.
1027: [19:36:35] <antmas> simon_w: any reasons why?
1028: [19:37:42] * DigNZ has joined #silverstripe
1029: [19:38:22] * nickmolhoek has joined #silverstripe
1030: [19:41:16] <antmas> hmmmm I think I'll make it task then
1031: [19:43:42] * ARNHOE has joined #silverstripe
1032: [19:45:46] <guzzlefry> So, if I were to write a script to quickly set up Silverstripe on a new Rackspace instance, would anyone actually be interested in that?
1033: [19:46:22] * camfindlay has joined #silverstripe
1034: [19:49:02] <antmas> :O I think it worked
1035: [19:49:07] * antmas is pleased
1036: [19:51:07] <antmas> although I can't see the page anywhere :(
1037: [19:52:21] <antmas> http://www.sspaste.com/paste/show/528e6257895b0
1038: [19:59:32] * Pyromanik has joined #silverstripe
1039: [19:59:45] <Pyromanik> So who's fault is MySQLDatabase::searchEngine() ?
1040: [20:00:00] <Pyromanik> I imagine it's left over from ... 0.3a
1041: [20:05:14] <simon_w> Blame madmatt_
1042: [20:05:41] <Pyromanik> ok
1043: [20:05:48] <Pyromanik> madmatt_: what the hell man
1044: [20:05:59] <Pyromanik> omg
1045: [20:06:01] <Pyromanik> took codine
1046: [20:06:05] <Pyromanik> feel like I'm floating
1047: [20:06:21] <Pyromanik> jufsk
1048: [20:07:00] <Pyromanik> finger need to press down, but float up... how to type?
1049: [20:08:21] <simon_w> Turn keyboard upside, put on top of fingers
1050: [20:09:09] <antmas> codine never did anything for me
1051: [20:09:13] * oddnoc has left #silverstripe
1052: [20:09:25] * oddnoc has joined #silverstripe
1053: [20:09:51] <antmas> ^^^^ anyone? not sure if works
1054: [20:11:08] <simon_w> antmas, uh, that had better not be the entire class
1055: [20:11:30] <antmas> simon_w: no
1056: [20:11:42] <antmas> just that code, am not sure of
1057: [20:12:03] <simon_w> Is it being called?
1058: [20:12:17] <antmas> yup
1059: [20:12:30] * r3v3rb has joined #silverstripe
1060: [20:13:59] * ARNHOE quit ()
1061: [20:15:35] * UncleCheese has joined #silverstripe
1062: [20:19:42] <catcher> I need a controller action to return some DB data to some custom js in the CMS. It'll be used in 2 or 3 unrelated sections. Where should it go?
1063: [20:20:07] <catcher> Putting it on Page seems like overkill.
1064: [20:21:28] <Pyromanik> antmas: I wouldn't be convinced.
1065: [20:21:34] <Pyromanik> if I hadn't just had some.
1066: [20:21:45] <Pyromanik> I was feeling a bit... out of it before I took it.
1067: [20:21:59] <Pyromanik> but I'm pretty sure this is the codine.
1068: [20:22:27] <antmas> Pyromanik: oh I wouldn't doubt it, it can be pretty potent for some people
1069: [20:23:36] <antmas> simon_w: I'm not sure what else I need here http://www.sspaste.com/paste/show/528e69a137694
1070: [20:23:49] <Pyromanik> antmas: despends on dosage too I guess.
1071: [20:24:35] <antmas> Pyromanik: yeah
1072: [20:24:39] <Pyromanik> I have 30mg I think, feeling http://www.youtube.com/watch?v=CAXtDPKkOlA
1073: [20:25:03] <simon_w> antmas, well, syntax error on line 22
1074: [20:25:31] <antmas> simon_w: :P
1075: [20:25:39] <oddnoc> catcher: Sounds like a candidate for a DataExtension
1076: [20:26:08] <simon_w> antmas, sticking an echo 'Done'; at the end of run() is usually helpful
1077: [20:26:35] <catcher> oddnoc, I was thinking that too, but it will only ever need to exist on one page.
1078: [20:27:09] <oddnoc> You could make a quasi-abstract class to subclass from…
1079: [20:27:24] <antmas> simon_w: ah yes
1080: [20:28:16] <antmas> simon_w: where should build tasks typically be stored? right now, I have this in /mysite/tasks
1081: [20:28:42] <simon_w> antmas, that's where I tend to stick them
1082: [20:29:10] <antmas> cool
1083: [20:29:25] <catcher> I just need a simple action to accept a classname & ID, do the ORM lookup, and return the result of a method. Since classname would be passed, I can stick it on any page..
1084: [20:29:45] <catcher> but seems worth asking since there are things to consider like URLs changing & security.
1085: [20:29:46] <antmas> simon_w: so, anything else with my nub code?
1086: [20:30:05] <simon_w> antmas, well, does it work now?
1087: [20:31:07] * unsigned_ has joined #silverstripe
1088: [20:31:24] <simon_w> antmas, also, ContentController::Page('Home'); will throw an E_STRICT
1089: [20:31:37] <simon_w> Use SiteTree::get_by_link or whatever it's called
1090: [20:31:49] <antmas> simon_w: haven't tested again yet
1091: [20:31:52] * unsignedint quit (Read error: Connection reset by peer)
1092: [20:31:53] <antmas> and yeah, changing now
1093: [20:31:55] <Pyromanik> catcher: maybe it's own CMSMain subclass?
1094: [20:31:59] <Pyromanik> Dunno.
1095: [20:33:38] <Pyromanik> but then you could end up with stupid coupling like MySQLDatabase::searchEngine()
1096: [20:34:33] <catcher> Maybe I'll just stick it on my Homepage and be done with it. Seems a little gross, but the URL won't change at least. :-P
1097: [20:37:38] * UncleCheese quit (Quit: UncleCheese)
1098: [20:38:06] <antmas> bah
1099: [20:38:08] <antmas> 404
1100: [20:38:12] * UncleCheese has joined #silverstripe
1101: [20:38:55] * zfmf has joined #silverstripe
1102: [20:40:24] <Pyromanik> antmas: not found!
1103: [20:40:34] <antmas> simon_w: this would be the E_STRICT you mean?
1104: [20:40:34] <antmas> http://www.sspaste.com/paste/show/528e6d7967b1b
1105: [20:40:41] <antmas> Pyromanik: :O
1106: [20:40:53] <simon_w> antmas, yes
1107: [20:41:32] <Pyromanik> E_STRICT ALL OF THE THINGS
1108: [20:42:49] <antmas> $parentPage = SiteTree::get_by_link('<HomePage>'); ?
1109: [20:42:55] * Shrike_Finland has joined #silverstripe
1110: [20:42:59] <antmas> bah, nevermind that link
1111: [20:43:47] <Pyromanik> aww fuck I got the doctor exterminated!
1112: [20:43:53] <Pyromanik> google.com
1113: [20:44:53] <Stomach> yeah i killed him twice already
1114: [20:44:55] <Stomach> whoops.
1115: [20:45:03] <simon_w> Oh right, I'm going to get an email to download that episode soon
1116: [20:47:35] <Pyromanik> When I was getting stitches in my head, the doctor (lol rite?) was talking to me about going to see the day of the doctor in the theatre in 3d
1117: [20:49:58] <antmas> or
1118: [20:50:03] <antmas> is it like $parentPage = SiteTree::get_by_link(which variable?, false);
1119: [20:50:16] <antmas> Pyromanik: is it in the theatre now?
1120: [20:50:23] <Ryan-Toast> Pyromanik: I really wanted to see it in theatres until I saw it was only 3D.
1121: [20:50:58] <Ryan-Toast> Fuck that noise.
1122: [20:55:00] * catcher quit (Quit: Leaving)
1123: [20:56:51] <simon_w> antmas, SiteTree::get_by_link('home');
1124: [20:57:28] <antmas> simon_w: ah
1125: [20:57:56] <antmas> that's what gives me the 404
1126: [20:59:23] <Pyromanik> gutys
1127: [20:59:26] <Ryan-Toast> Bah, fucking weeping angels.
1128: [20:59:28] <Pyromanik> pimsotasjk
1129: [20:59:41] <Pyromanik> antmas: Hoyts Riccarton
1130: [20:59:52] <Pyromanik> and a couple of other selected hoyts around the country
1131: [20:59:58] <antmas> Pyromanik: LAME
1132: [21:00:07] <antmas> come2nelsonplzkthnxbai
1133: [21:00:07] <Pyromanik> possibly other companies too, but i know hoyts for sure
1134: [21:00:16] <Pyromanik> antmas: just drive to chc
1135: [21:00:19] <Pyromanik> i'll go with you
1136: [21:00:33] * antmas prefers to stay away from chch
1137: [21:00:39] <Pyromanik> it's safe.
1138: [21:00:47] <Pyromanik> well
1139: [21:00:49] <antmas> Pyromanik: drive to Nelson, drug driving ftw
1140: [21:00:58] <Pyromanik> unless you ride mountain bikes off of hills.
1141: [21:01:08] <Pyromanik> antmas: I can't drive :(
1142: [21:01:23] <Pyromanik> I can't reach (or probably pull if I could) the gear lever.
1143: [21:01:45] <antmas> Pyromanik: :(
1144: [21:01:51] <Pyromanik> ikr
1145: [21:01:55] <Pyromanik> although
1146: [21:02:05] <antmas> so
1147: [21:02:07] <antmas> that code
1148: [21:02:12] <antmas> 404s :(
1149: [21:02:13] <Pyromanik> ACC woman pointed out yesterday, probably not insured anymore since I was probably concussed.
1150: [21:02:13] <antmas> I has sad
1151: [21:02:31] <Pyromanik> I didn't want to tell her that a) never confirmed concussion, I think it was more serious
1152: [21:02:38] <Pyromanik> and b) car isn't insured anyway :<
1153: [21:02:41] <Pyromanik> and c) not my car.
1154: [21:03:02] <Pyromanik> Although if I crashed it I'd cry like it was.
1155: [21:03:10] <Pyromanik> KP20 :D
1156: [21:03:35] <antmas> Pyromanik: :O
1157: [21:03:38] <antmas> bug eye?
1158: [21:03:49] <Pyromanik> ah fuck, KP60 ?
1159: [21:03:57] <Pyromanik> IDEK starlets :<
1160: [21:04:02] <antmas> lol
1161: [21:04:08] <antmas> annnnnnndd car talk begins
1162: [21:04:14] * Pyromanik blames head injury
1163: [21:04:20] <Pyromanik> it's a sprint antmas!
1164: [21:04:29] <Pyromanik> (ie, starlet sprint)
1165: [21:04:37] <Pyromanik> 1983 ish.
1166: [21:04:42] <antmas> 404!
1167: [21:04:43] <antmas> $parentPage = SiteTree::get_by_link('home');
1168: [21:04:43] <Ryan-Toast> I miss my 323 :(
1169: [21:04:44] <antmas> halp!
1170: [21:04:45] <Pyromanik> 4K, 5spd box, etc.
1171: [21:05:02] <Pyromanik> Ryan-Toast: 323, forbidden on steroids?
1172: [21:05:07] <antmas> my Sr was a 4k twinC, 5 speed
1173: [21:05:16] <Ryan-Toast> Pyromanik: lol, mazda 323
1174: [21:05:29] <Pyromanik> antmas: define Sr ?
1175: [21:05:37] <antmas> SR coupe KE35
1176: [21:05:52] <Pyromanik> Ryan-Toast: I know, but this is a mazda free zone. Let me have my ignorance.
1177: [21:06:02] <Pyromanik> antmas: ah, course.
1178: [21:06:08] <Pyromanik> SR5 :F
1179: [21:06:10] <Pyromanik> :D *
1180: [21:06:17] <antmas> my first car was a 323
1181: [21:06:22] <Ryan-Toast> Pyromanik: Why mazda hate?
1182: [21:06:23] <antmas> drove like a washing machine
1183: [21:06:28] <Pyromanik> Ryan-Toast: coz.
1184: [21:06:36] <Pyromanik> Toyota love <3
1185: [21:07:03] <Ryan-Toast> Pyromanik: Well it was more of a frankenstein: http://i.imgur.com/KKYQUMO.jpg
1186: [21:07:10] <Ryan-Toast> R.I.P 323
1187: [21:08:39] <antmas> I miss my GTO the most :(
1188: [21:09:41] <Ryan-Toast> antmas: I miss mine, because I'd only just finished building it when some fucks towed it away never to be seen again.
1189: [21:10:25] <antmas> Ryan-Toast: guts
1190: [21:11:02] <antmas> would be pretty metal though, if it was used as a murder getaway car
1191: [21:11:18] <Ryan-Toast> antmas: Yup, that's why I have bikes now. I can always park them within eyesight.
1192: [21:11:34] <Ryan-Toast> antmas: They would have gutted it for the turbo.
1193: [21:11:38] <Ryan-Toast> antmas: and the front mount
1194: [21:11:40] * r3v3rb quit (Quit: r3v3rb)
1195: [21:11:56] <antmas> Ryan-Toast: they're cheap these days though aren't they?
1196: [21:12:55] <antmas> I have no idea how the TT GTOs could ever fit the turbos in
1197: [21:13:08] <antmas> my non-turbo had no room in there without them
1198: [21:13:21] <Ryan-Toast> antmas: Yeah, but they would have made good coin off the z20 turbo, hilux diff and the wheels/sounds.
1199: [21:13:37] <antmas> Ryan-Toast: yeah most likely
1200: [21:13:58] <Ryan-Toast> antmas: Sometimes I have dreams where I find out where they live and I go on a bat rampage.
1201: [21:15:01] <Ryan-Toast> antmas: My escort got stolen outside my house 5 times while I owned it, but since it had a fuel cutoff switch I'd find it 400meters down the road.
1202: [21:15:31] <antmas> Ryan-Toast: XD
1203: [21:16:00] * DesignerX has joined #silverstripe
1204: [21:17:35] <Ryan-Toast> antmas: Was super fun finding ignition barrels every time ><
1205: [21:18:03] <antmas> just spotted my old KE35
1206: [21:18:04] <antmas> http://www.trademe.co.nz/motors/used-cars/toyota/sr/auction-665165213.htm
1207: [21:18:08] <antmas> completely changed now
1208: [21:18:26] <Ryan-Toast> antmas: Nice.
1209: [21:18:36] <Ryan-Toast> antmas: Needs some different wheels though.
1210: [21:18:39] <antmas> yeah
1211: [21:18:44] <antmas> are those spitfires?
1212: [21:18:47] <antmas> or modgies?
1213: [21:18:56] <Ryan-Toast> antmas: Not modgies
1214: [21:19:27] <antmas> I like the louvres though
1215: [21:19:50] <antmas> $parentPage = SiteTree::get_by_link('home'); I need halp :(
1216: [21:20:37] <Ryan-Toast> antmas: Wow that black ke30 that has been on for ~5 years is gone!
1217: [21:23:05] <antmas> wait
1218: [21:23:12] <antmas> it was working this whole time?
1219: [21:23:15] <antmas> weird
1220: [21:24:27] <antmas> simon_w: thanks man, tis working now :D
1221: [21:25:52] * UndefinedOffset quit (Quit: Leaving.)
1222: [21:26:30] <antmas> who is a good person to ask about CSV importing? :)
1223: [21:28:06] <zippy__> simon :)
1224: [21:28:21] <zippy__> whats the beef?
1225: [21:29:53] <antmas> zippy__: well, I'd like to use it to import a bunch of data for adding new pages ala my code from before
1226: [21:29:56] * svandragt has joined #silverstripe
1227: [21:30:58] <zippy__> antmas: one time?
1228: [21:31:45] <antmas> zippy__: we.. hopefully yeah
1229: [21:31:48] <antmas> well*
1230: [21:31:55] <antmas> 49 pages in total
1231: [21:32:00] <antmas> all the same, bar content
1232: [21:33:13] <zippy__> custom function, use http://php.net/manual/en/function.fgetcsv.php - just reference the file direct (no upload) since it's a one time thing
1233: [21:34:06] <antmas> zippy__: nice
1234: [21:34:07] <antmas> thanks
1235: [21:34:39] <antmas> another aspect is
1236: [21:34:54] * svandragt1 has joined #silverstripe
1237: [21:35:02] * svandragt quit (Read error: Connection reset by peer)
1238: [21:35:10] * zfmf has left #silverstripe
1239: [21:35:10] <antmas> on Page, there is a tab with fields, how would I insert data for those fields?
1240: [21:35:39] <Pyromanik> antmas: listen to this
1241: [21:35:41] <Pyromanik> http://www.filedropper.com/gangsters
1242: [21:35:54] <Pyromanik> tell me, what does the man say?
1243: [21:36:39] <zippy__> antmas: what are the fields?
1244: [21:36:46] <Pyromanik> or anyone.
1245: [21:36:49] * zfmf has joined #silverstripe
1246: [21:36:51] <Pyromanik> zippy__: you too.
1247: [21:36:59] <UncleCheese> are chillu or wilr in the house?
1248: [21:37:24] <zippy__> I think you'll be looping the csv, then doing $NewPage = Page(); //whatever instance typ, then doing $NewPage->field = $csvline[0]; (whatever) then $NewPage->write(); and then push live
1249: [21:37:47] <UncleCheese> simon_w: have you used the fulltextsearch/solr module?
1250: [21:37:51] <zippy__> Pyromanik: oh man, I gota download the file!
1251: [21:38:02] <simon_w> Ahahahaa, no
1252: [21:38:09] <simon_w> I like the remnants of my sanity :p
1253: [21:38:22] <antmas> zippy__: 2 fields to geotag a page (lat and longs)
1254: [21:38:30] <zippy__> Pyromanik: No we are russian
1255: [21:38:53] <Pyromanik> zippy__: that's what the man says?
1256: [21:38:57] <zippy__> yes
1257: [21:39:03] <Pyromanik> WRONG, IT'S A WOMAN
1258: [21:39:06] <Pyromanik> xD
1259: [21:39:15] <Pyromanik> (no, actually serious, it's a woman.)
1260: [21:39:21] <Pyromanik> amazing right?
1261: [21:39:30] <zippy__> a woman with balls
1262: [21:39:35] <Pyromanik> nup
1263: [21:39:47] <Pyromanik> a woman with serious smoker's lung perhaps, but no balls.
1264: [21:39:50] * svandragt1 quit (Read error: No route to host)
1265: [21:39:56] * svandragt has joined #silverstripe
1266: [21:40:59] <Pyromanik> zippy__: http://www.youtube.com/watch?v=s7uueEXMk7E&t=1m25s
1267: [21:41:33] <Pyromanik> great movie. First one great too.
1268: [21:41:43] <Pyromanik> http://furiosity.tumblr.com/post/14527398945/are-yall-gangsters-no-we-are-russians
1269: [21:41:50] <Pyromanik> song... great if you're into it.
1270: [21:41:58] <antmas> zippy__: ^^^???
1271: [21:42:02] * oddnoc quit (Quit: bye!)
1272: [21:42:47] <Pyromanik> antmas: you're amazed that it's a woman too, or are you still confused about importing data?
1273: [21:42:52] <zippy__> data
1274: [21:43:15] <zippy__> antmas: it's just doing $NewPage->latfield = $csvline[xxx];
1275: [21:43:21] <Pyromanik> foreach($csvline as $line) ^
1276: [21:43:30] <Pyromanik> etc
1277: [21:43:58] <zippy__> then write and publish and move on
1278: [21:44:33] <antmas> oh nice
1279: [21:44:58] * svandragt1 has joined #silverstripe
1280: [21:45:54] <Pyromanik> "Usage by services: The data were not collected yet" - Thanks plesk!
1281: [21:46:00] * svandragt quit (Ping timeout: 246 seconds)
1282: [21:46:06] <zippy__> plesk makes me rage!
1283: [21:46:17] <Pyromanik> because the data were not collected?
1284: [21:46:22] <zippy__> because it's a PITA
1285: [21:46:25] <Pyromanik> dat lazy plesk
1286: [21:46:35] <Pyromanik> collect the datas already, gawsh!
1287: [21:48:24] <Pyromanik> but yeh zippy__, quite a pita.
1288: [21:48:59] <ss23> Anyone have an objection to ?flush=all clearing the APC cache too, as well as templates?
1289: [21:49:54] <AlphaCactus> would you not want it to do that?
1290: [21:51:15] * svandragt1 quit (Ping timeout: 246 seconds)
1291: [21:51:44] <simon_w> ss23, yes
1292: [21:51:47] <zippy__> would that clear out the APC cache server wide, or is it possible to restrict to a certain set of files / domain?
1293: [21:52:44] <antmas> zippy__: how would I prevent NewPage from showing in menus on publish?
1294: [21:52:48] <ss23> simon_w: Why, and do you have a better place to do it?
1295: [21:52:50] <ss23> zippy__: Server wide
1296: [21:53:05] <AlphaCactus> oh server wide could be bad
1297: [21:53:14] <simon_w> ss23, because it has a kv store too
1298: [21:53:14] <zippy__> antmas: $NewPage->ShowInMenu = false; I think
1299: [21:53:15] <camfindlay> flush=apc? = flush=all + flushes apc?
1300: [21:53:22] <Pyromanik> zippy__: not as much of a PITA as trying to get default site search to do custom dataobjects also.
1301: [21:53:22] <antmas> zippy__: ty
1302: [21:53:34] <ss23> camfindlay: Could work. Would you be happy with that, simon_w?
1303: [21:53:38] <ss23> simon_w: I know it has a kv store
1304: [21:54:12] <ss23> If I'm reading the docs right though, you can clear the opcode cache and not the kv cache
1305: [21:54:18] <camfindlay> what about people using other types of caching though? xcache and the likes?
1306: [21:54:19] <ss23> (And even then, I'm not sure clearing the kv cache would be bad)
1307: [21:54:33] <ss23> camfindlay: Could call it ?flush=actuallyAll?
1308: [21:54:34] <ss23> :P
1309: [21:54:45] <ss23> flush=silverstripe_real_flush_string
1310: [21:54:50] <simon_w> camfindlay, xcache does its checks based on mtime
1311: [21:54:50] <ss23> But I guess you guys are right
1312: [21:54:59] <simon_w> ss23, also, why bother? APC is dead
1313: [21:55:05] <ss23> simon_w: Becuase people are still using it
1314: [21:55:08] <ss23> simon_w: APC does too iirc, but it has bugs with symlinks
1315: [21:55:12] <camfindlay> flush=the_stash
1316: [21:55:16] <ss23> XD
1317: [21:55:36] <Pyromanik> flourish=allofthethings
1318: [21:56:22] <antmas> zippy__: hmmmm, nope
1319: [21:56:27] <simon_w> ss23, so get them to do a service apache2 graceful on deploy?
1320: [21:56:40] <ss23> simon_w: Or do this?
1321: [21:56:55] <zippy__> antmas: ShowInMenus :)
1322: [21:57:00] <Pyromanik> how to do like explode but with \t\n ,.\whatever?
1323: [21:57:02] <ss23> We've already dealt with it as part of our deployment process, so it's not an issue for us
1324: [21:57:11] <antmas> zippy__: XD ofc
1325: [21:57:33] <simon_w> ss23, you mean build support for something with a small percentage of use into core? No.
1326: [21:57:38] <simon_w> Make it a module if you must.
1327: [21:57:50] <zippy__> Pyromanik: explode("\t\n", $foo) ?
1328: [21:57:53] <Pyromanik> simon_w: so like most of the core? xD
1329: [21:58:01] <Pyromanik> zippy__: oh that works?
1330: [21:58:04] <zippy__> yus
1331: [21:58:05] <ss23> simon_w: We stll have support for magic_quotes in there. I'm willing to bet the number of APC users is higher than that
1332: [21:58:19] <Pyromanik> zippy__: but doesnt' it match on whole string only, not just parts?
1333: [21:58:32] <simon_w> Pyromanik, most of the core isn't supporting some 3rd party service
1334: [21:58:54] <Pyromanik> yes and no. APC is core PHP isn't it?
1335: [21:58:54] <zippy__> Pyromanik: yes, so your not after \t\n your after \t or \n or \r ?
1336: [21:59:03] <simon_w> ss23, nope
1337: [21:59:06] <Pyromanik> zippy__: umm, yes.
1338: [21:59:07] <Pyromanik> sorry
1339: [21:59:11] <ss23> simon_w: "nope" what
1340: [21:59:12] <simon_w> ss23, you removed it, remember?
1341: [21:59:21] <ss23> simon_w: No, I added deprecation warnings
1342: [21:59:21] <Pyromanik> hahahaah
1343: [21:59:25] <Pyromanik> he did too, I was even there!
1344: [21:59:32] <Pyromanik> oh
1345: [21:59:33] <Pyromanik> :<
1346: [21:59:35] <ss23> simon_w: I wanted to remove it, but I was told "we have no reason to actually remove it, so just prevent new installs and show an error message"
1347: [21:59:49] <ss23> SilverStripe has the expliict intention of supporting things for a *very* small percantage of uses
1348: [21:59:56] <Pyromanik> break all the compatibilities.
1349: [22:00:38] <zippy__> Pyromanik: maybe look at preg_split and split on space/newlines
1350: [22:00:54] <Pyromanik> gaiz, thinking I might fork SS and call it "Gold Stripper" or maybe plural strippers. what think?
1351: [22:01:08] <Pyromanik> zippy__: oh, cool, I didn't realise there was a preg_split
1352: [22:01:11] <Pyromanik> thanks!
1353: [22:01:26] <simon_w> ss23, anyway, this is something that has no gain in core and works fine as a module. The recursive stripping of slashes isn't in that case.
1354: [22:02:25] <ss23> Granted
1355: [22:10:26] * spronk has joined #silverstripe
1356: [22:11:53] <mobiusnz> what happened to RestfulServer in 3.x?
1357: [22:12:15] <mobiusnz> ah, module
1358: [22:14:19] <zippy__> it seems even the static publisher in 3.1 has been pulled out to a module
1359: [22:14:25] <zippy__> how come everything is going to modules it seems?
1360: [22:15:49] <simon_w> Because Composer is so amazing there's no need for everything to be in core
1361: [22:17:59] <ss23> lol
1362: [22:18:09] <ss23> Modules aren't *bad*, but I do have to wonder about it
1363: [22:18:35] <zippy__> mmmm…. pull things out, make modules, if tests fail on those it doesn't matter since it's not "core" so faster releases
1364: [22:18:50] * Colin[pi] has joined #silverstripe
1365: [22:18:57] <ss23> Right up until someone makes a change in framework that breaks CMS, and CMS doesn't have tests because of it
1366: [22:19:01] <ss23> :P
1367: [22:19:04] <simon_w> Modules then stagnate and are no longer useable
1368: [22:19:37] <mobiusnz> hmm, any idea why I'm getting Class 'SS_LogErrorFileFormatter' not found?
1369: [22:20:06] <simon_w> Because it's not found?
1370: [22:20:12] * simon_w does'
1371: [22:20:28] * simon_w doesn't have Sublime open so is a lot less useful :p
1372: [22:21:01] <mobiusnz> yeah, but why isn't it found.. isn't it part of the core?
1373: [22:21:37] <Colin[pi]> morning all
1374: [22:21:50] <simon_w> Morning Colin[pi]
1375: [22:21:55] <antmas> Colin[pi]: !
1376: [22:21:59] <antmas> Colin[pi]: :D HI!
1377: [22:22:02] <ss23> mobiusnz: rm -rf /tmp/silverstripe* /var/log/silverstripe* silverstripe-cache/*
1378: [22:22:04] <Colin[pi]> :D
1379: [22:22:05] <ss23> mobiusnz: AKA CLEAR UR CACHES
1380: [22:22:13] <ss23> mobiusnz: If that doesn't work, cry
1381: [22:22:16] <Colin[pi]> mmm dat coffee
1382: [22:22:20] * Colin[pi] needs it
1383: [22:22:27] <Colin[pi]> MY PRECIOUS
1384: [22:22:39] * ss23 is chugging back coke
1385: [22:22:46] <antmas> someone left Freddo Frogs on my desk
1386: [22:22:55] <Colin[pi]> ss23 good for your DIABEETUS
1387: [22:23:45] <AlphaCactus> isn't coke smoked or snorted?
1388: [22:24:48] <mobiusnz> ss23: I don't have a /tmp/silverstripe*
1389: [22:25:45] <ss23> mobiusnz: I added the 3 since I don't know where your files will be cached
1390: [22:25:46] <ss23> Colin[pi]: YOU KNOW IT :D
1391: [22:26:06] <Colin[pi]> ss23: my ex-boss had diabeetus and drank 2L of regular coke per day
1392: [22:26:08] <mobiusnz> hmm.
1393: [22:26:36] <Colin[pi]> that was until his eyesight started failing him, a leg infection took 3 months to heal, and his blood sugar meter said "ERROR" ;)
1394: [22:26:38] <mobiusnz> simon_w: SS_LogErrorFileFormatter appears to be in framework/dev/LogEmailFileFormatter.php
1395: [22:28:21] * will__ has joined #silverstripe
1396: [22:29:33] * camfindlay quit (Quit: camfindlay)
1397: [22:29:52] <mobiusnz> http://www.sspaste.com/paste/show/528e873bcf1fa is my stacktrace
1398: [22:33:20] <Pyromanik> I just wanna let everyone know that I got an undercut.
1399: [22:33:42] * gelignite quit (Quit: http://bit.ly/nkczDT)
1400: [22:34:11] <Pyromanik> I pretty much look like this now: http://i3.photobucket.com/albums/y53/SmilingTreeFrog/Trunks.jpg
1401: [22:34:30] <Pyromanik> 11:29 < mobiusnz> http://www.sspaste.com/paste/show/528e873bcf1fa is my stacktrace
1402: [22:34:36] <Pyromanik> Totally misread that as "trackface"
1403: [22:34:43] <Pyromanik> I was like 'ooh, sounds painful'
1404: [22:35:24] * unit923 has joined #silverstripe
1405: [22:35:28] <unit923> hi everyone
1406: [22:35:47] <unit923> for one page, i need to change how $Content works
1407: [22:36:07] <unit923> i need it to load in the contents of a template file, instead of reading from the cms field
1408: [22:36:11] <unit923> its for a subscribe page
1409: [22:36:26] <Pyromanik> unit923: don't make a page.
1410: [22:36:30] <Pyromanik> or do, but don't.
1411: [22:36:31] <Pyromanik> or soemthing
1412: [22:36:37] <Pyromanik> sorry, I'm confusing you.
1413: [22:36:39] <unit923> I have Page -> ContentPage so far
1414: [22:36:39] <Pyromanik> do this
1415: [22:36:52] * camfindlay has joined #silverstripe
1416: [22:36:59] <Pyromanik> class SubscribePage extends Page {
1417: [22:36:59] <unit923> and i want to keep all the side bar, nav, etc stuff in ContentPage
1418: [22:37:05] * camfindlay quit (Client Quit)
1419: [22:37:07] <Pyromanik> or contentPage then
1420: [22:37:12] <unit923> yep, ive got that so far
1421: [22:37:43] * camfindlay has joined #silverstripe
1422: [22:37:56] <unit923> but when i create SubscribePage.ss, ContentPage.ss no longer gets used
1423: [22:37:57] * camfindlay quit (Client Quit)
1424: [22:38:09] <unit923> so i would be forced to duplicate stuff from ContentPage.ss into SubscribePage.ss
1425: [22:38:17] <unit923> which i obviously dont want to do
1426: [22:38:18] <Pyromanik> public function getContent() { $viewer = new SSViewer('templateName'); return $viewer->process(ArrayData::create(array('TemplateVar' => 'value', 'TemplateVar' => 'val2')));
1427: [22:38:21] <Pyromanik> etc
1428: [22:38:24] <Pyromanik> }
1429: [22:38:26] <Pyromanik> }
1430: [22:38:35] <Pyromanik> should do the trick.
1431: [22:39:03] <Pyromanik> where are you from unit923 ?
1432: [22:39:22] <Pyromanik> and are you a developer?
1433: [22:39:57] <mobiusnz> hmm, it seems even my dev/build is breaking
1434: [22:39:58] <mobiusnz> help!
1435: [22:40:07] <unit923> melbourne, and yes i'm a developer
1436: [22:40:37] * antmas quit (Ping timeout: 250 seconds)
1437: [22:42:41] <mobiusnz> ah, found it
1438: [22:42:52] <mobiusnz> had to comment out my logging in _config.php to allow it to build
1439: [22:45:18] <will__> hello. "SilverStripe comes with a default phpunit.xml.dist that you can use as a starting point"
1440: [22:45:29] <will__> mine didn't : /
1441: [22:46:08] <will__> is there an example one somewhere?
1442: [22:46:26] <Pyromanik> unit923: cool, welcome to the IRC channel :)
1443: [22:46:33] * mobiusnz has left #silverstripe
1444: [22:46:47] <Pyromanik> will__: sure
1445: [22:46:47] <ss23> Colin[pi]: Yeah but I'm type 1!
1446: [22:46:51] <ss23> Aka "its not my fault" diabetes
1447: [22:46:51] <ss23> :D
1448: [22:46:53] * mobiusnz has joined #silverstripe
1449: [22:47:01] <Pyromanik> will__: https://github.com/silverstripe/silverstripe-installer/
1450: [22:47:17] <mobiusnz> hey I think this might be broken:
1451: [22:47:17] <Pyromanik> will__: how did you install SS ?
1452: [22:47:18] <mobiusnz> Table Tupuna options changed: ENGINE=InnoDB
1453: [22:47:18] <mobiusnz> [User Error] Couldn't run query: ALTER TABLE "Tupuna" ADD fulltext "Search" (Name) The used table type doesn't support FULLTEXT indexes
1454: [22:47:29] <will__> composer
1455: [22:47:31] <Pyromanik> mobiusnz: hahahahaah
1456: [22:47:54] <Pyromanik> will__: yeah, that... hmm interesting. must need 'dev' specificiation to include the unit tests
1457: [22:47:59] <will__> and then installed the dev bit: composer update --dev
1458: [22:48:07] <Pyromanik> will__: oh, hmm.
1459: [22:48:26] <Pyromanik> will__: interesting, because the phpunit.xml.dist is in the repository
1460: [22:48:31] <Pyromanik> https://github.com/silverstripe/silverstripe-installer/blob/3.1/phpunit.xml.dist
1461: [22:48:36] <will__> if i go to the tests url it lets me do the built in stuff, but phpunit command line just ignores me
1462: [22:49:04] <Pyromanik> will__: oh, did you composer create-project silverstripe-installer ?
1463: [22:49:17] <Pyromanik> or did you specifically do framework & cms ?
1464: [22:49:27] <Pyromanik> or use some kind of custom json recipe
1465: [22:49:28] <Pyromanik> ?
1466: [22:50:00] <will__> yep
1467: [22:50:09] <Pyromanik> yep ?
1468: [22:50:12] <UncleCheese> irogue23: are you here?
1469: [22:50:15] <will__> silverstripe installer like it says on the site
1470: [22:50:20] <mobiusnz> FUUU SS… stop changing my table types!
1471: [22:50:34] <Pyromanik> will__: interesting. the xml.dist is part of the installer repo (as I linked before).
1472: [22:50:52] <Pyromanik> will__: I guess this is just yet another reason composer is a terrible tool!
1473: [22:50:55] <Pyromanik> xD
1474: [22:50:58] <will__> bum.
1475: [22:51:17] <Pyromanik> will__: dont' get me wrong. Composer a fanstastic idea, just... poor execution.
1476: [22:51:25] <Pyromanik> mobiusnz: inno is default type now.
1477: [22:51:26] <will__> oh god don't say that, spent all of yesterday arvo getting it all working installing modules & everything (with help on here)
1478: [22:51:44] <Pyromanik> will__: oh don't get me wrong again, I'm one of the outspoken few.
1479: [22:51:48] <Pyromanik> most folks love it.
1480: [22:51:58] <mobiusnz> Pyromanik: yeah, but my other table that has a fulltext says "table not changed due to fulltext"
1481: [22:52:09] <Pyromanik> but, whenever I've tried to learn, it's given me issue after issue such as what you have now.
1482: [22:52:58] <Pyromanik> mobiusnz: yeh, they can change the type by specifying (eg applying fulltextSearchable extension will switch a table type back to myIsam), it sounds like a bug.
1483: [22:53:23] <Pyromanik> a bug in the order of detecting fulltext, etc.
1484: [22:53:41] <Pyromanik> decision tree or whatever. dunno. I don't tend to go near DB's
1485: [22:59:12] <will__> ok iv'e copied that xml file over and now phpunit will talk to me. But its running all the tests not jus mysite tests when i do "phpunit mysite/tests"
1486: [22:59:31] <will__> and then it blows up the memory doing MemberTest.php
1487: [22:59:36] <will__> which is sad : )
1488: [23:01:48] <zippy__> SS 2.4~ no good with php 5.4 ?
1489: [23:02:40] * antmas has joined #silverstripe
1490: [23:03:24] <antmas> http://www.stuff.co.nz/science/9430243/New-island-off-Japan-after-eruption
1491: [23:03:25] <antmas> Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
1492: [23:04:16] <antmas> anyway....
1493: [23:04:28] <antmas> thanks for the help with CSV import, page creation, worked like a charm :D
1494: [23:05:12] <Pyromanik> zippy__: guts no pics
1495: [23:05:13] <Pyromanik> http://www.imdb.com/name/nm1891048/?ref_=tt_cl_t7
1496: [23:06:54] <Pyromanik> will__: not sure sorry. I don't normally test.
1497: [23:07:07] <Pyromanik> naughty of me I know, but my workplace doesn't call for it so I've never learnt.
1498: [23:07:29] <zippy__> Pyromanik: what?
1499: [23:08:22] * unculture quit (Remote host closed the connection)
1500: [23:12:23] <Pyromanik> zippy__: that's the woman who says that they are not gangsters.
1501: [23:12:35] <zippy__> guts no pics ?
1502: [23:12:41] <Pyromanik> yeh
1503: [23:12:47] <Pyromanik> little bit
1504: [23:13:08] <Pyromanik> found out codeine is an opiate.
1505: [23:13:16] <Pyromanik> a bit dark it's so shit tbh.
1506: [23:14:26] <Colin[pi]> you.. you didn't know codeine was an opiate?
1507: [23:15:18] <Pyromanik> I did not.
1508: [23:15:24] <Pyromanik> I knew tramadol was.
1509: [23:15:28] <Pyromanik> they gave me that in the ambo
1510: [23:15:47] <Pyromanik> it was extremely shit, I didn't even feel any different :<
1511: [23:16:03] <Pyromanik> just found out codine is on the same level in grades of pain relief.
1512: [23:16:50] <Pyromanik> just makes it hard(er) to concentrate.
1513: [23:17:43] <Pyromanik> why the fuck is plesk blocking me (the administrator) from making a database :<
1514: [23:17:59] <ss23> >plesk
1515: [23:18:01] <ss23> need I say more?
1516: [23:18:33] <unit923> pyromanik: thx btw, that $viewer = new SSViewer('SubscribeForm'); etc snippit helped lots
1517: [23:19:45] <Pyromanik> antmas: here's something you don't really expect: http://www.youtube.com/watch?v=xjAgkUiGzbE
1518: [23:19:48] <Pyromanik> unit923: sweet :D
1519: [23:20:16] <Pyromanik> unit923: ps, use SS's form elements to build forms. Don't hard code them in templates :<
1520: [23:20:25] <Pyromanik> ss23: yeh nah.
1521: [23:23:26] <Pyromanik> unit923: eg. Form::create($this, __FUNCTION__, FieldList::create(TextField::create('cm-name', 'Name'), EmailField::create('cm-email', 'Email')), FieldList::create(FormAction::create('doSubscribe', 'Subscribe')), RequiredFields::create('cm-name', 'cm-email'))->setFormAction('http://campaignmonitor/subscribe/to/your/list');
1522: [23:26:04] <ss23> simon_w: lunch today? ^.^
1523: [23:34:53] * camfindlay has joined #silverstripe
1524: [23:34:59] <Colin[pi]> BOIGER FOOL
1525: [23:36:20] <ss23> boggers, fool!
1526: [23:36:31] <Colin[pi]> BOOGER POOL
1527: [23:39:34] <ss23> BUGGER COOL
1528: [23:39:42] <Colin[pi]> BANANA COCK
1529: [23:39:49] <Colin[pi]> oh wait that went a bit far
1530: [23:39:51] <ss23> FUCK FUCK
1531: [23:39:56] <Colin[pi]> LOUD NOISES
1532: [23:40:02] <ss23> CUNT CUNT
1533: [23:40:13] <Colin[pi]> ooh that boosted your rank on the stats
1534: [23:40:15] <ss23> :D
1535: [23:40:24] <ss23> Who has the biggest cunt atm?
1536: [23:41:05] * ss23 waits for it to load o.o
1537: [23:41:35] <Colin[pi]> <+ss23> Who has the biggest cunt atm? -- ummm, dunno, maybe Kim Kardashian?
1538: [23:41:58] <ss23> xD
1539: [23:43:05] <ss23> http://logs.simon.geek.nz/stats.php
1540: [23:43:08] <ss23> IT'S MEEEEEEEEE
1541: [23:43:08] <ss23> :D
1542: [23:43:29] <Colin[pi]> woah you've taken a significant lead
1543: [23:44:07] <ss23> simon_w: One more subsites and you'll be beating CIA!
1544: [23:44:08] <ss23> :D
1545: [23:44:40] <Colin[pi]> you mean spronk
1546: [23:45:06] <ss23> yes
1547: [23:45:08] <ss23> :(
1548: [23:45:09] <Colin[pi]> lol safari: simon_w: 185, next person 41
1549: [23:45:15] <ss23> XD
1550: [23:45:23] <Colin[pi]> bit of a bias there? lol
1551: [23:47:16] * Ryan-Toast quit (Quit: Ryan-Toast)
1552: [23:58:20] * zfmf has left #silverstripe
1553: [23:58:46] <ss23> "oh god why is this server at 5 load?!" "oh.. running postgres :/"
1554: [23:58:47] <ss23> #fuckpostgres

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