#ot1-perplexing-regexing

1 messages Β· Page 530 of 1

mild abyss
#

i kinda forgot because i am dumber now

lunar shore
#

Uhm ... I just wish I pass the entrance exam which I have after 3 years and goto uni and have fun the rest of my life 😦

#

Uni is all fun

mild abyss
#

but we focused on the theories in calculus and why this thing makes sense or whatnot

lunar shore
mild abyss
#

and then boom i hated the school so after i graduated i tried to forget everything that makes me sad

lunar shore
#

Calculus is all about limits, derivatives , and integrals

#

But idk if there's more than that

acoustic moss
#

integrations can get pretty complicated πŸ₯΄

lunar shore
acoustic moss
#

derivatives are ez

#

just plug 'em into neat formulas

mild abyss
#

and then u die from it

lunar shore
#

AAAAAAAAAAAAA laaaaag

acoustic moss
#

integrations require a special intuition of their own

mild abyss
#

my net crashed

#

if you get theoretical, youll get mindblown and headache

acoustic moss
lunar shore
mild abyss
#

even just the basics

lunar shore
#

hahastinkypoop is math pro

acoustic moss
#

πŸ₯΄

mild abyss
#

like 1+1

acoustic moss
#

def not

lunar shore
#

u r math pro

lunar shore
acoustic moss
#

πŸ₯΄

mild abyss
lunar shore
#

^

acoustic moss
#

uh ok

mild abyss
#

but i left because i was annoyed lol

lunar shore
#

And you're the one who explained differentiation to me

acoustic moss
#

well

acoustic moss
lunar shore
#

I mean , isn't integral just reverse derivative?

acoustic moss
#

well yes

lunar shore
#

So why should it be complicated to understand?

mild abyss
#

should i tell u?

acoustic moss
#

but you don't have nice formulas like you do for differentiations

mild abyss
#

okay goodnight i am sleepy

lunar shore
acoustic moss
#

each question is like a puzzle of its own

lunar shore
acoustic moss
#

If I asked you to differentiate sin(x)/x

#

it wouldn't be too hard

lunar shore
#

Yeah

acoustic moss
#

if I asked you to integrate it on the other hand

#

πŸ₯΄

lunar shore
#

Not really

#

You can use the power rule

#

Except the function

#

sin(x) would become cos(x) , right?

acoustic moss
#

you're talking about the differentiation part?

lunar shore
#

No , the integration

#

And then in the end you would probably get something like :

(cos(x) / x) ^ 2
----------------  + C
2

Isn't that the answer? You just have to simplify it

edgy crest
#

(this is a joke i dont know what differentiation is)

lunar shore
#

Differentiation is just the action of calculating the derivative

edgy crest
#

why not call it derivation

lunar shore
#

idk , differentiation sounds more logical

edgy crest
edgy crest
#

how

#

is discord just lagging for me or..?

lunar shore
# edgy crest how

Because you calculate the rate of change , which means the difference of x with the next x which would still be differentiation if I'm not wrong

lunar shore
acoustic moss
#

nope, lag for me too

graceful basin
#

discord is being troublesome now

acoustic moss
#

jesus christ it's impossible to communicate with this lag

lunar shore
#

My lag has gone now

acoustic moss
#

you can't integrate the sin(x) part and the 1/x part separately and then just join them together

#

that's not how it works

#

go ahead and differentiate the result you got

#

see if it's sin(x)/x :)

#

ah thank god
lag is gone

high haven
#

so this

def reverse_words(text):
  return " ".join([t[::-1] for t in text.split()])

outputs this

reverse_words('The quick brown fox jumps over the lazy dog.')

ehT kciuq nworb xof spmuj revo eht yzal .god

#

but how do i retain double space? do i need to rewrite the entire code?

graceful basin
#

you could split by ' ' instead of no args

high haven
#

maybe not use split()?

#

oh

#

let me try that

lunar shore
high haven
lunar shore
acoustic moss
#

that is not differentiating with respect to x

#

that is differentiating with respect to -cos(x) / x

#

to get the final result you'll have to apply chain rule and multiply the result you got with the derivative of -cos(x)/x again

lunar shore
#

Hmm, you can't use the power rule for the derivative? wtf

acoustic moss
#

you do use the power rule for the derivative

lunar shore
#

is it because there is a function in the nominator?

acoustic moss
#

d/dx of (f(x))^2 != 2f(x)

#

it's equal to 2f(x)*d/dx(f(x))

lunar shore
#

oh wow

#

Wait

acoustic moss
lunar shore
#

why divided by derivative?

acoustic moss
#

multiplied

lunar shore
#

Oh yeah . but why ?

acoustic moss
#

right

#

let's replace f(x) with y because it's easier to type

lunar shore
#

mhm

acoustic moss
#

we want to find:

fringe fossil
#

Hi

acoustic moss
#

we do not know the derivative of y^2 with respect to x now

lunar shore
acoustic moss
#

arbitrary example

#

you can replace it with any function of y

acoustic moss
lunar shore
#

Hmmm

acoustic moss
#

which is 2y

lunar shore
#

okay , integral is complex, I'm convinced LOL

acoustic moss
#

this is differentiation

#

the chain rule

#

so let's multiply the numerator and denominator by dy, so we can get the form d(y^2)/dy

acoustic moss
#

now we can substitute in the value of d/dy y^2

#

which we found using the power rule, is 2y

lunar shore
#

Hmm

#

didn't know derivative was this complex...

acoustic moss
#

so we end up with

lunar shore
#

wow

#

damn

#

So we should calculate the integral of 2y?

#

Or y/2?

#

I'm confused aAAAaaaaAAAAAAAaAaA

acoustic moss
#

if only there was a chain rule in integration πŸ₯²

lunar shore
#

I didn't know math was like this

lunar shore
acoustic moss
#

in summary, if we know derivative of f(x) and of g(x), we can use the chain rule to calculate the derivative of g(f(x))

last mantle
#

and you can mess with dx to kinda make it chain rule

acoustic moss
#

if you're talking about the integration by parts

#

bleh

last mantle
#

yes yes

#

lol

lunar shore
#

wow'

vapid nymph
#

@low chasm πŸ‘€

low chasm
#

Heyy

#

Lmao

vapid nymph
#

wyd πŸ‘€

low chasm
#

Writing a documentation lol

vapid nymph
#

o

vapid nymph
#

Dang.... @oak tangle reacted to this

#

O

#

Those are private devops emojis

#

πŸ˜”

#

SEND THEM ALLLLL

#

But seriously what are their main purposes?

oak tangle
#

It's for our internal roundtable channel where the admins and domain leads keep each other up to date about the things they've done and planning to do

#

We have a weekly stand-up meeting, but due to timezones, not everyone can be there

vapid nymph
#

I mean the roundtable_ongoing roundtable_next_week roundtable_last_week

#

O

#

I could

#

I didn't check their names lel

#

πŸ₯΄

#

I assume that future is related

oak tangle
#

yeah, it's for thinks you've planned for the future, but not the next week or so

vapid nymph
#

Ah

vapid nymph
#

πŸ‘‹ I c u

winter terrace
#

here's a fun drinking game: every time you see {somevar} == true or false take a shot

honest star
#

Urgh I really dislike Matlab

vapid nymph
#

don't use it then?

honest star
#

I'm trying to convert this Matlab script to python so I can stop using matlab for my one class

vapid nymph
#

o

#

what is matlab btw?

honest star
#

It's a program used typically in scientific and numerical applications. It has scripting capabilities, but it's mostly used by scientists and engineers so the code quality is abysmal

vapid nymph
#

o

eternal wing
#

@remote socket omg, I otned this like a few days ago. This otn is even fast.

remote socket
#

lol

vapid nymph
#

πŸ‘€

#

can we get context for it?

eternal wing
#

xith. is. fast.

vapid nymph
#

oh snap

topaz aurora
#

Xith is a bot

vapid nymph
#

you did a forceadd privately πŸ‘€

eternal wing
#

that screenshot actually explains it all

topaz aurora
#

Reacts in microseconds to pings

vapid nymph
#

@remote socket -ping

remote socket
#

w0t

topaz aurora
#

Told you

vapid nymph
#

thanks xith, sorry

remote socket
#

lmao

#

np

#

example

vapid nymph
#

wtf

vapid nymph
#

oh lord

#

while looking for more examples

#

I stumbled across why the shared_burst rule is disabled

#

#bot-commands message

topaz aurora
#

Now that I think about it, it's been a few months since that last incident

#

Hmm

vapid nymph
#

πŸ‘€

#

don't jinx us

topaz aurora
#

I hope not lol

mild abyss
#

hmmmm

#

salmon

honest star
#

Well I now have a python script that can read data. I have NO idea if it reads it correctly though...

green pecan
sterile sapphire
#

this hurt my eyes to look at

wraith whale
#

it does

tardy rain
#

HIGH C O N T R A S T

wraith whale
#

yeah

low chasm
#

My little sister just asked me if Beyonce was real lmao

sterile sapphire
#

I would

#

idk if it's Indian culture but my mom calls my two little cousins my sisters

#

one time I tried correcting her and she slapped me

sterile sapphire
# last mantle Wtf

yeah dude idk what to say it's just customary in Indian culture to hit your kids

rough sapphire
vapid nymph
#

@bleak lintel do you have the /steak command source? i was hoping to make something similar

#

As far as i know it's not on your github

#

The main reason I ask is because there is no bot account here, and I want to do the same thing

#

Idc how messy it is btw

acoustic moss
vapid nymph
#

A mentions of the @Developer role

#

Which everyone had at that time

#

Then there was a shared burst automod rule in @royal lake

#

So if 21 people sent messages within 10 seconds, it thought raid and deleted them all

acoustic moss
#

so it was basically an @everyone ping?

vapid nymph
#

Yep

acoustic moss
#

lol

vapid nymph
#

#bot-commands message

#

That msg explains it

#

That was the ping

acoustic moss
low chasm
#

Lmao

inland wolf
#

just how fast is xith?

vapid nymph
#

Extremely fast

vapid nymph
remote socket
#

not avaialble rn sorry

vapid nymph
#

@inland wolf that fast

remote socket
#

you deleted those messages pretty quick

last mantle
#

hmm

inland wolf
#

lol

last mantle
#

@vapid nymph you can use the hata module which has inbuilt support for slash commands

#

and you dont even need to change the dpy code afaik

vapid nymph
#

I thought you weren't here

royal lakeBOT
#
Author

HuyaneMatsu

Requires Python

=3.6

Summary

A powerful asynchronous library for creating Discord bots in Python.

License

Apache 2.0

vapid nymph
#

That?

#

Oh, that

last mantle
#

ye

vapid nymph
#

Enticing

#

Welp

last mantle
#

yeah and the way slash commands work,

#

you can make a separate py file etc just for that

vapid nymph
#

Yeah actually

last mantle
#

and keep your dpy code intact

vapid nymph
#

I was planning to make a bot just for it lol

#

Except

#

No bot πŸ˜‰

last mantle
#

hmm

#

why

vapid nymph
#

@eternal wing no one else is online sir

last mantle
#

xith is faster

eternal wing
#

ive been a🚌ed

last mantle
#

too slow

vapid nymph
#

He is

last mantle
#

boo

vapid nymph
eternal wing
#

I realize many people awake now are not from the US, but it is just very important to note that the west coast is the best part, east coast bad. and my username is punishment for this opinion

honest star
#

I dunno, your name says otherwise

vapid nymph
#

my pi hates me

rough sapphire
#

time to work on an algebra module :D

eternal wing
vapid nymph
#

hey fishery, ily πŸ€— πŸ‘€
no homo

eternal wing
#

ohhhh, math does play well with python

#

thank you, u2 I suppose, since I love all of pydis

vapid nymph
#

I think its time to get off of discord before I continue

rich moon
#

u must be the imposter yesterday

#

where there was 3 of the same person

eternal wing
#

you should sudo poweroff to punish your dissident pi

#

the impostor is no more

vapid nymph
#

πŸ‘€

vapid nymph
#

I can only assume they were banned.

royal lakeBOT
#

Hey @vapid nymph! I noticed you posted a seemingly valid Discord API token in your message and have removed your message. This means that your token has been compromised. Please change your token immediately at: https://discordapp.com/developers/applications/me

Feel free to re-post it with the token removed. If you believe this was a mistake, please let us know!

vapid nymph
#

….

#

fuck

high zealot
#

Ok

low chasm
#

Hi

#

It's midnight here

sterile sapphire
low chasm
#

Lol

#

Ur In the east coast?

rich moon
#

imagine living in east coast

#

couldnt be me

low chasm
#

Lmao

#

The people online are different than in the day

#

But I guess that's to be expected

rich moon
#

i only appear during night

#

seems about right

low chasm
#

Lol

rough sapphire
#

hi

vapid nymph
#

@eternal wing is fisher fast?
edit: no

#

πŸ‘€

#

also, you have a new pfp? (this was main reason for ping)

last mantle
#

fisher sure likes pings

winter terrace
#

what's the difference between a nerd and a geek?

last mantle
#

ig geek likes electronics or something idk

rough sapphire
#

nah

#

i think they are kinda similar

winter terrace
#

they are very similar, but im just wondering if they mean the same thing

rough sapphire
#

there is yt video im watching(thanks to you lol)

winter terrace
#

what video?

rough sapphire
#

so it says geeks are pop generation(kinda), those are the kind of people who like to be being called geek, will try to dress as geek and kinda act as they know stuff(weather they know or not is a different story)

nerds on other hand are pure beings, regardless of what culture follows, when you talk with them(if you can) you can see how much they love the stuff(assuming that they allow themselves to be open)

winter terrace
#

so geeks are nerds that follow trendy culture

rough sapphire
#

nah geeks are may be in wonna be nerd phase or may be yeah trendy cultural nerds

winter terrace
#

and neither of the groups are able to realize their obnoxiousness

rough sapphire
#

that is true.

#

the truth of being nerd is you can easily be interesting b/w certain group and easily be dushbag in most of the people

#

as a reader, i know that i cannot always talk abt novel w/ every guy

winter terrace
#

>dushbag
agreed

rough sapphire
#

but if i find the right guy, we can have convo for hours

#

and may be thats why they choose to not exactly talk alot most of the time

winter terrace
#

im still a nerd but i think i display a minimal amount of it

rough sapphire
#

we all do really

#

when we even see some glimpse of some similar hobby around us, we do that

winter terrace
#

but thinking back holy shit i was a pretentious little bitch that spouted nerdshit all the fucking time

rough sapphire
#

and when we find out they are not knowledgeable, we even disgrace them

winter terrace
#

i dont understand how i had friends at all back then

rough sapphire
#

its like seinfeld said, as a child, having a friend is simple.

hey do you have videogame? i love videogames.
You're my best friend!

winter terrace
#

i guess

rough sapphire
#

its pure and simple, but as aging goes we stop ignoring the things we dont like

winter terrace
#

i think what really helps to make being a nerd somewhat interesting is shitposting and cool robots

wild dew
#

hello

winter terrace
#

or just gadgets n stuff in general

wise schooner
#

does anyone know how do i install upip in pycopy?

rough sapphire
#

yeah its kinda good, we kinda are initially geeks then turn into nerds

wise schooner
#

yeah... but don't think many here use any python implementation except cpython lol

winter terrace
#

have you checked?

#

have you tried to get help?

rough sapphire
#

well, but you may find answer there then here really
this is more of an off topic channel

wise schooner
#

yeah, i will get a help channel. I thought this was kinda offtopic

rough sapphire
#

all py stuff is on topic

rough sapphire
#

I just started learning coding. I'm still thinking what I can do with this knowledge in the future. I'm still a student, and I don't know if we will have coding in the future. What can I do with coding?

vivid path
#

You can send automated complaint emails to bussinesses that you dont like, modify tools so they are barely useful, and most importantly of all: you can relate to coding memes on social media

rough sapphire
#

I see. Thank you very much.

#

you can relate to coding memes on social media
wow

last mantle
#

you can do a whole lot more

high verge
#

Programming robots, making little apps for yourself

bleak lintel
twin charm
#

JavaScript? as in discord.js?

bleak lintel
#

It's JavaScript as in a google cloud function

#

Just a small webserver

last mantle
#

thanks joe :)

solid pollen
#

@remote socket but how fast?

remote socket
#

what is it that you want

last mantle
#

wow

#

what the fuck

twin charm
#

haha

solid pollen
#

Pretty fast indeed

remote socket
#

I was listening to a calculus lecture sitting in a very odd position

solid pollen
#

!sf 816970939672952902

royal lakeBOT
#
Snowflake: 816970939672952902

Created at 2021-03-04 09:50:50.604000 (34 seconds ago).

last mantle
#

damn

twin charm
#

uhh?

solid pollen
#

!sf 816970972305162251

royal lakeBOT
#
Snowflake: 816970972305162251

Created at 2021-03-04 09:50:58.384000 (37 seconds ago).

remote socket
solid pollen
#

7.5s hahaha

tranquil orchid
#

he's fast, but how fast

twin charm
#

what does that ccommand do

last mantle
#

vector fields o

solid pollen
#

It takes an ID and tell you when it was created

tranquil orchid
#

lets see how long the bot takes to ping back

#

!ping @remote socket

royal lakeBOT
#
Pong!
Command processing time

108.090 ms

Python Discord website latency

0.972 ms

Discord API latency

123.555 ms

tranquil orchid
#

well

#

ok

twin charm
#

hmm

remote socket
#

but it says 34 vs 37

last mantle
#

.bm 816971158381264917

solid pollen
#

That is a short website latency, damn

vivid path
#

!sf

royal lakeBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

remote socket
#

There's no way it was 8 seconds

vivid path
#

:(

remote socket
#

I didn't take that long to get out of my odd position

solid pollen
#

Hahah

#

I guess you needed some time to type the message and send

last mantle
#

yeah

remote socket
#

huh

#

anyways

#

I'm going back to my Calculus now, 'tis 2am.

tranquil orchid
#

Nice

twin charm
#

you had a whole day, and you are studying after midnight πŸ‘€

tranquil orchid
#

That's just the grind

remote socket
tranquil orchid
#

I reckon I've been studying for at least 5 hours a night every day for the past three weeks cause schools just so much fun at the moment

twin charm
#

and I got my mafs exam day after tomorrow

#

πŸ₯΄

gritty zinc
#

there are two ways to look at vector fields: the simple, nice, intuitive coordinate-based concept of a function attaching a vector to each point of a space

#

...and the topological one, where you have cotangent bundles and covariant derivatives and Lie brackets 😩

flat trellis
#

How come this outputs a, b and 2?

function testing(a){
    switch (a){
        case "a":
            console.log("a");
        case "b":
            console.log("b")
            return 2
    }
    return 1
}

console.log(testing("a"))
twin charm
#

JS?

acoustic moss
#

if you don't put a break at the end of a case then it falls through to the next case

twin charm
#

is this JS? what is this lang

acoustic moss
#

yes

#

js

flat trellis
acoustic moss
#

nope

flat trellis
#

Am confused

twin charm
#

!comparison

royal lakeBOT
#

Assignment vs. Comparison

The assignment operator (=) is used to assign variables.

x = 5
print(x)  # Prints 5

The equality operator (==) is used to compare values.

if x == 5:
    print("The value of x is 5")
flat trellis
#

I thought it was the same as just doing:

if(a == "a"){
  // ...
}
else if (a == "b"){
  // ...
}
twin charm
crude kestrel
#

... missing break?

acoustic moss
#

if it matches one, then it'll continue to execute all the next cases until it comes across a break

flat trellis
#

Oh, that makes a lot more sense

#

Cheers

acoustic moss
#

you can leverage this in some cases too

#

like if you want to do the same thing for two cases

flat trellis
#

So if I did this it would work as I'd expect?:

function testing(a){
    switch (a){
        case "a":
            console.log("a");
            break
        case "b":
            console.log("b");
            return 2
        case "c":
          console.log("c");
    }
    return 1
}

console.log(testing("a"))
flat trellis
crude kestrel
#

break takes you out of the scope {}

#

return out of the function

flat trellis
acoustic moss
# acoustic moss you can leverage this in some cases too

then you just leave the first one blank without a break and allow it to fall through

// You want to do the same thing for hi and hello
switch (a) {
  case 'hi': 
  case 'hello': 
    console.log("greetings")
    break
  case 'bye':
    console.log("goodbye")
    break
}
flat trellis
#

Seems kinda odd I won't lie

#

But thanks a ton for the help. Just gonna take a bit to get used to

acoustic moss
#

yeah

#

just put a break at the end out of habit

flat trellis
#

Had my echo command doing a cls and was so confused for a bit haha

acoustic moss
#

haha

acoustic moss
twin charm
#

it downloads wsl because it needs wsl?

tranquil orchid
#

what's wsl

twin charm
#

lol

tranquil orchid
acoustic moss
twin charm
#

to use it

#

idk lol

mild abyss
#

jk

tranquil orchid
#

I don't use windows

graceful basin
#

it uses wsl to run the containers

#

since hyperV is pro only

last mantle
#

how do i run julia from the terminal

#

i added it to the global env vars

graceful basin
#

just julia worked for me

last mantle
#

it doesnt work for me :(

graceful basin
#

restart the cmd

twin charm
#

which distro do you use then, @tranquil orchid ?

last mantle
#

hmm

tranquil orchid
#

Manjaro on my desktop, macos on the laptop

last mantle
graceful basin
#

huh

twin charm
#

powershell?

#

lol

graceful basin
#

I wonder if I had to set it in a special way

last mantle
#

hmm

graceful basin
#

maybe I added it to path manually

last mantle
last mantle
tranquil orchid
#

rip

last mantle
#

both user and global

mild abyss
#

then your PATH env vars might be also broken

graceful basin
#

did you press OK on everything

#

try $Env:PATH and see if julia is in it

mild abyss
#

PATHs

graceful basin
#

it is no easier on linux tbh

edgy crest
#

it is though pithink

mild abyss
#

or it is just me not familiar with powashell

graceful basin
#

it works the exact same

#

keep in mind that PATH should have directories, not files

mild abyss
graceful basin
#

btw, is there some way to update julia from the terminal

mild abyss
graceful basin
#

julia itself

#

I am on 1.4

edgy crest
#

you can do export PATH="path_to_src_folder:$PATH"

#

in linux

mild abyss
#

nope haha. i just download from the internet and symlink

graceful basin
#

there are about 4 places where that line could go and all of them would work in slightly different ways

#

I find the GUI easier tbh

edgy crest
#

hmmmm

mild abyss
#

@graceful basin you didnt use a package manager? πŸ€”

graceful basin
#

I don't remember

edgy crest
#

you can just add to /usr/bin if it is a file πŸ˜›

graceful basin
#

I installed julia a while back

#

specifically for adding it to mandelbrot

mild abyss
#

i guess u should try to remember. i use two versions here, one is nightly from using AUR, and the other one which is stable from the source. u can have multiple versions of julia and just symlink if u want

mild abyss
#

πŸ˜„

graceful basin
#

ye

#

It was the thing I complained about being slow

#

tbf, it was only slower than compiled languages and JS

last mantle
#

its not there

#

weird

graceful basin
#

well, restart the powershell

last mantle
#

how so? close and open?

mild abyss
#

maybe u can ask in Julia on how u can optimize it.

mild abyss
last mantle
#

hm ok

graceful basin
#

lets do that

mild abyss
#

someone is also interested in mandelbrot too somewhere in #maths

#

though he was using mathematica

last mantle
#

i guess i did not add to PATH after all and did something i should not have done

#

hmmmmmm

graceful basin
#

eh, this was more of a benchmark, it is using the stupid rendering algo

#

there is some smartness involved in rendering it efficiently

mild abyss
#

yup. and i am not smart enough to think of an efficient algo whenever there is a problem xD

last mantle
#

oh shit

#

im dumb

#

hmm still not working

#

i give up

mild abyss
last mantle
#

hmm oki

mild abyss
#

goodluck πŸ˜„

last mantle
#

thanks

mild abyss
#

the first thing i learned i guess is knowing how to read directories before programming

#

πŸ€”

whole sigil
#

Guys I dare u to type in

#

def f():
e()
def e():
f()
f()

#

And see what you get

vapid nymph
vapid nymph
#

click, its the response

whole sigil
#

Oh

#

I got RecursionError: maximum recursion depth exceeded

vapid nymph
#

so xith is fast, and @wheat lynx is always watching

carmine niche
#

@whole sigil yk you can just

def f():f()
f()
vapid nymph
#

which means wookie should be just as fast

#

sadly that's not the case

wheat lynx
#

no im slow

vapid nymph
#

πŸ‘€ wookie when

wheat lynx
#

🐌

vapid nymph
#

kek, lets go fast

#

I'll ping you in a different channel, aight? πŸ˜‰

carmine niche
#

gotta go fast

vapid nymph
#

c'mon

#

it would been ctrl alt shift arrow to go to the ping from your current channel

wheat lynx
#

to be fair to me I am in the middle of a chemistry class

vapid nymph
#

oh~~

#

πŸ‘‹

#

come back when you're not in class

carmine niche
#

qwq

wheat lynx
#

ok

#

ill be back

twin charm
#

ok

acoustic moss
#

art

twin charm
#

ohh

#

lemon is a full-on musician

sterile sapphire
#

he's a good singer damn

#

I'm impressed

#

I'm getting christmasy vibes from his voice

twin charm
sterile sapphire
#

bro looks like he has the next Naruto dojutsu

mellow spire
#

better one

low chasm
#

I installed vivaldi and it uses so much battery lmao

quick ledge
#

noted.

open sentinel
#

Imagine not using a desktop

JK

quick ledge
#

oops, ping

open sentinel
#

xD

low chasm
quick ledge
#

hmm, vivaldi has played nice with me so far.

#

I used firefox previously

rough sapphire
quick ledge
#

interesting choice

bleak lintel
#

i used edge for a while

#

nice browser

rough sapphire
bleak lintel
#

new

#

on macos

rough sapphire
#

yea

low chasm
#

Edge is cool, though it gets annoying with windows constantly pushing it at you

last mantle
#

edge is far better than chrome

#

chrome has to get better now

low chasm
#

Chrome does hog ram

last mantle
#

@carmine niche garuda fixed all the issues that manjaro had

#

that too preinstalled :D

carmine niche
#

yayyy

#

that is poggers indeed

#

also garuda has a fucking snazzy default look

#

just don't update too often because it is rolling release after all ;)

last mantle
#

yeeeee

left jacinth
inland wolf
#

edge is epi

acoustic moss
#

c

lunar shore
rough sapphire
#

xith is fast?

solid pollen
#

You can do the test when he is online

#

Just ping him

#

And see how fast he will answer

#

It is insane

low chasm
#

Lol

austere crane
#

until i am idle

rough sapphire
#

pg_dump -U postgres -t emotes emotes | psql -U postgres -d komodobot

#

gahhh

rough sapphire
#

@remote socket i dont believe you are fast

#

i will challenge the name of the offtopic

rough sapphire
#

thank you for listening to my ted talk

solid pollen
#

But he isn't online lol

rough sapphire
#

oh

vapid nymph
#

@rough sapphire he has a user bot that runs when he's online

#

It's called his fingers and brain

#

Anyways, can I dm someone?

#

I heard there's a new reply bug and I'm interested in seeing what happens

#

Unrelated: hello @solid pollen wyd 0.o πŸ‘€ πŸ˜‰ 😝

#

Well, you were online when I pinged oops sorry akarays

remote socket
low chasm
#

Lol

mild abyss
#

yeah edge is nice

#

for once

rough sapphire
#

@remote socket we shall test how fast you are

remote socket
#

w0t

rough sapphire
#

very fast

vapid nymph
remote socket
#

I am not in class

vapid nymph
#

oh~~

#

hi

#

that was a bit slow ngl

remote socket
#

ok

vapid nymph
#

no don't ban me!

high zealot
#

Lead ahead as the captain said and show them no remorse. Who am I to understand what have I become. Mother home get a telegram and shed a tear of grief. Mud and blood in foreign land

inland wolf
acoustic moss
#

ok

frigid coral
#

@naive cosmos

frozen cobalt
#

Is someone greek here who wants to help me with making a bot? I am greek too and i prefer greeks because the same language(my english is not very good).....

#

Feel free to dm me if so

fast rover
#

Hey can someone help me? Not with coding I want to find more out about something to do with my chromebook

high zealot
#

Oo

quasi acorn
#

i have possibly dumb question regarding shell scripting ...would anyone be able to answer me? it's a p basic question, i think... πŸƒβ€β™€οΈ

graceful basin
#

feel free to ask

high zealot
mild abyss
#

tententennenn

quasi acorn
#

aite so, i'm tryna create a shell script through the terminal in linux, what's the usual way to append multiple lines of shell script commands into a file?

#

because whenever i use cat EOF method, when i view the file again, it removes my variables for some reason 😭 have no idea why its doing that

mild abyss
quasi acorn
#

its just cat<<EOF>>file.sh
(my commands here)
EOF

mild abyss
#

hmm

mild stratus
#

hello, i wanted to ask how to change client side things on a website

#

for example, how would i change it so i would be number one on this leaderboard in agar.io

graceful basin
#

@quasi acorn why not use vi or nano

#

are you in a real tty?

quasi acorn
vapid nymph
#

ooj

graceful basin
#

both vi and nano will run fine across ssh

vapid nymph
#

^

#

those aren't external text editors

quasi acorn
#

oh fr

vapid nymph
#

vim <filname>

mild abyss
graceful basin
#

that is the main usecase for vi

quasi acorn
#

i'll give it a shot

mild stratus
#

rip my question

mild abyss
quasi acorn
#

last i checked nano wasn't workin πŸ˜”

mild abyss
vapid nymph
graceful basin
#

you exit with :wq, press i to start typing text, and ctrl+] to get back to normal mode

mild abyss
#

your EOF >> has one extra arrow so yeah also just use vi or vim, easier than cat EOF method

mild stratus
#

@vapid nymph yeah but where in the dev tools, ive been looking thru them right now, but cant find anything

mild abyss
mild stratus
#

im not even sure where to look exactly

graceful basin
#

are you familiar with html?

mild stratus
#

me?

quasi acorn
#

omg im an idiot, vim works

graceful basin
#

that's good to hear

quasi acorn
#

thank you guys lmfaooo, i was struggling with cat

vapid nymph
#

πŸ‘€

graceful basin
vapid nymph
#

btw if you want to learn how to use vim, run vimtutor

mild stratus
#

@graceful basin a bit yeah, i know how to change text on any website with dev tools

#

but just text

graceful basin
#

actually, that leaderboard may be rendered with canvas

graceful basin
#

so you are mostly out of luck

#

I know

vapid nymph
#

ah okay

#

also hi lak

mild stratus
#

how do those people have 999m scores then in fake yt videos

vapid nymph
#

πŸ‘€

graceful basin
#

photostop

#

hi 8028

mild stratus
#

so its impossible?

vapid nymph
#

good editing, could also be a fake leaderboard overlaid on the real one?

vapid nymph
#

numbers

#

whatever

#

that was me smh

graceful basin
#

yeah, it is a canvas

#

so you can't do it with inspect element at least

mild stratus
#

i found canvas script

#

does that help?

graceful basin
#

if you are willing to decipher the mimified JS

mild stratus
#

what does that mean?

graceful basin
#

the canvas is drawn on with javascript

#

you can read the JS and copy some of the parts and fake the score that way

#

but well, that is a lot of work

#

so my guess is people just use photoshop

mild stratus
#

ok

graceful basin
#
(1, 1, * + * ... *)[^20]
(1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765)
```I think I just found my favourite fibbonaci definition in any language
#

it is one of the features which isn't really useful in practice since its too niche, but it sure as hell looks cool

wheat lynx
#

what language is that?

graceful basin
#

raku

last mantle
#

huh

tired cloak
#

I have an important question. Why?

#include <stdio.h>

void f(float &&) { puts("float"); }
void f(int &&) { puts("int"); }

void wrap(auto &&v) { f(v); }

int main() {
  wrap(1);  // prints "float"
  wrap(2.0f);  // prints "int"
}

????

tardy rain
#

its just function overloading?

graceful basin
#

implicit conversions

tired cloak
#

sure, but it must print "int" for 1 and "float" for 2.0

graceful basin
#

oh wait, I see

#

it's just GCC being weird

#
<source>:6:11: error: 'auto' not allowed in function prototype
#

clang gives an error

tired cloak
#

I'm pretty sure it's allowed in c++20

#

try replacing void wrap(auto &&v) { f(v); } with template<typename T> void wrap(T &&v) { f(v); }

graceful basin
#

ah, I see

tired cloak
#

I suppose this is some kind of weird reference behavior when variable the pointer inside the reference pointing at is actually a constant and not an allocated variable.

void f(float **) { puts("float"); }
void f(int **) { puts("int"); }

void wrap(auto **v) { f(v); }

int main() {
  wrap(&&1);
  wrap(&&2.0f);
}

I mean, this should be the same thing, right? But it won't compile, since you can't get a pointer to a rvalue.

So this may be some legacy behavior from c++98, similar to automatic casting of the floats to doubles in varargs. I'm not a c++ expert though, so this is just my assumption.

graceful basin
#

no, it has a reasonably explanation

#

so, float && means an rvalue reference to a float

tired cloak
#

right...

graceful basin
#

but auto &&v is an lvalue inside the function body

#

so when you instantiate the template with the int type, it cannot call f(int &&), since an rvalue reference cannot be obtained from an lvalue int

#

but with an implicit conversion, which results in a rvalue, it can call the float candidate

#

try removing one of the call candidates and read the error

tired cloak
#

oh wow

#

i get it now

vapid nymph
deep juniper
#

#help-carrot.
i am not trying to get help.
i am showing y'all how dumb i can be.
and how dumb the internet can be.

shell raptor
#

@viral parrot seems to be $1.82, if that's the thing you mean

viral parrot
#

its 8 usd here for just the burger

#

so 4x the cost

narrow pecan
#

Is that a Big Mac?

shell raptor
#

yes

viral parrot
#

damn.. now i want one

narrow pecan
#

It looks way too polished

livid sandal
#

Big macs here are 4.50 euro for a regular meal

viral parrot
#

mcd is just crap.. but its so addictive

tardy rain
#

doesnt it always

viral parrot
#

so @shell raptor when i visit Russia, where should i go?

shell raptor
#

a monthly rate for a one-room rent is about $200

tardy rain
#

the only good thing mcd has is their breakfast menu

narrow pecan
viral parrot
#

i like turist things, things that old people enjoy

#

like when i was in the Netherlands, i went looking at Windmills πŸ˜„

livid sandal
ornate galleon
tardy rain
viral parrot
narrow pecan
#

Understandable

shell raptor
#

@viral parrot I guess you could just walk around the center of any big city like St.Petersburg or Moscow.

livid sandal
viral parrot
shell raptor
#

yeah, I wasn't very serious

ornate galleon
#

wait eivl, in which part of norway are you?

shell raptor
viral parrot
ornate galleon
#

well shit

livid sandal
ornate galleon
#

also @shell raptor are you like, russian, or did u move to russia?

shell raptor
#

I was born here

livid sandal
#

anyways I always thought mcdonalds was way cheaper in the US

viral parrot
#

here is my exact location

ornate galleon
ornate galleon
viral parrot
ornate galleon
#

no

shell raptor
ornate galleon
shell raptor
#

well, neither y or i represent the sound correctly, but yu is closer

viral parrot
#

The simplest way to talk about location

ornate galleon
#

also, are u a communist?

viral parrot
#

the whole world is devided up into a grid, and each grid are given three words

narrow pecan
#

Huh, that's cool

shell raptor
#

no?

narrow pecan
#

I've never heard about it before

viral parrot
#

its great

viral parrot
shell raptor
#

I can imagine reporting my location in case of some emergency.
-- Where are you?
-- rotating ladder eggplant
-- I-

narrow pecan
#

It definitely sounds like a fun thing

ornate galleon
tardy rain
#

!otn rotating ladder eggplant

viral parrot
shell raptor
#

I don't think I'm either

clear plume
#

ooh eivl being active in ot

sonic hearth
#

Got such an odd scenario figured I could ask here for outside opinions. I am out of Ideas lol.

My audio hums when trying to record from my PSP* only when the video lead (USB is plugged in).

ornate galleon
#

well ur the first guy to give out his exact location lol, anyways, ur not that far from me, im in lillestrΓΈm

viral parrot
#

that sounds amazing @shell raptor im the same

narrow pecan
#

@viral parrot seems like we're about 1h 30min apart πŸ˜„

ornate galleon
viral parrot
#

like, i think im a mix between sosialist and capitalist

shell raptor
viral parrot
ornate galleon
#

and im a communist

narrow pecan
viral parrot
#

eivl the geoguesser

ornate galleon
#

lol

clear plume
#

hes actually cracked at geoguesser

viral parrot
#

i have gotten a perfect score once

narrow pecan
#

Is geoguesser actually a thing?

clear plume
#

yeah

#

its a game type website

viral parrot
#

yes. its a guessing game

narrow pecan
#

Ah, that's pretty cool

ornate galleon
#

so, i know people who give out leaks of their info, like full name, but u done "hippity hoppity here is my property"

viral parrot
#

well.. i need to go afk a bit..

clear plume
#

pce

ancient minnow
#

Guys Im curious

#

So it's well known that lack of memory management is the thing that makes high-level programming languages great, but is also one of the worst things sometimes to deal with.

#

And vice versa with low-level prog langs

#

Why isn't there a language created yet. That makes it possible to somehow choose if you want to fuck around with pointers and memory, or want to code without it?

graceful basin
#

there are

ancient minnow
#

Because I think such a language would get very popular very quick

graceful basin
#

C#, Nim, DLang, C++ to an extent

#

turns out, its not all that useful

#

no one uses any of those languages for the optional GC

#

Julia has a GC, but the compiler gets rid of most of it

ancient minnow
graceful basin
#

because most of the time, either is fine

#

there is pretty much no reason to not use a GC in most cases, since its just easier

#

and being to able to turn it off in some scopes to get low level turns out to only be useful for really hot paths, which you generally don't have

ancient minnow
#

Ohh, okay thanks for explaining

graceful basin
#

and honestly, julia handles this much better

ancient minnow
#

julia?

graceful basin
#

where it decides automatically when to GC and when to not GC

#

Julia is a programming poised to replace everything else in scientific computing

ancient minnow
#

Ohhh

graceful basin
#

we will see how well that goes in 8 years

#

I didn't

#

I don't have the storage on my linux partition for all of julia

#

could try in wsl though

#

welcome to why I hate cargo

#

it was the very first I encoutered

#

you can't

#

its a major issue of llvm

#

supposedly jl1.6 is improving

#

by making the input to llvm easier

#

wsl doesn't seem to be any better in terms of benchmark vs realtime difference

#

like if the benchmark is saying 800ms and it takes 22s to run

#

something is sus

proper dune
#

Decent enough, depends on what you're trying to do

rough sapphire
#

Bitcoin mining

proper dune
#

Bitcoin mining is basically a bad idea unless you have ASICs

rough sapphire
#

Agreed

proper dune
#

Doing Bitcoin mining on that would be incredibly inefficient and you'll lose money unless you have free electricity

rough sapphire
#

Yikes

#

Might stick with mining on google servers then

shell raptor
#

so

#

remainder types

#
Maybe2 a b = Just a b | Nothing
Maybe2 a b = (a * b) + 1
(a * b) + 1 % b = 1
Maybe2 a b % b = Nothing
```?????
tidal flax
#

do remainders

#

have a meaning in set theory

graceful basin
#

not really

shell raptor
#

no, I'm just messing around

tidal flax
#

πŸ˜”

graceful basin
#

division could be seen as taking the Domain or Range of a function

shell raptor
#

Actually, ```
Maybe a = Just a | Nothing
Maybe a % a = Nothing

no need for `b`
#

most useless type operation ever

proper dune
#

In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation) defined on them, then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements a and b belong to the same equivalence class if, and only if, they are equivalent.
Formal...

#

Scroll down, quotient set

graceful basin
#

and when you divide, you get any specific element of a IG

proper dune
#

Remainder specifically doesn't but quotient at least is set theoretic

tidal flax
rough sapphire
#

NVIDIA Geforce GTX 1660 Ti vs intel(r) core(TM) i5-4670K

Witch ones better

late sedge
#

?

proper dune
tidal flax
#

the number is higher

#

also it’s trademarked

proper dune
#

no, the RAM

tidal flax
#

you wouldn’t trademark something bad

shell raptor
tidal flax
#

πŸ€”

proper dune
#

DDR 4 3200MHz stands for dance dance revolution 4 - 3200 mean horrid zygotes

tidal flax
proper dune
#

I thought Ti stood for too incredible

rough sapphire
#

So which one do I use?

proper dune
#

For mining? Neither

#

For gaming, both

rough sapphire
#

Ya

shell raptor
#

@rough sapphire The left one is a graphics card, and the right one is a CPU.

#

So not a very valid comparison.

vapid nymph
#

Hello fix πŸ‘‹

shell raptor
#

hi

vapid nymph
#

And raggy

proper dune
#

Hi

mild abyss
#

exercism and their youtube channel and julia academy and docs but i mostly just refer the docs

graceful basin
#

I just guess and see if it compiles

onyx flicker
#

Is there a discord channel like this one for javascript?

tardy rain
#

Not in the server but theres a js server

onyx flicker
#

in this style, with help channels?

#

do you have a link or know where i could find it?

vapid nymph
#

TIL @mortal ferry is mbaruh!

#

πŸ‘‹

#

But rly

coral shadow
sterile sapphire
vapid nymph
#

how can I copy a file over to a computer using ftp?

#

or well

#

some system with ssh access

#

oh

#

scp

pastel sleet
#

Has someone used Google Groups before? When you post a message, is it listed immediately? Or do some groups have messages go through some review process?

livid sandal
#

Great day to be bored

rough sapphire
#

from comedy , import laugh

mild abyss
#

so whats the first clause of the constitution for this channel?

viral parrot
#

!rule 1

royal lakeBOT
viral parrot
#

then two, and so on

#

πŸ˜„

mild abyss
#

lmfao

solid pollen
#

Where is our official rickroll lawyer at, namely @bleak lintel

bleak lintel
#

wait WHAT

#

??? lol google removed my rickroll linnk

solid pollen
#

Get rekt

bleak lintel
#

OH

harsh tundra
mild abyss
rough sapphire
#

Does anyone have an open source licence that dosent allow people to take my code and calim it as theirs? Like where they have to give me credits, i had people just delete the credits section of it and reupload it as theirs.

gritty zinc
#

I think most licenses require credit, though.

bleak lintel
solid pollen
#

What if it is a fake embed and it is actually not a rickroll

rough sapphire
tranquil orchid
#

Recognition

rough sapphire
#

What can it be, like just my discord tag or an email?

late sedge
#

and this is standard for most oss licenses

rough sapphire
#

Right yeah

#

And if i dont supply a licence (at github) they just cant share the project?

late sedge
#

iirc only the unlicense and similar licenses (ie where the owner gives up their copyright wholly) dont require it

late sedge
rough sapphire
#

Right ok

late sedge
#

tho fair use still exists

rough sapphire
#

What does fair use say?

late sedge
#

  1. the purpose and character of the use, including whether such use is of a commercial nature or is for nonprofit educational purposes;
  2. the nature of the copyrighted work;
  3. the amount and substantiality of the portion used in relation to the copyrighted work as a whole; and
  4. the effect of the use upon the potential market for or value of the copyrighted work.```
#

this is the us version

#

most countries have similar laws regarding fair use

rough sapphire
#

Right so like you can use the code

#

To critise etc

#

But you cant just make a video on how to set it up