ok
adventofcode
ok | adventofcode | |
---|---|---|
30 | 55 | |
576 | 20 | |
- | - | |
4.2 | 7.8 | |
6 months ago | 4 months ago | |
JavaScript | Elixir | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ok
- Trees
- Programming in K
- k on pdp11
-
Origins of J
This - https://github.com/JohnEarnest/ok - can also be used sometimes...
- Trees in K
-
Coding in the Shadows: Hidden Gems of Lisp, Clojure, and friends
If you want to try out K, there are some open source implementations, like John Earnest's oK which has a REPL and a calculator-like interface for mobile phones with a charting feature.
-
Why Lisp Syntax Works
and have the programmer use the word "barchart", they instead prefer to use the definition itself. The word "barchart" has a specific meaning (here, an ascii "bar chart" of 0s and 1s, showing the relative sizes of the values of input array x), but "{x>\:!|/x}" might be useful for more than just bar charts. This idiom contains smaller idioms like "count til max" (!|/) which in turn contains "max" (|/).
Being able to see the code makes it easier to explore and tweak to your specific needs. But more importantly, there are no "official" names for concepts like "count til max". That's just my personal name for it. A python programmer would call it "range". You could come up with your own name for (!|/) that makes perfect sense to you. But that name will probably be longer than its definition, and less flexible.
[1] https://github.com/JohnEarnest/ok/blob/gh-pages/examples/idi...
-
Animated unknown pleasures in 3 lines of K
check out oK[0] by John Earnest, who is the author of the content of this post
it is well-written manual and is a great jumping off point
there is a k-enthusiast element.io server[1] where you can ask any question you like. folks are friendly!
[0] https://github.com/JohnEarnest/ok
[1] https://matrix.to/#/#aplfarm-k:matrix.org
- APLcart – Find your way in APL
adventofcode
-
-❄️- 2023 Day 10 Solutions -❄️-
Part one went fairly fast, but spent quite some time on getting part two right. I settled on the approach of just iterating over the grid and using a boolean to see if I had to count elements or not. However, I had some issues figuring out when to swap, this post by /u/rogual helped me figure it out. After that I lost quite some time on an error that only occurred with my input, not with the example input. It turned out that my loop (which I take form my p1 solution) didn't include the start node, which caused all sorts of counting issues.
-
-❄️- 2023 Day 4 Solutions -❄️-
[Language: Elixir] https://github.com/mathsaey/adventofcode/blob/master/lib/2023/4.ex
- -🎄- 2022 Day 25 Solutions -🎄-
- -🎄- 2022 Day 24 Solutions -🎄-
- -🎄- 2022 Day 23 Solutions -🎄-
- -🎄- 2022 Day 22 Solutions -🎄-
- -🎄- 2022 Day 21 Solutions -🎄-
- -🎄- 2022 Day 20 Solutions -🎄-
- -🎄- 2022 Day 19 Solutions -🎄-
- -🎄- 2022 Day 18 Solutions -🎄-
What are some alternatives?
weblog - a weblog
AdventOfCode2021 - Advent of code 2021
Kbd - Alternative unified APL keyboard layouts (AltGr, Backtick, Compositions)
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
Co-dfns - High-performance, Reliable, and Parallel APL
adventofcode - Answers to Advent of Code
Pilot - Orca's best friend.
aoc2021 - Advent of Code 2021 - my answers
brs - An interpreter for the BrightScript language that runs on non-Roku platforms.
rockstar - The Rockstar programming language specification
april - The APL programming language (a subset thereof) compiling to Common Lisp.
roast - 🦋 Raku test suite