DEV Community

Ashwar Sadh profile picture

Ashwar Sadh

404 bio not found

Joined Joined on 
Check for updates always, restart only when nobody is typing: an idle gate for a self-updating Node.js helper

Check for updates always, restart only when nobody is typing: an idle gate for a self-updating Node.js helper

Comments
4 min read
Real range from a scooter's battery readings: sum the kilometres, sum the percent, then divide

Real range from a scooter's battery readings: sum the kilometres, sum the percent, then divide

Comments
3 min read
Four fields of a UPI QR worth reading before you hand it off, and the edge cases in each

Four fields of a UPI QR worth reading before you hand it off, and the edge cases in each

Comments
4 min read
Power saving switched my accessibility service off. When is an app allowed to switch it back on?

Power saving switched my accessibility service off. When is an app allowed to switch it back on?

Comments
4 min read
One instance per user, not per machine: a lock file that survives RDP reconnects

One instance per user, not per machine: a lock file that survives RDP reconnects

Comments
4 min read
A JSON state file ended in zeros after an unclean shutdown: quarantine it, then salvage every record you can

A JSON state file ended in zeros after an unclean shutdown: quarantine it, then salvage every record you can

Comments
5 min read
A 'remember my choice' default that can't strand the user: picking a UPI app on Android

A 'remember my choice' default that can't strand the user: picking a UPI app on Android

Comments
4 min read
Fixing the bad write doesn't fix the bad data: wiping a poisoned on-device cache with a schema version

Fixing the bad write doesn't fix the bad data: wiping a poisoned on-device cache with a schema version

1
Comments 1
4 min read
Works on localhost, silent from the phone: Windows Firewall rules for a LAN app

Works on localhost, silent from the phone: Windows Firewall rules for a LAN app

Comments
4 min read
Freeing 400 MB idle processes without breaking anything: ship the cleanup in dry-run first

Freeing 400 MB idle processes without breaking anything: ship the cleanup in dry-run first

Comments
5 min read
Handing a upi:// link to a UPI app on Android and reading what comes back

Handing a upi:// link to a UPI app on Android and reading what comes back

Comments
4 min read
Keeping a floating button steady while another app repaints: a hold window with hard exits

Keeping a floating button steady while another app repaints: a hold window with hard exits

Comments
5 min read
One UDP port, several Windows users: LAN discovery that works on a shared PC

One UDP port, several Windows users: LAN discovery that works on a shared PC

Comments
4 min read
When the user is busy, don't drop the UI action: a small replay queue in Node.js

When the user is busy, don't drop the UI action: a small replay queue in Node.js

Comments
4 min read
When ML Kit can't read a worn, printed QR: a cheapest-first fallback ladder on Android

When ML Kit can't read a worn, printed QR: a cheapest-first fallback ladder on Android

Comments
4 min read
Ask for a Play Store review once, after the app has done its job

Ask for a Play Store review once, after the app has done its job

Comments
4 min read
Updating text at the cursor as a transcript changes, without retyping the whole thing

Updating text at the cursor as a transcript changes, without retyping the whole thing

Comments
4 min read
Don't type into a window someone is using: a cross-platform idle gate in Node.js

Don't type into a window someone is using: a cross-platform idle gate in Node.js

Comments
4 min read
Two Android manifest lines that changed what my app could see and do

Two Android manifest lines that changed what my app could see and do

Comments
3 min read
Ask for the battery exemption only on the phones that need it

Ask for the battery exemption only on the phones that need it

Comments
3 min read
Watching the Windows clipboard from Node.js without polling

Watching the Windows clipboard from Node.js without polling

Comments
4 min read
Was that wake warm? Measuring prompt-cache hits from Claude Code transcripts

Was that wake warm? Measuring prompt-cache hits from Claude Code transcripts

Comments
5 min read
Knowing who is on the line without call-log permissions on Android

Knowing who is on the line without call-log permissions on Android

1
Comments 1
3 min read
Reading a UPI QR from a shared image on Android, fully offline

Reading a UPI QR from a shared image on Android, fully offline

Comments
4 min read
Resuming work at a time you only know from an error message

Resuming work at a time you only know from an error message

Comments
5 min read
Dictating the prose parts of a developer's day on Windows (commit messages, PR descriptions, issue replies)

Dictating the prose parts of a developer's day on Windows (commit messages, PR descriptions, issue replies)

1
Comments 1
4 min read
Messaging an unsaved number on Android: links, country codes and keeping the user in control

Messaging an unsaved number on Android: links, country codes and keeping the user in control

Comments
4 min read
Building a phone remote for a desktop app that has no API

Building a phone remote for a desktop app that has no API

Comments 2
3 min read
loading...