SShortSingh.
Back to feed

Flutter Web Can Now Save Files In Place Using File System Access API

0
·5 views

Flutter Web developers can use the File System Access API to write edits directly back to a user's original file, eliminating the repeated duplicate downloads that plague browser-based editors. The API provides a real file handle chosen by the user through the browser's native picker, allowing in-place saves without generating copies like budget(1).csv or budget(2).csv. Handles can be stored in IndexedDB and persisted across sessions, enabling apps to silently reopen a document on reload or prompt a single 'Reopen' button if permission needs reconfirmation. The API is currently supported in Chrome, Edge, and other Chromium-based browsers, so developers are advised to implement an honest fallback — labelled 'Download a copy' rather than 'Save' — for unsupported environments. Security is enforced by design: handles can only be created through user-initiated picker gestures, access is scoped strictly to the chosen file or directory, and permission is revocable at any time.

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 ·

Engineer shares 18 lessons from building 12 AI voice models using diffusion TTS

A software engineer documented roughly one month of work designing and deploying 12 role-specific AI voice models — covering narrator, counselor, sales, presenter, operator, and MC roles for both men and women. The project used diffusion TTS for voice design, where each voice is defined by a text caption and a random seed, making results fully reproducible. A key finding was that diffusion TTS ran 2.5 times slower than real time on the same GPU, making it unsuitable for live conversation and prompting a two-stage approach using lighter pre-trained models for actual speech synthesis. The engineer identified corpus quality gates as a central problem, noting that six of the 18 documented failures involved gates that existed but did not work as intended — for instance, strict gates inadvertently filtered out expressive takes, leaving only monotonous audio. Additional pitfalls included undetectable long-vowel defects caused by text normalization, a hallucination guard that only failed during actual hallucinations, and symbol-stripping rules that silently dropped valid Japanese characters from input text.

0
ProgrammingDEV Community ·

Developer Builds Interactive Excel Dashboard to Analyse Jumia E-commerce Data

A developer has created an interactive Excel dashboard using transactional data from Jumia, one of Africa's largest e-commerce platforms. The project involved cleaning raw data by removing duplicates, fixing inconsistencies, and handling missing values before analysis. Excel functions such as IF, AND, AVERAGE, COUNTA, MIN, and MAX were used to categorise prices, discounts, ratings, and calculate key metrics. Pivot tables, charts, and slicers were incorporated to enable dynamic filtering and visual data exploration. The analysis concluded that consistent product quality and customer value matter more to sales performance than high discounts or large review volumes alone.

0
ProgrammingDEV Community ·

Excel Dashboard Built to Analyze Jumia Product Pricing, Discounts and Ratings

A data analyst used Microsoft Excel and Power Query to clean and visualize a 115-row Jumia e-commerce dataset covering product prices, discounts, ratings, and reviews. The raw data contained multiple quality issues, including 58 blank review and rating fields, negative review counts, price ranges instead of single values, and ratings stored as text strings. Cleaning steps included converting negative review figures to absolute values, extracting midpoint prices from ranges, stripping currency symbols, and standardizing rating formats. The analyst deliberately left missing review fields blank rather than replacing them with zeros, to distinguish unavailable data from confirmed zero-review products. The finished interactive dashboard — built with PivotTables, PivotCharts, and slicers — was designed to answer business questions such as whether higher discounts drive more customer engagement and whether price correlates with product ratings.

0
ProgrammingDEV Community ·

AuthGeek offers offline TOTP authentication with Argon2-encrypted local vault

A developer has released AuthGeek, a free open-source desktop authenticator for Windows that stores TOTP and HOTP codes entirely on the local machine with no cloud sync or account required. Secrets are secured in a local vault using Argon2id key derivation, chosen for its memory-hard properties over alternatives like PBKDF2. The app supports adding accounts via QR code scan or manual secret entry, and includes encrypted backup and restore functionality. Built with .NET 8 and Avalonia UI, the tool is available on GitHub, though the installer is not yet code-signed and may trigger a SmartScreen warning on first run. The developer openly acknowledges that storing codes on the same machine used for login is a weaker security model than a separate physical device, and advises users with stricter threat models to continue using a phone-based authenticator.