#silverstripe IRC Log

IRC log for 8 March 2014

All timestamps are in UTC.

1: [00:06:39] <Colin[pi]> I had a client come crawling back yesterday after a six month clusterfuck
2: [00:06:45] <Colin[pi]> I love it when that happens ;)
3: [00:10:21] <simon_w|air> Charge them extra!
4: [00:10:33] <Colin[pi]> lol ;)
5: [00:10:51] <Colin[pi]> the other company took five weeks just to quote
6: [00:11:18] <Colin[pi]> and then the client gave them a brief... when they went to check out the work done, it was completely different to the brief lol
7: [00:11:30] <simon_w|air> Hmm, what else to stick in my portfolio. Got BeatBox, the only iOS app I built that's public and the OAuth server
8: [00:15:27] <willr> Would be nice if the ORM handled interfaces as well as classes using a composite.. i.e order has many buyable
9: [00:16:00] <willr> tractor cow added kind of support for that right? Linking to 'DataObject' would store ID / Classname tuple
10: [00:16:15] <simon_w|air> Yeah, there's a pull request for it
11: [00:17:19] <willr> meh go back to manually doing it. Should be a 3.2 thing
12: [00:22:48] * ss23 cracks his knuckles
13: [00:22:49] * howardgrigg has joined #silverstripe
14: [00:24:42] <simon_w|air> willr, Colin[pi], updated: https://files.app.net/2mbskokfA.pdf
15: [00:25:52] <willr> Look at that, how could anyone not hire ya now.
16: [00:26:03] <ss23> ^^
17: [00:26:05] <ss23> tbh I'd hire
18: [00:26:25] <ss23> simon_w|air: Wanna just stay here? I'm sure can get a $50k/y job!
19: [00:26:28] <ss23> ^.^
20: [00:26:42] <simon_w|air> ss23, I'm on $62k already
21: [00:27:00] <Colin[pi]> lol
22: [00:31:57] <simon_w|air> ss23, wanna pay me $75k base + benefits? :p
23: [00:32:05] <ss23> Hmm
24: [00:32:08] <ss23> How about 50% of that?
25: [00:32:08] <ss23> :D
26: [00:32:16] <Colin[pi]> and he'll give you the "benefits" for free
27: [00:32:17] <simon_w|air> Hmmmmm, nope
28: [00:32:23] <ss23> haha Colin[pi]
29: [00:40:19] <willr> simon_w if only you wanted an infrastructure role 4 weeks ago.. :P
30: [00:40:31] <willr> $90k + benefit of working with me
31: [00:40:31] <simon_w|air> willr, in Canberra? :p
32: [00:40:55] <willr> well, would make it hard to fix server issues
33: [00:41:35] <ss23> $90k? Jesus, I need to have a chat with sminnee...
34: [00:41:53] <UncleCheese> willr doesn't work for sminnee
35: [00:41:58] <ss23> I know
36: [00:42:00] <ss23> lol
37: [00:42:01] <UncleCheese> oh, i see
38: [00:42:31] <UncleCheese> is $75k pretty standard in WGT?
39: [00:42:42] <UncleCheese> i guess i don't know what "benefits" are, though
40: [00:51:52] <willr> depends on experience I guess, I've seen some shitty ass people want $80k..
41: [00:55:01] <simon_w> I wander how much SS would balk at what I'd ask for if I wasn't pressed for a job
42: [00:56:16] <simon_w> They don't seem like a company that'll pay a developer $90k+
43: [01:00:43] <ss23> they don't seem like a company who would ever have to
44: [01:00:44] <ss23> :P
45: [01:00:59] <ss23> "You don't work at SilverStripe if you only care about money"
46: [01:01:03] <ss23> Though that goes for any job in NZ
47: [01:01:08] <ss23> You don't work in NZ if you only care about money
48: [01:04:11] <Colin[pi]> do you guys know if there's a way to embed a scanning tool into a web app? i.e. something that will allow scanning from an external scanner and save the scan server-side (via ajax or something)
49: [01:05:06] <simon_w> Barcode scanner or document scanner?
50: [01:05:11] <Colin[pi]> document scanner
51: [01:05:26] <simon_w> Doubt it. Would need Java or some such
52: [01:05:37] <Colin[pi]> yep I figured it was applet territory (ick)
53: [01:06:06] <Colin[pi]> though you can embed webcams with the media capture api
54: [01:06:44] <simon_w> Yeah, but that's not scanners
55: [01:07:05] <Colin[pi]> well they're kinda similar, one is just slower and better quality ;P
56: [01:13:27] * SightUnseen has joined #silverstripe
57: [01:13:31] * SightUnseen has left #silverstripe
58: [01:17:34] * terryapodaca quit (Quit: Leaving.)
59: [01:24:19] * UncleCheese quit (Quit: UncleCheese)
60: [01:41:28] * willr quit (Quit: willr)
61: [01:52:11] * kerozene is now known as Raymondo
62: [01:58:04] * UncleCheese has joined #silverstripe
63: [02:13:44] * Liquide quit ()
64: [02:34:30] * UncleCheese quit (Quit: UncleCheese)
65: [02:51:43] * Raymondo quit (Quit: brb)
66: [02:58:33] * willr has joined #silverstripe
67: [03:39:45] * sukirti has joined #silverstripe
68: [04:05:19] * willr quit (Quit: willr)
69: [04:14:57] * gelignite quit (Quit: http://bit.ly/nkczDT)
70: [04:24:40] * howardgrigg quit (Remote host closed the connection)
71: [04:25:07] * howardgrigg has joined #silverstripe
72: [04:28:24] * DesignerX quit (Ping timeout: 265 seconds)
73: [04:29:50] * howardgrigg quit (Ping timeout: 265 seconds)
74: [04:36:13] * boytikz has joined #silverstripe
75: [04:37:38] * CodeTrap quit (Ping timeout: 240 seconds)
76: [04:38:35] * CodeTrap has joined #silverstripe
77: [04:39:03] <boytikz> Hi. I've asked this before, but I'm just not a fan of hard coding URLs in controller code. Is there something like reverse routing in SilverStripe? For example I'm going to redirect to the controller's index, I can just $this->redirect('ControllerName::index') and it will match whatever is in the routes.yml config?
78: [04:45:16] * Stomach[Ache] quit (Ping timeout: 252 seconds)
79: [04:49:23] * cloph quit (Ping timeout: 264 seconds)
80: [04:52:30] <Zauberfisch> boytikz: I think not
81: [04:52:44] <Zauberfisch> boytikz: the way the CMS controllers do it is a private staitc
82: [04:52:55] <Zauberfisch> class AssetAdmin extends ... {
83: [04:53:03] <Zauberfisch> private static $url_segment = 'assets';
84: [04:53:18] <Zauberfisch> and then the Link() method does:
85: [04:53:34] <Zauberfisch> return Config::inst()->get($this->class, 'url_segment');
86: [04:53:40] <Zauberfisch> (basically)
87: [04:54:07] * cloph_away has joined #silverstripe
88: [04:55:27] * howardgrigg has joined #silverstripe
89: [05:00:17] * howardgrigg quit (Ping timeout: 265 seconds)
90: [05:05:44] <Zauberfisch> boytikz: I see your point, but the is also a point why this is not possible
91: [05:05:55] <Zauberfisch> there can be multiple routes pointing to a controller
92: [05:06:20] <Zauberfisch> one thing you can do however is put both things into yml
93: [05:06:26] <Zauberfisch> yourConfig.yml
94: [05:06:30] * babak has joined #silverstripe
95: [05:06:30] <Zauberfisch> Direcotr:
96: [05:06:33] <Zauberfisch> rules:
97: [05:06:48] <Zauberfisch> - 'somerountes': 'YourController'
98: [05:06:52] <Zauberfisch> YourController:
99: [05:07:16] <Zauberfisch> url_segment: 'someroute'
100: [05:10:44] * howardgrigg has joined #silverstripe
101: [05:13:46] <boytikz> Zauberfisch: Thanks. Yeah all my rules are in the yml file. I just thought it might be possible since the routes are already in there.
102: [05:15:19] <Zauberfisch> not that I know of
103: [05:15:24] <boytikz> Then in the templates, we could do something like <% Link(Controller=Some_Controller,Action=Edit,ID=$ID) %>
104: [05:16:20] <Zauberfisch> well, if I need to link to a specific controller, I do:
105: [05:16:49] <Zauberfisch> function MyController() { return singleton('MyController'); }
106: [05:16:50] <Zauberfisch> or
107: [05:17:05] <Zauberfisch> function MySpecialPage() { return MySpecialPage::get()->First(); }
108: [05:17:07] <Zauberfisch> and in template
109: [05:17:27] <Zauberfisch> $MyController.Link(edit/$ID)
110: [05:17:42] <Zauberfisch> not sure if $ID part works if its combined with a string though
111: [05:17:52] <Zauberfisch> you mingt need to make a function for this as well
112: [05:17:55] <Zauberfisch> like so:
113: [05:18:02] <Zauberfisch> $MyController.EditLink($ID)
114: [05:18:34] <Zauberfisch> class MyController ... function EditLink($id) { return $this->Link("edit/$ID"); }
115: [05:20:39] <boytikz> Yeah, what I'm currently doing is similar to that. But hopefully reverse routing will come to SilverStripe. It's one of the things I miss from other frameworks.
116: [05:22:18] <Zauberfisch> boytikz: I am afraid to say that I think it will not come that soon
117: [05:22:30] <Zauberfisch> you are actually the first person I have spoken with about this issue
118: [05:22:36] <simon_w> I'd much prefer named routes ala Laravel than trying to map controllers back to routes
119: [05:22:43] <Zauberfisch> so seems like its rather low on the priority list. if its even on that list
120: [05:23:32] <simon_w> It's not
121: [05:24:08] <simon_w> I found it somewhat unlikely that the routing system will ever be constrained enough that reversing it makes sense
122: [05:26:50] * simon_w goes back to playing Diablo
123: [05:36:12] <boytikz> Thanks guys.
124: [05:38:37] * mobiusnz has joined #silverstripe
125: [05:44:56] * mobiusnz quit (Quit: Leaving.)
126: [05:45:11] * sukirti quit (Ping timeout: 264 seconds)
127: [06:06:07] * SightUnseen has joined #silverstripe
128: [06:06:12] * SightUnseen has left #silverstripe
129: [06:27:37] * Guest75640 quit (Quit: Connection closed for inactivity)
130: [06:33:15] * DesignerX has joined #silverstripe
131: [06:34:36] * joelpittet quit (Remote host closed the connection)
132: [06:35:11] * joelpittet has joined #silverstripe
133: [06:39:42] * joelpittet quit (Ping timeout: 252 seconds)
134: [06:45:53] * mobiusnz has joined #silverstripe
135: [06:49:58] * mobiusnz quit (Ping timeout: 240 seconds)
136: [07:17:17] * zippy__ has joined #silverstripe
137: [07:45:44] * UncleCheese has joined #silverstripe
138: [08:08:49] * violetina quit (Remote host closed the connection)
139: [08:11:05] * violetina has joined #silverstripe
140: [08:23:39] * joelpittet has joined #silverstripe
141: [08:28:01] * joelpittet quit (Ping timeout: 240 seconds)
142: [08:29:28] * Liquide has joined #silverstripe
143: [08:33:36] * willr has joined #silverstripe
144: [08:48:26] * Colin[pi] quit (Ping timeout: 265 seconds)
145: [08:51:21] * Kapdap_ has joined #silverstripe
146: [08:56:04] * Kapdap quit (*.net *.split)
147: [08:56:05] * geekdenz quit (*.net *.split)
148: [09:00:45] * howardgrigg quit (Remote host closed the connection)
149: [09:01:12] * howardgrigg has joined #silverstripe
150: [09:03:51] * geekdenz has joined #silverstripe
151: [09:05:29] * howardgrigg quit (Ping timeout: 240 seconds)
152: [09:20:35] * UncleCheese quit (Quit: UncleCheese)
153: [09:31:42] * howardgrigg has joined #silverstripe
154: [09:36:04] * babak quit (Quit: Connection closed for inactivity)
155: [09:36:11] * howardgrigg quit (Ping timeout: 264 seconds)
156: [09:49:35] * SightUnseen has joined #silverstripe
157: [09:49:39] * SightUnseen has left #silverstripe
158: [10:11:46] * howardgrigg has joined #silverstripe
159: [10:12:37] * joelpittet has joined #silverstripe
160: [10:15:58] * howardgrigg quit (Ping timeout: 240 seconds)
161: [10:17:35] * joelpittet quit (Ping timeout: 264 seconds)
162: [10:32:29] * Liquide quit ()
163: [10:32:33] * willr quit (Quit: willr)
164: [10:40:51] * zippy__ quit (Quit: zippy__)
165: [10:42:50] * howardgrigg has joined #silverstripe
166: [10:44:36] * sukirti has joined #silverstripe
167: [10:46:59] * howardgrigg quit (Ping timeout: 240 seconds)
168: [10:50:49] * boytikz quit (Quit: Leaving.)
169: [10:53:29] * sukirti quit (Ping timeout: 240 seconds)
170: [11:06:12] * LoveDuckie has joined #silverstripe
171: [11:35:37] * Liquide has joined #silverstripe
172: [11:43:59] * howardgrigg has joined #silverstripe
173: [11:48:29] * howardgrigg quit (Ping timeout: 240 seconds)
174: [12:01:26] * joelpittet has joined #silverstripe
175: [12:06:11] * joelpittet quit (Ping timeout: 264 seconds)
176: [12:11:51] * zfmf has joined #silverstripe
177: [12:16:13] * gelignite has joined #silverstripe
178: [12:44:56] * howardgrigg has joined #silverstripe
179: [12:49:13] * howardgrigg quit (Ping timeout: 240 seconds)
180: [13:28:07] * ocm has joined #silverstripe
181: [13:28:09] <ocm> howdy~!
182: [13:31:42] * ocm quit (Client Quit)
183: [13:34:03] * ocm has joined #silverstripe
184: [13:35:59] <ocm> perhaps anyone knows
185: [13:36:15] <ocm> is there a way to display the echo's from an ajax request to php?
186: [13:45:49] * howardgrigg has joined #silverstripe
187: [13:47:45] * Liquide quit ()
188: [13:50:01] * howardgrigg quit (Ping timeout: 240 seconds)
189: [13:50:22] * joelpittet has joined #silverstripe
190: [13:54:59] * joelpittet quit (Ping timeout: 240 seconds)
191: [14:08:16] * opalfroot has joined #silverstripe
192: [14:08:49] <opalfroot> BOOM! just got Redis working with full tag support and full page caching!!
193: [14:16:59] <opalfroot> ...and nobodies here to see it ....nevermind.
194: [14:35:18] <ocm> hahaha
195: [14:35:20] <ocm> huuraay!
196: [14:36:07] <ocm> opalfroot; to celebrate! http://24.media.tumblr.com/tumblr_m8bc0dMBIO1qmyxiyo1_250.gif
197: [14:46:56] * howardgrigg has joined #silverstripe
198: [14:51:26] * howardgrigg quit (Ping timeout: 244 seconds)
199: [14:59:13] <opalfroot> ocm cheers!!
200: [15:33:53] * OxFF1 has joined #silverstripe
201: [15:39:12] * joelpittet has joined #silverstripe
202: [15:43:49] * joelpittet quit (Ping timeout: 252 seconds)
203: [15:48:02] * howardgrigg has joined #silverstripe
204: [15:52:59] * howardgrigg quit (Ping timeout: 264 seconds)
205: [16:24:01] * OxFF1 has left #silverstripe
206: [16:31:20] <cloph_away> ocm: just enable network monitoring in your browser and view the response there?
207: [16:44:33] * Pyromanik has joined #silverstripe
208: [16:47:59] * bobkosse has joined #silverstripe
209: [16:49:06] * howardgrigg has joined #silverstripe
210: [16:53:18] * howardgrigg quit (Ping timeout: 240 seconds)
211: [17:00:06] * DesignerX quit (Ping timeout: 244 seconds)
212: [17:06:05] * LoveDuckie quit (Remote host closed the connection)
213: [17:06:20] * LoveDuckie has joined #silverstripe
214: [17:28:08] * joelpittet has joined #silverstripe
215: [17:32:25] * joelpittet quit (Ping timeout: 240 seconds)
216: [17:41:35] * bobkosse quit (Ping timeout: 264 seconds)
217: [17:43:31] * ObiWanShanobi has joined #silverstripe
218: [17:50:08] * howardgrigg has joined #silverstripe
219: [17:54:47] * howardgrigg quit (Ping timeout: 264 seconds)
220: [18:24:07] * boytikz has joined #silverstripe
221: [18:51:11] * howardgrigg has joined #silverstripe
222: [18:55:59] * howardgrigg quit (Ping timeout: 264 seconds)
223: [19:17:03] * joelpittet has joined #silverstripe
224: [19:21:13] * joelpittet quit (Ping timeout: 240 seconds)
225: [19:32:11] * zfmf quit (Remote host closed the connection)
226: [19:46:31] * sukirti has joined #silverstripe
227: [19:52:14] * howardgrigg has joined #silverstripe
228: [19:56:47] * howardgrigg quit (Ping timeout: 244 seconds)
229: [20:02:18] * ObiWanShanobi quit (Quit: Leaving...)
230: [20:30:11] * bobkosse has joined #silverstripe
231: [20:50:06] * UncleCheese has joined #silverstripe
232: [20:53:14] * howardgrigg has joined #silverstripe
233: [20:57:46] * howardgrigg quit (Ping timeout: 264 seconds)
234: [21:06:11] * joelpittet has joined #silverstripe
235: [21:10:26] * joelpittet quit (Ping timeout: 240 seconds)
236: [21:11:57] * Colin[pi] has joined #silverstripe
237: [21:13:45] * sukirti quit (Ping timeout: 265 seconds)
238: [21:36:13] * howardgrigg has joined #silverstripe
239: [21:55:02] * nbezzala has joined #silverstripe
240: [21:57:04] * DesignerX has joined #silverstripe
241: [21:58:37] * volsars has joined #silverstripe
242: [22:32:58] * ocm quit (Ping timeout: 240 seconds)
243: [22:43:39] * ri0ter has joined #silverstripe
244: [22:43:51] <ri0ter> Hi
245: [22:45:42] * UncleCheese quit (Quit: UncleCheese)
246: [22:48:50] <ri0ter> Can someone help me?
247: [22:49:03] <ri0ter> I have no ide how to create One-Page which displays thumbnails which will display full gallery when clicked?
248: [22:50:54] <ri0ter> basicly i have a layout like this:
249: [22:50:54] <ri0ter> <div gallery=""> <div><img src=" /></div> <ul style="display:none"> <li><img src=""/><li> ... <li><img src=""/><li> </ul> </div>
250: [22:52:02] <ri0ter> where hidden list holds gallery, i wanted to do this on one page, so there's no other access to the page via URL
251: [22:53:46] <ri0ter> I know how to create one gallery on one page, but thats not enough
252: [22:54:03] <ri0ter> I mean one gallery on one page
253: [22:54:44] * joelpittet has joined #silverstripe
254: [22:58:59] * joelpittet quit (Ping timeout: 240 seconds)
255: [23:03:14] * UncleCheese has joined #silverstripe
256: [23:04:16] * SightUnseen1 has joined #silverstripe
257: [23:04:22] * SightUnseen1 has left #silverstripe
258: [23:17:26] * bobkosse quit (Quit: Lost terminal)
259: [23:23:12] * howardgrigg quit (Remote host closed the connection)
260: [23:32:28] * UncleCheese quit (Quit: UncleCheese)
261: [23:52:12] * DesignerX quit (Quit: Konversation terminated!)

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