Slashdot Mirror


User: quantum+bit

quantum+bit's activity in the archive.

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

Comments · 1,082

  1. Re:The joke in the example is subtle. on Python Moving into the Enterprise · · Score: 1
    The example could be written in Java as:

    Um, not really. That won't even compile the way it's written. main is a static method, which means that it can't access the myName member. There's no instance of the Hello class. If you made myName static as well, it would run but would be closer to the following python:
    myName="Monty"
    print "Hello " + myName
    And the whole Hello class would only exist as a result of Java not allowing you write pure procedural code outside of a class.
  2. Re:Free update ? on Microsoft Releases Windows Server 2003 SP1 · · Score: 1

    There is a primary drawback though. The memory management strategy is different between the desktop and server editions of Windows.

    The first step to fixing that is in the System Propties (right-click on 'My Computer'). Under the Advanced tab, go to Performance Settings, then the Advanced tab in that. Change both Processor scheduling and Memory usage to "Programs".

    There are some other more subtle things as well, but these can be tweaked in the registry if you know where to look. IIRC the default quantum length is longer on Server than Pro (at least it was for 2000). The articles over at Sysinternals can be helpful here, especially the one about the differences between Server and Workstation.

  3. Re:Free update ? on Microsoft Releases Windows Server 2003 SP1 · · Score: 4, Insightful

    Are you kidding? 2k3 server makes for a far better desktop than XP. All the annoying crap is off by default.

    No bubbly playskool theme. No MSN Messenger popups. No product activation. No "take the tour!". No windows media player intruding into everything. IE is crippled by default -- ripe for Firefox installation.

    It feels a lot more like if you took 2000 Pro and added the few GOOD things about XP.

  4. Re:Opinions... on 'Most Important Ever' MySQL Reaches Beta · · Score: 2, Informative

    (Postgres wouldn't fly with the customer at the time because of vague issues with not knowing the product, not wanting to gamble on another OSS project, etc)

    Gaaaaah! The tragedy of your story is that Postgres quite likely would have worked well for the project your describe. MSSQL still uses row locking, so Postgresql > MSSQL for loads with high insert/transaction rates and many concurrent queries.

    MySQL is great for simple stuff but absolutely bogs down when you throw anything complex at it. PostgreSQL isn't quite a match for Oracle yet, but it's getting damn close for mid-level stuff that doesn't need replication.

  5. Re:Fixing 10 years of criticism, 10 years too late on 'Most Important Ever' MySQL Reaches Beta · · Score: 4, Insightful

    i think your problem boils down to the fact you want the DB to do everything when really it doesn't matter. the application is there and the DB NEEDS IT cause no user sits down and writes SQL statements. if you were a competent programmer, doing "DB" things in your "application" wouldn't be stupid, it'd be easy, cause you'd know your data structures and your sorting algorithms like any CS grad.

    It's not that simple in the real world. Think about things like concurrency. If you have 200 clients running your app at the same time and 10 of them are trying to update a complex set of related tables, how do they avoid stepping on each others toes? Are you going to have your client apps communicate with each other and coordinate the inserts? Or just lock all the tables and kill performance? How do you ensure that everyone who is reading those tables sees a consistent data set?

    Or you could let the DB server do it, since it knows both the data model and the state of all the clients. Things like transactions keep clients from seeing unfinished inserts (and PostgreSQL and Oracle have MVCC to make this very efficient).

    Sure, for websites and blogs it doesn't really make a difference. Every once in a while you'll see some odd data appearing on the page but if you refresh it will be gone. MySQL has historically been very good at running simple things like this.

    Anything more important than that needs real data integrity at the database level. Application level checks can't *guarantee* the state of the database when more than 1 user is connected, no matter how careful they are.

  6. Re:The biggest problem is not technical on 'Most Important Ever' MySQL Reaches Beta · · Score: 1

    * Easy replication on MySQL/ Not so easy on PostgreSQL

    Check out Slony if you haven't recently. Not exactly what I'd call "easy", mind you, but certainly not unreasonably difficult to set up.

    Besides, given the complexities inherent in the whole concept of database replication, I'd be somewhat suspicious of a solution that was *easy*.

  7. Re:Try installing it in an enterprise environment! on Adobe Acrobat Toolbar Worse than Malware? · · Score: 1

    Ummm, or you could just use Orca and edit the MSI yourself. If you're (re)packaging software for enterprise deployment, do yourself a favor and learn the MSI table schema. You won't regret it.

    As a side note, I think Installshield's perversion of the MSI format is far worse than most malware installs: custom action DLLs for EVERYTHING, and affected software won't even be able to uninstall if they get hosed.

  8. Re:Yet another milestone in my Earth Destruction P on Lab-Made Fireball May Be a Black Hole · · Score: 1

    ...or put it in a Romulan engine core...

  9. Re:You're making the mistake of ... on GPL Violators On The Prowl · · Score: 2, Insightful

    That's why we're the good guys, and they're the bad guys.

  10. Re:Patriot Act on California Wants GPS Tracking Device in Every Car · · Score: 1

    These cutesy patronizing names for legislation would embarrass me if I were American.

    I am and they do. If I were a politician I think I would introduce a bill banning the use of acronyms in law names; and requiring that the name be representative of what the law is really about.

    Of course if I were president I would have a policy to veto anything with pork attached, which probably means every single bill that came across my desk. Which is probably why I will never be president...

  11. Re:Foils 97% of copying software? on Macrovision Releases DVD Copy Protection · · Score: 1

    Except that CD-ROM drives have built-in CD players with analog audio output. So it's still possible to play on a computer without doing digital extraction. Some player software does use digital extraction all the time, and those not be able to play copy-protected CDs.

    DVD-ROMs have no such hardware decoding capabilities. With the possible exception of the speed at which the data is read, a ripper and a software DVD player use identical methods to access the disc.

  12. Re:It's like the theory of evolution... on Macrovision Releases DVD Copy Protection · · Score: 1

    Another method would be to create certain patterns in the image that confuse divx encoders, since most movie rips are encoded in one mpeg-4 variant or another.

    It wouldn't take long for the encoders to be fixed to deal with it, though.

  13. Re:Let's just use BSD on Which Linux for Professional Admins? · · Score: 1

    Definitely FreeBSD. It has the largest user base, the most professional support options, the most ported software, and (IMO) is the easiest to administer.

    OpenBSD may be crazy about security audits but their user base is fairly small and they tend to concentrate on a few niche areas (firewalls, routers, DNS server, etc). Plus FreeBSD has a tendency to port over the good stuff from Open after a while anyway.

    NetBSD is really well written and is starting to rival Free in the benchmarks. However, where it tends to lack is in the ease-of-administration area. FreeBSD has lots of really slick scripts and tools that make life easier (e.g. portupgrade).

    There's a lot of really cool development going on in Dragonfly right now, but at its heart it's still an experiment. Definitely worth a look if you're into programming but I wouldn't run a production server on it.

  14. FreeBSD on Which Linux for Professional Admins? · · Score: 2, Insightful

    Not a "linux" distro, but nothing screams "professional admin" more than BSD...

  15. Re:Real on Real Pays For Legal MP3 Playback On Linux · · Score: 1

    Yep, 99% of my music collection is in Vorbis format (q=6). I plan on eventually re-ripping everything in FLAC when I can afford the disk space.

  16. Re:MySQL and Postgres on PostgreSQL 8.0 Released · · Score: 1

    The issue with postgresql I can think of that could hit beginners is that you might have to recompile your kernel if you are using one of the *BSDs with too small shared mems and other stuff.

    I don't know about Net and Open, but on FreeBSD these can all be set with boot-time tunables in loader.conf. No kernel recompile necessary. Unfortunately a lot of the postgresql howto docs are stuck back at FreeBSD 3.x and still show the kernel recompile as the only way.

    A few of them can even be set hot with sysctl, but some do require a reboot.

  17. Re:Maybe this is like comparing assembly to C on Does the World Need Binary XML? · · Score: 1

    No matter how fast a computer is, it will always read 1 bit (indicating true or false) faster than it reads 4 or 5 bytes representing the words true or false.

    Hrm, not necessarily. Most machines have a 32-bit memory bus and some architectures (RISC) even enforce memory alignment for normal access. So reading 1 bit is often exactly the same speed as reading 4 bytes -- both operations pull 4 bytes over the memory bus.

    5 on the other hand would be worse, since it would always take 2 memory accesses to get the whole thing (cache notwithstanding).

  18. Re:Step 1 to getting binary XML on Does the World Need Binary XML? · · Score: 1

    And bzip2 is a memory hog.

  19. Re:Strange questions.... on 2004 MN4 Asteroid Odds Inching Up Again · · Score: 1

    What impact will the earth have if the object hits the moon?

    Free tacos for everyone?

  20. Re:sniff on "Dark Alleys" on the Internet · · Score: 1

    Fill a CD with this stuff, and you have a perfect one-time-pad good for sending up to 650MB of data

    If you have a 100% secure way to transport the pad, why not just use that to transport the original message and destroy it when finished?

  21. Re:Server Access? on "Dark Alleys" on the Internet · · Score: 1

    The "rubberhose" program does this, and you can create much more than 2 containers (as many as there is space for if you wish).

    However, one disadvantage is that it's also impossible for you to prove that there is no more hidden data that you haven't yet revealed the password to. So they could just hold you indefinitely...

  22. Re:No! on Building Applications with the Linux Standard Base · · Score: 1

    Swing-based GUIs do have a differing look and feel than native apps; IBM's SWT GUI toolkit resolves this issue by allowing Java GUIs to appear as native ones.

    Yeah, but though SWT on any platform, and GTK+ on Win32 with a certain theme may _look_ like the native widgets, the problem is that they're not .

    Besides not "feeling" the same, some things that affect native widgets won't work with those since they're basically just bitmaps. For example, themes (think windowblinds, or XP themes engine on Win32; custom theme engines on GTK or QT). Screen readers, unusual font sizes. All of these don't interact correctly.

    I've even run into copy/paste problems with swing before -- some third part programs don't interact well.

  23. Re:Disable Java on Cross-Platform Java Sandbox Exploit · · Score: 1

    Actually, I take back the sarcasm. It just plain sucks.

  24. Re:Disable Java on Cross-Platform Java Sandbox Exploit · · Score: 1

    If you see "null pointer exceptions" often, you must be unfortunate enough to have to be running some pretty amateurish programs though (no offence).

    Um, yes, like the Oracle Financials client. Very amatuerish.</sarcasm>

  25. Re:end of passwords - not on Bill Gates Proclaims End of Passwords · · Score: 1

    card read/PIN entry on a separate box and the public key on the host system not the private key. Apart from that pretty much what you describe.

    Yes, but you still have to trust the box at the store not to steal your PIN.

    The cool thing about smart cards is that you enter the PIN on the card itself, which you carry with you, so it's much less likely to be compromised. The whole transaction is encrypted, so the hardware at the point of sale only sees a one-time key that will never work again.

    It also conveniently solves the shop-at-home problem too (but does require that you have a smart card reader connected to your computer).