There are some good articles about the algorithm floating around if you Google for it.
1,072 karma · joined August 9, 2009
http://mattryall.net
There are some good articles about the algorithm floating around if you Google for it.
If you want to see specific examples, search for how to avoid XSS attacks. Any decent guide will focus on escaping, not sanitisation.
> Cassini is scheduled for three more encounters with Enceladus, including one final plunge through a plume, before it is sent to a fiery death in Saturn’s atmosphere to avoid crashing into and contaminating the ringed planet's icy moons.
Great that they're thinking in advance about this stuff. Would be a shame to contaminate our best chance of discovering microbial ET with spores from earth.
With this experiment, Facebook are modifying the news feeds of their users specifically to affect their emotions, and then measure impact of that emotional change. The intention is to modify the feelings of users on the system, some negatively, some positively.
Intentional messing with human moods like this purely for experimentation is the reason why ethics committees exist at research organisations, and why informed consent is required from participants in experiments.
Informed consent in this case could have involved popping up a dialog to all users who were to be involved in the experiment, informing them that the presentation of information in Facebook would be changed in a way that might affect their emotions or mood. That is what you would expect of doctors and researchers when dealing with substances or activities that could adversely affects people's moods. We should expect no less from pervasive social networks like Facebook.
font-family: sans-serif;
You get Helvetica on Mac, Arial on Windows and various other default fonts on other platforms. Users can also pick their own font via browser settings.For pixel-perfect alignment, you need to deal with some minor size differences between the fonts, but pixel-perfect design is not really achievable in many designs anyway.
Unfortunately, we got stuck in a 96 DPI rut throughout the 2000s and are only just coming out of it with high-DPI "Retina" displays. Now the Mac hinting decision makes more sense, and the ClearType technology looks bizarre, whereas for all the last decade it was the opposite.
f(g(h(a)))
It can get kind of gnarly when any of the values are non-trivial.Interesting assertion. Got a citation for that?
UCS-2 is not a valid Unicode encoding any more, because there are several sets of characters encoded outside the BMP. The spec should be updated to require UTF-16 support in all implementations.
If a modern programming language like JavaScript doesn't provide a way to represent characters outside the BMP in its character data type, that needs to be fixed too. Indexing and counting characters in a JavaScript string need to reflect the human and Unicode notion of characters, not the arbitrary 2-byte blocks that UCS-2 happens to use.
The language authors should be ashamed of this situation - having a modern language without proper Unicode support is simply awful.
http://tech.fortune.cnn.com/2012/06/30/could-steve-jobs-actu...
I don't think this will be the last of Apple's actions against Android. When Steve said they'd "patented the hell out of" the iPhone, I got the sense he really wasn't joking.
While it's theoretically possible, I'm not sure whether this is practical for general use on a LAN. You'd probably have to have a wireless antenna poking out of your laptop, which you'd point at the access point. Seems a little bit inconvenient.
In respect to the Windows question, I wouldn't be surprised to see them ship one in a few months, once they iron out the bugs and determine exactly which set of features a native client needs to provide.
However, this is probably the best way to protect a name you use on Twitter: register a trademark and let them know that you're using your registered name as a Twitter handle and want it maintained for your business/organisation.
Crockford explains with some examples here:
Would love to see a list of top 10 proportional programming fonts.
Without any kind of type-safety or compilation in JavaScript, it's even more important for jQuery to preserve compatibility than libraries in other languages. You probably wouldn't discover some obscure breakages until the software using it is in production.