IIRC Bron (dearly missed) used to have a page on Jems (= gems in J), https://code.jsoftware.com/mediawiki/index.php?title=Essays/Jems&action=edit&redlink=1 but it is non-existent. On https://code.jsoftware.com/wiki/User:Dan_Bron he has (links included)
An Essay on Jems: J-gems. Examples will include ASCII art, ZigZag order, evolutes and involutes, EwartShaw's gorgeous solution 5 to the 17014... Puzzle (i.e. that (<:@^^:^~2x) -: <:2^127x), Arie Groeneveld's Fibonacci rabbit sequence (,#;._1)^:(]`1:), RE Boss' improvement to comb, Statisical correlation expressed as (+/@:* % *&(+/)&.:*:)&(- +/%#) (I thought I invented it but turns out Oleg has priority), f`g;.1~ 1, 2 ~:/\ h, particularly where g involves $: (see REB's use case and potential for generalization) and more. R.E. Boss > -----Oorspronkelijk bericht----- > Van: Chat <[email protected]> Namens Raul Miller > Verzonden: zaterdag 14 maart 2020 20:04 > Aan: [email protected] > Onderwerp: Re: [Jchat] J "like-wow"s? > > I you might convey a bit of advice: I would ask her to pace herself. > There's a lot of work and abstraction behind the language and absorbing it > probably means something like a half hour a day, several days a week, for a > number of years. And, some naps... > > Or, that's how I picked it up... > > Anyways, here's one that I like: > > thru=: <. + i.@(+*)@-~ > > Examples might include 10 thru 20 or 100 thru 95. > > Usually, though, you would accomplish those examples with 10+i.11 or 100- > i.6 > > Thanks, > > -- > Raul > > On Sat, Mar 14, 2020 at 12:16 PM 'PMA' via Chat <[email protected]> > wrote: > > > Hi, J gurus -- > > > > I hazarded to regale a non-programmer friend with J's (+/i.1000000). > > She loved this, so I've followed with a link to NuVoc, and now she > > loves that! > > > > So I want to ask, could y'all suggest a list of maybe a dozen favorite > > J one-liners, that I could send too? > > > > (Somewhere, I've still got one for APL from eons ago.) > > > > I know you're busy. Thanks in advance. > > > > Pete > > ---------------------------------------------------------------------- > > For information about J forums see > http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
