Skip to content

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.

  1. from ps man pages, if you want to list pids of particular process just use ps -C <process-name> -o pid=. Damn handy when it comes to looping and killing processes
  2. Codemancers
    Rails prepend_before_action to chain before action callbacks.
  3. Codemancers
    ActiveSupport::Autoload helps to require the file and loads only when needed
  4. ActiveStorage supports mirror service, one can upload files to multiple storages in 1 shot
  5. Codemancers
    mod of negative numbers are complicated :P ruby, python, haskell returns correct value, cpp and js does not.
  6. How to get child pids of a process given pid? pgrep -P <pid>
  7. Codemancers
    Neovim (Vim): To change all the existing tab characters to match the current tab settings, use: :retab
  8. Codemancers
    Finding the last Sunday in rails.

    Ruby

    d = DateTime.now
    sunday = d - d.wday


    d.wday gives the weekday starting from 0.
  9. Codemancers
    Rails 5.1 dropped jquery and yarn is your new bundler for javascript dependencies
  10. Codemancers
    use // eslint-disable-next-line <property name> to disable rules inline in jsx

Showing page 40 of 42

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.

Book a free discovery call