BrisJS / meetups

https://brisjs.org
98 stars 8 forks source link

Circle work #74

Closed govpack closed 9 years ago

govpack commented 9 years ago

Circle Work (Q) How many “CIRCLED” characters can we find?… (A) 370

⊕|⊖|⊗|⊘|⊙|⊚|⊛|⊜|⊝|⎉|⎊|①|②|③|④|⑤|⑥|⑦|⑧|⑨|⑩|⑪|⑫|⑬|⑭|⑮|⑯|⑰|⑱|⑲|⑳|Ⓐ|Ⓑ|Ⓒ|Ⓓ|Ⓔ|Ⓕ|Ⓖ|Ⓗ|Ⓘ|Ⓙ|Ⓚ|Ⓛ|Ⓜ|Ⓝ|Ⓞ|Ⓟ|Ⓠ|Ⓡ|Ⓢ|Ⓣ|Ⓤ|Ⓥ|Ⓦ|Ⓧ|Ⓨ|Ⓩ|ⓐ|ⓑ|ⓒ|ⓓ|ⓔ|ⓕ|ⓖ|ⓗ|ⓘ|ⓙ|ⓚ|ⓛ|ⓜ|ⓝ|ⓞ|ⓟ|ⓠ|ⓡ|ⓢ|ⓣ|ⓤ|ⓥ|ⓦ|ⓧ|ⓨ|ⓩ|⓪|⓫|⓬|⓭|⓮|⓯|⓰|⓱|⓲|⓳|⓴|⓵|⓶|⓷|⓸|⓹|⓺|⓻|⓼|⓽|⓾|⓿|⛒|✪|❂|❶|❷|❸|❹|❺|❻|❼|❽|❾|❿|➀|➁|➂|➃|➄|➅|➆|➇|➈|➉|➊|➋|➌|➍|➎|➏|➐|➑|➒|➓|➲|⟴|⦶|⦷|⦸|⦹|⦼|⦾|⦿|⧀|⧁|⨀|⨁|⨂|⨶|⨸|⬲|⭙|⮈|⮉|⮊|⮋|⮾|⮿|〶|㉄|㉅|㉆|㉇|㉈|㉉|㉊|㉋|㉌|㉍|㉎|㉏|㉑|㉒|㉓|㉔|㉕|㉖|㉗|㉘|㉙|㉚|㉛|㉜|㉝|㉞|㉟|㉠|㉡|㉢|㉣|㉤|㉥|㉦|㉧|㉨|㉩|㉪|㉫|㉬|㉭|㉮|㉯|㉰|㉱|㉲|㉳|㉴|㉵|㉶|㉷|㉸|㉹|㉺|㉻|㉼|㉽|㉾|㊀|㊁|㊂|㊃|㊄|㊅|㊆|㊇|㊈|㊉|㊊|㊋|㊌|㊍|㊎|㊏|㊐|㊑|㊒|㊓|㊔|㊕|㊖|㊗|㊘|㊙|㊚|㊛|㊜|㊝|㊞|㊟|㊠|㊡|㊢|㊣|㊤|㊥|㊦|㊧|㊨|㊩|㊪|㊫|㊬|㊭|㊮|㊯|㊰|㊱|㊲|㊳|㊴|㊵|㊶|㊷|㊸|㊹|㊺|㊻|㊼|㊽|㊾|㊿|㋐|㋑|㋒|㋓|㋔|㋕|㋖|㋗|㋘|㋙|㋚|㋛|㋜|㋝|㋞|㋟|㋠|㋡|㋢|㋣|㋤|㋥|㋦|㋧|㋨|㋩|㋪|㋫|㋬|㋭|㋮|㋯|㋰|㋱|㋲|㋳|㋴|㋵|㋶|㋷|㋸|㋹|㋺|㋻|㋼|㋽|㋾|🄋|🄌|🄫|🄬|🄭|🄮|🅐|🅑|🅒|🅓|🅔|🅕|🅖|🅗|🅘|🅙|🅚|🅛|🅜|🅝|🅞|🅟|🅠|🅡|🅢|🅣|🅤|🅥|🅦|🅧|🅨|🅩|🉐|🉑|🔂|🕀|🗟|🛈

❶❷❸❹❺❻❼❽❾❿ ⓫⓬⓭⓮⓯⓰⓱⓲⓳⓴ ➊➋➌➍➎➏➐➑➒➓

note: the non contiguous ranges between ❶-❿ and ⓫-⓴ ❿=10111=DINGBAT NEGATIVE CIRCLED NUMBER TEN (10111)
⓫=9451=NEGATIVE CIRCLED NUMBER ELEVEN

...and then the smaller set [your fonts may vary] of black circled "dingbats" from ➊-➓

➊=10122=DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT ONE ➓=10131=DINGBAT NEGATIVE CIRCLED SANS-SERIF NUMBER TEN ..and zero at ⓿=9471=NEGATIVE CIRCLED DIGIT ZERO 🄋=127243=astral, dingbat circled sans-serif digit zero (U+1F10B) from the "Enclosed Alphanumeric Supplement" http://graphemica.com/%F0%9F%84%8B says js '\u1F10B' , which is not quite right till ES6? in which case it would be \u{1F10B} or \uD83C\uDD0B before hand

The reason for looking is that i'm thinking of using 🅐🅑🅒🅓🅔🅕🅖🅗🅘🅙🅚🅛🅜🅝🅞🅟🅠🅡🅢🅣🅤🅥🅦🅧🅨🅩 for named and +/-relative LIST item references, ie ❶-⓴ for the negative ones and ①-⑳ for the positive relative references to get a sort of 1D excel thing going, and ❂ or some such for zero or self. The reason for posting is just sharing something JS related. of the above 370 circles only:
ⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏ ⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩ are valid js variable names :-(

╠════════9472-9599 Box Drawing════════╗ ⓫[ ⓫ \u24EB] ⓬[ ⓬ \u24EC] ⓭[ ⓭ \u24ED] ⓮[ ⓮ \u24EE] ⓯[ ⓯ \u24EF] ⓰[ ⓰ \u24F0] ⓱[ ⓱ \u24F1] ⓲[ ⓲ \u24F2] ⓳[ ⓳ \u24F3] ⓴[ ⓴ \u24F4] ╠════════12352-12447 Hiragana Japanese════════╗(ranges are out) ❶[ ❶ \u2776] ❷[ ❷ \u2777] ❸[ ❸ \u2778] ❹[ ❹ \u2779] ❺[ ❺ \u277A] ❻[ ❻ \u277B] ❼[ ❼ \u277C] ❽[ ❽ \u277D] ❾[ ❾ \u277E] ❿[ ❿ \u277F] ➊[ ➊ \u278A] ➋[ ➋ \u278B] ➌[ ➌ \u278C] ➍[ ➍ \u278D] ➎[ ➎ \u278E] ➏[ ➏ \u278F] ➐[ ➐ \u2790] ➑[ ➑ \u2791] ➒[ ➒ \u2792] ➓[ ➓ \u2793]

define:contiguous= sharing a common border; touching:

'❶❷❸❹❺❻❼❽❾❿'=='➊➋➌➍➎➏➐➑➒➓' //true '❶❷❸❹❺❻❼❽❾❿'=='➊➋➌➍➎➏➐➑➒➓' //false different characters, 4th string is smaller in another font

to test if somename "x" is a valid variable name, do

try{eval('var '+x+'=99');return true}catch(er){return false}
garrows commented 9 years ago

Those aren't valid variable names. var Ⓓⓤⓒⓚ = '🅣🅐🅢🅣🅨'; Gives a SyntaxError.

MauriceButler commented 9 years ago

Your friend https://mothereff.in/js-variables

govpack commented 9 years ago

yes, i see that ⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩ=5 VM196:2 Uncaught SyntaxError: Unexpected token ILLEGAL in Chrome, but F12 in IE is fine = interesting difference in context, f'kin jscript etc anyway

Ⓓⓤⓒⓚ

is a typo, lol

anyway, try pasting the

ⒻⓇⓄⒼ

into the address bar

re Your friend https://mothereff.in/js-variables yes, i love @mathias 's unicode work, i must use the function there and see which unicodes line up green in IE and red in Chrome as variable names

where must probably =could/won't, but still interesting

garrows commented 9 years ago

What's IE? Is it a new experimental browser?

var ⒻⓇⓄⒼ = 'not tasty'; Doesn't work either.

AshKyd commented 9 years ago

It's right on the edge man. ⓔ

govpack commented 9 years ago

i mean in the address bar where Ⓓⓤⓒⓚ will become Duck

yup, IE is so many things, it's not funny, (see below) i would respect programmers more if they were "conscientious objectors" to things they really don't like, like Muhammad Ali was regarding war in Vietnam (yes, it's really that bad), if they were then there wouldn't be so many problems, so the IE thing, they/we deserve it for participating in it, so sucked in, rather than just saying i don't/won't do that (they did that when buying Macs and just said, "i don't do that other thing...) so yeah it's best to go into a state of amnesia/ignorance is bliss on some things

govpack commented 9 years ago

@garrows

b7lguuyiaaig2t8

govpack commented 9 years ago

IE also responsible for Toyota Unintended Acceleration death and the Big Bowl of “Spaghetti” Code

govpack commented 9 years ago

pad

no I didn't

govpack commented 9 years ago

Unfortunately, we don't support that file type. Try again with a PNG, GIF, JPG.

govpack commented 9 years ago

Unfortunately, we don't support that file type. Try again with a PNG, GIF, JPG.