#APL

Dyalogdyalog
2026-02-02

2014-08: Write a function that returns the distance between two points in a space of any number of dimensions (see apl.quest/2014/8/ to test your solution and view ours).

2026-01-29

Tree processing in Array languages

asherbhs.github.io/apl-site/tr

(not the usual linked nodes)

2026-01-27

Hey euh, question CAF car je comprends pas un truc : je découvre qu'à partir de janvier, je passe de 252€/mois d'APL à 199€/mois "d'allocation logement sociale".

En gros je perdrais 50€/mois d'allocations car je passe sur une autre allocation "dédiée aux allocataires non éligibles à l'APL".

Sauf que j'ai rien dans ma situation qui expliquerait ce changement ? J'ai toujours 0€ de revenus, je suis toujours boursier, et j'ai les mêmes charges que les 6 derniers mois ?? 🤔

#APL #CAF #allocations

Dyalogdyalog
2026-01-26

2014-07: Write a function that takes the diameters of the stationary and mobile circles and returns the number of revolutions the mobile must traverse until the tangent points meet again (see apl.quest/2014/7/ to test your solution and view ours).

Elias Mårtensonloke@functional.cafe
2026-01-26

@jannem @Edent Interestingly enough, these languages originates from Ken Iverson's work on a notation for expression algorithms. This language (called APL) was not initially intended to be used on a computer, but for communication. This made it naturally terse, using symbols rather than words, because it was optimised for a blackboard rather than a terminal.

He invented some new notation that is used in maths today, including the symbols for floor and ceiling.

These days, I believe APL and its descendants (including Kap and BQN and others) are the only languages that actually use some variation of these symbols for the floor and ceil operations (in these languages, the symbols and are used.

So, to divide a by 2 and round down looks like this:

⌊a÷2

One thing Kap does which the other array languages do not is to allow the user to define functions, operators and even new syntax using glyphs that are not used by the language. Some functions in the language are defined in the standard library, and uses this technique.

#kap #apl #programming

2026-01-23

slate.com/human-interest/2013/ a fun piece with a nice conclusion: we need numbers, but not all of us, and not direly.

That’s in part why I’m using #ed(1) as my programming system: it has no numerics except line numbers! (And I can dispose of these too with marks and landmark search, mostly.) So doing any non-trivial task is not array indices and offsets—it’s text lines and meta calls.

We need a challenge to all these confusingly numeric languages, like #C or #JavaScript or #APL or #Haskell. Most of the programming languages are too preoccupied with numbers really! And that’s really unfortunate and self-restraining 😩

Solidaires Étudiant·e·s RennesSolidairesEtuRennes@syndicat.solidaires.org
2026-01-23

Maintien de la suppression des aides au logement pour les étudiant-e-s étranger-e-s. Derrière le 49.3, le racisme d'État.

Lecornu et le PS imposent de force une mesure discriminatoire et raciste.

framaforms.org/petition-contre

#493 #Lecornu #PS #racisme #APL

Page de couverture du communiqué avec écrit "Maintien de la suppression des aides au logement pour les étudiant-e-s étranger-e-s. Derrière le 49.3, le racisme d'État". En dessous du texte, il y une photo de Sebastien Lecornu et Olivier Faure. Le fond est rouge avec un motif de point gris.Seconde page du communiqué avec écrit "Le gouvernement a activé l'article 49.3 sur le budget de l’État pour l'année 2026, dans une version modifiée négociée avec le mal nommé parti "socialiste", hors de toute procédure démocratique. Niveau dépenses, si ce budget présente une légère inflexion sur la prime d'activité et une victoire sur le repas à 1€ pour tous-tes les étudiant-es, il ne faut pas se réjouir trop vite : le budget de la vie étudiante est en nette baisse par rapport à l'année écoulée. Donc les CROUS devront saborder la qualité de service pour encaisser le coût du repas à 1€. Profitons bien de nos repas à 1€ avec une asperge et un demi yaourt nature ! Nous luttons au niveau de l'Etat depuis novembre avec tous les syndicats mobilisés : Solidaires, la CGT, la FSU, ainsi que les organisations de la société civile et de toutes les professions, qui luttent contre les mesures racistes, tandis que les partis politiques d'opposition se font balader par le macronisme."Troisieme page du communiqué avec écrit "Nous avons mené en novembre et en décembre une campagne sur la suppression des Aides personnalisées au logement (APL) pour les étudiant-e-s étranger-e-s non boursier-es et extra-européen-nes, soit 300 000 d'entre nous, déjà parmi les plus précaires, privé-es de l'égalité des droits face au logement. Malgré notre pétition et les efforts nationaux de la Marche des Solidarités pour éliminer les mesures xénophobes de ce budget, cette mesure scandaleuse n'a pas été retirée du projet final que Lecornu et le PS nous imposent de force. Le PS a depuis longtemps abandonné l’antiracisme. Cette mesure d'économies de bouts de chandelles était pourtant facile à combattre, et était probablement la plus scandaleuse pour les étudiant-es. Le repas à 1€ ne sauvera pas le pouvoir de vivre des étudiant-es étranger-es, toujours inéligibles au Dossier Social Étudiant (DSE) avant 2 ans de présence sur le territoire et une longue démarche, et qui feront face désormais à des loyers beaucoup plus chers."Dernière page du communiqué avec écrit "Nous revendiquons toujours : L'égalité des droits sociaux : Droit au DSE, donc aux bourses sur critères sociaux, aux logements CROUS, dès l'arrivée sur le territoire ; Le droit aux APL quelle que soit la nationalité de l'étudiant-e ; La liberté de circulation et d'installation de toustes les étudiant-es ; 1 carte étudiante = 1 titre de séjour automatique ; La reconnaissance des diplômes quelque soit le pays d'origine. Étudiant-es étranger-es, vous n'êtes pas seul-es ! Pour vous aider à vous loger, contactez Solidaires ! Pour exiger la censure du gouvernement sur le vote de ce budget raciste, signez la pétition en bio !"
Dyalogdyalog
2026-01-23

Learn APL and compete for one of three $100 prizes! There's only one week left to enter the 2025.4 round of the APL Challenge. See challenge.dyalog.com/ for more information and to enter.

A free-to-enter competition that could change the way you think...and win you $100
Dyalogdyalog
2026-01-22

UPDATE: The postponed meeting has been rescheduled for Monday 2 February (17:00-19:00 local time).

If you're in Toronto, on Monday 26 January and looking for something to do between 17:00 and 19:00, you could join an array programming meetup that Conor Hoekstra is hosting at Toronto Metropolitan University.

Info: meetup.com/programming-languag

Array Programming Meetup, Monday 26 January
GripNewsGripNews
2026-01-22

🌘 頌揚 APL:為詩意編程而生的語言
➤ 為何 APL 能讓初學者在十六週內掌握計算機科學的精髓
jsoftware.com/papers/perlis77.
耶魯大學教授 Alan J. Perlis 於本文中闡述,為何 APL 是計算機科學初學者最理想的首選語言。他認為,程式設計的學習本質在於透過不斷的撰寫與實作來覺醒對計算可能性的認知,而非僅依賴現成的套件。APL 憑藉其簡潔性(Terseness)、靈活性(Flexibility)與組合性(Composability),能讓學生以極短的程式碼(常僅需數行)表達複雜的演算法與概念,從而快速建立信心並深入理解軟硬體架構。這種「詩意」的編程風格,讓學生能專注於問題解決本身,而非受限於繁瑣的語法,最終達成真正的人機協作(Symbiosis)。
+ 「教授的觀點在當今依然適用,特別是當我們被龐大的開發框架淹沒時,APL 強調的『用最少的程式碼表達最多邏輯』確實是程式設計的核心。」
+ 「雖然 APL 的語法對現代人來說有些陌生,但它對陣列運算與向量化思維的

N-gated Hacker Newsngate
2026-01-22

👨‍🏫 Ah, the , when was the "lyrical" language of choice, and thought everyone needed a crash course in computer science to grasp life's mysteries. 🤓 Because who doesn't want to wax poetic about composition while pondering the "devotion" of computer scientists? 🎶
jsoftware.com/papers/perlis77.

2026-01-22
How easy it is to construct an APL or K-like programming language

(by Mohammed Jamal Alrujayi)

This was an amazing article I found on the orange site published just last week. He notes that although APL and K are of the Harvard school of languages, while Lisp is of the MIT school, they are fundamentally related in their minimalism and in how the languages are structured around a single data type: Lists for Lisp, and vectors/matrices for APL. The two schools of thought were unified in the K programming language by Arthur Whitney:

On kparc.com (his personal website) he listed K’s lineage simply as “lisp and apl,” linking to Iverson’s Turing paper and Perlis’s lyrical programming.

I didn’t know much about Iverson’s family of languages (#APL, J, #BQN, K, and so on), but seeing it embedded in just a few lines of code in a high-level language like #Python suddenly makes it so much easier to understand. The syntactic keywords are basically composed of either infix operators of mapping operators, the data (constants or variables) are like leaves of the syntax tree. So all you need are three lambdas: “atom” checks if it’s argument is a number, monad serves as apply or map depending on the type of it’s arguments and abstracts it into a lambda, and “dyad” constructs an infix operator abstracted into a curried lambda. You only need those three rules!

atom = lambda x: isinstance(x, (int, float, str))
monad = lambda f: lambda x: f(x) if atom(x) else list(map(monad(f), x))
dyad = lambda f: (lambda x, y: f(x, y) if atom(x) and atom(y)
  else list(map(lambda yi: dyad(f)(x, yi), y)) if atom(x)
  else list(map(lambda xi: dyad(f)(xi, y), x)) if atom(y)
  else list(map(lambda xi, yi: dyad(f)(xi, yi), x, y)))

Now I definitely want to try this as Scheme macros!

#tech #software #Lisp #APL #KProgrammingLanguage #JProgrammingLanguage #ProgrammingLanguages #PLT

Dyalogdyalog
2026-01-19

2014-06: Write a function that takes an integer vector representing the sides of a number of dice and returns a 2 column matrix of the number of ways each possible total of the dice can be rolled (see apl.quest/2014/6/ to test your solution and view ours).

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst