News for hackers. Stuff that matters.
Re:Sex Machine: Get gender from first name in Ruby by ig1 on Tuesday April 16, 2013 @04:57PM (#5560852)
Without knowing what data it's been trained on it's of questionable use. What maybe a 18 year old american girls name may be a 60 year old german mans name.

The gender of a name can vary heavily by culture and time-period, it would make much more sense for the api to return the data in the form of ranked probabilities.

As an aside it's worth noting that as this library is GPL3 it means you can't use this code in any non-GPL product.

Re:Sex Machine: Get gender from first name in Ruby by mbell on Tuesday April 16, 2013 @05:40PM (#5561086)
> Without knowing what data it's been trained on it's of questionable use.

Literally the very first line of the README has a link to the source data. It contains name frequency data for a number of countries and the README clearly indicates you can provide a country of origin when doing lookups.

> As an aside it's worth noting that as this library is GPL3 it means you can't use this code in any non-GPL product.

The source data is GPL, there wasn't much option.

Re:Sex Machine: Get gender from first name in Ruby by tingletech on Tuesday April 16, 2013 @06:03PM (#5561242)
The data is GPL documentation license; why/how would that affect the code?
Re:Sex Machine: Get gender from first name in Ruby by ig1 on Tuesday April 16, 2013 @07:23PM (#5561586)
Can you get probabilities out ?
Re:Sex Machine: Get gender from first name in Ruby by andyroid on Tuesday April 16, 2013 @05:49PM (#5561138)
> As an aside it's worth noting that as this library is GPL3 it means you can't use this code in any non-GPL product.

Of course you can. Usage != distribution.

Re:Sex Machine: Get gender from first name in Ruby by ig1 on Tuesday April 16, 2013 @07:27PM (#5561601)
Agreed, but putting GPL code into your internal code is incredibly risky because of the vagaries of what counts as distribution under the GPL (for example if you distribute your code to a third-party security auditing company).
Re:Sex Machine: Get gender from first name in Ruby by api on Tuesday April 16, 2013 @05:01PM (#5560873)
Its probably useful for aggregate statistics. The Jordans and Teagans and Pats are outliers.
Re:Sex Machine: Get gender from first name in Ruby by MartinCron on Tuesday April 16, 2013 @05:20PM (#5560983)
As are the Leslies, Shannons, Ashleys, and Tracys.

That makes me think, if you had firstname + birthdate, you could probably be a tiny bit more accurate.

Re:Sex Machine: Get gender from first name in Ruby by nickzoic on Tuesday April 16, 2013 @07:15PM (#5561559)
first name, birthdate, country/region code to allow for regional variations.

Would make a nice exercise in fuzzy decision processes, but I suspect it isn't a great idea: you'd be better off leaving that field as "unknown" by default and writing "Dear Sir/Madam" if it is unknown.

Re:Sex Machine: Get gender from first name in Ruby by jghrng on Tuesday April 16, 2013 @05:45PM (#5561121)
> As an aside it's worth noting that as this library is GPL3 it means you can't use this code in any non-GPL product.

Well you can always simply ask the author -- if he has got the copyright, he can grant you permission.