Zotonic
Zotonic
zotonic@conference.zotonic.com
Monday, 18 February 2013< ^ >
arjan has set the subject to: Zotonic - the Erlang Content Management Framework
Room Configuration

GMT+1
[08:57:06] Andreas Stenius joins the room
[09:06:49] maas.maarten.zeeman joins the room
[09:11:30] <maas.maarten.zeeman> good morning
[10:24:39] <Andreas Stenius> mornin'
[11:00:23] Andreas Stenius leaves the room
[11:45:27] <Marc Worrell> Good morning
[11:46:36] <Marc Worrell> The "Zotonic make it faster" presentation has already 441 views and 2 embedded views (don't know from where…)
[12:23:47] <maas.maarten.zeeman> Wow, nice.
[14:06:15] Arjan joins the room
[14:12:12] Arjan leaves the room
[15:00:32] <Marc Worrell> Is this a sign of iconv and R15 incompatibility?
[15:00:32] <Marc Worrell> (zotonic001@Lamma)1> 2013-02-18 14:59:34.768 [error] <0.2948.0> Error loading driver: Driver compiled with incorrect version of erl_driver.h
2013-02-18 14:59:34.768 [error] <0.1977.0>@z_email_receive_server:handle_DATA:139 SMTP receive: Message decode FAILED with error:{badmatch,{error,bad_driver}}
2013-02-18 14:59:34.770 [error] <0.2948.0> CRASH REPORT Process <0.2948.0> with 0 neighbours crashed with reason: {bad_driver,[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,320}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}
[15:01:22] <maas.maarten.zeeman> yes. it can't load iconv
[15:02:02] <maas.maarten.zeeman> we're still running R14...
[15:02:23] <Marc Worrell> Can I find you iconv somewhere?
[15:02:35] <Marc Worrell> Then I will hack our gen_smtp and iconv dependency
[15:02:56] <Marc Worrell> This is a tad inconvenient when testing e-mail receive :)
[15:02:57] <maas.maarten.zeeman> Of course... :-) wait...
[15:03:18] <Marc Worrell> Then later also remove some parametrized modules…. R16 coming soon
[15:03:41] <Marc Worrell> (Happy that we don't use BossDB and friends...)
[15:04:19] <maas.maarten.zeeman> https://github.com/mmzeeman/eiconv.git
[15:04:52] <Marc Worrell> yeah!
[15:04:53] <maas.maarten.zeeman> I have to look at some of the newer nif api calls to please the scheduler
[15:05:05] <Marc Worrell> but I assume this one will work?
[15:05:47] <maas.maarten.zeeman> Yes it will. Reading from the mailinglist it is important to keep work < 100 ms in nifs
[15:06:21] <maas.maarten.zeeman> Don't have a clue how long iconv takes converting 100 kb texts. Lots of copying too I guess.
[15:06:49] <maas.maarten.zeeman> It's important for the sqlite nif too
[15:07:17] <Marc Worrell> iconv should be pretty fast - mostly just table lookups
[15:08:10] <maas.maarten.zeeman> For bigger things you need a streaming api anyhow.
[15:08:19] <Marc Worrell> indeed
[15:09:04] <maas.maarten.zeeman> iconv can do that, but eiconv not. it follows the iconv api which could do 64 kb blocks max.
[15:09:35] <Marc Worrell> at least eiconv works - which can't be said of iconv....
[15:10:10] <maas.maarten.zeeman> We use it a lot for converting html in various encodings to utf-8
[15:11:09] <Marc Worrell> hmmm, mimemail.erl blows up my Sublime Text 2 (or rather the plugins…)
[15:11:34] <maas.maarten.zeeman> oops. do you use that sublimerl ?
[15:11:43] <Marc Worrell> yep
[15:11:55] <maas.maarten.zeeman> disabled that one :-)
[15:11:57] <Marc Worrell> switching to TextMate :p
[15:12:29] <Marc Worrell> sublimerl seems to be broken anyway atm - might as well disable it
[15:13:10] <maas.maarten.zeeman> The code completion sometimes doesn't do what you want.
[15:15:48] <Marc Worrell> yep - and it really wants a rebar'ized project
[15:16:02] <Marc Worrell> which is not the case with most of my projects
[15:31:19] <maas.maarten.zeeman> Btw.. I have a zotonic branch with folsom stats enabled..
[15:33:48] <maas.maarten.zeeman> https://github.com/mmzeeman/zotonic/tree/z_stats
[15:35:24] maas.maarten.zeeman leaves the room
[15:41:40] maas.maarten.zeeman joins the room
[15:43:10] Andreas Stenius joins the room
[16:39:52] <maas.maarten.zeeman> How do you guys debug something specific for ios? With XCode?
[16:40:23] <maas.maarten.zeeman> Need the "inspect element" for ios browser... just the js console.
[17:12:16] <maas.maarten.zeeman> Aha, found out how to do it... the iphone can connect to safari.
[17:14:35] jeff.5nines joins the room
[17:15:51] jeff.5nines leaves the room
[17:16:17] jeff.5nines joins the room
[18:32:38] Arjan joins the room
[18:44:13] Arjan leaves the room
[20:06:17] jeff.5nines leaves the room
[20:49:59] <maas.maarten.zeeman> Checking sqlite nif speeds. It typically takes 5 to 20 micro seconds to queue a command.
[21:03:15] <maas.maarten.zeeman> So well within the 1000 micro seconds time slice it gets.
[21:03:35] <maas.maarten.zeeman> Checking iconv too, don't want it to goof up things.
[21:04:14] maas.maarten.zeeman leaves the room
[21:08:16] maas.maarten.zeeman joins the room
[21:32:02] <maas.maarten.zeeman> Hmm, things are not so nice for iconv... 128 kb is approaching 1 ms...
[22:26:29] Andreas Stenius leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!