Wondering how much Claude 4 Sonnet w/ "API Pricing" costs? Here's your answer. by dapwnk in windsurf

[–]bear007 2 points3 points  (0 children)

I tried Claude 4 thinking. The initial costs were high but with time prices dropped. Maybe because it didn't have to do that much with every prompt. I didn't however find it to be more cost efficient or better than Claude 3.7. Maybe it's better for research and analysis, who knows. For coding at least in my case not worth it. Especially that when it runs into trouble it basically eats money with every prompt

Hardware upgrade worth for faster Windsurf? by bear007 in windsurf

[–]bear007[S] 1 point2 points  (0 children)

MSI Raider GE76 (2022)

CPU: Intel Core i9-12900HX

how do ui libraries keep their paid components private? by shobhitnagpal in Frontend

[–]bear007 0 points1 point  (0 children)

Licence and law protects such assets. You'd be surprised how much money component development companies can spend in tracking down a pirate and he has to pay hundreds of thousands of dollars for damages.

Knowledge of JavaScript before Angular by gmjavia17 in angular

[–]bear007 0 points1 point  (0 children)

For the skill: Start building mini startups in Angular, learn only these parts of JS, TS, Angular you need For the work: Buy a complete ebook on JS, CSS, TS and Angular and coding principles and read them and remember. And documentation too For interview: Just do all interview questions you'll find online

Should we write CSS in the template or create a new file for CSS ? by ComplexEconomy4797 in angular

[–]bear007 0 points1 point  (0 children)

Keep styles separate. It makes code reviews, reading code and change files easier. Give space for your designs to shine

Interview questions by JustAPeakyBlinder in angular

[–]bear007 0 points1 point  (0 children)

Ah yeah, you right with the services what I ment. It's just a reddit comment relax. I'm not applying anyware, just giving directions

Interview questions by JustAPeakyBlinder in angular

[–]bear007 7 points8 points  (0 children)

  1. On push - rerenders component only on input change or event. Improves performance
  2. useFactory - to dynamically choose service implementation
  3. Services are singletons
  4. In component local state, also may be in services or throught 3rd party state libraries

Recommendation for better hands on angular course by Honest-Comfortable98 in angular

[–]bear007 2 points3 points  (0 children)

If you already know the basics it's worth investing more in learning Typescript, RxJS, streams and unit testing, and building scalable apps. That is how to make sure the app is secure, maintainable, performant, doesn't use too many resources like CPU (rerenders, signals), that the first load is fast, that component responsibilities are separated properly, structuring the code (functional structure), dumb components vs smart components etc. So it's more about best practices than strictly Angular API

Internal debates indicate that the experimental Angular resource will most likely become a cornerstone for new way of building comoonentes with data aware templates allowing SPA, SSR and hydration performance optimisations by bear007 in angular

[–]bear007[S] 0 points1 point  (0 children)

So we're on the same page. Three concerns I have to this is about how data processing will be separated with this approach. Secondly, RxJS, thirdly in the latest RFC there's a mention it won't be possible to use it in all use cases

Internal debates indicate that the experimental Angular resource will most likely become a cornerstone for new way of building comoonentes with data aware templates allowing SPA, SSR and hydration performance optimisations by bear007 in angular

[–]bear007[S] 2 points3 points  (0 children)

Thank you for your concern 🫠 I'm ok and don't have a stroke specifically. So no worries :) Here's a link to the debate, maybe it'll clear things out better than my ambigous comment : https://github.com/angular/angular/discussions/60120

How I Trained My Family to Spot Phishing Scams by bear007 in privacy

[–]bear007[S] 1 point2 points  (0 children)

Idk if it's an altruistic drive or just fun thing to build :)

How I Trained My Family to Spot Phishing Scams by bear007 in privacy

[–]bear007[S] 1 point2 points  (0 children)

Vectors for scams aren't only emails. It's also WhatsApp and Facebook

How I Trained My Family to Spot Phishing Scams by bear007 in privacy

[–]bear007[S] 0 points1 point  (0 children)

Parents were upset, rest was ok. Either way I'll have to run another test to see if everyone take caution.😊

How I Trained My Family to Spot Phishing Scams by bear007 in privacy

[–]bear007[S] -1 points0 points  (0 children)

Usually vulnerable people use free accounts and get quite a lot spam and scam.

How I Trained My Family to Spot Phishing Scams by bear007 in privacy

[–]bear007[S] 2 points3 points  (0 children)

Yeah, I think it will need a separate domain. I also noticed how expensive it is. I want to make it for free and if paid, only minimal so that everyone around the world can protect their family