HackerTrans
TopNewTrendsCommentsPastAskShowJobs

isleyaardvark

1,844 karmajoined 17 yıl önce

comments

isleyaardvark
·22 saat önce·discuss
There was a thread here not too long ago about employees getting fired because they were cheating on their expense accounts. C-level execs cheating on pretty trivial amounts. And others brought up star athletes getting paid millions, then getting busted placing thousands of dollars on insider bets. There's a lot of irrationality in these decisions.
isleyaardvark
·3 gün önce·discuss
It's to distract from the Epstein files.
isleyaardvark
·4 gün önce·discuss
> means they can be removed just as easily.

Some of them were removed. And then put back. Then increased, then decreased, or otherwise changed depending on what Trump was thinking at 3am while making social media posts
isleyaardvark
·15 gün önce·discuss
It looks terrible on desktop too.
isleyaardvark
·30 gün önce·discuss
That’s what I do, and I find this talk about “throwing away” code history baffling. It’s version control. Git branching is cheap.

I make a ton of backup copies. I rearrange the history to how I want before I share it (git history split is great). I keep my nonsense, others see a readable changeset. (Only downside is the occasional housecleaning of old branches, but after a while their usefulness diminishes.)
isleyaardvark
·2 ay önce·discuss
Yes, and that’s what it’s used for now due to the ad hoc development of HTML and CSS.
isleyaardvark
·2 ay önce·discuss
> Tailwind code is mostly write-only and maintained by viewing what the component looks like.

I’d add that almost all code is like that, if you mean you only write it once and only look at it again if you need to make a change. And with Tailwind you generally only need to look at the one component, instead of having to go to a separate CSS file to look, and then look through the codebase to see if that code is used anywhere else.
isleyaardvark
·2 ay önce·discuss
I think I can make what I wrote above a little clearer by putting it this way. When the class property gets really long, that's not a violation of separation of concerns, because you are not really co-mingling content with presentation. HTML is not content but contains content.
isleyaardvark
·2 ay önce·discuss
This is the misconception that has caused so many problems over the years, problems that the Tailwind approach solves.

There was never any separation of concerns within the HTML code, the class="" property is in the HTML and that is the styling info. Devs took the idea of separation of concerns of content, presentation, and behavior as separation of technologies: HTML, CSS, and JS, which is not the same. So they tended to think, "oh no, with classes I've got presentation code in my content (HTML) and I need to put it all in my CSS." But HTML is not content, it contains content. And all the separation of concerns is done with how the HTML is written.

For example take this code <h2 class="h2" data-index="0">Bleh!</h2>

That has separation of concerns. The content is Bleh!, the content semantics are h2, the styling is all in the class, and the data-index is used only as a hook for javascript. Violating separation of concerns would involve using those properties for multiple concerns. Particularly the h2 class="h2" part. It looks a bit silly at first glance, particularly if you have a bunch of <h1 class="h1"> and <h3 class="h3">'s in the codebase. But that has proper separation of concerns, and I have many times run into cases where I want an <h1 class="h2"> or <h2 class="h1">, and in those cases, because I have proper separation of concerns, all I have to do is change the actual content layer to whatever is appropriate without worrying about the presentation layer changing because someone put an h2 { font-size: 1.6rem; } in the css.

The only difference between the old-school approach and the Tailwind approach is the API between the HTML file and the CSS. The old-school approach tends toward terrible abstractions because devs are trying to code the presentation for an element while feeling they need to describe the presentation in as few terms as possible, because they think that amount of characters is separation of content. Tailwind takes the approach that the class property is the presentation layer and you can use your words to describe it clearly.

I'd add that what I've seen with the older approach almost always leads to much more co-mingling of concerns (maybe because those devs get so focused on "all style should be in the CSS"). That's when I see things like ul > li { padding: 1rem; }, which is fine until you decide to change it to an ol. Or even .foo > .bar { ... }, which is dependent on the structure of the content.

Yes, Tailwind is ugly as sin but it's effective.
isleyaardvark
·2 ay önce·discuss
Even during the 70s there were already conservation efforts. The Eastern bluebird almost went extinct in the 70s but a bunch of Americans built birdhouses for them.
isleyaardvark
·3 ay önce·discuss
You fail to see how anyone could choose blue, even though there are plenty of people on the internet and even in the comments here who are stating they would choose blue?
isleyaardvark
·3 ay önce·discuss
Trump could easily agree to it and consider that “their problem”. (I think Iran realize other countries have a say as well.)
isleyaardvark
·3 ay önce·discuss
Vance has a book coming out all about his conversion to Catholicism. (It has a photo of a Methodist church on the cover.)
isleyaardvark
·3 ay önce·discuss
Brute forcing things is the kind of thinking that leads to the moron losing the game of chess. And is basically the approach the U.S. took in Vietnam.
isleyaardvark
·4 ay önce·discuss
20+ years would mean it started to be commonly used around the Iraq invasion, for context on “Orwellian”.
isleyaardvark
·5 ay önce·discuss
> Still, few people pursue the option because of a “pervasive” myth that the loans can’t be included in the proceeding

It also says nothing about whether the person actually goes bankrupt, just which debts are discharged, which is one of the key parts of the bankruptcy process. Certain debts are discharged because the person can’t pay them back, which is the point of going into bankruptcy court.
isleyaardvark
·5 ay önce·discuss
That has already happened before: https://frontofficesports.com/offshore-sportsbook-voids-bets...
isleyaardvark
·5 ay önce·discuss
I rave about "The Secret Agent" (2025) to everyone. It's a slice of life movie about people living under a dictatorship. It's got a lot of heart.
isleyaardvark
·5 ay önce·discuss
Like how they deny visas to fact checkers.
isleyaardvark
·5 ay önce·discuss
There is a use case for grid lane and pinterest is a good example: random images where a user isn't looking for a particular image but is just browsing. That's also why the example looks bad, is because it prominently includes text, which isn't part of the use case. Scannability is terrible, this layout has a very limited use case. It really is only for browsing random images, not even searching for a specific image and definitely not concerned with text.