Saturday, November 29, 2014

WoW 1




Rain hanging out on a horse....So we can get to level 100 now! Lol I remember when that was a mere dream.


Friday, November 28, 2014

Dr.Chuck S




name = raw_input('Enter file:')
handle = open(name, 'r')
text = handle.read()
words = text.split()
counts = dict()
for word in words:
counts[word] = counts.get(word,0) + 1
bigcount = None
bigword = None
for word,count in counts.items():
if bigcount is None or count > bigcount:
bigword = word
bigcount = count
print bigword, bigcount



This program opens a text file and then counts the words, it then prints the count.

This is a difficult program to understand if you do not know programming.

So in a  further post we'll break it down

Integrity & Security




This is a link to Dr.Chuck's key calculator. 

Wednesday, November 26, 2014

Python Keywords

2.3.1. Keywords

The following identifiers are used as reserved words, or keywords of the language, and cannot be used as ordinary identifiers. They must be spelled exactly as written here:
False      class      finally    is         return
None       continue   for        lambda     try
True       def        from       nonlocal   while
and        del        global     not        with
as         elif       if         or         yield
assert     else       import     pass
break      except     in         raise

Coursera Internet History

Explaining Network Technology

                Network technology is a constantly advancing field of knowledge and for the past 30 years it’s been evolving exponentially. People all over the world use Network Technology to dive deeper into thought, organization, and communication. Early scientist dreamed of ways of connecting the world, through a giant network system.
                Now today we use networks every day, from the home, to the business all of use networks to transfer data, and communicate with others. The Networks of today are comprised of layers that each do a specific objective. All of the layers are used to move data in a reliable way.
                When the military created the DoD we had small networks such as ARPNET different small college networks that were linked up and ready to transfer data. Most of this was not in the public eye at first but eventually it started becoming a normal thing at colleges, and in corporations.
                There are many different Network Technologies available today, which include cabling, computers, routers, and switches all of which take data and use or move it in some way. Could you imagine not being able to read your emails! This type of thought is quickly becoming a huge concern to sociologist and people of the sort.
                There are thousands of networks right now, probably millions and billions of electrical devices linked to, hooked up, and assigned to specific networks. Eventually we will need to transform the way we network into an easier more practical way. Right now your computer is assigned two specific names, an IP Address and a MAC Address.
                With the advent of IPv6 which is a name convention we will quickly see networks becoming easier, and more able to change for Admins, and more user friendly.  Network Technology itself isn’t always the easiest thing to deal with, maybe your cables aren’t transferring Data, or your Computer won’t turn on, there are many things that prevent a network from actually starting, and maintaining.
                More people than ever now use the Internet to transfer Data store information, and contact different people. With the continuation of network technology in all different areas of the world I don’t think it will be long before we have a network in every country, and continent. Network Technology has changed in many ways. Information itself is being found in different aspects and different views.
                How can Networks help you? Are you someone who has information you need stored? Or perhaps you need someone in Los Angeles to find a message from Florida. Regardless of what you look forward to using a network for, I’d say there is almost a 100 percent change you’ll find yourself using one sooner than later.
                How do you see yourself using a Network? Most people use networks for emailing, instant messaging, and storage, but there are many different ways a network can be used. Networking is becoming a fast growing field for study and for structure. I ask that you yourself take time from you busy schedule and use a network, see how it works, and how it is animated by the transfer of data and information. It’s a beautiful thing to witness.


4.7.2 Keyword Arguments

PYTHON 


Functions can also be called using keyword arguments of the form "keyword = value". For instance, the following function:

def parrot(voltage, state='a stiff', action='voom', type='Norwegian Blue'):
    print "-- This parrot wouldn't", action,
    print "if you put", voltage, "Volts through it."
    print "-- Lovely plumage, the", type
    print "-- It's", state, "!"
could be called in any of the following ways:

parrot(1000)
parrot(action = 'VOOOOOM', voltage = 1000000)
parrot('a thousand', state = 'pushing up the daisies')
parrot('a million', 'bereft of life', 'jump')
but the following calls would all be invalid:

parrot()                     # required argument missing
parrot(voltage=5.0, 'dead')  # non-keyword argument following keyword
parrot(110, voltage=220)     # duplicate value for argument
parrot(actor='John Cleese')  # unknown keyword



What this is doing is calling up a function, and then calling it up in different using keywords, this is a usual way to define and retrieve functions.