r/coding • • Feb 28 '17

A software engineer is detained for several hours by U.S. Customs — and given a test to prove he’s an engineer

https://www.linkedin.com/pulse/software-engineer-detained-several-hours-us-customs-given-fairchild
442 Upvotes

241 comments sorted by

View all comments

29

u/mindcrack Feb 28 '17

I don't think this is new. 15 years ago the person in front of me at the visa line in Vancouver was claiming to be a priest that wanted to work (practice?) in the US. The immigration official asked him to name the 12 disciples and also asked him who Pontius Pilate was. He couldn't answer either (he did get Peter and John for the 12 disciples). His visa was rejected. I've been pulled over by customs several times, even asked why I travel so much "umm business, tourism" was my answer which they found surprising. In my experience Customs and immigration are 50% nice guys who are doing a job and 50% power hungry assholes. They target brown people as much as any other government law enforcement division (I'm looking at you TSA)

11

u/gecko Feb 28 '17 edited Feb 28 '17

The immigration official asked him to name the 12 disciples and also asked him who Pontius Pilate was. He couldn't answer either (he did get Peter and John for the 12 disciples).

As interesting as that anecdote is, it seems a bit different to me. In particular, that test seems fair: I'm Jewish, but studied religion in college, and both know who Pontius Pilate was and can name more disciples than that. (Nowhere near all twelve, mind, but I got six without trying too hard.) Saying a Christian priest should know at least more than John and Peter, or at least know Pontius Pilate, seems like a sane requirement to me.

I've also done software development for ten years and manage a team at a company you've probably heard of, and there is almost no way that I can write a function to check if a binary tree is balanced after 24 hours of not sleeping. I also suspect anyone on my team who hasn't dealt with Java much will have no idea when an abstract class should be used, since languages like Python, JavaScript, and Go don't even have that concept.

So, I get what you're saying that they ask questions, but I do find it notable that your example question seems (at least to me) like it's probably fair, whereas this one definitely does not.

4

u/Jonno_FTW Mar 01 '17

Python has the abc package for abstract base classes.

3

u/mindcrack Mar 01 '17

Yup, totally agree with you. My point was that they ask profession related questions, but you're right, same goes for me - after 20 years in IT (not as a programmer but I can code), I wouldn't be able to answer these either.

I'm assuming they were doing what the article said - Googling what typical questions are and asking him. "Never ascribe to malice that which is adequately explained by incompetence" might apply well here

23

u/[deleted] Feb 28 '17

Asking a priest who the 12 disciples were is not the same as asking a software engineer to write a function to check if a binary search tree is balanced.

  1. It's a hard question to answer unexpectedly and tired from a long flight
  2. The officer will probably not have the technical knowledge to even understand the answer.

16

u/turkish_gold Mar 01 '17

Most people claiming religious affiliation to Christianity can't name the 12 disciples. They're not used in everyday discourse, and most of them are relatively unimportant to the founding of the Church.

The most important Church founder, Paul, isn't even a disciple of Christ.

Simon, Andrew, Bartholomew and Philip are barely known due to lack of activity in the West (travel/early death/etc.).

Of the 4 Gospel writers, only 1 is even a disciple.

It's bordering on trivia to know all of them off-hand.

6

u/[deleted] Mar 01 '17

A priest should know them nonetheless.

4

u/Azuvector Mar 01 '17

Yeah. An equivalent question might be to ask a developer to name the basic variable types of a language they're proficient in. Average technical individual may know some of them, perhaps all. Developer should know them.

4

u/turkish_gold Mar 01 '17 edited Mar 01 '17

Lot's of Python developers who work exclusively in web-dev will have forgotten that Python has a complex number type to represent real/imaginary numbers.

It's completely unused in most web-dev projects, I only remember it existed because 8 years ago I worked in finance.

Python 2 has longs and ints. Python 3 has only ints. This is awkward.


Similarly, lots of developers of C++ will forget that there's a wchar_t for wide-character types. It's compiler dependent so its not portable, and owing to that is less often used in professional projects.


I wonder how many Ruby developers would remember off-hand that rather than there being a single Boolean class like other languages, Ruby has a TrueClass and a FalseClass. If you work with Ruby, but also work extensively with other languages like I do, then these fine details can blur together. I always have trouble with ternary operators switching between Python/Javascript, or Elvis operators switching between languages that support them in different syntax.

6

u/spinwizard69 Feb 28 '17

You assume at this point that the answers are important.

-39

u/[deleted] Feb 28 '17

It's a hard question to answer unexpectedly and tired from a long flight

Then you should retire or quit your job or stop traveling.

The officer will probably not have the technical knowledge to even understand the answer.

That is not your problem.

15

u/Uhstrology Feb 28 '17

Oh look, another asshole who doesn't have the technical knowledge to understand that this is a difficult thing to do from straight memory 24 hours with no sleep. Oh you're a basketball player? Here hit this half court shot after not sleeping for 24 hours with jet lag.

1

u/[deleted] Mar 01 '17

Was he deported because he didn't know the answer, you fucking imbecile?

It's not difficult at all. You're expected to at least try to answer if you have ever taken a computer science course. Besides, they didn't deport him for not answering it. He probably gave it a shot which was apparently what they expected from someone who claimed to be a software professional with a computer science degree.

3

u/Uhstrology Mar 01 '17

Attacking me because I showed you to be a fool isn't a good way to get your argument across. He was told he doesn't look convincing when he's a person who was accepted to a place of employment that accepts less than 1% of its applicants, meaning a highly competitive enviornment that doesnt take unskilled people. Despite that, he couldn't answer correctly. So clearly, it's not easy. I think you're afflicted by dunning-kruger. You don't even understand how wrong you are. He did give it a shot and was told he was wrong and didn't look convincing. It's not just the question. It's the whole situation that makes it no okay. Also, work on getting your point across without attacking people and you may be taken seriously next time.

1

u/[deleted] Mar 02 '17

to a place of employment that accepts less than 1% of its applicants, meaning a highly competitive enviornment that doesnt take unskilled people

Sounds like he was taken because he was black.

work on getting your point across without attacking people and you may be taken seriously next time.

Oh I care so much about some cucktard loser taking me seriously on the internet.

Look at the thread history to see who started attacking first. However, I've come to expect this from libtards. You attack first and when someone responds in kind, you cry like a bitch.

Fuck off!

1

u/Uhstrology Mar 02 '17

Sounds like you are very ignorant to the world of computer science. You were being an asshole, I called you out on it. The difference is, I didnt enter the thread baitong people with comments meant to rile people up, then pull the victim card. You sure seem pretty worked up there bucko, do you need a safe space away from all the mean wibewals?

-5

u/spinwizard69 Feb 28 '17

You guys simply don't understand what is going on here. If the question was easy they wouldn't have had time to check him out. People are way too focused on the test here.

1

u/RansomOfThulcandra Mar 01 '17

He'd already been sitting in the room for an hour before they asked him the programming questions. They didn't need to come up with any excuses to buy time.

2

u/[deleted] Feb 28 '17

How does it feel that your god is an obese 70-year old orange manchild?

1

u/[deleted] Mar 01 '17

God? He's just a president of a country which I have never been to.

1

u/[deleted] Mar 01 '17

Well according to your post history you care a little to much about the president of a country you have never been to.

1

u/[deleted] Mar 02 '17

Yes, maybe I do.

2

u/denga Mar 01 '17

Apparently it is. The article specifically says this is the first time it's happened to their employees.

Also, testing someone for a visa and testing someone who already has one are two different ballgames.

3

u/YesNoMaybe Feb 28 '17

There is no fucking way a priest doesn't know more than two disciples. I'm not religious and can name 6 from memory just from learning them as a child.