r/technology • • Jan 07 '18

Software The UK government's open source code from their Gov.UK website, hailed as one of the best public services portals ever

https://github.com/alphagov
17.3k Upvotes

566 comments sorted by

View all comments

Show parent comments

33

u/TNorthover Jan 07 '18

Which sites are you talking about and when did the new version come up?

I've fairly recently had to deal with both the tax and DVLA sites, and the experience was nothing short of hellish. Nothing that could be put down to the underlying backend, but there are plenty of ways to cock up user experience even on a solid base.

The most amusing was trying to change the address on my drivers licence. It asked for some obscure serial number in an underspecified format, and then when I got it wrong a couple of times simply refused to let me continue without clicking an "I've lost my licence" box despite the fact that the fucker was sitting right in front of me on the desk. In the end I sent in the (not official any more) paper stub I still had, which fortunately worked.

95

u/thecodingdude Jan 07 '18 edited Feb 29 '20

[Comment removed]

0

u/[deleted] Jan 07 '18

[deleted]

→ More replies (1)

25

u/blbd Jan 07 '18

Each of those validation challenges you cited has a provably correct Python package nowadays and many are in JDK APIs and Google Guava for JVM usage. I've used these in my long career of cybersecurity intelligence collection.

20

u/Natanael_L Jan 07 '18

Provably correct I assume means no security holes, always produce a sensible output.

The real world isn't always sensible, though...

→ More replies (3)
→ More replies (1)

0

u/[deleted] Jan 07 '18

[deleted]

6

u/dpash Jan 07 '18

There shouldn't be any need to memorize one. That's why we have DNS and IPv6 autoconfiguration.

→ More replies (5)

2

u/happyscrappy Jan 07 '18

facebook.com has IPv6 address 2a03:2880:f122:83:face:b00c::3129

They shortened it as much as possible and even put "facebooc" in the number.

→ More replies (1)
→ More replies (1)

2

u/civildisobedient Jan 07 '18 edited Jan 09 '18

The major problem in this case is that over time the acceptable options have changed

No, that is not the problem.

The specification(s) regarding valid email addresses have been out for a very long time. The problem is twofold: (1) the specs are actually rather complicated; (2) most hack devs (or hack product managers) think they can actually code their own validation routines for email addresses that isn't "two strings separated by an at sign?" but instead makes wild assumptions and invented "rules" about character sets and domain names that have no basis in reality (domains don't actually even require top level .com/.net/.whatev extension).

→ More replies (1)

0

u/[deleted] Jan 07 '18

[deleted]

26

u/LondonPilot Jan 07 '18

I’ve only got my paper one.

It’s valid until my 75th birthday if I remember correctly.

If I get a photocard, I have to pay to renew it every 10 years, plus take time out of my day to get a photo in the right format. I’m in no hurry to give up my paper licence. And if need photon id I just use my passport.

13

u/hikariuk Jan 07 '18

The passport and driving licence photos are linked; if you have one you can use it for the other.

→ More replies (1)

11

u/paulmclaughlin Jan 07 '18

I went to Australia for a semester when I was at university, and when a group of us went to a pub we got ID'd. I told the bouncer I only had my driving licence.

"That's fine," he said.

"It's British," I told him.

"That's fine," he said.

I handed it to him. He turned it back and forth and looked scared and confused.

"What's that?" he asked.

"It's a British driving licence. That's why I asked if it was ok."

He sighed perplexedly, handed it back and let me in.

→ More replies (2)

20

u/ParrotofDoom Jan 07 '18

And if need photon id I just use my passport.

What if there's an electron though, and a new government changes the law?

Sorry :(

7

u/LondonPilot Jan 07 '18

Certainly not going to fix it now, after a reply like that!

9

u/HeartyBeast Jan 07 '18

As long as you don’t move house between now and then.

4

u/vilemeister Jan 07 '18

No, they don't update the expiry date. At least they didn't on mine - it stayed the same. Mine was only actually valid for 2 years once I changed address.

3

u/HeartyBeast Jan 07 '18

No, but they replace your paper license with a nice plastic card.

→ More replies (1)

5

u/vilemeister Jan 07 '18

Shit, I'm almost 27 and you just reminded me that it might need renewing. It does.

Thanks!

4

u/withabeard Jan 07 '18

I learned the hard way - if you photocard is expired (not your license mind you, just the photocard) your insurance is void.

→ More replies (1)

2

u/hikariuk Jan 07 '18

I still have a paper provisional licence, valid until I'm 75 (I'm 40).

→ More replies (6)

3

u/Christopherfromtheuk Jan 07 '18

I just changed the address on mine and it took 5 minutes, was dead easy and new one took about a week. Same experience changing the V5 and renewing a passport.

7

u/[deleted] Jan 07 '18

As someone who has been through that process several times I can say with confidence that was user error.

→ More replies (2)
→ More replies (3)