[HN Gopher] OpenMCT: A web based mission control framework
       ___________________________________________________________________
        
       OpenMCT: A web based mission control framework
        
       Author : InitEnabler
       Score  : 65 points
       Date   : 2024-04-18 15:09 UTC (7 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | throwup238 wrote:
       | Coming soon to a Mars mission [1] near you: unscheduled
       | disassembly due to faulty mission control input when someone
       | forgets to include a variable in the dependencies list of a
       | `useCallback` hook.
       | 
       | [1] https://en.wikipedia.org/wiki/Mars_Climate_Orbiter
        
       | malux85 wrote:
       | I love OpenMCT, in 2021 I wrote some crypto DeFi arb trading bots
       | (just doing realtime graph constructions and then bellman ford,
       | then a hill-climbing amount optimiser and gas estimator and
       | transaction obfuscator to help avoid sniping)
       | 
       | I modified OpenMCT to be the GUI for this, which showed the
       | profitable trading paths through the graph in realtime.
       | 
       | I emailed NASA to ask if they could put my thumbs up, mugshot on
       | their users page next to all of the satellites and Mars missions,
       | they said they couldn't because my project was a for profit
       | enterprise, but I totally think they just didn't want my (insane)
       | mugshot there XD
        
         | jvanderbot wrote:
         | There's a NASA funding line called Tipping Point used to
         | commercialize NASA tech. I bet you couldve buttered up the
         | managers of that fund during the defi hayday and gotten a small
         | pot to work on it.
        
         | maCDzP wrote:
         | Could you expand on your trading bot? To bad for NASA denying
         | your mugshot. I bet it would have generated many stars on
         | GitHub.
        
           | malux85 wrote:
           | What I wrote above is basically the summary, it crawled the
           | mempool and checked the address interfaces to discover Defi
           | exchanges automatically.
           | 
           | I found maybe 20-30 exchanges that were not publicly
           | advertised, so there was quite a bit of liquidity there. It
           | looked for triangular arbitrage opportunities, then optimised
           | the amount and computed gas costs to check if it was
           | profitable. There was a lot of compute required, about 12,000
           | paths a second were searched and a profitable trade would be
           | found about once every 3 hours.
           | 
           | "Optimising the amount" was a bit tricky too - too little you
           | leave money on the table, too much you cause slippage - but
           | you know the good thing about DeFi is that through our ETH
           | nodes we have a copy of the blockchain and I had already
           | written an EVM disassembler for another project, so I had a
           | lot of knowledge of EVM internals - so I could simulate the
           | trade executions inside the optimiser locally, which greatly
           | helped "realism"
           | 
           | The whole system was profitable for about 8 months, it netted
           | me about 180k usd before it tapered off - I don't know why
           | but I suspect someone else found the strategy/was doing the
           | same thing, so I took the cash out of it, paid tax and moved
           | on.
           | 
           | If you're interested in the tech it was all just pure Python,
           | networkx for the graph stuff, shared memory, multiprocessing
           | and lots of IPC, the whole thing operated in RAM because it
           | has to be quick (exponential number of paths to search) -
           | anything important (debugging / trade execution) was thrown
           | in a queue and written out by another process
           | 
           | After that, I built this https://atomictessellator.com
        
       | dang wrote:
       | Related. Others?
       | 
       |  _Open Source Mission Control Software from NASA_ -
       | https://news.ycombinator.com/item?id=25950487 - Jan 2021 (48
       | comments)
       | 
       |  _Open Source Mission Control Software for Web, Desktop and
       | Mobile - By NASA_ - https://news.ycombinator.com/item?id=18864485
       | - Jan 2019 (1 comment)
       | 
       |  _A web-based mission control framework by NASA_ -
       | https://news.ycombinator.com/item?id=18429909 - Nov 2018 (67
       | comments)
       | 
       |  _Integrate Kerbal Space Program Telemetry Data into NASA 's Open
       | MCT_ - https://news.ycombinator.com/item?id=12411333 - Sept 2016
       | (1 comment)
       | 
       |  _NASA 's Web-Based Mission Control Framework - Open Sourced on
       | GitHub_ - https://news.ycombinator.com/item?id=12369073 - Aug
       | 2016 (2 comments)
       | 
       |  _Open MCT - Open-Source Mission Control Software_ -
       | https://news.ycombinator.com/item?id=12339966 - Aug 2016 (14
       | comments)
        
       | sgt wrote:
       | Even Max Verstappen uses it (albeit indirectly):
       | 
       | https://github.com/nasa/openmct/discussions/6392
        
       | CodeWriter23 wrote:
       | Cue the npm supply chain attacks to pwn nuclear powered
       | spacecraft.
        
       ___________________________________________________________________
       (page generated 2024-04-18 23:00 UTC)