Constellation's Avatar

Constellation

@yusukesuzuki

わんだほーい⭐︎ https://constellation.slowstart.org

240
Followers
105
Following
76
Posts
23.10.2023
Joined
Posts Following

Latest posts by Constellation @yusukesuzuki

久しぶりに Myst の話聞いて懐かしくなった, 最後まで行けなかった気がするんだけどどこまで行ったんだったかなあれ. 機械仕掛けの島みたいなところまでは行けたはず

02.03.2026 07:18 👍 1 🔁 0 💬 0 📌 0

Global Entry 最高の気持ちになってこの高揚感のまま家帰ってすやすやというのが最高に気持ちがいいはず

23.12.2025 18:48 👍 1 🔁 0 💬 0 📌 0

おおちょうど出るところなんですね! 自分は逆に SFO に帰ってきましたー

23.12.2025 18:46 👍 1 🔁 0 💬 1 📌 0

US 帰ってきた, なんか落ち着くな…

23.12.2025 18:44 👍 2 🔁 0 💬 1 📌 0

I’m heading to Tokyo to attend TC39, see you at the meeting!

16.11.2025 22:31 👍 6 🔁 0 💬 0 📌 0

研究ノートが出てくるアニメで感動しました

20.10.2025 02:03 👍 2 🔁 0 💬 0 📌 0

みこちのOBSの設定吹っ飛んだ話をみて, COVER のひと Backblaze あたりでも入れてあげて欲しいという気持ちになりました

20.10.2025 02:03 👍 1 🔁 0 💬 0 📌 0

瑠璃の宝石楽しい…

19.10.2025 23:43 👍 1 🔁 0 💬 1 📌 0

pumpkin spice latte の季節が来た

22.09.2025 17:19 👍 1 🔁 0 💬 0 📌 0

Global Entry, 入国まで1分くらいで終わるので毎回そこそこ感動する

10.07.2025 17:17 👍 3 🔁 0 💬 0 📌 0

確かに spelling 伝えたりするの面倒でだんだん自分でユースキーを名乗るようになってきています

15.06.2025 19:14 👍 1 🔁 0 💬 0 📌 0

spelling 言わないとほぼ確実に Yuskey ってカフェで書かれててこの方が便利では感すごい

15.06.2025 18:33 👍 3 🔁 0 💬 1 📌 0

SFO 帰ってきたー

03.06.2025 04:34 👍 1 🔁 0 💬 0 📌 0

10年前より英語がマシになったので比較的自信を持って一人でてくてく歩いており楽しい

31.05.2025 12:55 👍 1 🔁 0 💬 0 📌 0

ヨーロッパの昔からある都市の風景日本とかアメリカ西海岸とかと全然違って, 歩いてるだけで新鮮で楽しいな

31.05.2025 12:54 👍 1 🔁 0 💬 0 📌 0

TC39 行ってきた

30.05.2025 12:15 👍 2 🔁 0 💬 0 📌 0
えびてん 公立海老栖川高校天悶部 - Wikipedia

えびてんのこと思い出していた ja.m.wikipedia.org/wiki/%E3%81%...

02.05.2025 07:35 👍 0 🔁 0 💬 0 📌 0
mport { run, bench } from "mitata";

// Assuming the vectors are of the same length
function cosineDistance(a, b) {
  let dotProduct = 0;
  let magA = 0;
  let magB = 0;
  for (let i = 0; i < a.length; i++) {
    dotProduct += a[i] * b[i];
    magA += a[i] * a[i];
    magB += b[i] * b[i];
  }
  return 1 - dotProduct / (Math.sqrt(magA) * Math.sqrt(magB));
}

// Generate random data for testing
const dimensions = 1536; // Adjust dimensions as needed
const array1 = Array.from({ length: dimensions }, () => Math.random() * 100);
const array2 = Array.from({ length: dimensions }, () => Math.random() * 100);
const floatArray1 = new Float32Array(array1);
const floatArray2 = new Float32Array(array2);

bench("Array", () => {
  cosineDistance(array1, array2);
});

bench("Float32Array", () => {
  cosineDistance(floatArray1, floatArray2);
});

await run();
bun-latest array.mjs # New
clk: ~3.94 GHz
cpu: Apple M3 Max
runtime: bun 1.2.9 (arm64-darwin)

benchmark                   avg (min … max)
-------------------------------------------
Array                          1.07 µs/iter   1.07 µs  ▇▃ ▄█▂
                        (1.06 µs … 1.13 µs)   1.09 µs ▄██▆███▇▅▄▄▄▂▂▂▁▁▁▁▂▂
Float32Array                   1.64 µs/iter   1.64 µs                   █
                        (1.46 µs … 1.68 µs)   1.67 µs ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██▃▁
bun-1.2.8 array.mjs # Prev
clk: ~3.87 GHz
cpu: Apple M3 Max
runtime: bun 1.2.8 (arm64-darwin)

benchmark                   avg (min … max)
-------------------------------------------
Array                          1.07 µs/iter   1.07 µs  ▄  █▂
                        (1.06 µs … 1.11 µs)   1.10 µs ▅█▆▆██▄▄▅▂▁▁▁▂▂▁▁▁▁▁▁
Float32Array                  13.52 µs/iter  13.50 µs  █   █
                      (13.41 µs … 14.02 µs)  13.59 µs ██▁▁▁███▁██▁▁▁▁▁▁▁▁██
node array.mjs # Node, for comparison
clk: ~3.94 GHz
cpu: Apple M3 Max
runtime: node 23.10.0 (arm64-darwin)

benchmark                   avg (min … max)
-------------------------------------------
Array

mport { run, bench } from "mitata"; // Assuming the vectors are of the same length function cosineDistance(a, b) { let dotProduct = 0; let magA = 0; let magB = 0; for (let i = 0; i < a.length; i++) { dotProduct += a[i] * b[i]; magA += a[i] * a[i]; magB += b[i] * b[i]; } return 1 - dotProduct / (Math.sqrt(magA) * Math.sqrt(magB)); } // Generate random data for testing const dimensions = 1536; // Adjust dimensions as needed const array1 = Array.from({ length: dimensions }, () => Math.random() * 100); const array2 = Array.from({ length: dimensions }, () => Math.random() * 100); const floatArray1 = new Float32Array(array1); const floatArray2 = new Float32Array(array2); bench("Array", () => { cosineDistance(array1, array2); }); bench("Float32Array", () => { cosineDistance(floatArray1, floatArray2); }); await run(); bun-latest array.mjs # New clk: ~3.94 GHz cpu: Apple M3 Max runtime: bun 1.2.9 (arm64-darwin) benchmark avg (min … max) ------------------------------------------- Array 1.07 µs/iter 1.07 µs ▇▃ ▄█▂ (1.06 µs … 1.13 µs) 1.09 µs ▄██▆███▇▅▄▄▄▂▂▂▁▁▁▁▂▂ Float32Array 1.64 µs/iter 1.64 µs █ (1.46 µs … 1.68 µs) 1.67 µs ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██▃▁ bun-1.2.8 array.mjs # Prev clk: ~3.87 GHz cpu: Apple M3 Max runtime: bun 1.2.8 (arm64-darwin) benchmark avg (min … max) ------------------------------------------- Array 1.07 µs/iter 1.07 µs ▄ █▂ (1.06 µs … 1.11 µs) 1.10 µs ▅█▆▆██▄▄▅▂▁▁▁▂▂▁▁▁▁▁▁ Float32Array 13.52 µs/iter 13.50 µs █ █ (13.41 µs … 14.02 µs) 13.59 µs ██▁▁▁███▁██▁▁▁▁▁▁▁▁██ node array.mjs # Node, for comparison clk: ~3.94 GHz cpu: Apple M3 Max runtime: node 23.10.0 (arm64-darwin) benchmark avg (min … max) ------------------------------------------- Array

In the next version of Bun & Safari

Polymorphic array access gets up to 8x faster, thanks to
@yusukesuzuki.bsky.social

05.04.2025 00:02 👍 37 🔁 3 💬 1 📌 0

夜コーヒー飲みたくなるからデカフェ豆買わないと...

02.04.2025 07:07 👍 1 🔁 0 💬 0 📌 0

OS をしょっちゅう入れたりするので wired keyboard は安心感がある…

04.02.2025 21:11 👍 1 🔁 0 💬 0 📌 0

Keychron V3 使ってて満足度高い

04.02.2025 21:10 👍 2 🔁 0 💬 1 📌 0
命ばっかり / Flower・結月ゆかり : It's Just Life / nulut,avogado6
命ばっかり / Flower・結月ゆかり : It's Just Life / nulut,avogado6 YouTube video by Lanndo / ぬゆり Official

プロセカのせいで”命ばっかり”大好き人間になってしまった youtu.be/YDnZFwlZa1g

22.12.2024 02:30 👍 2 🔁 0 💬 0 📌 0

約一ヶ月かけてついに風邪から完全回復したけどこれ flu だった気がする, ワクチン受ける appointment の直前にかかってしまったから運が悪かったな

14.12.2024 22:30 👍 0 🔁 0 💬 0 📌 0
Preview
Bay Area Espresso Bracket

coffeebar, 以前絶賛されていたのを見ました. docs.google.com/spreadsheets...

14.12.2024 22:28 👍 1 🔁 0 💬 1 📌 0

蜂蜜生姜湯の素みたいなの買ってきて湯に溶かして飲むとポカポカしていい, 喉にも優しい

01.12.2024 01:03 👍 0 🔁 0 💬 0 📌 0

流石に明日はターキー食べたいが, どこ行ったら出てくるんだろう

28.11.2024 01:42 👍 2 🔁 0 💬 0 📌 0

去年はターキー食べ損ねたので今年はターキー食べるぞという気合いが!

25.11.2024 22:50 👍 1 🔁 0 💬 0 📌 0

NyQuil 異様な酩酊感があるなと思ったらあれアルコール入ってるのか, しかし効き目はすごい

24.11.2024 05:05 👍 0 🔁 0 💬 0 📌 0
Preview
Senior JavaScript Virtual Machine Stability Engineer - Careers at Apple Apply for a Senior JavaScript Virtual Machine Stability Engineer job at Apple. Read about the role and find out if it’s right for you.

We, Apple JavaScriptCore team, are hiring a senior stability engineer, focusing on stability of JavaScriptCore. If you are interested, submit resume via the URL! Let's make JavaScriptCore steady and rock solid! #WebKit #Apple jobs.apple.com/en-us/detail...

20.11.2024 18:40 👍 8 🔁 5 💬 0 📌 0

Performance Dashboard を常に iPad に出しとくの完全に労働すぎるので少なくとも holiday break の間はやめとこ

20.11.2024 04:49 👍 1 🔁 0 💬 0 📌 0