Re: [Cppcms-users] State of the Union
Brought to you by:
artyom-beilis
From: redred77 <red...@gm...> - 2015-06-29 18:21:20
|
Sorry that my email disappointed you. What I meant I can contribute is not about the bug actually. I wrote it on mobile and didn't write it long. Sorry for that. I mean I can contribute to help people as a community member for who stuck with same problem I suffered. I like github because of 1) "fluent community system" and 2) "big user base". It's not about the source. I would like to have some Q&A like system only for CppCMS. Well github doesn't provide Q&A system but actually github's issue system is quite good for it too. (See how people are using github's issue page) CppCMS's knowledge base is kept on mailing list and Wiki mostly, and it's quite hard to find some answers for beginners or some particular problems. Maybe it's related problem between "mailing-list vs bbs". Here's one example. Assume that I suffered compiling cppcms/cppdb on Windows. I read all info from Wiki about it but couldn't solve it. I searched for the issue on Google and found same issue asking post from past cppcms mailing list. There isn't helpful reply to solve, or it's out-dated. When I found the answer on my own, do you think I have to reply to that mailing-list? No. It's just spam because it's few years old. So, my knowledge will be gone away and will not piled up to open source community forever. If it was github issue, I can add some more detailed info and comments for next searcher. Let me show what I suffered. I ran cppcms for development on Windows and found that Visual Studio doesn't compile utf-8 string as raw. So, when view template cpp has plain foreign language, it compiles well but shows wrong characters. I didn't know how VS handle utf-8 string, I just thought it saves string what the cpp file is saved as. (same like utf-8) I had to add below lines to force compile it as raw utf-8. #ifdef _MSC_VER __pragma (execution_character_set("utf-8")) #endif You would may ask that why I didn't send patch for it. Well, here are reasons what I thought. 1) I don't think it's best answer for this situation. Visual Studio changes a lot between versions. VS2008, VS2010, VS2013 supports this #pragma but VS2012 doesn't. Very weird. Not sure future version would support this pragma. This #pragma is very incomplete, temporary solution I think 2) cppcms recommends to use gettext() to print foreign languages. gettext() would not have any problems I suffered. I think I'm the only one stuck this problem. 3) cppcms mainly targets linux, but I haven't tested this situation on linux yet. I can't send patch even I haven't tested. Some other things would be broken by this lines. 4) New gcc have raw format saving feature like "u8R". I think it's better solution but not all compilers supports it yet. 5) And, I'm not sure it's bug, rather specific platform's compatibility issue. Cppcms dev already knows that compiling on windows is straightforward. For example, you have to resave some files to UTF8+BOM to compile with VS nmake. 6) I haven't edited cppcms_tmpl_cc.py to make it compatible. I mean I don't have the edited source code. As you know, view template must be translated by this python script. I just have found the answer by editing the result cpp file by myself. I have no code to send actually yet. Well, these are the problems why I hesitated. Yeah, "it's not completed research". Maybe I could have open a issue about it on github to discuss, but I was afraid about it on sending to mailing-list. Do you understand? Many people open issue on github with this kind of problem & info but mailing-list has much higher hurdle because everybody will read it. I can't write not-completed, not-fully-researched info to discuss with everyone. Also, FAQ or Wiki cannot handle all practical issues like this. Then it will be too long. To say it in clearly, I like bbs or forum than mailing-list. Github provides bbs, community system and Sourceforge is good at mailing-list I think. I like cppcms, and want to see it grow. Don't think I'm against this project, I really love this well structured codes. 2015. 6. 30. 오전 12:07에 "Joerg Sonnenberger" <jo...@br...>님이 작성: > On Mon, Jun 29, 2015 at 11:42:15PM +0900, redred77 wrote: > > I have started new project with cppcms few weeks ago, and I found several > > points I can contribute but couldn't do it. Moving to github would give > > much more contributors like me. > > I call this bullshit. You can send patches, you can create bug reports. > Nothing stops you from contributing. It might surprise people, but Open > Source projects have existed before github or even SF. The methods to > contribute haven't changed that much... > > Joerg > > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |