#silverstripe IRC Log

IRC log for 28 November 2014

All timestamps are in UTC.

1: [00:03:18] * irogue_ has joined #silverstripe
2: [00:04:33] <irogue_> afternoon chaps!
3: [00:04:58] <Kingy> JeremyRoundill: wtf happening
4: [00:07:11] <Kingy> wow 19-15 OT
5: [00:07:12] <Kingy> shit
6: [00:07:24] <Hailwood> novaweb: Apologies for the late reply - I'm more meaning for importing the csv - here is the model I am importing - https://gist.github.com/hailwood/86714521b06df80576f7 can someone give me an example of what a row might look like?
7: [00:11:46] <JeremyRoundill> Kingy: Who went into OT?
8: [00:12:11] <Kingy> Na'Vi and Flipsid3
9: [00:13:22] <Kingy> first quarter final is Hellraisers vs NiP
10: [00:13:31] <Kingy> should almost be final
11: [00:14:07] <JeremyRoundill> I'm wondering if LDLC has some mean strats for Mirage.
12: [00:14:23] <JeremyRoundill> Because they banned it, but Thorin was saying they're really good at it.
13: [00:16:13] <Kingy> interesting
14: [00:33:25] * Keith_ quit (Quit: Page closed)
15: [00:41:24] <Hailwood> How do you remove the import functionality from a modelAdmin?
16: [00:43:03] * ajshort has joined #silverstripe
17: [00:43:44] <JeremyRoundill> Override updateImportForm?
18: [00:44:23] <JeremyRoundill> Oh
19: [00:44:25] <JeremyRoundill> Wait up.
20: [00:44:38] <JeremyRoundill> public $showImportForm = false;
21: [00:44:39] <Hailwood> JeremyRoundill: I got it - just added public $showImportForm = false; to the model admin
22: [00:44:45] <Hailwood> heh!
23: [00:45:09] <JeremyRoundill> I'm still taking credit for that one!
24: [00:45:23] <Hailwood> Yeah, the millisecond says you got it ;)
25: [00:45:52] <JeremyRoundill> :D
26: [00:49:40] <Ryan-Toast> Jekyll is my favorite thing ever.
27: [00:51:05] * micmania1 quit (Quit: micmania1)
28: [00:53:56] <spronk2> o?
29: [00:53:58] <spronk2> y?
30: [00:54:44] <spronk2> i can think of many many many things i like more than jekyll
31: [00:54:49] <spronk2> like... curry.
32: [00:56:05] <spronk2> and cars.
33: [00:56:57] <JeremyRoundill> Curry is pretty good.
34: [00:57:05] <JeremyRoundill> I love me a good paneer.
35: [00:57:07] <JeremyRoundill> Palak paneer
36: [00:57:10] <JeremyRoundill> Shahi paneer.
37: [00:57:14] <JeremyRoundill> Pretty much any paneer.
38: [00:57:26] <spronk2> is paneeer the chhese one?
39: [00:57:31] <JeremyRoundill> Yarp.
40: [00:57:33] <spronk2> mm
41: [00:57:34] <spronk2> nom
42: [00:57:41] * micmania1 has joined #silverstripe
43: [00:57:42] <JeremyRoundill> I'm vegemolarian.
44: [00:57:53] <spronk2> crazy fucker
45: [00:57:54] <spronk2> :P
46: [00:57:59] <JeremyRoundill> So, paneer is my chicken/beef/life
47: [00:58:04] * spronk2 is eating a japanese katsu cuurry atm
48: [00:58:15] <JeremyRoundill> Ooooh
49: [00:58:26] <JeremyRoundill> The donburi place near work does a nice Japanese curry.
50: [00:58:42] <spronk2> i couldnt decide between indian or jap
51: [00:58:44] <spronk2> i knew i wanted curry.
52: [00:59:05] <spronk2> i looked at the indian menu and couldn't decide which i would get anwyay
53: [00:59:05] <spronk2> so
54: [00:59:07] <spronk2> japanese it was!
55: [00:59:11] <JeremyRoundill> :)
56: [00:59:39] <JeremyRoundill> I should compare English stew + rice with curry.
57: [00:59:49] <JeremyRoundill> Although vege stew always seems to be a bit average.
58: [00:59:59] <spronk2> yeahh
59: [01:00:12] <spronk2> stew really needs a meat to give it that boost
60: [01:00:14] <spronk2> you can do like
61: [01:00:15] <spronk2> bean curry
62: [01:00:18] <spronk2> or
63: [01:00:19] <spronk2> bean stew
64: [01:00:28] <JeremyRoundill> Devilled sausages though :O
65: [01:00:32] <JeremyRoundill> Why am I even a vegetarian?
66: [01:00:37] <spronk2> exactly
67: [01:01:21] <spronk2> are you a meat is murder vego? or a meat is for fatties vego? :P
68: [01:01:35] <JeremyRoundill> Or a fuck the agriculture industry vego.
69: [01:01:49] <spronk2> ah
70: [01:01:50] <spronk2> indeed
71: [01:02:07] <JeremyRoundill> It's less land intensive for me to eat lower down the food chain.
72: [01:02:14] <JeremyRoundill> #planktonlife
73: [01:02:20] <spronk2> i do understand the sentiment
74: [01:02:29] <spronk2> BUT I JUST LOVE MEAT SO MUCH
75: [01:02:33] <JeremyRoundill> SAME
76: [01:02:36] <spronk2> ss23 better not take that out of context.
77: [01:02:39] <JeremyRoundill> Oh my god.
78: [01:02:47] <JeremyRoundill> A nice steak right now
79: [01:02:49] <JeremyRoundill> Jeez
80: [01:03:01] <JeremyRoundill> This is what they don't tell you about being a vegetarian.
81: [01:03:22] <spronk2> what, that the only foods we ever crave are meat and chocolate?
82: [01:03:47] <spronk2> tbh a bit disappointed with this curry
83: [01:03:50] * ajshort quit (Quit: Leaving)
84: [01:03:58] <spronk2> never had a curry from sushitime before... their don meals are so good
85: [01:04:01] <spronk2> but their curries are a bit weird
86: [01:04:04] <Hailwood> Where is the jstree theme set for silverstripe? for some reason it's trying to load a theme that doesn't exist....
87: [01:04:13] <spronk2> big chunks of potato.. like.. quarter of a potato / half a small potato chunks
88: [01:04:28] <spronk2> and they put them with cabbage slaw and fresh carrot
89: [01:04:28] <JeremyRoundill> Yeah
90: [01:04:31] <spronk2> bit strange..
91: [01:04:35] <JeremyRoundill> That's what the one here is like.
92: [01:04:38] <JeremyRoundill> I do like it.
93: [01:04:42] <JeremyRoundill> Depends on the day though.
94: [01:04:43] * spronk2 prefers his curries with ust curry, meat, and rice
95: [01:04:49] <JeremyRoundill> Because their tofu teriyaki is amazing.
96: [01:04:57] <JeremyRoundill> :D
97: [01:05:33] <spronk2> nice curry flavour though
98: [01:05:41] * irogue_ prefers his curries with just curry and meat
99: [01:05:57] <spronk2> but
100: [01:05:59] <spronk2> got rice?
101: [01:07:50] <spronk2> now all i need is an absurd 1L coffee flavoured beverage to wash it down.
102: [01:09:15] <Kingy> garlic naan
103: [01:09:32] <spronk2> oohhhhhhhhhhh
104: [01:09:34] <spronk2> i should have got indian
105: [01:09:42] <spronk2> lamb saag with a garlic naan
106: [01:09:44] * spronk2 salivates
107: [01:10:00] <Hailwood> Note to self - don't use "apple" as a test directory for your redirects. it breaks the ss tree haha
108: [01:10:17] <spronk2> ..does it?
109: [01:11:00] * Colin[pi] has joined #silverstripe
110: [01:11:06] <Colin[pi]> afternoon all!
111: [01:11:12] <spronk2> HELLO COLIN
112: [01:11:17] <Snowman23> 14:02:30 < spronk2> BUT I JUST LOVE MEAT SO MUCH
113: [01:11:18] <Hailwood> Yep, because the theme is "apple" so suddenly it was trying to load the "orange" theme rather than apple ha!
114: [01:11:19] <Snowman23> super gay
115: [01:11:22] <spronk2> hahaaa
116: [01:11:42] <Colin[pi]> spronk2: hai2u spronky
117: [01:12:00] * spronk2 is so comfortable with his sexuality, that you could print this on a teeshirt and i would wear it.
118: [01:12:08] <spronk2> Colin[pi] HOW'S YOUR BROTHER?
119: [01:12:49] <Colin[pi]> spronk2: something about eating? is that what I was supposed to say?
120: [01:12:57] <spronk2> damnit Colin[pi]
121: [01:13:01] <Colin[pi]> ^.^
122: [01:13:02] <spronk2> I thought we'd gone over this :(
123: [01:13:28] <Colin[pi]> Kingy: I watched that first match
124: [01:13:36] <spronk2> also damnit
125: [01:13:38] <spronk2> refactored a bunch of shit
126: [01:13:47] <spronk2> now all the tests have broken and i have no idea why :9
127: [01:13:58] <Kingy> Colin[pi]: fnatic smashing whoever it was/
128: [01:13:59] <Kingy> ?
129: [01:14:00] <Colin[pi]> " refactored a bunch of shit
130: [01:14:05] <Colin[pi]> that'd be your reason :P
131: [01:14:15] <Colin[pi]> Kingy: v bravado I think yeah
132: [01:14:28] <Kingy> got exciting earlier apparently
133: [01:14:29] <spronk2> ahhh
134: [01:14:32] <Colin[pi]> flusha is just *insane*
135: [01:14:33] <spronk2> Promise is not defined.
136: [01:14:45] <Colin[pi]> like.. if he's not cheating, he's incredible lol
137: [01:14:46] <Kingy> fnatic vs hellraisers
138: [01:14:49] <irogue_> [14:11:17] <@Snowman23> 14:02:30 < spronk2> BUT I JUST LOVE MEAT SO MUCH
139: [01:14:52] <irogue_> me too
140: [01:15:01] <Colin[pi]> Kingy: yeah I want to see a replay of that one, supposed to be real good
141: [01:15:12] <spronk2> YUS ALL THE TESTS WORK AGAIN
142: [01:15:18] <spronk2> 12 passing (253ms)
143: [01:15:19] <spronk2> WOOHOOO
144: [01:15:32] <spronk2> slow tests :(
145: [01:15:37] <spronk2> stupid superagent
146: [01:16:14] <JeremyRoundill> fnatic vs hellraisers was crazy
147: [01:16:55] <Colin[pi]> JeremyRoundill: mm must watch
148: [01:31:49] * Tanger has joined #silverstripe
149: [01:31:59] * folibis has joined #silverstripe
150: [01:32:06] <folibis> Hello all!
151: [01:32:28] * willr has joined #silverstripe
152: [01:34:43] <spronk2> hello folibis
153: [01:35:43] <folibis> I've already tried to solve my problem here, but anyway ... fresh SS installation. all I did is just insert 1 word with Cyrillic characters and oops - I see several ?? instead of expecter output
154: [01:36:20] <novaweb> folibis check your encoding settings on both your database and php
155: [01:36:37] <folibis> default "simple" template is UTF-8, my DB is UTF-8
156: [01:37:48] <folibis> part of server response - Content-Type text/html; charset=utf-8
157: [01:38:42] <folibis> server is Debian7 in UTF-8
158: [01:38:52] <folibis> so what I do wrong?
159: [01:40:15] <folibis> if I put output from DB - page content etc it looks good, only template string get to error
160: [01:43:25] <simon_w|work> folibis, make sure you saved your changes as UTF8
161: [01:44:15] <folibis> yes i've double checked it. all the files in UTF-8
162: [01:44:50] <simon_w|work> I wonder if it's because Hamish's code doesn't handle UTF8
163: [01:45:00] <spronk2> probably.
164: [01:45:06] <spronk2> which part of hamish's code?
165: [01:45:07] <spronk2> also
166: [01:45:16] <spronk2> WHERE DO I GET COFFEE NEAR MONTREAL STREET
167: [01:45:21] <folibis> that what i see - http://ruslan.pw/ I've removed all the structure and place russian word "тест" (test)
168: [01:46:26] * glenn-bautista quit (Quit: Leaving.)
169: [01:47:21] <folibis> I guess it's some bug in SS engine ... may be some change of last 6 mounth ... I've just updated my site and get this error
170: [01:50:00] <folibis> is there bugreport page for SS?
171: [01:50:12] <folibis> can't find it
172: [01:51:56] <simon_w|work> https://github.com/silverstripe/silverstripe-framework/issues/
173: [01:53:22] <folibis> As I can suppose from me PHP experience this shit takes place whan you play with UTF-8 strings as ASCII
174: [01:53:48] <folibis> oh, githib, thanks @simon_w|work
175: [01:55:15] <spronk2> ughh
176: [01:55:35] <Olliepop> Hey does anybody know how I would grant roles (i.e "Forum Manager") permission to add categories & forums with the Forum Module?
177: [01:55:38] <spronk2> bosses that try to delegate everything
178: [01:56:23] <guzzlefry> Did you ask if you were working in a swamp?
179: [01:56:39] <guzzlefry> because there sure are a lot of... deleGATORS?
180: [01:59:42] * Colin[pi] slaps guzzlefry
181: [02:00:05] <guzzlefry> :(
182: [02:00:10] <Colin[pi]> ^.^
183: [02:01:00] <spronk2> ha HA!
184: [02:02:53] <novaweb> Olliepop - providePermissions
185: [02:03:22] <novaweb> if it's not already built in, you'll need to implement that function where necessary.
186: [02:04:29] * Stomach quit (Ping timeout: 265 seconds)
187: [02:09:46] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
188: [02:25:06] * elgrodo quit (Read error: Connection reset by peer)
189: [02:26:57] * folibis quit (Quit: Page closed)
190: [02:40:50] * novaweb quit (Quit: Leaving)
191: [02:40:51] * Jakx has joined #silverstripe
192: [02:42:17] <Colin[pi]> ummmmm.... https://www.mandrillapp.com/
193: [02:42:31] <Colin[pi]> anyone else seeing https bad cert prob?
194: [02:42:52] <Jakx> Tep
195: [02:43:23] <Jakx> Yep* Firefox 33.1
196: [02:43:29] <Colin[pi]> whoops
197: [02:44:10] <Tanger> I see one for the www version but not for https://mandrillapp.com
198: [02:45:06] <Jakx> I've got 3 platforms, local, dev, and live. dev and live are on the same server. With the same database in all 3, I get an error on the dev site, that doesn't occur on either of the others.
199: [02:45:10] <Jakx> [Warning] Unknown class passed as parameter
200: [02:45:30] <Jakx> Has anyone encountered this before?
201: [02:46:15] <Tanger> Jakx: Perhaps there's a section of code only included in dev. ie if(Director::isDev) or something
202: [02:46:48] <simon_w|air> Colin[pi], cert needs an AltName
203: [02:46:57] <simon_w|air> Jakx, well, warnings are only shown in dev
204: [02:49:31] * Sticks has joined #silverstripe
205: [02:52:32] <Sticks> Happy Friday all! Is it expected behaviour for an object to be deleted from the database when it's remove()'d from a DataObject::get() ArrayList? I'd like it just be removed from that list.
206: [02:55:32] <simon_w|work> Sticks, DataObject::get() doesn't return an ArrayList
207: [02:55:49] <simon_w|work> If it was an ArrayList, it'll just be removed from the list
208: [02:56:20] <Sticks> ohhhhh...
209: [02:57:06] <Sticks> I'll stop deleting all my Members then.
210: [02:58:14] <pippy> it's friday, friday godda get down on friday
211: [02:58:27] <irogue_> yeah, doing remove() on a DataList will actually remove shit :P
212: [02:59:15] <irogue_> you could do ->toArray() and then remove things from that array
213: [02:59:45] <irogue_> but a better filter would probably be the correct solution
214: [03:01:35] <simon_w|work> Free pide for dinner!
215: [03:01:42] <Sticks> Looks like subtract() would work. A better filter would probably be better. I want all Members that are not in a particular group. Right now I'm using Member::get() and then removing if inGroup()
216: [03:02:50] <simon_w|work> Sticks, Member::get()->exclude('Groups.Name', $groupName)
217: [03:04:31] <Sticks> Thanks simon_w|work, I was looking at exclude() but couldn't work out that Groups.Name bit.
218: [03:04:52] * Stomach has joined #silverstripe
219: [03:04:58] <simon_w|work> Colin[pi], NO FREE PIDE FOR YOU
220: [03:06:10] <Colin[pi]> simon_w|air: :(
221: [03:06:15] <Colin[pi]> oops simon_w|work
222: [03:06:26] <simon_w|work> Colin[pi], also, no crashing the party, k? :p
223: [03:06:30] <Colin[pi]> the number of simon_w users, is too damn high
224: [03:06:39] <simon_w|work> There's three of me! :D
225: [03:06:43] <Colin[pi]> simon_w|work: what party?
226: [03:06:47] <simon_w|air> Though only two can respond
227: [03:06:49] * Colin[pi] has nfi what is going on
228: [03:06:55] <simon_w|air> Colin[pi], the free pide party!
229: [03:07:03] <Colin[pi]> ¬_¬
230: [03:08:31] <simon_w|air> Also, the Turkish place in Belconnen Westfield is cheaper and just as good
231: [03:08:36] <simon_w|air> Without all the crazy waitstaff too
232: [03:11:12] <Colin[pi]> simon_w|air: my fav is the pide house at jamison
233: [03:13:27] <simon_w|air> Colin[pi], too hard to get to
234: [03:14:26] <simon_w|work> Also, http://www.chiark.greenend.org.uk/~sgtatham/puzzles/js/loopy.html is such a time sink
235: [03:17:43] * pippy quit (Ping timeout: 246 seconds)
236: [03:18:37] <Colin[pi]> simon_w|work: isn't he the putty guy?
237: [03:18:53] <simon_w|air> Colin[pi], yup
238: [03:19:06] <Colin[pi]> thought so
239: [03:19:19] <Snowman23> simon_w|air: this is really hard
240: [03:19:46] <simon_w|air> Snowman23, I can get the 7x7 hards sometimes. Tend to do 10x10 normal
241: [03:21:32] <Snowman23> I'm doing easiest
242: [03:21:33] <Snowman23> and failing
243: [03:22:12] <Snowman23> Probably just need a good algorithm in my mind for it
244: [03:22:15] <Snowman23> I got minesweeper down
245: [03:22:25] * wracu_ quit (Quit: Leaving)
246: [03:22:28] * spekulatius quit (Quit: Leaving)
247: [03:22:29] <Colin[pi]> Snowman23: write a program to solve it
248: [03:22:31] <Colin[pi]> :D
249: [03:22:41] <Snowman23> lol
250: [03:22:44] <Snowman23> I don't know how I'd approach it
251: [03:22:47] <Colin[pi]> programmers playing games lol
252: [03:23:10] <irogue_> mmm
253: [03:23:14] <irogue_> vodka & coke o'clock
254: [03:23:29] <simon_w|air> irogue_, crash the TV3 party
255: [03:23:45] <irogue_> I totally could, a mate is I.T. there
256: [03:23:48] * willr quit (Quit: willr)
257: [03:23:53] * adrexia quit (Quit: Ex-Chat)
258: [03:23:53] <irogue_> but I'm off to ImpactNPO
259: [03:24:12] <irogue_> (Charity-IT but specifically for web)
260: [03:26:07] <simon_w|air> And I'm off to the free pide party!
261: [03:26:15] <simon_w|air> (Also know as brother-in-law's 18th)
262: [03:30:51] * Hailwood quit (Remote host closed the connection)
263: [03:34:31] * Olliepop quit (Ping timeout: 246 seconds)
264: [03:48:28] * Kingy is now known as Kingy[a]
265: [03:51:35] <Stomach> that loopy game hurts my brain
266: [03:59:48] * Ryan-Toast has left #silverstripe
267: [04:06:23] * helenclarko quit (Quit: Page closed)
268: [04:20:48] <Sticks> Crap. Using Member::get()->exclude('Groups.Title', $groupName) only works when they're only in one group.
269: [04:21:25] <Sticks> I better put that in as a comment so I don't pull my hair out looking at it later.
270: [04:25:48] <simon_w|work> Sticks, oh yeah, that'd happen. You'll want to do Member::get()->subtract(Member::get()->filter('Groups.Title', $groupName)) if you want to always remove them
271: [04:27:17] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
272: [04:36:29] * cloph_away has joined #silverstripe
273: [04:36:58] * cloph quit (Ping timeout: 258 seconds)
274: [04:41:43] * CerV quit (Ping timeout: 246 seconds)
275: [04:42:42] * jedateach quit (Quit: jedateach)
276: [04:43:17] * Stomach quit (Quit: zzz)
277: [04:48:40] <Sticks> That looks to be working perfectly. Thanks simon_w|work!
278: [04:56:22] * micmania1 quit (Quit: micmania1)
279: [05:12:16] * spronk2 quit (Quit: I may need a longer sleep timer...)
280: [05:13:27] * micmania1 has joined #silverstripe
281: [05:22:18] * Stomach has joined #silverstripe
282: [05:38:18] * Colin[pi] quit (Ping timeout: 264 seconds)
283: [06:03:59] * r_hector has joined #silverstripe
284: [06:04:10] * MichalKleiner is now known as MK_away
285: [06:22:50] * jordanmk quit ()
286: [06:31:27] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
287: [06:40:27] * Sticks quit (Quit: Leaving)
288: [06:43:31] * simon_w|work quit (Quit: Ping timeout: your mum)
289: [06:43:50] * simon_w|air quit (Quit: Ping timeout: your mum)
290: [06:44:46] * Stomach quit (Quit: zzz)
291: [06:48:52] * clairef quit (Quit: Leaving.)
292: [06:53:47] * Frans_Amsterdam has joined #silverstripe
293: [06:56:49] * veb has joined #silverstripe
294: [06:57:36] * Hailwood has joined #silverstripe
295: [06:59:24] <Frans_Amsterdam> Goodmorning, at least is is here. I like to kick in an open door perhaps, but I need confirmation. The validation of the confirmedPasswordField has to be done by myself when submitting the form in the called action?
296: [07:09:27] * gordon has joined #silverstripe
297: [07:09:51] * gordon is now known as Guest43046
298: [07:12:11] * micmania1 quit (Quit: micmania1)
299: [07:28:28] * wmk has joined #silverstripe
300: [07:34:12] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
301: [07:37:37] * veb has joined #silverstripe
302: [07:38:01] * jeroenem has joined #silverstripe
303: [07:38:34] * Eliseth has joined #silverstripe
304: [07:47:59] * spronk2 has joined #silverstripe
305: [07:53:27] * Guest43046 is now known as elgrodo
306: [08:02:03] * Stomach has joined #silverstripe
307: [08:03:24] * CodeTrap has joined #silverstripe
308: [08:06:44] * arnhoe has joined #silverstripe
309: [08:12:43] * CodeTrap quit (Ping timeout: 264 seconds)
310: [08:12:50] * veb quit (Quit: Textual IRC Client: www.textualapp.com)
311: [08:39:00] * Hailwood quit (Quit: Leaving)
312: [08:41:31] * Hailwood has joined #silverstripe
313: [09:02:15] * kinglozzer has joined #silverstripe
314: [09:05:39] <Tanger> Frans_Amsterdam: I don't think that field validates unless you specifically say it has to
315: [09:06:34] * Tanger quit (Quit: Tanger)
316: [09:10:57] * Pyenguink has joined #silverstripe
317: [09:19:08] * Stomach quit (Quit: zzz)
318: [09:23:42] <Pyenguink> https://twitter.com/silverstripe/status/538157468916805632
319: [09:23:45] <Pyenguink> No.
320: [09:23:58] <Pyenguink> I think they should teach about the merits of the humble comma.
321: [09:25:33] * Stomach has joined #silverstripe
322: [09:27:37] <Snowman23> Pyenguink: I did snarky tweet
323: [09:27:38] <Snowman23> :D
324: [09:37:33] <Pyenguink> yeah I saw you stole my thunder.
325: [09:37:42] <Pyenguink> Good work xD
326: [09:38:01] <Pyenguink> and also no, I disagree fundamentally on teaching code.
327: [09:38:11] <Snowman23> Hmm
328: [09:38:21] <Snowman23> I think it's nice as an option, but I don't really think we should teach it
329: [09:38:23] <Pyenguink> teaching 'code' is like getting a degree in 'hacking'.
330: [09:38:35] <Pyenguink> They should USE code to teach LOGIC and MATH
331: [09:38:45] <Snowman23> However, at the end of the day, I'm a fan of evidence, and I aint seen no evidence one way or the other
332: [09:38:50] <Pyenguink> because that's what it is really about.
333: [09:39:01] <Pyenguink> indeed Snowman23
334: [09:39:03] <Snowman23> Though
335: [09:39:14] <Snowman23> There is research showing that certain people "get" it, and certain people just don't
336: [09:39:19] <Pyenguink> oh yeah
337: [09:39:20] <Pyenguink> totally.
338: [09:39:23] <Snowman23> So...
339: [09:39:25] <Snowman23> *shrug*
340: [09:39:38] <Pyenguink> and then there's the people who just don't give a shit. They're going going to 'get it' either.
341: [09:39:57] <Snowman23> teaching a subject where research shows that 80% of people who do it are going to fail regardless of how much effort they put in... seems a bti shit
342: [09:40:01] <Snowman23> That being said, seems like a lot of subjects are like that
343: [09:40:03] <Pyenguink> the ever over used term 'people person'
344: [09:40:33] <Pyenguink> Snowman23: yeah pretty much. Hence I don't think it should be taught as 'code'.
345: [09:40:46] <Pyenguink> Code should be a tool to teach other subjects.
346: [09:41:22] <Pyenguink> because that's waht code really is, a TOOL.
347: [09:41:40] * mahfuz quit (Ping timeout: 246 seconds)
348: [09:41:53] <Snowman23> heh
349: [09:41:56] <Snowman23> They should teach you then
350: [09:41:58] <Snowman23> CAUSE YOU'RE A TOOL
351: [09:42:00] <Snowman23> Ha,. Ha. Ha.
352: [09:43:12] <Pyenguink> yup
353: [09:43:24] <Pyenguink> role model, that's me.
354: [09:50:35] <wmk> teach algorytms
355: [09:50:48] <wmk> without computer and then with simple programs
356: [09:51:13] <wmk> there are also some programming "languages" for kids, where you can click something together with no need of typing
357: [09:51:35] <kinglozzer> Yeah we did that at school ^^
358: [09:51:49] * wmk started with basic
359: [09:51:52] <kinglozzer> Like "programming" a little robot to drive 1 meter, turn 90 degrees etc etc
360: [09:52:04] <wmk> kinglozzer, yeah, that sounds like fun
361: [09:52:14] <wmk> there is also this lego robot you can build and program
362: [09:53:47] <wmk> pascal was fun, i hated the typing system, felt easy when i started php
363: [09:57:30] <Jakx> How do I update a value of a page, from the page controller? e.g $this->DBValue = "1"; $this->write();?
364: [10:01:00] <wmk> $this->data()->Foo = 'bar'; $this->data()->write();
365: [10:01:15] <wmk> but - why?
366: [10:02:10] <Jakx> it's a donations page, and it's tracking progress towards a goal, just storing it against the page.
367: [10:04:36] <Jakx> wmk, hmmm, that didn't seem to do it. Do I need to $this->publish('Stage','Live'); or something?
368: [10:05:30] <wmk> oh, sure. $this->data()->doPublish()
369: [10:05:40] <wmk> which will pollute your versions table.
370: [10:05:53] <wmk> maybe put it out into a relation and write to it directly...
371: [10:06:08] <Jakx> wmk, ok, will do.
372: [10:06:17] <wmk> use SiteTree's doPublish() if you save directly in the page
373: [10:15:45] * CodeTrap has joined #silverstripe
374: [10:15:52] * Eliseth quit (Ping timeout: 256 seconds)
375: [10:24:55] * CodeTrap quit (Quit: CodeTrap)
376: [10:38:48] <Jakx> Thanks wmk!
377: [10:38:50] * Jakx has left #silverstripe
378: [10:40:16] <Pyenguink> https://pbs.twimg.com/media/B3ciS5uCUAEmoqi.jpg
379: [10:40:52] <wmk> who's that guy?
380: [10:40:59] <wmk> on the left i meanm
381: [10:41:24] <Pyenguink> Gollum
382: [10:41:42] <Pyenguink> the guy on the right is your prime minister
383: [10:41:52] <Pyenguink> :P
384: [10:41:55] <wmk> my prime minister is a woman
385: [10:42:01] <Pyenguink> ('straya joke)
386: [10:42:13] <Pyenguink> Austria/Australia
387: [10:42:15] <Pyenguink> :P
388: [10:43:04] <Pyenguink> the mad monk.
389: [10:43:31] <Pyenguink> Tony Abbott
390: [10:44:48] <Pyenguink> The guy who stands up and gives a speech about withdrawing from climate change inititives as a nation to a multinational summit filled with people commited to action on climate change.
391: [10:44:56] <Pyenguink> and other such moronic things.
392: [10:50:00] * Stomach quit (Quit: zzz)
393: [10:50:17] * Colin[pi] has joined #silverstripe
394: [10:51:47] * cloph_away is now known as cloph
395: [10:54:39] * CodeTrap has joined #silverstripe
396: [10:54:58] * wmk quit (Ping timeout: 256 seconds)
397: [10:57:53] * CodeTrap quit (Client Quit)
398: [11:41:53] <Pyenguink> I just got electrocuted for science.
399: [11:42:05] <Pyenguink> Apparently I'm not nearly as fat a bastard as I thought I was.
400: [12:06:57] * Colin[pi] quit (Ping timeout: 245 seconds)
401: [12:16:33] * wmk has joined #silverstripe
402: [12:47:06] * spronk2 quit (Quit: spronk2)
403: [13:16:28] * wmk quit (Ping timeout: 250 seconds)
404: [13:22:40] * UndefinedOffset has joined #silverstripe
405: [13:36:27] * aamL has joined #silverstripe
406: [13:59:17] * aamL quit (Ping timeout: 264 seconds)
407: [14:07:44] * r_hector quit (Quit: Leaving.)
408: [14:19:17] * Pyenguink sighs
409: [14:19:23] <Pyenguink> fridays are always so boring in chan
410: [14:23:46] * lerni has joined #silverstripe
411: [14:31:28] * aamL has joined #silverstripe
412: [14:48:19] * Pyenguink quit ()
413: [14:48:52] * zfmf has joined #silverstripe
414: [15:00:41] * Frans_Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
415: [15:19:41] * lerni quit ()
416: [15:19:52] * lerni has joined #silverstripe
417: [15:40:06] <UndefinedOffset> guess most of the american's are suffering through turkey hang over :P
418: [16:06:41] * arnhoe quit ()
419: [16:08:59] * zfmf quit ()
420: [16:31:12] * aamL quit (Ping timeout: 272 seconds)
421: [16:33:34] * lerni quit ()
422: [16:38:51] * jeroenem quit (Quit: Page closed)
423: [16:40:12] * DimiStripe has joined #silverstripe
424: [17:06:07] * kinglozzer quit ()
425: [17:11:08] * lugor has joined #silverstripe
426: [17:25:45] <lugor> hi there, this is my first visit to this channel. I’m from germany, working as web developer since 1999 but I’m still a novice to silverstripe. I’d like to ask a question :)
427: [17:29:18] <lugor> right now I’m working on my first real project with silverstripe. and it is a lot of fun! but now i’m stuck, I want to store currency, euro, values. and this seems to be surprisingly difficult.
428: [17:30:35] <lugor> found some reports on this topic e.g. https://github.com/silverstripe/silverstripe-framework/issues/2050
429: [17:32:39] <lugor> or https://github.com/silverstripe/silverstripe-framework/issues/2161
430: [17:33:47] <lugor> I’m thinking of building my own custom fieldtype. what would you suggest?
431: [17:35:49] * SphereSilver has joined #silverstripe
432: [17:45:48] * wmk has joined #silverstripe
433: [17:46:36] * lugor_ has joined #silverstripe
434: [17:49:55] * lugor_ quit (Quit: lugor_)
435: [18:00:47] * lugor quit (Quit: lugor)
436: [18:21:59] * gelignite has joined #silverstripe
437: [18:36:26] <wmk> omfg, did you hear about cryptophp? that malware that is some (stolen) w****ss, j***a or dr***l themes as an included png file?
438: [18:36:38] <wmk> *facepalm*
439: [18:37:00] <wmk> why can i include a png file in my php - and why is the code in there running?
440: [18:37:52] <SphereSilver> I guess I didn't hear about it, because I have no clue what you're talking about
441: [18:39:03] <SphereSilver> But if the parser says it's valid code, it's run, this should work in any code if you define it as "good to run"
442: [18:39:30] <SphereSilver> That's why measurements-pixels, like the Google Analytics pixel, are scripts pretending to be gifs
443: [18:42:13] <wmk> but - why does php allow to include a file called social.png ?
444: [18:42:30] <wmk> hi simon btw
445: [18:42:57] <wmk> http://www.heise.de/newsticker/meldung/CryptoPHP-Hinterlistiger-Schadcode-hat-zehntausende-Server-infiziert-2467962.html is a link to a german article about that
446: [18:44:18] * gelignite quit (Quit: http://bit.ly/nkczDT)
447: [18:44:40] <wmk> http://www.pcworld.com/article/2853192/over-23000-web-servers-infected-with-cryptophp-backdoor.html
448: [18:44:55] <SphereSilver> If Apache is told to work with PNG as if they were PHP, then it only makes sense to parse them as PHP
449: [18:46:36] <wmk> but why is he told that by default...
450: [18:46:39] <SphereSilver> Better question: Why do coders allow the injection of non-php files?
451: [18:46:52] <wmk> why does php allow that?
452: [18:46:57] <SphereSilver> PHP, as any interpreter/compiler, should not be concerned with the actual filetype
453: [18:47:19] <SphereSilver> The programmer is the one that should supply security, not the interpreter/compiler
454: [18:47:34] <wmk> if you copy a bunch of php files (theme or whatever) and there is some code like include('foo.png') inside the php noone will notice
455: [18:47:53] <wmk> in this case it was 3rd party software, cracked plugins or themes
456: [18:48:12] <SphereSilver> From the compiler point of view, why is that a bad thing?
457: [18:48:27] <SphereSilver> It becomes bad, but that's none of the compilers issue
458: [18:48:39] <SphereSilver> The compiler should compile and execute, nothing more
459: [18:49:03] <SphereSilver> If compilers would contain such security related things, getting things compiled would be a hell
460: [18:50:12] <SphereSilver> The compiler should be just that, nothing else. Ofcourse, there are a few security measurements that should be taken, like buffer overflow
461: [18:50:12] * lugor has joined #silverstripe
462: [18:50:14] <wmk> the world is bad... shit
463: [18:50:20] * lugor has left #silverstripe
464: [18:50:30] <SphereSilver> but the compiler is not a magic machine that understands security.
465: [18:50:37] <wmk> of course not
466: [18:50:55] <SphereSilver> If you'd limit the compiler to .php files, things would go bad. FAST
467: [18:50:56] <wmk> but there should be more restrictive settings in php interpreter.
468: [18:51:07] <wmk> why?
469: [18:51:13] <SphereSilver> There's a reason you can inject .png as if it was .php
470: [18:51:20] <wmk> php code should be in php files
471: [18:51:48] <SphereSilver> You need them to be parsed. And PHP does what every interpreter does. Interpret the files and make CPU-logic.
472: [18:52:08] <wmk> of course. but it should complain if it was no php file.
473: [18:52:19] <wmk> @include('foo.png')
474: [18:52:24] <SphereSilver> Why should it complain?
475: [18:52:34] <SphereSilver> Based on what, filetype?
476: [18:52:40] <SphereSilver> That doesn't make sense
477: [18:52:47] <wmk> why would you need php code in a file called foo.png?
478: [18:53:04] <SphereSilver> because you want it to be parsed?
479: [18:53:14] <wmk> why do you want it to get parsed?
480: [18:53:34] <SphereSilver> There are millions of reasons, one of them might be, for example, code security
481: [18:53:49] <wmk> in this case it was more code insecurity.
482: [18:53:57] <wmk> obfuscation
483: [18:54:00] <SphereSilver> Any compiler, any interpreter, only does what it is told, it is not a security-tool
484: [18:54:09] <wmk> of course.
485: [18:54:40] <wmk> brb
486: [19:18:47] <SphereSilver> You're expecting the interpreter to be a part of the security. That's not how it works
487: [19:20:24] <SphereSilver> An interpreter or compiler just does it's job, it is in no way a part of the security.
488: [19:34:58] * timsnadden has joined #silverstripe
489: [19:35:18] * timsnadden quit (Client Quit)
490: [20:02:29] * wmk quit (Quit: nice to meet you ;))
491: [20:36:16] * SphereSilver quit (Remote host closed the connection)
492: [20:41:29] * gelignite has joined #silverstripe
493: [21:04:49] * Stomach has joined #silverstripe
494: [21:09:39] * UndefinedOffset quit (Quit: Leaving.)
495: [21:15:32] * lugor has joined #silverstripe
496: [21:22:12] * veb has joined #silverstripe
497: [21:22:12] * veb quit (Changing host)
498: [21:22:12] * veb has joined #silverstripe
499: [21:22:24] * lugor has left #silverstripe
500: [21:25:11] * Colin[pi] has joined #silverstripe
501: [22:32:32] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
502: [22:35:23] * veb has joined #silverstripe
503: [22:37:19] * veb quit (Client Quit)
504: [22:38:06] * veb has joined #silverstripe
505: [22:40:20] * veb quit (Client Quit)
506: [23:03:30] * Stomach quit (Quit: zzz)
507: [23:04:36] * Stomach has joined #silverstripe
508: [23:04:37] * babak quit (Quit: Connection closed for inactivity)
509: [23:11:23] * veb has joined #silverstripe
510: [23:18:59] * Stomach quit (Quit: zzz)
511: [23:47:29] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
512: [23:47:53] * veb has joined #silverstripe
513: [23:51:03] * irogue_ has joined #silverstripe
514: [23:54:14] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)

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