97 karma · joined June 14, 2010
I was recently writing a function that returns early if all items in a list meet a certain condition. It was interesting to think about what should happen if that list is empty.
As for the tool, ffmpeg seems to work well enough.
Here are some contexts in which this semantic difference is important: search (compare search results for "cop" and "сор"), alphabetical sorting, text-to-speech, spellchecking, case conversion ("ATOM" -> "atom", but "АТОМ" -> "атом", note the difference between t-т and m-м).
In my experience, it doesn't even cover cases such as this one, but it certainly makes developers confident they don't need to apply contextual escaping.
But flexibility helps. You could, for example, make a living working on V8 or SpiderMonkey, and work on your programming language as a hobby.
See, he acknowledges the importance of money. But once your basic needs are met, you can start discovering what matters to you. Music and creating your programming language are just to points in a huge space of things you could potentially enjoy. There are many jobs that, even though they don't sound sexy, allow you to explore this space and gravitate to things you like. The choice is not always between being a slave or dying from starvation.
James Averill, a major proponent of social constructivism, describes a behavior pattern, called “being a wild pig”, that is quite unusual by Western standards, but is common and even “normal” among the Gururumba, a horticultural people living in the highlands of New Zealand. The behavior gets its name by analogy. There are no undomesticated pigs in this culture, but occasionally, and for unknown reasons, a domesticated one will go through a temporary condition in which it runs wild. But the pig can, with appropriate measures, be redomesticated and returned to the normal pig life among the villagers. And, in a similar vein, Gururumba people can act this way, becoming violent and aggressive and looting and stealing, but seldom causing harm or taking anything of importance, and eventually returning to routine life. In some instances, after several days of living in the forest, during which time the stolen objects are destroyed, the person returns to the village spontaneously with no memory of the experience and is never reminded of the event by the villagers. Others, though, have to be captured and treated like a wild pig - held over a smoking fire until the old self returns […]
Averill uses “being a wild pig” to support his claim that “most standard emotional reactions are socially constructed or institutionalized patterns of response” rather than biologically determined events.
It's an extension of your idea of counting the total number of visited positions. What I like most about it is that it can work with streamed data.
Also, files in the Scripts can be edited by double clicking.
- World record improves linearly for over 50 years, for how long will the trend continue?
- Is it OK not to rescore erroneously high SAT scores?
- Why among examinees who get the same SAT score White examinees do better on easy items, whereas Black examinees do better on hard items?
- How comes that areas with the lowest and the highest kidney cancer death rate are rural areas?
His book 'Learned Optimism' is good.
Having said that, I still want to explore this idea some time in the future and see how it works out.
You might want to check out a similar service created by other HN user: http://www.yourpane.com/