Jump to content

  • Log In with Google      Sign In   
  • Create Account

shuma-gorath

Member Since 14 Apr 2003
Offline Last Active May 23 2016 09:21 PM

Posts I've Made

In Topic: How do you like your eggs in the morning?

11 March 2016 - 06:12 PM

I've never liked savory eggs.  I've always preferred custards and puddings.


In Topic: Are you getting the oculus rift?

18 January 2016 - 01:33 PM

While I'm not sold on the Oculus, I do see an market opening for an FDA-approved VR headset with FDA-approved software.  Some time ago, I read reading an article about a study where they had strabismus sufferers play Tetris while wearing a specially designed helmet.  IIRC, the results were promising, but I'm sure there's room for other games. 

 

The cost of an equivalent VR package could come in under the the average cost of LASIK ($2,118 USD), however, given the failure potential of LASIK, I would be willing to pay a premium for the former.

 

UPDATE: Okay, so clearly, I haven't been keeping up with the industry, as such a system is currently in trial, Diplopia. Apparently, FDA approval is only required if a product/service is claiming to diagnose a condition, however, this company is still trying to shoot for it.


In Topic: How to Stop json-cpp from Injecting Decimal Points

01 December 2015 - 04:26 PM

Well, in the end, I have decided not to use JSON for this project.  I figure the alternatives will be simpler.

 

Thanks again to all who replied.


In Topic: How to Stop json-cpp from Injecting Decimal Points

01 December 2015 - 11:03 AM

You can always convet to ASCII (hex or decimal) and store it as a string... sad.png

Thanks for the reply.

 

I'm not rightly sure if the consuming program can handle quoted timestamps, but I can find out.

 

Would anyone happen to know a way to walk the DOM, visiting each value along the way?  I have some tree-traversal code lying around that I could re-purpose for this, but I'd much rather use the library's built-in method.  I don't remember seeing anything in the documentation about this.


In Topic: How to Stop json-cpp from Injecting Decimal Points

01 December 2015 - 10:57 AM

The number looks too big to fit in a 32 bit integer, perhaps it gets converted to float because you have more bits there to represent the number?

You may want to check what limits are applied to json.

Thanks for the reply.

 

Thing is, Firefox bookmarks, when backed up to JSON, use the same timestamp format, and they don't use quotation marks.  When I pass in bookmarks to json-cpp, the timestamps come out with a decimal point appended.


PARTNERS