Stories
Slash Boxes
Comments

SoylentNews is people

posted by LaminatorX on Friday March 21 2014, @06:51PM   Printer-friendly
from the Now-with-all-new-exploits! dept.

Sir Garlon writes:

"Oracle released version 8 of the Java Development Kit (JDK) 8 to general availability on Wednesday, March 19, 2014. (A release candidate has been available since January 2014.) The release notes include a long list of security improvements as well as support for lambda expressions."

This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 5, Insightful) by skullz on Friday March 21 2014, @06:53PM

    by skullz (2532) on Friday March 21 2014, @06:53PM (#19416)

    Awesome! Now I can finally push people to upgrade from Java 5 to Java 6!

    • (Score: 0) by Anonymous Coward on Friday March 21 2014, @07:05PM

      by Anonymous Coward on Friday March 21 2014, @07:05PM (#19430)

      Damn, brah, you lucky. We can't even move off Java 4 because of intranet crap.

      • (Score: 3, Funny) by skullz on Friday March 21 2014, @07:09PM

        by skullz (2532) on Friday March 21 2014, @07:09PM (#19433)

        And those pesky variables named "enum".

    • (Score: 2, Interesting) by stroucki on Saturday March 22 2014, @01:01AM

      by stroucki (108) on Saturday March 22 2014, @01:01AM (#19552)

      I found that Java 6 leaks memory in projects that parse much text (handling it as Strings probably isn't a good idea, I know). Java 5 didn't have the same problem, and Java 7 fixed those issues from Java 6.

  • (Score: 0, Interesting) by Anonymous Coward on Friday March 21 2014, @07:00PM

    by Anonymous Coward on Friday March 21 2014, @07:00PM (#19423)
    Java: The COBOL of training wheels languages. Why do people still use this garbage?
    • (Score: 5, Insightful) by skullz on Friday March 21 2014, @07:06PM

      by skullz (2532) on Friday March 21 2014, @07:06PM (#19431)

      I know this is replying to flaimbait and that clearly you have never actually written anything besides PHP with some Node.js thrown in for "extra cool!" but Java, like C, runs the Internet, your car, your phone, your smart TV, and maybe even your toothbrush.

      No escaping Java!

      • (Score: 2, Insightful) by tniemi on Friday March 21 2014, @07:58PM

        by tniemi (1639) on Friday March 21 2014, @07:58PM (#19458)

        And Minecraft.

        (The sole reason that desktop machines still have Java installed.)

    • (Score: 4, Informative) by michealpwalls on Friday March 21 2014, @08:05PM

      by michealpwalls (3920) on Friday March 21 2014, @08:05PM (#19461) Homepage Journal

      It's so easy to spot someone with zero programming experience.

      COmmon Business Oriented Language.. "Training wheel languages"... I'm not sure of any two phrases that could be any further apart than that.

      I wonder, have you even seen COBOL? :)

      IDENTIFICATION DIVISION.
      PROGRAM-ID. HELLOWORLD.
      PROCEDURE DIVISION.
      MAIN.
      DISPLAY 'Hello, World!'.
      STOP RUN.

      • (Score: 5, Funny) by chromas on Friday March 21 2014, @08:23PM

        by chromas (34) Subscriber Badge on Friday March 21 2014, @08:23PM (#19469) Journal

        That definitely looks like business. A lot of paperwork for such little action. Plus that last statement would seem conflicting if I didn't know what it did, which I don't.

        • (Score: 4, Funny) by nukkel on Friday March 21 2014, @08:25PM

          by nukkel (168) on Friday March 21 2014, @08:25PM (#19472)

          Kinda like having to open the Start Menu to shut down your computer.
          Perhaps Windows is programmed in COBOL?

          • (Score: 2, Insightful) by RobotLove on Friday March 21 2014, @10:15PM

            by RobotLove (3304) on Friday March 21 2014, @10:15PM (#19499)

            I've resolved that particular chestnut in my mind by thinking of it as "Start stopping my computer", which unfortunately, can often take several minutes. Nothing makes me happier than powering down my laptop at work so I can catch the bus home only to have it say, "Installing update 1 of 3029. Do not turn off your computer." Would it be too much to ask me if I had time first?

            • (Score: 1) by blackest_k on Friday March 21 2014, @10:43PM

              by blackest_k (2045) on Friday March 21 2014, @10:43PM (#19514)

              would be nice if it warned you, maybe a suspend wouldn't kill it and let you catch the bus.

              Ok i admit it i find windows irritating but it is such a time sink. Turns 5 minute jobs into 2 hour or longer ones and the damn printers.

              this afternoon two pc's connected to the same network printer one can print the other can send test pages only. both on the same group policy.

              Think it was a corrupted driver as i finally got it going by installing the wrong driver which it then pulled from the server and could print normally. Problem is theres another 200 or so random pc's which may have similar issues and nobody ever willing to say much more than its in that room along with 25 others...

              Maybe if i just use windows in a vm i can get control of it.

               

              • (Score: 3, Informative) by chromas on Saturday March 22 2014, @01:24AM

                by chromas (34) Subscriber Badge on Saturday March 22 2014, @01:24AM (#19559) Journal

                It usually does warn you by putting a little icon next to Shutdown in the menu. I think it's a shield but it's been a while since I've used Windows.

                I think the idea is that if you want to do a task, you Start at the menu, even if it's to stop doing tasks. Of course, now it's where you Start raping your eyeballs with giant colored rectangles.

          • (Score: 2) by istartedi on Friday March 21 2014, @10:22PM

            by istartedi (123) on Friday March 21 2014, @10:22PM (#19503) Journal

            Not knowing any COBOL, I'm guessing that the RUN command could have been placed on a separate line, and that the STOP command is like a void return in C. The main function is compiled, and the RUN command is back in the "shell" or whatever it is COBOL has. That's my guess anyway.

            --
            Appended to the end of comments you post. Max: 120 chars.
            • (Score: 2, Interesting) by rochrist on Saturday March 22 2014, @06:33PM

              by rochrist (3737) on Saturday March 22 2014, @06:33PM (#19770)

              I expect this stems from the days when programs were run as jobs on large timeshare systems, and the STOP RUN refers to stopping the run of this particular job.

      • (Score: 1) by Nimey on Saturday March 22 2014, @12:30AM

        by Nimey (3865) on Saturday March 22 2014, @12:30AM (#19546)

        BAD TOUCH!

        Gah. I still feel a bit dirty when I remember the COBOL class I took.

  • (Score: 2, Troll) by Sir Garlon on Friday March 21 2014, @07:23PM

    by Sir Garlon (1264) on Friday March 21 2014, @07:23PM (#19439)

    I wish I could mod LaminatorX up for labeling this story "from the Now-with-all-new-exploits! dept." The sad truth is, I wouldn't know whether to mod it Funny or Informative. :-)

    What do we call those labels, anyway?

    --
    [Sir Garlon] is the marvellest knight that is now living, for he destroyeth many good knights, for he goeth invisible.
    • (Score: 2) by dotdotdot on Friday March 21 2014, @07:40PM

      by dotdotdot (858) on Friday March 21 2014, @07:40PM (#19448)

      infunitive? funformative?

    • (Score: 2) by etherscythe on Friday March 21 2014, @08:31PM

      by etherscythe (937) on Friday March 21 2014, @08:31PM (#19475) Journal

      I believe it is called a "tag-line"

      +1 Funny-Because-It's-True?

      --
      "Fake News: anything reported outside of my own personally chosen echo chamber"
    • (Score: 4, Informative) by Nerdfest on Friday March 21 2014, @10:01PM

      by Nerdfest (80) on Friday March 21 2014, @10:01PM (#19492)

      Java as a language (and even the VM implementation) is as secure as any other. The Sun Java browser plug-in is about as secure as Microsoft's Active-X plugins or Adobe's PDF reader plug-in.

      • (Score: 1) by xtronics on Friday March 21 2014, @10:33PM

        by xtronics (1884) on Friday March 21 2014, @10:33PM (#19509) Homepage

        Not exactly - the problem is not the language, but the culture. Way to many are using binary blobs of unknown content. This is a huge problem with including Java projects in distributions.

        There is nothing about the language it self that is insecure - just the common way it is used. A favorite of three letter agencies.
         

        • (Score: 2) by c0lo on Saturday March 22 2014, @04:29AM

          by c0lo (156) Subscriber Badge on Saturday March 22 2014, @04:29AM (#19609) Journal

          Way towards many are using binary blobs of unknown content.

          FTFY.
          (grin)

          --
          https://www.youtube.com/watch?v=aoFiw2jMy-0 https://soylentnews.org/~MichaelDavidCrawford
  • (Score: 5, Interesting) by nukkel on Friday March 21 2014, @08:23PM

    by nukkel (168) on Friday March 21 2014, @08:23PM (#19470)

    It is said that all programming languages, as they evolve, converge to Lisp/Scheme, and ever since Python became hugely popular, it is certainly trendy these days to extend languages so as to provide functor/lambda/closure-like syntax.

    However I'm not so sure it is a good fit for Java, for the following reasons:

    • * Java methods are designed to be written in a procedural, rather than a functional style. Many, many Java programmers are not familiar will the functional style, and will do a poor job at maintaining Java code written that way. Excessive use of the new syntax thus violates the principle of least surprise.
    • * Java 8's lambda expressions provide a nice syntactic sugar, but they are not real closures: you may still only refer to (explicit or effectively) final variables or fields from the enclosing class. So their usefulness is limited: they do not increase the expression power of the language. One could argue that they merely replace one kind of non-intuitive syntax (that of the anonymous class) with another.

    Frankly, I think that if you want to do functional programming in a Java environment, a solution like Clojure is a better fit. It gives you a much more Lisp/Scheme-like language (real closures, hygienic macros, weak typing, ...) and full interop with the Java parts and dependencies of your program.

    Just my 2 cents!

    • (Score: 1, Interesting) by Anonymous Coward on Friday March 21 2014, @09:59PM

      by Anonymous Coward on Friday March 21 2014, @09:59PM (#19489)

      I had been superficially exposed to Lisp for a long time, but never bothered with it due to its almost grammar-free nature, but Clojure got me to learn Lisp. Even if you don't end up using it as one of your main language, your effort at learning Clojure/Lisp will be rewarded - it definitely expands the way you think about how to solve problems.

      Scala is another JVM language with FP empahsis. It's to Java what C++ was to C - seemingly a good idea initially, but one thing led to another and it has been turning into an unholy monster. Ultimately, I don't trust the judgment of the guy leading its development. Doesn't help that he was a principal behind Java generics.

    • (Score: 2) by Nerdfest on Friday March 21 2014, @10:06PM

      by Nerdfest (80) on Friday March 21 2014, @10:06PM (#19494)

      I'm mainly a Java developer these days, and in general, I like the language, although they need to pick up a few features to reduce the boiler plate code that's required, although most IDE's will take care of most of it. There are places though, that absolutely scream for Lamda functions. As with most features, I think it will work out quite well as long as people don't abuse the FP aspects and use them where aren't the optimal solution for readability.

  • (Score: 1, Funny) by Anonymous Coward on Friday March 21 2014, @08:33PM

    by Anonymous Coward on Friday March 21 2014, @08:33PM (#19478)

    Will java8 make minecraft (the only use of java I can think of anymore) work better? ;-)

  • (Score: 3, Funny) by Stuntbutt on Friday March 21 2014, @08:41PM

    by Stuntbutt (662) on Friday March 21 2014, @08:41PM (#19479)

    Java is to Javascript is what a Car is to Carpet.

    Reminder: disabling Java in your browser is a good move. Uninstalling from your computer is probably unnecessary, but I wouldn't blame you.

    • (Score: 1) by bugamn on Saturday March 22 2014, @12:06AM

      by bugamn (1017) on Saturday March 22 2014, @12:06AM (#19540)

      I would say that removing it from your computer is a good move, if you don't need it. Removing it from your mother's computer is an even better move.
      Apparently the updater installed some bars that were flagged as malware by removal programs.

      • (Score: 1) by Zanothis on Monday March 24 2014, @07:41PM

        by Zanothis (3445) on Monday March 24 2014, @07:41PM (#20465)

        Apparently the updater installed some bars that were malware.

        After having to clean my wife's laptop... FTFY