#silverstripe IRC Log

IRC log for 25 January 2014

All timestamps are in UTC.

1: [00:00:25] <Zauberfisch> (well, I don't like his folder names, but I guess thats just personal preference)
2: [00:01:01] <Zauberfisch> (I would have put all php files in a folder called code)
3: [00:03:07] * joelpittet quit ()
4: [00:07:31] <antmas> hmmm
5: [00:08:27] <antmas> who are people in NZ hosting with these days
6: [00:08:28] <antmas> ?
7: [00:09:39] <simon_w> Rimu and SiteHost for local stuff
8: [00:10:55] <antmas> SiteHost is pretty good
9: [00:23:59] <ss23> Can vouch for SiteHost
10: [00:30:39] * ObiWanShanobi quit (Quit: Leaving...)
11: [00:31:12] <azureknight> Alright. I'm heading out. Night guys!
12: [00:31:44] * ObiWanSh_ has joined #silverstripe
13: [00:33:16] * jrthomer quit (Remote host closed the connection)
14: [00:33:39] * willr has joined #silverstripe
15: [00:43:10] * joelpittet has joined #silverstripe
16: [00:55:02] * DesignerX has joined #silverstripe
17: [00:59:23] * ARNHOE quit ()
18: [01:00:36] * mintuser has joined #silverstripe
19: [01:00:48] * DesignerX quit (Quit: Page closed)
20: [01:01:10] * mintuser quit (Client Quit)
21: [01:01:40] * mintuser has joined #silverstripe
22: [01:07:09] <mintuser> hi, I'm replacing windows with Linux Mint & got LAMP setup but when I try install composer I get "The program PHP is currently not installed"
23: [01:07:36] <ss23> mintuser: What if you just type "php" with nothing else on the terminal?
24: [01:08:08] <mintuser> http://doc.silverstripe.org/framework/en/trunk/installation/composer
25: [01:08:10] <mintuser> The program 'php' is currently not installed. You can install it by typing:
26: [01:08:11] <mintuser> sudo apt-get install php5-cli
27: [01:08:25] <mintuser> but I already installedc it using "sudo apt-get install php5 libapache2-mod-php5"
28: [01:08:29] <mintuser> installed *
29: [01:08:49] <simon_w> mintuser, that only installs the apache version, not the CLI version
30: [01:08:52] <ss23> mintuser: Some systems are a little strange. You need to install both :)
31: [01:09:26] <mintuser> does that mean I will have 2 differnt php installed or differnt settings for each ?
32: [01:10:14] <ss23> mintuser: Yes, that is generally how PHP works
33: [01:10:43] * gelignite quit (Quit: http://bit.ly/nkczDT)
34: [01:12:09] <mintuser> & the new "CLI" should not effect the apache/php .. it will just run along side it ?
35: [01:12:23] <ss23> mintuser: Yes
36: [01:12:51] * mintuser is now known as DesignerX
37: [01:13:44] <antmas> isn't there usually someone else in here with that name?
38: [01:14:36] <DesignerX> it's me lolz
39: [01:14:43] <DesignerX> from my Linux Mint VM
40: [01:15:18] <antmas> oh
41: [01:15:19] <antmas> lol
42: [01:15:50] <DesignerX> :) hoping to leave windows behind for ever.. should have tested linux mint ages ago
43: [01:16:48] <ss23> Meanwhile, I just switched to Windows at work again the other week
44: [01:16:48] <ss23> :D
45: [01:17:06] <DesignerX> & now with composer I can work better I hope. & plan to start using Github so all the reasons to move to linux :)
46: [01:17:57] <DesignerX> ss23: dont tell me windows 8 ?!
47: [01:18:24] <antmas> I just moved to win8
48: [01:18:45] <ss23> DesignerX: It wasn't my choice! :(
49: [01:18:55] <ss23> I wanted Windows 7, but Windows 7 pro doesn't support Bitlocker, only Windows 8 pro does
50: [01:19:12] <DesignerX> antmas: it's ok, i will send you the painkillers :)
51: [01:19:14] <ss23> I'm using Windows 7 here at home
52: [01:19:36] <Colin[pi]> windows 8 is not as bad as everyone makes it out to be
53: [01:19:38] <antmas> yeah I'm on Win8.1 pro
54: [01:19:49] <antmas> I'm liking it so far :)
55: [01:19:50] <Colin[pi]> and you can ignore the metro stuff if you want, boot to desktop in 8.1
56: [01:19:57] <antmas> no problems with git, composer or ruby
57: [01:20:11] <ss23> Me either! CAuse I have dev VM
58: [01:20:12] <ss23> :P
59: [01:20:26] <DesignerX> Colin[pi]: I tested win 8 when it 1st came out .. didn't like it at all
60: [01:21:44] <DesignerX> Win7 is the new "Win XP" ... but still want to try linux for dev & see how it goes. I already LOVE the Mint+KDE with all the nice GUI features
61: [01:22:23] <DesignerX> Colin[pi]: can you boot to desktop now or you need a special program for it ?
62: [01:22:37] <ss23> DesignerX: Can do it with 8.1 without special program
63: [01:22:51] <DesignerX> aha .. that's new
64: [01:24:41] <DesignerX> BTW, right now i'm testing linuxz in a VM, but I was told I can make a list of "programs" I want to install & run a script to auto install them when I install on physical PC, anyone tried that before ?
65: [01:27:16] <antmas> I would go Linux, but I get free Win keys so it's a given for me
66: [01:27:43] * guci0 quit (Ping timeout: 245 seconds)
67: [01:30:01] * ObiWanSh_ quit (Quit: Leaving...)
68: [01:30:41] * willr quit (Quit: willr)
69: [01:40:29] * willr has joined #silverstripe
70: [01:44:54] <DesignerX> ok, my 1st composer install 1/2 worked
71: [01:44:59] <DesignerX> I get this error
72: [01:45:09] <DesignerX> Failed to clone https://github.com/composer/installers.git, git was not found, check that it is installed and
73: [01:45:10] <DesignerX> in your PATH env.
74: [01:45:32] <willr> have you got a git binary installed?
75: [01:46:18] <antmas> DesignerX, need to download git
76: [01:46:30] <ss23> DesignerX: apt-get install git, probahbnly
77: [01:47:19] <antmas> is Mint a debian distro?
78: [01:47:22] <antmas> or Fedora?
79: [01:47:35] <simon_w|air> Judging by the error when no php-cli, debian
80: [01:47:52] <antmas> true
81: [01:51:28] <DesignerX> antmas: Mint based on Ubuntu which is based on debain ..
82: [01:52:50] <DesignerX> as far as I read Mint is just Ubuntu without the bad gui + minto mods .. most ubunto programs seem wotk work fine on Mint
83: [01:53:03] <DesignerX> minor * mods
84: [02:01:36] * willr quit (Quit: willr)
85: [02:02:36] * OxFF1 has joined #silverstripe
86: [02:05:55] * OxFF1 has left #silverstripe
87: [02:30:09] * antmas quit (Quit: Leaving)
88: [02:38:13] * willr has joined #silverstripe
89: [02:40:48] * jrthomer has joined #silverstripe
90: [02:45:51] <DesignerX> How does SS know which user is needed to have write access to files ? shouldn't SS require the current logged in user to be the owner of files ?
91: [02:46:31] <willr> no. All files uploaded are public by default
92: [02:46:52] <willr> if you want to secure folders, use one of the secure file modules
93: [02:48:44] <DesignerX> willr: THis is on a dev server i'm trying to put togeather. I downloaded SS using composer but composer required Root access so SS files ended up being owned by root
94: [02:49:06] <willr> composer shouldn't require root apart from to install
95: [02:52:24] <DesignerX> willr: kk, will try install SS again & see what happens
96: [02:53:00] <willr> you could just change the permissions back to your webuser
97: [02:53:12] <DesignerX> willr:
98: [02:53:13] <DesignerX> User 'www-data' needs to be able to write to this file:
99: [02:53:15] <DesignerX> /home/mintuser/www/ss-test1/assets
100: [02:53:38] <willr> yep, assets should always be writ table by the web user, as well as silverstripe-cache
101: [02:53:39] <DesignerX> need to find out "why SS asking for www-data user to own the files"
102: [02:54:12] <willr> because otherwise the web server cannot upload your images :D
103: [02:55:40] <DesignerX> willr: changed the owner to www-data & that seems to fix it.. now time to other PHP modules installed & working
104: [03:02:55] * willr quit (Quit: willr)
105: [03:42:27] <DesignerX> I ran composer require silverstripe/sqlite3 dev-master after "cd" to my SS install folder but I get this error
106: [03:42:40] <DesignerX> [RuntimeException]
107: [03:42:41] <DesignerX> sqlite3/ does not exist and could not be created.
108: [03:42:57] <simon_w> DesignerX, your user doesn't have write permissions on the folder
109: [03:44:56] <DesignerX> simon_w: aha .. changed the folder to allow "group : can view & modify"
110: [03:52:26] * SightUnseen has joined #silverstripe
111: [03:52:34] * SightUnseen has left #silverstripe
112: [04:48:24] * cloph has joined #silverstripe
113: [04:48:28] * cloph_away quit (Ping timeout: 245 seconds)
114: [05:00:27] * Azure quit (Quit: Textual IRC Client: www.textualapp.com)
115: [05:05:21] * antmas has joined #silverstripe
116: [05:06:35] <antmas> evening all
117: [05:08:53] <guzzlefry> howdy
118: [05:10:44] * Azure has joined #silverstripe
119: [05:13:48] * DigNZ has joined #silverstripe
120: [05:15:15] * DigNZ quit (Client Quit)
121: [05:15:36] * DigNZ has joined #silverstripe
122: [05:17:24] * DigNZ quit (Client Quit)
123: [05:41:45] * Colin[pi] waves at antmas
124: [05:48:23] * antmas waves at Colin[pi]
125: [05:48:33] * antmas and then gets another beer
126: [05:49:55] <Colin[pi]> i can haz bere?
127: [05:50:12] * antmas passes Colin[pi] a brew
128: [05:50:41] <Colin[pi]> YAY
129: [05:50:44] <antmas> ss23, this will sound dumb, but what's the use of drive encryption (bitlocker etc) for typical dev work?
130: [05:51:01] <Colin[pi]> psst it's how he hides his pr0n
131: [05:51:02] <antmas> or anyone else that can answer that question :D
132: [05:51:07] <antmas> lol
133: [05:52:45] <Colin[pi]> I've only fleeting mucked aorund with bitlocker... shurgs
134: [05:52:47] <Colin[pi]> *shrug also
135: [05:53:03] <antmas> does it slow down access at all?
136: [05:54:51] <Colin[pi]> http://stackoverflow.com/questions/2762844/developers-how-does-bitlocker-affect-performance
137: [05:55:06] <Colin[pi]> Sequential read 243 MB/s ---> 140 MB/s : Sequential write 74.5 MB/s ---> 51 MB/s
138: [05:55:28] <Colin[pi]> wait
139: [05:55:30] <antmas> wow
140: [05:55:30] <Colin[pi]> that's a bit old
141: [05:55:31] <ss23> 18:50:44 < antmas> ss23, this will sound dumb, but what's the use of drive encryption (bitlocker etc) for typical dev work?
142: [05:55:32] <antmas> bit impact
143: [05:55:36] <ss23> client info and stuff on my box
144: [05:55:37] <antmas> big*
145: [05:55:42] <ss23> I have lots of access to our servers
146: [05:55:58] <ss23> (second most access in the company o/ o/ o/)
147: [05:55:59] <antmas> ss23, can you comment on drive performance with it on and off?
148: [05:56:26] <ss23> seems negligible
149: [05:56:28] <simon_w|air> antmas, you're rather unlikely to notice any difference
150: [05:56:32] <Colin[pi]> some drives have hardware accel. for it, it seems
151: [05:56:48] <simon_w|air> Most CPUs have hardware acceleration for it
152: [05:56:56] <antmas> hmmm
153: [05:57:05] <simon_w|air> And it's just a tick box in System Preferences!
154: [05:57:12] <antmas> so it's *worth it* if you have it available?
155: [05:57:33] <simon_w|air> There's no real reason not to enable it if it's there
156: [05:57:37] <ss23> Only bother if you have something worth protecting IMO
157: [05:58:06] <antmas> I'd say if you have any client source files or content it's probably worth it right?
158: [05:59:01] <simon_w|air> If it's a desktop, it's not as important
159: [05:59:19] <Colin[pi]> but it's a preventative measure is for, what, physical disk access? if someone steals your drive?
160: [05:59:47] <simon_w|air> yeah
161: [05:59:53] <antmas> it would be fairly easy to access via a network conn though right? (meaning without bitlocker enabled)
162: [06:00:06] <Colin[pi]> and if they take your box and bypass your password?
163: [06:00:42] <simon_w|air> Colin[pi], you usually need the password to get the encryption key, so bypassing doesn't help
164: [06:00:47] <simon_w|air> antmas, nope
165: [06:00:54] <antmas> huh
166: [06:00:55] <ss23> 18:59:01 <@simon_w|air> If it's a desktop, it's not as important
167: [06:01:00] <ss23> trudat, laptop I definitly would
168: [06:01:08] <antmas> maybe I'll leave it off then
169: [06:01:13] <antmas> desktop here
170: [06:01:26] <Colin[pi]> simon_w: hmm, I only ask because it's dead easy to get around windows login promptas
171: [06:01:27] <Colin[pi]> -a
172: [06:01:55] <Colin[pi]> at least it was in 7 and under
173: [06:01:59] <simon_w|air> Colin[pi], full disk encryption kinda stops that (since you need a password to even get anything to boot)
174: [06:02:23] <Colin[pi]> isn't the boot partition unencrypted?
175: [06:03:12] <simon_w|air> Mine isn't
176: [06:03:35] <simon_w|air> Maybe if bitlocker's pathetic :p
177: [06:03:39] <Colin[pi]> In order for BitLocker to operate, at least two NTFS-formatted volumes are required: one for the operating system (usually C:) and another with a minimum size of 100 MB[17] from which the operating system boots.
178: [06:03:50] <Colin[pi]> ah k
179: [06:03:56] <simon_w|air> FileVault few!
180: [06:03:57] <Colin[pi]> I see how it's operating now
181: [06:03:57] <antmas> wait
182: [06:04:01] <simon_w|air> *ftw!
183: [06:04:12] <antmas> so you can't use it with only 1 drive and 1 partition?
184: [06:04:20] <Colin[pi]> BitLocker requires the boot volume to remain unencrypted
185: [06:04:21] <simon_w|air> antmas, can on a mac :p
186: [06:04:47] <Colin[pi]> on windows it seems minimum two partitions
187: [06:04:49] <antmas> is it FileVault on mac?
188: [06:04:53] <simon_w|air> yes
189: [06:05:02] <simon_w|air> Click a button, you reboot, all done
190: [06:05:20] <antmas> nice
191: [06:05:26] <simon_w|air> Full disk encryption, with EFI support so the boot loader's encrypted too
192: [06:05:44] <antmas> unix is good like that
193: [06:06:46] <Colin[pi]> it is indeed
194: [06:16:26] * SightUnseen has joined #silverstripe
195: [06:16:36] * SightUnseen has left #silverstripe
196: [06:16:46] * azureknight quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
197: [06:17:33] * antmas quit (Quit: Leaving)
198: [06:34:53] <simon_w|air> Man, turns out making a markov chain is rather easy
199: [06:55:41] <irogue23> whatd you end up using?
200: [07:06:57] <simon_w> Lavarel
201: [07:07:03] <simon_w> Still gotta make the front end to it though
202: [07:07:23] <simon_w> What's the chances there's a pre-made bootstrap view
203: [07:08:04] <irogue23> no idea, lol
204: [07:08:07] <irogue23> howd you find laravel?
205: [07:08:13] * TRB143 has joined #silverstripe
206: [07:09:14] <simon_w> Haven't used that much of it (since most of what I'm doing is straight PHP), but the inbuilt queue support is great :)
207: [07:10:44] <guzzlefry> guys
208: [07:10:48] <guzzlefry> RESTful stuff is amazing.
209: [07:14:11] <simon_w> +HipHop Warning: Unknown error in /hphp/hiphop-php/hphp/test/zend/good/ext/pcre/tests/bug42737.php on line 5
210: [07:14:11] <simon_w> Dammit
211: [07:15:11] * joelpittet quit (Remote host closed the connection)
212: [07:16:49] <simon_w> Oh, I see what's happening
213: [07:33:58] <guzzlefry> Do I need to call ?flush=all when adding a new include template, or will ?flush do?
214: [07:35:24] <simon_w> Just need to flush
215: [07:38:39] <guzzlefry> Composer should autoload classes right? 0.o
216: [08:06:07] * SightUnseen1 has joined #silverstripe
217: [08:07:29] * SightUnseen1 has left #silverstripe
218: [08:47:48] <guzzlefry> Where do I unset the sessionMessage for a form after it's been displayed? >_>
219: [08:48:37] <guzzlefry> oh wait..hrm
220: [08:56:40] <guzzlefry> yeah, no clue
221: [09:08:39] <guzzlefry> $form->getName() is returning "_"
222: [09:29:43] <guzzlefry> OH
223: [09:29:45] <guzzlefry> http://logs.simon.geek.nz/index.php?date=2013-12-16#log_1142424
224: [09:29:54] <guzzlefry> Maybe I'll update the docs tomorrow. :P
225: [11:19:01] <Colin[pi]> yay finally watched The Hobbit
226: [11:19:15] <Colin[pi]> pretty good, now I can see the 2nd one :D
227: [11:25:08] * DesignerX quit (Ping timeout: 245 seconds)
228: [11:34:33] * gelignite has joined #silverstripe
229: [14:29:45] * OxFF1 has joined #silverstripe
230: [17:56:37] * joelpittet has joined #silverstripe
231: [18:30:45] * Azure quit (Read error: Connection reset by peer)
232: [18:32:47] * Azure has joined #silverstripe
233: [20:50:47] * DigNZ has joined #silverstripe
234: [20:53:16] * joelpittet quit (Remote host closed the connection)
235: [21:24:40] * willr has joined #silverstripe
236: [21:54:54] * SightUnseen has joined #silverstripe
237: [21:55:02] * SightUnseen has left #silverstripe
238: [21:57:15] * joelpittet has joined #silverstripe
239: [22:05:34] * DigNZ quit (Quit: DigNZ)
240: [22:25:01] * DigNZ has joined #silverstripe
241: [23:01:43] * OxFF1 quit (Ping timeout: 260 seconds)
242: [23:09:29] * willr quit (Ping timeout: 252 seconds)
243: [23:12:33] * DesignerX has joined #silverstripe
244: [23:15:59] <simon_w|air> Man, the Lavarel error output is so much nicer than SS's
245: [23:19:47] <irogue23> oh yes, in the very brief play i had with it, the error output was epic
246: [23:46:55] <Colin[pi]> example?
247: [23:48:15] <Colin[pi]> nm found one
248: [23:48:34] * willr has joined #silverstripe
249: [23:49:28] * Azure quit (Quit: My MBP went to sleep.)
250: [23:51:15] <irogue23> Colin[pi]: sexy right?
251: [23:51:21] <Colin[pi]> not bad at all
252: [23:54:08] <simon_w|air> And you can click on the call stack to see the context of each line
253: [23:54:25] <Colin[pi]> nice

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