Slashdot Mirror


User: ahdeoz

ahdeoz's activity in the archive.

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

Comments · 731

  1. Re:By the way, if you've never heard of Hibernate. on Hibernate in Action · · Score: 1

    I thought it was a fairly good book review. But I know what Hibernate is. Anyone who would read the book should, though it should probably have mentioned JAVA in the summary paragraph. A good rule of thumb is, if you seem more than 4 acronyms in a book review that you don't understand, it's probably not something you're likely to be interested in.

  2. Re:Hibernate is good, but I am using Prevayler mor on Hibernate in Action · · Score: 1

    Unless the xml configuration file looks something like this:

    <?xml version="1.0"?>
    <!DOCTYPE QUERY [
    <!ELEMENT QUERY (#PCDATA)>
    ]>
    <SQL>
    <!-- your query here -->
    </SQL>

    It isn't going to match the power (or simplicity) of SQL. As a matter of fact, this is a pretty good sample if you throw a QUERYID attribute and maybe some other metadata and let the database handle what it does.

  3. Re:Hibernate is good, but I am using Prevayler mor on Hibernate in Action · · Score: 1

    When they say "the database is the bottleneck" they mean disk seek. That's write. Reading/Writing to disk. That fundamental archaism that so many have forgotted. The DB is (suprise!) an abstracted data persistence mechanism for reading and writing to disk with things like caching and mapping between records.

  4. Re:What is Hibernate ? on Hibernate in Action · · Score: 1

    ah but it does matter which comes first. Unless your tables have a one-to-one mapping with your objects. And then your fancy database is just a big fancy collection with a sort() function built in.

  5. Re:What is Hibernate ? on Hibernate in Action · · Score: 1

    Me too. But the appeal of Hibernate is in caching and blind persistence. We all have our own mapping/query building/pooling/dbconnection tools but the reason hibernate is worth paying the price of learning yet-another-xml-file-format-plus-a-not-quite-sql-q uery-language-plus-configuration-headache-plus-dep endencies is that it delivers on something that most of us really can't do that well ourselves, and it's not their mapping file format or their pseudo query language, it's the caching and persistence AI, that's really quite good.

    You learn how to use Hibernate, even though your own hacked together system is more intuitive and less dependent, but because it does a better job than your own does.

  6. Re:It doesn't matter... on Breaking Google's DRM · · Score: 1

    The average person couldn't block pop-up windows a couple years ago. Now it's enabled by default when you install Windows XP SP2. (Although somehow IE still lets through crap, but manages to block deliberate pop-ups)

  7. Re:Security issue? on Breaking Google's DRM · · Score: 1

    Google only has a year or two left in the search business.

  8. Re:Unit testing? on Alan Cox on Writing Better Software · · Score: 1

    Truly. 95% of automated tests are built into things called compilers. Automated unit tests check a couple of things: field validation, and isBroken(). It's a good idea to leave some field validation out of your code base (especially from config files) and if you have many systems interacting, checking if one or more isBroken() with unit tests is a good way to help deployment or failover.

  9. let 'em do it on Breaking Google's DRM · · Score: 1

    and let the compete against free ideas. Content that can be used for fair use (or even pirated from time to time) will win out in the marketplace. And content providers will want to be there. Not stuck in some DRM ghetto.

  10. Re:Quality on Alan Cox on Writing Better Software · · Score: 1

    How does the manager determine a product is what they can see or ensure that the tool works? They don't. They have other people, doing market research or testing determine that. Manager is just another word for boss which goes all the way back to the days of pharoah. When people are working willingly, the manager is a superflous position.

  11. Re:PHP4 vs. PHP5 on Beginning PHP and MySQL · · Score: 1

    Documentation, libraries, stability, experience. Oh, and PHP5 is a very different language than PHP3 & 4. There are some advatages and some built in libraries that make PHP5 desirable, but not enough to risk the change... yet. Next year I'll start learning and evaluating PHP5. But it'll probably be 2006 before we bother to even attempt it in a real environment. Who knows, maybe Apache 2 will be ready by then?

  12. Re:Why MySQL? on Beginning PHP and MySQL · · Score: 1

    That's nice, but most of the ease of administration comes from not having to do things like properly tune and jump through configuration hoops. This is where mysql succeeds for most cases.

  13. Re:Code named..... on Via Will Join The 64-Bit Fray · · Score: 1

    Computer chips don't get any hotter from thinking, same as human brains. There's a level of electricity required to make them run, and that's it. Some fancy new systems can "sleep" and "wake" but that's it.

  14. Re:And it will still suck on Via Will Join The 64-Bit Fray · · Score: 1

    If you don't intend to install Oracle, you don't need a 64 bit CPU. That's what it comes down to.

  15. Re:Baby steps on AT&T Considers Mac OS X, Linux For 70,000 Desktops · · Score: 1

    Is there an way to get Evolution (or some other email client with PIM features) to handle multiple accounts easily? I have 2 POP3 accounts and an IMAP account. I'd like to be able to check them one at a time, choose who sends using which server (and have it default to a reasonable guess), and sort stuff either by user or combined. So far, only Mozilla (thunderbird) can handle it (or the old school apps like mutt or pine.) I'd also like to integrate tasks and meetings, but of course, Moz doesn't do it, though Evo does. When it comes down to it, managing multiple accounts is more important, but I sure miss the outlook/exchange features and wish I could develop and support apps that take advantage of them.

  16. Re:Consideration - Employee Resistance on AT&T Considers Mac OS X, Linux For 70,000 Desktops · · Score: 0, Troll

    Your receptionist is black too? Mine is hot. I wish I could get the courage to ask her out.

  17. Re:Consideration - Employee Resistance on AT&T Considers Mac OS X, Linux For 70,000 Desktops · · Score: 1

    Yeah, try Siebel 7 in Firefox. Even with ActiveX for Mozilla.

  18. Re:Consideration - Employee Resistance on AT&T Considers Mac OS X, Linux For 70,000 Desktops · · Score: 1

    But what do all those same people think of Office now?

    They hate clippy, and can't live without the tables and are excited when they see they can create a web page just by selecting "save as html."

  19. Re:Woohoo! on WiMax: When, Not If · · Score: 1

    user error.

  20. Re:Woohoo! on WiMax: When, Not If · · Score: 2, Insightful

    Done right, plain text is unbreakable (just make sure the bad guys don't see it.) That's the same logic as your one time pad (just make sure the bad guys don't see it.)

  21. Re:Wow! now what could i do with 10 miles... on WiMax: When, Not If · · Score: 1

    An office with 100 people starts to feel the crunch on a 100Mbs bandwidth network. And the signal is over wire (very little interference.) And it doesn't require half of that bandwidth for packets. How many people do you think WiMax will supply before covering? I know 802.11G (54Mbs) feels the crunch (bad) at 10 users.

  22. Re:Just to ask a really stupid question on XAML Development Today, But Not From Microsoft · · Score: 3, Interesting

    cause XUL (which version? Mozilla) sucks. It's only benefit is that it can embed HTML. For menus and such, it's usually better to build the html+javascript serverside and then send it to the browser. Even if that means shipping a lightweight server with your client-only app. For any complex gui, you're still stuck with an applet or activex type object. For all the real work of an application, you're going to need access to files, sockets, databases, and other libraries, which bluntly, xpcom mostly can't do, and even the simple stuff, like reading a file, it does a piss-poor job of and makes it difficult and very non-performant. The reasoning is (no joking) that if you make accessing a file difficult and unproductive, then developers will be discouraged from doing so and hence the application will be more secure.

    I've worked on projects that used XUL, where we had to ship Firefox (and have the client install it separately) for XUL, and then the entire app was run from a wscript file so that we could have activeX and ado do the work. We thought about using an applet to drive the application, but it turned out to be almost as much as a painful to access the system as XPCOM, though alot more was possible once you worked around the java security-through-difficulty design. And I wished we had a template language to dynamically generate our XUL, because it was tedius.

    I'm much happier with the new design where we'll ship a webserver (jetty) and database (hsqldb) and use wscript (still -- to launch) but have servlets generate html guis and handle DB access.) As a bonus, the standalone app can become a distributed, hosted solution, just by shipping a new config file.

    Does anyone know a good way to ship a cross platform apache+mysql+php+your_web_app all on the client with zero configuration?

  23. Translation on AT&T Considers Mac OS X, Linux For 70,000 Desktops · · Score: 1

    AT&T is renegotiating their contract with Microsoft.

    While competition is a good thing, if companies are unwilling to support the competition at all, they cannot expect to be able to leverage the same against a once and future monopoly for long.

  24. Re:Irony on Don't Shoot Me, I'm Only the Software · · Score: 1

    And yet millions of chaste people get laid every night...

  25. Re:Irony on Don't Shoot Me, I'm Only the Software · · Score: 2, Insightful

    Actually, the reason Linux security is better than Windows is because of design. Linux has a much simpler design that was based around files, multiple users, and networks. Windows has a complex design that is a kludge of multiple different systems that was originally meant as a single user, non-networked, floppy disk driver.