Slashdot Mirror


Swift Justice? Mobile Justice In Brazil

tech_imp writes: "Yikes! Talk about swift justice. The BBC is reporting that Judges 'roaming' the streets in Brazil will be using laptops and an app written in VB to help dispense justice. I'm not sure that I would not want to trust my judgement to a VB app ... couldn't they have at least written it something more robust ... like Perl? I can see it now ... your sentence is GPF :')" Three words that spring to mind: "General Protection Fault."

253 comments

  1. Good! This'll free up cops for important things.. by Anonymous Coward · · Score: 1

    ...like gunning down street kids for fun and profit.

  2. Re:VB not as robust as Perl? by Anonymous Coward · · Score: 1
    Just because VB isn't open source doesn't mean it is not robust.

    That's right. The real reason it isn't stable is that it FUCKING SUCKS MY ASS SO HARD MY TONSILS ARE HURTING.

  3. Puh-leeze .. it's not bigotry you moron(soi-flame) by Anonymous Coward · · Score: 1
    I *have* coded in VB. For an employer (reason: the boss only knew VB). And guess what: it sucks. In fact, that suckiness goes right down to the textbooks about it; I have read several and they are unanimously inaccurate, inarticulate, full of spelling errors(!) and poor programming style.

    As for readability, you're just being foolish. Who are we talking about reading it here, a coder who should understand the language in which they program, or a 14 year old being instructed in the first principles of programming?!

    To those of you who think VB is a decent language, good for you. I hope you're my competition in a job interview. Do you know what BASIC was originally designed as? I'll tell you. It was the original programming language MS packaged with DOS for the Altair. It's primary purpose was to fit in like half a kilobyte of memory (I forget the actual figure, but it was small). Talk about legacy hmm? C++ has memory issues, but f'ing A!! The only thing Visual Basic should EVER be used for is INSTRUCTION. PERIOD.

    >>VB is easily maintainable and readable, whereas Perl resembles abstract art...

    First, (s)he said Perl was more *robust*, not readable. Second, name one product written in VB that has any kind of market visibility. Third, VB programs tend to be much longer than *decent* programs; which reduces maintanability. Fourth, Larry Wall's brain could whoop your brain with one lobe tied behind its' back.

    VB isn't evil because it's made by the Great Satan of software (M$), it's evil because it's a stupid, clunky piece of inelegant 5hit. If you like VB, use it. I'll use Perl and C++ and Fortran and we'll see whose programs live into the next decade and whose languish on obsolete storage devices.

  4. Re:Puh-leeze by Anonymous Coward · · Score: 1

    1) It is slow 5) Did I mention that it is so slooooooooow
    So is perl.
    4) It isn't a real programming language
    How do you define that except by being turing-complete? Which, I believe, VB is.
    In a real language you can write a compiler for your language in that language and have the compiler compile itself. (This can be done with gcc) VB can't do this.
    I don't see why it couldnt be done in VB. Do you have any arguments for this?
    I truly, TRULY, despise the MS-bashing around Slashdot, when VB is perfectly okay for a lot of purposes. I would really love to see someone who wrote a Windows GUI program that prints out documents from a MS SQL database that use a weird metalanguage in half an hour - which is an example of where the money in the real world comes from.

  5. Ugg! VB is not slow! by Anonymous Coward · · Score: 1

    If you code C++ safely, ie:
    1) use STL strings
    2) boundary check every array access
    3) validate floating point operations
    4) assert every pointer operation
    ...then hey, guess what? The C++ code runs at the same speed as VB. Give me reliability over speed.

    1. Re:Ugg! VB is not slow! by Pfhreakaz0id · · Score: 2

      Good point. You can even turn off those "safety" features in the VB compiler if speed is premium (remove array bounds checks, remove FP checks, ect.)
      ---

  6. The jury in these trials? by Elvii · · Score: 1

    Could a 12 cluster beowolf be the jury here? :)

    (no, I don't know if jurys are required down there, but it was too easy. Far too easy to think of this one. :)

    bash: ispell: command not found

    --
    This sig left intentionally blank.
  7. English Judges & Foolproof Programs by NightStriker · · Score: 1
    From the article:

    It could be some time before a similar system takes the place of an English court. "It would have to satisfy the authorities that it was absolutely foolproof first," says a spokesman for the Lord Chancellor's office, which oversees courts in England and Wales.

    Does that mean that English judges are fools?

  8. Lycra outfits by Improv · · Score: 1

    Personally, I think this would be a lot more fun
    of a place to live if *everyone* ... well,
    everyone who isn't grossly unattractive... had
    colorful lycra outfits :)

    --
    For every problem, there is at least one solution that is simple, neat, and wrong.
  9. I imagine judges need to use reference materials by Improv · · Score: 1

    It's probable that the reason for the program is
    that judges often need to dig through books and
    such to find the needed info. This might make
    that unneccesary...

    --
    For every problem, there is at least one solution that is simple, neat, and wrong.
  10. Re:/. == equal time by astrosmash · · Score: 1
    I wrote a timekeeping application for the engineering department of the company at which I co-op'ed. The project codes changed regularly, but once used, they were generally used for a few months. I used a combo box to allow the user to select from the list of previously entered project numbers, or add a new one when appropriate.
    That is an effective use of a combo box, once the user knows what it does, which would not be overly obvious at first. It sounds like your widget is primarily used as a drop down list, with the added ability to add to the list, so why not do that: A plain drop down with an additional small button that adds a new item to the list. That way, you can take advantage of the speed of the drop down, and still allow an easy and intuitive method of adding to the list.

    That's the problem with combo boxes; they all don't work that way. Some will add to their list, some don't. Additionally, if the user mis-types something, they've suddenly got a whole new problem to deal with.

    Sure, it's a little thing, but it's the little things make your GUI a pleasurable experience for your user.

    --
    ENDUT! HOCH HECH!
  11. Re:/. == equal time by astrosmash · · Score: 1
    What do you not like about combo boxes?
    One of the few original GUI elements to be created by MS, rather than be ripped off. You won't find on the Mac (or at least used to) or NeXTStep, but you will find it in Gnome and KDE because they don't know any better

    Hmm, let's see...

    The difference between drop down lists and combo boxes are indistinguishable. You have to use it to know what it is, by which time the advantage of using a drop down list is lost. Plus, most users don't know the difference between the two, which, again, defeats the advantage of using a drop down list.

    Most two-bit GUI programmers (see VB programmers) don't know the difference either, and use the two interchangeably.

    The function of most combo boxes is unclear. Do I type my own string? Do I have to pick one from the list? Can I leave it blank? Have you ever typed a string into a combo box just to find out that the string must match from the list? After a while, it makes me want to throw my PC out the window.

    The combo box by far the worst GUI element to ever come out of MS school of GUI design and infect our lives. It is the most classic reason why the Win32 GUI, and the GUIs that blindly copy it, suck.

    --
    ENDUT! HOCH HECH!
  12. Re:/. == equal time by astrosmash · · Score: 1
    So, is this bad design or bad programming?
    One leads to the other...
    ...I DAMN WELL see the point in having combo boxes around.
    Oh Really? Give me some examples. There are really very few *effective* uses for combo boxes. One example that does work well is the location bar on a web browser, because it doesn't look anything like a drop down (it's so big). MS realized a few years ago the the combo box was horribly broken, but their attempt to fix it via AutoComplete(tm) doesn't solve any real problems.

    Give me an example of a combo box, and I'll tell a more intuitive way to do it. Sure, there are times when you want to give the user the choice of Edit or List, but there are much better ways to do it. I don't use combo boxes in any of my software (or native drop downs, because they look like combo boxes). You can accomplish the same with Buttons, Menus, and Edit boxes, and your intent is much more clear to the user.

    The advantage of an effective GUI is to allow the user to manipulate it instictivly, without the need to stop and think about what's going on.

    --
    ENDUT! HOCH HECH!
  13. Re:Puh-leeze by RelliK · · Score: 1

    go to www.m-w.com and look up the word "irony"
    If you still don't get it... oh well. There are 2 types of people: the ones with a sence of humour and the ones without.

    ___

    --
    ___
    If you think big enough, you'll never have to do it.
  14. so what? by RelliK · · Score: 1

    Don't we already have drive-through church? Try to beat that!
    ___

    --
    ___
    If you think big enough, you'll never have to do it.
  15. Re:NEWS: Brazilian Drug Kingpin Sentenced by Bazman · · Score: 1

    Sounds like a General Prosecution Fault to me...

  16. Re:Puh-leeze by Rasputin · · Score: 1
    What is with the VB bigotry?

    Haven't used VB in several years (same for Windows! :), have they dumped that pathetic text editor they used to lock you into using? I remember the awful gyrations I had to go through bouncing between a DOS version of vi and their GUI design tool.

    --
    "I once preached peaceful coexistence with Windows. You may laugh at my expense - I deserve it." Be's Jean-Louis Gass
  17. Futurama Was Right! by dwdyer · · Score: 1

    Anyone recall the episode when Bender went to the Robot planet and the rest of the crew followed, and were tried by a robot judge? The progress bar labelled "Judging..." hit about 50% and the judge crashed.

    "Reboot it!" "No, jiggle the cable!"

    --
    -dwd-
  18. Re:/. == equal time by DraKKon · · Score: 1

    I've been programming in VB for over 3 years now.. and it is a very good language if you want to create an application with a good gui fast. I know most of the MS bashers on here will never like it.. will never use it.. I don't care. Just don't force your opinions on me.

    perl has it's faults too.. Can you create a GUI with perl and ONLY perl? non one this Tk/Perl stuff.. you can't. Don't get me wrong... Perl is all I use when I'm programming on a linux machine (when I'm at home), at work I use VB. They are have their string points and weak points.

    Honestly I don't know what I respond to MS bashing.. its not like your minds are as open as the source you love...

    --
    "It's not like your minds are as open as the source you love..." - Me to the majority of Slashdot.
  19. Re:Juiz Dredd by JerkBoB · · Score: 1
    Looks right to me.
    I Like Judge Dredd in Spanish. I am the law!

    Too bad I failed high school Spanish.

    This comment is © _xeno_ and may not be used without prior permission.

    Hey, _xeno_ ... I'm using your comment without prior permission. Whatcha gonna do about it?

    :P

    --
    A host is a host from coast to coast...

    --
    A host is a host from coast to coast...
    Unless it's down, or slow, or fails to POST!
  20. Re:NEWS: Brazilian Drug Kingpin Sentenced by pen · · Score: 1
    HAHAHAHAH! Thanks for the good laugh. :)

    (I had to re-read it a few times to get it...)

    --

  21. Judge roaming streets in Brazil by Vskye · · Score: 1

    Just a observation here, but first off..., the judge in question would have to be armor proofed to the max, preferably in a M1 tank. Automatic weapons fire tends to ruin ones day. I'd be more concerned with that vs what the damn program was written with! ;) Oh, and the laptop better be bullet proof also.

    --
    Life was hell, then I discovered Linux...
  22. Re:Judge Dredd? by stx23 · · Score: 1

    Uh..umm..duh..lauwh

  23. Re:Puh-leeze by stx23 · · Score: 1
    While VB is easily maintainable, it is also a weak language.
    Or rather it was.
    VB is about to grow up.
  24. Possible use in America by Bryan+Andersen · · Score: 1
    "But it could be put to use in the US, where Judge Feu Rosa says he is in discussion with insurance companies to set up a mobile system to resolve disputes over traffic accidents."

    Something tells me the ambulence chasers won't let this happen.

  25. In Microsofts own words by Felinoid · · Score: 1

    Microsoft proclamed basic dead quite some time ago.
    I can't say I have any disagreement on this..

    Microsoft keeps making visual basic becouse people want it.. no biggy.. bend to the might of market demand..

    However it is very unprofesional...
    Visual basic is a toy...

    Not the sort of thing you put your trust into...

    --
    I don't actually exist.
  26. It's not the open source problem by Felinoid · · Score: 1

    It's that visual basic is well.. a run time compiler basic.
    Basic still strikes up images of the old days of Commodore Vic20s and Apple ][ computers..
    Basic just isn't that welcomed anymore...

    Your right about how often the best solution is still stuck in proprietary world (for now) however Basic isn't one of those things...

    Also Visual Basic.. or any basic.. is very close to open source.
    Sence the program must be run from the programming environment (usually) this means any given user has access to the source code.

    As such it is an open only programming environment.

    Last basic I used was Qbasic and it was rather robust for a basic I can only expect that Visual basic is even more robust...

    It is still worrysom... nearly all programmers can code in basic but most don't...
    It leaves me to wonder... did he code in it becouse he likes vb or becouse thats all he knows?

    --
    I don't actually exist.
    1. Re:It's not the open source problem by dufke · · Score: 1

      It's that visual basic is well.. a run time compiler basic.

      No. Modern versions of VB are complied when you 'make executable', as they call it. Compiled to machine code, mind you, not some bytecode (*cough*like Java*/cough*).

      -

      --
      __
      Comment submitted. There will be a delay before you understand what you posted.
    2. Re:It's not the open source problem by Steeltoe · · Score: 1

      What you are describing here is called an interpreter, which is the easiest way to parse and execute a language. Wether a language "runs" in a runtime-environment or in binaries is totally beside the point when talking about languages. You could just as well argue about candybars due to their different packages.

      You can run any language that doesn't have explicit capabilities about its runtime-environment in an interpreter, through a compiler or through RT-compilation. So VB isn't necessarily "Open Source", you can compile it, encrypt it, whatever you want. VB is infact used heavily in the corporate world (way too much in my opinion). Also, not every programmers can code in Basic, it's just a language (one with many flavours). It doesn't strike me as easier than many others out there, like Pascal/Delphi, Fortran, Cobol, C, C++, whatever. It's just a mindset, a "difficult" thing is only as difficult as we pretend it to be.

      - Steeltoe

  27. Re:VB not as robust as Perl? by Felinoid · · Score: 1

    Your right...
    Why use something some collage student hacked together for free when you could pay for something some collage drop out hacked together...

    --
    I don't actually exist.
  28. Maybe you should dismiss the programmer... by wirefarm · · Score: 1

    Did you ever consider that the fault did not lie with the tool, but with the person using it?

    Antoine de Saint-Exupéry said it well:
    "Perfection is achieved not when there is nothing more to add, but rather when there is nothing more to take away."

    Your app probably could have been written better, even in VB. (I know because that is what I do for a living.)

    Jim In Tokyo

    --
    -- My Weblog.
  29. Re:Languages are NOT inherently maintainable/reada by SeanNi · · Score: 1
    Of course, you realize that all INTERCAL needs is a good preprocessor?

    I mean, hell, with a half-decent preprocessor, you could write INTERCAL code that would be quite easily readable (and therefore maintainable). Yes, it's blasphemy, but it's also the truth. Just something that could handle something like:
    #define iRecordLength .1234
    Or, something that allows you to define how to substitute:
    declare function MyFunction( iParameter )
    declare iLocalVar1
    declare iLocalVar2
    with
    (MyFunction) PLEASE STASH iLocalVar1
    PLEASE STASH iLocalVar2
    and
    end MyFunction
    with
    PLEASE RETRIEVE iLocalVar1
    PLEASE RETRIEVE iLocalVar2
    PLEASE FORGET #1
    ...of course realizing that calling it requires something like substituting
    call MyFunction( iArgument )
    with
    PLEASE DO (MyFunction) NEXT
    all this assuming, of course, that something akin to the following had been properly set up beforehand:
    #define iArgument iParameter
    #define iParameter :999
    #define iLocalVar1 .123
    #define iLocalVar2 .456
    #define MyFunction 789
    Of course, this preprocessor would also expose a way to include "proper" comments, but who comments their code anyway?

    Last but not least, it would absolutely neccesarily have to have an
    #include
    ability, to allow for standard libraries to do messy things like IO and character/string handling.

    So you see... you can write readable code in pretty much any language, as long as you have a half decent preprocessor. Even assembly can't hide :-)

    --
    It's a fine line between trolling and karma-whoring... and I think I just crossed it.
    - Sean
    --
    It's a fine line between trolling and karma-whoring... and I think I just crossed it.
    - Sean
  30. Re:"Hello World" by SeanNi · · Score: 1
    > When the verdict (package) clocked in at around 10 meg -- I quickly dismissed ever using VB again.

    I'd say one of about 5 things is happening here:
    • You are exaggerating the size of the program
    • You are understating the magnitude of the project
    • Your programmer is incompetent
    • Said database is huge
    • You are using an unusual database format, for which the driver is huge

    I say this because I am just currently finishing up a seemingly similar application, also in VB. It reads and writes records to/from a MUMPS (medical) database over a TCP/IP connection, with verification. It can handle 4 different types of record, each of which has roughly 50 different business rules they must be read against, embeds the capability for the user to connect to the host the database is on via a telnet screen, and correlates these records against code tables stored locally in an MS-ACCESS database (not a format known for file size efficiency). This local database contains 17 tables with a total of about 60,000 records (between 5 and 20 fields per record).

    The install files, executable and data files altogether come in at only about 6.5 MB. And the MS-ACCESS code table is over half of that. I'd give you the source code to show you except it's kinda proprietary. But it is nevertheless the truth.

    I repeat again, something is wrong with the scenario you described. And it's not all VB that's wrong unless you are doing something VERY strange..

    --
    It's a fine line between trolling and karma-whoring... and I think I just crossed it.
    - Sean
    --
    It's a fine line between trolling and karma-whoring... and I think I just crossed it.
    - Sean
  31. Re:Puh-leeze by aphrael · · Score: 1

    I'm not claiming that VB is as robust as other languages ( perl, c++, java ) but _in my experience_ I have found that if VB isn't capable of performing a task, it will easily use a component written in to the COM specification. That's a strong features of VB. It can use any COM component, and you can write COM objects in many languages, including Delphi and C++.

    Sure. It can *use* any automation object (the object does have to derive from IDispatch, not just IUnknown). *But* it has repeatedly done things which take a fairly loose reading of the COM spec, including:

    * creating COM objects with interfaces that have gaps in their vtables
    * changing the meaning of the CAN_CREATE flag on the CoClass so that there is no way to distinguish between an object which should not be created and an object which can be created only with additional support structures
    * creating COM objects with interfaces whose methods are retrieved by GetFuncDesc() in non-vtable order

    In addition, there are a fair number of flat out bugs involving the logic to determine what flags to set on a CoClass which makes the state of controls created in VB highly unreliable.

    But of course, VB is the standard, so everyone else has to comply with it ...

    [These are the reasons I dislike using objects *created* in VB. I dislike programming in it for a different reason: no type safety].

  32. Oh, Flexibility! by aphrael · · Score: 1

    Is anyone worried about the lack of flexibility implied in a system like this? How does software consider extenuating circumstances?

    Right now, the law is sort of like a computer program for people: a set of explicit rules set in stone. The rules are interpreted by *individual humans* because there is a belief that the people establishing the rules can't possibly forsee every possible scenario, and circumstances may arise in which strict applications of the rules would be counterproductive or flat out harmful.

    Turning the task of interpretation over to a machine is scary, because the designers of the machine can't forsee every posisble scenario, either; and rmeoving the element of human judgment means that either every scenario *must* be forseen, or people will be punished for things which are technically illegal but in fact understandable/reasonable.

    I sincerely hope never to see these in use in my home country for any sort of criminal case ...

  33. Re:Let's Hope this Doesn't Come to America by aphrael · · Score: 1

    Judges aren't about forgiveness, they're about ensuring that laws are enforced.

    Wrong. The *police* are about ensuring the laws are enforced. Judges are about deciding *if the law was violated* and, if so *what the punishment should be*.

    Sometimes circumstances make a technical violation acceptable --- "yes, sir, I brandished my gun at him, which I admit is illegal, but he was trying to kidnap my 3-year old child and the gun made him stop." That's what a judge (or jury) is there to determine ....

  34. Re:If VB were Open Source by aphrael · · Score: 1

    This leads to broken function prototypes that only work in VB, not in Delphi, PowerBuilder or C++.

    You'd be amazed at how much special-casing Delphi has to have in order to handle this sort of problem ....

  35. In the docs by delmoi · · Score: 1

    Back in the 1.0 days, it was in every single license agreement they put out. Pretty funny I thought. The idea of running a Nuke Plant from a little Applet, I havn't seen it in a while, though. I don't know if they still have that restriction...

    --

    ReadThe ReflectionEngine, a cyberpunk style n
  36. Re:Puh-leeze by RomulusNR · · Score: 1

    the fact that VB is easily maintainable and readable

    What's this? How do you define "maintainable" -- as meaning "if you leave it alone, it keeps working, as long as you don't upgrade interpreters" ?

    In your defense of bad programming languages, do you miss out of hand that VB's parser is mostly brain-dead, allowing for the occasionally undiagnosable mis-read include file?

    I do believe this post calls for an Obfuscated VB Contest. Anyone?
    --

    --
    Terrorists can attack freedom, but only Congress can destroy it.
  37. Prepare for judgement by RomulusNR · · Score: 1


    "Eu sou a lei! Deixes cair tuas armas e preparais para ser julgadas!"

    oh, you know...
    (what language do they speak in brazil again?)
    --

    --
    Terrorists can attack freedom, but only Congress can destroy it.
  38. Re:Puh-leeze by spectecjr · · Score: 1
    I have TRIED to write some VB and encountered several lame aspects about it:

    • Inconsistent syntax
    • Weak typing system
    • Poor coherence - try looking at an arbitrary VB program and understand the flow of control or data.
    • Mathematical/logical statements work different than ANY other Algol style language out there (pascal, c, c++, java)
    • And many more...


    You know, the only valid statement you made was the first one - it has inconsistent syntax.

    Weak typing system? Add "Option Explicit" to the start of your files (the reason you have to put it there is for backwards compatibility).

    Poor coherence? Looks like you were trying to write *basic* with it, not VB code. VB supports a whole host of control structures which make it almost C-like.

    Mathematical/logic statements different? In what way? The only differences I saw were that (a) they require stricter typing (you can't just say "if it's nonzero it's true") - hey that's just like JAVA, and (b) they don't early-abort the statements the way that C or Java would (every term in a logical statement is executed - which is actually more logical behavior, if less efficient).

    Sure, it's not the best language in the world. Give me C or Java any day. But you shouldn't be shooting your mouth off without knowing what you're talking about either.

    Simon
    --
    Coming soon - pyrogyra
  39. Score 0: Redundant by Spyffe · · Score: 1
    Timothy, either
    • you have a redundant comment ("Three words: General Protection Fault", which is already in the story)...
    • You imply a pun on "General [Police] Protection fault", which doesn't come through too well IMHO.
    Considering that the silly (but sometimes really nifty) comments people like you and Roblimo and CmdrTaco put after the messages are very close to, if not ==, "first posts", shouldn't they be moderated like everything else?
    --
    Sigmentation fault - core dumped
  40. Re:Puh-leeze by Waav · · Score: 1

    Fuck off, it's power and usefulness are, in alot of ways, better than Java and C++ for a skilled programmer.

    The key is that it is easy to write shitty VB code that does something, it's alot harder to write shit C++ or Java code and still have it do something useful.

    VB is actually a very powerful tool when used for specific purposes. I personally believe that in Windows programming the best/fastest way to create an windows application is to write the interface in VB and the computations in C++.

  41. Re:NITS: Brazilian Drug Kingpin Sentenced by cje · · Score: 1
    Tastes differ regarding to what's funny

    *nod*

    at least some basic facts should be checked before posting something like this...

    Why?

    It's "Rio de Janeiro".

    Okay, my bad.

    "Sanchez" is a Spanish name

    So?

    And, aren't you thinking of Bolivia...?

    Thinking of Bolivia how? Where?

    "Gonzalez" is again Spanish.

    So?

    You'll find "federal judges" in Brasília, the capital, not in Rio...

    Who cares?

    Then again, 30% of Americans still think the capital is Buenos Aires

    30% of Americans can't differentiate between the Pacific and Atlantic Oceans.

    And, Starbucks in Brazil...? Now that is hilarious!

    Not exactly the sharpest tool in the shed, are you? That was the whole point. (The running Onion joke is about a Starbucks opening a new Starbucks in the bathroom of an existing franchise.) If you're going to point that out, you should have also pointed out some other factual inaccuracies:

    • No drug dealer in Brazil was ever actually sentenced to a "blue screen of death"
    • Ed Muth, who works for Microsoft, is not actually Brazil's "Minister of Justice"
    • George W. Bush did not stop at Berkeley; in fact, there is no evidence he plans to go anywhere near it
    • There is probably nobody named "Mary Madalyn Murray Coughlin O'Laughlin" who works for the National Council of Churches
    • There is no Service Pack that administers Brazilian justice available for Windows 2000, so there is no way it can be part of the default installation
    • Linus Torvalds did not actually say the things that were attributed to him
    • "The black guy from The Green Mile" contributed nothing
    Here's some advice: It's a joke. Lighten up. :-)
    --
    We're going down, in a spiral to the ground
  42. Judge Dredd... by Haven · · Score: 1

    Judge Dredd would have used C.

    1. Re:Judge Dredd... by xmedar · · Score: 1

      Actually I imagine Dredd either kludging a PERL script together, or on a day off, OOing the system, drawing nice UML diagrams and coding in C++, then wasting the entire test team when they disagree with him at the code review, at least they got the date right ..2000AD.

      --
      Any sufficiently advanced man is indistinguishable from God
    2. Re:Judge Dredd... by AntiNorm · · Score: 1

      Judge Dredd would have used C.

      As in MSVC++? Heh. The sentencing would be swifter, but "GPF" would still be in a few dozen places in the court documents. Oh, and by the way, don't forget to make the prisoner carry around a copy of the correct version of msvcrt.dll, or the sentence might malfunction, letting the prisoner go free. Wouldn't want that now, would we?


      =================================

      --

      I pledge allegiance to the flag...
      of the Corporate States of America...
    3. Re:Judge Dredd... by j-pimp · · Score: 1

      Well auctually since Judge Dredd takes place in the future he probally would use C++. Hopefully by then the use of C++ by universities in introductory programming courses will end prejudices towards this wonderful supetset of C and most apps, including any judgment ones, will be written in C++.

      --
      --- Justin Dearing http://www.justaprogrammer.net/ We're just programmers.
  43. Re:Puh-leeze by iCEBaLM · · Score: 1

    What is with the VB bigotry? In your review of competing products, do you dismiss out of hand the fact that VB is easily maintainable and readable, whereas Perl resembles abstract art drawn from the inner, inarticulate recesses of the mind that coded it?

    Code is art to those who care, code is money to those from Microsoft.

    -- iCEBaLM

  44. Perl? by Dreamweaver · · Score: 1

    You know, when i first saw this story my first thought was Not "Ew, they used VB?" so much as "Er.. judges are walking around sentencing people on the street?" I'm all for geekiness, but methinks someone's priorities are a midge skewed :)


    Dreamweaver

    --


    "If a man hasn't discovered something he will die for, he isn't fit to live" -- MLK, Jr.
  45. Re:Puh-leeze by Zurk · · Score: 1

    well..duh. i prefer java myself.

  46. Re:MODERATE PARENT UP!!! by Ratoslov+Lenev · · Score: 1

    Don't you know? To get a troll moderated up, it has to be humorous, fresh, and innovative. Frankly, we're all sick of 'Cmdr. Taco Sucks his mom's dirty dick' jokes.

    Can you do song parody?

  47. Re:Puh-leeze by JacobO · · Score: 1
    While VB is easily maintainable, it is also a weak language


    Please justify this.


    I have never in my four years developing in VB had a single GPF with it or any of the apps I've written in it.


    People tend to bag VB as if all you can do with it is what the text books teach you. If anything, it makes a fantastic language to hack with because it limits you in very few ways. (I have much code that says you don't need to do things the MS sanctioned way.) You should separate the language, the platform (Windows) and the use of it and critique them separately.


    Do you know how many bugs are introduced by manual memory management? How about obfuscated code?


    I wish people would give VB a break, infact, anything that may provoke bitterness from those that know more about toeing the OSS/MS-sucks line than the products themselves.

  48. Re:This is descended from the Jetsons! by alecto · · Score: 1

    Thanks--I was starting to question my sanity, not being able to find a mention in the episode archive, and all!

  49. This is descended from the Jetsons! by alecto · · Score: 1

    Anyone remember the JURYVAC robot jury on the Jetsons in the episode in which George was on trial? So when are those food replicators coming?!

  50. Re:One problem with this too :) by dcs · · Score: 1

    That would be "_em_ portugues", not "no portugues" (aside from the missing accent marks).

    --
    (8-DCS)
  51. Ignorance bites... by dcs · · Score: 1

    Only the Brazilian legal system, which is based on the European system, is not based on trial by jury.

    The guy has two options. Solve this in court without a trial by jury in something between eight months to a couple of years, or solve it without a trial by jury right after being caught in the act.

    --
    (8-DCS)
  52. Re:NEWS: Brazilian Drug Kingpin Sentenced by dcs · · Score: 1

    Ok, it's funny. :-)

    It doesn't have a single feature linking it to Brazil, though. No typical brazilian names, and even RJ is spelled incorrectly.

    --
    (8-DCS)
  53. Re:Puh-leeze by wolf- · · Score: 1

    Actually, no.

    Sun makes its licensers clearly specify to their end users that Java should NOT be used for mission critical apps, such as: nuclear power plants, hospital life support systems, ect.

    As for c/c++, that be ok..

    --
    ----- LoboSoft specializes in Digital Language Lab
  54. Timothy, oh Timothy.... how we loved you... by ffatTony · · Score: 1

    ...I can see it now ... your sentence is GPF :')" Three words that spring to mind: "General Protection Fault."

    Timothy, once I had great respect for you, but man... you think this is funny, but you just repeated the article poster. Has your time at the geek compound really warped you so. Have Hemos sweet kisses and commander taco's gordita warped you so?

    In the future ( and I'm sad I have to tell you this), keep a tape recorder with you and record everything. Whenever you have a thought, play back the tape a little bit. If your thought is on that tape in some one else's voice... keep your fucking mouth shut.

    Simple, isn't it?

    1. Re:Timothy, oh Timothy.... how we loved you... by b0sst0ne · · Score: 1

      To think is to be human, to flame is devine.

  55. Re:Puh-leeze by ffatTony · · Score: 1

    Phew, I'm glad somone likes VB, I thought I'd never get laid again, this rash is killing me.

  56. VB or Delphi are good choices in this case by Master+of+Kode+Fu · · Score: 1
    "I wouldn't trust my judgement to a VB app?" Timothy, if you're thinking of the "Jury-Vac" from The Jetsons, I have a news flash: it was a cartoon!

    But seriously...VB and Delphi are the better choices for writing Windows-based workplace productivity apps, especially for writing apps that access databases and are more UI-centric. You could certainly write the app in Visual C++, but there's you're now in MFC-land, which should be avoided whenever possible. If you're really out to prove your dick size with C++ and still maximize your productivity, use Borland's C++ builder, which has a good IDE builder and a very sane class library.

    As for Basic's or Pascal's "simplicity," who cares? In programming, it's always best to follow the principle of Occam's Razor (which is also on eof the guiding principles of all UNIXen): the simplest solution should be the one that is selected.

  57. Re:Let's Hope this Doesn't Come to America by jaoswald · · Score: 1

    Police a "protective layer between the citizenry and judges"????? I don't know what you could mean. If anything, judges are a protective layer between the citizenry and the police. What keeps police reading the Miranda warnings and getting you a lawyer when you want one? The judge throwing out your "voluntary confession" if the police didn't do so. I agree that mandatory minimums can be a bad idea, because they prevent judges from using discretion to be a protective layer between the actual guilty party (with extenuating circumstances) and the politically popular (i.e., legislated) idea of what a criminal in the abstract should get for the crime). Police aren't the solution to that problem. They let people off with a warning regardless of the eventual sentence they would get, probably to avoid their paperwork. Also, DAs will let you plead to a lesser charge to save them a trial. Don't imagine they really have your interests at heart.

  58. Re:Puh-leeze by riot158 · · Score: 1

    I think you're completely missing the point of VB... yeah, we geeks don't mind (actually, i rather enjoy) an 'interesting' interface, but unless you want to spend a couple hours a day taking calls from your users, you want the interface to look as familiar and non-threatening to them as possible. enter VB. with VB, I can make a UI that my users are comfortable with, and I don't have to spend a healthy chunk of my development cycle doing so. I just drag a combo box, a couple of text boxes, and maybe a telnet object onto a form. bam. done. that leaves me more time to do the coding.

    i've spent my time in UI hell- COBOL screenfaces. bleargh! so it's nice to have something quick and easy that my users won't be afraid of.

    --
    my karma ran over your dogma
  59. Re:I'm not worried by Godfree^ · · Score: 1

    The AI Jury (written in good ole fashioned BASIC, with line numbers)

    10 PRINT "Virtual Jury"
    20 INPUT "Enter evidence: ",evidence$
    30 a = INT(RND*2)
    40 IF a = 1 THEN PRINT "Guilty"
    50 IF a = 2 THEN PRINT "Not guilty"

    --
    - Damnit, I'm dead Jim
  60. Re:This is good for an overburdened court system! by Coolfish · · Score: 1

    Not to mention that this "roving judges" concept has a lot of precedence in the English judicial system. During the Victorian era, Judges would roam around, passing sentences and solving problems throughout different villages. They'd meet and discuss the cases they had delt with and talked about the sentences they passed. This helped to make sure that the law was applied evenly to similiar cases.

    It's also important to note, for those readers who didn't even read the article before starting to swear that a BSOD would sentence them to death, literally, is that a REAL judge is toting these laptops around, and the REAL judge places the final judgement/sentence. The program merely assists the judge in assigning fair punishments uniformly for certain crimes.

    Coolfish

  61. Re:Most VB bashers don't understand VB by Stonehand · · Score: 1

    You can use va_args foo in C to handle variable numbers of arguments. It's documented in K&R, so it's not just a C++ thing; it's how glibc implements printf, for instance.

    I ain't sayin' it's pretty or as transparent as, say, Perl's methods. But it's there.

    OSS.:
    Are the VB languages specs published? If so, does MS actually forbid people from implementing VB? I don't do VB (my dev work pretty much all on Solaris or Linux), so I wouldn't know 'bout this.

    --
    Only the dead have seen the end of war.
  62. Expert System by MarkKomus · · Score: 1

    Well aside from the whole argument on if this is a good thing legally to have in place, its an excellent example of expert system technology at work. It will be interesting to see, after a few months of use, how often it is determined to be right and wrong by the human judge.

    I wonder how large it is as well, I had to do just a small expert system for an assignment once, and the number of rules needed was huge. Legal matters can have so many complications it must be a large undertaking to actually complete this.

  63. Re:Puh-leeze by dimator · · Score: 1


    Maybe - Will you be my friend?


    Yes. :)

    --
    "And is the Tao in the DOS for a personal computer?"

    --
    python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
  64. Judges make bad decisions, if short on time by BlueUnderwear · · Score: 1

    Actually, this "mobile judges" proposal seems much worse than any trial-by-jury could be. Even assuming that the judge is knowledgeable about the law and the facts, and not corrupt, do you really believe that he will be able to give a well thought out sentence from the top of his motorbike seat in just 2 minutes?

    --
    Say no to software patents.
    1. Re:Judges make bad decisions, if short on time by AndyL · · Score: 1

      If we could get an english version of this program we could sell it as Judge Judy : The Home Version.

      They'd make millions!

    2. Re:Judges make bad decisions, if short on time by wsabstract · · Score: 1
      do you really believe that he will be able to give a well thought out sentence from the top of his motorbike seat in just 2 minutes?

      I agree. Reminds me of something close to home though- Judge Judy.

      ---------------

      --

      ---------------
      JavaScript tutorials scripts
  65. A good craftsman is also an artist at heart by BlueUnderwear · · Score: 1

    An ugly piece is neither a work of art nor a masterpiece of craft.

    --
    Say no to software patents.
  66. Employee satisfaction by BlueUnderwear · · Score: 1

    If your employees live in a stimulating and satisfying environment, where they are allowed to use powerful tools, which are pleasant to work with and allow them to write their code as a work of art, they'll be more productive, which is good for the bottom line. And satisfied employees will stay longer at your company too, which will save training costs for the new replacements (which might leave just as quickly...). Yes, art can save money too.

    --
    Say no to software patents.
  67. No med apps, no nuke control systems by BlueUnderwear · · Score: 1

    Aren't these just standard boilerplate "no warranty disclaimers" terms that we find in all licenses, even VB (...err... especially VB).

    --
    Say no to software patents.
    1. Re:No med apps, no nuke control systems by dufke · · Score: 1

      Exactly... aren't these disclaimers are found on all sold software, including OS'es, including Linux distros...?
      -

      --
      __
      Comment submitted. There will be a delay before you understand what you posted.
  68. Isn't it a problem of bad usage? by BlueUnderwear · · Score: 1
    > The function of most combo boxes is unclear. Do I type my own string? Do I have to pick one from the list? Can I leave it blank? Have you ever typed a string into a combo box just to find out that the string must match from the list?

    This looks more like an application developer's error to me, rather than a problem with combo boxes as such. Maybe, it's because VB attracts so many novice "app developers"... But there are situations where combo-boxes are useful:

    Currently, I am developing a Web-based student management system for highschools. On one screen you can define a new student (name, firstname, etc.), and select a class for him. You can select either from the existing classes, or define a new one (if this is the first student of a newly created class). A combo-box would be perfect for this kind of functionality, but unfortunately HTML forms do not have any such item (that I know of...).

    As much as I hate Micro$oft (and those who know me know how much I hate them...), I must admit that combo-boxes are one of the rare sensible ideas that they had.

    --
    Say no to software patents.
  69. How does this work in practice? by joe52 · · Score: 1

    Ok, so this program can ask some simple questions and provide a verdict and suggested sentence. What I don't understand is how it's saving time. The article cited questions like did he run a red light, or was his BAC above legal levels. How long does it really take to deal with cases to which the answers to questions like this are clear.

    Now, I must admit that I know nothing about the Brazilian legal system and I am asking questions that may be grounded in my own views, which are based on my knowledge of laws in the United States. It would seem to me that in the US, if a person is accused of running a red light, and they admit to that, then they will be pleading guilty. This leaves sentencing, and I find it hard to believe that an experienced judge would really need much time to senetnce a person for running a red light or littering.

    So, I would think that the time savings would be in slightly more complex cases, but I don't see how this program is going to deal with this, at least not based on the examples provided in the article. What if the suspect and the arresting officer disagree as to what happened? How does this program reconcile the different accounts of the events that took place. It would seem to me that more than yes/no questions would be necessary. As for witnesses, can the program assess their credibility? There are just so many factors that are taken into account by a human judge in a real court that I can't see this helping much, unless the judges really have trouble keeping track of all of the laws that pertain to the situation.

    -joe

  70. Justice delayed is Justice denied by GreyMatter · · Score: 1

    Ignoring the VB issue, rapid justice for straightforward cases is fairer and more effective. In psychology 101 we were told that negative reinforcement is only effective if it occurs immediately after the offense. A rapid judgement and punishment system will probably reduce the number of repeat offenders.

  71. Re:Juiz Dredd by orangesquid · · Score: 1

    Well, he could force you to retract your post by making slashdot remove it or suffer under penalty of law, or he could pursue a copyright violation case, fining you for breaking copyright law.
    (I think... don't quote me on that)

    --
    --TheOrangeSquid Is it any wonder things seem so awry? We swim in a sea of confusion and don't have to think to survive
  72. Hockey fans are used to this by m0nkeyb0y · · Score: 1

    Very similarly I believe in Pittsburg's hockey arena fan disturbance was such a problem that they built a courtroom under the arena to dispense instant justice during rowdy games!

    --
    -- From my Best Friend (Written to me over ICQ): "i was gonna go to a party...but i had to reinstall windows"
    1. Re:Hockey fans are used to this by finkployd · · Score: 2

      Hey, at least in the 'burg we ain't throwin no bottles at no coach's heads.

      Unlike them jag-offs in Philly...

      :)

      Finkployd

  73. Re:Puh-leeze by dufke · · Score: 1

    1) It is slow
    5) Did I mention that it is so slooooooooow


    Well, it sure loads slow, if no other VB apps are running, cause it has to load the runtime library. But once that is loaded, it ain't slow. Sure, it isn't exactly hand-tuned assembly, but it is indeed a compiled language. Yes, complied to machine code, at least in the modern versions.

    Although programs may look simpler to read and maintain in VB in reality it is just hiding the grottyness under a high level API.

    Isn't that what they call "abstraction"? =)

    In a real language you can write a compiler for your language in that language and have the compiler compile itself.(This can be done with gcc) VB can't do this.

    Well, duh. MSVC++ can do this too. But can Perl? Can Java? Python? Otherfavoritelanguage?

    (Yes, I'm sure you can hack together a complier for some of the above languages in those languages, but the same goes for VB. You only really need string manipulation to write a complier, and they all have that.)

    2) It is proprietary
    3) It only runs on windows


    Yes. Ultra-true. This is the real downside of VB.

    Also, try to judge VB for what it is. It's a GUI hack language. Kindof like shell scripting or Perl for GUI's. If someone asks you to write, say, a 3D game in VB, I feel your pain. :-)
    -

    --
    __
    Comment submitted. There will be a delay before you understand what you posted.
  74. Re:Puh-leeze by JonK · · Score: 1
    Easy..: No pointers, no inheritance and no polymorphy.

    No pointers? Go away and learn the language, with particular reference to VarPtr, StrPtr, ObjPtr and AddressOf and then come back and say that.

    No inheritance? Well, it does interface aggregation rather than implementation inheritance - whether this is a good or a bad thing can be debated until the cows come home but suffice it to say that interface aggregation has no impedance mismatch with COM. Oh, and VB7 does have inheritance (it's claimed) although whether this is a good or a bad thing is as yet undetermined.

    No polymorphism? Not entirely true. If you're referring to the type of polymorphism shown in C++ and related languages where pointer-to-any-one-of-several-derived-types can be treated as pointer-to-base-type with vtable binding picking up the slack then no it doesn't: it does, however, allow run-time binding (like Smalltalk et al).

    And the idea of a "type-free" language should make most coders vomit in fear...

    Again, I say to you "Smalltalk". And wait for 'Option Strict' if you want true B&D.

    How about subclassing from VB..? A lot of very weird errors and breakdowns can be the result of a single forgotten line.

    Translation: if I get the code wrong I get bugs. Well, no shit!

    In what way do you feel VB limits you? Sure, there are several things it won't do (high-performance services, free-threaded COM components), but that's not the contract. It is very good at what it does: if you can't develop big systems in it then look at your processes and methodologies.
    --
    Cheers

    --
    Cheers

    Jon
  75. Re:VB: * V E N T I N G * by JonK · · Score: 1
    MS will throw any feature necessary into this thing to make it EASY at all expense.

    s/MS/Larry Wall/g

    <g>
    --
    Cheers

    --
    Cheers

    Jon
  76. Re:Clarity of control flow in python by muwahaha · · Score: 1

    In my experience, you have to work pretty hard
    to write hard-to-follow control flows in python.

    My problem has always been getting the data
    structures clean. I usually end up re-writing
    scripts that I change frequently, because I see
    an easier way to arrange the data. But the
    appropriate data-structure is problem-specific.

    Alex.

  77. Re:/. == equal time by Money__ · · Score: 1
    Re:Anyone who might defend Microsoft is some misguided fool, and /. is a forum for the truth?

    Yes, the truth as in VB is not the most scalable solution to many programing problems and the one operating system it runs on is not the most reliable.
    ___

  78. VB==skins? by Money__ · · Score: 1
    While this is an interesting take on things, aren't you just using vb as the "skin"?

    In this light, shouldn't vb be more acuratly compared to DHTML or XML or XUL or DOM for being "interface tools"?
    ___

  79. Re:/. == equal time by Money__ · · Score: 1
    Please let me remind you that microsoft spends millions each quarter to remind you just how wonderfull their little combo boxes are.

    Millions and millions pumped a PR machine that has yet to be rivaled in this moden age. As a result of this overwhelming influence, there is little doubt you're a VB fan (how could you possibly know better?).

    Our little (/.) is the only forum in a sea of MS bullsh*t where programers can dare to speak the truth.

    Please allow us that one little thing.
    ___

  80. Re:VB is OK and I won't _____ in your mouth by Money__ · · Score: 1

    I'm from the government and here to help . .
    I read it on the internet, so it must be true..
    vb is ok
    ___

  81. Re:General Protection Fault by Money__ · · Score: 1

    I would agree that it is faster. I was just pointing the double meaning of the phrase general protection fault as both a windows error message (or a feature if your name is BillG) and the general falure to protect the public good.
    ___

  82. Re:Puh-leeze by erlando · · Score: 1

    While VB is easily maintainable, it is also a weak language

    Please justify this.


    Easy..: No pointers, no inheritance and no polymorphy.

    I have never in my four years developing in VB had a single GPF with it or any of the apps I've written in it.

    That describes a robust system. Not a strong language.

    People tend to bag VB as if all you can do with it is what the text books teach you. If anything, it makes a fantastic language to hack with because it limits you in very few ways. (I have much code that says you don't need to do things the MS sanctioned way.) You should separate the language, the platform (Windows) and the use of it and critique them separately.

    I disagree..! VB limits you in every way possible. Granted, you can do a lot with subclassing, but then you are stressing the system and risking breakdown.

    And the idea of a "type-free" language should make most coders vomit in fear...

    Do you know how many bugs are introduced by manual memory management? How about obfuscated code?

    How about subclassing from VB..? A lot of very weird errors and breakdowns can be the result of a single forgotten line.

    I use VB in my everyday work. As a RAD it is great. But as soon as you have 3 developers working on a system with 250+ forms and 400.000+ lines of code in VB you have a problem. VB is totally inept in terms of project management. Source Safe is a feeble attempt to correct the problem. It GPF's more often than not.

    --
    Remember, there are no stupid questions. But there are a lot of inquisitive idiots.
  83. Re:General Protection Fault by Alpha+State · · Score: 1

    Given what impressions I've had of the jury system, I can't say I really want to be tried by a jury of my "peers".

    It's quite likely most of them will turn out to be morons who are easily swayed by a quick-talking lawyer or a false but emotional argument.

    At least the computer might be a little consistent and actually consider the facts.

    I think that's my devil's advocate post for the day :-) (BTW, I did get the pun)

  84. GPF and a realistic sentence by davidc · · Score: 1

    General Protection Fault? He's related to Major Systems Failure or some Kernel or other isn't he?

    Of course the *real* reason they are carrying laptops is to mete out such on the spot sentences as "Install Windows 2000 server" and "count the bits in a gigabyte, out loud, one by one" (the former being the heavier sentence).

  85. BSD by MountainLogic · · Score: 1

    Adds a whole new meaning to the phrase,

    "Blue Screen of Death!"

  86. Re:Puh-leeze by F452 · · Score: 1
    VB is usefull for some small projects or interfaces but that is all.

    Thanks for your civil post! :-) I started out in VB and have been learning Java over the past year. My company uses VB for a large scale client server program that is used in the USA and Europe by hundreds of users (maybe between one and two thousand).

    I would argue that VB can be a great language for database programming (Oracle, in our case). And this is what many people use VB for.

    The fact that VB ties you to MS for development and platform is of course a major downer. That's why I'm happily learning Java.

  87. Re:NEWS: Brazilian Drug Kingpin Sentenced by FunkyChild · · Score: 1

    I'd say he committed an illegal operation.

  88. Re:Languages are NOT inherently maintainable/reada by TicTacTux · · Score: 1
    If not the language is crisp and clear and easy to understand (whatever that means), then certainly comments have to be.
    Is there a [computer] language on earth that does not allow comments?

    VB is certainly not my language of choice, but *if* the code is well-written, it could even be somewhat stable. IMHO, Delphi is better, but that's my own HO.

    BTW: Why not put up 'Justice vending machines' with a help-yourself application? "I want to turn myself in, I've robbed the bank" -- "That's three prayers, an MS License Agreement and three weeks in the slammer. Would you like to have whip blows with that?"

    --
    Use The Source, Luke!
  89. Re:Judge Dread by Coldraven · · Score: 1

    Actually, this is how the Dark Judges must've gotten started :(

    Through applied logic, they decided the only way to reduce crime was to kill everybody :)

  90. This should be submitted to segfault! by cprincipe · · Score: 1

    Honestly, get thee to Segfault.org and submit the story! This is great!

    --

    bun-fhuinneog agam!

  91. Re:Puh-leeze by |deity| · · Score: 1

    Let's keep it cival. Every programming language has a purpose. A good programmer knows when to use and when not to use a language. VB is fine if you want a program that will only be ran under windows and doesn't need the speed or portability of C/C++. To say that VB is more powerfull then C++ is truly a load of shit. VB is usefull for some small projects or interfaces but that is all.

    A truly powerfull programming language is one that can be used for almost any type of programming. Given the number of programs both windows and linux that use C/C++ I would say that C++ is the clear winner.

    I don't particularly like java but that's only because it has speed problems. It definatly beats almost all other languages that are as usefull in portability hence it's wide spread use.

    I've heard this plenty of times. "A true hard core programmer only writes code in assembly language." It's been awhile since I've heard that but not that many years ago, that's was what many programmers would say.

    The reason many people here hate VB so much is that anything coded in VB can't be ported to any other platform. Also most people that use VB come from a DOS/Windows background. These people were useing GW-basic(the god of spegetti code) then QuickBasic(Easy to teach in schools) and finally Visual Basic. Many of the people on slashdot come from a unix background and learned to program in C.

    I went to a highschool that thought that programming == QuickBasic. I had to learn C, assembly language, and pascal on my own. I've not regreted learning Basic programming it's good for teaching logic and made learning real programming languages easier. I'm glad that I moved away from the basic programming languages. No self respecting computer science department teaches Visual Basic, we leave that to the CIS students.

    Just my opinion I could be wrong.

    --
    Environmentalists are their own worst enemy. ~tricklenews.com
  92. Re:Puh-leeze by Muzzarelli · · Score: 1
    > Fuck this site. Used to be cool.

    Kinda funny really coming from user # 148044.

  93. Re:Languages are NOT inherently maintainable/reada by swdunlop · · Score: 1

    I must protest. Almost any language is easier to write mantainable code than Intercal. =)

  94. Re:Why not? by zeck · · Score: 1

    VB does cheesy database UI better than anyone out there.

    What about Hypercard?

  95. Re:"Hello World" by Caspuh · · Score: 1
    Your either exaggerating or your programmer sucks.

    An app like that should be 100k in VB. And the libraries are about 2 megs, as far as I can remember.

  96. Re:General Protection Fault by the+phantom · · Score: 1

    Assuming that rights to trial by jury are similar to those in America, I see no problem with someone appealing the decision and getting their trial. In all other cases, it is faster, no?
    -----
    Vikhozhu odin ya na darogu;
    Skvoz' tuman kremnisti put' blectit;
    Noch' tikha. Pystinya vnemlet bogu,

  97. Re:General Protection Fault by the+phantom · · Score: 1


    Ah, a pun! I get it!

    -----
    Vikhozhu odin ya na darogu;
    Skvoz' tuman kremnisti put' blectit;
    Noch' tikha. Pystinya vnemlet bogu,

  98. Re:Puh-leeze by Rubidium · · Score: 1

    In reality, both Perl and VB are pathetic excuses for scripting or programming languages. IMHO the only really good scripting languages is Python and Scheme (if you count it as a scripting language - there are interpreted and p-code implementations of this). They both are very simple yet powerful languages. I haven't really used Scheme, but I know from experience that Python really kicks the shit out of Perl. I once try to write a small NNTP spam scanner bot in Perl. I got so frustrated that I switched over to Python. It was much easier to try to write it *well* in Python. Perl is a text manipulation language hacked into a general purpose scripting language. It's small amount of object orientation is a joke, and Perl code is far dirtier than Python code. Python code to do a complex task is usually much cleaner and easier to understand than Perl code. This is very important if you are concerned at all with maintainability. Overall, Python is a far better language than Perl. Yes, they can do the same things, but Python is far cleaner, far simpler, and tends to lend itself to better programming practices than Perl.

  99. Re:This isn't necessarily bad... by Username · · Score: 1

    maybe YOU shouldn't be trying to do anything, since you're saying 0 = 1.....

  100. Re:Puh-leeze by thetbone · · Score: 1

    Code is also money to your employer or client. Thats if you work for a living. If you just sit around and recompile your kernel all day its not so important I suppose.

  101. Re:English Judges &amp; Foolproof Programs by tree_frog · · Score: 1

    One should of course point out that 1. the "master criminal" (I presume you mean Kenneth Noye) is now doing life for a road-rage murder. 2. the man who killed the burglar (Tony Martin,I presume) shot him in the back with an illegally held pump action shotgun, and had previously had his gun licence revoked after other incidents involving firearms. Regards, tree_frog

  102. Re:Can't believe what I'm reading. by tech_imp · · Score: 1

    I agree! I do have some BIG concerns over the whole precedence this sets. It is scary on one hand because there is so many variables that go in human behavior (legal and illegal) that I would be amazed that any piece of software would be able to digest this and come up with something that would be fair. You comment about lowering the operator skill level does get at what twisted my guts on this. We are already seeing this in 'managed' health care. - the imp p.s. I know that the GPF comment was a cheap shot ... I just couldn't help myself ...

  103. Special software? by jejones · · Score: 1

    Hmmm...if it said "Abort, Retry, or Ignore?" then answering "retry" would be double jeopardy, so wouldn't they need a special version of Windows?

  104. hrmmm by b0sst0ne · · Score: 1

    Being judged by a computer... why do I feel uneasy about it...

    I guess it wouldn't be bad in OBVIOUS situations like parking tickets, traffic violations, drunk in public, etc. But then there goes your "jury of fellow peers"

    The "Man" will be a computer running a Microsoft app? I KNEW Gates was behind it all. It's not some bankers in New York, or the FBI/CIA... it's that geeky guy in Redmond, WA!

  105. Most VB bashers don't understand VB by zeno_lee · · Score: 1
    VB is a great tool. Microsoft's COM/OLE/ActiveX technology is extremely advanced. If you take full advantage of COM, VB is the quickest way to build Object Oriented* programs. With VB 5, and 6, you have to ability to create your own OLE servers and DLL's. Within an hour, you can create a VB OLE server that lies on a remote PC that queries remote databases, sends email, and returns an HTML document to your browser.

    You can create a simple web server using Microsoft's Winsock control in less than 50 lines of code. Now that is powerful.

    The VB IDE is fantastic, lint, gdb, and others can't even compare to the debugging capabilities of VB. Sometimes I feel I can code blindfolded in VB, while I spend 3x the time using command line tools in Linux. If only an IDE existed that had the scope of VB for gcc, that'd be really kickin'

    *(for those of you who are going to flame me for calling VB object oriented, keep in mind that it's common knowledge that VB does not support inheritance and polymorphism. But did you know you can simulate inheritance through Dim'ing objects within your class modules?!?)

    1. Re:Most VB bashers don't understand VB by roman_mir · · Score: 1

      The only advice to you, my friend, go read your freaking MSDN manuals on VB. FUNCTIONAL language. FUNCTIONAL. Inherintly F-U-N-C-T-I-O-N-A-L language, Its so called Object Oriented part is a hack that was added after version 2 or smth.

      byebye

    2. Re:Most VB bashers don't understand VB by Pinball+Wizard · · Score: 1
      >> where functions do not have to declair their return types

      Its not quite the same thing, since you were talking about returning a value from a function whereas this is passing values to functions, but...

      This blew me away when I first saw it: in Perl you can have a function such as selectSQL() that you can pass an optional number of values to it and it reads them in as an array! In C/C++ you have to specify your parameters, C has no way to get around this, C++ can get around it if you have multiple selectSQL functions that are overloaded. In VB you can specify that arguments are Optional. I imagine that Java works much in the same way as C++ -- overloaded functions, but I haven't used Java other than for scripting.

      But being able to do the Perl trick is really cool, I must say. I wish I could have a language that compiled to all platforms, was open source, easy to use as VB, as flexible and powerful as C++, and as fast as assembly. Alas, no such language exists.

      --

      No, Thursday's out. How about never - is never good for you?

    3. Re:Most VB bashers don't understand VB by Pfhreakaz0id · · Score: 2

      This blew me away when I first saw it: in Perl you can have a function such as selectSQL() that you can pass an optional number of values to it and it reads them in as an array!
      from MSDN ParamArray Optional. Used only as the last argument in arglist to indicate that the final argument is an Optional array of Variant elements. The ParamArray keyword allows you to provide an arbitrary number of arguments. It may not be used with ByVal, ByRef, or Optional.
      ---

    4. Re:Most VB bashers don't understand VB by roman_mir · · Score: 2

      http://msdn.microsoft.c om/library/periodic/period00/vb7.htm

      Go to section named "Language Improvements"
      Check this out:
      "For what seems like forever, there's been a natural tension between developers who are partial to Visual Basic and those who prefer a more "comprehensive" language like C++ or Java. More than once, I've had to defend my favorite programming language from charges that it was somehow a toy language because it lacked certain OOP features. Well, guess what? The next version of Visual Basic should finally put those complaints to rest. Microsoft plans to introduce the big three of object-oriented programming: inheritance, polymorphism, and overloading. And that's not all! Other new constructs, including structured error handling and freethreading, will be introduced to the language."

      Steve Balmer's discussion on new VB:
      http://msdn.microsoft.com/vstu dio/nextgen/keynote.asp

      etc. etc. etc.
      As for you statement about my experiences with VB shush, I was coding ASP over 3 years ago when you haven't even heard about it yet.

    5. Re:Most VB bashers don't understand VB by roman_mir · · Score: 2

      Well, I've used VB to write COM for BellMobility (bellmobility.ca) website, they use MTS and IIS4 for their invoice on line stuff, well, it's not object oriented. It's not and was never ment to be. It is a functional language, dual in nature. There will be a real object oriented version of VB coming soon.

      They are basically ripping off Java in this case

      I wouldn't be surprised if it was all Java underneath VB [Basically Java(tm)].
      Still, VB is not cross platform. I don't think that after using Java anyone would want to use a language that has keywords "Function" or "Sub" and where functions do not have to declair their return types and are named with first capital letters! "Dim" and "Set" it just blows into your face, doesn't it?

      Class1
      Function GetCustomer()
      ...
      End Function
      Class2
      Inherits Class1
      Function GetOrders()
      ...
      End Function
      ---
      Sub CreateMyThread()
      Dim b As BackGroundWork
      Set t = New Thread(New ThreadStart
      ...
      End Sub
      > ---

  106. Re:Judge Dread by kb9vcr · · Score: 1

    I hear that everytime these judges issue a citation the VB app will gather DNA from the keypad and embed it into the ticket.....Let's just hope we can keep that DNA cloning under wraps this time ;)

  107. Re:Why send judges out at all, then? by maragato · · Score: 1

    This is just stupid. I have never heard of anything like this here in Brazil. And I suppose this whole thing is being blown out of proportion. I think this GPF-waiting-to-happen system is just to help them with something, not do actually judge anyone...

  108. Re:Just a test post by _Bean_ · · Score: 1

    If I had moderation points I'd give ya some karma ;-)

  109. Runtime Errors ? by MrDalliard · · Score: 1
    Potential problems:

    "The court today has been adjourned, due to a VB runtime error."

    "I'm sorry - due to a bug, you got life for a parking offence, but that's the cost of progress!".

    Is anyone mildly worried by a Micro$oft product getting involved in the justice system ? It's a good job it isn't already in large-scale use in the US......

    M.

  110. The Turing Test by marko123 · · Score: 1

    This is a great application of the Turing Intelligence Test. Can you tell whether your judgment was brought down by a human with a silly wig sitting on his head, or a piece of software run on a computer with a silly wig sitting on top of it. The sooner the interpretation of the law is handed over to a piece of software instead of judge/jury/lawyers/dollars/threats/crime bosses, the sooner we will *all* be able to: 1) Afford justice 2) Compete on a legal footing against $-laden opposition The big question is how seriously we take the judgements handed down by software. This is a prime example of Garbage In, Garbage Out. At least putting the Garbage In would be cheaper than hiring an expensive and skillful lawyer to vomit the garbage into a court hearing. Maybe the case would lean to the side that could type their case in quicker, e.g. Did too! Did not! Did too! Did not! Did not! Did not! Did not.... JUDGEBOT: NOT GUILTY THROUGH WEIGHT OF EVIDENCE

    --
    http://pcblues.com - Digits and Wood
  111. LOL by ArchieBunker · · Score: 1

    Instead of a GPF it will use a different build of some obscure lib and will just seg fault or sig 11.

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
  112. Justice In Perl? by istartedi · · Score: 1

    Isn't the law hard enough to read already?

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  113. Re:Judge Dredd by kwsNI · · Score: 1
    Actually, this is how the Dark Judges must've gotten started :(

    Yeah, VB will do that to anyone. :) Sorrry :)

    I guess you could say this is the first "powerful" application ever developed in VB? (I know, I know. Thank God there isn't a Score: -1 Bad Pun).

    kwsNI

  114. Question? by pigeonhed · · Score: 1

    If you as a society are running around on the streets dispencing "Justice" is the computer really neccessary? I get the feeling the computer is just there to make it seem fair.

  115. Judge Dread by Joe_Dark · · Score: 1

    Am I the only one that's reminded of Judge Dread? "You have been Judged." MUAHAHAHA! JoeDark

    1. Re:Judge Dread by legana · · Score: 1

      I wonder if Stallone's bike in the movie ran on visual basic too?

    2. Re:Judge Dread by PhilWard · · Score: 1

      Any other old time Judge Dredd readers remember Mechanismo? Things are getting scary.

  116. Judge me, Sly! by Jonathan+Blocksom · · Score: 1

    As long as it's Sylvester Stallone doing the judging, I think everything will be fine.

  117. Re:Why not? by Arcanix · · Score: 1

    I'm a C++ fascist. If it isn't C++ it sucks.

  118. Excellent usage of AI by Remote · · Score: 1

    This seems to me to be an excellent use of computer technology, more specifically of AI. If you can read Portuguese you may take a look at the State Court's web site where they comment about this "Justice on Wheels" inniciative. There is some sort of a pun in this name, I think, for the service is specifically intended to solve disputes involving damages from car crashes. It was a local population claim that these disputes be solved in less time. Each team is formed by a judge, forensic experts and an administrative person. The page does not mention the existence of such software, from what I can infer that this is completely instrumental, not the emphasis. And that's is why I say it is an excellent usage of AI: helping an expert (the judge) to solve problems in a narrow domain (car accident damages) in a situation where he/she may be constrained as to what material can be referred to. One more thing, these civil disputes are not ruled by jurys in Brazil.

    I work as a tax auditor for another state government, and I've been dreaming on building my own AI system to help me and my colleagues. Sometimes it's really easy, due to stress and workload, to overlook important aspects of some case, and software is still dumb enough not to get pissed off or distracted, looking at every possible ramification of thought.

    Sure, I would write it in C++. ;)


  119. Re:Why do they even need a computer?? by NaughtyEddie · · Score: 1

    Personally I use my computer to remember my employer's phone number and my best friend's email address. Christ knows I'd be lost if I had to memorize 10,000 laws as well.

    --

    --
    It's a .88 magnum -- it goes through schools.
    -- Danny Vermin
  120. Why send judges out at all, then? by NaughtyEddie · · Score: 1
    Seems like a reasonable idea - use an expert system to deal with trivial offences. I hope that this means the answer is either "let them off" or "proceed with human judgement".

    But if it's an expert system coded in VB on portables, why do they need to send judges out to use it? Surely the whole point is to limit the amount of time judges have to deal with trivial cases? Now they have to run out to the SOC and question everybody.

    Maybe I'm just to unfamiliar with Brazilian law ... do judges regularly go out and judge on the streets down there?

    --

    --
    It's a .88 magnum -- it goes through schools.
    -- Danny Vermin
    1. Re:Why send judges out at all, then? by jilles · · Score: 2

      Expert systems generally don't replace experts but only make their work easier. A judge is fully qualified to judge the output of an expertsystem. By using it he can save time by letting the expersystem figure out all the details.

      Probably the expertsystem isn't coded in VB but only the userinterface. Probably the expertsystem is a COM component used in the system. Which is exactly the reason why perl is not very suitable since A) it is a pain to code GUIs in perl B) it is a pain to use com components in perl. The only two alternatives that come to mind for creating this app are delphi and Java (though com support is not optimal).

      --

      Jilles
  121. Does... by aTRaTiCa · · Score: 1

    Does this bring new meaning to... The Blue Screen of death???

    --
    ------- What exactly is real?
  122. Foolproof? by gunner800 · · Score: 1
    From the article:

    It could be some time before a similar system takes the place of an English court. "It would have to satisfy the authorities that it was absolutely foolproof first," says a spokesman for the Lord Chancellor's office, which oversees courts in England and Wales.

    I think this spokesman is mistaken. American judges won't want this system to be foolproof. They would feel jealous.


    ---
    Dammit, my mom is not a Karma whore!

  123. Re:Languages are NOT inherently maintainable/reada by alleria · · Score: 1

    Agreed. I've written horrible C++ programs which had 12 4-dimentional arrays instead of the 4 object classes that it should have had, and I've also written Perl code that, while not necessarily elegant, is intuitive, reads easily, and can be readily understood.

    It really _IS_ up to the programmer to maximize readability, and although extremes such as Python's strict definitions of whitespace and assember's "I won't understand this code no matter how many times I read it" certainly exist, in most cases, it's equally easy to write good/bad code in any language.

    My $0.02

  124. Re:Judge, not Computer, is Interpreter of Law by alleria · · Score: 1

    Think of this as a "humor" story, if you'd like. It's certainly less serious than stories like "BeOS to drop Be?" that we had earlier today. Nonetheless, that doesn't make this story "stupid," or "useless," and I've personally learned a great deal just from reading the comments here moderated to 3 or higher.

  125. Re:Puh-leeze by Sri+Lumpa · · Score: 1
    For me VB is a good software with a programming language that sucks (and I said for ME, no flame please).

    Now, if only they could replace the basic with Scheme or another functional language, THAT would rock.

    --
    "The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers." Bill Gates,
  126. Re:Re:Puh-leeze by Hotaine · · Score: 1

    MS Bigot?

    I use a real OS - You should try one too

  127. Re:Puh-leeze by Hotaine · · Score: 1

    Not my original nick - Several accounts. Thanks user #102806.

    My original is in the 50k's. Took a year before I signed up for that one.

    So PISS OFF NEWBIE!

  128. Re:Puh-leeze by Hotaine · · Score: 1

    Point taken - Although I'm not convinced the poster I replied to could be lumped in the people that know either.

    "Signing off for good"
    Promise?


    Maybe - Will you be my friend?

  129. Lamer replying to my own post by Hotaine · · Score: 1

    Nice to see what a little drunken flame can do ;).

    Also nice to see this was taken correctly and mod'ed as "funny"... Kinda restores my faith in SlashDot... OK, I'm back.

    Some people are just too sensitive.

  130. Re:Puh-leeze by clink · · Score: 1
    1) It is slow 2) It is proprietary 3) It only runs on windows 4) It isn't a real programming language 5) Did I mention that it is so slooooooooow
    Numbers 1,4 and 5 can also be said of Perl.
  131. Re:Puh-leeze by DeepPurple · · Score: 1

    The problems with VB are roughly as follows

    1) It is slow
    2) It is proprietary
    3) It only runs on windows
    4) It isn't a real programming language
    5) Did I mention that it is so slooooooooow

    Although programs may look simpler to read and maintain in VB in reality it is just hiding the grottyness under a high level API. Because the libraries that it depends upon are precompiled you can't go and look what a function actually does when it doesn't act as expected.

    It is slow, the language only recently began to be compiled. Pprevious attemps included embeding code+interpreter in a Windows PE format executable.

    In a real language you can write a compiler for your language in that language and have the compiler compile itself. (This can be done with gcc) VB can't do this.

    PERL is only hard to read if you don't know PERL, I find VB hard to read as it is verbose where as PERL is rather terse.

    -dp

  132. Re:VB: * V E N T I N G * by e_n_d_o · · Score: 1

    I'm not trying to say that VB is forever bound to relational databases, nor am I saying that VB will never be able to access databases of other types. I just find it appalling that a language would take print(rset.get("foo")) and allow you to make it into

    With Rset
    Print !foo
    End With

    I have seen this used in real VB code, specifically in the middle-tier of a large (wannabe-)enterprise application, that was deployed as the "backbone" of an intranet in a company with more than 100k employees. It makes me sick to think about all the various kludges that were implemented to make that thing work because VB (and MTS) simply were not up to the task.

  133. Re:Languages are NOT inherently maintainable/reada by |guillaume| · · Score: 1
    ...but to maintain that one language is easier to maintain or read than any other is just plain wrong. I can write lousy code in Perl just as easily as I can in Visual Basic, C, Java, FORTRAN, or any of the myriad other computer programming languages out there. To claim otherwise is ignorant.

    I claim otherwise and I'm not ignorant.

    Some languages do have a clearer syntax than others. You imply that some assembly or intercal code would be as easy to maintain as VB or C if it's coded straight? This is just plain wrong.

    ---
    guillaume

    --

    give me all your garmonbozia

  134. Re:NEWS: Brazilian Drug Kingpin Sentenced by |guillaume| · · Score: 1
    Flamebait? WTF?

    Obviously some people have no sense of humor. This is really funny (I especially like the part about George W. Bush).

    Come on, moderators, don't be stupid and moderate that post up.

    ---
    guillaume

    --

    give me all your garmonbozia

  135. Visual Basic by Annelid · · Score: 1

    Ha, ha, VB suckz! GPF! Ha, ha! GPF! GPF jokes are cool. You guys are so cool. Perl rockz, man. VB walkz, man. GPF! Ha, ha!

    I think you could use a minimum age limit on the posters. You drive intelligent people away when you get bigotry instead of news.

  136. Re:Puh-leeze by T'Kethry · · Score: 1

    VB for database programming? I've used Informix 4GL, Visual FoxPro, Delphi, and VB for various database applications and VB is far and away the most difficult, pain-in-the-neck language I've ever seen when it comes to accessing and manipulating data. It can be a good and useful language to develop in, but I would never recommend it for databases.

    So thankful for Unix and Informix - no GUI!

    --
    Death is but a doorway.
    Here, let me hold that for you.
  137. An obvious joke by Glowing+Fish · · Score: 1
    An obvious joke: "Well, it looks like you might not have done anything illegal...but my computer did!!!"

    Since this is an anti-Windows joke, moderate up to funny.

    --
    Hopefully I didn't put any [] around my words.
  138. Re:Juiz Dredd by _xeno_ · · Score: 1
    Looks right to me.
    I Like Judge Dredd in Spanish. I am the law!

    Too bad I failed high school Spanish.

    --
    You are in a maze of twisty little relative jumps, all alike.
  139. Re:Juiz Dredd by _xeno_ · · Score: 1

    He's not JonKatz, so it's OK. I'll just ignore it :)

    --
    You are in a maze of twisty little relative jumps, all alike.
  140. My mind is going... I can feel it.... by Morbid+Curiosity · · Score: 1

    ERROR

    "The Justice System you are using has executed an illegal immigrant, and may have become unstable.

    Please close down any court facilities you are currently using, and reboot your government."
    -----
    Now justice can be not only blind, it can be lagged and susceptible to page faults, too. I wonder how many people will slip through the memory leaks?

  141. Argh... by suss · · Score: 1

    "You have been judged, please reboot for the changes to take effect". Sucks to be running Windows...

  142. one more thing... by Pinball+Wizard · · Score: 1
    so by exactly the same logic, C++ is a hack?

    I mean really, the ++ in C++ refers to the additions to C, a strictly functional language.

    You would have a hard time convincing me to switch from C++ to Java. C++ is faster, has pointers, templates, exception handling and other features that make it blow away Java. Yet all these features are hacks by your definition.

    If I need something quick n' easy for Windows(which sadly is what I mostly get paid for) VB is great. But if I need something object oriented I think I'll stick with C++.

    Not trying to flame you, I'm actually interested in what you have to say.

    --

    No, Thursday's out. How about never - is never good for you?

    1. Re:one more thing... by roman_mir · · Score: 2

      Visual Basic is a functional language from the very beginning with OO added on top of it.

      C++ is a multidimensional successor of C. C++ is in itself a language that supports multiple paradigms, which I consider to be the crown jewel of programming world (especially the STL http://www.stlport.org/resources/ StepanovUSA.html - here is a god, kneel.)
      However I don't consider C++ to be purely object oriented either, it is as I say multidimentional and supports multiple paradigms. Don't switch, I have to use all of them due to our clients' demands. VB or Java is mostly Money Oriented Programing (MOP). Actually the value of C++ is only increased because it is not completely OO. Templates allow you to write functions independent of objects and that is great. - but that was the idea from the beginning. Idea of VB was QBasic.


      If you really don't think what I am telling you about VB is correct, just look at this: http://msdn.microsoft.c om/library/periodic/period00/vb7.htm
      better yet look at my post #220.


  143. only slightly offtopic by Pinball+Wizard · · Score: 1
    Did anyone else notice that this story blew up the slashdot.xml file? At least in IE5, I don't know if its OK in Netscape 6.

    If you have IE5 or Netscape 6, try reading slashdot.xml.

    It would be interesting if it only blew up in IE.(further proof of MS not adhering to standards.) You can fix it by editing the file and taking out the á character in the word 'Máximo' in the dept. line.

    --

    No, Thursday's out. How about never - is never good for you?

    1. Re:only slightly offtopic by Zico · · Score: 2

      It would be interesting if it only blew up in IE.(further proof of MS not adhering to standards.)

      Actually, it would be much more interesting if you went and learned XML, rather than spout off half-baked Microsoft conspiracy theories. :) I suggest the nice recommendation spec over at www.w3.org.

      Your link is spitting out bad XML, most likely due to Slashdot using tools which don't grok UTF-8 encoding. If they want to use ASCII characters in the 128-255 range, like the "á" that IE's parser flags as an error, and don't have any tools which will output UTF-8 characters, then they should be using the appropriate entity in their text instead, i.e. &#xE1;. Failing that, a less effective solution would be for them to specify a character encoding for their xml file, like ISO-8859-1, since their document doesn't match the default UTF-8.

      Oh yeah, and if Netscape 6 allowed that xml to go through without reporting an error, then it has a broken parser.

      Now see, learning isn't so hard, is it? And besides, it's so much more original around here than senseless Microsoft-bashing.

      Cheers,
      ZicoKnows@hotmail.com

  144. VB=$ by Pinball+Wizard · · Score: 1
    OK, I know this may sound morally corrupt to some, but here goes. This scenario is based around supporting yourself as an open source programmer by selling VB stuff.

    I like my open source grits as much as the next person, but as long as VB and Microsoft are still alive, why not make some money off it? Its so easy to turn just about any pile of code into a VB program. So I could be working on a perl project for most of the day and take a 1 hour break to convert my code into a program I could sell.

    Consider...unlike open source, I can completely seal off the source code, package it in a nice friendly self-installing binary, and sell it as shareware.

    It may not be the fastest thing out there(I think its still more of an interpreter than a compiled language) But knocking out apps is so quick, why not. The people who buy Visual Basic based applications are usually not looking for anything that requires god-like speed.

    There's also nothing wrong with me posting my source code if I decide to do that.

    Anyway, I know its next to prostitution but its the only way I know how to support myself if I want to get more into open source. I suppose I could be a sysadmin, but I'd rather just write code all day.

    I know someone will say I should come up with something proprietary like a software/service package for Linux. However, the people who buy Windows software are used to paying for software, whereas most people using Linux would not need my services. If there's any genius to Microsoft its to target their sales toward those who don't know any better. And considering it would support a noble cause, why shouldn't I do the same?

    --

    No, Thursday's out. How about never - is never good for you?

  145. Always look on the bright side of life by ComradePenguin · · Score: 1

    It could be worse.At least they're not dispensing out justice from vending machines...hmmm,for some reason,I could see this happening at Riverdale High...

    Teacher:So,you got caught handing out The Red Star(The best fake propaganda money can't buy!)again Matt?
    Student:Uhh...yes.
    Teacher:-Sigh-.Take this punishment slip to the Punishment Machine(tm)and get your detention sentance.
    Student:-Grumple-.Fine.-Grumble-

    So remember to always look on the bright side of life.

    Etot "sig" byit pisyat v Russki!
    (35.0% Slashdot nezdorovi.)

    --
    ------------------------
    Thus Spake ComradePenguin
  146. VBasic sucks when upgrading version and installing by frankie_guasch · · Score: 1
    Mi personal experience with Visual Basic is
    • It is good when you start the project, you can easily show screens to the customer and start code easily.
    • Projects are hard to come to an end. The last part of the project always has a long way to walk. IT's not easy to finish the project.
    • It can be very hard to install your finished project in the customer. DLL conflicts all the way with older access or other MS and not-MS apps installed, you have to remove everything before install your own software.
    • If you want to upgrade to the latest and newest VB you have to code a lot. If you want to code in two or more different versions of VB you can't . You need to have removable disks, each one with a different VB version.

      It does suck.

      I have made an application for 14 different locations of the same customer and have to install it there. It was a pain and sometimes I must go there because nobody did nothing and the thingie starts having conflicts or because someone installed outlook and it hangs.

      If I had to do it now I'd do a web application in perl

  147. Re: Not so great by Tosta+Dojen · · Score: 1
    If the judgments needed for those cases are that straightforward, they are simple enough for a human judge to consider without too much time or effort.

    Consider: How is this going to save the judge time? If he is saved time because he does not have to look at all of the evidence, how is he going to make a fully accurate assessment of how valid the computer's judgment is? Personally, I would not want a judge to spend 2 minutes reviewing a computer's decision based on facts he has never seen before.

    With that in mind, I really do not see how this plan will help an overburdened court system.

    --

    I have a strong belief in the Second Amendment.

  148. Re:Why not? by Bigboote66 · · Score: 1

    Actually, it's not so different than getting a speeding ticket here in the U.S. If you just pay the ticket, you're essentially agreeing to 'sentencing' of the arresting officer. If you're a fan of the domino theory, the first domino has already been tipped, it's just a matter of how many offenses fall under this auto-sentencing scheme.

  149. Re:Juiz Dredd by mazza.br · · Score: 1

    Sorry, in Brazil we speak Portuguese...
    Juíz Dread for us here...
    "Eu quero Juíz Dread em *Português*!!! Sou a lei."
    Geography rulez

  150. Civil Liberties? by FrankBough · · Score: 1

    It makes me proud to be a techie. Another major civil liberties issue reduced to an argument about coding. Maybe Amnesty International should just throw in the towel and get MCSEs. Are the Perl Monks in fact a humanitarian organisation?

  151. Isn't it funny by xtheunknown · · Score: 1
    I am amused how you /.ers jump on the most obvious thing to flame, i.e. the fact that the app is written in VB. Who care's what language the app is written in? It's the least interesting thing about this story.

    If I were Brazilian I would be more concerned with what was used as the knowledge base for building the application and who programmed the application. Just think of it. One little errant branch and it's 2 years instead of 30 days! In this case, programming bugs would be intolerable. System crashes would be OK, but bugs, no way.

    In this one case I would say that Open Source would be ideal for this project. Not because everyone would contribute code, but because private citizens could review the code and point out any logic weaknesses.

    I've done it now. Microsoft will probably stop sending me the bribe checks cuz I said something positive about OSS!

    --

    They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
  152. What, replace the judges with the nazi ss? by The+Evil+Beaver · · Score: 1

    are you insane? you might as well replace the criminals with jewish women and the roaming judges with the ss or hitler youth!
    i would rather it a big brother police state than see the next third reich form on the continent just to the south of me.


    When the pack animals stampede, it's time to soak the ground with blood to save the world. We fight, we die, we break our cursed bonds.

    --
    Chris 'coldacid' Charabaruk Meldstar Entertainment
  153. I will take #2 (Linux). Linux owns, unlike you by The+Evil+Beaver · · Score: 1

    im not a "gay homosexual" as you so eloquently put it. I'm just trying (unsucessfully) to enlighten your pitiful little Nazi life.


    When the pack animals stampede, it's time to soak the ground with blood to save the world. We fight, we die, we break our cursed bonds.

    --
    Chris 'coldacid' Charabaruk Meldstar Entertainment
  154. Willkommen zum Warschaugetto by The+Evil+Beaver · · Score: 1

    Under Hitler, those sort of things happened to Jews, especially in the ghettos? Or is your master der fuhrer, shielding you from the truth with lies?


    When the pack animals stampede, it's time to soak the ground with blood to save the world. We fight, we die, we break our cursed bonds.

    --
    Chris 'coldacid' Charabaruk Meldstar Entertainment
    1. Re:Willkommen zum Warschaugetto by The+Evil+Beaver · · Score: 1

      Heh, I guess I lost. But if you read this AC's original reply... It reminded me of the stories from the Warsaw Ghetto.
      BTW, where the hell did Godwin's Law come from? It's just too wierd if you ask me.


      When the pack animals stampede, it's time to soak the ground with blood to save the world. We fight, we die, we break our cursed bonds.

      --
      Chris 'coldacid' Charabaruk Meldstar Entertainment
    2. Re:Willkommen zum Warschaugetto by phil+reed · · Score: 2

      Whoops. Time to invoke Godwin's Law.


      ...phil

      --

      ...phil
      "For a list of the ways which technology has failed to improve our quality of life, press 3."
  155. Whoever moderated this to flamebait... by The+Evil+Beaver · · Score: 1

    should be hung, drawn, quartered, shot at, and then really hurt. X=


    When the pack animals stampede, it's time to soak the ground with blood to save the world. We fight, we die, we break our cursed bonds.

    --
    Chris 'coldacid' Charabaruk Meldstar Entertainment
  156. Heh, i dont think countries like brazil by The+Evil+Beaver · · Score: 1

    that are going big brother/police state really care about any double jeopardy laws...


    When the pack animals stampede, it's time to soak the ground with blood to save the world. We fight, we die, we break our cursed bonds.

    --
    Chris 'coldacid' Charabaruk Meldstar Entertainment
  157. I dont like the sound of that... by The+Evil+Beaver · · Score: 1

    Maybe in the courts, it would be useful for judges to have a program to help them figure out what the best sentence for a crime is, but on the streets? It just does not make any sense.
    Equip the police with a computer in each car, with some sort of map/gps program to help them in chases or something, get updates on criminals, but keep the judges in the courtrooms.
    All it takes is a few wrong answers on purpose, and you have yourself a police state.


    When the pack animals stampede, it's time to soak the ground with blood to save the world. We fight, we die, we break our cursed bonds.

    --
    Chris 'coldacid' Charabaruk Meldstar Entertainment
  158. VB stinks... herez an eksample.. by slamouritz · · Score: 1

    I work @ ICL, which are a really PRO ms company. We even got this alliance with the and all, gr8t this means VB for everybody kidz. My latest headace was when i needed to convert 7932 acsii files to a word format(paste headers into them all), this took about three DAYS to compute.. I tried doing something simular with perl. Here we talk hours/minutes. NOT DAYS.

    AND NO, Im not a totally uncompetent VB programmer. And i even had a MCSD to look at optimizing it, face it VB suck..

    --


    "Theres alotta savages in this town.."
  159. Justice by InstantCrisis · · Score: 1
    "I'm about to drop the hammer and dispense some indescriminate justice!"

    Ah, indescriminate justice. No more biases getting in the way. Damned judges enforcing their opinions on everyone. We need STANDARDIZATION! Standardization is the key.

    Instant Crisis

  160. Re:Let's Hope this Doesn't Come to America by Anal+Surprise · · Score: 1

    Police a "protective layer between the citizenry and judges"?????

    ...
    They let people off with a warning regardless of the eventual sentence they would get, probably to avoid their paperwork.

    You answered your own question about what I meant here. Judges can theoretically set aside sentences, too, but they generally don't. I simply meant that police are occasionally a firebreak between "I did something bad" and "I'm going to jail".

    I don't have any special love for or trust of cops, but I think you see what I mean, at least.

  161. Let's Hope this Doesn't Come to America by Anal+Surprise · · Score: 1

    A combination of mandatory minimums and these roving judges could make our lead in per-capita imprisoning even more solid. Right now, the police act as a protective layer between the citizenry and judges. "Throw out the joint, buddy, and I won't bust you."

    Unfortunately, this sort of leniency gives police too much power, but eliminating the police as a stop-gap means everyone will get screwed.

    Judges aren't about forgiveness, they're about ensuring that laws are enforced. Who would want a roving judge and jury posse? It smacks of the Convenient Police State.

  162. But... by peterthomas · · Score: 1

    ...I never broke the law, I am the law!

  163. Re:/. == equal time by WhyCause · · Score: 1

    I wrote a timekeeping application for the engineering department of the company at which I co-op'ed. The project codes changed regularly, but once used, they were generally used for a few months. I used a combo box to allow the user to select from the list of previously entered project numbers, or add a new one when appropriate. I thought it to be a very effective system, and the engineers thought so as well.

  164. oops by April+27 · · Score: 1

    The subject was supposed to read The Eternal Score:1 Post.

  165. Re:The Eternal Score 1 Post by April+27 · · Score: 1

    Alright, I reposted it once. Now it's time for someone else to step in. Let's see if this works.

  166. "Hello World" by SomeOtherGuy · · Score: 1

    Wow...This is a big day for laptop hard drive advances. They can now fit all of the "libraries" that constitute a VB app onto the micro platters.

    I had one of my programmers create a "quick" little app that would grab some info from a database, and parse it into a .csv file. When the verdict (package) clocked in at around 10 meg -- I quickly dismissed ever using VB again.

    Is it not a "toy" language?

    --
    (+1 Funny) only if I laugh out loud.
  167. Re:One problem by Nasheer · · Score: 1

    YES, we DO speak portuguese here in Brazil, but we do NOT use Babelfish to do that.
    You should try "Eu quero Juiz Dread EM português! Eu sou a lei!"

    A question: if a damn simple translator used by half planet does not work 100% how could a "Electronic Judge" do it well? Thanks God we do not have lifetime/death senteces here!



    - Signature? Where? It's mine!!!
    --
    - Please, ignore everything written above.
  168. Re:VB is OK by Azothoth · · Score: 1

    Right - it's good for creating interfaces or simple apps for Windows. I could see it doing fine with something that just uses yes/no input to make a simple decision. Since this is an expert system, I'd figure they'd use Lisp, but then again, there may have been speed problems, difficulty getting a good interface going. But then again, maybe it doesn't even have to be a real expert system. It might just use the yes/no answers to walk down a tree.

  169. Re:One problem by alex4point0 · · Score: 1

    Around ten or fifteen years ago the Judge Dredd series visited South America a couple of times. The local law enforcement and judiciary were portrayed as brutal and corrupt, respectively, perhaps as reference to current affairs of the day, which was something the 2000AD writers were prone to do. If I still had all my comics I'd be able to quote it a little better.

    More relevant to the use of Spanish (and babelfish) here at /. would be this morsel: one episode, set in Mega-City 1, showed mexican or latino gang members referring to the Judges as 'La Placa', or The Badge. Judge Dredd is seen re-writing their graffiti to say la placa rifa, or 'the badge rules' (2000AD's translation). Babelfish translates placa as 'board' and doesn't translate rifa, go figure. Gotta get me some of them neural SONY memory sticks... they should re-open their ESP division... grumble

    alex4.0

    ================================
    Department store BASIC on a demo C64
    10 print "K-Mart sucks"
    20 goto 10
    run, run, run.
    --
    By the time you finish reading this sentence will end.
  170. Languages are NOT inherently maintainable/readable by Wakko+Warner · · Score: 2
    I agree with you on the blatant Microsoft bashing that goes on here (par for the course really), but to maintain that one language is easier to maintain or read than any other is just plain wrong. I can write lousy code in Perl just as easily as I can in Visual Basic, C, Java, FORTRAN, or any of the myriad other computer programming languages out there. To claim otherwise is ignorant.

    The code is only as good as the programmer who wrote it, but has little to do with the language it's written in.

    - A.P.
    --


    "One World, one Web, one Program" - Microsoft promotional ad

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  171. Judge Dredd? by kris · · Score: 2

    Can you say "I ... am ... the ... law", Stallone?
    © Copyright 2000 Kristian Köhntopp

  172. Don't be silly by hawk · · Score: 2

    Those are all inappropriate to the crime. Instead, they
    should be subjected to the blue screen of death :)

  173. Re:VB: * V E N T I N G * by Jon+Peterson · · Score: 2

    "THIS LANGUAGE HAS AN OPERATOR TO TALK TO ODBC DATABASES!!! "

    This is a good thing. Once you agree that there is a place for big languages (Perl, ADA, etc) it makes alot of sense to start putting core stuff like this into operators. Look at Perl with its regexp operator and filetest operators. These would be abhorrent in a 'clean' language like Java or C, but the Perl people said "Hey, other languages consider only logic to be a core part of the language. We realise that nowdays things like regexps and handling files are core parts of what a language needs to do".

    Likewise, VB is above all a quick and easy way to create database front-ends. ODBC is core to the whole VB thing. It makes sense to make it an operator.

    --
    ----- .sig: file not found
  174. Two Words: Palm Pilot by Amphigory · · Score: 2
    Pardon me for living, but wouldn't a PDA be much more convenient for this app than a laptop? Especially the Palm VII with the nifty wireless network. Why do people always assume that they need a full-blown desktop compatible system for everything?

    --

    --
    -- Slashdot sucks.
  175. This isn't necessarily bad... by Uruk · · Score: 2

    I wouldn't mind judges being more efficient and getting more done. I don't mind that they use software. As it said in the article, if a lot of cases are just logic calls, then why not let a computer do that? That's what they're for.

    The PROBLEM would come if judges start using this damn thing like people use a calculator. The reason most math profs hate calculators is because people blindly punch in the numbers, and write the answer down as if it had fallen from Jesus' lips, and never question why it is what it is, or how the answer was arrived at. The problem is with errnoeous input. I'm in a statistics class right now, and the professor will ask "What is the probability of event A and B and C happening?" and people come up with answers like "5.7" which is TOTALLY impossible, since 0 = probabilities = 1. Other math problems are similar, where people spit out impossible answers because their calculator told them that.

    If the judge still uses his brain, and uses his power to "overrule" the computer extremely liberally, I don't see anything wrong with this. If they start using them like calculators, then I'm moving to Cuba, because at least I'll know that my rights will be violated by a human and with purpose, rather than just getting the shaft electronically.

    These could be a tool. This could also massively suck. It's how you use it that makes the difference.

    --
    -- Truth goes out the door when rumor comes innuendo. -- Groucho Marx
  176. Juiz Dredd by BrotherPope · · Score: 2

    Yo Quiero Juiz Dredd en Espanol! Soy la ley!

    (I can't believe I just said that.)
    (And I really can't believe I trusted Babelfish to translate it for me...)

  177. This reminds me of by HP+LoveJet · · Score: 2

    that truly excellent Joey Skaggs prank from the OJ Simpson trial, where he masqueraded as a Columbia Law professor and demoed (for several major TV networks) his own verdict-rendering program. Of course, it had the obligatory flashing red "GUILTY" displayed over the defendant's face. It was awesome.

    --
    spawn_of_yog_sothoth
  178. Re:Be thankful this isn't happening in the US. by MAXOMENOS · · Score: 2

    Scary thing is, they ARE working on it in the United States...as a way to resolve traffic accidents and the like quickly.


    The Second Amendment Sisters

  179. At least, the judge isn't french... by Pig+Hogger · · Score: 2
    It's a good thing that Judge Pedro Valls Feu Rosa isn't french, because he would be dead...

    ("Feu xyz") means ("The late xyz")...

    --
    Here's my mirror

  180. Possible judgement by Joe+Groff · · Score: 2

    "This criminal has performed an illegal operation and will be terminated immediately. If the problem persists, appeal to a higher court."

    --

    -Joe

  181. Plentye oe ees by A+Big+Gnu+Thrush · · Score: 2

    I'm not sure that I would not want to trust my judgement to a VB app

    I'm not sure I would trust the judgment of your spell checker.

  182. Re:Puh-leeze by Raul+Acevedo · · Score: 2

    Where does Sun say this?
    ----------

    --
    In a real emergency, we would have all fled in terror, and you would not have been notified.
  183. I'm not worried by Shoeboy · · Score: 2

    Only stupid lawbreakers will get sentenced by this program. Those of us that have seen "Logan's Run" 30 times will have no problem. Simply tell the computer "this statement is a lie" and watch it start blinking and saying "does not compute" over and over again until it explodes in a shower of sparks. I can't wait till they get these stateside. I'll get liquored up, smash my taillights and drive around chanting "there is no spoon" -- and get away with it too.
    --Shoeboy
    (former microserf)

    1. Re:I'm not worried by Shoeboy · · Score: 3

      While I'm on the subject of beating Visual-Dredd 4.0, did anyone notice that it has limited input options?

      Computer: Was the suspect intoxicated?
      Cop: No.
      Comp: Was the suspect driving in a suspiscious manner?
      Cop: No.
      Comp: I am ready to give my verdict. Please close all windows and click "OK"
      Cop: Click... Click... Damn hourglass.
      Comp: (5 minutes later) Not guilty.
      Cop: Well Mr. Shoeboy, the computer says I have to let you go - but for the love of god either put some pants on or get tinted windows.

      I really can't wait.

      --Shoeboy
      (former microserf)

  184. Lawman by mjg · · Score: 2

    I wonder if they have some sort of colourful lycra outfit to wear (the rapid justice team, that is). "Quick lawboy, to the law-mobile!" Lawman and lawboy, dispensing rapid justice from Wintel boxes in an effort to save the world from petty crime!

  185. Author was not a programmer by DarkMan · · Score: 2


    The person who wrote the program was not a professional programmer. Her was a professional judge. I quote from the New Scientist's piece on it:

    A keen programmer, Feu Rosa wrote the E-Judge program in the Visual Basic language. It presents the judge with multiple choice questions, such as "Did the driver stop at the red light?" or "Had the driver been drinking alcohol above the acceptable limit of the law?"

    So, why didn't this amateur programmer use prolog? Because prolog is a crap language. Unless you are an expert system specialist. The VB program looks nice, and does no logic more than a traffic light control program.

    In short, despite the fact the media report it as an AI program, it's not. That's why an AI language wasn't used. This is plainly evident from the New Scientist web page.

    [Aside: Why do people trust the BBC's Sci-Tech web pages? They are, without exception, the worst reporting mechanism for science and technology news. The BBC generally is poor in that area, and litters articles with inaccuracies and bad reporting]

  186. One problem by / · · Score: 2

    In Brazil, they speak Portuguese, not Spanish. Maybe you meant to say "Eu quero o juiz Dredd no português! Eu sou a lei!"

    --
    "If one is really a superior person, the fact is likely to leak out without too much assistance" -- John Andrew Holmes
  187. For those who can't remember by / · · Score: 2

    Here is Joey Skaggs's website. And here is the Soloman Project, the hoax in question.

    --
    "If one is really a superior person, the fact is likely to leak out without too much assistance" -- John Andrew Holmes
  188. Judge Dredd... by iCEBaLM · · Score: 2

    "Eu sou a lei!"

    -- iCEBaLM

  189. Re:Puh-leeze .. it's not bigotry you moron(soi-fla by Foogle · · Score: 2
    Yeah okay - maybe if you just hurl some more insults it will make your argument stronger. The point still remains. People love to cite "robust"-ness (or lack thereof) as a weakness of a language, and then turn around and call it flexibility when it suits them. Am I wrong here? Would you call C robust?

    Or am I missing the point because I'm so ignorant, and - if so - why don't you englighten me Mr I'm-Not-An-Ignorant-Programmer-But-Everyone-Else-H ere-Is.

    -----------

    "You can't shake the Devil's hand and say you're only kidding."

  190. Re:Puh-leeze .. it's not bigotry you moron(soi-fla by Foogle · · Score: 2
    MS did not design BASIC. BASIC was invented at Dartmouth college well before Gates got into the biz. And what the hell does "robust" mean, when you're talking about a programming language? Is it a thick, creamy soup or something? People throw the word "robust" around as much as "intuitive" and "open source". I guess VB doesn't do as good a job of protecting coders from themselves as languages like Java and Perl do... Big deal -- C is easily less "robust" than VB in this sense, but you don't hear people on Slashdot complaining about C... Hell, just about every OSS application is written in C! C should obviously be used for nothing but instruction, since it's clearly inferior to Java.

    I'll keep VB around thanks. It may not be the greatest language for large-scale applications, but it beats the pants off any other language (maybe not Object Pascal in Delphi) for quick GUI-programs. I will recant those words only when I see VisualPerl or PerlBuilder or something of similar quality.

    -----------

    "You can't shake the Devil's hand and say you're only kidding."

  191. Re:Languages are NOT inherently maintainable/reada by Hard_Code · · Score: 2

    Pfffffft. Some languages ARE easier to read and maintain than others. The obvious proof would be assembly, but I'll assume you're talking about high level languages. Languages with single, well-defined, ways to do things are easier to read and maintain. Perl is lauded for the fact that the same thing can be written in many ways. That means ten programmers could possibly write the same thing ten different ways...the potential differences in "identical" programs can mushroom. Readability and maintainability sure has a whole lot more than a "little" to do with the language it's written in.

    --

    It's 10 PM. Do you know if you're un-American?
  192. Re:Puh-leeze by Hard_Code · · Score: 2

    My major gripe with VB is that it is so loosely typed as to appear incredibly sloppy. Whenever I look at VB code, even "good" VB code, it just seems so utterly sloppy to me. Instead of adding structure, as a high level language, it appears to toss it out the window. That just rubs me the wrong way with coarse sandpaper.

    But in it's defense, stuff like Perl and writing of large and/or GUI apps with Python or Tcl (for heaven's sake) glue also rubs me the wrong way.

    You can probably tell that I'm a strict-typing OO bigot, if the sig hasn't given it away already ;)

    --

    It's 10 PM. Do you know if you're un-American?
  193. Re:Why do they even need a computer?? by radja · · Score: 2

    let alone the fines and/or sentences for a given case. This is probably where a thing like this would be most useful. The judge rules guilty, and looks up the punishment. Red Light? that'll be 150 GMU (generic monetary units). drunk driving? 1 driver's licence please.

    //rdj

    --

    No one can understand the truth until he drinks of coffee's frothy goodness.
    --Sheikh Abd-Al-Kadir, 1587
  194. interface design by toh · · Score: 2

    This really brings home some of the commentary in the recent article thread concerning the consequences of poor interface design. Just the site of that nine-tabbed-panel-hell window makes my brain want to turn off, and I'm only reading a BBC article, not trying to decide issues of law and order in the heat of the situation. It's hard enough for judges to interpret and apply the law on sober courtroom consideration; asking them to fight with a typical VB interface in order to do their (difficult) job is just plain cruel. And not just to them, but to the people whose fates they're deciding. I know that poor Windows and X interfaces impede my judgement, and I'm usually judging the computer itself. It seems to me that this sort of application really begs a custom Palm-style or Mac-ish simplified interface, and Brazilians would probably be better off if they'd waited to develop one.

    The stability issues are so obvious they don't really bear further mentioning (beyond the rather redundant two times in two sentences for "GPF" in the article capsule).

    --
    -- Life is short. Forgive quickly. Kiss slowly. ~ Robert Doisneau
  195. Re:Languages are NOT inherently maintainable/reada by kvigor · · Score: 2

    Obviously written by someone who has never been exposed to APL, Snobol, 90% of Forth code or any of these languages.

    Believe me, there are bad languages. VB probably isn't one of them, though I'm not qualified to offer an opinion (having never used it).

  196. Be thankful this isn't happening in the US. by wowbagger · · Score: 2

    "Well, we've feed all the evidence into the computer, and we'll see what comes out...

    Well, Mr. Gates, it seems you've done nothing wrong, but we have all been sentenced to death...."

  197. Re:Puh-leeze by dimator · · Score: 2

    "I Don't Know"

    Uhmm.. then let the people that know give their opinions without being chastised by the people that don't know. VB does in fact suck. It's power and usefulness do not compare to languages like Java or C++ or even perl. And thats the point: it is a language written for managers and PHB's, not hackers, as most slashdotters are.

    A negative informed opinion about something is not bigotry.

    "Signing off for good"
    Promise?


    --
    "And is the Tao in the DOS for a personal computer?"

    --
    python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
  198. Re:Puh-leeze by technos · · Score: 2

    VB is okay. Best thing ever for throwing together a working proof-of-concept in a couple of hours or for throwing a pretty wrapper around that cryptic little bastard you've had hanging around. It's generally NOT the best thing, but you can do just about anything in VB.

    Now that I've said that, I'm back to finish this plain 'ol C++ program in joe, skim 'Perl Cookbook' for some inspiration, and then I'm going to contemplate a gcc port to AS/400..

    --
    .sig: Now legally binding!
  199. Re:/. == equal time by CausticPuppy · · Score: 2


    What do you not like about combo boxes?

    --
    -CausticPuppy "Of all the people I know, you're certainly one of them." -Somebody I don't know
  200. Re:VB: * V E N T I N G * by Pfhreakaz0id · · Score: 2

    Man, you are WAY off on your VB knowledge. For one thing, there is already a way to get to non-relational data. OLEDB bypasses ODBC (although you can still use the OLEDB/ODBC bridge). Also, unless I'm way off, the "!" is for VBA and doesn't work in VB (at least, I've never SEEN anyone use it.)
    ---

  201. Re:VB: * V E N T I N G * by Pfhreakaz0id · · Score: 2

    well, I agree with you, that's not very neat OR mantainable. I didn't even know you could do it in VB. I've seen it in access. One of the things with Vb is it is such a HUGE language. It has tons of commands that are holdovers/whatever that you never use. I guess it is fairly impressive that you can almost always open a Vb 4 or 5 app in 6 and recompile and you're fine, but I wish they'd sacrifice a LITTLE backward compatiblity and get rid of some crud.
    ---

  202. General Protection Fault by Money__ · · Score: 2
    Police and Judges are payed to generally protect and serve the public. By denying a trial by jury, their justice is at fault.

    So, in short, this form of mobile justice really is a general protection fault.
    :)
    ___

  203. Re:NITS: Brazilian Drug Kingpin Sentenced by chadmulligan · · Score: 2
    Tastes differ regarding to what's funny, but at least some basic facts should be checked before posting something like this...

    RIO DE JANIERO
    It's "Rio de Janeiro". Brazilians speak Portuguese, not Spanish, although a recent poll showed that 60% of Americans are unaware of this.

    Luis Sanchez, overlord of a drug cartel that stretches from the Cape Horn to the Bering Strait...
    "Sanchez" is a Spanish name - see above. And, aren't you thinking of Bolivia...?

    ...by a federal judge. Judge Roberto Gonzalez carried out the sentence at a Starbuck's coffee house...
    "Gonzalez" is again Spanish. You'll find "federal judges" in Brasília, the capital, not in Rio... they moved decades ago. Then again, 30% of Americans still think the capital is Buenos Aires :-)
    And, Starbucks in Brazil...? Now that is hilarious!

    I suppose the rest of the names and statements might make sense to an American...

  204. Re:NITS: Brazilian Drug Kingpin Sentenced by chadmulligan · · Score: 2
    I wrote:
    at least some basic facts should be checked before posting something like this...
    And you asked:
    Why?

    For two reasons:
    1) the joke's easier to understand if not cluttered up by factually wrong details, and
    2) the point's less dependent of secondary jokes like the "running Onion" thing.

    Here's some advice: It's a joke. Lighten up. :-)

    Hey, I said "NITS", didn't I...? ;-)

  205. Do We Dare Mention Slashdot Stability? by MSwanson · · Score: 2

    If we're going to talk about VB, then we'd better talk about Slashdot. I don't know what Slashdot runs on, but it certainly isn't very reliable. According to some e-mail responses, "it's my ISP." Yeah, right...that's why I get returns on pings, but no HTTP. :) Perhaps Slashdot should upgrade to VB for higher availability. After all, it is the single most-used programming language on the planet.

  206. Re:VB: * V E N T I N G * by John+Murdoch · · Score: 2

    Hi!

    Um, actually, the "!" isn't an operator for ODBC. It is a shorthand way of referring to a default property of a referenced object. You can use it in all sorts of places, in much the same way that you can use default values.

    When you assign a value from a recordset, for instance, you might use this snippet:

    ' Assume lValue is already declared as a long
    lValue = rsData!CustomerID

    It is syntactically identical to this:

    lValue = rsData.Fields("CustomerID").Value

    The "!" operator retrieves the default property (Value) of a referenced object (the Field object, a member of the Fields collection).

    This has nothing to do with ODBC--it is related to the COM object model. This works with any COM object, not just a database component.

  207. This is good for an overburdened court system! by alexhmit01 · · Score: 2

    This is a nice idea... If your court system is overloaded, put the most common 100 or 200 things in a simple database. You hit a few buttons, the software figures out what specific violation it is (if you say, have 10 levels of reckless driving, etc), and prints out a reasonable judgement.

    As long as the appeals process is unchanged, this is helpful. Instead of needing the judge to lookup the difference between the different laws and write up a whole judgement, a simple mail-merge type deal prints out a judgement.

    This won't be used on major crimes, but it a good way to determine what should happen with traffic type crimes.

  208. VB is OK by meckardt · · Score: 2

    At least it is if you don't ask it to do anything too complicated. However, for a simple branched logic program such as might be implemented for this judiciary system, it would be perfectly adequate, and easily implemented. There won't be that many possible paths that they wouldn't be quickly debugged as problems are reported from the field.

    For that matter, a program written in Perl, or C, or Java isn't necessarily going to do the job any better than one written in VB. It might be more robust, but if the logic is wrong, its wrong.


    Gonzo
  209. Re:Why not? by burris · · Score: 2
    What your father showed you were guidelines for sentencing, which are applied after the person has been convicted in a real trial by a real jury.

    This is different, this isn't just the sentencing of an already guilty person. This software is the replacement of a trial. Fortunately they are allegedly only using it for "straightforward" cases, but it is still a little scary to an American. The US constitution guarantees the accused a fair trial with a jury of their peers.

    Furthermore, many people, some of whom are federal judges, believe the Federal Mandatory Minimum Sentencing Guidelines are a travesty of justice. They do not allow the judge much discretion, if any, because the sentence is determined by the charges. Prosecutors determine the charges, not the judges. Mandatory minimus effectively remove sentencing descions from judges, where they should be, and place them in the hands of the Proscutors.

    Please see Families Against Mandatory Minimums

    Burris

  210. Hmmn? by jallen02 · · Score: 2

    One of my hmmn.. what was being thought posts.

    How can Perl and Visual Basic even REALLY be compared as programming tools? I thought to myself. Oh wait im sure there is a CPAN Module for a GUI Drawing Interface.. or Perl+GTK or Perl/TK. Basically in Perl for a quick and easy GUI that you can distribute to 95% of the business world oh wait.. you cant do that can you?... VB Is the way to go there.

    You guys are kind of deluded doing an outright comparison of VB and Perl, crawl out of the command line and remember where Perl/Linux/Open Source are. :)

    c 'fireproof' 'Hmmn?'

    Jeremy

  211. Oh YEAH??! by hypergeek · · Score: 2
    These puny judges and their weak "justice" program will be no match for my Army of Robotic Brazilian Mecha-Criminals...

    They'll coordinate their cyber-thuggery with the help of a Linux-based distributed supercomputer, the GNU Robot-Enhancing Network Doing Evil with Linux, or G.R.E.N.D.E.L. (Some pundits say that "Beowulf" slaughters G.R.E.N.D.E.L., but that's just a myth!)

    Ultimately, the Brazilian rent-a-judges will be overwhelmed by this evil, mechanized horde. The robots will win the war. Soon Rio de Janeiro will lose its status as the world's safest city!!

    Mwa ha ha ha ha ha! Victory is mine!

    --
    Stay up hacking each weekend. Sleep is for the week.
  212. VB for LOGIC??? WTF!!! by roman_mir · · Score: 2

    This is just as stupid as you can possibly get. Of-course any, even the most simplistic compiler/translator/virtual machine that can implement finite automaton will work BUT! There are actually languages the whole and sole purpose of which is to interpret logic.

    for those of you who never did any AI, they are:

    Prolog - Programming Logic (the language is a database that defines atomic truths and their relations, the Prolog engine is a 4-cylinder processor that works completely recursively to find out your question, so if you ask to: contcatenate X and Y you will get Z by doing the following concat(X, Y, Z), on the other hand the same line will return the necessary Y, if X and Z are known, and if X and Y are not known, then all possible concatenation sequences will be returned by simply recursing over Z.

    LISP - orgasmic (otherwise known as lots of silly parentesis)
    SCHEME - variation on Lisp (virtually orgasmic)
    ML - strongly typed Meta Language (tough language but fair)

    Just don't, Don't tell me there is no way to use these languages because they are lacking something, in fact they are not lacking anything. There is even visual prolog today (if it wasn't in my wet dream)

    Some of these languages are successfully used to even write HTTP servers and Device Drivers without mentioning their actual use for AI.

    So WTF? I ask you, WTF!!!???!!!

  213. Sentencing by www.sorehands.com · · Score: 2
    Some possible sentences:
    • Fatal Error
    • BSOD
    • ReBoot

  214. Re:Puh-leeze by StoneTable · · Score: 2

    For the last 5+ years, I've coded in VB, C, C++, Java, perl, php, assembler, and others that I can't remember ( or don't want to ).

    Each language has it's strengths and weaknesses, without exception. Yes, VB does have some drawbacks. It is not portable. It doesn't have certain OOP features *yet* ( See VB7 ). It does offer rapid development, native 32-bit _compiled_ code ( VB hasn't been interpreted for a couple years now ) that, when _well-written_, can run just as well as an application written in MSVC++.

    ** Note ** I'm not making any comment in regards to the stability of the OS, which can play devils advocate for _any_ application.

    I'm not claiming that VB is as robust as other languages ( perl, c++, java ) but _in my experience_ I have found that if VB isn't capable of performing a task, it will easily use a component written in to the COM specification. That's a strong features of VB. It can use any COM component, and you can write COM objects in many languages, including Delphi and C++. You can even access CORBA objects!

    Applications can be written poorly in _any_ language.

    IMHO,
    http://www.battleaxe.net

  215. Re:Puh-leeze by Hotaine · · Score: 2

    I agree - Fuck this site. Used to be cool.

    Does VB suck? I don't know, since I never really used it. Am I prejudiced against it? No.

    I've had enough of SlashDot bigotry... Signing off for good.

    -hotaine

  216. Re:Puh-leeze by fooyen · · Score: 2

    Amen. For the love of god.

    Visual Basic does what it is supposed to do and, over the years, has come to do it damn well. True, earlier revisions of the language were really weak, but it has evolved into an excellent language for rapid application development. It is quick to write, easy to debug, and, with a bit of creativity, can be used to do a bloody lot. For someone who has to do a lot of quick, turnkey Windows application development, I can vouch for the legitimacy of the language. I can write 98% of the code I need in VB, debug it, package it, and deploy it very quickly, and not have to worry about killer alloc problems, whatnot. Other people may not like it, but there is certainly a sizable chunk of people who do.

    VB is criticized for being a "Basic." So the English-centric language is more accessable to the novice programmer than C. This results in a greater number of novices using VB than using C, thus meaning that there are going to be a larger concentration of novices in the VB world than in the C world. It is easier to turn out compilable code in VB than C. But given a good programmer, you will get good code out of either language. It's the programmer that really matters, remember? A good programmer can pick a convenient tool and turn good stuff out of it. Not all of us live in a non-Microsoft world.

    But, if we're really going to talk smack about languages, then, for the love of god, don't hold C or Javascript up as some kind of "perfect" creation. The principals of something like Squeak make for much better argument.

    ----
    I am not a Microsoft groupie, but I'm not going to break my neck avoiding them when there are more productive and convenient ways for me to get my job done.

  217. VB: * V E N T I N G * by e_n_d_o · · Score: 2
    VB has its place, but I think when they started trying to make "enterprise edition" for building middle tiers and so forth, things just kind of got of hand. I'm not a fan of VB, but I have, with (at the time) minimal knowledge of it, used it to create quick GUIs with very little pain, and have been impressed by this capability.

    But, like so many other technologies that are "good in their niche", Microsoft is building up VB to handle things that it was never ever intended for. This language has no solid foundation. It has no standard, no specification. MS will throw any feature necessary into this thing to make it EASY at all expense.

    This language has five different ways to say "NULL." This language has so many keywords its sickening. THIS LANGUAGE HAS AN OPERATOR TO TALK TO ODBC DATABASES!!! (its the excalamtion point ("!")) Yes, sure it makes it easy, but how long 'til all these features come back to bite you on the ass.

    What do we do with the ODBC OPERATOR if/when RDBMS technology goes away in favor of object databases? What we have here is a case of lack of forward thinking. These are the people who brought you 8.3, GUI-in-the-kernel, the (corruptable) binary registry, and WINNT/SYSTEM32! They are thinking only of getting the product out the door with the most features first... at the price of not thinking about the long-term effect. Once you can't stand it anymore they'll tell you everythings going to be alright by coming out with kludges like Windows File Protection (fixes WinNT/system32) and Windows 95's hack for long file names... (everythings really still 8.3!) And you'll buy into it. ENJOY!

  218. 3 Options by Tosta+Dojen · · Score: 2
    On the flip side, if you got a judgment you did not like, you could blame:

    1) a hacker
    2) a virus
    3) Y2K

    --

    I have a strong belief in the Second Amendment.

  219. Re:Puh-leeze by The+Evil+Beaver · · Score: 2

    While VB is easily maintainable, it is also a weak language. On the other hand, the great languages, C/C++, Perl, Java (although it's a real bitch), they may be complex, but you can make an honest to god rocket control system with any of them. Anyways, we dont want missiles that GPF on us, do we? {=


    When the pack animals stampede, it's time to soak the ground with blood to save the world. We fight, we die, we break our cursed bonds.

    --
    Chris 'coldacid' Charabaruk Meldstar Entertainment
  220. Re:Puh-leeze by Cally · · Score: 3
    Guess who said :
    "I've always thought that Visual Basic is a good product."

    Was it

    • Bill Gates ?
    • Linux Torvalds ?
    • Zaphod Beeblebrox ?
    • Hemos ?

    Answer : Linux Torvalds. Source : Linux Journal.
    http://www2.linuxjourn al.com/articles/conversations/006.html

    Personally, I prefer Perl, but there ya go ...
    Camaron de la Isla 'When I sing with pleasure, my

    --
    "None are more hopelessly enslaved than those who falsely believe they are free." -- Goethe
  221. If VB were Open Source by hey! · · Score: 3

    People would be pretty proud of it, or at least the IDE.

    Of course, no open source project would contain a language as ugly and inconsistent as VB's Basic; but the IDE is very nice for bolting together ActiveXs and UI widgets in a quick and dirty way. A lot of MIS type projects fall into this category.

    One of the best things about VB is the ability of the IDE editor to understand and catalog ActiveX methods, which can only be discovered dynamically (sorry, no static IDL). That said, this also leads to the worst thing about VB, which is that its popularity encourages ActiveX developers to be lazy. Really, the only test of an ActiveX seems to be does it work in VB. This leads to broken function prototypes that only work in VB, not in Delphi, PowerBuilder or C++. Another wonderful case of interproduct synergy brought to us from the Microsoft monopoly. it's great for people whose application fits in the VB solution space, it sucks for everyone else.

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  222. VB not as robust as Perl? by aeiler · · Score: 3

    Just because VB isn't open source doesn't mean it is not robust. I think open source software is the way of the FUTURE. The reality is that the best solution for many (not all) things today is still stuck in a proprietary world.

  223. Re:Languages are NOT inherently maintainable/reada by MosesJones · · Score: 3

    Umm, I'd argue that this is arse. While it is possible to write bad code in any language it is without doubt easier to read _average_ code in one language over another. As always with these things lets take the example to an extreme.

    In the blue corner we have PentiumIII assembler, in the red corner the beast of all languages Ada, your task is to write a Multi Radar Processing system. We estimate it will take 3 years with 10 people to write. It is classified as being mission and safety critical (cat 1).

    Do you think that the assembler app will be as maintainable or as manageable as the Ada app ?

    Of course not. Certain languages are tailored towards certain things, FFT in FORTRAN is a breeze, I'd image its slightly harder in VB.

    I've seen systems (as in had to interface to) written in many different languages (including all those written above, + Ada, COBOL, Perl, Assembler et al) assuming that most were written by a team and thus the ability is around the average I can safely say that certain languages lend theirselves to extendability and comprehension. Other can produce good and readable code but their normal standard is lower than the normal standard of other languages.

    VB isn't one of the best mind. In fact that honour goes to Ada IMO. There have been many studies done on development times/maintainance times in different languages and it DOES make a difference what you code in.

    Otherwise we'd all be using Turing Machine Instruction sets.

    --
    An Eye for an Eye will make the whole world blind - Gandhi
  224. Why do they even need a computer?? by canny · · Score: 3

    OK, so the computer asks you "did he run the red light?".... ok the computer isn't exactly running some fuzzy-logic artificial intellegence program to determine wether the person is guilty or not, now is it? what kind of computation goes on behind the scene when you reply "yes, the driver did run the red light"? it must be microsoft bloatware... maybe a little dancing paperclip will pop up and say "this program has automatically sentenced the offender to death, would you like to know how to turn this feature off in the future?"

  225. Why not? by Bigboote66 · · Score: 3

    My father (a district judge here in the US) has shown me the tables that judges use to ensure that their verdicts fall within the guidelines set by the various laws that have been passed madating minimum & maximum sentences. So the system already exists here.

    As for all the obvious jokes about the stability of VB apps: we're not talking about Quake here - it's just a very basic database & the rest of it is UI. VB does cheesy database UI better than anyone out there. If I have no idea who the programmer is, I'd trust a cheesy UI written in VB to a cheesy UI written in C/C++ any day. There are a lot more programmers out there able to write stable VB apps than there are those that can write stable C apps, given that the app is simple in the first place.

  226. Languages are NOT inherently maintainable/readable by Wakko+Warner · · Score: 5
    I agree with you on the blatant Microsoft bashing that goes on here (par for the course really), but to maintain that one language is easier to maintain or read than any other is just plain wrong. I can write lousy code in Perl just as easily as I can in Visual Basic, C, Java, FORTRAN, or any of the myriad other computer programming languages out there. To claim otherwise is ignorant. The code is only as good as the programmer who wrote it, but has little to do with the language it's written in. - A.P.
    --


    "One World, one Web, one Program" - Microsoft promotional ad

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  227. NEWS: Brazilian Drug Kingpin Sentenced by cje · · Score: 5

    BRAZILIAN DRUG KINGPIN SENTENCED TO BLUE SCREEN OF DEATH
    Harsh Sentence From Judge Raises Some Eyebrows


    RIO DE JANIERO (UPI) - Luis Sanchez, overlord of a drug cartel that stretches from the Cape Horn to the Bering Strait, was sentenced to the blue screen of death this afternoon by a federal judge. Judge Roberto Gonzalez carried out the sentence at a Starbuck's coffee house in downtown Rio after he was spotted by undercover agents. The agents called in Gonzalez and restrained Sanchez until he arrived with his laptop computer, running the Automatic Brazilian Justice Service Pack (ABJSP) of the Microsoft Windows 2000 operating system. The ABJSP is part of the default installation.

    Opponents of the blue screen of death penalty were quick to criticize Gonzalez's actions. "The blue screen of death penalty is never justified," explained Mary Madalyn Murray Coughlin O'Laughlin, a representative of the National Council of Churches. "What sort of message do we send when we carry out a penalty like this? It puts us in the same boat with countries like China, Iran, and Afghanistan. It's brutal, it's barbaric, and it's an idea that is about a thousand years too old."

    Famous programmer Linus Torvalds agreed with Coughlin O'Laughlin. "I'm from Finland," explained Torvalds, "and I can tell you that I have never, ever seen a blue screen of death penalty carried out. Ever. It's just something that doesn't happen in a sufficiently evolved society."

    Ed Muth, newly-appointed Brazilian Minister of Justice, had a slightly different take.

    "We need the blue screen of death penalty," explained Muth. "Studies have shown that it acts as a deterrent, that it gives criminals something to think about, that it stops them from committing violent crimes. Also, we cannot forget about the closure factor. While it might seem barbaric, I've had family members of murder victims come up to me and thank me for blue-screening a criminal. They'll tell me that they're finally able to get a good night's sleep, now that their long nightmare is over."

    Texas governor and United States presidential candidate George W. Bush agrees. "The blue screen of death penalty remains a necessary evil," Bush explained during a campaign stopover at Berkeley. "It sends a compassionate, yet conservative message to the criminal population of the world." Over the past thirty years, Bush's home state of Texas has blue-screened more inmates than the rest of the Western world combined.

    The big black guy from "The Green Mile" contributed to this report.

    --
    We're going down, in a spiral to the ground
  228. Puh-leeze by konstant · · Score: 5

    I'm not sure that I would not want to trust my judgement to a VB app ... couldn't they have at least written it something more robust ... like Perl?

    What is with the VB bigotry? In your review of competing products, do you dismiss out of hand the fact that VB is easily maintainable and readable, whereas Perl resembles abstract art drawn from the inner, inarticulate recesses of the mind that coded it?

    I like VB, and I'm not alone in liking it. Lay off.

    -konstant
    Yes! We are all individuals! I'm not!

    --
    -konstant
    Yes! We are all individuals! I'm not!
  229. Judge, not Computer, is Interpreter of Law by Speare · · Score: 5

    Give me a break. This is just a stupid story to fill space and generate a lot of banal arguments about nothing.

    If the Judge wore sneakers with holes through them, it would say nothing of the judgements he made.

    If the Judge drove a Fiat, it would not suggest bias or improper legal process.

    If the Judge wired her decision to the clerk's office using Handspring or Linux or BeOS, it would not aid nor hinder the quality of justice.

    And if the laptop in question burned up because it wasn't using a low-heat Transmeta chip, but was instead slogging away at slashdot-impoverished microsoft-laden Dell/Intel circuitry instead, the criminals would just have to wait for a handwritten slip to meet their legal fates.

    (Judge, not Computer, is Interpreter of Law =anagram>
    Mature projection upsetting free world.)

    --
    [ .sig file not found ]