tucker wray (@tuckerwray) header
tucker wray (@tuckerwray) profile picture

bootcamp grad carpenter coder dog dad dreamer facial-hair aficionado jeeper lifetime learner mathematician maybe-cyborg philosopher recycler

Asheville, NC
Joined December 2010
tucker wray retweeted
To further clarify, none of the package managers in the benchmark are downloading packages from the registry. The benchmark assumes all tools already have a lockfile, caches are hot, and `node_modules` has been wiped. As Evan pointed out some tools hit the npm API to resolve dependency versions even if a lockfile exists. (This is not the same as re-downloading the package.) We run the vanilla "install" command for each tool. Bun doesn't hit the registry API if a lockfile exists. That fact that other tools do is surprising and arguably a design flaw I ran some tweaked versions (M1 Macbook Pro) of our benchmark. Screenshots attached as well. With offline mode, with lockfile: - 9x faster that pnpm - 7x faster than npm - 5x faster than Yarn 1 With offline mode, without lockfile: - 8x faster than pnpm - 8x faster than npm - 47x faster than Yarn 1 (resolution is slow) As Evan points out, all the benchmarks narrow significantly when you're downloading packages over network since downloading becomes the dominant factor in overall runtime I'll update the `bench/install` readme to add some of these variants
I'm seeing a lot of bun vs pnpm install speed comparisons but would like to provide some nuance: the absurd perf difference usually is a result of one tool running with a network API call overhead, while the other not.
5
22
4
236
142,981
tucker wray retweeted
Replying to @elonmusk
“If you are an NPC you have a remarkably good dialogue tree”
13
10
2
156
17,764
I think I have come to learn that go has structs rather than classes but does it have dicts/objects and arrays/lists Golang tutorials from golangbot golangbot.com/
1
apparently they ~DO~ have "container types"! array types - fixed-length slice type - dynamic-length and dynamic-capacity map types - maps are associative arrays (or dictionaries). The standard Go compiler implements maps as hashtables. go101.org/article/type-syste…
Lex Fridman was one sharp mother on this day. if(@lexfridman===TonyStark){ Watch "Playing Guitar in MIT Autonomous Vehicle (Driver Activity Recognition)" on YouTube youtu.be/fCLI6kxFFTE }
1
1
Learn version control with Git for free - with awesome online books, videos & tutorials. #learngit git-tower.com/learn/
1
I got sorted into Ravenclaw in the official @wizardingworld Sorting Ceremony. #HousePride wizardingworld.com/outcome/r…
Learning CSS? Try CSS Diner, the fun way to practice selectors → cssdiner.com/ #css #cssdiner #webdev via @flukeout
When * Motivation* slips having a thoroughly defined *°•Purpose•°* paired to well established |Routine| has kept me going.
Difference in outcomes on the surface level appears to be an obvious variation in length of time I allowed myself to grow and the frequency at which I applied myself. °•Frequency x Longevity. °•do it oft enough for long enough. •°How?°•
code minimum 3+hrs a day if not 10-12../ guitar 1st 3weeks: I practiced 30 min/day Week4-7: regressed to practice only twice or thrice/wk Week8+: 2months and I still suck..?? let's try something else i might be good at
In 8ish months I have become a competent frontend react developer. I travel back to less fruitful attempts at learning bass and then acoustic 🎸 guitar.. this seems harder why the difference in outcome..?
1
I love having epiphanic showers & finding that renaissance already bestirred. Check out these JavaScript techniques used in React Development: 'the 20% of JS used in 80% of React'. "JavaScript Basics Before You Learn React" by @Nsebhastian #DEVcommunity dev.to/nsebhastian/javascrip…"