News for hackers. Stuff that matters.
Re:Show HN: Replace "hub" by "ingest" in GitHub URLs for a p... by mdaniel on Thursday December 05, 2024 @12:29PM (#42330337)

  // Fetch stars when page loads
  fetchGitHubStars();
I do not understand why in the world so much of the code is related to poking the GH api to fetch the star count
Re:Show HN: Replace "hub" by "ingest" in GitHub URLs for a p... by johnisgood on Thursday December 05, 2024 @01:26PM (#42330943)
Probably generated by AI, prompted by no- or junior dev. This is my opinion, of course, but it looks like code generated by an LLM.
Re:Show HN: Replace "hub" by "ingest" in GitHub URLs for a p... by cyclotruc on Thursday December 05, 2024 @01:13PM (#42330766)
I know the code is not great, but contributions are very much welcome because there's a lot of low hanging fruits
Re:Show HN: Replace "hub" by "ingest" in GitHub URLs for a p... by ugexe on Thursday December 05, 2024 @08:43PM (#42335198)
But why did you code it to fetch stars at all? You would have had to go out of your way to do that. If AI has written most of this I suspect people will be less inclined to contribute.