Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jacobr
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
From building websites to playing Bartók, Pope Leo XIV is reimagining the papacy
(thelettersfromleo.com)
1 points
by
jacobr
10mo ago
|
0 comments
2.
▲
by
jacobr
1y 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
3.
▲
Add PUT, PATCH, and DELETE to form method attribute
(github.com)
4 points
by
jacobr
1y ago
|
1 comments
4.
▲
by
jacobr
2y ago
You can even benefit from the default messages if you want that, grabbing `input.validationMessage` and rendering it as you wish.
5.
▲
Evidence of dark oxygen production at the abyssal seafloor
(nature.com)
2 points
by
jacobr
2y ago
|
0 comments
6.
▲
How to Downsize a Transport Network: The Chinese Wheelbarrow
(solar.lowtechmagazine.com)
3 points
by
jacobr
2y ago
|
0 comments
7.
▲
Disappearing Polymorph
(en.wikipedia.org)
2 points
by
jacobr
2y ago
|
0 comments
8.
▲
by
jacobr
2y 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
9.
▲
by
jacobr
3y ago
``` const $ = document.querySelector.bind(document); $('.box').hidden = true; $('.box').hidden = false; ```
10.
▲
by
jacobr
3y 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 t
11.
▲
by
jacobr
3y 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) i
12.
▲
Styling with Classy CSS (2006)
(thedailywtf.com)
123 points
by
jacobr
3y ago
|
67 comments
13.
▲
by
jacobr
3y ago
It’s built in to VS Code, see editor.foldingImportsByDefault.
14.
▲
Harmony: Accessible UI Color Palette
(figma.com)
2 points
by
jacobr
3y ago
|
0 comments
15.
▲
by
jacobr
3y ago
Yes, the biggest drawback of Tailwind is React. Or specifically, relying on components as the mechanism for style composition.
16.
▲
Death of Garry Hoy
(en.wikipedia.org)
1 points
by
jacobr
3y ago
|
0 comments
17.
▲
by
jacobr
3y ago
External css files are render blocking, meaning any content after a <link rel=stylesheet> will not be visible until the css has been loaded.
18.
▲
by
jacobr
3y ago
Looks a bit like tire inserts - basically foam rings you put inside the tire, common on mountain bikes. I just installed that on my bike, which not only protects my rims but also lets me ride home from the trail with a flat tire. https:&#x
19.
▲
by
jacobr
4y ago
Because it’s easier to just not use lodash.
20.
▲
React Is Holding Me Hostage – A love and hate relationship
(emnudge.dev)
2 points
by
jacobr
4y ago
|
0 comments
21.
▲
The case for frameworks
(seldo.com)
154 points
by
jacobr
4y ago
|
88 comments
22.
▲
by
jacobr
4y ago
Unfortunately none of that works with the feature in TFA because it’s not supported by Declarative Shadow DOM.
23.
▲
by
jacobr
4y ago
I hear you. I think Shadow DOM is very useful for a handful of roots on your page, encapsulating third-party widgets or DOM-heavy components like a nested navigation. Custom Elements on the other hand are useful for attaching behavior to HT
24.
▲
by
jacobr
4y ago
For example, encapsulating a third party widget, cookie banner or your main navigation. That way any CSS added inside the shadow DOM only affects those elements - you can safely write selectors like `h1` or `button` and they’ll only match w
25.
▲
by
jacobr
4y ago
Almost all examples of Shadow DOM uses Custom Elements, but that’s not required. I think this conflation harms adoption of Shadow DOM. As an example of what you can use the Shadow DOM for - it works fine as the node to render a React app&#x
26.
▲
Therac-25
(en.wikipedia.org)
7 points
by
jacobr
4y ago
|
0 comments
27.
▲
In 1945, a Japanese Balloon Bomb Killed Six Americans in Oregon (2019)
(smithsonianmag.com)
4 points
by
jacobr
4y ago
|
1 comments
28.
▲
by
jacobr
4y ago
Isn't a shared BFF an oxymoron, considering that you typically build a BFF specifically for one client and its needs? Maybe you just have a backend :)
29.
▲
by
jacobr
4y ago
SSR was mentioned though.
30.
▲
by
jacobr
4y ago
Great post. It's similar to CUBE, https://cube.fyi and the creator of CUBE even wrote about using "Tailwind as the U in CUBE"
More ›