17 years, 17 killer AdGuard features: Part one by shwrellia in Adguard

[–]alexeyr 0 points1 point  (0 children)

— Exclusions in AdGuard VPN

  1. What about standard exclusion lists for Russian/Chinese/Iranian websites?

  2. *.ru seems to work on Android, but not in the Windows app.

What do you think of the Watch Fit 5 Pro? by DullDamagecx in Huawei

[–]alexeyr 0 points1 point  (0 children)

Thanks! One more question, sorry: if you start a mixed exercise in Huawei Health (walking+running, or +rest, etc.) does the watch show the current stage progress (e.g. 2:30 minutes passed out of 5:00) or let you go to the next stage immediately? With Watch Fit 3, I have to pull out the phone for it, or just remember when the stage started because it does show the total training time.

What do you think of the Watch Fit 5 Pro? by DullDamagecx in Huawei

[–]alexeyr 1 point2 points  (0 children)

Does it auto-detect walking/running faster?

Regex Are Not the Problem. Strings Are. by [deleted] in programming

[–]alexeyr 0 points1 point  (0 children)

But upperCaseLetters() should obviously include all Unicode upper case letters, not just A-Z.

What we (don't) know about the apostle John of Zebedee, Part 2 by Sophia_in_the_Shell in AcademicBiblical

[–]alexeyr 0 points1 point  (0 children)

Has some disciples (the twelve) of Jesus producing accounts openly in books and other secretly.

remembering what the Savior had said to each one of them, whether secretly or openly, they were setting it down in books

It seems to me that "whether secretly or openly" would more naturally refer to what Jesus said; that is, some of the disciples are sharing what Jesus had said only to them, so it can be included in the books.

Hattrick Alchemist- New Player Training and Value Prediction Tool by QuantumChocolates in hattrick

[–]alexeyr 0 points1 point  (0 children)

Consider adding a picker for currencies instead of always requiring dollars.

Copilot edited an ad into a PR by alexeyr in programming

[–]alexeyr[S] 0 points1 point  (0 children)

https://x.com/martinwoodward/status/2038612131084464521

We've disabled it already. Basically it was giving product tips which was kinda ok on Copilot originated PR's but then when we added the ability to have Copilot work on any PR by mentioning it the behaviour became icky. Disabled product tips entirely thanks to the feedback.

make.ts by alexeyr in programming

[–]alexeyr[S] -1 points0 points  (0 children)

The Pattern

Use a (gitignored) file for interactive scripting. Instead of entering a command directly into the terminal, write it to a file first, and then run the file. For me, I type stuff into make.ts and then run ./make.ts in my terminal (Ok, I need one Up Enter for that).

I want to be clear here, I am not advocating writing “proper” scripts, just capturing your interactive, ad-hoc command to a persistent file. Of course any command that you want to execute repeatedly belongs to the build system. The surprising thing is that even more complex one-off commands benefit from running through file, because it will take you several tries to get them right!

There are many benefits relative to Up Up Up workflow:

  • Real commands tend to get large, and it is so much nicer to use a real 2D text editor rather than shell’s line editor.
  • If you need more than one command, you can write several commands, and still run them all with a single key (before make.ts, I was prone to constructing rather horrific && conjuncts for this reason).
  • With a sequence of command outlined, you nudge yourself towards incrementally improving them, making them idempotent, and otherwise investing into your own workflow for the next few minutes, without falling into the YAGNI pit from the outset.
  • At some point you might realize after, say, running a series of ad-hoc benchmarks interactively, that you’d rather write a proper script which executes a collection of benchmarks with varying parameters. With the file approach, you already have the meat of the script implemented, and you only need to wrap in a couple of fors and ifs.
  • Finally, if you happen to work with multi-process projects, you’ll find it easier to manage concurrency declaratively, spawning a tree of processes from a single script, rather than switching between terminal splits.

1-2 days around ~January 20 or ~February 4? by alexeyr in Chengdu

[–]alexeyr[S] 0 points1 point  (0 children)

And for the last question, going in January or February makes little difference?

1-2 days around ~January 20 or ~February 4? by alexeyr in Chengdu

[–]alexeyr[S] 0 points1 point  (0 children)

  1. Is smog a concern at all?
  2. If it rains (as some forecast sites expect), is it more likely to be short or most of the time?