#silverstripe IRC Log

IRC log for 30 April 2014

All timestamps are in UTC.

1: [00:00:04] <Pyromanik> to the point where intel sued them because apple tried to claim it was theirs.
2: [00:00:08] <desperate> Good night folks
3: [00:00:13] <spronk> chow
4: [00:00:15] <spronk> hmm
5: [00:00:15] <Pyromanik> bye
6: [00:00:21] <desperate> thanks for the help today
7: [00:00:23] <spronk> there really aren't any nice ways to get a triple monitor mac setup :/
8: [00:00:24] <desperate> cya tomorrow
9: [00:00:40] <Pyromanik> there really aren't any nice mac setup
10: [00:00:48] <spronk> haha
11: [00:00:52] <spronk> mac laptops are nice
12: [00:01:03] <Pyromanik> sure, form factor and even OS to an extent
13: [00:01:04] <ss23> Help, client wants a chinese translation, and they're like "how about a flag icon they click if they want it translated?
14: [00:01:09] <ss23> BUT THE CHINESE FLAG LOOKS SO SCARY WHAT DO I DO
15: [00:01:10] <ss23> ;_;
16: [00:01:13] <Pyromanik> but mac in general... not so much.
17: [00:01:15] <spronk> COMMUNISMMM
18: [00:01:48] <Pyromanik> it's red with a star, deal with it. It's not like it's a cutting device coupled with something used to crush bone.
19: [00:01:49] <spronk> see you can do a 27" imac, flanked by two 27" via displayprt
20: [00:01:56] <spronk> but then you're stuck with the imac and its inbuilt monitor
21: [00:02:07] <simon_w> spronk, you can daisy chain Thunderbolt displays
22: [00:02:30] <ss23> simon_w: His question was more about how it worked when you were using DisplayPort 1.0 with it, I believe
23: [00:02:31] <Pyromanik> only with new spec... well only _decently_ with new spec.
24: [00:02:42] <Pyromanik> ie, not limited to only 2 chains, or whatever.
25: [00:02:48] * antmas quit (Ping timeout: 240 seconds)
26: [00:02:52] <spronk> yes but who the hell would want to work on a thunderbolt display all day
27: [00:02:56] <Pyromanik> although that limitation was only for monitors... or something
28: [00:03:06] <spronk> maybe if you worked in a darkroom
29: [00:03:15] <Pyromanik> or had some kind of weird stipulation about what had to be on the end of the chain, or something weird like that
30: [00:03:33] <Pyromanik> spronk, why are tbolt displays bad?
31: [00:03:36] <Pyromanik> too dim?
32: [00:03:36] <spronk> i wonder if any non-apple monitors support daisy chainnig..
33: [00:03:44] <Pyromanik> unlikely :<
34: [00:03:46] <spronk> Pyromanik: too reflective
35: [00:04:02] <Pyromanik> spronk, well that's the finish, nothing to do with tbolt :P
36: [00:04:03] <spronk> in lighter rooms they're like fucking mirrors
37: [00:04:16] <Pyromanik> spronk, so are any mac screen.
38: [00:04:23] <Pyromanik> ah fuck it's 1am
39: [00:04:26] <Pyromanik> g'nite.
40: [00:04:29] <spronk> haha
41: [00:04:29] <spronk> chow
42: [00:05:08] <Pyromanik> ps. what spronk said about cygwin Stomach, it's a shit.
43: [00:05:14] * Pyromanik quit (Quit: HydraIRC -> http://www.hydrairc.com <- \o/)
44: [00:05:48] <ss23> At the least, get a VM
45: [00:05:52] <ss23> I run Windows too, I just run VMs
46: [00:06:54] <jordanmk> hey guys
47: [00:07:44] <jordanmk> i'm working on a SilverStripe 2.4 site, trying to add a new field to the Site Config. this has already been done and is working, i'm just trying to add a new one to the existing list of additional Site Config fields
48: [00:07:45] <spronk> ss23: how do you solve the file sharing problem?
49: [00:08:26] <ss23> What is "the file sharing problem"?
50: [00:08:37] <spronk> HOW TO ARE MAKE FIEL BETWEEN WINDOW AND VM!?
51: [00:09:21] <spronk> hmm, a retina mbp would be alright
52: [00:09:24] <jordanmk> but when i add the new field to the extrastatistics array: function extraStatics() { return array('db' => array( ... new field in here ... ))}, and then try to visit the admin page (or do a /dev/build?flush=all), i just get an error page
53: [00:09:40] <jordanmk> which says [Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid column name 'GenericDonateText'.
54: [00:10:40] <jordanmk> GenericDonateText being the new 'Text' field i'm trying to add to the SiteConfig
55: [00:11:17] <jordanmk> can't figure out why this new one i'm trying to add won't work, when it seems identical to the exiting ones added by a previous developer
56: [00:13:36] <simon_w> jordanmk, try doing a dev/build while logged out
57: [00:16:16] * antmas has joined #silverstripe
58: [00:17:00] * Error404NotFound quit (Ping timeout: 276 seconds)
59: [00:18:52] <jordanmk> simon_w, still has the same issue
60: [00:19:19] <simon_w> jordanmk, and you are in dev mode?
61: [00:19:23] <antmas> wholey shit it's past 12
62: [00:19:31] <jordanmk> it seems that as soon as i add my GenericDonateText field to the 'db' array, every page (even just the site root) just shows this same error
63: [00:19:37] <jordanmk> i think so?
64: [00:19:45] <simon_w> antmas, nah bro, it's only 1019
65: [00:20:02] <simon_w> jordanmk, well, do you get the error showing up in the browser or just the error log?
66: [00:20:05] <jordanmk> the _config has Director::set_environment_type('dev');
67: [00:20:17] <jordanmk> it's showing up in the browser
68: [00:20:23] <antmas> simon_w: you're living in the past homie
69: [00:20:33] <simon_w> Hmm, directly accessing dev/build shouldn't try to poke SiteConfig
70: [00:20:43] <simon_w> jordanmk, can you pastie the stack trace?
71: [00:20:48] <jordanmk> http://puu.sh/8sSZx.png
72: [00:21:06] <jordanmk> how do i get the stack trace?
73: [00:21:25] <simon_w> It's on the bottom of the error
74: [00:21:43] <jordanmk> http://pastebin.com/2NbyXKsL
75: [00:22:18] <jordanmk> that's the stack trace for when i try to visit /dev/build while logged out
76: [00:23:26] <simon_w> Okay, if you temporarily edit MobileSiteControllerExtension and comment out the onAfterInit method, then run dev/build, then uncomment it
77: [00:28:47] <Colin[pi]> guys, is a form that loads an order into the session using only an order ID and email address a bad idea?
78: [00:28:55] <Colin[pi]> do I need something more?
79: [00:31:05] <simon_w> Non-sequential order IDs
80: [00:31:22] <Colin[pi]> no sequential
81: [00:31:26] <Colin[pi]> bad idea?
82: [00:31:41] <simon_w> Well, sequential means people can guess what the order IDs are
83: [00:32:36] <ss23> OrderIDs aren't great to expose ever, since they leak data about your business
84: [00:33:03] <ss23> When I used to work at a place that sold shit, they would buy things from competitors on a regular basis and look at ORderIDs to estimate their sales volume etc
85: [00:33:27] <simon_w> That's another reason for non-sequential IDs
86: [00:34:18] <Colin[pi]> hmm... well I have them starting from some arbitrary number
87: [00:34:24] <Colin[pi]> but they will be auto incremented
88: [00:34:35] * jenniferaslan quit (Remote host closed the connection)
89: [00:35:20] <simon_w> https://gist.github.com/simonwelsh/4c32066c05fdc54b3c64 is how we expose our IDs in public URLs
90: [00:35:30] * Error404NotFound has joined #silverstripe
91: [00:35:43] <simon_w> the replacements get rid of 0/1/I/O
92: [00:36:13] * chrisrio has joined #silverstripe
93: [00:36:17] <ss23> Good idea
94: [00:36:26] <ss23> We did random identifiers, but the replacements thing is good
95: [00:36:58] <simon_w> Yeah, I could've gone with random just as easily
96: [00:37:18] <simon_w> So long as it's unique and non-sequential
97: [00:37:18] * desperate quit (Ping timeout: 240 seconds)
98: [00:37:20] <Colin[pi]> hmm
99: [00:37:41] <simon_w> And not entirely obvious how it's generated
100: [00:37:51] <simon_w> So, don't just use md5($this->ID)
101: [00:38:31] <ss23> lol
102: [00:38:35] <Colin[pi]> lol no
103: [00:38:44] <ss23> Apart from you just told us, simon_w, muahaha
104: [00:38:45] <Colin[pi]> dat reverse hash
105: [00:38:50] * ss23 leaks to all of simon_w's competitors!
106: [00:39:27] <simon_w> You're assuming I didn't change the name of the hash we're using :p
107: [00:39:34] <ss23> I am!
108: [00:39:46] <ss23> But it's easy to check! Assuming I... you know, ordered something
109: [00:39:47] <ss23> :P
110: [00:40:22] <simon_w> And that we don't do weird funky things with the replacements :p
111: [00:40:51] <simon_w> (Which we do, because people are stupid)
112: [00:43:10] <jordanmk> simon_w, that seems to have worked, thanks!
113: [00:50:59] <antmas> lol
114: [00:51:17] <antmas> deleted 40k emails from gmail and gained 1% space back!
115: [00:51:19] <antmas> hooray
116: [00:52:07] <ss23> Why would you ever delete emails from gmail? o.o
117: [00:52:45] * chrisrio quit (Quit: Page closed)
118: [00:52:55] <Colin[pi]> yeah, it's not like they're actually deleted, amirite google?
119: [00:53:55] <antmas> ss23: spam
120: [00:54:09] <antmas> lots of linkdin crap and youtube things
121: [00:54:10] <antmas> etc
122: [00:54:46] * KenSander has joined #silverstripe
123: [00:54:58] <Colin[pi]> fuck I hate email
124: [00:55:04] <Colin[pi]> it needs to like, stop, now
125: [00:55:10] <Colin[pi]> like, kill it with fire
126: [00:55:14] <spronk> hmm
127: [00:55:26] <spronk> anyone ever seen the error "not found" when saving something in a custom siteconfig ?
128: [00:56:31] * Motoservo quit (Read error: Connection reset by peer)
129: [00:56:48] * Motoservo has joined #silverstripe
130: [00:56:52] <Colin[pi]> spronk: don't think so, anything weird in logs?
131: [00:57:03] * UncleCheese quit (Quit: UncleCheese)
132: [00:58:30] <KenSander> Is it not possible to use a GridField with a has_one relationship? New to this and can't get it working and searching seems to point to this but I want to be clear first
133: [00:58:38] <spronk> its just a 404 error coming back :/
134: [00:58:47] <KenSander> Is that why this module exists? https://github.com/simonwelsh/silverstripe-GridFieldRelationHandler
135: [00:59:07] <Colin[pi]> spronk: sounds like its something to do with the controller
136: [00:59:32] <spronk> mm..
137: [00:59:35] <unsignedint> KenSander: thats a common question and no there isnt (not in core anyway)
138: [00:59:53] <unsignedint> KenSander: simon_w has made a module called hasoneedit, let me find it
139: [01:00:20] <KenSander> Thanks! That makes a lot more sense. Was starting to go mad and just stumbled on some old forum posts mentioning it
140: [01:00:34] <unsignedint> KenSander: http://svn.simon.geek.nz/hasoneedit/trunk/
141: [01:00:46] <unsignedint> also https://packagist.org/packages/simonwelsh/hasoneedit
142: [01:02:07] <KenSander> Perfect! Thanks. Before I go read up, what is the difference between that one and the one I linked?
143: [01:02:16] <unsignedint> no idea sorry :)
144: [01:02:19] <unsignedint> id try both
145: [01:02:39] <KenSander> No worries. Will do. Appreciate it
146: [01:02:43] <unsignedint> as far as I can tell, GridField is meant for managing tables of data. There is no good solution in core for editing a single dataobject unfortunately
147: [01:02:54] <unsignedint> unless you count ModelAdmin but that cant be used from a Page
148: [01:03:07] <simon_w> KenSander, GridFieldRelationHandler is for managing a has_one using a GridField (allowing you to both select, create and edit) whereas hasoneedit is for editing a has_one's fields directly in the parent object's CMS edit thingy
149: [01:05:37] <KenSander> Thanks for the explanation. I'll need the relationhandler module then as that's the exact functionality I'm after. Simple case but only needs a has_one relationship so was causing issues
150: [01:11:12] * UncleCheese_ has joined #silverstripe
151: [01:13:43] <antmas> hmmm
152: [01:13:47] <antmas> not keen on the new Firefox look
153: [01:14:58] * antmas quit (Quit: Page closed)
154: [01:17:16] * antmas has joined #silverstripe
155: [01:17:17] <antmas> looks a lot like the mobile version
156: [01:17:18] <spronk> yeah..
157: [01:17:31] <Colin[pi]> antmas: looks like chrome
158: [01:18:03] <antmas> Colin[pi]: IKR
159: [01:18:21] <Colin[pi]> any speed improvements?
160: [01:18:25] <Colin[pi]> oh wait, it's firefox
161: [01:18:26] <Colin[pi]> ;)
162: [01:19:37] <antmas> I never notice it being slow
163: [01:19:57] <spronk> haha
164: [01:20:00] <spronk> firefox is dog slow
165: [01:20:13] <simon_w> Kinda like Chrome when you get past something like 10 tabs
166: [01:20:14] <antmas> I find it faster then chrome
167: [01:20:16] <antmas> than*
168: [01:20:23] <spronk> chrome is dog slow too when you push it
169: [01:20:27] <Colin[pi]> hmm I do have 20 tabs open
170: [01:20:46] <spronk> oldschool opera is about the only browser that doesn't slow down significantly after leaving it open for months at a time
171: [01:20:47] <antmas> I never have more than 5-6 open
172: [01:20:57] <Colin[pi]> antmas: my record is about 78
173: [01:21:14] <Colin[pi]> "why is my browser so slo.... OH"
174: [01:21:36] <antmas> Safari is slow at around 4 tabs for me
175: [01:21:56] <simon_w> Safari's the only one I've found useable with way too many tabs open
176: [01:22:27] <simon_w> Caitlin may be sticking with Safari for that very reason
177: [01:22:32] <antmas> simon_w: Opera is much better for crazy tab numbers
178: [01:22:48] <simon_w> antmas, even now that it's Chrome?
179: [01:23:00] <antmas> yeah
180: [01:23:13] * KenSander quit (Quit: Page closed)
181: [01:23:41] <spronk> hmm
182: [01:23:46] <spronk> i find new opera is a bit better than chrome in that regard
183: [01:23:46] <spronk> but
184: [01:23:51] <spronk> nowhere near as good as o12
185: [01:23:57] <antmas> o12 was tits
186: [01:24:03] * spronk is using it right now
187: [01:24:17] <simon_w> In the sense that tits are awesome?
188: [01:24:30] <antmas> tits are never not awesome
189: [01:24:35] <antmas> except men's tits
190: [01:24:56] <spronk> speak for yourself
191: [01:24:58] <spronk> my man tits are awesome
192: [01:25:15] <Colin[pi]> spronk: what cup size are you?
193: [01:25:28] <spronk> AAAA BRAU
194: [01:25:33] <antmas> spronk: do they bring ALL the boiz to the yard?
195: [01:25:45] <spronk> my milkshake does.
196: [01:29:08] * jedateach has joined #silverstripe
197: [01:31:17] <Ryan-Toast> spronk: all these boys in my yard.
198: [01:31:28] <spronk> OOH YEAH ROBO BOOGIE
199: [01:31:39] <spronk> why the fuck
200: [01:31:42] <spronk> do i get a 404
201: [01:31:44] <spronk> but not on my dev site..
202: [01:31:45] <Ryan-Toast> spronk: The humans are dead?
203: [01:33:11] <spronk> poisonous gasses etc
204: [01:33:37] <Ryan-Toast> Love that song.
205: [01:33:47] <spronk> HI FAIIVE
206: [01:34:24] <spronk> ugh, need an up to date browser that has tab grouping and group collapse..
207: [01:34:27] <antmas> I'd listen to that song
208: [01:34:32] <antmas> IF I HAD HEADPHONES
209: [01:34:36] <antmas> ;___________________________;
210: [01:36:57] * wilsonstaff has joined #silverstripe
211: [01:37:08] <Ryan-Toast> hey, antmas
212: [01:37:26] <Ryan-Toast> psst, antmas
213: [01:37:50] <Ryan-Toast> ...antmas
214: [01:38:13] <antmas> Ryan-Toast: ....yes <.<
215: [01:38:17] <Ryan-Toast> https://i.imgur.com/V6CH7qE.jpg
216: [01:38:29] * antmas cries
217: [01:38:34] <Colin[pi]> Ryan-Toast: dude
218: [01:38:34] <spronk> loool\
219: [01:38:35] <antmas> also
220: [01:38:40] <antmas> holy shit
221: [01:38:41] <antmas> http://www.stuff.co.nz/sport/basketball/9992028/LA-Clippers-owner-banned-for-life-fined
222: [01:38:45] <antmas> OWNED
223: [01:39:04] <Ryan-Toast> ;)
224: [01:39:04] <wilsonstaff> Hi to all, simple question. I have a code snippet that controls a page <% loop Page(thatpage) %>. That page shows an alert message IF client needs it. I want her to be able show or hide this message. I thought that simply hiding page from menu would do it. Not. Any proposal?
225: [01:39:31] <antmas> Ryan-Toast: is that a superdrive?
226: [01:39:59] <Ryan-Toast> wilsonstaff: Add a checkbox to the page “”HIdeMessage” and then have an if statement in the loop.
227: [01:40:07] <Ryan-Toast> antmas: Yeah
228: [01:40:16] <Ryan-Toast> antmas: had to install some windows VMs
229: [01:40:30] <antmas> Ryan-Toast: you could do that with a USB ;)
230: [01:40:33] <antmas> stick*
231: [01:40:54] <Ryan-Toast> antmas: We have all the isks.
232: [01:41:00] <Ryan-Toast> disks, so meh :P
233: [01:41:08] <antmas> Ryan-Toast: wait
234: [01:41:15] <antmas> Ryan-Toast: why do you need an external drive?
235: [01:41:30] <Ryan-Toast> antmas: Newest macs don’t have cd drives.
236: [01:41:43] <antmas> oh snap
237: [01:41:56] <Ryan-Toast> they’re a slim piece of shit now.
238: [01:42:03] <antmas> well that's just shithouse
239: [01:42:17] <Ryan-Toast> Don’t use cds really anymore anyway.
240: [01:42:19] <antmas> "the way of the future".... "is to take away features!"
241: [01:42:34] <Ryan-Toast> can’t remember the last time I used the cd tray in my PC.
242: [01:42:50] <antmas> I have my Skyrim disc in mine from when I first installed it on launch day
243: [01:43:43] <antmas> you actually save boot time if you disconnect it
244: [01:44:21] <wilsonstaff> Ryan-Toast => would you precise? Add a checkbox where?
245: [01:44:33] <Ryan-Toast> wilsonstaff: to the page, or pagetype
246: [01:46:33] * zippy__ has joined #silverstripe
247: [01:46:37] <zippy__> Hello :)
248: [01:46:45] <simon_w> Shh, it's zippy__
249: [01:46:50] <zippy__> fook
250: [01:46:55] <simon_w> ss23, BRING ME LUNCH?
251: [01:47:17] <zippy__> If I have Page which has many Foo, which has many Bar, is there a way on page I can say. $allBar = $this->Foo()->Bar();
252: [01:47:33] <simon_w> zippy__, $this->Foo()->relation('Bar')
253: [01:47:38] <zippy__> ahh
254: [01:47:40] <zippy__> was close
255: [01:47:42] <zippy__> ish
256: [01:48:26] <zippy__> ah look at that, so sexy
257: [01:48:48] <antmas> lol PHP 'sexy'
258: [01:48:54] <antmas> PHP is opposite of sexy
259: [01:49:03] <simon_w> Hack, though, is sexy as whiz
260: [01:49:06] <simon_w> *shiz
261: [01:49:10] <Colin[pi]> php is the antiboner
262: [01:49:13] <simon_w> *shizzle
263: [01:50:30] <zippy__> php is indeed, sexy. https://www.youtube.com/watch?v=S8zhmiS-1kw
264: [01:51:04] <simon_w> Woo, 500 error!
265: [01:51:38] <spronk> lol
266: [01:51:39] <spronk> hack sexy?
267: [01:51:40] <spronk> no way
268: [01:51:52] <spronk> hack is to php as java is to ruby
269: [01:52:02] <antmas> hack is the condom for the antiboner
270: [01:53:22] * Error404NotFound quit (Read error: Connection reset by peer)
271: [01:59:57] <ss23> simon_w: Meanie
272: [02:00:04] <ss23> You avoided getting lunch with me! :(
273: [02:00:11] <ss23> 13:51:53 < spronk> hack is to php as java is to ruby
274: [02:00:12] <ss23> lolwut
275: [02:03:56] <simon_w> ss23, and now I can't be bothered walking over to the kitchen
276: [02:04:35] * Ryan-Toast quit (Quit: Ryan-Toast)
277: [02:12:50] * wilsonstaff quit (Quit: Page closed)
278: [02:15:49] * joelpittet has joined #silverstripe
279: [02:16:57] * wracu has joined #silverstripe
280: [02:17:46] * wracu quit (Client Quit)
281: [02:18:19] * Error404NotFound has joined #silverstripe
282: [02:25:09] * joelpittet quit ()
283: [02:25:57] * wracu has joined #silverstripe
284: [02:26:12] * wracu quit (Client Quit)
285: [02:26:34] * wracu has joined #silverstripe
286: [02:26:48] <wracu> Afternoon
287: [02:28:07] <wracu> I've been tasked with addressing a form that is clearing all data whenever the custom validation is struck (eg. email address exists in DB already).
288: [02:28:29] <wracu> It's using redirectBack() to return to the page, but this doesn't bring any data back into the form
289: [02:28:40] <wracu> tips on how this is done? :S
290: [02:29:11] <simon_w> wracu, actually use a custom Validator subclass rather than doing the handling in your submission handler
291: [02:31:24] <wracu> ah thanks. It looks like its using that for SOME of the validation
292: [02:32:08] <wracu> the validation seems to be in two places (!?) and some of it validates without clearing the form, and some doesnt. I'll look at moving the code to the subclass that seems to be fnuctinoing properly
293: [02:33:01] * Sticks has joined #silverstripe
294: [02:33:27] * babak has joined #silverstripe
295: [02:35:04] * UncleCheese_ quit (Quit: UncleCheese_)
296: [02:36:43] <Sticks> Hi guys, I have a shortcode that returns <dl> and another shortcode that returns </dl>. Since upgrading to SS3.1 the </dl> is being stooged and being placed directly after the opening <dl> on the page instead of after some dds and dts that I put into the content (also with shortcodes). It was fine in 3.0. Any ideas?
297: [02:36:45] * Ryan-Toast has joined #silverstripe
298: [02:37:05] * UncleCheese has joined #silverstripe
299: [02:37:35] <Ryan-Toast> I’m assuming that’s the PHP Anthem song?
300: [02:38:02] <ss23> ?
301: [02:38:13] <Ryan-Toast> zippy__: ^
302: [02:40:19] * muskie9 has joined #silverstripe
303: [02:41:06] <antmas> Ryan-Toast: yeh
304: [02:41:16] <Ryan-Toast> never get sick of that one.
305: [02:41:28] <Ryan-Toast> Though I wish I could change the image.
306: [02:41:42] <Ryan-Toast> such blur
307: [02:42:30] * spronk quit (Ping timeout: 252 seconds)
308: [02:42:46] <ss23> simon_w: did you hack something?
309: [02:42:50] <ss23> https://twitter.com/sminnee/status/461334727706673155
310: [02:43:31] <ss23> okay! Time to take down a site
311: [02:44:28] <simon_w> ss23, her phone's dead and she's got her laptop with her at uni
312: [02:45:16] <simon_w> Also, she doesn't have a fiancee :p
313: [02:45:29] <Ryan-Toast> I do not know how to Twitter.
314: [02:45:54] <ss23> simon_w: What does her phone have to do with a hacker?
315: [02:46:17] <simon_w> ss23, need to get access to her emails somehow to be able to break in
316: [02:48:16] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
317: [02:51:12] <Giganaire> someone's stolen a police radio and is causing havoc
318: [02:51:21] <antmas> Giganaire: haha
319: [02:51:24] <antmas> just heard that too
320: [02:51:36] <Giganaire> lol
321: [02:51:44] * simon_w denies everything!
322: [02:51:52] <Giganaire> RANDOM UNINTELLIGIBLE YELLING
323: [02:56:22] <Giganaire> comms is mad
324: [02:56:24] <ss23> hahahaha Giganaire
325: [02:56:28] <ss23> Link to your stream again?
326: [02:56:35] <ss23> oh got it
327: [02:56:36] <ss23> :D
328: [02:56:48] * zippy___ has joined #silverstripe
329: [02:56:50] <ss23> help I pressed play but it's not playing
330: [02:56:52] * ss23 looks at Giganaire
331: [02:56:58] <zippy___> antmas: how'd you heard it?
332: [02:57:32] * zippy__ quit (Ping timeout: 252 seconds)
333: [02:57:32] * zippy___ is now known as zippy__
334: [02:57:35] <ss23> Giganaire: HELP WHER IS THE YELLING?
335: [02:57:37] <ss23> I HEAR NOTHING
336: [02:57:42] <ss23> Okay they're talking now, but no yelling
337: [02:57:43] <ss23> :(
338: [02:57:48] <Giganaire> ss23: you just missed it
339: [02:57:51] <ss23> ffff
340: [02:57:52] <wracu> using BootstrapForm... when the form is returned with a failed validation, the fields are not populating, HOWEVER, I do see the form data in the POST on that page... Is there a simple way to load it back into the fields?
341: [02:57:54] <zippy__> link?
342: [02:58:01] <Giganaire> ss23: i'm sure there'll be more
343: [02:58:04] <ss23> lol
344: [02:58:09] <ss23> Okay I'll keep listening...
345: [02:58:32] <antmas> zippy__: have the link :D
346: [02:58:42] <zippy__> link for me?
347: [02:58:44] <ss23> I would just say shit like "Righto, 10-4 mate"
348: [02:58:51] <ss23> And they would be like "wait who the fuck is that?"
349: [02:59:01] <ss23> "We got a bit of a code 23 situation over here, comms"
350: [02:59:08] <Giganaire> ss23: thats pretty much what they did on the last transmission
351: [02:59:19] <Giganaire> she dispatched a job and the random was like "ON OUR WAY"
352: [02:59:45] <ss23> hahaha
353: [03:00:00] <zippy__> someone gimme the lliinnkkk
354: [03:00:17] <ss23> zippy__: Nothing is happening now
355: [03:00:17] <ss23> :(
356: [03:00:30] <zippy__> hokey...
357: [03:00:58] <antmas> 10-4 rubber ducky
358: [03:01:02] <ss23> XD
359: [03:01:36] <ss23> "John Smith"...
360: [03:01:38] <ss23> What a generic name
361: [03:02:00] <Giganaire> sounds awfully like someone giving false details
362: [03:02:11] <ss23> mm
363: [03:02:13] <ss23> Was thiking that
364: [03:02:22] <ss23> Oh look, "we can't find him in the system"
365: [03:02:25] <ss23> that was what she said, right?
366: [03:02:47] <Giganaire> yeah HLP said "i can't find him, can you?" and she said "noooo"
367: [03:02:58] <ss23> perfect btw
368: [03:03:00] <ss23> she did say "nooo"
369: [03:03:05] <ss23> not "no", she was like "nooo"
370: [03:03:06] <ss23> lol
371: [03:03:15] <Giganaire> exactly :P
372: [03:03:52] <Giganaire> they're doing a booze checkpoint
373: [03:04:11] <antmas> it will be code for "Richard Williams....... Hokenawaiwaite
374: [03:04:24] <Giganaire> which is basically a cover for catching people breaching their license or having expired wof/rego
375: [03:04:29] <Giganaire> at this time of day
376: [03:04:35] <ss23> lol
377: [03:05:19] <Giganaire> 8am they catch a lot of people who are still over the limit from the night before, but catching an EBA at 3pm is quite an achievement
378: [03:05:22] <ss23> hmm
379: [03:05:30] <ss23> You could be a lot more malicious if you stole a scanner
380: [03:05:40] * spronk has joined #silverstripe
381: [03:05:43] <ss23> "Comms, 10-10, 10-10, officer down"
382: [03:05:48] <Giganaire> ss23: quite
383: [03:06:03] <Giganaire> there's some hefty punishment for that shit
384: [03:06:48] <ss23> mm, would hope so
385: [03:07:07] <antmas> but think of the trolling
386: [03:07:14] <antmas> would be pretty amazing
387: [03:08:05] * Motoservo quit (Read error: Connection reset by peer)
388: [03:08:10] * Motoservo_ has joined #silverstripe
389: [03:08:18] * zippy__ quit (Ping timeout: 240 seconds)
390: [03:08:30] <Giganaire> i did security at Parachute one year
391: [03:08:38] <Giganaire> someone stole one of our radios and was calling in fake jobs
392: [03:08:57] <Giganaire> "large fight at B6" etc
393: [03:09:22] <Giganaire> turned out mystery creek (whose radios they were) could triangulate position
394: [03:09:42] <Giganaire> i'm assuming police will also be working on that now
395: [03:09:49] <Giganaire> hence the more they transmit the better for police
396: [03:09:54] <ss23> mm
397: [03:10:08] <ss23> I would only tramsmit for short periods on an irregular basis from random locations
398: [03:10:58] <Ryan-Toast> I’ve listened to the same song over and over all day. I don’t know how I feel about that.
399: [03:11:05] <Giganaire> most likely it's someone in a women's refuge shelter, as it's one of their radios that's missing
400: [03:11:37] <ss23> Why would someone there fuck with police?
401: [03:11:44] <ss23> Ryan-Toast: MINNNAAA
402: [03:11:50] <Giganaire> ss23: 1M
403: [03:11:55] <antmas> ss23: some of those woman are fucken hella crazy
404: [03:11:55] <Ryan-Toast> ss23: mina?
405: [03:11:58] <ss23> Ryan-Toast: https://www.youtube.com/watch?v=AyHJpHqI5uY
406: [03:12:00] <antmas> I'm no surprised
407: [03:12:41] <Ryan-Toast> ss23: amazing
408: [03:13:06] <ss23> Just wait
409: [03:13:16] <ss23> https://www.youtube.com/watch?v=0lGJlKH9Zjc
410: [03:13:17] <ss23> :D
411: [03:13:18] <Ryan-Toast> ss23: wait until a few hours in?
412: [03:13:42] <ss23> yukiri shitte itte ne~
413: [03:13:44] <Ryan-Toast> :D
414: [03:13:56] <ss23> iirc there's one with more than 300 too
415: [03:14:09] <Giganaire> some women are just plain batshit: https://dl.dropboxusercontent.com/u/4618071/razorblades.mp3
416: [03:15:05] <ss23> ...
417: [03:15:09] <antmas> I remember that
418: [03:15:10] <Ryan-Toast> ugh, have to restart computer.
419: [03:15:11] <antmas> :D
420: [03:15:12] <ss23> I can hear sound for my headphones
421: [03:15:16] <ss23> When Windows is set to 0 volume
422: [03:15:22] <ss23> How... how is this possible
423: [03:15:26] * Ryan-Toast quit (Quit: Ryan-Toast)
424: [03:15:29] <ss23> like
425: [03:15:32] <antmas> ss23: voices?
426: [03:15:32] <ss23> What kind of possible bug is tehre
427: [03:15:36] <ss23> Are they storing 0 as a float?!
428: [03:15:37] <simon_w> ss23, windows.
429: [03:15:42] <Giganaire> ss23: probably
430: [03:15:44] <ss23> antmas: No, the music I just turned down
431: [03:15:44] <Giganaire> i have the same thing
432: [03:15:46] <ss23> Fucking Windows :/
433: [03:15:55] <Giganaire> my keyboard is massively OP with volume
434: [03:16:00] <antmas> you could always get a mac
435: [03:16:07] <antmas> and have DOTS AS A VOLUME SCALE
436: [03:16:12] <ss23> XD
437: [03:16:23] <Giganaire> so the viable volume for my headphones is between 0-10%
438: [03:16:26] * cloph_away has joined #silverstripe
439: [03:16:30] <Giganaire> at 25% they're speakers
440: [03:16:36] * cloph quit (Ping timeout: 252 seconds)
441: [03:16:36] <Giganaire> and i'm pretty sure at 50% they'd blow
442: [03:17:35] * zippy__ has joined #silverstripe
443: [03:17:51] <ss23> mismatched amp / headphone ohm?
444: [03:18:06] * Ryan-Toast has joined #silverstripe
445: [03:18:35] <Ryan-Toast> Stupid macs are so bad at connecting to servers.
446: [03:18:48] <Giganaire> shit's goin down
447: [03:19:05] <Colin[pi]> dat feel when you deploy to live...
448: [03:19:35] <antmas> Giganaire: hold on to your butts
449: [03:19:59] <Giganaire> weee
450: [03:20:11] <Giganaire> lots of sirens going past me
451: [03:20:30] <Giganaire> PNT = police negotiation team, fyi
452: [03:20:34] * jedateach has left #silverstripe
453: [03:21:03] <Ryan-Toast> Is there a law against hiring the hottest applicant to a job?|
454: [03:21:28] <Colin[pi]> Ryan-Toast: no there's a law against refusing the ugliestg
455: [03:21:29] <Colin[pi]> -g
456: [03:21:44] <Ryan-Toast> Excellent.
457: [03:22:53] <Ryan-Toast> We’re getting another graphic design girl, and I’m pretty sure that’s what my boss is going to do.
458: [03:23:18] <simon_w> Ryan-Toast, workplace relationships don't work out :p
459: [03:23:41] <Ryan-Toast> simon_w: I have a long term girlfriend, doesn’t mean I can’t window shop.
460: [03:23:49] <Ryan-Toast> :P
461: [03:24:04] <simon_w> And ss23 still hasn't brought me lunch!
462: [03:25:36] <antmas> Ryan-Toast: lucky
463: [03:26:06] <antmas> window shopping here is like shopping for tomb stones
464: [03:26:24] <ss23> simon_w: Oh, it's sitting right here beisde me
465: [03:26:32] <ss23> I had Burger Fuel, Peanut Piston, and a Chocolate Milkshake
466: [03:26:40] <antmas> ss23: pls
467: [03:26:43] <antmas> ENOUGH
468: [03:26:52] <ss23> I really like the Burger Fuel milkshakes
469: [03:26:54] <ss23> They're nice and thick
470: [03:27:07] <antmas> ;___________________________________________________________________________________;
471: [03:27:17] <Ryan-Toast> antmas: lol
472: [03:27:31] <Giganaire> hmm
473: [03:27:41] <Giganaire> if it wasn't for the fact i'm already cooking butter chicken in the slow cooker
474: [03:27:47] <Giganaire> i could totally walk down to burgerfuel for dinner tonight
475: [03:28:37] <Ryan-Toast> What’s the best way to include a thridparty php class into a silverstripe class?|
476: [03:29:26] <spronk> burger fuel shakes are pretty crappy.
477: [03:29:50] <spronk> nothing beats a proper dairy thickshake with tonnes of cream freeze
478: [03:30:01] <spronk> none of this powdered thickener shit
479: [03:30:58] <antmas> I haven't had a milk shake in over 2 years
480: [03:31:04] <ss23> Ryan-Toast: include __DIR__...
481: [03:31:07] <ss23> Ryan-Toast: aka "include it"
482: [03:31:21] <Ryan-Toast> ss23: that’s what I was doing, just making sure :)
483: [03:32:10] <Giganaire> first AOS callout i've heard in hamilton
484: [03:32:23] <Giganaire> most of them are in Te Awamutu
485: [03:32:32] <ss23> DAMMIT I WASN'T LISTENING
486: [03:32:48] <ss23> okay listening now
487: [03:32:48] * ss23 waits
488: [03:32:53] <spronk> link?
489: [03:33:08] <Giganaire> you've missed most of it
490: [03:33:09] <Giganaire> geez
491: [03:33:12] <Giganaire> y u stop listening
492: [03:33:22] * EasyCo has left #silverstripe
493: [03:33:35] <ss23> ohhh
494: [03:33:36] <antmas> AOS?
495: [03:33:38] <ss23> "squad is leaving now"
496: [03:33:40] <ss23> THAT IS THEM?
497: [03:33:42] <ss23> alpha 1?
498: [03:33:55] <ss23> galloway park is where the AoS is for?
499: [03:33:55] <antmas> or ADS?
500: [03:34:01] <ss23> antmas: same thing
501: [03:34:04] <Giganaire> Galloway Park is the SFP (safe forward point)
502: [03:34:12] <antmas> Armed D Squad right?
503: [03:34:21] <ss23> antmas: offenders, defenders, same
504: [03:34:22] <Giganaire> i.e. where they all get together and tool up
505: [03:34:27] <antmas> ah
506: [03:34:30] <ss23> antmas: http://www.police.govt.nz/about-us/structure/teams-units/aos
507: [03:34:49] <antmas> Giganaire: lost the link, le link?
508: [03:35:07] <antmas> btw I did find some super shitty headphones
509: [03:35:23] <ss23> Giganaire: They're cordoning it off?
510: [03:35:27] <Giganaire> yup
511: [03:35:32] <ss23> Whats in there?
512: [03:35:37] <Giganaire> a guy with a gun :P
513: [03:35:40] <ss23> Also, do alpha 1 us this for their coms at the scene?
514: [03:36:07] <Giganaire> Alpha 1 is one of the bosses of Waikato
515: [03:36:12] <Giganaire> Zero Alpha is AOS boss
516: [03:36:13] <ss23> ...
517: [03:36:15] <ss23> interference?
518: [03:36:16] <ss23> ah k
519: [03:37:15] * nickmolhoek quit (Quit: nickmolhoek)
520: [03:37:19] <Giganaire> Alpha 1 is just heading there cos it's a major incident and she'll be the one that has to talk to media
521: [03:37:40] <Giganaire> Zero Alpha (who's actually lower ranked) will actually be calling the shots
522: [03:38:26] * nickmolhoek has joined #silverstripe
523: [03:38:44] <antmas> I hope he equipped his assault class with extended mags
524: [03:38:54] <antmas> AWESOME JOKE AMIRIGHT?
525: [03:38:56] <Colin[pi]> dat feel when you think a website error caused a $6,000 order to fuck up
526: [03:38:57] <Giganaire> lol
527: [03:39:29] <ss23> Colin[pi]: Yeah, felt that before
528: [03:39:58] <Colin[pi]> ss23: I saw "customer cancelled trxn" in the db right after I got off the phone with him to assist with his ordering
529: [03:40:03] <Colin[pi]> massive panic set in
530: [03:40:04] <Giganaire> basically "i don't feel very safe here..."
531: [03:40:12] <Colin[pi]> but turns out he wanted to pay by bank transfer
532: [03:40:13] <Colin[pi]> THANK FUCK
533: [03:40:57] <ss23> XD
534: [03:41:27] <Giganaire> we're gonna miss most of the action now btw
535: [03:41:35] <antmas> Ryan-Toast: hey I noticed something on the BP demo
536: [03:41:36] <ss23> Why? They switch to internal coms?
537: [03:41:45] <Ryan-Toast> antmas: sure, what?
538: [03:42:03] <antmas> the menu drop downs
539: [03:42:07] <Giganaire> ss23: AoS have local (short range) encrypted radio
540: [03:42:15] <ss23> Makes sense
541: [03:42:22] <antmas> they trigger below the actual buttons
542: [03:42:23] <Ryan-Toast> antmas: what about them?
543: [03:42:28] <Ryan-Toast> yearp
544: [03:42:35] <Ryan-Toast> yarp
545: [03:42:43] <simon_w> FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT
546: [03:42:48] <antmas> Ryan-Toast: go to Files page
547: [03:42:54] <Ryan-Toast> it’s by design.
548: [03:42:55] <Giganaire> non-AoS units are basically just doing cordons now
549: [03:43:00] <Ryan-Toast> yarp
550: [03:43:07] <Ryan-Toast> I am there
551: [03:43:17] <antmas> and hover the word 'image'
552: [03:43:28] <ss23> wtf, ambo, Giganaire?
553: [03:43:30] <ss23> someone was actually shot?
554: [03:43:40] <Giganaire> ss23: nah, it's a suicidal guy
555: [03:43:43] <Ryan-Toast> antmas: yes?
556: [03:44:02] <antmas> Ryan-Toast: does the menu drop down for you? the Gallery menu?
557: [03:44:07] <Ryan-Toast> Nope
558: [03:44:09] <ss23> oic
559: [03:44:14] <antmas> hmmm
560: [03:44:18] <antmas> Ryan-Toast: Firefox 29 here
561: [03:44:24] <Ryan-Toast> lemme check
562: [03:44:33] <Giganaire> he called ambos saying he was gonna kill himself, ambo passed it on to police (cos they don't deal with that shit)
563: [03:44:46] <antmas> Ryan-Toast: tis fine in Chrome
564: [03:44:47] <Ryan-Toast> antmas: Ah, right.
565: [03:44:52] <Ryan-Toast> antmas: I see it on FF
566: [03:44:52] <Giganaire> police turned up and saw the guy through the window with a gun to his head
567: [03:44:56] <antmas> :P
568: [03:44:58] <antmas> Ryan-Toast: see it?
569: [03:45:13] <Ryan-Toast> antmas: ye
570: [03:45:36] <antmas> Ryan-Toast: :P am using the demo in part of a proposal after work
571: [03:45:37] <Ryan-Toast> I’m assuming FF doesn’t like the transformations
572: [03:46:22] <Giganaire> Tango 2 obv hasnt been listening to radio
573: [03:46:27] <Ryan-Toast> just add a moz transformation to .dropdown-menu
574: [03:46:28] <Giganaire> asking for a towie
575: [03:46:38] <antmas> Ryan-Toast: ah nice
576: [03:46:50] <antmas> Ryan-Toast: I wonder if an even calendar would look nice
577: [03:47:03] <Ryan-Toast> antmas: calander for what?
578: [03:47:17] <antmas> event*
579: [03:47:24] <Ryan-Toast> events calendar?
580: [03:47:27] <antmas> yeh
581: [03:47:38] <Ryan-Toast> could do.
582: [03:47:44] <Ryan-Toast> I’ll add it to my list of things
583: [03:47:48] <antmas> noice
584: [03:48:08] <antmas> my next contract wont use one, but the next couple likely will
585: [03:49:47] * Error404NotFound quit (Ping timeout: 255 seconds)
586: [03:50:00] <antmas> OH
587: [03:50:08] <antmas> I've always heard AOS
588: [03:50:17] <antmas> as Armed Defenders
589: [03:50:32] <simon_w> Bit slow antmas :p
590: [03:50:39] <antmas> not as ArmeDoffenders
591: [03:50:49] <spronk> yeah
592: [03:50:50] <spronk> they're a squad
593: [03:50:52] <spronk> of armed offenders
594: [03:51:01] <spronk> :D
595: [03:51:08] <antmas> yeah the 'd' there threw me
596: [03:53:35] <spronk> somehow i think my joke was lost
597: [03:53:35] <spronk> :(
598: [03:55:24] <spronk> https://github.com/silverstripe/silverstripe-cms/issues/773 ugh why is this bug still open
599: [03:55:36] <Giganaire> http://www.stuff.co.nz/waikato-times/news/9993677/Street-shut-after-armed-man-chases-police
600: [03:56:10] <Stomach> spronk - because you didnt fix it yet
601: [03:56:23] <spronk> but
602: [03:56:32] <spronk> i provided a really crappy coupled piece of fix code!
603: [03:56:40] <Stomach> submit a really crappy pull request and then ask tractorcow how to internet
604: [03:58:02] <spronk> then again
605: [03:58:26] <antmas> ugh
606: [03:58:44] <antmas> why can't IRC resolve my host name :<
607: [03:59:26] <ss23> OKAY BACK
608: [03:59:28] <ss23> Giganaire: WHATS THE STATUS?
609: [03:59:48] <Giganaire> AOS went in and got him
610: [03:59:56] <ss23> :(
611: [03:59:59] <ss23> Did we hear fun stuff?
612: [04:00:01] <Giganaire> nah
613: [04:00:24] <spronk> anyone want to make a pull request from my thing that has a test or two?
614: [04:00:50] <ss23> okayI close it
615: [04:00:53] * ss23 humphs
616: [04:01:12] <spronk> o_O
617: [04:01:24] <Giganaire> they switched comms lady partway through and this lady is shit and accidentally let traffic go down the street again
618: [04:02:09] <Giganaire> ss23: was all internal AoS comms until Zero Alpha said they had him in their control and were searching the house
619: [04:02:31] <ss23> rofl
620: [04:02:46] <zippy__> Zero Alpha = that just sounds badass
621: [04:03:22] <spronk> man
622: [04:03:25] <spronk> ftp really needs a deltree
623: [04:03:56] <simon_w> FTP really needs recursion
624: [04:04:35] <spronk> and die a horrible death
625: [04:04:45] <spronk> along with shared hosting
626: [04:04:46] <ss23> It already has, if you don't use it
627: [04:04:48] <ss23> It's used like Flash is
628: [04:06:19] <Giganaire> zippy__: ikr, i'm sure thats why they named it that even tho it doesn't match normal naming scheme
629: [04:06:23] <Ryan-Toast> The hardest part of any ajax project: picking the loading icon
630: [04:06:27] <spronk> ugh
631: [04:06:34] <spronk> and DUMBSHIT servrs that limit simultaneous ftp connections to like
632: [04:06:34] <spronk> 5
633: [04:08:38] * Error404NotFound has joined #silverstripe
634: [04:08:39] <Giganaire> had one recently that IP-blocked me for too many connections too fast
635: [04:08:50] <Giganaire> cos my ftp client automatically tried to do 8 threads
636: [04:09:12] <spronk> yeah
637: [04:09:15] <spronk> sigh
638: [04:09:19] <Giganaire> i was meant to be deploying a website, naturally that didn't happen for a few days as the shared host refused to lift the ban
639: [04:09:36] <Giganaire> i now host that site :P
640: [04:09:43] <spronk> omfg this is going to take an hour
641: [04:12:37] <antmas> bah
642: [04:12:40] <spronk> the fact that the framework folder is 60MB is absurd
643: [04:12:46] <antmas> how can the web client work, but not an IRC client?
644: [04:12:50] <antmas> llaaaaaaaame
645: [04:14:00] <antmas> it's herbet.freenode.net right?
646: [04:15:06] <spronk> i need faster upload
647: [04:15:10] <antmas> nvm
648: [04:15:12] <antmas> :P
649: [04:18:00] <antmas> is this no longer running on irc.freenode.net?
650: [04:18:10] <antmas> says it's down...
651: [04:18:12] <antmas> hmm
652: [04:19:53] <zippy__> herbet.freenode.net is just one of the many, that one is based in AU
653: [04:20:15] <antmas> hmm
654: [04:20:16] <simon_w> antmas, chat.freenode.net
655: [04:20:21] <antmas> cant connect to any of them :(
656: [04:20:42] * zippy__ wonders how atmas is currently writing the msgs...
657: [04:20:56] <antmas> zippy__: web client
658: [04:21:02] <antmas> zippy__: trying to get hydra to connect
659: [04:21:03] <zippy__> maybe your work is blocking it?
660: [04:21:21] <zippy__> god, when someone says "Do you want a simple job" I think it's just going to be a straight up, noop, from now on
661: [04:21:33] <antmas> I checked with the neckbeards and they said nothing should be blocking it
662: [04:21:42] <zippy__> can you telnet?
663: [04:22:16] <antmas> zippy__: errr, can I check?
664: [04:22:40] <antmas> I know not these protocols
665: [04:23:19] <zippy__> tell… I think irc is usally 6667 so just open the cmd prompt and do , telnet hostname 6667 and see what you get
666: [04:23:45] <zippy__> telnet irc.freenode.net 6667
667: [04:23:45] <zippy__> Trying 185.30.166.35...
668: [04:23:46] <zippy__> Connected to chat.freenode.net...
669: [04:24:07] <antmas> not recognised :(
670: [04:24:17] <zippy__> command not recognised?
671: [04:24:22] <antmas> yeh
672: [04:24:26] <zippy__> stupid windows :)
673: [04:25:18] <antmas> must be turned off by default?
674: [04:25:46] <spronk> uUGH
675: [04:25:49] <spronk> Warning: get_magic_quotes_gpc support is being removed from Silverstripe. Please set this to off in your php.ini and see http://php.net/manual/en/security.magicquotes.php
676: [04:25:50] <spronk> fuck you
677: [04:25:51] <antmas> hah
678: [04:25:55] <antmas> zippy__: so it is :P
679: [04:26:13] <Giganaire> http://www.stuff.co.nz/waikato-times/news/9992769/Group-takes-fluoride-decision-to-court
680: [04:26:16] <Giganaire> UGH
681: [04:26:17] <Giganaire> YOU LOST
682: [04:26:19] <Giganaire> STAHP
683: [04:26:37] <spronk> it is fucking off
684: [04:26:40] <antmas> zippy__: nope, fails could not open connection
685: [04:26:52] <Giganaire> "We demand a referendum!" "We don't like the results of the referendum and will challenge them in court!"
686: [04:26:59] * UncleCheese quit (Quit: UncleCheese)
687: [04:27:00] <spronk> why get this warning if its off!?
688: [04:27:18] <zippy__> antmas: time to go talk to the neckbeards
689: [04:27:28] <antmas> zippy__: what would they need to do?
690: [04:27:40] <zippy__> well, could be a firewall rule blocking irc
691: [04:27:43] * Giganaire has a neckbeard
692: [04:27:46] <zippy__> tell them you need to control your botnet army
693: [04:27:52] <antmas> lol
694: [04:28:18] <zippy__> https://www.youtube.com/watch?v=z59gAXZ0ksQ love me some santa
695: [04:29:18] <antmas> not sure how it's blocked on a client, but not browser :O
696: [04:29:39] <Ryan-Toast> Mailchimp API is so good.
697: [04:29:42] <simon_w> antmas, browser talks over HTTP, not IRC
698: [04:29:44] <Ryan-Toast> I wish all apis were like it.
699: [04:29:58] <antmas> simon_w: of course
700: [04:30:06] <antmas> Ryan-Toast: yeah it's awesome
701: [04:30:13] <antmas> awesome docs and support
702: [04:30:34] * bridgetm quit ()
703: [04:31:08] <antmas> Ryan-Toast: if you get that newsletter / mailchimp module working with BP, I will love you long time
704: [04:31:23] <Ryan-Toast> that’s what I’m doing
705: [04:31:29] <antmas> squeeee
706: [04:32:12] <antmas> if all it is, is selecting a template, filling it in, choosing a list and sending etc
707: [04:32:14] <antmas> would be tits
708: [04:33:17] <Ryan-Toast> after looking at the work campaigns for ages I no longer register it as art of the english language
709: [04:34:47] <antmas> ?
710: [04:35:01] <Ryan-Toast> it’s a weird word.
711: [04:35:04] <spronk> Warning at framework/control/HTTP.php line 289: strtotime() [<a href='function.strtotime'>function.strtotime</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier.
712: [04:35:07] <spronk> lots of these in my logs..
713: [04:35:10] <Ryan-Toast> and I can never tell if I’m spelling it correctly.
714: [04:35:16] <Giganaire> spronk: so set the timezone...
715: [04:35:22] <antmas> Ryan-Toast: what word?
716: [04:35:33] <Ryan-Toast> Campaigns
717: [04:35:40] <antmas> heh
718: [04:35:43] <antmas> Campagins
719: [04:36:16] <Colin[pi]> Cilbo Campagins
720: [04:36:26] <antmas> Colin[pi]: awww yisss, I went there
721: [04:36:32] <antmas> in my minds
722: [04:37:54] <zippy__> it is the worst thing to go through a project spelling something wrong
723: [04:37:59] <spronk> Fatal error: Based on their before & after rules two fragments both need to be before/after each other in /home/kerricka/public_html/framework/core/manifest/ConfigManifest.php on line 373
724: [04:38:00] <spronk> wtfff
725: [04:38:19] <Colin[pi]> EP VI cast: http://i.imgur.com/CeejlzJ.jpg
726: [04:38:25] <simon_w> spronk, you added a Before: * block?
727: [04:38:37] <spronk> i didnt add anything
728: [04:38:37] <Colin[pi]> oops VII herp
729: [04:38:40] <spronk> i'm just trying to update cms :/
730: [04:39:17] <zippy__> more flush :)
731: [04:39:21] <spronk> blank page
732: [04:39:36] <spronk> also
733: [04:39:39] <spronk> get that message on flush
734: [04:39:54] <antmas> Colin[pi]: I reserve all my judgement
735: [04:40:10] <Colin[pi]> at least we'll know it'll have lens flares
736: [04:40:33] <antmas> if he fails
737: [04:40:37] <antmas> Jar Jar Abrams
738: [04:40:41] <antmas> foever
739: [04:40:45] <antmas> forever*
740: [04:41:19] <antmas> later all
741: [04:41:20] <antmas> o/
742: [04:41:22] <Colin[pi]> cyas
743: [04:41:23] * DesignerX has joined #silverstripe
744: [04:41:32] * antmas quit (Quit: Page closed)
745: [04:42:22] <Ryan-Toast> this is what I have atm antmas: http://gfycat.com/OldScornfulFly
746: [04:42:27] <Ryan-Toast> …oh. He’s gone.
747: [04:42:33] <simon_w> SHUNNED
748: [04:42:50] <Ryan-Toast> NON FOR ME
749: [04:43:15] <zippy__> oh I see a mail chip api key
750: [04:43:18] <zippy__> score
751: [04:43:21] <Ryan-Toast> lol.
752: [04:43:25] <Ryan-Toast> Just my test account
753: [04:44:56] <spronk> ugh
754: [04:45:03] <spronk> what the fuck silverstripe.
755: [04:45:08] <spronk> ignoring my timezone setting
756: [04:47:08] <Colin[pi]> the php.ini one?
757: [04:47:45] * spronk sighs
758: [04:47:47] <spronk> dno what the fuck is going on.
759: [04:48:00] <Giganaire> editing the right php.ini?
760: [04:48:39] <Colin[pi]> reloading apache?
761: [04:49:11] <Giganaire> licking your elbow?
762: [04:49:20] <Colin[pi]> reticulating splines?
763: [04:49:28] <Giganaire> aaaand now i want to play sims
764: [04:49:41] <Colin[pi]> ZUU ZUU ABASH DEG DEG
765: [04:50:00] <spronk> ugh
766: [04:50:06] <spronk> need to stick php.ini in framework folder as well
767: [04:50:08] <spronk> mother fucker.
768: [04:50:17] <spronk> silverstripe and shared hosting just don't mix
769: [04:50:29] <Giganaire> *badly configured shared hosting
770: [04:50:38] <spronk> i.e. all shared hosting :p
771: [04:50:51] <Colin[pi]> dat VPS
772: [04:50:52] <Giganaire> works out of the box on namecheap
773: [04:51:02] <Giganaire> they even have the php memory_limit at a sane default
774: [04:51:08] <Colin[pi]> I will never.. ever go back to shared
775: [04:52:25] <spronk> ugh
776: [04:52:32] <Giganaire> very loud frantic clicking from the next room
777: [04:52:33] <spronk> why does this work on my local install but fails in production
778: [04:52:40] <Giganaire> flatmate must be in a raid or someshit
779: [04:52:44] <Colin[pi]> because fuck you, that's why
780: [04:52:53] <Giganaire> going apeshit on that mechanical keyboard
781: [04:53:06] <Colin[pi]> Giganaire: WOW?
782: [04:53:17] <Giganaire> FF
783: [04:53:20] <Colin[pi]> ah
784: [04:53:48] <spronk> the link existing function of my gridfield seems to work, gives no errors, then just doesn't add anything
785: [04:53:52] <Giganaire> aka his entire life
786: [04:54:45] <Colin[pi]> Giganaire: I've tried real hard to avoid MMORPGs
787: [04:54:59] <Colin[pi]> and RPGs in general.. I got heavily into Skyrim at one stage though
788: [04:55:09] <Colin[pi]> and I played a shitload of Oblivion back in the day
789: [04:55:14] <Giganaire> i cant get into them
790: [04:55:24] <Giganaire> i played WoW for a few weeks and was like "this is boring as shit"
791: [04:55:27] <Colin[pi]> lol
792: [04:55:33] <Colin[pi]> gotta be of the inclination I guess
793: [04:55:39] <Colin[pi]> I do a bit of CS:GO now to "unwind"
794: [04:55:44] * Giganaire primarily plays simulation/strategy games
795: [04:55:55] <Colin[pi]> Giganaire: Civ5?
796: [05:02:46] <ss23> civ 3 > civ 5
797: [05:02:48] <ss23> #justsayin
798: [05:02:56] <ss23> And Rome: Total War > Civ
799: [05:03:41] <spronk> UURHGHHGHGHGH
800: [05:03:45] <spronk> what the fuck is WRONG WITH THIS
801: [05:03:48] <spronk> "Not Found"
802: [05:03:57] <ss23> WELL GO FIND IT :O
803: [05:03:57] <spronk> on save after editing image fields inside a custom site config
804: [05:04:12] * nickmolhoek quit (Quit: nickmolhoek)
805: [05:05:50] * UncleCheese_ has joined #silverstripe
806: [05:06:28] <zippy__> ss23: civ 1 for life
807: [05:10:14] * spronk0 has joined #silverstripe
808: [05:10:47] * spronk quit (Ping timeout: 255 seconds)
809: [05:11:47] <spronk0> seriously
810: [05:11:57] <spronk0> does anyone have any idea what would cause this...
811: [05:12:09] <spronk0> saving a custom stieconfig --> "Sorry, it seems you were trying to access a page that doesn't exist."
812: [05:12:13] <spronk0> and save doesn't sticfk
813: [05:12:15] <spronk0> stick*
814: [05:12:18] <ss23> I have seen errors like it before
815: [05:12:18] * wracu quit (Ping timeout: 240 seconds)
816: [05:12:30] <ss23> Hmmm
817: [05:12:31] <ss23> I cannot think of a fix or anything
818: [05:12:31] <ss23> Sorry spronk0 :(
819: [05:13:41] <spronk0> nothing in logs that i can see
820: [05:14:07] <zippy__> spronk0: migrated site is it? Have you deleted the the silverstripe-cache folder, could be different versions of php palying with the cache manifiest
821: [05:14:36] <spronk0> client complained that it stopped working
822: [05:14:41] <spronk0> i haven't touched it
823: [05:14:46] * stripee has joined #silverstripe
824: [05:14:55] <spronk0> hmm... wonder if i have access to silverstripe-cache folder
825: [05:14:57] <zippy__> shared hosting, I wonder if they've upgraded the php or make some other config change
826: [05:15:07] <spronk0> probably
827: [05:15:24] <zippy__> ss 3 site or 2.4?
828: [05:15:28] <simon_w> mod_security
829: [05:15:28] <spronk0> 3.1
830: [05:15:45] <spronk0> it better fucking not be mod_security
831: [05:15:49] <ss23> lol
832: [05:15:53] <spronk0> because
833: [05:15:53] <ss23> Does it work locally, spronk0?
834: [05:15:56] <spronk0> ya
835: [05:15:58] <spronk0> because, i will find an axe
836: [05:16:03] <spronk0> and chop their fucking heads off
837: [05:16:13] * spronk0 RAGES
838: [05:16:22] <zippy__> heh!
839: [05:16:30] <simon_w> Check that mod_security's actually running first?
840: [05:16:40] <stripee> i want to change(not manualy) the image name while uploading so that new image name becomes imagename_date_time of upload.extension.how can this be done?
841: [05:16:42] <zippy__> Shall we just use background-color to make something green… no lets just use a image to do it, oh yea, good idea...
842: [05:16:58] <spronk0> trying to figure out how i can determine that, simon_w
843: [05:17:08] <simon_w> spronk0, phpinfo() might list the Apache modules
844: [05:17:13] * Ryan-Toast quit (Quit: Ryan-Toast)
845: [05:17:23] <spronk0> didn't seem to
846: [05:17:55] <spronk0> server ident stuff is turned off
847: [05:18:09] <simon_w> And I guess it's wrong through fastcgi rather than mod_php
848: [05:18:21] <spronk0> come to think of it
849: [05:18:33] <spronk0> it does kick my IP address out if i try that not found page more than a few times
850: [05:18:40] <spronk0> or at least i think it does
851: [05:20:47] <Colin[pi]> this post is amazing: http://stilldrinking.org/programming-sucks
852: [05:21:30] <ss23> If I had a $ for every time someone linked that today...
853: [05:21:39] <spronk0> simon_w: what do you think mod_security would be having an issue with?
854: [05:21:44] <Colin[pi]> you'd have at least $3
855: [05:21:55] <simon_w> spronk0, usually is the HTMLEditorFields
856: [05:22:27] <spronk0> how to fix?
857: [05:22:31] <spronk0> without disabling mod_security... ?
858: [05:24:13] <simon_w> Shoot the host in the face
859: [05:24:14] <ss23> I would t est on local first
860: [05:24:23] <ss23> That is most easy to way tell
861: [05:33:37] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
862: [05:36:51] * anselmdk has joined #silverstripe
863: [05:37:36] <spronk0> eh?
864: [05:37:40] <spronk0> test mod_sec on local?
865: [05:44:14] * UncleCheese_ quit (Quit: UncleCheese_)
866: [05:44:33] <Zauberfisch> Colin[pi]: an amazing article indeed
867: [05:45:21] * Ryan-Toast has joined #silverstripe
868: [05:46:06] <Colin[pi]> Zauberfisch: I SO wish I could distill that article into a feeling and inject that into my client's brains
869: [05:46:22] <Colin[pi]> then watch as they all put their hand on my shoulder and go "dude I am SO sorry"
870: [05:46:25] <Colin[pi]> ;D
871: [05:50:05] * zippy__ quit (Ping timeout: 264 seconds)
872: [06:04:01] * Liquide quit ()
873: [06:05:26] * Ryan-Toast quit (Quit: Ryan-Toast)
874: [06:18:48] * an_Eskimo quit (Ping timeout: 240 seconds)
875: [06:20:18] <simon_w> https://github.com/PocketRent/beatbox/commit/f367b2e1ede494b0aa60ba52be3cb8ef1394ceca
876: [06:20:20] <simon_w> Yay! :)
877: [06:37:34] * Shrike_Finland has joined #silverstripe
878: [06:39:58] * Colin[pi] quit (Ping timeout: 240 seconds)
879: [06:46:16] <stripee> i want to change(not manualy) the image name while uploading so that new image name becomes imagename_date_time of upload.extension.how can this be done?
880: [07:04:28] * Sticks quit (Read error: Connection reset by peer)
881: [07:45:07] * stnvh has joined #silverstripe
882: [07:46:29] * stnvh quit (Client Quit)
883: [07:55:27] * svandragt has joined #silverstripe
884: [07:58:25] * Colin[pi] has joined #silverstripe
885: [07:59:35] * Tanger has joined #silverstripe
886: [08:07:27] * stnvh has joined #silverstripe
887: [08:08:38] * kinglozzer has joined #silverstripe
888: [08:14:41] * wmk has joined #silverstripe
889: [08:22:54] * zippy__ has joined #silverstripe
890: [08:29:04] * Pyripk has joined #silverstripe
891: [08:35:16] * micmania1 has joined #silverstripe
892: [08:38:41] <Pyripk> micmania1: you're back
893: [08:38:55] <micmania1> sadly :(
894: [08:39:05] <Pyripk> you missed a day full of winners yesterday.
895: [08:39:19] <Pyripk> it was amazing
896: [08:43:43] <micmania1> confirmed: Newcastle playing in Wellington and Dunedin late July
897: [08:48:27] <Pyripk> ha, nice. You'll be there just in time :>
898: [08:51:03] <micmania1> yep lol
899: [08:58:01] <Pyripk> ps micmania1 http://www.buzzfeed.com/jemimaskelley/things-you-know-if-you-grew-up-in-nz
900: [08:59:35] <kinglozzer> micmania1: Pyripk and I made lots of new friends yesterday :P
901: [09:00:04] <micmania1> what happened yesterday?
902: [09:03:57] <Pyripk> kinglozzer: did you pay the $1000 for the training by ss23 ? :P
903: [09:04:11] <kinglozzer> Pyripk: Huh?
904: [09:04:23] <Pyripk> someone was having a bit of a wtf at that the other day
905: [09:04:29] <Pyripk> what happened yesterday kinglozzer ?#
906: [09:04:39] <kinglozzer> oic
907: [09:04:50] <kinglozzer> <Pyripk> you missed a day full of winners yesterday.
908: [09:05:10] <kinglozzer> Thought you meant our new friends who wasted a few hours :P
909: [09:05:16] <Pyripk> oh , yeah.
910: [09:05:21] <Pyripk> some magic questions.
911: [09:05:39] <Pyripk> I think my favourite is still "can I load silverstripe in firefox on linux?"
912: [09:07:14] * Shrike_Finland quit (Quit: Leaving.)
913: [09:08:35] <micmania1> Pyripk: can you? :p
914: [09:09:36] <Pyripk> micmania1: no, don't be silly.
915: [09:12:39] * ss23 gets $1k
916: [09:14:47] <Pyripk> It's not even you, I'm sure. But someone mentioned you.
917: [09:15:18] * stripee quit (Ping timeout: 240 seconds)
918: [09:21:49] * cloph_away is now known as cloph
919: [09:38:35] * desperte has joined #silverstripe
920: [09:39:39] <desperte> I know this is not a SS question but anyone able ot help with SVN
921: [09:39:53] <desperte> trying to do a commit and I am getting failue becuase a file is out of date
922: [09:40:05] <desperte> I have tried removing the file form control
923: [09:40:18] <desperte> I have tried deleting the file and getting it back form the repo
924: [09:40:31] <desperte> I have tried deleting it entirely (I don't actually need it)
925: [09:40:46] <desperte> but I keep getting out of date or file missing errors
926: [09:42:53] <Zauberfisch> what vcs?
927: [09:43:21] * Tanger quit (Quit: Tanger)
928: [09:43:56] * Tanger has joined #silverstripe
929: [09:48:59] * Tanger quit (Ping timeout: 276 seconds)
930: [10:10:48] * stnvh quit ()
931: [10:16:37] <kinglozzer> Hrm. Any way of changing permissions that /tmp/silverstripe-cache-xxx/ directories are created with? They're 0664 so I can't delete them despite being in the same group as www :(
932: [10:16:58] <kinglozzer> (live env, not locally ofc)
933: [10:17:11] <kinglozzer> p.s. can't get sudo
934: [10:24:36] <zippy__> kinglozzer: in your folder for the site (where cms / mysite is) create a silverstripe-cache folder there
935: [10:24:39] <zippy__> and give it 777
936: [10:24:45] <zippy__> since you create it, you can then delete it later
937: [10:24:58] <zippy__> 777 is fine, since htaccess will block direct access to that folder
938: [10:25:01] * stnvh has joined #silverstripe
939: [10:25:18] <kinglozzer> zippy__: I can't delete the files that are inside those folders though, they're still created with 0664
940: [10:26:38] <zippy__> if YOU create the silverstripe-cache folder, I am pretty sure you can then play with the files in directly in that folder
941: [10:30:27] <kinglozzer> zippy__: Nope :(
942: [10:30:55] <zippy__> can you chmod those files?
943: [10:30:55] <zippy__> eg
944: [10:31:02] <zippy__> silverstripe-cache/file.php
945: [10:31:04] <zippy__> change that one
946: [10:31:41] <kinglozzer> zippy__: there is no silverstripe-cache/file.php
947: [10:31:45] <kinglozzer> And nope, can't chmod them
948: [10:31:57] * wmk quit (Quit: nice to meet you ;))
949: [10:32:02] <zippy__> yea I know there wont be a file.php I just mean files at the root of that folder
950: [10:32:05] <zippy__> intersting
951: [10:32:30] <kinglozzer> zippy__: There aren't any files in the root of that folder either :P all the files are in silverstripe-cache/www-data
952: [10:32:41] <zippy__> change permissions on www-data
953: [10:33:40] <kinglozzer> Can't :P
954: [10:33:43] <kinglozzer> Fuckit
955: [10:34:00] <kinglozzer> Will just email the host
956: [10:34:52] <zippy__> and this is the folder that you created
957: [10:34:53] <zippy__> hmmm
958: [10:34:58] <zippy__> could of sworn
959: [10:35:02] <zippy__> least you can rename the folder :D
960: [11:01:39] * Shrike_Finland has joined #silverstripe
961: [11:01:49] <Pyripk> hooaahhhh, meetings
962: [11:02:48] <Colin[pi]> GET SOME
963: [11:02:57] <Pyripk> GET SOME
964: [11:02:59] <Pyripk> .co.n
965: [11:03:01] <Pyripk> z
966: [11:03:21] <Pyripk> so anyway kinglozzer, sticky bit, unless PHP is setting permissions specifically
967: [11:03:23] <Pyripk> which I think it does
968: [11:03:33] <Pyripk> but otherwise sticky bit.
969: [11:32:05] * svandragt quit (Ping timeout: 264 seconds)
970: [11:36:25] * zippy__ quit (Quit: zippy__)
971: [11:37:04] * Shrike_Finland quit (Quit: Leaving.)
972: [11:42:27] <kinglozzer> Pyripk: sticky bit?
973: [11:46:12] * UncleCheese_ has joined #silverstripe
974: [11:53:40] <guzzlefry> "When the sticky bit is set on a directory, files in that directory may only be unlinked or renamed by root or the directory owner or the file owner."
975: [11:54:39] <guzzlefry> err
976: [11:54:41] <kinglozzer> Ah
977: [11:54:42] <guzzlefry> that sounds wrong
978: [11:54:43] <guzzlefry> kinglozzer: http://www.linuxnix.com/2012/01/sticky-bit-set-linux.html
979: [11:54:47] <guzzlefry> That's better. :P
980: [11:55:08] <guzzlefry> oh wait no, that's correct, ignore me it's early. :P
981: [11:59:51] * svandragt has joined #silverstripe
982: [12:04:48] * desperte quit (Ping timeout: 240 seconds)
983: [12:08:20] * UndefinedOffset has joined #silverstripe
984: [12:17:30] * bwaah_ has joined #silverstripe
985: [12:20:33] <bwaah_> hey guzzlefry im not sure i set up my sake _ss_environment correctly because when i dev/build no change occurs on the cms at all
986: [12:21:46] <bwaah_> iv followed each n every tiny detail on http://doc.silverstripe.org/framework/en/topics/commandline naw i dont know whats the problem
987: [12:22:58] * UncleCheese_ quit (Quit: UncleCheese_)
988: [12:24:10] <micmania1> bwaah_: put a die(__FILE__) in your _ss_env file then run dev/build
989: [12:24:18] <micmania1> to make sure its getting called...
990: [12:28:50] * thibault has joined #silverstripe
991: [12:29:10] <Pyripk> kinglozzer: yes, stick bit. See man chmod or google it
992: [12:36:31] * Alfirin has joined #silverstripe
993: [12:38:53] * Shrike_Finland has joined #silverstripe
994: [12:39:26] <bwaah_> still no responce
995: [12:41:14] <Alfirin> Cheers! I can't access my site anymore, it keeps giving me internal server error, but php error log doesn't show anything.
996: [12:41:42] <Alfirin> SS error log complains about a member extension class that's missing, even though no file requires it anymore.
997: [12:44:27] <Zauberfisch> Alfirin: you probably forgot to flush
998: [12:44:37] <Zauberfisch> or still reference that extension in your yml config
999: [12:45:53] <Alfirin> I can't flush, every time I do, it gives internal server error
1000: [12:46:43] <svandragt> any css experts can edit this fiddle so that the boxes always take up all available width? http://jsfiddle.net/svandragt/dK94c/
1001: [12:47:00] <Alfirin> and neither the yml config or _config reference it
1002: [12:47:13] <svandragt> personally don't think it's possible without javascript (display table* loses the float)
1003: [12:47:29] <Alfirin> It doesn't make any difference whether or not the extension files exist or not, the error is the same
1004: [12:49:14] * stnvh quit ()
1005: [12:52:10] <Zauberfisch> Alfirin: put the site in dev mode. then flush
1006: [12:52:17] <micmania1> Alfirin: what is the error?
1007: [12:52:45] <Zauberfisch> svandragt: what exactly do you want?
1008: [12:52:55] <Zauberfisch> width 25%?
1009: [12:53:49] <svandragt> Zauberfisch: set the width of each item to 100/(the number of elements on a row); instead of there being a gap to the right of the last element on each row
1010: [12:54:03] <svandragt> Zauberfisch: got a JS solution but css only would be better
1011: [12:54:14] <Alfirin> Zauberfisch, it is in dev mode
1012: [12:54:32] <Alfirin> micmania1, [Error] Uncaught ReflectionException: Class MyMemberExtension does not exist
1013: [12:55:05] <Zauberfisch> Alfirin: then you have it referenced it somewhere
1014: [12:55:10] <Zauberfisch> otherwise that error would not appear
1015: [12:55:17] <Zauberfisch> svandragt: is it always 4?
1016: [12:57:57] <svandragt> Zauberfisch: no it depends on the width of the screen
1017: [12:58:36] <svandragt> Zauberfisch: http://jsfiddle.net/svandragt/dK94c/2/
1018: [12:59:06] <Zauberfisch> svandragt: using media queires, its possible in css
1019: [12:59:09] <Pyripk> til, ORMs are bad bad. But no one can give a clear singular example why.
1020: [12:59:45] <Pyripk> bwaah_: your url mapping is wrong.
1021: [12:59:48] <Pyripk> fix it.
1022: [13:00:00] <Pyripk> Don't ask how, I dunno :<
1023: [13:00:51] <Alfirin> Zauberfisch, hand on my heart, it's not referenced anywhere
1024: [13:04:25] <Zauberfisch> svandragt: http://jsfiddle.net/dK94c/4/
1025: [13:04:36] <Pyripk> Alfirin: what is the internal error?
1026: [13:04:59] <svandragt> Zauberfisch: impressive
1027: [13:07:53] <Zauberfisch> svandragt: this is from desktop down. if you work mobile first, do it the other way around using min-width, and a fallback for non mediaqueires browsers
1028: [13:07:58] <Alfirin> Pyripk, it just gives the generic internal server error message, and the trackback complains about the class not found
1029: [13:08:59] <svandragt> Zauberfisch: thanks, this is a nice basis for portfolio style layouts as well
1030: [13:10:20] <spronk0> ORMs aren't bad bad :P
1031: [13:10:29] <bwaah_> this is my url mapping $_FILE_TO_URL_MAPPING[__DIR__] = 'http://localhost';
1032: [13:10:55] <Zauberfisch> svandragt: its basicall the base for all sites a build
1033: [13:11:09] <Zauberfisch> but I usually do mobile first
1034: [13:13:03] <svandragt> Zauberfisch: http://jsfiddle.net/svandragt/dK94c/5/ mobile first
1035: [13:14:09] <Zauberfisch> good. but don't forget the fallback.
1036: [13:14:17] <Zauberfisch> IE8 does not support media queries
1037: [13:15:05] <Zauberfisch> also, note, this approach relys on "box-sizing: border-box;", which does not work in IE7. so if you have to support IE7, you have to use a polyfill
1038: [13:16:33] * Shrike_Finland quit (Quit: Leaving.)
1039: [13:16:45] <svandragt> Zauberfisch: fallback: http://jsfiddle.net/svandragt/dK94c/6/
1040: [13:17:11] <Zauberfisch> that is actually pretty smart
1041: [13:17:25] <Zauberfisch> I would have used modernizr
1042: [13:21:26] <Zauberfisch> I might do that in future
1043: [13:22:18] <svandragt> Zauberfisch: yeah go ahead.
1044: [13:24:16] * bwaah__ has joined #silverstripe
1045: [13:25:18] * bwaah_ quit (Ping timeout: 240 seconds)
1046: [13:42:29] <Pyripk> wholey gawd wtf
1047: [13:42:30] <Pyripk> http://iforce.co.nz/i/d4f3u2jy.qpw.png
1048: [13:42:36] <Pyripk> micmania1: kinglozzer ^
1049: [13:42:44] <Pyripk> that last comment
1050: [13:42:47] <Pyripk> hahahahahahahha
1051: [13:43:33] <kinglozzer> Pyripk: Welcome to the UK :P
1052: [13:45:26] <Pyripk> yeah
1053: [13:45:43] <Pyripk> "Ban immigration" - But then who will do all the work for you?
1054: [13:45:54] <Pyripk> while you sit back and sponge on their taxes?
1055: [13:46:08] <Pyripk> :P
1056: [13:48:43] * stnvh has joined #silverstripe
1057: [13:54:41] * DesignerX quit (Ping timeout: 276 seconds)
1058: [14:07:10] * muskie9 has joined #silverstripe
1059: [14:12:27] <kinglozzer> Pyripk: What's scary is how many people are starting to think voting UKIP is a good idea..
1060: [14:14:48] * Alfirin quit (Ping timeout: 240 seconds)
1061: [14:18:51] <Pyripk> kinglozzer: it's not that they have good policies, it's just that everyone is either xenophobic or biting into the 'EU is bad for us' ideaologies
1062: [14:19:01] <Pyripk> mostly the latter
1063: [14:19:10] <Pyripk> UKIP is not a good alternative.
1064: [14:19:31] <Pyripk> but focussing on this issue is letting them brush their (more) ugly side under the carpet for the time being.
1065: [14:19:42] <kinglozzer> Yep
1066: [14:19:56] <kinglozzer> "The friendly face of the BNP"
1067: [14:20:00] <Pyripk> and hell, I'd not heard of them until just the other day.
1068: [14:21:06] <Pyripk> There are some legitimate worries raised by supporters, they're just wrong in thinking that UKIP is either aware of their issue, or cares about it, let alone has an answer for it.
1069: [14:21:47] <Pyripk> A few things make sense (the questions), but inciting and encouraging an 'us against them' mentality is not the way to deal with it.
1070: [14:23:47] * desperate has joined #silverstripe
1071: [14:23:52] <Pyripk> Personally I think it'd be great if Scotland left the UK, and the UK (or England at least) left the EU. And maybe it would be interesting if that were to happen if Scotland was then welcomed into the EU.
1072: [14:24:16] <Pyripk> but that's less because I think it's good, more because I think it'd be really interesting to see what'd happen in a sort of sadistic kinda way
1073: [14:24:39] <desperate> how can I debug further, I have mode set to debug in config.yml but when I open my page: "Sorry, there was a problem handling your request."
1074: [14:24:48] <Pyripk> read the logs.
1075: [14:25:25] <desperate> ahh hadn't tried those
1076: [14:26:33] <desperate> ss logs?
1077: [14:27:24] <Pyripk> all the logs.
1078: [14:36:46] * anselmdk_ has joined #silverstripe
1079: [14:38:23] * anselmdk quit (Ping timeout: 265 seconds)
1080: [14:38:24] * anselmdk_ is now known as anselmdk
1081: [15:05:48] * bwaah__ quit (Ping timeout: 240 seconds)
1082: [15:06:55] <desperate> if I want to dump my results of a get:: sql query into an array
1083: [15:07:13] <desperate> what's the best approach, I was using for earch $res as $row
1084: [15:07:36] <desperate> but even an empty result seems to start the loop
1085: [15:07:48] * thibault quit (Ping timeout: 240 seconds)
1086: [15:08:20] <Pyripk> You're asking a strange question.
1087: [15:08:43] <muskie9> desperate, so you're looking to convert your DataList to an array?
1088: [15:08:44] <Zauberfisch> dd
1089: [15:08:47] <Zauberfisch> desperate:
1090: [15:08:53] <desperate> yes
1091: [15:08:54] <Zauberfisch> $array = $list->toArray()
1092: [15:08:56] <Pyripk> $derp->toArray()
1093: [15:09:01] <muskie9> ^^
1094: [15:09:09] <muskie9> http://api.silverstripe.org/master/source-class-DataList.html#572-588
1095: [15:10:26] <desperate> is this the wrong approach
1096: [15:10:26] <desperate> http://paste2.org/bhftwOcA
1097: [15:10:40] <desperate> I only want select data
1098: [15:10:49] <Pyripk> Undoubtedly.
1099: [15:11:38] <Pyripk> Yes, on multiple levels.
1100: [15:12:01] <Pyripk> $_GET, stupid idea.
1101: [15:12:19] <desperate> I love your help Pyripk but man do you make me feel retarded
1102: [15:12:28] <Pyripk> ha :<
1103: [15:12:40] <Pyripk> help me out here then please desperate
1104: [15:12:55] <Pyripk> what is your level of experience as a developer, computers, internet at large?
1105: [15:13:18] <Pyripk> I have this contant feeling that you're an experienced developer, but you keep asking basic questions and making rookie mistakes.
1106: [15:13:55] <desperate> I have been developing for 2 years
1107: [15:13:56] <Pyripk> Sorry I come across as overbearing, but sometimes I'm confused as to why you're asking, considering the experience you've got.
1108: [15:14:01] <desperate> but off my own back
1109: [15:14:04] <desperate> not in companies
1110: [15:14:07] <Pyripk> right
1111: [15:14:15] <Pyripk> Don't you have an education though>
1112: [15:14:15] <Pyripk> ?
1113: [15:14:16] <desperate> recently took a perm role
1114: [15:14:20] <desperate> kick up the backside
1115: [15:14:33] <desperate> haing to catch-uo
1116: [15:14:39] <desperate> for year si wrote my own cms
1117: [15:14:42] <Pyripk> like a web dev course beind you or something
1118: [15:14:44] <Pyripk> right
1119: [15:14:57] <desperate> i have a degree
1120: [15:15:17] <desperate> in Computing & Info Systems
1121: [15:15:24] <muskie9> desperate, why not instead of using a getter, set your function as an allowed action and have the the bookid be the pulled using SS
1122: [15:15:29] <Pyripk> well, in general it's a terrible idea to pass user manipulatable (shh, that's a word now) data direct into the database, or anything
1123: [15:15:30] <desperate> a first
1124: [15:15:44] <muskie9> so domain.com/GetReviews/ID
1125: [15:15:44] <desperate> which i kno you'll find hard to believe
1126: [15:15:57] <Pyripk> right, degree in computing and systems, but not much actual development in that... or, just really rusty?
1127: [15:16:27] <desperate> rusty
1128: [15:16:35] <Pyripk> right, well ok.
1129: [15:16:51] <desperate> @muskie thanks it's anothr approach
1130: [15:17:02] <Pyripk> so for starters, there is a framework accessor for parameters.
1131: [15:17:10] <muskie9> better to keep it in the framework overall
1132: [15:17:26] <muskie9> http://doc.silverstripe.org/framework/en/topics/controller
1133: [15:17:31] <Pyripk> provided you're in a controller, $this->request->getVar('bookid')
1134: [15:17:35] <muskie9> not the best example, but somewhere to start
1135: [15:17:46] <Pyripk> but really you should be using URL parameters instead of get parameters
1136: [15:18:00] <Pyripk> so read muskie9's link
1137: [15:18:32] <Pyripk> and secondly, it'd be better for you to add a getter to Review to manipulate the Rating value instead of doing that big loop
1138: [15:18:40] <Pyripk> as I think muskie9 has already also said.
1139: [15:18:41] <muskie9> Pyripk's method would work to get your var too
1140: [15:19:00] <Pyripk> muskie9: yeh, but url param is probably the better appraoch here.
1141: [15:19:04] <desperate> wow had no idea that was how to grab prams
1142: [15:19:19] <muskie9> ya, makes it pretty easy
1143: [15:19:49] <Pyripk> desperate: it's not extremely bad to pass user data directly into the filter method, as that sanitises for you... but it's probably still bad practice.
1144: [15:19:57] <Pyripk> I don't think you should rely on it.
1145: [15:20:11] <Pyripk> eg, you shoud probably check that it's an integer first, etc.
1146: [15:20:22] <desperate> you see this is what struggle.. typically I would write my own code to clean a VAR
1147: [15:20:33] <desperate> of course SS does it for you
1148: [15:20:36] <Pyripk> also, no need to use filter('id', $id), because you can just Review::get()->byID($id)
1149: [15:20:39] <Pyripk> as a shortcut
1150: [15:20:44] <desperate> but I'm still learning
1151: [15:21:05] <Pyripk> desperate: you should still do it, using a framework doesn't mean one should forget best practice :)
1152: [15:21:06] <desperate> wow tha's easier
1153: [15:21:09] <micmania1> BEST ERROR EVER! "The quantity must be less than 2,147,483,647"
1154: [15:21:17] <Pyripk> micmania1: hahahhh
1155: [15:21:53] <desperate> plus as I'm under pressure to get things done sometimes I've just got to use a less than perfect approach to get it done
1156: [15:21:59] <desperate> but then I don't improve/learn
1157: [15:22:25] <Pyripk> desperate: yeah, bookmark api.silverstripe.org and doc.silverstripe.org
1158: [15:27:02] <Pyripk> and basically make no assumptions, if you're unsure about how to tackle an issue, just ask.
1159: [15:27:03] <desperate> it's a little sad... i make break throughs.. think I am getting somewhere then feel like I get shot down
1160: [15:27:21] <desperate> what is the level of the regulars here, government scientists?
1161: [15:27:37] <Pyripk> But ask how to slove an issue as a whole, rather than a small immediate issue.
1162: [15:27:48] <muskie9> takes time... been using SS for about 3-4 years and still find I don't do things quite right... just have to keep on keeping on
1163: [15:27:48] <Pyripk> desperate: ha, nope. Just expeienced chaps.
1164: [15:28:10] <Pyripk> I've been web dev for 3 years, the code I wrote 3 years ago was right shit.
1165: [15:28:56] <desperate> interesting
1166: [15:29:17] <Pyripk> it's a community channel, not really affiliated with SS.com (the company)
1167: [15:30:21] <Pyripk> desperate: but basically the rules are if you ask questions and engage your brain so we can make suggestions instead of demanding we basically write the code for you (you'd be surprised how often that happens) we're happy to help.
1168: [15:30:35] <Pyripk> :)
1169: [15:30:51] <Pyripk> I mean, it's why we all hang out here.
1170: [15:30:59] <muskie9> a lot of it is getting to know the docs, you learn where your question could be answered in there or where a good starting point would be
1171: [15:31:00] <desperate> of course... I'm aware that you guys are not here to code for me
1172: [15:31:14] <Pyripk> yeah, some people think we are :<
1173: [15:31:28] <desperate> somtimes when you feel like flip your desk it's hard to ask a concise question :0)
1174: [15:31:48] <desperate> *the need to flip
1175: [15:31:56] <Pyripk> you say "you do this and that" and they go "how" so you link docs and they go "give example" and then you give pseudo code and they copy it verbatim, then complain when it doesn't work and basically demand you do their job for htem.
1176: [15:32:00] <Pyripk> it's right annoying :/
1177: [15:32:59] <Pyripk> and don't worry about stupid questions, the number of times I've asked why my code won't work then found a spelling error or something... if I had a penny each time... well I'd have at least 20 quid.
1178: [15:33:14] * spronk0 quit (Ping timeout: 252 seconds)
1179: [15:33:59] <Pyripk> the more important part is to keep an open mind. A suggestion solution may not necessarially match with how you've got code floating around in your head.
1180: [15:37:49] <Pyripk> desperate: but basically, bookmark api for DataList, the DBFields (Int, Varchar, Date, etc), SS_HTTPRequest, DataExtension & DataObject, that'll see you right through most of the issues you'll run into.
1181: [15:37:55] <Pyripk> excepting perhaps flexigrid stuff.
1182: [15:38:01] <Pyripk> form fields are a good thing to add to that list.
1183: [15:38:15] * jenniferaslan has joined #silverstripe
1184: [15:38:17] <desperate> thank you I will have a read
1185: [15:38:37] <Pyripk> desperate: http://api.silverstripe.org/3.1/class-FormField.html
1186: [15:38:50] <Pyripk> see you can see a list of 'direct subclasses' and 'indirect subclasses' there
1187: [15:38:53] <Pyripk> shortcut :>
1188: [15:39:01] <Pyripk> so you don't have to bookmark 50000 pages
1189: [15:40:32] <Pyripk> The majority of SS Dev is getting data, form fields & templates. To which that's DataList, FormField subclasses, and DBField subclasses, respectively.
1190: [15:41:06] <Pyripk> most people get the creating models part, which is DataObject and DataExtension.
1191: [15:41:12] <Pyripk> :>
1192: [15:43:02] <Pyripk> I understand you're under pressure, but we're all mostly at our respective jobs too you have to remember :>
1193: [15:47:24] * r3v3rb has joined #silverstripe
1194: [15:48:25] <r3v3rb> ugh FullTextSearchable does it even work?
1195: [15:49:16] <Pyripk> NO.
1196: [15:49:28] <r3v3rb> Pyripk, really...
1197: [15:49:30] <Pyripk> FulltextSearchable might though :P
1198: [15:49:40] <r3v3rb> :P
1199: [15:49:45] <r3v3rb> semantics
1200: [15:49:46] <Pyripk> r3v3rb: yeah it works, just not well because mysql fulltext support is shit.
1201: [15:49:56] <Pyripk> nothing to be done CMS side.
1202: [15:50:09] <Pyripk> can only deal with the results the DB gives it.
1203: [15:50:17] <r3v3rb> seriously I have some fields on my classes that have multiple instances of the serach term but return no results
1204: [15:50:21] <Pyripk> r3v3rb: depends though... what are you searching?
1205: [15:50:50] <Pyripk> if it's not page.content, page.title, file.title, file.filename, you're shit out of luck.
1206: [15:50:54] <r3v3rb> simple obvious terms littered throughout the website yet I get only one result
1207: [15:51:08] <Pyripk> depends where these terms are.
1208: [15:51:10] <r3v3rb> fack, really - so no page.tab2
1209: [15:51:18] <Pyripk> no, page.content only.
1210: [15:51:24] <r3v3rb> where tab2 is an extra HTMLText field
1211: [15:51:27] <Pyripk> well not 100% positive, check fulltext.
1212: [15:51:31] <Pyripk> definitely not.
1213: [15:51:36] <r3v3rb> looking into it
1214: [15:51:38] <Pyripk> anything added is not searched.
1215: [15:51:42] <Pyripk> and cannot be searched.
1216: [15:51:52] <Pyripk> because fulltextsearchable is horrid.
1217: [15:52:17] <Pyripk> general consensus is to just write your own search :<
1218: [15:52:20] <Pyripk> or use solr, etc.
1219: [15:52:25] * r3v3rb has a thought for an onBeforeWrite search system that would create a JSON encoded array of the word usage on all fields on any given class extending from SIteTree
1220: [15:52:34] <Pyripk> ask ss23 about solr. He's the #1 fan
1221: [15:52:55] <r3v3rb> so say MOD appeared 8 times and research 2 I would encode MOD:8,research:2
1222: [15:53:03] <Pyripk> r3v3rb: or just use a DB that isn't shit at searching
1223: [15:53:04] <svandragt> if all information is on the page you can use google site search (or google custom search)
1224: [15:53:23] <Pyripk> yeah, there is that.
1225: [15:53:41] <r3v3rb> then just parse that field for the results and use the combined 'weight' to provide relavence
1226: [15:53:55] <r3v3rb> relevance*
1227: [15:54:15] <Pyripk> yeah nah. Search is an entire industry to itself.
1228: [15:54:26] <r3v3rb> can't use google search it needs to look nice and fit into the site properly without client having to pay
1229: [15:54:31] <Pyripk> Like, you could become an expert, but then you'd be 60 and have to retire.
1230: [15:54:55] <r3v3rb> Pyripk but I could sell my algorithm and be rch
1231: [15:55:04] <r3v3rb> rich*
1232: [15:55:10] <Pyripk> r3v3rb: solr or one of those other external searchey things might be the go for you.
1233: [15:55:27] <Pyripk> I know fuckall about them though, other than that they can be a real headache.
1234: [15:55:46] <r3v3rb> but I have to install this on an Azure server getting MySQL and PHP to talk was crap enough
1235: [15:56:01] <Pyripk> really? huh.
1236: [15:56:05] <r3v3rb> and the load times are horrendous
1237: [15:56:09] <Pyripk> oh right, MSSQL would be the preferred db server
1238: [15:56:20] <Pyripk> Azure.
1239: [15:57:07] <svandragt> mssql has got a good inbuilt search; unfortunately I don't know if SS takes advantage of it :+
1240: [15:58:40] <r3v3rb> didn't fancy the cross over so got the client to install ClearDB
1241: [15:59:03] <r3v3rb> it works but is already twice as slow as my server that they didn't want to use... haha
1242: [15:59:06] <r3v3rb> more fool them
1243: [15:59:42] <Pyripk> dafuq is cleardb?
1244: [16:00:01] <r3v3rb> Azure wrapper for MySQL under PHP on Windows Cloud
1245: [16:00:34] <Pyripk> should have just stuck with mssql, it's far superiorto mysql.
1246: [16:01:01] <Pyripk> I mean, mysql is familiar, sure. You have the ability to administer it I guess.
1247: [16:01:07] <Pyripk> that's a pretty big plus.
1248: [16:02:06] * scpi has joined #silverstripe
1249: [16:02:17] <r3v3rb> nice: Uncaught exception 'Exception' with message 'FulltextSearchable::enable() I don't know the default search columns for class 'SectorPage'
1250: [16:02:30] <Pyripk> yeah, I told you you can't modify it
1251: [16:02:35] <Pyripk> it's a pure cunt.
1252: [16:02:39] <r3v3rb> so either I'm doing it wrong or its not working
1253: [16:02:54] <Pyripk> it's easier to simply re-implement, based on what fulltextsearchable does.
1254: [16:03:07] <r3v3rb> time for a paginationlist and bespoke query then
1255: [16:03:10] <Pyripk> r3v3rb: you're doing it wrong AND it's not working.
1256: [16:03:16] <r3v3rb> Pyripk :P
1257: [16:03:34] <Pyripk> no serious, fulltextsearchable is hard coded to only accept File and SiteTree
1258: [16:04:23] <scpi> I just use google's search service.
1259: [16:04:41] <guzzlefry> yeah...
1260: [16:04:55] <guzzlefry> google site search has been infinitely better than any site's custom search :P
1261: [16:05:06] <Pyripk> yeah but does that fit a sites theme, look and feel, etc?
1262: [16:05:22] <scpi> but I also need to pull in search results from a couple different domains, so I don't have many other options without a LOT more work.
1263: [16:05:41] <scpi> look and feel I customize with CSS
1264: [16:05:46] <scpi> good enough.
1265: [16:06:08] <Pyripk> ah yeh, so it's not just a hdeous iframe with google branding all over it?
1266: [16:06:30] <scpi> It's inserted via javascript, so it's not an iframe
1267: [16:06:47] <scpi> and it doesn't have google branding because I pay them.
1268: [16:06:48] <Pyripk> Oh gah. JJ Abrams directing Star Wars Episode 7
1269: [16:06:53] <Pyripk> fuck, that's a write off.
1270: [16:07:08] <scpi> Welcome to last year, where have you been?
1271: [16:07:12] <Pyripk> Not that the likes of Star Trek was terrible, but it... yeah.
1272: [16:07:23] <Pyripk> not really ideal.
1273: [16:07:29] <scpi> Look at it this way... better him than Lucas
1274: [16:07:38] <Pyripk> Rather Lucas tbh.
1275: [16:08:16] <scpi> You and I must have very different opinions of the prequels
1276: [16:08:30] <Pyripk> yeah, probably.
1277: [16:08:39] <r3v3rb> anyone have a snippet to show a replacement search result using pagination then?>
1278: [16:08:40] <Pyripk> well... did Lucas even direct them?
1279: [16:08:48] <Pyripk> Because he didn't direct the originals.
1280: [16:09:05] <scpi> Yeah, and that's part of the problem with the prequels
1281: [16:09:27] <Pyripk> oh he did? hmm, yeah I could see the aversion to him directing then.
1282: [16:09:39] <Pyripk> Not that they were extremely terrible in terms of direction
1283: [16:09:50] <scpi> yes they were.
1284: [16:10:04] <Pyripk> haha, admittedly it's a long time since I saw them.
1285: [16:10:58] <scpi> r3v3rb: oh, right... not a star wars forum. oops.
1286: [16:11:26] <Pyripk> r3v3rb: it's not all that hard to make.
1287: [16:11:37] <Pyripk> you just apply fulltext to the applicable fields with a decorator
1288: [16:11:48] <r3v3rb> time though dude time
1289: [16:11:56] <Pyripk> then build your query manually and leverage the start var to get limits.
1290: [16:12:01] <Pyripk> mm, time.
1291: [16:12:06] <r3v3rb> no time
1292: [16:12:12] <Pyripk> No search then!
1293: [16:12:19] <Pyripk> :P
1294: [16:12:28] <r3v3rb> Ta da! thats what wife said
1295: [16:12:34] <r3v3rb> no time, no money, no search
1296: [16:12:37] <Pyripk> there's always UNION and LIKE %*%
1297: [16:13:01] <r3v3rb> yeh I use Like % on another site but the pagination is just prev | next not numbered
1298: [16:13:07] <Pyripk> seriously, solr might be best. take a look, It might not be hard to set up.
1299: [16:14:22] <kinglozzer> Home time
1300: [16:14:28] <kinglozzer> ciao
1301: [16:14:37] * kinglozzer quit ()
1302: [16:17:20] * stnvh quit ()
1303: [16:26:40] <desperate> if I set up a drop down field array 1..10
1304: [16:27:18] <desperate> it stores 1 as 0, 2 as 1... because an array index begins at 0 presumably
1305: [16:27:27] <desperate> how can I make it store 1 as 1
1306: [16:28:18] <scpi> first... do you really need to?
1307: [16:29:06] <scpi> It seems like you might set yourself up for weird problems later
1308: [16:29:08] <desperate> yes because I am filtering my results
1309: [16:30:07] <scpi> ah. And you can't just account for the counting from zero in your code?
1310: [16:32:47] <desperate> i can work around it sure
1311: [16:33:01] <scpi> You're probably better off just doing that
1312: [16:33:06] <desperate> agreed
1313: [16:33:41] <scpi> Arrays always start at zero. If you hack together something unusual, you're going to create headaches for the next guy who has to maintain this code.
1314: [16:34:34] <scpi> Even if that guy is just future you.
1315: [16:35:26] * r3v3rb quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1316: [16:38:34] <Pyripk> desperate: you have to key the array
1317: [16:38:42] <Pyripk> '1' => 1, etc
1318: [16:39:23] <Pyripk> just to answer the question. but yeh, better to handle it programatically
1319: [16:39:56] <desperate> thanks
1320: [16:39:58] <Pyripk> or, join the array with itself so the keys are the values also using array_zip or whatever the function is
1321: [16:40:03] <Pyripk> php.net/array
1322: [16:40:08] <Pyripk> laters
1323: [16:40:10] * Pyripk quit (Quit: Page closed)
1324: [16:43:09] * r3v3rb has joined #silverstripe
1325: [16:54:19] <r3v3rb> hmm, close
1326: [16:56:27] <r3v3rb> results work but not being limited to the pageLength of the pagination list
1327: [16:57:03] <r3v3rb> so the first result page gets the all but pagination buttons allow me to click through the results to page 2, 3 etc
1328: [16:57:07] <r3v3rb> damnation
1329: [17:03:23] <r3v3rb> anyone...
1330: [17:09:48] * FrozenFire quit (Quit: There's no place like ~)
1331: [17:13:36] * anselmdk quit (Quit: anselmdk)
1332: [17:24:42] * anselmdk has joined #silverstripe
1333: [17:27:08] * anselmdk quit (Client Quit)
1334: [17:28:00] * anselmdk has joined #silverstripe
1335: [17:28:00] * anselmdk quit (Client Quit)
1336: [17:28:16] * anselmdk has joined #silverstripe
1337: [17:28:16] * anselmdk quit (Client Quit)
1338: [17:31:51] * anselmdk has joined #silverstripe
1339: [17:36:17] <r3v3rb> is anyone alive?
1340: [17:36:48] * guzzlefry moves hand.
1341: [17:36:50] <guzzlefry> yes
1342: [17:36:52] <guzzlefry> ...I think
1343: [17:37:27] <r3v3rb> http://pastie.org/private/mnht3ouy3apiamygliw
1344: [17:37:42] * Shashitechno has joined #silverstripe
1345: [17:37:57] <r3v3rb> I get the correct pagination numbering but the actual list of records is always the full amount not being limited to 5
1346: [17:38:21] <r3v3rb> also when viewing second page or third the setPageStart is not being read either
1347: [17:39:08] <r3v3rb> fixed it, template had Sort() which fucked everything up!
1348: [17:39:45] <guzzlefry> oh, protip
1349: [17:39:52] <r3v3rb> thanks guzzlefry :D
1350: [17:40:08] <r3v3rb> your intervention helped me look outside the class :D
1351: [17:40:10] <guzzlefry> if items randomly disappear/double-up on your pagination
1352: [17:40:19] <guzzlefry> it's most likely this horrible MySQL bug I hit
1353: [17:40:26] <Shashitechno> hello guys, anyway in SS to escape (remove) line feeds (\n) and Carriage Return (\r) from the content ( .XML wont seems to be working)
1354: [17:40:29] <guzzlefry> install MariaDB :P
1355: [17:40:49] * FrozenFire has joined #silverstripe
1356: [17:41:43] <guzzlefry> Shashitechno: probably manually
1357: [17:42:01] <guzzlefry> oh, I think a DataExtension will work, add a function to do that
1358: [17:42:10] <Shashitechno> guzzlefry: right, thats what I am planning to do
1359: [17:42:21] <Shashitechno> guzzlefry: any hint ?
1360: [17:42:34] <guzzlefry> I had to do that for converting '\n' to <br>s.
1361: [17:42:44] <Shashitechno> guzzlefry: DataExtension ?
1362: [17:42:55] <guzzlefry> Let me peek at the logs.
1363: [17:43:21] <Shashitechno> guzzlefry: they depends on the system like windows, linux, mac etx
1364: [17:43:51] <Shashitechno> I found this
1365: [17:43:52] <Shashitechno> \r = CR (Carriage Return) // Used as a new line character in Mac OS before X \n = LF (Line Feed) // Used as a new line character in Unix/Mac OS X \r\n = CR + LF // Used as a new line character in Windows
1366: [17:44:03] <Shashitechno> guzzlefry: Ah, ok
1367: [17:45:34] <guzzlefry> Shashitechno: http://stackoverflow.com/questions/4917596/is-it-possible-to-run-a-function-on-a-silverstripe-template-variable-to-format-o
1368: [17:46:17] <guzzlefry> I think that general idea will work.
1369: [17:46:58] <Shashitechno> guzzlefry: thats cool :)
1370: [17:47:03] <Shashitechno> guzzlefry: thanks !
1371: [17:47:44] <guzzlefry> no problem
1372: [17:59:41] <scpi> does anybody have a favorite photo gallery module?
1373: [18:00:12] <scpi> There used to be one that was kind of the standard. Now it seems like there's a dozen different gallery modules to choose from.
1374: [18:01:08] * r3v3rb quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1375: [18:01:52] * r3v3rb has joined #silverstripe
1376: [18:01:54] * r3v3rb quit (Client Quit)
1377: [18:13:11] * violetina has joined #silverstripe
1378: [18:24:15] * Shashitechno quit (Quit: Page closed)
1379: [18:29:51] * anselmdk quit (Quit: anselmdk)
1380: [18:32:55] * Shrike_Finland has joined #silverstripe
1381: [18:55:35] * gelignite has joined #silverstripe
1382: [19:11:31] * lerni_ has joined #silverstripe
1383: [19:39:33] * Pyromanik has joined #silverstripe
1384: [19:39:50] * muskie9 quit (Ping timeout: 276 seconds)
1385: [19:41:21] * antmas has joined #silverstripe
1386: [19:42:16] <antmas> morning all
1387: [19:42:24] <Pyromanik> Morning antmas
1388: [19:44:38] <Pyromanik> ooh, antmas, jealy much? http://iforce.co.nz/i/0od1vthz.o1i.jpg
1389: [19:45:30] <antmas> :O
1390: [19:45:33] <antmas> Pyromanik: dude
1391: [19:45:55] * Error404NotFound has joined #silverstripe
1392: [19:46:02] <antmas> dat porshce 919
1393: [19:46:02] <Pyromanik> :>
1394: [19:46:22] <antmas> or maybe that's the Audi?
1395: [19:46:37] <antmas> Pyromanik: in the middle, Audi?
1396: [19:46:48] <Pyromanik> #2 Toyota soon to be passed by #3 Porsche
1397: [19:46:55] <Pyromanik> Webber behind wheel
1398: [19:46:59] <antmas> ah nice
1399: [19:47:08] <antmas> lights made me think it was the Audi
1400: [19:47:23] <Pyromanik> No Audi's left by that point!
1401: [19:47:32] <antmas> lol
1402: [19:47:44] <antmas> the new Porsche sounds amazing
1403: [19:48:23] <antmas> ugh
1404: [19:48:30] <antmas> started work at 6am today o.O
1405: [19:51:20] <Pyromanik> antmas, http://iforce.co.nz/i/ej0byzpj.hob.jpg
1406: [19:51:42] <antmas> Pyromanik: Webber finishing?
1407: [19:51:57] <Pyromanik> No, look up
1408: [19:52:12] <antmas> :O
1409: [19:52:16] <antmas> Pyromanik: you with flag?
1410: [19:52:19] <antmas> wait
1411: [19:52:21] <Pyromanik> Was good to see familiar scenery, shame they coudn't hold it around the right way though, lol :P
1412: [19:52:32] <antmas> how can it be you? lol
1413: [19:52:32] <Pyromanik> No, I'm behind camera!
1414: [19:52:34] <antmas> nevermind that
1415: [19:52:46] <antmas> awesome though
1416: [19:52:50] <Pyromanik> Part of Hartley's posse.
1417: [19:53:09] <antmas> which track is that?
1418: [19:53:09] <Pyromanik> I'd assume, since they're above restricted area
1419: [19:53:13] <Pyromanik> Silverstone
1420: [19:53:17] <antmas> nice
1421: [19:53:24] <Pyromanik> Is Hartley in car at that time.
1422: [19:53:26] <antmas> is there live feed for races?
1423: [19:53:47] <Pyromanik> coming 3rd (see lights on side of car, nifty so you can tell who's leading/2nd/3rd in each class)
1424: [19:54:02] <Pyromanik> antmas, yeh, Le Mans radio
1425: [19:54:07] <Pyromanik> .com, or something
1426: [19:54:28] <Pyromanik> http://iforce.co.nz/i/gebxuaop.l31.jpg
1427: [19:54:39] <Pyromanik> Hartley, Webber and I assume the Timo chap.
1428: [19:54:44] <Pyromanik> (forgot last name)
1429: [19:55:07] * Shrike_Finland quit (Quit: Leaving.)
1430: [19:55:14] <Pyromanik> The second Audi: http://iforce.co.nz/i/ecsvmdnj.dg0.jpg
1431: [19:56:36] <Pyromanik> antmas, it's on the tubes
1432: [19:56:43] <Pyromanik> Finished in red flag after 5.5 hours
1433: [19:56:46] <Pyromanik> (out of 6)
1434: [19:56:54] <Pyromanik> dat rain.
1435: [19:57:02] <Pyromanik> antmas, http://iforce.co.nz/i/vjaubdqk.jdo.png
1436: [19:57:12] <Pyromanik> Guess who's in the circle! xD
1437: [19:57:19] <Pyromanik> this time I'm not behind the camera :P
1438: [19:57:57] <Pyromanik> I'm lying there on the grass, as 20000000000000 dB cars scream past at full noise 20m away, face up, asleep.
1439: [19:57:58] <Pyromanik> rofl
1440: [19:58:05] <antmas> Pyromanik: omg these photos
1441: [19:58:09] <antmas> :D
1442: [19:58:38] <Pyromanik> Maximum race spec full noise ferrari's rip past, and I'm asleep. So classic.
1443: [19:58:51] <Pyromanik> So much noise, I've never experienced anything like that before.
1444: [19:59:03] <Pyromanik> you know when you have a bung speaker and it makes that 'bottoming out' rattle?
1445: [19:59:14] <Pyromanik> Your ears do that as the cars go past.
1446: [19:59:23] <Pyromanik> It's just too much, EVEN WITH PLUGS IN
1447: [19:59:59] <Pyromanik> though to be fair 'plugs' were actually sealing IEDs to the radio in my pocket listening to commentators (while asleep).
1448: [20:00:10] <antmas> that's awesome
1449: [20:00:19] <Pyromanik> Best sleep I'd had in months.
1450: [20:00:20] <antmas> had a bunch of people looking over my shoulder at the photos
1451: [20:00:25] <antmas> :P
1452: [20:00:27] <Pyromanik> :P
1453: [20:00:37] <Pyromanik> Next round is spa, you could make that! ;)
1454: [20:00:42] <Pyromanik> :P
1455: [20:00:44] <antmas> our GIS guys are all big car dudes like me
1456: [20:00:49] <antmas> haha
1457: [20:00:50] <antmas> pass
1458: [20:00:53] <Pyromanik> haha
1459: [20:00:58] <Pyromanik> Le Man in June.
1460: [20:01:07] <antmas> oh wait
1461: [20:01:19] <antmas> I thought you meant next round of photos is you in the Spa, not the next race
1462: [20:01:19] <Pyromanik> OMG, you should have heard the noise of the Aston Martin though.
1463: [20:01:21] <antmas> lol
1464: [20:01:24] <Pyromanik> hahahahaha, derp
1465: [20:01:42] <antmas> you get any videos?
1466: [20:01:45] * muskie9 has joined #silverstripe
1467: [20:02:01] <Pyromanik> the ferarris and the mclaren went whipping past with such noise like slow F1 cars
1468: [20:02:07] <Pyromanik> that high whine
1469: [20:02:20] <Pyromanik> same with the LP1 and 2 prototypes
1470: [20:02:34] <Pyromanik> then THUMP THUMP THUMP THUMP along comes the Aston
1471: [20:02:34] <Pyromanik> OMG
1472: [20:02:37] <Pyromanik> the noise
1473: [20:02:40] <Pyromanik> WANT
1474: [20:02:45] <Pyromanik> EPIC WANT
1475: [20:03:14] <Pyromanik> There was a point on the sunday where all the astons just happened to be circling together, omfg
1476: [20:03:24] <antmas> yeah the Astons are amazing
1477: [20:04:34] <antmas> I watched part of it on the weekend, but only really paid attention to the MotoGP
1478: [20:06:02] <antmas> more photos pls :D
1479: [20:06:41] <Pyromanik> http://www.youtube.com/watch?v=QgBB-uSHiCU&t=2m11s
1480: [20:06:50] <Pyromanik> my pants :/
1481: [20:06:56] <Pyromanik> xD
1482: [20:07:02] * Error404NotFound quit (Ping timeout: 245 seconds)
1483: [20:07:29] <antmas> :O
1484: [20:07:33] <antmas> instaboner
1485: [20:08:45] <Pyromanik> ikr
1486: [20:08:52] <Pyromanik> compare that to the ferarri etc
1487: [20:09:17] <Pyromanik> http://www.youtube.com/watch?v=kAnOeDoobII (skip forward to about anywhere :P)
1488: [20:09:48] <Pyromanik> Aston just has that noise man.
1489: [20:10:16] <Pyromanik> antmas, so yeah, I had a good Easter. You? :P
1490: [20:10:20] * Ryan-Toast has joined #silverstripe
1491: [20:11:22] <antmas> Pyromanik: yeah not bad, picked up a couple of contracts etc
1492: [20:11:27] * UndefinedOffset quit (Quit: Leaving.)
1493: [20:11:48] * UndefinedOffset has joined #silverstripe
1494: [20:12:40] <antmas> Pyromanik: were tickets expensive?
1495: [20:13:06] <Pyromanik> Nah
1496: [20:13:09] <Pyromanik> $50
1497: [20:13:15] <antmas> fuck
1498: [20:13:15] <Pyromanik> for Fri, Sat & Sun
1499: [20:13:18] <antmas> so jealy
1500: [20:13:26] <Pyromanik> well, $100 really, 50 quid.
1501: [20:13:32] <antmas> still
1502: [20:13:44] <Pyromanik> but i'm earning pounds, so relatively it's like going to the races in NZ for a 50
1503: [20:14:19] <Pyromanik> I only decided I was going at 10pm Friday though. Got up at 3am and got the 5am train
1504: [20:14:23] <Pyromanik> 120 quid
1505: [20:14:29] <antmas> lol
1506: [20:14:39] <Pyromanik> 4 hours later 10:30am I'm at the track
1507: [20:14:41] <antmas> at least stuff like that you can actually do
1508: [20:14:44] <antmas> the never sell out
1509: [20:14:54] <antmas> they*
1510: [20:15:05] <Pyromanik> On Sunday there were quite a few Aussie flags floating around.
1511: [20:15:16] <Pyromanik> I just kept shouting out "The stars are the wrong colour!"
1512: [20:15:34] <Pyromanik> but since they didn't really get them out until Webber was in the car, and he was last driver...
1513: [20:15:42] <Pyromanik> but still, on the podium, etc
1514: [20:15:46] <antmas> nice
1515: [20:15:58] <Pyromanik> They didn't hear me though because loudspeaker commentary (same as on the vids)
1516: [20:16:06] <Pyromanik> Radio Le Mans
1517: [20:16:12] * UndefinedOffset quit (Ping timeout: 245 seconds)
1518: [20:16:23] <antmas> I wish they would live stream it
1519: [20:16:23] <Pyromanik> My cell has FM tuner chip though, stoked :P
1520: [20:16:29] <Pyromanik> antmas, They did.
1521: [20:16:37] <Pyromanik> radioleman.com
1522: [20:16:41] <Pyromanik> or something like that
1523: [20:16:42] <antmas> Pyromanik: I mean the video
1524: [20:16:47] <Pyromanik> They did.
1525: [20:16:51] <antmas> :(
1526: [20:16:53] <antmas> ffffff
1527: [20:16:55] <Pyromanik> hhaha
1528: [20:17:01] <antmas> is that for the whole season?
1529: [20:17:02] <Pyromanik> you would have been up all night though.
1530: [20:17:07] <Pyromanik> should be.
1531: [20:17:11] <antmas> link?
1532: [20:17:23] <Pyromanik> although they only did the support races for silverstone.
1533: [20:17:38] <Ryan-Toast> Pyromanik: Hey, Pyro. What would be the equivilent salary in the UK for something like $80k here?
1534: [20:17:44] <Pyromanik> http://google.com/search?q=radio+le+mans
1535: [20:17:55] <Pyromanik> Ryan-Toast, exchange is half.
1536: [20:18:06] <Pyromanik> ie, 2NZD 1GBP
1537: [20:18:19] <Pyromanik> so 40 I assume.
1538: [20:18:23] <Pyromanik> k
1539: [20:18:27] <Ryan-Toast> Pyromanik: So literally just the exchange rate?
1540: [20:18:39] <Pyromanik> well I dunno what you mean if not exchange rate
1541: [20:20:07] <Ryan-Toast> Jobs pay a certain amount in each country, I was wondering what an intermediate dev would go for.
1542: [20:20:09] <antmas> Pyromanik: nothing playing right now I guess
1543: [20:20:24] <Pyromanik> Ryan-Toast, well then yeah in that case it's pretty comparible.
1544: [20:20:26] <Ryan-Toast> I’m moving there in a year and a bit, so starting my research :)
1545: [20:20:33] <Ryan-Toast> Pyromanik: Cool, cheers.
1546: [20:20:44] <Pyromanik> Except for the fact that 80k NZD is about 2.3x as much as an intermediate dev earns in NZ
1547: [20:20:56] <Pyromanik> :P
1548: [20:21:14] <antmas> ^^ this
1549: [20:21:22] <Ryan-Toast> Depends if you sleep with your boss or not.
1550: [20:21:25] <Pyromanik> 60 max, for a very good one. Absolute max, and you'd be fuck'n lucky to get it.
1551: [20:21:26] <antmas> not quite 2.3 though :P
1552: [20:21:40] <antmas> I'm on 55 and I'm only grat
1553: [20:21:43] <antmas> grad*
1554: [20:21:48] <Pyromanik> yeah probably not. Probably more like 1.2
1555: [20:21:55] <Pyromanik> oh, 80... 1.5
1556: [20:21:56] <Pyromanik> yeh
1557: [20:21:57] <Pyromanik> ish
1558: [20:22:00] <Pyromanik> 1.4 perhaps
1559: [20:22:14] <Pyromanik> I was intermeidate on just 50.
1560: [20:22:18] <Pyromanik> or something
1561: [20:22:20] <Ryan-Toast> Well that’s around what I earn.
1562: [20:22:21] <Pyromanik> can't remember tbh
1563: [20:22:23] <antmas> wow, really?
1564: [20:22:28] <Ryan-Toast> Yarp
1565: [20:22:30] <Pyromanik> must have been 60
1566: [20:22:30] <Pyromanik> ha
1567: [20:22:37] <Pyromanik> Ryan-Toast, really?
1568: [20:22:38] <antmas> surely more than me
1569: [20:22:43] <Ryan-Toast> Pyromanik: Yarp.
1570: [20:22:46] <Pyromanik> cunt.
1571: [20:22:48] <Pyromanik> :P
1572: [20:22:51] <Ryan-Toast> Pyromanik: :)
1573: [20:22:56] <Pyromanik> That's more than I'm getting here.
1574: [20:22:56] <antmas> Ryan-Toast: you're on about 80k?
1575: [20:23:05] <Pyromanik> if that helps you understand.
1576: [20:23:16] <Pyromanik> but then again, big cities have more demand and pay a bit higher.
1577: [20:23:20] <Pyromanik> You're in Akl right?
1578: [20:23:24] <antmas> true
1579: [20:23:26] <Pyromanik> if I were in London I'd be getting more
1580: [20:23:32] <Pyromanik> Probably a reasonable amount more.
1581: [20:23:46] <antmas> yeah but it's pointless as you pay more to get more
1582: [20:23:55] <Ryan-Toast> Pyromanik: There’s no doubt in my mind that you’re a far superior developer than I, but I guess in my line of work I can take a project from start to finish, so there’s value in that for my company.
1583: [20:23:56] <Pyromanik> but I dunno if that would equal 80, and finding a full time gig in london is not an easy thing.
1584: [20:24:11] <Pyromanik> they do 'contract' work here... which isn't really contract like we think of (freelancingish)
1585: [20:24:36] <Pyromanik> 'contract' here means "You come in here and work at a desk like a normal employee but we only give you contract for 3 months"
1586: [20:24:49] <antmas> Pyromanik: it means the same to me really
1587: [20:24:59] <antmas> we have it here in my office a lot
1588: [20:25:02] <Pyromanik> but that means turn up to work every day like a normal employee, etc.
1589: [20:25:08] <antmas> yeah
1590: [20:25:09] <Pyromanik> None of the freedoms of being a proper contractor
1591: [20:25:35] <Pyromanik> antmas, that's bs, in NZ that's an employee on a temporary contract.
1592: [20:25:40] <Pyromanik> not a 'contractor
1593: [20:25:43] <Pyromanik> '
1594: [20:25:51] <antmas> Pyromanik: we have both
1595: [20:25:57] <Pyromanik> antmas, no, I mean by law.
1596: [20:26:01] <Pyromanik> there's no difference.
1597: [20:26:02] <antmas> oh
1598: [20:26:06] <antmas> I know what you mean
1599: [20:26:21] <antmas> just staying in my mind, that's how it kinda is here too
1600: [20:26:23] <Pyromanik> but here they get away with that. I'd have to run my own business and they'd pay me through that, etc.
1601: [20:26:23] <antmas> in theory
1602: [20:26:31] <Pyromanik> but in NZ that would be illegal.
1603: [20:26:40] <antmas> yup
1604: [20:26:52] * UndefinedOffset has joined #silverstripe
1605: [20:27:08] <antmas> Ryan-Toast: showed BP demo to a potential client last night
1606: [20:27:20] <Pyromanik> BP demo?
1607: [20:27:28] <antmas> he was all like 'GIVE ME IT NOW' and 'TAKE ALL MY MONIES'
1608: [20:27:36] <Pyromanik> BridgePort?
1609: [20:27:43] <antmas> Pyromanik: boilerplate demo for SS
1610: [20:27:51] <Pyromanik> I don't know what this is.
1611: [20:28:00] <Pyromanik> well I do, but I don't know what it means.
1612: [20:28:07] <Pyromanik> is there a live link?
1613: [20:28:23] <antmas> Ryan-Toast: http://webdough.co.nz/~boilerpl/
1614: [20:28:27] <antmas> Pyromanik: *
1615: [20:28:47] <Pyromanik> so anyway I live up the road from where they made the Akl Harbour Bridge
1616: [20:29:05] <Pyromanik> that the aussies get so mad about because they think we copied the Sydney harbour bridge
1617: [20:29:06] * nickmolhoek has joined #silverstripe
1618: [20:29:46] <antmas> w00t, time in lueue
1619: [20:29:52] <antmas> leue?
1620: [20:29:53] <Pyromanik> I present to you, the bridge up the road (in the other direction) http://upload.wikimedia.org/wikipedia/commons/6/6c/Tyne_Bridge.jpg
1621: [20:29:56] <antmas> I don't know how to spel it
1622: [20:30:03] <Pyromanik> lieu?
1623: [20:30:11] <antmas> thats it
1624: [20:30:17] <Pyromanik> :>
1625: [20:30:33] <Pyromanik> so anyway, aussies should shut the hell up, 's what I'm saying :P
1626: [20:30:33] <antmas> All I did was watch a video for 2 hours
1627: [20:30:43] <Pyromanik> antmas, legit
1628: [20:30:52] <antmas> Pyromanik: lol
1629: [20:31:29] <Pyromanik> Tyne bridge is older than Sydney bridge, although Sydney bridge not modeled on Tyne, it's obviously a big influence (and also made by same company).
1630: [20:31:37] <Pyromanik> as is Akl.
1631: [20:31:40] * UndefinedOffset quit (Client Quit)
1632: [20:34:21] <antmas> tim in lieu is just used as extra holiday hours right?
1633: [20:34:24] <antmas> basically?
1634: [20:37:10] * oddnoc has joined #silverstripe
1635: [20:37:58] <oddnoc> Anyone else notice that booleans are always true in templates unless you explicitly say <% if $Thing == 1 %> ?
1636: [20:44:40] <unsignedint> oddnoc: that is a false statement
1637: [20:44:51] <oddnoc> and yet it happens
1638: [20:44:53] <unsignedint> what makes you sure $Thing is returning a boolean?
1639: [20:45:08] <oddnoc> because I explicitly cast to (bool) in the php code
1640: [20:45:41] <unsignedint> what is output if you $Debug($Thing) ?
1641: [20:46:18] <unsignedint> In my experience, booleans work as expected
1642: [20:46:53] <scpi> do you mean that <% if $Thing %> returns true even if it's set as false in php?
1643: [20:47:33] <Ryan-Toast> antmas: Cool :)
1644: [20:47:45] <oddnoc> Yes, if $Thing always acts as true
1645: [20:48:00] <Ryan-Toast> antmas: I would delete the newsletter module before you install the site.
1646: [20:48:12] <unsignedint> he reckons $Thing is a boolean, but has not provided code or his silverstripe version
1647: [20:48:15] <Ryan-Toast> antmas: It’s still being made, and I accidentally pushed it to github
1648: [20:48:44] <Ryan-Toast> What the shit is this? https://codebabes.com/
1649: [20:48:45] <scpi> I think that's expected behavior. My assumption is that <% if $Thing %> checks whether $Thing exists, not what its value is.
1650: [20:49:00] <antmas> Ryan-Toast: np, any eta? It would be really good to push to this particular client
1651: [20:49:20] <oddnoc> That is a big change. Not at all sure I agree with it.
1652: [20:49:22] <Ryan-Toast> antmas: I’m doing some work on it today. Can’t really give you a finished date.
1653: [20:49:31] <antmas> Ryan-Toast: all good
1654: [20:49:40] <Ryan-Toast> antmas: I’ve gotten this far: http://gfycat.com/OldScornfulFly
1655: [20:49:59] <oddnoc> It really flies in the face of what a boolean is meant to mean.
1656: [20:50:10] <antmas> Ryan-Toast: not far off really
1657: [20:50:32] <antmas> also, that site is awesome and I need to use it
1658: [20:50:33] <antmas> lol
1659: [20:50:35] <Ryan-Toast> antmas: I’m making it so you can create campaigns and shiot from the cms
1660: [20:50:37] <scpi> I think you need to actually check the value if you want to check the value.
1661: [20:50:43] <Ryan-Toast> and it will pull blog/news items
1662: [20:50:52] <antmas> Ryan-Toast: can you select and send a campaign yet?
1663: [20:51:03] <scpi> <% if %> here might behave more like isset() in php.
1664: [20:51:04] <Ryan-Toast> antmas: On my local machine you kind of can.
1665: [20:51:08] <antmas> cool
1666: [20:51:09] <scpi> But I'm half guessing here.
1667: [20:51:11] <unsignedint> scpi: I think that's expected behavior. My assumption is that <% if $Thing %> checks whether $Thing exists, not what its value is. <-- really? I define methods called eg getSuccess() on my controller that so something like 'return ($this->request->getVar("success") == "1")' which is a boolean, and then in the template do <% if Success %> and it works as expected
1668: [20:51:15] <Ryan-Toast> not sure what’s on the repo
1669: [20:51:29] <antmas> creating the campaign in SS would be awesome
1670: [20:51:42] <antmas> at least, filling the content areas
1671: [20:51:48] <oddnoc> Hrm. OK, I’m going to make a simple test case to see if I should file a bug.
1672: [20:51:54] <scpi> Well then, I may just be whistling out my butt...
1673: [20:52:20] <antmas> Ryan-Toast: how did you record that gif btw?
1674: [20:52:29] <Ryan-Toast> LICEcap
1675: [20:52:39] <antmas> interesting
1676: [20:52:46] <antmas> might make some for this Sharepoint biz
1677: [20:53:40] <Ryan-Toast> you can set the fps and shit, it’s pretty handy.
1678: [20:54:15] <scpi> he's checking a value ($), not calling a control, right? does that make a difference?
1679: [20:54:33] <scpi> oddnoc: post up some sample code on pastie
1680: [20:54:39] <antmas> Ryan-Toast: oh yeah, I could use this a lot
1681: [20:54:57] <Ryan-Toast> I use it to get sweet sweet reddit karma.
1682: [20:55:19] <oddnoc> yup, putting it together now
1683: [21:05:40] <oddnoc> And… there’s a Ctrl-A embedded at the end of line 51 of install.php5
1684: [21:05:46] <oddnoc> this is madness!
1685: [21:06:55] * wracu has joined #silverstripe
1686: [21:07:16] <antmas> oddnoc: I thought that got fixed?
1687: [21:07:30] <oddnoc> checking it now…
1688: [21:07:34] <antmas> Stomach: didn't you find that? ^^^
1689: [21:07:49] <antmas> or someone here noticed it 2 weeks or so ago
1690: [21:08:30] * oddnoc fixed in 3.1 branch, not at 3.1.4, though
1691: [21:12:15] <Stomach> yeah I fixed it
1692: [21:12:27] <Stomach> 3.1.4 is a release, it will be wrong in that until another release
1693: [21:12:34] <oddnoc> yup
1694: [21:12:54] <Stomach> I just maintain my own installer anyhow
1695: [21:12:57] <Stomach> much better
1696: [21:17:03] <Pyromanik> so what you're saying is fuck composer?
1697: [21:17:08] <Pyromanik> yeah, that's what I thought.
1698: [21:17:57] <oddnoc> ah ha! It happens when passing values to an include.
1699: [21:18:31] <antmas> lol Pyromanik
1700: [21:20:53] * UncleCheese_ has joined #silverstripe
1701: [21:22:04] <Pyromanik> Ryan-Toast, what the shit indeed {code:babes}
1702: [21:22:24] <Ryan-Toast> Pyromanik: What a sad website.
1703: [21:23:03] <Pyromanik> It's like female empowerment and subjugation all in the same site. Just... what the shit.
1704: [21:23:26] <oddnoc> PHP: http://pastie.org/9128884 Templates: http://pastie.org/9128882 Works as expected if not passed through in include. As shown, always prints “War is Peace”.
1705: [21:24:01] <Pyromanik> "Hey, wimmins isn't dumb, they know code! ... But all they're good for is sexual objectification so boys can learn code"
1706: [21:24:04] <Pyromanik> liek, wtf
1707: [21:25:25] <antmas> Ryan-Toast: it's an excellent trolling tool it seems
1708: [21:25:41] <antmas> Ryan-Toast: also, this LICECap tool is tits
1709: [21:25:44] * Smashcat has joined #silverstripe
1710: [21:27:02] <Smashcat> Hi, anyone know what I can't use DB::query in the init method in a controller in SS? mysql_error() gives "Access denied for user www-data..." so assume it's not making a DB connection. Although I am creating and storing objects before the error so there must be a connection
1711: [21:28:00] <guzzlefry> err
1712: [21:28:30] <guzzlefry> Smashcat: maybe try mysqli_error()
1713: [21:28:38] <guzzlefry> I don't recall what SilverStripe uses internally for database stuff.
1714: [21:28:44] <guzzlefry> it could be PDO
1715: [21:28:54] <oddnoc> So. I’m filing a bug. That is badly broken.
1716: [21:29:10] <Smashcat> guzzlefry: Ah yeah thanks, that was it :)
1717: [21:33:23] <oddnoc> or not… It looks like I don’t have to pass anything in. So maybe includes are just badly documented
1718: [21:33:25] * scpi quit (Quit: scpi)
1719: [21:34:33] <Smashcat> Weird thing is, it doesn't seem to be using mysqli either. As mysqli_real_escape_string("xxx"); returns an empty string.
1720: [21:37:09] <Ryan-Toast> Smashcat is a cool nick.
1721: [21:37:18] <Smashcat> :)
1722: [21:38:42] * violetina quit (Ping timeout: 245 seconds)
1723: [21:39:27] * violetina has joined #silverstripe
1724: [21:40:04] <Pyromanik> Smashcat, bug report tbh
1725: [21:40:13] <Pyromanik> site otherwise works right?
1726: [21:40:39] <Stomach> Pyromanik - nope, its just a composer repository :P
1727: [21:40:40] <Pyromanik> oddnoc, sounds messed up, bug report best move.
1728: [21:40:46] <antmas> oh
1729: [21:40:49] <antmas> Smashcat:
1730: [21:40:58] <oddnoc> yup
1731: [21:41:03] <Smashcat> Pyromanik: Yep. It's not consistent either it seems. Ah well
1732: [21:41:09] <antmas> you were the cat doing with the super stressful job right?
1733: [21:41:24] <Smashcat> antmas: Very stressful this week, yeah :)
1734: [21:41:57] <antmas> :D
1735: [21:42:17] <Pyromanik> Smashcat, weird issue. So loading a page sometimes works and sometimes doesn't?
1736: [21:42:54] <Pyromanik> Fuck I should just charge money to answer silverstripe questions all day.
1737: [21:43:00] <Smashcat> Pyromanik: No nor that, it's to do with using DB::query(). Seems to work in some places, not others.
1738: [21:43:09] <Pyromanik> that would be the dream. It's pretty much what I do now anyway... lol
1739: [21:43:17] <UncleCheese_> USA: Where we don't just kill our criminals, we make them explode!
1740: [21:43:27] <Pyromanik> UncleCheese_, fucking fantastic.
1741: [21:43:28] <Smashcat> Not a big deal to be honest, just manually creating a connection to mysql so I can do what I like with it :)
1742: [21:43:30] <UncleCheese_> 'MURCA FUCK YEAH!!!!!!!!!!
1743: [21:43:37] <Pyromanik> I've got some criminals I'd like exploded.
1744: [21:43:49] <Pyromanik> Unfortunately I'm not in the 'murca.
1745: [21:44:23] <Pyromanik> Saw the cunt out walking his bitch the other day, and he had a dog with him too.
1746: [21:44:37] <UncleCheese_> some pinko European country finds out that we're using their drug to kill people, and they stop selling it.. what do we do? Postpone the executions? Fuck that. The show must go on. Let's just use whatever we can find. I'm sure it will be just as effective at killing people.
1747: [21:44:45] <Pyromanik> smile on the face, happy as could be.
1748: [21:44:52] <Pyromanik> I should have asked him for my shit back.
1749: [21:45:14] <Pyromanik> UncleCheese_, ha, 'more than one way to skin a cat'
1750: [21:45:26] * an_Eskimo has joined #silverstripe
1751: [21:45:29] <UncleCheese_> that's a great idea. i'll submit that to the DOJ
1752: [21:45:29] <Pyromanik> Nitroglycerine would be a good one.
1753: [21:45:32] <UncleCheese_> skinning
1754: [21:45:37] <Smashcat> Saw tht story about the execution in the US, Made me think of the film "Law Abiding Citizen" :)
1755: [21:45:39] * joelpittet has joined #silverstripe
1756: [21:45:42] * Azure quit (Quit: My MBP went to sleep.)
1757: [21:45:47] <Ryan-Toast> “Happy anniversary. You're okay, I guess.” I’m such a romantic.
1758: [21:45:48] <antmas> wait
1759: [21:45:53] <Pyromanik> Give them a vile and if they can make it over a tightrope they get to go free.
1760: [21:45:53] <antmas> what execution?
1761: [21:46:08] <Pyromanik> and by free I mean get off death row, go back to jail.
1762: [21:46:24] <Smashcat> antmas: US Govt. busy murdering people as usual :)
1763: [21:46:41] <Pyromanik> my god, I thought about Law Abiding Citizen lately too
1764: [21:46:47] <antmas> Smashcat: yeah, but this execution sounds very.... specific
1765: [21:46:52] <Pyromanik> But I've not had healthy thoughts lately :<
1766: [21:47:05] * antmas worries about Pyromanik
1767: [21:47:08] <antmas> :P
1768: [21:47:16] <Smashcat> antmas: They screwed it up - injected 3 drugs, made his veins explode or something
1769: [21:47:23] <Pyromanik> eww
1770: [21:47:36] <antmas> Smashcat: crazy
1771: [21:47:42] <Pyromanik> Just use TNT like did in the good ol' fashioned days.
1772: [21:47:51] <Pyromanik> much better
1773: [21:48:01] <antmas> Pyromanik: "Watch me explooooooooooooooooooooooooooooode!!!"
1774: [21:48:08] <Smashcat> heh
1775: [21:48:09] <Pyromanik> hahahh xD
1776: [21:48:32] <antmas> that song must be played at every execution
1777: [21:48:57] <Pyromanik> Nah, usually it's thunderstruck, right? xD
1778: [21:49:26] <Pyromanik> I hear the nurses do air guitar before putting the sponge on the head.
1779: [21:49:44] <antmas> fucking llloooo
1780: [21:49:46] <antmas> amazing
1781: [21:49:51] <antmas> lol
1782: [21:50:35] <Pyromanik> shit, bed.
1783: [21:50:51] * lerni_ quit ()
1784: [21:50:51] <Pyromanik> (rosetta stoned)
1785: [21:51:08] <Pyromanik> not literally though, just say'n.
1786: [21:54:21] * bridgetm has joined #silverstripe
1787: [22:05:18] * UncleCheese_ quit (Quit: UncleCheese_)
1788: [22:05:48] <Smashcat> I have a sneaky feeling this SS site has been too slow to process the return pings from a payment gateway :) Oops...
1789: [22:06:15] <antmas> Smashcat: 3.1?
1790: [22:06:26] <Smashcat> Apache benchmark reports its maximum page delivery as 12 pages per minute - which is.... bad...
1791: [22:06:37] <antmas> wow
1792: [22:06:38] <Smashcat> antmas: Don't know which version it is tbh
1793: [22:06:40] <antmas> slow
1794: [22:06:57] <Smashcat> Glacial
1795: [22:07:49] <guzzlefry> yeah...
1796: [22:07:53] <Smashcat> Just checked the payment gateway, and it's been handling over 100 transactions per minute. So that doesn't really add up :)
1797: [22:08:09] <guzzlefry> Authorize.net does that stupid post back thing.
1798: [22:08:10] <antmas> Smashcat: big site?
1799: [22:08:36] <Smashcat> antmas: Not really - it's a booking portal for an event. Gets spiky traffic
1800: [22:09:15] * UncleCheese_ has joined #silverstripe
1801: [22:09:17] <Smashcat> I'll convert the callback to a standalone php script i think - should be fine then.
1802: [22:11:15] * Azure has joined #silverstripe
1803: [22:11:37] * pako has joined #silverstripe
1804: [22:11:59] * pako is now known as Guest96696
1805: [22:12:04] <Smashcat> Just checked the code (i didn't write it) and yeah I can see why. It's creating an object from a record in the UnconfirmedBooking table, then copying all the fields into another object called Booking. Then storing that to the DB again. Basically a really slow way of doing an INSERT INTO Booking SELECT * FROM UnconfirmedBooking; :)
1806: [22:12:22] <antmas> Smashcat: lol!
1807: [22:12:23] * Guest96696 quit (Client Quit)
1808: [22:12:29] <Smashcat> (both tables have the exact same fields :)
1809: [22:12:29] <antmas> sounds like something I'd do ;)
1810: [22:12:48] <UncleCheese_> From trivia night: "In what year did New Zealand get its second television station?"
1811: [22:12:52] * violetina quit (Ping timeout: 245 seconds)
1812: [22:13:00] <antmas> UncleCheese_: ughhh, 58?
1813: [22:13:06] * violetina has joined #silverstripe
1814: [22:13:06] <UncleCheese_> haha
1815: [22:13:18] <UncleCheese_> it wasn't the question that scared me .. it was that everyone knew the answer!
1816: [22:13:18] * antmas doesn't do well with trivia
1817: [22:13:42] * pokobella has joined #silverstripe
1818: [22:13:43] <UncleCheese_> "OMG!! We have two channels now! I'll never leave the house!"
1819: [22:13:53] <antmas> UncleCheese_: so what was the year?
1820: [22:13:55] <UncleCheese_> it was like 1983 or some shit
1821: [22:13:55] <Smashcat> livin the dreram dude
1822: [22:13:59] <Smashcat> *dream
1823: [22:14:11] <antmas> woah, that late?
1824: [22:14:21] <UncleCheese_> yean, it was definitely lolz worthy
1825: [22:14:56] <antmas> not much has changed tbh
1826: [22:15:11] <antmas> now it's all "crappy news" and "shortland st channel"
1827: [22:16:58] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1828: [22:17:20] * muskie9 has joined #silverstripe
1829: [22:17:58] * violetina quit (Ping timeout: 240 seconds)
1830: [22:18:21] * violetina has joined #silverstripe
1831: [22:22:30] <pokobella> wazzaaaaap
1832: [22:23:56] <simon_w> Apparently, you are
1833: [22:25:40] <pokobella> what normally happens at silverstripe meetups?
1834: [22:25:57] <pokobella> I'm trying to organise one in my location
1835: [22:26:21] <Giganaire> drinking and pizza
1836: [22:27:00] <pokobella> yeah, that's what I see
1837: [22:27:35] <pokobella> Good tatics to get guys on board
1838: [22:28:38] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1839: [22:29:32] <antmas> pokobella: what's the locale?
1840: [22:30:37] <Giganaire> seriously tho, the best part is just being able to chat with other people about what you're working on
1841: [22:30:55] <Giganaire> and being able to discuss issues you're having etc
1842: [22:31:06] * violetina quit (Ping timeout: 240 seconds)
1843: [22:31:54] <pokobella> Nice one, I think I'm the only person using silverstripe in my location. I can use that to get newbies
1844: [22:31:57] * violetina has joined #silverstripe
1845: [22:32:52] <antmas> pokobella: where?
1846: [22:33:39] <pokobella> Ghana
1847: [22:34:08] <antmas> woah, random
1848: [22:34:22] <pokobella> yeah
1849: [22:35:13] * Jakx has joined #silverstripe
1850: [22:35:16] <Smashcat> Is there any easy way to stop SS from crashing out with a fatal error because a query failed? I don't care if it fails, it doesn't need to take the site down :)
1851: [22:36:37] <antmas> Smashcat: can you not just try catch it?
1852: [22:37:19] <Smashcat> antmas: Yeah, that was my first idea. Doesn't prevent it crashing out though
1853: [22:37:47] <antmas> Smashcat: what part of the query fails?
1854: [22:38:36] <Smashcat> Bleugh, changed my query instead. I'm just copying stuff into a log table. Every so often the primary key may conflict, and that crashes SS. So changed it to INSERT IGNORE INTO... so MySQL handles the problem
1855: [22:39:39] <antmas> Smashcat: primary key conflicts is already a problem :P
1856: [22:39:45] <antmas> are*
1857: [22:40:03] <antmas> but yeah, SS shouldn't go down for that
1858: [22:40:07] <Smashcat> Yeah, not in this case. If there's a conflict, it's because the record was already stored, so I don't care :)
1859: [22:40:26] * wracu quit (Quit: Page closed)
1860: [22:40:41] <antmas> I have an issue on a site where if an external RSS feed is down, the site crashes
1861: [22:40:48] * wracu has joined #silverstripe
1862: [22:40:50] <wracu> morning
1863: [22:40:51] <Smashcat> nice :)
1864: [22:40:55] <antmas> driving me nuts as there is supposedly fails safe code there
1865: [22:41:00] <antmas> like a mockfeed system
1866: [22:41:19] <Smashcat> antmas: I usually pull RSS feeds in with a cronjob polling a hidden script. Thendisplay the cached version.
1867: [22:41:59] <antmas> Smashcat: that's an idea, might try that
1868: [22:42:01] <antmas> thanks
1869: [22:42:25] <Smashcat> :) Lot more efficient as you're only getting the feed once for any number of users
1870: [22:42:47] <antmas> Smashcat: any chance you could share how it's done?
1871: [22:43:15] * violetina quit (Remote host closed the connection)
1872: [22:43:48] <Smashcat> antmas: Just create a table (or write to a file) and have the cronjob call wget to poll a page. The page gets the RSS feed, and if it's ok, then it writes it to the table/file. The front-end scripts use the table/file for the output in the browser
1873: [22:43:59] <wracu> I'm just after a quick tip/hint if anyone is able...
1874: [22:44:02] <wracu> Currently have a ListboxField on two pages types, PageA and PageB (the child). The listbox is populated from the same set of DataObjects.
1875: [22:44:09] <wracu> New requirement is to leave PageA as is, but on PageB, to simply display the parents (PageA) choices.
1876: [22:44:18] <antmas> Smashcat: nice, sounds easy
1877: [22:44:23] <Smashcat> it's a doddle :)
1878: [22:44:32] <antmas> the efficiency will keep the neckbeards happy
1879: [22:44:37] <Smashcat> heh
1880: [22:45:32] * joelpittet quit ()
1881: [22:46:45] * zagoodwin has joined #silverstripe
1882: [22:47:29] * oddnoc quit (Quit: bye!)
1883: [22:51:01] * Jakx quit (Quit: ~ Trillian Astra - www.trillian.im ~)
1884: [22:52:10] * pokobella quit ()
1885: [22:54:03] * Azure quit (Quit: Blue Sky Fish)
1886: [23:04:31] <Stomach> wracu - if ($this->Parent()->ListboxChoices()) { $fields->addFieldToTab(ReadonlyField::create('ParentListboxChoices', 'Parent Listbox Choices', implode($this->Parent()->ListboxChoices()->map()->toArray(), ','));)}
1887: [23:04:34] <Stomach> or something
1888: [23:06:55] * Azure has joined #silverstripe
1889: [23:09:14] <wracu> stomach - ta, I'll try that and see what I come up with
1890: [23:12:46] <Giganaire> heh
1891: [23:13:23] * pippy_ has joined #silverstripe
1892: [23:13:54] <Giganaire> Fire sent a job through to Police, they went to a garage fire and found significant quantities of drug equipment
1893: [23:14:57] <Giganaire> sergeant went there, now requested a bunch of other units
1894: [23:15:08] <Giganaire> i'm thinking P lab
1895: [23:17:40] <antmas> Giganaire: Hamilton aye
1896: [23:17:45] <antmas> sounds like a fun place!
1897: [23:18:59] <Ryan-Toast> what do you use to make a table in the backend?
1898: [23:23:27] <Ryan-Toast> if I wanted to push a table to a tab, how would I go about doing that?
1899: [23:24:04] <Ryan-Toast> would I just push a gridfield?
1900: [23:24:34] <antmas> Ryan-Toast: more than likely I'd imagine
1901: [23:25:32] <Ryan-Toast> Gridfield has to be a datalist though.
1902: [23:26:30] <antmas> hmmm
1903: [23:26:48] * desperate quit (Ping timeout: 240 seconds)
1904: [23:38:44] * spronk0 has joined #silverstripe
1905: [23:42:02] <spronk0> hmm
1906: [23:42:34] <spronk0> need to figure out whether this isssue is being caused by mod_security or by something else..
1907: [23:42:55] * Bollig|DesignCty has joined #silverstripe
1908: [23:42:59] <spronk0> post to admin/settings/EditForm just returns a 404 :/
1909: [23:44:20] <Ryan-Toast> antmas: should I just create a new dataList and add to it?
1910: [23:44:42] <antmas> Ryan-Toast: yeah I was just reading up on that, it's one a approach at least
1911: [23:44:48] <antmas> a-*
1912: [23:45:31] <Ryan-Toast> link?
1913: [23:46:46] <antmas> Ryan-Toast: just the datalist/gridview docs
1914: [23:46:49] <antmas> nothing new
1915: [23:47:06] <antmas> I just needed to be sure I wasn't spinning you bs :P
1916: [23:54:02] * PapaBearNZ has joined #silverstripe
1917: [23:54:14] <PapaBearNZ> Hi All!
1918: [23:55:10] <PapaBearNZ> Does anyone have a working example of overloading the GridField detail rows - I need to add a class to a specific rows to act as an indicator of which DO is "Active"
1919: [23:55:48] * travis-ci has joined #silverstripe
1920: [23:55:48] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2411 (3.1 - 512c714 : Ingo Schommer): The build was broken.
1921: [23:55:48] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ff42ad268ef2...512c7140ccf6
1922: [23:55:48] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/24147170
1923: [23:55:48] * travis-ci has left #silverstripe
1924: [23:58:37] * babak quit (Quit: Connection closed for inactivity)
1925: [23:59:11] <Ryan-Toast> antmas: I don’t even know why I bother using the docs search.
1926: [23:59:16] <Ryan-Toast> so useless.

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