[jira] [Commented] (THRIFT-2221) Generate c++ code with std::shared_ptr instead of boost::shared_ptr.

2014-03-05 Thread Dima Korolev (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13922091#comment-13922091 ] Dima Korolev commented on THRIFT-2221: -- Hi, $0.02: I've put together a small piece

[jira] [Commented] (THRIFT-2256) Using c++11/c++0x std library replace boost library

2014-03-05 Thread Dima Korolev (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13922093#comment-13922093 ] Dima Korolev commented on THRIFT-2256: -- Hi, $0.02: I've put together a small piece

Re: File Upload through thrift

2014-03-05 Thread Rush Manbert
Ah, good to know. Thanks. On Mar 5, 2014, at 2:40 PM, Ben Craig wrote: > Don't use list. Large list performance is pretty bad, because > elements tend to be serialized one at a time. Use 'binary' or 'string' > instead. You also get significantly fewer copies this way. > > Rush Manbert wrot

Re: source doc to website

2014-03-05 Thread Randy Abernethy
Hey Jake, I think consolidating the tutorial and cross language tests would be great. Would eliminate a lot of redundancy. Makes the tutorial world a little more complex but gives us one place to point to for example code and the examples would be more robust. -Randy On Wed, Mar 5, 2014 at 4:15

Re: source doc to website

2014-03-05 Thread Jake Farrell
Hey Roger Excellent discussion thread to start, this is one key area we have struggled with for awhile. Thoughts on moving them all into /docs and naming them appropriately? I think this would be a better approach and make it easier to link and cross reference between the docs and would make it ea

[jira] [Commented] (THRIFT-2355) Add SSL and Web Socket Support to Node and JavaScript

2014-03-05 Thread Randy Abernethy (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13921679#comment-13921679 ] Randy Abernethy commented on THRIFT-2355: - Hi Henrique, Great question. I tried

[jira] [Updated] (THRIFT-2387) nodejs: external imports should be centralized in index.js

2014-03-05 Thread Pierre Lamot (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre Lamot updated THRIFT-2387: - Attachment: 0001-THRIFT-2387-nodejs-external-imports-should-be-centra.patch > nodejs: external i

[jira] [Created] (THRIFT-2387) nodejs: external imports should be centralized in index.js

2014-03-05 Thread Pierre Lamot (JIRA)
Pierre Lamot created THRIFT-2387: Summary: nodejs: external imports should be centralized in index.js Key: THRIFT-2387 URL: https://issues.apache.org/jira/browse/THRIFT-2387 Project: Thrift I

RE: [jira] [Closed] (THRIFT-2001) http://thrift.apache.org/ Example "C++ Server" tab is broken

2014-03-05 Thread Roger Meier
Just found the issue… LANG was not set within my environment and this results in LC_COLLATE="POSIX" which causes sorting issues. -roger From: Jake Farrell [mailto:jfarr...@apache.org] Sent: Mittwoch, 5. März 2014 16:14 To: Roger Meier Cc: dev@thrift.apache.org Subject: Re: [jira] [Closed]

Re: File Upload through thrift

2014-03-05 Thread Ben Craig
Don't use list. Large list performance is pretty bad, because elements tend to be serialized one at a time. Use 'binary' or 'string' instead. You also get significantly fewer copies this way. Rush Manbert wrote on 03/05/2014 04:31:47 PM: > From: Rush Manbert > To: dev@thrift.apache.org, >

Re: File Upload through thrift

2014-03-05 Thread Rush Manbert
Hi Sachith, I would define a thrift struct that has metadata about the file, followed by a member of type list that stores the file data. I would also define the metadata so it can support transmitting the file in chunks (data that says this is chunk m of n, for instance), where each chunk is s

Re: source doc to website

2014-03-05 Thread Randy Abernethy
I like the idea of README.md throughout. Would be nice to have a minimum requirement (as a target) for the content of the lib//READEME.md. On Wed, Mar 5, 2014 at 1:45 PM, Roger Meier wrote: > Hi Jake & co > > Do you have any trick to integrate some readme's located within the source > tree? > >

source doc to website

2014-03-05 Thread Roger Meier
Hi Jake & co Do you have any trick to integrate some readme's located within the source tree? Source file: Web Site URL: test/README.md thrift.apache.org/test test/STATUS.md thrift.apache.org/test/status test/key

Re: File Upload through thrift

2014-03-05 Thread Sachith Withana
Thanks Henrique and Jens, Ideally we'd like to support multiple Gigabytes of data. As you said, we will potentially end up having a server to do file uploading and downloading through URLs for Big files. But we'd like to support small file (~10MB) uploads using the Thrift interface at least for n

Re: File Upload through thrift

2014-03-05 Thread Jens Geyer
[...] faster to send a URL and download it separately, [...] Ack, I was about to write the same. -Ursprüngliche Nachricht- From: Henrique Mendonça Sent: Wednesday, March 5, 2014 10:24 PM To: dev@thrift.apache.org Subject: Re: File Upload through thrift Hi, You can do this, how big

Re: File Upload through thrift

2014-03-05 Thread Henrique Mendonça
Hi, You can do this, how big are your files? You might find that some implementations do have a size limit, not sure about Java, though. Anyway, is generally faster to send a URL and download it separately, if it fits you... On 5 March 2014 20:56, Sachith Withana wrote: > I'm planning on conver

[jira] [Commented] (THRIFT-2376) nodejs: allow Promise style calls for client and server

2014-03-05 Thread Pierre Lamot (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13921424#comment-13921424 ] Pierre Lamot commented on THRIFT-2376: -- Hi I think you're right about the require('

Re: actionscript client

2014-03-05 Thread Jake Farrell
Hi Dimat Thank you for your interest in contributing back to Apache Thrift. Details on submitting patches are available here [1]. The website source is available here [2] and tutorial code is pulled from our source repo /tutorials/* files. If you have any questions please let me know -Jake [1]:

actionscript client

2014-03-05 Thread Dimat Levchenko
hello, i am trying to use actionscript 3.0 thrift client with java server. on java part, i used tutorial example with TServerSocket as transport and TSimpleServer as server (i am newbee, so this information might be useless or incomplete...) on as3 part i found relevant TBinaryProtocol for protoc

Re: File Upload through thrift

2014-03-05 Thread Sachith Withana
I'm planning on converting the file into binary type and then do the transfer to the server. What are the possible drawbacks of using this? This feature is for Apache Airavata. We are dealing with multiple language clients and a main Java Server. We have to upload ( and download) large files too.

[jira] [Closed] (THRIFT-1683) Implement alternatives to Javascript Client side Transport protocol, just as NPAPI and WebSocket.

2014-03-05 Thread JIRA
[ https://issues.apache.org/jira/browse/THRIFT-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henrique Mendonça closed THRIFT-1683. - > Implement alternatives to Javascript Client side Transport protocol, just as > NPAPI and

[jira] [Resolved] (THRIFT-1683) Implement alternatives to Javascript Client side Transport protocol, just as NPAPI and WebSocket.

2014-03-05 Thread JIRA
[ https://issues.apache.org/jira/browse/THRIFT-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henrique Mendonça resolved THRIFT-1683. --- Resolution: Duplicate > Implement alternatives to Javascript Client side Transport p

[jira] [Commented] (THRIFT-2355) Add SSL and Web Socket Support to Node and JavaScript

2014-03-05 Thread JIRA
[ https://issues.apache.org/jira/browse/THRIFT-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13921232#comment-13921232 ] Henrique Mendonça commented on THRIFT-2355: --- That's awesome Randy, thanks again

[jira] [Commented] (THRIFT-2127) Autoconf scripting does not properly account for cross-compile

2014-03-05 Thread JF Gauvin (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13921212#comment-13921212 ] JF Gauvin commented on THRIFT-2127: --- Thanks for your comments. It's now compiling, but

[jira] [Updated] (THRIFT-2127) Autoconf scripting does not properly account for cross-compile

2014-03-05 Thread JF Gauvin (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JF Gauvin updated THRIFT-2127: -- Attachment: (was: 0001-cross-compile.patch) > Autoconf scripting does not properly account for cro

[jira] [Updated] (THRIFT-2127) Autoconf scripting does not properly account for cross-compile

2014-03-05 Thread JF Gauvin (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JF Gauvin updated THRIFT-2127: -- Attachment: 0001-cross-compile.patch 0001-cross-compile.patch > Autoconf scripting does not properly

[jira] [Issue Comment Deleted] (THRIFT-2127) Autoconf scripting does not properly account for cross-compile

2014-03-05 Thread JF Gauvin (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JF Gauvin updated THRIFT-2127: -- Comment: was deleted (was: 0001-cross-compile.patch) > Autoconf scripting does not properly account f

[jira] [Updated] (THRIFT-2127) Autoconf scripting does not properly account for cross-compile

2014-03-05 Thread JF Gauvin (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JF Gauvin updated THRIFT-2127: -- Attachment: (was: 0001-cross-compile.patch) > Autoconf scripting does not properly account for cro

[jira] [Issue Comment Deleted] (THRIFT-2127) Autoconf scripting does not properly account for cross-compile

2014-03-05 Thread JF Gauvin (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JF Gauvin updated THRIFT-2127: -- Comment: was deleted (was: Thanks for your comments. It's now compiling, but only when I'm not using

[jira] [Commented] (THRIFT-2127) Autoconf scripting does not properly account for cross-compile

2014-03-05 Thread JF Gauvin (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13921197#comment-13921197 ] JF Gauvin commented on THRIFT-2127: --- Thanks for your comments. It's now compiling, but

[jira] [Updated] (THRIFT-2127) Autoconf scripting does not properly account for cross-compile

2014-03-05 Thread JF Gauvin (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JF Gauvin updated THRIFT-2127: -- Attachment: 0001-cross-compile.patch > Autoconf scripting does not properly account for cross-compile

File Upload through thrift

2014-03-05 Thread Sachith Withana
Hi all, I need to transfer files between the Thrift clients and Servers. There can be large files to be transferred. Can someone please suggest a way of obtaining this? -- Thanks, Sachith Withana

Re: Thrift Protocol Compatibility with various Languages

2014-03-05 Thread Chamila Wijayarathna
Hi Roger, Thanks for replying. Can I assume all server-client-protocol-transport combinations I got by running test/test.sh[1] are completed or do I have to check those tests too? So for now, as I understood, we have following languages, protocols and transports. *Languages -* 1. C++ 2. Jav

Re: [jira] [Closed] (THRIFT-2001) http://thrift.apache.org/ Example "C++ Server" tab is broken

2014-03-05 Thread Jake Farrell
Unsure why its doing that for you, the lib/html_sitemap grabs all children and sorts them by the downcase of the name, so what you are showing below is incorrect as its placing about after downloads. I'm on OS X and running the calls through bundler, bundle install && bundle exec rake gen. Added ra

RE: [jira] [Closed] (THRIFT-2001) http://thrift.apache.org/ Example "C++ Server" tab is broken

2014-03-05 Thread Roger Meier
There is just one diff left when I regenerate: $ svn diff Index: publish/sitemap/index.html === --- publish/sitemap/index.html (revision 1574509) +++ publish/sitemap/index.html (working copy) @@ -71,7 +71,7 @@ Home -

Re: [jira] [Closed] (THRIFT-2001) http://thrift.apache.org/ Example "C++ Server" tab is broken

2014-03-05 Thread Jake Farrell
I've fixed the versions in the Gemfile as below to avoid this type of issue, updates committed -Jake gem 'rake' gem 'nanoc', '3.6.7' gem 'redcarpet', '3.1.1' gem 'coderay', '1.1.0' gem 'adsf', '1.2.0' gem 'nokogiri', '1.6.1' gem 'less', '2.5.0' gem 'mime-types', '2.1' gem 'therubyracer', '0.12.1

[jira] [Updated] (THRIFT-2355) Add SSL and Web Socket Support to Node and JavaScript

2014-03-05 Thread Randy Abernethy (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Randy Abernethy updated THRIFT-2355: Attachment: 0001-Add-WebSocket-support-to-JS-and-Node.JS.patch This patch was generated on

[jira] [Comment Edited] (THRIFT-2355) Add SSL and Web Socket Support to Node and JavaScript

2014-03-05 Thread Randy Abernethy (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920818#comment-13920818 ] Randy Abernethy edited comment on THRIFT-2355 at 3/5/14 1:07 PM: --

[jira] [Updated] (THRIFT-2355) Add SSL and Web Socket Support to Node and JavaScript

2014-03-05 Thread Randy Abernethy (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Randy Abernethy updated THRIFT-2355: Attachment: (was: 0001-add-ssl-and-websocket-support-to-node-and-js.patch) > Add SSL

RE: **** SPAM [ 7.9 ] **** Re: [jira] [Closed] (THRIFT-2001) http://thrift.apache.org/ Example "C++ Server" tab is broken

2014-03-05 Thread Roger Meier
Hi Jake Great job! > -Original Message- > From: Jake Farrell [mailto:jfarr...@apache.org] > Sent: Mittwoch, 5. März 2014 06:47 > To: dev@thrift.apache.org > Subject: SPAM [ 7.9 ] Re: [jira] [Closed] (THRIFT-2001) > http://thrift.apache.org/ Example "C++ Server" tab is broken >