Bugs Become Features

  • Home
  • About
  • Research
  • Projects
  • Publications
  • Teaching
  • Blog
  • Archives

Clean Up

1 post tagged with "Clean Up"

  • 22 Sep 2014
    Search Gear 20 Cleaning Up

    Cleaning up those nasty files func (tw *twitter) cleanUp(entity string) (string, error) { if entity == "" { entity = “myHome” } cleanTime := time.Now().AddDate(0, 0, -2) fileName := strings.Join([]string{entity, “_”, cleanTime.Format(“2006-01-02”), “.json”}, “”) if err := os.Remove(fileName); err != nil { log.Println(“Failed to”, err) } return fileName, nil } So why not have this as a cloud service, and why not allow the grouping of people you follow? Also investigate twitter security better, especially around the developer api.

← All Tags

Simon Harper

Professor of Computer Science, University of Manchester

© 2026 Simon Harper. All rights reserved.

Connect

Built with Hugo