Hacker News new | past | comments | ask | show | jobs | submit login

Whenever time permits, I have a (bad) habit of viewing source code of new website. In this case, I found this on this website: (haven't read the js yet to see what's the true intent but surely a sign of horrible engineering)

edit- seems like remix customizations.

              "remove-watch-video-requirement": {
                            "defaultValue": false,
                            "rules": [{
                                "condition": {
                                    "env": "prod",
                                    "email": {
                                        "$in": ["<redacted>@gmail.com", "redacted"]
                                    }
                                },
                                "force": true
                            }]
                        },
                        "score-only-lesson-phoneme": {
                            "defaultValue": true
                        },
                        "auto-stop-recording-for-all-practice": {
                            "defaultValue": true,
                            "rules": [{
                                "condition": {
                                    "env": "prod",
                                    "email": {
                                        "$in": ["redacted", "redacted", "[email protected]"]
                                    }
                                },
                                "force": false
                            }]
                        },
                        "use-speechace-v9": {
                            "defaultValue": true
                        },
                        "april-2022-price-increase-experiment": {
                            "defaultValue": false,
                            "rules": [{
                                "condition": {
                                    "env": "prod",
                                    "email": {
                                        "$in": ["[email protected]", "[email protected]", "[email protected]", "[email protected]", "[email protected]"]
                                    }
                                },
                                "force": false



My guess is that it's from their SSR framework (ie. remix), which serialized way too many things and sent it to the client. That, and they're using the same feature flag project/config as their main app, because looking at the feature flags it's clearly to do with their main app (ie. AI voice training) rather than this AI voice guesser app.

> "successEnterReferralCodeDuringOnboardingBody": "You've just unlocked 10% off your BoldVoice subscription, thanks to [firstName]'s referral!",


It might be a kindness to redact those emails before you can no longer edit your post.


valid point, removed.


Why bother? It's already harvested.


just in case; I don't want to make it worse.


Between typescript and all the front-end frameworks, reading web code nowadays is worse than reading disassembled native code.


Remove the email addresses from your post!


done!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: