SShortSingh.
Back to feed

ptransfer: open-source Go tool sends files between computers using a short code phrase

0
·3 views

ptransfer is a new small Go tool for moving files between two computers without accounts or email attachments. The sender receives a short code made of a number and three words, which the receiver types to start the transfer. Files are encrypted end to end using a password-authenticated key exchange built on established libraries, so the relay server cannot read them. Transfers go through a relay the user can host themselves, or directly over the local network when possible. The tool also supports resuming interrupted transfers, verifies each file's SHA-256 hash before finalizing it, and provides prebuilt binaries for Linux, macOS and Windows.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Microsoft Unveils MAI Code 2 and Flash Models Aimed at Lower-Cost Coding

Microsoft has launched MAI Code 2 and its lighter counterpart, MAI Code 2 Flash, two coding models built for different development workloads. The company says Flash matches the performance of GPT-6 Luna and Claude Haiku 5.5 on selected everyday coding tests while costing 65% and 20% as much, respectively. Both models use a sparse Mixture-of-Experts design, with Flash described as having about 12 billion active parameters and a one-million-token context window. Microsoft's cost claims rest on its own benchmark comparisons, and the announcement does not provide dollar prices or individual scores. The company positions the larger MAI Code 2 for demanding tasks and Flash for frequent, high-volume work, and both are available through GitHub Copilot.

0
ProgrammingDEV Community ·

RecipeHub Explains How Structured Data Makes Recipes Easier to Cook

The RecipeHub project, part of a series on building with ARC, argues that a well-designed data model is central to an application's success. The team found that recipes need to support cooking, not just display text, which led them to rethink how recipes are stored. A simple model that treats each ingredient line as one unit makes features like scaling servings difficult, since quantities are tied to names. Separating amounts from ingredient names, and capturing measurements and units, allows the entire recipe to be scaled reliably. The authors note that the best model is the one that fits the product and can evolve, rather than the most complex one.

0
ProgrammingDEV Community ·

Five AI models scored 98% or higher on a practice certification exam

The developer behind ClaudeArena, a free practice site for Anthropic's Claude Certified Architect exams, tested whether AI agents could pass the Professional exam by giving them a browser and having them answer from memory. Five models from four makers, including GPT 5.6 Luna and Claude Fable 5.2, scored 98% or 100% on the 63-question Hard exam, with some finishing in under six minutes. Results varied: one model dropped to 84% on a repeat run, and self-reports from the agents often did not match the server's records. Both Qwen and DeepSeek missed the same question, which the developer verified against Anthropic's documentation. The experiment also revealed an accessibility flaw, as agents could not reliably tell which answers were selected, and the site has since announced chosen answers to fix it.

0
ProgrammingDEV Community ·

Process-local replay protection fails once a second replica is added

A signed request with a nonce is verified and its nonce recorded in one replica's local memory, so the same request can be accepted again if it is routed to a second replica. Scaling a Deployment or Service does not synchronize that security state, and routing affinity only lowers the odds of a replay without enforcing it. Preventing this requires a shared or safely replicated authority that atomically checks and records each nonce for the full replay window, scoped by tenant or source. The author also recommends deciding in advance how the service should behave when that authority is unavailable, with a retryable refusal often safer than skipping the check. Testing should cover replays across different replicas, replica replacement, scaling, and authority outages, not just Pod restarts.