#silverstripe IRC Log

IRC log for 16 July 2014

All timestamps are in UTC.

1: [00:00:24] <antmas> ss23: fffffffffffffffffffffffffffffffffffffff
2: [00:00:42] <antmas> pls
3: [00:00:46] <ss23> ^.^
4: [00:00:46] <irogue_> ss23: sure. you on your way? :P
5: [00:00:48] <antmas> send antmas some
6: [00:00:52] <ss23> It's okay, I'm bored of burgerfuel already
7: [00:01:00] <ss23> Had so much of the Texas Chainsaw Massacre lately...
8: [00:01:08] <irogue_> ss23: quay st, you've got an hour to get here
9: [00:02:12] <ss23> You paying for the private jet? :P
10: [00:02:13] <antmas> http://io9.com/real-life-futurama-is-gorgeous-1605578031
11: [00:02:17] <antmas> :O
12: [00:02:19] <antmas> SO MUCH WANT
13: [00:02:36] <irogue_> ss23: hmm, nope. maybe we can try in 2 weeks
14: [00:03:07] <simon_w|work> http://empirestripsback.com/
15: [00:03:12] <simon_w|work> So much more sexy :p
16: [00:03:14] <zippy__> in my model admin, how can I check for duplicate before the person saves (validation)? I have got a unique index on the field, but want to provide some feedback to the user
17: [00:03:41] <simon_w|work> zippy__, having validate() return a non-valid response should do it
18: [00:03:47] <irogue_> Hamish seems to be discussing how to bomb an airplane using a laptop on a skype video call
19: [00:03:51] <irogue_> while playing with a knife
20: [00:04:00] <ss23> Hmmm
21: [00:04:09] <ss23> Probably wouldn't be hard domestically
22: [00:04:19] <zippy__> simon_w|work: indeed, thanks
23: [00:04:20] <ss23> No security on certain flights, so you could easily just take a bomb and blow it up
24: [00:04:36] <irogue_> ss23: strange meeting tho :P
25: [00:05:01] <irogue_> ss23: whoever from wellington he's currently in videoconference with must be his fellow terrorists
26: [00:05:06] <antmas> can't wait to read the ss logs next time a terrorist attack happens
27: [00:05:22] <ss23> XD
28: [00:05:24] <ss23> hahaha antmas
29: [00:05:49] <antmas> we finally find out what ss23 stands for
30: [00:05:53] <ss23> what?
31: [00:05:53] <ss23> :O
32: [00:06:00] <antmas> iSiS attack on the 23 of July
33: [00:06:06] <ss23> :O
34: [00:06:15] <ss23> I swear, if that happens, I'm going to be so fucked
35: [00:06:15] <ss23> :P
36: [00:06:19] <antmas> lol
37: [00:06:34] <irogue_> NSA's already flagged it in their system, now that antmas has said that
38: [00:06:37] <Colin[pi]> yeah I hope you'll enjoy your new arsehole if that happens ss23
39: [00:06:41] <Colin[pi]> gg antmas
40: [00:06:42] <Colin[pi]> lP
41: [00:06:42] <ss23> :(
42: [00:06:43] <Colin[pi]> ;P
43: [00:06:51] <antmas> :P
44: [00:06:56] <antmas> WHAT HAVE WE DONE
45: [00:07:04] <ss23> And knowing NZ at the moment, it would be an instant "SURE UNITED STATES, TAKE OUR CITIZENS AND 'ENCHANGED INTEROGATE' HIM"
46: [00:07:12] <irogue_> O/H: "I get to pee today, I'm so happy!"
47: [00:07:19] * guzzlefry sneaks around.
48: [00:07:34] * antmas grabs guzzlefry
49: [00:07:37] <guzzlefry> I might be the only American in here. :P
50: [00:07:37] <antmas> YOU GET BACK HERE
51: [00:08:07] <irogue_> hmm, I feel like something other than Subway today
52: [00:08:16] <guzzlefry> Quiznos?
53: [00:08:24] <irogue_> Stomach: still here? i need your local knowledge
54: [00:08:29] <Stomach> hiya
55: [00:08:30] <zippy__> isn't burger fuel the choice for you Welly/Aucklanders?
56: [00:08:40] <irogue_> any good indian places around us?
57: [00:08:46] <simon_w|work> irogue_, TimTams!
58: [00:09:00] <irogue_> zippy__: sometimes, but it's pretty expensive
59: [00:09:09] <Stomach> irogue_, fucked if i know
60: [00:09:18] <Stomach> not that I've been to
61: [00:09:19] <irogue_> Stomach: damn
62: [00:09:37] <simon_w|work> irogue_, there's some good places in Wellington
63: [00:09:53] <Stomach> simon_w|work, yes there are indeed
64: [00:09:59] <irogue_> simon_w|work: I know some good places around, just not in the CBD as I've never tried any here yet
65: [00:10:00] <Stomach> theres even better ones in dunedin
66: [00:10:15] <irogue_> I should really try some near my house sometime
67: [00:10:21] <irogue_> tons of indians live in 'rewa
68: [00:11:24] <simon_w|work> "Please note that the servers have had their performance regressed at the infrastructure level since last week."
69: [00:11:36] <simon_w|work> Turns out, that's something of an understatement
70: [00:11:59] <irogue_> simon_w|work: god, that's some weird terminology
71: [00:12:14] <simon_w|work> irogue_, also, the servers are really really slow now
72: [00:12:16] <irogue_> "had their performance regressed at the infrastructure level" sounds like the kind of shit IBM would say
73: [00:12:31] <simon_w|work> Used to take just over 2 minutes to run the benchmark suite
74: [00:12:40] <irogue_> whereas I would say "downgraded"
75: [00:12:42] <simon_w|work> It's taking more than that for the faster tests :(
76: [00:12:46] <antmas> lol this is pretty good http://www.stuff.co.nz/entertainment/10272089/TV-reporter-swallows-fly-on-air
77: [00:13:05] <irogue_> might go see what New World Metro has for lunch
78: [00:14:01] * spronk has joined #silverstripe
79: [00:14:12] <Colin[pi]> antmas: lol nice recovery
80: [00:14:14] <simon_w|work> Total execution time:23 minutes, 27 seconds
81: [00:14:19] <simon_w|work> That's some regression
82: [00:14:39] * camfindlay has joined #silverstripe
83: [00:17:49] <ss23> antmas: that guy looks disgustingly fat
84: [00:17:51] <ss23> :O
85: [00:21:25] <Colin[pi]> ss23: prolly from all of the fucking flies he eats
86: [00:21:56] <ss23> rofl
87: [00:22:28] <Colin[pi]> he kinda looks a bit frog/toad like
88: [00:22:35] <Colin[pi]> might be in human disguise :o
89: [00:26:21] <simon_w|work> "The start of today's House of Reps sitting had to be delayed this morning, because not enough MPs turned up."
90: [00:26:28] <simon_w|work> Good one Australia
91: [00:28:02] <Colin[pi]> yep, class act
92: [00:29:25] * peter_w has joined #silverstripe
93: [00:30:03] <Stomach> thats pretty disgusting
94: [00:30:12] <peter_w> does anyone know if it is possible to get the name of the dataobject I am extending within the dataextension code...i.e the dataextension is extended to multiple dataobjects
95: [00:30:15] <Stomach> should doc their pay and thrash them
96: [00:30:26] <simon_w|work> peter_w, get_class($this->owner)
97: [00:30:40] <peter_w> champion...cheers
98: [00:34:05] <Cheddam> Is there branding gear around? Need a nice big logo for my keynote :P
99: [00:35:32] <Stomach> http://www.silverstripe.org/themes/silverstripe/images/logo-org.png
100: [00:35:34] <Stomach> :D
101: [00:36:25] <Cheddam> such resolution
102: [00:38:21] <Colin[pi]> http://www.webdirections.org/code14/images/partners/silverstripe-logo.png
103: [00:39:17] <simon_w|work> camfindlay, did you get my slides?
104: [00:41:59] <Cheddam> Colin[pi] Thanks!
105: [00:42:42] <simon_w|work> Cheddam, http://www.silverstripe.com/press/media-assets/
106: [00:43:40] <camfindlay> simon_w|work yes I did thanks for those :)
107: [00:44:00] <simon_w|work> Depending on how fast some people are at updating their PRs, they may changed ;)
108: [00:45:12] <camfindlay> simon_w, quick do some live merging at the talk… surely nothing bad could happen ;)
109: [00:46:25] <simon_w|work> camfindlay, you have seen the state I got master into, right? ;)
110: [00:46:37] * pixelboy_ quit (Remote host closed the connection)
111: [00:46:42] <camfindlay> yeap
112: [00:47:31] <simon_w|work> irogue_, you should keep poking mooman until he fixes it!
113: [00:49:13] <simon_w|work> (literally)
114: [00:49:19] <ss23> lol
115: [00:49:23] <simon_w|work> (it worked with madmatt!)
116: [00:49:28] <ss23> The joys of working next to core commiters!
117: [00:49:45] <antmas> [12:21] <Colin[pi]> ss23: prolly from all of the fucking flies he eats
118: [00:49:55] <antmas> ROFLROFL
119: [00:50:01] <antmas> 10 points Colin[pi]
120: [00:50:03] <Colin[pi]> :D
121: [00:50:18] <ss23> woah, showing up my "rofl" with a "ROLFROFL"
122: [00:50:21] <ss23> You'er going all out, antmas
123: [00:50:46] <antmas> ss23: :P
124: [00:50:55] <ss23> What to get for lunch
125: [00:50:58] <antmas> I lost my shit when I saw that from Colin[pi]
126: [00:51:00] <ss23> I guess I'll just eat this cake more for a while
127: [00:51:00] <ss23> :O
128: [00:51:25] <simon_w|work> antmas, did you look behind the couch?
129: [00:51:39] <antmas> simon_w|work: XD
130: [00:51:44] * 7F1AAQY70 quit (Quit: 7F1AAQY70)
131: [00:52:01] <antmas> ss23: cake for lunch is a good choice
132: [00:52:23] <ss23> :D
133: [00:52:27] <ss23> Free cake, even!
134: [00:52:27] * simon_w|work has tuna and "sweet potato" patties
135: [00:52:33] * antmas can't stop laughing
136: [00:52:34] <ss23> simon_w|work: gross! >.<
137: [00:52:40] <antmas> make it staahhhp
138: [00:52:44] <simon_w|work> kumara > sweet potato
139: [00:53:02] <antmas> sweet potatos are lies
140: [00:53:08] <antmas> shit aint sweet
141: [00:53:40] <antmas> http://www.stuff.co.nz/life-style/food-wine/food-news/10272919/Its-a-thing-Gummy-bear-sausages
142: [00:53:46] <simon_w|work> // Weekly warnings
143: [00:53:47] <simon_w|work> if (is_array(idx($timesheetUserCode['warnings'],'weeks'))) {
144: [00:53:47] <simon_w|work> foreach ($timesheetUserCode['warnings']['weeks'] as &$warnings_weeks) {
145: [00:53:47] <simon_w|work> foreach ($warnings_weeks as &$warning) {
146: [00:53:47] <simon_w|work> }
147: [00:53:47] <simon_w|work> }
148: [00:53:49] <simon_w|work> }
149: [00:53:50] * antmas throws up
150: [00:53:53] <simon_w|work> Good use of code, that
151: [00:54:11] <ss23> simon_w|work: ...
152: [00:54:16] <simon_w|work> The sad thing is, that could actually do something
153: [00:54:21] <simon_w|work> This code is that bad
154: [00:54:26] <ss23> Damn right it is
155: [00:54:27] <ss23> >.<
156: [00:54:30] <ss23> What the fuck were they thinking
157: [00:54:43] <ss23> You kinow whats sweat? The white chocolate icing on this cake, antmas
158: [00:54:43] <ss23> :D
159: [00:54:52] <antmas> that's so obviously a copy/pasta lump of code simon_w|work
160: [00:55:12] <antmas> ss23: mmmmm
161: [00:56:44] * wilson has joined #silverstripe
162: [00:57:08] * wilson is now known as Guest9815
163: [00:57:16] <Guest9815> Hi to all, ive installed SS using _ss_environment.php but the install is in english. Any way to set language in French?
164: [00:57:50] <ss23> je ne sais pas :(
165: [00:58:21] <Guest9815> Good try :-)
166: [00:58:32] <ss23> :P
167: [00:58:49] <ss23> Guest9815: You could set a default locale in your _config.php file?
168: [00:58:53] <ss23> Or you need/want it in _ss_environment?
169: [00:59:06] <Guest9815> Ive tried to modidy MemberLoginForm.php to no avail. In in _ss_environment?
170: [00:59:16] <Guest9815> Oui (yes1) in _ss_environment?
171: [01:00:03] <simon_w|work> Guest9815, in mysite/_config.php, change the i18n::set_locale() call to fr_FR
172: [01:01:11] <antmas> trademe down?
173: [01:01:22] <Guest9815> simon w|work -> right on! Thanks!
174: [01:01:41] * Guest9815 quit (Quit: Page closed)
175: [01:02:58] <ss23> IF YOU DON'T EAT YOUR MEAT
176: [01:03:01] <ss23> HOW CAN YOU HAVE ANY PUDDING?
177: [01:03:09] <ss23> HOW CAN YOU HAVE YOUR PUDDING IF YOU DON'T EAT YER MEAT?
178: [01:03:15] <simon_w|work> My puddings don't tend to have meat in them
179: [01:03:45] <antmas> Black Pudding
180: [01:04:17] <ss23> but a traditional englihs dinner often has meat in it, and there is also a "rule" for children that you have to eat your dinner first before you get pudding
181: [01:06:47] * Tanger has joined #silverstripe
182: [01:07:02] <simon_w|work> Last I checked, I wasn't a child
183: [01:08:41] * simon_w|work has his pudding at lunch time, like a grown up!
184: [01:11:39] * gianbasagre has joined #silverstripe
185: [01:11:48] <Tanger> I waited 18 years to become an adult, just so I could eat jelly for breakfast
186: [01:12:15] <ss23> :D
187: [01:13:08] <irogue_> I ate chocolate mousse for breakfast long before I was 18
188: [01:14:16] <simon_w|work> I guess it's better for you than hair mousse for breakfast
189: [01:14:37] <antmas> http://i.kinja-img.com/gawker-media/image/upload/s--gbnB0Lat--/g0gmvflzgejgekrkhwem.gif
190: [01:14:54] <ss23> antmas: ...?
191: [01:15:30] <antmas> ss23: I find that... hard to watch
192: [01:15:44] <antmas> everytime I build a PC, this is the part that makes me cringe
193: [01:15:46] <antmas> lol
194: [01:16:04] <ss23> oic
195: [01:16:06] <ss23> Yeah, the flex...
196: [01:16:09] <ss23> And these new sockets are bad
197: [01:16:15] <ss23> Older sockets were like "Oh it fits smoothly and feels good"
198: [01:16:19] <Colin[pi]> yeah waiting for that little "dink!" sound if something goes wrong
199: [01:16:22] <ss23> that fucking new LGA socket is like "HOLY SHIT IT'S PRESSING"
200: [01:16:30] <antmas> exactly
201: [01:17:57] <Colin[pi]> pro tip: never have people standing around watching / talking to you while building a PC
202: [01:18:15] <Colin[pi]> it's cruise control for "...oh fuck" later
203: [01:18:36] <antmas> yeah I lock myself in a room until I finish it
204: [01:18:42] <Colin[pi]> lol antmas, good plan
205: [01:18:44] <antmas> cable management and all
206: [01:19:01] <Colin[pi]> dat feel when the cables are all tied and in place
207: [01:19:18] * gianbasagre has left #silverstripe
208: [01:19:18] <antmas> then you turn it on and 'BEEP BEEP MOTHER FUCKER'
209: [01:19:34] <ss23> I never do cable control
210: [01:19:43] <ss23> Both my PCs have their sides off atm
211: [01:19:45] <Colin[pi]> yep.. or like one time I did it, it went... spinnnnnn up the fans.. *FOOM!!* spinnnnn downnnnn the fans
212: [01:19:46] <ss23> And one of them has the front off too
213: [01:19:59] <simon_w|work> It could at least go "Yipee-ki-yay, motherfucker" before blowing up
214: [01:20:10] <Colin[pi]> simon_w|work: this was basically the PC equivalent
215: [01:20:23] <simon_w|work> Colin[pi], but nowhere near as awesome
216: [01:20:29] <antmas> ss23: is that like a poor man vaccum cleaner for 1sqm of your room?
217: [01:20:37] <ss23> XD
218: [01:20:40] <Colin[pi]> hehe'
219: [01:20:49] <Colin[pi]> dem dust bunnies inside
220: [01:21:00] <antmas> somehow flies end up in my pc
221: [01:21:12] <simon_w|work> My work machine didn't use to have a side
222: [01:21:20] <simon_w|work> Them my drive got doubled in size, and now it does again!
223: [01:21:25] <antmas> fly is like 'yip, this is GOOD IDEA I'M JUST GOIN TO FLY IN HERE AND DIE'
224: [01:21:27] <antmas> good idea
225: [01:21:30] <antmas> A+ 10 points
226: [01:21:57] <Colin[pi]> my poor PC is overdue for a clean out
227: [01:22:04] <Colin[pi]> I bet there are some epic dust bunnies inside
228: [01:22:15] <antmas> dust hares maybe?
229: [01:22:18] <simon_w|work> My two are due for replacing, but money :(
230: [01:22:19] <antmas> ...
231: [01:22:21] <antmas> sorry
232: [01:22:27] <Colin[pi]> haha
233: [01:22:58] <Colin[pi]> I built this thing, what, 3 years ago? still going great, only a GPU upgrade in between
234: [01:23:17] <antmas> mine is like 6 years with a GPU
235: [01:23:18] <ss23> I took the heatsink/fan off my GFX card to clean out the dust
236: [01:23:32] <ss23> Took it all off, got thermal paste all over me, and didn't even have compressed air
237: [01:23:32] <antmas> ss23: that's brave
238: [01:23:34] <Colin[pi]> antmas: ooh getting a bit long in the tooth :o
239: [01:23:35] <ss23> Never agian.
240: [01:23:37] <ss23> :/
241: [01:24:02] <antmas> just like me not screwing the tubes in before firing up my water cooling
242: [01:24:15] <Colin[pi]> ss23: lol I did the same on a couple of my GPUs.. one was idling at 70C and under load it hit 100C, factory heatsink
243: [01:24:20] <Colin[pi]> you could fry eggs on it
244: [01:24:59] <Colin[pi]> so I removed it, and they had put this shitty white thermal goop on like toothpaste
245: [01:25:33] <ss23> XD
246: [01:25:46] <ss23> Fuck water cooling. So not worth the risk/reward
247: [01:25:47] <ss23> :P
248: [01:26:10] <Colin[pi]> I wiped the toothpaste off, cleaned everything
249: [01:26:15] <Colin[pi]> replaced with Arctic silver 5
250: [01:26:16] <antmas> you should try cleaning a Cooler Master v10
251: [01:26:20] <antmas> FUCK THAT
252: [01:26:22] <Colin[pi]> replaced everything
253: [01:26:34] <Colin[pi]> anyway... the card went to idle 50, load 70
254: [01:26:42] <Colin[pi]> just from changing the paste
255: [01:26:58] * pippy quit (Ping timeout: 246 seconds)
256: [01:27:07] <antmas> Colin[pi]: yeah factory paste probably is just colgate
257: [01:27:18] <Colin[pi]> 30C different under load! I'm like what in the actual
258: [01:29:29] * jedateach has joined #silverstripe
259: [01:32:10] <Colin[pi]> fucking hell that v10 is aptly named
260: [01:32:19] <Colin[pi]> car part or computer part? :o
261: [01:32:20] <simon_w|work> It's the 10th version?
262: [01:32:28] <Colin[pi]> looks like it belongs in a car!
263: [01:32:38] <Colin[pi]> http://images.hardwarecanucks.com/image/akg//Air_Cooling/v10/CoolerMaster_V10_2.jpg
264: [01:32:55] <antmas> Colin[pi]: I have that installed
265: [01:32:59] <antmas> it weighs 1.2kg
266: [01:33:01] <antmas> o.O
267: [01:33:01] <Colin[pi]> sweet jesus
268: [01:33:14] <antmas> dat PCB bend
269: [01:33:33] <Colin[pi]> um.. so like it needs a special bracket I assume?
270: [01:33:47] <antmas> nope, just screws in like usual :/
271: [01:34:06] <Colin[pi]> wtf? nothing on the back of the mobo?
272: [01:34:08] <antmas> it really should though
273: [01:34:22] <antmas> Colin[pi]: oh yeah it has a bracket, but most after markets do anyway
274: [01:34:26] <Colin[pi]> oh
275: [01:36:01] <Colin[pi]> i have one of these in my HTPC and I thought it was nuts: http://tinypic.com/ae4ef5.jpg
276: [01:36:53] <antmas> bah, blocked for me
277: [01:36:55] <antmas> :(
278: [01:36:57] <antmas> damnneckbeards
279: [01:37:20] <Colin[pi]> this one? http://www.pcper.com/images/reviews/278/4-9500Parts.jpg
280: [01:37:42] <antmas> yeah that works, good cooler too
281: [01:37:48] <Colin[pi]> yep it's SO quiet
282: [01:38:24] <antmas> my next one with be this http://pricespy.co.nz/product.php?p=516316
283: [01:38:27] <antmas> dat beige
284: [01:38:47] <Colin[pi]> mm that cooler is supposed to be awesome
285: [01:38:52] <irogue_> [13:25:46] <+ss23> Fuck water cooling. So not worth the risk/reward
286: [01:39:01] <irogue_> these days, I can't comprehend people who use non-closed water cooling systems
287: [01:39:13] <ss23> AIR IS CHEAPER AND EASIER
288: [01:39:21] <antmas> ss23: not really
289: [01:39:26] <irogue_> they generally perform *worse* than the closed all-in-ones
290: [01:39:34] <irogue_> and so much risk of WATER EVERYWHERE
291: [01:39:43] <antmas> Corsair H100 is easy as shit to install
292: [01:39:58] <irogue_> yep
293: [01:40:03] <ss23> You know whats easier than that
294: [01:40:05] <ss23> Not installing it.
295: [01:40:09] <ss23> Because all my shit is 100% stock
296: [01:40:10] <antmas> lol
297: [01:40:19] <irogue_> ss23: clearly you don't have an 8-core AMD ;)
298: [01:40:32] <ss23> 4790
299: [01:40:34] <Colin[pi]> mm unless I was into serious overclocking I wouldn't bother with liquid cooling
300: [01:40:45] <ss23> Launched just this year
301: [01:40:51] <ss23> so beast
302: [01:41:00] <antmas> ss23: at home or work?
303: [01:41:01] <ss23> Also I put 32gb of ram in my computer
304: [01:41:02] <ss23> o/
305: [01:41:06] <Colin[pi]> chicks dig ram
306: [01:41:10] <ss23> antmas: Home, at work I have an ever so slightly earlier model
307: [01:41:19] <irogue_> ah, haswell
308: [01:41:22] <ss23> 4770 at work, 4790 at home
309: [01:41:25] <irogue_> low power, low heat, low speed
310: [01:41:29] <ss23> hehehehe
311: [01:41:35] <ss23> Well, compared to my Pentium, I'll take the Haswell ;)
312: [01:41:47] <antmas> my work one is a Xeon 1603
313: [01:41:53] <antmas> home is a shitty old Q9550
314: [01:41:55] <irogue_> ss23: they're pretty good
315: [01:41:56] <ss23> Only 16gb of ram at home
316: [01:41:59] <ss23> uh
317: [01:41:59] <ss23> at work
318: [01:42:02] <irogue_> just a step backward speed-wise from the Ivy Bridge
319: [01:42:12] <irogue_> but massive gains everywhere else
320: [01:42:17] <ss23> mm
321: [01:42:31] <ss23> It's fucked up man
322: [01:42:36] <irogue_> you could probably breathe on them to cool them, and they're like 80W TDP
323: [01:42:37] <ss23> 22nm arch for Haswell
324: [01:42:55] <ss23> Only like 8 years left and we'll be at the literal physical limit
325: [01:43:21] <antmas> I don't know why work got Xeons
326: [01:43:29] <antmas> for our workstations
327: [01:43:41] <Colin[pi]> antmas: neckbeards still get a hard on for xeons
328: [01:43:42] <irogue_> antmas: they felt like throwing money away?
329: [01:43:50] <antmas> irogue_: Colin[pi] pretty much!
330: [01:44:00] <antmas> they are fast as hell, but such a huge wast
331: [01:44:03] <antmas> waste*
332: [01:45:23] <antmas> bah
333: [01:45:41] <antmas> why did this band have to release an album that is good when all their older albums are terribad jokes
334: [01:46:10] <zippy__> band is..?
335: [01:46:19] <antmas> Suicide Silence :P
336: [01:47:11] <zippy__> jeapers, can't code to that! make my heart rate to fast
337: [01:47:12] <Colin[pi]> so... it's a case of I like your new stuff better than your old stuff?
338: [01:47:18] <Colin[pi]> that almost never happens
339: [01:47:27] <antmas> zippy__: Richmond glass quoted $115 for a door that is 25x50cm
340: [01:47:32] <antmas> not bad
341: [01:47:43] <Colin[pi]> zippy__: lol I played a lot of electronica in the office while coding, my old boss used to call it my "go fast music"
342: [01:48:15] <zippy__> I also do a lot of electronica. Currently got some old school meth on…. https://www.youtube.com/watch?v=bWSLhMLVas4
343: [01:48:25] <zippy__> not on spotify :(
344: [01:48:31] <Colin[pi]> zippy__: mah nigga
345: [01:48:35] <Colin[pi]> LOVE TCM
346: [01:48:41] <antmas> TCM ftw
347: [01:49:07] <Colin[pi]> when i was in sao paulo they were headlining a music fest and I found out about that ON the day... sold out
348: [01:49:09] <Colin[pi]> I was gutted
349: [01:49:11] <antmas> when I'm coding it's all electronica
350: [01:49:25] <antmas> otherwise metal
351: [01:49:35] <zippy__> antmas: $80 + $40. I wasn't far off :)
352: [01:49:45] <antmas> zippy__: pretty damn close!
353: [01:51:53] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
354: [01:58:12] * UncleCheese has joined #silverstripe
355: [01:58:49] * peter_w quit (Ping timeout: 246 seconds)
356: [02:07:06] <irogue_> from now on we just ask zippy__ to quote us for stuff
357: [02:08:25] <zippy__> irogue_: 1 minute while i setup http://instant-quote-generator.com/
358: [02:09:29] <Stomach> zippy__, how much for a social network video sharing chat site with ecommerce?
359: [02:09:33] <Stomach> i have $125
360: [02:09:38] <Stomach> so under that would be appreciated
361: [02:10:07] <zippy__> bargin! I know some developers who can work for 50c an hour, they're so good they don't even need any testing frameworks!! A++++ code quality
362: [02:10:12] <irogue_> zippy__: its okay though, it'll be a huge success, and you can have 5% of the profit
363: [02:10:38] <irogue_> zippy__: thats such a good deal, you're going to get so rich from this, that I'm basically ripping myself off
364: [02:10:40] <zippy__> They did the first version of the wheedle website
365: [02:11:15] <zippy__> currently building the novopay system...
366: [02:12:59] <Stomach> man I wish the government would give me $30mil to build a non working system
367: [02:13:08] <Stomach> I would have saved them a whole lot of trouble and just delivered nothing
368: [02:13:11] <Stomach> win-win
369: [02:13:25] <zippy__> http://en.wikipedia.org/wiki/Novopay - makes for shit reading indeed
370: [02:14:15] <zippy__> One of the bugs in the system caused long or hyphenated names to appear twice in the payroll. - double pay, booya!
371: [02:14:15] <antmas> did I see read that weedle went down finally?
372: [02:14:28] <simon_w|work> Well, it's about to
373: [02:14:35] <antmas> lol
374: [02:14:35] <zippy__> antmas: yeap
375: [02:14:47] <antmas> fucking weedle
376: [02:14:51] <antmas> what a shit show that was
377: [02:15:09] <antmas> $10m investment
378: [02:15:12] <simon_w|work> Not financially viable to run those 20 servers they had
379: [02:15:17] <zippy__> When Gladstone School principal Margaret Hyslop called for assistance, she found she was 1,117th in the complaints queue. - hahah!
380: [02:15:21] <antmas> pays indian devs $0.3213133 an hour
381: [02:15:31] <antmas> fail
382: [02:17:35] <antmas> "There was still a backlog of 25,000 errors to be dealt with."
383: [02:17:43] <antmas> sounds like my kind of dev!
384: [02:19:42] <irogue_> simon_w|work: 40!
385: [02:20:01] <irogue_> and it would've run on an m1.small just fine
386: [02:21:55] <simon_w|work> Probably would've run fine on one of those IIS shared hosts that metlink used to be on
387: [02:22:30] <antmas> if anything they should have started way smaller given no one would give a shit about it for years
388: [02:22:37] <antmas> if at all
389: [02:23:21] <simon_w|work> With a static HTML landing page for the first couple of days
390: [02:23:43] <zippy__> has to be something different, you can't use the same model as trademe as whats the point. It's not like a physical store where Wheedle was half an hour drive closer…
391: [02:24:13] <simon_w|work> It was cheaper (which isn't hard), but didn't have the buyer base for that to matter
392: [02:24:49] <antmas> yeah but it ended up just being a competitor
393: [02:24:55] <antmas> so dumb
394: [02:25:10] <irogue_> thing is, there'd already been a competitor attempt
395: [02:25:18] <antmas> exactly
396: [02:25:19] <irogue_> backed by NZ Herald, and completely free - no fees
397: [02:25:37] <simon_w|work> Wasn't ferrit (or whatever) backed by Telecom?
398: [02:25:47] <irogue_> it had everything going for it, but still couldn't lure enough people away from trademe to matter
399: [02:25:47] <ss23> yeah
400: [02:25:51] <ss23> and that shit went bust hard
401: [02:25:53] <irogue_> simon_w|work: that was just... wow
402: [02:26:23] <ss23> They had all those hip adverts on TV too!
403: [02:26:58] <antmas> weedle's ads were so cringe worthy
404: [02:27:03] <simon_w|work> At least Fairfax eventually understood how to get into that market
405: [02:27:06] <ss23> I WHEEDLED MY BIKE!
406: [02:27:12] <irogue_> ss23: I remember when TheNile pushed hard for us to integrate with ferrit cos they thought it was going to be the new big thing
407: [02:27:19] <ss23> hahahahah irogue_
408: [02:29:11] <irogue_> Cheddam: how was your presentation? :P
409: [02:29:28] <ss23> Wait, who is Cheddam? :O
410: [02:30:19] <antmas> A cross between cheddar and edam
411: [02:30:22] <irogue_> ss23: formerly cole's coworker :P
412: [02:30:35] <ss23> XD
413: [02:30:39] <Cheddam> irogue_ Apparently WordPress is super gr8 so I don't think I've got a chance :P
414: [02:30:40] <ss23> But, working for DNA now, Cheddam, or what?
415: [02:30:52] <irogue_> nono Cheddam is still at netvalue but cole isn't
416: [02:30:57] <ss23> Ahhh I see
417: [02:31:00] <ss23> Where did Cole go? :O
418: [02:31:03] <Cheddam> Home
419: [02:31:04] <Cheddam> xD
420: [02:31:05] <ss23> Haven't been back in NZ for a while now
421: [02:31:07] <ss23> haha
422: [02:31:14] <irogue_> unemployed :P
423: [02:31:18] <ss23> Well tbh, the GPS tracking thing would be really good to get finished
424: [02:31:21] <ss23> If he wasn't so lazy
425: [02:31:21] <ss23> :D
426: [02:31:24] <ss23> Not that I can talk
427: [02:31:28] <Cheddam> Oh I heard about that
428: [02:31:32] <irogue_> "New Zealand median speed for ADSL is 9Mb/s but for Australia it was just 3Mb/s in TrueNet's June results."
429: [02:31:37] <irogue_> Cheddam: oh dear god
430: [02:31:48] <irogue_> Cheddam: that'd be a *downgrade* from your in-house system
431: [02:32:12] <irogue_> which, if course, I haven't used... *cough*
432: [02:32:42] <Cheddam> Yeah I'm super depressed now, I've had to maintain WP sites in the past and it's really not nice
433: [02:33:19] <Cheddam> All the templating is flat PHP with a billion functions
434: [02:33:23] <irogue_> yeeeep
435: [02:33:58] <ss23> whats the good lightbox/fancybox/whatever these days?
436: [02:33:59] <irogue_> wp_oh_god_why()
437: [02:34:06] <ss23> something that works well with small screen sizes as well as big ones
438: [02:34:45] <Cheddam> But I think the main things they're concerned about is how fast they can churn sites out (SS would be just as fast) and how many arbitrary plugins are around to do niche things (hmmmm)
439: [02:35:19] <Cheddam> I love that live preview gear in SS btw
440: [02:35:43] <irogue_> ss23: either fancybox2 or nivo lightbox
441: [02:36:03] <irogue_> nivo looks like it's pay, but it's not... you just have to pay for the WordPress module... the jquery is free
442: [02:36:18] <antmas> nivo is good
443: [02:36:32] <antmas> Ryan-Toast: ^^?
444: [02:36:37] <irogue_> Cheddam: yeah, I think that's the biggest downside of your work
445: [02:36:43] <Ryan-Toast> hmm?
446: [02:36:52] <irogue_> their target market is lots of basic-ass small sites fast and cheap
447: [02:36:55] <antmas> Ryan-Toast: good responsive image slider?
448: [02:37:00] <Ryan-Toast> ss23: I like prettyPhoto for lightbox
449: [02:37:07] <irogue_> basically work that indians could do just as well
450: [02:37:08] <antmas> or gallery/whatever thingy
451: [02:37:15] <Ryan-Toast> antmas: I don’t like any of them
452: [02:37:23] <antmas> yeah prettyphoto is good
453: [02:37:23] <ss23> I want something really simple
454: [02:37:24] <Ryan-Toast> antmas: I roll my own
455: [02:37:25] <ss23> hmm
456: [02:37:32] <Cheddam> irogue_ So our selling point is "we're locals lol"
457: [02:37:33] <ss23> :D
458: [02:37:34] <Ryan-Toast> carousels
459: [02:37:43] <Ryan-Toast> but I don’t let my designers give me carousels anymore
460: [02:37:51] <Ryan-Toast> as they’re shitty ux
461: [02:38:02] <irogue_> Cheddam: yep. but it just isn't really that sustainable. there's only so many companies you can churn out shitty little sites for
462: [02:38:06] <ss23> lol
463: [02:38:09] <ss23> fancybox2 is still shit
464: [02:38:17] <ss23> If you have a small screen, e.g. phone, it won't let you scroll
465: [02:38:18] <ss23> so you like
466: [02:38:19] <ss23> can't do anything
467: [02:38:22] <ss23> oh wait
468: [02:38:23] <ss23> I see
469: [02:38:24] <ss23> IGNORE
470: [02:38:43] <Cheddam> irogue_ Totally. Mentioned SS is the platform government sites are built on now and got laughs |:
471: [02:39:22] <zippy__> Cheddam: I hope you said SS wasn't used in Novapay...
472: [02:39:25] <irogue_> Cheddam: company needs to develop a willingness to actually write code instead of just grabbing a bunch of modules off a shelf and calling it a website
473: [02:39:47] <Cheddam> zippy__ hahaha maybe I should have :P
474: [02:40:55] <Cheddam> irogue_ Yes. We're trying to draw a line between little brochure sites and comprehensive web apps and no-one's sure where that falls yet but even on the low-end quality should be a concern
475: [02:41:02] <antmas> can everyone see the form on this? http://sustainablecoastlines.org/event/tasman-tree-planting/
476: [02:41:19] <Cheddam> antmas Yes
477: [02:41:35] <Cheddam> Aaaanyway I need to eat / actually do work so I'll be back later.
478: [02:41:45] <antmas> Cheddam: IE, firefox, chrome?
479: [02:41:57] <Cheddam> antmas Chrome, OS X
480: [02:42:14] * ajshort has joined #silverstripe
481: [02:42:16] <zippy__> antmas: wordpress? :O
482: [02:42:38] <antmas> zippy__: not mine, just had someone ask why I think it might not work in IE
483: [02:42:56] <antmas> works in everything else (as per usual )
484: [02:44:14] <zippy__> antmas: there is a couple of stray tags in that document
485: [02:44:24] <zippy__> Line 395, Column 120: Stray end tag a.
486: [02:44:38] <zippy__> Line 496, Column 9: The text content of element script was not in the required format: Expected space, tab, newline, or slash but found { instead.
487: [02:44:41] <zippy__> etc etc
488: [02:47:31] <antmas> zippy__: bloody wp :P
489: [02:47:53] <antmas> I just told them to use FF or Chrome and I'll send an email to the developer
490: [02:47:55] <antmas> :P
491: [02:53:36] <Stomach> how come when you add a file to a many_many relation you choose "from files" it only shows the ones that have been added to that relationship before
492: [02:53:45] <Stomach> is there a way to force it to show all files?
493: [02:54:44] <UncleCheese> yikes
494: [02:54:56] <UncleCheese> something tells me UploadField is in dire need of affection
495: [02:55:12] <ss23> As opposed to the rest of SS that is perfect
496: [02:55:13] <ss23> :P
497: [02:55:25] <Stomach> apparently has been happening for months, one of my devs just asked and said "oh its always been like that"
498: [02:55:26] <Stomach> :S
499: [02:55:47] <antmas> yup
500: [02:55:59] <antmas> ran into that and said 'fuck it, I'll use filefield instead'
501: [02:56:01] <antmas> :P
502: [02:56:52] <UncleCheese> FileIFrameField FTW
503: [02:57:09] <UncleCheese> there's a serious lacking in the framework for frontend upload options
504: [02:57:28] <UncleCheese> html5 uploads have come such a long way, and they're still so hard to implement
505: [02:57:30] <ss23> Fix it!
506: [02:57:36] <Stomach> this is in the CMS btw
507: [02:57:57] <antmas> UncleCheese: yes
508: [02:58:19] <simon_w|work> "html5 uploads"
509: [02:58:25] <simon_w|work> So, <input type="file" />?
510: [02:59:20] <UncleCheese> more like <input type="file>
511: [02:59:26] <ss23> ERROR MISSING "
512: [02:59:28] <ss23> SYNTAX ERROR
513: [02:59:30] <ss23> *explode*
514: [02:59:39] <UncleCheese> yup, i was waiting on the who's-gonna-be-a-dick moment
515: [02:59:51] <Colin[pi]> knowing html5 it's probably still valid
516: [02:59:57] <UncleCheese> or maybe <input type="file" multiple>
517: [02:59:59] <UncleCheese> Colin[pi] exactly
518: [03:00:04] <ss23> XD
519: [03:00:17] <ss23> UncleCheese:You mean... you weren't a dick in the first place? :P
520: [03:00:35] <Colin[pi]> everyone bitched and moaned about the xhtml strictness and then bitched and moaned again when html5 relaxed it
521: [03:00:49] <antmas> semantics
522: [03:00:51] <ss23> something something SGML
523: [03:01:05] <antmas> poor old html5
524: [03:01:10] <simon_w|work> something something, lunchtime!
525: [03:01:22] <UncleCheese> does anyone know how to stop ios safari from "overscrolling?"
526: [03:01:26] <Colin[pi]> can you even get any lunch out there simon_w|work?
527: [03:01:31] <UncleCheese> looks like shit if you have a web app
528: [03:01:47] <Colin[pi]> UncleCheese: that spring back effect?
529: [03:01:53] <ss23> UncleCheese: I know it's possible... I did it (and it took like a fucking day to get it figured out)
530: [03:01:54] <simon_w|work> Colin[pi], there's a subway and some cafes
531: [03:01:56] <ss23> But don't remmeber
532: [03:01:59] <simon_w|work> also, the packed lunch I have :p
533: [03:02:07] <Colin[pi]> lol
534: [03:02:22] <simon_w|work> UncleCheese, design your app better :p
535: [03:02:25] <Colin[pi]> btw simon_w|work, tomoz, ima get you from where?
536: [03:02:32] <Colin[pi]> you'll be at work or home? or other?
537: [03:02:35] <simon_w|work> Home
538: [03:02:39] <Colin[pi]> ah k no probs
539: [03:02:44] <Colin[pi]> nice and close
540: [03:02:45] <simon_w|work> So, nice and close
541: [03:02:49] <simon_w|work> And not Mitchell
542: [03:03:16] <ss23> Bah
543: [03:03:17] <Colin[pi]> k no worries
544: [03:03:35] <ss23> I hate this "resize smaller if height > x... but also if width > x... and if both > x then take the biggest one of the two that's proportionally bigger than x...
545: [03:03:38] <ss23> "
546: [03:03:41] <ss23> SO MUCH WEIRD CODE FOR A SIMPLE CONCEPT
547: [03:04:19] <irogue_> ss23: isn't that the definition of frontend web?
548: [03:04:29] <Stomach> 139 issues with "UploadField" in the bugtracker. holy moly.
549: [03:04:55] <Colin[pi]> haha so true irogue_
550: [03:05:46] <antmas> ss23: yup
551: [03:06:11] <antmas> I felt like that when I was asking about simple as fuck @media queries on here a month or so ago
552: [03:06:26] <antmas> ITA MAKEA NOA SENSEA
553: [03:06:36] <zippy__> ss23: and isn't there some code for that (function?)
554: [03:06:57] <Kingy> Boom fibre!
555: [03:07:53] <UncleCheese> ss23 i saw a lot of hacks
556: [03:08:03] <UncleCheese> but i'm really surprised it's not just another stupid apple meta tag
557: [03:08:14] <ss23> lol, so many metatags to make your stuff not be complete shit...
558: [03:08:28] <UncleCheese> <meta name="apple-scroll" content="dont-fuck-with-it">
559: [03:08:35] <ss23> zippy__: Maybe... I mean, it's essentially ust "make these dimensions fit in this weird bounding box"
560: [03:11:47] * cloph has joined #silverstripe
561: [03:12:03] * cloph_away quit (Ping timeout: 240 seconds)
562: [03:25:15] <antmas> it's not dayta
563: [03:25:18] <antmas> it's dahta
564: [03:25:52] <antmas> 'how's ya dayyyta going mayyyyte?'
565: [03:25:56] <antmas> -_-
566: [03:29:32] <ss23> Por que no los dos?
567: [03:31:29] <Stomach> STAND N STUFF
568: [03:31:54] * zippy__ quit (Quit: zippy__)
569: [03:42:08] * camfindlay quit (Quit: camfindlay)
570: [03:45:47] * ajshort quit (Quit: Leaving)
571: [03:51:32] <irogue_> that awkward moment where you're trying to figure out why your music sounds muffled and you realise your headphones aren't plugged in and you're hearing the headphone-muffled version of what'
572: [03:51:42] <irogue_> *what's blaring out of your laptop speakers
573: [03:51:47] <Colin[pi]> lol
574: [03:53:50] <ss23> XD
575: [03:53:57] <ss23> Happens way too often, irogue_
576: [03:54:45] <Colin[pi]> other thing I hate is where you start humming/singing something and you feel like you're a 1/10 on the volume scale when really you're an 11
577: [03:55:03] <Colin[pi]> and everyone's looking at you like "dude wtf"
578: [03:55:04] <ss23> hahaha
579: [03:58:50] <Colin[pi]> hey Google if you could show me info about Google Merchant without automatically redirecting me to a signup page each time, that'd be grreeeeat
580: [03:59:22] <antmas> I all too often forget to adjust my volume for my headphones at work
581: [03:59:33] <antmas> and then start playing metal and everyone jumps when it starts
582: [04:08:08] * antmas can't stop watching that reporter eat that fly
583: [04:09:07] <Tanger> antmas: Haha, yeah, I do that often.
584: [04:09:22] <antmas> Tanger: o.O
585: [04:09:26] <Tanger> Totally paranoid about whether my headphones are working properly at work now
586: [04:09:32] <antmas> Tanger: eat flies? or can't stop watching videos?
587: [04:09:37] <antmas> Tanger: :O oh lol
588: [04:09:37] <Tanger> …why not both?
589: [04:09:46] <Tanger> free protein
590: [04:11:34] <antmas> sometimes I feel like putting :) in an email is just straight up sarcasm
591: [04:11:52] <antmas> "Thanks, I appreciate your assitance. :)"
592: [04:12:04] <antmas> :/
593: [04:12:30] <ss23> lol antmas XD
594: [04:12:36] <ss23> I use them with some clients
595: [04:12:52] <ss23> The Privacy Commission is awesome, they alway use emotes and stuff :P
596: [04:13:06] <ss23> I get called "Mr Snowman" cause of my snowman avatar :D
597: [04:14:07] <antmas> ss23: you don't use them with me!
598: [04:14:08] <antmas> :(
599: [04:14:26] <antmas> I DEMAND MORE EMOJI
600: [04:16:52] <ss23> XD
601: [04:16:55] <ss23> I use them all the damn time on IRC :P
602: [04:17:02] <antmas> yeah me too
603: [04:17:06] <antmas> I stole your ;__;
604: [04:17:15] <ss23> XD
605: [04:17:19] <ss23> ;_; is pretty good
606: [04:17:21] <ss23> ._. is good too
607: [04:17:23] <ss23> There are lots of emotes
608: [04:17:29] <antmas> and used that in an email (in a funny way) and the person came up and asked if I was ok lol
609: [04:17:34] <ss23> hahaha
610: [04:18:02] <ss23> Okay so front end sucks
611: [04:18:03] <ss23> #justsayin
612: [04:18:04] <antmas> I haven't worked out how to do the 'shrug' one
613: [04:19:57] <antmas> I really want this http://gizmodo.com/an-under-desk-hammock-for-your-feet-is-the-best-office-1605296153
614: [04:21:18] <ss23> *shrug*
615: [04:21:30] <antmas> ss23: :P not that one
616: [04:21:58] <antmas> this thing ¯\_(ツ)_/¯
617: [04:22:34] <ss23> ヽ(´ー`)┌
618: [04:22:55] * peter_w has joined #silverstripe
619: [04:23:55] <antmas> ss23: what the fuck is that? it looks like its in pain :O
620: [04:24:22] <peter_w> can anyone reccomend a good gallery module for SS3.1.5....I have tried frankmullenger but there is recorded issue of a javascript issue not allowing uploads
621: [04:24:38] <ss23> eagles0513875: he's shrugging!
622: [04:25:02] <ss23> (☞゚ヮ゚)☞ kill yourself ☜(゚ヮ゚☜)
623: [04:25:08] <ss23> ☜(⌒▽⌒)☞
624: [04:25:16] <guzzlefry> 0.o
625: [04:25:25] <antmas> lolwut
626: [04:25:38] * guzzlefry contacts base camp.
627: [04:25:59] <ss23> uh
628: [04:26:05] <ss23> eagles0513875: Sorry! I meant to talk to antmas, not you :O
629: [04:26:14] <ss23> God, now it seems like I picked a random person and told them to kill themselves ;_;
630: [04:26:18] <ss23> I SWEAR IT'S NOT LIKE THAT
631: [04:26:33] <Stomach> peter_w, we usually just build them out ourselves
632: [04:29:18] <irogue_> I'd check on addons but...
633: [04:29:21] * irogue_ glares at ss23
634: [04:29:26] <ss23> ;_;
635: [04:29:28] <peter_w> yeah i will probably do that....but I was hoping somebody knew of a module for me to use
636: [04:29:32] <ss23> CHECK PACKAGIST THEN
637: [04:29:41] <ss23> Besides, I'm trying to fix it... slowly
638: [04:29:42] <ss23> :(
639: [04:30:14] <Ryan-Toast> when I link a DO in a gridfield I get a “Unknown column 'Sort' in 'field list’” but there’s no “Sort” being called anywhere. Anyone run into this before?
640: [04:30:25] <ss23> Hmm
641: [04:30:31] <ss23> If you set a max width and a max height on an image, will it like
642: [04:30:36] <ss23> will it retain its dimension?
643: [04:30:44] <Ryan-Toast> ss23: if you set the other thing to be auto
644: [04:30:49] <irogue_> peter_w: looking at the options, the only other person there I know is likely to do things right is tractorcow
645: [04:30:51] <Ryan-Toast> height: auto <---
646: [04:30:52] <ss23> yep yep
647: [04:30:57] <Ryan-Toast> yes, it will
648: [04:31:04] <ss23> wait
649: [04:31:05] <ss23> I mean
650: [04:31:14] <ss23> the image itself has max-height: x, and max-width: boo
651: [04:31:16] <ss23> that is fine ,right?
652: [04:31:29] <Ryan-Toast> max is fine
653: [04:31:30] <ss23> yep
654: [04:31:30] <ss23> It is
655: [04:31:32] <ss23> I tested
656: [04:31:32] <ss23> :D
657: [04:31:40] <irogue_> peter_w: personally I'd suggest DIYing it as everyone has different wants/needs for their image galleries
658: [04:31:42] * antmas_ has joined #silverstripe
659: [04:31:46] * antmas quit (Ping timeout: 246 seconds)
660: [04:31:47] <Ryan-Toast> it’s just min that would give you a potential issue
661: [04:31:48] <irogue_> but other than that you could try https://packagist.org/packages/tractorcow/silverstripe-imagegallery
662: [04:31:57] <ss23> Ryan-Toast: yep yep ^.^
663: [04:32:04] <antmas_> ss23: lol, so it's ok if antmas kills himself, but not randoms in IRC
664: [04:32:20] <Ryan-Toast> ss23: skeleton: https://github.com/Rhym/ss_boilerplate/tree/master/Boilerplate/code/Modules/Gallery
665: [04:32:26] * antmas_ is now known as antmas
666: [04:32:51] <irogue_> is the day over yet?
667: [04:32:55] <irogue_> i'm fucking tired
668: [04:32:58] <irogue_> platforming is hard
669: [04:33:01] <Ryan-Toast> ss23: any idea about my aobve issue?
670: [04:34:35] <ss23> Ryan-Toast: Sorry, what was it/
671: [04:34:44] <Ryan-Toast> Ryan-Toast: when I link a DO in a gridfield I get a “Unknown column 'Sort' in 'field list’” but there’s no “Sort” being called anywhere. Anyone run into this before?
672: [04:35:17] <ss23> Hmm
673: [04:35:25] <ss23> Do you see the entire query?
674: [04:35:40] <ss23> It sounds like... very possibly the broken ORM lazy loading
675: [04:35:46] <ss23> Ryan-Toast: On stable and up to date versions of framework?
676: [04:36:10] <Ryan-Toast> ss23: http://pastebin.com/T2YdjR4e
677: [04:36:51] <simon_w|work> Ryan-Toast, added one of those sortable gridfield components?
678: [04:36:56] <ss23> ^
679: [04:37:00] <Ryan-Toast> simon_w|work: yeah
680: [04:37:03] <ss23> Could be that something, extension, component, just expects it to exist
681: [04:37:10] <Ryan-Toast> probs
682: [04:37:12] <Ryan-Toast> will remove
683: [04:37:31] <Ryan-Toast> I didn;t make this site, it’s a fucking mess
684: [04:37:35] <ss23> lol
685: [04:37:39] <ss23> Story of my life
686: [04:37:44] <Ryan-Toast> like 30 page types, but all of their logic is in a Page godclass
687: [04:37:44] <ss23> I once looked throuh the code for Snapper :(
688: [04:38:03] <ss23> Ryan-Toast: Ah yes, they need to go watch Stigs talk!
689: [04:38:18] <Ryan-Toast> ss23: they need to read 3 minutes of “what is MVC"
690: [04:38:46] * antmas quit (Ping timeout: 246 seconds)
691: [04:39:10] <simon_w|work> I once looked through the DataExtensions that alter SQL queries
692: [04:39:20] <ss23> QQ
693: [04:39:22] <simon_w|work> Versioned, Translatable, Subsites
694: [04:39:35] <ss23> All the worst
695: [04:40:28] <simon_w|work> Also, I have a suspicion that one of my += to = changes broke the Selenium tests
696: [04:42:52] <Stomach> Ryan-Toast, I have seen that before - its usually when there is a sortable extension being used and not applied to the class
697: [04:43:09] <irogue_> yeah
698: [04:43:17] <Ryan-Toast> Stomach: the class has a default_sort in it
699: [04:43:26] <simon_w|work> Hmm, I didn't make any of those changes in that commit and it's that commit that breaks it
700: [04:43:46] <Stomach> no like a third party extension thing like sortablegridfield or somewhat
701: [04:44:02] <irogue_> yeah, sortablegridfield from gridfieldextensions
702: [04:44:11] <irogue_> that's almost certainly what's looking for the 'Sort' field
703: [04:44:39] <simon_w|work> "Showing 1 changed file with 199 additions and 145 deletions."
704: [04:44:43] <simon_w|work> One of those broke it :(
705: [04:44:56] <simon_w|work> If only git bisect had a partial commit mode
706: [04:47:30] <Ryan-Toast> irogue_: where would I find it?
707: [04:47:42] <irogue_> Ryan-Toast: it'd be an extension on a gridfield
708: [04:48:18] <ss23> simon_w|work: It has a "don't put all your fucking commits into a single thing"
709: [04:48:22] <ss23> :P
710: [04:48:54] <simon_w|work> ss23, I'm not making an individual commit every time I change on E_NOTICE source :p
711: [04:49:49] <Ryan-Toast> irogue_: Sigh. Maybe I should just ride off the bridge instead.
712: [04:50:05] <ss23> DO IT
713: [04:50:22] * r_hector has joined #silverstripe
714: [04:50:23] <Stomach> Ryan-Toast, check the model admins of the site
715: [04:50:24] <ss23> Ryan-Toast: Awww, it's okay! We feel your pain
716: [04:50:30] <Stomach> see if there is any sort order things on those
717: [04:50:40] <ss23> Ryan-Toast: Wanna switch? You could fix the bug where since SilverStripe 2.0 the permissions and versioning systems have been broken
718: [04:50:46] <ss23> And I'll fix you including a bad component!
719: [04:50:47] <ss23> :D
720: [04:51:00] <Ryan-Toast> ss23: I didn;t include it >< this issnnn’’’tttt my code
721: [04:51:15] <ss23> Oh no he's including faces like "><"
722: [04:51:23] <simon_w|work> Well, I guess I'll just do the binary search myself
723: [04:51:24] <Stomach> Ryan-Toast, search mysite for 'Sort'
724: [04:51:28] <ss23> SOMEONE GET THIS MAN A DOSE OF WESTERN MEDIA, NO ANIME FOR THE NEXT WEEK, Ryan-Toast !
725: [04:51:48] <guzzlefry> ^_^
726: [04:51:56] <Stomach> >_>
727: [04:51:58] <Stomach> <_<
728: [04:52:01] <ss23> v.v
729: [04:52:04] <ss23> L.L
730: [04:52:14] <Stomach> (><)
731: [04:52:23] <Stomach> (.)(.)
732: [04:52:52] <ss23> (.Y.)
733: [04:52:58] <Ryan-Toast> there.are.two.classes.with.the.same.name
734: [04:53:08] <ss23> |. .| <--- too young
735: [04:53:10] <Ryan-Toast> http://i.imgur.com/IvlVl.gif
736: [04:53:19] <ss23> rofl Ryan-Toast
737: [04:53:39] <Stomach> hahaha :D
738: [04:54:36] * mobiusnz quit (Quit: Leaving.)
739: [04:56:19] <simon_w|work> Yay, got it down to one change
740: [04:56:23] <simon_w|work> Hooray for binary search
741: [04:57:37] <Ryan-Toast> Stomach: No use of Sort anywhere
742: [05:03:01] <Ryan-Toast> fuck it, tomorrow problem.
743: [05:03:33] * jedateach quit (Ping timeout: 240 seconds)
744: [05:03:40] <ss23> Have you tried turning it off and on again?
745: [05:04:49] * nickmolhoek quit (Quit: nickmolhoek)
746: [05:06:01] * simon_w|work can only manage to turn your mum on
747: [05:06:07] <ss23> aw snaaaap
748: [05:06:07] <simon_w|work> Makes it a bit hard to figure out problems
749: [05:09:57] * Kingy is now known as Kingy[a]
750: [05:15:25] * irogue_ quit (Quit: Textual IRC Client: www.textualapp.com)
751: [05:17:58] * peter_w quit (Ping timeout: 246 seconds)
752: [05:23:04] * Ryan-Toast quit (Quit: Ryan-Toast)
753: [05:24:52] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
754: [05:49:20] * Ryan-Toast has joined #silverstripe
755: [05:51:08] * guci0 has joined #silverstripe
756: [05:51:10] <guci0> Hello World!
757: [05:53:47] * Shrike_Finland has joined #silverstripe
758: [06:03:00] <Colin[pi]> guci0 is here, must be 4pm
759: [06:03:03] <Colin[pi]> hi guci0!
760: [06:03:07] <ss23> lol
761: [06:03:12] <ss23> No way, 6pm!
762: [06:03:30] * peter_w has joined #silverstripe
763: [06:03:48] <simon_w|work> No way, business time!
764: [06:04:28] * kerosene quit (Ping timeout: 260 seconds)
765: [06:04:37] <peter_w> I know I can hide page type from being created in the cms using hide_ancestor...but is there a way to hide them dynamically.....I thought about using the canCreate function..but i do not want to have to go into each module and edit the code there
766: [06:05:02] <peter_w> because those module are coming in from composer
767: [06:05:27] <peter_w> I want different member to be able to create different pages (or not create them)
768: [06:06:06] <ss23> Hmm
769: [06:06:10] <peter_w> I have seen extendedCan...but I am not sure if I can use it
770: [06:06:15] <ss23> peter_w: I don't think there's something built into SilverStripe for that :O
771: [06:07:28] <ss23> http://addons.silverstripe.org/add-ons?type=theme&view=expanded AW SNAP WHATS THAT?
772: [06:07:32] <ss23> ADDONS SERVER IS WORKING AGAIN?
773: [06:07:57] <simon_w|work> peter_w, So long as you're not trying to apply the checks to an admin, you can
774: [06:08:40] * Ryan-Toast quit (Quit: Ryan-Toast)
775: [06:10:56] * kerosene has joined #silverstripe
776: [06:13:17] <peter_w> simon_w|work: exactly correct. The admin has access to everything...only a subset of users need the restrictions in place
777: [06:13:51] <simon_w|work> peter_w, then just have a canCreate() method in a DataExtension, returning true or false
778: [06:25:24] <peter_w> I think I have tried simply that...but i'll give it another go
779: [06:25:25] <peter_w> thanks
780: [06:27:22] <guci0> 8 am ;)
781: [06:31:07] <peter_w> simon_w|work: works a charm...cheers once again
782: [06:31:36] * Frans_Amsterdam has joined #silverstripe
783: [06:37:25] * peter_w quit (Ping timeout: 246 seconds)
784: [06:39:47] <Frans_Amsterdam> Hello All, I like to ask the attention for an issue over here. It is about the infamous Bad Gateway 502 warning that occurs only when I want to edit Page in the CMS. I'm on a nginx server. It is strange because out of 2 site only one gives me this error.
785: [06:40:16] <Frans_Amsterdam> And offcourse: allready thanks for reading
786: [06:40:33] <simon_w|work> Frans_Amsterdam, do you get anything showing up in either nginx's or php's error logs?
787: [06:43:48] <Frans_Amsterdam> I go look in the PHP error log
788: [06:57:07] * lerni has joined #silverstripe
789: [07:14:17] * fdrechsler has joined #silverstripe
790: [07:29:44] * spronk2 has joined #silverstripe
791: [07:36:13] * nonconformatevi has joined #silverstripe
792: [07:36:56] * novaweb has joined #silverstripe
793: [07:37:48] <novaweb> hey stripers. which combinations of modules or methods are we tending to use for spam protection on 3.1?
794: [07:38:05] <novaweb> I am aware of options, seeing what people are using mostly.
795: [07:39:44] * boytikz has left #silverstripe
796: [07:41:23] * simon_w|work quit (Quit: Ping timeout: your mum)
797: [07:42:31] * ocm has joined #silverstripe
798: [07:42:33] <ocm> howdy
799: [07:45:13] * stnvh has joined #silverstripe
800: [07:46:36] * ARNHOE has joined #silverstripe
801: [08:03:19] * Pyzmnk has joined #silverstripe
802: [08:03:37] * kinglozzer has joined #silverstripe
803: [08:04:59] <Pyzmnk> so, what if I want to have a form with a single action handler, but takes a parameter?
804: [08:06:04] <Pyzmnk> eg. Currently I have a form with a variable amount of actions. I can just create action handlers for each of those actions (doWhatever), but what if I say want a single action (doAnyAction) that takes a param, eg the type of DO to save into, or suchlike?
805: [08:06:36] <Pyzmnk> usecase: I have a list of items I want the user to select and then apply a bulk action to
806: [08:06:46] <kinglozzer> Pyzmnk: The only way I know of is a HiddenField you can then switch on or something
807: [08:06:59] <Pyzmnk> Where those actions can change, depending on what subset of items we have in the list.
808: [08:07:15] <Pyzmnk> kinglozzer: yeh... not so clean :<
809: [08:07:31] <kinglozzer> No :/
810: [08:07:50] <Pyzmnk> I mean, I guess I could turn these actions into gridfield components, and just have no actions on the form at all... but that doesn't seem nice.
811: [08:08:15] <Pyzmnk> but it would be easier to dynamically add items.
812: [08:08:32] <Pyzmnk> ooooooh, actually I wonder if action objects can hold their own... nah that's stuipd too :<
813: [08:08:46] <Pyzmnk> subclass formaction for every action
814: [08:09:10] <Pyzmnk> hmm
815: [08:09:17] <Pyzmnk> well, carry on as is for now I guess
816: [08:09:33] <Pyzmnk> This will all change in 3.2 anyway because it uses SQLQuery extensively
817: [08:09:42] * zfmf has joined #silverstripe
818: [08:10:29] <ocm> hm, I found a bug in the translations. Seems these: ' won't get encoded right
819: [08:10:41] <Pyzmnk> apostrophes?
820: [08:10:42] <ocm> this: BROKENVIRTUALPAGES: 'VirtuelePagina''s die naar verwijderde pagina''s verwijzen'
821: [08:10:44] <ocm> becomes
822: [08:10:50] <ocm> BROKENVIRTUALPAGES: 'VirtuelePagina''s die naar verwijderde pagina''s verwijzen'
823: [08:10:54] <ocm> oh wait, that is the same
824: [08:10:59] <Pyzmnk> mmhmm
825: [08:11:03] <ocm> VirtuelePagina&#039;s die naar verwijderde pagina&#039;s verwijzen
826: [08:11:16] <Pyzmnk> that's waht it should be, if it's in the template
827: [08:11:30] <ocm> but it is on the reports page in the cms
828: [08:11:31] <ocm> :D
829: [08:11:34] <Pyzmnk> well, can be.
830: [08:11:48] <Pyzmnk> depending on spec, and how mid 2000's you are.
831: [08:11:55] <ocm> explanation?
832: [08:11:57] <Pyzmnk> &apos;
833: [08:12:06] <ocm> ah :)
834: [08:12:15] <Pyzmnk> not actually required at all
835: [08:12:16] <ocm> but the thing is, I rather see just a '
836: [08:12:27] <Pyzmnk> according to HTML < 5
837: [08:12:31] <Pyzmnk> probably still not
838: [08:12:54] <Pyzmnk> but people do, because it's more explicit, and doesnt' confuse when people go full retard and attribute='like this'
839: [08:12:56] <ocm> seems the conversion from special chars in yml to the front end is broken somehow
840: [08:13:19] <Pyzmnk> ocm: you're using the translation in PHP?
841: [08:13:25] * Cheddam_ has joined #silverstripe
842: [08:13:27] <ocm> it comes out of the box
843: [08:13:34] <ocm> just found it in the reports tab
844: [08:13:39] <ocm> within the cms
845: [08:13:41] <Cheddam_> irogue You around?
846: [08:13:56] <Pyzmnk> Yeah, but an encoded apos is the normal way of showing an apostrophe... it should just display as ' to the user, of course.
847: [08:14:00] <Pyzmnk> Cheddam_: don't ask for people.
848: [08:14:05] <Pyzmnk> just ask your question.
849: [08:14:15] <Pyzmnk> or you'll be waiting forever.
850: [08:14:43] <Cheddam_> Pyzmnk Don't have a question, just polling :P Sorry, should have done it outside the room.
851: [08:15:04] <Pyzmnk> just query, yeh.
852: [08:15:05] <ocm> just do /w cheddam_ :D
853: [08:15:13] <Pyzmnk> /w
854: [08:15:14] <Pyzmnk> ?
855: [08:15:16] <ocm> Pyzmnk, this should make it more clear
856: [08:15:16] <ocm> http://imgur.com/i9JVrRb
857: [08:15:24] <ocm> doesnt /w work anymore?
858: [08:15:31] <Pyzmnk> what was it?
859: [08:15:41] <ocm> I think it was a macro I made myself when I was liek 12 and build irc bots
860: [08:15:42] <Pyzmnk> ocm: so anyway, that's happening because double encoding.
861: [08:15:48] <ocm> seems its an unkown command :D
862: [08:16:07] <Pyzmnk> encode for & needs to happen before any others.
863: [08:16:09] <ocm> I figured, seems like a bug, but any help on where it is located would be nice so I an fix it
864: [08:16:14] <Pyzmnk> yeah it's a but.
865: [08:16:15] <Pyzmnk> bug*
866: [08:16:19] <ocm> a butt :D
867: [08:16:29] <Pyzmnk> but not to do with what you were describing, directly.
868: [08:17:04] <Pyzmnk> it SHOULD be &apos; or &#39; or whatever, but it shouldn't be &amp;#39;
869: [08:17:18] <Pyzmnk> for obvious reasons.
870: [08:17:40] <ocm> I know
871: [08:17:43] <ocm> but did you see the link I send?
872: [08:17:47] <ocm> the screenshot
873: [08:18:03] <Pyzmnk> It's either happening twice in SS (perhaps an array in the wrong order for str_replace) or yeah, you found a bug in the translation core itself.
874: [08:18:06] <Pyzmnk> ocm: yeahh
875: [08:18:13] <ocm> ah :) good
876: [08:18:15] <Pyzmnk> it's &amp;#39;
877: [08:18:25] <ocm> ah yea, indeed
878: [08:18:27] <Pyzmnk> it _should_ be just &#39;
879: [08:18:29] <ocm> damn, I need coffee
880: [08:18:37] <ocm> thanks for clearing that out
881: [08:18:49] <Pyzmnk> :>
882: [08:18:53] <Pyzmnk> it's the morning
883: [08:18:57] <Pyzmnk> that's what happens.
884: [08:19:23] <ocm> ah, I never understood
885: [08:19:27] <ocm> too fuzzy too early
886: [08:19:29] <ocm> so much morning
887: [08:19:32] <Pyzmnk> exactly
888: [08:19:32] <ocm> need caffeine
889: [08:19:40] <ocm> oh and nicotine
890: [08:19:44] <ocm> quit smoking this weekend
891: [08:19:50] <Pyzmnk> A nice cup of tea and maybe a bacon sandwich
892: [08:20:14] <Pyzmnk> ha, shouldn't be saying "need nicotine" then! - or you haven't actually quit, you're just pretending.
893: [08:20:19] <ocm> hahaha
894: [08:20:27] <ocm> well I am pretending, once a smoker always a smoker I assume
895: [08:20:34] <Pyzmnk> haha, not always.
896: [08:21:03] <Pyzmnk> but I've seen many people try to give up... but it's usually for some other reason than that they feel they actually want/need to.
897: [08:21:13] <Pyzmnk> which is the only way you'll actually quit (properly)
898: [08:21:37] * spronk2 quit (Quit: spronk2)
899: [08:21:48] <ocm> I wasn't planning on quiting to smoke
900: [08:21:52] <Pyzmnk> :P
901: [08:21:55] <Pyzmnk> boom, see?
902: [08:22:00] <Pyzmnk> I nailed it.
903: [08:22:03] <Pyzmnk> xD
904: [08:22:18] <Cheddam_> rofl
905: [08:22:20] <Pyzmnk> Only one thing I've seen can may someone quit who didn't want to.
906: [08:22:24] <Pyzmnk> and that is fear of death.
907: [08:23:19] <Pyzmnk> dammit Cheddam_ why u do dis.
908: [08:23:27] <ocm> haha
909: [08:23:36] <Pyzmnk> done gone make me want some chex
910: [08:23:37] <ocm> well, the point was. I was sick for about 4 days, didn't smoke. I was like
911: [08:23:42] <ocm> heck, rather quit smoking
912: [08:24:09] <ocm> but so far, I can keep it to a minimum, about 2 cigs a day (instead of a box)
913: [08:24:15] <Pyzmnk> ocm: so since you didn't smoke, you thought you might as well keep on not smoking? :P
914: [08:24:22] <Pyzmnk> yeah, well taht's progress right :)
915: [08:24:32] <Pyzmnk> still gonna be better for you
916: [08:25:01] <ocm> eventually probably
917: [08:25:07] <ocm> still it wont fix the translationbug :D
918: [08:25:12] <Cheddam_> Pyzmnk What's a chex. xD
919: [08:25:42] <Pyzmnk> shuttup you know.
920: [08:26:23] <Cheddam_> Oh yeah, I haven't had cereal in forever
921: [08:26:35] <Pyzmnk> Cheddam_: aww shit, wrong name.
922: [08:26:42] <Pyzmnk> well whatever that fuck'n cheese cracker is called.
923: [08:27:07] <Pyzmnk> and no, not snax
924: [08:27:43] <Cheddam_> Oh, uhhh
925: [08:28:12] <Pyzmnk> Cheds!
926: [08:28:19] <Pyzmnk> Arnott's Cheds.
927: [08:28:39] <Cheddam_> Oh, riiiight
928: [08:28:44] * UncleCheese has joined #silverstripe
929: [08:28:49] <Cheddam_> Snax are better. :P
930: [08:28:59] <Pyzmnk> yeah, for sure.
931: [08:29:12] * Pyzmnk is now known as Snaxam_
932: [08:29:19] <Snaxam_> <-- so much better
933: [08:29:42] * Shrike_Finland quit (Quit: Leaving.)
934: [08:29:50] * Shrike_Finland has joined #silverstripe
935: [08:30:41] <Cheddam_> Hahaha
936: [08:31:48] <ocm> hm, what is the right way to write translations in .yml? according to special chars etc?
937: [08:32:01] <ocm> I am browsing through some translations and see a lot of differenceas
938: [08:34:53] <Snaxam_> shit I think I needa some brekky
939: [08:35:16] <Snaxam_> ocm: afaik you escape in yml the same as most things; \'
940: [08:35:17] <ss23> ocm: I can't remember 100%... but... there is a proper way
941: [08:35:22] <ss23> I'm sorry I can't tell you what it is! :(
942: [08:35:33] <ss23> I would ask Mr Mooman, but he's probably asleep, or at the very least, not at work
943: [08:36:30] <Snaxam_> at the very least, at 8:37pm
944: [08:36:41] <ss23> Hey, I'm at work!
945: [08:36:44] <Snaxam_> only weirdos like you are at... yes.
946: [08:36:49] <ss23> XD
947: [08:37:03] <Snaxam_> exactly.
948: [08:37:10] * ss23 headbangs Snaxam_
949: [08:37:13] <ss23> I AM YOUR ENDLESS PAIN
950: [08:37:15] <ss23> THE SUTUR IS MY NAME
951: [08:37:19] <ss23> SEE ME RISE THE MIGHT SUTTUR
952: [08:37:23] <ss23> DESTROYRE OF THE UNIVERSE
953: [08:37:23] <ocm> bwahha
954: [08:37:28] <ss23> BRINGER OF FLAMES AND NENDLESS HURT
955: [08:37:37] <ss23> SCORTCHER OF MEN AND EARTH
956: [08:37:40] <ss23> fuck typing fast is hard
957: [08:37:42] <Snaxam_> nend, is that like NAND?
958: [08:37:54] <ss23> pretty much
959: [08:37:56] <ss23> But more METAL
960: [08:37:56] <ss23> o/
961: [08:37:57] <ocm> stupid question, how to update translation after change in yml?
962: [08:38:02] <Snaxam_> \m/
963: [08:38:05] <ss23> ocm: flush should be enough
964: [08:38:05] <ocm> I am trying to fix the bug so I dont have to report it
965: [08:38:07] <ocm> :D
966: [08:38:14] <ss23> ocm: oh uh, if you fix it... um
967: [08:38:16] <ocm> I flushed but the turd is still there (meaning nothing changed)
968: [08:38:16] <ss23> something... translations...
969: [08:38:17] <Snaxam_> ocm: it's a double encode somehwere
970: [08:38:28] <Snaxam_> shouldn't need to change translation
971: [08:38:30] <ss23> Check the "contributing to translations" or something... cause there's a weird way to do it iirc
972: [08:38:30] <Snaxam_> at all
973: [08:38:56] <ocm> snaxam_ I know, but I just want to see if a change in the way the translation is written will dissolve the problem
974: [08:39:07] <Snaxam_> Doubtful.
975: [08:39:08] <ocm> well, first grap some coffee
976: [08:39:10] <ocm> brb
977: [08:39:38] <Snaxam_> there'll still be a ', which will still be encoded to &#39; which will in turn be encoded to &amp;#39;
978: [08:40:08] <ocm> true that
979: [08:40:12] <Snaxam_> ss23: http://api.silverstripe.org/3.1/function-_t...html
980: [08:40:26] <ocm> but that would be in i18n.php prolly?
981: [08:41:15] <ss23> Snaxam_: That link is totes broken bro!
982: [08:41:34] <Snaxam_> exactly
983: [08:41:37] <Snaxam_> fix it
984: [08:41:38] <Snaxam_> bro.
985: [08:41:42] <ss23> NO U
986: [08:41:43] <ss23> srsly idk
987: [08:41:44] <Snaxam_> You're still at work.
988: [08:41:47] <ss23> XD
989: [08:41:51] <Snaxam_> neither do I :<
990: [08:41:53] <ss23> I already fixed it the other day!
991: [08:41:58] <ss23> wait
992: [08:41:59] <ss23> that's api, not docs
993: [08:42:00] <ss23> hum
994: [08:42:01] <ss23> FINE
995: [08:42:03] * ss23 grumbles
996: [08:42:20] <Snaxam_> ss23: so liek also fixtch the addons search.
997: [08:42:22] <Snaxam_> plzkthxbi
998: [08:42:49] <ss23> Snaxam_: okay
999: [08:42:52] * ss23 goes away
1000: [08:42:53] * ss23 comes back
1001: [08:42:53] <ss23> DONE
1002: [08:42:54] <ss23> :D
1003: [08:43:24] <Snaxam_> ok ta
1004: [08:43:49] * Snaxam_ continues not actually caring
1005: [08:44:37] <ocm> snaxam_ are you workin at SS aswell?
1006: [08:45:06] <ss23> lol
1007: [08:45:06] <ss23> naw
1008: [08:45:10] <ss23> Snaxam_ wishes!
1009: [08:45:10] <ss23> :D
1010: [08:45:14] <ocm> haha
1011: [08:45:16] <Snaxam_> It still could happen.
1012: [08:45:27] <Snaxam_> I've got a year and a half left here, then I'll be back... probably.
1013: [08:45:41] <Snaxam_> Might travel first, so might be closer to two years :P
1014: [08:45:44] <ss23> Still with your GF?
1015: [08:45:47] <Snaxam_> yeh
1016: [08:45:52] <ss23> she's coming back after a year? :O
1017: [08:45:54] <Snaxam_> why, you wishing for some of this?
1018: [08:45:54] <ss23> or w/e
1019: [08:45:58] <Snaxam_> ss23: 2
1020: [08:46:03] <ss23> mm
1021: [08:46:05] <ss23> haha
1022: [08:46:08] <ss23> You wish I wished!
1023: [08:46:09] <ss23> :P
1024: [08:46:11] <ss23> Just wondering
1025: [08:46:25] <Snaxam_> you wish I wish you wished!
1026: [08:47:08] <ss23> NU UH
1027: [08:47:09] * ss23 glares
1028: [08:47:13] <Snaxam_> totally
1029: [08:47:18] <Snaxam_> need food :<
1030: [08:48:07] <ss23> Okay so whats this about API, Snaxam_?
1031: [08:48:09] <ss23> It doesn't work or what?
1032: [08:51:43] <ss23> Snaxam_: I'm doing a manual rebuild now to check for errors
1033: [08:53:55] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1034: [08:55:00] <ss23> Snaxam_: yo idk where this issue is
1035: [08:55:02] * simon_w has joined #silverstripe
1036: [08:55:24] * micmania1 has joined #silverstripe
1037: [09:07:02] * Colin[pi] quit (Ping timeout: 250 seconds)
1038: [09:10:44] <ss23> Snaxam_: Manually rebuilt it, let me know if it still exists before 3am NZ time
1039: [09:18:04] * Tanger quit (Quit: Tanger)
1040: [09:22:03] <Snaxam_> ss23: random
1041: [09:31:04] <Snaxam_> micmania1: http://www.stuff.co.nz/technology/digital-living/60166026/is-netflix-finally-coming-to-new-zealand
1042: [09:31:12] <Snaxam_> how was oldham?
1043: [09:31:36] <Snaxam_> micmania1: oh, also: http://www.geekzone.co.nz/forums.asp?forumid=84&topicid=119678
1044: [09:31:41] <Snaxam_> just do what everyone else does :P
1045: [09:31:56] <Cheddam_> How would an SS developer normally attach images to a page to use for, say, a carousel or gallery? Does it require use of a module?
1046: [09:32:35] <Snaxam_> Cheddam_: no, no module required. It's about 10 lines of PHP. But you could use a module, if you'd like.
1047: [09:32:56] * Snaxam_ is now known as Snaxxam_
1048: [09:33:00] <Cheddam_> Snaxam_ What are the 10 lines? :P
1049: [09:34:18] <Cheddam_> And no core hacking or anything?
1050: [09:34:56] <Snaxxam_> private static $has_many = ['CarouselImages'=>'GalleryImage']; class GalleryImage extends DataObject { private static $has_one = ['Page' => 'Page', 'Image' => 'Image']; }
1051: [09:35:26] <Snaxxam_> It's easier with a couple of modules.
1052: [09:35:32] <Snaxxam_> (to manage the relation)
1053: [09:35:42] <Snaxxam_> but that's bascially the gist of it ^^^
1054: [09:36:17] <Snaxxam_> and yeah, of course no core hacks :<
1055: [09:36:34] <Snaxxam_> gosh, what kind of 2 bit nonsense do you think we're running here? wordderp?
1056: [09:36:52] <Cheddam_> Hahaha, that's what I'm trying to avoid US using :P
1057: [09:37:07] <Snaxxam_> Cheddam_: good (wo)man
1058: [09:37:29] <Cheddam_> Whoa whoa whoa, no wo bro
1059: [09:37:56] <Snaxxam_> It's all about not being exclusive!
1060: [09:38:21] <Cheddam_> True.
1061: [09:39:54] <Cheddam_> I think one of the good things I'm seeing about SS over Wordpress is that it's actually a framework so extending the core is easy and undodgy.
1062: [09:40:03] <Snaxxam_> yep.
1063: [09:40:16] <Snaxxam_> wordderp is the wrong tool that became popular for the wrong usecase.
1064: [09:40:43] <Snaxxam_> same could be said about code igniter too though... although it was generally used in the right usecase
1065: [09:41:53] <Snaxxam_> it's jsut so shit that it should never have become popular.
1066: [09:42:11] <Cheddam_> Yeah, gave CI a go a little while ago. Interesting way of doing things but too much functionality seemed tied up in expensive extensions. Also no menu system.
1067: [09:42:59] <Cheddam_> Some people would argue that applies to PHP as well ;) I am not one of those people.
1068: [09:43:37] <ss23> Snaxxam_: kk you figure out how I can reproduce and I'll fix
1069: [09:44:08] <Snaxxam_> yeah, load that page!
1070: [09:45:27] <Snaxxam_> It's all griffins vs arnotts up in here now.
1071: [09:45:50] <Snaxxam_> chit chats or tim tams? That's the question.
1072: [09:45:59] <Snaxxam_> eh Cheddam_?
1073: [09:47:13] <Snaxxam_> Cheddam_: nah, CI is shit for reasons much more basic than those high level things. It's a pure framework, it isn't supposed to have menus or anything.
1074: [09:48:10] <Snaxxam_> but when it boils down to it, it's obvious those who made it didn't know shit about software design & good practice.
1075: [09:49:10] <Snaxxam_> and when you strip it right back, it's basically nothing more than a very very basic routing system and a query wrapper.
1076: [09:50:30] <Cheddam_> Snaxxam_ Back :P
1077: [09:50:51] <Cheddam_> I'm a Toffee Pops guy myself
1078: [09:52:04] <Cheddam_> Ah, I must have meant ExpressionEngine
1079: [09:52:37] <ss23> Snaxxam_: Which page? o.o
1080: [09:52:40] <Snaxxam_> yeah, probably. same shit.
1081: [09:52:41] <ss23> Snaxxam_: The one you linked w asn't a real page
1082: [09:53:00] <Snaxxam_> yeah I know
1083: [09:53:01] <Snaxxam_> [09:40] <Snaxam_> ss23: http://api.silverstripe.org/3.1/function-_t...html
1084: [09:53:07] <ss23> ...
1085: [09:53:10] <Snaxxam_> but it shows in search or whatever
1086: [09:53:16] <ss23> With what terms?
1087: [09:53:18] <Snaxxam_> ss23: or are you talking about addons search?
1088: [09:53:20] <Snaxxam_> ss23: _t
1089: [09:53:30] <ss23> I'm not talking about anything, you said there was a bug, I'm trying to find out what the bug is
1090: [09:53:34] <ss23> mmk I try _t
1091: [09:53:35] <Snaxxam_> it's not actually an issue at all, because I know it's deprecated or gone or whatever.
1092: [09:53:39] <ss23> I see, thanks
1093: [09:53:43] <ss23> :D
1094: [09:53:44] <Snaxxam_> ss23: bug?
1095: [09:53:45] <ss23> I will fix if I can
1096: [09:53:50] <Snaxxam_> when did I say bug?
1097: [09:53:52] <Snaxxam_> :<
1098: [09:53:57] <ss23> It's as bug if it's generating pages like that!
1099: [09:54:03] <ss23> Searching for _t gives a 404, that's a bug
1100: [09:54:04] <ss23> :P
1101: [09:54:18] <Snaxxam_> well it's not generating the page, but it does seem to think it still exists (or should) for some reason
1102: [09:54:35] <Snaxxam_> as I say, no biggie but yeah. It probably shouldn't.
1103: [09:54:43] <Snaxxam_> but personally if I were you I wouldn't waste time on it.
1104: [09:55:07] <Snaxxam_> Cheddam_: toffeepops are griffins!
1105: [09:55:10] <Snaxxam_> aww yis
1106: [09:56:05] <Cheddam_> Heh, w00t
1107: [10:04:27] <Snaxxam_> haha, ow gawd. That moment when you write: ${$name}[$instance->id] = $instance->name;
1108: [10:04:49] <Snaxxam_> //yeah this is pretty ugly. shh.
1109: [10:12:11] * novaweb quit (Quit: novaweb)
1110: [10:15:29] * UncleCheese has joined #silverstripe
1111: [10:23:12] <Snaxxam_> ocm: hmm, could be a bug in zend, looking at this.
1112: [10:23:33] <Snaxxam_> i18n::_t() uses Zend_Translate
1113: [10:23:44] <Snaxxam_> doesn't do anything itself
1114: [10:25:38] <Snaxxam_> oh wait, no that's not correct.
1115: [10:25:58] <Snaxxam_> depends on how it's called.
1116: [10:29:05] <ocm> I stopped looking for the cause of the bug, will do so later (the weekend or something)
1117: [10:30:21] * ed89 has joined #silverstripe
1118: [10:30:49] <Snaxxam_> ocm: yeah, I'm just curious myself :<
1119: [10:31:02] <Snaxxam_> but I cant' remember how deprecated _t is
1120: [10:31:15] <Snaxxam_> ss23: tell me pz
1121: [10:34:29] * zfmf quit ()
1122: [10:35:50] * ed89 quit (Quit: Page closed)
1123: [10:39:03] <ss23> No idea how deprecated :O
1124: [10:40:48] <Snaxxam_> ss23: Programming! http://www.youtube.com/watch?v=aqAUmgE3WyM
1125: [10:41:03] <Snaxxam_> ss23: hmm, I think I might be confused about something. It doesn't appear to be deprecated.
1126: [10:41:24] <Snaxxam_> but I thought some shit happened with translations and we were supposed to go about it some different way
1127: [10:42:22] <Snaxxam_> ocm: kinglozzer micmania1 irogue simon_w Cheddam_ http://www.youtube.com/watch?v=aqAUmgE3WyM programming!
1128: [10:42:32] <Snaxxam_> ec8or_: :P ^
1129: [10:43:11] <simon_w> Snaxxam_, _t() isn't deprecated in PHP. That syntax is deprecated in the templates for the straight <%t
1130: [10:44:39] <kinglozzer> Snaxxam_: wat
1131: [10:44:56] <kinglozzer> Is it weird that I kinda want one? :P
1132: [10:45:55] <simon_w> https://www.youtube.com/watch?v=cYw2ewoO6c4
1133: [10:47:27] <Snaxxam_> simon_w: ah, thank you!
1134: [10:47:54] <Snaxxam_> man I was sure it was deprecated, and I was right, but I was wrong, and oh gawd it was confusing.
1135: [10:48:37] <Snaxxam_> simon_w: so <%t still uses _t() right?
1136: [10:48:48] <Snaxxam_> and _t just uses i18n::_t() right?
1137: [10:48:48] <simon_w> Yes
1138: [10:48:58] <Snaxxam_> ok awesome thanks :)
1139: [10:51:01] <Snaxxam_> hehe, awesome lego
1140: [10:52:19] <Snaxxam_> kinglozzer: no, not at all :P
1141: [10:54:28] <Snaxxam_> ocm: translation in itself isn't escaping shit. Must be in the view layer.
1142: [10:54:46] * micmania1|2 has joined #silverstripe
1143: [10:55:34] <Zauberfisch> yay
1144: [10:55:44] <Zauberfisch> #2859 is finally merged
1145: [10:55:47] <Zauberfisch> https://github.com/silverstripe/silverstripe-framework/pull/2859#issuecomment-49136357
1146: [10:56:06] * travis-ci has joined #silverstripe
1147: [10:56:06] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2874 (master - 1a63fa5 : Simon Welsh): The build is still failing.
1148: [10:56:06] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/80270c521db1...1a63fa5b17f8
1149: [10:56:06] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/30056990
1150: [10:56:06] * travis-ci has left #silverstripe
1151: [10:56:08] <simon_w> Whoa, when did that happen? :p
1152: [10:56:15] <simon_w> Oh, shut up travis
1153: [10:56:19] <Zauberfisch> simon_w: :D
1154: [10:56:31] <simon_w> I KNOW MOOMAN BROKE BEHAT
1155: [10:56:51] <simon_w> And postgres is incorrectly passing
1156: [10:57:54] <Zauberfisch> but I am confident that when he is done, things will be a lot better
1157: [10:58:12] <micmania1|2> Snaxxam_: what's up with the name today? (ps. Oldham was good).
1158: [10:58:15] <Zauberfisch> love to give silverstripe & postgresql a try
1159: [10:58:15] * Frans_Amsterdam quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1160: [10:58:55] <Snaxxam_> micmania1|2: pisstaking on Cheddam_
1161: [10:59:07] <kinglozzer> Zauberfisch, simon_w :D
1162: [10:59:09] <Snaxxam_> Cheds are a type of (savoury) cracker in NZ, as are Snax.
1163: [10:59:13] * micmania1 quit (Ping timeout: 246 seconds)
1164: [10:59:29] <Snaxxam_> micmania1|2: so back at it today are you?
1165: [11:00:05] <micmania1|2> yep
1166: [11:00:31] <micmania1|2> was phpne good?
1167: [11:00:46] * micmania1|2 is now known as micmania1
1168: [11:00:58] <Snaxxam_> micmania1: yeh, was actually.
1169: [11:01:07] <Snaxxam_> It was actually Mark giving the talk, haha
1170: [11:01:23] <Snaxxam_> but he stood there and basically described Silverstripe for the first 10 mins
1171: [11:01:27] <micmania1> yeah lol
1172: [11:01:28] <Snaxxam_> then he got into examples.
1173: [11:01:32] <micmania1> anyway g2g
1174: [11:01:35] <Snaxxam_> seems really cool though
1175: [11:01:37] <micmania1> will talk in a bit
1176: [11:01:41] <Snaxxam_> kk
1177: [11:01:42] <micmania1> i looked at it quickly
1178: [11:01:46] <micmania1> seemed quite nice
1179: [11:01:51] <Snaxxam_> mm, does.
1180: [11:02:02] <micmania1> talk in a bit
1181: [11:02:06] <Snaxxam_> kk
1182: [11:08:52] * Frans_Amsterdam has joined #silverstripe
1183: [11:09:02] * simon_w waits for framework to clone so he can merge 3.1 into master
1184: [11:09:08] <simon_w> That is going to be painful...
1185: [11:10:15] <Snaxxam_> hmm, wha?
1186: [11:10:32] <Snaxxam_> Is this for bugfixes to 3.1 to be included in 3.2?
1187: [11:12:50] * Frans_Amsterdam quit (Client Quit)
1188: [11:14:30] <simon_w> Yes
1189: [11:18:37] <simon_w> At least the 3.0 -> 3.1 merge is simple
1190: [11:23:30] * travis-ci has joined #silverstripe
1191: [11:23:30] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2875 (3.1 - cc9603d : Simon Welsh): The build passed.
1192: [11:23:30] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/eed2293f313c...cc9603d6a2e9
1193: [11:23:30] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/30060381
1194: [11:23:30] * travis-ci has left #silverstripe
1195: [11:27:27] * spronk2 has joined #silverstripe
1196: [11:36:45] * travis-ci has joined #silverstripe
1197: [11:36:46] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2876 (3.1 - 8a3eebf : Simon Welsh): The build passed.
1198: [11:36:46] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/cc9603d6a2e9...8a3eebf289c3
1199: [11:36:46] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/30061300
1200: [11:36:46] * travis-ci has left #silverstripe
1201: [11:37:23] * Cheddam_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1202: [11:40:33] * micmania1 has joined #silverstripe
1203: [11:42:44] <ocm> hm, anyone has experience with telling firefox to ignore this: " sec_error_untrusted_issuer" ?
1204: [11:44:27] <Snaxxam_> wha?
1205: [11:44:43] <ocm> ssl untrusted bullshit message
1206: [11:44:46] <ocm> will, it aint bs
1207: [11:44:58] <ocm> but its a local domain (ofcourse without cert) but firefox wont let me see it
1208: [11:45:07] <ocm> testing some fb canvas app from local server
1209: [11:45:32] <ocm> but it wont show up cause the localdomain doesnt has a cert, so basically I want to whitelist/skip the msg but I can't
1210: [11:46:06] <simon_w> ocm, self-sign a cert and you can then add an exception
1211: [11:46:27] <ocm> ah thnx simon_w :) that should do!
1212: [11:47:35] <Snaxxam_> local domain on ssl?
1213: [11:47:58] <Snaxxam_> or is it some sec setting in ff that denies some content if whatever?
1214: [11:48:38] <ocm> the iframe (facebook canvas) doesnt get loaded
1215: [11:49:01] <ocm> but a selfsigned cert should do the trick
1216: [11:54:35] * travis-ci has joined #silverstripe
1217: [11:54:36] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2877 (master - c14d58f : Simon Welsh): The build is still failing.
1218: [11:54:36] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/1a63fa5b17f8...c14d58f585cc
1219: [11:54:36] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/30061672
1220: [11:54:36] * travis-ci has left #silverstripe
1221: [11:57:17] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1222: [12:00:54] <simon_w> Oops, that was a bigger break than I was expecting
1223: [12:01:43] <ss23> XD
1224: [12:01:43] * Frans_Amsterdam has joined #silverstripe
1225: [12:02:30] <ss23> Hey, pgsql still passes!
1226: [12:02:32] <ss23> I count it as a win
1227: [12:02:32] <ss23> :P
1228: [12:02:39] <Snaxxam_> lol
1229: [12:02:40] <ss23> ohwait, that's master
1230: [12:05:36] <simon_w> Yeah, postgres isn't supposed to be passing
1231: [12:07:38] * kerosene quit (Ping timeout: 240 seconds)
1232: [12:07:41] * UndefinedOffset has joined #silverstripe
1233: [12:11:44] * fdrechsler quit (Read error: Connection reset by peer)
1234: [12:14:09] * kerosene has joined #silverstripe
1235: [12:16:41] <ocm> simon_w the selfsigningtrick works like a charm! thnx :)
1236: [12:20:13] * Colin[pi] has joined #silverstripe
1237: [12:41:03] * muskie9 quit (Ping timeout: 240 seconds)
1238: [12:43:35] * Frans_Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
1239: [12:49:04] * muskie9 has joined #silverstripe
1240: [12:56:25] * Frans_Amsterdam has joined #silverstripe
1241: [12:59:40] * Frans_Amsterdam quit (Client Quit)
1242: [13:00:00] * Frans_Amsterdam has joined #silverstripe
1243: [13:02:24] * Robke has joined #silverstripe
1244: [13:02:40] <Robke> hello friends around the world :)
1245: [13:03:04] <Robke> can someone explain me... if i add this to my Page.php file
1246: [13:03:12] <Robke> public function init() { parent::init(); Requirements::javascript('themes/CK/js/jquery-1.11.1.min.js'); Requirements::javascript('themes/CK/js/style.js'); Requirements::javascript('themes/CK/js/bootstrap.js'); Requirements::themedCSS('themes/CK/css/bootstrap.css', 'bootstrap'); Requirements::themedCSS('themes/CK/css/Style.css', 'Style');
1247: [13:03:32] <Robke> these requirments should be in all pages and subpages which extends page yes?
1248: [13:04:15] <muskie9> yes, except your Requirements::themedCSS don't need 'themes/CK/css' as you are calling themedCSS rather than Requirements::css()
1249: [13:06:40] <Frans_Amsterdam> Hi All, I like to ask (again, sorry ;-)) if there is anyone familiar whit the "BAD GATEWAY 502" warning on a nginx server? I have checked the error-log on PLESK. It doesn't show anything. I also applied write rights to the Assets folder.
1250: [13:10:28] <Robke> muskie9: thanks. but i dont have any requirments::block and changed it directly to CSS
1251: [13:10:38] <Robke> but js isnt showing in home page :(
1252: [13:12:14] <muskie9> Robke usually if my js isn't loading I have a typo in the path to the file
1253: [13:13:16] * focus_ has joined #silverstripe
1254: [13:13:27] <muskie9> but if it's loading in your other pages that's odd
1255: [13:13:50] <focus_> hey guys, can i hide a specific CMS tab to a user group in the backend? (2.4.x site)
1256: [13:14:38] <muskie9> focus_ try if(Permission::check('GROUP-CODE'){ $fields->removeByName('TabName'); }
1257: [13:14:55] <muskie9> I think that worked in 2.4.x
1258: [13:15:02] * auto9 has joined #silverstripe
1259: [13:15:21] <focus_> muskie9: thanks, i will give it a shot
1260: [13:15:28] <muskie9> http://api.silverstripe.org/2.4/class-FieldSet.html#_removeByName
1261: [13:15:38] <focus_> i assume i can add in into my getCMSFields() function?
1262: [13:15:47] <muskie9> yes
1263: [13:16:19] <ocm> Frans_Amsterdam, did not work that much with nginx, try one of these though: public function init() {
1264: [13:16:19] <ocm> parent::init();
1265: [13:16:19] <ocm> }
1266: [13:16:23] <ocm> oh wrong paste
1267: [13:16:25] <ocm> http://www.nginxtips.com/502-bad-gateway-using-nginx/
1268: [13:16:26] <ocm> that one :D
1269: [13:17:23] * Colin[pi] quit (Ping timeout: 264 seconds)
1270: [13:23:05] <focus_> muskie9: i tried it this way: http://sspaste.com/paste/show/53c678986b28b
1271: [13:23:21] <focus_> instead of removing, i'm adding them when someone is logged in as admin
1272: [13:23:41] <muskie9> that works too, probably easier if you only want admin access to them
1273: [13:24:22] <focus_> only thing is, i get an error somehow -> syntax error, unexpected '{'
1274: [13:24:24] <Frans_Amsterdam> ocm, thanks. I wil try that
1275: [13:24:46] <focus_> not sure why it's giving the error though
1276: [13:24:51] <muskie9> you need a closing ) in line 6
1277: [13:24:54] <muskie9> for your if statement
1278: [13:25:26] <focus_> oh lol, yes i see it now :x
1279: [13:25:33] * catcher has joined #silverstripe
1280: [13:25:39] <muskie9> hate it when that happend :P
1281: [13:26:11] <focus_> yes, sometimes those things just give you headaches
1282: [13:37:13] * spronk2 quit (Quit: spronk2)
1283: [13:45:21] * ARNHOE quit ()
1284: [14:04:09] <Snaxxam_> [14:06] <Frans_Amsterdam> Hi All, I like to ask (again, sorry ;-)) if there is anyone familiar whit the "BAD GATEWAY 502" warning on a nginx server? I have checked the error-log on PLESK. It doesn't show anything. I also applied write rights to the Assets folder.
1285: [14:04:15] <Snaxxam_> Frans_Amsterdam: yes, increase your buffer limits
1286: [14:04:20] <Snaxxam_> iirc
1287: [14:04:38] <Snaxxam_> nginx is getting a buffer overflow error because the returned header is too large
1288: [14:05:20] <Snaxxam_> Robke: requirements::clear() will remove all requirements iirc
1289: [14:05:29] <Snaxxam_> as opposed to block, which blocks a particular file.
1290: [14:06:31] <Frans_Amsterdam> Snaxxam, the site runs shared hosting, that makes it a bit difficult
1291: [14:06:44] <Snaxxam_> Frans_Amsterdam: the reason for this is that SS puts required files in the header.
1292: [14:07:21] <Snaxxam_> Frans_Amsterdam: load the request as a normal GET directly in your browser
1293: [14:07:28] <Snaxxam_> see what happens
1294: [14:08:03] <Snaxxam_> Frans_Amsterdam: what kind of shared hosting? like Plesk? because you can disable the load balancing reverse proxy in that.
1295: [14:08:15] <Snaxxam_> access apache directly
1296: [14:08:29] <Snaxxam_> otherwise appeal to the host to increase limits.
1297: [14:08:37] <Frans_Amsterdam> Snaxxam, yes I use Plesk
1298: [14:08:40] <Snaxxam_> search silverstripe forums, there's a bit of chat there about it.
1299: [14:09:13] <Frans_Amsterdam> Snaxxam, this helps, now I know where to search. ;-)
1300: [14:09:59] * focus_ quit (Quit: Page closed)
1301: [14:10:49] <Snaxxam_> Frans_Amsterdam: in short it's X-Include-JS and X-Include-CSS listing files to include that pushes the header buffer over nginx's limit
1302: [14:10:55] <Snaxxam_> or something
1303: [14:11:03] <Snaxxam_> which is why you get the error sometimes, and not others
1304: [14:13:50] * auto9_ has joined #silverstripe
1305: [14:13:50] * auto9 quit (Read error: Connection reset by peer)
1306: [14:17:35] <Robke> Snaxxam_: thanks but it does not help :)
1307: [14:21:25] <muskie9> Robke is it still just the home page that's not pulling in the requirements?
1308: [14:24:33] <Snaxxam_> Frans_Amsterdam: double check that there's no error in apache though.
1309: [14:26:03] <Snaxxam_> Frans_Amsterdam: eg: http://www.silverstripe.org/general-questions/show/24143
1310: [14:27:25] <Snaxxam_> otherwise, as I say: http://www.silverstripe.org/installing-silverstripe/show/21548
1311: [14:27:54] <Frans_Amsterdam> Snaxxam_, I did give all write rights to the Assets folder. No difference.
1312: [14:32:55] <Snaxxam_> Frans_Amsterdam: yes but you need to look in all the places for an error
1313: [14:33:07] <Snaxxam_> apache error log, apache access log, nginx error & access logs, etc.
1314: [14:33:16] <Snaxxam_> php logs, silverstripe logs if you have those set up too
1315: [14:40:58] * lerni quit ()
1316: [14:49:10] * Robke quit (Ping timeout: 246 seconds)
1317: [15:04:03] * Frans_Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
1318: [15:22:37] * nonconformatevi quit (Quit: Sto andando via)
1319: [15:33:29] * Shrike_Finland quit (Quit: Leaving.)
1320: [15:35:04] * krofek quit (Ping timeout: 272 seconds)
1321: [15:46:36] * krofek has joined #silverstripe
1322: [15:49:46] * simon_w quit (Quit: This computer has gone to sleep)
1323: [15:56:44] * ocm quit (Quit: Try HydraIRC -> http://www.hydrairc.com <-)
1324: [15:59:44] * fdrechsler has joined #silverstripe
1325: [16:16:30] <Snaxxam_> fffff, try isn't catching user_error :<
1326: [16:17:50] * stnvh quit ()
1327: [16:17:58] * kinglozzer quit ()
1328: [16:18:30] * cloph is now known as cloph_away
1329: [16:20:23] <Snaxxam_> oh shit, it probably is but it's notice by default, although the output say 'User Error'
1330: [16:20:35] <Snaxxam_> non fatal
1331: [16:22:49] <Snaxxam_> how to catch E_USER_NOTICE :(
1332: [16:28:13] <Snaxxam_> tl:dr; never ever user_error, not even once :< Uncatchable.
1333: [16:28:38] <Snaxxam_> well, not without f'n SS's inbuilt catcher I think. IDK. So complex :<
1334: [16:33:57] <Snaxxam_> fuck you ss_database::manipulate, why user_error all the things!? :<
1335: [16:41:59] <Snaxxam_> nope, throws E_USER_ERROR. supposed to be fatal. Isn't :(
1336: [16:42:51] <Snaxxam_> My brain is full of WTF.
1337: [16:42:54] <Snaxxam_> Just, what the fuck.
1338: [16:43:09] <Snaxxam_> fatal shit isn't fatal and I've no easy way of catching it.
1339: [16:43:18] <Snaxxam_> FFFFFFFFF UUUUUUUUUU
1340: [16:51:18] * fdrechsler quit (Ping timeout: 240 seconds)
1341: [16:57:42] <catcher> Interesting, subclasses' onBeforeWrite don't call parent class's?
1342: [16:58:18] <Snaxxam_> don't have to.
1343: [16:58:37] <Snaxxam_> parent::onBeforeWrite(); You must define it as such.
1344: [16:58:40] * Snaxxam_ quit ()
1345: [17:08:15] * Shrike_Finland has joined #silverstripe
1346: [17:11:18] * stnvh has joined #silverstripe
1347: [17:29:30] * micahsheets has joined #silverstripe
1348: [17:30:55] <micahsheets> Is there a way to reload the CMS Main panel after UploadField has finished uploading files?
1349: [17:41:10] * Shrike_Finland quit (Quit: Leaving.)
1350: [17:46:49] * CodeTrap has joined #silverstripe
1351: [17:52:07] * azureknight has joined #silverstripe
1352: [17:54:00] <micahsheets> Is there a way to reload the CMS Main panel after UploadField has finished uploading files?
1353: [18:03:20] * gelignite has joined #silverstripe
1354: [18:27:35] <catcher> micahsheets, that's not a normal function of UploadField, so you'd probably need to extend it for that.
1355: [18:28:34] * auto9 has joined #silverstripe
1356: [18:30:27] * auto9_ quit (Ping timeout: 256 seconds)
1357: [18:35:42] * auto9_ has joined #silverstripe
1358: [18:39:03] * auto9 quit (Ping timeout: 240 seconds)
1359: [18:42:03] * scpi has joined #silverstripe
1360: [18:50:18] * azureknight quit (Ping timeout: 240 seconds)
1361: [18:53:05] * Shrike_Finland has joined #silverstripe
1362: [18:59:25] * guci0 quit (Ping timeout: 246 seconds)
1363: [19:12:00] * novaweb has joined #silverstripe
1364: [19:30:51] <novaweb> Morning… anyone about?
1365: [19:33:39] * Shrike_Finland quit (Quit: Leaving.)
1366: [19:56:41] * micahsheets quit (Quit: micahsheets)
1367: [20:07:11] * novaweb quit (Quit: novaweb)
1368: [20:14:25] * mobiusnz has joined #silverstripe
1369: [20:17:04] * UndefinedOffset quit (Quit: Leaving.)
1370: [20:18:01] <catcher> morning
1371: [20:18:04] <Stomach> howdy
1372: [20:18:14] <catcher> ('afternoon)
1373: [20:19:25] * scpi has left #silverstripe
1374: [20:19:43] * scpi has joined #silverstripe
1375: [20:20:42] * Cheddam_ has joined #silverstripe
1376: [20:28:02] * Shrike_Finland has joined #silverstripe
1377: [20:28:47] * harold__ has joined #silverstripe
1378: [20:29:21] <harold__> hi everyone, I'm tryin gto following this simple guide for making a contact form
1379: [20:29:25] <harold__> http://www.ssbits.com/newbies/2010/creating-a-simple-contact-form/
1380: [20:30:00] <harold__> i'm getting an error as follows: Fatal error: Class 'FieldSet' not found in
1381: [20:30:10] * nickmolhoek has joined #silverstripe
1382: [20:30:11] <harold__> this is the line
1383: [20:30:11] <harold__> $fields = new FieldSet( new TextField('Name', 'Name*'), new EmailField('Email', 'Email*'), new TextareaField('Comments','Comments*') );
1384: [20:30:31] <muskie9> use new FieldList
1385: [20:30:53] <muskie9> FieldSet is 2.4 FieldList is 3.0+
1386: [20:31:35] <harold__> ah ok the tutorial is old then
1387: [20:31:45] <harold__> should I avoid this tutorial
1388: [20:32:09] <muskie9> very old, the concepts are good, the code is just outdated based on the current release
1389: [20:32:23] <muskie9> http://doc.silverstripe.com/framework/en/topics/forms
1390: [20:32:49] <harold__> thank you...
1391: [20:32:55] <muskie9> sure
1392: [20:33:31] <harold__> how would I apply my bootstrap styling to the form, as far as I can see I have no control over it when I follow the first tutorial
1393: [20:34:03] <harold__> to output the form I just have to use: $ContactForm
1394: [20:34:21] <harold__> but in doing so it just dumps a standard webform with no styling
1395: [20:36:10] <muskie9> you can create a custom form template: http://doc.silverstripe.com/framework/en/topics/forms#custom-form-templates
1396: [20:45:31] * novaweb has joined #silverstripe
1397: [20:46:28] * novaweb quit (Client Quit)
1398: [20:49:28] * Ryan-Toast has joined #silverstripe
1399: [20:49:46] * Cheddam_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1400: [20:50:10] * Cheddam_ has joined #silverstripe
1401: [20:53:17] * zippy__ has joined #silverstripe
1402: [20:53:21] <zippy__> Morning
1403: [20:53:35] <zippy__> Stomach: I was having a play with beam last night
1404: [20:58:22] * auto9_ quit (Quit: -a- Connection Timed Out)
1405: [20:59:46] * auto9 has joined #silverstripe
1406: [21:00:28] * novaweb has joined #silverstripe
1407: [21:11:04] <novaweb> Friends…. is get_one obsolete in 3.1?
1408: [21:12:13] <zippy__> novaweb: xxx::get()->first() ?
1409: [21:12:35] <zippy__> I think you can still use get_one, but… you can use first now
1410: [21:13:05] <novaweb> xxx::get()->sort(ID, DESC)->first() should work?
1411: [21:13:17] <zippy__> ya
1412: [21:13:28] <novaweb> Thank you.
1413: [21:13:30] <zippy__> just add '
1414: [21:13:32] <novaweb> Will give it a go.
1415: [21:13:37] <novaweb> yup
1416: [21:15:51] <zippy__> novaweb: good?
1417: [21:16:00] <novaweb> command lining
1418: [21:16:01] * UncleCheese has joined #silverstripe
1419: [21:16:03] <novaweb> two ticks
1420: [21:17:01] * Shrike_Finland quit (Quit: Leaving.)
1421: [21:18:07] * Shrike_Finland has joined #silverstripe
1422: [21:20:20] <novaweb> zippy_
1423: [21:20:21] <novaweb> done!
1424: [21:20:24] <novaweb> Churp!
1425: [21:23:35] <Stomach> zippy__, how did it go?
1426: [21:23:44] <Stomach> if you want support, #beam
1427: [21:25:37] * willr has joined #silverstripe
1428: [21:31:16] <Ryan-Toast> Stomach: What are beam?
1429: [21:31:42] <UncleCheese> the best deployment tool ever
1430: [21:31:49] <UncleCheese> http://github.com/heyday/beam
1431: [21:32:09] * cloph_away is now known as cloph
1432: [21:32:39] <Ryan-Toast> More things I don’t know how to use, haha.
1433: [21:32:51] <Ryan-Toast> I’m getting better at composer, yay
1434: [21:33:08] * CodeTrap quit (Quit: CodeTrap)
1435: [21:34:08] <Ryan-Toast> I delete people off facebook if I don’t wish them a happy birthday, but I seem to keep the ladies that post yoga pant pictures a lot.
1436: [21:34:11] <Ryan-Toast> Bad Ryan.
1437: [21:34:33] * scpi quit (Quit: scpi)
1438: [21:37:57] <UncleCheese> CSS question...
1439: [21:38:09] <UncleCheese> Div A and Div B are siblings, absolutely positioned next to each other
1440: [21:38:21] <UncleCheese> Div A has z-index 2 and Div B has z-index 1
1441: [21:38:39] <UncleCheese> Div B has a child that is also absolutely positioned, with a z-index of 9999
1442: [21:38:51] <UncleCheese> how come that child can't be placed on top of Div A?
1443: [21:43:14] <Ryan-Toast> UncleCheese: because it’s a z-index of 9999 in that element
1444: [21:43:29] <UncleCheese> so z-index isn't like
1445: [21:43:33] <UncleCheese> global?
1446: [21:43:34] <Ryan-Toast> not global, no
1447: [21:43:39] <UncleCheese> mother!
1448: [21:45:03] <Ryan-Toast> you can trick it, with a little hack
1449: [21:45:35] * gelignite quit (Quit: http://bit.ly/nkczDT)
1450: [21:45:36] <Ryan-Toast> you can spoof it with opacity .99, biut it’s pretty bad practise
1451: [21:45:58] <Ryan-Toast> I rtecommend taking a look at the use case and changing the markup
1452: [21:46:16] <UncleCheese> uh?
1453: [21:46:24] <UncleCheese> no, tell me about the opacity trick
1454: [21:46:29] <UncleCheese> because i'm out of ideas
1455: [21:46:46] <Ryan-Toast> Don’t do that. Can you send me a picture of what you’re doing?
1456: [21:49:08] <UncleCheese> it's a mobile app.. imagine a header bar, where you have the title, and two buttons, left and right, and a content area
1457: [21:49:27] <Ryan-Toast> okay
1458: [21:49:34] <UncleCheese> for a number of reasons, the buttons have to live in the content area and be absolutely positioned up on the header bar
1459: [21:49:48] <UncleCheese> header bar has a higher z-index so that when you scroll, the content goes under it
1460: [21:49:54] <UncleCheese> and you don't lose it
1461: [21:51:35] <Ryan-Toast> can you give me a snippit of the markup?
1462: [21:52:02] <zippy__> ah balls!
1463: [21:52:14] <zippy__> I have a HTMLText field which is getting added into a page via a snippet
1464: [21:52:25] <zippy__> *snippet -> shortcode
1465: [21:52:39] <zippy__> The problem is there is another shortcode in this HTMLText but that is not getting parsed
1466: [21:53:00] <Ryan-Toast> zippy__: NO NESTED SHORTCODES FOR YOU.
1467: [21:53:07] <zippy__> Ryan-Toast: Ineeded
1468: [21:53:09] <zippy__> return "<div class='snippet'>{$page->Snippet}</div>";
1469: [21:53:22] <zippy__> so I assume I might need to cast that to a HTMLField and then do it?
1470: [21:53:27] <Ryan-Toast> Nested shortcodes would open so many opportunities.
1471: [21:53:35] <Ryan-Toast> possibilities..
1472: [21:53:58] <zippy__> Ryan-Toast: well, since they're parsed auto on htmlfields, I wonder..
1473: [21:57:16] <zippy__> Ryan-Toast: got it !
1474: [21:58:01] <Ryan-Toast> zippy__: nice!
1475: [22:00:42] * meow-- has joined #silverstripe
1476: [22:02:16] * meow--- quit (Ping timeout: 250 seconds)
1477: [22:08:47] * novaweb_ has joined #silverstripe
1478: [22:09:11] * novaweb quit (Ping timeout: 256 seconds)
1479: [22:09:12] * novaweb_ is now known as novaweb
1480: [22:10:22] * catcher quit (Quit: Leaving)
1481: [22:14:13] * novaweb quit (Quit: novaweb)
1482: [22:18:41] * Phlunk3 has joined #silverstripe
1483: [22:25:33] <Ryan-Toast> Stomach: got that issue from yesterday working
1484: [22:25:41] <Ryan-Toast> The fix had nothing to do with anything.
1485: [22:25:45] <Ryan-Toast> rabbl;e rabble
1486: [22:25:56] <Stomach> Ryan-Toast, what was the fix?
1487: [22:26:01] <Stomach> cry overnight? :P
1488: [22:26:12] <Ryan-Toast> Stomach: Fetal position.
1489: [22:26:19] * novaweb has joined #silverstripe
1490: [22:26:24] <Stomach> ah that old chestnut
1491: [22:26:36] <Ryan-Toast> some depreciation shit to do with priority in Director::addRules
1492: [22:26:55] <Stomach> oh fun
1493: [22:27:47] * Colin[pi] has joined #silverstripe
1494: [22:28:17] <Ryan-Toast> Told my client to shower me with praise.
1495: [22:28:20] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1496: [22:30:30] <Blacklite> i read that as "told my client to shower with me"
1497: [22:30:41] <Ryan-Toast> Blacklite: that too
1498: [22:38:06] <zippy__> anything to numb the pain eh!
1499: [22:38:16] <zippy__> god I hate html/css so much sometimes
1500: [22:38:32] <zippy__> and I think the problem is because I write shit css
1501: [22:39:15] * irogue_ has joined #silverstripe
1502: [22:43:37] * Shrike_Finland quit (Quit: Leaving.)
1503: [22:47:31] <Ryan-Toast> zippy__: Need a hand with something?
1504: [22:47:43] <zippy__> not really, just a general opservation
1505: [22:48:02] <zippy__> like doing a box with a image and content and an icon, I end up with a whole bunch of style rules
1506: [22:48:18] <Ryan-Toast> zippy__: Getting better at css is a lot like getting better at development, write stuff then ask yourself how can I make this smaller?
1507: [22:48:48] <Ryan-Toast> Could I reuse this somewhere? should this be specific, etc
1508: [22:48:58] <zippy__> .box {} .box .title { } .box .button{} .box .button img {} .box .footer-item{ }
1509: [22:49:01] <Stomach> "can I make someone else do this"
1510: [22:49:13] <zippy__> Stomach: yea, that is what I should be asking :)
1511: [22:49:24] <Ryan-Toast> :P
1512: [22:49:32] <Ryan-Toast> css is fun!
1513: [22:50:02] <zippy__> tots...
1514: [22:50:24] <Stomach> css is fun like a punch in the nuts
1515: [22:50:36] <Ryan-Toast> one that you’ve come to enjoy
1516: [22:50:55] <Ryan-Toast> and now you can only get off like that
1517: [22:51:37] <Stomach> lol
1518: [22:51:40] <Stomach> that would be weird
1519: [22:52:26] <irogue_> zippy__: a preprocessor, when used properly, can help you avoid shit like that
1520: [22:52:48] <zippy__> Client: I have a bug. When I am on my desktop and I shrink down the browser window I see the mobile version of the website, not the desktop!
1521: [22:53:39] <willr> tbf that is annoying in some cases. I’ve added a link to force desktop size in responsive before
1522: [22:53:53] <Stomach> yeah we do that sometimes too
1523: [22:53:56] <willr> if cookie exists for full site don’t include the mobile css
1524: [22:53:56] <zippy__> irogue_: like sass / less?
1525: [22:54:06] <Ryan-Toast> sass +1
1526: [22:54:06] <irogue_> zippy__: yeah
1527: [22:54:18] <zippy__> yea..
1528: [22:54:58] <Ryan-Toast> then you can do fun stuff like: https://github.com/Rhym/ss_boilerplate/blob/master/Boilerplate/sass/_layout.scss
1529: [22:55:04] <zippy__> willr: might have to
1530: [22:55:59] <Ryan-Toast> zippy__: Client: I have a bug. When I am on my desktop and I shrink down the browser window I see the mobile version of the website, not the desktop! - ROFL
1531: [22:56:02] <Stomach> Ryan-Toast, #main-nav - ids in css, naughty
1532: [22:56:16] <Ryan-Toast> Stomach: that’re what IDs are for :P
1533: [22:56:28] <Colin[pi]> Stomach: ids are fine
1534: [22:56:30] <Colin[pi]> :P
1535: [22:56:43] <Stomach> urgh
1536: [22:56:45] <Stomach> so anti that
1537: [22:56:53] <Stomach> (as an obvious css guru)
1538: [22:56:59] <Ryan-Toast> Lets you know that that is a specifically styled element
1539: [22:57:13] <Ryan-Toast> if I used a class it would say that you could use it elsewhere
1540: [22:57:15] <Colin[pi]> my rule is, ids for things that are on the page as a once off (obviously), classes for everything else that repeats
1541: [22:57:19] <Ryan-Toast> which you wouldn’t for the main nav
1542: [22:57:42] <Ryan-Toast> main nav, and header don’t repeat :P
1543: [22:58:05] <irogue_> IDs are faster for the browser to process
1544: [22:58:19] <irogue_> as once it finds that element in the DOM it can stop looking for it
1545: [22:58:29] <irogue_> whereas with classes it has to keep going in case theres more elements with that class
1546: [22:58:54] <Colin[pi]> Stomach will have a fit when he sees my css: http://www.praxis.net.au/themes/praxis-interactive/css/layout.css
1547: [22:59:10] <Stomach> its not even minified
1548: [22:59:12] <Stomach> o_O
1549: [22:59:17] <Colin[pi]> nope!
1550: [22:59:19] <Colin[pi]> ;D
1551: [22:59:27] <Stomach> http://www.designdenmark.co.nz/themes/base/production/css/style.css
1552: [22:59:30] <Stomach> thats my css
1553: [22:59:46] <Colin[pi]> yuck
1554: [22:59:53] <Colin[pi]> but yeah I get why the minification :P
1555: [22:59:58] <Ryan-Toast> Colin[pi]: ……you’re including 22 css files on your site.
1556: [23:00:03] <Ryan-Toast> WHY WOULD YOU DO THIS?
1557: [23:00:11] <harold__> I've created a datatype to store contact form submissions
1558: [23:00:12] <harold__> private static $db = array( 'Name' => 'Text', 'Email' => 'Text', 'Message' => 'Text', 'EnquiryType' => 'Text' );
1559: [23:00:21] <Colin[pi]> Ryan-Toast: ¯\_(ツ)_/¯
1560: [23:00:31] <Colin[pi]> that site could do with some tweaking though :P
1561: [23:00:32] <Ryan-Toast> Colin[pi]: *hiiiiis
1562: [23:00:38] <Ryan-Toast> I need to remake mine too.
1563: [23:00:39] <Ryan-Toast> sigh
1564: [23:00:42] <harold__> but my contactformsubmissions table doesn't have columns
1565: [23:00:47] <Colin[pi]> mm it's about 2 years old now :(
1566: [23:00:57] <Stomach> harold__, have you done a dev/build?
1567: [23:00:57] <Ryan-Toast> Mine’s like 7 months.
1568: [23:00:58] * auto9 quit (Read error: Connection reset by peer)
1569: [23:01:00] <Ryan-Toast> time for a new one
1570: [23:01:02] <harold__> only ID, Classname, created
1571: [23:01:05] <harold__> yeah
1572: [23:01:11] <Stomach> did you flush?
1573: [23:01:16] <Stomach> mysite.dev/dev/build?flush=1
1574: [23:01:22] <UncleCheese> ¯\_(ツ)_/¯
1575: [23:01:46] <Ryan-Toast> Stomach: Don’t you have to do them seperatly?
1576: [23:01:51] <Stomach> Ryan-Toast, nope
1577: [23:02:05] * Ryan-Toast squints eyes
1578: [23:02:11] <zippy__> not for just fields..
1579: [23:02:17] <harold__> ah flush first then rebuild
1580: [23:02:22] <harold__> i think that has fixed it
1581: [23:02:22] * auto9 has joined #silverstripe
1582: [23:02:41] <zippy__> harold__: Also.. .are you sure Name and EMail need to be so large? you can just use Varchar for those…
1583: [23:02:56] <zippy__> harold__: it means the auto scaffold will use normal text fields not text areas
1584: [23:03:01] <Stomach> zippy__, not if you have more than 63 fields >_<
1585: [23:03:24] <harold__> zippy__: agreed... i'm just playing at this stage
1586: [23:03:25] <zippy__> 63 fields, who has that!
1587: [23:03:32] <zippy__> 1 table for everything...!
1588: [23:03:41] * simon_w|air has joined #silverstripe
1589: [23:03:48] <zippy__> probably was simon_w
1590: [23:03:49] <Stomach> one of the forms we did has 75 inputs or something fun
1591: [23:03:59] <Ryan-Toast> Stomach: super fun
1592: [23:04:12] <Stomach> more than can be done with varchar so we had to blob it all out to text
1593: [23:04:15] <Stomach> stupid giant forms
1594: [23:04:24] <Colin[pi]> Stomach: dang, 75 inputs? :o
1595: [23:04:30] <Stomach> its 5 pages long...
1596: [23:04:34] <Colin[pi]> ouch
1597: [23:04:40] <Colin[pi]> I did a monstrosity like that once too
1598: [23:04:47] <Ryan-Toast> Stomach: Making this one that has like 50 fields, depending on stuff they check in the backend http://webdough.co.nz/~home2014/request-a-quote/
1599: [23:04:49] <Colin[pi]> 4 or 5 pages I think
1600: [23:04:53] * travis-ci has joined #silverstripe
1601: [23:04:53] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2881 (3.1 - cfe8e15 : Sean Harvey): The build passed.
1602: [23:04:53] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/8a3eebf289c3...cfe8e15da98e
1603: [23:04:53] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/30120573
1604: [23:04:53] * travis-ci has left #silverstripe
1605: [23:17:25] <Ryan-Toast> heh: http://i.imgur.com/IYqiPQr.png
1606: [23:18:58] <Stomach> just clicked the 'todo' tab in my editor. mistake.
1607: [23:18:59] <Stomach> Found 2,474 TODO items in 921 files
1608: [23:19:12] <guzzlefry> Japanese doesn't use spaces.
1609: [23:22:07] * antmas has joined #silverstripe
1610: [23:22:28] <zippy__> antmas: morning
1611: [23:22:29] <antmas> mornings!
1612: [23:23:43] * Danae has joined #silverstripe
1613: [23:24:12] <Danae> ugh, does getCustomSearchContext on a DO even apply to the ModelAdmin search filter form?
1614: [23:24:38] <Danae> additionally setting the static $searchable_fields doesn't seem to help
1615: [23:25:04] <zippy__> when playing with those, flush.
1616: [23:25:08] * novaweb_ has joined #silverstripe
1617: [23:25:14] <irogue_> I feel popular today
1618: [23:25:18] <irogue_> two team leaders fighting over me
1619: [23:25:23] <Danae> oh yes I have been
1620: [23:25:35] <zippy__> irogue_: that means your either a) Awesome. b) your the last person left.
1621: [23:25:38] <Danae> But it is supposed to work?
1622: [23:25:44] <antmas> zippy__: irogue_ lol
1623: [23:26:12] <irogue_> hint: it's b)
1624: [23:26:14] <irogue_> :P
1625: [23:26:23] * novaweb quit (Ping timeout: 264 seconds)
1626: [23:26:24] * novaweb_ is now known as novaweb
1627: [23:26:31] <Danae> "For a more sophisticated customization, for example configuring the form fields for the search form, override DataObject->getCustomSearchContext() on your model class."
1628: [23:26:39] <Danae> well the docs say it should work
1629: [23:27:02] <Danae> http://doc.silverstripe.org/framework/en/reference/modeladmin#search-fields
1630: [23:27:20] <harold__> guys I have a doContactForm function where I save the data to my db
1631: [23:27:35] <harold__> but I also want to email the details
1632: [23:27:43] <harold__> shalli use the php wrapper class
1633: [23:27:52] <harold__> or is there something in built in SS that I can use
1634: [23:27:59] <harold__> I want to use smtp
1635: [23:28:07] <Stomach> harold__, there is an Email class
1636: [23:29:09] <antmas> zippy__: do you know a Kate or Ryan Griffith by any chance?
1637: [23:29:16] <irogue_> harold__: http://doc.silverstripe.org/framework/en/topics/email
1638: [23:29:21] <Ryan-Toast> If I require silverstripe-installer in my composer config will it install silverstripe for me?
1639: [23:29:28] <zippy__> antmas: I know a Simon Griffith
1640: [23:29:34] <irogue_> Ryan-Toast: yes, ss-installer has framework and cms as requirements
1641: [23:29:41] <Ryan-Toast> Cooool
1642: [23:30:02] <antmas> zippy__: hmmm
1643: [23:30:07] <simon_w|air> Danae, ModelAdmin only uses getDefaultSearchContext()
1644: [23:30:33] <simon_w|air> Ryan-Toast, though it may put all the installer files in a weird place
1645: [23:30:36] <Danae> simon_w|air: :O
1646: [23:30:41] <Ryan-Toast> simon_w|air: orly?
1647: [23:30:47] <Danae> simon_w|air: TY, I can continue from there
1648: [23:30:48] <Ryan-Toast> I’ll give it a go and see what it does.
1649: [23:30:50] <simon_w|air> Ryan-Toast, like in vendor/
1650: [23:31:04] <Danae> if it set as a silverstripe-module it will chuck it in the root
1651: [23:31:10] <Danae> but installer is not a module
1652: [23:31:17] <Ryan-Toast> simon_w|air: is there a way around that?
1653: [23:31:32] <Danae> I'm going to find out
1654: [23:31:57] <simon_w|air> Ryan-Toast, why do you want installer in your composer.json? You usually use it as a base, then change pretty much everything
1655: [23:32:20] <simon_w|air> Danae, setting it as a silverstripe-module will stick it in installer/ instead of vendor/installer/
1656: [23:32:22] <Ryan-Toast> simon_w|air: so I can just do a create boilerplate call and it will install ss, sortableGridfiel, and bp
1657: [23:32:44] <Danae> lols
1658: [23:32:49] <Danae> omg
1659: [23:32:51] <Danae> yay
1660: [23:32:57] <Danae> public function getDefaultSearchContext() { return $this->getCustomSearchContext(); }
1661: [23:33:01] <simon_w|air> Ryan-Toast, your boilerplate will need to include the installer files then. Using composer for it won't work.
1662: [23:33:02] <Danae> in the dataobject
1663: [23:33:10] <Ryan-Toast> simon_w|air: sadface.jpg
1664: [23:33:48] <Colin[pi]> sad trombone
1665: [23:33:56] <Colin[pi]> waah waah waah waaaaaah
1666: [23:34:43] <Ryan-Toast> I need to figure out how to get composer to install my files into avarious places.
1667: [23:34:48] <Ryan-Toast> various**
1668: [23:35:23] <Colin[pi]> when I plug in my generic iphone cable it says "this accessory may not be supported". Oh apple.
1669: [23:35:40] <Danae> Ryan-Toast: hm, maybe read up on this: https://getcomposer.org/doc/04-schema.md#type
1670: [23:36:03] <Danae> it mentions SilverStripe installer's handling of silverstripe-module
1671: [23:36:26] <Ryan-Toast> Danae: Hmm, yeah I want these files to merge with the root files: https://github.com/Rhym/ss_boilerplate
1672: [23:36:34] <irogue_> Colin[pi]: but works anyway
1673: [23:36:46] <Colin[pi]> irogue_: yep it just annoys me
1674: [23:36:49] <irogue_> Colin[pi]: so really, they can detect non-legit cables, but don't block them. that's pretty classy
1675: [23:36:52] <harold__> Stomach: irogue_ Thanks... the class doesn't have smtp optinos though am I right?
1676: [23:37:04] <Colin[pi]> irogue_: yeah I guess they could if they wanted.. :o
1677: [23:37:13] <simon_w|air> Hmm, am hungry but don't want to get out of bed
1678: [23:37:24] <Danae> Ryan-Toast: Ooh, sounds cool
1679: [23:37:26] <irogue_> Colin[pi]: Apple got sued for a fire caused by a non-legit charger. That's why they put the warning in
1680: [23:37:29] <Stomach> harold__, the Email is sent through the Mailer class
1681: [23:37:54] <Colin[pi]> irogue_: oic, someone DIED from a non-legit charger here a few weeks back
1682: [23:37:55] <Danae> harold__: you running local like xampp?
1683: [23:37:57] <simon_w|air> harold__, the Mailer class just uses mail(). You can write your own subclass, or there might be one already, for a different process
1684: [23:38:17] <harold__> WAMP yes
1685: [23:38:43] <simon_w|air> harold__, http://addons.silverstripe.org/add-ons?search=mailer has a few
1686: [23:38:46] <harold__> on my non-SS sites I use phpmailer class
1687: [23:39:07] <simon_w|air> harold__, Though, if your on Windows, the php.ini settings let you specify which SMTP server the mail() call uses
1688: [23:39:22] <Colin[pi]> simon_w|air: there is a mod that replaces the mailer/mail() with PHPMailer I think
1689: [23:39:32] <Danae> Yah my local setup is xampp + mercury + thunderbird
1690: [23:39:41] <Colin[pi]> https://github.com/xeraa/silverstripe-smtp
1691: [23:39:43] <Colin[pi]> ^ this one
1692: [23:39:48] <harold__> i'd rather by pass phmail and route the mail directly through smtp
1693: [23:40:09] <harold__> there looks like a nice simple class on the link Colin[pi]
1694: [23:40:24] <Colin[pi]> it is a little old
1695: [23:40:40] <Colin[pi]> says 2.3+ but not sure what's going to happen if you drop it into 3.x
1696: [23:40:47] <Stomach> harold__, I just use http://www.toolheap.com/test-mail-server-tool/
1697: [23:40:55] <Stomach> for local dev testing of emails
1698: [23:41:18] <simon_w|air> harold__, http://addons.silverstripe.org/add-ons/mediadevils/silverstripe-smtp
1699: [23:41:54] <Colin[pi]> simon_w|air: is that the same mod?
1700: [23:41:55] <Danae> Stomach: That looks handy
1701: [23:42:00] <Colin[pi]> a little bit newer?
1702: [23:42:07] <simon_w|air> Colin[pi], probably a fork
1703: [23:42:15] <simon_w|air> With composer and 3.x support
1704: [23:42:19] <Stomach> Danae, it is indeed - no configuration either, makes life fun times
1705: [23:42:20] <Colin[pi]> mm cool
1706: [23:42:45] <simon_w|air> Stomach, I just use SS_SEND_ALL_EMAILS_TO
1707: [23:42:51] <harold__> thanks guys plenty of options there
1708: [23:42:53] <Danae> saves starting up thunderbird and mercury
1709: [23:43:28] <Colin[pi]> harold__: mm I had to use that class last week since a contact form using mail() was borked sending to certain addresses (rejected)
1710: [23:43:44] <Colin[pi]> harold__: switched to using an SMTP server and all is happen again
1711: [23:43:45] <Stomach> simon_w|air, yeah so do I, but it means that I dont have to set up a full smtp server locally on every installation we do
1712: [23:44:08] <simon_w|air> Stomach, that's what you get for running Windows :p
1713: [23:44:18] <Stomach> simon_w|air, not my choice :(
1714: [23:44:53] <Stomach> ive got a horrible mishmash cygwin environment going at the moment, and then vagrant installs all over the place
1715: [23:44:55] <Stomach> :S
1716: [23:45:14] <Colin[pi]> cygwin, eeuw
1717: [23:45:38] <harold__> Colin[pi]: the mail php function is pretty much useless in my opinion
1718: [23:45:43] <Blacklite> yes
1719: [23:45:56] <Colin[pi]> harold__: yeah and becoming more useless over time
1720: [23:45:59] <irogue_> vagrant <3
1721: [23:46:05] <harold__> spam filters take care of it the majority of times
1722: [23:46:16] <simon_w|air> mail() talks directly to sendmail. What more do you need?
1723: [23:46:20] <harold__> anyway, that's it for me tongiht
1724: [23:46:25] <harold__> thank you for your help
1725: [23:46:33] <harold__> ciao!
1726: [23:46:34] <Colin[pi]> simon_w|air: other mail servers no likey, unless you tick all the right boxes
1727: [23:46:39] <Colin[pi]> cya harold__
1728: [23:46:46] <simon_w|air> Colin[pi], that's the same with any setup
1729: [23:46:57] <Colin[pi]> simon_w|air: mm but I find it to be more touchy/problematic
1730: [23:47:13] <Colin[pi]> just last week I've had two separate problems mainly due to SS and mail()
1731: [23:47:31] <simon_w|air> Colin[pi], probably because you have to actually set things up rather than relying on someone else to do it for you
1732: [23:47:39] <simon_w|air> (on the server side, not in PHP)
1733: [23:47:48] <Colin[pi]> simon_w|air: oh I blame myself totally :D
1734: [23:48:01] <Colin[pi]> I'm no neckbeard ;(
1735: [23:48:04] <Colin[pi]> not yet!
1736: [23:48:06] <simon_w|air> We've had no problems with mail() :)
1737: [23:48:16] <Colin[pi]> simon_w|air BE MY NECKBEARD <3
1738: [23:48:31] <simon_w|air> And there's also a handy flag you can pass to sendmail to make forwarding emails so much easier
1739: [23:49:12] <zippy__> http://mailcatcher.me/ is handy
1740: [23:51:37] <Colin[pi]> simon_w|air: what refreshments would you like for the "buffet car"?
1741: [23:52:14] <simon_w|air> Colin[pi], no idea :p
1742: [23:52:20] <simon_w|air> I can provide some tim tams though
1743: [23:52:24] <Colin[pi]> :o
1744: [23:52:25] <Colin[pi]> tim tams
1745: [23:52:26] <antmas> caviar
1746: [23:52:31] <Colin[pi]> luxury!
1747: [23:52:52] <Colin[pi]> antmas: HORSE DOOVERS
1748: [23:53:20] <Blacklite> use an external SMTP server instead of mail() and your overally quality of life will improve significantly
1749: [23:53:32] <Colin[pi]> Blacklite: yes I found that out ;)
1750: [23:54:09] <simon_w|air> Blacklite, an external SMTP server would cause us a lot more issues
1751: [23:54:42] <Blacklite> is it a neckbeard-related problem?
1752: [23:54:57] <Colin[pi]> simon_w|air is his own neckbeard
1753: [23:54:58] <Colin[pi]> :D
1754: [23:56:19] <antmas> :O
1755: [23:56:20] <antmas> http://sploid.gizmodo.com/this-is-not-someone-climbing-the-wall-in-game-of-throne-1606234203/all
1756: [23:56:27] <antmas> warning, mild heart attacks may ensue
1757: [23:56:35] * antmas takes no responsibility
1758: [23:56:37] <antmas> :D
1759: [23:57:15] <irogue_> I have a massive neckbeard
1760: [23:57:33] <Colin[pi]> antmas: NOPE NOPE NOPE
1761: [23:57:43] <ss23> Poser. You don't have the *spirit* of a massive neckbeard.
1762: [23:57:56] <simon_w|air> Blacklite, for one, we use the -G flag a lot
1763: [23:58:13] <Colin[pi]> just by growing a neckbeard does not mean one is embodied by the essence of neckbeard
1764: [23:58:56] <antmas> you need to oil your neckbeard with the many essential oils of fast food
1765: [23:59:04] <antmas> comb the coffee through it
1766: [23:59:19] <Colin[pi]> antmas: dont forget to moisturise with gravy
1767: [23:59:38] <antmas> rub it all over your windows/linux server boxes to gather static to 'enhance' your neckbeard
1768: [23:59:47] <Colin[pi]> liquid cooled with gravy!

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