jacobr

Joined 15 years ago

Karma
5,743
Submissions
676
Member since
Mar 2
specialization is for insects

[email protected] https://github.com/jacobrask http://twitter.com/jacobrask

Gothenburg, Sweden.

View on Hacker News

Recent submissions

Comment · 1 year ago
Could the next-gen version control system just store ASTs? Does this already exist?

Every user gets their own preferred formatting, and linters and tools could operate on already-parsed trees

Comment · 2 years ago
You can even benefit from the default messages if you want that, grabbing `input.validationMessage` and rendering it as you wish.
Comment · 2 years ago
Any article about rebase is incomplete without the mention of `git commit --fixup fb2f677`. When committing you usually already know which commit you’re “fixing” so you specify that.

Then you run `git rebase -i --autosquash origin/main` instead and the commits are already in the right order.

Comment · 2 years ago
```

const $ = document.querySelector.bind(document);

$('.box').hidden = true;

$('.box').hidden = false;

```

Comment · 2 years ago
"The concrete description of what is going on here is spread atom-thin across several websites, all of which expect you to know the terminology. Each of these websites provides you with a tiny piece of the puzzle and you are expected to combine it together on your own."

Oh how I unironically love these types of quests.

Comment · 2 years ago
There's a shift though, just the last couple of years. Today all browsers support native modals with the dialog element, accordions with details/summary, everything but Firefox supports popovers (dropdowns, tooltips, menus, etc) in plain HTML.

I'd honestly love to be a beginner again learning modern HTML and CSS today, it's not bad at all.

Comment · 3 years ago
It’s built in to VS Code, see editor.foldingImportsByDefault.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton