Skip to main content

Posts

Showing posts from September, 2016

Cloud computing basic Terminology for learners

AWS
The organizational unit of Amazon that provides a variety of cloud services. AWS operates from 11 physical locations across North and South America, Europe, Asia, and Australia.

Content delivery network (CDN)

A distributed system consisting of servers in discrete physical locations, configured in a way that clients can access the server closest to them on the network, thereby improving speeds.

Cloud

A metaphor for a global network, first used in reference to the telephone network and now commonly used to represent the internet.

Cloud portability

The ability to move applications and data from one cloud provider to another. See also Vendor lock-in.

Cloud provider

A company that provides cloud-based platform, infrastructure, application, or storage services to other organizations and/or individuals, usually for a fee.

Cloudsourcing

Replacing traditional IT operations with lower-cost, outsourced cloud services.

Cloud storage

A service that allows customers to save data by transferring it ov…

2 Myths about Python String Comparison

Comparing Strings  It’s possible to compare strings just as you would numbers. Keep in mind, however, that Python is picky about strings being equal to each other. If the two strings differ, even slightly, they’re not considered the same.

Consider the following example: >>> a = "Virginia"
>>> b = "virginia"
>>> a == b False

Although a and b are very similar, one is capitalized and one isn’t. Because they aren’t exactly alike, Python returns False when we ask whether they are alike. Whitespace matters, too.

Consider the following code snippet: >>> greet1 = "Hello "
>>> greet2 = "Hello"
>>> greet1 == greet2 False greet1 has a space at the end of its string whereas greet2 does not. Python looks at whitespace when comparing strings, so the two aren’t considered equal