#silverstripe IRC Log

IRC log for 1 February 2015

All timestamps are in UTC.

1: [00:22:11] * veb has joined #silverstripe
2: [00:22:17] * bemusedrat has joined #silverstripe
3: [00:29:07] * UncleCheese has joined #silverstripe
4: [00:32:03] * aragonne has joined #silverstripe
5: [00:32:47] * Cheddam has joined #silverstripe
6: [00:43:21] * aragonne quit (Quit: aragonne)
7: [00:44:24] * aragonne has joined #silverstripe
8: [00:45:03] * aragonne has left #silverstripe
9: [01:03:04] * Cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
10: [01:10:58] <Motoservo> Using composer for the fist time. My Ss install went well so was wanting to add the blog module. Everything seemed to go well until, first, got a runtime exception regarding .git missing from vendor. Looked up and found a page that suggested removing vendor and running again. I did that and it finished okay that time. Ran ….com/dev/build and some db changes took effect. Then, tried to load my page but got this…
11: [01:11:36] <Motoservo> [Warning] filemtime(): stat failed for /Users/mylocaldir/mysitedomain//themes/simple/templates/Page.ss
12: [01:12:01] <Motoservo> Failed at Line 1071 in /Users/Moto/Sites/fartherflung.com/framework/view/SSViewer.php
13: [01:12:07] <Motoservo> Any ideas?
14: [01:16:25] * joelpittet has joined #silverstripe
15: [01:19:05] * Shrike_Finland1 quit (Quit: Leaving.)
16: [01:21:27] * joelpittet quit (Ping timeout: 265 seconds)
17: [01:35:05] * ss-log quit (Ping timeout: 256 seconds)
18: [01:35:15] * ss-log_ has joined #silverstripe
19: [01:38:10] * ss23_ has joined #silverstripe
20: [01:40:20] * [Fate_] has joined #silverstripe
21: [01:43:10] * FrozenFire[alt] has joined #silverstripe
22: [01:43:12] * ss-log quit (Ping timeout: 256 seconds)
23: [01:43:13] * ss23 quit (Ping timeout: 256 seconds)
24: [01:43:14] * FrozenFire quit (Ping timeout: 256 seconds)
25: [01:43:16] * [Fate] quit (Ping timeout: 256 seconds)
26: [01:43:17] * JeremyRoundill quit (Ping timeout: 256 seconds)
27: [01:43:19] * [Fate_] is now known as [Fate]
28: [01:43:36] * jeremy_ has joined #silverstripe
29: [01:44:27] * jeremy_ is now known as Guest1059
30: [01:44:51] * r_hector has joined #silverstripe
31: [01:45:01] * FrozenFire[alt] is now known as FrozenFire
32: [01:48:21] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
33: [01:55:08] <Motoservo> What I find as strange (and remember, I’ve never used composer before) is that on the command line, after running the command to install the blog module, I’m seeing stuff like…
34: [01:55:10] <Motoservo> Installing silverstripe/cms (3.1.9)
35: [01:55:43] <Motoservo> My cms dir was already there so I’m not quite sure why it would install a new one.
36: [03:04:49] * joelpittet has joined #silverstripe
37: [03:06:44] * veb quit (Quit: veb-irc: &)
38: [03:10:15] * joelpittet quit (Ping timeout: 276 seconds)
39: [03:24:57] * veb has joined #silverstripe
40: [03:26:32] * veb quit (Client Quit)
41: [03:35:56] * veb has joined #silverstripe
42: [04:04:18] * Azure quit (Quit: My MBP went to sleep.)
43: [04:07:33] * Azure has joined #silverstripe
44: [04:18:03] * Stomach has joined #silverstripe
45: [04:25:06] * Cheddam has joined #silverstripe
46: [04:36:09] * Cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
47: [04:40:41] * cloph_away has joined #silverstripe
48: [04:40:42] * cloph quit (Ping timeout: 245 seconds)
49: [04:41:27] * Cheddam has joined #silverstripe
50: [04:44:42] * bemusedrat1 has joined #silverstripe
51: [04:47:18] * bemusedrat quit (Ping timeout: 246 seconds)
52: [04:52:03] * Cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
53: [04:53:44] * joelpittet has joined #silverstripe
54: [04:59:05] * joelpittet quit (Ping timeout: 256 seconds)
55: [05:01:32] * ss23_ is now known as ss23
56: [05:04:05] * Cheddam has joined #silverstripe
57: [05:04:20] * Hailwood has joined #silverstripe
58: [05:51:23] * Cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
59: [06:11:47] * veb quit (Quit: veb-irc: &)
60: [06:40:08] * clairef has joined #silverstripe
61: [06:42:37] * joelpittet has joined #silverstripe
62: [06:47:53] * joelpittet quit (Ping timeout: 256 seconds)
63: [06:52:27] <Motoservo> Can’t remember, what’s the way to include my admin creds in my get request for a dev build?
64: [06:52:36] <Motoservo> syntax?
65: [06:55:37] <Motoservo> Nevermind, thought that was something silverstripe-y. Found it.
66: [07:14:14] * clairef quit (Quit: Leaving.)
67: [07:30:11] * Stomach quit (Quit: zzz)
68: [07:39:08] * Stomach has joined #silverstripe
69: [07:58:27] * babak_ is now known as babak
70: [08:15:00] * r_hector quit (Quit: Leaving.)
71: [08:31:28] * joelpittet has joined #silverstripe
72: [08:36:04] * joelpittet quit (Ping timeout: 245 seconds)
73: [08:37:58] * Kapdap_ has joined #silverstripe
74: [08:39:29] * gordon_ has joined #silverstripe
75: [08:40:32] * bemusedrat has joined #silverstripe
76: [08:45:19] * nontgor quit (*.net *.split)
77: [08:45:20] * Kapdap quit (*.net *.split)
78: [08:45:21] * bemusedrat1 quit (*.net *.split)
79: [08:45:21] * [Fate] quit (*.net *.split)
80: [08:46:56] * [Fate] has joined #silverstripe
81: [09:20:16] * gordon_ quit (Disconnected by services)
82: [09:20:49] * gordon_ has joined #silverstripe
83: [09:37:42] * UncleCheese has joined #silverstripe
84: [09:41:32] * Stomach quit (Quit: zzz)
85: [10:20:23] * joelpittet has joined #silverstripe
86: [10:24:58] * joelpittet quit (Ping timeout: 245 seconds)
87: [10:36:48] <Hailwood> Hey guys, How can I specify two different log files for debug vs anything else output?
88: [10:38:13] * gelignite has joined #silverstripe
89: [10:40:31] * Kingy[a] is now known as Kingy
90: [10:47:45] * Kingy is now known as Kingy[a]
91: [11:11:32] * gordon_ quit (Ping timeout: 245 seconds)
92: [11:11:58] * gordon_ has joined #silverstripe
93: [11:19:19] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
94: [11:58:33] * Kingy[a] is now known as Kingy
95: [11:58:44] <Kingy> Anyone around?
96: [12:01:39] * Azure quit (Ping timeout: 246 seconds)
97: [12:09:17] * joelpittet has joined #silverstripe
98: [12:14:08] * joelpittet quit (Ping timeout: 245 seconds)
99: [12:50:29] * Hailwood quit (Read error: Connection reset by peer)
100: [12:59:55] * Kingy is now known as Kingy[a]
101: [13:58:09] * joelpittet has joined #silverstripe
102: [14:03:39] * joelpittet quit (Ping timeout: 264 seconds)
103: [14:30:32] <zauberfisch> didn't SQLQuery got pushed to 4.x and SQLSelect stayed in 3.x?
104: [14:32:46] <zauberfisch> getting ::augmentSQL() should be compatible with DataExtension::augmentSQL(SQLQuery &$query)
105: [14:32:49] <zauberfisch> D:
106: [14:33:13] <zauberfisch> or wait a second
107: [14:33:15] <zauberfisch> I am confused
108: [14:38:10] * Hailwood has joined #silverstripe
109: [15:05:16] * bemusedrat quit (Quit: Leaving)
110: [15:12:16] * Shrike_Finland has joined #silverstripe
111: [15:38:31] * BackEndCoder has joined #silverstripe
112: [15:38:42] <BackEndCoder> hi guys
113: [15:38:48] <BackEndCoder> learning this framework for the lawls at the weekend
114: [15:38:55] <BackEndCoder> any good tuts/tips for a newbie ?
115: [15:39:40] <BackEndCoder> and is this a valid tut still? (age)_https://www.howtoforge.com/running-silverstripe-on-nginx-lemp-on-debian-wheezy-ubuntu-13.04
116: [15:47:03] * joelpittet has joined #silverstripe
117: [15:52:17] * joelpittet quit (Ping timeout: 264 seconds)
118: [16:00:21] * Hailwood quit (Ping timeout: 246 seconds)
119: [16:09:43] * Shrike_Finland quit (Quit: Leaving.)
120: [16:24:25] * joelpittet has joined #silverstripe
121: [16:26:21] * Azure has joined #silverstripe
122: [18:26:25] * Shrike_Finland has joined #silverstripe
123: [18:46:30] * muskie9 has joined #silverstripe
124: [18:48:54] * Stomach has joined #silverstripe
125: [19:01:43] * joelpittet quit (Remote host closed the connection)
126: [19:08:08] * Stomach quit (Quit: zzz)
127: [19:08:14] * joelpittet has joined #silverstripe
128: [19:28:17] * irogue_ has joined #silverstripe
129: [19:30:32] * mobiusnz has joined #silverstripe
130: [19:35:00] * irogue_ quit (Ping timeout: 250 seconds)
131: [19:37:02] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
132: [19:37:09] * Pyromanik has joined #silverstripe
133: [19:37:31] <Pyromanik> nuke broon
134: [19:38:17] * Ryan-Toast has joined #silverstripe
135: [19:38:28] <Pyromanik> reet Ryan-Toast
136: [19:39:03] <Ryan-Toast> Haii
137: [19:39:21] * muskie9 has joined #silverstripe
138: [19:39:24] * clairef has joined #silverstripe
139: [19:39:28] <Ryan-Toast> I feel like absolute shit.
140: [19:39:43] <Ryan-Toast> Stupid two days of drinking at the nines.
141: [19:39:45] <Pyromanik> What a coincidence, I feel amazing@
142: [19:39:47] <Pyromanik> !*
143: [19:39:53] * Pyromanik drinks
144: [19:40:25] <Pyromanik> Don't you work in the wrong city for... oh wait, nines? wtf
145: [19:40:33] <Pyromanik> dafuq is that?
146: [19:40:42] <Pyromanik> since when was 9 a side a thing?
147: [19:40:51] <Ryan-Toast> It’s a one off tournament every year.
148: [19:41:05] <Ryan-Toast> http://www.nrlaucklandnines.co.nz/
149: [19:41:06] <Pyromanik> since long before people went to it?
150: [19:41:12] <Ryan-Toast> lol, dat countdown.
151: [19:41:38] <Pyromanik> LALZ
152: [19:41:45] * Stomach has joined #silverstripe
153: [19:41:52] <Pyromanik> also, do not skim read.
154: [19:42:02] <Pyromanik> New Zealand's biggest summer Dick is back!
155: [19:42:18] <Pyromanik> Smith NRL Nines...
156: [19:42:52] * jghazally has joined #silverstripe
157: [19:42:57] <Pyromanik> ew fuck, beko has penetrated the NZ market?
158: [19:43:14] <Pyromanik> worst appliance I've ever had. Would never buy. Would never recommend to buy.
159: [19:44:26] <Pyromanik> Ryan-Toast, is Element.closest even a thing?
160: [19:44:36] <Pyromanik> or is it just Firefox being awesome/hopeful
161: [19:44:48] <Ryan-Toast> Pyromanik: it’s jQuery
162: [19:44:53] <Pyromanik> NOPE
163: [19:44:55] <jghazally> Hi, I had a SS 2.4.3 site migrated to a new server and noticed that the new instance is not caching,, anyone know how to get the cache up and running ?
164: [19:45:01] <Pyromanik> https://developer.mozilla.org/en-US/docs/Web/API/Element.closest
165: [19:45:11] <Ryan-Toast> Pyromanik: :P
166: [19:45:16] <Pyromanik> jghazally, what do you mean 'not caching'?
167: [19:45:41] <jghazally> well there was no folder in the /tmp/ dir with the cached files…
168: [19:45:48] <Ryan-Toast> jghazally: Sounds like a permissions issue on the new server.
169: [19:45:55] <Pyromanik> Ryan-Toast, it says 'experimental' but I can't seem to find out if it's "Proposed/draft API" or "Mozilla specific extension"
170: [19:46:12] <jghazally> I’ve 775 and chowned it to the correct user,
171: [19:46:14] <Pyromanik> jghazally...
172: [19:46:19] <Ryan-Toast> Pyromanik: I’ve used closest before in jQuery, not sure if they’re making it an actual thing.
173: [19:46:21] <Pyromanik> that's... not exactly proof.
174: [19:46:32] <Pyromanik> is it taking 20m to load every request?
175: [19:46:45] <Pyromanik> is there a silverstripe-cache folder in the ss root?
176: [19:47:15] <Pyromanik> 775 and chown on /tmp seems like... well a bad idea.
177: [19:47:21] <Pyromanik> well, the chown speciifically
178: [19:47:25] <jghazally> sorry dont follow,, no, and Im getting PHP fatal memory errors in the admin.
179: [19:47:34] <Pyromanik> well
180: [19:47:42] <Pyromanik> probably your new server doesn't have enough memory
181: [19:47:48] <Pyromanik> allowed to php
182: [19:47:56] <Pyromanik> 256 should fix it
183: [19:48:00] <Pyromanik> 256M
184: [19:48:05] <jghazally> and no there is no cache folder in the ss root
185: [19:48:10] <Pyromanik> make one.
186: [19:48:16] <jghazally> php.ini memory -1
187: [19:48:18] <Pyromanik> mkdir silverstripe-cache
188: [19:48:24] <Ryan-Toast> Try setting additional memory in the config.php: ini_set('memory_limit’,’256M');
189: [19:48:34] <Pyromanik> chown www-data:www-data silverstripe-cache
190: [19:48:41] <Pyromanik> chmod 777 silverstripe-cache
191: [19:48:50] <Pyromanik> o.0 wtf -1
192: [19:49:25] <Pyromanik> and/or die(ini_get('memory_limit'));
193: [19:49:49] <Pyromanik> Never take things forgranted jghazally! Like pokemanz, gotta investigate them all!
194: [19:49:50] <jghazally> php -i | grep -Ris 'memory'
195: [19:49:55] <Pyromanik> no
196: [19:49:59] <jghazally> memory_limit => -1 => -1
197: [19:50:01] <Pyromanik> no that's 100% wrong
198: [19:50:08] <Pyromanik> yeah well it would be, woudln't it
199: [19:50:14] <jghazally> eh?
200: [19:50:16] <Pyromanik> because cli php uses a COMPLETELY different ini file
201: [19:50:23] <Pyromanik> like, 100% different.
202: [19:50:42] <jghazally> ah
203: [19:50:44] <Pyromanik> as in /etc/php5/php5-cli/php.ini
204: [19:50:46] <Pyromanik> vs
205: [19:50:50] <Pyromanik> the same but php-apache
206: [19:51:22] <jghazally> doh
207: [19:51:28] <Pyromanik> well, assuming you have ubuntu server or some other debian type that's similar
208: [19:52:05] <Pyromanik> also, even if the ini is set with an acceptable limit, that doesn't mean that something say like... your apache vhost isn't altering that before actual execution
209: [19:53:09] <jghazally> doubt, it, I should also mention I have a smaller instance running as a stage environment and it doesnt give me the same php memory error,, (it does however have a cache folder in the /tmp/
210: [19:53:31] <Pyromanik> by 'smaller instance' do you mean the exact same configuration?
211: [19:53:37] <jghazally> yea…
212: [19:53:41] <jghazally> checked both _config.php and _ss_environment.php
213: [19:53:58] <Pyromanik> so they're both aws servers spooled up by the same config or something?
214: [19:54:03] <jghazally> yup
215: [19:54:05] <Pyromanik> aws/cloud*
216: [19:54:31] <Pyromanik> swap DNS around, dev->live, live->dev.
217: [19:54:35] <Pyromanik> problem solved!
218: [19:55:11] <jghazally> bahahahahah heh..
219: [19:55:15] <Pyromanik> it's before 9am, there's not enough time in the day to have woken up propers yet, deal with it later :<
220: [19:55:47] <Pyromanik> 8:55 even, the situation is even more dire.
221: [19:56:12] <jghazally> thanks for the tips. last question before I dig into the cache code, does the cache need a /dev/build to trigger?
222: [19:56:18] * joelpittet quit (Remote host closed the connection)
223: [19:56:19] <jghazally> or a ?flush?
224: [19:56:19] <Pyromanik> woah woah woah
225: [19:56:22] <Pyromanik> slow down there
226: [19:56:26] <Pyromanik> nothing wrong with the cache at all
227: [19:56:39] <Stomach> Pyromanik - are you in NZ now?
228: [19:56:43] <Pyromanik> and it depends on which cache you're talking about
229: [19:56:50] <Pyromanik> Stomach, my spirit never left.
230: [19:56:53] <Stomach> :D
231: [19:56:55] <Pyromanik> computer clock still set to nz time.
232: [19:57:02] <jghazally> ss cache
233: [19:57:10] <Pyromanik> jghazally, yea well, what?
234: [19:57:23] <Pyromanik> classes (autoloader), templates, images, what?
235: [19:57:25] <Pyromanik> etc.
236: [19:57:29] <Pyromanik> there's a lot going on.
237: [19:57:36] <jghazally> class
238: [19:57:42] <Pyromanik> and as time has gone on, the line between all the things has become increasingly blurred.
239: [19:57:43] <Pyromanik> build.
240: [19:57:47] <Pyromanik> iirc.
241: [19:57:59] <jghazally> great thanks.
242: [19:58:03] <Stomach> yeah the cache system does a _lot_
243: [19:58:08] <Pyromanik> jghazally, also
244: [19:58:17] <Pyromanik> dn't go digging. There's nothing wrong with the code.
245: [19:58:28] <Pyromanik> as evidence by 'works on this machine, not on that one'
246: [19:58:31] <jghazally> I’d dig to understand it
247: [19:58:36] <Pyromanik> yeah... don't.
248: [19:58:41] * Guest1059 quit (Remote host closed the connection)
249: [19:58:48] <Pyromanik> you'll surface next week some time going 'what year is it?'
250: [19:59:01] <Pyromanik> possibly having grown a grey neck beard.
251: [19:59:05] <jghazally> oh great…
252: [19:59:30] * jghazally confidence in ss black magic has grown
253: [19:59:44] <Pyromanik> mkdir /path/to/web/root/silverstripe/install-dir/silverstripe-cache
254: [19:59:46] * pippy has joined #silverstripe
255: [19:59:54] <Pyromanik> job done.
256: [19:59:58] <Pyromanik> go home
257: [20:00:00] <Pyromanik> have beer
258: [20:00:04] <Pyromanik> or cider
259: [20:00:05] * Shrike_Finland quit (Ping timeout: 256 seconds)
260: [20:00:09] * Shrike_Finland1 has joined #silverstripe
261: [20:00:10] <Pyromanik> or... idk... hot chocolate.
262: [20:00:18] <Pyromanik> if you're muslim or something.
263: [20:01:09] <Pyromanik> the truth of the world, when it comes to ss, always _ss_environment.php && silverstripe-cache/
264: [20:01:28] <Pyromanik> then your problems go from 99 to ... idk, 7/
265: [20:01:49] <Pyromanik> maybe 8, if you're not as fortunate as J-Z
266: [20:01:55] <Pyromanik> J-Zee*
267: [20:02:01] <jghazally> how do you make ss use a cache folder outside the project root? my deploy system wouldnt like it.
268: [20:02:22] <jghazally> living in the same folder..
269: [20:02:26] <Pyromanik> well, you either force your deployment system to like it, or say... idk, upgrade maybe.
270: [20:02:34] <Pyromanik> why would that be so bad?
271: [20:02:45] <Pyromanik> .gitignore and all that
272: [20:03:13] <Stomach> you can set the cache folder through config somehow I think
273: [20:03:17] <jghazally> cause inconsistent, my stage has the cache in the /tmp/
274: [20:03:19] <Pyromanik> ^
275: [20:03:24] <Pyromanik> but I'm not 100% on 2.4
276: [20:03:28] <Pyromanik> Stomach^^
277: [20:03:31] <Stomach> oh is he 2.4
278: [20:03:37] <Stomach> yeah I dont think you can there
279: [20:03:46] <Pyromanik> jghazally, yeah, just mkdir in your stage too.
280: [20:03:57] <Stomach> but it sounds like the inconsistency is your hosting environments, no ss's behaviour
281: [20:04:01] <Pyromanik> if it's ignored by the migration system then it shouldn't matter anyway, right?
282: [20:04:16] <Pyromanik> ps. totally what Stomach just said.
283: [20:05:27] <Pyromanik> that or it's the first build and that's causing GD to overrun all the things, or something.
284: [20:05:36] <Pyromanik> Because GD gonna GD.
285: [20:06:17] <Pyromanik> If the site works without giving the error then it's managed to build your cache and site.
286: [20:06:21] <Pyromanik> err, database.
287: [20:06:32] <Stomach> yeah GD memory limits can be a bitch if you have lots of images going on, especially in 2.4
288: [20:06:34] <Pyromanik> it's just the /admin not working, then that's... odd.
289: [20:06:56] <Pyromanik> I'd suggest that it's all to do with _resampled cms_thumbnail_* creations.
290: [20:07:03] <Pyromanik> or something
291: [20:07:04] <Pyromanik> idk
292: [20:07:12] <Pyromanik> not enough profiling happening here.
293: [20:07:30] <Pyromanik> plus 2.4 was like... windows XP ago dude.
294: [20:08:28] <jghazally> tell me about it, if there was a nice clear upgrade path id of taken it,,,
295: [20:09:36] <Pyromanik> have
296: [20:09:40] <Pyromanik> you'd have taken it.
297: [20:09:57] <Pyromanik> so, is it a complex site
298: [20:09:58] <Pyromanik> ?
299: [20:10:14] <jghazally> yup a multisite,
300: [20:10:56] <jghazally> complex as in, when I took over I asked myself why was this over engineered?
301: [20:11:05] <jghazally> but thats neither here nor there.
302: [20:11:20] <Pyromanik> multisite?
303: [20:11:25] <Pyromanik> where are you based?
304: [20:11:31] <Pyromanik> like, china?
305: [20:11:52] <jghazally> bahahah
306: [20:11:53] <Pyromanik> wait, no, that's translatable.
307: [20:11:59] <Pyromanik> works the same way though.
308: [20:12:24] * MichalKleiner|aw is now known as MichalKleiner
309: [20:12:26] <MichalKleiner> moin
310: [20:12:33] <Pyromanik> Dolbre rano
311: [20:13:55] <Pyromanik> jghazally, what is the actual error?
312: [20:14:22] <MichalKleiner> Pyromanik nice try :)
313: [20:14:31] <Ryan-Toast> did a restaurant website last week, and just went in to check how the message archiving system is going, and the three newest all start along the lines of “As a vegan…"
314: [20:14:35] <Ryan-Toast> lolol, good luck, guys.
315: [20:14:41] <Pyromanik> MichalKleiner, yeah well, no accents on my keyboard.
316: [20:15:08] <MichalKleiner> the L should not be there, otherwise accents are overrated :-D
317: [20:15:19] <Pyromanik> Dobre
318: [20:15:21] <Pyromanik> gotcha
319: [20:15:28] <Pyromanik> Dobre rano
320: [20:15:31] <MichalKleiner> yep
321: [20:15:41] <Stomach> haha Ryan-Toast :D
322: [20:15:59] <Pyromanik> Russian, Polish, Czech, Slovak, it all gets very confusing after a while.
323: [20:16:21] <Pyromanik> Ryan-Toast, As a Vegan, I don't appreciate your tone.
324: [20:16:28] <jghazally> @pyromanik PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 92 bytes) in /var/www/project/current/php/sapphire/core/Object.php on line 820,
325: [20:16:31] <Ryan-Toast> Pyromanik: Found the vegan.
326: [20:16:38] <Ryan-Toast> :P
327: [20:16:39] <Ryan-Toast> <3
328: [20:16:47] <Pyromanik> Ryan-Toast, nup. all dem jokes.
329: [20:16:50] <Pyromanik> but still.
330: [20:17:00] <Ryan-Toast> I do meatless monday, but that’s about it.
331: [20:17:11] <Ryan-Toast> Small steps
332: [20:17:19] <Pyromanik> As with every 'segment' of humanity, there are the good folks, the pain in the arse folks, and the outright mental folks.
333: [20:17:30] <Ryan-Toast> I would do tuesday too, but they do two for one burgers at velvet burger on Tuesday...
334: [20:17:47] <Pyromanik> jghazally, no stacktrace to go with that?
335: [20:18:14] <jghazally> nope. its from trying to add an image in admin.
336: [20:18:32] <jghazally> click the file folder browser thing and ‘an error occured'
337: [20:18:39] <Pyromanik> definitely sounds GD related then.
338: [20:18:46] <Ryan-Toast> jghazally: Usually caused by massive images/files
339: [20:18:58] <Pyromanik> ^
340: [20:19:04] <Ryan-Toast> and running out of memory.
341: [20:19:24] <Ryan-Toast> increasing the memory in config.php usually fixes that one for me.
342: [20:20:13] <Pyromanik> Come with me my friends
343: [20:20:40] <Pyromanik> OMG imagine if as opposed to last year they actually played some kiwi music
344: [20:20:45] <Pyromanik> on Waitangi day.
345: [20:20:52] * Pyromanik waits in hope
346: [20:20:57] <Ryan-Toast> Pyromanik: COME WITH US NOW ON A JOURNEY THROUGH TIME AND SPACE
347: [20:21:43] <Pyromanik> Ryan-Toast, idek, who are you, pendulum?
348: [20:21:56] <jghazally> as in ini_set('memory_limit’,’256M');
349: [20:21:57] <jghazally> ?
350: [20:21:57] <Ryan-Toast> Pyromanik: THE MIIIIGGGHHHTTTYYY BOOOOSSSSHHH
351: [20:22:01] <jghazally> in the config?
352: [20:22:09] <Ryan-Toast> jghazally: yarp
353: [20:22:13] <Ryan-Toast> then do a dev/build
354: [20:22:17] <Pyromanik> jghazally, yep, as in one of the very first suggestions ever given to you in hope to solve this issue
355: [20:22:17] <jghazally> and how much woul dyou recommend?
356: [20:22:26] <Pyromanik> 256
357: [20:22:28] <Pyromanik> M
358: [20:22:30] <Ryan-Toast> One million
359: [20:22:37] <Ryan-Toast> maybe a billion to be safe.
360: [20:22:51] * Pyromanik katrillions all over Ryan-Toast
361: [20:22:52] <Ryan-Toast> or 256M, whatever.
362: [20:23:06] <Pyromanik> from space with love.
363: [20:24:05] <Pyromanik> haha, I found my roulette calculator.
364: [20:24:07] <Pyromanik> mint
365: [20:24:10] <jghazally> great thanks,
366: [20:24:18] <Pyromanik> worked?
367: [20:24:27] <Pyromanik> bigger error?
368: [20:24:44] <Ryan-Toast> computer exploded, he’s dead now.
369: [20:24:45] <Pyromanik> universe imploded and I just didn't notice yet?
370: [20:24:54] <Pyromanik> boom, almost snap.
371: [20:25:00] <Ryan-Toast> RIP jghazally
372: [20:25:27] <jghazally> it worked…
373: [20:25:29] <jghazally> I think.
374: [20:25:34] <jghazally> untill they tell me otherwise.
375: [20:25:39] <Ryan-Toast> Odesza is such a good Monday morning artist to listen to.
376: [20:25:50] <Pyromanik> jghazally, sounds legit.
377: [20:26:00] <jghazally> still no caching going on...
378: [20:26:04] <jghazally> find this weird
379: [20:26:07] <Pyromanik> customer satisfaction is measured in (legitimateded) customer complaints.
380: [20:26:08] <Ryan-Toast> jghazally: just go and delete the massive files from your upload folder too, and hard force an upload limit.
381: [20:26:26] <Ryan-Toast> will save you some headaches down the road.
382: [20:26:28] <Pyromanik> Ryan-Toast, nah coz migration.
383: [20:26:35] <Ryan-Toast> Pyromanik: Ohhh, right.
384: [20:26:40] <Pyromanik> delete files suddenly complaint that pics missing
385: [20:26:48] <Ryan-Toast> delete. everything.
386: [20:26:58] <Pyromanik> rm -rf client.win
387: [20:27:03] <jghazally> yea.. theres a few editors, not sure whats ebing used.
388: [20:27:13] <Pyromanik> err, client.ftw*
389: [20:27:26] <Pyromanik> ebing?
390: [20:27:33] <Ryan-Toast> I always find people try to upload in a page, they get a limit error, so they go and do it in files and then link it to the page.
391: [20:27:37] <Ryan-Toast> YOU SNEAKY FUCKS
392: [20:27:41] <Pyromanik> they're ebing SS and tinyMCE, that's what.
393: [20:28:03] * Ryan-Toast rubs his hands together in thought of TME4
394: [20:28:12] <Ryan-Toast> TinyMCE4
395: [20:28:14] <Pyromanik> Ryan-Toast, lol, that's why set global limit, not instance limit on uploadfield
396: [20:28:24] <Pyromanik> DUUUUUHH
397: [20:28:33] <Ryan-Toast> Pyromanik: yeah, was my first couple of sites with SS. Didn’t think I’d have to do it there too :P
398: [20:28:44] <Pyromanik> heh, ic
399: [20:28:54] <Pyromanik> I miss SS a bit.
400: [20:29:04] <Pyromanik> I almost sorta miss clients. Almost.
401: [20:29:05] <Ryan-Toast> come back to us
402: [20:29:12] <Ryan-Toast> rock3tm4n
403: [20:29:17] <Pyromanik> because Users, OMFG users.
404: [20:29:25] <Pyromanik> it's like clients, x12 stupidity.
405: [20:29:32] <Ryan-Toast> Get an account manager.
406: [20:29:37] <Ryan-Toast> never talk to clients again.
407: [20:29:37] <Pyromanik> we have one.
408: [20:29:46] <Pyromanik> he delegates to lead dev.
409: [20:29:51] <Ryan-Toast> Only time I speak to clients is in scoping meetings.
410: [20:30:06] <Pyromanik> lead dev hasn't written a single line of code since october last year.
411: [20:30:09] * wracu has joined #silverstripe
412: [20:30:44] <Pyromanik> too busy writing update documents for the manager, who then calls him into the office afterwards to talk about them, then gets him to update them with what they talked about afterwards....
413: [20:30:50] <Stomach> Pyromanik - welcome to my liiiiiife
414: [20:30:51] <Stomach> :(
415: [20:30:52] <Pyromanik> (you can see this circle going already)
416: [20:31:14] <Pyromanik> We got this new manager.
417: [20:31:20] <Pyromanik> Literally does absolutely nothing.
418: [20:31:38] <Pyromanik> just, rocks around going to meetings and exerting 'dominance' over the department.
419: [20:31:52] <Pyromanik> by which I mean making us track our time in THREE separate systems.
420: [20:31:58] <Pyromanik> triple entry ftw.
421: [20:32:08] <Pyromanik> delegates all his actual work to us
422: [20:32:29] <Pyromanik> involves himself in every single little thing going on (including someone coming to your desk to ask a 5 second question)
423: [20:32:32] <Ryan-Toast> Ah, middle managment.
424: [20:32:41] <Ryan-Toast> my hatred for them grows with each meeting.
425: [20:32:54] <Pyromanik> then goes "omg so busy" and sends emails at 11 at night, asking for the work to be done on his desk by 11am (update docs again)
426: [20:33:18] <Pyromanik> Ryan-Toast, this is nothing like anything I'd ever experienced in NZ
427: [20:33:30] <Pyromanik> You have to experience it to believe it.
428: [20:33:42] <Ryan-Toast> I had American middle management.
429: [20:33:51] <Pyromanik> I mean, I'd watched The IT Crowd before, thought it was all laughs and hyperbole.
430: [20:33:54] <Ryan-Toast> From fortune 500 banking institutions.
431: [20:33:57] <Pyromanik> IT'S IS ALMOST A FUCKING DOCUMENTARY
432: [20:34:06] * Hailwood has joined #silverstripe
433: [20:34:28] <Pyromanik> Ryan-Toast, oh, so you probably know how it goes then.
434: [20:34:33] <Ryan-Toast> Pyromanik: Yarp :)
435: [20:34:33] * vanny has joined #silverstripe
436: [20:34:44] <Pyromanik> NZ; laid back and pretty much all 'JFDI'.
437: [20:34:48] <Ryan-Toast> Luckily I had a really good PTL who didn’t take any of their shit.
438: [20:35:06] <Ryan-Toast> Benefit of being 6’8”
439: [20:35:15] <Pyromanik> I sent an email to alleviate 68% of the userbase having issues out to the whole company (company wide system, every single person supposed to be on it.)
440: [20:35:26] <Ryan-Toast> just stood up real close and would say “go away, we’re busy"
441: [20:35:32] <Pyromanik> Line manager had to appologize to the directors because HR thought it was innapropriate.
442: [20:35:56] <Pyromanik> it interrupted their 'promotion communication schedule' (system was a week old, they are trying to promote usage_
443: [20:36:15] <Pyromanik> conveniently skipping over the fact that if everyone think's it's shit and doesn't do what they want/need, then they won't use it.
444: [20:36:26] <Ryan-Toast> Cough agile
445: [20:36:33] <Pyromanik> Then 2 days later the communication they intended to send that day (but didn't because I beat them to it) came out.
446: [20:36:53] * clairef quit (Quit: Leaving.)
447: [20:37:06] <Pyromanik> It was a fucking picture from google image search of some hippies and a note saying 'you should sign in every day'
448: [20:37:42] <Pyromanik> 'because you can access your paychecks'
449: [20:37:50] <vanny> hi all, is there a way to get previous item from the controller to do some visual grouping in the html. Eg check if the returned field has changed from record to record
450: [20:37:56] <Pyromanik> and a couple of other things.
451: [20:38:13] <Pyromanik> but... that also happens to be the very thing people were complaining about (they didn't know how to access their paychecks)
452: [20:38:23] <Pyromanik> me: 100, HR: 2.
453: [20:38:26] <Pyromanik> xD
454: [20:38:32] <Pyromanik> JFDI, NO SHAME, WIN
455: [20:38:51] <Pyromanik> vanny, what do you mean by 'previous item'?
456: [20:39:11] <vanny> yeah, I have a calendar and need all itmes on one date to be grouped
457: [20:39:17] <Pyromanik> and 'returned field'?
458: [20:39:26] <Pyromanik> vanny, GroupBy
459: [20:39:40] <Pyromanik> not to be confused with sql GROUP BY
460: [20:39:44] <Stomach> either that or you can write some code to do it which is kind of nasty
461: [20:39:51] <Pyromanik> Which is kinda nasty
462: [20:39:57] <Motoservo> New to composer and git, can’t I just install ss, unversioned, then use composer to add the blog module? Getting a warning that the .git dir is missing.
463: [20:40:23] <vanny> how do I reference the group outside the controlled?
464: [20:40:32] <Pyromanik> Motoservo, no, that'd be like installing linux without a package manager, then getting a package manager to update it.
465: [20:40:47] <Pyromanik> vanny, define 'controlled'?
466: [20:41:10] <vanny> opps controller
467: [20:41:32] <Stomach> Motoservo - yeah you can
468: [20:41:42] * veb has joined #silverstripe
469: [20:42:00] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
470: [20:42:06] <Ryan-Toast> vanny: I did something like this in a project with an “image” navigation at the bottom of the page. Hope this helps you: http://www.sspaste.com/paste/show/54ce8f36cc613
471: [20:42:20] <Motoservo> —no-update?
472: [20:42:22] * spronk2 has joined #silverstripe
473: [20:42:28] <Stomach> Motoservo - just do composer create-project littlegiant/installer SITENAME 3.1.9
474: [20:42:38] <Motoservo> thanks, Stomach.
475: [20:42:53] <Stomach> then inside that directory composer require "silverstripe-blog:*" or whatever the composer command is
476: [20:43:12] <Stomach> but that command will ask you if you want to preserve the VCS during install and just say "no"
477: [20:43:42] <Motoservo> Okay, I’ll try it.
478: [20:44:48] <Pyromanik> littlegiant you say Stomach
479: [20:44:59] <Stomach> whoops
480: [20:45:06] <Stomach> composer create-project silverstripe/installer SITENAME 3.1.9
481: [20:45:26] <Stomach> at least I deleted my satis install and password before pasting it in? :D
482: [20:45:39] <Pyromanik> so... basically install silverstripe after installing silverstripe?
483: [20:45:56] <Stomach> nah you do that to install silverstripe
484: [20:45:57] * muskie9 has joined #silverstripe
485: [20:46:17] <Pyromanik> Stomach, but he's asking to install it unversioned (ie, extract tarball) then update with composer
486: [20:46:39] <Stomach> I think he just wants to get rid of the VCS
487: [20:46:58] <Stomach> which you can do with that command, it asks you if you want to preserve the installer VCS and you just say no
488: [20:47:20] <Stomach> (or just delete the .git directory? O_O)
489: [20:47:28] <Pyromanik> mm, mebbe. You're reading into an X=>Y problem there though.
490: [20:47:47] <Stomach> lol
491: [20:47:56] <Stomach> its too early for the brain to work
492: [20:48:15] <Pyromanik> yeh, basically 'no', but 'do this stuff and it might do what you want' so far as I see.
493: [20:48:33] <Pyromanik> Give me sugar.
494: [20:48:43] * Colin[pi] has joined #silverstripe
495: [20:49:01] <Colin[pi]> morning peeps!
496: [20:49:15] <Stomach> hey Colin[pi]
497: [20:49:35] <Pyromanik> Give me, something sweet. I've spent a lifetime, feeling, incomplete. If I sound bitter... or if I've come to late, please reconsider; I don't need much on my plate. Just give me sugar.
498: [20:49:53] * wracu_ has joined #silverstripe
499: [20:50:08] <Pyromanik> idk, maybe something more uplifting. Like Coma White.
500: [20:50:10] <Pyromanik> x
501: [20:50:12] <Pyromanik> d
502: [20:50:19] * glenn-bautista quit (Quit: Leaving.)
503: [20:50:37] <Pyromanik> Nothing quite like a bitta manson to cheer everyone up.
504: [20:51:10] <Motoservo> Another approach, I suppose, would be just dragging the module’s dir into the root of my project. Does this still work like it did a few years back?
505: [20:51:19] <Pyromanik> always.
506: [20:51:27] <Pyromanik> composer is just a tool for managing such things.
507: [20:52:10] <Pyromanik> Nothing stopping you going to all the github repos, downloading zips and then trying to install them yourself.
508: [20:52:24] <Motoservo> Gotcha.
509: [20:52:40] <Pyromanik> Just gotta be sure you've got the right versions.
510: [20:52:45] <Pyromanik> matching versions.
511: [20:53:00] <Motoservo> Was thinking modules were somehow more coupled than they used to be.
512: [20:53:08] <Pyromanik> Less
513: [20:53:30] <Motoservo> Good to hear.
514: [20:54:03] <Pyromanik> Sweet dreams are made of these.
515: [20:54:21] <Colin[pi]> Pyromanik: who am I to disagree?
516: [20:54:57] <Pyromanik> Colin[pi], I travelled the world and the seven seas.
517: [20:55:18] <vanny> It is that sort of day
518: [20:55:22] <Colin[pi]> Pyromanik: everybody's looking for something
519: [20:55:28] <Colin[pi]> ooooh ooooh HOOO HOOO
520: [20:55:35] <Colin[pi]> vanny: sure is
521: [20:55:43] <vanny> superbowl sunday
522: [20:55:44] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
523: [20:55:46] <Pyromanik> Colin[pi], Some of them want to use you.
524: [20:56:02] <Colin[pi]> Pyromanik: some of them want to be used by you
525: [20:56:55] * Pyromanik rubs hands together...
526: [20:58:04] <Pyromanik> vanny, did you figure out your group business yet?
527: [20:58:13] <Pyromanik> hint: GroupedList
528: [20:58:18] <vanny> naah still playing :)
529: [20:58:29] <Pyromanik> GroupedList::create(YEY)
530: [20:59:06] <vanny> I was just reading up on that
531: [20:59:09] <Pyromanik> http://api.silverstripe.org/3.1/class-GroupedList.html
532: [20:59:10] <Colin[pi]> vanny is my mate from uni, recent SS convert :)
533: [20:59:31] <Pyromanik> sweet.
534: [20:59:33] <Pyromanik> also
535: [20:59:35] <Colin[pi]> they being nice to you vanny?
536: [20:59:37] <Colin[pi]> :D
537: [20:59:39] <Pyromanik> grouped list can be a bit of a thing
538: [20:59:44] <Pyromanik> you gotta double loop it
539: [21:00:01] <vanny> Hehehehe, that was a long time ago. Lets say I was the ideas man and Colin made the projects.... Netopoly!
540: [21:00:18] <Pyromanik> <% loop ThatGroupedList %>$Title<% loop Children %>...$actualObjectsWithThatSameTitle...<% end...
541: [21:00:18] <Colin[pi]> vanny: oh dear god
542: [21:00:46] <Pyromanik> vanny, so basically, you're responsible for Colin[pi]'s current fatherhood situation?
543: [21:00:59] * micmania1 has joined #silverstripe
544: [21:01:00] <Pyromanik> 'coz that's what I read.
545: [21:01:06] <Pyromanik> areet micmania1
546: [21:01:12] <Colin[pi]> Pyromanik: o_O
547: [21:01:23] <vanny> I am not taking credit for that!
548: [21:01:32] <micmania1> areet
549: [21:01:37] <Pyromanik> Colin[pi], I dunno what he was trying to say, but I heard "I was the wingman, he got all the STDs"
550: [21:01:56] <Colin[pi]> Pyromanik: lol
551: [21:02:00] <Pyromanik> micmania1, up on the nukes :>
552: [21:02:43] <Pyromanik> dat nuke broon, dunno what all the fuss is aboot tbh
553: [21:02:55] <vanny> I would come up with crazy stuff write it on paper, and then give it to Colin[pi] to make happen
554: [21:02:57] <Pyromanik> abowt*
555: [21:03:13] <Pyromanik> haha vanny, so you were the kingpin, and he was your corner boy.
556: [21:03:23] <Colin[pi]> Pyromanik: I was his bitch
557: [21:03:28] * Azure quit (Read error: Connection reset by peer)
558: [21:03:29] <Pyromanik> tha'ts what I just said.
559: [21:03:35] <Colin[pi]> indeed
560: [21:03:37] <Pyromanik> xD
561: [21:04:02] <vanny> naah, wasnt like that
562: [21:04:08] <Pyromanik> :P
563: [21:04:53] <Pyromanik> micmania1, so... how's that file system api rfc coming along?
564: [21:05:05] <Pyromanik> they just resign to the fact and merge your branch yet?
565: [21:05:06] * Azure has joined #silverstripe
566: [21:05:54] <micmania1> Pyromanik: not sure. I stopped following it. Mateusz did a talk on it which should be going online and that explains it pretty well
567: [21:05:57] * kinglozzer has joined #silverstripe
568: [21:06:12] <Pyromanik> Yeah, I saw it, but I didn't watch it yet.
569: [21:06:17] <Pyromanik> hai kinglozzer
570: [21:06:21] <Pyromanik> you on the nukes too?
571: [21:06:29] <kinglozzer> Sup Pyromanik
572: [21:06:30] <Pyromanik> what's the local brew down those ways?
573: [21:06:32] <kinglozzer> nukes?
574: [21:06:45] <Pyromanik> kinglozzer, are you taking the friday off to go to London too?
575: [21:06:49] <Pyromanik> kinglozzer, yeah, c
576: [21:07:20] <Pyromanik> coz like, I felt like it was easier to say than "Noucassel broon"
577: [21:07:50] <Pyromanik> and after too many, it feels like someone let one off in your head.
578: [21:07:59] <kinglozzer> Pyromanik: Nah, not a fan personally
579: [21:08:04] <kinglozzer> Which Friday? PHP Conf week?
580: [21:08:09] <Pyromanik> No, this Friday.
581: [21:08:12] <kinglozzer> Nope
582: [21:08:25] <Pyromanik> well... I suppose you're close enough you could come on Saturday morning.
583: [21:08:27] <kinglozzer> What's happenin'?
584: [21:08:32] <Pyromanik> Pub crawl!
585: [21:08:33] <Pyromanik> :D
586: [21:09:05] * hailwood_ghost has joined #silverstripe
587: [21:09:59] <Pyromanik> I'll be there. Question is whether or not you will be.
588: [21:10:09] <Pyromanik> kinglozzer, why are you even here now then tbh?
589: [21:10:26] <Pyromanik> It's sunday, it's late, it's... merge stuff time? idk.
590: [21:10:56] <hailwood_ghost> Hey guys, so the latest update for SS is attempting to use a php5-mysqlnd function (which is the recommended driver). But a lot of packages depend on the php5-mysql package (e.g. phpmyadmin, plesk etc) and of course installing php5-mysqlnd removes php5-mysql which removes these packages. So - How can I force SS to use the php5-mysql package instead?
591: [21:11:17] <Pyromanik> hailwood_ghost, does it?
592: [21:11:39] <Pyromanik> sounds a bit like a crap package manager that can't have them both installed.
593: [21:11:51] <kinglozzer> Pyromanik: Nope, just listening to music, thought I'd hop on see if anyone's on. What're you doing on here? :P
594: [21:11:59] <Pyromanik> I uhh...
595: [21:12:03] <Pyromanik> yeah, bored too.
596: [21:12:03] <Pyromanik> Array.prototype.forEach.call(document.querySelectorAll('table img[alt="Removed in"]'), function(v,i,a){v.parentNode.parentNode.remove()})
597: [21:12:15] * Hailwood quit (Disconnected by services)
598: [21:12:24] <Pyromanik> whups.
599: [21:12:43] * Hailwood has joined #silverstripe
600: [21:13:15] <Pyromanik> hailwood_ghost, also, did you install master or something?
601: [21:13:23] * Hailwood quit (Remote host closed the connection)
602: [21:13:23] * hailwood_ghost quit (Remote host closed the connection)
603: [21:13:25] <Pyromanik> 'coz that don't sound right.
604: [21:14:04] * Hailwood has joined #silverstripe
605: [21:14:46] <kinglozzer> Hailwood: Pyromanik is right, you installed master instead of the current stable release
606: [21:15:22] <Pyromanik> it's still something to raise though kinglozzer if you can't have the drivers side by side
607: [21:15:38] <kinglozzer> There's a ticket for it somewhere on Github
608: [21:15:46] <Pyromanik> oh good
609: [21:15:48] <kinglozzer> T'was the ORM thing IIRC
610: [21:15:49] * Pyromanik stops caring
611: [21:15:57] <Pyromanik> yeah it would be
612: [21:16:19] <Pyromanik> maybe I should make more modules
613: [21:16:29] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/issues/3426 thar it be
614: [21:16:31] <Hailwood> Pyromanik, hmm, apt-get is the package manager in question. And yeah, the version constraint is ~3.1 but one of the other devs added "minimum-stability": "dev" so unfortunately the site has been built against master and we don't have time to go back to stable and fix anything that breaks again...
615: [21:16:50] <Hailwood> kinglozzer, Yep, there is mention there of using the PDO driver - how do I set the driver?
616: [21:16:55] <Pyromanik> Hailwood, slap the other dev, and make them fix it.
617: [21:17:30] <Hailwood> Pyromanik, I totally would - if it wasn't a dev that has left the company so we took over their work
618: [21:17:42] <Pyromanik> tell them it's coming out of their paycheck
619: [21:17:46] <Pyromanik> oh
620: [21:17:48] <Pyromanik> well...
621: [21:18:06] <Pyromanik> Hailwood, in that case, revert versions and see if anything breaks. Hopefully it won't.
622: [21:18:07] <vanny> how can I tell if my database query is pushing my data out grouped
623: [21:18:36] <Pyromanik> Hailwood, afaik not much has changed in operational code unless you're getting deep in SQLQuery or something.
624: [21:18:52] <Pyromanik> vanny, the existence of a GROUP BY clause?
625: [21:18:59] <vanny> yeah
626: [21:19:07] <Pyromanik> yeah, I mean that's your answer.
627: [21:19:25] <vanny> hahaha, ok
628: [21:19:34] <kinglozzer> Hailwood: In your _config.php (or wherever your DB is configured), swap MySQLDatabase for MySQLPDODatabase
629: [21:20:03] <Pyromanik> vanny, are you after, a limited number of rows by use of a group by? Or are you after the results to be grouped (as in, have ALL results in a 'sub results list' of the result?)
630: [21:21:22] <kinglozzer> Pyromanik: Does your employer do any SS work?
631: [21:21:24] <vanny> all rows
632: [21:21:30] <vanny> here is what I have
633: [21:21:31] <vanny> http://www.sspaste.com/paste/show/54ce987765801
634: [21:21:55] <Pyromanik> kinglozzer, they will if I ever get a chance to finish my conversion.
635: [21:22:18] <kinglozzer> Pyromanik: Send them to London for the SS intro events!
636: [21:22:21] <Pyromanik> but at the moment I'm too busy porting legacy apps to version control, and off of a desktop box (being used as a server that supports the entire company)
637: [21:22:47] <Pyromanik> kinglozzer, I don't thing you understand. I AM the department.
638: [21:22:54] <kinglozzer> Send yourself?
639: [21:22:55] <kinglozzer> :D
640: [21:22:56] <Pyromanik> in that regard, at least.
641: [21:23:03] <Pyromanik> if I leave, then there's no one to cover emergencies.
642: [21:23:08] <Pyromanik> so nah, gotta sit at that desk.
643: [21:23:18] <Pyromanik> I'd love to though.
644: [21:23:44] <Pyromanik> although, unless something drastic has changed in the last year (not yet so far as I see) then I don't really need an intro course :P
645: [21:24:54] <Colin[pi]> Pyromanik: "I AM the department" <-- I know that feel bro
646: [21:25:10] <vanny> second'd
647: [21:25:18] <Pyromanik> I mean, there are four of us.
648: [21:25:44] <Pyromanik> But as I already explained... the 'lead developer' spends all his days making spreadsheets for, or in meetings with the dept. manager.
649: [21:25:58] <Pyromanik> one of the lads spends all day maintaining microsoft excel
650: [21:26:10] <Colin[pi]> Pyromanik: what the fuck
651: [21:26:13] <Pyromanik> the third looks after the intranet (nowt to do with me)
652: [21:26:22] <Colin[pi]> lead dev.. making spreadsheets all day
653: [21:26:28] <Pyromanik> and I look after all the systems that the business absolutely cannot live without.,
654: [21:26:31] <Colin[pi]> (something very wrong with that picture)
655: [21:26:46] <Pyromanik> Colin[pi], yeh, not a line of code since october. A month after he started.
656: [21:26:55] <Colin[pi]> Pyromanik: !!! ?
657: [21:27:05] <Stomach> so in reality he is the technical director
658: [21:27:08] <Stomach> not a developer
659: [21:27:08] <Pyromanik> so pretty much got lead dev job, learnt half of one system (no code, just learning) then became new manager's bitch.
660: [21:27:17] <Colin[pi]> "lead developer" you keep saying that word, I do not think you know what that word means ;)
661: [21:27:17] <Pyromanik> Stomach, nope, he just makes spreadsheets.
662: [21:27:29] <Pyromanik> Stomach, most accurately, he's a 'report generator'.
663: [21:27:40] <Pyromanik> That's _it_.
664: [21:27:56] <Stomach> so hes gonna quit soon
665: [21:28:08] <Pyromanik> attends meetings mostly in an effort to stop the HOD saying stupid shit like "if it was a web app we could do XYZ"
666: [21:28:20] <Pyromanik> where it IS a web app, and XYZ is launch desktop applications.
667: [21:28:35] <Pyromanik> Stomach, nope, not likely.
668: [21:28:50] <Colin[pi]> Pyromanik: jesus how do you endure that sort of shit?
669: [21:28:53] <Stomach> I couldn't stand that
670: [21:28:56] <Stomach> what Colin[pi] said
671: [21:29:04] <Pyromanik> Colin[pi], I ignore the fuck out of him, and he just deals with it (the manager this is)
672: [21:29:15] <Colin[pi]> ugh
673: [21:29:26] <Pyromanik> we have daily bitch sessions, slowly getting louder to the point where I'm sure he's hearing some of it.
674: [21:29:47] <Colin[pi]> not a good environment.. been in places like that b4
675: [21:29:50] <Pyromanik> We're not as bad off as the infrastructure guys though.
676: [21:29:57] <Colin[pi]> shit will hit the fan eventually
677: [21:29:58] <Pyromanik> the chaps and lasses on the other side of the room
678: [21:30:02] <Pyromanik> used to be a team of 8
679: [21:30:04] <Pyromanik> now down to 5
680: [21:30:14] <Pyromanik> NO INTENTIONS OF REPLACEMENT YET
681: [21:30:14] * jeremy has joined #silverstripe
682: [21:30:24] * jeremy is now known as JeremyRoundill
683: [21:30:41] <Colin[pi]> Pyromanik: how long has this place been in business for?
684: [21:30:54] <Pyromanik> team of 4 technicians is now down to 2 since they pulled 2 in to sit at desk all day because support calls getting unanswered.
685: [21:31:12] <Pyromanik> calls whole team into his office to bollock them for not having phones manned all hours.
686: [21:31:33] <Pyromanik> Ironically meaning all calls go unanswered while he's giving his hour long bollocking.
687: [21:31:53] <Colin[pi]> boss sounds kinda like a dick
688: [21:32:03] <Pyromanik> Colin[pi], since the 60s iirc. But this new manager is only since Oct.
689: [21:32:11] <Colin[pi]> Pyromanik: oic, wow
690: [21:32:32] <Pyromanik> he does no management, just delegates ALL of his tasks.
691: [21:32:57] <Pyromanik> dictates that we use a system for the purpose it's not designed for (ticket system as time management), HAS NEVER SIGNED INTO IT.
692: [21:33:13] <Pyromanik> Still.
693: [21:33:26] * Shrike_Finland1 quit (Quit: Leaving.)
694: [21:33:56] <Pyromanik> Cannot use word. Or Excel. Asks for a report in a certain format, which has like 3 comment columns, 4 task columns (etc), so you tidy it up, project, task, comment, etc.
695: [21:34:20] <Pyromanik> he opens it, sends it back to get updated again, it's back in a shit format. Not only that, but COMPLETELY DIFFERENT TO THE ONE IT WAS WHEN YOU FIRST GOT IT
696: [21:35:15] <Pyromanik> Lead dev has had ZERO to do with one of the larger projects in our team. Nothing, at all. Ever. Just got asked for a full update document including all completed work since Sept. last year (before he started).
697: [21:35:24] <Pyromanik> that had to be done overnight.
698: [21:35:31] <Pyromanik> it's just... idk.
699: [21:35:50] <Pyromanik> motivation comes in the form of "we're shit at our job, everyone hates the IT department. Do better."
700: [21:36:17] * Pyromanik almost told him to fuckoff the other day.
701: [21:37:47] <Colin[pi]> ick
702: [21:37:54] <Colin[pi]> you must have a lot of patience lol
703: [21:38:10] <Pyromanik> Came back from lunch, lead dev was stressed out adding completion dates to work in his spreadsheet _TO WHICH WE HAD NO REQUIREMENTS FOR YET_
704: [21:38:22] <Pyromanik> he had 5 mins.
705: [21:39:03] * wracu_ quit (Quit: Leaving)
706: [21:39:03] <Pyromanik> I was looking at calendar behind him (because ultimately it's my job), manager sticks his head out of cupboard (office) and says "are we on different timezones or something? Where's my document?"
707: [21:39:17] <Pyromanik> Colin[pi], yeah, he almost got it that day, I tell you.
708: [21:39:44] <Pyromanik> I refrained for one reason only, and that was because I didn't know what to back up the "Shut your fucking face" with.
709: [21:39:46] * wracu quit (Read error: Connection reset by peer)
710: [21:42:00] <Colin[pi]> Pyromanik: I worked in a place where a proj manager threatened to punch the tech manager in the face during a meeting
711: [21:42:03] <Colin[pi]> not a good feel
712: [21:43:43] <Colin[pi]> bbl
713: [21:43:51] * Colin[pi] is now known as Colin[pi][a]
714: [21:44:41] <Pyromanik> hahaha Colin[pi][a]
715: [21:45:15] <Pyromanik> So far our new manager has offered 2 staff (lead dev and single dev on another project) lifts to the job office.
716: [21:45:26] <Pyromanik> in a 'joking' kinda way, but still.
717: [21:45:28] * wracu has joined #silverstripe
718: [21:46:35] * scott1702 has joined #silverstripe
719: [21:54:49] <Stomach> Pyromanik - move back to NZ come work for us :)
720: [21:55:06] <Pyromanik> Right, enough bitching about poorly implemented overly bureaucratic corporate environments!
721: [21:55:15] <Pyromanik> It must be about time for bed.
722: [21:55:19] <Pyromanik> Stomach, oh? Where's that?
723: [21:55:28] <Pyromanik> I am planning on coming back to WLG
724: [21:55:36] <Stomach> we're in AK
725: [21:55:40] <Pyromanik> Oh, well fuck that.
726: [21:55:42] <Stomach> :D
727: [21:55:47] <Pyromanik> Pay me monies anyway.
728: [21:55:52] <Pyromanik> I'll work remote, thx.
729: [21:58:11] <Hailwood> If I have two Director blocks in my config.yml will they merge or overwrite?
730: [21:58:39] <kinglozzer> Hailwood: If they're arrays, merge
731: [22:00:11] <Pyromanik> merge merge
732: [22:00:27] <Pyromanik> inclusion order dictates what overwrites what
733: [22:00:43] <MichalKleiner> the version switching in the DOCs should not make people feel it will display the same topic for different version or it should rather work that way :-D
734: [22:00:48] <Stomach> unless you assign one value false then it doesnt work and you rage out
735: [22:00:56] * jghazally quit (Ping timeout: 245 seconds)
736: [22:01:15] <Hailwood> kinglozzer, Pyromanik if they are listed like this in the same config.yml file: https://gist.github.com/hailwood/a37b609a60da5fa0a5fa
737: [22:01:36] <kinglozzer> Hailwood: That's fine
738: [22:02:12] <Hailwood> kinglozzer, strange, something must be overriding it then as Director::get_environment_type() is returning 'live'
739: [22:02:27] <Stomach> do you have it in your _ss_env file Hailwood ?
740: [22:02:35] <kinglozzer> + have you flushed?
741: [22:09:10] * Sticks has joined #silverstripe
742: [22:10:38] <Pyromanik> gotta flush!
743: [22:10:45] * Pyromanik quit (Quit: (flushhhhhhhh))
744: [22:11:44] * joelpittet has joined #silverstripe
745: [22:13:33] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
746: [22:13:48] * kinglozzer quit ()
747: [22:15:11] <Hailwood> Hey guys, my bitbucket repo looks like this: http://i.imgur.com/CP0VGqh.png any idea what I need to edit to have ecommerce_tax actually included in the repo rather than as a (broken) link to the repo I pulled it from?
748: [22:16:06] * UncleCheese has joined #silverstripe
749: [22:18:18] * Colin[pi][a] quit (Ping timeout: 245 seconds)
750: [22:24:52] <micmania1> Hailwood: how is the link broken? It looks as though they’re added as git submodules
751: [22:36:48] * Nightjar has joined #silverstripe
752: [22:40:22] <mobiusnz> is there an easy way to render a template stub in a form, like in a LiteralField?
753: [22:41:04] <Stomach> mobiusnz - not that I know of
754: [22:41:17] <Nightjar> $literalfield->value($viewableData->renderWith('stub'))
755: [22:41:25] <Stomach> or that
756: [22:41:26] <Nightjar> or something like that.
757: [22:41:45] * Nightjar has left #silverstripe
758: [22:43:02] * irogue_ has joined #silverstripe
759: [22:43:40] <Ryan-Toast> Need angry music, please recommend.
760: [22:44:15] <micmania1> Ryan-Toast: how angry?
761: [22:44:32] <Ryan-Toast> Not too angry, but stomach a little tight.
762: [22:44:38] <Stomach> am not
763: [22:44:44] <Stomach> I'll buy you a beer
764: [22:44:58] <Ryan-Toast> lol
765: [22:45:04] <Ryan-Toast> so tight.
766: [22:45:15] <micmania1> Ryan-Toast: ah, I only have ‘laid back’ and ‘I want to murder someone’ :(
767: [22:45:25] <micmania1> Those are my two emotions.
768: [22:45:55] <Ryan-Toast> +1
769: [22:46:31] <Stomach> lol
770: [22:46:43] <Stomach> but which is the default :D
771: [22:47:57] <Ryan-Toast> Guess I’ll just listen to some In Flames.
772: [22:49:13] <Stomach> do you want must that makes you angry
773: [22:49:14] <Stomach> or is angry
774: [22:49:18] <Stomach> heres the former: https://www.youtube.com/watch?v=71BaEYoZMsA
775: [22:49:50] <JeremyRoundill> Fucking magnets.
776: [22:50:01] <Ryan-Toast> ICP, o god.
777: [22:51:00] <Hailwood> micmania1, Got it sorted - had to git rm --cached the path as it was indexed as being a sub repo.
778: [22:51:57] * Colin[pi][a] has joined #silverstripe
779: [22:57:31] * Otterpocket has joined #silverstripe
780: [22:59:26] <micmania1> Stomach: my default is emotionless.
781: [23:07:21] * Otterpocket quit (Quit: Otterpocket)
782: [23:11:12] <spronk2> ICP
783: [23:11:13] <spronk2> holy shit
784: [23:11:15] <spronk2> i remember those
785: [23:11:18] <spronk2> what a fucking juggalo
786: [23:11:58] * glenn-bautista has joined #silverstripe
787: [23:13:06] * vanny quit (Quit: Page closed)
788: [23:21:37] * scott1702 quit (Remote host closed the connection)
789: [23:21:51] * scott1702 has joined #silverstripe
790: [23:24:01] * zagoodwin has joined #silverstripe
791: [23:24:25] <zagoodwin> Hey, what is the easiest way to convert a datalist into an array?
792: [23:26:21] <irogue_> zagoodwin: $datalist->toArray()
793: [23:28:01] <Motoservo> When composer installs ss from the “…create-project silverstripe/installer…”, what URL is that parsing to? Is it on github by default? packagist? I’m a little confused on composer and the docs don’t say much.
794: [23:29:09] * camfindlay has joined #silverstripe
795: [23:30:03] <irogue_> afternoon camfindlay
796: [23:30:25] <camfindlay> howdy
797: [23:30:38] <camfindlay> monday morning firefights today haha
798: [23:31:34] <zagoodwin> It's throwing an SQL error when i do that
799: [23:32:15] <Stomach> Motoservo - its pulling it from packagist
800: [23:32:31] <Stomach> which then points to github
801: [23:32:40] <Stomach> https://packagist.org/packages/silverstripe/installer
802: [23:34:14] <Motoservo> So, if I want to install from my fork on github would I just then use my fork’s fqdm in place of silverstripe/installer ?
803: [23:34:23] <irogue_> zagoodwin: there's probably an issue in the datalist then. can you pastebin the creation of (and any modifiers of) your datalist?
804: [23:34:35] * jedateach has joined #silverstripe
805: [23:35:00] <irogue_> Motoservo: you can specify the vcs
806: [23:35:22] <irogue_> https://getcomposer.org/doc/05-repositories.md#using-private-repositories
807: [23:35:35] <Motoservo> okay, let me read that...
808: [23:37:07] <Motoservo> So, not as easy as just adjusting the composer create-project http://mygitURL.com ./myproject ?
809: [23:38:39] <irogue_> Motoservo: you could try composer create-project --repository-url <your-git-url> silverstripe/installer ./myproject
810: [23:41:02] <Motoservo> Ah, cool. I think that’s what I was hoping for.
811: [23:42:16] <Motoservo> But in that case, I’d drop the silvestripe/installer part, right?
812: [23:42:47] <Motoservo> my server url followed by my path?
813: [23:42:50] * spekulatius quit (Remote host closed the connection)
814: [23:44:22] * Colin[pi][a] quit (Ping timeout: 255 seconds)
815: [23:47:46] <irogue_> Motoservo: I don't actually think that'll work - I think --repository-url will expect to be pointed at another composer repository rather than a specific project
816: [23:47:59] <Motoservo> Well, my way didn’t work. But I’m not understanding why the silverstripe/installer would still be included, since I’m using an alternative.
817: [23:48:39] <irogue_> it doesn't look like there's any way, within the command-line, to do what you're trying to do
818: [23:48:59] <irogue_> your fork would have to be published on packagist with its own vendor prefix etc
819: [23:49:26] <Motoservo> So, what is the workflow for Silverstripe now? What am I supposed to do after I fork from Git to my git page?
820: [23:49:38] <Motoservo> Seems complicated.
821: [23:49:48] <irogue_> Motoservo: I don't really understand what you're trying to do
822: [23:50:09] <irogue_> Motoservo: if you have your modified composer.json committed to your git repo, just clone the git repo and run composer install
823: [23:50:27] <Motoservo> Just setup a typical development workflow for SS using the new, suggested, way of doing it.
824: [23:51:37] <Motoservo> I used to export from svn, add it to my svn, replace a couple of modules with externals props, and checking.
825: [23:51:40] <Motoservo> check in.
826: [23:52:05] <Motoservo> New to git and composer. haven’t coded in a few years.
827: [23:52:18] <Motoservo> Playing catch up. :P
828: [23:52:33] <micmania1> Motoservo: git clone [repo-ur] [target-dir]
829: [23:52:42] <micmania1> Motoservo: cd [target-dir]
830: [23:52:50] <micmania1> Motoservo: composer install
831: [23:53:00] <micmania1> That assumes you have composer installed.
832: [23:53:03] <micmania1> and git
833: [23:53:07] <Motoservo> Okay, so start by forking and cloning, and add composer after?
834: [23:53:39] <irogue_> you always start a project by doing composer create-project silverstripe/installer etc
835: [23:53:45] <Motoservo> From the SS instructions I was (mis)understanding that composer install was the way to go.
836: [23:53:49] <micmania1> no, you don’t need to fork unless you want to change it.
837: [23:53:50] <irogue_> then you make any required changes to your composer (adding requires etc)
838: [23:54:05] <irogue_> then commit to your repo including composer.json and composer.lock
839: [23:55:13] <Motoservo> don’t I need a fork on github if I’m going to work with another dev on a particular site?
840: [23:55:31] <Motoservo> micmania1: ?
841: [23:55:35] <micmania1> Motoservo: you only need to fork if you’re going to change something.
842: [23:55:54] <irogue_> Motoservo: you'll have a repo of the site. you shouldn't fork any of SS's code as that won't be in your code repo
843: [23:56:11] <irogue_> the github repository will just have your mysite/ and themes/ folders
844: [23:58:02] <micmania1> Motoservo: if you don’t need to fork, the first step is ‘composer create-project silverstripe/installer [target-folder] 3.1.9’ (3.1.9 is latest stable)
845: [23:58:03] <Motoservo> Okay, let me think all this through. After several years of svn work, then a few years off, get’s kind of confusing.
846: [23:58:17] <Motoservo> Okay, thanks, micmania1
847: [23:58:56] <Motoservo> Then, after I start coding? Next step for a snapshot of my version (commit?)?
848: [23:59:35] <micmania1> After that you need to setup your git repo and push. Let me know when you get to that stage.
849: [23:59:54] <Motoservo> Okay, so that’s the local git repo?

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