non-biased-news beta

news that isn't biased (also real life news sometimes)

wall

posts

non-biased-news — 6/8/2022, 2:18:44 PM

YAYYYYY

Last Day Of School!!!!!11!!1111111111

♥ 4 ↩ 0 💬 0 comments
non-biased-news — 6/7/2022, 9:08:56 PM

Vote for Non Biased News Red here:

https://colornames.org/color/f87171

↩ repost
micahlt — 6/7/2022, 5:11:44 PM

Somehow on ColorNames, there are 17 votes to make the color #ff3a3a “Limited Edition Micah Archos Red” because it’s the color of my logo lol

https://colornames.org/color/ff3a3a

♥ 15 ↩ 3 💬 10 comments
♥ 2 ↩ 0 💬 0 comments
non-biased-news — 6/7/2022, 5:21:12 PM

Yay!

For the CodeComm API, it now works!

You can create accounts, log in, and for v1, it has a token system!!

♥ 5 ↩ 0 💬 0 comments
non-biased-news — 6/7/2022, 5:04:51 PM

@holidaysbot got ruined because of the news bot rules :(

note: I was going to make it

♥ 2 ↩ 0 💬 0 comments
non-biased-news — 6/7/2022, 2:56:21 PM

It’s kinda strange that I know the exact time but yea.

↩ repost
non-biased-news — 6/7/2022, 2:44:36 PM

I get them off 45 minutes 31 seconds!

↩ repost
non-biased-news — 6/6/2022, 6:21:31 PM

I get my braces off tommorow!!1!!!!111!2

Yay.

♥ 5 ↩ 1 💬 10 comments
♥ 1 ↩ 1 💬 3 comments
♥ 2 ↩ 0 💬 0 comments
non-biased-news — 6/7/2022, 2:44:36 PM

I get them off 45 minutes 31 seconds!

↩ repost
non-biased-news — 6/6/2022, 6:21:31 PM

I get my braces off tommorow!!1!!!!111!2

Yay.

♥ 5 ↩ 1 💬 10 comments
♥ 1 ↩ 1 💬 3 comments
non-biased-news — 6/7/2022, 2:14:24 PM

Bundle v2 is out!

https://lankybox02.github.io/bundle/

♥ 6 ↩ 0 💬 0 comments
non-biased-news — 6/7/2022, 2:14:06 PM

Bot News :(

↩ repost
jeffalo — 6/7/2022, 6:24:08 AM

ok botting rules (subject to change, but effective immediately)

  • bots must be clearly labelled as such, and link to the maintainer’s account in the bio or something. in the future, there might be a bot label.

  • bots may not perform social actions such as: following, liking, reposting

  • bots may not post individual posts automatically, with the exception of “daily/weekly/monthly x” accounts, which can post a maximum of one post per day at a fixed time.

  • bots may not reply to posts/comments unless explicitly triggered:

  • bots must be triggered by @ mentions, or wall comments on the bot account’s wall.

  • bots should use the wasteof2 api (api.wasteof.money), as the beta api is subject to change and is designed for internal usage

  • bots should not poll my server too hard, try using the socket.io api to only perform actions once a mention message is received.

    • to do this, use a server side socket.io client, and listen for updateMessageCount events. when the count increases, request the unread message list and respond to new mention comments.

it is really cool to see all the unique ways that the api is being used, but let’s try to keep it a little bit controlled. :)

♥ 46 ↩ 4 💬 67 comments
♥ 3 ↩ 0 💬 0 comments
non-biased-news — 6/7/2022, 2:01:55 PM

Same!!!!

EDIT: Actaully tommorrow

↩ repost
sierralima — 6/7/2022, 12:55:03 PM

Last day of school!!!!!!!

♥ 8 ↩ 1 💬 4 comments
♥ 4 ↩ 0 💬 6 comments
non-biased-news — 6/6/2022, 11:37:42 PM

Ummm @jeffalo

♥ 3 ↩ 0 💬 4 comments
non-biased-news — 6/6/2022, 8:12:35 PM

@jeffalo

Could I have a full list of all the current users on wasteof?

I have the account @nbn for following people but I don’t have a big list.

I’m going to make a script to follow the whole list.

♥ 1 ↩ 0 💬 10 comments
non-biased-news — 6/6/2022, 7:35:59 PM

THE ABOUT PAGE BUTTON IS BACK BUT DOESN’T WORK!!!!!!!

♥ 4 ↩ 0 💬 0 comments
non-biased-news — 6/6/2022, 6:26:34 PM

Does anyone know how to make it work

↩ repost
non-biased-news — 6/6/2022, 6:22:57 PM

I’m trying to add loggin in the the CodeComm API.

It isn’t working…

help

from fastapi import FastAPI
import json
import  re
from passlib.hash import pbkdf2_sha256
import ast

app = FastAPI()
accregex = r"^[a-z0-9_\\-]{0,20}$"

@app.get('/')
def main():
  return {'codecomm': 'v1'}

@app.get('/accounts/join')
def join(username: str, password: str):
  if re.fullmatch(accregex, username):
    #hash password
    password = pbkdf2_sha256.hash(password)
    accjson = {username: {"name": username, "password": password, "admin": False}}

    #write user data to users.json
    with open('users.json') as f:
      data = json.load(f)
      data.update(accjson)
    with open('users.json', 'w') as f:
      json.dump(data, f)

    return {'ok': 'made account'}
  else:
    return {'error': 'invalid username'}

@app.get('/accounts/login')
def login(username: str, password: str):
  global userdata, userpwdhash
  userdata = json.loads('users.json')
  userdata = ast.literal_eval(userdata)
  if username in userdata:
    userdata = json.loads(userdata)
    userpwdhash = userdata.get('password')
  else:
    return {'error': 'user not found'}
  pbkdf2_sha256.verify(password, userpwdhash)
  return {'ok': 'logged in'}
  

@codecomm

♥ 3 ↩ 1 💬 2 comments
♥ 1 ↩ 0 💬 24 comments
non-biased-news — 6/6/2022, 6:22:57 PM

I’m trying to add loggin in the the CodeComm API.

It isn’t working…

help

from fastapi import FastAPI
import json
import  re
from passlib.hash import pbkdf2_sha256
import ast

app = FastAPI()
accregex = r"^[a-z0-9_\\-]{0,20}$"

@app.get('/')
def main():
  return {'codecomm': 'v1'}

@app.get('/accounts/join')
def join(username: str, password: str):
  if re.fullmatch(accregex, username):
    #hash password
    password = pbkdf2_sha256.hash(password)
    accjson = {username: {"name": username, "password": password, "admin": False}}

    #write user data to users.json
    with open('users.json') as f:
      data = json.load(f)
      data.update(accjson)
    with open('users.json', 'w') as f:
      json.dump(data, f)

    return {'ok': 'made account'}
  else:
    return {'error': 'invalid username'}

@app.get('/accounts/login')
def login(username: str, password: str):
  global userdata, userpwdhash
  userdata = json.loads('users.json')
  userdata = ast.literal_eval(userdata)
  if username in userdata:
    userdata = json.loads(userdata)
    userpwdhash = userdata.get('password')
  else:
    return {'error': 'user not found'}
  pbkdf2_sha256.verify(password, userpwdhash)
  return {'ok': 'logged in'}
  

@codecomm

♥ 3 ↩ 1 💬 2 comments
non-biased-news — 6/6/2022, 6:21:31 PM

I get my braces off tommorow!!1!!!!111!2

Yay.

♥ 5 ↩ 1 💬 10 comments