#ot1-perplexing-regexing

1 messages · Page 524 of 1

twin charm
#

lol, his username ||duh||

brazen ingot
#

LOL is he working as a dev @quick ledge

quick ledge
#

idk

vapid nymph
#

wait really? That's the same way I found out where the python bot is located 😄

twin charm
vapid nymph
#

127.0.0.1, like all bots

quick ledge
#

oh, Im a student

twin charm
#

I wish I was

quick ledge
#

just enroll in a local school

twin charm
#

not that wtf

#

I'm not saying I am uneducated

#

I said I'm not a cs student

quick ledge
#

ahhhh

twin charm
#

lol not like I dont goto school llmao

quick ledge
#

haha I know

twin charm
#

until 12th they teach powerpoint,word and excel

#

and input and output devices

brazen ingot
#

@quick ledge You are in a certain grade?

quick ledge
brazen ingot
quick ledge
#

in fact, that's not true with most schools

twin charm
quick ledge
twin charm
#

but they suggest to use notepad.exe cringe

brazen ingot
twin charm
brazen ingot
#

k

inland wolf
#

11th and 12th is gon be python for me

#

B)

twin charm
inland wolf
#

cbse moment

#

bruh

twin charm
#

yeah cbse

inland wolf
#

i want to learn c++

twin charm
#

eeeee

#

my brother took cs and when he was in 11 and 12 c++ was the shit they learnt

inland wolf
#

yea

twin charm
#

and were in the same school as well, lets see what lang I get

inland wolf
#

but i looked at the books for last year

#

its python

twin charm
#

ohh

#

noice

twin charm
#

also I saw about mysql

inland wolf
quick ledge
inland wolf
#

oof

quick ledge
#

I mean, they teach python now

#

although, I wouldnt be surprised if some schools still teach C++

sinful bloom
#

my brother has C++ classes

sinful bloom
#

i wish i was college, im stuck in junior high school

sinful bloom
#

yeah same

twin charm
#

is 9th considered as junior high school or is it 10th

vapid nymph
#

yes

#

nth

twin charm
#

o i c

brazen ingot
mild abyss
#

dont underestimate a language that works

#

xD

strange musk
#

CBSE just sucks. it focuses so much on rote memorization

#

Toppers in my class knew shit, all they could recite was the whole book

inland wolf
#

ikr

twin charm
#

syllabus is pretty dumb

#

except mafs

finite sierra
twin charm
finite sierra
#

i made a django website while the rest of the class made the same hotel management thingy that everyone's been doing for school projects since the beginning of time 🤡

finite sierra
twin charm
finite sierra
#

but then is it my fault that they teach functions in class 12

#

not even class 11

twin charm
#

what in the world...

finite sierra
#

the cs curriculum is pretty rudimentary, they teach in 2 years what you can learn from a 5 hour freecodecamp video

#

and the fcc video would be better

twin charm
#

yasss

#

they could ramp it up

vivid path
#

If you want venginence report your teacher to the school administration

#

for giving outdated stuff

twin charm
finite sierra
#

lmao

twin charm
#

and then you realise, the manager is the teacher

finite sierra
#

but the prescribed curriculum is what is outdated, the school is just following what the board says

#

i can't really fault the school too much for it

twin charm
#

agreed

twin charm
#

like in myanmar

#

lemme see what I can do

#

(jokes this)

#

fuck

#

time to run

#

if you really think about it, its the CBI

#

and interpol

#

meh FBI is like a local police station for parking ticket fining compared to interpol

harsh tundra
#

I wish...

solid pollen
#

Just need power, money and control

#

Easy, right?

rich moon
#

too easy

#

u have to hold

acoustic moss
#

really gave you the middle finger lol

#

i can't be the only one who sees it right

twin charm
#

wot is that

acoustic moss
#

stonks

twin charm
#

olymptrade shit

#

mm

strange musk
#

Suddenly discussion becomes WSB

idle niche
#

hey you guys know how you can slice a list in python like this:
new_list = old_list[3:]
does anyone know how to do that in java with arraylists?

last rivet
#

I wonder what is up with the off-topic channel's names, is there some algorithm behind this...

rough sapphire
#

I think they are simply picked randomly and won't be used after the next iteration

vapid nymph
#

!otn

#

Darn

#

!source otn

royal lakeBOT
#
Command: otname

Add or list items from the off-topic channel name rotation.

Source Code
red willow
#

ooooooh nice

#

good find

#

maybe we can build an AI that can come up with punny names

#

the AIs are my friend

#

and promised me they wouldn't steal my niche job

rough sapphire
#

when you advertise in a warning for advertising

red willow
#

I found Honey didn't do much for me

rough sapphire
#

oh

#

edge has a built in functionality for it

red willow
#

Microsoft Edge?

versed saffron
#

Sony actually

rough sapphire
vapid nymph
#

I'm a fucking idiot

#

In multiple ways

#

I had brave shields on on my school website for a few months and finally figured it out. Turned It off and now I can use the website.

#

Like

#

I had to do workarounds to open all assignments

#

Tuendf off brave shelids for the website and suddenly it'd all easy af

rough sapphire
#

What did Shields have to block though that it broke the site

vapid nymph
#

Cross site cookies

#

Because this website is super integrated with google

rough sapphire
#

Ahhhh

vapid nymph
#

yeah

rough sapphire
#

This is mostly meant for staff, but did something happen to bisk?

vapid nymph
#

just ping him

#

@gentle moss

#

he's online

rough sapphire
#

Oh

#

...

#

In all the times I have asked what happened to bisk, I never thought to look if they were online

vapid nymph
vapid nymph
#

or i will, apparently

#

(╯°□°)╯︵ ┻━┻

#

#

and this channel doesn't

#

waiting for that mod to read that and be like "I can fix that" and turns it on for this channel

#

like please don't

rough sapphire
#

Yeah, their account is idle

vapid nymph
#

I like being able to talk to myself

#

.topic

median domeBOT
#
**What Easter tradition do you enjoy most?**

Suggest more topics here!

vapid nymph
#

code golf for the hidden "eggs" aka bugs

rough sapphire
#

I tend to find to bunch my messages together in slow mode

#

I don't really have a major gripe with it

vapid nymph
#

right, which is why i don't like it

#

that much

#

i like multiple messages

#

😄

rough sapphire
#

Fair

vapid nymph
#

gets muted for spamming

#

mods if you mute me, I'll realize I am abusing no slowmode smh

#

.topic

median domeBOT
#
**If you could travel anywhere in the world, where would you go?**

Suggest more topics here!

vapid nymph
#

sigh

#

time to open that google form instead

#

wait

#

it's different for all channels

#

Do you think there's a way in which Discord could handle bots better?

#

yeah

#

don't make the stupid slash commands and try to rush it

rough sapphire
#

Anybody have an official windows 10 2004 download? Been trying to compare-verify mine forever and Microsoft support is no help

#

They don’t have sha256 hashes for previous releases available

carmine niche
#

salve

#

os li du vil, ja ;)

topaz aurora
#

In Haskell, the category of all top-level types e.g. Int, String, you name it, would be Hask

carmine niche
#

yes

topaz aurora
#

Given some arbitrary function

f :: forall hask. hask -> hask  -- Endomorphism
carmine niche
#

where morphisms represent functions between types and functions are represented by the same morphism if for all input values they produce the same output values, even when they are different functions

#

i guess what i am asking is what you mean by type level

topaz aurora
#

Likewise, if you apply the same concept to some other higher-kinded type e.g. cat hask can be a member of Hask still, since cat is any top-level higher-kinded type

f :: forall cat hask. hask -> cat hask
#

But if you treat the universe inside of cat as another category, you'd be able to define the notion of functors and friends

carmine niche
#

eee ok

#

i am gonna sleep

topaz aurora
#

The type class is an object of itself

vapid nymph
#

Hewlo

topaz aurora
#

classes are types, and types are classes

#

I've yet to try and write my own typed language but if I do I'd probably follow through with higher-kinded types first

tribal aurora
#

what do you got for this logo ?

gentle moss
gentle moss
solid pollen
#

blobpeek It has been a while

gentle moss
#

started getting too loud in here.

solid pollen
#

Honestly, it calmed down now that we aren’t on Discovery first page

robust valley
#

woah

strange musk
#

Does anyone know how to install a git branch?

#

pip install+git doesn't do the trick

golden salmon
#

hello guys!

#

Im emre

gritty zinc
edgy crest
#

yeah i think that makes pip look for a setup.py in the repo

strange musk
#

well, that gets me the old version 😦

edgy crest
#

hmm 🤔

#

well then i think you should manually clone the repo and run python setup.py install?

#

but i dont know if that makes a difference

#

wait

#

you want to install a branch right?

#

yeah that should do it then

#
git clone linktorepo
git checkout branchname
cd reponame
python setup.py install``` @strange musk
deep siren
summer rampart
#

@deep siren nowadays the easy way is to write the language in an existing language

primal badger
#

Could someone recommend me a product/way to, be able to switch between my inputs and ouputs quickly on my monitors,
I have a laptop with a single hdmi out, same for pc, I am wondering how I could have double external monitors and be able to quickly switch between the inputs

#

so I guess I would need something that could split a hdmi signal to 2 hdmi outputs, and then also be able to do that with 2 inputs

topaz aurora
#

In terms of writing proper compilers/interpreters though I have the choice of compiling to bytecode or using LLVM to generate machine code for me

#

There's also the choice of compiling to JS

deep siren
#

So you might first design a language conceptually, then draft a language spec, then write a parser in an existing language that generates some intermediate representation?

#

I don't know much about LISP, other than it used to be popular in the early days of AI

#

and that emacs was written in lisp

topaz aurora
solid pollen
#

It is an amazing free book

deep siren
mild abyss
#

in the next 20 years or no xD

topaz aurora
#

I feel powerful

mild abyss
topaz aurora
#

Yep

mild abyss
#

thats amazing 😮

topaz aurora
#

50 days of backend programming afaik

#

Let's see

#

I can't remember those other 20 days though

#

Oh, right, my old site which was pretty meh

mild abyss
#

i cant wait for summer to start. i want this sem to end already

#

then i will do a streak like that again

brazen ingot
mild abyss
#

i think when i learned python, i did a four month streak

brazen ingot
#

4 years streak

#

lol

mild abyss
#

but that was meh, since what i have learned evaporated to thin air because i did not do any projects

topaz aurora
topaz aurora
#

I spend more time writing commits than I do working on smaller chunks of code

#

I wish I was kidding, it's a plague

brazen ingot
#

btw can you descript what you're building?

topaz aurora
#

It's my personal website

brazen ingot
#

akarys is also working on that @solid pollen as You said ?

mild abyss
#

@brazen ingot followed u just in case

solid pollen
#

What did I do

#

What am I working on

#

What is life

tranquil orchid
#

42 probably

solid pollen
#

True that

rough sapphire
#

anyone can help me in configuring irc

topaz aurora
#

Anyways, gonna work on the repository view cards for my site

rough sapphire
#

ihave erc

topaz aurora
#

Be back in a few

vapid nymph
rough sapphire
vapid nymph
#

o

brazen ingot
rough sapphire
#

The one thing that is bugging me is the password setting

vapid nymph
#

ask in the irc discord :thonk:

mild abyss
#

making your own personal website is part of the portfolio by itself lol

tranquil orchid
#

I swear I'll finish my site one day

brazen ingot
mild abyss
rough sapphire
mild abyss
#

oh wait ^melons and cucumbers

#

correction

rough sapphire
vapid nymph
#

/s, that was a joke, sorry

rough sapphire
#

ok

tranquil orchid
#

I'll probably try get back to some projects in a few weeks when the holidays starts

brazen ingot
mild abyss
#

man i think i wanna try Automa.jl package and make my own parser hmm

tranquil orchid
#

I doubt I'll start any of the big projects I have in mind then though, I'll just do a few smaller things

mild abyss
#

reason i did not do any big projects is because i am discouraged because my idea is already implemented or made by other people

#

turns out u dont need to lol

tranquil orchid
#

I got a few ideas I haven't seen yet

#

so I'll see how those go

mild abyss
#

I wanna try creating a CellProfiler in julia

#

but i cant do experiments with that if i am on a Intel pentium quadcore with 4GB ram

#

xD

spring kraken
#

Who has heard @lemon pep8 song?

brazen ingot
#

@mild abyss How did you see my profile ? btw where did yo find that

#

you*

mild abyss
#

lol

brazen ingot
topaz aurora
#

Man that's nice

solid pollen
#

Your card is broken

topaz aurora
mellow spire
#

Hey pure, did you test piston-cli on NixOs, super told you were going to ,,,

rough sapphire
#

irc or discord?

solid pollen
#

Also, the card is pretty sick

topaz aurora
#

The description was a bit of an oversight

#

I forgot to integrate it to my API

topaz aurora
#

Which I only do weekly

#

Because breakage

mellow spire
topaz aurora
solid pollen
#

That’s cool

topaz aurora
#

I'm... not normally this good at designing stuff

#

Feels odd to think I made this

tribal aurora
#

why is ur site unsafe

topaz aurora
#

SSL cert I'm too lazy to change

solid pollen
#

It is too wide to have the stars on one side and the commits on the other if you ask me

topaz aurora
#

I will, one day

solid pollen
#

Not using certbot smh

topaz aurora
tribal aurora
#

where did u get the domain

mellow spire
#

namecheap ig

topaz aurora
tribal aurora
#

justin?

topaz aurora
tribal aurora
#

no, that's cool

topaz aurora
#

Input is welcome

#

Be harsh

solid pollen
#

That should be fine like that

topaz aurora
#

The cards should also hopefully be responsive on a mobile view

tribal aurora
#

yea

topaz aurora
#

e.g. instead of a 2hx3w grid, it'll just be a long boi

#

Unless it's a tablet or something chunky

#

Although ultrawide screens are my bane

#

I don't know how those look like

mellow spire
#

give pure functor a colour

#

the name of the repo

#

and put commits after the commits sign

#

star is pretty self explanatory

solid pollen
#

You should add the language

edgy crest
#

+1 for rounded corners

tribal aurora
#

@edgy crest noice

#

that package lemon_fingerguns_shades

edgy crest
tribal aurora
#

AUR package

edgy crest
#

oh

tribal aurora
#

:/

edgy crest
#

thanks

tribal aurora
#

not available on fedora ?

#

I wish i had it

edgy crest
#

no i dont know how to put it on fedora's pakcage manager

#

you can install it through pip

#

!pypi wand-cli

royal lakeBOT
#
Author

vinam

Requires Python

=3.8

Summary

A cli tool with an in-place terminal editor to compile over 27 languages instantly using the wandbox api.

tribal aurora
#

any source code? so i can compile it on fedora

topaz aurora
#

give pure functor a colour
@mellow spire I'm keeping a flat colourscheme for my site
and put commits after the commits sign
That's a great idea, thanks!
You should add the language
@solid pollen Gotcha, although that'd be in the near future

mellow spire
tribal aurora
#

Tanx!

edgy crest
#

does fedora use rpm?

#

i thought it used yum

mellow spire
edgy crest
#

lol that means yum is mostly used by CentOs gramps SadMan

#

wait it uses dnf thonkdead

tribal aurora
#

but dnf is literally yum

#

it's like

#

umm

edgy crest
tribal aurora
#

pacman and yay

#

lol

edgy crest
#

ah

tribal aurora
#

dnf is the better version of yum

#

yum is older

edgy crest
#

i c

tribal aurora
#

and harder to use

edgy crest
#

i am kind of bored of this project so idk if i will be interested in adding it though ¯_(ツ)_/¯

tribal aurora
#

U have to ... 😠

edgy crest
#

am thinking about making a audio visualizer in rust for now

tribal aurora
#

ah rust..

edgy crest
#

basically gonna make a cava clone

#

i have no idea how though

tribal aurora
#

lol

#

that's a good start tho

edgy crest
#

i dont even know how am i supposed to record audio

#

maybe that could be fixed if i use python with rust oh

#

get the input from python do the processing in rust

tribal aurora
#

um, recording is easy on python tho

#

yea

mild abyss
#

@edgy crest your nickname... is..

#

cursed...

tribal aurora
#

cursed?

edgy crest
#

rust and python

tribal aurora
#

bleh

#

C++ and python is better :/

edgy crest
#

¯_(ツ)_/¯

#

i dont know c++

#

wait, its hard to use python inside rust, though the reverse is really easy

tribal aurora
#

C++ is better than rust for several reasons:

  1. You're free in C++
  2. There's no goto in rust
  3. Variadic functions
  4. Templates
#

and it's hard to impl them

solid pollen
#

What wait

tribal aurora
#

or maybe some af them exists

#

idk

solid pollen
#

C++ is better because they are gotos?

tribal aurora
#

i use goto quite often

acoustic moss
#

👀

solid pollen
#

.xkcd 292

median domeBOT
#

Neal Stephenson thinks it's cute to name his labels 'dengo'

nova viper
#

hello

tribal aurora
#

elo

acoustic moss
#

h

nova viper
#

op

#

bye

acoustic moss
runic wigeon
nova viper
#

hello @runic wigeon

runic wigeon
runic wigeon
solid pollen
edgy crest
#

i think i can create a temporary wave file buffer from python, and use that in rust

#

wait that wont work

rough sapphire
rough sapphire
acoustic moss
#

what about 2020

wraith lodge
#

(o_o)/

twin charm
#

bruh you need to update to 2021

#

living 4 years in the past smh

wraith lodge
#

from google

rough sapphire
#

where do I find the location of where a module was installed?

edgy crest
inland wolf
#

why is bash so weird

edgy crest
inland wolf
#

u end a case with esac

#

and if with fi

#

but loops end with done

#

shouldnt it end with elihw?

carmine niche
#

bash is not the most sensible language ever to exist

inland wolf
#

lol

gritty zinc
#

oh god Cython why

#

why must you inject this into my nice dark-moded jupyter notebook

rugged echo
#

hello darkness my old friend,

carmine niche
#

lmfao

gritty zinc
#

I can't even read the code because of the yellow highlighting

rugged echo
#

i've come to talk with you again.

carmine niche
#

big oof

#

because a vision softly sweeping

rugged echo
#

Left its seeds while I was sleeping

carmine niche
#

creeping

#

not sweeping

gritty zinc
carmine niche
#

but

#

whatever

carmine niche
rugged echo
#

And the vision that was planted in my brain
Still remains

carmine niche
#

smh my head come back to me when python can x = x

rugged echo
#

Within the sound of silence

gritty zinc
#

oh, can it be?

acoustic moss
carmine niche
carmine niche
#

not as an assignment

#

declaration

#

intialization

#

definition

#

whatever u wanna call it

round rose
#

declaration is not a separate operation

#

you can only assign a value-tion

acoustic moss
#

it is, in her consideration

#

broke the chain of -tions dammit

vapid nymph
acoustic moss
vapid nymph
#

Or jenerate it

round rose
acoustic moss
#

*fixtion

rugged echo
#

😢

carmine niche
#
Prelude> x = x
Prelude> let 2 + 2 = 5 in 2 + 2
5
Prelude> x
*busies*
Interrupted.
Prelude> 
gritty zinc
#

nooo, it doesn't have themes!

#
    def _css(self):
        """css template will later allow to choose a colormap"""
        css = [self._css_template]

I need it now, Cython 😢

vapid nymph
#

@gritty zinc how do you generate xypthon code?

gritty zinc
#

also, note: Cython != CPython

#

CPython is the Python implementation you're probably using, Cython is the above (a way to write on a certain mix of Python and C that's then compiled into C code for, in many cases, huge performance gains).

vapid nymph
#

Ah, what is the huge difference?

carmine niche
gritty zinc
#

well, at least it should be able to optimize stuff

#

that's an incentive for writing pure functions

carmine niche
#

python and functional are pretty incompatible

#

i mean you could do it i guess

#

but

#

it wouldn't be fun

#

there's a reason lambda syntax is almost intentionally awful 🙃

#

imagine not being able to update all of your applications + your system in a single action while still using your machine

#

windows must suck

#

/lh/hj

graceful basin
#

Imagine having to actually update your system manually

carmine niche
#

i prefer it

#

i don't like it when things are complex and bloated but i also don't want things to be hidden from me

#

also my os is rolling release so

#

it would be updating constantly

#

which isn't necessary

vapid nymph
graceful basin
#

I really don't like having to do chores to keep my system up and running securely

carmine niche
#

i mean

#

if you are really so averted to doing it manually just set up a corn

#

cron*

#

i don't see the problem 🙃

graceful basin
#

If you do that in a rolling release, your system will eventually break (maybe void linux won't actually, didn't test that)

carmine niche
#

o?

graceful basin
#

Arch wiki specifically tells you to check forums before updating in order to not break your system

carmine niche
#

OwO

#

meh

#

i just update once a month or something

#

it's probably fineee

graceful basin
#

Suuuure

carmine niche
#

and whenever it isn't i just reinstall

#

i've done it before and i'll do it again

#

it takes like 5 mins

graceful basin
#

Well, I will admit I don't check either

carmine niche
#

not counting the idle time to run my setup script

#

am updating right now 😎

rich moon
#

when u spend more time trying to get ur system to work than actually doing work

carmine niche
#

i don't tho

#

that's for windows users to worry about

#

🙃

#

trying to set up gcc/g++ on windows

#

literal hell

graceful basin
#

Use clang

carmine niche
#

clong

#

imagine having a separate installer for all your applications

vapid nymph
#

@graceful basin I run sudo apt update whenever

carmine niche
#

debian != arch

graceful basin
#

Do you also run apt upgrade sometime

carmine niche
#

lol

vapid nymph
graceful basin
#

O no

vapid nymph
#

You mean update doesn't update

carmine niche
#

no

#

it updates the cache

vapid nymph
#

Excuse me while I go run upgrade.

carmine niche
#

lmao

graceful basin
#

I do wonder why that's 2 commands

carmine niche
#

that's why you gotta run it before installing something cuz you wanna have a fresh cache

carmine niche
#

maybe not

#

i forget i haven't used any debians in a while

rich moon
#

too many things to type

graceful basin
#

It is possible

vapid nymph
#

I don't wanna say I'm dumb but it took me 2 months to turn off brave shields to fix a website that I visit for 6 hours a day

rich moon
#

kinda annoying

graceful basin
#

I have no way to check

carmine niche
#

nor i

vapid nymph
#

was shhing to update

gritty zinc
#

oh yis

%%cython
import numpy as np
cimport numpy as np
DTYPE = np.int32
ctypedef np.int_t DTYPE_t
cdef class RandomGen:
    cdef np.ndarray arr
    cdef int N
    cdef int index 
    cdef int low
    cdef int high
    def __init__(self,int low,int high,int N=10**5):
        self.arr = None
        self.N = N
        self.low = low
        self.high = high
        self.index = N
    cpdef int next(self):
        if self.index == self.N:
            self.arr = np.random.randint(self.low,self.high,self.N,dtype=DTYPE)
            self.index = 0
        cdef int res = self.arr[self.index]
        self.index += 1
        return res
carmine niche
#

when i did use debians i always had aliases for the shit

gritty zinc
#

random number generator using Cython and numpy.random for being about ~3 times faster than random at one number at a time

gritty zinc
edgy crest
carmine niche
#
# ~/.bashrc
...
alias install='sudo apt update && sudo apt install'
```etc
edgy crest
#

looks cursed

acoustic moss
#

...

#

hmmMMM

edgy crest
#

...

acoustic moss
#

interesting

carmine niche
#
$ install rustup
edgy crest
rich moon
#

um

#

did u actually make that

acoustic moss
#

internet

#

is beautiful

edgy crest
#

well yeah.. just for fun

rich moon
#

ping him and get him to add that cursed sht

edgy crest
#

he already knows lol

vapid nymph
edgy crest
#

its actually an emoji in the gurkan server

rich moon
#

that is fuking cursed

edgy crest
#

and he is there so yeah

vapid nymph
#

who is gurkan?

edgy crest
#

?

vapid nymph
acoustic moss
carmine niche
#

kernel 5.11 is out i think

vapid nymph
#

i thought I had updated twice

#

this is a pi so it might not have that

carmine niche
#

apparently it contains a way for wine etc to translate win syscalls to posix syscalls which is nifty

vapid nymph
#

what

#

I use a winey system that could be good news

#

smh how can I update my kernal?

carmine niche
#

idk

edgy crest
#

too bad it isnt arch its just sudo pacman -Syu in it smugdance

acoustic moss
#

i use windows btw

rose anvil
#

Does anyone know how to open a password protected .zip file without the password

odd sluice
#

is there some tool like wget for windows

#

that is pretty useful

#

(tag me if replying)

coarse heath
odd sluice
prisma agate
#

Is Debian the new IE?

#

coz Manjaro is on linux_5.10 something and Debian is on linux4.9

#

And I don't see a newer version

true stag
#

Best programming teacher ever

vapid nymph
#

so what that C or C+?

rich moon
#

its F#

#

thats the class average

vestal briar
#
from flask import Flask, request
from rewrite import Org, User, BadUserCreds

org = Org.signup("qwerty123")
app = Flask(__name__)

@app.route("/protected")
def protected():
    try:
        user = org.auth(request.cookies.get("X_AUTHRIO_Key"))
        return f"User {user.id} was created at {user.created}!"
    except authrio.BadUserCreds:
        return "Invalid/outdated api key passed!"

@app.route("/signup")
def signup():
    try:
        user = User.create(org, request.args["password"])
        return f"Created user {user.id} at {user.created}!"
    except authrio.BadUserCreds:
        return "Password too short/long!"
```suggestions for api layout of `authrio`?
vapid nymph
#

I like protonvpn since it has a free tier

vestal briar
#

all vpns are bad

#

protonvpn is the least bad

#

as long as you chain, sure

#

not as in speed

#

as in security

vapid nymph
vestal briar
#

yep

#

from what i can recall anyway

#

ive never needed a vpn

#

just researched em a decent bit a while ago

#

whats the point though

#

they have your identity

#

pretty sure nord has basically yearly server breaches

#

and theyve shown to keep logs

#

proton is the most secure so if you have to use a vpn, use that

#

but why tor if your using a vpn

#

how so?

#

force https then

#

force https like tor allows by default

#

what browser are you using

#

use something better

#

its not

#

not as good as firefox

#

other crap -> the chinese one -> chrome/brave -> chromium -> firefox

#

less shit on it

#

depends if you want google or not, which i dont

#

you can still have it on chromium

#

i just dont want extra bloat im not using

#

its connected to all the google services which i dont want so theres no point installing extra stuff

#

and also its proprietary which is a concern to some people and means that itll be open to more security breaches then the oss its based upon

#

brave is just generally worse, i forget why but something about them selling ads and a couple security breaches

#

so no real point using it

#

firefox works fine

#

thats pretty shitty

#

for a privacy focused browser they sell personalised ads?

#

must be personalised

#

no matter what you search?

#

ah hm alright

#

is it opt in?

#

or opt out

#

huh i support that thwen

#

uk

#

old cert also so no cache weirdness

#

rip

#

ive not really been on a site thats not https in the last year

#

ah ive got https everywhere lmao

#

lmao

#

yum shitty isps

#

uk ones dont really care

#

all they do is price fix a bit

#

"compromise your device"

#

codeword for they got payed to do that

#

yeah

#

they redone the ui a few years ago and it improved a ton i remember

#

i think its the fastest browser atm? dont quote me on that though lmao

#

yeah

#

at the time of the ui redesign there where a few benchmarks that said it was

#

yeah they probably are

#

especially firefox/chromium

#

i remember using chromium a bit ago and thinking "huh suprisingly fast"

#

lmao yeah

#

ive never really had a problem with it so i keep using it

#

yeah

#

i wouldnt trust any proprietary browsers even just due to security

#

i support the use of firefox and chromium because they seem about as good as each other to the point i dont really care sorta thing

#

but i think chromium destroyed adblocking a while ago didnt it?

vapid nymph
#

Brave is based

vapid nymph
#

I use brave for school lmao

#

Firefox is my normal browser and I do school stuff in brave

#

Reason: they have control over chrome

#

But brave, nahhhhh

vestal briar
#

ah yeah

#

everything i use is free

vapid nymph
vestal briar
#

so apart from getting cool tshirts no point

vapid nymph
#

Quick what password manager

vestal briar
#

bitwarden

#

obvious choice

vapid nymph
#

For how long

vestal briar
#

i think a year now

vapid nymph
#

Mf

#

*my face

#

I used last pass for the last year 😔

#

Within a day of finding out that last pass was changing their shit

#

I moved to bitwarden

vestal briar
#

yeah

#

since 2019 bitwarden has been the best

#

in terms of security at least i think?

#

i mainly went to it due to their payment system

#

very easy to use for free- not many limitations

vapid nymph
#

You mean their non existant one

vestal briar
#

i know they have some limitations

#

but i forgot because ive never ran into them lmao

rough sapphire
#

I think Brave, at least, didn't implement the adblocking stuff

#

(Or will not implement)

vapid nymph
#

Right

rough sapphire
#

Chrome might have (or will)

vapid nymph
#

"might"

#

Chrome is based on chromium, if chromium adds it, Chrome sure as fuck will.

rough sapphire
#

I have heard about features taken off Chromium, for addition to Chrome itself

vapid nymph
#

Pardon my French because I hate chrome

rough sapphire
#

No worries

#

I do too

#

I use Firefox, but there are some features in Brave that I wish have been added to Firefox

vapid nymph
#

There's one thing that bugs me about firefox

#

Not enough to make me switch

#

But I have bugs with window management

rough sapphire
#

Oh

#

Tab groups?

vapid nymph
#

No

#

Like if I press the taskbar icon it doesn't open

rough sapphire
#

Ah

#

Can see that being a dealbreaking bug

vapid nymph
#

I have to press it around 3! Times to open a window

#

But because the android app is really nice I love it

#

I think there's one thing that all browsers could add but I figure they never will

#

Integrated password manager support.

#

Where instead of Firefox suggesting lockwise, it suggests from bitwarden

#

Basically a password manager api

#

@rough sapphire

#

@vestal briar wut you use on mobile?

rough sapphire
#

But yeah, they never will

#

Not because it won't be good

#

But I feel like there's the mentality of "not broken; don't fix"

#

"Bitwarden already works"

#

"It can auto-fill your passwords already"

vapid nymph
#

Well

#

It would be a great deal for some password managers

#

But why would Google want to move away from being your password manager?

vestal briar
vapid nymph
#

Same

knotty pasture
#

you know what's unfair?

#

life

#

deal with it

mint lichen
#

thank you for these profound words

carmine niche
#

:)

mint lichen
#

yup! 'life isn't fair' isn't an excuse to be unfair in your own actions

last rivet
#

this video has the best like/dislike ratio I've ever seen.

#

It's so good it has less than 0 dislikes.

honest pawn
#

🤔

#

Is this a manual inspection thing?

last rivet
#

couldn't be, look at the bar

#

in a typical video there's at least 1 pixel if there's a dislike

honest pawn
#

Did you change a variable of some sort?

last rivet
#

hold on

honest pawn
#

Otherwise, you had to have edited the text and the bar value

#

And if that isn't the case ...

#

Someone else is cheating thinkmon

last rivet
#

hmm

#

when I give it a dislike, it goes to -1

honest pawn
last rivet
honest pawn
#

I thought the number of dislikes was always a natural number

last rivet
#

also I just came back to that video, the original image is hours ago

#

meaning that the dislike count is the same (at least for me)

honest pawn
#

something's wrong, I can feel it

last rivet
#

Am I allowed to give you the video just to see if it does the same for you?

honest pawn
#

Not accusing you of lying, just confused

#

All I do is make my own autoclick script in interactive Google Doodles

last rivet
#

I am wondering if the server does not allow sharing of youtube videos.

honest pawn
#

How can that be

#

This is !ot
And other people do it without trouble

gritty zinc
last rivet
#

https://www.youtube.com/watch?v=ESoYiBnZb88&t=6s here's the video (sorry if I am not allowed to share videos here in advance)

Thanks again to Fujitsu for making this video possible! I have links to where you can buy this keyboard below.

I was so excited to get my hands on the Happy Hacking Professional Hybrid Type-S and see for myself if it deserves the hype behind it! In my opinion, I think that the typing sounds are awesome but you'll listen for yourself and see w...

▶ Play video
#

it has -2 dislikes to me

honest pawn
#

Ok ill watch it later

last rivet
#

ok

#

someone else spotted it in the comments.

#

just confirmed it with another computer*

rough sapphire
#

It does

#

Damn

last rivet
#

found an explanation from someone: https://www.youtube.com/watch?v=GkwyHDLHIfs

#

apparently if your account is marked as spam, disliking something does not count as a +1 in the counter

#

but if you undislike it, the counter goes down anyway

#

so it's an error in the source code of the dislike button

vapid nymph
last rivet
#

yeah, kind of like that unsubscribing issue from a while back

#

which made people get negative subs.

vapid nymph
#

so one person could just farm negative downvotes

last rivet
#

maybe

vapid nymph
#

scuse me building a bot to spam comments and downvote everything so i get an account marked as spasm soley for educational content videos

#

spasm
I'm just gonna leave that

last rivet
#

hol' up

vapid nymph
#

(and I'm entirely kidding, not doing that. The entire thing)

last rivet
#

anyway, that was really sudden.

#

if your channel is considered "spam" by youtube's algorithm, your likes and dislikes don't count.

#

you can't know if you are marked as spam though.

carmine niche
#

wack

dark goblet
#

Wym python ain't skynet it is

topaz aurora
#

Can't decide between doing pagination or overflowing contents for my site

#

This is what it looks like right now, on mobile views that collapses into a single column with multiple rows

#

My problem is basically getting scroll-snapping to work consistently, on mobile at least, if I do overflows

#

Likewise, I can do overflows on the desktop view, but that also means refactoring the scroll-snapping behaviour

twin charm
#

ooh

topaz aurora
#

This works lemon_thinking

#

Yeah, I like this

twin charm
#

bruh

#

I liked the first one

#

I mean.. sure

topaz aurora
#

It looks alright

#

The order they're put in determines the shape

#

I can do some interesting stuff given that behaviour

twin charm
#

o cool

#

where are the vim users at?

#

I got a question

lunar shore
#

There I am

tribal aurora
#

ok

#

so

#

what was the converstion about

lunar shore
#

Nothing , ankith was telling Python is too slow for comp , and then hahastinkypoop solved a problem he sent him with Python

tribal aurora
#

😂

#

the names ..

twin charm
tribal aurora
#

stinky*

twin charm
#

comparative sense*

#

meh, I call it hahastinkpoop

tribal aurora
#

stinky is better ig

#

lel

twin charm
#

lolsmellyshit is also an alternative @acoustic moss

lunar shore
tribal aurora
#

bro, python is slow

twin charm
tribal aurora
#

but, i really like python cause there are tons of good functions

lunar shore
twin charm
#

just that generally, python is slow

lunar shore
tribal aurora
#

i mean there are functions in C++ but...

twin charm
#

and then I regretted

acoustic moss
twin charm
#

but still, python is sloww

lunar shore
twin charm
lunar shore
#

Well , to a point , C++ is much faster than Python , but as the problem gets more complex , you'll realize that the difference is not much , in some cases it's hardly 3 ms

twin charm
acoustic moss
#

CP is meant to test the efficiency of the algorithm you come up with, not the efficiency of the language you wrote it in.

twin charm
#

noone is getting my point lel

tribal aurora
#

u know

twin charm
twin charm
lunar shore
twin charm
acoustic moss
tribal aurora
#

like heapq

#

really good module

twin charm
tribal aurora
#

C++ is faster than Python.

lunar shore
acoustic moss
#

yes

gritty zinc
twin charm
#

what if you put a thousand values in an array and do the same for python and c++. which will take more time?

#

python = ans

lunar shore
twin charm
#

imagine iterating through an array in c++ and the same in python

acoustic moss
#

ugh

#

<@&267629731250176001>

twin charm
oak tangle
#

!shhh

royal lakeBOT
#

✅ silenced current channel for 6 minute(s).

remote socket
#

!silence

royal lakeBOT
#

❌ current channel is already silenced.

remote socket
#

!pban 748371863377412098 Spam

royal lakeBOT
#

failmail :ok_hand: applied ban to @rustic dagger permanently.

remote socket
#

!unshh

royal lakeBOT
#

✅ unsilenced current channel.

acoustic moss
#

thanks

tribal aurora
#

lol

#

mods are here

twin charm
remote socket
#

y0s

twin charm
tribal aurora
#

mods are everywhere is good for ot's name ig

#

lol

twin charm
#

yes

lunar shore
twin charm
tribal aurora
acoustic moss
lunar shore
#

And really, trust me on this
The more complex the problem
The less difference it has between languages

lunar shore
twin charm
#

🤝 ok guys nice talk 😄

lunar shore
tribal aurora
#

Issue Closed by MrNil

lunar shore
#

And I'm disproving that

twin charm
twin charm
lunar shore
tribal aurora
#

@twin charm what's ur problem

#

about python

twin charm
lunar shore
twin charm
tribal aurora
#

^ yes

lunar shore
lunar shore
twin charm
acoustic moss
#

I'll give you this, the same algorithm will take more time to run in python than in c++.

#

possibly

acoustic moss
#

but if you don't get the algorithm at all, that's irrelevant

lunar shore
twin charm
lunar shore
#

@twin charm I've tried that on so many problems I've solved , so I'd tell you that , you decide to agree or disagree

twin charm
lunar shore
#

Okay bye !

inland wolf
#

or !shhhh

twin charm
#

!shh

#

bruhh

acoustic moss
#

the number of hs affects the duration of the mute afaik

twin charm
#

I need to submit a new pr

inland wolf
#

oh lmao

#

thats nice

brazen ingot
#

@jolly tinsel Hi Ledger! 😄

twin charm
#

@brazen ingot you said you use vim right

#

do you?

#

I have a doubt

#

anyone uses NERDtree as the file explorer thingey in nvim?

#

how can I set the defauly directory as the file I just opened

#

right now its showing all folders in cdrive and not the python file's folder structure

tribal aurora
#

nah

#

just coc-explorer

twin charm
#

ohk

oak tangle
twin charm
#

@acoustic moss how do you know this classified info 👀

twin charm
twin charm
#

YOO, it looks like 🔥 now

acoustic moss
#

been inspired by a rickroll haven't you

twin charm
twin charm
acoustic moss
#

o lol

#

no reason

#

¯_(ツ)_/¯

edgy crest
#

can we alias it to !ZA WARUDOOO where the O's are the duration ferris

narrow pecan
#

Pretty interesting implementation

twin charm
#

yea that means hahastinkypoop read the source code!

#

absolute madlad that person

narrow pecan
#

Hahah or just learnt through asking or seeing it in use

twin charm
#

I see

shadow jetty
shadow jetty
#

i init the colors manually to make it look better

twin charm
#

its pretty kewl 👍

twin charm
#

lmao @viral parrot sent this same video yesterday.. awesome!

shadow jetty
#

i should have updated the terminal movie projects, but i'm lazy

twin charm