News for hackers. Stuff that matters.
Re:Show HN: Car Cost Calculator – my weekend project by OrwellianChild on Thursday July 03, 2014 @04:45PM (#7985669)
Depends on how deep you want to go, but you could set up a table with common considerations and let users set frequency...

Most maintenance is mileage-dependent, so if you base your schedule on their monthly mileage, it could look like:

  Repair           Cost           Frequency
  ------           ----           ---------
  Oil Change        $30             5000 mi
  Tires            $500            45000 mi
  Battery          $150            30000 mi
  Timing Belt     $1500            60000 mi
  Misc             $200            15000 mi
Do the math in impact/year and input that cost into your table...
Re:Show HN: Car Cost Calculator – my weekend project by vonmoltke on Thursday July 03, 2014 @04:56PM (#7985758)
To complicate matters, some of those items are time or distance items. Oil and battery, for instance, need to be changed after a certain amount of time regardless of the miles driven. Not too hard to work into the pricing algorithm, though.

If you wanted go get even more creative, you could get users to crowdsource scheduled maintenance tables for their vehicles. It's all in the owner's manual and just a matter of transcribing it.