Giter VIP home page Giter VIP logo

fantasyname's People

Contributors

1hyena avatar darvin avatar gravecat avatar kronuz avatar pe1uca avatar skeeto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fantasyname's Issues

Incorrect name generation (C++)

@Kronuz, I've noticed that the C++ version often misses groups entirely, and the generated name is wrong. For example:

$ ./namegen '(a)(a)' 10
> combinations = 1
a
a
a
a
a
a
a
a
a
a

As far as I can tell, it's the second "a" that's missed. And this only seems to happen for certain letters (in both positions), like "a", "h", "i", "j", "q", "u", "v", "x", and "y" (and maybe more).

This comes up alternations, too:

$ ./namegen '(a)(b|a)' 10
> combinations = 2
a
ab
a
ab
ab
a
ab
a
ab
ab

That one is unable to generate "aa". I poked around in GDB trying to figure this out (where, unfortunately, it failed to pretty print any of the C++ objects), but had no luck so far.

Interested in a better Perl version?

Hi! I read about this project from this blog post from 2009, when the generator was in Perl and it was... slooooowwwww.

I did an implementation of the parser and of the generator that is not based on Parse::RecDescent any more, and it's as fast as I could expect a reasonable implementation. The example <<<<<<<s>>>>>>> takes less than 30 ms in my Linux VM.

I'll be describing it shortly on my blog, I'll add a reference here as soon as it is online. If you are interested I can contribute the whole implementation here instead of creating a different project, so we can avoid too much dispersion.

Let me know!

Add support for explicitly male/female names?

Not sure if this is a generator architecture related issue but since D and d are marked as suitable for a stupid person's name I would expect there to be types of random replacements that indicate the gender of the name to be generated. What say you?

Bookmarked URL with template?

Sorry, new to GitHub, if this isn't the proper way to ask questions.

I'd love to create my naming template string and then bookmark the page so I could just visit it on my phone or tablet without having to go through the effort of typing it in each time or saving the string in a memo or email and pasting it in each time.

Is something like this possible with minimal effort? Or even already possible and I just totally missed it?

Thanks for building this utility!!

TMO

[C++, windows] RNG does not function properly under MinGW

hello from community IVAN development : )
Wonderful name generator!

We have found a problem with the random number generator under MinGW at Attnam/ivan#400
on linux is working great, but on windows is outputting the same name sequence,

It seems like it is a known limitation: https://stackoverflow.com/questions/18880654/why-do-i-get-the-same-sequence-for-every-run-with-stdrandom-device-with-mingw

Any idea how we might be able to implement an alternative random number generator for this compiler toolchain?

This might help: https://blogs.msdn.microsoft.com/michael_howard/2005/01/14/cryptographically-secure-random-number-on-windows-without-using-cryptoapi/

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.