Langchain? I tried using/learning langchain then I found out that it was evolving so fast that even the latest ai models didn't have even remotely up to date information on it! Not to mention the hundreds of Google search results for ---- why do langchain docs suck?
I finally switched to haystack and I have been really happy. (Don't work on corporate ai software this is just for personal use)
To me it makes sense when it comes to the stock. It's not like someone goes to Robinhood or whatever and goes... Hey you know what's underrated? Kafka! Calls on Confluent!
My Brazilian friend told me they use Whatsapp as a replacement for Slack since they don't want to pay for Slack As an Indian, I can confirm the same here for many companies
A more common example for me at work is getting a response from url. Then you gotta process it further like response.json() or response.header or response.text etc etc. and then again select the necessary array index or doc value from it. Giving a name like pre_result or result_json etc etc would just become cumbersome.
I usually write code to help local debug-ability (which seems rare). For example, this allows one to trivially set a conditional breakpoint and look into the full response:
The fact that the first response is immediately overwritten proves to the reader it's not important/never used, so they can forget about it, where a temp variable would add cognitive load since it might be used later.
and I think is just as clear as this:
response = get_response().json()
This motivated by years of watching people through code, and me working with deeply non-software engineers, and is always very much appreciated.
> The fact that the first response is immediately overwritten proves to the reader it's not important/never used, so they can forget about it, where a temp variable would add cognitive load since it might be used later.
I strive to write code that reduces cognitive load. To me, putting it in a temp variable is more of habit of old languages, mixed with a bit of cargo cult.
> To me, putting it in a temp variable is more of habit of old languages
If you do want an intermediate variable, naming it non-deceptively will reduce cognitive load. If you don't want one, that's fine too. There's no deception with a name that doesn't exist.
OBBB signed: Reinstates immediate expensing for U.S.-based R&D - https://news.ycombinator.com/item?id=44469124 - July 2025 (370 comments) [15 year amortization required for international R&D]
No, Chinese will stay home instead of immigrating to the US.
China draws mainly on the talents of the best of its billion+ population. But America has had its pick of the best of the world's 8 billion people. If people stop immigrating to the US, then we will surely fall behind technologically, economically and militarily, and soon we will be making t-shirts for Chinese for $5 an hour.
If an H1B worker "leaves after a month" they get deported. Meanwhile, nothing in the world can prevent the Bus Factor so I don't see how that's even relevant.
Wasn’t that already effectively put in place with the changes to the exemptions on how R&D is treated for tax purposes? (I’m not in the US so this may have evolved now, I’m not sure.)
reply