Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
phatskat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
271.
▲
by
phatskat
1y ago
I don’t know that this exactly addresses your issue, in fact I don’t think it does, but when I have a case like this there’s two approaches: The first is that my button will have variants, eg “primary, secondary, danger”. Those are a prop,
272.
▲
by
phatskat
1y ago
I’ve been doing web development for around 20-ish years and done plenty of CSS, lots of organizing files, SCSS, and been on large teams with great design systems, and I’ll take Tailwind any day.
273.
▲
by
phatskat
1y ago
> Inspecting the element in the browser would immediately show you that you set the text to multiple colors. Even better, the Tailwind LSP will show a diagnostic warning if two classes affect the same property, eg “The text-blue and text
274.
▲
by
phatskat
1y ago
I am curious to hear more, particularly around performance. I also don’t quite grok the bit about “browser dev tool usability”. There’s no reason you can’t add utility classes for clamp() in tailwind, and while I haven’t tried it, you shoul
275.
▲
by
phatskat
1y ago
Yep! I was a heavy Bootstrap user for many years, along with all the fun of maintaining sprawling trees of SASS files, imports, utility functions etc. I hemmed and hawed when I first had to learn Tailwind - “what are these classes? How does
276.
▲
by
phatskat
1y ago
I think I’ll take another jab at this part > Lastly, Tailwind has also been buoyed by being by being the default styling that just about any LLM or vibe coding tool will produce Tailwind, afaik, was doing just fine without LLMs “buoying”
277.
▲
by
phatskat
1y ago
> You can change the classes in the harder to read html, or override the single element. There is no longer the possibility to, for example, affect all .primary-btns. Sure there is, the only thing is that instead of having 20 <button
278.
▲
by
phatskat
1y ago
For me, `class”btn btn-primary btn-primary—title”` says close to nothing about the underlying CSS - I have to go look that up. But `class=“rounded p-2 flex gap-2 items-center font-semibold bg-aqua-300 text-white”` actually tells me somethi
279.
▲
by
phatskat
1y ago
To me, the problem is distance. Once a project reaches a certain size, the distance between a thing like a component and where its styles live grows to be too far for mental context. If you’re working on a page that gets variables from this
280.
▲
by
phatskat
1y ago
Gonna echo what someone else said, I can’t seem to fit the whole page text on my phone in portrait orientation.
281.
▲
by
phatskat
1y ago
> Even if you did modify the textures locally, those textures wouldn't show up for everyone else. Yep! My friends and I would make our own skins for CS in Paint and then share them on floppies so we could see each other
282.
▲
by
phatskat
1y ago
> Their internal browser was a custom stripped down 5+ years old Electron or Chromium Embedded Framework monstrosity, begging to be exploited somehow. While all true, the (correct) choice to only allow signed authenticated URLs effective
283.
▲
by
phatskat
1y ago
I mean, the scheduling alone put research behind by decades, helping to stifle competition for more recent and less effective (in some cases ofc) pharmaceuticals
284.
▲
by
phatskat
1y ago
I’ve been daily driving Arc for a while now and I’m very sold on the tabs on the left. I think it’s the mix of smart folders, pinned pages, and knowing that stale tabs will be automatically closed so it doesn’t ever feel too cluttered. Also
285.
▲
by
phatskat
1y ago
I still fall a slight bit in love when an application has a “Customize…” option attached to the menu/ribbon/whatever. I had Word set up just the way I wanted it some 20 years ago
286.
▲
by
phatskat
1y ago
I had my Mac dock on the side for a while, but I’m back to bottom dock as I work with two external monitors and just leave the dock on the laptop display. I also had the taskbar on the left of my Win2k setup for quite some time but these da
287.
▲
by
phatskat
1y ago
Reminds me of this quote from the esteemed Leslie Claret > Sell them on the structure. You can talk about it with confidence. Keep it simple. A little something like this, John. Hey. Let me walk you through the Donnelly nut spacing and c
288.
▲
by
phatskat
1y ago
This is where vim keybinds fall short every time. I do appreciate the effort, and have zero expectations about a one to one match, but the moment I do something out of habit and an editor doesn’t do what I expect, in “vim mode”, it breaks t
289.
▲
by
phatskat
1y ago
> Agenda setting power > platform power The Alt-Right Playbook feels like a bummer version of XKCD for these discussions: [Control the Conversation]( https://youtu.be/CaPgDQkmqqM )
290.
▲
by
phatskat
1y ago
This feels like a lot of putting positions onto a group for them in order to discount their beliefs. Most left left left folk that I know have zero idealization about Rome or the USSR, and haven’t forgotten the atrocities the US has committ
291.
▲
by
phatskat
1y ago
My favorite is my friend’s pronunciation of “LGBTQIA”, or “littebittiqua”. Also, I’m definitely gonna start using “dunce” and “Oosbuh”, but stick with “USB C”
292.
▲
by
phatskat
1y ago
I don’t know if multi-tap functions are already spoken for, I’ve only played with this a little so far (great job btw!). I think being able to toggle Trackpad Mode with a three-finger tap would be a nice _touch_.
293.
▲
by
phatskat
1y ago
I think Cruz is likely a lot more religious than he puts out only because his brand of religion is, or at least was, too extreme for a lot of people. His father is a fundamentalist leader a la Handmaid’s Tale, which should have been a lot m
294.
▲
by
phatskat
1y ago
Yep, the best thing for a race that is (rightfully) worried about our aggressiveness is to wait it out.
295.
▲
by
phatskat
1y ago
I’ve been wanting to get into game programming and was looking at Love2D. I don’t know much Lua outside of what I’ve picked up with NeoVim configs. This looks like it could be a great way to get my feet wet - I don’t do well with math and p
296.
▲
by
phatskat
1y ago
> I was thinking of showing multiple tabs/views at the same time, but only from the same source. I think the primary reason I use multiple tabs but _especially_ multiple splits is to show content from various sources. Obviously this
297.
▲
by
phatskat
1y ago
Do you consider the factories, farms, etc that they own to be part of the equation? I do, and so if you were to “cut the emissions down to zero” of the owner of a large chicken processing company, all those factory farms disappear and that’
298.
▲
by
phatskat
1y ago
Idk, Doubleya wasn’t “smart” but he was “smart”, ya know? I wouldn’t want him making complicated calculations, and to his credit he knew that you get people better at counting, or with more fingers, to do that work. But for getting us into
299.
▲
by
phatskat
1y ago
I don’t know exactly what they’re referencing, but Zsh has something like that where you can expand eg filenames and paths from this unique bits. So if you have ``` src/components/Button.vue src/components/ButtonGroup.vu
300.
▲
by
phatskat
1y ago
Sounds like it to me. I fail to see how commercialization, particularly by way of making new things based on the old thing, removes the escapism.
More ›