#silverstripe IRC Log

IRC log for 25 March 2015

All timestamps are in UTC.

1: [00:02:29] * micmania1 quit (Quit: micmania1)
2: [00:08:14] * antons quit (Quit: Page closed)
3: [00:08:17] * antmas has joined #silverstripe
4: [00:09:16] <antmas> mmm reeses pieces
5: [00:09:48] <Colin[pi]> antmas: bastard
6: [00:09:53] <Colin[pi]> now I want some :(
7: [00:10:06] <antmas> they're the mini m&m-ish ones
8: [00:10:08] <antmas> so good
9: [00:10:48] <antmas> http://upload.wikimedia.org/wikipedia/en/thumb/1/1a/Reese's_Pieces_Bag.jpg/200px-Reese's_Pieces_Bag.jpg
10: [00:11:33] <Colin[pi]> mmm
11: [00:16:39] <Ryan-Toast> relevant: http://i.imgur.com/uGTAWtg.jpg
12: [00:17:36] <Colin[pi]> lol Ryan-Toast
13: [00:17:52] <Colin[pi]> I think this may be what my gf's family tries to do when I visit brazil
14: [00:19:34] <antmas> lol
15: [00:19:45] * antmas has eaten TOO MANY PIECES
16: [00:19:47] <Colin[pi]> antmas: I gained 4kg in a month
17: [00:19:53] <antmas> damn you Reese!
18: [00:31:22] * micmania1 has joined #silverstripe
19: [00:36:25] * willr has joined #silverstripe
20: [00:46:00] * tmro quit (Excess Flood)
21: [00:47:59] * kerosene has joined #silverstripe
22: [00:59:39] * Phlunk3 has joined #silverstripe
23: [00:59:40] * mahfuz quit (Ping timeout: 246 seconds)
24: [01:02:21] <Stomach> willr - is https://github.com/silverstripe/silverstripe-siteconfig 3.2 or 4.0?
25: [01:02:33] <Stomach> requirements say 3.2
26: [01:02:44] <Stomach> but now not sure after our chat earlier
27: [01:19:02] * mahfuz has joined #silverstripe
28: [01:28:36] * Tanger has joined #silverstripe
29: [01:30:03] <willr> Stomach, I spilt that out before this whole semvar thing became a thing
30: [01:30:33] <willr> But yes it’s a 3.2 change as it is still removed from cms/3
31: [01:30:44] * micmania1 quit (Quit: micmania1)
32: [01:30:45] <Stomach> cool deal
33: [01:30:53] * Stomach is building a map
34: [01:30:56] <willr> Otherwise someone else can put it back into 3
35: [01:34:16] * micmania1 has joined #silverstripe
36: [01:34:41] * novaweb has joined #silverstripe
37: [01:51:16] * spronk2 quit (Quit: I may need a longer sleep timer...)
38: [01:53:31] * oddnoc quit (Ping timeout: 255 seconds)
39: [02:07:22] * willr_ has joined #silverstripe
40: [02:07:22] * willr_ quit (Changing host)
41: [02:07:22] * willr_ has joined #silverstripe
42: [02:08:02] * willr quit (Ping timeout: 246 seconds)
43: [02:08:05] * willr_ is now known as willr
44: [02:09:53] <mahfuz> Hey guys for has_many relation we could do like this $category->Products()->add($newproduct); for has_one relationship can we do the same to link two objects?
45: [02:24:24] <willr> mahfuz for has_one just set $obj->RelationID = $obj->ID
46: [02:24:39] <Olliepop> mahfuz for a has one the relation $category->Product() is stored as 'ProductID' in the database, so you can do $category->ProductID = $newproduct->ID; then $category->write();
47: [02:27:54] * r_hector has joined #silverstripe
48: [02:42:01] <mahfuz> Thanks willr and Olliepop though I already did like that.
49: [02:42:35] <mahfuz> I have now another issue how do I use has_many propery in filter?
50: [02:43:27] <mahfuz> 'Agents.ID' => $agentid here Agents is the has_many relationship name. can I do like this
51: [02:44:55] <Olliepop> try it
52: [02:44:58] * superspring quit (Read error: Connection reset by peer)
53: [02:56:44] <mahfuz> Olliepop: you are saying the syntax is correct, right?
54: [02:56:55] <mahfuz> But I am having error.
55: [02:57:10] * spronk2 has joined #silverstripe
56: [03:01:47] <antmas> mahfuz: you need to say what the error is, otherwise we're flying blind :O
57: [03:07:12] <MichalKleiner> can I force rewriteHashlinks to be on just for one template and off by default?
58: [03:13:51] <MichalKleiner> or actually.. how do you guys work with anchor links, base tag and JS off?
59: [03:14:56] <mahfuz> antmas: thanks for your response. I think I can figure it out, just trying some code. If its not resolved, I will come to you guys with code in sspaste along with the error message.
60: [03:15:56] * UncleCheese has joined #silverstripe
61: [03:18:13] * Ryan-Toast quit (Quit: Ryan-Toast)
62: [03:26:19] * Azure quit (Read error: Connection reset by peer)
63: [03:30:55] * Ryan-Toast has joined #silverstripe
64: [03:37:28] * mobiusnz1 has joined #silverstripe
65: [03:38:10] * mobiusnz quit (Read error: No route to host)
66: [03:40:19] * mobiusnz1 quit (Read error: Connection reset by peer)
67: [03:45:53] * mobiusnz has joined #silverstripe
68: [03:46:16] * antmas quit (Quit: Page closed)
69: [03:49:18] * r_hector quit (Quit: Leaving.)
70: [03:57:19] * Phlunk3 quit (Quit: Leaving)
71: [04:00:54] * mobiusnz quit (Quit: Leaving.)
72: [04:04:08] * jedateach quit (Ping timeout: 244 seconds)
73: [04:05:53] * spronk2 quit (Quit: I may need a longer sleep timer...)
74: [04:12:24] * ocmnt quit (Ping timeout: 244 seconds)
75: [04:14:52] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
76: [04:15:12] * willr quit (Quit: willr)
77: [04:32:04] * spronk2 has joined #silverstripe
78: [04:36:18] <spronk2> FUFUUUu
79: [04:37:46] * Stomach quit (Ping timeout: 255 seconds)
80: [04:42:01] <ss-helper> Fatal errors on CMS Pages - http://www.silverstripe.org/community/forums/content-editor-discussions/show/101403
81: [04:45:28] <Colin[pi]> spronk2: *okay face*
82: [04:45:49] <spronk2> mm.
83: [04:46:21] <Colin[pi]> spronk2: was refering to the FUFUFUuu
84: [04:46:24] <Colin[pi]> what up?
85: [04:46:31] <spronk2> oh, just dealing with this security firm
86: [04:46:38] <Colin[pi]> frustrating?
87: [04:50:57] * Ryan-Toast quit (Quit: Ryan-Toast)
88: [04:52:34] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
89: [05:07:29] * zagoodwin has joined #silverstripe
90: [05:08:31] * Error404NotFound has joined #silverstripe
91: [05:11:15] <zagoodwin> Hey, just wondering if there is built in functionality to include DataObjects in the out-of-the-box search form
92: [05:12:05] <ss-helper> Re: Only partial nested urls - http://www.silverstripe.org/community/forums/general-questions/show/101402#post400859
93: [05:22:48] <Colin[pi]> zagoodwin: you can do it but I think you need to override some methods in your controller to handle the DO's
94: [05:23:25] * micmania1 quit (Quit: micmania1)
95: [05:37:49] * spronk2 quit (Quit: I may need a longer sleep timer...)
96: [05:58:07] * Liquide quit ()
97: [06:12:13] <ss-helper> Template rendering in Registry module. - http://www.silverstripe.org/community/forums/general-questions/show/101404
98: [06:13:53] * micmania1 has joined #silverstripe
99: [06:17:30] <ss-helper> SilverStripe 3.1 Registry module - http://stackoverflow.com/questions/29248616/silverstripe-3-1-registry-module
100: [06:21:03] * Colin[pi] has left #silverstripe
101: [06:28:19] * mahfuz quit (Ping timeout: 246 seconds)
102: [06:30:27] * Sticks quit (Quit: Leaving)
103: [06:53:52] * zagoodwin quit (Ping timeout: 246 seconds)
104: [07:08:01] * oddnoc has joined #silverstripe
105: [07:08:34] * kerosene is now known as tmro
106: [07:12:34] * oddnoc quit (Ping timeout: 256 seconds)
107: [07:12:50] * spronk2 has joined #silverstripe
108: [07:19:27] * Liquide has joined #silverstripe
109: [07:21:47] * micmania1 quit (Quit: micmania1)
110: [07:35:30] * Eliseth has joined #silverstripe
111: [07:57:27] <ss-helper> silverstripe blog update "there are two files containing the "blogentry" class" - http://www.silverstripe.org/community/forums/blog-module-forum/show/101405
112: [07:58:02] * spronk2 quit (Quit: I may need a longer sleep timer...)
113: [08:11:03] * Shrike_Finland has joined #silverstripe
114: [08:25:09] <ss23> $calendaritems = CalendarItem::get()->where("DATE(Date) ='".$this->urlParams['ID']."'")->limit(4);
115: [08:25:12] <ss23> BAD DEVELOPER, BAD
116: [08:25:15] <ss23> :O
117: [08:42:18] * willr has joined #silverstripe
118: [08:47:52] * Shrike_Finland quit (Quit: Leaving.)
119: [08:54:40] * Shrike_Finland has joined #silverstripe
120: [08:59:34] * oddnoc has joined #silverstripe
121: [09:00:32] * kinglozzer has joined #silverstripe
122: [09:03:22] <kinglozzer> DigitalOcean: Now you can increase Droplet disk, without creating a Snapshot.
123: [09:03:26] <kinglozzer> YEEEEEAAAHHH!!!!
124: [09:03:29] <kinglozzer> Finally :D
125: [09:06:51] <Olliepop> kinglozzer Woah fucking finally
126: [09:07:02] * Shrike_Finland quit (Ping timeout: 250 seconds)
127: [09:07:05] <Olliepop> That was such a pain in the ass
128: [09:08:09] * Shrike_Finland has joined #silverstripe
129: [09:11:00] * GioVdK has joined #silverstripe
130: [09:12:09] <kinglozzer> Yeah, especially as the control panel always implied it was possible, but it never worked :P
131: [09:31:50] * oddnoc quit (Ping timeout: 246 seconds)
132: [09:35:40] * Tanger quit (Quit: exit())
133: [09:36:05] * Pyavsk has joined #silverstripe
134: [09:37:59] * swaiba has joined #silverstripe
135: [09:49:42] * Colin[pi] has joined #silverstripe
136: [09:50:25] <Pyavsk> hooreys
137: [09:50:28] * Pyavsk quit ()
138: [09:55:57] <elgabbu> is using $Top in templates frowned upon?
139: [10:03:31] <willr> elgabbu nope. There for you to use :)
140: [10:05:20] * tmro quit (Max SendQ exceeded)
141: [10:16:27] * tmro has joined #silverstripe
142: [10:33:05] * DimiStripe has joined #silverstripe
143: [10:41:39] * superspring has joined #silverstripe
144: [10:41:48] * Pyask has joined #silverstripe
145: [10:42:47] <ss-helper> Re: Add attribute data-custom to Dropdown - http://www.silverstripe.org/community/forums/general-questions/show/101400#post400862
146: [10:43:23] * micmania1 has joined #silverstripe
147: [10:44:40] * oddnoc has joined #silverstripe
148: [10:49:36] * oddnoc quit (Ping timeout: 272 seconds)
149: [10:53:35] <Pyask> micmania1: trying again tonight are we?
150: [10:53:37] * Shrike_Finland quit (Quit: Leaving.)
151: [10:57:49] <ss-helper> Re: Fatal errors on CMS Pages - http://www.silverstripe.org/community/forums/content-editor-discussions/show/101403#post400863
152: [10:59:13] <ss-helper> DropdownField that allows attributes for options - https://groups.google.com/d/msg/silverstripe-dev/wFHcK2tvoQ8/QuwzVFEgKRYJ
153: [11:06:54] <elgabbu> hi i am working on a build task that should setup some widgets on a page .... any pointers on how I can acheive this?
154: [11:12:51] <ss-helper> Re: Upgrading SS and newsletter module - http://www.silverstripe.org/community/forums/all-other-modules/show/101396#post400864
155: [11:14:10] <Pyask> elgabbu: requireDefaultRecords or something like that
156: [11:14:33] <Pyask> see the examples in SiteTree.php (that give you home, about-us and contact-us on first build)
157: [11:27:53] <ss-helper> Re: silverstripe blog update "there are two files containing the "blogentry" class" - http://www.silverstripe.org/community/forums/blog-module-forum/show/101405#post400867
158: [11:27:53] <ss-helper> Re: Default upload folder with subsites (Modules: subsites, selectupload) - http://www.silverstripe.org/community/forums/all-other-modules/show/101347#post400866
159: [11:27:53] <ss-helper> Re: Add attribute data-custom to Dropdown - http://www.silverstripe.org/community/forums/general-questions/show/101400#post400865
160: [11:29:36] * willr quit (Quit: willr)
161: [11:29:51] * Shrike_Finland has joined #silverstripe
162: [11:38:39] <elgabbu> Pyask don't think you understood the question :) .... i want to add widgets to a page from within a Build task
163: [11:39:06] <Pyask> yes, and I'm telling you how.
164: [11:39:25] <Pyask> I don't think you understood the answer! ;)
165: [11:39:54] <Pyask> http://api.silverstripe.org/3.1/class-DataObject.html#_requireDefaultRecords
166: [11:40:04] <Pyask> http://api.silverstripe.org/3.1/class-DataExtension.html#_requireDefaultRecords
167: [11:40:22] <Pyask> the function is called on dev/build
168: [11:40:41] <Pyask> in it you can build objects & add relations, causing them to be written to the database
169: [11:41:01] <Pyask> such as: http://api.silverstripe.org/3.1/source-class-SiteTree.html#1448-1504
170: [11:41:49] <Pyask> You'll have to programmatically assign the widgets to the page, of course.
171: [11:41:52] * willr has joined #silverstripe
172: [11:41:58] <Pyask> But that's how you do it elgabbu
173: [11:42:43] <elgabbu> mmm don't think i want this to run on every dev build ... its a one off thing that needs to be run
174: [11:42:55] <ss-helper> Re: Template rendering in Registry module. - http://www.silverstripe.org/community/forums/general-questions/show/101404#post400869
175: [11:42:55] <ss-helper> Form file input not sending to admin's mail - http://www.silverstripe.org/community/forums/form-questions/show/101406
176: [11:43:21] <elgabbu> yeah i was more wondering how does one programatically add the widget to the widgetarea of a page
177: [11:44:06] <elgabbu> so far in the run function of my build task i have got the index page $indexPage = IndexPage::get()->first();
178: [11:44:21] * willr quit (Client Quit)
179: [11:45:03] <elgabbu> The indexPage has a relationship private static $has_one = array( 'MobileWidgetArea' => 'PageWidgetArea' );
180: [11:45:20] <elgabbu> So i tried to do Debug::dump($indexPage->MobileWidgetArea);
181: [11:45:27] * micmania1|2 has joined #silverstripe
182: [11:45:48] <elgabbu> dammit now i realise
183: [11:45:58] <elgabbu> Debug::dump($indexPage->MobileWidgetArea());
184: [11:46:11] <elgabbu> ok that gives me an instance of the PageWidgetArea
185: [11:46:24] * Niels__ has joined #silverstripe
186: [11:47:26] * Niels__ quit (Client Quit)
187: [11:48:12] <elgabbu> I created an instance of the widget I want to add ... and setup its DB fields
188: [11:48:50] <elgabbu> the widget area has_many widgets so now it should be simply a matter of writing the widget to that has many relationship
189: [11:49:12] * yrtnmrtns has joined #silverstripe
190: [11:49:36] <yrtnmrtns> Hey could someone help me with a Silverstripe question I have
191: [11:50:05] * Rienco has joined #silverstripe
192: [11:50:42] <Rienco> Hi all, i have a question. When I do a SS_HTTPRequest, my browser outputs [Notice] Undefined variable: request
193: [11:54:06] * Shrike_Finland quit (Quit: Leaving.)
194: [11:55:49] * yrtnmrtns has left #silverstripe
195: [11:56:08] * yrtnmrtns has joined #silverstripe
196: [11:56:20] <yrtnmrtns> Hello
197: [12:02:35] <Pyask> Rienco: well that'll be because you haven't define a variable before using it. SS enforces strict.
198: [12:03:31] <Pyask> elgabbu: if you can make a check before running the default record creation, then do that (again, see SiteTree's example). If you only want to do it once, then a generic BuildTask is probably more what you're after.
199: [12:03:46] <Pyask> wiget and widgetarea are both just dataobjects
200: [12:04:09] <Pyask> you can manage them as relations from memory
201: [12:04:36] <Pyask> yrtnmrtns: see the title.
202: [12:04:51] <Pyask> yrtnmrtns: specifically the part that says "Ask your questions!"
203: [12:05:00] <Pyask> if you never ask, we'll never answer.
204: [12:05:03] <Pyask> ;)
205: [12:07:11] <Pyask> yrtnmrtns: well, since this is you - http://www.silverstripe.org/community/forums/form-questions/show/101406 - $email->attach()
206: [12:07:26] <Pyask> http://api.silverstripe.org/3.1/class-Email.html#_attachFile
207: [12:07:53] <Rienco> Pyask: I did define it at public function paardoverzicht(SS_HTTPRequest $request){
208: [12:08:43] <Rienco> My controller: http://pastebin.com/NJTJgZPZ
209: [12:08:47] <Pyask> Rienco: perhaps a paste would be best. Your description of "doing a SS_HTTPRequest" is very... ambiguious
210: [12:08:54] <Pyask> ah yeh, thans
211: [12:09:30] <Rienco> and my routes.yml: http://pastebin.com/t6TReVuZ
212: [12:10:23] <Pyask> ah, I see some issues
213: [12:10:39] <Pyask> Rienco: you have a bit of confusion between controllers, pages, and routes.
214: [12:10:58] * yrtnmrtns quit (Ping timeout: 246 seconds)
215: [12:11:18] <Pyask> oh wait, no you don't, I'm just not reading properly.
216: [12:11:43] <Rienco> :P
217: [12:12:52] <Pyask> regardless, your route is both unnecessary and seemingly useless - I'm about 68% sure that including the domain is not a thing.
218: [12:12:57] <Pyask> well, about 80% really.
219: [12:13:22] <Rienco> Ok, so removing routes.yml is an option?
220: [12:13:43] <Pyask> well, the one you pasted, should be fine. Try it and see (don't forget to flush!)
221: [12:14:55] <Pyask> also, the function seems almost entirely redundant too: public function getPaardenOverzicht(){
222: [12:15:13] <Rienco> If I changed the rule with the domain name into 'paarden//$ID': 'PaardenPagina_Controller' and flush the page, the page goes directly to the login screen.
223: [12:15:16] <Pyask> just return Paard::get(); I think will suffice.
224: [12:15:47] <Rienco> without filter()?
225: [12:15:56] <Pyask> no I'm saying you don't need the route at all
226: [12:16:12] <Pyask> it extends page controller.
227: [12:16:18] <Pyask> routing is taken care of for you.
228: [12:16:21] <Rienco> ah ok, i will remove it
229: [12:16:43] <Pyask> the route hard fixes a controller without any model (page).
230: [12:16:45] * UndefinedOffset has joined #silverstripe
231: [12:17:05] <Pyask> meaning it cannot be managed in the cms
232: [12:17:08] <Rienco> after removing it it gets back to "undefined variable"
233: [12:17:43] <Pyask> [12:15] <Pyask> just return Paard::get(); I think will suffice. [12:15] <Rienco> without filter()?
234: [12:18:00] <Rienco> the strange thing is, var_dump($request->allParams()); gives an array back, but the system returns a warning on it
235: [12:18:44] <Pyask> you don't use filter in that funciton anyway
236: [12:20:02] <Pyask> Rienco: so you are visiting kortebaandraverijen.nl/paarden/1 ?
237: [12:20:20] <Rienco> yes http://localhost/kortebaandraverijen.nl/paarden/2
238: [12:21:46] <Pyask> do you actually have a PaardenPagina called paarden in the CMS site tree under the root?
239: [12:22:25] <Rienco> yes i have
240: [12:24:00] <Pyask> is this site on a local test?
241: [12:24:14] <ss23> any of you people play eve?
242: [12:24:17] <Rienco> yep
243: [12:24:30] <Pyask> because http://kortebaandraverijen.nl/Paarden gives 404
244: [12:24:37] <Pyask> ss23: nup.
245: [12:24:44] <ss23> lame :(
246: [12:24:44] <Pyask> know of it though
247: [12:24:53] <Pyask> Internet Spaceships is serious business.
248: [12:24:57] <Rienco> indeed. the site is being extended locally
249: [12:25:05] <Pyask> Rienco: ok, cool.
250: [12:25:07] <Rienco> before getting back online
251: [12:25:08] <micmania1|2> ss23: do you even eve?
252: [12:25:13] <ss23> I don't
253: [12:25:24] <Pyask> micmania1|2: areet
254: [12:25:26] * Colin[pi] quit (Ping timeout: 246 seconds)
255: [12:25:27] <micmania1|2> areet
256: [12:25:37] <ss23> noise
257: [12:25:40] <Pyask> micmania1|2: so there's a chap on the quayside selling coffee from a van that is apparently alright.
258: [12:25:52] * micmania1 is now known as Guest59502
259: [12:25:52] <ss23> https://www.youtube.com/watch?v=rQnYi3z56RE
260: [12:26:01] <Pyask> micmania1|2: also chai is becoming a thing here, only about 5 years late.
261: [12:26:12] <Pyask> Nero have started to do it.
262: [12:26:19] <micmania1|2> what is chai. Sounds like a small dog
263: [12:26:35] <Pyask> micmania1|2: but anyway, chap from a van behind the pitcher and piano, apparently ok coffee.
264: [12:26:53] <Pyask> micmania1|2: chai is like a hot chocolate, only with no chocolate, and more spice.
265: [12:26:56] <micmania1|2> I'll be sure to try it :D
266: [12:27:04] <micmania1|2> wait, wat?
267: [12:27:20] <Pyask> It's everywhere in NZ. gaan ask for a chai latte.
268: [12:27:29] <Pyask> chai being tea, it's a tea based thing.
269: [12:27:48] <Pyask> but they powder it (so you make it like hot chocolate).
270: [12:28:05] <Pyask> put cinnimon on top
271: [12:28:11] <Pyask> yums
272: [12:28:23] * Shrike_Finland has joined #silverstripe
273: [12:28:24] <Pyask> when I first got here I noticed a lack of it because I don't drink coffee.
274: [12:28:52] <Pyask> then I found a place with chai on the menu, and they gave me a normal latte with a fuck'n shot of some kinda spice syrup in it. I was dark.
275: [12:29:16] <Pyask> But now it seems to be coming in
276: [12:29:19] <Pyask> which is nice.
277: [12:29:43] <Rienco> anyway, here's a screenshot of the strange error: http://snag.gy/mGuTm.jpg. It does the var_dump but it remains the [Notice]
278: [12:29:44] * DimiStripe quit (Quit: DimiStripe)
279: [12:30:29] <Pyask> Rienco: well a notice is just as it says. Just letting you know. To build nice strict compliant code you should deal with it, bu tit doesn't actaully mean much because PHP is scripty, garbage collecty and null on createy.
280: [12:30:53] <ss23> https://www.youtube.com/watch?v=z6iC0Vi1yEg
281: [12:30:56] <ss23> ;___;
282: [12:31:19] <Rienco> ok. how do i get rid of the notice but keep the dev environment?
283: [12:31:35] <Pyask> Rienco: define the variable.
284: [12:31:43] <Pyask> this must be caused because nothing is being passed into the function.
285: [12:32:01] <Pyask> use $this->request instead
286: [12:32:04] <Pyask> that'll fix it.
287: [12:32:44] <Pyask> public function paardoverzicht(){ var_dump($this->request->allParams()); ...
288: [12:32:46] <Pyask> etc
289: [12:33:04] <Pyask> the request is bound to the controller before it's executed.
290: [12:33:20] <Rienco> thanks , that fixed it!
291: [12:33:35] <Pyask> from what I know your code should have worked though.
292: [12:33:45] <Pyask> err, without error.
293: [12:33:53] <Pyask> *notice*
294: [12:34:18] <Pyask> Rienco: ooooooooh.... the stack trace gives it away
295: [12:34:27] <Pyask> you're calling the function from the controller
296: [12:34:30] <Pyask> errr the template!
297: [12:34:41] <Pyask> which passes no parameter in, least of all the request.
298: [12:34:51] <Rienco> ok, not good?
299: [12:35:06] <Pyask> Rienco: well, it seems to me you have a lot of unnecessary code in your controller.
300: [12:35:11] <Pyask> a _lot)
301: [12:35:13] <Pyask> _
302: [12:35:19] * yrtnmrtns has joined #silverstripe
303: [12:35:52] * yrtnmrtns quit (Client Quit)
304: [12:35:56] <Pyask> perhaps because of some confusion, I'm not sure.
305: [12:36:00] <Rienco> Hmm. It's been a while when i worked with silverstripe
306: [12:36:03] <Pyask> what is the goal of the page?
307: [12:36:11] * ss31noob has joined #silverstripe
308: [12:36:24] <Pyask> I don't speak dutch, so it's not all that immediately obvious to me apart from that it has something to do with listing horses?
309: [12:36:25] <Rienco> to get "Paard" (horse) details from a specific horse
310: [12:36:35] <Pyask> right
311: [12:36:46] <Pyask> what is the relationship MyPaard then?
312: [12:37:04] <Rienco> don't know, i think unnessascary
313: [12:37:09] <Pyask> right
314: [12:37:21] <Pyask> so (in english equivalent) I'd do soemthing like:
315: [12:39:39] * yrtnmrtns has joined #silverstripe
316: [12:39:49] <Pyask> class HorseListPage extends Page {} class HorseListPage_Controller extends Page_Controller { private static $allowed_actions = ['details']; public function details() { return $this->customise(['Horse'=>Paard::get()->ByID($this->request->param('ID'))]); } public function Horses() { return Paard::get(); }}
317: [12:39:55] <Pyask> that's pretty much it.
318: [12:40:08] <Pyask> The rest I'd do in template.
319: [12:40:17] <yrtnmrtns> Hello, connection timed out, Pyask, thank you for your reply but the question was how did I attach a file to the email which is sent to the admin?
320: [12:40:33] <Pyask> yrtnmrtns: $email->attachFile($filename)
321: [12:40:36] * Guest59502 quit (Quit: Guest59502)
322: [12:41:32] <ss31noob> hi guys, we have around 5000+ pages in the site.. and whenever i tried to access the admin.. it's terribly slow and causing maximum execution time.. i tried to set before the node_threshold_leaf to a lower value but then when you use a TreeDropDownField, you wont be able to see all pages because we are limiting the treshold_leaf to a lower value.. anyone can help me fix the issue on how to make the admin load faster?
323: [12:41:34] <Pyask> Rienco: it's a bit squished all on one line, but hopefully you get the idea :)
324: [12:41:56] <Rienco> i'm going to try it.Jus a sec
325: [12:42:00] <Rienco> *just
326: [12:42:06] <yrtnmrtns> Thank you, it gave me an error in return: Fatal error: Cannot use object of type Form as array in /home/ontwikkel/domains/jeroen.tirato.org/public_html/framework/control/Director.php on line 644
327: [12:42:11] <Pyask> Rienco: also I'd probably actually wrap the output of Horses() in a PaginatedList - so return PaginatedList::create(Paard::get(), $this->request);
328: [12:42:14] <swaiba> ss31noob - there are various "pages managed from model admin" models - which version are you running?
329: [12:43:02] <ss31noob> silverstripe version you mean?
330: [12:43:02] <Pyask> swaiba: he's not... he's loading TreeDropdownField
331: [12:43:03] <ss-helper> Re: Template rendering in Registry module. - http://www.silverstripe.org/community/forums/general-questions/show/101404#post400870
332: [12:43:33] <ss31noob> Pyask, i removed the use of threshold_leaf because im having a problem with TreeDropDownField
333: [12:43:58] <Pyask> ss31noob: I'm not sure there's an easy answer here.
334: [12:44:01] <ss31noob> but when i removed it.. the admin is starting ti be terribly slow as it is trying to get all the pages instead of lazy loading a few pages
335: [12:44:06] <Pyask> I certainly don't know one.
336: [12:44:10] <Pyask> sorry
337: [12:44:13] <yrtnmrtns> Pyask, I added the $email->attachFile($filename), but it gave me this error: Fatal error: Cannot use object of type Form as array in /home/ontwikkel/domains/jeroen.tirato.org/public_html/framework/control/Director.php on line 644
338: [12:44:35] <Pyask> yrtnmrtns: I think that error is totally unrelated.
339: [12:45:08] <yrtnmrtns> Okay thank you Pyask
340: [12:45:10] * yrtnmrtns quit (Quit: Page closed)
341: [12:46:32] <elgabbu> how can I add an item to an objects has many relationship
342: [12:49:52] <micmania1|2> elgabbu: $this->MyRelationShip()->add($item);
343: [12:50:21] <Pyask> ^
344: [12:50:29] <Pyask> they're relationshiplists, not vanilla datalists
345: [12:53:19] <elgabbu> hmmm ... Uncaught Exception: Object->__call(): the method 'add' does not exist on 'PageWidgetArea'
346: [12:54:44] <Pyask> you need to call it on the list, not an object in the list
347: [12:55:35] <Pyask> remember that Page has_ONE pagewidgetarea, pagewidgetarea has_MANY widgets
348: [12:55:39] <Pyask> you've got the wrong relation.
349: [12:55:41] <micmania1|2> Isn't PageWidgetArea a has_one
350: [12:55:47] <micmania1|2> ^^^ that
351: [12:55:52] <elgabbu> yeah ur right
352: [12:56:01] <elgabbu> $mobileWidgetArea->Widgets()->add($latestArticlesSliderWidget);
353: [12:56:22] <Pyask> $page->WidgetArea()->Widgets()->add()
354: [12:56:22] <Pyask> yeh
355: [12:57:16] <Pyask> micmania1|2: did you manage to get rid of your car in the end? haha
356: [12:57:23] <Pyask> or is it waiting your return, lol
357: [12:57:34] <Pyask> hahaha, wicked
358: [12:57:44] <elgabbu> do i need to call a write to persist it in the DB?
359: [12:57:51] <Pyask> elgabbu: not sure, don't think so
360: [12:58:04] <ss-helper> Re: Forms, UploadField, frontend valiadation - http://www.silverstripe.org/community/forums/form-questions/show/101359#post400874
361: [12:58:05] <ss-helper> Re: I am desperet my silverstrip PHP cannot connect, because I had remote login removed on Debian - http://www.silverstripe.org/community/forums/form-questions/show/101392#post400873
362: [12:58:05] <ss-helper> Re: Form file input not sending to admin's mail - http://www.silverstripe.org/community/forums/form-questions/show/101406#post400872
363: [12:58:05] <ss-helper> Re: silverstripe blog update "there are two files containing the "blogentry" class" - http://www.silverstripe.org/community/forums/blog-module-forum/show/101405#post400871
364: [12:58:06] <Pyask> so long as the widget is already in the db.
365: [12:59:35] <elgabbu> Pysak what do you mean?
366: [12:59:55] <Rienco> Pyask: You're the best! It works all fine.
367: [13:00:10] <Pyask> $latestArticlesSliderWidget->write(), THEN $area->add(...
368: [13:00:20] <Pyask> elgabbu: it might work the other way, but I'm unsure.
369: [13:00:35] <Pyask> best to do thinks how you're more sure they'll work.
370: [13:00:48] <Pyask> Rienco: cool, glad to help :)
371: [13:08:43] <Rienco> Pyask: one more question, is it possible to do the customise function like this? $paard = $this->customise( ['Paard'=>Paard::get()->ByID($this->request->param('ID'))], ['Uitslag'=>Uitslag::get()] );
372: [13:08:57] <Rienco> Uitslag could be more items
373: [13:13:07] <ss-helper> Re: silverstripe blog update "there are two files containing the "blogentry" class" - http://www.silverstripe.org/community/forums/blog-module-forum/show/101405#post400875
374: [13:16:26] * yrtnmrtns has joined #silverstripe
375: [13:17:46] <yrtnmrtns> I changed the $email->attachFile($data['CV']['filename']); but it doesn't send the file, it only sends A file, how do edit this so it sends the file submitted with a form to the receiver of the email?
376: [13:19:51] <yrtnmrtns> Pyask?
377: [13:22:46] <yrtnmrtns> Anyone can help me?
378: [13:30:41] * yrtnmrtns quit (Quit: Page closed)
379: [13:33:37] <Pyask> Rienco: it's an array.
380: [13:33:54] <Pyask> of course you can have more than one thing in it :)
381: [13:34:40] <Pyask> don't get confused though - one array with many things in it, not many arrays with one thing in them!
382: [13:35:53] <Pyask> yrtnmrtns - pro tip: don't close the page. Then you can't get all the updates between leaving and joining... say like where I'm about to answer your question!
383: [13:39:00] <Pyask> But then I didn't.
384: [13:39:33] * Shrike_Finland quit (Quit: Leaving.)
385: [13:41:53] <micmania1|2> Pretty soon i'll be able to sleep. I hope :(
386: [13:43:19] * oddnoc has joined #silverstripe
387: [13:46:25] <Rienco> Pyask: Ok! I just putted them into separate functions
388: [13:48:06] <Pyask> micmania1|2: so it's actually happening tonight then? xD
389: [13:48:22] <micmania1|2> Pyask: nah, been dealing with an incident since 11pm :(
390: [13:48:29] <Pyask> :(
391: [13:48:38] <Pyask> #theincident
392: [13:49:14] <micmania1|2> Team ops is on the case
393: [13:49:21] <Pyask> You're ops?
394: [13:49:41] <micmania1|2> aye
395: [13:49:50] <Pyask> sounds like somthieng from LOST
396: [13:50:04] <Pyask> "there was... an incident"
397: [13:50:18] <Pyask> and since that time, the button must be pushed every 108 minutes
398: [13:51:07] <micmania1|2> puppet runs every hour and resets things so that might be a legitimate thing haha
399: [13:51:14] <Pyask> hahahaa
400: [13:51:17] <Pyask> brilliant
401: [13:51:32] <Pyask> now go and rename all the servers from cartoon characters to lost characters.
402: [13:51:39] <Pyask> :P
403: [13:52:10] <Pyask> karla the stripper
404: [13:52:13] <Pyask> straight from LA
405: [13:52:54] <micmania1|2> This is government infrastructure. No cartoon characters - just the alphabet haha
406: [13:55:43] <Pyask> http://retro.grooveshark.com/#!/s/Stranger/1jzmpA?src=5
407: [13:56:28] <Pyask> micmania1|2: that seems... 26 servers, psh.
408: [13:56:57] <micmania1|2> we can have double letters too!
409: [13:57:02] <Pyask> aa
410: [13:57:05] <Rienco> Pyask: Is there any way to combine $wedstrijd = Wedstrijd::get()->ByID($this->WedstrijdID); $kortebaan = Kortebaan::get()->ByID($wedstrijd->KortebaanID); with a join?
411: [13:57:08] <Pyask> (badum psh)
412: [13:57:28] <Pyask> Rienco: do you want both?
413: [13:57:33] <Pyask> or just kortebaan?
414: [13:58:07] <Rienco> both, i need date from $wedstrijd and Naam from $kortebaan
415: [13:58:14] <Pyask> oh wait, hang on... you're ON wedstrijd
416: [13:58:22] <Pyask> $this->Kortebaan(); //done
417: [13:59:04] <Pyask> ['Date'=>$this->Date, 'Name'=>$this->Kortebaan()->Name]
418: [13:59:11] <Pyask> (for example)
419: [14:00:36] <Rienco> the method 'fortemplate' does not exist on 'Kortebaan'
420: [14:02:15] <Pyask> ah, again you're pumping the result directly to a template.
421: [14:02:25] <Pyask> if you want the name, then return $this->Kortebaan()->Name
422: [14:02:27] <Rienco> uhh yes
423: [14:02:28] * toddvalentine has joined #silverstripe
424: [14:02:40] <Rienco> public function getWedstrijd(){ $wedstrijd = Wedstrijd::get()->ByID($this->WedstrijdID); $content->Datum= $wedstrijd->Datum; $content->Kortebaan = $wedstrijd->Kortebaan()->Naam; return $content; }
425: [14:02:49] <Pyask> !paste Rienco
426: [14:02:49] <ss-helper> Rienco: Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
427: [14:03:22] <Rienco> http://pastebin.com/22i8FLkJ
428: [14:04:26] <kinglozzer> micmania1|2: You know much about the platform? Reading through the brochure/solution architecture doc, the availability zones only ever mention NZ/Aus, do you know if EU zones are gonna be a thing?
429: [14:04:47] <micmania1|2> kinglozzer: there's no reason why they can't be
430: [14:04:49] * Error404NotFound quit (Disconnected by services)
431: [14:04:49] * Err404NotFound has joined #silverstripe
432: [14:04:56] <micmania1|2> We just don't use them atm
433: [14:05:05] <micmania1|2> because all our clients are over here
434: [14:05:45] <Rienco> Pyask http://pastebin.com/22i8FLkJ
435: [14:05:49] <kinglozzer> Yeah fair enough, didn't know if the failover between zones was automatic of if it's something that's gotta be written
436: [14:06:57] * oddnoc quit (Ping timeout: 256 seconds)
437: [14:06:58] <Pyask> Rienco: http://sspaste.com/paste/show/5512c0f25ea15
438: [14:07:51] <Pyask> kinglozzer: I imagine if using datacentres like linode or digitalocean then it'll be reasonably automated.
439: [14:08:02] <Pyask> Or... that's how I'd do it. Not sure on specifics with SS Platform though
440: [14:09:29] <Rienco> Pyask: Datum is working fine, 'Naam' doesn't have any output
441: [14:09:54] <Pyask> must have nothing to output
442: [14:10:17] <Pyask> oooh wait
443: [14:10:18] <Pyask> urgh
444: [14:10:35] <Pyask> name the function anything but getWedstrijd (or Wedstrijd)
445: [14:11:11] <Pyask> getSummary perhaps
446: [14:11:19] <Pyask> since it's a melding of two objects
447: [14:11:27] <Pyask> something like that
448: [14:12:02] <Pyask> get<Something> is magic, and interferes when there's a relation with that actual name.
449: [14:12:24] <Pyask> or is interfered with, or both.
450: [14:13:04] <Rienco> now it doesn't show the date either
451: [14:13:14] <ss-helper> Re: silverstripe blog update "there are two files containing the "blogentry" class" - http://www.silverstripe.org/community/forums/blog-module-forum/show/101405#post400876
452: [14:17:25] <Rienco> Fixed. I made a function in the dataobject Wedstrijd wich returned the naam
453: [14:17:32] <Rienco> *name
454: [14:19:25] * elgabbu quit (Ping timeout: 246 seconds)
455: [14:20:07] * Olliepop quit (Ping timeout: 246 seconds)
456: [14:41:54] * catcher has joined #silverstripe
457: [14:47:13] * NETim has joined #silverstripe
458: [14:48:20] <NETim> Morning, added svg as a valid file type for an UploadField, but it is returning the following error: "error":"Extension is not allowed (valid: , ace, arc, arj, asf
459: [14:50:24] <micmania1|2> BED TIME :D
460: [14:51:17] <micmania1|2> kinglozzer: the failover between zones - not sure about that. We have failover betwen zones, but not sure about failover between regions.
461: [14:51:46] <micmania1|2> Its something we could do, but not sure if its part of what we currently offer
462: [14:51:47] <kinglozzer> micmania1|2: Ah okay, I think I'd got the two confused anyway
463: [14:51:53] <kinglozzer> (regions vs zones)
464: [14:52:11] <micmania1|2> anyway, its like 4am
465: [14:52:15] <micmania1|2> bed lol
466: [14:52:16] <micmania1|2> cya
467: [14:52:17] <kinglozzer> gnight :P
468: [15:02:46] <NETim> Anyone? adding SVG to the allowed file types?
469: [15:08:00] <Pyask> NETim: seems like you added it to the wrong group!
470: [15:08:09] <Pyask> file types are grouped, you might notice.
471: [15:08:18] <Pyask> seems like you've designated .svg as an ARCHIVE type
472: [15:08:41] <Pyask> or perhaps the other way around, your field thinks it wants an archive, is getting svg. I dunno. Dig man dig! :D
473: [15:15:25] <NETim> Pyask: eh?
474: [15:15:29] <NETim> all i did was $uploadField->setAllowedExtensions(array('svg'))
475: [15:16:18] <NETim> ?
476: [15:18:24] <kinglozzer> NETim: File::$allowed_extensions maybe?
477: [15:20:40] * NETim quit (Ping timeout: 246 seconds)
478: [15:22:57] * DimiStripe has joined #silverstripe
479: [15:28:29] * slievr has joined #silverstripe
480: [15:29:04] * Rienco quit (Ping timeout: 246 seconds)
481: [15:32:00] * NETim has joined #silverstripe
482: [15:33:12] <NETim> kinglozzer: ? Just seen your suggestion. How would I implement that?
483: [15:33:23] <kinglozzer> NETim: config.yml
484: [15:33:32] <kinglozzer> File: allowed_extensions: 'svg' should work I think
485: [15:35:32] * oddnoc has joined #silverstripe
486: [15:36:14] <NETim> Uploadfield returns forbidden, and FileField just does nothing...
487: [15:43:15] <slievr> how do I implement canView for a controller? as I call convertDataObjectSet wich needs canView in order to run
488: [15:44:34] <kinglozzer> NETim: Did you add it to File.allowed_extensions?
489: [15:44:44] <kinglozzer> It looks like that's where the error is coming from
490: [15:44:52] <NETim> File: allowed_extensions: 'svg'
491: [15:44:55] <NETim> in config.yml
492: [15:45:05] <NETim> Tried UploadField->allowedextensions
493: [15:46:04] <kinglozzer> NETim: flushed?
494: [15:46:59] <kinglozzer> Oh you might need to change it to this: https://gist.github.com/kinglozzer/948db1d3bae27ddf96a8 - note the '-'
495: [15:47:07] <kinglozzer> Forgot it's an array :P
496: [15:48:07] <NETim> ah, I'll give that a go, will that work with UploadField orjust FileField?
497: [15:48:28] <NETim> Never mind, found out.
498: [15:48:36] <NETim> It works, YAY.
499: [15:56:08] <Pyask> slievr: there is no canView for controllers - that's a model layer function.
500: [15:56:26] <Pyask> You're probably looking for private static $allowed_actions
501: [15:56:39] <Pyask> with some permission access descriptors
502: [15:56:47] <Pyask> see the docs on allowed_actions
503: [16:02:51] * Shrike_Finland has joined #silverstripe
504: [16:33:07] * ss31noob quit (Ping timeout: 246 seconds)
505: [16:42:29] * Shrike_Finland quit (Quit: Leaving.)
506: [16:45:09] * CodeTrap has joined #silverstripe
507: [16:45:26] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
508: [16:48:16] <Pyask> Nothing quite like that sense of achievement you feel when finishing an implementation stage on a project moments before the microsoft powered editor crashes and rm -rf's your last half hour's work.
509: [16:48:34] <Pyask> the rage that ensues is ... nasty
510: [16:53:16] * Shrike_Finland has joined #silverstripe
511: [16:58:34] <ss-helper> Re: How do I configure the datagrid of a Dataobject? - http://www.silverstripe.org/community/forums/customising-the-cms/show/101395#post400877
512: [17:01:13] * Otterpocket has joined #silverstripe
513: [17:04:22] <kinglozzer> Pyask: lol, reminded me of this https://twitter.com/bcrypt/status/580239306704343040
514: [17:04:26] <Otterpocket> Anyone running silverstripe on heroku?
515: [17:15:59] * kinglozzer quit ()
516: [17:16:33] <Pyask> hahahah oh lawdy kinglozzer :>
517: [17:19:51] <Pyask> huume taem
518: [17:19:53] * Pyask quit ()
519: [17:20:42] <nontgor> Pyask: I stopped using Windows in 97 after I got hacked whilst installing updates from a clean install. *walk away from the Microsoft*
520: [17:20:56] <nontgor> Pyask: ha, erm 2007 :)
521: [17:28:38] <ss-helper> Bad Gateway in Admin - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101407
522: [17:29:59] * MichalKl_ has joined #silverstripe
523: [17:30:16] * Otterpocket quit (Quit: Leaving)
524: [17:31:45] * MichalKleiner quit (Ping timeout: 246 seconds)
525: [17:41:08] * swaiba quit (Remote host closed the connection)
526: [17:44:10] * NETim quit (Ping timeout: 246 seconds)
527: [17:44:49] * DimiStripe quit (Ping timeout: 264 seconds)
528: [17:46:32] * DimiStripe has joined #silverstripe
529: [17:53:17] * GioVdK quit (Ping timeout: 250 seconds)
530: [18:14:13] * CodeTrap quit (Ping timeout: 248 seconds)
531: [18:16:45] * UndefinedOffset quit (Quit: Leaving.)
532: [18:17:08] * Shrike_Finland quit (Quit: Leaving.)
533: [18:20:33] * UndefinedOffset has joined #silverstripe
534: [18:24:34] * Shrike_Finland has joined #silverstripe
535: [18:24:40] * Stomach has joined #silverstripe
536: [18:27:28] * micmania1 has joined #silverstripe
537: [18:37:58] * Stomach quit (Quit: zzz)
538: [18:43:47] <ss-helper> Much of the confidence that India take into the game stems - http://www.silverstripe.org/community/forums/blog-module-forum/show/101408
539: [18:45:17] * toddvale_ has joined #silverstripe
540: [18:48:25] * toddvalentine quit (Ping timeout: 264 seconds)
541: [18:48:34] * jcwacky has joined #silverstripe
542: [18:49:18] <jcwacky> So I’ve just clicked the Add New button on a gridfield within a Page, how do I get the ID of the Page (before saving the DO)?
543: [18:51:02] * CodeTrap has joined #silverstripe
544: [19:00:11] * toddvalentine has joined #silverstripe
545: [19:03:29] * toddvale_ quit (Ping timeout: 250 seconds)
546: [19:06:38] * Stomach has joined #silverstripe
547: [19:13:48] * jcwacky quit (Quit: jcwacky)
548: [19:15:28] * mobiusnz has joined #silverstripe
549: [19:19:04] * Shrike_Finland quit (Quit: Leaving.)
550: [19:20:32] * Shrike_Finland has joined #silverstripe
551: [19:29:07] * jedateach has joined #silverstripe
552: [19:33:24] * antmas has joined #silverstripe
553: [19:43:44] * Stomach quit (Quit: zzz)
554: [19:43:54] <ss-helper> Mobile template on desktop - http://www.silverstripe.org/community/forums/template-questions/show/101409
555: [19:44:45] * nontgor quit (Ping timeout: 246 seconds)
556: [19:47:16] * Ryan-Toast has joined #silverstripe
557: [19:49:06] <antmas> morning all o/
558: [19:50:54] * DimiStripe quit (Quit: DimiStripe)
559: [19:57:04] * nontgor has joined #silverstripe
560: [19:57:09] * CodeTrap quit (Ping timeout: 256 seconds)
561: [19:57:42] <Ryan-Toast> Morning
562: [19:57:57] <Ryan-Toast> My power was out at my flat. No shower. I feel unclean.
563: [20:02:10] * micmania1|2 has joined #silverstripe
564: [20:03:58] <catcher> Ryan-Toast, your water is made of electricity?
565: [20:04:11] <Ryan-Toast> catcher: water heaters run on electricity.
566: [20:04:29] <catcher> Ryan-Toast, gas water tanks ftw.
567: [20:04:34] <Ryan-Toast> catcher: I wish.
568: [20:05:15] <Ryan-Toast> Actually have the worst showers in auckland. 7 people in the house, and old as fuck pipes = shit time.
569: [20:06:24] * micmania1 quit (Ping timeout: 264 seconds)
570: [20:09:07] <antmas> have a cold shower
571: [20:09:13] <Ryan-Toast> getfucked
572: [20:09:15] <Ryan-Toast> :P
573: [20:09:19] <antmas> did that yesterday and now I have a cold
574: [20:09:20] <antmas> gg antmas
575: [20:09:23] <Ryan-Toast> lol
576: [20:09:25] <Ryan-Toast> 10/10 plan
577: [20:09:37] <Ryan-Toast> mmm payday, feels so good.
578: [20:09:38] <antmas> would do again
579: [20:09:42] <antmas> Ryan-Toast: +1
580: [20:10:16] <Ryan-Toast> New Madeon album next week, aww yiss.
581: [20:10:28] <antmas> Ryan-Toast: y u no update playlist?
582: [20:10:34] <Ryan-Toast> antmas: Spotify.
583: [20:10:35] <Ryan-Toast> :P
584: [20:10:37] <antmas> :|
585: [20:10:43] * antmas stopped using spotify
586: [20:11:18] <Ryan-Toast> Why?
587: [20:11:57] <antmas> wasn't really using it much because lack of obscure bands and/or 'not available in your region' bs
588: [20:12:23] <Ryan-Toast> did you have premium?
589: [20:12:27] <antmas> did yeah
590: [20:12:31] <Ryan-Toast> Interesting.
591: [20:12:38] <antmas> like
592: [20:12:41] <antmas> album is released
593: [20:12:44] <Ryan-Toast> But yeah, obscure stuff is hard to find.
594: [20:12:56] <antmas> has all but 2 songs greyed out that I can play because NZ is peasant town
595: [20:13:06] <Ryan-Toast> I use this to find smaller groups on Spotify: http://www.gnoosic.com/
596: [20:13:41] <antmas> yeah I tried that, works pretty well
597: [20:14:48] * micmania1|2 quit (Ping timeout: 264 seconds)
598: [20:15:48] * Liquide quit (Ping timeout: 272 seconds)
599: [20:18:48] * Stomach has joined #silverstripe
600: [20:21:12] * Liquide has joined #silverstripe
601: [20:25:21] <antmas> everyone at works is to tense :O
602: [20:25:25] <antmas> calm down yo
603: [20:25:29] <antmas> so*
604: [20:25:53] <catcher> breathe, people
605: [20:26:16] * novaweb quit (Quit: Leaving)
606: [20:26:17] <Ryan-Toast> NO BREATHING
607: [20:27:03] <antmas> lots of 'can I quickly have a chat in the other room' type things
608: [20:27:04] <antmas> :|
609: [20:28:51] * UndefinedOffset quit (Quit: Leaving.)
610: [20:30:00] * Hailwood has joined #silverstripe
611: [20:30:31] * UndefinedOffset has joined #silverstripe
612: [20:31:19] * Hailwood quit (Client Quit)
613: [20:31:45] * Hailwood has joined #silverstripe
614: [20:34:55] * UndefinedOffset quit (Ping timeout: 255 seconds)
615: [20:45:43] * gelignite has joined #silverstripe
616: [20:47:23] * Liquide quit ()
617: [20:48:35] <Stomach> why is everyone so tense antmas
618: [20:49:42] <antmas> Stomach: long term plan going out to public, people sick, staff leaving etc
619: [20:52:59] <MichalKl_> stress is not good
620: [20:53:04] * MichalKl_ is now known as MichalKleiner
621: [20:54:18] * Ryan-Toast quit (Quit: Ryan-Toast)
622: [20:56:05] <Stomach> antmas :(
623: [21:00:50] <antmas> mmm
624: [21:05:04] * antmas quit (Ping timeout: 246 seconds)
625: [21:05:43] * matt-in-a-hat has joined #silverstripe
626: [21:07:17] <ss-helper> SilverStripe 3.1.0-beta2 - https://groups.google.com/d/msg/silverstripe-announce/fT3lquh9T9I/KMJoBhlz0b0J
627: [21:09:16] <Stomach> wtf ss helper
628: [21:12:39] * antmas has joined #silverstripe
629: [21:12:42] <matt-in-a-hat> Hi there. After a security issue on 1 of our CWP instances, it was raised that it is possible to redirect to absolute URL from login. E.g. my-silverstripe-site.com/Security/login?BackURL=/\attacker-site.com on successful login will redirect to http://attacker-site.com (and if that website were set up to look identical to the first with "login failed" then the user will likely just enter their user/pass again). Is this a
630: [21:13:00] <antmas> o.O
631: [21:13:01] <matt-in-a-hat> Security audit*
632: [21:13:02] <antmas> wat
633: [21:15:59] * muskie9 has joined #silverstripe
634: [21:16:04] * Pyromanik has joined #silverstripe
635: [21:16:23] <antmas> muskie9: Pyromanik o/
636: [21:16:31] <muskie9> o?
637: [21:16:35] <muskie9> o/
638: [21:16:37] <muskie9> oops
639: [21:16:37] <muskie9> lol
640: [21:16:57] <Pyromanik> \o antmas
641: [21:17:08] <antmas> muskie9: pirate!
642: [21:17:10] <antmas> o?
643: [21:17:13] <antmas> yargh
644: [21:17:20] <muskie9> that works lol
645: [21:17:37] <muskie9> that or scratching your head o?
646: [21:18:11] <antmas> lol true
647: [21:18:29] <antmas> or a person with big nose looking sideways
648: [21:20:10] * micmania1 has joined #silverstripe
649: [21:22:18] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
650: [21:25:10] <matt-in-a-hat> I'll put it on github.com/silverstripe/silverstripe-framework/issues then
651: [21:26:50] <Stomach> matt-in-a-hat - there is a security list
652: [21:26:53] <Stomach> one sec ill grab it for you
653: [21:27:19] <Stomach> http://doc.silverstripe.org/en/contributing/issues_and_bugs#reporting-security-issues
654: [21:27:21] <Stomach> matt-in-a-hat ^
655: [21:27:24] <adrexia> matt-in-a-hat, oh that's a good one
656: [21:27:39] <adrexia> send them a real login link that redirects them to your attack site
657: [21:28:20] * catcher quit (Quit: Leaving)
658: [21:29:00] <matt-in-a-hat> Okay thank you
659: [21:29:07] <ss-helper> Re: Bad Gateway in Admin - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101407#post400881
660: [21:29:08] <antmas> ss23: haven't you mentioned this before? ^^^^^
661: [21:29:11] <adrexia> I guess, you'd fix it by limiting redirects to same domain?
662: [21:30:26] <adrexia> hmm
663: [21:30:32] <adrexia> I can't replication it though
664: [21:31:29] <adrexia> oh wait, no there it goes
665: [21:32:44] <adrexia> err, now I'm worried that this is docuemnted in the logs
666: [21:36:15] * Colin[pi] has joined #silverstripe
667: [21:40:39] * spronk2 has joined #silverstripe
668: [21:47:31] * Shrike_Finland1 has joined #silverstripe
669: [21:48:11] <antmas> Colin[pi]: o/
670: [21:48:25] <antmas> spronk2: o/
671: [21:48:41] <spronk2> \ O
672: [21:49:02] * Ryan-Toast has joined #silverstripe
673: [21:49:03] <MichalKleiner> \
674: [21:49:07] <MichalKleiner> \
675: [21:49:09] <MichalKleiner> O
676: [21:49:15] <MichalKleiner> nearly perfect :-D
677: [21:49:19] <spronk2> :D WD
678: [21:49:37] * Shrike_Finland quit (Ping timeout: 255 seconds)
679: [21:50:32] <Colin[pi]> antmas spronky MichalKleiner: o/ o/ o/
680: [21:51:16] <MichalKleiner> waiving intensifies :D
681: [21:51:24] <MichalKleiner> waving
682: [21:51:31] <spronk2> WAVING INTENSIFIES!!!
683: [21:51:39] * mobiusnz quit (Quit: Leaving.)
684: [21:51:42] * mahfuz has joined #silverstripe
685: [21:51:48] <MichalKleiner> new product... SilverWave
686: [21:51:50] <spronk2> \o \o \o \o \o \O \O \O \ O \ O \ O \ O /
687: [21:52:02] <MichalKleiner> and the logo is \o
688: [21:53:01] <Ryan-Toast> These interviews are so painful.
689: [21:53:07] <spronk2> ?
690: [21:53:17] <Ryan-Toast> Why can’t I find a decent intermediate dev/front-end dev?
691: [21:53:21] <MichalKleiner> yeah, finding a good dev that is not a basement freak is har
692: [21:53:21] <spronk2> ugh
693: [21:53:21] <spronk2> yeah
694: [21:53:23] <MichalKleiner> hard
695: [21:53:29] <spronk2> we've been doing a few interviews lately
696: [21:53:32] <Ryan-Toast> *impossible
697: [21:53:40] <Ryan-Toast> Going to have to go to a recruitment agency, sigh.
698: [21:53:41] <spronk2> software engineer who hadn't heard of design patterns. go figure.
699: [21:53:47] <MichalKleiner> Ryan-Toast we have good experience with Absolute IT
700: [21:54:04] <Ryan-Toast> MichalKleiner: Will look into that, cheers.
701: [21:54:34] <MichalKleiner> I was recruited by them for Chrometoaster and really good and correct approach afaik
702: [21:54:42] <Ryan-Toast> Been picking and choosing a few questions from here: https://github.com/h5bp/Front-end-Developer-Interview-Questions and people fucking panic, and don’t know a single one...
703: [21:55:32] <MichalKleiner> well.. I wouldn't mind people not knowing if they immediately say "ok, I'll google this, try this, because of this".. see some experience in solving problems.. no one knows everything
704: [21:56:08] <Ryan-Toast> MichalKleiner: that’s fine, but if you call yourself a senior front end developer and don’t know what box-size: border-box does then I’m afraid you should go away.
705: [21:56:18] <Ryan-Toast> box-sizing**
706: [21:56:20] <MichalKleiner> tru dat
707: [21:56:31] * matt-in-a-hat quit (Ping timeout: 246 seconds)
708: [21:56:40] <MichalKleiner> that's why I call myself backend dev :-D
709: [21:56:43] <Ryan-Toast> “Have you had a play with FlexBox?” , I don’t know what that is...
710: [21:57:00] <Ryan-Toast> IT’S BEEN IN THE SPEC FOR TWO YEARS
711: [21:57:04] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
712: [21:57:08] <Ryan-Toast> Maybe I’m being too picky.
713: [21:57:18] <Ryan-Toast> No, it’s the children who’re wrong.
714: [21:57:38] <Colin[pi]> ^ it's always the children who are wrong
715: [21:58:52] * Azure has joined #silverstripe
716: [22:00:37] <ss-helper> Regionalisation/Geolocation best practices - https://groups.google.com/d/msg/silverstripe-dev/oVm4NQNu2Wg/i5gROKstaVsJ
717: [22:03:45] <MichalKleiner> I used to be quite picky and punctual too.. it's going slowly away with getting more experience at work and in life.. everyone can't be so perfect :-D
718: [22:06:56] <MichalKleiner> and often it's better to get an enthusiast and teach them to getting a so-called pro who doesn't fit the team because of his personality or so..
719: [22:07:08] * antons has joined #silverstripe
720: [22:10:53] <Pyromanik> Ryan-Toast, I'm a decent intermediate dev/front-end dev!
721: [22:11:09] <Pyromanik> I can even do it with the waverstripes
722: [22:11:14] <Ryan-Toast> Pyromanik: when do you come back?
723: [22:11:29] <Pyromanik> o/
724: [22:11:36] <Pyromanik> Ryan-Toast, back?
725: [22:11:40] <Pyromanik> I thought you were coming here?
726: [22:11:55] <Ryan-Toast> Pyromanik: I’m hiring people as my replacement :D
727: [22:12:02] <Pyromanik> ah, fuck that.
728: [22:12:07] <Pyromanik> ps, flexbox is shit.
729: [22:12:26] <Pyromanik> Been in the spec for 2 years NOT THE 'LIVE' ONE!
730: [22:12:48] <Ryan-Toast> Flexbox is amazing.
731: [22:12:51] <Pyromanik> so yes, too picky. But no, not too picky.
732: [22:13:04] <Pyromanik> yeah nah, it's areet.
733: [22:13:05] <Ryan-Toast> Been working on a graceful degredation version of Flexbox.
734: [22:13:14] <Ryan-Toast> It’s coming along nicely.
735: [22:13:21] <Ryan-Toast> still a few GOTSCHAS to work ouit.
736: [22:13:26] <Ryan-Toast> GOTCHAS**
737: [22:13:31] * micmania1 quit (Quit: micmania1)
738: [22:13:32] <spronk2> flexbox is waaaaaaay more complex than it should be
739: [22:13:55] <Ryan-Toast> Once you get your head around it it’s fine, but initially uyou;’re just like.. wut?
740: [22:14:28] <Pyromanik> I build websites all <!DOCTRYPE html><html><head><title>A fuck&apos;n website</title></head><body><h1>MOTHERFUCKING TITLE</h1><p>Responsive as shit, bitches. Jealous much?</p></body>
741: [22:14:36] <Pyromanik> </html>
742: [22:14:54] <Pyromanik> It's important to have the closing html on a new line, but not the doctype.
743: [22:14:57] <Ryan-Toast> Pyromanik: http://motherfuckingwebsite.com/
744: [22:15:16] <Pyromanik> nah fool, my style is way more elite than that pretender's.
745: [22:15:29] <Ryan-Toast> pretender’s what?!
746: [22:15:33] <Pyromanik> style!
747: [22:15:35] <Pyromanik> fool
748: [22:15:39] <Pyromanik> I PITY YOU
749: [22:15:40] * novaweb has joined #silverstripe
750: [22:15:54] <Ryan-Toast> AND MY WRATH SHALL RAIN DOWN LIKE A MILLION IE6 BUGS!
751: [22:16:05] <Pyromanik> what spronk2 said, only also what you said because if you find it confusing you're just bad at logic.
752: [22:16:23] <spronk2> yeah
753: [22:16:23] <spronk2> its
754: [22:16:24] <spronk2> "fine"
755: [22:16:24] <spronk2> but
756: [22:16:31] <spronk2> my god, it could be soooo much simpler, and better
757: [22:16:42] <Pyromanik> Ryan-Toast, SAY EYE-EE AGAIN, SAY IE ONE MORE GODDAMN TIME
758: [22:17:00] <Pyromanik> spronk2, it could be Qt
759: [22:17:06] <spronk2> or..
760: [22:17:07] <spronk2> GRIDBAG
761: [22:17:28] * micmania1 has joined #silverstripe
762: [22:17:29] <Pyromanik> or y'know... any UI layout used in the past THIRTY FUCKING YEARS (they're all pretty much the same)
763: [22:17:45] <Pyromanik> But oh no, not the fuck'n internet!
764: [22:17:54] <Pyromanik> Morons be too hard up on how to make shit work
765: [22:17:59] <Pyromanik> because the internet is for morons
766: [22:18:01] <Pyromanik> and porn.
767: [22:18:04] <Colin[pi]> interderp
768: [22:18:05] <Pyromanik> the internet is for porn.
769: [22:18:33] <spronk2> GRAB YOUR D**K AND DOUBLE CLICK!
770: [22:18:52] * Sticks has joined #silverstripe
771: [22:18:57] <Pyromanik> I unno about u brah, but takes me much more than 2 clicks! xD
772: [22:18:58] <Colin[pi]> lol love that song
773: [22:20:08] <Pyromanik> y'know what else I love?
774: [22:20:15] <Pyromanik> motherfuck'n well defined software.
775: [22:20:23] <Colin[pi]> Pyromanik: LUDICROUS
776: [22:20:30] <Colin[pi]> show me this well defined software
777: [22:22:00] <Pyromanik> Well you certainly won't find it in anything martin fowler spews out.
778: [22:22:11] <spronk2> :O
779: [22:22:16] <spronk2> FOWLER IS A SOFTWARE GOD!
780: [22:23:58] <Colin[pi]> I have his PoEAA book, it's pretty awesome
781: [22:24:08] <spronk2> mm
782: [22:24:08] <Pyromanik> A software god that puts his name on software papers that can't tell the mother fuck'n difference in application between observer and reactor (nor give credit to the reactor fellow)
783: [22:24:51] <Pyromanik> harps on about reactor all the things and nosql is the god of storage.
784: [22:25:07] <Pyromanik> sounds just like any other blinker focussed fanboi
785: [22:25:13] <spronk2> nah bro
786: [22:25:16] <spronk2> he's good
787: [22:25:20] <spronk2> everyone has rough edges
788: [22:25:28] <spronk2> but he's usually pretty good, has sensible things to say
789: [22:25:33] <Pyromanik> 'buy appels because theyre better' - 'why?' - 'I DUNNO THEY JUST FUCKING ARE BUY ONE'
790: [22:25:46] <Pyromanik> spronk2, yeh, for the most part I'll agree.
791: [22:26:22] <Pyromanik> but the shit that gets the most hoohah is the bits where someone went off the deep end (admittedly he's only like 4th author, but everyone picks his name out)
792: [22:26:39] * martinphone has joined #silverstripe
793: [22:28:00] <martinphone> I have a small question about finally moving from having everything in _config.php to using _ss_environment...?
794: [22:28:31] <Pyromanik> spronk2, basically everything this person has to say on the paper in question: http://java.dzone.com/articles/few-thoughts-deprecating
795: [22:28:56] <Pyromanik> martinphone, ... helps if you actually ask the question then! :>
796: [22:29:25] <martinphone> Quite simply, on my home server, everything is just fine. but on the live server, every database has a unique name (obvs) AND username AND password. so is it even worth it?
797: [22:29:37] <martinphone> (sorry) :)
798: [22:29:38] <Pyromanik> well yeah
799: [22:29:51] <Pyromanik> just put it in the SS root instead of a common ancestor dir
800: [22:30:12] <Pyromanik> it allows you to commit _config.php without messing up db config
801: [22:30:27] <Pyromanik> between dev and prod
802: [22:30:51] <adrexia> yes.
803: [22:31:17] <martinphone> as I understand it, ss_database_username is mandatory in the _ssenvironment.php though? this is where I get confused.
804: [22:31:20] <adrexia> that's not even obscure
805: [22:31:23] <Ryan-Toast> adrexia: you looking for a job? :P
806: [22:31:41] <adrexia> I mean, I've used flexbox once or twisce, I use box-sizing like all the time
807: [22:31:50] <adrexia> Ryan-Toast, not in Auckland :P
808: [22:32:09] <Ryan-Toast> adrexia: you should move to Auckland.
809: [22:32:16] <adrexia> ...
810: [22:32:19] <Ryan-Toast> Save me from these noobs.
811: [22:32:20] <MichalKleiner> what's the offer Ryan-Toast? :-)
812: [22:32:28] <adrexia> that seems like a giant step to the wrong locvation ;)
813: [22:32:33] <Pyromanik> also spronk2 - this: http://programming-motherfucker.com/
814: [22:32:34] <Ryan-Toast> MichalKleiner: Depends
815: [22:32:48] <Pyromanik> (in reference to extreme programming)
816: [22:32:58] <spronk2> lol
817: [22:33:00] <spronk2> XP is decent
818: [22:33:05] <spronk2> pair programming is a bit weird sometimes
819: [22:33:09] <spronk2> but XP is otherwise very very good
820: [22:33:14] <spronk2> not like that scrum hsit
821: [22:33:16] <spronk2> shit
822: [22:33:18] <spronk2> which is for managers
823: [22:33:27] <Pyromanik> yeh.
824: [22:33:49] <adrexia> Ryan-Toast, where do you work ?
825: [22:34:00] <adrexia> Toast?
826: [22:34:13] <Ryan-Toast> adrexia: http://www.toast.co.nz/ please hold off on judgement, I’m rebuilding the website currently :P
827: [22:34:28] <Pyromanik> spronk2, yeah basically - google.co.nz/search?q=Planning+Extreme+Programming
828: [22:34:28] <adrexia> lol that's what I thought ;)
829: [22:34:33] <Ryan-Toast> It was like that before I started :P
830: [22:34:33] <Pyromanik> see authors though
831: [22:34:36] <Pyromanik> :P
832: [22:34:36] <adrexia> its not bad, but ... there's no jobs section
833: [22:34:41] <spronk2> yeah
834: [22:34:48] <spronk2> there's nothing wrong with that site man
835: [22:34:49] <Ryan-Toast> adrexia: we don’t hire that many people.
836: [22:34:51] <Ryan-Toast> No point
837: [22:35:08] <adrexia> perhaps - but it could explain why you aren't getting senior people
838: [22:35:14] <Ryan-Toast> adrexia: yarp.
839: [22:35:36] <Ryan-Toast> adrexia: I said we should just put the salary bracket on seek, that will get way more people.
840: [22:35:48] <adrexia> quite likely, yeah
841: [22:35:57] <adrexia> if it's decent
842: [22:36:35] * martinphone quit (Quit: Page closed)
843: [22:36:40] <Ryan-Toast> It’s pretty good.
844: [22:36:47] <adrexia> is that actually your building in the pictures?
845: [22:36:48] <Ryan-Toast> for an intermediate anyway.
846: [22:36:52] <adrexia> its really nice
847: [22:36:52] <Ryan-Toast> yarp
848: [22:37:16] <Stomach> adrexia - need a new job? we're hiring :P
849: [22:37:26] <Ryan-Toast> Stomach: nooo, go away!
850: [22:37:26] <adrexia> hahahaha
851: [22:37:36] <Ryan-Toast> Stomach: come replace me.
852: [22:37:44] <Stomach> https://www.littlegiant.co.nz/careers/
853: [22:37:47] <Ryan-Toast> Don’t even need an interview, just need your price :D
854: [22:37:52] <spronk2> god
855: [22:37:54] <spronk2> everyone needs staff
856: [22:37:55] <spronk2> wtf
857: [22:38:01] <Pyromanik> Lets play a game
858: [22:38:04] <Ryan-Toast> *good staff*
859: [22:38:07] <adrexia> you are both in completely the wrong city guys :P
860: [22:38:09] <spronk2> aka not me
861: [22:38:10] <spronk2> :D
862: [22:38:10] <Pyromanik> who is based in WLG and wants to hire THIS GUY
863: [22:38:22] <adrexia> lol
864: [22:38:24] <Stomach> adrexia - nah you are in the wrong city!
865: [22:38:40] <Ryan-Toast> Pyro: we said good developers, man.
866: [22:38:40] <spronk2> Pyromanik you want to move to double you ell gee
867: [22:38:41] <spronk2> ?
868: [22:38:50] <Pyromanik> spronk2, yeh.
869: [22:38:58] <spronk2> WLGEIRDO
870: [22:38:58] <Pyromanik> sick of being on the wrong island
871: [22:39:02] <spronk2> lol
872: [22:39:03] <spronk2> you back in nz?
873: [22:39:04] <Pyromanik> xD
874: [22:39:05] <Pyromanik> nup
875: [22:39:06] <Pyromanik> lol
876: [22:39:11] <spronk2> well
877: [22:39:16] <Pyromanik> THE WRONG ISLAND IS THE UK ONE
878: [22:39:17] <spronk2> that's why you think you're on the wrong island
879: [22:39:20] <MichalKleiner> WLG FTW
880: [22:39:33] <spronk2> wellington is for hipsters
881: [22:39:46] <Pyromanik> I'm old now, I need to be hipster to feel cool still.
882: [22:39:51] <spronk2> sigh
883: [22:39:54] <Pyromanik> :P
884: [22:40:06] <Pyromanik> gonna go out and buy some thick dark rim glasses
885: [22:40:14] <Pyromanik> and pants I cannot sit down in.
886: [22:40:19] <Pyromanik> ... or put on.
887: [22:40:25] <MichalKleiner> and grow huge beard
888: [22:40:33] <spronk2> too windy. too compact. too shit hockey. too spensive. too hipster. :P
889: [22:40:40] <spronk2> too public sector
890: [22:40:42] <Pyromanik> haha shit hockey
891: [22:40:55] <Pyromanik> I took on so many injuries last time I tried that
892: [22:41:01] <MichalKleiner> yeah wind is the only thing I'd remove
893: [22:41:03] <spronk2> love that shit
894: [22:41:05] <spronk2> in div 2 this year
895: [22:41:11] <Pyromanik> Sorta miss it, but on the other hand... I don't.
896: [22:41:17] <Pyromanik> I lament it.
897: [22:41:19] <spronk2> not the gigantic earthquake hazard, MichalKleiner ? :P
898: [22:41:38] <MichalKleiner> nah.. I fancy rollercoasters :-D
899: [22:41:50] <Pyromanik> I'd go further up island IF THERE WAS ANY FUCKING MONEY AROUND
900: [22:41:54] <MichalKleiner> and I come from mid europe where we had no equakes
901: [22:42:06] <Pyromanik> MichalKleiner, that's just not true.
902: [22:42:36] <MichalKleiner> yeah, once in a lifetime something like 3.nothing miles deep
903: [22:42:43] <Pyromanik> 5.5 in ~2005
904: [22:42:49] <Pyromanik> on like... Poland.
905: [22:43:10] <MichalKleiner> yeah but the land mass is soooo massive that hardly feelable
906: [22:43:27] <spronk2> i dont think thats how earthquake swork..
907: [22:43:34] <Pyromanik> tetonic rebound
908: [22:43:43] <Pyromanik> it works.
909: [22:44:06] <spronk2> it's going to be funny when wellington breaks apart
910: [22:44:20] <spronk2> and people finally realise what a godawful place to build a capital city it is
911: [22:44:27] * toddvalentine quit (Remote host closed the connection)
912: [22:44:49] <Stomach> MichalKleiner you leave beards alone
913: [22:45:40] <Pyromanik> Beards is man, not hipster.
914: [22:45:54] <spronk2> no
915: [22:45:56] <spronk2> beards used to be man
916: [22:45:59] <spronk2> now they're just hipster
917: [22:46:02] <spronk2> but then again
918: [22:46:08] <Pyromanik> hipsters can have beards, but only because the sometimes happen to have penises too, apparently (Fuck knows where they put them in those ridiculous pants)
919: [22:46:10] <spronk2> shaving your face is now hipster too, because of all these fancy razors
920: [22:47:16] <spronk2> so
921: [22:47:17] <spronk2> you're kinda fucked
922: [22:47:26] <spronk2> no
923: [22:47:28] <spronk2> MOUSTACHES
924: [22:47:29] <spronk2> YES
925: [22:47:34] <spronk2> PROBLEM SOLVED!
926: [22:47:42] <Pyromanik> spronk2, http://programming-motherfucker.com/ I never realised how much this was an actual thing - but now I dream/live the nightmare every day (longing to just be able to do... PROGRAMMING MOTHERFUCKER)
927: [22:47:56] * UncleCheese has joined #silverstripe
928: [22:48:01] <Pyromanik> yeah, moustache. Gawd fuck, that's some hipster shit.
929: [22:48:07] <spronk2> WHAT
930: [22:48:08] <mahfuz> Hey guys the following code gives error when there is no object found (Call to a member function Agents() on a non-object), how can I re-write it? - $shortlist = Shortlist::get()->filter(array('MemberID' => $member->ID))->First()->Agents()->count();
931: [22:48:09] <spronk2> NO WAY
932: [22:48:12] <Pyromanik> mustache* idk, somethinglike that
933: [22:48:36] <Pyromanik> spronk2, unless you're like stalin & over 50 with a moustache, then yes.
934: [22:48:48] <spronk2> what about a big fuckoff merv mo?
935: [22:49:02] <Pyromanik> merv mo pretty much is stalin level.
936: [22:49:10] <spronk2> DAMN STRAIGHT
937: [22:49:29] <Pyromanik> Gotta be able to pull it off though (but not literally)
938: [22:50:46] <adrexia> I actually really like the Wellignton wind
939: [22:50:57] <adrexia> its something you end up missing
940: [22:50:59] <Pyromanik> Are you a kite surfer?
941: [22:51:01] <spronk2> :|
942: [22:51:03] <adrexia> <spronk2> wellington is for hipsters
943: [22:51:12] <adrexia> wellington is for everyone bro
944: [22:51:12] <adrexia> ;)
945: [22:51:21] <adrexia> we don't judge
946: [22:51:21] <spronk2> hipsters with their craft beer
947: [22:51:24] <spronk2> and
948: [22:51:29] <spronk2> ... pants
949: [22:51:33] <Pyromanik> politicians
950: [22:51:36] <spronk2> ILL MAKE MY OWN CITY
951: [22:51:36] <Pyromanik> :C
952: [22:51:38] <spronk2> WITH BLACK JACK
953: [22:51:39] <spronk2> AND HOOKERS
954: [22:51:48] <Ryan-Toast> spronk2: forget the city.
955: [22:51:53] <spronk2> :D
956: [22:51:58] <adrexia> politicians mostly live elesewhere. thye just visit lots
957: [22:52:09] <Pyromanik> lots is too much.
958: [22:52:13] <adrexia> true
959: [22:52:16] <spronk2> i guess the positive is that it's probably the best place to assassinate them
960: [22:52:19] <spronk2> for being the useless fucks they are?
961: [22:52:23] <adrexia> but all the horriblist ones live in Auckland
962: [22:52:23] <MichalKleiner> Stomach: nothing personal, that's just my observation and it kinda seems hipstery
963: [22:52:26] <adrexia> ;)
964: [22:52:39] <Colin[pi]> adrexia: like Canberra, we have a big fancy house paid for by tax payers for the PM, but nooo, he has to live in Sydney
965: [22:52:49] <Colin[pi]> just like the former Liberal PM
966: [22:52:55] <adrexia> MichalKleiner, Wellignton was hipster before that was a thing ;)
967: [22:53:15] <Pyromanik> hahaha
968: [22:53:16] <Pyromanik> zing!
969: [22:53:19] <adrexia> (ironical statement - but look at photos from liek 10 years ago... and wow, hipster)
970: [22:53:46] <Pyromanik> urgh
971: [22:53:53] <MichalKleiner> :-))
972: [22:53:57] <Pyromanik> anyone who puts 'intern' in a job description should be instantly shot.
973: [22:54:01] <Ryan-Toast> Wellington in a nutshell: https://www.youtube.com/watch?v=lVmmYMwFj1I
974: [22:54:06] <adrexia> I think we called it 'emo' back then. before emo meant goth
975: [22:54:18] <adrexia> Pyromanik, why>
976: [22:54:20] <adrexia> ?
977: [22:54:20] <spronk2> lawwwwl
978: [22:54:28] <Pyromanik> just write "Someone young and naive we can use then throw away after promising the world and never delivering" instead.
979: [22:54:30] <spronk2> just one gear on my fixie bike
980: [22:54:32] <spronk2> fucking loooool
981: [22:54:45] <adrexia> Pyromanik, we don't have that culture with interns here
982: [22:55:00] <Pyromanik> define intern then
983: [22:55:20] <adrexia> we actually mean - someone who is bright and willing to learn all the things that we can then hire
984: [22:55:28] <Pyromanik> so junior?
985: [22:55:37] <spronk2> Ryan-Toast that is gold
986: [22:55:45] <Pyromanik> Just say junior.
987: [22:55:46] <Ryan-Toast> spronk2: internet classic.
988: [22:55:51] <adrexia> it's what junior meant before junior started to mean everyone who will never be intermmediate
989: [22:55:52] <adrexia> :P
990: [22:56:15] <Pyromanik> haha adrexia - you mean what junior meant when people actually had fuck'n jobs up for go
991: [22:56:17] <spronk2> ... since when did junior mean that?
992: [22:56:18] <spronk2> you damn hipsters
993: [22:56:21] <Pyromanik> not hipster bullshit buzzwords
994: [22:56:27] <Pyromanik> use once and throw away
995: [22:56:51] <Pyromanik> 'intern' needs to die a death unless they're actually on loan for work experience from a university or something.
996: [22:56:52] * mobiusnz has joined #silverstripe
997: [22:57:09] <Pyromanik> like over here, motherfuck'n "Apprenticeship" in web development
998: [22:57:11] <Pyromanik> OH WAIT
999: [22:57:14] <Pyromanik> 'web design'
1000: [22:57:25] <Pyromanik> because desgining means you know php, etc.
1001: [22:57:33] <Pyromanik> but nothing to do with colour theory.
1002: [22:57:38] <spronk2> to my vocabulary, intern is someone who is generalyl either unpaid, or paid on low rate, while still studying
1003: [22:57:51] <Pyromanik> spronk2, exactly. And it's not something that's done in NZ.
1004: [22:57:57] <spronk2> hmm
1005: [22:57:57] <spronk2> it is
1006: [22:58:00] <spronk2> software places it is
1007: [22:58:03] <Pyromanik> or like... anywhere except usa a-ok
1008: [22:58:16] <spronk2> quite a few places in chch take software interns over summer
1009: [22:58:18] <Pyromanik> spronk2, yeah but we call that work experience, or placement.
1010: [22:58:26] <spronk2> do wel?
1011: [22:58:32] <spronk2> we just called it internships..
1012: [22:58:32] <Pyromanik> yeah, 'over summer' - that's just a fucking job!
1013: [22:58:51] <adrexia> Pyromanik> haha adrexia - you mean what junior meant when people actually had fuck'n jobs up for go
1014: [22:58:57] <adrexia> well its an interesting thing
1015: [22:59:14] <adrexia> not everyone fits into the junior/intermediate/senior system
1016: [22:59:35] <adrexia> that really relies on people actually being good at learning and wanting to do better
1017: [22:59:37] <Pyromanik> My experience with NZ job market is that everyone wants to hire intermediate (at least) at junior rate
1018: [23:00:01] <Pyromanik> also no teaching.
1019: [23:00:03] <Pyromanik> ever.
1020: [23:00:13] <Pyromanik> learn in your own time, we're not going to invest in you.
1021: [23:00:31] <spronk2> heh
1022: [23:00:31] <spronk2> yeah
1023: [23:00:32] <Pyromanik> hmm, slightly unfair. My last place did.
1024: [23:00:35] <spronk2> pretty much....
1025: [23:00:42] <Pyromanik> but that was actually a good place to work.
1026: [23:00:49] <adrexia> <spronk2> to my vocabulary, intern is someone who is generalyl either unpaid, or paid on low rate, while still studying
1027: [23:00:53] <adrexia> that's actually illegal
1028: [23:00:59] <spronk2> no it isn't...
1029: [23:01:28] <Pyromanik> SMB/E in NZ is generally pretty stingy when it comes to hiring the right people, or investing, or just doing anything well.
1030: [23:01:29] <adrexia> we just had a summer of tech intern. She was awesome, so now she's full time employed
1031: [23:01:35] <Pyromanik> do it cheap or don't do it is pretty much the motto.
1032: [23:01:58] <Pyromanik> adrexia, haha, sounds like my work.
1033: [23:02:05] <Pyromanik> get a temp in every month or so.
1034: [23:02:05] <adrexia> spronk2 - if you are employing soemone you have to pay minimum wage
1035: [23:02:09] <Pyromanik> all of them still work here.
1036: [23:02:11] <adrexia> we have employment laws
1037: [23:02:14] <mahfuz> 100% agree with you Pyromanik with my last 2+ experience working in NZ
1038: [23:02:17] <spronk2> adrexia you're allowed to ahve unpaid interns if there's a genuine trading opportunity
1039: [23:02:24] <Pyromanik> ... unless they get pregnant. But then they're just on maternity leave, they technically still work here.
1040: [23:02:40] <adrexia> summer of tech interns have to be paid $20 an hour minimum
1041: [23:02:48] <spronk2> if there's an employment relationship, then they ahve to be paid
1042: [23:03:11] <Pyromanik> spronk2, adrexia I think maybe (well in my mind at least) an 'internship' actually means it's going towards your degree, or whatever.
1043: [23:03:21] <adrexia> and we totally have an expectation that interns are here to learn
1044: [23:03:40] <Pyromanik> I'd expect anyone that works for me to be there to learn.
1045: [23:04:15] <Pyromanik> If you're not trying to learn something new about what you do, you're in the wrong job and you're going to be shit at it.
1046: [23:04:31] <adrexia> Pyromanik, here it's more like an entry to the work place thing
1047: [23:04:42] <Hailwood> Hey guys, so I have finally put an SSD inside my laptop - but my /dev/build?flush=all is still taking over a minute through vagrant - any ideas on how to speed it up?
1048: [23:04:47] <Pyromanik> ergo the difference between people who 'have a job' and those who basically just 'pay the bills'
1049: [23:04:53] <spronk2> see you can totally get around having to pay someone if you can show that you're training them
1050: [23:04:55] <adrexia> getting experience so you can be employed (because noone wants to employ without experience)
1051: [23:05:00] <spronk2> because they would otherwise have to pay for said training
1052: [23:05:04] <Pyromanik> spronk2, you mean if they're 14.
1053: [23:05:20] <adrexia> Pyromanik, I mean interns aren't there to make the business money
1054: [23:05:25] <adrexia> they are an investment
1055: [23:05:35] <Pyromanik> no, that's still a junior
1056: [23:05:40] <adrexia> lol
1057: [23:05:45] <Pyromanik> interns go away again and continue study.
1058: [23:06:04] <adrexia> you are using the word differently to how the NZ IT sector use it
1059: [23:06:28] <adrexia> I would call what you are describing 'work expereince'
1060: [23:06:43] <Pyromanik> everyone in the fucking world uses the damn world differently, and I guess that's my point. It fucks me off :<
1061: [23:06:49] <adrexia> <Pyromanik> If you're not trying to learn something new about what you do, you're in the wrong job and you're going to be shit at it.
1062: [23:06:51] <Pyromanik> adrexia, and I would too.
1063: [23:06:53] <adrexia> agree with taht so much
1064: [23:07:06] <Pyromanik> that's why I'm saying it shoudln't be called an 'internship'
1065: [23:07:25] <Pyromanik> because to me internship pretty much == work experience
1066: [23:07:28] <adrexia> but... why not?
1067: [23:07:33] <spronk2> nah, that's not true
1068: [23:07:35] <Pyromanik> because that's the definition
1069: [23:07:40] <adrexia> lol
1070: [23:08:00] <adrexia> what about apprentice then?
1071: [23:08:01] <spronk2> ^^ there are plenty of cases where people's jobs should not be trying to learn something new about what they do
1072: [23:08:04] <Pyromanik> like bra. That's something women wear on their upper torso. Not your friend.
1073: [23:08:07] <spronk2> apprentice is a trade term
1074: [23:08:15] <adrexia> I thibnk our definition is a synonym for apprentice
1075: [23:08:22] <spronk2> Pyromanik I believe the correct term is: "Brah"
1076: [23:08:39] <Pyromanik> and yeah, internship is the 'white collar' equivalent of an apprenticeship - except for the fact that apprentices stay on. Interns don't.
1077: [23:08:46] <Pyromanik> spronk2, depends where you are.
1078: [23:08:56] <Pyromanik> but yeah, that's basically the sole reason for the H being there.
1079: [23:08:57] <adrexia> yeah - we don't have that second part as often
1080: [23:09:21] <adrexia> every single intern for every company I've worked for so far has been employed full tiem at the end of the intership
1081: [23:09:24] <Pyromanik> internship is a way for greedy corporate america to 'try before you buy' to me.
1082: [23:09:32] <Pyromanik> I disapprove of the word on about every level.
1083: [23:09:35] <Pyromanik> because of this.
1084: [23:09:36] <adrexia> though -there is no solid expectation that tehy would be
1085: [23:10:06] <adrexia> American internships are a scam
1086: [23:10:15] <Pyromanik> in which case it's still more of an apprenticeship, but I heartily disagree of that being used for non trade jobs adrexia
1087: [23:10:17] <Pyromanik> :P
1088: [23:10:17] <adrexia> they _are_ misusing the term
1089: [23:10:30] <Pyromanik> adrexia, yeah, basically, but that's where the word originates from.
1090: [23:10:33] <spronk2> google interns get paid pretty damn well, fwiw
1091: [23:10:35] <Pyromanik> well, in my mind at least.
1092: [23:10:41] <adrexia> from america?
1093: [23:10:49] <adrexia> ...I don't think taht's acvcurate
1094: [23:10:50] <Pyromanik> it's one of those things that's spread across
1095: [23:11:02] <Stomach> we pay interns, they are usually students we get to do shit jobs like updating 110 websites footer links to be https
1096: [23:11:04] <Stomach> lololol
1097: [23:11:08] <Pyromanik> adrexia, etymologically speaking, probably not, no.
1098: [23:11:08] <adrexia> http://www.etymonline.com/index.php?term=intern&allowed_in_frame=0
1099: [23:11:10] <adrexia> :P
1100: [23:11:54] <Pyromanik> but like I say... when I grew up there was work experience. Now (mostly recruiters) are spilling this intern shit all over the show, becasue it seems like a good buzzword rebrand for the same thing.
1101: [23:12:16] <Pyromanik> 'work experience' - no thanks. 'internship' - on hey, this sounds bright and promising!
1102: [23:12:18] <adrexia> oh, it comes from resident doctor
1103: [23:12:21] <adrexia> interesting
1104: [23:12:26] <Pyromanik> (not, because I watch too many american movies :P)
1105: [23:12:35] <adrexia> oh umm... so on another note - why is web developement not a trade?
1106: [23:12:40] <Pyromanik> adrexia, I imagine it comes from internment
1107: [23:12:46] <adrexia> I would have said it very much is a teade
1108: [23:12:48] <Pyromanik> adrexia, yeah, I've thought about that too.
1109: [23:12:55] <Pyromanik> trade is what you do.
1110: [23:12:59] <Pyromanik> trade is how one makes a living.
1111: [23:13:17] <Pyromanik> but accountancy, web dev, etc. are generally not called that.
1112: [23:13:21] <Pyromanik> 'white collar'
1113: [23:13:28] <Pyromanik> vs blue I guess
1114: [23:13:41] <adrexia> trade has levels of skill/knowledged based professional developement
1115: [23:13:41] <Pyromanik> physical labour vs sit at a desk and get fat labour.
1116: [23:13:58] <Pyromanik> indeed.
1117: [23:14:21] <Pyromanik> and in terms of software it's about as much engineering as... well engineering.
1118: [23:14:22] <adrexia> which puts web development closer to blue collar than white - where its more about how long you have been somewhere and who you knw
1119: [23:14:22] <adrexia> ;)
1120: [23:14:32] <Pyromanik> indeed. But you still sit at a desk.
1121: [23:14:48] <adrexia> well, often I stand
1122: [23:14:51] <adrexia> but yeah
1123: [23:14:52] <Pyromanik> it's like "why don't we have apprenticeships for 'office worker'?"
1124: [23:14:55] <adrexia> so doies a show maker ?
1125: [23:15:01] <adrexia> *shoe
1126: [23:15:13] <adrexia> so does... a blacksmith, a tailor
1127: [23:15:16] <Pyromanik> (which, btw, is actually a fuck'n thing over here)
1128: [23:15:23] <Pyromanik> very descript.
1129: [23:15:28] <Pyromanik> 'office worker'.
1130: [23:15:33] <adrexia> erg
1131: [23:15:35] <Pyromanik> A FUCKING APPRENTICESHIP
1132: [23:15:48] <Pyromanik> I just cannot get my head around it.
1133: [23:15:51] <adrexia> like admin work?
1134: [23:16:00] <Pyromanik> 'And you press this button to make a photocopier!'
1135: [23:16:05] <Pyromanik> err, photocopy*
1136: [23:16:19] <adrexia> well - a lot of US companies had that old tradition of starting in the mailroom and working your way up
1137: [23:16:26] <Pyromanik> yeh
1138: [23:16:33] <Pyromanik> there is that I guess
1139: [23:16:44] <Pyromanik> the 'corporate ladder'.
1140: [23:16:47] <adrexia> which is an anathema to me... how do you work your way into a completely different skill set?
1141: [23:16:54] <Pyromanik> in reality they don't promote from within anyway (in the UK at least)
1142: [23:18:08] <Pyromanik> anyway, I'd better go to bed so I can get up and drone into work again.
1143: [23:18:51] <Pyromanik> but yeh
1144: [23:18:52] <Pyromanik> http://en.wikipedia.org/wiki/Internship#New_Zealand
1145: [23:18:53] <Pyromanik> :P
1146: [23:19:01] <Pyromanik> Have a good day :>
1147: [23:19:03] * Pyromanik quit (Quit: Leaving)
1148: [23:20:07] <adrexia> haha
1149: [23:21:01] <spronk2> fucking
1150: [23:21:02] <spronk2> corporate ladder
1151: [23:26:32] * travis-ci has joined #silverstripe
1152: [23:26:33] <travis-ci> silverstripe/silverstripe-framework#4484 (master - e4c7b2b : Damian Mooyman): The build passed.
1153: [23:26:33] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/b2afc9fb5204...e4c7b2bf0acc
1154: [23:26:33] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/55874500
1155: [23:26:33] * travis-ci has left #silverstripe
1156: [23:33:13] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1157: [23:44:52] * oddnoc quit (Quit: yawn!)
1158: [23:46:07] <antmas> Ryan-Toast: dat Madeon song Nonsense :O
1159: [23:46:31] <Ryan-Toast> antmas: Imperium is my jam.
1160: [23:46:43] * antmas listens
1161: [23:47:05] <antmas> phwoar tasty
1162: [23:47:35] <antmas> very Euro sounding
1163: [23:47:48] <antmas> can see this in a video game soundtrack somewhere
1164: [23:50:25] <Ryan-Toast> going to be a good album.
1165: [23:50:40] <Ryan-Toast> you can stream the whole thing on iTunes
1166: [23:50:50] <Ryan-Toast> but I cbf making an apple id
1167: [23:51:03] <antmas> mmm meh
1168: [23:51:10] <antmas> re itunes*
1169: [23:57:51] * UncleCheese has joined #silverstripe

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