chrisplusplus

Results 8 comments of chrisplusplus

Coincidentally, I'm doing a lot of websocket dev at work so it's fresh on my brain. I'll take a look when I have some spare time

i realize this is ridiculous now you may close :)

I'm doing it this way for now: ``` javascript for(var i=slyobject.items.length;i>=0;i--){ slyobject.remove(i); } ``` But since the remove method calls reload each time, I don't know that this is the...

> I ran some experiments and when I tried to serialize a message type with `Any` it threw the error `TypeError: message.getTypeUrl is not a function at proto.google.protobuf.Any.serializeBinaryToWriter`. The current...

Man the documentation for javascript is scarce. But for any one using the google-protobuf node module in angular, you can include the use of Any type in the below fashion....

I don't see any way in Javascript to do that. I work around this by including the type, as an enum, as part of my message struct and then using...

One does not need to know that when using any other language. Only Javascript. Is it not reasonable to assume the same thing can be accomplished in Javascript as well?...

What is the excuse for python? C++? Perhaps I just don't understand why it is necessary to provide the string name of the message type to pack Any for Javascript...