TILs - 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.

Published
Author
user-image
Manu
The EXPLAIN statement provides information about how MySQL executes statements i.e MySQL explains how it would process the statement, including information about how tables are joined and in which order
Published
Author
user-image
Kamal
For radio buttons, checkboxes ..., Materialize expects the input tag to appear before the label tag. Otherwise only the label will be rendered.
Published
Author
user-image
Manu
Ruby by default has certain mutable and immutable object types. Booleans and numbers for example are immutable, and this in turn affects the way how a variable is passed to a method i.e pass by value or reference.
Published
Author
user-image
Akshay
Ruby has a class called SimpleDelegator which can be used to used to implement decorator pattern. It can be used to delegate all supported method calls to the object passed into the constructor.
Published
Author
user-image
Emil
You can use a tool called [Telepresence](https://www.telepresence.io) to create a 2-way proxy between your local dev machine and a k8s cluster. Uses : be able to inherit env vars and other configs from k8s locally, make use of other services running in the cluster when running your dev instance of a service you want to test
Published
Author
user-image
Emil
You can speed up image builds by making use "--cache-from". This is useful when 1) you already have a previous version of the image which you can pull 2) docker pull is faster than docker build 3) intermediate layers in the previous version can be reused. This is useful for speeding up builds in docker container builder
Published
Author
user-image
Yuva
Co-founder
There is something called QoS for pods using which we can prevent unwanted rescheduling of pods

Showing 66 to 68 of 82 results

Ready to Build Something Amazing?

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