Re: How to make use of new ByteBuffer features in Java

2010-10-19 Thread Jake Luciani
"There’s some trickiness that goes into understanding why the first element in the backing byte array is arrayOffset() + position(), but for right now, trust me that it’s the case." Can you explain this? also, remaining() is defined as limit() - position() so when you say out.write(value.array(),

Re: thrift 0.5, java cant' be compiled without ivy and network connection

2010-10-13 Thread Jake Luciani
try -Dnoivy=1 2010/10/13 Krzysztof Krzyżaniak > e...@zygzak:~/src/c/thrift/thrift-0.5.0/lib/java$ ant -Dnoivy= > Buildfile: /home/eloy/src/c/thrift/thrift-0.5.0/lib/java/build.xml > > init: > > ivy-init-dirs: > > ivy-download: > > ivy-probe-antlib: > > ivy-init-antlib: > > resolve: > > compile:

Re: configure error

2010-10-06 Thread Jake Luciani
Check the FAQ: http://wiki.apache.org/thrift/FAQ On Oct 6, 2010, at 8:20 AM, ZHOU Xiaobo wrote: > ./configure line 16062: syntax error near unexpected token 'MONO' > .. PKG_CHECK_MODULES(MONO, mono>2.0.0. > > I am using r1004988 > > thanks a lot > >

Re: Thrift User Group Meetup?

2010-08-26 Thread Jake Luciani
Anyone in NYC area? I'd be happy to do something on the east coast. On Thu, Aug 26, 2010 at 9:38 PM, Ryan King wrote: > On Thu, Aug 26, 2010 at 5:28 PM, Bryan Duxbury wrote: > > Hi all - > > > > Just throwing an idea out here - would anyone be interested in attending > a > > Thrift User Group (

Re: Thrift 0.3.0 RC4

2010-05-19 Thread Jake Luciani
+1 On Wed, May 19, 2010 at 12:52 PM, Bryan Duxbury wrote: > I propose that we accept: > http://people.apache.org/~bryanduxbury/thrift-0.3.0-rc4.tar.gz< > http://people.apache.org/%7Ebryanduxbury/thrift-0.3.0-rc4.tar.gz> > > as the official Thrift 0.3.0 release. It is based on a fresh checkout fr

Re: Thrift 0.3.0 RC3 - Now With More Languages!

2010-05-17 Thread Jake Luciani
Thanks Kevin! Maybe we just link to this in the FAQ? Looks like the workaround is to specify ARCHFLAGS='-arch i386' make in lib/rb -Jake On Mon, May 17, 2010 at 10:09 PM, Kevin Clark wrote: > This describes Jake's problem: > > http://developer.apple.com/mac/library/releasenotes/OpenSource/P

Re: Thrift 0.3.0 RC3 - Now With More Languages!

2010-05-17 Thread Jake Luciani
Looks like my ruby isn't configured correctly on my macbook so I have no idea if this is just my issue. Can anyone else with a mac and ruby please check this? Thanks, -Jake On Mon, May 17, 2010 at 9:05 PM, Mark Slee wrote: > How are we doing on this? Want to make sure the vote and process don

Re: Javascript prototype generation anyone?

2010-05-13 Thread Jake Luciani
JavaScript bindings are checked in and will be released in 0.3. On May 13, 2010, at 7:10 PM, David Reiss wrote: I think the Java library has a "TSimpleJsonProtocol" that does something like this. It shouldn't be too hard to do the same for C++. I think the biggest complication is that J

Re: Thrift 0.3.0 RC3 - Now With More Languages!

2010-05-12 Thread Jake Luciani
Hmm, looks like the ruby extension on my macbook are not being built with correct architecture? cc -arch ppc -arch i386 -pipe -bundle -undefined dynamic_lookup -o thrift_native.bundle binary_protocol_accelerated.o compact_protocol.o memory_buffer.o protocol.o struct.o thrift_native.o -L. -L/System

Re: Is THRIFT-550 patch merged in the trunk?

2010-02-14 Thread Jake Luciani
gt; Do I have to patch the trunk or some branch? Do you have any README > with guidelines of how to use your patch, and how to set up a > "working" scenario? > > Best regards, > Manuel. > > On Thu, Jan 28, 2010 at 11:01 PM, Jake Luciani wrote: > > Hi Manuel, > &

Re: Is THRIFT-550 patch merged in the trunk?

2010-01-28 Thread Jake Luciani
Hi Manuel, I have one last changeset to apply for this, happy to see someone else would like this. I can commit this soon. but please help out in testing/trying it. -Jake 2010/1/28 Manuel Vázquez Acosta > Hi, > > I wonder whether https://issues.apache.org/jira/browse/THRIFT-550 has > been mer

Re: Thrift client connection pooling?

2009-09-25 Thread Jake Luciani
gt; > Ah, so you're relying on pooling upstream? >> >> - Original Message - >> From: "Jake Luciani" >> To: thrift-user@incubator.apache.org >> Sent: Thursday, September 24, 2009 3:38:08 PM GMT -08:00 US/Canada Pacific >> Subject: Re: Thrift cl

Re: Thrift client connection pooling?

2009-09-24 Thread Jake Luciani
I often use thread specific storage. 1 connection maintained per thread. Sent from my iPhone On Sep 24, 2009, at 5:56 PM, Rob Slifka wrote: Hi everyone, Just curious if/how anyone is doing client side connection pooling? For simplicity's sake, we're opening and closing connections on dema

Re: Perl's Bit::Vector module on Solaris 9

2009-08-14 Thread Jake Luciani
Hi, Bit::Vector is only used for handling 64bit integers. If your service does not contain these you could remove the references to bit vector or create a Dummy bit vector implementation. These are the references you'd need to change. Thrift/BinaryProtocol.pm:use Bit::Vector; Thrift/BinaryProto

Re: TNonblockingServer performance

2009-05-20 Thread Jake Luciani
there is a usleep(5000) in the client operation for just this test. i added this a long time ago to show the half-sync/half-async works. you can comment it out or if you specify --server-type=thread-pool it will use async for io but threads for processing. -Jake On Wed, May 20, 2009 at 5:45 AM,

Re: [PROPOSAL] implement unions

2009-04-12 Thread Jake Luciani
there's been some discussion about this: http://issues.apache.org/jira/browse/THRIFT-409 On Sun, Apr 12, 2009 at 2:40 PM, Debacker wrote: > Hi, > > I recently came across a problem which could be nicely implemented if union > were supported. Let's suppose that you want to create a method to quer

Re: Some thoughts about changes to Thrift

2009-03-05 Thread Jake Luciani
on another note is there any reason flex needs to be installed? why not check in the resulting files for distribution? -Jake On Thu, Mar 5, 2009 at 8:42 PM, Mike Rettig wrote: > On Thu, Mar 5, 2009 at 7:12 PM, Jake Luciani wrote: > >> I've always wondered why the IDL compiler

Re: Some thoughts about changes to Thrift

2009-03-05 Thread Jake Luciani
I've always wondered why the IDL compiler was written in c++, seems like a bad choice. I think a java compiler using JavaCC would be a bit better (though requiring java is a pain for some). At least it would be cross platform -Jake On Thu, Mar 5, 2009 at 7:15 PM, Michael Greene wrote: > Jér