Recent submissions

Comment · 10 days ago
Here in the UK, they will try their hardest to not refer to the consultant, will do the basic blood tests and tell you that you are all right, take pain killers or anti allergy medicine. Its such a terrible system
Comment · 10 days ago
service based companies yes, but product based companies have established workflows which will take some time to disrupt
Comment · 8 months ago
I wonder how is the experience writing Rust or Zig with LLMs. I suspect zig might not have enough training data and rust might struggle with compile times and extra context required for borrow checker.
Comment · 10 months ago
And the stock goes up 3%
Comment · 1 year ago
Do you know any good default PRAGMAs that one should enable?
Comment · 1 year ago
I dont know whats apple obsessions with thinness, instead they should focus on usability and battery life.
Comment · 1 year ago
> Working effectively with LLMs for writing code is an extremely deep topic.

There is a space for learning materials here. I would love to see books/trainings/courses on how to use AI effectively. I am more and more interested in this instead of learning new programming language of the week.

Comment · 1 year ago
> Here are some books I spent money on in the last 5 years

Would you recommend these books?

Comment · 2 years ago
At my current place, using Redis with celery is becoming bottleneck for number of concurrent connections it can hold. We are using 1000 workers and start seeing issues (ceiling is 10k connections in Redis); apparently Celery creates huge number of connections. We are considering moving to RabbitMQ for same reason.
Comment · 2 years ago
> That being said, I wish there was a single consistent resource[1] that summarizes truly modern software design philosophy in the sense that it leaves the object orientation inspired ideas behind that did not turn out to be useful and focusses on typed functional programming. Maybe with examples in Typescript and Rust.

Not Rust or TS, but i found Java to Kotlin a decent book which provides refactoring of java OOP to more functional patterns. One of the authors Nat Pryce was big into OOP design and was also a co-author of famous book Growing Object Oriented Software by Tests.

Comment · 2 years ago
One of the strengths python has is its ecosystem. All the languages you listed don’t come close to python’s ecosystem except perhaps TypeScript/nodeJS (whose quality of ecosystem is questionable although improving in recent times).
Comment · 2 years ago
The keyword here is “mutable” config object and not config data object in general. I use immutable config dataclass liberally in one of my python projects and i pass it around in all modules. Many functions rely on multiple values and instead of passing all of them as function parameters (which requires their own function typings), the dataclass has all variables with typing definitions in one place, its pretty handy design pattern.
Comment · 2 years ago
Try Deno, it compiles cli apps in distributable binaries
Comment · 2 years ago
> The downside as an expert is realizing you have to get a PhD to get a sense for how much RAM your cats will gobble up.

Go one step further with affine types and use Rust. You get haskell type system with predictable performance.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton