Slashdot Mirror


User: tcopeland

tcopeland's activity in the archive.

Stories
0
Comments
1,760
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,760

  1. ImageMagick + Rails == good on The Definitive Guide to ImageMagick · · Score: 4, Informative

    I did some nice charts for the indi admin pages; worked out really nicely thanks to Gruff + RMagick.

    I did have a spot of trouble getting the fonts working at first, but once that was fixed, it was easy to create some nice charts with very little code.

  2. Re:invitation only on Boxxet, a Tool for Automatic Webpage Generation · · Score: 2, Insightful

    "invitation only" makes a lot of sense... it helps you throttle the initial flood of folks until you've sorted out what people like and dislike.

    We're using it for indi (built with Rails, w00t!) and the waiting list keeps growing, good times...

  3. Re:static_analysis++ on Automated Linux Error Checking · · Score: 1

    > the compiler's optimizer needs some improvement.

    Quite true! But until Sun improves the Java compiler, it's nice to have PMD around to catch such things. And anyhow, the readability improvements might make that change worthwhile, regardless of bytecode savings.

  4. Re:static_analysis++ on Automated Linux Error Checking · · Score: 1

    Hm, I'm not too familiar with that, but yes, I think class files do keep some debugging info. With JDK 1.5 you can add annotations that are retained in the bytecode as well.

  5. Re:static_analysis++ on Automated Linux Error Checking · · Score: 5, Informative
    > I'd like to know how you figured that code would have saved you "4 bytes"

    Good question:
    $ cat Bar.java Bar1.java && javac Bar.java Bar1.java && ls -l Bar*.class
    public class Bar {
      public boolean foo(int x) {
        if (x>2) {
          return true;
        } else {
          return false;
        }
      }
    }
    public class Bar1 {
      public boolean foo(int x) {
        return x>2;
      }
    }
    -rw-rw-r-- 1 tom tom 244 Mar 6 11:53 Bar1.class
    -rw-rw-r-- 1 tom tom 248 Mar 6 11:53 Bar.class

    That's JDK 1.4 on Linux, perhaps newer javac versions do a better job...

  6. Re:static_analysis++ on Automated Linux Error Checking · · Score: 1

    Cool, thanks very much! And nice ion cannon walkthrough :-)

  7. static_analysis++ on Automated Linux Error Checking · · Score: 4, Interesting
    I've worked on an open source Java code analysis project for the past few years; static analysis can be a very handy tool. Having an automated check for things that aren't even bugs, but are just overly wordy code blocks:
    public boolean foo(int x) {
      if (x>2) {
        return true;
      } else {
        return false;
      }
    }
    is quite helpful. Changing the above code to "return x>2" will save four bytes and will read a bit smoother, too. There are many other examples of this sort of thing.

    Lots more on all that in my book - there's a downloadable free chapter there on using static analysis to improve JUnit tests if you want to get a feel for things.

  8. CTO passes the initial LKML scrutiny... on Automated Linux Error Checking · · Score: 3, Insightful

    ....he makes some polite, reasonable replies to the answers to his post. Nice to see.

  9. Re:That's great but what about step 3? on AIM Now (Mostly) Open To Developers · · Score: 2, Informative

    Right on! And with PostgreSQL as a Jabber backend, it scales quite well.

    It's certainly working out fine for indi so far... routing multiplayer hearts games over Jabber, good times!

  10. "Mission critical" on Oracle Boss Says OSS Needs Big Business · · Score: 4, Insightful
    From the article:
    There are huge gaps in open source, it will be a long time before open source becomes popular for what we call mission critical database applications.
    I think "mission critical" is supposed to evoke Walmart-sized behemoths, or perhaps the stock market. But isn't "mission critical" just anything that a particular business can't live without? Because indi is running on lots of open source, and it's pretty "mission critical" for our small company...
  11. Even game like Hearts and whatnot... on Golden Age of Arcade Games · · Score: 1

    ...are interesting to folks.

    We put Hearts and a couple of version of Solitaire in the first beta of indi and that was the thing that got the most "wow" - not the instant messaging, not the calendar stuff we'd labored over, but the multiplayer Hearts. Ah well.

  12. Too bad they didn't use Ruby on Rails... on Foundations of Ajax · · Score: 1

    ...InstantRails makes it easy to get it up and running, and Rails definitely has AJAX support built in.

    I'm using AJAX a fair bit (mostly on the admin pages) on getindi; it's very handy stuff!

  13. Cheating sounds like a lot of work on Search Engines Breed Worthless 'Original Content'? · · Score: 0

    If you want a high ranking for "charts and graphs with Ruby On Rails", why not just blog about it? Is it really that hard to write something?

  14. Re:Closing the "analog hole" on Japan to Discourage Sale of Old Electronics · · Score: 3, Informative

    > for an economy struggling against a weak Yen.

    The Japanese economy is struggling against their own demographics; there are fewer and fewer young people to support more and more older folks. Hard to say how that's going to sort itself out... but seems like a vacuum is opening there that will be filled by someone.

  15. Re:One of the attendees... on NYT on Paul Graham's YCombinator Bootcamp · · Score: 1

    That's because the body of the post was a continuation of the subject line. Try reading it thataway and see if it don't sound right.

  16. One of the attendees... on NYT on Paul Graham's YCombinator Bootcamp · · Score: 3, Insightful

    ....Keith Casey, blogged about his trip to Startup School here. There's an interesting note in his post about one of the speakers talking about how nervous CFOs feel about Sarbanes-Oxley.

    Incidentally, Keith also reviewed my book.

  17. Re:koders on Search Engine For Coders to Launch · · Score: 1

    Yup, and we at RubyForge got together with them to add some searching capabilities for the projects in RubyForge. Pretty cool stuff.

    getindi!

  18. Another great 'hacks' book on Linux Multimedia Hacks · · Score: 3, Informative

    ...is Linux Server Hacks. Just to "turbo mode ssh logins" hack (#67) is worth the price alone.

    Oh, and, book plug!

  19. Re:PostgreSQL seems to be immune... on Oracle Bid to Acquire MySQL · · Score: 1

    > I bet you could easily hire aware the developers of that project.

    Right, that comes up occasionally: the "what if someone hires Tom Lane" (*) question. It's a legitimate concern. But it'd be hard to hire all the PG core developers since they don't all work for one company.

    Also, what's the chance of a core guy taking a job that requires him to stop working on PG? On a much smaller scale, I wouldn't take a job that required me to stop working on PMD; there are lots of other jobs out there. Don't want to damage my book sales, either!

    (*) Tom Lane is a PostgreSQL uber-guru

  20. PostgreSQL seems to be immune... on Oracle Bid to Acquire MySQL · · Score: 4, Informative

    ...from these things since no one entity owns it. I'm running a Jabber server with PostgreSQL as the data store and it's been quite solid... good times.

  21. I must say... on Robot Piloted by a Slime Mold · · Score: 4, Funny
  22. Re:A discussion on the PostgreSQL advocacy list... on Oracle to buy JBoss (and others) · · Score: 1

    Hm, I'm not sure which once Bruce was referring to...

  23. A discussion on the PostgreSQL advocacy list... on Oracle to buy JBoss (and others) · · Score: 5, Insightful
    ....right here had an interesting comment from Bruce Momjian:
    It is interesting that they are purchasing companies that almost fully control the software but give it away free as open source: Sleepycat, JBoss, and Zend. Oracle's purchase months ago of InnoDB used by MySQL was a similar move. What they are _not_ getting involved in is software that is community controlled, like PostgreSQL or Linux, because it much harder to see how a purchase would allow tight control of the software, resulting in revenue.
    Rather well said.

    I've been pleased with Oracle's JDeveloper; writing an extension for it has been interesting and the Oracle folks have been quite helpful.
  24. JBuilder plugin on Borland Divests IDEs to Focus on ALM · · Score: 1

    Argh, so much for my JBuilder duplicate code detection plugin. Such is life...

  25. Rails and unit tests on Beyond Java · · Score: 2, Informative

    One nice thing about Rails is that the unit tests are built in. Rather than having to go out and use JUnitWebTest or whatever, once you start writing Rails code the basic tests are generated for you and writing new tests involves fairly readable code, like this:

    assert_redirected_to :action => "thanks_for_applying"
    follow_redirect
    assert_res ponse :success

    It seems like the folks who are writing Rails are aware of the whole web development picture; not just getting a web app up but also making sure it's well tested. It's certainly making RubyForge much busier...

    Oh, and, book plug!