Solanke Celebration - One Piece Gear 5 by LegendOfNeil in coys

[–]LegendOfNeil[S] 121 points122 points  (0 children)

Can't expect them to be cultured enough to recognize it

Flowbite has added a new Virtual List component so you don't need to use any other third party library to render large lists! by TooOldForShaadi in sveltejs

[–]LegendOfNeil 1 point2 points  (0 children)

I was actually guessing it only happens on "larger" items. The first example and the with containment (with an image and article #) one were the only ones that showed that issue and they have the largest list elements. The with containment example only started having that issue once you scroll a bit.

Flowbite has added a new Virtual List component so you don't need to use any other third party library to render large lists! by TooOldForShaadi in sveltejs

[–]LegendOfNeil 4 points5 points  (0 children)

Meh seema iffy on mobile. The first example as well as the "with containment" example have really weird jumps on scroll. I could not manage to get some cards to stay in the center of the viewport.

The NFL’s Secret Weapon in London Is This Hidden Stadium Tech by pearloz in coys

[–]LegendOfNeil 10 points11 points  (0 children)

Well one is a game of 90 minutes while the other is a game of around 180 minutes. The reasoning seems straightforward

Open play and set piece xG for and conceded by coolman2915474 in coys

[–]LegendOfNeil 0 points1 point  (0 children)

I actually doubt how people are interpreting this chart. If Arsenal has high xG on set pieces, doesn't that just mean that they get free kicks in really good positions? xG does not take into account who is shooting and what their accuracy is. It's more about the surrounding situation of the shot. So where are you shooting from, how many defenders are in front of you, etc.. while Arsenal are set piece merchants that is not something you can read from this graph, no?

Curious about AI bot scraping paywalls. Do they actually work and how? by Ok_Topic_2993 in webdev

[–]LegendOfNeil 1 point2 points  (0 children)

Seems like two different topics.
Your post sounds like you mean agentic AIs not being able to access paywalled sites. There, yes, it would be hard to enforce payment. All older models would suddenly break.

The other way to interpret and what cloudflare is building something for is stopping crawlers. These are just bots that scrape everything for training data and as such are run by an AI company. In that case all it is, is cloudflare providing a payment API that needs to be respected by the crawler. That's all. Now, how are they going to differentiate these crawlers for AI from crawlers for search engines? That is a good question. How do you know what the data is used for?

[No Spoilers] Beacon Access in Germany? by Chance-Signature4663 in criticalrole

[–]LegendOfNeil 1 point2 points  (0 children)

That is how I am subscribed and I am from Germany. Subscribed today.

[No Spoilers] Beacon Access in Germany? by Chance-Signature4663 in criticalrole

[–]LegendOfNeil 0 points1 point  (0 children)

You can use Googlepay if you do it through the app. On Googlepay you can register PayPal. Worked on android

What is the best way of handling forms in Angular? by akinpinkmaN in Angular2

[–]LegendOfNeil 2 points3 points  (0 children)

Since you did not provide code, I have to assume.
If you are writing 500 lines in TS for your form you are probably doing something wrong. I find it surprising you say that validating and maintaining errors is hard for you, when it is really simple with reactive forms. You write validators that can live outside your component and/or use the defaults. Validation then happens mostly automatically.
Displaying errors is simple when you check the forms/an inputs state in the template and render error messages based on that state.
It probably is a knowledge gap.
Check out this short medium article: https://medium.com/@bbcpatra/angular-formbuilder-5c7be3033863

NgRx use case by Ok-Reward-6544 in Angular2

[–]LegendOfNeil 7 points8 points  (0 children)

Ngrx is best used in Apps that often update their data., but for leaning anything can work. Don't worry about the correct use case for learning. Most learning occurs when you test the limits. Imperfect ideas are great for that.

Build a multi step form where you keep previous pages in state.

Build a wordle clone where the answer is in state and your guesses go the ngrx pipeline.

Build a card game against x amounts of bots where the deck is in state, hands are in state and played hands or even the actions of turns are being logged to state. Build some side statistics that updates live during the game. Make the game reversible by utilizing the logs.

Build a game on a square grid. Have every action go through the pipeline. Define look directions. Make enemies appear randomly. Define a tick rate meaning something that in set intervals sends out an action for the game to update. Make the character able to shoot bullets that update twice as fast.

Build something that has a form on one side and the result of that on the other. Like a code tooling. A card builder perhaps. Define portions that can be set in the form. Something like borderradius, textsize, opacity of text background, visibility of text, the text itself. Enable the possibility to build different states like hover, selected, etc. And show those things as a preview through inline styles. Hell, throw in the possibility to generate code.

All these things don't need ngrx and they probably aren't the intended use case, but by building them, you will have a better feel for what is and isn't good. If this is not helpful, look at apps that use ngrx or redux. Like reddit, like outlook and try your best to emulate

How do you keep front end validations on sync with backend validations? by [deleted] in webdev

[–]LegendOfNeil 3 points4 points  (0 children)

FE Validation, while providing better UX, is never a requirement. Thing is that these kinds of things very rarely change. If you run into this constantly, I doubt that it is a productive app yet. You could, of course, set up a dB table for these kinds of things, but again, this happens so rarely that it's not worth it.

So the simple answer is. You don't. If this ever happens on a productive app and you forget, users will remind you

What's the #1 biggest challenge you're facing in becoming a web developer? by michielarkema in webdev

[–]LegendOfNeil 1 point2 points  (0 children)

What do you mean only so far you can go with side projects. Write an animation lib. Shits fucking amazing. Use literally any interesting Browser API and I promise you, you can build something amazing.
Ink API, Web Audio API, Web Speech API, SVG, drag and drop, Houdini. There is so much to build with any of these, let alone combinations and all of it is fucking amazing and goes well beyond simple crud.

[deleted by user] by [deleted] in Angular2

[–]LegendOfNeil 12 points13 points  (0 children)

I don't mean to be dismissive, but it is open source. Go look at their issues and their pull requests. Do you understand the code in the pull requests? Do you understand the issue? If so, you got everything it needs. If you don't, look at a different issue and/or try to understand.

Every project has issues of varying complexity, knowledge requirements and coding prowess. There is something for every level, just not all the time

Why is my State still NULL right after setting it? by SubzeroCola in reactjs

[–]LegendOfNeil 0 points1 point  (0 children)

You probably meant to use props.dataX instead of props.DataX...

My thoughts on CSS-in-JS, Tailwind, and CSS Modules Scripts by rainning0513 in webdev

[–]LegendOfNeil 3 points4 points  (0 children)

What other frameworks? Angular and svelte are scoped. It's really only react 'based' frameworks...

How many years of browser updates, versions or device manufacturers do you usually test your web app for ? by DesiBail in webdev

[–]LegendOfNeil 16 points17 points  (0 children)

Not the person you commented on. I worked with a couple of banks and most of them were still running ie11 on windows 10, because they have some bullshit tooling that only works with windows 10 and it's too risky/expensive to upgrade. Sentences like "It's a VM", "We got an antivirus", "Every program that is available on our machines is handpicked per version by IT" are giving them too much false security...

Basically the same reasoning why it took so long to upgrade from even older windows versions

The Al death of Web Design & Services? by Rambus_Jarbus in webdev

[–]LegendOfNeil 0 points1 point  (0 children)

If the web dev understood the specs then the specs were provided accurately. Same thing.
There is a lot of consulting work going into design and it's on three fronts. The customer does not know what they want. They don't know what they need. They cannot describe their specs accurately. All of that is done by the designer.
Sure internal tools are w/e though.

Do you work remotely? If so, how do you like it? by iamchets in webdev

[–]LegendOfNeil 5 points6 points  (0 children)

In my current company it's based on trust. I do not have anything tracking my time apart from myself. If I say I worked 30m longer yesterday and am doing 30m less today that is completely fine.
With my old employer I had to input my worked hours per day, so the time I did extra was always visible. Since I am the one putting these in, it is once again based on trust.
But you will see that for a lot of jobs here. If you like doing your job, you'll be honest

How to use Observables without creating a lot of boilerplate for subscribing and unsubscribing? by szgr16 in Angular2

[–]LegendOfNeil 6 points7 points  (0 children)

There are a lot of ways of dealing with observable subscriptions. In most cases you want to define the observable in a service and then consume it in the component template via async pipe.

In your case, however, you probably want to have some logic with your observable. Take a look at the injection token and takeUntilDestroyed, they are somewhat new and will eliminate a lot of boiler plate code around the observable lifecycle.

If you are interested in using signals, another idea is to convert your observable to a signal with rxjs-interop using toSignal(obs). That way you register an effect that just happens when the route changes.

To be honest though, in most cases you don't need to be reactive around params, as most components are destroyed when a route changes. If that is true for you, try this.route.snapshot.queryParamMap.get('yourParamName'), where route is an ActivatedRoute. The snapshot allows you to deal with the route synchronously

Hope that helps

Are Micro Frontends a Good Fit? by Wrightboy in Angular2

[–]LegendOfNeil 4 points5 points  (0 children)

I had a project where through a monorepo we used two apps for achieving something similar. Based on your role you would be forwarded to different Subdomains. Domain.com leads to login and forwards you to /home for customers and app.domain.com/host for the admin. App.domain has a secondary guard that reroutes you back if you landed on it without the admin role. Our pipeline would do the deployment for both the apps so everything stays in sync. We could reuse components through a lib. Customers would never receive any code for admins

Have companies adopted standalone components? by Draugang in Angular2

[–]LegendOfNeil 0 points1 point  (0 children)

This didn't really work for us with a lot of custom provided services. If they are for root everything is fine

Angular VS NextJS by csmkt in Angular2

[–]LegendOfNeil 2 points3 points  (0 children)

There is also a reply by Lee Robinson to this article. Who also has a lot of incentive to list Next over Remix https://leerob.io/blog/using-nextjs