cjhaa.blogg.se

Fake generator code
Fake generator code




I'll give it a - Great! I was worried I wouldn't get any entries! It might work better if I allow some vowels to start.

fake generator code

i had alot of laughts building my solution. Hmmm - none of the sample names start with a vowel? ) My name's not silly, dangit! Stop writing me into your code puzzles! It would be a waste of time for spammers to bother with generating random surnames. Spam filtering algorithms can't block e-mail from common surnames, or they'd be blocking most of their legitimate e-mail traffic. It's very easy for spammers to just use lists of actual names (such as the common surnames list in the references above). I thought about it, and I don't believe this will help spammers. I was working on a sample application and wanted to generate a few hundred names to demonstrate paging through data. The idea is that they shouldn't stand out on a page in the phonebook. (Yes, these look silly when listed together. Try to be elegant, but things like magic numbers and hardcoded strings are fine by me.However, to achieve glory in this contest you must: This is a fixed contest my solution will win first place. Your code doesn't need to worry about filtering obscenities (but please keep your obscene results to yourself).

fake generator code

  • Your code cannot reference any external resouces (no internet access, no file or data access, etc.).
  • Yeah, I know you can probably write this in 8 characters in PowerShell, Ruby, Python, and Boo. So do it!
  • Use whatever language you want please specify if it's not VB.NET or C# using.
  • My function takes no parameters and returns a string. My solution is 33 lines and 2,700 characters, including some comments. Feel free to write something target different ethnicities, but please let us know which you're targeting.
  • My solution creates surnames which would make sense in the US.
  • (My solution generated 1.7+ million distinct names in a simple test.)
  • Your solution should be capable of generating a large number of random names.
  • If you saw them on a business card, your reaction should at the most be an inward chuckle.
  • Names should be pronouncable and passable as real surnames.
  • fake generator code

    Post your solution in the comments along with 25 results.Task: Write a single function which generates fake but passable surnames. Betusen! It's time for another Code Puzzle! My solution will be posted on Friday, 1/12. Thymmet! Step forward and be counted, Ms.






    Fake generator code