kehvan’s Techdirt Profile


About kehvan

kehvan’s Comments comment rss

  • May 2nd, 2016 @ 8:04am

    (untitled comment)

    Blue city blues.

  • Oct 29th, 2015 @ 9:33am

    (untitled comment)

    No, I'd much rather have a public trial, so the American public has an even better idea of what Snowden took from SIPRNet... and if Snowden really is just another Daniel Ellsberg, then he should have faith in the American public to acquit him.

  • Oct 28th, 2015 @ 4:51pm


    More and more I get the feeling that's what's going to happen.

  • Oct 28th, 2015 @ 4:37pm

    (untitled comment)

    LEGOs. Yes, the basic building block of our youthful imagination also holds a rather ugly over-protective side, in which it uses whatever tool happens to be nearest by to smash up any use of its products that it doesn't fully endorse.
    Hmmm, the same could be said of rock musicians.

  • Oct 28th, 2015 @ 11:58am

    (untitled comment)

    It's time for the blood of patriots and tyrants to water the tree of freedom.

  • Oct 13th, 2015 @ 11:51am


    It's hard to say, but I'd suspect they know something this article doesn't expound on.

  • Oct 12th, 2015 @ 1:30pm

    Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:



    I only win if I gain something, but all I've done is waste my time explaining my request for clarification.

    Now you can kindly go screw yourself... I won't be responding to you anymore... or any of the Anonymous Cowards on this thread.

  • Oct 12th, 2015 @ 1:08pm

    Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:

    1. No... the OP wasn't clear, otherwise I wouldn't have asked.

    2. I've already address the usage of the word "mocking".

    And 3. as for the rest of you ad hominem... to suggest I somehow dislike humanity is ignorant, and to a large extent, hypocritical, considering you don't trust your fellow human beings enough to not act as an anonymous coward who's running around trolling people.

    So really, not only are you a bore, but you're boorish.

  • Oct 12th, 2015 @ 12:19pm

    Re: Re: Re: Re: Re: Re: Re: Re:

    "Again, there is no need for pseudocode to match a programming language."

    I do agree, but it is important for pseudocode to follow logical conventions.
    "You are making assumptions based on actual programming languages. Since the conventions of this pseudocode were not specified, it makes more sense to assume conventions that yield a sensible result, such as = meaning comparison."

    No, not at all. I'm trying to NOT make assumption, which is THE REASON why I asked which language it was based on. Why is this important?

    Because many programming languages allow for the use of an assignment operator within the conditions of an if-then statement.

    For example...
    if (!$results=db_query("SELECT * FROM table")) {
         Instruction for when the $results array is empty or the query failed
    } else {
         Instructions for displaying the $results array

    Not only is the if-then statement testing to see if the query output is null, but it's also assigning whatever values were returned from that query to the variable $results.

    The way that Anonymous Coward wrote that pseudocode could very well be interpreted to say one of two things... either...

    1. If a person is not white, they're the defendant and the defendant is guilty, or...
    2. If a defendant is not white they're guilty.

    Now, why is this important? It's important, because it's important to me. I want to understand exactly what that Anonymous Coward meant, and not make any assumptions.

    Another Anonymous Coward said it was a joke, but given the nature of anonymous cowards, it's hard to tell if it's the same one or someone else. Either way, the pseudocode doesn't feel like a joke, but instead is making the statement that all minorities and poor people are found guilty, and if you're rich and white, you're not... oh, and that prison is slavery. That's some very racist comments to toss around as a joke.
    "No, it's an if followed by a jump. If the goto executes, the next if isn't evaluated. That's generally what goto means."

    Oh come now, just admit you have no idea what I'm talking about instead of feigning understanding... the fact is the OP wrote pseudocode that suggests if a person is not white, they'll be found guilty. That's it and no conditional branch for not guilty. The next if-then suggest that if the defendant is poor they're guilty, but this time it gives the "else" statement for innocence.

    As you've been saying, I can't take pseudocode literally and I'm not, which is exactly why I asked for clarification.

    And given that you keep saying I can't take it literally, I can easily derive two meanings from that malformed attempt at pseudocode, and that is either...
    1. All black defendants are found guilty, and all poor defendants are found guilty, or...
    2. All poor black defendants are found guilty.

    I do believe the writer literally meant #1, and that's how I rewrote my own pseudocode statement.
    "The "else" and "end if" aren't actually necessary, so "perfectly valid" was maybe an overstatement."

    ROFLMAO... not a programmer, are you?

    The only people I know who use pseudocode are programmers, but whatever... the fact is, the only reason to use if-then statements in real life or in pseudocode is for conditional branching, and if you don't think a conditional branch for "innocent" is necessary, then we have a bigger argument than one over the interpretation of someone's pseudocode.
    "But personally I didn't find it confusing, and the quality of the communication of ideas is what's important with pseudocode, not syntactic correctness - since there is no such thing."

    What part of "uses the structural conventions of a programming language" do you not understand about pseudocode. I couldn't care less about syntax, and the proof of that is that I haven't once mentioned closing tags, now have i? But there is conceptual correctness, and that's where my focus is at, so if you're going to invoke the if-then paradigm in trying to explain something, you better fu_king well respect the concepts of nesting, assignments and comparisons when using pseudocode if-then statements.

    But on a broader point... if you didn't find anything the OP wrote confusing and you're scolding me for requesting clarification, then I feel it's safe for me to assume you either agree with the OP or have no opinion on what he meant by his pseudocode.

    I do have problems with it, but I want to know exactly what the OP meant, so I could better debate the point.

  • Oct 12th, 2015 @ 10:57am

    Re: Re: Re: Re: Re: Re: Re: Re:

    You're still going on and on trying to defend your attempt at insightful humor which was neither insightful or funny.

  • Oct 12th, 2015 @ 10:17am

    Re: Re: Re: Re: Re: Re:

    1. I know.

    2. "The original pseudocode was perfectly valid." -- Smh... you have a weird definition of valid. Not only does this "valid" pseudocode not match any known programming language, but just in reference to itself, it's horribly malformed an illogical... not valid.

    For example, what is this garbage;

    If (defendant)=not_white {goto guilty}
    if (defendant)=poor {goto guilty}
    else {goto innocent}
    end if

    First off, the single equal sign used in these if-then statements, such as this line, "(defendant)=not_white," aren't comparing, which is two equal signs "==", but is assigning, so that's the first invalidity in this pseudocode, that makes it less pseudocode and more a muddled mess.

    Essentially the code as written is saying that "not_white" and "poor" are assigned as the "defendant", and so this code doesn't really testing to see the defendant race and income... I had to make the assumption it was comparing and not assigning.

    Secondly, is that a nested if-then or what?

    The first if-then, I assumed, was testing the defendant color, and the second if-then tests for income level, but it's ambiguous whether or not the income level test is nested within the color test... and determining nesting is as important as specifying AND versus OR when combining two search criteria.

    Third, the final "end if" comment is irrelevant and redundant, because the closing bracket, "}", is the logical end of an if-then statement, and the second closing bracket in an if-then-else statement.

    In the end though, the real test of validity is real life... you're being racist and bombastic to claim, either by assignment or by comparison, that all "not_white" or poor people are automatically the defendant and automatically guilty.

    There's not one shred of validity, coding-wise or in reality, to any of that quote-unquote, pseudocode.

  • Oct 12th, 2015 @ 9:38am

    Re: Re: Re: Re: Re: Re:

    I am a lot of fun at parties, but then I'm usually part of the entertainment anyway.

  • Oct 11th, 2015 @ 1:38pm

    Re: Re: Re: Re:

    1. "Mocking" also means "to mimic, imitate, or counterfeit."

    and 2. Pseudocode is usually modelled after something, which is what I asked originally. I modelled my counter-example on PHP.

  • Oct 11th, 2015 @ 8:01am

    Re: Re:

    No, really I was wondering what language you're mocking, because I didn't recognize the structure of your if-then statement from ANY language I had ever seen... so, yeah, I took your malformed and disfigured if-then statement and made if more generically reflective of what a traditional if-then statement and function calls would look like.

  • Oct 10th, 2015 @ 8:37am


    I don't know what computer language you think you're mocking here, but some things seem amiss... A more accurate coding analogy would be...

    if (defendant!=white) {
    } else if (defendant==poor) {
    } else {

    function guilty() {

    function prison-slavery() {
         insert code

  • Sep 30th, 2015 @ 8:34am

    Re: Techdirt

    I must report you... you offended me.


  • Sep 28th, 2015 @ 10:15pm

    (untitled comment)

    Ultimately the only ones who care about the environment are humans... nature goes on irrespective.

  • Sep 24th, 2015 @ 10:33am

    (untitled comment)

    Speaking of thin skinned, Obama just blocked a 13 year old on Twitter.

  • Aug 27th, 2015 @ 9:24am

    (untitled comment)

    It's the "Broken Windows" theory of computing.

  • Aug 13th, 2015 @ 11:53am

    (untitled comment)

    Democrats... when they're not exposing America's secrets to our enemies, they're whining about the consequences given to people who've exposed America's secrets to our enemies... smh.

More comments from kehvan >>