4
0

Patrick.net Suggestions


 invite response                
2012 Apr 2, 7:09am   180,395 views  477 comments

by Patrick   ➕follow (59)   💰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 99 - 138 of 477       Last »     Search these comments

99   SunnyvaleCA   2019 Mar 5, 8:19pm  

Is it some sort of strange setting, or is everyone seeing the word " you " colored red? I'd suggest you get rid of this "feature."
100   FuckTheMainstreamMedia   2019 Mar 5, 8:43pm  

SunnyvaleCA says
Is it some sort of strange setting, or is everyone seeing the word " you " colored red? I'd suggest you get rid of this "feature."


You just don't understand why you is such a big deal. Especially to you.
101   AD   2019 Mar 11, 8:07pm  

CovfefeButDeadly says
You just don't understand why you is such a big deal. Especially to you.


Fortunately "you" doesn't get highlighted in red in images.

102   MrMagic   2019 Mar 29, 12:31pm  

@patrick

Make new thread button not showing. Is there a bug?
103   BigFrank   2019 May 11, 3:04pm  

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

For the sake of Free Speech, and those of us curious enough to do anything meaningful about preserving it, you should have a way for those of us who aren't easily triggered simple simon Snowflakes to see what the moderators are censoring. Like post #108, if you feel the need to hide it from the public in the name of censoring Free Speech, you should allow the rest of us to click on it and see what was said to judge for ourselves. @Patrick
104   MrMagic   2019 May 11, 8:34pm  

personal
105   WookieMan   2019 May 12, 8:19am  

BigFrank says
Like post #108, if you feel the need to hide it from the public in the name of censoring Free Speech, you should allow the rest of us to click on it and see what was said to judge for ourselves.


@Patrick - actually kind of like this idea. 9 out of 10 times I wouldn't click on it as I likely know what the commenter (especially longtime guys) were saying anyway. But I sometimes see stuff marked personal from people here I would have never have expected to have a comment marked personal. Plus as one of the people that can take stuff down, it would be nice to know the "standard" so to speak that other moderators use to remove stuff.

There's a high likelihood this could completely backfire, but might be a fun test trial like the YOU thing you did.
106   MisdemeanorRebel   2019 May 12, 2:40pm  

Did Hat get banned? Asking because I'm looking for that "Haha Whitey You will be Replaced despite Us saying for 3 decades you're paranoid and that's not our intent" thread
107   Patrick   2019 May 12, 2:46pm  

Yes, he was shitting on the site. Really too far.
108   Patrick   2019 May 12, 7:37pm  

@WookieMan I have actually exposed them all in the past, and not much came of it. Most of the personal comments are pretty clearly personal.
109   MrMagic   2019 May 12, 9:27pm  

HonkpilledMaster says
Did Hat get banned? Asking because I'm looking for that "Haha Whitey You will be Replaced despite Us saying for 3 decades you're paranoid and that's not our intent" thread


He sounded just like your old friend Kaki reincarnated. And when I pointed that out, my comment got flagged as personal... go figure..

It's getting way past the point of ridiculous with the "thought Police" here...
110   Patrick   2019 May 13, 6:59am  

Yes, definitely a previous user back just to cause problems.
111   Hircus   2019 May 16, 4:27pm  

Please allow youtube videos to go full scren
112   Patrick   2019 May 16, 10:20pm  

Hircus says
Please allow youtube videos to go full scren


@Hircus Thanks for the suggestion. My earlier comment was wrong, and is deleted now. Wish granted, at least for videos posted from now on!

I actually had a bug where I did not have "allowfullscreen" on the list of allowed tags for the youtube iframe, so they were being stripped out of the html. You helped me fix it by asking why that didn't work.
113   Hircus   2019 May 17, 8:20pm  

I often link to images in my posts. I feel 99% of the time, the best thing to do is to upload the image to patnet because if I link to an external url, one day it will likely break, and then people can't see the image anymore. Also, uploads likely help avoid workplace filters. But, it's soooo easy to just link externally, vs it taking a handful of steps to upload, so I rarely upload.

So, I think it should be easier to to do the right thing - which is upload images.

Suggestion:

Add a checkbox near the new post input box, labeled "auto upload external urls found in img tags", and check it by default so most people use it. Then, upon post submit, scan for img tags and grab those w/ external urls, download the image, and replace the url w/ the generated patnet url.
114   Patrick   2019 May 17, 8:43pm  

You're right about images, and I was actually working on that today.

I'm going to let people enter external urls, and then simply upload the image to a cache on my server so that:
1. it won't break if the image goes away
2. it won't show the broken ssl lock when the external image is not from an https site
3. it's really easy for users
4. big threads with lots of external images won't bounce around when loading, because all the image sizes will be known
115   Hircus   2019 Jun 8, 9:20pm  

Could you make the uploaded filenames more unique?

I have this issue both for files that I upload, as well as for urls that you auto convert to files for me.

If I upload more than 1 image per month that has the same name, I run into duplicate issues. Eg, if both my files are named "image.png", then your generated filename is always:

/uploads/7/c/1/7c10bffdd6786d9ff3908b95ac53175b.pngimage.png

And, auto uploaded files are always named like:

/uploads/7/c/1/7c10bffdd6786d9ff3908b95ac53175b.png

Notice, it's missing the end.
116   Patrick   2019 Jun 8, 9:21pm  

Thanks @Hircus I will work on that tomorrow.
117   Hircus   2019 Jun 8, 9:49pm  

btw, I often write greasemonkey scripts to customize sites I use. This is one I use for your site, that makes it easy to paste an image from my clipboard. It skips the whole "save to file, then select the file to upload" steps and lets you just paste raw image data, as well as drag + drop a file. I'll post it here for anyone who wants to use, or maybe Patrick might incorporate it into the site.

https://pastebin.com/vpYjGr47
118   Patrick   2019 Jun 9, 9:37am  

@Hircus I deployed a fix for your issue, I think:

https://github.com/killelea/node.patrick.net/commit/3a25449a912d87673fcd32bfad0ada6ead4182cb

So that should make each image upload distinct. I had assumed that no user would upload the same filename more than once, but I guess that isn't true.

Greasemonkey looks like fun. Too bad it's Firefox-only. Could I add that functionality to patrick.net directly?
119   Hircus   2019 Jun 9, 10:26am  

Awesome, thanks

They call the idea "userscripts", and they should have an addon for most browsers, perhaps under a different name. They usually follow the *monkey naming convention, eg I use Tampermonkey on Chrome and Opera.

But, ya I think other users would appreciate if that code was built directly into patnet natively. I think if you just run that code as-is via the DOMContentLoaded event, it should work, although you might want to change it - such as just add the css rule directly to your css file, maybe just edit the html file directly instead of using js to manipulate it, etc...
120   Hircus   2019 Jul 13, 3:11pm  

I'm having trouble w/ profile pics. I've tried uploading various sizes / aspect ratios of my current profile pic, but it always gets presented with very small dimensions, much smaller than other people's. I looked at the html, and it seems I usually get about 16x15 size:

<img src='/uploads/2019/07/126743_2b43_aocrying-face.jpg' width='16' height='15' 'align='left' hspace='5' vspace='2' >

Other people seem to get 32x32 or so. How to get a bigger pic?

Also, there's a syntax error: note it says 'align= but should be align=
121   Patrick   2019 Jul 15, 8:39pm  

Thanks @Hircus Sorry for the delay, I have been traveling.

I fixed the syntax error (good find!) but don't understand the sizing problem.

Could you email an original of the crying face image to me at p@patrick.net and I'll see if I can reproduce the problem on my development version of the site.
122   noobster   2020 Jan 15, 6:51pm  

I can't seem to start a new thread. I'm new, and logged in. Using brave on mobile.

Where is the "new thread" link?
123   noobster   2020 Jan 15, 6:58pm  

Holy crap, I'm blind, Found it hiding in plain sight... gonna have to change my screen name now to avoid ridicule, haha
124   Hircus   2020 Sep 6, 9:20am  

@patrick is there some kinda anti-hotlink protection in use?

I tried to download the first video in this thread (url below)
https://patrick.net/post/1334717/2020-08-28-kneepad-harris-promises-more-riots
but get 403 forbidden


The video src:
https://patrick.net/uploads/8/b/f/8bfdb29a49177746a042bf0bcaa742e1.mp4

It might be due to the double dot at the end, but I am able to watch the video in my browser (vivaldi / webkit based) ok, just not download it, nor access the url directly like I am usually able to with internet videos.
125   Patrick   2020 Sep 6, 9:42am  

Hircus says
patrick is there some kinda anti-hotlink protection in use?


@Hircus Yes, I did that after being threatened by a copyright troll lawyer, even though I comply with the DMCA.

For both images and videos, the "referer" has to be present, and has to say "patrick.net" in an http request, or else you get that 403 forbidden.

But you can get around it in two ways:

1. right click on the image or video and "save as" if your browser supports that
2. if you have the terminal program "curl" you can add the referer manually, like this on the command line:

curl -H 'referer: https://patrick.net' https ://patrick.net/uploads/8/4/c/84c65f80e3a3a09480a0f2a3cd3e0543.jpg > saved_copy.jpeg

(except without the space after the https, which i had to put it so it shows you the link and doesn't put the image in this very comment)
126   Hircus   2020 Sep 6, 10:08am  

ok thanks!
127   Patrick   2020 Sep 6, 11:00am  

Wow, they have a browser? Thanks, good tip.

What about your laptop browser? I assume you have a laptop.
128   Patrick   2020 Sep 6, 11:03am  

I don't know why mobile browsers are refusing to let you save an image or video.

At least with an image you can just do a screenshot. Though that doesn't help with videos.
129   Hircus   2020 Sep 6, 1:58pm  

If the problem is referrer headers, maybe patrick could change it so that images/videos need either a referrer header OR send the login patrick.net username cookie. That way users who've logged in before and still have the cookie are exempt, which should still meet the objective of preventing wild internet hot linking. That would probably be an easy nginx config change.
130   Patrick   2020 Sep 6, 2:01pm  

Yes, that's a good idea.

Need to figure out how to do it exactly though, since the referrer header is checked in the nginx web server first, before it's possible to check whether the user is logged in.

How can nginx know whether a user is logged in?
131   Hircus   2020 Sep 6, 5:46pm  

Why not just check for the existence of the cookie name via nginx?
maybe like

if ($cookie_patricknetuser ~ "\d+") {...}


or whatever the right nginx syntax is.

A user wouldnt have the cookie unless they logged in at some point. They could spoof it, but it would only gain them hotlink viewing ability at best. I think the goal is really to allow patnet users, not necessarily ones that are currently logged in, and reusing the cookie as a way to say "weve seen this user before because they logged in once" seems convenient, and will still deny the internet at large. They can spoof the referrer header anyway, too.
132   Patrick   2020 Sep 6, 8:58pm  

@Hircus That's brilliant! Should have thought of that.

I'll try to do it tomorrow and let you know here if it works.
133   Patrick   2020 Sep 7, 11:25am  

@Hircus I think I did it. Let me know if any problems.

nginx config is absolutely horrible. I want to switch web servers, but that's a lot of work too.
134   Hircus   2020 Sep 8, 7:39pm  

@patrick seems to work for me. thanks!
135   rocketjoe79   2020 Sep 29, 10:25am  

Is there a way to turn off Avatar pics? I love this site but some Avatars are NSFW (Trumping Tits, I'm talking to you!)
I sometimes have kids and Karens running around the house. I don't want to be labelled a porn toad or pedo.
136   WookieMan   2020 Sep 29, 1:40pm  

rocketjoe79 says
Trumping Tits, I'm talking to you!

His doesn't even show up for me anymore. Not sure if it's a cache thing or not. Just get the ? mark missing image box on my end.
137   RWSGFY   2020 Sep 29, 1:49pm  

rocketjoe79 says
Is there a way to turn off Avatar pics? I love this site but some Avatars are NSFW (Trumping Tits, I'm talking to you!)
I sometimes have kids and Karens running around the house. I don't want to be labelled a porn toad or pedo.


Adblock extension for your browser allows to put any pic on "ignore", so you'd never see it again.
138   rocketjoe79   2020 Sep 29, 1:54pm  

Thanks! AdBlock did thre trick, much obliged.

« First        Comments 99 - 138 of 477       Last »     Search these comments

Please register to comment:

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