Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crubier
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
451.
▲
by
crubier
6y ago
Yarn v2 PnP is simply a lifesaver if you have a medium+ sized monorepo. We have a monorepo with 180 packages here. Without pnp, it takes 1h+ just to npm install any new third party package in any local package, it’s a joke. With pnp it take
452.
▲
by
crubier
6y ago
Huge caveat if you read the article: “And no matter how successful the strategy is, these altered properties will persist only as long as you apply the control pulse.” As long as you keep your garbage under billions on constantly active per
453.
▲
by
crubier
6y ago
Gigantic caveat: “And no matter how successful the strategy is, these altered properties will persist only as long as you apply the control pulse.”
454.
▲
by
crubier
6y ago
Excellent Thread, and it is very nice to see on hacker news what my whole company is about! We build software for drones to inspect power lines, and this is exactly the kind of anomaly we are looking for, using AI. Unfortunately PG&E is
455.
▲
by
crubier
6y ago
I am 99% sur that solar requires more manpower than nuclear, for an equivalent controllable power output.
456.
▲
by
crubier
6y ago
> There is also the possibility of limited success for Rust, i.e. the fact that it will kill C/C++ (which is inevitable), but fail to kill JavaScript and Java/Go/C#. This is not just a possibility. This is a certainty. Rus
457.
▲
by
crubier
6y ago
Async await in python and in JS work exactly the same way (except that you have to explicitly launch an event loop in python). I have developed a library that makes heavy uses of promises and async generators, and the code for the python an
458.
▲
by
crubier
6y ago
Curio is really good and underrated
459.
▲
by
crubier
6y ago
Personally I find it’s the other way around. Promises are so easy to understand. They are literally that: the promise of a result that you can await later on. Maybe another helpful way to see it is that each sync function is one atomic bloc
460.
▲
by
crubier
6y ago
What the heck are you taking about lol
461.
▲
by
crubier
6y ago
There’s a lot of that in the GraphQL space at the moment. Prisma, Hasura, Postgraphile, EdgeDB, etc...
462.
▲
by
crubier
6y ago
No, Diesel engines are not based on detonation but also on a controlled combustion. The combustion is triggered differently that is all.
463.
▲
by
crubier
6y ago
Indeed the web was not initially meant to be an application development platform. But it has been meant to be one now for 10+ years, basically since chrome arrived, along with ideas like chrome OS and others... And as a matter of fact it is
464.
▲
by
crubier
6y ago
I disagree. So far NO other UI library/framework than react offered the “interface as a function of state” paradigm. All others (Svelte, Vue partially) are based on templates with their ad-hoc syntax for ifs and maps/loops and so
465.
▲
by
crubier
6y ago
You are looking for https://github.com/alexpate/awesome-design-systems
466.
▲
by
crubier
6y ago
I think he means to pay the cost in terms of package size, not dollars
467.
▲
by
crubier
6y ago
Gotta love the end of the video aha! But the whole video is very interesting. As a kayaker myself I can definitely “feel” the phenomenon they are talking about of extracting energy by alternating on two sides of a flow gradient.
468.
▲
by
crubier
6y ago
Not trolling. But your second example is indeed more meaningful of the way I'd like to customize styling. And on that aspect, it is -as you mention- exactly the same as chakra, line to line. Except that Material also has a lot of addit
469.
▲
by
crubier
6y ago
I count around 45 LOC just to change the colors of an input box. No changes to animation, borders focus mode or others. So yes: overly complicated.
470.
▲
by
crubier
6y ago
The uniform API you are talking about is literally just nested CSS styles with emotion. It is possible to modify deep subcomponents style with emotion. It’s CSS Nothing more. I agree my example is simpler than yours, but you will also agree
471.
▲
by
crubier
6y ago
Yeah so it’s worth it for me if I pay myself less than 50k. So it’s not worth it.
472.
▲
by
crubier
6y ago
Just as an example, the code for Button in both frameworks: ========================================== Chakra: 215 lines https://github.com/chakra-ui/chakra-ui/blob/master/packages/... Typical comme
473.
▲
by
crubier
6y ago
Everything you said is possible in Chakra thanks to emotion, which is also on the path to becoming industry standard on that aspect, unlike material. I made there an example matching yours: https://codesandbox.io/s/chak
474.
▲
by
crubier
6y ago
I don’t know, did you try to customize both? I did and I can tell you there is a massive difference. Have a look at the source code of both if you’d like. Material UI is like a full framework with a ton of specific tooling around it. Chakra
475.
▲
by
crubier
6y ago
If it’s not worth it tot hem it’s not worth it to us either then. The rules of ROI are the same for billionaire or for me.
476.
▲
by
crubier
6y ago
Material UI is a nightmare to customize, extend or integrate with third party react libraries. This on the other hand is fully customizable (through theming AND the css props) and use emotion, so it plays well with A LOT of libraries that u
477.
▲
Sterblue (YC S18) Is Hiring a Senior Front-End Engineer
(sterblue.com)
1 points
by
crubier
6y ago
478.
▲
by
crubier
6y ago
The tech Scene here is good for the size of the city. Nowhere near SF or even Paris level, but definitely bubbling and growing at the moment with a lot of new implantations. I am the CTO of a 20 people startup with offices there, coming fro
479.
▲
by
crubier
7y ago
I agree with that and I personally dislike OOP a lot and am much more on the FP side. But sometimes as you say a middle ground is best, especially when the thing is intrinsically stateful. But I have to say Dan Abramov does a good job of ex
480.
▲
by
crubier
7y ago
The annoying thing with function purity fanaticism is that it is out of touch with reality. State. Exists. State exists, so let’s deal with it with the tools that the language provides, instead of pretending it does not exist, just to reali
More ›