News for hackers. Stuff that matters.
Re:GNU APL 1.8 by sizzzzlerz on Sunday June 23, 2019 @12:04PM (#20256468)
When I was a young lad, the ink on my EE degree still wet, I worked with an older gentleman with a PhD, who used APL on an exotic computer with what looked to me like Sanskrit symbols (or space alien, for all I knew) on the keys. He gave me a couple tutorials but I never could wrap my brain around it. I lost interest and hadn't heard anything about APL for decades until now.

I am curious how the symbols used in the language are mapped onto a standard keyboard. Also, does anyone use APL in battle or is it mostly an academic toy?

Re:GNU APL 1.8 by lelf on Sunday June 23, 2019 @04:07PM (#20258346)
> how the symbols used in the language are mapped onto a standard keyboard

It’s more-or-less standard mapping (across APL implementations)

  $ apl

        ]keyb
  US Keyboard Layout:

  ╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
  ║ ~  ║ !⌶ ║ @⍫ ║ #⍒ ║ $⍋ ║ %⌽ ║ ^⍉ ║ &⊖ ║ *⍟ ║ (⍱ ║ )⍲ ║ _! ║ +⌹ ║         ║
  ║ `◊ ║ 1¨ ║ 2¯ ║ 3< ║ 4≤ ║ 5= ║ 6≥ ║ 7> ║ 8≠ ║ 9∨ ║ 0∧ ║ -× ║ =÷ ║ BACKSP  ║
  ╠════╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦═╩══╦══════╣
  ║       ║ Q  ║ W⍹ ║ E⋸ ║ R  ║ T⍨ ║ Y¥ ║ U  ║ I⍸ ║ O⍥ ║ P⍣ ║ {⍞ ║ }⍬ ║  |⊣  ║
  ║  TAB  ║ q? ║ w⍵ ║ e∈ ║ r⍴ ║ t∼ ║ y↑ ║ u↓ ║ i⍳ ║ o○ ║ p⋆ ║ [← ║ ]→ ║  \⊢  ║
  ╠═══════╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩═╦══╩══════╣
  ║ (CAPS   ║ A⍶ ║ S  ║ D  ║ F  ║ G  ║ H  ║ J⍤ ║ K  ║ L⌷ ║ :≡ ║ "≢ ║         ║
  ║  LOCK)  ║ a⍺ ║ s⌈ ║ d⌊ ║ f_ ║ g∇ ║ h∆ ║ j∘ ║ k' ║ l⎕ ║ ;⍎ ║ '⍕ ║ RETURN  ║
  ╠═════════╩═══╦╩═══╦╩═══╦╩═══╦╩═══╦╩═══╦╩═══╦╩═══╦╩═══╦╩═══╦╩═══╦╩═════════╣
  ║             ║ Z  ║ Xχ ║ C¢ ║ V  ║ B£ ║ N  ║ M  ║ <⍪ ║ >⍙ ║ ?⍠ ║          ║
  ║  SHIFT      ║ z⊂ ║ x⊃ ║ c∩ ║ v∪ ║ b⊥ ║ n⊤ ║ m| ║ ,⍝ ║ .⍀ ║ /⌿ ║  SHIFT   ║
  ╚═════════════╩════╩════╩════╩════╩════╩════╩════╩════╩════╩════╩══════════╝
Re:GNU APL 1.8 by Vivtek on Sunday June 23, 2019 @12:11PM (#20256510)
Languages descended from APL are very popular among the financial engineering set.
Re:GNU APL 1.8 by xvilka on Sunday June 23, 2019 @01:17PM (#20257049)
Do you have any examples or links to confirm that?
Re:GNU APL 1.8 by risubramanian on Sunday June 23, 2019 @01:27PM (#20257145)
Check out K, Q, and KDB
Re:GNU APL 1.8 by andylynch on Sunday June 23, 2019 @01:30PM (#20257172)
Parent is almost certainly referring to KDB https://kx.com/
Re:GNU APL 1.8 by jjtheblunt on Sunday June 23, 2019 @02:02PM (#20257446)
look up arthur whitney and kx.com, and their Q language for their kdb+ database. Various opensource versions are active.
Re:GNU APL 1.8 by Volt on Monday June 24, 2019 @07:21PM (#20269562)
There's no open source version of kdb+.
Re:GNU APL 1.8 by frostburg on Sunday June 23, 2019 @01:29PM (#20257169)
A similar language is used for kdb+.
Re:GNU APL 1.8 by coldtea on Sunday June 23, 2019 @02:10PM (#20257521)
They are used (K and such). "Very popular" they are not.
Re:GNU APL 1.8 by ncmncm on Sunday June 23, 2019 @02:48PM (#20257809)
I visited a top floor of Goldman Sachs in the early 90s. They were using J, a dialect of APL. They still had those dumb little Bloomberg cube terminals on their desks, with the angry-fruit-salad colors scheme.

Nowadays it's in a window, but it looks the same. I don't know if they still use J, or K, but anyway not in real-time. That happens on FPGAs in a rack where traders once roamed.

But while APL cannot be said to be very popular, the most popular "time-series database" used in finance is published by APL fananics.

Re:GNU APL 1.8 by achamayou on Sunday June 23, 2019 @04:00PM (#20258311)
No they don't, GS strats have overwhelmingly used Slang/SecDB for many years now.
Re:GNU APL 1.8 by ncmncm on Monday June 24, 2019 @11:37AM (#20264585)
I have had no contact with GS for 25 years, but KDB is unaccountably popular in other places on the Street.

The specialized time-series database lost much of its reason to exist when disk seek times went to zero. Nowadays you stage onto an SSD, and spool to rotating storage later, if at all.

Re:GNU APL 1.8 by achamayou on Monday June 24, 2019 @03:33PM (#20267519)
They vastly exaggerate their popularity, helped by the lack of publicly available information. The number of quants writing q is dwarfed by those writing Python, Scala or even Slang.

First Derivatives’ revenue last FY was ~200m and their pre-tax profit is ~17m. To say that they are unaccountably popular on the Street is quite an overstatement.

Re:GNU APL 1.8 by ncmncm on Monday June 24, 2019 @09:44PM (#20270460)
Last time I went interviewing, I found places who admitted using it. $200M revenue is nothing to sneeze at, for strictly optional infrastructural software.
Re:GNU APL 1.8 by scottlocklin on Sunday June 23, 2019 @07:40PM (#20259454)
I guess first derivatives just flushed 100 million bucks down the toilet then. Maybe you should send Conlon an email.
Re:GNU APL 1.8 by coldtea on Monday June 24, 2019 @04:02AM (#20261407)
Or maybe people should learn not to extrapolate from anecdotes and outliers, as if what a single company does means anything for a huge sector...
Re:GNU APL 1.8 by kd0amg on Sunday June 23, 2019 @01:02PM (#20256913)
For coding in APL, I just switch to an alternate keymapping (Dyalog has one available for free).