Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
redbar0n
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
redbar0n
4y ago
> militarised colonialism, while the US is fairly competent at it. Are they, actually? Vietnam, Afghanistan etc..
92.
▲
by
redbar0n
4y ago
“China’s efforts to build a community of like-minded countries opposed to the West under the banner of the Global Security Initiative – which would also include Russia – undermines Estonia’s security.” Did someone say Global Defense Initiat
93.
▲
by
redbar0n
4y ago
hahaha, well played sir, well played.
94.
▲
by
redbar0n
4y ago
I'd likely go for a mobile first approach and start with: create-universal-app : https://github.com/chen-rn/CUA Which would give me: - Tamagui - React Native Web Lite - Expo - Next - Solito - Prisma – Clerk - tRPC
95.
▲
by
redbar0n
4y ago
> If you want to be my hero, find a way to fix this problem: https://maxdemarzi.com/2023/01/09/death-star-queries-in-grap... Let me (try to) be your hero, Marzi. (Insert favorite reference to famous cheezy
96.
▲
by
redbar0n
4y ago
Yes, start with the end square and work your way backwards. It is often only a single path that leads you there for the final steps. Once you develop the path close enough back to where you are then it’s easier to see how you can get onto i
97.
▲
by
redbar0n
4y ago
"ChatGPT can't do math" is the general impression. > "Why is ChatGPT bad at math?" > https://ai.stackexchange.com/questions/38220/why-is-chatgpt-... > "ChatGPT: Can't ca
98.
▲
I taught ChatGPT to CORRECTLY perform long-addition on 15-digit numbers
(old.reddit.com)
4 points
by
redbar0n
4y ago
|
1 comments
99.
▲
by
redbar0n
4y ago
The author's gripe with using Tailwind with components is more concretely expressed in this follow up thread: https://twitter.com/davesnx/status/1329392089189265408?s=20&... For reference, this is how Tai
100.
▲
by
redbar0n
4y ago
hehe, I guess they loved CoffeeScript and/or minimalism. But if I want F# features I'd rather use F# and compile to JS with Fable, or simply use ReScript which is more sound than TypeScript any way. If I should learn a new syntax,
101.
▲
by
redbar0n
4y ago
I think they are gripes from trying to combine the bottom-up approach of Tailwind with the top-down approach of props based styling that JS component libraries typically allows. His point being that Tailwind does not work too well with such
102.
▲
by
redbar0n
4y ago
It solves the repetition and collation into className, yes. But I think the author's main gripe was that component abstraction was made difficult with Tailwind when you want to customize the component from the outside, by dynamically a
103.
▲
by
redbar0n
4y ago
> Sticking to CSS guarantees you won't have any compatibility problems. Unless you attempt to go cross-platform.. There are many attempts at getting CSS working on React Native for instance, and many have various compatibility probl
104.
▲
by
redbar0n
4y ago
Here's an example that might give an idea: https://tailwindcss.com/#component-driven
105.
▲
by
redbar0n
4y ago
Have you seen "The modern way to write TypeScript"? https://github.com/DanielXMoore/Civet *runs for cover*
106.
▲
by
redbar0n
4y ago
> This should be called "Don't use Tailwind in a React library for a design system" That's true. > as this really has nothing to do with Tailwind Well.. it has to do with using Tailwind with React for a design syst
107.
▲
by
redbar0n
4y ago
I also found this section on the TailwindCSS landing page...: > Component-driven: Worried about duplication? Don’t be. ... https://tailwindcss.com/#component-driven
108.
▲
by
redbar0n
4y ago
FWIW here is the author's backing for that claim: backing: https://twitter.com/davesnx/status/1329407408922370050 claim/thread: https://twitter.com/davesnx/status/13293920891892
109.
▲
by
redbar0n
4y ago
> Is it just me or has the underlying purpose and value of “cascading” in CSS been lost within these abstractions. I think you have a point. I think the cascading part was ignored for containment purposes during authoring, so it would sc
110.
▲
by
redbar0n
4y ago
> tailwind is not a library offered with the motto of component driven as the author mentioned. I thought Tailwind shined the most when used within components (and why it's become so popular with React).. making components and not C
111.
▲
by
redbar0n
4y ago
The author recommends ThemeUI, Rebass, Stitches and Radix for design systems, specifically. They might add undue bundle size, to various degrees. Looks like Radix' tooltip is now at 12.77 kB: https://www.radix-ui.com/do
112.
▲
by
redbar0n
4y ago
> “compared to what?” Especially that first complaint - Tailwind is hard to change compared to… The author compared it to Chakra UI (in the last code sample; misspelled Charkra). He recommends ThemeUI, Rebass, Stitches and Radix for a de
113.
▲
by
redbar0n
4y ago
> but because the author seems to just be sounding off without much effort to express attempted solutions, I'm flagging because I feel like this is just anti-Tailwind inflammatory BS On attempted solutions, there was a subsection ti
114.
▲
Don't use Tailwind for a design system (2021)
(sancho.dev)
153 points
by
redbar0n
4y ago
|
151 comments
115.
▲
by
redbar0n
4y ago
> Since I update it on every graph edit, I get something major for free -- undo/redo. The browser's history stack becomes my undo/redo functionality. A pet peeve of mine is that webapps shouldn’t hijack the browsers defaul
116.
▲
by
redbar0n
4y ago
I think they already do this.
117.
▲
by
redbar0n
4y ago
You should try to communicate more forthcomingly that CapacitorJS bundles the webapp with the native binaries, which means that you get better startup performance, but at the cost of not being able to serve the webapp fresh from the web (in
118.
▲
by
redbar0n
4y ago
Yes, try either: The official «Tamagui + Solito + Next + Expo Monorepo» starter: https://github.com/tamagui/tamagui/tree/master/starters/next... Or the more recent version that builds on that and ad
119.
▲
by
redbar0n
4y ago
The Playpilot app helps to get an overview over where (on what streaming services) a movie or show is available.
120.
▲
by
redbar0n
4y ago
This does not bode well for Taiwanese national security. I’m surprised Taiwan allowed it. Considering that dependence on Taiwan for chip production has got to be one important reason why the US would defend Taiwan in case of an attack by Ch
More ›