#silverstripe IRC Log

IRC log for 3 April 2014

All timestamps are in UTC.

1: [00:00:40] * stecman_ quit (Quit: This computer has gone to sleep)
2: [00:01:17] <Zauberfisch> anyone feel like paying me full time to work opensource? :P
3: [00:02:05] <Zauberfisch> I could use a break from client work :P
4: [00:02:08] <simon_w> Heh, that was one of my options for a job if PocketRent wouldn't keep paying me during my move
5: [00:02:39] * Anytech looks at his watch
6: [00:02:48] <zippy___> Zauberfisch: Sure
7: [00:02:57] <zippy___> Zauberfisch: 1 dogecoin per hour.
8: [00:03:00] <Zauberfisch> haha
9: [00:03:03] <Zauberfisch> so much profit
10: [00:03:11] <Zauberfisch> I will be rich!
11: [00:03:38] <zippy___> Zauberfisch: First task to to remove the need to flush in SS
12: [00:04:16] <Zauberfisch> zippy___: thats easy, I'll just put a $_GET['flush'] ='all'; into your config
13: [00:04:33] <zippy___> With no performance penalty ofc :)
14: [00:04:47] <Zauberfisch> zippy___: I guess I have to create a wallet now, my first payment is due :P
15: [00:04:56] <Zauberfisch> oh, well, one can't have everything
16: [00:05:32] <Zauberfisch> a guy at the local hackerspace actually did got payed in dogecoins the other day. he fixed a bug on an open source project and someone gave him like 20 000 coins or something
17: [00:05:44] <Zauberfisch> found that pretty amusing
18: [00:05:45] * stecman_ has joined #silverstripe
19: [00:06:40] * danfo quit (Quit: danfo)
20: [00:06:41] <Colin[pi]> Zauberfisch: currently worth about $8.60 USD
21: [00:07:14] * danfo has joined #silverstripe
22: [00:08:15] * Ryan-Toast quit (Quit: Ryan-Toast)
23: [00:12:07] * UncleCheese_ has joined #silverstripe
24: [00:12:19] * Ryan-Toast has joined #silverstripe
25: [00:21:07] * UncleCheese quit (Quit: UncleCheese)
26: [00:21:08] * UncleCheese_ is now known as UncleCheese
27: [00:23:59] * antmas quit (Ping timeout: 245 seconds)
28: [00:25:10] * muskie9 quit ()
29: [00:27:13] * UncleCheese quit (Quit: UncleCheese)
30: [00:31:14] * Ryan-Toast quit (Quit: Ryan-Toast)
31: [00:31:40] <Zauberfisch> hmmm
32: [00:31:56] <Zauberfisch> there is no way to disable the html5 required stuff on forms, right?
33: [00:32:05] <Zauberfisch> (besides subclassing all form fields)
34: [00:32:15] * UncleCheese has joined #silverstripe
35: [00:32:22] * UncleCheese_ has joined #silverstripe
36: [00:32:46] * antmas has joined #silverstripe
37: [00:38:30] <zippy___> Zauberfisch: Can you add the novalidate attribute to the <form ?
38: [00:38:39] <zippy___> like $form->setAttribute or something
39: [00:39:01] <antmas> sushi!
40: [00:39:17] <Zauberfisch> zippy___ <3
41: [00:39:27] <Zauberfisch> awesome, was not aware of the attribute novalidate
42: [00:41:10] <zippy___> Is it possible to disable BlogTree and BlogHolder from the 'add new page' window without hacking the core?
43: [00:41:51] * joelpittet quit ()
44: [00:44:04] * UncleCheese_ quit (Quit: UncleCheese_)
45: [00:50:52] <Zauberfisch> hmmm
46: [00:51:29] <Zauberfisch> zippy___: as in you don't want any more of them created?
47: [00:51:35] <zippy___> yes
48: [00:51:39] <Zauberfisch> then you can do canCreate($m = null) { return false; }
49: [00:51:45] * UncleCheese quit (Quit: UncleCheese)
50: [00:51:58] <Zauberfisch> on the class you don't want to have created anymore
51: [00:51:59] <zippy___> Zauberfisch: Yea I do that on pages I have myself, but these are in the blog plugin, and don't want to modify that blog plugin....
52: [00:52:10] <zippy___> plugin / module
53: [00:52:16] <Zauberfisch> 2 options:
54: [00:52:19] <zippy___> ohh
55: [00:52:19] <Zauberfisch> 1) decorator
56: [00:52:21] <zippy___> ohh
57: [00:52:22] <zippy___> yea
58: [00:52:31] <Zauberfisch> 2) page->canCreate() do a
59: [00:52:33] <zippy___> I could make a 'AllowedOne' extension, and apply it to those
60: [00:52:47] <Zauberfisch> if ($this->is_a('BlogHolder')) return false;
61: [00:53:04] <zippy___> I might do an extension / decorator
62: [00:53:06] <Zauberfisch> because BlogHolder is a subclass of Page, it will call Page->canCreate()
63: [00:53:26] <zippy___> oh
64: [00:53:30] <Zauberfisch> using the page way is faster in code time
65: [00:53:54] <Zauberfisch> but I'd say both are valid options
66: [00:54:08] <zippy___> an extension / wont work since you can't override a function of what your extending I believe
67: [00:54:32] <zippy___> so I would still end up having to rangi in something in the Page->canCreate anyway
68: [00:54:57] <Zauberfisch> zippy___: it is true that you can't
69: [00:55:10] <Zauberfisch> but DataExtension has a canCreate()
70: [00:55:13] * antmas quit (Ping timeout: 245 seconds)
71: [00:55:14] <Zauberfisch> and all the other can*
72: [00:55:17] <zippy___> oh
73: [00:55:18] <Zauberfisch> which have special handling
74: [00:55:29] <zippy___> so I might be golden then
75: [00:59:41] * Ryan-Toast has joined #silverstripe
76: [01:01:04] <Ryan-Toast> “”Can we do ____?” yeah, sure that will be another $5,0000 “”Hmm, maybe later then
77: [01:01:39] <Colin[pi]> Ryan-Toast: lol yep
78: [01:01:50] <Colin[pi]> generally stops scope creep
79: [01:03:06] <Ryan-Toast> yup.
80: [01:03:13] <Ryan-Toast> Learnt to do it pretty early :P
81: [01:03:21] <Ryan-Toast> scope creep is the worst.
82: [01:10:59] <zippy___> Colin[pi]: You got with phpstorm yet?
83: [01:11:02] <Ryan-Toast> Interesting: http://try.buildwinjs.com/default.aspx#listview antmas, Colin[pi], Zauberfisch
84: [01:11:21] <Colin[pi]> zippy___: not yet!
85: [01:11:29] <zippy___> Live templates are nice, being able to type getCMS<tab> and get shit autopopulated is sweet
86: [01:11:41] <Colin[pi]> ooh
87: [01:15:46] <zippy___> http://blog.jetbrains.com/webide/2012/10/high-speed-coding-with-custom-live-templates/ - video at bottom, pretty cool
88: [01:16:00] <zippy___> not at the bottom, just down the page a fraction
89: [01:19:46] <Zauberfisch> Ryan-Toast: uih, is that like windows8.js?
90: [01:19:54] <Ryan-Toast> Zauberfisch: pretty much
91: [01:20:23] <Zauberfisch> oh, and its even official microsoft stuff
92: [01:20:24] <Zauberfisch> cool
93: [01:20:51] <Ryan-Toast> Yeah, doesn’t work in IE9 though :P
94: [01:21:05] <Ryan-Toast> Pretty interesting though
95: [01:21:23] <Ryan-Toast> Could make some quick cash making a bootswatch theme
96: [01:21:44] <Colin[pi]> Ryan-Toast: windows 8 metro apps can be written in HTML CSS and JS, you knew that right?
97: [01:21:46] <Zauberfisch> (not that I am a microsoft fanboy, but it stands to reason that that means it probably a bit more thought through than the average "yay, I am now a web dev after 10min js tutorials, I must make plugins" guy)
98: [01:22:04] <Zauberfisch> Ryan-Toast: haha
99: [01:24:03] * UncleCheese has joined #silverstripe
100: [01:26:00] <Ryan-Toast> every meeting with new clients ever: https://www.youtube.com/watch?v=BKorP55Aqvg
101: [01:28:31] <Zauberfisch> hahaha, this is hilarious
102: [01:31:56] * Tanger has joined #silverstripe
103: [01:32:36] <Ryan-Toast> Zauberfisch: I had something like this today, it was so painful.
104: [01:33:00] <Zauberfisch> yeah, I can totally relate to that
105: [01:34:53] <Zauberfisch> hahah
106: [01:34:55] <Zauberfisch> this is great
107: [01:35:32] <zippy___> lol
108: [01:35:42] * UncleCheese quit (Quit: UncleCheese)
109: [01:36:11] * Colin[pi]-2 has joined #silverstripe
110: [01:37:12] * Colin[pi] quit (Ping timeout: 255 seconds)
111: [01:41:14] <Ryan-Toast> Zauberfisch: My friend is taking a Web Development course, she just sent me this: http://img.pandawhale.com/post-18529-Yes-mlkshk-2jkG.gif
112: [01:41:36] <Zauberfisch> (:
113: [01:41:56] <Colin[pi]-2> Ryan-Toast: that video fills me with such rage
114: [01:42:16] * Colin[pi]-2 is now known as Colin[pi]
115: [01:42:17] <Ryan-Toast> Colin[pi]-2: Who are you, some kind of imposter?
116: [01:42:21] <Colin[pi]> fixed :P
117: [01:42:33] <Ryan-Toast> Colin[pi]: Nice try doppleganger
118: [01:47:43] <Zauberfisch> dafuq is going on, all of a sudden the form action on my form dissapeared
119: [01:47:45] <Zauberfisch> ...
120: [01:49:57] <Ryan-Toast> More back end devs need to read this before they touch css: http://thecodelesscode.com/case/95
121: [01:53:07] <pippy> "boldRedText" reminds me a of a little something called "LeftandMain"
122: [01:53:14] <Ryan-Toast> :P
123: [01:53:55] * k_fish quit (Quit: Leaving)
124: [01:54:29] <Zauberfisch> :D
125: [01:54:32] <pippy> though, let's face it we've all thought "this won't be reused so I don't need to think about correct terminology"
126: [01:54:48] * UncleCheese has joined #silverstripe
127: [01:55:05] <Zauberfisch> this is driving me crazy
128: [01:55:11] <Zauberfisch> where is my bloody button :S
129: [01:55:13] <Ryan-Toast> pippy: Oh, all the time
130: [01:55:24] <Ryan-Toast> Zauberfisch: not in the source at all?
131: [01:55:33] <Zauberfisch> it is in the source
132: [01:55:39] <Zauberfisch> just not in the outputed html
133: [01:55:48] <Ryan-Toast> I meant in the outputted html
134: [01:56:26] <pippy> flush?
135: [01:56:40] <pippy> put a die() before the button is created?
136: [01:56:59] <Zauberfisch> flush doesn't matter here. did, the button is there on the php part
137: [01:57:50] <Zauberfisch> ah, lol
138: [01:58:13] <Zauberfisch> shop module removes all buttons when no items are in the cart
139: [01:59:12] <Ryan-Toast> http://i.imgur.com/br3drzn.jpg
140: [02:08:23] <zippy___> ss23: http://doc.silverstripe.org/framework/en/reference/advanced-templates
141: [02:08:36] * UncleCheese quit (Quit: UncleCheese)
142: [02:10:37] * UncleCheese has joined #silverstripe
143: [02:12:41] <Ryan-Toast> Is there an example of the SS blog somewhere?
144: [02:21:38] <Zauberfisch> I think demo.silverstripe.org has the oficial blog module
145: [02:22:01] <Zauberfisch> but I'd recommend checking out the module by micmania1
146: [02:22:04] <Zauberfisch> https://github.com/micmania1/silverstripe-blogger
147: [02:22:36] <Ryan-Toast> why does no-one ever have demo links?
148: [02:22:45] <Ryan-Toast> that one looks better though
149: [02:23:13] <Ryan-Toast> “Revelation: Figured out how to spell my own name” lol
150: [02:23:19] <Zauberfisch> :D
151: [02:23:35] <Zauberfisch> Ryan-Toast: because a demo page needs maintainance
152: [02:23:54] <Ryan-Toast> not if you set github to update the site when you push an update
153: [02:24:16] <Zauberfisch> well, basic setup is that easy
154: [02:24:29] <Zauberfisch> but there is more to it if you want a useful demo
155: [02:24:43] <Zauberfisch> restore db on a regular base
156: [02:24:49] <Ryan-Toast> Zauberfisch: Looking to extend my basic blog, and just looking at what others have done: http://webdough.co.nz/~boilerpl/blog/
157: [02:25:02] <Zauberfisch> dissalow assets to make sure you are not abused as a file storrage / sharing site
158: [02:25:05] <Zauberfisch> ....
159: [02:26:28] <Zauberfisch> you are making a theme?
160: [02:26:38] <Ryan-Toast> No, just making my blog module better
161: [02:29:38] * Colin[pi] quit (Remote host closed the connection)
162: [02:30:14] * Colin[pi] has joined #silverstripe
163: [02:31:28] * danfo quit (Quit: danfo)
164: [02:44:21] * UncleCheese quit (Quit: UncleCheese)
165: [02:56:11] * antmas has joined #silverstripe
166: [02:58:21] * UncleCheese has joined #silverstripe
167: [03:04:21] <ss23> 15:08:24 < zippy___> ss23: http://doc.silverstripe.org/framework/en/reference/advanced-templates
168: [03:04:25] <ss23> FIX IT FIX IT FIX IT FIX IT FIX IT
169: [03:05:28] <Colin[pi]> but that's your job!
170: [03:05:57] <zippy___> https://github.com/micmania1/silverstripe-blogger - looks nice
171: [03:06:35] <antmas> zippy___: I hear WP is pretty good at blogs
172: [03:06:43] <Anytech> lol
173: [03:06:56] <zippy___> antmas: registered your nickname yet?
174: [03:07:03] <simon_w> antmas, it kinda isn't
175: [03:07:07] <Colin[pi]> antmas: you wash out your mouth with soap right now
176: [03:07:13] <antmas> XD
177: [03:07:22] <antmas> zippy___: huh?
178: [03:07:25] <antmas> for what?
179: [03:07:38] <simon_w> It's trying too hard to be a CMS, that it's now failing at being a blogging platform too
180: [03:08:49] <antmas> "why do we need to put it in the database?" "I've been using excel for the last 200 entries and that has worked fine"
181: [03:08:56] <antmas> my afternoon ^^^
182: [03:09:05] <zippy___> NickServ NOTICE antmas is not registered.
183: [03:09:23] <zippy___> antmas: you might like this video; https://www.youtube.com/watch?v=BKorP55Aqvg
184: [03:09:48] * zippy___ is now known as zippy_
185: [03:10:07] <Colin[pi]> zippy_: I cant watch it again, it makes me too angry
186: [03:10:08] * pippy dreams of a future where excel doesn't exisit
187: [03:10:08] * zippy_ is now known as zippy__
188: [03:10:21] <Colin[pi]> yeah it'll be called Microsoft Extinct
189: [03:12:42] <antmas> zippy__: done :D
190: [03:13:23] <antmas> I thought I did it ages ago, but I guess not
191: [03:15:08] * zippy__ has had good fun pretending to be antmas
192: [03:16:09] <antmas> :O
193: [03:16:18] <zippy__> j/k ;-)
194: [03:16:23] <antmas> slamming the TDC name no doubt
195: [03:16:26] <antmas> ;)
196: [03:16:31] * SMaction quit ()
197: [03:17:05] <antmas> zippy__: do you know a Duncan in IT in Nelson?
198: [03:17:12] <zippy__> nop
199: [03:22:45] <Colin[pi]> currently converting a php script to an exe... WHAT COULD GO WRONG
200: [03:22:49] * CodeTrap quit (Ping timeout: 240 seconds)
201: [03:23:46] * CodeTrap has joined #silverstripe
202: [03:27:07] <zippy__> lol whooops!
203: [03:27:22] <zippy__> been working off and on with this first for the past month, pushing changes in git up
204: [03:27:34] <zippy__> just noticed
205: [03:27:49] <zippy__> $ git push
206: [03:27:49] <zippy__> No refs in common and none specified; doing nothing.
207: [03:27:50] <zippy__> Perhaps you should specify a branch such as 'master'.
208: [03:28:02] <zippy__> *this first = this site
209: [03:28:14] <zippy__> push and changes were going no-where, awesome!
210: [03:30:27] * Motoservo quit (Read error: Connection reset by peer)
211: [03:30:42] * Motoservo has joined #silverstripe
212: [03:32:31] <antmas> Colin[pi]: sounds dirty
213: [03:33:05] <Colin[pi]> it worked, now have a standalone console exe that internally is php :\
214: [03:33:21] <antmas> Colin[pi]: dafuq is it for?
215: [03:33:38] <Colin[pi]> it's a tool for scanning a folder and processing a bunch of xml files
216: [03:34:05] <antmas> Colin[pi]: is it run locally?
217: [03:34:09] <Colin[pi]> yep
218: [03:34:15] <antmas> ah
219: [03:34:31] <antmas> gonna say use a web service
220: [03:34:35] <antmas> but prolly don't need it
221: [03:34:36] <Colin[pi]> you point it to a folder with -p <pathtofolder> and it goes "OK!!!" and goes to scan the folder
222: [03:35:11] * cloph quit (Ping timeout: 245 seconds)
223: [03:35:13] * cloph_away has joined #silverstripe
224: [03:49:21] * antmas quit (Quit: Page closed)
225: [03:59:29] * nickmolhoek quit (Quit: nickmolhoek)
226: [04:00:59] * Anytech quit (Read error: Connection reset by peer)
227: [04:04:47] * PapaBearNZ has joined #silverstripe
228: [04:05:07] * UncleCheese quit (Quit: UncleCheese)
229: [04:06:52] * an_Eskimo quit (Quit: Page closed)
230: [04:07:07] <PapaBearNZ> Is it possible to build a DO such that there is placeholder for an ad-hoc datalist to be added on runtime (ie not stored in the db) Alternatively - is it possible to combine an array list with a DO such that the result appears to be a single combined DO that can be included in a custom datalist?
231: [04:08:59] <zippy__> PapaBearNZ: You can create, populate and use a DO without calling write...
232: [04:09:10] <zippy__> PapaBearNZ: And pass it to ArrayLIst
233: [04:14:12] <PapaBearNZ> zippy__: I understand that - in fact that's how I'm creating the DO in question - but when I use $newPermissionRecord->PermissionPartyList = $parties; (where $parties contains an arraylist of ad-hoc records) and then add the DO to a datalist and return that datalist to the template, the template does not show the $parties list. A debug::show does not have the PermissionPartyList element present.
234: [04:15:54] <PapaBearNZ> btw - PermissionPartyList is not defined on the DO.
235: [04:16:25] <zippy__> PapaBearNZ: How are you passing $newPermissionRecord to the template?
236: [04:16:39] <PapaBearNZ> which is quite-probably the reason it doesn't appear when I do a Debug::show(). My question is how can I combine the two into a single element to send to the FE?
237: [04:17:19] <PapaBearNZ> zippy__: It's being passed in an ArrayList of related permissionrecords (Not to be confused with CMS permissions)
238: [04:17:23] <Colin[pi]> heh: https://dl.dropboxusercontent.com/u/404972/blog/tumblr_mb5v4mLOiy1qzjsf2.png
239: [04:17:29] <zippy__> PapaBearNZ: paste the code
240: [04:17:35] <zippy__> (in a paste bin)
241: [04:21:25] * Ryan-Toast quit (Quit: Ryan-Toast)
242: [04:22:15] <PapaBearNZ> zippy__: http://pastebin.com/Nad5HtiL
243: [04:23:30] <zippy__> $StatementsParties is $permissionSet ?
244: [04:24:11] <zippy__> I still can't see how your passing whatever it is to the template...
245: [04:24:43] <zippy__> is $StatementsParties the function above the template code
246: [04:25:09] <PapaBearNZ> zippy__: it's a collection of users to third parties for which the permission set applies. each arraydata element in the arraylist has three fields, UserID, FarmID, PartyID.
247: [04:26:17] <PapaBearNZ> this is cut from within the function. $statementsParties is built from a PostgreSQL view elsewhere.
248: [04:28:07] <PapaBearNZ> I've updated the paste to include the snippet from the function that builds the list.
249: [04:28:30] <zippy__> link? (it will be different)
250: [04:28:46] <PapaBearNZ> http://pastebin.com/CxHvzxXW
251: [04:30:05] <zippy__> ok, so whats all this for foreach ($permissionRecords as $permission){ ?
252: [04:30:16] <zippy__> sorry I can't see how it all ties in with just little fragments
253: [04:30:33] * zippy__ quit (Quit: zippy__)
254: [04:32:11] <PapaBearNZ> $permissionRecords contains the data relating to user permissions for this combination of User and Farm. It's an array output from a raw SQL call. UserFarmsPermissions is a DO that I created to hold this information conveniently for manipulation within SS (the source view is ReadOnly) but it's never written to the db.
255: [04:34:02] <PapaBearNZ> Statements is a special permission that is tied to a specific third party and so I have to get that small collection of data to add to the main UserFarmsPermissions DO as necessary. But being an arraylist of arraydata objects I can't put it in a $has_many - or else this would be a cinch! (or can I make such a definition in the DO?)
256: [04:35:49] <PapaBearNZ> Maybe it would be easier to make another temporary DO to hold this data and then I can add the $has_many to the UserFarmsPermissions DO and be done with it!
257: [04:37:14] <PapaBearNZ> hmph - a Datalist of ad-hoc objects containing a second datalist of ad-hoc objects - none of which exist in the SS db - could be fun :)
258: [04:37:27] <PapaBearNZ> Although I think I've just answered my own question.
259: [04:40:27] * PapaBearNZ quit (Quit: Page closed)
260: [04:45:47] * stecman_ quit (Quit: This computer has gone to sleep)
261: [05:03:42] * jordanmk has joined #silverstripe
262: [05:03:45] <jordanmk> hi guys :)
263: [05:04:25] <Zauberfisch> good morning
264: [05:04:33] <ss23> moin moin
265: [05:05:04] * Anytech has joined #silverstripe
266: [05:05:16] * Anytech quit (Client Quit)
267: [05:05:43] <jordanmk> got this really weird issue with a site that a previous developer worked on, can't figure it out so i'm hoping you guys might have an idea
268: [05:06:39] * Anytech has joined #silverstripe
269: [05:07:52] <jordanmk> this is the code i'm working with: http://pastebin.com/xMETVcaV
270: [05:08:54] <jordanmk> so what it's meant to do, is return the ingredients for each meal for each day between the start date and end date
271: [05:09:33] <jordanmk> it's working correctly, except for the meals that fall on a Sunday, it gets the ingredients of the meals from the *previous* week's Sunday
272: [05:11:13] <jordanmk> not really sure if it's a SilverStripe based issue or something with PHP's date()
273: [05:11:52] <Zauberfisch> didn't really dug into the code but let me ask:
274: [05:12:03] <Zauberfisch> are there multiple weeks displayed at once?
275: [05:13:07] * markcl has joined #silverstripe
276: [05:13:21] <markcl> hello
277: [05:13:24] <jordanmk> well it's meant to show the ingredients for any date range you want. so for example, if you visit URL site_root/shopping-list/?start_date=16th%20Mar%2014&end_date=16th%20Mar%2014 that should show just a single day, but you could also specify any start date and end date and it should show the ingredients of each meal for each day between the start a
278: [05:13:25] <jordanmk> nd end date
279: [05:13:57] <Anytech> The start day ion php is a sunday
280: [05:13:59] <Anytech> in*
281: [05:14:08] <Anytech> so the week starts with the sunday
282: [05:14:28] <Zauberfisch> is the sunday issue only present when you are in week view?
283: [05:14:35] <Anytech> http://stackoverflow.com/questions/16059141/how-can-i-get-the-week-number-considering-sunday-as-the-start-day
284: [05:14:54] <Zauberfisch> I am getting to the same point as Anytech, but slower than him ;)
285: [05:15:25] <jordanmk> if you put in an start and end date that is the same, and is a Sunday, it will show the ingredients for the previous week's Sunday. if you put in the start date and end date for a week (from Sunday to Saturday), it will return the correct results for every day except Sunday, which will be last week's Sunday
286: [05:15:56] <jordanmk> so basically, regardless of the date range, when it pulls the ingredients for the meals on a Sunday, it actually gets the ingredients for the meals of the previous week's Sunday
287: [05:16:12] <Anytech> $time += 86400, $day=date("w",$time), $week=date("W",$time+ 60 * 60 * 24), $year=date("Y",$time))
288: [05:16:17] <markcl> In Silverstripe Admin Pages, I drag and drop a page from 'Merchants' to a different area, then later on Silverstripe pops up something that says: 'reorganized the site tree successfully', but the page I drag and dropped has moved on to its old position
289: [05:16:38] <markcl> how do I make it reorganize properly so that it moves and stays in the position I drag and dropped it to.
290: [05:16:40] <markcl> ?
291: [05:16:43] <Anytech> markcl you need to publish again
292: [05:16:54] <Anytech> after reordering
293: [05:17:19] <jordanmk> can you see an issue with that line of code you pasted Anytech?
294: [05:17:59] <markcl> thanks Anytech
295: [05:19:29] <Anytech> W ISO-8601 week number of year, weeks starting on Monday (added in PHP 4.1.0)
296: [05:19:35] <Anytech> what version are you using?
297: [05:20:50] <jordanmk> 5.4.22
298: [05:21:36] <Anytech> ok so it should be starting on the monday then
299: [05:23:10] <jordanmk> okay i think i've narrowed it down
300: [05:23:24] <Anytech> is it to do with the storage?
301: [05:23:25] <Anytech> $mealplan = MealPlan::get()->where("week='".$week."' AND year='".$year."'")->First();
302: [05:23:31] <Anytech> that seems fine to me
303: [05:23:36] <jordanmk> i did var_dump(date("W",$start_date));die();
304: [05:24:05] <jordanmk> when i put start_date and end_date as a Sunday, the week is 1 less than it should be
305: [05:24:15] <jordanmk> when i go to the next day (which should be the same week), the week is correct
306: [05:24:56] <jordanmk> hence the query returns the ingredients for the Sunday from the previous week
307: [05:24:56] <Anytech> ok so it does not include the end day but every day before that
308: [05:26:00] <jordanmk> not really sure how to get date() to return the correct week
309: [05:26:23] <jordanmk> i.e. every Sunday and Monday should be considered part of the same week, which they are not right now
310: [05:30:04] <jordanmk> here's a kind of hacky solution that works:
311: [05:30:04] <jordanmk> if($day != 0) {
312: [05:30:05] <jordanmk> $correct_week = $week;
313: [05:30:05] <jordanmk> }
314: [05:30:05] <jordanmk> else {
315: [05:30:05] <jordanmk> $correct_week = $week + 1;
316: [05:30:05] <jordanmk> }
317: [05:30:05] <jordanmk>
318: [05:30:06] <jordanmk> $mealplan = MealPlan::get()->where("week='".$correct_week."' AND year='".$year."'")->First();
319: [05:33:05] * Motoservo_ has joined #silverstripe
320: [05:33:50] * Motoservo quit (Read error: Connection reset by peer)
321: [05:33:50] * Motoservo_ is now known as Motoservo
322: [05:58:41] * anselmdk has joined #silverstripe
323: [07:01:39] * Stomach quit (Read error: Connection reset by peer)
324: [07:05:38] * spronk quit (Ping timeout: 240 seconds)
325: [07:17:44] * ARNHOE has joined #silverstripe
326: [07:30:58] * danfo has joined #silverstripe
327: [07:35:46] * ARNHOE_ has joined #silverstripe
328: [07:35:46] * ARNHOE quit (Read error: Connection reset by peer)
329: [07:36:21] * Dedra has joined #silverstripe
330: [07:37:35] * violetina quit (Ping timeout: 240 seconds)
331: [07:37:45] * violetina has joined #silverstripe
332: [07:43:07] <Dedra> Hi, sry it's not SS question but, someone knows an AdobeAfter effects IRC? Because I try to fix something little and would need help with it :P
333: [07:56:30] * Anytech quit (Read error: Connection reset by peer)
334: [08:06:41] * kinglozzer has joined #silverstripe
335: [08:16:25] * ocm has joined #silverstripe
336: [08:16:30] <ocm> howdy!
337: [08:19:34] <Dedra> howdy xd
338: [08:22:01] <ocm> did the aussies already find that mh370 plane somewhere?
339: [08:23:45] <Dedra> dont seems so
340: [08:23:56] <Dedra> they found something, but then they figured it was just trash
341: [08:23:58] <Dedra> like i know
342: [08:24:18] <Dedra> man, why is it so hard to find an adobe after effects (or video edit in general) IRC chat xd
343: [08:24:28] <Dedra> just have a simple problem with after effects and nothing :P
344: [08:24:42] <ocm> lol
345: [08:25:56] <simon_w|air> Because IRC doesn't translate well to video editing?
346: [08:28:13] <ocm> ASCII GIF ART :D
347: [08:28:16] <ocm> hurray! :D
348: [08:28:52] * Py^k has joined #silverstripe
349: [08:31:07] <Dedra> Well, I'm out trying to figure out my issue ^^ have a nice day/night
350: [08:31:14] <ocm> goodluck
351: [08:31:49] * micmania1 has joined #silverstripe
352: [08:31:50] <Dedra> thx bye
353: [08:31:54] * Dedra has left #silverstripe
354: [08:34:51] <Tanger> Hey guys, is delete() and doUnpublish all you need to remove a page programmatically?
355: [08:36:51] <Py^k> probably
356: [08:40:15] <simon_w|air> Tanger, use deleteFromStage('Live') and deleteFromStage('Stage')
357: [08:40:32] <Tanger> Thanks simon_w|air :D
358: [08:42:05] <Py^k> gawd Versioned such a confusing mess like that :<
359: [08:49:48] * zippy__ has joined #silverstripe
360: [08:49:57] <zippy__> evenings
361: [08:52:22] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
362: [08:52:30] <Py^k> hi
363: [09:02:42] * cloph_away is now known as cloph
364: [09:27:35] <Py^k> ah fuck, all the things are not responding today :<
365: [09:30:15] <zippy__> pong
366: [09:30:17] * Tanger quit (Quit: Tanger)
367: [09:31:46] * Tanger has joined #silverstripe
368: [09:42:28] * Shrike_Finland has joined #silverstripe
369: [09:44:52] * qlex has joined #silverstripe
370: [09:49:29] * stripee has joined #silverstripe
371: [09:56:52] * Motoservo_ has joined #silverstripe
372: [09:57:01] <Py^k> so uhhh, how far does something defined in global scope go?
373: [09:58:35] * Motoservo quit (Ping timeout: 240 seconds)
374: [09:58:35] * Motoservo_ is now known as Motoservo
375: [09:58:40] <Py^k> I thought <?php $lol='k'; $c = new DatClass(); $c->includeAnotherFile(); /* other file has echo $lol in it */ ?> should be fine :<
376: [09:59:01] <Py^k> but nothing comes out, and var_dump says null
377: [09:59:19] <Colin[pi]> it won't be seen in the other file afaik
378: [09:59:31] <Py^k> includes carry all scope over.
379: [09:59:45] <Py^k> stuff in methods in class instances should be able to see the global
380: [09:59:49] <Py^k> I JUST DON'T EVEN
381: [09:59:54] <Py^k> fuck code igniter.
382: [10:03:33] <Colin[pi]> meanwhile I have a polymorphism thing to figure out and my brain's not working
383: [10:04:18] <Py^k> polymorphisim is easy. all children are their parents.
384: [10:04:31] <Py^k> define 'thing'?
385: [10:04:34] <Colin[pi]> ok I'll try and bounce it off you
386: [10:04:43] <Colin[pi]> I have a series of product categories, full of products
387: [10:04:53] <Colin[pi]> each category has a "type" of shipping
388: [10:05:07] <Py^k> ah fuck, I need the global keyword when using global var from another scope.
389: [10:05:12] <zippy__> Py^k: that script needs to say global $lol
390: [10:05:14] <zippy__> :)
391: [10:05:15] <Py^k> yup
392: [10:05:24] <Py^k> Been so long since I globaled anything.
393: [10:05:25] <Colin[pi]> so products in Cat A could have Shipping type "A", and B type "B" etc.
394: [10:05:45] <Colin[pi]> but Cat A and Cat B could both use type "A", and I want it to only calculate once
395: [10:05:47] <Py^k> Colin[pi]: mmhmm
396: [10:06:08] <Colin[pi]> so it isolates each individual category in the order, steps through
397: [10:06:17] <Colin[pi]> asks the category to calculate it's shipping rate
398: [10:06:20] <Colin[pi]> ->calculateRate()
399: [10:06:36] <Py^k> so you've got default shipping types?
400: [10:06:38] <Colin[pi]> how do I get a category to "know" that it's shipping rate has already been calculated?
401: [10:06:42] <Py^k> but otherwise nothing special?
402: [10:06:52] <Colin[pi]> yeah pretty much
403: [10:06:55] <Colin[pi]> does it need to be handled in the loop?
404: [10:07:15] <Py^k> what do you mean by get a category to know?
405: [10:07:43] <Colin[pi]> i.e. I ask category A ->calculateRate(), so it uses shipping A (fixed price for order) and returns $80
406: [10:08:06] <Colin[pi]> then category B gets asked ->calculateRate() and it needs to know that shipping A has already been calculated
407: [10:08:11] <Colin[pi]> am I making sense? :\
408: [10:08:19] <Colin[pi]> my brain is fucked tonight lol
409: [10:08:34] <zippy__> Colin[pi]: why would it need to know
410: [10:08:49] <Colin[pi]> because Shipping A is used by both Cat A and B
411: [10:08:56] <Colin[pi]> and it is only charged once per order
412: [10:08:57] <Py^k> Colin[pi]: so just cache result?
413: [10:09:20] <Py^k> I believe this is what variables are for...
414: [10:09:32] <Colin[pi]> lol
415: [10:09:46] <Colin[pi]> maybe I'm not explaining it properly :\
416: [10:10:09] <Py^k> prolly
417: [10:10:18] <Colin[pi]> something's fucky
418: [10:10:23] <Colin[pi]> I'm going to delve into this code
419: [10:11:34] <zippy__> Would you get away with on Shipping A having a static variable which after the first valudation sets that shipping to invalid / no longer use. So if it the class gets created again and calculateRate() is called, it checks, isValid or isCalculatable() which checks that static (which could be anything, has this been triggered, is the price over x or whatever)
420: [10:12:05] <Colin[pi]> zippy__: bingo I think that's the issue
421: [10:12:26] <Colin[pi]> because I did it with a static before and of course after the first call, it no longer calculates correctly
422: [10:12:44] <Colin[pi]> I need to "reset" it again after calculation is complete
423: [10:12:54] <Colin[pi]> i.e. maintain static state during calc and then clear
424: [10:13:01] <zippy__> if you need to reset it, then… maybe a static isn't the best option?
425: [10:13:07] <Colin[pi]> ffuuu
426: [10:13:18] <Colin[pi]> ok let me look
427: [10:13:19] <Colin[pi]> :D
428: [10:13:27] <Colin[pi]> gotta be a better way
429: [10:14:05] * zippy__ thinks… what would jesus do
430: [10:14:26] <Colin[pi]> for a klondike bar
431: [10:14:50] <Colin[pi]> maybe the loop needs to keep track of it
432: [10:16:04] <Py^k> loop?
433: [10:16:07] <Py^k> this is not wordderp
434: [10:16:28] <Colin[pi]> the foreach then
435: [10:17:24] <Py^k> what foreach?
436: [10:17:30] <Colin[pi]> sigh
437: [10:17:32] <micmania1> Colin[pi]: what are you trying to do? Calculate shpping cost for each category with each type?
438: [10:18:10] <Colin[pi]> a particular category of products has a "type" of shipping, this type can be used by multiple categories, and it is calculated once per order
439: [10:18:13] <Py^k> if there's a product from category A, then A's flat rate is always used. Otherwise any rate could be used.
440: [10:18:17] <Py^k> y/n?
441: [10:18:46] * Alfirin has joined #silverstripe
442: [10:18:52] <Py^k> Colin[pi]: ?
443: [10:19:21] <Colin[pi]> n
444: [10:19:22] <Colin[pi]> the freight calculator does the following
445: [10:19:32] <Colin[pi]> finds the categories of products in the order
446: [10:19:38] <Colin[pi]> foreachs the categories
447: [10:19:40] <zippy__> Colin[pi]: The category should keep track of it
448: [10:19:46] <Colin[pi]> calls ->calculateRate()
449: [10:19:58] <micmania1> Colin[pi]: http://pastie.org/private/ztzrawflbmczgemcx5x9dg
450: [10:20:20] <Py^k> Colin[pi]: keep going
451: [10:20:50] <Colin[pi]> Py^k: so the first time a type of shipping is used for a category, it returns a price
452: [10:21:25] <Colin[pi]> then the next time it's used, it doesn't
453: [10:21:36] <zippy__> Colin[pi]: static
454: [10:21:38] <Colin[pi]> (while the foreach is doing it's thing)
455: [10:21:43] <Py^k> you skipped out about 10 steps in the middle I'm sure.
456: [10:22:02] <Py^k> you were going good until after 'calls ->calculateRate()'
457: [10:22:20] <micmania1> im confused...
458: [10:22:26] <Colin[pi]> ME TOO
459: [10:22:27] <Colin[pi]> :D
460: [10:22:28] <Py^k> Everyone is, including Colin[pi]
461: [10:22:33] <micmania1> ha
462: [10:22:48] <Colin[pi]> ok... alright
463: [10:22:51] <micmania1> so shipping cost belongs to an order?
464: [10:23:18] <Py^k> as it should, but is calculated per category, or something
465: [10:23:19] <Colin[pi]> a total shipping cost is calculated yes
466: [10:23:28] <Colin[pi]> based on the categories of products
467: [10:23:34] * anselmdk quit (Quit: anselmdk)
468: [10:23:46] <Colin[pi]> oh I have some shoes, that's $35, oh I have some hats, that's another $25
469: [10:23:48] <Colin[pi]> (flat fee)
470: [10:24:19] <Py^k> even if I have 200 hats?
471: [10:24:27] <Colin[pi]> evidently, yes
472: [10:24:32] <Py^k> ok
473: [10:24:32] <Colin[pi]> that's what they asked for
474: [10:24:48] <micmania1> so Orders::$shipping_cost += $this->Category()->calculateRate() ???
475: [10:24:50] <Py^k> so tell me how the calculation is supposed to work if I have hats and shoes
476: [10:25:05] <Colin[pi]> <Colin[pi]> oh I have some shoes, that's $35, oh I have some hats, that's another $25
477: [10:25:07] <Colin[pi]> ^ like that
478: [10:25:08] <Py^k> micmania1: yeah but he's being a dick, he only wants to call calculate once.
479: [10:25:19] <Py^k> :P
480: [10:25:36] <Py^k> Colin[pi]: why the aversion to calling calculate twice?
481: [10:26:09] <Colin[pi]> because the cart calls it before I get to the bit where I need it for the order
482: [10:27:14] <zippy__> when you call calculateRow() on the category, that then ends up calling calculate on the shipping option?
483: [10:27:34] <Py^k> because it sounds like you want SELECT SUM(ShippingRate) FROM Categories WHERE Id IN(...)
484: [10:28:06] <Py^k> problem solved.
485: [10:28:27] <Colin[pi]> that actually sounds pretty good lol
486: [10:28:41] <Py^k> well yeah, it's easy when you explain it properly.
487: [10:28:53] <Colin[pi]> fuck you, listen better
488: [10:28:54] <Colin[pi]> ;D
489: [10:28:59] <Colin[pi]> ok thanks all I'm going to look into it a bit more before my brain turns to goop
490: [10:29:12] <Py^k> you can do that with the ORM too
491: [10:29:25] <Py^k> so just figure out how to get categories efficiently.
492: [10:40:59] <Py^k> ps, next time lead with the example Colin[pi] :P
493: [10:44:18] <Colin[pi]> ok fixed!
494: [10:44:27] <Colin[pi]> used a static with a reset after calculation
495: [10:44:34] <Colin[pi]> minimal code change and works
496: [10:44:48] <Py^k> ok
497: [10:44:58] <Py^k> sounds bad, but if it works...
498: [10:45:19] <Colin[pi]> it's total shit, but this client has well and truly worn out his quality code time
499: [10:45:41] * zippy__ saves that line
500: [10:49:38] <Alfirin> Everyone seems lively today!
501: [10:50:01] <Py^k> Not really :<
502: [10:50:14] <Py^k> I'm still wondering how it's not lunch time :/
503: [10:50:26] <micmania1> me too
504: [10:50:40] <Alfirin> Oh, I just had my lunch
505: [10:50:47] <micmania1> yeah, rub it in
506: [10:50:53] <Alfirin> Now I'm waiting for coffee
507: [10:51:04] <Alfirin> don't worry, my lunch wasn't too tasty
508: [10:51:08] <stripee> 'waiting'...
509: [10:51:10] <Alfirin> You wouldn't have wanted it
510: [10:54:15] <Alfirin> I'm still struggling with the blog widget, something about the blog ID dropdown doesn't sit well with Translatable
511: [10:54:27] <Alfirin> But at least the other widgets' locales are working
512: [10:55:26] <Alfirin> http://pastebin.com/RP67Zafm
513: [10:56:15] <Alfirin> When ever I try to add a blog module to a page, I get "Fatal error: Call to a member function FormAction() on a non-object in /home/r36000/domains/fsf.fi/public_html/sandbox/framework/forms/FormField.php on line 161"
514: [10:56:24] * anselmdk has joined #silverstripe
515: [11:11:55] <Alfirin> Could it be caused by the get map command? I can't figure it out
516: [11:19:07] <Py^k> I don't understand what you're trying to do
517: [11:19:57] <Py^k> that should work, if not try ->map()->toArray()
518: [11:29:12] <Alfirin> Trust me, I don't understand either. That's how the code was when I got it
519: [11:30:59] <Alfirin> Nope, still giving me an error
520: [11:34:26] <Py^k> Alfirin: what's the rest of that error stack trace?
521: [11:34:36] <Py^k> which file/class is actually causing the error?
522: [11:39:45] <Alfirin> http://pastebin.com/48PQ5eia this is the error squeezed out of it, it's only caused by the dropdown line after enabling translatable
523: [11:39:49] <Alfirin> everything works like a charm
524: [11:44:28] <micmania1> Alfirin: that stack trace is trying to render an upload field
525: [11:44:54] * zippy__ quit (Quit: zippy__)
526: [11:46:44] <Alfirin> Why would it do that? No upload field has ever been anywhere near my widgets.
527: [11:49:15] <micmania1> The upload field just has to be on the page. I don't know what the cause of that error is, but its coming from an Upload field somewhere on the page
528: [11:50:46] <Alfirin> How utterly confusing
529: [11:51:01] <micmania1> Can you post your pages code?
530: [11:51:11] <Alfirin> The one with the widget on it?
531: [11:51:17] <Py^k> page 208 has an upload field on it
532: [11:51:40] <Py^k> whatever type page #208 is causing the issue
533: [11:51:45] <Py^k> check your database
534: [11:51:52] <Py^k> ClasName field in SiteTree
535: [11:51:58] <Py^k> ID 208
536: [11:52:26] <Py^k> man that's one hell of a stack trace :<
537: [11:53:02] <Alfirin> http://pastebin.com/TLT9HcrQ here you are
538: [11:53:26] <Py^k> no, that's not a page.
539: [11:53:48] <Py^k> oh wait yes it is
540: [11:53:49] <Py^k> :<
541: [11:54:20] <Alfirin> Well it's not a page-page, it's a page-ish post page
542: [11:54:25] <micmania1> if you remove the upload field does it break the page?
543: [11:54:34] <Alfirin> imma try that
544: [11:54:41] <Py^k> #!
545: [11:54:49] <Py^k> hash all the things
546: [11:54:54] <Py^k> it's not a tag, it's a comment!
547: [11:55:10] <Py^k> wholey shit 5 mins until lunch
548: [11:55:24] <micmania1> I had sausage and chips from the chippy
549: [11:55:57] <Py^k> I got a little italy
550: [11:56:21] <Py^k> Tomorrow I'll go the trifector and get the italian stallion
551: [11:56:24] <Py^k> lol
552: [11:58:46] <anselmdk> Can anyone confirm that TreeMultiselectField and TreeDropdownField don’t respect $default_sort? Any workarounds?
553: [11:58:49] <Alfirin> I removed the upload field, the page works but the widgets beg to differ
554: [11:59:37] <Colin[pi]> nn buttholes
555: [12:00:06] <Alfirin> I don't get it. If it really is about an upload field, why does it only fail when there's two locales involved
556: [12:00:14] * Colin[pi] quit ()
557: [12:01:53] <micmania1> Translatable must be doing something strange
558: [12:03:29] <Alfirin> Doesn't it always?
559: [12:04:43] * dendeffe has joined #silverstripe
560: [12:05:40] * dendeffe has left #silverstripe
561: [12:19:11] * UndefinedOffset has joined #silverstripe
562: [12:20:46] <Alfirin> Hey UndefinedOffset, you were right about my bugged widgets, it was uploadfield causing it
563: [12:21:09] <UndefinedOffset> :)
564: [12:21:24] <UndefinedOffset> i had a hunch, try my module i mentioned or one of the many other solutions to the issue :)
565: [12:21:41] <Alfirin> Not that there are or ever have been uploadfields in my widgets, but try telling that to Translatable
566: [12:22:48] <Alfirin> I tried it last night, and unfortunately it didn't solve my issue, it's Translatable's game now
567: [12:23:09] <UndefinedOffset> did you swap your extention for the widgets out?
568: [12:23:40] <Alfirin> I did, yeah
569: [12:23:57] <UndefinedOffset> ok just making sure, otherwise my module doesn't do anything lol
570: [12:24:22] <Alfirin> It does sound like the kind of a mistake I'd make
571: [12:24:45] <UndefinedOffset> easyone we all make them expecially after a long day ;)
572: [12:24:56] <Alfirin> Yeah
573: [12:25:06] <Alfirin> And it was almost 1am at that point
574: [12:34:49] <Py^k> kinglozzer: www.youtube.com/watch?v=3H6amDbAwlY
575: [12:35:26] <Py^k> bah da da bah da bah bah, SIESTA
576: [12:36:36] <anselmdk> regarding sorting on the tree fields, it’s messed up, but can be alleviated by defining your own sort method through setting setChildrenMethod on the field (phew)
577: [12:37:50] * qlex1 has joined #silverstripe
578: [12:39:42] <Alfirin> I wonder how much slaves cost these days?
579: [12:39:56] * qlex quit (Ping timeout: 268 seconds)
580: [12:41:03] * stripee quit (Ping timeout: 245 seconds)
581: [12:59:00] <kinglozzer> Py^k: Haha, I barely slept last night so it's really tempting me today
582: [12:59:18] <kinglozzer> How's the TOXIC SMOG OF DEATH up north?
583: [13:00:34] <micmania1> well if the fog outside is toxic we're all fucked
584: [13:01:48] <micmania1> This was yesterday morning from our office: http://bit.ly/1lqwSw0
585: [13:03:53] <Py^k> kinglozzer: eh?
586: [13:04:04] <Py^k> kinglozzer: how are the FREIGHT TRAIN DERAILMENTS down south?
587: [13:04:32] <kinglozzer> Py^k: eh? :P
588: [13:04:33] <Py^k> also yeah, if that fog is toxic...
589: [13:04:48] <Py^k> kinglozzer: got on the train home last night just as the news came on the radio
590: [13:05:11] <Py^k> "Rail services are delayed in the south east due to a freight train derailment"
591: [13:05:20] <Py^k> and I was all "oh fuck yeah, just a casual announcement"
592: [13:05:41] <kinglozzer> Py^k: Hadn't heard anything about it
593: [13:05:47] <Py^k> does that shit happen often or something? That was the only thing I heard about it, haha
594: [13:06:02] <kinglozzer> Apparently this region has been the worst for polution
595: [13:06:11] <kinglozzer> I'd not even have noticed if they hadn't mentioned it on the news :|
596: [13:06:18] <Py^k> fuck, I'm gonna have to go get a big ol' can o' stayawake
597: [13:06:54] <Py^k> Apple and Kiwifruit Relentless goes quite well though, I have to say.
598: [13:08:11] <Alfirin> sounds delish
599: [13:08:51] <Py^k> ious
600: [13:16:00] <Alfirin> Hm, it's +5ºC outside and it's snowing
601: [13:16:52] * UndefinedOffset quit (Quit: Leaving.)
602: [13:18:09] * UndefinedOffset has joined #silverstripe
603: [13:19:58] * irogue_ licks Py^k
604: [13:30:52] <Alfirin> Do widgets understand their parents' ID?
605: [13:32:37] <irogue_> depends if its a drivers license or a passport
606: [13:32:49] <Py^k> sup irogue_
607: [13:33:01] <Py^k> Alfirin: sounds like fun.
608: [13:33:14] <Alfirin> I know, right?
609: [13:33:16] <Py^k> sludge, sludge everywhere!
610: [13:34:17] <Alfirin> Luckily, so far it just melts into instant water
611: [13:34:36] * Error404NotFound has joined #silverstripe
612: [13:39:21] <irogue_> so, people who are on police curfew have an exception if they need emergency medical treatment
613: [13:39:56] <irogue_> someone called police to let them know they were going up to hospital so would be breaching curfew
614: [13:40:46] <kinglozzer> irogue_: Better than STAY AT HOME AND DIE
615: [13:40:48] <irogue_> a unit had only done a bail check on them an hour earlier so the sergeant questioned whether they'd noticed him having any medical issues
616: [13:41:30] <irogue_> they hadn't, so sergeant asked dispatcher to call the guy's partner back and ask her for more details
617: [13:41:43] <irogue_> Dispatcher: "The male has a hernia on the side of his penis"
618: [13:41:52] <irogue_> Sergeant: "Repeat that?"
619: [13:42:12] <irogue_> Dispatcher: "The male says he has a hernia on the side of his penis"
620: [13:42:38] <irogue_> Sergeant: "Hey <unit>, did you notice any hernia when you were bail checking him? *chuckle*"
621: [13:44:00] <irogue_> Unit: "Can't say we looked, though when we walked in he had thrown a blanket over himself and was fiddling around a bit down there. We thought we'd just... interrupted him."
622: [13:45:13] <irogue_> the shit you hear on police radio...
623: [13:47:30] <Py^k> at least he had the decency to use a blanket I guess!
624: [13:47:32] <Alfirin> How come you get to listen to police radio?
625: [13:47:41] <Py^k> scanner
626: [13:49:16] <Py^k> irogue_: I was going to suggest something but your amusing regailment of a better work story has distracted me
627: [13:49:22] <Py^k> and thus I've forgotten what it was.
628: [13:49:27] <irogue_> Py^k: bahaha
629: [13:50:03] <irogue_> heh, that's something i hadn't thought of
630: [13:50:11] <Py^k> ?
631: [13:50:16] <irogue_> possible burgs on in the CBD
632: [13:50:27] <irogue_> delta immediately asked City Cameras to have a look
633: [13:50:46] <irogue_> he's like "i can't even see the building, it's too foggy"
634: [13:51:04] <irogue_> never occurred to me that the CCTV becomes useless in hamilton winters :P
635: [13:51:20] <Py^k> rofl
636: [13:51:32] <Py^k> dat tron, damp boggy swamp.
637: [13:57:24] * svandragt has joined #silverstripe
638: [13:57:26] <irogue_> Delta: "I'm pretty sure we're going the right way, there's a shitload of blood going this way"
639: [13:57:36] <irogue_> sounds like someone cut themselves good smashing the window
640: [13:57:54] <svandragt> kinglozzer: Did you ever find a workaround to eleminate query strings from the static resources?
641: [13:58:14] <kinglozzer> svandragt: Huh?
642: [13:58:18] <kinglozzer> You mean from requirements?
643: [13:58:26] <svandragt> kinglozzer: yeah the css/js cals
644: [13:58:29] <svandragt> *calls
645: [13:58:32] <kinglozzer> svandragt: http://api.silverstripe.org/3.1/class-Requirements.html#_set_suffix_requirements
646: [13:58:42] <kinglozzer> Requirements::set_suffix_requirements(false);
647: [13:59:02] <svandragt> kinglozzer: yeah that removes the timestamp that has other problems
648: [13:59:32] <svandragt> kinglozzer: some time ago you were looking to have say style.2342342343.css instead of style.css?2342342
649: [14:00:05] <kinglozzer> svandragt: Oh no I gave up on that, can't even remember why I wanted to di it :P
650: [14:00:21] <Py^k> why would one want to do it?
651: [14:00:26] * Shrike_Finland quit (Quit: Leaving.)
652: [14:00:28] <Py^k> there's no reason.
653: [14:00:34] <svandragt> kinglozzer: shame, stops most proxies from caching the static resource if it has qa querystring
654: [14:00:42] <Py^k> oh, proxies.
655: [14:00:48] <Py^k> configure betterer!
656: [14:00:58] <Py^k> :P
657: [14:01:08] <kinglozzer> svandragt: We just remove the query strings, fuck proxies let them do their shit :P
658: [14:01:15] <svandragt> I thought it was squid < 3.0 only but no not just outdated versions :)
659: [14:01:45] <svandragt> kinglozzer: well won't all visitors then cache your outdated javascript / css ?
660: [14:01:59] <irogue_> heh, Delta tracked the blood trail... directly to a guy covered in blood in the back of an ambulance
661: [14:02:14] <svandragt> kinglozzer: because the request never changes so they will not check until the resource expires say in a year
662: [14:02:19] <Py^k> hahah
663: [14:02:20] * anselmdk quit (Quit: anselmdk)
664: [14:02:42] <irogue_> "caught him red handed... and headed, and faced, and pretty much red everything. that's a lot of blood."
665: [14:02:46] <kinglozzer> svandragt: Yeah, but if there are any glaring display issues the first thing most people try is hitting refresh which usually refreshes the cache of stylesheets :P
666: [14:03:00] <Py^k> irogue_: dat cop humour
667: [14:03:09] <irogue_> #BetterWorkStory :P
668: [14:03:14] <Py^k> haha
669: [14:03:19] <kinglozzer> svandragt: Didn't find any other workaround for it
670: [14:03:41] <irogue_> oh snap
671: [14:03:46] <irogue_> i know him
672: [14:03:51] <Py^k> hahahaha
673: [14:03:53] <svandragt> kinglozzer: i'm trying to prevent phonecalls from 1000 staff that will return from holiday with shit looking wrong :P ok I guess the alternative is to extend requirements_backend and duplicate a bunch of code
674: [14:03:56] <kinglozzer> svandragt: You could subclass Requirements I guess, or set your own Requirements_Backend
675: [14:04:00] <Py^k> they just broadcast names over the open air like that irogue_ ?
676: [14:04:01] <kinglozzer> Yep :/
677: [14:04:33] <Py^k> svandragt: sounds complex.
678: [14:04:35] <svandragt> Requirements is the bane of performance optimization I w
679: [14:04:49] <svandragt> I wish I could write a better implementation but I can't :P
680: [14:04:54] <irogue_> Py^k: names, phone numbers, charges, everything
681: [14:05:13] <Py^k> no, performance optimisation is the bane of performance optimisation
682: [14:05:33] <svandragt> Py^k: you don't like speedy websites?
683: [14:05:35] <Py^k> irogue_: yeh charges I can imagine, but personal details is a bit surprising.
684: [14:05:36] <svandragt> :)
685: [14:05:53] <Py^k> svandragt: I like websites that work. Speed I could care less about unless it's notably slow.
686: [14:06:18] <Py^k> http://gabrielecirulli.github.io/2048/
687: [14:06:23] <irogue_> Py^k: he's an ex-FwB of mine, lawl
688: [14:06:25] <Py^k> the cunt that invented this needs to get a hobby :<
689: [14:06:31] <Py^k> FwB?
690: [14:06:41] <Py^k> fuckwits without borders?
691: [14:07:19] <irogue_> haha
692: [14:07:53] <svandragt> anyways nginx and varnish seem to both be ok now with querystrings in static resources so I will not optimize further now
693: [14:08:15] <svandragt> kinglozzer: thanks :)
694: [14:08:48] <irogue_> right, so they've figured out what actually went on
695: [14:09:18] <irogue_> bit of a scrap, this guy got pushed through the window
696: [14:09:31] <irogue_> went headfirst, big cuts to head
697: [14:26:27] * catcher has joined #silverstripe
698: [14:40:13] * muskie9 has joined #silverstripe
699: [14:42:24] * DesignerX quit (Quit: Konversation terminated!)
700: [14:43:27] * qlex1 has left #silverstripe
701: [14:52:31] * Motoservo quit (Ping timeout: 268 seconds)
702: [14:55:04] <Alfirin> UndefinedOffset, you're around?
703: [15:01:10] <UndefinedOffset> Alfirin yep i'm here
704: [15:01:29] <Alfirin> excellent, see, I ran into a problem with the advanced widget thingie
705: [15:01:41] <UndefinedOffset> oh?
706: [15:01:46] <Alfirin> I reinstalled it, but now when I try to add a widget, it says "not found"
707: [15:02:25] <UndefinedOffset> have you flushed? also what version of SS are you using? I've only tested it with 3.1.3
708: [15:02:54] <Alfirin> I did flush all, yes, I have SS 3.1. umm...
709: [15:03:27] <Alfirin> 3.1.something
710: [15:03:47] <UndefinedOffset> close enough ;)
711: [15:03:54] <UndefinedOffset> let me try something locally see if it works for me
712: [15:05:03] <UndefinedOffset> hmm it does seem to be working for me, though you have translatable in the mix right?
713: [15:05:15] <Alfirin> Aye, I do
714: [15:09:10] <UndefinedOffset> hmm ya looks like thats the issue, let me have a look and I'll see whats going on
715: [15:09:18] <Alfirin> Thank you
716: [15:09:31] <UndefinedOffset> hmm ya there's the issue lol... admin/pages/edit/EditForm/field/SideBar/add-widget?locale=en_US/ArchiveWidget&locale=en_US
717: [15:10:35] <Py^k> dat link
718: [15:14:40] <Alfirin> Everything about that is fishy
719: [15:16:09] <Alfirin> Haha I just noticed an add in yahoo selling vuitton bags, only it's spelled with a zero instead, vuitt0n
720: [15:17:05] <Alfirin> seems legit
721: [15:18:24] * ARNHOE_ quit ()
722: [15:18:28] <UndefinedOffset> there try updating the module :)
723: [15:21:38] * anselmdk has joined #silverstripe
724: [15:23:23] <Alfirin> It works! Thanks mate!
725: [15:29:55] <Alfirin> Though it keeps throwing me off the widgets tab whenever I save, but that's minor
726: [15:30:48] <Alfirin> All widgets except the categories one work flawlessly
727: [15:31:06] <Alfirin> I should've had more faith in you in the first place, You provided the answer I needed
728: [15:32:36] <Py^k> winning
729: [15:34:06] <irogue_> Sergeant: "just met Delta's wife at SkyCity also, she's quite nice"
730: [15:34:11] <irogue_> Delta: "cut it out"
731: [15:34:42] <irogue_> am assuming some weirdo woman they encountered
732: [15:40:01] <Alfirin> Alright! Now all the widgets work!
733: [15:42:58] <Py^k> larf
734: [15:43:03] <Alfirin> UndefinedOffset, you are my hero
735: [15:44:04] <micmania1> Alfirin: So my blog module works fine with translatable then? :p
736: [15:44:16] <irogue_> now for the real test
737: [15:44:19] <irogue_> SUBSITES
738: [15:44:25] <Alfirin> It does!
739: [15:44:50] <micmania1> :)
740: [15:45:06] <Alfirin> Just remember to advertise the advancedwidgets if someone else ever comes here whining about it
741: [15:45:07] <micmania1> irogue_: I eat subsites for breakfast
742: [15:45:19] <Alfirin> Subsites! Now with extra iron
743: [15:47:49] <irogue_> oh man
744: [15:47:55] <irogue_> i am way too overtired
745: [15:48:03] <irogue_> giggling out loud at the weirdest shit on reddit
746: [15:55:25] <Alfirin> too much work and too little play?
747: [16:00:54] <irogue_> Alfirin: 5am, haven't slept yet
748: [16:01:15] <irogue_> been sick all week, trying to catch up :/
749: [16:01:38] <Alfirin> :(
750: [16:01:49] <Alfirin> Sounds like you'll get yourself sick again
751: [16:01:54] <Alfirin> You have a lot to catch up?
752: [16:02:04] <irogue_> very yes
753: [16:03:22] <micmania1> 20 minuts til I can go home. hurrrrryyyyy!!!
754: [16:04:01] <Py^k> omg micmania1
755: [16:04:04] <Py^k> know dat fels
756: [16:04:06] <Py^k> feels*
757: [16:04:43] <Alfirin> I wish I could go home already. But I already am :(
758: [16:04:57] <micmania1> I'm doing freelance atm so got wordpress waiting at home :(
759: [16:05:02] <irogue_> EW
760: [16:05:03] <Alfirin> :(
761: [16:05:03] <irogue_> EW
762: [16:05:04] <irogue_> EW
763: [16:05:09] <micmania1> yes, I know
764: [16:05:12] <Py^k> guts bro
765: [16:05:40] <Py^k> then again, I've got a wordpress theme that someone who didn't know what they were doing hacked up and used for a plain html single page site
766: [16:05:45] <Py^k> the scrolley kind
767: [16:05:54] <Py^k> and fuck me it's a mess :<
768: [16:06:14] <irogue_> someone asked me to wordpress the other day
769: [16:06:19] <micmania1> i got football later as well to break it up. And the site im doing is simple. Just need to steal stuff from previous work
770: [16:06:56] <micmania1> irogue_: don't do it!
771: [16:07:19] <micmania1> Its just not worth the stress. This one is the last i'm doing. No more!
772: [16:08:05] <irogue_> i told them my normal rate is $80/hr
773: [16:08:14] <irogue_> but i'd be willing to be extra kind to them
774: [16:08:20] <irogue_> and do their wordpress stuff for $200/hr
775: [16:08:26] <micmania1> ha
776: [16:08:51] <micmania1> I always quoted for silverstripe then doubled it for wordpress. They still always chose wp! Too scared to try something new
777: [16:09:02] <irogue_> lol
778: [16:09:58] <irogue_> wtf
779: [16:10:22] <irogue_> "two 1K females at mcdonalds claudelands needing a lift home"
780: [16:11:45] <irogue_> sergeant: "tell them the buses start in an hour and a half"
781: [16:12:10] <irogue_> who the fuck calls police cos they want a ride home after a night on the town?
782: [16:23:13] * ocm quit (Read error: Connection reset by peer)
783: [16:26:23] <Py^k> wtf irogue_
784: [16:26:25] <Py^k> derps
785: [16:26:47] <Py^k> cops will only do that if they believe there's a thread to that person's safety
786: [16:27:07] <Py^k> irogue_: then again, being 1K they're probably having a laugh about that ... nah they're probably too young.
787: [16:27:16] <Py^k> that 111 call that the operator dispatched a taxi for.
788: [16:27:20] <Py^k> Then a day later she turned up dead.
789: [16:27:45] <Py^k> a number of years back
790: [16:27:53] <irogue_> yep
791: [16:28:01] <irogue_> operators arent allowed to do that now
792: [16:28:12] <irogue_> they have to at least pass it to dispatcher
793: [16:28:22] <irogue_> and dispatcher has to make an NCO aware
794: [16:28:51] <irogue_> if they decide to ignore it, thats their call, 111 have done their job and washed their hands of it :P
795: [16:29:01] <Py^k> heh :P
796: [16:29:17] <Py^k> I was dark man. I wanted to make a 999 call, but the cunts stole my phone :(
797: [16:29:50] <Py^k> So some chap in a pizza take aways called it for me.
798: [16:30:20] <irogue_> good chap
799: [16:30:25] <Py^k> mind you, I don't remember the ambo ride to the hospital, so I wasn't exactly with it
800: [16:30:45] <Py^k> ha, took chappy a few mins to realise wtf was going on though.
801: [16:31:01] <Py^k> the he said he'd call ambulance instead, and I was all NO POLICE I'VE BEEN MUGGED FFS
802: [16:31:22] <irogue_> so, i obv missed something earlier on today, cos there's been a scene guard somewhere all day
803: [16:31:32] <Py^k> but then weirdly they told me to come in and sit down (I was standing in the entrance), even though my face was pissing with blood
804: [16:31:51] <Py^k> but they gave me a roll of paper towels, thankfully
805: [16:32:20] <Py^k> wholey shit, look at that. It's fuckoff home time
806: [16:32:23] * Py^k quit (Quit: Page closed)
807: [16:32:24] <irogue_> this particular unit's been on it since around 1am
808: [16:32:40] <irogue_> bahaha fuckoff home time
809: [16:32:44] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
810: [16:32:50] <kinglozzer> :P yep
811: [16:32:54] <kinglozzer> fuckoffhomeo'clock
812: [16:33:02] <kinglozzer> cya
813: [16:33:06] <irogue_> aka 5:30am
814: [16:33:10] <irogue_> cya kinglozzer
815: [16:33:16] * kinglozzer quit ()
816: [16:42:21] * danfo quit (Quit: danfo)
817: [16:44:36] * danfo has joined #silverstripe
818: [16:48:10] <Alfirin> I shall leave you now
819: [16:48:32] <Alfirin> I hope we meet again in better circumstances
820: [16:48:39] <Alfirin> And again, thank you
821: [16:53:08] * Alfirin quit (Ping timeout: 245 seconds)
822: [16:55:47] * danfo quit (Quit: danfo)
823: [16:56:55] * danfo has joined #silverstripe
824: [16:59:28] * gelignite has joined #silverstripe
825: [17:21:54] * dendeffe has joined #silverstripe
826: [17:36:48] * Motoservo has joined #silverstripe
827: [17:40:42] * SMaction has joined #silverstripe
828: [17:52:30] <cloph> Hi * - how to integrate with Backlingtracking in assets-admin? I have a gallery/shuffler that has images assigned, and I'd like to avoid authors to delete images they think are unused.. basically this http://www.silverstripe.org/general-questions/show/15197 - (just on 3.1.x)
829: [17:52:43] <cloph> Any ideas/other solutions?
830: [17:54:38] * violetina quit (Ping timeout: 240 seconds)
831: [17:55:20] * violetina has joined #silverstripe
832: [17:57:10] <cloph> (I have many_many and belongs_many_many relation setup via DataExtensions)
833: [18:25:07] * Cornelio quit (Ping timeout: 260 seconds)
834: [18:53:32] * ARNHOE has joined #silverstripe
835: [18:55:17] * Stomach has joined #silverstripe
836: [19:21:03] * oddnoc has joined #silverstripe
837: [19:29:22] * k_fish has joined #silverstripe
838: [19:48:29] * Ryan-Toast has joined #silverstripe
839: [19:49:39] * k_fish_ has joined #silverstripe
840: [19:52:01] * k_fish quit (Ping timeout: 240 seconds)
841: [19:52:32] * UncleCheese has joined #silverstripe
842: [19:54:52] * joelpittet has joined #silverstripe
843: [20:08:20] <Ryan-Toast> Morning, lads.
844: [20:08:32] * an_Eskimo has joined #silverstripe
845: [20:13:32] * stecman_ has joined #silverstripe
846: [20:19:38] * UndefinedOffset quit (Quit: Leaving.)
847: [20:21:14] * ARNHOE quit ()
848: [20:23:01] * nickmolhoek has joined #silverstripe
849: [20:23:36] * anselmdk quit (Quit: anselmdk)
850: [20:25:00] <Ryan-Toast> hmm.
851: [20:25:10] <Ryan-Toast> There doesn’t seem to be a login form on my fresh install.
852: [20:25:12] <Ryan-Toast> Weird.
853: [20:25:17] <simon_w> No $Form?
854: [20:25:34] * robert_ quit (Read error: Connection reset by peer)
855: [20:26:35] <Ryan-Toast> simon_w: the old ?flush=all did the trick :)
856: [20:26:57] <simon_w> Stop complaining until you've flushed :p
857: [20:27:05] <Ryan-Toast> DAT FLUUUSH
858: [20:29:03] <Ryan-Toast> Dooes ss by default actually do anything with $PageComments?
859: [20:29:13] * robert_ has joined #silverstripe
860: [20:29:14] * robert_ quit (Changing host)
861: [20:29:14] * robert_ has joined #silverstripe
862: [20:29:14] <simon_w> Nope
863: [20:29:23] <simon_w> The comments module does though
864: [20:29:24] <Ryan-Toast> is it a module that’s used heaps?
865: [20:29:36] <simon_w> It's a module that used to be core
866: [20:29:42] <Ryan-Toast> ah, right.
867: [20:30:39] <Ryan-Toast> simon_w: Got a date for the wedding yet?
868: [20:30:47] <simon_w> Yeas
869: [20:30:51] <Ryan-Toast> aww yiss
870: [20:32:29] <Ryan-Toast> simon_w: went out to dinner the other night with the Mrs, and her family were talking about us getting married…Then we told them we were breaking up in a year when I go travelling. It was awkward as fuuuck
871: [20:39:03] * joelpittet quit ()
872: [20:41:53] * danfo quit (Quit: danfo)
873: [20:45:32] <UncleCheese> What's the difference between declaring a dependency in "dependencies" vs "properties" or "constructor?"
874: [20:48:28] * danfo has joined #silverstripe
875: [20:48:56] <catcher> Any way to change the permissions assets are written with?
876: [20:49:52] <oddnoc> catcher: I set the umask to 002 in _ss_environment.php
877: [20:51:17] * Motoservo_ has joined #silverstripe
878: [20:51:29] * Motoservo quit (Read error: Connection reset by peer)
879: [20:51:30] * Motoservo_ is now known as Motoservo
880: [20:51:32] <catcher> oddnoc, nice, how?
881: [20:51:58] <oddnoc> umask(002);
882: [20:52:26] <catcher> ha, I see
883: [20:52:28] <oddnoc> This relies on the web server being in the group that owns the assets
884: [20:54:20] <catcher> Giving the webserver group write access would do the trick
885: [20:55:54] <oddnoc> Right. The umask helps ensure that the group write bit is set on new directories and files.
886: [20:56:18] <simon_w> Whereas the web server should really be the owner of assets
887: [20:57:15] <cloph> trying my luck again :-) - how to integrate with Backlingtracking in assets-admin? I have a gallery/shuffler that has images assigned, and I'd like to avoid authors to delete images they think are unused.. basically this http://www.silverstripe.org/general-questions/show/15197 - (just on 3.1.x)
888: [20:57:16] <cloph> Any ideas/other solutions? (I have many_many and belongs_many_many relation setup via DataExtensions)
889: [20:57:45] <catcher> simon_w, definitely. Just need group write access so I can sync files across instances without allowing root ssh
890: [20:58:06] <simon_w> catcher, or do the sync as www-data
891: [20:59:27] <catcher> simon_w, that would require remapping www-data's home dir, or creating /var/www/vhosts/.ssh
892: [20:59:41] <catcher> /var/www/.ssh rather
893: [20:59:59] * gelignite quit (Quit: http://bit.ly/nkczDT)
894: [21:00:16] <cloph> if it is manual process, you can also use agent-forwarding.
895: [21:14:19] * travis-ci has joined #silverstripe
896: [21:14:19] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2273 (3.1 - 3276055 : Chris Turner): The build passed.
897: [21:14:19] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/068e23d72fe6...32760555f78c
898: [21:14:19] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22219003
899: [21:14:19] * travis-ci has left #silverstripe
900: [21:15:32] * danfo quit (Quit: danfo)
901: [21:17:20] * catcher quit (Quit: Leaving)
902: [21:31:22] * antmas has joined #silverstripe
903: [21:31:29] <antmas> mernin
904: [21:33:45] <Ryan-Toast> hai
905: [21:37:17] * Azure quit (Quit: My MBP went to sleep.)
906: [21:38:10] <ss23> moin moin
907: [21:38:34] <ss23> 10:14:19 < travis-ci> [travis-ci] silverstripe/silverstripe-framework#2273 (3.1 - 3276055 : Chris Turner): The build passed.
908: [21:38:37] <ss23> hey look it's peavers!
909: [21:39:01] * spronk has joined #silverstripe
910: [21:42:36] <antmas> ss23: haven't seen that name before
911: [21:42:45] <antmas> ss23: also, Nelson are still on 3.0?
912: [21:42:54] <antmas> just had a meeting with Dan
913: [21:44:33] <oddnoc> Anyone know when we expect 3.1.4 to be finalised?
914: [21:45:02] <ss23> antmas: Not sure, I'll check
915: [21:45:20] <ss23> antmas: We basically got handed a site from an external person that didn't work
916: [21:45:23] <ss23> :(
917: [21:45:36] <ss23> I mean, it worked, but it raped the shit out of server. was the 1gb to generate the partial cache site
918: [21:46:45] <ss23> antmas: 3.0
919: [21:52:02] <antmas> ss23: yeah sounds about right
920: [21:52:24] <antmas> ss23: the mega menu was huge right?
921: [21:52:30] <ss23> Daaaamn right
922: [21:52:34] <ss23> http://nelson.govt.nz/
923: [21:52:35] <ss23> :P
924: [21:52:50] <antmas> yeah it looks like you guys have fixed the font loading issue
925: [21:53:03] <ss23> Moved to Google fonts iirc
926: [21:53:14] <antmas> although something is odd maybe with print style sheet?
927: [21:53:23] <ss23> why? :O
928: [21:53:27] <ss23> I haven't tried printing the site
929: [21:53:39] <antmas> I noticed the contrast version for the logo sometimes loads as both black and white versions
930: [21:53:49] <antmas> not printing, but a css issue
931: [21:54:07] <antmas> probably just an older IE issue though
932: [21:54:15] <ss23> idk :O
933: [21:54:25] <antmas> meh, nervmind it :P
934: [21:54:30] <antmas> not my site :D
935: [21:54:34] <antmas> ...for now...
936: [21:54:36] <ss23> DEATH TO IR
937: [21:54:37] <ss23> IE*
938: [21:54:54] <antmas> he made hints about moving the hosting to us :O
939: [21:55:35] <ss23> There are problems with it atm :(
940: [21:55:57] <antmas> I'd say they'll look change to us so I can do the upgrade to 3.1 when I do our own sites :(
941: [21:56:40] <ss23> hahaha
942: [21:56:49] <ss23> antmas: We can do 3.1 upgrades you know! :D
943: [21:57:05] <antmas> ss23: yeah... but this is NCC remember ;)
944: [21:58:32] <antmas> I'd rather you guys did it :D
945: [21:58:36] <antmas> but I don't mind
946: [21:58:55] <ss23> antmas: Create a ticket and we do work!
947: [21:58:56] <ss23> :D
948: [21:59:16] * Azure has joined #silverstripe
949: [21:59:43] <antmas> ss23: You guys are going to do our retheme - which will use a big chunk of retainer
950: [21:59:52] <ss23> :O
951: [21:59:58] <ss23> Do you guys have a design for it?
952: [22:01:33] <antmas> naw, not yet anyway
953: [22:01:36] <antmas> is a whiles off
954: [22:01:58] <antmas> basically waiting for managers to look at NCC and go all 'GIVE US A NEW LOOK PLX!'
955: [22:02:40] <Ryan-Toast> antmas: what site is getting a retheme?
956: [22:03:57] <antmas> Ryan-Toast: ours
957: [22:04:06] <Ryan-Toast> which is?
958: [22:06:45] <antmas> Ryan-Toast: tasman.govt.nz
959: [22:07:29] <Ryan-Toast> you know your target audience is 60+ when you have a text size option :P
960: [22:07:46] * Azure quit (Quit: Blue Sky Fish)
961: [22:08:30] * robert_ quit (Read error: Connection reset by peer)
962: [22:09:54] <ss23> XD
963: [22:11:06] <antmas> Ryan-Toast: dude, my building's average age is 53
964: [22:11:21] <antmas> richmond is full of oldies
965: [22:12:20] * robert_ has joined #silverstripe
966: [22:12:51] * violetina quit (Remote host closed the connection)
967: [22:16:31] <antmas> Ryan-Toast: this is the nelson one nelson.govt.nz - remember I asked if it was Bootstrap - turns out it was foundation
968: [22:16:36] <antmas> errr
969: [22:16:38] <antmas> nelson.govt.nz
970: [22:17:16] <Ryan-Toast> that’s porobs the best govt site I’ve seen.
971: [22:17:38] <antmas> yeah it looks nice
972: [22:17:43] * an_Eskimo quit (Ping timeout: 245 seconds)
973: [22:17:51] <antmas> and they saved a truck load of money
974: [22:19:58] * muskie9 quit (Remote host closed the connection)
975: [22:21:05] * dendeffe quit (Quit: dendeffe)
976: [22:21:28] * terryapodaca quit (Ping timeout: 265 seconds)
977: [22:24:32] * terryapodaca has joined #silverstripe
978: [22:25:31] <spronk> did they?
979: [22:31:09] <antmas> yup
980: [22:32:58] <antmas> 80k vs 18k
981: [22:36:07] <spronk> :|
982: [22:36:58] * Colin[pi] has joined #silverstripe
983: [22:37:27] <antmas> mmmhhmmm
984: [22:37:34] <antmas> I think I'm in the wrong job :P
985: [22:45:04] <Colin[pi]> antmas: you want to be a gigolo?
986: [22:45:54] <pippy> I don't mind DCC one: https://www.dunedin.govt.nz/
987: [22:46:01] <pippy> it's not built on SS though
988: [22:46:58] <antmas> Colin[pi]: for the right price!
989: [22:47:16] * joelpittet has joined #silverstripe
990: [22:47:22] <Colin[pi]> and HAI
991: [22:47:37] <antmas> pippy: looks similar the nelson, also those colours are so ugly!
992: [22:47:41] <antmas> but then again, govt.
993: [22:47:46] <antmas> Colin[pi]: HAIHAI
994: [22:52:25] <Colin[pi]> should I get Goat Simulator?
995: [22:54:42] <antmas> Colin[pi]: I find myself asking that everyday
996: [22:54:52] <antmas> the better qustion is
997: [22:54:53] <Colin[pi]> life's great question
998: [22:55:01] <antmas> why do I not have Goat Simulator yet?
999: [22:55:05] <Colin[pi]> lol
1000: [22:57:43] <Colin[pi]> man I feel very friday today
1001: [22:57:49] <antmas> <3 https://www.youtube.com/watch?v=OMLnmvLYTVw&index=2&list=PLHa6PXrV-yIgnXSYFT07BouKhEhyFuWnf
1002: [22:57:53] <antmas> Colin[pi]: yeah me too
1003: [22:58:22] <Colin[pi]> antmas: are you sending me more car porn?
1004: [23:00:22] <antmas> Colin[pi]: yeah
1005: [23:00:31] <Colin[pi]> pls stop you know I will go blind
1006: [23:00:32] <antmas> I love that channel
1007: [23:00:39] <antmas> Colin[pi]: XD
1008: [23:00:55] <antmas> it's more the engineering and how much that guy is a visionary
1009: [23:01:22] <Colin[pi]> these sorts of guys blow my mind
1010: [23:01:34] <Colin[pi]> the stuff they do is so far beyond the realms of mortals :D
1011: [23:02:00] <antmas> indeed
1012: [23:07:07] <ss23> Just had my first vendor cold call :O
1013: [23:07:18] <antmas> ss23: cold call?
1014: [23:07:37] <ss23> http://en.wikipedia.org/wiki/Cold_calling
1015: [23:07:39] <ss23> o.o
1016: [23:08:44] <Colin[pi]> I get fuckin heaps of those since I put my details on the community showcase, gg SS
1017: [23:09:13] <ss23> XD
1018: [23:09:24] <antmas> dang
1019: [23:10:02] <Colin[pi]> mainly from india
1020: [23:10:17] <Colin[pi]> I have like a monthly call from the same folks lol
1021: [23:10:24] <Colin[pi]> "Are you interes..." no
1022: [23:10:35] <Colin[pi]> "Ok, have a nice day!"
1023: [23:16:42] <Colin[pi]> fuck I hate when a client is like "OMG OMG WE NEED THIS URGENTLY" and so you put it as a priority, send through what they want... and then? NOTHING
1024: [23:16:43] <Colin[pi]> FOR DAYS
1025: [23:18:12] <ss23> lol
1026: [23:18:17] <ss23> In this case, it's about "SSL cert management"
1027: [23:18:19] <ss23> :P
1028: [23:18:22] <ss23> Free lunch I guess
1029: [23:21:18] <antmas> Colin[pi]: I get that all the time - urgent fix needed or 'I can't do this!!!'
1030: [23:22:05] <antmas> so you do it ASAP by dropping tools
1031: [23:22:10] <antmas> then tell them it's sorted
1032: [23:22:24] <antmas> and they get back to you a week later with 'oh, thanks'
1033: [23:22:39] <antmas> FUCKYOUFUCKYOUFUCKYOU
1034: [23:22:47] <Colin[pi]> antmas: every. fucking. time.
1035: [23:24:25] <Colin[pi]> antmas: whereabouts do you work again?
1036: [23:24:29] <Colin[pi]> or are you freelancing?
1037: [23:27:10] <antmas> Colin[pi]: local govt
1038: [23:27:16] <antmas> but some freelancing when I can as well
1039: [23:27:20] <Colin[pi]> ah k k
1040: [23:27:33] <antmas> not much SS or PHP at all really
1041: [23:27:38] <ss23> http://i.imgur.com/Qglwbjn.jpg loool
1042: [23:28:14] <antmas> ss23: haha, is that today?
1043: [23:28:19] <ss23> Not sure
1044: [23:28:23] <Colin[pi]> lol, bad optus
1045: [23:28:26] <antmas> that's a HUGE had
1046: [23:28:32] <antmas> ad*
1047: [23:29:17] <Colin[pi]> my former boss took optus all the way to the supreme court about something
1048: [23:29:20] <Colin[pi]> and won
1049: [23:29:44] <Colin[pi]> now whenever they call to hassle him for business, he mentions it and they're like ".... K..." (click)
1050: [23:31:11] <antmas> lol
1051: [23:31:33] <antmas> you think he'd be on the 'do not want' list
1052: [23:31:46] <Colin[pi]> then we had the comms minister here recently tell someone on twitter who was complaining about shit broadband at her new house "Well maybe you should have moved somewhere else if broadband was important to you"
1053: [23:31:58] <Colin[pi]> wtf... you're the fucking comms minister you cunt
1054: [23:32:40] <Colin[pi]> this country, I tell you... who voted for these people?
1055: [23:33:49] <lewellyn> antmas: getting any internet provider to leave you alone is a hassle. :P
1056: [23:34:14] <antmas> oh yeah
1057: [23:34:30] <antmas> where is the bloody snap link for changing address? :<
1058: [23:34:32] <lewellyn> i repeatedly expose the cluelessness at the local competitor cable provider, but they still call me and visit my office repeatedly trying to get me to sign up. so i do it over and over again.
1059: [23:35:17] <lewellyn> the best one is their reason for not having ipv6 support on their agenda: "we have plenty of IPv4 addresses. if we run out, we'll just start NATting consumers since they're not supposed to run servers anyway."
1060: [23:36:27] * nickmolhoek quit (Ping timeout: 252 seconds)
1061: [23:36:44] <lewellyn> i guess they think there's magic pixie dust which will allow their users to connect to ipv6 servers with no effort from them.
1062: [23:37:40] <ss23> 12:31:46 < Colin[pi]> then we had the comms minister here recently tell someone on twitter who was complaining about shit broadband at her new house "Well maybe you should have moved somewhere else if broadband was important to you"
1063: [23:37:45] <ss23> seems legit to me
1064: [23:38:02] <ss23> lewellyn: Hate that :/
1065: [23:38:43] <lewellyn> ss23: they obviously want my business but they can't exhibit enough clue to even interest me. :P
1066: [23:38:47] <Colin[pi]> ss23: you don't think that's a rather cunty thing to say?
1067: [23:39:05] <ss23> Colin[pi]: A little bit, but not enough to warrant reprecussions
1068: [23:39:28] <ss23> Moving somewhere with no resonable expecetation of something, then being like "OH IT DOESN'T HAVE THE THING THAT I KNEW IT WOULDN'T HAVE"
1069: [23:39:28] <lewellyn> when i mentioned i have a /28, they were all "what's that?". when i told them, they said "oh! we can give you a discount if you have 4 or more lines into the same business!" *not the same!* :(
1070: [23:39:38] <ss23> hahaha lewellyn
1071: [23:39:45] <ss23> You have your own /28 though? :(
1072: [23:39:46] <ss23> lucky
1073: [23:39:53] <lewellyn> non-portable, alas.
1074: [23:40:04] <Colin[pi]> ss23: the issue is that a home buyer doesn't really have a reliable method of knowing the BB quality BEFORE they move into the house
1075: [23:40:05] <lewellyn> and it's like half my bill, i think.
1076: [23:41:52] * Ryan-Toast quit (Quit: Ryan-Toast)
1077: [23:43:38] <antmas> bah
1078: [23:43:44] <antmas> can't find the link :\
1079: [23:46:05] <lewellyn> ss23: note that i have a /28 on a business line, not a consumer line, before you start fantasizing about .us broadband
1080: [23:48:24] <Colin[pi]> my isp offers a 250GB plan for $69/month, and an unlimited plan for.... $69/month
1081: [23:48:26] <Colin[pi]> wut
1082: [23:49:06] <antmas> Colin[pi]: speed compromise
1083: [23:49:15] <antmas> unlimited is BS
1084: [23:49:35] <Colin[pi]> afaik they are identical except for the cap
1085: [23:49:49] <antmas> Colin[pi]: they *say* that
1086: [23:50:57] <Colin[pi]> only diff I can see is that "unlimited" is only available at certain locations
1087: [23:52:32] <Colin[pi]> regardless, I get a shitastic 4mbit down
1088: [23:52:41] <antmas> woah
1089: [23:52:48] <antmas> even mine is faster than that :O
1090: [23:52:57] <antmas> 15 up and 2 down
1091: [23:53:00] <antmas> wait
1092: [23:53:02] <antmas> reverse that
1093: [23:53:12] <Colin[pi]> yeah when I moved here, I was like fuck yeah! it's close to the town center, which is typically the exchange
1094: [23:53:20] <Colin[pi]> so I was thinking, sweet, awesome internet
1095: [23:53:22] <Colin[pi]> and then
1096: [23:53:35] <Colin[pi]> I discover for some reason, we connect through the exchange in the next suburb over
1097: [23:53:38] <antmas> yeah I'm within 1km of the exchange and can't get VDSL or UFB
1098: [23:53:40] <Colin[pi]> which is like 3.5KM from me
1099: [23:53:41] <Colin[pi]> FFFFUUUUUUU
1100: [23:53:42] <antmas> shit sucks
1101: [23:59:08] <antmas> mmm dat soft delete
1102: [23:59:37] <Colin[pi]> mofoing clients pay your bills!
1103: [23:59:43] <Colin[pi]> sigh, every day I need to chase

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