Fueling Curiosity, One Insight at a Time

At Codemancers, we believe every day is an opportunity to grow. This section is where our team shares bite-sized discoveries, technical breakthroughs and fascinating nuggets of wisdom we've stumbled upon in our work.

Dec 20, 2019
In ActiveRecord when using default scope filters, be careful in left_joins queries. As the scope would show up the join on clause.
goromlagche
Goromlagche
Dec 9, 2019
use Event,isTrusted to know whether the triggered event is authentic(user triggered) or through a script: https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted
amit
Amit
Dec 9, 2019
use Event,isTrusted to know whether the triggered event is authentic(user triggered) or through a script: https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted
amit
Amit
Nov 27, 2019
Protocol buffers are a lightweight alternative to JSON format to share data between systems. You get the advantage of not having to write out serializers and deserializers by making use of a schema like contract file .proto. This file can be shared and used by protobuf compilers that de/serialize data into language of our choice.
akshay
Akshay
Nov 27, 2019
Protocol buffers are a lightweight alternative to JSON format to share data between systems. You get the advantage of not having to write out serializers and deserializers by making use of a schema like contract file .proto. This file can be shared and used by protobuf compilers that de/serialize data into language of our choice.
akshay
Akshay
Nov 11, 2019
privacy.firstparty.isolate. This feature restricts cookies, cache and other site data so it can only be accessed by the first party domain name.
revath
Revath
Oct 29, 2019
in mysql we can run SHOW SLAVE STATUS, in a replica connection, and then use Seconds_Behind_Master to get the replica lag, if any. If the replica lag is high enough, we can failover to master.

https://dev.mysql.com/doc/refman/8.0/en/show-slave-status.html
goromlagche
Goromlagche
Oct 11, 2019
adb shell input text "RR" to reload react native app from laptop instead of shaking the devise.
revath
Revath
Oct 11, 2019
adb shell input text "RR" to reload app from laptop instead of shaking the devise.
revath
Revath

Showing 52 to 54 of 82 results

Ready to Build Something Amazing?

Codemancers can bring your vision to life and help you achieve your goals