1,525 karma · joined November 19, 2015
Code::Stats started as my own version of an old site called Codeivate that had a similar XP based tracking system. Codeivate disappeared from the web completely for unknown reasons, so I launched my own because I liked the idea.
As for future ideas, one of the more requested things is user groups that would have combined statistics and internal leaderboards (with heavy disclaimers), so I'm definitely doing that at some point. I'd also like to do more gamification side things, like badges for reaching certain levels in languages. As a third, I want to look into monthly/annual reports that could be emailed.
If you have ideas, I'd love to hear them. :)
Currently it's completely a free time thing; I make negative money on it. My dream would be to have enough paying users to work on it part time (even a little), but that's far away and may never happen. But I like using it myself so I'll keep running it for the foreseeable future.
Currently it's completely a free time thing; I make negative money on it. My dream would be to have enough paying users to work on it part time (even a little), but that's far away and may never happen. But I like using it myself so I'll keep running it for the foreseeable future.
Of course dealing with crappy insulation can often be more bang for buck.
The entry point to the compression is the syncCompress[2] function, which converts the data to UTF-8, adds the needed header bytes, and then compresses using brotli-wasm. Decompression is done in a streaming way in streamDecompress[3]. This is to avoid zip bomb attacks, where even a short URL could decompress to gigabytes of data, locking the browser. Thankfully brotli-wasm had streaming decompression builtin, I just had to write the wrapper code to update the text content and the status bar in the UI.
You can find the brotli-wasm code I'm using in the vendor folder[4], there is a JS wrapper and then the WASM code (both are straight from brotli-wasm).
[1] https://github.com/httptoolkit/brotli-wasm
[2] https://gitlab.com/Nicd/t/-/blob/05e587b0183ff80b1c6e050b5d3...
[3] https://gitlab.com/Nicd/t/-/blob/05e587b0183ff80b1c6e050b5d3...
[4] https://gitlab.com/Nicd/t/-/tree/05e587b0183ff80b1c6e050b5d3...
I find it interesting to sometimes play around with the pasted data just to see how it compresses. Sometimes adding a character or two may cut several characters from the URL length!
* Max 10,000 € per round
* Max 3 months per round
* Max 2 rounds per year
* Needs a group of at least 3 persons to organise
The Nokia plc we all know mostly focuses on wired and wireless network technology.
The only cool thing was the grid but that only goes skin deep. Otherwise I hated the phone. Maybe WP8+ devices were better but WP7 was a piece of crap. I didn't want to try WP8 and got myself a Jolla instead.