Category: Technology

0

Creating Dynamic PDF reports using Jinja and Gotenberg

I use Jinja2 in a variety of ways. Sometimes to create SVGs and other times to create reports. Recently there was a requirement to create PDF reports as part of a service. Since the app already uses Python and Jinja2, we used that to generate PDF reports. Using data and Jinja2, we created...

Cubbon Park 1

Go out and enjoy the best weather and air of Bangalore

I set up an ntfy notification to warn me if the air in my bedroom is bad between 6 pm and 9 pm. It lets me turn on the air purifier in advance. Lately, I wasn’t receiving alerts, so I checked my systems, and the notifier and Home Assistant were fine. However, the AQI sensor showed a significant drop in early June, and it has remained low since then.

1

Local Network USB Cam Video Streaming

I have a need to run some cameras that need to be accessible only on LAN. One is just looking outside my window and taking a picture of the sky every hour; the other is just watching my pets.

Who is mapping Surveillance in Bengaluru 1

Who is mapping Surveillance in Bengaluru

Mapping CCTV cameras ( Surveillance ) is a community effort on OSM. You can credit OSM contributors as defined on this page when you use the data. But personally I wanted to see who are the folks who are contributing to this data. So I went to Overpass Turbo and ran this query to get...

6

Twenty Years of Blogging

I started writing online after joining Infosys (my first job) in 2003. So this year, I also completed 20 years of working. It’s not a surprise that my blogging origins coincide with my work at Infosys. I couldn’t afford a good internet connection or a decent computer before getting a job. That is only half part of the story.

Web-Powered Workflows: Fetching and Running Digdag Workflows with Callbacks 0

Web-Powered Workflows: Fetching and Running Digdag Workflows with Callbacks

In Digdag, workflows are typically defined in YAML files with a “.dig” extension. Developers usually write these workflows, which consist of tasks to be executed. However, tasks can also be added dynamically using the Digdag Python API or by downloading a “.dig” file from a remote HTTP server and incorporating it as a subtask. This approach is useful when a web service or app generates customized workflow files based on web app conditions, allowing the workflow logic to be managed externally. You can add webhooks to make it reactive.