Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Wow. But as long as the country code exists in the database, it should be a simple fix.
-
@Oktokolo yep just have to find which service and which bit of code handles all this :) legacy monoliths are fun
-
matt-jd10302y@electrineer maybe some prefix identifier thing? or they just cover a specific place
-
@electrineer Basically I believe whoever coded it never assumed the business would also operate in Mexico so never filtered by country for zip code too, just filtered by zipcode
-
JsonBoa29912yDude, we have this database with detailed positions of facilities, and some maniac decided to place two different shipping container aprons in the exact same lon/lat, but on different altitudes. Like 10-20m different.
You see, sometimes you have multiple aprons in the same dock, but those aprons cannot be on top of each other. Some of our systems would treat two overlapping aprons as one single thing, and others would not. And that specific dock was supposed to have a single apron.
Dock crews have an score for their speed when unloading ships. That score is inversely proportional to how many facilities are available at the dock.
You can see where this is going. Dock crews dreaded that one because it would tank their average scores for no fault of their own. Maintenance crews would be paid twice. Forecasted ship unloading time would be nearly half what it should have been. And no one could tell freaking why.
Fucking check your data before stacking money on it. We learned the hard way. -
@JsonBoa Lmao for real that's funny XD tbh I find things like this hilarious and make me have fun at the job sometimes
Related Rants
We recently had an error in legacy systems about a user trying to find photographers in Virginia but somehow it shows photographers in Mexico. Apparently it's because both Mexico and Virginia have the same zip code XD guess whatever it uses to search stuff didn't think the company would be used past the US.
random
bug
funny