Urgent.News

What's breaking now, across thousands of outlets.

Tech

Golden Hours

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass A team project by @shikha_singh_20 and @shreyash_magar . What I Built Golden Hour is a calm, mobile-first web app that nudges you to step outside around sunrise and sunset. You pick sunrise, sunset or both, and how many minutes ahead you want a reminder. When it's time, your phone gets a notification such as…

Golden Hour is a mobile-first web application designed to encourage users to step outside during sunrise and sunset. Users can customize reminders to occur before these times, prompting them to step outside, take a photo and enjoy a snack or beverage. The app, built by @shikha_singh_20 and @shreyash_magar, focuses on simplicity, with only a brief setup and a tap to confirm completion of the experience.

The project is open-source, leveraging Gemma, an open-weight model, for reminder messages. The app utilizes SunCalc to calculate sunrise, sunset and golden hour times offline, and Node.js with Express for server-side operations. Data is stored using MongoDB Atlas, and the application is hosted on Render. The developers prioritized privacy, ensuring photos are stored locally and sun times are calculated using open-source libraries.

The project also emphasizes swappability and extensibility, allowing users to modify or extend the app's features.

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

5 ways Cancel doesn't actually cancel in C#

A user clicks Export , changes their mind, and clicks Cancel . The spinner goes away. On the server, the export keeps running to the end and saves a file nobody wants.

  • Passing cancellation token only to Task.Run, not work, leads to incomplete cancellation
  • Failing to forward cancellation token to child methods prevents proper cancellation
  • Using break instead of throwing TaskCanceledException causes partial work to be saved

Taking over someone else's PLC program: do these 4 things before you change a single line

You have just been handed a machine that runs — but nobody can explain it. The previous engineer left, the original documentation is gone, or the system was simply "commissioned in a hurry and never…

  • Capture all available information about the PLC program before making any changes.
  • Establish a version baseline by saving an unmodified program with a dated archive entry.

More from Sunday 11 October →