Live data from Hacker News

Astral

astral.sh

161–170 of 248 posts

Re: Astral

#161
post #30

Earlier quoted context omitted.

> Charlie Marsh is just a damn good developer curious how you assessed this. did you inspect the code or are you just commenting from the user POV?

[flagged]

Is it bad to be jealous of people that are much better than you are?

I mean, for your own sake, ideally you are not, but I think it’s reasonable.

Re: Astral

#162
Good for him.

I’m less enthusiastic about them hiring one of the core contributors of Rome away though.

I don’t care about Python, but I very much care about Typescript.

Re: Astral

#163

Earlier quoted context omitted.

That's just a foot in the door. Like sentry made a good logging library, then pivoted to an observability service. And today I use sentry because I have a great history with their product. It's smart and a positive way to make money. I dig it. PS: ruff is not replacing black (although it will probably in the end), but compete with flake8 and pylint.

Sentry had a natural path into cloud services because error monitoring has a server-side component to it. Serious question, what is the path for a linter? Where else are people paying for linting as a service?

Cloud linting! You send your content hash to the cloud, and it’ll tell you what errors you have.

Re: Astral

#164

Yet another case of Python developers getting a basic utility which any other language had available for years and being amazed at something which is an industry standard literally anywhere else. Linter taking multiple seconds is not a problem which occurs in any other popular language. It really boggles my mind why is this lang so popular. Once you write something a little more involved than an utility script or jup…

> Linter taking multiple seconds is not a problem which occurs in any other popular language. It doesn't happen in Python either. So that's good. > barely ever needing to touch the terminal Not really a good sign, point-click developers are not usually the strongest. That said I like things to work easily and don't have many quarrels with Python. Certainly fewer than most other languages. Sounds like you're not very…

> Not really a good sign, point-click developers are not usually the strongest.

In principle I agree, but my point is - it was possible to be fully productive being just a point-click developer.

> It doesn't happen in Python either. So that's good.

pyright + black + isort hook in the project I'm working on takes 1-5 seconds on an M1 mac on save. We're moving to ruff for this reason. Never saw this anywhere else.

> I don't have a problem with anything you list.

To give better examples:

- poetry takes ~900 seconds to resolve dependencies during update/lock

- I had to use multiprocessing where in any other language I would use threads because GIL, inter-process communication is needlessly complex

- I can't dot+tab+enter autocomplete while using boto or many other libraries - due to weak typing discoverability suffers and I need to have documentation always open in another window to do anything. This is not a problem in strongly typed languages.

- wsgi - concept of running separate interpreters for each incoming request is a bit wasteful

- I never had any problem with broken / incompatibile environment like I had on python. I just install recent version of .net / rust / node (to a lesser extent) and things generally tend to work. Here I have to worry about specific subversions and conflicts in PATH with another envs and OS-packaged python. Avoidable, but noobs are certain to hit this at some point.

- I didn't talk about general speed as it's beating a dead horse, but Python basically nullifies the last 20 years of hardware improvements

> Sounds like you're not very familiar with it and got used to C#.

I also used Rust and Go and was super happy with the experience for similar reasons.

Re: Astral

#165

This along with pydantic [0] means that 2/3 of my favorite python open source projects are now commercially backed. I wonder how long FastAPI will last? As an aside, what is the issue with versioning these days? Ruff and FastAPI both have massive user bases and a reliable codebase, but haven't released v1.0.0! Ruff hasn't even got as far as v0.1.0. [0]: https://techcrunch.com/2023/02/16/sequoia-backs-open-source-...

You aren't the only one that has noticed: https://0ver.org/ More seriously though, for these projects, the first version is version zero. If they make no major backward incompatible changes, why would they ever release a version 1?

Because version 1 is the first version with any actual guarantees: https://semver.org/spec/v2.0.0.html#spec-item-4

Re: Astral

#166
I'm surprised PyLance isn't in the list of linters that they benchmarked. It's the fastest one by far, in my experience, and it's conveniently available in the VSCode Python plugin.

Re: Astral

#167
post #30

Earlier quoted context omitted.

> Charlie Marsh is just a damn good developer curious how you assessed this. did you inspect the code or are you just commenting from the user POV?

[flagged]

[deleted]

Re: Astral

#168
post #148

Earlier quoted context omitted.

then you probably dont know that i'm actually more supportive of charlie than most and are reading negative intent from a perfectly neutral/innocent question that is perhaps badly phrased :)

I thought more people would recognize your username, but I guess not. I suppose you're more prolific on Twitter than HN.

i mean i kinda like that HN de-emphasizes usernames, conversation should stand on its own if its to be judged by own merit. but i do have 14k karma haha

Re: Astral

#169
post #147

Earlier quoted context omitted.

Theo de Raadt engaging the Rust community would be a sight to behold :)

I am not aware of him saying anything about Rust beyond this: https://marc.info/?l=openbsd-misc&m=151233345723889&w=2 Which doesn't mean he hasn't, of course!

That email (from Dec 2017) ends with “Such ecosystems come with incredible costs. For instance, rust cannot even compile itself on i386 at present time because it exhausts the address space.”. I presume Theo is actually complaining about using more than 3 GB (?) of memory, but still it really shows the different cost-versus-benefit decisions that we all make.
Post reply on HN