Ben Kinsey ๐ด
@bkinsey808Father and husband, web developer, open source enthusiast
Similar User
@RafaellLycan
@taesup
@bradbaris
@movingux
@leader80
@McKayHDavis
@ardiadrianadri
If you have index files in your app code that look like this, just delete them โ Import directly; avoid barrel files. They don't really make your codebase more organized, and have a bunch of downsides.
This. Years ago I thought barrels were useful. Theyโre not. ๐ฉItโs more code. ๐ฉIt masks unused code. ๐ฉIt bloats the bundle by inhibiting bundle splitting and tree shaking. ๐ฉIt slows developer navigation by creating an extra layer of abstraction.
If you have index files in your app code that look like this, just delete them โ Import directly; avoid barrel files. They don't really make your codebase more organized, and have a bunch of downsides.
This is Uruguay: - 0% tax on foreign income for 11 years - Permanent residency in just 2 years - Less corrupt than the US It is the safest country in South America. Here are 11 reasons why the โSwitzerland of South Americaโ is a hidden gem:
What kind of childhood makes a top scientist? Is it enough to have all the right traits (brilliance, grit, etc) or do you need the right family too? And why should we care? A ๐งต on our paper on the Nobel Laureates. A teaser: the income distribution of the laureates' fathers.1/N
Using AI to write production code is similar to outsourcing. You are no longer doing the fun stuff: designing and writing high quality code. Instead you: Review bad code N times to make it somewhat acceptable, panic fix bugs in production, maintain ever growing messy code base.
My experience with Cursor. "Write this code for me." Lookin good bro! Look at all this time saved! Run it. Wait... doesn't work. Wrong in subtle ways. Spend more time debugging than if I wrote the code. Who likes debugging more than writing?
Cloudflare has officially joined OpenNext to help solve the nextjs vendor lock-in problem they are now maintaining an official adapter that can deploy your nextjs app to cloudflare we have a new discord, new github org, and we're adding support in sst soon
Another pattern we use a lot โ instead of conditionally adding classes, conditionally set a data attribute and use the `data-*` variant to add styles. Feels a bit more Tailwind-y and your class strings are a little less messy without the ternaries and stuff.
Dear managers: Raising productivity is not about monitoring people. It's about motivating them. 94 studies: Surveillance fails to improve performanceโand increases stress, distrust, and dissatisfaction. Tracking people is not a substitute for respecting and valuing them.
Did CEOs have some kind of group meeting where they decided to make employees miserable
Offices lead to greater connection, inspiration, community, productivity, and even wellbeing.
I will die on the hill that RTO hurts families with young children the most โ and mothers above all when mom is still the default caregiver. Donโt make people choose between their kids and their careers.
Extremely strange TS behaviour someone just DM'd me. Adding | [] to a generic type parameter seems to infer the type as a tuple, instead of an array! Pretty weird, and quite useful to know about!
Announcing - WebGPU Puzzles: Learn GPU Programming in Your Browser It's a web app that letโs you practice writing GPU compute kernels using WebGPU - runs 100% in the browser, locally on your GPU (even tiny integrated laptop GPUs).
To make your TypeScript server auto-restart for things like codegen'd files, add this to your .๐๐๐๐๐๐/๐๐๐๐๐๐๐๐.๐๐๐๐ and thank me later: "๐๐ข๐๐๐๐๐๐๐๐.๐๐๐๐๐๐๐๐.๐ ๐๐๐๐๐พ๐๐๐๐๐๐": { "๐ ๐๐๐๐๐ณ๐๐๐๐๐๐๐๐ข":โฆ
Really wish there was a way to restart the TypeScript server in VSCode via the CLI - or at least alert it to clear its cache. Would make so many workflows possible - post-checkout hooks, postinstall, post-codegen.
TypeScript 5.6 brings a new VSCode option for disallowing auto imports via regex. This is AWESOME for preventing importing from a package's barrel file, like lodash.
In the US, it'll cost you, say, $200,000/year to rent one biological programming core. Hetzner will rent you 1 AMD EPYC core for $55/year. You damn well better be optimizing for the maximum efficiency of the biological core over the silicon core.
๐ If you haven't already tried it: @googlechrome now has an embedded version of Gemini - and specialized guides for developers detailing how to use other local models within your browser.
Programming is 1% writing code and 99% understanding why the code you wrote is not working.
โ ๏ธ Breaking: North Korea just burned an 0-Day in Chromium. They used it to install a Windows rootkit and the campaign targeted cryptocurrency platforms and users. Here's what we know:
United States Trends
- 1. Hunter 1,88ย Mn posts
- 2. Cyber Monday 57,8ย B posts
- 3. #IDontWantToOverreactBUT 1.089 posts
- 4. Enron 7.992 posts
- 5. #MondayMotivation 17,6ย B posts
- 6. $CUTO 11,1ย B posts
- 7. Yeontan 828ย B posts
- 8. #GivingTuesday 4.063 posts
- 9. tannie 244ย B posts
- 10. Burisma 68,5ย B posts
- 11. Victory Monday 3.284 posts
- 12. #MondayVibes 4.903 posts
- 13. Good Monday 49,6ย B posts
- 14. Scott Jennings 15,9ย B posts
- 15. #Duolingo365 11,2ย B posts
- 16. Pat Gelsinger 2.391 posts
- 17. Omer Neutra 13ย B posts
- 18. DeFi 203ย B posts
- 19. JUST ANNOUNCED 20,3ย B posts
- 20. Fang Fang 12ย B posts
Something went wrong.
Something went wrong.