So my question is: Why build components on top of something like Tailwind instead of just regular CSS? Or are you able to customize and use Tailwind mixed in with the components? Then sure why not I guess.
Yes, everything can be overridden with Tailwind classes (i.e. `btn p-8`). It's a great choice you're a Tailwind enjoyer, but want the batteries-included experience of Bootstrap.
As I see it, it's something like Bootstrap that's built on top of Tailwind which an architecturally valid approach in that it decomposes into clean layers. Personally I could see the appeal of Tailwind in how it encapsulates CSS into graphically meaningful classes, defining classes that are semantically meaningful out of those is a great idea.
Somebody who likes Tailwind would have an easy time specializing DaisyUI to look exactly like what they want. For that matter you could make Tailwind with DaisyUI easily. Their examples look great and I could totally see using DaisyUI instead of Bootstrap on my side projects, though my current ones have real back end problems that need solving and reworking the CSS isn't on the agenda any time soon.
I've been writing CSS manually since it came out. The latest additions make it less difficult, like & and nesting, variables, etc.
But overall, CSS is just really difficult to scale well properly. I should probably learn Tailwind at this point, instead of continually rolling my own CSS.
So now I have DaisyUI bookmarked since the site is excellent and looks so useful.
I've been writing CSS by hand since the late 90s. I resisted Tailwind for a long time, but I tried it on a pet project and I get it now. It doesn't fundamentally do anything that you can't do in CSS already, but it sort of "quantizes" the DX such that the vast majority of the CSS you'd usually end up writing boils down to a set of conventions.
You can still write your own CSS as needed (and probably should, for some of the more esoteric Tailwind cases), but stupid stuff like flexbox directives and padding/layout that you do literally everywhere become a lot easier, especially with things like the Tailwind VSCode plugin which provides autocomplete, reflection on defined variables, and linter errors for duplicated or incompatbile expressions.
Right but it comes after a long line of similar CSS frameworks with the same promise, starting with Bootstrap, and there were large movements about 10 years ago of whole orgs deserting those frameworks because of serious issues. Are you saying Tailwind somehow has resolved those? That was the main reason I didn't try to learn it considering it to be just yet another CSS framework's conventions.
Tailwind solves a somewhat different problem. It's maybe easiest to think of it as a bunch of aliases for writing inline styles. The fundamental problem with CSS at scale is leaky abstractions, right? Tailwind moves the abstractions down a level, so that rather than attaching semantic classes, you're just composing the properties of an element directly, except you don't have to remember if you used px or rem for this padding, or what the media query for a mobile breakpoint is. This tends to reduce the incidence of high-gravity classes which tend to accumulate features, at the cost of some verbosity vs something like Bootstrap, though it's significantly less verbose than equivalent inline styles would be.
You can use mixed in tailwind. Its for consistency (which I quite like). I'm a big fan of just saying "gap-1" and knowing that that will be consistent across the custom components I've written, and the component library
Uhm hasn't this been the case since 2019-2022 or somewhere close to those years?
In Denmark we had a year to make government/public apps fully accessible and the same for websites and documents presented on websites.
We also had to create accessibility certificates and dedicated pages on the websites to prove and clarify the state of the accessibility (or lack of, together with a statement of what's being done to remedy the issues).
Are these "new" EU laws for a different sector (private?) or something else? I can't find any references in the article. I may be blind (pun intended).
I do build websites for public sector in Denmark and we are only starting now with accessibility :( I don't know the actual law, but I would be surprised if multiple regions would just ignore them for this long.
And yes, these new laws seems to be aimed for private sector as well.
> Yes, we get it. Uninstall Facebook/IG/WhatsApp..., but no. Most people in the world use these, and you're still targeted without using them.
Whenever I go into Facebook itself, I see how poorly they target me.
Boob surgery and dick pills.
Lawyer specialising in giving up a citizenship I never had for those living in a country I left in 2018. Announcements from that country's government that a breed of dog I've never heard of is now banned.
Recommendations to join groups about teams I've never heard of in sports I don't follow in states I've never even visited in a country I've never lived in.
Misunderstanding: The advert is to renounce US citizenship that targets Americans living in the UK. I left the UK in 2018, I've never had American citizenship.
I have an ad blocker that removes all ads so I indeed don't care what ads are displayed to me. But I do want to minimize what data companies collect about me and will use whatever means necessary to do so.
Why just Meta is a false dichotomy. Privacy-aware users tend to adjust the settings and use privacy-enhancing extensions for all companies.
Yes, I think this should be regulated and companies within the EU need to be forced to respect privacy and other EU laws. The current penalties are too low. Data theft is a serious crime.
The main reason I've done this is to make myself less profitable to Meta. A drop in the bucket, I know, but the more people who do this, the less money Meta makes, which can only be a good thing for the world.
1) I don't particularly care beyond possibly being less targeted for manipulation
5) I wouldn't have thought it was a campaign or effort by Warner Bros, likely just the show itself which seems to have pretty wide editorial freedom (and obviously EFF does have a known position on these matters)
6) Good luck getting timely and well thought-through regulations through the EU / any regulation through the US
5: Probably John Oliver still at it, I used to watch when I still had time to watch videos about a country that's not mine, it was both insightful and funny. I'd bet his program did that (they did set up a church to show how easy it was to evade taxes or something a few years ago)
HN is always a mess when the subject contains Musk, Trump, Google, browsers or social media platforms in general.
I don't mind the slight political aspects of things, but reading a ton of hate and "I already deleted X" (pun intended) and "Just use Y other platform" (that no normal user can figure out) comments is just uninteresting and should stay on Reddit or wherever these nonproductive comments fit into.
I'd love to hear more about this case, the technical aspects and the follow-ups/investigations. Let's focus on that, no? Maybe it's just me.
The biggest exception to that is dead/shadow banned accounts. Requiring showdead (without much of an explanation what that is) to see some heavily-downvoted comments makes it rather difficult to engage with some people. Then again, I rarely feel the need to engage with dead accounts.
In terms of moderation, you also get to flag/vouch posts, so moderation isn't entirely binary.
I like it a lot :-)
It scrolls a bit too far though. I move my fingers fast and it skips articles because of the momentum.
Also when at the top, scrolling up it should maybe refresh?
And it would be nice with a visual indicator that new articles are being loaded when at the bottom.
Lua has rawget() and rawset() to bypass the magic methods, which is used a lot inside/outside the metatables (objects with magic methods) to avoid magic loops I guess.