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

aston

no profile record

投稿

We Tried to Detect Bots in Comments. We Found a More Interesting Problem

musubilabs.ai
10 ポイント·投稿者 aston·2 か月前·0 コメント

Neo Reimagines the Accelerator

neo.substack.com
1 ポイント·投稿者 aston·4 年前·0 コメント

コメント

aston
·3 年前·議論
You may be interested in this newer paper, reconciling the work of Killingsworth and Kahneman & Deaton. https://www.pnas.org/doi/10.1073/pnas.2208661120
aston
·4 年前·議論
I don't think you want this, but just in case you do :)

    def encapsulate(mod):
        import types

        out = types.SimpleNamespace()

        def replace_global_scope(f):
            # via https://stackoverflow.com/a/1144561, but tweaked for py3
            return types.FunctionType(
                f.__code__,
                out.__dict__,
                f.__name__,
                f.__defaults__,
                f.__closure__,
            )

        for name in dir(mod):
            val = getattr(mod, name)
            if callable(val):
                val = replace_global_scope(val)
            setattr(out, name, val)
        return out
aston
·4 年前·議論
You might like Go-Chainable: https://github.com/neurocollective/go_chainable
aston
·18 年前·議論
If anything, that's demotivation, at least for real hackers. Plenty of Fish is popular because of marketing/SEO techniques and throwing successively larger iron at traffic, not because Markus Frind was a technical genius with a clever idea. Very different path to profitability than most of us want to take, I think.