Timeline:
- 2021-08-02 arrested in the USA for extradiction
- 2023-11-06 Stepped down from monero Core Team
React function components do produce shorter code. But they are also impossible to understand without knowing what is their corresponding class component.
Hooks were introduced much after classes, and just require less code, so everyone is using them now instead of classes.
@cirosantilli/_file/react/react/ref-click-counter.html by Ciro Santilli 35 Updated 2024-12-15 +Created 1970-01-01
Dummy example of using a React
ref
This example is useless and to the end user seems functionally equivalent to react/hello.html.It does however serve as a good example of what react does that is useful: it provides a "clear" separation between state and render code (which becomes once again much less clear in React function components.
Notably, this example is insane because at:we are extracing state from some random HTML string rather than having a clean JavaScript variable containing that value.
<button onClick={() => {
elem.innerHTML = (parseInt(elem.innerHTML) + 1).toString()
In this case we managed to get away with it, but this is in general not easy/possible.
@cirosantilli/_file/react/react/ref-click-counter-func.html by Ciro Santilli 35 Updated 2024-12-15 +Created 1970-01-01
@cirosantilli/_file/react/react/hello.html by Ciro Santilli 35 Updated 2024-12-15 +Created 1970-01-01
Minimal React hello world example. As you click:By opening a web inspector, you can see that only modified elements get updated. So we understand that JSX parses its "HTML-like" into a tree, and then propagates updates on that tree.
- one counter increments every time
- the other increments every two clicks
By looking at the terminal, we see that
render()
does get called every time the button is clicked, so the tree of elements does get recreated every time. But then React diffes thing out and only updates things in the DOM where needed. Ubuntu 24.04 installer "Erase disk and install Ubuntu" doesn't work when BitLocker enabled by Ciro Santilli 35 Updated 2024-12-15 +Created 1970-01-01
Ciro Santilli reproduced on Dell Inspiron 15 3520 with factory defaults. This bug prevents "wipe windows" installation without workarounds, one of which is to disable encryption in Windows.
Ubuntu 24.04 "The application files has closed unexpectedly" by Ciro Santilli 35 Updated 2024-12-15 +Created 1970-01-01
Happens at startup without doing anything, and then keeps happening randomly infinitely many times... on a almost clean 24.04 ISO install on Dell Inspiron 15 3520... God how can it be so bad.
Viewing the apport issue a bit further shows title:
nautilus crashed with sigabrt in g_assertion_message_expr
Possibly related:
- www.reddit.com/r/Ubuntu/comments/1ce1027/2404_is_a_terrible_release/
- bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1795210
- bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1823529
- askubuntu.com/questions/1406294/nautilus-keeps-crashing-in-22-04
- superuser.com/questions/42068/application-are-closed-down-unexpectedly-under-ubuntu
- ubuntuforums.org/showthread.php?t=2466502
- x.com/cirosantilli/status/1792792620323967227
This should only be used for things that happen outside of the state that React trackes, e.g.
window
event handlers.Examples:
"Quantum interconnect" refers to methods for linking up smaller quantum processors into a larger system.
As of 2024, seemingly few organizations developing quantum hardware had actually integrated multiple chips in interconnects as part of their main current roadmap. But many acknowledged that this would be an essential step towards scalable compuation.
The name "quantum interconnect" is likely partly a throwback to classical computer's "chip interconnect".
Sample usages of the term:
- news.mit.edu/2023/quantum-interconnects-photon-emission-0105
Researchers have demonstrated directional photon emission, the first step toward extensible quantum interconnects
- qpl.ece.ucsb.edu/research/quantum-interconnects
Unlisted articles are being shown, click here to show only listed articles.