Better HN
topnewbestaskshowjobs
Log inSign up

matijs

39 karma · joined Apr 10, 2011 (15y ago) · 26 submissions

Submissions

comment 2mo ago · link · parent

Ah fair enough, I've got commit.verbose set to true for that.

comment 2mo ago · link · parent

Ban `git add .` for sure, but what’s so bad about `git commit -a`? It only adds/removes what was already under version control.

comment 2mo ago · link · parent

That would be `git add -u/--update`

comment 7mo ago · link · parent

pnpm since v10.19.0 allows excluding specific dependencies from minReleaseAge by version.

comment 1y ago · link · parent

Could it have been a Dependabot security update? These are different from normal Dependabot updates and do not require `.github/dependabot.yml`.

comment 1y ago · link · parent

Absolutely matches your experience!

Also curious about the delightful type generation Astro uses.

comment 2y ago · link · parent

`event.detail` [1] is 0 for keyboard “clicks” and 1 for pointer clicks.

1: https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/det...

comment 2y ago · link · parent

I have this set as an alias:

difft = -c diff.external=difft diff

I may add a similar alias for delta

comment 2y ago · link · parent

I’ve been planning a prodcast for a while now.

comment 2y ago · link · parent

Oh! Thanks for clarifying!

comment 2y ago · link · parent

! Is for external commands. You can drop the !git from that alias.

comment 3y ago · link · parent

> because the global excludes file needs a config setting for it to even be considered

Using `~/.config/git/ignore` requires no extra setting.

comment 4y ago · link · parent

Out of curiosity, what editor do you use and how do you make sure 4. happens when for example using ‘save all’?

comment 4y ago · link · parent

GitHub does the same. There is a compare button that appears after a force (with-lease) push of a rebased branch.

comment 4y ago · link · parent

And `ignoreboth` to combine the two.

comment 4y ago · link · parent

Those files (and components) still need sensible names (that would make very nice class names).

comment 4y ago · link · parent

You’re not wrong. Once it’s in there, it’s not easy to remove/replace again.

comment 5y ago · link · parent

> Tap to click should _always_ be turned off

It’s off by default, so someone at Apple seems to agree :)

It’s the first thing I usually turn on. The next being “dragging (without drag lock)” which has been hiding in Accessibility for a while now.

comment 5y ago · link · parent

As far as I know, edge is the default mode [1], no need to set it explicitly, especially not for sites that target modern browsers.

[1]: https://docs.microsoft.com/en-us/archive/blogs/ie/living-on-...

comment 5y ago · link · parent

You both made me laugh. Thanks :)

comment 5y ago · link · parent

Remove your phone number from your account.

comment 6y ago · link · parent

Eloquent JavaScript [1] by Marijn Haverbeke

[1] https://eloquentjavascript.net/

comment 6y ago · link · parent

There is a pretty cool bet [1] on longbets.org about exactly this.

[1] http://longbets.org/601/

comment 6y ago · link · parent

TechCrunch apparently force a 307 Temporary Redirect to some advertising.com domain first :/

25.

Food Irradiation(en.wikipedia.org ↗)

1 points · by matijs · 6y ago · discuss

comment 7y ago · link · parent

⌘-] and ⌘-[ to navigate between items like conversations in messages or Slack. Seem to be a fairly de facto shortcuts.