Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mbivert
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
mbivert
2y ago
Thanks in particular for the second example: it's a precise idea which can be studied (the former still is too abstract). > managing the state manually would have been a nightmare Now, of course, the annoying follow-up question woul
92.
▲
by
mbivert
2y ago
> While there's no doubt that React and virtual DOM offer advantages, it's essential to clearly demonstrate where and how these benefits manifest in real-world applications. Definitely; it's a struggle to find precise, c
93.
▲
by
mbivert
2y ago
(honest question, not trying to be snarky) Do you have one (many would be great) use cases where the practical gain of the virtual DOM solutions have a genuine impact? I'm asking because, many of React (or friends) introductory materia
94.
▲
by
mbivert
2y ago
> and this is why ancient philosophers, many of whom didn't really explore nuance Couldn't we say that most of Plato's is about progressively refining from a rough starting point for example? Or, consider even ITT how inte
95.
▲
by
mbivert
2y ago
Well, > This is best achieved through study and habit. Probably the most efficient way is to study "good" authors, and to emulate "good" models of virtue. The second section of OP already gives some practical tips: &g
96.
▲
by
mbivert
2y ago
Indeed: how to avoid needless conflicts is the key. Having a strong offensive is temporary, and potentially difficult to maintain in the long run. The use of AI/robots in war is probably not a good way to ingrain into people how to avo
97.
▲
by
mbivert
2y ago
A crank who provides hundreds of hours of fairly decent mathematical education content free of charge; it's not because he harbours unusual/fringe opinions that he's altogether worthless…
98.
▲
by
mbivert
2y ago
> You're conflating a few things here. It's likely: I purposefully stayed loose about the "infinite processes" to avoid going awry. I do however remembered him justifying his views as such though: he's not going
99.
▲
by
mbivert
2y ago
> I'd be interested in any recommendations for math history tomes like that. Not a book, but FWIW, I've enjoyed a few videos from Norman Wildberger's "Math History" playlist[0]. Interestingly, he has a unconventi
100.
▲
by
mbivert
2y ago
IME (used Perl daily at work for years) not much. If you need something more robust or sophisticated than sh(1)& cie, it's best to head up to a statically typed language instead -- I tend to favor go, in part because of the cross-c
101.
▲
by
mbivert
2y ago
Fun, challenge, learning, curiosity, etc. I would personally never spend that much time playing a video game nor writing one, but that kind of passionate behavior is commonly visible in the video game community (e.g. the recent tetris rec
102.
▲
by
mbivert
2y ago
Well, for example, one could not systematically test everything in the first pass but a few things, and then come back later to write more tests. The first draft can, should even, be sketchy: it doesn't have to work all the way throu
103.
▲
by
mbivert
2y ago
> A lot of good science can be done without much philosophy. > But you can't have good philosophy if you intentionally avoid science. As always, it all depends on the definition of "philosophy" and "science".
104.
▲
by
mbivert
2y ago
> How did we come to the point where we relegated philosophy to be the study of only the things not connected with reality? If it deals with reality, then it's in the realm of science; science being the superior form to tackle such
105.
▲
by
mbivert
2y ago
Nor does it include the lack of physical exercise induced by cars, the time spent driving, oil related conflicts, etc. It's surprising how little people know about how cars came to be so prominent: https://web.archive.org&#
106.
▲
by
mbivert
2y ago
Not strictly equivalent, but shorter (and should work with multiple shells): $ cd() { builtin cd $* && ls; } $ cd / bin boot cdrom dev etc home lib lib64 [...]
107.
▲
by
mbivert
2y ago
> It's just a lot of time and resources you're putting in here today in favor of the racist names, for someone who doesn't care particularly I'm not "in favor of racist names", that's a disgraceful shor
108.
▲
by
mbivert
2y ago
> For an average post or article, you don’t need node handles It goes without saying... > At the same time, implementing a full-blown app imperatively directly with createElement would result in an unmaintainable mess I disagree, and
109.
▲
by
mbivert
2y ago
> In fact, declarative approach does also allow to connect handlers with ease (onclick and similar attributes are very much a thing). Yup, but it's more limited: consider the modal: you can't — without relying on attributes, or
110.
▲
by
mbivert
2y ago
I'd go a bit deeper: as we developed, in particular with the advent of the Internet, we went from scarcity of information to spectacular opulence. This demands different studying habits that what we had 30 years ago or so. For example,
111.
▲
by
mbivert
2y ago
To perform any action on the DOM, you need access to the nodes: registering handlers, manually triggering events, setting/getting values, rebuilding them, etc. I'd encourage you to toy with a concrete example, in case you (or I)
112.
▲
by
mbivert
2y ago
It's a common issues with self-learners, mathematics or not: there is no perfect course out there, and switching from courses to courses can be wasteful. In my experience, focusing on a single, good-enough course (when in doubt, go for
113.
▲
by
mbivert
2y ago
> Why do you assume there is a requirement to access nodes directly, and why would that be a typical requirement? I haven't made a case for it to be a requirement, but rather for direct access to be 1) trivial to achieve 2) more co
114.
▲
by
mbivert
2y ago
> I frankly cannot even guess what you thought that was adding to this conversation. That what is a slur to some is absolutely benign to others (what else in this context). > Everyone is imperfect, but there's nothing sacrosanct
115.
▲
by
mbivert
2y ago
It's actually not limited to racial slurs: > Yellow-flowered shrubs called Hibbertia, after anti-abolitionist George Hibbert, are one plant group that some botanists would like to rename. It's so easy to be against slavery when
116.
▲
by
mbivert
2y ago
> This way involves a lot more mental overhead any time you need to define a structure for a page, How so? The "imperative logic" of the previous example is parametrized by a few node pointers. Assuming I understand your approa
117.
▲
by
mbivert
2y ago
Even in France, there's a trial period during which the employee can leave, or be fired freely; in most cases, 2/3 months should be long enough to detect a bad hire. Assuming there's enough time & resources to manage the
118.
▲
by
mbivert
2y ago
Perhaps this can help to fix the ideas: here's how you could create the HTML by manipulating the DOM (the code indentation mimics the HTML indentation): let p = document.createElement("span"); let b = document.cre
119.
▲
by
mbivert
2y ago
> It prevents reconciliation of self and denies us the chance to do better. It's also a way to forgive yourself, and others, more easily. Don't get me wrong, I think it's fantastic to take responsibility, and I believe soc
120.
▲
by
mbivert
2y ago
> If I were a world dictator, one of my first orders was to lock C developers in a room with only python for few months. Or ruby, in severe cases. I would additionally do the exact opposite: lock Python & Ruby developers in a room
More ›