News for hackers. Stuff that matters.

dz0707

Re:Claude Fable 5 on Tuesday June 09, 2026 @11:48PM (#48471188)
Given how bad some of the models do on somewhat similar problems, I'm sure pelican is included in training set now. Similar problems - given airplane outline and implementation constraints do painting scheme (constraints something like "it will be implemented using covering film, hence no gradients, no impossible cuts, not more than 2 colors on engine cowl, etc). Google Gemini is meh, but GPT models are just terrible, don't have Anthropic subscription at home, hence have not tested.
I think your math is wrong. Most of modern cars do up to 150g of CO2 per 100km, there are other emissions too, but they are in way smaller numbers.
Re:GPT-5 on Thursday August 07, 2025 @02:57PM (#44828856)
I did a little test that I like to do with new models: "I have rectangular space of dimensions 30x30x90mm. Would 36x14x60mm battery fit in it, show in drawing proof". GPT5 failed spectacularly.
I'm wondering if this could turn into some kind of prompt tunning tool - like to detect weak or undesired relationships, "blur" in embeddings, etc.

Ask HN: Do you have inspiring example of DDD usage?

Wondering if any of you have your favorite open source repository for a real software, used in production by real people, that is following DDD. I know that there are success stories, just never saw their code.I've seen lots of demo/experiment repos, but all of them are just that - with very limited scope, synthetic scenarios, doing shortcuts for brevity, etc.

( Read More... | no comments | on HN )
Re:Write OpenAPI with TypeSpec on Wednesday March 27, 2024 @03:32PM (#39843553)
Having written quite a bit of open API specs, I don't agree with you. Json is hard to read, yaml has own quirks, especially when you try to spilt it into parts. Amazon also tries to invent own language for describing apis, so I guess they are not happy with open API too. Anyway, without ability to generate code from spec, there is not much use from it. Code gen/nswagger/open API generator and others produce terrible code, at least for java/c#/typescript(there's 4.1k open issues for open API generator), using custom generators for codegen make problem less painful, but that is additional burden, I'm looking for better alternative, would be very interesting to see what they will do with code generation.
Tried couple queries that I've used lately for the job and results were meh, seems that getPayload was tokenized into get and Payload and that resulted into much not related stuff from sites that have nothing to do with programming. In code search in my opinion there needs to be subtle distinction when to do exact match, when not, even to keep syntax symbols, so that I could search for call usage, call usage with specific generic parameter, not definition, etc.