4
0

Patrick.net Suggestions


 invite response                
2012 Apr 2, 7:09am   205,958 views  510 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 489 - 510 of 510        Search these comments

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:


499   Patrick   2024 Aug 13, 9:36am  

Thanks for letting me know. I guess I'm being too aggressive against the robots.

OK, now I allow 30 requests per minute instead of only 15.
500   FarmersWon   2024 Aug 13, 9:41am  

I think There should be atleast two tabs.
USA
WORLD

@patrick
People with international topic don't want to bore USA centric readers.
501   DOGEWontAmountToShit   2024 Aug 13, 9:42am  

FarmersWon says

People with international topic don't want to bore USA centric readers.


That's just your posts, for the most part.
502   DOGEWontAmountToShit   2024 Aug 13, 9:46am  

Patrick says


Thanks for letting me know. I guess I'm being too aggressive against the robots.

OK, now I allow 30 requests per minute instead of only 15.


Well, I am a 'power poster'. I can post per minute really fast. Probably faster than the bots.
503   Patrick   2024 Aug 13, 11:47am  

I'm actually a bit confused as to how nginx rate limiting works. Here are the relevant lines:

limit_req_zone $binary_remote_addr zone=ratelimit:10m rate=30r/m; # 30 requests per minute, to match robots.txt "Crawl-Delay: 2"
limit_req_status 429;
...
limit_req zone=ratelimit burst=10 nodelay; # commented out in dev, uncomment in prod!

I think I'm saying create a 10 mb memory area called "ratelimit" and limit each ip address to 30 requests per minute, but allowing up to 10 requests at once and not just delaying requests that exceed that 10 to match the rate limit.

"When the 'nodelay' parameter is set, requests that exceed the burst limit will be rejected immediately with a 503 Service Unavailable error, instead of being delayed."
504   DOGEWontAmountToShit   2024 Sep 5, 4:45pm  

@Patrick

For the link to the latest images, can you add the #footer param to it?

Because it is at the bottom of the last page of them where the actual latest image is.
505   Patrick   2024 Sep 5, 8:04pm  

@DemocratsAreTotallyFucked

Sure thing, done. Though I used #last because that's more consistent with how that image thread works. Oversight on my part not to have it there to begin with.
506   DOGEWontAmountToShit   2024 Sep 5, 8:07pm  

Patrick says

DemocratsAreTotallyFucked

Sure thing, done. Though I used #last because that's more consistent with how that image thread works. Oversight on my part not to have it there to begin with.


Cool! Just tested it. Works great.
507   DOGEWontAmountToShit   2024 Nov 18, 10:02am  

@Patrick

Tried using the font size attribute here:

https://patrick.net/comment?comment_id=2118924

But it just gets stripped out.
508   Patrick   2024 Nov 18, 10:47am  

@DOGEWontAmountToShit

True, font size is not one of the allowed attributes:



The reason is that people could then make a post unreadable by making the font in a comment ultra-huge.

But with a bit of work, I could allow the size attribute and put a cap on it.
509   DOGEWontAmountToShit   2024 Nov 18, 10:51am  

Patrick says

But with a bit of work, I could allow the size and put a cap on it.


Ok.

Do you have what is allowed or not in any master list? If so, can you post that here?

It would be good to know before I try to use any of them.

On the other hand, could be a waste of time as I am one of few PatNetters who actually embeds HTML in his posts/comments.
510   Patrick   2024 Nov 18, 10:57am  

That is the master list. You can see which tags and which attributes are allowed.

« First        Comments 489 - 510 of 510        Search these comments

Please register to comment:

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