This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
async function setupCWVthingy() { | |
let cwv = await import( | |
"https://unpkg.com/web-vitals@3/dist/web-vitals.attribution.js?module" | |
); | |
const COLOR_GOOD = "#0CCE6A"; | |
const COLOR_NEEDS_IMPROVEMENT = "#FFA400"; | |
const COLOR_POOR = "#FF4E42"; | |
const RATING_COLORS = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- test-cwd-executable.t | |
+++ test-cwd-executable.t.err | |
@@ -19,3 +19,4 @@ | |
This is the code under test - don't run the "watchman" in CWD. | |
$ hg up -q .^ | |
$ hg status | |
+ ? oops | |
ERROR: test-cwd-executable.t output changed | |
---------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------------------------------------- | |
Skipped 4 tests (getdb.sh missing. copy from getdb.sh.example and edit it): | |
test-checkserverbookmark.t | |
test-fb-ext-fbconduit.t | |
test-fb-ext-pushrebase-cannot-rebasepublic.t | |
test-fb-ext-pushrebase-set-dates.t | |
Skipped 3 tests (missing feature: Mononoke server available): | |
test-fb-ext-remotefilelog-getpackv2.t | |
test-fb-ext-remotefilelog-log.t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<code> | |
<script type="module" contenteditable> | |
console.log("hello, world!"); | |
const script = document.querySelector("script"); | |
script.addEventListener("input", function runScript(e) { | |
eval(e.target.innerHTML); | |
script.removeEventListener("input", runScript); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Steps to use this: | |
1. Join a Zoom call from the web | |
2. Enable Live Transcription | |
3. Open the console (Cmd + Opt + J) | |
4. Paste this code into the console | |
*/ | |
// In order to be able to paste this script multiple times in the console, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Surma, this is a really well-researched and well-presented video, and you definitely do mention my points below 👇 , but it wasn't until I listened to this Changelog podcast last week that I realized just how pervasive browser-oriented thinking goes into the Deno design. You made a great video 💯 🙂 | |
Really enjoyed this. You mention this in the video, but something I didn't realize until last week is Deno's core philosophy of: "Stick to existing web standards", and how that impacts all the decisions they make. | |
So they chose that import syntax because that's how the web does it, they chose the security model of the Deno process to make it similar to the web*, etc.. The reason that Deno doesn't introduce more file formats or have specific config files is because that's how the web works**. The main exception to this is TypeScript, which Ryan Dahl has actually said is his biggest REGRET about Deno***! | |
* In the future, they plan on changing Deno to prompt the user for more permissions instead of crashing, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* In the future, they plan on changing Deno to prompt the user for more permissions instead of crashing, like how browsers do it. Source: https://github.com/thechangelog/transcripts/blob/master/podcast/the-changelog-443.md#:~:text=Ryan%20Dahl%3A%20Yeah%2C%20I%20should,you%20opt%20into%20additional%20privileges | |
** Sources: https://github.com/thechangelog/transcripts/blob/master/podcast/the-changelog-443.md#:~:text=Ryan%20Dahl%3A%20%5B00%3A32,you%20ever%20get%20started , https://github.com/thechangelog/transcripts/blob/master/podcast/the-changelog-443.md#:~:text=Adam%20Stacoviak%3A%20This,you%20say%20that%3F | |
*** Source: https://github.com/thechangelog/transcripts/blob/master/podcast/the-changelog-443.md#:~:text=Ryan%20Dahl%3A%20This,extension%20to%20JavaScript | |
I would highly recommend this podcast episode, as it's one of the only podcasts Ryan has ever done https://changelog.com/podcast/443 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
// @flow | |
var start = Date.now(); | |
var timer = setTimeout(() => { | |
console.log('done'); | |
console.log(Date.now() - start); | |
}, 1); | |
var timer2 = setTimeout(() => { | |
console.log(timer); | |
console.log(Date.now() - start); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
label: dos | |
label-id: 0x000efb19 | |
device: /dev/sdc | |
unit: sectors | |
/dev/sdc1 : start= 2048, size= 4612096, type=e | |
/dev/sdc2 : start= 4614144, size= 188287232, type=5 | |
/dev/sdc5 : start= 4620288, size= 65534, type=83 | |
/dev/sdc6 : start= 4685824, size= 524286, type=c | |
/dev/sdc7 : start= 5210112, size= 24773700, type=83 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
label: dos | |
label-id: 0x000efb19 | |
device: /dev/sdc | |
unit: sectors | |
/dev/sdc1 : start= 2048, size= 4612096, type=e | |
/dev/sdc2 : start= 4615235, size= 63514560, type=5 | |
/dev/sdc5 : start= 4620288, size= 65534, type=83 | |
/dev/sdc6 : start= 4685824, size= 524286, type=c | |
/dev/sdc7 : start= 5210112, size= 24773700, type=83 |
NewerOlder