Magesh Ravi

Artist | Techie | Entrepreneur

avatar

The runtime environment bridges these components into a cohesive whole. That's why developers often gain deeper insights by running the software in its intended environment than analysing each component in isolation.

Permalink
avatar

To understand a software system, study its foundational elements:

  1. the code that defines its logic
  2. the data it processes and
  3. the infrastructure that supports its execution.
Permalink
avatar

Spent 5+ hours trying to figure out why my home server wouldn't connect to the internet.

Turns out my router reset all it's configurations including the subnet. So any connection that didn't rely on DHCP failed.

Permalink
avatar

If you are a tech enthusiast, and love documentaries, check out the CultRepo YouTube channel. Thank me later.

Permalink
avatar

Also, there is a .dockerignore file that lets you ignore files/folders when building an image. Similar to .gitignore.

Permalink
avatar

With BuildKit's secrets,

# create user
RUN --mount=type=secret,id=user_uid \
    --mount=type=secret,id=user_gid \
    GROUP_ID=$(cat /run/secrets/user_gid) \
    USER_ID=$(cat /run/secrets/user_uid) \
    # ...
Permalink
avatar

Without BuildKit's secrets,

ARG USERNAME=webinative
ARG USER_UID=1000
ARG USER_GID=${USER_UID}
# create user 
RUN groupadd --gid $USER_GID ${USERNAME} \
 && useradd --uid ${USER_UID} --gid ${USER_GID} -m ${USERNAME}
Permalink
avatar

TIL about BuildKit in Docker.

As of today, the legacy builder is the default option. However, BuildKit can be enabled with the simple ENV variable,

DOCKER_BUILDKIT=1 docker build
Permalink
avatar

Exhibit AI output with LangChain AgentExecutor with tools.

Exhibit AI CLI screenshot 3

Permalink
avatar

Been refining Exhibit AI with LangChain tools.

  • Chat history now preserves both user + AI turns
  • Smarter prompt design keeps case context intact
  • More reliable, context-aware insights for lawyers
Permalink