News for hackers. Stuff that matters.
Re:Uber open-sources tool to automatically clean up stale code by joering2 on Sunday June 21, 2020 @03:19PM (#23594575)
Total nit pick, but I think Piranha is a totally wrong name here. Piranhas mostly feed on fresh meat, its known they are excited and eager to attack when victim moves in water, reassuring predator that its a healthy meat. Much better name would be Scavenger, or Vulture - a bird of prey that eats on dead meat.

I assume you would rather cleanup your program from dead code, rather than strip it down to the bone from live functions :)

Re:Uber open-sources tool to automatically clean up stale code by snthd on Sunday June 21, 2020 @04:12PM (#23595012)
https://en.wikipedia.org/wiki/Maggot_therapy might be a better analogy - you don't want to lose everything, just to clean out the necrotic bits.
Re:Uber open-sources tool to automatically clean up stale code by detaro on Sunday June 21, 2020 @03:39PM (#23594737)
As far as I know that aspect of Piranhas is overhyped in popular culture, and they're pretty much omnivores, hunting fresh prey, scavenging on carcasses and eating plant matter. Agreed though that naming it after a pure scavenger would make more sense.
Re:Uber open-sources tool to automatically clean up stale code by Kaze404 on Sunday June 21, 2020 @03:54PM (#23594856)
Wikipedia (and the sources listed) contradict this comment, saying Piranhas are vicious carnivores, with some even exhibiting cannibal behavior.

https://pt.m.wikipedia.org/wiki/Piranha

Re:Uber open-sources tool to automatically clean up stale code by judge2020 on Sunday June 21, 2020 @03:57PM (#23594888)
English: https://en.wikipedia.org/wiki/Piranha

> Although generally described as highly predatory and primarily feeding on fish, piranha diets vary extensively, leading to their classification as omnivorous. In addition to fish (occasionally even their own species), documented food items for piranhas include other vertebrates (mammals, birds, reptiles), invertebrates (insects, crustaceans), fruits, seeds, leaves and detritus. The diet often shifts with age and size.

> In another study of more than 250 Serrasalmus rhombeus at Ji-Paraná (Machado) River, 75% to 81% (depending on season) of the stomach content was fish, but about 10% was fruits or seeds

Re:Uber open-sources tool to automatically clean up stale code by throeawayjoe on Sunday June 21, 2020 @03:58PM (#23594893)
Piranhas are scavengers.

The typical diet of red-bellied piranhas includes insects, worms, crustaceans, and fish.[13] In packs up to hundreds, piranhas have been known to feed on animals as large as egrets or capybara. Despite the piranha's reputation as a dangerous carnivore, it is actually primarily a scavenger and forager, and will mainly eat plants and insects during the rainy season when food is abundant. ~ Wikipedia.

Re:Uber open-sources tool to automatically clean up stale code by alextheparrot on Sunday June 21, 2020 @03:32PM (#23594691)
Could also change it to ¬Piranha