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

GMT+2
[00:12:34] Steffen Hanikel leaves the room
[01:31:31] cillian.deroiste leaves the room
[07:34:54] Maas joins the room
[08:02:24] Maas leaves the room
[08:42:04] Maas joins the room
[08:45:20] Piotr Nosek joins the room
[09:17:53] arjan joins the room
[09:23:18] Maas41567 joins the room
[09:23:18] Maas41567 is now known as Maas10595
[09:23:18] Maas10595 leaves the room
[09:23:18] Maas41567 joins the room
[09:23:18] Maas41567 leaves the room
[09:23:18] Maas43304 joins the room
[09:23:18] Maas43304 leaves the room
[09:23:18] Maas84214 joins the room
[09:25:34] Andreas Stenius leaves the room
[09:31:39] simon.smithies joins the room
[09:35:29] Steffen Hanikel joins the room
[09:45:10] arjan leaves the room
[09:56:37] <Piotr Nosek> Good morning (or perhaps evening for some). Thanks for the answers yesterday, now I have another one, most probably for Marc, as it seems he is the author of mod_geomap. :) Brief source code check did not reveal to me if the module aids geo distance calculation. What I have in mind is finding a resource of specific category closest to user's location. Let's assume I already have library for getting user's IP latitude and longitude. :)
[10:34:11] <Marc Worrell> Hi Piotr - the geomap is a kind of work in progress - distance calculation and quadtile searches needs to be added….
[10:34:30] <Marc Worrell> right now it helps in geocoding all addresses
[10:36:22] <Marc Worrell> But actually what you can do to find the closest couple of points is to search for the fist match ascending and descending from the quadtile code
[10:36:51] <Marc Worrell> that will work well, except for the 180 degrees border :-)
[10:37:47] <Marc Worrell> hmmm, actually you need to do a bit more than that…. as the quadtiles have multiple borders.
[10:38:18] <Marc Worrell> One thing I was thinking of is to make a pivot column with PostGIS - quick way around coding things ourselves….
[10:41:31] <Marc Worrell> I am planning to separate mod_geomap from the core, as it is quite independent from the core and also requires independent maintenance.
[10:41:36] Maas84214 leaves the room
[10:50:18] Maas88660 joins the room
[10:50:18] Maas88660 leaves the room
[10:50:18] Maas88660 joins the room
[10:50:18] Maas88660 is now known as Maas98847
[11:22:27] Maas98847 leaves the room
[11:25:25] Marc Worrell leaves the room: Disconnected: Server is shutting down: Received SIGTERM
[11:25:31] Marc Worrell joins the room
[11:34:39] arcusfelis joins the room
[11:35:21] Maas leaves the room
[11:55:52] arjan joins the room
[11:56:49] <arjan> Marc Worrell: good idea
[11:56:55] <arjan> those big modules deserve their own repo
[11:57:01] <arjan> same goes for mod_survey, if you ask me
[11:57:01] <Marc Worrell> yep
[11:57:46] <Marc Worrell> when the new module manager is there, then we can start the autumn-cleaning.
[11:57:51] <arjan> :)
[11:57:52] <arjan> indeed
[11:58:41] <Marc Worrell> mod_geomap is also the cause of the GitHub javascript classification… as those .js files are not in their ignore list (tinymce and jquery are)
[12:03:57] Marc Worrell leaves the room: Disconnected: Server is shutting down: Received SIGTERM
[12:04:03] Marc Worrell joins the room
[12:04:36] Marc Worrell leaves the room: Disconnected: Server is shutting down: Received SIGTERM
[12:04:42] Marc Worrell joins the room
[12:08:31] <arjan> :)
[12:08:38] <arjan> btw I saw there is a new tinymce version
[12:08:40] <arjan> 4.x
[12:08:45] <arjan> more bootstrappy
[12:17:41] Steffen Hanikel leaves the room
[12:23:44] Maas joins the room
[12:33:51] <Marc Worrell> :-)
[12:34:07] <Marc Worrell> and mod_geomap in action https://www.womenonweb.org/en/map
[12:34:31] <Marc Worrell> very crude query, but working for now (optimizations come later)
[12:36:59] <Marc Worrell> We should add some more sites to http://zotonic.com/showcase
[12:38:25] <Maas> Looking at me? ;-)
[12:40:51] Steffen Hanikel joins the room
[12:42:52] arjan leaves the room
[12:44:08] <Marc Worrell> always
[12:46:23] Maas leaves the room
[12:49:00] simon.smithies leaves the room
[13:05:55] Maas joins the room
[13:07:40] Maas99637 joins the room
[13:07:40] Maas99637 leaves the room
[13:07:40] Maas30991 joins the room
[13:07:40] Maas30991 leaves the room
[13:07:41] Maas98772 joins the room
[13:07:41] Maas98772 leaves the room
[13:07:41] Maas94842 joins the room
[13:19:49] arjan joins the room
[13:21:38] <arjan> nice map, marc
[13:22:58] <Steffen Hanikel> oohh, new module system that sounds nice! Is there any work for that already in the tree?
[13:22:59] <Marc Worrell> Thanks :)
[13:23:21] <Marc Worrell> I just added some more sites to http://zotonic.com/showcase
[13:23:42] <Steffen Hanikel> btw, I want to write some documenation on models, where should I add it to?
[13:23:47] <Marc Worrell> The new module system is made by Mawuli, as part of the Google Summer of Code.
[13:24:14] <Marc Worrell> Models are in the refs section, aren't they?
[13:24:45] <Steffen Hanikel> Yes, I just want to write more about how to actually implement one
[13:24:59] <Steffen Hanikel> and the reference doesn't seem to be right place
[13:25:11] <Marc Worrell> aha, we have some howto sections
[13:25:35] <Steffen Hanikel> ah, yes I could write a cookbook
[13:26:14] <Marc Worrell> yes, that might be a good place. At least for now, and then reference it from other places.
[13:26:24] <arjan> yes depending if thats what you want
[13:26:27] <arjan> i think a cookbook is nice
[13:26:56] <Marc Worrell> or would people expect something about models in the 'datamodel' section?
[13:27:16] <arjan> I dont think so
[13:27:26] <arjan> datamodel is a specific set of models
[13:27:34] <Marc Worrell> that is true - the core stuff
[13:28:11] <Steffen Hanikel> I think I will stick with a cookbook for now, as I don't understand it completly, yet
[13:28:34] <Marc Worrell> :-)
[13:30:42] <Steffen Hanikel> you can expect a few more showcase websites in the future from me. I just started working together with a designer friend :)
[13:31:06] <Steffen Hanikel> I really like zotonic so far and I couldn't stand working with typo3 or the like
[13:32:11] <Marc Worrell> Thanks :-)
[13:35:13] <Steffen Hanikel> I have to thank you for creating zotonic and putting it in the public :)
[13:36:05] Maas94842 leaves the room
[13:36:51] <Marc Worrell> Anyone can read Japanese here? http://textsearch-ja.projects.pgfoundry.org/textsearch_groonga.html
[13:37:31] <Steffen Hanikel> google translate works quite well
[13:37:45] <Marc Worrell> @Steffen - it is a wonderful experience to work in the open source community, Zotonic is much better now thanks to our community and people like you.
[13:38:26] <Marc Worrell> Maybe I will ask my wife - she can speak/read Japanese
[13:39:19] <Marc Worrell> (Google translate sometimes messes things up - and we get more and more russian or chinese texts….)
[13:40:19] Maas56441 joins the room
[13:40:19] Maas56441 leaves the room
[13:40:19] Maas86712 joins the room
[13:49:29] arjan leaves the room
[13:51:15] <Maas> <3 Russian
[13:52:26] <Marc Worrell> Interesting "Highly Precise Search for Any Language" http://mroonga.org/publication/presentation/groonga-mysqluc2011.pdf
[13:55:05] <Marc Worrell> But then, first I need some pubsub bus to get some communication with the browser easier… and that is needed for my page editor and a chat thing.
[13:55:55] <Maas> Cool stuff... maybe it would be nice to link that to sqlite
[13:56:51] <Marc Worrell> they say it is a small C library - but prob best as standalone process (not as NIF)
[13:57:33] <Maas> Yep, the have their own storage engine. Aha...
[13:58:38] <Marc Worrell> bit like Solr et al - but then you don't need to run a JVM…. which is a bit handier on smaller machines
[14:17:44] Jeff Bell leaves the room
[14:18:43] Jeff Bell joins the room
[14:40:36] piotr.nosek leaves the room: Replaced by new connection
[14:40:37] piotr.nosek joins the room
[14:41:31] arjan joins the room
[15:05:16] Maas leaves the room
[15:16:12] piotr.nosek leaves the room
[15:16:57] arjan leaves the room
[15:35:27] Maas joins the room
[15:41:09] Marc Worrell leaves the room
[15:41:51] Marc Worrell joins the room
[16:05:35] Maas leaves the room
[16:07:36] Maas joins the room
[16:11:41] Piotr Nosek leaves the room
[16:24:02] <z-bot> [blaaa] Hi
[16:25:59] <z-bot> [blaaa] I wanted to try out Zotonic on my very low end hardware, but my linux distro's Erlang is too new... Of course that is easily fixed, but it would be inconvenient. Any idea when Zotonic will be compatible with R16B01?
[16:26:26] <Marc Worrell> Actually, it should be working, at least I think so.
[16:26:54] <Marc Worrell> except maybe for the scheduler bug in R16B01
[16:27:36] <z-bot> [blaaa] Hi, I cannot build it, on http://zotonic.com/download is also indicated 'Note: Erlang R16B1 is not yet supported. This is a known issue and we are working to resolve this soon.'
[16:27:44] <z-bot> [blaaa] Should I try a development version?
[16:28:03] <z-bot> [blaaa] I don;t have the error message during build here...
[16:28:15] <z-bot> [blaaa] that might be informative
[16:29:38] <Marc Worrell> Yes, try the master version - that one has all the parametrized modules removed.
[16:31:24] <z-bot> [blaaa] OK, thanks! I'l try it out. And thanks with coming up with this project in advance, looks very promising IMHO
[16:32:00] <Marc Worrell> Let us know if you have any problems on R16
[16:32:06] <z-bot> [blaaa] OK
[16:32:24] Maas leaves the room
[16:33:07] <Marc Worrell> The master branch can be quite in flux sometimes, so be careful what you pull in - you might need to stop&rebuild for the best results
[16:35:57] Steffen Hanikel leaves the room
[16:42:59] arjan joins the room
[16:47:51] arjan leaves the room
[16:51:25] <z-bot> [blaaa] Building what I had just pulled in from github apparently completed without issues. As before 0.9.2 did not complete.
[16:52:05] <z-bot> [blaaa] So I'll try out the git-version (soon I hope)
[16:52:10] <z-bot> [blaaa] Thanks again & bye
[16:54:50] Maas joins the room
[17:01:01] arjan joins the room
[17:05:34] Maas86712 leaves the room
[17:29:23] Maas leaves the room
[17:32:27] arjan leaves the room
[17:42:00] Mawuli Adzaku joins the room
[17:56:20] Steffen Hanikel joins the room
[17:58:21] Maas joins the room
[17:59:12] Maas leaves the room
[18:05:55] arjan joins the room
[18:11:49] arjan leaves the room
[18:12:35] Mawuli Adzaku leaves the room
[18:12:51] Mawuli Adzaku joins the room
[18:12:51] arcusfelis leaves the room
[18:52:30] Steffen Hanikel leaves the room
[18:52:57] Steffen Hanikel joins the room
[19:11:30] Mawuli Adzaku leaves the room
[19:11:59] Mawuli Adzaku joins the room
[19:20:50] Mawuli Adzaku leaves the room
[19:21:29] Mawuli Adzaku joins the room
[19:49:00] Mawuli Adzaku leaves the room
[19:51:15] Mawuli Adzaku joins the room
[19:59:06] arjan joins the room
[19:59:22] <arjan> this afternoon I was testing a project with 20+ ppl connected over websockets
[19:59:29] <arjan> got this message, probably from a blackberry device:
[19:59:33] <arjan> 2013-08-29 16:54:28.376 [info] <0.17510.1830> DEBUG: webmachine_mochiweb:124 {error,undef,[{z_websocket_hixie75,receive_loop,[none,nolength,#Port<0.838408>,{context,silentmobiledisco,{wm_reqdata,#Port<0.838408>,{dict,4,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[],[[ua_class|desktop],[ua_props,{is_user_select,false},{has_pointer,true}]],[[zotonic_host|silentmobiledisco]],[[controller_module|controller_websocket]],[],[],[],[],[],[],[],[],[],[]}}},undefined,"84.241.192.147",undefined,{wm_log_data,193565711,undefined,{1377,788068,374589},'GET',{10,{"sec-websocket-key2",{"Sec-Websocket-Key2","Wy & 1> ;.1 7) 0?4 58 5$M5a 0N"},{"host",{'Host',"disco.miraclethings.nl"},{"cookie",{'Cookie',"z_pid=2aM6DJG4ARx6Pu8EqX1T; z_sid=z5ThZKHoZ09dP8vdtW4T"},{"connection",{'Connection',"Upgrade"},nil,nil},nil},{"sec-websocket-key1",{"Sec-Websocket-Key1","2G 23 9 4 54 X2 1 7"},{"origin",{"Origin","http://disco.miraclethings.nl"},nil,nil},nil}},{"x-forwarded-host",{"X-Forwarded-Host","disco.miraclethings.nl"},{"x-forwarded-for",{'X-Forwarded-For',"84.241.192.147"},{"upgrade",{'Upgrade',"WebSocket"},nil,nil},nil},{"x-varnish",{"X-Varnish","149370492"},nil,nil}}}},"84.241.192.147","/ws",{1,1},404,0,undefined,undefined,undefined},'GET',http,{1,1},[],"/ws","/ws",{dict,2,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[],[],[[zotonic_host|silentmobiledisco]],[],[],[],[[zotonic_dispatch|ws]],[],[],[],[],[],[],[]}}},[],".",500,1073741824,[{"z_pid","2aM6DJG4ARx6Pu8EqX1T"},{"z_sid","z5ThZKHoZ09dP8vdtW4T"}],[],[{"connection","Upgrade"},{"cookie","z_pid=2aM6DJG4ARx6Pu8EqX1T; z_sid=z5ThZKHoZ09dP8vdtW4T"},{"host","disco.miraclethings.nl"},{"origin","http://disco.miraclethings.nl"},{"sec-websocket-key1","2G 23 9 4 54 X2 1 7"},{"sec-websocket-key2","Wy & 1> ;.1 7) 0?4 58 5$M5a 0N"},{"upgrade","WebSocket"},{"x-forwarded-for","84.241.192.147"},{"x-forwarded-host","disco.miraclethings.nl"},{"x-varnish","149370492"}],not_fetched_yet,false,{0,nil},<<>>,undefined,[],none,[]},undefined,<0.21415.1830>,<0.23187.1830>,"KDDDE1Y2Fz7i5cTqm9Eb",desktop,'z_depcache$silentmobiledisco','z_notifier$silentmobiledisco','z_session_manager$silentmobiledisco','z_dispatcher$silentmobiledisco','z_template$silentmobiledisco','z_scomp$silentmobiledisco','z_dropbox$silentmobiledisco','z_pivot_rsc$silentmobiledisco','z_module_indexer$silentmobiledisco',13135946,undefined,en,undefined,undefined,[],[],[],[],[],[],[],[{q,[{"zotonic_host","silentmobiledisco"},{"zotonic_dispatch","ws"}]},{session_id,"z5ThZKHoZ09dP8vdtW4T"},{callbacks,silentmobiledisco},{ws_handler,smd_ws_handler},{zotonic_dispatch,ws}]}]},{webmachine_mochiweb,loop,2},{mochiweb_http,headers,5},{proc_lib,init_p_do_apply,3}]}
[20:19:00] <Marc Worrell> looks like there is Pid missing in that call
[20:19:59] <Marc Worrell> That is a wrong call in z_websocket_hybi00
[20:26:10] <Marc Worrell> Fixed https://github.com/zotonic/zotonic/issues/637
[20:26:54] <arjan> huh
[20:27:23] <arjan> aaaah
[20:27:35] <arjan> oh damn
[20:27:40] <arjan> I caused that bug, I believe
[20:27:54] <arjan> I think I added the senderpid argument some time ago
[20:27:58] <arjan> must have overlooked this one
[20:28:01] <arjan> thanks for fixing :D
[20:28:10] <Marc Worrell> :-)
[20:28:30] <arjan> now, how on earth are we gonna reproduce this :P
[20:28:33] <Marc Worrell> crash early - always helps
[20:28:39] <arjan> I dont know anybody with a bb ;)
[20:29:05] <Marc Worrell> LOL Call RIM, ask if they know somebody?
[20:29:28] <Marc Worrell> Maybe they have one or two in a test lab
[20:30:09] <Steffen Hanikel> Is there a reason why the value column of the config table has the type varying(1000)?
[20:30:30] <Steffen Hanikel> I want to store some CSS in it and I think I'll change it to text
[20:31:36] <Marc Worrell> No real reason - go ahead. And if it turns out to be inefficient then we change the caching strategy.
[20:31:58] <Steffen Hanikel> k, thx!
[20:32:11] <Marc Worrell> But are you sure you want to store CSS in a config entry???
[20:32:16] <arjan> hmm CSS in a config value.. interesting :)
[20:32:23] <arjan> lol
[20:32:25] <Steffen Hanikel> it's actuall SCSS
[20:32:25] <Marc Worrell> And not in something that has version control.
[20:32:44] <Steffen Hanikel> it's part of my foundation 4 module
[20:33:09] <Steffen Hanikel> where the user has the abitlity to change the colors etc.
[20:35:55] <Steffen Hanikel> I guess I could store it in git, as it shouldn't be changed later anyways
[20:36:25] <Steffen Hanikel> I'm still thinking about the right strategy here
[20:37:15] <Steffen Hanikel> but I'd like to keep things on the server side and don't want my designer to have to install SCSS, or commit and push just to check some changes
[20:52:28] Mawuli Adzaku leaves the room
[20:53:05] Mawuli Adzaku joins the room
[20:54:17] <Marc Worrell> You can also use github with a commit hook - I think @arjan wrote something for that
[20:54:39] <Marc Worrell> The your designer can edit on github - and after saving it gets automatically deployed
[20:55:18] <Marc Worrell> In that way you can easily rollback if it is needed
[20:58:47] <Marc Worrell> Actually, the editor on GitHub is quite nice - it even does syntax highlighting
[21:16:20] <Steffen Hanikel> I have to look into that, he actually knows how to use git and using a vagrant container should works, too
[21:16:25] <Steffen Hanikel> time will tell :)
[21:31:28] Mawuli Adzaku leaves the room
[21:32:09] Mawuli Adzaku joins the room
[21:43:26] Mawuli Adzaku leaves the room
[21:46:00] Mawuli Adzaku joins the room
[21:47:41] Mawuli Adzaku leaves the room
[21:51:01] Mawuli Adzaku joins the room
[21:57:54] Mawuli Adzaku leaves the room
[22:05:15] Mawuli Adzaku joins the room
[22:15:30] Maas joins the room
[22:34:51] arjan leaves the room
[22:43:50] Maas leaves the room
[22:53:41] Steffen Hanikel leaves the room
[22:54:34] Steffen Hanikel joins the room
[23:04:02] Steffen Hanikel leaves the room
[23:34:19] Mawuli Adzaku leaves the room
[23:36:24] Mawuli Adzaku joins the room
[23:41:59] Mawuli Adzaku leaves the room
[23:42:59] Mawuli Adzaku joins the room
[23:46:05] Mawuli Adzaku leaves the room
[23:50:36] Mawuli Adzaku joins the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!