Menu

#Digits

29 posts

Feed·
20 of 29 posts
Formatting Timer Readouts with Intl.DurationFormat: What It Does and What It Leaves to You
🖼️
0Read More

Formatting Timer Readouts with Intl.DurationFormat: What It Does and What It Leaves to You

DEV Community: frontend·Nomad Wozo·3 days ago
#wBNIgcLc
#devtofrontend#devto#dev#seconds#intl

Intl.DurationFormat can print a timer readout in any locale, but it does not carry seconds into minutes, it truncates, and one engine printed the last digit low in my sweep.

15s
Unicode Number Fonts in JS & CSS: Surrogate Pairs (U+1D7CE), UTF-8 Byte Caps, and Screen-Reader A11y
📰
0Read More

Unicode Number Fonts in JS & CSS: Surrogate Pairs (U+1D7CE), UTF-8 Byte Caps, and Screen-Reader A11y

DEV Community: frontend·haitengli·3 days ago
#FGQ1uSid
#devtofrontend#devto#dev#unicode#digits

Styling numbers in plain-text environments—changelogs, social bios, CLI output, Discord nicknames, or...

15s
intl_phone_input: a Flutter phone field that formats, detects and validates
🖼️
0Read More

intl_phone_input: a Flutter phone field that formats, detects and validates

DEV Community: flutter·Abdeldjalil Chougui·6 days ago
#43WN5cTL
#devtoflutter#devto#dev#country#value

A Flutter phone number field with a country picker, formatting as you type, paste detection and validation from libphonenumber metadata.

15s
barcode_gen: 1D barcodes for Flutter that snap to whole pixels and export to SVG
🖼️
0Read More

barcode_gen: 1D barcodes for Flutter that snap to whole pixels and export to SVG

DEV Community: mobile·Abdeldjalil Chougui·9 days ago
#q9pdrybh
#devtomobile#devto#dev#code#module

A Dart and Flutter package for EAN, UPC, Code 128, GS1-128, Code 39, ITF and more, with pixel-snapped rendering and SVG or PNG export.

15s
Correcting MRZ OCR errors with check digits: O vs 0, I vs 1, and when not to guess
📰
0Read More

Correcting MRZ OCR errors with check digits: O vs 0, I vs 1, and when not to guess

DEV Community: python·Ali Ahmed·11 days ago
#hslEopot
#devtopython#devto#dev#digit#digits

OCR misreads passport MRZ characters such as O and 0, I and 1, B and 8. How to repair the document number by trying confusable swaps until the check digit matches, why a single check digit lets wrong repairs pass one time in ten, and the rule that decides…

15s
How passport MRZ check digits work, with code to validate them
🖼️
0Read More

How passport MRZ check digits work, with code to validate them

DEV Community: computervision·Ali Ahmed·13 days ago
#UYgFAIfP

The two lines of chevrons on a passport are the machine-readable zone. How ICAO 9303 check digits work (weights 7, 3, 1), how to validate the document number, dates and composite digit in Python, and why OCR pipelines rely on them.

15s
JavaScript Program to Find the Sum of Odd Digits in a Number
🖼️
0Read More

JavaScript Program to Find the Sum of Odd Digits in a Number

javascript.plainenglish.io·Vikas·14 days ago
#hmulrpED
#digit#digits#number#using#javascript

In JavaScript, we can find the sum of odd digits in a number by checking each digit and adding only those digits that are odd. An odd digit…

15s
How to read and validate a CAS Registry Number (with a Python check-digit example)
📰
0Read More

How to read and validate a CAS Registry Number (with a Python check-digit example)

DEV Community: beginners·MolGod·19 days ago
#oU0Cw2eH
#devtobeginners#devto#dev#digit#substance

A CAS Registry Number (CAS RN) is a unique numeric identifier assigned by the Chemical Abstracts...

15s
Zero-Disk Webhook Normalization: Stopping ServiceTitan v2 Schema Rejects & Retry Storms in 0.05ms
📰
0Read More

Zero-Disk Webhook Normalization: Stopping ServiceTitan v2 Schema Rejects & Retry Storms in 0.05ms

DEV Community: typescript·KallowayThayer·20 days ago
#9ZmPDw0M
#devtotypescript#devto#dev#call#digits

Last week I wrote about handling HTTP 429 burst lockouts and OAuth token stampedes when piping...

15s