ps -C <process-name> -o pid=. Damn handy when it comes to looping and killing processesTILs
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.
- from ps man pages, if you want to list pids of particular process just use
- in js the default sort order is according to string Unicode code points, source https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/sort (shrug)
- Rails
prepend_before_actionto chain before action callbacks. - ActiveSupport::Autoload helps to require the file and loads only when needed
- ActiveStorage supports mirror service, one can upload files to multiple storages in 1 shot
- mod of negative numbers are complicated :P ruby, python, haskell returns correct value, cpp and js does not.
- How to get child pids of a process given pid?
pgrep -P <pid> - Neovim (Vim): To change all the existing tab characters to match the current tab settings, use:
:retab - Finding the last Sunday in rails.
Ruby
d = DateTime.now sunday = d - d.wdayd.wdaygives the weekday starting from 0. - Delivery vs Deployment https://puppet.com/blog/continuous-delivery-vs-continuous-deployment-what-s-diff
- There is an app to do recon on people you are going to meet https://charlieapp.com/
- Rails 5.1 dropped jquery and
yarnis your new bundler for javascript dependencies - https://github.com/apache/incubator-airflow is an alternative for cron. Source: HashNuke
- use
// eslint-disable-next-line <property name>to disable rules inline in jsx - rails - wrap parameters hash into a nested hash http://api.rubyonrails.org/v5.1.1/classes/ActionController/ParamsWrapper.html
- http://markdown-here.com/ found about it from here https://emacs.stackexchange.com/a/20568/7091
- https://github.com/github/orchestrator is a MySQL high availability and replication management tool
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.