4
0

Patrick.net Suggestions


 invite response                
2012 Apr 2, 7:09am   205,967 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 280 - 319 of 510       Last »     Search these comments

280   Patrick   2022 Sep 9, 10:38pm  

An unforeseen benefit of the "save as draft" feature of composing a new thread: as long as the thread is a draft, it is not visible except to the author as a note on the home page.

This means that if you want to remove one of your threads from visibility, you can just edit it and click "save as draft".
281   Patrick   2022 Sep 12, 1:11pm  

Thanks, I must have broken something. I'll take a look.
282   Eric Holder   2022 Sep 12, 2:32pm  

@Patrick

There is something wonky going on with quoting: when I post a reply to one one message with a quote in a thread and then try to reply to another in the same thread the first one gets quoted again instead of the second one. (MacOs 12.5.1, Firefox 104.0.2)

UPD. Tried to make a screen recording of this behaviour and of course it works normally now. =))
283   Patrick   2022 Sep 12, 2:40pm  

If any text is selected, the quote link assumes you want to quote that text.

So if you want to quote two people, make sure you unselect before making the second quote. Or maybe I can do that automatically...
284   Eric Holder   2022 Sep 13, 12:10pm  

Patrick says

If any text is selected, the quote link assumes you want to quote that text.

So if you want to quote two people, make sure you unselect before making the second quote. Or maybe I can do that automatically...


I'm aware of this behavior. That wasn't it.
285   Patrick   2022 Sep 13, 3:36pm  

Finally got image upload progress indicator working as well. Just text percentage uploaded, but good enough for now.

286   Patrick   2022 Oct 17, 12:50pm  

A suggestion for users: for additional privacy when pasting URLs, try to delete as many of the GET parameters (the stuff after the ? mark).

You can just try deleting all of them, and if that works, paste that URL. Otherwise, you may have to keep some to get the page to work.

The goal is to prevent any identifying parameters which websites sometimes tack on to track which user a URL came from. Patrick.net never does that, btw.

fb_id=nnnn or anything like that is clearly Facebook adding on who you are.
287   Patrick   2022 Oct 20, 1:13am  

Now images in quotes will be reduced to half size. Huge images get in the way of quoting.

Dan8267 says

Trolls do well not to piss off admins. This must be a new species of troll: suiciders.



288   AmericanKulak   2022 Oct 20, 1:21am  

Patrick says

Finally got image upload progress indicator working as well. Just text percentage uploaded, but good enough for now.

Looks like Ireland to me. There's only one kind of green grass like that.
289   Patrick   2022 Oct 20, 1:25am  

Patrick says





@AmericanKulak

Yes, Cliffs of Moher. Crazy beautiful and dangerous to walk along. Look how close the path goes to the cliff. And the wind was gusting back and forth.
290   Blue   2022 Oct 20, 1:55am  

Patrick says

Yes, Cliffs of Moher.

They resembles to Channel Islands National Park.
291   Patrick   2022 Oct 29, 9:37pm  

@citTits I don't remember putting that in, but must have.

I see now it's 7 new threads per day. I kinda remember that someone was trying to spam the forum with new threads at some point.

Sorry about that.
292   Patrick   2022 Oct 31, 4:11pm  

I think I've got image tagging working.

Below any image wider than 300px, you will see an "add tag" button.

You can click it, enter a tag, and then that image will be tagged with your tag, which allows much easier search of images (if you know the tag to search by).

All the tags will start with _ because:

1. # does not work in urls, being reserved for within-page links
2. _ will add some uniqueness so that you can search otherwise common words and get a limited set of relevant result images

The tags are stored in the "alt" property of the image, so the author of the comment or post with an image can go in and manually add, change, or delete a tag on any image he or she posted.
294   Patrick   2022 Oct 31, 5:07pm  

@zzyzzx OK, did it.

Now this is the definitive thread for the Pelosi attack:

https://patrick.net/post/1377463/2022-10-28-pelosi-s-husband-threatens-to-release
295   Hircus   2022 Nov 2, 7:16pm  

@patrick

I tried out tesseract today (an ocr lib) and it was easy to use. I was thinking maybe you could use it to make the text in images searchable. Tags still fill the void when the image doesn't contain any relevant text, but many images on here contain headlines, and so might be useful if they were searchable.


// npm install tesseract
// fyi I used node 18.12.0
const Tesseract = require('tesseract.js')
let filename = 'npr.png'

Tesseract.recognize(filename)
.catch(err => console.error(err))
.then(function (result) {
console.log(result)
console.log(result.data.text)
process.exit(0)
})



result of console.log(result.data.text)
m K@su L SIGNIN i NPR SHOP
[E] NEWS X CULTURE J MUSIC () PODCASTS & SHOWS Q SEARCH >
TECHNOLOGY
4] . .
Elon Musk said Twitter wouldn't become
v a 'hellscape.’ It's already changing
E October 31}, 2022 - 4:'?9 PMET
‘v‘ gs Considered
fl SHANNON BOND


from



I think it worked pretty well out of the box w/ default settings! It still worked w/ my network cable unplugged, so they aren't calling some web spyware service to accomplish it - its done locally.

Maybe an implementation could be something like

CREATE TABLE image_words (
post_id INT,
file_name VARCHAR(255) NOT NULL,
words VARCHAR(20000),
created_at DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL,
most_recent_ocr_attempt DATETIME,
most_recent_ocr_success DATETIME,
FULLTEXT KEY (words),
-- I'm not sure which of the following indexes would work best w/ mysql for the query, but one of them should work well I think.
INDEX dates1 (most_recent_ocr_success, most_recent_ocr_attempt, created_at),
INDEX dates2 (most_recent_ocr_attempt, created_at)
);

-- Have a background worker run this query and process the results every X minutes.

-- Find rows that have not been successfully processed yet.
-- If an attempt was made on a row, but it failed, we try to process it again but not for at least a week.
-- The reason we process newest first is a similar reason for why we wait 1 week before reattempting
-- a failed row - this query+table is basically a queue, and we want to make sure we don't eventually clog the head of the queue up
-- with stuff that keeps failing over and over, which might prevent the worker from ever consuming fresh work that it
-- can succeed with. Let it try the new stuff first, and then if it has spare time, it can reattempt failed stuff.
select *
from image_words
where most_recent_ocr_success is null
and (
most_recent_ocr_attempt < CURRENT_TIMESTAMP - interval 1 week
or
most_recent_ocr_attempt is null
)
order
by created_at desc
limit 100

296   Patrick   2022 Nov 3, 7:46pm  

Hircus says

I tried out tesseract today (an ocr lib) and it was easy to use. I was thinking maybe you could use it to make the text in images searchable. Tags still fill the void when the image doesn't contain any relevant text, but many images on here contain headlines, and so might be useful if they were searchable.


I will try this. Thanks @Hircus
297   Patrick   2022 Nov 4, 3:49pm  

"npm install --save tesseract" failed:


npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! ../src/tesseract_bindings.cc:7: warning: "BUILDING_NODE_EXTENSION" redefined
npm ERR! 7 | #define BUILDING_NODE_EXTENSION
npm ERR! |
npm ERR! : note: this is the location of the previous definition
npm ERR! In file included from ../src/tesseract_bindings.cc:9:
npm ERR! ../src/tesseract_baseapi.h:10:10: fatal error: baseapi.h: No such file or directory
npm ERR! 10 | #include
npm ERR! | ^~~~~~~~~~~
npm ERR! compilation terminated.
npm ERR! make: * [tesseract_bindings.target.mk:125: Release/obj.target/tesseract_bindings/src/tesseract_bindings.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Linux 5.10.0-14-amd64
npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /home/patrick/webfam.net/server/node_modules/tesseract
npm ERR! gyp ERR! node -v v17.2.0
npm ERR! gyp ERR! node-gyp -v v8.4.0
npm ERR! gyp ERR! not ok
299   Patrick   2022 Nov 4, 7:54pm  

Good suggestion. I didn't consider that.
300   stereotomy   2022 Nov 7, 1:48pm  

Periodically, I'm unable to post replies, and receive an "Invalid Nonce" error message. If I try the better part of a day later, I'm able to eventually post my reply. Is this the result of an intrinsic or an external cause?
301   Patrick   2022 Nov 7, 1:52pm  

@stereotomy

It's because of a poorly thought out system for stopping XSS. Mostly it happens when people start to edit a post or comment, and then submit it more than two hours after they started it.

I will fix it so that never happens. Thanks for the reminder to do that.
302   Tenpoundbass   2022 Nov 26, 7:48am  

Patrick do you have a way to aggregate all of the individual posts on Politicians, that you have been posting in the past year or so?
They could use their own section like Memes, Latest Images, ect. It would be nice to have a repository on the internet, that keeps the score of politicians as they rise through the ranks, then try to sell themselves as champions that their track record says otherwise. The media then hides or misrepresents those politician's track record, depending on if they are trying to bolster or destroy them.
303   Patrick   2022 Nov 26, 7:57am  

Thanks @Tenpoundbass

I got a list of all 535 Congressmen and created a thread for each of them on May 31. You can add images, memes, or whatever to any of those as usual.

You can search for any of them by name, but you'd like some kind of search that lists them all at once, right?
304   GreaterNYCDude   2022 Nov 26, 8:05am  

It might be on my end, but I notice now I'm getting automaticly logged out every week or so. Not the biggest deal, more a minor inconvenience.
305   Patrick   2022 Nov 26, 8:10am  

@GreaterNYCDude Huh, that should not happen and I have not noticed it myself.

Being logged in on patrick.net just means having a cookie in your browser that is an encrypted version of your password.

Sometimes people have their browser set to erase all cookies when they quit the browser. Could that be it?
306   Patrick   2022 Nov 26, 10:51am  

@cisTits @GreaterNYCDude

Can you look at the cookie expiration date in your browser's dev tools? For me, it looks like this:



(Don't paste the actual value of your cookie here or others can see it and become you.)

So the expiration date for the cookie in my browser is about 6 months from now.
307   Tenpoundbass   2022 Nov 26, 11:18am  

Patrick says

You can search for any of them by name, but you'd like some kind of search that lists them all at once, right?


Yes a searchable section dedicated to politicians, by office and party.
Perhaps on down the road, then I would like to be able make api calls to your Critter Catcher, you could become the go to source for such crowd sourced repository. Like the Craigslist, Wiki, or Facebook of who's who elected officials and would be candidates.

I would like to make a precinct map, and an aide for people to navigate their elected vermin vs heroes getting geo data for that is easy, getting info on the polls records on issues is not.
308   Patrick   2022 Nov 26, 11:41am  

Ballotopedia has a lot of the facts:

https://ballotpedia.org/Rand_Paul

But they do not let you write comments about the politicians, I think.
309   Patrick   2022 Nov 26, 12:05pm  

Maybe they are deliberately erasing the patrick.net cookie. I don't trust DDG.
310   Tenpoundbass   2022 Nov 26, 1:52pm  

Patrick says

Ballotopedia has a lot of the facts:


Ballotopia is curated glorified facts for some, and regurgitated MSM smears for others. It's not a collection of posted articles with discussions as they happened. The media likes to rewrite history and play selective memory, it would be nice to have the receipts from when the episodes were unfolding before the media can spin and clean it.
311   Tenpoundbass   2022 Nov 26, 4:28pm  

Also with your critter catcher, people will post in them when RINOs vote with Dems on issues, that undermined our interests. Ballotopia only tracks bills they sponsored, not how they voted, or the detriment it had on their base at the time. People forget these events, it would be nice to have a place to replay the tape. We're looking for Backstabbing events, or Hero events, not general official records. Nobody remembers the ramifications of those when the next election cycle comes.
312   Patrick   2022 Nov 26, 7:32pm  

Tenpoundbass says

Yes a searchable section dedicated to politicians, by office and party.
Perhaps on down the road, then I would like to be able make api calls to your Critter Catcher, you could become the go to source for such crowd sourced repository. Like the Craigslist, Wiki, or Facebook of who's who elected officials and would be candidates.


How would this be different from search right now? If you know a Congressman's name and put it in, you will find a page for them.

I do plan to make an API so that people can use patrick.net programatically, or by using the API in an app (though I hate apps).
313   richwicks   2022 Nov 27, 7:51pm  

I have two suggestions:

1) I want the ability to tag a comment do I can refer back to it. Some things take days or weeks to research. I can bookmark them (and do), but it would be nice to have the ability to tag/untag a comment

2) It would be nice to have a list of responses to what I've written. I know this is sent in email, but I think it would be better to have a pull down on responses you need to take note of.
314   FortwayeAsFuckJoeBiden   2022 Nov 27, 7:52pm  

richwicks says

I have two suggestions:

1) I want the ability to tag a comment do I can refer back to it. Some things take days or weeks to research. I can bookmark them (and do), but it would be nice to have the ability to tag/untag a comment

2) It would be nice to have a list of responses to what I've written. I know this is sent in email, but I think it would be better to have a pull down on responses you need to take note of.


like favorites? or just searchable tags?
315   richwicks   2022 Nov 27, 9:04pm  

FortwayeAsFuckJoeBiden says


richwicks says


I have two suggestions:

1) I want the ability to tag a comment do I can refer back to it. Some things take days or weeks to research. I can bookmark them (and do), but it would be nice to have the ability to tag/untag a comment

2) It would be nice to have a list of responses to what I've written. I know this is sent in email, but I think it would be better to have a pull down on responses you need to take note of.


like favorites? or just searchable tags?



Searchable tags would be nice, but I think that's overkill. Say you can tag a comment with a name, and search based on that..

I'm thinking more like a website favorites.
316   Patrick   2022 Nov 29, 2:28pm  

Tenpoundbass says

Yes a searchable section dedicated to politicians, by office and party.


@Tenpoundbass OK, how about this:

https://patrick.net/post/1377838/2022-11-29-us-congressmen-lists
317   Patrick   2022 Nov 29, 3:19pm  

richwicks says

Searchable tags would be nice, but I think that's overkill. Say you can tag a comment with a name, and search based on that..


Well, every comment already has a unique id number, and you can find any comment by number like this:

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

Or did you mean a way to give multiple comments the same tag?
318   richwicks   2022 Nov 29, 4:02pm  

Patrick says


Tenpoundbass says


Yes a searchable section dedicated to politicians, by office and party.


Tenpoundbass OK, how about this:

https://patrick.net/post/1377838/2022-11-29-us-congressmen-lists



I think just having a checkmark to the left to tag a post as something you need to follow up on would be nice.

I imagine having a button to the LEFT of a post might be difficult to implement but something like that would be ideal.

Basically, bookmarks for the site is what I suggest.
319   Patrick   2022 Nov 29, 4:21pm  

@richwicks OK, something like the existing "pinned" list for threads:

https://patrick.net/pinned?a=Patrick

But for comments instead, right?

It wouldn't say why you pinned a comment, but hopefully you'd remember why.

« First        Comments 280 - 319 of 510       Last »     Search these comments

Please register to comment:

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