#silverstripe IRC Log

IRC log for 21 September 2013

All timestamps are in UTC.

1: [00:00:15] <simon_w> willr, also, 92.8%. Errors count against passes too :p
2: [00:00:31] <blumberg> Hmm, when running /dev/build with one of my old modules I get "[User Deprecated] extraStatics deprecated. Just define statics on your extension, or use get_extra_config. Called from .", but I see nothing in the manual of 3.1 (or 3.0) that it's deprecated (http://api.silverstripe.org/3.1/class-DataExtension.html)
3: [00:00:43] <willr> true, I was just optimistic
4: [00:01:13] <willr> blumberg convert your extraStatics back to standard static variables
5: [00:01:15] <simon_w> Though the table would have to say "Tests don't run"
6: [00:01:28] <simon_w> or won't or whatever
7: [00:02:14] <blumberg> willr: ah, just a regular static $db = array(....); like on dataobjects?
8: [00:02:20] <willr> yep
9: [00:12:23] * AlphaCactus quit (Quit: kthxbai)
10: [00:31:28] * razzi quit ()
11: [01:07:49] <willr> @simon_w https://github.com/silverstripe/silverstripe-framework/pull/2432 we accepting things for 3.1.0?
12: [01:12:35] * SightUnseen has joined #silverstripe
13: [01:12:40] * SightUnseen has left #silverstripe
14: [01:49:59] * wmk quit (Read error: Operation timed out)
15: [01:53:16] * wmk has joined #silverstripe
16: [02:00:17] * kerosene quit (Ping timeout: 256 seconds)
17: [02:27:32] * guzzlefry has left #silverstripe
18: [02:28:00] * blumberg quit (Quit: Page closed)
19: [02:49:00] * Colin[pi] has joined #silverstripe
20: [02:49:58] * Colin[pi] quit (Client Quit)
21: [02:55:48] * SightUnseen has joined #silverstripe
22: [02:55:54] * SightUnseen has left #silverstripe
23: [03:23:07] * willr quit (Ping timeout: 248 seconds)
24: [03:48:32] * Error404NotFound has joined #silverstripe
25: [03:56:25] * DryerLintPurple quit (Read error: Connection reset by peer)
26: [03:56:26] * cloph quit (Ping timeout: 246 seconds)
27: [03:56:49] * DryerLintPurple has joined #silverstripe
28: [04:01:10] * cloph_away has joined #silverstripe
29: [04:11:50] * Motoservo has joined #silverstripe
30: [04:15:42] * Motoservo quit (Client Quit)
31: [04:29:51] * willr has joined #silverstripe
32: [04:34:35] * willr quit (Ping timeout: 248 seconds)
33: [04:34:47] * Toe has joined #silverstripe
34: [04:35:11] * Toe is now known as Guest38031
35: [04:37:31] * DryerLintPurple quit (Ping timeout: 245 seconds)
36: [04:44:07] * willr has joined #silverstripe
37: [04:44:20] * Motoservo has joined #silverstripe
38: [04:51:59] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
39: [05:09:05] * Motoservo has joined #silverstripe
40: [05:51:01] * Error404NotFound quit (Ping timeout: 248 seconds)
41: [06:03:50] * Error404NotFound has joined #silverstripe
42: [06:08:21] * Error404NotFound quit (Ping timeout: 245 seconds)
43: [06:20:11] * Error404NotFound has joined #silverstripe
44: [06:20:36] * ooystein_ quit (Ping timeout: 240 seconds)
45: [06:20:36] * ooystein has joined #silverstripe
46: [06:34:54] * Error404NotFound quit (Ping timeout: 264 seconds)
47: [07:09:52] * Motoservo quit (Quit: Motoservo)
48: [07:27:50] * swordsmanz quit (Read error: Connection reset by peer)
49: [07:28:31] * swordsmanz has joined #silverstripe
50: [07:29:11] * ChronicD quit (Ping timeout: 256 seconds)
51: [07:29:13] * ChronicD_ has joined #silverstripe
52: [07:48:21] * Error404NotFound has joined #silverstripe
53: [07:48:27] * Zauberfisch has joined #silverstripe
54: [07:52:53] * Shrike_Finland has joined #silverstripe
55: [07:58:00] * Shrike_Finland1 has joined #silverstripe
56: [07:58:39] * Shrike_Finland quit (Ping timeout: 256 seconds)
57: [08:01:09] * Guits has joined #silverstripe
58: [08:01:28] * Guits quit (Read error: Connection reset by peer)
59: [08:02:31] * Shrike_Finland1 quit (Read error: Connection reset by peer)
60: [08:02:41] * Shrike_Finland has joined #silverstripe
61: [08:03:49] * Shrike_Finland1 has joined #silverstripe
62: [08:03:50] * Shrike_Finland quit (Read error: Connection reset by peer)
63: [08:09:26] <simon_w|air> willr, not something like that
64: [08:09:33] <willr> ?
65: [08:09:56] <simon_w|air> [13:07:49] <willr> @simon_w https://github.com/silverstripe/silverstripe-framework/pull/2432 we accepting things for 3.1.0?
66: [08:10:09] <willr> oh right, yeah figured as much
67: [08:10:22] <willr> github needs a rebase button
68: [08:11:07] <simon_w|air> Well, it should be easier for him to fix it
69: [08:11:17] <simon_w|air> Should just need to pick a different branch when creating the PR
70: [08:13:14] <willr> I'm not as ruthless.
71: [08:13:53] <simon_w|air> Hey, I'm just mostly lazy :p
72: [08:26:27] <simon_w> and now I get to try to get HHVM to build
73: [09:11:35] * Motoservo has joined #silverstripe
74: [09:20:34] * SightUnseen has joined #silverstripe
75: [09:20:35] * SightUnseen has left #silverstripe
76: [09:22:21] * SightUnseen has joined #silverstripe
77: [09:23:04] * SightUnseen has left #silverstripe
78: [09:23:32] * willr quit (Quit: willr)
79: [09:29:12] * howardgrigg has joined #silverstripe
80: [09:30:43] * Shrike_Finland1 quit (Quit: Leaving.)
81: [10:02:17] * jcwacky quit (Quit: jcwacky)
82: [10:14:44] * Bollig|DesignCty has joined #silverstripe
83: [10:22:40] * SightUnseen has joined #silverstripe
84: [10:31:16] * SightUnseen quit (Ping timeout: 245 seconds)
85: [10:57:10] * zfmf1 has joined #silverstripe
86: [11:08:06] * zippy__ has joined #silverstripe
87: [11:11:52] * ARNHOE has joined #silverstripe
88: [11:15:44] * ARNHOE quit (Remote host closed the connection)
89: [11:16:16] * ARNHOE has joined #silverstripe
90: [11:20:26] * ARNHOE quit (Ping timeout: 245 seconds)
91: [11:23:42] * SightUnseen has joined #silverstripe
92: [11:27:17] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
93: [11:28:20] * SightUnseen quit (Ping timeout: 245 seconds)
94: [11:39:39] * violetina has joined #silverstripe
95: [11:46:52] * ARNHOE has joined #silverstripe
96: [11:48:49] * ARNHOE quit (Read error: Connection reset by peer)
97: [11:49:23] * ARNHOE has joined #silverstripe
98: [11:51:04] * Error404NotFound quit (Read error: Connection reset by peer)
99: [11:56:28] * Error404NotFound has joined #silverstripe
100: [11:57:53] * Error404NotFound quit (Read error: Connection reset by peer)
101: [11:58:47] * Error404NotFound has joined #silverstripe
102: [12:04:30] * Error404NotFound quit (Read error: Connection reset by peer)
103: [12:09:15] * Error404NotFound has joined #silverstripe
104: [12:09:38] * Error404NotFound quit (Read error: Connection reset by peer)
105: [12:09:52] * Guits has joined #silverstripe
106: [12:23:49] * SightUnseen has joined #silverstripe
107: [12:24:33] * Error404NotFound has joined #silverstripe
108: [12:28:11] * SightUnseen quit (Ping timeout: 248 seconds)
109: [12:28:57] * zippy__ quit (Ping timeout: 252 seconds)
110: [12:35:58] * Error404NotFound quit (Read error: Connection reset by peer)
111: [12:36:18] * Error404NotFound has joined #silverstripe
112: [12:39:41] * spronk has left #silverstripe
113: [12:43:06] * spronk has joined #silverstripe
114: [12:53:20] * howardgrigg quit (Remote host closed the connection)
115: [13:17:55] * Guest38031 quit (Ping timeout: 260 seconds)
116: [13:24:15] * SightUnseen has joined #silverstripe
117: [13:26:18] * Guest38031 has joined #silverstripe
118: [13:28:54] * SightUnseen quit (Ping timeout: 252 seconds)
119: [14:20:27] * Error404NotFound quit (Ping timeout: 260 seconds)
120: [14:25:57] * SightUnseen has joined #silverstripe
121: [14:30:58] * SightUnseen quit (Ping timeout: 268 seconds)
122: [14:32:28] * Error404NotFound has joined #silverstripe
123: [14:41:41] * Error404NotFound quit (Read error: Connection reset by peer)
124: [14:53:44] * howardgrigg has joined #silverstripe
125: [14:57:32] * Error404NotFound has joined #silverstripe
126: [14:58:12] * howardgrigg quit (Ping timeout: 260 seconds)
127: [15:25:37] * SightUnseen has joined #silverstripe
128: [15:27:20] * SightUnseen quit (Remote host closed the connection)
129: [15:27:33] * joelpittet has joined #silverstripe
130: [16:31:33] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
131: [16:54:13] * howardgrigg has joined #silverstripe
132: [16:58:35] * howardgrigg quit (Ping timeout: 260 seconds)
133: [17:00:52] * gelignite has joined #silverstripe
134: [17:18:06] * joelpittet quit (Remote host closed the connection)
135: [17:18:50] * joelpittet has joined #silverstripe
136: [17:19:49] * joelpittet quit (Remote host closed the connection)
137: [17:37:37] * zfmf1 has left #silverstripe
138: [17:48:38] * peter_ss has joined #silverstripe
139: [17:48:51] <peter_ss> anyone here uses vagrant?
140: [18:32:19] <Zauberfisch> yes
141: [18:32:43] <Zauberfisch> I have a silverstripe vagrant VM prototype in testing right now
142: [18:32:57] * Error404NotFound has joined #silverstripe
143: [18:33:43] * zfmf1 has joined #silverstripe
144: [18:34:14] <Zauberfisch> and will eventually create a vagrant VM that uses chef, puppet or salt to provision it
145: [18:37:15] * joelpittet has joined #silverstripe
146: [18:38:18] * zfmf1 has left #silverstripe
147: [18:43:06] <peter_ss> Zauberfisch i'm trying to delete my mamp and use alternative and vagrant is on my list
148: [18:43:11] <peter_ss> is it worth it?
149: [18:43:40] <peter_ss> my one and only question is does it use the same box i've downloaded whenever i create a new vagrant project?
150: [18:54:39] * howardgrigg has joined #silverstripe
151: [18:58:54] * howardgrigg quit (Ping timeout: 252 seconds)
152: [19:05:49] <Zauberfisch> back
153: [19:07:47] <Zauberfisch> peter_ss: what do you mean?
154: [19:08:14] <peter_ss> Zauberfisch vagrant add box ubuntu32 ulrtobox
155: [19:08:36] <Zauberfisch> in the Vagrantfiel you can specify which box it should use
156: [19:08:43] <peter_ss> whenever a i do vagrant init on different directory does it use the same box?
157: [19:09:01] <Zauberfisch> vagrant init basicly does 1 thing: craete a Vagrantfile
158: [19:09:13] <Zauberfisch> in this file there is a directive which box it should use
159: [19:09:16] <peter_ss> oh so it does not download different box on each directory
160: [19:09:17] <Zauberfisch> you can just change that
161: [19:09:26] <peter_ss> you just need to specify it ok got it
162: [19:09:53] <peter_ss> does it have cons? life does it eat more ram on different vagrant project?
163: [19:09:55] <Zauberfisch> not sure, but I guess you could also set the default so that vagrant init automaticly creates the Vagrantfile with your box specifyed
164: [19:10:08] <Zauberfisch> cons:
165: [19:10:17] <peter_ss> what if i vagrant up a box for php and another one for ruby, python
166: [19:10:41] <Zauberfisch> - overhead that a VM brings (ram and cpu ussiage, obviously a VM that runs a apache takes more than running just the apache)
167: [19:11:20] <Zauberfisch> - multiple VMs is tricky or not working on windows if you use port forwarding to the VM (works well on mac)
168: [19:12:04] <Zauberfisch> but if you use a bridge network adapter then it should work
169: [19:12:43] <peter_ss> ok
170: [19:12:58] <peter_ss> so most of the time all of your projects runs on vm?
171: [19:13:11] <peter_ss> and don't use mac built in php?
172: [19:13:35] <Zauberfisch> - vagrant 1.3.2 has a bug with provisoning (you need to delete the .vagrant folder if you want to rebuild the VM (but 1.3.3 has a fix and will be out soon)
173: [19:13:58] <Zauberfisch> I started using vagrant a month ago or so
174: [19:14:08] <Zauberfisch> I have ported all open projects to vagrant
175: [19:14:17] <Zauberfisch> no local webserver at all
176: [19:14:38] <Zauberfisch> in fact I never had a local webserver, I always used VMs, but before vagrant it was just a bit more painful
177: [19:14:47] <peter_ss> i see
178: [19:15:07] <peter_ss> yeah my mac does have all of this installations like ruby, rvm, php nodejs
179: [19:15:57] <Zauberfisch> well, I just never liked the idea of running server software localy
180: [19:16:40] <Zauberfisch> especially because I work with several PCs running: mac, win7, win8 and ubuntu
181: [19:16:44] <peter_ss> cool thanks man for the tip
182: [19:17:18] <Zauberfisch> - another problem: there is a bug in debian based systems / with apache / or was it the fault of virtualbox?
183: [19:17:33] <peter_ss> hmm not sure
184: [19:17:38] <peter_ss> one question again
185: [19:17:40] <Zauberfisch> anyway, the problem is that sendfile() caches static files
186: [19:17:52] <peter_ss> cause everytime i init a vagrant on a directory
187: [19:18:01] <peter_ss> can i share my existing project folder to a box?
188: [19:18:18] <Zauberfisch> so the problem is, you add an image, it works, but if you change that image, the VM will still show you the old file
189: [19:18:28] <Zauberfisch> fix for this is simple, turn of sendfile()
190: [19:18:47] <Zauberfisch> http://stackoverflow.com/a/9480164
191: [19:20:28] <Zauberfisch> yes
192: [19:20:38] <Zauberfisch> do you have a github account?
193: [19:23:24] <Zauberfisch> as said, my vagrant setup is just a prototype, but I can give you access
194: [19:23:51] <Zauberfisch> you can use my setup or just take a look at what I did
195: [19:24:58] <peter_ss> yep
196: [19:25:18] <peter_ss> sure what's your github profile
197: [19:25:46] <Zauberfisch> the repo is private for now
198: [19:26:27] <Zauberfisch> don't want people to use a thing that is still in developement and to bugy/unstable for public use
199: [19:26:33] <Zauberfisch> I need your account
200: [19:26:46] <Zauberfisch> account name that is
201: [19:27:02] * joelpittet quit (Remote host closed the connection)
202: [19:27:05] <peter_ss> github.com/chocnut
203: [19:27:23] <peter_ss> i'm still reading this provisioning tools puppet and chef
204: [19:27:26] <peter_ss> which one is better?
205: [19:27:38] <Zauberfisch> thats what I am trying to figure out at the moment
206: [19:29:47] <peter_ss> thanks dude i'll check it out
207: [19:30:45] <Zauberfisch> if written a basic how to use it in the readme
208: [19:35:01] <peter_ss> ok thanks
209: [19:40:56] <Zauberfisch> peter_ss: one note: you are free to contribute, but please if you do, work in your own branch, don't push to master
210: [20:22:01] <peter_ss> sure thing
211: [20:25:27] * razzi has joined #silverstripe
212: [20:52:18] * razzi quit (Ping timeout: 264 seconds)
213: [20:54:03] * SightUnseen has joined #silverstripe
214: [20:55:04] * howardgrigg has joined #silverstripe
215: [20:55:37] * razzi has joined #silverstripe
216: [20:57:37] * SightUnseen has left #silverstripe
217: [20:59:10] * howardgrigg quit (Ping timeout: 245 seconds)
218: [21:11:36] * mierla has joined #silverstripe
219: [21:15:07] * UncleCheese has joined #silverstripe
220: [21:18:21] <mierla> Using 3.1. I've got a json dataset from another site which I want to use in a template - how do I iterate through it?
221: [21:32:26] * violetina quit (Remote host closed the connection)
222: [21:32:55] * joelpittet has joined #silverstripe
223: [21:33:56] * violetina has joined #silverstripe
224: [21:34:24] <mierla> I can't quite figure out how to get from $results = json_decode($page, true) to something I can loop through.
225: [21:34:43] <simon_w> ArrayList and ArrayData
226: [21:38:15] <mierla> @simon_w - thank you. I thought that might have something to do with it, but I must not have the syntax correct yet.
227: [21:42:38] <mierla> Hallelujah, I've got it. Thanks - just needed to know I was on the right track!
228: [21:43:25] * violetina quit (Read error: Connection reset by peer)
229: [21:44:33] * travis-ci has joined #silverstripe
230: [21:44:33] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1011 (3.1 - 9818508 : Will Rossiter): The build passed.
231: [21:44:33] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/89cee10e0ca7...981850890ae7
232: [21:44:33] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11639937
233: [21:44:33] * travis-ci has left #silverstripe
234: [21:44:59] * violetina has joined #silverstripe
235: [21:54:17] * willr has joined #silverstripe
236: [21:57:24] <razzi> um
237: [21:57:32] <razzi> i found an error in SiteTree.php
238: [21:58:34] <razzi> at line 4 it says heirachy
239: [21:59:53] * SightUnseen has joined #silverstripe
240: [22:01:46] * Motoservo has joined #silverstripe
241: [22:02:32] * SightUnseen has left #silverstripe
242: [22:04:14] * Motoservo quit (Client Quit)
243: [22:05:30] * howardgrigg has joined #silverstripe
244: [22:06:13] * mierla quit ()
245: [22:15:02] * pippy_ has joined #silverstripe
246: [22:17:28] * robert_ quit (Read error: Connection reset by peer)
247: [22:17:44] * pippy quit (Ping timeout: 256 seconds)
248: [22:19:50] * robert_ has joined #silverstripe
249: [22:31:50] * joelpittet quit (Remote host closed the connection)
250: [22:34:58] * pippy_ is now known as pippy
251: [23:03:39] * pippy_ has joined #silverstripe
252: [23:06:30] * pippy quit (Ping timeout: 268 seconds)
253: [23:21:46] <razzi> is it normal for cache/ folder to be empty?
254: [23:24:39] <simon_w> Yes

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