HackerTrans
TopNewTrendsCommentsPastAskShowJobs

xn

517 karmajoined 16년 전
[ my public key: https://keybase.io/cwarden; my proof: https://keybase.io/cwarden/sigs/JO__ddEF_qgtiiEFdDB-BNI04f2LdoBv4sj2oE5h1rg ]

comments

xn
·5일 전·discuss
The Elm Architecture[1] makes it easy to reason about code. You render the current state. You create a new state by applying a message to the current state.

1. https://guide.elm-lang.org/architecture/
xn
·11일 전·discuss
Yes. If I have a 5-year lease on a building, I can sublease it to you for 5 years, but I can't offer to sell it to you.
xn
·5개월 전·discuss
Are there any good reasons to use multiple GitHub user accounts? GitHub organization membership and permissions are well designed in my experience, negating the need for multiple user accounts.
xn
·5개월 전·discuss
I don't understand how vouch solves the problem.

From https://x.com/mitchellh/status/2020628046009831542:

> There's no reason for getting vouched to be difficult. The primary thing Vouch prevents is low-effort drive-by contributions. For my projects (even this one), you can get vouched by simply introducing yourself in an issue and describing how you'd like to contribute.

This just requires one more prompt for your prose/code generator:

"Computer, introduce yourself like a normal human in an issue and wait to be vouched before opening pull request."
xn
·5개월 전·discuss
If you don't think code generators are useful, that's fine.

I think code generators are useful, but that one of the trade-offs of using them is that it encourages people to anthropomorphize the software because they are also prose generators. I'm arguing that these two functions don't necessarily need to be bundled.
xn
·5개월 전·discuss
Your agency lets you choose the words you use.
xn
·5개월 전·discuss
Consider not anthropomorphizing software.

How about we stop calling things without agency agents?

Code generators are useful software. Perhaps we should unbundle them from prose generators.
xn
·5개월 전·discuss
A related, generalized idea: https://github.com/webhookdb/webhookdb
xn
·5개월 전·discuss
It could be. How did the control group do?
xn
·6개월 전·discuss
Then you know that it's going to take at least, say two weeks, one week for the first implementation and a week to finish it if it works.

On the high end, could it take more than 2 years? 1 year? 6 months? Stop when you are 80% confident that it won't take longer than some period.

So your estimate might be between two weeks and six months. Is that an acceptable estimate for the "buyer"? If not, is it worth expending effort to narrow the estimate?
xn
·6개월 전·discuss
This why you should use confidence intervals for estimates. Use a 80% confidence interval, for example. 10% of the time, you should come in under the best case estimate. 10% of the time, it should take longer than the worst case estimate.

How do you know if your estimate is good? Would you rather bet on your estimate or on hitting one of 8 numbers on a 10-number roulette wheel? If you prefer one of the bets, adjust your estimates. If you're indifferent between the bets, the estimates accurately reflect your beliefs.

(The roulette wheel is from the book, How to Measure Anything by Hubbard. Confidence interval estimates are from LiquidPlanner, https://web.archive.org/web/20120508001704/http://www.liquid...)
xn
·6개월 전·discuss
Is it going to take more than two hours?

Is it going to take more than two days?

Is it going to take more than two weeks?

Is it going to take more than two months?

Is it going to take more than two years?

If you can answer these questions, you can estimate using a confidence interval.

If the estimate is too wide, break it down into smaller chunks, and re-estimate.

If you can't break it down further, decide whether it's worth spending time to gather information needed to narrow the estimate or break it down. If not, scrap the project.
xn
·7개월 전·discuss
It's like having Michael Jordan with dementia on your team. You start out mesmerized by how many points he can score, and then you get incredibly frustrated that he forgets he has to dribble and shoot into the correct hoop.
xn
·7개월 전·discuss
If you bill hourly, $15 for an extra billable hour is a good deal.
xn
·7개월 전·discuss
There seems to be an obvious solution.

When I went to the DMV and couldn't pass the vision test without my glasses, they put on my driver's license an indication that I only passed with the accommodation of corrective lenses.
xn
·8개월 전·discuss
redo[1] with shell scripts has become my goto method of dealing with multi-step data problems. It makes it easy to review each step of data retrieval, clean-up, transformation, etc.

I use mlr, sqlite, rye, souffle, and goawk in the shell scripts, and visidata to interactively review the intermediate files.

1. https://redo.readthedocs.io/en/latest/
xn
·8개월 전·discuss
The airline that inspired at least one passenger to write a song about them: https://www.youtube.com/watch?v=A1SKldiiWm4
xn
·10개월 전·discuss
Junior developers don't yet have the intuition to tell the computer, "NO, NOT LIKE THAT!"
xn
·10개월 전·discuss
Hope they backed up the seed phrase for the Art Department before deleting it.