I first started tracking time many years ago explicitly with the goal of more intentionality and focus on a single task. If I recall correctly the tip came from CGP Grey (of old-YouTube fame) on one of the podcasts he was doing at the time.
HN user
wtfrmyinitials
It also doubles as a (very silly) rice cooker! Add a program to bring the pan to 230 F on slow intensity followed by a 2 minute timer. This will slowly simmer the water then stop cooking right after the water is all evaporated, which is exactly the process of dedicated rice cookers.
It’s possible to install Nix (the package manager) without NixOS (the OS). It runs on macOS and Linux.
I would assume it’s mostly for deploying to systems that expect Docker images like Kubernetes, fly.io, etc
> import foo from 'foo';
> await foo.bar();
You only have to `await foo.bar()` if foo.bar was an async function already, the module system is irrelevant. You would still need to await it even if it was `require()`'d in. import baz from 'baz';
baz.foo();
Works just fine, no `await` necessary. > await Promise.all([
> import('other'),
> import('stuff'),
> ]);
Of course these have to be awaited, at this point you're explicitly trying to load new code while the program is running. It's no different than any other kind of async IO. > import yet from 'more-stuff';
I assume this is included to imply that loading `yet` is blocked by the `await Promise.all` above it to show that import statements can run after module resolution. If this was your intent you are mistaken, that import statement is still resolved before execution begins. // main.js
console.log('a')
await new Promise(res => setTimeout(res, 1000))
console.log('b')
import { foo } from "./foo.js";
// foo.js
export function foo() {
}
console.log('c')
Results in c
a
[one second pause]
b
> Yes, an import statement is [semantically] blocking. But even so it’s important to know that it’s performing async I/O.No, it really isn't. From the POV of the application code it's irrelevant. This is trivially proven by the existence of module bundlers which convert non-dynamic `import` statements into one big file that doesn't do anything asynchronous to initialize.
(edit: fighting with formatting)
This is inaccurate, or at least misleading. Your code doesn’t begin executing until all of the modules are loaded so it doesn’t “make the call stack async” just because of the import system. Module loading that’s async from the point of view of user code is also supported, but it’s use is rare.
Perhaps you could achieve the best of both worlds by checking node_modules into a git submodule
“User-Agent”
I was trying to write a program using midi last year and was surprised by the lack of any libraries to work with it. Then I looked up the spec and was able to get all the functionality I needed with 10 lines of code interacting with /dev/midi. Incredible how powerful such a simple interface is.
That’s why the comparison is apt. “Cars are were bad for cities” isn’t a remotely hot take, and yet nobody claims that the invention of the car was a net-negative for the world.
Cars could trigger destruction of cities, warns top horse-drawn carriage maker
No mention of comma.ai
37
Since it runs Linux I don’t see any reason you couldn’t put your entire library on an NFS server in the other room. If I get one I’ll certainly be doing that
It may in part be because if they kept a percentage Apple would require these payments go through their in-app purchase system, subjecting ClubHouse to the 30% app store fee.
I may be confused, but your comment appears to be a bit of a non sequitur.
Most crypto mining is done with renewables because it’s the cheapest kWh when you don’t have to factor in energy storage.
If people can print money, they will.
If you’re doing DNS some company is going to see your DNS queries. So the objection is the new default choice?
make works perfectly fine with an all lowercase makefile
The sway window manager has this feature built in and it's wonderful. I use it all the time.
It's so bizarre to me that people think that the only thing libertarians can advocate for have to do with government.
Every day the browser becomes less of a User-Agent and more of a Vendor-Agent
alacritty?
I choose to believe that the juxtaposition of Aperol and The New York Times was intentional
If I recall correctly, Moxie Marlinspike did a great talk about this idea years ago. How things like having a cell phone are theoretically “optional” yet to be normally integrated into today’s society entirely requires it. This is especially true in these covid-times.
Because ZIRP encourages corporate debt.
I thought this was a pretty decent article until the very end when the author asserts:
...nobody could be bothered to develop a nationwide program to test people for infection and trace their contacts if they were positive, or to adequately support a pause of economic activity...
As for nationwide program to test people, of course nothing was built yet; it's a novel virus and therefore novel tests are needed. If a government had built out contact tracing pre-covid, they would be (rightly) criticized for taking steps in an authoritarian direction. Apple and Google have stepped in and built contact tracing, so to say this hasn't been developed is also factually inaccurate. Finally the comment about the ability to "adequately support a pause of economic activity" is kind of silly. To pause economic activity is to pause everyone's lives. What does it mean to adequately support people when they're no longer allowed to do the things they enjoy?
It was a breath of fresh air to read an article that admitted that this is a difficult trade off, not some kind of easy decision that's being ruined by the other guy. It was disappointing that it was concluded with a similar tone.
During a shortage:
Commodity is available. Commodity is affordable.
Pick 1.