Urgent.News

What's breaking now, across thousands of outlets.

Tech

Say exactly which tasks to run

Two questions decide every run: what does each task need first, and which projects should this run touch? vx answers the first in dependsOn and the second in --filter . Both are small languages, and both fit on one screen. What a task needs: dependsOn // packages/web/vx.config.ts import { defineProject } from ' @vzn/vx/config ' export default defineProject ({ tasks : { build : { exec : { command…

To execute a task in vx, you must first determine what each task requires and which projects the run should touch. The tasks are defined in the dependsOn field, which lists the tasks that must be completed before the current task can run. The projects to include can be specified using the --filter command, which supports various syntaxes such as names, globs, glob patterns, folders, tags, and exclusions.

For example, $ vx run build --filter @demo/ui would run the build task for the ui package and all its dependent projects. If a task does not have an exec field, it is considered a group and will run its dependencies without performing any other actions. A typo in a selector will cause the run to stop and list the available tasks.

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

Groq 429s: your retry loop is blind, read the headers instead

Getting 429s from Groq and just sleeping a few seconds before retrying? That works until it doesn't. import time , requests resp = requests .

  • Blind retry loops ignore x-ratelimit- headers
  • Groq enforces limits at organization level, not per user
  • Read retry-after header for proper backoff

🌿WindQuest-Explore more. Scroll less.

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass What I Built WildQuest — Explore more. Scroll less.

  • WildQuest is an open-source AI app transforming walks into personalized nature quests.
  • Users customize quests by selecting activity, duration, difficulty, and accessibility.
  • App runs locally with Gemma to ensure privacy and independence from cloud AI APIs.

The top 10 dark patterns of the web

It feels like we’ve been living in a dystopia for the last decade or so, with apps (and the companies behind them) competing to be the shadiest of them all.

  • Roach Motel pattern: Easy sign-up, but hard cancellation
  • Forced Continuity: Free trials auto-convert to paid subscriptions
  • Hidden Costs: Fees concealed until final checkout

More from Friday 9 October →