IRCloggy #sculpin 2015-03-31

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2015-03-31

opdavies left00:33
mikestewart left02:18
simensenCrell202:20
Crell2simensen02:21
mikestewart joined02:30
mikestewart hey jrobeson did you solve what you needed?03:11
jrobeson mostly03:11
we should try hooking up that VarDumper component from newer symfonys though :)03:11
it was in site.env when i expected it to be in kernel03:12
mikestewart don't think I have the answers ... but willing to work with you ... though not positive how much help I'd be03:12
jrobeson kernel.env*03:12
no.. i got the environment thing worked out03:12
mikestewart ah03:12
jrobeson it seems like a kernel setting to me.. and that i think it should work just like symfony does in that respect if it were possible03:12
mikestewart hmm, dont have enough symfony experience to be helpful. but was willing to dig in03:13
I'm hoping to help cleanup and add to some docs03:13
actually volunteered (figured it'd help me dig in) ... so any suggestions to docs, please throw at me03:14
jrobeson are you working with the new person who is suppoed to be working on docs? emma something?03:14
i don't remember her last name03:14
mikestewart but what you're saying makes sense. I've messed with sculpin_kernel.yml and site for a couple things03:14
ya03:15
or I'd like to...03:15
I know her a bit from the drupal world03:15
(and open source)03:15
jrobeson have you talked to simensen or emma about this? :)03:15
mikestewart met her at SCALE some years back03:15
yes, both03:15
simensen in dev you can get access to http://twig.sensiolabs.org/doc/functions/dump.html03:15
but that only works if you know which vars you are looking for. i'm not sure how you can get a list of vars that are exposed in a given context.03:16
mikestewart did emma end up talking to you more about that?03:16
jrobeson simensen, so what is next for sculpin?03:16
simensen mikestewart we haven't had a chance to sit down and plan much, really. i've been super busy.03:16
mikestewart simensen nope. figured I'd hit her up again soon03:16
simensen jrobeson: ^^ :)03:16
jrobeson i need to start breaking things down and getting stuff all in a place i can start getting other people contributing if they are ready to do so.03:17
jrobeson well, you might get some help if there were some defined tasks :)03:17
yeah03:17
mikestewart no worries. me too. I'm doing a project this week using sculpin. then going on spring break for a week up to Eugene03:17
then, plan to get on it03:17
jrobeson gonna see some hobos?03:17
https://www.youtube.com/watch?v=HpjcY4vENCY03:17
mikestewart simensen feel free to throw stuff into an issue queue ... maybe add a label in a way I can filter ... and I'd be happy to focus on things there03:18
jrobeson hoping to go to ninkasi brewery03:19
jrobeson ninkasi!03:19
mikestewart ha! re: https://www.youtube.com/watch?v=HpjcY4vENCY03:19
jrobeson so where do you live now?03:19
mikestewart it like stone brewery of the north03:19
I'm in Long Beach03:19
jrobeson ah i see03:19
i've drank a few ninkasi brews03:20
i still officially live in Portland, although i'm not there right now03:20
mikestewart jrobeson where are you now?03:20
jrobeson southeast ohio03:20
it's a work thing03:20
mikestewart there's a chance we'll make it to Portland ... but not sure03:20
portland, ohio,,, nearly the same :-P03:21
jrobeson no.. it's not!03:21
mikestewart one of my best friends moved to Eugene about 5-7yrs back. been up there a couple times03:21
jrobeson it's terrible here03:21
that's why i keep bugging simensen , because i'm bored03:22
mikestewart um, ya... sarcasm. thought that would be dripping with it ... but ya, probably not03:22
ha!03:22
simensen jrobeson are you going to be at pnwphp?03:22
jrobeson simensen, no03:22
i still have no return date03:22
simensen jrobeson where are you now?03:22
jrobeson i just said that :)03:23
mikestewart brb kids & wife just exploded03:24
jrobeson exploded?03:24
simensen, it's southeast ohio. nearly west virginia03:25
simensen jrobeson my bad. you are both green to me so i was having ahard tie tracking who was saying what.03:25
jrobeson you're green to me!03:25
no really though, only people who mention my nick are green03:26
mikestewart whew! false alarm. apparently they were just "talking"03:27
jrobeson i don't have a wife or kids, but i am pretty sure i wouldn't want them exploded :)03:28
based on simensen's twitter feed.. i don't think he wants his wife and kid exploded either03:29
simensen nope.03:29
simensen loves his family03:30
jrobeson cuz they are are totally cute family03:30
simensen would be very sad if they exploded.03:30
mikestewart loves his family03:34
mikestewart usual...ly03:34
;-)03:35
simensen hehe.03:41
jrobeson i only have nieces03:43
mikestewart hey, got a question if either of you still around, and maybe can help point me in the right direction. I spent some time yesterday and today setting up a site based on https://github.com/sculpin/sculpin-blog-skeleton ...04:11
I'm curious about the content type "posts" ... and why in _views there is a post.html (but not a "posts") ... and how does sculpin know to use that file when all of the content.md files live in "_posts" (and not post)04:11
simensen mikestewart a lot of magic.04:12
mikestewart ha! I'm trying to add two new content types ... and having trouble figuring out the moving pieces04:12
simensen mikestewart https://github.com/sculpin/sculpin/blob/master/src/Sculpin/Bundle/ContentTypesBundle/DependencyInjection/SculpinContentTypesExtension.php#L45-L4604:12
mikestewart the important thing, i think, is to try to start with the smallest possible configuration and hope that sculpin does the right thing.04:13
mikestewart simensen so I ran accross something where I figured out the singular/plural names of content types04:13
simensen mikestewart https://github.com/dflydev/dflydev.com/blob/master/app/config/sculpin_kernel.yml04:13
https://github.com/simensen/beau.io/blob/master/app/config/sculpin_kernel.yml04:14
i wanted things to "make sense" when you read them. so if you had a "posts" content type, it would use layout "post" instead of "posts" because that made more sense to me. though in retrospect, calling the content type "post" instead of "posts" would have worked, too, and pluralized it.04:15
mikestewart simensen ok... makes sense.04:16
simensen I've played with: http://paste2.org/Kt7kJXnt04:16
but only path has worked to recognize a content type04:16
simensen if you wanted to use meta instead of path, you'd have to specify meta_key and meta04:18
so, type: meta, meta: steps04:18
in that case, any source (regardless of path) would be treated as steps if it had "type: step"04:19
I think the docs are misleading...04:19
meta_key: If type: meta, the meta key that will be used to locate this type. Defaults to the singularized version of the type name.04:19
meta_key actually defaults to "type" :)04:19
https://github.com/sculpin/sculpin/blob/master/src/Sculpin/Bundle/ContentTypesBundle/DependencyInjection/SculpinContentTypesExtension.php#L10904:19
so if what you were trying before was to specify content type by way of meta keys (instead of just paths) that is what you'd want to do.04:20
mikestewart ah04:21
thx.04:22
think that helps a bit04:22
simensen ok. :)04:24
mikestewart simensen finally, can I have a single default "layout" that is extended by different content types (such as posts, steps, testamonials? I'm trying to wrap my head around how layouts can be used by content types.04:24
simensen mikestewart: that could be a good docs pr, btw. :) "Defaults to the singularized version of the type name." -> "Defaults to 'type'" :)04:24
mikestewart: talk extends default extends base: https://github.com/simensen/beau.io/tree/master/source/_layouts04:25
mikestewart simensen yes ... I agree. and partly why I'm building and trying to understand. I'll come back and refer to the log and my notes as I'm working on docs04:25
talk?04:25
ah04:25
nm04:25
simensen https://beau.io/talks/ <- talks are a content type04:26
I usually do {% block content_wrapper %}{% block content %}{% endblock %}{% endblock %} in my base template04:27
mikestewart yep ... got it. this is totally what I needed. I now have three examples. the skeleton. sculpin.io. and beau.io04:27
simensen is the % needed?04:27
simensen yeah, that is twig stuff there.04:27
by default the source is always just the "content block"04:28
mikestewart ya, I get that. but thought twig can also work without the %04:28
simensen depends on what type of thing.04:28
mikestewart ok, for later ... I'm still getting into twig too04:28
had been putting it off... but pretty much how I came to sculpin04:29
simensen tags vs variables & expressions04:29
mikestewart didnt want to learn liquid theming04:29
simensen Tags use {% %} and variables use {{ }}04:29
this page will be your friend: http://twig.sensiolabs.org/doc/templates.html04:29
{{ basically means (I think) that it just dumps whatever you want as output04:29
mikestewart simensen ya, but I saw a demo where someone removed the % ... I need to go back and review04:30
simensen ok. if you find it that would be good for me to know. i didn't know you could do that.04:30
mikestewart ya, I'm not positive. it was a short video ... will let you know if I find out it can be interchangable04:31
simensen i think i need to go to bed now tho.04:31
mikestewart simensen thanks for your help! I think this will get me on the path04:31
simensen has been a long day.04:31
mikestewart ha! me too04:31
simensen mikestewart: goodnight. :)04:31
mikestewart thanks again!04:31
goodnight04:31
simensen mikestewart what is your twitter handle?04:32
mikestewart mediadoneright04:32
simensen ah, ok, cool. working on my irc:twitter mapping. :)04:32
mikestewart ha! ya... I kinda need a personal twitter ... but haven't used twitter too much in the past04:33
simensen even i'm not immune. i probably could have had @simensen when i joined twitter.04:33
but i went for @kirkryyn instead and by the time i realized my mistake (a year or so ago) i had to opt for @beausimensen. :-/04:34
mikestewart ha! is that an old handle?04:34
simensen yep.04:34
https://twitter.com/kirkryyn04:35
mikestewart I quit using nicks/handles a couple years ago ... when no one IRL knew me04:35
ha! 3 tweets04:35
simensen :)04:35
well, i renamed my old account and then created a new one w/ my old name. :)04:36
mikestewart makes sense ... as I just realized you've >10k on the new account04:36
ok, off to bed04:37
night04:37
simensen night!04:37
mikestewart (thanks again, helped a lot!)04:37
jrobeson simensen, how come there isn't a url() method in sculpin?04:38
in twig*04:38
seems like atm it's too easy to create urls to non existent places04:38
simensen jrobeson that needs to be addressed at some point. path() and url() helpers from templating in symfony are not able to be used here.04:40
jrobeson will probably be useful once there is a way to identify a source.04:40
jrobeson how to get the date the site was generated? hmm..05:55
ah more importantly.. how can i make humans.txt get parsed as twig..06:06
oh. i see06:06
mike545 joined07:12
ShotgunKlaus joined07:25
WouterJ joined07:31
WouterJ left08:01
bolbo joined08:04
opdavies joined08:16
WouterJ joined08:35
WouterJ left08:52
WouterJ joined10:06
WouterJ left10:12
jrobeson left11:02
railto joined11:04
jrobeson joined11:09
jrobeson left11:09
jrobeson joined11:09
WouterJ joined11:18
JulienTant joined11:44
railto left13:13
railto joined13:15
evrt joined13:34
mikesmoniker joined13:35
evrt left13:36
evrt joined13:36
EricPoe joined13:59
simensen jrobeson one of the changes i want to make for sculpin 3 is to make it so that you can map files outside of the file itself to get it treated as something else. or i at least want to experiment with it.14:09
so for exple, the person who wanted their stylehseet to be parsed as a stwig template14:09
mikestewart left14:54
ShotgunKlaus left15:27
bolbo left15:46
kavent left15:57
mikestewart joined15:57
opdavies left16:10
mike545 left16:17
mikestewart left16:17
mikestewart joined16:18
mikestewart left16:18
mikestewart joined16:18
mike545 joined16:24
mike545 left16:28
MediaDoneRight joined16:42
MediaDoneRight left16:42
mikestewart left16:47
EricPoe left16:55
mikestewart joined17:19
opdavies joined17:21
mikestewart left17:32
mikestewart joined17:32
WouterJ left18:02
WouterJ joined18:03
mikestewart left18:15
WouterJ left18:24
mikestewart joined18:29
opdavies left18:30
opdavies joined18:50
railto left18:59
bolbo joined19:03
WouterJ joined19:06
WouterJ left19:11
WouterJ joined19:12
kavent joined19:23
EricPoe joined19:37
EricPoe left19:39
bolbo left19:49
bolbo joined20:22
mike545 joined20:42
simensen Has anyone noticed changes in how permalinks are being generated?20:45
either a new trailing slash that wasn't there before or a trailing slash that *isn't* there anymore?20:45
EricPoe joined20:46
bolbo left20:49
mikestewart hmm, no, havent noticed.21:02
but have noticed (but haven't verified in a reproduce-able way) that sometimes new/changed content doesnt seem to be picked up21:02
WouterJ left21:15
WouterJ joined21:23
mike545 left21:26
jrobeson i've noticed that deleted content doesn't disappear until i stop the server and restart it21:37
mikestewart left21:46
mikesmoniker left21:48
WouterJ left22:16
EricPoe left22:17
EricPoe joined22:26
EricPoe left22:27
evrt left23:42

Logs Search ←Prev date Next date→ Channels Documentation