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
there are command-line options which you can add to bash scripts, can be added in the header like #!/bin/bash -e
Published
Author
user-image
Yuva
Co-founder
set -x is very useful while writing shell scripts. It echos commands being run (even in for loops) which helps in debugging. Put this at the top of script file, and see the magic!
Published
Author
user-image
Kashyap
http://jsnice.org/ not a TIL, but lost and found it only today. This is a reverse tool that can be run on minified JS to get some more human readable ouput
Published
Author
user-image
Manu
You can scope relations like has_many, has_one and belongs_to. Eg: has_one :policy, -> { where active: true }
Published
Author
user-image
Akshay
We can make use of ActiveRecord's unscoped method to accept a blocks, such that we can obtain associations bypassing the default scope on the associations.
Published
Author
user-image
Akshay
We can make use of Set instead of an Array in Ruby when we would like to create sequences without duplicates and also can be used to compare two sets disregarding order as compared to array for which order of elements matter.

Showing page 70 of 83

Your competitors are already using AI.
The question is how fast you want to unlock the value.

Don't know where to start?

AI is everywhere but it's unclear which investments will actually move your metrics and which are expensive experiments.

Your data isn't ready

Most AI projects fail at the data layer. Pipelines, quality, access all need work before LLMs can deliver value.

Internal teams are stretched

Your engineers are shipping product. They don't have capacity to also become AI specialists with production-grade experience.

Legacy systems block everything

Aging, undocumented codebases make AI integration slow, risky, and expensive. They need to move first.

Don't worry. We've got you covered.

Start with the audit.