Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hey, Author here. The source was our internal system, but the vendor was taking our id, converting it to their own id, and then serving us an ad with the coupon labeled formatted to their system. We were then using the vendor id to translate it back to ours.

The coupons associated with the products were already from our system, so I could skip the entire translation back to our id.

The manual overrides bit can be omitted, it's just how people in product were fighting a loosing battle of manually overriding the bad data.

The hardcoding was in order to replicate the behavior, as it wasn't showing up in lower envs. It wasn't the fix, the fix was to just render data we already had. I didn't go too much into details because 1. I can't due to company policy, and 2. it's actually not the interesting bit. I was more making observation of the process.



Thanks, I understand it a bit better now.

I realized later I focused on a side part of your post. My curiosity got the better of me.

Hope the observed process is changed to something better.




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

Search: