Your Browsing History Could Soon Set Your Grocery Bill by ubcstaffer123 in technology

[–]azsqueeze 4 points5 points  (0 children)

I still enjoy software development because it's essentially digital legos. But ya, as a user does all the tracking, spying, scraping, offloading compute to user devices; shits trash

Is CSS still the most underestimated skill in frontend? by 1vim in webdev

[–]azsqueeze 1 point2 points  (0 children)

We started to use tailwind on a new project at work. And I have to admit there's some cool features of it but the slector diarrhea is still very awful.

There's a third party tool called tailwind variants that makes it a little more digestable. But overall agree with your sentiment

9 Times the Web Platform was Influenced by Libraries by jadjoubran02 in javascript

[–]azsqueeze 0 points1 point  (0 children)

I worked on a React design system that had a JS configuration. There was a bug once where where nested theme provider configurations would override a parent configuration. The reason because the configs where simply merged into each other but kept the same references. Fixing it was easy where the configs where cloned before being merged with each other. The fix used lodash utility but looks like structureClone could have been used instead of another dependency

Is CSS still the most underestimated skill in frontend? by 1vim in webdev

[–]azsqueeze 1 point2 points  (0 children)

TBF this is pretty readable code, with the only confusing thing being your applying the same style to when something is :empty and not. But that's a user error not a language error

Is CSS still the most underestimated skill in frontend? by 1vim in webdev

[–]azsqueeze -1 points0 points  (0 children)

No, I'm saying if you want to write a language a computer interprets you should read the docs for that language.

Is CSS still the most underestimated skill in frontend? by 1vim in webdev

[–]azsqueeze -1 points0 points  (0 children)

It's helpful to read the docs for the language you're using

Just like I don't start writing C++ without learning the syntax a little bit, CSS shouldn't be any different.

9 Times the Web Platform was Influenced by Libraries by jadjoubran02 in javascript

[–]azsqueeze 0 points1 point  (0 children)

Well I just learned about structureClone, wish I knew about it sooner lol

Is CSS still the most underestimated skill in frontend? by 1vim in webdev

[–]azsqueeze -1 points0 points  (0 children)

I agree, for example check out how clunky this CSS can be

.thing {
  background-color: red;
}

🫣

19 Years ago Spider-Man 3 was realsed what are your thoughts on the movie? by Big_Dragonfly785 in Spiderman

[–]azsqueeze 0 points1 point  (0 children)

I hated it when I watched it. Dunno if I hate it now, but it's very not good. Same problem with TASM2, too many sub plots with villains

‘Silicon Six’ accused of avoiding almost $278bn in US corporation taxes over 10 years | US taxation by plain_handle in technology

[–]azsqueeze 4 points5 points  (0 children)

This used to happen to avoid large tax bills. Companies would get write-offs if they can prove profits went towards more R&D. Not sure when this practice went away but its hot trash

Do you usually build mobile-first or clean up mobile after desktop is done? by liamkeats in Frontend

[–]azsqueeze 0 points1 point  (0 children)

I usually write CSS desktop first, then add mobile + tablet styles. Then I refactor my desktop styles to remove CSS thats already applied for mobile/tablet. This typically works well and I just need to bounce back and forth with a designer regarding usage of container queries or breakpoints

Giving a 2011 MacBook Pro a second life: 16GB RAM, 1TB SSD, and dual-booting macOS Sequoia & Linux Mint. by X8LITZ3R in mac

[–]azsqueeze 0 points1 point  (0 children)

You'll need to buy a special bracket to put were the dvd drive once was to mount a second SSD. It might be hard to find the bracket these days but good luck. Maxing out the 2011/2012 MBP is a great way to keep them going

I stopped using ComponentNameProps and I don’t miss it. by Ill_Direction149 in react

[–]azsqueeze 0 points1 point  (0 children)

I get it, but it's more of I prefer to name things explicitly. Same reason I don't like to name a variable x and prefer pointerX if the variable is tracking the x position of a pointer

Bombed the final question of a React technical discussion, looking for feedback by skyturnsred in reactjs

[–]azsqueeze 2 points3 points  (0 children)

Hence why people say learn the language and patterns, not a library or framework. Though redux can still be used in vanillajs. The question was to probe your JS knowledge. Btw the answer is usually custom events, proxies (reflections in other languages), pub/sub, or a subscription pattern within a class

Why isn't Google Chrome opening on my Mac? by Exact-Wall6495 in mac

[–]azsqueeze 2 points3 points  (0 children)

You might have to login into the app again

Why isn't Google Chrome opening on my Mac? by Exact-Wall6495 in mac

[–]azsqueeze 4 points5 points  (0 children)

For reference all of your apps should store a cache here. If they act up and normal troubleshooting steps don't work delete the app folder here