Presentation is loading. Please wait.

Presentation is loading. Please wait.

COS 125 DAY 7. Agenda Quiz Graded 3 A’s, 4 B’s, 1 C, & 1 D Any questions from the quiz? Next Quiz is Feb 26 over the rest of HITW test Questions from.

Similar presentations


Presentation on theme: "COS 125 DAY 7. Agenda Quiz Graded 3 A’s, 4 B’s, 1 C, & 1 D Any questions from the quiz? Next Quiz is Feb 26 over the rest of HITW test Questions from."— Presentation transcript:

1 COS 125 DAY 7

2 Agenda Quiz Graded 3 A’s, 4 B’s, 1 C, & 1 D Any questions from the quiz? Next Quiz is Feb 26 over the rest of HITW test Questions from last Class?? Assignment #2 Due Problems? Capstone Projects Proposals Due Today we will discuss Common Internet Tools and Multimedia on the Internet We will complete the HITW text in the next week and then concentrate on Web Design (Castro text) for the rest of the semester

3 Objectives Using Common Internet tools How Internet searching Woks How Google works How Map Sites Work Hoe Wikis work How Telnet works How File Compression works How Internet Searching works How agents work How Java, ActiveX, and JavaScript Work Enjoying Entertainment and Multimedia on the Internet How Music and Audio work on the Internet The infamous MP3 file

4 How Search Engines Work The Web contains billions of pages.  Impossible to search the entire Web every time someone types in a search term. Search engines do the searching up to a month in advance + store the results in a huge database. They send automatic programs called spiders out on the Web to build up a massive index or database of all the words found, where they were found, how many times they appear on each page, and so on. When users type in a search term, this is the database that is actually queried.

5 How Search Engines Work

6

7 But how does the search engine define relevance? The spider: Counts words, Looks for the location of those words on the page, Avoids sites that attempt to trick them by repeating words many times in a row.

8 How Internet Searching Works 3 Basic types Indexes www.yahoo.com www.dmoz.org Search Engines www.google.com Meta Search Engines www.mamma.com http://www.metacrawler.com/

9 How Meta-Search Engines Work Uses Internet agents Software bots (short for robots) that do the work for you Bots “go” the other search engines like google.com and yahoo.com, run the search and “bring” the results back to you

10 But how does the search engine define relevance? Relying on user behavior to form its rankings. Google ranks sites according to how many links point to the site from other Web sites. Challenge: Get sites to appear high in the search engine rankings. Solution: Specialized companies study the search engines algorithms for ranking pages.

11 How the Googlebot works Crawls WebPages & Downloads entire pages to Google’s Doc servers Finds all links & crawls them as well Determines update cycle and determines next crawl for web page Indexer servers reads all pages on docs servers and creates and index and page ranks the sites

12 Googlebot footprints

13 How Google works http://www.googleguide.com/

14 what Googles knows Search History Reads Gmail Google Desktop reads hard drive Google products (froogle) learns your shopping patterns Google Maps knows where you are going Google toolbars knows about all your Internet activity

15 How map sites work Combination maps and Databases Databases update by GPS researchers Lat and long fixes on map coordinate grid User searches databases Mapping software gets lat and long Finds correct map Marks location on map Routing on point to another Based on complicated algorithms, most use “best fit” methods  not guaranteed to be optimal

16

17

18 How Wikis work Collections of user created (and edited) information Community based knowledge repository Wikipedia is the largest and best known Wiki Wikipedia Wikiquote WikiSpecies http://computer.howstuffworks.com/wiki.h tm http://computer.howstuffworks.com/wiki.h tm

19 How Telnet Works Used for remote logins Allows you to run commands just as you were on that remote computer’s keyboard Requires Telnet server (remote machine) Telnet client (you!) Works mostly for UNIX and LINUX Windows NT and 2000 has limited server support

20 Example

21 How File Compression Works Many file transferred over the internet are compressed Takes a larger files and makes a smaller one from it Some Files can be expanded to original after it is received Windows.zip.arj Macs.sit.hqx UNIX.gz.z

22 How File Compression Works Method one (lossless) Look for Redundancies in the file and replace with tokens that are smaller than the redundant areas Works great for text based files Example for a text file Replace “the” with t1 or T1 Replace “there” with t2 or T2 Replace “that” with t3 or T3 Of course you have to be able to handle an occurrence of the token in the original file Place after ~ … t1 become ~t1 Lossless for audio  FLAC (2-3:1)

23 How File Compression Works Method (Lossy) Removes detail to reduce file size Cannot recreate original Usually used for Graphics jpeg mpeg

24 Example lossy using jpeg 275KB 95 KB

25 How Internet Agents works “Intelligent” pieces of software that act in your interest Many are invisible to the users Uses Good Searching for info Shopping Web Site Maintenance Bad Distributed Denial of Service attacks Cyber terrorism http://www.botspot.com/

26 Controlling Bots on your web site Place a Robots.txt file in your web server Bots are to read and follow directions The "/robots.txt" file usually contains a record looking like this: User-agent: * Disallow: /cgi-bin/ Disallow: /tmp/ Disallow: /~joe/ Part of the Robots Exclusion Protocol http://www.robotstxt.org/wc/exclusion-admin.html

27 JAVA Applets Creation Code Compile to byte-code Insert into web page Can be in or Http://perleybrook.umfk.maine.edu/samples/japplet.htm Http://perleybrook.umfk.maine.edu/samples/colorchecker.html http://www.javafile.com/

28 JavaScript Interpretive version of JAVA Brings Dynamic capabilities to HTML <!-- (html comment) Lines of script code…. --> Can be in or http://perleybrook.umfk.maine.edu/samples/Black Jack.htmttp://perleybrook.umfk.maine.edu/samples/Black Jack.htm http://perleybrook.umfk.maine.edu/samples/colorpicker.htm

29 ActiveX Controls Only works with Microsoft Browsers on Microsoft operating systems Allows HTML code to use a application on the PC through Microsoft COM (Component Object Model) model Require the CLASSID for the application you wish to use

30 Using the Microsoft Media Player through ActiveX <OBJECT ID="WindowsMediaPlayer1" WIDTH=400 HEIGHT=300 CLASSID="CLSID:6BF52A52-394A-11D3-B153- 00C04F79FAA6"> … (more PARAM) http://perleybrook.umfk.maine.edu/samples/activeX.htm

31 Multimedia and the Internet Everything that has been done with audio and video can be replicated on the Internet Radio TV Film The Internet brings more “life” to audio and video Interactivity Combining multiple formats together Virtual reality First person simulations Downside Need lots of bandwidth Allows for dysfunctional social behaviors Escapism Social Withdrawal

32 Music and Audio on the Internet Download audio files and play them.wav.mp3.wma.au Most browser can play most audio files Plug-ins Helper applications Popular Audio Players Winamp Windows Media Player Realplayer

33 Problems with Multimedia files downloads Audio and video files tend to be very large Slow to download Can take longer to download the file than it takes to play the files, especially over a dial up connection One way to over come this problem is to “stream” the files Streaming Demo

34 Video and Audio Streaming Streaming is playing and downloading a file at the same time As soon as enough of the file has been downloaded..the applications will begin to pay the file amd hope the rest gets there in time Most Popular of these technologies is RealPlayer RealPlayer

35 Internet Radio Many traditional radio station have started to broadcast over the Internet Larger audience increases ad revenue potential http://www.radio-locator.com/ http://www.live365.com/index.live New Internet only Radio stations Netscape radio http://www.shoutcast.com/ http://www.pandora.com/?tc=g-036843-0156-1149

36 How MP3’s are created An MP3 file is a compressed digital music file (about 10-1 compression) Deletes sounds you can’t hear Affects quality

37 The MP3 Cycle

38 Making your own MP3 You need a MP3 Ripper Compresses the digital audio (usually a CD audio track) and encodes in MP3 format There are issues with copyright violations if you rip copyrighted material and then distribute them This has created a major controversy and brought an end to many music sharing applications like Napster

39 For next class Read through to Chap 43 (page 296) Think about Free Music File Sharing. Is it Legal? Moral? Ethical? Be prepared to define your thoughts


Download ppt "COS 125 DAY 7. Agenda Quiz Graded 3 A’s, 4 B’s, 1 C, & 1 D Any questions from the quiz? Next Quiz is Feb 26 over the rest of HITW test Questions from."

Similar presentations


Ads by Google