richyliu
Re:A Room-Temperature Superconductor? New Developments
on Tuesday August 01, 2023 @04:53PM (#36962715)
Reversible circuits [1] built with superconductors could generate no excess heat at all.
[1]: https://spectrum.ieee.org/the-future-of-computing-depends-on...
Re:Crypto crash deepens, stocks slip
on Wednesday May 19, 2021 @12:08PM (#27210562)
Here's the specific thread from smdiehl talking about how tethers are not actually worth $1 as they claim [1].
[1] https://mobile.twitter.com/smdiehl/status/139366981222046516...
Re:Fastcheck: Property based testing for JavaScript and TypeScript
on Monday February 15, 2021 @10:33PM (#26150615)
This seems similar in concept to Haskell’s QuickCheck[1]. Both generate tests based on an invariant/“property” of the output and can narrow down to the simplest failing test case.
Re:Node.js 15.0
on Friday October 23, 2020 @11:28AM (#24870488)
Here's more information on the 3 new logical assignments
Logical OR assignment (||=) [1] Logical AND assignment (&&=) [2] Logical nullish assignment (??=) [3]
An example for OR assignment:
let a = '';
a ||= 'hello';
console.log(a); // prints 'hello'
a ||= 'not this';
console.log(a); // prints 'hello'
[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
[2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
[3]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Re:Control a website by raising your hand – JavaScript library for han...
on Monday September 14, 2020 @07:44PM (#24476420)
Although there is a Github page, the source code for hand-js seems to be completely obfuscated and restricted to working on localhost only. Handtrack.js[1] looks to be a better open source alternative.