|
I know that you can use boost serialization to serialize to a text format and then push over a socket, but I'd like to serialize a class of statistics data into a binary format (both for size and encoding/decoding overhead reasons). Is it safe to use ...
Started by gct on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It has a C and C++ binding ..
It's available, I've been hearing a lot about Google's protobuf .
See here.
No, in general boost binary serialization is not machine-independent.
|
|
Using sockets in C, is it safe to do this in a function?
int ConnectTo(char *ip, int port){ struct sockaddr_in addr; memset(&addr, 0, sizeof(addr)); inet_pton(AF_INET, ip, &addr.sin_addr.s_addr); addr.sin_port = htons(port); int sock = socket(AF_INET,...
Started by Asuah on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
What you're doing is completely safe - the socket takes a copy of anything.
Of that implementation.
|
|
Is using of threads dangerous? If yes, why? How can I use threads safely?
Started by masoud ramezani on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Lock-free code....
Using threads.
Good practices are to use read-only datatypes and design reentrant methods.
To ensure proper synchronization between threads
How can I use threads safely?
There's no definitive answer to this.
|
Ask your Facebook Friends
|
I know putting code into VSS in general is as safe as putting money into a mutual fund run by Bernard Madoff, but I don't have the luxury of ditching it for subversion.
That said, I need to be able to write code on two machines, I'm considering checking...
Started by MatthewMartin on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I suspect that it ....
I don't know about the specific question you're asking.
As far as the OS is concerned, the thumb drive is just like your HDD, just slower .
Shouldn't be any different than if you checked it out to a mounted drive within the machine .
|
|
Which web-safe fonts are more readable to eyes as a body text? Which web-safe fonts should not be used?
What should be the minimum font size of <p>body text</p> for better readability?
What font size should we use for <H1/2/3/4/5/6> ...
Started by jitendra on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Good practices about fonts:
Don't use too much different fonts on one page Use relative font sizes, so that user....
I've found Verdana to be very easy on the eyes, that is most easy to read .
IMO: avoid Comic Sans, use font size 10+ pt.
|
|
Howdy,
I have been bitten by a poorly architected solution. It is not thread safe!
I have several shared classes and members in the solution, and during development all was cool...
BizTalk has sunk my battle ship.
We are using a custom BizTalk Adapter...
Started by Keith Sirmons on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
I did find.
Just for completeness.
Would be to simply rearchitect your stuff to be thread-safe.
|
|
In XP, is it possible to start up networking (similar to Safe Mode with Networking) while logged in via the "Safe Mode with Command Prompt" option?
I tried net start "network connections" but this says it cannot be started in Safe Mode. Any other ideas...
Started by romandas on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at serverfault):
I am not sure safe....
Default drivers are loaded and anything extra is not loaded .
With Safe Mode with Networking, have you tried browsing to the CMD.exe file and double clicking safe mode is slimmed down as much as possible.
Be started.
|
|
Is it possible to use Source Safe over the internet?
Would you do it?
Started by João Guilherme on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
If you don't have a choice, you could use a VPN....
My company does.
Why not use something more reliable?
yes, it IS possible.
It has been beaten not.
Do a search on this site for more details.
Not use sourcesafe if I had a choice.
|
|
Why do you (and/or your company) use Visual Source Safe instead of the "other" version control systems?
Started by Nate on
, 25 posts
by 25 people.
Answer Snippets (Read the full thread at stackoverflow):
The most....
We would probably use VSS if we were smaller (way smaller Safe.
We are using Microsoft TFS.
Absolutely none.
"Visual Source Safe," says the team lead, so I went over there to suggest.
They were going to use.
|
|
Is it safe to use Python UUID module generated values in URL's of a webpage? Wnat to use those ID's as part of URL's. Are there any non-safe characters ever generated by Python UUID that shouldn't be in URL's?
Started by MikeN on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
All of them are readable strings or ints.
See here for all possible output formats.
They are safe.
|