Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mikojan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
mikojan
2y ago
Landfills certainly require more power to operate than that gas scheme can provide later. It all sounds and reads like a fairytale but none of this is sustainable.
92.
▲
by
mikojan
2y ago
> I don't want my web browser or video player to be resized because I open a new program You use tiling only if you intend to use tiling. Else you switch to another workspace or whatever. This is not so different from a normal deskt
93.
▲
by
mikojan
2y ago
It is important to be sufficiently fast at editing or else you will not revise what you wrote. I hear people complaining a lot: "This is tedious. That is tedious." They have no control over their development environments. They wri
94.
▲
by
mikojan
2y ago
Foobar2000 was and still is the only software I missed since uninstalling Windows as a teenager (rhythmbox is pretty good though).
95.
▲
by
mikojan
2y ago
Why would it be twice the code? Depending on what it is exactly that you want, you might just add 4 lines of creating a context, passing a value to a provider, checking the value of that context. And in return you get a most readable descri
96.
▲
by
mikojan
2y ago
It is reinventing JSX in the sense that this JSON-based description of the user interface... const menu = [ {_type: "nav_link", to: "/a", displayName: "A"}, {_type: "nav_link", to: &q
97.
▲
by
mikojan
2y ago
JSX is a language for describing user interfaces. The author argues against inventing your own JSON- or JavaScript-based languages for describing user interfaces and also feeding all of that back into JSX. This JSON-based description...
98.
▲
by
mikojan
2y ago
Turn it into a component then. That is how you abstract in JSX.
99.
▲
by
mikojan
2y ago
> What if you want to render your navbar differently depending on the context? Uhm maybe ...use ...context?
100.
▲
by
mikojan
2y ago
It is reinventing JSX in that you are really describing components in JSON. And of course you are then feeding back those descriptions into needlessly abstract JSX but the primal error was not realizing you are describing components in a be
101.
▲
by
mikojan
2y ago
This is not an issue. It is a stylistic question ("Do I express this in JSX, or in JSON?"). Only, this question has already been answered for you.
102.
▲
by
mikojan
2y ago
Maybe so but you are not writing a general purpose UI library. You are writing a specific purpose UI component. You do not need to handle everybody's use-cases and edge-cases. Maybe you are justified in adding on to the complexity. Onl
103.
▲
by
mikojan
2y ago
The activity bar is the worst. Luckily you can move it and make it smaller. "workbench.activityBar.location": "top", Just in case might as well try these.. "editor.fontFamily": "'Monaspace
104.
▲
by
mikojan
2y ago
> We envision Zed as a free-to-use editor, supplemented by subscription-based, optional network features, such as: > > Channels and calls > Chat > Channel notes > > We plan to allow offer our
105.
▲
by
mikojan
2y ago
> Esbuild [...] works well only if your code and dependencies use ESM I cannot attest to that. We are using Esbuild plus CJS at $DAYJOB no problem. Why would that be an issue?
106.
▲
by
mikojan
2y ago
A bundler does not necessarily produce a single file. I have not tried Mako. But from the docs it appears to do code splitting just like the others.
107.
▲
by
mikojan
2y ago
You need to use some kind of automation to fingerprint your files for optimal caching. Where applicable there simply does not exist a better caching strategy than fingerprint plus Cache-Control: immutable
108.
▲
by
mikojan
2y ago
Rendering "too many" components is an issue with most popular React frameworks. But it is also an issue w.r.t. usability. Group elements and use progressive disclosure instead.
109.
▲
by
mikojan
2y ago
Just use WhatsApp then…
110.
▲
by
mikojan
3y ago
I absolutely loved Wild at Heart! He will be missed.
111.
▲
by
mikojan
3y ago
Very thoughtful
112.
▲
by
mikojan
3y ago
Obligatory critique of the division of labour from that same book: > In the progress of the division of labour, the employment of the far greater part of those who live by labour, that is, of the great body of people, comes to be confine
113.
▲
by
mikojan
3y ago
> I appreciate having instant feedback if I've mistyped the number of closing quotes, brackets, or parenthesis. This is a syntax error and ought to be highlighted with a red squiggly line or something. The only essential syntax high
114.
▲
by
mikojan
3y ago
Focus and focus management working as expected
115.
▲
by
mikojan
3y ago
I took me forever to find out how to apply hue shift even though I was actively looking for it.
116.
▲
by
mikojan
3y ago
Does not work for me.
117.
▲
by
mikojan
3y ago
Hi! It looks like you might have come from Hacker News. We're going to be blunt: Hacker News is increasingly a haven for alt-right trolls and hateful abusers, and the administrators have demonstrated that they have no interest in impro
118.
▲
by
mikojan
3y ago
On its own this would be a remarkably authoritarian position. But in light of the allegations I am just puzzled by this statement. Is there a line you would draw somewhere? Anywhere?
119.
▲
by
mikojan
3y ago
Israel controls Gaza's borders. Israel controls the sea. Israel controls Gaza's airspace. Israel controls the products entering and exiting Gaza. Israel controls even more areas than this. The occupation is ongoing. And it needs t
120.
▲
by
mikojan
3y ago
> I understand Israel left Gaza in 2005, so I'm not sure what occupation is being referred to here. Israel controls Gaza's borders. Israel controls the sea. Israel controls Gaza's airspace. Israel controls the products ent
More ›