Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mherrmann
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
mherrmann
2y ago
I have actually been wondering whether Helium's more high-level API lends itself well for use by AI.
62.
▲
by
mherrmann
2y ago
Yes: start_chrome(headless=True)
63.
▲
by
mherrmann
2y ago
Importing * is universally discouraged by most Python linters and best practice docs. Yup, I would never do it in a .py file. But I do it all of the time in the interpreter, which is what the video shows. This looks largely like common w
64.
▲
by
mherrmann
2y ago
Doesn't work for logging into HN: from playwright.sync_api import sync_playwright playwright = sync_playwright().start() browser = playwright.chromium.launch() page = browser.new_page() page.goto('https:/
65.
▲
by
mherrmann
2y ago
It's more high-level. Instead of saying "click element with ID xv9873", you can say "click Download".
66.
▲
Helium: Lighter Web Automation with Python
(github.com)
199 points
by
mherrmann
2y ago
|
49 comments
67.
▲
by
mherrmann
2y ago
Reading around online, it seems egress is free until Cloudflare asks for big bucks or threatens to terminate your service. It's probably fine for hobbyists or small web sites. But as a business, I would never trust something that is &q
68.
▲
by
mherrmann
2y ago
The landing page looks awesome. Congratulations on the nice design. I suspect you are being hammered with requests now. Because in both Brave and Chrome, there is about a .5 second delay until the new tab page appears. Until then, there is
69.
▲
by
mherrmann
2y ago
In my experience, Cursor writes average code. This makes sense, if you think about it. The AI was trained on all the code that is publicly available. This code is average by definition. I'm below average in a lot of programming langu
70.
▲
by
mherrmann
2y ago
Glaring mistake in the first paragraph: > The problem with code re-use is that it gets in the way of changing your mind later on. This is simply incorrect, especially in the generality in which it is stated. If you change your mind and t
71.
▲
by
mherrmann
2y ago
Re your question on saving costs: If you run it on a single Linux VPS, then I suspect you can get the costs down to 5-10$ per month. One thing I find interesting is the growth chart: It's linear. But given that the app clearly has some
72.
▲
by
mherrmann
2y ago
I think it does matter. Let's assume Musk paid $12B. How much have you paid? Isn't it then actually reasonable to say that he contributed more than you to the country, even if his tax percentage is lower than yours?
73.
▲
by
mherrmann
2y ago
I agree with the first half, but strongly disagree with the second half of what you wrote. Ideas matter immensely. If you work on the wrong thing, perfect execution is not going to get you anywhere. If you work on the right thing, then even
74.
▲
by
mherrmann
2y ago
Does this mean that all .io domains will cease to exist?
75.
▲
by
mherrmann
2y ago
Author here. Thank you for sharing. I'll be happy to answer any questions.
76.
▲
by
mherrmann
2y ago
It depends on the individual part of Chromium. Some teams seem to be much more open to contributions than others. (I believe to recall that this is also what someone at Viasat told me at some point, but I'm not sure). Also, for example
77.
▲
by
mherrmann
2y ago
Congratulations! And thank you for the great write-up. I work with the Chromium code base a lot, and it can indeed be daunting. I use Sublime Text, which treats the code as plain text, apart from syntax highlighting. But it's also poss
78.
▲
by
mherrmann
2y ago
I understand that a lot of science and technology goes into modern farming, and that it's much better than it used to be. You did not address one of the main downsides I mentioned, which is that it still seems to be extremely reliant o
79.
▲
by
mherrmann
2y ago
You're telling me I have no clue. I don't disagree. But what would be much more interesting is for you to address the points I made.
80.
▲
by
mherrmann
2y ago
Having watched Clarkson's Farm, I can't help but feel that farming is extremely antiquated. The sensitivity to unexpected weather and the low profit margins despite the high investments of time and money seem terrible. I can'
81.
▲
by
mherrmann
2y ago
Yup. But the rest of the functionality is missing, I think.
82.
▲
by
mherrmann
2y ago
Cool. The link to "Risks" in the README is broken. 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.c
83.
▲
by
mherrmann
2y ago
In 10 years of using Python mostly full-time, I have not yet had a project where pip and vent were not enough.
84.
▲
by
mherrmann
2y ago
The example is terrible. It's understandable that OP wants to keep it as short as possible. But it is made so simple that it fails to convey the point. You would obviously not want to use the DeadlineSetter class here. It doesn't
85.
▲
by
mherrmann
2y ago
What are your requirements? Performance, development speed, native look and feel, ... Which languages are you familiar with? Do you have a preference with regards to the language?
86.
▲
The new Chromium Updater: Omaha 4
(omaha-consulting.com)
1 points
by
mherrmann
3y ago
|
0 comments
87.
▲
by
mherrmann
3y ago
Unreasonably shameless plug for my open source Python library Helium [1], so you don't need a test generator. 1: https://github.com/mherrmann/helium
88.
▲
by
mherrmann
3y ago
https://winstall.app . There's also winget.run, but it's no longer updated.
89.
▲
by
mherrmann
3y ago
Lower your expectations with regards to finding a remote position. I know you came here for comfort, but it seems to me that you are better served by hard truths. Working remotely, you are competing with the whole world. People in lower-inc
90.
▲
by
mherrmann
3y ago
I have no specific sympathy for Altman one way or the other, but: Why is Worldcoin a grift? And I believe his argument for it not being open is safety.
More ›