News for hackers. Stuff that matters.

olt

Re:How do dat:// sites interact with servers? on Wednesday June 13, 2018 @06:58AM (#17301950)
> 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...

Re:Norwegian skydiver nearly struck by meteorite on Thursday April 03, 2014 @01:58PM (#7524675)
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)

Re:OpenStreetMap: Welcome Apple on Thursday March 08, 2012 @01:10PM (#3680838)
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...

Re:Get an Email an Sms when the Raspberry Pi is available on Sunday February 26, 2012 @02:06PM (#3636417)
"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