webdev03 / scratch-spam

Scratch spam detection
MIT License
1 stars 3 forks source link

Node #3

Closed webdev03 closed 2 years ago

hello-smile6 commented 2 years ago

Nice!

webdev03 commented 2 years ago

What's headless mode?

webdev03 commented 2 years ago

OHH, you mean, with a config thing. I'll set up an authentication thing soon.

hello-smile6 commented 2 years ago

OHH, you mean, with a config thing. I'll set up an authentication thing soon.

Could you add support for a configuration project that trusted users could comment on in order to change settings? Also, you might want to find a NodeJS canvas module or something and just automatically delete posts that have UTF-16 whitespace characters, but not delete posts from approved users.

webdev03 commented 2 years ago

Tried that earlier. Doesn't work. I fixed the bug, run the script with Node 16

webdev03 commented 2 years ago

https://scratch.mit.edu/users/griffpatch/#comments-181316728

hello-smile6 commented 2 years ago

Tried that earlier. Doesn't work. I fixed the bug, run the script with Node 16

What was the error? Also, I fixed a syntax error in my code.

hello-smile6 commented 2 years ago

Sorry if it's a bit disturbing that I went with chopUpAndCook() for my example, it's the first thing I thought of.

webdev03 commented 2 years ago

Thanks @hello-smile6 for recommending Node, made it 200000000000x easier :)

hello-smile6 commented 2 years ago

Thanks @hello-smile6 for recommending Node, made it 200000000000x easier :)

Could I test first?

webdev03 commented 2 years ago

Sure. Right now it doesn't do any filtering, but if you log the comments object after the loop it works.

hello-smile6 commented 2 years ago

Sure. Right now it doesn't do any filtering, but if you log the comments object after the loop it works.

Okay

hello-smile6 commented 2 years ago

Hi from vscode! Sharing screenshot on web

hello-smile6 commented 2 years ago

image

hello-smile6 commented 2 years ago

@webdev03 Could you look at #6 ?

hello-smile6 commented 2 years ago

@webdev03 Try this extension for vscode.

Name: GitHub Notifications Id: fabiospampinato.vscode-github-notifications-bell Description: A secure, customizable, statusbar icon that notifies you about notifications on GitHub. Version: 2.3.1 Publisher: Fabio Spampinato VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-github-notifications-bell

It's nice.

webdev03 commented 2 years ago

I am merging this once I rewrite docs. Should I make a github action which updates NPM, PNPM, and YARN lockfiles?

hello-smile6 commented 2 years ago

I am merging this once I rewrite docs. Should I make a github action which updates NPM, PNPM, and YARN lockfiles?

Huh, why not just use NPM? It's bundled with Node.