{"id":17321378,"url":"https://github.com/tompave/simpledb_exercise","last_synced_at":"2025-03-27T03:16:47.274Z","repository":{"id":149490032,"uuid":"326205764","full_name":"tompave/simpledb_exercise","owner":"tompave","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-02T19:43:17.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T08:41:40.517Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/tompave.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-01-02T14:58:33.000Z","updated_at":"2021-01-02T19:43:19.000Z","dependencies_parsed_at":"2023-05-01T05:18:48.616Z","dependency_job_id":null,"html_url":"https://github.com/tompave/simpledb_exercise","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tompave%2Fsimpledb_exercise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tompave%2Fsimpledb_exercise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tompave%2Fsimpledb_exercise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tompave%2Fsimpledb_exercise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tompave","download_url":"https://codeload.github.com/tompave/simpledb_exercise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245773173,"owners_count":20669719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-15T13:36:58.980Z","updated_at":"2025-03-27T03:16:47.254Z","avatar_url":"https://github.com/tompave.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleDB coding interview\n\nA simple language-agnostic coding interview exercise.\n\n## Instructions\n\nThis repository contains a `test/` directory. The goal is to implement a program that makes the tests pass.\n\nThe exercise is designed to not assume anything about the implementation. The test suite is driven by black-box tests that exercise input and output, written in [Bash](https://en.wikipedia.org/wiki/Bash_(Unix_shell)) and without external dependencies. The program can be implemented in any language, as long as it exists as an executable command that can be executed in a unix shell.\n\n## Your Program\n\nThe only requirement for your program is to make the tests pass.\n\nWe can infer that your program should receive a string as input (a shell argument) when it's invoked, and that it should emit some other string as standard output.\n\nYour program is expected to behave as an in-memory database that supports a simple SQL-like syntax. It doesn't need to persist its data, and all state can be lost on termination.\n\n## Setup\n\nPlease clone this repository and work in your language of choice.\n\nThere is no need to modify any of the existing files.\n\nFirst, verify that your local setup is correct by running, in the top-level direcotry of the repo:\n\n```shell\ntest/hello_world.bash\n```\n\nThat should produce an error. Run the following to make it green and verify that the provided example command can run.\n\n```shell\nPROGRAM=./example.bash test/hello_world.bash\n```\n\nDone that, implement your solution and run the tests to verify your progress:\n\n```shell\nexport PROGRAM=./bin/yourprogram\ntest/black_box.bash\n```\n\n## Example PROGRAM config\n\n### Executable Files\n\nIf you code can compile or otherwise produce an executable file:\n\n```shell\nexport PROGRAM=./bin/yourprogram\n```\n\n### Interpreters\n\nIf you're using an interpreted language, e.g. Ruby or Python, you could do this:\n\n```shell\nexport PROGRAM='ruby yourprogram.rb'\n```\n\nOr add a [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)) and make the source script executable:\n\n```shell\nchmod 755 yourprogram.rb\nexport PROGRAM=./yourprogram.rb\n```\n\n### Java\n\nThis works:\n\n```shell\nexport PROGRAM='java yourprogram.java'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftompave%2Fsimpledb_exercise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftompave%2Fsimpledb_exercise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftompave%2Fsimpledb_exercise/lists"}