

Never heard of electric tanks or jets
Never 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”
I 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.
My 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
If 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
What 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
I’d leave my job if Musk would become CEO at my job.
If 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
He just applied Russians’ favorite soviet era saying “those who is not with us is against us”
Library built this way because it supposed to be flexible and provide ground for complex usecases. It can only be flexible if your API works with simple abstractions which you can then compose. It’s not driven by “I need this specific utility for this specific scenario”. That would be zoo you have in JS where you have 10 ways to iterate over array and 9 of them wrong for your scenario.
Java’s OO is great because they design library with SRP in mind making sure there is few but good ways to do things.
BufferedReader cannot accept file name because it makes arbitrary reader… well buffered. It’s not BufferedFileReader, even that would accept something like Path or File, not string, because File can be remote file, should Reader now know all possible local and remote protocols and path formats? What else it must do?
Having it designed the way it is, allows Java to have utilities for various scenarios. Your scenario covered by standard lib too. See Files.readAllLines which, surprise-surprise, built on top of BufferedReader.
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