meghan 🌻
4,334 posts
29. 🏳️⚧️. building @asthenoware. advocate @ziglang. previous @bunjavascript. longtime taylor swift fan.
- Replying to @nyloisbroke @Magistree and 5 othersThe common agreement is that tweets would only be editable for 1-5 mins after being sent so that that doesn’t happen
- Replying to @RepStenyHoyer
- What a perfect encapsulation of what’s wrong with ‘blue lives matter’ and the twitter hate train
- In the next version of Bun `bun run -` lets you run or pipe JavaScript, TypeScript, jsx & tsx from stdin
- In the next version of Bun Brotli compression is implemented in node:zlib
- Replying to @Elias_Error“kidnapping charges” I mean that’s better than just a fine but this was straight up attempted murder
- In the next version of Bun, Bun Shell supports positional arguments via $0 $1 through $9
- Replying to @_michaeltcarter and @jaboukiethis is one of those takes so shatteringly true I’m gonna need a minute to take it in
- started work a few days ago on a new native UI toolkit for building desktop applications on Linux. and its going to all be in #Zig. been programming for a long time but pretty new to native graphics. trying a new thing where I make a thread on here to show my progress
- Replying to @domohussles and @lilplantmamiextreme tourism is the gentrification of foreign lands. and the US literally stole hawaii from its people.
- In the next version of Bun Response, Request, and Bun.file() get the "bytes" method to return content as a Uint8Array
- How unaffected I thought I’d be by transphobia before transition vs how angry it actually does makes me


![❯ bun index.ts
[
{
id: 1,
name: "John Doe",
}
]
/tmp/clickyhousey 22:23:23
❯ cat index.ts
───────┬──────────────────────────────────────────────────────────────────────────────────
│ File: index.ts
───────┼──────────────────────────────────────────────────────────────────────────────────
1 │ import { createClient } from "@clickhouse/client";
2 │
3 │ const client = createClient({ url: process.env.CLICKHOUSE_URL });
4 │ const rows = await client.query({ query: `SELECT * FROM test_table LIMIT 1` });
5 │ const { data } = await rows.json();
6 │
7 │ console.log(data);
───────┴──────────────────────────────────────────────────────────────────────────────────](/web/20190509160520*/https://medium.com/@ddrogan/libertys-https-pbs.twimg.com/media/GMJeJt_a8AAuh3G.jpg)




![❯ bun index.ts
Uint8Array(74) [ 123, 34, 109, 101, 115, 115, 97, 103, 101, 34, 58, 34, 78, 111, 116, 32, 70, 111, 117, 110, 100, 34, 44, 34, 100, 111, 99, 117, 109, 101, 110, 116, 97, 116, 105, 111, 110, 95, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 115, 58, 47, 47, 100, 111, 99, 115, 46, 103, 105, 116, 104, 117, 98, 46, 99, 111, 109, 47, 114, 101, 115, 116, 34, 125 ]
~/src/test 19:25:57
❯ cat index.ts
───────┬──────────────────────────────────────────────────────────────
│ File: index.ts
───────┼──────────────────────────────────────────────────────────────
1 │ const url = "https://api.github.com/v1/repos/oven-sh/bun";
2 │ const response = await fetch(url);
3 │ const bytes = await response.bytes();
4 │ console.log(bytes);
───────┴────────────────────────────](/web/20190509160520*/https://medium.com/@ddrogan/libertys-https-pbs.twimg.com/media/GNv0j2Xa0AEUDiJ.jpg)