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.
- https://saaspages.xyz is a website that collects best practices for SaaS websites, like hero sections, pricing, faq, etc
- https://saaspages.xyz is a website that collects best practices for SaaS websites, like hero sections, pricing, faq, etc
- https://github.com/sl1pm4t/k2tf : Nifty tool to convert yaml to hcl. Useful when incorporating kubernetes provider
- To debug your compiled elixir code inside a container you can run the executable file with
remote_consoleargument to get a remote shell. - To debug your compiled elixir code inside a container you can run the executable file with
remote_consoleargument to get a remote shell. - \\p{} matches a character’s Unicode script. You can use \\p{Tibetan}] to match for tibetan scripts https://ruby-doc.org/core-2.6.3/Regexp.html
- Kubernetes secret management - Store your AWS or any other keys, secret in kubernetes secret(
kubectl get secret) base64 encoded and define an environment variable in kubernetes config to access them in your app.
https://kubernetes.io/docs/concepts/configuration/secret - CSS
text-transform: capitalizewon't capitalize the text if the whole content is already inupper case. will see the difference only if content is lower case https://jsbin.com/nemaqaf/edit?html,css,js,output - Difference between match.url and match.path, which to use: https://css-tricks.com/react-router-4/#article-header-id-7
- Difference between match.url and match.path, which to use: https://css-tricks.com/react-router-4/#article-header-id-7
- ActiveRecord has a warn_on_records_fetched_greater_than config. If you use it “config.active_record.warn_on_records_fetched_greater_than = 1500” then if you use a Model.all and the records are > 1500 it will long a warning. Generally if the row count is high, you would want to use “find_in_batches” rather than “all”. The original issue https://github.com/rails/rails/issues/16463
- use
credentials('global-cred-id')to use Jenkins credentials inside pipline Eg:DANGER_GITHUB_API_TOKEN = credentials('78c4b861-f9e8-44b8-8510-4d734ab752a0') - https://blog.mozilla.org/firefox/how-to-block-fingerprinting-with-firefox/ : That custom settings are ❤️
- https://api.rubyonrails.org/classes/ActiveSupport/Testing/FileFixtures.html Rails 5 introduced file_fixture method to access sample files. It can be used in tests such as file upload/download.
- Rails 5 introduced file_fixture method to access sample files. It can be used in tests such as file upload/download. https://api.rubyonrails.org/classes/ActiveSupport/Testing/FileFixtures.html
- https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ . We can specify
backoffLimitto specify how many times a job should retry - ncal
ncal- ncal
- do not modify instance variables of a singleton class, not thread safe. furthermore no instance variables, only class variables.
Showing page 29 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.