It's UWAweek 39 (2nd semester, week 9)

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

click
237 articles posted by this person
Showing 237 of 641 articles.
Currently no other people reading this forum.


 UWA week 39 (2nd semester, week 9) ↓
SVG not supported 6:17pm Wed 27th Sep, Christopher M.

ANONYMOUS wrote As you'll see in Monday's lecture, or if you read ahead, the getopt() function detects such problems, but it'll be up to your code to report any errors.


SVG not supported 3:36pm Wed 27th Sep, Christopher M.

ANONYMOUS wrote The function strdup() has never been defined in a C standard, until its appearance in the new C23 standard (though why release it on 1st April ?) https www.open-std.org jtc1 sc22 wg14 www docs n3096.pdf But strdup() has ...


SVG not supported 3:16pm Wed 27th Sep, Christopher M.

The file dirA a b c thing1 will be copied to dirB a b c thing1 if - dirB a b c thing1 does not exist, or - dirA a b c thing1 is newer than dirB a b c thing1 If a file is renamed, we have no record of what its original name was, and the contents of...


SVG not supported 5:39am Wed 27th Sep, Christopher M.

Details of the 2nd project are available from https teaching.csse.uwa.edu.au units CITS2002 projects project2.php Please post requests for clarification about any aspect of the project to help2002 so that all students may remain equally informed. S...


SVG not supported 10:39am Tue 26th Sep, Christopher M.

ANONYMOUS wrote Firstly (as we're discussing C), we speak of functions, not methods. Header files should contain globally-required preprocessor tokens and macros, and declarations of functions and variables. These simply inform the files that in...


SVG not supported 5:14am Sun 24th Sep, Christopher M.

You may find a copy of the 1st project's sample solution from https teaching.csse.uwa.edu.au units CITS2002 projects myscheduler-solution.c Please review the sample; it's written with (only) arrays and structures, and (as promised) does not employ ...


SVG not supported 4:25am Sun 24th Sep, Christopher M.

ANONYMOUS wrote Hello, Our 1st project was originally due 5pm Fri 15th Sept, and submissions closed 7 days later, at 5pm 22nd Sept, to account for all students with approved extensions. Did you attempt to submit your project after that Friday deadline...


SVG not supported 4:09am Sun 24th Sep, Christopher M.

"Where do UNIX manpages come from? Who introduced the section-based layout of NAME, SYNOPSIS, and so on? And for manpage authors where were those economical two- and three-letter instructions developed?" https manpages.bsd.lv history.html


SVG not supported 4:05am Sun 24th Sep, Christopher M.

Fixed; thanks for reporting it.


 UWA week 38 (2nd semester, week 8) ↓
SVG not supported 5:00am Fri 22nd Sep, Christopher M.

Why ? Why not x, or X ? https langdev.stackexchange.com questions 2935 why-do-programming-languages-use-the-asterisk-for-multiplication


SVG not supported 3:30am Wed 20th Sep, Christopher M.

"On September 27, 1983, a computer scientist named Richard Stallman announced the plan to develop a free software Unix-like operating system called GNU, for "GNU's not Unix." GNU is the only operating system developed specifically for the sake of use...


SVG not supported 5:08pm Tue 19th Sep, Christopher M.

ANONYMOUS wrote As the announcement says - "The final lecture, on Tues 17th October, will discuss how the exams are marked, and look at questions from last year's final examination." so, yes, we'll be looking at how the marking is done. There is no ...


SVG not supported 3:49am Mon 18th Sep, Christopher M.

Details about our final exam https teaching.csse.uwa.edu.au units CITS2002 examinations.php Please email me with any questions you have about its format, etc. The final lecture, on Tues 17th October, will discuss how the exams are marked, and look a...


SVG not supported 3:35am Mon 18th Sep, Christopher M.

Up until the end of Sunday 17th, we have 229 project submissions, 122 of them from teams of 2. 25 submissions required some minor changes to get them to compile correctly (suggesting that they were not previously compiled with the required options t...


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported 2:48pm Fri 15th Sep, Christopher M.

There is no rounding performed in the sample solution. All times are in integers and the final calculation of the utilization is performed in integers 100 total time on CPU total time;


SVG not supported 2:21pm Fri 15th Sep, Christopher M.

ANONYMOUS wrote Asked and answered (somewhere) previously. The process's sleep time occurs simultaneously with the transition time (RUNNING- SLEEP), so by the tiem the transition has occured, the request to sleep for 10usecs has been satisfied.


SVG not supported 9:09am Fri 15th Sep, Christopher M.

When submitting your 1st project, please ensure that - you've had a final read through the Clarifications - you've taken heed of the 'big hints' in the manual-marking section of the Rubric - your single C11 source-code file is named mysched...


SVG not supported 5:05pm Thu 14th Sep, Christopher M.

ANONYMOUS wrote As we are not striving for any efficiency, highly readable code is greatly preferred over long sequences of code that, often, are longer than the screen you're reading from. For example, The Clarifications define the order of schedul...


SVG not supported 4:55pm Thu 14th Sep, Christopher M.

Not sure what you mean by 'throw an error', but it's the output itself, its values, that are important, not the way that they were produced.


SVG not supported 4:54pm Thu 14th Sep, Christopher M.

ANONYMOUS wrote Depends on your implementation - you may increment advance the time by any amount, though just be careful not to 'miss' any events if you advance it along way into the future. If you ever find a need for time to go backwards, it stro...


SVG not supported 2:09pm Thu 14th Sep, Christopher M.

ANONYMOUS wrote Please see the Clarifications page.


SVG not supported 11:58am Thu 14th Sep, Christopher M.

A search of the forum finds https secure.csse.uwa.edu.au run help2002?p np opt B554


SVG not supported 9:21am Thu 14th Sep, Christopher M.

ANONYMOUS wrote The first line of the original screenshot was 00 0 0 0 R B O I G a e e 3 1 9 1 , w t i e u n u with a TQ of 5usec.


SVG not supported 5:23am Thu 14th Sep, Christopher M.

ANONYMOUS wrote Please see the last part of my reply, above.


SVG not supported 5:23am Thu 14th Sep, Christopher M.

ANONYMOUS wrote I'm pretty sure that this has been discussed previously, but I can't find it. The 'belief' is that '246 idle' should not be reported, but it happens because the final reporting debugging code at the end of each microsecond just prints...


SVG not supported 4:12am Thu 14th Sep, Christopher M.

https retr0.id stuff 2038


SVG not supported 4:02am Thu 14th Sep, Christopher M.

ANONYMOUS wrote After the process has spent 5usecs on the CPU performing some computation, its time-quantum expires and it's removed from the CPU. It does not "look into the future" to see what system-call is coming next, and then perform it if it hap...


SVG not supported 3:44am Thu 14th Sep, Christopher M.

ANONYMOUS wrote This project does not require a multi-threaded solution, so I'm afraid I can't see the purpose of any worker threads (unless you're meaning something other than the traditional meaning of worker threads??)


SVG not supported 3:42am Thu 14th Sep, Christopher M.

ANONYMOUS wrote I don't understand what you mean "...in a for loop". You'll only ever be creating one new process at any one time, so I'm unsure what role a loop has. ?? Only the single process running on the CPU can create a new process, by calling ...


SVG not supported 3:39am Thu 14th Sep, Christopher M.

ANONYMOUS wrote I'm not sure what you mean by 'my program will be overwhelmed'. All output will be ignored except the last line, so it doesn't matter how much there is. When the CPU is idle, at time T, is awakens all sleeping processes that should wa...


SVG not supported 5:00am Wed 13th Sep, Christopher M.

ANONYMOUS wrote Yes, that's the correct interpretation, and is intended to use as the maximum size of arrays and queues. In hindsight it should have been named MAX CURRENTLY LIVING PROCESSES, or something( ), as, of course, only one process can only e...


SVG not supported 4:55am Wed 13th Sep, Christopher M.

ANONYMOUS wrote No. You're either overthinking things, or have some misunderstandings. If a process is in the middle of writing something (actually, the device that the process requested to write something is writing), the process is not on the CP...


SVG not supported 4:49am Wed 13th Sep, Christopher M.

ANONYMOUS wrote Unsure what you mean. In the attached image the process requests to sleep for 5 usecs, the whole transition takes 10usecs, and so the process's sleeping request occurs during the transition. Correct.


SVG not supported 4:44am Wed 13th Sep, Christopher M.

ANONYMOUS wrote Whenever a process moved from READY- RUNNING it gets a new timequantum. In your 1st example, this is reported when the process's transition is complete, and the process is now able to (continue) executing. In your 2nd example, the proce...


SVG not supported 7:46pm Tue 12th Sep, Christopher M.

ANONYMOUS wrote (from the perspective of the process) if a process wishes to sleep for 15usec, then it wishes to stop sleeping 15usec into the future. It doesn't care what happens when it is sleeping. So the actual time sleeping, can include (overl...


SVG not supported 4:03pm Tue 12th Sep, Christopher M.

ANONYMOUS wrote Ummm, yeah. Please search the forum for significant words like ceil .


SVG not supported 3:43pm Tue 12th Sep, Christopher M.

ANONYMOUS wrote Firstly, a data-bus is a physical thing , it's not a verb, or an event, or an action, and in our simple system there's only one of them which connects the CPU, devices, and RAM together. Only one device can perform a data-transfer a...


SVG not supported 7:23pm Mon 11th Sep, Christopher M.

"... claims the UNIX OS was written in only 13K lines of code. Which seems a remarkably low number. Is it true, and if so how did they manage it? Seems completely antithetical to the monolithic monstrosities we know operating systems to be today." ...


SVG not supported 1:10pm Mon 11th Sep, Christopher M.

ANONYMOUS wrote Sorry, I can't reply as fast as you can cut-and-paste the same question. The ceil() function is in the standard C maths library, which is why you'll need the -lm linker option on Linux. Yes, you may use it. On macOS, Apple h...


SVG not supported 12:58pm Mon 11th Sep, Christopher M.

ANONYMOUS wrote If the true time taken is 66.66666, then it will not be finished by 66.0 but will be finished by 67.0 We can't 'do the next thing' until the I O has finished.


SVG not supported 12:55pm Mon 11th Sep, Christopher M.

ANONYMOUS wrote Same answer as this one https secure.csse.uwa.edu.au run help2002?p np opt B550


SVG not supported 12:53pm Mon 11th Sep, Christopher M.

ANONYMOUS wrote Yes, that's correct. Those time values are not consumed performed by the individual processes, but by the OS or a device. So they do not add to the processes' time on the CPU, and thus have nothing to do with the timequantum .


SVG not supported 5:47pm Sun 10th Sep, Christopher M.

Hi Hugo, It's safe to assume that all sysconfig files will define timequantum (you may be overthinking things but, in this and similar cases, if the better 'solution' is only a couple of lines, I'd provide the better solution, even if not require...


SVG not supported 7:03am Sun 10th Sep, Christopher M.

ANONYMOUS wrote There's no extra usec to add, as has been discussed and resolved in a few threads here, already. Please read through those. Following the scheduling order listed in the Clarifications, everything happens consistently in that order.


SVG not supported 6:59am Sun 10th Sep, Christopher M.

Hello Leon, I've now read and replied to your email. Sorry for the slow reply, but it's been the teaching break and I rarely work Saturdays, and people just need to get away from computers occasionally.


SVG not supported 5:32am Sun 10th Sep, Christopher M.

ANONYMOUS wrote Allowed? certainly, and 'essential'. Asked and answered previously here https secure.csse.uwa.edu.au run help2002?p np opt U213 Also, check the marking rubric https teaching.csse.uwa.edu.au units CITS2002 projects project1-rubric....


SVG not supported 5:28am Sun 10th Sep, Christopher M.

ANONYMOUS wrote The time-quantum doesn't affect any system-call. After a process makes any system-call the process is removed from the CPU. If that process exits, obviously it won't get back to the CPU. Otherwise, every process is given a new 'full' t...


SVG not supported 5:24am Sun 10th Sep, Christopher M.

ANONYMOUS wrote In Labs 2.03 and 2.05 you should first reboot the machine if it is running Windows. When given the menu to choose which OS to boot, choose Linux Ubuntu. There may be some setup difference between different computers in the same lab, so ...


SVG not supported 5:06am Sun 10th Sep, Christopher M.

It is not meaningful to say "This is practically 0 in the program". If something starts at, say, t 10 and takes 0.0006666, then you can't say it finishes at t 10. Moreover, if we're only using integers to represent time, then we have to say that it ha...


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported 12:14pm Fri 8th Sep, Christopher M.

ANONYMOUS wrote Why do you think that?


SVG not supported 12:13pm Fri 8th Sep, Christopher M.

ANONYMOUS wrote The starting time of that second spawn is invalid.


SVG not supported 12:12pm Fri 8th Sep, Christopher M.

ANONYMOUS wrote The times of your system-calls are invalid. exit must be called after 15usecs.


SVG not supported 6:10am Fri 8th Sep, Christopher M.

ANONYMOUS wrote It's only referring to Line 'A'. Cut-and-paste the code and compile it to see the error that a compiler will find.


SVG not supported 4:23am Fri 8th Sep, Christopher M.

Any debug printing statements will be ignored when your project is marked, so only you will know which debug printing is still valuable for your understanding of your code. Hope this helps,


SVG not supported 4:21am Fri 8th Sep, Christopher M.

Hello Luyang, If you run the sample solution in 'verbose mode', it will display (and hopefully explain) the times when each activity commences and finishes. Have you tried that?


SVG not supported 7:50pm Thu 7th Sep, Christopher M.

"...all 14 Toyota assembly plants in Japan faced an unexpected stoppage on August 29. It was all thanks to a breakdown of a key computer system responsible for ordering vehicle parts for Toyota factories. The cause of the problem? A full hard drive. ....


SVG not supported
1st project BLOCK 👍x1  (all 15)
7:11pm Thu 7th Sep, Christopher M.

The critical word in the above is 'waiting'. For a process to be waiting it must have called wait , not just spawn . I cannot see a contradiction.


SVG not supported 6:14pm Thu 7th Sep, Christopher M.

ANONYMOUS wrote Yes, this. Your project should be able to spawn an infinite number of processes( ), though at most MAX RUNNING PROCESSES will ever be running at any one time.


SVG not supported 6:11pm Thu 7th Sep, Christopher M.

ANONYMOUS wrote Stressful times - it happens Good luck,


SVG not supported 6:11pm Thu 7th Sep, Christopher M.

ANONYMOUS wrote Now linked 'everywhere' - https teaching.csse.uwa.edu.au units CITS2002 projects project1-rubric.php Please report anything in it that appears unexpected. (a marking rubric identifies what will be assessed; a marking sheet indicates t...


SVG not supported 6:09pm Thu 7th Sep, Christopher M.

Now linked 'everywhere' - https teaching.csse.uwa.edu.au units CITS2002 projects project1-rubric.php Please report anything in it that appears unexpected.


SVG not supported 5:38pm Thu 7th Sep, Christopher M.

ANONYMOUS wrote Could you please indicate which part of the description about the data-bus on the project sheet is causing confusion?


SVG not supported 5:30pm Thu 7th Sep, Christopher M.

ANONYMOUS wrote They are constants defining the characteristics limits of the computer system we're emulating. You will likely choose to use the values to define the maximum size of the data-structures that you define for your project. The project de...


SVG not supported 5:25pm Thu 7th Sep, Christopher M.

And just to make it clear for everyone - our project's requirement that certain lines begin with a TAB is not just there to make your life difficult. It is a very common feature of system configuration files that certain lines begin with a TAB, or ...


SVG not supported 5:22pm Thu 7th Sep, Christopher M.

ANONYMOUS wrote A process calling wait will be blocked until all of its child processes (that it has spawn ed) have terminated. The project sheet says "waits for all processes that it has spawned to terminate (at which time the process is...


SVG not supported 2:30pm Thu 7th Sep, Christopher M.

ANONYMOUS wrote (unsure of your chosen Subject line - system-calls don't have a 'length') What the sample solution does is the correct behaviour.


SVG not supported 2:28pm Thu 7th Sep, Christopher M.

ANONYMOUS wrote A few things - there is no state named 'DATABUS' - the data-bus is a 'wire', so a process cannot be 'in' it. - your process would move from RUNNING- BLOCKED. - a process waiting to acquire the data-bus does not have wait for the READY q...


SVG not supported 2:21pm Thu 7th Sep, Christopher M.

With 12 commands, your command-file is not a valid one. Your program (unfortunately) does not crash because there may be 'nothing important' in positions 10 and 11 , and your code just keeps adding to the array with only 10 elements.


SVG not supported 2:18pm Thu 7th Sep, Christopher M.

It is still not working because you still have not inserted a TAB character. You have inserted 8 spaces instead of the single TAB character. Run the command od -c command-file from the command-line and you'll see a sequence of spaces, but no TAB...


SVG not supported
1st project BLOCK 👍x1  (all 15)
2:11pm Thu 7th Sep, Christopher M.

There is no contradiction ( ). A process calling spawn is not blocked; it is placed back on the READY queue. A process calling wait is blocked if it has (running) child processes, otherwise it is placed back on a READY queue. A process does ...


SVG not supported 11:18am Thu 7th Sep, Christopher M.

This should help https secure.csse.uwa.edu.au run help2002?p np opt B440


SVG not supported 11:14am Thu 7th Sep, Christopher M.

Agree, or (better) learn how to insert a real TAB in VScode.


SVG not supported 11:14am Thu 7th Sep, Christopher M.

In the files you've posted I can see the 4 spaces. If you had a TAB, it'd likely be indent by 8 spaces. Also, your 2 input files are not C (programming language) files, so I suggest not giving them a ".c" extension.


SVG not supported 11:03am Thu 7th Sep, Christopher M.

No relation but if someone was interested in an Apple desktop machine for home, this Gumtree sale seems like a bargain. Of course, make sure you sight the receipt to ensure that it's not stolen https www.gumtree.com.au s-ad clarkson desktops m...


SVG not supported 10:36am Thu 7th Sep, Christopher M.

Hi Jordan, Please read other help2002 messages before posting a question. The question has been asked, and answered, many times already. Thanks.


SVG not supported 10:29am Thu 7th Sep, Christopher M.

Yes, thanks. And just to clarify this (c.f. another student's email), only the very first character needs to be a TAB. You may provide either spaces or TABs between the words on each line.


SVG not supported 10:25am Thu 7th Sep, Christopher M.

Please read the very first Clarification, from 24th August.


SVG not supported 10:20am Thu 7th Sep, Christopher M.

Yes, thank you lab fac. We don't get enough chance to discuss this in our lectures, and rushed over it because there's so many different types of devices and how they interact with the data-bus (and, in fact, modern systems will have several data-buse...


SVG not supported 10:05am Thu 7th Sep, Christopher M.

Please read this explanation https secure.csse.uwa.edu.au run help2002?p np opt B440


SVG not supported 9:58am Thu 7th Sep, Christopher M.

ANONYMOUS wrote Firstly, thanks for explaining your confusion misunderstanding in such great detail, it helps to provide an answer knowing what you don't understand or what you've overlooked. What you and a number of other students have described as '...


SVG not supported 4:51am Wed 6th Sep, Christopher M.

ANONYMOUS wrote A process that is sleeping is blocked (for a period of time), so the transition time for Ready- Blocked applies. If you review the 5-state model, https teaching.csse.uwa.edu.au units CITS2002 lectures lecture07 09.html there is only ...


SVG not supported 4:46am Wed 6th Sep, Christopher M.

ANONYMOUS wrote As given, just a simple FIFO queue. A process's time on the CPU has no 'meaning' for the READY queue, unless you're suggesting the processes that haven't used the CPU much in the past should be given greater future access to the CPU (...


SVG not supported 4:31am Wed 6th Sep, Christopher M.

(sorry, I can't find the original comment that identified this) Thanks for identifying this confusion. I've modified the sample solution, and added this to the Clarifications "If a process calls the 'wait' system-call when it has no children, it sh...


SVG not supported 4:16am Wed 6th Sep, Christopher M.

Yes, just an integer division.


SVG not supported 3:57am Wed 6th Sep, Christopher M.

I believe the problem reporting negative I O times has been corrected. Please report any problems. The arithmetic was being performed using a standard int (4 bytes), which overflowed with larger (faster) I O speeds. If you're having similar probl...


SVG not supported 3:57am Wed 6th Sep, Christopher M.

I believe the problem reporting negative I O times has been corrected. Please report any problems. The arithmetic was being performed using a standard int (4 bytes), which overflowed with larger (faster) I O speeds. If you're having similar probl...


SVG not supported 6:13am Tue 5th Sep, Christopher M.

The Evolution of Computing From 8-bit to 64-bit "In the early days of computing, the alignment of bit lengths to powers of two wasn't always a given. Nonetheless, many early computers embraced these dimensions. The highest value a CPU could address i...


SVG not supported 6:00am Tue 5th Sep, Christopher M.

ANONYMOUS wrote Yes, that 1st IDLE should not be reported there. It's not a bug in the logic of what's happening, just in where it's reported by the debug printing. I'll correct it.


SVG not supported 5:58am Tue 5th Sep, Christopher M.

ANONYMOUS wrote Please re-read the (online) project sheet - you may be reading quoting from a printed copy. When a number of changes were made yesterday, that requirement was also removed (to make things much simpler).


SVG not supported 5:39am Tue 5th Sep, Christopher M.

ANONYMOUS wrote There's only been two versions of the sample, one a few days after Workshop 5, and the second installed yesterday and described in the Clarifications. The second was the result of students reporting problems with the first, and but bo...


SVG not supported 4:57am Tue 5th Sep, Christopher M.

Yes, that's correct.


SVG not supported 4:54am Tue 5th Sep, Christopher M.

ANONYMOUS wrote The above. You first unblock any sleeping processes that finish at the current time. If there are multiple such sleeping processes, they are unlocked in the order in which they started sleeping. The same holds for each of the following b...


SVG not supported 6:01pm Mon 4th Sep, Christopher M.

Solutions to our 2 items of formative assessment are available from https teaching.csse.uwa.edu.au units CITS2002 formative.php (of note, not a single student asked about any of the questions; unsure what to conclude from that)


SVG not supported 5:44pm Mon 4th Sep, Christopher M.

Agreed - I think that this is now fixed. Would appreciate you trying it again. Thank you.


SVG not supported 5:31pm Mon 4th Sep, Christopher M.

I believe that that is covered in the Clarifications which list the order in which different event-types result in things being unblocked. In your example, any sleeping processes would be unblocked before the blocked-on-I O process.


SVG not supported 5:16pm Mon 4th Sep, Christopher M.

ANONYMOUS wrote Yes, exactly what it means. I cannot see where the perceived complexity comes from - if we're talking about the queue of SLEEPING processes, because it's a queue , any sleeping processes that wake-up at the same time will all be at th...


SVG not supported 5:08pm Mon 4th Sep, Christopher M.

ANONYMOUS wrote I'm unsure if this is a new point, or if you're reiterating the same point made in your post just 77 minutes earlier?


SVG not supported 5:07pm Mon 4th Sep, Christopher M.

Sorry, but I cannot understand your description or reasoning here. I'm wondering if there's confusion because multiple 'things' are sometimes reported at happening at the same (integral) time? For example, if a process has spent a 5 full usecs computin...


SVG not supported 2:46pm Mon 4th Sep, Christopher M.

ANONYMOUS wrote Between the values of, say, 10usecs and 50usecs we assume that the process on the CPU is performing some calculation computation requiring the CPU. Have a look at that in the sample solution (verbose) and let me know if that's not cl...


SVG not supported 2:43pm Mon 4th Sep, Christopher M.

ANONYMOUS wrote Thanks Yes, very likely a bug through only testing with too-small values. A negative time quickly suggests a problem with overflow in the calculation of time required. Will look into it.


SVG not supported 9:59am Mon 4th Sep, Christopher M.

Please read https secure.csse.uwa.edu.au run help2002?p np opt B339 and let us know if it clarifies things for you.


SVG not supported 9:59am Mon 4th Sep, Christopher M.

Please read https secure.csse.uwa.edu.au run help2002?p np opt B339 and let us know if it clarifies things for you.


SVG not supported 9:58am Mon 4th Sep, Christopher M.

Please read https secure.csse.uwa.edu.au run help2002?p np opt B339 and let us know if it clarifies things for you.


SVG not supported 9:58am Mon 4th Sep, Christopher M.

Please read https secure.csse.uwa.edu.au run help2002?p np opt B339 and let us know if it clarifies things for you.


SVG not supported 9:58am Mon 4th Sep, Christopher M.

Please read https secure.csse.uwa.edu.au run help2002?p np opt B339 and let us know if it clarifies things for you.


SVG not supported 9:58am Mon 4th Sep, Christopher M.

Please read https secure.csse.uwa.edu.au run help2002?p np opt B339 and let us know if it clarifies things for you.


SVG not supported 9:57am Mon 4th Sep, Christopher M.

Please read https secure.csse.uwa.edu.au run help2002?p np opt B339 and let us know if it clarifies things for you.


SVG not supported 9:57am Mon 4th Sep, Christopher M.

Please read https secure.csse.uwa.edu.au run help2002?p np opt B339 and let us know if it clarifies things for you.


SVG not supported 9:52am Mon 4th Sep, Christopher M.

Please read the updated Clarifications page https teaching.csse.uwa.edu.au units CITS2002 projects project1-clarifications.php (4th September) which defines the process scheduling order. The revised sample solution schedules the processes by followi...


SVG not supported 1:39pm Sun 3rd Sep, Christopher M.

The commands file is a list of the commands that could be run. It is not a file of commands that must be run.


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported 6:51am Fri 1st Sep, Christopher M.

ANONYMOUS wrote This is very likely because the line 50usecs exit does not begin with a TAB character. The revised sample solution will check for and announce this (your) error, although your solution may assume that the input files are corr...


SVG not supported 4:41pm Thu 31st Aug, Christopher M.

ANONYMOUS wrote We'll be sticking with the project description - that the request for the fastest reading device received the data-bus next. For any combination of read and write speeds, and the order of requests, it's (probably) possible to construct...


SVG not supported 4:14pm Thu 31st Aug, Christopher M.

ANONYMOUS wrote I cannot put any exact figure on it; as stated in another reply, I'm just working through a lot of non-2002 things.


SVG not supported 12:08pm Thu 31st Aug, Christopher M.

Not a direct answer, yet, but here https secure.csse.uwa.edu.au run help2002?p np opt B317 year 2023


SVG not supported 9:33am Thu 31st Aug, Christopher M.

The sample solution clearly does not meet many students' expectation of what they expect to see. Yes, it will be changed and explained clarified, particularly with regard to how and when state transitions are implemented. The goal is to define, and req...


SVG not supported 8:33am Thu 31st Aug, Christopher M.

"Replacing a sort algorithm in the FreeBSD kernel has improved its boot speed by a factor of 100 or more and although it's aimed at a micro-VM, the gains should benefit everyone. MicroVMs are a hot area of technology R D in the last half decade or ...


SVG not supported 6:42am Thu 31st Aug, Christopher M.

Great reply - thanks. It's almost as if induction is involved Yes, a process may spawn another process whose definition has already appeared, or is yet to appear, in the commands file.


SVG not supported 6:08am Thu 31st Aug, Christopher M.

"Computers are no longer getting faster. Future improvements in speed will come less from better hardware and more from faster, more efficient programming." "Programs written with Python are notoriously slow - up to 60,000 times slower than code writt...


SVG not supported 5:48am Thu 31st Aug, Christopher M.

Hi Jacob, I understand (most of) your question, but there's no general one-size-fits-all answer. The best choice is going to be specific for a particular program - number of variables and functions, required degree of sharing between functions and, if...


SVG not supported 5:08am Thu 31st Aug, Christopher M.

ANONYMOUS wrote Hi, yes all values in the 2 files are integers. The space-or-tab separated words in the files, such as "200usecs", can easily be captured with an expression such as int x atoi(word); because the atoi() function will retur...


SVG not supported 12:15pm Wed 30th Aug, Christopher M.

ANONYMOUS wrote Previously asked here https secure.csse.uwa.edu.au run help2002?p np opt U199


SVG not supported 12:11pm Wed 30th Aug, Christopher M.

ANONYMOUS wrote The decision to determine if the 'waiting' process has any children to wait for is made by the OS. The OS requires the use of the CPU to execute code to make that decision. The process invoking the 'wait' needs to be placed somewhere so...


SVG not supported 12:02pm Wed 30th Aug, Christopher M.

Hello Amanda, There's no single correct answer, and it may be a property characteristic of a particular OS, or even a configurable attribute of an OS that is read and then used after the whole OS boots. In the 1980s and 90s there was a lot of research ...


SVG not supported 11:45am Wed 30th Aug, Christopher M.

ANONYMOUS wrote It's specified in the Clarifications.


SVG not supported 6:56am Wed 30th Aug, Christopher M.

https www.youtube.com watch?v Dbd3z8t9qc


SVG not supported 5:46am Wed 30th Aug, Christopher M.

ANONYMOUS wrote Yes; the workshop was intended as a Q A session, to provide explanation, and to demonstrate that there would be a web-based sample solution available. It wasn't intended for that demonstration to be used as a definitive example. Ple...


SVG not supported 5:11am Wed 30th Aug, Christopher M.

ANONYMOUS wrote I'm afraid that I have no helpful suggestions, but the very first thing you need to setup when you have it working again is to establish a regular backup routine for your files - using either a simple USB key, to a cloud-drive such a...


SVG not supported 4:59am Wed 30th Aug, Christopher M.

ANONYMOUS wrote There is a limit to how many processes are ever supported. An attempt to exceed this limit would be an error (such as in a real OS, a call to fork() for fail). The project sheet states that there will be no errors in the input files,...


SVG not supported 5:10am Tue 29th Aug, Christopher M.

"Vannevar Bush, a professor at MIT Massachusetts Institute of Technology wanted to solve differential equations. Now, remember, in those days there weren t computers like we have today. Everything had to be done by hand or with mechanical devices...


SVG not supported 5:02am Tue 29th Aug, Christopher M.

Hello Jacob, I believe the answer to your question is the same as this one https secure.csse.uwa.edu.au run help2002?p np opt B272 year 2023


SVG not supported 4:56am Tue 29th Aug, Christopher M.

"Every era of computing has its standout stars. The brains behind our beloved machines, the Central Processing Units (CPUs), have shaped technological advancement. Here's our list of the ten most influential CPUs that have left their mark on history ...


SVG not supported 4:54am Tue 29th Aug, Christopher M.

That is not a error, it is a statement about the sample solution (at present).


SVG not supported 4:29am Tue 29th Aug, Christopher M.

ANONYMOUS wrote There's a single CPU, and it can be used by either users' executing processes, or the OS (performing state transitions). Before the CPU can be used by the OS, or at the very beginning of the OS's actions, the executing user process's ...


SVG not supported 4:17am Tue 29th Aug, Christopher M.

I'm presuming that you're storing your value sin integers, 32-bit or 64-bit. From wherever that 875523205136 value came from, it will occupy the same amount of storage, in the same variable, as a value of zero. ?? Setting an integer value to zero, wi...


SVG not supported 4:07am Tue 29th Aug, Christopher M.

ANONYMOUS wrote We tend to use the word 'blocked' to mean that a process is waiting for a resource (such as I O), or a time interval (sleeping), but not when simply waiting for its turn on the CPU. When a running process's time quantum expires, the pr...


SVG not supported 3:53am Tue 29th Aug, Christopher M.

ANONYMOUS wrote Your thinking and the stated numbers are correct, but the statement '...which is very slow' is not true. How long will it take to perform 5 million (integer) comparisons on a laptop capable of 2 billion instructions per second? Your la...


SVG not supported 6:27pm Mon 28th Aug, Christopher M.

Hi Joshua, did you receive some help in a lab session today?


SVG not supported 5:10pm Mon 28th Aug, Christopher M.

ANONYMOUS wrote Oops, sorry about that - I was thinking about the state transition time, not the timequantum. You are correct - the TQ will have no affect on a process sleeping.


SVG not supported 5:03pm Mon 28th Aug, Christopher M.

This is the sort of question where the best answer is "if you know what would make your program better, why not do it?". We know that the format of the input files is correct, and their data consistent, so most of those 'difficult' errors won't occur....


SVG not supported 4:57pm Mon 28th Aug, Christopher M.

This is correct, although the define.... has nothing to do with global variables - it is a definition understood by the C preprocessor.


SVG not supported 4:56pm Mon 28th Aug, Christopher M.

ANONYMOUS wrote The actions necessary to perform a state transition are executed by the OS, using the single CPU. Thus only one state transition can occur at one time.


SVG not supported 4:52pm Mon 28th Aug, Christopher M.

Very likely that it has a setting to insert 'soft tabs', instead of 'hard tabs', by inserting the appropriate number of spaces to reach the next 'tabstop', often a multiple of 8. And, let's never miss a chance to show this great clip from Silicon Vall...


SVG not supported 1:30pm Mon 28th Aug, Christopher M.

ANONYMOUS wrote I suggest that you keep thinking about the problem; the numbers in the command-file, alone, do not reflect the interactions between the processes and the I O devices, both of which affect the total execution time.


SVG not supported 1:28pm Mon 28th Aug, Christopher M.

Are the system-calls indented with a TAB character?


SVG not supported 12:16pm Mon 28th Aug, Christopher M.

ANONYMOUS wrote It's not clear if you have a question. Yes, the two input files are text-files, which you can process with fopen() , fgets() , and flclose() .


SVG not supported 12:11pm Mon 28th Aug, Christopher M.

ANONYMOUS wrote There's 'always' multiple ways to implementing something. Different (correct) implementation should produce the same results - as long as a process requests something requiring a state transition at a certain time, and ends up at its ...


SVG not supported 11:32am Mon 28th Aug, Christopher M.

Yes, and it's realistic, too. From man 3 sleep - "System activity may lengthen the sleep by an indeterminate amount." You can perform arithmetic in 'doubles' without requiring double variables or managing time with doubles. In the case of findi...


SVG not supported 5:58am Mon 28th Aug, Christopher M.

"Just over three decades ago, Linus Torvalds sowed the seeds for Linux by sending an email detailing his plans to develop a free OS" https www.xda-developers.com on-this-day-in-1991-linus-torvalds-announced-linux


SVG not supported 5:09am Mon 28th Aug, Christopher M.

Times are measured in integers. It makes no sense to think of them as floating-point values, or to consider rounding. If the 'precise time' is actually 14.2usecs, then it certainly hasn't finished by 14usecs.


SVG not supported 5:07am Mon 28th Aug, Christopher M.

A process asking to sleep for some time, is asking for that time on 'the clock on the wall'. If it makes the request to sleep for 10 seconds at time 3 seconds, it expects to be awoken at 13 seconds (but can't expect to run at exactly 13 seconds). T...


SVG not supported 4:58am Mon 28th Aug, Christopher M.

Your understanding is pretty complete, other than the "prioritises the processes on which needs the least time to be completed", so I'm unsure why you describe things as "can't make heads or tails of this project"?? I don't believe it's the sort of ...


SVG not supported 4:41am Mon 28th Aug, Christopher M.

ANONYMOUS wrote There's no single 'true' answer, and it may depend on your implementation. You may not wish to put it in the Ready queue as it's not yet Ready to run, and you may not wish to keep it in the (a) Blocked queue if that would interfere with...


SVG not supported 4:35am Mon 28th Aug, Christopher M.

Hello. I'm wondering if you have a question or are just walking through your understanding, here? Please use the web-based sample solution, rather than the Workshop 5 recording, for comparison purposes.


SVG not supported 5:34am Sun 27th Aug, Christopher M.

Please remember to look at, and attempt, the unit's formative assessment https teaching.csse.uwa.edu.au units CITS2002 formative.php To get the most benefit from these items of formative assessment, you should attempt them under "test conditions" -...


SVG not supported 5:01am Sun 27th Aug, Christopher M.

ANONYMOUS wrote Yes.


SVG not supported 4:22am Sun 27th Aug, Christopher M.

ANONYMOUS wrote Yes. Suggest that you experiment with the sample solution https secure.csse.uwa.edu.au run myscheduler-sample , remembering that even a sleeping process is blocked, too.


SVG not supported 4:20am Sun 27th Aug, Christopher M.

ANONYMOUS wrote You are welcome to change, add to, or extend the starting code in any way you wish. The sample solution has about 22 functions in addition to the 3 empty ones in the starting code. Some of the functions are as few as 5 lines long, but t...


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported 8:51pm Sat 26th Aug, Christopher M.

It was available and announced about an hour before you posted this.


SVG not supported 7:37pm Sat 26th Aug, Christopher M.

A web-based sample solution for Project-1 is available from https secure.csse.uwa.edu.au run myscheduler-sample There is NO requirement for your project to reproduce the sample's debug output. The read and write system-calls are not yet implemented...


SVG not supported 5:55pm Sat 26th Aug, Christopher M.

An annotated history of some character codes or ASCII American Standard Code for Information Infiltration "This document is about character codes, specifically a history of ASCII(1), the American Standard Code for Information Interchange, and immediate...


SVG not supported 5:49pm Sat 26th Aug, Christopher M.

The History of the First Computer Shell "BASH? PowerShell? It all traces back to 1963. And the work of an amazing Frenchman, CTTS, and Multics." https lunduke.locals.com post 2853097 the-history-of-the-first-computer-shell


SVG not supported 3:55am Sat 26th Aug, Christopher M.

ANONYMOUS wrote The time that a process is on the CPU is accumulated, a statistic of that process. The time taken to make a system-call, or to make a state transition is not performed by the process - it is performed by the OS on behalf of the proces...


SVG not supported 3:46am Sat 26th Aug, Christopher M.

ANONYMOUS wrote You're welcome to change function names, parameters, and return types as you wish (or not even use them). DO NOT change the numeric preprocessor constants near the top of the file, else your code won't match the sample solution. It's o...


SVG not supported 3:43am Sat 26th Aug, Christopher M.

ANONYMOUS wrote You gain marks for good practices. There is no 'negative marking', so you do not lose marks for anything. Marking starts at 0 and goes upwards, not from 100 going downwards. The use of global variables was discussed in Friday's Works...


SVG not supported 3:39am Sat 26th Aug, Christopher M.

ANONYMOUS wrote That approach may work, but the 'picking apart the times' part is difficult because you must account for the interactions and competition between multiple processes. As discussed in Friday's Workshop 5, another (I believe much easier...


SVG not supported 12:49pm Fri 25th Aug, Christopher M.

ANONYMOUS wrote Yes. Please read https secure.csse.uwa.edu.au run help2002?p np opt U179 I cannot imagine why you would need to call usleep() for this project. It suggests a misunderstanding, which should be addressed by watching today's Work...


SVG not supported 6:04pm Thu 24th Aug, Christopher M.

command1 and command2 should each be able to spawn each other. There is no 'ordering' in the commands file (other than the 1st command being the only one automatically executed).


SVG not supported 6:01pm Thu 24th Aug, Christopher M.

"Ancient civilisations hunted for spice; in the 20th century we fought wars for oil. In 2023, the world s most precious commodity is an envelope-sized computer chip. The H100, a rectangular black maze of circuits with a shimmering microchip at its ...


SVG not supported 5:31pm Thu 24th Aug, Christopher M.

ANONYMOUS wrote The format of the commands file is always the same, and your project does not have to check for files with an invalid format. The command names, such as 'shortsleep' or 'elephant', can be anything, and your project does not need to (...


SVG not supported 5:28pm Thu 24th Aug, Christopher M.

Let's use the correct terminology (for C), which will keep the questions and answers as clear as possible. Firstly, we're not 'importing' anything. Secondly, string.h is not a library - it refers to a text file containing the declaration (not impleme...


SVG not supported 5:23pm Thu 24th Aug, Christopher M.

The data-bus is used when a process requests some I O (either way), and the use lasts from when that process acquires the data-bus until the transfer of data completes. While the data-bus is in use by one process, another process can be using the CPU....


SVG not supported 5:18pm Thu 24th Aug, Christopher M.

ANONYMOUS wrote A good question. I'll decide whether the parent or child runs next, and add the 'answer' to the Clarifications. Yes, the parent only waits for the child if the parent calls wait . Yes, the ratio of CPU-time-consumed-by-all-processe...


SVG not supported 5:14pm Thu 24th Aug, Christopher M.

ANONYMOUS wrote (now not sure how this comment fits in the discussion sequence, but) yes, there's many ways to have multiple processes in the READY queue.


SVG not supported 5:12pm Thu 24th Aug, Christopher M.

ANONYMOUS wrote When cal is spawned it 'starts off' in the READY queue (nothing to do with what its parent subsequently does).


SVG not supported 5:11pm Thu 24th Aug, Christopher M.

Firstly, let's use the correct terminology. A process whose time-quantum expires is not blocked, it moves from RUNNING to READY. Your process, above, would run for 100usecs, move to the READY queue, eventually move back to the CPU, run for 100usecs a...


SVG not supported 12:43pm Thu 24th Aug, Christopher M.

ANONYMOUS wrote If the running process invokes 'spawn', and that new process also invokes 'spawn', all before any of them have called 'exit'.


SVG not supported 12:30pm Thu 24th Aug, Christopher M.

ANONYMOUS wrote No, that's incorrect. The commands in the commands-file are akin to all the available executable programs on your laptop's disk. When you boot up your laptop they do not all start running, only the ones you request to run (with spa...


SVG not supported 12:25pm Thu 24th Aug, Christopher M.

ANONYMOUS wrote Great. The very first sentence of the project sheets says "...to emulate the scheduling of processes" but I'll change that to "...emulate (or simulate)".


SVG not supported 9:38am Thu 24th Aug, Christopher M.

ANONYMOUS wrote That's a very 'big' question. I strongly recommend that you find a project partner, have some discussions with them about what you both understand, get along to a lab session to discuss your ideas with the helpful people there, and att...


SVG not supported 7:59am Thu 24th Aug, Christopher M.

ANONYMOUS wrote A single tab character - written with ' t' in C - should appear as the first character on the line. Unsure what you mean by "modify the file", as the sequence - tab - is only written on the project sheet so that it's clearly there; ...


SVG not supported 7:56am Thu 24th Aug, Christopher M.

ANONYMOUS wrote The answer is 'yes', because that's what the project specification says. In practice, a system would also introduce a mechanism to avoid what's called "process starvation" - the chance that a process waits indefinitely because there's ...


SVG not supported 1:29pm Wed 23rd Aug, Christopher M.

ANONYMOUS wrote You will need to create and test your project with a variety of attributes values in those 2 files. I am unsure what you mean by '...in the main file'. Review the starting code.


SVG not supported 1:27pm Wed 23rd Aug, Christopher M.

Just in the very standard way. Suppose a process has (only) 150usecs of computation to perform, before it exits. When it first gets on to the CPU it runs for the time-quantum of 100usecs, then it is kicked-off the CPU. It eventually returns to the CPU f...


SVG not supported 11:11am Wed 23rd Aug, Christopher M.

ANONYMOUS wrote Not sure what you mena by this question. Commands have names, just a single word on a line by itself, and every line following that begins with a TAB character after the system-calls executed (in order) by that command.


SVG not supported 11:03am Wed 23rd Aug, Christopher M.

Great answer; thanks.


SVG not supported 10:59am Wed 23rd Aug, Christopher M.

ANONYMOUS wrote No, but you'll soon have access to a sample solution against which you may test your own project, for varying input files. And don't forget to test your project with varying sysconfig files, too, not just command files.


SVG not supported 7:21am Wed 23rd Aug, Christopher M.

ANONYMOUS wrote Hi. Nearly everyone in the unit is new to how the internals of an OS work, so you're not alone. However, you do appear to have some serious misunderstandings about the project (as do many others), so I strongly recommend that you fi...


SVG not supported 5:26am Tue 22nd Aug, Christopher M.

ANONYMOUS wrote No problems, that's the idea That process will stay on the CPU over 91, 92, ... usecs. After the process has been on the CPU for 100usecs (exhausted its time-quantum), it will be moved to the Ready queue. When it is next on the CPU,...


SVG not supported 10:17am Mon 21st Aug, Christopher M.

Fixed; thank you.


SVG not supported 7:31am Mon 21st Aug, Christopher M.

Details of the 1st project are available from https teaching.csse.uwa.edu.au units CITS2002 projects project1.php Please post requests for clarification about any aspect of the project to help2002 so that all students may remain equally informed. S...


SVG not supported 7:40am Sun 20th Aug, Christopher M.

There is a (rare) case where you may need to consider their difference - exit() terminates the current process, no matter where (from which function) it's called. If exit() is called from main() the whole process terminates. - re...


 UWA week 33 (2nd semester, week 4) ↓
SVG not supported 6:46am Sat 19th Aug, Christopher M.

Career advice for young system programmers https glaubercosta-11125.medium.com career-advice-for-young-system-programmers-c7443f2d3edf "If you are interested in the plumbing of our software industry systems level programming, much of the career a...


SVG not supported 6:42am Sat 19th Aug, Christopher M.

Hmmmm. https mastodon.social ni C a t 1 0 0 0 2 7 4 6 2


SVG not supported 6:07am Sat 19th Aug, Christopher M.

ANONYMOUS wrote Unsure if you've read the (original) linked paper, but there's a huge amount of detail on the questions selected https arxiv.org pdf 2308.02312.pdf All good reasons, and everyone will have their own reasons and preferences (though ...


SVG not supported 10:51am Thu 17th Aug, Christopher M.

Someone emailed me this question and the reply will be of general interest I don't believe that there's that much history discussed in the lectures (happy to hear others' opinions, too), just some mostly in Lectures 1 and 3. But I feel a bit of hist...


SVG not supported 4:39am Thu 17th Aug, Christopher M.

You may remember in the 1st lecture that I stated that new technical developments in operating systems attract far less attention, today, than do changes in the user interface, fonts, and desktop images. The major development attracting all attention ...


SVG not supported 3:21am Thu 17th Aug, Christopher M.

Windows feature that resets system clocks based on random data is wreaking havoc Windows Secure Time Seeding resets clocks months or years off the correct time. https arstechnica.com security 2023 08 windows-feature-that-resets-system-clocks-based-on...


SVG not supported 3:13am Thu 17th Aug, Christopher M.

ChatGPT answers more than half of software engineering questions incorrectly You may want to stick to Stack Overflow for your software engineering assistance. https www.zdnet.com article chatgpt-answers-more-than-half-of-software-engineering-question...


SVG not supported 4:06am Wed 16th Aug, Christopher M.

Dear Computer Science Students, QFin UWA has our biggest event of the year coming up THE QFIN PANEL NIGHT and we'd love to see you all there Tickets https www.eventbrite.com.au e panel-night-tickets-692141553017 Date 31st of August Time 6pm - 8p...


SVG not supported 4:01am Wed 16th Aug, Christopher M.

Someone sent in this question by email The main() function may return (to the operating system) by calling the exit() function, simply calling return, or 'dropping off' the bottom curly bracket. In the last 2 cases, no call to exit() ...


SVG not supported 12:04pm Tue 15th Aug, Christopher M.

ANONYMOUS wrote When formatting output with printf() and friends, there really is no difference. However when scanning parsing input with scanf() and friends, using " i" supports reading in integers in different numeric bases, such as base-10 (decimal...


SVG not supported 5:35pm Mon 14th Aug, Christopher M.

ANONYMOUS wrote Actually neither of those possibilities - project-1 may be undertaken by 1 or 2 people - project-2 may be undertaken by 1 or 2 people You may have different partners for each project.


SVG not supported 4:35am Mon 14th Aug, Christopher M.

Just "Chris". Glad that you resolved the problem, even if it took such drastic measures. I can't imagine how why you'd be seeing the error you did without it also appearing in so many other situations.


SVG not supported 7:26am Sun 13th Aug, Christopher M.

This problem has me stumped. I've tried your code on 2 Apple M2 (Xcode) installations, Ubuntu Linux (gcc), and Redhat Linux (an earlier gcc), and all produced the expected result. I can't imagine why your installation would produce those weird, large v...


SVG not supported 7:21am Sun 13th Aug, Christopher M.

This problem appears to be fixed now.


SVG not supported 7:20am Sun 13th Aug, Christopher M.

Sorry about that Kazi; fixed now (a copy is also available in the sample solution). Good luck,


 UWA week 32 (2nd semester, week 3) ↓
SVG not supported 5:41am Thu 10th Aug, Christopher M.

Lots of students emailing with common questions about Project-1, so please read https teaching.csse.uwa.edu.au units CITS2002 projects project1.php which should answer all of your questions before the project's release. Good luck,


SVG not supported 4:40am Thu 10th Aug, Christopher M.

The default installation of vim simply displays its text in monochrome, but by adding commands to (one of) vim's "startup files", it will add colours to code keywords, comments, .... To download and add the necessary commands to vim's startup file pr...


SVG not supported 4:29am Thu 10th Aug, Christopher M.

Using foreground background job control in your shell The traditional (40 year old) way to run the vim editor is inside the same window that receives your shell commands. I choose to edit files and compile them in the same window (and in most of my wo...


SVG not supported 7:59am Wed 9th Aug, Christopher M.

Did you make any progress in solving this problem, Jie?


SVG not supported 6:56pm Tue 8th Aug, Christopher M.

ANONYMOUS wrote Yes, the digital certificate expired on Saturday, affecting those on Unify and via the VPN. UWA-IT have been informed (though, you'd think they would have already been aware of it).


SVG not supported 4:02am Mon 7th Aug, Christopher M.

Just "Chris". I'm afraid that I can't tell from your description alone. It's likely to be the use of an incorrect datatype or a formatting error - not sure. As the exercise is not being assessed, please post your code here.


SVG not supported 7:58am Sun 6th Aug, Christopher M.

In Friday's workshop we discussed the forthcoming challenge of storing time values in 32-bit integers. Here's a recent article on how Debian Linux is addressing it Debian looks forward to 2038 https lwn.net Articles 938149 "On January 19, 2038, the...


 UWA week 31 (2nd semester, week 2) ↓
SVG not supported 6:35am Sat 5th Aug, Christopher M.

ANONYMOUS wrote Have a look at the sample solution for the lab; you'll see that the 'magic calculation' is 1 - firstday; At the end of the workshop I also asked those attending about the difficulty of the workshop - there was about 100 students there...


SVG not supported 6:32am Sat 5th Aug, Christopher M.

Some sample solutions for Labsheet-1 and Workshop-2 are now available from our Schedule page https teaching.csse.uwa.edu.au units CITS2002 schedule.php Sample solutions will be available each week, but I won't make an announcement, such as this, eve...


SVG not supported 6:05am Fri 4th Aug, Christopher M.

Tracing the Lines From the Telephone to Unix https www.deusinmachina.net p history-of-unix "Starting in 1925, and still around 98 years later (albeit with a few name changes), Bell Labs has done some incredible things during its lifespan. Propelled ...


SVG not supported 2:48pm Thu 3rd Aug, Christopher M.

This invitation is for the semester 2 meeting of the CS education committee in room 2.07 Computer Science building. Tuesday 22nd August at 1pm. This committee meets once a semester (Tuesday 1pm around week 5 or 6 for one hour). The full committee consis...


SVG not supported 6:44am Thu 3rd Aug, Christopher M.

Throw away your first draft of your code https ntietz.com blog throw-away-your-first-draft "The next time you start on a major project, I want you to write code for a couple of days and then delete it all. Just throw it away." ... I'm not proposing th...


SVG not supported 6:37am Thu 3rd Aug, Christopher M.

Western Digital HDD capacity hits 28TB as Seagate looks to 30TB and beyond https arstechnica.com gadgets 2023 08 western-digital-hdd-capacity-hits-28tb-as-seagate-looks-to-30tb-and-beyond "After a couple of decades of talk, Seagate announced earlier...


SVG not supported 5:27am Tue 1st Aug, Christopher M.

Just to note that the unit has TWO projects - see the unit's webpage (perhaps you're only seeking a partner for the 2nd project).


SVG not supported 3:06pm Mon 31st Jul, Christopher M.

The webpage https askubuntu.com questions 161652 how-to-change-the-default-font-size-of-xterm gives a simple solution. In your existing xterm, execute prompt echo 'xterm font -fixed- - - -18- ' .Xresources prompt xrdb -merge ...


SVG not supported 11:28am Mon 31st Jul, Christopher M.

In today's lecture I mentioned a famous keynote talk at an OS conference that had its audience thinking. Found it Systems Software Research is Irrelevant http doc.cat-v.org bell labs utah2000 utah2000.pdf "This talk is a polemic that distills th...


SVG not supported 5:34am Mon 31st Jul, Christopher M.

While not an OS topic we focus on, this ArsTechnica article provides a great summary of contemporary mainframes The IBM mainframe How it runs and why it survives https arstechnica.com information-technology 2023 07 the-ibm-mainframe-how-it-runs...


SVG not supported 5:32am Mon 31st Jul, Christopher M.

(I'm afraid) it's working for me this morning; no-one else reported a problem, so hopefully it was just a transient problem.


 UWA week 30 (2nd semester, week 1) ↓
SVG not supported 5:44am Sat 29th Jul, Christopher M.

Nothing particular that I remember, other than encouragement to read through the webpages outlining Linux and C compiler software before commencing next week's Labsheet-1.


SVG not supported 5:37am Sat 29th Jul, Christopher M.

ANONYMOUS wrote Firstly (because I'm a bit of a pedant about using the correct terminology) it's not WSL that's providing the online manual that you're reading. WSL is a program enabling you to run a Linux distribution 'inside' WSL. Ubuntu is one s...


SVG not supported 5:02am Sat 29th Jul, Christopher M.

Thanks. I'd presumed that they'd already done that, if (hopefully) following the instructions here https teaching.csse.uwa.edu.au units CITS2002 labsheets software.php But maybe.... The package manpages-posix is correctly named and still exists, https...


SVG not supported 4:55am Sat 29th Jul, Christopher M.

You're welcome to use Virtualbox if you prefer it - this unit doesn't require (or assess) any virtualisation software required to give you access to Linux on your own devices.


SVG not supported 4:53am Sat 29th Jul, Christopher M.

Thanks Chris; wasn't aware of this. To others, maybe wondering why this was posted - UWA-IT used to run RHEL on students' lab computers (I think that they only support Linux in CSSE and EECE), but that choice was an annoyance because UWA-IT couldn't g...


SVG not supported 4:31pm Thu 27th Jul, Christopher M.

While there are no structured lab sessions in Week-1, you may like to start reading some introductory material on using the Linux operating system and the standard C compiler (including the C compiler on your Mac, if that is your chosen platform). In...


SVG not supported 12:14pm Thu 27th Jul, Christopher M.

Please complete 2 Student Experience Surveys that UWA is participating in during August - The national QILT Student Experience Survey (SES), conducted for the Australian Government Department of Education https www.qilt.edu.au surveys student-expe...


SVG not supported 5:18am Wed 26th Jul, Christopher M.

ANONYMOUS wrote Yes, that's what it's reporting in its Table 4. And from that table, it's easy to explain why - if an equivalent Python program takes 70x longer to execute, and Python is still executing as fast as it can on the same CPU, then it'll ex...


SVG not supported 12:30pm Tue 25th Jul, Christopher M.

Wow, they just don't make Computer Scientists like this anymore https www.youtube.com watch?v dirjtPAlZPM


SVG not supported 7:08am Tue 25th Jul, Christopher M.

In the 1st lecture, I mentioned that some computing environments, such as cloud-based platforms, are very concerned about their energy consumption (at least to minimise costs), and their environmental impact. Here's an interesting article on that topi...


SVG not supported 3:34am Tue 25th Jul, Christopher M.

It appears that UWA-ITS have corrected their network configuration, and so our unit's webpage teaching.csse.uwa.edu.au units CITS2002 is available without requiring the VPN. (please report any similar problems if they appear more than just transien...


SVG not supported 3:29am Tue 25th Jul, Christopher M.

ANONYMOUS wrote Yes, I did speak past 9 52 yesterday, but only to say that I have another lecture at 10am (every Monday), and asked students not to rush to the front after the lecture with individual questions (that request was ignored). There's alway...


SVG not supported 6:16pm Mon 24th Jul, Christopher M.

Hello, Pronounced just 'Chris'. I have no control over the lecture recordings. Recording starts automatically at 8 58 and finishes at 9 52; anything that passes through the microphone or the video projectors is recorded, trimmed, and stored somewhere...

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy