Readit News logoReadit News
kaunta commented on Show HN: RomM – An open-source, self-hosted ROM manager and player   github.com/rommapp/romm... · Posted by u/gassi
bogwog · 3 months ago
I had an idea once but not the time nor motivation to build it: a database of game design with links to gameplay snippets.

So for example an article on "2D platforming" that discusses the implementation in Super Mario, and includes a "demo" button which launches a web emulator with a save state that demonstrates a specific jumping section of the game.

Legally perilous maybe, although my non-lawyer brain sees that as fair use, especially if the emulator doesn't let you play the full game. Idk, but it'd be a unique thing on the internet.

Edit: this is awesome btw, im definitely setting up a personal instance soon

kaunta · 3 months ago
This idea was explored by Joël Franušić and Adam Smith:

"Playable Quotes for Game Boy Games" - https://www.youtube.com/watch?v=z9JYOZWLMlo

kaunta commented on Using Python's Bisect Module   johnlekberg.com/blog/2020... · Posted by u/kaunta
rahimnathwani · 5 years ago
Yes, but now I want to know:

1. Is there a C version? I don't see it in the same directory.

2. If there is a C version, does anyone who submits a PR (like the one in 2019 adding 'key'[0]) have to submit a C version along with it?

[0] https://bugs.python.org/issue4356

kaunta · 5 years ago
The C version is in Modules/_bisectmodule.c, whereas the Python version is in Lib/bisect.py.

Python version: https://github.com/python/cpython/blob/master/Lib/bisect.py

C version: https://github.com/python/cpython/blob/master/Modules/_bisec...

kaunta commented on Using Python's Bisect Module   johnlekberg.com/blog/2020... · Posted by u/kaunta
dmurray · 5 years ago
Is O(n + log n) really a thing or should he just write O(n)?
kaunta · 5 years ago
I should just write O(n).

Thanks for catching the mistake, @dmurray. I'll fix that.

u/kaunta

KarmaCake day142August 21, 2018View Original