Log inOpen app
Log inOpen app
colinhacks
5,144 posts
colinhacks profile banner
@colinhacks

colinhacks

@colinhacks
creator of Zod, Nub, Standard Schema, boron.sh, trpc.io, zshy ๐Ÿ’Ž building @pullfrogai ๐Ÿธ friendly neighborhood typescript nerd ๐Ÿฆ† prev @ bun, edgedb, mit ๐Ÿ›๏ธ
colinhacks.com
Joined October 2012
1,626 Following
27.9K Followers
RepliesRepliesRepostsRepostsMediaMedia
Get the full app experience
Unlock more features and see what people are talking about right now.
Open X
  • @colinhacks
    colinhacks
    @colinhacks
    Sep 20
    my first PR to Node has been merged ๐Ÿ˜‡ it improves Node startup times by 0.8ms by seeding V8's random number generator from the OS instead of using OpenSSL
    src: seed V8 from the OS CSPRNG instead of OpenSSL's DRBG by colinhacks ยท Pull Request #65796 ยท...
    From github.com
    21
    4
    408
    21K
  • @colinhacks
    colinhacks
    @colinhacks
    Sep 15
    I used Nub to scan the top 10k npm packages for phantom (undeclared) dependencies It found 660 problematic packages.
    De-phantoming the npm ecosystem
    From nubjs.com
    9
    8
    76
    6K
  • @colinhacks
    colinhacks
    @colinhacks
    Sep 15
    In the latest Nub `nubx` lets you disable dlx (downloading packages from the internet) globally, forever This lets you use nubx to invoke project-local CLIs (e.g. prisma, etc) without the risk of a typo running an untrusted package on your machine
    GIF
    4
    6
    53
    3.5K
  • @colinhacks
    colinhacks
    @colinhacks
    Sep 14
    Nub v0.9.1 โ€” Nub autosizes the libuv threadpool on beefier machines Node caps the threadpool at 4. Nub lets this float to the number of machine cores (with conservative nicing beyond 4), increasing max throughput for crypto, zlib, DNS, and native addons like bcrypt and sharp
    4
    2
    76
    10K
  • @colinhacks
    colinhacks
    @colinhacks
    Sep 14
    In the latest Nub Set `nodeExecutable` in nub.jsonc to override Nub's Node version resolution logic โ€” you can provide an absolute path, or use $() syntax to dynamically resolve one
    1
    35
    2.7K
Edit with