I’ve noticed that many networking students have few problems answering questions about the simpler, classful networks and their subnet masks. But then many struggle when problems involve CIDR networks.
I think it’s because beginners have grasped the basics using some rules of thumb, but not the underlying principles.
When we take the class C netmask, 255.255.255.0, the shortcut thought is that the magic number 255 means “part of network”, and magic 0 means “part of host address”. But if that’s all you know, then as soon as you see a netmask like 255.255.192.0, you’re stumped. What does the 192 mean?
The two keys to decrypting 172 are understanding what a mask, generically, is, and thinking in binary, instead of base-10.
Note 2:A Visual Studio project is available with some starting code, and some questions (in the form of comments) for you to try to answer, available here: rand.zip
What is randomness?
Where can we use it in our programs?
How can we acquire random values?
How can we make some values more likely than others (weighting/non-uniform distribution)?
You can compare most things to Whales or Wales. How frequently is an area the size of Wales cut down in the Amazonian rainforest? How long are 5 double-decker buses?
So this slide came up on screen during the BBC YouTubers satire, Pls Like. It might seem ridiculous, two incomparable quantities, but it’s a fun jumping off point to consider the knowledge domains and dataspaces we might consider if we had this slightly silly problem. What does it mean to store a whale?
Hello. If you’re a user of the neongrit server I sysadmin (sudo make me a sandwich, for I. Am. root.), you should already be familiar with my guide to making use of the services offered.
But if not, or if you’re new to having an account, please download and read it, it talks about using notepad++, WinSCP and Dreamweaver to access it, how the filesystems is laid out, and lots of hints and tips. Particularly useful if you’ve never hosted a website on a linux server before.