Hacker Newsnew | past | comments | ask | show | jobs | submit | olt's commentslogin

> Images, stylesheets, scripts, iframes, and videos aren't subject to CORS.

It depends on what you want to do with the image: https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabl...


Could it be Blue Ice[0] or a similar leakage from an airplane flying above the skydivers?

[0] http://en.wikipedia.org/wiki/Blue_ice_(precipitation)


Well, the license (CC-By-SA) requires that "The credit required by this Section 4(c) may be implemented in any reasonable manner;". So it doesn't need to be in the footer of the map, when there is no footer at all ("at least as prominent as the credits for the other contributing authors"), but I think the EULA/about not reasonable.

But other people might disagree. There are even people that think the whole license is invalid and that it can be used as Public Domain, because the license is for creative work and not meant to be used for databases. This is the major reason OSM is changing to a different license right now (ODbL).

Edit: See here http://www.osmfoundation.org/wiki/License/Why_CC_BY-SA_is_Un...


"Please don't give any money to 3rd party $ites saying they'll alert you when the Raspi is available - we'll be giving you notice for free." – @Raspberry_Pi https://twitter.com/#!/raspberry_pi/status/17383805694681088...


(c)pickle uses a string protocol by default which is the most portable (even across Python versions and platforms). You need to specify another protocol version for best performance. See http://docs.python.org/library/pickle.html#data-stream-forma...

The times should be similar to lwpb then.

Edit2: Oh, and for JSON you should use http://pypi.python.org/pypi/simplejson


Yup, simplejson is much faster than the standard json.

  JSON
  3.56521892548
  SimpleJSON 
  0.727998971939
  Protocol Buffer (fast)
  0.38397192955
  Protocol Buffer (standard)
  4.86640501022
  Protocol Buffer (lwpb)             
  0.323328971863
  cPickle    
  0.811990976334


I think you'll find py-yajl to be faster than any of the other Python JSON modules: https://github.com/rtyler/py-yajl


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: