1 / 4

Tricks & Tips Graph Search Serialization

Tricks & Tips Graph Search Serialization. Eclipse: http://www.eclipse.org/ CLR Text, ch 12: “Object Streams”. Administrivia. Lab section attendance Straw poll: TTC M1 Progress meter. Tricks & tips. Debugging hint #1: “Stop thinking and look.” -- D. J. Agans

Download Presentation

Tricks & Tips Graph Search Serialization

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tricks & TipsGraph SearchSerialization • Eclipse: http://www.eclipse.org/ • CLR • Text, ch 12: “Object Streams”

  2. Administrivia • Lab section attendance • Straw poll: TTC M1 • Progress meter

  3. Tricks & tips • Debugging hint #1: • “Stop thinking and look.” -- D. J. Agans • Huge amount of time taken up in debugging • Often, much/most of debugging time spent working on the wrong thing • Key to working on the right thing: actually look at what’s going wrong • Most basic way to do that: print statements • Painful, slow, basically sucks • Much better: find, learn, and use a good debugger

  4. Group design exercise • Design and give pseudocode for the web crawl traversal algorithm • Don’t worry about network I/O or HTML parsing • Focus on: • Hitting every reachable page once • Not hitting any page more than once • Efficiency: small overhead per page • Can assume methods • WebPage retrievePage(String) • String[] getAllURLsInPage(WebPage) • (Or your favorite others)

More Related