Compare commits

..

2 Commits

Author SHA1 Message Date
b48a464536 fix typo, add link to @dang thread for /about
Some checks failed
continuous-integration/drone/push Build is failing
2020-03-24 21:16:02 -07:00
ffe6670ec8 will no longer grow db unbounded 2020-03-24 21:15:40 -07:00
2 changed files with 10 additions and 7 deletions

View File

@ -92,7 +92,8 @@ func (f *Fetcher) StoreFrontPage() error {
//f.log.Debug().Msgf("storing story with rank %d in db", (i + 1)) //f.log.Debug().Msgf("storing story with rank %d in db", (i + 1))
// FIXME this will grow unbounded and make the file too big if // FIXME this will grow unbounded and make the file too big if
// I don't clean this up or otherwise limit the data in here // I don't clean this up or otherwise limit the data in here
f.db.Create(&s) // disabled for now
//f.db.Create(&s)
// check to see if the item was on the frontpage already or not // check to see if the item was on the frontpage already or not
var c int var c int

View File

@ -7,11 +7,13 @@
<h2>IMPORTANT</h2> <h2>IMPORTANT</h2>
<p>This is a third-party site, not affiliated with HN, provided for <p>This is a third-party site, not affiliated in any way with HN,
informational purposes only. <b>Do not</b> contact or hassle HN provided for informational purposes only. <b>Do not</b> contact or
administrators about any information you learn here. Their site, hassle HN administrators about any information you learn here.
their rules. I repeat: <b>Do not hassle or interrogate the HN admins.</b> Their site, their rules. I repeat: <b>Do not hassle or interrogate
</p> the HN admins about their front page.</b> <small>(<a
href="https://news.ycombinator.com/item?id=22643777">more
info</a>)</small> </p>
<h2>Why?</h2> <h2>Why?</h2>
@ -26,7 +28,7 @@
graciously provided <a href="https://github.com/HackerNews/API">HN graciously provided <a href="https://github.com/HackerNews/API">HN
API</a>.</p> API</a>.</p>
<h2>Who</h2> <h2>Who?</h2>
<p><a href="mailto:sneak@sneak.berlin">@sneak</a>.</p> <p><a href="mailto:sneak@sneak.berlin">@sneak</a>.</p>
</div> </div>