Slashdot Mirror


US Monitoring Database Reaches Limit, Quits Tracking Felons and Parolees

An anonymous reader writes "Thousands of US sex offenders, prisoners on parole and other convicts were left unmonitored after an electronic tagging system shut down because of data overload. BI Incorporated, which runs the system, reached its data threshold — more than two billion records — on Tuesday. This left authorities across 49 states unaware of offenders' movement for about 12 hours." As the astonished submitter asks, "2 billion records?"

270 comments

  1. Now.. by Anonymous Coward · · Score: 4, Insightful

    They just need to upgrade it so they can track the other 4 billion properly.

    Damn sick criminals! ALL OF THEM.

    1. Re:Now.. by h4rm0ny · · Score: 3, Insightful

      I'm getting this scene in my mind like Austen Powers, where Senator McCarthy is unfrozen and keeps rubbing his hands with glee saying "We'll track one million US citizens." His NSA assistant coughs politely. "Uh, [i]billion[/i], sir".

      --

      Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
    2. Re:Now.. by arivanov · · Score: 2, Insightful

      The joy of using centralised versus distributed systems. We live in the age of the network. Load balancing data sets across multiple databases, machines and systems and merging them whenever they are needed is trivial. Designing for such load balancing is trivial as well.

      Anyone designing a system that piles up everything on a single box gets whatever christmas they deserve. By the way, considering the name of the company I am not surprised. It says everything that there is to be said about their design methodology...

      Not that most of government contracts in the UK or USA are any different. They have been taken over the BI crowd and competence in design has been replaced by competence in explaining how it is not your fault that a f*ck up has occured. PRINCE, ISO, TOGAF, ZAMAN all have this as their primary function and they are now the only requirement towards jobs in this area. It is quite scary - you look at an advert for an architect and see these listed _WITHOUT_ any technical knowledge domain whatsoever...

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    3. Re:Now.. by Sulphur · · Score: 2, Funny

      HTTP/1.1 200 OK Date: Sat, 09 Oct 2010 10:31:23 GMT Server: Apache/1.3.41 (Unix) mod_perl/1.31-rc4 Connection: close Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1
      OK
      The server encountered an internal error or misconfiguration and was unable to complete your request.

      Please contact the server administrator, admin@fbi.gov and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    4. Re:Now.. by gmack · · Score: 4, Insightful

      I really doubt space was the actual problem because TFA says "BI Incorporated, which runs the system, reached its data threshold - more than two billion records - on Tuesday. " The max value of a signed 32 bit int is 2 147 483 647. It is much more likely that someone set an index value on the database to int years ago and then forgot about it.

    5. Re:Now.. by hairyfeet · · Score: 4, Insightful

      To quote some lyrics from one of my favorite bands "Ain't it funny how the school doors closed, round the time that the factory doors closed, round the time that 100,000 jails cells opened up to greet you, like the reaper". Considering in this country one can be busted for a sex offense for pissing on a bush, sexting pics of your own body to your GF/BF if you are under 18, or even words on a page or drawings in a comic book, the fact that we allow private contractors to do these jobs (thus giving an even greater incentive for bribery and worse laws) just makes me sick.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    6. Re:Now.. by autocracy · · Score: 3, Informative

      Yeah, we've all seen that happen before.

      --
      SIG: HUP
    7. Re:Now.. by modmans2ndcoming · · Score: 1, Insightful

      Are people really this dumb?

      A record does not equate to a single individual. They are tracking movements so in the movement table, I am sure they have a lot of records for each person they are tracking, not to mention the other tables that contain multiple entries for people

    8. Re:Now.. by Anonymous Coward · · Score: 4, Informative

      Posting anonymously for obvious reasons.

      I was on electronic monitoring for the US BOP (bureau of prisons) through BI incorporated for about 3 years. I had to pay my own monthly bill for monitoring services, which went to BI incorporated in Colorado somewhere.

      How the system works is like this: Your federal probation officer comes to your house and installs a box that looks kind of like a cable TV box. It connects to your telephone line (you must have a land line phone to be on electronic monitoring) on one end and also plugs into power. The box is pretty heavy because it has some rechargeable batteries in it so it can operate for some time if the power goes out.

      You get an ankle bracelet installed that is pretty permanent - rubber band with a steel core around your ankle, and a pager-like device attached to it. Now, the device is pretty simple. Whenever you go out of range (about 100-200 ft.) of the box, it dials one of BI's modems and reports that you left. Whenever you come back in range of the box, it dials out and reports that you arrived home. If you disconnect it from power, or the power goes out, it also dials in and reports the power outage (you are never supposed to unplug it, but sometimes power outages happen). When the power comes back on, it dials in and reports the power is back online. Even if you never leave your house at all that day, it still dials in once a day to report it's status.

      The purpose of this EM (electronic monitoring) system is to allow people to be on home confinement and still leave the house to go to work, get groceries, etc, but not be out at all hours of the night committing crimes.

      I can easily see how 2 billion records are in the database. There are not 2 billion criminals. These are just 2 billion date/timestamp entries saying prisoner #X left their house, prisoner #X returned, etc.

      I found the entire 36 month or so experience pretty surreal. The most difficult thing was wearing baggy pants to hide the ankle bracelet at work. For obvious reasons I didn't want to advertise to the world that I was a federal prisoner. It also says a lot about a society and judicial system where there are so many prisoners that they need to outsource the imprisonment of non-violent offenders to a corporation. But who am I to complain? I'm just a felon who committed a victim-less drug crime.

    9. Re:Now.. by Mitchell314 · · Score: 2, Funny

      No, what you're supposed to do is to have each movement have its own column.

      --
      I read TFA and all I got was this lousy cookie
    10. Re:Now.. by ObsessiveMathsFreak · · Score: 1

      The max value of a signed 32 bit int is 2 147 483 647. It is much more likely that someone set an index value on the database to int years ago and then forgot about it.

      And could any of us have really blamed them?

      --
      May the Maths Be with you!
    11. Re:Now.. by gmack · · Score: 1

      It's one of those mistakes that is blindingly obvious in hindsight but not one that people plan for. I wish databases warned you when you were close to overflowing an index but, as far as I know, they don't.

    12. Re:Now.. by FooAtWFU · · Score: 1
      Happened on one of the tables of one of my company's customer's systems just the other week - not that there were 2 billion rows at any one time, but deleting and inserting into the table made the primary key sequence run out. (They were in a kind of an atypical, degenerate case, though).

      Hooray for 64-bit integers, in any event.

      --
      The World Wide Web is dying. Soon, we shall have only the Internet.
    13. Re:Now.. by Sir_Sri · · Score: 1

      Agreed. It depends on what you're tracking though, if you have say a record every our of every day 365 days a year you only need to track 244 thousand people for a year, or 24k people for 10 or the like to hit that cap Not to mention all of the *other* stuff that they'd need to have in the same database which probably include all sorts of stuff about who is tracking who, and with which equipment etc.

    14. Re:Now.. by Anonymous Coward · · Score: 0

      Which is one of my complaints about Java -- no unsigned integers. Seriously, are there still people so short-sighted that they still use signed numbers for indexes?

    15. Re:Now.. by Anonymous Coward · · Score: 0

      I can imagine these servers becoming a hacking target now that people know who's hosting.

    16. Re:Now.. by multipartmixed · · Score: 1

      > Hooray for 64-bit integers, in any event.

      Using unsigned integers (or negative indexes) would have doubled the lifetime of the database without increasing storage overhead.

      --

      Do daemons dream of electric sleep()?
    17. Re:Now.. by pixelpusher220 · · Score: 1

      They were in a kind of an atypical, degenerate case, though

      really?

      --
      People in cars cause accidents....accidents in cars cause people :-D
    18. Re:Now.. by Anonymous Coward · · Score: 0

      SQL doesn't support unsigned integers. Even for indexes! I've always found this stunning and stupid. Yes, if you can remember - at the very start of your project, when it's a teeny tiny thing - to initialize your indexes at negative two billion, then you'll get the full 32bit range, but cheez I can't blame anyone for missing that.

    19. Re:Now.. by Phat_Tony · · Score: 2, Funny

      But this just tracks US sex offenders.

      It will be no time before the fear mongers on the evening news are bandying about the new statistic,
      600% of the population of the US are sex offenders.

      --
      Can anyone tell me how to set my sig on Slashdot?
    20. Re:Now.. by Anonymous Coward · · Score: 0

      Standard SQL doesn't support unsigned integers. Seriously, are there still people so uniformed that they don't know that portable SQL code wouldn't rely on any particular database's non-standard data types?

    21. Re:Now.. by SpaceLifeForm · · Score: 1

      Fail.

      Each movement should be a row in a child table.

      --
      You are being MICROattacked, from various angles, in a SOFT manner.
    22. Re:Now.. by kikito · · Score: 1

      The trouble here is not the technology.

    23. Re:Now.. by jesset77 · · Score: 2, Funny

      Each movement should be a row in a child table.

      You're not designing for availability. Each movement should get it's own child table. Each hosted on a separate machine. Geographically distributed, ideally each on different continents.

      Granted you might run out of continents, but if you can't just buy more then you probably can't afford my consulting fees, either. Next!

      --
      People willing to trade their freedom of expression for temporary entertainment deserve neither and will lose both.
    24. Re:Now.. by Mitchell314 · · Score: 1

      *sigh* I know, it was a joke. Death would be too kind to any db designer who implemented such a monster.

      --
      I read TFA and all I got was this lousy cookie
    25. Re:Now.. by (Score.5,+Interestin · · Score: 1

      Hooray for 64-bit integers, in any event.

      Yeah, because by the time they overflow I'll either be retired or at a different job, and then it'll be someone else's problem.

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

      So when I mark all of my database fields as "unsigned", it just ignores that?

    27. Re:Now.. by Anonymous Coward · · Score: 0

      No, but some of us are stuck with MS SQL Server which doesn't have an unsigned integer type.

    28. Re:Now.. by Issarlk · · Score: 1

      And to allow maximum flexibility, that table should be have these columns only: foreign key, name, value.

    29. Re:Now.. by RockDoctor · · Score: 1

      I wish databases warned you when you were close to overflowing an index but, as far as I know, they don't.

      And how long until some of them do? Well, at least the ones that care about their users, not the commercial ones?
      Quite how you'd implement it though ... you'd have to still be fulfilling requests for new records while you've still got indices to work with. So you'd have to rely on the database back-end including some sort of management console, to which someone is paying attention.
      Of course, if no-one is paying attention, then you're screwed anyway.

      --
      Birds are not dinosaur descendants;birds are dinosaurs, for all useful meanings of "birds", "are" and "dinosaurs"
    30. Re:Now.. by gmack · · Score: 1

      Either a nightly cron with an email to the admin or possibly something like a Nagios plugin would be amazing.

  2. Visual Basic? by Anonymous Coward · · Score: 0, Troll

    Visual Basic for the FAIL, signed int? They really should know better.

    1. Re:Visual Basic? by CarpetShark · · Score: 1, Redundant

      It's not Visual Basic's fault, they just had too much data. 640K ought to be enough for anyone.

    2. Re:Visual Basic? by odies · · Score: 0, Flamebait

      Yeah, because only Visual Basic has signed int. The fail is on your side.

  3. Well no wonder by Fry-kun · · Score: 5, Funny

    MS Access can't possibly handle 2 billion records, no matter how much hardware you throw at it.

    --
    Did you know that "FTW" ("for the win") is a direct translation of "Sieg Heil"?
    1. Re:Well no wonder by sakdoctor · · Score: 3, Funny

      65536 Excel rows should be enough for anyone

    2. Re:Well no wonder by fluor2 · · Score: 0

      FYI, that limit is no longer present in Excel 2010.

    3. Re:Well no wonder by realityimpaired · · Score: 2, Insightful

      Wasn't present in 2007, either. But have you ever tried loading a spreadsheet with more than 30,000 records, let alone one with more than 100,000 records?

      Hope you have enough RAM, and that nothing else is open on your system....

    4. Re:Well no wonder by Threni · · Score: 1

      Yeah, it's really handy sometimes to select a bunch of records from a database, then paste it into a spreadsheet, where it's much more natural to do number crunching on it than doing it in a select statement. It's trivial to tweak the spreadsheet so people can click on columns to sort/group by different columns. 65000 is a stupid limit when you're looking, for example, sales in a chain of shops on a given day.

    5. Re:Well no wonder by gblfxt · · Score: 1

      you son, have neither dealt with the US government, nor ms access.

    6. Re:Well no wonder by Anonymous Coward · · Score: 0

      That's why they made the 64-bit version of 2010.

    7. Re:Well no wonder by Eskarel · · Score: 1

      Nor should it, if you've got 2 billion records use something designed for that kind of load.

    8. Re:Well no wonder by maxume · · Score: 3, Interesting

      Yes, that was the joke. See, GP poster is implying that even though the system should have been using something designed for the load, since it is a government contract, they used Access.

      --
      Nerd rage is the funniest rage.
    9. Re:Well no wonder by assertation · · Score: 2, Interesting

      If you haven't, rent a copy of the documentary "Hacking Democracy".

      Diebold chose to use MS Access as the backend for voting machines

    10. Re:Well no wonder by Anonymous Coward · · Score: 0

      Just to point out that Access can act as a front end to SQL server so that the actual database is not access. Access is used for the ease of development of front ends and then ODBC to the back end.
      If you want to say that the tools to get at the data are bad that is one thing. However in this case hitting a limit would be in sql server

    11. Re:Well no wonder by Anonymous Coward · · Score: 0

      > Did you know that "FTW" ("for the win") is a direct translation of "Sieg Heil"? Sieg Heil means hail victory. Do you know what STFU stands for?

    12. Re:Well no wonder by catd77 · · Score: 1

      Do you honestly think that agency like that would use MS Access to store databases like that?

    13. Re:Well no wonder by ponraul · · Score: 1

      No. "Sieg" means victory. "Heil" is a word from middle-German meaning salvation and health. The phrase "Seig Heil" is a long the lines of "salvation through victory." "For the win" comes from the game show Hollywood Squares.

    14. Re:Well no wonder by AK+Marc · · Score: 1

      I've actually set up a terminal server at a Fortune 100 company to hold a single spreadsheet and nothing else. It took so long to open over the shared drive (over 10 minutes, it hit the line cap on multiple sheets) that it was decided to open it locally, but it was required by multiple people, so an entire server was purchased for one and only one spreadsheet. Yay Excel (and bad accounting practices).

    15. Re:Well no wonder by N1EY · · Score: 1

      I have 4 gigs of ram. Excel can not handle 40k lines. Excel craws in any computation.

    16. Re:Well no wonder by kikito · · Score: 1

      If you are talking about 10, or maybe 100 registers, I'm with you.

      But we are talking about 100000 records. If you are treating that with Excel, just might as well try to do it by hand.

    17. Re:Well no wonder by Eskarel · · Score: 1

      I've seen far too many apps written in access that should never have been, and to be honest I wouldn't even remotely be surprised if they actually did do this one in access.

      It's a sadly believable joke.

  4. Thereby solving the problem... by Adambomb · · Score: 5, Funny

    BI increased its data storage capacity to avoid a repeat of the problem.

    ONCE AND FOR ALL.

    --
    Ice Cream has no bones.
    1. Re:Thereby solving the problem... by siddesu · · Score: 1

      Yes, I heard that after a long and challenging, but well-planned and spotlessly executed migration, the system now works on a future-proof fully 32-bit operating system, capable of accessing more than 640k of RAM.

    2. Re:Thereby solving the problem... by hedwards · · Score: 1

      ONCE AND FOR ALL

    3. Re:Thereby solving the problem... by GrumblyStuff · · Score: 1

      Criminals are taking down the system the Zap Brannigan way, with wave after wave of their own men....

    4. Re:Thereby solving the problem... by Anonymous Coward · · Score: 0

      "You suck!"

    5. Re:Thereby solving the problem... by Anonymous Coward · · Score: 0

      Actually, they went from 16bit (1MB at most) to 16bit protected (16MB) then 32bit protected (4GB) to the current 64bit.

      64bit should be FOR ALL though since IIRC you can assign a database index to every atom in the universe from a 64bit index.

    6. Re:Thereby solving the problem... by Issarlk · · Score: 1

      But what if you have to create a record everytime an atom leaves home to get groceries? If time is infinite we're screwed!

    7. Re:Thereby solving the problem... by ImprovOmega · · Score: 1

      64bit should be FOR ALL though since IIRC you can assign a database index to every atom in the universe from a 64bit index.

      Not quite.

      2^64 = 1.84 * 10^19

      Atoms in the earth approx. = 8.87*10^49

      Even IPv6 (128 bits) lacks the ability to address all atoms in the earth by about 11 orders of magnitude. The lower bound estimate for atoms in the observable universe is 3*10^79 which would require just over 256-bits (approx. 6*10^76) to address properly, and since it's a lower bound I think 512-bit addressing would more than likely suffice (approx. 1.2*10^153 addresses) for the observable universe.

      In other words, IPv6 will be fine until we start expanding across the galaxy (and develop FTL communications and travel). Then we'll get into planet-wide NATs to stem the bridge until IPv8 can come out with its 512-bit address scheme.

  5. two billion locations perhaps? by Anonymous Coward · · Score: 0

    Is it that hard to think of having multiple rows per offender perhaps?

    1. Re:two billion locations perhaps? by cgenman · · Score: 1

      2 billion offenders tracked should be fine, as there are only about 300 million people in the US. But 2 billion locations? Someone needs a real database. Or a chron job to archive these puppies.

    2. Re:two billion locations perhaps? by Anonymous Coward · · Score: 0

      2 billion offenders tracked should be fine, as there are only about 300 million people in the US.

      They are tracking dangerous criminals, not honest Americans!

      That's why we, the 300 million honest Americans, need to protect ourselves from the billions of terrorists trying to destroy us.

    3. Re:two billion locations perhaps? by modmans2ndcoming · · Score: 1

      2 billion entries does not mean they are all unique individuals.

    4. Re:two billion locations perhaps? by tverbeek · · Score: 1

      2 billion entries does not mean they are all unique individuals.

      Of course not. Most of them are clones. That's why there are now "pedophiles" behind every bush and tree. Just ask any TV-news-watching or talk-radio-listening American.

      --
      http://alternatives.rzero.com/
    5. Re:two billion locations perhaps? by NNKK · · Score: 3, Funny

      2 billion offenders tracked should be fine, as there are only about 300 million people in the US. But 2 billion locations? Someone needs a real database. Or a chron job to archive these puppies.

      I'm going to go out on a limb here and say that if you think it's spelled "chron", you probably shouldn't be making suggestions on this subject.

    6. Re:two billion locations perhaps? by TangoMargarine · · Score: 1

      They are tracking dangerous criminals, not honest Americans!

      You act as if there's a difference. Such a silly, naive fool.

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    7. Re:two billion locations perhaps? by Anonymous Coward · · Score: 0

      Maybe it was an accident. Is that even possible? As for me I never type anything incorrectly, but I know not everyone can be as perfect as I.

    8. Re:two billion locations perhaps? by Anonymous Coward · · Score: 0

      Isn't he the same poster who noted something about the movie Thron?

  6. I think more than 2147483648 records by Anonymous Coward · · Score: 2, Insightful

    Seems like it took them a few hours to change the key column from unsigned +/- 2^31 to signed 0-2^32-1

    1. Re:I think more than 2147483648 records by biryokumaru · · Score: 1

      Thus solving the problem once and for all.

      --
      When you're afraid to download music illegally in your own home, then the terrorists have won!
    2. Re:I think more than 2147483648 records by hedwards · · Score: 1

      You got that backwards. They went from signed to unsigned, giving them roughly double the space. But, what they're going to have to do is remove old records from the primary database, and put them into a secondary one after they're no longer tracking them. Because at the very least, it slows things down and increases the likelihood that a server crash will lead to a prolonged outage of service.

  7. How many? 2 billion? by Anonymous Coward · · Score: 0

    2 billion records ought to be enough for anybody.

    1. Re:How many? 2 billion? by AHuxley · · Score: 1

      MS did the sales math on a napkin over a yummy lunch.
      The fine print showed the need for much more cash as the system expanded onto more cores and the database grew.
      MS does not just 'gift' that kind of power away to anyone without deep long term paid up rental deals.

      --
      Domestic spying is now "Benign Information Gathering"
  8. 2 billion... by onion2k · · Score: 4, Interesting

    Assuming that's a normal "US" billion, and assuming it's a journal of historical data going back a few years, I don't think it's unreasonable to think there could be information in there on a couple of hundred thousand people each of whom has been track for an average of at least 6 months. So, approximately and with some guesses, that's around 55 records per prisoner per day. 1 update every 30 minutes? That sounds about right, maybe a little on the low side if anything.

    What is surprising is that they were running some sort of database process that maxxed out at 2 billion records, and that it just stopped once it hit that limit rather than failing over to a backup process. But then, this is a government IT contract, so maybe it's not too surprising.

    1. Re:2 billion... by Anonymous Coward · · Score: 0

      It has nothing to do with prisoners.

    2. Re:2 billion... by eugene2k · · Score: 1

      The article says there were around 300 people tracked.

      --
      Apple has "Mac vs PC", Microsoft has "Laptop Hunters", Linux has recession
    3. Re:2 billion... by barrylb · · Score: 1

      If their system could not handle more than 2 billion records then there is no point failing over to a backup system which would probably also have the same limitation.

      Seems more likely to me that the id of their tracking record table was a 32 bit signed integer which maxes out at 2,147,483,647 and when they say they "increased its data storage capacity" they just changed it to a larger data type.

    4. Re:2 billion... by Anonymous Coward · · Score: 0

      The article says there were around 300 people tracked.

      That was just in the one state.

    5. Re:2 billion... by jimicus · · Score: 1

      Seems more likely to me that the id of their tracking record table was a 32 bit signed integer which maxes out at 2,147,483,647 and when they say they "increased its data storage capacity" they just changed it to a larger data type.

      Which just goes to show how well designed it was. Exactly how often do they need to track a negative number of people?

    6. Re:2 billion... by AHuxley · · Score: 1

      Hmm number of people .. post death squad? Might be of interest in some parts of the world.

      --
      Domestic spying is now "Benign Information Gathering"
    7. Re:2 billion... by Statecraftsman · · Score: 4, Interesting

      If you track 16000 people and store their location once per second, you'll only need 1.55 days to reach 2^31 records. Once per minute only gives you 90 days. Once every 10 minutes, less than 3 years... I wonder if anyone is on the user end of this system that can comment.

    8. Re:2 billion... by anss123 · · Score: 2, Insightful

      Which just goes to show how well designed it was. Exactly how often do they need to track a negative number of people?

      I know that in some programming languages, like java, you have to jump through hoops to get unsigned values. For all we know that database was fine, but the server frontend trunctuated values down to signed ints.

    9. Re:2 billion... by Anonymous Coward · · Score: 0

      In the United States of America, for example.

    10. Re:2 billion... by bertok · · Score: 5, Informative

      it just stopped once it hit that limit rather than failing over to a backup process.

      "just over 2 billion" is almost certainly 2^31 (2 147 483 648), or the maximum number representable by a signed 32-bit integer. People usually think of "over 4 billion" (2^32) as the integer limit, but that's for unsigned integers only, which are rarely used, especially in databases. I'm willing to bet that they used an "int" as a primary key in one of their tables, and simply overflowed the maximum possible value.

      This kind of bug has impacted lots of systems in the past. If it happens, there's no "fail over" that could possibly save the system. The replica would have the same data, and hence the same issue, and would have failed as well. The usual fix is to extend the key type to 64-bits or longer (e.g.: GUIDs), but for a 2 billion row table, that's going to take hours at best, probably days.

      Most database systems do not provide a warning when the keys start to approach large values, so it's easy to miss.

    11. Re:2 billion... by Teancum · · Score: 2, Interesting

      Still, the complaint about how intelligently the software architecture was put together is seriously put into question as those who designed the system really didn't think through how long their software would last or what kinds of records were being put into the system. I understand how IPv4 had unanticipated problems with billions of computers on a network originally designed to handle merely hundreds and when v4 came out it was still in the mere thousands of computers being connected. In this design, it sounds like it was almost by design going to eat up a whole bunch of records.

      Besides, people have been bitching about IPv4 running out for decades and have anticipated the problem by introducing IPv6 quite some time ago. Any competent software engineer should have seen something like this coming years ago, so when I see something like "running out of space" I can only assert either:

      • The software developers on the software were incredibly incompetent and deserve to be fired.
      • The management of the company involved doesn't know jack about what it is that they are doing, likely hiring the developers on a short-term contract or they fired the competent engineers somehow along the way.

      Either way, it certainly doesn't inspire confidence in this company, and they certainly seem to be in way over their head here. If you hire a bunch of developers from Waziristan because they low bid on the development contract, you get what you pay for. This certainly isn't going to be the only problem with the software coming from this company as rookie mistakes like this are likely to be the tip of the iceberg.

      Yes, this is a rookie mistake I would expect out of a freshman CS student, not somebody trying to sell a supposed professional service.

    12. Re:2 billion... by complete+loony · · Score: 1

      Probably a signed 32bit primary key....

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    13. Re:2 billion... by Dodgy+G33za · · Score: 1

      Tracking Record ID != number of people It is a unique id of the tracking record. One to many relationship with an offender. Possible many to many if there was a gathering of priests at a given location.

    14. Re:2 billion... by John+Hasler · · Score: 1

      16,000. 300 was the number in the state of Wisconsin.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    15. Re:2 billion... by Anonymous Coward · · Score: 0

      My my my, you are in a black mood this morning. It'll never happen here; too many guns in a population who grew up hearing those stirring heroic tales of Valley Forge, Tippacanoe and the Alamo. Too many TV shows where the hero was a hero because he went down swinging. No, if it happens here it will be much more subtle. Like vote fraud or economic subservience or a manufactured external enemy.

    16. Re:2 billion... by hedwards · · Score: 2, Interesting

      That depends upon how they set it up. More likely they're storing the actual record information for the person in that DB with the location data for the person's record in a separate DB. The reason I say that is that, space issues aside, a DB being run like you suggest would be slower than hell, and be a PITA to keep optimized.

      Whereas you'd have plenty of room to store the data if the person has their own DB for the location. You'd have something like 68 years to work with. That's fairly close to an entire lifetime.

    17. Re:2 billion... by Grave · · Score: 2, Interesting

      Absolutely correct. However, 16,000 offenders being tracked.. 2 billion records.. Approximately 125,000 records per offender? I suppose it depends on the sort of data they are recording, and over what duration it needs to remain in an active (and not archived) state, but that just seems like an awful lot.

      I guess the upside to this is that we know the US government (and it's contractors) can't actually track all ~300 million citizens with any sort of accuracy or utility then. There simply isn't enough brainpower working in government IT to build a usable system that could track us like that. Google or Facebook, though..

    18. Re:2 billion... by Anonymous Coward · · Score: 4, Informative

      Posting anonymously for obvious reasons.

      I was on electronic monitoring for the US BOP (bureau of prisons) through BI incorporated for about 3 years. I had to pay my own monthly bill for monitoring services, which went to BI incorporated in Colorado somewhere.

      How the system works is like this: Your federal probation officer comes to your house and installs a box that looks kind of like a cable TV box. It connects to your telephone line (you must have a land line phone to be on electronic monitoring) on one end and also plugs into power. The box is pretty heavy because it has some rechargeable batteries in it so it can operate for some time if the power goes out.

      You get an ankle bracelet installed that is pretty permanent - rubber band with a steel core around your ankle, and a pager-like device attached to it. Now, the device is pretty simple. Whenever you go out of range (about 100-200 ft.) of the box, it dials one of BI's modems and reports that you left. Whenever you come back in range of the box, it dials out and reports that you arrived home. If you disconnect it from power, or the power goes out, it also dials in and reports the power outage (you are never supposed to unplug it, but sometimes power outages happen). When the power comes back on, it dials in and reports the power is back online. Even if you never leave your house at all that day, it still dials in once a day to report it's status.

      The purpose of this EM (electronic monitoring) system is to allow people to be on home confinement and still leave the house to go to work, get groceries, etc, but not be out at all hours of the night committing crimes.

      I can easily see how 2 billion records are in the database. There are not 2 billion criminals. These are just 2 billion date/timestamp entries saying prisoner #X left their house, prisoner #X returned, etc.

      I found the entire 36 month or so experience pretty surreal. The most difficult thing was wearing baggy pants to hide the ankle bracelet at work. For obvious reasons I didn't want to advertise to the world that I was a federal prisoner. It also says a lot about a society and judicial system where there are so many prisoners that they need to outsource the imprisonment of non-violent offenders to a corporation. But who am I to complain? I'm just a felon who committed a victim-less drug crime.

      Another thing to mention is that what you see on TV or in the movies is pretty false. These are not GPS enabled tracking devices that can pinpoint your location on a map so they can hunt you down anywhere in the country. These are dumb radio devices that only have a 100-200 ft. range and the box uses dial-up modem technology from the 90s. I wouldn't be surprised if they ran the entire monitoring center on a few old PC servers.

    19. Re:2 billion... by bugsbunnyak · · Score: 4, Informative

      Not a, uh, user - but here's an interesting background article: http://www.theatlantic.com/magazine/archive/2010/09/prison-without-walls/8195/

    20. Re:2 billion... by petermgreen · · Score: 1

      Afaict IDs in databases are typically not reused after records are deleted or even after records fail to insert so even if the old records are archived you will still run out of IDs eventually.

      How long eventually is depends on the size of your field and the insert attempt rate into your DB.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    21. Re:2 billion... by t2t10 · · Score: 1

      What is surprising is that they were running some sort of database process that maxxed out at 2 billion records,

      Not really; they're probably using some Microsoft consumer product... plus declared something to be a signed int.

    22. Re:2 billion... by t4inted · · Score: 1

      Why? Having a u_int seems better in any respect. A DB index is usually positive. Makes no sense to me, am I missing something obvious?

    23. Re:2 billion... by Toze · · Score: 2, Insightful

      unsigned integers only, which are rarely used, especially in databases.

      What? Intro DB courses all mention using unsigned columns for numeric/incremented indices. I use unsigned ints by habit for numbered indices. I'll grant you I've seen plenty of really terrible DB designs in the wild that happen to use signed ints, but "especially in databases" unsigned ints are more frequently used, at least by the competent pros I've met.

      Also, if the system's already down, there's no load on it. The admin can mount the schemas (maybe rollback a bit), apply the changes, and go get some coffee. It's not that it wouldn't take some time, but days? I think not. Sure, with 2B records there's going to be some fun disk action while you reindex everything, but you've got the entire server's power to do it with. An afternoon, maybe, depending on the (probably HA) hardware and the (admittedly in this case lacking) sanity in table design. If (in this case admittedly unlikely) they're partitioned by timestamp values or something, I think (but I'm not sure) that you could get the most-recent partitions of the table altered and running and get the system up right away, then take historical partitions and convert them on backup hardware or during low load periods. Not a good solution, but it'd bring the system up in the least time. Or depending on the features available in the DBMS, and diskspace available, they should be able to do something like Oracle's online table redefinition; just copy table to new tablespace, but include the modified column definition when writing, then swap it.

      *shrug* My $0.02 CAD. I work on DBs but usually on smaller systems, so that's my perspective. Maybe there's some deep magic involved in larger recordsets that can't be compensated for by good design.

      --
      No OS on the planet can protect itself from a user with the admin password. - Yvan256
    24. Re:2 billion... by Brummund · · Score: 1

      Or they used the same sequence to generate IDs for multiple tables. (Yargh.)

    25. Re:2 billion... by binkzz · · Score: 1

      What is surprising is that they were running some sort of database process that maxxed out at 2 billion records, and that it just stopped once it hit that limit rather than failing over to a backup process. But then, this is a government IT contract, so maybe it's not too surprising.

      TFA didn't say at 2 billion, just that it stopped at some point when it had over 2 billion entries.

      I'm thinking it's reasonable to assume it stopped at 2,147,483,647 records.

      --
      'For we walk by faith, not by sight.' II Corinthians 5:7
    26. Re:2 billion... by Blakey+Rat · · Score: 1

      I guess the submitter to this *INFORMATION TECHNOLOGY* site didn't realize that 1 record != 1 person. Of course, it's Slashdot, so no real surprise there...

      With our database structure, we get about 400-500 records (in a specific table) for each actual user. 2 billion wouldn't be hard to reach at all if we had more users.

    27. Re:2 billion... by Blakey+Rat · · Score: 1

      What? Intro DB courses all mention using unsigned columns for numeric/incremented indices. I use unsigned ints by habit for numbered indices. I'll grant you I've seen plenty of really terrible DB designs in the wild that happen to use signed ints, but "especially in databases" unsigned ints are more frequently used, at least by the competent pros I've met.

      MS SQL doesn't have unsigned types. (Go ahead, make fun of Microsoft now.) I would question the level of education you got in your "intro DB courses" if it didn't mention this particular quirk of one of the most popular RDBs in existence.

      That said, it does have Bigint which should have been used for this table.

    28. Re:2 billion... by Anonymous Coward · · Score: 0

      16,384 by any chance?

    29. Re:2 billion... by shermo · · Score: 1

      So the problem could have been caused by someone doing lunges on the edge of the transmission range?

      --
      Insanity: voting in the same two parties over and over again and expecting different results
    30. Re:2 billion... by Toze · · Score: 1

      Huh. You're right, it's odd that I didn't know that. Or forgot it.

      Well, my courses focused on Oracle, and my experience has been in MySQL and a bit of Postgres. I don't mind not knowing MS SQL quirks, and I don't think it's unreasonable for intro DB courses to not mention quirks in each DMBS. Or maybe they did and I forgot, it's been a while. They're busy teaching drooling undergrads about normalization, though; unless the course was using MS SQL I wouldn't expect it to mention MS SQL quirks. I heard about plenty of Oracle quirks in Oracle-focused classes.

      On the one hand, unsigned ints aren't standard, so I can't hammer MS for that. On the other hand that's never stopped MS from implementing things before, so screw 'em. Was the system using MS SQL, though? I didn't see that in the article. Reasonable assumption for government work, I guess.

      --
      No OS on the planet can protect itself from a user with the admin password. - Yvan256
    31. Re:2 billion... by innocent_white_lamb · · Score: 1

      That's a highly interesting article. I wonder, though, where someone like Bernie Madoff fits into that system. He's a non-violent offender, so should he be sent home to his multi-million dollar penthouse with an electronic monitor instead of being in jail?

      --
      If you're a zombie and you know it, bite your friend!
    32. Re:2 billion... by innocent_white_lamb · · Score: 1

      I had to pay my own monthly bill for monitoring services, which went to BI incorporated in Colorado somewhere.
       
      How much were they charging you? And if you were unemployed and unable to cover that bill would you be ineligible for that program?

      --
      If you're a zombie and you know it, bite your friend!
    33. Re:2 billion... by godefroi · · Score: 1

      As previously noted, unsigned integers are NOT standard SQL.

      --
      Karma: Poor (Mostly affected by lame karma-joke sigs)
    34. Re:2 billion... by Anonymous Coward · · Score: 0

      Maybe there's some deep magic involved in larger recordsets that can't be compensated for by good design.

      Well I'm no DBA, but it seems that such a huge operation would never be able to use the "entire server's power" if it is bounded entirely by disk performance.

  9. Overflow? by Anonymous Coward · · Score: 0

    Sounds like an int overflow ;)

  10. about 16000 by roman_mir · · Score: 4, Interesting

    Prisons and other corrections agencies were blocked from getting notifications on about 16,000 people, BI Incorporated spokesman Jock Waldo said on Wednesday.

    - interesting number. Anyway, it's not about the number of people in the database, it's about some number of records associated with each person presenting their location, so probably GPS coordinates taken at some time intervals.

    Also note that they are still logging the data, they just can't read it, so it's an application for displaying the coordinates that is failing. Quite possible that the actual problem is in filtering the data, maybe they are just trying to view data for an entire time period per person rather than looking at latest records, something like: 'last month only'. But this is, in the words of infamous W, 'speculaaation'.

    1. Re:about 16000 by Anonymous Coward · · Score: 0

      If it's not displaying the coordinates, they need to check is there a green light on the monitor. I work in IT, I know how these things work!

    2. Re:about 16000 by Anonymous Coward · · Score: 0

      Probably cast the record number as (int) ...

    3. Re:about 16000 by Kjella · · Score: 1

      So on a wild guess there's a function "int recordId()" that'll return -1 on problems (network failure, database connection failure, whatever). Sounds like a completely reasonable design except it's time to move to int64, 2^63 records ought to be enough for everyone. Though with the US prison population, who knows...

      --
      Live today, because you never know what tomorrow brings
    4. Re:about 16000 by julesh · · Score: 1

      Anyway, it's not about the number of people in the database, it's about some number of records associated with each person presenting their location, so probably GPS coordinates taken at some time intervals.

      Interestingly, if you assume they've averaged half the number of people currently being tracked (not an unreasonable assumption if the popularity of such tracking has been steadily increasing), and hourly logging, then you get 2^31 / 8000 / 24 / 365 = about 30 years, which is perhaps not coincidentally the approximate length of time the company has been offering tracking services for (they started in 1978, apparently -- not sure if they were using GPS at the time though: it was still a military experiment back then).

  11. 1 in 31 US Citizens in custody or parole by mykos · · Score: 4, Informative

    "According to the U.S. Bureau of Justice Statistics (BJS): "In 2008, over 7.3 million people were on probation, in jail or prison, or on parole at year-end — 3.2% of all U.S. adult residents or 1 in every 31 adults."

    This doesn't make me feel safe.

    1. Re:1 in 31 US Citizens in custody or parole by GMThomas · · Score: 5, Informative

      Right? You shouldn't feel safe. Not because of the "criminals" but because of the reason why there are so many "criminals." Have a joint on you? You're a criminal. Do you know how many people are in jail because of simple drug-related offenses? Be afraid. http://www.whitehousedrugpolicy.gov/publications/factsht/crime/index.html Look at that. 25% of federal inmates are in there for drug possession. I bet you a good amount of these people wouldn't rob you at gunpoint. Good luck, America!

      --
      You are now manually breathing.
    2. Re:1 in 31 US Citizens in custody or parole by ieatcookies · · Score: 2, Funny

      No no it's fine, they're all being monitored. Oh wait....

    3. Re:1 in 31 US Citizens in custody or parole by w00tsauce · · Score: 0

      ^ made me lol

    4. Re:1 in 31 US Citizens in custody or parole by Anonymous Coward · · Score: 0

      I'm absolutely sure the DA never settles for an easy drug conviction when they catch someone who's committed a "real crime" but is hard to prosecute.

    5. Re:1 in 31 US Citizens in custody or parole by TheLink · · Score: 1

      Or assumes has committed a "real crime" but is hard to prosecute?

      --
    6. Re:1 in 31 US Citizens in custody or parole by jfengel · · Score: 2, Informative

      Not that I'm disagreeing with your point, but I think you're misreading that page. That 25% figure is for people who were high at the time of the offense. (I assume you're looking at table 2).

    7. Re:1 in 31 US Citizens in custody or parole by mbone · · Score: 1

      The entire reason the Federal penitentiary system was created and the first Federal penitentiary (in Atlanta) was built was to handle drug criminals. Before that, except for the military, there basically weren't any Federal prisoners.

    8. Re:1 in 31 US Citizens in custody or parole by Anonymous Coward · · Score: 0

      Don't forget that being high is enough to be an offense.

    9. Re:1 in 31 US Citizens in custody or parole by Anonymous Coward · · Score: 1, Insightful

      I bet you a good amount of these people wouldn't rob you at gunpoint.

      At least, not BEFORE they did time...

    10. Re:1 in 31 US Citizens in custody or parole by Anonymous Coward · · Score: 0

      Just cap your circle of relationships at 30 and you'll be fine.

    11. Re:1 in 31 US Citizens in custody or parole by Anonymous Coward · · Score: 0

      Isn't the easy solution just not to smoke joints? I'm not snobbish enough to feel entitled to a good time even if it means I break the law. The problem is, this sort of thinking is the extreme exception, not the rule. There are billions of ways to have a good time legally.

    12. Re:1 in 31 US Citizens in custody or parole by Anonymous Coward · · Score: 0

      Federal inmates? Drugs? You don't become a federal inmate by a cop pulling you over and finding a joint. That makes you an inmate of the State of whatever if you're extremely unlucky. You become a federal inmate by having a serious amount of drugs, usually confiscated in some sort of raid. Drugs is also a nebulous term and could refer to other less harmless substances.

    13. Re:1 in 31 US Citizens in custody or parole by Dexter+Herbivore · · Score: 0, Offtopic

      You're posting in the wrong thread, the thread you're looking for is here.

    14. Re:1 in 31 US Citizens in custody or parole by socsoc · · Score: 1

      Hopefully not more than 2^31 ways.

    15. Re:1 in 31 US Citizens in custody or parole by tomhudson · · Score: 1

      Isn't the easy solution just not to smoke joints? I'm not snobbish enough to feel entitled to a good time even if it means I break the law. The problem is, this sort of thinking is the extreme exception, not the rule.

      I've never been into recreational pharmacology, never been a smoker of anything, think it's called dope for a reason, and even I am in favor of legalization.

      The problem with your argument is two-fold:

      1. It used to be legal
      2. Prohibition is a slippery slope

      There are billions of ways to have a good time legally.

      Don't tell them! They'll either make them illegal or tax them!

      (And yes, you are coming across as being a bit snobbish with your "holier-than-thou" attitude.)

      -- Barbie

    16. Re:1 in 31 US Citizens in custody or parole by tverbeek · · Score: 5, Insightful

      25% of federal inmates are in there for drug possession. I bet you a good amount of these people wouldn't rob you at gunpoint.

      Not before their incarceration, no. But after surviving lock-up in a Darwinian environment in which "fittest" equates to "most dangerous", then re-entering a society in which convicts are denied the right to a good job, there's a pretty good chance they will. We have a criminal justice system that develops criminals.

      --
      http://alternatives.rzero.com/
    17. Re:1 in 31 US Citizens in custody or parole by tverbeek · · Score: 1

      If the government bans violent video games, isn't the easy solution just not to play them? There are other games, and other ways to entertain yourself. If it bans demonstrations in front of the capital or city hall, there are hundreds – even thousands – of other streets where you can protest. And if it bans a certain religion, just find another one to follow; there are plenty of them.

      Thankfully this kind of thinking is the exception.

      --
      http://alternatives.rzero.com/
    18. Re:1 in 31 US Citizens in custody or parole by mswhippingboy · · Score: 1

      Federal inmates? Drugs? You don't become a federal inmate by a cop pulling you over and finding a joint. That makes you an inmate of the State of whatever if you're extremely unlucky. You become a federal inmate by having a serious amount of drugs, usually confiscated in some sort of raid. Drugs is also a nebulous term and could refer to other less harmless substances.

      Wrong! In Florida, possession of 20grams or more (about 0.7 ounces) of marijuana is a FELONY offense and can get you 5 years in a state or federal prison, depending on which court prosecutes the case. If you are unlucky enough to get caught within within 1,000 feet of a school, park, college campus or "other designated area" you can sit in prison for up to 15 years.

      I wouldn't consider 0.7 ounces a "serious" amount of marijuana.

      --
      Sometimes the light at the end of the tunnel is the headlight of an oncoming train.
    19. Re:1 in 31 US Citizens in custody or parole by Tikkun · · Score: 0, Flamebait

      You could just stop smoking pot.

    20. Re:1 in 31 US Citizens in custody or parole by RNLockwood · · Score: 1

      At least they wouldn't have robbed at gunpoint before incarceration.

      --
      Nate
    21. Re:1 in 31 US Citizens in custody or parole by arth1 · · Score: 2, Informative

      For the benefit of those who don't know how much/little this really is, a regular (80 mm) cigarette is about 1 gram, so 20 g equates to a pack of cigarettes.
      Now, your typical U.S. reefer is fatter than a cigarette, but also mixed with tobacco, so a "typical" one usually contains slightly less than a gram of marijuana.
      So 20 g roughly equates to 25 Mary Janes.

      Hashish, on the other hand, is far heavier before being processed (heated and smoldered), and 20 g probably equates to a matchbook sized brick. And due to it being far stronger than cannabis too, hash cigarettes will have less hashish in them, so you can probably have 40 of them without hitting the limit.

    22. Re:1 in 31 US Citizens in custody or parole by Anonymous Coward · · Score: 0

      >> Or assumes has committed a "real crime" but is hard to prosecute?

      Like being willfully and persistently of a Negroid persuasion ?

    23. Re:1 in 31 US Citizens in custody or parole by Anonymous Coward · · Score: 0

      What about people who were high at the time of posting to slashdot?

    24. Re:1 in 31 US Citizens in custody or parole by Omestes · · Score: 1

      I'm not snobbish enough to feel entitled to a good time even if it means I break the law.

      I don't see what one has to do with the other. The law can be fallible, and the law can be immoral, the law can be unethical, and the law can (oddly enough) be illegal. Just because something is against the law does not make it wrong. For some class of people; having a blurb that says "...it's the law!", just makes them ask the question "why?", and doesn't bring instant fear and revulsion.

      I personally don't smoke marijuana, or do any other (illegal) drugs, though I used to. Actually, I lie, on average I smoke pot once a year, if it is available and being used by others in a social setting. I stopped smoking pot not for legal concerns, but because I couldn't stand the culture around it, and it makes my joints hurt.

      As a rational person, the laws against marijuana use make no sense. If these laws make no sense I will probably ignore them. The only time these laws matter is in cost analysis, what is the potential enjoyment I get from breaking the law, versus risk of getting caught and scope of consequences of getting caught. If the enjoyment is higher than the risk and odds, then I will break the law, if the law makes no sense.

      If the government tried prohibition again, you would instantly be a criminal. If they made alcohol consumption illegal would you stop drinking wine with dinner in the comfort of your own home? If yes, even if there was a very low probability of you getting caught? Would it make sense that a harmless activity that was perfectly legal last night, suddenly means your an immoral, evil, criminal tonight for the same activity?

      Just being law isn't a strong argument. If you don't want me to do an activity give me a decent reason why the activity is wrong. With marijuana use, the only argument against is a legal one, and this, to me, is nonsensical.

      --
      A patriot must always be ready to defend his country against his government. -edward abbey
    25. Re:1 in 31 US Citizens in custody or parole by Anonymous Coward · · Score: 0

      My .44 mag makes me feel safe.

    26. Re:1 in 31 US Citizens in custody or parole by noidentity · · Score: 1

      after surviving lock-up in a Darwinian environment in which "fittest" equates to "most dangerous", then re-entering a society in which convicts are denied the right to a good job, there's a pretty good chance they will. We have a criminal justice system that develops criminals.

      They were clearly criminals all along, and were just waiting for an excuse to show it. Clearly. I mean, we're all probably criminals at heart, and deserve to be locked away for life.

    27. Re:1 in 31 US Citizens in custody or parole by Anonymous Coward · · Score: 0

      As a cannabis user, I can assure you that the average joint does not contain 1 gram of material - try half that or less. You can actually roll a decent blunt (for those not in the know: guts of a cigar replaced with cannabis) with just 1 gram of material. Even a half gram joint, using the cigarette papers you can get from any gas station, is as likely as not to result in torn paper unless the individual is quite good at rolling. Not just that, but when cannabis is purchased, there are varying amounts of stems in it that one doesn't want to smoke. In lower quality cannabis, there are seeds as well. At worst, I've been burned on an ounce of ostensibly good product, removing well over 7 grams of stems and seeds from it; nearly 25% of the weight. I don't think the police bother to only count the actual bud against the weight limit, so...

    28. Re:1 in 31 US Citizens in custody or parole by endymion.nz · · Score: 1

      As a smoker of copious amounts of ganja, I have no reason whatsoever to be out carrying 20 grams of weed in public. Seriously... keep the big bag at home, fill a small one each day. For fucks sake...

      --
      mediocrity rules, man
    29. Re:1 in 31 US Citizens in custody or parole by Anonymous Coward · · Score: 0

      I believe that the majority of American people still believe that people who use and distribute drugs are criminals who belong in jail. If you can't follow the rules then go to a country that doesn't have any laws. I know a few that are just a few hundred miles to the south, some even have the magical entrapments of islands. Good luck making any money down there though.

    30. Re:1 in 31 US Citizens in custody or parole by lanner · · Score: 1

      I'd mod that up more if I could.

    31. Re:1 in 31 US Citizens in custody or parole by Anonymous Coward · · Score: 0

      There are some drugs that carry rediculous charges if you get caught with them. Where I am (in Canada) you can be charged with attempted murder for possession of LSD, which along with the other charges could land you in a federal jail.

  12. How uplifting by cacba · · Score: 1

    Is it odd that I feel secure in their incompetence?

  13. CSV To The Rescue! by WidgetGuy · · Score: 5, Funny

    The actual data was only about 500K. The rest was XML markup.

    --
    One "Aw, Shit!" is worth 100 "Ata boys!"
    1. Re:CSV To The Rescue! by GarryFre · · Score: 1

      Lawl!! I love it! that's great!

      --
      www.Migrainesoft.com - Computer giving you a headache? We can fix that!
  14. Datatype Limit? by Anonymous Coward · · Score: 0

    2 billion sounds like the records are numbered with signed long's as they have a range of -2 147 483 648 to 2 147 483 647. It would explain why the system just fell over rather than slowing grinding to a halt, anyway.

    1. Re:Datatype Limit? by Sulphur · · Score: 1

      Your Honor, my client is numbered as -2147483648. Since this is obviously incorrect I move for dismissal.

  15. 32 bit signed integer strikes again by Co0Ps · · Score: 4, Interesting

    2 billion? That's awkwardly close to 2147483647... This is why your ID field should be BIGINT and not INT.... They where probably logging coordinates etc.

    1. Re:32 bit signed integer strikes again by HyperQuantum · · Score: 2, Insightful

      2 billion? That's awkwardly close to 2147483647... This is why your ID field should be BIGINT and not INT....

      And I see no reason why someone would use a signed integer for an ID field. You're wasting half of the type's range (assuming negative ID's are not used).

      --
      I am not really here right now.
    2. Re:32 bit signed integer strikes again by Anonymous Coward · · Score: 1, Informative

      sorry, but Microsoft SQL Server doesn't support unsigned integers.

    3. Re:32 bit signed integer strikes again by Anonymous Coward · · Score: 0

      +1 Unfuckingbelievable

    4. Re:32 bit signed integer strikes again by PJ6 · · Score: 1

      GUID is better than BIGINT now that the performance issues have been solved by all the major vendors. Not only do GUID lookups actually perform better than INT for tables exceeding 50K rows, but you never have to worry about the headaches that come with moving IDENTITY INT (1,1) data around.

    5. Re:32 bit signed integer strikes again by schmiddy · · Score: 1

      The SQL standard itself doesn't allow for unsigned integers, that's why.

      --
      http://cltracker.net -- powerful craigslist multi-city search
    6. Re:32 bit signed integer strikes again by Surt · · Score: 1

      Seems like a complete waste to use BIGINT if your db is never going to approach a billion rows. Obviously they should have used BIGINT in THIS case, but in general? Or did you only mean this specific case?

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
    7. Re:32 bit signed integer strikes again by Anonymous Coward · · Score: 0

      No, that's why your primary key in your main detail table isn't a single int field.

      Assigning a unique unsigned int to a perp is fine.
      If you have over 2.14 billion individual perps in your system it would be easier to track the non criiminals.
      This is a design problem, and please PC people, this is not in excel, access, etc.

      My guess, this is on AIX or Solaris hardware, Oracle db, and a poor design.
      Surrogate keys, a concatenated primary key, well defined archival procedures would make this easy.
      4+billion record tables are nothing new to me.

    8. Re:32 bit signed integer strikes again by Anonymous Coward · · Score: 0

      You're wasting half in absolute numbers, but only 3% on a logarithmic scale. Given that growth is often exponential, increasing a 2 billion limit to 4 billions will not help much.

    9. Re:32 bit signed integer strikes again by Anonymous Coward · · Score: 0

      2 billion? That's awkwardly close to 2147483647... This is why your ID field should be BIGINT and not INT....

      And I see no reason why someone would use a signed integer for an ID field. You're wasting half of the type's range (assuming negative ID's are not used).

      Standard database best practice is to only use sequentially assigned positive integer surrogate keys beginning with 1.

    10. Re:32 bit signed integer strikes again by Anonymous Coward · · Score: 0

      Wow, you're only the eight person to point this out. yet somehow you get modded "interesting"...

    11. Re:32 bit signed integer strikes again by Anonymous Coward · · Score: 0

      The vast majority of the time people use signed integers when all they need is unsigned. Not just in databases but with programming in general. The beautiful thing about unsigned integers is that you get modulo overflow. Imagine all the stack smashing bugs that would never have worked if an index overflowed to a smaller positive integer rather than a negative integer.

      I very rarely use signed integers. And I very rarely use languages like Perl or Java for complex format and protocol parsing specifically because using unsigned arithmetic is a PITA.

    12. Re:32 bit signed integer strikes again by tepples · · Score: 1

      The vast majority of the time people use signed integers when all they need is unsigned.

      That depends. What unsigned integer type do you recommend in Java, PHP, Python, Perl, or other languages that routinely interface to databases?

    13. Re:32 bit signed integer strikes again by Anonymous Coward · · Score: 0

      if they're using sql server then there isn't an unsigned int.

    14. Re:32 bit signed integer strikes again by Blakey+Rat · · Score: 1

      Microsoft SQL Server doesn't have unsigned types, because the SQL standard doesn't have unsigned types. SQL RDBs with unsigned types are in violation of the standard. (Of course, since all SQL implementations differ from the standard-- MS SQL Server's T-SQL isn't even remotely close-- this isn't really saying much... but there you go.)

      Part of working with databases is knowing the limitations of each RDB. I'm sure Slashdot is going to bitch and moan at Microsoft for leaving out such an "obvious" feature, but Slashdot bitches and moans about everything Microsoft does anyway.

  16. oceans by Anonymous Coward · · Score: 0

    obviously, this is false! the system must have crashed "accidental" when some criminals were in the middle of a heist!

  17. Data loss is not guaranteed by Ebbesen · · Score: 2, Interesting

    I'm not sure any data has been lost. Say they have a table with the following columns:

    id (auto increment)
    felonid
    gps
    timestamp ...

    If the 2 billion number is simply id that has run over, there's still enough data in the database to recreate the felons whereabouts using the gps and timestamp columns. Might be a problem in the system pulling data (based on id), but probably no data has been lost.

    1. Re:Data loss is not guaranteed by Grygus · · Score: 2, Informative

      You're right. From the press release: '“Importantly, the monitoring system continued to operate and gather information, but transmissions were delayed until the system was restored. Offender activity logged while the server was being worked on was effectively processed at 7:25 p.m. MT when the system was restored. Alerts that may have occurred during this period were transmitted to our customers at that time."'

  18. Database wrong type? by hcs_$reboot · · Score: 1

    Looks like the ID type of the row in the database was a signed integer, overflowed from ~2 billions.
    In this case the problem would be a simple database structure design problem, using the wrong type (with heavy consequences).

    On MySQL instead of int, using bigint would have allowed up to the theoretical value of 2^63-1 records.

    --
    Slashdot, fix the reply notifications... You won't get away with it...
    1. Re:Database wrong type? by TheLink · · Score: 1

      BTW if you ever need to load billions of records (restore or upgrade) into a DB be prepared to wait for hours. Hope the boss/customer doesn't expect it'll be done in just an hour or so ;).

      This guy took 45 minutes to insert 40 million rows:
      http://www.justincarmony.com/blog/2009/01/12/mysql-40-million-rows-myisam-innodb/

      This guy probably did better:
      http://www.dslreports.com/shownews/Mysql-and-a-billion-rows-using-innodb-87890

      At a prev work place they were using an older version of MySQL and the DB guy had to resort to switching from innodb to myisam just to load in a multiGB DB (he was restoring from a backup). Not good to lose transactions just because of this limitation, but given they picked MySQL, I doubt they cared that much about data integrity (the company did lose data or have it corrupted because of MySQL more than once, but hey the company survived it ;) ).

      --
    2. Re:Database wrong type? by Anonymous Coward · · Score: 0

      Don't worry, Innodb is now a gateway drug to Oracle. It can handle a few more rows than can MySQL.

    3. Re:Database wrong type? by Surt · · Score: 1

      I'd guess the offender registry probably uses a commercial db (oracle/sqlserver). Those will handle billions of rows a bit faster than you're describing. We regularly generate performance testing databases and do a TB (~10B rows) insert in 4-5 hours.

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
    4. Re:Database wrong type? by thePowerOfGrayskull · · Score: 1

      Looks like the ID type of the row in the database was a signed integer, overflowed from ~2 billions. In this case the problem would be a simple database structure design problem, using the wrong type (with heavy consequences). On MySQL instead of int, using bigint would have allowed up to the theoretical value of 2^63-1 records.

      Wow, you're quick! I'll bet *nobody* else here thought of that -here at slashdot of all places!

    5. Re:Database wrong type? by hcs_$reboot · · Score: 1

      eh eh :-) Well there was no mention of that possibility in the previous posts...
      It is probably obvious for geeks like you, but not for everybody (say, 0.01% of /. readers).

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    6. Re:Database wrong type? by thePowerOfGrayskull · · Score: 1
      I saw one mention the possibility of DB column limits; most seem to be taking the "int overflow" route, which is another facet of the same.

      Bah. You went and gave a serious reply to my snide comment, and now you've ruined my fun. I'm taking my toys and going home. ;)

    7. Re:Database wrong type? by hcs_$reboot · · Score: 1

      Be the power of gray skull be with you.
      (very seriously)

      --
      Slashdot, fix the reply notifications... You won't get away with it...
  19. Oh dear oh dear oh dear by Kupfernigk · · Score: 1, Informative
    I think you really need to read a primer on data mining. The attitude you describe is all too common and brings pain in its wake. If you find you want more than 65000 rows in a spreadsheet, your problem is almost certainly inappropriate for a spreadsheet solution. Even Access is vastly better, and if you (a) don't have even basic data mining and (b) the data is going out to PHBs, Filemaker is your friend.

    Also, chances are, if you think any typical business data set is best represented by a spreadsheet, you are probably not qualified to make the call.

    --
    From scarped cliff or quarried stone she cries "A thousand types are gone, I care for nothing, no not one."
    1. Re:Oh dear oh dear oh dear by Ironhandx · · Score: 5, Insightful

      And you are clearly completely unaware of the accounting world.

      I have yet to meet an accountant that knows much of anything about access or any other database system. On the other hand the majority of them have complained about the 65000 line limit in excel.

      They ALL do this. You're telling thousands of accountants to change how they do things, and honestly, not for the better. They know how to use excel and know how to make things balance with excel.

      A large portion of them took accounting because it was supposed to make them a lot of money, these people don't even use 1/10th of the functionality provided in excel, lets not try to make them learn another entirely different software skill set, ok?

      Even if you're currently working in IT and are like "Oh, no, our accountants have access to all this stuff in our system and they would never do that". Trust me, they do. It all ends up in an excel sheet somewhere eventually.

    2. Re:Oh dear oh dear oh dear by schon · · Score: 3, Insightful

      And you are clearly completely unaware of the contracting world.

      I have yet to meet a contractor that knows much of anything about screwdrivers or any other tool than a hammer. On the other hand the majority of them have complained about how hard it is to drive screws with the hammer.

      They ALL do this. You're telling thousands of contractors to change how they do things, and honestly, not for the better. They know how to use a hammer and know how to drive nails.

      A large portion of them took contracting because it was supposed to make them a lot of money, these people don't even use 1/10th of the functionality provided by a hammer, lets not try to make them learn another entirely different tool skill set, ok?

      Even if you're currently working in contracting supply and are like "Oh, no, our contractors have access to all this stuff and they would never do that". Trust me, they do. It all ends up pounded by a hammer somewhere eventually.

    3. Re:Oh dear oh dear oh dear by tomhudson · · Score: 1
      No, what they're saying is that times change, and if they can't learn the tools of the trade for dealing with larger data sets, they should stick to smaller businesses.

      Also, the quick fix for the 2 billion records is "delete * from sex_offenders where known_alias ='cowboyneal'";

    4. Re:Oh dear oh dear oh dear by aaarrrgggh · · Score: 1

      I had an application where I needed to manipulate a few million records to analyze data in excel. When you start using pivot tables, auto-filters, and the like, it isn't that hard to get into these absurd numbers.

      For myself, I ended up just using perl and a few shell scripts to get data into manageable worksets, but to claim a database is the answer to everything ignores many different things that can effectively be analyzed in the more free-form world of spreadsheets.

    5. Re:Oh dear oh dear oh dear by Ironhandx · · Score: 1

      The problem is the times change a lot faster than the people do, and accounting requires a different head than programming does. Sure some people can manage both, but most can't. A lot of accountants I know are still more comfortable with a pen and paper than anything else really.

      For proof: See all of the millions upon millions of tonnes of paper thrown into filing cabinets every year just because accounting wants "a paper copy"

      Also, to be honest, they have to know so much already and keep up with so many changing tax rules plus tax software every year that the majority of them have their capacity for learning while working maxed out anyways.

      Then you ask them to learn a whole new skill set? Honestly I'd rather my books be balanced than have my accountant either leave to learn something new for 6 months or risk having my books screwed for the year because of a mis placed piece of code.

      Basically, think of how stupid the average person is, then remember that accountants fall under the same bell curve, even if basic job requirements push the mid point 5 points or so higher on an IQ scale. The top 20% could pull off learning how to do this in a db environment, leaving you with a massive shortage of accountants.

      tl;dr : *New* or *Theoretically Better* does not necessarily mean *Practically Better*.

    6. Re:Oh dear oh dear oh dear by billatq · · Score: 2, Informative

      The limit has been raised to about a million for a few versions now: http://office.microsoft.com/en-us/excel-help/excel-specifications-and-limits-HP010073849.aspx

    7. Re:Oh dear oh dear oh dear by tomhudson · · Score: 1

      Also, to be honest, they have to know so much already and keep up with so many changing tax rules plus tax software every year that the majority of them have their capacity for learning while working maxed out anyways.

      That's true in a lot of jobs, and certainly won't get any sympathy from me - the IT field changes a lot more in one year than accounting does in a decade.

      When it was first created, SQL was considered a sort of a "databases for dummies." It let non-programmers use databases. "Real programmers" at the time dealt directly with file formats, records, and fields.

      There's no excuse today except inertia - there are plenty of visual query tools around - no need for them to learn much new stuff.

      -- Barbie

    8. Re:Oh dear oh dear oh dear by sgbett · · Score: 1

      Knowing how to use a program, whilst nice, isn't up there on the list of critical requirements.

      Being able to perform the desired task is though.

      --
      Invaders must die
    9. Re:Oh dear oh dear oh dear by Coeurderoy · · Score: 1

      I had once to convince my accountant that calculating the VAT on a set of items and then summing the VAT(s) was the same as summing the values of the items and calculating the VAT on the sum..

      a*(b+c) == a*b+a*c was not part of her training (apparently)

      and no she didn't mention rounding errors.... so no surprise...

      But of course they should use CALC or even better R :-)

    10. Re:Oh dear oh dear oh dear by Toze · · Score: 2, Insightful

      Excel + ODBC + Oracle/Postgres/MySQL/whatever = warehouseable accounting data with no change in user experience.

      --
      No OS on the planet can protect itself from a user with the admin password. - Yvan256
    11. Re:Oh dear oh dear oh dear by Anonymous Coward · · Score: 0

      after working 6 years in banking IT supporting the business units, i can say you are 100% correct sir :)

    12. Re:Oh dear oh dear oh dear by aynoknman · · Score: 1

      The limit has been raised to about a million for a few versions now: http://office.microsoft.com/en-us/excel-help/excel-specifications-and-limits-HP010073849.aspx

      And how many accountants never migrate their data to a version earlier than Excel 2007?

      --
      We need a "+1 -- nice sig" moderation.
    13. Re:Oh dear oh dear oh dear by Anonymous Coward · · Score: 0

      They ALL do this. You're telling thousands of accountants to change how they do things, and honestly, not for the better. They know how to use excel and know how to make things balance with excel.

      No, we don't. Tax preparers, and maybe lots of uninformed CFOs do. The rest of us are moving to using Python (by legal mandate) and Haskell.

      It is easier to write an algebraic equation than it is to select thousands of rows or columns. It is faster and easier to pull stuff from a data base than to try to re-invent one using a spreadsheet. Spreadsheets are only usable for small accounts.

    14. Re:Oh dear oh dear oh dear by Threni · · Score: 2, Insightful

      You're missing the point. They don't want a solution - they want to quickly look at some data, make a decision based on it, and move on. No-one's going to pay for/install an app; deploy stuff to a website etc. I can do the sql query, export to csv, import into Excel, spend 1 min on it and email it on. Done - on to my next task. Access is a piece of shit, and getting data from Oracle/SQL Server and putting it into Access is just bizarre, even if I could guarantee all end users would have it installed.

      > Also, chances are, if you think any typical business data set is best represented by a spreadsheet, you are probably not qualified to make the call.

      You're not qualified to make this call if you can't understand that I'm giving the users what they want, quickly and cheaply; they'd tell me if it wasn't any use. They want the numbers, not a "solution".

    15. Re:Oh dear oh dear oh dear by N1EY · · Score: 1

      I hope some of you guys realize that paper AGES. Paper is actually less resistant to alteration in the intermediate term. Really slick guys who thought that the actually paper did not matter found out the hard way. I guess that in Texas companies always liked to make fake invoices. A photocopy of a fake invoice or PDF of a fake invoice is less likely to give it away. It was predominant in fraud out there. I have several DB programs. We have a custom DB program which uses SQL, which has been forced upon us as well. Excel actually has more functionality and the users are not behind the 8 ball. The DB program is totally useless and is actually limited to 25 columns in its special file format. It has 26 columns, but requires the 26th for idiot retention. Who ever programed this debacle, if you are out here. Let me know. The idea that there is no "data mining" is irrelevant. The accountant is the data miner. I know that many programmers do not even understand some of the accounting issues that happen when it is explained to them. I think that perhaps the top 5% of the programmers could make a switch to be accountants of below average quality.

    16. Re:Oh dear oh dear oh dear by statusbar · · Score: 1

      The accountants tell me how to do things all the time! They all laugh when I try to calculate my income tax with a python script!

      Just because a tool is available does not mean it is the right tool for a specific job. Anyone who does not realize this is probably not very good at many things.

      --jeffk++

      --
      ipv6 is my vpn
    17. Re:Oh dear oh dear oh dear by Anonymous Coward · · Score: 0

      Also, the quick fix for the 2 billion records is "delete * from sex_offenders where known_alias ='cowboyneal'";

      Invalid syntax: "delete * from". Did you mean "delete from"?

    18. Re:Oh dear oh dear oh dear by tomhudson · · Score: 1
      Sorry, I haven't gotten around to writing the standard for the replacement for sql yet. Maybe next month :-)

      -- Barbie

    19. Re:Oh dear oh dear oh dear by DryGrian · · Score: 1

      How is it that your accountant never took high school algebra? The distributive property of multiplication isn't exactly obscure.

      --
      For optimal comment enjoyment, take red pill now.
    20. Re:Oh dear oh dear oh dear by guruevi · · Score: 1

      Then send off that Excel file to anybody else and see it all break down.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
  20. Lemming database design by Kupfernigk · · Score: 2, Interesting
    We consistently see this in monitoring systems designed by other companies. In our own monitoring systems we make extensive use of sparse appends (i.e. data only gets added to when there is a significant change, and we maintain a timestamp for the last update for each entity being monitored so we know that monitoring is actually taking place.) Of course this puts a lot more up front effort into actual system design.

    There seems to have been a period, roughly when hard drive capacity was rising more rapidly than application demands for data, when nobody cared too much. Before that, backing store was limited and we had to worry about data size. Now, application data sets are growing enormous even for quite trivial applications, and we need to worry about keeping data storage in bounds again.

    --
    From scarped cliff or quarried stone she cries "A thousand types are gone, I care for nothing, no not one."
    1. Re:Lemming database design by MichaelSmith · · Score: 2, Interesting

      And maybe they don't need every GPS position in the database. It could be there just to cover for legal requirements in which case they could append it to a binary file and open a new file every day. Compress the old files with bz2 and archive all data more than a year old.

  21. Lindsay Lohan celebrated the news by Anonymous Coward · · Score: 0

    With her traditional keg stand.

  22. Slashdot had this problem by Chris+Snook · · Score: 5, Informative

    Anyone remember when Slashdot hit 16,777,215 comments, and overflowed MEDIUMINT? The ALTER TABLE statement that fixed it took hours to run. I shudder to think how long it'll take to fix this, even with the problem diagnosed.

    --
    There's no failure quite as dissatisfying as a complete and total solution to the wrong problem.
    1. Re:Slashdot had this problem by Anonymous Coward · · Score: 0

      Only a few minutes on modern hardware. Mostly just depends on the hdd.

    2. Re:Slashdot had this problem by Surt · · Score: 1

      What DB was slashdot running on .. oracle and sqlserver will both do this sort of upgrade in very little time.

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
  23. Hmmmm by luis_a_espinal · · Score: 3, Interesting

    Sharding? Partitioning? But most importantly, using 64bit int types (or bigger) rather than 32-bit ints for primary indexes? I mean, what the hell they were using to store that data anyways? A Visicalc spreadsheet running on a TRS-80?

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

      An Access db, undoubtedly. With a visual basic GUI interface to track their IP addresses.

    2. Re:Hmmmm by Anonymous Coward · · Score: 0

      Yes.

  24. Quickbase would be my guess by Sycraft-fu · · Score: 3, Interesting

    It seems to be the crap database of choice these days, especially for consulting companies. Friend of mine got a job not long ago as a consultant for a consultant. Yes really, he consults for a consulting firm. Not like he is someone they hire out, he is a consultant they hire to work on jobs they've been hired to work on. The thing that got him the job was his Quickbase experience. This company loves them some Quickbase for some reason. However they are always bashing in to limits it has. Had they used MSSQL or Oracle they'd be fine, but they didn't. So a major thing he does is work around those limits in various creative ways. Retarded, but that's what they want and they'll pay for it.

  25. Maybe the answer isn't better software by assertation · · Score: 5, Insightful

    Maybe the answer isn't better software, but fewer criminals to fill up the database with.

    I keep seeing articles here and there how the U.S. has more people imprisoned than China. A large chunk of the prison population are inmates convicted of drug crimes and a large portion of that set of people were convicted on marijuana laws.

    I don't smoke, but as a tax payer I would rather see the government make marijuana into a tax revenue generator instead of a huge expense to paid for with taxes.
     

    1. Re:Maybe the answer isn't better software by WinstonWolfIT · · Score: 4, Insightful

      The Chinese use a simpler, more lethal solution to prison overcrowding.

    2. Re:Maybe the answer isn't better software by TheScreenIsnt · · Score: 0

      Our jails and prisons are also swelling because of the slow death (through years of budget cuts) of our community mental health system. A scholarly article on the matter

    3. Re:Maybe the answer isn't better software by Anonymous Coward · · Score: 0

      As long as marijuana is illegal, then people caught with it are criminals. They aren't innocent because you don't agree with the law.

    4. Re:Maybe the answer isn't better software by Anonymous Coward · · Score: 0

      You can't have a bunch of potheads running the country.. legally.

    5. Re:Maybe the answer isn't better software by tverbeek · · Score: 2, Informative

      In addition to having the largest number of prisoners by headcount, the US has a comfortable lead in the largest percentage of its population (715/100K) in prison. Russia and Belarus (core of the former Soviet Union) are the closest competitors (554-585/100K), followed by an assortment of various small "third world" countries, other former Soviet-bloc states, South Africa, and Singapore. Not great company. The first western-European country – the societies that the US is supposedly closest to in culture and values – on the list is Spain at #61, with 144/100K; most of western Europe is under 100/100K. Canada is at 116/100K. Granted, I wouldn't want to live in some of the countries toward the bottom of the list either; something tells me that they're doing something wrong, too. But a country that has more people in prison than it has in New Mexico? Something's clearly wrong there.

      Stats: http://www.nationmaster.com/graph/cri_pri_per_cap-crime-prisoners-per-capita

      --
      http://alternatives.rzero.com/
    6. Re:Maybe the answer isn't better software by Ravon+Rodriguez · · Score: 1

      The law is irrational and based on archaic values. Commercially available cigarettes and alcohol do more damage to a person's physical, psychological, and social well-being than marijuana and a few other of the less dangerous "illegal" drugs ever could. As long as a practice doesn't subvert the rights of others, the fourteenth amendment guarantees the right to perform it (in part, "No State shall make or enforce any law which shall abridge the privileges or immunities of citizens of the United States"). By definition, the law preventing the possession and use of marijuana is criminal, and not the people who break it.

      --
      Jesus loves me, he loves me a bunch, because he always puts Jiffy in my lunch.
    7. Re:Maybe the answer isn't better software by Anonymous Coward · · Score: 0

      And the selling of organs is also a revenue generator. Except that the income will mostly come from the rich instead of the poor and middle class.

    8. Re:Maybe the answer isn't better software by t2t10 · · Score: 1

      The US does have fewer criminals to fill up the database with: US crime rates are substantially lower (and decreasing) than, say, in Europe (where they are increasing). And a large part of US crimes is concentrated in illegal alien populations or inner-city (gang?) related.

      The primary reason for the high US incarceration rate is longer sentences. Drug laws also contribute. And these ankle bracelets are an attempt to address the incarceration rate, by getting non-violent offenders out of prison. That seems like a good thing overall.

      (Still, I think decriminalizing many drugs would be a good thing.)

    9. Re:Maybe the answer isn't better software by assertation · · Score: 1

      Excellent point. I wish I could mod you up.

    10. Re:Maybe the answer isn't better software by assertation · · Score: 1

      You can't have a bunch of potheads running the country.. legally.

      but ex-with fundamentalist Christian anti-masturbation activists like Christine O'Donnel who lied about going to Oxford and who didn't pay her tuition bills until this election cycle are okay?

      Then there is this congressional candidate from Ohio who likes to dress up in the appropriate uniform for Nazi reeenactments:

      http://www.theatlantic.com/politics/archive/2010/10/why-is-this-gop-house-candidate-dressed-as-a-nazi/64319/

      Please, bring on the potheads

    11. Re:Maybe the answer isn't better software by Anonymous Coward · · Score: 0

      The Chinese use a simpler, more lethal solution to prison overcrowding.

      Didn't you mean to say the chinese use a more simpler, lethal solution to integer overflows?

    12. Re:Maybe the answer isn't better software by slashqwerty · · Score: 1

      The US does have fewer criminals to fill up the database with: US crime rates are substantially lower (and decreasing) than, say, in Europe (where they are increasing). And a large part of US crimes is concentrated in illegal alien populations or inner-city (gang?) related.

      That comes across like a bunch of ignorant stereotyping. Let's take a look at actual numbers. The US has the 24th highest murder rate in this survey at 0.042802 per 1000 people. Aside from Poland, the only European nations with a higher rate are former Soviet Bloc Countries. Wikipedia has a more complete table showing a very similar picture.

      Countries do not collect stats on other crimes in a manner similar enough to develop an international comparison.

      As for your comment on illegal alien populations being responsible for "a large part of US crimes" I haven't seen any statistics on that and I doubt anyone else has either. There is no good way to compile such statistics. It does however make sense. If someone can not ask law enforcement to help settle disputes they will take the law into their own hands. The person they retaliate against will retaliate back. The simple solution to that is to open up the gates to legal immigration. Black markets work the same way. It is why the war on drugs drives up the crime rate.

    13. Re:Maybe the answer isn't better software by Anonymous Coward · · Score: 0

      One state has a plan to simply make fewer people criminals.
      http://google.com/search?q=Proposition-19+legalize-marijuana&hl=all
      Californians get to vote on that November 2nd.

      gewg_ (CAPTCHA: dreamers)

    14. Re:Maybe the answer isn't better software by Anonymous Coward · · Score: 0

      The Chinese use a simpler, more lethal solution to prison overcrowding.

      Yeah, and if we just shot everyone the day they were born we could prevent all crime! One of the differences between our culture and theirs is that we value individual lives.

    15. Re:Maybe the answer isn't better software by t2t10 · · Score: 1

      I wasn't talking about murder rate, I was talking about crime rate. Go Google the data yourself; it's out there.

      f someone can not ask law enforcement to help settle disputes

      Have you been living under a rock? Illegal aliens can and do ask police to "settle disputes"; that's what the Arizona law was intended to change.

      The simple solution to that is to open up the gates to legal immigration

      I don't see a problem that requires a solution. People choose to be in the country illegally; if they don't like the level of policing, they can choose to leave again.

  26. Where's Waldo? by hcdejong · · Score: 1

    We don't know!

    (check the name of the BI Inc spokesman)

  27. Cheaper solution to "2 billion" problem by eagl · · Score: 0

    For repeat or first-time violent sex offenders, castration seems like a much better solution overall. Either physical or chemical, the positive results for both the offender and society are well proven alternatives to lifelong incarceration, tracking, monitoring, etc. In addition to helping protect society, it would also be less expensive, a nice additional bonus for our society.

    2 Billion. That is a lot. It simply boggles the mind that many governments today think it is OK to rigidly restrict mostly harmless activities of law abiding citizens, yet are so resistant to taking effective steps to prevent or moderate one of the worst sorts of human crimes. In the US, politicians find it convenient to ignore constitutional issues when it comes to increasing police powers and controlling basic citizen activities, but they shirk their responsibilities and make all sorts of claims why they can't do something to actually protect society from our worst criminals.

    1. Re:Cheaper solution to "2 billion" problem by Anonymous Coward · · Score: 0

      If you think that someone who got caught having sex in a public place, or a man who showed his penis to a child, or an 18-year-old boy who had sex with a cooperative 15-year-old girlfriend is one of "our worst criminals", I want to live your fantasyland.

    2. Re:Cheaper solution to "2 billion" problem by twidarkling · · Score: 3, Informative

      You obviously don't know the meaning of physical castration, the effects of chemical castration, and the varieties of violent sex offences.

      Physical castration is simple removal of the testicles. You can still gain and maintain an erection after such a procedure on a normal male. Rape is still possible, especially since it's less about sex, and more about power, thus a sex drive reduction is immaterial to the process.

      Chemical castration prevents erections, as long as you're still taking the drugs. Miss a dose, and you're operational again fairly quickly. However, it doesn't stop sex drive at all, nor does it curb aggressive behaviour, so foreign object rape is still possible, which is usually much more damaging to the victim. Also, the chemicals required are *really* fucking expensive.

      And your plan doesn't cover female sex offenders in any way, shape, or form. Please, before you spout off idiocy, make sure it's actually idiocy that stands some hope in hell of actually working, instead of just inflicting it on those of use who use our brains as more than a way to keep our ears separated.

      --
      Canada: The US's more awesome sibling.
    3. Re:Cheaper solution to "2 billion" problem by MartinSchou · · Score: 1

      Well, a cheap and fairly effective way to solve the male issue at least would be Sharia law of some sort.

      I mean - if you get your hand cut off for stealing with it ...

    4. Re:Cheaper solution to "2 billion" problem by Anonymous Coward · · Score: 0

      this, again, does nothing about foreign object rape

    5. Re:Cheaper solution to "2 billion" problem by Anonymous Coward · · Score: 0

      Rape is still possible, especially since it's less about sex, and more about power...

      This is a popular opinion, but not very well-supported. Actual experimentation on the subject, looking at the incidence in a population of insects of a gene that makes them rape-happy, indicates that it improves their reproductive success - ie, it's about sex. If a similar experiment could be conducted on humans, it's likely that it would show the same thing.

  28. Population of USA. by wisnoskij · · Score: 1

    As far as I can tell the population of the USA (http://www.wolframalpha.com/input/?i=population+of+USA) is around 312 million.
    Which is not even close to 2 billion....

    So how can the US be monitoring over 6 times it population?

    --
    Troll is not a replacement for I disagree.
    1. Re:Population of USA. by Surt · · Score: 1

      Maybe they keep more than one record per offender in their movement monitoring database. Shocking, I know. Imagine the phone call: hello, there was an attack at XYZ Elementary School last week, we think it might have been wisnoskij, can you tell us where he was thursday at 2pm? No, you can only tell us where he is now? Your system only keeps one record per offender?

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
    2. Re:Population of USA. by wisnoskij · · Score: 1

      OK i guess record probably just means piece of data, meaning every single person would have many.

      --
      Troll is not a replacement for I disagree.
  29. maybe the update got delayed fly attendant system by Joe+The+Dragon · · Score: 1

    maybe the update got delayed like that fly attendant system tracking / scheduling system that crashed when it hit to many changes for a month it has placed to be replaced / updated but due to budgets cuts that was pushed back.

  30. 2 billion records by Surt · · Score: 1

    One record per second for the year, tracking your location, 31 million records per day, per offender. A decade of records, a dozen offenders, 3 billion records. Oops ... they're not even tracking them that accurately. Maybe they're only tracking minute by minute, but for a couple of thousand offenders. I sure hope it's not hour by hour, it'd be too easy to get to a school, do something horrible, and get back before the system would notice.

    --
    "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
    1. Re:2 billion records by twidarkling · · Score: 1

      Ideally, it would track when they leave home, minute-by-minute, and when they're at home, just have one record saying "at home from X to Y." That'd save a fair bit of room, I'd think

      --
      Canada: The US's more awesome sibling.
    2. Re:2 billion records by KingAlanI · · Score: 1

      that kinda sounds like a straightforward compression scheme, but can you decompress the data in (near-)realtime to make it usable?
      [decoders for any sort of compressed music file, lossless or otherwise, come to mind as an example of that working.]

      --
      I listen to both RIAA and non-RIAA stuff if I like the music, tangential business/politics nonwithstanding.
  31. You have it backwards. by fyngyrz · · Score: 3, Insightful

    There is no authorization in the constitution for laws that control what you do personally or consensually. The criminals, as Mark Twain told us, are in the legislature.

    And as long as the government is out of compliance with the constitution, the government is a criminal organization. Law-breakers and oath-breakers, both.

    --
    I've fallen off your lawn, and I can't get up.
    1. Re:You have it backwards. by tepples · · Score: 1

      There is no authorization in the constitution for laws that control what you do personally or consensually.

      The Supreme Court of the United States disagrees with you (Wickard v. Filburn). Good luck convincing three-fourths of state legislatures to amend the Constitution to define "commerce among the several states" more strictly.

    2. Re:You have it backwards. by Anonymous Coward · · Score: 0

      There are actually *plenty* of authorizations in the constitution that allow the congress to prevent you doing things that you personally of consensually want to do.

      Want to buy some cigars from Cuba? So sorry, but the congress has the constitutional right to regulate trade with a foreign power and they can prevent you doing so.
      Want to copy somebody's music? So sorry, but congress has a black letter constitutional right to introduce a patent or copyright system if its so inclined.

      There are, to be sure, *huge* tranches of behavior territory which are explicitly protected from governmental interference. Likewise, as written (although not always in fact), the constitutional default is in favor of liberty e.g. unless the constitution explicitly grants government power over something, then it has none. Nonetheless, its naive and untrue to make the assertion that the constitution prohibits *all* interference in people's private lives. The founds of the US were not libertarians; they were classic liberals who viewed government as a necessary guarantor of freedom, albeit a dangerous one.

    3. Re:You have it backwards. by Anonymous Coward · · Score: 0

      A crime is anything the monopoly on violence defines as one. Therefore, by this definition of the state, it cannot be criminal if it doesn't wish to be. Now, it is immoral, of course. However, criminality is function of state. If their actions contradict the US constitution, all they need to do is create exceptions for it(through implementation in the US code, legal rulings in the judicial branch and on and on). Calling them criminal for contradicting laws that they themselves are permitted to enforce is missing the point. A state is a monopoly on the permitted use of violence for some geographical region. A crime is what ever the state says is a crime. The trappings of democracy and such only legitimize this ability by obscuring and spreading out this process over time and people. The result may be slower than if in a simple monarchy, but it is still the same.

      The only true impediment to blatant disregard of the rule of law by the state is from those it controls, which again is often confused and conflated with democracy but really isn't. Not exactly. The difference, besides one being necessarily a function of coercion, is that society itself outside of the process of majority rule is the sum total of each and every decision each and every person makes. Voting can be thought of as one single choice to control others and the most popular single answer wins. But then that tool of violence simple becomes absorbed by the rich and powerful into doing what it says(corporatism in the case of the US). While the vast number of choices we make each day in society freely cannot be turned against us, and whats more, they more accurately reflect the reality around us, be it in economic concerns or other aspects of society. This is because you cannot properly and rationally price things(and I don't just mean buyable goods, I mean everything a society can evaluate) at the point of a gun.

      So the heart of the issue isn't that they are or are not following the law, because they are the law makers. They can and do "control what you do personally or consensually" because they have the authority to do so.

    4. Re:You have it backwards. by fyngyrz · · Score: 2, Informative

      The Supreme Court of the United States disagrees with you

      They're the criminals here -- they have a considerable stake in disagreeing with me. However, the constitution is entirely on my side.

      These are the very people who think they can re-define "shall make no law" as "hey! Let's make a law!", and "shall not infringe" as "hey! Lets infringe!", and "interstate commerce" as "intrastate commerce", and "shall make no ex post facto laws" as "hey! let's make some ex post facto laws!", and so forth.

      The US Supreme Court is a den of oath-breaking, constitution violating, unauthorized and illicit operators.

      I may not be able to do anything about it, but I can certainly observe it. It's right there to see. The constitution defines the role of the legislature, judiciary and executive. When they step out of those roles, they're acting in an unauthorized manner. Only the constitution gives them any authorization to do form a framework to do anything, and further, it locks them out of many types of actions; no law that steps outside those authorizations, or enters into areas forbidden, is actually valid. It is an unauthorized, and therefore illegal, exercise of coercive force.

      You can quote law and judicial opinion until you grow hair on your palms, but the fact is, those offices were never authorized to operate in a vacuum. They have well defined roles within which they may operate in an authorized manner. When they claim otherwise, they are no longer operating as a legitimate arm of our authorized government: They are acting as a ruling force, despotic, coercive, and arbitrary.

      --
      I've fallen off your lawn, and I can't get up.
    5. Re:You have it backwards. by tepples · · Score: 1

      They're the criminals here -- they have a considerable stake in disagreeing with me

      I'm inclined to agree with you, but good luck convincing three-fourths of state legislatures that the justices of the Supreme Court have acted criminally.

    6. Re:You have it backwards. by fyngyrz · · Score: 1

      They can and do "control what you do personally or consensually" because they have the [power] to do so.

      There, fixed that for you. You're a little confused about the difference between power and authority. Power is the ability to do something; authority is the right to do something.

      They can exist together or in isolation. But they don't mean the same thing at all.

      --
      I've fallen off your lawn, and I can't get up.
  32. Anonymous Coward by Anonymous Coward · · Score: 0

    In another note the person tasked with running Nagios against the datastore suggested someone comes up with an OS/2 client quick!

  33. No, but... by Anonymous Coward · · Score: 0

    Access *is* limited to 2 billion bytes.

    I assume they are mistakenly equating bytes with records.

  34. "Well proven" "better solution" - rubbish by Kupfernigk · · Score: 2

    The ghost of Alan Turing wants a word with you.

    --
    From scarped cliff or quarried stone she cries "A thousand types are gone, I care for nothing, no not one."
  35. what do those numbers actually mean? by t2t10 · · Score: 1

    Look at that. 25% of federal inmates are in there for drug possession. I bet you a good amount of these people wouldn't rob you at gunpoint.

    Well, the drug laws are wrong and ineffective. However, that tells you that drugs are not the primary reason for the high US incarceration rate, because even 75% of 3.2% is still high.

    So, what do those numbers mean? If you look at the statistics, there is actually more crime overall in Europe than in the US, and the rates are increasing in Europe and decreasing in the US. Furthermore, much of the US crime is concentrated in specific populations--30% of it alone among illegal aliens. That means that if you're a middle class American--the kind likely to vote--your risk of being a crime victim is even lower compared to Europe. Conversely, Europe has higher crime statistics despite having much lower illegal alien populations, better social services, less wealth disparity, supposedly better in-prison rehabilitation, and fewer immigrants.

    The primary reason for higher incarceration rates in the US are longer sentences. Harsher drug laws also contribute. I bet more effective policing also does contribute. But given the crime statistics in the US and Europe, European arguments that the US should reduce its sentences are not actually all that convincing.

    Personally, I hope the US will decriminalize many drugs and rely more on long-term out-of-prison monitoring for non-violent offenders; that should save money and allow people to re-integrate into society. I don't think the simplistic European approach of lighter sentences is going to be politically feasible, and it certainly has not shown to be effective.

    1. Re:what do those numbers actually mean? by Omestes · · Score: 1

      30% of it alone among illegal aliens.

      Citation needed.

      Though an argument can be made that every illegal immigrant is a criminal, just by the "illegal" in the term. This is a pretty boring argument though. I'd be more interested in "active" crime statistics.

      --
      A patriot must always be ready to defend his country against his government. -edward abbey
    2. Re:what do those numbers actually mean? by t2t10 · · Score: 1

      Here's an idea: why don't you Google it yourself?

  36. Re:maybe the update got delayed fly attendant syst by Teancum · · Score: 1

    If this was pushed back or delayed, that speaks volumes about the engineering management involved here that also doesn't care about their customers or is doing anything on software maintenance. Companies that ignore the need to at least keep a developer on existing projects fixing bugs and staying fresh on the code base are going to find in the long run that their software will simply suck. It is also a good indication that you need to flee a company selling such software that has been abandoned.

    I've had managers who thought that owning a software company implied that they had a license to print money. In other words, once the software was written that you could fire the developers and keep copying the software laughing all of the way to the bank for each copy you sold. I'm suggesting that is never true except for very trivial pieces of software that aren't worth much in the first place.

  37. Not all languages have 64-bit ints by tepples · · Score: 1

    But most importantly, using 64bit int types (or bigger) rather than 32-bit ints for primary indexes?

    Some languages still have no 64-bit integer type. For example, in PHP compiled for a 32-bit architecture, anything bigger than a 32-bit signed integer is a float. Or in standard C++ compiled for a 32-bit architecture, anything bigger than a 32-bit unsigned integer is a float. (C++98, the current standard, came out before long long was added to C99, so if you see long long in a C++ program, it's a compiler-specific extension.)

  38. You have it short. by C10H14N2 · · Score: 1

    There's no constitutional authorization to forbid private citizens from committing murder...

  39. Prohibition is federal by tepples · · Score: 1

    "No State shall make or enforce any law which shall abridge the privileges or immunities of citizens of the United States"

    "No State shall" doesn't appear to apply to federal statutes. Marijuana prohibition in the United States is a federal statute, and U.S. courts have ruled it a constitutionally acceptable "regulat[ion of] commerce ... among the several States".

  40. then the criminals win by vxice · · Score: 1

    if you give in like that then the criminals win

    --
    every anarchist is a baffled dictator. Benito_Mussolini
    1. Re:then the criminals win by assertation · · Score: 2, Interesting

      I don't see those people as criminals, at least not with a capital 'C'. I'm straightedge but I don't see smoking pot as being any worse than alcohol. I would rather have my crime fighting dollars go to jailing thieves, murderers, rapists, *narcotic* dealers, etc. Not someone doing something the equivalent of having or selling a drink.

    2. Re:then the criminals win by vxice · · Score: 1

      I see you missed the sarcasm in that statement.

      --
      every anarchist is a baffled dictator. Benito_Mussolini
    3. Re:then the criminals win by assertation · · Score: 1

      Even ( especially ? ) on Slashdot there are people who hold that opinion seriously.

  41. That is not an insurmountable problem. by luis_a_espinal · · Score: 1

    But most importantly, using 64bit int types (or bigger) rather than 32-bit ints for primary indexes?

    Some languages still have no 64-bit integer type. For example, in PHP compiled for a 32-bit architecture, anything bigger than a 32-bit signed integer is a float. Or in standard C++ compiled for a 32-bit architecture, anything bigger than a 32-bit unsigned integer is a float. (C++98, the current standard, came out before long long was added to C99, so if you see long long in a C++ program, it's a compiler-specific extension.)

    In cases where you don't have a 64-bit int data type (or you know that your target architecture or compiled format does not support one), simply use two 32-bit (high and low halves) as an aggregate data type, detect when an overflow of the low half is to occur and carry the overflow bit up to the high half. This is sooooo extremely easy to do in C or C++, that it is not even funny. Similarly, if a DB does not have a 64-bit type, then use the same approach just described and use a compound key (high+low) as the primary key.

    How many architectures out there support 128-bit ints? And yet there is a shitload of systems that support 128-bit "big int" arithmetic in the financial world.

    This is a classic solution for implementing a N*m bit counter when the max you have is a N-bit type. It is a classic, textbook CompSci 101 problem that has been successfully and efficiently solved again and again and again using virtually the exact pattern I just described above.

    Having an underlying bit-type architectural constrain has never been an impediment to implement arithmetic on much, much larger bit-types. It is not insurmountable, and in fact, one could argue that it is trivial (when done right, the later which is not that difficult either.)

    1. Re:That is not an insurmountable problem. by tepples · · Score: 1

      In cases where you don't have a 64-bit int data type (or you know that your target architecture or compiled format does not support one), simply use two 32-bit (high and low halves) as an aggregate data type, detect when an overflow of the low half is to occur and carry the overflow bit up to the high half. This is sooooo extremely easy to do in C or C++

      If it were so easy in PHP, the MySQLi library for PHP would automatically map big-integer results from MySQL to some big-integer class. But instead, it appears to map big-integer results to floats.

  42. not really by Alan+R+Light · · Score: 1

    It's true that China executes more prisoners than any other country, but the numbers are still relatively small - 14th place per capita when factoring in documented executions. The U.S.A. is 20th, per capita - 7th in raw numbers.

    http://www.nationmaster.com/graph/cri_exe-crime-executions

    China's 470 executions in a recent year wouldn't even make a dent in the U.S. prison population. Per capita, the U.S. would need about another 120 executions per year to match China's record, and that wouldn't be enough to uncrowd even one typical U.S. prison.

    There are several factors here: the war on drugs is one significant contributor. If one includes both inmates who are being held for possession and inmates whose real crimes were only committed as a consequence of the drug war (e.g. they shot a competitor, or robbed someone to pay the inflated price for their fix, or robbed someone after they lost their job because they tested positive for marijuana on a drug test, etc.) then over half the U.S. prison population is there because of the drug war. If we include those who committed other victimless crimes or petty offences we are talking about an overwhelming majority that should never have gone to prison.

    Unfortunately, they have gone to prison, and prison makes more prisoners. Once imprisoned, a person is more likely to commit more crimes. Children of prisoners are also much more likely to commit crimes and become prisoners themselves.

    That said, most criminals are young men - and most of them age out of criminality. A few do not. They need to be locked up or otherwise prevented from committing more crimes. They are more likely to commit theft than other crimes - these are the people who have long rap sheets with low level offenses, but they are ultimately one of the two groups most damaging to society - the other group being those with poor anger management abilities.

    Any attempt at reform will fail if it does not focus on these two most detrimental forms of criminality: violence and theft (including fraud). Even so, we will need to get away from zero tolerance policies - we should not consider a touch as an assault, nor should anyone ever have to feel concerned about the legality of defending themselves or others from attack. Mostly we need a little common sense, which is always in short supply.

  43. aging out by KingAlanI · · Score: 1

    most of them age out of criminality

    I'm supposing that, in general, people tend to calm down as they mature; curtailing garden-variety criminal tendencies is a subset of this.

    Likewise, some firebrand rappers or punks from the old(er) school seem more controlled now.

    --
    I listen to both RIAA and non-RIAA stuff if I like the music, tangential business/politics nonwithstanding.
  44. 2 billion out of 0.2 billion by Anonymous Coward · · Score: 0

    WTF ? thought US had around 200 million total. That means an average 10 records / citizen ...