pcauthorn

Joined 5 years ago

Karma
84
Submissions
11
Member since
May 11
Python/AWS developer

https://www.linkedin.com/in/patrick-cauthorn/

View on Hacker News

Recent submissions

Comment · 3 years ago
That's something I hadn't thought of. Thanks
Comment · 4 years ago
You just earned $9.99 from me! Don't spend it all in one place!

Many great things to consider in this thread. Many thanks to you and others that put their thoughts down.

Comment · 5 years ago
I agree. Another example, Linus T wrote git from scratch to hosting the Linux kernel in 2.5 months. I'd say 10x is a low estimate.

I've worked with a guy who wrote great code like he was typing an email.

Everyone has a ceiling of the complexity of problems they can handle, some programmers are outliers in this regard.

Comment · 5 years ago
Thanks for checking it out!

Good question, this is slightly different than lru_cache in that it persists to disk so it retrieves from the cache even when you rerun the Python interpreter.

Also it gives you a bit of flexibility as when to refresh the cache and to use or ignore function parameters. I often make a change in one 'group', db data for example, and am able to just refresh those methods that gather data from the db.

Comment · 5 years ago
This was born out of necessity as data comes from multiple systems and takes around 4 minutes per run. Now I can iterate in like 5 seconds

Not something I seen, a decorator used only for development that is deployed in production.

Thoughts?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton