Slashdot Mirror


User: patniemeyer

patniemeyer's activity in the archive.

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

Comments · 209

  1. Ports aren't physical phenomenon people... on "Port Knocking" For Added Security · · Score: 1


    I agree that this is analagous to frequency hopping or spread spectrum broadcasting. But in the real world that adds security because the laws of nature make it difficult to perform these activities.

    Ports aren't real. It's a packet with a number in it followed by a packet with a different number in it, etc. Why not just send all the numbers in one packet... with the delay specified as some more numbers if you want. It's equivalent to a plain text password people.

    Pat

  2. Re:Licensing of NPR programming? Why unavailable? on NPR's Car Talk Dumping RealMedia · · Score: 1

    There are two obvious, simple solutions:

    1) Sell the programs to make more money. Right now I can't buy them... just a few selected ones. If licensing makes this problematic then stop creating programs with that licensing. I think making them available also happens to be an obligation.

    2) Do less and make truly free programming that can actually be owned by the public.

    And as far as streaming goes - truly free programming doesn't need to be streamed. It can be released and other people will distribute it for you. Less free stuff (which is fine too, as long as it's available) can pay for its own bandwidth.

    I think a combination would be good.

    Pat

  3. Re:Licensing of NPR programming? Why unavailable? on NPR's Car Talk Dumping RealMedia · · Score: 1

    First, I meant PBS, not NPR when referring to NOVA, but I perhaps they are similar in terms of how the funding affects their licensing.

    Second, I did not say that I want anything for free... I would gladly pay a reasonable price for these episodes. What I find hard to swallow is that work produced in part with public funds is *unavailable* to the public.

    I am for funding the NEA but I wouldn't be if the art work weren't available to be seen.

    I can't even think of a rationale for why they would not want to make more money by selling the series... It's not like they are making advertising dollars by running them... (Or maybe they are... those "supported by" promos are basically commercials now and perhaps the contributors want a certain viewer share...)

    The closest thing to an answer that I got from them was that licensing issues make it difficult to offer some of the shows... So maybe the answer is that they never should have been allowed to enter into those bad agreements with public funding. Which is more important - that the show have good background music or that it be available at all?

    I really don't think it's unreasonable that government funded programming and radio should be available by reasonable means to the public... And I think that people will be far more eager to support it with more tax dollars in the future when it is (as it inevitably will be) available on the web.

    Pat

  4. Licensing of NPR programming? Why unavailable? on NPR's Car Talk Dumping RealMedia · · Score: 2, Interesting

    I'm trying to understand the licensing of NPR programs. I've written NPR several times regarding the NOVA series and they never get past the standard reply to my questions.

    I would have naively thought that publicly funded t.v. would be, if not free, at least publically available... but it's not. Only a select few NOVA episodes are available for puchase, much less those free on the web.

    I have been waiting for years for the day that I can sit down and watch all those *good* old NOVA episodes that I missed over the years... (tired of this "let's reconstruct a pyramid" crap).

    They responded to my query once telling me that, basically, it's expensive to stream video over the web... which is not really true...

    At the very minimum, it should be possible to get access to any publicly funded program at some reasonable media cost...

    Perhaps I can FOIA them ;);)

    Pat

  5. BeanShell for Java... on Lightweight Scripting/Extension Languages? · · Score: 1


    BeanShell is the original lightweight scripting extension language for Java.

    http://www.beanshell.org/

    Pat

  6. The time *where* on Mars? Time zones? on Living on Mars Time · · Score: 1

    What meaning does it have to say "the time on Mars"? What is the "time on earth"? It depends where you are... Have they defined time zones for the landers?

    Pat

  7. Why the Newton failed... on Cheap Linux Tablets, And (Maybe) An Apple Tablet · · Score: 3, Insightful

    The Newton failed because Apple refused to let anyone write software for it. I recall back in the day as a student having to get together with several of my friends to pony up $1000 to get the development kit for the priviledge of writing software for my Newton.

    Look at Palm ten years later - it's a toy by comparison, but it has a world of software. It's also cheaper at the low end, but not that much.
    Apple could have backed the Newton until it had a footing and created a new market by getting on board with the open source bandwagon earlier than they have.

    I applaud them for everything they are doing now and love my Powerbook, but they really screwed the Newton.

    Pat Niemeyer

  8. Re:I wonder if... on Batteries Continue To Suck · · Score: 1

    So, what if the light switches had a softer "landing" rather than an abrupt short? Wouldn't that save light bulbs by allowing them to heat up more slowly (relatively speaking?)

    Is this already done or should I go get the
    patent ;)

    Pat

  9. Re:RAID for RFID tags on Lessons Learned from RFID Field Test · · Score: 1

    Kind of the opposite of RAID. Store your information many times (one each item) and if you're lucky maybe get it back once or twice... This is pretty useless.

    The "aggregation" bit seems like trying to put a spin on the fact that RFID completely failed the test.

    Pat

  10. What has happened to Nova? on Elegant Universe Airs Tonight on PBS · · Score: 1

    Not withstanding this particular show - which sounds good - has anyone noticed that Nova just sucks now. I remember years ago that it covered interesting, deep topics in science in a way that no other show did. Now it's more in tune with the Discovery channel and recreating how Egyptians might have moved blocks of stone or other such nonesense.

    On that topic - is it possible to get *all* of the back episodes of Nova somehow? Are they in the public domain, being public television? I'm assuming not... sad.

    Thanks,
    Pat

  11. Re:Canon 10D, skip the D60... on Digital 35mm SLRs? · · Score: 1

    I was lucky or unlucky enough to get a 10D as a replacement for a defective D60. So I got to use the D60 for about six months of the nine I owned it and then get the 10D...

    -Pat

  12. Canon 10D, skip the D60... on Digital 35mm SLRs? · · Score: 2, Informative

    I have owned the Canon D30, D60, and now own the 10D. These are all great cameras and make it possible to do things that you would never be able to do with a traditional 35mm... such as routinely taking 300 photos and saving the best 10. No matter what anyone says, the best way to improve your photography is to take more pictures.

    I would recommend skipping the D60 if possible, it was kind of a premature upgrade after the D30. The 10D is the true successor to the D30. My wishlist at this point is the same for all digital cameras: better low light performance and dynamic range - this is the last place that film has digital beat, more pixels of course, and a faster performing camera... they are a bit slow in reviewing big photos.

    I highly recommend the D60 and it goes well with the Epson 2200 photo printer... You won't believe it the first time you do a 13x19 print at home and it looks like a professional print.

    - Pat

  13. Pledge Change Log... on Supreme Court Will Hear Pledge of Allegiance Case · · Score: 1

    The Pledge of Allegiance is in paragraph 172 of the U S Flag Code and has been changed three times: in 1923, the First National Flag Conference added the words "the Flag of the United States" in place of "My Flag"; in 1924, "of America" was added; and in 1954, the United States Congress added the words "under God" between "Nation" and "indivisible".

  14. Re:BeanShell - Embeddable, Java compatible scripti on Mobile Game Applications Need Scripting Too · · Score: 3, Interesting

    BeanShell is a general Java scripting and extension language. It just happens to be small enough to be useful in some embedded applications.

    If it's too slow for a particular application then just compile that code. That's the beauty of a Java *compatible* scripting language... see?

    Pat Niemeyer

  15. Re:Pointless layers of emulation on Mobile Game Applications Need Scripting Too · · Score: 3, Informative

    I'm not going to argue about specific cell phone implementations, but let me just point out that Java was *designed* to run on cell phones.

    People used to complain that Java was too slow for all sorts of applications... Have you noticed that they have been very quiet for the past few years? It's all about getting a good VM wedged into the device.

    BeanShell is not the fastest implementation possible, but it does internally compile and perform many optimizations. It should be fast enough for a lot of applications to use it effectively.

    Thanks,
    Pat Niemeyer

  16. BeanShell - Embeddable, Java compatible scripting on Mobile Game Applications Need Scripting Too · · Score: 5, Interesting

    It is interesting that this article appears this morning, because I have just now posted the first beta of BeanShell version 2.0.

    For those of you who don't know: BeanShell is a light weight, LGPL, pure Java Java source interpreter with a minimal footprint of less than 150K (and getting smaller). In addition to interpreting standard Java code, BeanShell extends Java into the scripting domain in a natural way by allowing loose types, method closures, commands, and other obvious scripting language features. And because BeanShell runs in the same VM with your app, you can freely pass "live" objects into scripts and back.

    BeanShell is already widely distributed with Emacs, Weblogic app server, Sun's NetBeans/Forte, and many other commercial apps and non-commercial apps.

    With version 2.0 BeanShell adds (bugs withstanding) full Java compatibility and the ability to script true Java classes. Scripted classes appear to outside Java code and by introspection as ordinary classes but are fully dynamic and may include arbitrary scripts in their bodies, methods and constructors.

    Please check out www.beanshell.org for more and check back for updates on 2.0 in the near future.

    Thanks,
    Pat Niemeyer
    Author of Learning Java, O'Reilly & Associates and the BeanShell Java scripting language.

  17. Writing Learning Java... on Head First Java · · Score: 4, Interesting

    Hi, I'm Pat Niemeyer, the author of Learning Java. As I sat down this morning to begin work on the fifth edition of the book for Java 1.5 I was
    pleasantly surprised to see this item on Slashdot (my first stop of the day). So I thought I'd chime in with a little bit about what it's been like working on this book over the years and ask for you help in making it better.

    The short story is that trying to authoritatively cover a topic as broad as the Java language and libraries and to do so without simply producing a giant shelf-filling reference tome or dry as toast text book is a very difficult challenge. I think there are parts of the book that have met this challenge and parts that can be better in the future.

    Now, I consider myself to be a relatively funny and creative person (also sexy, and other adjectives as well) and I think if someone had asked me back in 1995 what my first book would have been like I might have imagined something a bit lighter and breezier than an 800 page book about a programming language. But I think that the Slashdot audience in particular will appreciate that despite its size and some obligatory coverage, this is a book written by someone who has a passion for software and architecture and that I have tried to pour my creativity and time into crafting elegant, insightful, and *minimalist* examples. I wrote this book for people who think and learn the way that I do and that may not appeal to everyone.

    I think the strongest parts of the book are in the most exciting and difficult areas of Java - topics such as advanced networking, multi-threaded
    programming, and XML. IMHO Learning Java's coverage of these topics is deeper than some single topic books in their entirety.

    The Java language is a moving target and one that gets more moving parts every day. The greatest challenge in writing about it now is not what to cover, but what to leave out. I have spent many many hours on the phone with my editor (Mike Loukides) over the years debating about what we need to include and what we need to cut. In recent editions which have included a CD in the jacket (yah, I know... book CDs are normally useless) I have started moving the old, less relevant material (such as some of the original AWT API stuff) to the CD.

    I have also experimented with the introductory tutorial chapter - trying to give a broad overview of the whole language in one chapter before diving into details. Some people may see that and be turned off. I hope they'll dig a little deeper.

    I am very interested in what Slashdot readers have to say about how to make the book better. Your comments would be very well timed right now as I am updating the book for Java 1.5 as we speak.

    I hope you'll check out my book if you need to learn (or learn more about) Java. If you have already mastered Java then I hope you'll buy a copy of my book and give it to a homeless person ;);)

    Thanks,
    Pat Niemeyer
    Author of Learning Java, O'Reilly & Associates and the BeanShell Java scripting language (www.beanshell.org).

  18. Re:Crazy size of the IPv6 address space... on Asia Running Out Of IP Addresses · · Score: 1

    I do realize that the problem is in doling out the address space... it's just fun to do the math. On that topic here is a reference I had noted:

    "Christian Huitema performed an analysis in which evaluated the efficiency of other
    addressing architecture's (including the French telephone system, USA telephone
    systems, current internet using IPv4, and IEEE
    802 nodes). He concluded that 128bit IPng addresses could accommodate between 8x
    10^^17 to 2x10^^33 nodes assuming
    efficiency in the same ranges as the other addressing architecture's. Even his most pessimistic estimate this would provide 1,564
    addresses for each square meter of the surface of the planet Earth. The optimistic estimate would allow for 3,911,873,538,269,506,102 addresses for each square meter of the surface of the
    planet Earth."

    [8]C. Huitema, "The H Ratio for Address Assignment Efficiency" RFC-1715, November 1994.

  19. Crazy size of the IPv6 address space... on Asia Running Out Of IP Addresses · · Score: 4, Interesting

    I did the following fun calculations once for a book I was working on (let me know if they're wrong):

    There are about six billion people on earth and each person's body consists of about 100 trillion cells. With 128 bit addressing each individual cell in every human being could have 100 trillion addresses. I believe that is on par with 1 address per molecule.

    To put it another way we cannot, with current technology, use all of these addresses in any physical way. We can't even count them (literally). Suppose you have a machine that can do a trillion operations per second; then suppose that you have a billion such machines connected via the Internet and we ask each one to simply start counting through part of the address space. I believe it will take about 3 billion years for them to finish.

    Pat Niemeyer
    Author of Learning Java, O'Reilly & Associates and the BeanShell Java scripting language.

  20. Re:So .Net is like C++? on Hijacking .NET · · Score: 1

    That's what I meant by doing the types of things that OO languages let you do... If you use reflection you're clearly stepping outside of the realm of compiled code... at least for now. But in the normal case, and with the exception of the array bounds checking, I believe it's true that Java can be compiled down to native code and optimized to the same degree as C/C++ and still retain the type safety... that's what's really novel about Java.

    And again, that's just the start... at runtime you can make further optimizations based on the *behavior* of the code... things you can't do statically.

    Pat

  21. Re:So .Net is like C++? on Hijacking .NET · · Score: 5, Insightful

    In the first chapter of my book, Learning Java I make this comparison and show an example of how trivial it is to forge a pointer in C++.

    The thing that many people still just don't get about Java is that it was designed to supply this kind of safety *without* impacting performance. In Java byte code verification happens statically, before the code is executed using a kind of theorem prover.

    With certain concessions from the byte code you can prove that various types of problems (stack overflows/underflows, incorrect casts, etc.) cannot happen and you don't have to check for them at runtime. Of course in OO languages let you do things that require runtime checks, but at the bottom level Java can be statically compiled and optimized amost as far as C/C++ (only runtime array bounds checks are required) and because Java contains so much more information at runtime the new generation of profiling runtimes can do further optimizations dynamically that cannot be done in C/C++ (e.g. optimistically inlining methods and profiling garbage collection routines).

    Pat Niemeyer
    Author of Learning Java, O'Reilly & Associates and the BeanShell Java scripting language.

  22. Re:DreamCatcher & the new Animatrix short on New Animatrix Trailer Available · · Score: 1

    For the love of god, do not go see DreamCatcher. This was one of the worst movies I've ever seen. No matter how good the matrix short was *don't do it* it's not worth it.

    It just sucked. Steven King has lost hist mind. This movie has dialogue like: "You know who gave me this gun...? John Wayne!" and "he gave us a gift... how should I describe it... an *ability*." and constant pathetic attempts to come up with moronic catch phrases that don't work (Scooby Doobie Doo!)

    Oh this movie sucked so badly it was comical. My friends and I laughed throughout until we were so tired that we just wanted to leave.

    It was not a movie... don't see it.

    Pat

    Pat

  23. Re:Database System vs Database Management System on Object Prevalence: Get Rid of Your Database? · · Score: 1

    1) I doubt many organizations can change the layout of their database without bringing everything down for a long time...

    2) Relational integrity will be much better when it's enforced in a strongly typed language like Java rather than a limited representation like a datbase schema.

    3) Crystal reports surely won't work... but someone if this style of persistence were popular alternative report engines would evolve... based on JavaBean style introspection and they would have more information about the data relationships than the SQL does.

    Pat Niemeyer

  24. Re:Sonic Boom on TiVo and Rendezvous · · Score: 1


    Actually using DVArchive doesn't even require knowing the IP of your replatv... it discovers it.

    Pat

  25. Re:This could make The Gimp cozy for MacHeads?? on GTK+OSX for Mac OS X Aqua · · Score: 1

    I resisted the temptation to master Photoshop because I didn't want to invest that much of my life in somebody's proprietary product. When Gimp came along I took the time to learn every nook and cranny... Why? Because I know it will always be there and it will probably always be getting better.

    Having gimp run native on the Mac is just one more reason I might consider a Mac.

    Pat