SShortSingh.
0
ProgrammingDEV Community ·

JSLab adds Prettier formatting for JavaScript and TypeScript scratch code on macOS

JSLab, a JavaScript and TypeScript scratchpad for macOS, now uses Prettier to clean up messy code with a single shortcut, ⌥⇧F, which is also available in the Actions menu and command palette. Formatting is applied as one undo step with minimal edits, so folds, scroll position and cursor placement are preserved. Users can optionally format automatically before each run or on save, both disabled by default. A Formatting settings panel exposes Prettier options such as print width, tab width, semicolons and quote style, using Prettier's standard defaults. If code cannot be parsed, the status bar reports the error and the code is left unchanged, while formatting attempts that run too long are stopped to keep the editor responsive.

0
ProgrammingDEV Community ·

Go fintech DNS cutovers need separate checks for zone control, record match, and release approval

The article argues that a successful domain verification proves only that someone could publish a requested DNS record, not that a particular person or service is authorized to redirect a payment-facing hostname. It recommends keeping DNS verification, record reconciliation, and release authorization as distinct gates before any cutover. Using a hypothetical payments.example.com release, the author shows how a verification result, an approver's sign-off, and an operator's record change are three separate actions that should not be treated as interchangeable. The piece also notes that domains and personnel change over time, so verification should have a defined freshness policy rather than lasting indefinitely. Finally, it advises retaining both the desired and previously approved record sets, with the rollback target itself approved before the change.

0
ProgrammingDEV Community ·

Retaining Edtech Thumbnails Reliably Under Upload Rate Limits

The article argues that edtech systems keeping processed thumbnails until a set deletion deadline should treat a rate-limit response as an unfinished write rather than a permanent failure. Recommended controls include bounded concurrency, exponential backoff that honors Retry-After guidance, and one idempotency key per logical object so retries do not create duplicate writes. The author stresses recording provider request IDs and final outcomes so ambiguous timeouts can be reconciled later. Because storage lifecycle rules have a one-day minimum and multipart fragments lack automatic cleanup, shorter deadlines need an application-owned deletion job and multipart uploads need explicit abort handling.

0
ProgrammingDEV Community ·

Simulated Robot Kept Moving After Stop Command Sent to Wrong Topic

A developer deliberately injected a fault by publishing a stop command to a topic the simulated robot's drivetrain did not consume, while forward commands continued on the correct topic. Across 20 repeated runs, the robot traveled an average of about 0.52 meters after the faulty stop, showing that a successfully published command does not confirm the robot has halted. To investigate, the developer built Stop Evidence Monitor, an open-source ROS 2 research prototype that checks stop requests against downstream velocity commands and independent motion measurements. The experiment used Gazebo's differential-drive reference robot and estimated movement from changes in LiDAR distance to a fixed wall. The monitor is described as an observation layer rather than a replacement navigation controller.

0
ProgrammingDEV Community ·

Runtime Async in .NET 11 cuts async stack traces to 5 frames and speeds up completed-task awaits

Microsoft's .NET 11 runtime introduces a preview feature called Runtime Async, in which the runtime rather than the compiler manages async suspension. A blogger testing SDK 11.0.100 on Ubuntu 24.04 reduced a stack trace from 17 frames to 5 by enabling it with a single project-file setting. Microbenchmarks of awaits on already-completed tasks showed speedups of 2.3x and 3.2x, though the tester noted these best-case results ran on a noisy shared VM. Real workloads involving actual I/O are expected to see smaller gains. The author also cautioned that the official documentation still references an earlier release candidate and may lag the shipped release.

0
ProgrammingDEV Community ·

Audit finds DeepMind's Signal Lean proofs total 7.5M lines, not yet kernel-verified

A developer cloned Google DeepMind's published Lean repository for verifying Signal's libsignal and counted 7,528,293 lines across 11,323 files. The count roughly matches the paper's component figures, though computational proofs and the overall total run higher than the paper states. The author notes the specifications a human must read total about 18,040 lines, which matches the paper's figure. The audit did not re-run Lean's kernel because the full build needs far more memory than the author's machine had. Grepping found 34 lines containing a sorry tactic, which the paper says its gatekeeper rejects.

0
ProgrammingDEV Community ·

How IT Teams Can Write Clear Incident Updates in English

When a system fails, managers, support staff and customers mainly want to know what is affected, what is being done, and when they will hear more. The guide recommends short updates that state the status (investigating, identified, monitoring or resolved), describe the impact in plain words, and give a time for the next update. It offers ready-to-use examples for each stage, showing how to explain an outage and its recovery without technical jargon. It also warns against common errors such as using unclear terms, guessing causes too early, omitting update times and assigning blame. The article is published by Kognixr, a provider of practical English courses for workplace communication.

0
ProgrammingDEV Community ·

Managing Linux Dotfiles and Applications with an Ansible Collection

A DEV Community article explains how to use Ansible to automate both application installation and dotfile configuration across different Linux distributions. The goal is a simple, extensible starting point rather than a complete system setup. It introduces Ansible Collections as a way to bundle roles, plugins, and playbooks into a reusable, distributable package. The walkthrough uses Vagrant with an Ubuntu 24.04 virtual machine, installing Python and Ansible inside a virtual environment. The author then applies a collection structure to organize the setup, which can be shared and installed with a single command.

0
ProgrammingDEV Community ·

Developer builds a group-based learning platform in staged order, leaving payments for last

After the specification's fourth version was approved, the developer built the features in the sequence it defined rather than starting with the home page. Five stages are live on the running site, covering per-group bot keys, document storage, custom group pages and menus, labels and search, and a campus for classes. Payments were deliberately left out until the class model and the decision on who receives money were settled, and priced classes currently tell members checkout is not yet available. Video hosting is also deferred, with lessons able to store a provider name and ID for later integration. Each stage is considered complete only when its specified behavior is in place and covered by a regression test, and work is done locally on Linux with PostgreSQL and .NET 10 before deploying the last green build.

0
ProgrammingDEV Community ·

Introworth Starts Pricing Attention With an Audit Before Setting Rates

The developers of Introworth, a marketplace where people set prices for their attention, found that people could not price time they had never measured. They built an onboarding audit that descriptively sorts a day's online time into attention that returned value and attention that was simply collected, without judging users. Usage limits came before pricing, and people who reclaimed time first priced the rest more calmly. Prices were framed as floors rather than total valuations, and the pricing step was moved to the end of the flow after early versions caused users to abandon it. The team reports that setting prices improved message quality and that the platform's adults-only boundary supports more direct discussion of money and refusal.

0
ProgrammingHacker News ·

LLMs Tested on Zachtronics' TIS-100 Programming Puzzle Game

A project has evaluated large language models by having them play TIS-100, the assembly-style programming puzzle game created by Zachtronics. The experiment is hosted on a dedicated website that documents how the models approach the game's challenges. The source article provides limited detail beyond the project link and its early Hacker News discussion, which had five points and no comments at the time of posting. The reported material does not include specific results or performance findings from the models.

0
TechnologyThe Verge ·

Microsoft rolls out Auto SR upscaling for Xbox Ally X, rivaling Nvidia DLSS

Microsoft has begun rolling out Automatic Super Resolution (Auto SR), an upscaling technology that competes with Nvidia's DLSS, to the Xbox Ally X, the Xbox Ally X20, and select Copilot+ PCs running Windows. The company tested the feature on the Xbox Ally X in April, but it previously worked only when the device was docked. The full release now also functions during handheld play on battery power and supports games running at 1080p. Microsoft cautions that handheld and 1080p use may produce performance that differs from docked play at higher resolutions.

0
IndiaTimes of India ·

Gill and Rahul to miss final two games; Rayudu and Karthik tip Kishan and Gaikwad

Shubman Gill and KL Rahul will not feature in India's last two matches as they prepare for an upcoming Test series. Attention now turns to the batting lineup Shreyas Iyer will select for the remaining fixtures. Former cricketers Ambati Rayudu and Dinesh Karthik have suggested that Ishan Kishan and Ruturaj Gaikwad should earn places in the playing XI. Their views point to a reshaped top and middle order for India in the closing stage of the series.

0
WorldBBC World ·

Vinícius Jr sends surprise message to Sudanese boy who lost his legs in war

Real Madrid forward Vinícius Jr has sent a surprise message to Zaher, a young double amputee from Sudan. Zaher had previously told the BBC about his favourite footballer and his dream of walking again. The message comes after Zaher lost both legs during the conflict in Sudan. The item highlights the personal connection between the player and a child affected by the war.

0
TechnologyBBC Tech ·

Robot vessels take on mine-hunting work amid Gulf conflict

The US is using the conflict in the Gulf as an opportunity to test its autonomous mine-hunting systems. These uncrewed vessels are designed to take over the dangerous task of locating sea mines. The reporting frames the Gulf situation as a practical setting for evaluating the technology. The article provides limited detail beyond this point, so further specifics about deployment, results, or timelines are not available from the source text.

← NewerPage 330 of 7339Older →