article thumbnail

Mangling JSON numbers

TechEmpower

If we have a long (64-bit integer) that we serialize into JSON, we might be in trouble if JavaScript consumes that JSON. JavaScript has the equivalent of double (64-bit floating point) for its numbers, and double cannot represent the same set of numbers as long. The output of x.toString() in JavaScript is suspicious.

article thumbnail

Docstoc Adds Preview Feature

socalTECH

Santa Monica-based Docstoc rolled out a new feature for the firm's web-based document sharing service Thursday, which allows users to embed preview links into their web pages of documents on the site. Tags: preview document sharing docstoc docshots. The feature is only available to users registered with the Docstoc site.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

How to Work with Lawyers at a Startup

Both Sides of the Table

I know he’s smart but you wouldn’t hire a Javascript developer to do your database design – would you? You have this perception that they’re billing you for the lunch meeting they invited you to and the friendly banter emails flying back and forth. Here’s a hack for you.

Startup 318
article thumbnail

How to Block Unwanted Bots from Your Website with.htaccess

SoCal Delicious

Not all bots are benign however.Some bots go through your website looking for web forms and email addresses to send you spam. If one does not exist, usethe editor to create a new blank document. If you dont have an existing.htaccess file, just type it intoyour blank document. Who is this article for?

IP 38