Re: Tserializer and TJSONProtocol

2023-05-11 Thread Jens Geyer
etween sender and receiver before starting the communication. I'd like to know the other weaknesses that you see in this solution? Thanks again for your valuable feedbacks Best Regards -Fabio Il giorno mer 10 mag 2023 alle ore 19:07 Jens Geyer ha scritto: Hi Fabio, ok, thanks for the details. Th

Re: Tserializer and TJSONProtocol

2023-05-10 Thread Jens Geyer
o leverage on TJSONProtocol to convert the structured data in JSON string. But I have some doubts that this solution is portable across the different programming languages. I have scenario where sender and receiver use different programming languages Best Regards Il giorno mar 9 mag 2023 alle ore

Re: Tserializer and TJSONProtocol

2023-05-09 Thread Jens Geyer
Hi Fabio, > Is it correct to assume that the JSON string resulting from conversion > is always the same (assuming to have the same input data) across > different programming languages? in theory ... probably, depends. I can think of cases where the resulting data might be different, including

Re: Query on cipher setting on thrift sockets TSSLSocketFactory

2023-03-18 Thread Jens Geyer
Hi, aside from the fact that 0.14.0 is not really a recent release, you should be generally fine. Nevertheless, since Thrift supports something around 20+ target languages and dialects, could you also indicate what programming language we are talking about? From what you wrote my guess

Re: thrift for compiler bug feedback

2022-11-21 Thread Jens Geyer
Hi "itben", > github project is prohibited from submitting the issue. It's not. > You can only be contacted directly in such a bold way We have JIRA. We have Github. We have mailing lists. We even answer questions on SO. And we have a neat web site where nearly every options is listed. So

Re: Generics in Thrift

2022-03-19 Thread Jens Geyer
Hi, first I would like to move this topic to the dev list, it seems more appropriate. Extending the grammar and also the relevant data structures is certainly doable, I have little doubt about this point. However, experience shows that extending a grammar is usually only the first and

Re: Status of PyPI release of thrift for Python

2021-09-23 Thread Jens Geyer
s, Vasilij -Original Message----- From: Jens Geyer Sent: Thursday, September 23, 2021 3:01 PM To: user@thrift.apache.org; jk...@apache.org; je...@apache.org Cc: Zamyatin, Igor ; Melik-Adamyan, Areg ; pearu.peter...@gmail.com Subject: Re: Status of PyPI release of thrift for Python Technicall

Re: Status of PyPI release of thrift for Python

2021-09-23 Thread Jens Geyer
Technically possible, but ... Sent from mobile device. You know what that means... From: Litvinov, Vasilij N Sent: Thursday, September 23, 2021 10:52:23 AM To: user@thrift.apache.org ; jk...@apache.org ; je...@apache.org Cc: Zamyatin, Igor ; Melik-Adamyan, Areg

Re: Not able to compile thrift-0.9.2.

2021-07-08 Thread Jens Geyer
Hi, please consider a more recent version of Thrift. Seriously. Have fun, JensG -Ursprüngliche Nachricht- From: Kautuk Consul Sent: Thursday, July 8, 2021 2:56 AM To: user@thrift.apache.org Subject: Re: Not able to compile thrift-0.9.2. Hi All, I am trying to compile

Re: Assigning MAX_MESSAGE_SIZE

2021-06-15 Thread Jens Geyer
That's the idea behind TConfiguration -Ursprüngliche Nachricht- From: Lisa Singh Sent: Tuesday, June 15, 2021 7:18 PM To: user@thrift.apache.org Subject: Assigning MAX_MESSAGE_SIZE Hello, Is there a convenient way to dynamically assign a value to MAX_MESSAGE_SIZE without having

Re: Support parameter validation in IDL

2021-05-31 Thread Jens Geyer
Sure, do it and send the PR. Hope to get your reply as soon as possible! Thanks! From: 段Aster Sent: Monday, May 31, 2021 12:01 PM To: user@thrift.apache.org Subject: Support parameter validation in IDL I notice that Thrift IDL has no user-defined parameter validating mechanism at present,

Re: Using netstd client to call Java server

2021-04-09 Thread Jens Geyer
eginAsync(new TMessage("getTotalBytesSent", TMessageType.Call, SeqId), cancellationToken); ... I'll see if I can figure this out and send you a PR fixing this sometime next week. Thanks. John -Original Message- From: Jens Geyer Sent: Friday, April 9, 2021 12:34 AM To: u

Re: Using netstd client to call Java server

2021-04-09 Thread Jens Geyer
Hi, great question! For example, if I define a method call "foo" in my service definition in the .thrift file, it creates a method "fooAsync" in the netstd client and "foo" on the Java service. The Async postfix is actually a (compatibility) leftover from the csharp version of the library

Re: Few files are not generated with thrift 0.14.0 compiler compared to 0.13.0

2021-02-26 Thread Jens Geyer
Hi, Does the code compile and work? If the code works as expected: What do you need these files for? If it does not not work: Could you tell what is broken? We would like to know if there is any update in thrift0.14.0 complier related to generation of missing files (constants.cpp and

Re: [SECURITY] CVE-2020-13949 Announcement

2021-02-24 Thread Jens Geyer
... Best regards, Yuta Kawadai On 2021/02/11 22:43:29, "Jens Geyer" wrote: CVE-2020-13949: potential DoS when processing untrusted Thrift payloads Severity: Important Vendor: The Apache Software Foundation Versions Affected: Apache Thrift up to and including 0.13.0 Description: Ap

Re: Apache Thrift 0.14.0 Release not on Maven central

2021-02-17 Thread Jens Geyer
https://issues.sonatype.org/browse/MVNCENTRAL-6551 Anybody who wants it faster is invited to give maven central a friendly reminder And while you're at it, you may kick https://github.com/pypa/pypi-support/issues/667 as well, that one is just embarrassing. Thanks for patience, JensG

Re: Extending the SimpleJSONProtocol for reading

2021-02-13 Thread Jens Geyer
feedback. Have fun, JensG -Ursprüngliche Nachricht- From: Jens Geyer Sent: Tuesday, February 9, 2021 3:11 PM To: user@thrift.apache.org Subject: Re: Extending the SimpleJSONProtocol for reading Hi, I think there’s a far bigger use case than simply debugging for this Sure. That's why I

[SECURITY] CVE-2020-13949 Announcement

2021-02-11 Thread Jens Geyer
of the Apache Thrift PMC, Jens Geyer

Apache Thrift 0.14.0 Release

2021-02-11 Thread Jens Geyer
Hi folks, Apache Thrift 0.14.0 has been released. Some of the mirror sites are still being updated, that may take some hours to complete. Meanwhile, in the unlikely case that you can't find any working mirror, you can download source tarballs and a statically linked windows thrift executable

Re: Extending the SimpleJSONProtocol for reading

2021-02-09 Thread Jens Geyer
ite alien to be, how do I do a full text search of it? Rollo On 8 Feb 2021, at 11:39, Jens Geyer wrote:  I might add that there is JSON protocol and SimpleJSON protocol. While the forner is intended to works as a fully fledged protocol, the latter is not. AFAIK the idea was to have a write-

Re: Extending the SimpleJSONProtocol for reading

2021-02-08 Thread Jens Geyer
, maybe logging or whatever else comes to mind, but they may also come with conflicting requirements - parsing human readable stuff is usually way more complex than reading 8 bytes from a byte array that form a double. Have fun, JensG -Ursprüngliche Nachricht- From: Jens Geyer Sent

Re: Extending the SimpleJSONProtocol for reading

2021-02-08 Thread Jens Geyer
Yes, there have been numerous attempts. You may be able to find via mailing list search. Sent from mobile device. You know what that means... From: Rollo Konig-Brock Sent: Monday, February 8, 2021 11:04:35 AM To: user@thrift.apache.org Subject: Extending the

Re: Companies making use of Apache Thrift

2021-01-25 Thread Jens Geyer
https://thrift.apache.org/about -Ursprüngliche Nachricht- From: Juan Cruz Viotti Sent: Monday, January 25, 2021 9:23 PM To: user@thrift.apache.org Subject: Companies making use of Apache Thrift Hey there! Do you know where can I find a list of relatively well-known companies that

Re: ServerHello is sent with a delay from thrift

2020-12-29 Thread Jens Geyer
Could you file a JIRA ticket including the test case? Sounds like someone should have a look at it. Sent from mobile device. You know what that means... From: Hari Venkata Ramana Addepalli Sent: Tuesday, December 29, 2020 11:56:51 AM To: user@thrift.apache.org

Re: how to check if there is a thrift service behind a certain port?

2020-05-16 Thread Jens Geyer
Hi, opening a communication channel is like picking up the phone and calling someone. If the number is valid, someone may anwer the call from the other end. Now, to find out if the other end understands english, you are supposed to say at least "hello". While in the real world the remote

Re: string max size

2020-05-06 Thread Jens Geyer
is there a maximum size for a Thrift base type string? Technically: No. In terms of what makes sense: It depends. Sending 1 GB text in one string may turn out to be a bad idea. May I ask what the reason for the question is? Have fun, JensG -Ursprüngliche Nachricht- From: Gianni

Re: Linux DBus Transport?

2020-05-06 Thread Jens Geyer
Hi Rick, no flames, that's a perfectly legit question. And a great one, I might add. There's actually a number of options, in ascending complexity, each one comes with its own advantages/disadvantages. (1) Use Thrift only for serialization. Write all the data into a memory buffer or memory

[DISCUSS] AS3 anyone?

2020-04-28 Thread Jens Geyer
Hi all, we had have long time no commits or contributions for the AS3 support in Thrift. Therefore, I’d like to ask the question what the community thinks about this particular piece of the code base. a) Is anyone out there who is still using Action Script? b) What would be the consensus if I

Thrift needs you: Looking for language maintainers

2020-04-26 Thread Jens Geyer
Hi all, as you all know Thrift has a fairly decent set of supported languages and language flavours. What the project needs at this stage might be YOU. You are an Haskell expert or love C-glib? You are working for eternities with JavaScript, NodeJS, TypeScript, Ruby or Java and know the ropes?

Re: const method

2020-02-10 Thread Jens Geyer
Hi, first, your example shows a method whoe name starts with "get". That does not imply that this is a getter, it's just a method like any other method. There is no option in the IDL syntax, since it is language agnostic. Available options special to c++ are these cpp (C++): cob_style:

Welcome Duru Can Celasun To Apache Thrift PMC

2019-11-11 Thread Jens Geyer
I'm happy to announce Duru Can Celasun as the latest addition to the Apache Thrift Project Management Committee (PMC). He has been an important committer to the project and active member of the community helping advance Apache Thrift. Congratulations, and thank you for your hard work JensG

Subject: [SECURITY] CVE-2019-0205 Announcement

2019-10-16 Thread Jens Geyer
PMC, Jens Geyer

Apache Thrift 0.13.0 Release

2019-10-16 Thread Jens Geyer
Hi folks, Apache Thrift 0.13.0 has been released. Some of the mirror sites are still being updated, that may take some hours to complete. Meanwhile, in the unlikely case that you can't find any working mirror, you can download source tarballs and a statically linked windows thrift

I love using Apache Thrift and want to contribute to this project. How do I do that?

2019-09-09 Thread Jens Geyer
All Active and potential Thrift contributors, I just received an email asking me certain things via personal inbox and thought it may be a good opportunity to spread the word by answering on the usual channels, i.e. the mailing list. I redacted the name of the sender to protect privacy. > I

Re: Adding a new language to Thrift

2019-08-29 Thread Jens Geyer
Let's switch to dev-list. That is OT here. -Ursprüngliche Nachricht- From: Roberts, Geoffry [USA] Sent: Thursday, August 29, 2019 9:06 PM To: user@thrift.apache.org Subject: Adding a new language to Thrift All, I am trying to add the Julia language to Thrift. The basics were done by

Re: What kind of relation should a server have with its handlers?

2019-08-27 Thread Jens Geyer
delegating responsibilities to all the handlers or should each service have a server of its own? In that case, do I assign each server different ports or ips in the local network to communicate through? Regards, Dedipyaman On Mon, Aug 26, 2019, 11:20 PM Jens Geyer wrote: > Hi, > > altho

Re: Can I use a Nonblocking server in one language (Go) and have handlers written in another (Java)

2019-08-26 Thread Jens Geyer
Hi, although you can combine languages in general, this is restricted to what the underlying platform allowes and has absolutely nothing to do with Thrift. For example, I could link a library that is written in C into some other language, or combine a C# Thrift assembly with another NET

Haskell issues: Failed to load interface for `Network'

2019-04-13 Thread Jens Geyer
Hi *, there is a reproducible problem with building the Haskell libs. To my best knowledge (which is not very much regarding Haskell) the dependecy in the cabal file has been set correctly to the network package, according to

Re: how to get IP and port from ServiceIf call?

2019-04-03 Thread Jens Geyer
t()" implementation to know which is the IP of the client that sent real time data to the thrift server implementation? Best regards, Gianni On 01/04/2019 22:44, Jens Geyer wrote: > Hi Gianni, > > getOrigin() could be what you are looking for: > > https://github.com/apache/thrift/b

Re: how to get IP and port from ServiceIf call?

2019-04-01 Thread Jens Geyer
Hi Gianni, getOrigin() could be what you are looking for: https://github.com/apache/thrift/blob/042580f53441efe1bc5c80c89351fcb30740659e/lib/cpp/src/thrift/transport/TSocket.cpp#L952 Have fun, JensG -Ursprüngliche Nachricht- From: Gianni Ambrosio Sent: Monday, April 1, 2019 3:24 PM

Re: Thrift Python vs C# Bi-Directional difference

2019-03-21 Thread Jens Geyer
I noticed that as well and made a comment in my post about this. I have no idea what that could be. As I ses it, one would need to crawl through at least the last one or two messages before the one where it went bust. Its probably impossible to tell just from this snippet. Have fun, JensG

Re: Python client vs C# client json/binary different.. a lot of extra comma!! (confused)

2019-03-12 Thread Jens Geyer
rse it and see what I can understand. On Tue, Mar 12, 2019 at 9:35 AM Jens Geyer wrote: > Ok, I decoded the first part for you: > Thanks! > > > Python New > > \x80\x01\x00\x01 > Thrift message header > > > \x00\x00\x00\x04 > string length = 4 > > >

Re: Python client vs C# client json/binary different.. a lot of extra comma!! (confused)

2019-03-11 Thread Jens Geyer
Ok, I decoded the first part for you: > Python New > \x80\x01\x00\x01 Thrift message header > \x00\x00\x00\x04 string length = 4 > auth the string data = message name > \x00\x00\x00\x00 msg sequence nr > \x08 field type = 8 = i32 > \x00\x01 field ID = 1 > \x00\x00\x9cB i32 value =

Re: Python client vs C# client json/binary different.. a lot of extra comma!! (confused)

2019-03-11 Thread Jens Geyer
-Ursprüngliche Nachricht- From: C Bergström Sent: Tuesday, March 12, 2019 1:30 AM To: user@thrift.apache.org Subject: Re: Python client vs C# client json/binary different.. a lot of extra comma!! (confused) On Tue, Mar 12, 2019 at 7:58 AM Jens Geyer wrote: > > ok so maybe I should be a

Re: Python client vs C# client json/binary different.. a lot of extra comma!! (confused)

2019-03-11 Thread Jens Geyer
be generated. On Tue, Mar 12, 2019 at 7:22 AM C Bergström wrote: > > > On Tue, Mar 12, 2019 at 7:20 AM Jens Geyer wrote: > >> Ah, that one: >> >> > [1"auth"10 >> > > I know!, but I swapped the binary protocol emitter for json emitter in the > C# clie

Re: Python client vs C# client json/binary different.. a lot of extra comma!! (confused)

2019-03-11 Thread Jens Geyer
- For example [1,"auth",1,0, vs [1"auth"10 "5":{"map":["str","str",0,{} vs "5":{"map":["str""str"0{} The ones missing the comma works and it doesn't make any sense to me On Tue, Mar 12,

Re: Python client vs C# client json/binary different.. a lot of extra comma!! (confused)

2019-03-11 Thread Jens Geyer
Ah, that one: > [1"auth"10 That is not valid JSON. http://json.org -Ursprüngliche Nachricht- From: Jens Geyer Sent: Tuesday, March 12, 2019 12:18 AM To: user@thrift.apache.org Subject: Re: Python client vs C# client json/binary different.. a lot of extra comma!! (co

Re: Python client vs C# client json/binary different.. a lot of extra comma!! (confused)

2019-03-11 Thread Jens Geyer
not sure I see the bug On Tue, Mar 12, 2019 at 6:51 AM Jens Geyer wrote: > FWIW, the JSON structure totally makes sense: > > [ > 1, > "auth", > 1, > 0, > { > "1": { > "rec": { > "1": { >

Re: Python client vs C# client json/binary different.. a lot of extra comma!! (confused)

2019-03-11 Thread Jens Geyer
FWIW, the JSON structure totally makes sense: [ 1, "auth", 1, 0, { "1": { "rec": { "1": { "i32": 40002 }, "2": { "i64": 59311498 }, "3": { "str": "MkEyMDcyOTQzQkE5NERBMTAyOUQwNURGRUI1Rjc3ODM" },

Re: Thrift 0.12.0 Release

2019-01-03 Thread Jens Geyer
Hi, the image is labeled "official" but it is by no means. No idea what you get when you use it. The docker image we support is another one. The "official" label at dockerhub is basically BS and one can safely ignore that. There is no validation whatsoever. That "ahawkins" guy has not been

Re: backward compatibility

2018-10-02 Thread Jens Geyer
Hi Gianni, the wire formats change very seldom, and that's what counts here. Connecting a 0.9.x with a 0.11 should not be a problem, IIRC. If we know more about how the protocol/transport stack looks like and the languages involved, we could give more specific advice. Have fun, JensG

Re: Thrift vs. Protocol Buffers

2018-02-22 Thread Jens Geyer
That whole topic has been discussed on SO already. TL;DR: - Thrift has 20+ languages out of the box, and RPC out of the box. It is flexible and highly agnostic when it comes to transports or protocols. - protobuf supports that as well, but is more cumbersome to set up, because everything

Re: Next release with Rust?

2018-02-01 Thread Jens Geyer
Hi Juhamatti, have you tried this with 0.11.0? thrift --gen rs Have fun, JensG -Ursprüngliche Nachricht- From: juham...@gmail.com Sent: Thursday, February 1, 2018 12:18 PM To: user@thrift.apache.org Subject: Next release with Rust? Hello, I am eagerly waiting for next stable

Re: 0.9 client with 0.11 servers

2018-01-21 Thread Jens Geyer
I theory not. The protocols didn't change. Implementation may have changed, but none of the changes should affect interoperatibility. Bottom line: Give it a try. If you really run into issues, you can post again, but I doubt that it will be necessary. Have fun, JensG -Ursprüngliche

AW: Turning off Context parameter generation in Go for 0.11.0

2018-01-12 Thread Jens Geyer
That could work.what about adding the switch and providing a PR? Either way, please file a JIRA ticket. Someone will take care, sooner or later. Sent from mobile device, please ignore spelling mistakes. Von: Renan DelValle Gesendet: 11.01.2018 20:04 An:

AW: Crazy TBinaryProtocol

2018-01-12 Thread Jens Geyer
Agree with Ben. Could you give an idea what server you are using? Some of them imply framed. Sent from mobile device, please ignore spelling mistakes. Von: Ben Craig Gesendet: 11.01.2018 18:20 An: user@thrift.apache.org Betreff: Re: Crazy TBinaryProtocol This

Re: Thrift with RabbitMQ

2017-12-12 Thread Jens Geyer
It may be worth noting that the contrib folder has some hidden gems too. -Ursprüngliche Nachricht- From: Randy Abernethy Sent: Monday, December 11, 2017 3:15 PM To: user@thrift.apache.org Subject: Re: Thrift with RabbitMQ Sure thing. On Mon, Dec 11, 2017 at 6:07 AM, André Lemos

AW: Need example code for thrift multi-thread server in C

2017-11-22 Thread Jens Geyer
Hi, does the /test suite offer this maybe? Have fun, JensG Sent from mobile device, please ignore spelling mistakes. Von: Steve Yau Gesendet: 22.11.2017 09:55 An: user@thrift.apache.org Betreff: Need example code for thrift multi-thread server in C Hi, Could

Re: small issue and fix with realloc in TCompactProtocol.tcc

2017-11-12 Thread Jens Geyer
Hi Mario, can we have at least a JIRA ticket for it? Thank you! Have fun, JensG -Ursprüngliche Nachricht- From: Mario Emmenlauer Sent: Friday, November 10, 2017 11:50 AM To: user@thrift.apache.org Subject: small issue and fix with realloc in TCompactProtocol.tcc Hi, I've build

AW: thrift didn't throw exception when I use a port that is already used by another process

2017-11-08 Thread Jens Geyer
Hi, same quwdtion as in SO: What language? Sent from mobile device, please ignore spelling mistakes. Von: Jeff Zhang Gesendet: 08.11.2017 09:32 An: user@thrift.apache.org Betreff: thrift didn't throw exception when I use a port that is already used by another

Re: Java Integer and Thrift i32, when null value is required by the business logic, how to solve this?

2017-11-04 Thread Jens Geyer
Welcome! > I have a same problem as this one on Stackoverflow And what is wrong with the answer given there? Have fun, JensG -Ursprüngliche Nachricht- From: li...@fcyun.com Sent: Friday, November 3, 2017 5:14 PM To: user Subject: Java Integer and Thrift i32, when null value is

Re: Extra boolean set fields in java generated file using thrift

2017-10-18 Thread Jens Geyer
https://stackoverflow.com/q/46804847/499466 -Ursprüngliche Nachricht- From: Randy Abernethy Sent: Wednesday, October 18, 2017 9:18 PM To: user@thrift.apache.org Subject: Re: Extra boolean set fields in java generated file using thrift Hello, Maybe you are looking for "required"?

AW: Help with generating Python 3 code

2017-10-04 Thread Jens Geyer
And what are your conclusions? Sent from mobile device, please ignore spelling mistakes. Von: Amit Saha Gesendet: 04.10.2017 08:58 An: user@thrift.apache.org Betreff: Re: Help with generating Python 3 code On Wed, Oct 4, 2017 at 5:56 PM Jens Geyer <jen

AW: Help with generating Python 3 code

2017-10-04 Thread Jens Geyer
There is no such option, really. Try thrift --help Sent from mobile device, please ignore spelling mistakes. Von: Amit Saha Gesendet: 04.10.2017 08:46 An: user@thrift.apache.org Betreff: Re: Help with generating Python 3 code On Wed, Oct 4, 2017 at 5:32 PM

Re: Human-readable wire-format for Thrift?

2017-10-03 Thread Jens Geyer
d partisan of Thrift, and think that GRPC is a massive mistake. This doesn't mean that I'm blind to the good ideas that Google came up with. On Mon, Oct 2, 2017 at 2:40 PM, Jens Geyer <jensge...@hotmail.com> wrote: > > Have you ever thought of using the wrong tool for the job? &

Re: Human-readable wire-format for Thrift?

2017-10-02 Thread Jens Geyer
Have you ever thought of using the wrong tool for the job? -Ursprüngliche Nachricht- From: Chet Murthy Sent: Monday, October 2, 2017 9:54 PM To: user@thrift.apache.org Subject: Re: Human-readable wire-format for Thrift? Randy, There is a different way that one could allow for Thrift

Re: Human-readable wire-format for Thrift?

2017-09-28 Thread Jens Geyer
Hi Chet, well, Thrift is primarily about efficiency, not human readability. If machines and programs talk to each other, nobody really needs human readable messages, because there are no humans involved, except maybe for debugging (but that's not a real production use case). If one asked you

Re: unbelievable

2017-09-10 Thread Jens Geyer
> guys released 0.10 a while ago but nobody can move to it until this > System.out.format line is removed. We can’t make building and installing > thrift from master an install step for our own projects. > > Thanks, > -Matt > > > On May 10, 2017, at 3:04 AM, Jens Geyer &l

Re: testing new patches

2017-06-29 Thread Jens Geyer
to be tested also on Mac and Linux? Thx, Moshe. On Tue, Jun 27, 2017 at 12:37 AM, Jens Geyer <jensge...@hotmail.com> wrote: > Hi Mos, > > currently there are some problems with some of the Travis pre-commmit > builds, but we're (in particular Eric) are about to resolve that. > >

Re: recommendation for transport layer to use for windows localhost rpc

2017-06-24 Thread Jens Geyer
I use named pipes a lot but that may be a personal preference. -Ursprüngliche Nachricht- From: Randy Abernethy Sent: Wednesday, June 21, 2017 10:14 AM To: user@thrift.apache.org Subject: Re: recommendation for transport layer to use for windows localhost rpc My experience, which may

Re: SASL and TFramedTransport

2017-05-20 Thread Jens Geyer
Hi, why do you think it should not? Have fun, JensG -Ursprüngliche Nachricht- From: Vlad Gudikov Sent: Tuesday, May 16, 2017 2:14 PM To: user@thrift.apache.org Subject: SASL and TFramedTransport Hi everyone, Can anyone please tell me if it's okay to use SASL with TFramedTransport?

AW: unbelievable

2017-05-10 Thread Jens Geyer
Since we're still below 1.0 the consensus is not to send out updates for released versions, instead it will become part of next release. You are free to apply the patches via git as interim solution. Sorry. JensG Sent from mobile device, please ignore spelling mistakes.

Re: High performance Microservices on Linux with Apache Thrift

2017-05-03 Thread Jens Geyer
Same here. Have lots of fun & send slides :-) Wish I could be there. JensG -Ursprüngliche Nachricht- From: Allen George Sent: Tuesday, May 2, 2017 2:53 PM To: d...@thrift.apache.org Cc: user@thrift.apache.org Subject: Re: High performance Microservices on Linux with Apache Thrift Hi

Re: configure script using string based version comparison

2017-03-06 Thread Jens Geyer
Hi, > Is this a known issue? I would open a Jira item but I don’t have > credentials etc. You can easily register with JIRA. https://issues.apache.org/jira/secure/Signup!default.jspa Have fun, JensG -Ursprüngliche Nachricht- From: Devin Avery Sent: Monday, March 6, 2017 3:40 PM

Re: Benchmarking Thrift

2017-02-05 Thread Jens Geyer
Hi, have you seen this? http://www.useopen.net/blog/2015/rpc-performance.html have fun, JensG -Ursprüngliche Nachricht- From: Tamás Szelei Sent: Sunday, February 5, 2017 10:52 AM To: user@thrift.apache.org Subject: Benchmarking Thrift Hello all, I'm creating a benchmark of RPC

Re: Compile issues with the Thrift compiler on Windows - in Cygwin

2017-01-09 Thread Jens Geyer
Hi Jeff, if you're building from trunk/master on Windows, I'd recommend to just forget about Cygwin. If you need a Thrift compiler for already released versions, there are prebuild EXE files available in the download section. The Visual Studio project for the Thrift Compiler builds just fine,

Re: TProtocolException: Expected version 1 but got 2

2016-10-12 Thread Jens Geyer
Hi Aki, That's interesting. Why can't we just support both flavours if there is such a good distinction between the two? Have fun, JensG -Ursprüngliche Nachricht- From: Aki Sukegawa Sent: Wednesday, October 12, 2016 7:51 PM To: thrift-user-help Subject: Re: TProtocolException:

Re: Concurrent multiplex server in thrift

2016-09-27 Thread Jens Geyer
st choice but not sure what kind of server ( somewhat like concurrent server) can go along with it. The code implementation is in c++. Thanks On 26 Sep 2016 01:33, "Jens Geyer" <jensge...@hotmail.com> wrote: > Hi Jhelum, > > I referred to that post: > http://stackoverflow.co

Re: Concurrent multiplex server in thrift

2016-09-22 Thread Jens Geyer
Hi ThriftUser, I already answered your question on SO. Best regards, Thrift Developer -Ursprüngliche Nachricht- From: thriftUser thriftUser Sent: Thursday, September 22, 2016 10:00 PM To: user@thrift.apache.org Subject: Concurrent multiplex server in thrift Hi, Is there a way to

AW: help with existing thrift idl

2016-06-01 Thread Jens Geyer
Hi, from a very quick glance I can't see anything wrong. However I would recommend to have a look at the tutorial code. It is also a small project that is known to work. Maybe that helps to locate the issue. Have fun, JensG Von: Colin Kincaid Williams Gesendet:

AW: Thrift for OpenResty

2016-04-26 Thread Jens Geyer
Hi, if you have an OpenResty Thrift transport implementation ready, you definitely should try and send a pull request. JensG Von: 洪亮 Gesendet: 26.04.2016 07:26 An: user@thrift.apache.org Betreff: Thrift for OpenResty Do you have any plan to make Thrift support

Re: Variables name change for irrelevant methods

2016-04-19 Thread Jens Geyer
Hi Wei Zheng, Anyone knows the rationale behind this? There is a built-in mechanism for temporarily variables. It basically relies on a special prefix plus an incremented counter. The numbers are incremented to generate variable names that do not produce collisions. I don't think this

Re: Auto generated API explorer

2016-03-25 Thread Jens Geyer
Hi Farid, did you try this already? $ thrift -gen html yourfile.thrift More options can be discovered using $ thrift -help Have fun, JensG -Ursprüngliche Nachricht- From: Farid Zakaria Sent: Friday, March 25, 2016 6:49 PM To: user@thrift.apache.org Subject: Auto

Re: Dart issue with $ in string constants

2016-03-21 Thread Jens Geyer
r $ in string interpolation static final String example = 'hello$'; ^ If i modify the string by hand to be a raw string (s/'hello$'/r'/hello$'/) the problem goes away. Thanks for helping, Horia On Sat, Mar 19, 2016 at 11:55 AM, Jens Geyer <jensge...@ho

Re: Dart issue with $ in string constants

2016-03-19 Thread Jens Geyer
Hello Horia, Does this look like a bug or just something wired I'm doing? Maybe, since nobody is perfect. But hard to say from the information given. It's always a good idea to describe the problem with some details added. In particular, a small reproducible test case would be great, e.g. a

Re: Reusing TProtocol after write error

2016-03-11 Thread Jens Geyer
Hi Tyler, I had the same issue with TJSONProtocol in Delphi (and it probably exists in C# too which I used as the model). Fortunately I was able to fix that problem with the context stack, see THRIFT-1473. Since then, I had no further problems of that kind with it. HTH, JensG

Re: Thrift IDL Definition Ordering

2016-03-05 Thread Jens Geyer
Hi Tyler, I think your are right, after looking at THRIFT-3705 yesterday. That should not be the case and is unexpected, so it's probably safe to call it a bug. If you think you can propose a patch, don't hesitate. Have fun, JensG -Ursprüngliche Nachricht- From: Tyler Treat Sent:

Re: TZLibTransport for CSharp?

2016-02-12 Thread Jens Geyer
Hi Jonas, patches and pull requests are welcome. Because the documentation states 'zlib transport not available for java' (in the meantime it seems to be available though) I had hopes that there is a C# implementation. That's the problem with logic. It sometimes hits you where you expect

Re: delphi thrift

2016-01-30 Thread Jens Geyer
.* *It is currently set to "/usr/lib/jvm/java-8-openjdk-amd64/jre"* i try many way to force it to JDK but it not obay my command echo $JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-amd64/ 2016-01-30 2:39 GMT+07:00 Jens Geyer <jensge...@hotmail.com>: Hi Dung Nguyen, there is none yet, unfortunatel

AW: Building 0.9.3 c++ lib under Windows with VS 2013

2016-01-02 Thread Jens Geyer
Afaik these issues have been addressed in trunk already. Nothing is deprecated here. Von: Joseph Fradley Gesendet: 01.01.2016 22:09 An: user@thrift.apache.org Betreff: Building 0.9.3 c++ lib under Windows with VS 2013 Hello, I noticed that the visual studio

Re: Thrift-deserialization performance issue with newer nodes

2015-11-17 Thread Jens Geyer
Hi Erik, something reproducible is always a good thing to have. Could you put together some isolated test case and file a JIRA ticket? That would be awesome. Have fun, JensG -Ursprüngliche Nachricht- From: Erik Karlsson Sent: Monday, November 16, 2015 10:10 AM To:

Re: Thrift custom types

2015-11-07 Thread Jens Geyer
Seems that Java does not even allow for extension methods. Too bad: http://stackoverflow.com/questions/4359979/java-equivalent-to-c-sharp-extension-methods -Ursprüngliche Nachricht- From: Jens Geyer Sent: Saturday, November 7, 2015 1:56 PM To: user@thrift.apache.org Subject: Re

AW: Support for Python3

2015-11-02 Thread Jens Geyer
Hi Jeff, not sure about the state of Py3 but could you just look if there is already a JIRA ticket for your specific problem? Otherwise please file one. Thanks! Von: Jeff Nelson Gesendet: 01.11.2015 23:24 An: user@thrift.apache.org Betreff: Support for Python3

AW: Dealing with out of sequence responses

2015-10-30 Thread Jens Geyer
The single most important thing that comes to my mind is this: What if the client is aware of this and *wants* both responses? If the framework automatically and implicitly drops older requests or refuses to deal with responses coming in a different order, how do you handle that? But if that

Re: make cross -- all tests fail?

2015-10-29 Thread Jens Geyer
That looks very much like https://issues.apache.org/jira/browse/THRIFT-3362 Seems to be a real problem. -Ursprüngliche Nachricht- From: Nicholas Caruso Sent: Thursday, October 29, 2015 1:35 PM To: user@thrift.apache.org Subject: make cross -- all tests fail? Hi, I've installed the

Re: Major feature suggestion/observation

2015-10-07 Thread Jens Geyer
Hi *, Please, FUP @ dev list. Thank you. I agree that the existing code generation code has some potential, in many ways. I even agree that it could be a good idea to rethink some of the concepts. But the question I raised a few hours earlier (on the dev list) was precisely targeted at what

AW: How to return more than one value in a Thrift service method?

2015-10-01 Thread Jens Geyer
Generics do not have anything to do with it. golang supports this on the lgg level and lacks generics big time. Btw, If you want generics, we accept patches. Von: Philip Polkovnikov Gesendet: 01.10.2015 14:26 An: user@thrift.apache.org Betreff: Re: How to return

Re: How to return more than one value in a Thrift service method?

2015-10-01 Thread Jens Geyer
eatures. The real question is if Gajanan H wants to fix the library that is certainly not ready for even basic usage. 2015-10-01 18:18 GMT+03:00 Jens Geyer <jensge...@hotmail.com>: Generics do not have anything to do with it. golang supports this on the lgg level and lacks generics big time.

Re: NPE during serialization

2015-09-23 Thread Jens Geyer
IMHO an NPE should not happen. That sounds strange to me. I'd recommend to file a JIRA ticket. -Ursprüngliche Nachricht- From: Björn Hachmann Sent: Tuesday, September 22, 2015 4:01 PM To: user@thrift.apache.org Subject: NPE during serialization Repeatedly in the past we ran into

Re: Thrift as an in-process server?

2015-09-14 Thread Jens Geyer
For a mobile or desktop app there is no particular benefit in running a socket-based server Sure. And on top of it, you are by no means bound to sockets. The modular protocol/transport stack makes it possible, that's one of the really nice things about Thrift. For example, a stream

  1   2   3   >