←back to thread

1901 points l2silver | 1 comments | | HN request time: 0.216s | source

Maybe you've created your own AR program for wearables that shows the definition of a word when you highlight it IRL, or you've built a personal calendar app for your family to display on a monitor in the kitchen. Whatever it is, I'd love to hear it.
Show context
RoyGBivCap ◴[] No.35731060[source]
Probably boring to most people but I created a tool to nail exactly 40 hours a week contracting using the laziest possible inputs getting me out as early as possible on Friday:

https://github.com/cynoclast/time

Usage example:

tm 8.5 9.27 8.83 8.87 9:45-1:23 1:33-

14:11

54 minutes

Notice you don't have to give it AM/PM? Also don't have to give it any flags. It figures out what to calculate based on number of arguments alone. And it knows 9:45 to 1:23 is around 4 hours, not -8.

And during the week, decimal hours for timesheets:

tm 8:30-12:30 12:40-6:40

10.0

I used it 5x a week during my contracting days.

replies(1): >>35746007 #
1. bombcar ◴[] No.35746007[source]
This reminds me of Ben Franklin's one hand watch: https://www.hodinkee.com/articles/the-meistersinger-benjamin...