Slashdot Mirror


User: jZnat

jZnat's activity in the archive.

Stories
0
Comments
2,871
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2,871

  1. Re:What Microsoft doesn't understand.. on MS Has Free Software Removed From U.N. Paper · · Score: 1

    I think it has more to do with the fact that Microsoft is a large company, and the opposite arms don't seem to communicate well. Sony is the biggest culprit what with Sony BMG vs the rest of Sony.

  2. Re:PDO on PHP 5.1.0 Released · · Score: 1
    During development on your local machine you use flat files. Then you post it to a site and use sqlite during testing. Then you take it to a host with mysql support and use that. Then you take it to postgresql clusters and use that.
    Well, any self-respecting PHP programmer would skip the MySQL step (except maybe to verify that it works)...
  3. Re:Is any work being done to improve security? on PHP 5.1.0 Released · · Score: 1

    would it not hurt to have Remember to use addslashes() on any query before running it! in big and bold on any sql-query-sending page?

    Yes, that would hurt because you're supposed to use the dbtype_real_escape_string() function instead. addslashes() practially adds random slashes to hope that it won't fuck anything up.

  4. Re:Many improvement... on PHP 5.1.0 Released · · Score: 1

    Search the Debian unstable/ repository for PHP and you'll find a bunch of *.so modules for PHP that can be run dynamically. I prefer the CPAN method though, but they should make it easier for Windows servers to use CPAN modules.

  5. Re:Many improvement... on PHP 5.1.0 Released · · Score: 1

    Oh great, another excuse for the server admins to stick with PHP 4.3.x (or in some cases, 4.2.x).

  6. Re:Sendmail on PHP 5.1.0 Released · · Score: 1

    So, how long until GCC includes a PHP compiler that's supposed to address all the issues that PHP allows programmers to get away with? :P

    Besides, most of the bad programming practices that PHP allows are due to it being written in C, so your crappy C coding practices will also work in PHP.

  7. Re:You forgot one. on PHP 5.1.0 Released · · Score: 2, Interesting

    Oh boy, I can account for this claim completely. I used to co-program with another person on a large website that used MySQL from the start. Him and myself would constantly look for ways of increasing performance and minimising lag, but we never tried using a different database. With a site that massive at the time, we should've been using PostgreSQL at least, or even Oracle or DB2 or similar if we could get the money to buy it. I even went as far as rewriting the entire system with the most optimised PHP code possible, and we minimised database usage and dependence, moving several things to sessions that would occasionally update from the database. We even used partitioning strategies by placing the main culprit of the data usage, the forum's replies table (nothing would get purged, only archived with an archived bit set to 1), on a separate hard drive that was only used for storing backups of the database. Performance shot up for a few days, but it quickly went back to sucking ass.

    Sure, with all that, I've come to learn how to exploit MySQL to get its best performance, and how to use PHP to its maximum performance, but we would've been better off using a transactional database for one, and more specifically if we had used PostgreSQL from the start. Those efforts are primarily available here, but since the inital optimisations, I've transferred everything to use ADOdb Lite. I hope to get this transferred to a PostgreSQL database instead, but it won't matter much for the original site in question as I no longer program with him.

  8. Re:PDO on PHP 5.1.0 Released · · Score: 1

    I do recall that someone didn't want PDO to be built into PHP. I personally use ADOdb Lite, the much faster version of ADOdb. Now if it weren't such a bitch to port code between different APIs, I'd gladly try out every API under the sun, but for now, ADOdb is fine. Now if only there was a Perl DBI module for PHP and we'd be set. PHP needs more of that.

  9. Re:Nothing like research... on GCC 4.1 Released · · Score: 1

    XHTML 1.1 is the official modularised XHTML 1.0 Strict, and it also requires usage of the application/xhtml+xml MIME type. The good (?) thing about modular XHTML is that you can include only the XHTML elements that you use, even if those are old crappy ones like font, center, etc. There's more to it than just being modular XHTML 1.0...

  10. Re:Sense and portability on GCC 4.1 Released · · Score: 1

    If you have the time (like I do), it's fun to search through the Debian unstable/ repository and any interesting ones you can find at http://apt-get.org/. I've found many useful things in there; gotta love it.

  11. Re:Sense and portability on GCC 4.1 Released · · Score: 1

    GCJ's had a plugin for a while now, but I wouldn't recommend it for untrusted applets.

  12. Re:That's good. on GCC 4.1 Released · · Score: 2, Informative

    Porn and upgrades to Azureus I'd imagine would be a better response.

  13. Re:But... on GCC 4.1 Released · · Score: 1

    Ah, the wonders of a versioning system. If you understood it at all, you'd know that GCC 4.x would be incompatible with GCC 3.x. Going by this logic, GCC 4.1 should be an easy upgrade from GCC 4.0, but just as bad if you still had to upgrade from GCC 3.3 or 3.4.

  14. Re:Nonsense! on The Demise of IP? · · Score: 1

    I know there aren't a lot of large open source games, but there is Stratagus, a RTS game based on the concepts of Blizzard's Warcraft II. Besides, bigger games take a lot of money to make, so you usually won't find it open sourced. However, many game companies are better than others with this with making Linux versions of games (e.g. UT2004) and/or making SDKs to enhance the game (e.g. Half-Life/2).

  15. Re:I'm not sure the author understands what on The Demise of IP? · · Score: 2, Insightful

    Which makes more sense?

    Shooting her. We have enough idiots in this world.

  16. Re:To reach a customer support representative... on Get Out of Voice Menu Pergatory · · Score: 1

    What game is this LULLABY code from? I think using the Konami code would've been more appropriately cliche'd for this matter.

  17. Re:IVR Guide on Get Out of Voice Menu Pergatory · · Score: 1

    Nope. The first one that comes to mind is the Microsoft Product Activation hotline. You try speaking the code, then typing the code via the buttons, and eventually end up talking to a human being who is much more willing to help than the damn robot...

  18. My main programs are still CLI... on Balancing Use Between the Keyboard and Mouse? · · Score: 2, Interesting

    I've noticed that I spend most of my time in Konsole/bash and Vim (CLI version). Vi had a really good keyboard interface for getting around quickly, and the hjkl method of moving around should be available in all programs if desired. Along with Vim, I'll be using less and man to read things, and thankfully those support the jk method of scrolling up and down.

    When it comes to GUI apps, however, I mainly use Firefox, Thunderbird, Akregator, and amaroK. The two KDE applications are customisable with shortcut keys the same way all KDE applications usually are, and I know a bunch of the useful shortcuts with Firefox. Not only that, but mouse gestures are an absolute must in a GUI [web] browser, and AiO Gestures does that great.

    The catch? I was born in the 80's; I didn't grow up with Unix (I started with Windows 3.1). Even with that, I still have found CLI programs to be a godsend.

  19. Re:Eh?... on Hollywood Buddies up with Bram Cohen · · Score: 1

    Oh, I almost thought you were talking about emoness and stuff. Carry on.

  20. Re:Relevancy? on Hollywood Buddies up with Bram Cohen · · Score: 1

    Considering that bittorrent.com is not the first site you'd think of when searching for torrents, and that bittorrent itself is Open Source, how is this relevant to anyone other than Cohen?

    Agreed. I was first introduced to BT through an old site, btsites.tk. Of course, this was during the Suprnova phase, so that's where people would go to find copyrighted materials. The bittorrent.com site was the developers' page kind of thing with source downloads, protocol details, etc., and it most certainly was not your typical massive torrent indexer like Mininova or Suprnova (in its prime).

  21. Eh?... on Hollywood Buddies up with Bram Cohen · · Score: 1

    What the fuck is a "scene release"? Are these movie clips that contain only a single scene?

  22. Re:gamers are not loyal on Microsoft Loses $126 Per Unit on XBox 360 · · Score: 2, Informative

    I don't know where you're coming from, but Nintendo has generally been the leaders in game console hardware. Sure, when they broke up with Sony over the CD/SNES disputes, Sony went ahead and made massive gobs of money with the PS1 and PS2, but it is still Nintendo who defines what a game console and a portable console should play like. For instance, Nintendo has always been the company that revolutionised the controllers used. They introduced gamepads with the Famicon/NES; they introduced shoulder buttons on the SNES; they introduced the analog stick on the N64; they introduced the rumbling controller with the N64 Rumble Pack; they introduced a superb method of wireless controllers with the Wavebird, and if history continues to repeat itself, they have introduced the modular controller with gyroscopic usage and plenty of other gizmos it will have. With all that in mind, I don't see how you can say that Nintendo is not a hardware specialist...

  23. Re:Stupid audiophiles ... on Barenaked USB Drive · · Score: 1

    You can't tell the difference because FLAC is lossless. The decoded output from a FLAC file will be exactly the same as the WAV file. You can do an md5sum and whatnot to see that it works.

  24. Re:Browser? on Zero-Day IE Exploit Takes Control of PCs · · Score: 1

    Easy :)

  25. You read Slashdot too? on Sticky Tape Defeats Sony DRM Copy Protection · · Score: 1

    We had these conversations already. I thought this article was a dupe or that some sort of magic had happened since this thread and several others are almost carbon copies of ones from there...