Slashdot Mirror


User: jpkunst

jpkunst's activity in the archive.

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

Comments · 305

  1. devnull@cauce.org on Where Do Dummy Email Addresses Go? · · Score: 1

    CAUCE is the Coalition Against Unsolicited Commercial Email. A few years ago, when they just formed, they recommended using devnull@cauce.org as a "black hole" address that would not result in superfluous bounces. I've been using it ever since in USENET postings.

    JP

  2. Re:I.E. Active X object, not just any HTML rendere on Dept. of Homeland Security Says to Stop Using IE · · Score: 1

    A while back it was a common task for CS instructors to assign students to make their own HTML rendering engine. I wrote one myself just to see if it could be done. Not a beginner task, but still something well within the capabilities of any recent CS college graduate (if they actually taught you anything).

    I never tried to write an HTML rendering engine, but I'd imagine that the hard part would be to write the "quirks mode" rendering that is necessary to display the countless millions of invalid HTML pages on the web. I don't think that would be part of the CS instructors assignment.

    JP

  3. Re:PHP on Searching for the Best Scripting Language · · Score: 1

    So to to use examples that are a little more realistic -
    In Perl ($a == 5) becomes ((int)$a == 5) in PHP.
    And ($s eq 'name') becomes ((string)$s == 'name').

    After brooding over this a little longer, I think it should actuallly be this:

    In Perl ($a == 5) becomes ((int)$a === 5) in PHP.
    In Perl ($s eq 'name') becomes ((string) $a === 'name').

    The typecasting would make no difference to the 'loose' == operator, but it does make a difference to the 'strict' === operator.

    JP

  4. Re:PHP on Searching for the Best Scripting Language · · Score: 1

    With perl you can still do 3 == "3" to do a numerical comparison, or 3 eq "3" to do a string comparison. In PHP, 3 == "3" would always match, not matter which comparison it decided to use, and 3 === "3" would never match because they're not the same type.

    You're right. But you can get the same behaviour out of PHP with a little more verbosity: Perl's 3 == "3" (numerical comparison) would be 3 == (int) "3" in PHP (cast string "3" to integer before comparing); Perl's 3 eq "3" (string comparison) would be (string) 3 == "3" (cast integer 3 to string "3" before comparing).

    JP

  5. Re:PHP on Searching for the Best Scripting Language · · Score: 1

    can't see why you think PHP's all-associative arrays are so great. To me it sounds like another attempt to simplify without thinking of the consequences and instead making the result complex and ambiguous. What happens when you mix up normal indexed array operations (e.g $a[1] = 20) with associative operations (e.g $a['george'] = 5) ?

    $a[1] = 20;
    $a['george'] = 5;
    print_r($a);

    This is what happens:

    Array
    (
    [1] => 20
    [george] => 5
    )

    Just as you would expect. Not complex or ambiguous, in my opinion.

    JP

  6. Re:PHP on Searching for the Best Scripting Language · · Score: 2, Informative

    A prime example is the way that Perl has seperate numrical and string comparitors (==/!= and eq/ne) whereas PHP has only the one (==). This recently came up in the story about the Perl periodic table of elements and I even gave my own answer on this problem. Just to rehash: Perl and PHP are loosely-typed languages so the programmer really needs to tell the interpreter how to compare the mixed numerical/string "scalar" type that both Perl and PHP use. But PHP tries to simplify at the expense of introducing ambiguity.

    PHP has == and != for simple comparison, and === and !== for enforcing that the comparants (is that a word?) are also of the same type.

    See http://nl3.php.net/manual/en/language.operators.co mparison.php.

    JP

  7. Re:Not a real problem on For OpenBSD, "No More Apache Updates" · · Score: 2, Interesting

    But since everything is open source, it should be possible to apply any OpenBSD security patches to 1.3.31 or later, and offer that one (in ports/packages) as 1.3.31 (+ patches), right?

    JP

  8. Not a real problem on For OpenBSD, "No More Apache Updates" · · Score: 4, Interesting

    I don't think this will be a real problem. If Apache is no longer allowed in the OpenBSD base system it can simply be moved to ports/packages, and it will be just a pkg_add away - just as is now the case with Apache 2.0.

    JP

  9. Re: Photoshop does this on Mandatory Banknote Detection Code? · · Score: 5, Funny

    I think the general consesus was that this won't do a thing to help stop counterfitting.

    Not too surprising, since the general consensus on /. seems to be that nothing will ever do a thing to stop anything.

    JP

  10. Re:Patterns on the keyboard. on Using a Password One Doesn't Consciously Remember · · Score: 1

    Kind of reminds me of back when I still played the piano. Then, I would practice a piece so much that, after a while, I found it easiest to play with my eyes closed and let my mind just cruise along. The bad thing was, that if something startled or interupted me, I often couldn't remember where in the song I was.

    Something similar happened to me when I was distracted by something when I was about to type in my PIN code to pay in the supermarket. Suddenly I couldn't remember my PIN anymore (that is to say, I still knew what the digits were and what the main pattern was, but I forgot which digit went where). And I had been using that PIN for something like ten years. A very strange experience.

    JP

  11. Re:SSH/SFTP on Fix a Troubled Mac · · Score: 1

    ssh/sftp clients for Classic Mac OS:

    MacSSH and MacSFTP.

    JP

  12. Re:posting textbooks on Free MIT Engineering Text For Download · · Score: 1

    Of course, it could also be asked why should the authors participate in this process if they don't make any profits?

    Generally, academic writers don't make any profit. Their reward is the recognition of being published by a big-name scientific publishing house. The only one who makes a monetary profit is the publisher.

    JP

  13. Re:Regions... on Star Trek TOS DVD Box Sets Forthcoming · · Score: 1

    However, before that, all I had was an old 21" 4:3 tube that had never heard of NTSC. Yet I could easily play R1/NTSC DVDs - without conversions. How? Component signal format. The TV also accepted RGB (In the US, YPbPr is more common). PAL and NTSC color codings are both ways to transmit color information. If I use RGB, the information is in "raw" format that the TV understands anyway.

    Thank you very much. I was convinced that I could watch NTSC DVD's only in black and white on my TV. I was even contemplating buying a new TV. I switched the DVD output to RGB, as you advised, and my NTSC DVD's now play in glorious colour. Thanks again!

    JP

  14. Re:Changes are bad? on PHP 5 Release Candidate 2 Released · · Score: 2, Insightful

    Maybe he means that it should be $array['key'] (quoted key) instead of $array[key] (unquoted key)?

    JP

  15. Re:German on WiX Project Lead Interviewed On CPL Licensing · · Score: 1

    Oops, sorry. I just realized I was mistaken about which syllable is stressed. The "Or" is actually stressed.

    JP

  16. Re:German on WiX Project Lead Interviewed On CPL Licensing · · Score: 1

    And kut is Dutch for cunt. And it jumps out even more because the syllable "kut" is stressed in the word Orkut.

    JP

  17. Re:Apple is not unique in this problem. on iPod Mini Design Flaw? · · Score: 2, Informative

    My first-generation 10GB iPod also doesn't have this problem. However, the headphone connection of the Apple remote control I bought for it later does.

    JP

  18. Re:All BUT surpassed? on KDE 3.2: A User's Perspective · · Score: 1

    and for which I can't recall the name for the life of me... It was a Mac program, and had a logo of a sort of mythology figure with a muscular arm bent upward... GRAH!

    Wasn't that Nisus Writer?

    I preferred WriteNow myself, back in the day.

    JP

  19. Re:Why even ask? on CSS for the LDP? · · Score: 1

    FAQ: Styling using the lang attribute

    Very interesting! Thanks for the link.

    JP

  20. Re:NNTP/Usenet on Bayesian Filtering Outside of Email? · · Score: 2, Informative

    For those who still bravely (foolishly) venture onto usenet, it would be nice to replace kill files with something Bayesian. There may be such a reader already but I haven't seen it (nevermind something cross-platform, which is a must for me).

    There is one newsreader I know of which uses Bayesian filtering for articles in its latest version, but it's Mac only: MT-NewsWatcher.

    JP

  21. Re:Why even ask? on CSS for the LDP? · · Score: 1

    Span's are not needed when the correct tags are used.

    This assumes that there are correct tags for everything in HTML, but I don't think that's true. For example: a typographical convention that is used sometimes is to use italic for pieces of text in a foreign language. Which HTML tag should that be? Not <em>. <span class="foreign_language"> or something like that seems the only way, if you don't want to use <i>.

    JP

  22. Re:Here we go again! on SVG And The Free Desktop(s) · · Score: 1

    We've moved on from the days of 'skip intro.'

    Unfortunately, we moved into the days of 'huge annoying animated advertisement that cannot be skipped' (unless by disabling the Flash plugin). Not really an improvement in my opinion.

    JP

  23. Re:Why are highly rated comments always sarcastic? on Junkie Loves His Spam · · Score: 1

    That said, my first reaction, is one I always have: why when an interesting topic comes up: why do I find only sarcastic/hopefully humorous comments get through my level 4 filter? Still waiting for an answer on that.

    I don't have an answer for you, but I can tell you this: since I score all 'Funny' mods at -6, reading Slashdot has become much more enjoyable.

    JP

  24. Re:Like what? on New SQL Server Release Slips to 2005 · · Score: 1

    Honestly, I wouldn't want to run a site like Slashdot on MySQL, but for smaller projects it seems useful.

    Slashdot runs on MySQL.

    See InnoDB: User Stories, second item on the page.

    JP

  25. Humanistic Cursive on Improving Terrible Handwriting? · · Score: 4, Interesting

    I had the same problem with my handwriting being illegible, a couple of years ago. I felt that just trying to write slower wasn't the solution. I did something more radical: I switched handwriting styles. I found a great little book called Naar beter handschrift ("To better handwriting") from 1956. This book teaches you to write in a script that is closely based on 14th-century Italian writing, the so-called "Humanistic cursive". (See here for an example of original humanistic cursive.)

    Unlike our modern cursive handwriting, where you are supposed to write all the letter connected to each other (there is some kind of law "thou shalt not take the pen off the paper while writing", which is good for speed but not for legibility), you only connect letters when it makes sense in the humanistic cursive, and you are allowed to take the pen off the paper to draw better shapes for your letters. Example: the lower case r in modern cursive (at least the way that I learned it, in The Netherlands) is rather ugly, it's essentially an r written backwards (so that you won't have to take the pen off the paper while writing it). In the humanistic cursive, the lower case r looks much like a lower case printing letter r because you don't have to forcibly connect it to other letters. And it's much more readable that way.

    JP