steve lee
Lambda Calculus: Represent in Clojure and Elixir
Lambda calculus is the main idea behind functional programming, a complete model for computation. There are a lot of documents and courses about lambda calculus on the Internet, so in this post, I'll not focus on lambda calculus in theory. I'll take a more practical approach - use specific languages to represent lambda expressions. Clojure and Elixir have been chosen due to their coherence and elegance of design.
Introduction
The λ-calculus is a language with three expression forms:
variable reference, e.g., v, foo;
function application, e.g., (f x), (f (g x)); and
function abstraction, e.g…
helloreader
rails jsbundling-rails 报错 想问下
<%= javascript_importmap_tags 'application' %>
<%= stylesheet_link_tag "application_tailwindcss", "data-turbo-track": "reload" %>
<%= stylesheet_link_tag "application_sass", "data-turbo-track": "reload" %>
<%= javascript_include_tag "application_esbuild", "data-turbo-track": "reload", type: "module" %>
我想importmap和jsbundling-rails同时工作,我思考下将jsbundling-rails生成的package.json进行修改,并在app/javascript/src下创建了一个application_esbuild.js
"build": "esbuild app/javascript/src/*.* --bundle --sourcemap --format=esm --outdir=app/assets/builds --public-path=/assets"
rails s 显示
不知道哪里路径出了…
busylog
resolve pk.fail and deploy Microsoft UEFI CA 2023 / KB5025885
check if affected by pk.fail in powershell (elevated), should return False:
[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI PK).bytes) -match "DO NOT TRUST|DO NOT SHIP"
if True, follow these steps...
step 0:
install Windows Update after 2024 July. prepare the bitlocker key if available or suspend bitlocker for several times (edit rebootcount).
Suspend-BitLocker -MountPoint "C:" -RebootCount 0
step 1:
download edk2-x64-secureboot-binaries.zip from https://github.com/microsoft/secureboot_objects
and extract *.bin to EFI partition.
step 2:
reboot to bios setup
(WARNING: this will erase all pk/kek/db/dbx entries, may…