Here is an edited transcript.
User
Claim: thread pools are ONLY needed when one creates a variable number of threads but wants to cap the maximum number. Agree or disagree or clarify. Explain.
This release brings major performance improvements to tensor operations, particularly in matrix multiplication and convolution, along with experimental ROCm/HIP and SPIR-V support enabled by CubeCL runtimes. It also introduces foundational features for multi-backend compatibility and adds new quantization operations.
Support for ONNX models has been expanded, with additional operators and bug fixes for better operator coverage.
As with previous releases, this version includes various bug fixes, further performance optimizations, new tensor operations, and enhanced documentation.
Consider this code. Please pay attention to how .style()
derives from element
. The rest is not important for the point I'm hoping to make here.
/// Centers `element` horizontally and vertically inside `canvas`.
/// Returns a `Node` struct containing the calculated position and dimensions
/// of the repositioned `element`.
pub fn center_element(element: &HtmlElement, canvas: &Canvas) -> Node {
let dim = bounding_client_dim(element);
let pos = centered_pos(&dim, &canvas.dim);
{
{% macro google_fonts(families) %} | |
<link rel="preconnect" href="https://fonts.googleapis.com"> | |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
{% set prefix = "https://fonts.googleapis.com/css2?" -%} | |
{% set s = "" -%} | |
{% for family in families -%} | |
{% if loop.index0 > 0 -%} | |
{% set_global s = s ~ "&" -%} | |
{% endif -%} | |
{% set_global s = s ~ "family=" ~ family -%} |
use std::net::IpAddr; | |
use axum::http::HeaderMap; | |
#[derive(Debug, thiserror::Error)] | |
pub enum IpHeaderError { | |
#[error("`CF-Connecting-IP` header is missing")] | |
MissingHeader, | |
#[error("`CF-Connecting-IP` header contains invalid characters")] |
ChatGPT 4.0 transcript on 2023-09-18
Are you familiar with the cognitive science / neuroscience theory that consciousness is a simulation error-corrected by our senses?
What is this theory called? / In what academic disciplines is it situated? / When was it first proposed? / Please comment on how well it has or has not been adopted.
Note: Paul is one of the founders of the Unison Language.
Dear Paul,
You closed Discussion #9 on the Unison GitHub forum. This prevented me from replying there, so now I'm writing here.