k code (@kcodetweets) 's Twitter Profile
k code

@kcodetweets

Unofficial. Photo: Matt Hardy on Unsplash.

ID: 1235843958434983938

calendar_today06-03-2020 08:26:48

408 Tweet

443 Followers

16 Following

Dyalog (@dyalogapl) 's Twitter Profile Photo

📖Exciting News! 📖 You can now read (for free!) a paper written by Aaron Hsu🎓Aaron W. Hsu and Rodrigo Girão Serrão for ARRAY 23 (in Orlando🌴this month.) Download "U-Net CNN in APL: Exploring Zero-Framework, Zero-Library Machine Learning" at dl.acm.org/doi/10.1145/35…

k code (@kcodetweets) 's Twitter Profile Photo

Default dictionaries: how they could be introduced to k with a minimum of changes, why they would be useful, and some hand-wringing over whether dicts are actually good. gist.github.com/chrispsn/ff018…

k code (@kcodetweets) 's Twitter Profile Photo

How are primitive functions (such as 'count') like, or unlike, dictionaries? For example: - both can be indexed and inverse-indexed into - primitives have an infinite domain - primitive domain can be a general list - dictionary indexing is rank-sensitive

k code (@kcodetweets) 's Twitter Profile Photo

oantolin found a shorter way to write the k6 prime sieve discussed here - no raze or deep where! {x^/x*/:x}2+!100 gist.github.com/chrispsn/af684…

k code (@kcodetweets) 's Twitter Profile Photo

Flat ranges (f 3 2 => 0 1 2 0 1), same as ,/!': {(!+/x)-&(0 :':+\x)!x} Or if you have an occurrence count primitive: oc:{i-(i:<<x)x?x} oc@&: Reverse flat ranges (f 3 2 => 2 1 0 1 0), same as ,/|'!': {(&a!x)-1+!*|a:+\x}