NetHack
openapi-generator
NetHack | openapi-generator | |
---|---|---|
63 | 256 | |
3,248 | 24,245 | |
2.0% | 1.6% | |
9.8 | 9.9 | |
6 days ago | 1 day ago | |
C | Java | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
NetHack
-
The Story of Rogue
Yes and still under active development [1]! We also just finished the 2024 November NetHack Tournament (TNNT) [2]! I played in the tournament for the first time this year. I had one near-win with a very challenging Monk (I was doing a bunch of conducts [3]) who unfortunately died to the infamous Wizard of Yendor (Rodney as we call him). I also had a winning run with a Wizard which unfortunately finished a few hours after the deadline at the end of the tournament, so sadly that one didn't count!
Next year I hope to have a bit more time to play so that I can record a win in regulation time!
[1] https://github.com/nethack/nethack
[2] https://tnnt.org
[3] https://nethackwiki.com/wiki/Conduct
-
Installing NH 3.7 on Win11 without using Linux?
download NetHack sources (https://github.com/NetHack/NetHack -> Code -> Download ZIP, unpack them on your computer)
-
Eglot + clangd not working for NetHack code base
My configuration of Eglot is simple: (use-package eglot :hook (c-mode . eglot-ensure)). And it works for a single c file. But when I use this setup to read the code of NetHack, it doesn't work for linting and definition finding (M-.), even though eglot connection has no problem. I observed the same problems when reading the code of SQLite. Some specific problems I observed:
-
First version of nethack with a bestiary?
Since nethack 3.1.0, the source for nethack's "bestiary" has been dat/data.base, in plain text, processed into a file named "data" when building the program. The unprocessed file intended for the nethack's next version can be seen at https://github.com/NetHack/NetHack/blob/NetHack-3.7/dat/data.base (it's quite long).
-
NetHack splash screen source? (question in comments)
I am not really 100% sure what you are looking for. Are you looking for the actual picture? It is built during compilation from this uuencoded file https://github.com/NetHack/NetHack/blob/NetHack-3.7/win/win32/splash.uu
- (...) instead of one single extremely large structure named 'g' to house all of the relocated global variables, they are distributed into several ga through gz. (...) To make things easy for the developer, each variable is placed into the struct corresponding to the starting letter of the variable.
-
Cant go down staircase?
xNetHack is based on NetHack 3.7.0, and there was a bug (now fixed) in NetHack 3.7.0 that caused stair destinations to be messed up after a game is recovered. I wonder that has happened here: perhaps you are playing a version of xNetHack that inherited the bug from NetHack 3.7.0, this is a recovered game.
-
toot toot
They won't be afraid of music in 3.7.
-
Minetown Shop with a closet, uses other than YASD for shoplifting?
This is a bug that was fixed in the upcoming 3.7, in this commit. Basically, if the random filler created a space that was made inaccessible by the fixed level design getting overlaid on top of the random filler, a door could be created to make that space accessible.
-
YAAP: Elvish Atheist Wizard
There is not a comprehensive list of changes in existence. This one comes close but doesn't contain everything https://github.com/NetHack/NetHack/blob/NetHack-3.7/doc/fixes3-7-0.txt
openapi-generator
-
Type safe web stack with Rust and TypeScript
> Ideally I'd like to be able to write types in typescript, and write python types, then verify that the types are compatible (not identical)
Have a look at https://fastapi.tiangolo.com/
FastAPI allows you to define your types in Python using Pydantic for stronger type guarantees. FastAPI also generates an OpenAPI.json file for your backend and then you can feed this OpenAPI.json document into https://github.com/OpenAPITools/openapi-generator to generate a typescript library that contains all the types. Then you don't need to verify your types, because the typescript types will be directly generated from your Python types. The generated typescript library also contains methods for each of your REST endpoints, so that you don't have to think about network requests.
-
How and Why to Use Patches
Patches are also useful if we're making manual modifications to any codebase that is being auto-generated, i.e. if we're using openapi-generator off of an OpenAPI spec to create clients and scaffolded server codebases. We would want to maintain the patch as a way to ensure that subsequent re-generations of the code don't wipe out any manual changes we have to make in-between.
-
How To Introduce a New API Quickly Using Micronaut
The beta version was able to generate the expected Quote model object, but I ran into issues trying to generate an interface or abstract class that my controllers could extend. So I decided to create an issue in the openapi-generator library (link for those who are interested in the details) and pivot toward another approach.
-
Revolutionize Your API Development: Unleash the True Power of OpenAPI Generator!
Step 1: Locate the Right Template For Spring-based projects, navigate to: JavaSpring/ Key templates to modify: model.mustache → Handles imports pojo.mustache → Defines annotation
-
Programming in D: Tutorial and Reference
It would be great if D supported something like OpenAPI generator https://github.com/OpenAPITools/openapi-generator
Maybe it exists and I am just ignorant but it doesn't seem to be in the list of supported languages.
-
API-First Development in Scala
various openapi-generator plugins
-
Generate JAVA code from OpenAPI specification
OpenAPI Generator Gradle Plugin
-
Show HN: FastOpenAPI – automated docs for many Python frameworks
I'm also really happy with spec first. We're using openapi-generator[1] to generate types from a yaml schema (inverting the more standard approach of generating the yaml) in our Typescript (mostly Nest.js) backends, and export those types as packages for use in our frontends.
[1] https://github.com/OpenAPITools/openapi-generator
-
openapi-generator VS lapidary-render - a user suggested alternative
2 projects | 16 Mar 2025
-
Using OpenAPI to Automate API Integration With Rapyd's Payment Gateway
Manually writing API clients can be time-consuming and result in errors. This is where the OpenAPI specification and tools like OpenAPI Generator are helpful.
What are some alternatives?
angband - A free, single-player roguelike dungeon exploration game
NSwag - The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
crawl - Dungeon Crawl: Stone Soup official repository
kiota - OpenAPI based HTTP Client code generator
sil-q
ogen - OpenAPI v3 code generator for go