Slashdot Mirror


User: pb

pb's activity in the archive.

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

Comments · 2,429

  1. not quite. on PHP5: Could PHP Soon Be Owned by Sun? · · Score: 4, Insightful

    The way Java handles protected variables (due to packages) is starkly different from the way C++ handles protected variables. Fortunately, it looks like PHP picked the (less broken, IMHO) C++ way to do it.

    As for your final comments--all too many PHP developers don't know "CS 101 stuff", serious or no. Also, I know that when I first learned about the OO methodology, it was quite confusing. Now that I know more about it, I'm convinced that there's a lot there to be avoided, and all of it should be carefully considered.

    Fortunately, (like the crippled "object system" in PHP 4) if you don't want to use it, you still don't have to use it.

  2. Re:A long time ago... on Windows Accelerators - Do They Really Work? · · Score: 1

    Look into PearPC or QEMU... of course it's probably more like ATHLONtoG3.exe :P

  3. and then... on Bash 3.0 Released · · Score: 1

    ...you can go full-circle, and use Cursed GTK!

  4. Hello /. Editors. on Physicists Postulate Existance of New Particle · · Score: 2, Informative

    It is spelled 'existence'; it's even correct in the article body. So please fix it in the title.
    Thank you.

  5. Re:Bah on Ballmer - Xbox 'Can Take Sony' In Next Generation · · Score: 2, Insightful

    Or for that matter, "fast user switching". I guess that's only an innovation for a single user OS, eh?

  6. just hold on a minute here... on Sen. Hatch to Introduce Wide-ranging Copyright Bill · · Score: 1

    The wording in this act is just too frickin' *vague*. If it could be construed to affect VCRs (which do have substantial legitimate uses) then it could be construed to affect copy machines, printers, or just about anything else.

    In fact, that PDF of the act I just read might be effectively outlawed as well! I mean, how could Congress function without copy machines, printers, e-mail, websites, and all sorts of other tools that can potentially be used for copyright infringement? It would shut down entirely!

    Hmm... actually, maybe this isn't such a bad idea after all...

  7. OMFG. on Orac^3 -- Not Your Everyday Casemod · · Score: 0

    It's like if H.R. Geiger got together with IKEA to build a computer. Avoid. Not to mention the gigantic ugly logos everywhere. Maybe I should add Nike onto the list.

    On the other hand, what do I know about art, eh? Actually, what do nerds know about it in general. If green neon and shower tubing floats your boat, then who am I to judge. But I'd take a beige box over that monstrosity any day of the week. Just my opinion, mind you.

    And anyhow, who cares how pretty your webserver looks, after /. kicks it to the curb. :)

  8. Pardon me? on Why Learning Assembly Language Is Still Good · · Score: 2, Insightful

    Naturally it's helpful to use libraries in C. However, the 'libraries' I speak of in Perl are actually built-in language features that don't natively exist in C. If you read the post I was replying to, you'll see that the poster was talking about *re-implementing* all of this in C. Naturally it wouldn't have to be re-implemented in Perl, because it's already a part of Perl. And if you used external libraries that you didn't write yourself in C, then you'd have to make sure they were (a) equivalent to Perl's built-in language features, and (b) faster.

    All things being equal, any equivalent program written in C is highly likely to be far longer, more complex, and more difficult to write than the same in Perl--that's because Perl does a ton of things for you, many of which I have already outlined. Of course, if you don't need these features in the first place, it might make sense to write it in C. But given an arbitrary Perl program and then being tasked to write an 'equivalent' program in C... well, it's just going to end up being way more complex. If that Perl program uses eval, you might just have to write an entire Perl interpreter. :)

    Of course this entire line of argument has been ridiculous from the start--Perl and C work together just fine, so you can always use Perl for the rapid development, and C for speed, as needed. In fact, there are tons of Perl modules that just consist of a Perl API to a bunch of C functions, usually for speed, or just to use an existing C API in Perl.

    I know what you mean about being I/O bound--I do a lot of PHP programming. Now, PHP can be an embarassingly slow language sometimes, but that doesn't matter when you're busy waiting on a network connection to a database!

  9. Good luck... on Why Learning Assembly Language Is Still Good · · Score: 3, Interesting

    Actually, there's a Perl module that does this. But if you wanted to write said C program from scratch, it could take you a while--writing the Perl program would be much faster. And then there's the choice of algorithms involved. Have fun writing your own sorting functions in C, your own regular expression library in C, your own arbitrary precision number library in C, your own reference-counting garbage collector in C, your own closures in C...

    Of course, there are other pre-existing C libraries you could use that do all of these things, but there's no telling whether or not they're faster than what Perl uses internally, and since you're re-implementing everything in C anyhow, you might as well just write your own!

    So the point I'm trying to make here is this--Perl is convenient because it has all these things written for you and integrated together. Sure you could write a C program that does the same thing, but you'd end up re-inventing the wheel many times over, and you'd have to work hard to make it a better wheel.

    Or you could target Parrot instead, for a lot of things it's already faster than Perl. It also has a JIT compiler, so who knows--it might generate some code here and there that's faster than what your C compiler generates. :)

  10. I know, right? on Microsoft's Magical 'Myth-Busting' Tour · · Score: 0, Offtopic

    ...it must be the $3 crack again... :)

  11. actually, on Microsoft's Magical 'Myth-Busting' Tour · · Score: 2, Insightful

    I think it's really nice of Microsoft to go out and fund all these independent studies to determine the relative merits of Windows vs. Linux. I mean, because Linux is free and all, the opensource community can't really afford to spend the money to fund these complex studies by high-profile analysts and IT think-tanks.

    But fortunately for us, Microsoft *can* afford to do so! It's really amazing how they can spend all this money on marketing, advertising, touring the countryside, etc., and *still* be more affordable than Linux, which has none of these added expenses. How do they do it?

    Well, if I were Microsoft, I'd commission a think-tank to study the issues. But since I'm not, I'll just naively assume that they must find a way to pass the costs along to consumers and OEMs.

    Come to think of it, that might also explain why it's Bill Gates--and not Linus Torvalds--who is worth billions of dollars. Hmm...

  12. Awesome! on Microsoft's Magical 'Myth-Busting' Tour · · Score: 1, Funny

    [stands on soapbox]

    Tux for President! Penguins for software reform! Web browsers for welfare mothers! Put Bill on trial for his crimes! ...um... nevermind, got a bit carried away there. :)

  13. I wonder... on World's Fastest Flash Memory Card? · · Score: 3, Interesting

    As flash memory speeds and capacities increase, maybe we could start using them for swap partitions or something. As long as it's faster than a hard drive and cheaper than RAM, I think they'd be quite useful.

  14. I've got one word for you... on Making Operating Systems Faster · · Score: 2, Informative

    ... prelinking.

    What distro are you using?

  15. this revolutionary technology on Microsoft Receives Patent For Double-Click · · Score: 1

    is already built into many motherboards, for example. Press the power button, and it will do a soft power down. Hold it for a while, and it will do a hard power down.

    Similar concepts have been used in the past, like morse code, binary, the ENIAC (which had ten distinct states!), the visual spectrum of light, and Paul Revere's ride (which actually *was* revolutionary).

  16. rofl on McAfee Granted Far-Reaching Spam-Control Patent · · Score: 1
    That's not a smiley, it's an emoticon...

    ...fuck.

  17. hey, on McAfee Granted Far-Reaching Spam-Control Patent · · Score: 1

    I told you it was difficult. :)

  18. Ironic. on McAfee Granted Far-Reaching Spam-Control Patent · · Score: 1

    That is not do-able without withholding his claim to authorship on said book... and for his translator also.

    P.S. Note that this post is similarly lacking said glyph; I concur that this is difficult!

  19. TIGER -- look again on Open Maps? · · Score: 4, Informative

    Go to freshmeat and search for "tiger maps"; check out the Tiger Map Server project.

    Note that they don't have labels rendered on the streets yet, but plan to add this. However, all the code is there, and the data is available, so there's no need to reinvent the wheel here.

  20. because on NASA Detects Baby Planet · · Score: 4, Informative

    The real picture would look like a dot or a blob at best?

  21. so... on First IA64 Windows Virus Released · · Score: 5, Funny

    Now we hunt him down and execute him, right?

  22. heh. on The Economics of Executing Virus Writers · · Score: 1

    In that case, add an extra $1.5 billion to our Iraq expenses. More significantly, we'd owe the Iraqi people about $20 billion more in reparations. Of course we've already spent those amounts several times over...

  23. hah! on Attitudes in IT - Mediocrity Wins? · · Score: 1

    No, no it wouldn't. And it especially wouldn't when compared to Lisp. :)

  24. that's just your opinion... on Teaching History In Schools With Video Games · · Score: 1
    'Our view isn't that you take the right video game, stick it in a classroom and everything gets better'
    Funny, that's always been my opinion. For instance, compare a history lesson with, say, Star Control 2's Super Melee. Or don't, there's really no comparison. Super Melee is better in all respects!
  25. Yes. on Attitudes in IT - Mediocrity Wins? · · Score: 4, Insightful