@bkinsey808 Profile picture

Ben Kinsey ๐ŸŒด

@bkinsey808

Father and husband, web developer, open source enthusiast

Joined January 2009
Similar User
Rafaell Lycan ๐Ÿ‡ง๐Ÿ‡ท๐Ÿ‡ช๐Ÿ‡ธ photo

@RafaellLycan

Edward Kim photo

@taesup

Bradford Baris photo

@bradbaris

Daniel Matejka photo

@movingux

Giovanni Degiorgi photo

@leader80

McKay Davis photo

@McKayHDavis

bicho-da-seda photo

@ardiadrianadri

Ben Kinsey ๐ŸŒด Reposted

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.

Tweet Image 1

Ben Kinsey ๐ŸŒด Reposted

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.

Tweet Image 1


Ben Kinsey ๐ŸŒด Reposted

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:

Tweet Image 1

Ben Kinsey ๐ŸŒด Reposted

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

Tweet Image 1

Ben Kinsey ๐ŸŒด Reposted

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?



Ben Kinsey ๐ŸŒด Reposted
Tweet Image 1

Ben Kinsey ๐ŸŒด Reposted

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


Ben Kinsey ๐ŸŒด Reposted

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.

Tweet Image 1

Ben Kinsey ๐ŸŒด Reposted

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.

Tweet Image 1
Tweet Image 2

Ben Kinsey ๐ŸŒด Reposted

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.



Ben Kinsey ๐ŸŒด Reposted

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.


Ben Kinsey ๐ŸŒด Reposted

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!

Tweet Image 1

Ben Kinsey ๐ŸŒด Reposted

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).


Ben Kinsey ๐ŸŒด Reposted

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.



Ben Kinsey ๐ŸŒด Reposted

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.

Tweet Image 1

Ben Kinsey ๐ŸŒด Reposted

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.


Ben Kinsey ๐ŸŒด Reposted

๐Ÿ‘‡ 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.

Tweet Image 1

Built-in AI in Chrome (dev channel)



Ben Kinsey ๐ŸŒด Reposted

Programming is 1% writing code and 99% understanding why the code you wrote is not working.


Ben Kinsey ๐ŸŒด Reposted

โš ๏ธ 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
Loading...

Something went wrong.


Something went wrong.