Clean Air Delivery Rate per person - How much clean air do we need to feed into a room?
| Location | m3/hr/person |
|---|---|
| Dining | 102 |
| Gym | 136 |
| Classroom | 68 |
| Convention | 102 |
| //! This module handles the conversion from `Pollable` -> `Future`. We do this | |
| //! by creating an equivalent implementation to the `polling` crate. Once | |
| //! https://github.com/smol-rs/polling/issues/102 has been resolved, this module | |
| //! will likely no longer be needed. | |
| use slab::Slab; | |
| use std::mem; | |
| use wasi::io::poll::{poll, Pollable}; | |
| /// Waits for I/O events. |
Concurrency is a system-structuring mechanism, parallelism is a resource. (ref)
There's an important distinction between "parallelism" as a resource, and "parallel execution". The two are often confused, but they are in fact distinct. The key separator is "concurrency":
| no parallelism | has parallelism | |
|---|---|---|
| no concurrency | sequential execution | sequential execution † |
| has concurrency | concurrent execution ‡ | parallel execution |
| const INPUT: &str = r#" o Relation Name: alternate | |
| o Description: Designates a substitute for the link's context. | |
| o Reference: [W3C.REC-html401-19991224] | |
| o Relation Name: appendix | |
| o Description: Refers to an appendix. | |
| o Reference: [W3C.REC-html401-19991224] | |
| o Relation Name: bookmark | |
| o Description: Refers to a bookmark or entry point. |
| use crate::headers::{HeaderName, HeaderValue, Headers, ToHeaderValues}; | |
| struct CustomHeader {} | |
| impl CustomHeader { | |
| /// Create a new instance of `CustomHeader`. | |
| fn new() -> Self { | |
| todo!(); | |
| } |
| PS C:\Users\yoshu\Code\rust> py ./x.py build | |
| Updating only changed submodules | |
| Submodules updated in 0.26 seconds | |
| Blocking waiting for file lock on package cache | |
| Blocking waiting for file lock on package cache | |
| Finished dev [unoptimized + debuginfo] target(s) in 2.21s | |
| Building stage0 std artifacts (x86_64-pc-windows-msvc -> x86_64-pc-windows-msvc) | |
| Finished release [optimized] target(s) in 0.62s | |
| Copying stage0 std from stage0 (x86_64-pc-windows-msvc -> x86_64-pc-windows-msvc / x86_64-pc-windows-msvc) | |
| Building LLVM for x86_64-pc-windows-msvc |
| use std::fmt; | |
| use log::kv::{self, Source, value::{self, Fill}}; | |
| use tracing::{Value, Field, field::{self, Visit}}; | |
| #[doc(hidden)] | |
| pub struct LogField<'kvs>(&'kvs Field, &'kvs dyn Value); | |
| impl fmt::Debug for LogField<'_> { |
| const { Client } = require('undici') | |
| const client = new Client(`unix:///tmp/hello.sock`) | |
| client.request({ | |
| path: '/', | |
| method: 'GET' | |
| }, function (err, data) { | |
| if (err) throw err | |
| const { |
Should have a functioning Rust install already through rustup. This means the Visual Studio 2019 build tools also need to be installed.
With winget installed do:
$ winget install python| pub use accept_encoding::Encoding; | |
| use async_compression::stream; | |
| use futures::future::BoxFuture; | |
| use http::{header::CONTENT_ENCODING, status::StatusCode, HeaderMap}; | |
| use http_service::Body; | |
| use crate::{ | |
| middleware::{Middleware, Next}, | |
| response::IntoResponse, |