Native Messaging JavaScript runtime hosts tested:
- QuickJS
- Node.js
- Deno
- Bun
Test:
Send new Array(10000)
from client to host, send message back to client, 100 times, measure time with performance.now()
.
[1,2,3] |
Native Messaging JavaScript runtime hosts tested:
Test:
Send new Array(10000)
from client to host, send message back to client, 100 times, measure time with performance.now()
.
Chromium and Chrome refus to list or capture monitor devices on Linux
Virtual microphone using GStreamer and PulseAudio includes a section that describes a workaround using PulseAudio to create a virtual microphone where the source is a monitor device
Remap source
#!/bin/sh | |
# ============================================================== | |
# Script to build a statically linked version of opus-tools | |
# https://gist.github.com/spvkgn/60c12010d4cae1243dfee45b0821f692 | |
# | |
# https://github.com/xiph/ogg.git | |
# https://github.com/xiph/opus.git | |
# https://github.com/xiph/opusfile.git | |
# https://github.com/xiph/opus-tools.git |
const start = new Date(); | |
let streams = []; | |
let data = [...Array(1000)].map((_, i) => i); | |
let encoder = new TextEncoder(); | |
let resolve; | |
let promise = new Promise((_) => (resolve = _)); | |
let readable = new ReadableStream({ | |
start: async (_) => { | |
// console.log('Original stream'); | |
return promise; |
// https://www.reddit.com/r/learnjavascript/comments/yeodfh/chrome_extension_error_extensionsjs2897_uncaught/ | |
// Use a Port for multiple messages | |
chrome.runtime.onConnect.addListener((port) => { | |
console.log(port); | |
port.onMessage.addListener(async (message) => { | |
if (message.name === 'stream' && message.streamId) { | |
console.log(message.streamId); | |
try { | |
const stream = await navigator.mediaDevices.getUserMedia({ | |
video: { |
<!DOCTYPE html> | |
<!-- guest271314 11-12-2017 --> | |
<!-- see https://stackoverflow.com/questions/47119426 --> | |
<html> | |
<head> | |
</head> | |
<body> | |
<script> |
test |
let fileSystemHandle = await showSaveFilePicker({ suggestedName: 'node' }), | |
writable, | |
writer, | |
file; | |
let status = await fileSystemHandle.requestPermission({ mode: 'readwrite' }); | |
let osArch = 'linux-x64'; | |
// https://github.com/InvokIT/js-untar/ | |
class PaxHeader { | |
constructor(fields) { | |
this._fields = fields; |
"Sun, Jul 3, 3:22 PM | |
Hi guest271314, Your account, @guest271314 has been locked for violating the Twitter Rules. | |
Specifically for: Violating our rules against hateful conduct. | |
You may not promote violence against, threaten, or harass other people on the basis of race, | |
ethnicity, national origin, sexual orientation, gender, gender identity, religious affiliation, | |
age, disability, or serious disease. | |
avatar guest271314 @guest271314 |