#silverstripe IRC Log

IRC log for 8 July 2016

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:16] * ss-helper has joined #silverstripe
3: [00:03:36] <Nightjar> OH FUCK, THAT BEAR JUST CAUGHT A FISH
4: [00:04:04] <Nightjar> Rude, it like took a bite then threw it back :<
5: [00:10:04] <DanaeNZ> what an asshole
6: [00:10:11] <ss23> lol
7: [00:10:19] <DanaeNZ> maybe it tasted nasty
8: [00:10:28] <DanaeNZ> like when you get one of those nasty ass mandarins
9: [00:10:35] <DanaeNZ> that put you off mandarins for years
10: [00:24:30] <Hailwood> I thought I was the only one that got put off them like that..
11: [00:30:03] <ss-helper> How to set up a multiple server web application using multiple frameworks locally/staging environment? - http://stackoverflow.com/questions/38257207/how-to-set-up-a-multiple-server-web-application-using-multiple-frameworks-locall
12: [00:36:19] <DanaeNZ> it's just not worth the risk to get a shitty mandarin
13: [00:45:39] * micmania1 quit (Quit: micmania1)
14: [00:50:01] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
15: [01:04:33] * zippy has joined #silverstripe
16: [01:05:36] * muskie9 has joined #silverstripe
17: [01:23:40] <Nightjar> FIIIIVE BEARS, AAH AH AH AAAAAHH
18: [01:26:26] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
19: [01:30:04] <ss-helper> Resize image from Facebook Feed - SilverStripe - http://stackoverflow.com/questions/38257656/resize-image-from-facebook-feed-silverstripe
20: [01:37:28] * micmania1 has joined #silverstripe
21: [01:45:04] <ss-helper> Silverstripe: Member Profile - Update details on Frontend - http://stackoverflow.com/questions/38257696/silverstripe-member-profile-update-details-on-frontend
22: [01:54:05] * muskie9 has joined #silverstripe
23: [02:06:47] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
24: [02:16:54] * muskie9 has joined #silverstripe
25: [02:43:57] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
26: [02:45:39] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
27: [02:46:17] * Audlex- quit ()
28: [03:06:07] <Nightjar> NINE BEARS
29: [03:06:15] <Nightjar> Bear o'clock must be near
30: [03:11:10] <Hailwood> What on earth is the deal with the bears>?
31: [03:11:22] <ss23> WTF
32: [03:11:24] <ss23> NINE BEARS?
33: [03:15:06] <ss-helper> Silverstripe: Latest Blog Posts Content Block - http://stackoverflow.com/questions/38258348/silverstripe-latest-blog-posts-content-block
34: [03:25:49] <Nightjar> Hailwood, join late this morning?
35: [03:26:42] <Nightjar> oh, nup. You just missed it like DanaeNZ
36: [03:27:17] <DanaeNZ> NINE BEARS???
37: [03:27:37] <Nightjar> cf. ~9:30 -> 10am from ss23
38: [03:27:56] <Nightjar> was, I checked just now and my stream dun dumped died.
39: [03:28:15] <Nightjar> musta had bear overload
40: [03:28:15] <DanaeNZ> there's a guy talking now
41: [03:28:19] <Nightjar> sadface
42: [03:28:25] <Hailwood> I saw the live video feed, so are you guys just counting them when they come?
43: [03:28:39] <Nightjar> what else ya gonna do?
44: [03:28:51] <DanaeNZ> cry into your wine?
45: [03:28:58] <DanaeNZ> that's my afternoon plan
46: [03:29:06] <Nightjar> I could DanaeNZ, but I gave up the drink
47: [03:29:14] <DanaeNZ> oh christ it's already 3:30
48: [03:29:17] <Nightjar> ikr
49: [03:29:22] <Nightjar> so early :<
50: [03:29:27] <Hailwood> *oh christ it's only 3.30
51: [03:29:34] <Nightjar> ^
52: [03:29:42] <DanaeNZ> I've been working on one thing since the morning
53: [03:29:47] <DanaeNZ> I'm going to need a wine soon
54: [03:29:51] <Nightjar> slacker
55: [03:30:10] <Nightjar> fk'n composer update... what have I gotten myself into?
56: [03:30:15] <Hailwood> I've been working on one thing... for the last month or so. Ha
57: [03:30:26] <Nightjar> the downtime is excruciating without bears to perv at
58: [03:31:33] <Nightjar> ffs, I already made and drank a coffee
59: [03:31:44] <spronk> god composer is slow now
60: [03:31:56] <Nightjar> so slow
61: [03:32:26] <Nightjar> FTP would be faster.
62: [03:32:41] <Nightjar> symlink latest, away lauging.
63: [03:32:46] <spronk> lolya
64: [03:32:58] <spronk> has to do deps tho
65: [03:33:00] * Nightjar remembers the good ol' days.
66: [03:33:07] <Nightjar> fuck deps. that's what yer brain is for.
67: [03:33:37] * Nightjar trolls.
68: [03:33:50] <Nightjar> but in all reality, fuck yes so slow wtf gawd.
69: [03:35:26] <Hailwood> Could always do a local satis install
70: [03:37:30] <Nightjar> sweet.
71: [03:37:48] <Nightjar> Wait 10 minutes for composer to timeout then runtime error because it tries to continue with nothing.
72: [03:38:00] <Nightjar> How to fix this?
73: [03:38:10] <Nightjar> INCREASE THE TIMEOUT TO 50 MINUTES
74: [03:53:57] * EasyCo quit (Quit: Connection closed for inactivity)
75: [04:05:26] * zippy has joined #silverstripe
76: [04:11:53] <DanaeNZ> ahhhh wine
77: [04:16:29] * spronk quit (Quit: I may need a longer sleep timer...)
78: [04:22:19] <DanaeNZ> hey guys
79: [04:22:23] <DanaeNZ> how 2 solr
80: [04:23:10] <Hailwood> 1) Build rokit ship 2) fli 2 son
81: [04:28:51] <DanaeNZ> ok
82: [04:29:41] <ss23> 1) crie
83: [04:29:50] <ss23> 2) hope coworker takes pitty, else
84: [04:29:53] <ss23> 3) crie again
85: [04:34:00] <Stomach> 4) stab self in face
86: [04:36:37] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
87: [04:39:13] * zippy has joined #silverstripe
88: [04:42:42] * zippy quit (Client Quit)
89: [04:42:57] * zippy has joined #silverstripe
90: [04:45:22] * pippy quit (Ping timeout: 250 seconds)
91: [04:52:49] * spronk has joined #silverstripe
92: [04:54:09] <DanaeNZ> cool I will say let's not do Solr
93: [05:00:14] <Nightjar> DanaeNZ, Elastic instead. Then annoy @xeraa
94: [05:01:27] <Nightjar> (if no worky)
95: [05:03:58] * micmania1 quit (Quit: micmania1)
96: [05:07:08] * Hailwood quit (Remote host closed the connection)
97: [05:14:10] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
98: [05:15:54] <Nightjar> ggs everyone
99: [05:15:56] * Nightjar quit (Quit: Leaving)
100: [05:33:21] * Stomach quit (Ping timeout: 276 seconds)
101: [05:52:54] * DanaeNZ quit (Quit: TIME TO FEED)
102: [05:58:27] * Stomach has joined #silverstripe
103: [06:39:27] * XorPush has joined #silverstripe
104: [07:01:49] * arnhoe has joined #silverstripe
105: [07:12:04] * Blacklite quit (Ping timeout: 240 seconds)
106: [07:12:05] * UncleCheese has joined #silverstripe
107: [07:20:44] * camfindlay has joined #silverstripe
108: [07:21:29] * camfindlay quit (Client Quit)
109: [07:33:25] * darianno has joined #silverstripe
110: [07:56:29] * kinglozzer has joined #silverstripe
111: [08:15:47] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
112: [08:25:21] * Guits has joined #silverstripe
113: [08:41:54] * spronk quit (Max SendQ exceeded)
114: [08:42:10] * Guits quit (Ping timeout: 252 seconds)
115: [08:46:19] * NETim quit (Ping timeout: 244 seconds)
116: [08:47:14] * UncleCheese has joined #silverstripe
117: [08:48:44] * swaiba has joined #silverstripe
118: [09:21:53] * micmania1 has joined #silverstripe
119: [09:28:35] * Guits has joined #silverstripe
120: [09:35:21] * Stomach quit (Quit: zzz)
121: [09:44:30] * micmania1 quit (Quit: micmania1)
122: [09:57:55] * slievr has joined #silverstripe
123: [10:34:28] * zippy has joined #silverstripe
124: [10:49:07] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
125: [11:14:37] * slievr1 has joined #silverstripe
126: [11:18:15] * slievr quit (Ping timeout: 246 seconds)
127: [11:21:42] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
128: [11:23:33] * XorPush quit (Quit: Page closed)
129: [11:32:10] * Guits quit (Ping timeout: 244 seconds)
130: [12:29:37] * UndefinedOffset has joined #silverstripe
131: [12:43:30] * muskie9 has joined #silverstripe
132: [12:52:51] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
133: [12:59:08] * zfmf has joined #silverstripe
134: [13:00:00] <zfmf> he guys, i'm moving a ss 3.1.5 installation to a new server, but get always mysqli::mysqli(): (HY000/2005): Unknown MySQL server host '<filtered>' (0) i'm sure the db connection values in the config are right
135: [13:00:16] <ss-helper> Can I add many DataObjects to another at on a single go in silverstripe 3.3? - http://stackoverflow.com/questions/38267274/can-i-add-many-dataobjects-to-another-at-on-a-single-go-in-silverstripe-3-3
136: [13:01:04] <zfmf> http://pastebin.com/CGb7dDaN
137: [13:09:40] <zfmf> its ok fixing this notice: mysqli::mysqli(): Headers and client library minor version mismatch solved my problem php-mysql was installed instead of php-mysqlnd
138: [13:15:16] <ss-helper> Can I add many DataObjects to another on a single go in silverstripe 3.3? - http://stackoverflow.com/questions/38267274/can-i-add-many-dataobjects-to-another-on-a-single-go-in-silverstripe-3-3
139: [13:32:45] * tester has joined #silverstripe
140: [13:33:22] <tester> hello, could anyone help me out, I am having duplicate records in dropdownfield, how I can get only unique records
141: [13:33:36] <swaiba> !paste tester
142: [13:33:36] <ss-helper> tester: 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.
143: [13:38:00] <tester> http://www.sspaste.com/paste/show/577faca9358bf
144: [13:43:56] <tester> I want to get unique makesname, how can I
145: [13:45:17] <ss-helper> Silverstripe dynamic page types - http://stackoverflow.com/questions/38268240/silverstripe-dynamic-page-types
146: [13:46:19] <tester> how can I get unique records with that
147: [13:54:50] * tester quit (Ping timeout: 250 seconds)
148: [13:55:05] <swaiba> oh tester... I'm just reading your code now...
149: [13:55:23] <UndefinedOffset> ya i was typing a suggestion as well oh well
150: [13:58:22] * muskie9 has joined #silverstripe
151: [14:03:11] * adi has joined #silverstripe
152: [14:03:12] <ss-helper> adi: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
153: [14:10:19] <adi> hi, I have an issue regarding getting unique records, with dropdownfield
154: [14:10:39] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
155: [14:10:50] <adi> here is the code : http://www.sspaste.com/paste/show/577fb4628ee6d
156: [14:11:10] <adi> please help me out!
157: [14:12:46] <slievr1> adi: is this to be a relation or just a string?
158: [14:12:48] * muskie9 has joined #silverstripe
159: [14:12:51] * slievr1 is now known as slievr
160: [14:12:57] <adi> https://snag.gy/3It49A.jpg
161: [14:13:07] <adi> here is the screenshot
162: [14:14:10] <muskie9> adi your third arg for the dropdown field should be Car::get()->map('ID', 'MakesName')
163: [14:14:34] <adi> I tried that also already
164: [14:14:46] <muskie9> what does your Car class look like?
165: [14:14:54] <adi> let me show you
166: [14:15:15] <slievr> Car::get()->Distinct('MakesName')->column('MakesName'))
167: [14:15:19] <adi> http://www.sspaste.com/paste/show/577fb56f383b9
168: [14:15:19] <slievr> untested*
169: [14:15:31] <adi> I even tested that
170: [14:17:41] <slievr> can I ask why modelName isn't a relation?
171: [14:19:42] <adi> its a simple db field name
172: [14:20:04] <adi> I just need unique MakeName in dropdownfield
173: [14:24:10] <swaiba> ah tester / adi!
174: [14:24:38] <adi> yea
175: [14:25:23] <slievr> is there a method to convert a DataList to and ArrayList? All that comes to mind is doing this
176: [14:25:24] <slievr> ArrayList::create(Car::get()->toArray())->RemoveDuplicates('MakesName');
177: [14:25:35] <swaiba> $map = array();foreach (Car::get()->map('ID', 'MakesNiceName') as $id => $name) if (!in_array($map,$name)) $map[$id] = $name;
178: [14:26:08] <muskie9> slievr swaiba I wrote this a while ago https://gist.github.com/muskie9/3fa2a6823254d8e8ce319996cf9b0629
179: [14:27:09] <slievr> muskie9: I'll take that as a no, but you made one. =D
180: [14:27:49] <adi> so do I need to use arraylist first
181: [14:27:59] <muskie9> nothing built in I could find... been having to sort by calculated values a lot lately so ArrayList it was
182: [14:28:40] <swaiba> or you can just use the $map after you've ensured only has unique values (i.e. what I pasted above)
183: [14:30:06] <adi> how would I use this in dropdownfield
184: [14:30:38] <muskie9> try what swaiba posted above... my link is just to get a DataList to ArrayList
185: [14:31:03] <slievr> $drp = new DropdownField('MakesName', 'MakesName', $map); using swaiba's code
186: [14:33:07] <slievr> might need $map[$name] = $name; if you want to store the MakesName as text rather than a car ID
187: [15:22:17] * DimiStripe quit (Quit: DimiStripe)
188: [15:25:17] * DimiStripe has joined #silverstripe
189: [15:25:50] * arnhoe quit ()
190: [15:25:57] * DimiStripe quit (Client Quit)
191: [15:37:01] * swaiba quit (Remote host closed the connection)
192: [15:44:51] * slievr has left #silverstripe
193: [16:02:48] * janneklouman-- quit (Ping timeout: 246 seconds)
194: [16:04:30] * kinglozzer quit ()
195: [17:04:18] * terryapodaca has joined #silverstripe
196: [17:04:30] * DimiStripe has joined #silverstripe
197: [17:05:50] <terryapodaca> Hey guys...I have a SS site http://agworkers.com but I want to have a sub-domain (kinda) for http://agworkers.com/ffa that isn't SS. But when I do this, SS still tried to resolve this as a SS site. How do I make SS not try to pull or render just that 'folder'?
198: [17:06:13] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
199: [17:07:27] * janneklouman-- has joined #silverstripe
200: [17:14:03] * UndefinedOffset quit (Quit: Leaving.)
201: [17:22:00] * UndefinedOffset has joined #silverstripe
202: [17:25:34] <UndefinedOffset> terryapodca did you get an answer to your question? We've actually done this before should be just a simple rewrite rule addition that says where it's not a given folder
203: [17:36:44] * muskie9 has joined #silverstripe
204: [17:39:12] <terryapodaca> UndefinedOffset: no, nobody answered yet
205: [17:39:33] <terryapodaca> I know it's the weekend for most people that frequent this place (NZ, etc)
206: [17:40:01] <terryapodaca> I am in Texas so it's still Friday 12:40 (still a couple hrs in my work day)
207: [17:49:44] <UndefinedOffset> ya it's only 2:49 here ;)
208: [17:49:55] <UndefinedOffset> one sec i'll see if I can track what we've used
209: [17:50:05] <terryapodaca> that would be awesome!
210: [17:53:21] <UndefinedOffset> hrm I can't find it right off but you could probably use "RewriteRule ^my-folder - [L,NC]" before silverstripe's rule, but you can also use "RewriteCond %{REQUEST_URI} !^/my-folder" in silverstripe's rule
211: [18:22:22] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
212: [18:24:29] * muskie9 has joined #silverstripe
213: [18:30:02] <terryapodaca> UndefinedOffset: I'll give this a shot and let you know...
214: [18:30:09] <terryapodaca> and sorry, I went to lunch
215: [18:32:09] * UndefinedOffset quit (Quit: Leaving.)
216: [18:42:17] * spekulatius quit (Ping timeout: 250 seconds)
217: [18:44:19] * spekulatius has joined #silverstripe
218: [18:48:17] * janneklouman-- quit (Ping timeout: 272 seconds)
219: [19:08:16] * UncleCheese has joined #silverstripe
220: [19:36:26] * UndefinedOffset has joined #silverstripe
221: [19:38:27] <neomang> So I know there's a way to setup an order for cmsfields but I cannot for the life of me remember it, anyone know off the top of their heads?
222: [19:40:35] <muskie9> http://api.silverstripe.org/3.3/source-class-FieldList.html#556-591
223: [19:41:01] <muskie9> neomang $fields->changeFieldOrder(array('Field3', 'Field1', 'Field2'));
224: [19:42:20] * gelignite has joined #silverstripe
225: [19:59:26] <neomang> Thanks muskie
226: [20:04:55] <neomang> Oh wait, is there anyway to do it while preserving tabs?
227: [20:21:50] * UndefinedOffset quit (Quit: Leaving.)
228: [20:55:21] * adi quit (Quit: Page closed)
229: [21:03:48] * shellbackpacific quit (Ping timeout: 246 seconds)
230: [21:17:44] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
231: [21:27:00] * Stomach has joined #silverstripe
232: [21:37:41] <AlphaCactus> I place them as I add them to the tab. I made a function when using 3.0 which still works in 3.3.2 but there might be better solutions. http://www.sspaste.com/paste/show/57801cf8e6266
233: [21:38:56] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
234: [21:39:50] <AlphaCactus> oh wait, it doesn't do quite what you want.
235: [21:40:28] <muskie9> AlphaCactus you'd just need to allow for an extra param for the 3rd option in addfieldToTab
236: [21:40:36] <AlphaCactus> yeah
237: [21:40:38] <muskie9> places the field before the field spec'd
238: [21:41:04] <AlphaCactus> I was trying to find in my code where i did that, but usually since I'm putting them in the tab in order I don't need it.
239: [21:48:07] * Azure|dc has joined #silverstripe
240: [21:48:51] * Azure quit (Ping timeout: 240 seconds)
241: [22:01:18] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
242: [22:10:52] * UncleCheese has joined #silverstripe
243: [22:12:50] * Stomach quit (Quit: zzz)
244: [22:19:21] * Stomach has joined #silverstripe
245: [23:00:44] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
246: [23:11:02] * UncleCheese has joined #silverstripe
247: [23:35:20] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)

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