#silverstripe IRC Log

IRC log for 31 October 2014

All timestamps are in UTC.

1: [00:02:16] <simon_w|work> Ryan-Toast, Hello SO FULL
2: [00:02:23] <Ryan-Toast> simon_w|work: MY NAME’S DAD
3: [00:08:02] <spronk> tee hee
4: [00:11:18] <Ryan-Toast> aww yiss, RL grime halloween mix is out: https://soundcloud.com/rlgrime/halloween-mix-2014
5: [00:13:41] <adrexia> anyone want an inbox invite?
6: [00:14:11] <Ryan-Toast> adrexia: inbox?
7: [00:14:18] <adrexia> google
8: [00:14:33] <adrexia> http://www.google.com/inbox/
9: [00:15:01] <Ryan-Toast> SCROLL JACKING, GOOGLE WHYYY
10: [00:15:05] <adrexia> lol
11: [00:15:10] <simon_w|work> Eh, my only the gmail account is an apps account
12: [00:15:15] <simon_w|work> Well, the only one I use
13: [00:15:28] * simon_w|work will get inbox after it's been cancelled a couple of times
14: [00:15:40] <micmania1> ss23 plays all the best songs.
15: [00:15:42] <adrexia> simon_w|work, yeah not so helpful there
16: [00:18:54] <adrexia> I was already using mailbox on my phone, and mailpilot on my mac to do much the same thing that inbox does. But it's nice to use the same app everywhere
17: [00:21:23] * simon_w|work just uses IMAP
18: [00:21:32] <simon_w|work> As a bonus, much faster and much less spam
19: [00:23:43] <adrexia> haha
20: [00:24:02] <adrexia> I like being able to snooze email, and the zero inbox thing
21: [00:24:52] <Colin[pi]> man.. I'm doing a db port from one CRM to another right now
22: [00:24:57] <Colin[pi]> they have 12,100 contacts
23: [00:25:06] <Colin[pi]> by running some simple queries to remove spam
24: [00:25:13] <Colin[pi]> I can get it down to less than 2,000
25: [00:25:21] <Colin[pi]> bit of a difference lol
26: [00:33:32] <mahfuz> Hey this is my anchor link - <a href="/#" class="add-to-lightbox" data-photoid="200" rel="tooltip" title="" data-original-title="Add to lightbox"><img src="assets/image-icons/lightbox_revblack.png" width="13px" height="19px"></a>
27: [00:33:54] <mahfuz> What is the correct syntax for passing the data-photoid in ajax call?
28: [00:34:01] <mahfuz> This is giving error - data: { photoid: $($post).attr("data-photoid") },
29: [00:36:57] * irogue_ has joined #silverstripe
30: [00:42:24] * antmas has joined #silverstripe
31: [00:52:24] * jenniferaslan quit (Quit: jenniferaslan has left the room)
32: [00:58:21] * ryanoh has joined #silverstripe
33: [01:07:54] <Kingy> Ryan-Toast
34: [01:07:55] <Kingy> Ryan-Toast
35: [01:08:29] <Ryan-Toast> Kingy: this is you - http://i.imgur.com/Dz3nk.jpg
36: [01:08:53] <Kingy> yeahhhh it is!
37: [01:11:30] <Ryan-Toast> It’s so quiet: http://i.imgur.com/ZjC6EHv.gif
38: [01:11:53] <Kingy> antmas is missing out
39: [01:12:22] <Ryan-Toast> Had a meeting an hour ago: http://i.imgur.com/Vuz2SQu.gif
40: [01:14:11] <Kingy> rofl nice
41: [01:34:56] <Ryan-Toast> where is everyone? http://i.imgur.com/KNQn045.gifv
42: [01:36:11] <adrexia> still stuck in the ungodly world that is IE
43: [01:36:17] <adrexia> plz send help
44: [01:36:35] <Ryan-Toast> adrexia: how I feel when I open IE http://i.imgur.com/llGRaTd.gif
45: [01:36:55] <adrexia> hahahhaha
46: [01:37:43] <Ryan-Toast> alt: http://i.imgur.com/tUnFb4d.gif
47: [01:38:04] <Colin[pi]> how I feel when I open IE: http://i.imgur.com/2WkJKnP.gif
48: [01:39:01] * adrexia grins
49: [01:39:10] <adrexia> well, at least its friday
50: [01:39:26] * seah0rse has joined #silverstripe
51: [01:39:28] <Ryan-Toast> Colin[pi]: http://i.imgur.com/8agdQ.gif
52: [01:40:11] <Colin[pi]> Ryan-Toast: http://i.imgur.com/859Gb1g.gif
53: [01:40:56] <seah0rse> hi all i have a SS 3.0.x install with userforms module - does anyone know a quick way to find the version of the module?
54: [01:41:30] <adrexia> composer?
55: [01:41:35] <seah0rse> I guess that the tagged version of 3.0.x that is the latest id 1.0.1
56: [01:41:52] <seah0rse> nah the file is too generic
57: [01:42:14] <adrexia> ahh, no version there?
58: [01:42:26] <seah0rse> nope
59: [01:42:28] <adrexia> well, you could always look at the last commit
60: [01:42:40] <seah0rse> ahh yep good one
61: [01:43:10] <seah0rse> I should have thought of that.. ;-P
62: [01:43:19] <seah0rse> thanks
63: [01:44:21] * adrexia shrugs
64: [01:44:22] <adrexia> It's Friday afternoon
65: [01:44:37] * Zauberfisch quit (Ping timeout: 272 seconds)
66: [01:44:44] * Zauberfisch has joined #silverstripe
67: [01:51:11] <Kingy> Colin[pi]> how I feel when I open IE: http://i.imgur.com/2WkJKnP.gif
68: [01:51:23] <Kingy> cool story.. this was done to me at a sex show in Amsterdam
69: [01:52:56] <mahfuz> Hey can anyone look into my code please - http://pastebin.com/eBx1NbRC
70: [01:59:57] * seah0rse quit (Quit: seah0rse)
71: [02:00:25] <Ryan-Toast> mahfuz: yep, that’s code al right.
72: [02:00:32] <micmania1> mahfuz: looks like code to me
73: [02:00:39] <simon_w|work> Ooh, I was wrong! There was three things I could do today!
74: [02:00:48] <Ryan-Toast> micmania1: http://i.imgur.com/VLm8H.gif
75: [02:00:55] <simon_w|work> One to go then
76: [02:01:07] * antmas is in meetings :(
77: [02:01:08] <micmania1> Ryan-Toast: haha I need to get myself a gif bin
78: [02:01:26] <Ryan-Toast> I can export my bookmarks list if you’d like
79: [02:01:33] <micmania1> ohhh please haha
80: [02:01:39] <micmania1> although that feels a bit dirty
81: [02:02:16] <Kingy> it probably is pretty dirty
82: [02:03:46] <mahfuz> If i use var_dump after calling the function each time it gives output like this - array(1) { [0]=> int(201) }
83: [02:05:00] <mahfuz> if next time i call the function passing another photoid value 250 instead of appending to the array it replaces and shows output like this - array(1) { [0]=> int(250) }
84: [02:05:23] <Ryan-Toast> micmania1: http://pastebin.com/NY4inC3c
85: [02:05:28] <mahfuz> how to append in the Session Array?
86: [02:07:13] <micmania1> Ryan-Toast: wow that’s a lot of gifs
87: [02:07:28] <micmania1> mahfuz: how are you calling var_dump?
88: [02:07:28] <Ryan-Toast> micmania1: Yes.
89: [02:07:32] <micmania1> and where?
90: [02:07:48] <Ryan-Toast> micmania1: https://i.imgur.com/jys9vVi.jpg
91: [02:08:01] <mudmonth> yuss
92: [02:10:01] <mahfuz> I have created a LightboxPage where I am trying to access the Session Array and do something. Called var_dump in there. Here is the code - http://pastebin.com/r9hbVuBV
93: [02:13:55] <Ryan-Toast> mahfuz: why don’t you send the id to the method, instead of setting a session?
94: [02:15:44] <novaweb> Yeowwww. Is there documentation for tasks anywhere?
95: [02:16:20] <micmania1> novaweb: I normally just read the API docs for BuildTask
96: [02:17:58] <novaweb> churrp
97: [02:18:50] <mahfuz> Because the user will add multiple photos and they will added in the lightbox like a cart and when they visit the lightbox page all will be shown
98: [02:20:44] <Ryan-Toast> I love how shopify has allll it’s logic in the templates ><
99: [02:24:48] * antmas yells
100: [02:24:50] <simon_w|work> I love how we've ported our non-angular to Angular
101: [02:24:56] <antmas> halp! I'm stuck in meetingsw!
102: [02:24:57] <simon_w|work> And by love, I mean completely loath
103: [02:25:07] <simon_w|work> antmas, masturbate!
104: [02:25:18] <antmas> simon_w|work: roflcopter
105: [02:25:34] <simon_w|work> You won't be in the meeting for much longer :p
106: [02:25:55] <adrexia> *shocked*
107: [02:26:00] <adrexia> ;)
108: [02:26:23] <mahfuz> can anyone tell me why the values are not appending the Session Array
109: [02:27:05] <adrexia> mahfuz, sorry, I tend to avoid session
110: [02:27:09] <Colin[pi]> <@simon_w|work> antmas, masturbate!
111: [02:27:10] <Colin[pi]> eeeuw!
112: [02:27:18] <simon_w|work> mahfuz, well, how are you trying to do it?
113: [02:27:18] <Colin[pi]> but it would totally work
114: [02:27:32] <adrexia> Colin[pi], he's right though -would get him out of the meeting fast
115: [02:27:44] <Colin[pi]> and out of a job! bonus!
116: [02:27:51] <mahfuz> simon: here is the code - http://pastebin.com/eBx1NbRC
117: [02:27:59] <simon_w|work> Colin[pi], Nah, would probably just get your verbal warning for that
118: [02:28:10] <Colin[pi]> simon_w|work: or offer for a reacharound?
119: [02:28:40] <simon_w|work> mahfuz, if(!is_array('MyLightbox')) {
120: [02:28:45] <simon_w|work> That's always going to be true
121: [02:29:47] <mahfuz> oh ... in that case how to create the array only once and then add to it rest of the time
122: [02:30:08] <simon_w|work> mahfuz, if (!is_array(Session::get('MyLightBox'))
123: [02:34:37] <mahfuz> thanks simon. it works now.
124: [02:36:50] <mahfuz> Is there an easy way to check whether the value to be added in the array exists?
125: [02:39:24] <micmania1> mahfuz: in_array($value, $array)
126: [02:40:11] <mahfuz> thanks micmanial
127: [02:40:14] <mahfuz> simon could you please check this code please? Why its not giving any photos - http://pastebin.com/285ZKe6T
128: [02:41:49] <Stomach> whats the easiest way to work out why a <% require javascript %> call isnt running or adding anything to the page
129: [02:42:04] <Stomach> and <% require css %> as well
130: [02:42:05] <Stomach> :\
131: [02:42:18] <Stomach> actually, retard moment
132: [02:42:19] <Stomach> my bad
133: [02:44:00] <Kingy> rofl
134: [02:44:22] <mahfuz> simon please?
135: [02:46:20] <Kingy> isn't MyLightbox an array?
136: [02:46:46] <mahfuz> yes
137: [02:46:48] <Kingy> mahfuz: what does var_dump($queryid); give you
138: [02:48:08] <antmas> I'm back
139: [02:48:11] <mahfuz> array(3) { int(201) [2]=> int(200) [3]=> int(121) } something like this
140: [02:48:13] <antmas> what did I miss?
141: [02:48:58] <Kingy> https://www.irccloud.com/pastebin/1vPRQWgX
142: [02:49:06] <Kingy> that isn't exactly going to work is it
143: [02:49:08] <antmas> hooray for the gifs
144: [02:49:10] * antmas is pleased
145: [02:49:37] <Kingy> yay home time
146: [02:58:28] * antmas forgot there are trick or treaters tonight
147: [02:58:42] <antmas> BETTER GET THE MINI TOOTH PASTES ON TE WAY HOME
148: [03:01:07] <antmas> when I was flatting me and my mates made caramel apples out of onions :D
149: [03:07:02] <Stomach> well actually not retard moment
150: [03:07:10] <Stomach> composer isn't following the installer path directive
151: [03:07:12] <Stomach> fucking composer
152: [03:07:38] <antmas> Stomach: stop working
153: [03:07:42] <antmas> o-o
154: [03:07:51] <Stomach> but I have so much to doooo
155: [03:08:05] <Stomach> I'm even pull requesting stuff
156: [03:08:57] <antmas> that sounds like an aweful friday
157: [03:09:02] <antmas> you should feel bad Stomach
158: [03:09:15] <Stomach> why :(
159: [03:09:20] * antmas *glaring intensifies*
160: [03:09:24] <antmas> O----O
161: [03:09:32] <Stomach> \o/
162: [03:09:45] <antmas> he's throwing a barbell ^^^
163: [03:09:46] <antmas> XD
164: [03:10:12] <Stomach> hahahaha
165: [03:10:45] * Tanger has joined #silverstripe
166: [03:11:11] <Kingy> yay 2 hour train ride home
167: [03:11:35] <antmas> Kingy: don't forget to masturbate on the train
168: [03:11:37] <antmas> protip
169: [03:12:08] <Kingy> way ahead of you
170: [03:12:43] <Kingy> right
171: [03:12:45] * novaweb quit (Quit: Leaving)
172: [03:13:01] <mahfuz> I even can't run the query against ID with fixed values in an array like this - $photos = Photo::get()->filter(array( 'ID' => array(60, 201) ))->sort('Created DESC');
173: [03:13:24] <mahfuz> I know there are records with ID 60 and 201 in the database
174: [03:13:59] <mahfuz> In place of ID if I use any other field in the condition I get result.
175: [03:14:30] <mahfuz> Is there any other way to get records based on multiple ID values
176: [03:18:22] * seah0rse has joined #silverstripe
177: [03:20:08] * seah0rse quit (Client Quit)
178: [03:21:15] * zippy has joined #silverstripe
179: [03:21:19] <zippy> Afternoons
180: [03:22:20] <Kingy> hey zippy
181: [03:22:26] <zippy> how goes i
182: [03:22:52] <antmas> zippy: late start?
183: [03:23:04] <zippy> antmas: meetings and stuff :)
184: [03:23:06] * zippy quit (Client Quit)
185: [03:23:36] <simon_w|work> Oops, out of things to do
186: [03:23:56] <antmas> zipah yes
187: [03:24:06] <antmas> ah yes*
188: [03:24:33] * antmas quit (Quit: Page closed)
189: [03:24:49] <mahfuz> Hey zippy and simon: why can't I get any records using ID
190: [03:25:13] <mahfuz> even like this - $photos = Photo::get()->filter(array( 'ID' => array(60, 201) ))->sort('Created DESC');
191: [03:25:46] <mahfuz> i can see in phpmyadmin that there are records in Photo table with ID 60 and 201
192: [03:27:17] * spekulatius quit (Quit: Leaving)
193: [03:29:47] * Ryan-Toast has left #silverstripe
194: [03:29:54] <mahfuz> I found it
195: [03:30:01] <mahfuz> Its my bad
196: [03:56:05] * willr quit (Quit: willr)
197: [03:56:54] * hailwood quit (Quit: Leaving.)
198: [04:03:35] * micmania1 quit (Quit: micmania1)
199: [04:12:29] * Tanger quit (Quit: Tanger)
200: [04:17:40] * veb has joined #silverstripe
201: [04:24:18] * jedateach quit (Quit: jedateach)
202: [04:31:45] * jedateach has joined #silverstripe
203: [04:34:34] * jedateach quit (Client Quit)
204: [04:38:13] * spronk quit (Ping timeout: 255 seconds)
205: [04:39:57] * nikob has joined #silverstripe
206: [04:41:22] <nikob> Hey all, does anyone know why when I setParent($NewParentID); the changes aren't reflected in the page tree in the cms?
207: [04:46:38] * cloph_away has joined #silverstripe
208: [04:47:17] * cloph quit (Ping timeout: 265 seconds)
209: [04:47:42] * r_hector has joined #silverstripe
210: [04:49:07] <Colin[pi]> nikob: did you try $Object->ParentID = $NewParentID ?
211: [04:49:22] <nikob> nope
212: [04:49:36] <nikob> I read the code and that's what setParent does anyway though.
213: [04:50:39] <nikob> is the cms page tree's hierarchy not based on pages parent ids?
214: [04:50:46] <nikob> am I just completely missing something?
215: [04:51:14] <Colin[pi]> nikob: site tree uses hierarchy... which uses ParentID to associate parent pages yeah
216: [04:52:01] <nikob> after setting the parent, should I be ->doPublsh() or ->write()
217: [04:52:41] <Colin[pi]> nikob: you'll need to write to both stage and live I think
218: [04:52:54] <nikob> hrm
219: [04:53:32] * mahfuz quit (Quit: Page closed)
220: [04:53:58] * ryanoh quit (Ping timeout: 246 seconds)
221: [04:54:32] <nikob> Is it possible to remove the whole stage/live thing cleanly from SS?
222: [04:54:42] <Colin[pi]> nikob: so that there's only one stage?
223: [04:54:50] <nikob> yes
224: [04:54:57] <Colin[pi]> I would say heck no :)
225: [04:55:03] <Colin[pi]> I reckon that would break a loooot of stuff
226: [04:55:32] <nikob> It's got the be the most useless thing, as users have no way of knowing which stage they are viewing the site in
227: [04:56:11] <Colin[pi]> nikob: well you kinda need a staging area so content can been viewed before being approved for publishing to live
228: [04:56:50] <nikob> yeah I dig the logic behind it
229: [04:57:38] <nikob> just annoying that afaik theres no way of telling which stage you are in.
230: [05:02:58] <Colin[pi]> nikob: there used to be this thing in SS2.4 which was like a "navigator" bar that would show you whether you are in stage or live
231: [05:03:10] <Colin[pi]> I think in SS3 it was replaced largely by the preview mode in the cms
232: [05:04:07] * nikob quit (Ping timeout: 246 seconds)
233: [05:10:50] * nikob has joined #silverstripe
234: [05:13:17] <nikob> Colin[pi]: sorry timed out, yeah, the issue I have is that users like to click the url segment link, which dumps them in the stage site outside of the cms, and they suddenly think all their content is changed.
235: [05:13:51] * irogue_ quit (Quit: Textual IRC Client: www.textualapp.com)
236: [05:15:00] <Colin[pi]> nikob: users gonna user
237: [05:15:02] <Colin[pi]> :)
238: [05:15:09] <nikob> haha yes
239: [05:15:44] <nikob> anyway back to my original problem, it looks like the ParentID isn't actually being updated.
240: [05:16:18] <Colin[pi]> hmm
241: [05:16:26] <nikob> I wonder if there is an onBeforeWrite which is nuking my changed
242: [05:16:32] <nikob> changes*
243: [05:16:37] <Colin[pi]> possibly?
244: [05:18:17] <nikob> yay for inherited websites
245: [05:18:23] * Kingy is now known as Kingy[a]
246: [05:20:35] * simon_w|work quit (Quit: Ping timeout: your mum)
247: [05:31:04] * nikob quit (Ping timeout: 246 seconds)
248: [05:32:47] * Liquide quit ()
249: [05:34:41] * Stomach quit (Quit: zzz)
250: [05:59:13] * Colin[pi] quit (Ping timeout: 272 seconds)
251: [06:32:08] * UncleCheese has joined #silverstripe
252: [06:35:18] * spronk has joined #silverstripe
253: [06:36:35] <simon_w> Yay, home
254: [06:52:44] * veb has joined #silverstripe
255: [06:53:59] * Azure quit (Read error: Connection reset by peer)
256: [06:54:45] * Azure has joined #silverstripe
257: [06:55:09] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
258: [06:55:48] * Stomach has joined #silverstripe
259: [07:17:06] * Stomach quit (Quit: zzz)
260: [07:18:18] * Stomach has joined #silverstripe
261: [07:26:38] * Stomach quit (Quit: zzz)
262: [07:34:19] * Stomach has joined #silverstripe
263: [07:36:28] * Stomach quit (Client Quit)
264: [07:40:25] * spronk2 has joined #silverstripe
265: [07:46:18] * Eliseth has joined #silverstripe
266: [07:48:42] * Stomach has joined #silverstripe
267: [07:58:59] * PapaBearNZ quit (Read error: Connection reset by peer)
268: [07:59:31] * veb quit (Read error: Connection reset by peer)
269: [08:00:37] * veb has joined #silverstripe
270: [08:00:58] * PapaBearNZ has joined #silverstripe
271: [08:04:02] * spronk2 quit (Quit: spronk2)
272: [08:12:16] * arnhoe has joined #silverstripe
273: [08:21:37] <Stomach> ss23 - droopescan is pretty fun :D
274: [08:23:59] <ss23> I didn't run it, it looked handy but not like it would do stuff
275: [08:24:07] <ss23> I mean, if you're running it on your own sites, it boils down to "keep ur shit up 2 date"
276: [08:24:10] <ss23> which you don't need that tool for :P
277: [08:24:43] <Stomach> yeah, kind of fun to run on other peoples shit though
278: [08:24:57] <Stomach> MAC006:droopescan stevie$ python droopescan.py scan silverstripe --url http://www.silverstripe.com
279: [08:25:07] <Stomach> hehehe
280: [08:25:59] <Stomach> running 3.0.*
281: [08:26:02] <Stomach> disgusting
282: [08:27:23] <ss23> lol
283: [08:27:40] <ss23> I would say "pull requests welcome", but that one is a bit too... commercial for that :P
284: [08:28:28] <simon_w> raygun4php?
285: [08:28:57] <ss23> https://github.com/MindscapeHQ/raygun4php ?
286: [08:29:03] <simon_w> Yeah, that
287: [08:29:20] <ss23> What about it?
288: [08:29:26] <ss23> It's error reporting thing, raygun
289: [08:29:34] <Stomach> yeah its pretty sweet
290: [08:29:34] <ss23> I don't use it or know much about it, but its like
291: [08:29:37] <ss23> PUT YOUR ERRORS IN THE CLOUD
292: [08:29:50] <ss23> /dev/null as a service
293: [08:31:10] <simon_w> Oh man, that composer file is doing things so wrong
294: [08:31:20] <simon_w> "authors": [
295: [08:31:20] <simon_w> {
296: [08:31:20] <simon_w> "name": "Stephen Shkardoon",
297: [08:31:20] <simon_w> "email": "stephen@silverstripe.com"
298: [08:31:20] <simon_w> }
299: [08:31:20] <simon_w> ],
300: [08:31:23] <simon_w> lololol
301: [08:31:25] <ss23> oh god ss23
302: [08:31:27] <ss23> this is bad
303: [08:31:43] <ss23> Which thing is that, simon_w? I don't often write modules
304: [08:31:50] <ss23> And when I do I try just use the composer generate json thing :O
305: [08:31:53] <simon_w> ss23, "name": "silverstripe/sscom",
306: [08:32:01] <ss23> uh
307: [08:32:03] <ss23> what?
308: [08:32:17] <simon_w> http://www.silverstripe.com/composer.json
309: [08:32:21] * ss23 checks it
310: [08:32:28] <ss23> (probably should fix that too)
311: [08:32:51] <ss23> simon_w: So what's wrong with it? :O
312: [08:33:09] <simon_w> Should never have * has a version constraint
313: [08:33:28] <ss23> Uh
314: [08:33:29] <simon_w> "minimum-stability": "stable"
315: [08:33:29] <simon_w> and then pretty much everything is @dev
316: [08:33:32] <ss23> Pretty sure you can
317: [08:33:37] <ss23> lol
318: [08:33:41] <simon_w> You can, but you shouldn't
319: [08:33:43] <ss23> I thought you meant *wrong*
320: [08:33:46] <ss23> Not just "I don't like the way you did it"
321: [08:33:47] <ss23> :P
322: [08:34:13] <simon_w> These are composer guidelines, not mine :p
323: [08:34:24] <ss23> Guidelines can suck a dick
324: [08:34:27] <Stomach> yeah
325: [08:34:32] <simon_w> Mixed indentation!
326: [08:34:33] <ss23> If I tried to follow guidelines I'd never get anything done
327: [08:34:36] <Stomach> upgrading in the next phase of ss is going to suck balls
328: [08:34:57] <Stomach> "whatever/bullishit" : "dev-master" is common practice at the moment
329: [08:35:27] <ss23> People who run `composer update` without knowing what it does are probably going to be boned no matter what we do :P
330: [08:36:00] <simon_w> ss23, so, people who follow Cam's upgrading guidelines?
331: [08:36:12] <Stomach> lol :D
332: [08:36:14] <simon_w> Or Damian's
333: [08:36:22] <simon_w> Whoever it is that gets around to announcing releases
334: [08:36:53] <Stomach> yeah but you shouldnt need to worry about running composer update >_<
335: [08:37:15] <Stomach> because everything should be ~1.6 and it shouldnt break _anything_
336: [08:38:22] * willr has joined #silverstripe
337: [08:40:46] <ss23> Stomach: That's a naieve way of thinking :P
338: [08:41:02] <ss23> If you're doing composer update and not testing under the assumptino it could have broken all your shitr, you're in forf a bad time
339: [08:41:10] <Stomach> oh definitely
340: [08:41:12] <ss23> We can talk about ideals all day, the ideal world where there are no bugs is nicest
341: [08:41:26] <ss23> FUCK I'M SO TIRED
342: [08:41:28] <ss23> Stupid work
343: [08:41:34] <Stomach> but a world where developers follow the guidelines is ridiculous :P
344: [08:41:47] <ss23> Sitting here with a 1 hour buffer of responses to and from a vendor for a site launch on Tuesday ;_;
345: [08:43:15] <Stomach> fuuuuun
346: [08:43:27] <ss23> BBL NAPPING
347: [08:43:32] <Stomach> I used entwine to solve a bug tonight
348: [08:43:35] <Stomach> feels weird.
349: [08:43:39] <ss23> entwine is a bug! :D
350: [08:43:43] * PapaBearNZ quit (Read error: Connection reset by peer)
351: [08:45:23] * PapaBearNZ has joined #silverstripe
352: [08:47:06] <Stomach> :D
353: [08:55:37] <willr> ss23 your face is a bug. #burn
354: [08:57:48] <Stomach> ooo shit just got wild
355: [08:57:55] <willr> place is busy for a friday night!
356: [09:01:00] <Stomach> its that time of year
357: [09:01:32] * stnvh has joined #silverstripe
358: [09:05:23] <simon_w> Holy crap, it's Friday
359: [09:10:00] * Pyshortsk has joined #silverstripe
360: [09:10:21] <Pyshortsk> hahaa, just put '843' as the captcha answer, but it was 842 - but it let me through anyway
361: [09:10:29] <Pyshortsk> derp
362: [09:18:28] * fb3rasp has joined #silverstripe
363: [09:20:02] <Pyshortsk> Oh you, Friday evening, you so lonely.
364: [09:20:20] <Stomach> hi buddy
365: [09:20:24] <Pyshortsk> hurro
366: [09:20:58] <Pyshortsk> So today is Halloween dressup at work.
367: [09:21:05] <simon_w> Gutted
368: [09:21:17] <simon_w> Today was half the dev team not show up at work day
369: [09:21:45] <Pyshortsk> I left my costumes in the shop, so I had to come as one of the scariest things an Englishman could imagine: A bloke in shorts.
370: [09:22:49] <Pyshortsk> and a CMS that is actually decent. They seem pretty afraid of shit like that too :< (ss shirt applied)
371: [09:24:05] * Colin[pi] has joined #silverstripe
372: [09:28:06] * veb has joined #silverstripe
373: [09:29:53] * Stomach quit (Quit: zzz)
374: [09:31:14] * Stomach has joined #silverstripe
375: [09:31:28] * spronk2 has joined #silverstripe
376: [09:32:09] * Stomach quit (Client Quit)
377: [09:32:43] * spronk2 quit (Client Quit)
378: [09:33:49] <Pyshortsk> simon_w: were you part of that half?
379: [09:34:00] <Pyshortsk> or did they go out for mini golf and not invite you? :<
380: [09:36:08] <Pyshortsk> or is it that you're the only dev, and you were there in body, but not in mind?
381: [09:36:10] <Pyshortsk> :P
382: [09:36:29] * spronk2 has joined #silverstripe
383: [09:37:36] * g4b0_ has joined #silverstripe
384: [09:38:14] <g4b0_> hi all
385: [09:38:23] <spronk2> lo
386: [09:39:45] <g4b0_> I submitted 2 showcases sites 10 days ago
387: [09:40:13] <g4b0_> does any SS admin can please moderate and publish them?
388: [09:40:25] <spronk2> oh wow thats still around?
389: [09:40:27] <spronk2> just give it time man
390: [09:43:02] <simon_w> Pyshortsk, 3 of us showed up, 3 didn't :p
391: [09:43:14] <simon_w> (One usually works from home on Friday, don't know about the other two)
392: [09:43:20] <spronk2> so, as it turns out, if you ahve an older mac, run Snow Leopard.
393: [09:43:36] <simon_w> g4b0_, um, good luck with that. They're really bad at approving things.
394: [09:44:03] <spronk2> or at least, don’t upgrade to yosemite because it’s slooooowwwww
395: [09:44:55] <g4b0_> the email they sent to me said:
396: [09:44:58] <g4b0_> The submission is currently under review. This process can take up to three business days. When it is approved, you will receive an email notification. In some cases, we may ask you to make revisions, in which case we'll also be in contact with you via email.
397: [09:45:24] <g4b0_> it was oct. 21th :(
398: [09:45:34] <spronk2> hmm
399: [09:45:35] <spronk2> blame ss23
400: [09:45:48] <spronk2> maybe they misconfigured something and aren’t getting their notifications for showcase entries :p
401: [09:46:06] <g4b0_> :P
402: [09:58:11] * Otterpocket has joined #silverstripe
403: [09:58:41] <Otterpocket> Good morning, how can I improve this? http://paste.opensuse.org/b9e7e8a1
404: [10:00:56] <Otterpocket> other than the broken indent on ln1
405: [10:12:25] <spronk2> in what sort of way?
406: [10:12:49] * jcwacky has joined #silverstripe
407: [10:14:14] <Otterpocket> spronk2: I was going to put this in a gist, just want to make sure it was all correct. I was unsure about the way I accessed the new password from the $data var for example
408: [10:16:08] <spronk2> https://git.simon.geek.nz/simon_w/silverstripe-framework/blob/a0bcb85e6b0fa7a26905c4fb2af651166e0300d3/security/ChangePasswordForm.php
409: [10:16:15] <spronk2> have a look at that
410: [10:24:53] <Pyshortsk> spronk2: it got reinvigorated (ss showcase)
411: [10:25:26] <spronk2> mm
412: [10:25:27] <Pyshortsk> g4b0_: it takes time because there's no dedicated resource for it :<
413: [10:26:59] <Pyshortsk> lol spronk2 simon_w - the last commit message on the top of that link
414: [10:27:38] <spronk2> ;D
415: [10:30:29] <Pyshortsk> Otterpocket: _seems_ ok. Personally I'd use ::create though, instead of new
416: [10:30:34] <Pyshortsk> just 'coz, good habbit.
417: [10:34:09] * veb quit (Quit: preprocessor-irc-cli)
418: [10:36:17] <Pyshortsk> oh, 'hackificate' as in facebook's php branch.
419: [10:36:28] <Pyshortsk> fork, whatever
420: [10:36:31] <Pyshortsk> remake
421: [10:36:36] <Pyshortsk> REMIX
422: [10:36:44] * Pyshortsk doof doofs
423: [10:38:51] * Pyshortsk remembers suse
424: [10:38:59] <Pyshortsk> hmm... mebbe I should give that a go again.
425: [10:44:15] <Otterpocket> Pyshortsk: New Suse is awesome for a production machine
426: [10:52:01] <spronk2> lol
427: [10:52:07] <spronk2> really?
428: [10:55:52] * Pyshortsk quit (Ping timeout: 246 seconds)
429: [10:57:59] <g4b0_> Pyshortsk: SS needs more collaborator :)
430: [11:05:25] <jcwacky> Puzzle for you: I’ve got a UserDefinedForm in an iframe on a site using SSL. On submission it redirects to /finished. Despite saying it’s redirecting to https://....../finished it seems to request http://...../finished, and so the redirect gets blocked: http://spdr.me/1d9Dg Any ideas?
431: [11:05:30] <Eliseth> What is the proper way to implement a custom javascript (including noscript part) on every page at the absolute bottom using Requirements.force_js_to_bottom?
432: [11:15:20] * Pyhlwnk has joined #silverstripe
433: [11:15:55] <Pyhlwnk> Eliseth: so you mean the default?
434: [11:17:45] <Pyhlwnk> g4b0_: It's SS.com that controls that stuff (community showcase) - not community.
435: [11:24:27] <Pyhlwnk> The idea behind the new one is that it'll be moderated for quality, instead of ending up as a dumping ground like the original one waws
436: [11:24:28] <Pyhlwnk> was*
437: [11:28:53] * Colin[pi] quit (Ping timeout: 240 seconds)
438: [11:36:21] * g4b0_ quit (Ping timeout: 255 seconds)
439: [11:54:37] * Fuxo has joined #silverstripe
440: [12:14:11] * UndefinedOffset has joined #silverstripe
441: [12:15:46] * fb3rasp quit (Quit: Be back later ...)
442: [12:16:00] <Eliseth> To include a script with the <noscript> part as well, do I use Requirements::javascript("mycode here") or Requirements::customScript("mycode here")?
443: [12:20:33] * fb3rasp has joined #silverstripe
444: [12:23:16] <Eliseth> I see I'm failing to make myself clear in what I'm trying to achieve :)
445: [12:25:25] <UndefinedOffset> Eliseth requirements won't allow you to add noscript tags you'll have to do that in your template
446: [12:25:57] <Eliseth> When using ::insertHeadTags I can write my custom code "<noscript></noscript><script></script>" etc to my head section. However, I need this particular section before the </body>. I don't want to do it using the template files.
447: [12:26:14] <Eliseth> Hmm
448: [12:27:09] <UndefinedOffset> could put it in a getter then just call it from your template but you'd still have to adjust the template :S
449: [12:27:24] <Eliseth> What's a getter
450: [12:27:36] <UndefinedOffset> function getMyMethod() {}
451: [12:29:11] <Eliseth> Hm, one bridge too far for someone just learning to code :P
452: [12:29:25] <UndefinedOffset> ah
453: [12:32:18] <Eliseth> Or maybe not.. Do you mean creating a public function myCustomScript() in page.php that returns my custom code as a string and just call that from the template using $myCustomScript?
454: [12:32:28] <Pyhlwnk> Eliseth: you type <noscript> in your template.
455: [12:32:28] <UndefinedOffset> ya basically
456: [12:32:37] <Pyhlwnk> and you Requirements::javascript for the rest
457: [12:32:53] <Pyhlwnk> <noscript> has exactly NOTHING to do with javascript requirements.
458: [12:32:58] <UndefinedOffset> but like Pyhlwnk says the best place is to put it right in your template
459: [12:33:05] <Pyhlwnk> being that NONE of the requirements are even relevant at all when <noscript> shows up.
460: [12:33:05] <Eliseth> ahhh
461: [12:33:27] <Pyhlwnk> they are mutually exclusive.
462: [12:33:39] <Eliseth> So, rather than looking at it as ONE piece of code, split it and use requirements::javascript
463: [12:33:46] <Pyhlwnk> yes
464: [12:33:51] <Eliseth> Explains where I go wrong
465: [12:33:55] <Eliseth> Thanks for the insight
466: [12:34:00] <Pyhlwnk> rearrange the conceptions in your head :>
467: [12:34:08] <Eliseth> Yeah ^^
468: [13:09:39] * fb3rasp quit (Quit: Lingo: www.lingoirc.com)
469: [13:20:57] * catcher has joined #silverstripe
470: [13:26:48] * g4b0_ has joined #silverstripe
471: [13:33:57] * jcwacky quit (Quit: jcwacky)
472: [13:37:16] * spronk2 quit (Quit: spronk2)
473: [13:44:33] * muskie9 has joined #silverstripe
474: [13:59:03] * Otterpocket quit (Quit: WeeChat 0.4.1)
475: [14:05:45] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
476: [14:09:50] * muskie9 has joined #silverstripe
477: [14:39:53] * spronk quit (Ping timeout: 240 seconds)
478: [14:49:37] * g4b0_ quit (Remote host closed the connection)
479: [14:50:17] * Fuxo quit (Quit: Leaving)
480: [15:02:24] * ThePeach has joined #silverstripe
481: [15:34:16] * toddvalentine has joined #silverstripe
482: [15:40:40] * jenniferaslan has joined #silverstripe
483: [15:48:59] * travis-ci has joined #silverstripe
484: [15:48:59] <travis-ci> silverstripe/silverstripe-framework#3546 (3.1 - bd23ff0 : Daniel Hensby): The build passed.
485: [15:48:59] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/fbccd1af3fdd...bd23ff0a3aef
486: [15:48:59] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/39607952
487: [15:48:59] * travis-ci has left #silverstripe
488: [15:50:41] <Pyhlwnk> I don't understand that fuck'n PR
489: [15:50:46] * oetiker_ has joined #silverstripe
490: [15:50:51] <Pyhlwnk> "Makes requirements inclusion work with old PCRE versions"
491: [15:50:53] <Pyhlwnk> what...
492: [15:51:04] <Pyhlwnk> we're supposed to be going forward in time, not backwards -.- :<
493: [15:51:28] * Otterpocket has joined #silverstripe
494: [15:51:35] <Pyhlwnk> hullo Otterpocket
495: [15:51:42] <Otterpocket> Pyhlwnk: Hi
496: [15:52:02] <Pyhlwnk> OpenSuSE or LES?
497: [15:52:16] <Otterpocket> Open
498: [15:54:20] <Otterpocket> This feel like a stupid Question but with the ORM how do I get all items with a matching date given A datetime
499: [15:54:22] <Otterpocket> ?
500: [15:55:02] <Pyhlwnk> filter
501: [15:55:06] <Pyhlwnk> same as most things :>
502: [15:56:22] <Pyhlwnk> if you're just passing in a datetime programmatically, probably want to make it match the normalised format
503: [15:56:46] <Pyhlwnk> 20140-10-31 15:16:45
504: [15:57:01] <Pyhlwnk> heh, with one less -
505: [15:57:03] <Pyhlwnk> 0*
506: [15:57:13] <Pyhlwnk> oh weekend, why are you not here yet :<
507: [15:57:48] <Pyhlwnk> Otterpocket: what kind of sexyness do you note with opensuse over say Ubuntu LTS?
508: [15:58:30] <Otterpocket> All of the services can be edited/managed from UI and Ncurses
509: [15:58:43] <Otterpocket> all of the configs are really neatly laid out
510: [15:58:50] <Otterpocket> It install on anything
511: [15:59:09] <Otterpocket> Great package manager
512: [15:59:35] <Otterpocket> Community is good
513: [16:00:01] <Otterpocket> Its not as Edge as Fedora buts its much more stable
514: [16:00:41] <Pyhlwnk> cool :>
515: [16:00:59] <Pyhlwnk> what do you mean by configs neatly laid out?
516: [16:01:46] * guzzlefry quit (Ping timeout: 255 seconds)
517: [16:02:08] * guzzlefry has joined #silverstripe
518: [16:03:16] <Otterpocket> Pyhlwnk: Instead of bunging all the Vhosts for example in one config, everything is abstracted into conf files witch can then be manged by UI etc
519: [16:03:56] <Pyhlwnk> hmm
520: [16:04:02] <Pyhlwnk> so like normal but with a UI :>
521: [16:04:03] <Pyhlwnk> :P
522: [16:04:17] <Otterpocket> Also, its nice to have a workstation that is the same as your servers
523: [16:06:11] <Otterpocket> You get something called One click installeds im not sure if Ubuntu has them, but you download it and it is an rpm but it also adds the repo and checks other deps, so installing a nvidia graphics card is pretty painless
524: [16:09:01] * arnhoe quit ()
525: [16:09:11] <Pyhlwnk> so exactly like every package manager ever? idgi :<
526: [16:10:48] <Pyhlwnk> .deb, .rpm, .pkg.tgz, *shrug* installed with apt-get, synaptic, yum, pacman, etc. Pretty much a defining feature of many OS's.
527: [16:10:53] <Pyhlwnk> err, distros*
528: [16:11:20] <Pyhlwnk> I've only used openSuSE once though, and not for very long.
529: [16:11:38] <Pyhlwnk> I was a mandrake guy back in the day, until they merged to be mandriva. I outgrew it I guess.
530: [16:12:05] <Otterpocket> Its not just an RPM
531: [16:12:26] <Otterpocket> https://en.opensuse.org/openSUSE:One_Click_Install
532: [16:12:28] <Pyhlwnk> arch is my choice, but don't have a good server OS - generally people go with debian, but it can be slow on the update so Ubuntu are creeping in, and I'm not a fan (although I use... 'coz have to.)
533: [16:12:53] <Otterpocket> I tried Arch, but I like my OS to be assembled :D
534: [16:14:06] <Pyhlwnk> arch is assembled!
535: [16:14:06] <Otterpocket> I was using Fedora for many years, but it got a bit shitty and OpenSuse was better for me
536: [16:14:41] <Pyhlwnk> you do the install, then pacman -S blackbox, and you're ready to go :P
537: [16:15:01] <Pyhlwnk> although yeah, I know what you mean.
538: [16:15:08] <Pyhlwnk> Tried out Manjaro recently, did like.
539: [16:15:28] <Pyhlwnk> hardware detection and driver fetcher.
540: [16:15:39] <Pyhlwnk> means stuff like nvidia divers just happen during install :>
541: [16:16:07] <Pyhlwnk> but is desktop focused, not server. No lts.
542: [16:18:23] <Otterpocket> One of my main problems with arch is I think it is sometimes elitist without knowing it, I asked a bunch of arch users "Do youn all use a GDM?" they said yes
543: [16:18:40] <Otterpocket> Why is there no default Gnome, Kde, Lxfe ?
544: [16:19:03] <Otterpocket> 1% of users are using it with no UI, so dont make it a standard
545: [16:19:49] <Otterpocket> I get the whole, tailor it to your needs but don't make it such a chore
546: [16:22:37] * Eliseth quit (Ping timeout: 260 seconds)
547: [16:24:07] <Pyhlwnk> Otterpocket: no, the point is that there is no default.
548: [16:24:21] <Pyhlwnk> which I like, because I like things minimalist.
549: [16:24:58] <Pyhlwnk> installing eg kde is a simple 1 liner.
550: [16:26:13] <Pyhlwnk> which; after the big install process (which is as much a tutorial of how things work as anything else) isn't much to ask :>
551: [16:26:27] <Pyhlwnk> but yeh, I can see your point.
552: [16:26:40] <Pyhlwnk> it is a bit, but I think the reward is worth it.
553: [16:26:53] <Pyhlwnk> but like I say, it gets to me sometimes too - thus the trial of manjaro. Best of both worlds :D
554: [16:27:20] <Pyhlwnk> took xfce edition, was pretty winner (although it is in a vbox env atm)
555: [16:27:54] <Pyhlwnk> but it kinda drives home the point. Manjaro is heavy as hell (fills up a few gig on base install), where as arch has nothing you don't want.
556: [16:29:43] * Colin[pi] has joined #silverstripe
557: [16:31:09] <Otterpocket> Pyhlwnk: I often go off in search of a new distro and end up coming back to Suse or Fedora
558: [16:34:43] <Pyhlwnk> hehe, I used to do that with Mandrake.
559: [16:35:03] <Pyhlwnk> Now a days I can't imagine life without pacman
560: [16:35:20] <Pyhlwnk> although opensuse mentions moving into rolling release too
561: [16:35:30] <Pyhlwnk> that's cool
562: [16:35:59] * spronk has joined #silverstripe
563: [16:38:05] * guzzlefry quit (Ping timeout: 244 seconds)
564: [16:41:54] * Marvanni quit (Ping timeout: 245 seconds)
565: [16:44:41] * guzzlefry has joined #silverstripe
566: [17:04:39] * stnvh quit (Quit: sleepy)
567: [17:06:08] * muskie9 is now known as _muskie9_
568: [17:06:57] * _muskie9_ is now known as muskie9
569: [17:11:10] * Eliseth has joined #silverstripe
570: [17:11:36] * Eliseth quit (Client Quit)
571: [17:27:10] * muskie9 is now known as _muskie9_
572: [17:30:15] * Otterpocket quit (Quit: WeeChat 0.4.1)
573: [17:34:47] * toddvalentine quit ()
574: [17:35:13] * Pyhlwnk quit ()
575: [17:51:08] * _muskie9_ is now known as muskie9
576: [17:54:59] * ThePeach quit (Quit: leaving)
577: [18:28:41] * Stomach has joined #silverstripe
578: [18:44:00] <catcher> Anyone here use the subsites module?
579: [18:51:35] <muskie9> anyone use Puphpet [https://puphpet.com] for vagrant stuff
580: [19:55:26] * Colin[pi] quit (Ping timeout: 264 seconds)
581: [19:55:42] <Stomach> catcher - I have
582: [19:56:51] <catcher> Stomach, good experience? I've seen people ask about a few issues here.
583: [19:57:01] <Stomach> yeah it was alright
584: [19:57:09] <Stomach> there were a couple of issues which took a bit of time to solve
585: [19:57:20] <Stomach> its definitely not ideal though
586: [20:06:33] <catcher> Stomach, what were the big problems?
587: [20:07:41] * UndefinedOffset quit (Quit: Leaving.)
588: [20:15:06] * Colin[pi] has joined #silverstripe
589: [20:25:45] * Colin[pi] quit (Ping timeout: 260 seconds)
590: [20:39:00] <Stomach> catcher - having to have all of the functionality for some sections on massive "god" pages
591: [20:39:11] <Stomach> and having a hard time managing what showed up where
592: [20:40:13] * Stomach quit (Quit: zzz)
593: [20:50:23] * muskie9 is now known as _muskie9_
594: [20:53:03] * _muskie9_ is now known as muskie9
595: [21:32:02] * catcher quit (Ping timeout: 264 seconds)
596: [21:32:14] * muskie9 is now known as _muskie9_
597: [21:35:10] * _muskie9_ quit (Read error: Connection reset by peer)
598: [21:35:39] * muskie9 has joined #silverstripe
599: [21:40:50] * spronk quit (Ping timeout: 265 seconds)
600: [22:21:23] * Kingy[a] is now known as Kingy
601: [22:26:17] * muskie9 is now known as _muskie9_
602: [22:52:51] * jenniferaslan quit (Quit: jenniferaslan has left the room)
603: [22:58:02] * jenniferaslan has joined #silverstripe
604: [23:09:54] * UncleCheese has joined #silverstripe
605: [23:43:12] * Colin[pi] has joined #silverstripe
606: [23:54:15] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)

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