Zotonic
Zotonic
zotonic@conference.zotonic.com
Tuesday, 10 September 2013< ^ >
Arjan has set the subject to: Zotonic - The Erlang Web Framework & CMS
Room Configuration

GMT+2
[00:01:21] Mawuli Adzaku joins the room
[01:05:26] Mawuli Adzaku leaves the room
[01:06:02] Mawuli Adzaku joins the room
[01:08:44] Mawuli Adzaku leaves the room
[01:10:03] Mawuli Adzaku joins the room
[01:11:07] Mawuli Adzaku leaves the room
[01:15:55] Mawuli Adzaku joins the room
[01:27:30] cillian.deroiste leaves the room
[01:36:31] Mawuli Adzaku leaves the room
[08:38:12] arjan joins the room
[09:11:23] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[09:11:23] Marc Worrell joins the room
[09:40:18] maas.maarten.zeeman joins the room
[10:39:47] Steffen Hanikel joins the room
[10:44:44] maas.maarten.zeeman leaves the room
[10:48:11] maas.maarten.zeeman joins the room
[11:26:02] jarimatti joins the room
[11:28:30] <jarimatti> Yay, first pull request!
[11:28:33] <jarimatti> Also, hi.
[11:29:18] <Marc Worrell> hi :-) thanks for your work!
[11:29:35] <jarimatti> No problem. Let me know if there are any problems. :)
[11:30:04] <jarimatti> By the way, is the documentation also in the same repo?
[11:30:13] <Marc Worrell> You are fast - will have a look at it a bit later (if Andreas isn't faster)
[11:30:21] <Marc Worrell> yes, the docs are in the same repo
[11:30:55] <jarimatti> The docs should also be updated. I'll have a look at them later, it would be nice to have that in the same pull request.
[11:30:59] <Marc Worrell> just try "make docs" in the root zotonic dir
[11:31:11] <jarimatti> Ok, thanks!
[11:31:14] <Marc Worrell> indeed - good that you remembered
[11:31:31] <jarimatti> There is this thing called "quality". :)
[11:31:37] <Marc Worrell> LOL
[11:31:49] <Marc Worrell> which is a lot of work — but pays off :)
[11:32:07] <jarimatti> Indeed. Wider user audience, easier to work with.
[11:32:49] <jarimatti> Anyway, I just had some time on my hands and this seemed to be easy enough.
[11:33:16] <jarimatti> This seemed to work in my test setup.
[11:33:48] <jarimatti> But please check the code, it could still have issues.
[11:35:51] Mawuli Adzaku joins the room
[11:55:08] jarimatti leaves the room
[12:42:12] Mawuli Adzaku leaves the room
[12:53:37] Mawuli Adzaku joins the room
[12:54:44] Steffen Hanikel leaves the room
[12:56:10] Mawuli Adzaku leaves the room
[12:56:45] Mawuli Adzaku joins the room
[12:59:04] Mawuli Adzaku leaves the room
[12:59:58] Mawuli Adzaku joins the room
[13:03:05] Mawuli Adzaku leaves the room
[13:04:25] Mawuli Adzaku joins the room
[13:06:13] Mawuli Adzaku leaves the room
[13:06:55] Mawuli Adzaku joins the room
[13:10:02] Mawuli Adzaku leaves the room
[13:11:22] Mawuli Adzaku joins the room
[13:12:40] Mawuli Adzaku leaves the room
[13:13:06] Mawuli Adzaku joins the room
[13:16:12] Mawuli Adzaku leaves the room
[13:16:29] Kaos joins the room
[13:17:30] <Kaos> Wow: http://osrc.dfm.io/kaos :p
[13:27:21] Steffen Hanikel joins the room
[13:30:12] <Steffen Hanikel> :)
[13:52:34] Kaos leaves the room
[13:54:24] Andreas Stenius joins the room
[14:06:24] <maas.maarten.zeeman> lol
[14:06:45] <Andreas Stenius> please share :p
[14:07:20] <maas.maarten.zeeman> The idea of an open-source report card.
[14:07:44] Steffen Hanikel leaves the room
[14:08:36] <maas.maarten.zeeman> Github is a becoming serious place... I know a recruiter who uses it when interviewing candidates over the phone.
[14:08:43] <Andreas Stenius> ah, that ;)
[14:10:11] <maas.maarten.zeeman> Just came back from meeting, so I was a bit slow responding :p
[14:41:07] Mawuli Adzaku joins the room
[14:42:45] Mawuli Adzaku leaves the room
[14:53:01] Andreas Stenius leaves the room
[15:58:13] <Marc Worrell> @kaos haha, just wait till we remove the geomap module from the core - then suddenly your javascript status goes down the drain....
[16:28:11] arjan leaves the room
[16:29:07] <maas.maarten.zeeman> :-) you must have added a couple new versions of jquery too.
[16:40:17] arjan joins the room
[17:08:33] Steffen Hanikel joins the room
[17:15:20] arjan leaves the room
[17:34:25] maas.maarten.zeeman leaves the room
[17:40:38] Mawuli Adzaku joins the room
[17:58:57] Mawuli Adzaku leaves the room
[17:59:19] Mawuli Adzaku joins the room
[18:07:37] Mawuli Adzaku leaves the room
[18:08:27] Mawuli Adzaku joins the room
[18:21:25] <z-bot> [Miteorite] is this the main channle for zotonic? is z-bot broadcasting messages from your proviate server?
[18:42:11] <Steffen Hanikel> yes, this is the main channel
[18:42:33] <Steffen Hanikel> z-bot broadcast the message to the jabber channel
[18:42:33] <z-bot> Uh-oh, I don't know what to do with 'broadcast'.
[18:42:55] <Steffen Hanikel> so you could say the jabber channel is the main channel
[18:42:57] Steffen Hanikel leaves the room
[19:19:21] arjan joins the room
[19:32:12] jarimatti joins the room
[19:33:19] <jarimatti> Ugh, my code-fu is not strong today. I spotted another bug in the config.d code. :(
[19:46:29] Maas joins the room
[19:48:47] <Marc Worrell> :-) spit & polish, and then repeat :-)
[19:49:09] Maas leaves the room
[19:49:30] <jarimatti> Preferably with fewer bugs. :P
[19:50:41] <jarimatti> By the way: I see that Zotonic has some tests. How much is covered by current tests?
[20:13:12] <Marc Worrell> not enough - by far not enough
[20:13:33] <Marc Worrell> we are in an ongoing discussion how to test the whole system, or at least more of the system.
[20:13:52] <Marc Worrell> problem is of course all those templates and their interaction
[20:20:49] <jarimatti> I see.
[20:21:55] <jarimatti> And I also see that eunit is the weapon of choice for some tests.
[20:31:22] arjan leaves the room
[20:58:46] arjan joins the room
[21:00:06] cillian.deroiste joins the room
[21:11:38] arjan leaves the room
[21:14:25] Steffen Hanikel joins the room
[21:18:11] arjan joins the room
[21:28:12] <jarimatti> I've begun work with the hostalias config change.
[21:28:57] <jarimatti> One question: the m_site module exports get_all/2, which uses proplists:get_all_values to get e.g. hostalias values. Should this be deprecated and what does it break?
[21:31:36] <jarimatti> It seems it's not used in the Erlang source files.
[21:33:02] <arjan> Check in the template files
[21:33:13] <arjan> m.site.all
[21:33:23] <arjan> get_all/2 is used in m_find_value
[21:33:38] <arjan> m.site.all.hostalias etc
[21:33:39] <jarimatti> Oh, missed that.
[21:33:58] <arjan> hmm just did a grep, does not seem used
[21:34:16] <arjan> it is documented though :)
[21:34:27] <jarimatti> :)
[21:34:34] <arjan> http://zotonic.com/docs/0.9/ref/models/model_site.html#fetching-all-values-of-a-repeating-config
[21:34:37] <jarimatti> This is not as trivial as it seemed to be. :)
[21:34:47] <arjan> feel free to remove it
[21:34:59] <arjan> in my experience it is only used for that hostalias key
[21:35:26] <jarimatti> It's useless with the new config.d approach if duplicate keys are not allowed anyway.
[21:35:37] <arjan> indeed, that's why
[21:35:55] <arjan> otherwise its impossible to override config values
[21:37:22] <jarimatti> Should I remove both m_find_value(all, #m{value=undefined} = M, _Context) and m_find_value(Key, #m{value=all}, Context) too?
[21:41:27] <arjan> yes,
[21:41:43] <arjan> the function is called recusively until it no longer returns an #m{}
[21:42:20] <arjan> so the first clause is just there to pass on to the second level of the "all" construct
[21:42:33] <jarimatti> Ok, thanks!
[21:45:06] <Steffen Hanikel> Does any one have a good guess where that could be coming from?
pgsql_pool: could not connect to database "zotonic". Error: {error,error,<<"42601">>,<<"syntax error at or near \"-\"">>,[{position,<<"24">>}]}
[21:47:50] <arjan> hmm
[21:47:55] <arjan> does your db config look sane?
[21:48:55] <Steffen Hanikel> hmm ... I have to take a look at that, again
[21:49:50] Maas joins the room
[21:52:24] arjan leaves the room
[22:26:37] Maas leaves the room
[22:29:19] Maas joins the room
[22:48:43] <jarimatti> hostalias pull request done, now off to bed.
[22:49:44] <jarimatti> Please check and comment.
[22:49:59] <jarimatti> (when you have time, that is)
[22:55:57] <Steffen Hanikel> yeah, had a - in the schema
[22:56:16] <Steffen Hanikel> how hard would it be to add better error messages/recovery for that
[22:56:41] <Steffen Hanikel> it's not nice if the whole server doesn't start because of something like that
[22:57:30] Mawuli Adzaku leaves the room
[22:58:09] <jarimatti> Out of curiosity: does PostgreSQL allow - in schema names? I would think that it does.
[22:59:28] <Steffen Hanikel> postgres=# create schema site-test;
ERROR: syntax error at or near "-"
LINE 1: create schema site-test;
[22:59:44] <Steffen Hanikel> doesn't look like it would be allowed
[22:59:49] Mawuli Adzaku joins the room
[23:00:11] <Steffen Hanikel> now the message in the log file also makes more sense
[23:03:05] jarimatti leaves the room
[23:31:08] Steffen Hanikel leaves the room
[23:56:34] Maas leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!