Byter

joined 2 years ago
[–] [email protected] 4 points 3 months ago* (last edited 3 months ago)

On the topic of build times, it took me too long to learn that nixos-rebuild supports remote build workers and targets.

For example, if I am editing on my laptop, want to build on my desktop, and apply the build to my file server, then I'd run...

me@laptop$ nixos-rebuild test \
--flake ~/wherever-it-lives \
--build-host desktop \
--target-host file-server \
--use-remote-sudo

The host names should match the name of the nixosConfiguration output from your flake. If they don't I think you can specify like, --target-host .#some-machine

Remote sudo avoids having to SSH as root.

Bonus tip: Having Tailscale on every machine makes this work reliably from anywhere, network speed as the limit.

[–] [email protected] 2 points 3 months ago (1 children)

No, just this example code from their site:

browser = p.chromium.launch(headless=True)

My mistake was not knowing where newspaper4k fits in the stack. They're wrapping it with Playwright, which it seems you could do here.

[–] [email protected] 6 points 3 months ago (3 children)

Looks like newspaper4k uses headless Chrome. You could try loading the Bypass Paywalls Clean extension and browsing the pages directly.

I regularly use it (in Firefox) without even thinking about it. Only notice when I send someone an article they can't access.

[–] [email protected] 1 points 3 months ago (1 children)

KineStop

Clever idea. Thank you!

[–] [email protected] 3 points 4 months ago (1 children)

Ah, sorry. I was answering about hyper.

The earliest reference to "meh key" I'm turning up on Kagi is from ErgoDox's Indiegogo in 2015.

They may have coined the term.

[–] [email protected] 2 points 4 months ago (3 children)
[–] [email protected] 6 points 4 months ago (1 children)

The digital zoom is doing cool things to its feathers.

Google Camera?

[–] [email protected] 4 points 4 months ago (2 children)
[–] [email protected] 8 points 5 months ago* (last edited 5 months ago)

What does a Pixel 9 Pro do that a $200 retail Moto G doesn't?

Laser thermometer.

Also GrapheneOS's requirements.

[–] [email protected] 2 points 8 months ago

Try to use open source software. Harder for it to disappear.

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago)

I came into Emacs (only a year ago) with Vim experience as well, and it was a difficult transition for the reasons you describe, but I persisted due to the beauty and power of the rest of Emacs' design and ecosystem.

I try to use the default bindings whenever possible, as I find going against the grain in Emacs leads to less efficiencies as packages stop cooperating with me or each other. Evil-mode is often criticized for this reason. It clobbers other bindings.

Understand that the default editing functions work best for lisps and their sexps. You will likely need to find third party packages to get that fluid feeling back for non-lisps. (Or implement them yourself!)

Check out

  • change-inner which uses expand-region
  • Maybe even the heavy-handed evil-mode. (But if you do, I'd recommend considering Meow as a less-invasive alternative)
  • wgrep combined with the replace- commands really impressed me.
[–] [email protected] 1 points 10 months ago

Thanks for asking. Not sure how I toggled that on...

view more: ‹ prev next ›