/*
Examples used in talk about composition-instruments at the Notam SuperCollider meetup May 22nd 2024.
*/
/**************************************************
Part 1: Using vanilla SuperCollider classes
/*
Examples used in talk about composition-instruments at the Notam SuperCollider meetup May 22nd 2024.
*/
/**************************************************
Part 1: Using vanilla SuperCollider classes
There are various shenanigans around the Proxy API, including issues with Array.isArray and Object.ownKeys so that this gits purpose is to describe all the undocummented caveats to help anyone dealing with all possibilities this half-doomed API offers.
apply
and construct
traps won't work with it. If the object somehow wants to represent an array without being one, it's impossible to survive Array.isArray
brand check (it will be false
) and with ownKeys
the target needs to have a non configurable length
property or it will also fails once reachedThis gist is a simple no-brainer description of the 3 ways (actually 2.5) the Web handle events.
The declarative inline HTML event listener is mostly an indirection of DOM Level 0 events, meaning this simply uses the equivalent of tag.onclick = listener
behind the scene.
click me
Electric Clojure implements a form of arrowized continuous time dataflow programming with extensions for network-transparent function composition.
Common terminology found in across literature and implementations: | |
Page | |
Region of memory. Usually 4096, 8192 or 16384 bytes | |
Page Frame | |
Same as a Page but when talking about physical memory. Same size as a Page. | |
Page Table | |
Per virtual address space table mapping virtual addresses to Pages. | |
Page Directory | |
Like Page Table and is often the same thing. The first level of Page Tables. | |
PTE - Page Table Entry |
name: backup-mysql | |
on: | |
schedule: | |
# Run at 7:00 UTC every day | |
- cron: "0 7 * * *" | |
jobs: | |
run_mysqldump: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dump database |
By Richard Gabriel
I and just about every designer of Common Lisp and CLOS has had extreme exposure to the MIT/Stanford style of design. The essence of this style can be captured by the phrase "the right thing." To such a designer it is important to get all of the following characteristics right:
Simplicity-the design must be simple, both in implementation and interface. It is more important for the interface to be simple than the implementation.
This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/
the command zig run my_code.zig
will compile and immediately run your Zig
program. Each of these cells contains a zig program that you can try to run
(some of them contain compile-time errors that you can comment out to play
with)
package crdt | |
import ( | |
"fmt" | |
"os" | |
"sort" | |
"strings" | |
"testing" | |
) |