• Print All Links Solution – Intro to Computer Science
    Articles,  Blog

    Print All Links Solution – Intro to Computer Science

    So here’s the code that we need to finish. We need a test condition for the while, and in this case we really want to keep on going forever until we’re done. So, we’re going to use while True and then use break to stop the loop. The test condition is true, and the way we know when we’re done is when the value returned as the URL was none. That means we got to the else, so to finish, we need to finish the else block by using break. Now let’s test our code. We’ll call print_all_links with our test string that has test 1, test 2, and test…

  • Articles

    Pop Quiz – Intro to Computer Science

    Now it’s time for our pop quiz to make sure everyone understands pop. For this quiz, assume that the name p refers to a list with at least two elements. Your goal is to determine which of the code fragments does not change the final value of p. And so that means no matter what value p starts with, as long as it has at least two elements after executing the code. And I’ll show you the choices for the code next. The value of the p is the same as what it started with. So here are the choices. Check the box for each code fragment where the value…

  • Overview of the Unit – Intro to Computer Science
    Articles,  Blog

    Overview of the Unit – Intro to Computer Science

    The goal of the first three units in this course is to build a Web crawler that will collect data from the Web for our search engine. And to learn about big ideas in Computing by doing that. In Unit 1, we’ll get started by extracting the first link on a web page. A Web crawler finds web pages for our search engine by starting from a “seed” page and following links on that page to find other pages. Each of those links lead to some new web page, which itself could have links that lead to other pages. As we follow those links, we’ll find more and more web…

  • Articles

    The World Wide Web: Crash Course Computer Science #30

    Hi, I’m Carrie Anne, and welcome to CrashCourse Computer Science. Over the past two episodes, we’ve delved into the wires, signals, switches, packets, routers and protocols that make up the internet. Today we’re going to move up yet another level of abstraction and talk about the World Wide Web.This is not the same thing as the Internet, even though people often use the two terms interchangeably in everyday language. The World Wide Web runs on top of the internet, in the same way that Skype, Minecraft or Instagram do. The Internet is the underlying plumbing that conveys the data for all these different applications. And The World Wide Web is…

  • Introduction
    Articles,  Blog


    Welcome to CS101. I’m Dave Evans, I will be your guide on this journey. This course will introduce you to the fundamental ideas in computing and teach you to read and write your own computer programs. We are going to do that in the context of building a web search engine. I’m guessing everyone here has at least used a search engine before. Like Google, DuckDuckGo or even my personal favorite – DaveDaveFind. You type in what you are looking for, and voila – in literally a blink of an eye, about a tenth of a second, back come the results. This might not be enough to make you wise,…

  • Senior Design – FluffyMates Mobile App Connects You to Your Next Fluffy Family Member
    Articles,  Blog

    Senior Design – FluffyMates Mobile App Connects You to Your Next Fluffy Family Member

    Fluffymates is a mobile app modeled after popular dating sites to help correlate the idea of pet adoption with love and companionship. We came up with the idea as one of our team mates actually worked for a shelter and was looking for even better ideas to help promote Pet Adoption, and get more pets adopted. What we were looking to do is to simplify searching shelters for a pet. This is the main page it generates all the animals inside the database that we’re pulling from. If you want to choose like dogs then it’ll refresh the sack and you get only dogs that show up. You can swipe…

  • Using App Engine at Scale – Web Development
    Articles,  Blog

    Using App Engine at Scale – Web Development

    So we just spent our last unit, unit 6, talking about scaling and basically 101 uses of memcache. Now, a lot of the things that we talked about in scaling, you know, adding new app servers and adding more memcaches and scaling the DB horizontally and through sharding App Engine does for you. And have you guys been taking advantages of those features? Has that worked out for you in production? Absolutely. The auto-scaling is probably the best feature of it. It works really smoothly. It’s very transparent. And, our traffic definitely has peaks and valleys. You know, there’s been a lot of press, and that brings a lot of…

  • Great Job! – Intro to Computer Science
    Articles,  Blog

    Great Job! – Intro to Computer Science

    So congratulations, you’ve made it to the end of unit one. You’re learned a lot of computer science already, you know what a program is, you’ve learned about variables, you’ve learned about expressions and grammars, you’ve learned about strings in Python. So now it’s time for you to work on homework one on your own. And that will check that you understood everything from this class and prepare you to get started on unit two. And we’re well on our way towards learning a lot of computer science, as well as building our web crawler and then building our search engine.

  • Articles

    How Hackers Hack, and How To Stop Them

    You hear about this all the time: A big bank was hacked. Tumblr was hacked. The infidelity website Ashley Madison was hacked and now everybody knows who was cheating on each other. But there’s a lot more to it, and it’s a lot less flashy than what you see in the movies. Hacking isn’t about typing in a few magic words with one hand on one keyboard and the other hand on another keyboard. Or like, two people using the same keyboard at once. Hacking is difficult, and it usually takes careful planning and a fair amount of time. Stopping malicious hackers can be even more challenging. But some people…

  • Improving Crawler – Intro to Computer Science
    Articles,  Blog

    Improving Crawler – Intro to Computer Science

    If we want more confidence, we could also look at the documentation and the challenges. If we don’t know what we’re looking for, well the documentation won’t tell us We can see that we have union that returns a union of the sets. What we don’t see yet is update and now, given that we found update and guess what it did, we can see this description, not the most clear description to know for sure that it does what we want. We could do some more searches. Let’s see what we got when we search for Python and update. Well, we got some discussion here, we’re looking at the…