i got 2 smart programers who asked/questioned me about negative sign in decimal notation of latitude/longitude notation.
ok, here's explanation.
here's the coordinate for San Francisco:
here's the decimal notation: 37.7793 -122.4192
lattitude is like y axis, going from -90° (south pole) to 90° (north pole). 0° is the equator.
In minute second notation, it usually uses “S” (South) for negative, and “N” (North) for positive, instead of positive/negative sign.
longitude, is like x-axis, but going from -180° to +180°. Negative is West (W), positive is East (E). 0° is artificially fixed at Greenwich, England. This line is called prime meridian. (Greenwich is in London) So, basically, any place east of london is positive, west of london is negative.
by convention, the order is latitude, longitude (contrary to math convention, where x is first, y second)
discovered more Unicode:
learned a few Unicode symbols related to functional programing.
Recently i upgrade all packages in Cygwin. When i did a commit, i got:
svn: E155019: Can't upgrade '/cygdrive/c/Users/h3/ErgoEmacs_Source/ergoemacs/ergoemacs' as it is not a pre-1.7 working copy root, the root is '/cygdrive/c/Users/h3/ErgoEmacs_Source/ergoemacs'
Oh no! Error! My mind is psychologically conditioned to think i'll need to spend a hour or more to fix whatever problem is this. Apparently, svn 1.7 changed its repository metadata format. Luckily, the solution is simple:
i'll be going against the tide here. True, PHP is quite ugly, way inconsistent, and not as powerful.
Also, i'd say PHP is the language that had the most impact on educating the masses about functional programing. Because, in PHP, everything is a function. Input, Output, that's it. No OOP shit. No currying, lambda jargon, tail recursion, complex mumbo jumbo. Exceedingly simple.
Also, PHP community is the one that lacks fanatics. ➢ for example: in Haskell, Scheme, when you ask a question, you get a bunch of garbage about monad, currying, combinator, call-with-continuation, tail recursion, “you doing it wrong!”, “why you want to do that?”, full proselytizations and often wrong info too. Same in Perl, Python. In PHP community, you never get that. Just straight answer.
Also, PHP doc is the best there is. No mumbo-jumbo jargons and shit that wants to make you believe.
APL and Mathematica can both be categorized into a so-called Array programming language. It basically means, when a operand is a array/list, the operation is automatically mapped into the list. (as opposed to using a explicit “map” in lisp, perl, python.).
Here's APL implementation of normalizing a n-dimentional math vector.
however, i just tried to google it for some definite confirmation. I think i read it in the 1990s from The Jargon File or LISP FAQ in newsgroup.
Strange, didn't find it after 5 min. Not in wikipedia lisp article. Was sure it's in jargon file or Online Free Computing Dictionary. Neither. comp.lang.lisp group search turned out 2 or so results other than lisperati.com (Conrad Barski, the
LAND OF LISP book guy and alien lisp logo guy). Tried google group search 1990 to 2000, no result. (am pretty sure it's there, but google group search has been f���ed since about 2005)
btw, emacsen is the hacker's jargon for the plural of emacs.
(thanks to Tim Bradshaw and Yuriv Khan for a correction.)