News for hackers. Stuff that matters.
Re:Copilot regurgitating Quake code, including sweary comments by JamesAdir on Friday July 02, 2021 @01:02PM (#27714038)
Isn't address storage and validation a solved problem? Why is it so complicated?
Re:Copilot regurgitating Quake code, including sweary comments by ezfe on Friday July 02, 2021 @02:30PM (#27715041)
You are right that USPS maintains a database of canonical delivery points. However, it's inevitable this database might not be correct or up to date.

If you don't want to validate, then yes addresses are just a series of text fields. However, mapping them to that delivery point is where the problems arise.

Re:Copilot regurgitating Quake code, including sweary comments by mgsouth on Friday July 02, 2021 @01:27PM (#27714320)
Ex:

412 1/2 E E NE

412 1/2 A E

1E MAIN

1 E MAIN

FOO & BAR

123 ADAM WEST RD

123 ADAM WEST

123 EAST WEST