Zotonic
Zotonic
zotonic@conference.zotonic.com
Wednesday, 28 November 2012< ^ >
arjan has set the subject to: Zotonic - the Erlang Content Management Framework
Room Configuration

GMT+1
[04:30:45] aRyo joins the room
[04:30:56] aRyo leaves the room
[07:32:26] Arjan joins the room
[07:44:54] Arjan leaves the room
[08:46:07] Arjan joins the room
[08:46:52] Marc Worrell joins the room
[08:49:29] <Arjan> morning
[08:50:18] <Arjan> im doing the docs on tags
[08:52:02] <Arjan> finding some tags I didnt know exist
[08:52:34] <Arjan> like {% now "Y-m-d" %}
[08:53:20] <Arjan> also the scanner lists "rsc" as a keyword
[08:53:22] <Arjan> why is that?
[08:58:18] <Arjan> also these: ssi, ext
[08:59:05] <Arjan> and what about regroup and firstof
[09:19:27] andreas.stenius joins the room
[09:38:31] Marc Worrell leaves the room: Disconnected: connection closed
[09:44:55] Marc Worrell joins the room
[09:56:03] <andreas.stenius> nice doc work, Arjan! :)
[09:57:42] <Arjan> thanks
[10:01:06] <Arjan> somebody has to do it..
[10:29:37] <andreas.stenius> I'll call you Doc ;)
[10:30:49] <Arjan> but we're getting there
[10:31:06] <Arjan> I think your auth stuff is nice
[10:31:11] <andreas.stenius> yep, it's looking pretty good now, I think.
[10:31:14] <andreas.stenius> thanks :)
[10:31:19] <Arjan> yep
[10:31:26] <andreas.stenius> I think some examples could help, though...
[10:31:29] <Arjan> I'll put them to "OK" in the spreadsheet
[10:31:32] <Arjan> thats true
[10:31:57] <andreas.stenius> that's true for most of the docs throughout... but lets add them as time goes by..
[10:32:12] <andreas.stenius> ok
[10:33:11] <Arjan> yes
[10:33:19] <andreas.stenius> I'm porting the BNF stuff of erlydtl_parser to smie elisp.. :p
[10:33:27] <Arjan> lol
[10:33:35] <Arjan> thats nice
[10:33:47] <Arjan> but does your mode also parse HTML?
[10:33:48] <andreas.stenius> that should give a pretty good indenting engine! :)
[10:34:05] <andreas.stenius> that's easy enough, given I get this BNF stuff of the smie engine to work
[10:34:45] <andreas.stenius> there's quite a bit of rules in the template engine, actually...
[10:34:59] <andreas.stenius> looks simple enough, but wow, a lot of details :p
[10:35:04] <Arjan> :)
[10:35:25] <andreas.stenius> guess that's what I'll hit when it comes to html too... ;)
[10:35:43] maas.maarten.zeeman joins the room
[10:35:53] <andreas.stenius> Hi Maas :)
[10:36:26] <maas.maarten.zeeman> morning.
[11:03:19] <maas.maarten.zeeman> Having fun with a couple of new modules here... mod_pool and mod_reg. a process pool and process registry. Handy for starting and managing long running processes in your site. Very very handy. Going to ask if I can open-source it.
[11:35:10] <Arjan> using gproc?\
[11:43:17] <maas.maarten.zeeman> Not yet. Just simple 2 dict, but that is easily changed.
[11:43:34] <maas.maarten.zeeman> gproc has some peculiarities.
[11:44:43] <maas.maarten.zeeman> Also wanted to have a separate registry in order to cope with zotonic's multi site setup.
[12:01:44] <Arjan> ah yes
[12:09:41] <maas.maarten.zeeman> Lots of standard erlang libraries can't deal with that scenario
[12:58:56] <Marc Worrell> maybe mod_reg should be very core (as in not a module)?
[12:59:22] <Marc Worrell> generally useful, and I see no reason to switch it on/off
[13:01:19] <Marc Worrell> could also behave as a supervisor
[13:43:12] <maas.maarten.zeeman> :-) Starting with a module is easy. It can move into core once. It just registers processes. I had it mixed with a process pool, but that didn't work out that well.
[13:43:51] <maas.maarten.zeeman> Just a gen_server this api:
-export([start_link/1, register/3, unregister/2, whereis/2, names/2]).
[13:44:18] <maas.maarten.zeeman> The process pool is a supervisor
[13:44:30] <maas.maarten.zeeman> with this api: export([
name/1,
start_pool/4,
stop_pool/2,
delete_pool/2,
run/3,
sync_queue/3,
async_queue/3
]).
[13:45:30] <maas.maarten.zeeman> You can start multiple pools.
[13:47:53] <maas.maarten.zeeman> Starting processes is cheap and easy ;-)
[17:14:00] maas.maarten.zeeman leaves the room
[17:38:45] <Arjan> added a neat feature to conditionally show/hide admin sidebar widgets
[17:46:43] Arjan leaves the room
[18:47:45] Arjan joins the room
[18:48:20] <Arjan> http://zotonic.com/docs/ref/modules/mod_admin.html#making-an-admin-widget-conditionally-visible
[20:28:50] <andreas.stenius> wow, that was a clever-tricky way to solve it. Cool!
[20:30:55] <Arjan> :)
[20:31:39] <Arjan> I removed the todo's from the HTML docs on zotonic.com
[20:31:52] <andreas.stenius> was just looking at that. Good move :)
[20:37:58] <Arjan> Just moved one of my bigger Zotonic clients over to 0.9
[20:38:03] <Arjan> http://www.mediafonds.nl/
[20:39:35] <andreas.stenius> nice. went smooth I presume?
[20:43:41] <Arjan> yes without a glitch
[20:43:47] <Arjan> about 5 minutes downtime
[20:44:15] <Arjan> shutting one site down, backing up database, moving files folder over
[20:44:58] <Arjan> and stumbled on some more upgrading issues which i documented ;)
[20:45:20] <andreas.stenius> in 5 minutes? that's neat :)
[20:49:47] <Arjan> well not really :)
[20:50:00] <Arjan> I first had already the same site running on 0.9
[20:50:25] <Arjan> and then switched over and changed the varnish config to point the hostname to the 0.9
[20:51:40] <andreas.stenius> sounds good. Ah, so the 5 minutes was to bring the 0.9 up-to-date with the latest version running in 0.8
[20:56:52] <Arjan> a bit downtime is unavoidable
[20:57:08] <Arjan> beacuse you dont want to have the same database open from 2 different zotonic versions
[20:59:49] <andreas.stenius> well, it ought to be possible to upgrade the code in place (although we might lack a few features to handle that properly) on the running instance going from 0.8 => 0.9 with a recompile (and a git co 0.9-master to get the code/templates etc with it...)
[21:00:12] <Arjan> true
[21:00:29] <Arjan> we're running multiple zotonic versions in parallel
[21:00:51] <Arjan> so I literally had to move the site folder
[21:01:12] <andreas.stenius> got to keep your tongue in place then to avoid running the same site on more than one version :p
[21:01:21] <andreas.stenius> ah, that's how you keep them apart :)
[21:08:57] <Arjan> yep
[21:09:04] <Arjan> every now and then I move some sites over
[22:09:11] andreas.stenius leaves the room
[22:11:04] Maas joins the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!