Hacker Newsnew | past | comments | ask | show | jobs | submit | krvajal's commentslogin

what food basket are you talking about? that thing only exists in the news. in reality why dystopian reality you live in?

Cuba better than Haiti??? You are reading to many fake news. Cubans are travelling to Haiti to buy food and medicine.

Cuban healthcare good? You are joking right? If you need surgery have to bring your own equipment, including chirurgical globes and syringes. You have to either buy it in the black market or have a relative in a capitalist country to send it to you.

Dont even get me started on education.

Happy to provide you more details and break the bubble you are leaving in.


I have lived in Cuba for one and a half years and have studied there. The education system is in same aspects superior than the one in my home country, Germany.

I have visited schools and the education level of the vastly higher. The knowledge of the children greatly impressed me. In fact you could talk the average person on the street about complicated issues regarding history, philosophy and economy. Many where even multi-lingual.

It is true that Cuba has trouble getting some medical equipment due to the sanctions but she also has a for a small island impressive pharmaceutical industry. There is a great medication for diabetics that would save many lives if it were allowed to be exported in the US. Not to mention having developed their own covid vaccine.

You are probably living in a exile-Cuban bubble.


Potemkin villages for the young foreign revolutionaries and misery for the locals.


I was able to travel the whole country freely. I didn't stay in some touristy hotel, I lived among Cubans. There is literally no way my experience could have been controlled by the state.

People were not afraid to talk critically about their government with me and did so often.


People are starving, leaving the country in millions, but you are still adamant they are delusional and live in a bubble. Maybe, just maybe you haven't saw and understood everything while visiting?


No one is starving.

Ever heard of something called propaganda? Are you still searching for the weapons of mass destruction that Saddam Hussein had?

These people are literally paid by the government to spread anti-cuban propaganda. It is even on wikipedia: https://en.wikipedia.org/wiki/Miami_Herald#21st_century

> On September 8, 2006, the Miami Herald's president Jesús Díaz Jr. fired three journalists because they had allegedly been paid by the United States government to work for anti-Cuba propaganda TV and radio channels.

> Less than a month later, responding to pressure from the Cuban community in Miami, Díaz resigned after reinstating the fired journalists, saying that "policies prohibiting such behavior were ambiguously communicated, inconsistently applied and widely misunderstood over many years".



Again, no one is starving.

There is shortages of certain goods, yes. Starvation? No.


he means the new SharedMergeTree, but that’s clickhouse specific.


And very bad at accounting :P


> where safe options would have worked fine

Thats a very short-sighted view IMO, software engineering is not just about technology choices.


Software engineering is first and foremost about making good engineering choices. We are proving time and again as an industry that humans CANNOT write mistake-free code.

From just this week: https://news.ycombinator.com/item?id=37600852

Just because someone built a fantastically functional building doesn't mean we can't criticize their choice of foundation. Case in point: Millennium Tower in SF: https://www.nbcbayarea.com/investigations/series/millennium-...


And when making those engineering choices there are different tradeoffs and constraints to be considered. The language to use is one of them. So when a Rust (wild guess) fanboy comes without any background context and makes comments like yours is very telling.

You are correct that bug free software does not exist. But choose a “memory safe” language does not prevent that. A seasoned C++ developer knows how to use memory sanitizers and other tools to guarantee the correctness of its code compared to an average Rust developer that just trust the compiler which, guess what, also may have bugs.


Clickhouse is a Yandex project and at Yandex, they historically use C++ for almost everything, I guess it's part of their culture (probably the founders were C++ programmers?) Their web services such as Yandex Taxi's backend (Uber's equivalent) are also written in C++ which is unusual for webdev nowadays.


s/is a/was a/g

But more interesting, to me, is language adoption and familiarity by region.

I have a bookmarked dev.to article from 2020 that discussed programming language popularity by state - https://dev.to/eduecosystem/what-is-the-most-popular-program...

I'm uncertain if anyone has extrapolated that to more geographic regions. It would be interesting.


> There's nowhere to go for us classic forum people.

You are already here


Happened to me. I got a 5k bill


Tailwind v20 = just css


The spec authors should be looking at the popularity of Tailwind and be thinking of how to enhance the style attribute. Then Tailwind really could mostly be a bunch of CSS variables and inline styles.


Tailwind depends on @apply in PostCSS to function, something that was never officially proposed for CSS, but has been killed by its author and we know for sure CSS won't do, for the reasons the author of the original @apply idea lists here: https://www.xanthir.com/b4o00

So we have known all along that this will never happen. It was rejected for some very good reasons before Tailwind began.


I've been working on a library that is basically what you're describing: https://github.com/nealfwilliams/style-kit-n

Feedback welcome


an argument for it is that it couples content and styling together, instead of them being in different layers.

Sometimes, they are, and should be, separate. But in other cases, styling is related to the content, or part of it.


The only time I can imagine coupling content and styling together is if you have mostly non-repetitive elements in the content (rare, I think, maybe some very "designed" landing page, or whatnot), or you have other ways to repeat the elements without writing the styles out each time for each element. (And at that point you've just moved the problem of having to invent names for CSS classes to having to invent names for bunch of "components" and their properties)


Any UI beyond trivial lists will couple style and content.

You have a card? Boom, you need to couple styles for the title, for the content, for the footer etc.

You have a form? Boom, you need to couple styles with the form.

The idea that styles are somehow decoupled from content is funny idea that very rarely works out in practice.


You missed the point.

Would you copy paste around:

<form class="asd fasdf e4rwe sfdg sdfgbbv cxvbxcs asdf asdf wer wer gfdghdfgh fgh">

20x around your static website and keep it updated manually when someone "from design" wants to change the "form" look?

Or would you just <form class="classic-form"> and describe the style of that class of form in a single place?

I know what I'd do. :)


This is achievable in a much nicer way with SFC frameworks like Vue and Svelte where you also get scoped styles and other benefits. One of the reasons Tailwind is so popular is that so few developers know anything other than React.


Tailwind works just as well in Svelte and Vue


Of course it's just class names, what I mean is that if fewer people used React and more used Svelte/Vue they would feel less need for things like Tailwind or CSS-in-JS.

My argument is that React is actively bad for writing HTML/CSS, and therefore people came up with clunky solutions to get around those limitations. Certainly Tailwind is more than just a solution for React, but a large part of its popularity is due to it.


> they would feel less need for things like Tailwind or CSS-in-JS.

Why do people keep mentioning Tailwind and CSS-in-JS in the same sentence?

And no, Tailwind would still have its place even if Svelte appeared first because instead of writing the same styles everywhere you'd still want to extract them into a file, and have sensible defaults for them.

Oh look, Tailwind does exactly that.


> Why do people keep mentioning Tailwind and CSS-in-JS in the same sentence?

Because one of the biggest arguments for each is scoping styles to a component instead of the default global cascade.

> And no, Tailwind would still have its place even if Svelte appeared first because instead of writing the same styles everywhere you'd still want to extract them into a file, and have sensible defaults for them.

Writing same styles everywhere? I'm not sure I understand what you mean, that isn't related to Tailwind or frameworks. Sensible defaults are just design system tokens, those are usable in way more styling approaches than just Tailwind.

I'm not saying Tailwind wouldn't exist, I'm saying it wouldn't be as wildly popular as it is now. React's lack of CSS features has encouraged a generation of frontend devs to simply not learn CSS fully. Sure you need to know some CSS to use Tailwind, but in many cases people just copy-paste Tailwind templates from elsewhere (another benefit of Tailwind) and don't actually understand the styling. I see Tailwind classes that do nothing in the wild all the time.


> Because one of the biggest arguments for each is scoping styles to a component instead of the default global cascade.

Escaping the global cascade has been on everyone's mind since forever. BEM, one of the lost popular ways to try and scope CSS to components, was invented in 2006: https://en.bem.info/methodology/history/

OOCSS is 2009: https://www.slideshare.net/stubbornella/object-oriented-css

> Writing same styles everywhere? I'm not sure I understand what you mean,

You need to specify things like font sizes, line heights, border styles, colors etc.

> React's lack of CSS features has encouraged a generation of frontend devs to simply not learn CSS fully.

This has nothing to do with React. No one ever learned CSS fully. If anything, Tailwind encourages you to learn more CSS.

> but in many cases people just copy-paste Tailwind templates from elsewhere (another benefit of Tailwind) and don't actually understand the styling.

How different is it from all the history of the web?


Same


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: