4
0

Patrick.net Suggestions


 invite response                
2012 Apr 2, 7:09am   206,433 views  520 comments

by Patrick   ➕follow (61)   💰tip   ignore  

This is the place to make suggestions for how Patrick.net can be most helpful to you and to discuss them.

 _suggestion

« First        Comments 459 - 498 of 520       Last »     Search these comments

459   Patrick   2024 Apr 22, 2:12pm  

@UkraineIsTotallyFucked

How did you get that response? It should not happen to a person unless you click reload like mad.

I had to implement rate limiting after getting swarmed by robots, but I thought I had it so that it would be indetectable by humans.
460   DOGEWontAmountToShit   2024 Apr 22, 2:41pm  

Patrick says

UkraineIsTotallyFucked

How did you get that response? It should not happen to a person unless you click reload like mad.

I had to implement rate limiting after getting swarmed by robots, but I thought I had it so that it would be indetectable by humans.


I go to various threads at my normal speed. Those are technically reloads. And I upload and post images. I am fast but wouldn't say that I am reloading like mad.
461   Patrick   2024 Apr 22, 2:57pm  

Here's how I did the nginx config for that. Within the top http{} block:

limit_req_zone $binary_remote_addr zone=ratelimit:10m rate=15r/m; # 15 requests per minute, to match robots.txt "Crawl-Delay: 4"

So that says to limit by IP address, allocating 10MB named "ratelimit" for the rate limit data, and to limit the rate to 15 requests per minute.

Then within the / location block (the block that hits the node server rather than static files):

location / {
limit_req zone=ratelimit burst=10 nodelay;

That says for that "ratelimit" memory zone defined above, allow up to 10 requests at one burst, but still with an overall 15 requests per minute limit.

The images have no rate limit, because they are not served from node but directly from nginx via their own block starting with:
location ~ /icons/|/uploads/ {

I'm not an expert on nginx config, so maybe I misunderstand part of this.
462   Patrick   2024 Apr 22, 3:02pm  

@UkraineIsTotallyFucked

Is it possible you are sharing your IP address with others? That's a common situation if you are at work. All the outgoing traffic from a company typically goes out of a single IP address.
463   DOGEWontAmountToShit   2024 Apr 22, 3:27pm  

Patrick says

UkraineIsTotallyFucked

Is it possible you are sharing your IP address with others? That's a common situation if you are at work. All the outgoing traffic from a company typically goes out of a single IP address.


No. Just my home wifi.
464   Patrick   2024 Apr 22, 3:54pm  

@UkraineIsTotallyFucked

Ah, I noticed that your browser is making repeated requests for /apple-touch-icon.png, which does not exist on my server, and which count against your rate limit.
465   DOGEWontAmountToShit   2024 Apr 22, 4:04pm  

@Patrick if it isn't on your server, how come it count against my rate limit?
466   Patrick   2024 Apr 22, 4:12pm  

Because it starts with / but is not in the /uploads directory with other images. So it ends up hitting the node server, and there is a rate limit on that.

I had not considered the possibility of requests for non-existent images (404's) in combination with the rate limit. Programming is like that, always a new combination you hadn't thought of.

I'll think about how to fix that.
467   Patrick   2024 Apr 22, 4:20pm  

@UkraineIsTotallyFucked

I think I found a solution on the server side.

Let me know if you still get any "429 Too Many Request" responses.
468   DOGEWontAmountToShit   2024 Apr 22, 4:25pm  

There is no about:settings or about:config in DDG as far as I can find.
469   Patrick   2024 Apr 22, 4:43pm  

Should be OK anyway now. I lump in image 404's with other image requests now, not counting them against the rate limit.
470   richwicks   2024 Apr 22, 6:38pm  

Patrick says

Ah, I noticed that your browser is making repeated requests for /apple-touch-icon.png, which does not exist on my server, and which count against your rate limit.


Why would a computer be making requests from your server of files that don't exist? That shouldn't happen without an explicit request from the user, should it?
471   Patrick   2024 Apr 22, 6:49pm  

@richwicks

Browsers are programmed to look for a standard file called /favicon.ico to put into browser tabs as a visual identifier, so I created one and put it in the right spot on my server:

https://patrick.net/favicon.ico

It seems that Apple wanted in on that game, but with "apple" in the URL as a kind of perverse advertising. So certain browsers are now making tons of requests for /apple-touch-icon.png, but I haven't created that one, and won't, because it refers to a specific corporation and their sleazy marketing.

It seems to be used for the same purpose that favicon.ico is.
472   richwicks   2024 Apr 22, 6:54pm  

Patrick says

It seems that Apple wanted in on that game, but with "apple" in the URL as a kind of perverse advertising. So certain browsers are now making tons of requests for /apple-touch-icon.png, but I haven't created that one, and won't, because it refers to a specific corporation and their sleazy marketing.


Everybody's sleazy.

Remember when Microsoft tried to take over the Internet Internet by bribing companies to use Microsoft IIS and then hobbling that to only work with IE? Facebook, Google, and Twitter HAVE managed to take over the Internet, with false promises.
473   richwicks   2024 Apr 24, 8:38am  

@Patrick.

You can't always post links because of markups. I'm trying to post this link:


https://en.wikipedia.org/wiki/South_Africa_v.Israel(Genocide_Convention)


The underscores are being interpreted as a prompt to print in italics. Anything between even when I compose the link manually.

Is there a way where I can tell your site NOT to mess with what I type? So that underscore remains a literal underscore, and asterisk perhaps the same?
474   Patrick   2024 Apr 24, 1:44pm  

@richwicks Sorry about the parsing error.

I changed the regexps to require space before and after the underscore to do that. So now this should be linkified correctly:

https://en.wikipedia.org/wiki/South_Africa_v.Israel(Genocide_Convention)

Note that you can use html escape characters to prevent interpretation of underscore.

https://mateam.net/html-escape-characters/ says that the underscore escape is &#95
475   Patrick   2024 Apr 24, 1:48pm  

Shit, still did not linkify correctly. At least it didn't italicize.

I guess the parens are not in my list of url chars. Added them.

https://en.wikipedia.org/wiki/South_Africa_v.Israel(Genocide_Convention)
476   Patrick   2024 Apr 24, 1:49pm  

OK, now parens do not prevent linkification.
477   richwicks   2024 May 3, 1:03pm  

Implement something like community notes.

You either have stupid people here, or propagandists here, or AI bots pushing propaganda.

Tie posts down to scrutiny so claims can be determined true or false, and assess quality of sources. I'm tired of having the same arguments over and over again from liars, propagandists, and scumbags - maybe morons, but again, I have only met a handful of people in my ENTIRE LIFE who are actually "stupid".

If I'm wrong, well, thanks for pointing it out. I'm in the frustration where I am not told HOW I'm wrong, just that I somehow am. I don't believe them, I don't trust them.

I've dealt with people here who I spoke with for MONTHS explaining Ukraine was over-thrown, after MONTHS, they said just because Victoria Nuland picked out the government of Ukraine before their "revolution", it wasn't certain was a coup. Fuck you @"Mostly Reader" - how many dead? 300,000? 500,000? Propagandist scumbags are everywhere, including here. You're a small site, they are here.
478   richwicks   2024 May 18, 11:56am  

personal
479   WookieMan   2024 May 18, 12:37pm  

richwicks says

awaiting moderation

You gotta calm your ponies chief. I'm not moderating that comment. All I know is when you say "I know where you live" and "I will never use that against you. I won't harm you ever." Who the fuck thought they were going to get harmed by a website user??? Dude that's a veiled threat if I ever saw one.

Up to Pat about banning, but you're for sure crossing a line. We can give each other shit, but what I saw in moderation is trash. Not my site, but definitely not an adult comment is all I'll say. That's called seeing a brain doctor of some sort. Get some help dude. You're out of your element. You're wrong on a ton of stuff. It's okay. So am I. No need to call out that you know where people live. That's not remotely normal.
480   Patrick   2024 May 18, 12:51pm  

richwicks says

awaiting moderation


"He was just a fucking propagandist"
481   Patrick   2024 May 18, 12:53pm  

"OK Patrick, what vague Terms of Service did I violate now? Point them out."

@richwicks

Rule #1: "Site Rules 1. Do not deliberately insult the other users personally." from https://patrick.net/post/1277846/2015-02-09-an-antidote-to-corporate-media

You just keep on insulting other users personally.

Why do you do that?
482   WookieMan   2024 May 18, 1:09pm  

Patrick says

You just keep on insulting other users personally.

Why do you do that?

Not going to talk about anyone directly. Because it's multiple users. Some of you cats beat a dead horse over and over and over. No one cares. If they did they'd address you and you'd just go back to the original bull shit you spewed out. Some of you are clearly not open to dialog even with actual proof you're wrong. It's extremely hard to have a conversation with some of you. No one here knows everything. Stop acting like you do. Grow up toddlers.
483   DOGEWontAmountToShit   2024 May 19, 1:49am  

WookieMan says

Get some help dude


Yeah. I said that about a year or two ago to him as well. Seriously.
484   PeopleUnited   2024 May 19, 7:02am  

If someone is making veiled threats such as “I know where you live (red flags: why even bother trying to figure that out?) but I’ll never use it against youl.” it is apparent this person has already suggested that they have considered it a possibility. That is why I think this person is either mentally ill or a paid FED agitator. Either way the site owner has the right to ban such an individual to protect the safety and the discourse of free speech from malevolent actors. Someone who consistently insults other users, makes veiled threats or just simply spam posts and attempts to drown out other voices by the sheer volume and tone of their posts has actually impeded others ability to share ideas. To defend speech sometimes you have to take away a person’s megaphone so that the smaller voices can be heard.

Also if the owner of the site allows people to make repeated insults and veiled threats, it becomes questionable if others should find it safe or expedient to continue to contribute here themselves.
485   Patrick   2024 May 19, 8:48am  

Please everyone do use the flag link to mark comments that are obviously personal.
486   yawaraf   2024 May 30, 10:50pm  

Patrick,

Could you add, below the comment box, a quick summary of the html tags and other formatting tags that you accept?
487   Stout   2024 May 31, 7:19am  

Could you use a more subtle watermark on memes? The big white banner on the bottom is a bit much.
488   Patrick   2024 May 31, 9:52am  

Thanks, I agree it's jarring if the meme background is dark.

I'm not great with graphics, but would like to make the banner the same general color as the meme to not stand out as much. I don't know how to do this yet.
489   Patrick   2024 May 31, 9:59am  

yawaraf says

Patrick,

Could you add, below the comment box, a quick summary of the html tags and other formatting tags that you accept?


@yawaraf

OK, did that. How can I make it prettier or more useful?
490   yawaraf   2024 May 31, 10:30am  

Thanks. I like it.

For visuals I might surround each tag with the angle brackets or separate the with commas.

Allowed html tags: <a> <b>
Allowed html tags: a, b, blockquote

Also add them to the edit comment page.

Use the title tag to show the user a short explanation when holding the mouse over it.

<span title="bold">b</span>

Clicking on the tag inserts it together with the closing tag, if necessary. If text is selected, then the tags are put around the text.

Bonus if you can somehow, for each tag, link a page that give a full description of the element. I wouldn't know how to do that without cluttering the page.
491   Patrick   2024 May 31, 12:33pm  

Stout says


Could you use a more subtle watermark on memes? The big white banner on the bottom is a bit much.


@Stout

OK, now I'll just print the "selected by patrick.net/memes" on the bottom of the image itself instead of adding a white banner. This text will sometimes get blurred by the image itself, but sometimes will work fine, eg:


492   DOGEWontAmountToShit   2024 Jul 14, 6:07am  

You might want to make preparations to move PatNet to the dark web.
493   Patrick   2024 Jul 14, 8:59am  

I'll keep this site going one way or another.
494   DOGEWontAmountToShit   2024 Jul 31, 6:07pm  

Do we have a Completely Retarded Thread?

Not sure where to post this one:


495   Patrick   2024 Aug 12, 8:30pm  

Anyone want to try to embed a Tweet?

https://www.wikihow.com/Embed-a-Tweet


1. Go to X. Find a Tweet to embed on your site.
2. Click on the down arrow icon (v). Select Embed Tweet from the drop-down list.
3. Remove the media From the Tweet (optional), if desired. Uncheck the Include media checkbox to hide media (photos, GIFs, videos) which displayed alongside the Tweet.
4. Hide the original Tweet from a reply (optional). If the selected Tweet is a reply to another Tweet, you can hide the original Tweet by unchecking the "Include parent Tweet" checkbox.
5. Copy the HTML code from the pop-up screen. Paste into your blog or website.
6. Done. Now you can see the Tweet on your website!


If it doesn't work, please email me the HTML you pasted and I'll figure it out.
496   DOGEWontAmountToShit   2024 Aug 12, 10:31pm  

Testing. 1, 2, 3..



You don’t hate journalists enough. pic.twitter.com/qQKW5ycqvf— Rothmus 🏴 (@Rothmus) August 13, 2024



Shouldn't it look like this?


498   DOGEWontAmountToShit   2024 Aug 13, 7:39am  

I even got this while trying to post this comment:


« First        Comments 459 - 498 of 520       Last »     Search these comments

Please register to comment:

api   best comments   contact   latest images   memes   one year ago   random   suggestions   gaiste