News for hackers. Stuff that matters.

cak

Re:Show HN: Elf – A CLI Helper for Advent of Code on Thursday December 04, 2025 @07:24PM (#46155260)
Thank you, that means a lot! I tried to make the caching behavior as transparent as possible so folks don’t have to dig through the code to figure out where things live. Really glad it helped, and happy to take suggestions if anything could be clearer.
Re:Show HN: Elf – A CLI Helper for Advent of Code on Thursday December 04, 2025 @07:23PM (#46155251)
Sorry for the delay, I missed this! Great question. The guess cache is local by default, but you can set ELF_CACHE_DIR to point it at a shared folder like iCloud, Dropbox, Google Drive, or anything that syncs across your machines. That will keep your guess history unified so you do not risk resubmitting a too low or too high answer. Happy puzzle solving!
Re:Show HN: Elf – A CLI Helper for Advent of Code on Tuesday December 02, 2025 @06:04AM (#46119999)
Thanks! Caching around inputs and submissions was a priority to keep the workflow fast and predictable. Happy to hear any feedback if you try it out. Really appreciate it, and happy puzzle solving!
Re:Show HN: Elf – A CLI Helper for Advent of Code on Tuesday December 02, 2025 @05:36AM (#46119800)
Happy to answer any questions about design choices, caching strategy, the guardrails for safe submissions, or anything else. If anyone uses AoC in a team or automation setup, I’m especially interested in what features would help.

Show HN: Elf – A CLI Helper for Advent of Code

https://github.com/cak/elf

I built a CLI tool called elf to streamline Advent of Code workflows. It removes a lot of the repetitive steps around fetching inputs, submitting answers safely, and checking private leaderboards.The tool focuses on: - Input fetching with caching (no repeated downloads, works offline) - Safe answer submissions with guardrails to prevent duplicate or invalid guesses - Private leaderboard viewer...

( Read More... | 7 comments | 3 points | on HN )
I built a small CLI tool called elf to make Advent of Code workflows simpler. It helps with input fetching and caching, safe answer submission, viewing your progress, and reading private leaderboards.

Features • input fetching with caching • guardrails to prevent duplicate or invalid submissions • private leaderboard viewer in table json or model formats • status calendar and guess history viewer • optional Python API for scripting

Repo https://github.com/cak/elf PyPI https://pypi.org/project/elf/

Feedback is welcome.

Show HN: Secure.py – Simplify HTTP Security Headers for Python Web Apps

https://github.com/TypeError/secure

Hi HN,I'm excited to share a major update to secure.py, a Python library designed to make adding essential HTTP security headers to web apps easier than ever. This release is a complete rewrite, leveraging modern Python 3.10+ features to enhance usability and performance.Why secure.py?Adding headers like Content Security Policy (CSP), HSTS, and X-Frame-Options is crucial for protecting web...

( Read More... | no comments | on HN )
Great looking app. I'm having trouble adding users to a project after it has been created, using chrome 6.0. Later, it would also be useful to add users without an account via email invites from within a project to people that don't have an account yet.