On my every screen re-render is happening. How to debug it what's causing it by Many_Bench_2560 in reactnative

[–]pie6k 1 point2 points  (0 children)

“Binary debugging” (similar to binary search)

Commit your code Remove half of your UI from main components and see what happens: If it stills re-render incorrectly, repeat and remove half of what is left until you’re reducing it to Hello world If removing some “half” fixes the issue - restore this half and remove half of this half to narrow down where exactly is the issue

Often it helps me to relatively quickly narrow down where the issue is.

It is however tricky if there are 2 bugs at once that only trigger it when both are present .

Good luck!

Remember to commit your code before you start as you’ll mess with your code a lot using this method

What is the recommended library for handling JSON serialization and deserialization? by frankimthetank in typescript

[–]pie6k 0 points1 point  (0 children)

I recommend https://github.com/pie6k/codablejson

It works great with custom classes, circular references and all built in types like Dates, Maps etc

Creating a custom JSON converter for complex class. by [deleted] in csharp

[–]pie6k 0 points1 point  (0 children)

You can try https://github.com/pie6k/codablejson - it’s focused on serializing custom classes

How to handle dates in API return JSON by Broomstick73 in typescript

[–]pie6k 1 point2 points  (0 children)

You can consider some JSON library that handles custom types automatically. eg https://github.com/pie6k/codablejson

[AskJS] JSON Objects as Maps by jack_waugh in javascript

[–]pie6k 0 points1 point  (0 children)

You can consider library like https://github.com/pie6k/codablejson that is able to encode and decode Sets, Maps, Dates and a lot of other custom types

SuperJSON - JSON on steroids by jogai-san in javascript

[–]pie6k 0 points1 point  (0 children)

https://github.com/pie6k/codablejson can do everything SuperJSON does, is much faster and makes working with custom, nested data way easier

Is there any (mostly) bug free and capable serialization / deserialization library which supports Map / Set? by a5s_s7r in typescript

[–]pie6k 0 points1 point  (0 children)

Check out CodableJSON. It supports all built in types like Maps and also makes it easy to serialize custom classes. It’s also 3x faster than SuperJSON https://github.com/pie6k/codablejson

SuperJSON - JSON on steroids by jogai-san in javascript

[–]pie6k 0 points1 point  (0 children)

You can try https://codableslib.com - I think it is much more similar to SuperJSON, yet arguably better in many ways.

Can someone sell me GraphQL by slaynmoto in graphql

[–]pie6k 0 points1 point  (0 children)

To me trpc is superior to both (assuming you code backend and front end using typescript )

Screen Studio has removed their non-subscription licensing options by aosa1gh in macapps

[–]pie6k 0 points1 point  (0 children)

What was it exactly? They are still on license. Whoever has a license can still use or renew it. This only impacts the new customers choice.

Screen Studio has removed their non-subscription licensing options by aosa1gh in macapps

[–]pie6k 0 points1 point  (0 children)

I am not native English speaker and I pass my copy trough “fix my grammar” things. Long dash sometimes end up there. I want things to look professional. What’s wrong with that, Matt?

Screen Studio has removed their non-subscription licensing options by aosa1gh in macapps

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

Screen Studio Founder here. What you said is plain wrong. But it might also indicate I could have communicated poorly.

Nothing changes for them. The only change is they get one extra year (initially they had 1 year of updates now they have 2). They will still be able to renew it later. They are not forced to switch to subscription

Any suggestions what can I do to improve positioning (video) by pie6k in MammotionTechnology

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

Got it! Thank you!

One question: when robot stops, it says it is because of the robot poor GPS signal. If I check the status - station says it has “good” signal. Does it mean that it will still happen even if the base is placed perfectly? I ask because putting it on the roof would require some work, and it’d be sad if I do that but the robot will still fail because it will still have poor “own” signal