[ALC] ALC presentation for events

2020-05-09 Thread Tomasz Urbaszek
Hi all,

As ALC Warsaw, we are planning the next event (meetup) in June. During
our discussion, we came up with an idea to create presentation that
will be shown at the beginning of each of our events. As such it
should not take more than 10 minutes. The main purpose of this
presentation would be to remind ASF values and the ALC idea
(especially for newcomers).

Moreover, we thought that it would be nice to make this presentation
to be consistent between all ALC. What do you think about this idea? I
am happy to start working on it (will Google slides do?).

Best wishes,
Tomek Urbaszek
ALC Warsaw

-
To unsubscribe, e-mail: dev-unsubscr...@community.apache.org
For additional commands, e-mail: dev-h...@community.apache.org



Re: [ALC] ALC presentation for events

2020-05-09 Thread Sharan Foga
Hi Tomek

This is a great idea!  Having the same presentation will be a good way to 
ensure that we keep the message consistent.

Have you heard about the Apache Training project? It is currently in incubation 
and although it mentions putting together training material for Apache project 
http://training.apache.org/  Essentially the material is in the form of 
presentations and we might already have some of material in place for the 
general intro. 

You could start working on it in Google slides and my suggestion would be that 
we actually convert the presentation material to be stored the material as part 
of Apache Training. That means that we could have a central place for people to 
find this and any other presentations we create.

I think we could setup the Comdev section to incorporate the different language 
versions so will ask the question on the Training mailing list.

Thanks
Sharan


On 2020/05/09 07:07:02, Tomasz Urbaszek  wrote: 
> Hi all,
> 
> As ALC Warsaw, we are planning the next event (meetup) in June. During
> our discussion, we came up with an idea to create presentation that
> will be shown at the beginning of each of our events. As such it
> should not take more than 10 minutes. The main purpose of this
> presentation would be to remind ASF values and the ALC idea
> (especially for newcomers).
> 
> Moreover, we thought that it would be nice to make this presentation
> to be consistent between all ALC. What do you think about this idea? I
> am happy to start working on it (will Google slides do?).
> 
> Best wishes,
> Tomek Urbaszek
> ALC Warsaw
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@community.apache.org
> For additional commands, e-mail: dev-h...@community.apache.org
> 
> 

-
To unsubscribe, e-mail: dev-unsubscr...@community.apache.org
For additional commands, e-mail: dev-h...@community.apache.org



[jira] [Closed] (COMDEV-371) Apache httpd Module: How to retain original POST "response body" when using SetHandler?

2020-05-09 Thread Sebb (Jira)


 [ 
https://issues.apache.org/jira/browse/COMDEV-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebb closed COMDEV-371.
---
Resolution: Information Provided

Sorry, but this is not the appropriate forum for such a question.

The HTTPD server is maintained by the HTTPD project.
Please subscribe to the HTTPD user list and post the query there:

https://httpd.apache.org/lists.html

> Apache httpd Module: How to retain original POST "response body" when using 
> SetHandler?
> ---
>
> Key: COMDEV-371
> URL: https://issues.apache.org/jira/browse/COMDEV-371
> Project: Community Development
>  Issue Type: Question
>  Components: Comdev, Help Wanted
> Environment: DEV
>Reporter: Harshil Fadia
>Priority: Major
>  Labels: Apache, Proxy, apache, c, module
>
> *QUESTION*: How can I trigger my C code and set variable in response header 
> *BUT still retain original Response body which server is generating for 
> client.*
> *Requirement*: Write custom Apache module to read POST request body >> Take 
> out data from request body >> Set particular response header attribute using 
> request body >> Send response back to client
> *Details*: I am using Apache as proxy for my ElasticSearch. I have 
> successfully developed Apache Module in C and added it to httpd.conf. I have 
> used "*SetHandler*" directive to trigger my custom C code.
> It is all working fine. Request generated from client browser is going 
> through my custom C Apache Module and in my C code, I am able to read POST 
> request body from request_rec. I am also able to set response header with 
> that value I am readying from request body.
> *Issue*: If I invoke my module/code using SetHandler, when it comes out it 
> does not have any response body and blank response body is sent to client 
> browser. Where as when I disable my module/code, response is well generated a 
> sent to client. So looks like by using SetHandler, *response is lost*.
>  
> My config/code are below:
> h1. 1. httpd.conf
> {code:java}
> LoadModule example_module/usr/lib64/httpd/modules/mycustommodule.so
> 
>   
> #SetHandler readbody-handler #calling my custom module
>   
>   #My KIBANA application is running on 5601 on same machine
>   ProxyPass/ http://localhost:5601/ 
>   ProxyPassReverse / http://localhost:5601/
> 
> {code}
> h1. 2. My custom C module
> {code:java}
> module AP_MODULE_DECLARE_DATA readbody_module = { 
> STANDARD20_MODULE_STUFF,
> NULL, /*Per-directory configuration handler */
> NULL, /*Merge handler for per-directory configurations */
> NULL, /*Per-server configuration handler */
> NULL, /*Merge handler for per-server configurations */
> NULL,
> regiter_hooks /*Our hook registering function */
> };
> static void register_hooks(apr_pool_t *pool)
> {
> ap_hook_handler(readbody_handler, NULL, NULL, -10);
> }
> static int readbody_handler(request_rec *r)
> {
> const char *buffer;
> if (!r->handler || strcmp(r->handler, "readbody-handler")) return 
> (DECLINED);
> if (util_read(r, &buffer) == OK) //reading the body and assigning it into 
> buffer
> {
> char s[2] = ":";
> char s2[2] = "\"";
> char *indexname;
> indexname = strtok(buffer, s);
> indexname = strtok(NULL, s);
> indexname = strtok(indexname, s2);
> indexname = strtok(NULL, s2);
> apr_table_setn(r->headers_out, "IndexPattern", indexname); //setting 
> up response header
> }
> return OK;
> }
> static int util_read(request_rec *r, const char **rbuf)
> {
> int rc;
> if ((rc = ap_setup_client_block(r, REQUEST_CHUNKED_ERROR)) != OK)
> {
> return rc;
> }
> if (ap_should_client_block(r))
> {
> char argsbuffer[HUGE_STRING_LEN];
> int rsize, len_read, rpos = 0;
> long length = r->remaining;
> *rbuf = apr_pcalloc(r->pool, length + 1);
> while ((len_read = ap_get_client_block(r, argsbuffer, 
> sizeof(argsbuffer))) > 0)
> {
> if ((rpos + len_read) > length)
> {
> rsize = length - rpos;
> }
> else
> {
> rsize = len_read;
> }
> memcpy((char*) *rbuf + rpos, argsbuffer, rsize);
> rpos += rsize;
> }
> }
> }
> return rc;{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@community.apache.org
For additional commands, e-mail: dev-h...@community.apache.org



Re: [ALC] ALC presentation for events

2020-05-09 Thread Jarek Potiuk
Happy to help with that as well! I think that's a great idea. If  we can
come up with a list of values that will be a bit long for a few minutes, at
each meetup we could focus on one selected value from those ? This way we
will not repeat ourselves too often, and then we can also "refresh" each
value - after couple of months each value could take into account some
fresh examples and some "external" factors (like COVID-19).


J

On Sat, May 9, 2020 at 11:57 AM Sharan Foga  wrote:

> Hi Tomek
>
> This is a great idea!  Having the same presentation will be a good way to
> ensure that we keep the message consistent.
>
> Have you heard about the Apache Training project? It is currently in
> incubation and although it mentions putting together training material for
> Apache project http://training.apache.org/  Essentially the material is
> in the form of presentations and we might already have some of material in
> place for the general intro.
>
> You could start working on it in Google slides and my suggestion would be
> that we actually convert the presentation material to be stored the
> material as part of Apache Training. That means that we could have a
> central place for people to find this and any other presentations we create.
>
> I think we could setup the Comdev section to incorporate the different
> language versions so will ask the question on the Training mailing list.
>
> Thanks
> Sharan
>
>
> On 2020/05/09 07:07:02, Tomasz Urbaszek  wrote:
> > Hi all,
> >
> > As ALC Warsaw, we are planning the next event (meetup) in June. During
> > our discussion, we came up with an idea to create presentation that
> > will be shown at the beginning of each of our events. As such it
> > should not take more than 10 minutes. The main purpose of this
> > presentation would be to remind ASF values and the ALC idea
> > (especially for newcomers).
> >
> > Moreover, we thought that it would be nice to make this presentation
> > to be consistent between all ALC. What do you think about this idea? I
> > am happy to start working on it (will Google slides do?).
> >
> > Best wishes,
> > Tomek Urbaszek
> > ALC Warsaw
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@community.apache.org
> > For additional commands, e-mail: dev-h...@community.apache.org
> >
> >
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@community.apache.org
> For additional commands, e-mail: dev-h...@community.apache.org
>
>

-- 
+48 660 796 129


Re: [ALC] ALC presentation for events

2020-05-09 Thread Tomasz Urbaszek
Thanks Jarek for the idea, I really like it! That's something we are
using in our company and it's really nice.

T.

On Sat, May 9, 2020 at 3:48 PM Jarek Potiuk  wrote:
>
> Happy to help with that as well! I think that's a great idea. If  we can
> come up with a list of values that will be a bit long for a few minutes, at
> each meetup we could focus on one selected value from those ? This way we
> will not repeat ourselves too often, and then we can also "refresh" each
> value - after couple of months each value could take into account some
> fresh examples and some "external" factors (like COVID-19).
>
>
> J
>
> On Sat, May 9, 2020 at 11:57 AM Sharan Foga  wrote:
>
> > Hi Tomek
> >
> > This is a great idea!  Having the same presentation will be a good way to
> > ensure that we keep the message consistent.
> >
> > Have you heard about the Apache Training project? It is currently in
> > incubation and although it mentions putting together training material for
> > Apache project http://training.apache.org/  Essentially the material is
> > in the form of presentations and we might already have some of material in
> > place for the general intro.
> >
> > You could start working on it in Google slides and my suggestion would be
> > that we actually convert the presentation material to be stored the
> > material as part of Apache Training. That means that we could have a
> > central place for people to find this and any other presentations we create.
> >
> > I think we could setup the Comdev section to incorporate the different
> > language versions so will ask the question on the Training mailing list.
> >
> > Thanks
> > Sharan
> >
> >
> > On 2020/05/09 07:07:02, Tomasz Urbaszek  wrote:
> > > Hi all,
> > >
> > > As ALC Warsaw, we are planning the next event (meetup) in June. During
> > > our discussion, we came up with an idea to create presentation that
> > > will be shown at the beginning of each of our events. As such it
> > > should not take more than 10 minutes. The main purpose of this
> > > presentation would be to remind ASF values and the ALC idea
> > > (especially for newcomers).
> > >
> > > Moreover, we thought that it would be nice to make this presentation
> > > to be consistent between all ALC. What do you think about this idea? I
> > > am happy to start working on it (will Google slides do?).
> > >
> > > Best wishes,
> > > Tomek Urbaszek
> > > ALC Warsaw
> > >
> > > -
> > > To unsubscribe, e-mail: dev-unsubscr...@community.apache.org
> > > For additional commands, e-mail: dev-h...@community.apache.org
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@community.apache.org
> > For additional commands, e-mail: dev-h...@community.apache.org
> >
> >
>
> --
> +48 660 796 129



-- 

Tomasz Urbaszek
Polidea | Software Engineer

M: +48 505 628 493
E: tomasz.urbas...@polidea.com

Unique Tech
Check out our projects!

-
To unsubscribe, e-mail: dev-unsubscr...@community.apache.org
For additional commands, e-mail: dev-h...@community.apache.org



Re: [ALC Beijing][Podcast] Episode 2-An incubator journey of Apache ShardingSphere community

2020-05-09 Thread 适兕
Hi,
I find Tencent meeting can not record audio that is our main task. so I
tried my another Zoom account.  it's free account , so we just can talking
40 min every time. If we need more ,must be re-login the room. below  is
join info.



主题:[ALC Beijing][Podcast] Episode 2-An incubator journey of Apache
ShardingSphere community
时间:2020年5月10日 09:00 下午 北京,上海

加入 Zoom 会议
https://zoom.com.cn/j/72954057181?pwd=MCthT0JaNnI4dk1pNXZSaytkSHhSQT09

会议 ID:729 5405 7181
密码:012487

 If any problem, Please let me know. Thanks. Regards

On Sat, May 9, 2020 at 10:44 AM Sheng Wu  wrote:

> Thanks, I will be there on the meeting. Look forward to see more people
> there.
>
> Sheng.
>
> Juan Pan 于2020年5月9日 周六上午10:40写道:
>
> > Hi Sheng,
> >
> >
> > At present, five committers have expressed their desire
> > to participate on the dev thread of Apache ShardingSphere.
> > Although five committers are enough,
> > welcome if you would like, our important member! :)
> >
> >
> >  Juan Pan (Trista)
> >
> > Senior DBA & PPMC of Apache ShardingSphere(Incubating)
> > E-mail: panj...@apache.org
> >
> >
> >
> >
> > On 05/8/2020 20:51,Sheng Wu wrote:
> > Hi Juan
> >
> > I will be there, but, if any new committer wants to be a guest, I prefer
> he
> > could replace me :)
> > The new committer ASF experience should be more interesting, mine is more
> > about the incubator process and watching a successful community from a
> > prototype author.
> >
> > How about sending this invitation to the dev mail list?
> >
> > Sheng Wu 吴晟
> > Twitter, wusheng1108
> >
> >
> > Juan Pan  于2020年5月8日周五 下午2:56写道:
> >
> > Hi everyone,
> >
> >
> >
> >
> > As an interesting part of ALC Beijing activities,
> >
> > we invite Apache ShardingSphere community to be the honored guest to
> share
> > their incubator story
> >
> > in our Podcast episode 2.
> >
> >
> >
> >
> > Here is a brief introduction,
> >
> >
> >
> >
> > Activity: Podcast episode 2
> >
> > Honored guests: Liang Zhang (John), Jinwei Qin(Kimming), Juan
> Pan(Trista),
> > Sheng wu
> >
> > Hosts: Willem Jiang, Jiansheng Li
> >
> > Scheduled time: May 10th (GMT+8)
> >
> > Zoom room: Pending
> >
> > Language: Chinese
> >
> >
> >
> >
> > @Jiansheng, could you give more updates later?
> >
> >
> >
> >
> > BTW, our first Podcast concerning Apache Skywalking is now live,
> >
> > and the following link will redirect you to the show.
> >
> > https://www.bilibili.com/audio/au1533358?type=3
> >
> >
> >
> >
> > Last but not least, if you'd like to take part in this kind of activity,
> >
> > please hand up with an email in ml or an issue at
> > https://github.com/alc-beijing.
> >
> >
> >
> >
> > Best wishes,
> >
> > Trista
> >
> >
> >
> >
> > Juan Pan (Trista)
> >
> > Senior DBA & PPMC of Apache ShardingSphere(Incubating)
> > E-mail: panj...@apache.org
> >
> >
> >
> >
> > --
> Sheng Wu 吴晟
>
> Apache SkyWalking
> Apache Incubator
> Apache ShardingSphere, ECharts, DolphinScheduler podlings
> Zipkin
> Twitter, wusheng1108
>


-- 
Welcome to http://opensourceway.community! The open source way:  Dedicated
to the exploration of ideas, knowledge and values related to open source.