News for hackers. Stuff that matters.
Re:We have an employee whose last name is Null (2010) by jzwinck on Friday November 15, 2013 @06:35AM (#6738876)
We had a system to censor users' IMs. Customers could configure a forbidden word list, or use a default one that had some seemingly obvious swear words. That was fine, until you realize that a global customer base has at least one person with almost any imaginable word in their names.

The North Koreans even made a phallic missile called No-dong. There is just no way to apply English assumptions about what words are across names. Oh, and the South Koreans have a town called Nodong-dong (http://www.agoda.com/city/nodong-dong-kr.html).

Re:We have an employee whose last name is Null (2010) by runarb on Friday November 15, 2013 @07:18AM (#6739002)
Internasional names are hard: http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-b...

https://en.wikipedia.org/wiki/Mononymous_person

In Norway we have a man named "Jo Å" that lives in a city named Å. I often uses that combinations for testing it-systems and gets a lot of odd results.

Re:We have an employee whose last name is Null (2010) by Angostura on Friday November 15, 2013 @07:59AM (#6739116)
Know as the Scunthorpe problem. http://en.wikipedia.org/wiki/Scunthorpe_problem
Re:We have an employee whose last name is Null (2010) by runarb on Friday November 15, 2013 @08:24AM (#6739237)
Cool link. There are some real gems there. Especially translating dirty words to "clean" ones seams especially dangerous.

Apparently if the sprinter Tyson Gay had been assassinated in 2008 the American Family Association filtered would have translated it to "Tyson Homosexual has been buttbuttinated" (replacing gay->homosexual and ass->butt).

Re:We have an employee whose last name is Null (2010) by CurtMonash on Friday November 15, 2013 @08:55AM (#6739385)
A story from my wife's first marriage, specifically from when she went back with her Harvard PhD husband to his homeland of Turkey:

Harvard diplomas are of course signed by the university president, who for many years was Derek Curtis Bok. "Bok", in Turkish, means "shit". Turkish bureaucracy evidently requires (or used to require) showing your diploma more often than one might think.

Hilarity ensued.

Re:We have an employee whose last name is Null (2010) by huskyr on Friday November 15, 2013 @06:57AM (#6738951)
The dong is also the currency unit of Vietnam, a minority group in China and lots other things:

https://en.wikipedia.org/wiki/Dong

Re:We have an employee whose last name is Null (2010) by kalleboo on Friday November 15, 2013 @08:15AM (#6739181)
In Swedish, the word for the number 6 is the same as the word for sex.
Re:We have an employee whose last name is Null (2010) by matt__rose on Saturday November 16, 2013 @09:17PM (#6747233)
A friend had a ball cap from pittsburgh university that said "Pitt" This was very funny to my swedish friends
Re:We have an employee whose last name is Null (2010) by bunderbunder on Friday November 15, 2013 @01:36PM (#6741224)
The same is true of a word for the number 6 in English.
Re:We have an employee whose last name is Null (2010) by lignuist on Friday November 15, 2013 @08:53AM (#6739372)
Porn is a common name in Thailand.
Re:We have an employee whose last name is Null (2010) by runarb on Friday November 15, 2013 @07:05AM (#6738968)
Old, but good. Previous HN discussion: https://news.ycombinator.com/item?id=6140631
Re:We have an employee whose last name is Null (2010) by iMark on Friday November 15, 2013 @06:49AM (#6738924)
It didn't affect any code, but once I upon a time I worked with a programmer called Rem.

On his last day at the company I wore a t-shirt which said "No comment"

Re:We have an employee whose last name is Null (2010) by Daviey on Friday November 15, 2013 @06:57AM (#6738949)
Mandatory somewhat related XKCD: http://xkcd.com/327/
Re:We have an employee whose last name is Null (2010) by andrewaylett on Friday November 15, 2013 @06:42AM (#6738903)
The issue is that actual null values are stringified as "Null". It doesn't take much for someone to decide to just convert all string instances of "Null" back to the null value, despite that leading to issues.
Re:We have an employee whose last name is Null (2010) by wpietri on Friday November 15, 2013 @12:54PM (#6740880)
Caterina Fake, founder of Flickr, tells a story about one particular airline she just can't fly on. The system lets her buy tickets just fine, but when she shows up to fly, they've never heard of her.

I guess that's one way to solve the test data vs real data problem.

Re:We have an employee whose last name is Null (2010) by baldfat on Friday November 15, 2013 @07:20AM (#6739011)
I "almost", AKA thought of it but didn't tell my wife, made my son's middle name Null. It even entered my mind when I was handed the Birth Information card. I knew it was funny but not worth the eventual price I would pay when I got caught.
Re:We have an employee whose last name is Null (2010) by Pxtl on Friday November 15, 2013 @10:39AM (#6739991)
We have static typing and dynamic typing and duck typing... is there a name for this crap where stuff gets converted willy-nilly without your say-so? Drunk typing?
Re:We have an employee whose last name is Null (2010) by gamegoblin on Friday November 15, 2013 @10:46AM (#6740038)
Isn't that just the definition of "weak typing"? When you can do stuff like object + string + number and get an answer.
Re:We have an employee whose last name is Null (2010) by tel on Friday November 15, 2013 @12:38PM (#6740782)
PHP typing
Re:We have an employee whose last name is Null (2010) by gamegoblin on Friday November 15, 2013 @01:30PM (#6741174)
JavaScript and Perl, too.
Re:We have an employee whose last name is Null (2010) by GhotiFish on Saturday November 16, 2013 @02:04AM (#6744011)
it's likely the manifistation of the anti pattern "stringly typed".

http://c2.com/cgi/wiki?StringlyTyped

Re:We have an employee whose last name is Null (2010) by deathanatos on Friday November 15, 2013 @11:41AM (#6740369)
Does SOAP (or WSDL?) or whatever he is using not store type information with the value? Take JSON, which has null (the actual value) and "Null" (a string) - it isn't ambiguous which you mean.

I feel like if my serialization format couldn't differentiate between those, that'd be a deal-breaker.

Re:We have an employee whose last name is Null (2010) by jonny_eh on Friday November 15, 2013 @01:49PM (#6741323)
Sounds about right to me. That's why I use JSON, it's much more sensible than SOAP.
Re:We have an employee whose last name is Null (2010) by ctz on Friday November 15, 2013 @07:14AM (#6738992)
We had a similar problem with an old internal IRC bot written in TCL. Someone joined the company with the initials 'nan' (which was never equal to 'nan' because NaN != NaN). The bot never worked for them.
Re:We have an employee whose last name is Null (2010) by gnu8 on Friday November 15, 2013 @09:19AM (#6739514)
You're calling that a company now? Where the fuck are my options?
Re:We have an employee whose last name is Null (2010) by myronbolitar on Friday November 15, 2013 @09:12AM (#6739471)
I graduated high school with a kid whose last name was Null. It would occasionally cause issues with the school's computers. He learned to use it to his advantage.
Re:We have an employee whose last name is Null (2010) by lostlogin on Friday November 15, 2013 @02:03PM (#6741400)
Could you give an example please? I love this stuff.
Re:We have an employee whose last name is Null (2010) by flexy_man on Friday November 15, 2013 @08:23AM (#6739230)
I remember this post, with a similar title being posted on HN in the beginning of August and got about 550 points in 20 hours. :)
Re:We have an employee whose last name is Null (2010) by fn on Friday November 15, 2013 @08:20AM (#6739204)
Is he a dev?
Re:We have an employee whose last name is Null (2010) by jsoo4 on Friday November 15, 2013 @12:03PM (#6740532)
Dev is a real first name. BRB, changing name to Dev Null.
Re:We have an employee whose last name is Null (2010) by fn on Friday November 15, 2013 @12:43PM (#6740815)
I'm beyond surprised it took this long for someone to get it... ;-)
Re:We have an employee whose last name is Null (2010) by gchokov on Friday November 15, 2013 @06:13AM (#6738806)
Old, but golden.
Re:We have an employee whose last name is Null (2010) by antonwinter on Friday November 15, 2013 @06:26PM (#6742797)
we had a job applicant who's project was called drop table;
Re:We have an employee whose last name is Null (2010) by mseepgood on Friday November 15, 2013 @06:12AM (#6738805)
old
Re:We have an employee whose last name is Null (2010) by tempodox on Friday November 15, 2013 @07:52AM (#6739095)
Har, har, har.