Hacker Newsnew | past | comments | ask | show | jobs | submit | maleldil's commentslogin

> neovim

I have to turn off my config (-u NONE) for large files (e.g., multi-GB JSON files), or everything slows to a crawl. I never profiled it to know what's causing the slowdown. It might be treesitter.


syntax hi-lighting is the usual culprit in regular vim when pasting or piping a big blob of json i’ve found

How is it trolling, though? Annoying, sure. But the content here is valid and worth reading, even if the medium is suboptimal.

On 10 years old hardware?


You can achieve this with structural subtyping, such as Go interfaces and Python protocols. Whether that is desirable is a different question.


Oh, it's known. It just has an incredibly negative reputation on this site.


This "negative reputation" on here, looks to be something that was first artificially generated by competitors and then allowed to boil, along with those using the bubbling to promote themselves and their sites.


I kinda expected.. just hesitated to point it out.


> but pyright will not (because it infers the types of unannotated collections as having Any)

This is incorrect. pyright will infer the type of x as list[Unknown].


Unknown has the exact same type system semantics as Any.

Unknown is a pyright specific term for inferred Any that is used as the basis for enabling additional diagnostics prohibiting gradual typing.

Notably, this is quite different from TypeScript’s unknown, which is type safe.


This was confusing me, thanks.


Which only means they can mimic the output of a human. So does a p-zombie. It doesn't make them human.


You can always convert from Polars to Pandas. Plotnine will do it automatically for you, even.


Accessibility. It's both a very common abbreviation and very easy to search for.


You have absolutely no clue what you're talking about, mate. .NET is like Java. It's behind critical systems you haven't heard of because they're not flashy or glamorous, so you have no idea how prevalent they actually are.

The other posters are right. Most .NET projects today are backends, where it's used similarly to how Java is used.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: