News for hackers. Stuff that matters.
Re:Knightmare: A DevOps Cautionary Tale (2014) by solarmist on Tuesday February 03, 2015 @08:41PM (#8994844)
Why would they repurpose an old flag at all? That seems crazy to me unless it was something hardware bound.
Re:Knightmare: A DevOps Cautionary Tale (2014) by vertex-four on Tuesday February 03, 2015 @08:43PM (#8994851)
To keep the messages as short as possible, to reduce the time-costs of transmitting and processing them. It's HFT, they do things like that.
Re:Knightmare: A DevOps Cautionary Tale (2014) by mason240 on Tuesday February 03, 2015 @09:02PM (#8994916)
Which is why I don't feel bad at all. Live by the sword, die by the sword.
Re:Knightmare: A DevOps Cautionary Tale (2014) by otakucode on Tuesday February 03, 2015 @10:03PM (#8995098)
I was honestly surprised the NYSE/NASDAQ didn't step in and reverse the trades. They've done so in the past when automated trading systems went off the rails. I am glad they didn't do so, as such favoritism is completely unfair and sends a terrible message to HFT companies, but it was still surprising.
Re:Knightmare: A DevOps Cautionary Tale (2014) by solarmist on Tuesday February 03, 2015 @09:44PM (#8995038)
Okay, yeah, if the flag is in the message not just an internal flag that makes MUCH more sense.
Re:Knightmare: A DevOps Cautionary Tale (2014) by jemfinch on Tuesday February 03, 2015 @08:46PM (#8994863)
I assume "flag" in this context means something akin to a command-line flag.
Re:Knightmare: A DevOps Cautionary Tale (2014) by socceroos on Tuesday February 03, 2015 @08:52PM (#8994884)
I assumed it was a single bit in a string of them that describes a message.
Re:Knightmare: A DevOps Cautionary Tale (2014) by MattHeard on Tuesday February 03, 2015 @09:32PM (#8994989)
You're correct. Single bits representing boolean values are often called "flags".
Re:Knightmare: A DevOps Cautionary Tale (2014) by matteotom on Tuesday February 03, 2015 @08:54PM (#8994891)
Except it's probably a byte or less.
Re:Knightmare: A DevOps Cautionary Tale (2014) by solarmist on Tuesday February 03, 2015 @09:42PM (#8995032)
For highly efficient messages I'll bet they did bit packing, so it was probably only a single bit, which is why they'd want to reuse it rather than completely change the message format.
Re:Knightmare: A DevOps Cautionary Tale (2014) by solarmist on Tuesday February 03, 2015 @09:38PM (#8995008)
Okay, I can see that if they're binary messages and a single bit is no longer being used.
Re:Knightmare: A DevOps Cautionary Tale (2014) by bsdpython on Tuesday February 03, 2015 @09:40PM (#8995019)
I've seen it done on a regular basis at a large financial institution. Like, so often that almost half the fields had a different meaning now or have dual purpose on some old systems.