Slashdot Mirror


Canada's 'Random' Immigration Lottery Uses Microsoft Excel, Which Isn't Actually Random (gizmodo.com)

An anonymous reader writes: Last year, Canada introduced a new lottery system used to extend permanent-resident status to the parents and grandparents of Canadian citizens. The process was designed to randomly select applicants in order to make the process fairer than the old first-come, first-served system. There's just one problem: the software used to run the lottery isn't actually random. The Globe and Mail reported the Immigration, Refugees and Citizenship Canada (IRCC) uses Microsoft Excel to run the immigration lottery to select 10,000 people for permanent resident status from a field of about 100,000 applications received each year. Experts warned that the random number generating function in Excel isn't actually random and may put some applicants at a disadvantage.

First, it's best to understand just how the lottery system works. An Access to Information request filed by The Globe and Mail shows that IRCC inputs the application number for every person entering the lottery into Excel, then assigns them a random number to each using a variation of the program's RAND command. They then sort the list from smallest to largest based on the random number assigned and take the first 10,000 applications with the lowest numbers. The system puts a lot of faith in Excel's random function, which it might not deserve. According to Universite de Montreal computer science professor Pierre L'Ecuyer, Excel is "very bad" at generating random numbers because it relies on an old generator that is out of date. He also warned that Excel doesn't pass statistical tests and is less random than it appears, which means some people in the lottery may actually have a lower chance of being selected than others.

224 comments

  1. So... by Train0987 · · Score: 2, Insightful

    Why not just accept all the immigrants who show up? That's what they tell the US to do, right?

    1. Re:So... by Anonymous Coward · · Score: 0

      Works for me, they can keep them. We've got enough here.. Time to go to Canada.

    2. Re:So... by Anonymous Coward · · Score: 2, Insightful

      Who is the "they" you speak of? I can think offhand of anybody who says "accept all the immigrants who show up."

      This is technically the libertarian position, true (libertarians consider borders to be government red tape restricting people's natural freedom to go wherever they want), but most libertarians are smart enough to mostly work on less hot-button issues, like freedom of guns and drugs, instead of freedom of borders.)

    3. Re:So... by Anonymous Coward · · Score: 0, Informative

      This.
      Canadians (and everyone) always complaining about how America doesn't just accept all the mexicans.
      Meanwhile, they are even more strict.
      That said people all over the world are hypocrites about this.
      The same people keeping mexicans out of the US and chinese out of canada complain when Italy tries to keep the africans out.
      Even dumber, some other EU countries complain that Italy should accept them, but wouldn't dream of taking them themselves.

    4. Re:So... by Nos. · · Score: 2

      While I'm sure there are some Canadians that think the US should accept all immigrants, it would be similar to the number of US citizens that think the US should accept all immigrants as well. Canada, or as a rule "Canadians" don't think any country should have a fully open immigration policy.

    5. Re:So... by Archangel+Michael · · Score: 3, Interesting

      There is explicit, and there is implicit. There is a whole slew of people who think that if you can sneak across the border, that you are entitled to live in America unmolested for any reason because "oppression". I would consider this implicit "accept all immigrants who show up" stance. It is largely why Donald Trump wants a wall built, and none of these other people want a wall. Again, building the case for implicit "accept all". And then there is the Sanctuary Cities. And and and ...

      On the Explicit category, there is me. I explicitly state that ANYONE that shows up at the border, and checks in (documented) should be allowed in*. Yes, I am a libertarian. I also want to remove the stupid policies and fake fighting over the (D) party who loves illegal aliens, and the (R) party who loves cheap labor and remove those policies from existence.

      I realize that I am in the minority for stated opinions, but the reality is, there are enough people who already "want" it in some way or fashion, I'm just honest about it.

      *Other conditions apply, but for simplicity sake, this is the basis for my policy.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    6. Re:So... by Geoffrey.landis · · Score: 3, Informative

      Who is the "they" you speak of? I can think offhand of anybody who says "accept all the immigrants who show up."

      That's effectively the position of Democrats.

      Is it? Can you quote a single Democrat saying this? Ever?

      No, I didn't think so.

      This is technically the libertarian position

      Libertarianism also favors small government, freedom of association and private property rights, all of which are severely limited; those are necessary prerequisites for libertarian style open borders.

      Yep. Libertarians are pretty good at avoiding mentioning their position on the hot-button issue of immigration. Guns and drugs, that's what they want to talk about.

      --
      http://www.geoffreylandis.com
    7. Re:So... by Anonymous Coward · · Score: 0

      Libertarianism/Rand-ism is a failed concept. No country practices it except hacks in the US (it failed in Russia, where it originated), and usually when it is mentioned, the person talking about it has never ever taken a macroeconomics, microeconomics, or even a government course, and knows why the ideas are flawed.

      It is great though, if you are a CEO, since you can play robber baron and hope you get out before the country tanks.

    8. Re:So... by Anonymous Coward · · Score: 0

      You are new here. Libertarians expect borders to be completely open. There's a fucking article on Reason right now that says get rid of ICE completely and have an open border that anyone can cross. That is the "they" we are speaking of.

      So yes. The current version of the Democratic Party and the libertarians DO endorse a completely open border policy. Note that the former Democratic Party advocated for border controls as they were once under the thumb of the labor unions, whereas the previous version of the Republican Party wanted more open borders. Now they don't. It's a confusing time in America. And why nobody trusts either major party, the minor asshole parties like the Libertarians or the Greens, and why Congress is a sewer that smells only slightly better than Trump's asshole white house toilet. And that is a garden compared to progressive left wing fucktards who infest the internet.

    9. Re:So... by Anonymous Coward · · Score: 0

      Bobby and Train love the taste of human shit, there's no argument here on the merits. INCEL GOP trollbots literally get paid in Rubles to chew human shit and regurgitate it on slashdot. This is their entire career, believe it or not.

    10. Re:So... by Anonymous Coward · · Score: 2, Insightful
      These days the main libertarian issue is to get rid of Obamacare and let people simply die when they get sick.

      "Think of it as evolution in action," that's their catch-phrase.

      --say, we may need those immigrants after all!

    11. Re:So... by alvinrod · · Score: 5, Informative

      I think you're confusing libertarians with anarchists. Libertarians believe in strong property rights, which naturally implies borders and a need for some entity to enforce them. Some would argue that doesn't necessarily need to be a government, but historically that has been a major role of governments.

      Most libertarians probably wouldn't care about immigration if the U.S. had no welfare state as was historically the case throughout most of the country's history. Once you got off the boat you were on your own, but plenty of people were perfectly happy with that arrangement. This generally worked quite well with the homestead system since anyone who wanted to move west could do so and a large number of immigrants did. You had the freedom to make something of yourself and if you couldn't that was your own problem.

      However, the reality in modern America is that the government is expected to care for anyone who shows up and pay for their children's education and healthcare. That necessarily means taxation, which libertarians are generally loath to agree to outside of the limited government functions that they're in favor of, so they'll tend to be less in favor of immigration with those kinds of strings attached to it. If everyone immigrating from Mexico were a doctor, engineer, or otherwise highly skilled such that they'd pay more into the system than they get out of it, I suspect there'd be no disagreement with letting in as many people who fall into that category either.

    12. Re:So... by Midnight+Thunder · · Score: 3, Insightful

      These days the main libertarian issue is to get rid of Obamacare and let people simply die when they get sick.

      "Think of it as evolution in action," that's their catch-phrase.

      --say, we may need those immigrants after all!

      It worse than that "I am okay, so nobody needs it", until things are not so rosey and then it is "what happened to the free market that was meant down health care prices?"

      --
      Jumpstart the tartan drive.
    13. Re:So... by Anonymous Coward · · Score: 1

      Nah, most libertarians want the wall built. Their theory is "I've got mine, you keep out."

      They love Trump, because their belief is that it's more important to poke a stick in the eye of liberals than it is to actually enact the policies they like to pretend that they want.

    14. Re:So... by XXongo · · Score: 1

      On the Explicit category, there is me. I explicitly state that ANYONE that shows up at the border, and checks in (documented) should be allowed in*.

      OK, I'm curious now. Why do you think documents are important? Why do you think a government should be given the power to issue or not issue documents to allow a person to cross borders?

    15. Re:So... by Anonymous Coward · · Score: 1

      No one other than random lunatics on the Internet has ever said "accept all the immigrants that show up". There are all kinds of nutjobs that hold all kinds of super-minority opinions.

      Pure libertarianism is just as flawed as pure communism. Just one example, everyone loves to hate on building codes right? You should be able to build your house the way you want to right? The problem is that when you're talking about log cabins from 1800, that works fine. But once you get into things like electrical wiring and indoor plumbing and modern HVAC systems, those require extremely specialized knowledge to do safely. The libertarian purists would tell you the market could sort it all out but the reality is that if there weren't gov't regulations making sure contrators don't fool/cheat the majority that don't understand what is safe and what isn't, you have houses flooding and burning down all the time.

      There is a saying "regulations are written in blood" and that's because many gov't regulations that may seem so odious on the surface exist because at some point in the past, people were dying for a lack of those regulations.

      Put another way, when the USA was founded, it was as closed to pure libertarian as any nation has ever been, especially on the frontiers. But look what happened, over time we evolved away from that. Why? Because it made life better for people. I'd bet you anything if we were able to press some magic button and make the USA all libertarian today, that within a generation or two at most we'd be right back where we started. The only difference would be how many people would suffer terribly during the reset period.

    16. Re: So... by Anonymous Coward · · Score: 1

      Who is the "they" you speak of? I can think offhand of anybody who says "accept all the immigrants who show up."

      Ask any prominent US Democrat politician at the federal level which immigrants we should refuse entry to -

      So, have you ever done that? I doubt it.

      A hypothetical "hey, I assert Democrats would say this because that's what I think they'd say, and I don't need to listen to what actual Democrats say because I can make up their answers for them" is not actually the same.

    17. Re:So... by 93+Escort+Wagon · · Score: 1

      Who is the "they" you speak of?

      Bernie Horowitz.

      --
      #DeleteChrome
    18. Re:So... by Oswald+McWeany · · Score: 3, Interesting

      Who is the "they" you speak of? I can think offhand of anybody who says "accept all the immigrants who show up."

      This is technically the libertarian position, true (libertarians consider borders to be government red tape restricting people's natural freedom to go wherever they want), but most libertarians are smart enough to mostly work on less hot-button issues, like freedom of guns and drugs, instead of freedom of borders.)

      I've also noticed that most libertarians aren't really libertarians. Most people I've met who self-describe as Libertarian tend to be Republicans who are pissed off at the Republican party and call themselves libertarian as a protest. When I ask them do you believe "x, y, and z" (insert libertarian positions) the answer is always, "well no... but I think we need less government". Libertarian is not republicanism minus racism and Libertarians are not just republicans that smoke pot. That's not what libertarian means.

      --
      "That's the way to do it" - Punch
    19. Re:So... by Anonymous Coward · · Score: 0

      >Who is the "they" you speak of? I can think offhand of anybody who says "accept all the immigrants who show up."
      Do you deny that there are people who want to abolish borders?

    20. Re: So... by Anonymous Coward · · Score: 0

      A society has the right to know who is coming in even if they have no intent to deny entry.

    21. Re:So... by Anonymous Coward · · Score: 0

      Libertarians have gotten a bad rap, partly because there are degrees. These days most people I know of who self identify as libertarians (including me) are social liberals, and financially conservative. Most of us (I think) believe that the solution to the border problem is not to have big walls, but most of us recognize that there is a real immigration problem. Ideally, it would be easy to come legally, and new immigrants would get the same job benefits and responsibilities (e.g. pay taxes, etc.) as everyone else. With the same minimum wages, etc. (I'll go one further -- employment eligibility verification should be mandatory, and employing someone under the table should be punishable with prison terms for anyone knowingly involved in hiring of undocumented workers.) If the jobs dry up, so will most of the illegal immigration. (And they will dry up; if I can hire an educated English speaker at the same rate that I would pay for an immigrant from Ecuador who can't speak English and may be illiterate in his own language, well, guess which one I'll hire.)

      Given that (mandatory e-Verify with stiff penalties for employers who violate), then border enforcement is reduced to keeping known terrorists and contraband from entering the country. This becomes a vastly easier problem to solve, and drones and jeeps can be used in lieu of a fence, at greatly reduced cost and controversy.

      Of course, maybe I'm not really a libertarian, but I sure as heck can't say I identify with the GOP, nor the dems.

    22. Re: So... by saloomy · · Score: 0

      Are you counting yourself too, or are you Native American?

    23. Re: So... by Anonymous Coward · · Score: 2, Insightful

      Are you counting yourself too, or are you Native American?

      "Native" Americans weren't native. They didn't pop up out of the ground in the Americas. They migrated here as well. Stop being a pedant.

    24. Re: So... by PopeRatzo · · Score: 1

      rather than stigmatize, members of MS-13 as they try and cross the border.

      Have you ever seen a member of MS-13 in real life? Do you have any idea, without googling it, how many members of MS-13 are in the United States? How sure are you that MS-13 isn't just another of the many mythical boogymen that authoritarians like Trump like to use to frighten people into acquiescing to authoritarianism?

      [ed.note: there are fewer than 10,000 members of MS-13 in the United States, if you're willing to accept that MS-13 exists]

      --
      You are welcome on my lawn.
    25. Re: So... by Anonymous Coward · · Score: 0

      Let's all go back to Africa then.

    26. Re:So... by Anonymous Coward · · Score: 0

      Hillary Clinton.

      "My dream is a hemispheric common market, with open trade and open borders, sometime in the future with energy that's as green and sustainable as we can get it, powering growth and opportunity for every person in the hemisphere," Clinton reportedly said to investors in a paid speech she gave to Brazilian Banco Itau in 2013.

      http://www.chicagotribune.com/news/columnists/kass/ct-hillary-clinton-open-borders-kass-1012-20161011-column.html
      http://www.businessinsider.com/hillary-clinton-open-trade-open-border-immigration-policy-for-migrants-2016-10

    27. Re:So... by Anonymous Coward · · Score: 1, Informative

      "My dream is a hemispheric common market, with open trade and open borders, some time in the future with energy that is as green and sustainable as we can get it, powering growth and opportunity for every person in the hemisphere."

      - Hillary Clinton

    28. Re: So... by Anonymous Coward · · Score: 0

      MS-13 are the people who are working on the next version of Windows?

    29. Re:So... by Tough+Love · · Score: 1

      Who is the "they" you speak of? I can think offhand of anybody who says "accept all the immigrants who show up."

      We know who "he" is (op). A trumpist, most likely a foreigner, possibly Russian. Hanging out on social media to seed discord by being an idiot. Typical trumpist. No real person would do it for free.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    30. Re: So... by Anonymous Coward · · Score: 0

      My family showed up in 1629 or 1630 or thereabouts which is well before the United States was an entity. I'd have to look for a specific date....Anyhow we're native to the United States although not native to the continent.

    31. Re:So... by Anonymous Coward · · Score: 0

      It's more like we slowed the firehose down to a trickle once non-whites became the largest group of immigrants.
      Go back to Ellis Island style or admit we're assholes.

    32. Re: So... by Anonymous Coward · · Score: 0

      Very recently too in terms of history.

    33. Re: So... by Anonymous Coward · · Score: 0

      Spoken like an angry person who likes to generalize

    34. Re: So... by Anonymous Coward · · Score: 0

      I live in Virginia. Near my residence MS-13 members cut off a guys dick and duct taped it inside of his mouth before killing him. They left his body in the street.

    35. Re: So... by Anonymous Coward · · Score: 0

      Actions speak louder than words. They oppose all attempts to secure the border, enforce immigration law, or deport those here illegally.

    36. Re:So... by markdavis · · Score: 2

      >"That's not what libertarian means."

      Nothing is really an absolute position, regardless of party. But, in a nut-shell, Libertarians believe in less government. That equates to things like:

      1) Fewer regulations
      2) Fewer laws
      3) Less taxes
      4) Less government spending
      5) More personal freedom
      6) More personal responsibility
      7) More local control (less Federal)

      Notice I didn't say "no" or "none" or "all" in the above. Just guiding principles. For some reason, on Slashdot, for many people, the word "Libertarian" immediately equates with extreme positions or just total anarchy, which is not only unfair, but actually pretty ridiculous. Libertarian is what used to be called "classic liberalism" which is pretty much on what the United States was founded. And it is what the Constitution supports and claims.

      Ironically, I often hear people arguing positions that sound pretty much spot-on as Libertarian but from people claiming to be either Republican or Democrat.... but perhaps that is just due to our horrible two-party-only system that has formed from an even more horrible voting system (which REALLY needs to change if we want ANY real progress in this country... regardless of what party you think you are or what positions you hold dear).

      http://fairvote.org/

    37. Re: So... by Anonymous Coward · · Score: 0

      Those trusty old algorithms. May not be random, but at least it's unbiased.

    38. Re: So... by Anonymous Coward · · Score: 1

      I was born here, so yes, I am "native American" just like the other 300 million or so US citizens.

      Ohh, you mean my ancestors several generations ago? Well if you want to play that game, the so-called "Native American" peoples that you refer to walked across a land bridge from Siberia far enough back, so I guess they emigrated to this fine continent too.

      What the fuck was your point again? Who gives a shit when someone's ancestors came here? What is the arbitrary cut-off day for being "native" or not, sometime in 1492 when a contract explorer from Spain landed and started handing out diseased blankets?

    39. Re: So... by Anonymous Coward · · Score: 0

      The document check lets you keep out people who don't look like or wear the same magic sky faerie style hat as you do.

    40. Re: So... by LordWabbit2 · · Score: 4, Funny

      Fuck off, we have enough assholes here, we don't need more Americans.

      --
      There are three kinds of falsehood: the first is a 'fib,' the second is a downright lie, and the third is statistics.
    41. Re: So... by Darinbob · · Score: 0

      They certainly got here when no one else was here so there was no one around to ask permission to immigrate. Unlike the Europeans who showed up with smallbox and guns.

    42. Re: So... by Darinbob · · Score: 1

      Certainly many Mexicans were well established here in California long before the gringos showed up.

    43. Re:So... by Darinbob · · Score: 1

      That's either dumb of your or is overly partisan. The Obama administration deported more people than the Dubya administration. Stop getting your news from Infowars.

    44. Re: So... by Anonymous Coward · · Score: 0

      Really?

      You realise passports are only a recent phenomenon. They are only around 100 years old.

      If you just run the thought experiment through, abolish all documentation, does it really matter who goes where?

    45. Re: So... by Anonymous Coward · · Score: 0

      Really?

      You realise passports are only a recent phenomenon. They are only around 100 years old.

      If you just run the thought experiment through, abolish all documentation, does it really matter who goes where?

      No, I don't realize that. Passports have been around as long as kingdoms and countries.

    46. Re: So... by Anonymous Coward · · Score: 0

      Just in time for the witch hunts.

    47. Re: So... by Anonymous Coward · · Score: 0

      If one billion people show up, are you going to let some of them sleep in your living room? Or are you just in favor of immigration as long as it doesn't impact you?

    48. Re: So... by Anonymous Coward · · Score: 0

      Trudeau did invite everyone on twitter

    49. Re: So... by Anonymous Coward · · Score: 0

      Yes, but it would be disingenuous to compare medieval "passports" to the modern ones.

      Source

      "The general reaction was the relaxation of passport requirements.[10] In the later part of the nineteenth century and up to World War I, passports were not required, on the whole, for travel within Europe, and crossing a border was a relatively straightforward procedure. Consequently, comparatively few people held passports."

      Interesting stuff, and makes the current state of play seem relatively arbitrary.

    50. Re: So... by Anonymous Coward · · Score: 0

      Some of our communities are greatly affected by MS13. I doubt that you will be able to convince people in Long Island that recent murders in our public spaces are just an imaginary boogieman.

    51. Re: So... by PopeRatzo · · Score: 1

      Some of our communities are greatly affected by MS13. I doubt that you will be able to convince people in Long Island

      The Long Island ones went to jail. There are a lot more Klansmen and neo-Nazis then MS-13 members, and they've caused a lot more violence.

      Crime is crime. There was crime in Long Island long ago. I seem to recall some goombahs named "Gambino" that caused a lot of trouble.

      --
      You are welcome on my lawn.
    52. Re:So... by religionofpeas · · Score: 1

      Words like "fewer", "less" and "more" are useless, because it's not clear how much, and compared to what baseline. Those words give you a nice fuzzy feeling without actually committing to a debatable position.

      For example: "Less government spending". How much less, and where exactly will the money come from ?

    53. Re: So... by Anonymous Coward · · Score: 0

      I agree the guy in my area had it coming and it is regular crime. It was a criminal killing another criminal. I just wouldn't call them imaginary when the road was closed and I had to find an alternate route around a guy who was forced to eat his penis.

    54. Re:So... by markdavis · · Score: 1

      >"Words like "fewer", "less" and "more" are useless, because it's not clear how much, and compared to what baseline."

      They are not useless. We are discussing 3 parties, so it can easily mean less or more than the other two.

      >"For example: "Less government spending". How much less,

      Considerably less. Most I know wouldn't even blink at saying half. But there is no exact amount, and change takes time, anyway.

      >"and where exactly will the money come from ?"

      What money? The money we aren't spending? From taxes that aren't collected; the money the People keep and have control over and spend how they want. Libertarians generally detest taxing income and support taxing consumption.

    55. Re:So... by Oswald+McWeany · · Score: 1

      >"That's not what libertarian means."

      Nothing is really an absolute position, regardless of party. But, in a nut-shell, Libertarians believe in less government. That equates to things like:

      In my younger days I WAS a libertarian. Growing up I've abandoned that- I think it sounds better in theory then it is in practice, so yes, I know the basics of Libertarianism. (I still believe in completely free movement of goods AND people, for example - but I think it has to work in all directions to work; until other countries open their borders it won't work for us to do so alone).

      As a heads up, I now live in bible belt South Carolina so my experiences may not be the same as most places. Most people who self-identify here as libertarians are FAR from libertarian. Here most libertarians I meet are "pro closing the borders, pro making abortion illegal, pro various morality laws, pro Trump's tariffs, pro a large military etc. They essentially follow the Republican party line but for whatever reason don't like the Republican party. The ones around here are NOT libertarian; I always groan when I hear someone say they're libertarian around here. Usually most people in the South seem to think libertarian means "uber-conservative". Some around here are just Republicans that like drugs- or they're big into guns. Because they like drugs and guns they think they're libertarians. One tries to tell them that's not what it is all about... they don't listen.

      Most libertarians in the South are just uneducated and think they belong to a movement about which they don't know the core concepts.

      --
      "That's the way to do it" - Punch
    56. Re: So... by Anonymous Coward · · Score: 0

      I live in Virginia. Near my residence MS-13 members cut off a guys dick and duct taped it inside of his mouth before killing him. They left his body in the street.

      Source? The most recent one in VA was about the gang lured and killed a high school boy (Hispanic) because they believed he was a member of a rival gang. Nothing saying about what you said. Also, 10 members of the gang were arrested and convicted. If you want to spout something serious, show us the source first, or you are just a lier and hypocrite.

    57. Re: So... by Anonymous Coward · · Score: 0

      All 12 of them? Mexico didn't have much of a population in California and had to invite Americans to settle in the west. There was a good reason why Mexico lost the war and that's because the vast majority were Americans by the time the war started.

    58. Re: So... by Anonymous Coward · · Score: 0

      That's ridiculous. Libertarians want compassion in healthcare and less corruption. They don't want to force doctors to work for free because "mah healthcare is a human right".

    59. Re: So... by Anonymous Coward · · Score: 0

      Arenâ(TM)t you dead yet, old man?

    60. Re: So... by liquid_schwartz · · Score: 1, Flamebait

      Certainly many Mexicans were well established here in California long before the gringos showed up.

      You can tell who gets things done better when two countries are side by side yet have drastically different outcomes. For example Haiti and the Dominican Republic. Or the US and Mexico. Call us names all you want but there's no denying one society built much better things than the other.

      Mexico would have been better off if the US annexed the whole thing. We would have a smaller border to defend and the whole of Mexico would have been more developed and prosperous. People forget that if you too many immigrants too soon it pulls everything down. They can't assimilate fast enough. And that's in the best case scenario where we actually encourage assimilation. When assimilation got dropped immigration became a certain path for fragmenting society.

    61. Re:So... by terrycarlino · · Score: 2

      I'm pretty Conservative and I'll say it. The U.S. should accept any legal immigrant who can be shown to have no criminal background and are not terrorists. They should be required to show they can be employed and be barred from using entitlement programs for 5 years after which they should be eligible for citizenship, provided they can pass a citizenship test given in English. Following such a policy requires the country control it's borders.

    62. Re:So... by religionofpeas · · Score: 1

      What money? The money we aren't spending?

      The money from this pie chart shows where the governments spends the money:

      https://www.usgovernmentspendi...

      When you cut the government spending in half, which of the sections of the pie chart will be reduced/removed ?

    63. Re: So... by pnutjam · · Score: 1, Informative

      Must be nice to be ignorant of history.
      Mexico had alot of problems that were never replicated in the US. Spanish and English colonization was very different.

      Your remarks remind me of the times my Mother used to tell me that Israel turned desert into farmland. Remarkably ignorant of history.

    64. Re:So... by pnutjam · · Score: 1

      Sad trombone...
      try again..

    65. Re: So... by Cederic · · Score: 1

      You'd rather revert to serfdom and be unable to leave the land you were born on?

    66. Re: So... by Archangel+Michael · · Score: 1

      If One Billion people show up, we would survive. We would figure it out, and there would be a boon for Real Estate, and cheap labor. It would shake the status quo to its core, and perhaps break it in ways neither of us could fathom today.

      If One Billion people show up, other countries would suddenly struggle to have any economy. People, are both a drain on resources and the most valuable of all resources.

      If One Billion people show up, they all wouldn't show up at once. It would take a number of mechanisms for them to get here. It would be a huge stream of people, and we would add features to adjust priority in processing them at the border.

      We would survive. Your comfort level which is largely dependent of status quo might change substantially. However, there would be a huge number of opportunities for new and existing businesses that could tap into that change and earn a good living supporting it.

      The problem isn't the numbers, it is the status quo. The status quo will change.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    67. Re: So... by pnutjam · · Score: 1

      MS-13 is an American Gang, we exported it.

    68. Re:So... by pnutjam · · Score: 1

      Same story here in Indiana.

    69. Re: So... by Darinbob · · Score: 1

      Haiti was shunned by all its neighboring countries because they had a successful slave revolt against the French. Thomas Jefferson who was president at the time refused to recognize the new state. Economically it was mostly isolated which greatly hindered its development compared to the Dominican Republic.

      As for Mexico, it was conqured by Spain, a western European country. A Spaniard would likely be called a gringo by a mexican. Spain treated its colonies as resources to exploit. On the plus side, Spain got rid of slavery before Americans did, and part of the reason Texas revolted was in order to keep its slaves.

      I don't know how much better developed it would have become. The US was not very well developed until the 20th century. Much of Mexico is also desert which inhibits economic development. Historically for example, El Paso on the US side versus Juarez on the south were very similar economically and the population readily travelled across the border as if it were one large city, until the 1930s. The differences economically are not due to race or ethnicity.

    70. Re:So... by markdavis · · Score: 1

      When you cut the government spending in half, which of the sections of the pie chart will be reduced/removed ?

      I am not an expert in such things. And whatever changes would have to be gradual. Plus, that graph lumps things interestingly. Education should be 0%- that is State. Probably half of welfare. Half or more of "other spending". All of "interest" because we shouldn't spend more than we take in.... again, something that would be painful to correct (requiring maintaining taxes until it is paid). And probably at least 1/3 of Defense, Healthcare (80% of which is welfare/Medicaid). Way more than half of "Pensions" through self-correction by reduction of Federal workforce, over time, but the huge part is the nightmare of Social Security, which itself contains a large amount of welfare ("disability" being one of the absolute most abused expenditure in the whole program) and poor financial structure.

    71. Re: So... by liquid_schwartz · · Score: 3, Insightful

      Must be nice to be ignorant of history. Mexico had alot of problems that were never replicated in the US. Spanish and English colonization was very different. Your remarks remind me of the times my Mother used to tell me that Israel turned desert into farmland. Remarkably ignorant of history.

      Everyone has their cross to bear but at some point they have to move on. I'm aware of history but I neither use it as an excuse nor an accusation. All countries have behaved badly in some ways at some times, are we all victims or do we move on and try and make things better?

    72. Re: So... by Anonymous Coward · · Score: 0

      Not sure why you conflate the two like that.

      The optimal, which I am espousing, would be no passports and complete freedom of movement for everyone. Contrary to public opinion, moving countries is actually a pretty big deal and people won't automatically do it just because they can.

  2. Irrelevant by XXongo · · Score: 5, Insightful
    The story is about an issue that is completely irrelevant.

    It doesn't matter whether the "RND" function is ideally random in a mathematical sense. It only matters whether the "random" number generated is independent of the identities of the people applying to be admitted.

    1. Re:Irrelevant by geschbacher79 · · Score: 5, Insightful

      Exactly. And if the order in which the data is inserted into Excel is essentially random, that's good enough. There is no fair or unfair if the number of applicants exceeds the quota and there is no opportunity to game the system (such as naming yourself Aaron A Aaronson to appear first, or something)

    2. Re:Irrelevant by JourneymanMereel · · Score: 4, Insightful

      That's kind of my thoughts on it, too. And who is at a disadvantage in this scheme? Is it the person entered in row 13,428? Or anybody who was entered on July 16th? The chances of ending up at an advantage or a disadvantage are themselves probably pretty random.

      --
      Life has many choices. Eternity has two. What's yours?
    3. Re:Irrelevant by Anonymous Coward · · Score: 0

      You or I couldn't tell the difference anyways vs the more exacting randomness tools, so its just a nonsense article because someone wants to use it as moral outrage ammunition.

    4. Re:Irrelevant by Archangel+Michael · · Score: 1

      "independent of the identities"

      Why do I suspect that is the real problem here?

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    5. Re:Irrelevant by Anonymous Coward · · Score: 5, Funny

      such as naming yourself Aaron A Aaronson to appear first, or something

      [Tears up application]

    6. Re:Irrelevant by cwatts · · Score: 1

      Thank you! I was going to reply, but I'll mod y'all up instead... doh!

      cw

      --
      chris watts íë¦ìS ì(TM)ì
    7. Re:Irrelevant by Anonymous Coward · · Score: 0

      Wrong. Absolutely, Wrong.

      But a good try though.

    8. Re:Irrelevant by Solandri · · Score: 3, Insightful

      While that's true, if Excel's RNG results in a pattern (e.g. cell A2534 is always assigned a low number and thus selected), it could result in immigration employees who know of this gaming the system, to do an immigrant friend a favor or even auctioning the spot to the highest bidder.

      The bigger question to me is why are they using Excel for this? Spreadsheets are for calculating things. They are absolutely the wrong tool if you need the data you're working on to remain consistent or auditable. An immigration employee could take the spreadsheet after the random numbers were assigned, and copy-paste names or random numbers around to move people to/from the selected and denied categories, and there'd be no way to detect they'd done this.

    9. Re:Irrelevant by Midnight+Thunder · · Score: 1

      The story is about an issue that is completely irrelevant.

      It doesn't matter whether the "RND" function is ideally random in a mathematical sense. It only matters whether the "random" number generated is independent of the identities of the people applying to be admitted.

      Also, how random does something need to be before it is acceptable and for what application? For many applications being sufficiently random is enough. Simply showing that it is not a predetermined sequence that can't be easily gamed is usually acceptable.

      --
      Jumpstart the tartan drive.
    10. Re:Irrelevant by Anonymous Coward · · Score: 0


        It only matters whether the "random" number generated is independent of the identities of the people applying to be admitted.

      That's not _quite_ true. The random number generated has to be independent of any variable controlled by the applicant. For instance, order of the applicant. If the RNG is more likely to pick someone at the end, the middle, etc, you can easily manipulate the system by just applying at the right time, and get a higher preference.

    11. Re:Irrelevant by Anonymous Coward · · Score: 0

      Not only that, it makes it sound like it is a problem specific to Excel, when in reality it is a problem with any computer-generated "random" number.

    12. Re:Irrelevant by epine · · Score: 1

      While that's true, if Excel's RNG results in a pattern (e.g. cell A2534 is always assigned a low number and thus selected), it could result in immigration employees who know of this gaming the system, to do an immigrant friend a favor or even auctioning the spot to the highest bidder.

      In a perfect world, perhaps we'd worry about something like this.

      ... could result in immigration employees ...

      You can always count on the government to be too stupid for words, until there's profit involved.

      Immigration Canada: a real hotbed of mathematical sharps.

      Seriously, if they really were sharps, Excel would have been deported as undesirable long ago. (And don't come back until you clean up your act.)

    13. Re:Irrelevant by Obfuscant · · Score: 5, Insightful

      While that's true, if Excel's RNG results in a pattern (e.g. cell A2534 is always assigned a low number and thus selected),

      If you had bothered to read the finr article, you'd have learned that the tempest in the teapot is that Excel uses a pseudorandom generator. That's just like what a lot of systems use. It costs time and money to do real random generation, and it requires some hardware. PGP, IIRC, requires someone to type at the keyboard and it times the characters to generate a random number. There are radiative decay RNGs. There's even a lava lamp based RNG.

      But MOST of the "random" for most software is pseudo. And the algorithms are published.

      The fine article talks about how bad some RNG is because you could "reverse engineer" the algorithm. In 1980 I tested the RNG in DEC RSX-11, and I simply looked up the algorithm in the manual to see if the results from testing matched theory. In a manual. "This is how the RAND function works..." As I recall, it was based on doing a simple calculation on a double precision number and pulling the middle 32 bits out of the number as the random output. You could actually write the code to do this yourself.

      it could result in immigration employees who know of this gaming the system, to do an immigrant friend a favor or even auctioning the spot to the highest bidder.

      Oh for pete's sake. If an immigration employee has this much access to determining who wins and who loses, then even if the RNG is a true, completely unpredictable, physical random process based number, all he'd have to do is run the random generation process over again until his chosen winner "won".

      The bigger question to me is why are they using Excel for this? Spreadsheets are for calculating things.

      Yeah, calculating things. Like random numbers. They're using Excel because it works for this and didn't cost them $1 million to pay a consultant to write something in python to do the same thing.

      An immigration employee could take the spreadsheet after the random numbers were assigned, and copy-paste names or random numbers around to move people to/from the selected and denied categories,

      They could do this even if the RNG is truly random, so the RNG has nothing to do with the problem.

    14. Re:Irrelevant by hey! · · Score: 1

      "Unbiased" is what you're going for.

      Even so, this is the sort of detail that a system designer ought to get right, even if he thinks that there probably won't be troublesome consequences if he gets it a little bit wrong.

      When in doubt, a quality algorithm is always better than a bad one. This is the thing about security; when the bad guys figure out an angle to your sloppiness you've overlooked, you lose.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    15. Re:Irrelevant by Anonymous Coward · · Score: 0

      The application was for Canadian residency. If you don't apologize to that application you won't fit in there anyway.

    16. Re:Irrelevant by fuzzyf · · Score: 1

      Pseudo random numbers generate ok distribution, but pseudo still means false..
      It's not a random number. Not even close. It's very much predictable.

      For this particilar application I can't really see how it could be exploited, as I assume Excel does a decent job of seeding the generator.

      The question really is:
      Why is there a class/method/function/library named Random when it's not random? It's the same for Java, .Net, Javascript, MS SQL, Oracle, Pretty much any language/framework has a Random feature that is so far from random it's just laughable..

    17. Re: Irrelevant by Anonymous Coward · · Score: 0

      My first thriught was that as long as the applicant's number is "random" going into excel then a less than random rng will not matter. But as i think about the information being input into this spreadsheet there may be ways to predict which applicant's numbers have a higher chance of being accepted.

      If the rng starts with the same seed value then a prediction can be made of which applicant number will always be selected (or a higher chance of being selected).

      Applicant's number issued later in the cycle may be more randomized due to applicant numbers being recinded as individuals withdraw from the process.

      So while this weakness would be very hard to exploit it still exists.

      One method to randomize the random number generator would be to use a seed based upon the time and date the selection process begins. Another method would to to use the time difference between two dialog boxes.

      The best method would be to have all the applicant's numbers in a text file and using an application with an encryption level number generator kick out exactly 10,000 ids. The sour e code would be verifiable that there are no biases.

    18. Re:Irrelevant by StikyPad · · Score: 1

      Itâ(TM)s going to depend on both the number of rows (unknowable in advance) and probably the current time. At least that was the common seed to use, historically.

      Anyway, if someone suitably positioned wants to sell access, they can just skip the whole random spreadsheet shenanigans and sell the person a permanent resident card directly.

    19. Re:Irrelevant by Anonymous Coward · · Score: 0

      The bigger question to me is why are they using Excel for this? Spreadsheets are for calculating things.

      Yeah, calculating things. Like random numbers. They're using Excel because it works for this and didn't cost them $1 million to pay a consultant to write something in python to do the same thing.

      Excel sounds like a good option here: simple enough that any moderately-talented dolt can write it / understand it, powerful enough to get the job done.

      My guess as to how this was made: "oh, this looks like a nice easy job for the secretary / intern / that-useless-guy-we-aren't-allowed-to-fire: get them to whip something up this morning and I'll check to make sure it works over lunch".

    20. Re:Irrelevant by Tough+Love · · Score: 1

      The story is about an issue that is completely irrelevant.

      Not completely irrelevant. It indicates that some government cogs are using Windows, machines that will soon be owned by Chinese and/or Russian government cybercrooks, if not already.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    21. Re:Irrelevant by Anonymous Coward · · Score: 3, Insightful

      They're using Excel because it works for this and didn't cost them $1 million to pay a consultant to write something in python to do the same thing.

      A million dollars?

      $ od -d /dev/urandom | less

      I'm in the wrong job.

    22. Re:Irrelevant by dfghjk · · Score: 1

      Yes, this is it. If the order in which people are assigned their "random" numbers is random, then the issue is moot.

    23. Re: Irrelevant by Anonymous Coward · · Score: 1

      Typical Linux developer, bag the solution that uses non open source software and then deliver a fraction of that solution in Linux with no documentation and feel superior that it can be done as a cryptic one line shell script.

    24. Re:Irrelevant by Anonymous Coward · · Score: 1

      In that case don't use RND, just pick the first in the list.

    25. Re:Irrelevant by AmiMoJo · · Score: 1

      Implementing a proper RNG isn't expensive or time consuming at all. Windows has one built in, that continually gathers entropy from things like user input, system timers, I/O timing and the like. Additionally, most modern CPUs have a built in hardware RNG. In fact, even the CPU on a Raspberry Pi one.

      The issue is that Excel uses a crappy old PRNG that is known to be quite bad. Presumably this is done for compatibility reasons. This RNG does not produce an even spread of numbers over the entire range, and with 15 minutes of testing someone could easily come up with a way to massively increase the probability that the candidate of their choice is chosen.

      It seems like a good idea to make fraud a little bit harder than simply gaming the Excel RNG.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    26. Re:Irrelevant by religionofpeas · · Score: 1

      If you don't trust the person behind the spreadsheet, a better RNG isn't going to help.

      They could run a perfect RNG, and then just move the person of their choice to the top of the list.

      If you want to avoid fraud, you need to compartmentalize the process.

    27. Re:Irrelevant by rtb61 · · Score: 1

      The whole concept is a stupid as fuck. Have a large list of people, who a very similar (we are not all the same), in measured characteristics, introduce more characteristics until sufficient difference is found to be more selective. In this case, simply get them to participate in an IQ test, the winners win. Quite reasonable working upon the basis that all other measured characteristics are equal. Only US law enforcers think they can win by going for lower intelligence (civil court costs should have well and truly proved that by now), everyone else knows the smarter, all other things being equal, the better.

      --
      Chaos - everything, everywhere, everywhen
    28. Re:Irrelevant by Anonymous Coward · · Score: 0

      Pseudo random numbers generate ok distribution, but pseudo still means false..
      It's not a random number. Not even close. It's very much predictable.

      If the pseudo-RNG is any good, it should only be predictable if you know the seed value.

    29. Re:Irrelevant by Talderas · · Score: 1

      The advantage/disadvantage depends on the range of the random number generated. Since it's a random number, duplicates can be created. As an example, applicants who end up in the 9,997th through 10,004th positions all have the same random number. How those eight records are sorted makes a huge difference in outcome.

      I just did a quick random number assignment in Excel for 20 records. First thing I noticed is that if the random function is used in the cell, sorting the data caused new random numbers to be generated. My 20th record was assigned 9, after sorting the random number was 8. This can be averted by disabling automatic calculation but still a quirk for the method. Second thing I noticed is that sorting kept the records in order within the sorting column. If I started with the numbers going from 1 to 20, and 3, 6, and 15 were assigned 3 then they would appear in the order 3, 6, and 15. That means that order application numbers are entered is critical for determining whether you end up in slot 10000 or 10001.

      Yes, you can expand the range of random numbers to an extremely large range to try to avoid duplicates but regardless of whether it's PRNG or true RNG you still have the problem of duplicates. All you do is minimize the probability of them occurring. What this does mean is that there is a way to marginally increase your chances of having an accepted application but it requires that you know how the application numbers end up loaded into the spreadsheet so that you can file your application to take advantage of it.

      Overall, this article is bullshit because the problem isn't with PRNG. The issues would be present regardless of if it were PRNG or RNG because the main flaw lies with how the numbers are used.

      --
      "Lack of speed can be overcome. In the worst case by patience." --Znork
    30. Re:Irrelevant by Echemus · · Score: 1

      No, that is not good enough. You do not know whether the data was sorted prior to the random numbers being applied. The flaw in their algorithm of assigning numbers could be discriminatory towards names (if it is sorted by name) that start with a certain letter.

      Given that the number of people with names that start with a certain letter are pretty much on consistent bell curve, it is not hard to envision that if you have a certain name, and the list is sorted such that name is in an area of cells that the Random number gives higher numbers to, you are statistically disadvantaged relative to someone's whom's name is in a more advantageous position on that bell curve.

      The lottery invites applications over the course of a month (like Feb 5th to Mar 5th). If the applications are inserted in the order they are received then there is a distinct advantage to applying early, late or in the middle. The previous method of application selection was done on a first come first served basis and this was considered to be "unfair".

      The point is that you should have an equal chance of winning no matter when in that period you apply, what your name is, or any other field that you supply. The data in their list has an implied order, otherwise they wouldn't have needed to use some half-baked implementation of a lottery. Really, they should have just thrown dice.

      I should point out after 3 draws of this lottery, I have failed to have my name chosen. To find out that the algorithm for selecting names is flawed is deeply disturbing and an issue I will be raising with my representative in parliament.

      I think the journalists who wrote the article think that they can prove that not everyone who applies has an equal chance of winning.

    31. Re:Irrelevant by Anonymous Coward · · Score: 0

      The bigger question to me is why are they using Excel for this? Spreadsheets are for calculating things.

      I still don't see a problem. I will give you a very simple analogy. If you run your company and you want to randomly select an applicant from a pool to be hired by you, do you really want others to tell you how to do it? If the result of your selection proves to be good enough, do you really want to spend a lot more just to improve the selection to be more fair? Remember, it is a "random" selection. Do you really care that you want to be fair but at the same time cost you some money?

      The point is, Canada owns their country. They have the right to do whatever they want. They do not obligate to be fair at all. Besides, their random selection method is good enough and don't need to be told by others that it is not fair. The professor who made the news is either stupid or just wants some kind of public fame. The person doesn't understand technicality and reality. One can be ideal and perfect, and the other doesn't need or obligate to be perfect but good enough. That's why the analysis in TFA should never try to explain or involve the pragmatic part of the application (random selection of immigration).

    32. Re:Irrelevant by Cederic · · Score: 1

      IQ testing isn't terribly useful. For instance a highly intelligent person that hasn't had access to education will score worse than someone like yourself that has.

    33. Re:Irrelevant by Cederic · · Score: 1

      Yeah, there's only a 72.9% chance you could fail to be drawn three times, it's clearly a biased algorithm working against you.

      You're disturbed all right.

    34. Re:Irrelevant by Anonymous Coward · · Score: 0

      The argument is that they shouldn't be using Excel at all for storing these records because you're given no guarantees about the quality of data. Storing in a normalized database ensures your data has a substantially higher degree of correctness.

    35. Re:Irrelevant by Impy+the+Impiuos+Imp · · Score: 1

      The generated numbers are just the low 16 bits of the internal seed recomputed over and over.

      All you need is a sequence of the outputs and run through the full 32-bit cycle until they match.

      And even that is only a problem if government employees pre-run this to pick different seeds to game the selection for some reason.

      If there is no monkey business and they use a different seed each time that they haven't pre-examined, then the assignment of pseudo-random numbers, no matter how crappily random, is itself random and all is good.

      --
      (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
    36. Re:Irrelevant by Anonymous Coward · · Score: 0

      yep one person generates a list of 100,000 random numbers, a second person generates a list of 100,000 names. person A and B never see each others work. They are combined by person C. Person C then published and both A and B verify that the list they provided is in the same order as what they submitted. That way no one person has enough information to game the system. Of course if any 2 of the 3 people collaborate your out of luck.

    37. Re:Irrelevant by Obfuscant · · Score: 1

      Even so, this is the sort of detail that a system designer ought to get right,

      Are you trying to argue there should be "a system designer" here, and an RFP based on a requirements document should have been sent out for bids so that "system designers" could charge a huge amount of money for a simple solution, instead of a manager who uses Excel regularly saying "we need some randomness, let's use the Excel random number generator, it's good enough?"

      The latter is probably what happened. A government worker knew a reasonable, good-enough solution to a simple problem and saved the taxpayers a lot of money.

      When in doubt, a quality algorithm is always better than a bad one. This is the thing about security;

      This has nothing to do with security. It has everything to do with people who didn't get chosen to get immigration permits trying to find any excuse they can to sue the government and overturn the luck of other people so they can coerce the luck to fall upon themselves instead. This is a much bigger failure of any "randomization" process.

    38. Re:Irrelevant by Anonymous Coward · · Score: 0

      If you just want a random distribution that is unpredictable to the average person, just SHA a Guid. Guids are very unique and SHA will give a seemingly random output. Not very fast for a hot-path in a proper program, but we're talking about Excel here for a few times a year manually ran thing with an upper bound of the population of the Earth.

  3. Nothing is truly random by Anonymous Coward · · Score: 0

    The initial conditions for the Universe were set at the Big Bang, and everything that follows is deterministic. Some people will tell you that quantum uncertanties introduce randomness, but my theory discounts that.

    1. Re:Nothing is truly random by BitterOak · · Score: 2

      Some people will tell you that quantum uncertanties introduce randomness, but my theory discounts that.

      Please tell us more about your theory. I'd be interested in reading about it. And if I sound snarky, sorry, but I was predestined by the universe to ask you that question.

      --
      If I can be modded down for being a troll, can I be modded up for being an orc, or a balrog?
    2. Re:Nothing is truly random by Tough+Love · · Score: 2

      The initial conditions for the Universe were set at the Big Bang, and everything that follows is deterministic.

      This demonstrates a rather painful lack of understanding of quantum mechanics, which generally accepts that God does play dice (or as Niels Bohr put it, stop telling God what to do.)

      --
      When all you have is a hammer, every problem starts to look like a thumb.
  4. We have a case for... by martiniturbide · · Score: 1
    1. Re:We have a case for... by ewhenn · · Score: 1

      Or R, free and OSS.

  5. RAND isn't "perfectly" random, what about the list by Eloking · · Score: 1

    Well I've ready before about how the RAND() function of Excel 2003 and 2007 wasn't good enough for scientist purpose. But I seriously wonder what's the bias and how it'll affect a 10 000 number scale. I don't think it's candidate #1455 have 5 time more chance to be picked than candidate #976. I guess it's more in the "0.0001 time more" scale.

    Furthermore, how is the list order selected? Because if the order of the list is "kinda" random, it add the the randomness of the process. In other word, if the list order is a "little" random and the RAND is a "little" random, then the whole thing is "better" random.

    --
    Elok
  6. Where's the issue? by reanjr · · Score: 1

    Unless I'm missing something, it doesn't matter how random the PRNG is if the selection isn't influenced by the other relevant data. Everyone got their random number generated by the same shitty PRNG, so it's a fair and equitable system.

  7. No, this is a correct random by Anonymous Coward · · Score: 0

    We build this generators for MSFT Excel. Too much entropy is gathered and every numbar is equal. Multply by a special constant and producing a perfect and secure random numbar.

    Kerpal

  8. even weaker by goombah99 · · Score: 5, Insightful

    The story is about an issue that is completely irrelevant.

    It doesn't matter whether the "RND" function is ideally random in a mathematical sense. It only matters whether the "random" number generated is independent of the identities of the people applying to be admitted.

    It isn't even that. Just because the distribution of random numbers isn't random it doesn't mean the sort order based on that isn't random. For example, suppose my random number generator only put out numbers divisible by 1/(2^16) which is what a finite precision binary based system is going to do. This distribution isn't random because it's zero density at many possible floating point values. Yet the sort order might be perfectly random.

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:even weaker by XXongo · · Score: 1
      Exactly.

      Or, what if the random number generator only picked numbers divisible by three? Or always alternated an odd number with an even number? That's not random at all-- but it doesn't affect who gets picked to immigrate.

    2. Re: even weaker by Anonymous Coward · · Score: 0

      No different than lining up all applicants and counting off "One, two, three" and all the 3s get in. Nothing wrong with that, so long as humans don't get to game the system and stack folks into the chosen spots.

    3. Re:even weaker by Anonymous Coward · · Score: 0


      It isn't even that. Just because the distribution of random numbers isn't random it doesn't mean the sort order based on that isn't random.

      And it also doesn't mean the sort order is random either. What if the RNG always tends to put lower numbers at the end, and higher numbers at the start? Then you'd give a priority to people lower on the list, which is likely chronological, or possibly by region. That's not fair either.

      The point being, the RNG is poor enough that we can ask these questions. It failed statistical tests, AND it's closed source. Would you really want to be picked for something "randomly" if nobody can look at the source code to understand any biases AND we know that there are some biases (potentially relevant, potentially not)

    4. Re:even weaker by Anonymous Coward · · Score: 0

      Also if you discount the risk of fraud/profiting on the system arguably who cares if it isn't random? A non-citizen isn't entitled to immigrate it is a opportunity that they are being given. If they wanted to pick a random country and then take all the people from that country that applied, sort them by age, still rank them based on skills/point system etc so what? Either way some families get reunited and others don't. Those that came chose to come at the risk they'd never get their family members into the country. A non-intentionally biased system even if not random doesn't do harm imo.

      Pick everyone born on a Friday, or tallest to shortest, or ... none of them are likely factors in their ability to integrate or find work once in Canada. The quality of the people themselves is randomness enough. Some will be great, most will be good a few might end up committing crimes. But all are people you either give them a shot or you don't. Up to the receiving country to decide how they want to go about it.

    5. Re:even weaker by Theaetetus · · Score: 1

      The story is about an issue that is completely irrelevant.

      It doesn't matter whether the "RND" function is ideally random in a mathematical sense. It only matters whether the "random" number generated is independent of the identities of the people applying to be admitted.

      It isn't even that. Just because the distribution of random numbers isn't random it doesn't mean the sort order based on that isn't random. For example, suppose my random number generator only put out numbers divisible by 1/(2^16) which is what a finite precision binary based system is going to do. This distribution isn't random because it's zero density at many possible floating point values. Yet the sort order might be perfectly random.

      Even further, it appears that the flaw with Excel's PRNG is that, if you know the seed, then all of the resulting numbers are predictable. So, for example, if you can duplicate the starting seed, then it's trivial to generate the exact same list of 100,000 random numbers for their sort function. According to a linked article within TFA:

      "The generator is run in user mode rather than in kernel mode, and therefore it is easy to access its state even without administrator privileges. The initial values of part of the state of the generator are not set explicitly, but rather are defined by whatever values are present on the stack when the generator is called.
      The cryptographers discovered that the state of the generator is refreshed with system generated entropy only after generating 128KB of output for the process running it. "The result of combining this observation with our attack is that learning a single state may reveal 128KB of the past and future output of the generator," they explain.

      But that's irrelevant to this process. They're not using the same numbers generated previously. They're not providing their starting values at the beginning of the year so that people can determine the best days to submit their application. Once the seed is known, the output is predictable, but if the seed is unknown, then the output is effectively random. And since the seed is generated at 'sort' time, after the records have been entered, there's no way to know what placement is useful in advance.

    6. Re:even weaker by religionofpeas · · Score: 1

      it appears that the flaw with Excel's PRNG is that, if you know the seed, then all of the resulting numbers are predictable.

      That's how all PRNGs work.

    7. Re:even weaker by Theaetetus · · Score: 1

      it appears that the flaw with Excel's PRNG is that, if you know the seed, then all of the resulting numbers are predictable.

      That's how all PRNGs work.

      ... as opposed to another flaw like "the fifteenth generated random number is always 0.321," Sparky.

  9. Re:Trump is a traitor by Anonymous Coward · · Score: 0

    Is it physically painful being so stupid? I sure hope so.

  10. Re:RAND isn't "perfectly" random, what about the l by Anonymous Coward · · Score: 0, Troll

    Quoting the original article: http://www.pages.drexel.edu/~bdm25/excel2007.pdf

    The random number generator has always been inadequate. With Excel 2003, Microsoft attempted to implement the Wichmann–Hill generator and failed to implement it correctly. The fixed version appears in Excel 2007 but this fix was done incorrectly. Microsoft has twice failed to implement correctly the dozen lines of code that constitute the Wichmann–Hill generator; this is something that any undergraduate computer science major should be able to do. The Excel random number generator does not fulfill the basic requirements for a random number generator to be used for scientific purposes:

    it is not known to pass standard randomness tests, e.g., L’Ecuyer and Simard’s (2007) CRUSH tests (these supersede Marsaglia’s (1996) DIEHARD tests—see Altman et al. (2004) for a comparison);
    it is not known to produce numbers that are approximately independent in a moderate number of dimensions;
    it has an unknown period length; and
    it is not reproducible.

  11. Re:RAND isn't "perfectly" random, what about the l by cdsparrow · · Score: 1

    "Randomly" sort the list 10 times and everything will end up "randomer".

  12. Why do Republican children need to lie? by Anonymous Coward · · Score: 1

    Does it help Republican children deal with their INCEL problems to lie constantly in support of a treasonous moron like Donald Jumpsuit Drumpf?

  13. Re:RAND isn't "perfectly" random, what about the l by NoNonAlphaCharsHere · · Score: 2

    Anyone who attempts to generate random numbers by deterministic means is, of course, living in a state of sin. -- John von Neumann

  14. sounds like good news to me by Thud457 · · Score: 1

    "which means some people in the lottery may actually have a lower^W higher chance of being selected than others."

    --

    the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff

  15. not the issue by pD-brane · · Score: 2

    As long as no one knows what the biases are, there is not an actual issue. Probability, at least for these purposes, is epistemological.

    That said, they should not use proprietary software. Public money, verifiability, freedom and so on.

  16. 100,000 applicants since when? by magarity · · Score: 1

    What did they do back when Excel could handle only ~65K rows?

    1. Re:100,000 applicants since when? by CSMoran · · Score: 1

      They used columns. It's a spreadsheet, not a spreadline.

      --
      Every end has half a stick.
    2. Re:100,000 applicants since when? by magarity · · Score: 1

      They used columns. It's a spreadsheet, not a spreadline.

      Is that some kind of attempt to be funny? Epic fail since the column limit was 256 back when the row limit was 65K.

    3. Re:100,000 applicants since when? by Anonymous Coward · · Score: 0

      You run out of columns, you start a new set of rows. That is still 64k * 16, or a million applicants.

    4. Re:100,000 applicants since when? by Anonymous Coward · · Score: 0

      Unless they need >128 columns per person, they should still be able to fit everyone in.

    5. Re:100,000 applicants since when? by Anonymous Coward · · Score: 0

      and last I checked, 65,000 * 256 is 16,640,000. Plenty of cells to place all 100,000 names. Just have the RNG select 2 numbers, one for column, one for row. Or even use the same number and from the floating points, grab the column and row from there.

      You can be so creative with it!

  17. Random enough by duke_cheetah2003 · · Score: 4, Interesting

    Regardless of Excel's poor random function, the way this is being described as being done, it sounds pretty legit and random enough. There's no bias on assigning the random number to each name, and the name itself isn't being used to generate the random number. So this should be fine.

    Just because it doesn't meet some math/computer geek's standards of proper random number generation, doesn't mean it's not useless for this application. I say thumbs up. The RNG being perfect isn't really necessary.

  18. So what? by kenh · · Score: 1

    "Random" in this application means the numbers assigned to each applicant are generated by the RAND function, then chosen sequentially from the resulting list.

    If instead every applicant was assigned a sequential number, then the RAND function was used to pick from that list, then it is possible that certain sequential numbers would have a less equal chance of being selected, but not under the reverse.

    If the RAND function assigns multiple users the same 'random' number, so what? All duplicates get selected at the same time.

    Is the argument that Canada needs to print out 100,000 tickets, drop them in a (large) bucket, and pick 10,000 'winners', shuffling all remaining tickets after each 'pull'?

    I'm shocked the summary didn't include a reference to President Trump - how did that slip through?

    --
    Ken
  19. Who says it's not random? by viperidaenz · · Score: 1

    Sure, RAND() might only be pseudorandom but they're putting the numbers in the spreadsheet in a random order. It doesn't sound like they're sorting the application numbers before assigning them a pseudorandom number.

  20. Randomness by Anonymous Coward · · Score: 0

    Given that your position in the spreadsheet is essentially random (appears to be based on application number) the excel random number generator not being perfectly random is not really a problem.

    That said, why would you use excel for this?

  21. Re:Trump is a traitor by duke_cheetah2003 · · Score: 3, Funny

    "When you are dead, you do not know you are dead. It's only painful & difficult for others. The same applies when you are stupid." --someone

  22. For non-resident citizens ... by Anonymous Coward · · Score: 0

    to extend permanent-resident status to the parents and grandparents of Canadian citizens

    In another case, their sons/daughters shouldn't be forced to be resident in Canada. They are free to be resident in any place of the world. Their parents are who have their custodies.

  23. Just do the sort... by fropenn · · Score: 1

    in Excel a random number of times as Excel calculates a new random number on each sort. 15-20 sorts should do the trick.

  24. Obama, the-deporter in-chief by Anonymous Coward · · Score: 2, Informative

    Who is the "they" you speak of? I can think offhand of anybody who says "accept all the immigrants who show up."

    That's effectively the position of Democrats.

    Didn't seem to be Obama's position; he still holds the record for most immigrants deported in any presidental administration, 2.7 million: http://immigrationimpact.com/2017/01/04/deportation-numbers-2016/

    (although Donald may be working on breaking that record)

    1. Re:Obama, the-deporter in-chief by reboot246 · · Score: 1

      Oh, come on! Even the left-leaning Snopes site disagrees with you. It had more to do with redefining what a border crosser was than mere numbers.

      But drink the Kool-Aid and believe what you're told.

    2. Re:Obama, the-deporter in-chief by Anonymous Coward · · Score: 0

      No, you don't actually prove your case and either way Obama beats Trump hands down on this -and everything else, including not going to Federal Prison like Trump is about to. Sorry traitor!

  25. What random actually means... by StandardCell · · Score: 1

    TL;DR: The selection process is random enough for its purpose, the type of attack proposed would already require access to the data which could be manipulated anyway, and this story is bunk. When someone says that something is "random" what they really mean is that, given a finite number of possible valid values "N", that every attempt to predict that value will result in the correct value only 1/N times over an essentially infinite period of time.

    Nominally, random numbers are generated through a true random seed that comes from sources such as radioactive decay, cosmic background radiation, ring oscillator or other effectively chaotic process. This is fed into a pseudorandom number generator which is a giant shift register with specified taps to generate what are nominally random numbers.

    Are the implementations screwed up? Sure they are. Can they be influenced deterministically? Of course. Can this be done usefully? Not really given the value of the targets involved and the amount of infiltration required to get there. I emphasize this last point because these professors are indicating that someone could influence the random number generator. Well guess what guys? You would need access to the computer running the spreadsheet anyway, which means you could already do whatever you want to rearrange the results. Why would they waste their time influencing the RNG deterministically?

    This story is muckraking bunk by people who again don't really want people to understand security as much as they want to stamp a name for themselves. I'd be much more concerned that this is being handled in a spreadsheet rather than in an air-gapped database infrastructure.

    1. Re:What random actually means... by dyfet · · Score: 1

      Well, if the applicants are initially entered based on the date their application was received, then clearly certain days of the year could be "golden", and certain ones "bad"...so yes, this could become exploitable....

    2. Re:What random actually means... by Anonymous Coward · · Score: 0

      given any single day will see at least hundreds of applicates across many cities and parts of the world and without knowing when it will be entered in the spreadsheet what you are suggesting isn't possible. And NO a particular day has no more advantage than any other, While it is only pseudo random it is still random enough that you can't predict in advance the best position in the spreadsheet unless you know the exact second it will be executed and all the other parameters used to seed it. Who gives a shit if at the time of run some will have a higher chance than others due to ordering, basically you have a random chance of having a slightly improved chance of getting in.

    3. Re:What random actually means... by Anonymous Coward · · Score: 0

      I think the OP's point was that they have bigger fish to fry, and that an exploit of that magnitude would require a concerted effort across a LOT of applicants to coordinate such an attack, assuming it's even possible.

    4. Re:What random actually means... by bloodhawk · · Score: 1

      This story is muckraking bunk by people who again don't really want people to understand security as much as they want to stamp a name for themselves. I'd be much more concerned that this is being handled in a spreadsheet rather than in an air-gapped database infrastructure.

      Personally I am not even concerned about them using a spreadsheet, actually it is a very good way to implement it in a cost effective matter given the type of data we are talking about here. The whole article is complete garbage as unless you can determine exact time a spreadsheet is going to be run you can't really manipulate the results and if you could manipulate the results at that point it doesn't matter whether the results are random or not as a true RNG is not going to stop someone manipulating the results.

      I actually wonder if this is FUD being generated by people that wanted to spend millions on the process rather than a few hours of someones time.

    5. Re:What random actually means... by religionofpeas · · Score: 1

      This story is probably pushed by Big Random, who wants to get contracted to write a better system.

  26. Oh Slashdot, you've done it again. by Anonymous Coward · · Score: 0

    Just another example vapidly pseudotechnical clickbait foisted on us by this shell of technonews. This isn't cryptography, nobody is really trying to reverse-engineer anything associated with this, least of all the arthritic boomers. As others have said nobody has any real advantage in the selection process because the chance of rolling 23 is higher than 4. They all were given the same opportunity for either of those ranks. This is what happens when someone with a little information acts like an expert and writes a crappy article which will cause even stupider people to start hooting like a troop of baboons. News flash morons, nothing on your computer is truly "random" and all requires seed numbers unless you use a true random number generator which relies on some form of sensor noise. Excel may be particularly poor at this because Microsoft sucks, but it still doesn't make the selection process unfair.

  27. List is already random by hawguy · · Score: 4, Insightful

    Unless they let entrants pick where they are in the list, it doesn't matter if the random number generator is not completely fair.

    Maybe it's biased such that entrants 50,000 - 51,000 are much more likely to end up sorted to the top, but unless the entrants can choose where they are in the list, I don't see why that really matters. Sure, someone that controls the list could move their friends to that range to make them more likely to end up at the top, but they could also move their friends to whatever random numbers and up at the top.

  28. Let play in a Casino ... by Anonymous Coward · · Score: 0

    Let go to play the "casino roulette" ... the bank asymptotically always wins thanks to the zero (that has a hell probability of 1/37) ...

    Is it not worse than this lottery for an average player?

  29. Random keys are not required by Anonymous Coward · · Score: 0

    I built a system once to select applicants for various voluntary programs. I didn't rely on any random function at all, but built a system that gave every participant an equal, fair chance to be selected.

    My system that would calculate the MD5 hash of the individual's name concatenated with the name of the program. This is a completely deterministic process - the result for any individual will always be the same. I then sorted alphabetically on the resulting hash (technically, I discarded all but the last 10 characters of the hash), and selected the first N individuals.

    This system is completely biased - once the program name is selected, certain people (based on their names) would be almost guaranteed to be at the top of the list, and others would be almost guaranteed to be at the bottom. In the classic Publisher's Clearinghouse style, "You may already be a winner!" before you even choose to sign up. Every program (based on it's name) is very biased towards some people and not others.

    But that doesn't matter, because the bias is not DIRECTED. It's not that people with "A" names are all more likely to be selected. Or individuals that sign up first. Or people who apply close to noon on a Tuesday. It's biased towards a very arbitrary set of people, and that set of people IS statistically random.

  30. Dems vs Repubs [Re:So...] by XXongo · · Score: 4, Insightful

    Actually, I've seen exactly the opposite analysis.

    Democratic politicians want more legal immigration but less illegal immigration. Legal immigrants vote and pay taxes, illegals don't.

    Republican politicians want less legal immigration, but more illegal immigration. Illegal immigration depresses wages, meaning more profits for corporations. (Even if the corporations don't hire illegals, the illegals have a downward pressure on all unskilled-labor wages).

    1. Re: Dems vs Repubs [Re:So...] by Anonymous Coward · · Score: 0

      Rambling idiots on DailyKos is not analysis

    2. Re:Dems vs Repubs [Re:So...] by superdave80 · · Score: 1

      Legal immigrants vote and pay taxes, illegals don't.

      No, but the children that illegals give birth to do (and get automatic citizenship) vote, and I always hear Democrats and pro-illegal immigration tout how illegals 'pay taxes just like you and me' (SS, sales taxes, etc.). And they setup all of the sanctuary cities/states (you don't think those are for legal immigrants, do you?). To say that Democrats want less illegal immigration is just an ignorant statement.

    3. Re: Dems vs Repubs [Re:So...] by argStyopa · · Score: 1

      How is this in any way insightful?

      1) it's CANADA, so really Republicans v Democrats is entirely irrelevant

      2) your assertion about which party wants which immigration is entirely pulled from your ass. I could equally assert with as many or more examples of democrats defending and protecting illegal immigrants (Cf the last president) while Republicans are simply anti criminal.

      --
      -Styopa
    4. Re:Dems vs Repubs [Re:So...] by markdavis · · Score: 1

      How the above got modded "insightful" is absolutely beyond me. It is almost completely opposite of reality.

      Democrats generally want more ILLEGAL aliens they can later TURN INTO voting residents who are dependent on "the system" through never-ending amnesty programs.

      Republicans generally want more LEGAL aliens that will work for lower wages, yet pay taxes and not drain the system.

    5. Re:Dems vs Repubs [Re:So...] by Anonymous Coward · · Score: 0

      No, you're conflating illegal immigrants already here with ongoing influxes of people crossing the border. Democrats are enjoying watching Trump build the case for his lifetime incarceration in Federal Prison. He'll die a traitor.

      The next (legitimate) President will decide the issue, Pence is far too much of a closet case homosexual to run on his own coattails once Trump goes to prison. It will probably be a Clinton appointee who sentences Trump.
      Let's face it, Federal prison needs Donald Trump. That's where he belongs. That's where he'll be respected and important, among equals.

    6. Re: Dems vs Repubs [Re:So...] by Anonymous Coward · · Score: 0

      You have that backwards.

      Democrats side with legal penalties or people who hire illegals. That will cut the demand from business for illegals and reduce the supply.of them if they can't get work.

      Republicans froth at the mouth about protecting the border, but absolutely block any meaningful attempt to put fines on business that hire illegals.

      It would be like making prostitution illegal but never arresting the pimps/Johns.

    7. Re:Dems vs Repubs [Re:So...] by Anonymous Coward · · Score: 0

      You're clearly incorrect. If Democrats want less illegal immigration then why are 100% of the "sanctuary cities" run by Democrats? If you are intentionally misleading people then that's evil. If you are just misinformed, then that's sad for you and everyone that falls for your made up crap.

    8. Re:Dems vs Repubs [Re:So...] by Anonymous Coward · · Score: 0

      No, but the children that illegals give birth to do (and get automatic citizenship) vote.

      Exactly. And what's wrong with a citizen voting? Even though I don't like the law that said all children who were born in this country automatically become a citizen, I can understand why they do it. Besides, that is a completely different issue from what you are saying. If you don't like it, then ask your politicians to change the law; otherwise, stop being a bitch and shut up.

      , and I always hear Democrats and pro-illegal immigration tout how illegals 'pay taxes just like you and me' (SS, sales taxes, etc.). And they setup all of the sanctuary cities/states (you don't think those are for legal immigrants, do you?). To say that Democrats want less illegal immigration is just an ignorant statement.

      Oh then you are one of those morons who know nothing about illegal immigrant but want to spout shit. Those that don't pay taxes and don't use SSN to work are those who work for locals with close to minimum wage. Those who use fake or some one else SSN are those who get paid much better wage (about twice as much) and are working for corporations or big companies (big hotel brands are one of those). They do pay taxes (much better pay) or they won't be able to save money to send home at all. Though, there is another issue that stupid government don't attempt to dig into, or they would find a lot of these illegal immigrants, is filing for tax return. Many of those illegal immigrants who work for better jobs will file tax return on the SSN they got. Often times, their tax preparers are the culprits. The tax preparers will take a big cut and help them more on making up income and deductions. Another topic for discussion...

      If you ever think about asking for sources? Shit, you better learn how life is. Sometimes, first-handed source can't be quoted or it would become second-handed source that you are asking for.

    9. Re:Dems vs Repubs [Re:So...] by Cederic · · Score: 1

      Pence is far too much of a closet case homosexual

      Being a happily married man faithful to his wife makes him a closet homosexual?

      Let me guess, you invite other men in for a threesome then complain if your wife gets all the cock.

    10. Re:Dems vs Repubs [Re:So...] by terrycarlino · · Score: 1

      Legal immigrants cannot legally vote.Only citizen can vote. (I do realize there are some localities which allow residents to vote, even if they are not citizens.) No state or federal elections allow non-citizens to vote.

      Some Democrats want more illegal immigrants and legal immigrants. They want illegal immigrants because they want to grant amnesty and expect most of those formally illegal immigrants to vote for them in thanks for getting them in.

      Some Republicans want fewer illegal and legal immigrants because they fear cultural dilution, a not unreasonable fear. Some want fewer illegal and more legal immigrants (based on merit) because they recognize educated professionals immigrating to the U.S. is good for the country.

      I tend to advocate increased legal immigration, a secure border and exclusion only of those shown to have criminal records and terrorist backgrounds.

      I base this stance on the fact that the U.S. has always been a country of immigrants and it has been a blessing for the country, both economically and culturally.

      Trump has put froth a solution to DACA families. He would be smart to get it passed and undercut the Democrats by finding a way to increase legal immigration and securing the border. If he takes that issue away from them (as Johnson did by taking Civil rights away from the Republicans, who was the first party to propose it) he could bury the Democrats for a generation. I doubt he's that smart though.

    11. Re:Dems vs Repubs [Re:So...] by Anonymous Coward · · Score: 0

      What you're saying doesn't match up with anything pundits on Fox News or CNN say, both ostensibly bullhorns for their respective party.

    12. Re:Dems vs Repubs [Re:So...] by superdave80 · · Score: 1

      Exactly. And what's wrong with a citizen voting?

      Absolutely nothing is wrong with that. Why would you think I have a problem with citizens voting?

      Oh then you are one of those morons who know nothing about illegal immigrant but want to spout shit....blah, blah, blah....

      I have no idea what the point of that paragraph was, or how it relates to anything we were discussing.

      If you ever think about asking for sources?

      Uh, what? That's not even a complete sentence.

      Sometimes, first-handed source can't be quoted or it would become second-handed source that you are asking for.

      Now you're just randomly writing words.

  31. Translation: by gman003 · · Score: 5, Funny

    Gizmodo just discovered what a PRNG is

  32. It's probably random enough by Presence+Eternal · · Score: 1

    Long ago I watched a video of a guy selling gaming dice. He was an entertaining fellow, talking about how his dice were fairer because he hadn't destroyed the vertices. Most manufacturers erode their dice quite heavily in order to give them round edges and eliminate the blemish where they were clipped from the mold.

    I grabbed a micrometer, and sure enough, my dice were measurably oblong. Thing is, I tried to determine the length of time I'd need to prove that his dice were fairer via statistics and actual rolling. I realized I'd have to pass the test along to my heirs. Random number generators are like pizza. When they're bad, they're usually still pretty good.

    I still bought some of his dice though. They're quite pretty since they have their original facets.

    Oh, and if you just need fair d6's you can readily get ahold of casino dice.

  33. Anti-Luck Discrimination by Roger+W+Moore · · Score: 1

    It only matters whether the "random" number generated is independent of the identities of the people applying to be admitted.

    Indeed, if it was a true random number it would end up discriminating against unlucky people. Something the poor sod having to use an Excel spreadsheet of this magnitude probably understands all too well now.

    1. Re:Anti-Luck Discrimination by Anonymous Coward · · Score: 0

      You probably don't want unlucky people to immigrate to your country anyway.

  34. Old system by slapout · · Score: 2

    What's wrong with first come, first serve?

    --
    Coder's Stone: The programming language quick ref for iPad
    1. Re:Old system by Calydor · · Score: 1

      And more importantly, why is a random pick more fair than that?

      --
      -=This sig has nothing to do with my comment. Move along now=-
    2. Re:Old system by markdavis · · Score: 1

      Exactly. This Excel crap is certainly random enough for randomness. The real question is whether an immigration system SHOULD be random. Is that in the best interest of the country? Of the citizens? Of the economy? What is "fair" and to whom? Does a country "owe" fairness or randomness to those seeking entry? Should those with better skills, education, or knowing the local language be prioritized? Should those with existing family support structures in the intended country be prioritized? These are tough questions that require answers.

      Unfortunately, the whole confusion with ILLEGAL immigrants has muddied the water so much that people can't even seen to tell the difference anymore. Being selective doesn't necessarily mean being "phobic."

      I know if I were inviting people I didn't know to come live in MY house, it certainly wouldn't be by lottery....

    3. Re:Old system by Anonymous Coward · · Score: 0

      What's wrong with first come, first serve?

      The obvious thing wrong is that you'll get everyone trying to submit their applications *at the same time*, e.g. at exactly 0900 on the 1st of the month or whenever. This
      a) May need IT systems to have massive overcapacity most of the time to cope with the once per month load
      b) May give an advantage (it the applications are online) to those who happen to have the best Internet connections etc.
      c) May lead to staff being overworked at some times an underworked at others.

      Now, it's quite possible you may be able to arrange things to mitigate or avoid these problems; but it is actually probably easier to have a system like this where it really doesn't matter when you submit your application, since that completely solves all these problems.

  35. At Least It Wasn't Microsoft Works! by Anonymous Coward · · Score: 0

    I was helping two elderly gentlemen a few years ago try to fix the problem they were having keeping bowling score averages for their group. They had a very simple spreadsheet, which had been created in Microsoft Works spreadsheet (part of the low-end, no-frills application suite Microsoft used to provide with PCs). If someone bowled 100 the first game, 100 the second game, and did not bowl the third game, Works calculated the average as 66.67, not 100 which was expected!

    After searching online, it turns out that Microsoft Works spreadsheet's AVERAGE function treated empty cells as if they had a zero inserted! Completely brain-dead. I've never seen any other spreadsheet program treat empty cells as zeros.

    1. Re:At Least It Wasn't Microsoft Works! by Presence+Eternal · · Score: 1

      I've found that Libre office can interpret Works files, if you need to help someone move to something more modern and free.

      Obviously Microsoft Orifice can't because that would require some level of competence.

  36. Irrelevant by Anonymous Coward · · Score: 0

    We're not doing cryptography here. This is just assigning an arbitrary numerical value to a row and then sorting based on those values. Unless they can show that the sorting comes out in some non-random, predictable order, this is a non-issue.

  37. confusing libertarians with anarchists [Re:So...] by XXongo · · Score: 1

    I think you're confusing libertarians with anarchists.

    That wouldn't be surprising. Libertarians often confuse libertarians with anarchists.

  38. It's even easier by Anonymous Coward · · Score: 0

    by Anonymous Coward on Monday June 11, 2018 @05:33PM
    Divide the number of slots by the number of people. in this case it's 10 = 10K/100K

    Put 10 numbers in a hat and draw out one, say 7. Admit applicants 7. 17. 27. 37....

  39. Still random?!! by TJHook3r · · Score: 1

    Who cares if more people named Aaron get picked than Zachary? I don't know either, so the process is random!

    1. Re: Still random?!! by TJHook3r · · Score: 1

      Ok, reading further, the list is not in any sort of order to start with, which makes any shortcomings in Excel irrelevant imo

  40. Unlucky need not apply by mi · · Score: 1

    So, Canada just does not want unlucky immigrants...

    That said, I'm shocked, shocked to find out, the most adorable country in the world accepts only about 10% of the immigrants seeking to enter (legally)...

    --
    In Soviet Washington the swamp drains you.
    1. Re:Unlucky need not apply by Strider- · · Score: 1

      That said, I'm shocked, shocked to find out, the most adorable country in the world accepts only about 10% of the immigrants seeking to enter (legally)...

      This is for P.R. Status given for family reunification purposes. Permanent Resident status is roughly equivalent to the US Green Card.

      --
      ...si hoc legere nimium eruditionis habes...
    2. Re:Unlucky need not apply by Anonymous Coward · · Score: 0

      IT isn't only 10% of those applying. this is purely for "to extend permanent-resident status to the parents and grandparents of Canadian citizens". this is seperate to the immigration total which is around 300k a year.

  41. Auditability by Anonymous Coward · · Score: 0

    The bigger problem is audibility. Who's to say the guy running the lottery isn't rolling and rerolling until some friend wins?

    1. Re:Auditability by Anonymous Coward · · Score: 0

      I would hazard a guess they don't let a guy in a room do this by himself unsupervised for that exact reason. regardless if they did then no amount of randomness will guarentee a true result.

  42. Translation by Anonymous Coward · · Score: 0

    Too many white people are winning. We need to have more (((diversity))).

  43. So... by Anonymous Coward · · Score: 0

    Why wouldn't they build the wall to make a deal on DACA? Trump said he was willing to deal, but they just gave up.

  44. What Is Random? by Anonymous Coward · · Score: 0

    I've read academic articles that essentially claimed, there is no such thing as a random number. Even hardware based noise generators contained the seeds of order, or biases of various sorts.

    If you want to get pedantic, get a mathematician involved!

    Oh wait, I also read an article that claimed the entire basis of mathematical knowledge was shaky, and nothing could be "proven for certain". And no, it was not by or about philosophy, we are talking hard math here.

  45. =MAX(skill) by Anonymous Coward · · Score: 0

    Fixed it for ya

  46. LIbertarian's believe in whatever's convenient by rsilvergun · · Score: 3, Interesting

    I don't see a lot of consistent application of principles from them. I've yet to meet one that turned down free medical care when they needed it. I've known a lot of libertarians who go to the VA long after they've left the military. I know a lot that work in psuedo private sector jobs like the defense industry. My personal favorite is a libertarian friend of mine who gets it from his dad, but has severe health problems. He's come up with some of the craziest justifications to square his LIbertarian ideas with the fact that he needs medicine to live but can't afford to buy it himself (and wouldn't be able to even in a perfect libertarian world since his illness is bad enough he can't work).

    Even Ayn Rand took social security in her old age. Though to her credit she had to be convinced to take it rather than die in the street. Her writings weren't profitable until the Republicans decided they needed an intellectual

    My experience with Libertarians is they're folks who never grew out of that phase in your teenage life where you really, really hated being told what to do. You know the one. It's when you're just starting to realize how capable you are, when you're at your peak of learning capacity and you're figuring things out faster than the adults. And you really are (teenage brains work that way).

    What I find especially maddening is the libertarians who rail against coastal elites and SJW and are perfectly OK with billionaires having unlimited wealth because, hey, they earned it by virtue of having it. Never mind the fact that money is power and you can't be free in a world with that much wealth inequality. After all, you're not free if somebody controls your access to food, shelter, healthcare, education and transportation (the latter needed to access the former). You're one week's food, one winter's cold or one pill away from slavery. True freedom only arrives when everybody has their needs cared for not because they can threaten or cajole people into getting it but because they're humans, and humans have a right to those things.

    --
    Hi! I make Firefox Plug-ins. Check 'em out @ https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/
    1. Re:LIbertarian's believe in whatever's convenient by Anonymous Coward · · Score: 0

      Even Ayn Rand [goodreads.com] took social security in her old age. Though to her credit she had to be convinced to take it rather than die in the street. Her writings weren't profitable until the Republicans decided they needed an intellectual.

      Pointing this out like it's some kind of smoking gun makes you guys sound like idiots. Anyone who doesn't want to take a small portion of the money they handed to the government back is a fool. Being against a system like social security is one thing, but having your money taken and then saying you don't want any of it back because you don't agree it should have been taken in the first place is just ridiculous. Please start thinking for yourselves.

    2. Re: LIbertarian's believe in whatever's convenient by Anonymous Coward · · Score: 0

      According to Rand's ethical system, receiving hand outs is ethical only when the person opposes the policy. This is merely a paradox, not a contradiction.

    3. Re:LIbertarian's believe in whatever's convenient by Anonymous Coward · · Score: 1

      You missed the entire point. The point is that without social security, Ayn Rand would have died in the street penniless and homeless. Even if she'd never paid taxes because they didn't exist, what she did was so unprofitable that in the laissez faire capitalist paradise she so pined for she would have been destitute as she aged.

      There are things people do that are not very monetarily valuable and yet turn out to be of enormous value to society. The fact that Ayn Rand's entire life falls into that category and that those devoted to her completely fail to recognize it is the height of irony and hypocrisy.

  47. Fake News by Jodka · · Score: 3, Insightful

    The story is about an issue that is completely irrelevant.

    It doesn't matter whether the "RND" function is ideally random in a mathematical sense. It only matters whether the "random" number generated is independent of the identities of the people applying to be admitted.

    With no intention of diminishing the importance of your statement; that is blindingly obvious. There are two other excellent points raised by others in the comments here: that imperfect randomness does not make the process manipulable by immigration candidates and that sort order of assigned imperfect random numbers can itself be perfectly random.

    The story is mis-reported as a scandal; there is in fact no scandal whatsoever. So who made up the fake news? Tom Cordoso is the author of the original story at the Globe and Mail which the Gizmodo article linked in the Slashdot summary cites. Cordoso quotes Université de Montréal computer-science professor Pierre L’Ecuyer as saying “Anything would be better” [Than the Excel random number generator] but, crucially, Cordoso omits the context of that comment. Was L’Ecuyer referring to its suitability for this particular method and application, or was he commenting on its suitability for general use, including, for example cryptography? In neither the Gizmodo nor Globe and Mail articles can I find any mention of an expert unambiguously expressing judgment on the immigration randomization method specifically. A close reading suggests that the criticism originates with the journalist, and that he deceptively implies it to be the opinion of experts.

    Some enterprising citizen journalist should contact the cited experts and ask them 1) Did their comments refer to general usage of the Excel random number generator or specifically to the immigration randomization methodology. 2) What is their opinion of the immigration randomization methodology 3) Do they agree with the points made here about it being a nothingburger 4) Have they read the Globe and Mail article, if so do they believe that their comments were wrongly contextualized.

    If anyone does that, it would be nice to see a followup article here on Slashdot.

    --
    Ceci n'est pas une signature.
  48. Re:RAND isn't "perfectly" random, what about the l by Anonymous Coward · · Score: 0

    I was inordinately smug in the early 1980's, when I liked computers and my randomizer seed was the time the user pressed return, in milliseconds.

  49. PRNG algorithm depends on the Excel version by clovis · · Score: 1

    The article and embedded links talk about how bad Excel's algorithm is, but never states the Excel version that Canada's IRCC uses. In this case it matters because recent versions of Excel are OK.

    Excel 2010 and later uses Mersenne Twister for the PRNG. This is good.
    https://support.office.com/en-...

    Excel versions before Excel 2010 use an implementation of the Wichman-Hill that provides not-so-good pseudorandom numbers.
    https://support.microsoft.com/...

  50. It seems pretty frigging random to me! by Anonymous Coward · · Score: 0

    There is no telling what its going to do.

  51. I've seen this before by Anonymous Coward · · Score: 0

    You may have heard of the basic income experiment in Finland, for which they chose 2000 individuals from a target group of their interest (basically unemployed of certain age bracket). They did publish the source code used to pick this random sample, and I did take a look at it; although it was using much more a professional tool than Excel (I already forgot the details), I had to conclude that if random number generator was even seeded (which probably used time of day on second resolution), it probably had less than twenty bits of meaningful randomness in it. Proper randomness would have required using tens of thousands of bits of randomness, and probably a better-designed selection routine, considering legal outcomes of this.

    It is very unlikely any trouble would actually arise from this case (neither on validity of the experiment, or as being biased against groups or individuals on any intentional level), but it left me suspicious of the whole deal. There should be more trustworthy methods for these kinds of setups!

  52. easy solution by Anonymous Coward · · Score: 0

    use random.org

    you're welcome.

  53. Democrat set record on deportations: by Anonymous Coward · · Score: 0

    Is it? Can you quote a single Democrat saying this? Ever?

    Actions speak louder than words. They oppose all attempts to secure the border, enforce immigration law, or deport those here illegally.

    Not even close. In fact the Obama administration deported 2.5 million illegal aliens, not only more than any other presidential administration, but more than all the other 20th century presidential administrations put together. They called him the "deporter in chief".

    "Actions speak louder than words."

    https://www.wusa9.com/article/news/local/verify-did-obama-deport-more-people-than-any-other-president/408785995

    https://www.npr.org/2017/01/20/510799842/obama-leaves-office-as-deporter-in-chief

    https://splinternews.com/sorry-obamas-still-deporter-in-chief-1821625282

    https://abcnews.go.com/Politics/obamas-deportation-policy-numbers/story?id=41715661

    https://www.migrationpolicy.org/article/obama-record-deportations-deporter-chief-or-not

  54. There aren't any amnesty programs [Re:Dems vs...] by XXongo · · Score: 1

    Democrats generally want more ILLEGAL aliens they can later TURN INTO voting residents who are dependent on "the system" through never-ending amnesty programs.

    That's silly. There aren't any "never ending" amnesty programs, there are no amnesty programs whatsoever that turn illegal aliens into voting residents,period. These don't exist.

    The last time there was an amnesty program was under President Reagan, who provided amnesty for 3 million illegal immigrants. That was back in 1987, over thirty years ago. (that was the Immigration Reform and Control Act of 1986, followed by Reagan's executive action to give legal status to more illegals not covered by the Immigration act the year following that.)

  55. That is a thing. by Bitbeard · · Score: 1

    I used to work at a gaming company. For years before I arrived, they used Microsoft Access to pick locations to drop winning prize packages. This was for games like cereal boxes with a winning game piece glued inside. It was just basic VBA - seed random number generator with date/time, then pick a "random" row from a table of zip codes. Apparently it had held up to audit (full disclosure, this was circa 2000).

    Once I was there, for a new game project, my proposal was to use a raffle drum (which we did actually possess), purchase true random number generation equipment, or disclose that computer selection would be "pseudo-random". I literally got screamed at by a vice president for that. They wanted a shortcut to glory: quick, cheap, fast, and easy. Thankfully I got backing from our tech-saavy CIO and my proposal went forward as-is.

    Never got an apology from the VP, though. Less than two years later, they were out of business. The reason?

    Most of their clients fired them after a massive scandal caused by taking shortcuts on security and procedural oversight.

  56. Good Enough for Government Work by tmjva · · Score: 1

    I first heard "Good Enough for Government Work" 45 years ago and it was old then.  Why the sudden umbrage over this obvious irony?

    BT

    --
    Tracy Johnson
    Old fashioned text games hosted below:
    http://empire.openmpe.com/
    BT
  57. Excel overload by sad_ · · Score: 1

    excel is being used for everything you can imagine, it's crazy.
    it's the hammer that makes every problem look like a nail.

    --
    On a long enough timeline, the survival rate for everyone drops to zero.
  58. OK several points by DarthVain · · Score: 1

    1) OMG, excel, rly?
    2) Well at least it is a newer version of excel if it can handle 100,000 records...
    3) Why not at the very least Access, I mean at least it is a DB of sorts...

    4) OK Summary and Slashdotters, don't get in a twist about how mathematically accurate the RND function is and how truly random it is. They are not using it in a statistically relevant way to derive scientific samples or something. They are simply using it select a bunch of people in an unbiased way not based on immigration criteria. You could do the same thing all sorts of different ways, but this was probably just the easiest thing they could come up with. I have no doubt there are all sorts of lottery type selections that happen on all sorts of things that are likely way less random than even using an excel function. They summary says that using the RND function "MAY" cause some people to have a lower chance, but doesn't really elaborate on exactly how that might occur, nor does the article shed any light on it either. It *MAY* work just fine. You could also use simple changes in process by say assigning a RND number by record, then sorting by that number, then assigning another RND number, then resorting that number to try and eliminate (or mitigate at least) any possible statistical relationship between number creation and order and time etc... Anyway for the primary function of making unbiased selections it is probably a perfectly fine method to use, even if the random calculation isn't a perfect as some other methods.

    5) Lastly, while silent on the actual method used specifically other than speculation, I would hope that loser applicants might get a weighted advantage on the next years lottery, say a duplicate record for each loss for example... Anyway just a thought.