filmov
tv
Interactive Programming with Clojure & Membrane

Показать описание
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 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
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! ♥️
Calva is an easy to use Clojure and ClojureScript IDE for Visual Studio Code.
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
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! ♥️
Calva is an easy to use Clojure and ClojureScript IDE for Visual Studio Code.
Комментарии