#silverstripe IRC Log

IRC log for 8 June 2015

All timestamps are in UTC.

1: [00:00:50] <longmog> gonna read the departure
2: [00:00:52] <Stomach> hahaha awesome
3: [00:01:03] <longmog> am sick of the kovaks novels
4: [00:01:09] <longmog> (top review mentions them)
5: [00:02:47] <antmas> longmog: let me know what you think, I actually found the first section oddly confusing but it came together later. Might actually be part of the story telling though.
6: [00:12:50] <MichalKleiner> 20 years of PHP today :-)
7: [00:12:55] <MichalKleiner> https://twitter.com/spazef0rze/status/607669680044654592
8: [00:14:19] * Ryan-Toast throws confetti
9: [00:23:31] * Stomach throws his toys
10: [00:24:19] * DanaeNZ quit (Quit: DanaeNZ)
11: [00:24:36] * antmas catche's stomach's viewmaster
12: [00:24:40] <antmas> HAHA I have it now!
13: [00:24:42] <Stomach> :D
14: [00:24:46] * antmas watches viewmaster slides
15: [00:25:06] <Stomach> got my cookies, got my milk, got my viewmaster!
16: [00:25:10] <Stomach> or, did have :(
17: [00:28:07] <flipsidenz> :/
18: [00:28:24] <flipsidenz> "adult" viewmaster reels would bring back that tech
19: [00:28:57] <antmas> 'tech'
20: [00:28:58] <longmog> i have tried to make a viewmaster reel from some of my 3D art
21: [00:29:04] <longmog> was too fiddly to get a whole wheel
22: [00:29:13] <longmog> the new viewmasters are all digital
23: [00:29:19] <antmas> wat
24: [00:29:24] <antmas> there are new viewmasters?
25: [00:29:36] <flipsidenz> Takes out the fun of it
26: [00:29:37] <Stomach> KEEP UP PATRICK
27: [00:29:38] <Stomach> http://www.view-master.com/en-us
28: [00:29:51] <longmog> the 'fun' is being suspended in another reality
29: [00:29:53] <flipsidenz> Those reels, the perfect solution for indoor frisbees
30: [00:30:07] <antmas> lol
31: [00:30:29] <antmas> only thing that I got from that link is how aweful the scrolling is
32: [00:30:32] * micmania1 quit (Quit: micmania1)
33: [00:30:45] <longmog> i swear most parallax is made by mac users
34: [00:30:54] <longmog> never feels right on a pc mouse wheel, always feels nice on a mac
35: [00:31:15] <Stomach> this one is janky as
36: [00:31:20] <antmas> mm
37: [00:31:23] <antmas> bounces all over the place
38: [00:31:36] <longmog> i just had to add parallax and crap toa wordpress site that had already been built / themed
39: [00:31:40] <longmog> wanted to fucking neck myself
40: [00:31:45] <antmas> it's like they said 'lets do parallax on this, but make it twerk'
41: [00:31:46] * spronk quit (Quit: I may need a longer sleep timer...)
42: [00:32:17] <longmog> http://www.wishbonedesign.com/
43: [00:32:19] * micmania1 has joined #silverstripe
44: [00:32:33] <longmog> what's the silverstripe extension for doing a gridfield that can contain multiple subtypes
45: [00:32:39] <longmog> i thought i saved the link
46: [00:33:04] <antmas> longmog: that wishbone link :O
47: [00:33:12] <antmas> up down up down up down up down
48: [00:33:31] <longmog> don't even talk about it
49: [00:33:34] <antmas> lol
50: [00:34:21] <Stomach> SCROLLMAN
51: [00:34:23] <Stomach> hahahaha
52: [00:34:52] <Stomach> longmog - I dont know but if you remember can you tell us?
53: [00:35:21] <longmog> GridFieldAddNewMultiClass - lets the user select from a list of classes to create a new record from.
54: [00:35:21] * DanaeNZ has joined #silverstripe
55: [00:35:25] <Stomach> 'GridFieldAddNewMultiClass'
56: [00:35:26] <longmog> in gridfieldextensions
57: [00:35:29] <Stomach> oh beat me too it :D
58: [00:36:21] <antmas> I can't stop scrolling that site
59: [00:36:34] * spronk has joined #silverstripe
60: [00:36:54] <longmog> haha
61: [00:37:11] <longmog> you've got a problem m8
62: [00:37:53] <antmas> :P
63: [00:38:35] <longmog> i think adding SPA style overtop of a static site is probably the right answer though in general, so it SEOs nicely and still has whatever flourish the client has a boner for
64: [00:44:44] <spronk> digital fucking viewmaster
65: [00:44:47] <spronk> what the actual fuck
66: [00:45:19] <antmas> lol
67: [00:45:41] <antmas> they also changed Milo
68: [00:45:46] <antmas> ;__________;
69: [00:45:57] <Stomach> childhood... ruined
70: [00:46:47] * micmania1 quit (Quit: micmania1)
71: [00:46:55] <antmas> they're also killing off Bart on Simpsons
72: [00:47:07] <antmas> it's the apocalypse
73: [00:48:24] <DanaeNZ> antmas: YOU’RE LYING
74: [00:48:35] <spronk> yeah
75: [00:48:43] <spronk> i'm trying to find some of this new milo
76: [00:48:43] <spronk> but
77: [00:48:45] <spronk> http://www.stuff.co.nz/life-style/food-wine/drinks/69191189/video-new-milo-v-old-milo-blind-taste-test
78: [00:48:45] <spronk> it's not looking good
79: [00:48:55] * glenn-bautista quit (Quit: Leaving.)
80: [00:48:55] <DanaeNZ> not the milo thing the bart thing
81: [00:48:56] <spronk> they could ahve at least said they were thinking about changing it
82: [00:49:38] <antmas> DanaeNZ: :(
83: [00:50:25] <antmas> DanaeNZ: ah, it's in the next Halloween episode so not 'permanent'
84: [00:50:53] * glenn-bautista has joined #silverstripe
85: [00:53:13] <spronk> really nestle should have just called it milo light
86: [00:53:26] <spronk> its not like their supply chain can't handle one more product in their already massive stable
87: [00:54:06] <antmas> is there a good drinking chocolate/milo/thing ?
88: [00:54:19] <antmas> I tried Avalanche's stuff but its fucking gross
89: [00:57:37] <spronk> hmm
90: [00:57:43] <spronk> tbh
91: [00:57:55] <spronk> horlics + some cadbury drinking chocolate is quite tasty
92: [00:58:06] <spronk> its not really a replacement to old milo
93: [00:58:10] <longmog> microwave a flake
94: [00:59:00] <antmas> longmog: lol
95: [00:59:03] <antmas> now I want a flake
96: [00:59:43] <spronk> mmm
97: [00:59:43] <spronk> flake
98: [00:59:47] <spronk> stuck in a soft serve
99: [00:59:51] <spronk> NOM
100: [01:03:42] * cloph_away quit (Ping timeout: 258 seconds)
101: [01:05:07] * Stomach quit (Quit: zzz)
102: [01:13:13] * cloph_away has joined #silverstripe
103: [01:19:32] * micmania1 has joined #silverstripe
104: [01:23:03] * Stomach has joined #silverstripe
105: [01:36:51] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
106: [01:51:32] <antmas> mmmmm slow cookers are the best
107: [02:00:07] <spronk> what yu cookin?
108: [02:04:01] * Stomach quit (Quit: zzz)
109: [02:05:17] <antmas> did a blade steak stew
110: [02:05:32] <spronk> nom
111: [02:05:45] <spronk> we're doing a curry tomorrow
112: [02:05:49] <spronk> >:D
113: [02:06:28] <antmas> slow cooked curry?
114: [02:07:28] * glenn-bautista quit (Ping timeout: 255 seconds)
115: [02:07:50] * muskie9 has joined #silverstripe
116: [02:08:02] <spronk> jaja
117: [02:08:41] <ss-helper> Re: [silverstripe-dev] Re: Git workflow for the open source team - https://groups.google.com/d/msg/silverstripe-dev/jG3Un5hvYVM/xJ5fbbWZhhQJ
118: [02:09:34] <antmas> spronk: you have a recipe I could have?
119: [02:09:49] <spronk> sec we got it off the interwebs
120: [02:10:08] <Ryan-Toast> Who’s the GC that fixed .ico files not showing a thuimmbnail in UploadFields?
121: [02:10:29] <antmas> wasn't that adrexia ?
122: [02:10:38] <antmas> maybe that was something else...
123: [02:10:46] <spronk> antmas http://www.allysongofton.co.nz/recipe/Rogan-Josh-slow-cooker-method/?r=3025
124: [02:10:56] <adrexia> don't think it was me
125: [02:11:00] <spronk> doing this one
126: [02:11:04] <spronk> it was pretty good firs ttime we did it
127: [02:11:36] <Ryan-Toast> antmas: works pretty well to. Scales up without pixelating: http://i.imgur.com/4zV2Oql.png
128: [02:11:36] <longmog> god yes
129: [02:11:39] <antmas> spronk: chur, might hit that one
130: [02:11:53] <antmas> Ryan-Toast: woah, fuck yeah awesome
131: [02:12:20] <spronk> that does look nice
132: [02:12:24] <antmas> spronk: Mrs always gloats about making good curries, would love to 1up her :P
133: [02:12:35] <spronk> heh
134: [02:12:35] <spronk> :D
135: [02:13:38] * camfindlay has joined #silverstripe
136: [02:14:13] <antmas> camfindlay: o/
137: [02:14:49] <DanaeNZ> I don’t have most of those spices :(
138: [02:15:01] <DanaeNZ> I hate cooking tho
139: [02:15:03] <camfindlay> antmas: heya :)
140: [02:15:10] <DanaeNZ> But slow cooker seems to be least effort
141: [02:15:20] <camfindlay> +1 slow cookers
142: [02:15:24] <spronk> slow cooker so ezy
143: [02:15:27] <spronk> CHOP CHOP CHOP
144: [02:15:29] <antmas> DanaeNZ: they're pretty cheap and easy to find (spices)
145: [02:15:33] <spronk> SLAM IT IN
146: [02:15:35] <spronk> DONE
147: [02:15:51] <antmas> mm
148: [02:16:06] <antmas> did lamb shanks recently and it blew me away how easy it is to use slow cookers
149: [02:16:34] * spronk has never done lamb shanks
150: [02:16:50] <spronk> i have no idea howt o eat them :p
151: [02:17:04] <antmas> tis easy as
152: [02:17:17] <antmas> slow cooked, the meat falls off the bone
153: [02:17:37] <spronk> mm
154: [02:18:56] <DanaeNZ> this is making me hungry
155: [02:19:05] <DanaeNZ> i had a very unfulfilling subway salad for lunch
156: [02:19:36] <DanaeNZ> when you have a shitty lunch it’s like, that’s it, shitty day
157: [02:19:40] <DanaeNZ> game over man, game over!
158: [02:19:46] <spronk> yeah
159: [02:19:47] <spronk> exactly
160: [02:19:51] <spronk> oh
161: [02:19:56] <antmas> spronk: DanaeNZ did this on mother's day http://i.imgur.com/LtFgnS7.jpg
162: [02:20:00] <antmas> best meal I ever did
163: [02:20:00] <spronk> who linked me at those nongshim noodles last week?
164: [02:20:06] <spronk> wow that looks hardcore
165: [02:20:09] <DanaeNZ> antmas: oh my fuck
166: [02:20:32] <antmas> red wine sauce, 3 shanks and all the other bits cost like $20 to make
167: [02:20:33] * Stomach has joined #silverstripe
168: [02:21:00] * UncleCheese has joined #silverstripe
169: [02:21:14] <spronk> slow cook?
170: [02:22:31] <antmas> yup
171: [02:22:58] <spronk> hmm
172: [02:23:02] <antmas> cooked for like 8 hours and the house smelled like heaven
173: [02:23:19] <antmas> I think I used a recipe, will try find it
174: [02:24:42] <antmas> was very similar to this http://allrecipes.com.au/recipe/10034/lamb-shanks-in-red-wine-sauce.aspx?o_is=LV
175: [02:25:03] <antmas> but I didnt use mushrooms or tomato paste
176: [02:25:26] <antmas> and right when it was time to serve, I put the shanks in the pan with the reducing sauce :D
177: [02:25:58] <spronk> oo
178: [02:29:49] * antmas quit (Ping timeout: 246 seconds)
179: [02:29:49] * flipsidenz quit (Ping timeout: 246 seconds)
180: [02:30:40] * antmas has joined #silverstripe
181: [02:32:11] <antmas> spronk: wish Justin Bieber would stop winning all the F1 races :/
182: [02:32:14] * irogue_ has joined #silverstripe
183: [02:32:17] <spronk> hahahahah
184: [02:32:18] <spronk> ikr
185: [02:32:27] <spronk> jesus he's annoying
186: [02:32:36] <DanaeNZ> ok did i miss something
187: [02:32:45] <antmas> his face at Monaco was pretty awesome
188: [02:32:51] <DanaeNZ> justin bieber is…a formula 1 driver
189: [02:32:54] <spronk> lawl he's such a petulant little shit
190: [02:33:01] * spronk is actually watching the race replay in the background right now
191: [02:33:04] <antmas> DanaeNZ: lol naw, Lewis Hamilton (the JB of F1)
192: [02:33:10] <DanaeNZ> oh thank god
193: [02:33:40] <antmas> spronk: link to that?
194: [02:33:43] <antmas> or is it TV?
195: [02:33:53] <spronk> https://www.youtube.com/watch?v=sbCIpqE8Ftc
196: [02:33:54] <spronk> qual is shit
197: [02:34:06] <spronk> but idc im only really listening to the commentary
198: [02:35:06] <antmas> lol at 'cinema' view
199: [02:35:53] <antmas> my recommended videos are literally all peppa pig playlists :/
200: [02:35:54] <antmas> fml
201: [02:36:00] <spronk> hahaha
202: [02:36:04] <irogue_> Ryan-Toast: so, what's your talk on? :D
203: [02:36:07] <spronk> half of mine are
204: [02:36:11] <Ryan-Toast> irogue_: Shrug
205: [02:36:13] <spronk> fucking children
206: [02:36:14] <spronk> and their fucking peppa pig
207: [02:36:20] <Ryan-Toast> irogue_: I’ll figure it out this week.
208: [02:36:24] <irogue_> sweet :)
209: [02:36:26] <spronk> antmas i got my daughter into wallace and gromit thoguh
210: [02:36:31] * Ryan-Toast sweats
211: [02:36:32] <spronk> and the new shaun the sheep movie is ok
212: [02:36:56] <irogue_> Ryan-Toast: fyi the other "spot" will be the workshop that was done at the welly meetup
213: [02:36:58] <antmas> spronk: that's like finally stopping smoking or going to non-peppa rehab
214: [02:37:02] <irogue_> http://www.meetup.com/SilverStripe-Wellington-Meetup-Group/events/222286913/
215: [02:37:12] <spronk> haha
216: [02:37:33] <antmas> spronk: which F1 team/driver to you back?
217: [02:37:46] <spronk> not really any team in particular
218: [02:37:51] <spronk> i lke kimi, seb and jb
219: [02:37:53] <Ryan-Toast> irogue_: Coolio
220: [02:38:15] * glenn-bautista has joined #silverstripe
221: [02:38:15] <antmas> spronk: mm same here
222: [02:38:17] <spronk> so this year i'm a bit of a ferrari man :P
223: [02:38:25] <antmas> Rossberg sometimes
224: [02:38:36] <spronk> yeh, he can be aaight
225: [02:38:44] <spronk> though i mainly like him because i despise hamilton
226: [02:38:46] <spronk> :D
227: [02:39:00] <Ryan-Toast> irogue_: Can I just point at a picture of my cms, and say “this looks better than yours, not reflect on this for 15 minutes“
228: [02:39:07] <Ryan-Toast> now**
229: [02:39:16] <antmas> spronk: lol same
230: [02:39:38] <irogue_> Ryan-Toast: haha
231: [02:40:08] <antmas> someone should do a talk on the importance of #silverstripe
232: [02:40:23] <spronk> jaja
233: [02:42:51] <antmas> spronk: DRS?
234: [02:43:00] <spronk> hmm, what about it?
235: [02:43:32] <antmas> what is it? :P
236: [02:44:29] <spronk> drag reduction system?
237: [02:44:32] <Ryan-Toast> irogue_: http://i.imgur.com/Wedb05X.jpg
238: [02:44:45] <antmas> spronk: ah yip
239: [02:44:54] <spronk> lool
240: [02:45:17] <Ryan-Toast> I think that should be on the .org homepage
241: [02:45:25] <Ryan-Toast> “Why should you use SS?“
242: [02:47:03] <Ryan-Toast> camfindlay: make it happen.
243: [02:48:34] <camfindlay> Ryan-Toast: April 1 was a couple of months ago bro…
244: [02:49:00] <Ryan-Toast> camfindlay: Exactly. They’ll never expect an April fools prank on June 8th.
245: [02:49:04] <Ryan-Toast> It’s genius.
246: [02:49:36] <DanaeNZ> hahahah
247: [02:51:32] <antmas> spronk: it's pretty crazy
248: [02:51:37] <antmas> the DRS Championship
249: [02:51:52] * ss-helper quit (Ping timeout: 272 seconds)
250: [02:52:16] <spronk> mm
251: [02:52:49] <camfindlay> Ryan-Toast: http://cdn.meme.am/instances2/500x/134931.jpg
252: [02:52:59] <Ryan-Toast> camfindlay: :D
253: [02:56:02] * Tanger has joined #silverstripe
254: [03:03:19] * ss-helper has joined #silverstripe
255: [03:04:30] * Stomach quit (Quit: zzz)
256: [03:06:58] <camfindlay> irogue_: still on for this meetup on the 24th?
257: [03:07:41] <irogue_> camfindlay: yup, just waiting to hear back from PC and David as to who's going to come up, and from Ryan-Toast on what his topic's gonna be ;)
258: [03:07:51] <camfindlay> sweet
259: [03:07:53] <irogue_> then i'll publish the event on meetup.com
260: [03:08:09] <Ryan-Toast> irogue_: I’llconfirm by the end of the week.
261: [03:08:20] <camfindlay> Will need to get their flight booked whoever is coming up
262: [03:08:54] <antmas> camfindlay: irogue_ anything happening at the end of aug or start of sep? I'll be in Auckland for a week
263: [03:09:22] <irogue_> antmas: thats way too far ahead to plan :P
264: [03:09:44] <antmas> :P
265: [03:11:01] <irogue_> 3-4 sept i'll be at phpconf, I can tell you that much
266: [03:12:22] <antmas> mm that's welli
267: [03:12:59] <irogue_> yup
268: [03:13:32] <DanaeNZ> oh man i wanna go to this phpconf
269: [03:14:00] <camfindlay> DanaeNZ: dooo it!
270: [03:14:16] <DanaeNZ> I’ll keep an eye on grabaseat for the cheap fliiights
271: [03:14:32] <irogue_> DanaeNZ: just make Toast pay ;)
272: [03:14:51] <DanaeNZ> make them PAAAAY
273: [03:15:00] <DanaeNZ> I’ll see if I can swindle it
274: [03:16:34] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
275: [03:17:39] <antmas> flights return from Nelson were like $180
276: [03:17:44] <antmas> grabaseat
277: [03:18:33] <irogue_> you can usually do akl-wlg return for ~$100
278: [03:20:11] <antmas> The Team at Snap (soon to be 2degrees Broadband)
279: [03:20:24] <antmas> fuck I hope they don't use 2D's customer service
280: [03:20:29] <antmas> would be a massive step back
281: [03:20:41] <irogue_> at least to start with, they're keeping seperate CS desks
282: [03:20:57] <antmas> mm
283: [03:21:07] <irogue_> but yeah thats been my biggest fear ever since they announced the purchase
284: [03:21:17] * bemusedrat has joined #silverstripe
285: [03:21:19] <antmas> snap's cs is awesome
286: [03:27:42] * zauberfisch quit (*.net *.split)
287: [03:27:48] * zauberfisch has joined #silverstripe
288: [03:27:52] * Kapdap quit (*.net *.split)
289: [03:28:00] * Kapdap has joined #silverstripe
290: [03:33:44] * gordon has joined #silverstripe
291: [03:33:53] * gordon is now known as nontgor
292: [03:41:16] * glenn-bautista quit (Quit: Leaving.)
293: [03:44:02] * glenn-bautista has joined #silverstripe
294: [03:46:13] * CodeTrap1 has joined #silverstripe
295: [03:46:48] <spronk> mm
296: [03:46:55] * CodeTrap quit (Ping timeout: 255 seconds)
297: [03:49:34] * Hailwood has joined #silverstripe
298: [04:02:55] * Stomach has joined #silverstripe
299: [04:04:37] * micmania1 quit (Ping timeout: 265 seconds)
300: [04:06:17] * micmania1 has joined #silverstripe
301: [04:06:46] * UncleChe_ has joined #silverstripe
302: [04:07:34] <irogue_> Uncle Che!
303: [04:13:58] * zippy has joined #silverstripe
304: [04:14:21] <zippy> micmania1: heh! I just realised (duh) that with that patch you don't need to flush for private static changes!!
305: [04:14:42] <zippy> I setup summary_fields and click the page icon and it just worked, took me a second... and was like.. oh yea... :)
306: [04:15:05] <zippy> Patch should be called "the incredi-patch"
307: [04:15:18] <zippy> it's actually made developing this new site bearable :)
308: [04:16:31] <micmania1> :)
309: [04:16:59] <micmania1> Imagine YAML was never invented :(
310: [04:17:30] <micmania1> although it is kinda useful
311: [04:17:36] <zippy> it is?
312: [04:17:39] <zippy> O.o
313: [04:17:52] <Stomach> yml is incredibly useful
314: [04:17:53] <Stomach> sometimes
315: [04:18:04] <micmania1> Well, kind of. Its before/after blocks are useful and that kind of stuff
316: [04:18:21] <DanaeNZ> +1 yaml for env conf
317: [04:18:44] * glenn-bautista quit (Quit: Leaving.)
318: [04:19:31] <micmania1> config should have never been tied to classes… but its so much nicer that it is
319: [04:20:13] * glenn-bautista has joined #silverstripe
320: [04:30:43] <spronk> -1 for yaml for anything
321: [04:31:05] <DanaeNZ> haterz gon hate
322: [04:31:26] * spronk would rather have xml config than yaml
323: [04:31:48] <longmog> once you get your schema correct yaml is so useful, i've used it on dozens of projects across languages and technology levels
324: [04:32:06] <longmog> for human editable content it also keeps the error rate pretty low for non technical curators
325: [04:32:28] <spronk> xml editors work better though
326: [04:32:44] <spronk> has better tooling, which is the main reason it's better than yaml right now
327: [04:33:02] <longmog> i don't think i have an xml editor
328: [04:33:12] <spronk> really?
329: [04:33:44] <longmog> well i have plenty of text editors, but i imagine you're describing some GUI wysiwyg device
330: [04:34:10] <spronk> well sorta
331: [04:34:16] <spronk> eclipse has an integrated xml editor for example
332: [04:34:33] <spronk> then there's heavyweight stuff like xmlspy
333: [04:34:36] <spronk> or oxygen
334: [04:35:00] <longmog> if you get a out of the box editor interface for xml that honors dtd and schema stuff then that could be more useful for yaml, assuming your target group has an appropriate editor
335: [04:35:08] <longmog> but i'd rather stick to a well oragnised yaml schema
336: [04:35:36] <spronk> well, theoretically any language with a good schema format should be able to have pretty nice ui editors built for it
337: [04:35:54] <spronk> http://www.altova.com/images/screenshots/xml-editor-grid-view.png
338: [04:36:25] <spronk> that sorta editing view for xml is pretty nice for human authoring
339: [04:36:29] * glenn-bautista quit (Ping timeout: 250 seconds)
340: [04:36:33] <longmog> yeah if you are comparing xml and yaml for being able to spin up adhoc crud interfaces then xml is going to be more useful
341: [04:36:42] <spronk> esp with data type aware editing
342: [04:36:47] <longmog> for me that's not what i want out of a data driven development format though
343: [04:36:57] <spronk> but for simple config stuff i don't really see much benefit from yaml over plain ini/propfiles
344: [04:37:18] * glenn-bautista has joined #silverstripe
345: [04:37:29] <longmog> ini files are a pretty mixed bag, i used to use them a lot for cross format config formats
346: [04:37:35] <longmog> now i prefer yaml
347: [04:37:41] <longmog> er cross language
348: [04:37:42] <spronk> hmm, why?
349: [04:37:49] <longmog> we've had this discussion twice before
350: [04:37:58] <spronk> lol
351: [04:37:59] <longmog> this time you were lucid enough to mention this gui/crud stuff, whcih i agree with
352: [04:38:06] <longmog> the rest of the conversation is going to be shit
353: [04:38:13] * spronk doesn't remember what he argues about
354: [04:38:41] <spronk> do you have any specific examples of yaml in action working well?
355: [04:39:06] <longmog> not open sourced
356: [04:39:20] <longmog> i write a lot of windows and a lot of server side software
357: [04:39:25] <longmog> not so much web stuff
358: [04:40:01] <zippy> should just be php
359: [04:40:04] <zippy> anyway
360: [04:40:07] <longmog> my main income stream is a product i wrote that uses ini everywhere because of some issues with windows, it's supplimented with yaml most of the places though
361: [04:40:14] <zippy> I think I might look into a co office space, I think I am going nutty
362: [04:40:22] <spronk> zippy working from home?
363: [04:40:35] <zippy> mmhmm
364: [04:40:47] <longmog> i have a dedicated office room in my house that i share with 2 others for 3 years now
365: [04:40:53] <longmog> works good to break the work/home headspace
366: [04:40:58] <longmog> been self employed 6 years
367: [04:41:03] <spronk> longmog ^^ mind telling us the product? :P
368: [04:41:04] <longmog> also try go to a meeting almost every day
369: [04:42:01] <zippy> I have a dedicated office space, outside of the house, but there is just no-one
370: [04:42:19] <zippy> there is skype and irc, but, not really anyone
371: [04:42:26] <spronk> zippy yeah
372: [04:42:30] <longmog> spronk tablet based video recorder / teleprompter / syndicator for corporate content generation, an unholy mix of C, Python, C# and Batch scripts (wrote it across 3 years in mostly my spare time, so growth has been all over the place)
373: [04:42:34] <spronk> i try to do lunch most days
374: [04:42:43] <longmog> but it works well and we're making profit
375: [04:42:48] <spronk> and the mrs & kids are at home most of the time
376: [04:43:00] <spronk> main income stream, nice
377: [04:43:56] <zippy> spronk: same, it's a mixed blessing :)
378: [04:44:00] <spronk> mm
379: [04:44:01] <spronk> lol
380: [04:44:22] <spronk> biggest draws for me are having a proper kitchen, and not having to fucking commute
381: [04:44:39] <longmog> roughly broken into c - these bits need to be fast, c# - these bits need to talk to unmanaged code and fuck writing windows specific C, python - glues it all together, good for business logic, batch script - fucking christ why is windows so crap
382: [04:44:55] <spronk> hahaha
383: [04:45:00] <spronk> no powershell? :P
384: [04:45:23] <longmog> powershell only really took off in the last couple of years and i've been writing batch for kiosk/presentation layer in windows for 10 years
385: [04:45:30] <spronk> mm..
386: [04:45:59] <longmog> i'm aiming to ditch windows entirely probably, so i am not very motivated to pick up powershell
387: [04:46:12] <spronk> mm?
388: [04:46:14] <longmog> i use bash most of my work day for the same problem domain
389: [04:47:30] <spronk> hmm
390: [04:47:37] <spronk> bash scripting is a bit archaic
391: [04:47:53] * spronk has been doing a lot of it lately for automating server provisioning and deployment
392: [04:47:55] <longmog> yeah, but in the last 4 years i've really put the effort into it
393: [04:48:04] <spronk> some stuff is really nice
394: [04:48:12] <spronk> like seamlessly working with envars for example
395: [04:48:27] <spronk> but syntax is yucky
396: [04:48:36] <zippy> spronk: been looking into ansible and what not?
397: [04:48:40] <longmog> and i have found writing an api between some language and a bash script that then talks posix / gnucoreutils is way cleaner than having dozens of subprocesses mappings in whatever other language you are using
398: [04:48:42] <spronk> zippy yeahh
399: [04:48:53] <zippy> so many options eh, what have you settled on
400: [04:49:20] <spronk> zippy currently just bash scripts scp'd over and run over ssh
401: [04:49:29] <spronk> yagni and all that
402: [04:49:36] <spronk> but its not that nice
403: [04:50:06] * Stomach quit (Quit: zzz)
404: [04:51:24] <longmog> what's the SS way to say, i have a page, and i want to place 2 videos into the page from a collection, one sits on the left, one on the right
405: [04:51:35] <longmog> right now i have a gridfield limited to 2 items with sortable
406: [04:51:44] <longmog> but it feels kind of awkward in a content editing sense
407: [04:52:21] <spronk> LeftVideo
408: [04:52:22] <spronk> RightVIdeo
409: [04:53:05] <zippy> or
410: [04:53:09] <zippy> VideoOne, VideoTwo
411: [04:53:09] * glenn-bautista quit (Quit: Leaving.)
412: [04:53:09] <zippy> :D
413: [04:53:20] <spronk> yep
414: [04:53:21] <spronk> pretty much
415: [04:53:32] * Phlunk3 quit (Remote host closed the connection)
416: [04:53:34] <zippy> then to be fancy you can have a function which builds an ArrayList of the videos, then you can loop them, if you can be bothered
417: [04:54:23] <zippy> function Videos() { $videos = new ArrayList(); $videos->add(array('Video' => $this->VideoOne())); $videos->add(array('Video' => $this->VideoTwo())); return $videos; }
418: [04:54:48] <zippy> you wont need to loop from sounds since they really are left and right
419: [04:54:48] <zippy> nm
420: [04:54:50] <zippy> carry on
421: [04:55:04] <spronk> ..what
422: [04:59:07] <UncleCheese> how has IRC been today?
423: [04:59:14] <UncleCheese> you guys behaving?
424: [04:59:18] <zippy> UncleCheese: wow.. you wouldn't believe it
425: [04:59:29] <UncleCheese> ok, better stay out of it
426: [05:01:05] * glenn-bautista has joined #silverstripe
427: [05:02:54] * UncleChe_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
428: [05:03:18] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
429: [05:11:28] * DanaeNZ quit (Quit: DanaeNZ)
430: [05:16:24] * Hailwood quit (Remote host closed the connection)
431: [05:19:00] <longmog> spronk: the issue is how do i link to the DO / what UI element do i have for going from HomePage to editing VideOne for example
432: [05:19:08] <longmog> or attaching another one from old ones that have been made
433: [05:19:14] <longmog> (hence using relationship editor gridfield)
434: [05:19:42] <spronk> ah
435: [05:19:50] <spronk> yeah
436: [05:19:55] <spronk> you can use a DropdownField
437: [05:20:12] <spronk> but yeah, SS kinda lacks a nice way to dothat atm
438: [05:22:16] <micmania1> longmog: try http://addons.silverstripe.org/add-ons/simonwelsh/hasoneedit - I haven’t used it myself
439: [05:22:47] <longmog> that looks okay
440: [05:28:19] * Shrike_Finland has joined #silverstripe
441: [05:29:39] * Ryan-Toast quit (Quit: Ryan-Toast)
442: [05:31:07] * Stomach has joined #silverstripe
443: [05:42:37] * camfindlay quit (Quit: camfindlay)
444: [05:48:08] <ss-helper> PhoneNumberField in silverstripe - http://stackoverflow.com/questions/30701921/phonenumberfield-in-silverstripe
445: [05:52:05] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
446: [05:53:53] * glenn-bautista quit (Quit: Leaving.)
447: [06:04:26] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
448: [06:12:45] * spronk quit (Quit: I may need a longer sleep timer...)
449: [06:13:29] * Mike123 has joined #silverstripe
450: [06:13:48] * micmania1 quit (Quit: micmania1)
451: [06:37:43] <Mike123> Morning :)
452: [06:43:13] * mahfuz quit (Ping timeout: 246 seconds)
453: [06:48:30] <ss-helper> Re: Remove TestRunner from 4.0? - https://groups.google.com/d/msg/silverstripe-dev/I5dHy9dMVng/ptaJ1Qg1QFEJ
454: [06:55:17] * adrexia_ has joined #silverstripe
455: [06:55:43] * spronk has joined #silverstripe
456: [06:59:31] <Mike123> how do i make jquery validate tranlatable ? so that error messges would show in my current locales language
457: [07:03:22] * ss-helper quit (Remote host closed the connection)
458: [07:03:35] * ss-helper has joined #silverstripe
459: [07:05:44] * micmania1 has joined #silverstripe
460: [07:06:50] * wmk has joined #silverstripe
461: [07:07:39] * Eliseth has joined #silverstripe
462: [07:13:38] <spronk> http://java.metagno.me/
463: [07:18:26] * mobiusnz quit (Ping timeout: 265 seconds)
464: [07:20:22] * mobiusnz has joined #silverstripe
465: [07:26:26] * sealan has joined #silverstripe
466: [07:36:20] * sealan quit (Remote host closed the connection)
467: [07:37:48] * stecman quit (Quit: This computer has gone to sleep)
468: [07:42:57] * zippy has joined #silverstripe
469: [07:44:18] * r3v3rb has joined #silverstripe
470: [07:44:42] <r3v3rb> Good Mornnnniiiiiiiiiiiinnnnnngg Europe!
471: [07:48:59] * UncleCheese has joined #silverstripe
472: [07:50:35] <wmk> r3v3rb, morning
473: [07:50:59] <r3v3rb> morning wmk :D Beautiful day today here in the UK
474: [07:51:05] <wmk> over here also
475: [07:51:15] <wmk> a bit colder than on weekend, but that's more than ok
476: [07:51:32] <wmk> lake temperature is ready for bathing
477: [07:51:53] <r3v3rb> Lovely, I think I’ll be by the beach today as I have just finished a promo code system for an online ticket portal too so happy happy happy :)
478: [07:52:07] <wmk> lucky guy
479: [07:56:36] * r3v3rb loves it when unison shows all the file changes pointing in the correct direction! FTW!
480: [07:56:59] <r3v3rb> Today is going to be a really good day… I can feel it already
481: [07:57:12] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
482: [07:57:18] <zippy> :)
483: [07:57:30] <zippy> r3v3rb: such positiveness
484: [07:57:31] <r3v3rb> zippy: you know what I mean ;)
485: [07:59:06] <Stomach> ss23 - https://github.com/silverstripe/silverstripe-framework/issues/4257
486: [07:59:23] <Stomach> you might wanna delete that image?
487: [08:00:21] * micmania1 quit (Quit: micmania1)
488: [08:00:39] <r3v3rb> Stomach: you think their client might be miffed to see their CMS on display?
489: [08:00:58] * sealan has joined #silverstripe
490: [08:01:01] <Stomach> yeah I would be
491: [08:01:47] <Stomach> it also indirectly exposes the routes in the CMS which is bad security practice imho
492: [08:01:52] * elgabbu has joined #silverstripe
493: [08:02:45] * sealan quit (Remote host closed the connection)
494: [08:03:21] * Shrike_Finland quit (Quit: Leaving.)
495: [08:03:26] <r3v3rb> personally, I think the module is correct, as if you had people who had submitted prior to the change in fields you would want to retain that data no?
496: [08:03:38] <Stomach> yeah I think so too
497: [08:04:17] <Stomach> just posted that :P
498: [08:04:23] * kinglozzer has joined #silverstripe
499: [08:04:29] <r3v3rb> :D
500: [08:05:31] <zippy> what if the data is required anymore and the client doesn't want them to show?
501: [08:05:35] <zippy> blow away in the DB?
502: [08:05:40] <zippy> *isn't required
503: [08:06:00] <Stomach> new form
504: [08:06:00] <Stomach> ?
505: [08:06:03] <r3v3rb> zippy: manually removed the field in the db ?
506: [08:06:07] <Stomach> its technically a different form?
507: [08:06:15] <r3v3rb> override getCMSFields and remove the field?
508: [08:06:51] <r3v3rb> Stomach: better idea - new form - new dataset as different requirements
509: [08:06:54] <zippy> if you delete the question because you don't need it anymore, why display the data?
510: [08:07:25] <Stomach> because you might go "oh what about that submission from 2007, do we still have that data to view" "no" "well thats a shit implementation"
511: [08:07:50] <Stomach> "why didnt we just make it a new form" "because we are silly people" "oh"
512: [08:07:55] <zippy> :P
513: [08:08:41] <zippy> you have a 10 question form and you want to remove 1 question so you should make a new one?
514: [08:09:18] <zippy> re-reading his question, it seems it would show when you submit a new one. Delete field, submit form, view that submission and it has data (odly)
515: [08:11:11] <Stomach> unless he took this screenshot 37 days ago then its REALLY odd
516: [08:11:27] <Stomach> but it doesnt include all the other fields either
517: [08:11:37] <Stomach> so I reckon its an old one
518: [08:12:07] <Stomach> will says its correct, end of story
519: [08:12:20] <r3v3rb> Stomach: what’s correct?
520: [08:12:25] <Stomach> https://github.com/silverstripe/silverstripe-framework/issues/4257
521: [08:13:04] <r3v3rb> Willr first past the post on that one Stomach ;)
522: [08:13:44] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
523: [08:13:51] <Stomach> haha
524: [08:15:15] <r3v3rb> Stomach: at least they have some rules based access to the /admin page ;)
525: [08:16:06] <Stomach> oh no I got an incident ID
526: [08:16:08] <Stomach> :(
527: [08:18:41] * zippy has joined #silverstripe
528: [08:19:26] * sealan has joined #silverstripe
529: [08:23:08] * zippy quit (Client Quit)
530: [08:23:35] * zippy has joined #silverstripe
531: [08:26:51] * spronk quit (Quit: I may need a longer sleep timer...)
532: [08:26:53] * zippy quit (Client Quit)
533: [08:30:20] * r_hector has joined #silverstripe
534: [08:40:04] <wmk> i have a pickerfield (extends Gridfield) and want to search for pages on another subsite
535: [08:40:29] <wmk> now Subsites augments the query to limit search to current subsite
536: [08:41:13] <wmk> how can i tell the gridfield / pickerfield to not augment the search?
537: [08:49:44] <elgabbu> gd morning guys
538: [08:50:06] <elgabbu> i have created a find_or_make method on a particular page type
539: [08:50:40] <elgabbu> now i would like to add some validation to it
540: [08:51:13] <elgabbu> i have tried setting up a getCMSValidator method on the page model but it doesn't seem to get invoked
541: [08:53:52] <wmk> elgabbu, did you try to overwrite validate() ? see http://api.silverstripe.org/3.1/source-class-DataObject.html#999-1018
542: [08:54:49] <elgabbu> yeah ur right validate those get invoked
543: [08:55:28] <elgabbu> trying to understand now how i get to return an error message back if the validation fails
544: [08:57:57] * Shrike_Finland has joined #silverstripe
545: [08:59:24] <wmk> elgabbu, http://docs.silverstripe.org/en/3.1/developer_guides/model/validation/
546: [08:59:55] <wmk> also http://www.silverstripe.org/community/forums/data-model-questions/show/6128?start=0 seems useful
547: [09:01:01] <wmk> also bundled Validator classes like Member_Validator could be a source of inspiration, elgabbu
548: [09:04:47] <Stomach> wmk - subsites:disable_subsite_filter or something i think
549: [09:05:03] <wmk> yup, but JUST on this query
550: [09:05:23] <Stomach> wrap it
551: [09:05:26] <Stomach> subsite:disable
552: [09:05:27] <Stomach> subsite:enable
553: [09:05:47] <wmk> ah, you mean, instead of passing $this->Relation() to the field
554: [09:05:51] <wmk> pass an ArrayList to it?
555: [09:05:56] <Stomach> yeah
556: [09:06:01] <wmk> good idea...
557: [09:06:17] <wmk> well, it's just a few hundreds dataobjects...
558: [09:06:45] <Stomach> write a helper function that is an extension for DataObject
559: [09:07:16] <Stomach> or extend map or something :)
560: [09:07:31] <wmk> well, it's just for this class...
561: [09:07:42] <wmk> so i first thought to subclass the formfield and overwrite the getter method
562: [09:07:50] <wmk> but which is the one?
563: [09:09:12] <Stomach> if its a relation, it will be relation() you want to overwrite
564: [09:09:14] <Stomach> on datalist?
565: [09:09:35] <Stomach> oh but then it calls a magic function
566: [09:10:45] <wmk> it's the HasOnePickerfield
567: [09:10:49] <wmk> so passing an arraylist doesn't work
568: [09:10:59] <wmk> needs a hasone object...
569: [09:11:07] <Stomach> check the __get function on VirtualPage
570: [09:11:11] <Stomach> try something like that
571: [09:11:44] <wmk> btw: any idea to get catalogpageadmin and translatable working again? e.g. adding a new translation?
572: [09:11:51] <Stomach> which is getField on dataobject
573: [09:11:53] <wmk> or no timeframe for that now?
574: [09:12:05] <Stomach> not yet, had a quick look on the weekend but couldnt work it out
575: [09:12:11] <wmk> same here
576: [09:12:26] <wmk> ok, well, we can add a translation on sitetree
577: [09:12:29] <Stomach> ill have another look in the morning - im pretty certain we've just overloaded the searchform to add our own
578: [09:12:50] <Stomach> but will have to code dive on a 20,000 line site to find it :D
579: [09:12:58] <Stomach> wish i remembered, that would be nice :P
580: [09:13:33] <Stomach> but yeah no timeframe at the moment :\
581: [09:15:31] * GioVdK has joined #silverstripe
582: [09:29:14] * Stomach quit (Quit: zzz)
583: [09:35:26] * arnhoe has joined #silverstripe
584: [09:43:44] * Tanger quit (Quit: sleep())
585: [09:44:55] * zippy has joined #silverstripe
586: [09:48:14] * zippy quit (Client Quit)
587: [09:56:07] * zippy has joined #silverstripe
588: [10:00:45] * nathanz has joined #silverstripe
589: [10:03:59] * sealan quit (Remote host closed the connection)
590: [10:04:26] * sealan has joined #silverstripe
591: [10:09:10] * cloph_away is now known as cloph
592: [10:18:23] * aditya has joined #silverstripe
593: [10:19:00] * UncleCheese has joined #silverstripe
594: [10:19:06] <aditya> how to make a sort link in ss 3.1 and when i click on sort link it sorts the articles asc or dsc
595: [10:19:21] <aditya> in frontend
596: [10:24:05] * sealan quit (Remote host closed the connection)
597: [10:25:18] <zippy> aditya: I think you will want to look into Pagination
598: [10:26:17] <zippy> create a function
599: [10:26:20] <zippy> in the function do
600: [10:26:53] <zippy> the sort, by checking the $this->request->getVar()
601: [10:27:02] <zippy> UncleCheese: saw pics on facebook, place looks good.
602: [10:27:04] <zippy> Sort out old place?
603: [10:27:09] <UncleCheese> not yet
604: [10:27:16] <UncleCheese> getting a bit nervous
605: [10:27:54] <UncleCheese> i think if we go more than a week paying double rent, we're going to file with the tenancy tribunal
606: [10:30:30] * Shrike_Finland quit (Quit: Leaving.)
607: [10:31:39] <zippy> bugger... hope it works out
608: [10:33:28] <ss-helper> PHPmyadmin and silverstripe error 1064 - http://stackoverflow.com/questions/30706628/phpmyadmin-and-silverstripe-error-1064
609: [10:34:19] <nathanz> hi, trying to get ss caching with memcached as per the docs, it just errors out and says: PHP Fatal error: Call to a member function setStatusCode() on a non-object in framework/dev/Debug.php on line 340 - that is probably masking the real error.
610: [10:34:45] <nathanz> memcached works as php session save handler, i believe that side of things is setup correctly
611: [10:40:43] * frostfire64 has joined #silverstripe
612: [10:46:12] * travis-ci has joined #silverstripe
613: [10:46:13] <travis-ci> silverstripe/silverstripe-framework#4945 (3.1 - 2fa6f27 : Sam Minnée): The build passed.
614: [10:46:13] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/d3b7abb0b54b...2fa6f2707310
615: [10:46:13] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/65866277
616: [10:46:13] * travis-ci has left #silverstripe
617: [11:06:44] <wmk> nathanz, any more logs available?
618: [11:06:47] <wmk> !debug nathanz
619: [11:06:48] <ss-helper> nathanz: Maybe it's time to start xdebug and see whats going on... check out http://docs.silverstripe.org/en/developer_guides/debugging/ and http://xdebug.org/docs/
620: [11:07:32] <wmk> nathanz, try dev mode to see a trace
621: [11:10:25] <nathanz> thanks.
622: [11:16:20] * aditya quit (Quit: Page closed)
623: [11:19:22] <r3v3rb> Interesting, times are changing… Just been looking at jobs for London Corporate compaies and not one mentions Degree level education, but all require ‘real world’ examples of previous work… YAY
624: [11:19:30] <r3v3rb> companies*
625: [11:20:09] <r3v3rb> not that I want one, but it was getting tiring seeing - degree requirements for jobs they don’t even cover in degree’s…
626: [11:20:32] <r3v3rb> my argument stands - you can’t beat experience
627: [11:29:17] * muskie9 has joined #silverstripe
628: [11:30:32] * Shrike_Finland has joined #silverstripe
629: [11:32:18] * muskie9 quit (Client Quit)
630: [11:40:10] <frostfire64> o/
631: [11:42:35] <nathanz> i've traced my memcache issue, it seems to be that ss_cache isn't passing along my config to zend or zend is ignoring it - either way it just attempts to contact memcached on 127.0.0.1 of which there is none.
632: [11:46:51] * ss-helper quit (Ping timeout: 256 seconds)
633: [11:55:48] * stnvh has joined #silverstripe
634: [11:56:09] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
635: [11:57:45] * Shrike_Finland quit (Quit: Leaving.)
636: [12:01:44] * ss-helper has joined #silverstripe
637: [12:03:09] * frostfire64 quit (Ping timeout: 245 seconds)
638: [12:09:26] * Shrike_Finland has joined #silverstripe
639: [12:23:35] * UndefinedOffset has joined #silverstripe
640: [12:34:28] * Mike123 quit (Quit: Page closed)
641: [12:39:37] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
642: [12:41:47] * bemusedrat quit (Quit: Leaving)
643: [12:43:24] * adrexia_ quit (Quit: Textual IRC Client: www.textualapp.com)
644: [13:08:44] * muskie9 has joined #silverstripe
645: [13:09:53] * DimiStripe has joined #silverstripe
646: [13:16:01] <DimiStripe> Hi guys, hats the fastest way for adding filter by "Created" field to be FROM - TO ? Also removing time field, keeping just dates ?
647: [13:16:08] <DimiStripe> this is in ModelAdmin
648: [13:17:40] * Shrike_Finland quit (Quit: Leaving.)
649: [13:35:02] <wmk> $default_sort in the DataObject DimiStripe ?
650: [13:36:08] <DimiStripe> Will it solve it ? , i need a FILTER with two fields : FROM Date / TO Date , based on Created field in DB . (Also hiding time values)
651: [13:37:08] * Mike123 has joined #silverstripe
652: [13:37:58] <wmk> DimiStripe, well, cms has such a filter, look there ;)
653: [13:44:04] * wmk quit (Ping timeout: 255 seconds)
654: [13:47:34] <Mike123> guy how can i change fb like button message "Be the first of your friends to like this." by my locale language
655: [13:50:23] * nathanz quit (Quit: Leaving.)
656: [13:55:35] * Shrike_Finland has joined #silverstripe
657: [13:55:54] * catcher has joined #silverstripe
658: [14:08:44] <Mike123> guy how do i et current locale like en_US not like en-US ?
659: [14:22:34] * benjhocking quit (Read error: Connection reset by peer)
660: [14:29:47] <DimiStripe> wmk: https://gist.github.com/dljoseph/de44dce46b2194661381 this is what i needed ;)
661: [14:30:07] <DimiStripe> i dont think this is on a standart CMS list
662: [14:30:34] <kinglozzer> Can you pass injection values into <% _t() %> template calls?
663: [14:30:41] <kinglozzer> I'm guessing no...
664: [14:31:11] * muskie9 quit (Ping timeout: 256 seconds)
665: [14:34:30] <kinglozzer> Oh, yeah you can! http://docs.silverstripe.org/en/3.1/developer_guides/i18n/ doh
666: [14:39:40] <Mike123> how can i translate jquery validate error text ?
667: [14:42:28] <UndefinedOffset> Mike123: Have a look at http://docs.silverstripe.org/en/3.1/developer_guides/i18n/#javascript-usage
668: [14:49:26] * Alex_____ has joined #silverstripe
669: [14:50:36] <Alex_____> Hello. I am trying to setup phpunit testing via CLI on windows. My problem is, that whenever I test a URL via Director::test($url) it always returns 404
670: [14:51:10] <Alex_____> how do I have to write the url or did I miss something else?
671: [14:55:31] <Eliseth> Hi
672: [14:55:59] <Eliseth> I have a dataobject "region" with many_many "persons".
673: [14:56:41] <Eliseth> I have a "persons page" that loops the regions, and within the region the persons
674: [14:56:45] <Eliseth> No problem so far
675: [14:57:13] <Eliseth> Now I want to make it so that when a region is clicked only that region with persons from that region is shown
676: [14:57:43] <Alex_____> do you have the on the persons a belongs_many_many to the regions?
677: [14:58:08] <Eliseth> Ehh, no, should I?
678: [14:58:43] <Alex_____> yeah. Object A <- many_many <- Object B AND Object B -> belongs_many_meny -> Object A
679: [14:58:54] <Alex_____> belongs_many_many*
680: [14:59:08] <Alex_____> be sure to use the same "connection name" on both
681: [15:00:13] * joelpittet has joined #silverstripe
682: [15:01:01] * Alex_____ is now known as __alex__
683: [15:01:03] <Eliseth> Sooo, Region.php has "Persons" => "Person"
684: [15:01:17] * __alex__ is now known as ___alex___
685: [15:01:24] <Eliseth> And Person.php should have "Regions" => "Region"?
686: [15:02:07] <___alex___> Region.php -> inside many_many: "RegionPersons" => "Person"
687: [15:02:28] <___alex___> Person.php -> inside belongs_many_many: "RegionPersons" => "Region"
688: [15:02:45] <___alex___> "RegionPersons" would be your "connection name"
689: [15:03:19] <Eliseth> right
690: [15:04:24] <Eliseth> Ok, added the $belongs_many_many
691: [15:04:44] <___alex___> do not forget to dev/build
692: [15:05:07] <Eliseth> done
693: [15:05:38] <___alex___> okay. do you have saved connections between persons and regions? via backend / modeladmin?
694: [15:06:09] <Eliseth> You mean did I add Regions with Persons prior to adding this relation?
695: [15:06:16] <___alex___> yes
696: [15:06:19] <Eliseth> yes
697: [15:07:43] <___alex___> okay. now you should be able to get what you want. on Person Page somewhere: $currentPerson->RegionPersons()
698: [15:07:49] * slievr has joined #silverstripe
699: [15:08:01] <___alex___> which *should* give you a datalist with the regions which connect to the current person
700: [15:08:25] <Eliseth> There is no person page
701: [15:08:26] <slievr> hey guys quick question I have the var "Job Title" in db. How do I call this in template
702: [15:08:39] <___alex___> $JobTitle?
703: [15:09:01] <slievr> nope the space is in the varname
704: [15:09:33] <slievr> I tried Job%20Title to no avaqil
705: [15:09:36] <___alex___> @Eliseth where do you display the current person informationen?
706: [15:10:21] <___alex___> @Eliseth: maybe just do it in the template. <% with $Person %><% loop $PersonRegions %> ...
707: [15:10:53] <___alex___> @slievr: how did you managed to add "Job Title" as DB Field to a model?
708: [15:11:25] <slievr> static $db = array( 'Forename' => 'VarChar', 'Surname' => 'VarChar', 'Branch' => 'VarChar', 'Job Title' => 'VarChar', 'Email' => 'VarChar' );
709: [15:11:41] <slievr> was pretty happy with it
710: [15:11:42] <___alex___> do you have access to the database via phpmyadmin?
711: [15:11:48] <Eliseth> On a page called PersonPage.php that has many_many "Regions" => "Region". The dataobject "Region" has many_many "Persons" => "Person" and the dataobject "Person" has has_one "Region" => "Region"
712: [15:12:20] <slievr> I do not
713: [15:13:05] * muskie9 has joined #silverstripe
714: [15:13:32] <slievr> it is imperative that the field name remains "Job Title" as a third party system connects to it which I have no control of
715: [15:14:16] <___alex___> @Eliseth: okay and now you want to display the Region of the current person on the person page?
716: [15:14:39] <Eliseth> No
717: [15:15:03] <___alex___> @slievr: Okay, you have to add a method to the page_controller or page where you return your "Job Title"
718: [15:15:03] <Eliseth> I want to display a single region with persons from that region only
719: [15:15:53] * Shrike_Finland quit (Quit: Leaving.)
720: [15:15:59] <___alex___> @Eliseth: okay you can do something like: $Persons = Person::get()->filter(array("RegionID" => $currentRegion))
721: [15:17:52] <kinglozzer> ___alex___: Have you set $_FILE_TO_URL_MAPPING ?
722: [15:17:53] <___alex___> @slievr: You have to add a method to the page or page_controller. There you can access the db data via $this->data() or $this->toMap(). then return the value of your job title field
723: [15:17:58] <kinglozzer> (your PHPUnit issue)
724: [15:18:33] <___alex___> @kinglozzer: yes, inside _ss_enviroment.php
725: [15:18:41] <slievr> ___alex___ , was really hoping you wouldn't say that. means quite a bit more work. thanks for the help though =D
726: [15:19:11] <kinglozzer> ___alex___: Are you running tests via the binary directly, or with sake?
727: [15:19:20] <kinglozzer> Looks like sake has some issues: https://github.com/silverstripe/silverstripe-framework/pull/4217
728: [15:19:29] <___alex___> @slievr: no not really. just do "public function getJobTitle(){ $data = $this->toMap(); return $data["Job Title"]; }"
729: [15:19:44] <___alex___> @kinglozzer: via CLI on a windows machine, so binary
730: [15:19:48] <Eliseth> @___alex___ Yeh, I tried that but keeps returning empty arrays... Ahwell, tomorrow is another day. Time to pick up the kids. Thanks for the help so far!
731: [15:20:25] <___alex___> @Eliseth: cya, check your DB, is there data available?
732: [15:21:01] <kinglozzer> ___alex___: Are you testing a page or a controller? If it's a page, have you definitely set up a fixture for it?
733: [15:21:09] <Eliseth> SHould be, because the Region loop -> Persons loop displays everything
734: [15:21:54] <___alex___> @kinglozzer: I am testing a page. I have a fixture in place
735: [15:22:34] <___alex___> @Eliseth: Does it also works when you loop through Region->Persons and Person->Region?
736: [15:23:17] * r_hector quit (Remote host closed the connection)
737: [15:23:18] <kinglozzer> ___alex___: So you're doing something like: $page = $this->objFromFixture('MyPageType', 'mypageidentifier'); Director::test($page->AbsoluteLink());?
738: [15:24:07] <___alex___> @kinglozzer: more like Director::test("/home")
739: [15:24:35] <___alex___> do i have to use the absoluteLink()?
740: [15:24:41] <___alex___> method
741: [15:24:47] <kinglozzer> ___alex___: Is your page definitely being loaded from the fixtures? You've included protected static $fixture_file?
742: [15:25:02] <kinglozzer> I don't think you need AbsoluteLink(), was just an example
743: [15:25:16] <___alex___> inside the same Test I have other tests which work fine with the fixture
744: [15:25:40] <kinglozzer> Hmm
745: [15:25:44] <___alex___> oh... do I have to set the URLSegment inside my fixture?
746: [15:25:57] <kinglozzer> Probably ^^
747: [15:26:01] <___alex___> damn...
748: [15:26:02] <___alex___> okay
749: [15:26:07] * Eliseth quit (Ping timeout: 264 seconds)
750: [15:26:08] <___alex___> gonna try that
751: [15:29:58] * Azure quit (Ping timeout: 272 seconds)
752: [15:30:27] * frostfire64 has joined #silverstripe
753: [15:32:50] * arnhoe quit ()
754: [15:39:33] * Mike123 quit (Quit: Page closed)
755: [15:49:23] * Shrike_Finland has joined #silverstripe
756: [16:06:56] <r3v3rb> any one ever fancy making a live chat system with SS modeladmin for the admin?
757: [16:13:28] * Shrike_Finland quit (Quit: Leaving.)
758: [16:17:09] * frostfire_ has joined #silverstripe
759: [16:20:05] * cloph is now known as cloph_away
760: [16:21:07] * frostfire64 quit (Ping timeout: 256 seconds)
761: [16:25:52] * kinglozzer quit ()
762: [16:28:01] * GioVdK quit (Ping timeout: 250 seconds)
763: [16:31:52] * ss-helper quit (Remote host closed the connection)
764: [16:32:07] * ss-helper has joined #silverstripe
765: [16:35:23] * GioVdK has joined #silverstripe
766: [16:42:04] * GioVdK quit (Ping timeout: 265 seconds)
767: [16:49:05] * cloph_away is now known as cloph
768: [16:50:32] * frostfire_ quit (Ping timeout: 258 seconds)
769: [17:46:14] * ___alex___ quit (Quit: Page closed)
770: [17:50:15] <DimiStripe> Haya , Any chance of displaying number of characters near Textares in CMS backend ? (Module, or quick solution ?)
771: [17:53:48] <catcher> DimiStripe, you mean max #? Or a live updating counter?
772: [17:53:55] <DimiStripe> live counter
773: [17:55:05] <DimiStripe> I found https://github.com/axllent/silverstripe-cms-tweaks which count it on metadata, but i need it on ModelAdmin editing Dataobject records
774: [17:55:48] <catcher> DimiStripe, That's the only one I see as well; it'd be nice to make a new module that just does that.
775: [18:02:45] * r3v3rb quit (Quit: r3v3rb)
776: [18:16:55] <DimiStripe> Indeed it would :) I have added codes for my field to make it work for now
777: [18:41:38] * DimiStripe quit (Quit: DimiStripe)
778: [18:44:17] * Uitto quit (Ping timeout: 265 seconds)
779: [18:44:36] * Uitto has joined #silverstripe
780: [19:01:56] <ss-helper> How to sort and filter children in Silverstripe - http://stackoverflow.com/questions/30716966/how-to-sort-and-filter-children-in-silverstripe
781: [19:11:39] * Liquide has joined #silverstripe
782: [19:14:04] <catcher> What's the best bet for CDN / S3 w/ SS these days?
783: [20:00:46] * nathanz has joined #silverstripe
784: [20:04:45] * nathanz quit (Client Quit)
785: [20:07:11] * Stomach has joined #silverstripe
786: [20:09:43] * UndefinedOffset quit (Quit: Leaving.)
787: [20:16:50] * Pyromanik has joined #silverstripe
788: [20:29:45] * zippy has joined #silverstripe
789: [20:33:44] <zippy> morning
790: [20:35:21] <Stomach> hey hey
791: [20:35:46] <zippy> whats cracking
792: [20:44:20] <Stomach> bugger all
793: [20:44:25] <Stomach> trying to work out what to do today
794: [20:44:27] <Stomach> yourself?
795: [20:45:01] <zippy> Before: 3.059 seconds; After: 0.810
796: [20:45:06] <zippy> decent speed up eh
797: [20:46:10] <Pyromanik> o/ zippy
798: [20:46:16] <Pyromanik> \o Stomach
799: [20:46:24] <Stomach> o/
800: [20:46:29] <zippy> hey Pyro
801: [20:46:30] <Stomach> zippy - whats that from?
802: [20:46:34] <zippy> 1 tick
803: [20:46:34] <Stomach> the micmania PR?
804: [20:46:35] <zippy> formatting
805: [20:47:12] * ss-helper quit (Remote host closed the connection)
806: [20:47:19] <Pyromanik> fuck
807: [20:47:28] * ss-helper has joined #silverstripe
808: [20:48:23] <Pyromanik> what did you do zippy ?
809: [20:48:34] <Pyromanik> !WHATDIDYOUDO?
810: [20:49:11] <zippy> Stomach: yea, his PR
811: [20:49:28] <zippy> Just did some benchmarks; https://github.com/silverstripe/silverstripe-framework/pull/4148#issuecomment-109956471 - think the figures are correct
812: [20:51:36] <Pyromanik> sweet.
813: [20:51:42] * irogue_ has joined #silverstripe
814: [20:52:09] <Pyromanik> \o irogue_
815: [20:52:09] <zippy> not only is flushing quite a bit faster, but in many cases you don't need to flush since config values don't get cached
816: [20:52:14] <zippy> irogue_: morning
817: [20:52:22] <irogue_> o/ Pyromanik, zippy
818: [20:52:45] <Pyromanik> zippy, no cache?
819: [20:52:54] <Pyromanik> and requests still performant?
820: [20:52:57] <Pyromanik> neat.
821: [20:53:02] <zippy> and memory is less
822: [20:53:07] <Pyromanik> neato
823: [21:01:13] * Stomach quit (Quit: zzz)
824: [21:02:08] * glenn-bautista has joined #silverstripe
825: [21:02:22] * glenn-bautista1 has joined #silverstripe
826: [21:02:28] * glenn-bautista quit (Read error: Connection reset by peer)
827: [21:03:20] * Stomach has joined #silverstripe
828: [21:10:38] * Stomach quit (Quit: zzz)
829: [21:12:24] * Ryan-Toast has joined #silverstripe
830: [21:14:13] * joelpittet quit (Remote host closed the connection)
831: [21:20:09] * catcher quit (Ping timeout: 246 seconds)
832: [21:20:11] * stecman has joined #silverstripe
833: [21:20:36] <zippy> http://theoatmeal.com/blog/apple_watch :)
834: [21:21:03] <Pyromanik> iwatch
835: [21:21:08] <Pyromanik> does it do porn?
836: [21:21:10] <Pyromanik> iwatchporn
837: [21:21:20] <Pyromanik> xD
838: [21:21:37] <Pyromanik> HILARIOUS DAD JOKE, T MINUS +1
839: [21:22:11] * Phlunk3 has joined #silverstripe
840: [21:24:24] * Hailwood has joined #silverstripe
841: [21:26:04] <Ryan-Toast> zippy: “Apple watch, and why it’s two years late.”
842: [21:26:26] * PenguinMan98 has joined #silverstripe
843: [21:26:55] <PenguinMan98> I've screwed something up. My $layout variable always prints out the string 'Foo' on every page.
844: [21:27:01] <PenguinMan98> Any ideas what I did?
845: [21:27:22] <Ryan-Toast> PenguinMan98: On every page layout?
846: [21:27:25] <PenguinMan98> Yes
847: [21:27:48] <PenguinMan98> $Content works fine
848: [21:27:50] <Ryan-Toast> Anything in your Page.pph?
849: [21:27:54] <Ryan-Toast> php**
850: [21:28:11] <PenguinMan98> umm... I'll have alook
851: [21:28:14] <Ryan-Toast> Otherwise time to Ctrl + Shift + F
852: [21:28:35] <PenguinMan98> Nope. Nothing there
853: [21:28:40] <zippy> $Layout is only used in the templates outside the Layout folder isn't it? doing a search probably best
854: [21:28:48] <zippy> maybe your Layout/MyFile.ss just has Foo in it :)
855: [21:29:00] <PenguinMan98> There's a problem with doing search in any codebase for the string 'Foo'
856: [21:29:04] <Ryan-Toast> zippy: he said all page templates do it.
857: [21:29:13] <Ryan-Toast> I’d just search for Foo.
858: [21:29:15] <PenguinMan98> 6,198 results
859: [21:29:21] <Ryan-Toast> Lol
860: [21:29:25] <zippy> PenguinMan98: search your mysite folder first, and templates folder
861: [21:29:27] <zippy> and go from there
862: [21:30:13] <PenguinMan98> found two references. 'Footer'
863: [21:31:45] <PenguinMan98> If I open the search to my whole theme directory..
864: [21:32:00] <PenguinMan98> 10,000+ results
865: [21:32:31] <Ryan-Toast> Do a search for “Foo” or Foo with a space afterwards perhaps.
866: [21:32:43] <PenguinMan98> I'm sure this is something I did when I was playing around with this thing a few weeks back
867: [21:32:51] <zippy> or, "Foo" or 'Foo' (so add in the quotes)
868: [21:32:55] <PenguinMan98> But now I need to change it and I can't figure out what I did
869: [21:33:04] <zippy> git / svn log?
870: [21:33:27] <PenguinMan98> I wasn't using git at the time
871: [21:33:32] <PenguinMan98> I am now
872: [21:36:09] * MichalKleiner quit ()
873: [21:39:50] * MichalKleiner has joined #silverstripe
874: [21:40:52] * joelpittet has joined #silverstripe
875: [21:45:19] * micmania1 has joined #silverstripe
876: [21:45:34] <zippy> micmania1: morning
877: [21:46:02] <micmania1> zippy: arreeet
878: [21:50:32] <micmania1> zippy: are you nfauchelle?
879: [21:50:48] <zippy> possibly
880: [21:50:58] <zippy> I did post some benchmarks
881: [21:51:05] <micmania1> Thanks for the performance test stuff :)
882: [21:51:19] <zippy> hopefully you didn't get a bunch of emails as I fucked around with those tables, my god
883: [21:52:33] <zippy> I think I will make my little performance tester script output the stats into the markdown table format for next time
884: [21:52:37] <micmania1> nah, don’t think so
885: [21:56:11] <Ryan-Toast> Is “$this->request->param('ID');” alredy escaped?
886: [21:56:18] <Ryan-Toast> sanitised I mean
887: [21:56:23] <PenguinMan98> I wonder if it's something screwed up in the database
888: [21:57:18] <Pyromanik> PenguinMan98, you only have to search mysite/code
889: [21:57:42] <Pyromanik> areet micmania1
890: [21:57:46] <micmania1> areet
891: [21:58:10] <PenguinMan98> 0 results found for 'foo' in the misite/code
892: [21:58:31] <Pyromanik> no 'folder misite does not exist' error?
893: [21:58:56] * PenguinMan98 baps. Silly
894: [21:59:09] <PenguinMan98> mysite*
895: [21:59:11] <Pyromanik> mmm baps
896: [22:00:01] <zippy> Ryan-Toast: no
897: [22:00:09] <Ryan-Toast> zippy: So just cast it as an int?
898: [22:00:23] <zippy> Ryan-Toast: depens what you are going to do
899: [22:00:37] <Ryan-Toast> zippy: Just grabbing an id, then get()->byID
900: [22:00:40] <PenguinMan98> I've got two guys looking at this and nobody can figure it out
901: [22:00:42] <zippy> $foo = MyFoo::get()->byId($this->request->param('ID')); is fine
902: [22:00:47] <zippy> since byId does sanaitize
903: [22:00:52] <Ryan-Toast> zippy: Ah, cool :)
904: [22:00:57] <Ryan-Toast> Churbo
905: [22:01:17] <PenguinMan98> Perhaps if I knew where the cms replaced those tokens, I could start the debugging process
906: [22:01:38] <zippy> no so much sanatize but escape
907: [22:01:42] <zippy> PenguinMan98: go to your Page.php
908: [22:01:46] <zippy> do you have an init function?
909: [22:02:06] <PenguinMan98> Yes. It calls the parent::init()
910: [22:02:07] <zippy> btw, with this Foo
911: [22:02:16] <zippy> is it the ONLY thing on the page, if you view sauce is there any html?
912: [22:02:31] <PenguinMan98> There is html
913: [22:02:38] <Pyromanik> PenguinMan98, no. You either send that specifically as a template variable, or your template heirarchy is bung.
914: [22:02:45] <Pyromanik> which means you named them wrong.
915: [22:02:57] <zippy> Do you have a function, or a vairable named Foo ?
916: [22:02:59] <zippy> I mean
917: [22:03:00] <zippy> Layout
918: [22:03:18] <PenguinMan98> Just where the $layout appears it is replaced with 'Foo'
919: [22:03:19] <zippy> is there a field in the DB on Page ?
920: [22:03:24] <Pyromanik> cms doesn't 'replace tokens'
921: [22:03:25] <zippy> called Layout
922: [22:03:43] <Pyromanik> PenguinMan98, and try it with a captial L
923: [22:03:46] <PenguinMan98> Not that I'm aware of
924: [22:03:51] <zippy> Foo might be in the database and you have a field called Layout in your $db
925: [22:04:04] <Pyromanik> lol yeah that might hammer it
926: [22:04:25] <Pyromanik> Debug::show($this)
927: [22:04:42] <PenguinMan98> http://screencast.com/t/AhZaE88PZA
928: [22:05:35] <zippy> !paste PenguinMan98 your Page.php, Page.ss and Layouts\Page.ss
929: [22:05:35] <ss-helper> PenguinMan98: Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
930: [22:06:07] <zippy> PenguinMan98: search your mysite folder for 'layout' and make sure it's case in-sensetive
931: [22:08:15] * zippy sits in his seat rocking
932: [22:08:21] <zippy> whats happeeneing
933: [22:08:42] <PenguinMan98> https://gist.github.com/anonymous/085c0aba91b491e0570a
934: [22:08:46] <Pyromanik> PenguinMan98, $FooterScripts?
935: [22:08:47] <Pyromanik> :<
936: [22:09:06] <PenguinMan98> I plan to move those into the Controller
937: [22:09:15] <PenguinMan98> Just gotta get this bug nuked
938: [22:09:49] <Pyromanik> lol there's literally nothing in them
939: [22:09:57] <PenguinMan98> srs
940: [22:09:58] <Pyromanik> those the only two classes?
941: [22:10:04] <PenguinMan98> yup
942: [22:10:07] <PenguinMan98> I have no others yet
943: [22:10:15] <Pyromanik> is that the only thing you've done?
944: [22:10:19] <Pyromanik> code wise?
945: [22:10:25] <Pyromanik> err, php code wise*
946: [22:10:28] <PenguinMan98> Yes
947: [22:10:35] <PenguinMan98> afaik
948: [22:10:45] <Pyromanik> explain to me please <% include FooterScripts %> ?
949: [22:10:57] <PenguinMan98> It's an Include I created
950: [22:11:05] <PenguinMan98> it has some javascripts in it
951: [22:11:07] <Pyromanik> with <what> in it exactly?
952: [22:11:13] * CodeTrap1 quit (Ping timeout: 264 seconds)
953: [22:11:15] <PenguinMan98> jquery, bootstrap, etc.
954: [22:11:23] <PenguinMan98> nothing exciting
955: [22:11:29] <Pyromanik> Like... <script src="what am I even doing?"
956: [22:11:36] <PenguinMan98> yes
957: [22:11:41] <Pyromanik> hrrrrmmmmph.
958: [22:11:42] <Pyromanik> no.
959: [22:12:15] <Pyromanik> <% require javascript('framework/thirdparty/jquery/jquery.js') %>
960: [22:12:25] <Pyromanik> trust me, it'll save you a lot of ballache later :)
961: [22:12:30] <Pyromanik> etc.
962: [22:12:50] <PenguinMan98> I had that first. It wasn't working
963: [22:13:14] <Pyromanik> http://docs.silverstripe.org/en/3.1/developer_guides/templates/requirements/
964: [22:13:19] <Pyromanik> you typed the paths wrong :>
965: [22:13:35] <zippy> shame the thirdparty one is soo out of date thou
966: [22:13:40] <zippy> bootstrap doesn't like it anymore
967: [22:14:04] <PenguinMan98> The 'footerscripts' thing is temporary
968: [22:14:11] <PenguinMan98> I just need a proof of concept
969: [22:14:15] <zippy> yeap, need to figure out this Foo!
970: [22:14:28] <Pyromanik> zippy, yeh. But that's where <% block %> comes in :P
971: [22:14:32] <PenguinMan98> It's not in the front controller
972: [22:14:37] <Pyromanik> err, requirements block()
973: [22:14:42] <zippy> agree
974: [22:14:49] <Pyromanik> Pyromanik, yeh, just putting it out there
975: [22:14:51] <zippy> I still recomend the use of requirements for sure
976: [22:15:04] <PenguinMan98> It's on my to-do list
977: [22:15:19] <PenguinMan98> As I said 5 minutes ago
978: [22:15:33] <PenguinMan98> I gotta figure out the 'foo' thing first
979: [22:15:34] <zippy> in your Page.php in the init, what if you do Debug::show($this); and see what it has down for Layout
980: [22:15:37] * Stomach has joined #silverstripe
981: [22:15:50] <Pyromanik> nah, it's empty class.
982: [22:16:13] <zippy> wouldn't that pull in the parent stuff as well?
983: [22:16:36] <Pyromanik> PenguinMan98, I'm just gonna put this out there... but are you sure you're working on the correct site?
984: [22:16:44] <Pyromanik> as in, copy of the files?
985: [22:16:53] <zippy> PenguinMan98: your Layouts\Page.ss doesn't just contain "Foo" does it?
986: [22:16:55] <Pyromanik> I've wasted hours trying to figure that out before.
987: [22:17:13] <Pyromanik> zippy, apparently not, search in folders return nope.
988: [22:17:16] <Pyromanik> nowt.
989: [22:17:21] <PenguinMan98> no it does not
990: [22:17:29] <Pyromanik> PenguinMan98, so this is a fresh install
991: [22:17:32] <PenguinMan98> yes
992: [22:17:36] <Pyromanik> and you've made only a homepage.php
993: [22:17:36] <PenguinMan98> ish
994: [22:17:44] <Pyromanik> and the rest is all themeing?
995: [22:17:47] <Pyromanik> theming?
996: [22:17:50] <Pyromanik> :<
997: [22:17:55] <Pyromanik> themeing looks right i think.
998: [22:17:57] <PenguinMan98> I made this install a few months back and tinkered with the theming and then abandoned it
999: [22:18:13] <Pyromanik> This is fun.
1000: [22:18:15] <PenguinMan98> Now I made a new project by making a copy of the old one
1001: [22:18:16] <Pyromanik> I like this.
1002: [22:18:37] <PenguinMan98> but the 'foo' persists...
1003: [22:19:02] <PenguinMan98> putting Debug::show($this); into the init function of the Page.php prints out information about the Page class.
1004: [22:19:12] <zippy> and then ctrl-f
1005: [22:19:15] <zippy> any foo there
1006: [22:19:20] <Pyromanik> or Layout
1007: [22:19:34] <zippy> when you did your searches earlier... did you have it case insensetive?
1008: [22:19:44] <Pyromanik> and did you try $Layout yet?
1009: [22:19:53] <PenguinMan98> The foo appears where the $Layout token is
1010: [22:20:10] <PenguinMan98> My screenshot should show I'm using $Layout
1011: [22:20:10] <Pyromanik> and, what version is this?
1012: [22:20:18] <PenguinMan98> 3.1?
1013: [22:20:23] <PenguinMan98> pretty sure
1014: [22:20:26] <zippy> um
1015: [22:20:34] <zippy> can you look in your mysite/confg/_config.yml
1016: [22:20:36] <Pyromanik> PenguinMan98, silverstripe_version
1017: [22:20:43] <Pyromanik> in cms, and/or framework
1018: [22:20:46] <PenguinMan98> Silverstripe 3.1
1019: [22:20:47] <zippy> are you doing Page: Layout: 'foo'; ?
1020: [22:20:52] <Pyromanik> 3.1.???
1021: [22:21:00] <PenguinMan98> dunno
1022: [22:21:08] <zippy> check your _config.yml please
1023: [22:21:09] <Pyromanik> it doesnt' say in that file?
1024: [22:21:39] <zippy> composer doesn't populate that folder which is a bit poo btw
1025: [22:21:43] <zippy> *that file
1026: [22:21:48] <Pyromanik> eh?
1027: [22:21:55] <Pyromanik> oh
1028: [22:22:00] <Pyromanik> right, it's release only eh
1029: [22:22:10] <PenguinMan98> https://gist.github.com/anonymous/02c2215333ddafc9a39a#file-gistfile1-txt
1030: [22:22:14] <PenguinMan98> config yaml
1031: [22:22:15] <Pyromanik> mmm, but composor.joson should have it
1032: [22:22:22] <zippy> balls
1033: [22:22:40] <zippy> what about mysite/_config.php
1034: [22:22:40] <Pyromanik> ok next question, how many themes do you have?
1035: [22:22:54] <zippy> oh yea, wonder if in the right theme folder :) lol
1036: [22:22:57] <Pyromanik> and if you do $Layout DL:KSJKG:JS:DHGHLSJDLKGJSLKDJGSLK:
1037: [22:22:59] <Pyromanik> does it show?
1038: [22:24:12] <PenguinMan98> two themes. Only one is in use. 'slcair'
1039: [22:24:24] <Pyromanik> ie, Foo DL:KSJKG:JS:DHGHLSJDLKGJSLKDJGSLK:
1040: [22:24:25] <zippy> could of been changed in the CMS thoug
1041: [22:24:38] <PenguinMan98> the simple theme doesn't have 'Foo' in it
1042: [22:24:43] <zippy> k
1043: [22:25:00] <Pyromanik> yeah but humour me and modify your theme in some way supremely obvious
1044: [22:25:18] <Pyromanik> ensure it takes effect
1045: [22:25:33] <PenguinMan98> I've been changing my theme all day
1046: [22:25:42] <Pyromanik> and the issue has been all day?
1047: [22:25:48] <zippy> Pyromanik: you need to say "please" :)
1048: [22:25:49] <PenguinMan98> If I change it to $Content then it works just perfectly
1049: [22:25:58] <Pyromanik> zippy, please sir.
1050: [22:26:07] <PenguinMan98> sudo make a change to the theme
1051: [22:26:11] <PenguinMan98> hehe
1052: [22:26:13] <Pyromanik> PenguinMan98, do you have an applicable Layout/Page.ss?
1053: [22:26:19] <PenguinMan98> yers
1054: [22:26:20] <Pyromanik> hehe
1055: [22:26:23] <Pyromanik> hmm
1056: [22:26:37] <zippy> Whats in there? maybe there is $Something which is a function call which returns Foo
1057: [22:26:38] * UncleCheese has joined #silverstripe
1058: [22:26:39] <Pyromanik> I would like to try now please, the Helicopeter.
1059: [22:27:36] <PenguinMan98> If I change templates/Page.ss , the page changes
1060: [22:27:54] <PenguinMan98> If I change any of the includes, they also change
1061: [22:28:10] <Pyromanik> compuzzler update? xD
1062: [22:28:35] <PenguinMan98> If I use the HomePage which doesn't use the $Layout, then it works fine
1063: [22:28:48] <PenguinMan98> If I remove $Layout in favor of $content, it works fine
1064: [22:28:59] <Pyromanik> but if you put $Layout into HomePage.ss it also Foo's
1065: [22:29:01] <Pyromanik> ?
1066: [22:29:07] <PenguinMan98> But $Layout itself only ever returns Foo no matter where I put it.
1067: [22:29:42] <Pyromanik> I think maybe you edited the core that while back when you were playing around.
1068: [22:29:59] * PenguinMan98 shrugs. Entirely possible
1069: [22:30:26] <Pyromanik> since your classes literally have nothing in them (certainly not relevant) and the config is also default.
1070: [22:30:30] <Pyromanik> besides the theme setting.
1071: [22:30:44] <Pyromanik> you have no modules installed?
1072: [22:31:29] <Pyromanik> grep -rn ['"]Foo['"]
1073: [22:31:31] <Pyromanik> ?
1074: [22:31:32] <Pyromanik> :P
1075: [22:32:09] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1076: [22:32:28] <PenguinMan98> Working
1077: [22:33:04] <PenguinMan98> that regex fails
1078: [22:33:09] <PenguinMan98> unmatched [
1079: [22:33:34] <Pyromanik> might need z
1080: [22:33:36] <Pyromanik> errr \
1081: [22:33:44] <Pyromanik> grep and cli and funnyness
1082: [22:33:49] <Pyromanik> not PERL compatible.
1083: [22:34:00] <Pyromanik> is POSIX regex, bit different.
1084: [22:34:02] <PenguinMan98> grep -rn "['\"]Foo['\"]"
1085: [22:34:15] <Pyromanik> yeh but wront way around with " and '
1086: [22:34:27] <Pyromanik> bash is trying to expand [] before it passes it as var.
1087: [22:34:28] <Pyromanik> err
1088: [22:34:31] <Pyromanik> param.
1089: [22:34:42] <Pyromanik> or your shell, whichever it is.
1090: [22:34:47] <Pyromanik> probably bash based.
1091: [22:34:56] <Pyromanik> or compatible
1092: [22:35:01] <Pyromanik> or whatever.
1093: [22:35:49] <PenguinMan98> I'm not experienced enough to know about that
1094: [22:35:55] <Pyromanik> anyway, the easiest way to find out if you modfied core is to do an update to latest release, then if the problem goes away, good. If it doesn't, at least you're running the right version now.
1095: [22:36:03] * mahfuz has joined #silverstripe
1096: [22:36:07] <PenguinMan98> Heh. I wish
1097: [22:36:11] <Pyromanik> o.0
1098: [22:36:15] <PenguinMan98> This is due tomorrow. No time to start over
1099: [22:36:23] <Pyromanik> I said update -.-
1100: [22:36:29] <Pyromanik> not 'rebuild site from scratch plz'
1101: [22:36:30] <PenguinMan98> I can't use composer
1102: [22:36:35] <Pyromanik> is it in composer?
1103: [22:36:41] <Pyromanik> no?
1104: [22:36:45] <Pyromanik> and you have no modules right?
1105: [22:36:46] <Pyromanik> yes.
1106: [22:36:52] <Pyromanik> and so then you do it the old fashioned way.
1107: [22:36:54] <PenguinMan98> I initially installed from composer a month ago
1108: [22:37:05] <PenguinMan98> but it's progressed to the point that composer just breaks everything
1109: [22:37:12] <Pyromanik> simply just replace cms and framework with the extracts from the latest release.
1110: [22:37:27] <Pyromanik> (don't just copy over top though, remove/backup then put new ones in)
1111: [22:37:28] <PenguinMan98> kk
1112: [22:37:31] <PenguinMan98> I'll try that
1113: [22:37:41] * spronk has joined #silverstripe
1114: [22:37:43] <Pyromanik> don't just rename folders though, or the autoloader will have a fit.
1115: [22:38:09] <Pyromanik> take existing cms and framework out of the dir (into another one as backup) then plonk in new ones.
1116: [22:38:12] <Pyromanik> do a dev/build
1117: [22:38:14] <Pyromanik> then do a ?flush
1118: [22:38:19] <Pyromanik> then hopefully, problem solved.
1119: [22:38:33] <Pyromanik> In the mean time, immo go brush my teeth.
1120: [22:41:30] <PenguinMan98> I was gonna use git to make a snapshot first
1121: [22:41:33] <PenguinMan98> If no go, then revert
1122: [22:46:00] <PenguinMan98> attempting a flush
1123: [22:46:09] <PenguinMan98> btw, my flush takes like 30 seconds and throws many errors
1124: [22:46:21] <PenguinMan98> well, warnings about files it couldn't find anyway
1125: [22:46:30] <PenguinMan98> All in the node modules
1126: [22:47:02] <zippy> node modules?
1127: [22:47:36] <PenguinMan98> themes/mytheme/node_modules
1128: [22:47:38] <PenguinMan98> yup
1129: [22:47:41] <zippy> Is this website "sensetive" in any way? would you mind dropping a database backup, zipping the whole thing and giving me a link to the zip file or something?
1130: [22:48:00] <zippy> flush would be 5-6 seconds~
1131: [22:48:16] <PenguinMan98> Warning: scandir(C:\projects\slcairport-com\public/themes/slcair/node_modules/gulp-bower/node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexify/node_modules/end-of-stream/node_modules/once,C:\projects\slcairport-com\public/themes/slcair/node_modules/gulp-bower/node_modules/bower/node_modules/update-notifier/node_modules/latest-version/no
1132: [22:48:28] <spronk> fuck new zealand post in the goat arse
1133: [22:49:02] <PenguinMan98> The system cannot find the path specified. (code: 3) in C:\projects\slcairport-com\public\framework\filesystem\FileFinder.php on line 133
1134: [22:49:38] <zippy> spronk: see WWDC... I don't like the name of the new OSX, but will take the speed improvements
1135: [22:49:49] <spronk> i havent really looked yet
1136: [22:49:53] <PenguinMan98> And indeed, those files it is looking for, aren't there. I'm not sure why it's looking for htem yet
1137: [22:49:57] <spronk> have they said speed improvements?
1138: [22:50:13] <zippy> yeap
1139: [22:50:18] <spronk> about fucking time
1140: [22:50:32] <zippy> OS X El Capitan
1141: [22:50:35] <zippy> bit of a poo name
1142: [22:50:39] <spronk> mmlol
1143: [22:50:44] <irogue_> its a rock formation in Yosemite
1144: [22:50:51] <PenguinMan98> I replaced the 'cms' folder and the 'framework' directory with a fresh download
1145: [22:50:54] <PenguinMan98> the 'Foo' remains
1146: [22:50:59] <spronk> all these codename are a bit lame now that they ran out of cats
1147: [22:51:06] <spronk> they should have started on dogs or something
1148: [22:51:09] <zippy> PenguinMan98: send me a zip of the project with db
1149: [22:51:12] <spronk> or bears
1150: [22:51:23] <Pyromanik> PenguinMan98, at a guess, a module you've installed.
1151: [22:51:47] <Pyromanik> PenguinMan98, so what modules have you got installed?
1152: [22:51:57] <spronk> though
1153: [22:52:01] <spronk> san francisco is a fucking horrid font
1154: [22:52:02] <Pyromanik> and/or what _other_ files have you got in the project dir?
1155: [22:52:04] <spronk> looks like roboto
1156: [22:52:08] <spronk> Pyromanik!!!!!!!!
1157: [22:52:22] <Pyromanik> yo spronk !!!!!!!!!!!!
1158: [22:52:24] <Pyromanik> ??
1159: [22:52:31] * spronk doesn't often see you here
1160: [22:52:43] <spronk> thought i'd better add a few ! for good measure
1161: [22:52:45] <irogue_> yeah, this is sounding extremely fucked up PenguinMan98, odds are we won't be able to help unless you give someone access to the codebase
1162: [22:53:15] <zippy> > 50% improvements in rendering with 40% less CPU processing power required for graphics.
1163: [22:53:24] <spronk> hmm
1164: [22:53:30] * PenguinMan98 nods. Sorry. I'm not sure what I can do about that. I don't know the extent of what my NDA covers
1165: [22:53:31] <spronk> maybe that'll help with the UI slowness
1166: [22:53:32] <zippy> https://www.apple.com/pr/library/2015/06/08Apple-Announces-OS-X-El-Capitan-with-Refined-Experience-Improved-Performance.html
1167: [22:53:58] <spronk> i see they're ditching discoveryd
1168: [22:54:03] <spronk> so maybe wifi will work properly again
1169: [22:54:03] <spronk> lul
1170: [22:54:04] <zippy> yea
1171: [22:54:24] <PenguinMan98> the php has a wordpress installed
1172: [22:54:26] <Pyromanik> spronk, typed like a true trainee salesman
1173: [22:54:34] <Pyromanik> gawd
1174: [22:54:50] <Pyromanik> spronk, everyone knows a proper salesman would have used more capitals to make it 'pop'
1175: [22:54:56] <spronk> lol
1176: [22:55:05] <PenguinMan98> And phpunit, symfony
1177: [22:55:23] <Pyromanik> yeah but so long as they're not in the same dir, then that should be ifne.
1178: [22:55:26] <Pyromanik> fine*
1179: [22:55:38] <PenguinMan98> The node modules are just gulp mostly
1180: [22:56:24] <Pyromanik> PenguinMan98, NDA is enough to say no to all the things in itself I would say. Play it safe.
1181: [22:57:12] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
1182: [22:57:13] <Pyromanik> so yeah. I'm gonna point the finger at some kinda environmental thing
1183: [22:57:22] <Pyromanik> since we can't find a solution otherwise.
1184: [22:57:31] <spronk> hmm
1185: [22:57:31] <Pyromanik> rm -rf silverstripe-cache
1186: [22:57:33] <spronk> what's the problem?
1187: [22:57:33] <Pyromanik> just to be sure
1188: [22:57:34] <spronk> yeah
1189: [22:57:40] * spronk was just going to suggest clobbering cache
1190: [22:57:46] <Pyromanik> spronk, $Layout === 'Foo' at all times on all pages
1191: [22:58:03] <spronk> oh
1192: [22:58:04] <spronk> ?
1193: [22:58:13] <spronk> search code for instances of 'Layout'
1194: [22:58:19] <spronk> ? :P
1195: [22:58:22] <Pyromanik> mebbe.
1196: [22:58:37] <Pyromanik> we tried 'Foo' --> 1billion resuilts
1197: [22:58:38] <Pyromanik> lulz
1198: [22:58:49] <spronk> really? :S
1199: [22:58:52] <spronk> wtf
1200: [22:58:57] <spronk> docs?
1201: [22:58:58] <Pyromanik> oh, today I learnt that "lul" means 'dick' in Urdu.
1202: [22:59:07] <irogue_> Pyromanik: lul
1203: [22:59:11] * spronk knew this :D
1204: [22:59:22] <Pyromanik> so when you say "There's been a lul in sales recently", it's just so fantastic.
1205: [22:59:31] <spronk> funnily enough
1206: [22:59:34] <Pyromanik> or lull, however you spell it.
1207: [22:59:35] <spronk> the sentence is usually true both ways
1208: [22:59:42] <Pyromanik> spronk, yep, exactly! :D
1209: [22:59:59] <Pyromanik> SALESPERSONS ARE ALWAYS SO EXCITED ABOUT EVERYTHING, EVER!!!!!!!!!!!!!!!!!!!!!!!!!1
1210: [23:00:19] <spronk> GET YOUR WACKY WAVING INFLATABLE ARM-FLAILING TUBE MAN!
1211: [23:00:42] <Pyromanik> so i guess it also means dick in Hindi
1212: [23:00:53] <zauberfisch> UncleCheese: can you mark one of the display_logic packages on packagist as deprecated please?
1213: [23:00:57] <zauberfisch> probably this one: https://packagist.org/packages/silverstripe/display-logic
1214: [23:06:22] * Stomach quit (Quit: zzz)
1215: [23:08:20] <spronk> ah nzpost. USPS has outed you by showing me that you make no attempt to even deliver parcels to me
1216: [23:10:47] * Stomach has joined #silverstripe
1217: [23:11:32] * Colin[pi] has joined #silverstripe
1218: [23:11:36] <Pyromanik> PenguinMan98, please, let us know if you solve it!
1219: [23:11:42] <Pyromanik> (what was causing it)
1220: [23:12:10] <PenguinMan98> I will
1221: [23:12:29] <Pyromanik> Unfortunately I cannot help any longer.
1222: [23:12:34] <Pyromanik> I must sleep.
1223: [23:12:43] * cloph quit (Ping timeout: 258 seconds)
1224: [23:12:46] <Pyromanik> ciao folks
1225: [23:12:48] * Pyromanik quit (Quit: Leaving)
1226: [23:12:49] <Colin[pi]> morning all o/
1227: [23:12:51] <Colin[pi]> cya pyro
1228: [23:12:51] <spronk> PenguinMan98 any further info on whats happening?
1229: [23:12:55] <spronk> ello colin
1230: [23:13:00] <Colin[pi]> spronk: o/
1231: [23:13:15] <PenguinMan98> I created a HomePage.ss in the Layouts folder
1232: [23:13:26] <PenguinMan98> When I change a page to use it, it works perfectly
1233: [23:13:39] <PenguinMan98> Same Page.ss
1234: [23:13:46] <PenguinMan98> same $Layout
1235: [23:14:05] <PenguinMan98> But if it's a Page type, then the $Layout always returns 'Foo'
1236: [23:14:50] * Liquide quit ()
1237: [23:15:11] <PenguinMan98> $Content works fine
1238: [23:16:05] <spronk> just the string Foo in the middle of layout?
1239: [23:16:32] <spronk> have you searched the codebase for "Foo" and 'Foo', and also Layout ?
1240: [23:16:41] <spronk> it sounds like there's something in there overwriting the variable
1241: [23:18:50] * UncleChe_ has joined #silverstripe
1242: [23:20:46] <UncleCheese> zauberfisch please advise?
1243: [23:21:00] <irogue_> PenguinMan98: yeah, it sounds like you might either have a Layout/Page.ss somewhere with Foo in it, or a Layout() or getLayout() function in your Page class or something extending Page
1244: [23:21:42] <PenguinMan98> There was an entire copy of the framework directory in my theme
1245: [23:21:48] <spronk> :|
1246: [23:22:00] <PenguinMan98> When I deleted it, things started to work properly again
1247: [23:22:19] <spronk> yeah
1248: [23:22:19] <spronk> that'd do it
1249: [23:22:20] <PenguinMan98> though it still takes 30 seconds to flush
1250: [23:22:34] <PenguinMan98> cuz it's still looking for stuff in the node_modules
1251: [23:22:49] <spronk> hmm
1252: [23:23:25] <PenguinMan98> And the admin area has 5 second page load times no matter where I go
1253: [23:23:32] <PenguinMan98> really annoying
1254: [23:23:49] <spronk> hmm :S
1255: [23:24:21] <PenguinMan98> Its my curse. I can break ANYTHING.
1256: [23:26:40] <PenguinMan98> Slim microframework has a 5 line tutorial. Get a website running in 5 lines of code
1257: [23:26:44] <PenguinMan98> 5
1258: [23:26:47] <PenguinMan98> And I broke it
1259: [23:27:05] <PenguinMan98> And blogged about it
1260: [23:27:25] <PenguinMan98> http://programmerrants.tumblr.com/
1261: [23:27:27] * Ryan-Toast quit (Quit: Ryan-Toast)
1262: [23:28:14] * camfindlay has joined #silverstripe
1263: [23:29:47] <irogue_> PenguinMan98: I suspect a lot of your "stuff breaking" could be related to developing on Windows
1264: [23:30:37] <irogue_> e.g. Slim does definitely include .htaccess when you install it using composer, but Windows isn't very fond of filenames starting with dots and does weird things
1265: [23:31:51] * travis-ci has joined #silverstripe
1266: [23:31:52] <travis-ci> silverstripe/silverstripe-framework#4946 (3 - f21e595 : Damian Mooyman): The build passed.
1267: [23:31:52] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/836c8bf1c7eb...f21e59585ed9
1268: [23:31:52] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/65971903
1269: [23:31:52] * travis-ci has left #silverstripe
1270: [23:33:01] <spronk> windows and dotfiles is fine...
1271: [23:33:47] * Ryan-Toast has joined #silverstripe
1272: [23:40:22] * Stomach quit (Quit: zzz)
1273: [23:41:29] * travis-ci has joined #silverstripe
1274: [23:41:30] <travis-ci> silverstripe/silverstripe-framework#4947 (master - 786b1dd : Damian Mooyman): The build passed.
1275: [23:41:30] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/358b7bfa0544...786b1dd5d4ae
1276: [23:41:30] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/65972590
1277: [23:41:30] * travis-ci has left #silverstripe
1278: [23:43:08] <irogue_> spronk: I've had similar issues with composer on windows not pulling down dotfiles
1279: [23:43:19] <spronk> oh?
1280: [23:43:52] <irogue_> I know WinXP and below had real issues with dotfiles, but they mostly fixed it in Vista - but some software (e.g. composer) still seems to get a bit wobbly about them on windows
1281: [23:44:07] <spronk> hmm
1282: [23:44:15] <spronk> i've never really had any issues with dotfiles on windows :S
1283: [23:45:12] <spronk> there were a few quirks back in the day
1284: [23:45:23] <spronk> like some tools that needed an extra dot at the end of the filename
1285: [23:45:29] <spronk> but in general it worked fine?
1286: [23:46:24] <Colin[pi]> yeah the only issue I've had with composer on windows is that it's slow as balls
1287: [23:46:30] <zauberfisch> UncleCheese: https://packagist.org/packages/ajshort/silverstripe-gridfieldextensions
1288: [23:46:50] <zauberfisch> UncleCheese: that package is marked as "abandoned" and refers to the new name of the package
1289: [23:46:57] <UncleCheese> ah
1290: [23:47:06] <zauberfisch> for display_logic, there are 2 packages on packagist which are identical just different name
1291: [23:47:18] <zauberfisch> I think it would make sense to mark one as abandoned and link to the other package
1292: [23:54:08] * Azure has joined #silverstripe
1293: [23:54:29] * Stomach has joined #silverstripe
1294: [23:55:52] * travis-ci has joined #silverstripe
1295: [23:55:53] <travis-ci> silverstripe/silverstripe-cms#1242 (3 - e99554f : Damian Mooyman): The build passed.
1296: [23:55:54] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/9fcda1196920...e99554fc17e0
1297: [23:55:54] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/65972689
1298: [23:55:54] * travis-ci has left #silverstripe

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