4,742 karma · joined November 27, 2013
https://herrmann.io
d22729c1696c40a5a35923050561ac2c
Also, for example the browser name appears in a lot of places. It is very hard to fully extract it into a single configurable option.
People who have now become interested in creating their own Chromium-based browser may want to take a look at my article: https://omaha-consulting.com/how-to-fork-chromium. It gives a high-level view of what goes into maintaining a Chromium fork.
What I would love: `ell -r` automatically, and an alias `fix` that proposes a fix, including making changes to a file. For example, say I have a typo in main.cc and do `gcc main.cc`. When I run `fix`, I want ell to propose a fix in the file with a diff. If I accept, it should make that change. Then it should propose running `gcc` again - and run it for me if I accept.
All code bases I have seen in the past 15 years have too little DRY, not too much. Yes, every technique we use has pros and cons and we need to decide in each case whether DRY is worth it. But I worry that people will come away from the article (or even just the headline) with the feeling that "ah, I don't need to DRY". I've been in the situation too many times where somebody copy-pasted and I later had to make it DRY to achieve consistent behavior. Let's err on the side of DRY.
In the example, the right-hand side could either be left as-is. Or it could extract a function:
def set_task_deadline(task_deadline):
_ensure_is_in_future(task_deadline)
def set_payment_deadline(payment_deadline):
_ensure_is_in_future(payment_deadline)
def _ensure_is_in_future(deadline):
if deadline <= datetime.now():
raise ValueError(“Date must be in the future”)
This is much better than the straw man example employed by the author.Why is Worldcoin a grift?
And I believe his argument for it not being open is safety.
This is incorrect. Brave also has native Arm support, including Widevine.
this is my library, which I've been maintaining for years. Its high-level approach is extremely useful for automating the modern web. I hope you will find it useful too.
Michael
P.S.: Yes, it's still based on Selenium 3. I've simply never had any reason to upgrade. It just works.