tilts at the windmills of programming
blog logic puzzles piward coding
github profile
𝟲 / πŸ™πŸ Β· I've been enjoying Python's tremendous flexibility but am converging, with support from a preprocessor, on a consistent style. Once things are stable enough to focus
β•° on performance, I'll use my preprocessor to target a mix of C or C++ and a more performant runtime than the standard Python interpreter.
𝟡 / πŸ™πŸ˜Β· The git β€˜index’ is like a little mini-commit zone. I backup my bare git repositories regularly but by incrementally diffing and reviewing changes using the index
β•° feels lighter weight than a commit, and not atrisk of being pushed or fetched by accident on my test machines.
1 𝟭 πŸ™πŸ˜Β· For my symbolic logic projects, I'm organizing my code around a division between the abstract for logic and concrete programmer-centric domains.
β•­ πŸšπŸ™Β· I updated my color text routines that I use in all my Python tools to proceess faster when read into Emacs. One day, I may create an IDE for my β€˜neo-retro’
β”Š logic-puzzle computing environment, but Emacs is still the best tool for me.
β”Š
𝔻 β”Š 𝟚𝟚· While I use Unicode extensively and appreciate its near universal adoption and support, I object to any description of it as a "character set". It is a partial
𝕖 β”Š encoding for semantically based typesetting of all human-readable text that includes representations for historic character sets. Ideally, a "character set" provides
𝕔 β”Š an abstract, finite set of symbols for computation and a visual representation that allows human beings to readily identify symbols in a sequence - a simple alphabet.
𝕖 β”Š If we remove codepoints that are control values (modifiers and typesetting indicators) and, for groups of characters which are (subjectively) visually similar,
π•ž β”Š discard all but one, we are left with a workable character set. But it's a major bonus if human beings can naturally associate meaning with sequences to form a human
𝕓 β”Š readable language. This character set requires knowledge of every alphabet included in Unicode and fluency in at least one language that uses each alphabet. I encode
𝕖 β”Š formal languages and strings using my own (still evolving) ”Zy Logical Character Set" or "Zylch" (the "zy" is vestigial, but still makes for entertaining acronyms).
𝕣 β”Š It's a single byte encoding starting with the digits 0β‹―9, followed by the 26 uppercase then 26 lowercase letters of English. Then a bunch of symbols that change from
β”Š week to week...
β”Š
β”Š 𝟚𝟚· I'm using β€˜βŠ™β€˜ for dot product and β€˜βŠ—β€™ for cross product. My preprocessor translates these from binary operators into calls to β€˜dot’ and β€˜cross’, which are native in
β•° GLSL and implemented in Python to work on number sequences of equal length (dot) or only 3-tuples of numbers (cross).