{"id":16312392,"url":"https://github.com/kiranandcode/aoc-rhombus","last_synced_at":"2026-01-21T07:25:55.067Z","repository":{"id":210403374,"uuid":"726091474","full_name":"kiranandcode/aoc-rhombus","owner":"kiranandcode","description":"Let's do AOC in Rhombus!!! (Why? because I hate myself :sob: :sob: :sob:)","archived":false,"fork":false,"pushed_at":"2023-12-20T17:54:32.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-22T12:18:36.379Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Racket","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/kiranandcode.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}},"created_at":"2023-12-01T14:16:24.000Z","updated_at":"2023-12-01T14:17:19.000Z","dependencies_parsed_at":"2024-01-07T00:07:08.127Z","dependency_job_id":null,"html_url":"https://github.com/kiranandcode/aoc-rhombus","commit_stats":null,"previous_names":["gopiandcode/aoc-rhombus","kiranandcode/aoc-rhombus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kiranandcode/aoc-rhombus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiranandcode%2Faoc-rhombus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiranandcode%2Faoc-rhombus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiranandcode%2Faoc-rhombus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiranandcode%2Faoc-rhombus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiranandcode","download_url":"https://codeload.github.com/kiranandcode/aoc-rhombus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiranandcode%2Faoc-rhombus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28629915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"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-10T21:47:57.811Z","updated_at":"2026-01-21T07:25:55.044Z","avatar_url":"https://github.com/kiranandcode.png","language":"Racket","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AOC in Rhombus\n\nLet's take this thing for a ride. \n\n\nIt toook me friggen ages to even do day 1... The literal easiest....:\n\n```\ndef result_day2:\n  for values(sum=0) (str: lines):\n    def digits: String.numeric_digits(str)\n    def first_digit:\n       def values(i, digit): String.index_of_first_digit(str)\n       for values(min_digit=digit):\n           each Pair(st, digit): digits\n           break_when i \u003c st\n           final_when st \u003c i\n           values(digit)\n\n    def last_digit:\n       def values(i, digit): String.index_of_last_digit(str)\n       for values(max_digit=digit):\n           each Pair(st, digit): digits\n           skip_when st \u003c i\n           values(digit)\n\n    sum + String.to_number(first_digit +\u0026 last_digit)\n```\n\n\nWant to refactor and clean up the code...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiranandcode%2Faoc-rhombus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiranandcode%2Faoc-rhombus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiranandcode%2Faoc-rhombus/lists"}