Conversation

Covered California (the state's medical insurance portal) is serving invalid JSON.
It's JS, not JSON, and even if you turn it into JSON, it's invalid, because they're sending duplicate keys for some reason.

I'm not sure if this is why I can't create my account or just another way in which their site is messed up

2
1
1

and one of the .js files that is failing to load is from a cloud-based AI company.

exactly the people I want to know about my health problems and SSN

1
0
0

@foone > and even if you turn it into JSON, it’s invalid, because they’re sending duplicate keys for some reason.

duplicate keys are valid json because it’s such an amazing format. absolutely nobody knows what they mean of course. none of the specs define it

1
0
2

yeah they fucked up their react. They marked one question as "required" so you can't submit the form without answering it, but it has no options you can select.

1
0
0

@charlotte @foone https://www.json.org/json-en.html

a literal reading of the spec means that duplicate keys are possible but duplicate key-value pairs are illegal

1
0
0

it's firefox. their fucking form doesn't work on firefox

1
0
0

sorry, only californians using a google-powered browser are allowed to have healthcare

1
0
0

@ben @foone i’m not sure where it says that

ecma-404 doesn’t define what duplicate object keys mean. rfc8259 recommends against it, says parser behavior is unpredictable

1
0
1

hey look it magically works if I switch my UA

I'm sure that's fine

1
0
0

@charlotte @foone "An object is an unordered set of name/value pairs."

A set cannot have duplicate elements.

1
0
1

@ben @foone that’s yet another spec incompatibility in json. perfect format no notes. we should build everything on it

1
0
1

ooh, now it wants to know if I'm one of the four sexes:
male, female, trans: female to male, or trans: male to female.

great job guys, that's not how it works

2
0
0

I like how when they asked my zip code they had a "why do we need to know this?" option.

but not when they're going "hey, are you a trans?"

2
0
0

@ben @foone oh amazing

the spec you linked introduces even more ambiguity:

A number is very much like a C or Java number, except that the octal and hexadecimal formats are not used.

a c number can be in binary format (since c23), which doesn’t match the textual, graphical, or bnf-like descriptions of the type in any of the 3 specs

also neither make an attempt at setting ranges or precision for the type, so parsing every number as 0 is perfectly legal.

at least it doesn’t do the ecma404 mistake of having a textual description of numbers that contradicts itself (you can have all of the c-like floating point literal characters in there except that all numbers have to be representable using a sequence of digits (which +, -, ., and e definitely are not)

0
0
0

@Petra @ben my gender is rs232 null modem cable for playing 688 Attack Sub

0
0
0

they also ask for my sex but the internal form name is gender.

THOSE ARE DIFFERENT THINGS

1
0
0

my gender is no, my sex is fuck no.

1
0
0

unless you're a government, in which case it's fuck the police

1
0
0

there we go I fixed it

4
0
0

oh my god. after filling in that sex option, it also asks for:
1. my gender. Options are: M, F, MTF, FTM, NB, Other
2. What my birth certificate said my gender was. They're seriously asking my AGAB.
3. My orientation. Straight, Gay/Lesbian, Bi, Queer, Another, Unknown.

5
0
0

@foone Are you certain you aren't registering for a sex cult?

1
0
0

@ozzelot exactly. at birth, my parents said "doctor, what is it?" "a baby" "no, I mean, is it a boy or a girl?" "what are you, a cop? fuck off!"

0
0
0

@void no, I help run one of those already, we have WAY less paperwork

0
0
0

@foone they don't understand that birth certificates get updated? Lol

1
0
0

@old_angry_queer I'm from North Carolina, so... no they don't.

0
0
0

and now I can't finish filling out my form because they need info from another state site that that one is going to be down today from 6pm to 10pm!

it's currently 2am, but apparently it's still broken

2
0
0

@foone Makes sense for a health thing right, I assume you can get different health issues depending on that?

2
0
0

@mattsqu this is for insurance, though, not my doctor. My doctor should know about this sort of thing, I don't see why the people who are helping me pay my doctor need to know

0
0
0
trans healthcare, mentioning breast cancer as an example
Show content

@mattsqu @foone not really?

like, just saying “trans woman” or “trans man” won’t really give them a lot of info on the actual body type / shape / whatever the person has

some trans woman who are not on E yet or are early on HRT won’t have boobs or breast cancer to worry about

a trans woman 5 years into HRT definitely will

the opposite is true, a trans guy might or might not have boobs and so might or might not have to worry about breast cancer

- posted by oxy
0
0
0

@IU1KGS needs more screaming. But yes, that's the shape I meant

0
0
0

@jackemled nah I'm screaming geometric shape. At least today. I'm gender fluid, sometimes I'm all of these.

0
0
0

@foone I always love reading about gender options written by cis engineers

1
0
0

@Haste I know, right?
One of my previous jobs sent a gender survey that was like "male, female, and trans".
Like, your gender is just "transgender".

1
0
0

@foone I got yelled at by a doctors office once for ticking the “female” box instead of “MtF”, which I did partially out of privacy and partially to be a pain in the ass

1
0
0

@Haste I'm always expecting that to happen because I do that shit constantly. I once hacked my optometrist's appointment form by setting my gender to 7 (when male=0, female=1), but no one ever mentioned it

1
0
0

HEY GUESS WHAT It's not a time thing at all.

If you reset your password using firefox, it will never work.

1
0
0

I grabbed a chrome-based browser and it worked first try.

2
0
0

it's even weirder: now that I had the correct password saved (since I reset it and stuffed the new password into my password manager), I tried logging in with firefox, just to see what would happen.

Answer: It tells you that your password is wrong, THEN redirects you to a 2FA page a few seconds later

1
0
0

redirecting to the 2fa is what it does when you get your password right. It tells you your password is wrong, then accepts it

1
0
0

and to be clear, this is on a separate california site to the one that was doing the firefox fuckery in the first post. That was the Covered California site, for healthcare. This is the unemployment site. Completely different sites, and they both have fatal Firefox bugs

1
0
0

one of which MYSTERIOUSLY goes away if you change your user agent.

0
0
0

@foone I'm starting to wonder if Alphabet is secretly paying organizations and gov't offices under the table to sabotage their websites in Firefox, because this shit is way too fucking ubiquitous.

1
0
0

@dragonarchitect nah, you just need to make it so that 95% of browsers are Blink/Webkit and devs will just forget to test on firefox

0
0
0

@foone Incredible. Immense respect for your shenanigans

1
0
0

@Haste thanks. That's the nicest thing anyone has said to me all day

0
0
0