910 karma · joined October 16, 2012
$ command-name 2>&1 | less
This combines standard out and standard error into one stream so you can read all the output in less [1]. Piping just standard out leads to stray error lines popping up on the screen while less is running, and they aren't kept in less's buffer so you lose track of them.[1] http://www.cyberciti.biz/faq/redirecting-stderr-to-stdout/
https://www.eff.org/wp/defending-privacy-us-border-guide-tra...
Steube misunderstands the xkcd comic [1]. There's a really good comment which explains it: "It could be argued that Randall's example of 4 words is too short -- and indeed, for some applications, it is. However for a typical dictionary size, and genuinely random selection, it is massively stronger than "typical" passwords and in fact easily adequte to defeat the above-mentioned attacks." [2]
Emphasis on "genuinely random selection."
[2] http://www.schneier.com/blog/archives/2013/06/a_really_good_...
Even without face recognition, disparate 'anonymous' accounts on different sites can be linked to her, as long as a few associates can be linked to real-world people [1].
[1] http://www.academia.edu/1518346/Link_Prediction_in_Highly_Fr...
This is exactly my point: lots of code also treats utf-8 as if it were ASCII.
> how often do you see bulk pure text, without any markup, and that can't be compressed?
That's a good argument. Thanks :)
Can you explain or provide a reference? Are you suggesting that because you consume more calories if you exercise, and your food comes from farms, the extra farm pollution is worse than what your car would have produced?
myResource = foo();
try {
...
} finally {
myResource.release();
}
Some programmers (although I've never met one) try to avoid this boilerplate by writing a finalize() method on myResource that releases it. It's an anti-pattern. C# and Java have syntactic sugar now that makes the boilerplate shorter, which should help.One of the author's points was that you can't even trust your hardware. To prevent this fundamental weakness, we would need a whole new infrastructure of open-source hardware designs along with manufacturers who could somehow be trusted not to insert backdoors.
Also, you can't live in modern society without doing communicating with entities who you don't necessarily trust with your privacy (i.e. businesses). If the other party is agnostic or malicious regarding your privacy then you need the state's help if you want protection.
In Seattle a few intersections have been singled out as the most dangerous for cyclists because of the number of collisions involving cyclists there. Considering they are also the highest-traffic intersections for bicycles, it doesn't actually say anything about how dangerous they are per cyclist-trip.
Crashmapper is useless without knowing how many vehicles pass each intersection per day.
If unbundling starts becoming more common, the big advantages I see for consumers are that people will waste less time watching things they don't care about (because they never subscribed to them in the first place) and money will go to studios that produce quality shows people are willing to pony up for, increasing the overall quality of entertainment. I'd love to be able to not subsidize reality TV.
Chinese input methods typically require a sequence of key-presses and then a selection from a menu of matching characters, with the most common matches first. Multi-character sequences can be entered without making a choice until the end, in which case the most likely n-grams come first.
Most people in Taiwan learn phonetic (Zhuyin) in school, which is very easy, as long as you know standard pronunciation.
In general it was a mistake to put variable-length encodings into the Unicode standard. A much better design would have been to use UTF-32 for the application-level interface to characters, and use a separate compression standard that is optimized for fixed alphabets when transporting or storing text. This has the advantage that the compression scheme can be dynamically updated to match the letter frequencies in the real-world text, and it logically separates the ideas of encoding and compression so that the compression container is easier to swap out. And, of course, an entire class of bugs would be eliminated from application code.
Edited first paragraph to clarify: Variable-length text encodings are the same.
Can you provide a reference? Did I link to the wrong paper? That's an important detail and it's not in the article.
much more effective than regular TiO2
How much more effective? The study done by Italcementi in 2002-2003 (admittedly not very trustworthy since it's done by the company that makes the product) has numbers comparable to the Eindhoven study.
[1] http://en.wikipedia.org/wiki/Titanium_dioxide#Photocatalyst
[2] http://www.italcementigroup.com/NR/rdonlyres/1F30E487-C0A2-4...
[3] http://www.time.com/time/specials/packages/article/0,28804,1...
[4] http://www.sciencedirect.com/science/article/pii/S0304389413...
A major theme of the small publishers and authors quoted in the article is that Amazon's price is higher than the publisher would want. If Amazon pays a fixed price for every book, then there's a fundamental conflict between the parties. Amazon wants to make margin, the publisher wants to make volume. If the publisher wants Amazon to keep their best interests at heart, they'll have to change the nature of their deal with Amazon so that their interests align.
[1] You always need at least one bit. After the first, each additional bit divides the space in which 1/n can lie in half, so it's just 1 + (1/2 + 1/2(1/2 + 1/2(...))) = 1+1/2+1/4+... = 2. It's a lot like arithmetic coding[3]
[2] http://en.wikipedia.org/wiki/Fair_coin#Fair_results_from_a_b...
Part of the point of protesting is that it inconveniences normal people and forces them to pay attention, and to likely hear the group's message in the process. I get personally irritated when some group is causing traffic delays and making a ruckus where I'm trying to go about my life, but I firmly believe they have the right to do it. Some day I might want to protest something, and I'd like to have the option.
I'm sure many have noticed this effect from reading email or news before bed. Often if I've been surfing or reading email too close to bedtime, the interesting issues and problems I've read about keep me awake for a long time.
Also, just because human behavior is changing, doesn't mean human morality is becoming better in any objective sense.
That suggests, though, if anyone knows your bike's number they could track it everywhere. I'm not sure I'd want that feature.