Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rvense
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
811.
▲
by
rvense
6y ago
> It's about separating concerns to allow extensibility of one aspect of the component without having to worry about the other parts of the system. Right, and I don't see the HTML and the CSS as separate concerns when the HTML
812.
▲
by
rvense
6y ago
At a guess: somewhere in between "probably nobody cares" and "clone quickly if you're interested"...
813.
▲
by
rvense
6y ago
I no longer think of myself as a "document writer", and there honestly would not be room in my team for someone who only wanted to touch the HTML and not the CSS or vice versa. I was there for the Zen Garden, and it was great at t
814.
▲
by
rvense
6y ago
Yeah, Tailwind uses postcss to let you use its utility classes with the normal way of doing abstractions in CSS - but it also promotes using Javascript component frameworks where that makes sense. The utility classes are in themselves great
815.
▲
by
rvense
6y ago
Um. The Tailwind compiler produces a plain CSS stylesheet with all the classes you need and none of the ones you don't. You can just dig that out of your build (or wget it from production) and stick it where you normally stick your sty
816.
▲
by
rvense
6y ago
I think the three levels all have merit. If you don't end up repeating yourself too much, just add the utility classes directly. If you find yourself repeating a bunch of classes together, maybe you can make a semantic class with @appl
817.
▲
by
rvense
6y ago
> It's not like Tailwind is SAP or something. It's just CSS. You shouldn't need to re-work your entire process around it. No, your designers should already be working to scales for size, colour etc. which you can implement
818.
▲
by
rvense
6y ago
Not everything requires making a component. A CSS class can be fine, and I'd always use the least powerful way first. This is how the framework is meant to be used - that's the entire reason for having @apply. https://t
819.
▲
by
rvense
6y ago
How is it ad hoc? You're creating a class .button, but you're using the Tailwind-specified design system. This is how the framework is meant to be used! Atomic/utility-first CSS doesn't mean that you shouldn't make
820.
▲
by
rvense
6y ago
I feel exactly the same way, but I do wonder how this gap is going to close. If Microsoft team up with another ARM vendor and make similarly closed-off, proprietary glue sandwiches as a response, where does that leave Linux? I doubt PC-comp
821.
▲
by
rvense
6y ago
Mainframe? Where we're going, we don't need mainframes.
822.
▲
by
rvense
6y ago
I really wish there wasn't this big distinction between using a computer and programming a computer.
823.
▲
by
rvense
6y ago
I seriously don't see it. I click around on the WEF site and it's just a bunch of hot air like you'd expect. These aren't lizard men, they're inconsequential bureaucrats.
824.
▲
by
rvense
6y ago
I think it's just kind of like the economic version of something like "in the future, you will be able to seamlessly communicate with everyone, constantly!" - which is true and can be turned into a really nice, cleanly-lookin
825.
▲
by
rvense
6y ago
The article is four years old.
826.
▲
by
rvense
6y ago
Huh, cool. How long before those spectral tools are as cliche as Beat Repeat, though...
827.
▲
by
rvense
6y ago
Maybe not permanently, but it wouldn't make more sense if they were just allowed to start again next week. But actually, since the coverage here isn't saying that the industry is being shut down, you're probably right.
828.
▲
by
rvense
6y ago
If the government takes away your livelihood like this, I think they should help you get back on your feet somehow. I'm very happy that these farms are being closed, though.
829.
▲
by
rvense
6y ago
I hear hemp is pretty good on all counts, though. But definitely buy less clothes, take better care of them, and make sure to give/sell the good ones you have but don't wear to second hand shops instead of just throwing them away.
830.
▲
by
rvense
6y ago
Actually, why couldn't you keep issues as text files in a folder in the repo... I mean, you've got your CI stuff and documentation and everything else in there.
831.
▲
by
rvense
6y ago
I was really hoping for a Trump/Fiorina shared ticket. Something about voting for business.
832.
▲
by
rvense
6y ago
If a business lives for a long time, even its "webcrap" might live with it. Honestly I think the investments made into web technology right now are so massive and pervasive that I wouldn't be surprised if we still use somethi
833.
▲
by
rvense
6y ago
> I've come to the conclusion that code is temporary, and is meant to be discarded after a while Interesting, my gut feeling is the opposite. I think code is being written today that will remain running for something approximating &
834.
▲
by
rvense
6y ago
Do you ever think that it's a fundamental limitation of these systems that they aren't good at knowing what they don't know? Like they always give an answer, and their failure modes are so different to ours that that it can b
835.
▲
by
rvense
6y ago
That's not a joke, a visual object/pattern recognition system was a summer project at MIT in 1966 under Seymour Papert. They didn't get very far. https://dspace.mit.edu/handle/1721.1/6125
836.
▲
by
rvense
6y ago
I see what you mean. I think it depends on the type of code and how you interact with it. A library that requires its consumer to keep track of a bunch of data and pass it in and out at the right times when it could just as well handle inte
837.
▲
by
rvense
6y ago
Well, if we assume that both are doing the same work, then the explicitly named variables y, foo, and bar of my second example would, in the first example, have to be global variables, or at least things that are defined in the scope of the
838.
▲
by
rvense
6y ago
Yes! I often see code that where a method sets an instance variable, then calls another method that does some work based on that instance variable, which is then not used until the next time that first caller is used. The instance variable
839.
▲
by
rvense
6y ago
I think that fn x() { doStuff(); moreStuff(); forgotSomething(); } is pretty bad code, but that's probably because I consider procedures with no arguments and no return value a sign that something i
840.
▲
by
rvense
6y ago
Danish peasants were serfs for a period: https://en.wikipedia.org/wiki/Stavnsb%C3%A5nd https://en.wikipedia.org/wiki/Vornedskab
More ›