Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dcre
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
601.
▲
by
dcre
2y ago
npm does show last 7 days download metrics by version! https://www.npmjs.com/package/react-router-dom?activeTab=ver... As it happens, I was curious about the same thing last year and wrote a script you can run in the b
602.
▲
by
dcre
2y ago
The difference in popularity is more like 40x, which makes your theory obviously correct, and it also makes it a no-brainer for the devs. The server-side aspect is opt-in and someone currently using react router v6 (with v7 future flags on)
603.
▲
by
dcre
2y ago
Remix is already essentially a Vite plugin + React Router. That change was started at least 9 months ago and went stable 3 months ago. https://remix.run/blog/remix-heart-vite https://remix.run/blog/
604.
▲
by
dcre
2y ago
I think they mean that because Svelte lets you put a style tag in a component and the styles are automatically scoped to that component, you don’t need Tailwind. https://svelte.dev/examples/styling I’d say that goes ha
605.
▲
by
dcre
2y ago
Try Infinifactory if you haven’t!
606.
▲
by
dcre
2y ago
People don't do that because it's not the right way and is explicitly discouraged by the docs: "While it’s highly recommended that you create proper template partials for more complex components, you can use Tailwind’s @apply
607.
▲
by
dcre
2y ago
No, literal React (or Vue or Svelte) Components. Not like making global classes.
608.
▲
by
dcre
3y ago
Nice post. Obligatory Helix plug: For anyone interested in taking this further, there are whole editors designed around multi-cursor editing. https://helix-editor.com/ http://kakoune.org/
609.
▲
Ultraspeaking
(meaningness.substack.com)
2 points
by
dcre
3y ago
|
0 comments
610.
▲
by
dcre
3y ago
That runtime doesn't make any sense. This script creates a 1,000,000 line CSV string and then parses it into JSON in 700ms with Bun, and this is doing both things the slow way, creating the string with a giant array map and join, and
611.
▲
by
dcre
3y ago
I haven’t used them yet for full sized apps, but they are both fantastic for scripting and small CLIs. Between the ease of running scripts, nice standard libraries, npm ecosystem, and excellent type system, I now feel TypeScript is a better
612.
▲
by
dcre
3y ago
Bun and Vite are not analogous. Bun is a runtime with a standard library, bundler, test runner. Vite is a bundler. You can run Vite through Bun.
613.
▲
by
dcre
3y ago
I mean our application consists almost entirely of filling out this relatively long questionnaire, and we take it very seriously. This is the software engineer one. They vary slightly by role. https://docs.google.com/documen
614.
▲
by
dcre
3y ago
At Oxide, it was there from the beginning, plus it's built into the hiring process (the application is mostly writing), so there's strong selection pressure toward people who are into it. So I'm sure it's tough without t
615.
▲
by
dcre
3y ago
Rust and TypeScript for me.
616.
▲
by
dcre
3y ago
Not true. We have team members in Europe and NZ. “Most of our team are based outside of the Bay Area. We do ask that your workday overlaps with Pacific Time for at least four hours.”
617.
▲
by
dcre
3y ago
Seems obvious it's a way of capping the complexity of the filings. Have to draw lines somehow. Dollar amounts are pretty clear.
618.
▲
by
dcre
3y ago
It sounds like 3 is for charities and 6 is for business organizations like a chamber of commerce. The former has tax-deductible donations and can’t participate in lobbying or political campaigns. It seems like 6 would have been a weird choi
619.
▲
by
dcre
3y ago
It took me a while to understand how little is ultimately going on here. If you're using Astro to generate a static site, then the question of how to serve it has nothing to do with Rust — it's a question you can ask (and which sh
620.
▲
by
dcre
3y ago
Styled components are no different than Tailwind in this regard, and this is precisely how Tailwind is meant to be used. You define a component and use that.
621.
▲
by
dcre
3y ago
Try Remix! https://remix.run/
622.
▲
by
dcre
3y ago
flow-bin has substantially fewer downloads than coffeescript and both are declining. That is a dead project. https://npmtrends.com/coffeescript-vs-flow-bin
623.
▲
by
dcre
3y ago
I don't want them to "learn JS." Most likely the person in question is trying to write web applications, and I want them to learn what is most useful for that. After writing web applications for years without TypeScript and t
624.
▲
by
dcre
3y ago
Flow is basically a dead project outside of Facebook. https://npmtrends.com/@babel/preset-flow-vs-flow-bin-vs-type...
625.
▲
by
dcre
3y ago
This is my favorite book about JS, and I always recommend it to people. It occurs to me for the first time that the lack of TypeScript might be a problem, because if I’m making recommendations to someone learning, I am definitely going to r
626.
▲
by
dcre
3y ago
This underlines what a shame it is that we so rarely get to read postmortems on startups from people without a strong motivation — whether social or financial — to paint a rosy picture.
627.
▲
by
dcre
3y ago
I honestly can't tell whether this is meant to be for or against Tailwind. Is Tailwind a utility for organizing your workflow or a magic bullet framework?
628.
▲
by
dcre
3y ago
Yeah, I would say using components (rather than classes with @apply, as another commenter said) is the main thing. The class clutter is then contained to that component. You make some components and then in most of your code there are only
629.
▲
by
dcre
3y ago
The docs are great and they also happen to be a kind of "CSS: The Good Parts." What sort of questions do you need answered? For the most part you just make components and put styles on them.
630.
▲
by
dcre
3y ago
Ooh, very cool. Looks like you're overriding the font at the browser or OS level? We suspect that has something to do with it. If you look at the raw HTML response, which is what should be getting rendered when you have scripts turned
More ›