#silverstripe IRC Log

IRC log for 15 April 2014

All timestamps are in UTC.

1: [00:01:36] * DesignerX quit (Quit: Konversation terminated!)
2: [00:03:13] * Bollig|DesignCty quit (Ping timeout: 245 seconds)
3: [00:04:27] * Bollig|DesignCty has joined #silverstripe
4: [00:08:04] <Colin[pi]> hai 2 all
5: [00:08:19] <Colin[pi]> wow where is everyone?
6: [00:08:34] * ss23 beeps
7: [00:08:38] <ss23> tired as shit today
8: [00:08:45] <Colin[pi]> :o
9: [00:08:48] <Colin[pi]> up late?
10: [00:10:23] <ss23> kind of
11: [00:10:36] <ss23> had to wake up at 2:30am to talk to a friend in finland, but worse, I kept waking up every hour or so
12: [00:10:43] <ss23> swear, woke up at least 4 times
13: [00:10:44] <ss23> :/
14: [00:12:04] <Colin[pi]> ugh, I hate those nights
15: [00:12:10] <Colin[pi]> wow must be a good friend eh?
16: [00:12:13] <ss23> lol
17: [00:12:14] <ss23> kind of
18: [00:12:17] <ss23> well enough
19: [00:12:22] <ss23> organising a trip to Japan with him
20: [00:12:39] <Colin[pi]> oh sweet
21: [00:13:07] <Colin[pi]> make sure you try to go to Kabukicho
22: [00:13:07] <Colin[pi]> ;)
23: [00:13:30] <ss23> lol
24: [00:15:33] <Colin[pi]> bring me back something from Ghost in the Shell!
25: [00:15:56] * Ryan-Toast has joined #silverstripe
26: [00:16:02] <Colin[pi]> any place that sells Japanese stuff here has never heard of it
27: [00:16:09] <Colin[pi]> except for comic places that sell anime/manga
28: [00:16:46] <Ryan-Toast> Anyone use kiwiirc?
29: [00:17:07] <ss23> I hope not!
30: [00:17:12] <Zauberfisch> 23:24 -!- jordanmk
31: [00:17:12] <Zauberfisch> [78968a9d@gateway/web/cgi-irc/kiwiirc.com/ip.120.150.138.157] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
32: [00:17:17] <Ryan-Toast> ss23: why not?
33: [00:17:20] <ss23> lol Colin[pi], actually, I might come back through the gold coast!
34: [00:17:48] <simon_w> ss23, that'll be hilarious. You should aim to go through there during summer!
35: [00:18:02] <ss23> lol
36: [00:18:07] <ss23> I won't be staying really :P
37: [00:18:15] <ss23> It'll be late June when I get back
38: [00:18:30] <Colin[pi]> ss23: a least it'll be pleasant there in June
39: [00:18:44] <Colin[pi]> unlike Canberra which will be BOLLOCKS
40: [00:18:54] <simon_w> Canberra will be amazing at that time!
41: [00:18:59] <simon_w> Sub zero temperatures!
42: [00:19:06] <ss23> wait WHAT?!
43: [00:19:10] <ss23> It gets to less than 0 in Australia?
44: [00:19:14] <simon_w> Yes
45: [00:19:18] <ss23> Last I checked Sydney didn't get fucking below 15 or some shit
46: [00:19:23] <Colin[pi]> yeah here it gets to -5 in winter
47: [00:19:28] <simon_w> That's because Sydney is fucked
48: [00:19:30] <ss23> lol
49: [00:22:29] <Colin[pi]> is the channel unusually light in terms of people today or is it me?
50: [00:22:52] <ss23> idk man
51: [00:22:52] <ss23> :O
52: [00:22:57] <juliezygote> userlists are a suckers game
53: [00:23:00] * ss23 plays some guitar riff on Colin[pi]
54: [00:23:00] <Stomach> its been quiet for the last two days
55: [00:23:13] <Zauberfisch> quiet?
56: [00:23:19] <ss23> Help me cure you, atone for what you've done.
57: [00:23:22] * ss23 headbangs Colin[pi]
58: [00:23:24] <ss23> IS THIS LOUD ENOUGH?
59: [00:23:25] <ss23> METALLLLLL
60: [00:23:29] <Stomach> LOUDER
61: [00:23:33] <Zauberfisch> I can barely keep up with all the nonsense that gets discussed here lately
62: [00:23:47] <Colin[pi]> Zauberfisch: well sorry mr snooty pants
63: [00:23:48] <Colin[pi]> ;D
64: [00:23:49] <Stomach> okay, well, there's slightly less nonsense
65: [00:24:01] <Zauberfisch> Colin[pi]: :P
66: [00:24:41] <Zauberfisch> fine by me. was just a little irritated at first
67: [00:24:50] <ss23> DEVIOUS MOVEMENTS IN YOUR EYES
68: [00:24:57] <ss23> Breath comes out white clouds with your lies!
69: [00:25:15] <ss23> YOU'RE CLOSE TO THE FINAL WORD, YOU'RE STARING RIGHT PAST ME IN DISMAY, A LIQUID SEEPS FROM YOUR CHEST, AND DRAINS ME AWAY
70: [00:25:37] <ss23> MIST RIPPLES ROUND YOUR THIN WHITE NECK, AND DRAWS ME A LINE. COLD FINGERS MARK THIS DYING WRECK, THIS MOMENT IS MINE
71: [00:25:46] <Colin[pi]> LOUD NOISES
72: [00:26:00] <ss23> o/ o/ o/ o/
73: [00:26:53] <spronk> ... ss23 are you reading like
74: [00:26:56] <spronk> some weird erotic novel?
75: [00:27:14] <ss23> lol
76: [00:27:15] <ss23> I fucking hope not
77: [00:27:27] <Colin[pi]> ss23's life is a weird erotic novel
78: [00:27:35] <ss23> spronk: https://www.youtube.com/watch?v=fHGpVTkDuPg
79: [00:27:54] <spronk> i take it back
80: [00:27:58] <spronk> weird erotic long haired band song
81: [00:28:07] <spronk> ohhh
82: [00:28:10] <spronk> ss23 has/had long hair
83: [00:28:13] <spronk> THEY ARE HIS KIN!
84: [00:28:20] <ss23> XD
85: [00:28:23] <ss23> pls
86: [00:29:19] * nickmolhoek has joined #silverstripe
87: [00:30:44] * UncleCheese quit (Quit: UncleCheese)
88: [00:34:04] * joelpittet quit ()
89: [00:36:00] <Bollig|DesignCty> *sigh* my updates to sspak are failing to bundle properly. my phar just errors out when I try and run it :(
90: [00:36:19] <ss23> :(
91: [00:36:27] <ss23> I can talk to sminnee if you want
92: [00:36:30] <ss23> Or get him to come on if he's free
93: [00:37:26] <Bollig|DesignCty> I have added very basic svn support tho, so I'm happy with that:)
94: [00:37:48] <ss23> ewww!
95: [00:37:52] <Bollig|DesignCty> :p
96: [00:37:56] <ss23> tbh, sspak itself shouldnt' care about it
97: [00:38:00] <ss23> the build script shouldn't do anything with git or w/e
98: [00:38:02] <ss23> it should just build it
99: [00:38:58] <Bollig|DesignCty> I can build (now), fumbled my way through that one. There's a method called bundle that turns an sspak into an executable .phar. My generated .phars have broken signatures apparently.
100: [00:41:52] <Bollig|DesignCty> although I'm not sure if it actually works on the original—that might be a good question for sminnee actually!
101: [01:00:32] <ss23> https://www.youtube.com/watch?v=dHchmWsrfUo
102: [01:00:35] <ss23> hahahahaa
103: [01:01:11] <Colin[pi]> LOL!
104: [01:01:31] <Colin[pi]> doo wah diddy diddy dum diddyIWILLEATYOURSOUL
105: [01:01:42] <ss23> lol
106: [01:01:46] <ss23> exactly
107: [01:01:52] <ss23> look good
108: [01:01:54] <ss23> looks fine
109: [01:02:13] <ss23> looks SUMMON SATAN FROM HELL THE AGENLS CAN'T SAVE YOU PRAISE SATAN PRAISE SATAN singin
110: [01:02:17] <ss23> do a diddy diddy dum diddy do!
111: [01:15:33] * jaredkipe_ has joined #silverstripe
112: [01:15:37] <jaredkipe_> hello!
113: [01:17:14] <Zauberfisch> blubb
114: [01:18:00] <jaredkipe_> so I have a ‘Date’ type in my $db
115: [01:18:10] <jaredkipe_> when I reference that, I seem to get a string back
116: [01:18:18] <jaredkipe_> or at least I canot call ‘Date’ methods on it
117: [01:18:42] <ss23> Fuck dates in SilverStripe
118: [01:18:46] <ss23> Shit aint never work properly for me
119: [01:18:58] * unsignedint quit (Max SendQ exceeded)
120: [01:19:16] <Colin[pi]> in what way?
121: [01:19:40] <Colin[pi]> can get confusing though because sometimes is object sometimes string
122: [01:20:39] <jaredkipe_> inside model $this->MyDate
123: [01:20:40] <jaredkipe_> is string?
124: [01:20:54] <jaredkipe_> would it help to use SS_Date
125: [01:21:15] * joelpittet has joined #silverstripe
126: [01:22:01] <ss23> Is there any short hand for "<% if $CurrentMember %> do shit <% else %> <% cached cache keys %> the same shit <% end_cached %> <% end_if %>"
127: [01:22:05] <ss23> Seems silly to need to do that
128: [01:22:07] <jaredkipe_> SS_Datetime rather
129: [01:22:20] <Colin[pi]> jaredkipe_: yeah if you reference the date attribute as $this->Date, you'll get a string
130: [01:22:51] * unsignedint has joined #silverstripe
131: [01:22:59] <Colin[pi]> use $this->dbObject('Date') to get the actual object
132: [01:23:06] <jaredkipe_> ok thanks
133: [01:24:09] * unsignedint quit (Max SendQ exceeded)
134: [01:24:34] <jaredkipe_> works like a charm, can do week calculation now
135: [01:25:14] <Bollig|DesignCty> jaredkipe_: yes, wonderfully documented that one… :D
136: [01:25:32] <jaredkipe_> yet so troubling to google for
137: [01:27:09] <Colin[pi]> I don't care that the battery is the size of a brick, shut up and take my money: https://www.youtube.com/watch?v=9DhJZAhjbcI
138: [01:30:17] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
139: [01:30:34] <Zauberfisch> Colin[pi]: I am sure that does wonders to you battlery lifetime too
140: [01:30:48] <Colin[pi]> it's an experimental type of battery
141: [01:30:55] <Zauberfisch> ah, i see
142: [01:33:23] <Colin[pi]> organic apparently, amino acids
143: [01:33:34] <simon_w> mmm, acid
144: [01:34:45] * unsignedint has joined #silverstripe
145: [01:35:22] * Bollig|DesignCty has joined #silverstripe
146: [01:45:27] * travis-ci has joined #silverstripe
147: [01:45:27] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2339 (3.1 - 3d11217 : Damian Mooyman): The build passed.
148: [01:45:27] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/bd39dc2d848d...3d112173f0ef
149: [01:45:27] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/23002771
150: [01:45:27] * travis-ci has left #silverstripe
151: [01:46:28] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
152: [01:49:19] * SightUnseen has joined #silverstripe
153: [01:49:24] * SightUnseen has left #silverstripe
154: [01:49:27] * mrzero quit (Remote host closed the connection)
155: [01:50:48] * UncleCheese has joined #silverstripe
156: [02:16:37] <an_Eskimo> What may the issue be if alc_enc can't be set when attempting to login?
157: [02:17:08] <Zauberfisch> alc_enc is the name of a cookie
158: [02:17:18] <Zauberfisch> when cookies can't be set its usually a issue with output
159: [02:17:30] <Zauberfisch> that you output text before silverstripe tries to set cookies
160: [02:17:50] <Zauberfisch> (cookies are set via http headers, but http headers have to be sent before everything else)
161: [02:18:15] <Zauberfisch> common pitfall: whitespaces in php files before the <?php or after the ?>
162: [02:18:34] <Zauberfisch> pro tip: remove the ?> (php closing tags) from all php files
163: [02:19:26] <an_Eskimo> -.- spaces between start of doc and <?php
164: [02:19:27] <irogue> php should throw a warn if you end a file with a ?>
165: [02:20:04] <an_Eskimo> Thanks again Zauberfisch It's not been a good day for working...
166: [02:20:30] <simon_w> irogue, HHVM fatals if you close a Hack file :)
167: [02:24:44] <irogue> simon_w: excellent
168: [02:24:56] <irogue> simon_w: what are your thoughts on Hack?
169: [02:25:49] * Bollig|DesignCty has joined #silverstripe
170: [02:27:08] <simon_w> irogue, I rather like it
171: [02:29:28] <irogue> yeah, it seems like they've addressed a few of PHP's biggest failings
172: [02:30:16] <simon_w> Looking forward to helping design a new std lib for it too :)
173: [02:30:57] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
174: [02:40:55] <pippy> simon_w: you're helping design the std lib for hack?
175: [02:40:56] <pippy> nice
176: [02:46:12] * Error404NotFound has joined #silverstripe
177: [02:54:14] * Error404NotFound quit (Ping timeout: 276 seconds)
178: [03:00:09] * Bollig|DesignCty has joined #silverstripe
179: [03:06:18] * DesignCity has joined #silverstripe
180: [03:06:42] <jaredkipe_> I like hhvm and Hack
181: [03:06:51] * Bollig|DesignCty quit (Ping timeout: 258 seconds)
182: [03:06:51] * DesignCity is now known as Bollig|DesignCty
183: [03:07:05] <jaredkipe_> got SS working on HHVM a pretty long time ago
184: [03:07:13] <jaredkipe_> 3.0.1 brings basically full functionality
185: [03:15:22] <jaredkipe_> HTMLPurifier_Config undefined
186: [03:15:51] <jaredkipe_> some other module I need to include?
187: [03:22:53] * cloph quit (Ping timeout: 240 seconds)
188: [03:27:37] * cloph_away has joined #silverstripe
189: [03:41:44] <pippy> per annum what's a going rate for a senor developer get with 5+ years silverstripe experince?
190: [03:43:02] <Ryan-Toast> pippy: $90k?
191: [03:44:06] <pippy> thanks. sounds about right, i was going to use 80.
192: [03:44:47] <Ryan-Toast> depends what you do I suppose. Senior isa bit broad.
193: [03:45:08] * mrzero has joined #silverstripe
194: [03:45:08] * mrzero quit (Changing host)
195: [03:45:08] * mrzero has joined #silverstripe
196: [03:45:37] <pippy> direct other developers and review code and quality
197: [03:46:07] <pippy> i don't think i'm a senior developer, but i'm probally getting there with the work i'm doing
198: [03:46:12] <Ryan-Toast> I don’t know how others do it, I just leeverage how much I earn for a company.
199: [03:47:09] <pippy> what happens if the work you do doesn't have an immediate effect on their bottom line?
200: [03:47:23] <Ryan-Toast> Shrug, never been in that position :P
201: [03:48:08] <pippy> fair enough
202: [03:48:49] <Ryan-Toast> everytime I get a new job I’m usually offered it, so I ask for a big payrise because I don’t care if I move or not :P
203: [03:52:41] <pippy> best position to be in
204: [03:53:05] <pippy> i'm an idiot and everytime i leave before getting a new job lined up
205: [03:53:28] <pippy> but it's worked out i've always found one, but it leaves me with little to no leveraging power
206: [04:03:02] <ss23> 15:54:13 <@chrismsnz> i say "fresh food" every time i feed my cat
207: [04:03:02] <ss23> 15:54:22 <@chrismsnz> and he now goes apeshit when like a tv ad says it
208: [04:04:48] * UncleCheese quit (Quit: UncleCheese)
209: [04:05:50] * UncleCheese_ has joined #silverstripe
210: [20:36:27] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/23067448
211: [20:36:27] * travis-ci has left #silverstripe
212: [21:36:50] * ss-log has joined #silverstripe
213: [21:36:56] <simon_w> Test
214: [21:37:07] * scpi quit (Quit: scpi)
215: [21:37:07] <simon_w> Pyromanik, no idea what broke, but it's back now
216: [21:37:08] <Zauberfisch> yay. simon_w active on stackoverflow
217: [21:37:24] <simon_w> Zauberfisch, I've been active for a couple of weeks now :p
218: [21:37:34] <simon_w> Also, how did ajshort's wrong answer get a higher vote than mine? :p
219: [21:37:35] <Zauberfisch> just noticed today
220: [21:37:55] <Zauberfisch> fixed
221: [21:38:05] <simon_w> Yay!
222: [21:38:22] * UncleCheese_ has joined #silverstripe
223: [21:39:22] <Pyromanik> bed time!
224: [21:39:26] <simon_w> Yeah, $hide_ancestor takes a class name, not a bool
225: [21:39:28] <UncleCheese_> top o' the beautiful morning' to ya
226: [21:39:28] <simon_w> Night Pyromanik
227: [21:40:04] <Pyromanik> dat fresh autumn air getting to you UncleCheese_?
228: [21:40:23] <Stomach> morning UC
229: [21:40:33] <Stomach> hows the rain treating you
230: [21:40:43] <Pyromanik> wetly?
231: [21:40:46] <UncleCheese_> well, considering I moved to wellington for the weather, i have to say it's a bit shit
232: [21:41:00] <UncleCheese_> a but shut, you might say
233: [21:41:02] <Pyromanik> o.0 really?
234: [21:41:14] <Pyromanik> I don't believe you...
235: [21:41:18] <UncleCheese_> motorway was totally stuffed this morning
236: [21:41:20] <UncleCheese_> flooding and chaos
237: [21:41:36] <Pyromanik> yeah, dem kiwis and dem motorised vehicles.
238: [21:41:43] <UncleCheese_> everyone rushing into the city to see the royals walk around in a circle and wave
239: [21:41:50] <Pyromanik> OH SHIT, MY CHILDREN ARE MADE OF SUGAR, BETTER DRIVE THEM TO SCHOOL
240: [21:41:55] <UncleCheese_> yup
241: [21:41:58] <UncleCheese_> way worse in the USA
242: [21:42:03] <Stomach> mmm sugarchildren
243: [21:42:08] <Pyromanik> jellybabies!
244: [21:42:11] <Pyromanik> xD
245: [21:42:16] <UncleCheese_> you just see fleets of empty yellow busses rolling around
246: [21:42:19] <ss23> beanie babies!
247: [21:42:23] <Pyromanik> no
248: [21:42:31] <Pyromanik> you can't eat those beans ss23
249: [21:42:32] <UncleCheese_> while you're sitting in a queue that's like 2k long
250: [21:42:46] <Stomach> so people don't take the bus when its raining?
251: [21:42:49] <Pyromanik> UncleCheese_,yeah, but someone's gotta keep the gas price up, right?
252: [21:42:53] <UncleCheese_> Stomach: yes!
253: [21:42:54] <Stomach> fucking american backwards fucking fuck.
254: [21:43:00] <UncleCheese_> took me a while to figure that out, but yes
255: [21:43:07] <UncleCheese_> traffic is way worse on rainy days
256: [21:43:14] <UncleCheese_> because most people have to walk to public transit
257: [21:43:20] <Pyromanik> Stomach, probably something to do with children having to stand still in the rain while waiting for the bus.
258: [21:43:24] <Pyromanik> Can't have that.
259: [21:43:26] <UncleCheese_> so they all say eff it and drive
260: [21:43:36] <Stomach> oh no, not without a magic polyethelyne protector!
261: [21:43:43] <Stomach> wait, we invented that already
262: [21:43:50] <Pyromanik> Rain is deathly toxic to children in high doeses.\
263: [21:43:51] * Azure quit (Quit: My MBP went to sleep.)
264: [21:44:02] <UncleCheese_> i have to say, the cool thing was seeing all the new waterfalls around Ngauranga gorge
265: [21:44:23] <UncleCheese_> you could put a car park there and a couple toilets and call it a tourist attraction
266: [21:44:31] <Pyromanik> haha
267: [21:44:35] <Pyromanik> sounds almost legit.
268: [21:45:18] <Ryan-Toast> UncleCheese_: Trafficsucks on rainy days because people’s usual peasent-level of driving becomes even worse.
269: [21:45:22] <antmas> is there a way to 'follow' users on Soverflow?
270: [21:45:57] <Stomach> klizord12
271: [21:46:00] <Stomach> woops
272: [21:46:04] <simon_w> Need another 110 rep today until I get another badge!
273: [21:46:09] <Pyromanik> so anyway, I was removed to sleeping about 2 mins away.
274: [21:46:23] <Pyromanik> badger badger badger badger badger MUSHROOM MUSHROOM
275: [21:46:38] <Zauberfisch> antmas: not that I am aware of
276: [21:46:55] <UncleCheese_> My wife just got honked at by a police officer for texting at a stop light
277: [21:47:16] * Azure has joined #silverstripe
278: [21:47:19] <UncleCheese_> don't you have a duke or duchess to chase around, officer?
279: [21:47:25] <simon_w> UncleCheese_, lucky she didn't get a ticket
280: [21:47:33] <UncleCheese_> for what?
281: [21:47:39] <UncleCheese_> texting at a stoplight?
282: [21:47:41] <Stomach> using a phone while driving
283: [21:47:42] <simon_w> Yes
284: [21:47:49] <UncleCheese_> i'd tell 'em to stick it
285: [21:47:58] <simon_w> And you'd still get ticketed
286: [21:47:59] <Stomach> you'd get another fine for telling them to stick it
287: [21:48:14] <UncleCheese_> Fascists
288: [21:48:31] <Stomach> lol
289: [21:50:24] <Stomach> at least we didn't choose to join the Rainy Fascist club :P
290: [21:58:23] <antmas> bah
291: [21:58:28] <antmas> need a new computer desk for the home
292: [22:07:09] <Stomach> make it
293: [22:07:11] <Stomach> with a lathe
294: [22:09:17] <Zauberfisch> not sure how a lathe would be helpful in creating a desk
295: [22:10:12] <Zauberfisch> the legs can just as well be square in layout
296: [22:10:28] * Colin[pi] has joined #silverstripe
297: [22:10:53] <Stomach> well, I have a lathe
298: [22:10:55] <Stomach> so thats why
299: [22:11:05] * DesignerX has joined #silverstripe
300: [22:11:09] <Zauberfisch> :D
301: [22:11:17] <Zauberfisch> well, nothing wrong with having a lathe
302: [22:11:35] <Zauberfisch> in fact I would love to have one
303: [22:12:25] <Stomach> I wish I had a garage to use it in :\
304: [22:14:22] * muskie9 quit ()
305: [22:17:43] <Stomach> whats the correct way to check against a date in a filter?
306: [22:17:53] <Stomach> 'Created:GreaterThan' => date('y-m-d H:i:s', time() - 60 * 60 * 24)
307: [22:18:08] <Stomach> doesn't appear to love me
308: [22:20:03] * Liquide quit ()
309: [22:23:19] <simon_w> TASK: [common | Adding authorised keys to users] ******************************
310: [22:23:20] <simon_w> This takes way too long
311: [22:23:40] <ss23> Shoudn't a task like that be almost insatnt?
312: [22:23:46] <ss23> "edit n files" etc
313: [22:24:46] <simon_w> Plus the SSH overhead, checking to make sure it doesn't already exist, invoking sudo
314: [22:25:51] <simon_w> And then there's something like 12 keys to stick on each server
315: [22:25:58] <ss23> SSH overhead is massive, but I would presume that the updates are batched, so it's not a big deal
316: [22:26:28] <ss23> Okay so if it's having to do `sudo` each time, yeah, but I would hope that an automation tool would be like "I'll do all this shit as root" and be fine, so overhead negigible
317: [22:26:31] <simon_w> You'd assume wrong :p I need to update Ansible so it doesn't keep reconnecting
318: [22:26:34] <Zauberfisch> simon_w: you are using ansible?
319: [22:26:39] <simon_w> Zauberfisch, yes
320: [22:26:40] <Zauberfisch> nvm
321: [22:26:41] <ss23> "checking if it exsts" is going to take, what, .1 seconds max?
322: [22:26:44] <Zauberfisch> just answerd my question
323: [22:26:47] <Zauberfisch> simon_w: happy?
324: [22:26:52] <simon_w> Zauberfisch, yes
325: [22:26:55] <Zauberfisch> hmmm
326: [22:27:02] <Zauberfisch> did you use other systems before?
327: [22:27:13] <simon_w> Nope
328: [22:35:11] * nickmolhoek quit (Ping timeout: 252 seconds)
329: [22:37:11] * nickmolhoek has joined #silverstripe
330: [22:39:27] <jenniferaslan> Are any of you guys using the Blog module in SS 3.1.4?
331: [22:40:13] <Zauberfisch> I am using this one: https://github.com/micmania1/silverstripe-blogger
332: [22:40:34] <Stomach> we are
333: [22:40:38] <jenniferaslan> Trying to figure out why my BlogHolder is showing the entire blog entry even though the "Show Full Entry" box is NOT checked.
334: [22:41:06] <jenniferaslan> This is in the BlogSummary.ss include:
335: [22:41:09] <jenniferaslan> <% if BlogHolder.ShowFullEntry %>
336: [22:41:09] <jenniferaslan> $Content
337: [22:41:09] <jenniferaslan> <% else %>
338: [22:41:09] <jenniferaslan> <p>$Content.FirstParagraph(html)</p>
339: [22:41:09] <jenniferaslan> <% end_if %>
340: [22:41:29] <jenniferaslan> Yet, I am getting the entire BlogEntry showing up on BlogHolder
341: [22:42:55] <Stomach> is it using the BlogSummary or have you overwritten it somewhere in BlogHolder.ss ?
342: [22:43:21] <jenniferaslan> <% if BlogEntries %>
343: [22:43:21] <jenniferaslan> <% loop BlogEntries %>
344: [22:43:21] <jenniferaslan> <% include BlogSummary %>
345: [22:43:21] <jenniferaslan> <% end_loop %>
346: [22:43:21] <jenniferaslan> <% else %>
347: [22:43:22] <jenniferaslan> <h2><% _t('BlogHolder_ss.NOENTRIES', 'There are no blog entries') %></h2>
348: [22:43:22] <jenniferaslan> <% end_if %>
349: [22:44:28] <jenniferaslan> It's the most recent version of the module, as far as I know, but it may not have been updated for 3.1.4?
350: [22:44:43] <jenniferaslan> I just put it in on Friday.
351: [22:45:20] <jenniferaslan> Just had a thought. Please stand by...
352: [22:47:08] <jenniferaslan> Okay, the problem was that all the content in the post in the CMS was in one ¶ with <br><br> between. It really was just giving me the first paragraph. :/
353: [22:48:05] <Stomach> haha
354: [22:48:20] <Stomach> well, at least it works ;)
355: [22:49:07] <Ryan-Toast> jenniferaslan: use sspaste in the future to link code. Easier to read.
356: [22:49:27] <Stomach> sspaste is dead isnt it?
357: [22:49:37] <Ryan-Toast> lol.
358: [22:49:40] <Ryan-Toast> Fucking hell.
359: [22:49:41] <Stomach> yeah, too popular
360: [22:49:43] <jenniferaslan> please explain what sspaste means. I am using Instantbird.
361: [22:49:45] <Ryan-Toast> pastebin then :P
362: [22:50:04] <Ryan-Toast> jenniferasian: http://pastebin.com/
363: [22:50:05] <Stomach> jenniferaslan - its like www.pastebin.com, you can paste code chunks and share them with others
364: [22:51:45] <jenniferaslan> Like this? http://pastebin.com/g2Pf4PjZ
365: [22:52:19] <jenniferaslan> Are you guys all viewing this thread in your browser?
366: [22:52:29] <Zauberfisch> no
367: [22:52:52] <Zauberfisch> also its a chat room rhater than a thread I'd say
368: [22:53:02] <jenniferaslan> whatever
369: [22:53:11] <Zauberfisch> I am using http://www.irssi.org/
370: [22:53:31] <jenniferaslan> http://instantbird.com/
371: [22:53:46] <jenniferaslan> On a Mac.
372: [22:54:08] <Ryan-Toast> jenniferasian: lol, yeah. But when you paste code
373: [22:54:34] <jenniferaslan> Yeah, now I know what to do, I think.
374: [22:56:53] * Stomach quit (Ping timeout: 250 seconds)
375: [22:58:36] * babak quit (Quit: Connection closed for inactivity)
376: [22:59:15] <antmas> I wonder where Zippy is
377: [22:59:23] <antmas> must've had his next sprog
378: [22:59:40] <ss23> moving my mouse over a website so the hover animations happen in time with my music
379: [22:59:44] <ss23> ~just web developer things~
380: [23:00:22] <antmas> ss23: ...
381: [23:00:25] <antmas> ss23: I do that :P
382: [23:02:42] <jenniferaslan> Does anybody here have experience with the Widgets module with respect to the Blog module?
383: [23:05:31] * Danae has joined #silverstripe
384: [23:06:13] * jordanmk has joined #silverstripe
385: [23:07:26] <ss23> jenniferaslan: Someone might, but I don't personally. Do you have a question though? Most people find it easier to avoid the widgets module I think
386: [23:08:01] <jenniferaslan> Well, it seems to be required by the Blog module, so I put it in, but it's only showing up on the BlogHolder. Thought it would also be on the BlogEntry.
387: [23:08:34] <ss23> jenniferaslan: Which blog module were you using? silverstripe/blog, or micmania1/silverstripe-blogger?
388: [23:09:03] <jenniferaslan> silverstripe
389: [23:09:34] <ss23> jenniferaslan: Okay. Sorry I can't help more, I don't know anything about the widgets or blog modules :(
390: [23:09:59] * Cornelio quit (Ping timeout: 260 seconds)
391: [23:12:13] <ss23> simon_w: :3
392: [23:12:17] <ss23> Is there another/easier way to conditionally do a <% cache %> based on whether someone is logged in? https://gist.github.com/ss23/10787388
393: [23:12:41] <ss23> Preferably without having to make a new Include for every possible place I conditionally want to cache it
394: [23:13:58] * Stomach[Ache] has joined #silverstripe
395: [23:14:27] <simon_w> ss23, include CurrentMember.ID in the cache key?
396: [23:14:46] <ss23> simon_w: That means it'll always cache?
397: [23:15:20] <simon_w> So you want it caching for non-logged in, but not for logged in?
398: [23:15:22] <ss23> It won't be an insane bad thing, but that'll mean an extra 10k x 50 files per page (assuming all members viewed it), which isnt' an insignificant amount of IO
399: [23:15:26] <ss23> Yeah
400: [23:15:36] <ss23> Idea is that if you're logged in, it's going to be useless to cache since it's an individual to you view
401: [23:16:15] <simon_w> Then you're stuck doing it like that
402: [23:16:19] <ss23> :(
403: [23:16:24] <ss23> This seemed something common and useful
404: [23:16:24] <ss23> ;_;
405: [23:16:27] <ss23> Like a conditional cache
406: [23:16:40] <simon_w> So add it
407: [23:16:44] <ss23> <% cache_conditional boolean_for_if_to_cache, cache_keys_go_here %>
408: [23:16:57] <ss23> simon_w: Would you merge the PR assuming it was good?
409: [23:17:13] <simon_w> Maybe
410: [23:17:23] <simon_w> Will probably need to go to master though
411: [23:17:28] <ss23> Yeah
412: [23:17:32] <ss23> Hamish says something about "unless"
413: [23:17:37] <ss23> <% cache $Key unless $CurrentMember.ID %>
414: [23:17:58] * Ryan-Toast quit (Quit: Ryan-Toast)
415: [23:22:53] <ss23> ;_;
416: [23:23:01] <ss23> How did I miss this entire section -- "<% cached unless CurrentUser %>"
417: [23:23:06] <ss23> It spells out the exact thing I need
418: [23:23:38] <simon_w> Huh, that's new
419: [23:23:39] <jenniferaslan> ss23: We figured out. Had it wrong in the config.yml file.
420: [23:23:41] <antmas> so, who's going to WDCNZ? :D
421: [23:25:17] <Stomach[Ache]> I hate caching
422: [23:25:20] * Stomach[Ache] is now known as Stomach
423: [23:25:24] <ss23> jenniferaslan: Sweet :D
424: [23:25:28] <ss23> simon_w: Looks like it's in 3.0!
425: [23:26:10] * SphereSilverNL has joined #silverstripe
426: [23:26:13] * Ryan-Toast has joined #silverstripe
427: [23:26:51] <ss23> simon_w: It's been there for at least 2 years
428: [23:30:08] <antmas> jesus christ this software is shit
429: [23:30:17] * antmas throws rocks at PhoneGap
430: [23:30:18] <SphereSilverNL> What is?
431: [23:30:25] <SphereSilverNL> Ahhhhh, PhoneGap....
432: [23:30:32] <antmas> SphereSilverNL: yeah... :P
433: [23:31:05] <antmas> it's an app we're testing to allow users to add items to an internal DB from outside the network
434: [23:31:09] <antmas> should be simple
435: [23:31:18] <antmas> but the whole thing is this ugly Phonegap mess
436: [23:31:32] <SphereSilverNL> For the love of God, build a native app, or use a secure web-app
437: [23:31:47] <SphereSilverNL> Any inbetween-compiler like PhoneGap is just....
438: [23:31:50] <SphereSilverNL> ehm...
439: [23:32:02] <SphereSilverNL> "Not it" to say it subtle
440: [23:32:10] <Stomach> PhoneGap has its place
441: [23:32:15] <Stomach> seems like this is not the place
442: [23:32:24] <Ryan-Toast> unless you can’t code java, or Objective-C, SphereSilverNL:
443: [23:32:26] <antmas> Stomach: don't get me wrong, I agree
444: [23:32:34] <antmas> Ryan-Toast: or .Net
445: [23:32:39] <Ryan-Toast> eww
446: [23:32:42] <Ryan-Toast> :P
447: [23:32:43] <SphereSilverNL> Ryan-Toast: Learn it? Or hire someone who can?
448: [23:32:44] <Ryan-Toast> jjk
449: [23:32:49] <antmas> Ryan-Toast: :P
450: [23:32:50] <SphereSilverNL> Ryan-Toast: What's wrong with dotnet?
451: [23:32:53] <Ryan-Toast> SphereSilverNL: Deadlines are a thing.
452: [23:33:00] <Ryan-Toast> as are budgets.
453: [23:33:09] <SphereSilverNL> Deadlines are meant to be broken
454: [23:33:20] <Colin[pi]> lol deadlines
455: [23:33:23] <antmas> SphereSilverNL: Ryan-Toast when it is just a data input app, learning any of those languages should not be a hurdle
456: [23:33:31] <SphereSilverNL> They're just chalklines on the schoolboard, while the kids are already outside playing :P
457: [23:33:58] <antmas> take some data, put it into fields, connect to restful service, push it up to db
458: [23:34:03] <antmas> that's not hard
459: [23:34:29] <SphereSilverNL> And C# and Java have excellent libraries for that, taking all the work out.
460: [23:34:46] <antmas> and then they go and use phonegap to compile some 1.0 version of jquery mobile into an app from the 90's
461: [23:34:56] <antmas> RAAAAAAGE
462: [23:35:03] * antmas finishes rant
463: [23:35:03] <SphereSilverNL> Oh great, jquery mobile.
464: [23:35:11] <SphereSilverNL> As if things weren't bad enough already?
465: [23:37:14] <antmas> they also have no way of reading UNC file paths properly so we have to impersonate mapped network drives on devices @.@
466: [23:37:40] <SphereSilverNL> Ehhh, I'm not questioning your job or anything
467: [23:38:07] <SphereSilverNL> but have you been talking to a mentally challenged person last weeks?
468: [23:38:15] <antmas> SphereSilverNL: :P
469: [23:38:26] <antmas> I wouldn't be suprised
470: [23:39:12] <antmas> Phonegap makes people feel that way
471: [23:39:33] <antmas> ANYWAY
472: [23:39:43] <SphereSilverNL> Don't use phonegap ;)
473: [23:39:55] <antmas> not my software ;)
474: [23:40:20] <SphereSilverNL> Hmmmm, that makes me ponder. I recently came across this saying:
475: [23:41:04] <SphereSilverNL> "Always write your code, as if the person who is going to maintain your code, is a maniac psychopath who knows where you live"
476: [23:41:26] <SphereSilverNL> Sad thing is, my boss knows I know where he lives....
477: [23:41:29] <antmas> SphereSilverNL: I like that saying
478: [23:41:37] <Danae> Oh joy, I can't access the loggedInAs session var from anything but the Security class...what have I done to my controllers ;_;
479: [23:42:29] <SphereSilverNL> antmas: I kinda live by it nowadays, I've been cleaning up my code for days until I got a bad flu recently :)
480: [23:43:04] <SphereSilverNL> Danae: Ehh, have you seriously overridden instead of extended the security class???
481: [23:43:14] <antmas> SphereSilverNL: yeah i try to, although our senior dev has a very specific way of cleaning up, which I don't like - but have to follow :P
482: [23:43:32] <Danae> @SphereSilverNL nooo
483: [23:43:38] <SphereSilverNL> Than he's not a senior
484: [23:44:01] <Danae> The only thing I extended was the Controller class
485: [23:44:03] <antmas> SphereSilverNL: oh no he is, just very strict :P
486: [23:44:08] <SphereSilverNL> Danae: You somehow managed to break security, that's quite a task!
487: [23:44:28] <Danae> [message] => Please choose an authentication method and enter your credentials to access the CMS.
488: [23:44:29] <SphereSilverNL> antmas: A senior can never be strict, he/she has to adapt
489: [23:44:41] <Danae> dumping the Session does give me a clue
490: [23:44:42] <Danae> I think I done goofed somewhere
491: [23:44:56] <antmas> SphereSilverNL: I think I worded it badly - I'm basically saying I'm slack at cleaning code :P
492: [23:45:16] <SphereSilverNL> antmas: You'd probably not survive with me in the same codingroom than :P
493: [23:45:36] <antmas> SphereSilverNL: heh, maybe not!
494: [23:45:59] <antmas> but I build everything, and then refactor after once I know it's working
495: [23:46:07] <antmas> he refactors and cleans from the start
496: [23:46:43] <SphereSilverNL> You shouldn't refactor afterwards
497: [23:46:56] <SphereSilverNL> Do not ever publish code, you're unhappy with.
498: [23:46:57] <antmas> I know - one of the things I'm changing
499: [23:47:14] <SphereSilverNL> It's ok to refactor when you find out it's not what you thought of it lateron
500: [23:47:20] <antmas> SphereSilverNL: I don't publish it until AFTER I have refactored though
501: [23:47:36] <SphereSilverNL> But in no way, follow the write->refactor method.
502: [23:48:23] <SphereSilverNL> I usually try to work with 2 principals:
503: [23:48:34] <SphereSilverNL> Refactor if you can, improve where you can
504: [23:49:04] <SphereSilverNL> After publishing, only refactor/improve what's needed, but never ever refactor "because you can"
505: [23:49:11] <antmas> speaking of refactoring and such
506: [23:49:39] <antmas> what's some good 'go-to' resources for learning PHP? I want to start improving...
507: [23:49:55] <Colin[pi]> sitepoint.com
508: [23:49:58] <Colin[pi]> they have some good stuff
509: [23:49:59] * Stomach quit (Ping timeout: 252 seconds)
510: [23:50:01] <SphereSilverNL> Get a Zend certification
511: [23:50:04] <SphereSilverNL> Hey Colin!
512: [23:50:07] <Colin[pi]> oh hai!
513: [23:50:16] <antmas> thanks
514: [23:50:23] <antmas> I should look into a Zend cert
515: [23:50:38] <Zauberfisch> SphereSilverNL: you where joking, right?
516: [23:50:48] <antmas> ;)
517: [23:50:50] <antmas> ^^^^
518: [23:51:11] <antmas> woah, sitepoint looks different now
519: [23:51:19] <SphereSilverNL> Zauberfisch: about what?
520: [23:51:22] <antmas> oh and HAI Colin[pi]
521: [23:51:26] <Zauberfisch> SphereSilverNL: zend
522: [23:51:33] <Colin[pi]> antmas: yeah they went through a huge rebranding and redesign
523: [23:51:34] <SphereSilverNL> Nope
524: [23:51:38] <Colin[pi]> and OMG HAI
525: [23:51:48] <SphereSilverNL> Zend Certification is quite a good start.
526: [23:52:04] <SphereSilverNL> I agree, the certification is far from saying "you're a good programmer"
527: [23:52:22] <SphereSilverNL> But it's a very good start at PHP
528: [23:52:34] <SphereSilverNL> Better than just saying "I learned myself"
529: [23:53:04] <Zauberfisch> hmmm
530: [23:53:33] <Zauberfisch> well, I have been good with saying "I learned myself" thus far
531: [23:53:56] <SphereSilverNL> A certificate means nothing else but "I understand what I'm doing"
532: [23:53:58] <antmas> Zauberfisch: same here, but it helps either way
533: [23:53:59] <Zauberfisch> but I suppose its better than nothing
534: [23:54:05] <Danae> Wow, the course is $1,000...well, I guess if you compare that to a ~$5,000 university diploma
535: [23:54:12] <SphereSilverNL> It's no university, but it's better than nothing :)
536: [23:54:33] <Zauberfisch> but my self study beats zend zertificate I'd say
537: [23:54:36] <SphereSilverNL> Get your boss to pay for it ;)
538: [23:54:56] <SphereSilverNL> Zauberfisch: Probably, but there are things in certification, that matter ;)
539: [23:54:59] <antmas> SphereSilverNL: I might actually
540: [23:55:01] <Danae> My boss doesn't even want to get a PHPStorm licence
541: [23:55:06] <antmas> we have a huge training budget
542: [23:55:16] <SphereSilverNL> Danae: Get a new job
543: [23:55:21] <Danae> hahaha
544: [23:55:26] <Colin[pi]> Danae: fire your boss
545: [23:55:36] <simon_w> Danae, don't use PHPStorm :p
546: [23:55:42] <SphereSilverNL> If your employer doesn't want to invest in you, you shouldn't invest in your boss.
547: [23:55:43] <Colin[pi]> just go into his office and say "Look, I'm sorry but it's not really working out"
548: [23:55:53] <Danae> Nah my boss is a cool guy
549: [23:56:01] <Colin[pi]> "We're gonna have to let you go"
550: [23:56:04] <SphereSilverNL> Yea, so?
551: [23:56:10] <antmas> Danae: does he not afraid of anything?
552: [23:56:15] <Danae> @simon_w Would you recommend another IDE? NetBeans I've tried
553: [23:56:25] <Danae> hahaha hahahja
554: [23:56:26] <simon_w> Danae, a text editor
555: [23:56:41] <SphereSilverNL> My boss is a cool guy too, but if he refuses to pay for any conference/education/improvement, I'm out
556: [23:56:42] <Zauberfisch> Colin[pi]: haha
557: [23:56:54] <antmas> I should probably get my .net cert
558: [23:56:57] <Colin[pi]> SphereSilverNL: yeah it can be claimed on tax, here at least
559: [23:57:38] <simon_w> SphereSilverNL, you just need the conference organisers to pay for you instead
560: [23:57:53] <SphereSilverNL> There's a cool cartoon somewhere saying:
561: [23:57:54] <SphereSilverNL> A: What if we educate our employees and they leave because they know better
562: [23:57:56] <SphereSilverNL> B: What if we don't?
563: [23:58:21] <SphereSilverNL> simon_w That's why I've been talking to Cam a lot recently :P

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