Live data from Hacker News

Viewing profile — zachd

zachd

HN member
Joined
Sat, Oct 22, 2016, 12:11 PM UTC
HN karma
138
Public activity
16 items

About zachd

No profile information was provided.

Recent public activity

  1. comment
    Comment #45874825

    https://stretchmytimeoff.com An algorithm to optimise vacation days using public holidays and weekends. Especially relevant at this time of year. I created it a year ago and receiv…

  2. comment
    Comment #42130999

    Hi, thanks for your feedback. GPT was able to make your change for Monday vs Sunday week starting :)

  3. comment
    Comment #42130973

    Hi, thanks for your feedback! The list of countries comes from a popular ISO-3166-1 npm package. I can see there was already much discussion about this topic over on their repo htt…

  4. comment
    Comment #42121689

    Thanks! Adding customisable fixed holiday days could be a nice idea :)

  5. comment
    Comment #42121657

    Thanks! I made options to change the year and leave balance, but not to change the first day of the year. Let me know if it still works if you enter the right number of days

  6. comment
    Comment #42121650

    Thanks a lot, now there's a quick feature to toggle off certain holidays, I see most US don't get Veteran's day indeed. It should work now, per state as well

  7. comment
    Comment #42121642

    Thanks so much! ChatGPT and I just added a quick feature to hide certain holidays from a particular year, stored in LocalStorage. Let me know if it works like you expect :)

  8. comment
    Comment #42121583

    Thanks, the count could indeed be improved. I left it as counting all clusters > 2 days as valid extra time off, so all 3 day weekends made from national holidays would be included…

  9. comment
    Comment #42121565

    Thanks for sharing! The option to toggle holidays on/off should be working. Being able to arbitrarily add a chosen day isn't there, you just need to +1 to your days off count and l…

  10. comment
    Comment #42121552

    Thanks for your feedback! Indeed the algorithm only gives one result, as it tries to fill all gaps from smallest to biggest in the best way possible to create clusters. Making it s…

  11. comment
    Comment #42121532

    Ah shame, I totally depend on the well maintained npm package date-holidays. But I guess it could use a PR! https://github.com/commenthol/date-holidays/blob/master/data...

  12. comment
    Comment #42121528

    Thanks! ChatGPT and I made the change for per-state support and to hide individual holidays each year :)

  13. comment
    Comment #42121518

    Thanks for the feedback! ChatGPT and I made the change to hide individual holidays for a country per year, click "edit list" :)

  14. story
    Show HN: Stretch My Time Off – An Algorithm to Optimize Your Vacation Days

    Hey HN! I built StretchMyTimeOff as a quick experiment using Cursor (Anysphere's AI code editor) and GPT-4o to see how far AI could go in building a simple, functional site. What i…

  15. comment
    Comment #23550026

    I agree. Edit: Removed exclamation point

  16. comment
    Comment #23543750

    Would be awesome if the submission guidelines are linked on the submission page itself