#silverstripe IRC Log

IRC log for 3 July 2014

All timestamps are in UTC.

1: [00:00:11] <Ryan-Toast> e.g: http://jsfiddle.net/69CDq/8/
2: [00:00:51] * muskie9 has joined #silverstripe
3: [00:01:08] <zippy__> Ryan-Toast: yeap that fixes that, but the only issue is if I remove most of the content, the green should sit at the bottom of the window, but it still sits at the very bottom of the page
4: [00:01:32] <harv3st> set the min-height of the content
5: [00:01:44] <Ryan-Toast> zippy__: This is a strange usecase
6: [00:01:54] <harv3st> you should probably use js then
7: [00:02:08] <zippy__> the goal is so when you are on a page with little content, the footer is sitting at the bottom of the screen
8: [00:02:11] <simon_w|work> Ryan-Toast, no, it's a fairly common use case. It's just that CSS doesn't make it easy (or possible)
9: [00:03:58] <Ryan-Toast> Like this? http://jsfiddle.net/69CDq/14/
10: [00:05:11] <zippy__> almost, but if you dump in 5-6 lines text, the green will then sit above it
11: [00:05:46] * muskie9 quit (Ping timeout: 264 seconds)
12: [00:06:34] <Ryan-Toast> give me a sec, ill make you one
13: [00:06:44] <zippy__> eg http://ryanfait.com/sticky-footer/ - if you open in a new window it will sit at bottom but if you make window smaller then the footer goes below the fold
14: [00:06:57] <zippy__> http://ryanfait.com/sticky-footer/layout.css -might just go with that
15: [00:07:06] <zippy__> I was hoping not having to do a wrapper div though, fark it
16: [00:15:29] <Ryan-Toast> zippy_: http://jsfiddle.net/Uzdk5/
17: [00:16:21] * caamic30 has joined #silverstripe
18: [00:16:39] * caamic30 has left #silverstripe
19: [00:19:30] <zippy__> Ryan-Toast: http://ryanfait.com/sticky-footer/ - no js...
20: [00:21:17] <Colin[pi]> simon_w|work: mm saw that, will have to check the date
21: [00:26:24] * novaweb quit (Quit: novaweb)
22: [00:26:51] <Colin[pi]> simon_w|work: if we were to go, thoughts on travel? bus, plane, roadtrip?
23: [00:31:41] * zippy__ quit (Quit: zippy__)
24: [00:35:57] <Ryan-Toast> zippy__: also a set height
25: [00:36:23] * jenniferaslan quit (Quit: jenniferaslan has left the room)
26: [00:36:28] <Ryan-Toast> depending on your browser dependency you can use flexbox.
27: [00:37:30] * simon_w|work flexes his box
28: [00:37:56] <ss23> hehe
29: [00:38:00] <ss23> simon_w|work: Sure you're not a girl?
30: [00:38:01] <ss23> :3
31: [00:38:08] * simon_w|work checks
32: [00:38:10] <simon_w|work> Yup!
33: [00:38:12] <ss23> XD
34: [00:39:43] <Colin[pi]> well, he IS pregnant..
35: [00:39:48] <Colin[pi]> so I have my doubts
36: [00:40:03] <ss23> haha
37: [00:41:19] <simon_w|work> And I get to find out the gender tomorrow!
38: [00:44:19] <simon_w|work> Colin[pi], depends on when the meetup is and if I can get time off work
39: [00:46:15] <Colin[pi]> simon_w|work: sounds like will be the Thursday
40: [00:46:19] <Colin[pi]> from what Shane said
41: [00:46:27] <simon_w|work> Yeah, but when in the day?
42: [00:46:34] <ss23> WHENEVER YOU WANT
43: [00:46:35] <ss23> GOD
44: [00:46:40] <simon_w|work> Like, would there be enough time for me to do a full day then fly down?
45: [00:46:48] <simon_w|work> Or up, whichever way it is
46: [00:53:48] <Colin[pi]> simon_w|work: usually they've been in the evening, like 5-6pm start I think
47: [00:55:01] <simon_w|work> Colin[pi], might just see if I can work Mon-Wed that week instead
48: [00:55:31] <simon_w|work> Then I can bus/train/road trip
49: [01:01:46] * muskie9 has joined #silverstripe
50: [01:03:18] * camfindlay has joined #silverstripe
51: [01:05:59] * muskie9 quit (Ping timeout: 248 seconds)
52: [01:13:08] <spronk> gender: food
53: [01:15:05] <ss23> bah
54: [01:15:12] <ss23> hate it when I don't work on sometime for like 3 months then come back to it
55: [01:15:15] <ss23> :(
56: [01:15:28] <spronk> "WHAT YEAR IS IT!?"
57: [01:15:43] <spronk> http://i2.kym-cdn.com/entries/icons/original/000/007/784/what-year-is-it-robin-williams.jpg
58: [01:15:54] <ss23> lol
59: [01:15:59] <ss23> we all knew what you were referencing!
60: [01:16:29] <spronk> its my duty to educate the uninformed, so link provided :P
61: [01:16:34] <ss23> ol
62: [01:18:33] * zippy__ has joined #silverstripe
63: [01:18:42] <ss23> fuck
64: [01:18:48] <ss23> the estimate I sent months ago I didn't even type correctly
65: [01:18:55] <ss23> "In itself, being able to turn it off and on"
66: [01:18:56] <ss23> that's it
67: [01:18:59] <ss23> THE ENTIRE LAST PARAGRAPH
68: [01:19:06] <zippy__> nice!
69: [01:19:11] <zippy__> get the job?
70: [01:22:32] <Stomach> turn if off and on
71: [01:22:44] <Stomach> thats technical
72: [01:28:00] <spronk> does anyone else think merging .org and .com is a bad idea?
73: [01:28:36] <Stomach> spronk, what? whos proposing that?
74: [01:28:36] <Ryan-Toast> spronk: Depends howit’s handled.
75: [01:28:44] <Ryan-Toast> I forone think it’s a good idea.
76: [01:29:00] <Stomach> oh, for silverstripe
77: [01:29:03] <simon_w|work> spronk, yes
78: [01:29:06] <spronk> Stomach: watch unclecheese's latest video
79: [01:29:09] <Stomach> I thought you meant for all domains
80: [01:29:13] <spronk> mm
81: [01:29:15] <Stomach> was "wtf"ing in my brain
82: [01:29:16] <spronk> lol
83: [01:29:29] <spronk> seems to me like it's just going to further confuse the whole company vs open source thing
84: [01:29:41] <spronk> a few devs i know are iffy about working on SS because of SS Ltd's involvement
85: [01:29:58] <simon_w|work> spronk, and that's why it was split in the first place
86: [01:29:59] <UncleCheese> Thing is, the data say that people are having a really hard time with the distinction
87: [01:30:32] * Tawm_ has joined #silverstripe
88: [01:30:36] <simon_w|work> UncleCheese, so removing the distinction is considered the solution?
89: [01:30:37] <UncleCheese> the open source product is a huge part of silverstripe's identity, and it doesn't help that the product and the company share a name and brand
90: [01:30:42] <spronk> yeahh
91: [01:30:46] <spronk> so rename one of them ;)
92: [01:30:56] <UncleCheese> no, but i think there's a lot we can do to homogenise them
93: [01:31:21] <UncleCheese> spronk we could go back to being Totally Digital
94: [01:31:23] <spronk> bottom line is that for a number of open source devs having the system's identity shared with a commercial entity is pretty offputting
95: [01:31:38] <spronk> then there's the
96: [01:31:53] <spronk> "isn't silverstripe ltd going to be the best" mantra
97: [01:32:45] <UncleCheese> i think it would be a much easier line to walk if the company and the product were branded differently
98: [01:32:52] <UncleCheese> like aquea and drupal
99: [01:33:17] <UncleCheese> but when they have that commonality, i think it's just confusing to create a divide
100: [01:33:31] <spronk> perhaps
101: [01:33:34] <UncleCheese> still a lot of discussion happening around that, though, so keen to hear more thoughts
102: [01:33:38] <Phlunk3> silverstripe is a nz company anyway right? I dont count like real world companies..
103: [01:34:55] <Stomach> it really depends on how the merge happens though
104: [01:35:08] <UncleCheese> for clarity, the "merge" doesn't mean there would be a single domain
105: [01:35:14] <willr> My vote has always been to rename the product :P
106: [01:35:16] <UncleCheese> but the user experience would be homogenous
107: [01:35:18] <UncleCheese> ha
108: [01:35:35] <Stomach> "Stevie did all the work CMS" +1
109: [01:35:52] <UncleCheese> Auntie Crackers CMS
110: [01:36:19] <simon_w|work> Just go back to Sapphire :p
111: [01:36:21] <UncleCheese> I could be married to it once and for all
112: [01:36:40] <willr> Guess it’s something for SS to discuss but I was the main dev when we spilt, basically things like “portfolio” and team just confused matters for people not familar to it
113: [01:36:46] <UncleCheese> the whole SilverStripe Framework thing was to create more awareness of the brand
114: [01:36:56] <UncleCheese> so maybe it's a case of fully committing to that
115: [01:37:15] <UncleCheese> the sapphire name was divergent from that
116: [01:37:15] <spronk> but when the brand is SS Ltd's brand it's a bit of a disservice to other companies using silverstripe, to a degree
117: [01:37:37] <willr> Never heard what happened to the plan of the SilverStripe foundation
118: [01:37:51] <Stomach> "we work with SilverStripe" is ambiguous when we tell clients
119: [01:37:56] <UncleCheese> that's a valid point, spronk .. one of the reasons you can, and maybe should, use your own branding in the CMS
120: [01:37:57] * coldblooded has joined #silverstripe
121: [01:38:06] <spronk> UncleCheese: that's not really a solution
122: [01:38:16] <simon_w|work> UncleCheese, also, 3.0 removed most of the ease of doing that
123: [01:38:16] <UncleCheese> at agencies i've worked for we avoided that so we could offload a lot of the responsibility
124: [01:38:26] <simon_w|work> Branding is now mostly at a CSS level
125: [01:38:29] <Stomach> simon_w|work, yeah its really hard to do now
126: [01:38:37] <Stomach> well not hard, but its not "simple" like it used to be
127: [01:38:45] <UncleCheese> but along with the loss of accountablitiy is the loss of credit on those occassions that the client loves the CMS :)
128: [01:39:03] <UncleCheese> it's not just a config setting anymore?
129: [01:39:09] <Stomach> UncleCheese, nope
130: [01:39:11] <spronk> i just point to drupal, j-word and wordpress
131: [01:39:19] <simon_w|work> UncleCheese, that big splash screen's a background-image
132: [01:39:20] <UncleCheese> i know in 2.4 it was a static method call
133: [01:39:23] <spronk> clients identify with them because they're known, and they have large support netowrks
134: [01:39:33] <spronk> client isn't going to identify with "spronk's cool cms"
135: [01:39:48] <UncleCheese> right, and it's a bit deceptive in a way
136: [01:39:58] <UncleCheese> it's like when pubs just slap their own label on some generic beer
137: [01:40:05] <UncleCheese> maybe that's not a thing here
138: [01:40:26] <spronk> well
139: [01:40:51] <spronk> it's more like Heineken opening a bar next to mine, selling the same beer.
140: [01:41:40] <UncleCheese> yeah, that's an interesting point
141: [01:41:41] <spronk> at least with ss.org now you can point clients there and it'snoncommercial
142: [01:41:56] <UncleCheese> as will the new one
143: [01:42:05] <UncleCheese> save the "company" section, which will go to ss.com
144: [01:43:10] <UncleCheese> should we just rename the CMS Qwikster?
145: [01:43:20] <UncleCheese> i hear that domain name is available
146: [01:43:26] <spronk> yeah... really need to see a more complete IA before judging one way or the other, just something I noted
147: [01:43:56] <UncleCheese> it's really about making the user experience more seamless than it is about merging ideology
148: [01:44:05] <simon_w|work> Or rename SilverStripe Ltd again. It works rather well for Automattic
149: [01:44:30] <willr> +1
150: [01:44:31] <UncleCheese> ss.com will still exist, but it will take on a look and feel that is more congruous to ss.org
151: [01:44:50] <simon_w|work> So, it's about trying to get more people to use SS Ltd?
152: [01:45:10] <willr> isn’t that the point?
153: [01:45:46] <simon_w|work> If it is, I want them to come out and say it rather than flap around
154: [01:45:52] <UncleCheese> it's about making it easier for all users to find what they're looking for
155: [01:45:52] <spronk> indeed
156: [01:46:04] <UncleCheese> so as a CMS developer now, I could very easily go to ss.com hoping to find support
157: [01:46:12] <simon_w|work> UncleCheese, so why do ss.org and ss.com need to be cohesive?
158: [01:46:14] * mobiusnz1 has joined #silverstripe
159: [01:46:21] <UncleCheese> and the only thing i have right now to get me to the right place is a little button that says, "looking for the cms? click here"
160: [01:46:23] * mobiusnz quit (Ping timeout: 252 seconds)
161: [01:46:39] <simon_w|work> In fact, it'll make more sense for them to be blatantly different to lower confusion
162: [01:46:58] * spronk tends to agree with simon_w|work
163: [01:47:09] <UncleCheese> i don't know that we want to hide the fact that silverstripe ltd makes silverstripe
164: [01:47:22] <spronk> well
165: [01:47:26] <spronk> does it?
166: [01:47:27] <Stomach> they don't though
167: [01:47:29] <spronk> isn't it an open source product?
168: [01:47:38] <simon_w|work> Doesn't the community make it?
169: [01:47:53] <simon_w|work> And SS Ltd is just a part of that community?
170: [01:47:53] <UncleCheese> if that's the message we want to send, then we're back to the renaming idea
171: [01:48:05] <UncleCheese> if we're not going to rename either, i think the best course of action is to embrace the parity
172: [01:48:23] <spronk> well, if it isn't the message SS Ltd wants to send then that's somewhat disappointing
173: [01:48:55] <spronk> because it's just a further impediment to getting other developers to contribute to the core product(s)
174: [01:49:18] <spronk> "why spend the time if it's just going to be steamrolled by ss ltd?"
175: [01:49:31] <UncleCheese> it's understood that the CMS is a community driven product, but it's also understood that it's sort of the brainchild of a company
176: [01:49:38] <UncleCheese> that shares its name and likeness
177: [01:50:00] <UncleCheese> and i really think that's a key part of the issue
178: [01:50:03] <Stomach> yeah, but having a 'company' link doesn't state that - it says "we own this we made it its ours"
179: [01:50:05] <simon_w|work> For the record, the company took the name of the CMS, not the other way around
180: [01:50:13] <UncleCheese> that's true
181: [01:50:21] <UncleCheese> because the company was known more for its product than its name
182: [01:50:38] <simon_w|work> Doesn't matter to Automattic
183: [01:50:54] <UncleCheese> but either way, if neither of those identities are going to change, you have to ask yourself what is gained by trying to create a gulf between them
184: [01:51:11] <UncleCheese> i think a lot of people are confused about the difference
185: [01:51:13] <spronk> SS is also BSD licenced, so....
186: [01:51:30] <simon_w|work> Considering one is an open source project, the distancing of the notion of commercial control
187: [01:51:31] <UncleCheese> especially out side of new zealand, where ss.com is almost irrelevant
188: [01:51:45] <Ryan-Toast> Where do you put a LeftAndMainExtension_left.ss?
189: [01:51:52] <UncleCheese> Includes
190: [01:51:53] <simon_w|work> Ryan-Toast, in a module
191: [01:52:00] <Ryan-Toast> Unclecheese: chur
192: [01:53:30] <UncleCheese> Here's a question.. how many of your clients would feel better knowing that there's a mothership behind the free, open-source product you're installing on their precious website storing their sensative data?
193: [01:53:55] <UncleCheese> and how many would be turned off knowing that there's some sort of.. central control of it?
194: [01:54:30] <willr> they don’t have concerns about using Ubuntu or any of the other pieces in their stack that are centrally controlled
195: [01:54:51] <UncleCheese> Right, but a lot of companies opt for RedHat for that sense of security
196: [01:55:21] <spronk> there's a difference between Red Hat and SS Ltd
197: [01:55:27] <UncleCheese> but fair enough... php, mysql, apache, etc follow the same paradigm as SS
198: [01:55:47] <UncleCheese> how does wordpress work? is there a company behind that?
199: [01:55:54] * caamic30 has joined #silverstripe
200: [01:56:02] <spronk> sort of
201: [01:56:12] <UncleCheese> there's wordpress.com and wordpress.org
202: [01:56:19] <willr> It’s run by a non profit foundation.
203: [01:56:28] <spronk> there's Automattic, who run wp.com
204: [01:56:34] <spronk> and who contribute heavily to wp itself
205: [01:56:55] <UncleCheese> interesting
206: [01:58:34] <simon_w|work> And wordpress.org only mentions .com in the footer and a tiny note in the body of the Hosting page
207: [01:58:35] <UncleCheese> wp.com doesn't really give you a launching point to find the free stuff
208: [01:58:54] <UncleCheese> simon_w|work wp.com doesn't mention wp.org at all, unless i'm missing it
209: [01:59:45] <simon_w|work> UncleCheese, it's also fairly obvious you're not going to find the opensource stuff just by hitting it
210: [02:00:18] <spronk> also, wp.com only really came about well after wordpress was a household name
211: [02:00:24] <Colin[pi]> UncleCheese: I know for a fact that some of my clients like the fact that SS as an open source product is backed by a commercial company
212: [02:00:35] <Colin[pi]> gives them more piece of mind
213: [02:00:37] <Colin[pi]> *peace
214: [02:00:57] <UncleCheese> yeah, i think it's a selling point
215: [02:01:03] <Colin[pi]> definitely
216: [02:01:28] <simon_w|work> It's also a turn off for developers looking to contribute back
217: [02:01:36] <spronk> catch 22
218: [02:01:46] <UncleCheese> i can certainly see how open-source and commercial sharing a space could create an awkward sort of conflict of philosophies
219: [02:01:57] * zippy__ quit (Ping timeout: 255 seconds)
220: [02:02:02] <UncleCheese> hard to deny, though, that ss ltd is responsible for a vast majority of the work on the open source product
221: [02:02:17] <tankr> Perhaps the issue is about commercial conflict of interest, for instance if you point clients to the software you are using and there is a company right there that is very closely related there is a fear that the client will just go to the company directly?
222: [02:02:25] <spronk> which may not have been the case had the separation been made earlier
223: [02:02:32] <simon_w|work> UncleCheese, to put it another way, I've basically given up on contributing back to SS core because the SS Ltd review team are rather unlikely to do anything with it
224: [02:02:54] <UncleCheese> well that's a separate issue, and a legitimate concern
225: [02:03:40] <UncleCheese> tankr my understanding is that happens pretty rarely
226: [02:03:52] <UncleCheese> most recently with meridian, aye Stomach
227: [02:04:02] <UncleCheese> :)
228: [02:04:14] <Stomach> look, I said I was sorry for that bug :P
229: [02:04:25] <UncleCheese> but unless the client is in NZ there's not much incentive to choose SS ltd as your web partner at this point
230: [02:04:41] <Colin[pi]> UncleCheese: just last week I had a meeting with a potential who was worried about what happened if I disappeared.. I had SS AU call them and talk about warranty and such, made them feel all happy and reassured
231: [02:05:00] <UncleCheese> cool.. that's usually a hard thing to talk my way through
232: [02:05:06] <tankr> yes absolutely, doesn't really happen but some people might have that at the back of their mind perhaps
233: [02:05:09] <willr> Developer network also helps with that
234: [02:05:19] <UncleCheese> "but there are 4,000 rails shops within 100k of me!"
235: [02:05:39] <Stomach> "but they are all based at Starbucks cafes!"
236: [02:05:43] <UncleCheese> HA!
237: [02:06:00] <Colin[pi]> one of the main reasons I chose SS as opposed to my old proprietary framework was the number of people who asked "Well, what happens if you're hit by a bus?"
238: [02:06:01] * muskie9 has joined #silverstripe
239: [02:06:13] <UncleCheese> yeah, that old cliché
240: [02:06:23] <spronk> yeah, but having a company doesn't really matter in that case
241: [02:06:31] <Stomach> same thing that always happens, it takes another developer 5 times as long to get up to speed as opposed to writing it themselves
242: [02:06:31] <spronk> it's more just having popularity and support for the product
243: [02:06:37] <UncleCheese> nope
244: [02:06:39] <Colin[pi]> mm
245: [02:06:56] <simon_w|work> Colin[pi], also, your clients probably couldn't afford to have SS AU continue the work ;)
246: [02:07:02] <Colin[pi]> simon_w|work: lol
247: [02:07:08] <Colin[pi]> yeah I cater for the small guys mainly
248: [02:07:24] <ss23> http://xkcd.com/1172/ every change I make to SilverStripe
249: [02:07:29] <UncleCheese> in my experience, the new developer may toelrate it for a while, but invariably he ends up selling them an upgrade to the thing that he is more comfortable with
250: [02:07:39] <Colin[pi]> UncleCheese: yeah
251: [02:08:03] <UncleCheese> point being that losing your developer is expensive
252: [02:08:09] <UncleCheese> even going from one SS dev to another
253: [02:08:23] <UncleCheese> i've sold clients on sooooo many code rewrites, because i'm just like, wtf was your last guy thinking
254: [02:08:26] <UncleCheese> and vice versa
255: [02:08:33] <UncleCheese> i'm sure i've cost a lot of ex-clients a lot of cash
256: [02:08:52] <UncleCheese> WTFWHOWRITETHHISSHITGODDAMNMOTHER!!!!
257: [02:09:06] <UncleCheese> "uncle cheese did"'
258: [02:09:22] <UncleCheese> "That's it. We're hiring Auntie Crackers."
259: [02:09:27] <Colin[pi]> UncleCheese: yeah I've been approached a few times with projects like "well, it's ALMOST complete, but things didn't work out with the last developer..."
260: [02:09:35] <UncleCheese> yeah, i love that
261: [02:09:37] <Colin[pi]> my brain is like WOOOOOOOP WOOOOOOOP DANGER
262: [02:10:04] <Colin[pi]> I looked at the source of one, I'm like... what in the actual I don't even
263: [02:10:27] <Colin[pi]> ran away screaming
264: [02:10:45] <simon_w|work> And that's when you started hiding in Brazil
265: [02:10:52] <Colin[pi]> yes!
266: [02:10:55] <UncleCheese> have you ever taken on an ss project where everything is done in the root /templates/ directory?
267: [02:11:06] <UncleCheese> like the dev didn't even grasp the concept of $Layout?
268: [02:11:12] <UncleCheese> i've seen a lot of those
269: [02:11:12] <Colin[pi]> lol luckily no
270: [02:11:23] <UncleCheese> literally 95% of the site is duplicate code
271: [02:11:32] <simon_w|work> I've taken on a couple of SS Ltd sites
272: [02:11:32] <UncleCheese> or menus like
273: [02:11:33] <spronk> fortunately no
274: [02:11:35] <simon_w|work> The code is horrible
275: [02:11:39] <spronk> heh
276: [02:11:55] <UncleCheese> <% if $URLSegment == 'about-us' %><img src="nav_active.png"><% end_if %>
277: [02:12:04] * Blacklite has joined #silverstripe
278: [02:12:05] <Stomach> UncleCheese, I do that all the time ;(
279: [02:12:06] <Colin[pi]> oooh yuck
280: [02:12:09] <spronk> tbh i haven't seen many sites wwhere the code is fantastic
281: [02:12:10] <ss23> simon_w|work: weelllll not disagreeing, but honestly, I haven't seen other companies that do better ;)
282: [02:12:14] <UncleCheese> yeah, that's the pro way to do a menu
283: [02:12:16] <Stomach> oh not nav active
284: [02:12:21] <Stomach> for dropdown menus and shit
285: [02:12:29] <ss23> Out of the clients we've orphaned fom other places (*cough* goddam snapper website *cough*) I'd way rather the ssltd code
286: [02:13:01] <simon_w|work> That the sites are written in SS doesn't help much either
287: [02:13:02] <Colin[pi]> all coding is shit, fact
288: [02:13:03] <Stomach> <% if $HasDropdown %><% include MenuDrop $Page=ID %><% else %>
289: [02:13:08] <simon_w|work> Especially for controller-only pages
290: [02:13:42] <UncleCheese> Colin[pi] http://stilldrinking.org/programming-sucks
291: [02:14:08] <Colin[pi]> UncleCheese: oh that post is great, absolutely nails what it's like to be a dev
292: [02:14:15] <UncleCheese> it's my bible
293: [02:14:41] <UncleCheese> my favourite line:
294: [02:14:42] <UncleCheese> "Most people don't even know what sysadmins do, but trust me, if they all took a lunch break at the same time they wouldn't make it to the deli before you ran out of bullets protecting your canned goods from roving bands of mutants."
295: [02:14:56] <Colin[pi]> lol
296: [02:15:12] <Stomach> sysadmins install adobe reader, right?
297: [02:15:31] <UncleCheese> no, that's not true
298: [02:15:40] <UncleCheese> they install Picassa, too
299: [02:16:13] <Blacklite> "anon does IT" anyone?
300: [02:16:23] <Colin[pi]> saw this on reddit the other day, client testing site for the first time: https://i.imgur.com/X17puIB.gif
301: [02:18:10] <UncleCheese> ha!
302: [02:18:15] <UncleCheese> accuraet
303: [02:19:13] <Blacklite> i've got a question about SS's page slugs and version numbers - is this the right place to ask?
304: [02:19:28] <Colin[pi]> Blacklite: sure why not?
305: [02:20:30] <Blacklite> ok well firstly this is 2.4 related. sometimes (it's intermittent) when we save pages, it adds a version number to the slug, causing a 404 on the front-end
306: [02:21:07] <Colin[pi]> mm that'd probably be because of a duplicate segment/slug.. so it adds a -2 or -3 ?
307: [02:21:33] <Blacklite> yea, but it's odd because the page already has that slug, but saving adds the -2
308: [02:22:12] <Colin[pi]> Blacklite: I think the code checks the DB for another segment the same, and adds it if it finds ANY record with the same slug (might be wrong)
309: [02:22:22] <Blacklite> even itself?
310: [02:22:29] <Colin[pi]> no shouldn't on itself
311: [02:22:29] <Blacklite> that must be the case
312: [02:22:31] <Colin[pi]> it checks ID
313: [02:22:32] <Blacklite> ok
314: [02:22:40] <Blacklite> do you know where I'd find the code that does that so I can take a look?
315: [02:22:56] <simon_w|work> Blacklite, SiteTree::onBeforeWrite() calls out to it
316: [02:23:32] <Blacklite> ok i'll take a look
317: [02:24:14] <Blacklite> thanks
318: [02:27:20] <ss23> rofl, our new deployment script command
319: [02:27:32] <Blacklite> $IDFilter = ($this->ID) ? "AND \"SiteTree\".\"ID\" <> $this->ID" : null;
320: [02:27:38] <ss23> "go run deploymentscript.go deploy project branch tag"
321: [02:27:40] <ss23> SO MANY ARGUMENTS
322: [02:29:57] <Stomach> ss23, should automatically get the master branch if no branch given? :S
323: [02:30:35] <ss23> idk
324: [02:30:44] <Stomach> should just use heyday/beam
325: [02:30:44] <ss23> I also like the way go programs are like "go run myprogram.go"
326: [02:30:45] <ss23> :D
327: [02:30:57] <ss23> Stomach: Ah, not really going to work for this :P
328: [02:31:06] <ss23> I mean normally we use deploynaut, but this tool is different
329: [02:31:09] <ss23> idk if we'll release etc
330: [02:32:03] * cloph_away quit (Ping timeout: 244 seconds)
331: [02:34:54] * cloph_away has joined #silverstripe
332: [02:36:54] <spronk> ss23: .. you have a deployment script written in go?
333: [02:36:57] <pippy> golang silverstripe?
334: [02:37:11] <spronk> the fuck are you guys doing over there :S
335: [02:37:33] <simon_w|work> spronk, they like their fads over there :p
336: [02:38:13] <spronk> lul
337: [02:38:19] <spronk> i looked at using go a while back
338: [02:38:34] <spronk> it has some great ideas, but ..... is broken by not being forward thinking in other ways
339: [02:40:05] <Blacklite> weird, i can't recreate this issue
340: [02:41:18] <ss23> spronk: :D
341: [02:41:22] <ss23> Well we also have one using cpa
342: [02:41:24] <ss23> :P
343: [02:42:16] <spronk> cpa?
344: [02:42:17] <spronk> o_O
345: [02:43:22] <Stomach> spronk, I agree
346: [02:43:26] <Stomach> the type system is a mess
347: [02:44:19] <Stomach> is like a statically dynamically typed funtime
348: [02:47:02] <spronk> heh
349: [02:47:02] <spronk> yeah
350: [02:47:17] <spronk> goroutines are a great idea though
351: [02:50:00] * caamic30 quit (Quit: caamic30)
352: [02:50:17] <ss23> ca[
353: [02:50:19] <ss23> fuck
354: [02:50:19] <ss23> cap
355: [02:50:20] <ss23> capistrano
356: [02:50:39] <spronk> ahhh
357: [02:52:39] * caamic30 has joined #silverstripe
358: [02:53:14] * novaweb has joined #silverstripe
359: [02:54:11] <Stomach> capistrano -> ruby -> rails dev -> starbucks -> frappe -> half life 3 confirmed!
360: [02:54:17] <spronk> lol
361: [02:58:28] * aclffrd has left #silverstripe
362: [03:01:37] * camfindlay quit (Quit: camfindlay)
363: [03:04:50] * gelignite_ has joined #silverstripe
364: [03:08:10] * muskie9 quit (Ping timeout: 264 seconds)
365: [03:08:13] * novaweb quit (Quit: novaweb)
366: [03:08:55] * gelignite quit (Ping timeout: 272 seconds)
367: [03:18:45] * tankr quit (Quit: Leaving.)
368: [03:21:23] * novaweb has joined #silverstripe
369: [03:26:01] * cloph has joined #silverstripe
370: [03:26:24] * cloph_away quit (Ping timeout: 260 seconds)
371: [03:27:48] * eagles0513875_ quit (Ping timeout: 260 seconds)
372: [03:30:39] * eagles0513875_ has joined #silverstripe
373: [03:31:19] * camfindlay has joined #silverstripe
374: [03:41:22] <pippy> Stomach i was supposed to email you
375: [03:41:35] <pippy> though i could chat on the phone
376: [03:42:01] <Stomach> pippy, whats your number, would be good to have a chat! :D
377: [03:42:55] * joelpittet has joined #silverstripe
378: [03:44:57] <ss23> wow
379: [03:45:00] <ss23> whatcha talkin about?
380: [03:45:54] <simon_w|work> You, of course
381: [03:46:28] <ss23> :O
382: [03:46:30] <ss23> Scary
383: [03:46:33] * ss23 looks at simon_w|work
384: [03:46:58] <ss23> simon_w|work: Did anyone end up finishing a proper one click install of SilverStripe with HHVM?
385: [03:47:14] <simon_w|work> Since you were supposed to, nope
386: [03:47:46] <ss23> :(
387: [03:50:31] * novaweb quit (Quit: novaweb)
388: [03:54:41] <simon_w|work> ss23, if you're already using php-fpm, it's not like it's hard
389: [03:55:09] <Stomach> so we decided that ss23 should be castrated
390: [03:55:18] <Stomach> pippy was pretty against it, but I worked him over
391: [03:55:28] <pippy> haha
392: [03:55:30] <Colin[pi]> think of the sweet soprano voice he'll have
393: [03:55:31] <simon_w|work> Chemically or physically?
394: [03:55:36] <Colin[pi]> yes
395: [03:56:01] <Stomach> yes.
396: [03:57:22] <Stomach> probably chemical, it works better on reducing bone density so thats probably a bonus
397: [03:59:52] <Stomach> (noone likes my puns :()
398: [04:00:21] * Colin[pi] hugs Stomach
399: [04:02:28] <Stomach> < 3
400: [04:02:36] <ss23> simon_w|work: Yeah, but part of the problem is that lots of noobies dunno how to copmile HHVM and dependency management etc
401: [04:02:58] <simon_w|work> ss23, https://github.com/facebook/hhvm/wiki/Prebuilt%20Packages%20for%20HHVM
402: [04:03:29] <ss23> simon_w|work: yeah, ik, but noobies suck
403: [04:06:19] <Stomach> "5x reduction in memory consumption for Facebook compared with the PHP 5.2 engine + APC"
404: [04:06:23] * camfindlay quit (Quit: camfindlay)
405: [04:06:45] <Stomach> php 5.2 faster or slower than 5.3,5.4 and 5.5
406: [04:06:46] <Stomach> ?
407: [04:06:51] <simon_w|work> Slower
408: [04:09:23] * krofek_ quit (Ping timeout: 252 seconds)
409: [04:13:49] * keksters has joined #silverstripe
410: [04:14:55] <keksters> I'm trying to do some conditional logic on a form on 3.0.x? and the best example I can find is http://www.sspaste.com/paste/show/4ed5864b1ab69
411: [04:15:08] <keksters> Except it's using sapphire to load the jquery
412: [04:15:29] <simon_w|work> keksters, so change it to framework?
413: [04:15:41] <keksters> Is it as simple as that?
414: [04:15:54] <simon_w|work> Also, you'll need to use .on() instead of .live()
415: [04:16:11] <keksters> Makes sense
416: [04:16:52] <keksters> I take it there's no easier way to show a field from a radio button selection than using jQuery?
417: [04:17:56] <simon_w|work> Have a look at SelectionGroupField
418: [04:18:50] <keksters> Oooh.
419: [04:21:33] * krofek_ has joined #silverstripe
420: [04:22:25] <keksters> The example on the api only gives examples of a SelectionGroupField full of SelectionGroup_Items - if you have a selection that doesn't have further options do you just not supply the rest of the options for SelectionGroup_Item?
421: [04:25:34] <simon_w|work> Yup
422: [04:29:17] <keksters> I'm putting the array of SelectionGroup_Items as a variable within the form class but it's taking issue with the "new SelectionGroup_Item"
423: [04:31:50] <keksters> Ahh, hang on
424: [04:35:05] <keksters> http://sspaste.com/paste/show/53b4d97f5a335
425: [04:35:27] <simon_w|work> Ah right, you're on 3.0
426: [04:35:47] <simon_w|work> So you want to use 'Key//Title' => new LiteralField(...)
427: [04:36:02] <simon_w|work> So, 'one//one title' => new LiteralField('one', 'one view')
428: [04:36:40] <keksters> What about the SelectionGroup_Item? My apache records for this setup says PHP Fatal error: Class 'SelectionGroup_Item' not found in /home/www/daffodilday/daffodilday.org.nz/public/daffodil/code/VolunteerForm.php on line 71
429: [04:36:54] <simon_w|work> That's instead of SelectionGroup_Item
430: [04:37:39] <keksters> Okay
431: [04:38:45] <keksters> Okay. So if I add an array of fields in the place of one view?
432: [04:39:11] <simon_w|work> You'd wrap them in a CompositeField
433: [04:39:55] <keksters> Sorry you've lost me. What's the structure you're talking about?
434: [04:40:16] <simon_w|work> 'key//title' => new CompositeField(array(fieldA, fieldB, ...))
435: [04:40:24] <keksters> Aha
436: [04:40:44] <Colin[pi]> best dual screen wallpaper evar: http://i.imgur.com/GBlHqDm.jpg
437: [04:40:56] <keksters> Can I give the Selection Group a label? Or do I need to do a literal field?
438: [04:41:40] <keksters> Looks like I've found my work background
439: [04:41:44] <Colin[pi]> lol
440: [04:41:54] <Colin[pi]> more here: http://imgur.com/gallery/miXEb
441: [04:42:09] <simon_w|work> You can use a LabelField, but I don't think it gets one automatically
442: [04:42:18] <simon_w|work> Colin[pi], that would look horrible on my setup :p
443: [04:42:28] <Colin[pi]> how many monitors?
444: [04:42:31] <simon_w|work> 3
445: [04:42:38] <Colin[pi]> well SORRY
446: [04:42:45] <simon_w|work> All vertical
447: [04:42:58] <Colin[pi]> :o
448: [04:43:31] <keksters> Aww I don't think I have my screens set up right
449: [04:43:46] <Colin[pi]> vertical orientation = srs coding
450: [04:47:02] * wmk has joined #silverstripe
451: [04:51:50] <keksters> Okay. With this set up of SelectionGroup
452: [04:52:06] <keksters> I have options that don't have further fields set up as so:
453: [04:52:15] <keksters> 'Packing resources (time commitment depending on your availability)',
454: [04:52:24] <keksters> But it's just coming up with the number of this choice
455: [04:52:41] <simon_w|work> Yeah, it needs to be the index, not the value
456: [04:52:53] <simon_w|work> => '' should do it
457: [04:53:32] <keksters> Yes it does, thank you
458: [04:58:00] <keksters> There's a weird li element appearing in the SelectionGroup?
459: [04:59:01] <simon_w|work> Weird in what way?
460: [05:00:10] * nickmolhoek quit (Quit: nickmolhoek)
461: [05:01:36] <keksters> There's li dots appearing over the radio buttons and interfering with your ability to click on the radio buttons
462: [05:02:03] <keksters> But it's an issue to deal with tomorrow.
463: [05:02:34] * Phlunk3 quit (Quit: Leaving)
464: [05:03:47] <Ryan-Toast> How can I concatonate a title plus another field in a map() ?
465: [05:04:00] <Ryan-Toast> having the ID as the value
466: [05:05:55] <Stomach> write a function for it
467: [05:06:17] <Stomach> public function concatStuff() { return $this->Title . ' - ' . $this->IsRyanAwesome;}
468: [05:06:19] * keksters quit (Ping timeout: 246 seconds)
469: [05:06:27] <Stomach> ->map('ID', 'concatStuff')
470: [05:07:39] <Ryan-Toast> Stomach: Using
471: [05:07:44] <Ryan-Toast> ?
472: [05:08:07] <Stomach> the function should be on the object you are creating a map for
473: [05:11:08] <Ryan-Toast> Stomach: I’ll give it a go tomorrow
474: [05:11:12] <Ryan-Toast> cheers :)
475: [05:13:24] <Ryan-Toast> Stomach: did it just now, why didn’t I think of that? :P Thanks, Stomach. Havea good night.
476: [05:13:59] <Stomach> later buddy
477: [05:15:12] * harv3st quit ()
478: [05:18:14] * kerosene has joined #silverstripe
479: [05:23:50] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
480: [05:34:04] * Ryan-Toast quit (Quit: Ryan-Toast)
481: [05:34:20] <ss23> It would be kind of awesome to hack Gravatar and replace everything 100,000th load with a picture of a dick
482: [05:34:38] <simon_w|work> Like what php.net does?
483: [05:35:27] <ss23> haha
484: [05:35:33] <ss23> kind of, mine wouldn't be animated, that's too mean :P
485: [05:41:19] * joelpittet quit ()
486: [05:56:19] <caamic30> is it possible in SS3 to write multiple fields, i.e Product::create()->write(array(‘Name’ => ‘iPhone 6’, ‘Brand’ => ‘Apple’));
487: [05:56:37] <simon_w|work> caamic30, you set them, then write them
488: [05:57:10] <caamic30> I see, so we can’t write with one single code
489: [05:57:20] <caamic30> I meant one line of code
490: [05:57:28] <simon_w|work> Nope
491: [05:57:39] <ss23> Don't put in linebreaks
492: [05:57:40] <ss23> :P
493: [05:57:41] <caamic30> alright, thanks simon, cheers
494: [05:59:43] <caamic30> ss23: you have a point there :)
495: [06:05:28] * an_Eskimo quit (Ping timeout: 246 seconds)
496: [06:13:53] * gelignite_ quit (Quit: http://bit.ly/nkczDT)
497: [06:17:22] * willr quit (Quit: willr)
498: [06:24:09] <ss23> Hmmmm
499: [06:24:12] <ss23> I have a strange error, simon_w|work
500: [06:24:27] <ss23> Uncaught ReflectionException: Class HomeStory does not exist, on $reflector = new ReflectionClass($class); in InjectionCreator.php
501: [06:24:34] <ss23> However, I have a HomeStory.php, with class HomeStory
502: [06:24:39] <ss23> So... is that autoloader fail?
503: [06:24:41] <ss23> Works in prod, not in dev
504: [06:24:58] <firefox2kx> morning
505: [06:25:38] <ss23> morning firefox2kx
506: [06:25:52] <Colin[pi]> "Would like to get some changes to the website and would be happy to pay" <--- LOL clients gonna client
507: [06:26:11] <Colin[pi]> would be happy to pay... oh gee how thoughtful of you!
508: [06:27:32] <simon_w|work> ss23, flush
509: [06:29:38] <firefox2kx> [cool@colin] @all: Again it's impossible to edit something in cms of my live-machine... I use a git to manage my silver-site. would it be a good idea to just manage "mysite" and the composer.json with git and let the rest (environment and module-configs excluded) to be done by composer?
510: [06:30:53] <ss23> simon_w|work: I have, didn't work
511: [06:31:05] <ss23> simon_w|work: I rm -rf'd all of /tmp :(
512: [06:31:05] <simon_w|work> ss23, flush harder!
513: [06:31:09] <ss23> I'M TRYING
514: [06:31:11] <ss23> flush=omgsohard
515: [06:31:39] <simon_w|work> ss23, is there a _config or _config.php at the base of the module?
516: [06:31:44] <ss23> it's mysite, so yes
517: [06:32:27] <ss23> fucking
518: [06:32:29] <ss23> figured it out
519: [06:32:29] <ss23> :/
520: [06:32:30] <ss23> <?
521: [06:32:33] <ss23> WHO WROTE THIS CODE
522: [06:32:48] * ss23 grumbles and sends an email
523: [06:32:57] <simon_w|work> Let's go with.... madmatt!
524: [06:33:00] <ss23> XD
525: [06:33:05] <ss23> Wasn't someone at SilverStripe this time :P
526: [06:33:11] <ss23> Wasn't antmas either!
527: [06:33:54] <firefox2kx> antmas? so .. uhm .. like x-mas?
528: [06:34:26] <firefox2kx> oh you meant the user xD
529: [06:34:37] <simon_w|work> firefox2kx, anything you pull in via composer shouldn't be kept in your VCS
530: [06:34:37] <ss23> lol :P
531: [06:36:08] * novaweb has joined #silverstripe
532: [06:36:46] <firefox2kx> @simon_w: that's good news to read. U must know: I just copied the structures we have at the company I work and they made this that wrong way from beginning on.
533: [06:40:11] * r_hector has joined #silverstripe
534: [06:45:57] * novaweb quit (Quit: novaweb)
535: [07:06:44] * novaweb has joined #silverstripe
536: [07:07:40] * ocm has joined #silverstripe
537: [07:08:12] <ocm> howdy
538: [07:08:33] <simon_w|work> Oops, may have broken my VM
539: [07:10:07] <firefox2kx> AAAH what have you done?
540: [07:10:58] <simon_w|work> Eh, vagrant halt; fixed it
541: [07:13:09] * firefox2kx is relieved
542: [07:18:07] * ARNHOE has joined #silverstripe
543: [07:20:25] <simon_w|work> Home time!
544: [07:20:31] * simon_w|work quit (Quit: Ex-Chat)
545: [07:25:51] * azureknight has joined #silverstripe
546: [07:26:52] * azureknight quit (Client Quit)
547: [07:29:22] * novaweb quit (Quit: novaweb)
548: [07:42:32] * oceanmountain has joined #silverstripe
549: [07:43:57] * ocm quit (Ping timeout: 255 seconds)
550: [07:45:04] * stnvh has joined #silverstripe
551: [07:53:51] * kinglozzer has joined #silverstripe
552: [08:21:30] * Pymmk has joined #silverstripe
553: [08:27:20] * willr has joined #silverstripe
554: [08:34:24] <Pymmk> willr: do you even lift?
555: [08:34:50] <willr> Lift?
556: [08:36:07] * simon_w has joined #silverstripe
557: [08:38:20] <oceanmountain> xD
558: [08:39:12] * R\w\C has joined #silverstripe
559: [08:39:13] * R\w\C quit (Changing host)
560: [08:39:13] * R\w\C has joined #silverstripe
561: [08:39:48] <Pymmk> willr: yes.
562: [08:40:26] <Pymmk> you still SS right?
563: [08:40:58] <willr> Haven’t been at SilverStripe for 3 years almost.
564: [08:42:58] * Tawm_ quit (Ping timeout: 246 seconds)
565: [08:43:37] * spronk2 has joined #silverstripe
566: [08:49:14] <Pymmk> willr: yeah but do you still use it? or is this more of a social visit?
567: [08:49:58] <willr> Yep daily. Been in europe for the last 3 months so you may not have heard from me
568: [08:50:14] <Pymmk> willr: so havi I!
569: [08:50:19] <Pymmk> have*
570: [08:50:39] <willr> you can see from my contributions :P https://github.com/wilr though I’m getting back through my todo list
571: [08:50:59] <willr> Europe’s pretty kick arse. Can’t wait to go back
572: [08:51:35] <Pymmk> coming back?
573: [08:51:48] <willr> Got another 3 month trip planned next year
574: [08:51:58] <Pymmk> hardcore
575: [08:52:14] <willr> Your england nowadays?
576: [08:52:15] <Pymmk> still @ dna?
577: [08:52:20] <Pymmk> yup
578: [08:52:32] <willr> Course. They’ve been pretty good about letting me do whatever I want
579: [08:52:44] <Pymmk> baller
580: [08:52:55] <willr> only young once.
581: [08:53:02] <willr> What part of england?
582: [08:53:03] <Pymmk> can I have a job like that when I get back? xD
583: [08:53:15] <willr> Give me a call :P
584: [08:53:16] <Pymmk> willr: ask micmania1
585: [08:53:37] <Pymmk> he can explain all about it for you when he gets there :>
586: [08:54:07] <Pymmk> [09:52] <@willr> only young once.
587: [08:54:09] * eagles0513875_ quit (Ping timeout: 255 seconds)
588: [08:54:13] <Pymmk> totally. I left my run too late :<
589: [08:54:27] <Pymmk> well, not too late, but it'd be nice to be younger in this situation.
590: [08:54:40] <willr> ha, I spent a couple days up in Southport, Liverpool Manchester then ran down to Oxford for jQueryUK and London to do the tourist shit.
591: [08:54:49] <Pymmk> we're in Newcastle.
592: [08:54:54] <willr> will visit if you’re still over there next time
593: [08:54:56] <Pymmk> Geordies everywhere.
594: [08:55:08] <Pymmk> here until next Dec.
595: [08:55:28] <Pymmk> then probably back.
596: [08:55:37] <Pymmk> unless something amazing happens in Europe.
597: [08:56:19] <Pymmk> I'd happily go there instead, but... I feel like I should settle down because I'm old n' shit :<
598: [08:56:25] <Pymmk> hehe
599: [08:58:13] <willr> Current plan I’ll be in that part of the world late August so that’ll work out.
600: [08:59:05] * eagles0513875_ has joined #silverstripe
601: [09:00:04] <Pymmk> or we could meet up somewhere more exciting :P
602: [09:00:09] <Pymmk> like... Austria!
603: [09:00:16] <Pymmk> with Zauberfisch :D
604: [09:00:26] <Pymmk> mit Zauberfisch *
605: [09:00:37] <Pymmk> :P
606: [09:00:59] <Pymmk> I met with mates from NZ in Munich recently. It was so winner!
607: [09:01:11] <Pymmk> willr: that's the way to do it.
608: [09:01:39] <willr> well the plan was oktoberfest
609: [09:01:54] <Pymmk> haha, winner
610: [09:02:01] <Pymmk> only young once indeed
611: [09:02:11] <willr> Been to Austria! well vienna
612: [09:02:26] <willr> as part of my europe trip, was only 2 nights though
613: [09:02:26] <Pymmk> I've only done Munich so far, because full time job.
614: [09:02:41] <willr> Berlin was awesome
615: [09:02:43] <simon_w> Colin[pi], flying AirNZ or Qantas to WDCNZ?
616: [09:02:46] <willr> really loved that
617: [09:02:48] <Pymmk> we had some kind of really loose plan to so an SS meet up
618: [09:02:53] <Pymmk> but that's fallen wayside I think
619: [09:03:17] <willr> Yeah joined that, but it didn’t happen. I just had beers with Aram, Will and Dan from BetterBrief
620: [09:03:17] <Pymmk> airnz or live the fail :<
621: [09:03:29] <willr> Qantas for lyfe.
622: [09:03:38] <Pymmk> willr: well it wasn't going to be until September anyway
623: [09:04:07] <Pymmk> yeh, I wanna go to London for a meet up, but it's hard like. because Wednesday nights :/
624: [09:04:09] <simon_w> Pymmk, I prefer Qantas for trans-Tasman, AirNZ for long haul
625: [09:04:18] <Pymmk> interesting.
626: [09:04:36] <Pymmk> admittedly I've not done AirNZ for trans tasman for a long time.... maybe even at all.
627: [09:04:52] <Pymmk> no, pretty sure I have, but I was young.
628: [09:04:53] <simon_w> They're trying to compete with JetStar's market
629: [09:04:58] <Pymmk> fools.
630: [09:05:03] <Pymmk> Quantas IS jetstar.
631: [09:05:11] <simon_w> So the whole "you pay for food + baggage" BS
632: [09:05:12] <Pymmk> er, -1u
633: [09:05:19] <Pymmk> lame.
634: [09:05:26] <Pymmk> but standard over here.
635: [09:16:07] <willr> Just saw your tweet @simon_w. Don’t worry I still love you
636: [09:16:33] <Pymmk> willr: so jqueryuk eh, what was that like?
637: [09:17:15] <willr> Pymmk not as impressive as I thought. WDCNZ talks were better, they put on a good show though, lot’s more free stuff
638: [09:17:31] <Pymmk> haha, free stuff :D
639: [09:17:38] <Pymmk> I got a lunchbox from PHPNW
640: [09:17:43] <Pymmk> err fuck, PHP NE*
641: [09:17:52] <Pymmk> NW isn't until October or something
642: [09:18:08] <Pymmk> haah, i decided to do an unconference on the day.
643: [09:18:27] <Pymmk> so I stood up and rambled on about SS and how it's better than inferior systems like wordderp
644: [09:18:38] <willr> Nice work
645: [09:18:48] <Pymmk> then when I finished one from the back was all "You realise your'e talking to a wp core dev right?"
646: [09:19:05] <willr> Psh every man and his dog can say he’s a core dev
647: [09:19:13] <Pymmk> I was all 'lulz', but then she proceeded to have a whinge about wp too, it was amazing.
648: [09:19:30] <willr> it’s like you can draw with a crayon and commit to svn, welcome to the team
649: [09:19:36] <Pymmk> lol
650: [09:19:37] <Pymmk> harsh
651: [09:19:52] <Pymmk> apparently there's far too much politics in that core community
652: [09:20:05] <Pymmk> backwards compatibility strangles cleanups, etc.
653: [09:20:34] <Pymmk> "the trouble with the core community is that they want their cake and the cherry"
654: [09:20:55] <Pymmk> so it just basically goes nowhere I guess
655: [09:21:22] <Pymmk> I dunno, my talk was enough to pique interest I thought, and hopefully I didn't come across as too much of a dick.
656: [09:21:26] <Pymmk> (about other systesm)
657: [09:22:13] <willr> jQueryUK keynote was basically a rant on why the anti jquery people are wrong.
658: [09:22:35] <willr> like they don’t care about the web
659: [09:22:38] <Pymmk> shit, I'm reimplementing something, and it looks all great, until suddenly I see that gridfield is saying that there are a total of 30 items, where as the actual count (in lecacy system) is closer to 1000
660: [09:22:39] <Pymmk> :/
661: [09:22:52] <Pymmk> willr: ahahahah, wut?
662: [09:23:01] <Pymmk> anti jquery in which way like?
663: [09:23:22] <Pymmk> I mean it's a nice and useful LIBRARY, but not a framework.
664: [09:23:25] <willr> http://youmightnotneedjquery.com/
665: [09:23:37] <Zauberfisch> willr: haha
666: [09:23:57] <Zauberfisch> naughty anti jquery people
667: [09:24:18] <Zauberfisch> burn the heretics, right?
668: [09:25:22] <Pymmk> I like jquery, but I like vanilla more.
669: [09:25:35] <Pymmk> but that's because I like to learn, rather than I think that jquery should simply not be used.
670: [09:25:57] <Pymmk> My personal projects I try to write my own code, see where I fail/have trouble, see what libs and stuff do for me.
671: [09:26:00] <Pymmk> understand more.
672: [09:26:06] <simon_w> willr, I got two emails this morning about it I should probably get around to reading
673: [09:26:16] <Pymmk> improve my ability to write js further tahn $(blah).blah()
674: [09:26:27] <willr> simon_w cam?
675: [09:26:30] <Pymmk> all stuff I've done professionally uses JS
676: [09:26:35] <simon_w> willr, and Aaron
677: [09:26:43] <Pymmk> about?
678: [09:26:47] <Pymmk> aboot?
679: [09:27:02] <simon_w> Pymmk, https://twitter.com/simon_w/status/484298586440491008
680: [09:27:02] <Pymmk> abaot
681: [09:27:16] <Pymmk> lol
682: [09:27:20] <willr> you went to fb simon_w, get someone to fix https://developers.facebook.com/bugs/491147611024519 for me. a 500 error is not particularly helpful
683: [09:27:27] <Pymmk> I don't get the history behind that, but ok.
684: [09:27:31] * Pymmk shrugs
685: [09:28:06] <Pymmk> to be fair this _can_ be a hostile place for questions.
686: [09:28:11] <simon_w> willr, I only know the infra team
687: [09:28:13] <Pymmk> if you've got no fucking clue and pretend you do.
688: [09:28:32] <willr> is a 500 error infrastructure related :P
689: [09:29:01] <Pymmk> 500? infra. 400? intra. 300? ss23.
690: [09:29:10] <Pymmk> xD
691: [09:29:30] <Pymmk> oh, and all the JS errors. he loves those.
692: [09:29:43] <simon_w> Don't forget broken docs
693: [09:30:00] <Pymmk> [10:27] <@willr> you went to fb simon_w, get someone to fix "Facebook Login You must log in to continue."
694: [09:30:03] <willr> I also like how their developers robots.txt blocks their bug tracker from being indexed
695: [09:30:50] <willr> doesn’t even register as an error in the app console #rage
696: [09:31:54] <Pymmk> simon_w: so yeah, is this that video about the new ss.org bizzo?
697: [09:32:13] <simon_w> Pymmk, yeah, towards to the end of it
698: [09:33:05] <Pymmk> Hmm, I think I'll watch it before I comment further
699: [09:33:25] <willr> All I can think of is those who don't study history are doomed to repeat it
700: [09:33:41] <Pymmk> but I'm not a huge fan of the super generic semi-obsolete bootstrapesque stock imagery laden redesign either.
701: [09:33:45] <Pymmk> It's better, but not best.
702: [09:34:00] <Pymmk> willr: hmm?
703: [09:34:05] <Pymmk> I studied history.
704: [09:34:07] <Pymmk> well..
705: [09:34:12] <Pymmk> in a manner of speaking.
706: [09:34:26] <Pymmk> I hated 'history'. Loved the shit out of classics.
707: [09:35:00] <willr> well they want to bring everything back under 1 site. I worked on spilting SS away as much as possible as for SilverStripe to succed it should be independantly managed
708: [09:35:07] <Pymmk> human past isn't interesting until you get a big family of gods and myths squabbling and fighting like 10yo children in a big family
709: [09:35:24] <simon_w> Pymmk, there was a nice discussion about it this morning
710: [09:35:30] <Pymmk> willr: in which way?
711: [09:35:43] <Pymmk> simon_w: hmm, is there a link to that too?
712: [09:35:49] <willr> logs :P
713: [09:35:52] <Pymmk> oic
714: [09:36:03] * Tauras has joined #silverstripe
715: [09:36:04] <Pymmk> so the unfriendly channel had a nice discussion?
716: [09:36:10] <simon_w> Pymmk, http://logs.simon.geek.nz/index.php?date=2014-07-03#log_1331824
717: [09:36:21] <Pymmk> ta
718: [09:36:28] <simon_w> Until around line 630
719: [09:36:52] <Pymmk> willr: wait, by merge into one you mean .com and .org!?
720: [09:36:57] <Pymmk> yeah that's a bit silly.
721: [09:37:12] <willr> Shouldn’t be too suprised with it though simon_w. SS will look after SS
722: [09:37:13] <oceanmountain> why would you merge the corporate business with the opensource part?
723: [09:37:20] <Pymmk> I thought you meant the likes of addons.ss.org, jobs, etc
724: [09:37:31] <simon_w> oceanmountain, makes sense for the business
725: [09:37:49] <oceanmountain> for the business perhaps, but I don't think it will be good for the opensource part
726: [09:38:00] <oceanmountain> I think
727: [09:38:01] <willr> join the club
728: [09:38:12] <willr> Cult.
729: [09:38:18] <simon_w> willr, you've probably seen my threads to the core dev list complaining about their stewardship about it. So I'm not really surprised at all
730: [09:38:18] <oceanmountain> I love culti
731: [09:38:44] <willr> yep, saw the threads. I didn’t feel like putting my cents in would help
732: [09:39:37] <simon_w> I need to get around to replying to them again
733: [09:39:39] <simon_w> Email is hard
734: [09:39:59] <Pymmk> simon_w: yes! http://logs.simon.geek.nz/index.php?date=2014-07-03#log_1331862
735: [09:40:00] <Pymmk> :P
736: [09:40:01] * UncleCheese has joined #silverstripe
737: [09:42:49] <Pymmk> also, I rebranded the cms splash at Plato.
738: [09:43:28] <Pymmk> well, they always did, but I stopped the core hack by using the static config, but then with 3.0 it became a CMSMain::require_css(...)
739: [09:43:36] <Pymmk> or whatever that call is
740: [09:43:51] <Pymmk> still, did the job excepting for the SS logo which remained in the top left
741: [09:44:32] <Pymmk> but our clients knew that the system wasn't ours, etc.
742: [09:44:36] <Pymmk> and that it was SS
743: [09:45:11] <Pymmk> but the 'confusion' lots of people have when you say 'we work with ss'... it's not confusing at all in about 99% of cases, as most people have not heard of SS.com
744: [09:45:33] <Pymmk> only free software devs get all shitty abou tthat kinda thing.
745: [09:45:51] <Pymmk> but then most projects are powered by companies these days.
746: [09:46:10] <Pymmk> even that heap of shit codeigniter was and it was somehow popular as fuck.
747: [09:46:16] <Pymmk> NFI why, it's so crap.
748: [09:50:27] <Pymmk> 596: [13:45:52] <UncleCheese> it's about making it easier for all users to find what they're looking for
749: [09:50:36] <willr> Though I think ditching the forum module for StackOverflow would be a good idea. Would mean you don’t need membership on ss.org at all. Addon’s are all github user right.
750: [09:50:39] <Pymmk> I agree with : 603: [13:46:39] <simon_w|work> In fact, it'll make more sense for them to be blatantly different to lower confusion
751: [09:51:14] <UncleCheese> willr ss.org will feature a variety of OAuth options
752: [09:51:36] <Pymmk> .com and .org achieve VASTLY different goals. A website should be designed around a goal, NOT being similar to another 'just coz'
753: [09:51:51] <willr> yeah, makes sense. Cut out all the accounts you need. Github for everything seems practial..
754: [09:51:57] <UncleCheese> exactly
755: [09:52:28] <Pymmk> willr: yeah, I was just gonna say... so I'd require 6 accounts rather than 1... but at the same time 1 more on top of the 40 I've already got...
756: [09:52:43] <Pymmk> I hate websites that make me sign up.
757: [09:52:52] <UncleCheese> the forum is a whole thing, but to just punt to stack overflow is a bit of a cop-out IMO
758: [09:52:53] <Pymmk> but at the same time if you don't it pretty much induces spam :<
759: [09:53:01] <Pymmk> (dont' have to sign in)
760: [09:53:10] <Pymmk> UncleCheese: not really.
761: [09:53:11] <UncleCheese> i think we need to encourage people to grow the community on SO, but we need to have our own space, too
762: [09:53:19] <willr> Cop out or not, it free’s time up for other more useful improvement work
763: [09:53:20] <Pymmk> most forum questions these days are ... silly.
764: [09:53:30] <UncleCheese> to you
765: [09:53:32] <simon_w> So are most SO questions
766: [09:53:51] <Pymmk> yeah, but at least they (usually) get asked in a more coherent manner
767: [09:53:58] <UncleCheese> and silly questions in SO have sanctions, for better or worse
768: [09:54:13] <Pymmk> 'sanctions'?
769: [09:54:48] <UncleCheese> yeah, dupes, or questions that aren't asked concisely enough, or in the righ tway
770: [09:54:51] <Pymmk> yeah, it helps peopel realise when they're asking a shit question though.
771: [09:54:58] <UncleCheese> sort of
772: [09:55:08] <UncleCheese> i think SO caters to a more advanced audience
773: [09:55:52] <Pymmk> well it's the same in any environment. Either they get closed because it's stupid and they learn how to ask better, or they get pandered to and coaxed and coaxed and coaxed for more information until they learn how to ask better (or just give up, 80% of the time).
774: [09:55:58] <UncleCheese> people like us don't use the forum to get help, but i think done the right way, a forum hosted on ss.org can be really approachable and inviting to noobs
775: [09:56:10] <Pymmk> can be, sure.
776: [09:56:29] <Pymmk> but when it's misused as but tracker, etc.
777: [09:56:30] <Pymmk> nope.
778: [09:57:25] <UncleCheese> if we're going to be putting all this effort into making ss.org a place where people can learn silverstripe, having a forum to push them into just seems like a prerequisite
779: [09:57:44] <UncleCheese> and bouncing them out to #silvertripe on stackoveflow is just a non-starter for me
780: [09:57:47] <UncleCheese> i dunno, i just can't get there
781: [09:58:11] <Pymmk> yeah, I'm not saying don't have forum, I'm just talking through different perspectives
782: [09:58:17] <UncleCheese> and again, don't get me wrong, it's great that it's there, and we need to be putting effort into growing that, too
783: [09:58:24] <Pymmk> the major issue with the forum is that no one really checks it.
784: [09:58:44] <UncleCheese> but the idea of essentially outsourcing the forum is a bit extreme, i think
785: [09:58:51] <UncleCheese> Yeah, exactly. that needs to change
786: [09:58:58] <willr> Sweet well if everyone is behind the forum then lets look at ways to make it useful. Like marking posts as ‘solved'
787: [09:59:13] <UncleCheese> that's by FAR the #1 thing on my list :)
788: [09:59:20] <UncleCheese> there's no state
789: [09:59:28] <Pymmk> yeh.
790: [09:59:29] <UncleCheese> it needs to be more of a Q&A
791: [09:59:38] <UncleCheese> i have so many ideas on how to make it better
792: [09:59:39] <Pymmk> o.0 it IS.
793: [09:59:53] <willr> Make sure you put any features on github issues. Need to make sure no duplicate dev efforts
794: [09:59:54] <Pymmk> only the A almost never comes.
795: [10:00:09] <UncleCheese> ha
796: [10:00:23] <UncleCheese> part of it i reckon is that it's just a miserable user experience
797: [10:00:25] <Pymmk> integration from forum to other services sounds like pro mode way forward.
798: [10:00:42] <Pymmk> mark status on thread, link thread to SO/GitHub issues, etc.
799: [10:00:56] <Pymmk> give thread a type tag
800: [10:01:01] <Pymmk> bug, request, etc.
801: [10:01:18] <UncleCheese> laravel has a beautifully executed forum
802: [10:01:33] <Pymmk> just rename SS to laravel then.
803: [10:01:44] <Pymmk> Problem solved.
804: [10:01:59] <Pymmk> :P
805: [10:02:06] <UncleCheese> um, if we just adopted the brand of everything we idolised, SS would have been named "Rails" back in 2005
806: [10:02:16] <willr> Is it? what makes it fundatmentally better as a forum?
807: [10:02:29] * simon_w quit (Ping timeout: 272 seconds)
808: [10:03:11] <willr> Ah I like how you create a post it asked for the laravel version. So you know
809: [10:03:20] <UncleCheese> exactly
810: [10:03:24] <UncleCheese> just have a play with it
811: [10:03:32] <willr> All of that is pretty simple additions
812: [10:03:32] <UncleCheese> i love that straight away, you get questions that need answering
813: [10:03:39] <UncleCheese> you don't need to drill through categories
814: [10:03:47] <UncleCheese> but the filters are there if you want to
815: [10:03:56] <UncleCheese> you can filter by solved or unsolved
816: [10:04:11] <willr> Extension on ForumThread, add open/solved extend the edit form and update the template. Done right :P
817: [10:04:11] <UncleCheese> the code formats beautifully
818: [10:04:29] <UncleCheese> that's a start
819: [10:04:44] <UncleCheese> honestly, man, it just needs to be nuked and reengineered
820: [10:04:46] <willr> But that’s just cosmetic, related is that core devs actually answer on there
821: [10:05:26] <UncleCheese> i really think that improving the user experience will help that
822: [10:05:36] <UncleCheese> the forum is just not a fun place to spend time right now
823: [10:06:17] <UncleCheese> i don't think many people realise it consciously, but you have to remember that expectations are so much higher today than they were in 2008
824: [10:06:28] <UncleCheese> we expect things to work and feel like Stack Overflow et al
825: [10:07:00] <willr> well it’s in everyones interest for it to be awesome so just needs someone to own it.
826: [10:07:02] <UncleCheese> so that's part of the problem.. but the other part of the problem is just getting more people's eyes on it
827: [10:07:16] <UncleCheese> that's why they hired me
828: [10:07:31] <willr> Ha 2 years ago https://github.com/silverstripe/silverstripe-forum/issues/18
829: [10:07:51] <willr> time flies.
830: [10:07:59] <UncleCheese> seriously?!
831: [10:08:09] <UncleCheese> dude
832: [10:08:19] <UncleCheese> that's pretty sad
833: [10:08:43] <willr> link to the one I copied the new design off is still live. Still nice IMHO http://www.iwc.com/forum/en/
834: [10:09:10] <UncleCheese> well, the open-source wing of SS has been starving for a while, and i'm really glad they're finally investing in it
835: [10:09:30] <UncleCheese> guys like me and Cam and the new director of marketing are really going to take this thing somewhere
836: [10:09:38] <willr> Can possiblity find my work for that issue but depends on SS.org design I guess
837: [10:09:52] <UncleCheese> we're all motivated, and we basically have a blank cheque
838: [10:10:24] <willr> About time
839: [10:10:46] <UncleCheese> i can't really blame them.. it's a tough thing to invest in
840: [10:10:50] <UncleCheese> sort of an intangible asset
841: [10:10:52] <willr> Couldn’t think of someone better suited to doing it though
842: [10:11:12] <UncleCheese> yeah, ti's going to be really fun
843: [10:11:24] <UncleCheese> and Cam is just Mr. Metrics
844: [10:11:34] <UncleCheese> that guy has data sliced from every angle immaginable
845: [10:12:12] <UncleCheese> so what's the deal.. does TinyMCE just let you paste from word now?
846: [10:12:33] <Pymmk> [11:04] <@willr> Extension on ForumThread, add open/solved extend the edit form and update the template. Done right :P
847: [10:12:57] <Pymmk> extension? All I heard was "Fix forum module, fix it right, clean up the code, fix it some more, THEN add some extensions"
848: [10:13:14] <caamic30> Hmmm Menu doesn’t support 3 levels of submenu?
849: [10:13:39] * simon_w has joined #silverstripe
850: [10:13:49] <willr> caamic30 supports as many as you add <% loop %>
851: [10:15:29] <Pymmk> caamic30: yes it supports as many as you want.
852: [10:25:23] <caamic30> thanks willr & Pymmk, it works
853: [10:32:16] <Pymmk> regards to ss.corgm http://logs.simon.geek.nz/index.php?date=2014-07-03#log_1331935 what you say? this: http://logs.simon.geek.nz/index.php?date=2014-07-03#log_1331968 and this http://logs.simon.geek.nz/index.php?date=2014-07-03#log_1331836 and this http://logs.simon.geek.nz/index.php?date=2014-07-03#log_1331913
854: [10:32:22] <Colin[pi]> simon_w: AirNZ
855: [10:33:12] <simon_w> Colin[pi], not on my flight then
856: [10:33:30] <Colin[pi]> late flight on the 30th I think it is
857: [10:37:20] <simon_w> Well, I'm on Qantas
858: [10:37:24] <simon_w> 1st and the Wednesday
859: [10:38:41] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
860: [10:39:06] <Pymmk> wholey fuck, lost my shit.http://i.imgur.com/X17puIB.gif
861: [10:39:13] <Pymmk> you going to wdcnz Colin[pi] ?
862: [10:40:17] * zfmf has joined #silverstripe
863: [10:40:29] <Colin[pi]> Pymmk: sure am!
864: [10:40:40] <Pymmk> Colin[pi]: it's so win :D
865: [10:40:44] <Colin[pi]> sweet!
866: [10:40:48] <Pymmk> I had the time of my life last year
867: [10:41:07] <Colin[pi]> so it's not just for hipsters as ss23 claims?
868: [10:41:16] <Pymmk> Colin[pi]: nah, def. not.
869: [10:41:20] <Colin[pi]> lol
870: [10:41:33] <Pymmk> I mean... I'm sure some will be there, but so will plenty of other cool guys.
871: [10:41:34] <Colin[pi]> looks really cool, I'm excited :)
872: [10:41:42] <Pymmk> who might just convince you to update to 3.0
873: [10:41:44] <Pymmk> at least.
874: [10:41:46] <Colin[pi]> lol
875: [10:42:23] <Pymmk> what's it on this year? last year focussed on accessability
876: [10:42:36] <Colin[pi]> http://wdcnz.com/
877: [10:42:58] <Pymmk> Jen Myers How to not be an expert
878: [10:42:59] <Pymmk> sounds good
879: [10:44:32] <wmk> Pymmk, just be yourself ;)
880: [10:45:23] <Pymmk> haha, boom!
881: [10:45:28] <Pymmk> nice one wmk
882: [10:45:30] <Pymmk> :D
883: [10:45:36] <wmk> *G*
884: [10:46:00] <wmk> i'm experienced with that ;)
885: [10:46:05] <Pymmk> :P
886: [10:46:13] <wmk> not being an expert...
887: [10:46:25] <Colin[pi]> I am an expert at not being an expert
888: [10:46:35] <wmk> boh...
889: [10:46:50] <wmk> not vice versa? no expert in being an expert?
890: [10:47:22] <Colin[pi]> what? no. what? are you crazy?
891: [10:47:24] <Colin[pi]> ;D
892: [10:48:21] * willr quit (Quit: willr)
893: [10:51:34] * pazuur has joined #silverstripe
894: [10:53:55] <pazuur> Please can someone help me with dataobject as page module, i can't get the linkingmode working? My listitem style class remains empty.
895: [10:54:07] <firefox2kx> omg git clean says Removed {folder}, but the folder still remains on disk...
896: [10:54:37] <Pymmk> firefox2kx: you need to give it the option to actually remove
897: [10:54:39] <Pymmk> man git clean
898: [10:54:53] <Pymmk> ss23: lol http://logs.simon.geek.nz/index.php?date=2014-07-03#log_1332037
899: [10:54:59] <Pymmk> I worked on snapper!
900: [10:55:03] <Pymmk> that was fun :>
901: [10:55:07] <Pymmk> :£ *
902: [10:55:11] <Pymmk> err, fuck.
903: [10:55:17] <Pymmk> :3
904: [10:55:34] <firefox2kx> Pymmk: isn't that enough: git clean -d -X -f
905: [10:55:45] <Pymmk> I dunno sorry
906: [10:58:57] * Kingy[a] quit (Ping timeout: 245 seconds)
907: [11:00:17] * Kingy[a] has joined #silverstripe
908: [11:05:21] * caamic30 quit (Quit: caamic30)
909: [11:12:24] <Pymmk> https://twitter.com/_UncleCheese_/status/453634205268721665
910: [11:12:40] <Pymmk> I think he forgets they came over from England.
911: [11:14:52] * pazuur quit (Ping timeout: 246 seconds)
912: [11:16:57] <Pymmk> spronk: I agree. https://twitter.com/spronkey/status/483371691507056640 I watched that hardout over steam in which I basically didn't even check the sales.
913: [11:34:40] <oceanmountain> firefox2kx shouldn't you do something like git -rm /dir/ ?
914: [11:38:58] * caamic30 has joined #silverstripe
915: [11:54:49] * UndefinedOffset has joined #silverstripe
916: [11:58:25] <Pymmk> /dir?
917: [11:58:50] <Pymmk> oceanmountain: shouldn't you do something like rm -rf / dir/ ?
918: [11:58:59] <guzzlefry> err
919: [11:59:06] * anselmdk has joined #silverstripe
920: [11:59:09] <Pymmk> :P
921: [11:59:16] <guzzlefry> probably best not to even joke about that :)
922: [11:59:21] * R\w\C quit (Remote host closed the connection)
923: [11:59:29] * simon_w quit (Quit: This computer has gone to sleep)
924: [11:59:33] <Pymmk> but yes, firefox2kx the directory must be empty, ie have everything cleaned nothing indexed in it.
925: [12:07:58] <oceanmountain> yes /dir, to remove the directory /dir and remove it from git
926: [12:20:20] * zfmf quit (Remote host closed the connection)
927: [12:20:46] * zfmf has joined #silverstripe
928: [12:23:19] * Marvanni2 has joined #silverstripe
929: [12:24:28] * violet-rpi quit (Ping timeout: 260 seconds)
930: [12:25:12] * zfmf quit (Ping timeout: 255 seconds)
931: [12:25:24] * marvanni quit (Ping timeout: 260 seconds)
932: [12:25:54] * violet-rpi has joined #silverstripe
933: [12:30:19] <Marvanni2> Any experience with CLI mysql LOAD DATE INFILE syntax?
934: [12:30:27] <Marvanni2> DATE = DATA
935: [12:40:16] * nicob quit (Ping timeout: 246 seconds)
936: [12:40:37] * pippy quit (Ping timeout: 246 seconds)
937: [12:45:28] <firefox2kx> Pymmk: have now set-upped my git very cleanly and yes git -rm /??/ was the key
938: [12:46:10] <firefox2kx> but now uhm ... it did not solve the main-problematics:
939: [12:46:15] <Pymmk> Marvanni2: nup, sorry. try #sql
940: [12:48:22] <firefox2kx> I've emptied the whole documentroot for the website, reconnected the git-repo to it, composer updated to get everything fresh, copied my environment-file, built cache and ... magically I even now cannot save a thing in cms
941: [12:48:54] * guci0 has joined #silverstripe
942: [12:48:58] <guci0> Hello World!
943: [12:49:16] <firefox2kx> repeat with drop and create database before? but i've re-set-up the database several times
944: [12:49:29] <guci0> Fast question how to eval this inside template ? $CroppedImage(275,300) //${$Method} from DB
945: [12:49:36] <firefox2kx> note: before the whole cleanup-process
946: [12:51:10] <firefox2kx> guci0: what means from DB? you must already tell the controller that it has the image before you can use it in template
947: [12:51:14] * zfmf has joined #silverstripe
948: [12:52:55] <firefox2kx> guci0: in Controller: public static $has_one = array(
949: [12:52:55] <firefox2kx> 'ProfilePicture' => 'Image'
950: [12:53:17] <firefox2kx> for example and close brackets ^^ and then you can access it in template
951: [12:54:00] * zfmf quit (Remote host closed the connection)
952: [12:54:08] * zfmf has joined #silverstripe
953: [12:55:14] <firefox2kx> so like this <img src="$ProfilePicture.CroppedImage(570,400).URL">, where ProfilePicture is your imageobject and URL your property
954: [12:56:30] * ocm has joined #silverstripe
955: [12:59:11] * oceanmountain quit (Ping timeout: 272 seconds)
956: [12:59:19] <Pymmk> guci0: you'd have to decorate image
957: [12:59:19] <guci0> firefox2kx: thx but I need set variables CroppedImage(570,400) from DB... Try image, Client set of method display images – then inside template sets this method. ${$Method} $Method == CroppedImage(275,300) as previously set
958: [12:59:29] <Pymmk> to add a 'doThing' method that takes a parameter
959: [13:00:03] <Pymmk> and returns the image with that parameter (a method name) applied
960: [13:02:30] <guci0> Sounds good
961: [13:03:28] * Fisix_AIX has joined #silverstripe
962: [13:05:15] <Fisix_AIX> Hello, I'm trying to send an email from onAfterWrite, which works unless I use $email->setTemplate('XXX'); I get the 'None of these templates can be found in theme 'YYY': XXX.ss . Any ideas? I've tried putting the template into templates/ and templates/email, as well as mysite/templates.
963: [13:08:06] <Pymmk> Fisix_AIX: flush
964: [13:08:31] <Fisix_AIX> Done that
965: [13:13:35] <Pymmk> name it propertly
966: [13:14:21] <Fisix_AIX> Pymmk, name what?
967: [13:16:34] <Pymmk> the template
968: [13:16:50] <Pymmk> or your parameter passed to setTemplate
969: [13:17:01] <Pymmk> Fisix_AIX: did you flush=all or flush=1?
970: [13:17:07] <Pymmk> might need all.
971: [13:17:09] <Fisix_AIX> Pymmk, Both
972: [13:18:45] <Pymmk> you haven't to an underscore in the name have you?
973: [13:19:02] <Fisix_AIX> no
974: [13:19:29] <Fisix_AIX> It works called from a page controller
975: [13:19:51] <Fisix_AIX> but not from the cms
976: [13:20:06] <Pymmk> CMS doesn't have a theme.
977: [13:20:22] <Pymmk> put it in your project folder/templates
978: [13:22:45] <firefox2kx> wow! I did it! productive site now runs fine // -> i cleared again everything, dropped db, created empty db, set phpini temp dir to /tmp (as one would suppose), connected to repo, pulled, copied _ss_env, composer updated to get the modules and everything, ran install, called gitpull-script which sets pulls, sets rights (644 files, 755 folders), sudo -u www-data php framework/cli-script.php dev/build "flush=all"
979: [13:22:53] <firefox2kx> and now it works
980: [13:23:17] * spronk2 quit (Quit: spronk2)
981: [13:23:57] <firefox2kx> -sets (after which)
982: [13:26:56] <guci0> Pymmk: I'm close but Object->__call(): the method 'croppedimage' does not exist on 'GDBackend'
983: [13:27:06] <guci0> gd->{$method}
984: [13:27:31] <Pymmk> guci0: because call it on image, not gd.
985: [13:27:36] <Pymmk> $this, not $gd
986: [13:27:50] <Pymmk> err, this->owner
987: [13:36:39] <guci0> Object->__call(): the method 'writeto' does not exist on 'Image_Cached'
988: [13:40:42] * Shrike_Finland has joined #silverstripe
989: [13:41:05] <Pymmk> Image Cached is an Image.
990: [13:41:14] <firefox2kx> aah .. fresh wind against the heat...
991: [13:41:19] * firefox2kx is cooling down
992: [13:41:43] <Pymmk> stop confusing backend and Image guci0
993: [13:41:52] <Pymmk> You're dealing with Image.
994: [13:41:55] <Pymmk> ignore backend.
995: [13:42:44] <Pymmk> http://api.silverstripe.org/3.1/class-Image.html
996: [13:43:24] <Pymmk> use the accessor methods rather than calling generate* directly, as this will result in the above error.
997: [13:46:24] <Pymmk> guci0: it should be pretty straight forward really. ImageExtension extends DataExtension { public function Transform($method) { return $this->owner->hasMethod($method) ? $this->owner->$method : false; } }
998: [13:46:32] <Pymmk> that should about do it.
999: [13:47:56] <Pymmk> of course, you'll need to fix the syntax issue, and maybe figure out some way to fit parameters into the equation
1000: [13:48:53] <Pymmk> guci0: actually, you probably don't need the extension at all.
1001: [13:48:59] <guci0> I didnt extends, I write new metchotd inside Image... Works fine, for example paddedResize but croppedImage returns error...
1002: [13:49:09] <guci0> *method
1003: [13:49:18] <Pymmk> $Image.FormattedImage($Method, $Width, $Height)
1004: [13:49:21] <Pymmk> or something like that
1005: [13:49:26] <Pymmk> give it a go, see if it works.
1006: [13:50:23] <guci0> sec. I broke this
1007: [13:52:55] * muskie9 has joined #silverstripe
1008: [14:00:36] * Colin[pi] quit (Ping timeout: 255 seconds)
1009: [14:09:45] * NETim has joined #silverstripe
1010: [14:11:10] <NETim> ocm, i have a subsite question for you
1011: [14:12:23] <NETim> is there any way to disable the augmentSQL function that adds the subsite ID limit?
1012: [14:15:49] <Pymmk> yes, I think so.
1013: [14:16:01] <Pymmk> check the api, I'm pretty sure there's a method you can call to enable/diable it
1014: [14:16:05] <Pymmk> +s
1015: [14:16:13] <NETim> It's ok. Just dug through the source, Subsite::$disable_subsite_filter = true
1016: [14:16:26] <NETim> Couldn't find the API for subsites though.
1017: [14:16:39] <Pymmk> reading the source IS reading the api.
1018: [14:17:01] <Pymmk> I think there's a method for setting that... or there should be at least. But if it's public and that works, then I guess that works.
1019: [14:17:08] <NETim> Ah, thought you meant API like the API docs for SS core
1020: [14:17:21] <NETim> and yep, seems to work.
1021: [14:17:22] <Pymmk> nah, there's only github for addons
1022: [14:17:36] <Pymmk> well, excepting cms module.
1023: [14:17:37] <NETim> subsite module + event_calender = headache
1024: [14:17:47] <Pymmk> oh fuck fuck fuck fuck fruck
1025: [14:17:58] <Pymmk> never ever ever ever ever ever ever ever ever EVER event_calendar.
1026: [14:18:06] <Pymmk> if you value your life.
1027: [14:18:12] <Pymmk> lest it destroy it.
1028: [14:18:13] <NETim> I'm assuming there is a better option?
1029: [14:18:17] <Pymmk> Nope :<
1030: [14:18:18] <Pymmk> well
1031: [14:18:22] <Pymmk> depends on what you're up to.
1032: [14:18:26] <NETim> oh, well, goodbye life i guess
1033: [14:18:38] <Pymmk> it's pretty easy to knock up a very simple event list
1034: [14:18:44] <NETim> We have a customer who has multiple venues that hold events, some of which recur weekly
1035: [14:18:56] <Pymmk> ah, recurring events is... is the tricky bit.
1036: [14:19:03] <NETim> not sure why the calendar was used specifically but i have inherited this project
1037: [14:19:27] <Pymmk> but still, I stand by that building your own custom to that particular client's requirements is far far FAR better tahn using that heap of shit.
1038: [14:19:51] <Pymmk> if it's always weekly, then you could just record the day.
1039: [14:19:59] <Pymmk> and the repeat type
1040: [14:20:01] <NETim> good to know, now to find a time machine to tell the other guy that 8 months ago :)
1041: [14:20:07] <Pymmk> hahaah
1042: [14:20:08] <Pymmk> I see.
1043: [14:20:12] <Pymmk> well, best of luck!
1044: [14:20:15] <NETim> thanks.
1045: [14:20:26] <Pymmk> I've wasted countless hours on that piece of junk.
1046: [14:20:37] * scpi has joined #silverstripe
1047: [14:20:39] <NETim> I think I'm doing the same.
1048: [14:20:45] <Pymmk> the worst bit is that newbies seem to think it's the best thing ever, and keep hacking and hacking.
1049: [14:20:50] <Pymmk> making it worse and worse
1050: [14:20:55] <Pymmk> by 'fixing' it.
1051: [14:21:07] <Pymmk> eg. I was deeply deeply saddened when soemone updated it to SS 3.0
1052: [14:21:11] <NETim> when it adds a recurring event, it seems to ignore the subsite ID, then when it gets the list.......
1053: [14:21:24] <NETim> I suppose we should be kind and just let it die
1054: [14:21:25] <Pymmk> haha, sounds about right.
1055: [14:21:36] <Pymmk> it would be nice, but if you've got a legacy app, it's kinda hard.
1056: [14:22:10] <NETim> yeah.
1057: [14:22:55] <NETim> Well, I'm going to go waste some more time (and by that I do mean continue this thankless task) Thanks for the help.
1058: [14:23:16] <Pymmk> :> good luck!
1059: [14:23:25] <Pymmk> try not to shoot yourself by the end of the day.
1060: [14:23:27] <Pymmk> :P
1061: [14:23:39] <Pymmk> oh, but do check that the SQL injection has been patched at least.
1062: [14:23:47] <Pymmk> to do with filtering
1063: [14:23:57] <Pymmk> I'm pretty sure it has since 3.0 update
1064: [14:24:22] <Pymmk> but it used to pretty much pass DB::query($_GET['filter'])
1065: [14:24:33] <Pymmk> (not quite, but close enough)
1066: [14:24:55] <caamic30> Hello SS! how to get the descending count when you loop a datalist on the template?
1067: [14:25:14] <Pymmk> You don't.
1068: [14:25:28] * R\w\C has joined #silverstripe
1069: [14:25:28] * R\w\C quit (Changing host)
1070: [14:25:28] * R\w\C has joined #silverstripe
1071: [14:25:48] <Pymmk> There is only $Pos
1072: [14:26:41] <caamic30> aha! how I remember. thanks Pymmk
1073: [14:27:01] <Pymmk> $Pos is ascending though
1074: [14:27:10] <caamic30> yeah ascending I meant :p
1075: [14:27:21] <Pymmk> :>
1076: [14:27:30] <caamic30> hehe cheers!
1077: [14:28:13] <Pymmk> np
1078: [14:40:05] <Marvanni2> Does dev/build also reindex database table indexes?
1079: [14:45:30] * Shrike_Finland quit (Quit: Leaving.)
1080: [14:55:18] * cloph is now known as cloph_away
1081: [14:57:18] <Pymmk> Marvanni2: dunno.
1082: [14:57:27] <Pymmk> probably not. unsure.
1083: [15:01:20] * caamic30 quit (Quit: caamic30)
1084: [15:04:20] * r_hector quit (Quit: Leaving.)
1085: [15:15:39] * ARNHOE quit ()
1086: [15:20:12] * Fisix_AIX quit (Quit: Leaving)
1087: [15:20:20] * anselmdk quit (Quit: anselmdk)
1088: [15:47:52] * Pymmk quit (Ping timeout: 246 seconds)
1089: [15:49:35] * jenniferaslan has joined #silverstripe
1090: [15:53:37] <Zauberfisch> fuuu
1091: [15:53:56] <Zauberfisch> simon_w being offline again when he is needed -.-
1092: [15:55:07] <Zauberfisch> anyone using apache2.4.x? I am getting
1093: [15:55:08] <Zauberfisch> [access_compat:error] [pid 2101] [client 10.0.2.2:55467] AH01797: client denied by server configuration: /vagrant/www/foobar/index.php
1094: [15:55:13] <Zauberfisch> but am unsure why
1095: [15:55:58] <Zauberfisch> but silverstripe works in other copys of that VM
1096: [15:56:26] <Zauberfisch> and /vagrant/www/foobar.php works as well
1097: [15:56:37] <Zauberfisch> but /vagrant/www/foobar/index.php does not
1098: [15:57:41] <Zauberfisch> hold on
1099: [15:57:45] <Zauberfisch> something is not right here
1100: [15:58:16] <Zauberfisch> pah. I am a morron
1101: [15:58:24] <Zauberfisch> forget I ever asked
1102: [15:58:33] * anselmdk has joined #silverstripe
1103: [15:58:52] <Zauberfisch> missed something in htaccess
1104: [16:16:33] * houleness has joined #silverstripe
1105: [16:18:28] <houleness> In converting a site to SS 3+ I’m trying to grab only published pages within a get like this… return PageTypeHere::get()->filter(array('ParentID' => $this->ID,'`SiteTree`.Status' => 'Published'))->sort(‘Date ASC'); But the status part is erroring out… How do I make sure I only get published pages in SS3?
1106: [16:25:46] * muskie9_ has joined #silverstripe
1107: [16:26:10] * muskie9 quit (Ping timeout: 264 seconds)
1108: [16:26:43] * kinglozzer quit ()
1109: [16:27:47] * stnvh quit ()
1110: [16:32:08] <Zauberfisch> there is a Status field?
1111: [16:33:27] <Zauberfisch> houleness: I can't recall a 'Status' field in ss v3
1112: [16:33:49] <Zauberfisch> I think there was something like that in 2.4 as a hack workaround, but either way, it does not exist in 3.x
1113: [16:34:09] <houleness> nah, that was just trying to convert from ss2.4 to 3, but I can’t find any help about how to do that in the new SS
1114: [16:34:31] <Zauberfisch> houleness: well, silverstripe saves into 2 tables
1115: [16:34:39] <Zauberfisch> there is SiteTree and SiteTree_Live
1116: [16:34:50] <Zauberfisch> so when you press Save it saves into SiteTree
1117: [16:34:57] <Zauberfisch> and when you press Save & Publish it saves into both
1118: [16:35:22] <Zauberfisch> silverstripe automatically switches tables for you
1119: [16:36:01] <houleness> Right, I want to grab from the pagetype table so i can sort based on a date stored in that table. Do I need to use a join or filter w/ an arraylist?
1120: [16:36:12] <Zauberfisch> in code, you can also manually switch the mode
1121: [16:37:28] <houleness> I think i may try to grab the page, then filter the results… Seems like Page::get() only grabs published (http://www.silverstripe.org/data-model-questions/show/21170)
1122: [16:37:51] <Zauberfisch> http://api.silverstripe.org/3.1/source-class-Versioned.html#997-1004
1123: [16:38:07] <houleness> I was hoping there was an easier way to pull only published… Seems like such a common thing.
1124: [16:38:23] <Zauberfisch> hmm?
1125: [16:38:25] <Zauberfisch> it is easy
1126: [16:38:40] <Zauberfisch> Page::get() does get draft pages if you set the mode right
1127: [16:38:47] <Zauberfisch> http://api.silverstripe.org/3.1/source-class-Versioned.html#997-1004 <---
1128: [16:38:55] <Zauberfisch> Versioned::set_reading_mode('Stage'); $pages = Page::get();
1129: [16:38:59] <Zauberfisch> something like that
1130: [16:39:54] <houleness> That’s cool! Though I’m not sure it’s what I want. So that example would grab all the draft pages right?
1131: [16:40:34] <Zauberfisch> yes
1132: [16:40:41] <Zauberfisch> and if you set it to Live
1133: [16:40:45] <houleness> Basically this is my simple get function to grab the latest posts…
1134: [16:40:47] <Zauberfisch> it will fetch all published pages
1135: [16:40:48] <houleness> return StudentBlogEntry::get()->filter('ParentID' => $this->ID)->sort('BlogDate ASC');
1136: [16:41:06] <houleness> But i only want to grab published studentblogentry pages
1137: [16:41:21] <Zauberfisch> well, the default mode is Live anyway
1138: [16:41:33] <houleness> So that will only grab live anyway?
1139: [16:41:35] <Zauberfisch> sowhen you do StudentBlogEntry::get()->filter('ParentID' => $this->ID)->sort('BlogDate ASC'); it will only fetch live pages
1140: [16:41:42] <Zauberfisch> yeah
1141: [16:41:46] * NETim quit (Ping timeout: 246 seconds)
1142: [16:42:06] <houleness> Oh! Thanks so much for the knowledge on that… I had no idea that’s how that worked
1143: [16:42:22] <Zauberfisch> usually, in silverstripe you never have to worry about published or not, silverstripe takes care of that
1144: [16:42:27] <Zauberfisch> it also did in 2.x
1145: [16:42:33] <houleness> Then I could us the versioned stuff to change what to grab. Thanks man!
1146: [16:43:01] <Zauberfisch> so you only need to specify it if you purposely want to grab from Archive or from Draft
1147: [16:43:20] <houleness> no the live pages are fine. I think I’m good
1148: [16:43:35] <Zauberfisch> also, when changing the mode, be careful, and set it back to the previous value once you are done, otherwise you will break other functionality
1149: [16:44:18] <houleness> makes sense, thanks
1150: [16:44:27] <Zauberfisch> houleness: or to be more precise, the default for the normal user is Live, if you are logged in, and you view the website from the CMS the mode might be Stage
1151: [16:44:35] <Zauberfisch> and then it will fetch things from Draft
1152: [16:44:58] <Zauberfisch> you can also manually specify that in the URL if you want ?stage=Live or ?stage=Stage
1153: [16:45:15] <Zauberfisch> but stage=Stage only works if you are logged in as admin
1154: [16:45:29] <houleness> Cool. I knew the views were like that… Just didn’t know the ORM stuff worked the same way
1155: [16:46:32] <Zauberfisch> the views work like that because the ORM works like that ;)
1156: [16:46:41] <Zauberfisch> the views don't care about where the data comes from
1157: [16:46:47] <Zauberfisch> they just use what ever the ORM hands them
1158: [16:56:15] <houleness> @Zauberfisch - Thanks for the knowledge! Getting it… slowly, but surely
1159: [16:57:16] * R\w\C quit (Remote host closed the connection)
1160: [16:57:47] * houleness quit (Quit: houleness)
1161: [16:58:21] * muskie9_ quit (Ping timeout: 255 seconds)
1162: [17:04:00] * gelignite has joined #silverstripe
1163: [17:21:00] * anselmdk quit (Quit: anselmdk)
1164: [17:42:28] * catcher has joined #silverstripe
1165: [17:50:03] * scpi quit (Quit: naptime)
1166: [17:55:50] * muskie9 has joined #silverstripe
1167: [18:00:27] * muskie9 quit (Ping timeout: 255 seconds)
1168: [18:01:21] * muskie9 has joined #silverstripe
1169: [18:15:46] * shellbackpacific has joined #silverstripe
1170: [18:17:47] <shellbackpacific> need to call $ChildrenOf(section) in a template rendered from a controller using 'renderWith'. Any hints? :)
1171: [18:18:29] <shellbackpacific> 'ChildrenOf' currently returns nothing when attempting to do so
1172: [18:19:04] * Tauras quit (Ping timeout: 246 seconds)
1173: [18:19:45] <Zauberfisch> shellbackpacific: templates work with context
1174: [18:19:54] <Zauberfisch> so if you render a DataObject, the context is the dataobject
1175: [18:20:07] <Zauberfisch> in normal pages, the context is the controller
1176: [18:20:29] <Zauberfisch> ChildrenOf is either in ContentController or in SiteTree
1177: [18:20:46] <shellbackpacific> ah ok…can i add a context to the call?
1178: [18:21:23] <Zauberfisch> the context is the dataobject
1179: [18:21:30] <shellbackpacific> or should/could i just change: "class Search extends Controller" to "class Search extends ContentController"
1180: [18:21:30] <shellbackpacific> ?
1181: [18:21:33] <Zauberfisch> but yes, you can add things to the dataobject
1182: [18:21:46] <Zauberfisch> no
1183: [18:22:26] <shellbackpacific> seems to work though :0)
1184: [18:24:03] <Zauberfisch> I would have recommned adding that function to your class:
1185: [18:24:38] <shellbackpacific> ok thanks
1186: [18:27:55] <Zauberfisch> function SectionOf($name) { return singleton('ContentController')->SectionOf($name) }
1187: [18:28:07] * zfmf quit ()
1188: [18:28:20] * Shrike_Finland has joined #silverstripe
1189: [18:28:40] <Zauberfisch> there is a ; missing
1190: [19:03:29] * SightUnseen has joined #silverstripe
1191: [19:03:46] * SightUnseen has left #silverstripe
1192: [19:17:56] * anselmdk has joined #silverstripe
1193: [19:27:19] * scpi has joined #silverstripe
1194: [19:36:53] * Tauras has joined #silverstripe
1195: [19:37:36] <Tauras> hello
1196: [19:38:20] <Tauras> How do you stop transaction when database error happens?
1197: [19:41:22] <wmk> hmm...
1198: [19:41:32] <wmk> Tauras, are you using the ORM?
1199: [19:41:44] <wmk> or do you query the database manually?
1200: [19:42:32] <Tauras> with ORM
1201: [19:47:59] <guzzlefry> Does SilverStripe support transactions?
1202: [19:54:30] <Tauras> yes :)
1203: [19:55:30] <Tauras> if(DB::getConn()->supportsTransactions()) { DB::getConn()->transactionStart(); }
1204: [19:56:06] <Tauras> the default mysql engine is innodb that supports transactions
1205: [19:56:34] * muskie9 quit (Ping timeout: 240 seconds)
1206: [20:04:27] * UndefinedOffset quit (Quit: Leaving.)
1207: [20:05:15] * SightUnseen1 has joined #silverstripe
1208: [20:06:09] * Shrike_Finland quit (Quit: Leaving.)
1209: [20:07:45] * Shrike_Finland1 has joined #silverstripe
1210: [20:08:14] * Shrike_Finland1 quit (Read error: Connection reset by peer)
1211: [20:11:01] * antmas quit (Quit: Page closed)
1212: [20:11:34] * antmas has joined #silverstripe
1213: [20:13:03] * Colin[pi] has joined #silverstripe
1214: [20:15:24] * oddnoc has joined #silverstripe
1215: [20:18:31] * muskie9 has joined #silverstripe
1216: [20:21:06] * willr has joined #silverstripe
1217: [20:21:06] * willr quit (Changing host)
1218: [20:21:06] * willr has joined #silverstripe
1219: [20:21:38] * SightUnseen1 has left #silverstripe
1220: [20:22:39] * spronk quit (Ping timeout: 255 seconds)
1221: [20:23:59] * shellbackpacific quit (Ping timeout: 252 seconds)
1222: [20:37:26] <antmas> morning all
1223: [20:38:26] * nickmolhoek has joined #silverstripe
1224: [20:38:51] <Stomach> how do
1225: [20:38:57] <antmas> sick :(
1226: [20:39:09] <antmas> everyone's gross flu/head cold has caught up to me
1227: [20:40:17] * anselmdk quit (Quit: anselmdk)
1228: [20:45:45] * antmas_ has joined #silverstripe
1229: [20:46:04] * Ryan-Toast has joined #silverstripe
1230: [20:47:28] * antmas quit (Ping timeout: 246 seconds)
1231: [20:48:24] * antmas_ is now known as antmas
1232: [20:49:27] * Azure quit (Quit: My MBP went to sleep.)
1233: [20:50:23] * muskie9 quit (Ping timeout: 272 seconds)
1234: [20:52:59] * Tauras quit (Quit: Page closed)
1235: [20:53:32] * Azure has joined #silverstripe
1236: [20:55:39] <Stomach> antmas, thats dumb :(
1237: [20:58:07] <antmas> Stomach: was bound to happen though
1238: [20:58:10] <antmas> everyone's getting it
1239: [21:04:43] * muskie9 has joined #silverstripe
1240: [21:06:47] <Ryan-Toast> I have a client that’s so lazy. He emails me about dleting pages from the CMS, I mean really?!
1241: [21:07:31] <Blacklite> that's better than the client being over-confident
1242: [21:07:55] <Ryan-Toast> I don’t mean he asks how to do it, he emails me and tells me to delete a page.
1243: [21:08:06] <Ryan-Toast> What’s the point in even having a cms.
1244: [21:08:34] <Blacklite> yeah, to be honest that question has been bugging me for a few years now
1245: [21:10:07] <catcher> Ryan-Toast, I think that's more normal than it should be.
1246: [21:10:26] <catcher> I use a CMS for our IT dept's convenience, not the client's.
1247: [21:10:51] <Blacklite> if you work in a larger team you actually have people that manage the CMS on your end, not the clients end
1248: [21:11:12] <Ryan-Toast> catcher: Fair enough.
1249: [21:13:35] <willr> I hope you charge minutely.
1250: [21:14:54] <Blacklite> you're better off just charging hourly and doing a maintenance plan of some kind
1251: [21:15:22] * catcher quit (Quit: Leaving)
1252: [21:17:53] <willr> Got clients who are happy to pay for me to do content work they email in word docs. CMS at least makes my job easier.
1253: [21:19:06] <antmas> Ryan-Toast: yeah we all seem to do it
1254: [21:19:30] <Ryan-Toast> willr: Yeah, but I don’t see the money so it’s still annoying :P
1255: [21:19:32] * muskie9 quit (Ping timeout: 252 seconds)
1256: [21:19:37] <antmas> clients like the idea of being able to do it themselves, but they never do, or hardly at all
1257: [21:20:05] <Stomach> lots of our clients do
1258: [21:20:27] <Blacklite> some clients can be really good
1259: [21:20:30] <Stomach> but then we get "i tried to upload a video where the image usually goes and it wont work, why doesnt this work"
1260: [21:20:32] <Stomach> >_<
1261: [21:20:32] <Blacklite> some clients, not so good
1262: [21:20:54] <antmas> I don't mind updating if I get paid for it
1263: [21:21:19] <Blacklite> exatly
1264: [21:21:21] <Blacklite> *exactly
1265: [21:21:27] <Blacklite> as long as you explain to the client that it will cost them extra
1266: [21:21:32] <Blacklite> they'll want training ASAP
1267: [21:21:47] <antmas> Blacklite: yeah I put it all in the maintenance section of my contracts
1268: [21:21:55] <Blacklite> yeah
1269: [21:22:07] <Blacklite> better to put the cost in there, let them see it, then try to negotiate it so they do everything
1270: [21:22:19] <antmas> all of them include 3 months, then anything after is charged at full price regardless
1271: [21:22:38] * tankr has joined #silverstripe
1272: [21:24:44] <antmas> anyone play 7 Days to Die?
1273: [21:28:30] * Jakx has joined #silverstripe
1274: [21:28:33] <Jakx> yo
1275: [21:29:00] * camfindlay has joined #silverstripe
1276: [21:29:30] <Stomach> hi Jakx
1277: [21:29:35] <Jakx> hey Stomach
1278: [21:29:47] <Jakx> Friday :)
1279: [21:29:49] <Jakx> Deadlines :(
1280: [21:30:05] <Stomach> Deadlines :(
1281: [21:30:13] <antmas> all our neckbeards are away - so no deadlines for me :)
1282: [21:30:20] <Jakx> _b
1283: [21:30:31] <Ryan-Toast> Stomach: I made a video “upload” shortcode where they put in a vimeo or youtube link. It has a button so they can’t fuck it up :P
1284: [21:30:59] <Ryan-Toast> antmas: that’s racist to those of us who can’t grow a neck beard.
1285: [21:31:24] <Stomach> Ryan-Toast, this is an attached image, you know, so the layout doesnt look shit
1286: [21:31:26] <antmas> Ryan-Toast: your face is racist
1287: [21:32:24] <Ryan-Toast> Stomach: it generates this image at the bottom of the page: http://webdough.co.nz/~strayco/why-stray/ten-reasons/
1288: [21:32:57] <Stomach> Ryan-Toast, thats nice, but what if they want to have two videos side by side?
1289: [21:33:07] <Ryan-Toast> They use the column generator
1290: [21:33:49] <Stomach> I need you on my team.
1291: [21:33:57] <Stomach> :D
1292: [21:33:59] <antmas> Ryan-Toast: Klavika Bold eh?
1293: [21:34:09] <antmas> I like it except for 'J's
1294: [21:34:09] <Ryan-Toast> Stomach: :P
1295: [21:34:13] <Ryan-Toast> <3
1296: [21:34:14] <Jakx> That's a tidy site
1297: [21:34:31] <Ryan-Toast> Jakx: Cheers, still a work in progress, but it’s getting there.
1298: [21:35:13] <Jakx> How are jumping photo's still considered cool
1299: [21:35:29] <Ryan-Toast> Jakx: Such unique. Wow.
1300: [21:35:50] <antmas> Jakx: because they all look so happy!
1301: [21:35:52] <antmas> yay
1302: [21:35:57] <antmas> \o/
1303: [21:36:09] <Jakx> Hey guys, we have the technology! We can expose an image with a brief enough shutter speed that it looks like you're in mid air! You'll never have to pose on the ground again!
1304: [21:36:49] <Jakx> And the photo the followed started it all...
1305: [21:37:41] <Jakx> On another note:
1306: [21:37:41] <Jakx> How do you filter a DataList, but a property of a many many relationship? e.g $datalist->filter(array("ManyManyList.Property" => array("value1", "value2")); or something similar
1307: [21:37:53] <Jakx> by a property*
1308: [21:38:14] <Ryan-Toast> there’s just something about setting right titles that I love.
1309: [21:38:23] <Ryan-Toast> Aww yeeee, get that description, gurl.
1310: [21:39:14] * novaweb has joined #silverstripe
1311: [21:39:57] * novaweb quit (Client Quit)
1312: [21:40:50] <antmas> awwww yeah, boss just sent a council wide note about a form I made
1313: [21:41:01] <antmas> getting a bottle of whiskey :)
1314: [21:41:27] <oddnoc> Whiskey is the best
1315: [21:41:40] <antmas> bourbon is the worst
1316: [21:42:10] <Jakx> so, scotch whiskey then?
1317: [21:42:17] <antmas> yeh
1318: [21:42:22] <oddnoc> That’s whisky. Even better.
1319: [21:42:32] <antmas> although I don't mind Jamiesons
1320: [21:42:48] <antmas> Talisker and Oban are my favourites though
1321: [21:44:09] <antmas> maybe I should drink some to cure this head cold
1322: [21:46:18] * scpi quit (Quit: naptime)
1323: [21:47:00] * muskie9 has joined #silverstripe
1324: [21:48:36] * shellbackpacific has joined #silverstripe
1325: [21:48:53] * shellbackpacific quit (Client Quit)
1326: [21:49:41] * shellbackpacific has joined #silverstripe
1327: [21:51:06] * shellbackpacific has left #silverstripe
1328: [21:51:18] * muskie9 quit (Ping timeout: 248 seconds)
1329: [21:52:11] <camfindlay> Jakx from memory I think you need to do a join on the ORM call to be able to filter by related properties.
1330: [21:54:05] <Jakx> camfindlay, thanks I'll look into it :)
1331: [21:58:34] <Stomach> snotty and drunk
1332: [21:58:36] <Stomach> sounds good
1333: [21:58:54] <antmas> Stomach: dat whiskey burn
1334: [21:59:28] * Stomach knows all about it
1335: [22:03:04] <antmas> anyone used embargo for ss?
1336: [22:04:06] * wmk quit (Ping timeout: 248 seconds)
1337: [22:07:17] <willr> antmas yep.
1338: [22:07:59] <antmas> willr: once you have set a publish date, how do you stop it/cancel it?
1339: [22:09:41] <willr> How’d you mean? Stop it from publishing?
1340: [22:09:55] <willr> set publish date to something else perhaps?
1341: [22:10:45] <antmas> willr: hmmm, tried that but it gives a message saying you need to wait until it publishes before setting another date
1342: [22:11:18] <willr> ha teh lol. Is this as part of one of the work flow modules?
1343: [22:11:41] <antmas> willr: yeah, 'advanced' work flow module
1344: [22:11:45] <antmas> super flakey :O
1345: [22:12:09] * keksters has joined #silverstripe
1346: [22:12:14] <willr> ah haven’t used that one. Used simon_w's
1347: [22:12:34] <antmas> willr: link?
1348: [22:12:45] <willr> which is just embargo/expiry without the whole massive flow stuff
1349: [22:13:04] <antmas> willr: can you have both concurrently?
1350: [22:14:12] <willr> http://svn.simon.geek.nz/embargoexpiry/
1351: [22:14:52] <antmas> willr: hmmm cheers, 3.0 compat?
1352: [22:15:38] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1353: [22:15:40] <willr> Hmm not sure. Should be around on the internet
1354: [22:15:58] <antmas> I'll check it out
1355: [22:16:38] <willr> if not, probably worth upgrading it. Was a handy little module without the whole permissions crap
1356: [22:17:24] <antmas> willr: yeah I have some free time soon so I might upgrade it
1357: [22:17:55] <antmas> now that SS is going to do our 3.1 upgrade :P
1358: [22:18:01] <willr> Awesome! Look forward to it
1359: [22:18:08] <willr> Thats nice of them
1360: [22:18:27] <antmas> willr: we're a local govt client :P
1361: [22:18:33] <antmas> although not CWP
1362: [22:18:47] * jenniferaslan has joined #silverstripe
1363: [22:19:24] <willr> Which council?
1364: [22:19:45] <antmas> willr: tasman district
1365: [22:20:08] <willr> As pretty sure you were one of the first!
1366: [22:20:13] <willr> Ah*
1367: [22:20:56] <antmas> huh, I've only been here 1.2 years, came on board when they were upgrading from 2.4 to 3.0 :O
1368: [22:21:00] <willr> I worked mainly on lower north island ones. Horizons, Hawkes Bay the naki
1369: [22:21:31] <willr> well hopefully 3.1 is a easier upgrade
1370: [22:22:02] <antmas> willr: should be, most of the site stuff is pretty simple, just a number of integration points which are a hassle
1371: [22:22:41] * antmas_ has joined #silverstripe
1372: [22:24:12] * Liquide has joined #silverstripe
1373: [22:26:10] * antmas quit (Ping timeout: 246 seconds)
1374: [22:26:52] * keksters quit (Ping timeout: 246 seconds)
1375: [22:28:34] <antmas_> what perms 'should' assets/uploads be usually?
1376: [22:28:46] * antmas_ is now known as antmas
1377: [22:29:10] <oddnoc> antmas: I usually make them group-writable by the web server
1378: [22:29:53] <antmas> oddnoc: cool same here
1379: [22:30:27] * willr quit (Ping timeout: 255 seconds)
1380: [22:36:55] * novaweb has joined #silverstripe
1381: [22:37:31] <antmas> it's Friday :)
1382: [22:37:33] * joelpittet has joined #silverstripe
1383: [22:38:04] * coldblooded quit (Ping timeout: 246 seconds)
1384: [22:41:00] * gelignite quit (Read error: Connection reset by peer)
1385: [22:41:43] * Phlunk3 has joined #silverstripe
1386: [22:43:24] * gelignite has joined #silverstripe
1387: [22:47:37] * muskie9 has joined #silverstripe
1388: [22:49:33] <Stomach> anyone got a good nginx configuration for silverstripe?
1389: [22:49:44] <Stomach> bad gateway -> turn off nginx -> forget about it -> whoops
1390: [22:50:19] * guci0 quit (Ping timeout: 246 seconds)
1391: [22:52:06] * muskie9 quit (Ping timeout: 248 seconds)
1392: [22:54:48] <Jakx> how do you paginate arraylist's?
1393: [22:57:33] <Jakx> dw, my bad... them fridays :(
1394: [22:58:44] <oddnoc> Jakx: Create a PaginatedList, passing your ArrayList to the constructor
1395: [22:58:54] <Jakx> oddnoc, ty ty :)
1396: [23:01:30] * novaweb quit (Quit: novaweb)
1397: [23:06:24] * geekdenz has joined #silverstripe
1398: [23:06:28] <antmas> so quiet...
1399: [23:06:54] <Stomach> meanwhile github is going crazy
1400: [23:06:59] <Jakx> wait, you don't mean to say that people might actually be working?
1401: [23:07:08] <Stomach> Damian and Dan are having a good old code review
1402: [23:07:16] <antmas> Jakx: but it's Friday?!
1403: [23:07:18] <antmas> :P
1404: [23:07:22] <Jakx> ikr
1405: [23:07:29] <antmas> Stomach: ?
1406: [23:07:39] * willr has joined #silverstripe
1407: [23:07:48] * willr quit (Changing host)
1408: [23:07:48] * willr has joined #silverstripe
1409: [23:07:53] <Stomach> https://github.com/silverstripe/silverstripe-framework/pull/1360#discussion_r14540741
1410: [23:08:19] <geekdenz> How can I find the file that is responsible for output from a CMS PAJAX call? I've got a custom page type which has attachments which essentially have a set of Files.
1411: [23:08:43] <geekdenz> and "Uploads" is printed quite a few times
1412: [23:09:17] <geekdenz> when i click on "From files"
1413: [23:09:44] <antmas> Stomach: +100 on single character aliases :P
1414: [23:13:25] <Stomach> except when you have a column called UNT
1415: [23:13:32] <Stomach> then aliasing as 'c' is fine
1416: [23:14:12] <antmas> Stomach: lol
1417: [23:14:31] <antmas> singles are just to hard to read for me
1418: [23:15:16] <antmas> and I hear our other dev grind his teeth whenever he sees them
1419: [23:15:36] * novaweb has joined #silverstripe
1420: [23:16:48] <Stomach> but it speeds up deployment!
1421: [23:16:54] * Stomach goes awol
1422: [23:17:49] <antmas> why should deployment be 'fast'?
1423: [23:18:20] <Stomach> BECAUSE THE FASTER WE DEPLOY THE MORE WE CAN DO
1424: [23:18:27] <Stomach> WORK WORK WORK MORE WORK YEAAAAAAAAH
1425: [23:18:41] <antmas> hehe
1426: [23:20:41] * UncleCheese has joined #silverstripe
1427: [23:22:34] * spronk has joined #silverstripe
1428: [23:39:21] * simon_w has joined #silverstripe
1429: [23:40:01] <Ryan-Toast> Anyone know how to stop PHPStorm Live Templates moving comments onto their own line?
1430: [23:40:22] <Stomach> change your code style settings
1431: [23:40:59] <Ryan-Toast> Stomach: where abouts?
1432: [23:41:15] <Stomach> File >> Settings >> Code style
1433: [23:42:02] <Ryan-Toast> dat mac
1434: [23:42:08] <Ryan-Toast> guess it’;s preferences.
1435: [23:42:14] <Ryan-Toast> Code style. though that’s per project.
1436: [23:42:57] <Stomach> yeah, it is indeed
1437: [23:43:03] <Stomach> but you do have a default
1438: [23:44:05] <Ryan-Toast> yes. Editing now, looking for the relevent comment thingy
1439: [23:45:02] <ss23> FUCKING PEICE OF SHIT
1440: [23:45:10] <ss23> Fatal error: Maximum function nesting level of '200' reached, aborting! in /sites/dev/framework/dev/Deprecation.php on line 130
1441: [23:45:21] <ss23> THIS ISN'T A HELPFUL ERROR MOTHER FUCKER
1442: [23:45:24] <ss23> Bah so mad today
1443: [23:45:58] <antmas> ss23: u mad? try deploying sharepoint apps using powershell
1444: [23:46:05] <ss23> SO MAD.
1445: [23:46:06] <antmas> ss23: your PHP tears sustain me
1446: [23:46:08] <ss23> lol
1447: [23:46:10] <ss23> fucking
1448: [23:48:11] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1449: [23:48:32] * muskie9 has joined #silverstripe
1450: [23:49:15] <spronk> KEKEKEKKK
1451: [23:49:22] <spronk> ss23 got pwned
1452: [23:49:34] <antmas> rekt* ^^
1453: [23:52:03] <tankr> ss23 I've had that error from memory (SO MAD at the time) switched version of PHP for that particular project and that seemed to fix it :-)
1454: [23:52:54] * muskie9 quit (Ping timeout: 248 seconds)
1455: [23:54:07] <ss23> Clearing cache fixed it for me
1456: [23:54:09] <ss23> but so annoying
1457: [23:54:09] <ss23> :/
1458: [23:54:16] <ss23> I mean rm -rf /tmp/silverstripe*
1459: [23:56:51] <antmas> what to have for lunch
1460: [23:57:01] <Ryan-Toast> antmas: burgerfuel.
1461: [23:57:08] <antmas> Ryan-Toast: WHY U!
1462: [23:57:24] <Ryan-Toast> antmas: :D
1463: [23:59:14] <ss23> lol
1464: [23:59:19] <ss23> I had burgerfuel for lunch and dinner the other day
1465: [23:59:20] <ss23> idk
1466: [23:59:22] <ss23> I'm overdosing

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