Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rtsao
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
rtsao
2y ago
I've heard of `isolatedDeclarations` in TS 5.5, but this post left me with more questions than answers because it conflates so many distinct things (TS 5.5, Deno, JSR). I'll try my best to break it down succinctly: 1) Historically
2.
▲
by
rtsao
3y ago
Yarn 2.0 was ambitious, but in hindsight, it probably would have been better to make regular node_modules the default rather than pushing PnP and zero installs (and alienating most users in the process). I think Yarn Berry with node_modules
3.
▲
by
rtsao
3y ago
The demonstrated software doesn't look too compelling (mostly floating 2D app windows), but I could see this becoming the ultimate learning/training tool. Interactive, step-by-step guides/instruction on how to do literally an
4.
▲
Use Apple TV Through a Tailscale Exit Node
(christopherlouvet.com)
3 points
by
rtsao
3y ago
|
1 comments
5.
▲
by
rtsao
3y ago
I recall many years ago Jonathan Hall (economist at Uber) describing a "traffic apocalypse" caused by empty self-driving cars flooding city streets. I think the notion was the operational cost of self-driving cars was so low tha
6.
▲
by
rtsao
4y ago
Automatic JSX runtime was added to esbuild in 0.14.51: https://github.com/evanw/esbuild/pull/2349
7.
▲
by
rtsao
5y ago
Your assumption is correct. Those docks are all based on the Goodway DBD1100 [1]. When I was researching which dock to purchase myself, I came across this comprehensive list [2] of Thunderbolt docks which was super informative. [1] http:&#
8.
▲
by
rtsao
5y ago
Uber | Senior Software Engineer | Web Platform | San Francisco Help develop the foundation for all web applications at Uber! Our team builds and maintains the developer tools, infrastructure, and frameworks that underpin the broad web app e
9.
▲
by
rtsao
5y ago
I think the fundamental issue plaguing virtually all forms of automatic release note generation boils down to the mismatch of audience. Commit messages and even pull request titles are tailored to be read and understood by other maintainers
10.
▲
by
rtsao
6y ago
There's also a substantial writeup on the architecture of esbuild in the repo [1]. It is definitely worth a read if you are interested in some of the inner workings of esbuild or are curious how various bundler features are implemented
11.
▲
by
rtsao
6y ago
It's great to see more tools adopting tree-sitter [1]. Having a (fast) single tool that can accurately parse most commonly used programming languages is incredibly useful, but it requires the maintenance of dozens of grammars, which is
12.
▲
My GitHub Feature Wishlist for 2020
(gist.github.com)
1 points
by
rtsao
6y ago
|
0 comments
13.
▲
by
rtsao
7y ago
I hope this doesn't alter the current GitHub npm package registry policy where all packages must be published under a scope corresponding to name of the owning GitHub user/org. The resulting increased transparency and clarity of
14.
▲
by
rtsao
7y ago
Did you evaluate TOML and if so, what were the drawbacks you identified for the workflow use case?
15.
▲
GitHub Package Registry
(github.com)
1181 points
by
rtsao
7y ago
|
374 comments
16.
▲
Reltron: a GUI for exploring relational databases
(kevinlynagh.com)
70 points
by
rtsao
8y ago
|
8 comments
17.
▲
by
rtsao
8y ago
https://www.deconstructconf.com/2017/brian-marick-patterns-f... is an interesting talk on this topic, which is where I learned about Seeing Like a State . I've just finished reading the book and found the paralle
18.
▲
by
rtsao
8y ago
The Fusion plugin system is rather powerful and enables colocation of related/coupled code that would normally be spread across several places. For example, the Styletron plugin for Fusion (an integration for a CSS-in-JS implementation
19.
▲
by
rtsao
10y ago
For folks who really care about performance, the easiest win is just switching to Inferno or Preact. You can pretty much leave your React code unmodified and get massive performance gains.
20.
▲
by
rtsao
10y ago
For fun mostly. It's a passion project I did in my free time. I wanted to dogfood ideas, experiment, and learn.
21.
▲
by
rtsao
10y ago
Yeah, media queries and pseudo selectors (such as :hover) are supported. These tend to be really important for critical CSS. Descendent combinators are possible but to a greater degree involve tradeoffs. I posted my thoughts on this on this
22.
▲
by
rtsao
10y ago
Thank you! It was built with Styletron actually (you can inspect the source). It was also built with the excellent Inferno.js [1] library to render static pages while also having a super fast full client-side app, kinda like what Gatsby.js
23.
▲
by
rtsao
10y ago
You're absolutely right that you can do it with pure CSS. But doing a pure CSS solution usually involves some CSS methodology that you need to apply extremely strictly and consistently, which honestly can be a challenge, especially in
24.
▲
by
rtsao
10y ago
Someone submitted a proposal on how to support descendent/child combinators. It's certainly possible, but I wrote a response on why it would would potentially involve tradeoffs: https://github.com/rtsao/stylet
25.
▲
by
rtsao
10y ago
I actually wrote a separate benchmark suite [1] that uses Paul Irish's pwmetrics [2], so using real Chrome to check render performance. From those numbers, Styletron performed really well in terms of time to first paint and time to fir
26.
▲
by
rtsao
10y ago
I think the argument is that separation of UI components is a more true "separation of concerns" than separating CSS, JS, and HTML. The implementation of a UI widget is ultimately a combination of CSS, HTML, and JS which are coupl
27.
▲
Show HN: Styletron – Virtual CSS
(ryantsao.com)
109 points
by
rtsao
10y ago
|
32 comments
28.
▲
by
rtsao
10y ago
Lerna [1] is very cool. I was firmly against monorepos, but the ability to easily manage and coordinate between individually versioned packages in a single repo is awesome. You get the benefits of a monorepo but also the benefits of small m
29.
▲
by
rtsao
11y ago
CSJS author here, thanks for the plug! I think CSJS fairly unique in comparison to the numerous alternatives in that it: 1) Can be used without any tooling whatsoever. It's just plain JS. 2) Doesn't reinvent the wheel. You can use
30.
▲
Show HN: CSJS – modular, scoped CSS with ES6
(github.com)
8 points
by
rtsao
11y ago
|
1 comments
More ›