Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
phantomics
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
phantomics
1y ago
Thanks, the utility of April was a big motivator as well, I used it in my Bloxl project ( https://vimeo.com/935602359 ). Still, one of the reasons I focused on it as much as I did was because I knew that if I couldn't ex
2.
▲
by
phantomics
1y ago
Gulp is no longer required for the new Seed but Node still is. Unfortunately some JS libraries like Codemirror are only set up to build with Node. Node is used only to build these libraries and plays no part in the runtime.
3.
▲
by
phantomics
1y ago
Hi everyone, developer here. Seed is not abandoned but its original codebase has been; it is now in the process of being rebuilt. You can check on its progress in the revival branch of the repo. Here is a quick video demo of the old Seed:
4.
▲
by
phantomics
3y ago
You either die an innovator, or you live long enough to see yourself become a Yahoo.
5.
▲
by
phantomics
3y ago
Nice little game. If your inspiration is Japanese '80s arcade shooters, it's worth taking a close look at them (and their 90s and 2000s sequels) to understood how they held the player's attention. A mistake I see in this game
6.
▲
by
phantomics
4y ago
Image processing is a fun use case. For example, here's a bit of Common Lisp using April and the Opticl library to create a mirrored meme image: (opticl:write-png-file "~/out.png" (april-c "2 0∘{(x s)←⍺←2 0
7.
▲
by
phantomics
4y ago
As an array language developer I may be a bit heretical in the community for my view that array languages are a domain-specific tool, not a general-purpose tool. They are the best by far in their niche of working with arrays, but they can b
8.
▲
by
phantomics
4y ago
I'm using APL to build graphics for a hardware startup. You can see an example of the device, called Bloxl, and its graphics in this video: https://youtube.com/watch?v=AUEIgfj9koc Related HN story: https://n
9.
▲
by
phantomics
5y ago
Great to reach this milestone with April. Since the linked YouTube presentation, its code base has changed by about 95%, I've fixed hundreds of bugs and added dozens of functions from Dyalog's online collection to its standard lib
10.
▲
by
phantomics
6y ago
This is something I go over in the video - an alloy of Lisp and APL works better than either language by itself. Lisp excels at creating semantic and logical patterns. Macros allow you to build reader-friendly data structures that transform
11.
▲
by
phantomics
6y ago
The pixels aren't singular values, the image is a height×width×3 array of 8-bit integers. The third dimension is the three RGB values for each pixel. The bulk of the string, the "(3⍴2*8)⊥3 1 2⍉⍵" part, converts the array into
12.
▲
by
phantomics
6y ago
Another option is to load APL source from a file. (april-load #P"/path/to/code.apl") Then you can have files of pure APL code with no Lisp hanging around.
13.
▲
by
phantomics
6y ago
Wouldn't be too hard to do, someone in the video suggested a #⎕ reader macro followed by APL. Like take '#⎕string' then expand that to '(april "string")'. But April has many ways of passing options and ext
14.
▲
by
phantomics
6y ago
April is usable within Common Lisp. When writing a CL program, you can invoke APL code on arrays. For example: (april-c "{⍴∪,(3⍴2*8)⊥3 1 2⍉⍵}" (opticl:read-png-file "/path/to/image.png")) This snippet uses
15.
▲
by
phantomics
6y ago
Since the video's quite long, here are some basics on April. Repo: https://github.com/phantomics/april April compiles APL to Common Lisp. It has almost all of the lexical functions and operators featured in Dyalog
16.
▲
by
phantomics
6y ago
Thanks for posting my presentation, April's been great fun to write.