This post knows where you're viewing it from (Lemmy doesn't proxy external images) [ARCHIVED]
This post knows where you're viewing it from (Lemmy doesn't proxy external images) [ARCHIVED]
Note: This post now archived and as such no longer works
You're viewing a single thread.
[This comment has been deleted by an automated system]
171 0 ReplyFinally. Someone noticed 🥹
28 0 ReplyJoke's on you. IP geolocation where I am is an unreliable mess and your image got it wrong by about 1000km!
26 0 Reply[This comment has been deleted by an automated system]
13 0 Reply
Location is right, but I highly doubt anyone near me is using Lemmy (dictatorship here).
21 0 Reply[This comment has been deleted by an automated system]
26 0 ReplyPermanently Deleted
8 0 Reply
Great, hot milfs near my location
10 0 ReplyI’m not using a VPN or anything and it got my location wrong by 700 kilometers 🤔
9 0 ReplyAre you sure you are where you think you are? When's the last time you looked outside?
23 0 ReplyOh no! I've been kidnapped!
10 0 Reply
Woah this is really cool. Though I was way off for me and I'm not on a VPN right now.
7 0 Reply[This comment has been deleted by an automated system]
5 1 Reply
Thanks for the heads-up.
Routing my Lemmy mobile app through orbot from now on. Seems to have fixed the issue.
6 0 ReplyI wonder why the Baltimore community is so dead, then.
5 0 ReplyYou can run Geolocation with images now? What the heck? How?
5 0 Reply[This comment has been deleted by an automated system]
25 0 ReplyIt's not the image, it's a normal image. The server does the hard work when you make the request, and then it just builds the image accordingly.
12 0 ReplyYeah I saw OPs explanation in the comments. That is fucking cool! And scary! I've never needed to generate images with code before, so Ive never even considered something like this before.
4 0 Reply
Thought about adding the user's location, but was worried PythonAnywhere could somehow cache the image between multiple people. A great demo though!
4 0 ReplyMy location is accurate, to give some good feedback on your program too lol
4 0 Reply[This comment has been deleted by an automated system]
1 0 Reply
You have the code for this? Very interested in how you implemented it
4 0 ReplyPermanently Deleted
17 0 ReplyDamn, PHP is such a sleeper of a language, I always forget how useful it can be.Thanks for sharing!
10 0 Reply[This comment has been deleted by an automated system]
8 0 ReplyNice, sounds like it's getting modernized. I'll have to give it another round, thanks!
1 0 ReplyGenuinely curious, how is it superior to Python in your opinion?
Edit: Apart from the things you listed 😅
1 1 ReplyIt can run natively on an Apache server without any frameworks required to render user website markup and serve pages. That's a pretty awesome advantage.
4 0 Reply
PHP is the OG bad-ass for getting shit done. No setup, no compile, no deployment pipelines. Hell, you can create and write the files right there on the server with nothing more than an SSH terminal if you want.
3 0 ReplyPHP is pretty damn awesome really... Sad that it's gone out of favor IMHO
2 0 Reply
I was wondering for a second why my town of all places was posted lmao. Also made me realize I forgot to turn my vpn back on.
4 0 ReplyThis is great, because it located me about a full day's drive from where I live, so I'm still pretty anonymous :-)
4 0 ReplyHah, not my town, but close. That's where my ISP is located though.
3 0 ReplyI'm not using a VPN and the location isn't accurate.
2 0 ReplyI hate this so much. Its super cool but MAN what the hell. I don't think I'm going to ever turn off my VPN anymore. I'm in a super small town and that image is correct.
It's cached somewhere because I can't get it to update. Maybe time for a new account too. Hmmmm
1 0 Reply[This comment has been deleted by an automated system]
1 0 ReplyYeah, app cache had to be cleared. We good
1 0 Reply
Hey. I wanted to do this tomorrow.
Well I have a new idea which is pretty similar
1 0 Reply[This comment has been deleted by an automated system]
2 0 ReplyI'm plannig to make one of these "dox'd memes" where someone says something controversial and another one answers with the ip address.
4 0 Reply[This comment has been deleted by an automated system]
3 0 Reply
It’s got me about an hour from where I actually am
1 0 Reply