#silverstripe IRC Log

IRC log for 3 April 2013

All timestamps are in UTC.

1: [00:03:00] <priithansen> can't figure out how installing modules with composer hides them from git
2: [00:04:00] <priithansen> If I have a boilerplate theme that I install with composer it would make sense to have it included in version control
3: [00:13:00] * Jakx quit (Ping timeout: 248 seconds)
4: [00:52:00] * chillu23 quit (Quit: chillu23)
5: [00:53:00] * LoveDuckie quit (Ping timeout: 245 seconds)
6: [01:07:00] * nestab has joined #silverstripe
7: [01:07:00] * Zauberfisch has joined #silverstripe
8: [01:08:00] * simon_w went somewhere?
9: [01:08:00] <Zauberfisch> welcome back simon_w
10: [01:08:00] <Zauberfisch> yay \o/
11: [01:14:00] <Zauberfisch> I thought you were on holliday or something? :O
12: [01:15:00] <Zauberfisch> at least I missed you the last days
13: [01:21:00] * dospuntocero quit (Remote host closed the connection)
14: [01:22:00] * dospuntocero has joined #silverstripe
15: [01:28:00] * ajshort has joined #silverstripe
16: [01:40:00] <ss23> http://www.publicpolicypolling.com/main/2013/04/conspiracy-theory-poll-results-.html
17: [01:40:00] <ss23> rofllll
18: [01:43:00] * nestab quit (Read error: Connection reset by peer)
19: [01:44:00] * nestab has joined #silverstripe
20: [01:54:00] <spronk> fuck the civilian is fantastic
21: [01:55:00] <spronk> Meanwhile, Labour has come out swinging against the plans, suggesting that the government cannot legally sell Peter Dunne as he is not an asset.
22: [01:55:00] <spronk> http://www.thecivilian.co.nz/government-to-sell-peter-dunne/
23: [01:58:00] * nestab quit (Read error: Connection reset by peer)
24: [01:59:00] * dospuntocero quit (Remote host closed the connection)
25: [01:59:00] * nestab has joined #silverstripe
26: [02:01:00] * AshKyd has joined #silverstripe
27: [02:07:00] <AshKyd> Hi guys, does anyone know why the userforms module prints a <label> when you print a "HTML Block"?
28: [02:08:00] <AshKyd> I'm looking at submitting a patch to either remove it from the HTML block, or at least suppress it when it's empty, but I wanted to see what people think.
29: [02:12:00] * nestab quit (Ping timeout: 264 seconds)
30: [02:14:00] * chxn has joined #silverstripe
31: [02:29:00] * perverse`h has joined #silverstripe
32: [02:29:00] <perverse`h> hey guys, have you ever seen an issue where the CMS isn't loading its stylesheets? it's on a windows xampp server
33: [02:30:00] <perverse`h> one of our front end guys cant get the cms working... giving me the shits because he's telecommuting, so i cant see the issue myself ~_~
34: [02:30:00] <perverse`h> freshly deployed instance, also the welcome page after installation was blank/didn't work, too
35: [02:32:00] * priithansen quit (Quit: priithansen)
36: [02:36:00] <simon_w> perverse`h, so he's telecommuting and trying to access the install inside your VPN?
37: [02:49:00] <perverse`h> some front end clown thought *.css was a good rule to have
38: [02:49:00] <perverse`h> he'd be using his local server at home
39: [02:49:00] <perverse`h> it's all good, got to the bottom of it, was just wayward .gitignore rules
40: [02:55:00] <AshKyd> Too much of a good thing.
41: [03:02:00] <Pyromanik> perverse`h, HAHAHAHAHAHAHAHAHAAHAHA
42: [03:02:00] <perverse`h> lol... i know right
43: [03:02:00] <Pyromanik> oh gawd
44: [03:03:00] <perverse`h> so i understand their logic... but fuck... ignore specific directories ffs..
45: [03:03:00] <perverse`h> they do it because it's all scss... we compile when we deploy
46: [03:03:00] <Pyromanik> pretty sure front enders should know what css is.
47: [03:03:00] <perverse`h> other software also uses css, rofl
48: [03:03:00] * Zauberfisch^idle has joined #silverstripe
49: [03:21:00] <perverse`h> is that a rewrite problem?
50: [03:21:00] <ajshort> Zauberfisch: how's the github issues migration going?
51: [03:21:00] <perverse`h> here's another interesting one
52: [03:21:00] <perverse`h> /index.php/themes/simple/css/reset.css?m=1364958410 <- all his stylesheets on the front end are coming through like this
53: [03:26:00] <Zauberfisch> now ingo is sleeping
54: [03:26:00] <Zauberfisch> first I was sleeping
55: [03:26:00] <Zauberfisch> well
56: [03:27:00] <travis-ci> [travis-ci] silverstripe/sapphire#1858 (3.1 - ef0d3fc : Andrew Short): The build passed.
57: [03:27:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/f0d92f7bcc67...ef0d3fc13a33
58: [03:27:00] * cloph_away has joined #silverstripe
59: [03:27:00] * travis-ci has left #silverstripe
60: [03:27:00] <Zauberfisch> test run was successful
61: [03:27:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6005123
62: [03:27:00] <Zauberfisch> but it will happen within the next 24 hours
63: [03:27:00] * travis-ci has joined #silverstripe
64: [03:28:00] <simon_w> I guess I should unstick that box then
65: [03:28:00] <simon_w> *untick
66: [03:29:00] <Zauberfisch> simon_w what box?
67: [03:29:00] <Zauberfisch> ajshort but you can already submit issues on github
68: [03:29:00] <ss23> Tick my box ;)
69: [03:29:00] * cloph quit (Ping timeout: 256 seconds)
70: [03:30:00] <simon_w> Zauberfisch, the one that says email me for every single issue
71: [03:30:00] <ajshort> yep, just curious
72: [03:31:00] <Zauberfisch> oh yeah, that might be a good choice for someone like you
73: [03:32:00] * Error404NotFound has joined #silverstripe
74: [03:33:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6005152
75: [03:33:00] * travis-ci has joined #silverstripe
76: [03:33:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/ef0d3fc13a33...120d90fd2101
77: [03:33:00] <travis-ci> [travis-ci] silverstripe/sapphire#1859 (3.1 - 120d90f : Andrew Short): The build passed.
78: [03:33:00] * travis-ci has left #silverstripe
79: [03:34:00] <Zauberfisch> I am pretty sure ingo is taking care of that
80: [03:34:00] <simon_w> It may be worth you or Ingo emailing the moderators (or whatever they're called) of the repos that are going to get spammed a bit before you do the real one
81: [03:34:00] <Zauberfisch> yeah
82: [03:36:00] <Zauberfisch> actually, I'll do it right away
83: [03:46:00] * DigNZ1 quit (Quit: DigNZ1)
84: [03:53:00] * DigNZ has joined #silverstripe
85: [03:53:00] * DigNZ quit (Client Quit)
86: [03:54:00] * zlincoln quit (Ping timeout: 245 seconds)
87: [04:02:00] * DigNZ has joined #silverstripe
88: [04:02:00] * DigNZ quit (Remote host closed the connection)
89: [04:02:00] * DigNZ has joined #silverstripe
90: [04:03:00] * DigNZ quit (Client Quit)
91: [04:05:00] * nickmolhoek quit (Quit: nickmolhoek)
92: [04:06:00] * travis-ci has joined #silverstripe
93: [04:06:00] * travis-ci has left #silverstripe
94: [04:06:00] <travis-ci> [travis-ci] silverstripe/sapphire#1860 (forcessl_alternate_base_url - a8fa33b : Sean Harvey): The build passed.
95: [04:06:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/commit/a8fa33b16740
96: [04:06:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6005718
97: [04:11:00] * nestab has joined #silverstripe
98: [04:11:00] * nestab quit (Read error: Connection reset by peer)
99: [04:12:00] * nestab has joined #silverstripe
100: [04:13:00] * travis-ci has joined #silverstripe
101: [04:13:00] <travis-ci> [travis-ci] silverstripe/sapphire#1861 (forcessl_alternate_base_url - d3a92ea : Sean Harvey): The build passed.
102: [04:13:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/a8fa33b16740...d3a92ea09a5c
103: [04:13:00] * travis-ci has left #silverstripe
104: [04:13:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6005743
105: [04:16:00] * nestab quit (Read error: Connection reset by peer)
106: [04:17:00] * nestab has joined #silverstripe
107: [04:25:00] * SightUnseen has left #silverstripe
108: [04:25:00] * SightUnseen has joined #silverstripe
109: [04:32:00] * travis-ci has left #silverstripe
110: [04:32:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/d3a92ea09a5c...aa6af8e178e6
111: [04:32:00] * travis-ci has joined #silverstripe
112: [04:32:00] <travis-ci> [travis-ci] silverstripe/sapphire#1863 (forcessl_alternate_base_url - aa6af8e : Sean Harvey): The build has errored.
113: [04:32:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6006126
114: [04:34:00] * nestab quit (Read error: Connection reset by peer)
115: [04:35:00] * nestab has joined #silverstripe
116: [04:38:00] * Bollig|DesignCty has joined #silverstripe
117: [04:39:00] * nestab has joined #silverstripe
118: [04:39:00] * nestab quit (Read error: Connection reset by peer)
119: [04:40:00] * nestab quit (Read error: Connection reset by peer)
120: [04:40:00] * travis-ci has joined #silverstripe
121: [04:40:00] * travis-ci has left #silverstripe
122: [04:40:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6006174
123: [04:40:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/aa6af8e178e6...2b361c3c7da1
124: [04:40:00] <travis-ci> [travis-ci] silverstripe/sapphire#1865 (forcessl_alternate_base_url - 2b361c3 : Sean Harvey): The build has errored.
125: [04:41:00] * nestab has joined #silverstripe
126: [04:45:00] * nestab quit (Read error: Connection reset by peer)
127: [04:45:00] * nestab has joined #silverstripe
128: [04:54:00] <Bollig|DesignCty> Hey, is there a way to override CMS form labels using lang files? Or does that require _t calls in the label names?
129: [04:57:00] * chxn quit (Quit: Computer has gone to sleep.)
130: [05:00:00] * nestab has joined #silverstripe
131: [05:00:00] * nestab quit (Read error: Connection reset by peer)
132: [05:01:00] * Shrike_Finland has joined #silverstripe
133: [05:05:00] * nestab quit (Read error: Connection reset by peer)
134: [05:06:00] * nestab has joined #silverstripe
135: [05:11:00] * nestab quit (Read error: Connection reset by peer)
136: [05:12:00] * nestab has joined #silverstripe
137: [05:15:00] * bunyip-oz has joined #silverstripe
138: [05:17:00] <bunyip-oz> Hi All, any SS3 freelancers out there? I'm looking for someone to help build a league management module.
139: [05:24:00] <elgrodo> bunyip-oz: By league management do you mean sport of some sort, e.g. soccer?
140: [05:25:00] <bunyip-oz> yep - ice hockey in fact
141: [05:25:00] <bunyip-oz> i've put the datamodel together but i'm pretty new to SS
142: [05:27:00] <elgrodo> noted
143: [05:27:00] * Zauberfisch quit (Remote host closed the connection)
144: [05:29:00] <elgrodo> bunyip-oz: How far have you got with it - just the models?
145: [05:29:00] <elgrodo> and any other stats relevant to ice hockey
146: [05:29:00] <elgrodo> I guess the module would have to import score details somehow then process those to form the league table
147: [05:39:00] <ss23> Ah, the pre-launch "Oh can you completely change everything about how this works? All the specifications we've given up to now are actually not what we want"
148: [05:46:00] * nestab quit (Read error: Connection reset by peer)
149: [05:47:00] * nestab has joined #silverstripe
150: [05:59:00] * Zauberfisch has joined #silverstripe
151: [06:01:00] * nestab quit (Read error: Connection reset by peer)
152: [06:02:00] * nestab has joined #silverstripe
153: [06:06:00] * nestab has joined #silverstripe
154: [06:06:00] * nestab quit (Read error: Connection reset by peer)
155: [06:09:00] * Zauberfisch_ has joined #silverstripe
156: [06:10:00] * Zauberfisch has joined #silverstripe
157: [06:10:00] * Zauberfisch_ quit (Remote host closed the connection)
158: [06:10:00] * Zauberfisch quit (Read error: Connection reset by peer)
159: [06:16:00] * joelpittet quit (Remote host closed the connection)
160: [06:18:00] * zfmf has joined #silverstripe
161: [06:24:00] * nestab quit (Read error: Connection reset by peer)
162: [06:24:00] * nestab has joined #silverstripe
163: [06:33:00] * LoveDuckie has joined #silverstripe
164: [06:35:00] * nestab quit (Read error: Connection reset by peer)
165: [06:39:00] * hubertusanton has joined #silverstripe
166: [06:42:00] * Shrike_Finland quit (Quit: Leaving.)
167: [06:44:00] * ARNHOE has joined #silverstripe
168: [06:47:00] * ARNHOE_ has joined #silverstripe
169: [06:50:00] * ARNHOE quit (Ping timeout: 258 seconds)
170: [06:51:00] * perverse`h quit (Ping timeout: 260 seconds)
171: [07:00:00] * simon_w|air has joined #silverstripe
172: [07:03:00] * SightUnseen has joined #silverstripe
173: [07:08:00] * Zauberfisch quit (Read error: Connection reset by peer)
174: [07:09:00] * webguest has joined #silverstripe
175: [07:10:00] * SightUnseen has left #silverstripe
176: [07:10:00] <webguest> is it possible with a SS function to rewrite the id's om some dataobjects? got this, but it isnt working, function echo's, but the the id's are still the same in phpmyadmin http://paste2.org/j2w8nBsU
177: [07:12:00] <simon_w|air> webguest, why?
178: [07:13:00] <webguest> there are no relations,
179: [07:13:00] <simon_w|air> And if Dealer subclasses anything, or has any subclass, it suddenly gets a lot more difficult
180: [07:13:00] <webguest> but i need to cross check something
181: [07:14:00] <webguest> now the id's are 150341
182: [07:14:00] <webguest> and dont know if they all connect
183: [07:14:00] <webguest> so if the id's are simple i can see which ones are missing
184: [07:14:00] <webguest> when i import a csv from excel it looses 2 records
185: [07:15:00] <simon_w|air> IDs are made sequentially already, and renumbering them will definitely stop you from seeing the gaps
186: [07:15:00] <webguest> client might have deleted some dealers
187: [07:16:00] <webguest> i have a back-up so i can always go back, but for now renumbering is easier i think
188: [07:17:00] <simon_w|air> You realise that by renumbering them, you're going to be missing the ones at the end?
189: [07:17:00] <simon_w|air> So, you want to renumber them so you can figure out which ones are missing?
190: [07:17:00] <webguest> yes :)
191: [07:18:00] <webguest> hehe this is true
192: [07:18:00] <webguest> is there a simple script (if i place them in another table) to compare
193: [07:18:00] <webguest> is there a better way, i got 513 records, after csv import 511
194: [07:18:00] <webguest> btw, does anyone know a good way, plugin/tools to manage csv files.. my client wants to work from excel, but excel cant export to true UTF-8, tried export csv, comma delimited, web tools, encoding, utf-8.. import, but België becomes Belgi ....
195: [07:19:00] <simon_w|air> How are you counting the number of rows?
196: [07:19:00] <webguest> and 513 with the real dealer table
197: [07:19:00] <webguest> haven't counted myself, but modeladmin says: 511 records
198: [07:21:00] * bunyip-oz quit (Ping timeout: 245 seconds)
199: [07:21:00] <simon_w|air> How are you counting that?
200: [07:24:00] * g4b0 has joined #silverstripe
201: [07:24:00] <g4b0> hi all
202: [07:24:00] <webguest> so 513 records
203: [07:24:00] <webguest> ok, my excel sheet, starts at row 2 ends at row 514
204: [07:25:00] * AshKyd quit (Ping timeout: 260 seconds)
205: [07:28:00] <webguest> there is proberbly an adress format error, with an extra comma somewhere, or something else
206: [07:28:00] <simon_w|air> webguest, and how about the csv?
207: [07:29:00] <webguest> so i need to figure out where
208: [07:30:00] <webguest> would be nice if excel can export the same way as SS, so with "", "", "", "",
209: [07:30:00] <webguest> instead of , , , ,
210: [07:30:00] * TF22Raptor has joined #silverstripe
211: [07:32:00] * SightUnseen has left #silverstripe
212: [07:32:00] * SightUnseen has joined #silverstripe
213: [07:32:00] <webguest> @simon|air, i have the real dealers in table 'Dealer' (513) the csv import in 'DealerTest' (511)
214: [07:32:00] <webguest> how do i cross check them with a script
215: [07:32:00] <webguest> that sees which idea's arent in both tables
216: [07:33:00] <simon_w|air> webguest, is there a unique field beyond ID?
217: [07:33:00] <webguest> *ID's
218: [07:34:00] <webguest> no,
219: [07:35:00] <webguest> not anymore, because of the specail characters missing
220: [07:35:00] <webguest> like é
221: [07:35:00] <simon_w|air> How about a set of columns?
222: [07:35:00] <simon_w|air> That should be the same in both tables, and be unique in each table
223: [07:37:00] <webguest> but the value's in the columns are sometimes changed because a streetname with a special character in Dealer is now gone in DealerTest
224: [07:38:00] <webguest> this could have also been the Company Name
225: [07:38:00] <simon_w|air> If you've already got the table, why go through a CSV?
226: [07:41:00] <simon_w|air> Hmm, and depending on your collation, the join may still work... (assuming a latin collation)
227: [07:42:00] <simon_w|air> SELECT * FROM Dealer D LEFT JOIN DealerTest DT ON D.CompanyName = DT.CompanyName AND D.OtherField = DT.OtherField WHERE DT.ID IS NULL
228: [07:50:00] * ocm has joined #silverstripe
229: [07:50:00] <ocm> howdy!
230: [07:51:00] * TF22Raptor has left #silverstripe
231: [07:54:00] * Shrike_Finland has joined #silverstripe
232: [07:57:00] <webguest> @simon_w|air, or someting like this? $sql = "SELECT ID FROM Dealer WHERE ID NOT IN (SELECT ID FROM DealerTest)";
233: [08:08:00] * popeshoe has joined #silverstripe
234: [08:08:00] <simon_w|air> webguest, that only works if the IDs match
235: [08:27:00] * waveydave has joined #silverstripe
236: [08:31:00] * kinglozzer has joined #silverstripe
237: [08:37:00] <g4b0> How can I know in tmplate if a page is a children of another?
238: [08:38:00] * nestab has joined #silverstripe
239: [08:38:00] <webguest> solved simon_w, thx
240: [08:38:00] <simon_w|air> <% if $Parent.Something = 'Something' %> ?
241: [08:39:00] * nestab quit (Read error: Connection reset by peer)
242: [08:40:00] * nestab has joined #silverstripe
243: [08:41:00] <g4b0> thks simon_w
244: [08:41:00] * chillu has joined #silverstripe
245: [08:45:00] <g4b0> how can I access menu entry Parent?
246: [08:45:00] * nestab has joined #silverstripe
247: [08:45:00] <g4b0> simon_w: I'm inside a <% loop Menu(1) %>
248: [08:45:00] * nestab quit (Read error: Connection reset by peer)
249: [08:46:00] <simon_w|air> Are you after $IsSection?
250: [08:46:00] <simon_w|air> Things in Menu(1) have no parent
251: [08:47:00] <g4b0> and if I'm into a subpage
252: [08:47:00] <g4b0> nope
253: [08:47:00] <g4b0> I'm looping into first level menu
254: [08:48:00] <simon_w|air> So you are after IsSection
255: [08:48:00] <simon_w|air> http://api.silverstripe.org/3.0/class-SiteTree.html#_isSection
256: [08:48:00] <g4b0> mmm... I don't know what is IsSection :)
257: [08:48:00] <g4b0> I would like to give a different color to main menu
258: [08:49:00] <simon_w|air> The other option is LinkingMode, if you don't want it to happen on current
259: [08:49:00] <g4b0> thanks again
260: [08:49:00] <g4b0> perfect :)
261: [08:50:00] <svandragt> Has anyone used the silverstripe framework without the cms? any tutorials / howtos (guess I'd need to setup routing and views myself?)
262: [08:50:00] <g4b0> before now :)
263: [08:50:00] <g4b0> ok. I just know LinkOrCurrent
264: [08:50:00] <simon_w|air> svandragt, yes, and you setup routes and controllers
265: [08:53:00] <simon_w|air> svandragt, see http://simon.geek.nz/cms-less-silverstripe-install/ and http://simon.geek.nz/no-cms/. They're from 2.4, but the ideas are still the same
266: [08:53:00] <svandragt> simon_w|air: great just what I was looking for.
267: [09:05:00] <elgrodo> chillu: Just replied to the bug you closed recently regarding kml/gpx files https://github.com/silverstripe/silverstripe-installer/issues/33
268: [09:05:00] <chillu> elgrodo: Ah that's you Gordon! Yep, seen it
269: [09:05:00] <elgrodo> :)
270: [09:05:00] <elgrodo> k
271: [09:06:00] <elgrodo> I'll provide a pull request once I've finished my current task
272: [09:08:00] <simon_w|air> That assets/.htaccess is going to be much nicer if we drop Apache 1.x support
273: [09:10:00] <lewellyn> people still use that!?
274: [09:11:00] <simon_w|air> No idea
275: [09:12:00] <lewellyn> the last update was over 3 years ago. and it was legacy by then.
276: [09:14:00] * nestab quit (Read error: Connection reset by peer)
277: [09:14:00] <simon_w|air> Ask someone with access to the install stats
278: [09:14:00] <lewellyn> openbsd still ships 1.3
279: [09:14:00] <lewellyn> le sigh.
280: [09:15:00] * nestab has joined #silverstripe
281: [09:18:00] <webguest> i want to add the where condition
282: [09:18:00] <webguest> WHERE brandA = $A AND brandB = $B
283: [09:18:00] <webguest> $query = sprintf("SELECT *, ( 6371 * acos( cos( radians('%s') ) * cos( radians( Lat ) ) * cos( radians( Lng ) - radians('%s') ) + sin( radians('%s') ) * sin( radians( lat ) ) ) ) AS distance FROM Dealer HAVING distance < '%s' ORDER BY distance LIMIT 0 , 20",
284: [09:18:00] <webguest> simple sql question, how do i add an extra filter in this query
285: [09:19:00] * nestab quit (Read error: Connection reset by peer)
286: [09:19:00] <simon_w|air> webguest, WHERE goes between FROM and HAVING, though no GROUP BY so HAVING should really be WHERE
287: [09:19:00] <g4b0> is it possible to specify an array through YAML?
288: [09:20:00] * nestab has joined #silverstripe
289: [09:20:00] <webguest> but how / where do i add my filters in this query?
290: [09:21:00] <simon_w|air> g4b0, associative is your default format, numeric is without keys
291: [09:21:00] <g4b0> simon_w:�where can I have a look to a sample?
292: [09:21:00] <simon_w|air> webguest, between FROM and HAVING
293: [09:22:00] <simon_w|air> https://github.com/silverstripe/sapphire/blob/3.1/_config/routes.yml is all associative
294: [09:22:00] <webguest> i got it simon, thx
295: [09:22:00] <simon_w|air> g4b0, what sort?
296: [09:23:00] <g4b0> I'm working on a gallery module
297: [09:23:00] <g4b0> I would like to select an arbitrary number of gallery per page
298: [09:23:00] <g4b0> so I have
299: [09:23:00] <g4b0> for example num_gallery: 3
300: [09:24:00] <g4b0> now I want to specify the galleries names
301: [09:24:00] <simon_w|air> Why not store them in the database? In a Gallery DataObject
302: [09:24:00] * travis-ci has joined #silverstripe
303: [09:24:00] <travis-ci> [travis-ci] silverstripe/sapphire#1874 (3.1 - f44d5b3 : Ingo Schommer): The build was broken.
304: [09:24:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/120d90fd2101...f44d5b311e57
305: [09:24:00] * travis-ci has left #silverstripe
306: [09:24:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6010741
307: [09:25:00] <g4b0> but I want to have the number of galleries configurable through YAML
308: [09:25:00] <g4b0> I do it
309: [09:25:00] <simon_w|air> So have a canCreate() method that stops you from going over that
310: [09:27:00] <simon_w|air> chillu, have you had a look at this Scrutinizer? Looks like it'll be possible to move the code sniffs so they both run and pass/fail independently of travis
311: [09:27:00] <chillu> Yeah I've shown it to Sam, and I think he's gone ahead and half set it up
312: [09:28:00] * nestab quit (Ping timeout: 264 seconds)
313: [09:30:00] <simon_w|air> I've only got a sort fix planned for tomorrow morning, so I'll see if I can figure out how to move the sniffs over to it then
314: [09:34:00] <simon_w|air> And then, nitpick that massive PDO pull request some more :)
315: [09:43:00] * webguest quit (Ping timeout: 245 seconds)
316: [09:47:00] <g4b0> Is it possible to check module dependency through YAML?
317: [09:48:00] <simon_w|air> http://doc.silverstripe.org/framework/en/topics/configuration#exclusionary-rules
318: [09:49:00] <g4b0> but class GridFieldBulkImageUpload is not present
319: [09:49:00] <g4b0> I would like to show an error if my module is present
320: [09:49:00] <g4b0> but I can't understanda the syntax...
321: [09:49:00] <g4b0> I was reading that
322: [09:50:00] <simon_w|air> Requiring a module requires you do a check in _config.php
323: [09:50:00] <g4b0> ok
324: [09:51:00] <g4b0> ok
325: [09:51:00] <g4b0> but there is a problem with that syntax
326: [09:51:00] <g4b0> which syntax?
327: [09:51:00] <simon_w|air> if(!class_exists('GridFieldBulkImageUpload')) { user_error('Error message', E_USER_ERROR); }
328: [09:52:00] <g4b0> If my module name
329: [09:52:00] <simon_w|air> svandragt, which version?
330: [09:52:00] <g4b0> is, for example, AAAmodule
331: [09:52:00] <simon_w|air> g4b0, nope. class_exist() calls the autoloaders
332: [09:52:00] <g4b0> it will always trow the error
333: [09:52:00] <svandragt> I'm trying to render a TreeDropdownField FieldHolder and getting the following error Fatal error: Call to a member function FormAction() on a non-object in /framework/forms/FormField.php on line 139 any idea?
334: [09:53:00] <g4b0> simon_w: is it a new feature? with 3.0 I got the error...
335: [09:53:00] * guci0 has joined #silverstripe
336: [09:55:00] <svandragt> simon_w|air: 3.0.5
337: [09:56:00] <simon_w|air> svandragt, let me guess, you're trying to render TreeDropdownField without an enclosing Form?
338: [09:56:00] <simon_w|air> g4b0, nope. Manifest gets built, then configs get called
339: [09:56:00] <svandragt> simon_w|air: works ok as part of a redirectpage however so it's something I'm doing wrong :)
340: [09:57:00] <g4b0> ok, perfect
341: [09:58:00] <svandragt> simon_w|air: I guess that is what is happening (http://pastie.org/private/duzftedbjowqarb2vw7xw) but but it should be part of the CMSMain_EditForm
342: [09:59:00] <simon_w|air> svandragt, you need a setForm($form) method that calls ->setForm($form) on all the children
343: [10:00:00] <simon_w|air> or, just the FieldList since that does it for you
344: [10:01:00] <svandragt> simon_w|air: yep so should I be extending compositefield then I see that has it also?
345: [10:02:00] <simon_w|air> Yeah, that'd work too
346: [10:02:00] <simon_w|air> and handles the loadDataFrom, and (data)FieldByName stuff
347: [10:04:00] <ajshort> chillu: ManyManyListTest L204: $firstPlayers->filter('ShirtNumber', 'b')->removeAll();
348: [10:06:00] <chillu> ajshort: Ooops! ;) I'll remove the test, thanks for noticing
349: [10:12:00] <travis-ci> [travis-ci] silverstripe/sapphire#1875 (3.1 - 2da1de0 : Ingo Schommer): The build passed.
350: [10:12:00] * travis-ci has left #silverstripe
351: [10:12:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/f44d5b311e57...2da1de07dace
352: [10:12:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6010853
353: [10:12:00] * travis-ci has joined #silverstripe
354: [10:13:00] <webguest> when do i need to use $this->owner ? and when not? im using it on my dataobject functions.. but im getting the error "Trying to get property of non-object"
355: [10:13:00] * webguest has joined #silverstripe
356: [10:14:00] <webguest> so finding it a bit strange
357: [10:14:00] <webguest> On my other DO class, everything is working with this-> owner
358: [10:15:00] <webguest> see http://paste2.org/aO6fsVEg
359: [10:18:00] <webguest> but why do i need it on my other DO class, which has the same format
360: [10:18:00] <webguest> without the ->owner-> it does work
361: [10:24:00] * webguest quit (Quit: Page closed)
362: [10:25:00] * guest_____ has joined #silverstripe
363: [10:26:00] <guest_____> does any one know when to use $this->owner->static, and when $this->static?
364: [10:26:00] <guest_____> im using this": http://paste2.org/aO6fsVEg
365: [10:26:00] <ajshort> guest_____: $this->owner when inside an Extension/DataExtension/DataObjectDecorator
366: [10:26:00] <guest_____> but getting error: [Notice] Trying to get property of non-object
367: [10:27:00] <guest_____> ajshort, please look at http://paste2.org/aO6fsVEg
368: [10:27:00] <guest_____> 2.4.10
369: [10:27:00] <guest_____> if i delete owner, the notice is gone, but when my function always thinks $this->Lat = NULL
370: [10:27:00] <guest_____> i am inside extend DataObject
371: [10:27:00] <ajshort> also, your write methods really should not be outputting anything
372: [10:28:00] <ajshort> guest_____: yep, so you are not in a dataobjectdecorator, so do not use $this->owner
373: [10:28:00] <guest_____> this is correct?
374: [10:29:00] <guest_____> ok, but why does my other class Dealers does work with owner, http://paste2.org/OzB2UE6B
375: [10:30:00] <ajshort> it shouldn't, that is wrong
376: [10:30:00] <guest_____> well it is :P
377: [10:31:00] <ajshort> both
378: [10:31:00] <guest_____> and if i delete ->owner (in BorlindSalon) my function writeLatLng() thinks $this->Lat is always NULL
379: [10:31:00] <ajshort> var_dump($this->owner) - what do you get
380: [10:31:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
381: [10:31:00] <guest_____> on which classs, Dealer or BorlindSalon
382: [10:32:00] <guest_____> where should i place var_dump?
383: [10:32:00] <ajshort> wherever
384: [10:32:00] <guest_____> inside WriteLatLng?
385: [10:33:00] <guest_____> what do i need to do, to get the output? save a dataobject?
386: [10:33:00] <ajshort> yep
387: [10:33:00] <guest_____> Salons: NULL
388: [10:33:00] <ajshort> just as an experiment
389: [10:34:00] <ajshort> $this->owner is only set on DataObjectDecorators
390: [10:34:00] <ajshort> which is what you expect
391: [10:35:00] <guest_____> Dealer gives a long code
392: [10:36:00] <ajshort> that is quite unusual
393: [10:36:00] <ajshort> pastie it?
394: [10:36:00] <ajshort> what does your add_extension call look like?
395: [10:36:00] <ajshort> are you sure you're not using your Dealer class as a DataObjectDecorator somewhere?
396: [10:36:00] <guest_____> i do have a decorator somewhere: class DealerDecorator extends DataObjectDecorator {
397: [10:37:00] <guest_____> does that make sense?
398: [10:37:00] <guest_____> Object::add_extension('Dealer', 'DealerDecorator');
399: [10:37:00] <ajshort> what was the output of that var_dump?
400: [10:37:00] <ajshort> looks ok
401: [10:39:00] <guest_____> btw, now i have added also a decorator on salons in the config, and the ->owner code is working
402: [10:39:00] <ajshort> yeah - it shouldn't
403: [10:42:00] <chillu> ajshort: I've fixed the ManyManyListTest, and also the last remaining PGSQL failure, Travis passes now. Could you review and merge? https://travis-ci.org/chillu/sapphire/builds/6012617
404: [10:42:00] <chillu> Funnily enough, the SQLite build takes the longest :D I suspect its not respecting the in-memory setting, but even on disk I'd expect it to be much faster than that
405: [10:44:00] * travis-ci has joined #silverstripe
406: [10:44:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/439ae98431c3...6d5925708eb4
407: [10:44:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/6012617
408: [10:44:00] * travis-ci has left #silverstripe
409: [10:44:00] <travis-ci> [travis-ci] chillu/sapphire#119 (pulls/postgres-fixes - 6d59257 : Ingo Schommer): The build was fixed.
410: [10:49:00] <ajshort> the rest looked fine to me
411: [10:49:00] <chillu> chur!
412: [10:49:00] <ajshort> so i'll just merge it in
413: [10:49:00] <ajshort> chillu: willdo
414: [10:58:00] * travis-ci has left #silverstripe
415: [10:58:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/2da1de07dace...ceb7e3c8a83e
416: [10:58:00] <travis-ci> [travis-ci] silverstripe/sapphire#1877 (3.1 - ceb7e3c : Andrew Short): The build passed.
417: [10:58:00] * travis-ci has joined #silverstripe
418: [10:58:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6013090
419: [11:03:00] * qlex1 has joined #silverstripe
420: [11:03:00] * qlex1 says hi
421: [11:04:00] <qlex1> im trying to add blog module and widgets module to my fresh ss3 installation
422: [11:04:00] <qlex1> when doing dev/build/?flush=all after uploading widgets, im getting:
423: [11:04:00] <qlex1> using trunks from github
424: [11:05:00] <qlex1> Fatal error: Access level to WidgetArea::$has_many must be public (as in class DataObject) in ...... /WidgetArea.php
425: [11:05:00] <qlex1> tried to replace private with public for WIdgetArea class, but that provided even more errors
426: [11:06:00] <qlex1> undefined variable: extension in framework/core/Object.php
427: [11:06:00] <qlex1> is there something broken in those trunks ?
428: [11:06:00] <qlex1> and fatal errors in Object.php too
429: [11:06:00] <qlex1> including Object.php in framework (missing argument 2 for Object::add_extension(), called in ....blog/config.php,
430: [11:07:00] <ajshort> qlex1: sounds like it's only compatible with ss 3.1 at the moment, not 3.2
431: [11:09:00] <qlex1> or both ?
432: [11:09:00] <qlex1> blog or widgets ?
433: [11:09:00] <ajshort> widgets from the sound of things
434: [11:10:00] <ajshort> ah wait a sec, i've got it backwards :)
435: [11:10:00] <ajshort> so you need to get an older version
436: [11:10:00] <ajshort> the widgets trunk is compatible with 3.2, not 3.0
437: [11:10:00] <qlex1> ajshort: if im not mistaken, im using ss 3.0.5
438: [11:10:00] <qlex1> that's the newest from silverstripe.org website which i downloaded and installed yesterday
439: [11:11:00] <qlex1> of widgets ?
440: [11:12:00] <qlex1> theres only master and 0.1
441: [11:12:00] <ajshort> get an older version
442: [11:12:00] <ajshort> yep
443: [11:12:00] <qlex1> im using master branch
444: [11:12:00] <qlex1> nothing more
445: [11:12:00] * guci0 quit (Ping timeout: 245 seconds)
446: [11:13:00] <qlex1> truying 0.1 now
447: [11:13:00] <qlex1> what about blog ?
448: [11:13:00] <ajshort> get 0.1
449: [11:13:00] <ajshort> dunno, check the commit log
450: [11:13:00] <ajshort> and readme/composer.json file
451: [11:14:00] <qlex1> ok, i can see blog master requires 3.1
452: [11:14:00] <qlex1> and 0.6 blog requires ss 3
453: [11:14:00] <qlex1> so going there :)
454: [11:20:00] * priithansen has joined #silverstripe
455: [11:28:00] <qlex1> didnt realize ss version is newer on github then on silverstirpe.org
456: [11:28:00] <qlex1> i guess 3.1 is not stable, since 3.0.5 is newest on ss.org
457: [11:28:00] <qlex1> ajshort: works! thanks for the tip
458: [11:31:00] <lewellyn> see /topic
459: [11:32:00] * guest_____ has joined #silverstripe
460: [11:32:00] <guest_____> when i import my csv, my function gets called .... if($this->Lat == NULL || $this->isChanged('Adres')){ ... by importing my csv, SS thinks that the adres is changed.. why
461: [11:32:00] * guest_____ quit (Quit: Page closed)
462: [11:33:00] * AshKyd has joined #silverstripe
463: [11:33:00] * nestab has joined #silverstripe
464: [11:33:00] <guest_____> ?
465: [11:35:00] * nestab quit (Read error: Connection reset by peer)
466: [11:36:00] * nestab has joined #silverstripe
467: [11:37:00] <guest_____> when i import my csv, my function gets called .... if($this->Lat == NULL || $this->isChanged('Adres')){ ... by importing my csv, SS thinks that the adres is changed.. why
468: [12:00:00] * cloph_away is now known as cloph
469: [12:01:00] <qlex1> hey just one more question
470: [12:01:00] <qlex1> i have created the file, my config in mysite has: i18n::set_locale('pl_PL');
471: [12:01:00] <qlex1> adding pl_PL.php to event-calednar module
472: [12:02:00] <qlex1> is there anything else i should set, in order for my ss page to "see" my polish translation ?
473: [12:02:00] <qlex1> i still can see everytthing in default english (event-calednar had no pl_PL.php file)
474: [12:07:00] <travis-ci> [travis-ci] chillu/sapphire#120 (pulls/datetimefield-hints - bad1c35 : Ingo Schommer): The build passed.
475: [12:07:00] * travis-ci has left #silverstripe
476: [12:07:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/6014492
477: [12:07:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/commit/bad1c35d42c1
478: [12:07:00] * travis-ci has joined #silverstripe
479: [12:07:00] * nestab quit (Read error: Connection reset by peer)
480: [12:08:00] * nestab has joined #silverstripe
481: [12:13:00] * UndefinedOffset has joined #silverstripe
482: [12:22:00] * nestab quit (Read error: Connection reset by peer)
483: [12:23:00] * nestab has joined #silverstripe
484: [12:28:00] * nestab quit (Read error: Connection reset by peer)
485: [12:29:00] * nestab has joined #silverstripe
486: [12:30:00] * guest_____ quit (Ping timeout: 245 seconds)
487: [12:43:00] * chillu quit (Quit: chillu)
488: [12:44:00] * ajshort quit (Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344])
489: [12:46:00] * Shrike_Finland quit (Quit: Leaving.)
490: [12:48:00] * chillu has joined #silverstripe
491: [12:51:00] <priithansen> Is there somesort of a microformats/microdata module for silverstripe? I vaguely remember seeing something but can't find anything at the moment
492: [12:53:00] * nestab quit (Read error: Connection reset by peer)
493: [13:02:00] <g4b0> is it possible to have a <% loop %> inside a <% if %> ?
494: [13:03:00] <qlex1> trying to use the pl.yml to provide translations to event calendar module...
495: [13:04:00] <qlex1> struggling with situation, where there's CalendarEvent.ss entry called CalendarEvent.ADD
496: [13:05:00] <qlex1> when adding something like CalendarEvent.ss: CalendarEvent.ADD: 'Dodaj do kalendarza' i cant see this on my page after dev/build and clearing cache
497: [13:05:00] <qlex1> am i doing something wrong ? anybody with i18n experience...
498: [13:17:00] <qlex1> anybody ?
499: [13:20:00] * AshKyd quit (Ping timeout: 246 seconds)
500: [13:24:00] <g4b0> ocm: I solved#
501: [13:24:00] <ocm> g4b0 never found problems using if in a loop
502: [13:25:00] <ocm> good :)
503: [13:33:00] * AshKyd has joined #silverstripe
504: [13:37:00] <ocm> by any chance? :P
505: [13:37:00] <ocm> anyone ever used cURL to kill a crossdomain session?
506: [13:39:00] * Shrike_Finland quit (Client Quit)
507: [13:39:00] * Shrike_Finland has joined #silverstripe
508: [13:40:00] * zfmf has left #silverstripe
509: [13:40:00] * MattyBalaam has joined #silverstripe
510: [13:49:00] * AshKyd quit (Ping timeout: 246 seconds)
511: [13:50:00] <MattyBalaam> Would anyone have any idea why this image is not loading via css on a live version of my site? http://www.bulbousuk.com/alpha/themes/bulbous/images/mono-symbol.svg
512: [13:50:00] <ocm> wrong path?
513: [13:50:00] <MattyBalaam> It works fine on my dev version. If I change .svg to a .png fallback I have there it is fine.
514: [13:52:00] <ocm> well the link to the image is working aswell, so cant tell much more
515: [13:53:00] <MattyBalaam> Here is the page in question: http://www.bulbousuk.com/alpha/
516: [13:53:00] <MattyBalaam> But no SVGs are working
517: [13:53:00] * zfmf has joined #silverstripe
518: [13:54:00] <ocm> hm, strange indeed
519: [13:55:00] <ocm> not really much experience with svg to be honest
520: [13:56:00] <MattyBalaam> I had a problem in the assets folder once where I needed to allow SVG in my .htaccess file, but this seems very different, almost as if it is a host issue maybe?
521: [13:57:00] <priithansen> Resource interpreted as Image but transferred with MIME type text/xml: "http://www.bulbousuk.com/alpha/themes/bulbous/images/mono-symbol.svg".
522: [13:57:00] <priithansen> maybe mime type issue?
523: [13:58:00] <MattyBalaam> Ah, OK. Is there some htaccess magic I can do there?
524: [14:00:00] <MattyBalaam> http://stackoverflow.com/questions/12339643/issue-with-mime-types-and-serving-svg-resource-interpreted-as-image-but-transfe
525: [14:01:00] <priithansen> the framework has a mimetype.yml config file that in 3.1 atleast has svg listed. Not where and how it works though
526: [14:02:00] * AshKyd has joined #silverstripe
527: [14:02:00] <MattyBalaam> Adding it into .htaccess has fixed it, thanks the help everyone.
528: [14:17:00] * MattyBalaam quit (Ping timeout: 245 seconds)
529: [14:21:00] * AshKyd quit (Ping timeout: 276 seconds)
530: [14:26:00] * qlex1 has left #silverstripe
531: [14:27:00] * Shrike_Finland has joined #silverstripe
532: [14:30:00] * Nivery has joined #silverstripe
533: [14:49:00] <svandragt> Could anyone help with my custom formfield that's not saving the value into the database :( http://www.sspaste.com/paste/show/515c4129ee81c thanks in advance, i feel I'm nearly there.
534: [14:54:00] * nestab has joined #silverstripe
535: [14:57:00] * ARNHOE_ quit (Remote host closed the connection)
536: [14:59:00] <svandragt> $this->dataValue() returns null in SaveInto
537: [15:04:00] <g4b0> Is it possible to manage a counter during a <% loop %>
538: [15:11:00] * nestab quit (Read error: Connection reset by peer)
539: [15:12:00] * nestab has joined #silverstripe
540: [15:15:00] <LoveDuckie> Does anyone know how I can stop a $variable being called in a string?
541: [15:15:00] <LoveDuckie> QQ:
542: [15:16:00] * nestab quit (Read error: Connection reset by peer)
543: [15:16:00] <LoveDuckie> For example, I have a line in it where there is a dollar sign with a string after it and I don't want the string being called as a variable.
544: [15:17:00] * nestab has joined #silverstripe
545: [15:27:00] * catcher has joined #silverstripe
546: [15:28:00] * nestab quit (Read error: Connection reset by peer)
547: [15:28:00] <svandragt> single quotes?
548: [15:28:00] * nestab has joined #silverstripe
549: [15:28:00] * lx-berlin has joined #silverstripe
550: [15:30:00] <lx-berlin> hi all, i have installed ss3.0 with composer. Now i have added another module with composer but its was also downloading the modules docsviewer, buildtools and a folder "testsessions". These modules are included in the composer.json in the require-dev section. Can i get rid of these modules ?
551: [15:38:00] * nestab quit (Read error: Connection reset by peer)
552: [15:39:00] * nestab has joined #silverstripe
553: [15:49:00] * nestab quit (Read error: Connection reset by peer)
554: [15:50:00] * nestab has joined #silverstripe
555: [15:56:00] <kinglozzer> lx-berlin: Sounds like they were intentionally installed by the module you added to your requirements. I don't know of any way of specifying that those shouldn't be installed - if they're requirements then they're usually installed for a reason - perhaps there's a different branch that doesn't have those as requirements?
556: [15:57:00] * kinglozzer quit (Remote host closed the connection)
557: [15:57:00] * priithansen quit (Quit: priithansen)
558: [15:58:00] * Shrike_Finland quit (Quit: Leaving.)
559: [16:00:00] * g4b0 quit (Quit: Sto andando via)
560: [16:02:00] <lx-berlin> kinglozzer: i have installed SS using the silverstripe-installer. There are these requirements set in the composer.json (https://github.com/silverstripe/silverstripe-installer/blob/3.0/composer.json)
561: [16:02:00] <lx-berlin> chillu: can i get rid of all require-dev in the silverstripe-installer ?
562: [16:03:00] <chillu> For a normal website, you'd just run "composer install" rather than "composer install --dev"
563: [16:03:00] <lx-berlin> ok, so i remove the downloaded folders and remove these settings from my composer.json, right ?
564: [16:03:00] <lx-berlin> i dont know why i would need docsviewer, buildtools , ...
565: [16:03:00] <chillu> Your call, they're not required for normal operation
566: [16:04:00] * nestab quit (Read error: Connection reset by peer)
567: [16:04:00] <lx-berlin> did i run "composer install --dev" ? I installed with the composer tool in PhpStorm (yes, its up and running now :)
568: [16:05:00] * priithansen has joined #silverstripe
569: [16:05:00] * nestab has joined #silverstripe
570: [16:05:00] <lx-berlin> then PhpStorm must have done this
571: [16:06:00] <lx-berlin> it wasnt downloading those extensions from the beginning. I just added cwsoft-foldergallery as a dependecy (version master) then all these additional tools were installed
572: [16:10:00] * nestab quit (Read error: Connection reset by peer)
573: [16:11:00] * nestab has joined #silverstripe
574: [16:15:00] * lx-berlin has left #silverstripe
575: [16:17:00] * ocm quit (Read error: Connection reset by peer)
576: [16:18:00] * lx-berlin_ has joined #silverstripe
577: [16:21:00] * zfmf has left #silverstripe
578: [16:26:00] * nestab quit (Quit: WeeChat 0.3.8)
579: [16:45:00] * Nivery quit (Quit: Nivery)
580: [16:51:00] * waveydave has left #silverstripe
581: [16:54:00] <elgrodo> lx-berlin: Still not quite done, but the multiple map case using my upgraded mappable module for SS3 http://demo.weboftalent.asia/mappable/multiple-maps-on-the-same-page/
582: [16:54:00] <elgrodo> lx-berlin: Other examples here http://demo.weboftalent.asia/mappable/
583: [16:54:00] <FrozenFire> I need to have a permission which bypasses an entire security requirement when a user has it, but not all administrators will want to have it.
584: [16:54:00] <FrozenFire> Is there a way to exclude a permission from being implicitly "had" by the administrative group?
585: [16:56:00] <lx-berlin_> elgrodo: thx. But i did reuse our old gmap2 module. It worked in SS3.0 without any changes :) I think i will leave it as it is for this project. But i will take a look at your module for the next project
586: [16:57:00] <elgrodo> no worries, I figured you had already got it working
587: [16:57:00] <elgrodo> google maps 2 API expires soon though
588: [17:00:00] <lx-berlin_> really ? damn
589: [17:03:00] <elgrodo> May 19,2013
590: [17:03:00] <elgrodo> https://developers.google.com/maps/documentation/javascript/v2/ < 7 weeks
591: [17:03:00] <elgrodo> let me check
592: [17:04:00] <lx-berlin_> but i have never seen it :)
593: [17:04:00] <lx-berlin_> what ? f...
594: [17:04:00] <elgrodo> 3 years notice is fair enough though
595: [17:05:00] <elgrodo> better you know now that May 20...
596: [17:05:00] <elgrodo> you have now #schedulenewtask
597: [17:05:00] <elgrodo> s/that/than/
598: [17:14:00] <lx-berlin_> can you tell me the url of your github repo again, please?
599: [17:14:00] * Marvanni quit ()
600: [17:15:00] * lx-berlin_ is now known as lx-berlin
601: [17:15:00] <lx-berlin> this one ? https://github.com/gordonbanderson/Mappable/tree/googlemapsv3api
602: [17:16:00] <simon_w|air> FrozenFire, nope. The admin implication is all or nothing
603: [17:18:00] <FrozenFire> Yeah, it's a bit silly.
604: [17:23:00] * popeshoe quit (Quit: This computer has gone to sleep)
605: [17:24:00] <elgrodo> consider it alpha though, I've not tested across multiple browsers
606: [17:24:00] <elgrodo> lx-berlin: Relevant branch is https://github.com/gordonbanderson/Mappable/tree/dev30
607: [17:25:00] <elgrodo> lx-berlin: THe googlemapsv3api branch I did over a year ago, might solve your current problems
608: [17:32:00] <lx-berlin> thanks. i will try it next week
609: [17:43:00] * Nivery has joined #silverstripe
610: [18:05:00] * Zauberfisch has joined #silverstripe
611: [18:06:00] <Zauberfisch> chillu chillu chillu chillu chillu chillu chillu chillu chillu
612: [18:18:00] * Motoservo quit (Quit: Motoservo)
613: [18:21:00] * Motoservo has joined #silverstripe
614: [18:24:00] * lx-berlin quit (Ping timeout: 246 seconds)
615: [18:28:00] <chillu> Zauberfisch Zauberfisch: Zauberfisch: :D
616: [18:36:00] <simon_w> You mean I could've left my emails on overnight? Bah, I say! :p
617: [18:38:00] <simon_w> Zauberfisch, passing the blame isn't very nice! :p
618: [18:38:00] <Zauberfisch> simon_w I blame chillu!
619: [18:39:00] <simon_w> (Also, I still think you should be migrating all the tickets, not just new ones)
620: [18:39:00] <Zauberfisch> in ~15 min I'll start
621: [18:39:00] <Zauberfisch> but helps make me feel better
622: [18:39:00] <Zauberfisch> simon_w you got 15 more minutes to convince chillu of that
623: [18:40:00] <Zauberfisch> please send again chillu
624: [18:40:00] <Zauberfisch> just launching skype on my pc
625: [18:40:00] <simon_w> old != irrelevant
626: [18:40:00] <chillu> Zauberfisch: accept your skype transfer ;)
627: [18:40:00] <chillu> there you go
628: [18:41:00] <Zauberfisch> going for another test run
629: [18:41:00] <Zauberfisch> with extra tickets
630: [18:41:00] <Zauberfisch> and then we go live
631: [18:41:00] <Zauberfisch> ty
632: [18:49:00] * DigNZ has joined #silverstripe
633: [18:49:00] * DigNZ1 has joined #silverstripe
634: [18:49:00] * Nivery quit (Quit: Nivery)
635: [18:50:00] * DigNZ quit (Ping timeout: 245 seconds)
636: [18:51:00] * DigNZ1 quit (Ping timeout: 245 seconds)
637: [18:52:00] * DigNZ has joined #silverstripe
638: [19:02:00] * Motoservo quit (Ping timeout: 264 seconds)
639: [19:02:00] * Motoservo_ has joined #silverstripe
640: [19:19:00] <simon_w> Zauberfisch, so, finished yet?
641: [19:19:00] <Zauberfisch> final test run just finished
642: [19:20:00] <simon_w> So much for starting in 15 minutes :p
643: [19:20:00] <Zauberfisch> yeah^^
644: [19:23:00] * popeshoe has joined #silverstripe
645: [19:34:00] * travis-ci has joined #silverstripe
646: [19:34:00] <travis-ci> [travis-ci] simonwelsh/silverstripe-framework#11 (3.0 - a99c829 : Sean Harvey): The build passed.
647: [19:34:00] <travis-ci> [travis-ci] Change view : https://github.com/simonwelsh/silverstripe-framework/compare/42a422775ef2...a99c829ed1db
648: [19:34:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/simonwelsh/silverstripe-framework/builds/6026181
649: [19:34:00] * travis-ci has left #silverstripe
650: [19:34:00] * zfmf has joined #silverstripe
651: [19:35:00] * Jakx has joined #silverstripe
652: [19:35:00] <Jakx> yo
653: [19:37:00] <Zauberfisch> ->filter('ID:GreateThan', 1337);
654: [19:37:00] <Jakx> Zauberfisch, hope you're well!
655: [19:37:00] <Zauberfisch> *Greater
656: [19:37:00] <Jakx> how do I do >= with the DO::get()->filter() convention?
657: [19:37:00] <Jakx> Zauberfisch, does the same apply for :LessThan?
658: [19:37:00] <Zauberfisch> hey Jakx
659: [19:38:00] <Zauberfisch> Jakx http://doc.silverstripe.org/framework/en/topics/datamodel#search-filter-modifiers
660: [19:38:00] <Jakx> It's not exactly exhaustive
661: [19:38:00] <Jakx> Zauberfisch, yeah I am looking at that right now
662: [19:39:00] <Jakx> The reason I ask is, I'm doing Date:LessThan ... now
663: [19:39:00] <FrozenFire> That will work
664: [19:40:00] <Jakx> but it doesn't include DO's that have todays date
665: [19:40:00] * nickmolhoek has joined #silverstripe
666: [19:40:00] * nickmolhoek has joined #silverstripe
667: [19:40:00] * nickmolhoek quit (Remote host closed the connection)
668: [19:41:00] <simon_w> Jakx, you using 3.1?
669: [19:42:00] <Jakx> simon_w, yeah
670: [19:43:00] <simon_w> You've got three options. Right your own SearchFilter, ->filterAny(array('Date' => $today, 'Date:GreaterThan' => $today)) or ->exclude('Date:LessThan', $today)
671: [19:44:00] <simon_w> (3.0 only has the first option, or a ->where())
672: [19:46:00] * popeshoe quit (Quit: This computer has gone to sleep)
673: [19:51:00] * simon_w quit (Ping timeout: 252 seconds)
674: [19:58:00] <ss23> Wow I bet simon_w was/is using a horrible dodgy insecure buggy OS that crashes lots due to GFX issues
675: [19:59:00] <Jakx> snap.
676: [19:59:00] <ss23> OSX!
677: [19:59:00] <Jakx> ss23, lol which OS would that be?
678: [20:01:00] * DigNZ1 has joined #silverstripe
679: [20:01:00] * DigNZ1 quit (Remote host closed the connection)
680: [20:01:00] * DigNZ1 has joined #silverstripe
681: [20:02:00] * DigNZ1 quit (Client Quit)
682: [20:07:00] * tankr has joined #silverstripe
683: [20:07:00] * tankr has left #silverstripe
684: [20:10:00] <Zauberfisch> https://github.com/silverstripe/sapphire/issues
685: [20:10:00] <Zauberfisch> https://github.com/silverstripe/silverstripe-cms/issues
686: [20:10:00] <Zauberfisch> https://github.com/silverstripe/silverstripe-cms/
687: [20:10:00] <Zauberfisch> yay
688: [20:10:00] <Zauberfisch> import running
689: [20:13:00] <Pyromanik> hm
690: [20:14:00] <Pyromanik> I accidentally an overnight
691: [20:19:00] <Jakx> working with dates is not going as expected ><
692: [20:20:00] <Jakx> can I compare SS_DateTime objects with simple operators? e.g $futureDate > $presentDate
693: [20:20:00] <Pyromanik> how cool is this?
694: [20:20:00] <Pyromanik> http://www.smartrak.co.nz/info/balloons/
695: [20:21:00] <Jakx> Pyromanik, that is cool. It's a shame that the baloons don't have unique icons
696: [20:25:00] <Jakx> I'm not sold on SS_DateTime
697: [20:29:00] * simon_w has joined #silverstripe
698: [20:31:00] * UndefinedOffset quit (Quit: Leaving.)
699: [20:35:00] * SightUnseen has joined #silverstripe
700: [20:36:00] * SightUnseen has left #silverstripe
701: [20:37:00] * zfmf has left #silverstripe
702: [20:37:00] <simon_w> Wee, new graphics drivers
703: [20:38:00] <simon_w> It's like I'm running Linux, except nowhere near as painful
704: [20:38:00] <Jakx> simon_w, lol
705: [20:39:00] <Jakx> simon_w, in your opinion should I be using SS_DateTime to manage all my dates in a dates dependent project?
706: [20:39:00] <simon_w> If you want them stored in the database
707: [20:40:00] <Jakx> simon_w, and for arbitrary Date handling - what would you recommend?
708: [20:40:00] <simon_w> In most cases, timestamps are the easiest
709: [20:40:00] <simon_w> Depends on what you're doing
710: [20:42:00] <Jakx> simon_w, fair enough.
711: [20:44:00] <Jakx> can I add filters that pertain to object methods rather than database values to the filter()?
712: [20:45:00] <simon_w> nope
713: [20:45:00] <simon_w> There's filterByCallback(), which executes the query, filters each item by the callback and returns an ArrayList
714: [20:45:00] <Jakx> e.g ->filter(array("DynamicValue:GreaterThan" => 5));
715: [20:46:00] <Jakx> simon_w, thx. What would you suggest is the best way to filter in this manner?
716: [20:46:00] <simon_w> filterByCallback...
717: [20:46:00] <Jakx> simon_w, yeah you're beating me to it hahah
718: [20:46:00] <Jakx> simon_w, if only google would return some documentation on filterByCallback()...
719: [20:47:00] <Jakx> ty
720: [20:47:00] <simon_w> api.silverstripe.org
721: [20:51:00] * Zauberfisch quit (Remote host closed the connection)
722: [20:53:00] <Jakx> [User Error] Uncaught LogicException: DataList::filterByCallback() must be passed something callable.
723: [20:54:00] <Jakx> the method does exist in the object
724: [20:54:00] <simon_w> Well, yeah
725: [20:54:00] <Jakx> ->filterByCallback("isActive");
726: [20:54:00] <simon_w> "Filter this DataList by a callback function."
727: [20:54:00] <simon_w> Notice function, not method?
728: [20:55:00] <simon_w> A method is on a class/object
729: [20:55:00] <simon_w> http://www.php.net/manual/en/language.types.callable.php
730: [20:55:00] <Jakx> simon_w, I'm not aware of the difference
731: [20:56:00] <Jakx> doesn't have to be a static?
732: [20:57:00] <Jakx> if a function is not static, is it still a method if it is in a class?
733: [21:00:00] <simon_w> yes
734: [21:00:00] <Jakx> understood, thanks for clarifying
735: [21:00:00] <simon_w> Then it's an instance method instead of a static method
736: [21:01:00] <simon_w> You probably want something like ->filterByCallback(function($obj) { return $obj->isActive(); })
737: [21:03:00] <simon_w> Zauberfisch^idle, I'm not detecting any sort of order to these notifications. How much to go?
738: [21:03:00] <Jakx> simon_w, thanks. I did suspect this - I certainly appreciate you illustrating it
739: [21:15:00] <Zauberfisch^idle> done
740: [21:15:00] <Zauberfisch^idle> just finished
741: [21:16:00] <Zauberfisch^idle> anyway, it seems everything went down well
742: [21:16:00] <Zauberfisch^idle> the order of the notifications was the ID of comments
743: [21:16:00] <Zauberfisch^idle> bed time
744: [21:16:00] <Zauberfisch^idle> good night
745: [21:17:00] <Jakx> night
746: [21:18:00] <Jakx> is it possible to sort the groups in a GroupedList?
747: [21:20:00] * Dynamic_Nic quit (Remote host closed the connection)
748: [21:20:00] * Dynamic_Nic has joined #silverstripe
749: [21:21:00] * Dynamic_Nic has joined #silverstripe
750: [21:24:00] <ss23> Aw snap, new rendering engine?!
751: [21:24:00] <FrozenFire> Whatnow?
752: [21:25:00] <simon_w> Chromium is ditching WebKit
753: [21:25:00] <simon_w> http://blog.chromium.org/2013/04/blink-rendering-engine-for-chromium.html
754: [21:25:00] <ss23> So is Opera
755: [21:30:00] <FrozenFire> Yay for more browser prefixes.
756: [21:30:00] <FrozenFire> This should be interesting.
757: [21:31:00] <FrozenFire> :P{
758: [21:31:00] <FrozenFire> -blink-appearance
759: [21:32:00] <ss23> lol FrozenFire
760: [21:33:00] <ss23> simon_w: apple fanboy
761: [21:33:00] <FrozenFire> Browser prefixes serve an important purpose
762: [21:33:00] <ss23> Although dunno if that counts as an accounement since Chromium team already talked about doing it
763: [21:33:00] <FrozenFire> Somewhat
764: [21:33:00] <simon_w> I wonder how long it'll be "the standard" without Apple's work on actually implementing the standards going into it
765: [21:33:00] <ss23> FrozenFire: Along with the annoucement on blink comes "no more browser prefixes"
766: [21:33:00] <ss23> cause if so, they do well
767: [21:33:00] <ss23> FrozenFire: Is the purpose to annoy people?
768: [21:33:00] <ss23> :P
769: [21:34:00] <simon_w> ss23, majority of commits I saw from chromium/google emails: inspector and chromium build system. Grunt work: webkit and apple emails
770: [21:35:00] <ss23> So what you're saying is... Chrome team worked on things that resulted in a nicer Chrome, since other people were working on other things?
771: [21:35:00] <ss23> Damn, this is horrible.
772: [21:35:00] <ss23> You mean, they worked in the right places?!
773: [21:36:00] <ss23> Is it still fanboyism if Chrome really is the best?
774: [21:36:00] <simon_w> chrome fanboy :p
775: [21:37:00] <ss23> Let me go install OSX
776: [21:37:00] <ss23> Oh wait, now I need to update because I'm getting kernel panics all the time because of my graphics
777: [21:37:00] <ss23> I guess OSX is best
778: [21:37:00] <simon_w> Given that it isn't, yes.
779: [21:38:00] <FrozenFire> They do
780: [21:38:00] <Pyromanik> FrozenFire, no they don't.
781: [21:38:00] <Pyromanik> nope.
782: [21:39:00] <Pyromanik> watch Paul Irish's rant on it.
783: [21:39:00] <FrozenFire> You want to use a new feature, it's not formalized in a CSS spec yet, you need to rely on syntax.
784: [21:39:00] <ss23> FrozenFire: I'm with Pyromanik, I can't think of any good reasons for them
785: [21:39:00] <Pyromanik> FrozenFire, yeah ok, in some fringe cases.
786: [21:39:00] <ss23> FrozenFire: That's not a reason *for* them, thats what they do. You haven't said why thats good or bad
787: [21:39:00] <FrozenFire> So as a balance, you use a browser prefix for the time being
788: [21:39:00] <ss23> You just said "This is what prefixes are"
789: [21:39:00] <ss23> Thats stupid
790: [21:39:00] <simon_w> Let me go install Linux. Oh wait, it can't boot itself without emulating BIOS for USB drives
791: [21:39:00] <ss23> Why don't you explain the reasoning, FrozenFire?
792: [21:39:00] <Pyromanik> But in spec'd features that just "aren't properly tested yet or solidified in spec", they're fuck'n useless
793: [21:39:00] <ss23> Cake is good because cake is a kind of food.
794: [21:39:00] <FrozenFire> You're stupid
795: [21:40:00] <FrozenFire> He ded bro
796: [21:40:00] <FrozenFire> Na na na na na na
797: [21:40:00] * Pyromanik imagines FrozenFire blowing a raspberry
798: [21:40:00] <simon_w> FrozenFire, ss23 is almost as bad as you :p
799: [21:40:00] <FrozenFire> :P
800: [21:40:00] <Pyromanik> no irogue?
801: [21:40:00] * chxn has joined #silverstripe
802: [21:40:00] <Pyromanik> what happen?
803: [21:40:00] <ss23> lol
804: [21:40:00] <ss23> He probably DC'd
805: [21:40:00] <ss23> I hear he's been working hard lately :O
806: [21:41:00] <Pyromanik> POUNDS!
807: [21:41:00] <ss23> I went and had lunch with him and another friend this... Monday though
808: [21:41:00] <ss23> So he was alive then!
809: [21:41:00] * FrozenFire has eaten over three pounds of M&M's candy
810: [21:41:00] <FrozenFire> Peanut sort
811: [21:41:00] <Pyromanik> o.0
812: [21:41:00] <Pyromanik> It's like a unit of SMASH
813: [21:41:00] <ss23> FrozenFire: Nice...
814: [21:41:00] <FrozenFire> About 1.65 kg, I think
815: [21:42:00] <Pyromanik> 2.2 pounds to proper units of mass.
816: [21:42:00] <ss23> I was meant to do it almost a month ago, only just getting around to it now, need to force myself to go in and get it over and done with
817: [21:42:00] <FrozenFire> What're you thinking you have, that needs a fasting blood test?
818: [21:42:00] <Pyromanik> ss23, eating m&m's
819: [21:42:00] <Pyromanik> ?
820: [21:42:00] <FrozenFire> Sort sort of lipid-sequestered toxin?
821: [21:42:00] <FrozenFire> Some sort**
822: [21:42:00] <Pyromanik> FrozenFire, he is diabetic
823: [21:42:00] <ss23> I really wanna eat, but I need to do a fasting blood test
824: [21:43:00] <FrozenFire> :P
825: [21:43:00] <Pyromanik> not that kind of diabetic iirc
826: [21:43:00] <FrozenFire> After ~3lbs of M&M's, so am I
827: [21:44:00] <Pyromanik> very cool
828: [21:44:00] <Pyromanik> except for the fact that none are flying today.
829: [21:44:00] <ss23> Pyromanik: I was meant to do a blood test a month ago, I mean, not eat M&M's >.<
830: [21:44:00] <Pyromanik> and it shows about 20 as being up.
831: [21:44:00] <ss23> FrozenFire: What? Are you asking waht the test is?
832: [21:44:00] <ss23> On this paper it says "Lipids - fasting"
833: [21:44:00] <ss23> I don't know what that means though!
834: [21:44:00] <Pyromanik> so anyway, that balloon thing I posted before
835: [21:45:00] <Pyromanik> it means your Lipids are fasting.
836: [21:45:00] <FrozenFire> Negative net calories to consume lipids (fat)
837: [21:45:00] <ss23> :O
838: [21:45:00] <ss23> Is that better than slowing?
839: [21:45:00] <FrozenFire> Basically, they're making you lose weight
840: [21:45:00] <ss23> Cool, I like losing weight. I'm getting chubby
841: [21:45:00] <ss23> Soon I'll have to go on a diet :<
842: [21:46:00] <Pyromanik> join irogue on his no carbs diet
843: [21:46:00] <Jakx> join the world on their no carbs diets
844: [21:46:00] <FrozenFire> Consume Soylent
845: [21:46:00] <FrozenFire> Just not the green type
846: [21:47:00] <FrozenFire> http://robrhinehart.com/?p=298
847: [21:48:00] <FrozenFire> :P
848: [21:48:00] <FrozenFire> Or you could be me and be allergic to everything that makes you fat.
849: [21:48:00] <ss23> If I was goign to diet, I would probably go with Soylent, yeah
850: [21:48:00] <ss23> FrozenFire: ALERGY TO SUGAR? ;_;
851: [21:48:00] <FrozenFire> Gluten intolerant
852: [21:48:00] <FrozenFire> If I was allergic to sugar, do you think I'd be eating multiple pounds of M&M's?
853: [21:49:00] <FrozenFire> Then again, I'm managing to get fat despite not eating anything
854: [21:49:00] <Pyromanik> you don't need to be allergic to sugar
855: [21:49:00] <FrozenFire> I meant that I don't eat anything like fast food, burgers, deep fried shit, etc.
856: [21:49:00] <FrozenFire> Too sedentary.
857: [21:49:00] <ss23> idgi
858: [21:49:00] <ss23> You can get fat on just sugar
859: [21:49:00] <ss23> >.>
860: [21:49:00] <Pyromanik> just peanuts.
861: [21:49:00] <FrozenFire> Yeah, I know
862: [21:50:00] <Pyromanik> I knew a guy allergic to peanuts once. He would get ill on the non peanut m&m's.
863: [21:50:00] <FrozenFire> Otherwise it just goes out the other end in a slurry. :P
864: [21:50:00] <ss23> Since you know, my massive nuts might cause him tro flare up.
865: [21:50:00] <Pyromanik> walking home to detox
866: [21:50:00] <Pyromanik> 2 handfuls later
867: [21:50:00] <ss23> Annoying that I couldn't be friends with him though
868: [21:50:00] <Pyromanik> he'd go in for just a few
869: [21:50:00] <Pyromanik> he knew too
870: [21:50:00] <Pyromanik> yeah I know
871: [21:50:00] <ss23> Pyromanik: Yeah, because they're made in places with nuts!
872: [21:50:00] <FrozenFire> Pyromanik, Duh.
873: [21:51:00] <FrozenFire> You might want to get that checked on
874: [21:51:00] <ss23> gosh, I hope not.
875: [21:51:00] <FrozenFire> :P
876: [21:51:00] <ss23> Will they be like "what the fuck, you waited a month? Go see a doctor again, we cna't do this test now"
877: [21:51:00] <ss23> month*
878: [21:51:00] <ss23> It's been a mont
879: [21:51:00] <ss23> BUT OMG
880: [21:51:00] <ss23> I need to replace this needle container too
881: [21:51:00] <ss23> okay fuck it I'm going now
882: [21:51:00] <ss23> lol
883: [21:51:00] <FrozenFire> Seems like an indicator of testicular cancer
884: [21:52:00] <FrozenFire> I'm an asshole to my body.
885: [21:52:00] <FrozenFire> I'll show up if I have an appointment, but making that appointment requires more willpower than I have
886: [21:52:00] <FrozenFire> I do that shit all the time
887: [21:53:00] <FrozenFire> Hundreds of millions of rows
888: [21:53:00] * liam__ has joined #silverstripe
889: [21:53:00] <ss23> 10:53:06 < FrozenFire> I'll show up if I have an appointment, but making that appointment requires more willpower than I have
890: [21:53:00] * FrozenFire wishes this table import would finish
891: [21:53:00] <FrozenFire> Screwing with my SSD
892: [21:54:00] <ss23> exactly.
893: [21:54:00] <FrozenFire> "Oh, good, the unbearable pain went away. That means I can put it off again"
894: [21:54:00] <ss23> dude
895: [21:54:00] <ss23> XD
896: [21:54:00] <FrozenFire> Haha
897: [21:54:00] <ss23> I'm so lazy I could literally kill myself.
898: [21:54:00] <ss23> ;_;
899: [21:54:00] <ss23> So I get to the point where I run out of insulin, then be like "fuck I hope they're open today, is today a holiday?" and hope it works out
900: [21:55:00] <FrozenFire> :P
901: [21:55:00] <ss23> It took me so long to go in to be diagnosed when I first had it
902: [21:55:00] <ss23> "Oh I'm feeling weak? Drinking 1l of water an hour? constantly pissing? OH MAYBE IT'LL PASS"
903: [21:55:00] <FrozenFire> I need to go see a dentist, is what I keep putting off
904: [21:56:00] <FrozenFire> Heh
905: [21:56:00] <FrozenFire> I know I have cavities, and I'm pretty sure I let one get bad enough to hit a nerve, but the pain went away after a while. :P
906: [21:56:00] <ss23> Eventually I went into DKA so dragged myself to a doctor -- "Hi yes um, I think I have diabetes" "LOL UNLIKELY, have you fasted? WE CAN'T TEST YOU UNLESS YOU FAST FIRST, it's probably just a stomach bug." "..." "Can you test me anyway?" "okay... *fuck* plz go to hospital ur in DKA"
907: [21:56:00] <ss23> lol FrozenFire
908: [21:56:00] <ss23> I have a chipped tooth I've had for like 2 years now :<
909: [21:56:00] <ss23> I hear dental is cheapre over in thaland etc though
910: [21:56:00] <ss23> Might save up and go over there and have fun at the same time
911: [21:57:00] <FrozenFire> Funny thing here is that we have free medical (though no free dentistry, unfortunately) and I still never use it
912: [21:58:00] <ss23> I regret it now :<
913: [21:58:00] <FrozenFire> Which reminds me... I need to renew my MSP payments
914: [21:58:00] <FrozenFire> I started making money recently, so I guess I have to pay now. :P
915: [21:58:00] <ss23> Yeah, I probably spent ~$1k on insulin in Australia when it would've been free if I filled out forms
916: [22:01:00] <FrozenFire> Uggh, 10,000+ rows per second and it's still taking ages.
917: [22:02:00] <FrozenFire> Probably about 45M+ rows inserted already, but I know the total is probably close to 100M
918: [22:02:00] * liam__ quit (Quit: liam__)
919: [22:08:00] * Colin[pi] has joined #silverstripe
920: [22:12:00] <Colin[pi]> morning all
921: [22:12:00] <simon_w> FrozenFire, should be using mongo :p
922: [22:13:00] <FrozenFire> simon_w, Lolnope.
923: [22:13:00] <FrozenFire> This database is so heavily relational, you can't even imagine
924: [22:15:00] <Colin[pi]> how can I get the cms to load some custom script via ajax page refresh?
925: [22:16:00] <Colin[pi]> I have tried for days on and off and I can't get it to work
926: [22:16:00] <Colin[pi]> only loads on page reload
927: [22:17:00] <Pyromanik> 'halp, order form spam!"
928: [22:17:00] <Pyromanik> I see a pattern here that is seldom used by spambots...
929: [22:17:00] <Pyromanik> get email through
930: [22:17:00] <Pyromanik> take a look at example
931: [22:17:00] <Pyromanik> "asdf asdf asdfasdfasdsdfdsa asdfasdfasd asdfasd asdfasdfas"
932: [22:17:00] <Pyromanik> lol
933: [22:18:00] * AshKyd has joined #silverstripe
934: [22:18:00] <Pyromanik> only 1 example. "How do I block it?" - stop people from ordering stuff online :<
935: [22:21:00] <Pyromanik> FrozenFire, but mongo db is web scale!
936: [22:23:00] <Colin[pi]> anyone? tis driving me spare :C
937: [22:26:00] <FrozenFire> I've actually been looking at Mongo, genuinely.
938: [22:26:00] <FrozenFire> Not for this
939: [22:26:00] <FrozenFire> But for something else.
940: [22:26:00] <FrozenFire> I was taking a looksie around Lithium framework. It's quite nice
941: [22:26:00] <FrozenFire> Uses Mongodb, generally
942: [22:27:00] * DigNZ quit (Quit: DigNZ)
943: [22:29:00] <FrozenFire> Normally, you do the relational getting in your own system
944: [22:29:00] <Pyromanik> FrozenFire, mmm, I've had a brief introductory squiz, but nothing beyond that. The idea is cool, but I think I like the idea of Couch's horizontal scale better.
945: [22:29:00] <Pyromanik> but I don't get how one does related stuffs.
946: [22:29:00] <FrozenFire> One of two ways
947: [22:29:00] <Pyromanik> anyways, Colin[pi], I usually just cheat and do a <script>myshithere</script> in my CMS form.
948: [22:29:00] <FrozenFire> You just do something like set a field in the document you're saving called MyRelationID
949: [22:29:00] <Pyromanik> with literalfield or the like
950: [22:30:00] <Pyromanik> and how efficient is that :<
951: [22:30:00] <Pyromanik> FrozenFire, mmm, but if it's just a KV store at heart, where do ID's come from?
952: [22:31:00] <simon_w> Is fancy and stuff
953: [22:31:00] <Colin[pi]> I tried doing a literal, but when I click another item in the tree, the form refreshes via ajax and I get the JS from the first page, not the new one :(
954: [22:31:00] <simon_w> We use mongo for sessions and archived DataObjects
955: [22:32:00] <FrozenFire> But they warn against using it
956: [22:32:00] <simon_w> Also, takes up a crap load of space
957: [22:32:00] <FrozenFire> There's also some document reference magic in MongoDB
958: [22:32:00] <simon_w> For our references, we use subdocuments
959: [22:32:00] <Pyromanik> FrozenFire, yeah, I got about that far in and went "Fuck my brain hurts"
960: [22:32:00] <Pyromanik> and stopped
961: [22:33:00] <Pyromanik> relying on coders to code properly, etc.
962: [22:33:00] * chxn has left #silverstripe
963: [22:33:00] <FrozenFire> Typically you'd just do it how most other systems do, that I'm aware of.
964: [22:33:00] <FrozenFire> That's the same regardless.
965: [22:33:00] <FrozenFire> Generate GUIDs
966: [22:33:00] <Pyromanik> mmm
967: [22:33:00] <FrozenFire> You're just shifting the burden to the DBMS authors
968: [22:33:00] <Pyromanik> programmatically introduces errors though.
969: [22:34:00] <FrozenFire> And you'd also use a unique field in that collection to enforce uniqueness
970: [22:35:00] <FrozenFire> It's different, for sure, but not all that much
971: [22:35:00] <FrozenFire> Just lacks a static schema
972: [22:40:00] * DigNZ has joined #silverstripe
973: [22:40:00] * DigNZ has joined #silverstripe
974: [22:40:00] * DigNZ quit (Remote host closed the connection)
975: [22:49:00] <ss23> ow
976: [22:49:00] <ss23> She had to stab me twice
977: [22:49:00] <ss23> :<
978: [22:51:00] <simon_w> Class::get()->byID()
979: [22:51:00] <Jakx> is there a DataObject::get_by_id(); equivalent that follows the MyDataObject::get() format?
980: [22:52:00] <Jakx> simon_w, thanks. and now I see it in the datamodal doc ><
981: [22:56:00] <Colin[pi]> ok so it seems my problem is that I have JS loading via Ajax, and hence not being executed
982: [23:06:00] <Colin[pi]> basically i have a google chart that needs to be rendered for each page, but it's not refreshing unless I reload the whole page
983: [23:07:00] <catcher> anyone have a solid way to get the SortableGridField component to add new records to the top instead of bottom?
984: [23:09:00] * Colin[pi]2 has joined #silverstripe
985: [23:10:00] * Colin[pi] quit (Ping timeout: 256 seconds)
986: [23:11:00] * liam__ has joined #silverstripe
987: [23:12:00] * catcher quit (Quit: Leaving)
988: [23:12:00] <catcher> crap, gotta run - I'll check the log tomorrow if anyone has feedback.
989: [23:35:00] * DigNZ quit (Quit: DigNZ)
990: [23:40:00] * AshKyd quit (Ping timeout: 245 seconds)
991: [23:41:00] * Colin[pi]2 quit (Ping timeout: 264 seconds)
992: [23:52:00] <simon_w> chillu, doesn't look like we can currently move the CS to scrutinizer. Hopefully https://github.com/scrutinizer-ci/scrutinizer/issues/24 gets a (useful) response soonish
993: [23:52:00] * liam__ quit (Quit: liam__)
994: [23:53:00] <chillu> simon_w: I think its more likely if you explain the specifics, and link to the CS XML files in our project. It sounds a bit implausible until you get the constraints around spacing in CS
995: [23:56:00] * joshkosmala has joined #silverstripe
996: [23:57:00] <joshkosmala> chillu, hope you're well. If you've got a moment, could you please help me define how the "MailingLists" column is interpreted when importing users from CSV in to a Mailling List on SS3 newletter. Cheers :)
997: [23:57:00] <simon_w> chillu, done. I've also got the line-length sniff running: https://scrutinizer-ci.com/g/simonwelsh/silverstripe-framework/inspections/45c000c8-2e83-41ea-b4c4-1b8babe5a3ff
998: [23:57:00] <chillu> Hey Josh, I'm about to head to bed, sorry
999: [23:57:00] <simon_w> https://gist.github.com/simonwelsh/5306561 is the config for it. Getting the tabs one up just involves dropping the tab_width and changing the standard
1000: [23:59:00] <chillu> Gute Nacht!
1001: [23:59:00] * chillu quit (Quit: chillu)
1002: [23:59:00] <joshkosmala> No worries Ingo, have a good night :)

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