Don’t get me wrong, I’d always choose html over js if I could. My problem with css, and web in general, that it’s too fragmented. It’s like those people who are designing css, html, js and browsers didn’t speak to each other whatsoever. So now there is entire industry of js frameworks to glue all shit together. Like, look at the WebComponents. Which supposed to be native, out of the box replacement. So much effort and they still cannot compete, in some cases they simply do not provide basic features needed to build complex UIs. Next time I can choose stack I’ll probably just go with htmx
- 2 Posts
- 40 Comments
Lysergid@lemmy.mlto No Stupid Questions@lemmy.world•Is WW3 more likely to accelerate or slow down anthropogenic climate change?9·3 months agoNever heard of electric tanks or jets
Don’t know about tailwind but I used styled-components and not going back to vanilla css. CSS seems to be designed to be used with HTML, which did make sense back when it was created. Modern web is 99% JS and components composition which does not work well with Vanilla CSS in terms of class name uniqueness, specificity. Also it easy to dumb shit with CSS, like, I worked in the project where we had a lot of legacy global CSS. We had like dozen CSS styles which were adding margin to <label/>, <p> and so on. I mean no classes, just globally. I’ve been forced to add ‘all: unset’ to basically all my new components just to avoid changing global styles and breaking something else. Do not recommend.
It’s not like I’m deciding on customer’s IT policy
I’m doing cloud migration now and one of assumptions is that two regions in Americas is enough for resilience. I’m in danger
Nope, JS is “You think you are nerd”.
Also, why React is there? It’s a lib not a language
PRs should be exactly as big (or small) as task requires. It’s task that needs to be split into smaller task, if it makes sense to split of course.
Auchan? 🇫🇷🇪🇺
Came to comment same. Though, I prefer “Oushen”
Lysergid@lemmy.mlto Memes@lemmy.ml•All communities in one single community, but without putting them into one single community57·7 months agoI feel like people are complaining about wrong thing. At least for me it’s not a problem that there are different communities. To me problem is same posts. What would be great is to have same posts merged into one post with comments from all its duplicates. This way communities are independent, lemmings don’t get to scroll same copy-pasta and discussion of same thing is visible cross communities/instances. Question is how we define “same” is it carbon copy of post, or same content only? Alternative titles can be shown if content is same but not title.
Lysergid@lemmy.mlto No Stupid Questions@lemmy.world•Is there any hope for Ukraine to survive as an independent state now that trump is desperately wishing for a peace treaty with Russia, even bypassing Ukraine?111·7 months agoMy opinion is Ukraine and EU can kick Russia’s ass as long as they ramp up military production. Ukraine’s army tech went from 20+ years old soviet Kalashnikov stockpiles leftovers to domestically produced drones which dominate battlefield. They can and will increase production. The real question is US reckless enough to ease sanctions on Russia or worse start selling military/dual purpose goods. While Ukraine can withstand demoralized and economically crippled Russia. Ukraine will definitely lose if things get somewhat better for Russian economy and politics. What is more scary is what will happen with US-EU relationships. That would literally be US-EU proxy war.
Literally me thinking about my next surf session
Lysergid@lemmy.mlto No Stupid Questions@lemmy.world•Would it be more beneficial to move to Brazil and be an English teacher there or be a Portuguese teacher in the United States?7·8 months agoIf by beneficial you mean profitable, that depends on whether you going to stay in Brazil and Brazils cost of living relative to teacher’s salary vs US one. I’m neither from Brazil nor US nor have an idea about language teacher labor market. But I moved from my home country to other country permanently. What I know for sure when deciding to move, is that you need to know at least 3 things about your country and other one: cost of living, median salary in your job, how much you loose on taxes. AFAIK, taxes especially relevant for US citizens as they are taxed by US even abroad.
Also how easy is to find Portuguese teacher job in US? Maybe stereotypes, but USAers seem to not be particularly interested in foreign languages
Lysergid@lemmy.mlto Linux@lemmy.ml•Is this how alphabetical order is supposed to be? Nemo file manager37·10 months agoWhat you expecting called natural sorting. Mac employed natural sorting back in 90s. What you get is legitimate Alphabetical sorting which used by Linux and Windows. Natural sorting parses tokens in the string and compares them. Alphabetical sorting compares two strings by comparing individual characters at same index (position). Alphabetical sorting is quite common as it simpler to implement (or rather harder to screw up) and yields predictable results
One of many libraries for Python which implements natural sorting https://github.com/SethMMorton/natsort
Lysergid@lemmy.mlto No Stupid Questions@lemmy.world•Is it okay to continue to work for a (non-defense) federal government agency under an administration hostile to my own moral and ethical beliefs?14·11 months agoI’d leave my job if Musk would become CEO at my job.
Lysergid@lemmy.mlto No Stupid Questions@lemmy.world•Is it okay to continue to work for a (non-defense) federal government agency under an administration hostile to my own moral and ethical beliefs?3·11 months agoIf administration does not change agency’s policy in the the way it contradicts your moral I’d say it’s ok
I mean, mom could be right. Maybe there’s a rule on router to block Fortnite servers after 21:00. She just doesn’t tell that she the one turning it off
Lysergid@lemmy.mlto Linux@lemmy.ml•Phoronix: Linus Torvalds Comments On The Russian Linux Maintainers Being Delisted56·11 months agoHe just applied Russians’ favorite soviet era saying “those who is not with us is against us”
I recently started setting up home server on Raspberry Pi 5. Having issues with raid1. I have 2 nvme PCIe gen 4 SSDs. There was power outages while writing. Now second disk keeps randomly falling. Though, I’m not sure if that’s the reason because I don’t know what was raid status before outage, also disk passes checks. First time it degraded, it tried to recover and it failed. I removed that disk from raid, recreated partition run some test using nvme-cli. Disk looked healthy. I re-added disk, rebuild started and completed successfully. Then I’ve written around 500Gbs of data and it degraded again. At that point I took a break.
There are two things I’m yet to try:
I’m frustrated and will appreciate any hints.