https://secure.csse.uwa.edu.au/run/help3002?p=np&rss=y
The help3002 RSS feedThe help3002 RSS feedhelp3002https://blogs.law.harvard.edu/tech/rssThe University of Western AustraliaSat, 30 May 2020 17:27:15 +0800Sat, 30 May 2020 17:27:15 +0800Re: java equals
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=654
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=654Sat, 30 May 2020 17:27:15 +0800ANONYMOUS
This is the situation right now, after print the length I find the question but not
sure what cause it.
Re: Ports remain bound for a little while after closing
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=653
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=653Sat, 30 May 2020 17:22:22 +0800"Edward Atkinson" <22487668@student.uwa.edu.au>Nope, submitted yesterday so too late on that one. Oh well
Re: java equals
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=652
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=652Sat, 30 May 2020 17:21:29 +0800"Edward Atkinson" <22487668@student.uwa.edu.au>what was it?
Re: java equals
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=651
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=651Sat, 30 May 2020 17:08:56 +0800ANONYMOUSthanks, I think may find the problem.
Re: java equals
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=650
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=650Sat, 30 May 2020 17:06:01 +0800ANONYMOUSI'm sure there isn't any space and tabs, I checked it a lot of time, I'm not sure if this
problem is caused by multithreading.
Re: java equals
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=649
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=649Sat, 30 May 2020 17:02:57 +0800"Edward Atkinson" <22487668@student.uwa.edu.au>ANONYMOUS wrote:
^^ Testing for length is usually a good way of figuring that one out.
Re: java equals
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=648
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=648Sat, 30 May 2020 16:55:47 +0800ANONYMOUSANONYMOUS wrote:
Make sure that there aren't any spaces or tabs, and it should work :)
java equals
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=647
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=647Sat, 30 May 2020 16:27:48 +0800ANONYMOUSWhen I try to find a valid way, I will compare two strings, I print them and find the
are just the same but they will never be equal. Any suggestions that how can I solve
this?
Re: Marking for invalid route
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=646
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=646Sat, 30 May 2020 11:18:58 +0800ANONYMOUSHi Chris,
Please ignore the second part of this question as I have just read your comments on a
previous post
Marking for invalid route
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=645
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=645Fri, 29 May 2020 14:01:50 +0800ANONYMOUSHi Chris
I asked Daniel this in the lab and he told me to ask here.
For the invalid route aspect, will we be marked the same as valid route for that
aspect?
I.e if we find an invalid route for 2,3 and 5 sized networks but fail to find one for
10 and 20 will we get 3/5 marks?
Just trying to get an understanding of the breakdown of it.
Also regarding the second language. I know you mentioned its part of the spec. Lets
say that i pull together a very minimal program compared to my other file so that it
meets the requirements of the spec. However, it doesn't communicate well at all with
other stations in the other language. Will this simply mean 0/5 marks for this aspect
of the marking guide?
Cheers
Re: Could you please upload the lecture recording from week-10 to week-12 on LMS?
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=644
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=644Fri, 29 May 2020 13:51:04 +0800ANONYMOUSOk, thank you!
Re: Could you please upload the lecture recording from week-10 to week-12 on LMS?
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=643
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=643Fri, 29 May 2020 13:41:34 +0800"Christopher McDonald" <chris.mcdonald@uwa.edu.au>ANONYMOUS wrote:
I cannot upload the lectures until they have been recorded;
that's why they say "to be recorded".
Thanks - the first time that anyone has mentioned this problem.
Could you please upload the lecture recording from week-10 to week-12 on LMS?
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=642
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=642Fri, 29 May 2020 13:36:26 +0800ANONYMOUSHi Chris,
I just wondering could you please upload the lecture recording from week-10 to week-12 on
LMS and also probably fix the URL issue for the PDF of the lecture notes from week-1 to
week-8?
Re: Using switch cases vs if-else conditionals
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=641
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=641Fri, 29 May 2020 13:24:57 +0800"Christopher McDonald" <chris.mcdonald@uwa.edu.au>ANONYMOUS wrote:
When asking a question about programming languages, you need to indicate which language you're
discussing.
But on the chance you're asking about C, you could declare local variables with:
{{{
switch (expression) {
case 1 : {
int local1;
.....
}
case 2 : {
int local2;
....
}
}
}}}
In C, you cannot define local variables inside the if/else-if statements, but you can define
them at the beginning of any new block, by using { and } to define the block.
Where you introduce new local variables will have no effect of the speed of execution.
Using switch cases vs if-else conditionals
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=640
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=640Fri, 29 May 2020 12:59:45 +0800ANONYMOUSI was wondering if there was any benefit between using switch cases or if-else
statements considering variables cannot be declared within switch cases unlike within
an if-else statement.
Right now I'm using switch statements to process udp packets a station receieves by
having packet headers, however I must declare every variable I would like to use/save
within each case outside of the entire switch statement.
If I were to instead use a series of if/else-if statements I could declare the new
variables inside each statement as needed in each condition though I feel that this
is more semantically incorrect and slower.
Is there a preferred method or does it really not matter?
Re: Language choice for project
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=639
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=639Fri, 29 May 2020 10:11:04 +0800ANONYMOUSThank you for the quick reply Chris.
Re: Ports remain bound for a little while after closing
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=638
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=638Fri, 29 May 2020 10:07:32 +0800"Christopher McDonald" <chris.mcdonald@uwa.edu.au>Are you implementing socket (address) reuse, with setsockopt ?
Re: Language choice for project
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=637
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=637Fri, 29 May 2020 10:06:33 +0800"Christopher McDonald" <chris.mcdonald@uwa.edu.au>ANONYMOUS wrote:
Yes.
Was clarified on 28th April:
https://teaching.csse.uwa.edu.au/units/CITS3002/project2020/clarifications.php
Language choice for project
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=636
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=636Fri, 29 May 2020 10:01:20 +0800ANONYMOUSHi,
Can I choose Java and Python for the project?
***two different programming languages (selected from Java ###and### Python and (C or
C++) - note, not C and C++).***
The first ###and### in the above sentence forced me to ask this question for clarity.
What I expected was ->(selected from Java, Python and (C or C++).
Thanks in advance,
Re: Station transit time
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=635
https://secure.csse.uwa.edu.au/run/help3002?p=np&a=635Fri, 29 May 2020 01:03:49 +0800ANONYMOUSDoes this also mean that if a person wanted a journey from something like StationA to JunctionG and the
time currently was 15:22 and there's a bus leaving at 15:22, we ignore that bus and only check for busses
leaving from 15:23 onwards? I know the myform.html states 'Leaving after 15:22' but I just wanted to make
sure.