#ot1-perplexing-regexing

1 messages ยท Page 522 of 1

twin charm
#

haha that is what bsnl slow internet will do for you

#

oh wait nvm

inland wolf
#

lol

#

cant wait for match statements

stark prawn
#

I've played around a bit, they are quite nice

inland wolf
#

didnt they get approved today or something?

#

i saw it on reddit

stark prawn
#

No clue, haven't been following it closely, but someone had an implementation on their git that I played around a bit.

inland wolf
#

i see

last rivet
#

I just realized that for some reason BASIC is included in the syntax highlights

10 print "hello world!"
20 goto 10
``` which made me wonder which languages are supported in Discord.
stark prawn
#

Discord implements highlight.js

#
+Change
-Remove```
last rivet
#

even brainf* is included

 ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
``` which is an esoteric language.
last rivet
stark prawn
#

Yes, it's maintained by volunteers

#

The only platform for which they roll their own solution is android iirc

gritty zinc
#

I accidentally included some quotes in my title command, and now the title of my console window sounds a bit too ominous...

last rivet
#

looks like something you would find in games with a lot of easter eggs (like undertale)

still sky
#

Does anyone know where to put .traindata files for my tesseract OCR

last rivet
#

also yeah, I found both languages in that website.

#

that confirms it

harsh tundra
#

omg, I'm new here, I noticed this ducky emoji and decided to check what other emojis are there and I'm in love with this server already

#

...but I'd kill for nonbinary flag if you ever think about adding more flags

#

but right now I'm gonna swoon over the duckies and already existing flags

solid pollen
#

Welcome!

#

What does the non-binary flag looks like?

last rivet
#

welcome!

harsh tundra
#

yup

solid pollen
#

Sweet

#

Hmm.. it doesnโ€™t have the rounded edges

harsh tundra
#

if I had nitro, I'd probably spam all the pride emotes there are in other servers I'm in

#

but right now I was reminded to do something irl

quick ledge
last rivet
#

wait, did they add more logo emotes?

#

when I was here a few months ago, there were wayy less

solid pollen
#

Hmm

tribal aurora
#

yo

solid pollen
#

Nah, they are all pretty old

rough sapphire
#

hey you guys

#

what do you know about servers

#

omg what's with this slow mode, it's so annoying

tribal aurora
quick ledge
tribal aurora
#

ha?

#

what about it

#

why would u even talk about it

#

lol

rough sapphire
#

hey you guys

tribal aurora
#

elo

quick ledge
#

someone was wondering whether they were new additions

tribal aurora
#

is that flameshot?

quick ledge
#

yes

tribal aurora
#

ah

#

what distro btw?

rough sapphire
#

someone told me their server EMC is on site and it's connected to their enterprise n/w.. and the support team for the enterprise n/w connectivity to the server is different

#

I'm having trouble picturing it.. I thought servers were all in one place?

tribal aurora
#

@quick ledge what distro btw?

quick ledge
#

manjaro kde

tribal aurora
#

yay

quick ledge
#

arch soonโ„ข๏ธ

tribal aurora
#

lol

#

Good Gang

quick ledge
#

haha yea

tribal aurora
#

Pretty much everyone here is using Manjaro KDE

#

alright not owners

stark prawn
#

manjaro i3-gaps

tribal aurora
#

YAY

#

i'm using that too

#

Manjaro Gang += 1

stark prawn
#

Although it's a pain to use steam on it on a laptop ๐Ÿ˜ฆ

solid pollen
#

Really? It was pretty smooth for me

stark prawn
#

Because of bumblebee I think, not 100% sure yet

#

But all games I try to run on my desktop with proton work 100% fine on desktop and struggle on laptop.

quick ledge
#

hmm

tribal aurora
#

hmm, interesting

#

welp, that's ur laptop's issue

rough sapphire
#

why did you guys switch from gitlab to github?

mellow spire
#

Does anyone know how to convert your pip package into a aptget one

#

or make apt-get package of your python code (the piston-cli), i was making

twin charm
#

o hi

daring sonnet
daring sonnet
rough sapphire
#

Windows Task Scheduler is just amazing

uneven pine
#

It's pretty alright

#

Like most windows things, is a bit heavy handed

high zealot
#

ok

tidal sigil
#

wally is to thick

#

Not my kind of thickness

median falcon
#

how much slowtime lol

rough sapphire
#

I love these emojis

#

ducky_dave Dave!!!!!!!!!!!!!

floral epoch
#

e

#

รจ

high zealot
#

Ok

rough sapphire
#

@tame terrace what is git blame tightens?

narrow pecan
#

Me too, tbh

tame terrace
high zealot
#

Yo its an owner

#

Have it seen that

high zealot
#

Ok

ocean cipher
high zealot
#

e

shell raptor
uneven pine
#

But it looks atrocious

high zealot
#

yes i defeninetly know what this means

shell raptor
#

imo

#

doesn't look too bad to me

#

but when I first saw this, I heavily cringed at it

uneven pine
#

It looks horrible to me. Diffs are not something I see to optimize for

#

It reminds me of how it used to look when I copied scripts and settings for gmod as a kid

#

And pasted it into notepad

high zealot
#

Ok

rugged echo
#

whoever made this ot name... ur diabolical

high zealot
#

Ok

clear plume
uneven pine
#

That really adds a lot to the conversation!

#

Thank you!

clear plume
bright glacier
#

What's the full form of TBH?

#

Tell me

vapid nymph
#

how do you not know, tbh, to be honest

bright glacier
#

Ok

#

I am noob

#

That's why I donno

#

And what is FTW?

solid elbow
#

"for the win"

bright glacier
#

K

vapid nymph
#

hello godlygeek

solid elbow
#

but, what is "IMHO"?

bright glacier
#

I am not a shORt fOrM guy

vapid nymph
#

๐Ÿ˜‰

solid elbow
bright glacier
#

Hey how do u know such short forms?

#

I am darn sure u r sHoRt FoRm gUYs

solid elbow
#

you learn acronyms the same as you learn any other words.

vapid nymph
#

the same way you learn python

#

through guides and usage

#

also testing in prod

#

I will not lie that I may have used a few abbrevs before I knew what they meant ๐Ÿ˜…

solid elbow
#

but, IMHO definitely used to mean "in my humble opinion" - I've heard that younger millenials think it means "in my honest opinion" instead, though.

#

@vapid nymph what ssh client are you using on Windows?

vapid nymph
#

vsc

solid elbow
#

hm. no idea, then, outside my area of expertise.

vapid nymph
#

but like

#

okay different q

#

how does one set up the private key and public key for ssh

solid elbow
#

I mean, ten thousand foot view, you generate the keypair, tell the server to accept incoming connections from the public key, and tell your client to use the private key when it connects.

vapid nymph
#

well I got that far

#

but Idk how to actually set up the keys

solid elbow
#

well those are the only 3 steps. Make the keys, tell the server to accept the public key, tell the client to negotiate using the private key.

#

but the way to do each of those 3 steps depends on the particular tools you're using.

vapid nymph
#

i have access to the cmd line of the server itself through vnc

#

which is running a linux flavor

#

and then on windows 10 on the client

solid elbow
#

right. So assuming you've generated a keypair, you tell the server to accept it by appending the public key to ~/.ssh/authorized_keys on the server side. And then chmod 600 ~/.ssh/authorized_keys because it can't be readable or writable by other users.

vapid nymph
#

welp lemme try this

solid elbow
vapid nymph
#

so out of curosity what is this?

#

no idea why I censored all of that I just remade a new key anyways lel

solid elbow
#

the randomart one is supposed to be a picture that uniquely represents the key. The picture is shown in some places, and the idea is that you might be able to recognize if the wrong key is in use if you're sure you've never seen the picture before.

#

in practice, it's really not very useful.

#

and the fingerprint is a hash of the public key, which tries to reduce it to something shorter and hopefully more recognizable. Same idea.

vapid nymph
#

so the fingerprint is the public key?

#

because that's whats in the file

solid elbow
#

hm. I thought fingerprints were shorter than the public key, but maybe I'm misremembering and they're the full public key.

#

yeah, the id_rsa.pub is the public key, the id_rsa is the private key.

vapid nymph
#

oh, it is longer just all on one line

#

whereas the private key is on multiple lines

#

odd.

solid elbow
#

the private key is much longer than the public key.

vapid nymph
#

now I've got to find where it is

#

this is the contents of that pub key message, do you know if I paste the entire thing?

ssh-rsa qwertyuiopasdfghjklzxcvbnm1234567890 realusername@client-computer-464
#

(note: not actually the contents)

solid elbow
#

I just generated an RSA key - the fingerprint was 43 characters, the public key is 396, the private is 1675

#

yeah - you would open the public key file in notepad or something, copy the contents, and paste them at the end of your ~/.ssh/authorized_keys file.

#

(which may currently be empty, or may not even exist yet)

vapid nymph
#

yeah

#

no wonder

#

this is why I had so much trouble, the .ssh folder doesn't exist

#

which is odd since I've been using ssh for a week now?

#

this is a raspberry pi.

solid elbow
#

then:

mkdir ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
vapid nymph
#

can I do that over ssh?

solid elbow
#

yep.

#

that'll create the directory, set the right permissions on it, create the empty authorized_keys file, and set the right permissions on it.

vapid nymph
#

done

solid elbow
#

yes - not just the fingerprint, the full contents of the .pub file

vapid nymph
#

yeah

solid elbow
#

it should be one line of text, 400 characters long or so.

vapid nymph
#

it already installed over a week ago

#

๐Ÿ˜… side effects

solid elbow
#

no idea; never used VS Code.

vapid nymph
#

oh hey it worked

solid elbow
#

๐ŸŽ‰

vapid nymph
#

โ€ฆthat wasn't even that hard

solid elbow
#

nope!

#

only 3 steps ๐Ÿ˜„

vapid nymph
#

now to put a text file in the same folder with directions how to do this again

solid elbow
#

I haven't done it in a while, but I remembered that authorized_keys was the name of the file to google about ๐Ÿ™‚

vapid nymph
#
# On client
ssh-keygen -t rsa

# On server
mkdir ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys

#Steps
- copy the contents of the .pub file from the keygen to the private server.
#

oh hell yeah

#

the main reason I wanted to set this up is because i have to reauth like 3 times in vsc when opening up a folder

#

first you open the ssh, then you open the folder, then you open the workspace file

#

each one required reauth

astral mason
#

lol

vapid nymph
#

@solid elbow lmao now I broke vnc by running an update
used wrong channel oops

high zealot
#

Where did I get pinged?

high zealot
#

Ah

#

Thanks

inland wolf
#

oh shit tabs and spaces?

#

thats next level bro

#

i used to be a "tabs" guy but then i realized my editor converts 1 tab to 4 spaces

#

so now i like spaces more

#

lol

vapid nymph
#

8 tabs or 1 space

#

In one file

high zealot
#

Ok

quick ledge
# high zealot Ah

you can search mentions:<your_username> or mentions:<your_id> in the search bar to find who mentioned you

high zealot
#

Ok

tribal aurora
solid elbow
#

I don't even know how to do that symbolically off the top of my head. I had to experiment to figure out that it's u=rwx,g=,o= - so no, that's worse than 700 ๐Ÿ˜„

tribal aurora
#

ok

#

lol

solid elbow
#

I use the symbolic version when I'm modifying the mode of a file - adding the execute flag, removing the write flag, or whatever.

#

But I use the octal version when I know the exact privileges I want; it's much more succinct than listing them out separately.

mild abyss
#

i use tabs and spaces

#

kek

rough sapphire
#
In [1]: print(eval('1/' * 10 ** 7 + '1'))
segmentation fault``` since when did python start seg faulting lol
inland wolf
#

wait wht

mild abyss
#

lemme try segmentation faulting

#

@rough sapphire sounds like this code causes segmentation fault because of how it exhausts memory like a monster

rough sapphire
#

yes, probably

mild abyss
rough sapphire
#

print(eval('1/' * 10 ** 5 + '1')) this works though

#

only a difference of 10 ** 2

mild abyss
#

hmmm

blissful moth
inland wolf
#

bruh it used 1.5gb ram before windows said n o

topaz aurora
#

Strings are expensive, integers are not

mild abyss
#

lol it left me a 1.22G used swap

#

kek

mild abyss
blissful moth
#

what how do you even know

#

i have one

formal lodge
topaz aurora
candid arch
#

hey i need suggestion of things to add to my funbot

vapid nymph
mild abyss
vapid nymph
#

thought it was a server

mild abyss
vapid nymph
#

No i mean a vps

mild abyss
#

ok

zealous snow
#

do someone use whatsapp?

mild abyss
#

nope

zealous snow
#

what about facebook?

inland wolf
void grove
inland wolf
#

whatsapp hasnt updated the terms here

zealous snow
#

yup

#

i personally use signal with telegram

#

but still can not totally stop using whatsapp because all my friends and work are there

#

when i say to my friends to swithch to telegram and signal they download them but do no turn on notifications. AND HOW DO WE SUPPOSE TO CHAT NOW IF THEY DO NOT SEE MY MESSAGES?

twin charm
#

as the main

regal condor
#

Tried it with 100 million, termux didn't even try killing python i waited for like 5 minutes

inland wolf
#

wtf

dapper bolt
#

are

#

you

#

fucking

topaz aurora
#

Don't even try

dapper bolt
#

kidding?

rough sapphire
#

hello

topaz aurora
#

!silence

royal lakeBOT
#

โœ… silenced current channel for 10 minute(s).

remote socket
#

You all better behave now.

#

!unshh

royal lakeBOT
#

โœ… unsilenced current channel.

kindred sorrel
#

Now I'm curious what exactly happened here

twin charm
#

one channel got muted, many started coming to other 2 ot channel

#

all ot channel got muted cause of switching

kindred sorrel
#

But like, why was the first one muted

#

Also I like how the command is !unshh

inland wolf
twin charm
# inland wolf same

I'm still in confusion. one guy got warned for sending gif 3 times, but also check how ot0 has an inappropriate name. ironic

inland wolf
#

what

#

dont be a dict

#

is not innaproprate

#

?

#

also sending a gif thrice is spamming innit?

twin charm
#

yea but not together

#

ok gg

edgy crest
#

basically becomes a wall of text so yeah

acoustic moss
#

why shouldn't I be a dict? dicts are cooler than I'll ever be

edgy crest
#

hm

inland wolf
#

lol

twin charm
#

im an array

acoustic moss
#

useless

edgy crest
#

yeah

#

you can even use dicts as arrays

acoustic moss
#

exactly

edgy crest
#

hence they are cooler

acoustic moss
#

thank you

inland wolf
#

lol

edgy crest
#
d = {0: "element1", 1:"element2"}
d[0]
d[1]``` ![lemon_smug](https://cdn.discordapp.com/emojis/754441881730940988.webp?size=128 "lemon_smug")
inland wolf
#

damn

#

thats pretty cool

#

bro

twin charm
#

wo

edgy crest
#

you can also make your custom dict which has an append and remove method

acoustic moss
#

by subclassing dict you mean?

edgy crest
#

yeah

acoustic moss
#

hm

edgy crest
#

can that be done though i have never overrided builtin types

acoustic moss
#

Think it should be possible

edgy crest
#

yeah

#

and

#

hash maps are faster than lists

#

as i have heard

#

but not sure

inland wolf
#

for accessing yes

#

but

#

im pretty sure it takes more memory

edgy crest
#

yeah

#

and for stuff like sorting etc it will be harder

solid pollen
rough sapphire
#

I don't believe treating a dictionary like a list would be faster

edgy crest
#

hmm, i see

solid pollen
#

If you need a list with a dozen of entries, ranging from 0 to 10.000, using a dict would make more sense though

acoustic moss
#

Do lists work like arrays in some other langs? like the objects are stored next to each other so just adding the index will give the location

edgy crest
acoustic moss
#

or something

#

idk

#

i might be way off lol

rough sapphire
#
In [1]: r = range(50)

In [2]: l = list(r)

In [3]: %timeit l[45]
44.5 ns ยฑ 0.24 ns per loop (mean ยฑ std. dev. of 7 runs, 10000000 loops each)

In [8]: d = dict(zip(r, r))

In [9]: %timeit d[45]
50.1 ns ยฑ 0.449 ns per loop (mean ยฑ std. dev. of 7 runs, 10000000 loops each)
edgy crest
#

damn

acoustic moss
#

pretty close heh

rough sapphire
#

And then there are operations like insert

edgy crest
#

yeah that comes pretty handy

haughty fractal
#

are dictionaries with .get() a better approach to implementing switch-case in python?

rough sapphire
#

...which is impossible without creating a new dict

edgy crest
#

dicts are based on insertion order

#

yeah so you cant insert something in middle

edgy crest
#

yes ig

acoustic moss
#

better than what?

edgy crest
#
d.get("some_non_existing_key", "default_value")
haughty fractal
#

making custom classes for that ๐Ÿ˜‚

rough sapphire
#

Classes for switch case?

#

How does that work?

finite sierra
rough sapphire
#

If it was in #esoteric-python , that is a good enough reason for it to be not used in actual code

finite sierra
finite sierra
#

Quite liked that idea though

haughty fractal
#

In js-

switch(argument) { 
        case 'A': 
            return 'it is A';
        case 'B':
            return 'it is B';
        default:
            return 'It is none';
    }; 

In python this is same as:
switch = { 'A': 'It is A', 'B': 'It is B' }.get(arg, 'It is none')

rough sapphire
#

Dont tell me you have all sorts of hacky stuff going on in your projects ๐Ÿ˜”

edgy crest
#

oh got what you mean

#

the dict one looks cooler dont you think

#

what are you doing with the reactions hmm

twin charm
#

its being deleted

#

why

#

discord has a bug

solid pollen
rough sapphire
#

The dictionary approach is fine

solid pollen
#

haha

finite sierra
#

Why does your message link start with ptb?

haughty fractal
#

And isn't switch-case O(n) and using dict O(1) since it's a hashmap :O

rough sapphire
finite sierra
#

ah right

#

How's this different from canary?

rough sapphire
#

Ptb is for getting updates earlier, (hence slightly less stable), Canary is much less stable and isn't really meant for the average user

finite sierra
#

Right

#

Didnt know that was a thing

mild abyss
#

i use tabs and spaces

honest pawn
#

Oh yeah?
I use the return key

rough sapphire
edgy crest
low chasm
#

Hey guys, I'm trying to set up a linux VM on my PC. I have two disks, a 256gb SSD, and a 1tb HDD. I'm planning on installing the VM on my SSD, but I want all the apps to be on the HDD, is there a way I can do this?

stark prawn
#

You probably have enough space to put apps on your ssd

eternal ledge
#

Depending on what hypervisor you use, you might have a way to mount/passthrough part of your hard drive and mount it at /usr/ or whatever

stark prawn
#

But yeah, you could make an ext4 partition on your hdd and mount it on your vm

low chasm
#

Oh ok, thanks :D

high zealot
#

Ok

sharp delta
#

guys

#

for learning python

worldly grail
#

Yes for starting
After that start making projects

sharp delta
#

okay

uneven pine
#

Are you still doing that?

#

Really?

high zealot
#

Sorry

#

?

fathom lagoon
#

Anyone able to answer a couple Q's I have about views and templates in django?

#

eh, nvm ill figure it out soon

frozen coral
mellow spire
#

So if i addd someone as a collaborator on a github repo, can they see the secrets?

#

of the repo

rich moon
#

quite sure

#

and u shouldnt really be storing sensitive info on a repo anyways

frozen coral
mellow spire
#

u can only update it

#

not see the cureent value

frozen coral
#

๐Ÿ‘

rugged echo
#

daily ot challenge: pronounce w o r c e s t e r s h i r e

rich moon
#

monopoly guy says moNOpoly

rugged echo
#

Gg

twin charm
#

akarys, an ot name with your user name lemon_hyperpleased

clear acorn
twin charm
#

I just realised

#

my mother is preparing some pretty tasty food for lunch lemon_hyperpleased

clear plume
twin charm
#

egg biriyani with fried potatoes, (garam masala added to it)

#

the smell is reaching all across to my bedroom from the kitchen

brazen ingot
twin charm
#

thats self doxx

brazen ingot
#

ok no problem

#

send the pic of the dish instead!

#

I wanna see

#

I like biryanis

twin charm
#

its an egg biriyani

#

no pics pls

brazen ingot
#

Aha np

#

๐Ÿ˜„

#

I ma go buy samosas

twin charm
#

wowow

brazen ingot
#

lmao near my house

#

I will send you a pic!

twin charm
#

samosas, you're watering my mouth

brazen ingot
#

in dms

twin charm
#

its been a while since i ate samosas ๐Ÿฅฒ

brazen ingot
#

haha In northern states they're very famous!

#

in southern they aren't

mellow spire
twin charm
brazen ingot
twin charm
brazen ingot
mellow spire
brazen ingot
mellow spire
#

๐Ÿคจ

twin charm
#

your name is jason right

mellow spire
#

yes

twin charm
#

then whats with shivansh

mellow spire
#

๐Ÿคท

twin charm
#

I'm out, this chat is confusing

mellow spire
twin charm
#

then why did you say,

I am shivansh

#

lol what you kind self doxx

#

ok gg

#

oh lol, nvm. typing mistake

#

@brazen ingot ๐Ÿ˜‘

brazen ingot
#

I saw his name while xith was streaming

#

I saw like shivansh with his pfp

#

@twin charm @mellow spire

twin charm
#

ok, maybe you confused with someone else

#

anyway, this is sus jason.

brazen ingot
#

no it should be json

twin charm
#

JSON derulo

#

haha

brazen ingot
#

Json always sus to me!

twin charm
#

hmmmm

#

I sus everyone now

brazen ingot
#

i have used many times in the bot but yes

#

it is kinda cool

#

but I can't code in that

twin charm
#

what

brazen ingot
#

I have edited my terminal through settings.json. so i realized it is cool!

twin charm
#

oh

#

I see

#

windows terminal amirite

mellow spire
twin charm
#

sed

brazen ingot
mellow spire
high zealot
#

ok

tribal aurora
#

anyone wanna join ?

#

duel starting

#

i won ig

edgy crest
#

i am joining

#

can we use typeracer?

#

this one looks weird

last rivet
#

I'm slow but I will try

inland wolf
#

lol

tribal aurora
#

alright sending the link

#

juin

edgy crest
#

damit the punctuation

last rivet
#

somehow I got 45 wpm even though I was typing at 100 wpm at the moment

inland wolf
#

bruh

edgy crest
#

bruh, i forgot one s on others

#

and i was finished and i had to go back

last rivet
#

110 wpm

edgy crest
#

72 T-T

#

who is the blue?

last rivet
#

that was the fastest I've ever been

#

and the highest accuracy too

#

So there's my new personal best.

#

good race though

rough sapphire
#

If you mention @hoary crane three times at 3 am he will send you a malicious python script

twin charm
#

fake

#

(honestly I really do feel like doing it at 3am because you said it)

twin charm
#

but stop tho

#

lol

stark prawn
#

If you ran their script, be sure to reset your discord password.

honest pawn
#

Invalid Mary?

twin charm
#

mod is typing lets see whats it

honest pawn
#

What was that guy called again?

twin charm
rough sapphire
twin charm
#

I cant see anything about it

stark prawn
#

They shared a token grabber for windows through dms.

rough sapphire
#

Look again, they talk about it. To get the context you need to scroll up

honest pawn
twin charm
#

oh lol

#

can you send initial message link that started convo

#

I see its a fake game but a virus

honest pawn
#

Idk where it began

brazen ingot
#

guy name avram

inland wolf
#

hm

rough sapphire
#

tbh it's a pretty boring event

#

mods banned him, it's over

twin charm
#

@rose sentinel what is it that

#

wait then

stark prawn
#

Different avram

twin charm
#

oh sorry dude for ping

solid pollen
#

They are gone anyway

honest pawn
#

Now he's a celebrity

#

People are copying the guys name

twin charm
#

did anyone actually get the dm from him the python file

#

the malware

frozen coral
#

What's your admin dance @solid pollen ? dancedood

stark prawn
#

Akarys's admin dance is a dance to the weeknd.

brazen ingot
#

This perfects him!

solid pollen
#

Hahaha

honest pawn
#

Lmao

frozen coral
#

Dang that's one dapper kid

#

Wish I had that fashion sense

honest pawn
#

Which song?

honest pawn
#

Oui

edgy crest
#

i want to turn this into a dance gif lol

brazen ingot
honest pawn
#

Someone's gotta do it

edgy crest
#

idk how to ยฏ_(ใƒ„)_/ยฏ

honest pawn
#

Default dance akarys
Lmao

inland wolf
#

i bet he gets all the ladies

honest pawn
#

Yea

stark prawn
#

He's a safe 1.5m distance from all the ladies.

inland wolf
#

thats true

honest pawn
#

No duh covid

twin charm
#

bruh covid

inland wolf
#

hes got the moves and hes got the distance

#

hes everything ๐Ÿ˜Ž

honest pawn
#

Safe and stylish lol

twin charm
#

this kid is like the living testament of all french stereotypes

inland wolf
#

lol

brazen ingot
#

Girls don't like a piggy boi ๐Ÿ˜”

twin charm
#

the outfit and the glasses

inland wolf
#

i see

#

mans vibin

honest pawn
#

Yea

twin charm
solid pollen
#

Yep

honest pawn
twin charm
#

returned the favour

#

akarys...go

#

and pin

clear acorn
twin charm
rough sapphire
#

Even if, you first read the file before you run it

twin charm
#

yeah

#

what does it actually do

#

that code

#

what is a token grabber

rough sapphire
honest pawn
rough sapphire
#

@west zephyr token == credentials in a file right?

twin charm
#

how did you guys realise that its malicious code

rough sapphire
#

people read the source code

twin charm
#

you read it?

#

nice

rough sapphire
#

Some people read it, not me, they posted parts of it as screenshots in the #python-discussion

#

This was not that far up .... hyperlemon

twin charm
#

what in the world

twin charm
#

we need to give that guy an award for checking source code

#

whoever exposed

rough sapphire
#

I'd like to read it too but it's understandable that they (probably) won't share it

honest pawn
#

Why?
In case anybody else tries to pull that one again?

rough sapphire
twin charm
#

because he stopped other people to directly run it

honest pawn
#

That guy deserves a medal

twin charm
twin charm
twin charm
#

as a programmer, I wanted to read the code and see what it is

#

sed

acoustic moss
#

lol

solid pollen
#

Let's not do that, please

twin charm
#

yes he unfriended me, so ๐Ÿ‘

#

no more chats

honest pawn
#

Lol

twin charm
#

I aint gonna run it anyway, just gotta check the code

honest pawn
#

Lol ikr

twin charm
#

haha

acoustic moss
#
proc iml;
start LocSaddlePt(M);
   dim = dimension(M);  n = dim[1];  p = dim[2];
   minRow = M[ ,>:<];                    /* for each row, find column that contains min */
   minSubscripts = T(1:n) || minRow;     /* location as (i,j) pair */
   minIdx = sub2ndx(dim, minSubscripts); /* convert location to index in [1, np] */
 
   maxCol = T(M[<:>, ]);                 /* for each column, find row that contains max */
   maxSubscripts = maxCol || T(1:p);     /* loation as (i,j) pair */
   maxIdx = sub2ndx(dim, maxSubscripts); /* convert location to to index in [1, np] */
   xsect = xsect(minIdx, maxIdx);        /* intersection; might be empty matrix */
   if ncol(xsect) > 0 then
      return ( xsect );  
   else 
      return ( . );
finish;
 
M1 = {1 2 3, 4 5 6, 7 8 9};  idx1 = LocSaddlePt(M1);
M2 = {9 1 2, 8 5 7, 3 4 6};  idx2 = LocSaddlePt(M2);
M3 = {8 1 9, 7 2 6, 3 4 5};  idx3 = LocSaddlePt(M3);
print idx1 idx2 idx3;

what language is this written in?

simple sand
#

totomorrow school starts

#

and i have to attend it physically

#

๐Ÿ˜ฆ

acoustic moss
#

please don't die

twin charm
#

omg

#

dont catch it

versed saffron
#

โ€In a matrix language such as SAS/IML, you can use row and column operators to find the location of a saddle point, if it exists. โ€œ

#

Thatโ€™s from the article the codeโ€™s in

acoustic moss
#

wait what

#

where's that written and how tf did I not notice that

#

a shit Im an idiot lol

#

guess my brain just skips the introductory para lol

rough sapphire
rough sapphire
rough sapphire
rough sapphire
#

and ofc "str"+str()+"str"

#

well the variables are numbered, so...

rough sapphire
rough sapphire
rough sapphire
#

It works gives the right output for numbers 0-10 then it doesn't work somehow

inland wolf
#

that is a perfect chevron

acoustic moss
rough sapphire
#

I told you ๐Ÿ™‚

inland wolf
#

lol

honest pawn
rough sapphire
honest pawn
#

More
Moooorree

rough sapphire
#

Hard coded tick tack toe game?

inland wolf
#

lol

rough sapphire
acoustic moss
#

in b4 someone links the xkcd

rough sapphire
acoustic moss
inland wolf
#

BRO HOW LONG DO I HAVE TO SCROLL?

#

omg

honest pawn
#
def isWholeNumber(a):
    if (a == 0):
        return True
    elif (a == 1):
        return True
    elif (a == 2):
        return True
    elif (a == 3):
        return True
    elif (a == 4):
        return True
    elif (a == 5):
        return True
    elif (a == 6):
        return True
    else:
        return False
#

Lemme work on this more

#

I know how to make it better

inland wolf
#

ok

#

lol

honest pawn
#

Needs more nesting

inland wolf
#

first of all:

#

is_whole_number()

rough sapphire
honest pawn
#

Ik

inland wolf
#

lol

honest pawn
rough sapphire
honest pawn
#

I know how to automate it

#

I've done it before

inland wolf
#

i was on my phone and i had to scroll down 5000 lines

rough sapphire
rough sapphire
#

where's that ping video someone made?

#

i need to watch it

rough sapphire
#

no

#

idk then

honest pawn
rough sapphire
#

ye

#

it was in a ot channel

honest pawn
#

Look in pins

rough sapphire
#

i dunno

honest pawn
#

I found it somewhere i forgot where it went

rough sapphire
honest pawn
#

Gold

#

Pins

rough sapphire
#

Can anybody actually do a @ everyone ping ๐Ÿ˜† ๐Ÿ˜†

honest pawn
#

Nope.

honest pawn
#

Nope.

rough sapphire
#

I will try it out in my next help channel ๐Ÿค”

honest pawn
#

It will be immediately taken down

#

I think they learned their lesson after the parrot thing

rough sapphire
#

Can't they revoke permission so only admin can ping everyone?

honest pawn
#

Idk

#

@ everyone i am asking because of my curiosity no intention to harm anyone"can ddos attack can be done by parrot?

tribal aurora
#

yes

#

it can be done even in windows

uneven pine
#

No, no it can't. If you think opening a hundred windows of cmd is a dos attack you're wildly mistaken. Let alone a ddos

#

There are no tools built into windows that could facilitate that

#

Nor should anything like this really be discussed.

rough sapphire
#

Then just don't discuss it with him ๐Ÿคทโ€โ™‚๏ธ

proven furnace
#

Man

#

I wish I had nitro

#

And my old account

#

:sadness level 100:

last rivet
#

I accidently went into #315249263103967242 thinking it was python-general, so I was like "why did the chat close and why is lemon promoting stuff?"

#

took me a minute to realize

high zealot
#

Co

#

Ol

narrow pecan
#

(Though thatโ€™s not something we do often at all)

mild abyss
#

i use

clear acorn
#

Well I really use windows btw๐Ÿคฃ ๐Ÿคฃ

clear plume
high zealot
#

Yep. One time I got pinged 22 times on this server after checking in the morning

#

In one day

vapid nymph
#

@high zealot

vapid nymph
#

Although istg that had to be intentional

acoustic moss
vapid nymph
#

Yeee I wish I had been here for that

#

Server has 1.5x members now

high zealot
high zealot
#

Can u not reply too mr

#

Me

solemn leaf
#

Hey

#

Does anyone know how to fix bad sound quality in linux

brazen ingot
#

lmao 2021

ornate galleon
#

@supple obsidian?

supple obsidian
#

cool, are you trying to like see how windows works from within a USB without actually installing it

supple obsidian
#

kinda like how you can try linux without installing

ornate galleon
supple obsidian
#

hmm

#

@viral parrot do you think wintoUSB is suitable here?

supple obsidian
edgy crest
#

i used it just today to run an .exe file and it worked fine

ornate galleon
#

i do use wine, but it doesnt run everything, there is still a large part of programs that i can't run

edgy crest
#

I ran it on arch though

#

ah

acoustic moss
#

i use windows btw

wooden sapphire
#

my school has this site for online assignments

brazen ingot
#

lmao

wooden sapphire
#

ITS MADE ON PHP

brazen ingot
#

lmao

wooden sapphire
#

WHYYYYYYYYYYYYYY

#

WHYYYYYYYYYYYYYYYYYYYYYYY

#

:C

brazen ingot
#

hahah

#

php is very interesting!

#

haha

#

Did you make that web?

#

cuz you're the one who know programming ๐Ÿ˜Ž

#

@wooden sapphire

wooden sapphire
#

im a student if i did it i would rig tf out of the grading

rough sapphire
twin charm
#

but mods will get notified that you pinged

rough sapphire
#

What's wrong with PHP?

narrow pecan
#

And yeah, I believe we have a mod alert for it

twin charm
#

or was it stelercus idk

narrow pecan
#

Ah, of course these wonderful people to have done it already

rough sapphire
carmine niche
rough sapphire
#

Is there any downside for the viewer of .php sites (not developer)?

narrow pecan
#

Thatโ€™s one of the best videos ever

#

Hahaha

rough sapphire
#

It's really funny ๐Ÿ˜†

carmine niche
#

(as in, the fact that bugs are easier to make)

#

nontransitive equality means that there exist values of a, b, and c for which a == b and b == c but a != c
circular comparison means that there exist values of a, b, and c for which a < b, b < c, and c < a

#

which, side note

rough sapphire
#

Several people are typing ... ๐Ÿ‘€

carmine niche
#

the circular comparison thing also means that there are some lists which, when sorted using sort(), end up not actually being sorted

carmine niche
rough sapphire
twin charm
carmine niche
#

when you turn of @ everyone ping it is still blue it just doesn't ping

carmine niche
#

which is why the message is not highlighted in orange like norml pings are

carmine niche
twin charm
#

oic

rough sapphire
#

Anyways thanks for info

twin charm
#

prank : @โ€‹moderators
this isnt a ping

#

@โ€‹KRL

#

look

#

its unicode magicc

#

โ€‹

rough sapphire
#

This is a real ping:
@โ€‹everyone

twin charm
#

what

carmine niche
#

unicode magicke

twin charm
#

โ€‹

twin charm
carmine niche
rough sapphire
carmine niche
#

pr0nk

rough sapphire
edgy crest
carmine niche
carmine niche
edgy crest
#

ferris is the best

carmine niche
#

hehe

#

yush

edgy crest
#

๐Ÿณ๏ธโ€โšง๏ธ

carmine niche
#

ferris is poggers

#

i've said it before and i'll say it again

#

i want someone to write a wattpad about ferris and xenia vibing

#

and maybe doing trans stuff

clear plume
carmine niche
#

yesh

#

there are also agender and genderqueer versions

#

i wish there was a genderfluid version but i don't think there is

#

and there's also a pride one

clear plume
carmine niche
#

OwO

mild abyss
carmine niche
#

yush

mild abyss
#

oooh

#

do u wanna become a human of julia too?

#

@carmine niche it is a fun language :3

carmine niche
#

i may look into it at some point

rough sapphire
#

how do I reinstall with pip?

narrow pecan
royal lakeBOT
narrow pecan
#

Ah, I see

rough sapphire
#

you can also do \ iirc

acoustic moss
#

nope, that still pings

#

@rough sapphire

narrow pecan
#

Yeah, that pings

wise schooner
#

i actually wanted to learn julia

#

then thought i didn't have a use case for it lol

#

rust is soooo nice xD

rough sapphire
coral void
#

Well, that worked

rough sapphire
#

@rough sapphire

#

ok

viral parrot
#

so whats going on?

graceful basin
#

^

viral parrot
#

are you playing with ping commands?

rough sapphire
viral parrot
#

well.. you could have created your own discord guild to test that out

honest pawn
#

I tried it once

viral parrot
#

no need to ping all moderators, for then removing it

honest pawn
#

It was bad

rough sapphire
#

ok

viral parrot
#

making all sleeping moderators wondering whats going on when they wake up

rough sapphire
#

will do

honest pawn
#

@rough sapphire

viral parrot
#

with no way of finding out.

#

do you agree?

#

i feel like im being ignored @rough sapphire

#

you cant go around pinging roles on the server for no reason

rough sapphire
#

ok

viral parrot
#

and if you do it by accident, the worst thing you can do is to delete the ping

#

so dont do that next time at least.

acoustic moss
#

I remember pinging you by accident once lemon_ping

wise schooner
#

how many of y'all use custom css/light theme/amoled dark theme?

solid pollen
#

Did someone ghost pinged lemon_unamused

clear plume
#

f

uneven pine
carmine niche
#

OwO

clear plume
uneven pine
#

Yes, yes it is

#

They've also blocked you from changing css on the normal client

#

Cause it's not like they're going to monitor something like that right? And I was trying to fix their block system to actually block people

#

But after you change a few css values in the inspector, messages stop loading completely

#

As usual, the dev team doesn't care

#

If you try to email them about it they tell you just right click and block

When I try to explain that I can still click to view messages they tell me "just don't click"

When I try to explain that's not how people with compulsivity issues work, they tell me just to leave the mutual servers or get over it. As if that's a solution

#

They always say "we can't make it any better, it will cause issues". Meanwhile in one evening I could fix it myself

carmine niche
#

or rather

#

for their ableism

#

:)

high zealot
#

Does anyone here use linux?

worldly grail
#

A lot of em.

#

Me too

#

Windows too

#

Mac too

high zealot
#

cool

#

Hey what OS do ppl use in space

#

Linux cause they cant open windows in space

honest pawn
#

Maybe Apples and Macs can be used as a special space food as a last resort

carmine niche
#

seen that one before i think

carmine niche
#

going back to the "things haskell can do" thread

#
-- but can python do this
Prelude> let 2 + 2 = 5 in 2 + 2
5
```(`Prelude>` is the ghci prompt, much like `>>>`)
honest pawn
#

Wait, haskell can do that?

carmine niche
#

hehehehehe

honest pawn
carmine niche
#

basically what's happening

#

+ is a function

#

an infix function but a function nonetheless

#

and when you say 2 + 2 = 5 you

#

are shadowing the + function

#

haskell lets you define functions partially

#

so in this case you are only defining the function for the specific case of 2 + 2

mild abyss
honest pawn
#

How can a language's core keywords be rewritten so easily?

carmine niche
#

if you tried something like

Prelude> let 2 + 2 = 5 in 1 + 3
-- *** Exception: <interactive>:5:5-13: Non-exhaustive patterns in function +
mild abyss
carmine niche
#

lol

#

there aren't really as many keywords in haskell as you think

#

none of the operators are keywords they are all functions

#

just infix

honest pawn
#

Well idk haskell

#

Sue me

carmine niche
#

lmao

mild abyss
#

i am learning haskell just to understand FP. i dont have many use cases for it for now

carmine niche
#

in fact

#

most of haskell is not part of the core language

#

the majority of it is defined in the Prelude module

#

there are some things that are magic

#

but the majority of the language is not included in the base

#

it is just an automatically imported module

#

idk if magic is the right word

#

io actions are the only magic thing i can think og

#

and error i guess is also magic

#

of*

mild abyss
#

and then chats dead

carmine niche
#

lol

#

Haskell, Chat Killer

mild abyss
#

if pure is awake or lakmatiol probably it will not be deadz

carmine niche
honest pawn
#

Well the typical layman dunno haskell

carmine niche
#

i think everyone should learn haskell, at least as much as they can

#

even if you'll never use it you'll learn a lot of useful ideas that you can port to your other works

mild abyss
#

julia has haskell like features on its syntax and form which i like

#

begin ... end syntax for example reminds me of do ... in haskell

carmine niche
#

my favorite joke atm is avery = avery, which is a joke that only my grsm haskellers will understand UwU

#

well

#

do is just a shorthand for bind and bind-drop

mild abyss
carmine niche
#

it is sugar

mild abyss
carmine niche
#

lmao

mild abyss
#

i am learning from a book