Slashdot Mirror


User: pdjohe

pdjohe's activity in the archive.

Stories
0
Comments
59
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 59

  1. Re:False assumption on Sentence Spacing — 1 Space or 2? · · Score: 4, Funny

    Just set your slashdot comment setting to code.  Then you can get two spaces with all their glory.

    And you'll get monospaced characters also.  Speaking of which, comments in code are monospaced.  Are two spaces after a sentence more correct there?  Personally, I think it looks too expanded.

  2. Re:Tried to find source code on Claimed Proof That UNIX Code Was Copied Into Linux · · Score: 1

    I actually liked http://www.mcbride-law.com/wp-content/uploads/2010/07/Tab-413.pdf better. The implementation looks ENTIRELY different (only the method name matches, which is necessary to match the API). It seems pointless to include a file like this is their claims.

  3. Large font on Health Care Reform · · Score: 1

    I had no idea the font size in a bill was so large. It really makes it seem as though the media networks exaggerate the size of the document. I wonder how large it would be if given in a standard font size.

  4. Re:Evolution has nothing to do with it on Are Women Getting More Beautiful? · · Score: 1

    Amazing what 4 hours of makeup and 4 hours of photoshop can do.

    I agree: http://www.youtube.com/watch?v=7-kSZsvBY-A&NR=1

  5. news from 2008 on Norwegian Broadcasting Sets Up Its Own Tracker · · Score: 1

    That article was posted March 26, 2008. This is quite old news.

  6. Java road map on Java, Where To Start? · · Score: 1
    Here are the steps I recommend:

    Setup
    1. Install Java JDK 1.6
    2. Install Eclipse and hook it up the the JDK (not JSE) - All java documentation (JavaDoc) and library source code will be visible to Eclipse. This speeds up learning Java incredibly, as you can also see how a lot of Java's base is written.

    Java basics

    1. Stick to primatives and static methods and learn some basic syntax.
    2. Learn the basic Objects (String, Integer, etc.) and arrays.
    3. Learn what the following descriptors mean: public, private, protected, final, static (hold off on 'transient' until later)
    4. Learn object inheritance
    5. Understand interfaces
    6. Learn 'abstract' descriptor
    7. Learn about enums
    8. Learn about the difference between String and StringBuffer (immutable vs. mutable)
    9. Learn about packages and begin using them right away
    10. Learn Exception/Throwable class. Learn 'try', 'catch', 'finally', and 'throws'. Learn the difference between checked exceptions (exceptions that extend Exception) and unchecked exception (exceptions that extend RuntimeException).
    11. Learn the basic organization of a class according to some java coding standard (I like inner classes first, then static fields, static methods, then instance fields, instance methods. Order fields and methods by public, protected, default, private.) Additionally, learn how to write JavaDoc comments right away.

    At this point, most of the foundation in Java's structure should be clear. Now to pick up some of the fundamental classes available:

    1. I feel the most important library (besides the basic objects mentioned above) is the Collections (java.util.Collection and subinterfaces and implementing classes), especially List<E>/ArrayList and Map<K,V>/HashMap. Become very familiar with these. The collections will help you learn to program to an interface instead of an implementation and learn how generics work. Observe the source code to some of these classes to learn how to program generics.
    2. Learn how Iterators work, varargs, and the foreach loop
    3. Learn Comparable/Comparator, Calendar/Date, Formatter

    Then depending on your needs, start looking into the following stuff:

    • File, InputStream/OutputStream and super classes
    • BigDecimal (high precision math)
    • Thread, Runnable, the descriptor 'synchronized' together with Object.notify() and Object.wait()
    • java.sql.* basics: Connection, Statement/PreparedStatement, ResultSet
    • Pattern and Matcher if you like regular expressions

    Now that you have most of the Java core under your belt, you can proceed to other frameworks. Each framework will probably take considerable time to learn. For example:

    • Creating jars: I would recommend 'Apache Ant' if you are used to 'make' for other languages. The other popular packager is called Maven.
    • Logging: log4j is a nice library
    • Apache commons libraries have a lot to offer
    • Database persistence: Learn JPA annotations, don't think 'Hibernate' or 'Toplink' or whatever. If you stick to the JPA standard as much as possible, it's really simple to change back and forth between implementations. Toplink has far fewer dependencies and is therefore easier to get running.
    • Webpages: look at JSP and Java Faces
    • Webservices: Axis/Axis2 is rather popular
    • XML parsing: Jaxb, XPath

    Advanced java core stuff (not really necessary until you need it):

    • Seriablizable (here is the transient descriptor) and RMI (remote method innvocation)
    • The Reflection API - for accessing methods and fields dynamically
    • Swing: A model/view/controller pattern for standalone applications

    Yeah. I would say that is a fair road map.

  7. Re:Don't worry... on Chipped Passport Cloned In Minutes · · Score: 1

    No, he mean's Dr. Horrible's nemesis, Captain Hammer.

    And he will save us! After all, 'Man's got to do what a man's got to do.'

  8. Re:Update on Firefox Download Day To Start At 1 p.m. EST · · Score: 1

    The site is now updated to 3.0 links. But on the site it says that it's size is supposed to be 7.8MB, but when downloaded, it is only 7.15MB. Mozilla really seems unprepared...

  9. Hard to count downloads on Firefox Download Day To Start At 1 p.m. EST · · Score: 1

    As the official time got closer and closer, loading times for their website got slower and slower. The release time finally hit and now the page won't load. :-) And when that happens, people look elsewhere to download...

    And pirate bay already has several torrents up. I think it is really hard to track actual downloads these days. Especially where there are torrents and proxies.

  10. Re:Hmmm... on Jackson Slated to Make Hobbit Movie, Sequel · · Score: 3, Informative
    Somebody already commented on possible plot details between the Hobbit and LOTR: http://slashdot.org/comments.pl?sid=320733&cid=20896787

    What exactly happens, of any interest, in that period?

    Hmm.. I'm not 100% on the timeline but...

    Gandalf and Aragorn meet. The romance of Aragorn and Arwen. Aragorn serving with the Armies of Rohan.

    Gollum pursues Bilbo from the mountains. I beleive Gandalf investigates the creature and discovers its history in this period. Mordor also captures Gollum at some point.

    The Dwarves (including Balin of the hobbits) try and retake Moria.

    Sauruman is corrupted by Mordor through the Palantir.

    Sauroman corrupts Theoden through Grima Wormtongue.

    Sauron, identified as the 'Necromancer' was discovered as the source of evil in Mirkwood and was driven out by the White Council, only to resurface later rebuilding in Mordor.

    I dunno... I've seen movies made on smaller premises than that :)

  11. computers in space on Frozen Chip from IBM hits 500 GHz · · Score: 2, Interesting

    Since these temperatures only occurs naturally in space, why not build a super, big cluster of these things, hook them up to a satallite and launch it into orbit.

  12. Bot for making massive data amounts. on EU Approves Data Retention · · Score: 2, Informative

    If this is the case, what if there was some sort of bot that would simply go around the Internet visiting random sites. If everybody had this installed, then the noise ratio would be too high for accurate data retention, right? After all, you don't pay for the usage of bandwidth generally, you pay per month. Just use all the bandwidth you can on useless stuff. In the end, it will push the amount of storage the ISP's have to use and their bandwidth usage through the roof.

  13. Needle/Haystack on Finding a Needle in a Haystack of Data · · Score: 1

    Oh come on!  It's not that hard!

    public static Object find(Object needle, Object[] haystack) {
      for (int i = 0; i < haystack.length; i++)
        if (haystack[i].equals(needle))
           return needle;
      return null;
    }

  14. NetNanny? on Edubuntu - Linux For Young Human Beings! · · Score: 2, Interesting

    Just out of curiosity, does Edubuntu have any sort of application to limit what kids can find on the Internet?

    One that I found after a google search was http://dansguardian.org/?page=whatisdg

    I know the Slashdot crowd is generally against censorship, but would a children's Linux distribution be appropriate to have censorship as default.

  15. Sony driver? on Should Linux Have a Binary Kernel Driver Layer? · · Score: 1

    HA! Admit it! It's Sony and they've come with their so-called proprietary CD-Rom driver.

    Please give Sony a stable kernel API so that they can hook your kernel system calls!

    DRM: playing soon at a Linux distribution near you!

  16. Google and Privacy on Google Patent for User Targeted Search Results · · Score: 4, Insightful

    Google is getting worse and worse with privacy. From a geek point of view, they got a bunch of cool apps, but from a humanist point of view, I feel google is definately turning over to the dark side.

    In a couple of years, we will probably be discussing Google and privacy concerns just like we discuss Microsoft and security concerns now.

  17. Re:Why? on RIAA Hands out more Lawsuits · · Score: 1
    A comparison between data copying and physical theft is always going to be wrong.
    Very true. I'll expand a little...

    If you buy a book, you have a physical, real object that you can do whatever you want with. For example, you can:
    1. Let a friend borrow it for a while.
    2. Give your book away.
    3. Sell your book to somebody else.
    4. Lose your book.
    5. Destroy your book.
    6. Keep your book forever.

    Sure you can photocopy the book and give the photocopy to a friend, but this requires work and there is quality degradation. With music, the work to copy albums is almost nothing at all, and there for most people, any quality degradation is acceptable.

    It all comes down to this: an object in the real work is never the same as an object on a computer and should not be treated as the same thing. Period.
  18. Re:NTFS? on WinFS Beta 1 Released Early · · Score: 1

    What does WinFS stand for? Windows File System or Windows Future Storage.

    I've seen both in the media recently:
    Future Storage - (example, example , example )
    File System - (example, example).

    But then when I looked a little more, I found this. Will this end up being something that is constantly being corrected on Slashdot? :)

  19. Video of lightning suitcase/lazers on Weapons of War Now Include Lightning Guns · · Score: 2, Informative

    The guy's website is at www.xtremeads.com.
    There is a video there with a shot of the suitcase that shoots lightning talked about in the article.
    If you look around the rest of the site, you'll basically just see artist's drawings of their ideas.

  20. I'd pay more for hard-to-find songs.... on iTunes Might Lose Labels · · Score: 1

    Which songs/ablums can easily you find pirated copies of on the Internet? It's the popular, new stuff. If prices increase on the new releases for popular music, I'm guessing less people will legally buy this music. However, if somebody is having trouble finding a pirated copy of something, then that person would probably be willing to pay more for the simplicity of a quick download from iTunes.

    Right?

  21. Re:Couple more on Piracy Not To Blame In Decline of Moviegoers · · Score: 1

    asdf

  22. Re:Thoughts on virtual thoughts on Effort to Create Virtual Brain Begins · · Score: 1
    physical data derived from many, many slices of mouse brains
    I think if they are going to be getting into the details of the brain, there is quite a bit difference between humans and mice.
  23. And here's where you can give them your money on PA Sues Online 'University' For Spamming · · Score: 1

    Here's the google cache for the order form:

    Get your degree now!

    :)

  24. Re:Liars on 2004 Election Weirdness Continues · · Score: 2, Interesting

    I think Bush won this election because of three simple reasons: Guns, God and Gays.

  25. Re:OggVorbis Support? on Creative Zen Micro Ships Today · · Score: 1

    I definately agree that besides disk space and battery, file format can be a big plus to compete with iPods. With the new 4th Gen. iPods and mini iPods supporting a compressed lossless file type for audiophiles (Apple lossless), it seems to have an advantage over the only lossless file type on these new Zen Micros (wav). I couldn't find anywhere on Creative's website that said they support variable-bitrate MP3s, but I imagine it does. Anyone know?

    But I am disappointed in both players for not supporting Ogg formats.

    Also, the user interface on the Zen Micros does not seem up to scratch with the iPod either. The display graphics seem like an iPod display copy attempt. The buttons don't seem as simple as on the iPod and you just can't beat that iPod scroll-wheel!