#silverstripe IRC Log

IRC log for 29 July 2013

All timestamps are in UTC.

1: [00:00:00] <ss23> I believe so, guci0
2: [00:00:03] <ss23> guzzlefry*
3: [00:01:01] <guzzlefry> oh good, i was looking at some older code and it was referencing "Created". Caused one of those "Where is this coming from!?" moments. ;)
4: [00:01:04] * Bollig|DesignCty has joined #silverstripe
5: [00:05:41] <zippy__> 4G in Welly eh
6: [00:06:04] * SightUnseen has joined #silverstripe
7: [00:07:05] * SightUnseen has left #silverstripe
8: [00:08:05] * DigNZ1 quit (Ping timeout: 256 seconds)
9: [00:10:05] * DigNZ1 has joined #silverstripe
10: [00:16:33] * DigNZ1 quit (Quit: DigNZ1)
11: [00:19:24] * SticksM has joined #silverstripe
12: [00:19:52] * Peavers has joined #silverstripe
13: [00:19:58] <Peavers> Whats the haps.
14: [00:27:33] <SticksM> Hi all, I have an issue with GridField in SS3.0. I have a custom admin user that has access to everything except 'Subsites' and 'Security' in the CMS. They can add DataObjects belonging to pages through the GridField, but the GridField appears empty to them. I have no custom canView() methods or anything like that.
15: [00:27:46] <SticksM> The issue goes away when I give them 'Full administrative rights'.
16: [00:28:24] <SticksM> Do I need to add a canView() to every DO?
17: [00:29:36] <simon__w> Yes
18: [00:29:38] * simon__w is now known as simon_w
19: [00:31:24] <Colin[pi]> qn
20: [00:31:40] <Colin[pi]> if I wanted to set up a system to send email reminders by a certain date
21: [00:31:53] <Colin[pi]> how do I best implement that, scheduled task?
22: [00:32:33] <SticksM> simon_w: Cool, I'll have to remember that.
23: [00:47:47] <EasyCo> Is there a SS method that allows you to do something like $this->Children() but returns a Datalist instead of an SSList so I can further filter using leftJoin?
24: [00:48:59] <simon_w> AllChildren, but it doesn't do the canView() check
25: [00:50:13] <EasyCo> That still returns an SS_LIst though doesn't it?
26: [00:50:33] <EasyCo> Nm
27: [00:50:38] <EasyCo> Just saw that it's an interface
28: [00:55:51] * UncleCheese quit (Quit: UncleCheese)
29: [00:59:50] <EasyCo> simon_w: When they say 'the stage site' are they referring to the CMS?
30: [00:59:52] * DigNZ1 has joined #silverstripe
31: [00:59:53] * DigNZ1 quit (Remote host closed the connection)
32: [01:00:07] * DigNZ1 has joined #silverstripe
33: [01:00:08] * DigNZ1 quit (Client Quit)
34: [01:00:31] <simon_w> Stage versus Live
35: [01:00:32] * DigNZ1 has joined #silverstripe
36: [01:01:16] <irogue> oh god
37: [01:01:25] <irogue> the wind has come this direction for the first time in ages
38: [01:01:36] <irogue> i forgot what that smelt like
39: [01:02:50] * DigNZ1 quit (Client Quit)
40: [01:02:54] <EasyCo> So I could just use $this->owner->stageChildren(false); and I'll get a DataList of all children however no canView.
41: [01:03:26] <EasyCo> … all children that can be in menu that is
42: [01:07:44] <irogue> http://goo.gl/maps/CyjhY
43: [01:07:50] <irogue> not a good pond to be downwind of
44: [01:09:04] <EasyCo> Does swell ever make it into Campbells bay?
45: [01:10:37] <irogue> EasyCo: no idea
46: [01:10:45] <EasyCo> Haha ok
47: [01:10:48] <irogue> probably not much
48: [01:10:53] <irogue> west coast is better for that
49: [01:11:04] <irogue> Piha, Muriwai etc
50: [01:11:27] <EasyCo> Ragland <3
51: [01:11:43] <Peavers> has anyone made use of amazon free ec2 servers?
52: [01:12:03] <irogue> Peavers: yup, our whole site's running on one (tho with a paid-for RDS for the database)
53: [01:12:11] <Peavers> opinions on them?
54: [01:12:42] <irogue> perfectly fine for web/php, quite slow for sql
55: [01:12:49] <irogue> IOPS is pretty restricted
56: [01:13:16] <Peavers> hmm thats not good
57: [01:13:20] <Peavers> need me my iops
58: [01:13:57] <irogue> go non-free-tier then :P
59: [01:14:17] <Peavers> please.
60: [01:14:22] <Peavers> Sif I'm going to pay for something.
61: [01:14:35] <Colin[pi]> <3 my Linode, but I pay for it
62: [01:14:59] <ss23> The massive $10/m or w/e Linode is
63: [01:14:59] <ss23> :P
64: [01:15:07] <Colin[pi]> no :P
65: [01:15:09] <Colin[pi]> I have a bigger plan
66: [01:15:19] <ss23> Aw well looky here fellas
67: [01:15:23] <irogue> linode's cheap and works well
68: [01:15:24] <ss23> We got ourselve sa rich kid
69: [01:15:27] <irogue> but their security scares the shit outta me
70: [01:15:29] * ss23 cracks his knuckles.
71: [01:15:39] <Colin[pi]> not really lol
72: [01:15:44] <Colin[pi]> in what way irogue?
73: [01:15:51] <ss23> Paying for anything but the cheapest plan? Rich kid.
74: [01:15:59] <Colin[pi]> oh they were breached a while back weren't they?
75: [01:16:13] <irogue> yeah
76: [01:16:18] * mirrors has joined #silverstripe
77: [01:16:21] <irogue> which exposed a total blase attitude towards security
78: [01:16:23] <ss23> By a coldfusion 0day
79: [01:16:31] <irogue> and they claimed the breach was "not a big deal"
80: [01:16:35] <irogue> which is the scariest part
81: [01:16:35] <Colin[pi]> I think they improved quite a bit since then though
82: [01:17:02] <irogue> this isn't the first time
83: [01:17:09] <irogue> each time there's a "oh i'm sure they'll fix it now"
84: [01:17:37] <Peavers> anyone work for Catalyst IT?
85: [01:18:25] <irogue> linode still to this day claim that their CCs were all encrypted and couldnt have been breached, but i know a few people whose CCs all got dodgy charges immediately after the linode hack
86: [01:18:32] <irogue> and the hackers did claim they'd taken CCs
87: [01:18:33] <Colin[pi]> ah the least breach they had was ColdFusion related
88: [01:18:33] <mirrors> hey can anyone tell me how I can add custom css to the cms admin area
89: [01:18:56] <Colin[pi]> as I see ss23 just said :D
90: [01:19:38] <ss23> irogue: I think that would be coincidence
91: [01:19:49] <ss23> Not because I trust Linode about the CC's encryption, but because I trust the hackers
92: [01:19:57] <ss23> :P
93: [01:19:57] <Colin[pi]> mirrors: I did it with an extension
94: [01:20:00] <EasyCo> mirrors: LeftAndMain::require_css('themes/WHATTTT/css/admin.css');
95: [01:20:02] <irogue> ss23: haha
96: [01:21:12] <ss23> simon_w: Care to help with an issue of partial caching? In PageType.php -> "retrun StrategySectionPage::get()->filter('ParentID', $this->Parent()->ID)->filter('Abstract:ExactMatch:not', '');" then in the template I've tried, both with and without the List(), "<% cached ID, LastEdited, List(Sections).max(LastEdited) %>"
97: [01:21:24] <ss23> The .max(LastEdited) seems to not be happening
98: [01:22:06] <irogue> a year prior to that hack, they got hacked (a linode employee's machine compromised, they had private keys to get into all linode's servers) and a bunch of bitcoin stolen
99: [01:22:56] <mirrors> thanks EasyCo that works fine. I was however triying to so it in a YAML file like they reccomend here http://doc.silverstripe.org/framework/en/3.1/howto/extend-cms-interface#include-custom-css-in-the-cms
100: [01:23:12] <ss23> Will also accept help from non simon_w's :D
101: [01:23:28] <ss23> Hmm, where is the template cache files stored? I'm meant to be able to view them just fine, right/
102: [01:24:31] <ss23> blurgh, the caches are cached as hidden files! >.<
103: [01:25:57] * zippy__ quit (Ping timeout: 264 seconds)
104: [01:26:49] <ss23> cache for this template doesn't exist >.>
105: [01:27:13] <ss23> BAH I HATE SILVERSTRIPE
106: [01:27:15] <ss23> IT'S SO BAD
107: [01:27:16] * ss23 dies
108: [01:27:24] <Peavers> Fired.
109: [01:27:33] <irogue> ss23: fix it :P
110: [01:28:36] <ss23> I would strace it if I could
111: [01:28:37] <ss23> :<
112: [01:30:39] <Peavers> anyone else rocking 4G in welly now?
113: [01:30:42] <Peavers> loving it.
114: [01:30:51] <Peavers> that 26mb/s up and down is brilliant
115: [01:32:16] * LoveDuckie quit (Ping timeout: 264 seconds)
116: [01:33:10] <Colin[pi]> I received an email from Vodafail to try it out in AU, and then learned it's not active in Canberra yet
117: [01:33:19] <ss23> lol
118: [01:33:23] <ss23> >canberra
119: [01:33:24] <ss23> l0l
120: [01:33:28] <Colin[pi]> :C
121: [01:33:38] <Colin[pi]> TRY OUT TEH NEW 4G IT'S AMAZING
122: [01:33:40] <Colin[pi]> checks phone
123: [01:33:43] <Colin[pi]> checks coverage map
124: [01:33:44] <Colin[pi]> SWEARS
125: [01:33:46] <ss23> XD
126: [01:33:48] <Peavers> lol
127: [01:33:54] <Peavers> got a 4g phone?
128: [01:34:00] <Colin[pi]> iphone5
129: [01:34:25] <Colin[pi]> email said LTE now available! check your phone! "wtf it's still 3G"
130: [01:34:42] <Colin[pi]> ohhhh, Canberra
131: [01:34:42] <Colin[pi]> gotcha
132: [01:34:56] <Colin[pi]> we should get it sometime by 2018
133: [01:35:35] <Colin[pi]> you guys will have direct brain implants doing downloads and I'll be like HAY GUISE I FINALLY GOT 4G!
134: [01:36:21] <ss23> if (($partial = $cache->load('c22dc8f061aa4ad828c2e0e7fbc16cd5c63bb294_'.sha1($scope->locally()->XML_val('ID', null, true).'_'.$scope->locally()->XML_val('LastEdited', null, true).'_'.$scope->locally()->obj('Children', null, true)->XML_val('max', array('LastEdited'), true)).'_1'))) $val .= $partial;
135: [01:36:26] <ss23> some readable PHP thar
136: [01:36:34] <Peavers> I see.
137: [01:36:41] <Peavers> The problem is right there
138: [01:38:56] <EasyCo> Colin[pi]: You could move up here to Byron Bay. Go not DSL here. I'm on line-o-sight broadband.
139: [01:39:20] <EasyCo> Mobile reception. What's that?
140: [01:39:34] <EasyCo> But it's beautiful :)
141: [01:40:17] <Colin[pi]> wow
142: [01:40:44] <Colin[pi]> yeah there is always worse :)
143: [01:40:58] <EasyCo> And my area isn't even considered for NBN yet.
144: [01:41:05] <EasyCo> First world problems really
145: [01:41:29] <Colin[pi]> and if abbott gets in will have shitty NBN in some areas and awesome NBN in others \o/
146: [01:42:20] <EasyCo> Lets not startup that conversation...
147: [01:42:25] <Colin[pi]> hehehe
148: [01:42:41] <Bollig|DesignCty> Colin[pi]: or realistically you'll have to pay for the 'last mile' of fibre
149: [01:42:55] <irogue> teehee
150: [01:43:15] <EasyCo> Honestly, as far as policies go he's the Australiana equivalent to good ol' Bush
151: [01:43:31] * irogue looks at his 100/50 govt subsidised fibre and 70/30 VDSL line as backup
152: [01:44:11] * Bollig|DesignCty hates irogue just a bit
153: [01:44:23] <ss23> I ate too much food to deal with the horror that is Silverstripes templating
154: [01:44:26] <ss23> fml
155: [01:44:31] <irogue> New Zealand: making Aussie internet look shit
156: [01:46:02] <irogue> was helping an integrator set up a site-to-site VPN between their customer's sites in East Tamaki (arse-end of Auckland) and central Sydney
157: [01:46:33] <irogue> East Tamaki side is on 100/50 fibre with $200 install fee + $175/mo
158: [01:47:23] <irogue> Sydney side, in order to get 8Mbit up (the least they could feasibly use the VPN over) they had to bond 4x DSL connections together, for which the ISP charged $1000 setup and $250/mo
159: [01:47:33] <Colin[pi]> yay
160: [01:48:01] <EasyCo> Sounds about right
161: [01:48:20] <Bollig|DesignCty> unfortunately we do have 28x more area of country compared with NZ to cover with fibre, makes it around 28x more of a pain in the ass… :)
162: [01:48:27] <irogue> haha, for sure
163: [01:48:36] <irogue> but the big cities...
164: [01:49:20] <Bollig|DesignCty> if we were america, that's exactly how we'd do it. Luckily we're not and equality of service for all tax payers is at least a little on the minds of government ;)
165: [01:49:29] <Bollig|DesignCty> (just a little, let's be honest ;))
166: [01:49:49] <irogue> lol
167: [01:50:00] <Colin[pi]> yeah but it's pretty ambitious you have to admit
168: [01:50:20] <Bollig|DesignCty> Colin[pi]: what, the NBN?
169: [01:50:33] <Colin[pi]> yeah, it's massive
170: [01:50:35] <irogue> i don't know the full details of the NBN implementation
171: [01:50:44] <irogue> are they trying to fibre rural areas as well?
172: [01:50:56] <Bollig|DesignCty> Colin[pi]: sure, nothing $40 million won't fix :)
173: [01:51:05] <Colin[pi]> 40 billion don't you mean?
174: [01:51:12] <Bollig|DesignCty> lol yes B*
175: [01:51:15] <Colin[pi]> irogue: it's not just the big cities
176: [01:51:48] <Bollig|DesignCty> irogue: major regional centres. The rest will get subsidised satellite…
177: [01:51:50] <ss23> FUCKING CACHING FUCK
178: [01:51:53] <ss23> FUCKING SILVERSTRIPE FUCK
179: [01:52:06] <ss23> what the fuck this $scope bullshit
180: [01:52:21] <EasyCo> Okay there tiger
181: [01:52:37] <irogue> Bollig|DesignCty: yeah, that makes sense
182: [01:52:44] <Colin[pi]> http://www.nbn.gov.au/about-the-nbn/what-is-the-nbn/nbn-technologies/
183: [01:53:00] <Colin[pi]> fibre/wireless/satellite
184: [01:53:06] <irogue> similar to here, though we're doing it with subsidised 3G in most rural areas, just satellite in *insanely* remote areas
185: [01:53:17] <Colin[pi]> they want 93% of homes/businesses to have fibre
186: [01:53:50] <Bollig|DesignCty> huh, didn't realise they were launching a couple of satellites for NBN in 2015....
187: [01:53:59] <ss23> >satalites
188: [01:54:01] <ss23> >broadband
189: [01:54:17] <ss23> DO THE FIBRE TO CITIES FIRST
190: [01:54:18] <Colin[pi]> yeah but... "next-generation satellite" lol
191: [01:54:38] <Colin[pi]> so they satellite is piloted by Captain Picard
192: [01:54:40] <Colin[pi]> no problem
193: [01:54:42] <Bollig|DesignCty> lol
194: [01:54:44] <ss23> hahaha
195: [01:54:53] <Colin[pi]> ENGAGE
196: [01:54:54] <Bollig|DesignCty> so our broadband can boldly go?
197: [01:55:14] * Bollig|DesignCty quickly googles a meme image
198: [01:55:20] * UncleCheese has joined #silverstripe
199: [01:55:26] <Colin[pi]> captain picard riding a satellite
200: [01:55:51] <Colin[pi]> "The long term satellite service will offer broadband speeds up to 25/5 Mbps from the start of operation in 2015."
201: [01:56:02] <Colin[pi]> wonder how optimistic that is
202: [01:56:30] <Bollig|DesignCty> better be exact, they're purpose building those things. What excuse is there if they don't hit it?
203: [01:56:40] <irogue> they forgot the "(with 300ms+ latency)"
204: [01:56:46] <Bollig|DesignCty> lol
205: [01:57:12] <Bollig|DesignCty> A google search for "captain picard riding a satellite" returns 132,000 results. None of which are captain picard riding a satellite.
206: [01:57:18] <Colin[pi]> hehe
207: [01:57:24] <Colin[pi]> irogue: yeah, perfect for gaming
208: [01:58:00] <ss23> Anyone familiar with the SS_ViewableData stuff?
209: [01:58:12] * irogue imagines playing LoL on satellite internet
210: [01:58:17] <Bollig|DesignCty> don't worry, in 10 years time we won't have 'farmers' anymore anyway, whole thing's probably moot.
211: [01:58:28] <ss23> How does the partial cache agregate stuff Children.max(LastEdited) manage to get to $scope->locally()->obj('Children', null, true)->XML_val('max', array('LastEdited'), true), especially when that doesn't work
212: [01:58:58] <irogue> Pinging ftp.citylink.co.nz [202.7.6.9] with 32 bytes of data:
213: [01:58:58] <irogue> Reply from 202.7.6.9: bytes=32 time=4ms TTL=60
214: [02:06:03] <ss23> simon_w: ;_;
215: [02:06:07] * ss23 cries
216: [02:06:09] <ss23> Please help me :<
217: [02:08:53] <simon_w> But I'm not doing SS work today!
218: [02:09:58] * ss23 cries
219: [02:10:03] <ss23> Have to ask a coworker instead
220: [02:10:04] <ss23> :<
221: [02:10:04] <Colin[pi]> that's what you thought!
222: [02:18:02] <simon_w> Oh, I have this rather useful /part command if I need it :p
223: [02:32:35] <ss23> simon_w: But then you would have to leave here
224: [02:32:36] <ss23> ;_;
225: [02:32:37] <ss23> WE CAN'T HAVE THAT
226: [02:32:38] * ss23 dies
227: [02:32:57] <simon_w> Don't worry, simon_w|air'll still be here!
228: [02:53:33] <simon_w> Gah, can't commit
229: [02:53:36] <simon_w> Stupid lint test
230: [02:58:14] * SightUnseen has joined #silverstripe
231: [02:58:23] * SightUnseen has left #silverstripe
232: [02:59:07] <UncleCheese> so the 21 bus is shit, eh?
233: [03:02:44] <simon_w> Nope
234: [03:02:49] <simon_w> Used to be what I caught home
235: [03:09:30] <ss23> simon_w: Want to verify a bug for me? (Just have a chat about it that is)
236: [03:10:24] <simon_w> Is it about how annoying this lint check is on commit?
237: [03:10:28] <ss23> haha
238: [03:10:35] <ss23> simon_w: Make your crap pass the lint test, you lazy pants ;)
239: [03:10:52] <simon_w> It does! Just not the PHP one! :p
240: [03:11:00] <ss23> haha, so it doesnt'! :D
241: [03:11:00] <UncleCheese> simon_w: do you know where the 21 bus goes all day? The met link website doesn't seem to know anything about it
242: [03:11:06] <simon_w> $this->assertEquals(base\Router::get_routes_for_path('/'), Pair { Map {}, Map {}});
243: [03:11:13] <UncleCheese> it's the only bus that goes near my house
244: [03:11:29] <ss23> simon_w: Partial caching docs talk about "Children.max(LastEdited)". .Max only works on DataList, not ArrayList, however, as we all know, http://api.silverstripe.org/3.0/source-class-Hierarchy.html#430-447 Children() can often by an ArrayList
245: [03:11:30] <simon_w> UncleCheese, runs every hour outside of peak
246: [03:11:52] <simon_w> So use AllChildren instead?
247: [03:12:13] <ss23> simon_w: While that kind of works, that means it'll display crap that's not in menus
248: [03:12:16] <ss23> hmm
249: [03:12:19] <ss23> actually
250: [03:12:22] <ss23> Since this is just a cache key, it'll work, though just be more ineffeicent
251: [03:12:33] <ss23> Regardless, there's an issue here with either Children() or the partial caching docs, right simon_w?
252: [03:12:47] <simon_w> The docs
253: [03:13:08] <simon_w> UncleCheese, http://www.metlink.org.nz/timetables/bus/021 looks fine to me
254: [03:13:40] <UncleCheese> ugh
255: [03:13:42] <UncleCheese> my stop isn't listed
256: [03:14:15] <UncleCheese> when does it go through vogeltown? I don't get it
257: [03:14:17] <simon_w> So click "All Stops" up the top
258: [03:14:30] <UncleCheese> OH!!!!
259: [03:14:43] <UncleCheese> Yeah!!!!!!!
260: [03:14:46] <simon_w> So, this is a weird route, where it's a loop instead of inbound/outbound
261: [03:14:55] <UncleCheese> i know, that's what confused me
262: [03:16:26] <UncleCheese> simon_w: all the 21s listed for Tarranaki street seem to be going the wrong direction? http://www.metlink.org.nz/stop/7911
263: [03:16:29] <UncleCheese> (after 5PM)
264: [03:16:45] <UncleCheese> or are you saying that it would loop around and end up in Vtown?
265: [03:17:01] <simon_w> UncleCheese, you want the stop on the other side of the road
266: [03:17:10] <UncleCheese> haha
267: [03:17:13] <UncleCheese> right
268: [03:17:14] <UncleCheese> new to this
269: [03:17:19] <Colin[pi]> lol
270: [03:17:48] <simon_w> I recognised the number, so didn't even have to check :p
271: [03:20:23] <ss23> https://fyi.org.nz/request/1035-email-metadata#outgoing-3373
272: [03:20:24] <ss23> :D
273: [03:23:18] <UncleCheese> this is on the correct side of the road: http://www.metlink.org.nz/stop/7912
274: [03:23:25] <UncleCheese> but still they all go to karori?
275: [03:23:28] <simon_w> Nope
276: [03:23:55] <simon_w> http://www.metlink.org.nz/stop/6911
277: [03:25:08] <UncleCheese> i see one at 9:02AM that goes the way i'm going
278: [03:25:19] <UncleCheese> but all the others go to karori
279: [03:26:36] <simon_w> If you look at the live departures, they're all going to Vogeltown
280: [03:26:43] <simon_w> ss23, fix the scheduled ones!
281: [03:27:53] <simon_w> UncleCheese, if you look at the other routes, if they're going to Seatoun/Miramar/Newtown Park, then it's the right side of the road and it's just the loop-thing being stupid
282: [03:28:12] <simon_w> And you should tell @metlinkwgtn
283: [03:28:48] * mirrors quit (Quit: Page closed)
284: [03:28:54] <UncleCheese> hmm
285: [03:29:16] <UncleCheese> all those routes drop you off somewhere at the bottom of the hill.. and if i'm going to have to walk up the hill, i might as well walk
286: [03:29:58] <ss23> simon_w: NOT MY TEAMS JOB :D
287: [03:30:10] <UncleCheese> so in other words "scheduled services" isn't always accurate
288: [03:30:14] <UncleCheese> Yeah, call @chillu
289: [03:30:24] <ss23> He's on holiday! :D
290: [03:30:37] <UncleCheese> what's there to to in Germany?
291: [03:30:43] <simon_w> UncleCheese, scheduled services is showing the destination as the end of the loop (Karori), though they'll be going via Vogeltown
292: [03:30:49] <UncleCheese> i see
293: [03:30:50] <UncleCheese> ok
294: [03:31:02] <ss23> UncleCheese: Number one holiday in Germany: LEave Germany
295: [03:31:02] <ss23> :D
296: [03:35:33] <simon_w> ss23, make the linter handle $actual = base\Router::route('/', Vector {'page'}); already!
297: [03:37:30] <ss23> simon_w: INVALId
298: [03:37:31] <ss23> FAIL, FAIL
299: [03:37:45] <simon_w> Perfectly valid
300: [03:38:01] <simon_w> The local linter has no problems with it
301: [03:39:58] * DigNZ1 has joined #silverstripe
302: [03:39:59] * DigNZ1 quit (Remote host closed the connection)
303: [03:40:00] <simon_w> Just like it has no problems with the literal type hints
304: [03:40:16] * DigNZ1 has joined #silverstripe
305: [03:49:04] <UncleCheese> i wonder if they'll let me bring my dog on the bus
306: [03:49:27] <Colin[pi]> are you blind?
307: [03:49:42] <simon_w> Probably not during peak
308: [03:55:04] * cloph has joined #silverstripe
309: [03:55:54] * cloph_away quit (Ping timeout: 264 seconds)
310: [03:56:14] * DigNZ1 quit (Quit: DigNZ1)
311: [03:57:56] * DigNZ1 has joined #silverstripe
312: [03:57:57] * DigNZ1 quit (Remote host closed the connection)
313: [03:58:15] * DigNZ1 has joined #silverstripe
314: [03:58:54] <ss23> Annoying that on OSX, if you do cmd + w, it'll bring that entire apps windows into focus
315: [03:59:02] <ss23> like somehow "oh you want to close this window? I better make this app take focus!"
316: [03:59:13] <Colin[pi]> you must be using it wrong
317: [03:59:22] <Colin[pi]> ;)
318: [03:59:24] <ss23> Hey, I can't even hold this one in my hand!
319: [03:59:25] <ss23> :P
320: [04:01:56] <Colin[pi]> $this->ReminderDate = $Date; <--- why is this not working when $Date is a Date?
321: [04:02:09] <ss23> What is a $Date?
322: [04:02:14] <Colin[pi]> saves as NULL
323: [04:02:14] <Colin[pi]> :\
324: [04:02:15] <ss23> Silverstripe has its own weird date classes
325: [04:02:27] <ss23> Colin[pi]: What class is it?
326: [04:02:58] <Colin[pi]> Date :P
327: [04:03:11] <Colin[pi]> the parent class is a dataobject of mine, this is onBeforeWrite
328: [04:03:13] <ss23> Colin[pi]: Silverstripe doesn't use the Date class, iirc
329: [04:03:24] <ss23> It uses SS_DateTime or something
330: [04:03:37] <Colin[pi]> oh snap wait a minute
331: [04:03:42] <Colin[pi]> maybe thats the prob
332: [04:03:55] <Colin[pi]> no wait SS_DateTime extends Date
333: [04:03:56] * DigNZ2 has joined #silverstripe
334: [04:04:17] * DigNZ3 has joined #silverstripe
335: [04:04:31] <ss23> If one extends teh other, it should be easy for you to convert it then :D
336: [04:04:40] <Colin[pi]> wait really? this works: $this->ReminderDate = $Date->Rfc2822();
337: [04:04:49] <Colin[pi]> it doesn't convert automagically ? :C
338: [04:04:51] <ss23> Not surprised
339: [04:05:02] <ss23> :P
340: [04:05:08] <Colin[pi]> well that works now :P
341: [04:05:14] <ss23> It would be nice if it handled Date properly though
342: [04:05:16] * DigNZ1 quit (Ping timeout: 264 seconds)
343: [04:05:17] <ss23> send ap ull request
344: [04:05:18] <ss23> :D
345: [04:05:49] <Colin[pi]> cant be too hard for the orm to go "hmm did this dumbarse developer set this attr to a Date? ima convert it"
346: [04:06:28] <ss23> Colin[pi]: Good, sounds like you're offering to write a patch
347: [04:06:28] <ss23> :D
348: [04:06:41] <Colin[pi]> might be already done, this is on 2.4
349: [04:06:41] <Colin[pi]> :P
350: [04:06:45] <ss23> hahah
351: [04:06:52] <ss23> You don't get to say anything if you're on 2.4!
352: [04:06:53] <ss23> XD
353: [04:07:07] <Colin[pi]> I might give 3 another go when 3.1 is out proper :P
354: [04:08:00] <simon_w> You should use my framework when it's finished, assuming we open source it, then not complain when you can't run it! :p
355: [04:08:05] * DigNZ2 quit (Ping timeout: 240 seconds)
356: [04:08:24] <ss23> lol
357: [04:08:33] <ss23> Silverstripe, vs something built for HHVM
358: [04:08:34] <ss23> :P
359: [04:08:37] <ss23> I wonder what people will use!
360: [04:08:40] <ss23> Might as well just write C
361: [04:08:40] <ss23> :3
362: [04:08:47] <Colin[pi]> what's it called, GoldLine?
363: [04:09:05] <simon_w> Um, PR Base :p
364: [04:09:05] <ss23> hahah Colin[pi]
365: [04:09:07] <Colin[pi]> hehehee
366: [04:09:09] <ss23> Took me a while to get that XD
367: [04:09:45] <Colin[pi]> is this based on ss or from scratch simon
368: [04:09:47] <Colin[pi]> ?
369: [04:09:50] <ss23> scratch
370: [04:09:52] <simon_w> From scratch
371: [04:10:01] <Colin[pi]> wow I did that once
372: [04:10:11] <simon_w> Going to be very lean
373: [04:10:13] <ss23> They decided that they would rather write a completely new thing from scratch than just make SS decent speed with minimal effort
374: [04:10:16] <ss23> :P
375: [04:10:21] <Colin[pi]> then I smacked myself in the face repeatedly for about 5 years and switchted to SS
376: [04:10:28] <ss23> hahah Colin[pi]
377: [04:10:42] <simon_w> You can come read our 17 page design document!
378: [04:10:48] <simon_w> Longer than anything SS has :p
379: [04:10:52] <Colin[pi]> seventeen pages? pfft
380: [04:10:54] <ss23> >design docs
381: [04:10:57] <ss23> NOW WE KNOW It'S SHIT
382: [04:11:01] <ss23> ITC: simon_w rebuilds C# in HHVM
383: [04:11:02] <ss23> :D
384: [04:11:11] <Colin[pi]> 500 LINES FOR HELLO WORLD
385: [04:11:14] <Colin[pi]> hehehe
386: [04:11:55] <simon_w> pr\base\Router::add_routes(Map {'/' => function() { return 'Hello World!'; } }); :p
387: [04:12:03] <guzzlefry> Can SilverStripe generate XML?
388: [04:12:06] <Colin[pi]> closures???!
389: [04:12:08] <simon_w> Yes
390: [04:12:09] <ss23> Yes, guzzlefry
391: [04:12:12] <guzzlefry> yay
392: [04:12:14] <simon_w> to both of you :p
393: [04:12:18] <ss23> lol
394: [04:12:23] <Colin[pi]> eew php closures
395: [04:12:49] <simon_w> Eh, most routes will be callbacks rather than closures
396: [04:13:00] <Colin[pi]> hehe I'm just giving you a hard time :P
397: [04:13:08] <Colin[pi]> I'd be interested to see it's speed
398: [04:13:19] <Colin[pi]> they always start that way.... then... bloooat
399: [04:13:20] <ss23> Hmm
400: [04:13:31] <ss23> Is it professional to use ":D" as an emote in an email to the DIA?
401: [04:13:57] * SightUnseen has joined #silverstripe
402: [04:14:02] <simon_w> Colin[pi], apparently doing speed tests when it's been running for less than a fortnight isn't that good of an idea
403: [04:14:16] <Colin[pi]> bah you're no fun
404: [04:14:16] * SightUnseen quit (Read error: Connection reset by peer)
405: [04:14:23] * SightUnseen has joined #silverstripe
406: [04:14:28] <simon_w> That's the magic of the go faster switch!
407: [04:14:30] <Colin[pi]> ss23, yes absolutely :D (but maybe not)
408: [04:14:33] * SightUnseen has left #silverstripe
409: [04:14:37] <simon_w> (Yes, there's a go faster switch)
410: [04:14:44] <Colin[pi]> can it be ported to SS?
411: [04:14:45] <Colin[pi]> :D
412: [04:14:59] <simon_w> It's more can SS be ported to it :p
413: [04:15:07] <Colin[pi]> no the go faster switch I mean
414: [04:15:13] <simon_w> Yeah
415: [04:15:17] <simon_w> It's part of HHVM
416: [04:15:35] <simon_w> Eval.Jit = true
417: [04:15:45] <Colin[pi]> i have no idea what that is except for it sounds like if you said HAM with a mouthful of HAM
418: [04:15:50] <ss23> XD
419: [04:15:54] <ss23> Hiphip VM
420: [04:15:56] <simon_w> Facebook's PHP stack
421: [04:15:57] <ss23> Hiphop VM*
422: [04:16:11] <Colin[pi]> ahhh yes the mystical hiphop thingy
423: [04:16:22] <Colin[pi]> haven't tried it before so that would explain the ham thing
424: [04:17:41] <Colin[pi]> does it come with the backdoor nsa module installed by default?
425: [04:17:44] <Colin[pi]> ;)
426: [04:17:46] <simon_w> James over there is currently writing the pgsql extension for it
427: [04:17:49] <ss23> hahaa
428: [04:18:00] <simon_w> Nah, that's MySQL :p
429: [04:18:05] <Colin[pi]> :o
430: [04:18:10] <simon_w> Oracle <3s NSA
431: [04:18:45] <Colin[pi]> I suspect that's related to Ellison <3s $$$$
432: [04:21:02] <Colin[pi]> he strikes me as the type of character who would pimp his own mum if it meant a few more millions
433: [04:21:03] <irogue> [16:15] <Colin[pi]> i have no idea what that is except for it sounds like if you said HAM with a mouthful of HAM
434: [04:21:06] <irogue> this sounds accurate
435: [04:21:18] * simon_w suspects it's home time!
436: [04:21:20] <ss23> simon_w loves hiphop
437: [04:21:22] <ss23> wtf simon_w
438: [04:21:23] <ss23> EARLY
439: [04:21:24] <ss23> SLACKER
440: [04:21:29] <simon_w> Yup!
441: [04:21:38] <simon_w> Also, S-Club Party!
442: [04:21:51] <ss23> Hmm
443: [04:21:57] <ss23> LLVM has random JIT support
444: [04:22:05] * DigNZ quit (Ping timeout: 240 seconds)
445: [04:23:46] <ss23> Well, it's taken 4 hours, but I've got my partial caching issues sorted out
446: [04:23:51] <ss23> Seems crazy to think I've worked on it for like 6 hours
447: [04:24:46] <Colin[pi]> time goes ticking past real fast on that sort of stuff
448: [04:24:50] <Colin[pi]> drives me nuts :(
449: [04:25:55] <EasyCo> Where is the tinymce themes set? For example, there's framework/thirdparty/tinymce/themes/simple/editor_tempalte_src.js. Where is it toggled for use?
450: [04:26:13] * mirrors has joined #silverstripe
451: [04:26:32] <Colin[pi]> ss23: someone asked me recently what I do for my job, and I said "well, I basically save something, refresh a web browser, and ask 'did it work?' Then do the same thing about 100,000 times per day."
452: [04:27:54] <mirrors> Hey UncleCheese ... I cannot get any display logic to work when using the displaylogic module for a HeaderField (also compositefield and fieldgroup)...other fields are working for me. Should these fields work?
453: [04:28:11] <UncleCheese> probably not
454: [04:28:38] <Colin[pi]> EasyCo: HtmlEditorConfig::get('cms')->setOptions()
455: [04:28:41] <Colin[pi]> in there I think
456: [04:28:42] <UncleCheese> i think the way that module works is you need to override the templates for the fields that are going to be display logic controlled
457: [04:29:06] <UncleCheese> if you look in display_logic/templates/Includes
458: [04:29:12] <UncleCheese> you'll see all the form fields that are supported
459: [04:29:16] <UncleCheese> you can feel free to add more
460: [04:29:42] <EasyCo> Colin[pi]: Oh yah, that's right, it's under [theme]
461: [04:29:44] <EasyCo> Thx
462: [04:31:18] <EasyCo> Gonna have to write up a blog post about all the TinyMCE/HtmlEditor quirks, I'm gonna forget everything.
463: [04:31:27] <EasyCo> I can feel shit leaking out already
464: [04:31:41] <Colin[pi]> tell me about it
465: [04:31:59] <irogue> my mind is a little bit blown that Birkenhead Transport takes the new AT HOP cards now
466: [04:32:10] <irogue> they mustve had to teach the entire company how computers work
467: [04:32:34] <irogue> a month ago they were still using the punchcard 10-trip tickets
468: [04:34:19] <ss23> Colin[pi]: XD
469: [04:34:32] <ss23> Colin[pi]: I have almost that, but I change something, send it to a client and say "Did it work?"
470: [04:34:36] <ss23> More time to wait while I get the answer :P
471: [04:34:48] <Colin[pi]> hehe
472: [04:35:30] <Colin[pi]> i have the usual panics from clients saying "OMG ITS NOT WORKING FIX IT" when they've done something wrong 99% of the time
473: [04:35:38] <ss23> haha
474: [04:35:40] <ss23> I had one today
475: [04:35:43] <ss23> "so this is fixed now, right?"
476: [04:35:54] <ss23> I looked into it... no, like, I was like "Do you want me to do work?" "no, hold off for now!"
477: [04:36:03] <ss23> then now "so it's done, right? cause it hsould be done by 5pm tonight."
478: [04:36:37] <Colin[pi]> one guy emailed me at 11pm the other night, "ITS NOT WORKING OMG" -- he was using the wrong username......
479: [04:36:39] <Colin[pi]> he's been using the same username for like 10 years
480: [04:36:44] <ss23> hahahaha
481: [04:36:50] <ss23> I know how he feels
482: [04:36:52] <ss23> I do that all the time...
483: [04:36:54] <Colin[pi]> seriously how do they do it
484: [04:36:57] <ss23> Do the same thing for like 5 years, then suddenly forget
485: [04:37:01] <ss23> Difference is I fix it myself, I guess
486: [04:37:36] <Colin[pi]> to be fair he prolly had it saved in the browser, and he was on a different device :P
487: [04:37:39] <Colin[pi]> but stil
488: [04:37:41] <Colin[pi]> *still
489: [04:39:28] <ss23> Hmm
490: [04:39:52] <ss23> I'm kind of amazed at how good the human brain is at completely forgeting things, then after like 10 seconds of reading stuff, you manage to remember it all again
491: [04:40:15] <irogue> feels like cider time
492: [04:40:31] <ss23> irogue: Isn't that called "ALL THE TIME"?
493: [04:42:01] <Colin[pi]> ss23: yeah I think it's "selective memory" :)
494: [04:42:41] <ss23> mm, it rules!
495: [04:42:44] <ss23> kind of
496: [04:42:46] <ss23> It has advantages
497: [04:42:52] <ss23> For me, since I don't give a shit if clients get left behind, it's good
498: [04:42:59] <ss23> For the person who has to make sure clients aren't left behind, I guess it sucks
499: [04:43:06] <ss23> "oh crap I forgot to talk to this client for the past week!"
500: [04:44:50] * nickmolhoek has joined #silverstripe
501: [04:44:51] * nickmolhoek quit (Read error: Connection reset by peer)
502: [04:44:54] <Colin[pi]> well remember humans can only juggle about 7 things in their memory at one time.. I think it's amazing we do as well as that
503: [04:45:04] * nickmolhoek has joined #silverstripe
504: [04:48:03] <ss23> wtb someone who understands solr ;_;
505: [04:49:06] * nickmolhoek quit (Ping timeout: 240 seconds)
506: [04:49:11] * DigNZ has joined #silverstripe
507: [04:50:06] * DigNZ3 quit (Ping timeout: 240 seconds)
508: [04:50:40] <irogue> ewwww
509: [04:50:46] * irogue <3 sphinx
510: [04:51:38] * nickmolhoek has joined #silverstripe
511: [04:51:39] * nickmolhoek quit (Remote host closed the connection)
512: [04:51:58] * nickmolhoek has joined #silverstripe
513: [04:56:47] * DigNZ quit (Quit: DigNZ)
514: [05:00:25] <ss23> Can't debug solr? Better use strace to find files it's reading and nuke 'em
515: [05:00:37] <ss23> CAuse idk where it stores its confg, but I'm like 99% sure it fucked up
516: [05:01:08] <ss23> No manual entry for strace
517: [05:01:10] <ss23> KILL ME
518: [05:01:22] * mobiusnz has joined #silverstripe
519: [05:01:23] * mobiusnz quit (Read error: Connection reset by peer)
520: [05:01:23] * DigNZ has joined #silverstripe
521: [05:01:24] * DigNZ quit (Remote host closed the connection)
522: [05:01:38] * DigNZ has joined #silverstripe
523: [05:03:32] <ss23> start java with dtruss, it won't open...
524: [05:04:40] * Peavers quit (Ping timeout: 264 seconds)
525: [05:06:23] <simon_w|air> Bah, stupid jury summons on my birthday and everything
526: [05:06:31] <ss23> laaaame, simon_w
527: [05:06:31] <ss23> :d
528: [05:06:37] <ss23> I avoid this problem by not being registsred
529: [05:06:40] <ss23> (Though it's on my todo list)
530: [05:06:49] <simon_w|air> So, you avoid this problem by breaking the law?
531: [05:07:35] * DigNZ quit (Quit: DigNZ)
532: [05:07:51] <ss23> :D
533: [05:07:54] <ss23> Technically, yes.
534: [05:10:01] * nickmolhoek quit (Quit: nickmolhoek)
535: [05:10:15] <simon_w|air> Aww, I'm not in any of the groups on http://legislation.govt.nz/act/public/1981/0023/latest/DLM44673.html and I can't get it deferred because of uni
536: [05:10:39] <simon_w|air> Ah well, hopefully I don't get picked for the three-week long trial
537: [05:35:39] * UncleCheese quit (Quit: UncleCheese)
538: [05:36:21] * mirrors quit (Quit: Page closed)
539: [05:38:27] * UncleCheese has joined #silverstripe
540: [05:50:30] * UncleCheese quit (Quit: UncleCheese)
541: [05:57:38] <ChronicD> simon_w: you should be able to get it deferred - my partner did just that recently by saying she was to busy with studies.
542: [05:57:57] <ChronicD> she may have got a letter from her faculty… i can ask her?
543: [05:58:57] <ss23> ChronicD: simon_w|air doesn't like to mislead people, and by implying that he would somehow just be "unable" to do it is a bit misleadin!
544: [05:59:00] <ss23> He could do it
545: [05:59:02] <ss23> :D
546: [05:59:31] <ChronicD> hahaha that is a predicament to be in.
547: [06:01:44] <simon_w|air> Yeah, I got out of it back in first year because of studies
548: [06:01:50] <ChronicD> however remember they "summon" triple the number of people they need so they may just let you off if you say its your b-day and send them a scan of your drivers licence as proof. They are very accommodating. They also stress in the letter that one should talk to them about any reason why you may not attend
549: [06:02:34] <simon_w|air> Oh, I don't really mind doing it. So long as the three-week trial doesn't end up being boring if I get on it :p
550: [06:03:11] <ss23> ChronicD: Figure they would rather the people who do attend are going to take it somewhat seriously instead of "LETS JUST GET OUT OF IT QUCIKYL AND GO HOME"
551: [06:03:17] <ss23> I've never done Jury Duty :D
552: [06:03:38] <ss23> I'm not sure how much people there would appercaite a devils advocate like myself anyway
553: [06:03:41] <ss23> :D
554: [06:04:14] <ChronicD> Me either - i have never been summoned in ten years of living here. my partner moved here 2 years ago and has had two :P
555: [06:04:36] <simon_w|air> That's what happens when you get it deferred :p
556: [06:04:37] <ChronicD> @devils advocate - lol
557: [06:04:47] <ChronicD> true… duh
558: [06:05:01] <simon_w|air> ss23, uh, that's kinda the role of the jury :p
559: [06:05:33] <ss23> simon_w|air: Extremism sucks though
560: [06:05:43] <ss23> "Sure he admitted murder and we have video evidence... but both of those can be faked, right?"
561: [06:06:31] <simon_w|air> That's called being stupid, not devil's advocate
562: [06:06:35] <ss23> lol
563: [06:06:35] <ChronicD> problem is if your at uni you just loose study time, at least if your employed you keep your pay. (i think ;) )
564: [06:06:48] <simon_w|air> That's down to the employer
565: [06:06:58] <Colin[pi]> i'm 35 now and never had jury duty
566: [06:06:59] <ChronicD> hmmm really
567: [06:07:31] <simon_w|air> There's a pathetic Jury fee and that's all the income you can expect if your contract doesn't say your employer will cover the difference
568: [06:07:53] <ss23> I thought Salaary means you get paid even if you go on jury duty?!
569: [06:07:53] <ss23> ;_;
570: [06:08:26] <ChronicD> wtf thats ridiculous!
571: [06:08:37] <simon_w|air> Why would you get paid for not showing up?
572: [06:08:52] <ss23> Because salary == PAY ALL YEAR AROUND WOOHOO
573: [06:08:58] <ss23> Less than 40 hours? GET PAID SAME AMOUNT
574: [06:09:05] <ss23> more than 40 hours? GET PAID SAME AOMUNT
575: [06:09:09] <ChronicD> lol
576: [06:09:14] <simon_w|air> Take too much leave? NO PAY
577: [06:09:17] <ss23> lol
578: [06:09:21] <ss23> Too much leave?
579: [06:09:23] <ss23> What's that?! :D
580: [06:09:32] <simon_w|air> More than four weeks
581: [06:09:34] <ChronicD> leave???
582: [06:09:39] <Colin[pi]> too much leave == unemployed
583: [06:09:43] <ss23> lol Colin[pi]
584: [06:10:00] <ChronicD> no leave == self employed
585: [06:10:17] <ss23> You can leave all the time if you're self employed
586: [06:10:20] <ss23> Just get rich and take leave
587: [06:10:20] <ss23> o/
588: [06:10:26] <Colin[pi]> ChronicD: i know that feel :(
589: [06:10:36] <ss23> GET RICH, K1DS
590: [06:10:46] <Colin[pi]> working on it!
591: [06:10:48] <ss23> I need to top up my snapper on my way home :O
592: [06:10:54] <ss23> simon_w|air: Fix is open 24/7 right?
593: [06:10:54] <Colin[pi]> helps when clients actually pay
594: [06:10:56] <ss23> Or late anyway, right?
595: [06:10:58] <ss23> lol Colin[pi] XD
596: [06:11:05] <simon_w|air> ss23, yes
597: [06:11:24] * metanat has joined #silverstripe
598: [06:11:25] <ss23> Colin[pi]: https://www.youtube.com/watch?v=R2a8TRSgzZY&feature=player_embedded
599: [06:11:32] <simon_w|air> ss23, also, if it's still open, the topup machine in Readings is free
600: [06:11:39] * swordsmanz quit (Quit: ooh ponies kinkeyyy)
601: [06:11:54] <ss23> simon_w|air: Eh, handy, but I'm kind of lazy. Will do it if I needa top up when I go in there one day though
602: [06:12:43] <ChronicD> colin: clients - grumble...
603: [06:13:07] * metanat quit (Read error: Connection reset by peer)
604: [06:13:12] <Colin[pi]> lol ss23 XD ... so true it's painful
605: [06:13:58] <ss23> XD
606: [06:14:14] <ss23> "no no, I want the hilights"
607: [06:14:18] <ss23> "I just don't want to pay for them"
608: [06:14:31] <simon_w|air> Dammit, can't find my contract
609: [06:14:36] <ss23> lol
610: [06:14:36] <simon_w|air> Fairly sure it got emailed to me
611: [06:14:39] <ss23> simon_w|air wnats pay!
612: [06:14:48] <simon_w|air> I want to be able to cover rent :p
613: [06:14:55] <ss23> ;)
614: [06:14:59] <ss23> Sounds like you're going to need a flatmate
615: [06:15:00] <ss23> :D
616: [06:15:14] <simon_w|air> Ahahahahaha :p
617: [06:16:18] * henkpoley has joined #silverstripe
618: [06:28:14] * zfmf1 has joined #silverstripe
619: [06:37:59] <guci0> ss23: "here is a url" :) There is no validation, only html5 require ... :)
620: [06:38:37] <ss23> guci0: So the error I caused, I get a cookie, right?
621: [06:38:41] <ss23> Causing errors == I'm a hacker! :D
622: [06:39:20] <guci0> :)
623: [06:39:23] * SightUnseen has joined #silverstripe
624: [06:39:26] * SightUnseen has left #silverstripe
625: [06:39:32] <guci0> there is no to hack :)
626: [06:40:04] <guci0> nevermind, need coffe first :)
627: [06:54:09] * PigeonFriend has joined #silverstripe
628: [06:58:42] <ss23> >.>
629: [06:58:44] <ss23> something just beeepd
630: [06:58:47] <ss23> wait
631: [06:58:52] <ss23> PigeonFriend: ... did you work with uh.... mandrew?
632: [07:00:06] * henkpoley quit (Quit: henkpoley)
633: [07:08:54] * SticksM quit (Read error: Connection reset by peer)
634: [07:09:36] <simon_w|air> Does mandrew work?
635: [07:10:02] <ss23> simon_w|air: He's back at SS now!
636: [07:10:12] <ss23> But I could've sworn I saw him mention something babout betterbrief
637: [07:10:13] <ss23> idk though
638: [07:10:16] <ss23> Anyway, home time now
639: [07:15:37] * zfmf1 quit (Remote host closed the connection)
640: [07:16:10] * ARNHOE has joined #silverstripe
641: [07:25:13] * Shrike_Finland has joined #silverstripe
642: [07:26:32] * willr_ has joined #silverstripe
643: [07:26:32] * willr_ quit (Changing host)
644: [07:26:32] * willr_ has joined #silverstripe
645: [07:33:14] * LoveDuckie has joined #silverstripe
646: [07:34:08] * LoveDuckie quit (Read error: Connection reset by peer)
647: [07:34:22] * zfmf1 has joined #silverstripe
648: [07:37:59] * LoveDuckie has joined #silverstripe
649: [07:38:18] * ivoba has joined #silverstripe
650: [07:42:18] * Colin[pi] quit (Ping timeout: 256 seconds)
651: [07:44:59] <EasyCo> Is there a method for getting the folder name of a module?
652: [07:45:08] <EasyCo> From within a module file.
653: [07:49:30] <simon_w|air> Liberal use of dirname() and __DIR__
654: [07:53:53] <PigeonFriend> ss23: hey, soz, didn't see this. Yar, I did work with him :)
655: [07:57:20] <ss23> PigeonFriend: AND NOW I WORK WITH HIM
656: [07:57:21] <ss23> :D
657: [07:57:25] <ss23> It's the circle of life...
658: [07:57:30] <PigeonFriend> whooop
659: [07:57:34] <PigeonFriend> how's he doing?
660: [07:57:57] <ss23> idk, not dead, so that's good
661: [07:57:57] <ss23> :D
662: [07:58:05] <PigeonFriend> lol
663: [07:58:09] <PigeonFriend> that is good!
664: [07:58:19] * PigeonFriend relieved
665: [07:58:57] <EasyCo> simon_w|air: You mean I have to use PHP!
666: [08:00:25] <ivoba> good morning people
667: [08:00:28] * kinglozzer has joined #silverstripe
668: [08:01:06] <ivoba> how can i add the column created_at in the listing of member area in the backend?
669: [08:03:40] <EasyCo> ivoba: Extend SecurityAdmin.php
670: [08:03:54] <EasyCo> Specifically the updateEditForm extension
671: [08:04:24] <ivoba> ok ill have a look thx
672: [08:04:25] <EasyCo> http://api.silverstripe.org/3.0/source-class-SecurityAdmin.html#172
673: [08:05:07] <EasyCo> You grab $form
674: [08:05:19] <EasyCo> and edit the Members gridfield
675: [08:10:08] * ARNHOE quit (Remote host closed the connection)
676: [08:16:23] * EasyCo quit (Quit: EasyCo)
677: [08:23:01] * lobarvaz has joined #silverstripe
678: [08:23:08] * dangerdan has joined #silverstripe
679: [08:33:57] * ocm has joined #silverstripe
680: [08:38:36] <dangerdan> Is it possible to pass a non-associative array to a template?
681: [08:47:54] <kinglozzer> Yeah
682: [08:52:22] <ocm> howdy
683: [08:53:47] <kinglozzer> Mornin'
684: [08:58:34] <dangerdan> How? am i missing something? I've been able to do it with an associative one, but not a non-associative one...
685: [08:59:05] <simon_w|air> ArrayList
686: [09:02:23] * priithansen has joined #silverstripe
687: [09:26:41] * dangerdan quit (Ping timeout: 250 seconds)
688: [09:38:24] * priithansen quit (Quit: priithansen)
689: [09:40:43] * SightUnseen has joined #silverstripe
690: [09:40:47] * SightUnseen has left #silverstripe
691: [09:45:50] * Marvanni quit (Ping timeout: 256 seconds)
692: [09:46:14] * Marvanni has joined #silverstripe
693: [09:47:04] * guci0_ has joined #silverstripe
694: [09:49:43] <guci0_> ss23: isValidUrl with ping – done. It's good for seo (soon). So I urge to tests http://linki.dtl.pl :) Just place some url.
695: [09:50:57] * guci0 quit (Ping timeout: 250 seconds)
696: [09:51:09] * guci0_ is now known as guci0
697: [10:01:07] * ARNHOE has joined #silverstripe
698: [10:01:34] * ARNHOE quit (Remote host closed the connection)
699: [10:09:05] * ARNHOE has joined #silverstripe
700: [10:30:16] * rojod^ZZZ is now known as RojoD
701: [10:30:53] * sam__ has joined #silverstripe
702: [10:31:20] <sam__> hi need some help on logging with facebook
703: [10:31:35] <sam__> m using facebook_connect module
704: [10:34:18] <RojoD> whats the problem?
705: [10:35:12] <sam__> after logging in it does not return
706: [10:35:16] <sam__> into the site
707: [10:39:14] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
708: [10:39:52] * Colin[pi] has joined #silverstripe
709: [10:43:12] * willr_ quit (Quit: willr_)
710: [11:00:27] <sam__> can anybody help me for facebook login?
711: [11:05:33] * ARNHOE quit (Read error: Connection reset by peer)
712: [11:06:51] * CodeTrap has joined #silverstripe
713: [11:25:37] * ARNHOE has joined #silverstripe
714: [11:33:25] * ivoba quit (Read error: Operation timed out)
715: [11:38:23] * priithansen has joined #silverstripe
716: [11:43:27] <ocm> sam__ help you out on what? oauth?
717: [11:45:53] * CodeTrap quit (Ping timeout: 268 seconds)
718: [11:47:18] * ivoba has joined #silverstripe
719: [11:47:21] <jcwacky> Shortcodes. From the docs: "shortcodes are automatically parsed on any database field which is declared as HTMLValue or HTMLText, when rendered into a template."
720: [11:47:47] <jcwacky> Does that mean I should be able to type [Title] into the WYSIWYG and it will parse it?
721: [11:47:48] <sam__> facebook connect module
722: [11:48:01] <sam__> OCM?
723: [11:50:42] * CodeTrap has joined #silverstripe
724: [11:56:05] <ocm> sam__ !
725: [11:56:14] <ocm> never been working iwth the facebook connect module
726: [11:56:15] <ocm> sorry
727: [12:03:14] <wmk> jcwacky, afaik yes. You need to register a shortcodehandler for that.
728: [12:03:20] <sam__> can you please guide me what to use for facebook login?
729: [12:04:06] <ocm> sam__ what do you want it to use for? As a login for silverstripe?
730: [12:04:13] <ocm> like a single signon?
731: [12:05:57] <sam__> yes
732: [12:06:09] <sam__> log in to my silverstripe website... thts it
733: [12:06:26] <ocm> just facebook or would you like to go with twitter/google/etc/too?
734: [12:09:41] <sam__> just facebook
735: [12:10:18] <ocm> hm, then I dont know.. check the facebook api?
736: [12:10:42] <sam__> ok... if i go for three of them then?
737: [12:10:47] <ocm> then go with oAuth
738: [12:10:54] <sam__> oAuth?
739: [12:10:55] <sam__> ok
740: [12:10:58] <sam__> fine
741: [12:11:00] <sam__> let me try
742: [12:11:10] * ivoba quit (Ping timeout: 268 seconds)
743: [12:11:16] <ocm> however I am not a big fan of oAuth, concidering the lack of proper security
744: [12:11:21] <ocm> but its the best you can get :p
745: [12:14:23] <sam__> ok thnx
746: [12:21:39] * UndefinedOffset has joined #silverstripe
747: [12:23:03] * sam__ quit (Ping timeout: 250 seconds)
748: [12:33:14] <ocm> hmm.. Is it possible top use a gridfield in a widget?
749: [12:37:45] * CodeTrap quit (Quit: CodeTrap)
750: [12:37:55] * CodeTrap has joined #silverstripe
751: [12:45:15] * drazafsky has joined #silverstripe
752: [12:49:58] * CodeTrap quit (Quit: CodeTrap)
753: [12:50:08] * CodeTrap has joined #silverstripe
754: [12:53:52] <UndefinedOffset> ocm hard to say never tried it... it'd be super tight if it did :P
755: [12:54:04] <ocm> maybe I just should give it a go in that case
756: [12:54:07] <ocm> hang on :D
757: [12:54:24] <UndefinedOffset> couldn't hurt anything, never know you may get lucky and it works lol
758: [12:54:39] <ocm> maybe I need pharrel to get lucky
759: [12:54:43] <ocm> :P
760: [12:54:56] <ocm> or daft punk
761: [12:59:44] <UndefinedOffset> lol
762: [13:02:57] * ivoba has joined #silverstripe
763: [13:07:41] * Colin[pi] quit (Ping timeout: 241 seconds)
764: [13:32:47] * micmania1 has joined #silverstripe
765: [13:49:58] * Shrike_Finland quit (Quit: Leaving.)
766: [13:51:42] * violetina has joined #silverstripe
767: [14:00:03] * CodeTrap quit (Quit: CodeTrap)
768: [14:00:11] * CodeTrap has joined #silverstripe
769: [14:51:11] * swordsmanz has joined #silverstripe
770: [14:56:23] * CodeTrap quit (Ping timeout: 245 seconds)
771: [15:03:24] * catcher has joined #silverstripe
772: [15:19:52] * ARNHOE quit (Remote host closed the connection)
773: [15:40:22] * sam___ has joined #silverstripe
774: [15:40:38] <sam___> hi
775: [15:40:54] <sam___> need some help on image scrolling
776: [15:40:56] <sam___> http://golf.kc316.com/
777: [15:41:25] <sam___> right hand side bottom there is photo stream where only three photos are getting displayed
778: [15:41:46] <sam___> need the navigation arrow to thumbnail view of more picture
779: [15:41:50] <sam___> please help
780: [15:53:41] * CodeTrap has joined #silverstripe
781: [16:02:10] * kinglozzer quit (Remote host closed the connection)
782: [16:04:03] * priithansen quit (Quit: priithansen)
783: [16:07:57] * sam___ quit (Ping timeout: 250 seconds)
784: [16:13:50] * Marvanni quit (Ping timeout: 240 seconds)
785: [16:18:36] * Marvanni has joined #silverstripe
786: [16:25:21] * sam___ has joined #silverstripe
787: [16:25:25] <sam___> hi all
788: [16:25:49] <sam___> can anybody help me on image arrow navigation?
789: [16:34:23] * sam___ quit (Ping timeout: 250 seconds)
790: [16:34:49] * CodeTrap quit (Ping timeout: 276 seconds)
791: [16:38:43] * micmania1 quit (Quit: Leaving)
792: [16:38:46] * lobarvaz quit (Remote host closed the connection)
793: [16:41:07] * gelignite has joined #silverstripe
794: [16:41:43] * PigeonFriend quit ()
795: [17:00:04] * Colin[pi] has joined #silverstripe
796: [17:02:33] * RojoD is now known as Rojoodood
797: [17:18:07] * ivoba quit (Quit: Leaving)
798: [17:22:03] * guci0 quit (Ping timeout: 250 seconds)
799: [17:43:01] * Rojoodood is now known as RojoD
800: [17:45:49] <AlphaCactus> sam____: perhaps you could use something like Galleria http://galleria.io/
801: [17:50:33] * azureKnight has joined #silverstripe
802: [17:51:05] <azureKnight> If there is a link function written for SS 3.0 and below, will that function have any issues migrating to 3.1?
803: [17:52:43] <azureKnight> With my function allowing users to submit an ad, I'm wanting each submitted ad to have it's own page, but using the link function that I have for another websites just returns a 404
804: [18:02:41] * henkpoley has joined #silverstripe
805: [18:03:49] <azureKnight> Maybe there needs to be some sort of publishing step?
806: [18:28:45] * priithansen has joined #silverstripe
807: [18:49:25] <AlphaCactus> Good job Silverstripe. all times always show AM even though stored time is after noon.
808: [18:51:53] * Nivery has joined #silverstripe
809: [18:57:50] * swordsmanz quit (Remote host closed the connection)
810: [19:01:27] * catcher_dev has joined #silverstripe
811: [19:03:26] * catcher quit (Ping timeout: 256 seconds)
812: [19:03:37] * ARNHOE has joined #silverstripe
813: [19:19:21] * ARNHOE quit (Remote host closed the connection)
814: [19:20:36] * violetina quit (Remote host closed the connection)
815: [19:22:26] * priithansen quit (Quit: priithansen)
816: [19:27:39] * SightUnseen has joined #silverstripe
817: [19:27:44] * SightUnseen has left #silverstripe
818: [19:27:54] * zfmf1 has left #silverstripe
819: [19:32:13] * jrthomer quit (Ping timeout: 246 seconds)
820: [19:32:13] * jrthomer_ has joined #silverstripe
821: [19:35:32] * pex has joined #silverstripe
822: [19:37:31] * ARMWorksiMac1_ has joined #silverstripe
823: [19:38:05] * ARMWorksiMac1 quit (Ping timeout: 246 seconds)
824: [19:38:19] * ARMWorksiMac1_ is now known as ARMWorksiMac1
825: [20:06:38] * catcherdev has joined #silverstripe
826: [20:06:47] * catcherdev is now known as catcher
827: [20:08:18] <catcher> I've been providing CMS permissions to custom DOs by overriding canEdit(), etc. on each class. Is there a better way in 3.0 or 3.1?
828: [20:12:48] * NitinShah has joined #silverstripe
829: [20:13:00] <AlphaCactus> better way? they barely started using those in the ModelAdmin with 3.x
830: [20:13:42] <NitinShah> I am using the silverstipe blog module and would like to add the previous / next link at the bottom of each blog entry
831: [20:14:12] <catcher> AlphaCactus, it's just a lot of code repetition
832: [20:15:19] <NitinShah> I can see the function already exists in the BlogEntry.php but am not sure of what code should I add to the blogentry.ss to have the previous / next links
833: [20:16:15] * SphereSilverNL has joined #silverstripe
834: [20:21:36] <catcher> NitinShah, try $NextBlogEntry.Link
835: [20:22:21] <catcher> (and $PreviousBlogEntry.Link)
836: [20:23:29] <NitinShah> Catcher, thank you
837: [20:23:37] * UndefinedOffset quit (Quit: Leaving.)
838: [20:23:56] * swordsmanz has joined #silverstripe
839: [20:25:09] * Peavers has joined #silverstripe
840: [20:25:34] <Peavers> question for anyone using amazon RDS', I can't find the "create DB security group" button... have they moved it?!
841: [20:31:52] <catcher> Peavers, you'll have better luck in ##aws
842: [20:43:05] * mobiusnz has joined #silverstripe
843: [20:43:39] * Pyromanik has joined #silverstripe
844: [20:43:47] <Pyromanik> I'm baaaack!
845: [20:44:58] <Peavers> Pyromanik, amazon ec2, know it? use it? able to help me!!!!?
846: [20:47:27] <SphereSilverNL> Pyromanik: Did you just set my house on fire?
847: [20:49:38] <irogue> Peavers: i use AWS
848: [20:50:56] <Peavers> how do I let my IP address access my RDS instance??
849: [20:51:02] <Peavers> can't find the sec tab the docs talk about
850: [20:51:12] * henkpoley quit (Quit: henkpoley)
851: [20:52:48] <irogue> Peavers: http://iforce.co.nz/i/c0r3ww0q.hz0.png
852: [20:53:09] <Peavers> Yeah I don't have that tab
853: [20:53:19] <irogue> made sure you're in the right region?
854: [20:53:21] <Peavers> mine goes snap shot | parameter groups
855: [20:53:33] <Peavers> no?
856: [20:53:43] <irogue> it'll only show if you're in a region you've got RDS in
857: [20:53:49] <irogue> region dropdown, top-right of page
858: [20:54:05] <Peavers> oregon?
859: [20:54:11] <Peavers> what region should it be?
860: [20:54:17] <irogue> whatever region your RDS is set up in
861: [20:54:25] * novaweb has joined #silverstripe
862: [20:55:00] <Peavers> yeah I think thats right
863: [20:55:04] <Peavers> zone?
864: [20:55:19] <novaweb> Howdy Team, does anyone know if the DDOS/Flush=1 vulnerability has been sorted out and released?
865: [20:57:07] <irogue> Peavers: can you see Instances?
866: [20:57:14] <Peavers> yeah
867: [20:57:33] <irogue> but still no Security Groups tab?
868: [20:57:40] <Peavers> thats right
869: [20:57:59] <irogue> you might be set up as a VPC rather than regular EC2/RDS?
870: [20:58:39] <irogue> in which case you'd have to go to the VPC console and do it there
871: [20:58:50] <irogue> i haven't done VPC, so no idea how security works there
872: [21:01:34] * zippy__ has joined #silverstripe
873: [21:01:46] <zippy__> orning
874: [21:02:11] <jrthomer_> anybody know why DataObject->getComponents and getManyManyComponents are not cached?
875: [21:02:14] <jrthomer_> getComponent is
876: [21:03:01] <jrthomer_> but on the other relations, we have some pages that are causing hundreds (even thousands in the admin interface) of the exact same query to get a HasMany or ManyMany relation
877: [21:04:17] <simon_w> Because it's lazy loaded
878: [21:06:19] <jrthomer_> simon_w: I accidentally hit the wrong button and cleared my backlog ... did you say because it's lazy loaded?
879: [21:06:25] * jrthomer_ is now known as jrthomer
880: [21:06:45] <Pyromanik> Peavers: No.
881: [21:06:47] <Pyromanik> SphereSilverNL: No.
882: [21:07:03] <Peavers> Pyromanik, useless.
883: [21:07:05] <Pyromanik> back at work, back to my favourite word!
884: [21:07:06] <Pyromanik> NO.
885: [21:07:25] <novaweb> Anyone? > http://blog.cribznetwork.com/2013/07/silverstripe-3-dos-vulnerable/
886: [21:07:53] <Pyromanik> novaweb: did you just find that?
887: [21:08:01] <novaweb> I see Sam has replied since I viewed the page ^^
888: [21:08:05] <Pyromanik> is old news
889: [21:09:01] * DigNZ has joined #silverstripe
890: [21:09:02] * DigNZ quit (Remote host closed the connection)
891: [21:09:16] * DigNZ has joined #silverstripe
892: [21:10:21] <azureKnight> Welcome back Pyromanik
893: [21:11:07] * coldblooded01 has joined #silverstripe
894: [21:15:43] <jrthomer> novaweb: I suggest adding rules like this to your Apache config (or similar for nginx, etc) in production to be doubly sure:
895: [21:15:44] <jrthomer> http://pastebin.com/tPDaY2Xf
896: [21:16:05] <novaweb> Thx jrthomer
897: [21:16:49] * jrthomer will be relocating to home to work from there, back online in 15 minutes ... still curious about why not caching HasMany/ManyMany components if someone wants to talk more
898: [21:17:47] * Pyromanik goes to transfer a domain, gets "Error 813, .nz Registry might be down."
899: [21:17:50] <Pyromanik> o.0
900: [21:18:18] <Pyromanik> thanks azureKnight
901: [21:18:42] <Pyromanik> I'd say it feels good to be back, but I had the most awesome time it would just not be true.
902: [21:19:02] * NitinShah quit (Quit: Leaving)
903: [21:19:18] * novaweb quit (Quit: novaweb)
904: [21:19:49] <simon_w> jrthomer, yup
905: [21:25:14] * priithansen has joined #silverstripe
906: [21:25:49] <azureKnight> We appreciate the honesty.
907: [21:26:05] * nickmolhoek has joined #silverstripe
908: [21:26:06] * nickmolhoek quit (Remote host closed the connection)
909: [21:26:20] * nickmolhoek has joined #silverstripe
910: [21:27:16] <SphereSilverNL> Any dutchies here?
911: [21:28:25] * priithansen quit (Client Quit)
912: [21:28:26] <irogue> Pyromanik: you end up readin' the email?
913: [21:38:26] * Nivery quit (Quit: Nivery)
914: [21:43:06] * gelignite quit (Quit: http://bit.ly/nkczDT)
915: [21:46:16] * newbee has joined #silverstripe
916: [21:47:28] <newbee> hi.. i have copied model admin to mysite/code but its not appeariong
917: [21:49:17] <newbee> i am using xampp
918: [21:49:33] <SphereSilverNL> http://www.sspaste.com/paste/show/51f6e2c1c2373
919: [21:50:06] <azureKnight> What would this look like in 3.1?
920: [21:50:07] <azureKnight> DataObject::get_by_id('Telechargement', (int)$Params['ID'])
921: [21:50:38] <SphereSilverNL> Telechargement::get()->byID((int)$Params['ID']);
922: [21:50:44] <azureKnight> That was it. Thank you.
923: [21:51:00] <azureKnight> You're just on a roll.
924: [21:51:02] <newbee> where should i post tht code..
925: [21:51:07] <newbee> sorry paste
926: [21:51:08] <azureKnight> newbee
927: [21:51:13] <azureKnight> Make a new file and call it MyAdmin.php
928: [21:51:22] <SphereSilverNL> you shouldn't post that code and you shouldn't copy the ModelAdmin
929: [21:51:40] <SphereSilverNL> make a new class called "MyAdmin" in your mysite (or module) directory
930: [21:52:06] <SphereSilverNL> from there, you can include, exclude, add, delete, destroy etc. within the correct scope.
931: [21:52:18] <SphereSilverNL> at least, I think it's in the correct scope :P
932: [21:53:13] <SphereSilverNL> Maybe this will help you getting started: https://github.com/Firesphere/silverstripe-newsmodule/blob/master/code/admins/NewsAdmin.php
933: [21:53:46] <SphereSilverNL> Although it's probably overkill for your cause, it should help you get started newbee
934: [21:54:01] * pippy_ has joined #silverstripe
935: [21:54:51] <SphereSilverNL> Ignore the function declarations, that's the overkill part for you ;)
936: [21:54:53] <newbee> okay.. i am working on it.. thank you
937: [21:55:45] <SphereSilverNL> This is 3.1 latest branch based, so make sure you need privates or publics
938: [21:55:49] * pippy quit (Ping timeout: 248 seconds)
939: [21:56:05] <SphereSilverNL> my advice? Get the latest branch of 3.1 and go for it, ;)
940: [21:57:24] <newbee> when i installing silverstripe i got this worning that "fileinfo should be enabled in PHP. SilverStripe uses it for MIME type detection of files. SilverStripe will still operate, but email attachments and sending files to browser (e.g. export data to CSV) may not work correctly without finfo."
941: [21:58:35] <SphereSilverNL> that's no biggie
942: [21:58:44] <SphereSilverNL> It's just an advice, not an error.
943: [21:59:34] <SphereSilverNL> if you run into serious issues and want personal contact, e-mail me at issues@casa-laguna.net
944: [21:59:46] <azureKnight> Hmm. If I'm using a delete statement, but I want the users to only be able to delete the record if it belongs to them, how would I do that?
945: [22:00:00] <SphereSilverNL> I spend about 2 hours a day helping starters.
946: [22:00:13] <SphereSilverNL> azureKnight:
947: [22:00:38] <azureKnight> SphereSilverNL?
948: [22:00:44] <SphereSilverNL> if($object->owner()->ID == Member::currentUserID()){ Delete that shizzle }
949: [22:00:49] <azureKnight> Lol.
950: [22:01:19] <SphereSilverNL> azureKnight: I can hardly answer half of the e-mails I get ;)
951: [22:01:46] <newbee> okay I am trying there CRM thingy..
952: [22:01:47] <azureKnight> I just wish I knew more. I appreciate people helping me, I just don't want to be a dead weight.
953: [22:02:38] <Pyromanik> never
954: [22:02:43] <Pyromanik> we all start somewhere
955: [22:03:08] <irogue> somewhere, out there
956: [22:03:17] <azureKnight> Thank you irogue
957: [22:03:18] <Pyromanik> beneath a pale blue sky
958: [22:03:19] <azureKnight> XD
959: [22:03:22] <SphereSilverNL> Nobody's a dead weight
960: [22:03:41] <Pyromanik> irogue: it's your turn -.-
961: [22:03:44] <SphereSilverNL> unless their name is my ex her name.... :P
962: [22:03:58] <irogue> someone's thinking of me
963: [22:04:02] <azureKnight> Haha
964: [22:04:06] * newbee has left #silverstripe
965: [22:04:15] <azureKnight> Well, thanks. I appreciate that. I just need to find somewhere to really get some hands on learning of this stuff.
966: [22:04:40] <Pyromanik> and loving me tonight
967: [22:04:56] <Pyromanik> bow chika bow wowwww
968: [22:04:58] <SphereSilverNL> I'll hug you 'till death Pyro
969: [22:07:27] <SphereSilverNL> Just because I can and I have a cat attacking my legs
970: [22:07:40] <azureKnight> Precious. How did you guys get your start? I've been doing front-end programming for the past 3 years, and tid bits of Silverstripe in there. Having to customize what Silverstripe gave me. But I want to get more advanced, being able to write the function Link() and all that. Any recommended places on where to grasp that stuff?
971: [22:07:55] * EasyCo has joined #silverstripe
972: [22:08:13] <SphereSilverNL> Link is a function.....
973: [22:08:29] * drazafsky quit (Ping timeout: 250 seconds)
974: [22:08:33] <azureKnight> Yeah. I mean I need to learn all the ins and outs of writing functions.
975: [22:08:58] <Colin[pi]> morning all
976: [22:09:10] <azureKnight> Good morning Colin[pi]
977: [22:09:13] <Pyromanik> azureKnight: any PHP tutorial
978: [22:09:22] <Pyromanik> look up PHP, and OOP basics.
979: [22:09:28] <azureKnight> I have done some php and oop basic stuff.
980: [22:09:29] <Pyromanik> OOP is theory, PHP is more practical.
981: [22:09:41] <azureKnight> But the tutorials only get you so far. I did codeacademys stuff and that was helpful for some hands on stuff.
982: [22:09:44] <Pyromanik> that's all SS is, OO PHP :P
983: [22:09:56] <Pyromanik> I'm entirely self taught.
984: [22:10:06] <azureKnight> *o* You're who I want to be.
985: [22:10:08] <Pyromanik> It's practice and experience for the most part.
986: [22:10:13] <SphereSilverNL> public function Link($action = 'show/') {
987: [22:10:14] <SphereSilverNL> if ($Page = $this->NewsHolderPage()) {
988: [22:10:16] <SphereSilverNL> return($Page->Link($action).$this->URLSegment);
989: [22:10:16] <Pyromanik> azureKnight: most people here are self taught...
990: [22:10:17] <SphereSilverNL> }
991: [22:10:19] <SphereSilverNL> }
992: [22:10:20] <SphereSilverNL> It's quite basic actually.... NHP is the "has_one" in this case. Then, just return it while in the template loop.
993: [22:10:43] <Pyromanik> azureKnight: just keep asking questions.
994: [22:10:58] <Colin[pi]> we never really stop being self-taught
995: [22:10:58] <azureKnight> Haha. I'm all self-taught in my css and html.
996: [22:11:04] <Pyromanik> just... so long as you're not asking questions in the form of "Do my job for me plz" and stuff like that.
997: [22:11:09] <azureKnight> Hence why I want to work into more php and other stuff.
998: [22:11:09] <Pyromanik> you'll be fine :D
999: [22:11:21] <EasyCo> azureKnight: Then one day, if you work really really hard you'll turn into simon_w
1000: [22:11:27] <Pyromanik> hahahahaha
1001: [22:11:29] <azureKnight> :O
1002: [22:11:31] <Pyromanik> wew
1003: [22:11:34] <azureKnight> Is that even possible!?
1004: [22:11:43] <Pyromanik> don't think so.
1005: [22:11:45] <simon_w> What? Someone getting bored of web work? :p
1006: [22:11:46] <azureKnight> Me either.
1007: [22:11:54] <Pyromanik> simon_w: well, yes.
1008: [22:11:59] <Pyromanik> also at that level.
1009: [22:12:05] <Pyromanik> want to make app, not sites.
1010: [22:12:14] <Pyromanik> wew, break time!
1011: [22:12:24] * jrthomer|home has joined #silverstripe
1012: [22:12:33] <azureKnight> Smoke em if you you got em.
1013: [22:14:10] <azureKnight> Well, here's a couple questions then, seeing as you guys have said to ask..
1014: [22:14:45] <SphereSilverNL> No, I don't smoke :P
1015: [22:14:57] <azureKnight> I have the relation of Members has_many ads. I even have a form where a logged in user can fill out the ad and submit it, and it writes in relation to them.
1016: [22:15:27] <azureKnight> I want other members and visitors to be able to view that ad by the member, and obviously for the member to be able to delete their own ad.
1017: [22:15:39] <spronk> Pyromanik: how was wdcnz?
1018: [22:15:57] <SphereSilverNL> azureKnight: generic getter, with a filter on the yes/no?
1019: [22:16:18] <SphereSilverNL> in Page.php (to take the upmost generic root file by users)
1020: [22:16:26] <SphereSilverNL> add a function showAd
1021: [22:16:58] <SphereSilverNL> if(showAdd){ return addCode; } else { return genericAddCode; }
1022: [22:17:02] <jrthomer|home> simon_w: I'm back ... why does lazy-loading have to do with getComponent being cached, but not has/many many?
1023: [22:17:04] <SphereSilverNL> to put it simple
1024: [22:17:20] <azureKnight> Right.
1025: [22:17:38] <SphereSilverNL> You could even do this from template for the most part
1026: [22:17:55] * pex quit (Quit: pex)
1027: [22:18:02] <simon_w> jrthomer|home, getComponent executes the query when you call it. get[ManyMany]Components doesn't.
1028: [22:18:02] <azureKnight> Originally I was having the Page.php return all Ads by just a simple Ad::get();
1029: [22:18:34] <jrthomer|home> sorry, you were talking about DataList lazy querying, not DataObject lazy loading... gotcha
1030: [22:18:34] <azureKnight> And looping through them to show them, but I understand the showad is how the object will have a page.
1031: [22:18:44] <SphereSilverNL> <% if Member.currentMember.ShowPersonalAd %>show_personal_ad_here<% else %>show_generic_ad<% end_if %>
1032: [22:19:05] <jrthomer|home> the performance side effect of that is awful, though... how would you recommend caching the components lookup?
1033: [22:19:41] <SphereSilverNL> I wouldn't. And yes, the speed of this kind of personal addressing is aweful to put it at best
1034: [22:20:21] <SphereSilverNL> azureKnight: Have the function in page.php return relevant ads, not anything ;)
1035: [22:20:28] <SphereSilverNL> it would save at least something
1036: [22:20:41] <azureKnight> I gotcha.
1037: [22:21:08] <simon_w> jrthomer|home, what do you mean? The only way it'll be awful is if you're reusing the DataList over and over
1038: [22:21:18] <SphereSilverNL> Member::currentUser()->AllowedAds() should return just the allowed ads,
1039: [22:21:21] <simon_w> Rather than just looping over the results
1040: [22:21:44] <azureKnight> So, you're saying, rather than using a get, and returning the objects through that. Use this function to display the ads?
1041: [22:21:57] <azureKnight> Sorry, I mean an open get, like the one I used earlier.
1042: [22:21:59] <SphereSilverNL> jep
1043: [22:22:38] <SphereSilverNL> if your function is named "AllowedAds", it should fix your problem. and let the compiler/interpreter handle it
1044: [22:22:48] <SphereSilverNL> instead of the template-parser
1045: [22:23:15] * mobiusnz has left #silverstripe
1046: [22:23:31] <jrthomer|home> it seems poor that for some things we try to cache to avoid DB lookup, but for getting lists of things we don't
1047: [22:23:32] <SphereSilverNL> Note, it's almost 0:30 here, and I'm about to go do sleepy stuff like sleeping
1048: [22:23:44] <azureKnight> Haha. I'll bear that in mind.
1049: [22:23:51] <jrthomer|home> on some pages we're seeing hundreds (on one admin page thousands) of the same query to get a hasmany/manymany list
1050: [22:24:05] <simon_w> Why are you getting it thousands of times?
1051: [22:24:27] <SphereSilverNL> jrthomer|home: how the hell did you get hundreds, or thousands, of the same query?
1052: [22:24:50] <jrthomer|home> I'll have to step through profiler again, but the thousands is one another developer sent to me today ...
1053: [22:25:36] <jrthomer|home> it's in part of an interface that recursively steps through a set of objects and builds an edit interface for it
1054: [22:25:43] <jrthomer|home> that set of objects can have a very deep tree
1055: [22:26:26] * UncleCheese has joined #silverstripe
1056: [22:26:27] <jrthomer|home> but without tight coupling, there's not much of a way to always guarantee that disjointed pieces of code can reuse the same list
1057: [22:26:43] <SphereSilverNL> a deep tree is not an excuse, it means it's linked badly
1058: [22:26:51] <jrthomer|home> at that, the code would need to do something like 'return new ArrayList($object->SomeRelation()->toArray());'
1059: [22:27:25] <jrthomer|home> because you have to get the junk out of the DataList to avoid multiple DB lookups
1060: [22:28:28] <Pyromanik> spronk: pretty good
1061: [22:28:33] <Pyromanik> met up with some old school mates
1062: [22:28:45] <spronk> nice
1063: [22:28:49] <Pyromanik> the organiser chap fuckign good at 80's dance moves
1064: [22:29:01] <Pyromanik> so I treated them to a moonwalk
1065: [22:29:20] <Pyromanik> ss23: wake up you lazy
1066: [22:30:18] * zippy__ quit (Ping timeout: 268 seconds)
1067: [22:30:26] <SphereSilverNL> I'm off to bed. Sleep tight folks
1068: [22:30:31] <Colin[pi]> nn
1069: [22:30:38] * SphereSilverNL quit (Quit: bye)
1070: [22:32:08] <Pyromanik> spronk: then I went racing
1071: [22:32:26] <Pyromanik> so I've pretty much had the best past 6 days a fella can have.
1072: [22:32:37] <Pyromanik> even came home to win a game of hockey
1073: [22:32:47] <Colin[pi]> :D
1074: [22:32:51] <Colin[pi]> feels good man
1075: [22:32:57] <Pyromanik> although my foot got injured
1076: [22:33:05] <Colin[pi]> D:
1077: [22:33:57] <spronk> niice
1078: [22:33:58] <ss23> Pyromanik: I'm awake!
1079: [22:34:00] <spronk> but lame.
1080: [22:34:07] <jrthomer|home> simon_w: I just dug into it a bit more, and it's not actually what was originally reported to me
1081: [22:34:15] <jrthomer|home> it's actually a more clear case of where caching would be good
1082: [22:34:35] <jrthomer|home> basically, it's a data object like this:
1083: [22:34:50] <jrthomer|home> Term -> has one Category
1084: [22:35:13] <jrthomer|home> while build a dropdown of all terms
1085: [22:35:32] <jrthomer|home> each one calls $this->Category() to get its category and use it in the summary, or elsewhere
1086: [22:35:58] <jrthomer|home> if you have a few hundred terms in a category, you end up with a few hundred DB queries for the same category
1087: [22:36:19] <jrthomer|home> that makes more sense than one object having getComponents called hundreds of times on it
1088: [22:36:38] <irogue> walked half of the way to work this morning. forgot my shoes are suede. very wet feet.
1089: [22:36:42] <simon_w> So, your problem is that the component cache is per-instance rather than global?
1090: [22:36:54] <jrthomer|home> each object only needs $this->Category() (or $term->Category() outside of Term object) called a time or two to get huge DB calls
1091: [22:36:57] <jrthomer|home> basically, yes
1092: [22:37:11] <jrthomer|home> but when I looked at the code, it doesn't seem like HasMany or ManyMany are cached at all
1093: [22:37:15] <jrthomer|home> (even per-instance)
1094: [22:37:20] <jrthomer|home> oh, nm
1095: [22:37:25] <jrthomer|home> this is getComponent, not has many
1096: [22:37:30] <jrthomer|home> it's been a long day
1097: [22:37:55] <Pyromanik> spronk: rough as game, sydenham with Merv as the ref :<
1098: [22:38:34] <Pyromanik> semi dodgy tackle in the 23 that didn't impede play *whistle* PC
1099: [22:38:36] <Pyromanik> lolwut
1100: [22:38:42] <simon_w> So change DataList#byID to behave like DataObject::get_by_id and have a global cache?
1101: [22:39:02] <Pyromanik> glob cash
1102: [22:39:13] <Pyromanik> ss23: really? surprising!
1103: [22:40:46] <jrthomer|home> simon_w: that sounds right
1104: [22:40:52] <jrthomer|home> you see any gotchas there?
1105: [22:41:17] <ss23> :D
1106: [22:41:24] <simon_w> Lazy loading of fields could be fun, but they should be taken care of when used
1107: [22:41:32] <Pyromanik> ss23: gave the mint chocs to the missus
1108: [22:41:32] <simon_w> ss23, go back to sleep!
1109: [22:41:36] <simon_w> (conflicting demands!)
1110: [22:41:38] <Pyromanik> so so melted
1111: [22:41:41] <Pyromanik> hilarious
1112: [22:41:56] <ss23> ;_;
1113: [22:41:59] <ss23> hahahah Pyromanik
1114: [22:42:04] <ss23> I'm surprised you kept it XD
1115: [22:42:17] <jrthomer|home> or just change getComponent to use get_by_id rather than DataList->byID
1116: [22:42:25] <simon_w> No
1117: [22:43:47] <Pyromanik> ss23: in my jacket pockets, lol
1118: [22:43:59] <simon_w> If anything, get_by_id should be changed to directly call byID
1119: [22:44:03] <Pyromanik> apparently I'm too hot though, they got mushy as hell
1120: [22:44:19] <Pyromanik> she was all 'bubbly?' and I was all "Not any more!"
1121: [22:44:25] <jrthomer|home> why should loading a single object be forced to go through Data*List*?
1122: [22:44:52] <simon_w> Consistent interface
1123: [22:46:45] <spronk> Pyromanik: gayyeee
1124: [22:46:57] <spronk> we had a fucking shit ref two weekends ago. Sent off our goalie for answering his question
1125: [22:47:06] <spronk> still, dominated 6-1
1126: [22:52:00] <jrthomer|home> simon_w: so, adding the cache in DataList is easy ... invalidating it is another thing. any thoughts?
1127: [22:52:59] <jrthomer|home> actually, adding that kind of cache in DataList isn't really easy
1128: [22:53:19] <jrthomer|home> it is if we assume that the usage is always SomeObject::get()->byID($id)
1129: [22:53:40] <jrthomer|home> but I suppose users could do SomeObject::get()->where('some extra criteria')->byID($id);
1130: [22:54:08] <jrthomer|home> although I'm not sure why that would be done, it could be, with a user expecting the result of the compound extra criteria AND id lookup
1131: [22:55:32] <Pyromanik> spronk: hahaha, shit refs aren't too bad so long as they're consistent.
1132: [22:57:15] <spronk> this guy was the coach of the team we were slaughtering
1133: [22:57:25] <spronk> so... he got worse as they got more and more fucked.
1134: [22:57:29] <spronk> was kinda funny, now that i think about it
1135: [22:58:58] <Pyromanik> yeah
1136: [22:59:09] <Pyromanik> that is shit. gotta be impartial as a ref.
1137: [22:59:14] <spronk> mm
1138: [22:59:20] <spronk> then i ran into the fence
1139: [22:59:27] <spronk> trying to catch a ball before it went out
1140: [22:59:31] <Pyromanik> lol
1141: [22:59:55] <spronk> fucking hurt. ripped a hole in my shirt, ended up on the other side on my arse. le sigh
1142: [23:00:32] <Pyromanik> first thing that happened in our game is I tackled a guy, got the ball, started dribbling towards our baseline (back and around sorta manuvre), get pushed from behind, fall flat on my chest and guy I tackled runs over top of me and dribbles into our circle
1143: [23:00:36] <Pyromanik> NO CALL
1144: [23:00:48] * Liquide has joined #silverstripe
1145: [23:00:56] <Pyromanik> apparently that's legit
1146: [23:01:46] <Pyromanik> later in the game, one of the fellas shadowing a guy into the corner, guy starts backing into him in a sorta almost body obstruction kinda way (trying to make it into the circle), nekminnit PC for 'leaning on him'
1147: [23:01:53] <Pyromanik> (outside the circle)
1148: [23:02:01] <spronk> loool
1149: [23:02:14] <irogue> our courier man got a new van
1150: [23:02:17] <Pyromanik> the game was rough man, so many missed calls
1151: [23:02:22] <irogue> it is ridiculously large
1152: [23:02:31] <Pyromanik> irogue: sounds like a legit guy.
1153: [23:02:54] <spronk> fuk yeh
1154: [23:02:59] <spronk> i should become a courier
1155: [23:03:04] <spronk> i like driving, and lifting heavy things
1156: [23:03:06] <spronk> sounds perfect.
1157: [23:03:09] <Pyromanik> yeh, me too right
1158: [23:03:11] <irogue> one of the Extra-long Wheelbase Mercedes Sprinters
1159: [23:03:15] <Pyromanik> that's how I got into the bread truck
1160: [23:03:29] <Pyromanik> oh, you probably didn't hear about that ss23
1161: [23:03:47] <irogue> http://farm6.staticflickr.com/5305/5560469257_ffd58fca50_z.jpg
1162: [23:04:23] <Pyromanik> On Thursday after WDCNZ there were a few whiskys, and then I ended up in the back of a bread truck getting a lift to my hotel while they delivered bread to the various daries around the CBD
1163: [23:04:28] <irogue> hiace -> transit -> ELWB sprinter
1164: [23:04:35] <irogue> he must be doing alright for himself
1165: [23:04:51] <spronk> haha
1166: [23:04:53] <spronk> aweosme
1167: [23:05:10] <irogue> Pyromanik: did you do any of the deliveries?
1168: [23:05:30] <Pyromanik> I was quite drunk, and at that moment I thoguht delivering bread was WAAAAAY more awesome than building websites.
1169: [23:05:37] <Pyromanik> irogue: I offered, but chappy wouldn't let me :<
1170: [23:05:41] <irogue> naww
1171: [23:05:47] <Pyromanik> dropped me off in Lampton Quay
1172: [23:05:49] <Pyromanik> was all good
1173: [23:06:09] <Pyromanik> got a free loaf out of it though
1174: [23:06:17] <Pyromanik> mckenzies
1175: [23:06:20] <irogue> nice
1176: [23:06:27] <irogue> did you munch it back?
1177: [23:06:49] <Pyromanik> irogue: naw, had to get an early flight out with a mild hangover, so dropped it into a flight centre
1178: [23:07:11] <irogue> rofl
1179: [23:07:15] <irogue> HERE HAVE SOME BREAD
1180: [23:07:24] <irogue> *stumbles out*
1181: [23:07:29] <Pyromanik> gave it to the bird behind the first desk on my way to catch the airport flyer
1182: [23:07:37] <Pyromanik> irogue: pretty much exactly that
1183: [23:07:47] <Pyromanik> carrying all my gear
1184: [23:07:53] <Pyromanik> wearing a suit, rofl
1185: [23:08:00] <irogue> haha
1186: [23:10:28] <Pyromanik> also
1187: [23:10:41] <Pyromanik> UncleCheese is incredibly tall. I had no idea, but he's pretty much a giant.
1188: [23:11:17] <UncleCheese> ha
1189: [23:11:21] <UncleCheese> i've been getting that a lot
1190: [23:11:59] <spronk> how tall are you?
1191: [23:12:37] * LoveDuckie quit (Ping timeout: 276 seconds)
1192: [23:13:14] <Pyromanik> spronk: no idea, but compared to 5'8", he makes my neck sore :<
1193: [23:14:02] <spronk> heh
1194: [23:14:08] <spronk> you're similar height to em
1195: [23:14:09] <spronk> me
1196: [23:14:09] <ChronicD> hahaha
1197: [23:14:13] <spronk> fucking tall people ;P
1198: [23:14:21] <simon_w> Please don't :p
1199: [23:14:32] <Pyromanik> at a loose guess I'd say 6'6" UncleCheese?
1200: [23:14:36] * Luke1988 has joined #silverstripe
1201: [23:14:54] <ChronicD> noooo way
1202: [23:15:15] <UncleCheese> um, no
1203: [23:15:37] <UncleCheese> stop trying to not use the metric system
1204: [23:15:52] <simon_w> He's only a little taller than me. No way it's that much :p
1205: [23:16:01] <spronk> tbh, there are some things that the imperial system is just easier for
1206: [23:16:10] <Pyromanik> UncleCheese: fine, 2m?
1207: [23:16:16] <UncleCheese> 190
1208: [23:16:19] <Pyromanik> close!
1209: [23:16:23] <UncleCheese> not really
1210: [23:16:28] <Pyromanik> yeah probably not
1211: [23:16:31] <simon_w> Woo, I guessed right!
1212: [23:16:33] <UncleCheese> 200cm really stands out
1213: [23:16:37] <Pyromanik> I dunno, maybe it was the sloped floor
1214: [23:16:50] <simon_w> spronk, not really. It's all about what you're used to.
1215: [23:17:18] <spronk> i disagree
1216: [23:17:23] <spronk> 6
1217: [23:17:26] <spronk> is easier to comprehend
1218: [23:17:30] <spronk> than 150
1219: [23:17:33] <Pyromanik> UncleCheese: most Kiwi's still use Imperial for heights, for some reason. Probably because that's what our parents learnt at school.
1220: [23:17:36] <spronk> or 1.something
1221: [23:17:42] <UncleCheese> is that right?
1222: [23:17:45] <UncleCheese> weird
1223: [23:17:57] <simon_w> spronk, like I said, what you're used to.
1224: [23:17:58] <spronk> kinda like most baking measurements are easier to understand in imperial... 1 cup vs 250g etc
1225: [23:18:00] <UncleCheese> imperial
1226: [23:18:00] <Pyromanik> UncleCheese: yeh, NZ was imperial (British imperial) until 1967
1227: [23:18:03] <spronk> it comes down to the maths man
1228: [23:18:09] <UncleCheese> i love that name
1229: [23:18:16] <UncleCheese> it's like the least imperial thing in the world
1230: [23:18:23] <UncleCheese> it's completely isolated to one country
1231: [23:18:27] <Pyromanik> British empire.
1232: [23:18:33] <Pyromanik> imperial measurements.
1233: [23:18:34] <UncleCheese> the metric system is imperial
1234: [23:18:34] <spronk> EMPIRICAL
1235: [23:18:40] <UncleCheese> the american system is isolationist
1236: [23:18:41] <Pyromanik> yeah
1237: [23:18:47] <Pyromanik> I guess.
1238: [23:18:52] <irogue> american system was based on the british imperial system, but deviated from it
1239: [23:18:55] <Pyromanik> I dunno, that's just what it's called.
1240: [23:19:05] <irogue> some things are the same, others are different
1241: [23:19:07] <simon_w> spronk, I really struggle to understand anything other than 6'
1242: [23:19:08] <Pyromanik> like when someone goes "Oh, 15/16ths" and I'm all -.-
1243: [23:19:08] <spronk> nah
1244: [23:19:21] <UncleCheese> it's so dumb
1245: [23:19:21] <Pyromanik> and then they're "24mm" and I'm all "Good oh!"
1246: [23:19:27] <UncleCheese> do the brits even use it anymore?
1247: [23:19:31] <irogue> metric system is from France
1248: [23:19:34] <UncleCheese> i think it's just USA and Liberia
1249: [23:19:44] <Pyromanik> UncleCheese: they still drive in Miles.
1250: [23:19:54] <Pyromanik> but use metric for most measurements now I think
1251: [23:19:55] <UncleCheese> huih
1252: [23:19:57] <Pyromanik> not srue
1253: [23:19:57] <UncleCheese> that's weird
1254: [23:20:00] <Pyromanik> sure*
1255: [23:20:01] <irogue> yeah, the british have done a very half-assed implementation of metric
1256: [23:20:15] <UncleCheese> that's what i remember from my visit to the UK
1257: [23:22:55] <Pyromanik> still, at almost 6'3" that's pretty tall.
1258: [23:23:30] <Pyromanik> although, that doesn't seem right, I think google is lying to me :<
1259: [23:23:57] <Pyromanik> oh yeah nah it is.
1260: [23:24:00] <Pyromanik> confusing myself :<
1261: [23:25:12] <Pyromanik> urgh meeting time
1262: [23:25:19] <Pyromanik> I hate you Tuesday
1263: [23:26:22] * irogue is 187cm
1264: [23:26:25] <jrthomer|home> simon_w: simple DataList->byID caching prototype here: https://github.com/jthomerson/silverstripe-framework/compare/pulls;cache_datalist_byid
1265: [23:26:29] <irogue> so UncleCheese isn't all that tall really
1266: [23:26:35] <jrthomer|home> but it suffers from problems mentioned above
1267: [23:26:41] <jrthomer|home> 1) no invalidation mechanism
1268: [23:27:19] <jrthomer|home> 2) SomeObject::get()->where('something')->innerJoin('something')->byID($id) won't work (although I don't know why it would be used that way)
1269: [23:27:23] * Luke1988 is 10cm shorter than irogue
1270: [23:33:50] * AlphaCactus quit (Ping timeout: 240 seconds)
1271: [23:34:04] * AlphaCactus has joined #silverstripe
1272: [23:35:42] * Jayden90 has joined #silverstripe
1273: [23:36:24] <jrthomer|home> simon_w: I'm dropping off at home ... I'd be interested in hearing your feedback on link above. You can ping jrthomer and I'll read it in backlog tomorrow, or comment on GH code, or email me
1274: [23:37:09] * jrthomer|home quit (Quit: leaving)
1275: [23:37:35] * Luke1988 quit (Quit: Leaving)
1276: [23:38:51] * trent001 has joined #silverstripe
1277: [23:41:21] <Jayden90> Morning guys. I am trying to make a control for the template that filters the current sitetree object to a cerain page type: http://www.sspaste.com/paste/show/51f6fca62efea
1278: [23:42:00] <Jayden90> This snippit is what I used successfully when I wanted to filter child pages of the current page
1279: [23:42:57] <Jayden90> How can I modify the "ParentID" parameter to filter children of the current result set in the template?
1280: [23:44:21] <Jayden90> E.g. If <% loop $ChildrenOfType(Page) %> is nested in a <% loop $Menu(1) %>
1281: [23:44:57] <UncleCheese> Wellingtonians: do any of you know how I can get a wheelie bin for my rubbish?
1282: [23:45:07] <UncleCheese> council only provides yellow bags
1283: [23:47:02] <Colin[pi]> steal one
1284: [23:47:04] <Colin[pi]> ;)
1285: [23:49:54] <ss23> 11:04:23 < Pyromanik> On Thursday after WDCNZ there were a few whiskys, and then I ended up in the back of a bread truck getting a lift to my hotel while they delivered bread to the various daries around the CBD
1286: [23:49:58] <ss23> rofl
1287: [23:50:17] <Colin[pi]> you've never been??
1288: [23:50:36] <ss23> Never! XD
1289: [23:51:00] * azureKnight quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1290: [23:51:18] <Colin[pi]> I had a ride with the garbage truck guys once, we stopped at a bakery and I bought a cheesecake
1291: [23:51:44] * pippy_ is now known as pippy
1292: [23:54:00] <simon_w> UncleCheese, WCC rubbish only uses bags. Wheelie bins for rubbish are done by some commercial company you can figure out by reading the name on the bin :p
1293: [23:54:03] <EasyCo> Great read: http://seriouspony.com/blog/
1294: [23:54:22] <UncleCheese> yeah, looking into thewheeliebincompany.con.z
1295: [23:54:37] <UncleCheese> in other news a "wheelie bin" is a real thing
1296: [23:55:38] <irogue> lol
1297: [23:56:36] <irogue> its a bin that wheels, what else would you call it? :P
1298: [23:57:02] <Colin[pi]> this is a strange concept to you UncleCheese?
1299: [23:57:30] <UncleCheese> garbage barrel
1300: [23:57:51] <simon_w> But it's not a barrel, and isn't specific to rubbish :p
1301: [23:57:59] <UncleCheese> wheelie bin sounds like something way more fun than a place to throw six-day old soiled nappies
1302: [23:58:29] <EasyCo> Nappies? You mean diapers :)
1303: [23:58:57] <simon_w> UncleCheese, yeah, someone got a Darwin Award for riding one down their street :p
1304: [23:59:06] <ss23> "down their street"
1305: [23:59:11] <ss23> I think you need to elaborate for UncleCheese
1306: [23:59:12] <ss23> :P
1307: [23:59:37] <ss23> oh jesus
1308: [23:59:38] <ss23> I swear
1309: [23:59:46] <ss23> this guy at the coffee places makes the hot chocolate *way* too hot

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