u/Crutch1232

▲ 0 r/webdev

Strange bug/behavior with number inputs in Angular app

I'm working on Angular 8 web app (abismal monorepo), it is internal tool for managing payments, encashments, etc.

It has quite a few number inputs, all of them allowed to take as value only integers.

Recently i started getting reports from users that sometimes when they fill in value and submit it (add to basket, submit amount), the end value is different from what they initially filled in (the difference is reported to be 1 or two, and mostly towards down).

We do not have any rounding logic, any conversions, any floating point number, nothing. Inputs are just pure integer inputs.

I'm already starting to pull my hairs out from this issue and only sensible solution for me is to fully disable any control on the number inputs (keyboard arrows, mouse wheel control), make them text inputs and add pattern validation.

What else there can be? What am i missing?

Also, the users of this app are not very good with tech, sometimes they even let website open for weeks without refreshing it and complain that latest changes are not present at their end.

For now this input issue/solution seems only option which makes sense and seem real.

reddit.com
u/Crutch1232 — 4 days ago

So, as title imples, a few days ago i finished the first Dark Souls, spent in game about 58 hours, beat Gwyn then fooled around a bit in NG+.

I really loved the game, it was a long time since i had such rich gaming experience, absolutely sick level design, shortcuts, connections in locations. Peak gaming.

Without long thought i installed the second game, of course did a bit reading before, and mostly found negative opinions, some with constructive criticism of the game, some just rant level.

In the end started the game, as a Warrior. Game feels very familiar but in the same time like totally different world. It took me a few hours to get used to the pacing and fighting. As i'm not kin to torture myself, i read a few things about leveling, and tried as soon as possible to level up my ADP to be able at least do some rolling. I'm even afraid to imagine what would happen if i was playing blind, probably quite at some point.

At this point i beat The Pursuer and Last Giant, 7 hours into game. The enemies are mean, especially when there are several of them and you literally getting gangbanged by skeletons. So far this is the most annoying part, it is really annoying, not hard. So i guess need to adjust my strategy and not rush to much.

Using Flame Sword and leather armor, upgraded sword to +2 i think, that thing hits quite strong. Looking forward for the next locations.

What advices and tips you have? I'm trying to avoid full guided walkthrough to not kill the experience, but general advices and tips really help not to abandon game, because it feels like torture machine designed by some sick sadist at times.

reddit.com
u/Crutch1232 — 19 days ago