News for hackers. Stuff that matters.

DTrejo

30% of Americans have reflux, which is associated with obstructive sleep apnea.

Check out the papers on Inspiratory Muscle Training (IMT) and bridge swallowing.

Nice extension!

1. It'd save a lot of time if one could just click a Markdown PR description and start editing it, without entering edit mode first.

2. Thanks to the following prompt, I barely write PR descriptions these days.

> Run `gh pr view` then `gh pr edit` to fill out the PR description. Use my words verbatim as much as possible. Be brief. Use tasteful markdown formatting.

Sure - imagine my PR adds one new test which test one new function.

Starting from the test, allow me to step through the program execution, just like a debugger, to observe variables, surrounding code, and the complete file.

If you read only the covered lines of code in a linear way, you'd miss the refactoring opportunities because you aren't looking at the rest of the file.

Very glad you're working on this! Here is my wish list as a code reviewer:

1. Allow me to step through the code execution paths that have been modified in the pull request, based on the tests that have been modified.

2. Allow me to see the data being handled in variables as I look through the code.

3. Allow me to see code coverage of each part of the code.

4. Show me the full file as I am navigating through the program execution so that I can feel the level of abstraction and notice nearby repetition or code that would benefit from being cleaned up.

Full article: https://dtrejo.com/code-reviews-sad

If you'd like some talking points to help you start this conversation with your HR team, here's an article I wrote:

https://dtrejo.com/why-share-salary

Re:Wildfires in Big Basin Redwoods State Park on Friday August 21, 2020 @12:07AM (#24231870)
We need some goats to eat all the fuel while it's still growing. Herbivores will also trample dead plants to the ground so grass can grow. Apparently there's too much work for the herders, based on articles published after the last round of fires.

Further reading:

https://www.usatoday.com/story/news/nation/2019/03/30/goats-...

https://www.google.com/search?q=california+goat+herders&oq=c...

https://www.ted.com/talks/bobby_gill_it_s_not_the_cow_it_s_t...

https://www.youtube.com/watch?v=g9yiclBCxMo

I hope your K formulation also has K2, which seems like the more important and bioavailable one.
Surgical tape for sensitive skin works pretty well for this as long as you get a good seal over your mouth.
Re:Show HN: Avoid editing while writing your first draft on Monday November 11, 2019 @12:33PM (#21506735)
Cool! Another easy way to do this is to close your eyes while you write.

Feature idea: prevent you from leaving the page or doing anything else on your laptop for the time period, that way you can’t research anything.

More tips: https://dtrejo.com/how-to-write-consistently-painlessly-and-...

Stillbourne, you seem to have a lot of trust in science funded by chemical companies. Remember how tobacco companies lied about the health impact of cigarettes?
Re:Carbon Removal Technologies on Tuesday October 23, 2018 @09:45PM (#18289036)
Salatin’s mob grazing creates soil.

It is cheaper to raise them this way because you don’t need to buy corn feed.

The cows digest grass well. They do not digest corn well, which means corn fed cows produce methane and get sick, and don’t build the soil (sequestering carbon).

Definitely worth watching some YouTube videos and reading about it, it’s pretty fun and interesting.

Re:Apple scientists disclose self-driving car research on Wednesday November 22, 2017 @12:19PM (#15758503)
Stop it already. How much do you want to kill someone?
Re:Show HN: Server.js – A modern Express alternative on Saturday November 04, 2017 @07:14PM (#15627337)
it's very interesting watching php composer developers reimplement the npm ecosystem ;)
You're having trouble creating/contributing back because you're not sure what other people need from you (when you find them, it'll be like someone opened your faucet for creativity). Try doing a sales safari※ for an audience you want to help and see what happens.

Find people with expensive problems† and help them solve those problems with your words, a software product, or consulting.

※ https://stackingthebricks.com

† https://expensiveproblem.com

Re:How Etsy Ships Apps on Friday May 19, 2017 @08:50PM (#14380400)
Super interesting article. With a system like this you can also get great metrics for product health / tech debt. If you were also looking at key growth metrics for the apps, you'd be able to see which releases improved them, and give credit (in the cases where it makes sense).

Metrics related, here's a book review of Moneyball I just wrote: https://dtrejo.com/moneyball-book-review-and-measuring-reven...

Re:Launchpad: JSFiddle for GraphQL servers on Thursday May 18, 2017 @02:25PM (#14369725)
Awesome–it's fast and I like the autocomplete and the auto-npm package download.

I might be hooking graphql/apollo up to some strange data sources like CSVs to help import my data in the right shape, so this and the examples are going to be very handy. Thanks for making this!

Re:The tragedy of 100% code coverage (2016) on Monday May 08, 2017 @11:35PM (#14297555)
Has anyone seen a fuzzer that creates variants based on a test suite with 100% coverage? Hmm... the fuzzer still wouldn't necessarily know how to create the correct invariants. #lazyweb
I can imagine they're also investigating this because they're bad at hiring hidden/under-valued people for normal positions.

Maybe they're also discovering they get the best signal from actually working together on real projects.

Finance people regularly get paid $400k+ as new grads. Well done dharma1/showmethemoney – next time ask for 500k!
Re:Hiring without whiteboards on Wednesday March 15, 2017 @02:21PM (#13878454)
Interesting! This comment gives even more reasons: https://news.ycombinator.com/item?id=13785405
Re:Show HN: fman – file manager for programmers on Thursday March 02, 2017 @04:13PM (#13778270)
I think the "open source promise" link on the homepage made me think it was already OSS. As you know, people on the internet can't be depended upon to read :)
Re:Show HN: fman – file manager for programmers on Thursday March 02, 2017 @04:06PM (#13778217)
I love it. 1) you're charging 2) it's OSS-ish 3) and you seem to have a business model that'll work long-term. Don't listen to me because I'm not a paying client, but keep up the good work!

Another idea for how to charge people: "enterprisey" usage, e.g. 2000+ files in one folder or anything that normal file managers choke on.

Re:Show HN: PumpkinDB, an event sourcing database engine on Sunday February 26, 2017 @06:17PM (#13740593)
This is going to make for some awesome release notes and new feature release marketing. Very well done @yrashk.
You'll notice that many companies write an article for each new release with some feature front-and-center, then they share the article around and it's like they're launching (again). An example of people using their releases to drive signups. That seems like the main business outcome of telling people about a new feature/release.
Re:Why I Don’t Talk to Google Recruiters on Tuesday February 21, 2017 @01:29PM (#13698029)
While 50% reply rate from engineers is possible with the right targeting/email†...

I agree with you–sourcing is not worth it. Attracting people is much better.

†have made this happen with multiple clients

Re:Ask HN: Coding notes – how do you do them? on Thursday February 02, 2017 @09:09AM (#13550552)
I love http://notational.net/ and have been using it for years and written >380,000 words. Make sure you 1) set a bring-to-front hotkey (life-changing) 2) store as rtf files to e.g. dropbox. There's also nvalt but I've never had cause to use it.
Re:Show HN: ColorMe on Friday January 06, 2017 @03:46AM (#13334815)
a bunch of useful color links I've accumulated over the years:

tools

* https://dtrejo.com/colorslice/ - I made this b/c i wanted multi-color picking and good schemes from images and husl and multiple editable color formats

* http://speculo.co/ - preview colors on layouts

* http://tools.medialab.sciences-po.fr/iwanthue/ - colors for data scientists

* https://color.hailpixel.com/ - fun color picker

* http://tristen.ca/hcl-picker/#/hlc/6/1/20313E/EFEE68 - hcl picker

formats

* http://www.hsluv.org/ - human friendly hsl

a11y

* https://www.randoma11y.com/#/?_k=nm2tko - check color a11y

* https://snook.ca/technical/colour_contrast/colour.html#fg=33... - contrast checker

Hi Soheil, where can I find your pricing? Cheers!
Great work @lazyjeff, fellow brown alum here, your other projects* look awesome too, thanks for sharing :)

* http://hci.cs.brown.edu/

Older »