Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mikojan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
181.
▲
by
mikojan
4y ago
This is your brain on Redux. Context does not trigger the re-rendering of all children. Updating state does. And you prevent that propagating effect by wrapping direct descendants in React.memo().
182.
▲
by
mikojan
4y ago
> Does it really? It doesn't. Updating state in a component triggers the re-rendering of all its children. This is what they are referring to. You can stop that propagating effect as usual by wrapping direct descendants in React.mem
183.
▲
by
mikojan
4y ago
This is not my experience at all. I had senior developers, who have worked with RTK before, misusing simple features such as the "createSlice" API. By contrast, I have never once sat down with a junior to walk through React's
184.
▲
by
mikojan
4y ago
This is amazing! Thank you for bringing it up! I viciously hate that part of writing an article where I am editing the title text again and again to make it look good in the contexts of my websites.
185.
▲
by
mikojan
4y ago
> Previously, we did a potato diet study and found that on average people lost 10.6 lbs over 28 days of potato diet, even though most of them took multiple cheat days. This was a pretty strong effect, so naturally we started wondering, w
186.
▲
by
mikojan
4y ago
Go, command line: $ gorename -from '"my-package".myFunc' -to myRenamedFunc
187.
▲
by
mikojan
4y ago
There is no free speech absolutism. It is public record ("no freedom of reach"): Twitter is drowning out negative comments. It is shielding the public from criticisms of established enterprise, press, government. Freedom of speech
188.
▲
by
mikojan
4y ago
What's the advantage over using plocate/rg?
189.
▲
by
mikojan
4y ago
s/Microsoft/American/ Privacy Shield was canned years ago but your company is most likely moving data to an American "Anti-Virus" provider under this framework.
190.
▲
by
mikojan
4y ago
The "law of diminishing marginal utility" asserts that marginal utility is always positive. More is always better. In any case, it is a bizarre notion with perhaps limited applicability in the real world.
191.
▲
by
mikojan
4y ago
Everybody preparing their own meal requires more energy. Everybody heating their own workplace requires more energy. In general: Anything you do alone is more resource intensive than a comparable group activity.
192.
▲
by
mikojan
4y ago
Cross your fingers!
193.
▲
by
mikojan
4y ago
This looks bad. Haskell is much better: [ item1 , item2 , item3 , item4 ]
194.
▲
by
mikojan
4y ago
Nice! They've introduced the "aria-*"-variants I had previously been adding via their plugin API. Real cool I can style based on whether an element is being pressed in a cross browser compatible way without ever touching the
195.
▲
by
mikojan
4y ago
The problems described in the "Routing" section are trivially automated. You do not even need a separate data loading library because react-router-dom ships one. The problems described in the "Styles" section would have
196.
▲
by
mikojan
4y ago
Google has text ads
197.
▲
by
mikojan
4y ago
This item of Musk v. Twitter gossip finally made me empathise with all the people complaining about the “…in Rust” links
198.
▲
by
mikojan
4y ago
Except when the state is subsidizing heterosexual lifestyles to wage a culture war on its population
199.
▲
by
mikojan
4y ago
I'm curious: Why use webpack with esbuild in a "most recent frontend project"? Not so long ago at $DAYJOB we even migrated a big legacy project from webpack to esbuild in no time.
200.
▲
by
mikojan
4y ago
Absolutely haram
201.
▲
by
mikojan
4y ago
My last three notebooks have been Lenovo Thinkpads. I am never buying a Lenovo product again.
202.
▲
by
mikojan
4y ago
I absolutely loathe npm ci when checking out another branch. It is slow. Anybody know how bun (or any other package manager) stacks up to it?
203.
▲
by
mikojan
4y ago
It is not "Spanish" anarchism. It is not "anarcho-socialism". It is anarchism everywhere in the world except the United States where an extreme form of propertarianism is being branded as libertarian.
204.
▲
by
mikojan
4y ago
Yea... covers... sure... https://www.youtube.com/watch?v=RVKTx9YlKls Edit: Interview in the first 50 seconds. The song comes after that.
205.
▲
by
mikojan
4y ago
If the same copyright laws that apply to the music of Bob Dylan now, had applied to all the music Bob Dylan ripped off there would be no Bob Dylan. Copyright is a bane to human culture.
206.
▲
by
mikojan
4y ago
It's not OO tutorials, it's OO.
207.
▲
by
mikojan
4y ago
Maybe besides the point but this is falling back behind modern HTML[0] in that it is reintroducing flashes of blank pages. It's not a nice experience. Remix (and, most likely, Fresh as well) prevents this. [0]: https://devel
208.
▲
by
mikojan
4y ago
If the penalty for a crime is a fine, then that law only exists for the lower class
209.
▲
by
mikojan
4y ago
I've successfully replaced tokio with the lower-level mio in one such case. After all threads and async serve different purposes: Threads when you're computing a lot, async when you're waiting a lot, no?
210.
▲
by
mikojan
4y ago
Pardon my humor I didn't realize you were an actual Neo-Nazi
More ›