A Pen by Victor Vergara on CodePen.
Static Hermes is an experimental ahead-of-time compiler for JavaScript that compiles to native code via C. It provides type inference and optimization capabilities, though it's still in early development with various limitations.
git clone https://github.com/facebook/hermes.git
my claim to guest271314
- create a website / web API depending directly on no more than 10 packages, but depending indirectly on more than 50 packages.
- run the project, host it online or make sure it work at least locally. This will be version A.
- Latter, change something in the code, and deploy the project again and keep all of the dependencies at the same versions as before. Deploy this new version. This will be version B.
- Latter again, upgrade one indirect dependencies without changing the versions of your direct dependencies. Deploy this new version. This will be version C.
- Then upgrade one or several direct dependency. Deploy this new version. This will be version D.
- Finally, roll back all those changes and go back to version A, and deploy this version with exactly the packages it used at the time.
A teacher sits in front of a number of children, many of whom do not appear very attentive. Which is your Right Hand?, illustration of an unidentified infant class, drawn by Paul Renouard [fr] and published in The Graphic (1898)[note 1] The first infant school in Great Britain was founded in New Lanark, Scotland, in 1816. It was followed by other philanthropic infant schools across Great Britain. Early childhood education was a new concept at the time and seen as a potential solution to social problems related to industrialisation. Numerous writers published works on the subject and developed a theory of infant teaching. This included moral education, physical exercise and an authoritative but friendly teacher.
In England and Wales, infant schools served to maximise the education children could receive before they left school to start work. They were valued by parents as a form of childcare but proved less popular in Scotland. State-funded schools in England and
Deep ResearchでWebTransport / WebSocketの速度向上について扱った論文一覧を取ってきて、箇条書きで纏めたもの
英語の要約は、Deep Researchで出力された英語を機械翻訳したもの
- WebSocket通信における緊急メッセージの優先配送手法
- 発表年: 2016年
- WebSocket通信において緊急度の高いメッセージを遅延を抑えて配信するため、優先度制御手法を2つ提案した
- 配送遅延や通信量への効果を評価した研究
A Pen by Md Usman Ansari on CodePen.
const hasDuplicateOneline = (array) => | |
new Set(array).size != array.length; | |
const hasDuplicateAlternative = (arr) => | |
arr.some((value, index, origin) => origin.indexOf(value) !== index); | |
let z = []; | |
for (let i = 0; i < 10_000; i++) { | |
z.push(i); | |
} |
/** | |
* @param {number} n | |
* @return {number[]} | |
*/ | |
var constructDistancedSequence = function(n) { | |
// Initialize the sequence array with 0s and an array to track placed numbers | |
const seq = new Array(n * 2 - 1).fill(0), isPlaced = new Array(n + 1).fill(false); | |
// Mark index 0 as placed (not used in actual sequence) | |
isPlaced[0] = true; |
// How to generate output: | |
// > git clone https://github.com/DefinitelyTyped/DefinitelyTyped | |
// > cd DefinitelyTyped | |
// > deno run --allow-read <url-to-this-file-goes-here> (click raw in the top right corner for url) | |
import { Path } from "jsr:@david/[email protected]"; | |
const typesDir = new Path("./types"); | |
const entries = typesDir.readDirSync(); | |
for (const entry of entries) { | |
if (!entry.isDirectory) { |
import net from 'node:net' | |
import { spawn } from 'bun' | |
const ready = Promise.withResolvers<number>() | |
const server = spawn({ | |
cmd: ['bun', 'server.ts'], | |
stdio: ['inherit', 'inherit', 'inherit'], | |
serialization: 'json', | |
ipc: port => ready.resolve(port), |