Re: [protobuf] what is TypeModel.cs and why is it missing ?

2018-01-30 Thread Marc Gravell
This is protobuf-net, so I suppose I should chime in :)

Can you please give a precise copy of the error message? And how did you
reference the library? Did you just add the NuGet package as normal? Or did
you do something more exotic? .NET libraries are almost usually distributed
as compiled assemblies - not as source code, so there is no reason for it
to be looking for TypeModel.cs - a source file. To understand the problem,
I'd need to see the actual error message.

No, this isn't expected.



On 31 Jan 2018 1:51 am, "Erick Treetops"  wrote:

Writing my first GTFS Realtime app in .net..  I had some issues getting out
of our proxy but now I'm stuck because the protobuf is looking for a file
called TypeModel.cs  and can't find it.  I've searched and haven't found
anyone else with this issue.  The error occurs when I try and serialize the
request (last line).
Can anyone point me in the right direction


WebRequest req = HttpWebRequest.Create("https://gtfsrt.api.translink.com.au/
Feed/SEQ");

IWebProxy proxy = req.Proxy;

proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;

FeedMessage feed = Serializer.Deserialize(req.GetResponse().
GetResponseStream());



Erick Treetops

-- 
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


[protobuf] what is TypeModel.cs and why is it missing ?

2018-01-30 Thread Erick Treetops
Writing my first GTFS Realtime app in .net..  I had some issues getting out 
of our proxy but now I'm stuck because the protobuf is looking for a file 
called TypeModel.cs  and can't find it.  I've searched and haven't found 
anyone else with this issue.  The error occurs when I try and serialize the 
request (last line).
Can anyone point me in the right direction


WebRequest req = HttpWebRequest.Create(
"https://gtfsrt.api.translink.com.au/Feed/SEQ;);

IWebProxy proxy = req.Proxy;

proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;

FeedMessage feed = Serializer.Deserialize(req.GetResponse().GetResponseStream());



Erick Treetops

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


Re: [protobuf] "unwrap descriptor class before comparison of RepeatedField types" into release

2018-01-30 Thread x
Absolutely amazing - please can we land this in 3.5.2 then?

On Tuesday, January 30, 2018 at 11:39:31 PM UTC, Feng Xiao wrote:
>
>
>
> On Tue, Jan 30, 2018 at 3:22 PM,  wrote:
>
>> Hey,
>>
>> I'm trying to get https://github.com/google/protobuf/pull/2519 into a 
>> release - as it was merged into master, I think it's been forgotten! :(
>>
>> I've opened https://github.com/google/protobuf/pull/4254 to try and get 
>> the patch into the next 3.5.x release, but I'm grasping at straws here.
>>
>> Please can someone take a look at this situation, and help me get this 
>> merged? My original patch was opened on the 20th of December 2016, so I'd 
>> really like to put this to bed.
>>
> +Jisi is making a 3.5.2 release based off the 3.5.x branch. 
>  
>
>>
>>
>> Thanks,
>> @rubynerd
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Protocol Buffers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to protobuf+u...@googlegroups.com .
>> To post to this group, send email to prot...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/protobuf.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


Re: [protobuf] "unwrap descriptor class before comparison of RepeatedField types" into release

2018-01-30 Thread 'Feng Xiao' via Protocol Buffers
On Tue, Jan 30, 2018 at 3:22 PM,  wrote:

> Hey,
>
> I'm trying to get https://github.com/google/protobuf/pull/2519 into a
> release - as it was merged into master, I think it's been forgotten! :(
>
> I've opened https://github.com/google/protobuf/pull/4254 to try and get
> the patch into the next 3.5.x release, but I'm grasping at straws here.
>
> Please can someone take a look at this situation, and help me get this
> merged? My original patch was opened on the 20th of December 2016, so I'd
> really like to put this to bed.
>
+Jisi is making a 3.5.2 release based off the 3.5.x branch.


>
>
> Thanks,
> @rubynerd
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to protobuf+unsubscr...@googlegroups.com.
> To post to this group, send email to protobuf@googlegroups.com.
> Visit this group at https://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


[protobuf] "unwrap descriptor class before comparison of RepeatedField types" into release

2018-01-30 Thread x
Hey,

I'm trying to get https://github.com/google/protobuf/pull/2519 into a 
release - as it was merged into master, I think it's been forgotten! :(

I've opened https://github.com/google/protobuf/pull/4254 to try and get the 
patch into the next 3.5.x release, but I'm grasping at straws here.

Please can someone take a look at this situation, and help me get this 
merged? My original patch was opened on the 20th of December 2016, so I'd 
really like to put this to bed.


Thanks,
@rubynerd

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


[protobuf] Some reminder from benchmark results

2018-01-30 Thread yilunchong via Protocol Buffers
Currently, the benchmark result shows that CPP implementation is slower 
than Java implementation. This is mainly caused by malloc things.
Some solution is linking tcmalloc 
 library which can 
be built from gperftools  repo. 
 This will make the CPP 
implementation about 2.0x faster.

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.