Y
Hacker News
new
|
ask
|
show
|
jobs
by
cissikatt
111 days ago
Why would I like to know the weather in some other city?
1 comments
satvikpendem
111 days ago
What do you mean? It gets the weather for your city via your IP address, maybe you're on a VPN.
link
OvermindDL1
109 days 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,...
link
Narishma
111 days ago
Your IP address doesn't automatically correspond to your city, even without a VPN.
link
satvikpendem
111 days 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.
link