3 ms·
Bug report: changing my username breaks $product. Yeah no thanks. It's probably better than completely random but software should be predictable and unsurprisi
by IshKebab 3y ago
Bug report: changing my username breaks $product.
Yeah no thanks. It's probably better than completely random but software should be predictable and unsurprising.
- burnished 3y agoThe important part is the stability - if your usernames can change then they aren't stable so you don't select it. I think it is a good reminder that most things you think of as being unchanging that are also directly related to a person.. aren't unchanging. Or at least any conceivable attribute probably has some compelling reason why some one will need to change it.
- robocat 3y ago> changing my username breaks $product. https://m.youtube.com/watch?v=r-TLSBdHe1A&t=14m10s https://m.youtube.com/watch?v=r-TLSBdHe1A&t=14m10s Discussing a performance regression due to longer username due to username being in ENVIRONMENT variable which changes memory layout of process.
- btilly 3y agoI've used the hash of username+string trick before for a flag. I used it to replace a home-grown heavyweight A/B testing framework which had turned into a performance bottleneck. It worked quite well.
- dietr1ch 3y agoThat's why you have internal user ids instead of using data directly provided by users. Will it cost an extra lookup? It's cheap, and if you really need to, you could embed the lookup in some encrypted cookie so you can verify you approved some name->id mapping recently without doing a lookup.
- hedora 3y agoWait, we're talking about maliciously injecting bugs into your employer's software so they have the maximum impact, right? Clearly, making sure that 1% of all teams gets fired for being unable to run unit tests, then slowly ramping that by a few percent each review cycle is a good strategy. Ideally, the probability of breaking would drop off exponentially as you moved up the org chart. Something like "p ^ 1/hops_to_director_of_engineering" would work well. The trick would be getting the dependency to query ldap without being detected...
- Thorrez 3y agoThis is about a feature flag. It should be safe to flip it on and off, otherwise rollouts and rollbacks won't work.