#silverstripe IRC Log

IRC log for 7 October 2013

All timestamps are in UTC.

1: [00:00:02] <simon_w> Dammit
2: [00:00:33] * simon_w changed the topic to 'Welcome to #silverstripe discussion - IRC logs available: http://ss.org.nz/logs || Ask your question, don't ask about asking your question || 7th of Oct 2013: Security release for 3.0. See http://ss.org.nz/3.0.8 || 1st of Oct 2013: 3.1.0 is now out! http://ss.org.nz/3.1.0 || Development mailing list: http://ss.org.nz/ss-dev'
3: [00:00:39] <simon_w> Screw 2.4!
4: [00:01:55] * joelpittet has joined #silverstripe
5: [00:02:16] * simon_w has left #silverstripe
6: [00:02:16] * simon_w has joined #silverstripe
7: [00:08:48] <atmos> phwoar, double BLT plus fires for $8 :)
8: [00:09:15] * chillu quit (Quit: chillu)
9: [00:09:58] <Colin[pi]> plus FIRES??
10: [00:10:08] <Colin[pi]> what do they light on fire?
11: [00:11:21] * travis-ci has joined #silverstripe
12: [00:11:22] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1139 (3.1.0 - 548d784 : Ingo Schommer): The build passed.
13: [00:11:22] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/afc81fe7afea...548d784397b1
14: [00:11:22] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12211580
15: [00:11:22] * travis-ci has left #silverstripe
16: [00:11:40] <atmos> Colin[pi]: XD
17: [00:11:54] <atmos> they did have tobasco sauce on them
18: [00:11:58] <atmos> so YES
19: [00:12:50] <atmos> ffffff late filing penalty fee :<
20: [00:13:13] <spronk> gay bar gay bar gay bar wwwaooow
21: [00:13:14] <Colin[pi]> pwnt
22: [00:13:26] <Colin[pi]> I'VE GOT SOMETHING TO PUT IN YOU
23: [00:13:30] <Colin[pi]> at the GAY BAR GAY BAR
24: [00:17:21] <spronk> LETS START A WAR!
25: [00:17:28] <Pyromanik> spronk: YOOOOOOOOOOOOOOOOOOOOOOUUUU
26: [00:17:46] <Pyromanik> LETS START A NUCLEAR WAR!
27: [00:18:01] * joelpittet quit (Remote host closed the connection)
28: [00:18:17] <Pyromanik> 12:27 < sasargen_> that's the first thing I tried, but it didn't help
29: [00:18:35] <Pyromanik> sasargen_: you need to perform a dev/build after altering yaml configurations
30: [00:19:15] <Pyromanik> it's not like _config.php, it doesn't get generated every request. this is why it's better performance (along with vars now being private, they don't get inherited).
31: [00:19:43] * EasyCo has joined #silverstripe
32: [00:19:48] <spronk> :D
33: [00:20:41] <atmos> dat feels when you realise you worked out how long it will take to pay back student loan wrong
34: [00:20:48] <Pyromanik> sasargen_: another option could be to still use _config.php, with Config::inst()->update('URLSegmentFilter', 'default_allow_multibyte', true)
35: [00:21:03] <Pyromanik> sasargen_: http://doc.silverstripe.org/framework/en/topics/configuration
36: [00:21:23] <Pyromanik> atmos: dat feels when your investment funds exceed that of student loan
37: [00:21:43] <Pyromanik> it's not happy :( You start wanting both!
38: [00:21:54] <atmos> Pyromanik: I don't get money... that's... bad?
39: [00:22:44] * ccburns has joined #silverstripe
40: [00:22:58] <pippy> silverstripe removes +'s from URLs
41: [00:23:31] <pippy> I'm wondering if it's best to rewrite a base64 url to be valid xml or just use the $_SERVER array
42: [00:23:59] * Peavers has left #silverstripe
43: [00:24:26] * UncleCheese has joined #silverstripe
44: [00:27:44] * atmos quit (Quit: Page closed)
45: [00:29:31] * kerosene quit (Quit: hi bye)
46: [00:31:10] * atmos has joined #silverstripe
47: [00:34:33] * ccburns has left #silverstripe
48: [00:37:17] <sasargen_> Pyromanik: thanks, i read the docs, but I guess I didn't really get it
49: [00:39:01] <Pyromanik> sasargen_: yeah, configuration is all cached as such now. Performance gains for a slight irritance of an extra step when updating in development. I admit it was a bit "huh?" when I first looked at it, but looking at it now it's very straightforward.
50: [00:39:27] <Pyromanik> most yml configuration simply takes the format of ClassName: <configuration options>
51: [00:39:35] <Pyromanik> in valid yaml syntax.
52: [00:39:53] <Pyromanik> since most things are key-value pairs it works well.
53: [00:40:32] <Pyromanik> however if you need something more complicated eg. FulltextSearchable::enable() then you still have to use the _config.php (because you can't call methods from yml).
54: [00:40:57] <sasargen_> yeah, I think I did everything right, but didn't realize the need for the dev/build, so thought is wasn't working
55: [00:43:29] <Pyromanik> yeh.
56: [00:43:34] <Pyromanik> it's a wee gotcha.
57: [00:54:42] * joelpittet has joined #silverstripe
58: [00:59:12] <sasargen_> Pyromanik, yep, that was the thing. After the dev/build the settings in config.yml kicked in. Thanks!
59: [00:59:53] <atmos> :< snow and thunder for south island this week
60: [00:59:56] <atmos> hooray
61: [01:00:01] <ss23> lol
62: [01:00:11] <ss23> Been so long since I've been in snow...
63: [01:01:25] <Colin[pi]> exciting for the first day, total shit for every day after that
64: [01:01:25] * joelpittet quit (Read error: Connection reset by peer)
65: [01:01:46] * joelpittet has joined #silverstripe
66: [01:01:59] <atmos> Colin[pi]: lol yup - especially when you have no firewood left
67: [01:02:21] * sasargen_ quit (Quit: Page closed)
68: [01:02:57] <Colin[pi]> hehe I have some friends in Canada who need to clear a meter of the stuff every day in winter, every day look outside and "FFFFUUUUUU"
69: [01:03:28] <atmos> screw that
70: [01:03:42] <atmos> i get angry enough if there is 1mm of frost on my windshield
71: [01:08:37] <simon_w> Code's compiling, time to slack off
72: [01:13:08] <spronk> compiling
73: [01:13:08] <spronk> ah
74: [01:13:12] <spronk> ha*
75: [01:14:01] <Colin[pi]> boss: WHY ARE YOU SITTING AROUND DOING NOTHING? dev: Code's compiling. boss: OH I SEE, OK CARRY ON
76: [01:15:11] <simon_w> Boss isn't even in today
77: [01:15:59] <simon_w> http://sarlacc:8010/builders/hiphop/builds/85/steps/Compile%20HipHop/logs/stdio
78: [01:16:00] <simon_w> Someone tell me when it's finished
79: [01:27:06] <ss23> Welcome back, simon_w :D <3
80: [01:38:17] <zippy__> atmos: we'll get neither of those thigns
81: [01:38:44] * travis-ci has joined #silverstripe
82: [01:38:44] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1140 (3.1 - 4f42849 : Andrew Short): The build passed.
83: [01:38:44] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/18eb9718f36d...4f428497ddee
84: [01:38:44] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12213193
85: [01:38:44] * travis-ci has left #silverstripe
86: [01:39:19] <Pyromanik> what's the best way to import 52842 rows from a CSV?
87: [01:39:27] <Pyromanik> or more?
88: [01:39:42] <Pyromanik> because I think this might just be like 10%.
89: [01:40:37] <Pyromanik> also, setvalue(0) on a dropdown with <option value="0"> results in emptry string
90: [01:40:44] <Pyromanik> needs moar ===
91: [01:41:40] <Pyromanik> ss23: halp
92: [01:41:43] <ss23> halp
93: [01:41:43] <ss23> pls
94: [01:43:38] * joelpittet quit (Remote host closed the connection)
95: [01:45:10] * UncleCheese quit (Quit: UncleCheese)
96: [01:51:15] * UncleCheese has joined #silverstripe
97: [01:53:18] * ss23 is now known as electronics
98: [01:53:59] * electronics is now known as ss23
99: [01:58:35] * DigNZ has joined #silverstripe
100: [02:04:33] <simon_w> "virtual memory exhausted: Cannot allocate memory"
101: [02:04:33] <simon_w> DAMMIT
102: [02:04:42] * ss23 swaps simon_w
103: [02:04:42] <ss23> :D
104: [02:09:21] <Colin[pi]> the goggles do nothing: http://code.divshot.com/geo-bootstrap/
105: [02:09:57] <ss23> oh god
106: [02:10:15] <Colin[pi]> it's responsive!
107: [02:10:18] <Colin[pi]> yay
108: [02:10:19] <ss23> lol @ mchammer
109: [02:16:48] * gordon has joined #silverstripe
110: [02:17:07] <atmos> zippy__: I dunno know man, it snowed in Oct last year
111: [02:17:11] * gordon is now known as Guest30667
112: [02:17:23] <atmos> I HAVE PHOTOS SOMEWHERE!
113: [02:18:55] <ss23> someone just walked away as I needed to talk to them
114: [02:18:56] <ss23> :<
115: [02:19:40] * Guest30667 is now known as elgrodo
116: [02:20:01] <elgrodo> Quick question - how do I get Thai into the list of languages that I can translate a page into?
117: [02:20:25] <elgrodo> Tried change common_languages as per here, did not work http://doc.silverstripe.org/framework/en/topics/i18n
118: [02:20:33] <elgrodo> and changing common_locales causes an error
119: [02:21:47] <elgrodo> looking back at a 2.4 site common locales is what I need to change
120: [02:32:01] <Pyromanik> fuck yeh, geocities
121: [02:32:10] <Pyromanik> atmos: ask elgrodo where to go
122: [02:32:44] <atmos> Pyromanik: huh?
123: [02:32:58] <Pyromanik> atmos: elgrodo lives in Thailand. I'm sure he could recommend a place to go.
124: [02:33:06] <atmos> Pyromanik: ah yes
125: [02:33:19] <Pyromanik> elgrodo: dev/build?
126: [02:33:28] <atmos> elgrodo: Tell me all the good Thai places kthnxbai
127: [02:33:29] <ss23> I can
128: [02:33:33] <ss23> uh
129: [02:33:48] <ss23> I can't help it, whenever someone talks about nice places in Thailand, all I can think of is the SNL skit
130: [02:34:00] <ss23> atmos IRL http://www.youtube.com/watch?v=kdfXljz50iU
131: [02:34:50] <atmos> ss23: will watch in a tic
132: [02:34:56] <ss23> lol
133: [02:35:01] <elgrodo> dont come now, half the country is flooded
134: [02:35:05] <ss23> You might have already seen it, it's the SNL skit with Thai!
135: [02:35:12] <atmos> ss23: oooooooooh
136: [02:35:13] <ss23> elgrodo: Does that mean it'll be cheap? :D
137: [02:35:15] <elgrodo> oh I think I know the one you mean
138: [02:35:17] <atmos> yeah, I've seen it
139: [02:35:20] <ss23> XD
140: [02:35:22] <elgrodo> always cheap here...
141: [02:35:34] <atmos> elgrodo: not flights there though
142: [02:35:43] <elgrodo> min wage is 300 baht, 15 NZD, and that is causing problems - introduced by current govts
143: [02:35:45] <elgrodo> govt
144: [02:36:01] <ss23> I need to start saving -- looking at going to Indonesia for a while with family
145: [02:36:03] <atmos> we're looking for travelling around april next year
146: [02:36:07] <Colin[pi]> watch out for the lady bois..
147: [02:36:07] <elgrodo> k
148: [02:36:11] <ss23> Colin[pi]: ;)
149: [02:36:15] <elgrodo> that's the hottest time of the year in Thailand, 40C or so
150: [02:36:17] <ss23> Colin[pi]: Oh yeah... I know what you mean ;)
151: [02:36:21] <elgrodo> I'm still stupied enough to cycle in it
152: [02:36:22] <Pyromanik> elgrodo: so yeah, after changing yml config you need to dev/build
153: [02:36:25] <ss23> lol
154: [02:36:35] <atmos> elgrodo: but a bit less rain?
155: [02:37:09] <Pyromanik> I went just before Christmas. It was great.
156: [02:37:15] <Pyromanik> because no christmas trees or bullshit malls.
157: [02:37:21] <Pyromanik> no deocrations
158: [02:37:23] <Pyromanik> no trees
159: [02:37:25] <Pyromanik> no santa suits
160: [02:37:35] <elgrodo> I had 4 wisdom teeth pulled on xmas day here once
161: [02:37:37] <elgrodo> I KNOW HOW TO PARTY!
162: [02:37:52] <Pyromanik> lol, fantastic
163: [02:37:53] <ss23> damn elgrodo, that's almost 5 wisdom teeth!
164: [02:37:55] <atmos> elgrodo: I beat that was cheap
165: [02:38:02] <atmos> bet*
166: [02:38:11] <Pyromanik> elgrodo: http://i.imgur.com/TEyxy4L.jpg?1
167: [02:38:31] <atmos> Pyromanik: one of mine is like that :(
168: [02:38:38] <Colin[pi]> :(
169: [02:38:39] <Pyromanik> both mine are like that
170: [02:38:46] <Pyromanik> but not so bad, thankfully (such an angle)
171: [02:39:01] <elgrodo> also spent another xmas here in hospital with food poisoning
172: [02:39:03] <ss23> I have some family who go over to Asia whenever they need dental work done, because of how much cheaper it is there
173: [02:39:11] <ss23> Like, "Ow my tooth is sore, time to go on holiday"
174: [02:39:14] <ss23> Rich bastards :/
175: [02:39:22] <atmos> ss23: yeah, that's our plan :D
176: [02:39:23] <Colin[pi]> I had my last dental work in Brazil
177: [02:39:23] <elgrodo> and spent one NZ xmas in Owaka hospital when I did my back in on a remote beach in the Catlins...
178: [02:39:25] <Pyromanik> so anyways, like that thing that I asked earlier 'n stuff
179: [02:39:45] <Pyromanik> elgrodo: guts :<
180: [02:39:47] <Pyromanik> get an airlift?
181: [02:39:50] <ss23> Ask again, Pyromanik
182: [02:40:00] <Pyromanik> ss23: how to upload 50000+ line CSV
183: [02:40:04] <elgrodo> nah a local drived our minivan, (now) wife was not insured to do so
184: [02:40:07] <Pyromanik> without halting entire webserver
185: [02:40:19] <ss23> Pyromanik: Uploading a file shouldn't "halt" webserver?
186: [02:40:27] <Pyromanik> ss23: did
187: [02:40:36] <ss23> Pyromanik: Find out why
188: [02:40:37] <Pyromanik> it's 8Mb
189: [02:40:41] <Pyromanik> ^
190: [02:40:48] <Pyromanik> and I assume somethijng happened
191: [02:40:50] <ss23> ?
192: [02:40:51] <Pyromanik> or maybe not
193: [02:40:53] <ss23> That shouldnt' matter :S
194: [02:40:57] <Pyromanik> I got impatient after 10 mins
195: [02:40:58] <elgrodo> does this look right config wise? http://sspaste.com/paste/show/52521d71acbfc
196: [02:41:00] <ss23> "halting" your webserver shouldn't be possible
197: [02:41:05] <Pyromanik> ss23: php max execution time and stuff?
198: [02:41:25] <ss23> Pyromanik: That won't halt the webserver, it'll just kill that single connection if it goes on for too long
199: [02:41:39] <Pyromanik> ss23: but then it refused to load that site
200: [02:41:44] <elgrodo> if any SilverStripers are passing through BKK happy to drag them 20km up the river and show them a more local Thailand
201: [02:41:48] <Pyromanik> until after I restarted
202: [02:41:51] <Pyromanik> and it still took ages
203: [02:42:00] <Pyromanik> elgrodo: choice
204: [02:42:09] <Pyromanik> did the Kwai trip when I was there 10 years ago
205: [02:42:15] <Pyromanik> the waterfall at the end was pretty choice
206: [02:42:27] <elgrodo> not been there for a while
207: [02:42:33] <elgrodo> that last config causes an error :(
208: [02:43:04] <elgrodo> http://sspaste.com/paste/show/52521e2535e3a
209: [02:44:02] <ss23> Pyromanik: Yeah, so find out why! :P
210: [02:44:05] <Colin[pi]> does RestfulService still not support JSON? I mean it's easy to handle but it still seems to be XML centric?
211: [02:44:26] <Pyromanik> ss23: no, you do it
212: [02:44:41] <Pyromanik> Colin[pi]: supports it fine
213: [02:44:44] <Pyromanik> always has
214: [02:44:47] <elgrodo> easily accessible from BKK, transport cost is less than 1 NZD http://www.flickr.com/photos/gordonbanderson/sets/72157634735724094/
215: [02:44:57] <Pyromanik> "I mean it's easy to handle but it still seems to be XML centric?"
216: [02:44:58] <Pyromanik> yeh
217: [02:44:59] <elgrodo> bicycle hire 1.6 NZD
218: [02:45:00] <Pyromanik> basically
219: [02:45:07] <Colin[pi]> pyromanik: no I mean it doesn't have a conversion method
220: [02:45:12] <Pyromanik> why would it?
221: [02:45:14] <Colin[pi]> no big deal though
222: [02:45:30] <Colin[pi]> it has an xml method to convert to simplexml ;P
223: [02:45:39] <Pyromanik> yeah but xml is much much trickier to deal with
224: [02:45:47] <Pyromanik> without libs 'n stuff
225: [02:45:59] <Pyromanik> json_decode on the other hand...
226: [02:46:03] <Pyromanik> boom, you're done.
227: [02:46:25] <Colin[pi]> aye.. just noticed the docs say "(sorry no JSON support)"
228: [02:46:34] <Colin[pi]> and has since 2.4
229: [02:46:51] <Colin[pi]> but eh, it's ok, pretty easy to deal with
230: [02:47:42] <Pyromanik> dunno about your config issue sorry elgrodo
231: [02:48:01] <Pyromanik> Colin[pi]: yeah but in 2.4 the entire class was a POS
232: [02:48:04] <Pyromanik> now it's just almost a POS
233: [02:48:11] <Colin[pi]> lol
234: [02:48:36] <Pyromanik> honestly, 2.4 restfulservice, much better off using your own solution.
235: [02:48:42] <Pyromanik> I used it a couple of times. Not worth it.
236: [02:48:56] <Pyromanik> logs are full of me and frozenfire having whinge sessions about it
237: [02:49:01] <Colin[pi]> really? it's fine for simple stuff imho
238: [02:49:14] <Pyromanik> it's completely shit.
239: [02:49:22] <Colin[pi]> for what reasons?
240: [02:49:35] * chrisrio quit (Quit: Page closed)
241: [02:49:51] <Pyromanik> Colin[pi]: reasons I've long since purged from my memory
242: [02:50:01] <simon_w> It's a solid byproduct of an animal's digestive system?
243: [02:51:02] * simon_w is still compiling
244: [02:51:08] <ss23> >solid
245: [02:51:09] <Pyromanik> simon_w: semi-solid.
246: [02:51:10] <ss23> Only if you're lucky
247: [02:51:11] <ss23> :O
248: [02:51:16] <Pyromanik> ^ xD
249: [02:51:23] <Colin[pi]> depends on how much chilli and coffee
250: [02:51:38] <spronk> still compiling?
251: [02:51:42] <spronk> wtf are you compiling, simon_w?
252: [02:51:47] <ss23> spronk: hhvm!
253: [02:51:47] <ss23> He said
254: [02:51:48] <ss23> :P
255: [02:51:48] <simon_w> HHVM
256: [02:52:02] <spronk> oh
257: [02:52:07] <simon_w> The build machine's not the fastest and can't do incremental ones
258: [02:52:12] <spronk> need a 12core xeon
259: [02:52:21] <guzzlefry> is that similar to trying to compile QTLibs? :P
260: [02:52:49] * elgrodo quit (Ping timeout: 248 seconds)
261: [02:54:07] <ss23> simon_w: ccache?
262: [02:54:08] <Pyromanik> guzzlefry: Qt <3
263: [02:54:11] <ss23> Could be handy if you have to recompile often
264: [02:56:10] * elgrodo has joined #silverstripe
265: [02:56:21] <Pyromanik> ss23: Question rephrase! how to import massive CSV sheet without hitting php timeout?
266: [02:56:29] <ss23> Pyromanik: Can't
267: [02:56:31] <ss23> Well
268: [02:56:32] <Pyromanik> LIES
269: [02:56:34] <Pyromanik> yes
270: [02:56:35] <ss23> Split up the file, increase the limit
271: [02:56:36] <Pyromanik> well?
272: [02:56:38] <Pyromanik> LIES
273: [02:56:45] <UncleCheese> is the spell checker in TinyMCE just shit, or… ?
274: [02:56:47] <Pyromanik> build cron task and make client use FTP
275: [02:56:50] <atmos> increase the limit?
276: [02:56:54] <Pyromanik> UncleCheese: non-existant
277: [02:56:54] <ss23> UncleCheese: Probably doesnt' work
278: [02:56:58] <ss23> Pyromanik: That won't fix it...
279: [02:57:02] <UncleCheese> it always comes back with no misspellings
280: [02:57:10] <ss23> UncleCheese: Yeah, it doesn't work atm
281: [02:57:11] <Pyromanik> UncleCheese: non-existant
282: [02:57:11] <UncleCheese> so it's shit
283: [02:57:14] <Pyromanik> UncleCheese: non-existant
284: [02:57:15] <UncleCheese> ha
285: [02:57:15] <ss23> UncleCheese: The deprecated the Google API
286: [02:57:16] <atmos> UncleCheese: it's just browser based now
287: [02:57:20] <Pyromanik> not shit, just not there.
288: [02:57:25] <Pyromanik> atmos: only if you enable that.
289: [02:57:25] <UncleCheese> is there a ticket or anything? what would you tell a client?
290: [02:57:26] <ss23> Pyromanik: Unless the timeout is different for cron, in which case that counts as "increase the limit"
291: [02:57:31] <Pyromanik> UncleCheese: yes, complete with fix.
292: [02:57:35] <UncleCheese> oh?
293: [02:57:44] <UncleCheese> for 2.4?
294: [02:57:45] <simon_w> UncleCheese, github, go and find it :p
295: [02:57:46] <ss23> UncleCheese: There's an OSS ticket with explanations of how to "Fix" (e.g. install pspell")
296: [02:57:48] <Pyromanik> HtmlEditorConfig::get('cms')->setOption('browser_spellcheck', false);
297: [02:57:58] <Pyromanik> err, true, set that true.
298: [02:58:01] <Pyromanik> OR
299: [02:58:02] <ss23> UncleCheese: We had to do something for a client too
300: [02:58:06] <Pyromanik> install aspell
301: [02:58:07] <ss23> Clients lame
302: [02:58:09] <Pyromanik> dspell
303: [02:58:10] <Pyromanik> pspell
304: [02:58:11] <Pyromanik> whatever
305: [02:58:13] <Pyromanik> pspell
306: [02:58:15] <ss23> whatever spell library, yeha
307: [02:58:15] <Pyromanik> and
308: [02:58:16] <atmos> ss23: >.>
309: [02:58:18] <Pyromanik> HtmlEditorConfig::get('cms')->setOption('spellchecker_rpc_url',THIRDPARTY_DIR.'/tinymce-spellchecker/rpc.php');
310: [02:58:21] <Pyromanik> HtmlEditorConfig::get('cms')->setOption('browser_spellcheck', false);
311: [02:58:22] <ss23> atmos: APART FROM YOU <3
312: [02:58:24] <ss23> You're a good client!
313: [02:58:27] <atmos> ss23: :D
314: [02:58:30] <atmos> yay!
315: [02:58:31] <ss23> :D
316: [02:58:31] <Pyromanik> UncleCheese: in _config.php
317: [02:58:37] <atmos> \o\
318: [02:58:43] <UncleCheese> oh nice
319: [02:58:50] <UncleCheese> client is using IE8.. will it still work?
320: [02:58:56] <atmos> UncleCheese: yup
321: [02:58:59] <UncleCheese> lol
322: [02:59:10] <UncleCheese> seriously? IE8 has a spellchecker?
323: [02:59:12] <UncleCheese> I was just taking the piss
324: [02:59:12] <atmos> I know from exp -_-
325: [02:59:26] <ss23> XD
326: [02:59:31] <Colin[pi]> lol
327: [02:59:37] <guzzlefry> So, it looks like when you're in dev mode, you don't have to flush a page template?
328: [02:59:44] <atmos> yeah
329: [02:59:48] <atmos> it's super fun
330: [02:59:53] <simon_w> guzzlefry, you never have to flush a page template
331: [02:59:58] <guzzlefry> 0.o
332: [03:00:12] <guzzlefry> All the years wasted....
333: [03:00:14] * atmos not answering guzzlefry's eustion
334: [03:00:18] <atmos> question*
335: [03:00:20] <UncleCheese> simon_w: is that right? just in 2.4?
336: [03:00:27] <Pyromanik> UncleCheese: https://github.com/silverstripe/silverstripe-framework/issues/2213
337: [03:00:31] <UncleCheese> 3.x caches statics, though
338: [03:00:35] <simon_w> UncleCheese, only need to flush on include changes in 2.4
339: [03:00:45] <guzzlefry> simon_w: Thank you, you've saved me much time. :)
340: [03:00:48] <UncleCheese> yeah, i remember that, but there's not even that in 3.x?
341: [03:00:49] <Pyromanik> guzzlefry: you never have to flush, only when adding new ones.
342: [03:01:03] <Pyromanik> 16:00 <@simon_w> UncleCheese, only need to flush on include changes in 2.4
343: [03:01:08] <Pyromanik> and only when they were in includes.
344: [03:01:11] <simon_w> UncleCheese, nope, 3.x behaves more like 2.2 in that regard
345: [03:01:38] * simon_w remembers 2.2! db/build FTW and all that
346: [03:01:51] <simon_w> And that image editor
347: [03:01:53] <UncleCheese> 3.1 is more idiosyncratic in its flush requirements, though.. change a private static $var, and you'll be scratching your head for a long time
348: [03:02:14] <UncleCheese> oh! that Flash image editor
349: [03:02:17] <UncleCheese> Epic fail!
350: [03:02:18] <simon_w> 3.1 requires a flush to rebuild the config manifest
351: [03:02:42] <UncleCheese> which includes private statics, which is really confounding if you don't know the architecture of the framework
352: [03:03:23] <simon_w> So stop using statics? :p
353: [03:04:17] <atmos> I still do flushes out of what I call 'Silverstripe-panic-fix-reflex-rsi'
354: [03:04:36] <simon_w> I just don't use SilverStripe :p
355: [03:04:37] <guzzlefry> I do /dev/build/?flush=all
356: [03:04:44] <guzzlefry> which by the way, does that work now? It seems to..
357: [03:04:46] <atmos> ^
358: [03:04:46] <ss23> lol atmos
359: [03:04:53] <ss23> I still spend 30 mins "FUCK WHAT THE FUCK WHY WON'T IT WORK" before I forge to flush
360: [03:04:57] <ss23> :<
361: [03:05:09] <simon_w> guzzlefry, with 3.1, the ?flush bit's required, the =all does nothing
362: [03:05:19] <guzzlefry> oh
363: [03:05:23] <UncleCheese> simon_w: I seem to remember you professing an ardent disdain for the yaml layer, and arguing that just because you *could* put static variables and values in the yaml, doesn't mean you should
364: [03:05:33] <UncleCheese> you've come around
365: [03:05:52] <simon_w> UncleCheese, nope. YAML is still horrible
366: [03:06:01] <UncleCheese> ok, cool
367: [03:06:08] <Pyromanik> lol
368: [03:06:14] <simon_w> But if you're getting confused about statics, just don't use them
369: [03:06:41] <Pyromanik> changed a config var? BUILD
370: [03:06:43] <UncleCheese> Anyone putting db and has_one in the yaml yet?
371: [03:06:45] <Pyromanik> that's all tehre is to it.
372: [03:06:51] <Pyromanik> UncleCheese: Done that
373: [03:06:56] <UncleCheese> how did you like it?
374: [03:06:57] <Pyromanik> don't recommend.
375: [03:07:03] <Pyromanik> I did it to see if I could
376: [03:07:11] <UncleCheese> i like to know what fields i have available when i'm writing model code
377: [03:07:16] <Pyromanik> it separates shit out too much.
378: [03:07:19] <UncleCheese> yup
379: [03:07:27] <Pyromanik> when you look at a class you can see everything if the statics are at the top.
380: [03:07:35] <Pyromanik> otherwise you're flicking back and forth all over the show
381: [03:07:47] <simon_w> Gosh, just remember it all
382: [03:07:50] <simon_w> So much easier
383: [03:07:55] <Pyromanik> but I do like it in that it's ... 'clean' ish, I guesss. I dunno.
384: [03:07:58] <Pyromanik> although
385: [03:08:04] <Pyromanik> turns out somethings you can't do
386: [03:08:26] <UncleCheese> static properties are kind of an ugly side of OOP in general
387: [03:08:33] <Pyromanik> liek
388: [03:08:33] <ss23> WE CAN GET DOWN, LIKE THERE'S NO ONE AROUND
389: [03:08:36] <ss23> KEEP ON ROCKIN'
390: [03:08:42] <ss23> CAMERAS ARE FLASHING WHILE WE'RE DIRTY DANCING
391: [03:08:46] <Pyromanik> memberextension: has_one: blah: val
392: [03:08:48] <guzzlefry> Are you playing that in the office?
393: [03:08:50] <ss23> GIMMIE GIMMIE, GIMMIE GIMMIE, GIMMIE GIMMIE, GIMMIE, GIMMIE GIMMIE
394: [03:08:55] <ss23> GIMMIE GIMMIE, GIMMIE, GIMMIE GIMMIE
395: [03:08:58] <Pyromanik> member: extensions: - memberextension
396: [03:08:59] <simon_w> Am I going to have to +m ss23?
397: [03:09:00] <ss23> guzzlefry: Naw, though I could
398: [03:09:01] <ss23> :P
399: [03:09:05] <ss23> simon_w: aWww!
400: [03:09:07] <guzzlefry> Are you guys hiring? :P
401: [03:09:08] <ss23> guzzlefry: It's a cover though
402: [03:09:10] <ss23> hahhaha
403: [03:09:13] <Pyromanik> UncleCheese: the has_one didn't apply to member :<
404: [03:09:17] <ss23> I think we are actually :D
405: [03:09:18] <Pyromanik> HOWEVER
406: [03:09:24] <simon_w> guzzlefry, they always are
407: [03:09:25] <Pyromanik> member: has_one: blah: val
408: [03:09:27] <Pyromanik> DID work.
409: [03:09:29] <ss23> http://www.youtube.com/watch?v=UGUqTa04Z6o
410: [03:09:33] * ss23 headbangs over guzzlefry
411: [03:09:35] <guzzlefry> simon_w: silverstripe.com?
412: [03:09:41] <simon_w> yes
413: [03:09:44] <atmos> what's the pay over there like?
414: [03:09:48] <guzzlefry> They had a big "We're hiring" banner last I checked. :P
415: [03:09:48] <ss23> atmos: shhh
416: [03:09:50] <ss23> keep quiet!
417: [03:09:58] <atmos> :O
418: [03:09:58] <Pyromanik> which is dirty, I think.
419: [03:10:00] <UncleCheese> right, because DataExtension isn't a descendant of Object, IIRC
420: [03:10:01] <ss23> Actually, you work for a council
421: [03:10:03] <ss23> So probably more than you
422: [03:10:04] <ss23> :D
423: [03:10:13] * atmos forgets that 'they're watching'
424: [03:10:17] <ss23> XD
425: [03:10:20] <UncleCheese> member: { has_one } is much more orthogonal anyway
426: [03:10:40] <atmos> I dunno know man, I get overpaid :D
427: [03:10:49] <ss23> Someone was giving me shit for working at SilverStripe the other day, then a bit later in the conversation, was rofling about how someone got offered 45k (about how low 45k is), then he was like "... I get less than 45k"
428: [03:10:54] <ss23> Felt good.
429: [03:11:07] <atmos> 45k for waht? devving?
430: [03:11:09] <simon_w> atmos, I work for a startup and get paid more the SS offers
431: [03:11:13] <ss23> atmos: Yeah
432: [03:11:17] <atmos> LOL
433: [03:11:29] <ss23> http://www.silverstripe.com/about-us/careers/
434: [03:11:31] <Pyromanik> so anyway
435: [03:11:39] <ss23> Still, simon_w, I would rather work here
436: [03:11:42] <ss23> More people,more drinking, more fun
437: [03:11:43] <ss23> :D
438: [03:11:46] <Pyromanik> simon_w: how can I import an eff'n huge csv file without hitting php timeout?
439: [03:12:01] <simon_w> Pyromanik, set_time_limit(-1); ?
440: [03:12:12] <Pyromanik> mod_fcgid: read data timeout in 45 seconds
441: [03:12:16] <atmos> I think my work, or Lucid Design are the only decent paying shops for devs in our area
442: [03:12:25] <Pyromanik> simon_w: could I make a task and have it read from cli?
443: [03:12:31] <simon_w> Pyromanik, yes
444: [03:12:38] <Pyromanik> hmm
445: [03:13:05] <Pyromanik> fuckit, too much effort. Make client split CSV into managable chunks'
446: [03:13:28] <ss23> DNA here is the "we pay you money" place
447: [03:13:50] <Colin[pi]> money is overrated
448: [03:14:00] <ss23> ^^
449: [03:15:05] <atmos> Isn't the average for a junior/grad dev like 45k?
450: [03:15:20] <ss23> Ehhh
451: [03:15:22] <ss23> Probably around there
452: [03:15:51] <simon_w> Man, sucks to me them
453: [03:15:55] <ss23> lol
454: [03:16:06] <atmos> that is pretty low, but I know a good number of devs around here on that figure :<
455: [03:16:07] <simon_w> I was getting that in high school
456: [03:16:12] <ss23> Yeah
457: [03:16:24] <ss23> simon_w: Yeah, so, junior etc
458: [03:16:25] <ss23> :P
459: [03:16:28] <Colin[pi]> now simon_w owns a yacht
460: [03:16:34] <ss23> Most plebs come out of uni knowing nothing at all, so start on that much
461: [03:16:46] <atmos> ss23: true
462: [03:16:52] <simon_w> I'm soon going to be the owner of an Executor!
463: [03:17:16] <atmos> I just freelanced and made myself seem 'talented' when all I did was build static SS sites :D
464: [03:17:30] <Colin[pi]> static?
465: [03:17:39] <atmos> Colin[pi]: er
466: [03:17:44] <atmos> I mean, 1-2 page
467: [03:17:58] <Colin[pi]> oh right so cms when you don't really need a CMS :)
468: [03:18:00] <spronk> does anyone here have good amount of exp with a few different message queue engines? rabbit, zero, etc?
469: [03:18:16] <atmos> Colin[pi]: = charge 2k plus :D
470: [03:18:43] <Colin[pi]> dang for 1 to 2 pages?
471: [03:18:43] <simon_w> James wrote our 0MQ stuff. No idea what's happened to it.
472: [03:18:56] <simon_w> Home time!
473: [03:19:04] <atmos> Colin[pi]: yeah I managed to do 4 in 9 days
474: [03:19:12] <Colin[pi]> lol nice
475: [03:19:13] <ss23> ow, feels like I have a tooth problem
476: [03:19:13] <simon_w> Colin[pi], you should be slacking off or something :p
477: [03:19:17] <ss23> and I need to go to the doctors before I die
478: [03:19:18] <ss23> :<
479: [03:19:19] * zippy__ quit (Ping timeout: 268 seconds)
480: [03:19:33] <Colin[pi]> I wish simon_w, good time to catch up on work!
481: [03:19:37] <Colin[pi]> when it's quiet
482: [03:19:39] <ss23> lol
483: [03:20:08] <atmos> heh, our helpdesk team is away so everyone is quite (terrified)
484: [03:20:31] <Colin[pi]> phone rings, "ARGHH!" someone jumps out the window
485: [03:20:38] <atmos> lol
486: [03:20:39] <Colin[pi]> like that?
487: [03:20:47] <atmos> Colin[pi]: almost
488: [03:21:14] * EasyCo quit (Ping timeout: 240 seconds)
489: [03:22:01] <atmos> are many devs still on wages up that end?
490: [03:22:01] <spronk> ugh, rabbitmq is a bitch to configure.
491: [03:24:09] * atmos quit (Quit: Page closed)
492: [03:24:11] <guzzlefry> So, if I want to use a different Include template for an action, would I just create MyPageType_actionName.ss ?
493: [03:24:20] <spronk> man, 45k for start out dev isn't that bad
494: [03:24:53] <spronk> if you're still on 45k after a couple of years you're doing something wrong
495: [03:25:55] * atmos has joined #silverstripe
496: [03:26:19] <guzzlefry> That'll work right? >_>
497: [03:26:33] <elgrodo> Pyromanik: common_locales needs both name and native keys to be defined
498: [03:26:43] <Colin[pi]> guzzlefry: I think that's the convention, try it and see?
499: [03:27:18] * EasyCo has joined #silverstripe
500: [03:30:09] <elgrodo> Added comment to http://doc.silverstripe.org/framework/en/topics/i18n *awaits moderation*
501: [03:32:11] * EasyCo_ has joined #silverstripe
502: [03:33:56] * EasyCo quit (Ping timeout: 245 seconds)
503: [03:33:56] * EasyCo_ is now known as EasyCo
504: [03:37:49] <Pyromanik> elgrodo: I had a feeling that might have been it, but the docs didn't show that in the example, so I (foolishly) trusted the docs.
505: [03:37:54] * cloph_away has joined #silverstripe
506: [03:38:06] * cloph quit (Ping timeout: 245 seconds)
507: [03:38:07] <Pyromanik> elgrodo: docs have snaffled me up like that before too.
508: [03:38:41] * elgrodo quit (Ping timeout: 248 seconds)
509: [03:39:01] <guzzlefry> $request->param("ID"); <--- Is this safe to pass to filter() without checking?
510: [03:39:09] * elgrodo has joined #silverstripe
511: [03:39:22] <ss23> guzzlefry: Yes, you can pass anything to filter
512: [03:39:23] <ss23> ^.^
513: [03:40:29] <guzzlefry> oh, I guess it would make sense for filter to escape everything. :P
514: [03:41:24] <elgrodo> Pyromanik: As a former colleague once said to me, open source, problems for free
515: [03:41:36] * Pyromanik writes tiny script to split csv file into a collection of 1000 line csv files.
516: [03:41:49] <elgrodo> for my next challenge, getting language translation files to work
517: [03:41:50] <Pyromanik> there are 52 files -.-
518: [03:42:08] <Pyromanik> elgrodo: plonk in mysite/lang or something like that iirc
519: [03:42:10] <Pyromanik> myabe
520: [03:42:13] * Pyromanik shrugs
521: [03:44:06] <guzzlefry> Access level to Product::$allowed_actions must be public (as in class DataObject) <-- I thought everything went private?
522: [03:44:38] <ss23> guzzlefry: It did, that error looks like a 3.0 error
523: [03:45:02] <guzzlefry> I'm using 3.1...I hope. :P
524: [03:45:35] <guzzlefry> yeah, 3.1
525: [03:46:21] <elgrodo> another doc error - 2 links here to text collection, but it's actually on the page itself http://doc.silverstripe.org/framework/en/topics/i18n ie no need for linkage
526: [03:46:59] <ss23> Fix it, elgrodo :D
527: [03:47:01] <ss23> Docs are on Google
528: [03:47:11] <ss23> guzzlefry: Eh, set it to public then, idk... weird
529: [03:47:34] <Pyromanik> guzzlefry: Product isn't a requesthanlder
530: [03:47:34] <elgrodo> ss23: github do you mean?
531: [03:47:43] <Pyromanik> it doesn't have allowedactions
532: [03:48:23] <ss23> uh
533: [03:48:23] <ss23> Yes
534: [03:48:25] <elgrodo> i18n text collector broken :(
535: [03:48:26] <ss23> I mean Github, sorry
536: [03:48:26] <ss23> :<
537: [03:48:29] <elgrodo> FFS
538: [03:48:35] <elgrodo> *shakes fist*
539: [03:48:50] <elgrodo> "[User Deprecated] SSTemplateParser->ClosedBlock_Handle_Control is deprecated. is deprecated. Use or instead. Called from SSTemplateParser->ClosedBlock__finalise."
540: [03:49:18] <elgrodo> oh possible file permission error
541: [03:49:38] <guzzlefry> oh, I'm doing something stupid again.
542: [03:50:47] <Pyromanik> guzzlefry: aka, dataobject isn't a controller :P
543: [03:52:51] <Colin[pi]> oopsies: http://www.fastway.com.au/
544: [03:54:18] <ss23> hahaha Colin[pi]
545: [03:54:54] <ss23> Colin[pi]: I saw a way better one
546: [03:54:57] <ss23> Let me try find it...
547: [03:55:19] <Pyromanik> table info to all visitors, how kind
548: [03:55:35] <ss23> Hmmmmmm
549: [03:55:38] <ss23> I had a better one
550: [03:55:49] <ss23> When DB was down, it spat out all the connection info (including passwords)
551: [03:55:54] <ss23> Dammit, I can't remember where I posted it
552: [03:56:02] <ss23> Was some curoiour company
553: [03:56:22] <ss23> Thought it was twitter, but I don't see it on there
554: [03:56:24] <ss23> :/
555: [03:56:26] <ss23> DAMMIT I WANNA SHARE IT
556: [03:56:52] <Pyromanik> I seem to remember
557: [03:57:08] <Pyromanik> hey fastway
558: [03:57:14] <Pyromanik> isn't that the guy who owns wheedle?
559: [03:57:29] <ss23> meh, can't find it, but it was lulz
560: [03:58:18] * Pyromanik is up to file 18 / 52
561: [03:58:28] <Pyromanik> I dont' think I'm gonna make ti by 5 :<
562: [03:58:40] <Pyromanik> GO BACK TO SLEEP
563: [03:59:07] <ss23> WAH I WANNA FIND THE FUNNY SCREENSHOT
564: [03:59:08] <ss23> ;_;
565: [03:59:22] <Pyromanik> search
566: [03:59:26] <Pyromanik> ss23 imgur
567: [03:59:29] <Pyromanik> ss23 iforce
568: [03:59:30] <Pyromanik> etc
569: [04:00:15] <Pyromanik> ok so maybe not iforce http://logs.simon.geek.nz/search.php?q=ss23+iforce
570: [04:02:13] <ss23> http://logs.simon.geek.nz/search.php?q=ss23+imgur
571: [04:02:14] <ss23> lol
572: [04:02:17] <ss23> onyl came up with ss23 imgur too
573: [04:02:23] <ss23> wtf
574: [04:02:28] <ss23> there is no way these are all the log
575: [04:02:28] <ss23> logs
576: [04:02:35] <spronk> ouch
577: [04:02:43] * UncleCheese quit (Quit: UncleCheese)
578: [04:02:45] <ss23> Is this seriously saying no one posts imgur links in here?!
579: [04:03:05] <spronk> yep.
580: [04:03:09] <Pyromanik> is broken
581: [04:03:11] <elgrodo> yay winning
582: [04:03:12] <Pyromanik> simon_w:
583: [04:03:14] <Pyromanik> is broken
584: [04:03:14] <spronk> WHY FUCK CAN I NOT LOG IN
585: [04:03:21] <Pyromanik> spronk: because burgerfuel.
586: [04:03:27] <spronk> yeah that'd be it
587: [04:03:29] <spronk> thanks pyro
588: [04:03:31] <Pyromanik> sadface apparently not until next year.
589: [04:03:37] * elgrodo misses burgerfuel
590: [04:03:49] <spronk> velvet burger opening before end of year though
591: [04:03:53] <spronk> somewhere in ricc
592: [04:04:04] <Pyromanik> lies elgrodo, there's no burgerfuel in dunners
593: [04:04:06] <spronk> i'm guessing either BF or VB is on the corner of ricc and.. the mall street
594: [04:04:13] <Pyromanik> division st
595: [04:04:16] <spronk> yeah
596: [04:04:16] <spronk> that
597: [04:04:22] <spronk> the new building that's going up there
598: [04:04:29] <Pyromanik> could be, could be.
599: [04:04:38] <Pyromanik> I'd go full mad if they both went in there
600: [04:04:42] <spronk> lawl
601: [04:04:55] <Pyromanik> I'd be all "I CAN'T EAT BOTH AT ONCE YOU DICKS
602: [04:04:56] <Pyromanik> "
603: [04:05:00] <spronk> suspiciously, brumby's sshop in bush inn has disappeared
604: [04:05:04] <Pyromanik> but then I'd try anyway
605: [04:05:06] <spronk> there were rumors ages ago that BF were looking at bush inn
606: [04:05:10] <spronk> haha i know
607: [04:05:39] <Pyromanik> you make a frankenburger
608: [04:05:49] <Pyromanik> like that time I put a doubledown in a doublequarterpounder
609: [04:05:58] * ss23 cries
610: [04:06:01] <ss23> I wnat the image, I want it
611: [04:06:01] <ss23> :<
612: [04:06:19] <Pyromanik> use google?
613: [04:06:42] <Pyromanik> https://www.google.co.nz/search?q=ss23+imgur+site:logs.simon.geek.nz
614: [04:06:55] <Pyromanik> http://i.imgur.com/z9DvjPp.jpg
615: [04:07:04] <spronk> hahaha
616: [04:07:19] <Pyromanik> http://i.imgur.com/g8kaOjd.gif
617: [04:07:20] <ss23> rofl
618: [04:07:25] <ss23> It looks like I didn't post it in here anyway
619: [04:07:27] <Pyromanik> fuck you're full of quality ss23
620: [04:07:39] <ss23> STAHP
621: [04:07:58] <ss23> I think the company was AAE, so I'm grepping
622: [04:08:01] <ss23> ss23@win:~/irclogs$ grep -i ss23.*aae */*
623: [04:08:03] <ss23> GO GO GO
624: [04:08:50] <Pyromanik> did you post from work tho?
625: [04:09:00] <Pyromanik> or do you screen to personal box?
626: [04:09:05] <ss23> Uh
627: [04:09:08] <ss23> I screen to personal
628: [04:09:13] <ss23> I only ever use nick ss23 (or Snowman23)
629: [04:09:20] <Pyromanik> Snowman!
630: [04:09:32] <irogue> cos he's so damn white
631: [04:09:43] <Pyromanik> because he abhores sun
632: [04:09:44] <ss23> ;_;
633: [04:09:52] <ss23> CAUSE I HAVE AN ICE COLD HEART, YO.
634: [04:09:57] <Pyromanik> AB-WHORE
635: [04:10:06] * Pyromanik quit (Quit: leaving)
636: [04:10:25] <ss23> http://ottercon.org/soldout.jpg more otters
637: [04:11:04] <ss23> Oh!
638: [04:11:05] <ss23> "< ss23> Also, AAE used to have a DoS exploit in their trackandtrace online customer interface :D"
639: [04:11:08] <ss23> :D
640: [04:11:10] <ss23> I remember this exploit
641: [04:11:56] <spronk> lawl
642: [04:12:20] <ss23> DAmmit, what are the other AU shipping companies?
643: [04:12:53] <guzzlefry> hrm
644: [04:13:01] <ss23> auspost!
645: [04:13:17] <guzzlefry> Is there a way to return an entire DataObject that the template system can use? return $object; doesn't seem to do it.
646: [04:15:00] <guzzlefry> doing return array ("Title" => $product->Title, etc, etc,); is tedious. :/
647: [04:15:25] <ss23> guzzlefry: return $Object should work fine
648: [04:15:37] <guzzlefry> oh wait
649: [04:15:47] <guzzlefry> return array ("Object" => $Object)?
650: [04:15:52] * guzzlefry gets crazy and tries that.
651: [04:15:58] <ss23> Dpeends how you access it in the template, but shouldn't need to, guzzlefry
652: [04:17:36] <guzzlefry> definitely not working. :/
653: [04:17:58] <guzzlefry> It just goes to a white page and prints out the name of the class that $product is.
654: [04:18:02] <ss23> "< ss23> I emailed Auspost asking for the certificates to authenticate to their SOAP API... they sent me back screenshots of how to view SSL certificate details, in IE6 no less." another gold!
655: [04:18:10] <ss23> guzzlefry: How are you doing stuffi n the template?
656: [04:18:18] <elgrodo> mmm, neither th.yml or th_TH.yml are being picked up :(
657: [04:18:25] <elgrodo> food first, starving
658: [04:18:38] <guzzlefry> ss23: I've tried $Title, which I guess won't work. :P Also tried $product.Title, same result.
659: [04:19:07] <ss23> guzzlefry: Show your code!
660: [04:19:16] <guzzlefry> eep!
661: [04:19:35] <guzzlefry> Title: $Product.Title
662: [04:19:40] <guzzlefry> That's the template^ :P
663: [04:19:50] * UncleCheese has joined #silverstripe
664: [04:19:51] <ss23> And you have a function in your code called PRoduct()?
665: [04:19:53] <ss23> Or getProduct()?
666: [04:20:52] <guzzlefry> ss23: http://sspaste.com/paste/show/5252350e72e2a
667: [04:20:53] <guzzlefry> Like that.
668: [04:21:30] <ss23> Ehhh, that doesn't really make sense
669: [04:21:56] <ss23> sec
670: [04:23:11] <spronk> hmm
671: [04:23:18] <spronk> 10 req/sec with ab -n 100 -c 1
672: [04:23:20] <spronk> not bad
673: [04:23:36] <spronk> amazon ec2 micro instance gets 2.82
674: [04:23:40] <ss23> blargh
675: [04:23:41] <ss23> idk guzzlefry
676: [04:23:43] <ss23> I'm bad at SilverStripe
677: [04:24:09] <guzzlefry> Maybe there's like a...dump all stuff into array function. :P
678: [04:29:38] <guzzlefry> OH
679: [04:29:42] * SightUnseen has joined #silverstripe
680: [04:29:53] <guzzlefry> ss23: return $object->toMap();
681: [04:29:57] * SightUnseen has left #silverstripe
682: [04:30:10] * SightUnseen has joined #silverstripe
683: [04:30:18] * SightUnseen has left #silverstripe
684: [04:32:15] * elgrodo quit (Ping timeout: 240 seconds)
685: [04:35:50] <spronk> interesting
686: [04:36:03] <spronk> amazon micro instance, -n 1000 -c 100 = 30 req/sec
687: [04:36:10] <spronk> amazon m3.2xlarge is only 97
688: [04:37:01] * DigNZ quit (Quit: DigNZ)
689: [04:48:48] * UncleCheese quit (Quit: UncleCheese)
690: [04:53:23] * stecman quit (Quit: This computer has gone to sleep)
691: [05:06:05] * SightUnseen has joined #silverstripe
692: [05:06:25] * SightUnseen has left #silverstripe
693: [05:16:53] * Shrike_Finland quit (Quit: Leaving.)
694: [05:34:20] * gordon has joined #silverstripe
695: [05:34:45] * gordon is now known as Guest87413
696: [05:37:07] <ss23> spronk: What happened last week to MS?
697: [05:37:09] <ss23> :O
698: [05:43:32] <spronk> ugh
699: [05:43:37] * Guest87413 quit (Ping timeout: 268 seconds)
700: [05:43:40] <spronk> setting up a windwos server from scratch
701: [05:43:46] <spronk> jesus christ what a catastrophe
702: [05:45:58] <ss23> lol
703: [05:47:47] * Shrike_Finland has joined #silverstripe
704: [05:48:40] * Liquide quit ()
705: [05:50:14] <spronk> maybe it works nicely if you subscribe to microsoft's kool-aid and have it as part of a domain with a domain controller and all that other bullshit
706: [05:50:16] * Shrike_Finland1 has joined #silverstripe
707: [05:50:51] * Shrike_Finland quit (Read error: Connection reset by peer)
708: [05:51:32] * swordsmanz quit (Quit: swordsmanz)
709: [05:58:54] * Shrike_Finland1 quit (Read error: Connection reset by peer)
710: [05:59:04] * Shrike_Finland has joined #silverstripe
711: [05:59:45] * Guest87413 has joined #silverstripe
712: [06:13:59] <guzzlefry> Is there a way to test if a class is of type X in the template?
713: [06:14:12] <Colin[pi]> Object.ClassName=Name
714: [06:14:30] <guzzlefry> Colin[pi]: Will that evaluate to true against parent classes?
715: [06:14:40] <Colin[pi]> hmm not sure, prolly not
716: [06:18:32] <guzzlefry> ah, found something maybe...
717: [06:18:40] <guzzlefry> Object::is_a(classtype)
718: [06:18:58] <Colin[pi]> yeah but not for the template?
719: [06:19:23] <Colin[pi]> if it's not template code you can just call ($Object instanceof FooBar) in the model
720: [06:21:02] <guzzlefry> I feel like this should be built in. :P
721: [06:26:39] <Colin[pi]> perhaps by another method? I think checking object classes in the template is discouraged :\
722: [06:32:47] <guzzlefry> hrm
723: [07:00:48] * g4b0 has joined #silverstripe
724: [07:01:13] <g4b0> hi all
725: [07:03:40] * SightUnseen has joined #silverstripe
726: [07:03:57] * SightUnseen quit (Client Quit)
727: [07:11:59] <guzzlefry> 0.o
728: [07:12:08] <guzzlefry> Template should call getImage() for $Image right?
729: [07:12:31] <guzzlefry> oh, I guess it has to be Image()
730: [07:18:17] * EasyCo quit (Quit: EasyCo)
731: [07:22:10] * SightUnseen has joined #silverstripe
732: [07:22:12] * SightUnseen has left #silverstripe
733: [07:29:59] <MattSS> spronk: That's kinda the point, no? Otherwise, why not just use *nix?
734: [07:37:52] <Zauberfisch> guzzlefry: template variables use Image() and if thats not found then getImage()
735: [07:37:57] <Zauberfisch> or the other way around
736: [07:37:58] <Zauberfisch> not sure
737: [07:40:16] <guzzlefry> Ah, I see now.
738: [07:40:38] <guzzlefry> This code is doing something funky to get an image from a service.
739: [07:44:59] <Zauberfisch> do you always fetch it on getImage=
740: [07:45:01] <Zauberfisch> ?
741: [07:45:23] <Zauberfisch> I usually cache those images onBeforeWrite or so
742: [07:45:39] <Zauberfisch> saves page load time when the actuall user visits the site
743: [07:45:48] <guzzlefry> I'm not actually sure what this API does.
744: [07:45:49] <Zauberfisch> and you are not dependend on the external source
745: [07:46:17] <guzzlefry> We're actually moving away from it since the service has been a headache. :P
746: [07:53:00] * Super-ru has joined #silverstripe
747: [08:03:11] <guzzlefry> huh...
748: [08:03:34] <guzzlefry> $Product.Image will show the image, but <% if $Product.Image %>$Product.Image<% end_if %> won't...
749: [08:03:56] <guzzlefry> Only when the image is pulled from the weird API though.
750: [08:26:30] <MattSS> guzzlefry: What does $Product.Image return?
751: [08:28:47] <guzzlefry> MattSS: I'm not sure, but $Product.Image.Debug, when using that API, throws a 'max recursion level reached' error.
752: [08:29:38] <MattSS> Interesting
753: [08:30:35] <MattSS> Might be causing some funky problems, but without seeing what the API is doing, it's hard to know
754: [08:30:42] <guzzlefry> I hacked around it, so it's good enough for now.
755: [08:31:38] * SightUnseen has joined #silverstripe
756: [08:31:47] * SightUnseen quit (Client Quit)
757: [08:47:02] * guci0 has joined #silverstripe
758: [08:47:07] <guci0> Morning!
759: [08:51:52] * ocm has joined #silverstripe
760: [08:51:56] <ocm> howdy!
761: [08:56:19] <Zauberfisch> blubb
762: [09:02:26] * SightUnseen has joined #silverstripe
763: [09:11:26] * SightUnseen quit (Ping timeout: 268 seconds)
764: [09:11:48] * Guits quit (Read error: Connection reset by peer)
765: [09:12:25] * Guits has joined #silverstripe
766: [09:23:04] * Super-ru quit (Quit: walking home)
767: [09:36:44] * SightUnseen has joined #silverstripe
768: [09:41:26] * Guest87413 quit (Ping timeout: 240 seconds)
769: [09:44:07] * SightUnseen has left #silverstripe
770: [09:46:36] * neo has joined #silverstripe
771: [09:47:00] * neo is now known as Guest19538
772: [09:47:03] <Guest19538> module admin is not workig
773: [09:51:39] * Guest19538 quit (Ping timeout: 250 seconds)
774: [09:52:58] * neo123 has joined #silverstripe
775: [09:53:16] <neo123> module admin is not working
776: [10:08:33] * neo123 quit (Ping timeout: 250 seconds)
777: [10:12:55] * micmania1 has joined #silverstripe
778: [10:34:57] * Alexw_ has joined #silverstripe
779: [10:36:33] * MrGuits has joined #silverstripe
780: [10:36:33] * Guits quit (Read error: Connection reset by peer)
781: [10:41:11] <Alexw_> Hi, how can restrict the user to use certain modules? Give rights to use that module. But also get rights to edit the rest of the site
782: [10:51:00] * SightUnseen has joined #silverstripe
783: [10:52:11] <ss23> Alexw_: You cannot, modules don't exist like that
784: [10:53:46] <Alexw_> I would like to host silverstripe installation...and that people register and get a own site
785: [10:53:51] <Alexw_> But not all modules will get activated
786: [10:53:58] <Alexw_> Because they are custom and need to pay for
787: [10:54:08] <micmania1> If there are certain objects or controllers you want to restrict, you could create an extension for that class, then do you canEdit checks there.
788: [10:54:23] <micmania1> canView etc...
789: [10:54:31] <Marvanni> check out permissionProvider
790: [10:54:51] <Alexw_> Make a parent class and do the check there and all modules will inherit from it
791: [10:54:59] <Alexw_> And that parent will check if you got sufficient rights
792: [10:55:07] <Alexw_> Can module depend on an other module?
793: [10:55:08] * SightUnseen quit (Ping timeout: 240 seconds)
794: [10:55:55] <Alexw_> Hm...I can also make one module with Extensions
795: [10:56:56] <Alexw_> Hm...a extension can't hold a page type, right?
796: [10:58:11] <Alexw_> @Marvanni, can you create users that can do everything including giving rights, only not certain rights for those modules?
797: [10:58:14] <micmania1> The object it extends can.
798: [10:58:23] <micmania1> so yes, in a way
799: [11:01:34] <Alexw_> At the moment I'm trying to extend LeftAndMain with an extension. I'm using the following code: http://www.sspaste.com/paste/show/4bbdbbdd98a4d. Only then LeftAndMainDecorator is LeftAndMainExtension.
800: [11:01:44] <Alexw_> The class gets loaded and also init get processed
801: [11:01:57] <Alexw_> But no layout.css or tree.css whatever gets loaded into the head section
802: [11:02:08] <Alexw_> Any idea what I do wrong
803: [11:02:23] <Alexw_> I also flushed an deleted the tmp folder
804: [11:05:35] <Alexw_> ANy idea?
805: [11:07:13] <Alexw_> Or does it check if the css exists?
806: [11:10:16] * ARNHOE has joined #silverstripe
807: [11:21:55] * SightUnseen has joined #silverstripe
808: [11:26:19] * SightUnseen quit (Ping timeout: 246 seconds)
809: [11:31:45] * Colin[pi] quit (Ping timeout: 248 seconds)
810: [11:35:40] * zfmf1 has joined #silverstripe
811: [11:36:45] <Alexw_> Is screen.css a generated file?
812: [11:39:03] * violet- quit (Read error: Connection reset by peer)
813: [11:39:10] * violetina has joined #silverstripe
814: [11:39:51] * lerni has joined #silverstripe
815: [11:43:12] <Zauberfisch> Alexw_: no
816: [11:45:33] * ARNHOE quit (Remote host closed the connection)
817: [11:46:53] <Alexw_> I removed screen.css using Requirements::clear('framework/admin/css/screen.css'), but when I inspect an element it keeps popuping up that it still using the css
818: [11:47:03] <Alexw_> But I can't find it in the output source code
819: [11:47:31] <Alexw_> oh there are two screen.css
820: [11:48:00] <Zauberfisch> Alexw_: you might want to use Requirements::block() instead of ::clear()
821: [11:48:21] <Zauberfisch> clear just removes previously included files, block also makes sure they can not be included afterwards
822: [11:48:34] <Alexw_> Ah ok
823: [11:52:41] <Alexw_> How to include the latest version of tinymce to silverstripe?
824: [11:52:50] <Alexw_> At the moment it use a old version
825: [11:52:50] * SightUnseen has joined #silverstripe
826: [11:53:16] <Alexw_> Or can I override the tinymce.js and include my own?
827: [11:57:50] * SightUnseen quit (Ping timeout: 264 seconds)
828: [11:57:56] <Zauberfisch> no idea
829: [12:02:24] <Alexw_> I'm trying to get the bootstrap theme working onto the admin panel...any idea how to the buttons with the class ss-ui-button to "btn btn-default"?
830: [12:05:50] * Guest87413 has joined #silverstripe
831: [12:08:06] * chillu has joined #silverstripe
832: [12:08:10] * chillu quit (Changing host)
833: [12:08:10] * chillu has joined #silverstripe
834: [12:12:10] <Zauberfisch> this is going to be hard / close to impossible
835: [12:12:22] <Zauberfisch> ss-ui-button is hard coded at several places
836: [12:13:06] <Alexw_> I guess I have to modify the bootstrap css
837: [12:13:18] <Zauberfisch> alone in the framework a grep for ss-ui-button returns 164 matches
838: [12:13:45] <Zauberfisch> also some javascript is bound to that, so if you would remove that you loose the JS bindings
839: [12:19:24] <Alexw_> I think I broke the ajax binders:)
840: [12:21:06] * Guest87413 quit (Ping timeout: 264 seconds)
841: [12:23:48] * SightUnseen has joined #silverstripe
842: [12:27:34] * osterlaus has joined #silverstripe
843: [12:29:25] <Alexw_> Does anyone know where I can find the javascript that handles the ajax navigiation
844: [12:29:26] * SightUnseen quit (Ping timeout: 240 seconds)
845: [12:33:23] * osterlaus has left #silverstripe
846: [12:37:41] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
847: [12:39:32] * gordon has joined #silverstripe
848: [12:39:56] * gordon is now known as Guest19551
849: [12:51:08] * ARNHOE has joined #silverstripe
850: [12:54:19] * travis-ci has joined #silverstripe
851: [12:54:19] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#588 (3.1.0 - aa44e71 : Ingo Schommer): The build passed.
852: [12:54:19] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/413e45881bdf...aa44e710d0a9
853: [12:54:19] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12228516
854: [12:54:19] * travis-ci has left #silverstripe
855: [12:56:10] * SightUnseen has joined #silverstripe
856: [13:00:50] * SightUnseen quit (Ping timeout: 264 seconds)
857: [13:01:15] * travis-ci has joined #silverstripe
858: [13:01:15] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1142 (3.1.0 - e4c2d64 : Ingo Schommer): The build has errored.
859: [13:01:15] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/548d784397b1...e4c2d6487720
860: [13:01:15] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12228522
861: [13:01:15] * travis-ci has left #silverstripe
862: [13:01:27] * Guest19551 quit (Ping timeout: 268 seconds)
863: [13:09:04] * ajshort has joined #silverstripe
864: [13:09:19] <Zauberfisch> ohai ajshort
865: [13:09:24] <Zauberfisch> o/
866: [13:09:28] * ajshort leaves
867: [13:09:36] <ajshort> Hi Zauberfisch :)
868: [13:09:38] <Zauberfisch> D:
869: [13:10:09] * travis-ci has joined #silverstripe
870: [13:10:09] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1143 (tmp-3.1.0 - d3b5b11 : Ingo Schommer): The build passed.
871: [13:10:09] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/e4c2d6487720...d3b5b119425d
872: [13:10:09] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12228972
873: [13:10:09] * travis-ci has left #silverstripe
874: [13:17:35] * Guest19551 has joined #silverstripe
875: [13:17:40] * lerni quit (Quit: lerni)
876: [13:27:06] * SightUnseen has joined #silverstripe
877: [13:28:08] * travis-ci has joined #silverstripe
878: [13:28:09] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#589 (3.1 - 107e4b2 : Ingo Schommer): The build passed.
879: [13:28:09] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/d2ba127e4118...107e4b27134d
880: [13:28:09] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12229868
881: [13:28:09] * travis-ci has left #silverstripe
882: [13:30:16] * Shrike_Finland quit (Quit: Leaving.)
883: [13:31:13] * SightUnseen quit (Ping timeout: 240 seconds)
884: [13:48:08] * travis-ci has joined #silverstripe
885: [13:48:08] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1144 (3.1 - 0e5524a : Ingo Schommer): The build passed.
886: [13:48:08] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/4f428497ddee...0e5524af44f1
887: [13:48:08] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12229874
888: [13:48:08] * travis-ci has left #silverstripe
889: [13:52:48] * Guest19551 quit (Ping timeout: 240 seconds)
890: [13:55:10] * Guest19551 has joined #silverstripe
891: [13:59:01] * SightUnseen has joined #silverstripe
892: [14:03:42] * SightUnseen quit (Ping timeout: 264 seconds)
893: [14:29:55] * SightUnseen has joined #silverstripe
894: [14:34:11] * SightUnseen quit (Ping timeout: 245 seconds)
895: [14:35:36] * Guest19551 quit (Ping timeout: 245 seconds)
896: [14:38:49] * travis-ci has joined #silverstripe
897: [14:38:49] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1146 (3.0 - 9824168 : Ingo Schommer): The build passed.
898: [14:38:49] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/e4adff48bcf4...9824168b4571
899: [14:38:49] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12232419
900: [14:38:49] * travis-ci has left #silverstripe
901: [14:45:35] * catcher has joined #silverstripe
902: [14:49:09] * travis-ci has joined #silverstripe
903: [14:49:09] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1147 (3.1 - 795d3e4 : Ingo Schommer): The build passed.
904: [14:49:09] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/11fd15c87dba...795d3e4b3b9c
905: [14:49:09] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12232460
906: [14:49:09] * travis-ci has left #silverstripe
907: [14:56:42] * travis-ci has joined #silverstripe
908: [14:56:42] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#590 (master - 0eb56f9 : Ingo Schommer): The build passed.
909: [14:56:42] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/1a40994527b3...0eb56f965019
910: [14:56:42] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12232655
911: [14:56:42] * travis-ci has left #silverstripe
912: [15:00:55] * SightUnseen has joined #silverstripe
913: [15:03:56] * travis-ci has joined #silverstripe
914: [15:03:57] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1148 (master - 6e8ec77 : Ingo Schommer): The build passed.
915: [15:03:57] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/60fc7e5346c0...6e8ec778c3c5
916: [15:03:57] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12232648
917: [15:03:57] * travis-ci has left #silverstripe
918: [15:05:14] * SightUnseen quit (Ping timeout: 256 seconds)
919: [15:12:30] <Alexw_> How can you change the admin title?
920: [15:12:39] <Alexw_> So replace the "Silverstripe" name
921: [15:16:52] <micmania1> In your YAML config (or php config) set LeftAndMain:application_name to whatever you'd like to call it.
922: [15:17:05] <micmania1> I'm assuming that's what you mean (top left of the cms?)
923: [15:17:31] <Alexw_> The title in the head section
924: [15:19:05] <Alexw_> Will that also be affected by the application name?
925: [15:23:27] * ARNHOE quit (Remote host closed the connection)
926: [15:26:08] <micmania1> nah, it doesn't look like it. That comes from LeftAndMain::Title()
927: [15:28:14] <Alexw_> So how to change application_name?
928: [15:31:49] * SightUnseen has joined #silverstripe
929: [15:36:14] * SightUnseen quit (Ping timeout: 246 seconds)
930: [15:44:07] <micmania1> You can set in the config. http://doc.silverstripe.com/framework/en/topics/configuration
931: [15:49:37] * zfmf1 has left #silverstripe
932: [16:00:06] * Colin[pi] has joined #silverstripe
933: [16:03:13] * SightUnseen has joined #silverstripe
934: [16:07:41] * SightUnseen quit (Ping timeout: 245 seconds)
935: [16:13:52] * g4b0 quit (Quit: Sto andando via)
936: [16:22:05] * ^pH quit (Ping timeout: 245 seconds)
937: [16:22:18] * Colin[pi] quit (Ping timeout: 264 seconds)
938: [16:23:13] * robert__ has joined #silverstripe
939: [16:24:51] * robert_ quit (Ping timeout: 260 seconds)
940: [16:34:08] * SightUnseen has joined #silverstripe
941: [16:38:21] * SightUnseen quit (Ping timeout: 245 seconds)
942: [16:39:03] * chillu quit (Quit: chillu)
943: [17:05:32] * SightUnseen has joined #silverstripe
944: [17:10:00] * SightUnseen quit (Ping timeout: 245 seconds)
945: [17:22:35] * CodeTrap has joined #silverstripe
946: [17:32:56] <Alexw_> I'm trying to add a new element to the admin panel...but all html blocks are dynamic positioned...I would like to add a header at the top of the screen without interfering with the other html blocks
947: [17:33:31] <Alexw_> I only need 40px at the top of page without having a scrollbar
948: [17:36:32] * SightUnseen has joined #silverstripe
949: [17:39:14] * cloph_away is now known as cloph
950: [17:40:40] * SightUnseen quit (Ping timeout: 240 seconds)
951: [17:47:19] * CodeTrap quit (Quit: CodeTrap)
952: [17:49:03] * r3v3rb has joined #silverstripe
953: [17:59:13] * chillu has joined #silverstripe
954: [18:00:35] * chillu23 has joined #silverstripe
955: [18:00:35] * chillu23 quit (Changing host)
956: [18:00:35] * chillu23 has joined #silverstripe
957: [18:00:35] * chillu quit (Read error: Connection reset by peer)
958: [18:00:35] * chillu23 is now known as chillu
959: [18:07:28] * SightUnseen has joined #silverstripe
960: [18:12:06] * SightUnseen quit (Ping timeout: 264 seconds)
961: [18:20:53] * ARNHOE has joined #silverstripe
962: [18:20:55] * swordsmanz has joined #silverstripe
963: [18:25:12] * gordon has joined #silverstripe
964: [18:25:36] * gordon is now known as Guest15124
965: [18:38:51] * SightUnseen has joined #silverstripe
966: [18:43:13] * SightUnseen quit (Ping timeout: 248 seconds)
967: [18:55:32] <Alexw_> How to overrride spinner.gif?
968: [18:57:16] * SightUnseen has joined #silverstripe
969: [18:57:33] * SightUnseen has left #silverstripe
970: [18:58:12] * atmos quit (Quit: Page closed)
971: [19:00:37] <catcher> Alexw_, it'd be best to override the css & provide your own.
972: [19:00:48] <catcher> Rather than overwriting the image.
973: [19:04:48] <Alexw_> Well I did, but there is one scss that can't be overridden
974: [19:04:56] <Alexw_> _style.scss
975: [19:05:03] <Alexw_> it contains 3 spinner.gif
976: [19:05:44] * travis-ci has joined #silverstripe
977: [19:05:45] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1149 (3.1 - a2cfe6e : Ingo Schommer): The build passed.
978: [19:05:45] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/795d3e4b3b9c...a2cfe6e7ea69
979: [19:05:45] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12244014
980: [19:05:45] * travis-ci has left #silverstripe
981: [19:10:27] * simon_w changed the topic to 'Welcome to #silverstripe discussion - IRC logs available: http://ss.org.nz/logs || Ask your question, don't ask about asking your question || 8th of Oct 2013: 3.1.1 is now out! http://ss.org.nz/3.1.1 || 7th of Oct 2013: Security release for 3.0. See http://ss.org.nz/3.0.8 || Development mailing list: http://ss.org.nz/ss-dev'
982: [19:12:40] <catcher> Alexw_, you can always override styles in your own css.
983: [19:12:49] * atmos has joined #silverstripe
984: [19:13:09] <Alexw_> I don't even know what class it is...
985: [19:13:38] <catcher> that's where developer tools come in handy
986: [19:14:14] <Alexw_> Not when the loading element disappears in less than a second
987: [19:17:54] <Alexw_> I dont have a any expierence with scss files
988: [19:18:10] <Alexw_> So I don't know what to think for classes inside classes
989: [19:21:47] <r3v3rb> Alexw_: what image are you trying to override the spinner in the admin section?
990: [19:22:02] <Alexw_> When you switch to a different page
991: [19:22:08] <catcher> Alexw_, it's used 3 times in that file, which one do you want?
992: [19:22:23] <Alexw_> Well exacly want to replace all with a new one
993: [19:22:23] <catcher> Only one has scss-specific stuff, the ampersand just refers to the parent.
994: [19:23:09] <catcher> Just remember you'll have to be more specific than the rule you're trying to override.
995: [19:23:54] <r3v3rb> indeed, give the full css cascade to override ( cascade is my way of relating to an item in full ;D )
996: [19:24:19] <Alexw_> One in _style.scss line 1305 and 1349
997: [19:24:42] <Alexw_> Both have &.loading in it
998: [19:24:58] <Alexw_> One is inside the class .ui-dialog-content
999: [19:25:02] <Alexw_> So how to overload it?
1000: [19:27:25] <r3v3rb> find .loading in the source html and then specify your override using a greater level of depth to your css thus creating a more weighted version of the element
1001: [19:28:14] * zippy__ has joined #silverstripe
1002: [19:30:56] <zippy__> Morning
1003: [19:31:16] <atmos> mornin
1004: [19:32:48] * robert__ is now known as robert_
1005: [19:35:23] <Alexw_> Got it
1006: [19:35:29] <Alexw_> .cms-content-loading-spinner
1007: [19:35:53] * DigNZ has joined #silverstripe
1008: [19:35:54] * DigNZ quit (Remote host closed the connection)
1009: [19:36:08] * DigNZ has joined #silverstripe
1010: [19:38:56] * Pyromanik has joined #silverstripe
1011: [19:39:53] * nickmolhoek has joined #silverstripe
1012: [19:39:54] * nickmolhoek quit (Remote host closed the connection)
1013: [19:40:30] * nickmolhoek has joined #silverstripe
1014: [19:44:01] * Alexw_ quit (Ping timeout: 250 seconds)
1015: [19:48:00] <catcher> Anyone know of a decent module for adding slugging to custom DOs?
1016: [19:50:47] <r3v3rb> catcher 'slugging' ?
1017: [19:51:39] <catcher> URLsegments instead of IDs
1018: [19:52:36] <r3v3rb> only ever did one site with DOs as urls and wrote it myself - are there modules for that then?
1019: [19:52:59] <atmos> DOs?
1020: [19:53:05] <r3v3rb> Dataobjects
1021: [19:53:08] <r3v3rb> atmos:
1022: [19:53:09] <atmos> ah
1023: [19:53:32] <catcher> r3v3rb, my question exactly, I rolled my own before and just checking if there's something more robust out there before I dust it off.
1024: [19:53:53] <atmos> what would the use of slugging DOs?
1025: [19:54:26] <catcher> atmos, better URLs for users & SEO - people/view/atmos instead of people/view/14
1026: [19:54:45] <atmos> catcher: ah, right, makes sense
1027: [19:56:01] <simon_w> Gah, stupid Apache 2.4. There's no reason to be throwing a 403.
1028: [19:58:30] <simon_w> Oh, allow from * is gone
1029: [19:58:35] <simon_w> That's just annoying
1030: [19:58:35] <atmos> if there is already now module for that, it probably wouldn't be tough to build one
1031: [19:59:49] <Pyromanik> catcher: ol UncleCheese made one once.
1032: [19:59:58] <Pyromanik> but I think it's better to just roll your own.
1033: [20:00:18] <catcher> gotcha Pyromanik
1034: [20:00:50] <simon_w> catcher, especially if you're just changing from blah/view/14 to blah/view/name. It's a one line change in your code.
1035: [20:00:51] <Pyromanik> catcher: I generally tend to 'fake' it, people/view/14/atmos
1036: [20:01:20] <atmos> Pyromanik: same here
1037: [20:01:35] <Pyromanik> atmos: seems to be the status quo in NZ. It's how stuff works.
1038: [20:01:46] <Pyromanik> Not that that's an example of a good website.
1039: [20:02:03] <atmos> Pyromanik: 90% at least
1040: [20:02:14] <catcher> My previous version preserves existing links and a couple other things too, I'll probably clean it up.
1041: [20:02:34] <Pyromanik> http://www.stuff.co.nz/national/health/9254194/Lol-Stuff-Is-Shit
1042: [20:02:36] <catcher> i.e. people/view/14 auto-redirects to people/view/atmost
1043: [20:02:39] <Pyromanik> love it
1044: [20:02:48] <Pyromanik> at most!
1045: [20:03:11] <simon_w> Heh, you used to be able to XSS the Herald that way
1046: [20:03:16] <catcher> ha
1047: [20:03:21] <r3v3rb> nah, ss-bits has a great write up on DO's as URL's and the code worked well in 2.4 - I think it probably still does in 3
1048: [20:03:56] * stecman has joined #silverstripe
1049: [20:04:20] <catcher> simon_w, how did that work?
1050: [20:04:29] <Pyromanik> I just like how you can summarise the headline so that no one ever need actually click the link
1051: [20:04:51] <atmos> r3v3rb: yeah I was just reading that a second ago
1052: [20:04:53] <simon_w> catcher, it pulled the h1 title in from the URL
1053: [20:05:05] <Pyromanik> http://www.stuff.co.nz/national/health/9254194/tl:dr,kiwi-men-are-obese,thus-die-early.
1054: [20:05:22] <Pyromanik> hop oh
1055: [20:05:27] <r3v3rb> page not found
1056: [20:05:30] <Pyromanik> doesn't like commas or colons I guess.
1057: [20:05:31] <Pyromanik> guts
1058: [20:05:56] <Pyromanik> http://www.stuff.co.nz/national/health/9254194/tldr-kiwi-men-are-obese-and-thus-die-early
1059: [20:06:16] <r3v3rb> Pyromanik: wha?
1060: [20:07:18] <Pyromanik> r3v3rb: the actual headline is: http://www.stuff.co.nz/national/health/9254194/Mortality-data-makes-grim-reading-for-men
1061: [20:07:41] <r3v3rb> yep, thats what i see
1062: [20:11:45] <r3v3rb> right time to go, add some sleep to my day
1063: [20:11:51] <r3v3rb> night all
1064: [20:12:00] * r3v3rb quit (Quit: r3v3rb)
1065: [20:12:42] * UncleCheese has joined #silverstripe
1066: [20:14:38] <UncleCheese> has anyone noticed that checkboxfields don't validate in SS 2.4?
1067: [20:15:02] <UncleCheese> i remember getting to the bottom of it at one point, but i can't remember what it was
1068: [20:15:13] <UncleCheese> some sort of casting issue where 1 !== true or something
1069: [20:16:42] * CodeTrap has joined #silverstripe
1070: [20:20:17] * ARNHOE_ has joined #silverstripe
1071: [20:23:06] * ARNHOE quit (Ping timeout: 245 seconds)
1072: [20:23:58] * AlphaCactus has joined #silverstripe
1073: [20:27:36] <Pyromanik> UncleCheese: they do, but they don't depending on how old it is.
1074: [20:27:41] <Pyromanik> there's a patch.
1075: [20:27:52] <Pyromanik> change dataValue to return null instead of 0 or something like that
1076: [20:27:56] <Pyromanik> sec, I can find it for you
1077: [20:29:17] <UncleCheese> th
1078: [20:29:18] <UncleCheese> thx
1079: [20:29:51] * ARNHOE_ quit (Remote host closed the connection)
1080: [20:31:04] <Pyromanik> UncleCheese: http://sspaste.com/paste/show/5253187b0f966
1081: [20:31:46] <Pyromanik> so basically yeh, just that 1 change. dataValue(){ return ($this->value) ? 1 : null; }
1082: [20:32:11] <Pyromanik> zero is a valid int, thus validates, or something, I guess.
1083: [20:32:27] <Pyromanik> dunno, just know that patch worked for me.
1084: [20:40:56] <simon_w> Pyromanik, what am I supposed to fix?
1085: [20:41:09] * alexw has joined #silverstripe
1086: [20:42:07] <alexw> Hi, when you create a module, how do let it listen to a certain url...like the cms does to /admin
1087: [20:42:26] <simon_w> alexw, you add routes for it
1088: [20:43:05] <alexw> I dont see any routes that starts with admin at the cms config
1089: [20:43:45] <simon_w> That's because they're in framework
1090: [20:44:37] <alexw> Ic, weird location...but ok... I'll look there
1091: [20:44:59] <simon_w> Well, it's because parts of the CMS are built in to the framework
1092: [20:45:11] <simon_w> (the Users, Files and ModelAdmin)
1093: [20:45:22] <alexw> ok ty
1094: [20:45:48] * alexw quit (Client Quit)
1095: [20:56:05] * CodeTrap quit (Ping timeout: 248 seconds)
1096: [20:56:19] <Pyromanik> simon_w: eh?
1097: [20:56:20] <Pyromanik> oh
1098: [20:56:24] <Pyromanik> umm, log bot search
1099: [20:56:41] <simon_w> But it's not broken
1100: [20:57:00] <Pyromanik> but it doesn't work either
1101: [20:57:14] <Pyromanik> http://logs.simon.geek.nz/search.php?q=imgur
1102: [20:57:28] <Pyromanik> oh
1103: [20:57:31] <Pyromanik> needs .com
1104: [20:57:33] <Pyromanik> rude
1105: [20:58:02] <Pyromanik> ok, don't fix it.
1106: [20:58:29] <simon_w> Told you it's not broken :p
1107: [20:58:40] <Pyromanik> simon_w: well...
1108: [20:58:43] <Pyromanik> https://www.google.co.nz/search?q=ss23+imgur+site:logs.simon.geek.nz
1109: [20:58:51] <Pyromanik> [23:50:00], <ss23> http://i.imgur.com/z9DvjPp.jpg.
1110: [20:58:57] <Pyromanik> not included in those results
1111: [20:59:09] <simon_w> It's because it's designed for words
1112: [20:59:10] <Pyromanik> err, these results: http://logs.simon.geek.nz/search.php?q=ss23+imgur.com
1113: [20:59:18] <Pyromanik> right, fair enough.
1114: [20:59:31] <Pyromanik> I guess.
1115: [20:59:38] <simon_w> Postgres pulls out the base words in the search fields and inputs, then does a lookup
1116: [21:01:13] <Pyromanik> in any case it's much much better and much more accurate-er than mysql
1117: [21:01:42] <simon_w> Yeah, and screw install Java
1118: [21:01:51] <Pyromanik> mmm
1119: [21:02:57] * ARNHOE has joined #silverstripe
1120: [21:03:18] <Pyromanik> urgh what is 3.1's front end image field?
1121: [21:03:18] * travis-ci has joined #silverstripe
1122: [21:03:19] <travis-ci> [travis-ci] chillu/silverstripe-framework#81 (travis-behat-test - 5a76199 : Ingo Schommer): The build has errored.
1123: [21:03:19] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/1f55d690e4d1...5a7619988fe9
1124: [21:03:19] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/12248701
1125: [21:03:19] * travis-ci has left #silverstripe
1126: [21:03:35] * Stomach has joined #silverstripe
1127: [21:04:16] <Pyromanik> FileField I guess
1128: [21:04:54] * ARNHOE quit (Remote host closed the connection)
1129: [21:05:27] * ARNHOE has joined #silverstripe
1130: [21:09:05] <guzzlefry> Does SilverStripe work just as well on Postgres?
1131: [21:09:26] * ARNHOE quit (Ping timeout: 240 seconds)
1132: [21:09:50] <simon_w> yes
1133: [21:10:07] <simon_w> That's what http://treeview.us is using
1134: [21:11:24] * travis-ci has joined #silverstripe
1135: [21:11:24] <travis-ci> [travis-ci] chillu/silverstripe-framework#80 (travis-behat-test - 1f55d69 : Ingo Schommer): The build has errored.
1136: [21:11:24] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/de10471c7ea8^...1f55d690e4d1
1137: [21:11:24] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/12248641
1138: [21:11:24] * travis-ci has left #silverstripe
1139: [21:20:28] * travis-ci has joined #silverstripe
1140: [21:20:28] <travis-ci> [travis-ci] chillu/silverstripe-framework#82 (travis-behat-test - cd8eb64 : Ingo Schommer): The build failed.
1141: [21:20:28] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/5a7619988fe9...cd8eb646a7eb
1142: [21:20:28] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/12248730
1143: [21:20:28] * travis-ci has left #silverstripe
1144: [21:23:46] * Guest15124 quit (Ping timeout: 256 seconds)
1145: [21:28:31] * ec8or_ has joined #silverstripe
1146: [21:29:54] * violet- has joined #silverstripe
1147: [21:32:12] * discorpi1 has joined #silverstripe
1148: [21:32:15] * travis-ci has joined #silverstripe
1149: [21:32:15] <travis-ci> [travis-ci] chillu/silverstripe-cms#52 (pulls/behat-travis - af56847 : Ingo Schommer): The build failed.
1150: [21:32:15] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-cms/compare/32af5336c341^...af56847efe03
1151: [21:32:15] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-cms/builds/12249691
1152: [21:32:15] * travis-ci has left #silverstripe
1153: [21:32:18] * zagoodwin has joined #silverstripe
1154: [21:32:37] <zagoodwin> Action 'Security' isn't available on class Security.
1155: [21:32:45] <zagoodwin> have any of you had this?
1156: [21:32:56] <zagoodwin> my login was working fine before but now i get this
1157: [21:33:14] <simon_w> No <% base_tag %>
1158: [21:33:36] * micmania1 has joined #silverstripe
1159: [21:34:10] <Avroceptyr> Hey guys - anyone a custom dev house with web experience, about 10 - 15 peeps in size? Looking for Aus/NZ firm
1160: [21:34:52] * violetina quit (Ping timeout: 245 seconds)
1161: [21:34:52] * ec8or quit (Ping timeout: 245 seconds)
1162: [21:34:53] * discorpia quit (Ping timeout: 245 seconds)
1163: [21:36:40] <atmos> Avroceptyr: are you looking for a firm to do some work?
1164: [21:37:02] * violet- quit (Remote host closed the connection)
1165: [21:37:11] <Avroceptyr> For a firm to support an existing enterprise search product
1166: [21:37:25] <Avroceptyr> a bunch of javascript, java plugins, and general point+click configuration
1167: [21:38:06] <atmos> Avroceptyr: hmmmm, not really for that size of team
1168: [21:38:37] <atmos> Avroceptyr: only small, boutique firms
1169: [21:42:11] * travis-ci has joined #silverstripe
1170: [21:42:11] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1153 (3.1 - 7542a20 : Ingo Schommer): The build was broken.
1171: [21:42:11] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a2cfe6e7ea69...7542a205f63e
1172: [21:42:11] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12249584
1173: [21:42:11] * travis-ci has left #silverstripe
1174: [21:43:49] * Colin[pi] has joined #silverstripe
1175: [21:44:32] <Pyromanik> d-bags, d-bags everywhere
1176: [21:44:59] <Pyromanik> Avroceptyr: yes.
1177: [21:45:01] <Pyromanik> we are.
1178: [21:45:25] <Pyromanik> but no, we don't want your shitty maintenance job :(
1179: [21:45:43] <Avroceptyr> it's with an awesome enterprise search product
1180: [21:45:48] <Avroceptyr> that lets you do fun stuff
1181: [21:45:56] <Avroceptyr> and fun stuff(tm)
1182: [21:45:57] <Avroceptyr> :D
1183: [21:46:06] <Pyromanik> sounds like sales talk for "Oracle and you'll want to shoot yourself"
1184: [21:46:11] <Avroceptyr> no, not oracle
1185: [21:46:19] <Avroceptyr> Exalead ( check out labs.exalead.com )
1186: [21:46:25] <Pyromanik> so anyway
1187: [21:46:31] <Pyromanik> any facebook experienced folks?
1188: [21:46:39] <Avroceptyr> longtips is a Facebook babe
1189: [21:46:51] <Avroceptyr> he makes Facebook apps in his sleep
1190: [21:47:11] <Pyromanik> longtips: got any short tips for being able to tell if current user has liked page or app or whatever.
1191: [21:47:14] <Pyromanik> ?
1192: [21:48:08] <micmania1> Isn't there an open graph api call for that?
1193: [21:48:10] <Pyromanik> I googled and all I got was "How to Get a Girl to Like You on Facebook (with Pictures) - wikiHow"
1194: [21:48:22] <Pyromanik> micmania1: define
1195: [21:48:27] <micmania1> 2 secs
1196: [21:48:27] <Pyromanik> 'open graph'
1197: [21:48:36] <micmania1> I haven't messed with fb for a while
1198: [21:48:40] <micmania1> I'll have a quick look
1199: [21:48:45] <Pyromanik> I have never, and never want to.
1200: [21:48:46] <guzzlefry> Pyromanik: I'd imagine they don't let you do that for privacy reasons.
1201: [21:49:00] <Pyromanik> But management have a strange way of saying "you have to"
1202: [21:49:08] <Pyromanik> guzzlefry: wrong
1203: [21:49:33] * catcher quit (Quit: Leaving)
1204: [21:49:46] <Pyromanik> 1) many apps do this (eg. Like before you enter our competition)
1205: [21:49:54] <Pyromanik> 2) lol privacy.
1206: [21:50:33] <micmania1> http://developers.facebook.com/docs/reference/opengraph/action-type/og.likes
1207: [21:50:48] <Pyromanik> thanks micmania1
1208: [21:50:59] <micmania1> so you'd get the full list of the users' likes then figure it out from there
1209: [21:51:09] <micmania1> no bother :)
1210: [21:51:27] <Pyromanik> micmania1: really? a full list.
1211: [21:51:28] <atmos> didn't you say, 'current user' though"?
1212: [21:51:31] <Pyromanik> yeh
1213: [21:51:37] <atmos> you don't mean 'logged in' do you?
1214: [21:51:47] <Pyromanik> I want to know if chappy or chappess viewing entry form page has liked competiton or not
1215: [21:51:57] <atmos> Pyromanik: ah ok
1216: [21:52:00] <Pyromanik> (as to whether or not to render entry form or splash image)
1217: [21:52:22] <micmania1> Pyromanik, there might be a better way. Not really sure
1218: [21:52:33] <Pyromanik> micmania1: google is shit
1219: [21:52:39] <Pyromanik> FB's own docs are shit
1220: [21:53:13] <micmania1> they used to be easy. Now they've got about 500 APIs
1221: [21:54:24] <Pyromanik> I mean ffs, the docs describing this function are "An action representing someone liking any object."
1222: [21:54:33] <Pyromanik> great! what does that even mean?
1223: [21:55:31] <ss23> Great!
1224: [21:55:37] <ss23> Good job!
1225: [21:56:42] <atmos> \o\ yay!
1226: [21:58:57] <atmos> zippy__: RAIN
1227: [21:59:08] <zippy__> I see this
1228: [21:59:18] <zippy__> no snow, or thunderstorms thou
1229: [21:59:36] <atmos> zippy__: just you wait - it's COMING
1230: [22:00:04] <zippy__> na, it was just typical weather man jibber jabber
1231: [22:00:12] <ss23> Looks like rain here too
1232: [22:00:12] * travis-ci has joined #silverstripe
1233: [22:00:12] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1154 (3.1 - 6a665b4 : Ingo Schommer): The build is still failing.
1234: [22:00:12] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/7542a205f63e...6a665b4ca2e5
1235: [22:00:12] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12250676
1236: [22:00:12] * travis-ci has left #silverstripe
1237: [22:00:12] <ss23> :O
1238: [22:00:32] <atmos> zippy__: yeh, still sucks though
1239: [22:01:08] <Pyromanik> Avroceptyr: dassault eh
1240: [22:01:29] <atmos> bah - stupid embargo time not changing >:|
1241: [22:02:17] <longtips> Pyromanik: when a page is in a page tab there is an object posted to the page by the facebook server called signed_request that contains a data structure that includes whether it's in a page tab and whether the user likes it, the main php facebook sdk handles all this, you just have to load it before whatever framework you are using scrubs the data
1242: [22:02:30] * mobiusnz quit (Read error: Connection reset by peer)
1243: [22:02:35] <longtips> i think i've made about 24-25 fb apps now
1244: [22:02:46] <Pyromanik> longtips: that confused me. :<
1245: [22:03:10] <Pyromanik> I've made exactly zero facebook apps and have zero aspirations to make any.
1246: [22:03:16] <longtips> load this and configure it, it will look for teh signed_request value https://developers.facebook.com/docs/reference/php/
1247: [22:03:18] <zagoodwin> Hey longtips I have a job coming up building a FB app for gull, big budget
1248: [22:03:23] <longtips> yeah i only make them because the money is so good
1249: [22:03:26] <longtips> it's shit otherwise
1250: [22:03:30] <zagoodwin> do you contract out by any chance?
1251: [22:03:37] <longtips> yeah i'm self employed
1252: [22:03:46] <micmania1> Is FBML still about? Can't you use that?
1253: [22:03:54] <Pyromanik> longtips: they money is good for making the equivalent of email spam?
1254: [22:04:00] <Pyromanik> :<
1255: [22:04:04] <zagoodwin> Whats the best way to contact you?
1256: [22:04:06] <longtips> i don't know, email always looks like a hassle
1257: [22:04:06] <Pyromanik> I fucking hate this earth.
1258: [22:04:17] <Pyromanik> TOO MANY RETARDS.
1259: [22:04:52] <longtips> i assume you have to make a fan gate
1260: [22:05:01] <simon_w> Spoken like a true Cantab!
1261: [22:05:19] <Pyromanik> longtips: so anyway... by page you mean my self hosted app, and page tab you mean...?
1262: [22:05:38] <Pyromanik> longtips: sounds like it, yeah. User must like herpyderpy competition before being able to enter.
1263: [22:05:45] <zippy__> Pyromanik: in the facebook app, you've configured the pagetab to point to the page on your site
1264: [22:06:04] <Pyromanik> zippy__: Right. I think I know what you're talking about.
1265: [22:06:19] <longtips> on facebook your 'app' can exist in about 5 ways, things like desktop apps through to apps with facebook logins (like spotify) through to page tabs, a page tab is just an iframe that embeds your app (hosted on your server) in an iframe that is a tab on whatever brand page
1266: [22:06:46] <longtips> facebook fetches your document with a post request when a user visits it, rather than a get request, and it posts through data about the state of the app, which includes wehther it has been liked or not
1267: [22:06:52] <longtips> the php sdk lets you decode that post payload
1268: [22:07:08] <zagoodwin> Hey longtips what is the best way to contact you?
1269: [22:07:14] <longtips> i messaged you zagoodwin
1270: [22:07:24] <Pyromanik> longtips: oh, so actually it sounds pretty easy as opposed to reading whatever this mess is that they call api docs
1271: [22:07:37] <zippy__> Pyromanik: yes, it's very easy
1272: [22:08:02] <zippy__> I don't even use the SDK, as it's just basically a single function to decode what they send you
1273: [22:08:15] <zagoodwin> sweet, got it thanks
1274: [22:08:24] <longtips> yeah i just use the sdk to decode it so if they change it i can just upgrade the sdk on every server
1275: [22:08:26] <Pyromanik> zippy__: where can I find information about this?
1276: [22:08:53] <Pyromanik> (the POST data and the info it carries)
1277: [22:09:09] <longtips> i'd just use the sdk to decode it, seriously, it's trivial
1278: [22:09:27] <Pyromanik> longtips: none of the docs I've read so far mention anything about this :<
1279: [22:09:28] <longtips> https://developers.facebook.com/docs/reference/php/facebook-getSignedRequest/
1280: [22:09:31] <zippy__> Pyromanik: https://developers.facebook.com/docs/facebook-login/using-login-with-games/
1281: [22:09:46] <longtips> it's a hmac a period and a b64 json object
1282: [22:09:48] <atmos> what's the learning curve like on FB apps?
1283: [22:10:48] * MrGuits quit (Ping timeout: 256 seconds)
1284: [22:12:13] <zippy__> Pyromanik: Even this perhaps - http://snippetlib.com/facebook/parse_signed_request but I havn't used that
1285: [22:12:59] <Pyromanik> zippy__: that page you sent me has an example on parsing a signed request
1286: [22:13:21] <zippy__> Pyromanik: I think i used something like this which is similar to that first one... http://stackoverflow.com/questions/8144550/cant-parse-signed-request-for-facebook-registration-form
1287: [22:15:15] * mobiusnz has joined #silverstripe
1288: [22:15:48] <Pyromanik> longtips: signed-request doesn't seem to have liked data in it? https://developers.facebook.com/docs/reference/login/signed-request/
1289: [22:16:02] <zippy__> it does..
1290: [22:16:06] <longtips> Pyromanik: "page" value
1291: [22:16:19] <Pyromanik> oh yup
1292: [22:16:31] <Pyromanik> ta
1293: [22:18:09] <longtips> http://dirkloechel.deviantart.com/art/Size-Comparison-Science-Fiction-spaceships-398790051
1294: [22:18:44] <Pyromanik> you posted that already longtips... or maybe it was Avroceptyr
1295: [22:19:10] <longtips> yeah didn't see it in the /lastlog http
1296: [22:20:29] <Colin[pi]> guten morgen!
1297: [22:20:40] <Pyromanik> dolbre utra
1298: [22:22:40] <Pyromanik> longtips: so does Facebook::getSignedRequest get me the actual datas, or do I then need to process it myself?
1299: [22:24:13] <Colin[pi]> does... does Github not have a search feature for issues?
1300: [22:24:23] <Pyromanik> probably not
1301: [22:24:33] <Colin[pi]> that is lame
1302: [22:24:37] <simon_w> It does, it's part of the global thing
1303: [22:24:42] * Pyromanik shrugs
1304: [22:24:48] <Colin[pi]> up the top?
1305: [22:24:53] <Pyromanik> intuitive!
1306: [22:25:14] <Colin[pi]> oic got it now, thanks simon_w
1307: [22:25:18] <longtips> Pyromanik: that's assuming using the SDK i linked before, but you can also just decode it by hand
1308: [22:25:44] <longtips> Pyromanik: when the SDK is loaded it looks for a signed request object and then stores some session values related to it so future requests are appropriately authed
1309: [22:25:55] <Pyromanik> longtips: https://developers.facebook.com/docs/facebook-login/using-login-with-games/ seems to suggest I still need to decode after obtaining
1310: [22:26:03] <longtips> naah that's what the SDK is for
1311: [22:26:09] <Pyromanik> oh ok
1312: [22:26:18] <longtips> you either do it yourself, or use the sdk
1313: [22:26:39] <longtips> https://github.com/facebook/facebook-php-sdk
1314: [22:26:45] <Pyromanik> so it goes something like... $facebook->getSignedRequest()->page['liked'] ?
1315: [22:27:53] <longtips> $fb = new facebook(...conf); if ( $whatever = $fb->getSignedRequest ) { $whatever['page']['liked'] ...
1316: [22:28:01] <longtips> just var dump it to see what's up
1317: [22:28:06] <Pyromanik> ok cool
1318: [22:28:10] <longtips> oh i missed () but you get the idea
1319: [22:28:13] <Pyromanik> longtips: I'm not deving, I'm just researching.
1320: [22:28:32] <Pyromanik> longtips: thanks heaps dude, seems pretty legit. I'll pass the info on.
1321: [22:31:28] <Colin[pi]> ever have one of those projects that starts out simple and turns into a massive clusterfuck?
1322: [22:31:51] * travis-ci has joined #silverstripe
1323: [22:31:52] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#592 (3.1 - c0cc517 : Ingo Schommer): The build passed.
1324: [22:31:52] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/107e4b27134d...c0cc51763510
1325: [22:31:52] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12252180
1326: [22:31:52] * travis-ci has left #silverstripe
1327: [22:32:19] <atmos> Colin[pi]: every now and then
1328: [22:32:28] <Colin[pi]> i have two right now lol
1329: [22:32:40] <Colin[pi]> fml
1330: [22:33:17] <atmos> Colin[pi]: I have 1, but it's one I can't fix until our network/hosting guy gets back from holiday :(
1331: [22:33:23] <longtips> yeah the last two years has basically been an exercise in saying no to anything that sounds like it'll be more hassle than it's worth
1332: [22:33:28] <longtips> slow lesson to learn
1333: [22:33:40] <atmos> longtips: yeah I'm still struggling with that
1334: [22:33:48] <Colin[pi]> longtips: think I'm learning that one now
1335: [22:34:09] <Pyromanik> ha, you guys are slow
1336: [22:34:22] <Pyromanik> I start with no, and work my way up to maybe if they want to pay for me to look into it.
1337: [22:34:26] <Colin[pi]> it's easy to swoon with "ooh, money!" but my spidey senses were rightfully tingling
1338: [22:34:54] <atmos> Colin[pi]: I was a yes man, right until the point I got a good job
1339: [22:36:15] <Colin[pi]> i had both extremes this year, one client was an absolute dream.. perfect client
1340: [22:36:27] <Colin[pi]> actually knew what they wanted and knew the tech
1341: [22:36:43] <Colin[pi]> took responsibility over basically all of the content loading / site building
1342: [22:37:06] <Colin[pi]> every time I checked progress with them they are like "no problems, everything's great!"
1343: [22:37:10] <atmos> my worst one by far was a client that had no idea what they wanted, and asked me to gather a list of 'cool websites' and they would pick and choose
1344: [22:37:23] <Colin[pi]> atmos: ohh the worst
1345: [22:37:46] <Colin[pi]> I had an angry client one time frustrated with delays who said "I DONT UNDERSTAND, ITS ALL JUST HTML"
1346: [22:37:59] <atmos> So I gave them a list of uber sites and charged them the sun
1347: [22:39:09] <atmos> content is a problem with 99% of clients
1348: [22:39:50] <Colin[pi]> yeah I built a site earlier this year in, I think April? Didn't launch until four months later as they realised "oh.. oh we need to write stuff"
1349: [22:40:41] <atmos> Colin[pi]: yeah same thing here but with a site that had no products before I contracted a release date
1350: [22:40:58] <Colin[pi]> lol
1351: [22:41:13] <atmos> "can you please find us some pictures of tea sets that we can just use in the mean time"?
1352: [22:41:15] <atmos> -_-
1353: [22:41:27] <Colin[pi]> yes because that's totally in my job description
1354: [22:41:30] <atmos> $1000
1355: [22:43:01] * guzzlefry hates that. :P
1356: [22:43:29] <guzzlefry> "If you don't mind paying me $80/hour to look up pictures." :P
1357: [22:43:51] <Colin[pi]> people don't seem to realise that a) it takes time and b) time is money
1358: [22:43:57] <guzzlefry> welp
1359: [22:44:02] <guzzlefry> they do when they get the invoice
1360: [22:44:20] <atmos> LOVE sending invoices
1361: [22:44:23] <Colin[pi]> hehe
1362: [22:44:29] <guzzlefry> "here ya go!"
1363: [22:44:33] <mobiusnz> why does the file manager ask me twice if I'm sure I want to delete a file?
1364: [22:44:42] <atmos> and then the reply "oh, things are a bit tight at the moment"
1365: [22:44:53] <atmos> BOOM - pulls the site down until teh monez comes in
1366: [22:45:01] * guzzlefry hasn't done that.
1367: [22:45:07] <guzzlefry> But I'm like a sub-contractor. :P
1368: [22:45:08] <Colin[pi]> yeah I came within a hair's breadth of doing that earlier this year
1369: [22:45:17] <atmos> I have done it once
1370: [22:45:45] <atmos> mind you, it was in the business prop
1371: [22:45:45] <Colin[pi]> I had to chase one client for $85 from November last year, for five months :(
1372: [22:46:09] * travis-ci has joined #silverstripe
1373: [22:46:10] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1155 (3.1 - 8d5209a : Ingo Schommer): The build was fixed.
1374: [22:46:10] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/6a665b4ca2e5...8d5209aef649
1375: [22:46:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12252191
1376: [22:46:10] * travis-ci has left #silverstripe
1377: [22:48:36] <guzzlefry> I need to write a rackspace install script for new instances...
1378: [22:50:06] <Colin[pi]> I wrote a stackscript for my linodes... enter some fields, push a button, bam, new server
1379: [22:51:02] <guzzlefry> ah, fancy
1380: [22:51:17] <Colin[pi]> yeah took a lot of testing but it's so sweet :)
1381: [22:51:23] <guzzlefry> Linode and Rackspace instances are basically the same right?
1382: [22:51:38] <guzzlefry> I don't notice any real differences in terms of how they appear to the end user.
1383: [22:52:09] <Colin[pi]> they both do the same job I guess
1384: [22:52:24] <Colin[pi]> is rackspace just l00nix?
1385: [22:56:10] <guzzlefry> They do Windows Server as well.
1386: [22:56:17] <guzzlefry> Not sure about Solaris, Mac, etc.
1387: [22:56:57] <guzzlefry> I'd imagine you'd have dedicated servers if you were a bad enough dude to run Solaris though. :P
1388: [22:59:18] <Colin[pi]> I like the linode manager, it's awesome... linode have had a few security hiccups though :\
1389: [22:59:48] <guzzlefry> yeah, I remember those.
1390: [23:00:02] <guzzlefry> I prefer their interface over Rackspace. :P
1391: [23:00:02] <atmos> :O
1392: [23:00:09] <guzzlefry> Also
1393: [23:00:19] <guzzlefry> Colin[pi]: They did a free upgrade to double storage!
1394: [23:00:22] <guzzlefry> Not sure if you noticed.
1395: [23:00:32] <Colin[pi]> I did indeed :)
1396: [23:00:39] <Colin[pi]> I click that button very quickly
1397: [23:00:42] <Colin[pi]> *clicked
1398: [23:01:23] <atmos> embargos... they work!
1399: [23:01:31] <atmos> yuss
1400: [23:03:08] <Avroceptyr> once, I wrote a paragraph where I was angry about a thing. Then I signed off with "Sincerely".
1401: [23:03:12] <Avroceptyr> That was a good interface.
1402: [23:03:18] * Avroceptyr nods sagely.
1403: [23:06:58] * mobiusnz quit (Quit: Leaving.)
1404: [23:10:39] * mobiusnz has joined #silverstripe
1405: [23:13:45] * guci0 quit (Ping timeout: 250 seconds)
1406: [23:14:46] * mobiusnz quit (Ping timeout: 245 seconds)
1407: [23:15:48] * EasyCo has joined #silverstripe
1408: [23:22:00] <EasyCo> Morning
1409: [23:22:15] <longtips> i like writing fucked off emails as politely as i can and signing them sincerely
1410: [23:22:31] <longtips> especially if it's cc'd to someone i know, that knows i'm taking the piss
1411: [23:22:33] * mobiusnz has joined #silverstripe
1412: [23:25:08] <EasyCo> Should SS database all be innodb?
1413: [23:25:21] <EasyCo> I've got a mix of myisam and innodb here
1414: [23:28:20] <Colin[pi]> hmm I think SS prefers MyISAM because it needs it for full text search
1415: [23:29:00] <Colin[pi]> http://doc.silverstripe.org/framework/en/topics/search
1416: [23:29:06] <Colin[pi]> The MySQLDatabase class now defaults to creating tables using the InnoDB storage engine.
1417: [23:29:13] <Colin[pi]> Any DataObject you wish to use with Fulltext search must be changed to use MyISAM storage engine.
1418: [23:30:04] <guzzlefry> Postgres!
1419: [23:30:16] <EasyCo> Meh fuck it, I'll leave it the way it is then.
1420: [23:30:38] <Colin[pi]> if it ain't broke.. ;)
1421: [23:30:55] <guzzlefry> It will be in a few weeks? >_>
1422: [23:31:05] <Colin[pi]> yes
1423: [23:31:36] <EasyCo> I'll let future Trev deal with it. Present Trev doesn't give a fuck.
1424: [23:31:49] <ss23> Everybody loves magical trevor
1425: [23:31:55] <Colin[pi]> future trev: FFFFFUUUUUU PAST TREV
1426: [23:32:04] <guzzlefry> Trying to build an ecommerce thingy into SilverStripe...this is fun. :P
1427: [23:32:17] <EasyCo> Colin[pi]: Haha, that's usually the case the morning after. Past Trev is a dick.
1428: [23:32:17] <Colin[pi]> guzzlefry: same here
1429: [23:32:55] <guzzlefry> Member has many orders, cart has order, think that arrangement makes sense so far. :P
1430: [23:33:07] <guzzlefry> mostly winging it.
1431: [23:33:31] <Colin[pi]> wait.. you doing it from scratch?
1432: [23:33:48] <guzzlefry> yes
1433: [23:33:53] <Colin[pi]> you crazy bastard
1434: [23:34:03] <guzzlefry> It's not that complicated.
1435: [23:34:09] <guzzlefry> Well, from my initial investigations. :P
1436: [23:34:19] <Colin[pi]> it will be... IT.. WILL... BE *cough*
1437: [23:34:19] <guzzlefry> I might start panicking eventually.
1438: [23:34:35] * guzzlefry runs around in circles with arms flailing
1439: [23:34:42] <Colin[pi]> the correct response
1440: [23:34:58] <EasyCo> 'It's not that complicated.' -- haha, famous work them.
1441: [23:35:11] <Colin[pi]> 640KB should be enough for anyone
1442: [23:35:24] <EasyCo> Closely followed by: should just take an hour.
1443: [23:35:46] <Colin[pi]> "I will install this third-party module to save time"
1444: [23:36:05] <EasyCo> lol
1445: [23:36:44] <Colin[pi]> guzzlefry: I'm building a site based on ss-shop at the moment. It's going *ok*
1446: [23:37:11] <guzzlefry> Now, how do I attach a default $has_one object?
1447: [23:37:24] <guzzlefry> override the getter and create one if it doesn't exist?
1448: [23:37:49] <Colin[pi]> populateDefaults() ?
1449: [23:38:34] <guzzlefry> Well, the thing is, I already have members in the system, I'll be checking for their cart.
1450: [23:39:28] <micmania1> Does the cart need to be an object?
1451: [23:39:45] <micmania1> Can't you just have a many_many between products on members?
1452: [23:40:17] <guzzlefry> hrm
1453: [23:40:39] <guzzlefry> And then extra fields for quantity?
1454: [23:40:44] * Jayden90 has joined #silverstripe
1455: [23:40:52] <Colin[pi]> you need an OrderItem class!
1456: [23:41:00] <guzzlefry> I have one!
1457: [23:41:04] <guzzlefry> well, OrderLine :P
1458: [23:41:04] <Colin[pi]> which links a Product object with a Quantity field
1459: [23:41:07] <Colin[pi]> that also
1460: [23:41:29] * zagoodwin quit (Ping timeout: 250 seconds)
1461: [23:41:30] <Colin[pi]> this is why I went with ss-shop ;P
1462: [23:41:45] <micmania1> I'd use many_many_extraField for quantity, even though they're a bit dodgy.
1463: [23:41:46] <Colin[pi]> even though it is a total pain in the dick to get everything working... it still gave me a massive headstart
1464: [23:42:05] <Jayden90> Forced to do my first Magento build. Holy shit it is crap
1465: [23:42:10] <Jayden90> having a bad time :(
1466: [23:42:23] <micmania1> Burn it!
1467: [23:42:25] <Colin[pi]> e-comm generally makes for a bad time, next time I think Shopify...
1468: [23:42:32] * UncleCheese quit (Quit: UncleCheese)
1469: [23:43:17] <micmania1> I keep getting forced to do wordpress.
1470: [23:43:43] <micmania1> I was considering how hard it would be to build Silverstripe into it as a plugin...
1471: [23:43:46] <EasyCo> My biggest gripe with Magento… you can change/modify settings in a 100 different places. Which makes for a pain in the ass when chasing down a change/bug.
1472: [23:44:49] <Jayden90> these xml files are doing my head in
1473: [23:45:48] <Jayden90> simple things like having the templates and skin folders nested so deeply seperate
1474: [23:47:07] <Jayden90> Seriously a competitive ecom module for SS would be killer
1475: [23:47:48] * chillu quit (Quit: chillu)
1476: [23:49:14] * Guest39837 has joined #silverstripe
1477: [23:51:25] * atmos came back from lunch, saw someone said they were making an ecommerce system from scratch, lols.
1478: [23:52:18] <Colin[pi]> atmos: yeah I like to make a lot of my own stuff, but e-comm? eeeke
1479: [23:52:45] <Colin[pi]> I made a very simple e-comm system in SS earlier this year, cart, checkout, order etc. but no payments, just sends an email
1480: [23:53:05] <atmos> Colin[pi]: yeah I did the same for an .asp site
1481: [23:53:28] * Guest39837 quit (Ping timeout: 240 seconds)
1482: [23:53:45] <micmania1> i'm off to bed. Good night/morning/day etc.
1483: [23:54:03] <atmos> with all due respect however, guzzlefry if you manage to get it working, you'd be the man
1484: [23:56:13] <guzzlefry> If I don't I might be unemployed. :P
1485: [23:56:21] <guzzlefry> Needs to be working by Wednesday.
1486: [23:58:09] <atmos> o.O
1487: [23:59:54] <atmos> imo at the moment, it is pretty tough to beat Shopify

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