Time based One Time Password in #Jlang
#jlang #arrayprogramming #apljk
Why J? (The programming language) https://code.jsoftware.com/wiki/Essays/WhyJ
#jlang #apljk
I discovered the ArrayCast #podcast this week and have enjoyed it tremendously.
Fun content for #programming #language nerds; positive and constructive perspectives; and soothingly orderly conversations where folks don’t interrupt each other 😌
#podcast #programming #language #apl #jlang #klang #forth #arrayprogramming
I'm a few days behind on #AdventOfCode, but in my defense I'm learning a language to do it. Here's Day 1 in... (no doubt terrible) #J #JLang:
```
split =: < ;. _2
data =. fread 'input'
lines =: split data
string_elves =: split (lines , (<''))
int_elves =: ". each each string_elves
sums =: +/ each (> each int_elves)
max =: >./ >sums
topthree =: +/ >(3 {. |. sort sums)
```
I just completed "Rucksack Reorganization" - Day 3 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/3
https://github.com/AshyIsMe/adventofcode/blob/main/adventofcode2022.ijs
#jlang #apljk
I had a go at explaining forks, hooks and cap in J:
https://gist.github.com/AshyIsMe/12449fb69ad23b5d74d8989b293fe09d
#jlang #apljk
@isaac_flath nice!
I'm doing it in J here:
https://github.com/AshyIsMe/adventofcode/blob/main/adventofcode2022.ijs
Well, I think it's time to re-watch Tracy Harms' J Programming Language talk again:
https://youtu.be/RWYkx6-L04Q
#jlang #apljk #array
A nice blog entry illustrating the power of the APL programming language by
unpacking a 1-line program of Conway's Game of Life
https://wordsandbuttons.online/apl_deserves_its_renaissance_too.html
But while they say in that article that APL deserves a renaissance as Lisp had
with clojure, it already has had its renaissance in the form of the language J,
which was also designed by Kenneth Iverson (and Roger Hui at the time and others
since), has all the expressiveness of APL but uses the ASCII character set.
It's also open-source. You can download it and access more information at
https://www.jsoftware.com if you are interested. #jlang
@Mr_n_wood Continue with a #clojure book I'm reading. See if I can model fixed points' dynamics for complex valued functions with #jlang and #viewmat. I'd succeeded in the past visualizing #vector #fields as complex matrices this way... I like stoicism btw and occasionally reread Aurelius' Meditations :) Good day!
#fields #vector #viewmat #jlang #clojure
#introduction time!
I enjoy #programming #languages esp. #clojure & #FunctionalProgramming in #lisp. I follow #zig and cyclically use #FactorLang #JLang #dart #ruby #TLAPlus. Also #LaTeX and am a wannabe #typography nerd.
I love #linguistics speak #russian & have studied #french #latin #greek #arabic and many more.
I spend hours a week singing in #byzantine #chant and making #piano & #woodwind #music
I'm a #husband #father & #orthodox #christian #priest but here focus on the above topics.
#introduction #programming #languages #clojure #functionalprogramming #lisp #zig #FactorLang #jlang #dart #ruby #tlaplus #latex #typography #linguistics #russian #french #latin #greek #arabic #byzantine #chant #piano #woodwind #music #husband #father #orthodox #christian #priest
This is a really interesting comparison of q/k and j:
https://scottlocklin.wordpress.com/2022/11/05/rando-q-vs-j-thoughts/
#apl #apljk #jlang #kdb
@okflo @ldbeth is #jsoftware the hashtag to use to find other J developers / users? or is it #jlang? or just #j ?
My son was asked to write down the prime numbers less than 50 yesterday (for reasons unknown) as one of his lockdown lessons for school. We used that as an opportunity for us both to learn about Eratosthenes and his sieve algorithm. I had the excuse to work out how to implement the sieve in J. For a little while he even seemed to be enjoying it. #jlang #homeschooling
ESieve =: [: (#~ [: */ [: -. [: 0&= =/~ + |/~) [: 2&+ [: i. <:
NB. ESieve 50
NB. 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47