My housemates and I have interesting conversations at times @ home.
Mr Krishna was telling me about how he didn’t understand the meaning of ping used here, like “Ping me when you’re done” or “I’ll ping you”
So I reply that meanings of words change, and many a times it get derived so much it doesn’t reflect its original context or meaning. Nevertheless its good to know its original meaning and know how it evolved. So while the technical guys know the purpose of “ping” or the IMCP echo, some might think that ping came from “ping pong” (table tennis), as seen in the IRC days. The most likely inspiration of the word ping would be sound waves created by sonar in submarines.
Another interesting topic is “blog” (in its context have another meaning for ping too), derived from weblog, was in fact a technical term for a developer’s/designer’s tool. After some time, blog was almost a synonym to “online diary” and these days blogs has also almost become an essential part of online marketing.
Other times brand and product names affect people’s vocabulary too. For example, most people doesn’t seem to know that “Rollerblade” is in fact just a brand for the sport “In-line skating”. Photocopying could be called “Xerox” in America, and “zapping” in Singapore. I used the word “Scotch tape” for years before knowing its a trademark for a adhesive tape product.
Then the singaporean language “culture” or Singlish is a big culprit of giving new meaning to words, infecting the native English, Malay and Hokkien. And for that we have a few online Singlish dictionaries here and here.
Its interesting but whether this word morphing culture is good or not, I don’t know. We tend to get petty smart and lazy using such words, but at the same time we are adding more definitions to our dictionary entries.
Not too sure how much this would help in debugging python scripts, but at least it tells you any syntax errors before a long script runs for an hour before throwing an error.
Here’s the code
# compile.py
import py_compile, sys
py_compile.compile(sys.argv[1])
Here’s a sample python script
# helloworld.py
print “Hello World!”
Here’s an example to compile it
$ python ./compile.py ./helloworld.py
Running this generates a bytecode file called helloworld.pyc which could be run
$ python ./helloworld.pyc
python could also be used with the flag “-O” for optimize generated bytecode
>>> exit()
From the book “Photography and the Art of Seeing” (1979), Freeman Patterson has photography rules to take note of and to break them.
#1
Rule: Focus on the center of interest
Break: Keep the center of interest out of focus; play with the blance of forms
#2
Rule: Fill in the frame with the subject
Break: Allow space around the subject; look for interaction with the environment
#3
Rule: Do not shoot between 10 A.M. and 3 P.M. (golden hours)
Break: Shoot on any day, at any time
#4
Rule: Do not shoot against the light
Break: Photography only against the light for a month
#5.
Rule: Hold the camera steady
Break: Shoot while jumping up and down or spinning around
#6
Rule: Follow the “rule of thirds”
Break: Vary composition. Respond emotionally
#7
Rule: Obey the light meter
Break: Disobey. Mess up the zone system. Oversexpose and underexpose by three , even 4 f/stops
#8
Rule: Photography children (and pets) at their own eye level;
Break: Move up, down on the side, all over
#9
Rule: Avoid lens flare when shooting against the sun ;
Break: Use lens flare to enhance a composition
#10
Rule: Keep camera level with the horizon
Break: Create your own horizons.
Pretty interesting stuff I thought. Here’s also a blog by photographers exercising these tricks.
Recent Comments