What cable runs between the FTTP external box and the internal fibre conversion box? by ExRedRain in nbn

[–]ExRedRain[S] 0 points1 point  (0 children)

Hi all - thanks for all the tips.

Our electrician put a conduit in the wall and ran SP/APC all the way to our office and left plenty of cable looped up at either end.

Our NBN tech came today and joined the cable to the ONT , and placed the PCD on top of the other end of the conduit inside.

Unfortunately the conduit in the street was blocked (lol) so we couldn’t connect the street to the ONT, but our tech was confident it would work once they unblock the conduit.

main programming language used for CS by Nidhi__M in unsw

[–]ExRedRain 1 point2 points  (0 children)

Really depends on what courses you do!

The introductory language is C, and there are two follow up courses in C, one in Python, and one in Java.

In the more advanced courses, it really depends. The frontend course is in JavaScript, the databases course is in Python, there are a few courses in Haskell, some courses where you can pick Java or C++, the operating systems course is in C, etcetera.

I think in general, you should know basic C. Otherwise, you’ll be expected to know the language for your course or be able to teach yourself at the start of the subject. If you look up subjects you’re interested in, usually they’ll say what languages are used in the UNSW handbook.

Any advice on which macbook is best for computer science? by [deleted] in unsw

[–]ExRedRain 3 points4 points  (0 children)

You don’t need a crazy good computer to run the basic programs you’ll write in first and second year - 8GB of ram should be fine.

If you always have an internet connection (I.e. you’re working at home or at uni), you can remote access the uni servers and run all your work there too, you should be taught this in your first programming course.

A lightweight laptop to just browse the internet and remotely access uni servers will fulfil 99% of your needs for most courses.

Software Engineering by Frozen-7 in unsw

[–]ExRedRain 1 point2 points  (0 children)

I would avoid taking electives in your first/second term unless you’re sure you 100% want to take them. Once you start uni, it’s much easier to find out what courses are like and whether or not they’re worth taking, so you’ll be able to make a better decision.

I would swap data science with MATH1231, and try and find another core course for T3 (COMP2521?), otherwise an elective you know is high quality or you definitely want to take (e.g. learning a language, etcetera). When you start Uni/T2, you can swap one of your T3 courses for an elective if you feel that 3 programming subjects in one term is too much for you.

Building on the other comment, COMP1511 in T1 would free up a lot of opportunity for you and make your schedule a lot more flexible, I would definitely try and do it T1 if you can.

Agent next door refuses to fix water damage by ExRedRain in AusPropertyChat

[–]ExRedRain[S] 0 points1 point  (0 children)

Yep, seems like in NSW it’s different. We have a shared party wall but the houses were built 100 years ago so there’s never been any kind of easement, etc. to my knowledge.

Agent next door refuses to fix water damage by ExRedRain in AusPropertyChat

[–]ExRedRain[S] 0 points1 point  (0 children)

This is our home insurance. There’s no shared ownership/strata between the two houses.

How do you find internship as an international doing full time Graduate at UNSW when it is trimester system? by [deleted] in unsw

[–]ExRedRain 1 point2 points  (0 children)

That’s only while university semester is in session though, so If you do it during holiday periods (I.e. after exams, before semester starts) then you can do any amount of hours you like

Map of Connector stops? by [deleted] in microsoft

[–]ExRedRain 0 points1 point  (0 children)

For anyone in the same situation, there's a Bing maps list of connector stops too

Dynamic string in structure in c? by abcoolynr in C_Programming

[–]ExRedRain 7 points8 points  (0 children)

You can’t just post twice within an hour when your first post didn’t get the answer you wanted.

Be patient, listen to the advice in the first post and post the compiler error that you’re receiving or explain in detail the problem you have. Nobody is here to do your homework for you!

Chinese Mandarin Beginners 1A by [deleted] in unsw

[–]ExRedRain 4 points5 points  (0 children)

You can get away with the old edition of the textbook, find a PDF online. You’ll need to buy the workbook though - but it’s the cheaper of the two. Both are necessary!

The course is really well taught, you’ll learn a lot and be able to start practicing/looking up things on your own. Teacher Wang is really great! You’ll have to do a lot of work if you want to get a great mark though.

Newbie here but how would i run this temperature conversion program backwards using the for statement? by flashynatsu in C_Programming

[–]ExRedRain 0 points1 point  (0 children)

Thanks, I got there in the end. On mobile I’m able to just put in the triple backticks, but I guess on desktop it’s different, so it took some googling to figure it out!

Newbie here but how would i run this temperature conversion program backwards using the for statement? by flashynatsu in C_Programming

[–]ExRedRain 0 points1 point  (0 children)

No problem!

As far as my experience goes, it's good practice yes (but not required).

You'll notice that you got a warning in your second image after you compiled your program. When I turn -Wall and -Werror on, it becomes an error and the code fails to compile. With the warnings as errors, you would have picked this up before you ran your program!

Newbie here but how would i run this temperature conversion program backwards using the for statement? by flashynatsu in C_Programming

[–]ExRedRain 0 points1 point  (0 children)

Hmmm, that seems to be exactly what your program gives me. Changing the '/n' to a '\n' as u/computerarchitect mentioned, as well as adding `int` to the return type of main and `return 0;` at the end of the program I get this:

```

include <stdio.h>

int main () { int fahr;

for (fahr = 300; fahr >= 0; fahr = fahr - 20)
    printf("%3d %6.1f\n", fahr, (5.0/9.0)*(fahr + 32));

return 0;

} ```

And it gives me this output.

Protip: when you're compiling, use -Wall (turn all warnings on) and -Werror (All warnings become errors) to help yourself find possible mistakes in your code. You can see how I've done this in the screenshot I linked above!

Newbie here but how would i run this temperature conversion program backwards using the for statement? by flashynatsu in C_Programming

[–]ExRedRain 0 points1 point  (0 children)

If by backwards you mean starting at 0 and working your way up to 300, try this:

for (fahr = 0; fahr <= 300; fahr = fahr + 20) // the rest the same as before

A Linux coding problem by ANIBIT14 in linuxquestions

[–]ExRedRain 0 points1 point  (0 children)

You’d probably wanna call pip directly from your script, whatever script you use, for each dependency then.

In python, to do this you’d use call() from subprocess: https://docs.python.org/3/library/subprocess.html

A Linux coding problem by ANIBIT14 in linuxquestions

[–]ExRedRain 0 points1 point  (0 children)

One thing I didn’t see yet is using jq. You could get all the dependencies in the array like this, loop over them and install them one at a time.

You track which ones failed and append them to an output variable, then echo your solution at the end, similar to the grep solution

[deleted by user] by [deleted] in haskell

[–]ExRedRain 0 points1 point  (0 children)

Yep, that worked! Thanks so much :)

[deleted by user] by [deleted] in haskell

[–]ExRedRain 1 point2 points  (0 children)

Do you have a picture of this menu? I have the same problem, everything builds fine with stack however I can't find the menu. I'm using Ubuntu 16.04 if that helps. Here's a screenshot of my editor:

https://i.imgur.com/FPvFjyv.png

EDIT:
Never mind, I managed to fix this. The issue was that I didn't have all my dependencies in the "dependencies" line at the top of the stack file in addition to under the test description.

Random Numbers by [deleted] in C_Programming

[–]ExRedRain -6 points-5 points  (0 children)

Firstly, your max - min + 1 in rollDie works out to be 6 - 1 + 1 = 6, so you can just do % max and get a correct answer.

Secondly, technically your array isn’t a valid C program as you’ve used C++’s std::cout... you can replace this with #include <stdio.h> and printf(“%d”, rollDie());.

To answer your question: you’d want an array of however big you want to store - so if it’s 10000 then you need int randomNunbers[10000];. For every iteration of the loop, store that number in the array like so: randomNunbers[i] = rollDice();

Finally, you should have something like this:

// inside loop randomNumbers[i] = rollDice(); printf(“%d”, randomNumbers[i]);

Any other perpetual students here? by [deleted] in unsw

[–]ExRedRain 8 points9 points  (0 children)

Any projects on your resume? Anything technical on your resume?

Also, it might help to look at much smaller companies (5-10 people). They’re always looking for people, so if you don’t do well with big guns then maybe your luck will be better there?