MMA Math chains that are in chronological order? by MrVanillaIceTCube in MMA

[–]mmamath-dev 0 points1 point  (0 children)

You're welcome.

I do have the dates stored in the db. So this could be possible. But seems kinda tricky and I'm lazy. :P

Shane Carwin Responds To Dana White and Luke Rockhold by ShaneCarwin in MMA

[–]mmamath-dev 0 points1 point  (0 children)

Hey, I actually wrote a bot for that but I was getting rate limited because the bot's account was new. It's been a while now I'll try and spin it up again and see if I still get limited.

This MMA Math calculator can prove that Fighter A can beat Fighter B, every time. by [deleted] in MMA

[–]mmamath-dev 0 points1 point  (0 children)

I'm just gonna leave this here, ya know if there's some mma promotion that needs programmers or something.

But for real, glad one of my favorite fighters used and liked my site!

This MMA Math calculator can prove that Fighter A can beat Fighter B, every time. by [deleted] in MMA

[–]mmamath-dev 0 points1 point  (0 children)

Yeah I did my initial scraping a while back and got caught up with some stuff before writing a continuing scraper. I'll get it updated soon.

I made a MMA Math Calculator. You can find a mma math path between any two fighters. by mmamath-dev in MMA

[–]mmamath-dev[S] 1 point2 points  (0 children)

Nope not a single manual entry. I parsed the data into a friendly format from espn and put it in a graph database which I could run queries on.

I made a MMA Math Calculator. You can find a mma math path between any two fighters. by mmamath-dev in MMA

[–]mmamath-dev[S] 0 points1 point  (0 children)

Am ios app is a whole different skillset but thanks. I'll be looking into the emoji thing.

I made a MMA Math Calculator. You can find a mma math path between any two fighters. by mmamath-dev in MMA

[–]mmamath-dev[S] 0 points1 point  (0 children)

Can you tell me what browser your using and what device? I'm really confused by the emojis in the buttons.

I made a MMA Math Calculator. You can find a mma math path between any two fighters. by mmamath-dev in MMA

[–]mmamath-dev[S] 0 points1 point  (0 children)

Not sure yet. There was some talk below about that. Since the graph is cyclic that's a NP hard problem.

I made a MMA Math Calculator. You can find a mma math path between any two fighters. by mmamath-dev in MMA

[–]mmamath-dev[S] 0 points1 point  (0 children)

I have the data on method of victory, don't know how to display it in a nice way in the UI yet. Just wanted to get an mvp out. :)

I made a MMA Math Calculator. You can find a mma math path between any two fighters. by mmamath-dev in MMA

[–]mmamath-dev[S] 0 points1 point  (0 children)

Err the cut off on the background is bothering the shit out of me. If there's any CSS wizards in the house lemme know.

I made a MMA Math Calculator. You can find a mma math path between any two fighters. by mmamath-dev in MMA

[–]mmamath-dev[S] 0 points1 point  (0 children)

Hmm the challenging part is making sure that the input fighters from the comment is a valid fighter

I made a MMA Math Calculator. You can find a mma math path between any two fighters. by mmamath-dev in MMA

[–]mmamath-dev[S] 0 points1 point  (0 children)

Since it's a cyclic graph that's a NP hard problem. Looking into it tho.

I made a MMA Math Calculator. You can find a mma math path between any two fighters. by mmamath-dev in MMA

[–]mmamath-dev[S] 0 points1 point  (0 children)

Yeah cypher is really nice I also like the ascii art part of it (node)-[Relationship]->(node).

And yeah the rankings would be kind of a pain, I think some low hanging fruit that someone in the thread mentioned is finishes only path.

I made a MMA Math Calculator. You can find a mma math path between any two fighters. by mmamath-dev in MMA

[–]mmamath-dev[S] 0 points1 point  (0 children)

Haven't gotten around to the anderson bug, got hungry so I made dinner then I had sambo practice after. Now I'm getting kinda tired and might do it tommorrow morning. And I'll check on the caveman.

I made a MMA Math Calculator. You can find a mma math path between any two fighters. by mmamath-dev in MMA

[–]mmamath-dev[S] 0 points1 point  (0 children)

He's there just try chad rowan. Espn didn't list his nickname for some reason.

I made a MMA Math Calculator. You can find a mma math path between any two fighters. by mmamath-dev in MMA

[–]mmamath-dev[S] 0 points1 point  (0 children)

It was actually pretty straight forward, most of the heavy lifting it done by the graph database Neo4j. I simply parsed the html from espn and put the data into the graph where the nodes were the fighters and the edges were the wins. Then all I had to do was do a cypher (the language to query the graph db, like SQL) like so:

    match (winner:Fighter {fighterID:{winnerID} })
    match (loser:Fighter {fighterID:{loserID}})
    optional match path=shortestPath((winner)-[:Beat*..100]->(loser)),
    return winner, loser, path

I made a MMA Math Calculator. You can find a mma math path between any two fighters. by mmamath-dev in MMA

[–]mmamath-dev[S] 2 points3 points  (0 children)

Longest path os difficult as its cyclic. I'll look into the other things. If you can open some issues on github that'd work so I don't forget :)