HackerTrans
トップ新着トレンドコメント過去質問紹介求人

pcauthorn

no profile record

投稿

Ask HN: Finding complimentary technical people

1 ポイント·投稿者 pcauthorn·3 年前·2 コメント

[untitled]

1 ポイント·投稿者 pcauthorn·3 年前·0 コメント

(My) Evolution of OOP Thinking

pcauthorn.substack.com
2 ポイント·投稿者 pcauthorn·3 年前·0 コメント

Tests, eh ...

pcauthorn.substack.com
1 ポイント·投稿者 pcauthorn·3 年前·0 コメント

Ask HN: How to be independent as a developer?

115 ポイント·投稿者 pcauthorn·4 年前·53 コメント

Show HN: Decorator to Speed Up Development

github.com
5 ポイント·投稿者 pcauthorn·5 年前·3 コメント

コメント

pcauthorn
·3 年前·議論
That's something I hadn't thought of. Thanks
pcauthorn
·4 年前·議論
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.
pcauthorn
·5 年前·議論
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.
pcauthorn
·5 年前·議論
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.
pcauthorn
·5 年前·議論
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?