Smokey.Canoe

San Francisco, CA

google.com

Age: 23

I write code.

Mar
31
awarded Autobiographer
Apr
23
awarded Yearling
Sep
11
awarded Critic
Sep
11
answered Writing unit tests for a REST-ful API
Jun
2
answered Homework-C Programming- Recursive Program
Apr
27
comment Which serialization for sending protobuf via sockets in C++?
SerializeToString() actually just returns a string object containing the identical bytes as ToArray or any of the other serialization methods. The only difference is the datastructure the bytes are stored in. (Try cout << proto.SerializeAsString() and you'll see - it's completely unreadable! You can also try memcmping SerializeToArray vs. proto.SerializeAsString()... they're the same.) If you want something textual that you can put in a browser cookie (for example), you'll need to Base64 encode it (or something else)
Apr
25
answered Any limitations using C++ STL for iOS development?
Apr
24
answered Python: Caesar Cipher, If statement and else statement both True at the same time?
Apr
24
answered Repeated sub-messages in protobuf-c
Apr
24
answered How do i change my app's bundle ID?
Apr
24
answered Short "progress code" algorithm
Apr
24
awarded Supporter
Apr
24
answered Best way to return an object in c++?
Apr
24
answered Example for file input to structure members?
Apr
24
answered Struggling - yet another memory corruption problem, bad alloc (C++, VS 2008)
Apr
24
answered Getting the address of a struct member
Apr
23
answered Which serialization for sending protobuf via sockets in C++?
Apr
23
awarded Autobiographer
Apr
23
answered Can you statically link the same protobuf message into multiple DLLs - and then have those DLLs work together?
Apr
23
awarded Teacher
1 2