Hey there! Sign in to join this conversationNew here? Join for free
x Turn on thread page Beta
    Offline

    16
    ReputationRep:
    (Original post by Puma)
    Hmm, why is OSI not as successful as TCP/IP.
    Because it unnecessarily complicates the TCP/IP stack.

    The Application, Presentation and (to an extent) Session layers are not really a concern to network engineers, because they're dealt with by the end host's software, so it's convenient to just lump it into one layer rather than give them discrete layers. The Physical layer is also conveniently lumped with the Media Access Control sublayer of the Data Link layer and the Logical Link Control sublayer lumped with the Network Layer.

    Besides, the TCP/IP model was the de facto standard before ISO could agree to a unified standard model for networking, so it stuck.
    Offline

    2
    ReputationRep:
    (Original post by spikeymike)
    There is 1 error: patch command not found

    I don't see errors when I directly execute the script i.e. I don't enter ./script_name into terminal.

    Edit:
    Never mind, all figured, I had to install the patch package. :facepalm2: FFFFFFFFFFFFFFUUUUUUUUUUUUUUUUUU UUUUUUU patch. :dry:
    I'm gonna have to say what we're all thinking and say "mikey, that was poor".
    • PS Helper
    • Thread Starter
    Offline

    0
    ReputationRep:
    PS Helper
    :party: :party: :party:

    :yeah:

    Just need to figure what patch options I should use now...
    • PS Helper
    • Wiki Support Team
    Offline

    14
    PS Helper
    Wiki Support Team
    :hahaha:
    • TSR Group Staff
    Offline

    19
    ReputationRep:
    TSR Group Staff
    (Original post by mprules)
    Any ideas on formal expressions folks?

    Using quantifiers, give formal expressions for the following statement, where p, q and r are all
    natural numbers. Do not use the divide operator /

    if the squares of two natural numbers are equal then the two numbers are equal
    Well I'd probably write it like this:

    \forall n,m \in \mathbb{N}, (n^2 = m^2) \Rightarrow (n = m).

    But I'm not sure TBH. We Mathematicians use words, the symbols are too confusing. :p:
    • PS Helper
    • Thread Starter
    Offline

    0
    ReputationRep:
    PS Helper
    (Original post by Chrosson)
    I'm gonna have to say what we're all thinking and say "mikey, that was poor".
    (Original post by secretmessages)
    :hahaha:
    :hand: :hand:
    Offline

    1
    ReputationRep:
    (Original post by Dez)
    Well I'd probably write it like this:

    \forall n,m \in \mathbb{N}, (n^2 = m^2) \Rightarrow (n = m).

    But I'm not sure TBH. We Mathematicians use words, the symbols are too confusing. :p:

    hmm thats close to what i have for it , cheers just wish i understood this stuff more!
    Offline

    2
    ReputationRep:
    (Original post by mprules)
    hmm thats close to what i have for it , cheers just wish i understood this stuff more!
    You just need to understand how you can speak the symbols, so you can speak the sentence in your head. Because of this conversion to words, there are multiple ways of expressing things.
    E.g. What Dez provided translates as "For all x and y in the set of natural numbers, x^2=y^2 implies x=y".
    What did you get?
    • PS Helper
    • Wiki Support Team
    Offline

    14
    PS Helper
    Wiki Support Team
    Just woke up :sexface:
    • PS Helper
    • Thread Starter
    Offline

    0
    ReputationRep:
    PS Helper
    (Original post by secretmessages)
    Just woke up :sexface:
    :lolwut:
    Offline

    1
    ReputationRep:
    (Original post by Chrosson)
    You just need to understand how you can speak the symbols, so you can speak the sentence in your head. Because of this conversion to words, there are multiple ways of expressing things.
    E.g. What Dez provided translates as "For all x and y in the set of natural numbers, x^2=y^2 implies x=y".
    What did you get?

    I had x^2 = y^2 |= x=y

    not too bad, the next question is "r is a multiple of p" which is interesting, starting to enjoy the challenge now tho!
    • TSR Group Staff
    Offline

    19
    ReputationRep:
    TSR Group Staff
    r is a multiple of p means r = np, for some integer n.
    • PS Helper
    • Thread Starter
    Offline

    0
    ReputationRep:
    PS Helper
    Guise... how do I do input validation?

    Code:
    read choice
    if [ "$choice" = "0" ]; then
    // do this
    elif [ "$choice" = "1" ]; then
    // do this
    else
    // error, loop until choice = 0 or 1
    fi
    I used continue but it doesn't work with if statements. :holmes:
    • TSR Group Staff
    Offline

    19
    ReputationRep:
    TSR Group Staff
    (Original post by spikeymike)
    Guise... how do I do input validation?

    Code:
    read choice
    if [ "$choice" = "0" ]; then
    // do this
    elif [ "$choice" = "1" ]; then
    // do this
    else
    // error, loop until choice = 0 or 1
    fi
    I used continue but it doesn't work with if statements. :holmes:
    I usually use switches, as it's basically an endless OR statement. I've not used them in Bash before, but this is how you'd set one up in PHP. :holmes:
    Code:
    switch($variable)
    {
        case 'choice0':
        case 'choice1':
            // Do something for choice 0 or choice 1
            break;
        case 'choice2:
            // Do something for choice 2
            break;
        default:
            break; // Do nothing if choice invalid
    }
    • PS Helper
    • Wiki Support Team
    Offline

    14
    PS Helper
    Wiki Support Team
    Ahhh I think I'm in love with Chatroulette :love:.
    Spoiler:
    Show
    Some of it's NSFW though .
    • PS Helper
    • Thread Starter
    Offline

    0
    ReputationRep:
    PS Helper
    This scripting is actually endless, the more and more I work on it, the more and more things I add to it/fix. :facepalm2:

    Though it should be fully finished by tomorrow.
    • PS Helper
    • Wiki Support Team
    Offline

    14
    PS Helper
    Wiki Support Team
    (Original post by spikeymike)
    This scripting is actually endless, the more and more I work on it, the more and more things I add to it/fix. :facepalm2:

    Though it should be fully finished by tomorrow.
    Do my assignment for me kthx.
    • PS Helper
    • Thread Starter
    Offline

    0
    ReputationRep:
    PS Helper
    (Original post by secretmessages)
    Do my assignment for me kthx.
    Nothnxbai :lol:, I have databases to be getting on with.

    What is it anyway? :holmes:
    • PS Helper
    • Wiki Support Team
    Offline

    14
    PS Helper
    Wiki Support Team
    (Original post by spikeymike)
    Nothnxbai :lol:, I have databases to be getting on with.

    What is it anyway? :holmes:
    Graphs again . I'm still waiting for the answers to last week's assignment - everyone got it wrong but our seminar tutor isn't saying what the actual answer is FFS. I'm so going to fail this year.
    • PS Helper
    • Thread Starter
    Offline

    0
    ReputationRep:
    PS Helper
    (Original post by secretmessages)
    Graphs again . I'm still waiting for the answers to last week's assignment - everyone got it wrong but our seminar tutor isn't saying what the actual answer is FFS. I'm so going to fail this year.
    Everyone got it wrong?! :lolwut:
 
 
 
Turn on thread page Beta
TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Updated: October 26, 2011
Poll
Do you agree with the proposed ban on plastic straws and cotton buds?

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.