Urgent.News

What's breaking now, across thousands of outlets.

Tech

Pocket Grass: Gemma finishes one sentence, then the phone goes away

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass The card is supposed to be the short part. I kept asking a small open model to write the whole outing, and it kept handing me more screen. What I built Pocket Grass is a page for the minute before you go outside. You choose 10, 20, or 40 minutes, a place to start (sidewalk, park, balcony, garden, or trail),…

Pocket Grass is a web app designed to encourage users to appreciate their surroundings before stepping outside. It prompts users to select a duration (10, 20, or 40 minutes), a location (sidewalk, park, balcony, garden, trail), and what they wish to notice first. If a city is mentioned, Open-Meteo provides the current weather conditions, such as sky, temperature, and wind. However, the app does not rely on any weather API key.

Once the user selects their preferences, Gemma, an open model, finishes one sentence about what the user is going to notice. This sentence is displayed on the app, and the user is instructed to stay put, observing the designated element for their chosen duration. The app is designed to work offline, meaning no network connection is required after the initial download.

The model's limitation is that it only finishes a sentence, leaving the user to continue the observation. This limitation prevents the model from writing complete paragraphs, ensuring that the user remains engaged in the activity. The app has two screens: one for the user to input their preferences and another that displays the sentence Gemma has generated. After the timer ends, the user can save the sentence on their device.

The app has been tested for different scenarios, including night-time, rainy conditions, or when the user requests specific elements like birds or quiet. Gemma's sentence starts with a sound cue relevant to the user's chosen scenario. If the sentence repeats the prompt or introduces a number, it is discarded and re-generated. The app also includes a practice timer to allow users to see the end result without pretending they have gone outside.

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

Close a Flake Freeze Only When the Replay Budget Hits Zero

An agent patch earns a flake freeze only when three records agree: a named property contract, one fixture identity across the replay set, and a replay budget that has already hit zero on a single…

  • A flake freeze status is granted when three conditions are met.
  • Conditions include a named property contract and consistent fixture identity.
  • Replay budget must be depleted on a single failure signature for freeze.

Why File Organization Should Be Semantic, Not Filename-Based

If you've ever shipped a search feature, you know the ceiling is set by what you index. Index filenames and your ceiling is human naming quality.

  • Semantic organization indexes file content, not filenames
  • Unstructured data makes folder-based systems ineffective
  • Local-first organization enhances privacy and collaboration

Define one input action per screen across mouse, touch, and gamepad controls

Pushing a stick right should move the selection once. Treat every event received while the stick remains tilted as “next,” and the selection keeps jumping.

  • Each distinct action defined across mouse, touch, and gamepad controls
  • Single stick tilt moves selection once on VOLT NOMAD
  • Press and release of buttons count as separate actions on mouse and touch

More from Monday 12 October →