Interactive Programming with Clojure & Membrane
Автор: CalvaTV
Загружено: 2023-10-18
Просмотров: 2984
A demo of interactive programming, composing an image for Twitter/X sharing images that show the article information that nowadays is missing from the feeds. I also create the thumbnail used for this video.
The project used for the video: https://github.com/PEZ/x-meta-image (Includes the code for creating the Youtube thumbnail.)
The main tools used are Clojure and the UI library Membrane. No Clojure knowledge required. I demo how to use Calva to start the REPL and connect VS Code.
00:00 The tools used, the demo/playground project
01:10 The problem statement for the app being built
02:15 Usage information
02:50 Opening the project
03:10 Starting the REPL
03:53 Opening the main file compose.clj
04:02 Loading/Evaluating the file: Ctrl+Alt/Option+C Enter
04:41 Introducing the Playground (the Rich comment form)
05:39 Evaluating top level forms (named functions, namespace variables): Alt+Enter
06:23 Evaluating any form/expression: Ctrl+Enter
07:05 Evaluating top level Rich Comment forms (also Alt+Enter)
08:42 Introducing the main thread expression (a pipeline of sorts) producing the image
11:35 Evaluating the pipeline in steps
12:30 Looking at the functions, saying hello to Membrane
17:30 Controlling the JPEG compression level
20:35 Going full monty on Interactivity with a Membrane dev app
24:09 Inspecting the running application using ”inline def”
25:10 Deciding to create the Youtube thumbnail with the code
27:56 Adding the Clojure logo to the thumbnail
31:37 Showing a non-recommended way to export the contents of the app so that VS Code can show it
34:18 Wrapping up, summarizing Interactive Programming
35:35 Asking you to Like & Subscribe! ♥️
https://github.com/phronmophobic/memb...
https://github.com/babashka/fs
X/Twitter post with the problem statement leading me to create these overlayed sharing images.: / 1709966906403533013
Calva is an easy to use Clojure and ClojureScript IDE for Visual Studio Code.
https://calva.io/
https://github.com/BetterThanTomorrow...
https://marketplace.visualstudio.com/...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: