Recent submissions

Comment · 1 year ago
Any photographer who pretends to not understand what the term “full frame” is referring to is an asshole.
Comment · 1 year ago
Have you tried using them? Installing packages is way, way faster. Here’s an example of how this is meaningful to an organization, and I’ve personally experienced the same exact thing at my last 2 jobs.

https://medium.com/@chaudharyaniket16/from-14-minutes-to-45-...

To list some projects and companies that aren’t on NPM: Prettier, Next.js/Vercel, Cloudflare, Hono, Zod, Expo, Tamagui, Tailwind, the list goes on. I actually had trouble finding any major JS projects that are on NPM. These are serious, widely used packages, and they chose non-standard tooling for a reason.

Comment · 1 year ago
There are so many examples of large companies and open source projects that have moved off of npm that I just don’t think this is true anymore. PNPM and bun are fast enough that the increase in development velocity is worth the occasional rough edge IMO.
Comment · 3 years ago
Alternative options include Rectangle (free and open source) and Raycast which is a Spotlight replacement but also includes window management
Comment · 3 years ago
Yes, there’s a large group of users that use 3rd party apps like Apollo
Comment · 3 years ago
I think the point they’re trying to make is that the “open” command does something very different than the Mac builtin
Comment · 3 years ago
The moat comment depends on the company, not all or even most businesses depend on actual innovation as their moat.

Also, I think we’re agreeing here, but there are a huge set of things that you may need to build an application that aren’t the core value prop of your company. Buying into a more mature ecosystem makes it more likely that you don’t have to build those things and can spend more time on the moat stuff.

Comment · 3 years ago
I doubt the reservation is with the language/runtime itself, especially with elixir and the BEAM. More likely, it’s with the maturity of the community. Especially at a small startup, building on elixir even today might still mean having to build things in house you may not in Django/Rails/JS.
Comment · 3 years ago
In my corner of Twitter there’s no correlation between any of those.
Comment · 3 years ago
Many/most people don’t though. Dataloader libraries exist for a reason.
Comment · 3 years ago
All of those problems and solutions are not unique to either tech choice. You can use OpenApi for documentation, a variety of libraries like React-query for caching, and N+1 issues exist (and are arguably more complicated to solve) in graphql.
Comment · 3 years ago
Coming back to this after the other thread cooled down a bit lol - to me, unknown actually implies that the function doesn’t care about the values more than any, as the compiler will enforce that they’re unused.

And in any case, I’d almost always lean towards the option with stronger type safety guarantees. Especially in a team environment when someone else may be modifying your code later. As a convention, I almost never use any.

Comment · 3 years ago
The problem with that is that when consuming of the dictionary, “doesn’t know” is actually more appropriate. If you then access Object.values(foo) in your method you are given an iterable of anys which is unsafe.
Comment · 3 years ago
Well, no longer free on Heroku, but it was
Comment · 3 years ago
Why would they be missing out? Vercel can host static sites just fine, whether that’s one generated by Next or any other framework or written by hand

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton