Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cissikatt
· 3mo ago · 0 comments
Why would I like to know the weather in some other city?
Comments
[–]
satvikpendem
3mo ago
What do you mean? It gets the weather for your city via your IP address, maybe you're on a VPN.
[–]
OvermindDL1
3mo ago
That's a pretty crappy way to detect it seems, it thinks I'm in some city almost a thousand miles away, no VPN, purely direct connection,...
[–]
Narishma
3mo ago
Your IP address doesn't automatically correspond to your city, even without a VPN.
[–]
satvikpendem
3mo ago
Then add your city as an argument to the curl. It works well enough regardless and doesn't use hundreds of megabytes of RAM which is what the initial complaint was.