Urgent.News

What's breaking now, across thousands of outlets.

Tech

SmogCheck - offline

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass What I Built SmogCheck is an offline walking-route planner for Lahore's smog season. You ask it, in plain English, something like "Where can I take a 3 km walk from Gulberg?" , and it plans a loop that stays off the big traffic arteries and goes through a park. During peak smog, the usual advice is "stay…

SmogCheck is an offline walking-route planner designed for Lahore's smog season. Users ask it in plain English where they can take a 3 km walk from a specific location, and it generates a loop that avoids major traffic arteries and passes through parks. During peak smog, the conventional advice is to stay indoors, but people still need to exercise, and SmogCheck offers a safer alternative.

By default, map applications provide the shortest route, which often involves busy roads. SmogCheck selects quieter streets and parks, resulting in a lower exposure to smog. It relies on proxies for exposure, such as road class and proximity to parks and mapped trees. The planner is suitable for anyone in Lahore who wants to walk or run during smog season without sharing their daily routes with cloud services.

The system uses offline data and tools like OSMnx, NetworkX, GeoPandas, and Folium to generate the routes. During a test, SmogCheck found a route through a park with 17% of the path being on major roads, compared to 61% on major roads for the shortest path. The route was 4,653 meters long with 1.1 km of extra walking, but it reduced time spent on arterial roads by 84%.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Navigating GitLab CI/CD on Forks: Lessons from Real Contributions

In my previous post, My First GitLab Open Source Contribution: From Issue to Merge Request , I shared my journey of opening and merging a database fix in the core gitlab-org/gitlab monolith.

  • Fork security boundary restricts CI/CD access to protected variables
  • Checks dashboard indicates MR status: human review, passing, or failing
  • Documentation updates require simultaneous Go schema and markdown edits

Ever Wondered How we communicate through the Internet (HTTP) ?

HTTP is a application-layer protocol that is used for transmitting hypermedia documents like (HTML). It is designed for the communication between web-browser and web-servers , it is also used for…

  • HTTP is the application-layer protocol for Internet communication
  • Determines features and flaws based on HTTP version used
  • Client-server model with stateless protocol for web communication

I Almost Published a Chart Saying the Nifty Fell 51% in 2003. It Fell 16%. Here Is the Bug.

I keep a few million rows of Indian stock market data in PostgreSQL as a hobby. I started in 2025 because the free sites kept changing their page layouts and breaking the scripts I used to read them.

  • 51% fall in 2003 was incorrect due to not using running maximum for peak-to-trough calculation
  • Worst day calculation mistakenly used same date for exit during COVID crash
  • Tata Motors split caused old ticker symbol to become invalid, leading to missing data

Why Low-Quality Images Still Matter in a 4K World

Why Anyone Still Wants a Bad Image in 2026 A 4K stream loads in under three seconds on a phone that fits in a back pocket. A movie shot on a $70,000 camera plays on a bus with no stutter.

  • Low-quality images persist in 4K era due to practical image quality considerations.
  • High definition becomes invisible, losing significance as a signal.
  • Degraded images blend into surroundings, avoid suspicion, and meet legal requirements.

Why I engineered NanoScript for Vlox: A deep dive ⭐

Every developer faces a hard choice when building a website. You need to pick a frontend tool to manage your user interface.

  • Developer creates NanoScript as lightweight frontend tool for Vlox
  • Master Toolbox Architecture eliminates need for repeated new keyword
  • Selector engine targets DOM elements with concise syntax

More from Sunday 11 October →