Better HN
topnewbestaskshowjobs
Log inSign up

cak

4 karma · joined Feb 11, 2019 (7y ago) · 14 submissions

Submissions

1.

Python security headers without copy-paste policy drift(github.com ↗)

2 points · by cak · 7mo ago · discuss

comment 11mo ago · link · parent

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.

comment 11mo ago · link · parent

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!

comment 11mo ago · link · parent

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!

comment 11mo ago · link · parent

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.

6.

Show HN: Elf – A CLI Helper for Advent of Code(github.com ↗)

3 points · by cak · 11mo ago · 7 comments

comment 12mo ago · link · parent

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.

8.

Elf a modern CLI helper for Advent of Code written in Python(github.com ↗)

1 points · by cak · 12mo ago · 1 comment

9.

Show HN: Secure.py – Simplify HTTP Security Headers for Python Web Apps(github.com ↗)

4 points · by cak · 2y ago · discuss

10.

Secure.py – add security headers for Python web frameworks(github.com ↗)

2 points · by cak · 5y ago · discuss

11.

Show HN: Bookmarks – A Burp Suite extension to bookmark requests(github.com ↗)

3 points · by cak · 6y ago · discuss

12.

A community curated list of resources about Server Side Swift(github.com ↗)

1 points · by cak · 7y ago · discuss