{"id":17092717,"url":"https://github.com/onelivesleft/jai-misc","last_synced_at":"2026-02-11T19:05:23.420Z","repository":{"id":171691258,"uuid":"413957525","full_name":"onelivesleft/jai-misc","owner":"onelivesleft","description":"Misc modules for Jai","archived":false,"fork":false,"pushed_at":"2021-12-27T14:26:01.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-04T17:16:21.353Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onelivesleft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-05T19:45:02.000Z","updated_at":"2021-12-27T14:26:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"8df7f683-6003-4604-aabe-b894f0dd69ce","html_url":"https://github.com/onelivesleft/jai-misc","commit_stats":null,"previous_names":["onelivesleft/jai-misc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/onelivesleft/jai-misc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onelivesleft%2Fjai-misc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onelivesleft%2Fjai-misc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onelivesleft%2Fjai-misc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onelivesleft%2Fjai-misc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onelivesleft","download_url":"https://codeload.github.com/onelivesleft/jai-misc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onelivesleft%2Fjai-misc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29341724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T18:58:20.535Z","status":"ssl_error","status_checked_at":"2026-02-11T18:56:44.814Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T14:02:15.795Z","updated_at":"2026-02-11T19:05:23.407Z","avatar_url":"https://github.com/onelivesleft.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Misc Jai Modules\n\n## Decorated_Sort\n\nThe standard `Sort` library allows you to easily sort arrays in-place, by creating a function which generates an index value for each item in your array.  However, it calls this function repeatedly for each comparison, which may be inefficient if the function is non-trivial.\n\n`Decorated_Sort` works by calling the function once on every item in the array, and then sorting these generated values separately, in a buffer.  The buffer can then be used to read the items in order.  Effectively this is a performance gain at the expense of space.\n\n\n## Error\n\nProvides a print-like called `print_error` which outputs to stderr.\n\n\n## File_For\n\nLets you read through a file inside a `for` loop, using a pre-allocated buffer (or by specifying a size and letting it set up the buffer for you).\n\n\n## Iter\n\nProvides tools for iteration\n\n\n## Metaprogram\n\nReplacement Default_Metaprogram with upgraded features.\n\n\n## Plot\n\nShows a window and lets you draw in it with simple draw commands (`plot`, `line`, etc.)\n\n\n## Struct\n\nUtilities for working with structs\n\n\n## U128\n\nProvides a `U128` type that currently supports bitwise and comparison operators.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonelivesleft%2Fjai-misc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonelivesleft%2Fjai-misc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonelivesleft%2Fjai-misc/lists"}