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.

Jul 26, 2018
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
manu
manu
Jul 26, 2018
For radio buttons, checkboxes ..., Materialize expects the input tag to appear before the label tag. Otherwise only the label will be rendered.
kamal
kamal
Jul 25, 2018
This is a pretty good read if one is setting up SSL on their own https://sanderknape.com/2016/06/getting-ssl-labs-rating-nginx/
yuva
Yuva
Co-founder
Jul 19, 2018
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.
manu
manu
Jul 18, 2018
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.
akshay
akshay
Jul 15, 2018
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
emil
emil
Jul 12, 2018
Arel is a SQL abstract syntax tree manager for ruby. It helps to simplify creating complex SQL queries and interfaces with various RDBMS. Arel modifies it's AST nodes based on the methods you call on it and ActiveRecord makes use of this to build composable chainable queries and then executes them. A detailed post on Arel: https://jpospisil.com/2014/06/16/the-definitive-guide-to-arel-the-sql-manager-for-ruby.html
akshay
akshay
Jul 6, 2018
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
emil
emil
Jul 5, 2018
There is something called QoS for pods using which we can prevent unwanted rescheduling of pods
yuva
Yuva
Co-founder

Showing 63 to 65 of 79 results

Ready to Build Something Amazing?

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