#silverstripe IRC Log

IRC log for 5 January 2014

All timestamps are in UTC.

1: [00:02:35] <guzzlefry> I'm getting a server error page.
2: [00:02:39] <guzzlefry> No clue what's causing it.
3: [00:02:48] <guzzlefry> Site is in dev mode on shared hosting. >_>
4: [00:21:23] * Marvanni has joined #silverstripe
5: [00:31:50] <guzzlefry> Any ideas?
6: [00:32:25] <guzzlefry> No file changes in the past 3 days. Apparently this was working yesterday.
7: [00:32:54] <ss23> Check logs!
8: [00:32:58] <guzzlefry> Getting a generic Silverstripe 500 error page.
9: [00:32:59] <ss23> Seriously, if error, logs
10: [00:33:05] <guzzlefry> ss23: shared hosting!
11: [00:33:19] <ss23> guzzlefry: Shared hosting provides logs too, you know
12: [00:33:19] <ss23> o.o
13: [00:33:30] <guzzlefry> I was hoping I could switch it over to dev mode and have the errors shoot out, but it was already in dev mode. :P
14: [00:34:14] <ss23> Yeah
15: [00:34:21] <ss23> I dislike the way that dev mode isn't always really dev mode
16: [00:34:31] <ss23> It gets worse with the new raygun module that picks up errors... execpt for the ones it doesn't
17: [00:34:32] <guzzlefry> Please Note: The MAIN error_log is a shared log meaning that errors from all websites hosted on the server will be displayed as well as those for your website, be sure to reference your IP when searching this log.
18: [00:34:34] <guzzlefry> aaahhh
19: [00:34:38] <ss23> lol
20: [00:34:51] <guzzlefry> I hate how half of the CMS errors just go out as responses. :P
21: [00:34:59] <guzzlefry> rather than being logged...
22: [00:35:29] <ss23> yeah
23: [00:35:31] <ss23> I hate a lot oabout it
24: [00:35:42] <ss23> I mean, like I always say, SilverStripe is the best CMS out there
25: [00:35:44] <ss23> But my god, it has issues
26: [00:35:56] * elementz quit (Ping timeout: 260 seconds)
27: [00:36:10] <guzzlefry> Should iron those out. :P
28: [00:36:29] <guzzlefry> so
29: [00:36:33] <guzzlefry> nothing in the error logs. :/
30: [00:37:39] <guzzlefry> what I do now?!
31: [00:40:02] <ss23> Ummmmmmmmmmmmm
32: [00:40:08] <ss23> Live debug
33: [00:40:19] <ss23> like
34: [00:40:26] * Marvanni quit (Ping timeout: 264 seconds)
35: [00:40:35] <ss23> it's shit, but you basically need to go through adding "die()" to each part of main.php and more to figure out where the error is
36: [00:40:36] <guzzlefry> die() statements in index.php? :P
37: [00:40:45] * Marvanni has joined #silverstripe
38: [00:40:49] <guzzlefry> in the ghettooo
39: [00:40:53] * guzzlefry sings.
40: [00:41:42] <guzzlefry> ss23: Think we can talk the devs into intentionally making SilverStripe incompatible with shared hosting? >_>
41: [00:41:44] <ss23> lol
42: [00:41:48] <ss23> XD
43: [00:41:57] <ss23> guzzlefry: Have you *seen* the memory requirements it has?! It basically is already! :P
44: [00:42:04] <guzzlefry> I know.
45: [00:42:10] <ss23> It has ~30 second load times on the Rackspace shared servers
46: [00:42:14] <ss23> Though that's for different reasons
47: [00:42:25] <guzzlefry> I haven't noticed 30 second load times.
48: [00:43:22] <ss23> On rackspace shared servers?
49: [00:44:06] <guzzlefry> oh wait
50: [00:44:14] <guzzlefry> we have the server instances
51: [00:44:20] <guzzlefry> I didn't even know Rackspace did shared...
52: [00:44:20] <ss23> mm
53: [00:44:26] <ss23> They have a bullshit name for it
54: [00:44:45] <ss23> It works badly with SilverStripe since it "balances", which in effect means every load is done without any kind of caching
55: [00:45:31] <ss23> You can work around that particular issue by just creating a silverstripe-cache, but end of the day, shared hosting just ain't gunna cut it
56: [00:46:18] <guzzlefry> Had an ecommerce SilverStripe website trigger the OOM Killer a few days ago on an instance with 512MB. :P
57: [00:46:51] <ss23> XD
58: [00:46:53] <guzzlefry> okay so...what loads up before _ss_environment.php?
59: [00:47:01] <ss23> Look at main.php and find out!
60: [00:47:07] <guzzlefry> die() in there isn't being triggered.
61: [00:47:09] <guzzlefry> madness!
62: [00:47:10] <ss23> Hmm
63: [00:47:25] <ss23> So it's probably not in the logs becausae PHP is configured not to be logging, and it's dying *before* the error handler
64: [00:47:32] <ss23> inb4 shared hosting provider changed shit on you
65: [00:47:39] <ss23> But yeah, die at the top of main.php
66: [00:47:47] <ss23> If *that* doesn't work, could be apache/.htaccess issues
67: [00:47:53] <guzzlefry> yeah...
68: [00:48:05] <guzzlefry> unless the actual SilverStripe files are hidden.
69: [00:48:13] <guzzlefry> In which case I'll be pissed off for the rest of the day. :P
70: [00:49:17] <guzzlefry> uhm
71: [00:49:25] <guzzlefry> if (version_compare(phpversion(), '5.3.2', '<')) {
72: [00:49:25] <guzzlefry> header("HTTP/1.1 500 Server Error");
73: [00:49:55] <guzzlefry> # php -v
74: [00:49:55] <guzzlefry> PHP 5.2.17 (cgi-fcgi) (built: Oct 2 2013 09:23:52)
75: [00:50:05] <guzzlefry> Shared hosting folks wouldn't downgrade PHP would they?
76: [00:50:26] <guzzlefry> Although the die() is before that check.
77: [00:51:50] <ss23> I don't know if they would downgrade
78: [00:51:55] <ss23> o.o
79: [00:52:16] <ss23> At this point, might be quickest just to create a support ticket -- "has anything changed in the past 7 days affecting php or apache or anything like that?"
80: [00:52:19] <guzzlefry> CPanel claims: PHP version 5.4.22
81: [00:52:23] <ss23> They normally are quick, even crappy shared hosts
82: [00:58:18] * Marvanni quit (Quit: Marvanni)
83: [01:06:32] * gelignite_ has joined #silverstripe
84: [01:10:00] * gelignite quit (Ping timeout: 245 seconds)
85: [01:19:31] * gelignite_ is now known as gelignite
86: [01:25:53] <guzzlefry> yeah, client is calling them. :P
87: [03:39:44] * gelignite quit (Quit: http://bit.ly/nkczDT)
88: [04:19:35] * cloph_away has joined #silverstripe
89: [04:20:07] * cloph quit (Ping timeout: 272 seconds)
90: [05:02:12] * CodeTrap quit (Ping timeout: 272 seconds)
91: [05:02:25] * CodeTrap has joined #silverstripe
92: [09:28:04] * violetina has joined #silverstripe
93: [10:16:43] * elementz has joined #silverstripe
94: [10:17:20] <elementz> simon_w: ss23 guys, the forum is being spammed http://www.silverstripe.org/installing-silverstripe/
95: [10:21:13] <ss23> bl;argh
96: [10:21:48] <ss23> I'm probably not the best person to deal with this as I've been out of the loop on what the current efforts are to mitigate it for the past 2 weeks
97: [10:21:51] <ss23> hmm hmmm
98: [10:22:08] <ss23> And to give myself an admin account I'll have to fuck with the live server :(
99: [10:22:26] <elementz> ss23: hm. just wanted to give you guys a heads up :)
100: [10:22:34] <ss23> Yep, thank you :D
101: [10:22:37] <ss23> It should b e fixed tomorrow
102: [10:22:52] <ss23> I'll run into work and punch someone in the face and be all "WHAT IS THIS, FIX IT"
103: [10:23:04] <elementz> ss23: haha
104: [10:23:51] <elementz> ss23: while i got your attention, maybe the spam is the reason my question got buried, but maybe you can help to clarify it? http://www.silverstripe.org/installing-silverstripe/show/34938
105: [10:24:53] <elementz> s/help to clarify it?/help me understand the difference?
106: [10:26:32] * elementz afk for 10
107: [10:26:47] * ss23 clicky
108: [10:27:39] <ss23> elementz: So it's a little different, but if you want to use composer install, you should fork your own project from the silverstripe-installer project
109: [10:28:00] <ss23> So whenever I create a new project, the first step is to make a fork of silverstripe-installer, next is git clone that repo, then in there, composer install
110: [10:28:18] <ss23> You only need one branch etc
111: [10:28:37] <ss23> But the idea is the same -- you need to have the mysite from there (as well as the .htaccess etc), and it comes in that silverstripe-installer repo
112: [10:28:40] <ss23> Does this help? :O
113: [10:44:31] <elementz> ss23: hm. not sure. so the workflow would be: fork ss-installer repo, pull it, add my package.json and run composer install?
114: [10:46:41] <elementz> also what would be the advantage of forking the installer repo over running composer create-project?
115: [10:54:27] <ss23> I don't think anything
116: [10:54:33] <ss23> When you say "add your package.json"
117: [10:54:37] <ss23> I just manaually edit it
118: [11:01:22] <elementz> ok
119: [11:01:45] <elementz> ss23: thx for now :)
120: [11:02:00] <ss23> Hope I helped!
121: [11:55:45] * gelignite has joined #silverstripe
122: [12:52:05] * DesignerX quit (Ping timeout: 265 seconds)
123: [13:46:39] <elementz> How do you guys version control your projects? I.e. not the source of ss itself but your website projects? Do you guys use git-modules or do you put everything e.g. framework-related into .gitignore?
124: [13:47:41] <ss23> Yeah, framework related into gitignore, and composer install to "fetch" them
125: [13:48:51] <elementz> ok. so the only dir that should not be inside .gitignore would be the mysite-directory, right?
126: [13:49:49] <ss23> Yeah, generally
127: [13:50:01] <ss23> That's all I can think of atm
128: [13:50:01] <ss23> :O
129: [13:50:14] <elementz> ss23: thx. good to know.
130: [14:52:53] * ss_newbie has joined #silverstripe
131: [14:53:10] <ss_newbie> Is there a way to get the URL of a page using the SiteTree ID?
132: [14:55:33] * jottr has joined #silverstripe
133: [14:59:02] * elementz quit (Ping timeout: 245 seconds)
134: [15:00:01] * jottr is now known as elementz
135: [16:04:10] <ss_newbie> Is there a way to get the URL of a page using the SiteTree ID?
136: [16:41:27] * ss_newbie quit (Quit: Page closed)
137: [16:53:46] * Liquide has joined #silverstripe
138: [17:06:20] * goesta has joined #silverstripe
139: [17:06:38] <goesta> Hi
140: [17:07:17] * abitran quit (Ping timeout: 265 seconds)
141: [17:15:03] <goesta> I am new to silverstripe and have a problem that drives me nuts
142: [17:15:17] <goesta> I have added a Team Page like the Stuff page in the Tutorial. Offline this works great but online on uberspace i get an internal server error every time i try to switch between pages in the admin panel. Accessing the same page direkt works without a problem.
143: [17:15:28] <goesta> The Code: https://gist.github.com/glektrik/8b8f455a6892f19fb5e7
144: [17:16:16] <goesta> Screenshot https://www.dropbox.com/s/rsnipt2siwl7dw2/Screenshot%202014-01-05%2017.59.47.png
145: [17:16:59] <goesta> The failed ajax request https://www.dropbox.com/s/p68y361i5d6ygcu/Screenshot%202014-01-05%2018.00.59.png
146: [17:17:43] * abitran has joined #silverstripe
147: [17:18:03] <goesta> When i comment out the line with new UploadField everything works fine
148: [17:26:16] * elementz quit (Read error: Operation timed out)
149: [18:06:18] * simon_w quit (Quit: This computer has gone to sleep)
150: [18:40:26] * simon_w has joined #silverstripe
151: [18:41:55] * DesignerX has joined #silverstripe
152: [18:50:14] * DesignerX quit (Ping timeout: 265 seconds)
153: [19:06:06] * ssnewbie has joined #silverstripe
154: [19:08:30] <ssnewbie> Hi, I am looping through my Holder.ss showing all the child items, but I want to on the top of my sholder page to say 5 pages found
155: [19:10:23] <simon_w> ssnewbie, $Children.Count?
156: [19:14:57] <ssnewbie> woho
157: [19:15:02] <ssnewbie> Thanks :)
158: [19:19:03] * ssnewbie quit (Quit: Page closed)
159: [19:19:19] * ARNHOE has joined #silverstripe
160: [19:26:17] * ARNHOE quit ()
161: [19:27:47] * lenix- has joined #silverstripe
162: [19:29:50] * coldhand_ has joined #silverstripe
163: [19:30:05] * Kapdap_ has joined #silverstripe
164: [19:30:26] * lenix quit (Ping timeout: 246 seconds)
165: [19:30:41] * werner__ has joined #silverstripe
166: [19:31:05] * coldhand quit (Ping timeout: 246 seconds)
167: [19:31:06] * Kapdap quit (Ping timeout: 246 seconds)
168: [19:33:08] * nickmolhoek has joined #silverstripe
169: [19:35:06] * ajmitch_ has joined #silverstripe
170: [19:40:02] * ssnewbie has joined #silverstripe
171: [19:40:07] * werner_ quit (Ping timeout: 246 seconds)
172: [19:40:08] * ajmitch quit (*.net *.split)
173: [19:40:35] * ssnewbie quit (Client Quit)
174: [19:44:34] * simon__w has joined #silverstripe
175: [19:45:46] * lenix has joined #silverstripe
176: [19:47:49] * ajmitch has joined #silverstripe
177: [19:50:19] * coldhand has joined #silverstripe
178: [19:50:47] * lenix-_ has joined #silverstripe
179: [19:51:26] * camfindlay_ has joined #silverstripe
180: [19:52:14] * lenix- quit (Ping timeout: 248 seconds)
181: [19:52:16] * coldhand_ quit (Ping timeout: 248 seconds)
182: [19:53:28] * ajmitch_ quit (*.net *.split)
183: [19:53:29] * simon_w quit (*.net *.split)
184: [19:53:29] * ezero quit (*.net *.split)
185: [19:53:29] * guzzlefry quit (*.net *.split)
186: [19:53:45] * Marvanni has joined #silverstripe
187: [19:54:42] * unsignedint has joined #silverstripe
188: [19:56:46] * lenix quit (*.net *.split)
189: [19:57:46] * Marvanni quit (Client Quit)
190: [20:05:08] * ss23_ has joined #silverstripe
191: [20:08:21] * ss23 quit (Ping timeout: 265 seconds)
192: [20:15:06] * ezero has joined #silverstripe
193: [20:19:59] * ezero quit (Ping timeout: 272 seconds)
194: [20:20:05] * abitran quit (Ping timeout: 245 seconds)
195: [20:22:40] * robert___ has joined #silverstripe
196: [20:22:42] * robert___ quit (Changing host)
197: [20:22:42] * robert___ has joined #silverstripe
198: [20:23:30] <ss23_> mist sounds angry
199: [20:23:30] <ss23_> :O
200: [20:23:32] * ss23_ is now known as ss23
201: [20:24:12] <ss23> The morning back at work after Christmas break, DEPLOY TO PRODUCTION :D
202: [20:24:28] * Kapdap has joined #silverstripe
203: [20:25:08] * micmania1 has joined #silverstripe
204: [20:25:15] <unsignedint> dont break production!
205: [20:25:19] <ss23> simon__w~
206: [20:25:38] <ss23> simon__w: Are you eating bought lunches nowadays?
207: [20:26:03] * Kapdap_ quit (Ping timeout: 264 seconds)
208: [20:26:04] * coldhand quit (Ping timeout: 264 seconds)
209: [20:26:05] * werner__ quit (Ping timeout: 264 seconds)
210: [20:26:05] * robert_ quit (Ping timeout: 264 seconds)
211: [20:26:19] * abitran has joined #silverstripe
212: [20:36:14] * FrozenFire quit (Write error: Broken pipe)
213: [20:36:48] * gelignite quit (*.net *.split)
214: [20:36:48] * cloph_away quit (*.net *.split)
215: [20:36:50] * robert___ quit (*.net *.split)
216: [20:36:52] * wmk has joined #silverstripe
217: [20:36:54] * coldhand_ has joined #silverstripe
218: [20:36:57] * FrozenFire[alt] has joined #silverstripe
219: [20:37:00] * willr has joined #silverstripe
220: [20:38:23] * FrozenFire[alt] quit (Changing host)
221: [20:38:24] * FrozenFire[alt] has joined #silverstripe
222: [20:38:37] * gelignite has joined #silverstripe
223: [20:38:37] * cloph_away has joined #silverstripe
224: [20:38:59] * simon__w is now known as simon_w
225: [20:40:49] * FrozenFire[alt] is now known as FrozenFire
226: [20:41:58] * robert___ has joined #silverstripe
227: [20:42:24] * elementz has joined #silverstripe
228: [20:48:19] * camfindlay_ quit (Quit: camfindlay_)
229: [20:58:51] * UncleCheese has joined #silverstripe
230: [21:01:07] * lerni1 has joined #silverstripe
231: [21:05:13] <simon_w> ss23, well, I'm eating brought lunch
232: [21:06:07] <ss23> :(
233: [21:06:13] <ss23> simon_w: You just got lots and lots of praise in our meeting
234: [21:06:18] <ss23> (for the HHVM stuff)
235: [21:06:22] <simon_w> Good!
236: [21:06:54] * camfindlay has joined #silverstripe
237: [21:08:04] <willr> Convert everything to HHVM?
238: [21:08:13] <ss23> IT WASN'T GOOD, I WANT THE PRAISE
239: [21:08:14] <ss23> :(
240: [21:08:37] <simon_w> Move everything to Postgres!
241: [21:08:56] <willr> Already done that. Next!
242: [21:09:08] <simon_w> I even got a patch merged so Hamish's error control chain thing works
243: [21:09:31] <willr> Wonder how hard it is to get HHVM to run on Openshift
244: [21:09:51] <simon_w> Can you use yum?
245: [21:10:20] <ss23> The postgres servers we have run like *crap*
246: [21:10:33] <ss23> You can tell if we're running postgres, cause the sites take like 30+ seconds to do anything
247: [21:10:43] <ss23> idk what it is, presume the postgres defaults are just bad or something
248: [21:10:49] <ss23> But no one here cares enough to fix it
249: [21:10:54] <simon_w> Really old versions of postgres?
250: [21:10:59] <ss23> don't think so
251: [21:11:08] <ss23> Whatever is the latest in debian stable
252: [21:20:05] * willr quit (Quit: willr)
253: [21:32:57] * guzzlefry has joined #silverstripe
254: [21:51:47] * nickmolhoek quit (Quit: nickmolhoek)
255: [22:15:05] * Colin[pi] has joined #silverstripe
256: [22:16:15] * Colin[pi] quit (Client Quit)
257: [22:16:41] * Colin[pi] has joined #silverstripe
258: [22:17:06] <Colin[pi]> hi everybody :D
259: [22:19:37] <guzzlefry> hello sir
260: [22:19:55] <Colin[pi]> happy new year
261: [22:22:35] <guzzlefry> you too!
262: [22:22:39] <ss23> hi hi
263: [22:22:40] <ss23> ^.^
264: [22:23:19] * SphereSilverNL has joined #silverstripe
265: [22:23:51] <SphereSilverNL> Evening ladies and gentleman
266: [22:25:49] <ss23> hihi
267: [22:27:33] * nickmolhoek has joined #silverstripe
268: [22:28:53] <Colin[pi]> HI SNOWMAN23 OOPS SS23
269: [22:30:26] <SphereSilverNL> Either your capslock broke, or you're screaming?
270: [22:30:40] <ss23> XD
271: [22:32:05] <Colin[pi]> POR QUE NO LOS DOS?
272: [22:32:18] * gelignite quit (Quit: http://bit.ly/nkczDT)
273: [22:32:59] <ss23> DA DA DA DA DA DA DA DA DA
274: [22:33:01] <SphereSilverNL> Por que estas gritando?
275: [22:33:15] * simon_w <3s UIAppearance
276: [22:36:33] * Stomach has joined #silverstripe
277: [22:40:51] * Shrike_Finland has joined #silverstripe
278: [22:40:52] <pippy> simon_w: you're thinking about using HHVM with silverstripe?
279: [22:41:31] <pippy> I ported it SS to HH a while back
280: [22:41:50] * DigNZ has joined #silverstripe
281: [22:42:27] <simon_w> Thinking? I've done it
282: [22:43:02] <pippy> nice! is it going to be merged with trunk at some point?
283: [22:43:34] <SphereSilverNL> And, is it faster? (Besides just being able to use it, speed is everything, right? )
284: [22:43:39] <simon_w> Is what going to be merged?
285: [22:43:51] <pippy> the modifications to get it working with HH
286: [22:44:01] <simon_w> What modifications?
287: [22:44:17] <ss23> pippy: The modifications were in HHVM, not SilverStripe :P
288: [22:44:28] <pippy> ah
289: [22:44:38] <ss23> pippy: There are few other issues, such as the DOM module not being properly completed for HHVM, but that'll be done when someone gets around to it
290: [22:45:14] <pippy> sorry i assumed your talk was about porting SS to HHVM
291: [22:45:18] <pippy> not HHVM itself
292: [22:46:14] <pippy> i really like hhvm
293: [22:46:47] <simon_w> SphereSilverNL, 2-3 times faster running the tests (so, with the DB still being the slow point)
294: [22:47:39] <SphereSilverNL> Do you have any predictions on how this might work on a Raspberry Pi then?
295: [22:47:58] <SphereSilverNL> If not.... I guess I have a new RPi to buy and go on random testing :P
296: [22:48:38] <simon_w> What's the architecture?
297: [22:48:49] <SphereSilverNL> RPi is ARM ;)
298: [22:49:14] <simon_w> Well, the JIT won't work
299: [22:49:21] <simon_w> And it probably won't have enough RAM
300: [22:49:50] <SphereSilverNL> It has a grand total of 512, so it's slow compared to dedicated servers by default :)
301: [22:50:12] <simon_w> Also, HHVM needs about a gig at startup
302: [22:51:20] <SphereSilverNL> hmmmm, okay, the RPi-idea is out
303: [22:51:48] <SphereSilverNL> I have three dedicated RPi's, one Nginx, one PHP-FPM and one Postgresql.
304: [22:52:04] <Colin[pi]> someone explain the point of RPi's to me please?
305: [22:52:09] <Colin[pi]> IDGI
306: [22:52:10] <SphereSilverNL> and still, it's slow. If it needs 1G even to start, it's out of the question
307: [22:52:17] <SphereSilverNL> Colin[pi]: Well, there's a lot ;)
308: [22:52:36] <Colin[pi]> an underpowered linux "box" for $25?
309: [22:52:40] <simon_w> Colin[pi], it's like lego windstorms
310: [22:52:51] <SphereSilverNL> I have 5 RPi's running as somewhat dedicated serving systems, 3 of them are pure CDN systems, thus, just needing to serve statics
311: [22:53:00] <SphereSilverNL> This is fast as hell on Nginx
312: [22:53:05] <Colin[pi]> hmm
313: [22:53:22] <SphereSilverNL> 1 of those three, also doubles as a testing-ground, which as I just explained, is slow as hell.
314: [22:53:58] <SphereSilverNL> Those are in total, the 5 I have running in a Dedicated Server Setup environment (they are literally inside a server-room)
315: [22:54:13] <pippy> SphereSilverNL: nice
316: [22:54:31] <SphereSilverNL> Besides that, I have pretty much every TV in my home, powered up by an RPi + OpenElec as being the XBMC home theater system
317: [22:54:41] <SphereSilverNL> as a home theater system, it's awesome.
318: [22:54:44] <Colin[pi]> i suppose it's cost effective...?
319: [22:54:52] <SphereSilverNL> I got one dedicated pi, just running the central database
320: [22:55:04] <SphereSilverNL> the others just stream from my NAS, flawlessly.
321: [22:55:34] <ss23> I don't think I would ever use a pi, but I can see possible uses
322: [22:55:50] <SphereSilverNL> Yes, I admit, sometimes the menus are a bit slow, but with a good remote (like YATSE, or the iOS official remote), it's way cheaper and way better than any 200 US$ machine
323: [22:55:56] <ss23> Saw someone using them to prototype distributed systems, which seems cool -- by 50 of them and you get a sweet cluster for testing shit
324: [22:56:33] <Colin[pi]> yeah like simon said, lego mindstorms but for computers
325: [22:56:59] <SphereSilverNL> ss23: I got one at first, just for fun.... but it kinda escalated, no more "cheap computers running on 300W power supplies"
326: [22:57:27] <SphereSilverNL> But then again, Yeah, you have to have some patience with the machines at times.
327: [22:57:54] <SphereSilverNL> They're not perfect, but for me, I love it. (But I'm not blind for its flaws :) )
328: [22:59:07] <SphereSilverNL> I wouldn't recommend them as actual computers, let alone run as servers
329: [22:59:24] <Colin[pi]> > I wouldn't recommend them as actual computers, let alone run as servers - wat
330: [22:59:26] <SphereSilverNL> But as a cheap-ass startup "let's try some stuff" computer, they are awesome.
331: [22:59:57] <ss23> We've got one here at work we were looking at using to display fancy shit on a screen
332: [22:59:58] <SphereSilverNL> Colin[pi]: The fact that I'm doing it, doesn't make it a good thing ;)
333: [23:00:01] <ss23> Would be good for that
334: [23:00:07] * violetina quit (Remote host closed the connection)
335: [23:00:23] <simon_w> ss23, Pity it can't do your job and write some docs though
336: [23:00:25] <Colin[pi]> fancy shit?
337: [23:00:52] <SphereSilverNL> ss23: That should be quite easy even ;) When booted, it's just a very lightweight computer with full html5 capabilities ;)
338: [23:00:53] <simon_w> Colin[pi], pipe a browser directly to a screen (stats, showcase, that sort of thing)
339: [23:01:24] <ss23> simon_w: WHAT
340: [23:01:25] <ss23> :(
341: [23:01:35] <Colin[pi]> simon_w: list of pr0n that ss23 is visiting real time
342: [23:01:36] <simon_w> ss23, WRITE SOME DOCS
343: [23:01:37] <ss23> yeah
344: [23:01:39] <ss23> XD
345: [23:01:41] <ss23> simon_w: NO U
346: [23:01:49] <ss23> I'm picking my new computer
347: [23:01:53] <ss23> I figure, a mac costs 1.5k
348: [23:01:56] <ss23> so I can pick a 1.5k PC
349: [23:01:56] <ss23> :D
350: [23:02:07] <simon_w> 1.5k? You looking at a shit one?
351: [23:02:35] <ss23> Shitty mac? Oh, they all are
352: [23:02:36] <ss23> ^.^
353: [23:03:04] <simon_w> Just cause you don't know to click
354: [23:03:06] <SphereSilverNL> You want a PC for 1.5k?
355: [23:03:16] * SphereSilverNL looks at Anouska
356: [23:03:25] <ss23> QQ
357: [23:03:31] <simon_w> ss23, build it yourself! Save like $5!
358: [23:03:32] <SphereSilverNL> **He's just ignorant baby, he's just ignorant**
359: [23:03:44] <ss23> simon_w: I am picking the parts
360: [23:03:45] <ss23> :P
361: [23:03:45] <Colin[pi]> My last PC was like $1,200 worth of parts and it
362: [23:03:45] <Colin[pi]> still is kickarse
363: [23:03:50] <SphereSilverNL> (Anouska is my PC, by the way)
364: [23:04:00] <SphereSilverNL> I sound like a creep now :/
365: [23:04:12] <ss23> XD
366: [23:05:30] <Colin[pi]> <SphereSilverNL> I sound like a creep now :/ -- now?
367: [23:05:34] <Colin[pi]> ;)
368: [23:05:48] <SphereSilverNL> Thank you. As if I wasn't depressed and lonely already :'(
369: [23:05:55] <simon_w> Bah, stupid designers did all the assets in this thing as layer masks
370: [23:06:02] <Colin[pi]> ;D
371: [23:06:10] <simon_w> So much effort to copy into a PNG
372: [23:06:26] <SphereSilverNL> simon_w: After all these years, you still didn't figure out designers are idiots?
373: [23:06:33] <SphereSilverNL> No, they're not idiots!
374: [23:06:39] <SphereSilverNL> Designers are not idiots!
375: [23:06:47] <SphereSilverNL> Because I don't want to insult any idiot.
376: [23:07:38] <Colin[pi]> I worked with a designer who would save the source from the live site, edit the HTML, and reupload the file via FTP :(
377: [23:07:44] <Colin[pi]> many, many times
378: [23:07:47] <Colin[pi]> I wanted to stab him
379: [23:08:47] <Colin[pi]> iCloud control panel wtf are you doing... sigh, apple stuff on PC is such shit
380: [23:10:04] * lerni1 quit (Quit: lerni1)
381: [23:10:04] <SphereSilverNL> Colin[pi]: I did the same once.
382: [23:10:13] * lerni has joined #silverstripe
383: [23:10:45] <Colin[pi]> :o
384: [23:10:51] <SphereSilverNL> After that, he used my SVN repo, and nowadays uses my git repo
385: [23:12:08] <SphereSilverNL> And I did not even have to use a bat, or a steel pipe.
386: [23:12:39] <SphereSilverNL> (I might have somewhat bought him a new computer though, but ehm, thats not the question, right?)
387: [23:17:17] <ss23> Is there a 404 check for external links in SilverStripe?
388: [23:17:26] <ss23> Could be done by just running through every link checking for a 404 response code etc
389: [23:18:02] <SphereSilverNL> get_headers('http://yoururlhere');
390: [23:18:24] <SphereSilverNL> yeah, running through every link, that's a speed factor I'd guess
391: [23:18:28] <ss23> Uh
392: [23:18:28] <ss23> I mean
393: [23:18:34] <ss23> Is there a report for it, for users, at the moment
394: [23:18:40] <ss23> I know I could write one, but wondering if an existing one
395: [23:18:49] <SphereSilverNL> I see a challenge
396: [23:18:53] <ss23> lol
397: [23:18:57] <ss23> It's not a challenge, I just want a yes or no
398: [23:18:58] <ss23> :(
399: [23:19:00] <ss23> I presume it's a no
400: [23:19:19] <guzzlefry> yay
401: [23:19:31] <guzzlefry> ss23: Turns out shared hosting broke that website from yesterday. :P
402: [23:19:38] <ss23> lol, do you know how?
403: [23:19:42] <guzzlefry> no clue
404: [23:19:45] <ss23> Cause I hate it when hosts change shit without checking
405: [23:19:59] <ss23> They just were like "LOL SORRY, FIXED"?
406: [23:20:05] * camfindlay has left #silverstripe
407: [23:20:43] <guzzlefry> For some reason we had the customer call them.
408: [23:21:00] <guzzlefry> I guess because it's their account and they insisted upon using shared hosting? :P
409: [23:21:57] <ss23> ah kk
410: [23:22:47] <SphereSilverNL> Ahhhhhh, the "it's broken go fix but I didn't do it" situation
411: [23:23:11] <ss23> I swear, at least half of my emails are akward as fuck phrasing
412: [23:23:12] <ss23> :(
413: [23:23:23] <guzzlefry> The ones you write or receive?
414: [23:23:30] <SphereSilverNL> You've never received an e-mail from me than
415: [23:23:39] <ss23> guzzlefry: The ones I write!
416: [23:23:39] <ss23> :P
417: [23:23:47] <guzzlefry> oh, mine are like that.
418: [23:24:05] <guzzlefry> I'm very redundant in my word usage.
419: [23:24:07] <ss23> The ones I recieve are generally good. They're either good, or they're like... idk, written by monkeys or something. I presume the people are just busy/lazy, but I never get mediocre emails
420: [23:24:11] <SphereSilverNL> My e-mails are more like "Insulting" than "awkward"
421: [23:24:21] <ss23> I get either good nice emails (people that know how to talk) and people that seem tech illeterate and weird
422: [23:25:21] <SphereSilverNL> You've never received or send emails like this?
423: [23:26:04] <SphereSilverNL> *YOU MUST FIX THIS OR I WILL BE ANGRY*. Please, *FOLLOW THE GIVEN DESIGN*. All is *CLEARLY IN THE DESIGN. IT MUST BE PIXEL PERFECT*
424: [23:26:09] <ss23> lol
425: [23:26:10] <ss23> Never
426: [23:26:16] <SphereSilverNL> Really?
427: [23:26:22] <SphereSilverNL> Wanna swap customers?
428: [23:26:36] <ss23> Aha, after that admission? No thanks ;)
429: [23:26:41] <ss23> Advantages of working with big clients
430: [23:26:44] <ss23> I get stupid people though
431: [23:26:56] <ss23> A certain government department has people that... don't have a clue
432: [23:26:58] <SphereSilverNL> Where do I state it's a small client ;)
433: [23:27:14] <ss23> SphereSilverNL: Well, in my experience, smaller ones are normally more stupid etc :P
434: [23:27:18] <ss23> Always horrific to get an email
435: [23:27:25] <ss23> "WE DON'T USE VIRTUAL SERVERS, WE USE VMWARE!!!!!"
436: [23:27:49] * DigNZ quit (Quit: DigNZ)
437: [23:27:55] <SphereSilverNL> This was a government thingy ;) Dutch government, I admit, that's "small"
438: [23:28:05] <ss23> ahhh
439: [23:28:09] <SphereSilverNL> I kinda send the person this e-mail:
440: [23:28:12] <ss23> The government people I work with are generally professional about it
441: [23:28:23] * DigNZ has joined #silverstripe
442: [23:29:09] <SphereSilverNL> "I ALSO LIKE TO SHIT EXACTLY IN THE CENTER OF MY TOILET" Now, please, be nice, or get lost in the north sea. Thank you and goodbye. This is the last job I take from you.
443: [23:29:29] <guzzlefry> :P
444: [23:29:37] <SphereSilverNL> I haven't heard from her again ever since.
445: [23:29:46] <guzzlefry> wait
446: [23:29:50] <guzzlefry> did you actually reply with that?
447: [23:29:52] <SphereSilverNL> I don't know why, but I'm happy about it.
448: [23:30:07] <SphereSilverNL> guzzlefry: yes, I copy-pasted it
449: [23:30:14] <guzzlefry> hah
450: [23:30:16] <ss23> lol
451: [23:30:29] <ss23> If anyone ever spoke like that to me, I would fucking lose them as a client
452: [23:30:32] <ss23> Like
453: [23:30:35] <UncleCheese> GridField gurus..
454: [23:30:37] <ss23> Aint worth putting up with that shit
455: [23:30:47] <ss23> subsites? :)
456: [23:31:06] <UncleCheese> let's say you wanted to number each row in the grid
457: [23:31:07] <SphereSilverNL> I know, I know, it's bad for client relations, but I'm not "just a monkey that codes stuff"
458: [23:31:17] <UncleCheese> not ID, but a serial list
459: [23:31:17] <Colin[pi]> one thing I've learned is that if a client comes to you with a project, find out HOW MANY developers they have used already to try and do the project
460: [23:31:22] <UncleCheese> possible?
461: [23:31:27] <SphereSilverNL> UncleCheese: How about casting?
462: [23:31:30] <UncleCheese> hmm
463: [23:31:34] <UncleCheese> i'm listening
464: [23:31:45] <SphereSilverNL> Give the object a casting = $row +1
465: [23:31:58] <UncleCheese> where does $row come from?
466: [23:32:04] <SphereSilverNL> Or, probably better be wrapped in a function
467: [23:32:09] <UncleCheese> i think the record is SS_List agnostic, so to speak
468: [23:32:23] <UncleCheese> for instance, $Pos doesn't work
469: [23:32:26] <SphereSilverNL> I'm just randomly pondering along ;)
470: [23:32:37] <UncleCheese> yeah, that's what i've been doing for a while
471: [23:32:44] <SphereSilverNL> but something else than $Pos has to be there, since it's an iteration
472: [23:33:14] <UncleCheese> other issue is making it page agnostic
473: [23:33:19] <UncleCheese> so that page two starts with 11
474: [23:33:24] <SphereSilverNL> thus, function getCasting($position){ $this->Casting->position = $position + 1; }
475: [23:33:36] <UncleCheese> is getCasting part of the api?
476: [23:33:37] <SphereSilverNL> should work in theory ;) (again, a bad thought-out theory ;) )
477: [23:34:01] <UncleCheese> if only simon_w were here
478: [23:34:13] <SphereSilverNL> Casting is, so.... $this->extend('Casting', $array) should be too.... I think
479: [23:34:14] <UncleCheese> but alas, he's off to Oz, and we'll never hear from him again
480: [23:34:24] <SphereSilverNL> I admit, these are random thoughts ;)
481: [23:34:26] <UncleCheese> i didn't think it was a method
482: [23:34:32] <UncleCheese> but that's cool if it's true
483: [23:34:55] <SphereSilverNL> It should work anyway, since the extend always calls the userMethod, right?
484: [23:35:20] <UncleCheese> where are you calling extend('casting')?
485: [23:35:26] <UncleCheese> hypothetically, that is
486: [23:35:50] <SphereSilverNL> getCasting() function would seem to be the most obvious one?
487: [23:36:06] <UncleCheese> cool.. i'll look through the ViewableData api
488: [23:36:18] <SphereSilverNL> extend is not linked to the actual functionname, as far as I know
489: [23:36:22] <UncleCheese> i think with GridField there's just too many cooks in the kitchen, as it were
490: [23:36:47] <SphereSilverNL> you can make a function thisIsJustStupid(){}, and at last call $this->extend('URLSegment');
491: [23:36:56] <SphereSilverNL> And it should, in theory, still work.
492: [23:37:24] <UncleCheese> right, right
493: [23:37:37] <UncleCheese> if the method is defined, it gets called. otherwise, TS
494: [23:37:47] <SphereSilverNL> exactly
495: [23:38:00] * abitran quit (Ping timeout: 245 seconds)
496: [23:38:38] * abitran has joined #silverstripe
497: [23:38:53] <SphereSilverNL> So, I can't imagine, any method not existing, unless you're really trying to accompish to build a deLorean out of garbage
498: [23:39:09] <SphereSilverNL> (Yes, I just watched BTF 1)
499: [23:40:55] * ss23 cries
500: [23:41:03] <ss23> finding a graphics card with 2+ display ports is damn near impossible
501: [23:41:04] <ss23> ;_;
502: [23:41:55] <Colin[pi]> ss23: um, most have like 3 now if you count hdmi
503: [23:42:44] <ss23> I don't
504: [23:42:48] <ss23> like
505: [23:42:48] <ss23> blargh
506: [23:42:52] <ss23> I just want to have 3 monitors
507: [23:42:55] <ss23> my god is that a lot to ask for
508: [23:43:01] <ss23> some shit still has VGA
509: [23:43:05] <ss23> other has like, mini HDMI
510: [23:43:06] <simon_w> One a cheap-end card? Yes.
511: [23:43:12] <Colin[pi]> dude I have like an old GTX 560, it has 2 x DVI and 1 x HDMI ?
512: [23:43:13] <simon_w> *on
513: [23:43:20] <ss23> I WOULD PREFER NOT HDMI
514: [23:43:36] <guzzlefry> HDMI does weird scaling crap for me. :/
515: [23:43:39] <Colin[pi]> ur gonna have to use hdmi ;P
516: [23:43:49] <Colin[pi]> to a monitor?
517: [23:44:04] * lerni quit (Quit: lerni)
518: [23:44:10] <Colin[pi]> HDMI will sometimes do weird scaling to a TV, but to a monitor it should be no different
519: [23:44:21] <Colin[pi]> HDMI is basically DVI, but with audio capability
520: [23:44:25] <simon_w> TVs are what do the weird scaling
521: [23:44:40] <guzzlefry> displays pixels 1:1 with the monitor, so if I play a game at a resolution lower than 1080P I get black borders.
522: [23:44:53] <guzzlefry> Well, come games do use GPU scaling, but a lot won't...
523: [23:44:57] <guzzlefry> s/come/some
524: [23:45:28] <ss23> Pretty sure that's GPU dependant
525: [23:45:34] <ss23> Normally can tweak it
526: [23:45:43] <guzzlefry> I did.
527: [23:45:53] <guzzlefry> It's only working for probably half of my games. :P
528: [23:46:07] <guzzlefry> Maybe I need to do this upscale thing in the monitor's menu...
529: [23:46:30] <SphereSilverNL> ss23, would 6 monitors be good enough?
530: [23:46:45] <Colin[pi]> pfft only six
531: [23:47:29] <SphereSilverNL> And you have.......?
532: [23:47:38] <ss23> I'm happy with 3
533: [23:48:02] <guzzlefry> http://www.dreamerswanted.com/portfolio/go-l/monitors/athens/features/index.htm remember this?
534: [23:48:54] * elementz quit (Ping timeout: 272 seconds)
535: [23:49:31] <ss23> nope, but looks cool
536: [23:49:32] <ss23> :O
537: [23:49:33] <SphereSilverNL> That was 1995!
538: [23:49:35] <ss23> Getting http://accessories.ap.dell.com/sna/productdetail.aspx?sku=391-bbnc&c=nz&l=en&cs=nzdhs1
539: [23:49:45] <SphereSilverNL> Ok, I didn't have that in 1995 actually :(
540: [23:52:08] <SphereSilverNL> This is actually a good read: http://www.hanselman.com/blog/ACoderAProgrammerAHackerADeveloperAndAComputerScientistWalkIntoAVennDiagram.aspx
541: [23:52:51] <Colin[pi]> btw one of my movie drives died :( at least I can download them again
542: [23:53:14] <SphereSilverNL> CrashPlan ;)
543: [23:53:17] <ss23> What is "programs DVR"?
544: [23:53:27] <SphereSilverNL> I fell in love with their powers recently
545: [23:53:37] <ss23> Colin[pi]: I'm nipping to a store after work to buy some new HDDs and run home, hopefully before the rest of the raid fails
546: [23:54:01] <SphereSilverNL> "Programs DVR" means "Someone that sets up the DVR and makes sure everybody can find their fav. channel"
547: [23:54:09] <ss23> oic
548: [23:54:27] <SphereSilverNL> ss23: Get SSD's
549: [23:54:42] <ss23> I have SSDs, but there aint be no way I putting 8TB worth of media on SSDs
550: [23:54:45] <ss23> not unless you're paying for it.
551: [23:55:11] <SphereSilverNL> Send me half of the bill and I can see what I can do
552: [23:56:02] <SphereSilverNL> :p
553: [23:56:20] <ss23> lol
554: [23:56:30] <SphereSilverNL> Ow crap, I got 5K of bills coming my way, don't I?
555: [23:57:15] <SphereSilverNL> Ok, in more serious words, SSD isn't that expensive anymore. And why do you keep old downloads that just sit there?
556: [23:57:24] <ss23> To watch them? o.o
557: [23:57:26] <ss23> Why do you do anything
558: [23:57:38] <SphereSilverNL> I can stream them just fine :)
559: [23:57:47] <Colin[pi]> aye, I have about 290 movies on four external 2TB drives
560: [23:57:59] <Colin[pi]> actually 2 of them are movies, the rest is other stuff
561: [23:58:01] <SphereSilverNL> and you're planning on watching them all?
562: [23:58:09] <Colin[pi]> just planning on keeping a library
563: [23:58:18] <Colin[pi]> some I haven't watched, most I have ;)
564: [23:58:34] <SphereSilverNL> Even a Librarian cleans up once in a while ;)
565: [23:58:48] <Colin[pi]> well one of the drives shit itself so that has forced my hand lol
566: [23:58:59] <SphereSilverNL> re-downloading takes about.... well... 10 minutes?
567: [23:59:05] <Colin[pi]> WD green.. grumble grumble
568: [23:59:11] <SphereSilverNL> Why would you save everything?
569: [23:59:16] <Colin[pi]> for 110 or so HD movies?
570: [23:59:30] <Colin[pi]> in 10 minutes? can I have your internet pls?
571: [23:59:56] <SphereSilverNL> 110 movies, means roughly 2000 hours of movie.... why?

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