The APL Orchard

apl.chat ― Learn, teach, ask, code, golf, & discuss usage. See ...
yst 12:20 PM
@RubenVerg Problem is the logs of who accessed what and when.
yst 12:09 PM
Still, I personally like to abide by it out of respect for other people's privacy.
yst 12:08 PM
@RubenVerg Ah, thank you, TIL that The regulation does not apply to the processing of data by a person for a "purely personal or household activity and thus with no connection to a professional or commercial activity."
yst 12:02 PM
@RubenVerg unpkg.com? (which btw, makes you in breach of GDPR)
yst 11:53 AM
I believe it is all homemade. afaik, it is just a table lookup in a table Unicode provides.
yst 11:51 AM
⎕C was intentionally designed to be extensible to such mapping.
yst 11:51 AM
Also case mapping isn't a to-one operation. Unicode specifies multiple systems. This one (and what we currently have in ⎕C) is length-preserving, but sometimes it is more correct to not preserve length, e.g. ßSS
yst 11:50 AM
@RubenVerg Yes, except for code.
yst 11:49 AM
⌈⌊Y ←→ ⌊Y for numbers
yst 11:48 AM
Not sure which styles, but I see nice syntax colouring.
yst 11:47 AM
@RubenVerg Note that case mappings on and are philosophically insconsistent as the operations are not idempotent with respect to each other, as opposed to and on numbers. Also, your | is overly simplistic; it maps Cherokee to lowercase rather than uppercase. Case folding is a distinct operation and cannot be expressed in terms of case mapping.
yst 11:38 AM
@RubenVerg "differring" has a doubled "r"
Fri 11:45 AM
@B.Wilson I think they technically are "available" but have no valid domain, which Dyalog has a tendency to call a "syntax" error, e.g. (1∘1)42
Wed 9:09 AM
I believe ⎕NSI predates ⎕RSI which is why some old code might have ⍎⊃⎕NSI instead of ⊃⎕RSI
Wed 9:09 AM
@B.Wilson Most likely, although a system (e.g. Link) can require all relevant namespaces to be abide by ns≡⍎⍕ns.
Wed 9:08 AM
      ⎕CS # ⋄ f←{⎕NSI ⎕RSI} ⋄ ⎕CS () ⋄ ⎕DF 'xyz' ⋄ #.f⍬
  #.[Namespace]    xyz
Wed 9:06 AM
I believe there can be additional problems. There might not be an executable "path" to a given namespace, so there's nothing you can feed to get a ref. I almost exclusively use ⎕RSI
Wed 9:05 AM
And display form-ed ones.
Wed 9:03 AM
Oh, actually, ⎕NSI isn't ⍕¨⎕RSI either, as the latter uses the namespaces' display forms.
Wed 9:01 AM
(also, it'd be ⍎¨⎕NSI as ⎕NSI is a vector of namespace representations)
Wed 9:01 AM
      f←{⎕NSI} ⋄ ⎕CS () ⋄ #.f⍬
 #.[Namespace]
Wed 9:01 AM
@B.Wilson It does, but ⎕NSI might not return the name of a reference, e.g. since the reference might not have a name:
Wed 8:20 AM
@B.Wilson No. ⎕NSI is ⍕¨⎕RSI
Nov 26 10:37 PM
Both and behave at times like proper functions (the latter even like a hybrid), and maybe that's bad, but it can occasionally be usefully exploited.
Nov 26 10:36 PM
And yet, it works.
Nov 26 3:01 PM
Implementing a sysfn model with a 5-train FTW!
Nov 26 3:00 PM
 ∆STOP←∆STOP  ⍝ Extended ⎕STOP allowing Boolean right arg to stop here now
 ∆STOP←,⍥⊂{         ⍝ pass args as list
     old←''≡0⍴⊃⍬⍴⌽⍺ ⍝ existing behaviour of ⎕STOP?
     mon←1=≢⍺       ⍝ monadic call?
     old∧mon:⍵      ⍝ pass-through result from ⎕STOP
     old:_←⍵        ⍝ pass-through shy result from ⎕STOP
     ⍬≡⍵:_←0        ⍝ shy echo
     1(86⌶)'→',⍕⍵   ⍝ re-run this line
 }{
     ⍺←⊢
     ''≡0⍴⍵:⍺⊣⎕STOP ⍵  ⍝ existing behaviour of ⎕STOP
     2=40 ⎕ATX'⍺':⎕SIGNAL⊂('EN' 11)('Message' 'Boolean right argument conflicts with dyadic call')
Nov 26 2:59 PM
Unfortunately, uncommenting the resignalling line (somehow!) breaks the KeyPresses, so I had to come up with a whole different, and even more intricate, approach that doesn't feature ←→:
 

 The Nineteenth Byte

The Nineteenth Byte: General discussion for codegolf.stackexc...
Wed 4:20 PM
This one seems hard, though, imo.
Wed 4:20 PM
CMCs are always on-topic, imo.
Wed 4:07 PM
yeah, phew, tough questions discussed, but people should stay civil
Wed 4:01 PM
i think they would; i've seen challenges get a lot of attention due to timing.
Wed 3:57 PM
30
Q: Easier communication means faster coding means fewer coders means …

AdámMy father who was a really good APLer and taught me all the basics of APL (and much more), passed away on this day, five years ago. In preparation for 50 Years of APL, I found this patent letter (translated for the convenience of those who do not read Danish) for a handwritten logo. It explains a...

Wed 3:57 PM
it is fine and not required. I published this on the 5th anniversary of my father's death:
Wed 3:46 PM
20
A: What happened to the memes page?

DennisFor those who can't see deleted posts: I deleted the memes question. However, I didn't act unilaterally; this decision was made by the moderation team. While it wasn't the best fit for a Meta question, it was locked and doing no harm to the community. Unfortunately, we disagree with the sec...

Wed 3:36 PM
For those that have the rep:
Wed 3:31 PM
(see the stars and responses there — it became a significant PPCG/CGCC meme)
Wed 3:30 PM
Sep 22, 2015 at 3:19, by Alex A.
@PhiNotPi hello i have quetions how does juice an avocado i have try for thirtee minut and no juic
Wed 3:30 PM
Also:
Wed 3:29 PM
there's nothing more to view
Wed 3:23 PM
i was just mindlessly listening along and then I went "wait, what‽"
Wed 3:22 PM
@Ginger my 1yo did
Wed 3:22 PM
@Ginger no, why?
Wed 3:17 PM
Whoa, confirmed:
 

 English Language & Usage: Multi-Layer

Not for the faint of heart or those easily triggered by Englis...
Wed 11:39 AM
"Identity Document" which fits in many contexts like "They weren't carrying any ID" and therefore all the examples and statistics are useless. However, when referring to identity that isn't a document, "ID" seems wholly inappropriate.
Wed 11:36 AM
ID or its variants may refer to: Identity document, a document used to verify a person's identity Identifier, a symbol which uniquely identifies an object or record == People == I. D. Ffraid (1814–1875), Welsh poet and Calvinistic Methodist minister I. D. McMaster (1923–2004), American assistant district attorney I. D. Serebryakov (1917–1998), Russian lexicographer and translator == Places == İd or Narman, a town in Turkey Idaho, US (postal abbreviation ID) Indonesia, ISO 3166-1 alpha-2 country code "ID" Indonesian language, ISO 639-1 language code "ID" == Arts, entertainment, and media == �...
Wed 11:36 AM
I don't like the answers here ↑ as per Wikipedia:
Wed 11:36 AM
5
Q: Different forms of the abbreviations for "identification"?

dtingWhich of the following are correct? right wrong ID [x] [ ] i.d. [x] [ ] I.D. [ ] [ ] Id [ ] [ ] I.d. [ ] [ ] id [ ] [ ] Marked the ones I found on dictionary.com And what are the correct pluralized versions?