• Welcome to the new COTI server. We've moved the Citizens to a new server. Please let us know in the COTI Website issue forum if you find any problems.
  • We, the systems administration staff, apologize for this unexpected outage of the boards. We have resolved the root cause of the problem and there should be no further disruptions.

What's in a name(s.db)?

Leitz

SOC-14 1K
Admin Award
Baron
Added Ruby to the sample code that pulls from names.db. The original just had PHP. Working on Go and Python snippets. If anyone wants to add Javascript, Java, or something else please let me know. We can also add names to the database since the SQL is included.

So far the Vargr Name Generator (vng) is only in Go. I need to pull out the component list and make it language agnostic.
 
Added Python and Perl versions. Code is provided for general use, feel free to copy and plug into your own code. Improvements welcome!
 
Added Rust. If you've never done Rust, use "cargo new names" to create the project, add the two dependencies to Cargo.toml, and then copy in the getNames.rs to src/main.rs.

Also cleaned up the Python a little.
 
Back
Top