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

Thanks for this example - it makes it clear it can be a mechanism for something like sqlc/typed sql (my go-to with python too, don't like orms) without a transpilation step or arguably awkward language API wrappers to the SQL. We'll need linters to prevent accidentally using `f` instead of `t` but I guess we needed that already anyways. Great to be able to see the actual cost in the DB without having to actually find the query for something like `typeddb.SelectActiveAccount(I'd)`. Good stuff.


The PEP says these return a new type `Template`, so you should be able to both type and/or duck type for these specifically and reject non-Template inputs.


It is a different type.

You can verify that either via static typechecking, or at runtime.


Currently it's 2025 - in the early 2000s when most of the sources you linked come from there wasn't even Facebook let alone pornhub. The ones reporting on more recent times seen to have consensus that factors in reporting, especially covid, make it difficult to come to any conclusion. So a fair point of discussion that seems to be a far cry from "common knowledge". I don't know what you're aiming for but it's hard to take it in good faith really.


Americans are taught at a very young age about Manifest Destiny, the notion when starting in the East that America has a right all the way to the West. While events like Trail of Tears are mentioned, they're downplayed during early school years and not brought up again later when kids may be able to form an opinion. Essentially, winning is ingrained into the American mindset and is the driving force behind almost everything - this helps when making companies big and even bigger, but also mutual growth hard to fathom. Current US policy does feel very American. Seems like a make-or-break moment for the American model itself, and if it breaks there'll need to be a change starting from the early age education/propaganda.


They're referring to hiragana being highly phonetic, where each letter is a fully formed sound so practicing them can give a solid base for pronunciation.

Personally I think there might be some correlation vs causation on hiragana vs pronunciation, many people with poor pronunciation just have a mostly-English speaking social circle, and as such likely also don't feel a need to study hiragana. I feel just listening to Japanese can help get your brain used to the sounds and on the flip side my first recommendation to Japanese to get better at English conversation is to watch lots of US TV, hearing words over and over from many voices eventually adds up to a nice base for sounds. Still need to study for vocab though.


It's refreshing to see a comment that is fair and not immediately West++ East-- on HN - thank you. Too bad it'll get suppressed with the article under the flags as usual...


For Java, I think you mean Jackson, not gson, unless something has changed recently. Goes to show that even the behemoths can get this wrong.

https://github.com/protocolbuffers/protobuf/blob/6aefdde9736...


If you've never used an ad blocker, I guess it may just be the normal web rather than anything terrible. Because ad blocking isn't illegal, it may not be quite as bad as a Disney employee pirating all their movies, but I suspect it's still not that common (at least most people I knew while there didn't use one, and of course I was happy to install one again the day after leaving).


I'm assuming this is the point - say "just sell it" to satisfy anti-monopolists, while knowing no one will buy it for any reasonable price to satisfy monopolists. Political points across the board with no consequence, why not?


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

Search: