Skip to main content

connecting to wifi via terminal with nmcli

went to sesc paulista. last time i visited was years ago, soon after it first opened. the top floor now seems to be accessible only through reservations now.

this was the first time i tried connecting to wifi with this new arch installation.

the cachyos distro came with nmcli. i am not yet certain that it is a common dependency for other distros.

this lists the available wifi networks:

nmcli device wifi list

this connects to wifi:

nmcli device wifi connect connection_name password connection_password

tiny thermal cam goes to masp

last year, masp's new annex opened to the public. i had the opportunity to visit at opening week. a few weeks before that, i bought a tiny thermal camera that prints on receipt paper.

thoreau; walden; 31

The finest qualities of our nature, like the bloom on fruits, can be preserved only by the most delicate handling. Yet we do not treat ourselves nor one another thus tenderly.

on nikola

i tried using the auto builder, but either i did something wrong, or there is a bug with it. nikola depends on the python package watchdog for the continuous auto-build. i might try it again some other time.

what to do when an airflow task inside a task group fails

checking if a task has failed on airflow is simple enough, and may be done with:

from airflow.operators.python import get_current_context

@task
def check_task_failed(task_id: str) -> bool:
      context = get_current_context()
      return (
          context["dag_run"]
            .get_task_instance(task_id=task_id)
            .state == State.FAILED
      )