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
Akshay
The Forwardable module in Ruby provides delegation of specified methods to a designated object, using the methods def_delegator and def_delegators.
Published
Author
user-image
Akshay
Ram talks with the computer with the help of a memory controller on the CPU. So the reason why its often suggested to prefer to have multiple RAM modules rather than a single one is due to memory channels. If the memory controller within the CPU supports multi-channel architecture then it can leverage it having multiple RAMs than having a single one as it helps in faster data exchange. Like if it’s dual channel then a pair, quad channel then four modules, etc.
Published
Author
user-image
Akshay
Rspec has argument matchers any_args for matching any number of args at any point in an arg list and anything for matching anything and everything.
Published
Author
user-image
Revath
use flex: 1 on the child of flexbox element to expand the child to 100% width of the parent https://jsbin.com/dadidujubo/1
Published
Author
user-image
Akshay
Capybara defaults to requiring an href attribute exist when finding links. To handle such cases we can pass href: nil as an option thus enabling to find it.
Published
Author
user-image
Akshay
Rails has an ActiveSupport::Notifications module which is a part of its core instrumentation API. This API allows users to define hooks on events. With the ActiveSupport::Notifications you can instrument an event by simply calling instrument with a name, payload and a block. The notification will be sent after the block returns. Now all you need is to define subscribe method which consumes the event based on event name and you can define your on callback code here, sort of like a Pub/sub pattern.

Showing page 63 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.