Better HN
topnewbestaskshowjobs
Log inSign up

kkleindev

321 karma · joined Oct 22, 2015 (11y ago) · 60 submissions

https://kevinkle.in/ https://twitter.com/kevkle https://github.com/kklein
Submissions

1.

Causal, Heterogeneous Treatment Effects in Python(github.com ↗)

1 points · by kkleindev · 2y ago · discuss

2.

Analyzing Advent of Code(kevinkle.in ↗)

1 points · by kkleindev · 2y ago · 1 comment

comment 2y ago · link · parent

Indeed manually

comment 2y ago · link · parent

It might sound silly but I've found it to work quite well for me: I store the (rather coarse) data on these exercise activities in my Google calendar.

I also do some more fine-grained analyses (e.g. looking at heart rates) via Garmin and Strava but for cross-discipline comparisons I mostly rely on my calendar entries.

I've found the calendar to be extremely reliable -- knock on wood -- over long time horizons (I have exercise data going back to 2016). Also, it's very flexible. I store additional metadata, e.g. the distance of a run, in the event description.

At some point I explained this a bit more in this post: https://kevinkle.in/posts/2018-10-21-running-log/

5.

I analyzed my exercise data from 2023(kevinkle.in ↗)

3 points · by kkleindev · 2y ago · 4 comments

comment 3y ago · link · parent

The teams I've been working on have resorted to data tests instead of code tests. That means that the data produced by your code is tested against a certain set of expectations - in stark contrast to code being tested _before_ its execution.

We've written our own tool to compare different data sources against each other. This allows, for example, to test for invariants (or expected variations) between and after a transformation.

The tool is open source: https://github.com/QuantCo/datajudge

We've also written a blog post trying to illustrate a use case: https://tech.quantco.com/2022/06/20/datajudge.html

7.

AlgoPytest – Framework for Testing Algorand Smart Contracts Using PyTest(github.com ↗)

1 points · by kkleindev · 4y ago · discuss

comment 4y ago · link · parent

> I felt that when I was writing publicly about my life/thoughts I was focusing too much on my ego.

Why do you want to avoid that?

comment 4y ago · link · parent

For a reason I haven't been able to distill I really appreciate it when people known for one facet of their personality (here: being a big shot in crypto) have the courage to be open about other, much less impressive facets (here: writing about mundane practicalities) of their lives as well.

comment 4y ago · link · parent

I agree that what you suggest is more useful in many scenarios, particularly when one care about _monitoring_ of performance.

Unlike the rest of the notifications, my ambition with this cumulative distance plot was rather to intervene by cheering than to observe by analyzing. Put differently, I tried to gamify the yearly distance - as if I was racing against last year's version of myself. I'm not advocating for this, I just liked the idea at some point.

comment 4y ago · link · parent

That's a great point! I vaguely tried to go in that direction by plotting the average over the past 7 days, the average over the 7 days before and the average over the year to date. Yet, I fully agree one might want to push this a little further and do as you describe. Thanks for the suggestion!

12.

Life Monitor(kevinkle.in ↗)

92 points · by kkleindev · 4y ago · 23 comments

comment 4y ago · link · parent

Last time I checked organice didn't support offline editing on mobile. If that worked it would likely also be my weapon of choice!

comment 4y ago · link · parent

Cool idea! I do like to be able to work on it offline, e.g. on planes, though.

comment 4y ago · link · parent

My current setup is also slightly dissatisfying in that regard. What's nice (or rather a consolation) about orgzly - the mobile app I use - is that upon conflict, it explicitly offers to either choose the remote or the local version. At first I was worried it would simply attempt to always overwrite based on the local version.

16.

I use Org Mode for personal logging/journalling(kevinkle.in ↗)

157 points · by kkleindev · 4y ago · 48 comments

17.

Goals Are Abitrary(kevinkle.in ↗)

1 points · by kkleindev · 4y ago · discuss

comment 4y ago · link · parent

I personally find it so easy to forget how deeply ingrained the assumption of a working legal system is in everything I do.

comment 4y ago · link · parent

Thanks!

20.

Modelling Sudoku with a Gym Environment(kevinkle.in ↗)

3 points · by kkleindev · 4y ago · 2 comments

comment 4y ago · link · parent

I appreciate the level-headedness of this writeup.

22.

I analyzed my running data from 2021(kevinkle.in ↗)

2 points · by kkleindev · 4y ago · discuss

comment 6y ago · link · parent

Would you mind sharing how you 'learn'?

comment 7y ago · link · parent

I think there should be other, better ways of rectification than firing someone.

comment 7y ago · link · parent

Thanks for the hint! I wrote this up a little more explicitly: http://kevinkle.in/jekyll/update/2019/09/23/breaking_pills.h...

comment 7y ago · link · parent

Correlation, causation, something, something.

comment 7y ago · link · parent

What a time to be alive. Amazing how we manage to create environments in which people with such severe physical conditions are able to find pleasure and belonging. While for so long, such a physical state would have rendered this impossible.

comment 7y ago · link · parent

> I find it way easier to use Uber than get Taxis mostly due to the app based "click and collect" model

mytaxi.com does just that.

29.

A Beautiful, Derandomized Algorithm for MAX-3SAT(kevinkle.in ↗)

2 points · by kkleindev · 7y ago · discuss

30.

Road Signs: On constraints and freedom(defert.com ↗)

1 points · by kkleindev · 8y ago · discuss

12