Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amethyst
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
amethyst
3y ago
> Python, JS, C, Bash aren't even particularly great at the problems they solve I would argue the "problem" that Python really solves is the amount of engineering effort required to read and write code for common software
32.
▲
by
amethyst
3y ago
We've been to Muir Woods multiple times and it's easily 400ft from most of the parking spots just to get to the main entrance.
33.
▲
by
amethyst
3y ago
With modern wide angle lenses, it doesn't even need to be pointed directly at you to get you completely in the frame.
34.
▲
by
amethyst
3y ago
> What I am skeptical about is that this will continue to be solved for the next few years: there's always that chance that Google will outright kill it, or Apple/Samsung/whoever will become exclusive to a single car manuf
35.
▲
by
amethyst
3y ago
Github has automation to detect and mitigate repos with AWS/GCC API keys. They probably don't (yet?) have equivalents for OpenAI or other similar services that aren't as popular.
36.
▲
by
amethyst
3y ago
PEP 612 made this much better FWIW. https://peps.python.org/pep-0612/
37.
▲
by
amethyst
3y ago
That will only incentivize posting low quality worthless things in order to improve position and reach in comments. Might as well just charge them $8/mo for the privilege of making other people see their comments. Edit: I think I misun
38.
▲
by
amethyst
3y ago
TBH I had to read that part two times before realizing that it was describing an an unrolled loop.
39.
▲
by
amethyst
3y ago
Good catch, looks like a mixup somewhere in the writing/editing/publishing pipeline. The correct examples are given in the user guide [1], and I'll see if we can get the post updated accordingly. Thank you! Edit: the post has
40.
▲
by
amethyst
3y ago
At the moment, it's somewhere around pylint and flake8, depending on the number of lint rules running, but that's with no caching or performance optimization beyond per-file multiprocessing. I have plans for simple caching that sh
41.
▲
by
amethyst
3y ago
They are two linters with very different goals. Where Ruff prioritizes speed over all other concerns, and chooses Rust as the method of achieving that goal with a set of generic lint rules, Fixit is focused on making it easy for Python d
42.
▲
by
amethyst
3y ago
The user guide has a short section on writing custom rules [1], and the API reference also covers the attributes of a LintRule [2]. I plan to document this in more detail at some point in the future. 1: https://fixit.readthedocs.
43.
▲
by
amethyst
3y ago
It's a pattern that I have used multiple times in the past, and greatly appreciate for modular components like this, but in this specific case, this was the pattern used by the original authors of Fixit 1, and I was very happy to maint
44.
▲
by
amethyst
3y ago
Hi, I'm Amethyst, the project lead and primary engineer for Fixit 2. Happy to answer any questions here if anyone wants to know more!
45.
▲
by
amethyst
3y ago
> How precise, responsive is reverse thrust Not at all. Thrust reversers, depending on engine model, can take a few seconds or more to engage, and the engines themselves can take even longer to spool up thrust from idle or to spool down
46.
▲
Fixit 2: Meta’s auto-fixing linter for Python
(engineering.fb.com)
58 points
by
amethyst
3y ago
|
11 comments
47.
▲
by
amethyst
3y ago
3.7 was released in 2018 and is already EOL. Those folks should probably start considering an upgrade...
48.
▲
by
amethyst
3y ago
Another key requirement would have been computer-aided flight control systems. The only reason the B-2 can remain stable during maneuvers is thanks to its fly-by-wire system that translates the pilot's directions into control surface a
49.
▲
by
amethyst
3y ago
time lost maybe nullified by increased focus and lack of fatigue due to the caffeine?
50.
▲
by
amethyst
3y ago
Keep in mind that many/most of these tools also need to work in diff review and CI tools, not just in an editor. That said, we primarily support developers using VS Code (with internal LSP/plugins/integrations) or our interna
51.
▲
by
amethyst
3y ago
The Cinder team's longterm goal is to upstream as much as we can, and make the rest available as pip-installable extensions that anyone could theoretically install and use on CPython. The fewer internal changes and patches we need to m
52.
▲
by
amethyst
3y ago
It's mostly foundational work around developer tooling and infrastructure that isn't already covered by other dedicated teams (eg, there is a dedicated Cinder team). My latest work has focused around formatting and linting, and in
53.
▲
by
amethyst
3y ago
I'm not familiar enough with Django to say for sure, but I assume at this point it's almost entirely custom ORM and libraries on top of async django routing/response.
54.
▲
by
amethyst
3y ago
It's a heavily modified internal fork of Django. Source: I work on our Python Language Foundation team.
55.
▲
by
amethyst
3y ago
IG verification still requires validating your government ID matching your account name/bio, no? Twitter is just "do you have a working credit card #"?
56.
▲
by
amethyst
3y ago
Sadly, the name "down" was reserved for a trivial CLI tool to ping sites to "see if they are down". https://pypi.org/project/down/
57.
▲
by
amethyst
3y ago
If they said "pump", you know the gas stations would immediately find a way to put tanks above the level of the cars so that they could operate on gravity instead.
58.
▲
by
amethyst
3y ago
> I have not received a National Security Letter. source: https://durbin.ee/ as of Wed, May 24 at 1:45 PM PDT
59.
▲
by
amethyst
3y ago
Thank you!
60.
▲
by
amethyst
3y ago
> Dataclasses is notable because it's the only example (I'm aware of) of type hints effecting runtime behavior as part of the stdlib. FWIW, `typing.NamedTuple` did this in Python 3.5, three years before dataclasses was introduc
More ›