In case you're curious, these custom blocks are freely available at: github.com/PsionicAlch/...
Still setting everything up, so it might be a little broken depending on when you look.
In case you're curious, these custom blocks are freely available at: github.com/PsionicAlch/...
Still setting everything up, so it might be a little broken depending on when you look.
Got the runtime API designed. Outside of timelines, full scroll trigger, and full stagger support everything else in GSAP core should be covered.
#wordpress #gutenberg #gsap
The plan is to wrap GSAP in a runtime that uses data-* attributes. So something akin to AlpineJS or HTMX but specifically for animations.
Then expose the data-* attributes in WordPress as attributes on the custom block.
I plan to even have timelines working.
#wordpress #webdev #gsap
Just got done creating a proof-of-concept custom WordPress block.
I wanted all the power of GSAP in WordPress but I refuse to pay to for it. So I ended up paying in time. ๐คฃ
#webdev #wordpress #gsap
๐ฏ๐ฏ๐ฏ
But very fun and makes me feel smart ๐ค
Crafting Interpreters by Robert Nystrom
#programming
What on earth is HR smoking?
"like a tree ready for wiring to discover the bonsai within" ๐คฃ
Also, why is Python getting used for the frontend!?
#jobhunting
Recursion + Collector functions are absolutely breaking my brain ๐๐คฏ
#programming #lisp #scheme
The cool thing about Lisp is that it's naturally obfuscated ๐คฃ
#programming #scheme #lisp
Recursion for the win!
#programming #scheme #lisp
Programming languages are just Turing-complete configuration formats for their compilers/interpreters that tell them what to generate.
#programming
I am blown away by "The Little Schemer" by Daniel P. Friedman and Matthias Felleisen.
Instead of taking the typical academic approach of throwing definitions at you it trains your pattern recognition via small questions and answers.
#lisp #scheme #programming
On today's episode of bot-watch news: "Bots are beating cancer". Brought to you by Threads' algorithm
#bots
"Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp." - Greenspun's tenth rule of programming
I got nerd sniped by @tsoding.bsky.social.
Site generation with C templates: hanion.dev/post/mite/
You're right. This was just the first time I've ever seen an example where you create a router without the typical OOP wrapper. It's nice to see such a clear cut between data and the functions that act on the data.
It's reasons like this that I believe learning programming from a generalist approach is so extremely important. You get to see many different view points. You get to see the same problem solved in dozens of unique ways.
Specialization leads to tunnel vision.
#programming
I never considered creating a router as nested arrays. I mean it's a good way to internally represent a router but I'm so used to seeing routers in a more OOP style of programming where you create a router instance.
#webdev #clojure
The past got a lot of things right
"To make an analogy with mathematics, understanding a few fundamental theorems and their implications is far more useful than rote memorization of specific formulas." - Web Development with Clojure
#programming
You having some PHP LAMP stack nostalgia? ๐
This meme is dedicated to every snowflake that I triggered on Threads ๐คฃ
#programming #meme
Personally I think langs like Clojure, and Elixir are actually quite popular. In fact I would put both of them on par with Go's popularity. I have stumbled upon a whole bunch of langs less popular
Yeah, from what I have seen new features basically only ever come from the indie langs. Take Koka lang and their experimentations into Effect Types: koka-lang.github.io/koka/doc/ind...
The mainstream languages only really ever adopt new features once they're properly tested and "safe"
I also love that part of Go. But IMO Scheme does it better. The R7RS-small spec requires only a minimal core of orthogonal features, but they're so powerful that anything else can be built as libraries - including Go-style concurrency (see Guile Fibers).
It's not a unique feature to Go though. Clojure has green threads and channels as well (in fact Clojure has better buffered channels). Erlang/Elixir also has green threads with message passing between isolated processes. Guile has Go style threads via a library. codeberg.org/fibers/fibers