I worked at a sports company forever ago, and ever since then, I've wanted to build my own NBA scores + stats site. After a few false starts over the years, I have a new concept called Center Court that I'm so excited about.
It's primary purpose is for live boxscores because all of the major sports sites have terrible UI/UX experiences. I always defaulted to ESPN.com but it's so slow and awful. Center Court is basically a bridge between espn.com (or nba.com) and more advanced stat focused sites that don't offer a good live experience. The technical implementation behind it is quite novel in this space too. Instead of storing computed statistics in a database, I store raw play by play payloads immutability and everything else is derived from those and can be trivially rebuilt so the event log is a derived cache of the payloads. Every stat on every page is a pure fold over the event log at request time; no derived number is stored. This enables some powerful features like being able to re-derive a game's entire state at any point of the game (or even a time range). Example game to try out: https://centercourtlive.com/game/0022600197 The site is meant to be extremely fast. It's all server-side rendered with progressive JS enhancements. URLs are immutable and cached behind a CDN. https://centercourtlive.com/
Currently I'm using NBA.com. See https://github.com/swar/nba_api for more details on that (I used it to create my own Rust client).
So far I'm trying to exclusively rely on cdn.nba.com endpoints. There are repos with historical PBP data too if you want to avoid hitting their API. Eg: https://github.com/ramirobentes/nba_pbp_data If this project becomes more successful then I would look into paying for a real data provider like https://sportradar.com/
So that button will select the whole game _excluding_ garbage time. I really need an About page on the site to explain lots of concepts and features; coming soon! (and a changelog)
- finishing porting GNOME to Fil-C. It is starting to work but with some features still disabled.
- about 1/3 of the way through getting Rust to compile to Fil-ABI. This means you can interop between Rust and Fil-C without weakening either language’s guarantees. I’ll need this to get librsvg to work in Fil-GNOME. - almost done making assembly memory safe. The SaRCAsm (safe runtime capability-enforcing assembler) works and I have OpenSSL ported to it but I don’t yet have 100% confidence in this. Once this is done I’ll be able to get rid of zunsafe (the closest thing to an escape hatch in Fil-C; it’s only used for the assembly in OpenSSL; without calls out to assembly, OpenSSL has too high risk of timing side channels).
https://pahunchi.netlify.app/
A free app for women to pretend to be on call when alone in a cab or to get out of a bad date. Can share location, voice note on a realistic call where AI responds in your language (currently supports Hindi, English).
I’ve been working since the start of the year on a minimalist web reader (https://papercove.app) that I use every day to follow RSS feeds, newsletters and read-later, and that helps keep things from piling up.
I thought I’d get where I wanted much faster, but it turns out I ran into quite a few challenges: it’s quick to build something simple, but it takes much longer to get a reader that’s robust and pleasant to use (extraction, parsing, security, infrastructure, etc.). On the tech side, I’m using my usual stack, Laravel and Livewire, with some Python for extraction and Go for the email infrastructure. This month I’m working on the beta release, since several people around me were already using it, so I’d like to gather more feedback.
That is a great landing page! I can relate on the velocity side, it can be quick to build a feature, but it takes time to get everything feeling right and usable.
Comments (1,123) 974 threads
Earlier commentsIt's primary purpose is for live boxscores because all of the major sports sites have terrible UI/UX experiences. I always defaulted to ESPN.com but it's so slow and awful. Center Court is basically a bridge between espn.com (or nba.com) and more advanced stat focused sites that don't offer a good live experience.
The technical implementation behind it is quite novel in this space too. Instead of storing computed statistics in a database, I store raw play by play payloads immutability and everything else is derived from those and can be trivially rebuilt so the event log is a derived cache of the payloads. Every stat on every page is a pure fold over the event log at request time; no derived number is stored.
This enables some powerful features like being able to re-derive a game's entire state at any point of the game (or even a time range). Example game to try out: https://centercourtlive.com/game/0022600197
The site is meant to be extremely fast. It's all server-side rendered with progressive JS enhancements. URLs are immutable and cached behind a CDN.
https://centercourtlive.com/
So far I'm trying to exclusively rely on cdn.nba.com endpoints. There are repos with historical PBP data too if you want to avoid hitting their API. Eg: https://github.com/ramirobentes/nba_pbp_data
If this project becomes more successful then I would look into paying for a real data provider like https://sportradar.com/
What does the "No garbage time" button do underneath that chart?
So that button will select the whole game _excluding_ garbage time. I really need an About page on the site to explain lots of concepts and features; coming soon! (and a changelog)
- about 1/3 of the way through getting Rust to compile to Fil-ABI. This means you can interop between Rust and Fil-C without weakening either language’s guarantees. I’ll need this to get librsvg to work in Fil-GNOME.
- almost done making assembly memory safe. The SaRCAsm (safe runtime capability-enforcing assembler) works and I have OpenSSL ported to it but I don’t yet have 100% confidence in this. Once this is done I’ll be able to get rid of zunsafe (the closest thing to an escape hatch in Fil-C; it’s only used for the assembly in OpenSSL; without calls out to assembly, OpenSSL has too high risk of timing side channels).
I thought I’d get where I wanted much faster, but it turns out I ran into quite a few challenges: it’s quick to build something simple, but it takes much longer to get a reader that’s robust and pleasant to use (extraction, parsing, security, infrastructure, etc.).
On the tech side, I’m using my usual stack, Laravel and Livewire, with some Python for extraction and Go for the email infrastructure. This month I’m working on the beta release, since several people around me were already using it, so I’d like to gather more feedback.
All comments shown.
Couldn't load more comments. Check your connection and try again.