this post was submitted on 11 Aug 2023
499 points (96.8% liked)

Privacy

31938 readers
942 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

Note: This post now archived and as such no longer works

An external image showing your user-agent and the total "hit count"

you are viewing a single comment's thread
view the rest of the comments
[–] skullgiver@popplesburger.hilciferous.nl 131 points 1 year ago (41 children)

Made a meme one that took 3 minutes to program, 5 minutes to find a good offline GeoIP location source for, 10 minutes to come up with a design for, and half an hour to make sure nothing got logged by the web server.

An image that tells you where you live based on your GeoIP location

[–] kabobglance@infosec.pub 4 points 1 year ago (1 children)

You have the code for this? Very interested in how you implemented it

[–] skullgiver@popplesburger.hilciferous.nl 14 points 1 year ago* (last edited 11 months ago) (1 children)

[This comment has been deleted by an automated system]

[–] kabobglance@infosec.pub 7 points 1 year ago (2 children)

Damn, PHP is such a sleeper of a language, I always forget how useful it can be.Thanks for sharing!

[–] skullgiver@popplesburger.hilciferous.nl 7 points 1 year ago (2 children)

PHP is underappreciated, especially recent PHP. Null coalescing operators! Actually typed variables that produce an error if you pass the wrong type! It's superior to Python despite it's mid-2000s-spaghetti-college-kid-developer reputation.

Hell, I may get downvoted for this, but I honestly believe PHP's Doctrine is superior to Java/Kotlin's Hibernate. Symfony and Spring are almost equally good in terms of functionality, though PHP is quite a lot slower, sadly.

[–] kabobglance@infosec.pub 1 points 1 year ago

Nice, sounds like it's getting modernized. I'll have to give it another round, thanks!

[–] salient_one@lemmy.villa-straylight.social 0 points 1 year ago* (last edited 1 year ago) (1 children)

Genuinely curious, how is it superior to Python in your opinion?

Edit: Apart from the things you listed 😅

[–] Anticorp@lemmy.ml 3 points 1 year ago

It 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.

[–] Anticorp@lemmy.ml 3 points 1 year ago

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.

load more comments (39 replies)